(()=>{var pH=Object.create;var{getPrototypeOf:lH,defineProperty:T8,getOwnPropertyNames:$K,getOwnPropertyDescriptor:oH}=Object,QK=Object.prototype.hasOwnProperty;function ZK(K){return this[K]}var sH,iH,$X=(K,J,$)=>{var Q=K!=null&&typeof K==="object";if(Q){var Z=J?sH??=new WeakMap:iH??=new WeakMap,q=Z.get(K);if(q)return q}$=K!=null?pH(lH(K)):{};let W=J||!K||!K.__esModule?T8($,"default",{value:K,enumerable:!0}):$;for(let H of $K(K))if(!QK.call(W,H))T8(W,H,{get:ZK.bind(K,H),enumerable:!0});if(Q)Z.set(K,W);return W},nH=(K)=>{var J=(JK??=new WeakMap).get(K),$;if(J)return J;if(J=T8({},"__esModule",{value:!0}),K&&typeof K==="object"||typeof K==="function"){for(var Q of $K(K))if(!QK.call(J,Q))T8(J,Q,{get:ZK.bind(K,Q),enumerable:!($=oH(K,Q))||$.enumerable})}return JK.set(K,J),J},JK;var aH=(K)=>K;function rH(K,J){this[K]=aH.bind(null,J)}var P0=(K,J)=>{for(var $ in J)T8(K,$,{get:J[$],enumerable:!0,configurable:!0,set:rH.bind(J,$)})};var QX=((K)=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(K,{get:(J,$)=>(typeof require<"u"?require:J)[$]}):K)(function(K){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+K+'" is not supported')});var JX={};P0(JX,{publicAssetUrl:()=>MJ,PUBLIC_ASSET_ORIGIN:()=>OZ,App:()=>eU});var KK="1.3.25";function HK(K,J,$){return Math.max(K,Math.min(J,$))}function tH(K,J,$){return(1-$)*K+$*J}function eH(K,J,$,Q){return tH(K,J,1-Math.exp(-$*Q))}function JG(K,J){return(K%J+J)%J}var $G=class{isRunning=!1;value=0;from=0;to=0;currentTime=0;lerp;duration;easing;onUpdate;advance(K){if(!this.isRunning)return;let J=!1;if(this.duration&&this.easing){this.currentTime+=K;let $=HK(0,this.currentTime/this.duration,1);J=$>=1;let Q=J?1:this.easing($);this.value=this.from+(this.to-this.from)*Q}else if(this.lerp){if(this.value=eH(this.value,this.to,this.lerp*60,K),Math.round(this.value)===Math.round(this.to))this.value=this.to,J=!0}else this.value=this.to,J=!0;if(J)this.stop();this.onUpdate?.(this.value,J)}stop(){this.isRunning=!1}fromTo(K,J,{lerp:$,duration:Q,easing:Z,onStart:q,onUpdate:W}){this.from=this.value=K,this.to=J,this.lerp=$,this.duration=Q,this.easing=Z,this.currentTime=0,this.isRunning=!0,q?.(),this.onUpdate=W}};function QG(K,J){let $;return function(...Q){clearTimeout($),$=setTimeout(()=>{$=void 0,K.apply(this,Q)},J)}}var ZG=class{width=0;height=0;scrollHeight=0;scrollWidth=0;debouncedResize;wrapperResizeObserver;contentResizeObserver;constructor(K,J,{autoResize:$=!0,debounce:Q=250}={}){if(this.wrapper=K,this.content=J,$){if(this.debouncedResize=QG(this.resize,Q),this.wrapper instanceof Window)window.addEventListener("resize",this.debouncedResize);else this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper);this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)}this.resize()}destroy(){if(this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),this.wrapper===window&&this.debouncedResize)window.removeEventListener("resize",this.debouncedResize)}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{if(this.wrapper instanceof Window)this.width=window.innerWidth,this.height=window.innerHeight;else this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight};onContentResize=()=>{if(this.wrapper instanceof Window)this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth;else this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth};get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},GK=class{events={};emit(K,...J){let $=this.events[K]||[];for(let Q=0,Z=$.length;Q{this.events[K]=this.events[K]?.filter(($)=>J!==$)}}off(K,J){this.events[K]=this.events[K]?.filter(($)=>J!==$)}destroy(){this.events={}}},KG=16.666666666666668,KJ={passive:!1};function qK(K,J){if(K===1)return KG;if(K===2)return J;return 1}var qG=class{touchStart={x:0,y:0};lastDelta={x:0,y:0};window={width:0,height:0};emitter=new GK;constructor(K,J={wheelMultiplier:1,touchMultiplier:1}){this.element=K,this.options=J,window.addEventListener("resize",this.onWindowResize),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,KJ),this.element.addEventListener("touchstart",this.onTouchStart,KJ),this.element.addEventListener("touchmove",this.onTouchMove,KJ),this.element.addEventListener("touchend",this.onTouchEnd,KJ)}on(K,J){return this.emitter.on(K,J)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize),this.element.removeEventListener("wheel",this.onWheel,KJ),this.element.removeEventListener("touchstart",this.onTouchStart,KJ),this.element.removeEventListener("touchmove",this.onTouchMove,KJ),this.element.removeEventListener("touchend",this.onTouchEnd,KJ)}onTouchStart=(K)=>{let{clientX:J,clientY:$}=K.targetTouches?K.targetTouches[0]:K;this.touchStart.x=J,this.touchStart.y=$,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:K})};onTouchMove=(K)=>{let{clientX:J,clientY:$}=K.targetTouches?K.targetTouches[0]:K,Q=-(J-this.touchStart.x)*this.options.touchMultiplier,Z=-($-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=J,this.touchStart.y=$,this.lastDelta={x:Q,y:Z},this.emitter.emit("scroll",{deltaX:Q,deltaY:Z,event:K})};onTouchEnd=(K)=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:K})};onWheel=(K)=>{let{deltaX:J,deltaY:$,deltaMode:Q}=K,Z=qK(Q,this.window.width),q=qK(Q,this.window.height);J*=Z,$*=q,J*=this.options.wheelMultiplier,$*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:J,deltaY:$,event:K})};onWindowResize=()=>{this.window={width:window.innerWidth,height:window.innerHeight}}},WK=(K)=>Math.min(1,1.001-2**(-10*K)),jK=class{_isScrolling=!1;_isStopped=!1;_isLocked=!1;_preventNextNativeScrollEvent=!1;_resetVelocityTimeout=null;_rafId=null;_isDraggingSelection=!1;isTouching;isIos;time=0;userData={};lastVelocity=0;velocity=0;direction=0;options;targetScroll;animatedScroll;animate=new $G;emitter=new GK;dimensions;virtualScroll;constructor({wrapper:K=window,content:J=document.documentElement,eventsTarget:$=K,smoothWheel:Q=!0,syncTouch:Z=!1,syncTouchLerp:q=0.075,touchInertiaExponent:W=1.7,duration:H,easing:G,lerp:B=0.1,infinite:z=!1,orientation:F="vertical",gestureOrientation:U=F==="horizontal"?"both":"vertical",touchMultiplier:j=1,wheelMultiplier:Y=1,autoResize:X=!0,prevent:N,virtualScroll:V,overscroll:O=!0,autoRaf:R=!1,anchors:I=!1,autoToggle:L=!1,allowNestedScroll:k=!1,__experimental__naiveDimensions:A=!1,naiveDimensions:E=A,stopInertiaOnNavigate:b=!1}={}){if(window.lenisVersion=KK,!window.lenis)window.lenis={};if(window.lenis.version=KK,F==="horizontal")window.lenis.horizontal=!0;if(Z===!0)window.lenis.touch=!0;if(this.isIos=/(iPad|iPhone|iPod)/g.test(navigator.userAgent),!K||K===document.documentElement)K=window;if(typeof H==="number"&&typeof G!=="function")G=WK;else if(typeof G==="function"&&typeof H!=="number")H=1;if(this.options={wrapper:K,content:J,eventsTarget:$,smoothWheel:Q,syncTouch:Z,syncTouchLerp:q,touchInertiaExponent:W,duration:H,easing:G,lerp:B,infinite:z,gestureOrientation:U,orientation:F,touchMultiplier:j,wheelMultiplier:Y,autoResize:X,prevent:N,virtualScroll:V,overscroll:O,autoRaf:R,anchors:I,autoToggle:L,allowNestedScroll:k,naiveDimensions:E,stopInertiaOnNavigate:b},this.dimensions=new ZG(K,J,{autoResize:X}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.anchors||this.options.stopInertiaOnNavigate)this.options.wrapper.addEventListener("click",this.onClick);if(this.options.wrapper.addEventListener("pointerdown",this.onPointerDown),this.virtualScroll=new qG($,{touchMultiplier:j,wheelMultiplier:Y}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle)this.checkOverflow(),this.rootElement.addEventListener("transitionend",this.onTransitionEnd);if(this.options.autoRaf)this._rafId=requestAnimationFrame(this.raf)}destroy(){if(this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown),this.options.anchors||this.options.stopInertiaOnNavigate)this.options.wrapper.removeEventListener("click",this.onClick);if(this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this._rafId)cancelAnimationFrame(this._rafId)}on(K,J){return this.emitter.on(K,J)}off(K,J){return this.emitter.off(K,J)}onScrollEnd=(K)=>{if(!(K instanceof CustomEvent)){if(this.isScrolling==="smooth"||this.isScrolling===!1)K.stopPropagation()}};dispatchScrollendEvent=()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))};get overflow(){let K=this.isHorizontal?"overflow-x":"overflow-y";return getComputedStyle(this.rootElement)[K]}checkOverflow(){if(["hidden","clip"].includes(this.overflow))this.internalStop();else this.internalStart()}onTransitionEnd=(K)=>{if(K.propertyName?.includes("overflow")&&K.target===this.rootElement)this.checkOverflow()};setScroll(K){if(this.isHorizontal)this.options.wrapper.scrollTo({left:K,behavior:"instant"});else this.options.wrapper.scrollTo({top:K,behavior:"instant"})}onClick=(K)=>{let J=K.composedPath().filter((Q)=>Q instanceof HTMLAnchorElement&&Q.href).map((Q)=>new URL(Q.href)),$=new URL(window.location.href);if(this.options.anchors){let Q=J.find((Z)=>$.host===Z.host&&$.pathname===Z.pathname&&Z.hash);if(Q){let Z=typeof this.options.anchors==="object"&&this.options.anchors?this.options.anchors:void 0,q=decodeURIComponent(Q.hash);this.scrollTo(q,Z);return}}if(this.options.stopInertiaOnNavigate){if(J.some((Q)=>$.host===Q.host&&$.pathname!==Q.pathname)){this.reset();return}}};onPointerDown=(K)=>{if(K.button===1)this.reset()};isTouchOnSelectionHandle(K){let J=window.getSelection();if(!J||J.isCollapsed||J.rangeCount===0)return!1;let $=K.targetTouches[0]??K.changedTouches[0];if(!$)return!1;let Q=J.getRangeAt(0).getClientRects();if(Q.length===0)return!1;let Z=Q[0],q=Q[Q.length-1],W=40,H=Math.hypot($.clientX-Z.left,$.clientY-Z.top)<=W,G=Math.hypot($.clientX-q.right,$.clientY-q.bottom)<=W;return H||G}onVirtualScroll=(K)=>{if(typeof this.options.virtualScroll==="function"&&this.options.virtualScroll(K)===!1)return;let{deltaX:J,deltaY:$,event:Q}=K;if(this.emitter.emit("virtual-scroll",{deltaX:J,deltaY:$,event:Q}),Q.ctrlKey)return;if(Q.lenisStopPropagation)return;let Z=Q.type.includes("touch"),q=Q.type.includes("wheel");if(Z&&this.isIos){if(Q.type==="touchstart")this._isDraggingSelection=this.isTouchOnSelectionHandle(Q);if(this._isDraggingSelection){if(Q.type==="touchend")this._isDraggingSelection=!1;return}}this.isTouching=Q.type==="touchstart"||Q.type==="touchmove";let W=J===0&&$===0;if(this.options.syncTouch&&Z&&Q.type==="touchstart"&&W&&!this.isStopped&&!this.isLocked){this.reset();return}let H=this.options.gestureOrientation==="vertical"&&$===0||this.options.gestureOrientation==="horizontal"&&J===0;if(W||H)return;let G=Q.composedPath();G=G.slice(0,G.indexOf(this.rootElement));let B=this.options.prevent,z=Math.abs(J)>=Math.abs($)?"horizontal":"vertical";if(G.find((Y)=>Y instanceof HTMLElement&&(typeof B==="function"&&B?.(Y)||Y.hasAttribute?.("data-lenis-prevent")||z==="vertical"&&Y.hasAttribute?.("data-lenis-prevent-vertical")||z==="horizontal"&&Y.hasAttribute?.("data-lenis-prevent-horizontal")||Z&&Y.hasAttribute?.("data-lenis-prevent-touch")||q&&Y.hasAttribute?.("data-lenis-prevent-wheel")||this.options.allowNestedScroll&&this.hasNestedScroll(Y,{deltaX:J,deltaY:$}))))return;if(this.isStopped||this.isLocked){if(Q.cancelable)Q.preventDefault();return}if(!(this.options.syncTouch&&Z||this.options.smoothWheel&&q)){this.isScrolling="native",this.animate.stop(),Q.lenisStopPropagation=!0;return}let F=$;if(this.options.gestureOrientation==="both")F=Math.abs($)>Math.abs(J)?$:J;else if(this.options.gestureOrientation==="horizontal")F=J;if(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll0||this.animatedScroll===this.limit&&$<0))Q.lenisStopPropagation=!0;if(Q.cancelable)Q.preventDefault();let U=Z&&this.options.syncTouch,j=Z&&Q.type==="touchend";if(j)F=Math.sign(F)*Math.abs(this.velocity)**this.options.touchInertiaExponent;this.scrollTo(this.targetScroll+F,{programmatic:!1,...U?{lerp:j?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})};resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit()}emit(){this.emitter.emit("scroll",this)}onNativeScroll=()=>{if(this._resetVelocityTimeout!==null)clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null;if(this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(this.isScrolling===!1||this.isScrolling==="native"){let K=this.animatedScroll;if(this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-K,this.direction=Math.sign(this.animatedScroll-K),!this.isStopped)this.isScrolling="native";if(this.emit(),this.velocity!==0)this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400)}};reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){if(!this.isStopped)return;if(this.options.autoToggle){this.rootElement.style.removeProperty("overflow");return}this.internalStart()}internalStart(){if(!this.isStopped)return;this.reset(),this.isStopped=!1,this.emit()}stop(){if(this.isStopped)return;if(this.options.autoToggle){this.rootElement.style.setProperty("overflow","clip");return}this.internalStop()}internalStop(){if(this.isStopped)return;this.reset(),this.isStopped=!0,this.emit()}raf=(K)=>{let J=K-(this.time||K);if(this.time=K,this.animate.advance(J*0.001),this.options.autoRaf)this._rafId=requestAnimationFrame(this.raf)};scrollTo(K,{offset:J=0,immediate:$=!1,lock:Q=!1,programmatic:Z=!0,lerp:q=Z?this.options.lerp:void 0,duration:W=Z?this.options.duration:void 0,easing:H=Z?this.options.easing:void 0,onStart:G,onComplete:B,force:z=!1,userData:F}={}){if((this.isStopped||this.isLocked)&&!z)return;let U=K,j=J;if(typeof U==="string"&&["top","left","start","#"].includes(U))U=0;else if(typeof U==="string"&&["bottom","right","end"].includes(U))U=this.limit;else{let Y=null;if(typeof U==="string"){if(Y=U.startsWith("#")?document.getElementById(U.slice(1)):document.querySelector(U),!Y)if(U==="#top")U=0;else console.warn("Lenis: Target not found",U)}else if(U instanceof HTMLElement&&U?.nodeType)Y=U;if(Y){if(this.options.wrapper!==window){let I=this.rootElement.getBoundingClientRect();j-=this.isHorizontal?I.left:I.top}let X=Y.getBoundingClientRect(),N=getComputedStyle(Y),V=this.isHorizontal?Number.parseFloat(N.scrollMarginLeft):Number.parseFloat(N.scrollMarginTop),O=getComputedStyle(this.rootElement),R=this.isHorizontal?Number.parseFloat(O.scrollPaddingLeft):Number.parseFloat(O.scrollPaddingTop);U=(this.isHorizontal?X.left:X.top)+this.animatedScroll-(Number.isNaN(V)?0:V)-(Number.isNaN(R)?0:R)}}if(typeof U!=="number")return;if(U+=j,this.options.infinite){if(Z){this.targetScroll=this.animatedScroll=this.scroll;let Y=U-this.animatedScroll;if(Y>this.limit/2)U-=this.limit;else if(Y<-this.limit/2)U+=this.limit}}else U=HK(0,U,this.limit);if(U===this.targetScroll){G?.(this),B?.(this);return}if(this.userData=F??{},$){this.animatedScroll=this.targetScroll=U,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),B?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}if(!Z)this.targetScroll=U;if(typeof W==="number"&&typeof H!=="function")H=WK;else if(typeof H==="function"&&typeof W!=="number")W=1;this.animate.fromTo(this.animatedScroll,U,{duration:W,easing:H,lerp:q,onStart:()=>{if(Q)this.isLocked=!0;this.isScrolling="smooth",G?.(this)},onUpdate:(Y,X)=>{if(this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=Y-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=Y,this.setScroll(this.scroll),Z)this.targetScroll=Y;if(!X)this.emit();if(X)this.reset(),this.emit(),B?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent()}})}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}hasNestedScroll(K,{deltaX:J,deltaY:$}){let Q=Date.now();if(!K._lenis)K._lenis={};let Z=K._lenis,q,W,H,G,B,z,F,U,j,Y;if(Q-(Z.time??0)>2000){Z.time=Date.now();let k=window.getComputedStyle(K);if(Z.computedStyle=k,q=["auto","overlay","scroll"].includes(k.overflowX),W=["auto","overlay","scroll"].includes(k.overflowY),B=["auto"].includes(k.overscrollBehaviorX),z=["auto"].includes(k.overscrollBehaviorY),Z.hasOverflowX=q,Z.hasOverflowY=W,!(q||W))return!1;F=K.scrollWidth,U=K.scrollHeight,j=K.clientWidth,Y=K.clientHeight,H=F>j,G=U>Y,Z.isScrollableX=H,Z.isScrollableY=G,Z.scrollWidth=F,Z.scrollHeight=U,Z.clientWidth=j,Z.clientHeight=Y,Z.hasOverscrollBehaviorX=B,Z.hasOverscrollBehaviorY=z}else H=Z.isScrollableX,G=Z.isScrollableY,q=Z.hasOverflowX,W=Z.hasOverflowY,F=Z.scrollWidth,U=Z.scrollHeight,j=Z.clientWidth,Y=Z.clientHeight,B=Z.hasOverscrollBehaviorX,z=Z.hasOverscrollBehaviorY;if(!(q&&H||W&&G))return!1;let X=Math.abs(J)>=Math.abs($)?"horizontal":"vertical",N,V,O,R,I,L;if(X==="horizontal")N=Math.round(K.scrollLeft),V=F-j,O=J,R=q,I=H,L=B;else if(X==="vertical")N=Math.round(K.scrollTop),V=U-Y,O=$,R=W,I=G,L=z;else return!1;if(!L&&(N>=V||N<=0))return!0;return(O>0?N0)&&R&&I}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){if(this.options.naiveDimensions){if(this.isHorizontal)return this.rootElement.scrollWidth-this.rootElement.clientWidth;return this.rootElement.scrollHeight-this.rootElement.clientHeight}return this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){let K=this.options.wrapper;return this.isHorizontal?K.scrollX??K.scrollLeft:K.scrollY??K.scrollTop}get scroll(){return this.options.infinite?JG(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return this.limit===0?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(K){if(this._isScrolling!==K)this._isScrolling=K,this.updateClassName()}get isStopped(){return this._isStopped}set isStopped(K){if(this._isStopped!==K)this._isStopped=K,this.updateClassName()}get isLocked(){return this._isLocked}set isLocked(K){if(this._isLocked!==K)this._isLocked=K,this.updateClassName()}get isSmooth(){return this.isScrolling==="smooth"}get className(){let K="lenis";if(this.options.autoToggle)K+=" lenis-autoToggle";if(this.isStopped)K+=" lenis-stopped";if(this.isLocked)K+=" lenis-locked";if(this.isScrolling)K+=" lenis-scrolling";if(this.isScrolling==="smooth")K+=" lenis-smooth";return K}updateClassName(){this.cleanUpClassName(),this.className.split(" ").forEach((K)=>{this.rootElement.classList.add(K)})}cleanUpClassName(){for(let K of Array.from(this.rootElement.classList))if(K==="lenis"||K.startsWith("lenis-"))this.rootElement.classList.remove(K)}};function d1(K){if(K===void 0)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return K}function VK(K,J){K.prototype=Object.create(J.prototype),K.prototype.constructor=K,K.__proto__=J}/*! * GSAP 3.15.0 * https://gsap.com * * @license Copyright 2008-2026, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var n9={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},u8={duration:0.5,overwrite:!1,delay:0},RQ,L9,p0,N1=1e8,v0=1/N1,zQ=Math.PI*2,WG=zQ/4,HG=0,LK=Math.sqrt,GG=Math.cos,jG=Math.sin,j9=function(J){return typeof J==="string"},t0=function(J){return typeof J==="function"},p1=function(J){return typeof J==="number"},a7=function(J){return typeof J>"u"},h1=function(J){return typeof J==="object"},i9=function(J){return J!==!1},DQ=function(){return typeof window<"u"},g7=function(J){return t0(J)||j9(J)},IK=typeof ArrayBuffer==="function"&&ArrayBuffer.isView||function(){},E9=Array.isArray,BG=/random\([^)]+\)/g,zG=/,\s*/g,BK=/(?:-?\.?\d|\.)+/gi,OQ=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,SJ=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,KQ=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,CQ=/[+-]=-?[.\d]+/,UG=/[^,'"\[\]\s]+/gi,XG=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,i0,T1,UQ,AQ,Z1={},l7={},RK,DK=function(J){return(l7=J8(J,Z1))&&P9},r7=function(J,$){return console.warn("Invalid property",J,"set to",$,"Missing plugin? gsap.registerPlugin()")},m8=function(J,$){return!$&&console.warn(J)},OK=function(J,$){return J&&(Z1[J]=$)&&l7&&(l7[J]=$)||Z1},g8=function(){return 0},FG={suppressEvents:!0,isStart:!0,kill:!1},d7={suppressEvents:!0,kill:!1},YG={suppressEvents:!0},kQ={},WJ=[],XQ={},CK,o9={},qQ={},zK=30,c7=[],EQ="",PQ=function(J){var $=J[0],Q,Z;if(h1($)||t0($)||(J=[J]),!(Q=($._gsap||{}).harness)){Z=c7.length;while(Z--&&!c7[Z].targetTest($));Q=c7[Z]}Z=J.length;while(Z--)J[Z]&&(J[Z]._gsap||(J[Z]._gsap=new wQ(J[Z],Q)))||J.splice(Z,1);return J},HJ=function(J){return J._gsap||PQ(M1(J))[0]._gsap},SQ=function(J,$,Q){return(Q=J[$])&&t0(Q)?J[$]():a7(Q)&&J.getAttribute&&J.getAttribute($)||Q},y9=function(J,$){return(J=J.split(",")).forEach($)||J},e0=function(J){return Math.round(J*1e5)/1e5||0},s0=function(J){return Math.round(J*1e7)/1e7||0},xJ=function(J,$){var Q=$.charAt(0),Z=parseFloat($.substr(2));return J=parseFloat(J),Q==="+"?J+Z:Q==="-"?J-Z:Q==="*"?J*Z:J/Z},NG=function(J,$){var Q=$.length,Z=0;for(;J.indexOf($[Z])<0&&++ZH)W=W._prev}if(W)$._next=W._next,W._next=$;else $._next=J[Q],J[Q]=$;if($._next)$._next._prev=$;else J[Z]=$;return $._prev=W,$.parent=$._dp=J,$},p8=function(J,$,Q,Z){if(Q===void 0)Q="_first";if(Z===void 0)Z="_last";var{_prev:q,_next:W}=$;if(q)q._next=W;else if(J[Q]===$)J[Q]=W;if(W)W._prev=q;else if(J[Z]===$)J[Z]=q;$._next=$._prev=$.parent=null},GJ=function(J,$){J.parent&&(!$||J.parent.autoRemoveChildren)&&J.parent.remove&&J.parent.remove(J),J._act=0},kJ=function(J,$){if(J&&(!$||$._end>J._dur||$._start<0)){var Q=J;while(Q)Q._dirty=1,Q=Q.parent}return J},LG=function(J){var $=J.parent;while($&&$.parent)$._dirty=1,$.totalDuration(),$=$.parent;return J},FQ=function(J,$,Q,Z){return J._startAt&&(L9?J._startAt.revert(d7):J.vars.immediateRender&&!J.vars.autoRevert||J._startAt.render($,!0,Z))},IG=function K(J){return!J||J._ts&&K(J.parent)},XK=function(J){return J._repeat?$8(J._tTime,J=J.duration()+J._rDelay)*J:0},$8=function(J,$){var Q=Math.floor(J=s0(J/$));return J&&Q===J?Q-1:Q},i7=function(J,$){return(J-$._start)*$._ts+($._ts>=0?0:$._dirty?$.totalDuration():$._tDur)},t7=function(J){return J._end=s0(J._start+(J._tDur/Math.abs(J._ts||J._rts||v0)||0))},e7=function(J,$){var Q=J._dp;if(Q&&Q.smoothChildTiming&&J._ts)J._start=s0(Q._time-(J._ts>0?$/J._ts:((J._dirty?J.totalDuration():J._tDur)-$)/-J._ts)),t7(J),Q._dirty||kJ(Q,J);return J},SK=function(J,$){var Q;if($._time||!$._dur&&$._initted||$._startv0)$.render(Q,!0)}if(kJ(J,$)._dp&&J._initted&&J._time>=J._dur&&J._ts){if(J._dur=0&&Q.totalTime(Q._tTime),Q=Q._dp}J._zTime=-v0}},y1=function(J,$,Q,Z){return $.parent&&GJ($),$._start=s0((p1(Q)?Q:Q||J!==i0?Y1(J,Q,$):J._time)+$._delay),$._end=s0($._start+($.totalDuration()/Math.abs($.timeScale())||0)),PK(J,$,"_first","_last",J._sort?"_start":0),YQ($)||(J._recent=$),Z||SK(J,$),J._ts<0&&e7(J,J._tTime),J},xK=function(J,$){return(Z1.ScrollTrigger||r7("scrollTrigger",$))&&Z1.ScrollTrigger.create($,J)},bK=function(J,$,Q,Z,q){if(hQ(J,$,q),!J._initted)return 1;if(!Q&&J._pt&&!L9&&(J._dur&&J.vars.lazy!==!1||!J._dur&&J.vars.lazy)&&CK!==s9.frame)return WJ.push(J),J._lazy=[q,Z],1},RG=function K(J){var $=J.parent;return $&&$._ts&&$._initted&&!$._lock&&($.rawTime()<0||K($))},YQ=function(J){var $=J.data;return $==="isFromStart"||$==="isStart"},DG=function(J,$,Q,Z){var q=J.ratio,W=$<0||!$&&(!J._start&&RG(J)&&!(!J._initted&&YQ(J))||(J._ts<0||J._dp._ts<0)&&!YQ(J))?0:1,H=J._rDelay,G=0,B,z,F;if(H&&J._repeat){if(G=l8(0,J._tDur,$),z=$8(G,H),J._yoyo&&z&1&&(W=1-W),z!==$8(J._tTime,H))q=1-W,J.vars.repeatRefresh&&J._initted&&J.invalidate()}if(W!==q||L9||Z||J._zTime===v0||!$&&J._zTime){if(!J._initted&&bK(J,$,Z,Q,G))return;F=J._zTime,J._zTime=$||(Q?v0:0),Q||(Q=$&&!F),J.ratio=W,J._from&&(W=1-W),J._time=0,J._tTime=G,B=J._pt;while(B)B.r(W,B.d),B=B._next;if($<0&&FQ(J,$,Q,!0),J._onUpdate&&!Q&&Q1(J,"onUpdate"),G&&J._repeat&&!Q&&J.parent&&Q1(J,"onRepeat"),($>=J._tDur||$<0)&&J.ratio===W){if(W&&GJ(J,1),!Q&&!L9)Q1(J,W?"onComplete":"onReverseComplete",!0),J._prom&&J._prom()}}else if(!J._zTime)J._zTime=$},OG=function(J,$,Q){var Z;if(Q>$){Z=J._first;while(Z&&Z._start<=Q){if(Z.data==="isPause"&&Z._start>$)return Z;Z=Z._next}}else{Z=J._last;while(Z&&Z._start>=Q){if(Z.data==="isPause"&&Z._start<$)return Z;Z=Z._prev}}},Q8=function(J,$,Q,Z){var q=J._repeat,W=s0($)||0,H=J._tTime/J._tDur;return H&&!Z&&(J._time*=W/J._dur),J._dur=W,J._tDur=!q?W:q<0?10000000000:s0(W*(q+1)+J._rDelay*q),H>0&&!Z&&e7(J,J._tTime=J._tDur*H),J.parent&&t7(J),Q||kJ(J.parent,J),J},FK=function(J){return J instanceof k9?kJ(J):Q8(J,J._dur)},CG={_start:0,endTime:g8,totalDuration:g8},Y1=function K(J,$,Q){var Z=J.labels,q=J._recent||CG,W=J.duration()>=N1?q.endTime(!1):J._dur,H,G,B;if(j9($)&&(isNaN($)||($ in Z))){if(G=$.charAt(0),B=$.substr(-1)==="%",H=$.indexOf("="),G==="<"||G===">")return H>=0&&($=$.replace(/=/,"")),(G==="<"?q._start:q.endTime(q._repeat>=0))+(parseFloat($.substr(1))||0)*(B?(H<0?q:Q).totalDuration()/100:1);if(H<0)return $ in Z||(Z[$]=W),Z[$];if(G=parseFloat($.charAt(H-1)+$.substr(H+1)),B&&Q)G=G/100*(E9(Q)?Q[0]:Q).totalDuration();return H>1?K(J,$.substr(0,H-1),Q)+G:W+G}return $==null?W:+$},_8=function(J,$,Q){var Z=p1($[1]),q=(Z?2:1)+(J<2?0:1),W=$[q],H,G;if(Z&&(W.duration=$[1]),W.parent=Q,J){H=W,G=Q;while(G&&!("immediateRender"in H))H=G.vars.defaults||{},G=i9(G.vars.inherit)&&G.parent;W.immediateRender=i9(H.immediateRender),J<2?W.runBackwards=1:W.startAt=$[q-1]}return new $9($[0],W,$[q+1])},jJ=function(J,$){return J||J===0?$(J):$},l8=function(J,$,Q){return Q$?$:Q},I9=function(J,$){return!j9(J)||!($=XG.exec(J))?"":$[1]},AG=function(J,$,Q){return jJ(Q,function(Z){return l8(J,$,Z)})},NQ=[].slice,wK=function(J,$){return J&&h1(J)&&"length"in J&&(!$&&!J.length||(J.length-1 in J)&&h1(J[0]))&&!J.nodeType&&J!==T1},kG=function(J,$,Q){if(Q===void 0)Q=[];return J.forEach(function(Z){var q;return j9(Z)&&!$||wK(Z,1)?(q=Q).push.apply(q,M1(Z)):Q.push(Z)})||Q},M1=function(J,$,Q){return p0&&!$&&p0.selector?p0.selector(J):j9(J)&&!Q&&(UQ||!Z8())?NQ.call(($||AQ).querySelectorAll(J),0):E9(J)?kG(J,Q):wK(J)?NQ.call(J,0):J?[J]:[]},MQ=function(J){return J=M1(J)[0]||m8("Invalid scope")||{},function($){var Q=J.current||J.nativeElement||J;return M1($,Q.querySelectorAll?Q:Q===J?m8("Invalid scope")||AQ.createElement("div"):J)}},TK=function(J){return J.sort(function(){return 0.5-Math.random()})},yK=function(J){if(t0(J))return J;var $=h1(J)?J:{each:J},Q=EJ($.ease),Z=$.from||0,q=parseFloat($.base)||0,W={},H=Z>0&&Z<1,G=isNaN(Z)||H,B=$.axis,z=Z,F=Z;if(j9(Z))z=F={center:0.5,edges:0.5,end:1}[Z]||0;else if(!H&&G)z=Z[0],F=Z[1];return function(U,j,Y){var X=(Y||$).length,N=W[X],V,O,R,I,L,k,A,E,b;if(!N){if(b=$.grid==="auto"?0:($.grid||[1,N1])[1],!b){A=-N1;while(A<(A=Y[b++].getBoundingClientRect().left)&&bA&&(A=L),LX?X-1:!B?Math.max(b,X/b):B==="y"?X/b:b)||0)*(Z==="edges"?-1:1),N.b=X<0?q-X:q,N.u=I9($.amount||$.each)||0,Q=Q&&X<0?uG(Q):Q}return X=(N[U]-N.min)/N.max||0,s0(N.b+(Q?Q(X):X)*N.v)+N.u}},VQ=function(J){var $=Math.pow(10,((J+"").split(".")[1]||"").length);return function(Q){var Z=s0(Math.round(parseFloat(Q)/J)*J*$);return(Z-Z%1)/$+(p1(Q)?0:I9(Q))}},hK=function(J,$){var Q=E9(J),Z,q;if(!Q&&h1(J))if(Z=Q=J.radius||N1,J.values){if(J=M1(J.values),q=!p1(J[0]))Z*=Z}else J=VQ(J.increment);return jJ($,!Q?VQ(J):t0(J)?function(W){return q=J(W),Math.abs(q-W)<=Z?q:W}:function(W){var H=parseFloat(q?W.x:W),G=parseFloat(q?W.y:0),B=N1,z=0,F=J.length,U,j;while(F--){if(q)U=J[F].x-H,j=J[F].y-G,U=U*U+j*j;else U=Math.abs(J[F]-H);if(UZ?q-W:W)})},K8=function(J){return J.replace(BG,function($){var Q=$.indexOf("[")+1,Z=$.substring(Q||7,Q?$.indexOf("]"):$.length-1).split(zG);return fK(Q?Z:+Z[0],Q?0:+Z[1],+Z[2]||0.00001)})},vK=function(J,$,Q,Z,q){var W=$-J,H=Z-Q;return jJ(q,function(G){return Q+((G-J)/W*H||0)})},wG=function K(J,$,Q,Z){var q=isNaN(J+$)?0:function(j){return(1-j)*J+j*$};if(!q){var W=j9(J),H={},G,B,z,F,U;if(Q===!0&&(Z=1)&&(Q=null),W)J={p:J},$={p:$};else if(E9(J)&&!E9($)){z=[],F=J.length,U=F-2;for(B=1;B(H=Math.abs(H)))G=W,q=H;return G},Q1=function(J,$,Q){var Z=J.vars,q=Z[$],W=p0,H=J._ctx,G,B,z;if(!q)return;return G=Z[$+"Params"],B=Z.callbackScope||J,Q&&WJ.length&&o7(),H&&(p0=H),z=G?q.apply(B,G):q.call(B),p0=W,z},y8=function(J){return GJ(J),J.scrollTrigger&&J.scrollTrigger.kill(!!L9),J.progress()<1&&Q1(J,"onInterrupt"),J},eJ,uK=[],mK=function(J){if(!J)return;if(J=!J.name&&J.default||J,DQ()||J.headless){var $=J.name,Q=t0(J),Z=$&&!Q&&J.init?function(){this._props=[]}:J,q={init:g8,render:vQ,add:TQ,kill:nG,modifier:iG,rawVars:0},W={targetTest:0,get:0,getSetter:J$,aliases:{},register:0};if(Z8(),J!==Z){if(o9[$])return;if(a9(Z,a9(s7(J,q),W)),J8(Z.prototype,J8(q,s7(J,W))),o9[Z.prop=$]=Z,J.targetTest)c7.push(Z),kQ[$]=1;$=($==="css"?"CSS":$.charAt(0).toUpperCase()+$.substr(1))+"Plugin"}OK($,Z),J.register&&J.register(P9,Z,h9)}else uK.push(J)},_0=255,h8={aqua:[0,_0,_0],lime:[0,_0,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,_0],navy:[0,0,128],white:[_0,_0,_0],olive:[128,128,0],yellow:[_0,_0,0],orange:[_0,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[_0,0,0],pink:[_0,192,203],cyan:[0,_0,_0],transparent:[_0,_0,_0,0]},WQ=function(J,$,Q){return J+=J<0?1:J>1?-1:0,(J*6<1?$+(Q-$)*J*6:J<0.5?Q:J*3<2?$+(Q-$)*(0.6666666666666666-J)*6:$)*_0+0.5|0},gK=function(J,$,Q){var Z=!J?h8.black:p1(J)?[J>>16,J>>8&_0,J&_0]:0,q,W,H,G,B,z,F,U,j,Y;if(!Z){if(J.substr(-1)===",")J=J.substr(0,J.length-1);if(h8[J])Z=h8[J];else if(J.charAt(0)==="#"){if(J.length<6)q=J.charAt(1),W=J.charAt(2),H=J.charAt(3),J="#"+q+q+W+W+H+H+(J.length===5?J.charAt(4)+J.charAt(4):"");if(J.length===9)return Z=parseInt(J.substr(1,6),16),[Z>>16,Z>>8&_0,Z&_0,parseInt(J.substr(7),16)/255];J=parseInt(J.substr(1),16),Z=[J>>16,J>>8&_0,J&_0]}else if(J.substr(0,3)==="hsl"){if(Z=Y=J.match(BK),!$)G=+Z[0]%360/360,B=+Z[1]/100,z=+Z[2]/100,W=z<=0.5?z*(B+1):z+B-z*B,q=z*2-W,Z.length>3&&(Z[3]*=1),Z[0]=WQ(G+0.3333333333333333,q,W),Z[1]=WQ(G,q,W),Z[2]=WQ(G-0.3333333333333333,q,W);else if(~J.indexOf("="))return Z=J.match(OQ),Q&&Z.length<4&&(Z[3]=1),Z}else Z=J.match(BK)||h8.transparent;Z=Z.map(Number)}if($&&!Y){if(q=Z[0]/_0,W=Z[1]/_0,H=Z[2]/_0,F=Math.max(q,W,H),U=Math.min(q,W,H),z=(F+U)/2,F===U)G=B=0;else j=F-U,B=z>0.5?j/(2-F-U):j/(F+U),G=F===q?(W-H)/j+(WJ||V<0)&&(Q+=V-$),Z+=V,L=Z-Q,R=L-W,R>0||O)k=++F.frame,U=L-F.time*1000,F.time=L=L/1000,W+=R+(R>=q?4:q-R),I=1;if(O||(G=B(X)),I)for(j=0;j=V&&j--},_listeners:H},F}(),Z8=function(){return!d8&&s9.wake()},O0={},yG=/^[\d.\-M][\d.\-,\s]/,hG=/["']/g,fG=function(J){var $={},Q=J.substr(1,J.length-3).split(":"),Z=Q[0],q=1,W=Q.length,H,G,B;for(;q1&&Q.config?Q.config.apply(null,~J.indexOf("{")?[fG($[1])]:_G(J).split(",").map(kK)):O0._CE&&yG.test(J)?O0._CE("",J):Q},uG=function(J){return function($){return 1-J(1-$)}},EJ=function(J,$){return!J?$:(t0(J)?J:O0[J]||vG(J))||$},bJ=function(J,$,Q,Z){if(Q===void 0)Q=function(G){return 1-$(1-G)};if(Z===void 0)Z=function(G){return G<0.5?$(G*2)/2:1-$((1-G)*2)/2};var q={easeIn:$,easeOut:Q,easeInOut:Z},W;return y9(J,function(H){O0[H]=Z1[H]=q,O0[W=H.toLowerCase()]=Q;for(var G in q)O0[W+(G==="easeIn"?".in":G==="easeOut"?".out":".inOut")]=O0[H+"."+G]=q[G]}),q},cK=function(J){return function($){return $<0.5?(1-J(1-$*2))/2:0.5+J(($-0.5)*2)/2}},HQ=function K(J,$,Q){var Z=$>=1?$:1,q=(Q||(J?0.3:0.45))/($<1?$:1),W=q/zQ*(Math.asin(1/Z)||0),H=function(z){return z===1?1:Z*Math.pow(2,-10*z)*jG((z-W)*q)+1},G=J==="out"?H:J==="in"?function(B){return 1-H(1-B)}:cK(H);return q=zQ/q,G.config=function(B,z){return K(J,B,z)},G},GQ=function K(J,$){if($===void 0)$=1.70158;var Q=function(W){return W?--W*W*(($+1)*W+$)+1:0},Z=J==="out"?Q:J==="in"?function(q){return 1-Q(1-q)}:cK(Q);return Z.config=function(q){return K(J,q)},Z};y9("Linear,Quad,Cubic,Quart,Quint,Strong",function(K,J){var $=J<5?J+1:J;bJ(K+",Power"+($-1),J?function(Q){return Math.pow(Q,$)}:function(Q){return Q},function(Q){return 1-Math.pow(1-Q,$)},function(Q){return Q<0.5?Math.pow(Q*2,$)/2:1-Math.pow((1-Q)*2,$)/2})});O0.Linear.easeNone=O0.none=O0.Linear.easeIn;bJ("Elastic",HQ("in"),HQ("out"),HQ());(function(K,J){var $=1/J,Q=2*$,Z=2.5*$,q=function(H){return H<$?K*H*H:H0?Q+(Q+this._rDelay)*this._repeat:Q):this.totalDuration()&&this._dur},J.totalDuration=function(Q){if(!arguments.length)return this._tDur;return this._dirty=0,Q8(this,this._repeat<0?Q:(Q-this._repeat*this._rDelay)/(this._repeat+1))},J.totalTime=function(Q,Z){if(Z8(),!arguments.length)return this._tTime;var q=this._dp;if(q&&q.smoothChildTiming&&this._ts){e7(this,Q),!q._dp||q.parent||SK(q,this);while(q&&q.parent){if(q.parent._time!==q._start+(q._ts>=0?q._tTime/q._ts:(q.totalDuration()-q._tTime)/-q._ts))q.totalTime(q._tTime,!0);q=q.parent}if(!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&Q0||!this._tDur&&!Q))y1(this._dp,this,this._start-this._delay)}if(this._tTime!==Q||!this._dur&&!Z||this._initted&&Math.abs(this._zTime)===v0||!this._initted&&this._dur&&Q||!Q&&!this._initted&&(this.add||this._ptLookup))this._ts||(this._pTime=Q),AK(this,Q,Z);return this},J.time=function(Q,Z){return arguments.length?this.totalTime(Math.min(this.totalDuration(),Q+XK(this))%(this._dur+this._rDelay)||(Q?this._dur:0),Z):this._time},J.totalProgress=function(Q,Z){return arguments.length?this.totalTime(this.totalDuration()*Q,Z):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},J.progress=function(Q,Z){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-Q:Q)+XK(this),Z):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},J.iteration=function(Q,Z){var q=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(Q-1)*q,Z):this._repeat?$8(this._tTime,q)+1:1},J.timeScale=function(Q,Z){if(!arguments.length)return this._rts===-v0?0:this._rts;if(this._rts===Q)return this;var q=this.parent&&this._ts?i7(this.parent._time,this):this._tTime;return this._rts=+Q||0,this._ts=this._ps||Q===-v0?0:this._rts,this.totalTime(l8(-Math.abs(this._delay),this.totalDuration(),q),Z!==!1),t7(this),LG(this)},J.paused=function(Q){if(!arguments.length)return this._ps;if(this._ps!==Q)if(this._ps=Q,Q)this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0;else Z8(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==v0&&(this._tTime-=v0));return this},J.startTime=function(Q){if(arguments.length){this._start=s0(Q);var Z=this.parent||this._dp;return Z&&(Z._sort||!this.parent)&&y1(Z,this,this._start-this._delay),this}return this._start},J.endTime=function(Q){return this._start+(i9(Q)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},J.rawTime=function(Q){var Z=this.parent||this._dp;return!Z?this._tTime:Q&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):!this._ts?this._tTime:i7(Z.rawTime(Q),this)},J.revert=function(Q){if(Q===void 0)Q=YG;var Z=L9;if(L9=Q,xQ(this))this.timeline&&this.timeline.revert(Q),this.totalTime(-0.01,Q.suppressEvents);return this.data!=="nested"&&Q.kill!==!1&&this.kill(),L9=Z,this},J.globalTime=function(Q){var Z=this,q=arguments.length?Q:Z.rawTime();while(Z)q=Z._start+q/(Math.abs(Z._ts)||1),Z=Z._dp;return!this.parent&&this._sat?this._sat.globalTime(Q):q},J.repeat=function(Q){if(arguments.length)return this._repeat=Q===1/0?-2:Q,FK(this);return this._repeat===-2?1/0:this._repeat},J.repeatDelay=function(Q){if(arguments.length){var Z=this._time;return this._rDelay=Q,FK(this),Z?this.time(Z):this}return this._rDelay},J.yoyo=function(Q){if(arguments.length)return this._yoyo=Q,this;return this._yoyo},J.seek=function(Q,Z){return this.totalTime(Y1(this,Q),i9(Z))},J.restart=function(Q,Z){return this.play().totalTime(Q?-this._delay:0,i9(Z)),this._dur||(this._zTime=-v0),this},J.play=function(Q,Z){return Q!=null&&this.seek(Q,Z),this.reversed(!1).paused(!1)},J.reverse=function(Q,Z){return Q!=null&&this.seek(Q||this.totalDuration(),Z),this.reversed(!0).paused(!1)},J.pause=function(Q,Z){return Q!=null&&this.seek(Q,Z),this.paused(!0)},J.resume=function(){return this.paused(!1)},J.reversed=function(Q){if(arguments.length)return!!Q!==this.reversed()&&this.timeScale(-this._rts||(Q?-v0:0)),this;return this._rts<0},J.invalidate=function(){return this._initted=this._act=0,this._zTime=-v0,this},J.isActive=function(){var Q=this.parent||this._dp,Z=this._start,q;return!!(!Q||this._ts&&this._initted&&Q.isActive()&&(q=Q.rawTime(!0))>=Z&&q1){if(!Z)delete W[Q];else W[Q]=Z,q&&(W[Q+"Params"]=q),Q==="onUpdate"&&(this._onUpdate=Z);return this}return W[Q]},J.then=function(Q){var Z=this,q=Z._prom;return new Promise(function(W){var H=t0(Q)?Q:EK,G=function(){var z=Z.then;Z.then=null,q&&q(),t0(H)&&(H=H(Z))&&(H.then||H===Z)&&(Z.then=z),W(H),Z.then=z};if(Z._initted&&Z.totalProgress()===1&&Z._ts>=0||!Z._tTime&&Z._ts<0)G();else Z._prom=G})},J.kill=function(){y8(this)},K}();a9(c8.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-v0,_prom:0,_ps:!1,_rts:1});var k9=function(K){VK(J,K);function J(Q,Z){var q;if(Q===void 0)Q={};return q=K.call(this,Q)||this,q.labels={},q.smoothChildTiming=!!Q.smoothChildTiming,q.autoRemoveChildren=!!Q.autoRemoveChildren,q._sort=i9(Q.sortChildren),i0&&y1(Q.parent||i0,d1(q),Z),Q.reversed&&q.reverse(),Q.paused&&q.paused(!0),Q.scrollTrigger&&xK(d1(q),Q.scrollTrigger),q}var $=J.prototype;return $.to=function(Z,q,W){return _8(0,arguments,this),this},$.from=function(Z,q,W){return _8(1,arguments,this),this},$.fromTo=function(Z,q,W,H){return _8(2,arguments,this),this},$.set=function(Z,q,W){return q.duration=0,q.parent=this,f8(q).repeatDelay||(q.repeat=0),q.immediateRender=!!q.immediateRender,new $9(Z,q,Y1(this,W),1),this},$.call=function(Z,q,W){return y1(this,$9.delayedCall(0,Z,q),W)},$.staggerTo=function(Z,q,W,H,G,B,z){return W.duration=q,W.stagger=W.stagger||H,W.onComplete=B,W.onCompleteParams=z,W.parent=this,new $9(Z,W,Y1(this,G)),this},$.staggerFrom=function(Z,q,W,H,G,B,z){return W.runBackwards=1,f8(W).immediateRender=i9(W.immediateRender),this.staggerTo(Z,q,W,H,G,B,z)},$.staggerFromTo=function(Z,q,W,H,G,B,z,F){return H.startAt=W,f8(H).immediateRender=i9(H.immediateRender),this.staggerTo(Z,q,H,G,B,z,F)},$.render=function(Z,q,W){var H=this._time,G=this._dirty?this.totalDuration():this._tDur,B=this._dur,z=Z<=0?0:s0(Z),F=this._zTime<0!==Z<0&&(this._initted||!B),U,j,Y,X,N,V,O,R,I,L,k,A;if(this!==i0&&z>G&&Z>=0&&(z=G),z!==this._tTime||W||F){if(H!==this._time&&B)z+=this._time-H,Z+=this._time-H;if(U=z,I=this._start,R=this._ts,V=!R,F)B||(H=this._zTime),(Z||!q)&&(this._zTime=Z);if(this._repeat){if(k=this._yoyo,N=B+this._rDelay,this._repeat<-1&&Z<0)return this.totalTime(N*100+Z,q,W);if(U=s0(z%N),z===G)X=this._repeat,U=B;else{if(L=s0(z/N),X=~~L,X&&X===L)U=B,X--;U>B&&(U=B)}if(L=$8(this._tTime,N),!H&&this._tTime&&L!==X&&this._tTime-L*N-this._dur<=0&&(L=X),k&&X&1)U=B-U,A=1;if(X!==L&&!this._lock){var E=k&&L&1,b=E===(k&&X&1);if(X=H&&Z>=0){j=this._first;while(j){if(Y=j._next,(j._act||U>=j._start)&&j._ts&&O!==j){if(j.parent!==this)return this.render(Z,q,W);if(j.render(j._ts>0?(U-j._start)*j._ts:(j._dirty?j.totalDuration():j._tDur)+(U-j._start)*j._ts,q,W),U!==this._time||!this._ts&&!V){O=0,Y&&(z+=this._zTime=-v0);break}}j=Y}}else{j=this._last;var w=Z<0?Z:U;while(j){if(Y=j._prev,(j._act||w<=j._end)&&j._ts&&O!==j){if(j.parent!==this)return this.render(Z,q,W);if(j.render(j._ts>0?(w-j._start)*j._ts:(j._dirty?j.totalDuration():j._tDur)+(w-j._start)*j._ts,q,W||L9&&xQ(j)),U!==this._time||!this._ts&&!V){O=0,Y&&(z+=this._zTime=w?-v0:v0);break}}j=Y}}if(O&&!q){if(this.pause(),O.render(U>=H?0:-v0)._zTime=U>=H?1:-1,this._ts)return this._start=I,t7(this),this.render(Z,q,W)}if(this._onUpdate&&!q&&Q1(this,"onUpdate",!0),z===G&&this._tTime>=this.totalDuration()||!z&&H){if(I===this._start||Math.abs(R)!==Math.abs(this._ts)){if(!this._lock){if((Z||!B)&&(z===G&&this._ts>0||!z&&this._ts<0)&&GJ(this,1),!q&&!(Z<0&&!H)&&(z||H||!G))Q1(this,z===G&&Z>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(z0)&&this._prom()}}}}return this},$.add=function(Z,q){var W=this;if(p1(q)||(q=Y1(this,q,Z)),!(Z instanceof c8)){if(E9(Z))return Z.forEach(function(H){return W.add(H,q)}),this;if(j9(Z))return this.addLabel(Z,q);if(t0(Z))Z=$9.delayedCall(0,Z);else return this}return this!==Z?y1(this,Z,q):this},$.getChildren=function(Z,q,W,H){if(Z===void 0)Z=!0;if(q===void 0)q=!0;if(W===void 0)W=!0;if(H===void 0)H=-N1;var G=[],B=this._first;while(B){if(B._start>=H)if(B instanceof $9)q&&G.push(B);else W&&G.push(B),Z&&G.push.apply(G,B.getChildren(!0,q,W));B=B._next}return G},$.getById=function(Z){var q=this.getChildren(1,1,1),W=q.length;while(W--)if(q[W].vars.id===Z)return q[W]},$.remove=function(Z){if(j9(Z))return this.removeLabel(Z);if(t0(Z))return this.killTweensOf(Z);if(Z.parent===this&&p8(this,Z),Z===this._recent)this._recent=this._last;return kJ(this)},$.totalTime=function(Z,q){if(!arguments.length)return this._tTime;if(this._forcing=1,!this._dp&&this._ts)this._start=s0(s9.time-(this._ts>0?Z/this._ts:(this.totalDuration()-Z)/-this._ts));return K.prototype.totalTime.call(this,Z,q),this._forcing=0,this},$.addLabel=function(Z,q){return this.labels[Z]=Y1(this,q),this},$.removeLabel=function(Z){return delete this.labels[Z],this},$.addPause=function(Z,q,W){var H=$9.delayedCall(0,q||g8,W);return H.data="isPause",this._hasPause=1,y1(this,H,Y1(this,Z))},$.removePause=function(Z){var q=this._first;Z=Y1(this,Z);while(q){if(q._start===Z&&q.data==="isPause")GJ(q);q=q._next}},$.killTweensOf=function(Z,q,W){var H=this.getTweensOf(Z,W),G=H.length;while(G--)qJ!==H[G]&&H[G].kill(Z,q);return this},$.getTweensOf=function(Z,q){var W=[],H=M1(Z),G=this._first,B=p1(q),z;while(G){if(G instanceof $9){if(NG(G._targets,H)&&(B?(!qJ||G._initted&&G._ts)&&G.globalTime(0)<=q&&G.globalTime(G.totalDuration())>q:!q||G.isActive()))W.push(G)}else if((z=G.getTweensOf(H,q)).length)W.push.apply(W,z);G=G._next}return W},$.tweenTo=function(Z,q){q=q||{};var W=this,H=Y1(W,Z),G=q,B=G.startAt,z=G.onStart,F=G.onStartParams,U=G.immediateRender,j,Y=$9.to(W,a9({ease:q.ease||"none",lazy:!1,immediateRender:!1,time:H,overwrite:"auto",duration:q.duration||Math.abs((H-(B&&"time"in B?B.time:W._time))/W.timeScale())||v0,onStart:function(){if(W.pause(),!j){var N=q.duration||Math.abs((H-(B&&"time"in B?B.time:W._time))/W.timeScale());Y._dur!==N&&Q8(Y,N,0,1).render(Y._time,!0,!0),j=1}z&&z.apply(Y,F||[])}},q));return U?Y.render(0):Y},$.tweenFromTo=function(Z,q,W){return this.tweenTo(q,a9({startAt:{time:Y1(this,Z)}},W))},$.recent=function(){return this._recent},$.nextLabel=function(Z){if(Z===void 0)Z=this._time;return YK(this,Y1(this,Z))},$.previousLabel=function(Z){if(Z===void 0)Z=this._time;return YK(this,Y1(this,Z),1)},$.currentLabel=function(Z){return arguments.length?this.seek(Z,!0):this.previousLabel(this._time+v0)},$.shiftChildren=function(Z,q,W){if(W===void 0)W=0;var H=this._first,G=this.labels,B;Z=s0(Z);while(H){if(H._start>=W)H._start+=Z,H._end+=Z;H=H._next}if(q){for(B in G)if(G[B]>=W)G[B]+=Z}return kJ(this)},$.invalidate=function(Z){var q=this._first;this._lock=0;while(q)q.invalidate(Z),q=q._next;return K.prototype.invalidate.call(this,Z)},$.clear=function(Z){if(Z===void 0)Z=!0;var q=this._first,W;while(q)W=q._next,this.remove(q),q=W;return this._dp&&(this._time=this._tTime=this._pTime=0),Z&&(this.labels={}),kJ(this)},$.totalDuration=function(Z){var q=0,W=this,H=W._last,G=N1,B,z,F;if(arguments.length)return W.timeScale((W._repeat<0?W.duration():W.totalDuration())/(W.reversed()?-Z:Z));if(W._dirty){F=W.parent;while(H){if(B=H._prev,H._dirty&&H.totalDuration(),z=H._start,z>G&&W._sort&&H._ts&&!W._lock)W._lock=1,y1(W,H,z-H._delay,1)._lock=0;else G=z;if(z<0&&H._ts){if(q-=z,!F&&!W._dp||F&&F.smoothChildTiming)W._start+=s0(z/W._ts),W._time-=z,W._tTime-=z;W.shiftChildren(-z,!1,-1/0),G=0}H._end>q&&H._ts&&(q=H._end),H=B}Q8(W,W===i0&&W._time>q?W._time:q,1,1),W._dirty=0}return W._tDur},J.updateRoot=function(Z){if(i0._ts)AK(i0,i7(Z,i0)),CK=s9.frame;if(s9.frame>=zK){zK+=n9.autoSleep||120;var q=i0._first;if(!q||!q._ts){if(n9.autoSleep&&s9._listeners.length<2){while(q&&!q._ts)q=q._next;q||s9.sleep()}}}},J}(c8);a9(k9.prototype,{_lock:0,_hasPause:0,_forcing:0});var mG=function(J,$,Q,Z,q,W,H){var G=new h9(this._pt,J,$,0,1,_Q,null,q),B=0,z=0,F,U,j,Y,X,N,V,O;if(G.b=Q,G.e=Z,Q+="",Z+="",V=~Z.indexOf("random("))Z=K8(Z);if(W)O=[Q,Z],W(O,J,$),Q=O[0],Z=O[1];U=Q.match(KQ)||[];while(F=KQ.exec(Z)){if(Y=F[0],X=Z.substring(B,F.index),j)j=(j+1)%5;else if(X.substr(-5)==="rgba(")j=1;if(Y!==U[z++])N=parseFloat(U[z-1])||0,G._pt={_next:G._pt,p:X||z===1?X:",",s:N,c:Y.charAt(1)==="="?xJ(N,Y)-N:parseFloat(Y)-N,m:j&&j<4?Math.round:0},B=KQ.lastIndex}if(G.c=B")}),R.duration();else{L={};for(A in Y)A==="ease"||A==="easeEach"||pG(A,Y[A],L,Y.easeEach);for(A in L){u=L[A].sort(function(g,T){return g.t-T.t}),y=0;for(I=0;IG-v0&&!z?G:ZB)U=B;if(V=this._yoyo&&Y&1,V)U=B-U;if(N=$8(this._tTime,X),U===H&&!W&&this._initted&&Y===N)return this._tTime=F,this;if(Y!==N){if(this.vars.repeatRefresh&&!V&&!this._lock&&U!==X&&this._initted)this._lock=W=1,this.render(s0(X*Y),!0).invalidate()._lock=0}}if(!this._initted){if(bK(this,z?Z:U,W,q,F))return this._tTime=0,this;if(H!==this._time&&!(W&&this.vars.repeatRefresh&&Y!==N))return this;if(B!==this._dur)return this.render(Z,q,W)}if(this._rEase){var I=U0||!F&&this._ts<0)&&GJ(this,1),!q&&!(z&&!H)&&(F||H||V))Q1(this,F===G?"onComplete":"onReverseComplete",!0),this._prom&&!(F0)&&this._prom()}}return this},$.targets=function(){return this._targets},$.invalidate=function(Z){return(!Z||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(Z),K.prototype.invalidate.call(this,Z)},$.resetTo=function(Z,q,W,H,G){d8||s9.wake(),this._ts||this.play();var B=Math.min(this._dur,(this._dp._time-this._start)*this._ts),z;if(this._initted||hQ(this,B),z=this._ease(B/this._dur),dG(this,Z,q,W,H,z,B,G))return this.resetTo(Z,q,W,H,1);return e7(this,0),this.parent||PK(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0)},$.kill=function(Z,q){if(q===void 0)q="all";if(!Z&&(!q||q==="all"))return this._lazy=this._pt=0,this.parent?y8(this):this.scrollTrigger&&this.scrollTrigger.kill(!!L9),this;if(this.timeline){var W=this.timeline.totalDuration();return this.timeline.killTweensOf(Z,q,qJ&&qJ.vars.overwrite!==!0)._first||y8(this),this.parent&&W!==this.timeline.totalDuration()&&Q8(this,this._dur*this.timeline._tDur/W,0,1),this}var H=this._targets,G=Z?M1(Z):H,B=this._ptLookup,z=this._pt,F,U,j,Y,X,N,V;if((!q||q==="all")&&VG(H,G))return q==="all"&&(this._pt=0),y8(this);if(F=this._op=this._op||[],q!=="all"){if(j9(q))X={},y9(q,function(O){return X[O]=1}),q=X;q=cG(H,q)}V=H.length;while(V--)if(~G.indexOf(H[V])){if(U=B[V],q==="all")F[V]=q,Y=U,j={};else j=F[V]=F[V]||{},Y=q;for(X in Y){if(N=U&&U[X],N){if(!("kill"in N.d)||N.d.kill(X)===!0)p8(this,N,"_pt");delete U[X]}if(j!=="all")j[X]=1}}return this._initted&&!this._pt&&z&&y8(this),this},J.to=function(Z,q){return new J(Z,q,arguments[2])},J.from=function(Z,q){return _8(1,arguments)},J.delayedCall=function(Z,q,W,H){return new J(q,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:Z,onComplete:q,onReverseComplete:q,onCompleteParams:W,onReverseCompleteParams:W,callbackScope:H})},J.fromTo=function(Z,q,W){return _8(2,arguments)},J.set=function(Z,q){return q.duration=0,q.repeatDelay||(q.repeat=0),new J(Z,q)},J.killTweensOf=function(Z,q,W){return i0.killTweensOf(Z,q,W)},J}(c8);a9($9.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});y9("staggerTo,staggerFrom,staggerFromTo",function(K){$9[K]=function(){var J=new k9,$=NQ.call(arguments,0);return $.splice(K==="staggerFromTo"?5:4,0,0),J[K].apply(J,$)}});var fQ=function(J,$,Q){return J[$]=Q},oK=function(J,$,Q){return J[$](Q)},lG=function(J,$,Q,Z){return J[$](Z.fp,Q)},oG=function(J,$,Q){return J.setAttribute($,Q)},J$=function(J,$){return t0(J[$])?oK:a7(J[$])&&J.setAttribute?oG:fQ},sK=function(J,$){return $.set($.t,$.p,Math.round(($.s+$.c*J)*1e6)/1e6,$)},sG=function(J,$){return $.set($.t,$.p,!!($.s+$.c*J),$)},_Q=function(J,$){var Q=$._pt,Z="";if(!J&&$.b)Z=$.b;else if(J===1&&$.e)Z=$.e;else{while(Q)Z=Q.p+(Q.m?Q.m(Q.s+Q.c*J):Math.round((Q.s+Q.c*J)*1e4)/1e4)+Z,Q=Q._next;Z+=$.c}$.set($.t,$.p,Z,$)},vQ=function(J,$){var Q=$._pt;while(Q)Q.r(J,Q.d),Q=Q._next},iG=function(J,$,Q,Z){var q=this._pt,W;while(q)W=q._next,q.p===Z&&q.modifier(J,$,Q),q=W},nG=function(J){var $=this._pt,Q,Z;while($){if(Z=$._next,$.p===J&&!$.op||$.op===J)p8(this,$,"_pt");else if(!$.dep)Q=1;$=Z}return!Q},aG=function(J,$,Q,Z){Z.mSet(J,$,Z.m.call(Z.tween,Q,Z.mt),Z)},uQ=function(J){var $=J._pt,Q,Z,q,W;while($){Q=$._next,Z=q;while(Z&&Z.pr>$.pr)Z=Z._next;if($._prev=Z?Z._prev:W)$._prev._next=$;else q=$;if($._next=Z)Z._prev=$;else W=$;$=Q}J._pt=q},h9=function(){function K($,Q,Z,q,W,H,G,B,z){if(this.t=Q,this.s=q,this.c=W,this.p=Z,this.r=H||sK,this.d=G||this,this.set=B||fQ,this.pr=z||0,this._next=$,$)$._prev=this}var J=K.prototype;return J.modifier=function(Q,Z,q){this.mSet=this.mSet||this.set,this.set=aG,this.m=Q,this.mt=q,this.tween=Z},K}();y9(EQ+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse",function(K){return kQ[K]=1});Z1.TweenMax=Z1.TweenLite=$9;Z1.TimelineLite=Z1.TimelineMax=k9;i0=new k9({sortChildren:!1,defaults:u8,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});n9.stringFilter=bQ;var PJ=[],p7={},rG=[],MK=0,tG=0,jQ=function(J){return(p7[J]||rG).map(function($){return $()})},IQ=function(){var J=Date.now(),$=[];if(J-MK>2)jQ("matchMediaInit"),PJ.forEach(function(Q){var{queries:Z,conditions:q}=Q,W,H,G,B;for(H in Z)if(W=T1.matchMedia(Z[H]).matches,W&&(G=1),W!==q[H])q[H]=W,B=1;if(B)Q.revert(),G&&$.push(Q)}),jQ("matchMediaRevert"),$.forEach(function(Q){return Q.onMatch(Q,function(Z){return Q.add(null,Z)})}),MK=J,jQ("matchMedia")},iK=function(){function K($,Q){this.selector=Q&&MQ(Q),this.data=[],this._r=[],this.isReverted=!1,this.id=tG++,$&&this.add($)}var J=K.prototype;return J.add=function(Q,Z,q){if(t0(Q))q=Z,Z=Q,Q=t0;var W=this,H=function(){var B=p0,z=W.selector,F;return B&&B!==W&&B.data.push(W),q&&(W.selector=MQ(q)),p0=W,F=Z.apply(W,arguments),t0(F)&&W._r.push(F),p0=B,W.selector=z,W.isReverted=!1,F};return W.last=H,Q===t0?H(W,function(G){return W.add(null,G)}):Q?W[Q]=H:H},J.ignore=function(Q){var Z=p0;p0=null,Q(this),p0=Z},J.getTweens=function(){var Q=[];return this.data.forEach(function(Z){return Z instanceof K?Q.push.apply(Q,Z.getTweens()):Z instanceof $9&&!(Z.parent&&Z.parent.data==="nested")&&Q.push(Z)}),Q},J.clear=function(){this._r.length=this.data.length=0},J.kill=function(Q,Z){var q=this;if(Q)(function(){var H=q.getTweens(),G=q.data.length,B;while(G--)if(B=q.data[G],B.data==="isFlip")B.revert(),B.getChildren(!0,!0,!1).forEach(function(z){return H.splice(H.indexOf(z),1)});H.map(function(z){return{g:z._dur||z._delay||z._sat&&!z._sat.vars.immediateRender?z.globalTime(0):-1/0,t:z}}).sort(function(z,F){return F.g-z.g||-1/0}).forEach(function(z){return z.t.revert(Q)}),G=q.data.length;while(G--)if(B=q.data[G],B instanceof k9){if(B.data!=="nested")B.scrollTrigger&&B.scrollTrigger.revert(),B.kill()}else!(B instanceof $9)&&B.revert&&B.revert(Q);q._r.forEach(function(z){return z(Q,q)}),q.isReverted=!0})();else this.data.forEach(function(H){return H.kill&&H.kill()});if(this.clear(),Z){var W=PJ.length;while(W--)PJ[W].id===this.id&&PJ.splice(W,1)}},J.revert=function(Q){this.kill(Q||{})},K}(),eG=function(){function K($){this.contexts=[],this.scope=$,p0&&p0.data.push(this)}var J=K.prototype;return J.add=function(Q,Z,q){h1(Q)||(Q={matches:Q});var W=new iK(0,q||this.scope),H=W.conditions={},G,B,z;p0&&!W.selector&&(W.selector=p0.selector),this.contexts.push(W),Z=W.add("onMatch",Z),W.queries=Q;for(B in Q)if(B==="all")z=1;else if(G=T1.matchMedia(Q[B]),G)PJ.indexOf(W)<0&&PJ.push(W),(H[B]=G.matches)&&(z=1),G.addListener?G.addListener(IQ):G.addEventListener("change",IQ);return z&&Z(W,function(F){return W.add(null,F)}),this},J.revert=function(Q){this.kill(Q||{})},J.kill=function(Q){this.contexts.forEach(function(Z){return Z.kill(Q,!0)})},K}(),n7={registerPlugin:function(){for(var J=arguments.length,$=Array(J),Q=0;Q1){var Z=J.map(function(z){return P9.quickSetter(z,$,Q)}),q=Z.length;return function(z){var F=q;while(F--)Z[F](z)}}J=J[0]||{};var W=o9[$],H=HJ(J),G=H.harness&&(H.harness.aliases||{})[$]||$,B=W?function(z){var F=new W;eJ._pt=0,F.init(J,Q?z+Q:z,eJ,0,[J]),F.render(1,F),eJ._pt&&vQ(1,eJ)}:H.set(J,G);return W?B:function(z){return B(J,G,Q?z+Q:z,H,1)}},quickTo:function(J,$,Q){var Z,q=P9.to(J,a9((Z={},Z[$]="+=0.1",Z.paused=!0,Z.stagger=0,Z),Q||{})),W=function(G,B,z){return q.resetTo($,G,B,z)};return W.tween=q,W},isTweening:function(J){return i0.getTweensOf(J,!0).length>0},defaults:function(J){return J&&J.ease&&(J.ease=EJ(J.ease,u8.ease)),UK(u8,J||{})},config:function(J){return UK(n9,J||{})},registerEffect:function(J){var{name:$,effect:Q,plugins:Z,defaults:q,extendTimeline:W}=J;if((Z||"").split(",").forEach(function(H){return H&&!o9[H]&&!Z1[H]&&m8($+" effect requires "+H+" plugin.")}),qQ[$]=function(H,G,B){return Q(M1(H),a9(G||{},q),B)},W)k9.prototype[$]=function(H,G,B){return this.add(qQ[$](H,h1(G)?G:(B=G)&&{},this),B)}},registerEase:function(J,$){O0[J]=EJ($)},parseEase:function(J,$){return arguments.length?EJ(J,$):O0},getById:function(J){return i0.getById(J)},exportRoot:function(J,$){if(J===void 0)J={};var Q=new k9(J),Z,q;Q.smoothChildTiming=i9(J.smoothChildTiming),i0.remove(Q),Q._dp=0,Q._time=Q._tTime=i0._time,Z=i0._first;while(Z){if(q=Z._next,$||!(!Z._dur&&Z instanceof $9&&Z.vars.onComplete===Z._targets[0]))y1(Q,Z,Z._start-Z._delay);Z=q}return y1(i0,Q,0),Q},context:function(J,$){return J?new iK(J,$):p0},matchMedia:function(J){return new eG(J)},matchMediaRefresh:function(){return PJ.forEach(function(J){var $=J.conditions,Q,Z;for(Z in $)if($[Z])$[Z]=!1,Q=1;Q&&J.revert()})||IQ()},addEventListener:function(J,$){var Q=p7[J]||(p7[J]=[]);~Q.indexOf($)||Q.push($)},removeEventListener:function(J,$){var Q=p7[J],Z=Q&&Q.indexOf($);Z>=0&&Q.splice(Z,1)},utils:{wrap:xG,wrapYoyo:bG,distribute:yK,random:fK,snap:hK,normalize:SG,getUnit:I9,clamp:AG,splitColor:gK,toArray:M1,selector:MQ,mapRange:vK,pipe:EG,unitize:PG,interpolate:wG,shuffle:TK},install:DK,effects:qQ,ticker:s9,updateRoot:k9.updateRoot,plugins:o9,globalTimeline:i0,core:{PropTween:h9,globals:OK,Tween:$9,Timeline:k9,Animation:c8,getCache:HJ,_removeLinkedListItem:p8,reverting:function(){return L9},context:function(J){if(J&&p0)p0.data.push(J),J._ctx=p0;return p0},suppressOverwrites:function(J){return RQ=J}}};y9("to,from,fromTo,delayedCall,set,killTweensOf",function(K){return n7[K]=$9[K]});s9.add(k9.updateRoot);eJ=n7.to({},{duration:0});var J4=function(J,$){var Q=J._pt;while(Q&&Q.p!==$&&Q.op!==$&&Q.fp!==$)Q=Q._next;return Q},$4=function(J,$){var Q=J._targets,Z,q,W;for(Z in $){q=Q.length;while(q--)if(W=J._ptLookup[q][Z],W&&(W=W.d)){if(W._pt)W=J4(W,Z);W&&W.modifier&&W.modifier($[Z],J,Q[q],Z)}}},BQ=function(J,$){return{name:J,headless:1,rawVars:1,init:function(Z,q,W){W._onInit=function(H){var G,B;if(j9(q))G={},y9(q,function(z){return G[z]=1}),q=G;if($){G={};for(B in q)G[B]=$(q[B]);q=G}$4(H,q)}}}},P9=n7.registerPlugin({name:"attr",init:function(J,$,Q,Z,q){var W,H,G;this.tween=Q;for(W in $)G=J.getAttribute(W)||"",H=this.add(J,"setAttribute",(G||0)+"",$[W],Z,q,0,0,W),H.op=W,H.b=G,this._props.push(W)},render:function(J,$){var Q=$._pt;while(Q)L9?Q.set(Q.t,Q.p,Q.b,Q):Q.r(J,Q.d),Q=Q._next}},{name:"endArray",headless:1,init:function(J,$){var Q=$.length;while(Q--)this.add(J,Q,J[Q]||0,$[Q],0,0,0,0,0,1)}},BQ("roundProps",VQ),BQ("modifiers"),BQ("snap",hK))||n7;$9.version=k9.version=P9.version="3.15.0";RK=1;DQ()&&Z8();var{Power0:Q4,Power1:Z4,Power2:K4,Power3:q4,Power4:W4,Linear:H4,Quad:G4,Cubic:j4,Quart:B4,Quint:z4,Strong:U4,Elastic:X4,Back:F4,SteppedEase:Y4,Bounce:N4,Sine:M4,Expo:V4,Circ:L4}=O0;/*! * CSSPlugin 3.15.0 * https://gsap.com * * Copyright 2008-2026, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var nK,BJ,W8,lQ,hJ,I4,aK,oQ,R4=function(){return typeof window<"u"},o1={},yJ=180/Math.PI,H8=Math.PI/180,q8=Math.atan2,rK=1e8,sQ=/([A-Z])/g,D4=/(left|right|width|margin|padding|x)/i,O4=/[\s,\(]\S/,f1={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},gQ=function(J,$){return $.set($.t,$.p,Math.round(($.s+$.c*J)*1e4)/1e4+$.u,$)},C4=function(J,$){return $.set($.t,$.p,J===1?$.e:Math.round(($.s+$.c*J)*1e4)/1e4+$.u,$)},A4=function(J,$){return $.set($.t,$.p,J?Math.round(($.s+$.c*J)*1e4)/1e4+$.u:$.b,$)},k4=function(J,$){return $.set($.t,$.p,J===1?$.e:J?Math.round(($.s+$.c*J)*1e4)/1e4+$.u:$.b,$)},E4=function(J,$){var Q=$.s+$.c*J;$.set($.t,$.p,~~(Q+(Q<0?-0.5:0.5))+$.u,$)},q6=function(J,$){return $.set($.t,$.p,J?$.e:$.b,$)},W6=function(J,$){return $.set($.t,$.p,J!==1?$.b:$.e,$)},P4=function(J,$,Q){return J.style[$]=Q},S4=function(J,$,Q){return J.style.setProperty($,Q)},x4=function(J,$,Q){return J._gsap[$]=Q},b4=function(J,$,Q){return J._gsap.scaleX=J._gsap.scaleY=Q},w4=function(J,$,Q,Z,q){var W=J._gsap;W.scaleX=W.scaleY=Q,W.renderTransform(q,W)},T4=function(J,$,Q,Z,q){var W=J._gsap;W[$]=Q,W.renderTransform(q,W)},n0="transform",r9=n0+"Origin",y4=function K(J,$){var Q=this,Z=this.target,q=Z.style,W=Z._gsap;if(J in o1&&q){if(this.tfm=this.tfm||{},J!=="transform")J=f1[J]||J,~J.indexOf(",")?J.split(",").forEach(function(H){return Q.tfm[H]=l1(Z,H)}):this.tfm[J]=W.x?W[J]:l1(Z,J),J===r9&&(this.tfm.zOrigin=W.zOrigin);else return f1.transform.split(",").forEach(function(H){return K.call(Q,H,$)});if(this.props.indexOf(n0)>=0)return;if(W.svg)this.svgo=Z.getAttribute("data-svg-origin"),this.props.push(r9,$,"");J=n0}(q||$)&&this.props.push(J,$,q[J])},H6=function(J){if(J.translate)J.removeProperty("translate"),J.removeProperty("scale"),J.removeProperty("rotate")},h4=function(){var J=this.props,$=this.target,Q=$.style,Z=$._gsap,q,W;for(q=0;q=0?tK[W]:"")+J},cQ=function(){if(R4()&&window.document)nK=window,BJ=nK.document,W8=BJ.documentElement,hJ=dQ("div")||{style:{}},I4=dQ("div"),n0=G8(n0),r9=n0+"Origin",hJ.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",j6=!!G8("perspective"),oQ=P9.core.reverting,lQ=1},eK=function(J){var $=J.ownerSVGElement,Q=dQ("svg",$&&$.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),Z=J.cloneNode(!0),q;Z.style.display="block",Q.appendChild(Z),W8.appendChild(Q);try{q=Z.getBBox()}catch(W){}return Q.removeChild(Z),W8.removeChild(Q),q},J6=function(J,$){var Q=$.length;while(Q--)if(J.hasAttribute($[Q]))return J.getAttribute($[Q])},B6=function(J){var $,Q;try{$=J.getBBox()}catch(Z){$=eK(J),Q=1}return $&&($.width||$.height)||Q||($=eK(J)),$&&!$.width&&!$.x&&!$.y?{x:+J6(J,["x","cx","x1"])||0,y:+J6(J,["y","cy","y1"])||0,width:0,height:0}:$},z6=function(J){return!!(J.getCTM&&(!J.parentNode||J.ownerSVGElement)&&B6(J))},UJ=function(J,$){if($){var Q=J.style,Z;if($ in o1&&$!==r9)$=n0;if(Q.removeProperty){if(Z=$.substr(0,2),Z==="ms"||$.substr(0,6)==="webkit")$="-"+$;Q.removeProperty(Z==="--"?$:$.replace(sQ,"-$1").toLowerCase())}else Q.removeAttribute($)}},zJ=function(J,$,Q,Z,q,W){var H=new h9(J._pt,$,Q,0,1,W?W6:q6);return J._pt=H,H.b=Z,H.e=q,J._props.push(Q),H},$6={deg:1,rad:1,turn:1},f4={grid:1,flex:1},XJ=function K(J,$,Q,Z){var q=parseFloat(Q)||0,W=(Q+"").trim().substr((q+"").length)||"px",H=hJ.style,G=D4.test($),B=J.tagName.toLowerCase()==="svg",z=(B?"client":"offset")+(G?"Width":"Height"),F=100,U=Z==="px",j=Z==="%",Y,X,N,V;if(Z===W||!q||$6[Z]||$6[W])return q;if(W!=="px"&&!U&&(q=K(J,$,Q,"px")),V=J.getCTM&&z6(J),(j||W==="%")&&(o1[$]||~$.indexOf("adius")))return Y=V?J.getBBox()[G?"width":"height"]:J[z],e0(j?q/Y*F:q/100*Y);if(H[G?"width":"height"]=F+(U?W:Z),X=Z!=="rem"&&~$.indexOf("adius")||Z==="em"&&J.appendChild&&!B?J:J.parentNode,V)X=(J.ownerSVGElement||{}).parentNode;if(!X||X===BJ||!X.appendChild)X=BJ.body;if(N=X._gsap,N&&j&&N.width&&G&&N.time===s9.time&&!N.uncache)return e0(q/N.width*F);else{if(j&&($==="height"||$==="width")){var O=J.style[$];J.style[$]=F+Z,Y=J[z],O?J.style[$]=O:UJ(J,$)}else(j||W==="%")&&!f4[K1(X,"display")]&&(H.position=K1(J,"position")),X===J&&(H.position="static"),X.appendChild(hJ),Y=hJ[z],X.removeChild(hJ),H.position="absolute";if(G&&j)N=HJ(X),N.time=s9.time,N.width=X[z]}return e0(U?Y*q/F:Y&&q?F/Y*q:0)},l1=function(J,$,Q,Z){var q;if(lQ||cQ(),$ in f1&&$!=="transform"){if($=f1[$],~$.indexOf(","))$=$.split(",")[0]}if(o1[$]&&$!=="transform")q=i8(J,Z),q=$!=="transformOrigin"?q[$]:q.svg?q.origin:Q$(K1(J,r9))+" "+q.zOrigin+"px";else if(q=J.style[$],!q||q==="auto"||Z||~(q+"").indexOf("calc("))q=$$[$]&&$$[$](J,$,Q)||K1(J,$)||SQ(J,$)||($==="opacity"?1:0);return Q&&!~(q+"").trim().indexOf(" ")?XJ(J,$,q,Q)+Q:q},_4=function(J,$,Q,Z){if(!Q||Q==="none"){var q=G8($,J,1),W=q&&K1(J,q,1);if(W&&W!==Q)$=q,Q=W;else if($==="borderColor")Q=K1(J,"borderTopColor")}var H=new h9(this._pt,J.style,$,0,1,_Q),G=0,B=0,z,F,U,j,Y,X,N,V,O,R,I,L;if(H.b=Q,H.e=Z,Q+="",Z+="",Z.substring(0,6)==="var(--")Z=K1(J,Z.substring(4,Z.indexOf(")")));if(Z==="auto")X=J.style[$],J.style[$]=Z,Z=K1(J,$)||Z,X?J.style[$]=X:UJ(J,$);if(z=[Q,Z],bQ(z),Q=z[0],Z=z[1],U=Q.match(SJ)||[],L=Z.match(SJ)||[],L.length){while(F=SJ.exec(Z)){if(N=F[0],O=Z.substring(G,F.index),Y)Y=(Y+1)%5;else if(O.substr(-5)==="rgba("||O.substr(-5)==="hsla(")Y=1;if(N!==(X=U[B++]||"")){if(j=parseFloat(X)||0,I=X.substr((j+"").length),N.charAt(1)==="="&&(N=xJ(j,N)+I),V=parseFloat(N),R=N.substr((V+"").length),G=SJ.lastIndex-R.length,!R){if(R=R||n9.units[$]||I,G===Z.length)Z+=R,H.e+=R}if(I!==R)j=XJ(J,$,X,R)||0;H._pt={_next:H._pt,p:O||B===1?O:",",s:j,c:V-j,m:Y&&Y<4||$==="zIndex"?Math.round:0}}}H.c=G-1){if(H=q[B],o1[H])G=1,H=H==="transformOrigin"?r9:n0;UJ(Q,H)}}if(G){if(UJ(Q,n0),W)W.svg&&Q.removeAttribute("transform"),Z.scale=Z.rotate=Z.translate="none",i8(Q,1),W.uncache=1,H6(Z)}}},$$={clearProps:function(J,$,Q,Z,q){if(q.data!=="isFromStart"){var W=J._pt=new h9(J._pt,$,Q,0,0,u4);return W.u=Z,W.pr=-10,W.tween=q,J._props.push(Q),1}}},s8=[1,0,0,1,0,0],U6={},X6=function(J){return J==="matrix(1, 0, 0, 1, 0, 0)"||J==="none"||!J},Z6=function(J){var $=K1(J,n0);return X6($)?s8:$.substr(7).match(OQ).map(e0)},iQ=function(J,$){var Q=J._gsap||HJ(J),Z=J.style,q=Z6(J),W,H,G,B;if(Q.svg&&J.getAttribute("transform"))return G=J.transform.baseVal.consolidate().matrix,q=[G.a,G.b,G.c,G.d,G.e,G.f],q.join(",")==="1,0,0,1,0,0"?s8:q;else if(q===s8&&!J.offsetParent&&J!==W8&&!Q.svg){if(G=Z.display,Z.display="block",W=J.parentNode,!W||!J.offsetParent&&!J.getBoundingClientRect().width)B=1,H=J.nextElementSibling,W8.appendChild(J);if(q=Z6(J),G?Z.display=G:UJ(J,"display"),B)H?W.insertBefore(J,H):W?W.appendChild(J):W8.removeChild(J)}return $&&q.length>6?[q[0],q[1],q[4],q[5],q[12],q[13]]:q},pQ=function(J,$,Q,Z,q,W){var H=J._gsap,G=q||iQ(J,!0),B=H.xOrigin||0,z=H.yOrigin||0,F=H.xOffset||0,U=H.yOffset||0,j=G[0],Y=G[1],X=G[2],N=G[3],V=G[4],O=G[5],R=$.split(" "),I=parseFloat(R[0])||0,L=parseFloat(R[1])||0,k,A,E,b;if(!Q)k=B6(J),I=k.x+(~R[0].indexOf("%")?I/100*k.width:I),L=k.y+(~(R[1]||R[0]).indexOf("%")?L/100*k.height:L);else if(G!==s8&&(A=j*N-Y*X))E=I*(N/A)+L*(-X/A)+(X*O-N*V)/A,b=I*(-Y/A)+L*(j/A)-(j*O-Y*V)/A,I=E,L=b;if(Z||Z!==!1&&H.smooth)V=I-B,O=L-z,H.xOffset=F+(V*j+O*X)-V,H.yOffset=U+(V*Y+O*N)-O;else H.xOffset=H.yOffset=0;if(H.xOrigin=I,H.yOrigin=L,H.smooth=!!Z,H.origin=$,H.originIsAbsolute=!!Q,J.style[r9]="0px 0px",W)zJ(W,H,"xOrigin",B,I),zJ(W,H,"yOrigin",z,L),zJ(W,H,"xOffset",F,H.xOffset),zJ(W,H,"yOffset",U,H.yOffset);J.setAttribute("data-svg-origin",I+" "+L)},i8=function(J,$){var Q=J._gsap||new wQ(J);if("x"in Q&&!$&&!Q.uncache)return Q;var Z=J.style,q=Q.scaleX<0,W="px",H="deg",G=getComputedStyle(J),B=K1(J,r9)||"0",z,F,U,j,Y,X,N,V,O,R,I,L,k,A,E,b,w,d,y,u,o,m,g,T,a,i,M,l,n,W0,h,e;if(z=F=U=X=N=V=O=R=I=0,j=Y=1,Q.svg=!!(J.getCTM&&z6(J)),G.translate){if(G.translate!=="none"||G.scale!=="none"||G.rotate!=="none")Z[n0]=(G.translate!=="none"?"translate3d("+(G.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(G.rotate!=="none"?"rotate("+G.rotate+") ":"")+(G.scale!=="none"?"scale("+G.scale.split(" ").join(",")+") ":"")+(G[n0]!=="none"?G[n0]:"");Z.scale=Z.rotate=Z.translate="none"}if(A=iQ(J,Q.svg),Q.svg){if(Q.uncache)a=J.getBBox(),B=Q.xOrigin-a.x+"px "+(Q.yOrigin-a.y)+"px",T="";else T=!$&&J.getAttribute("data-svg-origin");pQ(J,T||B,!!T||Q.originIsAbsolute,Q.smooth!==!1,A)}if(L=Q.xOrigin||0,k=Q.yOrigin||0,A!==s8){if(d=A[0],y=A[1],u=A[2],o=A[3],z=m=A[4],F=g=A[5],A.length===6){if(j=Math.sqrt(d*d+y*y),Y=Math.sqrt(o*o+u*u),X=d||y?q8(y,d)*yJ:0,O=u||o?q8(u,o)*yJ+X:0,O&&(Y*=Math.abs(Math.cos(O*H8))),Q.svg)z-=L-(L*d+k*u),F-=k-(L*y+k*o)}else{if(e=A[6],W0=A[7],M=A[8],l=A[9],n=A[10],h=A[11],z=A[12],F=A[13],U=A[14],E=q8(e,n),N=E*yJ,E)b=Math.cos(-E),w=Math.sin(-E),T=m*b+M*w,a=g*b+l*w,i=e*b+n*w,M=m*-w+M*b,l=g*-w+l*b,n=e*-w+n*b,h=W0*-w+h*b,m=T,g=a,e=i;if(E=q8(-u,n),V=E*yJ,E)b=Math.cos(-E),w=Math.sin(-E),T=d*b-M*w,a=y*b-l*w,i=u*b-n*w,h=o*w+h*b,d=T,y=a,u=i;if(E=q8(y,d),X=E*yJ,E)b=Math.cos(E),w=Math.sin(E),T=d*b+y*w,a=m*b+g*w,y=y*b-d*w,g=g*b-m*w,d=T,m=a;if(N&&Math.abs(N)+Math.abs(X)>359.9)N=X=0,V=180-V;j=e0(Math.sqrt(d*d+y*y+u*u)),Y=e0(Math.sqrt(g*g+e*e)),E=q8(m,g),O=Math.abs(E)>0.0002?E*yJ:0,I=h?1/(h<0?-h:h):0}if(Q.svg)T=J.getAttribute("transform"),Q.forceCSS=J.setAttribute("transform","")||!X6(K1(J,n0)),T&&J.setAttribute("transform",T)}if(Math.abs(O)>90&&Math.abs(O)<270)if(q)j*=-1,O+=X<=0?180:-180,X+=X<=0?180:-180;else Y*=-1,O+=O<=0?180:-180;if($=$||Q.uncache,Q.x=z-((Q.xPercent=z&&(!$&&Q.xPercent||(Math.round(J.offsetWidth/2)===Math.round(-z)?-50:0)))?J.offsetWidth*Q.xPercent/100:0)+W,Q.y=F-((Q.yPercent=F&&(!$&&Q.yPercent||(Math.round(J.offsetHeight/2)===Math.round(-F)?-50:0)))?J.offsetHeight*Q.yPercent/100:0)+W,Q.z=U+W,Q.scaleX=e0(j),Q.scaleY=e0(Y),Q.rotation=e0(X)+H,Q.rotationX=e0(N)+H,Q.rotationY=e0(V)+H,Q.skewX=O+H,Q.skewY=R+H,Q.transformPerspective=I+W,Q.zOrigin=parseFloat(B.split(" ")[2])||!$&&Q.zOrigin||0)Z[r9]=Q$(B);return Q.xOffset=Q.yOffset=0,Q.force3D=n9.force3D,Q.renderTransform=Q.svg?g4:j6?F6:m4,Q.uncache=0,Q},Q$=function(J){return(J=J.split(" "))[0]+" "+J[1]},mQ=function(J,$,Q){var Z=I9($);return e0(parseFloat($)+parseFloat(XJ(J,"x",Q+"px",Z)))+Z},m4=function(J,$){$.z="0px",$.rotationY=$.rotationX="0deg",$.force3D=0,F6(J,$)},wJ="0deg",o8="0px",TJ=") ",F6=function(J,$){var Q=$||this,Z=Q.xPercent,q=Q.yPercent,W=Q.x,H=Q.y,G=Q.z,B=Q.rotation,z=Q.rotationY,F=Q.rotationX,U=Q.skewX,j=Q.skewY,Y=Q.scaleX,X=Q.scaleY,N=Q.transformPerspective,V=Q.force3D,O=Q.target,R=Q.zOrigin,I="",L=V==="auto"&&J&&J!==1||V===!0;if(R&&(F!==wJ||z!==wJ)){var k=parseFloat(z)*H8,A=Math.sin(k),E=Math.cos(k),b;k=parseFloat(F)*H8,b=Math.cos(k),W=mQ(O,W,A*b*-R),H=mQ(O,H,-Math.sin(k)*-R),G=mQ(O,G,E*b*-R+R)}if(N!==o8)I+="perspective("+N+TJ;if(Z||q)I+="translate("+Z+"%, "+q+"%) ";if(L||W!==o8||H!==o8||G!==o8)I+=G!==o8||L?"translate3d("+W+", "+H+", "+G+") ":"translate("+W+", "+H+TJ;if(B!==wJ)I+="rotate("+B+TJ;if(z!==wJ)I+="rotateY("+z+TJ;if(F!==wJ)I+="rotateX("+F+TJ;if(U!==wJ||j!==wJ)I+="skew("+U+", "+j+TJ;if(Y!==1||X!==1)I+="scale("+Y+", "+X+TJ;O.style[n0]=I||"translate(0, 0)"},g4=function(J,$){var Q=$||this,Z=Q.xPercent,q=Q.yPercent,W=Q.x,H=Q.y,G=Q.rotation,B=Q.skewX,z=Q.skewY,F=Q.scaleX,U=Q.scaleY,j=Q.target,Y=Q.xOrigin,X=Q.yOrigin,N=Q.xOffset,V=Q.yOffset,O=Q.forceCSS,R=parseFloat(W),I=parseFloat(H),L,k,A,E,b;if(G=parseFloat(G),B=parseFloat(B),z=parseFloat(z),z)z=parseFloat(z),B+=z,G+=z;if(G||B){if(G*=H8,B*=H8,L=Math.cos(G)*F,k=Math.sin(G)*F,A=Math.sin(G-B)*-U,E=Math.cos(G-B)*U,B){if(z*=H8,b=Math.tan(B-z),b=Math.sqrt(1+b*b),A*=b,E*=b,z)b=Math.tan(z),b=Math.sqrt(1+b*b),L*=b,k*=b}L=e0(L),k=e0(k),A=e0(A),E=e0(E)}else L=F,E=U,k=A=0;if(R&&!~(W+"").indexOf("px")||I&&!~(H+"").indexOf("px"))R=XJ(j,"x",W,"px"),I=XJ(j,"y",H,"px");if(Y||X||N||V)R=e0(R+Y-(Y*L+X*A)+N),I=e0(I+X-(Y*k+X*E)+V);if(Z||q)b=j.getBBox(),R=e0(R+Z/100*b.width),I=e0(I+q/100*b.height);b="matrix("+L+","+k+","+A+","+E+","+R+","+I+")",j.setAttribute("transform",b),O&&(j.style[n0]=b)},d4=function(J,$,Q,Z,q){var W=360,H=j9(q),G=parseFloat(q)*(H&&~q.indexOf("rad")?yJ:1),B=G-Z,z=Z+B+"deg",F,U;if(H){if(F=q.split("_")[1],F==="short"){if(B%=W,B!==B%(W/2))B+=B<0?W:-W}if(F==="cw"&&B<0)B=(B+W*rK)%W-~~(B/W)*W;else if(F==="ccw"&&B>0)B=(B-W*rK)%W-~~(B/W)*W}return J._pt=U=new h9(J._pt,$,Q,Z,B,C4),U.e=z,U.u="deg",J._props.push(Q),U},K6=function(J,$){for(var Q in $)J[Q]=$[Q];return J},c4=function(J,$,Q){var Z=K6({},Q._gsap),q="perspective,force3D,transformOrigin,svgOrigin",W=Q.style,H,G,B,z,F,U,j,Y;if(Z.svg)B=Q.getAttribute("transform"),Q.setAttribute("transform",""),W[n0]=$,H=i8(Q,1),UJ(Q,n0),Q.setAttribute("transform",B);else B=getComputedStyle(Q)[n0],W[n0]=$,H=i8(Q,1),W[n0]=B;for(G in o1)if(B=Z[G],z=H[G],B!==z&&q.indexOf(G)<0)j=I9(B),Y=I9(z),F=j!==Y?XJ(Q,G,B,Y):parseFloat(B),U=parseFloat(z),J._pt=new h9(J._pt,H,G,F,U-F,gQ),J._pt.u=Y||0,J._props.push(G);K6(H,Z)};y9("padding,margin,Width,Radius",function(K,J){var $="Top",Q="Right",Z="Bottom",q="Left",W=(J<3?[$,Q,Z,q]:[$+q,$+Q,Z+Q,Z+q]).map(function(H){return J<2?K+H:"border"+H+K});$$[J>1?"border"+K:K]=function(H,G,B,z,F){var U,j;if(arguments.length<4)return U=W.map(function(Y){return l1(H,Y,B)}),j=U.join(" "),j.split(U[0]).length===5?U[0]:j;U=(z+"").split(" "),j={},W.forEach(function(Y,X){return j[Y]=U[X]=U[X]||U[(X-1)/2|0]}),H.init(G,j,F)}});var nQ={name:"css",register:cQ,targetTest:function(J){return J.style&&J.nodeType},init:function(J,$,Q,Z,q){var W=this._props,H=J.style,G=Q.vars.startAt,B,z,F,U,j,Y,X,N,V,O,R,I,L,k,A,E,b;lQ||cQ(),this.styles=this.styles||G6(J),E=this.styles.props,this.tween=Q;for(X in $){if(X==="autoRound")continue;if(z=$[X],o9[X]&&yQ(X,$,Q,Z,J,q))continue;if(j=typeof z,Y=$$[X],j==="function")z=z.call(Q,Z,J,q),j=typeof z;if(j==="string"&&~z.indexOf("random("))z=K8(z);if(Y)Y(this,J,X,z,Q)&&(A=1);else if(X.substr(0,2)==="--"){if(B=(getComputedStyle(J).getPropertyValue(X)+"").trim(),z+="",c1.lastIndex=0,!c1.test(B))N=I9(B),V=I9(z),V?N!==V&&(B=XJ(J,X,B,V)+V):N&&(z+=N);this.add(H,"setProperty",B,z,Z,q,0,0,X),W.push(X),E.push(X,0,H[X])}else if(j!=="undefined"){if(G&&X in G)B=typeof G[X]==="function"?G[X].call(Q,Z,J,q):G[X],j9(B)&&~B.indexOf("random(")&&(B=K8(B)),I9(B+"")||B==="auto"||(B+=n9.units[X]||I9(l1(J,X))||""),(B+"").charAt(1)==="="&&(B=l1(J,X));else B=l1(J,X);if(U=parseFloat(B),O=j==="string"&&z.charAt(1)==="="&&z.substr(0,2),O&&(z=z.substr(2)),F=parseFloat(z),X in f1){if(X==="autoAlpha"){if(U===1&&l1(J,"visibility")==="hidden"&&F)U=0;E.push("visibility",0,H.visibility),zJ(this,H,"visibility",U?"inherit":"hidden",F?"inherit":"hidden",!F)}if(X!=="scale"&&X!=="transform")X=f1[X],~X.indexOf(",")&&(X=X.split(",")[0])}if(R=X in o1,R){if(this.styles.save(X),b=z,j==="string"&&z.substring(0,6)==="var(--"){if(z=K1(J,z.substring(4,z.indexOf(")"))),z.substring(0,5)==="calc("){var w=J.style.perspective;J.style.perspective=z,z=K1(J,"perspective"),w?J.style.perspective=w:UJ(J,"perspective")}F=parseFloat(z)}if(!I)L=J._gsap,L.renderTransform&&!$.parseTransform||i8(J,$.parseTransform),k=$.smoothOrigin!==!1&&L.smooth,I=this._pt=new h9(this._pt,H,n0,0,1,L.renderTransform,L,0,-1),I.dep=1;if(X==="scale")this._pt=new h9(this._pt,L,"scaleY",L.scaleY,(O?xJ(L.scaleY,O+F):F)-L.scaleY||0,gQ),this._pt.u=0,W.push("scaleY",X),X+="X";else if(X==="transformOrigin"){if(E.push(r9,0,H[r9]),z=v4(z),L.svg)pQ(J,z,0,k,0,this);else V=parseFloat(z.split(" ")[2])||0,V!==L.zOrigin&&zJ(this,L,"zOrigin",L.zOrigin,V),zJ(this,H,X,Q$(B),Q$(z));continue}else if(X==="svgOrigin"){pQ(J,z,1,k,0,this);continue}else if(X in U6){d4(this,L,X,U,O?xJ(U,O+z):z);continue}else if(X==="smoothOrigin"){zJ(this,L,"smooth",L.smooth,z);continue}else if(X==="force3D"){L[X]=z;continue}else if(X==="transform"){c4(this,z,J);continue}}else if(!(X in H))X=G8(X)||X;if(R||(F||F===0)&&(U||U===0)&&!O4.test(z)&&X in H){if(N=(B+"").substr((U+"").length),F||(F=0),V=I9(z)||(X in n9.units?n9.units[X]:N),N!==V&&(U=XJ(J,X,B,V)),this._pt=new h9(this._pt,R?L:H,X,U,(O?xJ(U,O+F):F)-U,!R&&(V==="px"||X==="zIndex")&&$.autoRound!==!1?E4:gQ),this._pt.u=V||0,R&&b!==z)this._pt.b=B,this._pt.e=b,this._pt.r=k4;else if(N!==V&&V!=="%")this._pt.b=B,this._pt.r=A4}else if(!(X in H)){if(X in J)this.add(J,X,B||J[X],O?O+z:z,Z,q);else if(X!=="parseTransform"){r7(X,z);continue}}else _4.call(this,J,X,B,O?O+z:z);R||(X in H?E.push(X,0,H[X]):typeof J[X]==="function"?E.push(X,2,J[X]()):E.push(X,1,B||J[X])),W.push(X)}}A&&uQ(this)},render:function(J,$){if($.tween._time||!oQ()){var Q=$._pt;while(Q)Q.r(J,Q.d),Q=Q._next}else $.styles.revert()},get:l1,aliases:f1,getSetter:function(J,$,Q){var Z=f1[$];return Z&&Z.indexOf(",")<0&&($=Z),$ in o1&&$!==r9&&(J._gsap.x||l1(J,"x"))?Q&&aK===Q?$==="scale"?b4:x4:(aK=Q||{})&&($==="scale"?w4:T4):J.style&&!a7(J.style[$])?P4:~$.indexOf("-")?S4:J$(J,$)},core:{_removeProperty:UJ,_getMatrix:iQ}};P9.utils.checkPrefix=G8;P9.core.getStyleSaver=G6;(function(K,J,$,Q){var Z=y9(K+","+J+","+$,function(q){o1[q]=1});y9(J,function(q){n9.units[q]="deg",U6[q]=1}),f1[Z[13]]=K+","+J,y9(Q,function(q){var W=q.split(":");f1[W[1]]=Z[W[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");y9("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(K){n9.units[K]="px"});P9.registerPlugin(nQ);var n8=P9.registerPlugin(nQ)||P9,YX=n8.core.Tween;function Y6(K,J){for(var $=0;$G)q=Z,Z=Y,H=W,W=N;else if(Q)Z+=Y;else Z=q+(Y-q)/(N-H)*(W-H)},F=function(){q=Z=Q?0:Z,H=W=0},U=function(Y){var X=H,N=q,V=r8();return(Y||Y===0)&&Y!==Z&&z(Y),W===H||V-H>B?0:(Z+(Q?N:-N))/((Q?V:W)-X)*1000};return{update:z,reset:F,getVelocity:U}},a8=function(J,$){return $&&!J._gsapAllow&&J.cancelable!==!1&&J.preventDefault(),J.changedTouches?J.changedTouches[0]:J},N6=function(J){var $=Math.max.apply(Math,J),Q=Math.min.apply(Math,J);return Math.abs($)>=Math.abs(Q)?$:Q},D6=function(){z8=R9.core.globals().ScrollTrigger,z8&&z8.core&&o4()},O6=function(J){if(R9=J||I6(),!q$&&R9&&typeof document<"u"&&document.body)q1=window,FJ=document,YJ=FJ.documentElement,B8=FJ.body,V6=[q1,FJ,YJ,B8],l4=R9.utils.clamp,L6=R9.core.context||function(){},fJ="onpointerenter"in B8?"pointer":"mouse",M6=J9.isTouch=q1.matchMedia&&q1.matchMedia("(hover: none), (pointer: coarse)").matches?1:("ontouchstart"in q1)||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,C1=J9.eventTypes=("ontouchstart"in YJ?"touchstart,touchmove,touchcancel,touchend":!("onpointerdown"in YJ)?"mousedown,mousemove,mouseup,mouseup":"pointerdown,pointermove,pointercancel,pointerup").split(","),setTimeout(function(){return R6=0},500),q$=1;return z8||D6(),q$};S9.op=K9;F0.cache=0;var J9=function(){function K($){this.init($)}var J=K.prototype;return J.init=function(Q){q$||O6(R9)||console.warn("Please gsap.registerPlugin(Observer)"),z8||D6();var{tolerance:Z,dragMinimum:q,type:W,target:H,lineHeight:G,debounce:B,preventDefault:z,onStop:F,onStopDelay:U,ignore:j,wheelSpeed:Y,event:X,onDragStart:N,onDragEnd:V,onDrag:O,onPress:R,onRelease:I,onRight:L,onLeft:k,onUp:A,onDown:E,onChangeX:b,onChangeY:w,onChange:d,onToggleX:y,onToggleY:u,onHover:o,onHoverEnd:m,onMove:g,ignoreCheck:T,isNormalizer:a,onGestureStart:i,onGestureEnd:M,onWheel:l,onEnable:n,onDisable:W0,onClick:h,scrollSpeed:e,capture:$0,allowClicks:z0,lockAxis:H0,onLockAxis:d0}=Q;this.target=H=v9(H)||YJ,this.vars=Q,j&&(j=R9.utils.toArray(j)),Z=Z||0.000000001,q=q||0,Y=Y||1,e=e||1,W=W||"wheel,touch,pointer",B=B!==!1,G||(G=parseFloat(q1.getComputedStyle(B8).lineHeight)||22);var S0,w0,m0,U0,X0,Q0,H9,P=this,x0=0,Y9=0,D9=Q.passive||!z&&Q.passive!==!1,T0=i1(H,S9),y0=i1(H,K9),c9=T0(),T9=y0(),g0=~W.indexOf("touch")&&!~W.indexOf("pointer")&&C1[0]==="pointerdown",N0=t8(H),L0=H.ownerDocument||FJ,a0=[0,0,0],p9=[0,0,0],e9=0,CJ=function(){return e9=r8()},r0=function(S,v){return(P.event=S)&&j&&s4(S.target,j)||v&&g0&&S.pointerType!=="touch"||T&&T(S,v)},QJ=function(){P._vx.reset(),P._vy.reset(),w0.pause(),F&&F(P)},X1=function(){var S=P.deltaX=N6(a0),v=P.deltaY=N6(p9),x=Math.abs(S)>=Z,p=Math.abs(v)>=Z;if(d&&(x||p)&&d(P,S,v,a0,p9),x)L&&P.deltaX>0&&L(P),k&&P.deltaX<0&&k(P),b&&b(P),y&&P.deltaX<0!==x0<0&&y(P),x0=P.deltaX,a0[0]=a0[1]=a0[2]=0;if(p)E&&P.deltaY>0&&E(P),A&&P.deltaY<0&&A(P),w&&w(P),u&&P.deltaY<0!==Y9<0&&u(P),Y9=P.deltaY,p9[0]=p9[1]=p9[2]=0;if(U0||m0){if(g&&g(P),m0)N&&m0===1&&N(P),O&&O(P),m0=0;U0=!1}if(Q0&&!(Q0=!1)&&d0&&d0(P),X0)l(P),X0=!1;S0=0},O1=function(S,v,x){a0[x]+=S,p9[x]+=v,P._vx.update(S),P._vy.update(v),B?S0||(S0=requestAnimationFrame(X1)):X1()},F1=function(S,v){if(H0&&!H9)P.axis=H9=Math.abs(S)>Math.abs(v)?"x":"y",Q0=!0;if(H9!=="y")a0[2]+=S,P._vx.update(S,!0);if(H9!=="x")p9[2]+=v,P._vy.update(v,!0);B?S0||(S0=requestAnimationFrame(X1)):X1()},S1=function(S){if(r0(S,1))return;S=a8(S,z);var{clientX:v,clientY:x}=S,p=v-P.x,f=x-P.y,s=P.isDragging;if(P.x=v,P.y=x,s||(p||f)&&(Math.abs(P.startX-v)>=q||Math.abs(P.startY-x)>=q))m0||(m0=s?2:1),s||(P.isDragging=!0),F1(p,f)},J1=P.onPress=function(C){if(r0(C,1)||C&&C.button)return;P.axis=H9=null,w0.pause(),P.isPressed=!0,C=a8(C),x0=Y9=0,P.startX=P.x=C.clientX,P.startY=P.y=C.clientY,P._vx.reset(),P._vy.reset(),_9(a?H:L0,C1[1],S1,D9,!0),P.deltaX=P.deltaY=0,R&&R(P)},G0=P.onRelease=function(C){if(r0(C,1))return;f9(a?H:L0,C1[1],S1,!0);var S=!isNaN(P.y-P.startY),v=P.isDragging,x=v&&(Math.abs(P.x-P.startX)>3||Math.abs(P.y-P.startY)>3),p=a8(C);if(!x&&S){if(P._vx.reset(),P._vy.reset(),z&&z0)R9.delayedCall(0.08,function(){if(r8()-e9>300&&!C.defaultPrevented){if(C.target.click)C.target.click();else if(L0.createEvent){var f=L0.createEvent("MouseEvents");f.initMouseEvent("click",!0,!0,q1,1,p.screenX,p.screenY,p.clientX,p.clientY,!1,!1,!1,!1,0,null),C.target.dispatchEvent(f)}}})}P.isDragging=P.isGesturing=P.isPressed=!1,F&&v&&!a&&w0.restart(!0),m0&&X1(),V&&v&&V(P),I&&I(P,x)},$1=function(S){return S.touches&&S.touches.length>1&&(P.isGesturing=!0)&&i(S,P.isDragging)},o0=function(){return(P.isGesturing=!1)||M(P)},O9=function(S){if(r0(S))return;var v=T0(),x=y0();O1((v-c9)*e,(x-T9)*e,1),c9=v,T9=x,F&&w0.restart(!0)},l9=function(S){if(r0(S))return;S=a8(S,z),l&&(X0=!0);var v=(S.deltaMode===1?G:S.deltaMode===2?q1.innerHeight:1)*Y;O1(S.deltaX*v,S.deltaY*v,0),F&&!a&&w0.restart(!0)},x1=function(S){if(r0(S))return;var{clientX:v,clientY:x}=S,p=v-P.x,f=x-P.y;P.x=v,P.y=x,U0=!0,F&&w0.restart(!0),(p||f)&&F1(p,f)},J0=function(S){P.event=S,o(P)},D=function(S){P.event=S,m(P)},_=function(S){return r0(S)||a8(S,z)&&h(P)};w0=P._dc=R9.delayedCall(U||0.25,QJ).pause(),P.deltaX=P.deltaY=0,P._vx=H$(0,50,!0),P._vy=H$(0,50,!0),P.scrollX=T0,P.scrollY=y0,P.isDragging=P.isGesturing=P.isPressed=!1,L6(this),P.enable=function(C){if(!P.isEnabled){if(_9(N0?L0:H,"scroll",rQ),W.indexOf("scroll")>=0&&_9(N0?L0:H,"scroll",O9,D9,$0),W.indexOf("wheel")>=0&&_9(H,"wheel",l9,D9,$0),W.indexOf("touch")>=0&&M6||W.indexOf("pointer")>=0)_9(H,C1[0],J1,D9,$0),_9(L0,C1[2],G0),_9(L0,C1[3],G0),z0&&_9(H,"click",CJ,!0,!0),h&&_9(H,"click",_),i&&_9(L0,"gesturestart",$1),M&&_9(L0,"gestureend",o0),o&&_9(H,fJ+"enter",J0),m&&_9(H,fJ+"leave",D),g&&_9(H,fJ+"move",x1);P.isEnabled=!0,P.isDragging=P.isGesturing=P.isPressed=U0=m0=!1,P._vx.reset(),P._vy.reset(),c9=T0(),T9=y0(),C&&C.type&&J1(C),n&&n(P)}return P},P.disable=function(){if(P.isEnabled){if(j8.filter(function(C){return C!==P&&t8(C.target)}).length||f9(N0?L0:H,"scroll",rQ),P.isPressed)P._vx.reset(),P._vy.reset(),f9(a?H:L0,C1[1],S1,!0);f9(N0?L0:H,"scroll",O9,$0),f9(H,"wheel",l9,$0),f9(H,C1[0],J1,$0),f9(L0,C1[2],G0),f9(L0,C1[3],G0),f9(H,"click",CJ,!0),f9(H,"click",_),f9(L0,"gesturestart",$1),f9(L0,"gestureend",o0),f9(H,fJ+"enter",J0),f9(H,fJ+"leave",D),f9(H,fJ+"move",x1),P.isEnabled=P.isPressed=P.isDragging=!1,W0&&W0(P)}},P.kill=P.revert=function(){P.disable();var C=j8.indexOf(P);C>=0&&j8.splice(C,1),s1===P&&(s1=0)},j8.push(P),a&&t8(H)&&(s1=P),P.enable(X)},p4(K,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),K}();J9.version="3.15.0";J9.create=function(K){return new J9(K)};J9.register=O6;J9.getAll=function(){return j8.slice()};J9.getById=function(K){return j8.filter(function(J){return J.vars.id===K})[0]};I6()&&R9.registerPlugin(J9);/*! * ScrollTrigger 3.15.0 * https://gsap.com * * @license Copyright 2008-2026, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var r,Y8,M0,f0,G1,b0,zZ,O$,U7,q7,J7,G$,x9,k$,KZ,m9,C6,A6,N8,g6,tQ,d6,u9,qZ,c6,p6,NJ,WZ,UZ,M8,XZ,W7,HZ,eQ,j$=1,b9=Date.now,JZ=b9(),I1=0,$7=0,k6=function(J,$,Q){var Z=H1(J)&&(J.substr(0,6)==="clamp("||J.indexOf("max")>-1);return Q["_"+$+"Clamp"]=Z,Z?J.substr(6,J.length-7):J},E6=function(J,$){return $&&(!H1(J)||J.substr(0,6)!=="clamp(")?"clamp("+J+")":J},i4=function K(){return $7&&requestAnimationFrame(K)},P6=function(){return k$=1},S6=function(){return k$=0},_1=function(J){return J},Q7=function(J){return Math.round(J*1e5)/1e5||0},l6=function(){return typeof window<"u"},o6=function(){return r||l6()&&(r=window.gsap)&&r.registerPlugin&&r},dJ=function(J){return!!~zZ.indexOf(J)},s6=function(J){return(J==="Height"?XZ:M0["inner"+J])||G1["client"+J]||b0["client"+J]},i6=function(J){return n1(J,"getBoundingClientRect")||(dJ(J)?function(){return D$.width=M0.innerWidth,D$.height=XZ,D$}:function(){return a1(J)})},n4=function(J,$,Q){var{d:Z,d2:q,a:W}=Q;return(W=n1(J,"getBoundingClientRect"))?function(){return W()[Z]}:function(){return($?s6(q):J["client"+q])||0}},a4=function(J,$){return!$||~A1.indexOf(J)?i6(J):function(){return D$}},v1=function(J,$){var{s:Q,d2:Z,d:q,a:W}=$;return Math.max(0,(Q="scroll"+Z)&&(W=n1(J,Q))?W()-i6(J)()[q]:dJ(J)?(G1[Q]||b0[Q])-s6(Z):J[Q]-J["offset"+Z])},B$=function(J,$){for(var Q=0;Q0){Z-=W;for(H=0;H=Z)return Q[H];return Q[H-1]}else{H=Q.length,Z+=W;while(H--)if(Q[H]<=Z)return Q[H]}return Q[0]}:function(Z,q,W){if(W===void 0)W=0.001;var H=$(Z);return!q||Math.abs(H-Z)Q&&(Z*=$/100),J=J.substr(0,Q-1);J=Z+(J in A$?A$[J]*$:~J.indexOf("%")?parseFloat(J)*$/100:parseFloat(J)||0)}return J},F$=function(J,$,Q,Z,q,W,H,G){var{startColor:B,endColor:z,fontSize:F,indent:U,fontWeight:j}=q,Y=f0.createElement("div"),X=dJ(Q)||n1(Q,"pinType")==="fixed",N=J.indexOf("scroller")!==-1,V=X?b0:Q.tagName==="IFRAME"?Q.contentDocument.body:Q,O=J.indexOf("start")!==-1,R=O?B:z,I="border-color:"+R+";font-size:"+F+";color:"+R+";font-weight:"+j+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return I+="position:"+((N||G)&&X?"fixed;":"absolute;"),(N||G||!X)&&(I+=(Z===K9?FZ:YZ)+":"+(W+parseFloat(U))+"px;"),H&&(I+="box-sizing:border-box;text-align:left;width:"+H.offsetWidth+"px;"),Y._isStart=O,Y.setAttribute("class","gsap-marker-"+J+($?" marker-"+$:"")),Y.style.cssText=I,Y.innerText=$||$===0?J+"-"+$:J,V.children[0]?V.insertBefore(Y,V.children[0]):V.appendChild(Y),Y._offset=Y["offset"+Z.op.d2],L$(Y,0,Z,O),Y},L$=function(J,$,Q,Z){var q={display:"block"},W=Q[Z?"os2":"p2"],H=Q[Z?"p2":"os2"];J._isFlipped=Z,q[Q.a+"Percent"]=Z?-100:0,q[Q.a]=Z?"1px":0,q["border"+W+L8]=1,q["border"+H+L8]=0,q[Q.p]=$+"px",r.set(J,q)},Y0=[],GZ={},X7,w6=function(){return b9()-I1>34&&(X7||(X7=requestAnimationFrame(r1)))},F8=function(){if(!u9||!u9.isPressed||u9.startX>b0.clientWidth){if(F0.cache++,u9)X7||(X7=requestAnimationFrame(r1));else r1();I1||pJ("scrollStart"),I1=b9()}},$Z=function(){p6=M0.innerWidth,c6=M0.innerHeight},K7=function(J){F0.cache++,(J===!0||!x9&&!d6&&!f0.fullscreenElement&&!f0.webkitFullscreenElement&&(!qZ||p6!==M0.innerWidth||Math.abs(M0.innerHeight-c6)>M0.innerHeight*0.25))&&O$.restart(!0)},cJ={},Jj=[],t6=function K(){return X9(q0,"scrollEnd",K)||vJ(!0)},pJ=function(J){return cJ[J]&&cJ[J].map(function($){return $()})||Jj},W1=[],e6=function(J){for(var $=0;$q,H=Z._startClamp&&Z.start>=q;(W||H)&&Z.setPositions(H?q-1:Z.start,W?Math.max(H?q:Z.start+1,q):Z.end,!0)}),y6(!1),HZ=0,Q.forEach(function(Z){return Z&&Z.render&&Z.render(-1)}),F0.forEach(function(Z){if(w9(Z))Z.smooth&&requestAnimationFrame(function(){return Z.target.style.scrollBehavior="smooth"}),Z.rec&&Z(Z.rec)}),$q(UZ,1),O$.pause(),gJ++,g9=2,r1(2),Y0.forEach(function(Z){return w9(Z.vars.onRefresh)&&Z.vars.onRefresh(Z)}),g9=q0.isRefreshing=!1,pJ("refresh")},jZ=0,I$=1,z7,r1=function(J){if(J===2||!g9&&!W7){q0.isUpdating=!0,z7&&z7.update(0);var $=Y0.length,Q=b9(),Z=Q-JZ>=50,q=$&&Y0[0].scroll();if(I$=jZ>q?-1:1,g9||(jZ=q),Z){if(I1&&!k$&&Q-I1>200)I1=0,pJ("scrollEnd");J7=JZ,JZ=Q}if(I$<0){m9=$;while(m9-- >0)Y0[m9]&&Y0[m9].update(0,Z);I$=1}else for(m9=0;m9<$;m9++)Y0[m9]&&Y0[m9].update(0,Z);q0.isUpdating=!1}X7=0},BZ=[n6,a6,YZ,FZ,V1+B7,V1+H7,V1+j7,V1+G7,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],R$=BZ.concat([uJ,mJ,"boxSizing","max"+L8,"max"+NZ,"position",V1,q9,q9+j7,q9+H7,q9+B7,q9+G7]),Qj=function(J,$,Q){V8(Q);var Z=J._gsap;if(Z.spacerIsNative)V8(Z.spacerState);else if(J._gsap.swappedIn){var q=$.parentNode;if(q)q.insertBefore(J,$),q.removeChild($)}J._gsap.swappedIn=!1},QZ=function(J,$,Q,Z){if(!J._gsap.swappedIn){var q=BZ.length,W=$.style,H=J.style,G;while(q--)G=BZ[q],W[G]=Q[G];if(W.position=Q.position==="absolute"?"absolute":"relative",Q.display==="inline"&&(W.display="inline-block"),H[YZ]=H[FZ]="auto",W.flexBasis=Q.flexBasis||"auto",W.overflow="visible",W.boxSizing="border-box",W[uJ]=C$(J,S9)+B9,W[mJ]=C$(J,K9)+B9,W[q9]=H[V1]=H[a6]=H[n6]="0",V8(Z),H[uJ]=H["max"+L8]=Q[uJ],H[mJ]=H["max"+NZ]=Q[mJ],H[q9]=Q[q9],J.parentNode!==$)J.parentNode.insertBefore($,J),$.appendChild(J);J._gsap.swappedIn=!0}},Zj=/([A-Z])/g,V8=function(J){if(J){var $=J.t.style,Q=J.length,Z=0,q,W;(J.t._gsap||r.core.getCache(J.t)).uncache=1;for(;Z20),Q-=Q-k}else j&&(J=r.utils.mapRange(j.scrollTrigger.start,j.scrollTrigger.end,0,U,J)),H&&L$(H,Q,Z,!0);if(Y)G[Y]=J||-0.001,J<0&&(J=0);if(W){var E=J+Q,b=W._isStart;if(N="scroll"+Z.d2,L$(W,E,Z,b&&E>20||!b&&(F?Math.max(b0[N],G1[N]):W.parentNode[N])<=E+1),F)B=a1(H),F&&(W.style[Z.op.p]=B[Z.op.p]-Z.op.m-W._offset+B9)}if(j&&O)N=a1(O),j.seek(U),V=a1(O),j._caScrollDist=N[Z.p]-V[Z.p],J=J/j._caScrollDist*U;return j&&j.seek(X),j?J:Math.round(J)},qj=/(webkit|moz|length|cssText|inset)/i,f6=function(J,$,Q,Z){if(J.parentNode!==$){var q=J.style,W,H;if($===b0){J._stOrig=q.cssText,H=L1(J);for(W in H)if(!+W&&!qj.test(W)&&H[W]&&typeof q[W]==="string"&&W!=="0")q[W]=H[W];q.top=Q,q.left=Z}else q.cssText=J._stOrig;r.core.getCache(J).uncache=1,$.appendChild(J)}},Zq=function(J,$,Q){var Z=$,q=Z;return function(W){var H=Math.round(J());if(H!==Z&&H!==q&&Math.abs(H-Z)>3&&Math.abs(H-q)>3)W=H,Q&&Q();return q=Z,Z=Math.round(W),Z}},N$=function(J,$,Q){var Z={};Z[$.p]="+="+Q,r.set(J,Z)},_6=function(J,$){var Q=i1(J,$),Z="_scroll"+$.p2,q=function W(H,G,B,z,F){var U=W.tween,j=G.onComplete,Y={};B=B||Q();var X=Zq(Q,B,function(){U.kill(),W.tween=0});return F=z&&F||0,z=z||H-B,U&&U.kill(),G[Z]=H,G.inherit=!1,G.modifiers=Y,Y[Z]=function(){return X(B+z*U.ratio+F*U.ratio*U.ratio)},G.onUpdate=function(){F0.cache++,W.tween&&r1()},G.onComplete=function(){W.tween=0,j&&j.call(U)},U=W.tween=r.to(J,G),U};return J[Z]=Q,Q.wheelHandler=function(){return q.tween&&q.tween.kill()&&(q.tween=0)},F9(J,"wheel",Q.wheelHandler),q0.isTouch&&F9(J,"touchmove",Q.wheelHandler),q},q0=function(){function K($,Q){Y8||K.register(r)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),WZ(this),this.init($,Q)}var J=K.prototype;return J.init=function(Q,Z){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!$7){this.update=this.refresh=this.kill=_1;return}Q=x6(H1(Q)||Z7(Q)||Q.nodeType?{trigger:Q}:Q,X$);var q=Q,W=q.onUpdate,H=q.toggleClass,G=q.id,B=q.onToggle,z=q.onRefresh,F=q.scrub,U=q.trigger,j=q.pin,Y=q.pinSpacing,X=q.invalidateOnRefresh,N=q.anticipatePin,V=q.onScrubComplete,O=q.onSnapComplete,R=q.once,I=q.snap,L=q.pinReparent,k=q.pinSpacer,A=q.containerAnimation,E=q.fastScrollEnd,b=q.preventOverlaps,w=Q.horizontal||Q.containerAnimation&&Q.horizontal!==!1?S9:K9,d=!F&&F!==0,y=v9(Q.scroller||M0),u=r.core.getCache(y),o=dJ(y),m=("pinType"in Q?Q.pinType:n1(y,"pinType")||o&&"fixed")==="fixed",g=[Q.onEnter,Q.onLeave,Q.onEnterBack,Q.onLeaveBack],T=d&&Q.toggleActions.split(" "),a="markers"in Q?Q.markers:X$.markers,i=o?0:parseFloat(L1(y)["border"+w.p2+L8])||0,M=this,l=Q.onRefreshInit&&function(){return Q.onRefreshInit(M)},n=n4(y,o,w),W0=a4(y,o),h=0,e=0,$0=0,z0=i1(y,w),H0,d0,S0,w0,m0,U0,X0,Q0,H9,P,x0,Y9,D9,T0,y0,c9,T9,g0,N0,L0,a0,p9,e9,CJ,r0,QJ,X1,O1,F1,S1,J1,G0,$1,o0,O9,l9,x1,J0,D;if(M._startClamp=M._endClamp=!1,M._dir=w,N*=45,M.scroller=y,M.scroll=A?A.time.bind(A):z0,w0=z0(),M.vars=Q,Z=Z||Q.animation,"refreshPriority"in Q)g6=1,Q.refreshPriority===-9999&&(z7=M);if(u.tweenScroll=u.tweenScroll||{top:_6(y,K9),left:_6(y,S9)},M.tweenTo=H0=u.tweenScroll[w.p],M.scrubDuration=function(x){if($1=Z7(x)&&x,!$1)G0&&G0.progress(1).kill(),G0=0;else G0?G0.duration(x):G0=r.to(Z,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:$1,paused:!0,onComplete:function(){return V&&V(M)}})},Z)Z.vars.lazy=!1,Z._initted&&!M.isReverted||Z.vars.immediateRender!==!1&&Q.immediateRender!==!1&&Z.duration()&&Z.render(0,!0,!0),M.animation=Z.pause(),Z.scrollTrigger=M,M.scrubDuration(F),S1=0,G||(G=Z.vars.id);if(I){if(!_J(I)||I.push)I={snapTo:I};"scrollBehavior"in b0.style&&r.set(o?[b0,G1]:y,{scrollBehavior:"auto"}),F0.forEach(function(x){return w9(x)&&x.target===(o?f0.scrollingElement||G1:y)&&(x.smooth=!1)}),S0=w9(I.snapTo)?I.snapTo:I.snapTo==="labels"?t4(Z):I.snapTo==="labelsDirectional"?e4(Z):I.directional!==!1?function(x,p){return MZ(I.snapTo)(x,b9()-e<500?0:p.direction)}:r.utils.snap(I.snapTo),o0=I.duration||{min:0.1,max:2},o0=_J(o0)?q7(o0.min,o0.max):q7(o0,o0),O9=r.delayedCall(I.delay||$1/2||0.1,function(){var x=z0(),p=b9()-e<500,f=H0.tween;if((p||Math.abs(M.getVelocity())<10)&&!f&&!k$&&h!==x){var s=(x-U0)/T0,K0=Z&&!d?Z.totalProgress():s,t=p?0:(K0-J1)/(b9()-J7)*1000||0,B0=r.utils.clamp(-s,1-s,X8(t/2)*t/0.185),k0=s+(I.inertia===!1?0:B0),E0,I0,D0=I,h0=D0.onStart,j0=D0.onInterrupt,N9=D0.onComplete;if(E0=S0(k0,M),Z7(E0)||(E0=k0),I0=Math.max(0,Math.round(U0+E0*T0)),x<=X0&&x>=U0&&I0!==x){if(f&&!f._initted&&f.data<=X8(I0-x))return;if(I.inertia===!1)B0=E0-s;H0(I0,{duration:o0(X8(Math.max(X8(k0-K0),X8(E0-K0))*0.185/t/0.05||0)),ease:I.ease||"power3",data:X8(I0-x),onInterrupt:function(){return O9.restart(!0)&&j0&&U8(M,j0)},onComplete:function(){if(M.update(),h=z0(),Z&&!d)G0?G0.resetTo("totalProgress",E0,Z._tTime/Z._tDur):Z.progress(E0);S1=J1=Z&&!d?Z.totalProgress():M.progress,O&&O(M),N9&&U8(M,N9)}},x,B0*T0,I0-x-B0*T0),h0&&U8(M,h0,H0.tween)}}else if(M.isActive&&h!==x)O9.restart(!0)}).pause()}if(G&&(GZ[G]=M),U=M.trigger=v9(U||j!==!0&&j),D=U&&U._gsap&&U._gsap.stRevert,D&&(D=D(M)),j=j===!0?U:v9(j),H1(H)&&(H={targets:U,className:H}),j){if(Y===!1||Y===V1||(Y=!Y&&j.parentNode&&j.parentNode.style&&L1(j.parentNode).display==="flex"?!1:q9),M.pin=j,d0=r.core.getCache(j),!d0.spacer){if(k)k=v9(k),k&&!k.nodeType&&(k=k.current||k.nativeElement),d0.spacerIsNative=!!k,k&&(d0.spacerState=Y$(k));d0.spacer=g0=k||f0.createElement("div"),g0.classList.add("pin-spacer"),G&&g0.classList.add("pin-spacer-"+G),d0.pinState=y0=Y$(j)}else y0=d0.pinState;Q.force3D!==!1&&r.set(j,{force3D:!0}),M.spacer=g0=d0.spacer,F1=L1(j),CJ=F1[Y+w.os2],L0=r.getProperty(j),a0=r.quickSetter(j,w.a,B9),QZ(j,g0,F1),T9=Y$(j)}if(a){Y9=_J(a)?x6(a,b6):b6,P=F$("scroller-start",G,y,w,Y9,0),x0=F$("scroller-end",G,y,w,Y9,0,P),N0=P["offset"+w.op.d2];var _=v9(n1(y,"content")||y);if(Q0=this.markerStart=F$("start",G,_,w,Y9,N0,0,A),H9=this.markerEnd=F$("end",G,_,w,Y9,N0,0,A),A&&(J0=r.quickSetter([Q0,H9],w.a,B9)),!m&&!(A1.length&&n1(y,"fixedMarkers")===!0))r4(o?b0:y),r.set([P,x0],{force3D:!0}),QJ=r.quickSetter(P,w.a,B9),O1=r.quickSetter(x0,w.a,B9)}if(A){var C=A.vars.onUpdate,S=A.vars.onUpdateParams;A.eventCallback("onUpdate",function(){M.update(0,0,1),C&&C.apply(A,S||[])})}if(M.previous=function(){return Y0[Y0.indexOf(M)-1]},M.next=function(){return Y0[Y0.indexOf(M)+1]},M.revert=function(x,p){if(!p)return M.kill(!0);var f=x!==!1||!M.enabled,s=x9;if(f!==M.isReverted){if(f)l9=Math.max(z0(),M.scroll.rec||0),$0=M.progress,x1=Z&&Z.progress();if(Q0&&[Q0,H9,P,x0].forEach(function(K0){return K0.style.display=f?"none":"block"}),f)x9=M,M.update(f);if(j&&(!L||!M.isActive))if(f)Qj(j,g0,y0);else QZ(j,g0,L1(j),r0);f||M.update(f),x9=s,M.isReverted=f}},M.refresh=function(x,p,f,s){if((x9||!M.enabled)&&!p)return;if(j&&x&&I1){F9(K,"scrollEnd",t6);return}if(!g9&&l&&l(M),x9=M,H0.tween&&!f)H0.tween.kill(),H0.tween=0;if(G0&&G0.pause(),X&&Z)Z.revert({kill:!1}).invalidate(),Z.getChildren?Z.getChildren(!0,!0,!1).forEach(function(ZJ){return ZJ.vars.immediateRender&&ZJ.render(0,!0,!0)}):Z.vars.immediateRender&&Z.render(0,!0,!0);M.isReverted||M.revert(!0,!0),M._subPinOffset=!1;var K0=n(),t=W0(),B0=A?A.duration():v1(y,w),k0=T0<=0.01||!T0,E0=0,I0=s||0,D0=_J(f)?f.end:Q.end,h0=Q.endTrigger||U,j0=_J(f)?f.start:Q.start||(Q.start===0||!U?0:j?"0 0":"0 100%"),N9=M.pinnedContainer=Q.pinnedContainer&&v9(Q.pinnedContainer,M),c0=U&&Math.max(0,Y0.indexOf(M))||0,M9=c0,V9,C9,AJ,u7,A9,G9,b1,ZQ,e5,b8,w1,w8,m7;if(a&&_J(f))w8=r.getProperty(P,w.p),m7=r.getProperty(x0,w.p);while(M9-- >0){if(G9=Y0[M9],G9.end||G9.refresh(0,1)||(x9=M),b1=G9.pin,b1&&(b1===U||b1===j||b1===N9)&&!G9.isReverted)b8||(b8=[]),b8.unshift(G9),G9.revert(!0,!0);if(G9!==Y0[M9])c0--,M9--}if(w9(j0)&&(j0=j0(M)),j0=k6(j0,"start",M),U0=h6(j0,U,K0,w,z0(),Q0,P,M,t,i,m,B0,A,M._startClamp&&"_startClamp")||(j?-0.001:0),w9(D0)&&(D0=D0(M)),H1(D0)&&!D0.indexOf("+="))if(~D0.indexOf(" "))D0=(H1(j0)?j0.split(" ")[0]:"")+D0;else E0=V$(D0.substr(2),K0),D0=H1(j0)?j0:(A?r.utils.mapRange(0,A.duration(),A.scrollTrigger.start,A.scrollTrigger.end,U0):U0)+E0,h0=U;D0=k6(D0,"end",M),X0=Math.max(U0,h6(D0||(h0?"100% 0":B0),h0,K0,w,z0()+E0,H9,x0,M,t,i,m,B0,A,M._endClamp&&"_endClamp"))||-0.001,E0=0,M9=c0;while(M9--)if(G9=Y0[M9]||{},b1=G9.pin,b1&&G9.start-G9._pinPush<=U0&&!A&&G9.end>0){if(V9=G9.end-(M._startClamp?Math.max(0,G9.start):G9.start),(b1===U&&G9.start-G9._pinPush=v1(y,w))){if(V9=L1(j),u7=w===K9,AJ=z0(),p9=parseFloat(L0(w.a))+I0,!B0&&X0>1){if(w1=(o?f0.scrollingElement||G1:y).style,w1={style:w1,value:w1["overflow"+w.a.toUpperCase()]},o&&L1(b0)["overflow"+w.a.toUpperCase()]!=="scroll")w1.style["overflow"+w.a.toUpperCase()]="scroll"}if(QZ(j,g0,V9),T9=Y$(j),C9=a1(j,!0),ZQ=m&&i1(y,u7?S9:K9)(),Y){if(r0=[Y+w.os2,T0+I0+B9],r0.t=g0,M9=Y===q9?C$(j,w)+T0+I0:0,M9)r0.push(w.d,M9+B9),g0.style.flexBasis!=="auto"&&(g0.style.flexBasis=M9+B9);if(V8(r0),N9)Y0.forEach(function(ZJ){if(ZJ.pin===N9&&ZJ.vars.pinSpacing!==!1)ZJ._subPinOffset=!0});m&&z0(l9)}else M9=C$(j,w),M9&&g0.style.flexBasis!=="auto"&&(g0.style.flexBasis=M9+B9);if(m)A9={top:C9.top+(u7?AJ-U0:ZQ)+B9,left:C9.left+(u7?ZQ:AJ-U0)+B9,boxSizing:"border-box",position:"fixed"},A9[uJ]=A9["max"+L8]=Math.ceil(C9.width)+B9,A9[mJ]=A9["max"+NZ]=Math.ceil(C9.height)+B9,A9[V1]=A9[V1+j7]=A9[V1+H7]=A9[V1+B7]=A9[V1+G7]="0",A9[q9]=V9[q9],A9[q9+j7]=V9[q9+j7],A9[q9+H7]=V9[q9+H7],A9[q9+B7]=V9[q9+B7],A9[q9+G7]=V9[q9+G7],c9=Kj(y0,A9,L),g9&&z0(0);if(Z)e5=Z._initted,tQ(1),Z.render(Z.duration(),!0,!0),e9=L0(w.a)-p9+T0+I0,X1=Math.abs(T0-e9)>1,m&&X1&&c9.splice(c9.length-2,2),Z.render(0,!0,!0),e5||Z.invalidate(!0),Z.parent||Z.totalTime(Z.totalTime()),tQ(0);else e9=T0;w1&&(w1.value?w1.style["overflow"+w.a.toUpperCase()]=w1.value:w1.style.removeProperty("overflow-"+w.a))}else if(U&&z0()&&!A){C9=U.parentNode;while(C9&&C9!==b0){if(C9._pinOffset)U0-=C9._pinOffset,X0-=C9._pinOffset;C9=C9.parentNode}}if(b8&&b8.forEach(function(ZJ){return ZJ.revert(!1,!0)}),M.start=U0,M.end=X0,w0=m0=g9?l9:z0(),!A&&!g9)w00?Y0.slice(0,p).reverse():Y0.slice(p+1);return(H1(x)?f.filter(function(s){return s.vars.preventOverlaps===x}):f).filter(function(s){return M.direction>0?s.end<=U0:s.start>=X0})},M.update=function(x,p,f){if(A&&!f&&!x)return;var s=g9===!0?l9:M.scroll(),K0=x?0:(s-U0)/T0,t=K0<0?0:K0>1?1:K0||0,B0=M.progress,k0,E0,I0,D0,h0,j0,N9,c0;if(p){if(m0=w0,w0=A?z0():s,I)J1=S1,S1=Z&&!d?Z.totalProgress():t}if(N&&j&&!x9&&!j$&&I1){if(!t&&U0s+(s-m0)/(b9()-J7)*N)t=0.9999}if(t!==B0&&M.enabled){if(k0=M.isActive=!!t&&t<1,E0=!!B0&&B0<1,j0=k0!==E0,h0=j0||!!t!==!!B0,M.direction=t>B0?1:-1,M.progress=t,h0&&!x9){if(I0=t&&!B0?0:t===1?1:B0===1?2:3,d)D0=!j0&&T[I0+1]!=="none"&&T[I0+1]||T[I0],c0=Z&&(D0==="complete"||D0==="reset"||(D0 in Z))}if(b&&(j0||c0)&&(c0||F||!Z)&&(w9(b)?b(M):M.getTrailing(b).forEach(function(AJ){return AJ.endAnimation()})),!d){if(G0&&!x9&&!j$)if(G0._dp._time-G0._start!==G0._time&&G0.render(G0._dp._time-G0._start),G0.resetTo)G0.resetTo("totalProgress",t,Z._tTime/Z._tDur);else G0.vars.totalProgress=t,G0.invalidate().restart();else if(Z)Z.totalProgress(t,!!(x9&&(e||x)))}if(j){if(x&&Y&&(g0.style[Y+w.os2]=CJ),!m)a0(Q7(p9+e9*t));else if(h0){if(N9=!x&&t>B0&&X0+1>s&&s+1>=v1(y,w),L)if(!x&&(k0||N9)){var M9=a1(j,!0),V9=s-U0;f6(j,b0,M9.top+(w===K9?V9:0)+B9,M9.left+(w===K9?0:V9)+B9)}else f6(j,g0);V8(k0||N9?c9:T9),X1&&t<1&&k0||a0(p9+(t===1&&!N9?e9:0))}}if(I&&!H0.tween&&!x9&&!j$&&O9.restart(!0),H&&(j0||R&&t&&(t<1||!eQ))&&U7(H.targets).forEach(function(AJ){return AJ.classList[k0||R?"add":"remove"](H.className)}),W&&!d&&!x&&W(M),h0&&!x9){if(d){if(c0)if(D0==="complete")Z.pause().totalProgress(1);else if(D0==="reset")Z.restart(!0).pause();else if(D0==="restart")Z.restart(!0);else Z[D0]();W&&W(M)}if(j0||!eQ){if(B&&j0&&U8(M,B),g[I0]&&U8(M,g[I0]),R&&(t===1?M.kill(!1,1):g[I0]=0),!j0)I0=t===1?1:3,g[I0]&&U8(M,g[I0])}if(E&&!k0&&Math.abs(M.getVelocity())>(Z7(E)?E:2500))e8(M.callbackAnimation),G0?G0.progress(1):e8(Z,D0==="reverse"?1:!t,1)}else if(d&&W&&!x9)W(M)}if(O1){var C9=A?s/A.duration()*(A._caScrollDist||0):s;QJ(C9+(P._isFlipped?1:0)),O1(C9)}J0&&J0(-s/A.duration()*(A._caScrollDist||0))},M.enable=function(x,p){if(!M.enabled){if(M.enabled=!0,F9(y,"resize",K7),o||F9(y,"scroll",F8),l&&F9(K,"refreshInit",l),x!==!1)M.progress=$0=0,w0=m0=h=z0();p!==!1&&M.refresh()}},M.getTween=function(x){return x&&H0?H0.tween:G0},M.setPositions=function(x,p,f,s){if(A){var K0=A.scrollTrigger,t=A.duration(),B0=K0.end-K0.start;x=K0.start+B0*x/t,p=K0.start+B0*p/t}M.refresh(!1,!1,{start:E6(x,f&&!!M._startClamp),end:E6(p,f&&!!M._endClamp)},s),M.update()},M.adjustPinSpacing=function(x){if(r0&&x){var p=r0.indexOf(w.d)+1;r0[p]=parseFloat(r0[p])+x+B9,r0[1]=parseFloat(r0[1])+x+B9,V8(r0)}},M.disable=function(x,p){if(x!==!1&&M.revert(!0,!0),M.enabled){if(M.enabled=M.isActive=!1,p||G0&&G0.pause(),l9=0,d0&&(d0.uncache=1),l&&X9(K,"refreshInit",l),O9)O9.pause(),H0.tween&&H0.tween.kill()&&(H0.tween=0);if(!o){var f=Y0.length;while(f--)if(Y0[f].scroller===y&&Y0[f]!==M)return;X9(y,"resize",K7),o||X9(y,"scroll",F8)}}},M.kill=function(x,p){M.disable(x,p),G0&&!p&&G0.kill(),G&&delete GZ[G];var f=Y0.indexOf(M);if(f>=0&&Y0.splice(f,1),f===m9&&I$>0&&m9--,f=0,Y0.forEach(function(s){return s.scroller===M.scroller&&(f=1)}),f||g9||(M.scroll.rec=0),Z)Z.scrollTrigger=null,x&&Z.revert({kill:!1}),p||Z.kill();if(Q0&&[Q0,H9,P,x0].forEach(function(s){return s.parentNode&&s.parentNode.removeChild(s)}),z7===M&&(z7=0),j)d0&&(d0.uncache=1),f=0,Y0.forEach(function(s){return s.pin===j&&f++}),f||(d0.spacer=0);Q.onKill&&Q.onKill(M)},Y0.push(M),M.enable(!1,!1),D&&D(M),Z&&Z.add&&!T0){var v=M.update;M.update=function(){M.update=v,F0.cache++,U0||X0||M.refresh()},r.delayedCall(0.01,M.update),T0=0.01,U0=X0=0}else M.refresh();j&&$j()},K.register=function(Q){if(!Y8)r=Q||o6(),l6()&&window.document&&K.enable(),Y8=$7;return Y8},K.defaults=function(Q){if(Q)for(var Z in Q)X$[Z]=Q[Z];return X$},K.disable=function(Q,Z){$7=0,Y0.forEach(function(W){return W[Z?"kill":"disable"](Q)}),X9(M0,"wheel",F8),X9(f0,"scroll",F8),clearInterval(G$),X9(f0,"touchcancel",_1),X9(b0,"touchstart",_1),z$(X9,f0,"pointerdown,touchstart,mousedown",P6),z$(X9,f0,"pointerup,touchend,mouseup",S6),O$.kill(),B$(X9);for(var q=0;q0&&W.left+H0&&W.top+H=0&&W1.splice($,5),W1.push(J,J.style.cssText,J.getBBox&&J.getAttribute("transform"),r.core.getCache(J),WZ())}}):W1};q0.revert=function(K,J){return VZ(!K,J)};q0.create=function(K,J){return new q0(K,J)};q0.refresh=function(K){return K?K7(!0):(Y8||q0.register())&&vJ(!0)};q0.update=function(K){return++F0.cache&&r1(K===!0?2:0)};q0.clearScrollMemory=$q;q0.maxScroll=function(K,J){return v1(K,J?S9:K9)};q0.getScrollFunc=function(K,J){return i1(v9(K),J?S9:K9)};q0.getById=function(K){return GZ[K]};q0.getAll=function(){return Y0.filter(function(K){return K.vars.id!=="ScrollSmoother"})};q0.isScrolling=function(){return!!I1};q0.snapDirectional=MZ;q0.addEventListener=function(K,J){var $=cJ[K]||(cJ[K]=[]);~$.indexOf(J)||$.push(J)};q0.removeEventListener=function(K,J){var $=cJ[K],Q=$&&$.indexOf(J);Q>=0&&$.splice(Q,1)};q0.batch=function(K,J){var $=[],Q={},Z=J.interval||0.016,q=J.batchMax||1e9,W=function(B,z){var F=[],U=[],j=r.delayedCall(Z,function(){z(F,U),F=[],U=[]}).pause();return function(Y){F.length||j.restart(!0),F.push(Y.trigger),U.push(Y),q<=F.length&&j.progress(1)}},H;for(H in J)Q[H]=H.substr(0,2)==="on"&&w9(J[H])&&H!=="onRefreshInit"?W(H,J[H]):J[H];if(w9(q))q=q(),F9(q0,"refresh",function(){return q=J.batchMax()});return U7(K).forEach(function(G){var B={};for(H in Q)B[H]=Q[H];B.trigger=G,$.push(q0.create(B))}),$};var v6=function(J,$,Q,Z){return $>Z?J(Z):$<0&&J(0),Q>Z?(Z-$)/(Q-$):Q<0?$/($-Q):1},ZZ=function K(J,$){if($===!0)J.style.removeProperty("touch-action");else J.style.touchAction=$===!0?"auto":$?"pan-"+$+(J9.isTouch?" pinch-zoom":""):"none";J===G1&&K(b0,$)},M$={auto:1,scroll:1},Wj=function(J){var{event:$,target:Q,axis:Z}=J,q=($.changedTouches?$.changedTouches[0]:$).target,W=q._gsap||r.core.getCache(q),H=b9(),G;if(!W._isScrollT||H-W._isScrollT>2000){while(q&&q!==b0&&(q.scrollHeight<=q.clientHeight&&q.scrollWidth<=q.clientWidth||!(M$[(G=L1(q)).overflowY]||M$[G.overflowX])))q=q.parentNode;W._isScroll=q&&q!==Q&&!dJ(q)&&(M$[(G=L1(q)).overflowY]||M$[G.overflowX]),W._isScrollT=H}if(W._isScroll||Z==="x")$.stopPropagation(),$._gsapAllow=!0},Kq=function(J,$,Q,Z){return J9.create({target:J,capture:!0,debounce:!1,lockAxis:!0,type:$,onWheel:Z=Z&&Wj,onPress:Z,onDrag:Z,onScroll:Z,onEnable:function(){return Q&&F9(f0,J9.eventTypes[0],m6,!1,!0)},onDisable:function(){return X9(f0,J9.eventTypes[0],m6,!0)}})},Hj=/(input|label|select|textarea)/i,u6,m6=function(J){var $=Hj.test(J.target.tagName);if($||u6)J._gsapAllow=!0,u6=$},Gj=function(J){_J(J)||(J={}),J.preventDefault=J.isNormalizer=J.allowClicks=!0,J.type||(J.type="wheel,touch"),J.debounce=!!J.debounce,J.id=J.id||"normalizer";var $=J,Q=$.normalizeScrollX,Z=$.momentum,q=$.allowNestedScroll,W=$.onRelease,H,G,B=v9(J.target)||G1,z=r.core.globals().ScrollSmoother,F=z&&z.get(),U=NJ&&(J.content&&v9(J.content)||F&&J.content!==!1&&!F.smooth()&&F.content()),j=i1(B,K9),Y=i1(B,S9),X=1,N=(J9.isTouch&&M0.visualViewport?M0.visualViewport.scale*M0.visualViewport.width:M0.outerWidth)/M0.innerWidth,V=0,O=w9(Z)?function(){return Z(H)}:function(){return Z||2.8},R,I,L=Kq(B,J.type,!0,q),k=function(){return I=!1},A=_1,E=_1,b=function(){G=v1(B,K9),E=q7(NJ?1:0,G),Q&&(A=q7(0,v1(B,S9))),R=gJ},w=function(){U._gsap.y=Q7(parseFloat(U._gsap.y)+j.offset)+"px",U.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(U._gsap.y)+", 0, 1)",j.offset=j.cacheID=0},d=function(){if(I){requestAnimationFrame(k);var a=Q7(H.deltaY/2),i=E(j.v-a);if(U&&i!==j.v+j.offset){j.offset=i-j.v;var M=Q7((parseFloat(U&&U._gsap.y)||0)-j.offset);U.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+M+", 0, 1)",U._gsap.y=M+"px",j.cacheID=F0.cache,r1()}return!0}j.offset&&w(),I=!0},y,u,o,m,g=function(){if(b(),y.isActive()&&y.vars.scrollY>G)j()>G?y.progress(1)&&j(G):y.resetTo("scrollY",G)};return U&&r.set(U,{y:"+=0"}),J.ignoreCheck=function(T){return NJ&&T.type==="touchmove"&&d(T)||X>1.05&&T.type!=="touchstart"||H.isGesturing||T.touches&&T.touches.length>1},J.onPress=function(){I=!1;var T=X;X=Q7((M0.visualViewport&&M0.visualViewport.scale||1)/N),y.pause(),T!==X&&ZZ(B,X>1.01?!0:Q?!1:"x"),u=Y(),o=j(),b(),R=gJ},J.onRelease=J.onGestureStart=function(T,a){if(j.offset&&w(),!a)m.restart(!0);else{F0.cache++;var i=O(),M,l;if(Q)M=Y(),l=M+i*0.05*-T.velocityX/0.227,i*=v6(Y,M,l,v1(B,S9)),y.vars.scrollX=A(l);if(M=j(),l=M+i*0.05*-T.velocityY/0.227,i*=v6(j,M,l,v1(B,K9)),y.vars.scrollY=E(l),y.invalidate().duration(i).play(0.01),NJ&&y.vars.scrollY>=G||M>=G-1)r.to({},{onUpdate:g,duration:i})}W&&W(T)},J.onWheel=function(){if(y._ts&&y.pause(),b9()-V>1000)R=0,V=b9()},J.onChange=function(T,a,i,M,l){if(gJ!==R&&b(),a&&Q&&Y(A(M[2]===a?u+(T.startX-T.x):Y()+a-M[1])),i){j.offset&&w();var n=l[2]===i,W0=n?o+T.startY-T.y:j()+i-l[1],h=E(W0);n&&W0!==h&&(o+=h-W0),j(h)}(i||a)&&r1()},J.onEnable=function(){if(ZZ(B,Q?!1:"x"),q0.addEventListener("refresh",g),F9(M0,"resize",g),j.smooth)j.target.style.scrollBehavior="auto",j.smooth=Y.smooth=!1;L.enable()},J.onDisable=function(){ZZ(B,!0),X9(M0,"resize",g),q0.removeEventListener("refresh",g),L.kill()},J.lockAxis=J.lockAxis!==!1,H=new J9(J),H.iOS=NJ,NJ&&!j()&&j(1),NJ&&r.ticker.add(_1),m=H._dc,y=r.to(H,{ease:"power4",paused:!0,inherit:!1,scrollX:Q?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Zq(j,j(),function(){return y.pause()})},onUpdate:r1,onComplete:m.vars.onComplete}),H};q0.sort=function(K){if(w9(K))return Y0.sort(K);var J=M0.pageYOffset||0;return q0.getAll().forEach(function($){return $._sortY=$.trigger?J+$.trigger.getBoundingClientRect().top:$.start+M0.innerHeight}),Y0.sort(K||function($,Q){return($.vars.refreshPriority||0)*-1e6+($.vars.containerAnimation?1e6:$._sortY)-((Q.vars.containerAnimation?1e6:Q._sortY)+(Q.vars.refreshPriority||0)*-1e6)})};q0.observe=function(K){return new J9(K)};q0.normalizeScroll=function(K){if(typeof K>"u")return u9;if(K===!0&&u9)return u9.enable();if(K===!1){u9&&u9.kill(),u9=K;return}var J=K instanceof J9?K:Gj(K);return u9&&u9.target===J.target&&u9.kill(),dJ(J.target)&&(u9=J),J};q0.core={_getVelocityProp:H$,_inputObserver:Kq,_scrollers:F0,_proxies:A1,bridge:{ss:function(){I1||pJ("scrollStart"),I1=b9()},ref:function(){return x9}}};o6()&&r.registerPlugin(q0);/*! * SplitText 3.15.0 * https://gsap.com * * @license Copyright 2026, GreenSock. All rights reserved. Subject to the terms at https://gsap.com/standard-license. * @author: Jack Doyle */var F7,Y7,qq=typeof Symbol==="function"?Symbol():"_split",IZ,jj=()=>IZ||P$.register(window.gsap),Wq=typeof Intl<"u"&&"Segmenter"in Intl?new Intl.Segmenter:0,N7=(K)=>!K?[]:typeof K==="string"?N7(document.querySelectorAll(K)):("length"in K)?Array.from(K).reduce((J,$)=>{return typeof $==="string"?J.push(...N7($)):J.push($),J},[]):[K],Hq=(K)=>N7(K).filter((J)=>J&&J.nodeType===1),RZ=[],LZ=function(){},Bj={add:(K)=>K()},zj=/\s+/g,Gq=new RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.","gu"),E$={left:0,top:0,width:0,height:0},Uj=(K,J)=>{while(++J{K.innerHTML=J,$?K.setAttribute("aria-label",$):K.removeAttribute("aria-label"),Q?K.setAttribute("aria-hidden",Q):K.removeAttribute("aria-hidden")},Bq=(K,J)=>{if(J){let $=new Set(K.join("").match(J)||RZ),Q=K.length,Z,q,W,H;if($.size)while(--Q>-1){q=K[Q];for(W of $)if(W.startsWith(q)&&W.length>q.length){Z=0,H=q;while(W.startsWith(H+=K[Q+ ++Z])&&H.lengthwindow.getComputedStyle(K).display==="inline"&&(K.style.display="inline-block"),I8=(K,J,$)=>J.insertBefore(typeof K==="string"?document.createTextNode(K):K,$),DZ=(K,J,$)=>{let Q=J[K+"sClass"]||"",{tag:Z="div",aria:q="auto",propIndex:W=!1}=J,H=K==="line"?"block":"inline-block",G=Q.indexOf("++")>-1,B=(z)=>{let F=document.createElement(Z),U=$.length+1;if(Q&&(F.className=Q+(G?" "+Q+U:"")),W&&F.style.setProperty("--"+K,U+""),q!=="none"&&F.setAttribute("aria-hidden","true"),Z!=="span")F.style.position="relative",F.style.display=H;return F.textContent=z,$.push(F),F};return G&&(Q=Q.replace("++","")),B.collection=$,B},Xj=(K,J,$,Q)=>{let Z=DZ("line",$,Q),q=window.getComputedStyle(K).textAlign||"left";return(W,H)=>{let G=Z("");G.style.textAlign=q,K.insertBefore(G,J[W]);for(;W{var z;let F=Array.from(K.childNodes),U=0,{wordDelimiter:j,reduceWhiteSpace:Y=!0,prepareText:X}=J,N=K.getBoundingClientRect(),V=N,O=!Y&&window.getComputedStyle(K).whiteSpace.substring(0,3)==="pre",R=0,I=$.collection,L,k,A,E,b,w,d,y,u,o,m,g,T,a,i,M,l,n;if(typeof j==="object")A=j.delimiter||j,k=j.replaceWith||"";else k=j===""?"":j||" ";L=k!==" ";for(;U-1)w=I[I.length-1],w.appendChild(document.createTextNode(Q?"":M));else w=$(Q?"":M),I8(w,K,E),R&&u===1&&!d&&w.insertBefore(R,w.firstChild);if(Q){m=Wq?Bq([...Wq.segment(M)].map((W0)=>W0.segment),G):M.match(H)||RZ;for(n=0;nV.top&&o.left<=V.left){g=K.cloneNode(),T=K.childNodes[0];while(T&&T!==w)a=T,T=T.nextSibling,g.appendChild(a);K.parentNode.insertBefore(g,K),Z&&zq(g)}V=o}if(u=b.length?" ":L&&M.slice(-1)===" "?" "+k:k,K,E)}}K.removeChild(E),R=0}else if(E.nodeType===1){if(W&&W.indexOf(E)>-1)I.indexOf(E.previousSibling)>-1&&I[I.length-1].appendChild(E),R=E;else Uq(E,J,$,Q,Z,q,W,H,G,!0),R=0;Z&&zq(E)}},Xq=class K{constructor(J,$){this.isSplit=!1,jj(),this.elements=Hq(J),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=$,this.elements.forEach((W)=>{var H;$.overwrite!==!1&&((H=W[qq])==null||H._data.orig.filter(({element:G})=>G===W).forEach(jq)),W[qq]=this}),this._split=()=>this.isSplit&&this.split(this.vars);let Q=[],Z,q=()=>{let W=Q.length,H;while(W--){H=Q[W];let G=H.element.offsetWidth;if(G!==H.width){H.width=G,this._split();return}}};this._data={orig:Q,obs:typeof ResizeObserver<"u"&&new ResizeObserver(()=>{clearTimeout(Z),Z=setTimeout(q,200)})},LZ(this),this.split($)}split(J){return(this._ctx||Bj).add(()=>{this.isSplit&&this.revert(),this.vars=J=J||this.vars||{};let{type:$="chars,words,lines",aria:Q="auto",deepSlice:Z=!0,smartWrap:q,onSplit:W,autoSplit:H=!1,specialChars:G,mask:B}=this.vars,z=$.indexOf("lines")>-1,F=$.indexOf("chars")>-1,U=$.indexOf("words")>-1,j=F&&!U&&!z,Y=G&&("push"in G?new RegExp("(?:"+G.join("|")+")","gu"):G),X=Y?new RegExp(Y.source+"|"+Gq.source,"gu"):Gq,N=!!J.ignore&&Hq(J.ignore),{orig:V,animTime:O,obs:R}=this._data,I;if(F||U||z)this.elements.forEach((L,k)=>{V[k]={element:L,html:L.innerHTML,ariaL:L.getAttribute("aria-label"),ariaH:L.getAttribute("aria-hidden")},Q==="auto"?L.setAttribute("aria-label",(L.textContent||"").trim()):Q==="hidden"&&L.setAttribute("aria-hidden","true");let A=[],E=[],b=[],w=F?DZ("char",J,A):null,d=DZ("word",J,E),y,u,o,m;if(Uq(L,J,d,w,j,Z&&(z||j),N,X,Y,!1),z){let g=N7(L.childNodes),T=Xj(L,g,J,b),a,i=[],M=0,l=g.map((h)=>h.nodeType===1?h.getBoundingClientRect():E$),n=E$,W0;for(y=0;yn.top&&W0.left{var e;return(e=h.parentNode)==null?void 0:e.removeChild(h)})}if(!U){for(y=0;y{let k=L.cloneNode();return L.replaceWith(k),k.appendChild(L),L.className&&(k.className=L.className.trim().split(" ").map((A)=>A+"-mask").join(" ")),k.style.overflow="clip",k}));if(this.isSplit=!0,Y7&&z&&H&&Y7.addEventListener("loadingdone",this._split),(I=W&&W(this))&&I.totalTime)this._data.anim=O?I.totalTime(O):I;z&&H&&this.elements.forEach((L,k)=>{V[k].width=L.offsetWidth,R&&R.observe(L)})}),this}kill(){let{obs:J}=this._data;J&&J.disconnect(),Y7==null||Y7.removeEventListener("loadingdone",this._split)}revert(){var J,$;if(this.isSplit){let{orig:Q,anim:Z}=this._data;if(this.kill(),Q.forEach(jq),this.chars.length=this.words.length=this.lines.length=Q.length=this.masks.length=0,this.isSplit=!1,Z)this._data.animTime=Z.totalTime(),Z.revert();($=(J=this.vars).onRevert)==null||$.call(J,this)}return this}static create(J,$){return new K(J,$)}static register(J){if(F7=F7||J||window.gsap,F7)N7=F7.utils.toArray,LZ=F7.core.context||LZ;if(!IZ&&window.innerWidth>0)Y7=document.fonts,IZ=!0}};Xq.version="3.15.0";var P$=Xq;var Fq=()=>{return window.matchMedia("(prefers-reduced-motion: reduce)").matches},u1=()=>{return window.matchMedia("(max-width: 1024px)").matches};n8.registerPlugin(q0);var Fj={ease:"expo.out",duration:1.2};n8.defaults(Fj);var l0=Fq(),c=n8;function Yq(K=null){let J=()=>{let q=document.body.firstElementChild;return q instanceof HTMLElement&&q.classList.contains("w-editor-publish-node")},$=J(),Q=$;if(new MutationObserver((q)=>{q.forEach((W)=>{if(W.type==="childList"){let H=J();if(H!==$){if(console.log("Editor state changed to:",H),K)K(H);$=H}}})}).observe(document.body,{childList:!0,subtree:!1}),K)K(Q);return Q}var Yj={infinite:!1,lerp:0.1,smoothWheel:!0,touchMultiplier:2},Nj=200;class Nq extends jK{#J=c.ticker.add((K)=>this.raf(K*1000));#Q=null;#$=null;#Z=document.body.offsetHeight;constructor(){super(Yj);this.on("scroll",this.#W.bind(this)),this.on("scroll",q0.update),this.#Q=new ResizeObserver(this.#q.bind(this)),this.#Q.observe(document.body)}#q(){if(this.#$)clearTimeout(this.#$);this.#$=setTimeout(()=>{let K=document.body.offsetHeight;if(K!==this.#Z)this.#Z=K,this.resize(),q0.refresh();this.#$=null},Nj)}#W(K){this.notify(K)}destroy(){if(this.#Q?.disconnect(),this.#Q=null,this.#$)clearTimeout(this.#$),this.#$=null;super.destroy()}toTop(){this.scrollTo(0,{immediate:!0})}#K=[];add(K,J=0,$=Symbol()){let Q=this.#K.findIndex((Z)=>Z.priority>J);if(Q===-1)this.#K.push({fn:K,priority:J,id:$});else this.#K.splice(Q,0,{fn:K,priority:J,id:$});return()=>this.remove($)}remove(K){this.#K=this.#K.filter((J)=>J.id!==K)}notify(K){if(this.#K.length<1)return;this.#K.forEach((J)=>J.fn(K))}}var R0=new Nq;Yq((K)=>{if(K)R0.destroy();else R0.start()});var Mj=/\{\[data-attribute="?init-tooltip"?\]\[tooltip-content="([\s\S]*?)"\]\}/g;function Vj(K){let J=document.createElement("textarea");return J.innerHTML=K,J.value}var Lj='',Ij='';function Rj(K){return`${Lj}${Ij}${K}`}function Dj(){return Array.from(document.body.querySelectorAll("*")).filter((J)=>J.innerHTML.includes("init-tooltip")).filter((J)=>!Array.from(J.children).some(($)=>$.innerHTML.includes("init-tooltip")))}function Mq(){if(!document.body.innerHTML.includes("init-tooltip"))return;Dj().forEach((K)=>{K.innerHTML=K.innerHTML.replace(Mj,(J,$)=>Rj(Vj($)))})}function Oj(){if(typeof document>"u")return"";let K=document.currentScript;if(!(K instanceof HTMLScriptElement)||!K.src)return"";try{let{origin:J,protocol:$,hostname:Q}=new URL(K.src);return $==="https:"&&Q.endsWith("-moloco.ob-ops.workers.dev")?J:""}catch{return""}}var Cj=Oj(),OZ=Cj||"https://moloco.itsoffbrand.dev";function Aj(K,J){let $=J.startsWith("/")?J:`/${J}`,Q=K.replace(/\/$/,"");if(!Q)return $;return`${Q}${$}`}function MJ(K){return Aj(OZ,K)}class CZ{#J=[];add(K,J=0,$=Symbol()){let Q=this.#J.findIndex((Z)=>Z.priority>J);if(Q===-1)this.#J.push({fn:K,priority:J,id:$});else this.#J.splice(Q,0,{fn:K,priority:J,id:$});return()=>this.remove($)}remove(K){this.#J=this.#J.filter((J)=>J.id!==K)}notify(K){if(this.#J.length<1)return;this.#J.forEach((J)=>J.fn(K))}}class Vq extends CZ{constructor(){super();c.ticker.add(this.update.bind(this))}update(K,J){this.notify({deltaTime:K,time:J*0.01})}}class Lq extends CZ{width=window.innerWidth;height=window.innerHeight;timeoutId=null;debounceDelay=100;constructor(){super();window.addEventListener("resize",this.update.bind(this))}update(){if(this.timeoutId)window.clearTimeout(this.timeoutId);this.timeoutId=window.setTimeout(()=>{let{innerWidth:K,innerHeight:J}=window;if(K!==this.width||J!==this.height)this.width=K,this.height=J,this.notify({width:this.width,height:this.height});this.timeoutId=null},this.debounceDelay)}}var kj=new Vq,V0=new Lq;var Ej=[],AZ=[];function t9(K){AZ.push(K)}function Z0(K){Ej.push(K)}function EZ(){AZ.forEach((K)=>K()),AZ.length=0}var Iq=[],kZ=[];function Rq(K,{element:J}={}){if(J)Iq.push(async()=>{let $=J.getBoundingClientRect();return $.top0?await K():Promise.resolve()});else Iq.push(K)}function Dq(K){kZ.push(K)}async function Oq(){await Promise.allSettled(kZ.map((K)=>K())),kZ.length=0}function S$(K,{root:J,rootMargin:$,threshold:Q,autoStart:Z,once:q,callback:W}){let H=new M7(K,{root:J,rootMargin:$,threshold:Q,autoStart:Z,once:q,callback:W});return Z0(()=>{H.destroy()}),H}var xZ={};P0(xZ,{default:()=>Sq});var Pj=MJ("charts/newlaunches/data/"),Aq=["ja","en","zh"];function kq(){let K=window.location.hostname==="localhost"||window.location.hostname==="127.0.0.1",J=window.location.hostname.endsWith(".webflow.io");if(K||J){let Q=new URLSearchParams(window.location.search).get("testLocale");if(Aq.includes(Q))return Q}if(K)return"en";let $=window.location.pathname;for(let Q of Aq)if($.includes(`/${Q}/`))return Q;return"en"}function Eq(K){return`${Pj}${K}.json`}var PZ=MJ("charts/newlaunches/bundle.js"),SZ=null;function Sj(){return SZ??=new Promise((K,J)=>{if(window.NewLaunchesCharts)return K(window.NewLaunchesCharts);let $=document.createElement("script");$.src=PZ,$.async=!0,$.onload=()=>window.NewLaunchesCharts?K(window.NewLaunchesCharts):J(Error(`${PZ} did not register the charts`)),$.onerror=()=>{SZ=null,J(Error(`Failed to load ${PZ}`))},document.head.appendChild($)}),SZ}function xj(K){return fetch(Eq(K)).then((J)=>J.ok?J.json():Promise.reject(Error(`${J.status} ${J.url}`)))}var Pq=(K)=>("requestIdleCallback"in window)?requestIdleCallback(K,{timeout:200}):setTimeout(K,16);function bj(K){let J=K.getBoundingClientRect();if(J.bottom<0)return-J.bottom;if(J.top>V0.height)return J.top-V0.height;return 0}function Sq(K,J){let $=kq(),Q=null,Z=!1;Promise.all([Sj(),xj($)]).then(([q,W])=>{if(Z)return;Q=q.createCharts({locale:$,data:W});let H=q.chartIds.map((B)=>{let z=document.getElementById(B);if(!z)console.warn(`charts-newlaunches: no #${B} on the page`);return z}).filter((B)=>!!B).map((B)=>({id:B.id,distance:bj(B)})).sort((B,z)=>B.distance-z.distance),G=()=>{if(Z||!H.length)return;Q.mount(H.shift().id),Pq(G)};while(H.length&&H[0].distance===0)Q.mount(H.shift().id);Pq(G)}).catch((q)=>console.error("charts-newlaunches:",q)),Z0(V0.add(()=>Q?.relayout())),Z0(()=>{Z=!0,Q?.destroy()})}var TZ={};P0(TZ,{default:()=>xq});var bZ=MJ("charts/rmg/bundle.js"),wZ=null;function wj(){return wZ??=new Promise((K,J)=>{if(window.RmgCharts)return K(window.RmgCharts);let $=document.createElement("script");$.src=bZ,$.async=!0,$.onload=()=>window.RmgCharts?K(window.RmgCharts):J(Error(`${bZ} did not register the charts`)),$.onerror=()=>{wZ=null,J(Error(`Failed to load ${bZ}`))},document.head.appendChild($)}),wZ}function xq(K,J){let $=null,Q=!1;wj().then((Z)=>{if(!Q)$=Z.createCharts()}).catch((Z)=>console.error("charts-rmg:",Z)),Z0(V0.add(()=>$?.relayout())),Z0(()=>{Q=!0,$?.destroy()})}var fZ={};P0(fZ,{default:()=>Tq});var Tj='[data-attribute="ctv-trigger"]',yj='[data-attribute="ctv-content"]',hj=".ctv-icon",fj=991,yZ=0.4,hZ="power2.inOut",bq=180,wq=()=>window.matchMedia(`(min-width: ${fj}px)`).matches;function Tq(K,J){let $=K.querySelector(Tj),Q=K.querySelector(yj),Z=K.querySelector(hj);if(!$||!Q)return;let q=Q.classList.contains("is-active"),W=null,H=null,G=!1,B=(R)=>{if(!Z)return;H?.kill(),H=c.to(Z,{rotate:R?bq:0,duration:l0?0:yZ,ease:hZ})},z=()=>{if(q)return;q=!0,K.classList.add("is-active"),$.classList.add("is-active"),Q.classList.add("is-active"),B(!0),W?.kill(),W=c.to(Q,{height:"auto",duration:l0?0:yZ,ease:hZ})},F=()=>{if(!q)return;q=!1,K.classList.remove("is-active"),$.classList.remove("is-active"),Q.classList.remove("is-active"),B(!1),W?.kill(),W=c.to(Q,{height:0,duration:l0?0:yZ,ease:hZ})},U=()=>{q?F():z()},j=()=>{if(G)return;if(G=!0,c.set(Q,{height:q?"auto":0,overflow:"hidden"}),Z)c.set(Z,{rotate:q?bq:0});$.addEventListener("click",U)},Y=()=>{if(!G)return;if(G=!1,W?.kill(),H?.kill(),$.removeEventListener("click",U),c.set(Q,{clearProps:"height,overflow"}),Z)c.set(Z,{clearProps:"rotate"})},X=!wq(),N=()=>{X?j():Y()};N();let V=()=>{let R=!wq();if(R===X)return;X=R,N()},O=V0.add(V);Z0(()=>{O(),W?.kill(),H?.kill(),$.removeEventListener("click",U)})}var _Z={};P0(_Z,{default:()=>yq});var _j=".bento-grid",vj=".bento-load-more",uj=17,mj=10;function yq(K,J){let $=K.querySelector(_j),Q=K.querySelector(vj);if(!$||!Q)return;let Z=Array.from($.children),q=Q.querySelector("button, a")??Q,W=Number(J.initial)||uj,H=Number(J.step)||mj,G=0,B=()=>{let j=Z[G-1];if(!j)return!0;let Y=getComputedStyle($),X=$.getBoundingClientRect().right-parseFloat(Y.borderRightWidth)-parseFloat(Y.paddingRight);return j.getBoundingClientRect().right>=X-1},z=(j)=>{G=Math.min(j,Z.length),Z.forEach((Y,X)=>{Y.style.display=X{j.preventDefault(),z(G+H)};z(W),q.addEventListener("click",F);let U=V0.add(()=>z(G));Z0(()=>{q.removeEventListener("click",F),U()})}var vZ={};P0(vZ,{default:()=>fq});class hq{events;constructor(){this.events={}}on(K,J){if(!this.events[K])this.events[K]=[];this.events[K].push(J)}once(K,J){let $=(Q)=>{J(Q),this.off(K,$)};this.on(K,$)}off(K,J){if(!this.events[K])return;this.events[K]=this.events[K].filter(($)=>$!==J)}emit(K,J){if(!this.events[K])return;this.events[K].forEach(($)=>$(J))}}class m1{static emitter=new hq;static state={};static createProxy(K){return new Proxy(K,{set:function(J,$,Q,Z){return m1.emitter.emit($.toString(),Q),Reflect.set(J,$,Q,Z)}})}static proxy=new Proxy(m1.state,{set:function(K,J,$,Q){if(typeof $==="object"&&$!==null)$=m1.createProxy($);return m1.emitter.emit(J.toString(),$),Reflect.set(K,J,$,Q)}});static on(K,J){this.emitter.on(K,J)}static once(K,J){this.emitter.once(K,J)}static off(K,J){this.emitter.off(K,J)}}var gj={get(K,J){if(typeof J==="string"&&J in m1)return m1[J].bind(m1);return K[J]},set(K,J,$,Q){return Reflect.set(m1.proxy,J,$,Q)}},x$=new Proxy(m1.proxy,gj);function fq(K,J){x$.on("SOMETHING",($)=>{console.log("something",$)}),Dq(async()=>{await c.to(K,{duration:0.2,backgroundColor:"green"})}),Rq(async()=>{await c.to(K,{duration:1,backgroundColor:"blue"}),await c.to(K,{duration:1,autoAlpha:0})},{element:K}),t9(()=>{}),Z0(()=>{})}var uZ={};P0(uZ,{default:()=>_q});var dj='[data-attribute="privacy-modal"]',cj='[data-attribute="modal-bg"]',pj='[data-attribute="modal-close"]',b$="is-open";function _q(K,J){let $=K.querySelector(cj),Q=K.querySelector(pj);K.setAttribute("data-lenis-prevent","");let Z=()=>{if(K.classList.contains(b$))return;K.classList.add(b$),document.body.style.overflow="hidden",R0.stop()},q=()=>{if(!K.classList.contains(b$))return;K.classList.remove(b$),document.body.style.overflow="",R0.start()},W=(G)=>{if(!G.target?.closest(dj))return;G.preventDefault(),Z()},H=(G)=>{if(G.key==="Escape")q()};document.addEventListener("click",W),document.addEventListener("keydown",H),$?.addEventListener("click",q),Q?.addEventListener("click",q),Z0(()=>{document.removeEventListener("click",W),document.removeEventListener("keydown",H),$?.removeEventListener("click",q),Q?.removeEventListener("click",q),q()})}var mZ={};P0(mZ,{default:()=>mq});var lj=".faq-item",oj='[data-attribute="faq-trigger"]',sj='[data-attribute="faq-content"]',ij='[data-attribute="open"]',nj='[data-attribute="close"]',vq=0.4,uq="power2.inOut";function aj(K){let J=K.querySelector(oj),$=K.querySelector(sj),Q=J?.querySelector(ij),Z=J?.querySelector(nj);if(!J||!$)return null;let q=$.classList.contains("is-active"),W=null;c.set($,{height:q?"auto":0,overflow:"hidden"});let H=(U)=>{if(Q)c.set(Q,{display:U?"none":""});if(Z)c.set(Z,{display:U?"":"none"})};H(q);let G=()=>{if(q)return;q=!0,K.classList.add("is-active"),J.classList.add("is-active"),$.classList.add("is-active"),W?.kill(),W=c.to($,{height:"auto",duration:l0?0:vq,ease:uq,onComplete:()=>H(!0)})},B=()=>{if(!q)return;q=!1,K.classList.remove("is-active"),J.classList.remove("is-active"),$.classList.remove("is-active"),W?.kill(),W=c.to($,{height:0,duration:l0?0:vq,ease:uq,onComplete:()=>H(!1)})},z=()=>{q?B():G()};return J.addEventListener("click",z),{destroy:()=>{W?.kill(),J.removeEventListener("click",z)}}}function mq(K,J){let Q=Array.from(K.querySelectorAll(lj)).map((Z)=>aj(Z)).filter((Z)=>Boolean(Z));Z0(()=>{Q.forEach(({destroy:Z})=>Z())})}var gZ={};P0(gZ,{default:()=>pq});var gq="[data-filter-open]",rj="[data-filter-open-icon]",tj=992,ej=479,JB=0.4,dq="power1.out",$B="var(--spacing--gap-40)",QB="var(--spacing--gap-36)",ZB=()=>window.matchMedia(`(max-width: ${tj-1}px)`).matches,cq=()=>window.matchMedia(`(max-width: ${ej}px)`).matches?QB:$B;function pq(K,J){let $=K.matches(gq)?K:K.querySelector(gq);if(!$)return;let Q=K.querySelector(rj),Z=!1,q=!1,W=null,H=(N)=>{let V=K.style.height;K.style.height=N;let O=K.offsetHeight;return K.style.height=V,O},G=(N,V)=>{W?.kill();let O=V&&!l0?JB:0,R=K.offsetHeight,I=H(N?"auto":cq());if(W=c.timeline(),W.fromTo(K,{height:R},{height:I,duration:O,ease:dq,onComplete:()=>{if(N)c.set(K,{height:"auto"})}},0),Q)W.fromTo(Q,{rotateZ:N?0:-180},{rotateZ:N?-180:0,duration:O,ease:dq},0)},B=()=>{if(Z)return;Z=!0,$.classList.add("is-active"),G(!0,!0)},z=(N)=>{if(!Z&&N)return;Z=!1,$.classList.remove("is-active"),G(!1,N)},F=()=>{Z?z(!0):B()},U=()=>{if(q){if(!Z)c.set(K,{height:cq()});return}q=!0,Z=!1,G(!1,!1),$.addEventListener("click",F)},j=()=>{if(!q)return;if(q=!1,Z=!1,W?.kill(),$.removeEventListener("click",F),$.classList.remove("is-active"),c.set(K,{clearProps:"height"}),Q)c.set(Q,{clearProps:"transform"})},Y=()=>{ZB()?U():j()};Y();let X=V0.add(Y);Z0(()=>{if(X(),W?.kill(),$.removeEventListener("click",F),c.set(K,{clearProps:"height"}),Q)c.set(Q,{clearProps:"transform"})})}var dZ={};P0(dZ,{default:()=>lq});var w$=(K)=>{let J=K.closest(".w-dropdown")??K.querySelector(".w-dropdown"),$=J?.querySelector(":scope > .w-dropdown-toggle");if(!J||!$?.classList.contains("w--open"))return;requestAnimationFrame(()=>{if(!$.classList.contains("w--open"))return;$.click(),J.dispatchEvent(new CustomEvent("w-close"))})};var KB='[data-attribute="filter-trigger"]',qB='[data-attribute="filter-text"]',WB='[data-attribute="current-text"]',HB="fs-list-value",GB=(K)=>K.normalize("NFKD").replace(/[̀-ͯ]/g,"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"");function lq(K,J){let $=Array.from(K.querySelectorAll(KB)),Q=K.querySelector(WB);if(!$.length||!Q)return;let Z=J.filterUrl?.trim()||null,q=$.find((U)=>U.checked)??$[0],W=(U)=>U.parentElement?.querySelector(qB)?.textContent?.trim()??"",H=(U)=>GB(U.getAttribute(HB)??W(U)),G=(U)=>{Q.textContent=W(U)},B=(U)=>{if(!Z)return;let j=new URL(location.href);if(U===q)j.searchParams.delete(Z);else j.searchParams.set(Z,H(U));if(j.href!==location.href)history.replaceState(history.state,"",j)},z=()=>{if(!Z)return null;let U=new URL(location.href).searchParams.get(Z);if(!U)return null;return $.find((j)=>H(j)===U)??null},F=(U)=>{let j=U.currentTarget;G(j),B(j),w$(j)};$.forEach((U)=>U.addEventListener("click",F)),t9(()=>{let U=z();if(U&&!U.checked){U.click();return}let j=U??$.find((Y)=>Y.checked)??$[0];G(j),B(j)}),Z0(()=>{$.forEach((U)=>U.removeEventListener("click",F))})}var cZ={};P0(cZ,{default:()=>sq});function oq(){let K=window.Webflow||[];if(K.length>0)K.forEach((J)=>{J.destroy(),J.ready()});console.log(K)}function sq(K,J){console.log("form",K),t9(()=>{setTimeout(()=>{oq()},500)})}var pZ={};P0(pZ,{default:()=>iq});var jB="na1",V7=null,BB=0;function zB(K){return`https://${K==="eu1"?"js-eu1.hsforms.net":"js.hsforms.net"}/forms/embed/v2.js`}function UB(K){if(window.hbspt)return Promise.resolve();if(V7)return V7;return V7=new Promise((J,$)=>{let Q=document.createElement("script");Q.src=zB(K),Q.charset="utf-8",Q.onload=()=>J(),Q.onerror=()=>{Q.remove(),V7=null,$(Error(`hs-form: failed to load ${Q.src}`))},document.head.appendChild(Q)}),V7}function iq(K,J){let{portalId:$,formId:Q,sfdcCampaignId:Z,redirectUrl:q}=J,W=J.region||jB;if(!$||!Q){console.warn("hs-form: missing data-portal-id or data-form-id",K);return}if(!K.id)K.id=`hs-form-${Q}-${++BB}`;let H={portalId:$,formId:Q,region:W,target:`#${CSS.escape(K.id)}`};if(Z)H.sfdcCampaignId=Z;if(q)H.redirectUrl=q;UB(W).then(()=>{if(!K.isConnected)return;window.hbspt?.forms.create(H)}).catch((G)=>console.warn(G)),Z0(()=>{K.innerHTML=""})}var oZ={};P0(oZ,{default:()=>nq});var XB='[data-attribute="modal-trigger"]',FB='[data-attribute="modal-popup"]',YB='[data-attribute="modal-bg"]',NB='[data-attribute="modal-close"]',MB='[data-attribute="read-toggle"]',VB='[data-attribute="read-toggle-text"]',LB=".leadership-popup-content",IB=".rich-text",T$="is-active",RB="is-expanded",lZ=new Set,DB=()=>{document.body.style.overflow="hidden",R0.stop()},OB=()=>{document.body.style.overflow="",R0.start()};function nq(K,J){let $=K.querySelector(XB),Q=K.querySelector(FB),Z=K.querySelector(YB),q=K.querySelector(NB);if(!$||!Q)return;let W=()=>{if(Q.classList.contains(T$))return;Q.classList.add(T$),lZ.add(Q),DB()},H=()=>{if(!Q.classList.contains(T$))return;if(Q.classList.remove(T$),lZ.delete(Q),lZ.size===0)OB()},G=(F)=>{if(F.key==="Escape")H()},B=K.querySelectorAll(MB),z=(F)=>{let U=F.currentTarget,Y=(U.closest(LB)??Q).querySelector(IB),X=U.querySelector(VB);if(!Y)return;let N=Y.classList.toggle(RB);if(X)X.textContent=N?"Read Less":"Read More"};$.addEventListener("click",W),Z?.addEventListener("click",H),q?.addEventListener("click",H),document.addEventListener("keydown",G),B.forEach((F)=>F.addEventListener("click",z)),Z0(()=>{$.removeEventListener("click",W),Z?.removeEventListener("click",H),q?.removeEventListener("click",H),document.removeEventListener("keydown",G),B.forEach((F)=>F.removeEventListener("click",z)),H()})}var sZ={};P0(sZ,{default:()=>aq});var y$="data-attribute-load",CB=`[${y$}="list"]`,AB=`[${y$}]:not([${y$}="list"])`;function aq(K,J){let $=K.querySelector(CB),Q=K.querySelector(AB);if(!$||!Q)return;let Z=Number(Q.getAttribute(y$))||0,q=Array.from($.children);if(!Z||!q.length)return;let W=0,H=()=>{q.forEach((B,z)=>{c.set(B,{display:z{W=Math.min(W+Z,q.length),H()};W=Math.min(Z,q.length),H(),Q.addEventListener("click",G),Z0(()=>{Q.removeEventListener("click",G)})}var iZ={};P0(iZ,{default:()=>rq});var kB='[data-attribute="trigger"]',EB='[data-attribute="content"]';function rq(K,J){let $=K.querySelector(kB),Q=K.querySelector(EB);if(!$||!Q)return;let Z=!1,q=()=>{if(Z)return;Z=!0,Q.classList.add("is-active")},W=()=>{if(!Z)return;Z=!1,Q.classList.remove("is-active")},H=()=>{Z?W():q()},G=(B)=>{if(!Z)return;if(K.contains(B.target))return;W()};$.addEventListener("click",H),document.addEventListener("click",G),Z0(()=>{$.removeEventListener("click",H),document.removeEventListener("click",G),W()})}var nZ={};P0(nZ,{default:()=>tq});var PB=".logo-list",SB=4,xB=75;function tq(K,J){let $=K.querySelector(PB);if(!$||l0)return;let Q=Number(J.speed)||xB,Z=K.getAttribute("marquee-mode")==="ltr"?"ltr":"rtl",q=Array.from($.children);for(let j=1;j{let X=Y.cloneNode(!0);X.setAttribute("aria-hidden","true"),$.appendChild(X)});let W=null,H=!1,G=()=>{let j=W?.progress()??0;W?.kill();let Y=$.children[0],N=$.children[q.length].getBoundingClientRect().left-Y.getBoundingClientRect().left;if(Z==="ltr")c.set($,{x:-N}),W=c.to($,{x:0,duration:N/Q,ease:"none",repeat:-1,paused:!H});else c.set($,{x:0}),W=c.to($,{x:-N,duration:N/Q,ease:"none",repeat:-1,paused:!H});W.progress(j)},B=q.flatMap((j)=>Array.from(j.querySelectorAll("img"))),z=B.length?Promise.all(B.map((j)=>new Promise((Y)=>{if(j.complete)return Y();j.addEventListener("load",()=>Y(),{once:!0}),j.addEventListener("error",()=>Y(),{once:!0})}))):Promise.resolve();t9(()=>{z.then(G)});let F=window.innerWidth,U=V0.add(({width:j})=>{if(j===F)return;F=j,G()});S$(K,{autoStart:!0,callback:({isIn:j})=>{if(H=j,j)W?.play();else W?.pause()}}),Z0(()=>{W?.kill(),U()})}var aZ={};P0(aZ,{default:()=>eq});function eq(K,J){x$.on("PAGE",($)=>{console.log("page changed")})}var eZ={};P0(eZ,{default:()=>$W});var bB='[data-attribute="nav-item"]',wB=".nav-item-dropdown-col",TB=50,yB=0.4,hB=0.15,fB=991,rZ=()=>window.matchMedia(`(min-width: ${fB}px)`).matches,_B='[data-attribute="menu-button"]',vB='[data-attribute="list-wrapper"]',uB='[data-attribute="nav-open"]',mB='[data-attribute="nav-close"]',h$="open",gB='[data-attribute="mobile-nav-item"]',dB='[data-attribute="mobile-drop-trigger"]',cB='[data-attribute="mobile-drop-content"]',pB='[data-search="toggle"]',lB='[data-search="dropdown"]',oB='[data-search="input"]',tZ="data-search",JW="open";function sB(K){let J=Array.from(K.querySelectorAll(gB)).map((H)=>{let G=H.querySelector(dB),B=H.querySelector(cB);return G&&B?{trigger:G,content:B}:null}).filter((H)=>H!==null);if(!J.length)return null;let $=(H)=>{H.trigger.classList.remove("is-active"),H.content.classList.remove("is-active")},Q=()=>J.forEach($),Z=(H)=>{J.forEach((G)=>{if(G!==H)$(G)}),H.trigger.classList.add("is-active"),H.content.classList.add("is-active")},q=J.map((H)=>{let G=(B)=>{if(!u1())return;if(B.preventDefault(),H.trigger.classList.contains("is-active"))$(H);else Z(H)};return H.trigger.addEventListener("click",G),{trigger:H.trigger,handleClick:G}});return{closeAll:Q,destroy:()=>{q.forEach(({trigger:H,handleClick:G})=>H.removeEventListener("click",G))}}}function iB(K,J){let $=K.querySelector('[data-attribute="nav-toggle"]'),Q=$?$.parentElement?.querySelector('[data-attribute="nav-content"]')??null:null,Z=Boolean($&&Q),q=Boolean($&&!Q),W=Z?[$,Q]:q?[$]:[K],H=Q?Array.from(Q.querySelectorAll(wB)):[],G=Q?sB(Q):null,B=null,z=null;if(H.length&&!l0&&rZ())c.set(H,{opacity:0});let F=()=>{if(B!==null)window.clearTimeout(B),B=null},U=()=>W[0].classList.contains("is-active"),j=()=>{if(!H.length||l0)return;z?.kill(),c.set(H,{opacity:0}),z=c.to(H,{opacity:1,duration:yB,stagger:hB})},Y=()=>{if(!H.length||l0)return;z?.kill(),c.set(H,{opacity:0})},X=()=>{if(F(),U())return;if(W.forEach((L)=>L.classList.add("is-active")),!Z)return;if(rZ())j();else if(H.length)c.set(H,{opacity:1})},N=()=>{if(!U())return;if(W.forEach((L)=>L.classList.remove("is-active")),Z&&rZ())Y();G?.closeAll()},V=()=>{if(u1())return;X()},O=()=>{if(u1())return;F(),B=window.setTimeout(()=>{B=null,N()},TB)},R=()=>{if(u1()){if(U())N();else J(),X();return}X()};if(K.addEventListener("mouseenter",V),K.addEventListener("mouseleave",O),Z)$.addEventListener("click",R);return{hasDropdown:Z,close:N,destroy:()=>{if(F(),z?.kill(),K.removeEventListener("mouseenter",V),K.removeEventListener("mouseleave",O),Z)$.removeEventListener("click",R);G?.destroy()}}}function nB(K,J){let $=K.querySelector(_B),Q=K.querySelector(vB);if(!$||!Q)return null;let Z=$.querySelector(uB),q=$.querySelector(mB),W=!1,H=(R)=>{if(Z)c.set(Z,{display:R?"none":"flex"});if(q)c.set(q,{display:R?"flex":"none"})},G=()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden",R0.stop()},B=()=>{document.body.style.pointerEvents="",document.body.style.overflow="",R0.start()},z=()=>{if(W)return;J(),W=!0,G(),H(!0),Q.classList.add(h$)},F=()=>{if(!W)return;W=!1,B(),H(!1),Q.classList.remove(h$)},U=()=>{W?F():z()},j=()=>{W=!1,B(),H(!1),Q.classList.remove(h$),Q.setAttribute("data-lenis-prevent",""),$.addEventListener("click",U)},Y=()=>{W=!1,B(),Q.classList.remove(h$),Q.removeAttribute("data-lenis-prevent"),$.removeEventListener("click",U)},X=u1();(X?j:Y)();let N=()=>{let R=u1();if(R===X)return;X=R,(X?j:Y)()},V=V0.add(N);return{close:F,destroy:()=>{if(V(),$.removeEventListener("click",U),W)B()}}}function aB(K,J){let $=K.querySelector(pB),Q=K.querySelector(lB),Z=Q?.querySelector(oB)??null;if(!$||!Q)return null;let q=()=>K.getAttribute(tZ)===JW,W=()=>{if(q())return;if(J(),K.setAttribute(tZ,JW),!Z)return;Q.offsetHeight,Z.focus(),Z.select()},H=()=>{if(!q())return;K.removeAttribute(tZ),Z?.blur()},G=()=>{q()?H():W()},B=(U)=>{if(U.key==="Escape")H()},z=(U)=>{if(!q())return;let j=U.target;if($.contains(j)||Q.contains(j))return;H()};return $.addEventListener("click",G),document.addEventListener("keydown",B),document.addEventListener("click",z),{close:H,destroy:()=>{$.removeEventListener("click",G),document.removeEventListener("keydown",B),document.removeEventListener("click",z),H()}}}function $W(K,J){let $=Array.from(K.querySelectorAll(bB)),Q=[],Z=()=>Q.forEach((G)=>G()),q=$.map((G)=>iB(G,Z));q.forEach(({hasDropdown:G,close:B})=>{if(G)Q.push(B)});let W=nB(K,()=>H?.close()),H=aB(K,()=>W?.close());Z0(()=>{q.forEach(({destroy:G})=>G()),W?.destroy(),H?.destroy()})}var Q5={};P0(Q5,{default:()=>WW});var rB=/[̀-ͯ]/g,tB=/[぀-ヿ㐀-鿿가-힯豈-﫿]/,eB=/[^\p{L}\p{N}]+/u,J2=[["ies","y"],["es",""],["s",""],["ing",""],["ed",""]];var Q9=(K)=>String(K??"").normalize("NFD").replace(rB,"").normalize("NFC").replace(/\s+/g," ").trim().toLowerCase(),L7=(K)=>String(K??"").split(",").map(Q9).filter(Boolean),f$=(K)=>Q9(K).split(" ").filter(Boolean),_$=(K)=>Q9(K).split(eB).filter(Boolean);function v$(K){for(let[J,$]of J2)if(K.endsWith(J)&&K.length-J.length+$.length>=4)return K.slice(0,-J.length)+$;return K}var R8=(K)=>K.length>=8?2:K.length>=4?1:0,u$=(K)=>R8(K)>0&&!/\d/.test(K)&&!tB.test(K);function QW(K,J,$){if(Math.abs(K.length-J.length)>$)return $+1;let Q=null,Z=Array.from({length:J.length+1},(q,W)=>W);for(let q=1;q<=K.length;q++){let W=[q],H=q;for(let G=1;G<=J.length;G++){let B=Math.min(Z[G]+1,W[G-1]+1,Z[G-1]+(K[q-1]===J[G-1]?0:1));if(Q&&G>1&&K[q-1]===J[G-2]&&K[q-2]===J[G-1])B=Math.min(B,Q[G-2]+1);if(W[G]=B,B$)return $+1;Q=Z,Z=W}return Z[J.length]}function m$(K,J){let $=R8(K),Q=QW(K,J,$);if(K.length>=5){for(let Z=K.length-1;Z<=K.length+1;Z++)if(Zwindow.CSS?.escape?CSS.escape(K):String(K).replace(/["\\]/g,"\\$&"),I7=(K,J)=>K instanceof HTMLInputElement&&K.type===J,W2=(K)=>String(K??"").replace(/\s+/g," ").trim();function H2(K){let J=[],$=document.createTreeWalker(K,NodeFilter.SHOW_TEXT,{acceptNode:(Q)=>Q.parentElement?.closest(`script, style, template, ${j1.conditionInvisible}`)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT});while($.nextNode())J.push($.currentNode.nodeValue);return J.join(" ")}function R7(K,J,$,Q){return K.addEventListener(J,$,Q),()=>K.removeEventListener(J,$,Q)}class ZW{constructor(K,J,$){this.wrapper=K,this.name=K.getAttribute(C0.list),this.list=K.querySelector(j1.items),this.matchAll=K.getAttribute(C0.match)!=="any",this.syncUrl=K.getAttribute(C0.url)==="true",this.showPage=K.getAttribute(C0.pageUrl)==="show",this.pageKey=K.getAttribute(C0.pageKey)||K2,this.index=[...document.querySelectorAll(this.selector(C0.list))].indexOf(K),this.filters=new Map,this.query="",this.corrected="",this.page=1,this.matched=[],this.visible=0,this.cleanups=[],this.displays=new Map,this.abort=new AbortController,this.triggers=[...J.querySelectorAll(this.selector(C0.filter))],this.searchInputs=[...J.querySelectorAll(this.selector(C0.search))],this.moreButtons=[...J.querySelectorAll(this.selector(C0.more))],this.countEls=[...J.querySelectorAll(this.selector(C0.count))],this.emptyEls=[...J.querySelectorAll(this.selector(C0.empty))],this.noticeEls=[...J.querySelectorAll(this.selector(C0.fuzzyNotice))];let Q=K.querySelector(`:scope > ${j1.empty}`);if(Q)this.emptyEls.push(Q);this.fields=[...new Set(this.triggers.map((W)=>this.readTrigger(W).field).filter(Boolean))];let Z=this.searchInputs[0];this.searchFields=L7(Z?.getAttribute(C0.searchFields)),this.fuzzy=Z?.getAttribute(C0.fuzzy)!=="false";let q=parseInt(K.getAttribute(C0.perPage),10);this.perPage=q>0?q:this.moreButtons.length?$2:1/0,this.collectItems(),this.bind(),this.readUrl(),this.render();for(let W of $){let H=W(this);if(typeof H==="function")this.cleanups.push(H)}if(K.classList.add(D8.ready),K.getAttribute(C0.canonical)==="clean")j2([this.pageKey]);if(this.ready=this.fetchPages(),K.getAttribute(C0.fetch)!=="false")G2()}selector(K){return`[${K}="${q2(this.name)}"]`}collectItems(){this.items=this.list?[...this.list.querySelectorAll(`:scope > ${j1.item}`)]:[],this.data=new Map(this.items.map((K)=>[K,this.readItem(K)])),this.vocab=new Map;for(let{tokens:K}of this.data.values())for(let J of K)this.vocab.set(J,(this.vocab.get(J)||0)+1);this.fuzzyCache=new Map}readItem(K){let J=new Map,$=new Map,Q=(q,W)=>{if(q=Q9(q),!q)return;for(let H of W){let G=Q9(H);if(!G)continue;if(!J.has(q))J.set(q,new Set);if(J.get(q).add(G),!$.has(G))$.set(G,W2(H))}};for(let{name:q,value:W}of K.attributes)if(q.startsWith(C0.fieldPrefix))Q(q.slice(C0.fieldPrefix.length),W.split(","));for(let q of K.querySelectorAll(`[${C0.field}]`)){if(q.closest(j1.conditionInvisible))continue;Q(q.getAttribute(C0.field),q.textContent.split(","))}let Z=this.searchFields.length?this.searchFields.flatMap((q)=>[...J.get(q)||[]]).join(" "):Q9(H2(K));return{fields:J,labels:$,text:Z,tokens:new Set(_$(Z))}}bind(){for(let K of this.triggers){let J=K instanceof HTMLSelectElement||I7(K,"checkbox")||I7(K,"radio");this.cleanups.push(J?R7(K,"change",()=>this.onTrigger(K)):R7(K,"click",($)=>{$.preventDefault(),this.onTrigger(K)})),this.guardForm(K)}for(let K of this.searchInputs){let J;this.cleanups.push(R7(K,"input",()=>{clearTimeout(J),J=setTimeout(()=>this.search(K.value),Q2)}),()=>clearTimeout(J)),this.guardForm(K)}this.cleanups.push(()=>clearTimeout(this.searchEventTimer));for(let K of this.moreButtons)this.cleanups.push(R7(K,"click",(J)=>{J.preventDefault(),this.loadMore()}))}guardForm(K){let J=K.closest("form");if(!J)return;this.cleanups.push(R7(J,"submit",($)=>{$.preventDefault(),$.stopImmediatePropagation()},!0))}readTrigger(K){let J=Q9(K.getAttribute(C0.field)),$;if(K instanceof HTMLSelectElement)$=K.value;else if(K.hasAttribute(C0.value))$=K.getAttribute(C0.value);else if(K instanceof HTMLInputElement)$=K.closest("label")?.textContent;else $=K.textContent;let Q=K instanceof HTMLSelectElement||I7(K,"radio")||K.getAttribute(C0.select)==="single";return{field:J,value:Q9($),single:Q}}onTrigger(K){let{field:J,value:$,single:Q}=this.readTrigger(K);if(I7(K,"radio")&&!K.checked)return;if(!J)return this.clearFilters();if(!$)return this.setField(J,[]);if(I7(K,"checkbox"))return K.checked?this.addFilter(J,$):this.removeFilter(J,$);if(Q)return this.setField(J,[$]);return this.filters.get(J)?.has($)?this.removeFilter(J,$):this.addFilter(J,$)}syncControls(){for(let K of this.triggers){let{field:J,value:$}=this.readTrigger(K),Q=this.filters.get(J);if(K instanceof HTMLSelectElement){let W=Q?.size===1?[...Q][0]:"",H=[...K.options].find((G)=>Q9(G.value)===W);K.value=H?H.value:"";continue}let Z;if(!J)Z=this.filters.size===0;else if(!$)Z=!Q;else Z=!!Q?.has($);let q=K.getAttribute(C0.activeClass)||D8.active;if(K instanceof HTMLInputElement){K.checked=Z;let W=K.closest("label");W?.classList.toggle(q,Z),W?.querySelector(j1.checkboxOrRadio)?.classList.toggle(j1.redirectedChecked,Z)}else if(K.classList.toggle(q,Z),K instanceof HTMLButtonElement)K.setAttribute("aria-pressed",String(Z))}for(let K of this.searchInputs)if(K!==document.activeElement&&K.value!==this.query)K.value=this.query}filter(K,J){this.setField(Q9(K),[Q9(J)])}setField(K,J){if(J=J.filter(Boolean),J.length)this.filters.set(K,new Set(J));else this.filters.delete(K);this.update()}addFilter(K,J){if(K=Q9(K),J=Q9(J),!K||!J)return;if(!this.filters.has(K))this.filters.set(K,new Set);this.filters.get(K).add(J),this.update()}removeFilter(K,J){K=Q9(K);let $=this.filters.get(K);if(!$)return;if($.delete(Q9(J)),!$.size)this.filters.delete(K);this.update()}clearFilters(){this.filters.clear(),this.search("")}search(K){this.query=String(K??""),this.update(),this.scheduleSearchEvent()}loadMore(){this.page+=1,this.render(),this.writeUrl()}loadAll(){this.page=1/0,this.render(),this.writeUrl()}getVisibleItems(){return this.matched.slice(0,this.visible)}refresh(){this.collectItems(),this.render()}destroy(){this.abort.abort();for(let K of this.cleanups)K();this.cleanups=[];for(let[K,J]of this.displays)K.style.display=J;if(this.displays.clear(),this.wrapper.classList.remove(D8.ready,D8.loading),g$.get(this.wrapper)===this)g$.delete(this.wrapper)}update(){this.page=1,this.render(),this.writeUrl()}render(){let K=[...this.filters],J=(W)=>{if(!K.length)return!0;let{fields:H}=this.data.get(W),G=([B,z])=>{let F=H.get(B);return!!F&&[...z].some((U)=>F.has(U))};return this.matchAll?K.every(G):K.some(G)};this.matched=this.searchItems(this.items.filter(J));let $=this.page*this.perPage,Q=new Set(this.matched),Z=0;for(let W of this.items){let H=Q.has(W)&&Z<$;if(H)Z+=1;this.show(W,H)}this.visible=Z;for(let W of this.emptyEls)this.show(W,!this.matched.length,!0);for(let W of this.moreButtons)this.show(W,this.matched.length>Z);for(let W of this.noticeEls){this.show(W,!!this.corrected,!0);for(let H of W.querySelectorAll(`[${C0.fuzzyQuery}]`))H.textContent=this.corrected}let q={visible:Z,matched:this.matched.length,total:this.items.length};for(let W of this.countEls){let H=W.getAttribute(C0.countMode);W.textContent=String(Object.hasOwn(q,H)?q[H]:Z)}this.syncControls(),this.emit("change",{...q,page:this.page,filters:Object.fromEntries([...this.filters].map(([W,H])=>[W,[...H]])),search:this.query,corrected:this.corrected})}searchItems(K){this.corrected="";let J=f$(this.query);if(!J.length)return K;let $=(W,H)=>{let{text:G}=this.data.get(W);return G.includes(H)||G.includes(v$(H))},Q=K.filter((W)=>J.every((H)=>$(W,H)));if(Q.length||!this.fuzzy)return Q;let Z=J.map((W)=>this.fuzzyTokens(W)),q=K.filter((W)=>J.every((H,G)=>$(W,H)||Z[G].some((B)=>this.data.get(W).tokens.has(B))));if(q.length){let W=J.map((H,G)=>q.some((B)=>$(B,H))||!Z[G].length?H:Z[G][0]).join(" ");if(W!==J.join(" "))this.corrected=W}return q}fuzzyTokens(K){if(this.fuzzyCache.has(K))return this.fuzzyCache.get(K);let J=[];if(u$(K)){let Q=R8(K);for(let[Z,q]of this.vocab){let W=m$(K,Z);if(W<=Q)J.push({token:Z,d:W,count:q})}J.sort((Z,q)=>Z.d-q.d||q.count-Z.count)}let $=J.map((Q)=>Q.token);return this.fuzzyCache.set(K,$),$}scheduleSearchEvent(){if(clearTimeout(this.searchEventTimer),!Q9(this.query))return;this.searchEventTimer=setTimeout(()=>{this.emit("search",{query:this.query,corrected:this.corrected,results:this.matched.length})},Z2)}show(K,J,$=!1){if(!this.displays.has(K))this.displays.set(K,K.style.display);if(K.style.display=J?this.displays.get(K):"none",J&&$&&getComputedStyle(K).display==="none")K.style.display="block"}emit(K,J){this.wrapper.dispatchEvent(new CustomEvent(`ob-cms:${K}`,{bubbles:!0,detail:{group:this.name,...J}}))}readUrl(){let K=new URLSearchParams(location.search);if(this.syncUrl){for(let J of this.fields){let $=L7(K.get(J));if($.length)this.filters.set(J,new Set($))}if(this.searchInputs.length)this.query=K.get(J5)||""}if(this.showPage){let J=K.get(this.pageKey);this.page=J==="all"?1/0:Math.max(1,parseInt(J,10)||1)}}writeUrl(){if(!this.syncUrl&&!this.showPage)return;let K=new URL(location.href);if(this.syncUrl){for(let J of this.fields){let $=this.filters.get(J);if($)K.searchParams.set(J,[...$].join(","));else K.searchParams.delete(J)}if(this.searchInputs.length){let J=this.query.trim();if(J)K.searchParams.set(J5,J);else K.searchParams.delete(J5)}}if(this.showPage)if(this.page>1)K.searchParams.set(this.pageKey,this.page===1/0?"all":String(this.page));else K.searchParams.delete(this.pageKey);if(K.href!==location.href)history.replaceState(history.state,"",K)}async fetchPages(){let{wrapper:K}=this,J=K.querySelector(j1.next);if(!J||!this.list||K.hasAttribute(C0.fetched)||K.getAttribute(C0.fetch)==="false")return;let $=new URL(J.getAttribute("href"),location.href);if($.origin!==location.origin)return;let Q=K.querySelector(j1.pagination),Z=!!Q&&this.moreButtons.some((W)=>Q.contains(W));if(Z){for(let W of Q.children)if(!this.moreButtons.some((H)=>W.contains(H)))this.show(W,!1)}else if(Q)this.show(Q,!1);K.classList.add(D8.loading);let{signal:q}=this.abort;try{let W=[...$.searchParams.keys()].find((F)=>$5.test(F)),H=W&&parseInt(new URLSearchParams(location.search).get(W),10)||1,G=parseInt((K.querySelector(j1.pageCount)?.textContent||"").split("/")[1],10),B=[],z=[];if(W&&G>1){let F=[];for(let j=1;j<=G;j++)if(j!==H)F.push(j);let U=await Promise.all(F.map((j)=>{let Y=new URL($);return Y.searchParams.set(W,j),this.fetchItems(Y,q)}));F.forEach((j,Y)=>(j ${j1.item}`)||[]],H=q.querySelector(j1.next)?.getAttribute("href"),G=H?new URL(H,K):null;return{items:W,next:G?.origin===location.origin?G:null}}}function G2(){let K=new URL(location.href),J=[...K.searchParams.keys()].filter(($)=>$5.test($));if(!J.length)return;for(let $ of J)K.searchParams.delete($);history.replaceState(history.state,"",K)}function j2(K=[]){let J=document.querySelector('link[rel="canonical"]');if(!J?.href)return;let $=new URL(J.href),Q=[...$.searchParams.keys()].filter((Z)=>$5.test(Z)||K.includes(Z));if(!Q.length)return;for(let Z of Q)$.searchParams.delete(Z);if($.pathname.length>1)$.pathname=$.pathname.replace(/\/+$/,"");J.href=$.href}function B2(){try{window.Webflow?.require?.("ix2")?.init(),window.Webflow?.require?.("lightbox")?.ready()}catch(K){console.warn("[ob-cms] could not reset Webflow interactions",K)}}function KW(K={}){let{scope:J=document,plugins:$=[]}=K instanceof Node?{scope:K}:K,Q=[];for(let q of J.querySelectorAll(`[${C0.list}]`)){if(!q.getAttribute(C0.list))continue;g$.get(q)?.destroy();let W=new ZW(q,J,$);g$.set(q,W),Q.push(W)}let Z=(q)=>(...W)=>Q.forEach((H)=>H[q](...W));return{groups:Q,group:(q)=>Q.find((W)=>W.name===q),ready:Promise.all(Q.map((q)=>q.ready)),filter:Z("filter"),addFilter:Z("addFilter"),removeFilter:Z("removeFilter"),clearFilters:Z("clearFilters"),search:Z("search"),loadMore:Z("loadMore"),loadAll:Z("loadAll"),refresh:Z("refresh"),getVisibleItems:()=>Q.flatMap((q)=>q.getVisibleItems()),destroy(){Q.forEach((q)=>q.destroy()),Q.length=0}}}/*! * OB CMS autocomplete: optional plugin. Only bundled when imported. * * import { init } from '@lib/ob-cms'; * import { autocomplete } from '@lib/ob-cms/autocomplete'; * init({ plugins: [autocomplete({ labels: { category: 'Category' } })] }); * * Implements the ARIA 1.2 combobox pattern (list autocomplete, manual selection). */var B1={suggest:"data-ob-suggest",limit:"data-ob-suggest-limit",min:"data-ob-suggest-min",link:"data-ob-suggest-link",list:"data-ob-suggest-list",item:"data-ob-suggest-item",text:"data-ob-suggest-text",field:"data-ob-suggest-field",count:"data-ob-suggest-count"},D7={list:"ob-suggest",item:"ob-suggest-item",active:"is-active"},z2=6,U2=2,X2=150,F2="position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0",Y2=0;function qW(K={}){return(J)=>{let $=J.searchInputs.filter((Q)=>Q.hasAttribute(B1.suggest)).map((Q)=>I2(J,Q,K));return()=>$.forEach((Q)=>Q())}}function N2(K,J,$){if(K.value.startsWith(J))return 0;let Q=(q)=>K.tokens.some((W)=>W.startsWith(q)||W.startsWith(v$(q)));if($.every(Q))return 1;let Z=(q)=>u$(q)&&K.tokens.some((W)=>m$(q,W)<=R8(q));if($.every((q)=>Q(q)||Z(q)))return 2;return-1}function M2(K,J,$){K.textContent="";let Q=$?J.toLowerCase().indexOf($):-1;if(Q<0){K.textContent=J;return}let Z=document.createElement("mark");Z.textContent=J.slice(Q,Q+$.length),K.append(J.slice(0,Q),Z,J.slice(Q+$.length))}function V2(K,J){let $=`[${B1.list}="${window.CSS?.escape?CSS.escape(J):J}"]`;for(let Q=K.parentElement;Q;Q=Q.parentElement){let Z=Q.querySelector($);if(Z)return Z}return null}function L2(){let K=document.createElement("div");K.className=D7.item;let J=document.createElement("span");J.setAttribute(B1.text,"");let $=document.createElement("span");return $.className=`${D7.item}-field`,$.setAttribute(B1.field,""),K.append(J," ",$),K}function I2(K,J,{labels:$={},onSelect:Q}={}){let Z=L7(J.getAttribute(B1.suggest)),q=parseInt(J.getAttribute(B1.limit),10)||z2,W=parseInt(J.getAttribute(B1.min),10)||U2,H=J.getAttribute(B1.link)==="true",G=V2(J,K.name),B=!G;if(B)G=document.createElement("div"),G.className=D7.list,J.after(G);let z=G.querySelector(`[${B1.item}]`),F=z||L2();F.remove();let U=!G.id;if(U)G.id=`ob-suggest-${++Y2}`;let j=G.style.display;G.setAttribute("role","listbox"),G.style.display="none";let Y=document.createElement("span");Y.setAttribute("role","status"),Y.style.cssText=F2,G.after(Y);let N=["role","aria-autocomplete","aria-expanded","aria-controls","aria-activedescendant","autocomplete"].map((m)=>[m,J.getAttribute(m)]);J.setAttribute("role","combobox"),J.setAttribute("aria-autocomplete","list"),J.setAttribute("aria-expanded","false"),J.setAttribute("aria-controls",G.id),J.setAttribute("autocomplete","off");let V=null,O=null,R=[],I=[],L=-1,k;function A(){if(O===K.items)return V;let m=new Map;for(let g of K.items){let{fields:T,labels:a}=K.data.get(g);for(let i of Z)for(let M of T.get(i)||[]){let l=`${i}\x00${M}`,n=m.get(l);if(n)n.count+=1;else m.set(l,{field:i,value:M,label:a.get(M)||M,count:1,item:g,tokens:_$(M)})}}return O=K.items,V=[...m.values()],V}function E(){let m=Q9(J.value);if(m.length({entry:T,rank:N2(T,m,g)})).filter(({rank:T})=>T>=0).sort((T,a)=>T.rank-a.rank||a.entry.count-T.entry.count||T.entry.label.length-a.entry.label.length||T.entry.label.localeCompare(a.entry.label)).slice(0,q).map(({entry:T})=>({field:T.field,value:T.value,label:T.label,count:T.count,item:T.item,isFilter:K.fields.includes(T.field)}))}function b(){R=E();for(let T of I)T.remove();let m=Q9(J.value);I=R.map((T,a)=>{let i=F.cloneNode(!0);i.removeAttribute(B1.item),i.id=`${G.id}-${a}`,i.setAttribute("role","option"),i.setAttribute("aria-selected","false"),M2(i.querySelector(`[${B1.text}]`)||i,T.label,m);let M=i.querySelector(`[${B1.field}]`);if(M)M.textContent=$[T.field]??T.field;let l=i.querySelector(`[${B1.count}]`);if(l)l.textContent=String(T.count);return i.addEventListener("pointerdown",(n)=>n.preventDefault()),i.addEventListener("click",()=>y(T)),i.addEventListener("pointermove",()=>d(a,!1)),G.append(i),i}),L=-1,J.removeAttribute("aria-activedescendant");let g=I.length>0;if(G.style.display=g?j:"none",g&&getComputedStyle(G).display==="none")G.style.display="block";J.setAttribute("aria-expanded",String(g)),Y.textContent=J.value.trim()?`${I.length} suggestion${I.length===1?"":"s"} available`:""}function w(){clearTimeout(k);for(let m of I)m.remove();I=[],R=[],L=-1,G.style.display="none",J.setAttribute("aria-expanded","false"),J.removeAttribute("aria-activedescendant"),Y.textContent=""}function d(m,g=!0){I[L]?.classList.remove(D7.active),I[L]?.setAttribute("aria-selected","false"),L=m;let T=I[L];if(!T){J.removeAttribute("aria-activedescendant");return}if(T.classList.add(D7.active),T.setAttribute("aria-selected","true"),J.setAttribute("aria-activedescendant",T.id),g)T.scrollIntoView?.({block:"nearest"})}function y(m){if(w(),Q?.(m,{group:K,input:J})===!1)return;if(!m.isFilter&&H){let g=m.item.querySelector("a[href]")?.href;if(g){location.assign(g);return}}if(m.isFilter)J.value="",K.search(""),K.filter(m.field,m.value);else J.value=m.label,K.search(m.label)}function u(m){if(m.isComposing||m.keyCode===229)return;let g=I.length;switch(m.key){case"ArrowDown":if(m.preventDefault(),!g)b();else d((L+1)%g);break;case"ArrowUp":if(m.preventDefault(),g)d(L<=0?g-1:L-1);break;case"Enter":if(g&&L>=0)m.preventDefault(),y(R[L]);else w();break;case"Escape":if(g)m.preventDefault(),w();break;case"Tab":w();break}}let o=[["input",b],["focus",()=>Q9(J.value).length>=W&&b()],["blur",()=>k=setTimeout(w,X2)],["keydown",u]];for(let[m,g]of o)J.addEventListener(m,g);return()=>{w();for(let[m,g]of o)J.removeEventListener(m,g);for(let[m,g]of N)if(g===null)J.removeAttribute(m);else J.setAttribute(m,g);if(Y.remove(),B){G.remove();return}if(z)G.append(z);if(G.removeAttribute("role"),U)G.removeAttribute("id");G.style.display=j}}function WW(K,J){let $=KW({scope:K,plugins:[qW()]});if(!$.groups.length)console.warn('ob-cms: no [data-ob-list] inside this element. Put data-module="ob-cms" on a wrapper around the list and its controls, not on the list itself.',K);Z0(()=>$.destroy())}var Z5={};P0(Z5,{default:()=>jW});var R2=".offices-item",D2='[data-attribute="office-trigger"]',O2=".office-details",C2='[data-attribute="open"]',A2='[data-attribute="close"]',HW=0.4,GW="power2.inOut";function k2(K){let J=K.querySelector(D2),$=K.querySelector(O2),Q=J?.querySelector(C2),Z=J?.querySelector(A2);if(!J||!$)return null;let q=$.classList.contains("is-active"),W=null,H=!1,G=(X)=>{if(Q)c.set(Q,{display:X?"none":""});if(Z)c.set(Z,{display:X?"":"none"})},B=()=>{if(q)return;q=!0,K.classList.add("is-active"),J.classList.add("is-active"),$.classList.add("is-active"),W?.kill(),W=c.to($,{height:"auto",duration:l0?0:HW,ease:GW,onComplete:()=>G(!0)})},z=()=>{if(!q)return;q=!1,K.classList.remove("is-active"),J.classList.remove("is-active"),$.classList.remove("is-active"),W?.kill(),W=c.to($,{height:0,duration:l0?0:HW,ease:GW,onComplete:()=>G(!1)})},F=()=>{q?z():B()};return{enterAccordionMode:()=>{if(H)return;H=!0,c.set($,{height:q?"auto":0,overflow:"hidden"}),G(q),J.addEventListener("click",F)},enterStaticMode:()=>{if(!H)return;H=!1,W?.kill(),J.removeEventListener("click",F),c.set($,{clearProps:"height,overflow"})},destroy:()=>{W?.kill(),J.removeEventListener("click",F)}}}function jW(K,J){let Q=Array.from(K.querySelectorAll(R2)).map((G)=>k2(G)).filter((G)=>Boolean(G)),Z=u1(),q=()=>{Q.forEach((G)=>Z?G.enterAccordionMode():G.enterStaticMode())};q();let W=()=>{let G=u1();if(G===Z)return;Z=G,q()},H=V0.add(W);Z0(()=>{H(),Q.forEach(({destroy:G})=>G())})}var K5={};P0(K5,{default:()=>zW});var E2='[data-attribute="search-results-bar"]',P2='[data-attribute="search-count"]',S2='[data-attribute="search-results-word"]',x2='[data-attribute="search-keyword"]',b2='[data-attribute="search-results-list"]',w2=".search-result-items",BW="query",T2=`input[name="${BW}"]`,d$=(K,J)=>K.querySelector(J)??document.querySelector(J),y2=(K)=>{let J=new URL(location.href).searchParams.get(BW),$=d$(K,T2);return(J??$?.value??"").trim()},h2=(K)=>{let J=d$(K,b2)??d$(K,w2);return J?J.children.length:0};function f2(K){let J=d$(K,E2);if(!J)return;let $=h2(K);if($===0){c.set(J,{display:"none"});return}let Q=J.querySelector(P2),Z=J.querySelector(S2),q=J.querySelector(x2);if(Q)Q.textContent=String($);if(Z)Z.textContent=$===1?"result":"results";if(q)q.textContent=y2(K)}function zW(K,J){f2(K)}var q5={};P0(q5,{default:()=>UW});var _2='[data-attribute="button-text"]',v2="Link Copied!",u2=2000;function UW(K,J){let $=K.querySelector(_2),Q=$?.textContent??"",Z,q=()=>{if(!("Notification"in window))return;let H=()=>new Notification("Link copied",{body:window.location.href});if(Notification.permission==="granted")H();else if(Notification.permission!=="denied")Notification.requestPermission().then((G)=>{if(G==="granted")H()})},W=async()=>{try{await navigator.clipboard.writeText(window.location.href)}catch{return}if(q(),$)clearTimeout(Z),$.textContent=v2,Z=setTimeout(()=>{$.textContent=Q},u2)};K.addEventListener("click",W),Z0(()=>{K.removeEventListener("click",W),clearTimeout(Z)})}var H5={};P0(H5,{default:()=>YW});var m2=992,W5=()=>window.matchMedia(`(min-width: ${m2}px)`).matches,g2='[data-attribute="small-view"]',d2='[data-attribute="large-view"]',c2='[data-attribute="size-switcher-list"]',p2='[data-attribute="large-view-item"]',XW='[data-attribute="small-view-item"]',FW="is-selected",l2="small-view";function YW(K,J){let $=K.querySelector(g2),Q=K.querySelector(d2),Z=K.querySelector(c2);if(!$||!Q||!Z)return;c.set(Z.querySelectorAll(XW),{display:"none"});let q=!1,W=W5(),H=()=>{let Y=q||!W5();Z.classList.toggle(l2,Y),$.classList.toggle(FW,Y),Q.classList.toggle(FW,!Y),Z.querySelectorAll(p2).forEach((X)=>c.set(X,{display:Y?"none":""})),Z.querySelectorAll(XW).forEach((X)=>c.set(X,{display:Y?"block":"none"}))},G=()=>{q=!0,H()},B=()=>{q=!1,H()};$.addEventListener("click",G),Q.addEventListener("click",B),H();let z=!1,F=(Y)=>{if(!z)H();return Y};window.FinsweetAttributes??=[],window.FinsweetAttributes.push(["list",(Y)=>{if(z)return;Y.filter((X)=>X.listElement===Z||X.wrapperElement.contains(Z)).forEach((X)=>X.addHook("afterRender",F))}]);let U=()=>{let Y=W5();if(Y===W)return;if(W=Y,Y)q=!1;H()},j=V0.add(U);Z0(()=>{z=!0,j(),$.removeEventListener("click",G),Q.removeEventListener("click",B)})}var y5={};P0(y5,{default:()=>BH});/*! * matrix 3.15.0 * https://gsap.com * * Copyright 2008-2026, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var t1,lJ,z5,l$,O7,c$,p$,C7,k1="transform",B5=k1+"Origin",NW,MW=function(J){var $=J.ownerDocument||J;if(!(k1 in J.style)&&"msTransform"in J.style)k1="msTransform",B5=k1+"Origin";while($.parentNode&&($=$.parentNode));if(lJ=window,p$=new VJ,$){t1=$,z5=$.documentElement,l$=$.body,C7=t1.createElementNS("http://www.w3.org/2000/svg","g"),C7.style.transform="none";var Q=$.createElement("div"),Z=$.createElement("div"),q=$&&($.body||$.firstElementChild);if(q&&q.appendChild)q.appendChild(Q),Q.appendChild(Z),Q.style.position="static",Q.style.transform="translate3d(0,0,1px)",NW=Z.offsetParent!==Q,q.removeChild(Q)}return $},o2=function(J){var $,Q;while(J&&J!==l$){if(Q=J._gsap,Q&&Q.uncache&&Q.get(J,"x"),Q&&!Q.scaleX&&!Q.scaleY&&Q.renderTransform)Q.scaleX=Q.scaleY=0.0001,Q.renderTransform(1,Q),$?$.push(Q):$=[Q];J=J.parentNode}return $},VW=[],LW=[],s2=function(){return lJ.pageYOffset||t1.scrollTop||z5.scrollTop||l$.scrollTop||0},i2=function(){return lJ.pageXOffset||t1.scrollLeft||z5.scrollLeft||l$.scrollLeft||0},U5=function(J){return J.ownerSVGElement||((J.tagName+"").toLowerCase()==="svg"?J:null)},n2=function K(J){if(lJ.getComputedStyle(J).position==="fixed")return!0;if(J=J.parentNode,J&&J.nodeType===1)return K(J)},G5=function K(J,$){if(J.parentNode&&(t1||MW(J))){var Q=U5(J),Z=Q?Q.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",q=Q?$?"rect":"g":"div",W=$!==2?0:100,H=$===3?100:0,G={position:"absolute",display:"block",pointerEvents:"none",margin:"0",padding:"0"},B=t1.createElementNS?t1.createElementNS(Z.replace(/^https/,"http"),q):t1.createElement(q);if($)if(!Q){if(!O7)O7=K(J),Object.assign(O7.style,G);Object.assign(B.style,G,{width:"0.1px",height:"0.1px",top:H+"px",left:W+"px"}),O7.appendChild(B)}else c$||(c$=K(J)),B.setAttribute("width",0.01),B.setAttribute("height",0.01),B.setAttribute("transform","translate("+W+","+H+")"),B.setAttribute("fill","transparent"),c$.appendChild(B);return B}throw"Need document and parent."},a2=function(J){var $=new VJ,Q=0;for(;Q1?a2(B):B.getItem(0).matrix,F=B.a*z.x+B.c*z.y,U=B.b*z.x+B.d*z.y;else B=new VJ,F=U=0;if($&&J.tagName.toLowerCase()==="g")F=U=0;(Z||!J.getBoundingClientRect().width?Q:W).appendChild(G),G.setAttribute("transform","matrix("+B.a+","+B.b+","+B.c+","+B.d+","+(B.e+F)+","+(B.f+U)+")")}else{if(F=U=0,NW){B=J.offsetParent,z=J;while(z&&(z=z.parentNode)&&z!==B&&z.parentNode)if((lJ.getComputedStyle(z)[k1]+"").length>4)F=z.offsetLeft,U=z.offsetTop,z=0}if(j=lJ.getComputedStyle(J),j.position!=="absolute"&&j.position!=="fixed"){B=J.offsetParent;while(W&&W!==B)F+=W.scrollLeft||0,U+=W.scrollTop||0,W=W.parentNode}z=G.style,z.top=J.offsetTop-U+"px",z.left=J.offsetLeft-F+"px",z[k1]=j[k1],z[B5]=j[B5],z.position=j.position==="fixed"?"fixed":"absolute",H.appendChild(G)}return G},j5=function(J,$,Q,Z,q,W,H){return J.a=$,J.b=Q,J.c=Z,J.d=q,J.e=W,J.f=H,J},VJ=function(){function K($,Q,Z,q,W,H){if($===void 0)$=1;if(Q===void 0)Q=0;if(Z===void 0)Z=0;if(q===void 0)q=1;if(W===void 0)W=0;if(H===void 0)H=0;j5(this,$,Q,Z,q,W,H)}var J=K.prototype;return J.inverse=function(){var Q=this.a,Z=this.b,q=this.c,W=this.d,H=this.e,G=this.f,B=Q*W-Z*q||0.0000000001;return j5(this,W/B,-Z/B,-q/B,Q/B,(q*G-W*H)/B,-(Q*G-Z*H)/B)},J.multiply=function(Q){var Z=this.a,q=this.b,W=this.c,H=this.d,G=this.e,B=this.f,z=Q.a,F=Q.c,U=Q.b,j=Q.d,Y=Q.e,X=Q.f;return j5(this,z*Z+U*W,z*q+U*H,F*Z+j*W,F*q+j*H,G+Y*Z+X*W,B+Y*q+X*H)},J.clone=function(){return new K(this.a,this.b,this.c,this.d,this.e,this.f)},J.equals=function(Q){var Z=this.a,q=this.b,W=this.c,H=this.d,G=this.e,B=this.f;return Z===Q.a&&q===Q.b&&W===Q.c&&H===Q.d&&G===Q.e&&B===Q.f},J.apply=function(Q,Z){if(Z===void 0)Z={};var{x:q,y:W}=Q,H=this.a,G=this.b,B=this.c,z=this.d,F=this.e,U=this.f;return Z.x=q*H+W*B+F||0,Z.y=q*G+W*z+U||0,Z},K}();function LJ(K,J,$,Q){if(!K||!K.parentNode||(t1||MW(K)).documentElement===K)return new VJ;var Z=o2(K),q=U5(K),W=q?VW:LW,H=t2(K,$),G=W[0].getBoundingClientRect(),B=W[1].getBoundingClientRect(),z=W[2].getBoundingClientRect(),F=H.parentNode,U=!Q&&n2(K),j=new VJ((B.left-G.left)/100,(B.top-G.top)/100,(z.left-G.left)/100,(z.top-G.top)/100,G.left+(U?0:i2()),G.top+(U?0:s2()));if(F.removeChild(H),Z){G=Z.length;while(G--)B=Z[G],B.scaleX=B.scaleY=0,B.renderTransform(1,B)}return J?j.inverse():j}function IW(K){if(K===void 0)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return K}function e2(K,J){K.prototype=Object.create(J.prototype),K.prototype.constructor=K,K.__proto__=J}/*! * Draggable 3.15.0 * https://gsap.com * * @license Copyright 2008-2026, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var A0,u0,U1,P1,$J,X5,JJ,V5,k7,DJ,bW,L5,b7,O5,E7,z1,P7,i$,wW,I5,a$=0,TW=function(){return typeof window<"u"},yW=function(){return A0||TW()&&(A0=window.gsap)&&A0.registerPlugin&&A0},RJ=function(J){return typeof J==="function"},S7=function(J){return typeof J==="object"},E1=function(J){return typeof J>"u"},n$=function(){return!1},x7="transform",R5="transformOrigin",d9=function(J){return Math.round(J*1e4)/1e4},A7=Array.isArray,o$=function(J,$){var Q=U1.createElementNS?U1.createElementNS(($||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),J):U1.createElement(J);return Q.style?Q:U1.createElement(J)},RW=180/Math.PI,oJ=100000000000000000000,Jz=new VJ,IJ=Date.now||function(){return new Date().getTime()},iJ=[],A8={},$z=0,Qz=/^(?:a|input|textarea|button|select)$/i,DW=0,O8={},e1={},hW=function(J,$){var Q={},Z;for(Z in J)Q[Z]=$?J[Z]*$:J[Z];return Q},Zz=function(J,$){for(var Q in $)if(!(Q in J))J[Q]=$[Q];return J},OW=function K(J,$){var Q=J.length,Z;while(Q--)$?J[Q].style.touchAction=$:J[Q].style.removeProperty("touch-action"),Z=J[Q].children,Z&&Z.length&&K(Z,$)},fW=function(){return iJ.forEach(function(J){return J()})},Kz=function(J){if(iJ.push(J),iJ.length===1)A0.ticker.add(fW)},CW=function(){return!iJ.length&&A0.ticker.remove(fW)},AW=function(J){var $=iJ.length;while($--)if(iJ[$]===J)iJ.splice($,1);A0.to(CW,{overwrite:!0,delay:15,duration:0,onComplete:CW,data:"_draggable"})},qz=function(J,$){for(var Q in $)if(!(Q in J))J[Q]=$[Q];return J},z9=function(J,$,Q,Z){if(J.addEventListener){var q=b7[$];Z=Z||(bW?{passive:!1}:null),J.addEventListener(q||$,Q,Z),q&&$!==q&&J.addEventListener($,Q,Z)}},W9=function(J,$,Q,Z){if(J.removeEventListener){var q=b7[$];J.removeEventListener(q||$,Q,Z),q&&$!==q&&J.removeEventListener($,Q,Z)}},R1=function(J){J.preventDefault&&J.preventDefault(),J.preventManipulation&&J.preventManipulation()},Wz=function(J,$){var Q=J.length;while(Q--)if(J[Q].identifier===$)return!0},Hz=function K(J){O5=J.touches&&a$2||A<-2)&&!k){if(B=J.scrollLeft,A0.killTweensOf(this,{left:1,scrollLeft:1}),this.left(-B),$.onKill)$.onKill();return}if(L=-L,L<0)H=L-0.5|0,L=0;else if(L>j)H=L-j|0,L=j;else H=0;if(H||E){if(!this._skip)Z[x7]=R+-H+"px,"+-W+I;if(H+U>=0)Z.paddingRight=H+U+"px"}J.scrollLeft=L|0,B=J.scrollLeft},this.top=function(L,k){if(!arguments.length)return-(J.scrollTop+W);var A=J.scrollTop-G,E=W;if((A>2||A<-2)&&!k){if(G=J.scrollTop,A0.killTweensOf(this,{top:1,scrollTop:1}),this.top(-G),$.onKill)$.onKill();return}if(L=-L,L<0)W=L-0.5|0,L=0;else if(L>Y)W=L-Y|0,L=Y;else W=0;if(W||E){if(!this._skip)Z[x7]=R+-H+"px,"+-W+I}J.scrollTop=L|0,G=J.scrollTop},this.maxScrollTop=function(){return Y},this.maxScrollLeft=function(){return j},this.disable=function(){q=Q.firstChild;while(q)O=q.nextSibling,J.appendChild(q),q=O;if(J===Q.parentNode)J.removeChild(Q)},this.enable=function(){if(q=J.firstChild,q===Q)return;while(q)O=q.nextSibling,Q.appendChild(q),q=O;J.appendChild(Q),this.calibrate()},this.calibrate=function(L){var k=J.clientWidth===X,A,E,b;if(G=J.scrollTop,B=J.scrollLeft,k&&J.clientHeight===N&&Q.offsetHeight===V&&z===J.scrollWidth&&F===J.scrollHeight&&!L)return;if(W||H)E=this.left(),b=this.top(),this.left(-J.scrollLeft),this.top(-J.scrollTop);if(A=w7(J),!k||L){if(Z.display="block",Z.width="auto",Z.paddingRight="0px",U=Math.max(0,J.scrollWidth-J.clientWidth),U)U+=parseFloat(A.paddingLeft)+(D5?parseFloat(A.paddingRight):0)}if(Z.display="inline-block",Z.position="relative",Z.overflow="visible",Z.verticalAlign="top",Z.boxSizing="content-box",Z.width="100%",Z.paddingRight=U+"px",D5)Z.paddingBottom=A.paddingBottom;if(X=J.clientWidth,N=J.clientHeight,z=J.scrollWidth,F=J.scrollHeight,j=J.scrollWidth-X,Y=J.scrollHeight-N,V=Q.offsetHeight,Z.display="block",E||b)this.left(E),this.top(b)},this.content=Q,this.element=J,this._skip=!1,this.enable()},M5=function(J){if(TW()&&document.body){var $=window&&window.navigator;u0=window,U1=document,P1=U1.documentElement,$J=U1.body,X5=o$("div"),i$=!!window.PointerEvent,JJ=o$("div"),JJ.style.cssText="visibility:hidden;height:1px;top:-1px;pointer-events:none;position:relative;clear:both;cursor:grab",P7=JJ.style.cursor==="grab"?"grab":"move",E7=$&&$.userAgent.toLowerCase().indexOf("android")!==-1,L5="ontouchstart"in P1&&"orientation"in u0||$&&($.MaxTouchPoints>0||$.msMaxTouchPoints>0),D5=function(){var Q=o$("div"),Z=o$("div"),q=Z.style,W=$J,H;return q.display="inline-block",q.position="relative",Q.style.cssText="width:90px;height:40px;padding:10px;overflow:auto;visibility:hidden",Q.appendChild(Z),W.appendChild(Q),H=Z.offsetHeight+18>Q.scrollHeight,W.removeChild(Q),H}(),b7=function(Q){var Z=Q.split(","),q=("onpointerdown"in X5?"pointerdown,pointermove,pointerup,pointercancel":("onmspointerdown"in X5)?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":Q).split(","),W={},H=4;while(--H>-1)W[Z[H]]=q[H],W[q[H]]=Z[H];try{P1.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){bW=1}}))}catch(G){}return W}("touchstart,touchmove,touchend,touchcancel"),z9(U1,"touchcancel",n$),z9(u0,"touchmove",n$),$J&&$J.addEventListener("touchstart",n$),z9(U1,"contextmenu",function(){for(var Q in A8)if(A8[Q].isPressed)A8[Q].endDrag()}),A0=V5=yW()}if(A0)z1=A0.plugins.inertia,wW=A0.core.context||function(){},k7=A0.utils.checkPrefix,x7=k7(x7),R5=k7(R5),DJ=A0.utils.toArray,I5=A0.core.getStyleSaver,_W=!!k7("perspective");else if(J)console.warn("Please gsap.registerPlugin(Draggable)")},Uz=function(){function K($){this._listeners={},this.target=$||this}var J=K.prototype;return J.addEventListener=function(Q,Z){var q=this._listeners[Q]||(this._listeners[Q]=[]);if(!~q.indexOf(Z))q.push(Z)},J.removeEventListener=function(Q,Z){var q=this._listeners[Q],W=q&&q.indexOf(Z);W>=0&&q.splice(W,1)},J.dispatchEvent=function(Q){var Z=this,q;return(this._listeners[Q]||[]).forEach(function(W){return W.call(Z,{type:Q,target:Z.target})===!1&&(q=!1)}),q},K}(),nJ=function(K){e2(J,K);function J($,Q){var Z=K.call(this)||this;if(V5||M5(1),$=DJ($)[0],Z.styles=I5&&I5($,"transform,left,top"),!z1)z1=A0.plugins.inertia;Z.vars=Q=hW(Q||{}),Z.target=$,Z.x=Z.y=Z.rotation=0,Z.dragResistance=parseFloat(Q.dragResistance)||0,Z.edgeResistance=isNaN(Q.edgeResistance)?1:parseFloat(Q.edgeResistance)||0,Z.lockAxis=Q.lockAxis,Z.autoScroll=Q.autoScroll||0,Z.lockedAxis=null,Z.allowEventDefault=!!Q.allowEventDefault,A0.getProperty($,"x");var q=(Q.type||"x,y").toLowerCase(),W=~q.indexOf("x")||~q.indexOf("y"),H=q.indexOf("rotation")!==-1,G=H?"rotation":W?"x":"left",B=W?"y":"top",z=!!(~q.indexOf("x")||~q.indexOf("left")||q==="scroll"),F=!!(~q.indexOf("y")||~q.indexOf("top")||q==="scroll"),U=Q.minimumMovement||2,j=IW(Z),Y=DJ(Q.trigger||Q.handle||$),X={},N=0,V=!1,O=Q.autoScrollMarginTop||40,R=Q.autoScrollMarginRight||40,I=Q.autoScrollMarginBottom||40,L=Q.autoScrollMarginLeft||40,k=Q.clickableTest||jz,A=0,E=$._gsap||A0.core.getCache($),b=Bz($),w=function(D,_){return parseFloat(E.get($,D,_))},d=$.ownerDocument||U1,y,u,o,m,g,T,a,i,M,l,n,W0,h,e,$0,z0,H0,d0,S0,w0,m0,U0,X0,Q0,H9,P,x0,Y9,D9,T0,y0,c9,T9,g0=function(D){return R1(D),D.stopImmediatePropagation&&D.stopImmediatePropagation(),!1},N0=function J0(D){if(j.autoScroll&&j.isDragging&&(V||H0)){var _=$,C=j.autoScroll*15,S,v,x,p,f,s,K0,t;V=!1,e1.scrollTop=u0.pageYOffset!=null?u0.pageYOffset:d.documentElement.scrollTop!=null?d.documentElement.scrollTop:d.body.scrollTop,e1.scrollLeft=u0.pageXOffset!=null?u0.pageXOffset:d.documentElement.scrollLeft!=null?d.documentElement.scrollLeft:d.body.scrollLeft,p=j.pointerX-e1.scrollLeft,f=j.pointerY-e1.scrollTop;while(_&&!v){if(v=P8(_.parentNode),S=v?e1:_.parentNode,x=v?{bottom:Math.max(P1.clientHeight,u0.innerHeight||0),right:Math.max(P1.clientWidth,u0.innerWidth||0),left:0,top:0}:S.getBoundingClientRect(),s=K0=0,F){if(t=S._gsMaxScrollY-S.scrollTop,t<0)K0=t;else if(f>x.bottom-I&&t)V=!0,K0=Math.min(t,C*(1-Math.max(0,x.bottom-f)/I)|0);else if(fx.right-R&&t)V=!0,s=Math.min(t,C*(1-Math.max(0,x.right-p)/R)|0);else if(pC?C+(v-C)*x:v<_?_+(v-_)*x:v)*S)*S};if(A7(D))return function(v){var x=D.length,p=0,f=oJ,s,K0;while(--x>-1){if(s=D[x],K0=s-v,K0<0)K0=-K0;if(K0=_&&s<=C)p=x,f=K0}return D[p]};return isNaN(D)?function(v){return v}:function(){return D*S}},p9=function(D,_,C,S,v,x,p){if(x=x&&xC?C+(K0-C)*s:K0<_?_+(K0-_)*s:K0,f.y=t=t>v?v+(t-v)*s:tx)f.x=K0,f.y=t}return f};if(A7(D))return function(f){var s=D.length,K0=0,t=oJ,B0,k0,E0,I0;while(--s>-1)if(E0=D[s],B0=E0.x-f.x,k0=E0.y-f.y,I0=B0*B0+k0*k0,I0l)j.minX=l,j.maxX=l=n,n=j.minX;if(h>W0)j.minY=W0,j.maxY=W0=h,h=j.minY;if(H)j.minRotation=n,j.maxRotation=l;a=!0}if(Q.liveSnap)if(C=Q.liveSnap===!0?Q.snap||{}:Q.liveSnap,S=A7(C)||RJ(C),H)S0=a0(S?C:C.rotation,n,l,1),w0=null;else if(C.points)m0=p9(S?C:C.points,n,l,h,W0,C.radius,u?-1:1);else{if(z)S0=a0(S?C:C.x||C.left||C.scrollLeft,n,l,u?-1:1);if(F)w0=a0(S?C:C.y||C.top||C.scrollTop,h,W0,u?-1:1)}},CJ=function(){j.isThrowing=!1,Z9(j,"throwcomplete","onThrowComplete")},r0=function(){j.isThrowing=!1},QJ=function(D,_){var C,S,v,x;if(D&&z1){if(D===!0)if(C=Q.snap||Q.liveSnap||{},S=A7(C)||RJ(C),D={resistance:(Q.throwResistance||Q.resistance||1000)/(H?10:1)},H)D.rotation=N5(j,S?C:C.rotation,l,n,1,_);else{if(z)D[G]=N5(j,S?C:C.points||C.x||C.left,l,n,u?-1:1,_||j.lockedAxis==="x");if(F)D[B]=N5(j,S?C:C.points||C.y||C.top,W0,h,u?-1:1,_||j.lockedAxis==="y");if(C.points||A7(C)&&S7(C[0]))D.linkedProps=G+","+B,D.radius=C.radius}if(j.isThrowing=!0,x=!isNaN(Q.overshootTolerance)?Q.overshootTolerance:Q.edgeResistance===1?0:1-j.edgeResistance+0.2,!D.duration)D.duration={max:Math.max(Q.minDuration||0,"maxDuration"in Q?Q.maxDuration:2),min:!isNaN(Q.minDuration)?Q.minDuration:x===0||S7(D)&&D.resistance>1000?0:0.5,overshoot:x};if(j.tween=v=A0.to(u||$,{inertia:D,data:"_draggable",inherit:!1,onComplete:CJ,onInterrupt:r0,onUpdate:Q.fastMode?Z9:L0,onUpdateParams:Q.fastMode?[j,"onthrowupdate","onThrowUpdate"]:C&&C.radius?[!1,!0]:[]}),!Q.fastMode){if(u)u._skip=!0;if(v.render(1e9,!0,!0),L0(!0,!0),j.endX=j.x,j.endY=j.y,H)j.endRotation=j.x;if(v.play(0),L0(!0,!0),u)u._skip=!1}}else if(a)j.applyBounds()},X1=function(D){var _=Q0,C;if(Q0=LJ($.parentNode,!0),D&&j.isPressed&&!Q0.equals(_||new VJ))C=_.inverse().apply({x:o,y:m}),Q0.apply(C,C),o=C.x,m=C.y;if(Q0.equals(Jz))Q0=null},O1=function(){var D=1-j.edgeResistance,_=b?E8(d):0,C=b?k8(d):0,S,v,x;if(W)E.x=w(G,"px")+"px",E.y=w(B,"px")+"px",E.renderTransform();if(X1(!1),D1.x=j.pointerX-_,D1.y=j.pointerY-C,Q0&&Q0.apply(D1,D1),o=D1.x,m=D1.y,H0)$1(j.pointerX,j.pointerY),N0(!0);if(c9=LJ($),u)e9(),T=u.top(),g=u.left();else{if(F1())L0(!0,!0),e9();else j.applyBounds();if(H)S=$.ownerSVGElement?[E.xOrigin-$.getBBox().x,E.yOrigin-$.getBBox().y]:(w7($)[R5]||"0 0").split(" "),z0=j.rotationOrigin=LJ($).apply({x:parseFloat(S[0])||0,y:parseFloat(S[1])||0}),L0(!0,!0),v=j.pointerX-z0.x-_,x=z0.y-j.pointerY+C,g=j.x,T=j.y=Math.atan2(x,v)*RW;else T=w(B,"px"),g=w(G,"px")}if(a&&D){if(g>l)g=l+(g-l)/D;else if(gW0)T=W0+(T-W0)/D;else if(T2)?!1:z?"y":"x",y0=!P&&!j.allowEventDefault,y0)R1(D),z9(u0,"touchforcechange",R1);if(D.changedTouches)D=e=D.changedTouches[0],$0=D.identifier;else if(D.pointerId)$0=D.pointerId;else e=$0=null;if(a$++,Kz(N0),m=j.pointerY=D.pageY,o=j.pointerX=D.pageX,Z9(j,"pressInit","onPressInit"),P||j.autoScroll)F5($.parentNode);if($.parentNode&&j.autoScroll&&!u&&!H&&$.parentNode._gsMaxScrollX&&!JJ.parentNode&&!$.getBBox)JJ.style.width=$.parentNode.scrollWidth+"px",$.parentNode.appendChild(JJ);if(O1(),j.tween&&j.tween.kill(),j.isThrowing=!1,A0.killTweensOf(u||$,X,!0),u&&A0.killTweensOf($,{scrollTo:1},!0),j.tween=j.lockedAxis=null,Q.zIndexBoost||!H&&!u&&Q.zIndexBoost!==!1)$.style.zIndex=J.zIndex++;if(j.isPressed=!0,i=!!(Q.onDrag||j._listeners.drag),M=!!(Q.onMove||j._listeners.move),Q.cursor!==!1||Q.activeCursor){C=Y.length;while(--C>-1)A0.set(Y[C],{cursor:Q.activeCursor||Q.cursor||(P7==="grab"?"grabbing":P7)})}Z9(j,"press","onPress"),z1&&z1.track(u||$,W?"x,y":H?"rotation":"top,left")},G0=function(D){var _=D,C,S,v,x,p,f;if(!y||O5||!j.isPressed||!D){y0&&D&&y&&R1(D);return}if(j.pointerEvent=D,C=D.changedTouches,C){if(D=C[0],D!==e&&D.identifier!==$0){x=C.length;while(--x>-1&&(D=C[x]).identifier!==$0&&D.target!==$);if(x<0)return}}else if(D.pointerId&&$0&&D.pointerId!==$0)return;if(X0&&P&&!x0){if(D1.x=D.pageX-(b?E8(d):0),D1.y=D.pageY-(b?k8(d):0),Q0&&Q0.apply(D1,D1),S=D1.x,v=D1.y,p=Math.abs(S-o),f=Math.abs(v-m),p!==f&&(p>U||f>U)||E7&&P===x0){if(x0=p>f&&z?"x":"y",P&&x0!==P)z9(u0,"touchforcechange",R1);if(j.vars.lockAxisOnTouchScroll!==!1&&z&&F)j.lockedAxis=x0==="x"?"y":"x",RJ(j.vars.onLockAxis)&&j.vars.onLockAxis.call(j,_);if(E7&&P===x0){o0(_);return}}}if(!j.allowEventDefault&&(!P||x0&&P!==x0)&&_.cancelable!==!1)R1(_),y0=!0;else if(y0)y0=!1;if(j.autoScroll)V=!0;$1(D.pageX,D.pageY,M)},$1=function(D,_,C){var S=1-j.dragResistance,v=1-j.edgeResistance,x=j.pointerX,p=j.pointerY,f=T,s=j.x,K0=j.y,t=j.endX,B0=j.endY,k0=j.endRotation,E0=H0,I0,D0,h0,j0,N9,c0;if(j.pointerX=D,j.pointerY=_,b)D-=E8(d),_-=k8(d);if(H){if(j0=d9(Math.atan2(z0.y-_,D-z0.x)*RW),N9=j.y-j0,N9>180)T-=360,j.y=j0;else if(N9<-180)T+=360,j.y=j0;if(Q0)c0=D*Q0.a+_*Q0.c+Q0.e,_=D*Q0.b+_*Q0.d+Q0.f,D=c0;if(j.x!==g||Math.max(Math.abs(o-D),Math.abs(m-_))>U)j.y=j0,h0=d9(g+(T-j0)*S);else h0=g}else{if(Q0)c0=D*Q0.a+_*Q0.c+Q0.e,_=D*Q0.b+_*Q0.d+Q0.f,D=c0;if(D0=_-m,I0=D-o,D0-U)D0=0;if(I0-U)I0=0;if((j.lockAxis||j.lockedAxis)&&(I0||D0)){if(c0=j.lockedAxis,!c0){if(j.lockedAxis=c0=z&&Math.abs(I0)>Math.abs(D0)?"y":F?"x":null,c0&&RJ(j.vars.onLockAxis))j.vars.onLockAxis.call(j,j.pointerEvent)}if(c0==="y")D0=0;else if(c0==="x")I0=0}h0=d9(g+I0*S),j0=d9(T+D0*S)}if((S0||w0||m0)&&(j.x!==h0||j.y!==j0&&!H)){if(m0)O8.x=h0,O8.y=j0,c0=m0(O8),h0=d9(c0.x),j0=d9(c0.y);if(S0)h0=d9(S0(h0));if(w0)j0=d9(w0(j0))}if(a){if(h0>l)h0=l+Math.round((h0-l)*v);else if(h0W0)j0=Math.round(W0+(j0-W0)*v);else if(j02),x=A0.delayedCall(0.001,S1),p,f,s,K0,t;if(X0)W9(X0,"touchend",J0),W9(X0,"touchmove",G0),W9(X0,"touchcancel",J0),W9(d,"touchstart",kW);else W9(d,"mousemove",G0);if(W9(u0,"touchforcechange",R1),!i$||!X0)W9(d,"mouseup",J0),D&&D.target&&W9(D.target,"mouseup",J0);if(H0=!1,S)N=DW=IJ(),j.isDragging=!1;if(AW(N0),U0&&!v){if(D)W9(D.target,"change",J0),j.pointerEvent=C;s$(Y,!1),Z9(j,"release","onRelease"),Z9(j,"click","onClick"),U0=!1;return}f=Y.length;while(--f>-1)Y5(Y[f],"cursor",Q.cursor||(Q.cursor!==!1?P7:null));if(a$--,D){if(p=D.changedTouches,p){if(D=p[0],D!==e&&D.identifier!==$0){f=p.length;while(--f>-1&&(D=p[f]).identifier!==$0&&D.target!==$);if(f<0&&!_)return}}j.pointerEvent=C,j.pointerX=D.pageX,j.pointerY=D.pageY}if(v&&C)R1(C),y0=!0,Z9(j,"release","onRelease");else if(C&&!S){if(y0=!1,H9&&(Q.snap||Q.bounds))QJ(Q.inertia||Q.throwProps);if(Z9(j,"release","onRelease"),(!E7||C.type!=="touchmove")&&C.type.indexOf("cancel")===-1){if(Z9(j,"click","onClick"),IJ()-A<300)Z9(j,"doubleclick","onDoubleClick");if(K0=C.target||$,A=IJ(),t=function(){if(A!==D9&&j.enabled()&&!j.isPressed&&!C.defaultPrevented){if(K0.click)K0.click();else if(d.createEvent)s=d.createEvent("MouseEvents"),s.initMouseEvent("click",!0,!0,u0,1,j.pointerEvent.screenX,j.pointerEvent.screenY,j.pointerX,j.pointerY,!1,!1,!1,!1,0,null),K0.dispatchEvent(s)}},!E7&&!C.defaultPrevented)A0.delayedCall(0.05,t)}}else{if(QJ(Q.inertia||Q.throwProps),!j.allowEventDefault&&C&&(Q.dragClickables!==!1||!k.call(j,C.target))&&S&&(!P||x0&&P===x0)&&C.cancelable!==!1)y0=!0,R1(C);else y0=!1;Z9(j,"release","onRelease")}return F1()&&x.duration(j.tween.duration()),S&&Z9(j,"dragend","onDragEnd"),!0},O9=function(D){if(D&&j.isDragging&&!u){var _=D.target||$.parentNode,C=_.scrollLeft-_._gsScrollX,S=_.scrollTop-_._gsScrollY;if(C||S){if(Q0)o-=C*Q0.a+S*Q0.c,m-=S*Q0.d+C*Q0.b;else o-=C,m-=S;_._gsScrollX+=C,_._gsScrollY+=S,$1(j.pointerX,j.pointerY)}}},l9=function(D){var _=IJ(),C=_-A<100,S=_-N<50,v=C&&D9===A,x=j.pointerEvent&&j.pointerEvent.defaultPrevented,p=C&&T0===A,f=D.isTrusted||D.isTrusted==null&&C&&v;if((v||S&&j.vars.suppressClickOnDrag!==!1)&&D.stopImmediatePropagation)D.stopImmediatePropagation();if(C&&!(j.pointerEvent&&j.pointerEvent.defaultPrevented)&&(!v||f&&!p)){if(f&&v)T0=A;D9=A;return}if(j.isPressed||S||C){if(!f||!D.detail||!C||x)R1(D)}if(!C&&!S&&!T9)D&&D.target&&(j.pointerEvent=D),Z9(j,"click","onClick")},x1=function(D){return Q0?{x:D.x*Q0.a+D.y*Q0.c+Q0.e,y:D.x*Q0.b+D.y*Q0.d+Q0.f}:{x:D.x,y:D.y}};if(d0=J.get($),d0&&d0.kill(),Z.startDrag=function(J0,D){var _,C,S,v;if(J1(J0||j.pointerEvent,!0),D&&!j.hitTest(J0||j.pointerEvent))_=C8(J0||j.pointerEvent),C=C8($),S=x1({x:_.left+_.width/2,y:_.top+_.height/2}),v=x1({x:C.left+C.width/2,y:C.top+C.height/2}),o-=S.x-v.x,m-=S.y-v.y;if(!j.isDragging)j.isDragging=T9=!0,Z9(j,"dragstart","onDragStart")},Z.drag=G0,Z.endDrag=function(J0){return o0(J0||j.pointerEvent,!0)},Z.timeSinceDrag=function(){return j.isDragging?0:(IJ()-N)/1000},Z.timeSinceClick=function(){return(IJ()-A)/1000},Z.hitTest=function(J0,D){return J.hitTest(j.target,J0,D)},Z.getDirection=function(J0,D){var _=J0==="velocity"&&z1?J0:S7(J0)&&!H?"element":"start",C,S,v,x,p,f;if(_==="element")p=C8(j.target),f=C8(J0);if(C=_==="start"?j.x-g:_==="velocity"?z1.getVelocity($,G):p.left+p.width/2-(f.left+f.width/2),H)return C<0?"counter-clockwise":"clockwise";else if(D=D||2,S=_==="start"?j.y-T:_==="velocity"?z1.getVelocity($,B):p.top+p.height/2-(f.top+f.height/2),v=Math.abs(C/S),x=v<1/D?"":C<0?"left":"right",vl)_=l;else if(_W0)C=W0;else if(Cx._gsMaxScrollY)x.scrollTop=x._gsMaxScrollY;if(z&&x.scrollLeft>x._gsMaxScrollX)x.scrollLeft=x._gsMaxScrollX;v=x}}}if(j.isThrowing&&(S||j.endX>l||j.endXW0||j.endY0.01||F&&Math.abs(p-j.y)>0.01&&!H))O1();if(j.autoScroll)F5($.parentNode,j.isDragging),V=j.isDragging,N0(!0),PW($,O9),EW($,O9);return j},Z.enable=function(J0){var D={lazy:!0},_,C,S;if(Q.cursor!==!1)D.cursor=Q.cursor||P7;if(A0.utils.checkPrefix("touchCallout"))D.touchCallout="none";if(J0!=="soft"){OW(Y,z===F?"none":Q.allowNativeTouchScrolling&&$.scrollHeight===$.clientHeight===($.scrollWidth===$.clientHeight)||Q.allowEventDefault?"manipulation":z?"pan-y":"pan-x"),C=Y.length;while(--C>-1){if(S=Y[C],i$||z9(S,"mousedown",J1),z9(S,"touchstart",J1),z9(S,"click",l9,!0),A0.set(S,D),S.getBBox&&S.ownerSVGElement&&z!==F)A0.set(S.ownerSVGElement,{touchAction:Q.allowNativeTouchScrolling||Q.allowEventDefault?"manipulation":z?"pan-y":"pan-x"});Q.allowContextMenu||z9(S,"contextmenu",g0)}s$(Y,!1)}if(EW($,O9),y=!0,z1&&J0!=="soft")z1.track(u||$,W?"x,y":H?"rotation":"top,left");if($._gsDragID=_=$._gsDragID||"d"+$z++,A8[_]=j,u)u.enable(),u.element._gsDragID=_;return(Q.bounds||H)&&O1(),Q.bounds&&j.applyBounds(),j},Z.disable=function(J0){var D=j.isDragging,_=Y.length,C;while(--_>-1)Y5(Y[_],"cursor",null);if(J0!=="soft"){OW(Y,null),_=Y.length;while(--_>-1)C=Y[_],Y5(C,"touchCallout",null),W9(C,"mousedown",J1),W9(C,"touchstart",J1),W9(C,"click",l9,!0),W9(C,"contextmenu",g0);if(s$(Y,!0),X0)W9(X0,"touchcancel",o0),W9(X0,"touchend",o0),W9(X0,"touchmove",G0);W9(d,"mouseup",o0),W9(d,"mousemove",G0)}if(PW($,O9),y=!1,z1&&J0!=="soft")z1.untrack(u||$,W?"x,y":H?"rotation":"top,left"),j.tween&&j.tween.kill();return u&&u.disable(),AW(N0),j.isDragging=j.isPressed=U0=!1,D&&Z9(j,"dragend","onDragEnd"),j},Z.enabled=function(J0,D){return arguments.length?J0?j.enable(D):j.disable(D):y},Z.kill=function(){return j.isThrowing=!1,j.tween&&j.tween.kill(),j.disable(),A0.set(Y,{clearProps:"userSelect"}),delete A8[$._gsDragID],j},Z.revert=function(){this.kill(),this.styles&&this.styles.revert()},~q.indexOf("scroll"))u=Z.scrollProxy=new zz($,Zz({onKill:function(){j.isPressed&&o0(null)}},Q)),$.style.overflowY=F&&!L5?"auto":"hidden",$.style.overflowX=z&&!L5?"auto":"hidden",$=u.content;if(H)X.rotation=1;else{if(z)X[G]=1;if(F)X[B]=1}return E.force3D="force3D"in Q?Q.force3D:!0,wW(IW(Z)),Z.enable(),Z}return J.register=function(Q){A0=Q,M5()},J.create=function(Q,Z){return V5||M5(!0),DJ(Q).map(function(q){return new J(q,Z)})},J.get=function(Q){return A8[(DJ(Q)[0]||{})._gsDragID]},J.timeSinceDrag=function(){return(IJ()-DW)/1000},J.hitTest=function(Q,Z,q){if(Q===Z)return!1;var W=C8(Q),H=C8(Z),G=W.top,B=W.left,z=W.right,F=W.bottom,U=W.width,j=W.height,Y=H.left>z||H.rightF||H.bottom=U*j*q||N>=H.width*H.height*q;return X.width>q&&X.height>q},J}(Uz);qz(nJ.prototype,{pointerX:0,pointerY:0,startX:0,startY:0,deltaX:0,deltaY:0,isDragging:!1,isPressed:!1});nJ.zIndex=1000;nJ.version="3.15.0";yW()&&A0.registerPlugin(nJ);/*! * VelocityTracker: 3.15.0 * https://gsap.com * * Copyright 2008-2026, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var g1,A5,y7,uW,S8,aJ,r$,mW,gW,dW=function(){return g1||typeof window<"u"&&(g1=window.gsap)},k5={},Xz=function(J){return Math.round(J*1e4)/1e4},E5=function(J){return gW(J).id},T7=function(J){return k5[E5(typeof J==="string"?y7(J)[0]:J)]},vW=function(J){var $=S8,Q;if(J-r$>=0.05){mW=r$,r$=J;while($){if(Q=$.g($.t,$.p),Q!==$.v1||J-$.t1>0.2)$.v2=$.v1,$.v1=Q,$.t2=$.t1,$.t1=J;$=$._next}}},Fz={deg:360,rad:Math.PI*2},C5=function(){if(g1=dW(),g1)y7=g1.utils.toArray,uW=g1.utils.getUnit,gW=g1.core.getCache,aJ=g1.ticker,A5=1},Yz=function(J,$,Q,Z){if(this.t=J,this.p=$,this.g=J._gsap.get,this.rCap=Fz[Q||uW(this.g(J,$))],this.v1=this.v2=this.g(J,$),this.t1=this.t2=aJ.time,Z)this._next=Z,Z._prev=this},x8=function(){function K($,Q){A5||C5(),this.target=y7($)[0],k5[E5(this.target)]=this,this._props={},Q&&this.add(Q)}K.register=function(Q){g1=Q,C5()};var J=K.prototype;return J.get=function(Q,Z){var q=this._props[Q]||console.warn("Not tracking "+Q+" velocity."),W,H,G;if(W=parseFloat(Z?q.v1:q.g(q.t,q.p)),H=W-parseFloat(q.v2),G=q.rCap,G){if(H=H%G,H!==H%(G/2))H=H<0?H+G:H-G}return Xz(H/((Z?q.t1:aJ.time)-q.t2))},J.getAll=function(){var Q={},Z=this._props,q;for(q in Z)Q[q]=this.get(q);return Q},J.isTracking=function(Q){return Q in this._props},J.add=function(Q,Z){var q=this._props[Q];if(q)q.v1=q.v2=q.g(q.t,q.p),q.t1=q.t2=aJ.time;else{if(!S8)aJ.add(vW),r$=mW=aJ.time;S8=this._props[Q]=new Yz(this.target,Q,Z,S8)}},J.remove=function(Q){var Z=this._props[Q],q,W;if(Z){if(q=Z._prev,W=Z._next,q)q._next=W;if(W)W._prev=q;else if(S8===Z)aJ.remove(vW),S8=0;delete this._props[Q]}},J.kill=function(Q){for(var Z in this._props)this.remove(Z);if(!Q)delete k5[E5(this.target)]},K.track=function(Q,Z,q){A5||C5();var W=[],H=y7(Q),G=Z.split(","),B=(q||"").split(","),z=H.length,F,U;while(z--){F=T7(H[z])||new K(H[z]),U=G.length;while(U--)F.add(G[U],B[U]||B[0]);W.push(F)}return W},K.untrack=function(Q,Z){var q=Z&&Z.split(",");y7(Q).forEach(function(W){var H=T7(W);if(H)q?q.forEach(function(G){return H.remove(G)}):H.kill(1)})},K.isTracking=function(Q,Z){var q=T7(Q);return q&&q.isTracking(Z)},K.getVelocity=function(Q,Z){var q=T7(Q);return!q||!q.isTracking(Z)?console.warn("Not tracking velocity of "+Z):q.get(Z)},K}();x8.getByTarget=T7;dW()&&g1.registerPlugin(x8);/*! * InertiaPlugin 3.15.0 * https://gsap.com * * @license Copyright 2008-2026, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var U9,iW,cW,nW,P5,h7,aW,rW,tW,b5,eW,f7,S5,JH,t$=x8.getByTarget,$H=function(){return U9||typeof window<"u"&&(U9=window.gsap)&&U9.registerPlugin&&U9},Nz=function(J){return typeof J==="string"},_7=function(J){return typeof J==="number"},OJ=function(J){return typeof J==="object"},x5=function(J){return typeof J==="function"},Mz=1,QH=Array.isArray,Vz=function(J){return J},rJ=10000000000,pW=1/rJ,ZH=0.05,Lz=function(J){return Math.round(J*1e4)/1e4},Iz=function(J,$,Q){for(var Z in $)if(!(Z in J)&&Z!==Q)J[Z]=$[Z];return J},Rz=function K(J){var $={},Q,Z;for(Q in J)$[Q]=OJ(Z=J[Q])&&!QH(Z)?K(Z):Z;return $},lW=function(J,$,Q,Z,q){var W=$.length,H=0,G=rJ,B,z,F,U;if(OJ(J)){while(W--){B=$[W],z=0;for(F in J)U=B[F]-J[F],z+=U*U;if(z=Z&&B<=Q)H=W,G=z}return $[H]},KH=function(J,$,Q,Z,q,W,H){if(J.end==="auto")return J;var G=J.end,B,z;if(Q=isNaN(Q)?rJ:Q,Z=isNaN(Z)?-rJ:Z,OJ($)){if(B=$.calculated?$:(x5(G)?G($,H):lW($,G,Q,Z,W))||$,!$.calculated){for(z in B)$[z]=B[z];$.calculated=!0}B=B[q]}else B=x5(G)?G($,H):QH(G)?lW($,G,Q,Z,W):parseFloat(G);if(B>Q)B=Q;else if(B+j.max+pW){if(I=j.unitFactor||h7.unitFactors[U]||1,O=N>j.max&&j.min!==j.max||X*I>-15&&X*I<45?Z+(Q-Z)*0.1:oW(N,j.max,X),O+q-45&&X*I<15?Z+(Q-Z)*0.1:oW(N,j.min,X),O+qH&&(H=O)}Y>H&&(H=Y)}return H>G&&(H=G),H>Q?Q:HI)if(F||X.preventOvershoot)R=X.min-N;else L=X.min-N-R}this._props.push(Y),this.styles&&this.styles.save(Y),this._pt=new rW(this._pt,J,Y,N,0,Vz,0,H.set(J,Y,this)),this._pt.u=V||0,this._pt.c1=R,this._pt.c2=L}return Q.duration(j),Mz},render:function(J,$){var Q=$._pt;if(J=P5($.tween._time/$.tween._dur),J||!JH())while(Q)Q.set(Q.t,Q.p,Lz(Q.s+Q.c1*J+Q.c2*J*J)+Q.u,Q.d,J),Q=Q._next;else $.styles.revert()}};"track,untrack,isTracking,getVelocity,getByTarget".split(",").forEach(function(K){return JQ[K]=x8[K]});$H()&&U9.registerPlugin(JQ);c.registerPlugin(nJ,JQ);var Oz=991,HH=()=>window.matchMedia(`(min-width: ${Oz}px)`).matches,Cz=".swiper",Az=".swiper-wrapper",kz=".swiper-slide",Ez=".slider-navigation",GH=".slider-navigation-dot",Pz='[data-attribute="slider-arrow-left"]',Sz='[data-attribute="slider-arrow-right"]',T5="is-active",xz=0.5,bz="power3.out",wz=0.65,jH=3;function BH(K,J){let $=K.querySelector(Cz),Q=K.querySelector(Az),Z=Q?Array.from(Q.querySelectorAll(kz)):[];if(!$||!Q)return;let q=K.querySelector(Ez),W=K.querySelector(Pz),H=K.querySelector(Sz),G=Z.length>jH;if(!G){if(q)q.style.display="none";if(W)W.style.display="none";if(H)H.style.display="none"}let B=G?jH:Z.length,z=G?Z.length-B+1:1,F=G?q?.querySelector(GH)??null:null,U=F?Array.from(q.querySelectorAll(GH)).findIndex((M)=>M.classList.contains(T5)):-1,j=[];if(q&&F)q.innerHTML="",j=Array.from({length:z},()=>{let M=F.cloneNode(!0);return M.classList.remove(T5),q.appendChild(M),M});let Y=Math.max(0,U),X=[],N={minX:0,maxX:0},V=null,O=()=>{X=Z.slice(0,z).map((W0)=>-W0.offsetLeft);let M=Z[Z.length-1],l=M.offsetLeft+M.offsetWidth;N={minX:-Math.max(l-$.clientWidth,0),maxX:0}},R=(M)=>c.utils.clamp(N.minX,N.maxX,M),I=(M)=>X.reduce((l,n)=>Math.abs(n-M)X.indexOf(I(M)),k=(M)=>R(I(M)),A=()=>{j.forEach((M,l)=>M.classList.toggle(T5,l===Y))},E=(M,l=!0)=>{Y=c.utils.wrap(0,z,M);let n=R(X[Y]??0);if(c.killTweensOf(Q),l)c.to(Q,{x:n,duration:xz,ease:bz,onUpdate:()=>V?.update()});else c.set(Q,{x:n}),V?.update();A()},b=()=>V&&E(Y-1),w=()=>V&&E(Y+1),d=(M)=>{if(!V)return;let l=j.indexOf(M.currentTarget);if(l!==-1)E(l)};if(G)W?.addEventListener("click",b),H?.addEventListener("click",w),j.forEach((M)=>M.addEventListener("click",d)),A();let y=()=>{if(!V)return;Y=L(V.x),A()},u=()=>{if(V)return;O(),V=nJ.create(Q,{type:"x",bounds:N,inertia:!0,edgeResistance:wz,snap:k,onThrowComplete:y})[0],E(Y,!1)},o=()=>{c.killTweensOf(Q),V?.kill(),V=null,c.set(Q,{clearProps:"x"})},m=()=>{let M=Y;O(),V?.applyBounds(N),E(M,!1)},g=(M)=>{if(!M){Z.forEach((n)=>n.style.removeProperty("width"));return}if(!G){let W0=`calc((100% - ${(parseFloat(getComputedStyle(Q).columnGap)||0)*(Z.length-1)}px) / ${Z.length})`;Z.forEach((h)=>h.style.width=W0);return}let l=`${100/B}%`;Z.forEach((n)=>n.style.width=l)},T=HH();if(g(T),G)(T?u:o)();let a=()=>{let M=HH();if(!G)g(M);else if(M!==T)T=M,g(T),(T?u:o)();else if(T)m()},i=V0.add(a);Z0(()=>{i(),o(),W?.removeEventListener("click",b),H?.removeEventListener("click",w),j.forEach((M)=>M.removeEventListener("click",d))})}var h5={};P0(h5,{default:()=>UH});var zH={x:'[data-attribute="x"]',linkedin:'[data-attribute="linkedin"]',facebook:'[data-attribute="facebook"]',email:'[data-attribute="email"]',wechat:'[data-attribute="wechat"]'},Tz="noopener,noreferrer,width=600,height=600",yz='[data-attribute="button-text"]',hz="Link copied",fz=2000;function _z(K,J,$){let Q=encodeURIComponent(J);switch(K){case"x":return`https://twitter.com/intent/tweet?url=${Q}&text=${encodeURIComponent($)}`;case"linkedin":return`https://www.linkedin.com/sharing/share-offsite/?url=${Q}`;case"facebook":return`https://www.facebook.com/sharer/sharer.php?u=${Q}`;case"email":return`mailto:?subject=${encodeURIComponent($)}&body=${Q}`}}function vz(K,J,$,Q){let Z=(q)=>{q.preventDefault();let W=_z(J,$,Q);if(J==="email")window.location.href=W;else window.open(W,"_blank",Tz)};return K.addEventListener("click",Z),()=>K.removeEventListener("click",Z)}function uz(K,J){let $=K.querySelector(yz),Q=$?.textContent??"",Z,q=async(W)=>{W.preventDefault();try{await navigator.clipboard.writeText(J)}catch{return}if(clearTimeout(Z),K.dataset.copied="true",$)$.textContent=hz;Z=setTimeout(()=>{if(delete K.dataset.copied,$)$.textContent=Q},fz)};return K.addEventListener("click",q),()=>{K.removeEventListener("click",q),clearTimeout(Z)}}function UH(K,J){let $=window.location.href,Q=document.title,Z=Object.keys(zH).flatMap((q)=>{let W=K.querySelector(zH[q]);if(!W)return[];return[q==="wechat"?uz(W,$):vz(W,q,$,Q)]});Z0(()=>{Z.forEach((q)=>q())})}var f5={};P0(f5,{default:()=>XH});function mz(K){K.setAttribute("aria-hidden","true"),K.style.position="absolute",K.style.left="-9999px",K.style.top="-9999px",K.style.width="1px"}var gz=(K)=>{let J=K.textContent;K.textContent="";let $=document.createElement("span");$.textContent=J,K.appendChild($),mz($);let Q=document.createElement("span");return Q.setAttribute("data-css","overflow-clip"),Q.textContent=J,Q.setAttribute("aria-hidden","true"),K.appendChild(Q),new P$(Q,{type:"chars"})};function XH(K){let J=gz(K);S$(K,{autoStart:!0,callback:({isIn:$})=>{if($)c.to(J.chars,{yPercent:0,stagger:0.02});else c.killTweensOf(J.chars),c.set(J.chars,{yPercent:100})}})}var v5={};P0(v5,{default:()=>FH});var dz='[data-attribute="sticky-nav-comp"]',cz='[data-attribute="anchor-button"]',_5="is-active",pz=1,lz="(max-width: 767px)",oz=96,sz=64;function FH(K,J){let $=K.querySelector(dz);if(!$)return;let Q=Number(J.offsetDesktop)||oz,Z=Number(J.offsetMobile)||sz,q=()=>window.matchMedia(lz).matches?Z:Q,W=()=>{let Y=K.getBoundingClientRect();return Y.top<=q()&&Y.bottom>window.innerHeight},H=$.classList.contains(_5),G=()=>{let Y=W();if(Y===H)return;H=Y,$.classList.toggle(_5,Y)},B=(Y)=>{let X=Y.target.closest(cz);if(!X||!K.contains(X)||!X.hash)return;let N=document.getElementById(decodeURIComponent(X.hash.slice(1)));if(!N)return;Y.preventDefault(),Y.stopPropagation(),R0.scrollTo(N,{offset:-q(),duration:pz})},z=null,F=null,U=null;function j(){q0.refresh(),G()}t9(()=>{z=q0.create({trigger:K,start:()=>`top top+=${q()}`,end:"bottom bottom",markers:J.markers!=null,onToggle:G,onRefresh:G,onUpdate:G}),F=R0.add(G),U=V0.add(G),G(),requestAnimationFrame(G),K.addEventListener("click",B),window.addEventListener("load",j,{once:!0})}),Z0(()=>{K.removeEventListener("click",B),window.removeEventListener("load",j),F?.(),U?.(),F=null,U=null,z?.kill(),z=null,$.classList.remove(_5)})}var m5={};P0(m5,{default:()=>VH});var iz="nav.nav",nz=72,az="--tab-floater-offset",rz="tab-floater-w",tz="tab-floater-menu",YH="tab-floater-button",ez="text-title-h5",NH="is-active",JU=8,$U=1,QU="__tabFloaterInit",ZU=".tab-floater";function KU(){window[QU]=!0,document.querySelectorAll(ZU).forEach((K)=>K.remove())}function MH({section:K,menu:J,tabs:$,onSelect:Q}){KU();let Z=document.querySelector(iz),q=()=>Z?.offsetHeight||nz,W=document.createElement("div");W.className=rz;let H=document.createElement("div");H.className=tz,W.appendChild(H);let G=$.map(({index:V,label:O})=>{let R=document.createElement("button");R.type="button",R.className=YH,R.dataset.index=V,R.setAttribute("aria-pressed","false");let I=document.createElement("div");return I.className=ez,I.textContent=O,R.appendChild(I),H.appendChild(R),R});document.body.appendChild(W);let B=(V)=>{G.forEach((O)=>{let R=O.dataset.index===V;O.classList.toggle(NH,R),O.setAttribute("aria-pressed",String(R))})},z=!1,F=-1,U=()=>{let V=q();if(V!==F)F=V,W.style.setProperty(az,`${V}px`);let O=J.getBoundingClientRect(),R=K.getBoundingClientRect(),I=O.bottom<=V&&R.bottom>V;if(I===z)return;z=I,W.classList.toggle(NH,I)},j=(V)=>{let R=V.target.closest(`.${YH}`)?.dataset.index;if(!R)return;Q(R),R0.scrollTo(K,{offset:-(q()+JU),duration:$U})};H.addEventListener("click",j);let Y=R0.add(U),X=V0.add(U);return U(),requestAnimationFrame(U),window.addEventListener("load",U,{once:!0}),{setActive:B,destroy:()=>{Y(),X(),window.removeEventListener("load",U),H.removeEventListener("click",j),W.remove()}}}var qU='[data-attribute="tab-button"]',WU='[data-attribute="tab-content"]',HU='[data-attribute="current-text"]',GU=".tab-menu-w",u5="is-active",jU=0.25,BU="power2.inOut",zU=0.45,UU="sine.out";function VH(K,J){let $=Array.from(K.querySelectorAll(qU)),Q=Array.from(K.querySelectorAll(WU));if(!$.length||!Q.length)return;let Z=K.querySelector(HU),q=(X)=>Q.find((N)=>N.getAttribute("content-index")===X),W=(X)=>$.find((N)=>N.getAttribute("button-index")===X),H=null,G=null,B=null,z=(X,N)=>{if(X===H)return;let V=q(X);if(!V)return;let O=H?q(H):void 0;if(H=X,Z){let R=W(X);Z.textContent=R?.textContent?.trim()??""}if($.forEach((R)=>{R.classList.toggle(u5,R.getAttribute("button-index")===X)}),B?.setActive(X),Q.forEach((R)=>{if(R.classList.toggle(u5,R===V),R!==V&&R!==O)c.set(R,{display:"none"})}),G?.kill(),!N||l0||!O){if(O)c.set(O,{display:"none"});c.set(V,{display:"flex",opacity:1});return}G=c.timeline().to(O,{opacity:0,duration:jU,ease:BU}).set(O,{display:"none"}).set(V,{display:"flex",opacity:0}).to(V,{opacity:1,duration:zU,ease:UU})},F=(X)=>{let N=X.currentTarget,V=N.getAttribute("button-index");if(V)z(V,!0);w$(N)};$.forEach((X)=>X.addEventListener("click",F));let U=K.querySelector(GU);if(J.floater!=null&&J.floater!=="false"&&U)B=MH({section:K,menu:U,tabs:$.flatMap((X)=>{let N=X.getAttribute("button-index");return N?[{index:N,label:X.textContent?.trim()??""}]:[]}),onSelect:(X)=>z(X,!0)});let Y=($.find((X)=>X.classList.contains(u5))??$[0]).getAttribute("button-index");if(Y)z(Y,!1);Z0(()=>{G?.kill(),B?.destroy(),$.forEach((X)=>X.removeEventListener("click",F))})}var g5={};P0(g5,{default:()=>LH});function LH(K,J){}var d5={};P0(d5,{default:()=>IH});var XU=160,FU="h2, h3",YU=1;function NU(K,J){return K.toLowerCase().trim().replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,"")||J}function MU(K){let J=new Set;K.forEach(($,Q)=>{if($.id){J.add($.id);return}let Z=NU($.textContent??"",`section-${Q+1}`),q=Z,W=1;while(J.has(q)||document.getElementById(q))W+=1,q=`${Z}-${W}`;$.id=q,J.add(q)})}function IH(K,J){let $=K.querySelector('[data-element="toc-wrapper"]'),Q=K.querySelector('[data-element="content"]'),Z=$?.querySelector('[data-element="toc-item"]');if(!$||!Q||!Z)return;let q=Number(J.tocOffset)||XU,W=J.tocHeadings||FU,H=Array.from(Q.querySelectorAll(W));if(!H.length)return;MU(H);let G=Z.cloneNode(!0);$.innerHTML="";let B=H.map((I)=>{let L=G.cloneNode(!0),k=L.firstElementChild;if(k)k.textContent=I.textContent?.trim()??"";return L.setAttribute("href",`#${I.id}`),L.classList.remove("is-active"),$.appendChild(L),L}),z=-1,F=[];function U(I){if(I===z)return;z=I,B.forEach((L,k)=>L.classList.toggle("is-active",k===I))}function j(I){let k=I.target.closest('[data-element="toc-item"]');if(!k)return;let A=B.indexOf(k);if(A===-1)return;I.preventDefault(),I.stopPropagation(),R0.scrollTo(H[A],{offset:-q,duration:YU})}function Y(){F.forEach((I)=>I.kill()),F.length=0}let X=0.5;function N(){return window.innerHeight*X}function V(I){let L=q0.maxScroll(window),k=I.getBoundingClientRect().top+R0.scroll;return Math.max(N(),k-L)}function O(){Y(),H.forEach((I,L)=>{let k=H[L+1];F.push(q0.create({trigger:I,start:()=>`top top+=${V(I)}`,endTrigger:k??Q,end:k?()=>`top top+=${V(k)}`:"bottom bottom",onToggle:(A)=>{if(A.isActive)U(L)}}))})}function R(){q0.refresh()}t9(()=>{if($.addEventListener("click",j),O(),z===-1)U(0);window.addEventListener("load",R,{once:!0})}),Z0(()=>{$.removeEventListener("click",j),window.removeEventListener("load",R),Y()})}var l5={};P0(l5,{default:()=>DH});var VU=768,LU="5",RH=["is-top-left","is-top-right","is-bottom-left","is-bottom-right"],c5=new Set,p5=()=>window.innerWidth$.classList.contains("is-active"),W=()=>{if(p5()){$.classList.remove(...RH);return}let{left:N,top:V,width:O,height:R}=K.getBoundingClientRect(),I=N+O/2,L=V+R/2,k=I>window.innerWidth/2,E=`is-${L>window.innerHeight/2?"bottom":"top"}-${k?"right":"left"}`;$.classList.remove(...RH),$.classList.add(E)},H=()=>{if(W(),$.classList.add("is-active"),Q?.classList.add("is-active"),K.style.zIndex=LU,c5.add(K),p5())R0.stop()},G=()=>{if($.classList.remove("is-active"),Q?.classList.remove("is-active"),K.style.removeProperty("z-index"),c5.delete(K),c5.size===0)R0.start()},B=()=>{if(q())G();else H()},z=()=>{G()},F=(N)=>{if(!q())return;if(K.contains(N.target))return;G()},U=(N)=>{if(N.key==="Escape"&&q())G()},j=()=>{if(W(),!p5()&&q())G()};t9(()=>{W()});let Y=V0.add(j),X=R0.add(W);Q?.addEventListener("click",B),Z?.addEventListener("click",z),document.addEventListener("click",F),document.addEventListener("keydown",U),Z0(()=>{if(Y(),X(),Q?.removeEventListener("click",B),Z?.removeEventListener("click",z),document.removeEventListener("click",F),document.removeEventListener("keydown",U),q())G()})}var a5={};P0(a5,{default:()=>vH});function CH(K){let J=document.documentElement.lang.split("-")[0].toLowerCase();return K.find(($)=>($.languageCode??$.language??"").toLowerCase().startsWith(J))??K[0]}var IU="https://www.youtube.com/iframe_api",RU="https://www.youtube-nocookie.com",DU="https://player.vimeo.com/api/player.js",OU=250,CU=300,OH=/^[\w-]{11}$/,AU=/^\d+$/,kU=/^[0-9a-f]{6,}$/i;function AH(K){let J;try{J=new URL(K.trim())}catch{return null}let $=J.hostname.replace(/^www\./,"").replace(/^m\./,""),Q=J.pathname.split("/").filter(Boolean);if($==="youtu.be"){let Z=Q[0];return Z&&OH.test(Z)?{provider:"youtube",id:Z}:null}if($==="youtube.com"||$==="youtube-nocookie.com"){let Z=J.searchParams.get("v")??(["embed","shorts","live","v"].includes(Q[0])?Q[1]:void 0);return Z&&OH.test(Z)?{provider:"youtube",id:Z}:null}if($==="vimeo.com"||$==="player.vimeo.com"){let Z=Q.findIndex((G)=>AU.test(G));if(Z===-1)return null;let q=Q[Z],W=Q[Z+1],H=J.searchParams.get("h")??(W&&kU.test(W)?W:void 0);return{provider:"vimeo",id:q,...H?{hash:H}:{}}}return null}var o5=new Map;function kH(K){let J=o5.get(K);if(!J)J=new Promise(($,Q)=>{let Z=document.createElement("script");Z.src=K,Z.async=!0,Z.onload=()=>$(),Z.onerror=()=>{o5.delete(K),Q(Error(`Failed to load ${K}`))},document.head.appendChild(Z)}),o5.set(K,J);return J}var $Q=null;function EU(){if(window.YT?.Player)return Promise.resolve(window.YT);if(!$Q)$Q=new Promise((K,J)=>{let $=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=()=>{$?.(),K(window.YT)},kH(IU).catch((Q)=>{$Q=null,J(Q)})});return $Q}async function PU(){if(!window.Vimeo?.Player)await kH(DU);return window.Vimeo}async function SU(K,J,$){let Q=await EU(),Z=document.createElement("div");K.appendChild(Z);let q=null,W=null,H=!1,G=$.muted,B=!1,z=!1,F=null,U=()=>{if(F!==null)window.clearTimeout(F);if(F=null,!z){W.unloadModule("captions");return}W.loadModule("captions"),F=window.setTimeout(()=>{if(F=null,!z)return;let X=W.getOption("captions","tracklist")??[],N=CH(X);if(N)W.setOption("captions","track",{languageCode:N.languageCode})},CU)},j=()=>{if(q!==null)window.clearInterval(q);q=null},Y=()=>{j(),q=window.setInterval(()=>{$.onTime?.(W.getCurrentTime(),W.getDuration())},OU)};return W=new Q.Player(Z,{videoId:J.id,host:RU,width:"100%",height:"100%",playerVars:{autoplay:1,mute:$.muted?1:0,controls:$.nativeControls?1:0,playsinline:1,rel:0,modestbranding:1,iv_load_policy:3,disablekb:$.nativeControls?0:1,fs:$.nativeControls?1:0,origin:window.location.origin},events:{onReady:()=>{if(H=!0,G)W.mute();if(z)U();if(!B)W.playVideo();$.onCaptionsAvailable?.(!0),$.onReady?.()},onStateChange:(X)=>{switch(X.data){case Q.PlayerState.PLAYING:Y(),$.onPlay?.();break;case Q.PlayerState.PAUSED:j(),$.onPause?.();break;case Q.PlayerState.ENDED:j(),$.onTime?.(W.getDuration(),W.getDuration()),$.onEnded?.();break}},onError:(X)=>$.onError?.(X.data)}}),{play:()=>{if(B=!1,H)W.playVideo()},pause:()=>{if(B=!0,H)W.pauseVideo()},setMuted:(X)=>{if(G=X,!H)return;if(G)W.mute();else W.unMute()},setCaptions:(X)=>{if(z=X,H)U()},seekTo:(X)=>{if(!H)return;W.seekTo(X,!0),$.onTime?.(X,W.getDuration())},destroy:()=>{if(B=!0,F!==null)window.clearTimeout(F);j();try{W.destroy()}catch{}Z.remove()}}}async function xU(K,J,$){let Q=await PU(),Z=J.hash?`https://vimeo.com/${J.id}/${J.hash}`:`https://vimeo.com/${J.id}`,q=new Q.Player(K,{url:Z,autoplay:!0,muted:$.muted,controls:$.nativeControls,playsinline:!0,dnt:!0,title:!1,byline:!1,portrait:!1});q.on("play",()=>$.onPlay?.()),q.on("pause",()=>$.onPause?.()),q.on("ended",()=>$.onEnded?.()),q.on("timeupdate",(H)=>$.onTime?.(H.seconds,H.duration)),q.on("error",(H)=>$.onError?.(H));let W=[];return q.ready().then(()=>{return $.onReady?.(),q.getTextTracks()}).then((H)=>{W=H??[],$.onCaptionsAvailable?.(W.length>0)}).catch((H)=>$.onError?.(H)),{play:()=>void q.play().catch(()=>{}),pause:()=>void q.pause().catch(()=>{}),setMuted:(H)=>void q.setMuted(H).catch(()=>{}),setCaptions:(H)=>{let G=CH(W);if(H&&G)q.enableTextTrack(G.language,G.kind).catch(()=>{});else q.disableTextTrack().catch(()=>{})},seekTo:(H)=>void q.setCurrentTime(H).catch(()=>{}),destroy:()=>void q.destroy().catch(()=>{})}}function EH(K,J,$){return J.provider==="youtube"?SU(K,J,$):xU(K,J,$)}var PH='[data-attribute="video-trigger"]',bU='[data-attribute="video-item"]',wU='[data-attribute="video-url"]',TU='[data-attribute="modal-bg"]',yU='[data-attribute="modal-close"]',hU='[data-attribute="video-frame"]',SH="is-open",xH="is-native",s5="is-playing",QQ="is-muted",i5="is-captions",bH="no-captions",v7="is-idle",wH="is-fullscreen",fU="(max-width: 767px)",_U="(hover: hover) and (pointer: fine)",vU=0.4,uU=0.5,mU=0.3,gU=2500,TH=5,dU=3000,cU='',pU='',lU='',oU='',sU='',iU='',yH='
',nU=`
`,hH=(K)=>Math.min(1,Math.max(0,K)),fH=(K)=>{let J=Math.max(0,Math.floor(K)),$=Math.floor(J/60),Q=J%60;return`${$}:${Q.toString().padStart(2,"0")}`},n5=()=>{let K=document;return K.fullscreenElement??K.webkitFullscreenElement??null},_H=()=>{let K=document;if(!n5())return;if(K.exitFullscreen)K.exitFullscreen().catch(()=>{});else K.webkitExitFullscreen?.()},aU=(K)=>{let J=K;if(J.requestFullscreen)J.requestFullscreen().catch(()=>{});else J.webkitRequestFullscreen?.()};function vH(K,J){let $=K.querySelector(TU),Q=K.querySelector(yU),Z=K.querySelector(hU);if(!Z)return;let q=[$,Q].filter((h)=>h!==null);if(K.setAttribute("data-lenis-prevent",""),K.setAttribute("role","dialog"),K.setAttribute("aria-modal","true"),!K.hasAttribute("aria-label"))K.setAttribute("aria-label","Video");let W=!1,H=0,G=null,B=null,z=null,F=null,U=0,j=!1,Y=!1,X=null,N=null,V=null,O=()=>{document.body.style.overflow="hidden",R0.stop()},R=()=>{document.body.style.overflow="",R0.start()},I=()=>{if(X!==null)window.clearTimeout(X);X=null},L=()=>{N?.kill(),V?.kill(),N=null,V=null},k=(h)=>Z.querySelector(h),A=(h)=>{Z.classList.toggle(s5,h),z?.();let e=h?"Pause":"Play";k(".video-modal-toggle")?.setAttribute("aria-label",e),k(".video-modal-layer")?.setAttribute("aria-label",e)},E=(h)=>{Z.classList.toggle(QQ,h);let e=k(".video-modal-mute");e?.setAttribute("aria-label",h?"Unmute":"Mute"),e?.setAttribute("aria-pressed",String(h)),G?.setMuted(h)},b=(h)=>{Z.classList.toggle(i5,h);let e=k(".video-modal-cc");e?.setAttribute("aria-label",h?"Turn off captions":"Turn on captions"),e?.setAttribute("aria-pressed",String(h)),G?.setCaptions(h)},w=(h,e)=>{if(e>0)U=e;let $0=U?hH(h/U):0,z0=k(".video-modal-track-fill"),H0=k(".video-modal-track");if(z0)z0.style.width=`${$0*100}%`;H0?.setAttribute("aria-valuenow",String(Math.round($0*100))),H0?.setAttribute("aria-valuetext",`${fH(h)} of ${fH(U)}`)},d=(h)=>{if(!U)return;let e=hH(h)*U;w(e,U),G?.seekTo(e)},y=()=>{if(!G)return;if(Z.classList.contains(s5))G.pause();else G.play()},u=()=>{if(n5())_H();else aU(Z)},o=()=>{let h=k(".video-modal-layer"),e=k(".video-modal-toggle"),$0=k(".video-modal-track"),z0=k(".video-modal-mute"),H0=k(".video-modal-cc"),d0=k(".video-modal-expand"),S0=()=>E(!Z.classList.contains(QQ)),w0=()=>b(!Z.classList.contains(i5)),m0=(N0)=>{let L0=$0.getBoundingClientRect();return L0.width?(N0.clientX-L0.left)/L0.width:0},U0=(N0)=>{if(!U)return;j=!0,$0.setPointerCapture(N0.pointerId),d(m0(N0))},X0=(N0)=>{if(!j)return;d(m0(N0))},Q0=()=>{j=!1},H9=(N0)=>{if(!U)return;let L0=Number($0.getAttribute("aria-valuenow"))/100*U,a0=null;if(N0.key==="ArrowRight"||N0.key==="ArrowUp")a0=L0+TH;else if(N0.key==="ArrowLeft"||N0.key==="ArrowDown")a0=L0-TH;else if(N0.key==="Home")a0=0;else if(N0.key==="End")a0=U;if(a0===null)return;N0.preventDefault(),d(a0/U)},P=window.matchMedia(_U).matches,x0=null,Y9=!1,D9=()=>{if(x0!==null)window.clearTimeout(x0);x0=null},T0=()=>n5()===Z,y0=()=>{if(Z.classList.remove(v7),D9(),T0())x0=window.setTimeout(()=>Z.classList.add(v7),dU)},c9=(N0)=>{if(!(N0.movementX===void 0||N0.movementX||N0.movementY))return;Y9=!0,y0()},T9=()=>{Y9=!1,D9(),Z.classList.add(v7)},g0=()=>{Z.classList.toggle(wH,T0()),y0()};if(P)Z.classList.add(v7),z=()=>{if(Y9||T0())y0()},Z.addEventListener("mousemove",c9),Z.addEventListener("keydown",y0),Z.addEventListener("mouseleave",T9),document.addEventListener("fullscreenchange",g0),document.addEventListener("webkitfullscreenchange",g0);return h?.addEventListener("click",y),e?.addEventListener("click",y),z0?.addEventListener("click",S0),H0?.addEventListener("click",w0),d0?.addEventListener("click",u),$0?.addEventListener("pointerdown",U0),$0?.addEventListener("pointermove",X0),$0?.addEventListener("pointerup",Q0),$0?.addEventListener("pointercancel",Q0),$0?.addEventListener("keydown",H9),()=>{D9(),z=null,Z.removeEventListener("mousemove",c9),Z.removeEventListener("keydown",y0),Z.removeEventListener("mouseleave",T9),document.removeEventListener("fullscreenchange",g0),document.removeEventListener("webkitfullscreenchange",g0),h?.removeEventListener("click",y),e?.removeEventListener("click",y),z0?.removeEventListener("click",S0),H0?.removeEventListener("click",w0),d0?.removeEventListener("click",u),$0?.removeEventListener("pointerdown",U0),$0?.removeEventListener("pointermove",X0),$0?.removeEventListener("pointerup",Q0),$0?.removeEventListener("pointercancel",Q0),$0?.removeEventListener("keydown",H9)}},m=()=>{B?.(),B=null,G?.destroy(),G=null,Z.innerHTML="",Z.classList.remove(s5,QQ,i5,bH,v7,wH),U=0,j=!1},g=()=>{if(Y)return;Y=!0,I();let h=H,e=()=>{if(h!==H)return;V=c.to(Z,{opacity:1,duration:l0?0:uU,ease:"power2.out"})};if(N&&N.progress()<1)N.then(e);else e()},T=(h,e)=>{let $0=AH(h);if(!$0){console.warn(`video-modal: unsupported video link "${h}"`);return}if(W)return;W=!0;let z0=++H;F=e,Y=!1;let H0=window.matchMedia(fU).matches;if(K.classList.toggle(xH,H0),Z.innerHTML=H0?yH:yH+nU,Z.classList.add(QQ),!H0)B=o();let d0=k(".video-modal-player");if(O(),L(),K.classList.add(SH),c.set(K,{display:"flex"}),c.set(Z,{opacity:0}),q.length)c.set(q,{opacity:0}),N=c.to(q,{opacity:1,duration:l0?0:vU,ease:"power2.out"});Q?.focus({preventScroll:!0}),EH(d0,$0,{muted:!0,nativeControls:H0,onReady:()=>{if(z0!==H)return;X=window.setTimeout(g,gU)},onPlay:()=>{if(z0!==H)return;A(!0),g()},onPause:()=>{if(z0===H)A(!1)},onEnded:()=>{if(z0===H)A(!1)},onTime:(S0,w0)=>{if(z0===H&&!j)w(S0,w0)},onCaptionsAvailable:(S0)=>{if(z0===H)Z.classList.toggle(bH,!S0)},onError:(S0)=>{if(console.warn("video-modal: player error",S0),z0===H)g()}}).then((S0)=>{if(z0!==H){S0.destroy();return}G=S0}).catch((S0)=>{if(console.warn("video-modal: could not load the player",S0),z0===H)a()})},a=(h=!1)=>{if(!W)return;W=!1,H++,I(),_H(),R(),G?.pause();let e=()=>{c.set(K,{display:"none"}),K.classList.remove(SH,xH),m(),F?.focus({preventScroll:!0}),F=null};if(L(),h||l0){e();return}V=c.to([Z,...q],{opacity:0,duration:mU,ease:"power2.in",onComplete:e})},i=(h)=>{let e=h.dataset.videoUrl?.trim();if(e)return e;return(h.closest(bU)??h.parentElement)?.querySelector(wU)?.textContent?.trim()??""},M=(h)=>h instanceof HTMLButtonElement||h instanceof HTMLAnchorElement,l=(h)=>h.target?.closest(PH)??null,n=(h)=>{let e=l(h);if(!e)return;let $0=i(e);if(!$0)return;h.preventDefault(),T($0,e)},W0=(h)=>{if(h.key==="Escape"){a();return}if(h.key!=="Enter"&&h.key!==" ")return;let e=l(h);if(!e||M(e))return;let $0=i(e);if(!$0)return;h.preventDefault(),T($0,e)};document.querySelectorAll(PH).forEach((h)=>{if(!i(h)){h.style.display="none";return}if(M(h))return;if(!h.hasAttribute("role"))h.setAttribute("role","button");if(!h.hasAttribute("tabindex"))h.setAttribute("tabindex","0");if(!h.hasAttribute("aria-label"))h.setAttribute("aria-label","Play video")}),document.addEventListener("click",n),document.addEventListener("keydown",W0),$?.addEventListener("click",()=>a()),Q?.addEventListener("click",()=>a()),Z0(()=>{document.removeEventListener("click",n),document.removeEventListener("keydown",W0),a(!0)})}var r5={"./../charts-newlaunches.ts":xZ,"./../charts-rmg.ts":TZ,"./../ctv.ts":fZ,"./../customers-load-more.ts":_Z,"./../cycle.ts":vZ,"./../default-modal.ts":uZ,"./../faqs.ts":mZ,"./../filter-dropdown.ts":gZ,"./../filter-helper.ts":dZ,"./../form.ts":cZ,"./../hs-form.ts":pZ,"./../leadership-modal.ts":oZ,"./../load-more.ts":sZ,"./../locale-switch.ts":iZ,"./../logo-marquee.ts":nZ,"./../nav.ts":aZ,"./../navigation.ts":eZ,"./../ob-cms.ts":Q5,"./../offices.ts":Z5,"./../search-results.ts":K5,"./../share.ts":q5,"./../size-switcher.ts":H5,"./../slider.ts":y5,"./../social-share.ts":h5,"./../split.ts":f5,"./../sticky-nav.ts":v5,"./../tabs.ts":m5,"./../test.ts":g5,"./../toc.ts":d5,"./../tooltip.ts":l5,"./../video-modal.ts":a5};function t5(K="module",J=document){let $=`[data-${K}]`,Q=Array.from(J.querySelectorAll($));if(J instanceof HTMLElement&&J.matches($))Q.unshift(J);return Q.map((Z)=>{let q=Z,W=q.dataset[K];if(q._moduleInitialized)return null;let H=r5[`./../${W}.ts`]?`./../${W}.ts`:`./../${W}.js`;if(r5[H]){let G=r5[H].default;if(typeof G==="function")try{return q._moduleInitialized=!0,G(q,q.dataset)}catch(B){return delete q._moduleInitialized,console.warn(`Failed to call default function for ${K} "${W}":`,B),null}else return console.warn(`Default export is not a function for ${K} "${W}"`),null}else return console.warn(`${K} not found: "${W}"`),null}).filter((Z)=>Z!==null)}function uH(K="module",J){let $=`[data-${K}]`,Q=new Set,Z=!1,q=()=>{Z=!1;let G=Array.from(Q);Q.clear();for(let B of G)if(B.isConnected)t5(K,B);J?.()},W=new MutationObserver((G)=>{for(let B of G)for(let z of Array.from(B.addedNodes)){if(!(z instanceof HTMLElement))continue;if(z.matches($)||z.querySelector($))Q.add(z)}if(Q.size&&!Z)Z=!0,queueMicrotask(q)}),H=()=>W.observe(document.body,{childList:!0,subtree:!0});if(document.body)H();else document.addEventListener("DOMContentLoaded",H,{once:!0});return()=>W.disconnect()}class tJ{static instance;groups=[];constructor(){}static getInstance(){if(!tJ.instance)tJ.instance=new tJ;return tJ.instance}configsMatch(K,J){return K.root===J.root&&K.rootMargin===J.rootMargin}handleIntersection(K){K.forEach((J)=>{let $=this.groups.find((B)=>{return Array.from(B.elements.keys()).includes(J.target)});if(!$)return;let Q=J.target,Z=$.elements.get(Q);if(!Z)return;let{isIntersecting:q,intersectionRatio:W,boundingClientRect:H}=J,G=-1;if(Z.lastDirection!==void 0)G=q?H.top>0?1:-1:H.top>0?-1:1;if(Z.lastDirection=G,q){if(Z.callbacks.isIn?.({entry:J,direction:G}),Z.callbacks.callback?.({entry:J,direction:G,isIn:!0}),Z.once)this.removeElement(Q)}else Z.callbacks.isOut?.({entry:J,direction:G}),Z.callbacks.callback?.({entry:J,direction:G,isIn:!1})})}addElement(K,J,$){this.removeElement(K);let Q=this.groups.find((Z)=>this.configsMatch(Z.config,J));if(!Q){let Z=new IntersectionObserver((q)=>this.handleIntersection(q),{...J,threshold:[0]});Q={config:J,observer:Z,elements:new Map},this.groups.push(Q)}return Q.elements.set(K,{callbacks:$,once:J.once||!1,lastDirection:void 0}),Q.observer.observe(K),Q}removeElement(K){let J=this.groups.find(($)=>$.elements.has(K));if(!J)return;if(J.observer.unobserve(K),J.elements.delete(K),J.elements.size===0)J.observer.disconnect(),this.groups=this.groups.filter(($)=>$!==J)}}class M7{element;#J;#Q;isIn(K){}isOut(K){}inView;callback;#$=null;#Z=null;constructor(K,J={root:null,rootMargin:"0px",threshold:0,autoStart:!1,once:!1,callback:void 0}){if(this.element=K,this.#J=J,this.inView=!1,this.callback=J.callback||(()=>{}),J.autoStart)this.start()}start(){this.#Q=tJ.getInstance().addElement(this.element,this.#J,{isIn:(K)=>{this.inView=!0,this.isIn?.(K)},isOut:(K)=>{this.inView=!1,this.isOut?.(K)},callback:this.callback})}stop(){tJ.getInstance().removeElement(this.element)}destroy(){this.stop(),this.#$=null,this.#Z=null}}var mH=(K)=>{let J=K.getBoundingClientRect();return{top:J.top+R0.scroll,bottom:J.bottom+R0.scroll,width:J.width,height:J.height,left:J.left,right:J.right,wh:V0.height,ww:V0.width,offset:J.top+R0.scroll,centery:V0.height/2-J.height/2-J.top-R0.scroll,centerx:-V0.width/2+J.left+J.width/2}};function gH(K,J,$,Q,Z){return Q+(Z-Q)*(K-J)/($-J)}function dH(K,J,$){return Math.min(Math.max($,K),J)}var rU={bounds:[0,1],top:"bottom",bottom:"top",callback:void 0};class Cq extends M7{value=0;init=!1;isIn(K){this.#Z()}isOut(K){}bounds;config;resize;handleScroll;#J;#Q;constructor(K,J={}){super(K,{autoStart:!0,once:!1,threshold:0});this.element=K,this.config={...rU,...J},this.#$(),this.#J=R0.add(this.#Z.bind(this)),this.#Q=V0.add(this.#$.bind(this)),this.init=!0,this.#Z()}#$=()=>{this.bounds=tU(this.element,this.config),this.resize?.(this.bounds),this.#Z()};#Z(){if(!this.inView||!this.init)return;this.value=dH(0,1,gH(R0.scroll,this.bounds.top,this.bounds.bottom,this.config.bounds[0],this.config.bounds[1])),this.handleScroll?.(this.value),this.config.callback?.(this.value)}destroy(){this.config.callback=void 0,this.#J(),this.#Q(),super.destroy()}}function tU(K,J){let $=mH(K),{top:Q,bottom:Z,wh:q}=$,W=q/2;return $.top=Q-(J.top==="center"?W:J.top==="bottom"?q:0),$.bottom=Z-(J.bottom==="center"?W:J.bottom==="bottom"?q:0),$}class cH{scroll=R0;constructor(){console.log("App local",performance.now().toFixed(2)),Mq(),t5(),Oq(),EZ(),uH("module",EZ)}}var eU=new cH;})(); //# debugId=90A6751F0323F9AD64756E2164756E21