PageSourceSearch

https://www.esim.cc/_next/static/chunks/fc37bc799255373e.js?dpl=dpl_Dc3QyicUYy2YgWpqR6Bnhvb356x6

js esim.cc collected 2026-10-02 00:27:22 UTC 278,541 bytes, 3 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,213334,e=>{"use strict";let t,i,s,a,r,n;var o,l=e.i(94601),d=e.i(510851),h=e.i(136960);function c(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function u(e={},t={}){let i=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>0>i.indexOf(e)).forEach(i=>{void 0===e[i]?e[i]=t[i]:c(t[i])&&c(e[i])&&Object.keys(t[i]).length>0&&u(e[i],t[i])})}let p={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function m(){let e="undefined"!=typeof document?document:{};return u(e,p),e}let f={document:p,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function g(){let e="undefined"!=typeof window?window:{};return u(e,f),e}function v(e,t=0){return setTimeout(e,t)}function x(){return Date.now()}function b(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function y(...e){let t=Object(e[0]),i=["__proto__","constructor","prototype"];for(let s=1;s<e.length;s+=1){let a=e[s];if(null!=a&&("undefined"!=typeof window&&void 0!==window.HTMLElement?!(a instanceof HTMLElement):!a||1!==a.nodeType&&11!==a.nodeType)){let e=Object.keys(Object(a)).filter(e=>0>i.indexOf(e));for(let i=0,s=e.length;i<s;i+=1){let s=e[i],r=Object.getOwnPropertyDescriptor(a,s);void 0!==r&&r.enumerable&&(b(t[s])&&b(a[s])?a[s].__swiper__?t[s]=a[s]:y(t[s],a[s]):!b(t[s])&&b(a[s])?(t[s]={},a[s].__swiper__?t[s]=a[s]:y(t[s],a[s])):t[s]=a[s])}}}return t}function w(e,t,i){e.style.setProperty(t,i)}function S({swiper:e,targetPosition:t,side:i}){let s,a=g(),r=-e.translate,n=null,o=e.params.speed;e.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(e.cssModeFrameID);let l=t>r?"next":"prev",d=(e,t)=>"next"===l&&e>=t||"prev"===l&&e<=t,h=()=>{s=new Date().getTime(),null===n&&(n=s);let l=r+(.5-Math.cos(Math.max(Math.min((s-n)/o,1),0)*Math.PI)/2)*(t-r);if(d(l,t)&&(l=t),e.wrapperEl.scrollTo({[i]:l}),d(l,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[i]:l})}),a.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=a.requestAnimationFrame(h)};h()}function T(e,t=""){let i=g(),s=[...e.children];return(i.HTMLSlotElement&&e instanceof HTMLSlotElement&&s.push(...e.assignedElements()),t)?s.filter(e=>e.matches(t)):s}function E(e){try{console.warn(e);return}catch(e){}}function j(e,t=[]){let i=document.createElement(e);return i.classList.add(...Array.isArray(t)?t:function(e=""){return e.trim().split(" ").filter(e=>!!e.trim())}(t)),i}function C(e,t){return g().getComputedStyle(e,null).getPropertyValue(t)}function k(e){let t,i=e;if(i){for(t=0;null!==(i=i.previousSibling);)1===i.nodeType&&(t+=1);return t}}function P(e,t){let i=[],s=e.parentElement;for(;s;)t?s.matches(t)&&i.push(s):i.push(s),s=s.parentElement;return i}function M(e,t,i){let s=g();return i?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(s.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(s.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function N(e){return(Array.isArray(e)?e:[e]).filter(e=>!!e)}function A(e,t=""){"undefined"!=typeof trustedTypes?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:e=>e}).createHTML(t):e.innerHTML=t}function _(){let e,i;return t||(e=g(),t={smoothScroll:(i=m()).documentElement&&i.documentElement.style&&"scrollBehavior"in i.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&i instanceof e.DocumentTouch)}),t}function L(e={}
1){return i||(i=function({userAgent:e}={}){let t=_(),i=g(),s=i.navigator.platform,a=e||i.navigator.userAgent,r={ios:!1,android:!1},n=i.screen.width,o=i.screen.height,l=a.match(/(Android);?[\s\/]+([\d.]+)?/),d=a.match(/(iPad)(?!\1).*OS\s([\d_]+)/),h=a.match(/(iPod)(.*OS\s([\d_]+))?/),c=!d&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),u="MacIntel"===s;return!d&&u&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${n}x${o}`)>=0&&((d=a.match(/(Version)\/([\d.]+)/))||(d=[0,1,"13_0_0"]),u=!1),l&&"Win32"!==s&&(r.os="android",r.android=!0),(d||c||h)&&(r.os="ios",r.ios=!0),r}(e)),i}function D(){return s||(s=function(){let e=g(),t=L(),i=!1;function s(){let t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&0>t.indexOf("chrome")&&0>t.indexOf("android")}if(s()){let t=String(e.navigator.userAgent);if(t.includes("Version/")){let[e,s]=t.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));i=e<16||16===e&&s<2}}let a=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),r=s(),n=r||a&&t.ios;return{isSafari:i||r,needPerspectiveFix:i,need3dFix:n,isWebView:a}}()),s}let O=(e,t,i)=>{t&&!e.classList.contains(i)?e.classList.add(i):!t&&e.classList.contains(i)&&e.classList.remove(i)},V=(e,t,i)=>{t&&!e.classList.contains(i)?e.classList.add(i):!t&&e.classList.contains(i)&&e.classList.remove(i)},I=(e,t)=>{if(!e||e.destroyed||!e.params)return;let i=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(i){let t=i.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(i.shadowRoot?t=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{i.shadowRoot&&(t=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`))&&t.remove()})),t&&t.remove()}},R=(e,t)=>{if(!e.slides[t])return;let i=e.slides[t].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},B=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext,i=e.slides.length;if(!i||!t||t<0)return;t=Math.min(t,i);let s="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),a=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){let i=[a-t];i.push(...Array.from({length:t}).map((e,t)=>a+s+t)),e.slides.forEach((t,s)=>{i.includes(t.column)&&R(e,s)});return}let r=a+s-1;if(e.params.rewind||e.params.loop)for(let s=a-t;s<=r+t;s+=1){let t=(s%i+i)%i;(t<a||t>r)&&R(e,t)}else for(let s=Math.max(a-t,0);s<=Math.min(r+t,i-1);s+=1)s!==a&&(s>r||s<a)&&R(e,s)};function F({swiper:e,runCallbacks:t,direction:i,step:s}){let{activeIndex:a,previousIndex:r}=e,n=i;n||(n=a>r?"next":a<r?"prev":"reset"),e.emit(`transition${s}`),t&&"reset"===n?e.emit(`slideResetTransition${s}`):t&&a!==r&&(e.emit(`slideChangeTransition${s}`),"next"===n?e.emit(`slideNextTransition${s}`):e.emit(`slidePrevTransition${s}`))}function z(e,t,i){let s=g(),{params:a}=e,r=a.edgeSwipeDetection,n=a.edgeSwipeThreshold;return!r||!(i<=n)&&!(i>=s.innerWidth-n)||"prevent"===r&&(t.preventDefault(),!0)}function $(e){var t,i;let s,a,r=m(),n=e;n.originalEvent&&(n=n.originalEvent);let o=this.touchEventsData;if("pointerdown"===n.type){if(null!==o.pointerId&&o.pointerId!==n.pointerId)return;o.pointerId=n.pointerId}else"touchstart"===n.type&&1===n.targetTouches.length&&(o.touchId=n.targetTouches[0].identifier);if("touchstart"===n.type)return void z(this,n,n.targetTouches[0].pageX);let{params:l,touches:d,enabled:h}=this;if(!h||!l.simulateTouch&&"mouse"===n.pointerType||this.animating&&l.preventInteractionOnTransition)return;!this.animating&&l.cssMode&&l.loop&&this.loopFix();let c=n.target;if("wrapper"===l.touchEventsTarget&&(t=c,i=this.wrapperEl,s=g(),!(a=i.contains(t))&&s.HTMLSlotElement&&i instanceof HTMLSlotElement&&((a=[...i.assignedElements()].includes(t))||(a=function(e,t){let i=[t];for(;i.length>0;){let t=i.shift();if(e===t)return!0;i.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}}(t,i))),!a)||"which"in n&&3===n.which||"button"in n&&n.button>0||o.isTouched&&o.isMoved)return;let u=!!l.noSwipingClass&&""!==l.noSwipingClass,p=n.composedPath?n.composedPath():n.path;u&&n.target&&n.target.shadowRoot&&p&&(c=p[0]);let f=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,v=!!(n.target&&n.target.shadowRoot);if(l.noSwiping&&(v?function(e,t=this){return function t(i){if(!i||i===m()||i===g())return null;i.assignedSlot&&(i=i.assignedSlot);let s=i.closest(e);return s||i.getRootNode?s||t(i.getRootNode().host):null}(t)}(f,c):c.closest(f))){this.allowClick=!0;return}if(l.swipeHandler&&!c.closest(l.swipeHandler))return;d.currentX=n.pageX,d.currentY=n.pageY;let b=d.currentX,y=d.currentY;if(!z(this,n,b))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),d.startX=b,d.startY=y,o.touchStartTime=x(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1);let w=!0;c.matches(o.focusableElements)&&(w=!1,"SELECT"===c.nodeName&&(o.isTouched=!1)),r.activeElement&&r.activeElement.matches(o.focusableElements)&&r.activeElement!==c&&("mouse"===n.pointerType||"mouse"!==n.pointerType&&!c.matches(o.focusableElements))&&r.activeElement.blur();let S=w&&this.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||S)&&!c.isContentEditable&&n.preventDefault(),l.freeMode&&l.freeMode.enabled&&this.freeMode&&this.animating&&!l.cssMode&&this.freeMode.onTouchStart(),this.emit
1("touchStart",n)}function q(e){let t,i,s=m(),a=this.touchEventsData,{params:r,touches:n,rtlTranslate:o,enabled:l}=this;if(!l||!r.simulateTouch&&"mouse"===e.pointerType)return;let d=e;if(d.originalEvent&&(d=d.originalEvent),"pointermove"===d.type&&(null!==a.touchId||d.pointerId!==a.pointerId))return;if("touchmove"===d.type){if(!(t=[...d.changedTouches].find(e=>e.identifier===a.touchId))||t.identifier!==a.touchId)return}else t=d;if(!a.isTouched){a.startMoving&&a.isScrolling&&this.emit("touchMoveOpposite",d);return}let h=t.pageX,c=t.pageY;if(d.preventedByNestedSwiper){n.startX=h,n.startY=c;return}if(!this.allowTouchMove){d.target.matches(a.focusableElements)||(this.allowClick=!1),a.isTouched&&(Object.assign(n,{startX:h,startY:c,currentX:h,currentY:c}),a.touchStartTime=x());return}if(r.touchReleaseOnEdges&&!r.loop){if(this.isVertical()){if(c<n.startY&&this.translate<=this.maxTranslate()||c>n.startY&&this.translate>=this.minTranslate()){a.isTouched=!1,a.isMoved=!1;return}}else if(o&&(h>n.startX&&-this.translate<=this.maxTranslate()||h<n.startX&&-this.translate>=this.minTranslate()))return;else if(!o&&(h<n.startX&&this.translate<=this.maxTranslate()||h>n.startX&&this.translate>=this.minTranslate()))return}if(s.activeElement&&s.activeElement.matches(a.focusableElements)&&s.activeElement!==d.target&&"mouse"!==d.pointerType&&s.activeElement.blur(),s.activeElement&&d.target===s.activeElement&&d.target.matches(a.focusableElements)){a.isMoved=!0,this.allowClick=!1;return}a.allowTouchCallbacks&&this.emit("touchMove",d),n.previousX=n.currentX,n.previousY=n.currentY,n.currentX=h,n.currentY=c;let u=n.currentX-n.startX,p=n.currentY-n.startY;if(this.params.threshold&&Math.sqrt(u**2+p**2)<this.params.threshold)return;if(void 0===a.isScrolling){let e;this.isHorizontal()&&n.currentY===n.startY||this.isVertical()&&n.currentX===n.startX?a.isScrolling=!1:u*u+p*p>=25&&(e=180*Math.atan2(Math.abs(p),Math.abs(u))/Math.PI,a.isScrolling=this.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}if(a.isScrolling&&this.emit("touchMoveOpposite",d),void 0===a.startMoving&&(n.currentX!==n.startX||n.currentY!==n.startY)&&(a.startMoving=!0),a.isScrolling||"touchmove"===d.type&&a.preventTouchMoveFromPointerMove){a.isTouched=!1;return}if(!a.startMoving)return;this.allowClick=!1,!r.cssMode&&d.cancelable&&d.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&d.stopPropagation();let f=this.isHorizontal()?u:p,g=this.isHorizontal()?n.currentX-n.previousX:n.currentY-n.previousY;r.oneWayMovement&&(f=Math.abs(f)*(o?1:-1),g=Math.abs(g)*(o?1:-1)),n.diff=f,f*=r.touchRatio,o&&(f=-f,g=-g);let v=this.touchesDirection;this.swipeDirection=f>0?"prev":"next",this.touchesDirection=g>0?"prev":"next";let b=this.params.loop&&!r.cssMode,y="next"===this.touchesDirection&&this.allowSlideNext||"prev"===this.touchesDirection&&this.allowSlidePrev;if(!a.isMoved){if(b&&y&&this.loopFix({direction:this.swipeDirection}),a.startTranslate=this.getTranslate(),this.setTransition(0),this.animating){let e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});this.wrapperEl.dispatchEvent(e)}a.allowMomentumBounce=!1,r.grabCursor&&(!0===this.allowSlideNext||!0===this.allowSlidePrev)&&this.setGrabCursor(!0),this.emit("sliderFirstMove",d)}if(new Date().getTime(),!1!==r._loopSwapReset&&a.isMoved&&a.allowThresholdMove&&v!==this.touchesDirection&&b&&y&&Math.abs(f)>=1){Object.assign(n,{startX:h,startY:c,currentX:h,currentY:c,startTranslate:a.currentTranslate}),a.loopSwapReset=!0,a.startTranslate=a.currentTranslate;return}this.emit("sliderMove",d),a.isMoved=!0,a.currentTranslate=f+a.startTranslate;let w=!0,S=r.resistanceRatio;if(r.touchReleaseOnEdges&&(S=0),f>0?(b&&y&&!i&&a.allowThresholdMove&&a.currentTranslate>(r.centeredSlides?this.minTranslate()-this.slidesSizesGrid[this.activeIndex+1]-("auto"!==r.slidesPerView&&this.slides.length-r.slidesPerView>=2?this.slidesSizesGrid[this.activeIndex+1]+this.params.spaceBetween:0)-this.params.spaceBetween:this.minTranslate())&&this.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),a.currentTranslate>this.minTranslate()&&(w=!1,r.resistance&&(a.currentTranslate=this.minTranslate()-1+(-this.minTranslate()+a.startTranslate+f)**S))):f<0&&(b&&y&&!i&&a.allowThresholdMove&&a.currentTranslate<(r.centeredSlides?this.maxTranslate()+this.slidesSizesGrid[this.slidesSizesGrid.length-1]+this.params.spaceBetween+("auto"!==r.slidesPerView&&this.slides.length-r.slidesPerView>=2?this.slidesSizesGrid[this.slidesSizesGrid.length-1]+this.params.spaceBetween:0):this.maxTranslate())&&this.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:this.slides.length-("auto"===r.slidesPerView?this.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),a.currentTranslate<this.maxTranslate()&&(w=!1,r.resistance&&(a.currentTranslate=this.maxTranslate()+1-(this.maxTranslate()-a.startTranslate-f)**S))),w&&(d.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&a.currentTranslate<a.startTranslate&&(a.currentTranslate=a.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&a.currentTranslate>a.startTranslate&&(a.currentTranslate=a.startTranslate),this.allowSlidePrev||this.allowSlideNext||(a.currentTranslate=a.startTranslate),r.threshold>0)if(Math.abs(f)>r.threshold||a.allowThresholdMove){if(!a.allowThresholdMove){a.allowThresholdMove=!0,n.startX=n.currentX,n.startY=n.currentY,a.currentTranslate=a.startTranslate,n.diff=this.isHorizontal()?n.currentX-n.startX:n.currentY-n.startY;return}}else{a.currentTranslate=a.startTranslate;return}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&this.freeMode||r.watchSlidesProgress)&&(this.updateActiveIndex(),this.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&this.freeMode&&this.freeMode.onTouchMove(),this.updateProgress(a.currentTranslate),this.setTranslate(a.currentTranslate))}function G(e){let t,i,s=this,a=s.touchEventsData,r=e;if(r.originalEvent&&(r=r.originalEvent),"touchend"===r.type||"touchcancel"===r.type){if(!(t=[...r.changedTouches].find(e=>e.identifier===a.touchId))||t.identifier!==a.touchId)return}else{if(null!==a.touchId||r.pointerId!==a.pointerId)return;t=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)&&!(["pointercancel","contextmenu"].includes(r.type)&&(s.browser.isSafari||s.browser.isWebView)))return;a.pointerId=null,a.touchId=null;let{params:n,touches:o,rtlTranslate:l,slidesGrid:d,enabled:h}=s;
1if(!h||!n.simulateTouch&&"mouse"===r.pointerType)return;if(a.allowTouchCallbacks&&s.emit("touchEnd",r),a.allowTouchCallbacks=!1,!a.isTouched){a.isMoved&&n.grabCursor&&s.setGrabCursor(!1),a.isMoved=!1,a.startMoving=!1;return}n.grabCursor&&a.isMoved&&a.isTouched&&(!0===s.allowSlideNext||!0===s.allowSlidePrev)&&s.setGrabCursor(!1);let c=x(),u=c-a.touchStartTime;if(s.allowClick){let e=r.path||r.composedPath&&r.composedPath();s.updateClickedSlide(e&&e[0]||r.target,e),s.emit("tap click",r),u<300&&c-a.lastClickTime<300&&s.emit("doubleTap doubleClick",r)}if(a.lastClickTime=x(),v(()=>{s.destroyed||(s.allowClick=!0)}),!a.isTouched||!a.isMoved||!s.swipeDirection||0===o.diff&&!a.loopSwapReset||a.currentTranslate===a.startTranslate&&!a.loopSwapReset){a.isTouched=!1,a.isMoved=!1,a.startMoving=!1;return}if(a.isTouched=!1,a.isMoved=!1,a.startMoving=!1,i=n.followFinger?l?s.translate:-s.translate:-a.currentTranslate,n.cssMode)return;if(n.freeMode&&n.freeMode.enabled)return void s.freeMode.onTouchEnd({currentPos:i});let p=i>=-s.maxTranslate()&&!s.params.loop,m=0,f=s.slidesSizesGrid[0];for(let e=0;e<d.length;e+=e<n.slidesPerGroupSkip?1:n.slidesPerGroup){let t=e<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;void 0!==d[e+t]?(p||i>=d[e]&&i<d[e+t])&&(m=e,f=d[e+t]-d[e]):(p||i>=d[e])&&(m=e,f=d[d.length-1]-d[d.length-2])}let g=null,b=null;n.rewind&&(s.isBeginning?b=n.virtual&&n.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1:s.isEnd&&(g=0));let y=(i-d[m])/f,w=m<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;if(u>n.longSwipesMs){if(!n.longSwipes)return void s.slideTo(s.activeIndex);"next"===s.swipeDirection&&(y>=n.longSwipesRatio?s.slideTo(n.rewind&&s.isEnd?g:m+w):s.slideTo(m)),"prev"===s.swipeDirection&&(y>1-n.longSwipesRatio?s.slideTo(m+w):null!==b&&y<0&&Math.abs(y)>n.longSwipesRatio?s.slideTo(b):s.slideTo(m))}else{if(!n.shortSwipes)return void s.slideTo(s.activeIndex);s.navigation&&(r.target===s.navigation.nextEl||r.target===s.navigation.prevEl)?r.target===s.navigation.nextEl?s.slideTo(m+w):s.slideTo(m):("next"===s.swipeDirection&&s.slideTo(null!==g?g:m+w),"prev"===s.swipeDirection&&s.slideTo(null!==b?b:m))}}function H(){let e=this,{params:t,el:i}=e;if(i&&0===i.offsetWidth)return;t.breakpoints&&e.setBreakpoint();let{allowSlideNext:s,allowSlidePrev:a,snapGrid:r}=e,n=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();let o=n&&t.loop;"auto"!==t.slidesPerView&&!(t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||o?e.params.loop&&!n?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=a,e.allowSlideNext=s,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}function W(e){this.enabled&&!this.allowClick&&(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function U(){let{wrapperEl:e,rtlTranslate:t,enabled:i}=this;if(!i)return;this.previousTranslate=this.translate,this.isHorizontal()?this.translate=-e.scrollLeft:this.translate=-e.scrollTop,0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();let s=this.maxTranslate()-this.minTranslate();(0===s?0:(this.translate-this.minTranslate())/s)!==this.progress&&this.updateProgress(t?-this.translate:this.translate),this.emit("setTranslate",this.translate,!1)}function Y(e){I(this,e.target),!this.params.cssMode&&("auto"===this.params.slidesPerView||this.params.autoHeight)&&this.update()}function X(){!this.documentTouchHandlerProceeded&&(this.documentTouchHandlerProceeded=!0,this.params.touchReleaseOnEdges&&(this.el.style.touchAction="auto"))}let K=(e,t)=>{let i=m(),{params:s,el:a,wrapperEl:r,device:n}=e,o=!!s.nested,l="on"===t?"addEventListener":"removeEventListener";a&&"string"!=typeof a&&(i[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:o}),a[l]("touchstart",e.onTouchStart,{passive:!1}),a[l]("pointerdown",e.onTouchStart,{passive:!1}),i[l]("touchmove",e.onTouchMove,{passive:!1,capture:o}),i[l]("pointermove",e.onTouchMove,{passive:!1,capture:o}),i[l]("touchend",e.onTouchEnd,{passive:!0}),i[l]("pointerup",e.onTouchEnd,{passive:!0}),i[l]("pointercancel",e.onTouchEnd,{passive:!0}),i[l]("touchcancel",e.onTouchEnd,{passive:!0}),i[l]("pointerout",e.onTouchEnd,{passive:!0}),i[l]("pointerleave",e.onTouchEnd,{passive:!0}),i[l]("contextmenu",e.onTouchEnd,{passive:!0}),(s.preventClicks||s.preventClicksPropagation)&&a[l]("click",e.onClick,!0),s.cssMode&&r[l]("scroll",e.onScroll),s.updateOnWindowResize?e[t](n.ios||n.android?"resize orientationchange observerUpdate":"resize observerUpdate",H,!0):e[t]("observerUpdate",H,!0),a[l]("load",e.onLoad,{capture:!0}))},Z=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var Q={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",
1spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};let J={eventsEmitter:{on(e,t,i){let s=this;if(!s.eventsListeners||s.destroyed||"function"!=typeof t)return s;let a=i?"unshift":"push";return e.split(" ").forEach(e=>{s.eventsListeners[e]||(s.eventsListeners[e]=[]),s.eventsListeners[e][a](t)}),s},once(e,t,i){let s=this;if(!s.eventsListeners||s.destroyed||"function"!=typeof t)return s;function a(...i){s.off(e,a),a.__emitterProxy&&delete a.__emitterProxy,t.apply(s,i)}return a.__emitterProxy=t,s.on(e,a,i)},onAny(e,t){return!this.eventsListeners||this.destroyed||"function"!=typeof e||0>this.eventsAnyListeners.indexOf(e)&&this.eventsAnyListeners[t?"unshift":"push"](e),this},offAny(e){if(!this.eventsListeners||this.destroyed||!this.eventsAnyListeners)return this;let t=this.eventsAnyListeners.indexOf(e);return t>=0&&this.eventsAnyListeners.splice(t,1),this},off(e,t){let i=this;return i.eventsListeners&&!i.destroyed&&i.eventsListeners&&e.split(" ").forEach(e=>{void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].forEach((s,a)=>{(s===t||s.__emitterProxy&&s.__emitterProxy===t)&&i.eventsListeners[e].splice(a,1)})}),i},emit(...e){let t,i,s,a=this;return a.eventsListeners&&!a.destroyed&&a.eventsListeners&&("string"==typeof e[0]||Array.isArray(e[0])?(t=e[0],i=e.slice(1,e.length),s=a):(t=e[0].events,i=e[0].data,s=e[0].context||a),i.unshift(s),(Array.isArray(t)?t:t.split(" ")).forEach(e=>{a.eventsAnyListeners&&a.eventsAnyListeners.length&&a.eventsAnyListeners.forEach(t=>{t.apply(s,[e,...i])}),a.eventsListeners&&a.eventsListeners[e]&&a.eventsListeners[e].forEach(e=>{e.apply(s,i)})})),a}},update:{updateSize:function(){let e,t,i=this.el;e=void 0!==this.params.width&&null!==this.params.width?this.params.width:i.clientWidth,t=void 0!==this.params.height&&null!==this.params.height?this.params.height:i.clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt(C(i,"padding-left")||0,10)-parseInt(C(i,"padding-right")||0,10),t=t-parseInt(C(i,"padding-top")||0,10)-parseInt(C(i,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){let e,t=this;function i(e,i){return parseFloat(e.getPropertyValue(t.getDirectionLabel(i))||0)}let s=t.params,{wrapperEl:a,slidesEl:r,rtlTranslate:n,wrongRTL:o}=t,l=t.virtual&&s.virtual.enabled,d=l?t.virtual.slides.length:t.slides.length,h=T(r,`.${t.params.slideClass}, swiper-slide`),c=l?t.virtual.slides.length:h.length,u=[],p=[],m=[],f=s.slidesOffsetBefore;"function"==typeof f&&(f=s.slidesOffsetBefore.call(t));let g=s.slidesOffsetAfter;"function"==typeof g&&(g=s.slidesOffsetAfter.call(t));let v=t.snapGrid.length,x=t.slidesGrid.length,b=t.size-f-g,y=s.spaceBetween,S=-f,E=0,j=0;if(void 0===b)return;"string"==typeof y&&y.indexOf("%")>=0?y=parseFloat(y.replace("%",""))/100*b:"string"==typeof y&&(y=parseFloat(y)),t.virtualSize=-y-f-g,h.forEach(e
1=>{n?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),s.centeredSlides&&s.cssMode&&(w(a,"--swiper-centered-offset-before",""),w(a,"--swiper-centered-offset-after",""));let k=s.grid&&s.grid.rows>1&&t.grid;k?t.grid.initSlides(h):t.grid&&t.grid.unsetSlides();let P="auto"===s.slidesPerView&&s.breakpoints&&Object.keys(s.breakpoints).filter(e=>void 0!==s.breakpoints[e].slidesPerView).length>0;for(let a=0;a<c;a+=1){e=0;let r=h[a];if(!r||(k&&t.grid.updateSlide(a,r,h),"none"!==C(r,"display"))){if(l&&"auto"===s.slidesPerView)s.virtual.slidesPerViewAutoSlideSize&&(e=s.virtual.slidesPerViewAutoSlideSize),e&&r&&(s.roundLengths&&(e=Math.floor(e)),r.style[t.getDirectionLabel("width")]=`${e}px`);else if("auto"===s.slidesPerView){P&&(r.style[t.getDirectionLabel("width")]="");let a=getComputedStyle(r),n=r.style.transform,o=r.style.webkitTransform;if(n&&(r.style.transform="none"),o&&(r.style.webkitTransform="none"),s.roundLengths)e=t.isHorizontal()?M(r,"width",!0):M(r,"height",!0);else{let t=i(a,"width"),s=i(a,"padding-left"),n=i(a,"padding-right"),o=i(a,"margin-left"),l=i(a,"margin-right"),d=a.getPropertyValue("box-sizing");if(d&&"border-box"===d)e=t+o+l;else{let{clientWidth:i,offsetWidth:a}=r;e=t+s+n+o+l+(a-i)}}n&&(r.style.transform=n),o&&(r.style.webkitTransform=o),s.roundLengths&&(e=Math.floor(e))}else e=(b-(s.slidesPerView-1)*y)/s.slidesPerView,s.roundLengths&&(e=Math.floor(e)),r&&(r.style[t.getDirectionLabel("width")]=`${e}px`);r&&(r.swiperSlideSize=e),m.push(e),s.centeredSlides?(S=S+e/2+E/2+y,0===E&&0!==a&&(S=S-b/2-y),0===a&&(S=S-b/2-y),.001>Math.abs(S)&&(S=0),s.roundLengths&&(S=Math.floor(S)),j%s.slidesPerGroup==0&&u.push(S),p.push(S)):(s.roundLengths&&(S=Math.floor(S)),(j-Math.min(t.params.slidesPerGroupSkip,j))%t.params.slidesPerGroup==0&&u.push(S),p.push(S),S=S+e+y),t.virtualSize+=e+y,E=e,j+=1}}if(t.virtualSize=Math.max(t.virtualSize,b)+g,n&&o&&("slide"===s.effect||"coverflow"===s.effect)&&(a.style.width=`${t.virtualSize+y}px`),s.setWrapperSize&&(a.style[t.getDirectionLabel("width")]=`${t.virtualSize+y}px`),k&&t.grid.updateWrapperSize(e,u),!s.centeredSlides){let e=[];for(let i=0;i<u.length;i+=1){let a=u[i];s.roundLengths&&(a=Math.floor(a)),u[i]<=t.virtualSize-b&&e.push(a)}u=e,Math.floor(t.virtualSize-b)-Math.floor(u[u.length-1])>1&&u.push(t.virtualSize-b)}if(l&&s.loop){let e=m[0]+y;if(s.slidesPerGroup>1){let i=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/s.slidesPerGroup),a=e*s.slidesPerGroup;for(let e=0;e<i;e+=1)u.push(u[u.length-1]+a)}for(let i=0;i<t.virtual.slidesBefore+t.virtual.slidesAfter;i+=1)1===s.slidesPerGroup&&u.push(u[u.length-1]+e),p.push(p[p.length-1]+e),t.virtualSize+=e}if(0===u.length&&(u=[0]),0!==y){let e=t.isHorizontal()&&n?"marginLeft":t.getDirectionLabel("marginRight");h.filter((e,t)=>!s.cssMode||!!s.loop||t!==h.length-1).forEach(t=>{t.style[e]=`${y}px`})}if(s.centeredSlides&&s.centeredSlidesBounds){let e=0;m.forEach(t=>{e+=t+(y||0)});let t=(e-=y)>b?e-b:0;u=u.map(e=>e<=0?-f:e>t?t+g:e)}if(s.centerInsufficientSlides){let e=0;m.forEach(t=>{e+=t+(y||0)}),e-=y;let t=(f||0)+(g||0);if(e+t<b){let i=(b-e-t)/2;u.forEach((e,t)=>{u[t]=e-i}),p.forEach((e,t)=>{p[t]=e+i})}}if(Object.assign(t,{slides:h,snapGrid:u,slidesGrid:p,slidesSizesGrid:m}),s.centeredSlides&&s.cssMode&&!s.centeredSlidesBounds){w(a,"--swiper-centered-offset-before",`${-u[0]}px`),w(a,"--swiper-centered-offset-after",`${t.size/2-m[m.length-1]/2}px`);let e=-t.snapGrid[0],i=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(t=>t+e),t.slidesGrid=t.slidesGrid.map(e=>e+i)}if(c!==d&&t.emit("slidesLengthChange"),u.length!==v&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),p.length!==x&&t.emit("slidesGridLengthChange"),s.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!l&&!s.cssMode&&("slide"===s.effect||"fade"===s.effect)){let e=`${s.containerModifierClass}backface-hidden`,i=t.el.classList.contains(e);c<=s.maxBackfaceHiddenSlides?i||t.el.classList.add(e):i&&t.el.classList.remove(e)}},updateAutoHeight:function(e){let t,i=this,s=[],a=i.virtual&&i.params.virtual.enabled,r=0;"number"==typeof e?i.setTransition(e):!0===e&&i.setTransition(i.params.speed);let n=e=>a?i.slides[i.getSlideIndexByData(e)]:i.slides[e];if("auto"!==i.params.slidesPerView&&i.params.slidesPerView>
11)if(i.params.centeredSlides)(i.visibleSlides||[]).forEach(e=>{s.push(e)});else for(t=0;t<Math.ceil(i.params.slidesPerView);t+=1){let e=i.activeIndex+t;if(e>i.slides.length&&!a)break;s.push(n(e))}else s.push(n(i.activeIndex));for(t=0;t<s.length;t+=1)if(void 0!==s[t]){let e=s[t].offsetHeight;r=e>r?e:r}(r||0===r)&&(i.wrapperEl.style.height=`${r}px`)},updateSlidesOffset:function(){let e=this.slides,t=this.isElement?this.isHorizontal()?this.wrapperEl.offsetLeft:this.wrapperEl.offsetTop:0;for(let i=0;i<e.length;i+=1)e[i].swiperSlideOffset=(this.isHorizontal()?e[i].offsetLeft:e[i].offsetTop)-t-this.cssOverflowAdjustment()},updateSlidesProgress:function(e=this&&this.translate||0){let t=this.params,{slides:i,rtlTranslate:s,snapGrid:a}=this;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&this.updateSlidesOffset();let r=-e;s&&(r=e),this.visibleSlidesIndexes=[],this.visibleSlides=[];let n=t.spaceBetween;"string"==typeof n&&n.indexOf("%")>=0?n=parseFloat(n.replace("%",""))/100*this.size:"string"==typeof n&&(n=parseFloat(n));for(let e=0;e<i.length;e+=1){let o=i[e],l=o.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(l-=i[0].swiperSlideOffset);let d=(r+(t.centeredSlides?this.minTranslate():0)-l)/(o.swiperSlideSize+n),h=(r-a[0]+(t.centeredSlides?this.minTranslate():0)-l)/(o.swiperSlideSize+n),c=-(r-l),u=c+this.slidesSizesGrid[e],p=c>=0&&c<=this.size-this.slidesSizesGrid[e],m=c>=0&&c<this.size-1||u>1&&u<=this.size||c<=0&&u>=this.size;m&&(this.visibleSlides.push(o),this.visibleSlidesIndexes.push(e)),O(o,m,t.slideVisibleClass),O(o,p,t.slideFullyVisibleClass),o.progress=s?-d:d,o.originalProgress=s?-h:h}},updateProgress:function(e){if(void 0===e){let t=this.rtlTranslate?-1:1;e=this&&this.translate&&this.translate*t||0}let t=this.params,i=this.maxTranslate()-this.minTranslate(),{progress:s,isBeginning:a,isEnd:r,progressLoop:n}=this,o=a,l=r;if(0===i)s=0,a=!0,r=!0;else{s=(e-this.minTranslate())/i;let t=1>Math.abs(e-this.minTranslate()),n=1>Math.abs(e-this.maxTranslate());a=t||s<=0,r=n||s>=1,t&&(s=0),n&&(s=1)}if(t.loop){let t=this.getSlideIndexByData(0),i=this.getSlideIndexByData(this.slides.length-1),s=this.slidesGrid[t],a=this.slidesGrid[i],r=this.slidesGrid[this.slidesGrid.length-1],o=Math.abs(e);(n=o>=s?(o-s)/r:(o+r-a)/r)>1&&(n-=1)}Object.assign(this,{progress:s,progressLoop:n,isBeginning:a,isEnd:r}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&this.updateSlidesProgress(e),a&&!o&&this.emit("reachBeginning toEdge"),r&&!l&&this.emit("reachEnd toEdge"),(o&&!a||l&&!r)&&this.emit("fromEdge"),this.emit("progress",s)},updateSlidesClasses:function(){let e,t,i,{slides:s,params:a,slidesEl:r,activeIndex:n}=this,o=this.virtual&&a.virtual.enabled,l=this.grid&&a.grid&&a.grid.rows>1,d=e=>T(r,`.${a.slideClass}${e}, swiper-slide${e}`)[0];if(o)if(a.loop){let t=n-this.virtual.slidesBefore;t<0&&(t=this.virtual.slides.length+t),t>=this.virtual.slides.length&&(t-=this.virtual.slides.length),e=d(`[data-swiper-slide-index="${t}"]`)}else e=d(`[data-swiper-slide-index="${n}"]`);else l?(e=s.find(e=>e.column===n),i=s.find(e=>e.column===n+1),t=s.find(e=>e.column===n-1)):e=s[n];e&&!l&&(i=function(e,t){let i=[];for(;e.nextElementSibling;){let s=e.nextElementSibling;t?s.matches(t)&&i.push(s):i.push(s),e=s}return i}(e,`.${a.slideClass}, swiper-slide`)[0],a.loop&&!i&&(i=s[0]),t=function(e,t){let i=[];for(;e.previousElementSibling;){let s=e.previousElementSibling;t?s.matches(t)&&i.push(s):i.push(s),e=s}return i}(e,`.${a.slideClass}, swiper-slide`)[0],a.loop),s.forEach(s=>{V(s,s===e,a.slideActiveClass),V(s,s===i,a.slideNextClass),V(s,s===t,a.slidePrevClass)}),this.emitSlidesClasses()},updateActiveIndex:function(e){let t,i,s=this,a=s.rtlTranslate?s.translate:-s.translate,{snapGrid:r,params:n,activeIndex:o,realIndex:l,snapIndex:d}=s,h=e,c=e=>{let t=e-s.virtual.slidesBefore;return t<0&&(t=s.virtual.slides.length+t),t>=s.virtual.slides.length&&(t-=s.virtual.slides.length),t};if(void 0===h&&(h=function(e){let t,{slidesGrid:i,params:s}=e,a=e.rtlTranslate?e.translate:-e.translate;for(let e=0;e<i.length;e+=1)void 0!==i[e+1]?a>=i[e]&&a<i[e+1]-(i[e+1]-i[e])/2?t=e:a>=i[e]&&a<i[e+1]&&(t=e+1):a>=i[e]&&(t=e);return s.normalizeSlideIndex&&(t<0||void 0===t)&&(t=0),t}(s)),r.indexOf(a)>=0)t=r.indexOf(a);else{let e=Math.min(n.slidesPerGroupSkip,h);t=e+Math.floor((h-e)/n.slidesPerGroup)}if(t>=r.length&&(t=r.length-1),h===o&&!s.params.loop){t!==d&&(s.snapIndex=t,s.emit("snapIndexChange"));return}if(h===o&&s.params.loop&&s.virtual&&s.params.virtual.enabled){s.realIndex=c(h
1);return}let u=s.grid&&n.grid&&n.grid.rows>1;if(s.virtual&&n.virtual.enabled&&n.loop)i=c(h);else if(u){let e=s.slides.find(e=>e.column===h),t=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(t)&&(t=Math.max(s.slides.indexOf(e),0)),i=Math.floor(t/n.grid.rows)}else if(s.slides[h]){let e=s.slides[h].getAttribute("data-swiper-slide-index");i=e?parseInt(e,10):h}else i=h;Object.assign(s,{previousSnapIndex:d,snapIndex:t,previousRealIndex:l,realIndex:i,previousIndex:o,activeIndex:h}),s.initialized&&B(s),s.emit("activeIndexChange"),s.emit("snapIndexChange"),(s.initialized||s.params.runCallbacksOnInit)&&(l!==i&&s.emit("realIndexChange"),s.emit("slideChange"))},updateClickedSlide:function(e,t){let i,s=this.params,a=e.closest(`.${s.slideClass}, swiper-slide`);!a&&this.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!a&&e.matches&&e.matches(`.${s.slideClass}, swiper-slide`)&&(a=e)});let r=!1;if(a){for(let e=0;e<this.slides.length;e+=1)if(this.slides[e]===a){r=!0,i=e;break}}if(a&&r)this.clickedSlide=a,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(a.getAttribute("data-swiper-slide-index"),10):this.clickedIndex=i;else{this.clickedSlide=void 0,this.clickedIndex=void 0;return}s.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},translate:{getTranslate:function(e=this.isHorizontal()?"x":"y"){let{params:t,rtlTranslate:i,translate:s,wrapperEl:a}=this;if(t.virtualTranslate)return i?-s:s;if(t.cssMode)return s;let r=function(e,t="x"){let i,s,a,r,n,o=g(),l=((n=g()).getComputedStyle&&(r=n.getComputedStyle(e,null)),!r&&e.currentStyle&&(r=e.currentStyle),r||(r=e.style),r);return o.WebKitCSSMatrix?((s=l.transform||l.webkitTransform).split(",").length>6&&(s=s.split(", ").map(e=>e.replace(",",".")).join(", ")),a=new o.WebKitCSSMatrix("none"===s?"":s)):i=(a=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(s=o.WebKitCSSMatrix?a.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(s=o.WebKitCSSMatrix?a.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),s||0}(a,e);return r+=this.cssOverflowAdjustment(),i&&(r=-r),r||0},setTranslate:function(e,t){let{rtlTranslate:i,params:s,wrapperEl:a,progress:r}=this,n=0,o=0;this.isHorizontal()?n=i?-e:e:o=e,s.roundLengths&&(n=Math.floor(n),o=Math.floor(o)),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?n:o,s.cssMode?a[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-n:-o:s.virtualTranslate||(this.isHorizontal()?n-=this.cssOverflowAdjustment():o-=this.cssOverflowAdjustment(),a.style.transform=`translate3d(${n}px, ${o}px, 0px)`);let l=this.maxTranslate()-this.minTranslate();(0===l?0:(e-this.minTranslate())/l)!==r&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,t=this.params.speed,i=!0,s=!0,a){let r,n=this,{params:o,wrapperEl:l}=n;if(n.animating&&o.preventInteractionOnTransition)return!1;let d=n.minTranslate(),h=n.maxTranslate();if(r=s&&e>d?d:s&&e<h?h:e,n.updateProgress(r),o.cssMode){let e=n.isHorizontal();if(0===t)l[e?"scrollLeft":"scrollTop"]=-r;else{if(!n.support.smoothScroll)return S({swiper:n,targetPosition:-r,side:e?"left":"top"}),!0;l.scrollTo({[e?"left":"top"]:-r,behavior:"smooth"})}return!0}return 0===t?(n.setTransition(0),n.setTranslate(r),i&&(n.emit("beforeTransitionStart",t,a),n.emit("transitionEnd"))):(n.setTransition(t),n.setTranslate(r),i&&(n.emit("beforeTransitionStart",t,a),n.emit("transitionStart")),n.animating||(n.animating=!0,n.onTranslateToWrapperTransitionEnd||(n.onTranslateToWrapperTransitionEnd=function(e){!n||n.destroyed||e.target===this&&(n.wrapperEl.removeEventListener("transitionend",n.onTranslateToWrapperTransitionEnd),n.onTranslateToWrapperTransitionEnd=null,delete n.onTranslateToWrapperTransitionEnd,n.animating=!1,i&&n.emit("transitionEnd"))}),n.wrapperEl.addEventListener("transitionend",n.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){this.params.cssMode||(this.wrapperEl.style.transitionDuration=`${e}ms`,this.wrapperEl.style.transitionDelay=0===e?"0ms":""),this.emit
1("setTransition",e,t)},transitionStart:function(e=!0,t){let{params:i}=this;i.cssMode||(i.autoHeight&&this.updateAutoHeight(),F({swiper:this,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e=!0,t){let{params:i}=this;this.animating=!1,i.cssMode||(this.setTransition(0),F({swiper:this,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e=0,t,i=!0,s,a){let r;"string"==typeof e&&(e=parseInt(e,10));let n=this,o=e;o<0&&(o=0);let{params:l,snapGrid:d,slidesGrid:h,previousIndex:c,activeIndex:u,rtlTranslate:p,wrapperEl:m,enabled:f}=n;if(!f&&!s&&!a||n.destroyed||n.animating&&l.preventInteractionOnTransition)return!1;void 0===t&&(t=n.params.speed);let g=Math.min(n.params.slidesPerGroupSkip,o),v=g+Math.floor((o-g)/n.params.slidesPerGroup);v>=d.length&&(v=d.length-1);let x=-d[v];if(l.normalizeSlideIndex)for(let e=0;e<h.length;e+=1){let t=-Math.floor(100*x),i=Math.floor(100*h[e]),s=Math.floor(100*h[e+1]);void 0!==h[e+1]?t>=i&&t<s-(s-i)/2?o=e:t>=i&&t<s&&(o=e+1):t>=i&&(o=e)}if(n.initialized&&o!==u&&(!n.allowSlideNext&&(p?x>n.translate&&x>n.minTranslate():x<n.translate&&x<n.minTranslate())||!n.allowSlidePrev&&x>n.translate&&x>n.maxTranslate()&&(u||0)!==o))return!1;o!==(c||0)&&i&&n.emit("beforeSlideChangeStart"),n.updateProgress(x),r=o>u?"next":o<u?"prev":"reset";let b=n.virtual&&n.params.virtual.enabled;if(!(b&&a)&&(p&&-x===n.translate||!p&&x===n.translate))return n.updateActiveIndex(o),l.autoHeight&&n.updateAutoHeight(),n.updateSlidesClasses(),"slide"!==l.effect&&n.setTranslate(x),"reset"!==r&&(n.transitionStart(i,r),n.transitionEnd(i,r)),!1;if(l.cssMode){let e=n.isHorizontal(),i=p?x:-x;if(0===t)b&&(n.wrapperEl.style.scrollSnapType="none",n._immediateVirtual=!0),b&&!n._cssModeVirtualInitialSet&&n.params.initialSlide>0?(n._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{m[e?"scrollLeft":"scrollTop"]=i})):m[e?"scrollLeft":"scrollTop"]=i,b&&requestAnimationFrame(()=>{n.wrapperEl.style.scrollSnapType="",n._immediateVirtual=!1});else{if(!n.support.smoothScroll)return S({swiper:n,targetPosition:i,side:e?"left":"top"}),!0;m.scrollTo({[e?"left":"top"]:i,behavior:"smooth"})}return!0}let y=D().isSafari;return b&&!a&&y&&n.isElement&&n.virtual.update(!1,!1,o),n.setTransition(t),n.setTranslate(x),n.updateActiveIndex(o),n.updateSlidesClasses(),n.emit("beforeTransitionStart",t,s),n.transitionStart(i,r),0===t?n.transitionEnd(i,r):n.animating||(n.animating=!0,n.onSlideToWrapperTransitionEnd||(n.onSlideToWrapperTransitionEnd=function(e){!n||n.destroyed||e.target===this&&(n.wrapperEl.removeEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.onSlideToWrapperTransitionEnd=null,delete n.onSlideToWrapperTransitionEnd,n.transitionEnd(i,r))}),n.wrapperEl.addEventListener("transitionend",n.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t,i=!0,s){"string"==typeof e&&(e=parseInt(e,10));let a=this;if(a.destroyed)return;void 0===t&&(t=a.params.speed);let r=a.grid&&a.params.grid&&a.params.grid.rows>1,n=e;if(a.params.loop)if(a.virtual&&a.params.virtual.enabled)n+=a.virtual.slidesBefore;else{let e;if(r){let t=n*a.params.grid.rows;e=a.slides.find(e=>+e.getAttribute("data-swiper-slide-index")===t).column}else e=a.getSlideIndexByData(n);let t=r?Math.ceil(a.slides.length/a.params.grid.rows):a.slides.length,{centeredSlides:i,slidesOffsetBefore:o,slidesOffsetAfter:l}=a.params,d=i||!!o||!!l,h=a.params.slidesPerView;"auto"===h?h=a.slidesPerViewDynamic():(h=Math.ceil(parseFloat(a.params.slidesPerView,10)),d&&h%2==0&&(h+=1));let c=t-e<h;if(d&&(c=c||e<Math.ceil(h/2)),s&&d&&"auto"!==a.params.slidesPerView&&!r&&(c=!1),c){let i=d?e<a.activeIndex?"prev":"next":e-a.activeIndex-1<a.params.slidesPerView?"next":"prev";a.loopFix({direction:i,slideTo:!0,activeSlideIndex:"next"===i?e+1:e-t+1,slideRealIndex:"next"===i?a.realIndex:void 0})}if(r){let e=n*a.params.grid.rows;n=a.slides.find(t=>+t.getAttribute("data-swiper-slide-index")===e).column}else n=a.getSlideIndexByData(n)}return requestAnimationFrame(()=>{a.slideTo(n,t,i,s)}),a},slideNext:function(e,t=!0,i){let s=this,{enabled:a,params:r,animating:n}=s;if(!a||s.destroyed)return s;void 0===e&&(e=s.params.speed);let o=r.slidesPerGroup;"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(o=Math.max(s.slidesPerViewDynamic("current",!0),1));let l=s.activeIndex<r.slidesPerGroupSkip?1:o,d=s.virtual&&r.virtual.enabled;if(r.loop){if(n&&!d&&r.loopPreventsSliding)return!1;if(s.loopFix({direction:"next"}),s._clientLeft=s.wrapperEl.clientLeft,s.activeIndex===s.slides.length-1&&r.cssMode)return requestAnimationFrame(()=>{s.slideTo(s.activeIndex+l,e,t,i)}),!0}return r.rewind&&s.isEnd?s.slideTo(0,e,t,i):s.slideTo(s.activeIndex+l,e,t,i)},slidePrev:function(e,t=!0,i){let s=this,{params:a,snapGrid:r,slidesGrid:n,rtlTranslate:o,enabled:l,animating:d}=s;
1if(!l||s.destroyed)return s;void 0===e&&(e=s.params.speed);let h=s.virtual&&a.virtual.enabled;if(a.loop){if(d&&!h&&a.loopPreventsSliding)return!1;s.loopFix({direction:"prev"}),s._clientLeft=s.wrapperEl.clientLeft}function c(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}let u=c(o?s.translate:-s.translate),p=r.map(e=>c(e)),m=a.freeMode&&a.freeMode.enabled,f=r[p.indexOf(u)-1];if(void 0===f&&(a.cssMode||m)){let e;r.forEach((t,i)=>{u>=t&&(e=i)}),void 0!==e&&(f=m?r[e]:r[e>0?e-1:e])}let g=0;if(void 0!==f&&((g=n.indexOf(f))<0&&(g=s.activeIndex-1),"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(g=Math.max(g=g-s.slidesPerViewDynamic("previous",!0)+1,0))),a.rewind&&s.isBeginning){let a=s.params.virtual&&s.params.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1;return s.slideTo(a,e,t,i)}return a.loop&&0===s.activeIndex&&a.cssMode?(requestAnimationFrame(()=>{s.slideTo(g,e,t,i)}),!0):s.slideTo(g,e,t,i)},slideReset:function(e,t=!0,i){if(!this.destroyed)return void 0===e&&(e=this.params.speed),this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(e,t=!0,i,s=.5){if(this.destroyed)return;void 0===e&&(e=this.params.speed);let a=this.activeIndex,r=Math.min(this.params.slidesPerGroupSkip,a),n=r+Math.floor((a-r)/this.params.slidesPerGroup),o=this.rtlTranslate?this.translate:-this.translate;if(o>=this.snapGrid[n]){let e=this.snapGrid[n];o-e>(this.snapGrid[n+1]-e)*s&&(a+=this.params.slidesPerGroup)}else{let e=this.snapGrid[n-1];o-e<=(this.snapGrid[n]-e)*s&&(a-=this.params.slidesPerGroup)}return a=Math.min(a=Math.max(a,0),this.slidesGrid.length-1),this.slideTo(a,e,t,i)},slideToClickedSlide:function(){let e,t=this;if(t.destroyed)return;let{params:i,slidesEl:s}=t,a="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,r=t.getSlideIndexWhenGrid(t.clickedIndex),n=t.isElement?"swiper-slide":`.${i.slideClass}`,o=t.grid&&t.params.grid&&t.params.grid.rows>1;if(i.loop){if(t.animating)return;e=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),i.centeredSlides?t.slideToLoop(e):r>(o?(t.slides.length-a)/2-(t.params.grid.rows-1):t.slides.length-a)?(t.loopFix(),r=t.getSlideIndex(T(s,`${n}[data-swiper-slide-index="${e}"]`)[0]),v(()=>{t.slideTo(r)})):t.slideTo(r)}else t.slideTo(r)}},loop:{loopCreate:function(e,t){let i,s=this,{params:a,slidesEl:r}=s;if(!a.loop||s.virtual&&s.params.virtual.enabled)return;let n=s.grid&&a.grid&&a.grid.rows>1;a.loopAddBlankSlides&&(a.slidesPerGroup>1||n)&&((i=T(r,`.${a.slideBlankClass}
1`)).forEach(e=>{e.remove()}),i.length>0&&(s.recalcSlides(),s.updateSlides()));let o=a.slidesPerGroup*(n?a.grid.rows:1),l=s.slides.length%o!=0,d=n&&s.slides.length%a.grid.rows!=0,h=e=>{for(let t=0;t<e;t+=1){let e=s.isElement?j("swiper-slide",[a.slideBlankClass]):j("div",[a.slideClass,a.slideBlankClass]);s.slidesEl.append(e)}};l?a.loopAddBlankSlides?(h(o-s.slides.length%o),s.recalcSlides(),s.updateSlides()):E("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"):d&&(a.loopAddBlankSlides?(h(a.grid.rows-s.slides.length%a.grid.rows),s.recalcSlides(),s.updateSlides()):E("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)")),T(r,`.${a.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)});let c=a.centeredSlides||!!a.slidesOffsetBefore||!!a.slidesOffsetAfter;s.loopFix({slideRealIndex:e,direction:c?void 0:"next",initial:t})},loopFix:function({slideRealIndex:e,slideTo:t=!0,direction:i,setTranslate:s,activeSlideIndex:a,initial:r,byController:n,byMousewheel:o}={}){let l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");let{slides:d,allowSlidePrev:h,allowSlideNext:c,slidesEl:u,params:p}=l,{centeredSlides:m,slidesOffsetBefore:f,slidesOffsetAfter:g,initialSlide:v}=p,x=m||!!f||!!g;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&p.virtual.enabled){t&&(x||0!==l.snapIndex?x&&l.snapIndex<p.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0):l.slideTo(l.virtual.slides.length,0,!1,!0)),l.allowSlidePrev=h,l.allowSlideNext=c,l.emit("loopFix");return}let b=p.slidesPerView;"auto"===b?b=l.slidesPerViewDynamic():(b=Math.ceil(parseFloat(p.slidesPerView,10)),x&&b%2==0&&(b+=1));let y=p.slidesPerGroupAuto?b:p.slidesPerGroup,w=x?Math.max(y,Math.ceil(b/2)):y;w%y!=0&&(w+=y-w%y),l.loopedSlides=w+=p.loopAdditionalSlides;let S=l.grid&&p.grid&&p.grid.rows>1;d.length<b+w||"cards"===l.params.effect&&d.length<b+2*w?E("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):S&&"row"===p.grid.fill&&E("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");let T=[],j=[],C=S?Math.ceil(d.length/p.grid.rows):d.length,k=r&&C-v<b&&!x,P=k?v:l.activeIndex;void 0===a?a=l.getSlideIndex(d.find(e=>e.classList.contains(p.slideActiveClass))):P=a;let M="next"===i||!i,N="prev"===i||!i,A=0,_=0,L=(S?d[a].column:a)+(x&&void 0===s?-b/2+.5:0);if(L<w){A=Math.max(w-L,y);for(let e=0;e<w-L;e+=1){let t=e-Math.floor(e/C)*C;if(S){let e=C-t-1;for(let t=d.length-1;t>=0;t-=1)d[t].column===e&&T.push(t)}else T.push(C-t-1)}}else if(L+b>C-w){_=Math.max(L-(C-2*w),y),k&&(_=Math.max(_,b-C+v+1));for(let e=0;e<_;e+=1){let t=e-Math.floor(e/C)*C;S?d.forEach((e,i)=>{e.column===t&&j.push(i)}):j.push(t)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),"cards"===l.params.effect&&d.length<b+2*w&&(j.includes(a)&&j.splice(j.indexOf(a),1),T.includes(a)&&T.splice(T.indexOf(a),1)),N&&T.forEach(e=>{d[e].swiperLoopMoveDOM=!0,u.prepend(d[e]),d[e].swiperLoopMoveDOM=!1}),M&&j.forEach(e=>{d[e].swiperLoopMoveDOM=!0,u.append(d[e]),d[e].swiperLoopMoveDOM=!1}),l.recalcSlides(),"auto"===p.slidesPerView?l.updateSlides():S&&(T.length>0&&N||j.length>0&&M)&&l.slides.forEach((e,t)=>{l.grid.updateSlide(t,e,l.slides)}),p.watchSlidesProgress&&l.updateSlidesOffset(),t){if(T.length>0&&N){if(void 0===e){let e=l.slidesGrid[P],t=l.slidesGrid[P+A]-e;o?l.setTranslate(l.translate-t):(l.slideTo(P+Math.ceil(A),0,!1,!0),s&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else if(s){let e=S?T.length/p.grid.rows:T.length;l.slideTo(l.activeIndex+e,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(j.length>0&&M)if(void 0===e){let e=l.slidesGrid[P],t=l.slidesGrid[P-_]-e;o?l.setTranslate(l.translate-t):(l.slideTo(P-_,0,!1,!0),s&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else{let e=S?j.length/p.grid.rows:j.length;l.slideTo(l.activeIndex-e,0,!1,!0)}}if(l.allowSlidePrev=h,l.allowSlideNext=c,l.controller&&l.controller.control&&!n){let r={slideRealIndex:e,direction:i,setTranslate:s,activeSlideIndex:a,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(e
1=>{!e.destroyed&&e.params.loop&&e.loopFix({...r,slideTo:e.params.slidesPerView===p.slidesPerView&&t})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...r,slideTo:l.controller.control.params.slidesPerView===p.slidesPerView&&t})}l.emit("loopFix")},loopDestroy:function(){let{params:e,slidesEl:t}=this;if(!e.loop||!t||this.virtual&&this.params.virtual.enabled)return;this.recalcSlides();let i=[];this.slides.forEach(e=>{i[void 0===e.swiperSlideIndex?+e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex]=e}),this.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),i.forEach(e=>{t.append(e)}),this.recalcSlides(),this.slideTo(this.realIndex,0)}},grabCursor:{setGrabCursor:function(e){let t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;let i="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){let e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){let{params:e}=this;this.onTouchStart=$.bind(this),this.onTouchMove=q.bind(this),this.onTouchEnd=G.bind(this),this.onDocumentTouchStart=X.bind(this),e.cssMode&&(this.onScroll=U.bind(this)),this.onClick=W.bind(this),this.onLoad=Y.bind(this),K(this,"on")},detachEvents:function(){K(this,"off")}},breakpoints:{setBreakpoint:function(){let e=this,{realIndex:t,initialized:i,params:s,el:a}=e,r=s.breakpoints;if(!r||r&&0===Object.keys(r).length)return;let n=m(),o="window"!==s.breakpointsBase&&s.breakpointsBase?"container":s.breakpointsBase,l=["window","container"].includes(s.breakpointsBase)||!s.breakpointsBase?e.el:n.querySelector(s.breakpointsBase),d=e.getBreakpoint(r,o,l);if(!d||e.currentBreakpoint===d)return;let h=(d in r?r[d]:void 0)||e.originalParams,c=Z(e,s),u=Z(e,h),p=e.params.grabCursor,f=h.grabCursor,g=s.enabled;c&&!u?(a.classList.remove(`${s.containerModifierClass}grid`,`${s.containerModifierClass}grid-column`),e.emitContainerClasses()):!c&&u&&(a.classList.add(`${s.containerModifierClass}grid`),(h.grid.fill&&"column"===h.grid.fill||!h.grid.fill&&"column"===s.grid.fill)&&a.classList.add(`${s.containerModifierClass}grid-column`),e.emitContainerClasses()),p&&!f?e.unsetGrabCursor():!p&&f&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(t=>{if(void 0===h[t])return;let i=s[t]&&s[t].enabled,a=h[t]&&h[t].enabled;i&&!a&&e[t].disable(),!i&&a&&e[t].enable()});let v=h.direction&&h.direction!==s.direction,x=s.loop&&(h.slidesPerView!==s.slidesPerView||v),b=s.loop;v&&i&&e.changeDirection(),y(e.params,h);let w=e.params.enabled,S=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),g&&!w?e.disable():!g&&w&&e.enable(),e.currentBreakpoint=d,e.emit("_beforeBreakpoint",h),i&&(x?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!b&&S?(e.loopCreate(t),e.updateSlides()):b&&!S&&e.loopDestroy()),e.emit("breakpoint",h)},getBreakpoint:function(e,t="window",i){if(!e||"container"===t&&!i)return;let s=!1,a=g(),r="window"===t?a.innerHeight:i.clientHeight,n=Object.keys(e).map(e=>"string"==typeof e&&0===e.indexOf("@")?{value:r*parseFloat(e.substr(1)),point:e}:{value:e,point:e});n.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<n.length;e+=1){let{point:r,value:o}=n[e];"window"===t?a.matchMedia(`(min-width: ${o}px)`).matches&&(s=r):o<=i.clientWidth&&(s=r)}return s||"max"}},checkOverflow:{checkOverflow:function(){let{isLocked:e,params:t}=this,{slidesOffsetBefore:i}=t;if(i){let e=this.slides.length-1,t=this.slidesGrid[e]+this.slidesSizesGrid[e]+2*i;this.isLocked=this.size>t}else this.isLocked=1===this.snapGrid.length;!0===t.allowSlideNext&&(this.allowSlideNext=!this.isLocked),!0===t.allowSlidePrev&&(this.allowSlidePrev=!this.isLocked),e&&e!==this.isLocked&&(this.isEnd=!1),e!==this.isLocked&&this.emit
1(this.isLocked?"lock":"unlock")}},classes:{addClasses:function(){var e,t;let i,{classNames:s,params:a,rtl:r,el:n,device:o}=this,l=(e=["initialized",a.direction,{"free-mode":this.params.freeMode&&a.freeMode.enabled},{autoheight:a.autoHeight},{rtl:r},{grid:a.grid&&a.grid.rows>1},{"grid-column":a.grid&&a.grid.rows>1&&"column"===a.grid.fill},{android:o.android},{ios:o.ios},{"css-mode":a.cssMode},{centered:a.cssMode&&a.centeredSlides},{"watch-progress":a.watchSlidesProgress}],t=a.containerModifierClass,i=[],e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(s=>{e[s]&&i.push(t+s)}):"string"==typeof e&&i.push(t+e)}),i);s.push(...l),n.classList.add(...s),this.emitContainerClasses()},removeClasses:function(){let{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},ee={};class et{constructor(...e){let t,i;1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?i=e[0]:[t,i]=e,i||(i={}),i=y({},i),t&&!i.el&&(i.el=t);const s=m();if(i.el&&"string"==typeof i.el&&s.querySelectorAll(i.el).length>1){const e=[];return s.querySelectorAll(i.el).forEach(t=>{let s=y({},i,{el:t});e.push(new et(s))}),e}const a=this;a.__swiper__=!0,a.support=_(),a.device=L({userAgent:i.userAgent}),a.browser=D(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],i.modules&&Array.isArray(i.modules)&&a.modules.push(...i.modules);const r={};a.modules.forEach(e=>{var t;e({params:i,swiper:a,extendParams:(t=i,function(e={}){let i=Object.keys(e)[0],s=e[i];"object"!=typeof s||null===s||(!0===t[i]&&(t[i]={enabled:!0}),"navigation"===i&&t[i]&&t[i].enabled&&!t[i].prevEl&&!t[i].nextEl&&(t[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&t[i]&&t[i].enabled&&!t[i].el&&(t[i].auto=!0),i in t&&"enabled"in s&&("object"!=typeof t[i]||"enabled"in t[i]||(t[i].enabled=!0),t[i]||(t[i]={enabled:!1}))),y(r,e)}),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const n=y({},Q,r);return a.params=y({},n,ee,i),a.originalParams=y({},a.params),a.passedParams=y({}
1,i),a.params&&a.params.on&&Object.keys(a.params.on).forEach(e=>{a.on(e,a.params.on[e])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===a.params.direction,isVertical:()=>"vertical"===a.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return 8388608*Math.trunc(this.translate/8388608)},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getDirectionLabel(e){return this.isHorizontal()?e:({width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"})[e]}getSlideIndex(e){let{slidesEl:t,params:i}=this,s=k(T(t,`.${i.slideClass}, swiper-slide`)[0]);return k(e)-s}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>+t.getAttribute("data-swiper-slide-index")===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?e=Math.floor(e/this.params.grid.rows):"row"===this.params.grid.fill&&(e%=Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){let{slidesEl:e,params:t}=this;this.slides=T(e,`.${t.slideClass}, swiper-slide`)}enable(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))}disable(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))}setProgress(e,t){e=Math.min(Math.max(e,0),1);let i=this.minTranslate(),s=(this.maxTranslate()-i)*e+i;this.translateTo(s,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){let t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=[];e.slides.forEach(i=>{let s=e.getSlideClasses(i);t.push({slideEl:i,classNames:s}),e.emit("_slideClass",i,s)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){let{params:i,slides:s,slidesGrid:a,slidesSizesGrid:r,size:n,activeIndex:o}=this,l=1;if("number"==typeof i.slidesPerView)return i.slidesPerView;if(i.centeredSlides){let e,t=s[o]?Math.ceil(s[o].swiperSlideSize):0;for(let i=o+1;i<s.length;i+=1)s[i]&&!e&&(t+=Math.ceil(s[i].swiperSlideSize),l+=1,t>n&&(e=!0));for(let i=o-1;i>=0;i-=1)s[i]&&!e&&(t+=s[i].swiperSlideSize,l+=1,t>n&&(e=!0))}else if("current"===e)for(let e=o+1;e<s.length;e+=1)(t?a[e]+r[e]-a[o]<n:a[e]-a[o]<n)&&(l+=1);else for(let e=o-1;e>=0;e-=1)a[o]-a[e]<n&&(l+=1);return l}update(){let e,t=this;if(!t||t.destroyed)return;let{snapGrid:i,params:s}=t;function a(){let e=Math.min(Math.max(t.rtlTranslate?-1*t.translate:t.translate,t.maxTranslate()),t.minTranslate());t.setTranslate(e),t.updateActiveIndex(),t.updateSlidesClasses()}if(s.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete&&I(t,e)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),s.freeMode&&s.freeMode.enabled&&!s.cssMode)a(),s.autoHeight&&t.updateAutoHeight();else{if(("auto"===s.slidesPerView||s.slidesPerView>1)&&t.isEnd&&!s.centeredSlides){let i=t.virtual&&s.virtual.enabled?t.virtual.slides:t.slides;
1e=t.slideTo(i.length-1,0,!1,!0)}else e=t.slideTo(t.activeIndex,0,!1,!0);e||a()}s.watchOverflow&&i!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(e,t=!0){let i=this.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(this.el.classList.remove(`${this.params.containerModifierClass}${i}`),this.el.classList.add(`${this.params.containerModifierClass}${e}`),this.emitContainerClasses(),this.params.direction=e,this.slides.forEach(t=>{"vertical"===e?t.style.width="":t.style.height=""}),this.emit("changeDirection"),t&&this.update()),this}changeLanguageDirection(e){(!this.rtl||"rtl"!==e)&&(this.rtl||"ltr"!==e)&&(this.rtl="rtl"===e,this.rtlTranslate="horizontal"===this.params.direction&&this.rtl,this.rtl?(this.el.classList.add(`${this.params.containerModifierClass}rtl`),this.el.dir="rtl"):(this.el.classList.remove(`${this.params.containerModifierClass}rtl`),this.el.dir="ltr"),this.update())}mount(e){let t=this;if(t.mounted)return!0;let i=e||t.params.el;if("string"==typeof i&&(i=document.querySelector(i)),!i)return!1;i.swiper=t,i.parentNode&&i.parentNode.host&&i.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);let s=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`,a=i&&i.shadowRoot&&i.shadowRoot.querySelector?i.shadowRoot.querySelector(s()):T(i,s())[0];return!a&&t.params.createElements&&(a=j("div",t.params.wrapperClass),i.append(a),T(i,`.${t.params.slideClass}`).forEach(e=>{a.append(e)})),Object.assign(t,{el:i,wrapperEl:a,slidesEl:t.isElement&&!i.parentNode.host.slideSlots?i.parentNode.host:a,hostEl:t.isElement?i.parentNode.host:i,mounted:!0,rtl:"rtl"===i.dir.toLowerCase()||"rtl"===C(i,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===i.dir.toLowerCase()||"rtl"===C(i,"direction")),wrongRTL:"-webkit-box"===C(a,"display")}),!0}init(e){let t=this;if(t.initialized||!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();let i=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&i.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(e=>{e.complete?I(t,e):e.addEventListener("load",e=>{I(t,e.target)})}),B(t),t.initialized=!0,B(t),t.emit("init"),t.emit("afterInit"),t}destroy(e=!0,t=!0){let i=this,{params:s,el:a,wrapperEl:r,slides:n}=i;if(void 0===i.params||i.destroyed)return null;(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),s.loop&&i.loopDestroy(),t&&(i.removeClasses(),a&&"string"!=typeof a&&a.removeAttribute("style"),r&&r.removeAttribute("style"),n&&n.length&&n.forEach(e=>{e.classList.remove(s.slideVisibleClass,s.slideFullyVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(e=>{i.off(e)}),!1!==e)&&(i.el&&"string"!=typeof i.el&&(i.el.swiper=null),Object.keys(i).forEac
1h(e=>{try{i[e]=null}catch(e){}try{delete i[e]}catch(e){}}));return i.destroyed=!0,null}static extendDefaults(e){y(ee,e)}static get extendedDefaults(){return ee}static get defaults(){return Q}static installModule(e){et.prototype.__modules__||(et.prototype.__modules__=[]);let t=et.prototype.__modules__;"function"==typeof e&&0>t.indexOf(e)&&t.push(e)}static use(e){return Array.isArray(e)?e.forEach(e=>et.installModule(e)):et.installModule(e),et}}Object.keys(J).forEach(e=>{Object.keys(J[e]).forEach(t=>{et.prototype[t]=J[e][t]})}),et.use([function({swiper:e,on:t,emit:i}){let s=g(),a=null,r=null,n=()=>{e&&!e.destroyed&&e.initialized&&(i("beforeResize"),i("resize"))},o=()=>{e&&!e.destroyed&&e.initialized&&i("orientationchange")};t("init",()=>{e.params.resizeObserver&&void 0!==s.ResizeObserver?e&&!e.destroyed&&e.initialized&&(a=new ResizeObserver(t=>{r=s.requestAnimationFrame(()=>{let{width:i,height:s}=e,a=i,r=s;t.forEach(({contentBoxSize:t,contentRect:i,target:s})=>{s&&s!==e.el||(a=i?i.width:(t[0]||t).inlineSize,r=i?i.height:(t[0]||t).blockSize)}),(a!==i||r!==s)&&n()})})).observe(e.el):(s.addEventListener("resize",n),s.addEventListener("orientationchange",o))}),t("destroy",()=>{r&&s.cancelAnimationFrame(r),a&&a.unobserve&&e.el&&(a.unobserve(e.el),a=null),s.removeEventListener("resize",n),s.removeEventListener("orientationchange",o)})},function({swiper:e,extendParams:t,on:i,emit:s}){let a=[],r=g(),n=(t,i={})=>{let n=new(r.MutationObserver||r.WebkitMutationObserver)(t=>{if(e.__preventObserver__)return;if(1===t.length)return void s("observerUpdate",t[0]);let i=function(){s("observerUpdate",t[0])};r.requestAnimationFrame?r.requestAnimationFrame(i):r.setTimeout(i,0)});n.observe(t,{attributes:void 0===i.attributes||i.attributes,childList:e.isElement||(void 0===i.childList||i).childList,characterData:void 0===i.characterData||i.characterData}),a.push(n)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",()=>{if(e.params.observer){if(e.params.observeParents){let t=P(e.hostEl);for(let e=0;e<t.length;e+=1)n(t[e])}n(e.hostEl,{childList:e.params.observeSlideChildren}),n(e.wrapperEl,{attributes:!1})}}),i("destroy",()=>{a.forEach(e=>{e.disconnect()}),a.splice(0,a.length)})}]);let ei=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function es(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function ea(e,t){let i=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>0>
1i.indexOf(e)).forEach(i=>{void 0===e[i]?e[i]=t[i]:es(t[i])&&es(e[i])&&Object.keys(t[i]).length>0?t[i].__swiper__?e[i]=t[i]:ea(e[i],t[i]):e[i]=t[i]})}function er(e={}){return e.navigation&&void 0===e.navigation.nextEl&&void 0===e.navigation.prevEl}function en(e={}){return e.pagination&&void 0===e.pagination.el}function eo(e={}){return e.scrollbar&&void 0===e.scrollbar.el}function el(e=""){let t=e.split(" ").map(e=>e.trim()).filter(e=>!!e),i=[];return t.forEach(e=>{0>i.indexOf(e)&&i.push(e)}),i.join(" ")}function ed(){return(ed=Object.assign.bind()).apply(this,arguments)}function eh(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function ec(e,t){return"undefined"==typeof window?(0,h.useEffect)(e,t):(0,h.useLayoutEffect)(e,t)}let eu=(0,h.createContext)(null),ep=(0,h.createContext)(null),em=(0,h.forwardRef)(({className:e,tag:t="div",wrapperTag:i="div",children:s,onSwiper:a,...r}={},n)=>{let o,l,d=!1,[c,u]=(0,h.useState)("swiper"),[p,m]=(0,h.useState)(null),[f,g]=(0,h.useState)(!1),v=(0,h.useRef)(!1),x=(0,h.useRef)(null),b=(0,h.useRef)(null),y=(0,h.useRef)(null),w=(0,h.useRef)(null),S=(0,h.useRef)(null),T=(0,h.useRef)(null),E=(0,h.useRef)(null),j=(0,h.useRef)(null),{params:C,passedParams:k,rest:P,events:M}=function(e={},t=!0){let i={on:{}},s={},a={};ea(i,Q),i._emitClasses=!0,i.init=!1;let r={},n=ei.map(e=>e.replace(/_/,""));return Object.keys(Object.assign({},e)).forEach(o=>{void 0!==e[o]&&(n.indexOf(o)>=0?es(e[o])?(i[o]={},a[o]={},ea(i[o],e[o]),ea(a[o],e[o])):(i[o]=e[o],a[o]=e[o]):0===o.search(/on[A-Z]/)&&"function"==typeof e[o]?t?s[`${o[2].toLowerCase()}${o.substr(3)}`]=e[o]:i.on[`${o[2].toLowerCase()}${o.substr(3)}`]=e[o]:r[o]=e[o])}),["navigation","pagination","scrollbar"].forEach(e=>{!0===i[e]&&(i[e]={}),!1===i[e]&&delete i[e]}),{params:i,passedParams:a,rest:r,events:s}}(r),{slides:N,slots:_}=(o=[],l={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]}
1,h.default.Children.toArray(s).forEach(e=>{if(eh(e))o.push(e);else if(e.props&&e.props.slot&&l[e.props.slot])l[e.props.slot].push(e);else if(e.props&&e.props.children){let t=function e(t){let i=[];return h.default.Children.toArray(t).forEach(t=>{eh(t)?i.push(t):t.props&&t.props.children&&e(t.props.children).forEach(e=>i.push(e))}),i}(e.props.children);t.length>0?t.forEach(e=>o.push(e)):l["container-end"].push(e)}else l["container-end"].push(e)}),{slides:o,slots:l}),L=()=>{g(!f)};Object.assign(C.on,{_containerClasses(e,t){u(t)}});let D=()=>{Object.assign(C.on,M),d=!0;let e={...C};if(delete e.wrapperClass,b.current=new et(e),b.current.virtual&&b.current.params.virtual.enabled){b.current.virtual.slides=N;let e={cache:!1,slides:N,renderExternal:m,renderExternalUpdate:!1};ea(b.current.params.virtual,e),ea(b.current.originalParams.virtual,e)}};return x.current||D(),b.current&&b.current.on("_beforeBreakpoint",L),(0,h.useEffect)(()=>()=>{b.current&&b.current.off("_beforeBreakpoint",L)}),(0,h.useEffect)(()=>{!v.current&&b.current&&(b.current.emitSlidesClasses(),v.current=!0)}),ec(()=>{if(n&&(n.current=x.current),x.current)return b.current.destroyed&&D(),!function({el:e,nextEl:t,prevEl:i,paginationEl:s,scrollbarEl:a,swiper:r},n){er(n)&&t&&i&&(r.params.navigation.nextEl=t,r.originalParams.navigation.nextEl=t,r.params.navigation.prevEl=i,r.originalParams.navigation.prevEl=i),en(n)&&s&&(r.params.pagination.el=s,r.originalParams.pagination.el=s),eo(n)&&a&&(r.params.scrollbar.el=a,r.originalParams.scrollbar.el=a),r.init(e)}({el:x.current,nextEl:S.current,prevEl:T.current,paginationEl:E.current,scrollbarEl:j.current,swiper:b.current},C),a&&!b.current.destroyed&&a(b.current),()=>{b.current&&!b.current.destroyed&&b.current.destroy(!0,!1)}},[]),ec(()=>{!d&&M&&b.current&&Object.keys(M).forEach(e=>{b.current.on(e,M[e])});let e=function(e,t,i,s,a){let r=[];if(!t)return r;let n=e=>{0>r.indexOf(e)&&r.push(e)};if(i&&s){let e=s.map(a),t=i.map(a);e.join("")!==t.join("")&&n("children"),s.length!==i.length&&n("children")}return ei.filter(e=>"_"===e[0]).map(e=>e.replace(/_/,"")).forEach(i=>{if(i in e&&i in t)if(es(e[i])&&es(t[i])){let s=Object.keys(e[i]),a=Object.keys(t[i]);s.length!==a.length?n(i):(s.forEach(s=>{e[i][s]!==t[i][s]&&n(i)}),a.forEach(s=>{e[i][s]!==t[i][s]&&n(i)}))}else e[i]!==t[i]&&n(i)}),r}(k,y.current,N,w.current,e=>e.key);return y.current=k,w.current=N,e.length&&b.current&&!b.current.destroyed&&function({swiper:e,slides:t,passedParams:i,changedParams:s,nextEl:a,prevEl:r,scrollbarEl:n,paginationEl:o}){let l,d,h,c,u,p,m,f,g=s.filter(e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e),{params:v,pagination:x,navigation:b,scrollbar:y,virtual:w,thumbs:S}=e;s.includes("thumbs")&&i.thumbs&&i.thumbs.swiper&&!i.thumbs.swiper.destroyed&&v.thumbs&&(!v.thumbs.swiper||v.thumbs.swiper.destroyed)&&(l=!0),s.includes("controller")&&i.controller&&i.controller.control&&v.controller&&!v.controller.control&&(d=!0),s.includes("pagination")&&i.pagination&&(i.pagination.el||o)&&(v.pagination||!1===v.pagination)&&x&&!x.el&&(h=!0),s.includes("scrollbar")&&i.scrollbar&&(i.scrollbar.el||n)&&(v.scrollbar||!1===v.scrollbar)&&y&&!y.el&&(c=!0),s.includes("navigation")&&i.navigation&&(i.navigation.prevEl||r)&&(i.navigation.nextEl||a)&&(v.navigation||!1===v.navigation)&&b&&!b.prevEl&&!b.nextEl&&(u=!0);let T=t=>{e[t]&&(e[t].destroy(),"navigation"===t?(e.isElement&&(e[t].prevEl.remove(),e[t].nextEl.remove()),v[t].prevEl=void 0,v[t].nextEl=void 0,e[t].prevEl=void 0,e[t].nextEl=void 0):(e.isElement&&e[t].el.remove(),v[t].el=void 0,e[t].el=void 0))};s.includes("loop")&&e.isElement&&(v.loop&&!i.loop?p=!0:!v.loop&&i.loop?m=!0:f=!0),g.forEach(e=>{if(es(v[e])&&es(i[e]))Object.assign(v[e],i[e]),("navigation"===e||"pagination"===e||"scrollbar"===e)&&"enabled"in i[e]&&!i[e].enabled&&T(e);else{let t=i[e];(!0===t||!1===t)&&("navigation"===e||"pagination"===e||"scrollbar"===e)?!1===t&&T(e):v[e]=i[e]}}),g.includes("controller")&&!d&&e.controller&&e.controller.control&&v.controller&&v.controller.control&&(e.controller.control=v.controller.control),s.includes("children")&&t&&w&&v.virtual.enabled?(w.slides=t,w.update(!0)):s.includes("virtual")&&w&&v.virtual.enabled&&(t&&(w.slides=t),w.update(!0)),s.includes("children")&&t&&v.loop&&(f=!0),l&&S.init()&&S.update(!0),d&&(e.controller.control=v.controller.control),h&&(e.isElement&&(!o||"string"==typeof o)&&((o=document.createElement("div")).classList.add("swiper-pagination"),o.part.add("pagination"),e.el.appendChild(o)),o&&(v.pagination.el=o),x.init(),x.render(),x.update()),c&&(e.isElement&&(!n||"string"==typeof n)&&((n=document.createElement("div")).classList.add("swiper-scrollbar"),n.part.add("scrollbar"),e.el.appendChild(n)),n&&(v.scrollbar.el=n),y.init(),y.updateSize(),y.setTranslate()),u&&(e.isElement&&(a&&"string"!=typeof a||((a=document.createElement("div")).classList.add("swiper-button-next"),A(a,e.navigation.arrowSvg),a.part.add("button-next"),e.el.appendChild(a)),r&&"string"!=typeof r||((r=document.createElement("div")).classList.add("swiper-button-prev"),A(r,e.navigation.arrowSvg),r.part.add("button-prev"),e.el.appendChild(r))),a&&(v.navigation.nextEl=a),r&&(v.navigation.prevEl=r),b.init(),b.update(
1)),s.includes("allowSlideNext")&&(e.allowSlideNext=i.allowSlideNext),s.includes("allowSlidePrev")&&(e.allowSlidePrev=i.allowSlidePrev),s.includes("direction")&&e.changeDirection(i.direction,!1),(p||f)&&e.loopDestroy(),(m||f)&&e.loopCreate(),e.update()}({swiper:b.current,slides:N,passedParams:k,changedParams:e,nextEl:S.current,prevEl:T.current,scrollbarEl:j.current,paginationEl:E.current}),()=>{M&&b.current&&Object.keys(M).forEach(e=>{b.current.off(e,M[e])})}}),ec(()=>{var e;(e=b.current)&&!e.destroyed&&e.params.virtual&&(!e.params.virtual||e.params.virtual.enabled)&&(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.emit("_virtualUpdated"),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())},[p]),h.default.createElement(t,ed({ref:x,className:el(`${c}${e?` ${e}`:""}`)},P),h.default.createElement(ep.Provider,{value:b.current},_["container-start"],h.default.createElement(i,{className:function(e=""){return e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}(C.wrapperClass)},_["wrapper-start"],C.virtual?function(e,t,i){if(!i)return null;let s=e=>{let i=e;return e<0?i=t.length+e:i>=t.length&&(i-=t.length),i},a=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:r,to:n}=i,o=e.params.loop?-t.length:0,l=e.params.loop?2*t.length:t.length,d=[];for(let e=o;e<l;e+=1)e>=r&&e<=n&&d.push(t[s(e)]);return d.map((t,i)=>h.default.cloneElement(t,{swiper:e,style:a,key:t.props.virtualIndex||t.key||`slide-${i}`}))}(b.current,N,p):N.map((e,t)=>h.default.cloneElement(e,{swiper:b.current,swiperSlideIndex:t})),_["wrapper-end"]),er(C)&&h.default.createElement(h.default.Fragment,null,h.default.createElement("div",{ref:T,className:"swiper-button-prev"}),h.default.createElement("div",{ref:S,className:"swiper-button-next"})),eo(C)&&h.default.createElement("div",{ref:j,className:"swiper-scrollbar"}),en(C)&&h.default.createElement("div",{ref:E,className:"swiper-pagination"}),_["container-end"]))});em.displayName="Swiper";let ef=(0,h.forwardRef)(({tag:e="div",children:t,className:i="",swiper:s,zoom:a,lazy:r,virtualIndex:n,swiperSlideIndex:o,...l}={},d)=>{let c=(0,h.useRef)(null),[u,p]=(0,h.useState)("swiper-slide"),[m,f]=(0,h.useState)(!1);function g(e,t,i){t===c.current&&p(i)}ec(()=>{if(void 0!==o&&(c.current.swiperSlideIndex=o),d&&(d.current=c.current),c.current&&s){if(s.destroyed){"swiper-slide"!==u&&p("swiper-slide");return}return s.on("_slideClass",g),()=>{s&&s.off("_slideClass",g)}}}),ec(()=>{s&&c.current&&!s.destroyed&&p(s.getSlideClasses(c.current))},[s]);let v={isActive:u.indexOf("swiper-slide-active")>=0,isVisible:u.indexOf("swiper-slide-visible")>=0,isPrev:u.indexOf("swiper-slide-prev")>=0,isNext:u.indexOf("swiper-slide-next")>=0},x=()=>"function"==typeof t?t(v):t;return h.default.createElement(e,ed({ref:c,className:el(`${u}${i?` ${i}`:""}`),"data-swiper-slide-index":n,onLoad:()=>{f(!0)}},l),a&&h.default.createElement(eu.Provider,{value:v},h.default.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"==typeof a?a:void 0},x(),r&&!m&&h.default.createElement("div",{className:"swiper-lazy-preloader"}))),!a&&h.default.createElement(eu.Provider,{value:v},x(),r&&!m&&h.default.createElement("div",{className:"swiper-lazy-preloader"})))});function eg(e,t,i,s){return e.params.createElements&&Object.keys(s).forEach(a=>{if(!i[a]&&!0===i.auto){let r=T(e.el,`.${s[a]}`)[0];r||((r=j("div",s[a])).className=s[a],e.el.append(r)),i[a]=r,t[a]=r}}),i}ef.displayName="SwiperSlide";let ev='<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>';function ex({swiper:e,extendParams:t,on:i,emit:s}){function a(t){let i;return t&&"string"==typeof t&&e.isElement&&(i=e.el.querySelector(t)||e.hostEl.querySelector(t))?i:(t&&("string"==typeof t&&(i=[...document.querySelectorAll(t)]),e.params.uniqueNavElements&&"string"==typeof t&&i&&i.length>1&&1===e.el.querySelectorAll(t).length?i=e.el.querySelector(t):i&&1===i.length&&(i=i[0])),t&&!i)?t:i}function r(t,i){let s=e.params.navigation;
1(t=N(t)).forEach(t=>{t&&(t.classList[i?"add":"remove"](...s.disabledClass.split(" ")),"BUTTON"===t.tagName&&(t.disabled=i),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?"add":"remove"](s.lockClass))})}function n(){let{nextEl:t,prevEl:i}=e.navigation;if(e.params.loop){r(i,!1),r(t,!1);return}r(i,e.isBeginning&&!e.params.rewind),r(t,e.isEnd&&!e.params.rewind)}function o(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),s("navigationPrev"))}function l(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),s("navigationNext"))}function d(){let t=e.params.navigation;if(e.params.navigation=eg(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(t.nextEl||t.prevEl))return;let i=a(t.nextEl),s=a(t.prevEl);Object.assign(e.navigation,{nextEl:i,prevEl:s}),i=N(i),s=N(s);let r=(i,s)=>{if(i){if(t.addIcons&&i.matches(".swiper-button-next,.swiper-button-prev")&&!i.querySelector("svg")){let e=document.createElement("div");A(e,ev),i.appendChild(e.querySelector("svg")),e.remove()}i.addEventListener("click","next"===s?l:o)}!e.enabled&&i&&i.classList.add(...t.lockClass.split(" "))};i.forEach(e=>
1r(e,"next")),s.forEach(e=>r(e,"prev"))}function h(){let{nextEl:t,prevEl:i}=e.navigation;t=N(t),i=N(i);let s=(t,i)=>{t.removeEventListener("click","next"===i?l:o),t.classList.remove(...e.params.navigation.disabledClass.split(" "))};t.forEach(e=>s(e,"next")),i.forEach(e=>s(e,"prev"))}t({navigation:{nextEl:null,prevEl:null,addIcons:!0,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null,arrowSvg:ev},i("init",()=>{!1===e.params.navigation.enabled?c():(d(),n())}),i("toEdge fromEdge lock unlock",()=>{n()}),i("destroy",()=>{h()}),i("enable disable",()=>{let{nextEl:t,prevEl:i}=e.navigation;(t=N(t),i=N(i),e.enabled)?n():[...t,...i].filter(e=>!!e).forEach(t=>t.classList.add(e.params.navigation.lockClass))}),i("click",(t,i)=>{let{nextEl:a,prevEl:r}=e.navigation;a=N(a),r=N(r);let n=i.target,o=r.includes(n)||a.includes(n);if(e.isElement&&!o){let e=i.path||i.composedPath&&i.composedPath();e&&(o=e.find(e=>a.includes(e)||r.includes(e)))}if(e.params.navigation.hideOnClick&&!o){let t;if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===n||e.pagination.el.contains(n)))return;a.length?t=a[0].classList.contains(e.params.navigation.hiddenClass):r.length&&(t=r[0].classList.contains(e.params.navigation.hiddenClass)),!0===t?s("navigationShow"):s("navigationHide"),[...a,...r].filter(e=>!!e).forEach(t=>t.classList.toggle(e.params.navigation.hiddenClass))}});let c=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),h()};Object.assign(e.navigation,{enable:()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),d(),n()},disable:c,update:n,init:d,destroy:h})}function eb(e=""){return`.${e.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function ey({swiper:e,extendParams:t,on:i,emit:s}){let a,r="swiper-pagination";t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${r}-bullet`,bulletActiveClass:`${r}-bullet-active`,modifierClass:`${r}-`,currentClass:`${r}-current`,totalClass:`${r}-total`,hiddenClass:`${r}-hidden`,progressbarFillClass:`${r}-progressbar-fill`,progressbarOppositeClass:`${r}-progressbar-opposite`,clickableClass:`${r}-clickable`,lockClass:`${r}-lock`,horizontalClass:`${r}-horizontal`,verticalClass:`${r}-vertical`,paginationDisabledClass:`${r}-disabled`}}),e.pagination={el:null,bullets:[]};let n=0;function o(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&0===e.pagination.el.length}function l(t,i){let{bulletActiveClass:s}=e.params.pagination;t&&(t=t[`${"prev"===i?"previous":"next"}ElementSibling`])&&(t.classList.add(`${s}-${i}`),(t=t[`${"prev"===i?"previous":"next"}ElementSibling`])&&t.classList.add(`${s}-${i}-${i}`))}function d(t){let i=t.target.closest(eb(e.params.pagination.bulletClass));if(!i)return;t.preventDefault();let s=k(i)*e.params.slidesPerGroup;if(e.params.loop){var a,r,n;if(e.realIndex===s)return;let t=(a=e.realIndex,r=s,(a%=n=e.slides.length,(r%=n)===a+1)?"next":r===a-1?"previous":void 0);"next"===t?e.slideNext():"previous"===t?e.slidePrev():e.slideToLoop(s)}else e.slideTo(s)}function h(){let t,i,r=e.rtl,d=e.params.pagination;if(o())return;let h=e.pagination.el;h=N(h);let c=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,u=e.params.loop?Math.ceil(c/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(i=e.previousRealIndex||0,t=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):void 0!==e.snapIndex?(t=e.snapIndex,i=e.previousSnapIndex):(i=e.previousIndex||0,t=e.activeIndex||0),"bullets"===d.type&&e.pagination.bullets&&e.pagination.bullets.length>0){let s,o,c,u=e.pagination.bullets;if(d.dynamicBullets&&(a=M(u[0],e.isHorizontal()?"width":"height",!0),h.forEach(t=>{t.style[e.isHorizontal()?"width":"height"]=`${a*(d.dynamicMainBullets+4)}px`}),d.dynamicMainBullets>1&&void 0!==i&&((n+=t-(i||0))>d.dynamicMainBullets-1?n=d.dynamicMainBullets-1:n<0&&(n=0)),c=((o=(s=Math.max(t-n,0))+(Math.min(u.length,d.dynamicMainBullets)-1))+s)/2),u.forEach(e
1=>{let t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${d.bulletActiveClass}${e}`)].map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...t)}),h.length>1)u.forEach(i=>{let a=k(i);a===t?i.classList.add(...d.bulletActiveClass.split(" ")):e.isElement&&i.setAttribute("part","bullet"),d.dynamicBullets&&(a>=s&&a<=o&&i.classList.add(...`${d.bulletActiveClass}-main`.split(" ")),a===s&&l(i,"prev"),a===o&&l(i,"next"))});else{let i=u[t];if(i&&i.classList.add(...d.bulletActiveClass.split(" ")),e.isElement&&u.forEach((e,i)=>{e.setAttribute("part",i===t?"bullet-active":"bullet")}),d.dynamicBullets){let e=u[s],t=u[o];for(let e=s;e<=o;e+=1)u[e]&&u[e].classList.add(...`${d.bulletActiveClass}-main`.split(" "));l(e,"prev"),l(t,"next")}}if(d.dynamicBullets){let t=Math.min(u.length,d.dynamicMainBullets+4),i=(a*t-a)/2-c*a,s=r?"right":"left";u.forEach(t=>{t.style[e.isHorizontal()?s:"top"]=`${i}px`})}}h.forEach((i,a)=>{if("fraction"===d.type&&(i.querySelectorAll(eb(d.currentClass)).forEach(e=>{e.textContent=d.formatFractionCurrent(t+1)}),i.querySelectorAll(eb(d.totalClass)).forEach(e=>{e.textContent=d.formatFractionTotal(u)})),"progressbar"===d.type){let s;s=d.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";let a=(t+1)/u,r=1,n=1;"horizontal"===s?r=a:n=a,i.querySelectorAll(eb(d.progressbarFillClass)).forEach(t=>{t.style.transform=`translate3d(0,0,0) scaleX(${r}) scaleY(${n})`,t.style.transitionDuration=`${e.params.speed}ms`})}"custom"===d.type&&d.renderCustom?(A(i,d.renderCustom(e,t+1,u)),0===a&&s("paginationRender",i)):(0===a&&s("paginationRender",i),s("paginationUpdate",i)),e.params.watchOverflow&&e.enabled&&i.classList[e.isLocked?"add":"remove"](d.lockClass)})}function c(){let t=e.params.pagination;if(o())return;let i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length,a=e.pagination.el;a=N(a);let r="";if("bullets"===t.type){let s=e.params.loop?Math.ceil(i/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&s>i&&(s=i);for(let i=0;i<s;i+=1)t.renderBullet?r+=t.renderBullet.call(e,i,t.bulletClass):r+=`<${t.bulletElement} ${e.isElement?'part="bullet"':""} class="${t.bulletClass}"></${t.bulletElement}>`}"fraction"===t.type&&(r=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`),"progressbar"===t.type&&(r=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`),e.pagination.bullets=[],a.forEach(i=>{"custom"!==t.type&&A(i,r||""),"bullets"===t.type&&e.pagination.bullets.push(...i.querySelectorAll(eb(t.bulletClass)))}),"custom"!==t.type&&s("paginationRender",a[0])}function u(){let t;e.params.pagination=eg(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});let i=e.params.pagination;!i.el||("string"==typeof i.el&&e.isElement&&(t=e.el.querySelector(i.el)),t||"string"!=typeof i.el||(t=[...document.querySelectorAll(i.el)]),t||(t=i.el),t&&0!==t.length&&(e.params.uniqueNavElements&&"string"==typeof i.el&&Array.isArray(t)&&t.length>1&&(t=[...e.el.querySelectorAll(i.el)]).length>1&&(t=t.find(t=>P(t,".swiper")[0]===e.el)),Array.isArray(t)&&1===t.length&&(t=t[0]),Object.assign(e.pagination,{el:t}),(t=N(t)).forEach(t=>{"bullets"===i.type&&i.clickable&&t.classList.add(...(i.clickableClass||"").split(" ")),t.classList.add(i.modifierClass+i.type),t.classList.add(e.isHorizontal()?i.horizontalClass:i.verticalClass),"bullets"===i.type&&i.dynamicBullets&&(t.classList.add(`${i.modifierClass}${i.type}-dynamic`),n=0,i.dynamicMainBullets<1&&(i.dynamicMainBullets=1)),"progressbar"===i.type&&i.progressbarOpposite&&t.classList.add(i.progressbarOppositeClass),i.clickable&&t.addEventListener("click",d),e.enabled||t.classList.add(i.lockClass)})))}function p(){let t=e.params.pagination;if(o())return;let i=e.pagination.el;i&&(i=N(i)).forEach(i=>{i.classList.remove(t.hiddenClass),i.classList.remove(t.modifierClass+t.type),i.classList.remove(e.isHorizontal()?t.horizontalClass:t.verticalClass),t.clickable&&(i.classList.remove(...(t.clickableClass||"").split(" ")),i.removeEventListener("click",d))}
1),e.pagination.bullets&&e.pagination.bullets.forEach(e=>e.classList.remove(...t.bulletActiveClass.split(" ")))}i("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;let t=e.params.pagination,{el:i}=e.pagination;(i=N(i)).forEach(i=>{i.classList.remove(t.horizontalClass,t.verticalClass),i.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass)})}),i("init",()=>{!1===e.params.pagination.enabled?m():(u(),c(),h())}),i("activeIndexChange",()=>{void 0===e.snapIndex&&h()}),i("snapIndexChange",()=>{h()}),i("snapGridLengthChange",()=>{c(),h()}),i("destroy",()=>{p()}),i("enable disable",()=>{let{el:t}=e.pagination;t&&(t=N(t)).forEach(t=>t.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass))}),i("lock unlock",()=>{h()}),i("click",(t,i)=>{let a=i.target,r=N(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&r&&r.length>0&&!a.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&a===e.navigation.nextEl||e.navigation.prevEl&&a===e.navigation.prevEl))return;!0===r[0].classList.contains(e.params.pagination.hiddenClass)?s("paginationShow"):s("paginationHide"),r.forEach(t=>t.classList.toggle(e.params.pagination.hiddenClass))}});let m=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=N(t)).forEach(t=>t.classList.add(e.params.pagination.paginationDisabledClass)),p()};Object.assign(e.pagination,{enable:()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=N(t)).forEach(t=>t.classList.remove(e.params.pagination.paginationDisabledClass)),u(),c(),h()},disable:m,render:c,update:h,init:u,destroy:p})}function ew({swiper:e,extendParams:t,on:i}){let s,a;t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0,wrapperLiveRegion:!0}}),e.a11y={clicked:!1};let r=null,n=new Date().getTime();function o(e){let t=r;0!==t.length&&A(t,e)}function l(e){(e=N(e)).forEach(e=>{e.setAttribute("tabIndex","0")})}function d(e){(e=N(e)).forEach(e=>{e.setAttribute("tabIndex","-1")})}function h(e,t){(e=N(e)).forEach(e=>{e.setAttribute("role",t)})}function c(e,t){(e=N(e)).forEach(e=>{e.setAttribute("aria-roledescription",t)})}function u(e,t){(e=N(e)).forEach(e=>{e.setAttribute("aria-label",t)})}function p(e){(e=N(e)).forEach(e=>{e.setAttribute("aria-disabled",!0)})}function f(e){(e=N(e)).forEach(e=>{e.setAttribute("aria-disabled",!1)})}function g(t){if(13!==t.keyCode&&32!==t.keyCode)return;let i=e.params.a11y,s=t.target;if(!(e.pagination&&e.pagination.el&&(s===e.pagination.el||e.pagination.el.contains(t.target)))||t.target.matches(eb(e.params.pagination.bulletClass))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){let t=N(e.navigation.prevEl);N(e.navigation.nextEl).includes(s)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?o(i.lastSlideMessage):o(i.nextSlideMessage)),t.includes(s)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?o(i.firstSlideMessage):o(i.prevSlideMessage))}e.pagination&&s.matches(eb(e.params.pagination.bulletClass))&&s.click()}}function v(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function x(){return v()&&e.params.pagination.clickable}let b=(e,t,i)=>{var s;l(e),"BUTTON"!==e.tagName&&(h(e,"button"),e.addEventListener("keydown",g)),u(e,i),(s=N(e)).forEach(e=>{e.setAttribute("aria-controls",t)})},y=t=>{a&&a!==t.target&&!a.contains(t.target)&&(s=!0),e.a11y.clicked=!0},w=()=>{s=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},S=e=>{n=new Date().getTime()},T=t=>{if(e.a11y.clicked||!e.params.a11y.scrollOnFocus||new Date().getTime()-n<100)return;let i=t.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!i||!e.slides.includes(i))return;a=i;let r=e.slides.indexOf(i)===e.activeIndex,o=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(i);r||o||t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>
1{s||(e.params.loop?e.slideToLoop(e.getSlideIndexWhenGrid(parseInt(i.getAttribute("data-swiper-slide-index"))),0):e.slideTo(e.getSlideIndexWhenGrid(e.slides.indexOf(i)),0),s=!1)}))},E=()=>{let t=e.params.a11y;t.itemRoleDescriptionMessage&&c(e.slides,t.itemRoleDescriptionMessage),t.slideRole&&h(e.slides,t.slideRole);let i=e.slides.length;t.slideLabelMessage&&e.slides.forEach((s,a)=>{let r=e.params.loop?parseInt(s.getAttribute("data-swiper-slide-index"),10):a;u(s,t.slideLabelMessage.replace(/\{\{index\}\}/,r+1).replace(/\{\{slidesLength\}\}/,i))})};i("beforeInit",()=>{(r=j("span",e.params.a11y.notificationClass)).setAttribute("aria-live","assertive"),r.setAttribute("aria-atomic","true")}),i("afterInit",()=>{e.params.a11y.enabled&&(()=>{var t,i;let s=e.params.a11y;e.el.append(r);let a=e.el;s.containerRoleDescriptionMessage&&c(a,s.containerRoleDescriptionMessage),s.containerMessage&&u(a,s.containerMessage),s.containerRole&&h(a,s.containerRole);let n=e.wrapperEl,o=s.id||n.getAttribute("id")||`swiper-wrapper-${function(e=16){return"x".repeat(e).replace(/x/g,()=>Math.round(16*Math.random()).toString(16))}(16)}`;if((t=N(n)).forEach(e=>{e.setAttribute("id",o)}),s.wrapperLiveRegion){let t=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";(i=N(n)).forEach(e=>{e.setAttribute("aria-live",t)})}E();let{nextEl:l,prevEl:d}=e.navigation?e.navigation:{};l=N(l),d=N(d),l&&l.forEach(e=>b(e,o,s.nextSlideMessage)),d&&d.forEach(e=>b(e,o,s.prevSlideMessage)),x()&&N(e.pagination.el).forEach(e=>{e.addEventListener("keydown",g)}),m().addEventListener("visibilitychange",S),e.el.addEventListener("focus",T,!0),e.el.addEventListener("focus",T,!0),e.el.addEventListener("pointerdown",y,!0),e.el.addEventListener("pointerup",w,!0)})()}),i("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&E()}),i("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&function(){if(e.params.loop||e.params.rewind||!e.navigation)return;let{nextEl:t,prevEl:i}=e.navigation;i&&(e.isBeginning?(p(i),d(i)):(f(i),l(i))),t&&(e.isEnd?(p(t),d(t)):(f(t),l(t)))}()}),i("paginationUpdate",()=>{if(e.params.a11y.enabled){let t;t=e.params.a11y,v()&&e.pagination.bullets.forEach(i=>{e.params.pagination.clickable&&(l(i),e.params.pagination.renderBullet||(h(i,"button"),u(i,t.paginationBulletMessage.replace(/\{\{index\}\}/,k(i)+1)))),i.matches(eb(e.params.pagination.bulletActiveClass))?i.setAttribute("aria-current","true"):i.removeAttribute("aria-current")})}}),i("destroy",()=>{e.params.a11y.enabled&&function(){r&&r.remove();let{nextEl:t,prevEl:i}=e.navigation?e.navigation:{};t=N(t),i=N(i),t&&t.forEach(e=>e.removeEventListener("keydown",g)),i&&i.forEach(e=>e.removeEventListener("keydown",g)),x()&&N(e.pagination.el).forEach(e=>{e.removeEventListener("keydown",g)}),m().removeEventListener("visibilitychange",S),e.el&&"string"!=typeof e.el&&(e.el.removeEventListener("focus",T,!0),e.el.removeEventListener("pointerdown",y,!0),e.el.removeEventListener("pointerup",w,!0))}()})}var eS=e.i(769711),eT=e.i(565108),eE=e.i(636092);e.i(244208);var ej=e.i(899347);function eC({emoji:e,className:t}){let i=Array.from(e).map(e=>e.codePointAt(0)).map(e=>e.toString(16)).join("-").toLowerCase(),s=`https://cdn.jsdelivr.net/gh/twitter/[email protected]/assets/svg/${i}.svg`;return(0,l.jsx)("img",{src:s,alt:`Flag ${e}`,className:`inline-block w-6 h-6 ${t??""}`})}var ek=e.i(624114),eP=e.i(762740),eM=e.i(542232);let eN={asia:"as",europe:"eu",north_america:"na",south_america:"sa",africa:"af",oceania:"oc"};function eA({sectionTitles:e,initialTab:t,initialContinent:i,regionCards:s,multiRegionGrid:a,availableContinentTabs:r,onSelectProduct:n}){let{t:o}=(0,ej.useTranslation)(),[d,c]=(0,h.useState)(t),[u,p]=(0,h.useState)(i);(0,h.useEffect)(()=>{let e=e=>{"string"==typeof e&&Object.prototype.hasOwnProperty.call(eN,e)&&(c("local"),p(e))},t=t=>e(t.detail?.continent);window.addEventListener("esim:select-continent",t);try{let t=sessionStorage.getItem("esim:pending-continent");t&&(sessionStorage.removeItem("esim:pending-continent"),e(t),requestAnimationFrame(()=>{document.getElementById("destinations")?.scrollIntoView({behavior:"smooth",block:"start"})}))}catch{}return()=>window.removeEventListener("esim:select-continent",t)},[]);let m=(0,h.useMemo)(()=>{let e=new Map;
1for(let t of(Object.keys(eN).forEach(t=>e.set(t,[])),s)){let i=Object.entries(eN).find(([,e])=>e===t.continentCode);if(i){let s=i[0];e.get(s).push({key:t.key,name:t.name,icon:t.icon,productId:t.productId,nameEn:t.nameEn,minPrice:t.minPrice})}}for(let t of e.keys())e.get(t).sort((e,t)=>e.nameEn.localeCompare(t.nameEn));return e},[s]),f="local"===d?e[u]:e.regional_esim,g="local"===d?m.get(u)?.length||0:a.length,v="group flex min-h-[5.75rem] items-center justify-between gap-4 rounded-2xl border border-slate-200/80 bg-white/85 p-4 text-left shadow-sm shadow-blue-100/40 backdrop-blur transition duration-200 hover:-translate-y-0.5 hover:border-blue-300 hover:bg-white hover:shadow-lg hover:shadow-blue-200/40 focus:outline-none focus-visible:ring-4 focus-visible:ring-blue-100 sm:p-5",x=(e,t,i)=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"flex min-w-0 items-center gap-3",children:[(0,l.jsx)("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center rounded-2xl bg-[#eef6f8] ring-1 ring-blue-100 transition group-hover:scale-105 group-hover:bg-blue-50",children:(0,l.jsx)(eC,{emoji:t,className:"!h-8 !w-8"})}),(0,l.jsxs)("div",{className:"min-w-0",children:[(0,l.jsx)("span",{className:"block truncate text-base font-bold text-slate-950",children:e}),(0,l.jsx)("span",{className:"mt-1 block text-xs font-semibold text-[#2f6bea]",children:null!=i?o("home.from_price",{price:i.toFixed(2)}):"eSIM.CC"})]})]}),(0,l.jsx)("span",{className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-slate-50 text-slate-400 transition group-hover:bg-[#2f6bea] group-hover:text-white",children:(0,l.jsx)(ek.ArrowRight,{className:"h-4 w-4 rtl:rotate-180"})})]});return(0,l.jsxs)("div",{className:"relative overflow-hidden rounded-[1.75rem]",children:[(0,l.jsx)("div",{className:"absolute right-[-80px] top-[-80px] h-48 w-48 rounded-full bg-cyan-200/35 blur-3xl","aria-hidden":"true"}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsxs)("div",{className:"mb-8 grid gap-5 lg:grid-cols-[1fr_auto] lg:items-end",children:[(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-full border border-cyan-200 bg-white/80 px-3.5 py-2 text-xs font-semibold uppercase tracking-[0.16em] text-cyan-700 shadow-sm backdrop-blur",children:["local"===d?(0,l.jsx)(eM.MapPin,{className:"h-3.5 w-3.5"}):(0,l.jsx)(eP.Globe2,{className:"h-3.5 w-3.5"}),"local"===d?e.local_esim:e.regional_esim]}),(0,l.jsxs)("div",{className:"mt-4 flex flex-wrap items-end gap-3",children:[(0,l.jsx)("h2",{className:"text-2xl font-extrabold tracking-tight text-slate-950 sm:text-3xl",children:f}),(0,l.jsx)("span",{className:"mb-1 rounded-full bg-blue-50 px-3 py-1 text-sm font-bold text-blue-700",children:g})]})]}),(0,l.jsx)("div",{className:"rounded-2xl border border-slate-200 bg-white/85 p-1.5 shadow-sm backdrop-blur",children:(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-1",children:[(0,l.jsx)("button",{type:"button",className:`rounded-xl px-4 py-3 text-sm font-bold transition ${"local"===d?"bg-[#2f6bea] text-white shadow-lg shadow-blue-200/60":"text-slate-600 hover:bg-slate-50 hover:text-slate-950"}`,onClick:()=>c("local"),"aria-pressed":"local"===d,children:e.local_esim}),(0,l.jsx)("button",{type:"button",className:`rounded-xl px-4 py-3 text-sm font-bold transition ${"multicountry"===d?"bg-[#2f6bea] text-white shadow-lg shadow-blue-200/60":"text-slate-600 hover:bg-slate-50 hover:text-slate-950"}`,onClick:()=>c("multicountry"),"aria-pressed":"multicountry"===d,children:e.regional_esim})]})})]}),r.length>0&&(0,l.jsx)("div",{className:`mb-7 -mx-4 flex gap-2 overflow-x-auto px-4 pb-1 sm:mx-0 sm:flex-wrap sm:px-0 ${"local"===d?"":"hidden"}`,"aria-hidden":"local"!==d,children:r.map(e=>(0,l.jsx)("button",{type:"button",className:`shrink-0 rounded-full border px-4 py-2.5 text-sm font-bold transition ${u===e.key?"border-[#2f6bea] bg-[#2f6bea] text-white shadow-lg shadow-blue-200/60":"border-slate-200 bg-white/80 text-slate-600 hover:border-blue-200 hover:bg-white hover:text-blue-700"}`,onClick:()=>p(e.key),"aria-pressed":u===e.key,children:e.label},e.key))}),(0,l.jsxs)("div",{className:"space-y-6",children:[(0,l.jsx)("div",{className:"local"===d?"block":"hidden","aria-hidden":"local"!==d,children:Object.keys(eN
1).map(t=>{let i=m.get(t)||[],s=u===t;return(0,l.jsx)("section",{"data-continent":t,className:s?"block":"hidden","aria-hidden":!s,children:(0,l.jsxs)("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4",children:[i.map(e=>n?(0,l.jsx)("button",{type:"button",className:v,onClick:()=>n(e.productId),children:x(e.name,e.icon,e.minPrice)},e.key):(0,l.jsx)(eE.default,{href:`/product/${e.productId}`,className:v,children:x(e.name,e.icon,e.minPrice)},e.key)),0===i.length&&(0,l.jsx)("div",{className:"rounded-2xl border border-dashed border-slate-200 bg-white/70 p-8 text-center text-sm font-medium text-slate-500 sm:col-span-2 lg:col-span-3 xl:col-span-4",children:e.no_available_plans})]})},t)})}),(0,l.jsx)("div",{className:"multicountry"===d?"block":"hidden","aria-hidden":"multicountry"!==d,children:(0,l.jsx)("section",{"data-tab":"multicountry",children:(0,l.jsxs)("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4",children:[a.map(e=>n?(0,l.jsx)("button",{type:"button",className:v,onClick:()=>n(e.productId),children:x(e.name,e.icon,e.minPrice)},e.key):(0,l.jsx)(eE.default,{href:`/product/${e.productId}`,className:v,children:x(e.name,e.icon,e.minPrice)},e.key)),0===a.length&&(0,l.jsx)("div",{className:"rounded-2xl border border-dashed border-slate-200 bg-white/70 p-8 text-center text-sm font-medium text-slate-500 sm:col-span-2 lg:col-span-3 xl:col-span-4",children:e.no_available_plans})]})})})]})]})]})}var e_=e.i(209603);let eL=h.forwardRef(function({title:e,titleId:t,...i},s){return h.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},i),e?h.createElement("title",{id:t},e):null,h.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"}))});var eD=e.i(633257),eO=e.i(165668),eV=e.i(654625);function eI({initialData:e,onSelectProduct:t}){let{t:i,i18n:s}=(0,ej.useTranslation)(),a=(0,e_.useRouter)(),[r,n]=(0,h.useState)(""),[o,d]=(0,h.useState)(""),c=(0,h.useRef)(!1),[u,p]=(0,h.useState)(!1),[m,f]=(0,h.useState)(-1),g=(0,h.useRef)(null);(0,h.useEffect)(()=>{let e=setTimeout(()=>{let e=r.trim();d(e),p(!!e)},200);return()=>clearTimeout(e)},[r]),(0,h.useEffect)(()=>{c.current=u},[u]),(0,h.useEffect)(()=>{let e=e=>{c.current&&g.current&&!g.current.contains(e.target)&&(p(!1),f(-1))};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let v=(0,h.useMemo)(()=>
1{let t=o.trim();if(!t)return[];let i=s.resolvedLanguage||s.language,a=(0,eV.normalizeSearchText)(t,i),r=[];e.regionCards.forEach(e=>{let s=e.name||"",n=e.code||"",o=(0,eV.normalizeSearchText)(s,i),l=(0,eV.normalizeSearchText)(n,i);if((o||l)&&(o.includes(a)||l.includes(a))){let i=2*!!o.startsWith(a)+ +!!l.startsWith(a),n=-(.001*Math.abs(s.length-t.length));r.push({key:e.key,name:e.name,icon:e.icon,productId:e.productId,score:i+n})}}),e.multiRegionCards.forEach(e=>{let s=-1/0,n=!1,o=(e,r=0)=>{if(!e)return;let o=(0,eV.normalizeSearchText)(e,i);if(!o.includes(a))return;n=!0;let l=r+1.5*!!o.startsWith(a)+-(.001*Math.abs(e.length-t.length));l>s&&(s=l)};o(e.name,1),e.countries.forEach(e=>{if(e.name&&o(e.name,1.2),e.code){let r=e.code,o=(0,eV.normalizeSearchText)(r,i);if(o.includes(a)){n=!0;let e=.5+ +!!o.startsWith(a)+-(.001*Math.abs(r.length-t.length));e>s&&(s=e)}}}),n&&r.push({key:e.key,name:e.name,icon:e.icon,productId:e.productId,score:s})});let n=new Map;for(let e of r){let t=n.get(e.productId);(!t||e.score>t.score)&&n.set(e.productId,e)}return Array.from(n.values()).sort((e,t)=>t.score-e.score).slice(0,8)},[o,e,s.language,s.resolvedLanguage]),x=(0,h.useCallback)(e=>{if(e<0||e>=v.length)return;let i=v[e];(p(!1),f(-1),t)?t(i.productId):a.push(`/product/${i.productId}`)},[v,a,t]),b=m>=0?`region-opt-${m}`:void 0;return(0,l.jsx)("div",{className:"w-full sm:w-[70%] md:w-[50%] mx-auto",ref:g,children:(0,l.jsxs)("div",{className:"relative w-full",children:[(0,l.jsxs)("div",{className:"flex items-center gap-3 w-full px-4 py-3 bg-white rounded-lg shadow-sm border border-gray-200 focus-within:ring-2 focus-within:ring-blue-600 transition-colors",children:[(0,l.jsx)(eL,{className:"h-5 w-5 text-gray-400 shrink-0 pointer-events-none","aria-hidden":"true"}),(0,l.jsx)("input",{type:"text",value:r,onChange:e=>n(e.target.value),onFocus:()=>p(!!r.trim()),onKeyDown:e=>{u&&0!==v.length&&("ArrowDown"===e.key?(e.preventDefault(),f(e=>(e+1)%v.length)):"ArrowUp"===e.key?(e.preventDefault(),f(e=>(e-1+v.length)%v.length)):"Enter"===e.key?(e.preventDefault(),x(-1===m?0:m)):"Escape"===e.key&&(p(!1),f(-1)))},placeholder:i("home.search_countries_regions"),"aria-label":i("home.search_countries_regions"),className:"w-full bg-transparent outline-none border-none p-0 placeholder:text-gray-400 rtl:placeholder:text-right",role:"combobox","aria-expanded":u,"aria-controls":"region-search-listbox","aria-activedescendant":b}),r&&(0,l.jsx)("button",{type:"button","aria-label":i("home.clear_search"),className:"shrink-0 inline-flex items-center justify-center h-7 w-7 rounded-md text-gray-400 hover:text-gray-600 hover:bg-gray-100 focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-600",onClick:()=>{n(""),d(""),p(!1),f(-1)},children:(0,l.jsx)(eD.XMarkIcon,{className:"h-4 w-4"})})]}),u&&(0,l.jsx)("div",{id:"region-search-listbox",role:"listbox",className:"absolute z-50 mt-2 w-full bg-white rounded-lg shadow-xl ring-1 ring-gray-200 overflow-hidden",children:0===v.length?(0,l.jsx)("div",{className:"px-4 py-3 text-sm text-gray-500 rtl:text-right",children:i("home.no_results")}):(0,l.jsx)("div",{className:"max-h-80 overflow-auto",children:v.map((e,t)=>{let i=m===t;return(0,l.jsxs)("button",{id:`region-opt-${t}`,role:"option","aria-selected":i,onMouseEnter:()=>f(t),onMouseLeave:()=>f(-1),onClick:()=>x(t),className:`w-full text-start px-4 py-3 flex items-center gap-3 transition-colors
2                            ${i?"bg-blue-50":"bg-white hover:bg-gray-50"}`,children:[(0,l.jsx)(eO.FlagIcon,{emoji:e.icon,className:"flex-shrink-0"}),(0,l.jsx)("div",{className:"min-w-0 flex-1",children:(0,l.jsx)("div",{className:"text-sm font-medium text-gray-900 truncate text-start",children:e.name})})]},e.key)})})})]})})}var eR=e.i(930686),eB=e.i(509265),eF=e.i(555106),ez=e.i(177802),e$=e.i(54361);let eq=(0,e$.default)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]),eG=(0,e$.default)("leaf",[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]]),eH=(0,e$.default)("plane",[["path",{d:"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.
21-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z",key:"1v9wt8"}]]);var eW=e.i(423012);let eU=(0,e$.default)("quote",[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]]),eY=(0,e$.default)("recycle",[["path",{d:"M7 19H4.815a1.83 1.83 0 0 1-1.57-.881 1.785 1.785 0 0 1-.004-1.784L7.196 9.5",key:"x6z5xu"}],["path",{d:"M11 19h8.203a1.83 1.83 0 0 0 1.556-.89 1.784 1.784 0 0 0 0-1.775l-1.226-2.12",key:"1x4zh5"}],["path",{d:"m14 16-3 3 3 3",key:"f6jyew"}],["path",{d:"M8.293 13.596 7.196 9.5 3.1 10.598",key:"wf1obh"}],["path",{d:"m9.344 5.811 1.093-1.892A1.83 1.83 0 0 1 11.985 3a1.784 1.784 0 0 1 1.546.888l3.943 6.843",key:"9tzpgr"}],["path",{d:"m13.378 9.633 4.096 1.098 1.097-4.096",key:"1oe83g"}]]);var eX=e.i(396668),eK=e.i(648937),eZ=e.i(408637),eQ=e.i(85570);let eJ=(0,e$.default)("tree-pine",[["path",{d:"m17 14 3 3.3a1 1 0 0 1-.7 1.7H4.7a1 1 0 0 1-.7-1.7L7 14h-.3a1 1 0 0 1-.7-1.7L9 9h-.2A1 1 0 0 1 8 7.3L12 3l4 4.3a1 1 0 0 1-.8 1.7H15l3 3.3a1 1 0 0 1-.7 1.7H17Z",key:"cpyugq"}],["path",{d:"M12 22v-3",key:"kmzjlo"}]]),e0=(0,e$.default)("wifi",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]]);var e1=e.i(727061),e2=h;function e5(){return(e5=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(e[s]=i[s])}return e}).apply(this,arguments)}function e3(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,s)}return i}function e4(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?e3(Object(i),!0).forEach(function(t){var s,a,r;s=e,a=t,r=i[t],a in s?Object.defineProperty(s,a,{value:r,enumerable:!0,configurable:!0,writable:!0}):s[a]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):e3(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}class e6 extends e2.default.Component{constructor(e){let t;super(e),this.reCalculateColumnCount=this.reCalculateColumnCount.bind(this),this.reCalculateColumnCountDebounce=this.reCalculateColumnCountDebounce.bind(this),t=this.props.breakpointCols&&this.props.breakpointCols.default?this.props.breakpointCols.default:parseInt(this.props.breakpointCols)||2,this.state={columnCount:t}}componentDidMount(){this.reCalculateColumnCount(),window&&window.addEventListener("resize",this.reCalculateColumnCountDebounce)}componentDidUpdate(){this.reCalculateColumnCount()}componentWillUnmount(){window&&window.removeEventListener("resize",this.reCalculateColumnCountDebounce)}reCalculateColumnCountDebounce(){window&&window.requestAnimationFrame?(window.cancelAnimationFrame&&window.cancelAnimationFrame(this._lastRecalculateAnimationFrame),this._lastRecalculateAnimationFrame=window.requestAnimationFrame(()=>{this.reCalculateColumnCount()})):this.reCalculateColumnCount()}reCalculateColumnCount(){let e=window&&window.innerWidth||1/0,t=this.props.breakpointCols;"object"!=typeof t&&(t={default:parseInt(t)||2});let i=1/0,s=t.default||2;for(let a in t){let r=parseInt(a);r>0&&e<=r&&r<i&&(i=r,s=t[a])}s=Math.max(1,parseInt(s)||1),this.state.columnCount!==s&&this.setState({columnCount:s})}itemsInColumns(){let e=this.state.columnCount,t=Array(e),i=e2.default.Children.toArray(this.props.children);for(let s=0;s<i.length;s++){let a=s%e;t[a]||(t[a]=[]),t[a].push(i[s])}return t}renderColumns(){let{column:e,columnAttrs:t={},columnClassName:i}=this.props,s=this.itemsInColumns(),a=`${100/s.length}%`,r=i;r&&"string"!=typeof r&&(this.logDeprecated('The property "columnClassName" requires a string'),void 0===r&&(r="my-masonry-grid_column"));let n=e4(e4(e4({},e),t),{},{style:e4(e4({},t.style),{},{width:a}),className:r});return s.map((e,t)=>e2.default.createElement("div",e5({},n,{key:t}),e))}logDeprecated(e){console.error("[Masonry]",e)}render(){let e=this.props,{children:t,breakpointCols:i,columnClassName:s,columnAttrs:a,column:r,className:n}=e,o=function(e,t){if(null==e)return{};var i,s,a=function(e,t){if(null==e)return{};var i,s,a={},r=Object.keys(e);for(s=0;s<r.length;s++)i=r[s],t.indexOf(i)>=0||(a[i]=e[i]);return a}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(s=0;s<r.length;s++)i=r[s],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(a[i]=e[i])}return a}(e,["children","breakpointCols","columnClassName","columnAttrs","column","className"]),l=n;return"string"!=typeof n&&(this.logDeprecated('The property "className" requires a string'),void 0===n&&(l="my-masonry-grid")),e2.default.createElement("div",e5({},o,{className:l}),this.renderColumns())}}e6.defaultProps={breakpointCols:void 0,className:void 0,columnClassName:void 0,children:void 0,columnAttrs:void 0,column:void 0};let e8=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],e7=new Set(e8),e9=e=>180*e/Math.PI,te=e=>ti(e9(Math.atan2(e[1],e[0]))),tt={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:te,rotateZ:te,skewX:e=>e9(Math.atan(e[1])),skewY:e=>e9(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},ti=e=>((e%=360)<0&&(e+=360),e),ts=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),ta=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),tr={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ts,scaleY:ta,scale:e=>(ts(e)+ta(e))/2,rotateX:e=>ti(e9(Math.atan2(e[6],e[5]))),rotateY:e=>ti(e9(Math.atan2(-e[2],e[0]))),rotateZ:te,rotate:te,skewX:e=>e9(Math.atan(e[4])),skewY:e=>e9(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function tn(e){return+!!e.includes("scale")}function to(e,t){let i,s;if(!e||"none"===e)return tn(t);let a=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(a)i=tr,s=a;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=tt,s=t}if(!s)return tn(t);let r=i[t],n=s[1].split(",").map(tl);return"function"==typeof r?r(n):n[r]}function tl(e){return parseFloat(e.trim())}let td=e=>t=>"string"==typeof t&&t.startsWith(e),th=td("--"),tc=td("var(--"),tu=e=>!!tc(e)&&tp.test(e.split("/*")[0].trim()),tp=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function tm({top:e,left:t,right:i,bottom:s}){return{x:{min:t,max:i},y:{min:e,max:s}}}let tf=(e,t,i)=>e+(t-e)*i;function tg(e){return void 0===e||1===e}function tv({scale:e,scaleX:t,scaleY:i}){return!tg(e)||!tg(t)||!tg(i)}function tx(e){return tv(e)||tb(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function tb(e){var t,i;return(t=e.x)&&"0%"!==t||(i=e.y)&&"0%"!==i}function ty(e,t,i,s,a){return void 0!==a&&(e=s+a*(e-s)),s+i*(e-s)+t}function tw(e,t=0,i=1,s,a){e.min=ty(e.min,t,i,s,a),e.max=ty(e.max,t,i,s,a)}function tS(e,{x:t,y:i}){tw(e.x,t.translate,t.scale,t.originPoint),tw(e.y,i.translate,i.scale,i.originPoint)}function tT(e,t){e.min=e.min+t,e.max=e.max+t}function tE(e,t,i,s,a=.5){let r=tf(e.min,e.max,a);tw(e,t,i,r,s)}function tj(e,t){tE(e.x,t.x,t.scaleX,t.scale,t.originX),tE(e.y,t.y,t.scaleY,t.scale,t.originY)}function tC(e,t){return tm(function(e,t){if(!t)return e;let i=t({x:e.left,y:e.top}),s=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}(e.getBoundingClientRect(),t))}let tk=new Set(["width","height","top","left","right","bottom",...e8]),tP=(e,t,i)=>i>t?t:i<e?e:i,tM={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},tN={...tM,transform:e=>tP(0,1,e)},tA={...tM,default:1},t_=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),tL=t_("deg"),tD=t_("%"),tO=t_("px"),tV=t_("vh"),tI=t_("vw"),tR={...tD,parse:e=>tD.parse(e)/100,transform:e=>tD.transform(100*e)},tB=e=>t=>t.test(e),tF=[tM,tO,tD,tL,tI,tV,{test:e=>"auto"===e,parse:e=>e}],tz=e=>tF.find(tB(e));e.i(416136);let t$=()=>{},tq=()=>{},tG=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tH=e=>e===tM||e===tO,tW=new Set(["x","y","z"]),tU=e8.filter(e=>!tW.has(e)),tY={width:({x:e},{paddingLeft:t="0",paddingRight:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),height:({y:e},{paddingTop:t="0",paddingBottom:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>to(t,"x"),y:(e,{transform:t})=>to(t,"y")};tY.translateX=tY.x,tY.translateY=tY.y;let tX=e=>e,tK={},tZ=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function tQ(e,t){let i=!1,s=!0,a={delta:0,timestamp:0,isProcessing:!1},r=()=>i=!0,n=tZ.reduce((e,i)=>(e[i]=function(e,t){let i=new Set,s=new Set,a=!1,r=!1,n=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1},l=0;function d(t){n.has(t)&&(h.schedule(t),e()),l++,t(o)}let h={schedule:(e,t=!1,r=!1)=>
2{let o=r&&a?i:s;return t&&n.add(e),o.has(e)||o.add(e),e},cancel:e=>{s.delete(e),n.delete(e)},process:e=>{if(o=e,a){r=!0;return}a=!0,[i,s]=[s,i],i.forEach(d),t,l=0,i.clear(),a=!1,r&&(r=!1,h.process(e))}};return h}(r,t?i:void 0),e),{}),{setup:o,read:l,resolveKeyframes:d,preUpdate:h,update:c,preRender:u,render:p,postRender:m}=n,f=()=>{let r=tK.useManualTiming?a.timestamp:performance.now();i=!1,tK.useManualTiming||(a.delta=s?1e3/60:Math.max(Math.min(r-a.timestamp,40),1)),a.timestamp=r,a.isProcessing=!0,o.process(a),l.process(a),d.process(a),h.process(a),c.process(a),u.process(a),p.process(a),m.process(a),a.isProcessing=!1,i&&t&&(s=!1,e(f))};return{schedule:tZ.reduce((t,r)=>{let o=n[r];return t[r]=(t,r=!1,n=!1)=>(!i&&(i=!0,s=!0,a.isProcessing||e(f)),o.schedule(t,r,n)),t},{}),cancel:e=>{for(let t=0;t<tZ.length;t++)n[tZ[t]].cancel(e)},state:a,steps:n}}let{schedule:tJ,cancel:t0,state:t1,steps:t2}=tQ("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:tX,!0),t5=new Set,t3=!1,t4=!1,t6=!1;function t8(){if(t4){let e=Array.from(t5).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),i=new Map;t.forEach(e=>{let t,s=(t=[],tU.forEach(i=>{let s=e.getValue(i);void 0!==s&&(t.push([i,s.get()]),s.set(+!!i.startsWith("scale")))}),t);s.length&&(i.set(e,s),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=i.get(e);t&&t.forEach(([t,i])=>{e.getValue(t)?.set(i)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}t4=!1,t3=!1,t5.forEach(e=>e.complete(t6)),t5.clear()}function t7(){t5.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(t4=!0)})}class t9{constructor(e,t,i,s,a,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=i,this.motionValue=s,this.element=a,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(t5.add(this),t3||(t3=!0,tJ.read(t7),tJ.resolveKeyframes(t8))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:i,motionValue:s}=this;if(null===e[0]){let a=s?.get(),r=e[e.length-1];if(void 0!==a)e[0]=a;else if(i&&t){let s=i.readValue(t,r);null!=s&&(e[0]=s)}void 0===e[0]&&(e[0]=r),s&&void 0===a&&s.set(e[0])}for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),t5.delete(this)}cancel(){"scheduled"===this.state&&(t5.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let ie=e=>Math.round(1e5*e)/1e5,it=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,ii=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,is=(e,t)=>i=>!!("string"==typeof i&&ii.test(i)&&i.startsWith(e)||t&&null!=i&&Object.prototype.hasOwnProperty.call(i,t)),ia=(e,t,i)=>s=>{if("string"!=typeof s)return s;let[a,r,n,o]=s.match(it);return{[e]:parseFloat(a),[t]:parseFloat(r),[i]:parseFloat(n),alpha:void 0!==o?parseFloat(o):1}},ir={...tM,transform:e=>Math.round(tP(0,255,e))},io={test:is("rgb","red"),parse:ia("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:s=1})=>"rgba("+ir.transform(e)+", "+ir.transform(t)+", "+ir.transform(i)+", "+ie(tN.transform(s))+")"},il={test:is("#"),parse:function(e){let t="",i="",s="",a="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),s=e.substring(5,7),a=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),s=e.substring(3,4),a=e.substring(4,5),t+=t,i+=i,s+=s,a+=a),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:a?parseInt(a,16)/255:1}},transform:io.transform},id={test:is("hsl","hue"),parse:ia("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:s=1})=>"hsla("+Math.round(e)+", "+tD.transform(ie(t))+", "+tD.transform(ie(i))+", "+ie(tN.transform(s))+")"},ih={test:e=>io.test(e)||il.test(e)||id.test(e),parse:e=>io.test(e)?io.parse(e):id.test(e)?id.parse(e):il.parse(e),transform:e=>
2"string"==typeof e?e:e.hasOwnProperty("red")?io.transform(e):id.transform(e),getAnimatableNone:e=>{let t=ih.parse(e);return t.alpha=0,ih.transform(t)}},ic=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,iu="number",ip="color",im=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function ig(e){let t=e.toString(),i=[],s={color:[],number:[],var:[]},a=[],r=0,n=t.replace(im,e=>(ih.test(e)?(s.color.push(r),a.push(ip),i.push(ih.parse(e))):e.startsWith("var(")?(s.var.push(r),a.push("var"),i.push(e)):(s.number.push(r),a.push(iu),i.push(parseFloat(e))),++r,"${}")).split("${}");return{values:i,split:n,indexes:s,types:a}}function iv(e){return ig(e).values}function ix(e){let{split:t,types:i}=ig(e),s=t.length;return e=>{let a="";for(let r=0;r<s;r++)if(a+=t[r],void 0!==e[r]){let t=i[r];t===iu?a+=ie(e[r]):t===ip?a+=ih.transform(e[r]):a+=e[r]}return a}}let ib=e=>"number"==typeof e?0:ih.test(e)?ih.getAnimatableNone(e):e,iy={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(it)?.length||0)+(e.match(ic)?.length||0)>0},parse:iv,createTransformer:ix,getAnimatableNone:function(e){let t=iv(e);return ix(e)(t.map(ib))}},iw=new Set(["brightness","contrast","saturate","opacity"]);function iS(e){let[t,i]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[s]=i.match(it)||[];if(!s)return e;let a=i.replace(s,""),r=+!!iw.has(t);return s!==i&&(r*=100),t+"("+r+a+")"}let iT=/\b([a-z-]*)\(.*?\)/gu,iE={...iy,getAnimatableNone:e=>{let t=e.match(iT);return t?t.map(iS).join(" "):e}},ij={...tM,transform:Math.round},iC={borderWidth:tO,borderTopWidth:tO,borderRightWidth:tO,borderBottomWidth:tO,borderLeftWidth:tO,borderRadius:tO,radius:tO,borderTopLeftRadius:tO,borderTopRightRadius:tO,borderBottomRightRadius:tO,borderBottomLeftRadius:tO,width:tO,maxWidth:tO,height:tO,maxHeight:tO,top:tO,right:tO,bottom:tO,left:tO,padding:tO,paddingTop:tO,paddingRight:tO,paddingBottom:tO,paddingLeft:tO,margin:tO,marginTop:tO,marginRight:tO,marginBottom:tO,marginLeft:tO,backgroundPositionX:tO,backgroundPositionY:tO,rotate:tL,rotateX:tL,rotateY:tL,rotateZ:tL,scale:tA,scaleX:tA,scaleY:tA,scaleZ:tA,skew:tL,skewX:tL,skewY:tL,distance:tO,translateX:tO,translateY:tO,translateZ:tO,x:tO,y:tO,z:tO,perspective:tO,transformPerspective:tO,opacity:tN,originX:tR,originY:tR,originZ:tO,zIndex:ij,fillOpacity:tN,strokeOpacity:tN,numOctaves:ij},ik={...iC,color:ih,backgroundColor:ih,outlineColor:ih,fill:ih,stroke:ih,borderColor:ih,borderTopColor:ih,borderRightColor:ih,borderBottomColor:ih,borderLeftColor:ih,filter:iE,WebkitFilter:iE},iP=e=>ik[e];function iM(e,t){let i=iP(e);return i!==iE&&(i=iy),i.getAnimatableNone?i.getAnimatableNone(t):void 0}let iN=new Set(["auto","none","0"]);class iA extends t9{constructor(e,t,i,s,a){super(e,t,i,s,a,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:i}=this;if(!t||!t.current)return;super.readKeyframes();for(let i=0;i<e.length;i++){let s=e[i];if("string"==typeof s&&tu(s=s.trim())){let a=function e(t,i,s=1){tq(s<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[a,r]=function(e){let t=tG.exec(e);if(!t)return[,];let[,i,s,a]=t;return[`--${i??s}`,a]}(t);if(!a)return;let n=window.getComputedStyle(i).getPropertyValue(a);if(n){let e=n.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)?parseFloat(e):e}return tu(r)?e(r,i,s+1):r}(s,t.current);void 0!==a&&(e[i]=a),i===e.length-1&&(this.finalKeyframe=s)}}if(this.resolveNoneKeyframes(),!tk.has(i)||2!==e.length)return;let[s,a]=e,r=tz(s),n=tz(a);if(r!==n)if(tH(r)&&tH(n))for(let t=0;t<e.length;t++){let i=e[t];"string"==typeof i&&(e[t]=parseFloat(i))}else tY[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,i=[];for(let t=0;t<e.length;t++)(null===e[t]||function(e){if("number"==typeof e)return 0===e;if(null===e)return!0;return"none"===e||"0"===e||/^0[^.\s]+$/u.test(e)}(e[t]))&&i.push(t);i.length&&function(e,t,i){let s,a=0;for(;a<e.length&&!s;){let t=e[a];"string"==typeof t&&!iN.has(t)&&ig(t).values.length&&(s=e[a]),a++}if(s&&i)for(let a of t)e[a]=iM(i,s)}(e,i,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:i}=this;if(!e||!e.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=tY[i](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let s=t[t.length-1];void 0!==s&&e.getValue(i,s).jump(s,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:i}=this;if(!e||!e.current)return;let s=e.getValue(t);s&&s.jump(this.measuredOrigin,!1);let a=i.length-1,r=i[a];i[a]=tY[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==r&&void 0===this.finalKeyframe&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEac
2h(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}let i_=e=>!!(e&&e.getVelocity);function iL(){a=void 0}let iD={now:()=>(void 0===a&&iD.set(t1.isProcessing||tK.useManualTiming?t1.timestamp:performance.now()),a),set:e=>{a=e,queueMicrotask(iL)}};function iO(e,t){-1===e.indexOf(t)&&e.push(t)}function iV(e,t){let i=e.indexOf(t);i>-1&&e.splice(i,1)}class iI{constructor(){this.subscriptions=[]}add(e){return iO(this.subscriptions,e),()=>iV(this.subscriptions,e)}notify(e,t,i){let s=this.subscriptions.length;if(s)if(1===s)this.subscriptions[0](e,t,i);else for(let a=0;a<s;a++){let s=this.subscriptions[a];s&&s(e,t,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}class iR{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=iD.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=iD.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new iI);let i=this.events[e].add(t);return"change"===e?()=>{i(),tJ.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,i){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return n&&n.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=iD.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*e:0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function iB(e,t){return new iR(e,t)}let iF=[...tF,ih,iy],{schedule:iz}=tQ(queueMicrotask,!1),i$={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},iq={};for(let e in i$)iq[e]={isEnabled:t=>i$[e].some(e=>!!t[e])};let iG=()=>({translate:0,scale:1,origin:0,originPoint:0}),iH=()=>({x:iG(),y:iG()}),iW=()=>({min:0,max:0}),iU=()=>({x:iW(),y:iW()}),iY="undefined"!=typeof window,iX={current:null},iK={current:!1},iZ=new WeakMap;function iQ(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function iJ(e){return"string"==typeof e||Array.isArray(e)}let i0=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],i1=["initial",...i0];function i2(e){return iQ(e.animate)||i1.some(t=>iJ(e[t]))}function i5(e){return!!(i2(e)||e.variants)}function i3(e){let t=[{},{}];
2return e?.values.forEach((e,i)=>{t[0][i]=e.get(),t[1][i]=e.getVelocity()}),t}function i4(e,t,i,s){if("function"==typeof t){let[a,r]=i3(s);t=t(void 0!==i?i:e.custom,a,r)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[a,r]=i3(s);t=t(void 0!==i?i:e.custom,a,r)}return t}let i6=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class i8{scrapeMotionValuesFromProps(e,t,i){return{}}constructor({parent:e,props:t,presenceContext:i,reducedMotionConfig:s,blockInitialAnimation:a,visualState:r},n={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=t9,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=iD.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,tJ.render(this.render,!1,!0))};const{latestValues:o,renderState:l}=r;this.latestValues=o,this.baseTarget={...o},this.initialValues=t.initial?{...o}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=s,this.options=n,this.blockInitialAnimation=!!a,this.isControllingVariants=i2(t),this.isVariantNode=i5(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:d,...h}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in h){const t=h[e];void 0!==o[e]&&i_(t)&&t.set(o[e])}}mount(e){this.current=e,iZ.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),iK.current||function(){if(iK.current=!0,iY)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>iX.current=e.matches;e.addEventListener("change",t),t()}else iX.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||iX.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in this.projection&&this.projection.unmount(),t0(this.notifyUpdate),t0(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let i;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let s=e7.has(e);s&&this.onBindTransform&&this.onBindTransform();let a=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&tJ.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{a(),i&&i(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in iq){let t=iq[e];if(!t)continue;let{isEnabled:i,Feature:s}=t;if(!this.features[e]&&s&&i(this.props)&&(this.features[e]=new s(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):iU()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<i6.length;t++){let i=i6[t];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let s=e["on"+i];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=function(e,t,i){for(let s in t){let a=t[s],r=i[s];if(i_(a))e.addValue(s,a);else if(i_(r))e.addValue(s,iB(a,{owner:e}));else if(r!==a)if(e.hasValue(s)){let t=e.getValue(s);!0===t.liveStyle?t.jump(a):t.hasAnimated||t.set(a)}else{let t=e.getStaticValue(s);e.addValue(s,iB(void 0!==t?t:a,{owner:e}))}}for(let s in i)void 0===t[s]&&e.removeValue(s);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}
2addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let i=this.values.get(e);t!==i&&(i&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return void 0===i&&void 0!==t&&(i=iB(null===t?void 0:t,{owner:this}),this.addValue(e,i)),i}readValue(e,t){let i=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=i){let s,a;if("string"==typeof i&&(s=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(s)||(a=i,/^0[^.\s]+$/u.test(a))))i=parseFloat(i);else{let s;s=i,!iF.find(tB(s))&&iy.test(t)&&(i=iM(e,t))}this.setBaseTarget(e,i_(i)?i.get():i)}return i_(i)?i.get():i}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let s=i4(this.props,i,this.presenceContext?.custom);s&&(t=s[e])}if(i&&void 0!==t)return t;let s=this.getBaseTargetFromProps(this.props,e);return void 0===s||i_(s)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:s}on(e,t){return this.events[e]||(this.events[e]=new iI),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){iz.render(this.render)}}class i7 extends i8{constructor(){super(...arguments),this.KeyframeResolver=iA}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:i}){delete t[e],delete i[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;i_(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}let i9=(e,t)=>t&&"number"==typeof e?t.transform(e):e,se={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},st=e8.length;function si(e,t,i){let{style:s,vars:a,transformOrigin:r}=e,n=!1,o=!1;for(let e in t){let i=t[e];if(e7.has(e)){n=!0;continue}if(th(e)){a[e]=i;continue}{let t=i9(i,iC[e]);e.startsWith("origin")?(o=!0,r[e]=t):s[e]=t}}if(!t.transform&&(n||i?s.transform=function(e,t,i){let s="",a=!0;for(let r=0;r<st;r++){let n=e8[r],o=e[n];if(void 0===o)continue;let l=!0;if(!(l="number"==typeof o?o===+!!n.startsWith("scale"):0===parseFloat(o))||i){let e=i9(o,iC[n]);if(!l){a=!1;let t=se[n]||n;s+=`${t}(${e}) `}i&&(t[n]=e)}}return s=s.trim(),i?s=i(t,a?"":s):a&&(s="none"),s}(t,e.transform,i):s.transform&&(s.transform="none")),o){let{originX:e="50%",originY:t="50%",originZ:i=0}=r;s.transformOrigin=`${e} ${t} ${i}`}}function ss(e,{style:t,vars:i},s,a){let r,n=e.style;for(r in t)n[r]=t[r];for(r in a?.applyProjectionStyles(n,s),i)n.setProperty(r,i[r])}let sa={};function sr(e,{layout:t,layoutId:i}){return e7.has(e)||e.startsWith("origin")||(t||void 0!==i)&&(!!sa[e]||"opacity"===e)}function sn(e,t,i){let{style:s}=e,a={};for(let r in s)(i_(s[r])||t.style&&i_(t.style[r])||sr(r,e)||i?.getValue(r)?.liveStyle!==void 0)&&(a[r]=s[r]);return a}class so extends i7{constructor(){super(...arguments),this.type="html",this.renderInstance=ss}readValueFromInstance(e,t){if(e7.has(t))return this.projection?.isProjecting?tn(t):((e,t)=>{let{transform:i="none"}=getComputedStyle(e);return to(i,t)})(e,t);{let i=window.getComputedStyle(e),s=(th(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof s?s.trim():s}}measureInstanceViewportBox(e,{transformPagePoint:t}){return tC(e,t)}build(e,t,i){si(e,t,i.transformTemplate)}scrapeMotionValuesFromProps(e,t,i){return sn(e,t,i)}}let sl=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),sd={offset:"stroke-dashoffset",array:"stroke-dasharray"},sh={offset:"strokeDashoffset",array:"strokeDasharray"};function sc(e,{attrX:t,attrY:i,attrScale:s,pathLength:a,pathSpacing:r=1,pathOffset:n=0,...o}
2,l,d,h){if(si(e,o,d),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:c,style:u}=e;c.transform&&(u.transform=c.transform,delete c.transform),(u.transform||c.transformOrigin)&&(u.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),u.transform&&(u.transformBox=h?.transformBox??"fill-box",delete c.transformBox),void 0!==t&&(c.x=t),void 0!==i&&(c.y=i),void 0!==s&&(c.scale=s),void 0!==a&&function(e,t,i=1,s=0,a=!0){e.pathLength=1;let r=a?sd:sh;e[r.offset]=tO.transform(-s);let n=tO.transform(t),o=tO.transform(i);e[r.array]=`${n} ${o}`}(c,a,r,n,!1)}let su=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),sp=e=>"string"==typeof e&&"svg"===e.toLowerCase();function sm(e,t,i){let s=sn(e,t,i);for(let i in e)(i_(e[i])||i_(t[i]))&&(s[-1!==e8.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=e[i]);return s}class sf extends i7{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=iU}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(e7.has(t)){let e=iP(t);return e&&e.default||0}return t=su.has(t)?t:sl(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,i){return sm(e,t,i)}build(e,t,i){sc(e,t,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(e,t,i,s){for(let i in ss(e,t,void 0,s),t.attrs)e.setAttribute(su.has(i)?i:sl(i),t.attrs[i])}mount(e){this.isSVGTag=sp(e.tagName),super.mount(e)}}let sg=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function sv(e){if("string"!=typeof e||e.includes("-"));else if(sg.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}let sx=(0,h.createContext)({}),sb=(0,h.createContext)({strict:!1}),sy=(0,h.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),sw=(0,h.createContext)({});function sS(e){return Array.isArray(e)?e.join(" "):e}let sT=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function sE(e,t,i){for(let s in t)i_(t[s])||sr(s,i)||(e[s]=t[s])}let sj=()=>({...sT(),attrs:{}}),sC=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function sk(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||sC.has(e)}let sP=e=>!sk(e);try{o=(()=>{let e=Error("Cannot find module '@emotion/is-prop-valid'");throw e.code="MODULE_NOT_FOUND",e})().default,"function"==typeof o&&(sP=e=>e.startsWith("on")?!sk(e):o(e))}catch{}let sM=(0,h.createContext)(null);function sN(e){return i_(e)?e.get():e}let sA=e=>(t,i)=>{let s,a=(0,h.useContext)(sw),r=(0,h.useContext)(sM),n=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},i,s,a){return{latestValues:function(e,t,i,s){let a={},r=s(e,{});for(let e in r)a[e]=sN(r[e]);let{initial:n,animate:o}=e,l=i2(e),d=i5(e);t&&d&&!l&&!1!==e.inherit&&(void 0===n&&(n=t.initial),void 0===o&&(o=t.animate));let h=!!i&&!1===i.initial,c=(h=h||!1===n)?o:n;if(c&&"boolean"!=typeof c&&!iQ(c)){let t=Array.isArray(c)?c:[c];for(let i=0;i<t.length;i++){let s=i4(e,t[i]);if(s){let{transitionEnd:e,transition:t,...i}=s;for(let e in i){let t=i[e];if(Array.isArray(t)){let e=h?t.length-1:0;t=t[e]}null!==t&&(a[e]=t)}for(let t in e)a[t]=e[t]}}}return a}(i,s,a,e),renderState:t()}})(e,t,a,r);return i?n():(null===(s=(0,h.useRef)(null)).current&&(s.current=n()),s.current)},s_=sA({scrapeMotionValuesFromProps:sn,createRenderState:sT}),sL=sA({scrapeMotionValuesFromProps:sm,createRenderState:sj}),sD=Symbol.for("motionComponentSymbol");function sO(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}let sV="data-"+sl("framerAppearId"),sI=(0,h.createContext)({}),sR=iY?h.useLayoutEffect:h.useEffect;function sB(e,{forwardMotionProps:t=!1}={},i,s){i&&function(e){for(let t in e)iq[t]={...iq[t],...e[t]}}(i);let a=sv(e)?sL:s_;function r(i,r){var n;let o,d={...(0,h.useContext)(sy),...i,layoutId:function({layoutId:e}){let t=(0,h.useContext)(sx).id;return t&&void 0!==e?t+"-"+e:e}(i)},{isStatic:c}=d,u=function(e){let{initial:t,animate:i}=function(e,t){if(i2(e)){let{initial:t,animate:i}=e;return{initial:!1===t||iJ(t)?t:void 0,animate:iJ(i)?i:void 0}}return!1!==e.inherit?t:{}}(e,(0,h.useContext)(sw));return(0,h.useMemo)(()=>({initial:t,animate:i}),[sS(t),sS(i)])}(i),p=a(i,c);if(!c&&iY){(0,h.useContext)(sb).strict;let t=function(e){let{drag:t,layout:i}=iq;if(!t&&!i)return{};let s={...t,...i};return{MeasureLayout:t?.isEnabled(e)||i?.isEnabled(e)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}
2(d);o=t.MeasureLayout,u.visualElement=function(e,t,i,s,a){let{visualElement:r}=(0,h.useContext)(sw),n=(0,h.useContext)(sb),o=(0,h.useContext)(sM),l=(0,h.useContext)(sy).reducedMotion,d=(0,h.useRef)(null);s=s||n.renderer,!d.current&&s&&(d.current=s(e,{visualState:t,parent:r,props:i,presenceContext:o,blockInitialAnimation:!!o&&!1===o.initial,reducedMotionConfig:l}));let c=d.current,u=(0,h.useContext)(sI);c&&!c.projection&&a&&("html"===c.type||"svg"===c.type)&&function(e,t,i,s){let{layoutId:a,layout:r,drag:n,dragConstraints:o,layoutScroll:l,layoutRoot:d,layoutCrossfade:h}=t;e.projection=new i(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:a,layout:r,alwaysMeasureLayout:!!n||o&&sO(o),visualElement:e,animationType:"string"==typeof r?r:"both",initialPromotionConfig:s,crossfade:h,layoutScroll:l,layoutRoot:d})}(d.current,i,a,u);let p=(0,h.useRef)(!1);(0,h.useInsertionEffect)(()=>{c&&p.current&&c.update(i,o)});let m=i[sV],f=(0,h.useRef)(!!m&&!window.MotionHandoffIsComplete?.(m)&&window.MotionHasOptimisedAnimation?.(m));return sR(()=>{c&&(p.current=!0,window.MotionIsMounted=!0,c.updateFeatures(),c.scheduleRenderMicrotask(),f.current&&c.animationState&&c.animationState.animateChanges())}),(0,h.useEffect)(()=>{c&&(!f.current&&c.animationState&&c.animationState.animateChanges(),f.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(m)}),f.current=!1),c.enteringChildren=void 0)}),c}(e,p,d,s,t.ProjectionNode)}return(0,l.jsxs)(sw.Provider,{value:u,children:[o&&u.visualElement?(0,l.jsx)(o,{visualElement:u.visualElement,...d}):null,function(e,t,i,{latestValues:s},a,r=!1){let n=(sv(e)?function(e,t,i,s){let a=(0,h.useMemo)(()=>{let i=sj();return sc(i,t,sp(s),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){let t={};sE(t,e.style,e),a.style={...t,...a.style}}return a}:function(e,t){let i,s,a={},r=(i=e.style||{},sE(s={},i,e),Object.assign(s,function({transformTemplate:e},t){return(0,h.useMemo)(()=>{let i=sT();return si(i,t,e),Object.assign({},i.vars,i.style)},[t])}(e,t)),s);return e.drag&&!1!==e.dragListener&&(a.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(a.tabIndex=0),a.style=r,a})(t,s,a,e),o=function(e,t,i){let s={};for(let a in e)("values"!==a||"object"!=typeof e.values)&&(sP(a)||!0===i&&sk(a)||!t&&!sk(a)||e.draggable&&a.startsWith("onDrag"))&&(s[a]=e[a]);return s}(t,"string"==typeof e,r),l=e!==h.Fragment?{...o,...n,ref:i}:{},{children:d}=t,c=(0,h.useMemo)(()=>i_(d)?d.get():d,[d]);return(0,h.createElement)(e,{...l,children:c})}(e,i,(n=u.visualElement,(0,h.useCallback)(e=>{e&&p.onMount&&p.onMount(e),n&&(e?n.mount(e):n.unmount()),r&&("function"==typeof r?r(e):sO(r)&&(r.current=e))},[n])),p,c,t)]})}r.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let n=(0,h.forwardRef)(r);return n[sD]=e,n}function sF(e,t,i){let s=e.getProps();return i4(s,t,void 0!==i?i:s.custom,e)}function sz(e,t){return e?.[t]??e?.default??e}let s$=e=>Array.isArray(e);function sq(e,t){let i=e.getValue("willChange");if(i_(i)&&i.add)return i.add(t);if(!i&&tK.WillChange){let i=new tK.WillChange("auto");e.addValue("willChange",i),i.add(t)}}function sG(e){e.duration=0,e.type="keyframes"}let sH=(e,t)=>i=>t(e(i)),sW=(...e)=>e.reduce(sH),sU=e=>1e3*e,sY={layout:0,mainThread:0,waapi:0};function sX(e,t,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function sK(e,t){return i=>i>0?t:e}let sZ=(e,t,i)=>{let s=e*e,a=i*(t*t-s)+s;return a<0?0:Math.sqrt(a)},sQ=[il,io,id];function sJ(e){let t=sQ.find(t=>t.test(e));if(t$(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let i=t.parse(e);return t===id&&(i=function({hue:e,saturation:t,lightness:i,alpha:s}){e/=360,i/=100;let a=0,r=0,n=0;if(t/=100){let s=i<.5?i*(1+t):i+t-i*t,o=2*i-s;
2a=sX(o,s,e+1/3),r=sX(o,s,e),n=sX(o,s,e-1/3)}else a=r=n=i;return{red:Math.round(255*a),green:Math.round(255*r),blue:Math.round(255*n),alpha:s}}(i)),i}let s0=(e,t)=>{let i=sJ(e),s=sJ(t);if(!i||!s)return sK(e,t);let a={...i};return e=>(a.red=sZ(i.red,s.red,e),a.green=sZ(i.green,s.green,e),a.blue=sZ(i.blue,s.blue,e),a.alpha=tf(i.alpha,s.alpha,e),io.transform(a))},s1=new Set(["none","hidden"]);function s2(e,t){return i=>tf(e,t,i)}function s5(e){return"number"==typeof e?s2:"string"==typeof e?tu(e)?sK:ih.test(e)?s0:s6:Array.isArray(e)?s3:"object"==typeof e?ih.test(e)?s0:s4:sK}function s3(e,t){let i=[...e],s=i.length,a=e.map((e,i)=>s5(e)(e,t[i]));return e=>{for(let t=0;t<s;t++)i[t]=a[t](e);return i}}function s4(e,t){let i={...e,...t},s={};for(let a in i)void 0!==e[a]&&void 0!==t[a]&&(s[a]=s5(e[a])(e[a],t[a]));return e=>{for(let t in s)i[t]=s[t](e);return i}}let s6=(e,t)=>{let i=iy.createTransformer(t),s=ig(e),a=ig(t);if(!(s.indexes.var.length===a.indexes.var.length&&s.indexes.color.length===a.indexes.color.length&&s.indexes.number.length>=a.indexes.number.length))return t$(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),sK(e,t);if(s1.has(e)&&!a.values.length||s1.has(t)&&!s.values.length)return s1.has(e)?i=>i<=0?e:t:i=>i>=1?t:e;return sW(s3(function(e,t){let i=[],s={color:0,var:0,number:0};for(let a=0;a<t.values.length;a++){let r=t.types[a],n=e.indexes[r][s[r]],o=e.values[n]??0;i[a]=o,s[r]++}return i}(s,a),a.values),i)};function s8(e,t,i){return"number"==typeof e&&"number"==typeof t&&"number"==typeof i?tf(e,t,i):s5(e)(e,t)}let s7=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>tJ.update(t,e),stop:()=>t0(t),now:()=>t1.isProcessing?t1.timestamp:iD.now()}},s9=(e,t,i=10)=>{let s="",a=Math.max(Math.round(t/i),2);for(let t=0;t<a;t++)s+=Math.round(1e4*e(t/(a-1)))/1e4+", ";return`linear(${s.substring(0,s.length-2)})`};function ae(e){let t=0,i=e.next(t);for(;!i.done&&t<2e4;)t+=50,i=e.next(t);return t>=2e4?1/0:t}function at(e,t,i){var s,a;let r=Math.max(t-5,0);return s=i-e(r),(a=t-r)?1e3/a*s:0}let ai=.01,as=2,aa=.005,ar=.5;function an(e,t){return e*Math.sqrt(1-t*t)}let ao=["duration","bounce"],al=["stiffness","damping","mass"];function ad(e,t){return t.some(t=>void 0!==e[t])}function ah(e=.3,t=.3){let i,s="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:a,restDelta:r}=s,n=s.keyframes[0],o=s.keyframes[s.keyframes.length-1],l={done:!1,value:n},{stiffness:d,damping:h,mass:c,duration:u,velocity:p,isResolvedFromDuration:m}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!ad(e,al)&&ad(e,ao))if(e.visualDuration){let i=2*Math.PI/(1.2*e.visualDuration),s=i*i,a=2*tP(.05,1,1-(e.bounce||0))*Math.sqrt(s);t={...t,mass:1,stiffness:s,damping:a}}else{let i=function({duration:e=800,bounce:t=.3,velocity:i=0,mass:s=1}){let a,r;t$(e<=sU(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let n=1-t;n=tP(.05,1,n),e=tP(.01,10,e/1e3),n<1?(a=t=>{let s=t*n,a=s*e;return .001-(s-i)/an(t,n)*Math.exp(-a)},r=t=>{let s=t*n*e,r=Math.pow(n,2)*Math.pow(t,2)*e,o=Math.exp(-s),l=an(Math.pow(t,2),n);return(s*i+i-r)*o*(-a(t)+.001>0?-1:1)/l}):(a=t=>-.001+Math.exp(-t*e)*((t-i)*e+1),r=t=>e*e*(i-t)*Math.exp(-t*e));let o=function(e,t,i){let s=i;for(let i=1;i<12;i++)s-=e(s)/t(s);return s}(a,r,5/e);if(e=sU(e),isNaN(o))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(o,2)*s;return{stiffness:t,damping:2*n*Math.sqrt(s*t),duration:e}}}(e);(t={...t,...i,mass:1}).isResolvedFromDuration=!0}return t}({...s,velocity:-((s.velocity||0)/1e3)}),f=p||0,g=h/(2*Math.sqrt(d*c)),v=o-n,x=Math.sqrt(d/c)/1e3,b=5>Math.abs(v);if(a||(a=b?ai:as),r||(r=b?aa:ar),g<1){let e=an(x,g);i=t=>o-Math.exp(-g*x*t)*((f+g*x*v)/e*Math.sin(e*t)+v*Math.cos(e*t))}else if(1===g)i=e=>o-Math.exp(-x*e)*(v+(f+x*v)*e);else{let e=x*Math.sqrt(g*g-1);i=t=>{let i=Math.exp(-g*x*t),s=Math.min(e*t,300);return o-i*((f+g*x*v)*Math.sinh(s)+e*v*Math.cosh(s))/e}}let y={calculatedDuration:m&&u||null,next:e=>{let t=i(e);if(m)l.done=e>=u;else{let s=0===e?f:0;
2g<1&&(s=0===e?sU(f):at(i,e,t));let n=Math.abs(o-t)<=r;l.done=Math.abs(s)<=a&&n}return l.value=l.done?o:t,l},toString:()=>{let e=Math.min(ae(y),2e4),t=s9(t=>y.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return y}function ac({keyframes:e,velocity:t=0,power:i=.8,timeConstant:s=325,bounceDamping:a=10,bounceStiffness:r=500,modifyTarget:n,min:o,max:l,restDelta:d=.5,restSpeed:h}){let c,u,p=e[0],m={done:!1,value:p},f=i*t,g=p+f,v=void 0===n?g:n(g);v!==g&&(f=v-p);let x=e=>-f*Math.exp(-e/s),b=e=>v+x(e),y=e=>{let t=x(e),i=b(e);m.done=Math.abs(t)<=d,m.value=m.done?v:i},w=e=>{let t;if(t=m.value,void 0!==o&&t<o||void 0!==l&&t>l){var i;c=e,u=ah({keyframes:[m.value,(i=m.value,void 0===o?l:void 0===l||Math.abs(o-i)<Math.abs(l-i)?o:l)],velocity:at(b,e,m.value),damping:a,stiffness:r,restDelta:d,restSpeed:h})}};return w(0),{calculatedDuration:null,next:e=>{let t=!1;return(u||void 0!==c||(t=!0,y(e),w(e)),void 0!==c&&e>=c)?u.next(e-c):(t||y(e),m)}}}ah.applyToOptions=e=>{let t=function(e,t=100,i){let s=i({...e,keyframes:[0,t]}),a=Math.min(ae(s),2e4);return{type:"keyframes",ease:e=>s.next(a*e).value/t,duration:a/1e3}}(e,100,ah);return e.ease=t.ease,e.duration=sU(t.duration),e.type="keyframes",e};let au=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e;function ap(e,t,i,s){return e===t&&i===s?tX:a=>0===a||1===a?a:au(function(e,t,i,s,a){let r,n,o=0;do(r=au(n=t+(i-t)/2,s,a)-e)>0?i=n:t=n;while(Math.abs(r)>1e-7&&++o<12)return n}(a,0,1,e,i),t,s)}let am=ap(.42,0,1,1),af=ap(0,0,.58,1),ag=ap(.42,0,.58,1),av=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ax=e=>t=>1-e(1-t),ab=ap(.33,1.53,.69,.99),ay=ax(ab),aw=av(ay),aS=e=>(e*=2)<1?.5*ay(e):.5*(2-Math.pow(2,-10*(e-1))),aT=e=>1-Math.sin(Math.acos(e)),aE=ax(aT),aj=av(aT),aC=e=>Array.isArray(e)&&"number"==typeof e[0],ak={linear:tX,easeIn:am,easeInOut:ag,easeOut:af,circIn:aT,circInOut:aj,circOut:aE,backIn:ay,backInOut:aw,backOut:ab,anticipate:aS},aP=e=>{if(aC(e)){tq(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,i,s,a]=e;return ap(t,i,s,a)}return"string"==typeof e?(tq(void 0!==ak[e],`Invalid easing type '${e}'`,"invalid-easing-type"),ak[e]):e},aM=(e,t,i)=>{let s=t-e;return 0===s?1:(i-e)/s};function aN({duration:e=300,keyframes:t,times:i,ease:s="easeInOut"}){var a;let r,n=Array.isArray(s)&&"number"!=typeof s[0]?s.map(aP):aP(s),o={done:!1,value:t[0]},l=function(e,t,{clamp:i=!0,ease:s,mixer:a}={}){let r=e.length;if(tq(r===t.length,"Both input and output ranges must be the same length","range-length"),1===r)return()=>t[0];if(2===r&&t[0]===t[1])return()=>t[1];let n=e[0]===e[1];e[0]>e[r-1]&&(e=[...e].reverse(),t=[...t].reverse());let o=function(e,t,i){let s=[],a=i||tK.mix||s8,r=e.length-1;for(let i=0;i<r;i++){let r=a(e[i],e[i+1]);t&&(r=sW(Array.isArray(t)?t[i]||tX:t,r)),s.push(r)}return s}(t,s,a),l=o.length,d=i=>{if(n&&i<e[0])return t[0];let s=0;if(l>1)for(;s<e.length-2&&!(i<e[s+1]);s++);let a=aM(e[s],e[s+1],i);return o[s](a)};return i?t=>d(tP(e[0],e[r-1],t)):d}((a=i&&i.length===t.length?i:(!function(e,t){let i=e[e.length-1];for(let s=1;s<=t;s++){let a=aM(0,t,s);e.push(tf(i,1,a))}}(r=[0],t.length-1),r),a.map(t=>t*e)),t,{ease:Array.isArray(n)?n:t.map(()=>n||ag).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(o.value=l(t),o.done=t>=e,o)}}let aA=e=>null!==e;function a_(e,{repeat:t,repeatType:i="loop"},s,a=1){let r=e.filter(aA),n=a<0||t&&"loop"!==i&&t%2==1?0:r.length-1;return n&&void 0!==s?s:r[n]}let aL={decay:ac,inertia:ac,tween:aN,keyframes:aN,spring:ah};function aD(e){"string"==typeof e.type&&(e.type=aL[e.type])}class aO{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}let aV=e=>e/100;class aI extends aO{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==iD.now()&&this.tick(iD.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},sY.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;aD(e);let{type:t=aN,repeat:i=0,repeatDelay:s=0,repeatType:a,velocity:r=0}=e,{keyframes:n}=e,o=t||aN;o!==aN&&"number"!=typeof n[0]&&(this.mixKeyframes=sW(aV,s8(n[0],n[1])),n=[0,100]);let l=o({...e,keyframes:n});"mirror"===a&&(this.mirroredGenerator=o({...e,keyframes:[...n].reverse(),velocity:-r})),null===l.calculatedDuration&&(l.calculatedDuration=ae(l));let{calculatedDuration:d}=l;this.calculatedDuration=d,this.resolvedDuration=d+s,this.totalDuration=this.resolvedDuration*(i+1)-s,this.generator=l}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let{generator:i,totalDuration:s,mixKeyframes:a,mirroredGenerator:r,resolvedDuration:n,calculatedDuration:o}=this;if(null===this.startTime)return i.next(0);let{delay:l=0,keyframes:d,repeat:h,repeatType:c,repeatDelay:u,type:p,onUpdate:m,finalKeyframe:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-s/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-l*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?g<0:g>s;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=s);let x=this.currentTime,b=i;if(h){let e=Math.min(this.currentTime,s)/n,t=Math.floor(e),i=e%1;!i&&e>=1&&(i=1),1===i&&t--,(t=Math.min(t,h+1))%2&&("reverse"===c?(i=1-i,u&&(i-=u/n)):"mirror"===c&&(b=r)),x=tP(0,1,i)*n}let y=v?{done:!1,value:d[0]}:b.next(x);a&&(y.value=a(y.value));let{done:w}=y;v||null===o||(w=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return S&&p!==ac&&(y.value=a_(d,this.options,f,this.speed)),m&&m(y.value),S&&this.finish(),y}then(e,t){return this.finished.then(e,t)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return this.currentTime/1e3}set time(e){e=sU(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(iD.now());let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:e=s7,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=t??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(iD.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,sY.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}function aR(e){let t;return()=>(void 0===t&&(t=e()),t)}let aB=aR(()=>void 0!==window.ScrollTimeline),aF={},az=(r=aR(()=>{try{document.createElement("div").animate({opacity:0}
2,{easing:"linear(0, 1)"})}catch(e){return!1}return!0}),()=>aF.linearEasing??r()),a$=([e,t,i,s])=>`cubic-bezier(${e}, ${t}, ${i}, ${s})`,aq={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:a$([0,.65,.55,1]),circOut:a$([.55,0,1,.45]),backIn:a$([.31,.01,.66,-.59]),backOut:a$([.33,1.53,.69,.99])};function aG(e){return"function"==typeof e&&"applyToOptions"in e}class aH extends aO{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;const{element:t,name:i,keyframes:s,pseudoElement:a,allowFlatten:r=!1,finalKeyframe:n,onComplete:o}=e;this.isPseudoElement=!!a,this.allowFlatten=r,this.options=e,tq("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:e,...t}){return aG(e)&&az()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,i,{delay:s=0,duration:a=300,repeat:r=0,repeatType:n="loop",ease:o="easeOut",times:l}={},d){let h={[t]:i};l&&(h.offset=l);let c=function e(t,i){if(t)return"function"==typeof t?az()?s9(t,i):"ease-out":aC(t)?a$(t):Array.isArray(t)?t.map(t=>e(t,i)||aq.easeOut):aq[t]}(o,a);Array.isArray(c)&&(h.easing=c);let u={delay:s,duration:a,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:r+1,direction:"reverse"===n?"alternate":"normal"};d&&(u.pseudoElement=d);let p=e.animate(h,u);return p}(t,i,s,l,a),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!a){let e=a_(s,this.options,n,this.speed);this.updateMotionValue?this.updateMotionValue(e):i.startsWith("--")?t.style.setProperty(i,e):t.style[i]=e,this.animation.cancel()}o?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(e){this.finishedTime=null,this.animation.currentTime=sU(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:t}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&aB())?(this.animation.timeline=e,tX):t(this)}}let aW={anticipate:aS,backInOut:aw,circInOut:aj};class aU extends aH{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in aW&&(e.ease=aW[e.ease])}(e),aD(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:i,onComplete:s,element:a,...r}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let n=new aI({...r,autoplay:!1}),o=sU(this.finishedTime??this.time);t.setWithVelocity(n.sample(o-10).value,n.sample(o).value,10),n.stop()}}let aY=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(iy.test(e)||"0"===e)&&!e.startsWith("url(")),aX=new Set(["opacity","clipPath","filter","transform"]),aK=aR(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class aZ extends aO{constructor({autoplay:e=!0,delay:t=0,type:i="keyframes",repeat:s=0,repeatDelay:a=0,repeatType:r="loop",keyframes:n,name:o,motionValue:l,element:d,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=iD.now();const c={autoplay:e,delay:t,type:i,repeat:s,repeatDelay:a,repeatType:r,name:o,motionValue:l,element:d,...h},u=d?.KeyframeResolver||t9;this.keyframeResolver=new u(n,(e,t,i)=>this.onKeyframesResolved(e,t,c,!i),o,l,d),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,i,s){this.keyframeResolver=void 0;let{name:a,type:r,velocity:n,delay:o,isHandoff:l,onUpdate:d}=i;this.resolvedAt=iD.now(),!function(e,t,i,s){let a=e[0];if(null===a)return!1;if("display"===t||"visibility"===t)return!0;let r=e[e.length-1],n=aY(a,t),o=aY(r,t);return t$(n===o,`You are trying to animate ${t} from "${a}" to "${r}". "${n?r:a}" is not an animatable value.`,"value-not-animatable"),!!n&&!!o&&(function(e){let t=e[0];if(1===e.length)return!0;for(let i=0;i<e.length;i++)if(e[i]!==t)return!0}(e)||("spring"===i||aG(i))&&s)}(e,a,r,n)&&((tK.instantAnimations||!o)&&d?.(a_(e,i,t)),e[0]=e[e.length-1],sG(i),i.repeat=0);let h={startTime:s?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...i,keyframes:e},c=!l&&function(e){let{motionValue:t,name:i,repeatDelay:s,repeatType:a,damping:r,type:n}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;
2let{onUpdate:o,transformTemplate:l}=t.owner.getProps();return aK()&&i&&aX.has(i)&&("transform"!==i||!l)&&!o&&!s&&"mirror"!==a&&0!==r&&"inertia"!==n}(h)?new aU({...h,element:h.motionValue.owner.current}):new aI(h);c.finished.then(()=>this.notifyFinished()).catch(tX),this.pendingTimeline&&(this.stopTimeline=c.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=c}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),t6=!0,t7(),t8(),t6=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let aQ=e=>null!==e,aJ={type:"spring",stiffness:500,damping:25,restSpeed:10},a0={type:"keyframes",duration:.8},a1={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},a2=(e,t,i,s={},a,r)=>n=>{let o=sz(s,e)||{},l=o.delay||s.delay||0,{elapsed:d=0}=s;d-=sU(l);let h={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:t.getVelocity(),...o,delay:-d,onUpdate:e=>{t.set(e),o.onUpdate&&o.onUpdate(e)},onComplete:()=>{n(),o.onComplete&&o.onComplete()},name:e,motionValue:t,element:r?void 0:a};!function({when:e,delay:t,delayChildren:i,staggerChildren:s,staggerDirection:a,repeat:r,repeatType:n,repeatDelay:o,from:l,elapsed:d,...h}){return!!Object.keys(h).length}(o)&&Object.assign(h,((e,{keyframes:t})=>t.length>2?a0:e7.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:aJ:a1)(e,h)),h.duration&&(h.duration=sU(h.duration)),h.repeatDelay&&(h.repeatDelay=sU(h.repeatDelay)),void 0!==h.from&&(h.keyframes[0]=h.from);let c=!1;if(!1!==h.type&&(0!==h.duration||h.repeatDelay)||(sG(h),0===h.delay&&(c=!0)),(tK.instantAnimations||tK.skipAnimations)&&(c=!0,sG(h),h.delay=0),h.allowFlatten=!o.type&&!o.ease,c&&!r&&void 0!==t.get()){let e=function(e,{repeat:t,repeatType:i="loop"},s){let a=e.filter(aQ),r=t&&"loop"!==i&&t%2==1?0:a.length-1;return a[r]}(h.keyframes,o);if(void 0!==e)return void tJ.update(()=>{h.onUpdate(e),h.onComplete()})}return o.isSync?new aI(h):new aZ(h)};function a5(e,t,{delay:i=0,transitionOverride:s,type:a}={}){let{transition:r=e.getDefaultTransition(),transitionEnd:n,...o}=t;s&&(r=s);let l=[],d=a&&e.animationState&&e.animationState.getState()[a];for(let t in o){let s=e.getValue(t,e.latestValues[t]??null),a=o[t];if(void 0===a||d&&function({protectedKeys:e,needsAnimating:t},i){let s=e.hasOwnProperty(i)&&!0!==t[i];return t[i]=!1,s}(d,t))continue;let n={delay:i,...sz(r||{},t)},h=s.get();if(void 0!==h&&!s.isAnimating&&!Array.isArray(a)&&a===h&&!n.velocity)continue;let c=!1;if(window.MotionHandoffAnimation){let i=e.props[sV];if(i){let e=window.MotionHandoffAnimation(i,t,tJ);null!==e&&(n.startTime=e,c=!0)}}sq(e,t),s.start(a2(t,s,a,e.shouldReduceMotion&&tk.has(t)?{type:!1}:n,e,c));let u=s.animation;u&&l.push(u)}return n&&Promise.all(l).then(()=>{tJ.update(()=>{n&&function(e,t){let{transitionEnd:i={},transition:s={},...a}=sF(e,t)||{};for(let t in a={...a,...i}){var r;let i=s$(r=a[t])?r[r.length-1]||0:r;e.hasValue(t)?e.getValue(t).set(i):e.addValue(t,iB(i))}}(e,n)})}),l}function a3(e,t,i,s=0,a=1){let r=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),n=e.size,o=(n-1)*s;return"function"==typeof i?i(r,n):1===a?r*s:o-r*s}function a4(e,t,i={}){let s=sF(e,t,"exit"===i.type?e.presenceContext?.custom:void 0),{transition:a=e.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(a=i.transitionOverride);let r=s?()=>Promise.all(a5(e,s,i)):()=>Promise.resolve(),n=e.variantChildren&&e.variantChildren.size?(s=0)=>{let{delayChildren:r=0,staggerChildren:n,staggerDirection:o}=a;return function(e,t,i=0,s=0,a=0,r=1,n){let o=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),o.push(a4(l,t,{...n,delay:i+("function"==typeof s?0:s)+a3(e.variantChildren,l,s,a,r)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(o)}(e,t,s,r,n,o,i)}:()=>Promise.resolve(),{when:o}=a;if(!o)return Promise.all([r(),n(i.delay)]);{let[e,t]="beforeChildren"===o?[r,n]:[n,r];return e().then(()=>t())}}function a6(e,t){if(!Array.isArray(t))return!1;let i=t.length;if(i!==e.length)return!1;for(let s=0;s<i;s++)if(t[s]!==e[s])return!1;return!0}let a8=i1.length,a7=[...i0].reverse(),a9=i0.length;function re(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function rt(){return{animate:re(!0),whileInView:re(),whileHover:re(),whileTap:re(
2),whileDrag:re(),whileFocus:re(),exit:re()}}class ri{constructor(e){this.isMounted=!1,this.node=e}update(){}}let rs=0,ra={x:!1,y:!1};function rr(e,t,i,s={passive:!0}){return e.addEventListener(t,i,s),()=>e.removeEventListener(t,i)}let rn=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function ro(e){return{point:{x:e.pageX,y:e.pageY}}}function rl(e,t,i,s){return rr(e,t,e=>rn(e)&&i(e,ro(e)),s)}function rd(e){return e.max-e.min}function rh(e,t,i,s=.5){e.origin=s,e.originPoint=tf(t.min,t.max,e.origin),e.scale=rd(i)/rd(t),e.translate=tf(i.min,i.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function rc(e,t,i,s){rh(e.x,t.x,i.x,s?s.originX:void 0),rh(e.y,t.y,i.y,s?s.originY:void 0)}function ru(e,t,i){e.min=i.min+t.min,e.max=e.min+rd(t)}function rp(e,t,i){e.min=t.min-i.min,e.max=e.min+rd(t)}function rm(e,t,i){rp(e.x,t.x,i.x),rp(e.y,t.y,i.y)}function rf(e){return[e("x"),e("y")]}let rg=({current:e})=>e?e.ownerDocument.defaultView:null,rv=(e,t)=>Math.abs(e-t);class rx{constructor(e,t,{transformPagePoint:i,contextWindow:s=window,dragSnapToOrigin:a=!1,distanceThreshold:r=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=rw(this.lastMoveEventInfo,this.history),s=null!==this.startEvent,a=(e=i.offset,t={x:0,y:0},Math.sqrt(rv(e.x,t.x)**2+rv(e.y,t.y)**2)>=this.distanceThreshold);if(!s&&!a)return;let{point:r}=i,{timestamp:n}=t1;this.history.push({...r,timestamp:n});let{onStart:o,onMove:l}=this.handlers;s||(o&&o(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=rb(t,this.transformPagePoint),tJ.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:i,onSessionEnd:s,resumeAnimation:a}=this.handlers;if(this.dragSnapToOrigin&&a&&a(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=rw("pointercancel"===e.type?this.lastMoveEventInfo:rb(t,this.transformPagePoint),this.history);this.startEvent&&i&&i(e,r),s&&s(e,r)},!rn(e))return;this.dragSnapToOrigin=a,this.handlers=t,this.transformPagePoint=i,this.distanceThreshold=r,this.contextWindow=s||window;const n=rb(ro(e),this.transformPagePoint),{point:o}=n,{timestamp:l}=t1;this.history=[{...o,timestamp:l}];const{onSessionStart:d}=t;d&&d(e,rw(n,this.history)),this.removeListeners=sW(rl(this.contextWindow,"pointermove",this.handlePointerMove),rl(this.contextWindow,"pointerup",this.handlePointerUp),rl(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),t0(this.updatePoint)}}function rb(e,t){return t?{point:t(e.point)}:e}function ry(e,t){return{x:e.x-t.x,y:e.y-t.y}}function rw({point:e},t){return{point:e,delta:ry(e,rS(t)),offset:ry(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let i=e.length-1,s=null,a=rS(e);for(;i>=0&&(s=e[i],!(a.timestamp-s.timestamp>sU(.1)));)i--;if(!s)return{x:0,y:0};let r=(a.timestamp-s.timestamp)/1e3;if(0===r)return{x:0,y:0};let n={x:(a.x-s.x)/r,y:(a.y-s.y)/r};return n.x===1/0&&(n.x=0),n.y===1/0&&(n.y=0),n}(t,.1)}}function rS(e){return e[e.length-1]}function rT(e,t,i){return{min:void 0!==t?e.min+t:void 0,max:void 0!==i?e.max+i-(e.max-e.min):void 0}}function rE(e,t){let i=t.min-e.min,s=t.max-e.max;return t.max-t.min<e.max-e.min&&([i,s]=[s,i]),{min:i,max:s}}function rj(e,t,i){return{min:rC(e,t),max:rC(e,i)}}function rC(e,t){return"number"==typeof e?e:e[t]||0}let rk=new WeakMap;class rP{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=iU(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:i}={}){let{presenceContext:s}=this.visualElement;if(s&&!1===s.isPresent)return;let a=e=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(ro(e).point)},r=(e,t)=>{let{drag:i,dragPropagation:s,onDragStart:a}=this.getProps();if(i&&!s&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"
2y"===e)if(ra[e])return null;else return ra[e]=!0,()=>{ra[e]=!1};return ra.x||ra.y?null:(ra.x=ra.y=!0,()=>{ra.x=ra.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),rf(e=>{let t=this.getAxisMotionValue(e).get()||0;if(tD.test(t)){let{projection:i}=this.visualElement;if(i&&i.layout){let s=i.layout.layoutBox[e];s&&(t=rd(s)*(parseFloat(t)/100))}}this.originPoint[e]=t}),a&&tJ.postRender(()=>a(e,t)),sq(this.visualElement,"transform");let{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},n=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:i,dragDirectionLock:s,onDirectionLock:a,onDrag:r}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:n}=t;if(s&&null===this.currentDirection){this.currentDirection=function(e,t=10){let i=null;return Math.abs(e.y)>t?i="y":Math.abs(e.x)>t&&(i="x"),i}(n),null!==this.currentDirection&&a&&a(this.currentDirection);return}this.updateAxis("x",t.point,n),this.updateAxis("y",t.point,n),this.visualElement.render(),r&&r(e,t)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>rf(e=>"paused"===this.getAnimationState(e)&&this.getAxisMotionValue(e).animation?.play()),{dragSnapToOrigin:d}=this.getProps();this.panSession=new rx(e,{onSessionStart:a,onStart:r,onMove:n,onSessionEnd:o,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:i,contextWindow:rg(this.visualElement)})}stop(e,t){let i=e||this.latestPointerEvent,s=t||this.latestPanInfo,a=this.isDragging;if(this.cancel(),!a||!s||!i)return;let{velocity:r}=s;this.startAnimation(r);let{onDragEnd:n}=this.getProps();n&&tJ.postRender(()=>n(i,s))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,i){let{drag:s}=this.getProps();if(!i||!rM(e,s,this.currentDirection))return;let a=this.getAxisMotionValue(e),r=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(r=function(e,{min:t,max:i},s){return void 0!==t&&e<t?e=s?tf(t,e,s.min):Math.max(e,t):void 0!==i&&e>i&&(e=s?tf(i,e,s.max):Math.min(e,i)),e}(r,this.constraints[e],this.elastic[e])),a.set(r)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,s=this.constraints;e&&sO(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&i?this.constraints=function(e,{top:t,left:i,bottom:s,right:a}){return{x:rT(e.x,i,a),y:rT(e.y,t,s)}}(i.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:rj(e,"left","right"),y:rj(e,"top","bottom")}}(t),s!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&rf(e=>{var t,s;let a;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=i.layoutBox[e],s=this.constraints[e],a={},void 0!==s.min&&(a.min=s.min-t.min),void 0!==s.max&&(a.max=s.max-t.min),a))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!sO(t))return!1;let s=t.current;tq(null!==s,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:a}=this.visualElement;if(!a||!a.layout)return!1;let r=function(e,t,i){let s=tC(e,i),{scroll:a}=t;return a&&(tT(s.x,a.offset.x),tT(s.y,a.offset.y)),s}(s,a.root,this.visualElement.getTransformPagePoint()),n=(e=a.layout.layoutBox,{x:rE(e.x,r.x),y:rE(e.y,r.y)});if(i){let e=i(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(n));this.hasMutatedConstraints=!!e,e&&(n=tm(e))}return n}startAnimation(e){let{drag:t,dragMomentum:i,dragElastic:s,dragTransition:a,dragSnapToOrigin:r,onDragTransitionEnd:n}=this.getProps(),o=this.constraints||{};return Promise.all(rf(n=>{if(!rM(n,t,this.currentDirection))return;let l=o&&o[n]||{};r&&(l={min:0,max:0});let d={type:"inertia",velocity:i?e[n]:0,bounceStiffness:s?200:1e6,bounceDamping:s?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...a,...l};return this.startAxisValueAnimation(n,d)})).then(n)}startAxisValueAnimation(e,t){let i=this.getAxisMotionValue(e);return sq(this.visualElement,e),i.start(a2(e,i,0,t,this.visualElement,!1))}stopAnimation(){rf(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){rf(e=>this.getAxisMotionValue(e).animation?.pause())}getAnimationState(e){return this.getAxisMotionValue(e).animation?.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,i=this.visualElement.getProps();return i[t]||this.visualElement.getValue(e,(i.initial?i.initial[e]:void 0)||0)}snapToCursor(e){rf(t=>{let{drag:i}=this.getProps();if(!rM(t,i,this.currentDirection))return;let{projection:s}=this.visualElement,a=this.getAxisMotionValue(t);if(s&&s.layout){let{min:i,max:r}=s.layout.layoutBox[t];a.set(e[t]-tf(i,r,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:i}=this.visualElement;if(!sO(t)||!i||!this.constraints)return;this.stopAnimation();let s={x:0,y:0};rf(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var i,a;let r,n,o,l=t.get();s[e]=(i={min:l,max:l},a=this.constraints[e],r=.5,n=rd(i),(o=rd(a))>n?r=aM(a.min,a.max-n,i.min):n>o&&(r=aM(i.min,i.max-o,a.min)),tP(0,1,r))}});let{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),rf(t=>{if(!rM(t,e,null))return;let i=this.getAxisMotionValue(t),{min:a,max:r}=this.constraints[t];i.set(tf(a,r,s[t]))})}addListeners(){if(!this.visualElement.current)return;rk.set(this.visualElement,this);let e=rl(this.visualElement.current,"pointerdown",e=>{let{drag:t,dragListener:i=!0}=this.getProps();t&&i&&this.start(e)}),t=()=>{let{dragConstraints:e}=this.getProps();sO(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",t);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),tJ.read(t);let a=rr(window,"resize",()=>this.scalePositionWithinConstraints()),r=i.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(rf(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{a(),e(),s(),r&&r()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:a=!1,dragElastic:r=.35,dragMomentum:n=!0}=e;return{...e,drag:t,dragDirectionLock:i,dragPropagation:s,dragConstraints:a,dragElastic:r,dragMomentum:n}}}function rM(e,t,i){return(!0===t||t===e)&&(null===i||i===e)}let rN=e=>(t,i)=>{e&&tJ.postRender(()=>e(t,i))};var rA=h;let r_={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function rL(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let rD={correct:(e,t)=>
2{if(!t.target)return e;if("string"==typeof e)if(!tO.test(e))return e;else e=parseFloat(e);let i=rL(e,t.target.x),s=rL(e,t.target.y);return`${i}% ${s}%`}},rO=!1;class rV extends rA.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i,layoutId:s}=this.props,{projection:a}=e;for(let e in rR)sa[e]=rR[e],th(e)&&(sa[e].isCSSVariable=!0);a&&(t.group&&t.group.add(a),i&&i.register&&s&&i.register(a),rO&&a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),r_.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:i,drag:s,isPresent:a}=this.props,{projection:r}=i;return r&&(r.isPresent=a,rO=!0,s||e.layoutDependency!==t||void 0===t||e.isPresent!==a?r.willUpdate():this.safeToRemove(),e.isPresent!==a&&(a?r.promote():r.relegate()||tJ.postRender(()=>{let e=r.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),iz.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i}=this.props,{projection:s}=e;rO=!0,s&&(s.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(s),i&&i.deregister&&i.deregister(s))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function rI(e){let[t,i]=function(e=!0){let t=(0,h.useContext)(sM);if(null===t)return[!0,null];let{isPresent:i,onExitComplete:s,register:a}=t,r=(0,h.useId)();(0,h.useEffect)(()=>{if(e)return a(r)},[e]);let n=(0,h.useCallback)(()=>e&&s&&s(r),[r,s,e]);return!i&&s?[!1,n]:[!0]}(),s=(0,rA.useContext)(sx);return(0,l.jsx)(rV,{...e,layoutGroup:s,switchLayoutGroup:(0,rA.useContext)(sI),isPresent:t,safeToRemove:i})}let rR={borderRadius:{...rD,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:rD,borderTopRightRadius:rD,borderBottomLeftRadius:rD,borderBottomRightRadius:rD,boxShadow:{correct:(e,{treeScale:t,projectionDelta:i})=>{let s=iy.parse(e);if(s.length>5)return e;let a=iy.createTransformer(e),r=+("number"!=typeof s[0]),n=i.x.scale*t.x,o=i.y.scale*t.y;s[0+r]/=n,s[1+r]/=o;let l=tf(n,o,.5);return"number"==typeof s[2+r]&&(s[2+r]/=l),"number"==typeof s[3+r]&&(s[3+r]/=l),a(s)}}};function rB(e){return"object"==typeof e&&null!==e}function rF(e){return rB(e)&&"ownerSVGElement"in e}let rz=(e,t)=>e.depth-t.depth;class r${constructor(){this.children=[],this.isDirty=!1}add(e){iO(this.children,e),this.isDirty=!0}remove(e){iV(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(rz),this.isDirty=!1,this.children.forEach(e)}}let rq=["TopLeft","TopRight","BottomLeft","BottomRight"],rG=rq.length,rH=e=>"string"==typeof e?parseFloat(e):e,rW=e=>"number"==typeof e||tO.test(e);function rU(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let rY=rK(0,.5,aE),rX=rK(.5,.95,tX);function rK(e,t,i){return s=>s<e?0:s>t?1:i(aM(e,t,s))}function rZ(e,t){e.min=t.min,e.max=t.max}function rQ(e,t){rZ(e.x,t.x),rZ(e.y,t.y)}function rJ(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function r0(e,t,i,s,a){return e-=t,e=s+1/i*(e-s),void 0!==a&&(e=s+1/a*(e-s)),e}function r1(e,t,[i,s,a],r,n){!function(e,t=0,i=1,s=.5,a,r=e,n=e){if(tD.test(t)&&(t=parseFloat(t),t=tf(n.min,n.max,t/100)-n.min),"number"!=typeof t)return;let o=tf(r.min,r.max,s);e===r&&(o-=t),e.min=r0(e.min,t,i,o,a),e.max=r0(e.max,t,i,o,a)}(e,t[i],t[s],t[a],t.scale,r,n)}let r2=["x","scaleX","originX"],r5=["y","scaleY","originY"];function r3(e,t,i,s){r1(e.x,t,r2,i?i.x:void 0,s?s.x:void 0),r1(e.y,t,r5,i?i.y:void 0,s?s.y:void 0)}function r4(e){return 0===e.translate&&1===e.scale}function r6(e){return r4(e.x)&&r4(e.y)}function r8(e,t){return e.min===t.min&&e.max===t.max}function r7(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function r9(e,t){return r7(e.x,t.x)&&r7(e.y,t.y)}function ne(e){return rd(e.x)/rd(e.y)}function nt(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class ni{constructor(){this.members=[]}add(e){iO(this.members,e),e.scheduleRender()}remove(e){if(iV(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t,i=this.members.findIndex(t=>e===t);if(0===i)return!1;for(let e=i;e>=0;e--){let i=this.members[e];if(!1!==i.isPresent){t=i;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.instance&&i.scheduleRender(),e.scheduleRender(),e.resumeFrom=i,t&&(e.resumeFrom.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:s}=e.options;!1===s&&i.hide()}}
2exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:i}=e;t.onExitComplete&&t.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let ns=["","X","Y","Z"],na=0;function nr(e,t,i,s){let{latestValues:a}=t;a[e]&&(i[e]=a[e],t.setStaticValue(e,0),s&&(s[e]=0))}function nn({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:s,resetTransform:a}){return class{constructor(e={},i=t?.()){this.id=na++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(nd),this.nodes.forEach(ng),this.nodes.forEach(nv),this.nodes.forEach(nh)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new r$)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new iI),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let i=this.eventHandlers.get(e);i&&i.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=rF(t)&&!(rF(t)&&"svg"===t.tagName),this.instance=t;let{layoutId:i,layout:s,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(s||i)&&(this.isLayoutDirty=!0),e){let i,s=0,a=()=>this.root.updateBlockedByResize=!1;tJ.read(()=>{s=window.innerWidth}),e(t,()=>{let e=window.innerWidth;if(e!==s){let t,r;s=e,this.root.updateBlockedByResize=!0,i&&i(),t=iD.now(),r=({timestamp:e})=>{let i=e-t;i>=250&&(t0(r),a(i-250))},tJ.setup(r,!0),i=()=>t0(r),r_.hasAnimatedSinceResize&&(r_.hasAnimatedSinceResize=!1,this.nodes.forEach(nf))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&a&&(i||s)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:i,layout:s})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||a.getDefaultTransition()||nT,{onLayoutAnimationStart:n,onLayoutAnimationComplete:o}=a.getProps(),l=!this.targetLayout||!r9(this.targetLayout,s),d=!t&&i;if(this.options.layoutRoot||this.resumeFrom||d||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...sz(r,"layout"),onPlay:n,onComplete:o};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,d)}else t||nf(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=s})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),t0(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
2h(nx),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:i}=t.options;if(!i)return;let s=i.props[sV];if(window.MotionHasOptimisedAnimation(s,"transform")){let{layout:e,layoutId:i}=t.options;window.MotionCancelOptimisedAnimation(s,"transform",tJ,!(e||i))}let{parent:a}=t;a&&!a.hasCheckedOptimisedAppear&&e(a)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:i}=this.options;if(void 0===t&&!i)return;let s=this.getTransformTemplate();this.prevTransformTemplateValue=s?s(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(nu);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(np);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(nm),this.nodes.forEach(no),this.nodes.forEach(nl)):this.nodes.forEach(np),this.clearAllSnapshots();let e=iD.now();t1.delta=tP(0,1e3/60,e-t1.timestamp),t1.timestamp=e,t1.isProcessing=!0,t2.update.process(t1),t2.preRender.process(t1),t2.render.process(t1),t1.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,iz.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(nc),this.sharedNodes.forEach(nb)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tJ.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tJ.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||rd(this.snapshot.measuredBox.x)||rd(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=iU(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=s(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!a)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!r6(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,r=s!==this.prevTransformTemplateValue;e&&this.instance&&(t||tx(this.latestValues)||r)&&(a(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let i=this.measurePageBox(),s=this.removeElementScroll(i);return e&&(s=this.removeTransform(s)),nC((t=s).x),nC(t.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:s,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return iU();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(nP))){let{scroll:e}=this.root;e&&(tT(t.x,e.offset.x),tT(t.y,e.offset.y))}return t}removeElementScroll(e){let t=iU();if(rQ(t,e),this.scroll?.wasRoot)return t;for(let i=0;i<this.path.length;i++){let s=this.path[i],{scroll:a,options:r}=s;s!==this.root&&a&&r.layoutScroll&&(a.wasRoot&&rQ(t,e),tT(t.x,a.offset.x),tT(t.y,a.offset.y))}return t}applyTransform(e,t=!1){let i=iU();rQ(i,e);for(let e=0;e<this.path.length;e++){let s=this.path[e];!t&&s.options.layoutScroll&&s.scroll&&s!==s.root&&tj(i,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),tx(s.latestValues)&&tj(i,s.latestValues)}return tx(this.latestValues)&&tj(i,this.latestValues),i}removeTransform(e){let t=iU();rQ(t,e);for(let e=0;e<this.path.length;e++){let i=this.path[e];if(!i.instance||!tx(i.latestValues))continue;tv(i.latestValues)&&i.updateSnapshot();let s=iU();rQ(s,i.measurePageBox()),r3(t,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,s)}return tx(this.latestValues)&&r3(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==t1.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
2isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==t;if(!(e||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:s,layoutId:a}=this.options;if(this.layout&&(s||a)){if(this.resolvedRelativeTargetAt=t1.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=iU(),this.relativeTargetOrigin=iU(),rm(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),rQ(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=iU(),this.targetWithTransforms=iU()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var r,n,o;this.forceRelativeParentToResolveTarget(),r=this.target,n=this.relativeTarget,o=this.relativeParent.target,ru(r.x,n.x,o.x),ru(r.y,n.y,o.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rQ(this.target,this.layout.layoutBox),tS(this.target,this.targetDelta)):rQ(this.target,this.layout.layoutBox);if(this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=iU(),this.relativeTargetOrigin=iU(),rm(this.relativeTargetOrigin,this.target,e.target),rQ(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}}getClosestProjectingParent(){if(!(!this.parent||tv(this.parent.latestValues)||tb(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,i=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===t1.timestamp&&(i=!1),i)return;let{layout:s,layoutId:a}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(s||a))return;rQ(this.layoutCorrected,this.layout.layoutBox);let r=this.treeScale.x,n=this.treeScale.y;!function(e,t,i,s=!1){let a,r,n=i.length;if(n){t.x=t.y=1;for(let o=0;o<n;o++){r=(a=i[o]).projectionDelta;let{visualElement:n}=a.options;(!n||!n.props.style||"contents"!==n.props.style.display)&&(s&&a.options.layoutScroll&&a.scroll&&a!==a.root&&tj(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),r&&(t.x*=r.x.scale,t.y*=r.y.scale,tS(e,r)),s&&tx(a.latestValues)&&tj(e,a.latestValues))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=iU());let{target:o}=e;if(!o){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(rJ(this.prevProjectionDelta.x,this.projectionDelta.x),rJ(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),rc(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.treeScale.x===r&&this.treeScale.y===n&&nt(this.projectionDelta.x,this.prevProjectionDelta.x)&&nt(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",o))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=iH(),this.projectionDelta=iH(),this.projectionDeltaWithTransform=iH()}setAnimationOrigin(e,t=!1){let i,s=this.snapshot,a=s?s.latestValues:{},r={...this.latestValues},n=iH();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let o=iU(),l=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),d=this.getStack(),h=!d||d.members.length<=1,c=!!(l&&!h&&
2!0===this.options.crossfade&&!this.path.some(nS));this.animationProgress=0,this.mixTargetDelta=t=>{let s=t/1e3;if(ny(n.x,e.x,s),ny(n.y,e.y,s),this.setTargetDelta(n),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var d,u,p,m,f,g;rm(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=o,g=s,nw(p.x,m.x,f.x,g),nw(p.y,m.y,f.y,g),i&&(d=this.relativeTarget,u=i,r8(d.x,u.x)&&r8(d.y,u.y))&&(this.isProjectionDirty=!1),i||(i=iU()),rQ(i,this.relativeTarget)}l&&(this.animationValues=r,function(e,t,i,s,a,r){a?(e.opacity=tf(0,i.opacity??1,rY(s)),e.opacityExit=tf(t.opacity??1,0,rX(s))):r&&(e.opacity=tf(t.opacity??1,i.opacity??1,s));for(let a=0;a<rG;a++){let r=`border${rq[a]}Radius`,n=rU(t,r),o=rU(i,r);(void 0!==n||void 0!==o)&&(n||(n=0),o||(o=0),0===n||0===o||rW(n)===rW(o)?(e[r]=Math.max(tf(rH(n),rH(o),s),0),(tD.test(o)||tD.test(n))&&(e[r]+="%")):e[r]=o)}(t.rotate||i.rotate)&&(e.rotate=tf(t.rotate||0,i.rotate||0,s))}(r,a,this.latestValues,s,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=s},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(t0(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tJ.update(()=>{var t,i,s;let a;r_.hasAnimatedSinceResize=!0,sY.layout++,this.motionValue||(this.motionValue=iB(0)),this.currentAnimation=(t=this.motionValue,i=[0,1e3],s={...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{sY.layout--},onComplete:()=>{sY.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}},(a=i_(t)?t:iB(t)).start(a2("",a,i,s)),a.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:i,layout:s,latestValues:a}=e;if(t&&i&&s){if(this!==e&&this.layout&&s&&nk(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||iU();let t=rd(this.layout.layoutBox.x);i.x.min=e.target.x.min,i.x.max=i.x.min+t;let s=rd(this.layout.layoutBox.y);i.y.min=e.target.y.min,i.y.max=i.y.min+s}rQ(t,i),tj(t,a),rc(this.projectionDeltaWithTransform,this.layoutCorrected,t,a)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new ni),this.sharedNodes.get(e).add(t);let i=t.options.initialPromotionConfig;t.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:i}={}){let s=this.getStack();s&&s.promote(this,i),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:i}=e;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(t=!0),!t)return;let s={};i.z&&nr("z",e,s,this.animationValues);for(let t=0;t<ns.length;t++)nr(`rotate${ns[t]}`,e,s,this.animationValues),nr(`skew${ns[t]}`,e,s,this.animationValues);for(let t in e.render(),s)e.setStaticValue(t,s[t]),this.animationValues&&(this.animationValues[t]=s[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=sN(t?.pointerEvents)||"",e.transform=i?i(this.latestValues,""):"none";return}let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=sN(t?.pointerEvents)||""),this.hasProjected&&!tx(this.latestValues)&&(e.transform=i?i({},""):"none",this.hasProjected=!1);return}e.visibility="";let a=s.animationValues||s.latestValues;this.applyTransformsToTarget();let r=function(e,t,i){let s="",a=e.x.translate/t.x,r=e.y.translate/t.y,n=i?.z||0;if((a||r||n)&&(s=`translate3d(${a}px, ${r}px, ${n}px) `),(1!==t.x||1!==t.y)&&(s+=`scale(${1/t.x}, ${1/t.y}) `),i){let{transformPerspective:e,rotate:t,rotateX:a,rotateY:r,skewX:n,skewY:o}=i;e&&(s=`perspective(${e}px) ${s}`),t&&(s+=`rotate(${t}deg) `),a&&(s+=`rotateX(${a}deg) `),r&&(s+=`rotateY(${r}deg) `),n&&(s+=`skewX(${n}deg) `),o&&(s+=`skewY(${o}deg) `)}let o=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==o||1!==l)&&(s+=`scale(${o}, ${l})`),s||"none"}(this.projectionDeltaWithTransform,this.treeScale,a);i&&(r=i(a,r)),e.transform=r;let{x:n,y:o}=this.projectionDelta;for(let t in e.transformOrigin=`${100*n.origin}% ${100*o.origin}% 0`,s.animationValues?e.opacity=s===this?a.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:e.opacity=s===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0,sa){if(void 0===a[t])continue;let{correct:i,applyTo:n,isCSSVariable:o}=sa[t],l="none"===r?a[t]:i(a[t],s);if(n){let t=n.length;for(let i=0;i<t;i++)e[n[i]]=l}
2else o?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=s===this?sN(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(nu),this.root.sharedNodes.clear()}}}function no(e){e.updateLayout()}function nl(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:s}=e.layout,{animationType:a}=e.options,r=t.source!==e.layout.source;"size"===a?rf(e=>{let s=r?t.measuredBox[e]:t.layoutBox[e],a=rd(s);s.min=i[e].min,s.max=s.min+a}):nk(a,t.layoutBox,i)&&rf(s=>{let a=r?t.measuredBox[s]:t.layoutBox[s],n=rd(i[s]);a.max=a.min+n,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[s].max=e.relativeTarget[s].min+n)});let n=iH();rc(n,i,t.layoutBox);let o=iH();r?rc(o,e.applyTransform(s,!0),t.measuredBox):rc(o,i,t.layoutBox);let l=!r6(n),d=!1;if(!e.resumeFrom){let s=e.getClosestProjectingParent();if(s&&!s.resumeFrom){let{snapshot:a,layout:r}=s;if(a&&r){let n=iU();rm(n,t.layoutBox,a.layoutBox);let o=iU();rm(o,i,r.layoutBox),r9(n,o)||(d=!0),s.options.layoutRoot&&(e.relativeTarget=o,e.relativeTargetOrigin=n,e.relativeParent=s)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:t,delta:o,layoutDelta:n,hasLayoutChanged:l,hasRelativeLayoutChanged:d})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function nd(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function nh(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function nc(e){e.clearSnapshot()}function nu(e){e.clearMeasurements()}function np(e){e.isLayoutDirty=!1}function nm(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function nf(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ng(e){e.resolveTargetDelta()}function nv(e){e.calcProjection()}function nx(e){e.resetSkewAndRotation()}function nb(e){e.removeLeadSnapshot()}function ny(e,t,i){e.translate=tf(t.translate,0,i),e.scale=tf(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function nw(e,t,i,s){e.min=tf(t.min,i.min,s),e.max=tf(t.max,i.max,s)}function nS(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let nT={duration:.45,ease:[.4,0,.1,1]},nE=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),nj=nE("applewebkit/")&&!nE("chrome/")?Math.round:tX;function nC(e){e.min=nj(e.min),e.max=nj(e.max)}function nk(e,t,i){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(ne(t)-ne(i)))}function nP(e){return e!==e.root&&e.scroll?.wasRoot}let nM=nn({attachResizeListener:(e,t)=>rr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),nN={current:void 0},nA=nn({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!nN.current){let e=new nM({});e.mount(window),e.setOptions({layoutScroll:!0}),nN.current=e}return nN.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function n_(e,t){let i=function(e,t,i){if(e instanceof EventTarget)return[e];if("string"==typeof e){let t=document,i=(void 0)??t.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}(e),s=new AbortController;return[i,{passive:!0,...t,signal:s.signal},()=>s.abort()]}function nL(e){return!("touch"===e.pointerType||ra.x||ra.y)}function nD(e,t,i){let{props:s}=e;e.animationState&&s.whileHover&&e.animationState.setActive("whileHover","Start"===i);let a=s["onHover"+i];a&&tJ.postRender(()=>a(t,ro(t)))}let nO=(e,t)=>
2!!t&&(e===t||nO(e,t.parentElement)),nV=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),nI=new WeakSet;function nR(e){return t=>{"Enter"===t.key&&e(t)}}function nB(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function nF(e){return rn(e)&&!(ra.x||ra.y)}function nz(e,t,i){let{props:s}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&s.whileTap&&e.animationState.setActive("whileTap","Start"===i);let a=s["onTap"+("End"===i?"":i)];a&&tJ.postRender(()=>a(t,ro(t)))}let n$=new WeakMap,nq=new WeakMap,nG=e=>{let t=n$.get(e.target);t&&t(e)},nH=e=>{e.forEach(nG)},nW={some:0,all:1},nU=function(e,t){if("undefined"==typeof Proxy)return sB;let i=new Map,s=(i,s)=>sB(i,s,e,t);return new Proxy((e,t)=>s(e,t),{get:(a,r)=>"create"===r?s:(i.has(r)||i.set(r,sB(r,void 0,e,t)),i.get(r))})}({animation:{Feature:class extends ri{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:i})=>(function(e,t,i={}){let s;if(e.notify("AnimationStart",t),Array.isArray(t))s=Promise.all(t.map(t=>a4(e,t,i)));else if("string"==typeof t)s=a4(e,t,i);else{let a="function"==typeof t?sF(e,t,i.custom):t;s=Promise.all(a5(e,a,i))}return s.then(()=>{e.notify("AnimationComplete",t)})})(e,t,i))),i=rt(),s=!0,a=t=>(i,s)=>{let a=sF(e,s,"exit"===t?e.presenceContext?.custom:void 0);if(a){let{transition:e,transitionEnd:t,...s}=a;i={...i,...s,...t}}return i};function r(r){let{props:n}=e,o=function e(t){if(!t)return;if(!t.isControllingVariants){let i=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(i.initial=t.props.initial),i}let i={};for(let e=0;e<a8;e++){let s=i1[e],a=t.props[s];(iJ(a)||!1===a)&&(i[s]=a)}return i}(e.parent)||{},l=[],d=new Set,h={},c=1/0;for(let t=0;t<a9;t++){var u,p;let m=a7[t],f=i[m],g=void 0!==n[m]?n[m]:o[m],v=iJ(g),x=m===r?f.isActive:null;!1===x&&(c=t);let b=g===o[m]&&g!==n[m]&&v;if(b&&s&&e.manuallyAnimateOnMount&&(b=!1),f.protectedKeys={...h},!f.isActive&&null===x||!g&&!f.prevProp||iQ(g)||"boolean"==typeof g)continue;let y=(u=f.prevProp,"string"==typeof(p=g)?p!==u:!!Array.isArray(p)&&!a6(p,u)),w=y||m===r&&f.isActive&&!b&&v||t>c&&v,S=!1,T=Array.isArray(g)?g:[g],E=T.reduce(a(m),{});!1===x&&(E={});let{prevResolvedValues:j={}}=f,C={...j,...E},k=t=>{w=!0,d.has(t)&&(S=!0,d.delete(t)),f.needsAnimating[t]=!0;let i=e.getValue(t);i&&(i.liveStyle=!1)};for(let e in C){let t=E[e],i=j[e];if(!h.hasOwnProperty(e))(s$(t)&&s$(i)?a6(t,i):t===i)?void 0!==t&&d.has(e)?k(e):f.protectedKeys[e]=!0:null!=t?k(e):d.add(e)}f.prevProp=g,f.prevResolvedValues=E,f.isActive&&(h={...h,...E}),s&&e.blockInitialAnimation&&(w=!1);let P=b&&y,M=!P||S;w&&M&&l.push(...T.map(t=>{let i={type:m};if("string"==typeof t&&s&&!P&&e.manuallyAnimateOnMount&&e.parent){let{parent:s}=e,a=sF(s,t);if(s.enteringChildren&&a){let{delayChildren:t}=a.transition||{};i.delay=a3(s.enteringChildren,e,t)}}return{animation:t,options:i}}))}if(d.size){let t={};if("boolean"!=typeof n.initial){let i=sF(e,Array.isArray(n.initial)?n.initial[0]:n.initial);i&&i.transition&&(t.transition=i.transition)}d.forEach(i=>{let s=e.getBaseTarget(i),a=e.getValue(i);a&&(a.liveStyle=!0),t[i]=s??null}),l.push({animation:t})}let m=!!l.length;return s&&(!1===n.initial||n.initial===n.animate)&&!e.manuallyAnimateOnMount&&(m=!1),s=!1,m?t(l):Promise.resolve()}return{animateChanges:r,setActive:function(t,s){if(i[t].isActive===s)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,s)),i[t].isActive=s;let a=r(t);for(let e in i)i[e].protectedKeys={};return a},setAnimateFunction:function(i){t=i(e)},getState:()=>i,reset:()=>{i=rt()}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();iQ(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends ri{constructor(){super(...arguments),this.id=rs++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;let s=this.node.animationState.setActive("exit",!e);t&&!e&&s.then(()=>
2{t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}},inView:{Feature:class extends ri{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.unmount();let{viewport:i={}}=this.node.getProps(),{root:s,margin:a,amount:r="some",once:n}=i,o={root:s?s.current:void 0,rootMargin:a,threshold:"number"==typeof r?r:nW[r]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,n&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:i,onViewportLeave:s}=this.node.getProps(),a=t?i:s;a&&a(e)};return e=this.node.current,t=function({root:e,...t}){let i=e||document;nq.has(i)||nq.set(i,{});let s=nq.get(i),a=JSON.stringify(t);return s[a]||(s[a]=new IntersectionObserver(nH,{root:e,...t})),s[a]}(o),n$.set(e,l),t.observe(e),()=>{n$.delete(e),t.unobserve(e)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return i=>e[i]!==t[i]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends ri{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,i={}){let[s,a,r]=n_(e,i),n=e=>{let s=e.currentTarget;if(!nF(e))return;nI.add(s);let r=t(s,e),n=(e,t)=>{window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",l),nI.has(s)&&nI.delete(s),nF(e)&&"function"==typeof r&&r(e,{success:t})},o=e=>{n(e,s===window||s===document||i.useGlobalTarget||nO(s,e.target))},l=e=>{n(e,!1)};window.addEventListener("pointerup",o,a),window.addEventListener("pointercancel",l,a)};return s.forEach(e=>{(i.useGlobalTarget?window:e).addEventListener("pointerdown",n,a),rB(e)&&"offsetHeight"in e&&(e.addEventListener("focus",e=>((e,t)=>{let i=e.currentTarget;if(!i)return;let s=nR(()=>{if(nI.has(i))return;nB(i,"down");let e=nR(()=>{nB(i,"up")});i.addEventListener("keyup",e,t),i.addEventListener("blur",()=>nB(i,"cancel"),t)});i.addEventListener("keydown",s,t),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),t)})(e,a)),nV.has(e.tagName)||-1!==e.tabIndex||e.hasAttribute("tabindex")||(e.tabIndex=0))}),r}(e,(e,t)=>(nz(this.node,t,"Start"),(e,{success:t})=>nz(this.node,e,t?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends ri{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=sW(rr(this.node.current,"focus",()=>this.onFocus()),rr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends ri{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,i={}){let[s,a,r]=n_(e,i),n=e=>{if(!nL(e))return;let{target:i}=e,s=t(i,e);if("function"!=typeof s||!i)return;let r=e=>{nL(e)&&(s(e),i.removeEventListener("pointerleave",r))};i.addEventListener("pointerleave",r,a)};return s.forEach(e=>{e.addEventListener("pointerenter",n,a)}),r}(e,(e,t)=>(nD(this.node,t,"Start"),e=>nD(this.node,e,"End"))))}unmount(){}}},pan:{Feature:class extends ri{constructor(){super(...arguments),this.removePointerDownListener=tX}onPointerDown(e){this.session=new rx(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:rg(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:rN(e),onStart:rN(t),onMove:i,onEnd:(e,t)=>{delete this.session,s&&tJ.postRender(()=>s(e,t))}}}mount(){this.removePointerDownListener=rl(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends ri{constructor(e){super(e),this.removeGroupControls=tX,this.removeListeners=tX,this.controls=new rP(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tX}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:nA,MeasureLayout:rI},layout:{ProjectionNode:nA,MeasureLayout:rI}},(e,t)=>sv(e)?new sf(t):new so(t,{allowProjection:e!==h.Fragment})),nY=(0,h.createContext)(null),nX=e=>!e.isLayoutDirty&&e.willUpdate(!1),nK=({children:e,id:t,inherit:i=!0})=>{let s=(0,h.useContext)(sx),a=(0,h.useContext)(nY),[r,n]=function(){let e,t=(e=(0,h.useRef)(!1),sR(()=>(e.current=!0,()=>{e.current=!1}),[]),e),[i,s]=(0,h.useState)(0),a=(0,h.useCallback)(()=>{t.current&&s(i+1)},[i]);return[(0,h.useCallback)(()=>tJ.postRender(a),[a]),i]}(),o=(0,h.useRef)(null),d=s.id||a;if(null===o.current){let e,a,r,n;(!0==(!0===(n=i))||"id"===n)&&d&&(t=t?d+"-"+t:d),o.current={id:t,group:!0===i&&s.group||(e=new Set,a=new WeakMap,{add:t=>{e.add(t),a.set(t,t.addEventListener("willUpdate",r))},remove:t=>{e.delete(t);let i=a.get(t);i&&(i(),a.delete(t)),r()},dirty:r=()=>e.forEach(nX)})}}let c=(0,h.useMemo)(()=>({...o.current,forceRender:r}),[n]);return(0,l.jsx)(sx.Provider,{value:c,children:e})},nZ={default:2,768:1},nQ={hidden:{opacity:0,y:20,scale:.98},visible:e=>({opacity:1,y:0,scale:1,transition:{duration:.4,delay:Math.min(.06*e,.4),ease:[.22,.61,.36,1]}})},nJ=()=>{let{t:e}=(0,ej.useTranslation)(),t=[{q:e("home.faq.q1"),a:e("home.faq.a1"),id:"1"},{q:e("home.faq.q2"),a:e("home.faq.a2"),id:"2"},{q:e("home.faq.q3"),a:e("home.faq.a3"),id:"3"},{q:e("home.faq.q4"),a:e("home.faq.a4"),id:"4"},{q:e("home.faq.q5"),a:e("home.faq.a5"),id:"5"},{q:e("home.faq.q6"),a:e("home.faq.a6"),id:"6"},{q:e("home.faq.q7"),a:e("home.faq.a7"),id:"7"},{q:e("home.faq.q8"),a:e("home.faq.a8"),id:"8"}],[i,s]=(0,h.useState)([]);return(0,l.jsx)("section",{className:"bg-gray-50 py-16 lg:py-24",children:(0,l.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,l.jsxs)("div",{className:"text-center mb-12",children:[(0,l.jsx)("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e("home.faq.title")}),(0,l.jsx)("p",{className:"mt-4 text-lg text-gray-600",children:e("home.faq.subtitle")})]}),(0,l.jsx)(nK,{children:(0,l.jsx)(e6,{breakpointCols:nZ,className:"flex -ml-4 md:-ml-6",columnClassName:"pl-4 md:pl-6 space-y-6 lg:space-y-8",children:t.map(({q:e,a:t,id:a},r)=>
2{let n=i.includes(a);return(0,l.jsx)(nU.div,{layout:!0,variants:nQ,custom:r,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.2},whileHover:{y:-2,transition:{duration:.18}},children:(0,l.jsxs)("div",{onClick:()=>{s(e=>e.includes(a)?e.filter(e=>e!==a):[...e,a])},className:`cursor-pointer bg-white rounded-xl border border-gray-200 transition-shadow duration-200 shadow-sm hover:shadow-md
3                    `,children:[(0,l.jsxs)("div",{className:"px-6 lg:px-8 py-4 flex items-start justify-between gap-4",children:[(0,l.jsx)("h3",{className:"text-base font-semibold text-slate-900",children:e}),(0,l.jsx)(nU.span,{animate:{rotate:180*!!n},transition:{duration:.25,ease:"easeOut"},className:"shrink-0 mt-0.5 inline-flex h-6 w-6 items-center justify-center ",children:(0,l.jsx)(eB.ChevronDown,{className:"h-4 w-4 text-gray-700"})})]}),(0,l.jsx)(nU.div,{layout:!0,animate:{height:n?"auto":0},initial:!1,transition:{duration:.35,ease:[.25,.8,.25,1]},className:"overflow-hidden",children:(0,l.jsx)("div",{className:"px-6 lg:px-8 pb-5",children:(0,l.jsx)("p",{className:"text-sm text-gray-700 leading-relaxed",children:t})})})]})},a)})})}),(0,l.jsx)("div",{className:"mt-10 text-center text-sm text-gray-500",children:(0,l.jsx)("span",{className:"inline-flex items-center justify-center px-4 py-2 rounded-full bg-white shadow-sm border border-gray-100",children:(0,l.jsx)(eE.default,{href:"/faq",className:"font-medium text-blue-600 hover:text-blue-700",children:e("home.faq.more_help")})})})]})})},n0=({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 576 512",fill:"#3ddc84","aria-hidden":"true",children:(0,l.jsx)("path",{d:"M420.55 301.93a24 24 0 1 1 24-24 24 24 0 0 1-24 24m-265.1 0a24 24 0 1 1 24-24 24 24 0 0 1-24 24m273.7-144.48 47.94-83a10 10 0 1 0-17.27-10l-48.54 84.07a301.25 301.25 0 0 0-246.56 0L116.18 64.45a10 10 0 1 0-17.27 10l47.94 83C64.53 202.22 8.24 285.55 0 384h576c-8.24-98.45-64.54-181.78-146.85-226.55"})}),n1=({className:e})=>(0,l.jsxs)("svg",{className:e,viewBox:"0 0 512 512","aria-hidden":"true",children:[(0,l.jsx)("path",{fill:"#00d2ff",d:"M47 0C34 6.8 25.3 19.2 25.3 35.3v441.3c0 16.1 8.7 28.5 21.7 35.3l256.6-256z"}),(0,l.jsx)("path",{fill:"#00f076",d:"M325.3 234.3L104.6 13l280.8 161.2z"}),(0,l.jsx)("path",{fill:"#ffce00",d:"M413.3 191.5l-58.9-34.1-65.7 64.5 65.7 64.5 60.1-34.1c18-14.3 18-46.5-1.2-60.8z"}),(0,l.jsx)("path",{fill:"#ff3a44",d:"M104.6 499l280.8-161.2-60.1-60.1z"})]}),n2=({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 384 512",fill:"#000000","aria-hidden":"true",children:(0,l.jsx)("path",{d:"M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"})}),n5=()=>{let{t:e}=(0,ej.useTranslation)(),t=[{key:"apk",href:"https://file.esim.cc/esim.cc.apk",icon:(0,l.jsx)(n0,{className:"h-5 w-5"}),sub:e("home.download.apk.sub"),name:e("home.download.apk.name")},{key:"googleplay",href:"https://play.google.com/store/apps/details?id=cc.esim",icon:(0,l.jsx)(n1,{className:"h-5 w-5"}),sub:e("home.download.googleplay.sub"),name:e("home.download.googleplay.name")},{key:"appstore",href:"https://apps.apple.com/app/esim-cc/id6762794661",icon:(0,l.jsx)(n2,{className:"h-5 w-5"}),sub:e("home.download.appstore.sub"),name:e("home.download.appstore.name")}];return(0,l.jsx)("section",{id:"download-app",className:"scroll-mt-20 bg-white px-4 py-16 sm:px-6 sm:py-24 lg:px-8",children:(0,l.jsxs)("div",{className:"relative mx-auto max-w-6xl overflow-hidden rounded-[2.25rem] bg-gradient-to-br from-[#2f6bea] via-blue-500 to-cyan-500 px-6 py-14 shadow-2xl shadow-blue-300/40 sm:px-10 sm:py-20",children:[(0,l.jsx)("div",{className:"pointer-events-none absolute -left-16 -top-16 h-72 w-72 rounded-full bg-white/15 blur-2xl","aria-hidden":"true"}),(0,l.jsx)("div",{className:"pointer-events-none absolute -right-20 -bottom-24 h-80 w-80 rounded-full bg-cyan-200/25 blur-2xl","aria-hidden":"true"}),(0,l.jsx)("div",{className:"pointer-events-none absolute right-10 top-8 h-40 w-40 rounded-full bg-white/10 blur-xl","aria-hidden":"true"}),(0,l.jsx)("div",{className:"pointer-events-none absolute inset-0 opacity-25 [background-image:radial-gradient(#ffffff_1px,transparent_1px)] [background-size:22px_22px] [mask-image:radial-gradient(ellipse_at_center,black,transparent_75%)]","aria-hidden":"true"}),(0,l.jsxs)("div",{className:"relative mx-auto max-w-3xl text-center",children:[(0,l.jsx)("p",{className:"inline-flex items-center gap-2 rounded-full border border-white/30 bg-white/15 px-4 py-1.5 text-xs font-semibold uppercase tracking-[0.18em] text-white backdrop-blur",children:e("home.download.badge")}),(0,l.jsx)("h2",{className:"mt-6 text-3xl font-extrabold tracking-tight text-white sm:text-4xl lg:text-5xl",children:e("home.download.title")}),(0,l.jsx)("p",{className:"mx-auto mt-4 max-w-2xl text-base leading-8 text-blue-50/90 sm:text-lg",children:e("home.download.subtitle")}),(0,l.jsx)("div",{className:"mt-10 flex flex-col flex-wrap items-stretch justify-center gap-4 sm:flex-row sm:items-center",children:t.map(e=>(0,l.jsxs)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"group inline-flex items-center justify-center gap-3 rounded-2xl bg-white px-6 py-3.5 shadow-lg shadow-blue-900/20 transition duration-300 hover:-translate-y-0.5 hover:shadow-xl hover:shadow-blue-900/30",children:[(0,l.jsx)("span",{className:"shrink-0",children:e.icon}),(0,l.jsxs)("span",{className:"text-left leading-tight",children:[(0,l.jsx)("span",{className:"block text-[10px] font-medium uppercase tracking-wide text-slate-400",children:e.sub}),(0,l.jsx)("span",{className:"block text-sm font-bold text-slate-900",children:e.name})]})]},e.key))})]})]})})};var n3=e.i(862174);let n4=()=>{let{t:e}=(0,ej.useTranslation)();return(0,l.jsx)("section",{className:"bg-[#eef6f8] px-4 pb-12 sm:px-6 lg:px-8",children:(0,l.jsxs)("div",{className:"relative mx-auto flex max-w-5xl flex-col items-center gap-4 overflow-hidden rounded-2xl bg-gradient-to-r from-[#2f6bea] to-cyan-500 px-5 py-4 shadow-lg shadow-blue-200/50 sm:flex-row sm:gap-5 sm:px-6",children:[(0,l.jsx)("div",{className:"pointer-events-none absolute -right-10 -top-10 h-32 w-32 rounded-full bg-white/15 blur-2xl","aria-hidden":"true"}),(0,l.jsx)("div",{className:"relative flex h-11 w-11 shrink-0 items-center justify-center rounded-xl bg-white/20 text-white ring-1 ring-white/25",children:(0,l.jsx)(n3.Tag,{className:"h-5 w-5"})}),(0,l.jsxs)("div",{className:"relative flex-1 text-center sm:text-left",children:[(0,l.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-2 sm:justify-start",children:[(0,l.jsx)("span",{className:"rounded-full bg-white/20 px-2.5 py-0.5 text-[10px] font-semibold uppercase tracking-[0.16em] text-white",children:e("home.promo.tag")}),(0,l.jsx)("p",{className:"text-base font-bold text-white sm:text-lg",children:e("home.promo.title")})]}),(0,l.jsx)("p",{className:"mt-1 text-sm text-blue-50/90",children:e("home.promo.desc")})]}),(0,l.jsxs)("div",{className:"relative flex shrink-0 items-center gap-3",children:[(0,l.jsx)("span",{className:"rounded-lg border border-dashed border-white/50 bg-white/10 px-3 py-2 text-sm font-bold tracking-wider text-white",children:e("home.promo.code")}),(0,l.jsxs)("a",{href:"#destinations",className:"group inline-flex items-center gap-1.5 rounded-lg bg-white px-4 py-2 text-sm font-semibold text-[#2f6bea] shadow-sm transition hover:bg-blue-50",children:[e("home.promo.cta"),(0,l.jsx)(ek.ArrowRight,{className:"h-4 w-4 transition-transform group-hover:translate-x-0.5 rtl:rotate-180 rtl:group-hover:-translate-x-0.5"})]})]})]})})};var n6=e.i(411632);
3function n8({lang:e,initialTab:t,initialContinent:i,regionCards:s,multiRegionGrid:a,availableContinentTabs:r,initialDataForSearch:n}){let{t:o,i18n:h}=(0,ej.useTranslation)(),c={asia:o("home.asia"),europe:o("home.europe"),north_america:o("home.north_america"),south_america:o("home.south_america"),africa:o("home.africa"),oceania:o("home.oceania"),local_esim:o("home.local_esim"),regional_esim:o("home.regional_esim"),view_all:o("home.view_all"),no_available_plans:o("home.no_available_plans"),hero_title:o("home.hero_title"),hero_subtitle:o("home.hero_subtitle"),global_connectivity:o("home.global_connectivity"),countries_200_plus:o("home.countries_200_plus"),activate_in:o("home.activate_in"),minutes_2:o("home.minutes_2"),shop_plans:o("home.shop_plans"),check_coverage:o("home.check_coverage"),download_app:o("home.download.cta"),what_is_esim_title:o("home.what_is_esim_title"),what_is_esim_desc:o("home.what_is_esim_desc"),digital_sim_title:o("home.digital_sim_title"),digital_sim_desc:o("home.digital_sim_desc"),immediate_delivery_title:o("home.immediate_delivery_title"),immediate_delivery_desc:o("home.immediate_delivery_desc"),easy_activation_title:o("home.easy_activation_title"),easy_activation_desc:o("home.easy_activation_desc"),how_it_works_title:o("home.how_it_works_title"),step_choose_destination_title:o("home.step_choose_destination_title"),step_choose_destination_desc:o("home.step_choose_destination_desc"),step_select_plan_title:o("home.step_select_plan_title"),step_select_plan_desc:o("home.step_select_plan_desc"),step_install_activate_title:o("home.step_install_activate_title"),step_install_activate_desc:o("home.step_install_activate_desc"),step_stay_connected_title:o("home.step_stay_connected_title"),step_stay_connected_desc:o("home.step_stay_connected_desc"),person_using_phone_alt:o("home.person_using_phone_alt"),search_countries_regions:o("home.search_countries_regions"),clear_search:o("home.clear_search"),loading:o("home.loading"),failed_to_load:o("home.failed_to_load"),failed_to_load_regions:o("home.failed_to_load_regions"),no_results:o("home.no_results"),popular_destinations:o("home.popular_destinations"),multi_country_plans:o("home.multi_country_plans"),popular_destinations_tab:o("home.popular_destinations_tab")},u=r.map(e=>({...e,label:c[e.key]})),p=s.map(e=>({key:e.key,code:e.code,name:h.language.startsWith("zh")?e.nameCn:e.nameEn,nameEn:e.nameEn,icon:e.icon,continentCode:e.continentCode,productId:e.productId,minPrice:e.minPrice})),m=n.multiRegionCards.map(e=>({key:e.key,name:h.language.startsWith("zh")?e.nameCn:e.nameEn,icon:e.icon,productId:e.productId,minPrice:e.minPrice,countries:e.countries})),f=a.map(e=>({key:e.key,name:h.language.startsWith("zh")?e.nameCn:e.nameEn,icon:e.icon,productId:e.productId,minPrice:e.minPrice})),g=[{label:o("home.hero.stats.coverage.label"),value:o("home.hero.stats.coverage.value")},{label:o("home.hero.stats.activation.label"),value:o("home.hero.stats.activation.value")},{label:o("home.hero.stats.support.label"),value:o("home.hero.stats.support.value")}],v=[{id:1,icon:eP.Globe2}
3,{id:2,icon:ez.CreditCard},{id:3,icon:eZ.Smartphone}],x=[{id:1,icon:e0,tone:"from-blue-500 to-cyan-400"},{id:2,icon:eF.Clock,tone:"from-cyan-500 to-teal-400"},{id:3,icon:eX.ShieldCheck,tone:"from-slate-800 to-blue-700"},{id:4,icon:e1.Zap,tone:"from-amber-400 to-orange-500"}],b=[{id:1,name:"ethan"},{id:2,name:"lena"},{id:3,name:"marcus"},{id:4,name:"keny"}],y=[{key:"plastic",icon:eY},{key:"shipping",icon:eG},{key:"footprint",icon:eJ}],w=[{key:"digital",icon:eZ.Smartphone},{key:"instant",icon:eW.QrCode},{key:"travel",icon:eP.Globe2}],S=e=>{let t=document.getElementById(e);t&&t.scrollIntoView({behavior:"smooth",block:"start"})};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n6.MarketingSeoHead,{lang:e,pathname:"/"}),(0,l.jsxs)(d.default,{children:[(0,l.jsx)("title",{children:o("home.meta.title")}),(0,l.jsx)("meta",{name:"description",content:o("home.meta.description")})]}),(0,l.jsx)(eS.Header,{lang:e}),(0,l.jsxs)("section",{className:"relative mt-16 overflow-hidden bg-[#eef6f8]",children:[(0,l.jsx)("div",{className:"absolute left-[-120px] top-16 h-72 w-72 rounded-full bg-cyan-200/35 blur-3xl motion-safe:animate-aurora","aria-hidden":"true"}),(0,l.jsx)("div",{className:"absolute right-[-80px] top-20 h-80 w-80 rounded-full bg-blue-200/35 blur-3xl motion-safe:animate-aurora [animation-delay:-6s]","aria-hidden":"true"}),(0,l.jsx)("div",{className:"absolute inset-0 opacity-70 [background-image:radial-gradient(#60a5fa_1px,transparent_1px)] [background-size:28px_28px] [mask-image:linear-gradient(to_bottom,black,transparent_75%)]","aria-hidden":"true"}),(0,l.jsx)("svg",{className:"pointer-events-none absolute inset-0 h-full w-full opacity-50",preserveAspectRatio:"none","aria-hidden":"true",children:(0,l.jsx)("path",{d:"M-40,180 Q 38%,40 88%,150",fill:"none",stroke:"#2f6bea",strokeWidth:"1.5",strokeDasharray:"2 9",strokeLinecap:"round",className:"motion-safe:animate-dash-move"})}),(0,l.jsx)("div",{className:"pointer-events-none absolute left-[12%] top-10 h-2 w-2 rounded-full bg-cyan-400/70 shadow-[0_0_12px_2px_rgba(34,211,238,0.5)] motion-safe:animate-twinkle","aria-hidden":"true"}),(0,l.jsx)("div",{className:"pointer-events-none absolute right-[18%] top-24 h-1.5 w-1.5 rounded-full bg-blue-500/60 motion-safe:animate-twinkle [animation-delay:-1.2s]","aria-hidden":"true"}),(0,l.jsx)("div",{className:"pointer-events-none absolute left-[26%] bottom-16 h-1.5 w-1.5 rounded-full bg-blue-400/60 motion-safe:animate-twinkle [animation-delay:-2s]","aria-hidden":"true"}),(0,l.jsx)("div",{className:"relative mx-auto max-w-6xl px-5 sm:px-6 lg:px-8",children:(0,l.jsxs)("div",{className:"grid grid-cols-1 items-center gap-10 py-14 sm:py-20 lg:grid-cols-2 lg:gap-16 lg:py-24",children:[(0,l.jsxs)("div",{className:"text-center lg:text-left",children:[(0,l.jsxs)("div",{className:"relative inline-flex items-center gap-2 overflow-hidden rounded-full border border-cyan-200 bg-white/75 px-4 py-2 text-xs font-semibold uppercase tracking-[0.18em] text-cyan-700 shadow-sm backdrop-blur",children:[(0,l.jsx)("span",{className:"pointer-events-none absolute inset-y-0 -left-1/3 w-1/3 skew-x-[-20deg] bg-gradient-to-r from-transparent via-white/70 to-transparent motion-safe:animate-shimmer","aria-hidden":"true"}),(0,l.jsx)(eK.Sparkles,{className:"h-3.5 w-3.5 text-cyan-500 motion-safe:animate-twinkle"}),o("home.hero_badge")]}),(0,l.jsx)("h1",{className:"mt-5 text-4xl font-extrabold tracking-tight text-slate-950 sm:text-5xl lg:text-[3.35rem] lg:leading-[1.08]",children:c.hero_title}),(0,l.jsx)("p",{className:"mx-auto mt-5 max-w-xl text-base leading-8 text-slate-600 sm:text-lg lg:mx-0",children:c.hero_subtitle}),(0,l.jsxs)("div",{className:"mt-8 flex flex-col justify-center gap-3 sm:flex-row lg:justify-start",children:[(0,l.jsxs)("button",{onClick:()=>S("destinations"),className:"group inline-flex items-center justify-center gap-2 rounded-xl bg-[#2f6bea] px-6 py-3.5 text-sm font-semibold text-white shadow-lg shadow-blue-200/60 transition hover:bg-[#255ed6] focus:outline-none focus-visible:ring-4 focus-visible:ring-blue-200",children:[c.shop_plans,(0,l.jsx)(ek.ArrowRight,{className:"h-4 w-4 transition-transform group-hover:translate-x-0.5 rtl:rotate-180 rtl:group-hover:-translate-x-0.5"})]}),(0,l.jsxs)("button",{onClick:()=>S("download-app"),className:"inline-flex items-center justify-center gap-2 rounded-xl border border-slate-200 bg-white/80 px-6 py-3.5 text-sm font-semibold text-slate-700 shadow-sm transition hover:border-cyan-200 hover:text-cyan-700",children:[(0,l.jsx)(eq,{className:"h-4 w-4"}),c.download_app,(0,l.jsx)("span",{className:"icon-[logos--google-play-icon]"}),(0,l.jsx)("span",{className:"icon-[uiw--apple]"})]})]}),(0,l.jsx)("div",{className:"mt-8 grid grid-cols-3 gap-3",children:g.map(e=>(0,l.jsxs)("div",{className:"rounded-2xl border border-white/80 bg-white/70 p-3 shadow-sm backdrop-blur",children:[(0,l.jsx)("div",{className:"text-lg font-black tracking-tight text-slate-950 sm:text-2xl",children:e.value}),(0,l.jsx)("div",{className:"mt-1 text-[11px] font-medium text-slate-500 sm:text-xs",children:e.label})]},e.label))})]}),(0,l.jsxs)("div",{className:"relative mx-auto flex w-full max-w-[450px] items-center justify-center lg:mx-0 lg:ml-auto",children:[(0,l.jsx)("div",{className:"absolute left-1/2 top-1/2 h-[330px] w-[330px] -translate-x-1/2 -translate-y-1/2 roun
3ded-full bg-blue-300/25 blur-3xl sm:h-[390px] sm:w-[390px]"}),(0,l.jsx)("div",{className:"pointer-events-none absolute left-1/2 top-1/2 h-[300px] w-[300px] -translate-x-1/2 -translate-y-1/2 rounded-full border border-dashed border-blue-300/40 motion-safe:animate-spin-slow sm:h-[360px] sm:w-[360px]","aria-hidden":"true",children:(0,l.jsx)("span",{className:"absolute -top-1 left-1/2 h-2 w-2 -translate-x-1/2 rounded-full bg-cyan-400 shadow-[0_0_10px_2px_rgba(34,211,238,0.6)]"})}),(0,l.jsx)("div",{className:"pointer-events-none absolute left-1/2 top-1/2 h-[230px] w-[230px] -translate-x-1/2 -translate-y-1/2 rounded-full border border-cyan-300/30 motion-safe:animate-spin-reverse-slow sm:h-[280px] sm:w-[280px]","aria-hidden":"true",children:(0,l.jsx)("span",{className:"absolute top-1/2 -right-1 h-1.5 w-1.5 -translate-y-1/2 rounded-full bg-blue-500/70"})}),(0,l.jsxs)("div",{className:"relative h-[380px] w-full sm:h-[430px]",children:[(0,l.jsx)("div",{className:"absolute left-8 top-10 h-[270px] w-[270px] rotate-[-8deg] rounded-[30px] bg-white/55 shadow-sm ring-1 ring-slate-200/70 sm:left-10 sm:h-[300px] sm:w-[315px]"}),(0,l.jsxs)("div",{className:"absolute left-1/2 top-8 w-[305px] -translate-x-1/2 rotate-[4deg] rounded-[30px] bg-white p-5 shadow-2xl shadow-blue-200/60 ring-1 ring-slate-200 sm:w-[350px]",children:[(0,l.jsxs)("div",{className:"flex items-start justify-between",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:"text-xs font-semibold uppercase tracking-[0.18em] text-blue-500",children:"eSIM.CC"}),(0,l.jsx)("p",{className:"mt-1 text-lg font-bold text-slate-900",children:c.global_connectivity})]}),(0,l.jsx)("div",{className:"flex h-11 w-11 items-center justify-center rounded-2xl bg-blue-50 text-blue-600",children:(0,l.jsx)(eP.Globe2,{className:"h-5 w-5"})})]}),(0,l.jsxs)("div",{className:"mt-5 overflow-hidden rounded-3xl border border-slate-200 bg-gradient-to-br from-slate-950 to-blue-900 p-4 text-white",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsxs)("div",{className:"flex items-center gap-2 text-sm font-semibold text-cyan-100",children:[(0,l.jsx)(eH,{className:"h-4 w-4"}),o("home.hero.card.route")]}),(0,l.jsx)("span",{className:"rounded-full bg-white/15 px-2.5 py-1 text-[11px] font-semibold text-white",children:o("home.hero.card.live")})]}),(0,l.jsxs)("div",{className:"mt-6 grid grid-cols-[1fr_auto_1fr] items-center gap-3",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:"text-[11px] text-blue-100",children:o("home.hero.card.from")}),(0,l.jsx)("p",{className:"mt-1 text-xl font-black",children:"HKG"})]}),(0,l.jsxs)("div",{className:"relative h-px w-16 bg-cyan-200/50",children:[(0,l.jsx)("div",{className:"absolute left-0 top-1/2 h-px w-full -translate-y-1/2 bg-gradient-to-r from-transparent via-cyan-300 to-transparent motion-safe:animate-drift-x"}),(0,l.jsx)("div",{className:"absolute left-1/2 top-1/2 h-2.5 w-2.5 -translate-x-1/2 -translate-y-1/2 rounded-full bg-cyan-300",children:(0,l.jsx)("span",{className:"absolute inset-0 rounded-full bg-cyan-300 motion-safe:animate-ping-ring","aria-hidden":"true"})})]}),(0,l.jsxs)("div",{className:"text-right",children:[(0,l.jsx)("p",{className:"text-[11px] text-blue-100",children:o("home.hero.card.to")}),(0,l.jsx)("p",{className:"mt-1 text-xl font-black",children:"TYO"})]})]})]}),(0,l.jsxs)("div",{className:"mt-4 grid grid-cols-2 gap-3",children:[(0,l.jsxs)("div",{className:"rounded-2xl bg-slate-50 p-4",children:[(0,l.jsx)("p",{className:"text-[11px] font-medium text-slate-500",children:c.activate_in}),(0,l.jsx)("p",{className:"mt-1 text-2xl font-black tracking-tight text-slate-950",children:c.minutes_2})]}),(0,l.jsxs)("div",{className:"rounded-2xl bg-[#2f6bea] p-4 text-white",children:[(0,l.jsx)("p",{className:"text-[11px] font-medium text-blue-100",children:o("home.hero.card.signal")}),(0,l.jsx)("p",{className:"mt-1 text-2xl font-black tracking-tight",children:"5G"})]})]})]}),(0,l.jsx)("div",{className:"absolute right-1 top-4 rotate-[8deg] rounded-2xl border border-white/80 bg-white px-4 py-3 shadow-xl shadow-blue-200/50 motion-safe:animate-float-y-sm sm:right-0",children:(0,l.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,l.jsxs)("div",{className:"relative flex h-9 w-9 items-center justify-center rounded-xl bg-cyan-50 text-cyan-600",children:[(0,l.jsx)("span",{className:"absolute inset-0 rounded-xl bg-cyan-300/60 motion-safe:animate-ping-ring","aria-hidden":"true"}),(0,l.jsx)(eW.QrCode,{className:"relative h-4 w-4"})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:"text-sm font-bold text-slate-900",children:o("home.hero.float.qr")}),(0,l.jsx)("p",{className:"text-[11px] text-slate-400",children:o("home.hero.float.qr_sub")})]})]})}),(0,l.jsx)("div",{className:"absolute bottom-7 left-2 rotate-[-5deg] rounded-2xl border border-white/80 bg-white px-4 py-3 shadow-xl shadow-blue-200/50 motion-safe:animate-float-y-sm [animation-delay:-2.5s] sm:left-0",children:(0,l.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,l.jsxs)("div",{className:"relative flex h-9 w-9 items-center justify-center rounded-xl bg-emerald-50 text-emerald-600",children:[(0,l.jsx)("span",{className:"absolute inset-0 rounded-xl bg-emerald-300/60 motion-safe:animate-ping-ring [animation-delay:-1.4s]","aria-hidden":"true"}),(0,l.jsx)(e1.Zap,{className:"relative h-4 w-4"})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:"text-sm font-bold text-slate-900",children:o("home.hero.float.fast")}),(0,l.jsx)("p",{className:"text-[11px] text-slate-400",children:o("home.hero.float.fast_sub")})]})]})}),(0,l.jsx)("div",{className:"absolute left-8 top-2 h-3 w-3 rounded-full bg-blue-400/50 motion-safe:animate-twinkle"}),(0,l.jsx)("div",{className:"absolute bottom-16 right-10 h-2.5 w-2.5 rounded-full bg-cyan-400/60 motion-safe:animate-twinkle [animation-delay:-1.5s]"}),(0,l.jsx)("div",{className:"absolute bottom-3 right-28 h-1.5 w-1.5 rounded-full bg-blue-500/40 motion-safe:animate-twinkle [animation-delay:-2.8s]"})]})]})]})})]}),(0,l.jsxs)("section",{id:"destinations",className:"relative overflow-hidden bg-[#eef6f8] px-4 pb-16 pt-10 scroll-mt-20 sm:px-6 sm:pb-20 lg:px-8",children:[(0,l.jsx)("div",{className:"absolute left-[-160px] top-20 h-72 w-72 rounded-full bg-blue-200/35 blur-3xl motion-safe:animate-aurora","aria-hidden":"true"}),(0,l.jsx)("div",{className:"absolute right-[-140px] bottom-0 h-80 w-80 rounded-full bg-cyan-200/35 blur-3xl motion-safe:animate-aurora [animation-delay:-5s]","aria-hidden":"true"}),(0,l.jsx)("div",{className:"absolute inset-0 opacity-60 [background-image:radial-gradient(#60a5fa_1px,transparent_1px)] [background-size:30px_30px] [mask-image:radial-gradient(ellipse_at_center,black,transparent_70%)]","aria-hidden":"true"}),(0,l.jsx)("div",{className:"pointer-events-none absolute left-[8%] top-16 h-1.5 w-1.5 rounded-full bg-blue-500/50 motion-safe:animate-twinkle","aria-hidden":"true"}),(0,l.jsx)("div",{className:"pointer-events-none absolute right-[10%] top-32 h-2 w-2 rounded-full bg-cyan-400/60 motion-safe:animate-twinkle [animation-delay:-1.
36s]","aria-hidden":"true"}),(0,l.jsx)("div",{className:"pointer-events-none absolute bottom-12 left-[14%] h-1.5 w-1.5 rounded-full bg-blue-400/50 motion-safe:animate-twinkle [animation-delay:-2.4s]","aria-hidden":"true"}),(0,l.jsx)("div",{className:"relative mx-auto max-w-7xl mb-8",children:(0,l.jsx)(eI,{initialData:{regionCards:p,multiRegionCards:m}})}),(0,l.jsxs)("div",{className:"relative max-w-6xl mx-auto rounded-[2rem] border border-white/75 bg-white/70 p-4 shadow-xl shadow-blue-200/25 backdrop-blur sm:p-6",children:[(0,l.jsx)("div",{className:"pointer-events-none absolute -left-px -top-px h-10 w-10 rounded-tl-[2rem] border-l-2 border-t-2 border-cyan-300/70","aria-hidden":"true"}),(0,l.jsx)("div",{className:"pointer-events-none absolute -right-px -bottom-px h-10 w-10 rounded-br-[2rem] border-b-2 border-r-2 border-blue-300/70","aria-hidden":"true"}),(0,l.jsx)(eA,{sectionTitles:c,initialTab:t,initialContinent:i,regionCards:p,multiRegionGrid:f,availableContinentTabs:u})]})]}),(0,l.jsx)(n4,{}),(0,l.jsxs)("section",{className:"relative overflow-hidden bg-white px-4 py-16 sm:px-6 sm:py-24 lg:px-8",children:[(0,l.jsx)("div",{className:"absolute inset-x-0 top-0 h-px bg-gradient-to-r from-transparent via-blue-200 to-transparent","aria-hidden":"true"}),(0,l.jsx)("div",{className:"absolute right-[-120px] top-20 h-80 w-80 rounded-full bg-blue-100/70 blur-3xl motion-safe:animate-aurora","aria-hidden":"true"}),(0,l.jsx)("div",{className:"pointer-events-none absolute right-[14%] top-16 h-2 w-2 rounded-full bg-cyan-400/50 motion-safe:animate-twinkle","aria-hidden":"true"}),(0,l.jsx)("div",{className:"pointer-events-none absolute left-[10%] bottom-20 h-1.5 w-1.5 rounded-full bg-blue-400/50 motion-safe:animate-twinkle [animation-delay:-1.8s]","aria-hidden":"true"}),(0,l.jsxs)("div",{className:"relative mx-auto grid max-w-6xl items-center gap-10 lg:grid-cols-[0.92fr_1.08fr] lg:gap-14",children:[(0,l.jsxs)("div",{className:"relative mx-auto w-full max-w-[430px] lg:order-first",children:[(0,l.jsx)("div",{className:"absolute left-1/2 top-1/2 h-80 w-80 -translate-x-1/2 -translate-y-1/2 rounded-full bg-cyan-300/20 blur-3xl motion-safe:animate-aurora [animation-delay:-4s]","aria-hidden":"true"}),(0,l.jsxs)("div",{className:"relative rotate-[-2deg] rounded-[2.25rem] border border-slate-200 bg-white p-5 shadow-2xl shadow-blue-100/70",children:[(0,l.jsxs)("div",{className:"relative overflow-hidden rounded-[1.75rem] bg-gradient-to-br from-slate-950 via-blue-900 to-cyan-700 p-5 text-white",children:[(0,l.jsx)("div",{className:"pointer-events-none absolute inset-0 opacity-30 [background-image:radial-gradient(#ffffff_1px,transparent_1px)] [background-size:18px_18px]","aria-hidden":"true"}),(0,l.jsxs)("div",{className:"relative flex items-center justify-between",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:"text-xs font-semibold uppercase tracking-[0.18em] text-cyan-100",children:"eSIM.CC"}),(0,l.jsx)("p",{className:"mt-2 text-xl font-black tracking-tight",children:o("home.what.card_title")})]}),(0,l.jsx)("div",{className:"flex h-12 w-12 items-center justify-center rounded-2xl bg-white/15 ring-1 ring-white/20",children:(0,l.jsx)(eZ.Smartphone,{className:"h-6 w-6"})})]}),(0,l.jsxs)("div",{className:"relative mt-8 rounded-3xl bg-white/12 p-4 ring-1 ring-white/15",children:[(0,l.jsxs)("div",{className:"relative mx-auto flex h-28 w-28 items-center justify-center overflow-hidden rounded-[2rem] bg-white text-blue-700 shadow-xl shadow-cyan-900/20",children:[(0,l.jsx)(eW.QrCode,{className:"h-14 w-14"}),(0,l.jsx)("span",{className:"pointer-events-none absolute inset-x-2 top-0 h-8 bg-gradient-to-b from-cyan-400/50 to-transparent blur-[2px] motion-safe:animate-scan-y","aria-hidden":"true"})]}),(0,l.jsxs)("div",{className:"mt-5 grid grid-cols-2 gap-3 text-sm",children:[(0,l.jsxs)("div",{className:"rounded-2xl bg-white/10 p-3",children:[(0,l.jsx)("p",{className:"text-cyan-100",children:o("home.what.card_left_label")}),(0,l.jsx)("p",{className:"mt-1 font-black",children:"QR"})]}),(0,l.jsxs)("div",{className:"rounded-2xl bg-white/10 p-3",children:[(0,l.jsx)("p",{className:"text-cyan-100",children:o("home.what.card_right_label")}),(0,l.jsx)("p",{className:"mt-1 font-black",children:"5G/LTE"})]})]})]})]}),(0,l.jsx)("div",{className:"mt-4 rounded-2xl bg-[#eef6f8] p-4 text-sm font-semibold leading-6 text-slate-700",children:o("home.what.card_note")})]})]}),(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-full border border-cyan-200 bg-cyan-50/70 px-4 py-2 text-xs font-semibold uppercase tracking-[0.18em] text-cyan-700",children:[(0,l.jsx)(eK.Sparkles,{className:"h-3.5 w-3.5"}),o("home.what.badge")]}),(0,l.jsx)("h2",{className:"mt-5 text-3xl font-extrabold tracking-tight text-slate-950 sm:text-4xl lg:text-5xl",children:o("home.what.title")}),(0,l.jsx)("p",{className:"mt-5 text-base leading-8 text-slate-600 sm:text-lg",children:o("home.what.subtitle")}),(0,l.jsx)("div",{className:"mt-8 grid gap-4 sm:grid-cols-3 lg:grid-cols-1",children:w.map((e,t)=>{let i=e.icon;return(0,l.jsxs)("div",{className:"group relative overflow-hidden rounded-2xl border border-slate-200 bg-white p-5 shadow-lg shadow-blue-100/40 transition hover:-translate-y-0.5 hover:shadow-xl hover:shadow-blue-200/40",children:[(0,l.jsx)("div",{className:"pointer-events-none absolute left-0 top-0 h-full w-1 origin-top scale-y-0 bg-gradient-to-b from-cyan-400 to-[#2f6bea] transition-transform duration-300 group-hover:scale-y-100","aria-hidden":"true"}),(0,l.jsxs)("span",{className:"pointer-events-none absolute right-3 top-3 text-2xl font-black leading-none text-slate-100 transition group-hover:text-blue-100","aria-hidden":"true",children:["0",t+1]}),(0,l.jsxs)("div",{className:"relative flex items-start gap-4",children:[(0,l.jsxs)("div",{className:"relative flex h-11 w-11 shrink-0 items-center justify-center rounded-2xl bg-blue-50 text-[#2f6bea] ring-1 ring-blue-100 transition group-hover:bg-[#2f6bea] group-hover:text-white",children:[(0,l.jsx)("span",{className:"absolute inset-0 rounded-2xl bg-blue-400/40 opacity-0 group-hover:opacity-100 motion-safe:group-hover:animate-ping-ring","aria-hidden":"true"}),(0,l.jsx)(i,{className:"relative h-5 w-5"})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("h3",{className:"text-base font-bold text-slate-950",children:o(`home.what.items.${e.key}.title`)}),(0,l.jsx)("p",{className:"mt-2 text-sm leading-6 text-slate-600",children:o(`home.what.items.${e.key}.desc`)})]})]})]},e.key)})})]})]})]}),(0,l.jsxs)("section",{className:"relative overflow-hidden bg-white py-16 lg:py-24",children:[(0,l.jsx)("div",{className:"absolute inset-x-0 top-0 h-px bg-gradient-to-r from-transparent via-blue-200 to-transparent","aria-hidden":"true"}),(0,l.jsx)("div",{className:"absolute left-0 top-20 h-64 w-64 roun
3ded-full bg-cyan-100/60 blur-3xl","aria-hidden":"true"}),(0,l.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,l.jsxs)("div",{className:"mx-auto mb-12 max-w-3xl text-center sm:mb-16",children:[(0,l.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-full border border-cyan-200 bg-cyan-50/70 px-4 py-2 text-xs font-semibold uppercase tracking-[0.18em] text-cyan-700",children:[(0,l.jsx)(eR.CheckCircle2,{className:"h-3.5 w-3.5"}),o("home.how.badge")]}),(0,l.jsx)("h2",{className:"mt-5 text-3xl font-extrabold tracking-tight text-slate-950 sm:text-4xl lg:text-5xl",children:o("home.how.title")}),(0,l.jsx)("p",{className:"mt-4 text-base leading-8 text-slate-600 sm:text-lg",children:o("home.how.subtitle")})]}),(0,l.jsx)("div",{className:"grid grid-cols-1 gap-5 md:grid-cols-3 lg:gap-6",children:v.map(e=>{let t=e.icon;return(0,l.jsxs)("div",{className:"group relative overflow-hidden rounded-[1.75rem] border border-slate-200 bg-white p-6 transition duration-300 hover:-translate-y-1 hover:border-cyan-200 hover:shadow-2xl hover:shadow-blue-100/60 sm:p-7",children:[(0,l.jsx)(t,{className:"pointer-events-none absolute -right-3 -top-3 h-24 w-24 text-slate-50 transition duration-300 group-hover:text-cyan-50","aria-hidden":"true"}),(0,l.jsxs)("div",{className:"relative flex items-center gap-3",children:[(0,l.jsxs)("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-[#2f6bea] text-sm font-bold tracking-wide text-white shadow-lg shadow-blue-200/60",children:["0",e.id]}),(0,l.jsx)("h3",{className:"text-lg font-bold leading-7 text-slate-950 sm:text-xl",children:o(`home.how.steps.${e.id}.title`)})]}),(0,l.jsx)("p",{className:"relative mt-4 text-sm leading-6 text-slate-600",children:o(`home.how.steps.${e.id}.desc`)})]},e.id)})})]})]}),(0,l.jsxs)("section",{id:"choose",className:"relative overflow-hidden bg-[#eef6f8] px-4 py-16 scroll-mt-20 sm:px-6 sm:py-24 lg:px-8",children:[(0,l.jsx)("div",{className:"absolute inset-0 opacity-60 [background-image:radial-gradient(#60a5fa_1px,transparent_1px)] [background-size:30px_30px] [mask-image:linear-gradient(to_bottom,black,transparent_85%)]","aria-hidden":"true"}),(0,l.jsx)("div",{className:"absolute right-[-120px] top-24 h-80 w-80 rounded-full bg-blue-200/40 blur-3xl motion-safe:animate-aurora","aria-hidden":"true"}),(0,l.jsx)("div",{className:"absolute left-[-120px] bottom-10 h-72 w-72 rounded-full bg-cyan-200/35 blur-3xl motion-safe:animate-aurora [animation-delay:-6s]","aria-hidden":"true"}),(0,l.jsx)("div",{className:"pointer-events-none absolute right-[12%] top-16 h-2 w-2 rounded-full bg-cyan-400/60 motion-safe:animate-twinkle","aria-hidden":"true"}),(0,l.jsx)("div",{className:"pointer-events-none absolute left-[8%] top-40 h-1.5 w-1.5 rounded-full bg-blue-500/50 motion-safe:animate-twinkle [animation-delay:-1.5s]","aria-hidden":"true"}),(0,l.jsx)("div",{className:"pointer-events-none absolute right-[20%] bottom-16 h-1.5 w-1.5 rounded-full bg-blue-400/50 motion-safe:animate-twinkle [animation-delay:-2.7s]","aria-hidden":"true"}),(0,l.jsxs)("div",{className:"relative max-w-6xl mx-auto",children:[(0,l.jsxs)("div",{className:"mb-12 grid gap-6 lg:grid-cols-[0.9fr_1.1fr] lg:items-end",children:[(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"relative inline-flex items-center gap-2 overflow-hidden rounded-full border border-cyan-200 bg-white/75 px-4 py-2 text-xs font-semibold uppercase tracking-[0.18em] text-cyan-700 shadow-sm backdrop-blur",children:[(0,l.jsx)("span",{className:"pointer-events-none absolute inset-y-0 -left-1/3 w-1/3 skew-x-[-20deg] bg-gradient-to-r from-transparent via-white/70 to-transparent motion-safe:animate-shimmer","aria-hidden":"true"}),(0,l.jsx)(eX.ShieldCheck,{className:"h-3.5 w-3.5"}),o("home.choose.badge")]}),(0,l.jsx)("h2",{className:"mt-5 text-3xl font-extrabold tracking-tight text-slate-950 sm:text-4xl lg:text-5xl",children:o("home.choose.title")})]}),(0,l.jsx)("p",{className:"text-base leading-8 text-slate-600 sm:text-lg lg:pb-2",children:o("home.choose.subtitle")})]}),(0,l.jsx)("div",{className:"grid grid-cols-1 gap-5 sm:grid-cols-2 lg:gap-6",children:x.map(e=>{let t=e.icon;return(0,l.jsxs)("div",{className:"group relative overflow-hidden rounded-[2rem] border border-white/80 bg-white/75 p-4 shadow-xl shadow-blue-200/25 backdrop-blur transition duration-300 hover:-translate-y-1 hover:bg-white sm:p-5",children:[(0,l.jsx)("div",{className:"pointer-events-none absolute -right-px -top-px h-12 w-12 rounded-tr-[2rem] border-r-2 border-t-2 border-cyan-300/0 transition duration-300 group-hover:border-cyan-300/70","aria-hidden":"true"}),(0,l.jsxs)("div",{className:"grid gap-5 sm:grid-cols-[11rem_1fr] sm:items-center",children:[(0,l.jsxs)("div",{className:"relative overflow-hidden rounded-[1.5rem] bg-slate-50 p-5 ring-1 ring-slate-100",children:[(0,l.jsx)("span",{className:"pointer-events-none absolute inset-y-0 -left-1/3 w-1/3 -skew-x-12 bg-gradient-to-r from-transparent via-white/60 to-transparent opacity-0 transition group-hover:opacity-100 motion-safe:group-hover:animate-shimmer","aria-hidden":"true"}),(0,l.jsx)("div",{className:`absolute left-4 top-4 z-10 flex h-10 w-10 items-center justify-center rounded-2xl bg-gradient-to-br ${e.tone} text-white shadow-lg`,children:(0,l.jsx)(t,{className:"h-5 w-5"})}),(0,l.jsxs)("span",{className:"absolute right-4 top-4 text-2xl font-black leading-none text-slate-200/80",children:["0",e.id]}),(0,l.jsx)("img",{src:`/select-new2/${e.id}.png`,alt:o(`home.choose.features.${e.id}.title`),className:"relative mx-auto h-60 w-full origin-center scale-[1.35] object-contain transition duration-300 group-hover:scale-[1.45] sm:h-44",loading:"lazy",decoding:"async"})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:"text-xs font-semibold uppercase tracking-[0.18em] text-cyan-700",children:o("home.choose.feature_label",{number:e.id})}),(0,l.jsx)("h3",{className:"mt-2 text-xl font-bold text-slate-950",children:o(`home.choose.features.${e.id}.title`)}),(0,l.jsx)("p",{className:"mt-3 text-sm leading-7 text-slate-600",children:o(`home.choose.features.${e.id}.desc`)})]})]})]},e.id)})})]})]}),(0,l.jsxs)("section",{className:"relative overflow-hidden bg-white py-16 lg:py-24",children:[(0,l.jsx)("div",{className:"absolute bottom-0 left-[-120px] h-80 w-80 rounded-full bg-cyan-100/70 blur-3xl motion-safe:animate-aurora","aria-hidden":"true"}),(0,l.jsx)("div",{className:"absolute right-[-120px] top-10 h-72 w-72 rounded-full bg-blue-100/60 blur-3xl motion-safe:animate-aurora [animation-delay:-5s]","aria-hidden":"true"}),(0,l.jsx)("div",{className:"pointer-events-none absolute left-[10%] top-24 h-1.5 w-1.5 rounded-full bg-cyan-400/60 motion-safe:animate-twinkle","aria-hidden":"true"}),(0,l.jsx)("div",{className:"pointer-events-none absolute right-[12%] top-40 h-2 w-2 rounded-full bg-blue-400/50 motion-safe:animate-twinkle [animation-delay:-1.7s]","aria-hidden":"true"}),(0,l.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,l.jsxs)("div",{className:"mx-auto mb-12 max-w-3xl text-center sm:mb-16",children:[(0,l.jsxs)("div",{className:"relative inline-flex items-center gap-2 overflow-hidden rounded-full border border-cyan-200 bg-cyan-50/70 px-4 py-2 text-xs font-semibold uppercase tracking-[0.18em] text-cyan-700",children:[(0,l.jsx)("span",{className:"pointer-events-none absolute inset-y-0 -left-1/3 w-1/3 skew-x-[-20deg] bg-gradient-to-r from-transparent via-white/70 to-transparent motion-safe:animate-shimmer","aria-hidden":"true"}),(0,l.jsx)(eU,{className:"h-3.5 w-3.5"}),o("home.testimonials.badge")]}),(0,l.jsx)("h2",{className:"mt-5 text-3xl font-extrabold tracking-tight text-slate-950 sm:text-4xl lg:text-5xl",children:o("home.testimonials.title")}),(0,l.jsx)("p",{className:"mt-4 text-base leading-8 text-slate-600 sm:text-lg",children:o("home.testimonials.p")})]}),(0,l.jsx)("div",{className:"relative block md:hidden",children:(0,l.jsx)(em,{modules:[ex,ey,ew],loop:!0,spaceBetween:32,slidesPerView:1,pagination:{clickable:!0},navigation:{nextEl:".swiper-button-next-custom",prevEl:".swiper-button-prev-custom"},className:"pb-16",children:b.map(e=>(0,l.jsx)(ef,{className:"h-full pb-16 testimonials-swiper",children:(0,l.jsxs)("div",{className:"relative h-full overflow-hidden rounded-[2rem] border border-slate-200 bg-white p-6 shadow-xl shadow-blue-100/60",children:[(0,l.jsx)("span",{className:"pointer-events-none absolute inset-x-0 top-0 h-1 bg-gradient-to-r from-cyan-400 via-blue-500 to-cyan-400","aria-hidden":"true"}),(0,l.jsx)(eU,{className:"h-8 w-8 text-cyan-500"}),(0,l.jsx)("blockquote",{className:"mt-5 text-slate-700",children:(0,l.jsx)("p",{className:"text-base leading-8",children:o(`home.testimonials.${e.name}.quote`)})}),(0,l.jsxs)("div",{className:"mt-6 flex items-center gap-4 border-t border-slate-100 pt-5",children:[(0,l.jsx)("img",{src:`/avatar/${e.id}.webp`,alt:o(`home.testimonials.${e.name}
3.name`),className:"h-14 w-14 rounded-2xl object-cover",loading:"lazy",decoding:"async"}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"text-base font-bold text-slate-950",children:o(`home.testimonials.${e.name}.name`)}),(0,l.jsx)("div",{className:"text-sm text-slate-500",children:o("home.testimonials.role")})]})]})]})},e.id))})}),(0,l.jsx)("div",{className:"hidden md:grid md:grid-cols-2 md:gap-6",children:b.map(e=>(0,l.jsxs)("div",{className:"group relative overflow-hidden rounded-[2rem] border border-slate-200 bg-white p-7 shadow-xl shadow-blue-100/50 transition duration-300 hover:-translate-y-1 hover:shadow-2xl hover:shadow-blue-200/50",children:[(0,l.jsx)("span",{className:"pointer-events-none absolute inset-x-0 top-0 h-1 origin-start scale-x-0 bg-gradient-to-r from-cyan-400 via-blue-500 to-cyan-400 transition-transform duration-500 group-hover:scale-x-100","aria-hidden":"true"}),(0,l.jsx)("div",{className:"absolute end-6 top-6 text-cyan-100 transition duration-300 group-hover:scale-110 group-hover:text-cyan-200 rtl:-scale-x-100 rtl:group-hover:-scale-x-110",children:(0,l.jsx)(eU,{className:"h-12 w-12"})}),(0,l.jsxs)("div",{className:"relative flex items-center gap-4",children:[(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("span",{className:"pointer-events-none absolute -inset-1 rounded-2xl bg-gradient-to-br from-cyan-300/50 to-blue-400/50 opacity-0 blur transition duration-300 group-hover:opacity-100","aria-hidden":"true"}),(0,l.jsx)("img",{src:`/avatar/${e.id}.webp`,alt:o(`home.testimonials.${e.name}.name`),className:"relative h-16 w-16 rounded-2xl object-cover shadow-lg shadow-slate-200",loading:"lazy",decoding:"async"})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"text-lg font-bold text-slate-950",children:o(`home.testimonials.${e.name}.name`)}),(0,l.jsx)("div",{className:"text-sm text-slate-500",children:o("home.testimonials.role")}),(0,l.jsx)("div",{className:"mt-1 flex gap-0.5 text-amber-400","aria-hidden":"true",children:Array.from({length:5}).map((e,t)=>(0,l.jsx)(eQ.Star,{className:"h-3.5 w-3.5 fill-current"},t))})]})]}),(0,l.jsx)("blockquote",{className:"relative mt-6 text-slate-700",children:(0,l.jsx)("p",{className:"leading-8",children:o(`home.testimonials.${e.name}.quote`)})})]},e.id))})]})]}),(0,l.jsxs)("section",{className:"relative overflow-hidden bg-[#eef6f8] px-4 py-16 sm:px-6 sm:py-24 lg:px-8",children:[(0,l.jsx)("div",{className:"absolute left-[-140px] top-10 h-80 w-80 rounded-full bg-emerald-200/40 blur-3xl motion-safe:animate-aurora","aria-hidden":"true"}),(0,l.jsx)("div",{className:"absolute right-[-120px] bottom-0 h-80 w-80 rounded-full bg-cyan-200/40 blur-3xl motion-safe:animate-aurora [animation-delay:-5s]","aria-hidden":"true"}),(0,l.jsx)("div",{className:"absolute inset-0 opacity-50 [background-image:radial-gradient(#34d399_1px,transparent_1px)] [background-size:32px_32px] [mask-image:linear-gradient(to_bottom,black,transparent_82%)]","aria-hidden":"true"}),(0,l.jsx)(eG,{className:"pointer-events-none absolute left-[10%] top-20 h-5 w-5 rotate-12 text-emerald-400/40 motion-safe:animate-float-y","aria-hidden":"true"}),(0,l.jsx)(eG,{className:"pointer-events-none absolute right-[14%] top-32 h-4 w-4 -rotate-12 text-teal-400/40 motion-safe:animate-float-y [animation-delay:-3s]","aria-hidden":"true"}),(0,l.jsx)("div",{className:"pointer-events-none absolute right-[24%] top-16 h-1.5 w-1.5 rounded-full bg-emerald-500/50 motion-safe:animate-twinkle","aria-hidden":"true"}),(0,l.jsx)("div",{className:"pointer-events-none absolute left-[20%] bottom-20 h-2 w-2 rounded-full bg-cyan-400/50 motion-safe:animate-twinkle [animation-delay:-1.7s]","aria-hidden":"true"}),(0,l.jsxs)("div",{className:"relative mx-auto grid max-w-6xl items-center gap-10 lg:grid-cols-[1.05fr_0.95fr] lg:gap-14",children:[(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"relative inline-flex items-center gap-2 overflow-hidden rounded-full border border-emerald-200 bg-white/75 px-4 py-2 text-xs font-semibold uppercase tracking-[0.18em] text-emerald-700 shadow-sm backdrop-blur",children:[(0,l.jsx)("span",{className:"pointer-events-none absolute inset-y-0 -left-1/3 w-1/3 skew-x-[-20deg] bg-gradient-to-r from-transparent via-white/70 to-transparent motion-safe:animate-shimmer","aria-hidden":"true"}),(0,l.jsx)(eG,{className:"h-3.5 w-3.5 motion-safe:animate-twinkle"}),o("home.eco.badge")]}),(0,l.jsx)("h2",{className:"mt-5 text-3xl font-extrabold tracking-tight text-slate-950 sm:text-4xl lg:text-5xl",children:o("home.eco.title")}),(0,l.jsx)("p",{className:"mt-5 max-w-2xl text-base leading-8 text-slate-600 sm:text-lg",children:o("home.eco.subtitle")}),(0,l.jsx)("div",{className:"mt-8 grid gap-3 sm:grid-cols-3",children:y.map(e=>{let t=e.icon;return(0,l.jsxs)("div",{className:"group rounded-2xl border border-white/80 bg-white/75 p-4 shadow-lg shadow-emerald-100/50 backdrop-blur transition duration-300 hover:-translate-y-1 hover:bg-white hover:shadow-xl hover:shadow-emerald-200/50",children:[(0,l.jsxs)("div",{className:"relative flex h-10 w-10 items-center justify-center rounded-2xl bg-emerald-50 text-emerald-600 ring-1 ring-emerald-100 transition group-hover:bg-emerald-600 group-hover:text-white",children:[(0,l.jsx)("span",{className:"absolute inset-0 rounded-2xl bg-emerald-300/50 opacity-0 transition group-hover:opacity-100 motion-safe:group-hover:animate-ping-ring","aria-hidden":"true"}),(0,l.jsx)(t,{className:"relative h-5 w-5"})]}),(0,l.jsx)("h3",{className:"mt-4 text-base font-bold text-slate-950",children:o(`home.eco.highlights.${e.key}.title`)}),(0,l.jsx)("p",{className:"mt-2 text-sm leading-6 text-slate-600",children:o(`home.eco.highlights.${e.key}.desc`)})]},e.key)})})]}),(0,l.jsxs)("div",{className:"relative mx-auto w-full max-w-[430px]",children:[(0,l.jsx)("div",{className:"absolute left-1/2 top-1/2 h-80 w-80 -translate-x-1/2 -translate-y-1/2 roun
3ded-full bg-emerald-300/25 blur-3xl","aria-hidden":"true"}),(0,l.jsxs)("div",{className:"relative overflow-hidden rounded-[2.25rem] border border-white/80 bg-white/80 p-6 shadow-2xl shadow-emerald-200/40 backdrop-blur",children:[(0,l.jsx)("div",{className:"pointer-events-none absolute -left-px -top-px h-10 w-10 rounded-tl-[2.25rem] border-l-2 border-t-2 border-emerald-300/70","aria-hidden":"true"}),(0,l.jsx)("div",{className:"pointer-events-none absolute -right-px -bottom-px h-10 w-10 rounded-br-[2.25rem] border-b-2 border-r-2 border-teal-300/70","aria-hidden":"true"}),(0,l.jsxs)("div",{className:"relative overflow-hidden rounded-[1.75rem] bg-gradient-to-br from-emerald-600 via-teal-600 to-slate-900 p-6 text-white shadow-inner",children:[(0,l.jsx)("div",{className:"pointer-events-none absolute inset-0 opacity-25 [background-image:radial-gradient(#ffffff_1px,transparent_1px)] [background-size:18px_18px]","aria-hidden":"true"}),(0,l.jsxs)("div",{className:"relative flex items-start justify-between gap-4",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:"text-xs font-semibold uppercase tracking-[0.18em] text-emerald-100",children:"eSIM.CC"}),(0,l.jsx)("p",{className:"mt-2 text-2xl font-black tracking-tight",children:o("home.eco.card_title")})]}),(0,l.jsx)("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center rounded-2xl bg-white/15 text-emerald-100 ring-1 ring-white/20",children:(0,l.jsx)(eJ,{className:"h-6 w-6 motion-safe:animate-float-y-sm"})})]}),(0,l.jsxs)("div",{className:"relative mt-8 grid grid-cols-2 gap-3",children:[(0,l.jsxs)("div",{className:"rounded-2xl bg-white/12 p-4 ring-1 ring-white/15",children:[(0,l.jsx)("p",{className:"text-xs text-emerald-100",children:o("home.eco.card_left_label")}),(0,l.jsx)("p",{className:"mt-2 text-3xl font-black",children:"0"})]}),(0,l.jsxs)("div",{className:"rounded-2xl bg-white/12 p-4 ring-1 ring-white/15",children:[(0,l.jsx)("p",{className:"text-xs text-emerald-100",children:o("home.eco.card_right_label")}),(0,l.jsx)("p",{className:"mt-2 text-3xl font-black",children:"100%"})]})]})]}),(0,l.jsx)("div",{className:"mt-5 rounded-2xl border border-emerald-100 bg-emerald-50/80 p-4 text-sm font-semibold leading-6 text-emerald-800",children:o("home.eco.card_note")})]})]})]})]}),(0,l.jsx)("section",{className:"bg-gray-50 py-16 lg:py-24 hidden",children:(0,l.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,l.jsxs)("div",{className:"text-center mb-12",children:[(0,l.jsx)("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:o("home.faq.title")}),(0,l.jsx)("p",{className:"mt-4 text-lg text-gray-600",children:o("home.faq.subtitle")})]}),(0,l.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 lg:gap-8 items-start",children:[{q:o("home.faq.q1"),a:o("home.faq.a1"),id:"1"},{q:o("home.faq.q2"),a:o("home.faq.a2"),id:"2"},{q:o("home.faq.q3"),a:o("home.faq.a3"),id:"3"},{q:o("home.faq.q4"),a:o("home.faq.a4"),id:"4"},{q:o("home.faq.q5"),a:o("home.faq.a5"),id:"5"},{q:o("home.faq.q6"),a:o("home.faq.a6"),id:"6"},{q:o("home.faq.q7"),a:o("home.faq.a7"),id:"7"},{q:o("home.faq.q8"),a:o("home.faq.a8"),id:"8"}].map(({q:e,a:t,id:i})=>(0,l.jsxs)("details",{className:"mb-6 lg:mb-8 break-inside-avoid bg-white rounded-xl shadow-lg p-0 group   [page-break-inside:avoid] [-webkit-column-break-inside:avoid]",children:[(0,l.jsxs)("summary",{className:"list-none cursor-pointer select-none rounded-xl px-6 lg:px-8 py-4   flex items-start justify-between gap-4","aria-controls":`faq-panel-${i}`,children:[(0,l.jsx)("h3",{className:"text-base font-semibold text-blue-600",children:e}),(0,l.jsx)("span",{className:"shrink-0 mt-0.5 inline-flex h-6 w-6 items-center justify-center rounded-full text-gray-600","aria-hidden":"true",title:e,children:(0,l.jsx)(eB.ChevronDown,{className:"h-5 w-5 text-black font-extrabold"})})]}),(0,l.jsx)("div",{id:`faq-panel-${i}`,className:"px-6 lg:px-8 pb-6",children:(0,l.jsx)("p",{className:"text-sm text-gray-700 leading-relaxed",children:t})})]},i))}),(0,l.jsx)("div",{className:"mt-10 text-center text-sm text-gray-500",children:(0,l.jsxs)("span",{className:"inline-flex items-center justify-center px-4 py-2 rounded-full bg-white shadow-sm border border-gray-100",children:[(0,l.jsx)("a",{href:"/faq",className:"mr-2",children:o("home.faq.more_help")}),(0,l.jsx)("a",{href:"mailto:[email protected]",className:"font-medium text-blue-600 hover:text-blue-700",children:"[email protected]"})]})})]})}),(0,l.jsx)(n5,{}),(0,l.jsx)(nJ,{}),(0,l.jsx)(eT.Footer,{lang:e})]})}e.s(["default",()=>n8],213334)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.