"use strict";Array.prototype.findLastIndex||Object.defineProperty(Array.prototype,"findLastIndex",{value:function(n,t){let i=this.length-1;while(i>=0){const r=this[i];if(n.call(t,r,i,this))return i;i--}return-1},writable:!0,enumerable:!1,configurable:!0});Array.prototype.findLast||Object.defineProperty(Array.prototype,"findLast",{value:function(n,t){let i=this.length-1;while(i>=0){const r=this[i];if(n.call(t,r,i,this))return r;i--}return undefined},writable:!0,enumerable:!1,configurable:!0});Array.prototype.at||Object.defineProperty(Array.prototype,"at",{value:function(n){return(n=Math.trunc(n)||0,n<0&&(n+=this.length),n<0||n>=this.length)?undefined:this[n]},writable:!0,enumerable:!1,configurable:!0});Array.from||(Array.from=function(){var t=Object.prototype.toString,n=function(n){return typeof n=="function"||t.call(n)==="[object Function]"},i=function(n){var t=Number(n);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))},r=Math.pow(2,53)-1,u=function(n){var t=i(n);return Math.min(Math.max(t,0),r)};return function(t){var h=this,c=Object(t),i,o;if(t==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(i=arguments.length>1?arguments[1]:void undefined,typeof i!="undefined"){if(!n(i))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(o=arguments[2])}for(var f=u(c.length),s=n(h)?Object(new h(f)):new Array(f),r=0,e;r<f;)e=c[r],s[r]=i?typeof o=="undefined"?i(e,r):i.call(o,e,r):e,r+=1;return s.length=f,s}}());Array.isArray||(Array.isArray=function(n){return Object.prototype.toString.call(n)==="[object Array]"});Array.of||(Array.of=function(){return Array.prototype.slice.call(arguments)});Array.prototype.copyWithin||Object.defineProperty(Array.prototype,"copyWithin",{configurable:!0,writable:!0,value:function(n,t){if(this==null)throw new TypeError("this is null or not defined");var f=Object(this),i=f.length>>>0,o=n>>0,r=o<0?Math.max(i+o,0):Math.min(o,i),s=t>>0,u=s<0?Math.max(i+s,0):Math.min(s,i),l=arguments[2],h=l===undefined?i:l>>0,a=h<0?Math.max(i+h,0):Math.min(h,i),e=Math.min(a-u,i-r),c=1;for(u<r&&r<u+e&&(c=-1,u+=e-1,r+=e-1);e>0;)u in f?f[r]=f[u]:delete f[r],u+=c,r+=c,e--;return f}});Array.prototype.entries||(Array.prototype.entries=function(){function t(){}t.prototype.next=function(){return(n>i.length-1&&(r=!0),r)?{value:undefined,done:!0}:{value:[n,i[n++]],done:!1}};var i=this,n=0,r;return new t});Array.prototype.every||Object.defineProperty(Array.prototype,"every",{configurable:!0,writable:!0,value:function(n,t){var u,i,r,f,e,o;if(this==null)throw new TypeError("this is null or not defined");if(r=Object(this),f=r.length>>>0,typeof n!="function")throw new TypeError;for(arguments.length>1&&(u=t),i=0;i<f;){if(i in r&&(e=r[i],o=n.call(u,e,i,r),!o))return!1;i++}return!0}});Array.prototype.fill||Object.defineProperty(Array.prototype,"fill",{configurable:!0,writable:!0,value:function(n){if(this==null)throw new TypeError("this is null or not defined");for(var i=Object(this),t=i.length>>>0,o=arguments[1],r=o>>0,u=r<0?Math.max(t+r,0):Math.min(r,t),e=arguments[2],f=e===undefined?t:e>>0,s=f<0?Math.max(t+f,0):Math.min(f,t);u<s;)i[u]=n,u++;return i}});Array.prototype.filter||Object.defineProperty(Array.prototype,"filter",{configurable:!0,writable:!0,value:function(n){var i,f,r,e,t,u;if(this===void 0||this===null)throw new TypeError;if(i=Object(this),f=i.length>>>0,typeof n!="function")throw new TypeError;for(r=[],e=arguments.length>=2?arguments[1]:void 0,t=0;t<f;t++)t in i&&(u=i[t],n.call(e,u,t,i)&&r.push(u));return r}});Array.prototype.find||Object.defineProperty(Array.prototype,"find",{configurable:!0,writable:!0,value:function(n){var i,u,f,t,r;if(this==null)throw new TypeError('"this" is null or not defined');if(i=Object(this),u=i.length>>>0,typeof n!="function")throw new TypeError("predicate must be a function");for(f=arguments[1],t=0;t<u;){if(r=i[t],n.call(f,r,t,i))return r;t++}return undefined}});Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{configurable:!0,writable:!0,value:function(n){var i,r,u,t,f;if(this==null)throw new TypeError('"this" is null or not defined');if(i=Object(this),r=i.length>>>0,typeof n!="function")throw new TypeError("predicate must be a function");for(u=arguments[1],t=0;t<r;){if(f=i[t],n.call(u,f,t,i))return t;t++}return-1}});Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,writable:!0,value:function(){var i=typeof arguments[0]=="undefined"?1:Number(arguments[0])||0,n=[],r=n.forEach,t=function(i,u){r.call(i,function(i){u>0&&Array.isArray(i)?t(i,u-1):n.push(i)})};return t(this,i),n}});Array.prototype.flatMap||Object.defineProperty(Array.prototype,"flatMap",{configurable:!0,writable:!0,value:function(){return Array.prototype.map.apply(this,arguments).flat(1)}});Array.prototype.forEach||Object.defineProperty(Array.prototype,"forEach",{configurable:!0,writable:!0,value:function(n){var r,t,i,u,f;if(this==null)throw new TypeError("this is null or not defined");if(i=Object(this),u=i.length>>>0,typeof n!="function")throw new TypeError(n+" is not a function");for(arguments.length>1&&(r=arguments[1]),t=0;t<u;)t in i&&(f=i[t],n.call(r,f,t,i)),t++}});Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{configurable:!0,writable:!0,value:function(n,t){function e(n,t){return n===t||typeof n=="number"&&typeof t=="number"&&isNaN(n)&&isNaN(t)}var f,i,r,u;if(this==null)throw new TypeError('"this" is null or not defined');if(f=Object(this),i=f.length>>>0,i===0)return!1;for(r=t|0,u=Math.max(r>=0?r:i-Math.abs(r),0);u<i;){if(e(f[u],n))return!0;u++}return!1}});Array.prototype.indexOf||Object.defineProperty(Array.prototype,"indexOf",{configurable:!0,writable:!0,value:function(n,t){var i,f,r,u;if(this==null)throw new TypeError('"this" is null or not defined');if((f=Object(this),r=f.length>>>0,r===0)||(u=t|0,u>=r))return-1;for(i=Math.max(u>=0?u:r-Math.abs(u),0);i<r;){if(i in f&&f[i]===n)return i;i++}return-1}});Array.prototype.keys||(Array.prototype.keys=function(){function n(){}n.prototype.next=function(){return(t>r.length-1&&(i=!0),i)?{value:undefined,done:!0}:{value:t++,done:!1}};var r=this,t=0,i;return new n});Array.prototype.lastIndexOf||Object.defineProperty(Array.prototype,"lastIndexOf",{configurable:!0,writable:!0,value:function(n){if(this===void 0||this===null)throw new TypeError;var t,i,u=Object(this),r=u.length>>>0;if(r===0)return-1;for(t=r-1,arguments.length>1&&(t=Number(arguments[1]),t!=t?t=0:t!=0&&t!=1/0&&t!=-(1/0)&&(t=(t>0||-1)*Math.floor(Math.abs(t)))),i=t>=0?Math.min(t,r-1):r-Math.abs(t);i>=0;i--)if(i in u&&u[i]===n)return i;return-1}});Array.prototype.map||Object.defineProperty(Array.prototype,"map",{configurable:!0,writable:!0,value:function(n){var f,r,t,i,u,e,o;if(this==null)throw new TypeError("this is null or not defined");if(i=Object(this),u=i.length>>>0,typeof n!="function")throw new TypeError(n+" is not a function");for(arguments.length>1&&(f=arguments[1]),r=new Array(u),t=0;t<u;)t in i&&(e=i[t],o=n.call(f,e,t,i),r[t]=o),t++;return r}});Array.prototype.reduce||Object.defineProperty(Array.prototype,"reduce",{configurable:!0,writable:!0,value:function(n){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof n!="function")throw new TypeError(n+" is not a function");var i=Object(this),u=i.length>>>0,t=0,r;if(arguments.length>=2)r=arguments[1];else{while(t<u&&!(t in i))t++;if(t>=u)throw new TypeError("Reduce of empty array with no initial value");r=i[t++]}while(t<u)t in i&&(r=n(r,i[t],t,i)),t++;return r}});"function"!=typeof Array.prototype.reduceRight&&Object.defineProperty(Array.prototype,"reduceRight",{configurable:!0,writable:!0,value:function(n){if(null===this||"undefined"==typeof this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof n)throw new TypeError(n+" is not a function");var i=Object(this),u=i.length>>>0,t=u-1,r;if(arguments.length>=2)r=arguments[1];else{while(t>=0&&!(t in i))t--;if(t<0)throw new TypeError("Reduce of empty array with no initial value");r=i[t--]}for(;t>=0;t--)t in i&&(r=n(r,i[t],t,i));return r}});Array.prototype.some||Object.defineProperty(Array.prototype,"some",{configurable:!0,writable:!0,value:function(n){var t;if(this==null)throw new TypeError("Array.prototype.some called on null or undefined");if(typeof n!="function")throw new TypeError;var i=Object(this),r=i.length>>>0,u=arguments.length>=2?arguments[1]:void 0;for(t=0;t<r;t++)if(t in i&&n.call(u,i[t],t,i))return!0;return!1}});Array.prototype.toLocaleString||Object.defineProperty(Array.prototype,"toLocaleString",{configurable:!0,writable:!0,value:function(n,t){var s,f;if(this==null)throw new TypeError('"this" is null or not defined');var r=Object(this),e=r.length>>>0;if(e===0)return"";for(var o=r[0],i=o==null?"":o.toLocaleString(n,t),u=1;u<e;)s=i+",",f=r[u],i=f==null?"":f.toLocaleString(n,t),i=s+i,u++;return i}});Array.prototype.values||(Array.prototype.values=function(){function n(){}n.prototype.next=function(){return(i>t.length-1&&(r=!0),r)?{value:undefined,done:!0}:{value:t[i++],done:!1}};var t=this,i=0,r;return new n}),function(){function u(n){try{return n.defaultView&&n.defaultView.frameElement||null}catch(t){return null}}function c(n){this.time=n.time;this.target=n.target;this.rootBounds=h(n.rootBounds);this.boundingClientRect=h(n.boundingClientRect);this.intersectionRect=h(n.intersectionRect||e());this.isIntersecting=!!n.intersectionRect;var t=this.boundingClientRect,i=t.width*t.height,r=this.intersectionRect,u=r.width*r.height;this.intersectionRatio=i?Number((u/i).toFixed(4)):this.isIntersecting?1:0}function n(n,t){var i=t||{};if(typeof n!="function")throw new Error("callback must be a function");if(i.root&&i.root.nodeType!=1&&i.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=b(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT);this._callback=n;this._observationTargets=[];this._queuedEntries=[];this._rootMarginValues=this._parseRootMargin(i.rootMargin);this.thresholds=this._initThresholds(i.threshold);this.root=i.root||null;this.rootMargin=this._rootMarginValues.map(function(n){return n.value+n.unit}).join(" ");this._monitoringDocuments=[];this._monitoringUnsubscribes=[]}function w(){return window.performance&&performance.now&&performance.now()}function b(n,t){var i=null;return function(){i||(i=setTimeout(function(){n();i=null},t))}}function l(n,t,i,r){typeof n.addEventListener=="function"?n.addEventListener(t,i,r||!1):typeof n.attachEvent=="function"&&n.attachEvent("on"+t,i)}function a(n,t,i,r){typeof n.removeEventListener=="function"?n.removeEventListener(t,i,r||!1):typeof n.detatchEvent=="function"&&n.detatchEvent("on"+t,i)}function k(n,t){var i=Math.max(n.top,t.top),r=Math.min(n.bottom,t.bottom),u=Math.max(n.left,t.left),f=Math.min(n.right,t.right),e=f-u,o=r-i;return e>=0&&o>=0&&{top:i,bottom:r,left:u,right:f,width:e,height:o}||null}function o(n){var t;try{t=n.getBoundingClientRect()}catch(i){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):e()}function e(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function h(n){return!n||"x"in n?n:{top:n.top,y:n.top,bottom:n.bottom,left:n.left,x:n.left,right:n.right,width:n.width,height:n.height}}function v(n,t){var i=t.top-n.top,r=t.left-n.left;return{top:i,left:r,height:t.height,width:t.width,bottom:i+t.height,right:r+t.width}}function y(n,t){for(var i=t;i;){if(i==n)return!0;i=s(i)}return!1}function s(n){var t=n.parentNode;return n.nodeType==9&&n!=i?u(n):(t&&t.assignedSlot&&(t=t.assignedSlot.parentNode),t&&t.nodeType==11&&t.host)?t.host:t}function p(n){return n&&n.nodeType===9}if(typeof window=="object"){if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}var i=function(n){for(var t=n,i=u(t);i;)t=i.ownerDocument,i=u(t);return t}(window.document),f=[],r=null,t=null;n.prototype.THROTTLE_TIMEOUT=100;n.prototype.POLL_INTERVAL=null;n.prototype.USE_MUTATION_OBSERVER=!0;n._setupCrossOriginUpdater=function(){return r||(r=function(n,i){t=n&&i?v(n,i):e();f.forEach(function(n){n._checkForIntersections()})}),r};n._resetCrossOriginUpdater=function(){r=null;t=null};n.prototype.observe=function(n){var t=this._observationTargets.some(function(t){return t.element==n});if(!t){if(!(n&&n.nodeType==1))throw new Error("target must be an Element");this._registerInstance();this._observationTargets.push({element:n,entry:null});this._monitorIntersections(n.ownerDocument);this._checkForIntersections()}};n.prototype.unobserve=function(n){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=n});this._unmonitorIntersections(n.ownerDocument);this._observationTargets.length==0&&this._unregisterInstance()};n.prototype.disconnect=function(){this._observationTargets=[];this._unmonitorAllIntersections();this._unregisterInstance()};n.prototype.takeRecords=function(){var n=this._queuedEntries.slice();return this._queuedEntries=[],n};n.prototype._initThresholds=function(n){var t=n||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(n,t,i){if(typeof n!="number"||isNaN(n)||n<0||n>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return n!==i[t-1]})};n.prototype._parseRootMargin=function(n){var i=n||"0px",t=i.split(/\s+/).map(function(n){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(n);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t};n.prototype._monitorIntersections=function(n){var r=n.defaultView,s,o;if(r&&this._monitoringDocuments.indexOf(n)==-1){var t=this._checkForIntersections,e=null,f=null;this.POLL_INTERVAL?e=r.setInterval(t,this.POLL_INTERVAL):(l(r,"resize",t,!0),l(n,"scroll",t,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in r&&(f=new r.MutationObserver(t),f.observe(n,{attributes:!0,childList:!0,characterData:!0,subtree:!0})));this._monitoringDocuments.push(n);this._monitoringUnsubscribes.push(function(){var i=n.defaultView;i&&(e&&i.clearInterval(e),a(i,"resize",t,!0));a(n,"scroll",t,!0);f&&f.disconnect()});s=this.root&&(this.root.ownerDocument||this.root)||i;n!=s&&(o=u(n),o&&this._monitorIntersections(o.ownerDocument))}};n.prototype._unmonitorIntersections=function(n){var t=this._monitoringDocuments.indexOf(n),r,e,o,f;t!=-1&&((r=this.root&&(this.root.ownerDocument||this.root)||i,e=this._observationTargets.some(function(t){var i=t.element.ownerDocument,f;if(i==n)return!0;while(i&&i!=r)if(f=u(i),i=f&&f.ownerDocument,i==n)return!0;return!1}),e)||(o=this._monitoringUnsubscribes[t],this._monitoringDocuments.splice(t,1),this._monitoringUnsubscribes.splice(t,1),o(),n!=r&&(f=u(n),f&&this._unmonitorIntersections(f.ownerDocument))))};n.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0),n;for(this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0,n=0;n<t.length;n++)t[n]()};n.prototype._checkForIntersections=function(){if(this.root||!r||t){var n=this._rootIsInDom(),i=n?this._getRootRect():e();this._observationTargets.forEach(function(t){var u=t.element,l=o(u),a=this._rootContainsTarget(u),s=t.entry,v=n&&a&&this._computeTargetAndRootIntersection(u,l,i),h=null,f;this._rootContainsTarget(u)?(!r||this.root)&&(h=i):h=e();f=t.entry=new c({time:w(),target:u,boundingClientRect:l,rootBounds:h,intersectionRect:v});s?n&&a?this._hasCrossedThreshold(s,f)&&this._queuedEntries.push(f):s&&s.isIntersecting&&this._queuedEntries.push(f):this._queuedEntries.push(f)},this);this._queuedEntries.length&&this._callback(this.takeRecords(),this)}};n.prototype._computeTargetAndRootIntersection=function(n,u,f){var h,a,p;if(window.getComputedStyle(n).display!="none"){for(var c=u,e=s(n),w=!1;!w&&e;){if(h=null,a=e.nodeType==1?window.getComputedStyle(e):{},a.display=="none")return null;if(e==this.root||e.nodeType==9)if(w=!0,e==this.root||e==i)r&&!this.root?t&&(t.width!=0||t.height!=0)?h=t:(e=null,h=null,c=null):h=f;else{var l=s(e),y=l&&o(l),b=l&&this._computeTargetAndRootIntersection(l,y,f);y&&b?(e=l,h=v(y,b)):(e=null,c=null)}else p=e.ownerDocument,e!=p.body&&e!=p.documentElement&&a.overflow!="visible"&&(h=o(e));if(h&&(c=k(h,c)),!c)break;e=e&&s(e)}return c}};n.prototype._getRootRect=function(){var r;if(this.root&&!p(this.root))r=o(this.root);else{var u=p(this.root)?this.root:i,n=u.documentElement,t=u.body;r={top:0,left:0,right:n.clientWidth||t.clientWidth,width:n.clientWidth||t.clientWidth,bottom:n.clientHeight||t.clientHeight,height:n.clientHeight||t.clientHeight}}return this._expandRectByRootMargin(r)};n.prototype._expandRectByRootMargin=function(n){var i=this._rootMarginValues.map(function(t,i){return t.unit=="px"?t.value:t.value*(i%2?n.width:n.height)/100}),t={top:n.top-i[0],right:n.right+i[1],bottom:n.bottom+i[2],left:n.left-i[3]};return t.width=t.right-t.left,t.height=t.bottom-t.top,t};n.prototype._hasCrossedThreshold=function(n,t){var u=n&&n.isIntersecting?n.intersectionRatio||0:-1,f=t.isIntersecting?t.intersectionRatio||0:-1,r,i;if(u!==f)for(r=0;r<this.thresholds.length;r++)if(i=this.thresholds[r],i==u||i==f||i<u!=i<f)return!0};n.prototype._rootIsInDom=function(){return!this.root||y(i,this.root)};n.prototype._rootContainsTarget=function(n){var t=this.root&&(this.root.ownerDocument||this.root)||i;return y(t,n)&&(!this.root||t==n.ownerDocument)};n.prototype._registerInstance=function(){f.indexOf(this)<0&&f.push(this)};n.prototype._unregisterInstance=function(){var n=f.indexOf(this);n!=-1&&f.splice(n,1)};window.IntersectionObserver=n;window.IntersectionObserverEntry=c}}()