(()=>{var{defineProperty:UQ,getOwnPropertyNames:VZ,getOwnPropertyDescriptor:CZ}=Object,FZ=Object.prototype.hasOwnProperty;function DZ(Z){return this[Z]}var OZ=(Z)=>{var J=(w7??=new WeakMap).get(Z),Q;if(J)return J;if(J=UQ({},"__esModule",{value:!0}),Z&&typeof Z==="object"||typeof Z==="function"){for(var $ of VZ(Z))if(!FZ.call(J,$))UQ(J,$,{get:DZ.bind(Z,$),enumerable:!(Q=CZ(Z,$))||Q.enumerable})}return w7.set(Z,J),J},w7;var EZ=(Z)=>Z;function zZ(Z,J){this[Z]=EZ.bind(null,J)}var AZ=(Z,J)=>{for(var Q in J)UQ(Z,Q,{get:J[Q],enumerable:!0,configurable:!0,set:zZ.bind(J,Q)})};var WG={};AZ(WG,{App:()=>HG});var PZ="1.3.17";function f7(Z,J,Q){return Math.max(Z,Math.min(J,Q))}function kZ(Z,J,Q){return(1-Q)*Z+Q*J}function xZ(Z,J,Q,$){return kZ(Z,J,1-Math.exp(-Q*$))}function SZ(Z,J){return(Z%J+J)%J}var bZ=class{isRunning=!1;value=0;from=0;to=0;currentTime=0;lerp;duration;easing;onUpdate;advance(Z){if(!this.isRunning)return;let J=!1;if(this.duration&&this.easing){this.currentTime+=Z;let Q=f7(0,this.currentTime/this.duration,1);J=Q>=1;let $=J?1:this.easing(Q);this.value=this.from+(this.to-this.from)*$}else if(this.lerp){if(this.value=xZ(this.value,this.to,this.lerp*60,Z),Math.round(this.value)===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(Z,J,{lerp:Q,duration:$,easing:K,onStart:q,onUpdate:G}){this.from=this.value=Z,this.to=J,this.lerp=Q,this.duration=$,this.easing=K,this.currentTime=0,this.isRunning=!0,q?.(),this.onUpdate=G}};function TZ(Z,J){let Q;return function(...$){let K=this;clearTimeout(Q),Q=setTimeout(()=>{Q=void 0,Z.apply(K,$)},J)}}var wZ=class{constructor(Z,J,{autoResize:Q=!0,debounce:$=250}={}){if(this.wrapper=Z,this.content=J,Q){if(this.debouncedResize=TZ(this.resize,$),this.wrapper instanceof Window)window.addEventListener("resize",this.debouncedResize,!1);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()}width=0;height=0;scrollHeight=0;scrollWidth=0;debouncedResize;wrapperResizeObserver;contentResizeObserver;destroy(){if(this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),this.wrapper===window&&this.debouncedResize)window.removeEventListener("resize",this.debouncedResize,!1)}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}}},_7=class{events={};emit(Z,...J){let Q=this.events[Z]||[];for(let $=0,K=Q.length;${this.events[Z]=this.events[Z]?.filter((Q)=>J!==Q)}}off(Z,J){this.events[Z]=this.events[Z]?.filter((Q)=>J!==Q)}destroy(){this.events={}}},y7=16.666666666666668,y8={passive:!1},yZ=class{constructor(Z,J={wheelMultiplier:1,touchMultiplier:1}){this.element=Z,this.options=J,window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,y8),this.element.addEventListener("touchstart",this.onTouchStart,y8),this.element.addEventListener("touchmove",this.onTouchMove,y8),this.element.addEventListener("touchend",this.onTouchEnd,y8)}touchStart={x:0,y:0};lastDelta={x:0,y:0};window={width:0,height:0};emitter=new _7;on(Z,J){return this.emitter.on(Z,J)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel,y8),this.element.removeEventListener("touchstart",this.onTouchStart,y8),this.element.removeEventListener("touchmove",this.onTouchMove,y8),this.element.removeEventListener("touchend",this.onTouchEnd,y8)}onTouchStart=(Z)=>{let{clientX:J,clientY:Q}=Z.targetTouches?Z.targetTouches[0]:Z;this.touchStart.x=J,this.touchStart.y=Q,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:Z})};onTouchMove=(Z)=>{let{clientX:J,clientY:Q}=Z.targetTouches?Z.targetTouches[0]:Z,$=-(J-this.touchStart.x)*this.options.touchMultiplier,K=-(Q-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=J,this.touchStart.y=Q,this.lastDelta={x:$,y:K},this.emitter.emit("scroll",{deltaX:$,deltaY:K,event:Z})};onTouchEnd=(Z)=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:Z})};onWheel=(Z)=>{let{deltaX:J,deltaY:Q,deltaMode:$}=Z,K=$===1?y7:$===2?this.window.width:1,q=$===1?y7:$===2?this.window.height:1;J*=K,Q*=q,J*=this.options.wheelMultiplier,Q*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:J,deltaY:Q,event:Z})};onWindowResize=()=>{this.window={width:window.innerWidth,height:window.innerHeight}}},h7=(Z)=>Math.min(1,1.001-Math.pow(2,-10*Z)),v7=class{_isScrolling=!1;_isStopped=!1;_isLocked=!1;_preventNextNativeScrollEvent=!1;_resetVelocityTimeout=null;_rafId=null;isTouching;time=0;userData={};lastVelocity=0;velocity=0;direction=0;options;targetScroll;animatedScroll;animate=new bZ;emitter=new _7;dimensions;virtualScroll;constructor({wrapper:Z=window,content:J=document.documentElement,eventsTarget:Q=Z,smoothWheel:$=!0,syncTouch:K=!1,syncTouchLerp:q=0.075,touchInertiaExponent:G=1.7,duration:H,easing:W,lerp:B=0.1,infinite:j=!1,orientation:L="vertical",gestureOrientation:X=L==="horizontal"?"both":"vertical",touchMultiplier:U=1,wheelMultiplier:M=1,autoResize:Y=!0,prevent:N,virtualScroll:D,overscroll:V=!0,autoRaf:F=!1,anchors:C=!1,autoToggle:E=!1,allowNestedScroll:P=!1,__experimental__naiveDimensions:R=!1,naiveDimensions:k=R,stopInertiaOnNavigate:A=!1}={}){if(window.lenisVersion=PZ,!Z||Z===document.documentElement)Z=window;if(typeof H==="number"&&typeof W!=="function")W=h7;else if(typeof W==="function"&&typeof H!=="number")H=1;if(this.options={wrapper:Z,content:J,eventsTarget:Q,smoothWheel:$,syncTouch:K,syncTouchLerp:q,touchInertiaExponent:G,duration:H,easing:W,lerp:B,infinite:j,gestureOrientation:X,orientation:L,touchMultiplier:U,wheelMultiplier:M,autoResize:Y,prevent:N,virtualScroll:D,overscroll:V,autoRaf:F,anchors:C,autoToggle:E,allowNestedScroll:P,naiveDimensions:k,stopInertiaOnNavigate:A},this.dimensions=new wZ(Z,J,{autoResize:Y}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.anchors||this.options.stopInertiaOnNavigate)this.options.wrapper.addEventListener("click",this.onClick,!1);if(this.options.wrapper.addEventListener("pointerdown",this.onPointerDown,!1),this.virtualScroll=new yZ(Q,{touchMultiplier:U,wheelMultiplier:M}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle)this.checkOverflow(),this.rootElement.addEventListener("transitionend",this.onTransitionEnd,{passive:!0});if(this.options.autoRaf)this._rafId=requestAnimationFrame(this.raf)}destroy(){if(this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown,!1),this.options.anchors||this.options.stopInertiaOnNavigate)this.options.wrapper.removeEventListener("click",this.onClick,!1);if(this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this._rafId)cancelAnimationFrame(this._rafId)}on(Z,J){return this.emitter.on(Z,J)}off(Z,J){return this.emitter.off(Z,J)}onScrollEnd=(Z)=>{if(!(Z instanceof CustomEvent)){if(this.isScrolling==="smooth"||this.isScrolling===!1)Z.stopPropagation()}};dispatchScrollendEvent=()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))};get overflow(){let Z=this.isHorizontal?"overflow-x":"overflow-y";return getComputedStyle(this.rootElement)[Z]}checkOverflow(){if(["hidden","clip"].includes(this.overflow))this.internalStop();else this.internalStart()}onTransitionEnd=(Z)=>{if(Z.propertyName.includes("overflow"))this.checkOverflow()};setScroll(Z){if(this.isHorizontal)this.options.wrapper.scrollTo({left:Z,behavior:"instant"});else this.options.wrapper.scrollTo({top:Z,behavior:"instant"})}onClick=(Z)=>{let Q=Z.composedPath().filter(($)=>$ instanceof HTMLAnchorElement&&$.getAttribute("href"));if(this.options.anchors){let $=Q.find((K)=>K.getAttribute("href")?.includes("#"));if($){let K=$.getAttribute("href");if(K){let q=typeof this.options.anchors==="object"&&this.options.anchors?this.options.anchors:void 0,G=`#${K.split("#")[1]}`;this.scrollTo(G,q)}}}if(this.options.stopInertiaOnNavigate){if(Q.find((K)=>K.host===window.location.host))this.reset()}};onPointerDown=(Z)=>{if(Z.button===1)this.reset()};onVirtualScroll=(Z)=>{if(typeof this.options.virtualScroll==="function"&&this.options.virtualScroll(Z)===!1)return;let{deltaX:J,deltaY:Q,event:$}=Z;if(this.emitter.emit("virtual-scroll",{deltaX:J,deltaY:Q,event:$}),$.ctrlKey)return;if($.lenisStopPropagation)return;let K=$.type.includes("touch"),q=$.type.includes("wheel");this.isTouching=$.type==="touchstart"||$.type==="touchmove";let G=J===0&&Q===0;if(this.options.syncTouch&&K&&$.type==="touchstart"&&G&&!this.isStopped&&!this.isLocked){this.reset();return}let W=this.options.gestureOrientation==="vertical"&&Q===0||this.options.gestureOrientation==="horizontal"&&J===0;if(G||W)return;let B=$.composedPath();B=B.slice(0,B.indexOf(this.rootElement));let j=this.options.prevent;if(B.find((N)=>N instanceof HTMLElement&&(typeof j==="function"&&j?.(N)||N.hasAttribute?.("data-lenis-prevent")||K&&N.hasAttribute?.("data-lenis-prevent-touch")||q&&N.hasAttribute?.("data-lenis-prevent-wheel")||this.options.allowNestedScroll&&this.checkNestedScroll(N,{deltaX:J,deltaY:Q}))))return;if(this.isStopped||this.isLocked){if($.cancelable)$.preventDefault();return}if(!(this.options.syncTouch&&K||this.options.smoothWheel&&q)){this.isScrolling="native",this.animate.stop(),$.lenisStopPropagation=!0;return}let X=Q;if(this.options.gestureOrientation==="both")X=Math.abs(Q)>Math.abs(J)?Q:J;else if(this.options.gestureOrientation==="horizontal")X=J;if(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll0||this.animatedScroll===this.limit&&Q<0))$.lenisStopPropagation=!0;if($.cancelable)$.preventDefault();let U=K&&this.options.syncTouch,Y=K&&$.type==="touchend";if(Y)X=Math.sign(this.velocity)*Math.pow(Math.abs(this.velocity),this.options.touchInertiaExponent);this.scrollTo(this.targetScroll+X,{programmatic:!1,...U?{lerp:Y?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 Z=this.animatedScroll;if(this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-Z,this.direction=Math.sign(this.animatedScroll-Z),!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=(Z)=>{let J=Z-(this.time||Z);if(this.time=Z,this.animate.advance(J*0.001),this.options.autoRaf)this._rafId=requestAnimationFrame(this.raf)};scrollTo(Z,{offset:J=0,immediate:Q=!1,lock:$=!1,programmatic:K=!0,lerp:q=K?this.options.lerp:void 0,duration:G=K?this.options.duration:void 0,easing:H=K?this.options.easing:void 0,onStart:W,onComplete:B,force:j=!1,userData:L}={}){if((this.isStopped||this.isLocked)&&!j)return;if(typeof Z==="string"&&["top","left","start","#"].includes(Z))Z=0;else if(typeof Z==="string"&&["bottom","right","end"].includes(Z))Z=this.limit;else{let X;if(typeof Z==="string"){if(X=document.querySelector(Z),!X)if(Z==="#top")Z=0;else console.warn("Lenis: Target not found",Z)}else if(Z instanceof HTMLElement&&Z?.nodeType)X=Z;if(X){if(this.options.wrapper!==window){let M=this.rootElement.getBoundingClientRect();J-=this.isHorizontal?M.left:M.top}let U=X.getBoundingClientRect();Z=(this.isHorizontal?U.left:U.top)+this.animatedScroll}}if(typeof Z!=="number")return;if(Z+=J,Z=Math.round(Z),this.options.infinite){if(K){this.targetScroll=this.animatedScroll=this.scroll;let X=Z-this.animatedScroll;if(X>this.limit/2)Z=Z-this.limit;else if(X<-this.limit/2)Z=Z+this.limit}}else Z=f7(0,Z,this.limit);if(Z===this.targetScroll){W?.(this),B?.(this);return}if(this.userData=L??{},Q){this.animatedScroll=this.targetScroll=Z,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),B?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}if(!K)this.targetScroll=Z;if(typeof G==="number"&&typeof H!=="function")H=h7;else if(typeof H==="function"&&typeof G!=="number")G=1;this.animate.fromTo(this.animatedScroll,Z,{duration:G,easing:H,lerp:q,onStart:()=>{if($)this.isLocked=!0;this.isScrolling="smooth",W?.(this)},onUpdate:(X,U)=>{if(this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=X-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=X,this.setScroll(this.scroll),K)this.targetScroll=X;if(!U)this.emit();if(U)this.reset(),this.emit(),B?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent()}})}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}checkNestedScroll(Z,{deltaX:J,deltaY:Q}){let $=Date.now(),K=Z._lenis??={},q,G,H,W,B,j,L,X,U=this.options.gestureOrientation;if($-(K.time??0)>2000){K.time=Date.now();let E=window.getComputedStyle(Z);K.computedStyle=E;let{overflowX:P,overflowY:R}=E;if(q=["auto","overlay","scroll"].includes(P),G=["auto","overlay","scroll"].includes(R),K.hasOverflowX=q,K.hasOverflowY=G,!q&&!G)return!1;if(U==="vertical"&&!G)return!1;if(U==="horizontal"&&!q)return!1;B=Z.scrollWidth,j=Z.scrollHeight,L=Z.clientWidth,X=Z.clientHeight,H=B>L,W=j>X,K.isScrollableX=H,K.isScrollableY=W,K.scrollWidth=B,K.scrollHeight=j,K.clientWidth=L,K.clientHeight=X}else H=K.isScrollableX,W=K.isScrollableY,q=K.hasOverflowX,G=K.hasOverflowY,B=K.scrollWidth,j=K.scrollHeight,L=K.clientWidth,X=K.clientHeight;if(!q&&!G||!H&&!W)return!1;if(U==="vertical"&&(!G||!W))return!1;if(U==="horizontal"&&(!q||!H))return!1;let M;if(U==="horizontal")M="x";else if(U==="vertical")M="y";else{let E=J!==0,P=Q!==0;if(E&&q&&H)M="x";if(P&&G&&W)M="y"}if(!M)return!1;let Y,N,D,V,F;if(M==="x")Y=Z.scrollLeft,N=B-L,D=J,V=q,F=H;else if(M==="y")Y=Z.scrollTop,N=j-X,D=Q,V=G,F=W;else return!1;return(D>0?Y0)&&V&&F}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;else return this.rootElement.scrollHeight-this.rootElement.clientHeight;else return this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){let Z=this.options.wrapper;return this.isHorizontal?Z.scrollX??Z.scrollLeft:Z.scrollY??Z.scrollTop}get scroll(){return this.options.infinite?SZ(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return this.limit===0?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(Z){if(this._isScrolling!==Z)this._isScrolling=Z,this.updateClassName()}get isStopped(){return this._isStopped}set isStopped(Z){if(this._isStopped!==Z)this._isStopped=Z,this.updateClassName()}get isLocked(){return this._isLocked}set isLocked(Z){if(this._isLocked!==Z)this._isLocked=Z,this.updateClassName()}get isSmooth(){return this.isScrolling==="smooth"}get className(){let Z="lenis";if(this.options.autoToggle)Z+=" lenis-autoToggle";if(this.isStopped)Z+=" lenis-stopped";if(this.isLocked)Z+=" lenis-locked";if(this.isScrolling)Z+=" lenis-scrolling";if(this.isScrolling==="smooth")Z+=" lenis-smooth";return Z}updateClassName(){this.cleanUpClassName(),this.rootElement.className=`${this.rootElement.className} ${this.className}`.trim()}cleanUpClassName(){this.rootElement.className=this.rootElement.className.replace(/lenis(-\w+)?/g,"").trim()}};function F8(Z){if(Z===void 0)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return Z}function s7(Z,J){Z.prototype=Object.create(J.prototype),Z.prototype.constructor=Z,Z.__proto__=J}/*! * GSAP 3.14.2 * https://gsap.com * * @license Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var g1={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Y9={duration:0.5,overwrite:!1,delay:0},xQ,G1,C0,e1=1e8,Y0=1/e1,VQ=Math.PI*2,hZ=VQ/4,fZ=0,n7=Math.sqrt,_Z=Math.cos,vZ=Math.sin,s0=function(J){return typeof J==="string"},b0=function(J){return typeof J==="function"},O8=function(J){return typeof J==="number"},kJ=function(J){return typeof J>"u"},N8=function(J){return typeof J==="object"},v1=function(J){return J!==!1},SQ=function(){return typeof window<"u"},VJ=function(J){return b0(J)||s0(J)},i7=typeof ArrayBuffer==="function"&&ArrayBuffer.isView||function(){},M1=Array.isArray,gZ=/random\([^)]+\)/g,mZ=/,\s*/g,g7=/(?:-?\.?\d|\.)+/gi,bQ=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,a8=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,XQ=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,TQ=/[+-]=-?[.\d]+/,uZ=/[^,'"\[\]\s]+/gi,dZ=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,E0,Y8,CQ,wQ,l1={},OJ={},r7,a7=function(J){return(OJ=M9(J,l1))&&N1},xJ=function(J,Q){return console.warn("Invalid property",J,"set to",Q,"Missing plugin? gsap.registerPlugin()")},c9=function(J,Q){return!Q&&console.warn(J)},t7=function(J,Q){return J&&(l1[J]=Q)&&OJ&&(OJ[J]=Q)||l1},p9=function(){return 0},cZ={suppressEvents:!0,isStart:!0,kill:!1},CJ={suppressEvents:!0,kill:!1},pZ={suppressEvents:!0},yQ={},f8=[],FQ={},e7,f1={},LQ={},m7=30,FJ=[],hQ="",fQ=function(J){var Q=J[0],$,K;if(N8(Q)||b0(Q)||(J=[J]),!($=(Q._gsap||{}).harness)){K=FJ.length;while(K--&&!FJ[K].targetTest(Q));$=FJ[K]}K=J.length;while(K--)J[K]&&(J[K]._gsap||(J[K]._gsap=new mQ(J[K],$)))||J.splice(K,1);return J},_8=function(J){return J._gsap||fQ(J8(J))[0]._gsap},_Q=function(J,Q,$){return($=J[Q])&&b0($)?J[Q]():kJ($)&&J.getAttribute&&J.getAttribute(Q)||$},E1=function(J,Q){return(J=J.split(",")).forEach(Q)||J},T0=function(J){return Math.round(J*1e5)/1e5||0},O0=function(J){return Math.round(J*1e7)/1e7||0},t8=function(J,Q){var $=Q.charAt(0),K=parseFloat(Q.substr(2));return J=parseFloat(J),$==="+"?J+K:$==="-"?J-K:$==="*"?J*K:J/K},oZ=function(J,Q){var $=Q.length,K=0;for(;J.indexOf(Q[K])<0&&++K<$;);return K<$},EJ=function(){var J=f8.length,Q=f8.slice(0),$,K;FQ={},f8.length=0;for($=0;$H)G=G._prev}if(G)Q._next=G._next,G._next=Q;else Q._next=J[$],J[$]=Q;if(Q._next)Q._next._prev=Q;else J[K]=Q;return Q._prev=G,Q.parent=Q._dp=J,Q},s9=function(J,Q,$,K){if($===void 0)$="_first";if(K===void 0)K="_last";var{_prev:q,_next:G}=Q;if(q)q._next=G;else if(J[$]===Q)J[$]=G;if(G)G._prev=q;else if(J[K]===Q)J[K]=q;Q._next=Q._prev=Q.parent=null},v8=function(J,Q){J.parent&&(!Q||J.parent.autoRemoveChildren)&&J.parent.remove&&J.parent.remove(J),J._act=0},n8=function(J,Q){if(J&&(!Q||Q._end>J._dur||Q._start<0)){var $=J;while($)$._dirty=1,$=$.parent}return J},nZ=function(J){var Q=J.parent;while(Q&&Q.parent)Q._dirty=1,Q.totalDuration(),Q=Q.parent;return J},DQ=function(J,Q,$,K){return J._startAt&&(G1?J._startAt.revert(CJ):J.vars.immediateRender&&!J.vars.autoRevert||J._startAt.render(Q,!0,K))},iZ=function Z(J){return!J||J._ts&&Z(J.parent)},d7=function(J){return J._repeat?N9(J._tTime,J=J.duration()+J._rDelay)*J:0},N9=function(J,Q){var $=Math.floor(J=O0(J/Q));return J&&$===J?$-1:$},AJ=function(J,Q){return(J-Q._start)*Q._ts+(Q._ts>=0?0:Q._dirty?Q.totalDuration():Q._tDur)},SJ=function(J){return J._end=O0(J._start+(J._tDur/Math.abs(J._ts||J._rts||Y0)||0))},bJ=function(J,Q){var $=J._dp;if($&&$.smoothChildTiming&&J._ts)J._start=O0($._time-(J._ts>0?Q/J._ts:((J._dirty?J.totalDuration():J._tDur)-Q)/-J._ts)),SJ(J),$._dirty||n8($,J);return J},Z$=function(J,Q){var $;if(Q._time||!Q._dur&&Q._initted||Q._startY0)Q.render($,!0)}if(n8(J,Q)._dp&&J._initted&&J._time>=J._dur&&J._ts){if(J._dur=0&&$.totalTime($._tTime),$=$._dp}J._zTime=-Y0}},M8=function(J,Q,$,K){return Q.parent&&v8(Q),Q._start=O0((O8($)?$:$||J!==E0?t1(J,$,Q):J._time)+Q._delay),Q._end=O0(Q._start+(Q.totalDuration()/Math.abs(Q.timeScale())||0)),K$(J,Q,"_first","_last",J._sort?"_start":0),OQ(Q)||(J._recent=Q),K||Z$(J,Q),J._ts<0&&bJ(J,J._tTime),J},q$=function(J,Q){return(l1.ScrollTrigger||xJ("scrollTrigger",Q))&&l1.ScrollTrigger.create(Q,J)},G$=function(J,Q,$,K,q){if(cQ(J,Q,q),!J._initted)return 1;if(!$&&J._pt&&!G1&&(J._dur&&J.vars.lazy!==!1||!J._dur&&J.vars.lazy)&&e7!==_1.frame)return f8.push(J),J._lazy=[q,K],1},rZ=function Z(J){var Q=J.parent;return Q&&Q._ts&&Q._initted&&!Q._lock&&(Q.rawTime()<0||Z(Q))},OQ=function(J){var Q=J.data;return Q==="isFromStart"||Q==="isStart"},aZ=function(J,Q,$,K){var q=J.ratio,G=Q<0||!Q&&(!J._start&&rZ(J)&&!(!J._initted&&OQ(J))||(J._ts<0||J._dp._ts<0)&&!OQ(J))?0:1,H=J._rDelay,W=0,B,j,L;if(H&&J._repeat){if(W=n9(0,J._tDur,Q),j=N9(W,H),J._yoyo&&j&1&&(G=1-G),j!==N9(J._tTime,H))q=1-G,J.vars.repeatRefresh&&J._initted&&J.invalidate()}if(G!==q||G1||K||J._zTime===Y0||!Q&&J._zTime){if(!J._initted&&G$(J,Q,K,$,W))return;L=J._zTime,J._zTime=Q||($?Y0:0),$||($=Q&&!L),J.ratio=G,J._from&&(G=1-G),J._time=0,J._tTime=W,B=J._pt;while(B)B.r(G,B.d),B=B._next;if(Q<0&&DQ(J,Q,$,!0),J._onUpdate&&!$&&o1(J,"onUpdate"),W&&J._repeat&&!$&&J.parent&&o1(J,"onRepeat"),(Q>=J._tDur||Q<0)&&J.ratio===G){if(G&&v8(J,1),!$&&!G1)o1(J,G?"onComplete":"onReverseComplete",!0),J._prom&&J._prom()}}else if(!J._zTime)J._zTime=Q},tZ=function(J,Q,$){var K;if($>Q){K=J._first;while(K&&K._start<=$){if(K.data==="isPause"&&K._start>Q)return K;K=K._next}}else{K=J._last;while(K&&K._start>=$){if(K.data==="isPause"&&K._start0&&!K&&bJ(J,J._tTime=J._tDur*H),J.parent&&SJ(J),$||n8(J.parent,J),J},c7=function(J){return J instanceof q1?n8(J):R9(J,J._dur)},eZ={_start:0,endTime:p9,totalDuration:p9},t1=function Z(J,Q,$){var K=J.labels,q=J._recent||eZ,G=J.duration()>=e1?q.endTime(!1):J._dur,H,W,B;if(s0(Q)&&(isNaN(Q)||(Q in K))){if(W=Q.charAt(0),B=Q.substr(-1)==="%",H=Q.indexOf("="),W==="<"||W===">")return H>=0&&(Q=Q.replace(/=/,"")),(W==="<"?q._start:q.endTime(q._repeat>=0))+(parseFloat(Q.substr(1))||0)*(B?(H<0?q:$).totalDuration()/100:1);if(H<0)return Q in K||(K[Q]=G),K[Q];if(W=parseFloat(Q.charAt(H-1)+Q.substr(H+1)),B&&$)W=W/100*(M1($)?$[0]:$).totalDuration();return H>1?Z(J,Q.substr(0,H-1),$)+W:G+W}return Q==null?G:+Q},u9=function(J,Q,$){var K=O8(Q[1]),q=(K?2:1)+(J<2?0:1),G=Q[q],H,W;if(K&&(G.duration=Q[1]),G.parent=$,J){H=G,W=$;while(W&&!("immediateRender"in H))H=W.vars.defaults||{},W=v1(W.vars.inherit)&&W.parent;G.immediateRender=v1(H.immediateRender),J<2?G.runBackwards=1:G.startAt=Q[q-1]}return new _0(Q[0],G,Q[q+1])},g8=function(J,Q){return J||J===0?Q(J):Q},n9=function(J,Q,$){return $Q?Q:$},H1=function(J,Q){return!s0(J)||!(Q=dZ.exec(J))?"":Q[1]},J5=function(J,Q,$){return g8($,function(K){return n9(J,Q,K)})},EQ=[].slice,H$=function(J,Q){return J&&N8(J)&&"length"in J&&(!Q&&!J.length||(J.length-1 in J)&&N8(J[0]))&&!J.nodeType&&J!==Y8},Q5=function(J,Q,$){if($===void 0)$=[];return J.forEach(function(K){var q;return s0(K)&&!Q||H$(K,1)?(q=$).push.apply(q,J8(K)):$.push(K)})||$},J8=function(J,Q,$){return C0&&!Q&&C0.selector?C0.selector(J):s0(J)&&!$&&(CQ||!I9())?EQ.call((Q||wQ).querySelectorAll(J),0):M1(J)?Q5(J,$):H$(J)?EQ.call(J,0):J?[J]:[]},zQ=function(J){return J=J8(J)[0]||c9("Invalid scope")||{},function(Q){var $=J.current||J.nativeElement||J;return J8(Q,$.querySelectorAll?$:$===J?c9("Invalid scope")||wQ.createElement("div"):J)}},W$=function(J){return J.sort(function(){return 0.5-Math.random()})},B$=function(J){if(b0(J))return J;var Q=N8(J)?J:{each:J},$=i8(Q.ease),K=Q.from||0,q=parseFloat(Q.base)||0,G={},H=K>0&&K<1,W=isNaN(K)||H,B=Q.axis,j=K,L=K;if(s0(K))j=L={center:0.5,edges:0.5,end:1}[K]||0;else if(!H&&W)j=K[0],L=K[1];return function(X,U,M){var Y=(M||Q).length,N=G[Y],D,V,F,C,E,P,R,k,A;if(!N){if(A=Q.grid==="auto"?0:(Q.grid||[1,e1])[1],!A){R=-e1;while(R<(R=M[A++].getBoundingClientRect().left)&&AR&&(R=E),EY?Y-1:!B?Math.max(A,Y/A):B==="y"?Y/A:A)||0)*(K==="edges"?-1:1),N.b=Y<0?q-Y:q,N.u=H1(Q.amount||Q.each)||0,$=$&&Y<0?I$($):$}return Y=(N[X]-N.min)/N.max||0,O0(N.b+($?$(Y):Y)*N.v)+N.u}},AQ=function(J){var Q=Math.pow(10,((J+"").split(".")[1]||"").length);return function($){var K=O0(Math.round(parseFloat($)/J)*J*Q);return(K-K%1)/Q+(O8($)?0:H1($))}},j$=function(J,Q){var $=M1(J),K,q;if(!$&&N8(J))if(K=$=J.radius||e1,J.values){if(J=J8(J.values),q=!O8(J[0]))K*=K}else J=AQ(J.increment);return g8(Q,!$?AQ(J):b0(J)?function(G){return q=J(G),Math.abs(q-G)<=K?q:G}:function(G){var H=parseFloat(q?G.x:G),W=parseFloat(q?G.y:0),B=e1,j=0,L=J.length,X,U;while(L--){if(q)X=J[L].x-H,U=J[L].y-W,X=X*X+U*U;else X=Math.abs(J[L]-H);if(XK?q-G:G)})},V9=function(J){return J.replace(gZ,function(Q){var $=Q.indexOf("[")+1,K=Q.substring($||7,$?Q.indexOf("]"):Q.length-1).split(mZ);return U$($?K:+K[0],$?0:+K[1],+K[2]||0.00001)})},L$=function(J,Q,$,K,q){var G=Q-J,H=K-$;return g8(q,function(W){return $+((W-J)/G*H||0)})},H5=function Z(J,Q,$,K){var q=isNaN(J+Q)?0:function(U){return(1-U)*J+U*Q};if(!q){var G=s0(J),H={},W,B,j,L,X;if($===!0&&(K=1)&&($=null),G)J={p:J},Q={p:Q};else if(M1(J)&&!M1(Q)){j=[],L=J.length,X=L-2;for(B=1;B(H=Math.abs(H)))W=G,q=H;return W},o1=function(J,Q,$){var K=J.vars,q=K[Q],G=C0,H=J._ctx,W,B,j;if(!q)return;return W=K[Q+"Params"],B=K.callbackScope||J,$&&f8.length&&EJ(),H&&(C0=H),j=W?q.apply(B,W):q.call(B),C0=G,j},v9=function(J){return v8(J),J.scrollTrigger&&J.scrollTrigger.kill(!!G1),J.progress()<1&&o1(J,"onInterrupt"),J},L9,Y$=[],M$=function(J){if(!J)return;if(J=!J.name&&J.default||J,SQ()||J.headless){var Q=J.name,$=b0(J),K=Q&&!$&&J.init?function(){this._props=[]}:J,q={init:p9,render:lQ,add:uQ,kill:O5,modifier:D5,rawVars:0},G={targetTest:0,get:0,getSetter:TJ,aliases:{},register:0};if(I9(),J!==K){if(f1[Q])return;if(m1(K,m1(zJ(J,q),G)),M9(K.prototype,M9(q,zJ(J,G))),f1[K.prop=Q]=K,J.targetTest)FJ.push(K),yQ[Q]=1;Q=(Q==="css"?"CSS":Q.charAt(0).toUpperCase()+Q.substr(1))+"Plugin"}t7(Q,K),J.register&&J.register(N1,K,z1)}else Y$.push(J)},L0=255,g9={aqua:[0,L0,L0],lime:[0,L0,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,L0],navy:[0,0,128],white:[L0,L0,L0],olive:[128,128,0],yellow:[L0,L0,0],orange:[L0,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[L0,0,0],pink:[L0,192,203],cyan:[0,L0,L0],transparent:[L0,L0,L0,0]},YQ=function(J,Q,$){return J+=J<0?1:J>1?-1:0,(J*6<1?Q+($-Q)*J*6:J<0.5?$:J*3<2?Q+($-Q)*(0.6666666666666666-J)*6:Q)*L0+0.5|0},N$=function(J,Q,$){var K=!J?g9.black:O8(J)?[J>>16,J>>8&L0,J&L0]:0,q,G,H,W,B,j,L,X,U,M;if(!K){if(J.substr(-1)===",")J=J.substr(0,J.length-1);if(g9[J])K=g9[J];else if(J.charAt(0)==="#"){if(J.length<6)q=J.charAt(1),G=J.charAt(2),H=J.charAt(3),J="#"+q+q+G+G+H+H+(J.length===5?J.charAt(4)+J.charAt(4):"");if(J.length===9)return K=parseInt(J.substr(1,6),16),[K>>16,K>>8&L0,K&L0,parseInt(J.substr(7),16)/255];J=parseInt(J.substr(1),16),K=[J>>16,J>>8&L0,J&L0]}else if(J.substr(0,3)==="hsl"){if(K=M=J.match(g7),!Q)W=+K[0]%360/360,B=+K[1]/100,j=+K[2]/100,G=j<=0.5?j*(B+1):j+B-j*B,q=j*2-G,K.length>3&&(K[3]*=1),K[0]=YQ(W+0.3333333333333333,q,G),K[1]=YQ(W,q,G),K[2]=YQ(W-0.3333333333333333,q,G);else if(~J.indexOf("="))return K=J.match(bQ),$&&K.length<4&&(K[3]=1),K}else K=J.match(g7)||g9.transparent;K=K.map(Number)}if(Q&&!M){if(q=K[0]/L0,G=K[1]/L0,H=K[2]/L0,L=Math.max(q,G,H),X=Math.min(q,G,H),j=(L+X)/2,L===X)W=B=0;else U=L-X,B=j>0.5?U/(2-L-X):U/(L+X),W=L===q?(G-H)/U+(GJ||D<0)&&($+=D-Q),K+=D,E=K-$,F=E-G,F>0||V)P=++L.frame,X=E-L.time*1000,L.time=E=E/1000,G+=F+(F>=q?4:q-F),C=1;if(V||(W=B(Y)),C)for(U=0;U=D&&U--},_listeners:H},L}(),I9=function(){return!o9&&_1.wake()},$0={},B5=/^[\d.\-M][\d.\-,\s]/,j5=/["']/g,U5=function(J){var Q={},$=J.substr(1,J.length-3).split(":"),K=$[0],q=1,G=$.length,H,W,B;for(;q1&&$.config?$.config.apply(null,~J.indexOf("{")?[U5(Q[1])]:X5(J).split(",").map(Q$)):$0._CE&&B5.test(J)?$0._CE("",J):$},I$=function(J){return function(Q){return 1-J(1-Q)}},V$=function Z(J,Q){var $=J._first,K;while($){if($ instanceof q1)Z($,Q);else if($.vars.yoyoEase&&(!$._yoyo||!$._repeat)&&$._yoyo!==Q)if($.timeline)Z($.timeline,Q);else K=$._ease,$._ease=$._yEase,$._yEase=K,$._yoyo=Q;$=$._next}},i8=function(J,Q){return!J?Q:(b0(J)?J:$0[J]||L5(J))||Q},e8=function(J,Q,$,K){if($===void 0)$=function(W){return 1-Q(1-W)};if(K===void 0)K=function(W){return W<0.5?Q(W*2)/2:1-Q((1-W)*2)/2};var q={easeIn:Q,easeOut:$,easeInOut:K},G;return E1(J,function(H){$0[H]=l1[H]=q,$0[G=H.toLowerCase()]=$;for(var W in q)$0[G+(W==="easeIn"?".in":W==="easeOut"?".out":".inOut")]=$0[H+"."+W]=q[W]}),q},C$=function(J){return function(Q){return Q<0.5?(1-J(1-Q*2))/2:0.5+J((Q-0.5)*2)/2}},MQ=function Z(J,Q,$){var K=Q>=1?Q:1,q=($||(J?0.3:0.45))/(Q<1?Q:1),G=q/VQ*(Math.asin(1/K)||0),H=function(j){return j===1?1:K*Math.pow(2,-10*j)*vZ((j-G)*q)+1},W=J==="out"?H:J==="in"?function(B){return 1-H(1-B)}:C$(H);return q=VQ/q,W.config=function(B,j){return Z(J,B,j)},W},NQ=function Z(J,Q){if(Q===void 0)Q=1.70158;var $=function(G){return G?--G*G*((Q+1)*G+Q)+1:0},K=J==="out"?$:J==="in"?function(q){return 1-$(1-q)}:C$($);return K.config=function(q){return Z(J,q)},K};E1("Linear,Quad,Cubic,Quart,Quint,Strong",function(Z,J){var Q=J<5?J+1:J;e8(Z+",Power"+(Q-1),J?function($){return Math.pow($,Q)}:function($){return $},function($){return 1-Math.pow(1-$,Q)},function($){return $<0.5?Math.pow($*2,Q)/2:1-Math.pow((1-$)*2,Q)/2})});$0.Linear.easeNone=$0.none=$0.Linear.easeIn;e8("Elastic",MQ("in"),MQ("out"),MQ());(function(Z,J){var Q=1/J,$=2*Q,K=2.5*Q,q=function(H){return H0?$+($+this._rDelay)*this._repeat:$):this.totalDuration()&&this._dur},J.totalDuration=function($){if(!arguments.length)return this._tDur;return this._dirty=0,R9(this,this._repeat<0?$:($-this._repeat*this._rDelay)/(this._repeat+1))},J.totalTime=function($,K){if(I9(),!arguments.length)return this._tTime;var q=this._dp;if(q&&q.smoothChildTiming&&this._ts){bJ(this,$),!q._dp||q.parent||Z$(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&&$0||!this._tDur&&!$))M8(this._dp,this,this._start-this._delay)}if(this._tTime!==$||!this._dur&&!K||this._initted&&Math.abs(this._zTime)===Y0||!this._initted&&this._dur&&$||!$&&!this._initted&&(this.add||this._ptLookup))this._ts||(this._pTime=$),J$(this,$,K);return this},J.time=function($,K){return arguments.length?this.totalTime(Math.min(this.totalDuration(),$+d7(this))%(this._dur+this._rDelay)||($?this._dur:0),K):this._time},J.totalProgress=function($,K){return arguments.length?this.totalTime(this.totalDuration()*$,K):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},J.progress=function($,K){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-$:$)+d7(this),K):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},J.iteration=function($,K){var q=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+($-1)*q,K):this._repeat?N9(this._tTime,q)+1:1},J.timeScale=function($,K){if(!arguments.length)return this._rts===-Y0?0:this._rts;if(this._rts===$)return this;var q=this.parent&&this._ts?AJ(this.parent._time,this):this._tTime;return this._rts=+$||0,this._ts=this._ps||$===-Y0?0:this._rts,this.totalTime(n9(-Math.abs(this._delay),this.totalDuration(),q),K!==!1),SJ(this),nZ(this)},J.paused=function($){if(!arguments.length)return this._ps;if(this._ps!==$)if(this._ps=$,$)this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0;else I9(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==Y0&&(this._tTime-=Y0));return this},J.startTime=function($){if(arguments.length){this._start=O0($);var K=this.parent||this._dp;return K&&(K._sort||!this.parent)&&M8(K,this,this._start-this._delay),this}return this._start},J.endTime=function($){return this._start+(v1($)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},J.rawTime=function($){var K=this.parent||this._dp;return!K?this._tTime:$&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):!this._ts?this._tTime:AJ(K.rawTime($),this)},J.revert=function($){if($===void 0)$=pZ;var K=G1;if(G1=$,vQ(this))this.timeline&&this.timeline.revert($),this.totalTime(-0.01,$.suppressEvents);return this.data!=="nested"&&$.kill!==!1&&this.kill(),G1=K,this},J.globalTime=function($){var K=this,q=arguments.length?$:K.rawTime();while(K)q=K._start+q/(Math.abs(K._ts)||1),K=K._dp;return!this.parent&&this._sat?this._sat.globalTime($):q},J.repeat=function($){if(arguments.length)return this._repeat=$===1/0?-2:$,c7(this);return this._repeat===-2?1/0:this._repeat},J.repeatDelay=function($){if(arguments.length){var K=this._time;return this._rDelay=$,c7(this),K?this.time(K):this}return this._rDelay},J.yoyo=function($){if(arguments.length)return this._yoyo=$,this;return this._yoyo},J.seek=function($,K){return this.totalTime(t1(this,$),v1(K))},J.restart=function($,K){return this.play().totalTime($?-this._delay:0,v1(K)),this._dur||(this._zTime=-Y0),this},J.play=function($,K){return $!=null&&this.seek($,K),this.reversed(!1).paused(!1)},J.reverse=function($,K){return $!=null&&this.seek($||this.totalDuration(),K),this.reversed(!0).paused(!1)},J.pause=function($,K){return $!=null&&this.seek($,K),this.paused(!0)},J.resume=function(){return this.paused(!1)},J.reversed=function($){if(arguments.length)return!!$!==this.reversed()&&this.timeScale(-this._rts||($?-Y0:0)),this;return this._rts<0},J.invalidate=function(){return this._initted=this._act=0,this._zTime=-Y0,this},J.isActive=function(){var $=this.parent||this._dp,K=this._start,q;return!!(!$||this._ts&&this._initted&&$.isActive()&&(q=$.rawTime(!0))>=K&&q1){if(!K)delete G[$];else G[$]=K,q&&(G[$+"Params"]=q),$==="onUpdate"&&(this._onUpdate=K);return this}return G[$]},J.then=function($){var K=this,q=K._prom;return new Promise(function(G){var H=b0($)?$:$$,W=function(){var j=K.then;K.then=null,q&&q(),b0(H)&&(H=H(K))&&(H.then||H===K)&&(K.then=j),G(H),K.then=j};if(K._initted&&K.totalProgress()===1&&K._ts>=0||!K._tTime&&K._ts<0)W();else K._prom=W})},J.kill=function(){v9(this)},Z}();m1(l9.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:-Y0,_prom:0,_ps:!1,_rts:1});var q1=function(Z){s7(J,Z);function J($,K){var q;if($===void 0)$={};return q=Z.call(this,$)||this,q.labels={},q.smoothChildTiming=!!$.smoothChildTiming,q.autoRemoveChildren=!!$.autoRemoveChildren,q._sort=v1($.sortChildren),E0&&M8($.parent||E0,F8(q),K),$.reversed&&q.reverse(),$.paused&&q.paused(!0),$.scrollTrigger&&q$(F8(q),$.scrollTrigger),q}var Q=J.prototype;return Q.to=function(K,q,G){return u9(0,arguments,this),this},Q.from=function(K,q,G){return u9(1,arguments,this),this},Q.fromTo=function(K,q,G,H){return u9(2,arguments,this),this},Q.set=function(K,q,G){return q.duration=0,q.parent=this,m9(q).repeatDelay||(q.repeat=0),q.immediateRender=!!q.immediateRender,new _0(K,q,t1(this,G),1),this},Q.call=function(K,q,G){return M8(this,_0.delayedCall(0,K,q),G)},Q.staggerTo=function(K,q,G,H,W,B,j){return G.duration=q,G.stagger=G.stagger||H,G.onComplete=B,G.onCompleteParams=j,G.parent=this,new _0(K,G,t1(this,W)),this},Q.staggerFrom=function(K,q,G,H,W,B,j){return G.runBackwards=1,m9(G).immediateRender=v1(G.immediateRender),this.staggerTo(K,q,G,H,W,B,j)},Q.staggerFromTo=function(K,q,G,H,W,B,j,L){return H.startAt=G,m9(H).immediateRender=v1(H.immediateRender),this.staggerTo(K,q,H,W,B,j,L)},Q.render=function(K,q,G){var H=this._time,W=this._dirty?this.totalDuration():this._tDur,B=this._dur,j=K<=0?0:O0(K),L=this._zTime<0!==K<0&&(this._initted||!B),X,U,M,Y,N,D,V,F,C,E,P,R;if(this!==E0&&j>W&&K>=0&&(j=W),j!==this._tTime||G||L){if(H!==this._time&&B)j+=this._time-H,K+=this._time-H;if(X=j,C=this._start,F=this._ts,D=!F,L)B||(H=this._zTime),(K||!q)&&(this._zTime=K);if(this._repeat){if(P=this._yoyo,N=B+this._rDelay,this._repeat<-1&&K<0)return this.totalTime(N*100+K,q,G);if(X=O0(j%N),j===W)Y=this._repeat,X=B;else{if(E=O0(j/N),Y=~~E,Y&&Y===E)X=B,Y--;X>B&&(X=B)}if(E=N9(this._tTime,N),!H&&this._tTime&&E!==Y&&this._tTime-E*N-this._dur<=0&&(E=Y),P&&Y&1)X=B-X,R=1;if(Y!==E&&!this._lock){var k=P&&E&1,A=k===(P&&Y&1);if(Y=H&&K>=0){U=this._first;while(U){if(M=U._next,(U._act||X>=U._start)&&U._ts&&V!==U){if(U.parent!==this)return this.render(K,q,G);if(U.render(U._ts>0?(X-U._start)*U._ts:(U._dirty?U.totalDuration():U._tDur)+(X-U._start)*U._ts,q,G),X!==this._time||!this._ts&&!D){V=0,M&&(j+=this._zTime=-Y0);break}}U=M}}else{U=this._last;var O=K<0?K:X;while(U){if(M=U._prev,(U._act||O<=U._end)&&U._ts&&V!==U){if(U.parent!==this)return this.render(K,q,G);if(U.render(U._ts>0?(O-U._start)*U._ts:(U._dirty?U.totalDuration():U._tDur)+(O-U._start)*U._ts,q,G||G1&&vQ(U)),X!==this._time||!this._ts&&!D){V=0,M&&(j+=this._zTime=O?-Y0:Y0);break}}U=M}}if(V&&!q){if(this.pause(),V.render(X>=H?0:-Y0)._zTime=X>=H?1:-1,this._ts)return this._start=C,SJ(this),this.render(K,q,G)}if(this._onUpdate&&!q&&o1(this,"onUpdate",!0),j===W&&this._tTime>=this.totalDuration()||!j&&H){if(C===this._start||Math.abs(F)!==Math.abs(this._ts)){if(!this._lock){if((K||!B)&&(j===W&&this._ts>0||!j&&this._ts<0)&&v8(this,1),!q&&!(K<0&&!H)&&(j||H||!W))o1(this,j===W&&K>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(j0)&&this._prom()}}}}return this},Q.add=function(K,q){var G=this;if(O8(q)||(q=t1(this,q,K)),!(K instanceof l9)){if(M1(K))return K.forEach(function(H){return G.add(H,q)}),this;if(s0(K))return this.addLabel(K,q);if(b0(K))K=_0.delayedCall(0,K);else return this}return this!==K?M8(this,K,q):this},Q.getChildren=function(K,q,G,H){if(K===void 0)K=!0;if(q===void 0)q=!0;if(G===void 0)G=!0;if(H===void 0)H=-e1;var W=[],B=this._first;while(B){if(B._start>=H)if(B instanceof _0)q&&W.push(B);else G&&W.push(B),K&&W.push.apply(W,B.getChildren(!0,q,G));B=B._next}return W},Q.getById=function(K){var q=this.getChildren(1,1,1),G=q.length;while(G--)if(q[G].vars.id===K)return q[G]},Q.remove=function(K){if(s0(K))return this.removeLabel(K);if(b0(K))return this.killTweensOf(K);if(K.parent===this&&s9(this,K),K===this._recent)this._recent=this._last;return n8(this)},Q.totalTime=function(K,q){if(!arguments.length)return this._tTime;if(this._forcing=1,!this._dp&&this._ts)this._start=O0(_1.time-(this._ts>0?K/this._ts:(this.totalDuration()-K)/-this._ts));return Z.prototype.totalTime.call(this,K,q),this._forcing=0,this},Q.addLabel=function(K,q){return this.labels[K]=t1(this,q),this},Q.removeLabel=function(K){return delete this.labels[K],this},Q.addPause=function(K,q,G){var H=_0.delayedCall(0,q||p9,G);return H.data="isPause",this._hasPause=1,M8(this,H,t1(this,K))},Q.removePause=function(K){var q=this._first;K=t1(this,K);while(q){if(q._start===K&&q.data==="isPause")v8(q);q=q._next}},Q.killTweensOf=function(K,q,G){var H=this.getTweensOf(K,G),W=H.length;while(W--)h8!==H[W]&&H[W].kill(K,q);return this},Q.getTweensOf=function(K,q){var G=[],H=J8(K),W=this._first,B=O8(q),j;while(W){if(W instanceof _0){if(oZ(W._targets,H)&&(B?(!h8||W._initted&&W._ts)&&W.globalTime(0)<=q&&W.globalTime(W.totalDuration())>q:!q||W.isActive()))G.push(W)}else if((j=W.getTweensOf(H,q)).length)G.push.apply(G,j);W=W._next}return G},Q.tweenTo=function(K,q){q=q||{};var G=this,H=t1(G,K),W=q,B=W.startAt,j=W.onStart,L=W.onStartParams,X=W.immediateRender,U,M=_0.to(G,m1({ease:q.ease||"none",lazy:!1,immediateRender:!1,time:H,overwrite:"auto",duration:q.duration||Math.abs((H-(B&&"time"in B?B.time:G._time))/G.timeScale())||Y0,onStart:function(){if(G.pause(),!U){var N=q.duration||Math.abs((H-(B&&"time"in B?B.time:G._time))/G.timeScale());M._dur!==N&&R9(M,N,0,1).render(M._time,!0,!0),U=1}j&&j.apply(M,L||[])}},q));return X?M.render(0):M},Q.tweenFromTo=function(K,q,G){return this.tweenTo(q,m1({startAt:{time:t1(this,K)}},G))},Q.recent=function(){return this._recent},Q.nextLabel=function(K){if(K===void 0)K=this._time;return p7(this,t1(this,K))},Q.previousLabel=function(K){if(K===void 0)K=this._time;return p7(this,t1(this,K),1)},Q.currentLabel=function(K){return arguments.length?this.seek(K,!0):this.previousLabel(this._time+Y0)},Q.shiftChildren=function(K,q,G){if(G===void 0)G=0;var H=this._first,W=this.labels,B;K=O0(K);while(H){if(H._start>=G)H._start+=K,H._end+=K;H=H._next}if(q){for(B in W)if(W[B]>=G)W[B]+=K}return n8(this)},Q.invalidate=function(K){var q=this._first;this._lock=0;while(q)q.invalidate(K),q=q._next;return Z.prototype.invalidate.call(this,K)},Q.clear=function(K){if(K===void 0)K=!0;var q=this._first,G;while(q)G=q._next,this.remove(q),q=G;return this._dp&&(this._time=this._tTime=this._pTime=0),K&&(this.labels={}),n8(this)},Q.totalDuration=function(K){var q=0,G=this,H=G._last,W=e1,B,j,L;if(arguments.length)return G.timeScale((G._repeat<0?G.duration():G.totalDuration())/(G.reversed()?-K:K));if(G._dirty){L=G.parent;while(H){if(B=H._prev,H._dirty&&H.totalDuration(),j=H._start,j>W&&G._sort&&H._ts&&!G._lock)G._lock=1,M8(G,H,j-H._delay,1)._lock=0;else W=j;if(j<0&&H._ts){if(q-=j,!L&&!G._dp||L&&L.smoothChildTiming)G._start+=O0(j/G._ts),G._time-=j,G._tTime-=j;G.shiftChildren(-j,!1,-1/0),W=0}H._end>q&&H._ts&&(q=H._end),H=B}R9(G,G===E0&&G._time>q?G._time:q,1,1),G._dirty=0}return G._tDur},J.updateRoot=function(K){if(E0._ts)J$(E0,AJ(K,E0)),e7=_1.frame;if(_1.frame>=m7){m7+=g1.autoSleep||120;var q=E0._first;if(!q||!q._ts){if(g1.autoSleep&&_1._listeners.length<2){while(q&&!q._ts)q=q._next;q||_1.sleep()}}}},J}(l9);m1(q1.prototype,{_lock:0,_hasPause:0,_forcing:0});var Y5=function(J,Q,$,K,q,G,H){var W=new z1(this._pt,J,Q,0,1,oQ,null,q),B=0,j=0,L,X,U,M,Y,N,D,V;if(W.b=$,W.e=K,$+="",K+="",D=~K.indexOf("random("))K=V9(K);if(G)V=[$,K],G(V,J,Q),$=V[0],K=V[1];X=$.match(XQ)||[];while(L=XQ.exec(K)){if(M=L[0],Y=K.substring(B,L.index),U)U=(U+1)%5;else if(Y.substr(-5)==="rgba(")U=1;if(M!==X[j++])N=parseFloat(X[j-1])||0,W._pt={_next:W._pt,p:Y||j===1?Y:",",s:N,c:M.charAt(1)==="="?t8(N,M)-N:parseFloat(M)-N,m:U&&U<4?Math.round:0},B=XQ.lastIndex}if(W.c=B")}),C.duration();else{P={};for(k in M)k==="ease"||k==="easeEach"||I5(k,M[k],P,M.easeEach);for(k in P){_=P[k].sort(function(a,c){return a.t-c.t}),S=0;for(E=0;E<_.length;E++)h=_[E],l={ease:h.e,duration:(h.t-(E?_[E-1].t:0))/100*B},l[k]=h.v,C.to(F,l,S),S+=l.duration}C.duration()W-Y0&&!j?W:KB)X=B;if(D=this._yoyo&&M&1,D)C=this._yEase,X=B-X;if(N=N9(this._tTime,Y),X===H&&!G&&this._initted&&M===N)return this._tTime=L,this;if(M!==N){if(F&&this._yEase&&V$(F,D),this.vars.repeatRefresh&&!D&&!this._lock&&X!==Y&&this._initted)this._lock=G=1,this.render(O0(Y*M),!0).invalidate()._lock=0}}if(!this._initted){if(G$(this,j?K:X,G,q,L))return this._tTime=0,this;if(H!==this._time&&!(G&&this.vars.repeatRefresh&&M!==N))return this;if(B!==this._dur)return this.render(K,q,G)}if(this._tTime=L,this._time=X,!this._act&&this._ts)this._act=1,this._lazy=0;if(this.ratio=V=(C||this._ease)(X/B),this._from)this.ratio=V=1-V;if(!H&&L&&!q&&!N){if(o1(this,"onStart"),this._tTime!==L)return this}U=this._pt;while(U)U.r(V,U.d),U=U._next;if(F&&F.render(K<0?K:F._dur*F._ease(X/this._dur),q,G)||this._startAt&&(this._zTime=K),this._onUpdate&&!q)j&&DQ(this,K,q,G),o1(this,"onUpdate");if(this._repeat&&M!==N&&this.vars.onRepeat&&!q&&this.parent&&o1(this,"onRepeat"),(L===this._tDur||!L)&&this._tTime===L){if(j&&!this._onUpdate&&DQ(this,K,!0,!0),(K||!B)&&(L===this._tDur&&this._ts>0||!L&&this._ts<0)&&v8(this,1),!q&&!(j&&!H)&&(L||H||D))o1(this,L===W?"onComplete":"onReverseComplete",!0),this._prom&&!(L0)&&this._prom()}}return this},Q.targets=function(){return this._targets},Q.invalidate=function(K){return(!K||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(K),Z.prototype.invalidate.call(this,K)},Q.resetTo=function(K,q,G,H,W){o9||_1.wake(),this._ts||this.play();var B=Math.min(this._dur,(this._dp._time-this._start)*this._ts),j;if(this._initted||cQ(this,B),j=this._ease(B/this._dur),N5(this,K,q,G,H,j,B,W))return this.resetTo(K,q,G,H,1);return bJ(this,0),this.parent||K$(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0)},Q.kill=function(K,q){if(q===void 0)q="all";if(!K&&(!q||q==="all"))return this._lazy=this._pt=0,this.parent?v9(this):this.scrollTrigger&&this.scrollTrigger.kill(!!G1),this;if(this.timeline){var G=this.timeline.totalDuration();return this.timeline.killTweensOf(K,q,h8&&h8.vars.overwrite!==!0)._first||v9(this),this.parent&&G!==this.timeline.totalDuration()&&R9(this,this._dur*this.timeline._tDur/G,0,1),this}var H=this._targets,W=K?J8(K):H,B=this._ptLookup,j=this._pt,L,X,U,M,Y,N,D;if((!q||q==="all")&&sZ(H,W))return q==="all"&&(this._pt=0),v9(this);if(L=this._op=this._op||[],q!=="all"){if(s0(q))Y={},E1(q,function(V){return Y[V]=1}),q=Y;q=R5(H,q)}D=H.length;while(D--)if(~W.indexOf(H[D])){if(X=B[D],q==="all")L[D]=q,M=X,U={};else U=L[D]=L[D]||{},M=q;for(Y in M){if(N=X&&X[Y],N){if(!("kill"in N.d)||N.d.kill(Y)===!0)s9(this,N,"_pt");delete X[Y]}if(U!=="all")U[Y]=1}}return this._initted&&!this._pt&&j&&v9(this),this},J.to=function(K,q){return new J(K,q,arguments[2])},J.from=function(K,q){return u9(1,arguments)},J.delayedCall=function(K,q,G,H){return new J(q,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:K,onComplete:q,onReverseComplete:q,onCompleteParams:G,onReverseCompleteParams:G,callbackScope:H})},J.fromTo=function(K,q,G){return u9(2,arguments)},J.set=function(K,q){return q.duration=0,q.repeatDelay||(q.repeat=0),new J(K,q)},J.killTweensOf=function(K,q,G){return E0.killTweensOf(K,q,G)},J}(l9);m1(_0.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});E1("staggerTo,staggerFrom,staggerFromTo",function(Z){_0[Z]=function(){var J=new q1,Q=EQ.call(arguments,0);return Q.splice(Z==="staggerFromTo"?5:4,0,0),J[Z].apply(J,Q)}});var pQ=function(J,Q,$){return J[Q]=$},O$=function(J,Q,$){return J[Q]($)},V5=function(J,Q,$,K){return J[Q](K.fp,$)},C5=function(J,Q,$){return J.setAttribute(Q,$)},TJ=function(J,Q){return b0(J[Q])?O$:kJ(J[Q])&&J.setAttribute?C5:pQ},E$=function(J,Q){return Q.set(Q.t,Q.p,Math.round((Q.s+Q.c*J)*1e6)/1e6,Q)},F5=function(J,Q){return Q.set(Q.t,Q.p,!!(Q.s+Q.c*J),Q)},oQ=function(J,Q){var $=Q._pt,K="";if(!J&&Q.b)K=Q.b;else if(J===1&&Q.e)K=Q.e;else{while($)K=$.p+($.m?$.m($.s+$.c*J):Math.round(($.s+$.c*J)*1e4)/1e4)+K,$=$._next;K+=Q.c}Q.set(Q.t,Q.p,K,Q)},lQ=function(J,Q){var $=Q._pt;while($)$.r(J,$.d),$=$._next},D5=function(J,Q,$,K){var q=this._pt,G;while(q)G=q._next,q.p===K&&q.modifier(J,Q,$),q=G},O5=function(J){var Q=this._pt,$,K;while(Q){if(K=Q._next,Q.p===J&&!Q.op||Q.op===J)s9(this,Q,"_pt");else if(!Q.dep)$=1;Q=K}return!$},E5=function(J,Q,$,K){K.mSet(J,Q,K.m.call(K.tween,$,K.mt),K)},sQ=function(J){var Q=J._pt,$,K,q,G;while(Q){$=Q._next,K=q;while(K&&K.pr>Q.pr)K=K._next;if(Q._prev=K?K._prev:G)Q._prev._next=Q;else q=Q;if(Q._next=K)K._prev=Q;else G=Q;Q=$}J._pt=q},z1=function(){function Z(Q,$,K,q,G,H,W,B,j){if(this.t=$,this.s=q,this.c=G,this.p=K,this.r=H||E$,this.d=W||this,this.set=B||pQ,this.pr=j||0,this._next=Q,Q)Q._prev=this}var J=Z.prototype;return J.modifier=function($,K,q){this.mSet=this.mSet||this.set,this.set=E5,this.m=$,this.mt=q,this.tween=K},Z}();E1(hQ+"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",function(Z){return yQ[Z]=1});l1.TweenMax=l1.TweenLite=_0;l1.TimelineLite=l1.TimelineMax=q1;E0=new q1({sortChildren:!1,defaults:Y9,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});g1.stringFilter=gQ;var r8=[],DJ={},z5=[],l7=0,A5=0,RQ=function(J){return(DJ[J]||z5).map(function(Q){return Q()})},kQ=function(){var J=Date.now(),Q=[];if(J-l7>2)RQ("matchMediaInit"),r8.forEach(function($){var{queries:K,conditions:q}=$,G,H,W,B;for(H in K)if(G=Y8.matchMedia(K[H]).matches,G&&(W=1),G!==q[H])q[H]=G,B=1;if(B)$.revert(),W&&Q.push($)}),RQ("matchMediaRevert"),Q.forEach(function($){return $.onMatch($,function(K){return $.add(null,K)})}),l7=J,RQ("matchMedia")},z$=function(){function Z(Q,$){this.selector=$&&zQ($),this.data=[],this._r=[],this.isReverted=!1,this.id=A5++,Q&&this.add(Q)}var J=Z.prototype;return J.add=function($,K,q){if(b0($))q=K,K=$,$=b0;var G=this,H=function(){var B=C0,j=G.selector,L;return B&&B!==G&&B.data.push(G),q&&(G.selector=zQ(q)),C0=G,L=K.apply(G,arguments),b0(L)&&G._r.push(L),C0=B,G.selector=j,G.isReverted=!1,L};return G.last=H,$===b0?H(G,function(W){return G.add(null,W)}):$?G[$]=H:H},J.ignore=function($){var K=C0;C0=null,$(this),C0=K},J.getTweens=function(){var $=[];return this.data.forEach(function(K){return K instanceof Z?$.push.apply($,K.getTweens()):K instanceof _0&&!(K.parent&&K.parent.data==="nested")&&$.push(K)}),$},J.clear=function(){this._r.length=this.data.length=0},J.kill=function($,K){var q=this;if($)(function(){var H=q.getTweens(),W=q.data.length,B;while(W--)if(B=q.data[W],B.data==="isFlip")B.revert(),B.getChildren(!0,!0,!1).forEach(function(j){return H.splice(H.indexOf(j),1)});H.map(function(j){return{g:j._dur||j._delay||j._sat&&!j._sat.vars.immediateRender?j.globalTime(0):-1/0,t:j}}).sort(function(j,L){return L.g-j.g||-1/0}).forEach(function(j){return j.t.revert($)}),W=q.data.length;while(W--)if(B=q.data[W],B instanceof q1){if(B.data!=="nested")B.scrollTrigger&&B.scrollTrigger.revert(),B.kill()}else!(B instanceof _0)&&B.revert&&B.revert($);q._r.forEach(function(j){return j($,q)}),q.isReverted=!0})();else this.data.forEach(function(H){return H.kill&&H.kill()});if(this.clear(),K){var G=r8.length;while(G--)r8[G].id===this.id&&r8.splice(G,1)}},J.revert=function($){this.kill($||{})},Z}(),P5=function(){function Z(Q){this.contexts=[],this.scope=Q,C0&&C0.data.push(this)}var J=Z.prototype;return J.add=function($,K,q){N8($)||($={matches:$});var G=new z$(0,q||this.scope),H=G.conditions={},W,B,j;C0&&!G.selector&&(G.selector=C0.selector),this.contexts.push(G),K=G.add("onMatch",K),G.queries=$;for(B in $)if(B==="all")j=1;else if(W=Y8.matchMedia($[B]),W)r8.indexOf(G)<0&&r8.push(G),(H[B]=W.matches)&&(j=1),W.addListener?W.addListener(kQ):W.addEventListener("change",kQ);return j&&K(G,function(L){return G.add(null,L)}),this},J.revert=function($){this.kill($||{})},J.kill=function($){this.contexts.forEach(function(K){return K.kill($,!0)})},Z}(),PJ={registerPlugin:function(){for(var J=arguments.length,Q=Array(J),$=0;$1){var K=J.map(function(j){return N1.quickSetter(j,Q,$)}),q=K.length;return function(j){var L=q;while(L--)K[L](j)}}J=J[0]||{};var G=f1[Q],H=_8(J),W=H.harness&&(H.harness.aliases||{})[Q]||Q,B=G?function(j){var L=new G;L9._pt=0,L.init(J,$?j+$:j,L9,0,[J]),L.render(1,L),L9._pt&&lQ(1,L9)}:H.set(J,W);return G?B:function(j){return B(J,W,$?j+$:j,H,1)}},quickTo:function(J,Q,$){var K,q=N1.to(J,m1((K={},K[Q]="+=0.1",K.paused=!0,K.stagger=0,K),$||{})),G=function(W,B,j){return q.resetTo(Q,W,B,j)};return G.tween=q,G},isTweening:function(J){return E0.getTweensOf(J,!0).length>0},defaults:function(J){return J&&J.ease&&(J.ease=i8(J.ease,Y9.ease)),u7(Y9,J||{})},config:function(J){return u7(g1,J||{})},registerEffect:function(J){var{name:Q,effect:$,plugins:K,defaults:q,extendTimeline:G}=J;if((K||"").split(",").forEach(function(H){return H&&!f1[H]&&!l1[H]&&c9(Q+" effect requires "+H+" plugin.")}),LQ[Q]=function(H,W,B){return $(J8(H),m1(W||{},q),B)},G)q1.prototype[Q]=function(H,W,B){return this.add(LQ[Q](H,N8(W)?W:(B=W)&&{},this),B)}},registerEase:function(J,Q){$0[J]=i8(Q)},parseEase:function(J,Q){return arguments.length?i8(J,Q):$0},getById:function(J){return E0.getById(J)},exportRoot:function(J,Q){if(J===void 0)J={};var $=new q1(J),K,q;$.smoothChildTiming=v1(J.smoothChildTiming),E0.remove($),$._dp=0,$._time=$._tTime=E0._time,K=E0._first;while(K){if(q=K._next,Q||!(!K._dur&&K instanceof _0&&K.vars.onComplete===K._targets[0]))M8($,K,K._start-K._delay);K=q}return M8(E0,$,0),$},context:function(J,Q){return J?new z$(J,Q):C0},matchMedia:function(J){return new P5(J)},matchMediaRefresh:function(){return r8.forEach(function(J){var Q=J.conditions,$,K;for(K in Q)if(Q[K])Q[K]=!1,$=1;$&&J.revert()})||kQ()},addEventListener:function(J,Q){var $=DJ[J]||(DJ[J]=[]);~$.indexOf(Q)||$.push(Q)},removeEventListener:function(J,Q){var $=DJ[J],K=$&&$.indexOf(Q);K>=0&&$.splice(K,1)},utils:{wrap:q5,wrapYoyo:G5,distribute:B$,random:U$,snap:j$,normalize:Z5,getUnit:H1,clamp:J5,splitColor:N$,toArray:J8,selector:zQ,mapRange:L$,pipe:$5,unitize:K5,interpolate:H5,shuffle:W$},install:a7,effects:LQ,ticker:_1,updateRoot:q1.updateRoot,plugins:f1,globalTimeline:E0,core:{PropTween:z1,globals:t7,Tween:_0,Timeline:q1,Animation:l9,getCache:_8,_removeLinkedListItem:s9,reverting:function(){return G1},context:function(J){if(J&&C0)C0.data.push(J),J._ctx=C0;return C0},suppressOverwrites:function(J){return xQ=J}}};E1("to,from,fromTo,delayedCall,set,killTweensOf",function(Z){return PJ[Z]=_0[Z]});_1.add(q1.updateRoot);L9=PJ.to({},{duration:0});var k5=function(J,Q){var $=J._pt;while($&&$.p!==Q&&$.op!==Q&&$.fp!==Q)$=$._next;return $},x5=function(J,Q){var $=J._targets,K,q,G;for(K in Q){q=$.length;while(q--)if(G=J._ptLookup[q][K],G&&(G=G.d)){if(G._pt)G=k5(G,K);G&&G.modifier&&G.modifier(Q[K],J,$[q],K)}}},IQ=function(J,Q){return{name:J,headless:1,rawVars:1,init:function(K,q,G){G._onInit=function(H){var W,B;if(s0(q))W={},E1(q,function(j){return W[j]=1}),q=W;if(Q){W={};for(B in q)W[B]=Q(q[B]);q=W}x5(H,q)}}}},N1=PJ.registerPlugin({name:"attr",init:function(J,Q,$,K,q){var G,H,W;this.tween=$;for(G in Q)W=J.getAttribute(G)||"",H=this.add(J,"setAttribute",(W||0)+"",Q[G],K,q,0,0,G),H.op=G,H.b=W,this._props.push(G)},render:function(J,Q){var $=Q._pt;while($)G1?$.set($.t,$.p,$.b,$):$.r(J,$.d),$=$._next}},{name:"endArray",headless:1,init:function(J,Q){var $=Q.length;while($--)this.add(J,$,J[$]||0,Q[$],0,0,0,0,0,1)}},IQ("roundProps",AQ),IQ("modifiers"),IQ("snap",j$))||PJ;_0.version=q1.version=N1.version="3.14.2";r7=1;SQ()&&I9();var{Power0:S5,Power1:b5,Power2:T5,Power3:w5,Power4:y5,Linear:h5,Quad:f5,Cubic:_5,Quart:v5,Quint:g5,Strong:m5,Elastic:u5,Back:d5,SteppedEase:c5,Bounce:p5,Sine:o5,Expo:l5,Circ:s5}=$0;/*! * CSSPlugin 3.14.2 * https://gsap.com * * Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var A$,m8,F9,eQ,K9,n5,P$,J7,i5=function(){return typeof window<"u"},z8={},$9=180/Math.PI,D9=Math.PI/180,C9=Math.atan2,k$=1e8,Q7=/([A-Z])/g,r5=/(left|right|width|margin|padding|x)/i,a5=/[\s,\(]\S/,R8={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},iQ=function(J,Q){return Q.set(Q.t,Q.p,Math.round((Q.s+Q.c*J)*1e4)/1e4+Q.u,Q)},t5=function(J,Q){return Q.set(Q.t,Q.p,J===1?Q.e:Math.round((Q.s+Q.c*J)*1e4)/1e4+Q.u,Q)},e5=function(J,Q){return Q.set(Q.t,Q.p,J?Math.round((Q.s+Q.c*J)*1e4)/1e4+Q.u:Q.b,Q)},Jq=function(J,Q){return Q.set(Q.t,Q.p,J===1?Q.e:J?Math.round((Q.s+Q.c*J)*1e4)/1e4+Q.u:Q.b,Q)},Qq=function(J,Q){var $=Q.s+Q.c*J;Q.set(Q.t,Q.p,~~($+($<0?-0.5:0.5))+Q.u,Q)},f$=function(J,Q){return Q.set(Q.t,Q.p,J?Q.e:Q.b,Q)},_$=function(J,Q){return Q.set(Q.t,Q.p,J!==1?Q.b:Q.e,Q)},$q=function(J,Q,$){return J.style[Q]=$},Kq=function(J,Q,$){return J.style.setProperty(Q,$)},Zq=function(J,Q,$){return J._gsap[Q]=$},qq=function(J,Q,$){return J._gsap.scaleX=J._gsap.scaleY=$},Gq=function(J,Q,$,K,q){var G=J._gsap;G.scaleX=G.scaleY=$,G.renderTransform(q,G)},Hq=function(J,Q,$,K,q){var G=J._gsap;G[Q]=$,G.renderTransform(q,G)},z0="transform",u1=z0+"Origin",Wq=function Z(J,Q){var $=this,K=this.target,q=K.style,G=K._gsap;if(J in z8&&q){if(this.tfm=this.tfm||{},J!=="transform")J=R8[J]||J,~J.indexOf(",")?J.split(",").forEach(function(H){return $.tfm[H]=E8(K,H)}):this.tfm[J]=G.x?G[J]:E8(K,J),J===u1&&(this.tfm.zOrigin=G.zOrigin);else return R8.transform.split(",").forEach(function(H){return Z.call($,H,Q)});if(this.props.indexOf(z0)>=0)return;if(G.svg)this.svgo=K.getAttribute("data-svg-origin"),this.props.push(u1,Q,"");J=z0}(q||Q)&&this.props.push(J,Q,q[J])},v$=function(J){if(J.translate)J.removeProperty("translate"),J.removeProperty("scale"),J.removeProperty("rotate")},Bq=function(){var J=this.props,Q=this.target,$=Q.style,K=Q._gsap,q,G;for(q=0;q=0?x$[G]:"")+J},aQ=function(){if(i5()&&window.document)A$=window,m8=A$.document,F9=m8.documentElement,K9=rQ("div")||{style:{}},n5=rQ("div"),z0=O9(z0),u1=z0+"Origin",K9.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",m$=!!O9("perspective"),J7=N1.core.reverting,eQ=1},S$=function(J){var Q=J.ownerSVGElement,$=rQ("svg",Q&&Q.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),K=J.cloneNode(!0),q;K.style.display="block",$.appendChild(K),F9.appendChild($);try{q=K.getBBox()}catch(G){}return $.removeChild(K),F9.removeChild($),q},b$=function(J,Q){var $=Q.length;while($--)if(J.hasAttribute(Q[$]))return J.getAttribute(Q[$])},u$=function(J){var Q,$;try{Q=J.getBBox()}catch(K){Q=S$(J),$=1}return Q&&(Q.width||Q.height)||$||(Q=S$(J)),Q&&!Q.width&&!Q.x&&!Q.y?{x:+b$(J,["x","cx","x1"])||0,y:+b$(J,["y","cy","y1"])||0,width:0,height:0}:Q},d$=function(J){return!!(J.getCTM&&(!J.parentNode||J.ownerSVGElement)&&u$(J))},d8=function(J,Q){if(Q){var $=J.style,K;if(Q in z8&&Q!==u1)Q=z0;if($.removeProperty){if(K=Q.substr(0,2),K==="ms"||Q.substr(0,6)==="webkit")Q="-"+Q;$.removeProperty(K==="--"?Q:Q.replace(Q7,"-$1").toLowerCase())}else $.removeAttribute(Q)}},u8=function(J,Q,$,K,q,G){var H=new z1(J._pt,Q,$,0,1,G?_$:f$);return J._pt=H,H.b=K,H.e=q,J._props.push($),H},T$={deg:1,rad:1,turn:1},jq={grid:1,flex:1},c8=function Z(J,Q,$,K){var q=parseFloat($)||0,G=($+"").trim().substr((q+"").length)||"px",H=K9.style,W=r5.test(Q),B=J.tagName.toLowerCase()==="svg",j=(B?"client":"offset")+(W?"Width":"Height"),L=100,X=K==="px",U=K==="%",M,Y,N,D;if(K===G||!q||T$[K]||T$[G])return q;if(G!=="px"&&!X&&(q=Z(J,Q,$,"px")),D=J.getCTM&&d$(J),(U||G==="%")&&(z8[Q]||~Q.indexOf("adius")))return M=D?J.getBBox()[W?"width":"height"]:J[j],T0(U?q/M*L:q/100*M);if(H[W?"width":"height"]=L+(X?G:K),Y=K!=="rem"&&~Q.indexOf("adius")||K==="em"&&J.appendChild&&!B?J:J.parentNode,D)Y=(J.ownerSVGElement||{}).parentNode;if(!Y||Y===m8||!Y.appendChild)Y=m8.body;if(N=Y._gsap,N&&U&&N.width&&W&&N.time===_1.time&&!N.uncache)return T0(q/N.width*L);else{if(U&&(Q==="height"||Q==="width")){var V=J.style[Q];J.style[Q]=L+K,M=J[j],V?J.style[Q]=V:d8(J,Q)}else(U||G==="%")&&!jq[s1(Y,"display")]&&(H.position=s1(J,"position")),Y===J&&(H.position="static"),Y.appendChild(K9),M=K9[j],Y.removeChild(K9),H.position="absolute";if(W&&U)N=_8(Y),N.time=_1.time,N.width=Y[j]}return T0(X?M*q/L:M&&q?L/M*q:0)},E8=function(J,Q,$,K){var q;if(eQ||aQ(),Q in R8&&Q!=="transform"){if(Q=R8[Q],~Q.indexOf(","))Q=Q.split(",")[0]}if(z8[Q]&&Q!=="transform")q=a9(J,K),q=Q!=="transformOrigin"?q[Q]:q.svg?q.origin:yJ(s1(J,u1))+" "+q.zOrigin+"px";else if(q=J.style[Q],!q||q==="auto"||K||~(q+"").indexOf("calc("))q=wJ[Q]&&wJ[Q](J,Q,$)||s1(J,Q)||_Q(J,Q)||(Q==="opacity"?1:0);return $&&!~(q+"").trim().indexOf(" ")?c8(J,Q,q,$)+$:q},Uq=function(J,Q,$,K){if(!$||$==="none"){var q=O9(Q,J,1),G=q&&s1(J,q,1);if(G&&G!==$)Q=q,$=G;else if(Q==="borderColor")$=s1(J,"borderTopColor")}var H=new z1(this._pt,J.style,Q,0,1,oQ),W=0,B=0,j,L,X,U,M,Y,N,D,V,F,C,E;if(H.b=$,H.e=K,$+="",K+="",K.substring(0,6)==="var(--")K=s1(J,K.substring(4,K.indexOf(")")));if(K==="auto")Y=J.style[Q],J.style[Q]=K,K=s1(J,Q)||K,Y?J.style[Q]=Y:d8(J,Q);if(j=[$,K],gQ(j),$=j[0],K=j[1],X=$.match(a8)||[],E=K.match(a8)||[],E.length){while(L=a8.exec(K)){if(N=L[0],V=K.substring(W,L.index),M)M=(M+1)%5;else if(V.substr(-5)==="rgba("||V.substr(-5)==="hsla(")M=1;if(N!==(Y=X[B++]||"")){if(U=parseFloat(Y)||0,C=Y.substr((U+"").length),N.charAt(1)==="="&&(N=t8(U,N)+C),D=parseFloat(N),F=N.substr((D+"").length),W=a8.lastIndex-F.length,!F){if(F=F||g1.units[Q]||C,W===K.length)K+=F,H.e+=F}if(C!==F)U=c8(J,Q,Y,F)||0;H._pt={_next:H._pt,p:V||B===1?V:",",s:U,c:D-U,m:M&&M<4||Q==="zIndex"?Math.round:0}}}H.c=W-1){if(H=q[B],z8[H])W=1,H=H==="transformOrigin"?u1:z0;d8($,H)}}if(W){if(d8($,z0),G)G.svg&&$.removeAttribute("transform"),K.scale=K.rotate=K.translate="none",a9($,1),G.uncache=1,v$(K)}}},wJ={clearProps:function(J,Q,$,K,q){if(q.data!=="isFromStart"){var G=J._pt=new z1(J._pt,Q,$,0,0,Lq);return G.u=K,G.pr=-10,G.tween=q,J._props.push($),1}}},r9=[1,0,0,1,0,0],c$={},p$=function(J){return J==="matrix(1, 0, 0, 1, 0, 0)"||J==="none"||!J},y$=function(J){var Q=s1(J,z0);return p$(Q)?r9:Q.substr(7).match(bQ).map(T0)},$7=function(J,Q){var $=J._gsap||_8(J),K=J.style,q=y$(J),G,H,W,B;if($.svg&&J.getAttribute("transform"))return W=J.transform.baseVal.consolidate().matrix,q=[W.a,W.b,W.c,W.d,W.e,W.f],q.join(",")==="1,0,0,1,0,0"?r9:q;else if(q===r9&&!J.offsetParent&&J!==F9&&!$.svg){if(W=K.display,K.display="block",G=J.parentNode,!G||!J.offsetParent&&!J.getBoundingClientRect().width)B=1,H=J.nextElementSibling,F9.appendChild(J);if(q=y$(J),W?K.display=W:d8(J,"display"),B)H?G.insertBefore(J,H):G?G.appendChild(J):F9.removeChild(J)}return Q&&q.length>6?[q[0],q[1],q[4],q[5],q[12],q[13]]:q},tQ=function(J,Q,$,K,q,G){var H=J._gsap,W=q||$7(J,!0),B=H.xOrigin||0,j=H.yOrigin||0,L=H.xOffset||0,X=H.yOffset||0,U=W[0],M=W[1],Y=W[2],N=W[3],D=W[4],V=W[5],F=Q.split(" "),C=parseFloat(F[0])||0,E=parseFloat(F[1])||0,P,R,k,A;if(!$)P=u$(J),C=P.x+(~F[0].indexOf("%")?C/100*P.width:C),E=P.y+(~(F[1]||F[0]).indexOf("%")?E/100*P.height:E);else if(W!==r9&&(R=U*N-M*Y))k=C*(N/R)+E*(-Y/R)+(Y*V-N*D)/R,A=C*(-M/R)+E*(U/R)-(U*V-M*D)/R,C=k,E=A;if(K||K!==!1&&H.smooth)D=C-B,V=E-j,H.xOffset=L+(D*U+V*Y)-D,H.yOffset=X+(D*M+V*N)-V;else H.xOffset=H.yOffset=0;if(H.xOrigin=C,H.yOrigin=E,H.smooth=!!K,H.origin=Q,H.originIsAbsolute=!!$,J.style[u1]="0px 0px",G)u8(G,H,"xOrigin",B,C),u8(G,H,"yOrigin",j,E),u8(G,H,"xOffset",L,H.xOffset),u8(G,H,"yOffset",X,H.yOffset);J.setAttribute("data-svg-origin",C+" "+E)},a9=function(J,Q){var $=J._gsap||new mQ(J);if("x"in $&&!Q&&!$.uncache)return $;var K=J.style,q=$.scaleX<0,G="px",H="deg",W=getComputedStyle(J),B=s1(J,u1)||"0",j,L,X,U,M,Y,N,D,V,F,C,E,P,R,k,A,O,x,S,_,h,l,a,c,K0,H0,I,B0,J1,B1,j0,u0;if(j=L=X=Y=N=D=V=F=C=0,U=M=1,$.svg=!!(J.getCTM&&d$(J)),W.translate){if(W.translate!=="none"||W.scale!=="none"||W.rotate!=="none")K[z0]=(W.translate!=="none"?"translate3d("+(W.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(W.rotate!=="none"?"rotate("+W.rotate+") ":"")+(W.scale!=="none"?"scale("+W.scale.split(" ").join(",")+") ":"")+(W[z0]!=="none"?W[z0]:"");K.scale=K.rotate=K.translate="none"}if(R=$7(J,$.svg),$.svg){if($.uncache)K0=J.getBBox(),B=$.xOrigin-K0.x+"px "+($.yOrigin-K0.y)+"px",c="";else c=!Q&&J.getAttribute("data-svg-origin");tQ(J,c||B,!!c||$.originIsAbsolute,$.smooth!==!1,R)}if(E=$.xOrigin||0,P=$.yOrigin||0,R!==r9){if(x=R[0],S=R[1],_=R[2],h=R[3],j=l=R[4],L=a=R[5],R.length===6){if(U=Math.sqrt(x*x+S*S),M=Math.sqrt(h*h+_*_),Y=x||S?C9(S,x)*$9:0,V=_||h?C9(_,h)*$9+Y:0,V&&(M*=Math.abs(Math.cos(V*D9))),$.svg)j-=E-(E*x+P*_),L-=P-(E*S+P*h)}else{if(u0=R[6],B1=R[7],I=R[8],B0=R[9],J1=R[10],j0=R[11],j=R[12],L=R[13],X=R[14],k=C9(u0,J1),N=k*$9,k)A=Math.cos(-k),O=Math.sin(-k),c=l*A+I*O,K0=a*A+B0*O,H0=u0*A+J1*O,I=l*-O+I*A,B0=a*-O+B0*A,J1=u0*-O+J1*A,j0=B1*-O+j0*A,l=c,a=K0,u0=H0;if(k=C9(-_,J1),D=k*$9,k)A=Math.cos(-k),O=Math.sin(-k),c=x*A-I*O,K0=S*A-B0*O,H0=_*A-J1*O,j0=h*O+j0*A,x=c,S=K0,_=H0;if(k=C9(S,x),Y=k*$9,k)A=Math.cos(k),O=Math.sin(k),c=x*A+S*O,K0=l*A+a*O,S=S*A-x*O,a=a*A-l*O,x=c,l=K0;if(N&&Math.abs(N)+Math.abs(Y)>359.9)N=Y=0,D=180-D;U=T0(Math.sqrt(x*x+S*S+_*_)),M=T0(Math.sqrt(a*a+u0*u0)),k=C9(l,a),V=Math.abs(k)>0.0002?k*$9:0,C=j0?1/(j0<0?-j0:j0):0}if($.svg)c=J.getAttribute("transform"),$.forceCSS=J.setAttribute("transform","")||!p$(s1(J,z0)),c&&J.setAttribute("transform",c)}if(Math.abs(V)>90&&Math.abs(V)<270)if(q)U*=-1,V+=Y<=0?180:-180,Y+=Y<=0?180:-180;else M*=-1,V+=V<=0?180:-180;if(Q=Q||$.uncache,$.x=j-(($.xPercent=j&&(!Q&&$.xPercent||(Math.round(J.offsetWidth/2)===Math.round(-j)?-50:0)))?J.offsetWidth*$.xPercent/100:0)+G,$.y=L-(($.yPercent=L&&(!Q&&$.yPercent||(Math.round(J.offsetHeight/2)===Math.round(-L)?-50:0)))?J.offsetHeight*$.yPercent/100:0)+G,$.z=X+G,$.scaleX=T0(U),$.scaleY=T0(M),$.rotation=T0(Y)+H,$.rotationX=T0(N)+H,$.rotationY=T0(D)+H,$.skewX=V+H,$.skewY=F+H,$.transformPerspective=C+G,$.zOrigin=parseFloat(B.split(" ")[2])||!Q&&$.zOrigin||0)K[u1]=yJ(B);return $.xOffset=$.yOffset=0,$.force3D=g1.force3D,$.renderTransform=$.svg?Mq:m$?o$:Yq,$.uncache=0,$},yJ=function(J){return(J=J.split(" "))[0]+" "+J[1]},nQ=function(J,Q,$){var K=H1(Q);return T0(parseFloat(Q)+parseFloat(c8(J,"x",$+"px",K)))+K},Yq=function(J,Q){Q.z="0px",Q.rotationY=Q.rotationX="0deg",Q.force3D=0,o$(J,Q)},J9="0deg",i9="0px",Q9=") ",o$=function(J,Q){var $=Q||this,K=$.xPercent,q=$.yPercent,G=$.x,H=$.y,W=$.z,B=$.rotation,j=$.rotationY,L=$.rotationX,X=$.skewX,U=$.skewY,M=$.scaleX,Y=$.scaleY,N=$.transformPerspective,D=$.force3D,V=$.target,F=$.zOrigin,C="",E=D==="auto"&&J&&J!==1||D===!0;if(F&&(L!==J9||j!==J9)){var P=parseFloat(j)*D9,R=Math.sin(P),k=Math.cos(P),A;P=parseFloat(L)*D9,A=Math.cos(P),G=nQ(V,G,R*A*-F),H=nQ(V,H,-Math.sin(P)*-F),W=nQ(V,W,k*A*-F+F)}if(N!==i9)C+="perspective("+N+Q9;if(K||q)C+="translate("+K+"%, "+q+"%) ";if(E||G!==i9||H!==i9||W!==i9)C+=W!==i9||E?"translate3d("+G+", "+H+", "+W+") ":"translate("+G+", "+H+Q9;if(B!==J9)C+="rotate("+B+Q9;if(j!==J9)C+="rotateY("+j+Q9;if(L!==J9)C+="rotateX("+L+Q9;if(X!==J9||U!==J9)C+="skew("+X+", "+U+Q9;if(M!==1||Y!==1)C+="scale("+M+", "+Y+Q9;V.style[z0]=C||"translate(0, 0)"},Mq=function(J,Q){var $=Q||this,K=$.xPercent,q=$.yPercent,G=$.x,H=$.y,W=$.rotation,B=$.skewX,j=$.skewY,L=$.scaleX,X=$.scaleY,U=$.target,M=$.xOrigin,Y=$.yOrigin,N=$.xOffset,D=$.yOffset,V=$.forceCSS,F=parseFloat(G),C=parseFloat(H),E,P,R,k,A;if(W=parseFloat(W),B=parseFloat(B),j=parseFloat(j),j)j=parseFloat(j),B+=j,W+=j;if(W||B){if(W*=D9,B*=D9,E=Math.cos(W)*L,P=Math.sin(W)*L,R=Math.sin(W-B)*-X,k=Math.cos(W-B)*X,B){if(j*=D9,A=Math.tan(B-j),A=Math.sqrt(1+A*A),R*=A,k*=A,j)A=Math.tan(j),A=Math.sqrt(1+A*A),E*=A,P*=A}E=T0(E),P=T0(P),R=T0(R),k=T0(k)}else E=L,k=X,P=R=0;if(F&&!~(G+"").indexOf("px")||C&&!~(H+"").indexOf("px"))F=c8(U,"x",G,"px"),C=c8(U,"y",H,"px");if(M||Y||N||D)F=T0(F+M-(M*E+Y*R)+N),C=T0(C+Y-(M*P+Y*k)+D);if(K||q)A=U.getBBox(),F=T0(F+K/100*A.width),C=T0(C+q/100*A.height);A="matrix("+E+","+P+","+R+","+k+","+F+","+C+")",U.setAttribute("transform",A),V&&(U.style[z0]=A)},Nq=function(J,Q,$,K,q){var G=360,H=s0(q),W=parseFloat(q)*(H&&~q.indexOf("rad")?$9:1),B=W-K,j=K+B+"deg",L,X;if(H){if(L=q.split("_")[1],L==="short"){if(B%=G,B!==B%(G/2))B+=B<0?G:-G}if(L==="cw"&&B<0)B=(B+G*k$)%G-~~(B/G)*G;else if(L==="ccw"&&B>0)B=(B-G*k$)%G-~~(B/G)*G}return J._pt=X=new z1(J._pt,Q,$,K,B,t5),X.e=j,X.u="deg",J._props.push($),X},h$=function(J,Q){for(var $ in Q)J[$]=Q[$];return J},Rq=function(J,Q,$){var K=h$({},$._gsap),q="perspective,force3D,transformOrigin,svgOrigin",G=$.style,H,W,B,j,L,X,U,M;if(K.svg)B=$.getAttribute("transform"),$.setAttribute("transform",""),G[z0]=Q,H=a9($,1),d8($,z0),$.setAttribute("transform",B);else B=getComputedStyle($)[z0],G[z0]=Q,H=a9($,1),G[z0]=B;for(W in z8)if(B=K[W],j=H[W],B!==j&&q.indexOf(W)<0)U=H1(B),M=H1(j),L=U!==M?c8($,W,B,M):parseFloat(B),X=parseFloat(j),J._pt=new z1(J._pt,H,W,L,X-L,iQ),J._pt.u=M||0,J._props.push(W);h$(H,K)};E1("padding,margin,Width,Radius",function(Z,J){var Q="Top",$="Right",K="Bottom",q="Left",G=(J<3?[Q,$,K,q]:[Q+q,Q+$,K+$,K+q]).map(function(H){return J<2?Z+H:"border"+H+Z});wJ[J>1?"border"+Z:Z]=function(H,W,B,j,L){var X,U;if(arguments.length<4)return X=G.map(function(M){return E8(H,M,B)}),U=X.join(" "),U.split(X[0]).length===5?X[0]:U;X=(j+"").split(" "),U={},G.forEach(function(M,Y){return U[M]=X[Y]=X[Y]||X[(Y-1)/2|0]}),H.init(W,U,L)}});var K7={name:"css",register:aQ,targetTest:function(J){return J.style&&J.nodeType},init:function(J,Q,$,K,q){var G=this._props,H=J.style,W=$.vars.startAt,B,j,L,X,U,M,Y,N,D,V,F,C,E,P,R,k,A;eQ||aQ(),this.styles=this.styles||g$(J),k=this.styles.props,this.tween=$;for(Y in Q){if(Y==="autoRound")continue;if(j=Q[Y],f1[Y]&&dQ(Y,Q,$,K,J,q))continue;if(U=typeof j,M=wJ[Y],U==="function")j=j.call($,K,J,q),U=typeof j;if(U==="string"&&~j.indexOf("random("))j=V9(j);if(M)M(this,J,Y,j,$)&&(R=1);else if(Y.substr(0,2)==="--"){if(B=(getComputedStyle(J).getPropertyValue(Y)+"").trim(),j+="",D8.lastIndex=0,!D8.test(B))N=H1(B),D=H1(j),D?N!==D&&(B=c8(J,Y,B,D)+D):N&&(j+=N);this.add(H,"setProperty",B,j,K,q,0,0,Y),G.push(Y),k.push(Y,0,H[Y])}else if(U!=="undefined"){if(W&&Y in W)B=typeof W[Y]==="function"?W[Y].call($,K,J,q):W[Y],s0(B)&&~B.indexOf("random(")&&(B=V9(B)),H1(B+"")||B==="auto"||(B+=g1.units[Y]||H1(E8(J,Y))||""),(B+"").charAt(1)==="="&&(B=E8(J,Y));else B=E8(J,Y);if(X=parseFloat(B),V=U==="string"&&j.charAt(1)==="="&&j.substr(0,2),V&&(j=j.substr(2)),L=parseFloat(j),Y in R8){if(Y==="autoAlpha"){if(X===1&&E8(J,"visibility")==="hidden"&&L)X=0;k.push("visibility",0,H.visibility),u8(this,H,"visibility",X?"inherit":"hidden",L?"inherit":"hidden",!L)}if(Y!=="scale"&&Y!=="transform")Y=R8[Y],~Y.indexOf(",")&&(Y=Y.split(",")[0])}if(F=Y in z8,F){if(this.styles.save(Y),A=j,U==="string"&&j.substring(0,6)==="var(--"){if(j=s1(J,j.substring(4,j.indexOf(")"))),j.substring(0,5)==="calc("){var O=J.style.perspective;J.style.perspective=j,j=s1(J,"perspective"),O?J.style.perspective=O:d8(J,"perspective")}L=parseFloat(j)}if(!C)E=J._gsap,E.renderTransform&&!Q.parseTransform||a9(J,Q.parseTransform),P=Q.smoothOrigin!==!1&&E.smooth,C=this._pt=new z1(this._pt,H,z0,0,1,E.renderTransform,E,0,-1),C.dep=1;if(Y==="scale")this._pt=new z1(this._pt,E,"scaleY",E.scaleY,(V?t8(E.scaleY,V+L):L)-E.scaleY||0,iQ),this._pt.u=0,G.push("scaleY",Y),Y+="X";else if(Y==="transformOrigin"){if(k.push(u1,0,H[u1]),j=Xq(j),E.svg)tQ(J,j,0,P,0,this);else D=parseFloat(j.split(" ")[2])||0,D!==E.zOrigin&&u8(this,E,"zOrigin",E.zOrigin,D),u8(this,H,Y,yJ(B),yJ(j));continue}else if(Y==="svgOrigin"){tQ(J,j,1,P,0,this);continue}else if(Y in c$){Nq(this,E,Y,X,V?t8(X,V+j):j);continue}else if(Y==="smoothOrigin"){u8(this,E,"smooth",E.smooth,j);continue}else if(Y==="force3D"){E[Y]=j;continue}else if(Y==="transform"){Rq(this,j,J);continue}}else if(!(Y in H))Y=O9(Y)||Y;if(F||(L||L===0)&&(X||X===0)&&!a5.test(j)&&Y in H){if(N=(B+"").substr((X+"").length),L||(L=0),D=H1(j)||(Y in g1.units?g1.units[Y]:N),N!==D&&(X=c8(J,Y,B,D)),this._pt=new z1(this._pt,F?E:H,Y,X,(V?t8(X,V+L):L)-X,!F&&(D==="px"||Y==="zIndex")&&Q.autoRound!==!1?Qq:iQ),this._pt.u=D||0,F&&A!==j)this._pt.b=B,this._pt.e=A,this._pt.r=Jq;else if(N!==D&&D!=="%")this._pt.b=B,this._pt.r=e5}else if(!(Y in H)){if(Y in J)this.add(J,Y,B||J[Y],V?V+j:j,K,q);else if(Y!=="parseTransform"){xJ(Y,j);continue}}else Uq.call(this,J,Y,B,V?V+j:j);F||(Y in H?k.push(Y,0,H[Y]):typeof J[Y]==="function"?k.push(Y,2,J[Y]()):k.push(Y,1,B||J[Y])),G.push(Y)}}R&&sQ(this)},render:function(J,Q){if(Q.tween._time||!J7()){var $=Q._pt;while($)$.r(J,$.d),$=$._next}else Q.styles.revert()},get:E8,aliases:R8,getSetter:function(J,Q,$){var K=R8[Q];return K&&K.indexOf(",")<0&&(Q=K),Q in z8&&Q!==u1&&(J._gsap.x||E8(J,"x"))?$&&P$===$?Q==="scale"?qq:Zq:(P$=$||{})&&(Q==="scale"?Gq:Hq):J.style&&!kJ(J.style[Q])?$q:~Q.indexOf("-")?Kq:TJ(J,Q)},core:{_removeProperty:d8,_getMatrix:$7}};N1.utils.checkPrefix=O9;N1.core.getStyleSaver=g$;(function(Z,J,Q,$){var K=E1(Z+","+J+","+Q,function(q){z8[q]=1});E1(J,function(q){g1.units[q]="deg",c$[q]=1}),R8[K[13]]=Z+","+J,E1($,function(q){var G=q.split(":");R8[G[1]]=K[G[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");E1("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(Z){g1.units[Z]="px"});N1.registerPlugin(K7);var a0=N1.registerPlugin(K7)||N1,FG=a0.core.Tween;function l$(Z,J){for(var Q=0;QW)q=K,K=M,H=G,G=N;else if($)K+=M;else K=q+(M-q)/(N-H)*(G-H)},L=function(){q=K=$?0:K,H=G=0},X=function(M){var Y=H,N=q,D=JJ();return(M||M===0)&&M!==K&&j(M),G===H||D-H>B?0:(K+($?N:-N))/(($?D:G)-Y)*1000};return{update:j,reset:L,getVelocity:X}},t9=function(J,Q){return Q&&!J._gsapAllow&&J.preventDefault(),J.changedTouches?J.changedTouches[0]:J},s$=function(J){var Q=Math.max.apply(Math,J),$=Math.min.apply(Math,J);return Math.abs(Q)>=Math.abs($)?Q:$},e$=function(){e9=W1.core.globals().ScrollTrigger,e9&&e9.core&&Cq()},JK=function(J){if(W1=J||a$(),!_J&&W1&&typeof document<"u"&&document.body)n1=window,p8=document,o8=p8.documentElement,z9=p8.body,i$=[n1,p8,o8,z9],Vq=W1.utils.clamp,r$=W1.core.context||function(){},Z9="onpointerenter"in z9?"pointer":"mouse",n$=w0.isTouch=n1.matchMedia&&n1.matchMedia("(hover: none), (pointer: coarse)").matches?1:("ontouchstart"in n1)||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,W8=w0.eventTypes=("ontouchstart"in o8?"touchstart,touchmove,touchcancel,touchend":!("onpointerdown"in o8)?"mousedown,mousemove,mouseup,mouseup":"pointerdown,pointermove,pointercancel,pointerup").split(","),setTimeout(function(){return t$=0},500),e$(),_J=1;return _J};R1.op=g0;t.cache=0;var w0=function(){function Z(Q){this.init(Q)}var J=Z.prototype;return J.init=function($){_J||JK(W1)||console.warn("Please gsap.registerPlugin(Observer)"),e9||e$();var{tolerance:K,dragMinimum:q,type:G,target:H,lineHeight:W,debounce:B,preventDefault:j,onStop:L,onStopDelay:X,ignore:U,wheelSpeed:M,event:Y,onDragStart:N,onDragEnd:D,onDrag:V,onPress:F,onRelease:C,onRight:E,onLeft:P,onUp:R,onDown:k,onChangeX:A,onChangeY:O,onChange:x,onToggleX:S,onToggleY:_,onHover:h,onHoverEnd:l,onMove:a,ignoreCheck:c,isNormalizer:K0,onGestureStart:H0,onGestureEnd:I,onWheel:B0,onEnable:J1,onDisable:B1,onClick:j0,scrollSpeed:u0,capture:d0,allowClicks:I0,lockAxis:h0,onLockAxis:v0}=$;this.target=H=k1(H)||o8,this.vars=$,U&&(U=W1.utils.toArray(U)),K=K||0.000000001,q=q||0,M=M||1,u0=u0||1,G=G||"wheel,touch,pointer",B=B!==!1,W||(W=parseFloat(n1.getComputedStyle(z9).lineHeight)||22);var d1,i0,Q1,r,R0,j1,$1,z=this,c0=0,T1=0,q8=$.passive||!j&&$.passive!==!1,M0=P8(H,R1),w1=P8(H,g0),y1=M0(),D1=w1(),F0=~G.indexOf("touch")&&!~G.indexOf("pointer")&&W8[0]==="pointerdown",G8=QJ(H),A0=H.ownerDocument||p8,U1=[0,0,0],b=[0,0,0],w=0,v=function(){return w=JJ()},d=function(p,Z0){return(z.event=p)&&U&&Fq(p.target,U)||Z0&&F0&&p.pointerType!=="touch"||c&&c(p,Z0)},s=function(){z._vx.reset(),z._vy.reset(),i0.pause(),L&&L(z)},U0=function(){var p=z.deltaX=s$(U1),Z0=z.deltaY=s$(b),y=Math.abs(p)>=K,n=Math.abs(Z0)>=K;if(x&&(y||n)&&x(z,p,Z0,U1,b),y)E&&z.deltaX>0&&E(z),P&&z.deltaX<0&&P(z),A&&A(z),S&&z.deltaX<0!==c0<0&&S(z),c0=z.deltaX,U1[0]=U1[1]=U1[2]=0;if(n)k&&z.deltaY>0&&k(z),R&&z.deltaY<0&&R(z),O&&O(z),_&&z.deltaY<0!==T1<0&&_(z),T1=z.deltaY,b[0]=b[1]=b[2]=0;if(r||Q1){if(a&&a(z),Q1)N&&Q1===1&&N(z),V&&V(z),Q1=0;r=!1}if(j1&&!(j1=!1)&&v0&&v0(z),R0)B0(z),R0=!1;d1=0},q0=function(p,Z0,y){U1[y]+=p,b[y]+=Z0,z._vx.update(p),z._vy.update(Z0),B?d1||(d1=requestAnimationFrame(U0)):U0()},W0=function(p,Z0){if(h0&&!$1)z.axis=$1=Math.abs(p)>Math.abs(Z0)?"x":"y",j1=!0;if($1!=="y")U1[2]+=p,z._vx.update(p,!0);if($1!=="x")b[2]+=Z0,z._vy.update(Z0,!0);B?d1||(d1=requestAnimationFrame(U0)):U0()},P0=function(p){if(d(p,1))return;p=t9(p,j);var{clientX:Z0,clientY:y}=p,n=Z0-z.x,m=y-z.y,i=z.isDragging;if(z.x=Z0,z.y=y,i||(n||m)&&(Math.abs(z.startX-Z0)>=q||Math.abs(z.startY-y)>=q))Q1||(Q1=i?2:1),i||(z.isDragging=!0),W0(n,m)},c1=z.onPress=function(o){if(d(o,1)||o&&o.button)return;z.axis=$1=null,i0.pause(),z.isPressed=!0,o=t9(o),c0=T1=0,z.startX=z.x=o.clientX,z.startY=z.y=o.clientY,z._vx.reset(),z._vy.reset(),P1(K0?H:A0,W8[1],P0,q8,!0),z.deltaX=z.deltaY=0,F&&F(z)},u=z.onRelease=function(o){if(d(o,1))return;A1(K0?H:A0,W8[1],P0,!0);var p=!isNaN(z.y-z.startY),Z0=z.isDragging,y=Z0&&(Math.abs(z.x-z.startX)>3||Math.abs(z.y-z.startY)>3),n=t9(o);if(!y&&p){if(z._vx.reset(),z._vy.reset(),j&&I0)W1.delayedCall(0.08,function(){if(JJ()-w>300&&!o.defaultPrevented){if(o.target.click)o.target.click();else if(A0.createEvent){var m=A0.createEvent("MouseEvents");m.initMouseEvent("click",!0,!0,n1,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),o.target.dispatchEvent(m)}}})}z.isDragging=z.isGesturing=z.isPressed=!1,L&&Z0&&!K0&&i0.restart(!0),Q1&&U0(),D&&Z0&&D(z),C&&C(z,y)},p0=function(p){return p.touches&&p.touches.length>1&&(z.isGesturing=!0)&&H0(p,z.isDragging)},k0=function(){return(z.isGesturing=!1)||I(z)},x0=function(p){if(d(p))return;var Z0=M0(),y=w1();q0((Z0-y1)*u0,(y-D1)*u0,1),y1=Z0,D1=y,L&&i0.restart(!0)},o0=function(p){if(d(p))return;p=t9(p,j),B0&&(R0=!0);var Z0=(p.deltaMode===1?W:p.deltaMode===2?n1.innerHeight:1)*M;q0(p.deltaX*Z0,p.deltaY*Z0,0),L&&!K0&&i0.restart(!0)},O1=function(p){if(d(p))return;var{clientX:Z0,clientY:y}=p,n=Z0-z.x,m=y-z.y;z.x=Z0,z.y=y,r=!0,L&&i0.restart(!0),(n||m)&&W0(n,m)},j8=function(p){z.event=p,h(z)},h1=function(p){z.event=p,l(z)},C8=function(p){return d(p)||t9(p,j)&&j0(z)};i0=z._dc=W1.delayedCall(X||0.25,s).pause(),z.deltaX=z.deltaY=0,z._vx=gJ(0,50,!0),z._vy=gJ(0,50,!0),z.scrollX=M0,z.scrollY=w1,z.isDragging=z.isGesturing=z.isPressed=!1,r$(this),z.enable=function(o){if(!z.isEnabled){if(P1(G8?A0:H,"scroll",q7),G.indexOf("scroll")>=0&&P1(G8?A0:H,"scroll",x0,q8,d0),G.indexOf("wheel")>=0&&P1(H,"wheel",o0,q8,d0),G.indexOf("touch")>=0&&n$||G.indexOf("pointer")>=0)P1(H,W8[0],c1,q8,d0),P1(A0,W8[2],u),P1(A0,W8[3],u),I0&&P1(H,"click",v,!0,!0),j0&&P1(H,"click",C8),H0&&P1(A0,"gesturestart",p0),I&&P1(A0,"gestureend",k0),h&&P1(H,Z9+"enter",j8),l&&P1(H,Z9+"leave",h1),a&&P1(H,Z9+"move",O1);z.isEnabled=!0,z.isDragging=z.isGesturing=z.isPressed=r=Q1=!1,z._vx.reset(),z._vy.reset(),y1=M0(),D1=w1(),o&&o.type&&c1(o),J1&&J1(z)}return z},z.disable=function(){if(z.isEnabled){if(E9.filter(function(o){return o!==z&&QJ(o.target)}).length||A1(G8?A0:H,"scroll",q7),z.isPressed)z._vx.reset(),z._vy.reset(),A1(K0?H:A0,W8[1],P0,!0);A1(G8?A0:H,"scroll",x0,d0),A1(H,"wheel",o0,d0),A1(H,W8[0],c1,d0),A1(A0,W8[2],u),A1(A0,W8[3],u),A1(H,"click",v,!0),A1(H,"click",C8),A1(A0,"gesturestart",p0),A1(A0,"gestureend",k0),A1(H,Z9+"enter",j8),A1(H,Z9+"leave",h1),A1(H,Z9+"move",O1),z.isEnabled=z.isPressed=z.isDragging=!1,B1&&B1(z)}},z.kill=z.revert=function(){z.disable();var o=E9.indexOf(z);o>=0&&E9.splice(o,1),A8===z&&(A8=0)},E9.push(z),K0&&QJ(H)&&(A8=z),z.enable(Y)},Iq(Z,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),Z}();w0.version="3.14.2";w0.create=function(Z){return new w0(Z)};w0.register=JK;w0.getAll=function(){return E9.slice()};w0.getById=function(Z){return E9.filter(function(J){return J.vars.id===Z})[0]};a$()&&W1.registerPlugin(w0);/*! * ScrollTrigger 3.14.2 * https://gsap.com * * @license Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var f,k9,J0,N0,a1,G0,C7,QQ,MJ,WJ,KJ,mJ,I1,ZQ,L7,S1,QK,$K,x9,IK,G7,VK,x1,Y7,CK,FK,l8,M7,F7,S9,D7,BJ,N7,H7,uJ=1,V1=Date.now,W7=V1(),K8=0,ZJ=0,KK=function(J,Q,$){var K=r1(J)&&(J.substr(0,6)==="clamp("||J.indexOf("max")>-1);return $["_"+Q+"Clamp"]=K,K?J.substr(6,J.length-7):J},ZK=function(J,Q){return Q&&(!r1(J)||J.substr(0,6)!=="clamp(")?"clamp("+J+")":J},Dq=function Z(){return ZJ&&requestAnimationFrame(Z)},qK=function(){return ZQ=1},GK=function(){return ZQ=0},I8=function(J){return J},qJ=function(J){return Math.round(J*1e5)/1e5||0},DK=function(){return typeof window<"u"},OK=function(){return f||DK()&&(f=window.gsap)&&f.registerPlugin&&f},j9=function(J){return!!~C7.indexOf(J)},EK=function(J){return(J==="Height"?D7:J0["inner"+J])||a1["client"+J]||G0["client"+J]},zK=function(J){return k8(J,"getBoundingClientRect")||(j9(J)?function(){return JQ.width=J0.innerWidth,JQ.height=D7,JQ}:function(){return x8(J)})},Oq=function(J,Q,$){var{d:K,d2:q,a:G}=$;return(G=k8(J,"getBoundingClientRect"))?function(){return G()[K]}:function(){return(Q?EK(q):J["client"+q])||0}},Eq=function(J,Q){return!Q||~B8.indexOf(J)?zK(J):function(){return JQ}},V8=function(J,Q){var{s:$,d2:K,d:q,a:G}=Q;return Math.max(0,($="scroll"+K)&&(G=k8(J,$))?G()-zK(J)()[q]:j9(J)?(a1[$]||G0[$])-EK(K):J[$]-J["offset"+K])},dJ=function(J,Q){for(var $=0;$0){K-=G;for(H=0;H<$.length;H++)if($[H]>=K)return $[H];return $[H-1]}else{H=$.length,K+=G;while(H--)if($[H]<=K)return $[H]}return $[0]}:function(K,q,G){if(G===void 0)G=0.001;var H=Q(K);return!q||Math.abs(H-K)$&&(K*=Q/100),J=J.substr(0,$-1);J=K+(J in KQ?KQ[J]*Q:~J.indexOf("%")?parseFloat(J)*Q/100:parseFloat(J)||0)}return J},lJ=function(J,Q,$,K,q,G,H,W){var{startColor:B,endColor:j,fontSize:L,indent:X,fontWeight:U}=q,M=N0.createElement("div"),Y=j9($)||k8($,"pinType")==="fixed",N=J.indexOf("scroller")!==-1,D=Y?G0:$,V=J.indexOf("start")!==-1,F=V?B:j,C="border-color:"+F+";font-size:"+L+";color:"+F+";font-weight:"+U+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return C+="position:"+((N||W)&&Y?"fixed;":"absolute;"),(N||W||!Y)&&(C+=(K===g0?O7:E7)+":"+(G+parseFloat(X))+"px;"),H&&(C+="box-sizing:border-box;text-align:left;width:"+H.offsetWidth+"px;"),M._isStart=V,M.setAttribute("class","gsap-marker-"+J+(Q?" marker-"+Q:"")),M.style.cssText=C,M.innerText=Q||Q===0?J+"-"+Q:J,D.children[0]?D.insertBefore(M,D.children[0]):D.appendChild(M),M._offset=M["offset"+K.op.d2],aJ(M,0,K,V),M},aJ=function(J,Q,$,K){var q={display:"block"},G=$[K?"os2":"p2"],H=$[K?"p2":"os2"];J._isFlipped=K,q[$.a+"Percent"]=K?-100:0,q[$.a]=K?"1px":0,q["border"+G+T9]=1,q["border"+H+T9]=0,q[$.p]=Q+"px",f.set(J,q)},e=[],R7={},NJ,BK=function(){return V1()-K8>34&&(NJ||(NJ=requestAnimationFrame(S8)))},P9=function(){if(!x1||!x1.isPressed||x1.startX>G0.clientWidth){if(t.cache++,x1)NJ||(NJ=requestAnimationFrame(S8));else S8();K8||X9("scrollStart"),K8=V1()}},j7=function(){FK=J0.innerWidth,CK=J0.innerHeight},HJ=function(J){t.cache++,(J===!0||!I1&&!VK&&!N0.fullscreenElement&&!N0.webkitFullscreenElement&&(!Y7||FK!==J0.innerWidth||Math.abs(J0.innerHeight-CK)>J0.innerHeight*0.25))&&QQ.restart(!0)},U9={},kq=[],xK=function Z(){return t0(g,"scrollEnd",Z)||G9(!0)},X9=function(J){return U9[J]&&U9[J].map(function(Q){return Q()})||kq},i1=[],SK=function(J){for(var Q=0;Qq,H=K._startClamp&&K.start>=q;(G||H)&&K.setPositions(H?q-1:K.start,G?Math.max(H?q:K.start+1,q):K.end,!0)}),UK(!1),N7=0,$.forEach(function(K){return K&&K.render&&K.render(-1)}),t.forEach(function(K){if(C1(K))K.smooth&&requestAnimationFrame(function(){return K.target.style.scrollBehavior="smooth"}),K.rec&&K(K.rec)}),TK(F7,1),QQ.pause(),B9++,b1=2,S8(2),e.forEach(function(K){return C1(K.vars.onRefresh)&&K.vars.onRefresh(K)}),b1=g.isRefreshing=!1,X9("refresh")},I7=0,tJ=1,YJ,S8=function(J){if(J===2||!b1&&!BJ){g.isUpdating=!0,YJ&&YJ.update(0);var Q=e.length,$=V1(),K=$-W7>=50,q=Q&&e[0].scroll();if(tJ=I7>q?-1:1,b1||(I7=q),K){if(K8&&!ZQ&&$-K8>200)K8=0,X9("scrollEnd");KJ=W7,W7=$}if(tJ<0){S1=Q;while(S1-- >0)e[S1]&&e[S1].update(0,K);tJ=1}else for(S1=0;S120),$-=$-P}else U&&(J=f.utils.mapRange(U.scrollTrigger.start,U.scrollTrigger.end,0,X,J)),H&&aJ(H,$,K,!0);if(M)W[M]=J||-0.001,J<0&&(J=0);if(G){var k=J+$,A=G._isStart;if(N="scroll"+K.d2,aJ(G,k,K,A&&k>20||!A&&(L?Math.max(G0[N],a1[N]):G.parentNode[N])<=k+1),L)B=x8(H),L&&(G.style[K.op.p]=B[K.op.p]-K.op.m-G._offset+n0)}if(U&&V)N=x8(V),U.seek(X),D=x8(V),U._caScrollDist=N[K.p]-D[K.p],J=J/U._caScrollDist*X;return U&&U.seek(Y),U?J:Math.round(J)},wq=/(webkit|moz|length|cssText|inset)/i,LK=function(J,Q,$,K){if(J.parentNode!==Q){var q=J.style,G,H;if(Q===G0){J._stOrig=q.cssText,H=$8(J);for(G in H)if(!+G&&!wq.test(G)&&H[G]&&typeof q[G]==="string"&&G!=="0")q[G]=H[G];q.top=$,q.left=K}else q.cssText=J._stOrig;f.core.getCache(J).uncache=1,Q.appendChild(J)}},yK=function(J,Q,$){var K=Q,q=K;return function(G){var H=Math.round(J());if(H!==K&&H!==q&&Math.abs(H-K)>3&&Math.abs(H-q)>3)G=H,$&&$();return q=K,K=Math.round(G),K}},nJ=function(J,Q,$){var K={};K[Q.p]="+="+$,f.set(J,K)},YK=function(J,Q){var $=P8(J,Q),K="_scroll"+Q.p2,q=function G(H,W,B,j,L){var X=G.tween,U=W.onComplete,M={};B=B||$();var Y=yK($,B,function(){X.kill(),G.tween=0});return L=j&&L||0,j=j||H-B,X&&X.kill(),W[K]=H,W.inherit=!1,W.modifiers=M,M[K]=function(){return Y(B+j*X.ratio+L*X.ratio*X.ratio)},W.onUpdate=function(){t.cache++,G.tween&&S8()},W.onComplete=function(){G.tween=0,U&&U.call(X)},X=G.tween=f.to(J,W),X};return J[K]=$,$.wheelHandler=function(){return q.tween&&q.tween.kill()&&(q.tween=0)},e0(J,"wheel",$.wheelHandler),g.isTouch&&e0(J,"touchmove",$.wheelHandler),q},g=function(){function Z(Q,$){k9||Z.register(f)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),M7(this),this.init(Q,$)}var J=Z.prototype;return J.init=function($,K){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!ZJ){this.update=this.refresh=this.kill=I8;return}$=HK(r1($)||GJ($)||$.nodeType?{trigger:$}:$,oJ);var q=$,G=q.onUpdate,H=q.toggleClass,W=q.id,B=q.onToggle,j=q.onRefresh,L=q.scrub,X=q.trigger,U=q.pin,M=q.pinSpacing,Y=q.invalidateOnRefresh,N=q.anticipatePin,D=q.onScrubComplete,V=q.onSnapComplete,F=q.once,C=q.snap,E=q.pinReparent,P=q.pinSpacer,R=q.containerAnimation,k=q.fastScrollEnd,A=q.preventOverlaps,O=$.horizontal||$.containerAnimation&&$.horizontal!==!1?R1:g0,x=!L&&L!==0,S=k1($.scroller||J0),_=f.core.getCache(S),h=j9(S),l=("pinType"in $?$.pinType:k8(S,"pinType")||h&&"fixed")==="fixed",a=[$.onEnter,$.onLeave,$.onEnterBack,$.onLeaveBack],c=x&&$.toggleActions.split(" "),K0="markers"in $?$.markers:oJ.markers,H0=h?0:parseFloat($8(S)["border"+O.p2+T9])||0,I=this,B0=$.onRefreshInit&&function(){return $.onRefreshInit(I)},J1=Oq(S,h,O),B1=Eq(S,h),j0=0,u0=0,d0=0,I0=P8(S,O),h0,v0,d1,i0,Q1,r,R0,j1,$1,z,c0,T1,q8,M0,w1,y1,D1,F0,G8,A0,U1,b,w,v,d,s,U0,q0,W0,P0,c1,u,p0,k0,x0,o0,O1,j8,h1;if(I._startClamp=I._endClamp=!1,I._dir=O,N*=45,I.scroller=S,I.scroll=R?R.time.bind(R):I0,i0=I0(),I.vars=$,K=K||$.animation,"refreshPriority"in $)IK=1,$.refreshPriority===-9999&&(YJ=I);if(_.tweenScroll=_.tweenScroll||{top:YK(S,g0),left:YK(S,R1)},I.tweenTo=h0=_.tweenScroll[O.p],I.scrubDuration=function(y){if(p0=GJ(y)&&y,!p0)u&&u.progress(1).kill(),u=0;else u?u.duration(y):u=f.to(K,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:p0,paused:!0,onComplete:function(){return D&&D(I)}})},K)K.vars.lazy=!1,K._initted&&!I.isReverted||K.vars.immediateRender!==!1&&$.immediateRender!==!1&&K.duration()&&K.render(0,!0,!0),I.animation=K.pause(),K.scrollTrigger=I,I.scrubDuration(L),P0=0,W||(W=K.vars.id);if(C){if(!q9(C)||C.push)C={snapTo:C};"scrollBehavior"in G0.style&&f.set(h?[G0,a1]:S,{scrollBehavior:"auto"}),t.forEach(function(y){return C1(y)&&y.target===(h?N0.scrollingElement||a1:S)&&(y.smooth=!1)}),d1=C1(C.snapTo)?C.snapTo:C.snapTo==="labels"?Aq(K):C.snapTo==="labelsDirectional"?Pq(K):C.directional!==!1?function(y,n){return A7(C.snapTo)(y,V1()-u0<500?0:n.direction)}:f.utils.snap(C.snapTo),k0=C.duration||{min:0.1,max:2},k0=q9(k0)?WJ(k0.min,k0.max):WJ(k0,k0),x0=f.delayedCall(C.delay||p0/2||0.1,function(){var y=I0(),n=V1()-u0<500,m=h0.tween;if((n||Math.abs(I.getVelocity())<10)&&!m&&!ZQ&&j0!==y){var i=(y-r)/M0,r0=K&&!x?K.totalProgress():i,Q0=n?0:(r0-c1)/(V1()-KJ)*1000||0,f0=f.utils.clamp(-i,1-i,A9(Q0/2)*Q0/0.185),X1=i+(C.inertia===!1?0:f0),S0,V0,X0=C,H8=X0.onStart,D0=X0.onInterrupt,p1=X0.onComplete;if(S0=d1(X1,I),GJ(S0)||(S0=X1),V0=Math.max(0,Math.round(r+S0*M0)),y<=R0&&y>=r&&V0!==y){if(m&&!m._initted&&m.data<=A9(V0-y))return;if(C.inertia===!1)f0=S0-i;h0(V0,{duration:k0(A9(Math.max(A9(X1-r0),A9(S0-r0))*0.185/Q0/0.05||0)),ease:C.ease||"power3",data:A9(V0-y),onInterrupt:function(){return x0.restart(!0)&&D0&&D0(I)},onComplete:function(){if(I.update(),j0=I0(),K&&!x)u?u.resetTo("totalProgress",S0,K._tTime/K._tDur):K.progress(S0);P0=c1=K&&!x?K.totalProgress():I.progress,V&&V(I),p1&&p1(I)}},y,f0*M0,V0-y-f0*M0),H8&&H8(I,h0.tween)}}else if(I.isActive&&j0!==y)x0.restart(!0)}).pause()}if(W&&(R7[W]=I),X=I.trigger=k1(X||U!==!0&&U),h1=X&&X._gsap&&X._gsap.stRevert,h1&&(h1=h1(I)),U=U===!0?X:k1(U),r1(H)&&(H={targets:X,className:H}),U){if(M===!1||M===Q8||(M=!M&&U.parentNode&&U.parentNode.style&&$8(U.parentNode).display==="flex"?!1:m0),I.pin=U,v0=f.core.getCache(U),!v0.spacer){if(P)P=k1(P),P&&!P.nodeType&&(P=P.current||P.nativeElement),v0.spacerIsNative=!!P,P&&(v0.spacerState=sJ(P));v0.spacer=F0=P||N0.createElement("div"),F0.classList.add("pin-spacer"),W&&F0.classList.add("pin-spacer-"+W),v0.pinState=w1=sJ(U)}else w1=v0.pinState;$.force3D!==!1&&f.set(U,{force3D:!0}),I.spacer=F0=v0.spacer,W0=$8(U),v=W0[M+O.os2],A0=f.getProperty(U),U1=f.quickSetter(U,O.a,n0),U7(U,F0,W0),D1=sJ(U)}if(K0){T1=q9(K0)?HK(K0,WK):WK,z=lJ("scroller-start",W,S,O,T1,0),c0=lJ("scroller-end",W,S,O,T1,0,z),G8=z["offset"+O.op.d2];var C8=k1(k8(S,"content")||S);if(j1=this.markerStart=lJ("start",W,C8,O,T1,G8,0,R),$1=this.markerEnd=lJ("end",W,C8,O,T1,G8,0,R),R&&(j8=f.quickSetter([j1,$1],O.a,n0)),!l&&!(B8.length&&k8(S,"fixedMarkers")===!0))zq(h?G0:S),f.set([z,c0],{force3D:!0}),s=f.quickSetter(z,O.a,n0),q0=f.quickSetter(c0,O.a,n0)}if(R){var o=R.vars.onUpdate,p=R.vars.onUpdateParams;R.eventCallback("onUpdate",function(){I.update(0,0,1),o&&o.apply(R,p||[])})}if(I.previous=function(){return e[e.indexOf(I)-1]},I.next=function(){return e[e.indexOf(I)+1]},I.revert=function(y,n){if(!n)return I.kill(!0);var m=y!==!1||!I.enabled,i=I1;if(m!==I.isReverted){if(m)o0=Math.max(I0(),I.scroll.rec||0),d0=I.progress,O1=K&&K.progress();if(j1&&[j1,$1,z,c0].forEach(function(r0){return r0.style.display=m?"none":"block"}),m)I1=I,I.update(m);if(U&&(!E||!I.isActive))if(m)Sq(U,F0,w1);else U7(U,F0,$8(U),d);m||I.update(m),I1=i,I.isReverted=m}},I.refresh=function(y,n,m,i){if((I1||!I.enabled)&&!n)return;if(U&&y&&K8){e0(Z,"scrollEnd",xK);return}if(!b1&&B0&&B0(I),I1=I,h0.tween&&!m)h0.tween.kill(),h0.tween=0;if(u&&u.pause(),Y&&K)K.revert({kill:!1}).invalidate(),K.getChildren?K.getChildren(!0,!0,!1).forEach(function(w8){return w8.vars.immediateRender&&w8.render(0,!0,!0)}):K.vars.immediateRender&&K.render(0,!0,!0);I.isReverted||I.revert(!0,!0),I._subPinOffset=!1;var r0=J1(),Q0=B1(),f0=R?R.duration():V8(S,O),X1=M0<=0.01||!M0,S0=0,V0=i||0,X0=q9(m)?m.end:$.end,H8=$.endTrigger||X,D0=q9(m)?m.start:$.start||($.start===0||!X?0:U?"0 0":"0 100%"),p1=I.pinnedContainer=$.pinnedContainer&&k1($.pinnedContainer,I),U8=X&&Math.max(0,e.indexOf(I))||0,K1=U8,Z1,L1,s8,RJ,Y1,l0,X8,jQ,T7,f9,L8,_9,IJ;if(K0&&q9(m))_9=f.getProperty(z,O.p),IJ=f.getProperty(c0,O.p);while(K1-- >0){if(l0=e[K1],l0.end||l0.refresh(0,1)||(I1=I),X8=l0.pin,X8&&(X8===X||X8===U||X8===p1)&&!l0.isReverted)f9||(f9=[]),f9.unshift(l0),l0.revert(!0,!0);if(l0!==e[K1])U8--,K1--}if(C1(D0)&&(D0=D0(I)),D0=KK(D0,"start",I),r=XK(D0,X,r0,O,I0(),j1,z,I,Q0,H0,l,f0,R,I._startClamp&&"_startClamp")||(U?-0.001:0),C1(X0)&&(X0=X0(I)),r1(X0)&&!X0.indexOf("+="))if(~X0.indexOf(" "))X0=(r1(D0)?D0.split(" ")[0]:"")+X0;else S0=rJ(X0.substr(2),r0),X0=r1(D0)?D0:(R?f.utils.mapRange(0,R.duration(),R.scrollTrigger.start,R.scrollTrigger.end,r):r)+S0,H8=X;X0=KK(X0,"end",I),R0=Math.max(r,XK(X0||(H8?"100% 0":f0),H8,r0,O,I0()+S0,$1,c0,I,Q0,H0,l,f0,R,I._endClamp&&"_endClamp"))||-0.001,S0=0,K1=U8;while(K1--)if(l0=e[K1]||{},X8=l0.pin,X8&&l0.start-l0._pinPush<=r&&!R&&l0.end>0){if(Z1=l0.end-(I._startClamp?Math.max(0,l0.start):l0.start),(X8===X&&l0.start-l0._pinPush=V8(S,O))){if(Z1=$8(U),RJ=O===g0,s8=I0(),b=parseFloat(A0(O.a))+V0,!f0&&R0>1){if(L8=(h?N0.scrollingElement||a1:S).style,L8={style:L8,value:L8["overflow"+O.a.toUpperCase()]},h&&$8(G0)["overflow"+O.a.toUpperCase()]!=="scroll")L8.style["overflow"+O.a.toUpperCase()]="scroll"}if(U7(U,F0,Z1),D1=sJ(U),L1=x8(U,!0),jQ=l&&P8(S,RJ?R1:g0)(),M){if(d=[M+O.os2,M0+V0+n0],d.t=F0,K1=M===m0?$Q(U,O)+M0+V0:0,K1)d.push(O.d,K1+n0),F0.style.flexBasis!=="auto"&&(F0.style.flexBasis=K1+n0);if(b9(d),p1)e.forEach(function(w8){if(w8.pin===p1&&w8.vars.pinSpacing!==!1)w8._subPinOffset=!0});l&&I0(o0)}else K1=$Q(U,O),K1&&F0.style.flexBasis!=="auto"&&(F0.style.flexBasis=K1+n0);if(l)Y1={top:L1.top+(RJ?s8-r:jQ)+n0,left:L1.left+(RJ?jQ:s8-r)+n0,boxSizing:"border-box",position:"fixed"},Y1[H9]=Y1["max"+T9]=Math.ceil(L1.width)+n0,Y1[W9]=Y1["max"+z7]=Math.ceil(L1.height)+n0,Y1[Q8]=Y1[Q8+XJ]=Y1[Q8+jJ]=Y1[Q8+LJ]=Y1[Q8+UJ]="0",Y1[m0]=Z1[m0],Y1[m0+XJ]=Z1[m0+XJ],Y1[m0+jJ]=Z1[m0+jJ],Y1[m0+LJ]=Z1[m0+LJ],Y1[m0+UJ]=Z1[m0+UJ],y1=Tq(w1,Y1,E),b1&&I0(0);if(K)T7=K._initted,G7(1),K.render(K.duration(),!0,!0),w=A0(O.a)-b+M0+V0,U0=Math.abs(M0-w)>1,l&&U0&&y1.splice(y1.length-2,2),K.render(0,!0,!0),T7||K.invalidate(!0),K.parent||K.totalTime(K.totalTime()),G7(0);else w=M0;L8&&(L8.value?L8.style["overflow"+O.a.toUpperCase()]=L8.value:L8.style.removeProperty("overflow-"+O.a))}else if(X&&I0()&&!R){L1=X.parentNode;while(L1&&L1!==G0){if(L1._pinOffset)r-=L1._pinOffset,R0-=L1._pinOffset;L1=L1.parentNode}}if(f9&&f9.forEach(function(w8){return w8.revert(!1,!0)}),I.start=r,I.end=R0,i0=Q1=b1?o0:I0(),!R&&!b1)i00?e.slice(0,n).reverse():e.slice(n+1);return(r1(y)?m.filter(function(i){return i.vars.preventOverlaps===y}):m).filter(function(i){return I.direction>0?i.end<=r:i.start>=R0})},I.update=function(y,n,m){if(R&&!m&&!y)return;var i=b1===!0?o0:I.scroll(),r0=y?0:(i-r)/M0,Q0=r0<0?0:r0>1?1:r0||0,f0=I.progress,X1,S0,V0,X0,H8,D0,p1,U8;if(n){if(Q1=i0,i0=R?I0():i,C)c1=P0,P0=K&&!x?K.totalProgress():Q0}if(N&&U&&!I1&&!uJ&&K8){if(!Q0&&ri+(i-Q1)/(V1()-KJ)*N)Q0=0.9999}if(Q0!==f0&&I.enabled){if(X1=I.isActive=!!Q0&&Q0<1,S0=!!f0&&f0<1,D0=X1!==S0,H8=D0||!!Q0!==!!f0,I.direction=Q0>f0?1:-1,I.progress=Q0,H8&&!I1){if(V0=Q0&&!f0?0:Q0===1?1:f0===1?2:3,x)X0=!D0&&c[V0+1]!=="none"&&c[V0+1]||c[V0],U8=K&&(X0==="complete"||X0==="reset"||(X0 in K))}if(A&&(D0||U8)&&(U8||L||!K)&&(C1(A)?A(I):I.getTrailing(A).forEach(function(s8){return s8.endAnimation()})),!x){if(u&&!I1&&!uJ)if(u._dp._time-u._start!==u._time&&u.render(u._dp._time-u._start),u.resetTo)u.resetTo("totalProgress",Q0,K._tTime/K._tDur);else u.vars.totalProgress=Q0,u.invalidate().restart();else if(K)K.totalProgress(Q0,!!(I1&&(u0||y)))}if(U){if(y&&M&&(F0.style[M+O.os2]=v),!l)U1(qJ(b+w*Q0));else if(H8){if(p1=!y&&Q0>f0&&R0+1>i&&i+1>=V8(S,O),E)if(!y&&(X1||p1)){var K1=x8(U,!0),Z1=i-r;LK(U,G0,K1.top+(O===g0?Z1:0)+n0,K1.left+(O===g0?0:Z1)+n0)}else LK(U,F0);b9(X1||p1?y1:D1),U0&&Q0<1&&X1||U1(b+(Q0===1&&!p1?w:0))}}if(C&&!h0.tween&&!I1&&!uJ&&x0.restart(!0),H&&(D0||F&&Q0&&(Q0<1||!H7))&&MJ(H.targets).forEach(function(s8){return s8.classList[X1||F?"add":"remove"](H.className)}),G&&!x&&!y&&G(I),H8&&!I1){if(x){if(U8)if(X0==="complete")K.pause().totalProgress(1);else if(X0==="reset")K.restart(!0).pause();else if(X0==="restart")K.restart(!0);else K[X0]();G&&G(I)}if(D0||!H7){if(B&&D0&&B7(I,B),a[V0]&&B7(I,a[V0]),F&&(Q0===1?I.kill(!1,1):a[V0]=0),!D0)V0=Q0===1?1:3,a[V0]&&B7(I,a[V0])}if(k&&!X1&&Math.abs(I.getVelocity())>(GJ(k)?k:2500))$J(I.callbackAnimation),u?u.progress(1):$J(K,X0==="reverse"?1:!Q0,1)}else if(x&&G&&!I1)G(I)}if(q0){var L1=R?i/R.duration()*(R._caScrollDist||0):i;s(L1+(z._isFlipped?1:0)),q0(L1)}j8&&j8(-i/R.duration()*(R._caScrollDist||0))},I.enable=function(y,n){if(!I.enabled){if(I.enabled=!0,e0(S,"resize",HJ),h||e0(S,"scroll",P9),B0&&e0(Z,"refreshInit",B0),y!==!1)I.progress=d0=0,i0=Q1=j0=I0();n!==!1&&I.refresh()}},I.getTween=function(y){return y&&h0?h0.tween:u},I.setPositions=function(y,n,m,i){if(R){var r0=R.scrollTrigger,Q0=R.duration(),f0=r0.end-r0.start;y=r0.start+f0*y/Q0,n=r0.start+f0*n/Q0}I.refresh(!1,!1,{start:ZK(y,m&&!!I._startClamp),end:ZK(n,m&&!!I._endClamp)},i),I.update()},I.adjustPinSpacing=function(y){if(d&&y){var n=d.indexOf(O.d)+1;d[n]=parseFloat(d[n])+y+n0,d[1]=parseFloat(d[1])+y+n0,b9(d)}},I.disable=function(y,n){if(y!==!1&&I.revert(!0,!0),I.enabled){if(I.enabled=I.isActive=!1,n||u&&u.pause(),o0=0,v0&&(v0.uncache=1),B0&&t0(Z,"refreshInit",B0),x0)x0.pause(),h0.tween&&h0.tween.kill()&&(h0.tween=0);if(!h){var m=e.length;while(m--)if(e[m].scroller===S&&e[m]!==I)return;t0(S,"resize",HJ),h||t0(S,"scroll",P9)}}},I.kill=function(y,n){I.disable(y,n),u&&!n&&u.kill(),W&&delete R7[W];var m=e.indexOf(I);if(m>=0&&e.splice(m,1),m===S1&&tJ>0&&S1--,m=0,e.forEach(function(i){return i.scroller===I.scroller&&(m=1)}),m||b1||(I.scroll.rec=0),K)K.scrollTrigger=null,y&&K.revert({kill:!1}),n||K.kill();if(j1&&[j1,$1,z,c0].forEach(function(i){return i.parentNode&&i.parentNode.removeChild(i)}),YJ===I&&(YJ=0),U)v0&&(v0.uncache=1),m=0,e.forEach(function(i){return i.pin===U&&m++}),m||(v0.spacer=0);$.onKill&&$.onKill(I)},e.push(I),I.enable(!1,!1),h1&&h1(I),K&&K.add&&!M0){var Z0=I.update;I.update=function(){I.update=Z0,t.cache++,r||R0||I.refresh()},f.delayedCall(0.01,I.update),M0=0.01,r=R0=0}else I.refresh();U&&xq()},Z.register=function($){if(!k9)f=$||OK(),DK()&&window.document&&Z.enable(),k9=ZJ;return k9},Z.defaults=function($){if($)for(var K in $)oJ[K]=$[K];return oJ},Z.disable=function($,K){ZJ=0,e.forEach(function(G){return G[K?"kill":"disable"]($)}),t0(J0,"wheel",P9),t0(N0,"scroll",P9),clearInterval(mJ),t0(N0,"touchcancel",I8),t0(G0,"touchstart",I8),cJ(t0,N0,"pointerdown,touchstart,mousedown",qK),cJ(t0,N0,"pointerup,touchend,mouseup",GK),QQ.kill(),dJ(t0);for(var q=0;q0&&G.left+H0&&G.top+H=0&&i1.splice(Q,5),i1.push(J,J.style.cssText,J.getBBox&&J.getAttribute("transform"),f.core.getCache(J),M7())}}):i1};g.revert=function(Z,J){return P7(!Z,J)};g.create=function(Z,J){return new g(Z,J)};g.refresh=function(Z){return Z?HJ(!0):(k9||g.register())&&G9(!0)};g.update=function(Z){return++t.cache&&S8(Z===!0?2:0)};g.clearScrollMemory=TK;g.maxScroll=function(Z,J){return V8(Z,J?R1:g0)};g.getScrollFunc=function(Z,J){return P8(k1(Z),J?R1:g0)};g.getById=function(Z){return R7[Z]};g.getAll=function(){return e.filter(function(Z){return Z.vars.id!=="ScrollSmoother"})};g.isScrolling=function(){return!!K8};g.snapDirectional=A7;g.addEventListener=function(Z,J){var Q=U9[Z]||(U9[Z]=[]);~Q.indexOf(J)||Q.push(J)};g.removeEventListener=function(Z,J){var Q=U9[Z],$=Q&&Q.indexOf(J);$>=0&&Q.splice($,1)};g.batch=function(Z,J){var Q=[],$={},K=J.interval||0.016,q=J.batchMax||1e9,G=function(B,j){var L=[],X=[],U=f.delayedCall(K,function(){j(L,X),L=[],X=[]}).pause();return function(M){L.length||U.restart(!0),L.push(M.trigger),X.push(M),q<=L.length&&U.progress(1)}},H;for(H in J)$[H]=H.substr(0,2)==="on"&&C1(J[H])&&H!=="onRefreshInit"?G(H,J[H]):J[H];if(C1(q))q=q(),e0(g,"refresh",function(){return q=J.batchMax()});return MJ(Z).forEach(function(W){var B={};for(H in $)B[H]=$[H];B.trigger=W,Q.push(g.create(B))}),Q};var MK=function(J,Q,$,K){return Q>K?J(K):Q<0&&J(0),$>K?(K-Q)/($-Q):$<0?Q/(Q-$):1},X7=function Z(J,Q){if(Q===!0)J.style.removeProperty("touch-action");else J.style.touchAction=Q===!0?"auto":Q?"pan-"+Q+(w0.isTouch?" pinch-zoom":""):"none";J===a1&&Z(G0,Q)},iJ={auto:1,scroll:1},yq=function(J){var{event:Q,target:$,axis:K}=J,q=(Q.changedTouches?Q.changedTouches[0]:Q).target,G=q._gsap||f.core.getCache(q),H=V1(),W;if(!G._isScrollT||H-G._isScrollT>2000){while(q&&q!==G0&&(q.scrollHeight<=q.clientHeight&&q.scrollWidth<=q.clientWidth||!(iJ[(W=$8(q)).overflowY]||iJ[W.overflowX])))q=q.parentNode;G._isScroll=q&&q!==$&&!j9(q)&&(iJ[(W=$8(q)).overflowY]||iJ[W.overflowX]),G._isScrollT=H}if(G._isScroll||K==="x")Q.stopPropagation(),Q._gsapAllow=!0},hK=function(J,Q,$,K){return w0.create({target:J,capture:!0,debounce:!1,lockAxis:!0,type:Q,onWheel:K=K&&yq,onPress:K,onDrag:K,onScroll:K,onEnable:function(){return $&&e0(N0,w0.eventTypes[0],RK,!1,!0)},onDisable:function(){return t0(N0,w0.eventTypes[0],RK,!0)}})},hq=/(input|label|select|textarea)/i,NK,RK=function(J){var Q=hq.test(J.target.tagName);if(Q||NK)J._gsapAllow=!0,NK=Q},fq=function(J){q9(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 Q=J,$=Q.normalizeScrollX,K=Q.momentum,q=Q.allowNestedScroll,G=Q.onRelease,H,W,B=k1(J.target)||a1,j=f.core.globals().ScrollSmoother,L=j&&j.get(),X=l8&&(J.content&&k1(J.content)||L&&J.content!==!1&&!L.smooth()&&L.content()),U=P8(B,g0),M=P8(B,R1),Y=1,N=(w0.isTouch&&J0.visualViewport?J0.visualViewport.scale*J0.visualViewport.width:J0.outerWidth)/J0.innerWidth,D=0,V=C1(K)?function(){return K(H)}:function(){return K||2.8},F,C,E=hK(B,J.type,!0,q),P=function(){return C=!1},R=I8,k=I8,A=function(){W=V8(B,g0),k=WJ(l8?1:0,W),$&&(R=WJ(0,V8(B,R1))),F=B9},O=function(){X._gsap.y=qJ(parseFloat(X._gsap.y)+U.offset)+"px",X.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(X._gsap.y)+", 0, 1)",U.offset=U.cacheID=0},x=function(){if(C){requestAnimationFrame(P);var K0=qJ(H.deltaY/2),H0=k(U.v-K0);if(X&&H0!==U.v+U.offset){U.offset=H0-U.v;var I=qJ((parseFloat(X&&X._gsap.y)||0)-U.offset);X.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+I+", 0, 1)",X._gsap.y=I+"px",U.cacheID=t.cache,S8()}return!0}U.offset&&O(),C=!0},S,_,h,l,a=function(){if(A(),S.isActive()&&S.vars.scrollY>W)U()>W?S.progress(1)&&U(W):S.resetTo("scrollY",W)};return X&&f.set(X,{y:"+=0"}),J.ignoreCheck=function(c){return l8&&c.type==="touchmove"&&x(c)||Y>1.05&&c.type!=="touchstart"||H.isGesturing||c.touches&&c.touches.length>1},J.onPress=function(){C=!1;var c=Y;Y=qJ((J0.visualViewport&&J0.visualViewport.scale||1)/N),S.pause(),c!==Y&&X7(B,Y>1.01?!0:$?!1:"x"),_=M(),h=U(),A(),F=B9},J.onRelease=J.onGestureStart=function(c,K0){if(U.offset&&O(),!K0)l.restart(!0);else{t.cache++;var H0=V(),I,B0;if($)I=M(),B0=I+H0*0.05*-c.velocityX/0.227,H0*=MK(M,I,B0,V8(B,R1)),S.vars.scrollX=R(B0);if(I=U(),B0=I+H0*0.05*-c.velocityY/0.227,H0*=MK(U,I,B0,V8(B,g0)),S.vars.scrollY=k(B0),S.invalidate().duration(H0).play(0.01),l8&&S.vars.scrollY>=W||I>=W-1)f.to({},{onUpdate:a,duration:H0})}G&&G(c)},J.onWheel=function(){if(S._ts&&S.pause(),V1()-D>1000)F=0,D=V1()},J.onChange=function(c,K0,H0,I,B0){if(B9!==F&&A(),K0&&$&&M(R(I[2]===K0?_+(c.startX-c.x):M()+K0-I[1])),H0){U.offset&&O();var J1=B0[2]===H0,B1=J1?h+c.startY-c.y:U()+H0-B0[1],j0=k(B1);J1&&B1!==j0&&(h+=j0-B1),U(j0)}(H0||K0)&&S8()},J.onEnable=function(){if(X7(B,$?!1:"x"),g.addEventListener("refresh",a),e0(J0,"resize",a),U.smooth)U.target.style.scrollBehavior="auto",U.smooth=M.smooth=!1;E.enable()},J.onDisable=function(){X7(B,!0),t0(J0,"resize",a),g.removeEventListener("refresh",a),E.kill()},J.lockAxis=J.lockAxis!==!1,H=new w0(J),H.iOS=l8,l8&&!U()&&U(1),l8&&f.ticker.add(I8),l=H._dc,S=f.to(H,{ease:"power4",paused:!0,inherit:!1,scrollX:$?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:yK(U,U(),function(){return S.pause()})},onUpdate:S8,onComplete:l.vars.onComplete}),H};g.sort=function(Z){if(C1(Z))return e.sort(Z);var J=J0.pageYOffset||0;return g.getAll().forEach(function(Q){return Q._sortY=Q.trigger?J+Q.trigger.getBoundingClientRect().top:Q.start+J0.innerHeight}),e.sort(Z||function(Q,$){return(Q.vars.refreshPriority||0)*-1e6+(Q.vars.containerAnimation?1e6:Q._sortY)-(($.vars.containerAnimation?1e6:$._sortY)+($.vars.refreshPriority||0)*-1e6)})};g.observe=function(Z){return new w0(Z)};g.normalizeScroll=function(Z){if(typeof Z>"u")return x1;if(Z===!0&&x1)return x1.enable();if(Z===!1){x1&&x1.kill(),x1=Z;return}var J=Z instanceof w0?Z:fq(Z);return x1&&x1.target===J.target&&x1.kill(),j9(J.target)&&(x1=J),J};g.core={_getVelocityProp:gJ,_inputObserver:hK,_scrollers:t,_proxies:B8,bridge:{ss:function(){K8||X9("scrollStart"),K8=V1()},ref:function(){return I1}}};OK()&&f.registerPlugin(g);var fK=()=>{return window.matchMedia("(prefers-reduced-motion: reduce)").matches};a0.registerPlugin(g);var _q={ease:"expo.out",duration:1.2};a0.defaults(_q);var _K=fK(),w9=a0;function qQ(Z=null){let J=()=>{let q=document.body.firstElementChild;return q instanceof HTMLElement&&q.classList.contains("w-editor-publish-node")},Q=J(),$=Q;if(new MutationObserver((q)=>{q.forEach((G)=>{if(G.type==="childList"){let H=J();if(H!==Q){if(console.log("Editor state changed to:",H),Z)Z(H);Q=H}}})}).observe(document.body,{childList:!0,subtree:!1}),Z)Z($);return $}var vq={infinite:!1,lerp:0.1,smoothWheel:!0,touchMultiplier:2};class vK extends v7{#$=w9.ticker.add((Z)=>this.raf(Z*1000));constructor(){super(vq);this.on("scroll",this.#Q.bind(this));let Z=()=>{this.resize(),g.refresh()};if(document.readyState==="complete")Z();else window.addEventListener("load",Z,{once:!0});if(document.fonts?.ready.then(Z),"ResizeObserver"in window){let J=0;new ResizeObserver(()=>{cancelAnimationFrame(J),J=requestAnimationFrame(()=>this.resize())}).observe(document.body)}}#Q(Z){this.notify(Z)}toTop(){this.scrollTo(0,{immediate:!0})}#J=[];add(Z,J=0,Q=Symbol()){let $=this.#J.findIndex((K)=>K.priority>J);if($===-1)this.#J.push({fn:Z,priority:J,id:Q});else this.#J.splice($,0,{fn:Z,priority:J,id:Q});return()=>this.remove(Q)}remove(Z){this.#J=this.#J.filter((J)=>J.id!==Z)}notify(Z){if(this.#J.length<1)return;this.#J.forEach((J)=>J.fn(Z))}}var b8=new vK;qQ((Z)=>{if(Z)b8.destroy();else b8.start()});a0.registerPlugin(g);function gK(){document.querySelectorAll(".tab_wrap").forEach((Z,J)=>{if(Z.dataset.scriptInitialized)return;Z.dataset.scriptInitialized="true";let Q=Z.getAttribute("data-loop-controls")==="true",$=Z.getAttribute("data-slide-tabs")==="true",K=Z.getAttribute("data-pause-on-hover")==="true",q=Number(Z.getAttribute("data-autoplay-duration"))||0,G=Number(Z.getAttribute("data-duration"))||0.3,H=Z.querySelector(".tab_button_list"),W=Z.querySelector(".tab_content_list"),B=Z.querySelector("[data-tab='previous'] button"),j=Z.querySelector("[data-tab='next'] button"),L=Z.querySelector("[data-tab-button='toggle']"),X=Z.querySelector("[data-tab-button='toggle'] button"),U=!1,M=!0,Y;function N(R){if(!R)return;let k=R.firstElementChild;while(k&&k.classList.contains("u-display-contents")){while(k.firstChild)R.insertBefore(k.firstChild,k);R.removeChild(k),k=R.firstElementChild}}N(H),N(W);function D(R){let k=Array.from(R.children).find((x)=>x.classList.contains("w-dyn-list"));if(!k)return;let A=k?.querySelector(".w-dyn-items")?.children;if(!A)return;let O=[...R.children];[...A].forEach((x)=>{let S=[...x.children].find((_)=>!_.classList.contains("w-condition-invisible"));S&&R.appendChild(S)}),O.forEach((x)=>x.remove())}D(H),D(W);let V=Array.from(H.children),F=Array.from(W.children);if(!H||!W||!V.length||!F.length){console.warn("Missing elements in:",Z);return}F.forEach((R,k)=>{R.style.display="none",R.setAttribute("role","tabpanel")}),V.forEach((R,k)=>{R.setAttribute("role","tab")}),W.removeAttribute("role"),H.setAttribute("role","tablist"),V.forEach((R)=>R.setAttribute("role","tab")),F.forEach((R)=>R.setAttribute("role","tabpanel"));let C=0,E=(R,k=!1,A=!0,O=!0)=>{if(U)return;if(V.forEach((h,l)=>{h.classList.toggle("is-active",l===R),h.setAttribute("aria-selected",l===R?"true":"false"),h.setAttribute("tabindex",l===R?"0":"-1")}),F.forEach((h,l)=>h.classList.toggle("is-active",l===R)),j)j.disabled=R===V.length-1&&!Q;if(B)B.disabled=R===0&&!Q;if(k)V[R].focus();let x=F[C],S=F[R],_=1;if(C>R)_=-1;if(A&&C!==R){if(Y&&!M&&typeof Y.restart==="function")Y.restart();U=!0;let h=a0.timeline({onComplete:()=>{U=!1,g.refresh()},defaults:{duration:G,ease:"power1.out"}});if($){if(h.set(S,{display:"block",position:"relative"}),x)h.set(x,{position:"absolute",top:0,left:0,width:"100%"});if(x)h.fromTo(x,{xPercent:0},{xPercent:-120*_});if(h.fromTo(S,{xPercent:120*_},{xPercent:0},"<"),x)h.set(x,{display:"none"})}else{if(x)h.to(x,{opacity:0});if(x)h.set(x,{display:"none"});h.set(S,{display:"block"}),h.fromTo(S,{opacity:0},{opacity:1})}}else{if(x)x.style.display="none";if(S)S.style.display="block"}H.scrollTo({left:V[R].offsetLeft,behavior:"smooth"}),C=R};E(0,!1,!1);let P=(R,k=!1,A=!0)=>E((C+R+V.length)%V.length,k,!0,A);if(j?.addEventListener("click",()=>P(1)),B?.addEventListener("click",()=>P(-1)),V.forEach((R,k)=>{let A=Z.getAttribute("data-tab-component-id");A=A?A.toLowerCase().replaceAll(" ","-"):J+1;let O=R.getAttribute("data-tab-item-id");if(O=O?O.toLowerCase().replaceAll(" ","-"):k+1,R.setAttribute("id","tab-button-"+A+"-"+O),R.setAttribute("aria-controls","tab-panel-"+A+"-"+O),F[k]?.setAttribute("id","tab-panel-"+A+"-"+O),F[k]?.setAttribute("aria-labelledby",R.id),new URLSearchParams(location.search).get("tab-id")===A+"-"+O)E(k),q=0,Z.scrollIntoView({behavior:"smooth",block:"start"}),history.replaceState({},"",((x)=>(x.searchParams.delete("tab-id"),x))(new URL(location.href)));R.addEventListener("click",()=>E(k)),R.addEventListener("keydown",(x)=>{if(["ArrowRight","ArrowDown"].includes(x.key))P(1,!0);else if(["ArrowLeft","ArrowUp"].includes(x.key))P(-1,!0)})}),q!==0){let x=function(){if(A||!O||M||R||k)Y.pause();else Y.play()},S=function(){if(M=!M,X?.setAttribute("aria-pressed",!M?"true":"false"),L?.classList.toggle("is-pressed",!M),!M)R=k=A=!1;x()},_=function(h){A=h.matches,x(),M=!h.matches,S()};Y=a0.timeline({repeat:-1}).fromTo(Z,{"--progress":0},{onComplete:()=>P(1,!1,!1),"--progress":1,ease:"none",duration:q});let R=!1,k=!1,A=!1,O=!0;if(S(),X?.addEventListener("click",function(){S()}),_(window.matchMedia("(prefers-reduced-motion: reduce)")),window.matchMedia("(prefers-reduced-motion: reduce)").addEventListener("change",_),K)Z.addEventListener("mouseenter",()=>{R=!0,x()});if(K)Z.addEventListener("mouseleave",()=>{k=!1,R=!1,x()});Z.addEventListener("focusin",()=>{k=!0,x()}),Z.addEventListener("focusout",(h)=>{if(!h.relatedTarget||!Z.contains(h.relatedTarget))k=!1,x()}),new IntersectionObserver((h)=>{O=h[0].isIntersecting,x()},{threshold:0}).observe(Z)}})}a0.registerPlugin(g);function GQ(Z,J,Q){let $=Z?.getAttribute(Q);return $!=null?$:J?.getAttribute(Q)}function mK(){document.querySelectorAll(".accordion_wrap").forEach((Z,J)=>{if(Z.dataset.scriptInitialized)return;Z.dataset.scriptInitialized="true";let Q=Z.querySelector(".accordion_list"),$=GQ(Z,Q,"data-close-previous")!=="false",K=GQ(Z,Q,"data-close-on-second-click")!=="false",q=GQ(Z,Q,"data-open-on-hover")==="true",G=GQ(Z,Q,"data-open-by-default"),H=G!=null&&!isNaN(+G)?+G:!1,W=null,B=[];function j(X){if(!X)return;let U=X.firstElementChild;while(U&&U.classList.contains("u-display-contents")){while(U.firstChild)X.insertBefore(U.firstChild,U);X.removeChild(U),U=X.firstElementChild}}j(Q);function L(X){if(!X)return;if(X.classList.contains("w-dyn-list")){let N=X.querySelector(".w-dyn-items");if(N)[...N.children].forEach((V)=>{let F=[...V.children].find((C)=>!C.classList.contains("w-condition-invisible"));if(F)X.appendChild(F)}),N.remove();let D=X.querySelector(".w-dyn-empty");if(D)D.remove();return}let U=Array.from(X.children).find((N)=>N.classList.contains("w-dyn-list"));if(!U)return;let M=U?.querySelector(".w-dyn-items")?.children;if(!M)return;let Y=[...X.children];[...M].forEach((N)=>{let D=[...N.children].find((V)=>!V.classList.contains("w-condition-invisible"));if(D)X.appendChild(D)}),Y.forEach((N)=>N.remove())}L(Q),Z.querySelectorAll(".accordion_component").forEach((X,U)=>{let M=X.querySelector(".accordion_toggle_button"),Y=X.querySelector(".accordion_content_wrap");if(!M||!Y)return console.warn("Missing elements:",X);M.setAttribute("aria-expanded","false"),M.setAttribute("id","accordion_button_"+J+"_"+U),Y.setAttribute("id","accordion_content_"+J+"_"+U),M.setAttribute("aria-controls",Y.id),Y.setAttribute("aria-labelledby",M.id),Y.style.display="none";let N=()=>{D.invalidate(),b8.resize(),g.refresh()},D=a0.timeline({paused:!0,defaults:{duration:0.3,ease:"power1.inOut"},onComplete:N,onReverseComplete:N});D.set(Y,{display:"block"}),D.fromTo(Y,{height:0},{height:"auto"});let V=()=>X.classList.contains("is-active")&&(X.classList.remove("is-active"),D.reverse(),M.setAttribute("aria-expanded","false"));B[U]=V;let F=(C=!1)=>{if($&&W!==null&&W!==U)B[W]?.();W=U,M.setAttribute("aria-expanded","true"),X.classList.add("is-active"),C?D.progress(1):D.play()};if(H===U+1)F(!0);if(M.addEventListener("click",()=>X.classList.contains("is-active")&&K?(V(),W=null):F()),q)M.addEventListener("mouseenter",()=>F())})})}a0.registerPlugin(g);function uK(){document.querySelectorAll("[data-logo-wall-cycle-init]").forEach((Q)=>{let $=Q.querySelector("[data-logo-wall-list]"),K=Array.from($.querySelectorAll("[data-logo-wall-item]")),q=Q.getAttribute("data-logo-wall-shuffle")!=="false",G=K.map((D)=>D.querySelector("[data-logo-wall-target]")).filter(Boolean),H=[],W=0,B=[],j=[],L=0,X;function U(D){return window.getComputedStyle(D).display!=="none"}function M(D){let V=D.slice();for(let F=V.length-1;F>0;F--){let C=Math.floor(Math.random()*(F+1));[V[F],V[C]]=[V[C],V[F]]}return V}function Y(){if(X)X.kill();H=K.filter(U),W=H.length,j=M(Array.from({length:W},(F,C)=>C)),L=0,K.forEach((F)=>{F.querySelectorAll("[data-logo-wall-target]").forEach((C)=>C.remove())}),B=G.map((F)=>F.cloneNode(!0));let D,V;if(q){let F=M(B);D=F.slice(0,W),V=M(F.slice(W))}else D=B.slice(0,W),V=M(B.slice(W));B=D.concat(V);for(let F=0;F [data-logo-wall-target])")||F;if(C.querySelectorAll("[data-logo-wall-target]").length>1)return;let P=C.querySelector("[data-logo-wall-target]"),R=B.shift();if(a0.set(R,{yPercent:50,autoAlpha:0}),C.appendChild(R),P)a0.to(P,{yPercent:-50,autoAlpha:0,duration:0.9,ease:"expo.inOut",onComplete:()=>{P.remove(),B.push(P)}});a0.to(R,{yPercent:0,autoAlpha:1,duration:0.9,delay:0.1,ease:"expo.inOut"})}Y(),g.create({trigger:Q,start:"top bottom",end:"bottom top",onEnter:()=>X.play(),onLeave:()=>X.pause(),onEnterBack:()=>X.play(),onLeaveBack:()=>X.pause()}),document.addEventListener("visibilitychange",()=>document.hidden?X.pause():X.play())})}function dK(){let Z=document.querySelectorAll("video[data-snippet-src]");if(!Z.length)return;if(!("IntersectionObserver"in window)){Z.forEach((Q)=>{let $=Q.getAttribute("data-snippet-src");if(!$)return;Q.src=$,Q.load(),Q.play().catch(()=>{})});return}let J=new IntersectionObserver((Q)=>{Q.forEach(($)=>{if(!$.isIntersecting)return;let K=$.target,q=K.getAttribute("data-snippet-src");if(!q)return;K.src=q,K.removeAttribute("data-snippet-src"),K.load(),K.play().catch(()=>{}),J.unobserve(K)})},{rootMargin:"100px 0px",threshold:0.1});Z.forEach((Q)=>J.observe(Q))}function cK(){var Z=document.querySelector("[data-bunny-lightbox-init]");if(!Z)return;var J=Z.closest("[data-bunny-lightbox-status]");if(!J)return;var Q=Z.querySelector("video");if(!Q)return;try{Q.pause()}catch(b){}try{Q.removeAttribute("src"),Q.load()}catch(b){}function $(b,w,v){var d=typeof v==="boolean"?v?"true":"false":String(v);if(b.getAttribute(w)!==d)b.setAttribute(w,d)}function K(b){$(Z,"data-player-status",b)}function q(b){Q.muted=!!b,$(Z,"data-player-muted",Q.muted)}function G(b){$(Z,"data-player-fullscreen",!!b)}function H(b){$(Z,"data-player-activated",!!b)}if(!Z.hasAttribute("data-player-activated"))H(!1);var W=Z.querySelector("[data-player-timeline]"),B=Z.querySelector("[data-player-progress]"),j=Z.querySelector("[data-player-buffered]"),L=Z.querySelector("[data-player-timeline-handle]"),X=Z.querySelectorAll("[data-player-time-duration]"),U=Z.querySelectorAll("[data-player-time-progress]"),M=Z.querySelector("[data-bunny-lightbox-placeholder]"),Y=Z.getAttribute("data-player-update-size"),N=Z.getAttribute("data-player-autoplay")==="true",D=Z.getAttribute("data-player-muted")==="true",V=!1;if(Q.loop=!1,q(D),Q.setAttribute("playsinline",""),Q.setAttribute("webkit-playsinline",""),Q.playsInline=!0,typeof Q.disableRemotePlayback<"u")Q.disableRemotePlayback=!0;if(N)Q.autoplay=!1;var F=!!Q.canPlayType("application/vnd.apple.mpegurl"),C=!!(window.Hls&&Hls.isSupported())&&!F,E=!1,P="",R="",k,A=!1;function O(b,w,v,d){var s=w.querySelector("[data-bunny-lightbox-calc-height]");if(!s)return;function U0(){if(d==="cover")return null;if(d==="true"){if(v.videoWidth&&v.videoHeight)return v.videoWidth/v.videoHeight;var u=b.querySelector("[data-player-before]");if(u&&u.style&&u.style.paddingTop){var p0=parseFloat(u.style.paddingTop);if(p0>0)return 100/p0}var k0=b.getBoundingClientRect();if(k0.height>0)return k0.width/k0.height;return 1.7777777777777777}var x0=b.querySelector("[data-player-before]");if(x0&&x0.style&&x0.style.paddingTop){var o0=parseFloat(x0.style.paddingTop);if(o0>0)return 100/o0}var O1=b.getBoundingClientRect();if(O1.height>0)return O1.width/O1.height;return 1.7777777777777777}function q0(){if(d==="cover"){s.style.maxWidth="",s.style.maxHeight="";return}var u=w,p0=getComputedStyle(u),k0=parseFloat(p0.paddingTop)||0,x0=parseFloat(p0.paddingBottom)||0,o0=parseFloat(p0.paddingLeft)||0,O1=parseFloat(p0.paddingRight)||0,j8=u.clientWidth-o0-O1,h1=u.clientHeight-k0-x0;if(j8<=0||h1<=0)return;var C8=U0();if(!C8){s.style.maxWidth="",s.style.maxHeight="";return}var o=j8/C8;if(o<=h1)s.style.maxWidth="100%",s.style.maxHeight=o/h1*100+"%";else s.style.maxHeight="100%",s.style.maxWidth=h1*C8/j8*100+"%"}var W0=!1;function P0(){if(W0)return;if(w.getAttribute("data-bunny-lightbox-status")!=="active")return;W0=!0,requestAnimationFrame(function(){W0=!1,q0()})}var c1=new ResizeObserver(P0);if(c1.observe(w),window.addEventListener("resize",P0),window.addEventListener("orientationchange",P0),d==="true")v.addEventListener("loadedmetadata",P0),v.addEventListener("loadeddata",P0),v.addEventListener("playing",P0);b._applyClamp=P0,P0()}O(Z,J,Q,Y);function x(b,w){if(F){Q.preload="auto",Q.src=b,Q.addEventListener("loadedmetadata",w,{once:!0});return}if(C){var v=new Hls({maxBufferLength:10});Z._hls=v,v.attachMedia(Q),v.on(Hls.Events.MEDIA_ATTACHED,function(){v.loadSource(b)}),v.on(Hls.Events.MANIFEST_PARSED,function(){w()}),v.on(Hls.Events.LEVEL_LOADED,function(d,s){if(s&&s.details&&isFinite(s.details.totalduration)&&X.length)D1(X,y1(s.details.totalduration))});return}Q.preload="auto",Q.src=b,Q.addEventListener("loadedmetadata",w,{once:!0})}function S(b){if(P===b&&E)return;if(Z._hls){try{Z._hls.destroy()}catch(w){}Z._hls=null}if(X.length)D1(X,"00:00");P=b,E=!0,x(b,function(){if(G8(Z,V),U1(),typeof Z._applyClamp==="function")Z._applyClamp();if(X.length&&Q.duration)D1(X,y1(Q.duration));if(A&&J.getAttribute("data-bunny-lightbox-status")==="active")K("loading"),F0(Q),A=!1})}function _(b){var w=b?"active":"not-active";if(J.getAttribute("data-bunny-lightbox-status")!==w)J.setAttribute("data-bunny-lightbox-status",w);if(b&&typeof Z._applyClamp==="function")Z._applyClamp()}function h(b){return P&&P===b}function l(b){var w=h(b);if(!w){try{if(!Q.paused&&!Q.ended)Q.pause()}catch(v){}if(Z._hls){try{Z._hls.destroy()}catch(v){}Z._hls=null}if(E=!1,P="",X.length)D1(X,"00:00");H(!1),K("idle"),S(b),A=!!N,V=!!N;return}if(A=!!N,N)K("loading"),F0(Q);else{try{if(!Q.paused&&!Q.ended)Q.pause()}catch(v){}H(!1),K("paused")}}function a(b,w){if(!b)return;function v(){_(!0),l(b)}if(M&&w){var d=M.getAttribute("src")!==w;if(d||!M.complete||!M.naturalWidth)if(M.onload=function(){M.onload=null,v()},M.onerror=function(){M.onerror=null,v()},d)M.setAttribute("src",w);else M.dispatchEvent(new Event("load"));else v()}else v()}function c(){if(Q.paused||Q.ended)V=!0,R="",K("loading"),F0(Q);else R="manual",Q.pause()}function K0(){q(!Q.muted)}Z.addEventListener("click",function(b){var w=b.target.closest("[data-player-control]");if(!w||!Z.contains(w))return;var v=w.getAttribute("data-player-control");if(v==="play"||v==="pause"||v==="playpause")c();else if(v==="mute")K0();else if(v==="fullscreen")J1()});function H0(){return!!(document.fullscreenElement||document.webkitFullscreenElement)}function I(){if(Z.requestFullscreen)return Z.requestFullscreen();if(Q.requestFullscreen)return Q.requestFullscreen();if(Q.webkitSupportsFullscreen&&typeof Q.webkitEnterFullscreen==="function")return Q.webkitEnterFullscreen()}function B0(){if(document.exitFullscreen)return document.exitFullscreen();if(document.webkitExitFullscreen)return document.webkitExitFullscreen();if(Q.webkitDisplayingFullscreen&&typeof Q.webkitExitFullscreen==="function")return Q.webkitExitFullscreen()}function J1(){if(H0()||Q.webkitDisplayingFullscreen)B0();else I()}document.addEventListener("fullscreenchange",function(){G(H0())}),document.addEventListener("webkitfullscreenchange",function(){G(H0())}),Q.addEventListener("webkitbeginfullscreen",function(){G(!0)}),Q.addEventListener("webkitendfullscreen",function(){G(!1)});function B1(){if(X.length)D1(X,y1(Q.duration));if(U.length)D1(U,y1(Q.currentTime))}Q.addEventListener("timeupdate",B1),Q.addEventListener("loadedmetadata",function(){B1(),U1()}),Q.addEventListener("loadeddata",function(){U1()}),Q.addEventListener("playing",function(){U1()}),Q.addEventListener("durationchange",B1);function j0(){if(!Q.duration)return;var b=Q.currentTime/Q.duration*100;if(B)B.style.transform="translateX("+(-100+b)+"%)";if(L)L.style.left=u0(b)+"%"}function u0(b){return b<0?0:b>100?100:b}function d0(){if(j0(),!Q.paused&&!Q.ended)k=requestAnimationFrame(d0)}function I0(){if(!j||!Q.duration||!Q.buffered.length)return;var b=Q.buffered.end(Q.buffered.length-1),w=b/Q.duration*100;j.style.transform="translateX("+(-100+w)+"%)"}if(Q.addEventListener("progress",I0),Q.addEventListener("loadedmetadata",I0),Q.addEventListener("durationchange",I0),Q.addEventListener("play",function(){H(!0),cancelAnimationFrame(k),d0(),K("playing")}),Q.addEventListener("playing",function(){V=!1,K("playing")}),Q.addEventListener("pause",function(){V=!1,cancelAnimationFrame(k),j0(),K("paused")}),Q.addEventListener("waiting",function(){K("loading")}),Q.addEventListener("canplay",function(){G8(Z,V)}),Q.addEventListener("ended",function(){if(V=!1,cancelAnimationFrame(k),j0(),H(!1),Q.currentTime=0,document.fullscreenElement||document.webkitFullscreenElement||Q.webkitDisplayingFullscreen){if(document.exitFullscreen)document.exitFullscreen();else if(document.webkitExitFullscreen)document.webkitExitFullscreen();else if(Q.webkitExitFullscreen)Q.webkitExitFullscreen()}M0()}),W){let b=function(q0){if(!r)r=W.getBoundingClientRect();var W0=(q0-r.left)/r.width;if(W0<0)W0=0;if(W0>1)W0=1;return W0},w=function(q0){if(!Q.duration)return;var W0=q0*100;if(B)B.style.transform="translateX("+(-100+W0)+"%)";if(L)L.style.left=W0+"%";if(U.length)D1(U,y1(q0*Q.duration))},v=function(q0){if(!Q.duration)return;if(q0-i0=w.left&&b.clientX<=w.right&&b.clientY>=w.top&&b.clientY<=w.bottom)c0()}Z.addEventListener("pointerenter",function(){if(c0(),!T1)T1=!0,window.addEventListener("pointermove",q8,{passive:!0})}),Z.addEventListener("pointerleave",function(){if($1("idle"),clearTimeout(R0),T1)T1=!1,window.removeEventListener("pointermove",q8)});function M0(){_(!1);var b=!1;try{if(Q.played&&Q.played.length){for(var w=0;w0){b=!0;break}}else b=Q.currentTime>0}catch(v){}try{if(!Q.paused&&!Q.ended)Q.pause()}catch(v){}H(!1),K(b?"paused":"idle")}document.addEventListener("click",function(b){var w=b.target.closest('[data-bunny-lightbox-control="open"]');if(w){var v=w.getAttribute("data-bunny-lightbox-src")||"";if(!v)return;var d=w.querySelector("[data-bunny-lightbox-placeholder]"),s=d?d.getAttribute("src"):"";a(v,s);return}var U0=b.target.closest('[data-bunny-lightbox-control="close"]');if(U0){var q0=U0.closest("[data-bunny-lightbox-status]");if(q0===J)M0();return}}),document.addEventListener("keydown",function(b){if(b.key==="Escape")M0()});function w1(b){return(b<10?"0":"")+b}function y1(b){if(!isFinite(b)||b<0)return"00:00";var w=Math.floor(b),v=Math.floor(w/3600),d=Math.floor(w%3600/60),s=w%60;return v>0?v+":"+w1(d)+":"+w1(s):w1(d)+":"+w1(s)}function D1(b,w){b.forEach(function(v){v.textContent=w})}function F0(b){var w=b.play();if(w&&typeof w.then==="function")w.catch(function(){})}function G8(b,w){if(!w&&b.getAttribute("data-player-activated")!=="true"&&b.getAttribute("data-player-status")==="idle")b.setAttribute("data-player-status","ready")}function A0(b,w,v,d){if(w!=="true"||!v||!d)return;var s=b.querySelector("[data-player-before]");if(!s)return;s.style.paddingTop=d/v*100+"%"}function U1(){if(Y!=="true")return;var b=Z.querySelector("[data-player-before]");if(!b)return;function w(s,U0){if(!s||!U0)return;if(b.style.paddingTop=U0/s*100+"%",typeof Z._applyClamp==="function")Z._applyClamp()}if(Q.videoWidth&&Q.videoHeight){w(Q.videoWidth,Q.videoHeight);return}if(Z._hls&&Z._hls.levels&&Z._hls.levels.length){var v=Z._hls.levels,d=v.reduce(function(s,U0){return(U0.width||0)>(s.width||0)?U0:s},v[0]);if(d&&d.width&&d.height){w(d.width,d.height);return}}requestAnimationFrame(function(){if(Q.videoWidth&&Q.videoHeight){w(Q.videoWidth,Q.videoHeight);return}var s=typeof P==="string"&&P?P:"";if(!s||s.indexOf("blob:")===0){var U0=Z.getAttribute("data-bunny-lightbox-src")||Z.getAttribute("data-player-src")||"";if(U0&&U0.indexOf("blob:")!==0)s=U0}if(!s||!/^https?:/i.test(s))return;fetch(s,{credentials:"omit",cache:"no-store"}).then(function(q0){if(!q0.ok)throw Error();return q0.text()}).then(function(q0){var W0=q0.split(/\r?\n/),P0=0,c1=0,u=null;for(var p0=0;p0P0)P0=o0,c1=O1}u=null}}if(P0&&c1)w(P0,c1)}).catch(function(){})})}}function pK(){}var gq={"ä":"ae","ö":"oe","ü":"ue","Ä":"Ae","Ö":"Oe","Ü":"Ue","ß":"ss"};function mq(Z){return Z.replace(/[äöüÄÖÜß]/g,(J)=>gq[J]).replace(/[^a-zA-Z0-9 \-_]/g," ").replace(/\s+/g," ").trim().slice(0,60)}var uq=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;class k7{static loadedScripts=new Set;static async load(Z,J=null){if(this.loadedScripts.has(Z))return J?window[J]:!0;return new Promise((Q,$)=>{let K=document.createElement("script");K.src=Z,K.async=!0,K.onload=()=>{this.loadedScripts.add(Z),Q(J?window[J]:!0)},K.onerror=()=>$(Error(`Failed to load script: ${Z}`)),document.head.appendChild(K)})}}class oK{constructor(Z){if(this.form=Z,this.parent=Z.closest("[data-module='formspark-form']")||Z.parentElement,this.isSubmitting=!1,this.successElement=this.parent.querySelector(".w-form-done"),this.errorElement=this.parent.querySelector(".w-form-fail"),this.action=Z.getAttribute("action"),this.redirectUrl=this.parent.dataset.redirect||null,this.formularName=this.ermittleFormularName(),!this.action||!this.action.includes("submit-form.com")){console.warn("FormsparkForm: Form action muss eine submit-form.com URL sein",Z);return}this.init()}ermittleFormularName(){let Z=(this.parent.dataset.formular||"").trim();if(Z)return Z;return`Anfrage über ${window.location.pathname.replace(/\/+$/,"")||"/"}`}setzeHerkunftsFelder(){let Z=this.formularName,J={"_email.subject":`${Z} — ${window.location.hostname}`,"_email.template.title":Z,Formular:Z,Seite:window.location.href},Q=mq(Z);if(Q)J["_email.from"]=Q;Object.entries(J).forEach(([$,K])=>{if(this.form.querySelector(`[name="${CSS.escape($)}"]`))return;let q=document.createElement("input");q.type="hidden",q.name=$,q.value=K,this.form.appendChild(q)})}findeAntwortAdresse(Z){let J=[...Z.entries()].map(([$,K])=>[$,String(K).trim()]).filter(([,$])=>uq.test($));return(J.find(([$])=>/mail/i.test($))||J[0]||[])[1]||null}async init(){this.form.removeAttribute("data-redirect");let Z=this.form.querySelector('input[name="redirect"]');if(Z)Z.remove();this.setzeHerkunftsFelder(),this.form.addEventListener("submit",(J)=>this.handleSubmit(J));try{await Promise.all([k7.load("https://unpkg.com/@formspark/formson","Formson"),k7.load("https://unpkg.com/@botpoison/browser","Botpoison")]),console.log("[FormsparkForm] ✓ Scripts geladen")}catch(J){console.error("[FormsparkForm] Fehler beim Laden der Scripts:",J)}}async handleSubmit(Z){if(Z.preventDefault(),Z.stopPropagation(),Z.stopImmediatePropagation(),this.isSubmitting)return!1;this.isSubmitting=!0,this.hideMessages();try{let Q=await new window.Botpoison({publicKey:"pk_2e06bdab-f5ff-457b-a9e4-f3e1be0d8d54"}).challenge(),$=new FormData(this.form),K=window.Formson.toJSON($);if(K._botpoison=Q.solution,!K._replyto){let G=this.findeAntwortAdresse($);if(G)K._replyto=G}let q=await fetch(this.action,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(K)});if(q.ok){if(this.meldeFathomEvent(q),this.redirectUrl){window.location.href=this.redirectUrl;return}this.showSuccess(),this.form.reset()}else this.showError()}catch(J){console.error("[FormsparkForm] Submit Fehler:",J),this.showError()}finally{this.isSubmitting=!1}return!1}meldeFathomEvent(Z){let J=Z.headers?.get?.("formspark-status");if(J&&J!=="ok")return;try{window.fathom?.trackEvent(`Formular gesendet: ${this.formularName}`)}catch(Q){console.warn("[FormsparkForm] Fathom-Event nicht gesendet:",Q)}}hideMessages(){if(this.successElement)this.successElement.style.display="none";if(this.errorElement)this.errorElement.style.display="none"}showSuccess(){if(this.form.style.display="none",this.successElement)this.successElement.style.display="block"}showError(){if(this.errorElement)this.errorElement.style.display="block"}}function lK(){let Z=document.querySelectorAll("[data-module='formspark-form']");Z.forEach((J)=>{if(J.dataset.scriptInitialized)return;J.dataset.scriptInitialized="true";let Q=J.querySelector("form[action*='submit-form.com']");if(!Q){console.warn("[FormsparkForm] Kein Form mit submit-form.com action gefunden in:",J);return}new oK(Q)}),console.log(`[FormsparkForm] ✓ ${Z.length} Formulare initialisiert`)}function sK(){let Z=document.querySelectorAll("[data-sticky-steps-init]");if(!Z.length)return;Z.forEach((J)=>{if(J.dataset.scriptInitialized)return;J.dataset.scriptInitialized="true";let Q=[...J.querySelectorAll("[data-sticky-steps-item]")];if(!Q.length)return;function $(K){Q.forEach((q,G)=>{let H="active";if(GK)H="after";q.setAttribute("data-sticky-steps-item-status",H)})}Q.forEach((K,q)=>{let G=K.querySelector("[data-sticky-steps-anchor]");if(!G)return;g.create({trigger:G,start:"top center",onEnter:()=>$(q),onLeaveBack:()=>$(Math.max(0,q-1))})}),$(0)})}var dq="(max-width: 767px)",cq="(prefers-reduced-motion: reduce)",pq=320;function oq(Z,J,Q){let $=Z.map((W)=>Number(W.tagName.charAt(1))),K=Math.min(...$),q=[],G=[],H=null;return Z.forEach((W,B)=>{let j=J.cloneNode(!0),L=j.querySelector("[data-toc-text]")||j;if(L.textContent=W.textContent.trim(),j.href="#"+W.id,j.removeAttribute("data-toc-link"),j.setAttribute("data-toc-item",""),j.setAttribute("data-toc-depth",String($[B])),j.removeAttribute("data-toc-status"),$[B]===K)Q.appendChild(j),H=null;else{if(!H){H=document.createElement("div"),H.setAttribute("data-toc-group","");let X=document.createElement("div");X.setAttribute("data-toc-group-inner",""),H.appendChild(X),Q.appendChild(H)}H.firstElementChild.appendChild(j)}q.push(j),G.push(H)}),{links:q,gruppen:G}}function lq(Z,J){if(!Z.id)Z.id="toc-liste-"+Math.random().toString(36).slice(2,8);let Q=document.createElement("button");Q.type="button",Q.setAttribute("data-toc-toggle",""),Q.setAttribute("aria-controls",Z.id),Q.setAttribute("aria-expanded","false"),Q.innerHTML='',Q.querySelector("[data-toc-toggle-text]").textContent=J,Z.setAttribute("data-toc-collapsed",""),Z.parentNode.insertBefore(Q,Z);function $(K){if(Q.setAttribute("aria-expanded",K?"true":"false"),K)Z.removeAttribute("data-toc-collapsed");else Z.setAttribute("data-toc-collapsed","")}return Q.addEventListener("click",()=>{$(Z.hasAttribute("data-toc-collapsed"))}),{button:Q,setze:$}}function nK(){let Z=document.querySelectorAll("[data-toc-wrap]");if(!Z.length)return;Z.forEach((J)=>{if(J.dataset.scriptInitialized)return;J.dataset.scriptInitialized="true";let Q=J.querySelector("[data-toc-content]"),$=J.querySelector("[data-toc-list]"),K=$?.querySelector("[data-toc-link]");if(!Q||!$||!K)return;let G=(J.getAttribute("data-toc-levels")||"h2,h3").split(",").map((O)=>O.trim().toLowerCase()).filter((O)=>/^h[1-6]$/.test(O)).join(", ");if(!G)return;let H=parseInt(J.getAttribute("data-toc-offset"))||50,W="{skip}",B=new Map;function j(O){let x=O.toLowerCase().replace(/[^a-z0-9\s-]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-").replace(/^-|-$/g,"");if(!x)x="section";let S=B.get(x)||0;return B.set(x,S+1),S===0?x:x+"-"+(S+1)}function L(O){let x=document.createTreeWalker(O,NodeFilter.SHOW_TEXT),S;while(S=x.nextNode())if(S.textContent.includes(W))S.textContent=S.textContent.replace(W,"").trim()}let X=[...Q.querySelectorAll(G)],U=[];if(X.forEach((O)=>{if(O.hasAttribute("data-toc-ignore"))return;if(O.textContent.includes(W)){L(O);return}if(!O.textContent.trim())return;U.push(O)}),!U.length)return;U.forEach((O)=>{if(!O.id)O.id=j(O.textContent.trim())});let{links:M,gruppen:Y}=oq(U,K,$);$.querySelectorAll("[data-toc-link]").forEach((O)=>O.remove());let N=$.previousElementSibling,D=N?.textContent?.trim()||"Inhalt";if(N)N.setAttribute("data-toc-label","");let V=lq($,D),F=window.matchMedia(dq),C=window.matchMedia(cq),E=$.parentElement;if(E)E.setAttribute("data-lenis-prevent","");function P(O){if(!E||F.matches)return;if(E.scrollHeight<=E.clientHeight+1)return;let x=E.getBoundingClientRect(),S=O.getBoundingClientRect(),_=S.top-x.top,h=x.height*0.12,l=x.height*0.6;if(_>=h&&S.bottom-x.top<=l)return;let a=E.scrollTop+_-x.height*0.3;E.scrollTo({top:Math.max(0,a),behavior:C.matches?"auto":"smooth"})}let R=null;function k(O){let x=M[O];if(!x)return;M.forEach((_)=>_.setAttribute("data-toc-status","")),x.setAttribute("data-toc-status","active");let S=Y[O]||A(x);$.querySelectorAll("[data-toc-group]").forEach((_)=>{if(_===S)_.setAttribute("data-toc-open","");else _.removeAttribute("data-toc-open")}),clearTimeout(R),R=setTimeout(()=>P(x),C.matches?0:pq)}function A(O){let x=O.nextElementSibling;return x&&x.hasAttribute("data-toc-group")?x:null}if(U.forEach((O,x)=>{let S=U[x+1];g.create({trigger:O,start:"top "+(H+1)+"px",endTrigger:S||Q,end:S?"top "+(H+1)+"px":"bottom top",onToggle:(_)=>{if(_.isActive)k(x)}})}),window.scrollY<=U[0].getBoundingClientRect().top+window.scrollY-H)k(0);$.addEventListener("click",(O)=>{let x=O.target.closest("[data-toc-item]");if(!x)return;O.preventDefault(),O.stopPropagation();let S=x.getAttribute("href")?.slice(1),_=S&&document.getElementById(S);if(!_)return;if(F.matches)V.setze(!1);if(typeof b8?.scrollTo==="function")b8.scrollTo(_,{offset:-H});else{let h=_.getBoundingClientRect().top+window.scrollY-H;window.scrollTo({top:h,behavior:"smooth"})}})}),g.refresh()}function T(Z,J,...Q){let $=document.createElement(Z);if(J)for(let[K,q]of Object.entries(J)){if(q===null||q===void 0||q===!1)continue;$.setAttribute(K,q===!0?"":String(q))}return HQ($,Q),$}function HQ(Z,J){for(let Q of J){if(Q===null||Q===void 0||Q===!1)continue;Z.appendChild(typeof Q==="object"?Q:document.createTextNode(String(Q)))}}function iK(...Z){let J=document.createDocumentFragment();return HQ(J,Z),J}function x7(Z){let J="";for(let Q of Z.childNodes)if(Q.nodeName==="BR")J+=` `;else if(Q.nodeType===Node.TEXT_NODE)J+=Q.textContent??"";else J+=x7(Q);return J}function rK(Z){let J=Z.querySelector("[data-quelle]");if(!J)return"";if(J.tagName==="PRE"||!J.querySelector("p, div, li"))return x7(J);let Q=[];for(let $ of J.querySelectorAll("p, li, div")){if($.querySelector("p, li, div"))continue;Q.push(x7($).trim())}return Q.join(` `)}function y9(Z,J,Q){let $=Z.getAttribute(J);if($===null||$==="")return Q;return $!=="false"&&$!=="0"&&$!=="aus"&&$!=="nein"}function h9(Z,J,Q,$,K){let q=Number(Z.getAttribute(J));if(!Number.isFinite(q)||q===0)return Q;return Math.min(Math.max(Math.round(q),$),K)}function F1(Z){return T("p",{class:"eoe-leer"},Z)}function aK(Z){if(!Z)return{einstellungen:{},inhalt:""};let J={},Q=[];for(let $ of Z.split(/\r?\n/)){let K=/^\s*@([a-z0-9-]+)\s*:\s*(.*)$/i.exec($);if(K){J[K[1].toLowerCase()]=K[2].trim();continue}Q.push($)}return{einstellungen:J,inhalt:Q.join(` `)}}function sq(Z){return/^\|?\s*:?-{3,}:?\s*(\|\s*:?-{3,}:?\s*)*\|?$/.test(Z)}function nq(Z){let J=[],Q="";for(let $=0;$1&&Z.startsWith("|"))J.shift();if(J.length>1&&Z.endsWith("|"))J.pop();return J}function S7(Z){if(!Z)return[];let J=[],Q;for(let $ of Z.split(/\r?\n/)){let K=$.trim();if(K===""||sq(K))continue;let q=/^#{1,6}\s+(.*)$/.exec(K);if(q){Q={titel:q[1].trim(),eintraege:[]},J.push(Q);continue}if(!Q)Q={titel:"",eintraege:[]},J.push(Q);Q.eintraege.push({felder:nq(K)})}return J.filter(($)=>$.eintraege.length>0)}function Z8(Z){return S7(Z).flatMap((J)=>J.eintraege)}function tK(Z){let J=Z8(Z),[Q,...$]=J;if(!Q)return null;let K=Q.felder,q=K.length;return{kopf:K,zeilen:$.map((G)=>{let H=G.felder.slice(0,q);while(H.lengthQ)J.push(Z.slice(Q,$.index));let[K,q,G,H,W]=$;if(q&&G){let B=G.startsWith("http");J.push(iq(G)?T("a",{href:G,target:B?"_blank":null,rel:B?"noopener noreferrer":null},q):q)}else if(H)J.push(T("strong",null,H));else if(W)J.push(T("em",null,W));else J.push(K);Q=$.index+K.length}if(QT("th",{scope:"col"},y0(B))))),H=T("tbody",null,...Q.zeilen.map((B)=>T("tr",null,...B.map((j,L)=>{let X=L===0&&K;return T(X?"th":"td",{scope:X?"row":null,"data-spalte":Q.kopf[L]??""},y0(j))})))),W=T("div",{class:`eoe-tabelle__rahmen${$?" eoe-tabelle__rahmen--scroll":""}`,tabindex:$?"0":null,role:$?"region":null,"aria-label":$?q||"Tabelle, seitlich scrollbar":null},T("table",{class:`eoe-tabelle__grid${$?"":" eoe-tabelle__grid--karten"}`},G,H));return T("figure",{class:"eoe-reset eoe-tabelle"},q&&T("figcaption",{class:"eoe-tabelle__beschriftung"},q),W)}var rq=0;function QZ(Z,J){let Q=S7(J);if(Q.length===0)return F1("Noch keine Einträge. Eine Zeile je Punkt, Abschnitte mit ## einleiten.");let $=(Z.getAttribute("data-titel")??"").trim(),K=y9(Z,"data-abhakbar",!0),q=h9(Z,"data-spalten",1,1,2),G=`eoe-check-${++rq}`,H=Q.reduce((L,X)=>L+X.eintraege.length,0),W=K?T("p",{class:"eoe-checkliste__fortschritt","aria-live":"polite"},`0 von ${H} erledigt`):null,B=T("div",{class:"eoe-checkliste__gruppen",style:`--eoe-spalten: ${q}`},...Q.map((L,X)=>T("div",{class:"eoe-checkliste__gruppe"},L.titel&&T("h4",{class:"eoe-checkliste__kategorie"},L.titel),T("ul",{class:"eoe-checkliste__liste"},...L.eintraege.map((U,M)=>{let Y=`${G}-${X}-${M}`,[N,D]=U.felder,V=[y0(N??""),D&&T("span",{class:"eoe-checkliste__zusatz"},y0(D))];return T("li",{class:"eoe-checkliste__zeile"},K?T("input",{class:"eoe-checkliste__box",type:"checkbox",id:Y}):T("span",{class:"eoe-checkliste__box eoe-checkliste__box--papier","aria-hidden":"true"}),K?T("label",{class:"eoe-checkliste__text",for:Y},...V):T("span",{class:"eoe-checkliste__text"},...V))}))))),j=T("section",{class:"eoe-reset eoe-checkliste"},$&&T("h3",{class:"eoe-titel"},$),W,B);if(W)j.addEventListener("change",()=>{let L=j.querySelectorAll(".eoe-checkliste__box:checked").length;W.textContent=`${L} von ${H} erledigt`});return j}function $Z(Z,J){let Q=Z8(J);if(Q.length===0)return F1("Noch keine Paragrafen. Format: § 311b BGB | Kurzname | Erläuterung");let $=(Z.getAttribute("data-titel")??"").trim(),K=h9(Z,"data-spalten",2,1,3);return T("section",{class:"eoe-reset eoe-paragrafen"},$&&T("h3",{class:"eoe-titel"},$),T("ul",{class:"eoe-paragrafen__raster",style:`--eoe-spalten: ${K}`},...Q.map((q)=>{let[G,H,W]=q.felder;return T("li",{class:"eoe-paragrafen__karte"},G&&T("p",{class:"eoe-paragrafen__nummer"},G),H&&T("p",{class:"eoe-paragrafen__name"},y0(H)),W&&T("p",{class:"eoe-paragrafen__text"},y0(W)))})))}var aq=1400;function tq(Z){return 1-Math.pow(1-Z,3)}function KZ(Z,J,Q=0){if(J===null)return null;if(typeof IntersectionObserver>"u")return null;if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return null;let $=0,K=null,q=(H)=>{if(K===null)K=H;let W=Math.min((H-K)/aq,1);if(W<1)Z.textContent=T8(J*tq(W),Q),$=window.requestAnimationFrame(q);else Z.textContent=T8(J,Q),$=0},G=new IntersectionObserver((H)=>{if(!H.some((W)=>W.isIntersecting))return;G.disconnect(),Z.textContent=T8(0,Q),$=window.requestAnimationFrame(q)},{threshold:0.4});return G.observe(Z),()=>{if(G.disconnect(),$)window.cancelAnimationFrame($);Z.textContent=T8(J,Q)}}function eq(Z,J){let Q=WQ(Z),$=T("span",{class:"eoe-rechnung__wert"});if(Q.zahl===null)return $.textContent=Q.roh,$;let K=T("span",null,T8(Q.zahl,Q.dezimalstellen));if(HQ($,[Q.praefix,K,Q.suffix]),J)KZ(K,Q.zahl,Q.dezimalstellen);return $}function ZZ(Z,J,Q){return[eq(Z,Q),J?T("span",{class:"eoe-rechnung__erlaeuterung"},y0(J)):null].filter(($)=>$!==null)}function qZ(Z,J){let Q=Z8(J),$=Z8(Z.getAttribute("data-ergebnis"));if(Q.length===0&&$.length===0)return F1("Noch keine Kennzahlen. Format: Bezeichnung | Wert | Erläuterung");let K=(Z.getAttribute("data-titel")??"").trim(),q=y9(Z,"data-hochzaehlen",!0),G=(Z.getAttribute("data-hinweis")??"").trim();return T("section",{class:"eoe-reset eoe-rechnung"},K&&T("h3",{class:"eoe-titel"},K),Q.length>0&&T("dl",{class:"eoe-rechnung__gitter"},...Q.map((H)=>{let[W,B,j]=H.felder;return T("div",{class:"eoe-rechnung__posten"},T("dt",{class:"eoe-rechnung__bezeichnung"},y0(W??"")),T("dd",{class:"eoe-rechnung__zahl"},...ZZ(B??"",j,q)))})),$.length>0&&T("div",{class:"eoe-rechnung__ergebnis"},...$.map((H)=>{let[W,B,j]=H.felder;return T("p",{class:"eoe-rechnung__ergebniszeile"},T("span",{class:"eoe-rechnung__ergebnistext"},y0(W??"")),T("span",{class:"eoe-rechnung__ergebniswert"},...ZZ(B??"",j,q)))})),G&&T("p",{class:"eoe-fussnote eoe-rechnung__hinweis"},y0(G)))}function JG(Z){let J=(Z??"").trim().toLowerCase();return J==="aktiv"||J==="ja"||J==="active"}function GZ(Z,J){let Q=Z8(J);if(Q.length===0)return F1("Noch keine Anbieter. Format: Name | aktiv | Kondition; Kondition; Kondition");let $=(Z.getAttribute("data-titel")??"").trim(),K=(Z.getAttribute("data-stand")??"").trim(),q=h9(Z,"data-spalten",2,1,3);return T("section",{class:"eoe-reset eoe-anbieter"},$&&T("h3",{class:"eoe-titel"},$),K&&T("p",{class:"eoe-anbieter__stand"},K),T("ul",{class:"eoe-anbieter__raster",style:`--eoe-spalten: ${q}`},...Q.map((G)=>{let[H,W,B]=G.felder,j=JG(W),L=(B??"").split(";").map((X)=>X.trim()).filter(Boolean);return T("li",{class:`eoe-anbieter__karte${j?"":" eoe-anbieter__karte--inaktiv"}`},T("div",{class:"eoe-anbieter__kopf"},T("h4",{class:"eoe-anbieter__name"},H??""),T("span",{class:`eoe-anbieter__badge${j?"":" eoe-anbieter__badge--inaktiv"}`},j?"Aktiv":W||"Nicht aktiv")),L.length>0&&T("ul",{class:"eoe-anbieter__punkte"},...L.map((X)=>T("li",null,y0(X)))))})))}function HZ(Z,J){let Q=Z8(J);if(Q.length===0)return F1("Noch keine Schritte. Format: Titel | Kurzbeschreibung");let $=(Z.getAttribute("data-titel")??"").trim(),K=(Z.getAttribute("data-ausrichtung")??"").trim().toLowerCase()!=="senkrecht",q=y9(Z,"data-nummerieren",!0);return T("section",{class:"eoe-reset eoe-schiene"},$&&T("h3",{class:"eoe-titel"},$),T("ol",{class:["eoe-schiene__liste",K?"eoe-schiene__liste--waagerecht":"eoe-schiene__liste--senkrecht",q?"eoe-schiene__liste--nummeriert":""].filter(Boolean).join(" ")},...Q.map((G)=>{let[H,W]=G.felder;return T("li",{class:"eoe-schiene__schritt"},T("span",{class:"eoe-schiene__marke","aria-hidden":"true"}),T("div",{class:"eoe-schiene__inhalt"},T("p",{class:"eoe-schiene__name"},y0(H??"")),W&&T("p",{class:"eoe-schiene__text"},y0(W))))})))}function WZ(Z,J){let $=Z8(J).map((W)=>{let[B,j,L,X]=W.felder,U=WQ(j??"");return{name:B??"",zahl:U.zahl,anzeige:U.zahl===null?U.roh:T8(U.zahl,U.dezimalstellen),zusatz:L??"",hervorgehoben:Boolean(X&&X.trim()!=="")}});if($.length===0)return F1("Noch keine Werte. Format: Bezeichnung | Zahl | Zusatz");let K=(Z.getAttribute("data-titel")??"").trim(),q=Z.getAttribute("data-einheit")??"€",G=(Z.getAttribute("data-quellenangabe")??"").trim(),H=Math.max(...$.map((W)=>W.zahl??0),0);return T("figure",{class:"eoe-reset eoe-balken"},K&&T("figcaption",{class:"eoe-titel"},K),T("ul",{class:"eoe-balken__liste"},...$.map((W)=>{let B=H>0&&W.zahl!==null?W.zahl/H*100:0;return T("li",{class:`eoe-balken__zeile${W.hervorgehoben?" eoe-balken__zeile--hervor":""}`},T("p",{class:"eoe-balken__name"},y0(W.name)),T("div",{class:"eoe-balken__spur"},T("span",{class:"eoe-balken__fuellung",style:`inline-size: ${B}%`,"aria-hidden":"true"}),T("span",{class:"eoe-balken__wert"},W.anzeige+(W.zahl!==null&&q?` ${q}`:""))),W.zusatz&&T("p",{class:"eoe-balken__zusatz"},y0(W.zusatz)))})),G&&T("p",{class:"eoe-fussnote"},G))}var b7={vergleichstabelle:JZ,checkliste:QZ,"paragraf-karten":$Z,rechenbeispiel:qZ,"anbieter-karten":GZ,"prozess-schiene":HZ,"balken-vergleich":WZ};function BZ(){document.querySelectorAll('[data-module="baustein"]').forEach((J)=>{if(J.dataset.scriptInitialized)return;J.dataset.scriptInitialized="true";let Q=(J.getAttribute("data-baustein")??"").trim().toLowerCase(),$=b7[Q];if(!$){console.warn(`[Baustein] "${Q}" unbekannt. Verfügbar: ${Object.keys(b7).join(", ")}`),J.appendChild(F1(`Baustein "${Q}" unbekannt. Verfügbar: ${Object.keys(b7).join(", ")}`));return}let{einstellungen:K,inhalt:q}=aK(rK(J));for(let[H,W]of Object.entries(K)){if(H==="module"||H==="baustein")continue;J.setAttribute(`data-${H}`,W)}let G=$(J,q);J.querySelector("[data-quelle]")?.remove(),J.appendChild(G)})}var jZ=["scroll","zoom"],UZ=1.2,XZ=8,QG=1.1;function $G(Z=document){let J=[];return Z.querySelectorAll("[data-parallax]").forEach((Q)=>{let $=Q.dataset.parallax?.trim().toLowerCase();if(jZ.includes($))J.push({el:Q,art:$});else console.warn(`[parallax] Unbekannter Wert "${Q.dataset.parallax}", erlaubt: ${jZ.join(", ")}`)}),J}function KG(Z){return Z.closest("section")??Z.parentElement??Z}function LZ(Z){return(J)=>{Z.style.willChange=J.isActive?"transform":""}}function ZG({el:Z,art:J}){let Q=KG(Z);if(J==="zoom")return w9.fromTo(Z,{scale:1},{scale:QG,ease:"none",scrollTrigger:{trigger:Q,start:"top top",end:"bottom top",scrub:!0,onToggle:LZ(Z)}});return w9.fromTo(Z,{yPercent:-XZ,scale:UZ},{yPercent:XZ,scale:UZ,ease:"none",scrollTrigger:{trigger:Q,start:"top bottom",end:"bottom top",scrub:!0,onToggle:LZ(Z)}})}var BQ=[];function YZ(){BQ.forEach((Z)=>{let J=Z.targets();Z.scrollTrigger?.kill(),Z.kill(),w9.set(J,{clearProps:"transform,willChange"})}),BQ=[]}function qG({wurzel:Z=document,reduziert:J=_K}={}){if(YZ(),J)return 0;return BQ=$G(Z).map(ZG),BQ.length}function MZ(){qQ((Z)=>{if(Z)YZ();else qG()})}var NZ={tabs:gK,accordion:mK,"logo-wall":uK,"lazy-video":dK,"bunny-lightbox":()=>{cK(),pK()},"formspark-form":lK,"sticky-steps":sK,"table-of-contents":nK,baustein:BZ},RZ=new Set;function GG(){let Z=document.querySelectorAll("[data-module]"),J=new Set;Z.forEach((Q)=>{let $=Q.dataset.module;if($&&!RZ.has($))J.add($)}),J.forEach((Q)=>{let $=NZ[Q];if($)RZ.add(Q),$(),console.log(`[Module] ✓ ${Q}`);else console.warn(`[Module] "${Q}" nicht gefunden. Verfügbar: ${Object.keys(NZ).join(", ")}`)})}class IZ{scroll=b8;constructor(){if(console.log("\uD83D\uDE80 BUNNY NEW App gestartet - v0.2.0"),GG(),document.querySelector("[data-parallax]"))MZ(),console.log("[Module] ✓ parallax")}}var HG=new IZ;})(); //# debugId=16C794F8E62E008B64756E2164756E21