var Do=Object.defineProperty;var Io=(r,e,i)=>e in r?Do(r,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[e]=i;var P=(r,e,i)=>Io(r,typeof e!="symbol"?e+"":e,i);import{e as Ro,c as No,m as Ce,a as Fo,b as _i,d as zo,n as Bo,f as qo,g as On,S as Yi,h as Gi,i as Xn,j as $r}from"./lib-S80rtD25.js";class Ho{constructor(){P(this,"namespace","backtop");P(this,"buttons");this.buttons=document.querySelectorAll(".back-top")}start(){this.setEventListeners()}setEventListeners(){var e;(e=this.buttons)==null||e.forEach(i=>{i.addEventListener("click",t=>{t&&t.preventDefault(),window.scrollTo(0,0)})})}}function Wi(r,e,i,t){return r.params.createElements&&Object.keys(t).forEach(n=>{if(!i[n]&&i.auto===!0){let o=Ro(r.el,`.${t[n]}`)[0];o||(o=No("div",t[n]),o.className=t[n],r.el.append(o)),i[n]=o,e[n]=o}}),i}function $o(r){let{swiper:e,extendParams:i,on:t,emit:n}=r;i({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};function o(g){let w;return g&&typeof g=="string"&&e.isElement&&(w=e.el.querySelector(g)||e.hostEl.querySelector(g),w)?w:(g&&(typeof g=="string"&&(w=[...document.querySelectorAll(g)]),e.params.uniqueNavElements&&typeof g=="string"&&w&&w.length>1&&e.el.querySelectorAll(g).length===1?w=e.el.querySelector(g):w&&w.length===1&&(w=w[0])),g&&!w?g:w)}function a(g,w){const b=e.params.navigation;g=Ce(g),g.forEach(C=>{C&&(C.classList[w?"add":"remove"](...b.disabledClass.split(" ")),C.tagName==="BUTTON"&&(C.disabled=w),e.params.watchOverflow&&e.enabled&&C.classList[e.isLocked?"add":"remove"](b.lockClass))})}function s(){const{nextEl:g,prevEl:w}=e.navigation;if(e.params.loop){a(w,!1),a(g,!1);return}a(w,e.isBeginning&&!e.params.rewind),a(g,e.isEnd&&!e.params.rewind)}function f(g){g.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),n("navigationPrev"))}function y(g){g.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),n("navigationNext"))}function p(){const g=e.params.navigation;if(e.params.navigation=Wi(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(g.nextEl||g.prevEl))return;let w=o(g.nextEl),b=o(g.prevEl);Object.assign(e.navigation,{nextEl:w,prevEl:b}),w=Ce(w),b=Ce(b);const C=(c,h)=>{c&&c.addEventListener("click",h==="next"?y:f),!e.enabled&&c&&c.classList.add(...g.lockClass.split(" "))};w.forEach(c=>C(c,"next")),b.forEach(c=>C(c,"prev"))}function v(){let{nextEl:g,prevEl:w}=e.navigation;g=Ce(g),w=Ce(w);const b=(C,c)=>{C.removeEventListener("click",c==="next"?y:f),C.classList.remove(...e.params.navigation.disabledClass.split(" "))};g.forEach(C=>b(C,"next")),w.forEach(C=>b(C,"prev"))}t("init",()=>{e.params.navigation.enabled===!1?u():(p(),s())}),t("toEdge fromEdge lock unlock",()=>{s()}),t("destroy",()=>{v()}),t("enable disable",()=>{let{nextEl:g,prevEl:w}=e.navigation;if(g=Ce(g),w=Ce(w),e.enabled){s();return}[...g,...w].filter(b=>!!b).forEach(b=>b.classList.add(e.params.navigation.lockClass))}),t("click",(g,w)=>{let{nextEl:b,prevEl:C}=e.navigation;b=Ce(b),C=Ce(C);const c=w.target;let h=C.includes(c)||b.includes(c);if(e.isElement&&!h){const _=w.path||w.composedPath&&w.composedPath();_&&(h=_.find(A=>b.includes(A)||C.includes(A)))}if(e.params.navigation.hideOnClick&&!h){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===c||e.pagination.el.contains(c)))return;let _;b.length?_=b[0].classList.contains(e.params.navigation.hiddenClass):C.length&&(_=C[0].classList.contains(e.params.navigation.hiddenClass)),n(_===!0?"navigationShow":"navigationHide"),[...b,...C].filter(A=>!!A).forEach(A=>A.classList.toggle(e.params.navigation.hiddenClass))}});const m=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),p(),s()},u=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),v()};Object.assign(e.navigation,{enable:m,disable:u,update:s,init:p,destroy:v})}function xr(r){return r===void 0&&(r=""),`.${r.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Xo(r){let{swiper:e,extendParams:i,on:t,emit:n}=r;const o="swiper-pagination";i({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:c=>c,formatFractionTotal:c=>c,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),e.pagination={el:null,bullets:[]};let a,s=0;function f(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function y(c,h){const{bulletActiveClass:_}=e.params.pagination;c&&(c=c[`${h==="prev"?"previous":"next"}ElementSibling`],c&&(c.classList.add(`${_}-${h}`),c=c[`${h==="prev"?"previous":"next"}ElementSibling`],c&&c.classList.add(`${_}-${h}-${h}`)))}function p(c,h,_){if(c=c%_,h=h%_,h===c+1)return"next";if(h===c-1)return"previous"}function v(c){const h=c.target.closest(xr(e.params.pagination.bulletClass));if(!h)return;c.preventDefault();const _=_i(h)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===_)return;const A=p(e.realIndex,_,e.slides.length);A==="next"?e.slideNext():A==="previous"?e.slidePrev():e.slideToLoop(_)}else e.slideTo(_)}function m(){const c=e.rtl,h=e.params.pagination;if(f())return;let _=e.pagination.el;_=Ce(_);let A,D;const T=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,J=e.params.loop?Math.ceil(T/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(D=e.previousRealIndex||0,A=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(A=e.snapIndex,D=e.previousSnapIndex):(D=e.previousIndex||0,A=e.activeIndex||0),h.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const I=e.pagination.bullets;let E,X,k;if(h.dynamicBullets&&(a=Fo(I[0],e.isHorizontal()?"width":"height"),_.forEach(V=>{V.style[e.isHorizontal()?"width":"height"]=`${a*(h.dynamicMainBullets+4)}px`}),h.dynamicMainBullets>1&&D!==void 0&&(s+=A-(D||0),s>h.dynamicMainBullets-1?s=h.dynamicMainBullets-1:s<0&&(s=0)),E=Math.max(A-s,0),X=E+(Math.min(I.length,h.dynamicMainBullets)-1),k=(X+E)/2),I.forEach(V=>{const z=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(W=>`${h.bulletActiveClass}${W}`)].map(W=>typeof W=="string"&&W.includes(" ")?W.split(" "):W).flat();V.classList.remove(...z)}),_.length>1)I.forEach(V=>{const z=_i(V);z===A?V.classList.add(...h.bulletActiveClass.split(" ")):e.isElement&&V.setAttribute("part","bullet"),h.dynamicBullets&&(z>=E&&z<=X&&V.classList.add(...`${h.bulletActiveClass}-main`.split(" ")),z===E&&y(V,"prev"),z===X&&y(V,"next"))});else{const V=I[A];if(V&&V.classList.add(...h.bulletActiveClass.split(" ")),e.isElement&&I.forEach((z,W)=>{z.setAttribute("part",W===A?"bullet-active":"bullet")}),h.dynamicBullets){const z=I[E],W=I[X];for(let re=E;re<=X;re+=1)I[re]&&I[re].classList.add(...`${h.bulletActiveClass}-main`.split(" "));y(z,"prev"),y(W,"next")}}if(h.dynamicBullets){const V=Math.min(I.length,h.dynamicMainBullets+4),z=(a*V-a)/2-k*a,W=c?"right":"left";I.forEach(re=>{re.style[e.isHorizontal()?W:"top"]=`${z}px`})}}_.forEach((I,E)=>{if(h.type==="fraction"&&(I.querySelectorAll(xr(h.currentClass)).forEach(X=>{X.textContent=h.formatFractionCurrent(A+1)}),I.querySelectorAll(xr(h.totalClass)).forEach(X=>{X.textContent=h.formatFractionTotal(J)})),h.type==="progressbar"){let X;h.progressbarOpposite?X=e.isHorizontal()?"vertical":"horizontal":X=e.isHorizontal()?"horizontal":"vertical";const k=(A+1)/J;let V=1,z=1;X==="horizontal"?V=k:z=k,I.querySelectorAll(xr(h.progressbarFillClass)).forEach(W=>{W.style.transform=`translate3d(0,0,0) scaleX(${V}) scaleY(${z})`,W.style.transitionDuration=`${e.params.speed}ms`})}h.type==="custom"&&h.renderCustom?(I.innerHTML=h.renderCustom(e,A+1,J),E===0&&n("paginationRender",I)):(E===0&&n("paginationRender",I),n("paginationUpdate",I)),e.params.watchOverflow&&e.enabled&&I.classList[e.isLocked?"add":"remove"](h.lockClass)})}function u(){const c=e.params.pagination;if(f())return;const h=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;let _=e.pagination.el;_=Ce(_);let A="";if(c.type==="bullets"){let D=e.params.loop?Math.ceil(h/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&D>h&&(D=h);for(let T=0;T<D;T+=1)c.renderBullet?A+=c.renderBullet.call(e,T,c.bulletClass):A+=`<${c.bulletElement} ${e.isElement?'part="bullet"':""} class="${c.bulletClass}"></${c.bulletElement}>`}c.type==="fraction"&&(c.renderFraction?A=c.renderFraction.call(e,c.currentClass,c.totalClass):A=`<span class="${c.currentClass}"></span> / <span class="${c.totalClass}"></span>`),c.type==="progressbar"&&(c.renderProgressbar?A=c.renderProgressbar.call(e,c.progressbarFillClass):A=`<span class="${c.progressbarFillClass}"></span>`),e.pagination.bullets=[],_.forEach(D=>{c.type!=="custom"&&(D.innerHTML=A||""),c.type==="bullets"&&e.pagination.bullets.push(...D.querySelectorAll(xr(c.bulletClass)))}),c.type!=="custom"&&n("paginationRender",_[0])}function g(){e.params.pagination=Wi(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const c=e.params.pagination;if(!c.el)return;let h;typeof c.el=="string"&&e.isElement&&(h=e.el.querySelector(c.el)),!h&&typeof c.el=="string"&&(h=[...document.querySelectorAll(c.el)]),h||(h=c.el),!(!h||h.length===0)&&(e.params.uniqueNavElements&&typeof c.el=="string"&&Array.isArray(h)&&h.length>1&&(h=[...e.el.querySelectorAll(c.el)],h.length>1&&(h=h.filter(_=>zo(_,".swiper")[0]===e.el)[0])),Array.isArray(h)&&h.length===1&&(h=h[0]),Object.assign(e.pagination,{el:h}),h=Ce(h),h.forEach(_=>{c.type==="bullets"&&c.clickable&&_.classList.add(...(c.clickableClass||"").split(" ")),_.classList.add(c.modifierClass+c.type),_.classList.add(e.isHorizontal()?c.horizontalClass:c.verticalClass),c.type==="bullets"&&c.dynamicBullets&&(_.classList.add(`${c.modifierClass}${c.type}-dynamic`),s=0,c.dynamicMainBullets<1&&(c.dynamicMainBullets=1)),c.type==="progressbar"&&c.progressbarOpposite&&_.classList.add(c.progressbarOppositeClass),c.clickable&&_.addEventListener("click",v),e.enabled||_.classList.add(c.lockClass)}))}function w(){const c=e.params.pagination;if(f())return;let h=e.pagination.el;h&&(h=Ce(h),h.forEach(_=>{_.classList.remove(c.hiddenClass),_.classList.remove(c.modifierClass+c.type),_.classList.remove(e.isHorizontal()?c.horizontalClass:c.verticalClass),c.clickable&&(_.classList.remove(...(c.clickableClass||"").split(" ")),_.removeEventListener("click",v))})),e.pagination.bullets&&e.pagination.bullets.forEach(_=>_.classList.remove(...c.bulletActiveClass.split(" ")))}t("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const c=e.params.pagination;let{el:h}=e.pagination;h=Ce(h),h.forEach(_=>{_.classList.remove(c.horizontalClass,c.verticalClass),_.classList.add(e.isHorizontal()?c.horizontalClass:c.verticalClass)})}),t("init",()=>{e.params.pagination.enabled===!1?C():(g(),u(),m())}),t("activeIndexChange",()=>{typeof e.snapIndex>"u"&&m()}),t("snapIndexChange",()=>{m()}),t("snapGridLengthChange",()=>{u(),m()}),t("destroy",()=>{w()}),t("enable disable",()=>{let{el:c}=e.pagination;c&&(c=Ce(c),c.forEach(h=>h.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),t("lock unlock",()=>{m()}),t("click",(c,h)=>{const _=h.target,A=Ce(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&A&&A.length>0&&!_.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&_===e.navigation.nextEl||e.navigation.prevEl&&_===e.navigation.prevEl))return;const D=A[0].classList.contains(e.params.pagination.hiddenClass);n(D===!0?"paginationShow":"paginationHide"),A.forEach(T=>T.classList.toggle(e.params.pagination.hiddenClass))}});const b=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:c}=e.pagination;c&&(c=Ce(c),c.forEach(h=>h.classList.remove(e.params.pagination.paginationDisabledClass))),g(),u(),m()},C=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:c}=e.pagination;c&&(c=Ce(c),c.forEach(h=>h.classList.add(e.params.pagination.paginationDisabledClass))),w()};Object.assign(e.pagination,{enable:b,disable:C,render:u,update:m,init:g,destroy:w})}function Ui(r){let{swiper:e,extendParams:i,on:t}=r;i({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0};function n(y,p){const v=function(){let w,b,C;return(c,h)=>{for(b=-1,w=c.length;w-b>1;)C=w+b>>1,c[C]<=h?b=C:w=C;return w}}();this.x=y,this.y=p,this.lastIndex=y.length-1;let m,u;return this.interpolate=function(w){return w?(u=v(this.x,w),m=u-1,(w-this.x[m])*(this.y[u]-this.y[m])/(this.x[u]-this.x[m])+this.y[m]):0},this}function o(y){e.controller.spline=e.params.loop?new n(e.slidesGrid,y.slidesGrid):new n(e.snapGrid,y.snapGrid)}function a(y,p){const v=e.controller.control;let m,u;const g=e.constructor;function w(b){if(b.destroyed)return;const C=e.rtlTranslate?-e.translate:e.translate;e.params.controller.by==="slide"&&(o(b),u=-e.controller.spline.interpolate(-C)),(!u||e.params.controller.by==="container")&&(m=(b.maxTranslate()-b.minTranslate())/(e.maxTranslate()-e.minTranslate()),(Number.isNaN(m)||!Number.isFinite(m))&&(m=1),u=(C-e.minTranslate())*m+b.minTranslate()),e.params.controller.inverse&&(u=b.maxTranslate()-u),b.updateProgress(u),b.setTranslate(u,e),b.updateActiveIndex(),b.updateSlidesClasses()}if(Array.isArray(v))for(let b=0;b<v.length;b+=1)v[b]!==p&&v[b]instanceof g&&w(v[b]);else v instanceof g&&p!==v&&w(v)}function s(y,p){const v=e.constructor,m=e.controller.control;let u;function g(w){w.destroyed||(w.setTransition(y,e),y!==0&&(w.transitionStart(),w.params.autoHeight&&Bo(()=>{w.updateAutoHeight()}),qo(w.wrapperEl,()=>{m&&w.transitionEnd()})))}if(Array.isArray(m))for(u=0;u<m.length;u+=1)m[u]!==p&&m[u]instanceof v&&g(m[u]);else m instanceof v&&p!==m&&g(m)}function f(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}t("beforeInit",()=>{if(typeof window<"u"&&(typeof e.params.controller.control=="string"||e.params.controller.control instanceof HTMLElement)){(typeof e.params.controller.control=="string"?[...document.querySelectorAll(e.params.controller.control)]:[e.params.controller.control]).forEach(p=>{if(e.controller.control||(e.controller.control=[]),p&&p.swiper)e.controller.control.push(p.swiper);else if(p){const v=`${e.params.eventsPrefix}init`,m=u=>{e.controller.control.push(u.detail[0]),e.update(),p.removeEventListener(v,m)};p.addEventListener(v,m)}});return}e.controller.control=e.params.controller.control}),t("update",()=>{f()}),t("resize",()=>{f()}),t("observerUpdate",()=>{f()}),t("setTranslate",(y,p,v)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTranslate(p,v)}),t("setTransition",(y,p,v)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTransition(p,v)}),Object.assign(e.controller,{setTranslate:a,setTransition:s})}function Yo(r){let{swiper:e,extendParams:i,on:t,emit:n,params:o}=r;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let a,s,f=o&&o.autoplay?o.autoplay.delay:3e3,y=o&&o.autoplay?o.autoplay.delay:3e3,p,v=new Date().getTime(),m,u,g,w,b,C,c;function h(M){!e||e.destroyed||!e.wrapperEl||M.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",h),!(c||M.detail&&M.detail.bySwiperTouchMove)&&E())}const _=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?m=!0:m&&(y=p,m=!1);const M=e.autoplay.paused?p:v+y-new Date().getTime();e.autoplay.timeLeft=M,n("autoplayTimeLeft",M,M/f),s=requestAnimationFrame(()=>{_()})},A=()=>{let M;return e.virtual&&e.params.virtual.enabled?M=e.slides.filter(l=>l.classList.contains("swiper-slide-active"))[0]:M=e.slides[e.activeIndex],M?parseInt(M.getAttribute("data-swiper-autoplay"),10):void 0},D=M=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(s),_();let K=typeof M>"u"?e.params.autoplay.delay:M;f=e.params.autoplay.delay,y=e.params.autoplay.delay;const l=A();!Number.isNaN(l)&&l>0&&typeof M>"u"&&(K=l,f=l,y=l),p=K;const ee=e.params.speed,pt=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(ee,!0,!0),n("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,ee,!0,!0),n("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(ee,!0,!0),n("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,ee,!0,!0),n("autoplay")),e.params.cssMode&&(v=new Date().getTime(),requestAnimationFrame(()=>{D()})))};return K>0?(clearTimeout(a),a=setTimeout(()=>{pt()},K)):requestAnimationFrame(()=>{pt()}),K},T=()=>{v=new Date().getTime(),e.autoplay.running=!0,D(),n("autoplayStart")},J=()=>{e.autoplay.running=!1,clearTimeout(a),cancelAnimationFrame(s),n("autoplayStop")},I=(M,K)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(a),M||(C=!0);const l=()=>{n("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",h):E()};if(e.autoplay.paused=!0,K){b&&(p=e.params.autoplay.delay),b=!1,l();return}p=(p||e.params.autoplay.delay)-(new Date().getTime()-v),!(e.isEnd&&p<0&&!e.params.loop)&&(p<0&&(p=0),l())},E=()=>{e.isEnd&&p<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(v=new Date().getTime(),C?(C=!1,D(p)):D(),e.autoplay.paused=!1,n("autoplayResume"))},X=()=>{if(e.destroyed||!e.autoplay.running)return;const M=On();M.visibilityState==="hidden"&&(C=!0,I(!0)),M.visibilityState==="visible"&&E()},k=M=>{M.pointerType==="mouse"&&(C=!0,c=!0,!(e.animating||e.autoplay.paused)&&I(!0))},V=M=>{M.pointerType==="mouse"&&(c=!1,e.autoplay.paused&&E())},z=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",k),e.el.addEventListener("pointerleave",V))},W=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",k),e.el.removeEventListener("pointerleave",V))},re=()=>{On().addEventListener("visibilitychange",X)},Q=()=>{On().removeEventListener("visibilitychange",X)};t("init",()=>{e.params.autoplay.enabled&&(z(),re(),T())}),t("destroy",()=>{W(),Q(),e.autoplay.running&&J()}),t("_freeModeStaticRelease",()=>{(g||C)&&E()}),t("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?J():I(!0,!0)}),t("beforeTransitionStart",(M,K,l)=>{e.destroyed||!e.autoplay.running||(l||!e.params.autoplay.disableOnInteraction?I(!0,!0):J())}),t("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){J();return}u=!0,g=!1,C=!1,w=setTimeout(()=>{C=!0,g=!0,I(!0)},200)}}),t("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!u)){if(clearTimeout(w),clearTimeout(a),e.params.autoplay.disableOnInteraction){g=!1,u=!1;return}g&&e.params.cssMode&&E(),g=!1,u=!1}}),t("slideChange",()=>{e.destroyed||!e.autoplay.running||(b=!0)}),Object.assign(e.autoplay,{start:T,stop:J,pause:I,resume:E})}class Vi{constructor(){P(this,"selector",".component--carousel");P(this,"swiper",".swiper");P(this,"pagination",".swiper-pagination");P(this,"previous",".swiper-button-prev");P(this,"next",".swiper-button-next");P(this,"namespace","carousel");P(this,"initTimeout",1800);P(this,"carouselBaseConfigurations",{modules:[Xo,$o,Ui],init:!1});P(this,"carouselConfigurations",{slidesPerView:1,speed:800,breakpoints:{768:{slidesPerView:2},1024:{slidesPerView:3}}});P(this,"elements");P(this,"instances",[])}start(){this.setElements(),this.bootstrap()}setElements(){this.elements=document.querySelectorAll(this.selector)}bootstrap(){var e;this.carouselConfigurations.autoplay&&((e=this.carouselBaseConfigurations.modules)==null||e.push(Yo)),this.bootstrapCarousels()}bootstrapCarousels(){var e;(e=this.elements)==null||e.forEach(i=>{var f;const t=i.querySelector(this.swiper),n=i.querySelector(this.pagination),o=i.querySelector(this.previous),a=i.querySelector(this.next),s={...this.carouselBaseConfigurations,...this.carouselConfigurations,on:{resize:y=>{y.isLocked?i.classList.add("carousel-is-locked"):i.classList.remove("carousel-is-locked")}}};if(n instanceof HTMLElement&&(s.pagination={el:n,type:"progressbar"}),o instanceof HTMLElement&&a instanceof HTMLElement&&(s.navigation={prevEl:o,nextEl:a}),t instanceof HTMLElement){const y=new Yi(t,s);y.init(),(f=y.autoplay)==null||f.stop(),this.instances.push(y),setTimeout(()=>{var p;(p=y.autoplay)==null||p.start()},this.initTimeout)}})}}class Go{constructor(){P(this,"namespace","domain-navigation");P(this,"element");this.element=document.querySelector(".domain-navigation--items")}start(){var t;const i=Math.random()<.5?"reverse":"normal";(t=this.element)==null||t.classList.add(i)}}class Wo{constructor(){P(this,"namespace","team");P(this,"navigations");P(this,"elements")}start(){this.elements=document.querySelectorAll(".form-wrapper form"),this.navigations=document.querySelectorAll(".form--contact-navigation a"),this.bootstrapNavigations(),this.bootstrapForms()}bootstrapNavigations(){var e;(e=this.navigations)==null||e.forEach(i=>{i.addEventListener("click",t=>{var a;t.preventDefault();const n=i.getAttribute("href"),o=document.querySelectorAll(".form-wrapper");if(n){const s=document.querySelector(n);(a=this.navigations)==null||a.forEach(f=>{f.classList.remove("active")}),o==null||o.forEach(f=>{f.classList.remove("active")}),i.classList.add("active"),s==null||s.classList.add("active"),window.location.hash=n}})})}bootstrapForms(){var e;(e=this.elements)==null||e.forEach(i=>{const t=i.querySelector(".form-messages");this.bootstrapFakeFileFields(i.querySelectorAll(".form-file")),i.addEventListener("submit",async n=>{n.preventDefault();const o=new FormData(i),a=new Request(i.action);this.resetFormFieldsErrors(i),i.classList.add("processing");try{const f=await(await fetch(a,{method:"POST",headers:new window.Headers({"X-Requested-With":"XMLHttpRequest",Accept:"application/json","X-Allow-Partial":"yes"}),mode:"cors",cache:"default",body:o,credentials:"same-origin"})).json(),{message:y,errorsPerForm:p}=f;y&&t&&(t.textContent=y),p&&Object.keys(p).forEach(v=>{const m=i.querySelector(`.form-${v.replace("_","-")}`);if(m instanceof HTMLElement){const u=document.createElement("div");u.classList.add("error-message"),u.textContent=p[v],m.classList.add("has-error"),m.appendChild(u)}}),i.classList.remove("processing")}catch{i.classList.remove("processing")}})})}bootstrapFakeFileFields(e){e.forEach(i=>{const t=i.querySelector("input"),n=i.querySelector(".state"),o=(n==null?void 0:n.textContent)||"Select a file";t==null||t.addEventListener("change",({target:a})=>{let s;t.files&&t.files.length>1?s=(a.getAttribute("data-multiple-caption")||"").replace("{count}",t.files.length.toString()):s=a.value.split("\\").pop(),n&&(n.textContent=s||o)})})}resetFormFieldsErrors(e){const i=e.querySelectorAll(".form-group"),t=e.querySelector(".form-messages");i.forEach(n=>{var o;n.classList.remove("has-error"),(o=n.querySelector(".error-message"))==null||o.remove()}),t&&(t.textContent="")}handleFieldsChange(e){e.querySelectorAll(".form-group").forEach(t=>{const n=t.querySelector("input, textarea");n==null||n.addEventListener("change",()=>{const o=t.querySelector(".error-message");o&&o.remove()})})}}class Uo extends Vi{constructor(){super(...arguments);P(this,"namespace","hero-carousel");P(this,"selector",".component--hero-carousel");P(this,"controlledSwiper",".component--hero-carousel-right .swiper");P(this,"carouselConfigurations",{slidesPerView:1,speed:800,autoplay:{delay:3e3}});P(this,"controlledElement")}setElements(){super.setElements(),this.controlledElement=document.querySelector(this.controlledSwiper)}bootstrap(){super.bootstrap(),this.bootStrapControlledCarousel()}bootStrapControlledCarousel(){var i,t,n;if(this.controlledElement){const o=new Yi(this.controlledElement,{...this.carouselConfigurations,modules:[Ui],controller:{control:(i=this.instances)==null?void 0:i[0]},init:!1});o&&this.instances&&this.instances.length&&(this.instances[0].controller.control=o),(t=document.querySelector(this.selector))==null||t.addEventListener("mouseenter",()=>{var a,s;(s=(a=this.instances)==null?void 0:a[0].autoplay)==null||s.stop()}),(n=document.querySelector(this.selector))==null||n.addEventListener("mouseleave",()=>{var a,s;(s=(a=this.instances)==null?void 0:a[0].autoplay)==null||s.start()}),o.init()}}}class Vo{constructor(){P(this,"namespace","imagelazyload");P(this,"elements");this.elements=document.querySelectorAll("img.lazyload")}start(){this.setEventListeners()}setEventListeners(){var e;(e=this.elements)==null||e.forEach(i=>{var o,a;const t=(o=i.parentNode)==null?void 0:o.querySelectorAll("source"),n=(a=i.parentNode)==null?void 0:a.querySelector("img");n==null||n.addEventListener("load",()=>{i.classList.remove("lazyload")}),n&&n.dataset.src&&n.setAttribute("src",n.dataset.src),t==null||t.forEach(s=>{s.dataset.srcset&&s.setAttribute("srcset",s.dataset.srcset)})})}}class jo{constructor(){P(this,"element");P(this,"timeline");P(this,"signBackgroundTimeline");P(this,"namespace","page-header");this.element=document.querySelector(".page-header")}start(){this.bootstrapSignBackgroundTimeline(),this.bootstrapTimeline(),document.body.classList.contains("is-home")?this.bootstrapHomeHeaderTween():this.bootstrapContentHeaderTween()}onTweenStart(){Gi(document.body)}onTweenComplete(){var e;Xn(document.body),document.body.classList.add("is-active"),(e=this.signBackgroundTimeline)==null||e.play()}bootstrapSignBackgroundTimeline(){var i,t;const e=(i=this.element)==null?void 0:i.querySelector(".sign-background");this.signBackgroundTimeline=$r.timeline({paused:!0}),e&&((t=this.signBackgroundTimeline)==null||t.from(e,{autoAlpha:0,y:100,rotation:4,duration:6,clearProps:!0,ease:"power2.out"}))}bootstrapTimeline(){var i,t;const e=(i=this.element)==null?void 0:i.querySelector(".page-header--background");this.timeline=$r.timeline({paused:!0,onStart:()=>this.onTweenStart(),onComplete:()=>this.onTweenComplete()}),e&&((t=this.timeline)==null||t.from(e,{scaleY:0,duration:1.6,clearProps:!0,ease:"power2.inOut"},0))}bootstrapHomeHeaderTween(){var o,a,s,f,y,p,v;const e=(o=this.element)==null?void 0:o.querySelector(".page-header--title"),i=(a=this.element)==null?void 0:a.querySelector(".page-header--introduction .component--markdown"),t=document.querySelectorAll(".domain-navigation--item-content"),n=document.querySelectorAll(".domain-navigation--item-content .name, .domain-navigation--item-content .excerpt, .domain-navigation--item-content .cta");e&&((s=this.timeline)==null||s.from(e,{yPercent:150,duration:2,clearProps:!0,ease:"power2.inOut"},.2)),i&&((f=this.timeline)==null||f.from(i,{autoAlpha:0,duration:1,clearProps:!0,ease:"power3.inOut"},1.3)),t&&t.length&&((y=this.timeline)==null||y.from(t,{yPercent:100,background:"rgb(24, 42, 123)",duration:1,ease:"power4.out",clearProps:!0,stagger:{each:.16,ease:"power2.out"}},.8)),n&&n.length&&((p=this.timeline)==null||p.from(n,{autoAlpha:0,duration:1,clearProps:!0,ease:"power3.inOut"},1.3)),(v=this.timeline)==null||v.duration(2).play()}bootstrapContentHeaderTween(){var n,o,a,s,f,y,p;const e=(n=this.element)==null?void 0:n.querySelector(".page-header--overtitle"),i=(o=this.element)==null?void 0:o.querySelector(".page-header--title"),t=(a=this.element)==null?void 0:a.querySelectorAll(".menu-category--item");e&&((s=this.timeline)==null||s.from(e,{xPercent:10,autoAlpha:0,duration:1.3,clearProps:!0,ease:"back.inOut(1.7)"},1)),i&&((f=this.timeline)==null||f.from(i,{xPercent:-10,autoAlpha:0,duration:1.4,clearProps:!0,ease:"back.inOut(1.7)"},1)),t&&t.length&&((y=this.timeline)==null||y.from(t,{autoAlpha:0,duration:.8,clearProps:!0,ease:"power2.inOut",stagger:{each:.1,ease:"power2.in"}},1)),(p=this.timeline)==null||p.duration(1.8).play()}}class Ko{constructor(){P(this,"namespace","team");P(this,"elements")}start(){this.elements=document.querySelectorAll(".page--personlisting-wrapper"),this.bootstrapTeamView()}bootstrapTeamView(){var e;(e=this.elements)==null||e.forEach(i=>{let t;const n=i.querySelectorAll(".component--filters-tags-item"),o=i.querySelectorAll(".component--person");if(n.length){const a=n[0];a&&(t=a.dataset.tag),t&&this.updateActiveItems(n,o,t),n.forEach(s=>{s.addEventListener("click",()=>{this.updateActiveItems(n,o,s.dataset.tag)})})}else o&&o.length&&o.forEach(a=>{a.classList.add("active")})})}updateActiveItems(e,i,t){t&&(e&&e.length&&e.forEach(n=>{n.dataset.tag===t?n.classList.add("active"):n.classList.remove("active")}),i&&i.length&&i.forEach(n=>{n.classList.contains(t)?n.classList.add("active"):n.classList.remove("active")}))}}var ji=(r=>(r[r.MD=768]="MD",r[r.LG=1024]="LG",r[r.XL=1440]="XL",r))(ji||{}),mr=(r=>(r.ACTION_MENU_TOGGLE="menu_toggle",r.ACTION_MENU_SHOW="menu_show",r.ACTION_MENU_HIDE="menu_hide",r))(mr||{});function Se(r){return`Minified Redux error #${r}; visit https://redux.js.org/Errors?code=${r} for the full message or use the non-minified dev environment for full errors. `}var Qo=typeof Symbol=="function"&&Symbol.observable||"@@observable",vi=Qo,Dn=()=>Math.random().toString(36).substring(7).split("").join("."),Zo={INIT:`@@redux/INIT${Dn()}`,REPLACE:`@@redux/REPLACE${Dn()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Dn()}`},gn=Zo;function si(r){if(typeof r!="object"||r===null)return!1;let e=r;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(r)===e||Object.getPrototypeOf(r)===null}function Ki(r,e,i){if(typeof r!="function")throw new Error(Se(2));if(typeof e=="function"&&typeof i=="function"||typeof i=="function"&&typeof arguments[3]=="function")throw new Error(Se(0));if(typeof e=="function"&&typeof i>"u"&&(i=e,e=void 0),typeof i<"u"){if(typeof i!="function")throw new Error(Se(1));return i(Ki)(r,e)}let t=r,n=e,o=new Map,a=o,s=0,f=!1;function y(){a===o&&(a=new Map,o.forEach((b,C)=>{a.set(C,b)}))}function p(){if(f)throw new Error(Se(3));return n}function v(b){if(typeof b!="function")throw new Error(Se(4));if(f)throw new Error(Se(5));let C=!0;y();const c=s++;return a.set(c,b),function(){if(C){if(f)throw new Error(Se(6));C=!1,y(),a.delete(c),o=null}}}function m(b){if(!si(b))throw new Error(Se(7));if(typeof b.type>"u")throw new Error(Se(8));if(typeof b.type!="string")throw new Error(Se(17));if(f)throw new Error(Se(9));try{f=!0,n=t(n,b)}finally{f=!1}return(o=a).forEach(c=>{c()}),b}function u(b){if(typeof b!="function")throw new Error(Se(10));t=b,m({type:gn.REPLACE})}function g(){const b=v;return{subscribe(C){if(typeof C!="object"||C===null)throw new Error(Se(11));function c(){const _=C;_.next&&_.next(p())}return c(),{unsubscribe:b(c)}},[vi](){return this}}}return m({type:gn.INIT}),{dispatch:m,subscribe:v,getState:p,replaceReducer:u,[vi]:g}}function Jo(r){Object.keys(r).forEach(e=>{const i=r[e];if(typeof i(void 0,{type:gn.INIT})>"u")throw new Error(Se(12));if(typeof i(void 0,{type:gn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Se(13))})}function es(r){const e=Object.keys(r),i={};for(let o=0;o<e.length;o++){const a=e[o];typeof r[a]=="function"&&(i[a]=r[a])}const t=Object.keys(i);let n;try{Jo(i)}catch(o){n=o}return function(a={},s){if(n)throw n;let f=!1;const y={};for(let p=0;p<t.length;p++){const v=t[p],m=i[v],u=a[v],g=m(u,s);if(typeof g>"u")throw s&&s.type,new Error(Se(14));y[v]=g,f=f||g!==u}return f=f||t.length!==Object.keys(a).length,f?y:a}}function mn(...r){return r.length===0?e=>e:r.length===1?r[0]:r.reduce((e,i)=>(...t)=>e(i(...t)))}function ts(...r){return e=>(i,t)=>{const n=e(i,t);let o=()=>{throw new Error(Se(15))};const a={getState:n.getState,dispatch:(f,...y)=>o(f,...y)},s=r.map(f=>f(a));return o=mn(...s)(n.dispatch),{...n,dispatch:o}}}function rs(r){return si(r)&&"type"in r&&typeof r.type=="string"}var Qi=Symbol.for("immer-nothing"),bi=Symbol.for("immer-draftable"),Qe=Symbol.for("immer-state");function dt(r,...e){throw new Error(`[Immer] minified error nr: ${r}. Full error at: https://bit.ly/3cXEKWf`)}var yr=Object.getPrototypeOf;function Zt(r){return!!r&&!!r[Qe]}function kt(r){var e;return r?Zi(r)||Array.isArray(r)||!!r[bi]||!!((e=r.constructor)!=null&&e[bi])||kn(r)||Pn(r):!1}var ns=Object.prototype.constructor.toString();function Zi(r){if(!r||typeof r!="object")return!1;const e=yr(r);if(e===null)return!0;const i=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return i===Object?!0:typeof i=="function"&&Function.toString.call(i)===ns}function yn(r,e){Tn(r)===0?Reflect.ownKeys(r).forEach(i=>{e(i,r[i],r)}):r.forEach((i,t)=>e(t,i,r))}function Tn(r){const e=r[Qe];return e?e.type_:Array.isArray(r)?1:kn(r)?2:Pn(r)?3:0}function Yn(r,e){return Tn(r)===2?r.has(e):Object.prototype.hasOwnProperty.call(r,e)}function Ji(r,e,i){const t=Tn(r);t===2?r.set(e,i):t===3?r.add(i):r[e]=i}function is(r,e){return r===e?r!==0||1/r===1/e:r!==r&&e!==e}function kn(r){return r instanceof Map}function Pn(r){return r instanceof Set}function Gt(r){return r.copy_||r.base_}function Gn(r,e){if(kn(r))return new Map(r);if(Pn(r))return new Set(r);if(Array.isArray(r))return Array.prototype.slice.call(r);const i=Zi(r);if(e===!0||e==="class_only"&&!i){const t=Object.getOwnPropertyDescriptors(r);delete t[Qe];let n=Reflect.ownKeys(t);for(let o=0;o<n.length;o++){const a=n[o],s=t[a];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(t[a]={configurable:!0,writable:!0,enumerable:s.enumerable,value:r[a]})}return Object.create(yr(r),t)}else{const t=yr(r);if(t!==null&&i)return{...r};const n=Object.create(t);return Object.assign(n,r)}}function ai(r,e=!1){return Ln(r)||Zt(r)||!kt(r)||(Tn(r)>1&&(r.set=r.add=r.clear=r.delete=os),Object.freeze(r),e&&Object.entries(r).forEach(([i,t])=>ai(t,!0))),r}function os(){dt(2)}function Ln(r){return Object.isFrozen(r)}var ss={};function Jt(r){const e=ss[r];return e||dt(0,r),e}var Xr;function eo(){return Xr}function as(r,e){return{drafts_:[],parent_:r,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function wi(r,e){e&&(Jt("Patches"),r.patches_=[],r.inversePatches_=[],r.patchListener_=e)}function Wn(r){Un(r),r.drafts_.forEach(ls),r.drafts_=null}function Un(r){r===Xr&&(Xr=r.parent_)}function Ci(r){return Xr=as(Xr,r)}function ls(r){const e=r[Qe];e.type_===0||e.type_===1?e.revoke_():e.revoked_=!0}function Ei(r,e){e.unfinalizedDrafts_=e.drafts_.length;const i=e.drafts_[0];return r!==void 0&&r!==i?(i[Qe].modified_&&(Wn(e),dt(4)),kt(r)&&(r=_n(e,r),e.parent_||vn(e,r)),e.patches_&&Jt("Patches").generateReplacementPatches_(i[Qe].base_,r,e.patches_,e.inversePatches_)):r=_n(e,i,[]),Wn(e),e.patches_&&e.patchListener_(e.patches_,e.inversePatches_),r!==Qi?r:void 0}function _n(r,e,i){if(Ln(e))return e;const t=e[Qe];if(!t)return yn(e,(n,o)=>xi(r,t,e,n,o,i)),e;if(t.scope_!==r)return e;if(!t.modified_)return vn(r,t.base_,!0),t.base_;if(!t.finalized_){t.finalized_=!0,t.scope_.unfinalizedDrafts_--;const n=t.copy_;let o=n,a=!1;t.type_===3&&(o=new Set(n),n.clear(),a=!0),yn(o,(s,f)=>xi(r,t,n,s,f,i,a)),vn(r,n,!1),i&&r.patches_&&Jt("Patches").generatePatches_(t,i,r.patches_,r.inversePatches_)}return t.copy_}function xi(r,e,i,t,n,o,a){if(Zt(n)){const s=o&&e&&e.type_!==3&&!Yn(e.assigned_,t)?o.concat(t):void 0,f=_n(r,n,s);if(Ji(i,t,f),Zt(f))r.canAutoFreeze_=!1;else return}else a&&i.add(n);if(kt(n)&&!Ln(n)){if(!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1)return;_n(r,n),(!e||!e.scope_.parent_)&&typeof t!="symbol"&&Object.prototype.propertyIsEnumerable.call(i,t)&&vn(r,n)}}function vn(r,e,i=!1){!r.parent_&&r.immer_.autoFreeze_&&r.canAutoFreeze_&&ai(e,i)}function cs(r,e){const i=Array.isArray(r),t={type_:i?1:0,scope_:e?e.scope_:eo(),modified_:!1,finalized_:!1,assigned_:{},parent_:e,base_:r,draft_:null,copy_:null,revoke_:null,isManual_:!1};let n=t,o=li;i&&(n=[t],o=Yr);const{revoke:a,proxy:s}=Proxy.revocable(n,o);return t.draft_=s,t.revoke_=a,s}var li={get(r,e){if(e===Qe)return r;const i=Gt(r);if(!Yn(i,e))return us(r,i,e);const t=i[e];return r.finalized_||!kt(t)?t:t===In(r.base_,e)?(Rn(r),r.copy_[e]=jn(t,r)):t},has(r,e){return e in Gt(r)},ownKeys(r){return Reflect.ownKeys(Gt(r))},set(r,e,i){const t=to(Gt(r),e);if(t!=null&&t.set)return t.set.call(r.draft_,i),!0;if(!r.modified_){const n=In(Gt(r),e),o=n==null?void 0:n[Qe];if(o&&o.base_===i)return r.copy_[e]=i,r.assigned_[e]=!1,!0;if(is(i,n)&&(i!==void 0||Yn(r.base_,e)))return!0;Rn(r),Vn(r)}return r.copy_[e]===i&&(i!==void 0||e in r.copy_)||Number.isNaN(i)&&Number.isNaN(r.copy_[e])||(r.copy_[e]=i,r.assigned_[e]=!0),!0},deleteProperty(r,e){return In(r.base_,e)!==void 0||e in r.base_?(r.assigned_[e]=!1,Rn(r),Vn(r)):delete r.assigned_[e],r.copy_&&delete r.copy_[e],!0},getOwnPropertyDescriptor(r,e){const i=Gt(r),t=Reflect.getOwnPropertyDescriptor(i,e);return t&&{writable:!0,configurable:r.type_!==1||e!=="length",enumerable:t.enumerable,value:i[e]}},defineProperty(){dt(11)},getPrototypeOf(r){return yr(r.base_)},setPrototypeOf(){dt(12)}},Yr={};yn(li,(r,e)=>{Yr[r]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}});Yr.deleteProperty=function(r,e){return Yr.set.call(this,r,e,void 0)};Yr.set=function(r,e,i){return li.set.call(this,r[0],e,i,r[0])};function In(r,e){const i=r[Qe];return(i?Gt(i):r)[e]}function us(r,e,i){var n;const t=to(e,i);return t?"value"in t?t.value:(n=t.get)==null?void 0:n.call(r.draft_):void 0}function to(r,e){if(!(e in r))return;let i=yr(r);for(;i;){const t=Object.getOwnPropertyDescriptor(i,e);if(t)return t;i=yr(i)}}function Vn(r){r.modified_||(r.modified_=!0,r.parent_&&Vn(r.parent_))}function Rn(r){r.copy_||(r.copy_=Gn(r.base_,r.scope_.immer_.useStrictShallowCopy_))}var fs=class{constructor(r){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(e,i,t)=>{if(typeof e=="function"&&typeof i!="function"){const o=i;i=e;const a=this;return function(f=o,...y){return a.produce(f,p=>i.call(this,p,...y))}}typeof i!="function"&&dt(6),t!==void 0&&typeof t!="function"&&dt(7);let n;if(kt(e)){const o=Ci(this),a=jn(e,void 0);let s=!0;try{n=i(a),s=!1}finally{s?Wn(o):Un(o)}return wi(o,t),Ei(n,o)}else if(!e||typeof e!="object"){if(n=i(e),n===void 0&&(n=e),n===Qi&&(n=void 0),this.autoFreeze_&&ai(n,!0),t){const o=[],a=[];Jt("Patches").generateReplacementPatches_(e,n,o,a),t(o,a)}return n}else dt(1,e)},this.produceWithPatches=(e,i)=>{if(typeof e=="function")return(a,...s)=>this.produceWithPatches(a,f=>e(f,...s));let t,n;return[this.produce(e,i,(a,s)=>{t=a,n=s}),t,n]},typeof(r==null?void 0:r.autoFreeze)=="boolean"&&this.setAutoFreeze(r.autoFreeze),typeof(r==null?void 0:r.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(r.useStrictShallowCopy)}createDraft(r){kt(r)||dt(8),Zt(r)&&(r=ds(r));const e=Ci(this),i=jn(r,void 0);return i[Qe].isManual_=!0,Un(e),i}finishDraft(r,e){const i=r&&r[Qe];(!i||!i.isManual_)&&dt(9);const{scope_:t}=i;return wi(t,e),Ei(void 0,t)}setAutoFreeze(r){this.autoFreeze_=r}setUseStrictShallowCopy(r){this.useStrictShallowCopy_=r}applyPatches(r,e){let i;for(i=e.length-1;i>=0;i--){const n=e[i];if(n.path.length===0&&n.op==="replace"){r=n.value;break}}i>-1&&(e=e.slice(i+1));const t=Jt("Patches").applyPatches_;return Zt(r)?t(r,e):this.produce(r,n=>t(n,e))}};function jn(r,e){const i=kn(r)?Jt("MapSet").proxyMap_(r,e):Pn(r)?Jt("MapSet").proxySet_(r,e):cs(r,e);return(e?e.scope_:eo()).drafts_.push(i),i}function ds(r){return Zt(r)||dt(10,r),ro(r)}function ro(r){if(!kt(r)||Ln(r))return r;const e=r[Qe];let i;if(e){if(!e.modified_)return e.base_;e.finalized_=!0,i=Gn(r,e.scope_.immer_.useStrictShallowCopy_)}else i=Gn(r,!0);return yn(i,(t,n)=>{Ji(i,t,ro(n))}),e&&(e.finalized_=!1),i}var Ze=new fs,no=Ze.produce;Ze.produceWithPatches.bind(Ze);Ze.setAutoFreeze.bind(Ze);Ze.setUseStrictShallowCopy.bind(Ze);Ze.applyPatches.bind(Ze);Ze.createDraft.bind(Ze);Ze.finishDraft.bind(Ze);function io(r){return({dispatch:i,getState:t})=>n=>o=>typeof o=="function"?o(i,t,r):n(o)}var ps=io(),hs=io,gs=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?mn:mn.apply(null,arguments)};function ci(r,e){function i(...t){return{type:r,payload:t[0]}}return i.toString=()=>`${r}`,i.type=r,i.match=t=>rs(t)&&t.type===r,i}var oo=class kr extends Array{constructor(...e){super(...e),Object.setPrototypeOf(this,kr.prototype)}static get[Symbol.species](){return kr}concat(...e){return super.concat.apply(this,e)}prepend(...e){return e.length===1&&Array.isArray(e[0])?new kr(...e[0].concat(this)):new kr(...e.concat(this))}};function Si(r){return kt(r)?no(r,()=>{}):r}function ms(r){return typeof r=="boolean"}var ys=()=>function(e){const{thunk:i=!0,immutableCheck:t=!0,serializableCheck:n=!0,actionCreatorCheck:o=!0}=e??{};let a=new oo;return i&&(ms(i)?a.push(ps):a.push(hs(i.extraArgument))),a},_s="RTK_autoBatch",so=r=>e=>{setTimeout(e,r)},vs=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:so(10),bs=(r={type:"raf"})=>e=>(...i)=>{const t=e(...i);let n=!0,o=!1,a=!1;const s=new Set,f=r.type==="tick"?queueMicrotask:r.type==="raf"?vs:r.type==="callback"?r.queueNotification:so(r.timeout),y=()=>{a=!1,o&&(o=!1,s.forEach(p=>p()))};return Object.assign({},t,{subscribe(p){const v=()=>n&&p(),m=t.subscribe(v);return s.add(p),()=>{m(),s.delete(p)}},dispatch(p){var v;try{return n=!((v=p==null?void 0:p.meta)!=null&&v[_s]),o=!n,o&&(a||(a=!0,f(y))),t.dispatch(p)}finally{n=!0}}})},ws=r=>function(i){const{autoBatch:t=!0}=i??{};let n=new oo(r);return t&&n.push(bs(typeof t=="object"?t:void 0)),n};function Cs(r){const e=ys(),{reducer:i=void 0,middleware:t,devTools:n=!0,preloadedState:o=void 0,enhancers:a=void 0}=r||{};let s;if(typeof i=="function")s=i;else if(si(i))s=es(i);else throw new Error(bn(1));let f;typeof t=="function"?f=t(e):f=e();let y=mn;n&&(y=gs({trace:!1,...typeof n=="object"&&n}));const p=ts(...f),v=ws(p);let m=typeof a=="function"?a(v):v();const u=y(...m);return Ki(s,o,u)}function Es(r){const e={},i=[];let t;const n={addCase(o,a){const s=typeof o=="string"?o:o.type;if(!s)throw new Error(bn(28));if(s in e)throw new Error(bn(29));return e[s]=a,n},addMatcher(o,a){return i.push({matcher:o,reducer:a}),n},addDefaultCase(o){return t=o,n}};return r(n),[e,i,t]}function xs(r){return typeof r=="function"}function Ss(r,e){let[i,t,n]=Es(e),o;if(xs(r))o=()=>Si(r());else{const s=Si(r);o=()=>s}function a(s=o(),f){let y=[i[f.type],...t.filter(({matcher:p})=>p(f)).map(({reducer:p})=>p)];return y.filter(p=>!!p).length===0&&(y=[n]),y.reduce((p,v)=>{if(v)if(Zt(p)){const u=v(p,f);return u===void 0?p:u}else{if(kt(p))return no(p,m=>v(m,f));{const m=v(p,f);if(m===void 0){if(p===null)return p;throw new Error(bn(9))}return m}}return p},s)}return a.getInitialState=o,a}function bn(r){return`Minified Redux Toolkit error #${r}; visit https://redux-toolkit.js.org/Errors?code=${r} for the full message or use the non-minified dev environment for full errors. `}const Ts={menuVisible:!1},ks=ci(mr.ACTION_MENU_TOGGLE),Ps=ci(mr.ACTION_MENU_SHOW),Ls=ci(mr.ACTION_MENU_HIDE),As=Ss(Ts,r=>{r.addCase(ks,e=>{e.menuVisible=!e.menuVisible}),r.addCase(Ps,e=>{e.menuVisible=!0}),r.addCase(Ls,e=>{e.menuVisible=!1})}),ar=Cs({reducer:As});function Ms(r,e){for(var i=0;i<e.length;i++){var t=e[i];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(r,t.key,t)}}function Os(r,e,i){return e&&Ms(r.prototype,e),r}/*! * Observer 3.12.5 * https://gsap.com * * @license Copyright 2008-2024, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license or for * Club GSAP members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */var Te,cn,Ke,Nt,Ft,pr,ao,Wt,Dr,lo,St,ut,co,uo=function(){return Te||typeof window<"u"&&(Te=window.gsap)&&Te.registerPlugin&&Te},fo=1,dr=[],H=[],vt=[],Ir=Date.now,Kn=function(e,i){return i},Ds=function(){var e=Dr.core,i=e.bridge||{},t=e._scrollers,n=e._proxies;t.push.apply(t,H),n.push.apply(n,vt),H=t,vt=n,Kn=function(a,s){return i[a](s)}},zt=function(e,i){return~vt.indexOf(e)&&vt[vt.indexOf(e)+1][i]},Rr=function(e){return!!~lo.indexOf(e)},Fe=function(e,i,t,n,o){return e.addEventListener(i,t,{passive:n!==!1,capture:!!o})},Ne=function(e,i,t,n){return e.removeEventListener(i,t,!!n)},Kr="scrollLeft",Qr="scrollTop",Qn=function(){return St&&St.isPressed||H.cache++},wn=function(e,i){var t=function n(o){if(o||o===0){fo&&(Ke.history.scrollRestoration="manual");var a=St&&St.isPressed;o=n.v=Math.round(o)||(St&&St.iOS?1:0),e(o),n.cacheID=H.cache,a&&Kn("ss",o)}else(i||H.cache!==n.cacheID||Kn("ref"))&&(n.cacheID=H.cache,n.v=e());return n.v+n.offset};return t.offset=0,e&&t},He={s:Kr,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:wn(function(r){return arguments.length?Ke.scrollTo(r,ye.sc()):Ke.pageXOffset||Nt[Kr]||Ft[Kr]||pr[Kr]||0})},ye={s:Qr,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:He,sc:wn(function(r){return arguments.length?Ke.scrollTo(He.sc(),r):Ke.pageYOffset||Nt[Qr]||Ft[Qr]||pr[Qr]||0})},Ye=function(e,i){return(i&&i._ctx&&i._ctx.selector||Te.utils.toArray)(e)[0]||(typeof e=="string"&&Te.config().nullTargetWarn!==!1?void 0:null)},Bt=function(e,i){var t=i.s,n=i.sc;Rr(e)&&(e=Nt.scrollingElement||Ft);var o=H.indexOf(e),a=n===ye.sc?1:2;!~o&&(o=H.push(e)-1),H[o+a]||Fe(e,"scroll",Qn);var s=H[o+a],f=s||(H[o+a]=wn(zt(e,t),!0)||(Rr(e)?n:wn(function(y){return arguments.length?e[t]=y:e[t]})));return f.target=e,s||(f.smooth=Te.getProperty(e,"scrollBehavior")==="smooth"),f},Zn=function(e,i,t){var n=e,o=e,a=Ir(),s=a,f=i||50,y=Math.max(500,f*3),p=function(g,w){var b=Ir();w||b-a>f?(o=n,n=g,s=a,a=b):t?n+=g:n=o+(g-o)/(b-s)*(a-s)},v=function(){o=n=t?0:n,s=a=0},m=function(g){var w=s,b=o,C=Ir();return(g||g===0)&&g!==n&&p(g),a===s||C-s>y?0:(n+(t?b:-b))/((t?C:a)-w)*1e3};return{update:p,reset:v,getVelocity:m}},Sr=function(e,i){return i&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Ti=function(e){var i=Math.max.apply(Math,e),t=Math.min.apply(Math,e);return Math.abs(i)>=Math.abs(t)?i:t},po=function(){Dr=Te.core.globals().ScrollTrigger,Dr&&Dr.core&&Ds()},ho=function(e){return Te=e||uo(),!cn&&Te&&typeof document<"u"&&document.body&&(Ke=window,Nt=document,Ft=Nt.documentElement,pr=Nt.body,lo=[Ke,Nt,Ft,pr],Te.utils.clamp,co=Te.core.context||function(){},Wt="onpointerenter"in pr?"pointer":"mouse",ao=ue.isTouch=Ke.matchMedia&&Ke.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Ke||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,ut=ue.eventTypes=("ontouchstart"in Ft?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Ft?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return fo=0},500),po(),cn=1),cn};He.op=ye;H.cache=0;var ue=function(){function r(i){this.init(i)}var e=r.prototype;return e.init=function(t){cn||ho(Te),Dr||po();var n=t.tolerance,o=t.dragMinimum,a=t.type,s=t.target,f=t.lineHeight,y=t.debounce,p=t.preventDefault,v=t.onStop,m=t.onStopDelay,u=t.ignore,g=t.wheelSpeed,w=t.event,b=t.onDragStart,C=t.onDragEnd,c=t.onDrag,h=t.onPress,_=t.onRelease,A=t.onRight,D=t.onLeft,T=t.onUp,J=t.onDown,I=t.onChangeX,E=t.onChangeY,X=t.onChange,k=t.onToggleX,V=t.onToggleY,z=t.onHover,W=t.onHoverEnd,re=t.onMove,Q=t.ignoreCheck,M=t.isNormalizer,K=t.onGestureStart,l=t.onGestureEnd,ee=t.onWheel,pt=t.onEnable,Pt=t.onDisable,Je=t.onClick,bt=t.scrollSpeed,De=t.capture,fe=t.allowClicks,Ie=t.lockAxis,ke=t.onLockAxis;this.target=s=Ye(s)||Ft,this.vars=t,u&&(u=Te.utils.toArray(u)),n=n||1e-9,o=o||0,g=g||1,bt=bt||1,a=a||"wheel,touch,pointer",y=y!==!1,f||(f=parseFloat(Ke.getComputedStyle(pr).lineHeight)||22);var Lt,Re,it,U,ae,Xe,Ge,d=this,We=0,wt=0,At=t.passive||!p,de=Bt(s,He),Mt=Bt(s,ye),qt=de(),nr=Mt(),_e=~a.indexOf("touch")&&!~a.indexOf("pointer")&&ut[0]==="pointerdown",Ot=Rr(s),le=s.ownerDocument||Nt,ot=[0,0,0],et=[0,0,0],Ct=0,vr=function(){return Ct=Ir()},pe=function(O,j){return(d.event=O)&&u&&~u.indexOf(O.target)||j&&_e&&O.pointerType!=="touch"||Q&&Q(O,j)},Ur=function(){d._vx.reset(),d._vy.reset(),Re.pause(),v&&v(d)},Dt=function(){var O=d.deltaX=Ti(ot),j=d.deltaY=Ti(et),x=Math.abs(O)>=n,F=Math.abs(j)>=n;X&&(x||F)&&X(d,O,j,ot,et),x&&(A&&d.deltaX>0&&A(d),D&&d.deltaX<0&&D(d),I&&I(d),k&&d.deltaX<0!=We<0&&k(d),We=d.deltaX,ot[0]=ot[1]=ot[2]=0),F&&(J&&d.deltaY>0&&J(d),T&&d.deltaY<0&&T(d),E&&E(d),V&&d.deltaY<0!=wt<0&&V(d),wt=d.deltaY,et[0]=et[1]=et[2]=0),(U||it)&&(re&&re(d),it&&(c(d),it=!1),U=!1),Xe&&!(Xe=!1)&&ke&&ke(d),ae&&(ee(d),ae=!1),Lt=0},ir=function(O,j,x){ot[x]+=O,et[x]+=j,d._vx.update(O),d._vy.update(j),y?Lt||(Lt=requestAnimationFrame(Dt)):Dt()},or=function(O,j){Ie&&!Ge&&(d.axis=Ge=Math.abs(O)>Math.abs(j)?"x":"y",Xe=!0),Ge!=="y"&&(ot[2]+=O,d._vx.update(O,!0)),Ge!=="x"&&(et[2]+=j,d._vy.update(j,!0)),y?Lt||(Lt=requestAnimationFrame(Dt)):Dt()},It=function(O){if(!pe(O,1)){O=Sr(O,p);var j=O.clientX,x=O.clientY,F=j-d.x,L=x-d.y,R=d.isDragging;d.x=j,d.y=x,(R||Math.abs(d.startX-j)>=o||Math.abs(d.startY-x)>=o)&&(c&&(it=!0),R||(d.isDragging=!0),or(F,L),R||b&&b(d))}},Ht=d.onPress=function(N){pe(N,1)||N&&N.button||(d.axis=Ge=null,Re.pause(),d.isPressed=!0,N=Sr(N),We=wt=0,d.startX=d.x=N.clientX,d.startY=d.y=N.clientY,d._vx.reset(),d._vy.reset(),Fe(M?s:le,ut[1],It,At,!0),d.deltaX=d.deltaY=0,h&&h(d))},q=d.onRelease=function(N){if(!pe(N,1)){Ne(M?s:le,ut[1],It,!0);var O=!isNaN(d.y-d.startY),j=d.isDragging,x=j&&(Math.abs(d.x-d.startX)>3||Math.abs(d.y-d.startY)>3),F=Sr(N);!x&&O&&(d._vx.reset(),d._vy.reset(),p&&fe&&Te.delayedCall(.08,function(){if(Ir()-Ct>300&&!N.defaultPrevented){if(N.target.click)N.target.click();else if(le.createEvent){var L=le.createEvent("MouseEvents");L.initMouseEvent("click",!0,!0,Ke,1,F.screenX,F.screenY,F.clientX,F.clientY,!1,!1,!1,!1,0,null),N.target.dispatchEvent(L)}}})),d.isDragging=d.isGesturing=d.isPressed=!1,v&&j&&!M&&Re.restart(!0),C&&j&&C(d),_&&_(d,x)}},$t=function(O){return O.touches&&O.touches.length>1&&(d.isGesturing=!0)&&K(O,d.isDragging)},st=function(){return(d.isGesturing=!1)||l(d)},at=function(O){if(!pe(O)){var j=de(),x=Mt();ir((j-qt)*bt,(x-nr)*bt,1),qt=j,nr=x,v&&Re.restart(!0)}},lt=function(O){if(!pe(O)){O=Sr(O,p),ee&&(ae=!0);var j=(O.deltaMode===1?f:O.deltaMode===2?Ke.innerHeight:1)*g;ir(O.deltaX*j,O.deltaY*j,0),v&&!M&&Re.restart(!0)}},Xt=function(O){if(!pe(O)){var j=O.clientX,x=O.clientY,F=j-d.x,L=x-d.y;d.x=j,d.y=x,U=!0,v&&Re.restart(!0),(F||L)&&or(F,L)}},sr=function(O){d.event=O,z(d)},Et=function(O){d.event=O,W(d)},br=function(O){return pe(O)||Sr(O,p)&&Je(d)};Re=d._dc=Te.delayedCall(m||.25,Ur).pause(),d.deltaX=d.deltaY=0,d._vx=Zn(0,50,!0),d._vy=Zn(0,50,!0),d.scrollX=de,d.scrollY=Mt,d.isDragging=d.isGesturing=d.isPressed=!1,co(this),d.enable=function(N){return d.isEnabled||(Fe(Ot?le:s,"scroll",Qn),a.indexOf("scroll")>=0&&Fe(Ot?le:s,"scroll",at,At,De),a.indexOf("wheel")>=0&&Fe(s,"wheel",lt,At,De),(a.indexOf("touch")>=0&&ao||a.indexOf("pointer")>=0)&&(Fe(s,ut[0],Ht,At,De),Fe(le,ut[2],q),Fe(le,ut[3],q),fe&&Fe(s,"click",vr,!0,!0),Je&&Fe(s,"click",br),K&&Fe(le,"gesturestart",$t),l&&Fe(le,"gestureend",st),z&&Fe(s,Wt+"enter",sr),W&&Fe(s,Wt+"leave",Et),re&&Fe(s,Wt+"move",Xt)),d.isEnabled=!0,N&&N.type&&Ht(N),pt&&pt(d)),d},d.disable=function(){d.isEnabled&&(dr.filter(function(N){return N!==d&&Rr(N.target)}).length||Ne(Ot?le:s,"scroll",Qn),d.isPressed&&(d._vx.reset(),d._vy.reset(),Ne(M?s:le,ut[1],It,!0)),Ne(Ot?le:s,"scroll",at,De),Ne(s,"wheel",lt,De),Ne(s,ut[0],Ht,De),Ne(le,ut[2],q),Ne(le,ut[3],q),Ne(s,"click",vr,!0),Ne(s,"click",br),Ne(le,"gesturestart",$t),Ne(le,"gestureend",st),Ne(s,Wt+"enter",sr),Ne(s,Wt+"leave",Et),Ne(s,Wt+"move",Xt),d.isEnabled=d.isPressed=d.isDragging=!1,Pt&&Pt(d))},d.kill=d.revert=function(){d.disable();var N=dr.indexOf(d);N>=0&&dr.splice(N,1),St===d&&(St=0)},dr.push(d),M&&Rr(s)&&(St=d),d.enable(w)},Os(r,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),r}();ue.version="3.12.5";ue.create=function(r){return new ue(r)};ue.register=ho;ue.getAll=function(){return dr.slice()};ue.getById=function(r){return dr.filter(function(e){return e.vars.id===r})[0]};uo()&&Te.registerPlugin(ue);/*! * ScrollTrigger 3.12.5 * https://gsap.com * * @license Copyright 2008-2024, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license or for * Club GSAP members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */var S,ur,G,oe,ft,te,go,Cn,Gr,Nr,Pr,Zr,Me,An,Jn,Be,ki,Pi,fr,mo,Nn,yo,ze,ei,_o,vo,Rt,ti,ui,hr,fi,En,ri,Fn,Jr=1,Oe=Date.now,zn=Oe(),nt=0,Lr=0,Li=function(e,i,t){var n=je(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return t["_"+i+"Clamp"]=n,n?e.substr(6,e.length-7):e},Ai=function(e,i){return i&&(!je(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},Is=function r(){return Lr&&requestAnimationFrame(r)},Mi=function(){return An=1},Oi=function(){return An=0},yt=function(e){return e},Ar=function(e){return Math.round(e*1e5)/1e5||0},bo=function(){return typeof window<"u"},wo=function(){return S||bo()&&(S=window.gsap)&&S.registerPlugin&&S},er=function(e){return!!~go.indexOf(e)},Co=function(e){return(e==="Height"?fi:G["inner"+e])||ft["client"+e]||te["client"+e]},Eo=function(e){return zt(e,"getBoundingClientRect")||(er(e)?function(){return hn.width=G.innerWidth,hn.height=fi,hn}:function(){return xt(e)})},Rs=function(e,i,t){var n=t.d,o=t.d2,a=t.a;return(a=zt(e,"getBoundingClientRect"))?function(){return a()[n]}:function(){return(i?Co(o):e["client"+o])||0}},Ns=function(e,i){return!i||~vt.indexOf(e)?Eo(e):function(){return hn}},_t=function(e,i){var t=i.s,n=i.d2,o=i.d,a=i.a;return Math.max(0,(t="scroll"+n)&&(a=zt(e,t))?a()-Eo(e)()[o]:er(e)?(ft[t]||te[t])-Co(n):e[t]-e["offset"+n])},en=function(e,i){for(var t=0;t<fr.length;t+=3)(!i||~i.indexOf(fr[t+1]))&&e(fr[t],fr[t+1],fr[t+2])},je=function(e){return typeof e=="string"},$e=function(e){return typeof e=="function"},Mr=function(e){return typeof e=="number"},Ut=function(e){return typeof e=="object"},Tr=function(e,i,t){return e&&e.progress(i?0:1)&&t&&e.pause()},Bn=function(e,i){if(e.enabled){var t=e._ctx?e._ctx.add(function(){return i(e)}):i(e);t&&t.totalTime&&(e.callbackAnimation=t)}},lr=Math.abs,xo="left",So="top",di="right",pi="bottom",jt="width",Kt="height",Fr="Right",zr="Left",Br="Top",qr="Bottom",he="padding",tt="margin",_r="Width",hi="Height",me="px",rt=function(e){return G.getComputedStyle(e)},Fs=function(e){var i=rt(e).position;e.style.position=i==="absolute"||i==="fixed"?i:"relative"},Di=function(e,i){for(var t in i)t in e||(e[t]=i[t]);return e},xt=function(e,i){var t=i&&rt(e)[Jn]!=="matrix(1, 0, 0, 1, 0, 0)"&&S.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=e.getBoundingClientRect();return t&&t.progress(0).kill(),n},xn=function(e,i){var t=i.d2;return e["offset"+t]||e["client"+t]||0},To=function(e){var i=[],t=e.labels,n=e.duration(),o;for(o in t)i.push(t[o]/n);return i},zs=function(e){return function(i){return S.utils.snap(To(e),i)}},gi=function(e){var i=S.utils.snap(e),t=Array.isArray(e)&&e.slice(0).sort(function(n,o){return n-o});return t?function(n,o,a){a===void 0&&(a=.001);var s;if(!o)return i(n);if(o>0){for(n-=a,s=0;s<t.length;s++)if(t[s]>=n)return t[s];return t[s-1]}else for(s=t.length,n+=a;s--;)if(t[s]<=n)return t[s];return t[0]}:function(n,o,a){a===void 0&&(a=.001);var s=i(n);return!o||Math.abs(s-n)<a||s-n<0==o<0?s:i(o<0?n-e:n+e)}},Bs=function(e){return function(i,t){return gi(To(e))(i,t.direction)}},tn=function(e,i,t,n){return t.split(",").forEach(function(o){return e(i,o,n)})},we=function(e,i,t,n,o){return e.addEventListener(i,t,{passive:!n,capture:!!o})},be=function(e,i,t,n){return e.removeEventListener(i,t,!!n)},rn=function(e,i,t){t=t&&t.wheelHandler,t&&(e(i,"wheel",t),e(i,"touchmove",t))},Ii={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},nn={toggleActions:"play",anticipatePin:0},Sn={top:0,left:0,center:.5,bottom:1,right:1},un=function(e,i){if(je(e)){var t=e.indexOf("="),n=~t?+(e.charAt(t-1)+1)*parseFloat(e.substr(t+1)):0;~t&&(e.indexOf("%")>t&&(n*=i/100),e=e.substr(0,t-1)),e=n+(e in Sn?Sn[e]*i:~e.indexOf("%")?parseFloat(e)*i/100:parseFloat(e)||0)}return e},on=function(e,i,t,n,o,a,s,f){var y=o.startColor,p=o.endColor,v=o.fontSize,m=o.indent,u=o.fontWeight,g=oe.createElement("div"),w=er(t)||zt(t,"pinType")==="fixed",b=e.indexOf("scroller")!==-1,C=w?te:t,c=e.indexOf("start")!==-1,h=c?y:p,_="border-color:"+h+";font-size:"+v+";color:"+h+";font-weight:"+u+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return _+="position:"+((b||f)&&w?"fixed;":"absolute;"),(b||f||!w)&&(_+=(n===ye?di:pi)+":"+(a+parseFloat(m))+"px;"),s&&(_+="box-sizing:border-box;text-align:left;width:"+s.offsetWidth+"px;"),g._isStart=c,g.setAttribute("class","gsap-marker-"+e+(i?" marker-"+i:"")),g.style.cssText=_,g.innerText=i||i===0?e+"-"+i:e,C.children[0]?C.insertBefore(g,C.children[0]):C.appendChild(g),g._offset=g["offset"+n.op.d2],fn(g,0,n,c),g},fn=function(e,i,t,n){var o={display:"block"},a=t[n?"os2":"p2"],s=t[n?"p2":"os2"];e._isFlipped=n,o[t.a+"Percent"]=n?-100:0,o[t.a]=n?"1px":0,o["border"+a+_r]=1,o["border"+s+_r]=0,o[t.p]=i+"px",S.set(e,o)},B=[],ni={},Wr,Ri=function(){return Oe()-nt>34&&(Wr||(Wr=requestAnimationFrame(Tt)))},cr=function(){(!ze||!ze.isPressed||ze.startX>te.clientWidth)&&(H.cache++,ze?Wr||(Wr=requestAnimationFrame(Tt)):Tt(),nt||rr("scrollStart"),nt=Oe())},qn=function(){vo=G.innerWidth,_o=G.innerHeight},Or=function(){H.cache++,!Me&&!yo&&!oe.fullscreenElement&&!oe.webkitFullscreenElement&&(!ei||vo!==G.innerWidth||Math.abs(G.innerHeight-_o)>G.innerHeight*.25)&&Cn.restart(!0)},tr={},qs=[],ko=function r(){return be($,"scrollEnd",r)||Vt(!0)},rr=function(e){return tr[e]&&tr[e].map(function(i){return i()})||qs},Ve=[],Po=function(e){for(var i=0;i<Ve.length;i+=5)(!e||Ve[i+4]&&Ve[i+4].query===e)&&(Ve[i].style.cssText=Ve[i+1],Ve[i].getBBox&&Ve[i].setAttribute("transform",Ve[i+2]||""),Ve[i+3].uncache=1)},mi=function(e,i){var t;for(Be=0;Be<B.length;Be++)t=B[Be],t&&(!i||t._ctx===i)&&(e?t.kill(1):t.revert(!0,!0));En=!0,i&&Po(i),i||rr("revert")},Lo=function(e,i){H.cache++,(i||!qe)&&H.forEach(function(t){return $e(t)&&t.cacheID++&&(t.rec=0)}),je(e)&&(G.history.scrollRestoration=ui=e)},qe,Qt=0,Ni,Hs=function(){if(Ni!==Qt){var e=Ni=Qt;requestAnimationFrame(function(){return e===Qt&&Vt(!0)})}},Ao=function(){te.appendChild(hr),fi=!ze&&hr.offsetHeight||G.innerHeight,te.removeChild(hr)},Fi=function(e){return Gr(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(i){return i.style.display=e?"none":"block"})},Vt=function(e,i){if(nt&&!e&&!En){we($,"scrollEnd",ko);return}Ao(),qe=$.isRefreshing=!0,H.forEach(function(n){return $e(n)&&++n.cacheID&&(n.rec=n())});var t=rr("refreshInit");mo&&$.sort(),i||mi(),H.forEach(function(n){$e(n)&&(n.smooth&&(n.target.style.scrollBehavior="auto"),n(0))}),B.slice(0).forEach(function(n){return n.refresh()}),En=!1,B.forEach(function(n){if(n._subPinOffset&&n.pin){var o=n.vars.horizontal?"offsetWidth":"offsetHeight",a=n.pin[o];n.revert(!0,1),n.adjustPinSpacing(n.pin[o]-a),n.refresh()}}),ri=1,Fi(!0),B.forEach(function(n){var o=_t(n.scroller,n._dir),a=n.vars.end==="max"||n._endClamp&&n.end>o,s=n._startClamp&&n.start>=o;(a||s)&&n.setPositions(s?o-1:n.start,a?Math.max(s?o:n.start+1,o):n.end,!0)}),Fi(!1),ri=0,t.forEach(function(n){return n&&n.render&&n.render(-1)}),H.forEach(function(n){$e(n)&&(n.smooth&&requestAnimationFrame(function(){return n.target.style.scrollBehavior="smooth"}),n.rec&&n(n.rec))}),Lo(ui,1),Cn.pause(),Qt++,qe=2,Tt(2),B.forEach(function(n){return $e(n.vars.onRefresh)&&n.vars.onRefresh(n)}),qe=$.isRefreshing=!1,rr("refresh")},ii=0,dn=1,Hr,Tt=function(e){if(e===2||!qe&&!En){$.isUpdating=!0,Hr&&Hr.update(0);var i=B.length,t=Oe(),n=t-zn>=50,o=i&&B[0].scroll();if(dn=ii>o?-1:1,qe||(ii=o),n&&(nt&&!An&&t-nt>200&&(nt=0,rr("scrollEnd")),Pr=zn,zn=t),dn<0){for(Be=i;Be-- >0;)B[Be]&&B[Be].update(0,n);dn=1}else for(Be=0;Be<i;Be++)B[Be]&&B[Be].update(0,n);$.isUpdating=!1}Wr=0},oi=[xo,So,pi,di,tt+qr,tt+Fr,tt+Br,tt+zr,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],pn=oi.concat([jt,Kt,"boxSizing","max"+_r,"max"+hi,"position",tt,he,he+Br,he+Fr,he+qr,he+zr]),$s=function(e,i,t){gr(t);var n=e._gsap;if(n.spacerIsNative)gr(n.spacerState);else if(e._gsap.swappedIn){var o=i.parentNode;o&&(o.insertBefore(e,i),o.removeChild(i))}e._gsap.swappedIn=!1},Hn=function(e,i,t,n){if(!e._gsap.swappedIn){for(var o=oi.length,a=i.style,s=e.style,f;o--;)f=oi[o],a[f]=t[f];a.position=t.position==="absolute"?"absolute":"relative",t.display==="inline"&&(a.display="inline-block"),s[pi]=s[di]="auto",a.flexBasis=t.flexBasis||"auto",a.overflow="visible",a.boxSizing="border-box",a[jt]=xn(e,He)+me,a[Kt]=xn(e,ye)+me,a[he]=s[tt]=s[So]=s[xo]="0",gr(n),s[jt]=s["max"+_r]=t[jt],s[Kt]=s["max"+hi]=t[Kt],s[he]=t[he],e.parentNode!==i&&(e.parentNode.insertBefore(i,e),i.appendChild(e)),e._gsap.swappedIn=!0}},Xs=/([A-Z])/g,gr=function(e){if(e){var i=e.t.style,t=e.length,n=0,o,a;for((e.t._gsap||S.core.getCache(e.t)).uncache=1;n<t;n+=2)a=e[n+1],o=e[n],a?i[o]=a:i[o]&&i.removeProperty(o.replace(Xs,"-$1").toLowerCase())}},sn=function(e){for(var i=pn.length,t=e.style,n=[],o=0;o<i;o++)n.push(pn[o],t[pn[o]]);return n.t=e,n},Ys=function(e,i,t){for(var n=[],o=e.length,a=t?8:0,s;a<o;a+=2)s=e[a],n.push(s,s in i?i[s]:e[a+1]);return n.t=e.t,n},hn={left:0,top:0},zi=function(e,i,t,n,o,a,s,f,y,p,v,m,u,g){$e(e)&&(e=e(f)),je(e)&&e.substr(0,3)==="max"&&(e=m+(e.charAt(4)==="="?un("0"+e.substr(3),t):0));var w=u?u.time():0,b,C,c;if(u&&u.seek(0),isNaN(e)||(e=+e),Mr(e))u&&(e=S.utils.mapRange(u.scrollTrigger.start,u.scrollTrigger.end,0,m,e)),s&&fn(s,t,n,!0);else{$e(i)&&(i=i(f));var h=(e||"0").split(" "),_,A,D,T;c=Ye(i,f)||te,_=xt(c)||{},(!_||!_.left&&!_.top)&&rt(c).display==="none"&&(T=c.style.display,c.style.display="block",_=xt(c),T?c.style.display=T:c.style.removeProperty("display")),A=un(h[0],_[n.d]),D=un(h[1]||"0",t),e=_[n.p]-y[n.p]-p+A+o-D,s&&fn(s,D,n,t-D<20||s._isStart&&D>20),t-=t-D}if(g&&(f[g]=e||-.001,e<0&&(e=0)),a){var J=e+t,I=a._isStart;b="scroll"+n.d2,fn(a,J,n,I&&J>20||!I&&(v?Math.max(te[b],ft[b]):a.parentNode[b])<=J+1),v&&(y=xt(s),v&&(a.style[n.op.p]=y[n.op.p]-n.op.m-a._offset+me))}return u&&c&&(b=xt(c),u.seek(m),C=xt(c),u._caScrollDist=b[n.p]-C[n.p],e=e/u._caScrollDist*m),u&&u.seek(w),u?e:Math.round(e)},Gs=/(webkit|moz|length|cssText|inset)/i,Bi=function(e,i,t,n){if(e.parentNode!==i){var o=e.style,a,s;if(i===te){e._stOrig=o.cssText,s=rt(e);for(a in s)!+a&&!Gs.test(a)&&s[a]&&typeof o[a]=="string"&&a!=="0"&&(o[a]=s[a]);o.top=t,o.left=n}else o.cssText=e._stOrig;S.core.getCache(e).uncache=1,i.appendChild(e)}},Mo=function(e,i,t){var n=i,o=n;return function(a){var s=Math.round(e());return s!==n&&s!==o&&Math.abs(s-n)>3&&Math.abs(s-o)>3&&(a=s,t&&t()),o=n,n=a,a}},an=function(e,i,t){var n={};n[i.p]="+="+t,S.set(e,n)},qi=function(e,i){var t=Bt(e,i),n="_scroll"+i.p2,o=function a(s,f,y,p,v){var m=a.tween,u=f.onComplete,g={};y=y||t();var w=Mo(t,y,function(){m.kill(),a.tween=0});return v=p&&v||0,p=p||s-y,m&&m.kill(),f[n]=s,f.inherit=!1,f.modifiers=g,g[n]=function(){return w(y+p*m.ratio+v*m.ratio*m.ratio)},f.onUpdate=function(){H.cache++,a.tween&&Tt()},f.onComplete=function(){a.tween=0,u&&u.call(m)},m=a.tween=S.to(e,f),m};return e[n]=t,t.wheelHandler=function(){return o.tween&&o.tween.kill()&&(o.tween=0)},we(e,"wheel",t.wheelHandler),$.isTouch&&we(e,"touchmove",t.wheelHandler),o},$=function(){function r(i,t){ur||r.register(S),ti(this),this.init(i,t)}var e=r.prototype;return e.init=function(t,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Lr){this.update=this.refresh=this.kill=yt;return}t=Di(je(t)||Mr(t)||t.nodeType?{trigger:t}:t,nn);var o=t,a=o.onUpdate,s=o.toggleClass,f=o.id,y=o.onToggle,p=o.onRefresh,v=o.scrub,m=o.trigger,u=o.pin,g=o.pinSpacing,w=o.invalidateOnRefresh,b=o.anticipatePin,C=o.onScrubComplete,c=o.onSnapComplete,h=o.once,_=o.snap,A=o.pinReparent,D=o.pinSpacer,T=o.containerAnimation,J=o.fastScrollEnd,I=o.preventOverlaps,E=t.horizontal||t.containerAnimation&&t.horizontal!==!1?He:ye,X=!v&&v!==0,k=Ye(t.scroller||G),V=S.core.getCache(k),z=er(k),W=("pinType"in t?t.pinType:zt(k,"pinType")||z&&"fixed")==="fixed",re=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],Q=X&&t.toggleActions.split(" "),M="markers"in t?t.markers:nn.markers,K=z?0:parseFloat(rt(k)["border"+E.p2+_r])||0,l=this,ee=t.onRefreshInit&&function(){return t.onRefreshInit(l)},pt=Rs(k,z,E),Pt=Ns(k,z),Je=0,bt=0,De=0,fe=Bt(k,E),Ie,ke,Lt,Re,it,U,ae,Xe,Ge,d,We,wt,At,de,Mt,qt,nr,_e,Ot,le,ot,et,Ct,vr,pe,Ur,Dt,ir,or,It,Ht,q,$t,st,at,lt,Xt,sr,Et;if(l._startClamp=l._endClamp=!1,l._dir=E,b*=45,l.scroller=k,l.scroll=T?T.time.bind(T):fe,Re=fe(),l.vars=t,n=n||t.animation,"refreshPriority"in t&&(mo=1,t.refreshPriority===-9999&&(Hr=l)),V.tweenScroll=V.tweenScroll||{top:qi(k,ye),left:qi(k,He)},l.tweenTo=Ie=V.tweenScroll[E.p],l.scrubDuration=function(x){$t=Mr(x)&&x,$t?q?q.duration(x):q=S.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:$t,paused:!0,onComplete:function(){return C&&C(l)}}):(q&&q.progress(1).kill(),q=0)},n&&(n.vars.lazy=!1,n._initted&&!l.isReverted||n.vars.immediateRender!==!1&&t.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),l.animation=n.pause(),n.scrollTrigger=l,l.scrubDuration(v),It=0,f||(f=n.vars.id)),_&&((!Ut(_)||_.push)&&(_={snapTo:_}),"scrollBehavior"in te.style&&S.set(z?[te,ft]:k,{scrollBehavior:"auto"}),H.forEach(function(x){return $e(x)&&x.target===(z?oe.scrollingElement||ft:k)&&(x.smooth=!1)}),Lt=$e(_.snapTo)?_.snapTo:_.snapTo==="labels"?zs(n):_.snapTo==="labelsDirectional"?Bs(n):_.directional!==!1?function(x,F){return gi(_.snapTo)(x,Oe()-bt<500?0:F.direction)}:S.utils.snap(_.snapTo),st=_.duration||{min:.1,max:2},st=Ut(st)?Nr(st.min,st.max):Nr(st,st),at=S.delayedCall(_.delay||$t/2||.1,function(){var x=fe(),F=Oe()-bt<500,L=Ie.tween;if((F||Math.abs(l.getVelocity())<10)&&!L&&!An&&Je!==x){var R=(x-U)/de,ve=n&&!X?n.totalProgress():R,Y=F?0:(ve-Ht)/(Oe()-Pr)*1e3||0,ce=S.utils.clamp(-R,1-R,lr(Y/2)*Y/.185),Pe=R+(_.inertia===!1?0:ce),se,ne,Z=_,ct=Z.onStart,ie=Z.onInterrupt,Ue=Z.onComplete;if(se=Lt(Pe,l),Mr(se)||(se=Pe),ne=Math.round(U+se*de),x<=ae&&x>=U&&ne!==x){if(L&&!L._initted&&L.data<=lr(ne-x))return;_.inertia===!1&&(ce=se-R),Ie(ne,{duration:st(lr(Math.max(lr(Pe-ve),lr(se-ve))*.185/Y/.05||0)),ease:_.ease||"power3",data:lr(ne-x),onInterrupt:function(){return at.restart(!0)&&ie&&ie(l)},onComplete:function(){l.update(),Je=fe(),n&&(q?q.resetTo("totalProgress",se,n._tTime/n._tDur):n.progress(se)),It=Ht=n&&!X?n.totalProgress():l.progress,c&&c(l),Ue&&Ue(l)}},x,ce*de,ne-x-ce*de),ct&&ct(l,Ie.tween)}}else l.isActive&&Je!==x&&at.restart(!0)}).pause()),f&&(ni[f]=l),m=l.trigger=Ye(m||u!==!0&&u),Et=m&&m._gsap&&m._gsap.stRevert,Et&&(Et=Et(l)),u=u===!0?m:Ye(u),je(s)&&(s={targets:m,className:s}),u&&(g===!1||g===tt||(g=!g&&u.parentNode&&u.parentNode.style&&rt(u.parentNode).display==="flex"?!1:he),l.pin=u,ke=S.core.getCache(u),ke.spacer?Mt=ke.pinState:(D&&(D=Ye(D),D&&!D.nodeType&&(D=D.current||D.nativeElement),ke.spacerIsNative=!!D,D&&(ke.spacerState=sn(D))),ke.spacer=_e=D||oe.createElement("div"),_e.classList.add("pin-spacer"),f&&_e.classList.add("pin-spacer-"+f),ke.pinState=Mt=sn(u)),t.force3D!==!1&&S.set(u,{force3D:!0}),l.spacer=_e=ke.spacer,or=rt(u),vr=or[g+E.os2],le=S.getProperty(u),ot=S.quickSetter(u,E.a,me),Hn(u,_e,or),nr=sn(u)),M){wt=Ut(M)?Di(M,Ii):Ii,d=on("scroller-start",f,k,E,wt,0),We=on("scroller-end",f,k,E,wt,0,d),Ot=d["offset"+E.op.d2];var br=Ye(zt(k,"content")||k);Xe=this.markerStart=on("start",f,br,E,wt,Ot,0,T),Ge=this.markerEnd=on("end",f,br,E,wt,Ot,0,T),T&&(sr=S.quickSetter([Xe,Ge],E.a,me)),!W&&!(vt.length&&zt(k,"fixedMarkers")===!0)&&(Fs(z?te:k),S.set([d,We],{force3D:!0}),Ur=S.quickSetter(d,E.a,me),ir=S.quickSetter(We,E.a,me))}if(T){var N=T.vars.onUpdate,O=T.vars.onUpdateParams;T.eventCallback("onUpdate",function(){l.update(0,0,1),N&&N.apply(T,O||[])})}if(l.previous=function(){return B[B.indexOf(l)-1]},l.next=function(){return B[B.indexOf(l)+1]},l.revert=function(x,F){if(!F)return l.kill(!0);var L=x!==!1||!l.enabled,R=Me;L!==l.isReverted&&(L&&(lt=Math.max(fe(),l.scroll.rec||0),De=l.progress,Xt=n&&n.progress()),Xe&&[Xe,Ge,d,We].forEach(function(ve){return ve.style.display=L?"none":"block"}),L&&(Me=l,l.update(L)),u&&(!A||!l.isActive)&&(L?$s(u,_e,Mt):Hn(u,_e,rt(u),pe)),L||l.update(L),Me=R,l.isReverted=L)},l.refresh=function(x,F,L,R){if(!((Me||!l.enabled)&&!F)){if(u&&x&&nt){we(r,"scrollEnd",ko);return}!qe&&ee&&ee(l),Me=l,Ie.tween&&!L&&(Ie.tween.kill(),Ie.tween=0),q&&q.pause(),w&&n&&n.revert({kill:!1}).invalidate(),l.isReverted||l.revert(!0,!0),l._subPinOffset=!1;var ve=pt(),Y=Pt(),ce=T?T.duration():_t(k,E),Pe=de<=.01,se=0,ne=R||0,Z=Ut(L)?L.end:t.end,ct=t.endTrigger||m,ie=Ut(L)?L.start:t.start||(t.start===0||!m?0:u?"0 0":"0 100%"),Ue=l.pinnedContainer=t.pinnedContainer&&Ye(t.pinnedContainer,l),ht=m&&Math.max(0,B.indexOf(l))||0,Ee=ht,xe,Le,Yt,Vr,Ae,ge,gt,Mn,yi,wr,mt,Cr,jr;for(M&&Ut(L)&&(Cr=S.getProperty(d,E.p),jr=S.getProperty(We,E.p));Ee--;)ge=B[Ee],ge.end||ge.refresh(0,1)||(Me=l),gt=ge.pin,gt&&(gt===m||gt===u||gt===Ue)&&!ge.isReverted&&(wr||(wr=[]),wr.unshift(ge),ge.revert(!0,!0)),ge!==B[Ee]&&(ht--,Ee--);for($e(ie)&&(ie=ie(l)),ie=Li(ie,"start",l),U=zi(ie,m,ve,E,fe(),Xe,d,l,Y,K,W,ce,T,l._startClamp&&"_startClamp")||(u?-.001:0),$e(Z)&&(Z=Z(l)),je(Z)&&!Z.indexOf("+=")&&(~Z.indexOf(" ")?Z=(je(ie)?ie.split(" ")[0]:"")+Z:(se=un(Z.substr(2),ve),Z=je(ie)?ie:(T?S.utils.mapRange(0,T.duration(),T.scrollTrigger.start,T.scrollTrigger.end,U):U)+se,ct=m)),Z=Li(Z,"end",l),ae=Math.max(U,zi(Z||(ct?"100% 0":ce),ct,ve,E,fe()+se,Ge,We,l,Y,K,W,ce,T,l._endClamp&&"_endClamp"))||-.001,se=0,Ee=ht;Ee--;)ge=B[Ee],gt=ge.pin,gt&&ge.start-ge._pinPush<=U&&!T&&ge.end>0&&(xe=ge.end-(l._startClamp?Math.max(0,ge.start):ge.start),(gt===m&&ge.start-ge._pinPush<U||gt===Ue)&&isNaN(ie)&&(se+=xe*(1-ge.progress)),gt===u&&(ne+=xe));if(U+=se,ae+=se,l._startClamp&&(l._startClamp+=se),l._endClamp&&!qe&&(l._endClamp=ae||-.001,ae=Math.min(ae,_t(k,E))),de=ae-U||(U-=.01)&&.001,Pe&&(De=S.utils.clamp(0,1,S.utils.normalize(U,ae,lt))),l._pinPush=ne,Xe&&se&&(xe={},xe[E.a]="+="+se,Ue&&(xe[E.p]="-="+fe()),S.set([Xe,Ge],xe)),u&&!(ri&&l.end>=_t(k,E)))xe=rt(u),Vr=E===ye,Yt=fe(),et=parseFloat(le(E.a))+ne,!ce&&ae>1&&(mt=(z?oe.scrollingElement||ft:k).style,mt={style:mt,value:mt["overflow"+E.a.toUpperCase()]},z&&rt(te)["overflow"+E.a.toUpperCase()]!=="scroll"&&(mt.style["overflow"+E.a.toUpperCase()]="scroll")),Hn(u,_e,xe),nr=sn(u),Le=xt(u,!0),Mn=W&&Bt(k,Vr?He:ye)(),g?(pe=[g+E.os2,de+ne+me],pe.t=_e,Ee=g===he?xn(u,E)+de+ne:0,Ee&&(pe.push(E.d,Ee+me),_e.style.flexBasis!=="auto"&&(_e.style.flexBasis=Ee+me)),gr(pe),Ue&&B.forEach(function(Er){Er.pin===Ue&&Er.vars.pinSpacing!==!1&&(Er._subPinOffset=!0)}),W&&fe(lt)):(Ee=xn(u,E),Ee&&_e.style.flexBasis!=="auto"&&(_e.style.flexBasis=Ee+me)),W&&(Ae={top:Le.top+(Vr?Yt-U:Mn)+me,left:Le.left+(Vr?Mn:Yt-U)+me,boxSizing:"border-box",position:"fixed"},Ae[jt]=Ae["max"+_r]=Math.ceil(Le.width)+me,Ae[Kt]=Ae["max"+hi]=Math.ceil(Le.height)+me,Ae[tt]=Ae[tt+Br]=Ae[tt+Fr]=Ae[tt+qr]=Ae[tt+zr]="0",Ae[he]=xe[he],Ae[he+Br]=xe[he+Br],Ae[he+Fr]=xe[he+Fr],Ae[he+qr]=xe[he+qr],Ae[he+zr]=xe[he+zr],qt=Ys(Mt,Ae,A),qe&&fe(0)),n?(yi=n._initted,Nn(1),n.render(n.duration(),!0,!0),Ct=le(E.a)-et+de+ne,Dt=Math.abs(de-Ct)>1,W&&Dt&&qt.splice(qt.length-2,2),n.render(0,!0,!0),yi||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),Nn(0)):Ct=de,mt&&(mt.value?mt.style["overflow"+E.a.toUpperCase()]=mt.value:mt.style.removeProperty("overflow-"+E.a));else if(m&&fe()&&!T)for(Le=m.parentNode;Le&&Le!==te;)Le._pinOffset&&(U-=Le._pinOffset,ae-=Le._pinOffset),Le=Le.parentNode;wr&&wr.forEach(function(Er){return Er.revert(!1,!0)}),l.start=U,l.end=ae,Re=it=qe?lt:fe(),!T&&!qe&&(Re<lt&&fe(lt),l.scroll.rec=0),l.revert(!1,!0),bt=Oe(),at&&(Je=-1,at.restart(!0)),Me=0,n&&X&&(n._initted||Xt)&&n.progress()!==Xt&&n.progress(Xt||0,!0).render(n.time(),!0,!0),(Pe||De!==l.progress||T||w)&&(n&&!X&&n.totalProgress(T&&U<-.001&&!De?S.utils.normalize(U,ae,0):De,!0),l.progress=Pe||(Re-U)/de===De?0:De),u&&g&&(_e._pinOffset=Math.round(l.progress*Ct)),q&&q.invalidate(),isNaN(Cr)||(Cr-=S.getProperty(d,E.p),jr-=S.getProperty(We,E.p),an(d,E,Cr),an(Xe,E,Cr-(R||0)),an(We,E,jr),an(Ge,E,jr-(R||0))),Pe&&!qe&&l.update(),p&&!qe&&!At&&(At=!0,p(l),At=!1)}},l.getVelocity=function(){return(fe()-it)/(Oe()-Pr)*1e3||0},l.endAnimation=function(){Tr(l.callbackAnimation),n&&(q?q.progress(1):n.paused()?X||Tr(n,l.direction<0,1):Tr(n,n.reversed()))},l.labelToScroll=function(x){return n&&n.labels&&(U||l.refresh()||U)+n.labels[x]/n.duration()*de||0},l.getTrailing=function(x){var F=B.indexOf(l),L=l.direction>0?B.slice(0,F).reverse():B.slice(F+1);return(je(x)?L.filter(function(R){return R.vars.preventOverlaps===x}):L).filter(function(R){return l.direction>0?R.end<=U:R.start>=ae})},l.update=function(x,F,L){if(!(T&&!L&&!x)){var R=qe===!0?lt:l.scroll(),ve=x?0:(R-U)/de,Y=ve<0?0:ve>1?1:ve||0,ce=l.progress,Pe,se,ne,Z,ct,ie,Ue,ht;if(F&&(it=Re,Re=T?fe():R,_&&(Ht=It,It=n&&!X?n.totalProgress():Y)),b&&u&&!Me&&!Jr&&nt&&(!Y&&U<R+(R-it)/(Oe()-Pr)*b?Y=1e-4:Y===1&&ae>R+(R-it)/(Oe()-Pr)*b&&(Y=.9999)),Y!==ce&&l.enabled){if(Pe=l.isActive=!!Y&&Y<1,se=!!ce&&ce<1,ie=Pe!==se,ct=ie||!!Y!=!!ce,l.direction=Y>ce?1:-1,l.progress=Y,ct&&!Me&&(ne=Y&&!ce?0:Y===1?1:ce===1?2:3,X&&(Z=!ie&&Q[ne+1]!=="none"&&Q[ne+1]||Q[ne],ht=n&&(Z==="complete"||Z==="reset"||Z in n))),I&&(ie||ht)&&(ht||v||!n)&&($e(I)?I(l):l.getTrailing(I).forEach(function(Yt){return Yt.endAnimation()})),X||(q&&!Me&&!Jr?(q._dp._time-q._start!==q._time&&q.render(q._dp._time-q._start),q.resetTo?q.resetTo("totalProgress",Y,n._tTime/n._tDur):(q.vars.totalProgress=Y,q.invalidate().restart())):n&&n.totalProgress(Y,!!(Me&&(bt||x)))),u){if(x&&g&&(_e.style[g+E.os2]=vr),!W)ot(Ar(et+Ct*Y));else if(ct){if(Ue=!x&&Y>ce&&ae+1>R&&R+1>=_t(k,E),A)if(!x&&(Pe||Ue)){var Ee=xt(u,!0),xe=R-U;Bi(u,te,Ee.top+(E===ye?xe:0)+me,Ee.left+(E===ye?0:xe)+me)}else Bi(u,_e);gr(Pe||Ue?qt:nr),Dt&&Y<1&&Pe||ot(et+(Y===1&&!Ue?Ct:0))}}_&&!Ie.tween&&!Me&&!Jr&&at.restart(!0),s&&(ie||h&&Y&&(Y<1||!Fn))&&Gr(s.targets).forEach(function(Yt){return Yt.classList[Pe||h?"add":"remove"](s.className)}),a&&!X&&!x&&a(l),ct&&!Me?(X&&(ht&&(Z==="complete"?n.pause().totalProgress(1):Z==="reset"?n.restart(!0).pause():Z==="restart"?n.restart(!0):n[Z]()),a&&a(l)),(ie||!Fn)&&(y&&ie&&Bn(l,y),re[ne]&&Bn(l,re[ne]),h&&(Y===1?l.kill(!1,1):re[ne]=0),ie||(ne=Y===1?1:3,re[ne]&&Bn(l,re[ne]))),J&&!Pe&&Math.abs(l.getVelocity())>(Mr(J)?J:2500)&&(Tr(l.callbackAnimation),q?q.progress(1):Tr(n,Z==="reverse"?1:!Y,1))):X&&a&&!Me&&a(l)}if(ir){var Le=T?R/T.duration()*(T._caScrollDist||0):R;Ur(Le+(d._isFlipped?1:0)),ir(Le)}sr&&sr(-R/T.duration()*(T._caScrollDist||0))}},l.enable=function(x,F){l.enabled||(l.enabled=!0,we(k,"resize",Or),z||we(k,"scroll",cr),ee&&we(r,"refreshInit",ee),x!==!1&&(l.progress=De=0,Re=it=Je=fe()),F!==!1&&l.refresh())},l.getTween=function(x){return x&&Ie?Ie.tween:q},l.setPositions=function(x,F,L,R){if(T){var ve=T.scrollTrigger,Y=T.duration(),ce=ve.end-ve.start;x=ve.start+ce*x/Y,F=ve.start+ce*F/Y}l.refresh(!1,!1,{start:Ai(x,L&&!!l._startClamp),end:Ai(F,L&&!!l._endClamp)},R),l.update()},l.adjustPinSpacing=function(x){if(pe&&x){var F=pe.indexOf(E.d)+1;pe[F]=parseFloat(pe[F])+x+me,pe[1]=parseFloat(pe[1])+x+me,gr(pe)}},l.disable=function(x,F){if(l.enabled&&(x!==!1&&l.revert(!0,!0),l.enabled=l.isActive=!1,F||q&&q.pause(),lt=0,ke&&(ke.uncache=1),ee&&be(r,"refreshInit",ee),at&&(at.pause(),Ie.tween&&Ie.tween.kill()&&(Ie.tween=0)),!z)){for(var L=B.length;L--;)if(B[L].scroller===k&&B[L]!==l)return;be(k,"resize",Or),z||be(k,"scroll",cr)}},l.kill=function(x,F){l.disable(x,F),q&&!F&&q.kill(),f&&delete ni[f];var L=B.indexOf(l);L>=0&&B.splice(L,1),L===Be&&dn>0&&Be--,L=0,B.forEach(function(R){return R.scroller===l.scroller&&(L=1)}),L||qe||(l.scroll.rec=0),n&&(n.scrollTrigger=null,x&&n.revert({kill:!1}),F||n.kill()),Xe&&[Xe,Ge,d,We].forEach(function(R){return R.parentNode&&R.parentNode.removeChild(R)}),Hr===l&&(Hr=0),u&&(ke&&(ke.uncache=1),L=0,B.forEach(function(R){return R.pin===u&&L++}),L||(ke.spacer=0)),t.onKill&&t.onKill(l)},B.push(l),l.enable(!1,!1),Et&&Et(l),n&&n.add&&!de){var j=l.update;l.update=function(){l.update=j,U||ae||l.refresh()},S.delayedCall(.01,l.update),de=.01,U=ae=0}else l.refresh();u&&Hs()},r.register=function(t){return ur||(S=t||wo(),bo()&&window.document&&r.enable(),ur=Lr),ur},r.defaults=function(t){if(t)for(var n in t)nn[n]=t[n];return nn},r.disable=function(t,n){Lr=0,B.forEach(function(a){return a[n?"kill":"disable"](t)}),be(G,"wheel",cr),be(oe,"scroll",cr),clearInterval(Zr),be(oe,"touchcancel",yt),be(te,"touchstart",yt),tn(be,oe,"pointerdown,touchstart,mousedown",Mi),tn(be,oe,"pointerup,touchend,mouseup",Oi),Cn.kill(),en(be);for(var o=0;o<H.length;o+=3)rn(be,H[o],H[o+1]),rn(be,H[o],H[o+2])},r.enable=function(){if(G=window,oe=document,ft=oe.documentElement,te=oe.body,S&&(Gr=S.utils.toArray,Nr=S.utils.clamp,ti=S.core.context||yt,Nn=S.core.suppressOverwrites||yt,ui=G.history.scrollRestoration||"auto",ii=G.pageYOffset,S.core.globals("ScrollTrigger",r),te)){Lr=1,hr=document.createElement("div"),hr.style.height="100vh",hr.style.position="absolute",Ao(),Is(),ue.register(S),r.isTouch=ue.isTouch,Rt=ue.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),ei=ue.isTouch===1,we(G,"wheel",cr),go=[G,oe,ft,te],S.matchMedia&&(r.matchMedia=function(f){var y=S.matchMedia(),p;for(p in f)y.add(p,f[p]);return y},S.addEventListener("matchMediaInit",function(){return mi()}),S.addEventListener("matchMediaRevert",function(){return Po()}),S.addEventListener("matchMedia",function(){Vt(0,1),rr("matchMedia")}),S.matchMedia("(orientation: portrait)",function(){return qn(),qn})),qn(),we(oe,"scroll",cr);var t=te.style,n=t.borderTopStyle,o=S.core.Animation.prototype,a,s;for(o.revert||Object.defineProperty(o,"revert",{value:function(){return this.time(-.01,!0)}}),t.borderTopStyle="solid",a=xt(te),ye.m=Math.round(a.top+ye.sc())||0,He.m=Math.round(a.left+He.sc())||0,n?t.borderTopStyle=n:t.removeProperty("border-top-style"),Zr=setInterval(Ri,250),S.delayedCall(.5,function(){return Jr=0}),we(oe,"touchcancel",yt),we(te,"touchstart",yt),tn(we,oe,"pointerdown,touchstart,mousedown",Mi),tn(we,oe,"pointerup,touchend,mouseup",Oi),Jn=S.utils.checkPrefix("transform"),pn.push(Jn),ur=Oe(),Cn=S.delayedCall(.2,Vt).pause(),fr=[oe,"visibilitychange",function(){var f=G.innerWidth,y=G.innerHeight;oe.hidden?(ki=f,Pi=y):(ki!==f||Pi!==y)&&Or()},oe,"DOMContentLoaded",Vt,G,"load",Vt,G,"resize",Or],en(we),B.forEach(function(f){return f.enable(0,1)}),s=0;s<H.length;s+=3)rn(be,H[s],H[s+1]),rn(be,H[s],H[s+2])}},r.config=function(t){"limitCallbacks"in t&&(Fn=!!t.limitCallbacks);var n=t.syncInterval;n&&clearInterval(Zr)||(Zr=n)&&setInterval(Ri,n),"ignoreMobileResize"in t&&(ei=r.isTouch===1&&t.ignoreMobileResize),"autoRefreshEvents"in t&&(en(be)||en(we,t.autoRefreshEvents||"none"),yo=(t.autoRefreshEvents+"").indexOf("resize")===-1)},r.scrollerProxy=function(t,n){var o=Ye(t),a=H.indexOf(o),s=er(o);~a&&H.splice(a,s?6:2),n&&(s?vt.unshift(G,n,te,n,ft,n):vt.unshift(o,n))},r.clearMatchMedia=function(t){B.forEach(function(n){return n._ctx&&n._ctx.query===t&&n._ctx.kill(!0,!0)})},r.isInViewport=function(t,n,o){var a=(je(t)?Ye(t):t).getBoundingClientRect(),s=a[o?jt:Kt]*n||0;return o?a.right-s>0&&a.left+s<G.innerWidth:a.bottom-s>0&&a.top+s<G.innerHeight},r.positionInViewport=function(t,n,o){je(t)&&(t=Ye(t));var a=t.getBoundingClientRect(),s=a[o?jt:Kt],f=n==null?s/2:n in Sn?Sn[n]*s:~n.indexOf("%")?parseFloat(n)*s/100:parseFloat(n)||0;return o?(a.left+f)/G.innerWidth:(a.top+f)/G.innerHeight},r.killAll=function(t){if(B.slice(0).forEach(function(o){return o.vars.id!=="ScrollSmoother"&&o.kill()}),t!==!0){var n=tr.killAll||[];tr={},n.forEach(function(o){return o()})}},r}();$.version="3.12.5";$.saveStyles=function(r){return r?Gr(r).forEach(function(e){if(e&&e.style){var i=Ve.indexOf(e);i>=0&&Ve.splice(i,5),Ve.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),S.core.getCache(e),ti())}}):Ve};$.revert=function(r,e){return mi(!r,e)};$.create=function(r,e){return new $(r,e)};$.refresh=function(r){return r?Or():(ur||$.register())&&Vt(!0)};$.update=function(r){return++H.cache&&Tt(r===!0?2:0)};$.clearScrollMemory=Lo;$.maxScroll=function(r,e){return _t(r,e?He:ye)};$.getScrollFunc=function(r,e){return Bt(Ye(r),e?He:ye)};$.getById=function(r){return ni[r]};$.getAll=function(){return B.filter(function(r){return r.vars.id!=="ScrollSmoother"})};$.isScrolling=function(){return!!nt};$.snapDirectional=gi;$.addEventListener=function(r,e){var i=tr[r]||(tr[r]=[]);~i.indexOf(e)||i.push(e)};$.removeEventListener=function(r,e){var i=tr[r],t=i&&i.indexOf(e);t>=0&&i.splice(t,1)};$.batch=function(r,e){var i=[],t={},n=e.interval||.016,o=e.batchMax||1e9,a=function(y,p){var v=[],m=[],u=S.delayedCall(n,function(){p(v,m),v=[],m=[]}).pause();return function(g){v.length||u.restart(!0),v.push(g.trigger),m.push(g),o<=v.length&&u.progress(1)}},s;for(s in e)t[s]=s.substr(0,2)==="on"&&$e(e[s])&&s!=="onRefreshInit"?a(s,e[s]):e[s];return $e(o)&&(o=o(),we($,"refresh",function(){return o=e.batchMax()})),Gr(r).forEach(function(f){var y={};for(s in t)y[s]=t[s];y.trigger=f,i.push($.create(y))}),i};var Hi=function(e,i,t,n){return i>n?e(n):i<0&&e(0),t>n?(n-i)/(t-i):t<0?i/(i-t):1},$n=function r(e,i){i===!0?e.style.removeProperty("touch-action"):e.style.touchAction=i===!0?"auto":i?"pan-"+i+(ue.isTouch?" pinch-zoom":""):"none",e===ft&&r(te,i)},ln={auto:1,scroll:1},Ws=function(e){var i=e.event,t=e.target,n=e.axis,o=(i.changedTouches?i.changedTouches[0]:i).target,a=o._gsap||S.core.getCache(o),s=Oe(),f;if(!a._isScrollT||s-a._isScrollT>2e3){for(;o&&o!==te&&(o.scrollHeight<=o.clientHeight&&o.scrollWidth<=o.clientWidth||!(ln[(f=rt(o)).overflowY]||ln[f.overflowX]));)o=o.parentNode;a._isScroll=o&&o!==t&&!er(o)&&(ln[(f=rt(o)).overflowY]||ln[f.overflowX]),a._isScrollT=s}(a._isScroll||n==="x")&&(i.stopPropagation(),i._gsapAllow=!0)},Oo=function(e,i,t,n){return ue.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:i,onWheel:n=n&&Ws,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return t&&we(oe,ue.eventTypes[0],Xi,!1,!0)},onDisable:function(){return be(oe,ue.eventTypes[0],Xi,!0)}})},Us=/(input|label|select|textarea)/i,$i,Xi=function(e){var i=Us.test(e.target.tagName);(i||$i)&&(e._gsapAllow=!0,$i=i)},Vs=function(e){Ut(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var i=e,t=i.normalizeScrollX,n=i.momentum,o=i.allowNestedScroll,a=i.onRelease,s,f,y=Ye(e.target)||ft,p=S.core.globals().ScrollSmoother,v=p&&p.get(),m=Rt&&(e.content&&Ye(e.content)||v&&e.content!==!1&&!v.smooth()&&v.content()),u=Bt(y,ye),g=Bt(y,He),w=1,b=(ue.isTouch&&G.visualViewport?G.visualViewport.scale*G.visualViewport.width:G.outerWidth)/G.innerWidth,C=0,c=$e(n)?function(){return n(s)}:function(){return n||2.8},h,_,A=Oo(y,e.type,!0,o),D=function(){return _=!1},T=yt,J=yt,I=function(){f=_t(y,ye),J=Nr(Rt?1:0,f),t&&(T=Nr(0,_t(y,He))),h=Qt},E=function(){m._gsap.y=Ar(parseFloat(m._gsap.y)+u.offset)+"px",m.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(m._gsap.y)+", 0, 1)",u.offset=u.cacheID=0},X=function(){if(_){requestAnimationFrame(D);var M=Ar(s.deltaY/2),K=J(u.v-M);if(m&&K!==u.v+u.offset){u.offset=K-u.v;var l=Ar((parseFloat(m&&m._gsap.y)||0)-u.offset);m.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+l+", 0, 1)",m._gsap.y=l+"px",u.cacheID=H.cache,Tt()}return!0}u.offset&&E(),_=!0},k,V,z,W,re=function(){I(),k.isActive()&&k.vars.scrollY>f&&(u()>f?k.progress(1)&&u(f):k.resetTo("scrollY",f))};return m&&S.set(m,{y:"+=0"}),e.ignoreCheck=function(Q){return Rt&&Q.type==="touchmove"&&X()||w>1.05&&Q.type!=="touchstart"||s.isGesturing||Q.touches&&Q.touches.length>1},e.onPress=function(){_=!1;var Q=w;w=Ar((G.visualViewport&&G.visualViewport.scale||1)/b),k.pause(),Q!==w&&$n(y,w>1.01?!0:t?!1:"x"),V=g(),z=u(),I(),h=Qt},e.onRelease=e.onGestureStart=function(Q,M){if(u.offset&&E(),!M)W.restart(!0);else{H.cache++;var K=c(),l,ee;t&&(l=g(),ee=l+K*.05*-Q.velocityX/.227,K*=Hi(g,l,ee,_t(y,He)),k.vars.scrollX=T(ee)),l=u(),ee=l+K*.05*-Q.velocityY/.227,K*=Hi(u,l,ee,_t(y,ye)),k.vars.scrollY=J(ee),k.invalidate().duration(K).play(.01),(Rt&&k.vars.scrollY>=f||l>=f-1)&&S.to({},{onUpdate:re,duration:K})}a&&a(Q)},e.onWheel=function(){k._ts&&k.pause(),Oe()-C>1e3&&(h=0,C=Oe())},e.onChange=function(Q,M,K,l,ee){if(Qt!==h&&I(),M&&t&&g(T(l[2]===M?V+(Q.startX-Q.x):g()+M-l[1])),K){u.offset&&E();var pt=ee[2]===K,Pt=pt?z+Q.startY-Q.y:u()+K-ee[1],Je=J(Pt);pt&&Pt!==Je&&(z+=Je-Pt),u(Je)}(K||M)&&Tt()},e.onEnable=function(){$n(y,t?!1:"x"),$.addEventListener("refresh",re),we(G,"resize",re),u.smooth&&(u.target.style.scrollBehavior="auto",u.smooth=g.smooth=!1),A.enable()},e.onDisable=function(){$n(y,!0),be(G,"resize",re),$.removeEventListener("refresh",re),A.kill()},e.lockAxis=e.lockAxis!==!1,s=new ue(e),s.iOS=Rt,Rt&&!u()&&u(1),Rt&&S.ticker.add(yt),W=s._dc,k=S.to(s,{ease:"power4",paused:!0,inherit:!1,scrollX:t?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Mo(u,u(),function(){return k.pause()})},onUpdate:Tt,onComplete:W.vars.onComplete}),s};$.sort=function(r){return B.sort(r||function(e,i){return(e.vars.refreshPriority||0)*-1e6+e.start-(i.start+(i.vars.refreshPriority||0)*-1e6)})};$.observe=function(r){return new ue(r)};$.normalizeScroll=function(r){if(typeof r>"u")return ze;if(r===!0&&ze)return ze.enable();if(r===!1){ze&&ze.kill(),ze=r;return}var e=r instanceof ue?r:Vs(r);return ze&&ze.target===e.target&&ze.kill(),er(e.target)&&(ze=e),e};$.core={_getVelocityProp:Zn,_inputObserver:Oo,_scrollers:H,_proxies:vt,bridge:{ss:function(){nt||rr("scrollStart"),nt=Oe()},ref:function(){return Me}}};wo()&&S.registerPlugin($);$r.registerPlugin($);class js{constructor(){P(this,"namespace","navigation");P(this,"toggle");P(this,"overlay");P(this,"menu");P(this,"items");P(this,"extras");P(this,"background");P(this,"timeline");this.toggle=document.querySelector(".toggle"),this.overlay=document.querySelector(".main-navigation--overlay"),this.menu=document.querySelector(".main-navigation--menus"),this.items=document.querySelectorAll(".main-navigation--menus .menu-categories li, .main-navigation--menus .menu-main li"),this.extras=document.querySelectorAll(".main-navigation--menus .menu-social, .main-navigation--menus .menu-external"),this.background=document.querySelector(".main-navigation .sign-background")}start(){ar==null||ar.subscribe(()=>{this.toggleMainMenu()}),this.bootstrapTween(),this.setEventListeners()}bootstrapTween(){window.innerWidth>=ji.LG?this.clearTimeline():this.buildTimeline()}clearTimeline(){var i,t;const e=[];(i=this.timeline)==null||i.clear(),this.timeline=void 0,(t=this.toggle)==null||t.classList.remove("active"),this.overlay&&e.push(this.overlay),this.menu&&e.push(this.menu),this.items&&e.push(...this.items),this.extras&&e.push(...this.extras),this.background&&e.push(this.background),ar.dispatch({type:mr.ACTION_MENU_HIDE}),$r.set(e,{clearProps:!0}),Xn(document.body)}buildTimeline(){var e;(e=this.toggle)==null||e.classList.remove("active"),this.timeline||(this.timeline=$r.timeline({paused:!0,onStart:()=>{var i;Gi(document.body),(i=this.toggle)==null||i.classList.add("active")},onReverseComplete:()=>{var i;Xn(document.body),(i=this.toggle)==null||i.classList.remove("active")}}),this.overlay&&this.timeline.fromTo(this.overlay,{autoAlpha:0},{autoAlpha:.8,ease:"power2.out",yoyo:!0,duration:1},0),this.menu&&this.timeline.fromTo(this.menu,{yPercent:0},{yPercent:100,ease:"power2.inOut",duration:1},0),this.background&&this.timeline.fromTo(this.background,{autoAlpha:0,y:300},{autoAlpha:.5,y:0,ease:"power2.out",duration:3},1),this.items&&this.timeline.fromTo(this.items,{autoAlpha:0,x:"100vw"},{autoAlpha:1,x:0,duration:2,ease:"power2.out",stagger:{each:.1,ease:"power2.out"}},.6),this.extras&&this.timeline.fromTo(this.extras,{autoAlpha:0,x:"100vw"},{autoAlpha:1,x:0,duration:2,ease:"power2.out",yoyo:!0},1.3),this.timeline.reverse())}setEventListeners(){var e;window.addEventListener("resize",()=>this.bootstrapTween()),(e=this.toggle)==null||e.addEventListener("click",()=>{ar.dispatch({type:mr.ACTION_MENU_TOGGLE})})}toggleMainMenu(){var i;const{menuVisible:e}=ar.getState();(i=this.timeline)==null||i.duration(e?2:1).reversed(!e)}}class Ks{constructor(){P(this,"namespace","application");P(this,"navigationInstance");P(this,"backTopInstance");P(this,"imageLazyLoadInstance");P(this,"carouselInstance");P(this,"heroCarouselInstance");P(this,"teamInstance");P(this,"formInstance");P(this,"pageHeader");P(this,"domainNavigation");this.navigationInstance=new js,this.backTopInstance=new Ho,this.imageLazyLoadInstance=new Vo,this.carouselInstance=new Vi,this.heroCarouselInstance=new Uo,this.teamInstance=new Ko,this.formInstance=new Wo,this.pageHeader=new jo,this.domainNavigation=new Go}start(){var e,i,t,n,o,a,s,f,y;(e=this.navigationInstance)==null||e.start(),(i=this.backTopInstance)==null||i.start(),(t=this.imageLazyLoadInstance)==null||t.start(),(n=this.carouselInstance)==null||n.start(),(o=this.heroCarouselInstance)==null||o.start(),(a=this.teamInstance)==null||a.start(),(s=this.formInstance)==null||s.start(),(f=this.pageHeader)==null||f.start(),(y=this.domainNavigation)==null||y.start()}}const Qs=new Ks;class Zs{constructor(){P(this,"namespace","guide");P(this,"toggleGuideKey","Digit9");P(this,"toggleDebugKey","Digit0");const e=document.createElement("div"),i=document.createElement("div"),t=document.createElement("div"),n=24;e.classList.add("guide"),t.classList.add("container"),i.classList.add("guide-wrapper");for(let o=0;o<n;o++){const a=document.createElement("div");a.classList.add("guide-element"),i.appendChild(a)}t.appendChild(i),e.appendChild(t),document.body.appendChild(e)}start(){var i;localStorage.getItem("guide")&&((i=document.querySelector(".guide"))==null||i.classList.add("active")),document.addEventListener("keyup",t=>{var n;switch(t.code){case this.toggleGuideKey:(n=document.querySelector(".guide"))==null||n.classList.toggle("active"),localStorage.getItem("guide")?localStorage.removeItem("guide"):localStorage.setItem("guide","1");break;case this.toggleDebugKey:document.body.classList.toggle("debug");break}})}}const Js={BASE_URL:"./",DEV:!1,MODE:"production",PROD:!0,SSR:!1},{DEV:ea}=Js;ea&&new Zs().start();document.addEventListener("DOMContentLoaded",()=>{Qs.start(),document.body.classList.add("ready")}); //# sourceMappingURL=main-7l8kGS5I.js.map