@cosmictraveler002/anim-kit 1.0.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +275 -50
- package/dist/anim-kit.standalone.js +18 -8
- package/dist/anim-kit.standalone.js.map +1 -1
- package/dist/core/gsap.d.ts +2 -1
- package/dist/core/gsap.d.ts.map +1 -1
- package/dist/core/gsap.js +3 -2
- package/dist/core/gsap.js.map +1 -1
- package/dist/core/split.d.ts.map +1 -1
- package/dist/core/split.js +15 -2
- package/dist/core/split.js.map +1 -1
- package/dist/effects/clip-wipe.d.ts +31 -0
- package/dist/effects/clip-wipe.d.ts.map +1 -0
- package/dist/effects/clip-wipe.js +82 -0
- package/dist/effects/clip-wipe.js.map +1 -0
- package/dist/effects/counter.d.ts +9 -0
- package/dist/effects/counter.d.ts.map +1 -1
- package/dist/effects/counter.js +17 -7
- package/dist/effects/counter.js.map +1 -1
- package/dist/effects/cursor-follower.d.ts.map +1 -1
- package/dist/effects/cursor-follower.js +22 -4
- package/dist/effects/cursor-follower.js.map +1 -1
- package/dist/effects/flip-words.d.ts +31 -0
- package/dist/effects/flip-words.d.ts.map +1 -0
- package/dist/effects/flip-words.js +104 -0
- package/dist/effects/flip-words.js.map +1 -0
- package/dist/effects/line-reveal.d.ts +6 -2
- package/dist/effects/line-reveal.d.ts.map +1 -1
- package/dist/effects/line-reveal.js +8 -4
- package/dist/effects/line-reveal.js.map +1 -1
- package/dist/effects/magnetic.d.ts +15 -0
- package/dist/effects/magnetic.d.ts.map +1 -0
- package/dist/effects/magnetic.js +59 -0
- package/dist/effects/magnetic.js.map +1 -0
- package/dist/effects/media-settle.d.ts +30 -0
- package/dist/effects/media-settle.d.ts.map +1 -0
- package/dist/effects/media-settle.js +55 -0
- package/dist/effects/media-settle.js.map +1 -0
- package/dist/effects/roll-text.d.ts +13 -0
- package/dist/effects/roll-text.d.ts.map +1 -0
- package/dist/effects/roll-text.js +91 -0
- package/dist/effects/roll-text.js.map +1 -0
- package/dist/effects/scramble-text.d.ts +17 -0
- package/dist/effects/scramble-text.d.ts.map +1 -0
- package/dist/effects/scramble-text.js +93 -0
- package/dist/effects/scramble-text.js.map +1 -0
- package/dist/effects/unfold-reveal.d.ts +23 -0
- package/dist/effects/unfold-reveal.d.ts.map +1 -0
- package/dist/effects/unfold-reveal.js +53 -0
- package/dist/effects/unfold-reveal.js.map +1 -0
- package/dist/index.d.ts +25 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +19 -2
- package/dist/index.js.map +1 -1
- package/dist/styles/anim-kit.css +22 -0
- package/package.json +6 -3
- package/src/core/gsap.ts +3 -2
- package/src/core/split.ts +16 -2
- package/src/effects/clip-wipe.ts +141 -0
- package/src/effects/counter.ts +26 -6
- package/src/effects/cursor-follower.ts +21 -4
- package/src/effects/flip-words.ts +148 -0
- package/src/effects/line-reveal.ts +12 -5
- package/src/effects/magnetic.ts +87 -0
- package/src/effects/media-settle.ts +106 -0
- package/src/effects/roll-text.ts +118 -0
- package/src/effects/scramble-text.ts +122 -0
- package/src/effects/unfold-reveal.ts +92 -0
- package/src/index.ts +33 -2
- package/src/styles/anim-kit.css +22 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
var bl=Object.defineProperty;var wf=(a,e,t)=>e in a?bl(a,e,{enumerable:true,configurable:true,writable:true,value:t}):a[e]=t;var l=(a,e)=>bl(a,"name",{value:e,configurable:true});var oe=(a,e,t)=>wf(a,typeof e!="symbol"?e+"":e,t);function Vr(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}l(Vr,"_assertThisInitialized");function Dl(a,e){a.prototype=Object.create(e.prototype),a.prototype.constructor=a,a.__proto__=e;}l(Dl,"_inheritsLoose");var sr={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},qn={duration:.5,overwrite:false,delay:0},ta,Ot,nt,wr=1e8,et=1/wr,qs=Math.PI*2,Tf=qs/4,bf=0,Rl=Math.sqrt,Sf=Math.cos,Ef=Math.sin,yt=l(function(e){return typeof e=="string"},"_isString"),lt=l(function(e){return typeof e=="function"},"_isFunction"),Gr=l(function(e){return typeof e=="number"},"_isNumber"),qo=l(function(e){return typeof e>"u"},"_isUndefined"),Fr=l(function(e){return typeof e=="object"},"_isObject"),or=l(function(e){return e!==false},"_isNotFalse"),ra=l(function(){return typeof window<"u"},"_windowExists"),zo=l(function(e){return lt(e)||yt(e)},"_isFuncOrString"),Al=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},It=Array.isArray,kf=/random\([^)]+\)/g,Cf=/,\s*/g,Sl=/(?:-?\.?\d|\.)+/gi,ia=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Ni=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Fs=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,na=/[+-]=-?[.\d]+/,Mf=/[^,'"\[\]\s]+/gi,Pf=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,st,zr,Gs,oa,cr={},Bo={},Nl,zl=l(function(e){return (Bo=on(e,cr))&&Bt},"_install"),Go=l(function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},"_missingPlugin"),Gn=l(function(e,t){return !t&&console.warn(e)},"_warn"),Hl=l(function(e,t){return e&&(cr[e]=t)&&Bo&&(Bo[e]=t)||cr},"_addGlobal"),Un=l(function(){return 0},"_emptyFunc"),Of={suppressEvents:true,isStart:true,kill:false},Ho={suppressEvents:true,kill:false},Lf={suppressEvents:true},sa={},ui=[],Us={},Fl,ir={},Is={},El=30,Fo=[],aa="",la=l(function(e){var t=e[0],r,i;if(Fr(t)||lt(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(i=Fo.length;i--&&!Fo[i].targetTest(t););r=Fo[i];}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new ha(e[i],r)))||e.splice(i,1);return e},"_harness"),ci=l(function(e){return e._gsap||la(Tr(e))[0]._gsap},"_getCache"),ua=l(function(e,t,r){return (r=e[t])&<(r)?e[t]():qo(r)&&e.getAttribute&&e.getAttribute(t)||r},"_getProperty"),Ut=l(function(e,t){return (e=e.split(",")).forEach(t)||e},"_forEachName"),ut=l(function(e){return Math.round(e*1e5)/1e5||0},"_round"),ot=l(function(e){return Math.round(e*1e7)/1e7||0},"_roundPrecise"),zi=l(function(e,t){var r=t.charAt(0),i=parseFloat(t.substr(2));return e=parseFloat(e),r==="+"?e+i:r==="-"?e-i:r==="*"?e*i:e/i},"_parseRelative"),Df=l(function(e,t){for(var r=t.length,i=0;e.indexOf(t[i])<0&&++i<r;);return i<r},"_arrayContainsAny"),Yo=l(function(){var e=ui.length,t=ui.slice(0),r,i;for(Us={},ui.length=0,r=0;r<e;r++)i=t[r],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],true)._lazy=0);},"_lazyRender"),ca=l(function(e){return !!(e._initted||e._startAt||e.add)},"_isRevertWorthy"),Il=l(function(e,t,r,i){ui.length&&!Ot&&Yo(),e.render(t,r,i||!!(Ot&&t<0&&ca(e))),ui.length&&!Ot&&Yo();},"_lazySafeRender"),Bl=l(function(e){var t=parseFloat(e);return (t||t===0)&&(e+"").match(Mf).length<2?t:yt(e)?e.trim():e},"_numericIfPossible"),Yl=l(function(e){return e},"_passThrough"),fr=l(function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},"_setDefaults"),Rf=l(function(e){return function(t,r){for(var i in r)i in t||i==="duration"&&e||i==="ease"||(t[i]=r[i]);}},"_setKeyframeDefaults"),on=l(function(e,t){for(var r in t)e[r]=t[r];return e},"_merge"),kl=l(function a(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Fr(t[r])?a(e[r]||(e[r]={}),t[r]):t[r]);return e},"_mergeDeep"),Xo=l(function(e,t){var r={},i;for(i in e)i in t||(r[i]=e[i]);return r},"_copyExcluding"),Xn=l(function(e){var t=e.parent||st,r=e.keyframes?Rf(It(e.keyframes)):fr;if(or(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},"_inheritDefaults"),Af=l(function(e,t){for(var r=e.length,i=r===t.length;i&&r--&&e[r]===t[r];);return r<0},"_arraysMatch"),Xl=l(function(e,t,r,i,n){r===void 0&&(r="_first"),i===void 0&&(i="_last");var s=e[i],o;if(n)for(o=t[n];s&&s[n]>o;)s=s._prev;return s?(t._next=s._next,s._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[i]=t,t._prev=s,t.parent=t._dp=e,t},"_addLinkedListItem"),Uo=l(function(e,t,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var n=t._prev,s=t._next;n?n._next=s:e[r]===t&&(e[r]=s),s?s._prev=n:e[i]===t&&(e[i]=n),t._next=t._prev=t.parent=null;},"_removeLinkedListItem"),fi=l(function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0;},"_removeFromParent"),Di=l(function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},"_uncache"),Nf=l(function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},"_recacheAncestors"),js=l(function(e,t,r,i){return e._startAt&&(Ot?e._startAt.revert(Ho):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,true,i))},"_rewindStartAt"),zf=l(function a(e){return !e||e._ts&&a(e.parent)},"_hasNoPausedAncestors"),Cl=l(function(e){return e._repeat?sn(e._tTime,e=e.duration()+e._rDelay)*e:0},"_elapsedCycleDuration"),sn=l(function(e,t){var r=Math.floor(e=ot(e/t));return e&&r===e?r-1:r},"_animationCycle"),Wo=l(function(e,t){return (e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},"_parentToChildTotalTime"),jo=l(function(e){return e._end=ot(e._start+(e._tDur/Math.abs(e._ts||e._rts||et)||0))},"_setEnd"),Ko=l(function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=ot(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),jo(e),r._dirty||Di(r,e)),e},"_alignPlayhead"),Wl=l(function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=Wo(e.rawTime(),t),(!t._dur||Qn(0,t.totalDuration(),r)-t._tTime>et)&&t.render(r,true)),Di(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-et;}},"_postAddChecks"),Hr=l(function(e,t,r,i){return t.parent&&fi(t),t._start=ot((Gr(r)?r:r||e!==st?xr(e,r,t):e._time)+t._delay),t._end=ot(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Xl(e,t,"_first","_last",e._sort?"_start":0),Ks(t)||(e._recent=t),i||Wl(e,t),e._ts<0&&Ko(e,e._tTime),e},"_addToTimeline"),Vl=l(function(e,t){return (cr.ScrollTrigger||Go("scrollTrigger",t))&&cr.ScrollTrigger.create(t,e)},"_scrollTrigger"),ql=l(function(e,t,r,i,n){if(ga(e,t,n),!e._initted)return 1;if(!r&&e._pt&&!Ot&&(e._dur&&e.vars.lazy!==false||!e._dur&&e.vars.lazy)&&Fl!==nr.frame)return ui.push(e),e._lazy=[n,i],1},"_attemptInitTween"),Hf=l(function a(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||a(t))},"_parentPlayheadIsBeforeStart"),Ks=l(function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},"_isFromOrFromStart"),Ff=l(function(e,t,r,i){var n=e.ratio,s=t<0||!t&&(!e._start&&Hf(e)&&!(!e._initted&&Ks(e))||(e._ts<0||e._dp._ts<0)&&!Ks(e))?0:1,o=e._rDelay,c=0,f,h,p;if(o&&e._repeat&&(c=Qn(0,e._tDur,t),h=sn(c,o),e._yoyo&&h&1&&(s=1-s),h!==sn(e._tTime,o)&&(n=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==n||Ot||i||e._zTime===et||!t&&e._zTime){if(!e._initted&&ql(e,t,i,r,c))return;for(p=e._zTime,e._zTime=t||(r?et:0),r||(r=t&&!p),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=c,f=e._pt;f;)f.r(s,f.d),f=f._next;t<0&&js(e,t,r,true),e._onUpdate&&!r&&ur(e,"onUpdate"),c&&e._repeat&&!r&&e.parent&&ur(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===s&&(s&&fi(e,1),!r&&!Ot&&(ur(e,s?"onComplete":"onReverseComplete",true),e._prom&&e._prom()));}else e._zTime||(e._zTime=t);},"_renderZeroDurationTween"),If=l(function(e,t,r){var i;if(r>t)for(i=e._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>t)return i;i=i._next;}else for(i=e._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start<t)return i;i=i._prev;}},"_findNextPauseTween"),an=l(function(e,t,r,i){var n=e._repeat,s=ot(t)||0,o=e._tTime/e._tDur;return o&&!i&&(e._time*=s/e._dur),e._dur=s,e._tDur=n?n<0?1e10:ot(s*(n+1)+e._rDelay*n):s,o>0&&!i&&Ko(e,e._tTime=e._tDur*o),e.parent&&jo(e),r||Di(e.parent,e),e},"_setDuration"),Ml=l(function(e){return e instanceof Ft?Di(e):an(e,e._dur)},"_onUpdateTotalDuration"),Bf={_start:0,endTime:Un,totalDuration:Un},xr=l(function a(e,t,r){var i=e.labels,n=e._recent||Bf,s=e.duration()>=wr?n.endTime(false):e._dur,o,c,f;return yt(t)&&(isNaN(t)||t in i)?(c=t.charAt(0),f=t.substr(-1)==="%",o=t.indexOf("="),c==="<"||c===">"?(o>=0&&(t=t.replace(/=/,"")),(c==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(t.substr(1))||0)*(f?(o<0?n:r).totalDuration()/100:1)):o<0?(t in i||(i[t]=s),i[t]):(c=parseFloat(t.charAt(o-1)+t.substr(o+1)),f&&r&&(c=c/100*(It(r)?r[0]:r).totalDuration()),o>1?a(e,t.substr(0,o-1),r)+c:s+c)):t==null?s:+t},"_parsePosition"),Wn=l(function(e,t,r){var i=Gr(t[1]),n=(i?2:1)+(e<2?0:1),s=t[n],o,c;if(i&&(s.duration=t[1]),s.parent=r,e){for(o=s,c=r;c&&!("immediateRender"in o);)o=c.vars.defaults||{},c=or(c.vars.inherit)&&c.parent;s.immediateRender=or(o.immediateRender),e<2?s.runBackwards=1:s.startAt=t[n-1];}return new ht(t[0],s,t[n+1])},"_createTweenType"),hi=l(function(e,t){return e||e===0?t(e):t},"_conditionalReturn"),Qn=l(function(e,t,r){return r<e?e:r>t?t:r},"_clamp"),Lt=l(function(e,t){return !yt(e)||!(t=Pf.exec(e))?"":t[1]},"getUnit"),Yf=l(function(e,t,r){return hi(r,function(i){return Qn(e,t,i)})},"clamp"),Qs=[].slice,Gl=l(function(e,t){return e&&Fr(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&Fr(e[0]))&&!e.nodeType&&e!==zr},"_isArrayLike"),Xf=l(function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(i){var n;return yt(i)&&!t||Gl(i,1)?(n=r).push.apply(n,Tr(i)):r.push(i)})||r},"_flatten"),Tr=l(function(e,t,r){return nt&&!t&&nt.selector?nt.selector(e):yt(e)&&!r&&(Gs||!ln())?Qs.call((t||oa).querySelectorAll(e),0):It(e)?Xf(e,r):Gl(e)?Qs.call(e,0):e?[e]:[]},"toArray"),$s=l(function(e){return e=Tr(e)[0]||Gn("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return Tr(t,r.querySelectorAll?r:r===e?Gn("Invalid scope")||oa.createElement("div"):e)}},"selector"),Ul=l(function(e){return e.sort(function(){return .5-Math.random()})},"shuffle"),jl=l(function(e){if(lt(e))return e;var t=Fr(e)?e:{each:e},r=Ri(t.ease),i=t.from||0,n=parseFloat(t.base)||0,s={},o=i>0&&i<1,c=isNaN(i)||o,f=t.axis,h=i,p=i;return yt(i)?h=p={center:.5,edges:.5,end:1}[i]||0:!o&&c&&(h=i[0],p=i[1]),function(g,u,m){var d=(m||t).length,_=s[d],y,v,k,T,x,O,S,C,D;if(!_){if(D=t.grid==="auto"?0:(t.grid||[1,wr])[1],!D){for(S=-wr;S<(S=m[D++].getBoundingClientRect().left)&&D<d;);D<d&&D--;}for(_=s[d]=[],y=c?Math.min(D,d)*h-.5:i%D,v=D===wr?0:c?d*p/D-.5:i/D|0,S=0,C=wr,O=0;O<d;O++)k=O%D-y,T=v-(O/D|0),_[O]=x=f?Math.abs(f==="y"?T:k):Rl(k*k+T*T),x>S&&(S=x),x<C&&(C=x);i==="random"&&Ul(_),_.max=S-C,_.min=C,_.v=d=(parseFloat(t.amount)||parseFloat(t.each)*(D>d?d-1:f?f==="y"?d/D:D:Math.max(D,d/D))||0)*(i==="edges"?-1:1),_.b=d<0?n-d:n,_.u=Lt(t.amount||t.each)||0,r=r&&d<0?th(r):r;}return d=(_[g]-_.min)/_.max||0,ot(_.b+(r?r(d):d)*_.v)+_.u}},"distribute"),Zs=l(function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var i=ot(Math.round(parseFloat(r)/e)*e*t);return (i-i%1)/t+(Gr(r)?0:Lt(r))}},"_roundModifier"),Kl=l(function(e,t){var r=It(e),i,n;return !r&&Fr(e)&&(i=r=e.radius||wr,e.values?(e=Tr(e.values),(n=!Gr(e[0]))&&(i*=i)):e=Zs(e.increment)),hi(t,r?lt(e)?function(s){return n=e(s),Math.abs(n-s)<=i?n:s}:function(s){for(var o=parseFloat(n?s.x:s),c=parseFloat(n?s.y:0),f=wr,h=0,p=e.length,g,u;p--;)n?(g=e[p].x-o,u=e[p].y-c,g=g*g+u*u):g=Math.abs(e[p]-o),g<f&&(f=g,h=p);return h=!i||f<=i?e[h]:s,n||h===s||Gr(s)?h:h+Lt(s)}:Zs(e))},"snap"),Ql=l(function(e,t,r,i){return hi(It(e)?!t:r===true?!!(r=0):!i,function(){return It(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(t-e+r*.99))/r)*r*i)/i})},"random"),Wf=l(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(i){return t.reduce(function(n,s){return s(n)},i)}},"pipe"),Vf=l(function(e,t){return function(r){return e(parseFloat(r))+(t||Lt(r))}},"unitize"),qf=l(function(e,t,r){return Zl(e,t,0,1,r)},"normalize"),$l=l(function(e,t,r){return hi(r,function(i){return e[~~t(i)]})},"_wrapArray"),Gf=l(function a(e,t,r){var i=t-e;return It(e)?$l(e,a(0,e.length),t):hi(r,function(n){return (i+(n-e)%i)%i+e})},"wrap"),Uf=l(function a(e,t,r){var i=t-e,n=i*2;return It(e)?$l(e,a(0,e.length-1),t):hi(r,function(s){return s=(n+(s-e)%n)%n||0,e+(s>i?n-s:s)})},"wrapYoyo"),un=l(function(e){return e.replace(kf,function(t){var r=t.indexOf("[")+1,i=t.substring(r||7,r?t.indexOf("]"):t.length-1).split(Cf);return Ql(r?i:+i[0],r?0:+i[1],+i[2]||1e-5)})},"_replaceRandom"),Zl=l(function(e,t,r,i,n){var s=t-e,o=i-r;return hi(n,function(c){return r+((c-e)/s*o||0)})},"mapRange"),jf=l(function a(e,t,r,i){var n=isNaN(e+t)?0:function(u){return (1-u)*e+u*t};if(!n){var s=yt(e),o={},c,f,h,p,g;if(r===true&&(i=1)&&(r=null),s)e={p:e},t={p:t};else if(It(e)&&!It(t)){for(h=[],p=e.length,g=p-2,f=1;f<p;f++)h.push(a(e[f-1],e[f]));p--,n=l(function(m){m*=p;var d=Math.min(g,~~m);return h[d](m-d)},"func"),r=t;}else i||(e=on(It(e)?[]:{},e));if(!h){for(c in t)da.call(o,e,c,"get",t[c]);n=l(function(m){return ya(m,o)||(s?e.p:e)},"func");}}return hi(r,n)},"interpolate"),Pl=l(function(e,t,r){var i=e.labels,n=wr,s,o,c;for(s in i)o=i[s]-t,o<0==!!r&&o&&n>(o=Math.abs(o))&&(c=s,n=o);return c},"_getLabelInDirection"),ur=l(function(e,t,r){var i=e.vars,n=i[t],s=nt,o=e._ctx,c,f,h;if(n)return c=i[t+"Params"],f=i.callbackScope||e,r&&ui.length&&Yo(),o&&(nt=o),h=c?n.apply(f,c):n.call(f),nt=s,h},"_callback"),Bn=l(function(e){return fi(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Ot),e.progress()<1&&ur(e,"onInterrupt"),e},"_interrupt"),nn,Jl=[],eu=l(function(e){if(e)if(e=!e.name&&e.default||e,ra()||e.headless){var t=e.name,r=lt(e),i=t&&!r&&e.init?function(){this._props=[];}:e,n={init:Un,render:ya,add:da,kill:fh,modifier:ch,rawVars:0},s={targetTest:0,get:0,getSetter:Qo,aliases:{},register:0};if(ln(),e!==i){if(ir[t])return;fr(i,fr(Xo(e,n),s)),on(i.prototype,on(n,Xo(e,s))),ir[i.prop=t]=i,e.targetTest&&(Fo.push(i),sa[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin";}Hl(t,i),e.register&&e.register(Bt,i,jt);}else Jl.push(e);},"_createPlugin"),Je=255,Yn={aqua:[0,Je,Je],lime:[0,Je,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Je],navy:[0,0,128],white:[Je,Je,Je],olive:[128,128,0],yellow:[Je,Je,0],orange:[Je,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Je,0,0],pink:[Je,192,203],cyan:[0,Je,Je],transparent:[Je,Je,Je,0]},Bs=l(function(e,t,r){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(r-t)*e*6:e<.5?r:e*3<2?t+(r-t)*(2/3-e)*6:t)*Je+.5|0},"_hue"),tu=l(function(e,t,r){var i=e?Gr(e)?[e>>16,e>>8&Je,e&Je]:0:Yn.black,n,s,o,c,f,h,p,g,u,m;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Yn[e])i=Yn[e];else if(e.charAt(0)==="#"){if(e.length<6&&(n=e.charAt(1),s=e.charAt(2),o=e.charAt(3),e="#"+n+n+s+s+o+o+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&Je,i&Je,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&Je,e&Je];}else if(e.substr(0,3)==="hsl"){if(i=m=e.match(Sl),!t)c=+i[0]%360/360,f=+i[1]/100,h=+i[2]/100,s=h<=.5?h*(f+1):h+f-h*f,n=h*2-s,i.length>3&&(i[3]*=1),i[0]=Bs(c+1/3,n,s),i[1]=Bs(c,n,s),i[2]=Bs(c-1/3,n,s);else if(~e.indexOf("="))return i=e.match(ia),r&&i.length<4&&(i[3]=1),i}else i=e.match(Sl)||Yn.transparent;i=i.map(Number);}return t&&!m&&(n=i[0]/Je,s=i[1]/Je,o=i[2]/Je,p=Math.max(n,s,o),g=Math.min(n,s,o),h=(p+g)/2,p===g?c=f=0:(u=p-g,f=h>.5?u/(2-p-g):u/(p+g),c=p===n?(s-o)/u+(s<o?6:0):p===s?(o-n)/u+2:(n-s)/u+4,c*=60),i[0]=~~(c+.5),i[1]=~~(f*100+.5),i[2]=~~(h*100+.5)),r&&i.length<4&&(i[3]=1),i},"splitColor"),ru=l(function(e){var t=[],r=[],i=-1;return e.split(qr).forEach(function(n){var s=n.match(Ni)||[];t.push.apply(t,s),r.push(i+=s.length+1);}),t.c=r,t},"_colorOrderData"),Ol=l(function(e,t,r){var i="",n=(e+i).match(qr),s=t?"hsla(":"rgba(",o=0,c,f,h,p;if(!n)return e;if(n=n.map(function(g){return (g=tu(g,t,1))&&s+(t?g[0]+","+g[1]+"%,"+g[2]+"%,"+g[3]:g.join(","))+")"}),r&&(h=ru(e),c=r.c,c.join(i)!==h.c.join(i)))for(f=e.replace(qr,"1").split(Ni),p=f.length-1;o<p;o++)i+=f[o]+(~c.indexOf(o)?n.shift()||s+"0,0,0,0)":(h.length?h:n.length?n:r).shift());if(!f)for(f=e.split(qr),p=f.length-1;o<p;o++)i+=f[o]+n[o];return i+f[p]},"_formatColors"),qr=(function(){var a="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in Yn)a+="|"+e+"\\b";return new RegExp(a+")","gi")})(),Kf=/hsl[a]?\(/,fa=l(function(e){var t=e.join(" "),r;if(qr.lastIndex=0,qr.test(t))return r=Kf.test(t),e[1]=Ol(e[1],r),e[0]=Ol(e[0],r,ru(e[1])),true},"_colorStringFilter"),jn,nr=(function(){var a=Date.now,e=500,t=33,r=a(),i=r,n=1e3/240,s=n,o=[],c,f,h,p,g,u,m=l(function d(_){var y=a()-i,v=_===true,k,T,x,O;if((y>e||y<0)&&(r+=y-t),i+=y,x=i-r,k=x-s,(k>0||v)&&(O=++p.frame,g=x-p.time*1e3,p.time=x=x/1e3,s+=k+(k>=n?4:n-k),T=1),v||(c=f(d)),T)for(u=0;u<o.length;u++)o[u](x,g,O,_);},"_tick");return p={time:0,frame:0,tick:l(function(){m(true);},"tick"),deltaRatio:l(function(_){return g/(1e3/(_||60))},"deltaRatio"),wake:l(function(){Nl&&(!Gs&&ra()&&(zr=Gs=window,oa=zr.document||{},cr.gsap=Bt,(zr.gsapVersions||(zr.gsapVersions=[])).push(Bt.version),zl(Bo||zr.GreenSockGlobals||!zr.gsap&&zr||{}),Jl.forEach(eu)),h=typeof requestAnimationFrame<"u"&&requestAnimationFrame,c&&p.sleep(),f=h||function(_){return setTimeout(_,s-p.time*1e3+1|0)},jn=1,m(2));},"wake"),sleep:l(function(){(h?cancelAnimationFrame:clearTimeout)(c),jn=0,f=Un;},"sleep"),lagSmoothing:l(function(_,y){e=_||1/0,t=Math.min(y||33,e);},"lagSmoothing"),fps:l(function(_){n=1e3/(_||240),s=p.time*1e3+n;},"fps"),add:l(function(_,y,v){var k=y?function(T,x,O,S){_(T,x,O,S),p.remove(k);}:_;return p.remove(_),o[v?"unshift":"push"](k),ln(),k},"add"),remove:l(function(_,y){~(y=o.indexOf(_))&&o.splice(y,1)&&u>=y&&u--;},"remove"),_listeners:o},p})(),ln=l(function(){return !jn&&nr.wake()},"_wake"),De={},Qf=/^[\d.\-M][\d.\-,\s]/,$f=/["']/g,Zf=l(function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),i=r[0],n=1,s=r.length,o,c,f;n<s;n++)c=r[n],o=n!==s-1?c.lastIndexOf(","):c.length,f=c.substr(0,o),t[i]=isNaN(f)?f.replace($f,"").trim():+f,i=c.substr(o+1).trim();return t},"_parseObjectInString"),Jf=l(function(e){var t=e.indexOf("(")+1,r=e.indexOf(")"),i=e.indexOf("(",t);return e.substring(t,~i&&i<r?e.indexOf(")",r+1):r)},"_valueInParentheses"),eh=l(function(e){var t=(e+"").split("("),r=De[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[Zf(t[1])]:Jf(e).split(",").map(Bl)):De._CE&&Qf.test(e)?De._CE("",e):r},"_configEaseFromString"),th=l(function(e){return function(t){return 1-e(1-t)}},"_invertEase"),Ri=l(function(e,t){return e&&(lt(e)?e:De[e]||eh(e))||t},"_parseEase"),Hi=l(function(e,t,r,i){r===void 0&&(r=l(function(c){return 1-t(1-c)},"easeOut")),i===void 0&&(i=l(function(c){return c<.5?t(c*2)/2:1-t((1-c)*2)/2},"easeInOut"));var n={easeIn:t,easeOut:r,easeInOut:i},s;return Ut(e,function(o){De[o]=cr[o]=n,De[s=o.toLowerCase()]=r;for(var c in n)De[s+(c==="easeIn"?".in":c==="easeOut"?".out":".inOut")]=De[o+"."+c]=n[c];}),n},"_insertEase"),iu=l(function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},"_easeInOutFromOut"),Ys=l(function a(e,t,r){var i=t>=1?t:1,n=(r||(e?.3:.45))/(t<1?t:1),s=n/qs*(Math.asin(1/i)||0),o=l(function(h){return h===1?1:i*Math.pow(2,-10*h)*Ef((h-s)*n)+1},"easeOut"),c=e==="out"?o:e==="in"?function(f){return 1-o(1-f)}:iu(o);return n=qs/n,c.config=function(f,h){return a(e,f,h)},c},"_configElastic"),Xs=l(function a(e,t){t===void 0&&(t=1.70158);var r=l(function(s){return s?--s*s*((t+1)*s+t)+1:0},"easeOut"),i=e==="out"?r:e==="in"?function(n){return 1-r(1-n)}:iu(r);return i.config=function(n){return a(e,n)},i},"_configBack");Ut("Linear,Quad,Cubic,Quart,Quint,Strong",function(a,e){var t=e<5?e+1:e;Hi(a+",Power"+(t-1),e?function(r){return Math.pow(r,t)}:function(r){return r},function(r){return 1-Math.pow(1-r,t)},function(r){return r<.5?Math.pow(r*2,t)/2:1-Math.pow((1-r)*2,t)/2});});De.Linear.easeNone=De.none=De.Linear.easeIn;Hi("Elastic",Ys("in"),Ys("out"),Ys());(function(a,e){var t=1/e,r=2*t,i=2.5*t,n=l(function(o){return o<t?a*o*o:o<r?a*Math.pow(o-1.5/e,2)+.75:o<i?a*(o-=2.25/e)*o+.9375:a*Math.pow(o-2.625/e,2)+.984375},"easeOut");Hi("Bounce",function(s){return 1-n(1-s)},n);})(7.5625,2.75);Hi("Expo",function(a){return Math.pow(2,10*(a-1))*a+a*a*a*a*a*a*(1-a)});Hi("Circ",function(a){return -(Rl(1-a*a)-1)});Hi("Sine",function(a){return a===1?1:-Sf(a*Tf)+1});Hi("Back",Xs("in"),Xs("out"),Xs());De.SteppedEase=De.steps=cr.SteppedEase={config:l(function(e,t){e===void 0&&(e=1);var r=1/e,i=e+(t?0:1),n=t?1:0,s=1-et;return function(o){return ((i*Qn(0,s,o)|0)+n)*r}},"config")};qn.ease=De["quad.out"];Ut("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(a){return aa+=a+","+a+"Params,"});var ha=l(function(e,t){this.id=bf++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:ua,this.set=t?t.getSetter:Qo;},"GSCache"),Kn=(function(){function a(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,an(this,+t.duration,1,1),this.data=t.data,nt&&(this._ctx=nt,nt.data.push(this)),jn||nr.wake();}l(a,"Animation");var e=a.prototype;return e.delay=l(function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},"delay"),e.duration=l(function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},"duration"),e.totalDuration=l(function(r){return arguments.length?(this._dirty=0,an(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},"totalDuration"),e.totalTime=l(function(r,i){if(ln(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Ko(this,r),!n._dp||n.parent||Wl(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,true),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&Hr(this._dp,this,this._start-this._delay);}return (this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===et||!this._initted&&this._dur&&r||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),Il(this,r,i)),this},"totalTime"),e.time=l(function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Cl(this))%(this._dur+this._rDelay)||(r?this._dur:0),i):this._time},"time"),e.totalProgress=l(function(r,i){return arguments.length?this.totalTime(this.totalDuration()*r,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},"totalProgress"),e.progress=l(function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+Cl(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},"progress"),e.iteration=l(function(r,i){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*n,i):this._repeat?sn(this._tTime,n)+1:1},"iteration"),e.timeScale=l(function(r,i){if(!arguments.length)return this._rts===-et?0:this._rts;if(this._rts===r)return this;var n=this.parent&&this._ts?Wo(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-et?0:this._rts,this.totalTime(Qn(-Math.abs(this._delay),this.totalDuration(),n),i!==false),jo(this),Nf(this)},"timeScale"),e.paused=l(function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(ln(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==et&&(this._tTime-=et)))),this):this._ps},"paused"),e.startTime=l(function(r){if(arguments.length){this._start=ot(r);var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&Hr(i,this,this._start-this._delay),this}return this._start},"startTime"),e.endTime=l(function(r){return this._start+(or(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},"endTime"),e.rawTime=l(function(r){var i=this.parent||this._dp;return i?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Wo(i.rawTime(r),this):this._tTime:this._tTime},"rawTime"),e.revert=l(function(r){r===void 0&&(r=Lf);var i=Ot;return Ot=r,ca(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-0.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==false&&this.kill(),Ot=i,this},"revert"),e.globalTime=l(function(r){for(var i=this,n=arguments.length?r:i.rawTime();i;)n=i._start+n/(Math.abs(i._ts)||1),i=i._dp;return !this.parent&&this._sat?this._sat.globalTime(r):n},"globalTime"),e.repeat=l(function(r){return arguments.length?(this._repeat=r===1/0?-2:r,Ml(this)):this._repeat===-2?1/0:this._repeat},"repeat"),e.repeatDelay=l(function(r){if(arguments.length){var i=this._time;return this._rDelay=r,Ml(this),i?this.time(i):this}return this._rDelay},"repeatDelay"),e.yoyo=l(function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},"yoyo"),e.seek=l(function(r,i){return this.totalTime(xr(this,r),or(i))},"seek"),e.restart=l(function(r,i){return this.play().totalTime(r?-this._delay:0,or(i)),this._dur||(this._zTime=-et),this},"restart"),e.play=l(function(r,i){return r!=null&&this.seek(r,i),this.reversed(false).paused(false)},"play"),e.reverse=l(function(r,i){return r!=null&&this.seek(r||this.totalDuration(),i),this.reversed(true).paused(false)},"reverse"),e.pause=l(function(r,i){return r!=null&&this.seek(r,i),this.paused(true)},"pause"),e.resume=l(function(){return this.paused(false)},"resume"),e.reversed=l(function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-et:0)),this):this._rts<0},"reversed"),e.invalidate=l(function(){return this._initted=this._act=0,this._zTime=-et,this},"invalidate"),e.isActive=l(function(){var r=this.parent||this._dp,i=this._start,n;return !!(!r||this._ts&&this._initted&&r.isActive()&&(n=r.rawTime(true))>=i&&n<this.endTime(true)-et)},"isActive"),e.eventCallback=l(function(r,i,n){var s=this.vars;return arguments.length>1?(i?(s[r]=i,n&&(s[r+"Params"]=n),r==="onUpdate"&&(this._onUpdate=i)):delete s[r],this):s[r]},"eventCallback"),e.then=l(function(r){var i=this,n=i._prom;return new Promise(function(s){var o=lt(r)?r:Yl,c=l(function(){var h=i.then;i.then=null,n&&n(),lt(o)&&(o=o(i))&&(o.then||o===i)&&(i.then=h),s(o),i.then=h;},"_resolve");i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?c():i._prom=c;})},"then"),e.kill=l(function(){Bn(this);},"kill"),a})();fr(Kn.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:false,parent:null,_initted:false,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-et,_prom:0,_ps:false,_rts:1});var Ft=(function(a){Dl(e,a);function e(r,i){var n;return r===void 0&&(r={}),n=a.call(this,r)||this,n.labels={},n.smoothChildTiming=!!r.smoothChildTiming,n.autoRemoveChildren=!!r.autoRemoveChildren,n._sort=or(r.sortChildren),st&&Hr(r.parent||st,Vr(n),i),r.reversed&&n.reverse(),r.paused&&n.paused(true),r.scrollTrigger&&Vl(Vr(n),r.scrollTrigger),n}l(e,"Timeline");var t=e.prototype;return t.to=l(function(i,n,s){return Wn(0,arguments,this),this},"to"),t.from=l(function(i,n,s){return Wn(1,arguments,this),this},"from"),t.fromTo=l(function(i,n,s,o){return Wn(2,arguments,this),this},"fromTo"),t.set=l(function(i,n,s){return n.duration=0,n.parent=this,Xn(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new ht(i,n,xr(this,s),1),this},"set"),t.call=l(function(i,n,s){return Hr(this,ht.delayedCall(0,i,n),s)},"call"),t.staggerTo=l(function(i,n,s,o,c,f,h){return s.duration=n,s.stagger=s.stagger||o,s.onComplete=f,s.onCompleteParams=h,s.parent=this,new ht(i,s,xr(this,c)),this},"staggerTo"),t.staggerFrom=l(function(i,n,s,o,c,f,h){return s.runBackwards=1,Xn(s).immediateRender=or(s.immediateRender),this.staggerTo(i,n,s,o,c,f,h)},"staggerFrom"),t.staggerFromTo=l(function(i,n,s,o,c,f,h,p){return o.startAt=s,Xn(o).immediateRender=or(o.immediateRender),this.staggerTo(i,n,o,c,f,h,p)},"staggerFromTo"),t.render=l(function(i,n,s){var o=this._time,c=this._dirty?this.totalDuration():this._tDur,f=this._dur,h=i<=0?0:ot(i),p=this._zTime<0!=i<0&&(this._initted||!f),g,u,m,d,_,y,v,k,T,x,O,S;if(this!==st&&h>c&&i>=0&&(h=c),h!==this._tTime||s||p){if(o!==this._time&&f&&(h+=this._time-o,i+=this._time-o),g=h,T=this._start,k=this._ts,y=!k,p&&(f||(o=this._zTime),(i||!n)&&(this._zTime=i)),this._repeat){if(O=this._yoyo,_=f+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(_*100+i,n,s);if(g=ot(h%_),h===c?(d=this._repeat,g=f):(x=ot(h/_),d=~~x,d&&d===x&&(g=f,d--),g>f&&(g=f)),x=sn(this._tTime,_),!o&&this._tTime&&x!==d&&this._tTime-x*_-this._dur<=0&&(x=d),O&&d&1&&(g=f-g,S=1),d!==x&&!this._lock){var C=O&&x&1,D=C===(O&&d&1);if(d<x&&(C=!C),o=C?0:h%f?f:h,this._lock=1,this.render(o||(S?0:ot(d*_)),n,!f)._lock=0,this._tTime=h,!n&&this.parent&&ur(this,"onRepeat"),this.vars.repeatRefresh&&!S&&(this.invalidate()._lock=1,x=d),o&&o!==this._time||y!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(f=this._dur,c=this._tDur,D&&(this._lock=2,o=C?f:-1e-4,this.render(o,true),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!y)return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=If(this,ot(o),ot(g)),v&&(h-=g-(g=v._start))),this._tTime=h,this._time=g,this._act=!!k,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,o=0),!o&&h&&f&&!n&&!x&&(ur(this,"onStart"),this._tTime!==h))return this;if(g>=o&&i>=0)for(u=this._first;u;){if(m=u._next,(u._act||g>=u._start)&&u._ts&&v!==u){if(u.parent!==this)return this.render(i,n,s);if(u.render(u._ts>0?(g-u._start)*u._ts:(u._dirty?u.totalDuration():u._tDur)+(g-u._start)*u._ts,n,s),g!==this._time||!this._ts&&!y){v=0,m&&(h+=this._zTime=-et);break}}u=m;}else {u=this._last;for(var L=i<0?i:g;u;){if(m=u._prev,(u._act||L<=u._end)&&u._ts&&v!==u){if(u.parent!==this)return this.render(i,n,s);if(u.render(u._ts>0?(L-u._start)*u._ts:(u._dirty?u.totalDuration():u._tDur)+(L-u._start)*u._ts,n,s||Ot&&ca(u)),g!==this._time||!this._ts&&!y){v=0,m&&(h+=this._zTime=L?-et:et);break}}u=m;}}if(v&&!n&&(this.pause(),v.render(g>=o?0:-et)._zTime=g>=o?1:-1,this._ts))return this._start=T,jo(this),this.render(i,n,s);this._onUpdate&&!n&&ur(this,"onUpdate",true),(h===c&&this._tTime>=this.totalDuration()||!h&&o)&&(T===this._start||Math.abs(k)!==Math.abs(this._ts))&&(this._lock||((i||!f)&&(h===c&&this._ts>0||!h&&this._ts<0)&&fi(this,1),!n&&!(i<0&&!o)&&(h||o||!c)&&(ur(this,h===c&&i>=0?"onComplete":"onReverseComplete",true),this._prom&&!(h<c&&this.timeScale()>0)&&this._prom())));}return this},"render"),t.add=l(function(i,n){var s=this;if(Gr(n)||(n=xr(this,n,i)),!(i instanceof Kn)){if(It(i))return i.forEach(function(o){return s.add(o,n)}),this;if(yt(i))return this.addLabel(i,n);if(lt(i))i=ht.delayedCall(0,i);else return this}return this!==i?Hr(this,i,n):this},"add"),t.getChildren=l(function(i,n,s,o){i===void 0&&(i=true),n===void 0&&(n=true),s===void 0&&(s=true),o===void 0&&(o=-wr);for(var c=[],f=this._first;f;)f._start>=o&&(f instanceof ht?n&&c.push(f):(s&&c.push(f),i&&c.push.apply(c,f.getChildren(true,n,s)))),f=f._next;return c},"getChildren"),t.getById=l(function(i){for(var n=this.getChildren(1,1,1),s=n.length;s--;)if(n[s].vars.id===i)return n[s]},"getById"),t.remove=l(function(i){return yt(i)?this.removeLabel(i):lt(i)?this.killTweensOf(i):(i.parent===this&&Uo(this,i),i===this._recent&&(this._recent=this._last),Di(this))},"remove"),t.totalTime=l(function(i,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ot(nr.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),a.prototype.totalTime.call(this,i,n),this._forcing=0,this):this._tTime},"totalTime"),t.addLabel=l(function(i,n){return this.labels[i]=xr(this,n),this},"addLabel"),t.removeLabel=l(function(i){return delete this.labels[i],this},"removeLabel"),t.addPause=l(function(i,n,s){var o=ht.delayedCall(0,n||Un,s);return o.data="isPause",this._hasPause=1,Hr(this,o,xr(this,i))},"addPause"),t.removePause=l(function(i){var n=this._first;for(i=xr(this,i);n;)n._start===i&&n.data==="isPause"&&fi(n),n=n._next;},"removePause"),t.killTweensOf=l(function(i,n,s){for(var o=this.getTweensOf(i,s),c=o.length;c--;)li!==o[c]&&o[c].kill(i,n);return this},"killTweensOf"),t.getTweensOf=l(function(i,n){for(var s=[],o=Tr(i),c=this._first,f=Gr(n),h;c;)c instanceof ht?Df(c._targets,o)&&(f?(!li||c._initted&&c._ts)&&c.globalTime(0)<=n&&c.globalTime(c.totalDuration())>n:!n||c.isActive())&&s.push(c):(h=c.getTweensOf(o,n)).length&&s.push.apply(s,h),c=c._next;return s},"getTweensOf"),t.tweenTo=l(function(i,n){n=n||{};var s=this,o=xr(s,i),c=n,f=c.startAt,h=c.onStart,p=c.onStartParams,g=c.immediateRender,u,m=ht.to(s,fr({ease:n.ease||"none",lazy:false,immediateRender:false,time:o,overwrite:"auto",duration:n.duration||Math.abs((o-(f&&"time"in f?f.time:s._time))/s.timeScale())||et,onStart:l(function(){if(s.pause(),!u){var _=n.duration||Math.abs((o-(f&&"time"in f?f.time:s._time))/s.timeScale());m._dur!==_&&an(m,_,0,1).render(m._time,true,true),u=1;}h&&h.apply(m,p||[]);},"onStart")},n));return g?m.render(0):m},"tweenTo"),t.tweenFromTo=l(function(i,n,s){return this.tweenTo(n,fr({startAt:{time:xr(this,i)}},s))},"tweenFromTo"),t.recent=l(function(){return this._recent},"recent"),t.nextLabel=l(function(i){return i===void 0&&(i=this._time),Pl(this,xr(this,i))},"nextLabel"),t.previousLabel=l(function(i){return i===void 0&&(i=this._time),Pl(this,xr(this,i),1)},"previousLabel"),t.currentLabel=l(function(i){return arguments.length?this.seek(i,true):this.previousLabel(this._time+et)},"currentLabel"),t.shiftChildren=l(function(i,n,s){s===void 0&&(s=0);var o=this._first,c=this.labels,f;for(i=ot(i);o;)o._start>=s&&(o._start+=i,o._end+=i),o=o._next;if(n)for(f in c)c[f]>=s&&(c[f]+=i);return Di(this)},"shiftChildren"),t.invalidate=l(function(i){var n=this._first;for(this._lock=0;n;)n.invalidate(i),n=n._next;return a.prototype.invalidate.call(this,i)},"invalidate"),t.clear=l(function(i){i===void 0&&(i=true);for(var n=this._first,s;n;)s=n._next,this.remove(n),n=s;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),Di(this)},"clear"),t.totalDuration=l(function(i){var n=0,s=this,o=s._last,c=wr,f,h,p;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-i:i));if(s._dirty){for(p=s.parent;o;)f=o._prev,o._dirty&&o.totalDuration(),h=o._start,h>c&&s._sort&&o._ts&&!s._lock?(s._lock=1,Hr(s,o,h-o._delay,1)._lock=0):c=h,h<0&&o._ts&&(n-=h,(!p&&!s._dp||p&&p.smoothChildTiming)&&(s._start+=ot(h/s._ts),s._time-=h,s._tTime-=h),s.shiftChildren(-h,false,-1/0),c=0),o._end>n&&o._ts&&(n=o._end),o=f;an(s,s===st&&s._time>n?s._time:n,1,1),s._dirty=0;}return s._tDur},"totalDuration"),e.updateRoot=l(function(i){if(st._ts&&(Il(st,Wo(i,st)),Fl=nr.frame),nr.frame>=El){El+=sr.autoSleep||120;var n=st._first;if((!n||!n._ts)&&sr.autoSleep&&nr._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||nr.sleep();}}},"updateRoot"),e})(Kn);fr(Ft.prototype,{_lock:0,_hasPause:0,_forcing:0});var rh=l(function(e,t,r,i,n,s,o){var c=new jt(this._pt,e,t,0,1,_a,null,n),f=0,h=0,p,g,u,m,d,_,y,v;for(c.b=r,c.e=i,r+="",i+="",(y=~i.indexOf("random("))&&(i=un(i)),s&&(v=[r,i],s(v,e,t),r=v[0],i=v[1]),g=r.match(Fs)||[];p=Fs.exec(i);)m=p[0],d=i.substring(f,p.index),u?u=(u+1)%5:d.substr(-5)==="rgba("&&(u=1),m!==g[h++]&&(_=parseFloat(g[h-1])||0,c._pt={_next:c._pt,p:d||h===1?d:",",s:_,c:m.charAt(1)==="="?zi(_,m)-_:parseFloat(m)-_,m:u&&u<4?Math.round:0},f=Fs.lastIndex);return c.c=f<i.length?i.substring(f,i.length):"",c.fp=o,(na.test(i)||y)&&(c.e=0),this._pt=c,c},"_addComplexStringPropTween"),da=l(function(e,t,r,i,n,s,o,c,f,h){lt(i)&&(i=i(n||0,e,s));var p=e[t],g=r!=="get"?r:lt(p)?f?e[t.indexOf("set")||!lt(e["get"+t.substr(3)])?t:"get"+t.substr(3)](f):e[t]():p,u=lt(p)?f?ah:su:ma,m;if(yt(i)&&(~i.indexOf("random(")&&(i=un(i)),i.charAt(1)==="="&&(m=zi(g,i)+(Lt(g)||0),(m||m===0)&&(i=m))),!h||g!==i||Js)return !isNaN(g*i)&&i!==""?(m=new jt(this._pt,e,t,+g||0,i-(g||0),typeof p=="boolean"?uh:au,0,u),f&&(m.fp=f),o&&m.modifier(o,this,e),this._pt=m):(!p&&!(t in e)&&Go(t,i),rh.call(this,e,t,g,i,u,c||sr.stringFilter,f))},"_addPropTween"),ih=l(function(e,t,r,i,n){if(lt(e)&&(e=Vn(e,n,t,r,i)),!Fr(e)||e.style&&e.nodeType||It(e)||Al(e))return yt(e)?Vn(e,n,t,r,i):e;var s={},o;for(o in e)s[o]=Vn(e[o],n,t,r,i);return s},"_processVars"),pa=l(function(e,t,r,i,n,s){var o,c,f,h;if(ir[e]&&(o=new ir[e]).init(n,o.rawVars?t[e]:ih(t[e],i,n,s,r),r,i,s)!==false&&(r._pt=c=new jt(r._pt,n,e,0,1,o.render,o,0,o.priority),r!==nn))for(f=r._ptLookup[r._targets.indexOf(n)],h=o._props.length;h--;)f[o._props[h]]=c;return o},"_checkPlugin"),li,Js,ga=l(function a(e,t,r){var i=e.vars,n=i.ease,s=i.startAt,o=i.immediateRender,c=i.lazy,f=i.onUpdate,h=i.runBackwards,p=i.yoyoEase,g=i.keyframes,u=i.autoRevert,m=e._dur,d=e._startAt,_=e._targets,y=e.parent,v=y&&y.data==="nested"?y.vars.targets:_,k=e._overwrite==="auto"&&!ta,T=e.timeline,x=i.easeReverse||p,O,S,C,D,L,H,N,z,X,K,G,V,se;if(T&&(!g||!n)&&(n="none"),e._ease=Ri(n,qn.ease),e._rEase=x&&(Ri(x)||e._ease),e._from=!T&&!!i.runBackwards,e._from&&(e.ratio=1),!T||g&&!i.stagger){if(z=_[0]?ci(_[0]).harness:0,V=z&&i[z.prop],O=Xo(i,sa),d&&(d._zTime<0&&d.progress(1),t<0&&h&&o&&!u?d.render(-1,true):d.revert(h&&m?Ho:Of),d._lazy=0),s){if(fi(e._startAt=ht.set(_,fr({data:"isStart",overwrite:false,parent:y,immediateRender:true,lazy:!d&&or(c),startAt:null,delay:0,onUpdate:f&&function(){return ur(e,"onUpdate")},stagger:0},s))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(Ot||!o&&!u)&&e._startAt.revert(Ho),o&&m&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(h&&m&&!d){if(t&&(o=false),C=fr({overwrite:false,data:"isFromStart",lazy:o&&!d&&or(c),immediateRender:o,stagger:0,parent:y},O),V&&(C[z.prop]=V),fi(e._startAt=ht.set(_,C)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(Ot?e._startAt.revert(Ho):e._startAt.render(-1,true)),e._zTime=t,!o)a(e._startAt,et,et);else if(!t)return}for(e._pt=e._ptCache=0,c=m&&or(c)||c&&!m,S=0;S<_.length;S++){if(L=_[S],N=L._gsap||la(_)[S]._gsap,e._ptLookup[S]=K={},Us[N.id]&&ui.length&&Yo(),G=v===_?S:v.indexOf(L),z&&(X=new z).init(L,V||O,e,G,v)!==false&&(e._pt=D=new jt(e._pt,L,X.name,0,1,X.render,X,0,X.priority),X._props.forEach(function(ie){K[ie]=D;}),X.priority&&(H=1)),!z||V)for(C in O)ir[C]&&(X=pa(C,O,e,G,L,v))?X.priority&&(H=1):K[C]=D=da.call(e,L,C,"get",O[C],G,v,0,i.stringFilter);e._op&&e._op[S]&&e.kill(L,e._op[S]),k&&e._pt&&(li=e,st.killTweensOf(L,K,e.globalTime(t)),se=!e.parent,li=0),e._pt&&c&&(Us[N.id]=1);}H&&va(e),e._onInit&&e._onInit(e);}e._onUpdate=f,e._initted=(!e._op||e._pt)&&!se,g&&t<=0&&T.render(wr,true,true);},"_initTween"),nh=l(function(e,t,r,i,n,s,o,c){var f=(e._pt&&e._ptCache||(e._ptCache={}))[t],h,p,g,u;if(!f)for(f=e._ptCache[t]=[],g=e._ptLookup,u=e._targets.length;u--;){if(h=g[u][t],h&&h.d&&h.d._pt)for(h=h.d._pt;h&&h.p!==t&&h.fp!==t;)h=h._next;if(!h)return Js=1,e.vars[t]="+=0",ga(e,o),Js=0,c?Gn(t+" not eligible for reset. Try splitting into individual properties"):1;f.push(h);}for(u=f.length;u--;)p=f[u],h=p._pt||p,h.s=(i||i===0)&&!n?i:h.s+(i||0)+s*h.c,h.c=r-h.s,p.e&&(p.e=ut(r)+Lt(p.e)),p.b&&(p.b=h.s+Lt(p.b));},"_updatePropTweens"),oh=l(function(e,t){var r=e[0]?ci(e[0]).harness:0,i=r&&r.aliases,n,s,o,c;if(!i)return t;n=on({},t);for(s in i)if(s in n)for(c=i[s].split(","),o=c.length;o--;)n[c[o]]=n[s];return n},"_addAliasesToVars"),sh=l(function(e,t,r,i){var n=t.ease||i||"power1.inOut",s,o;if(It(t))o=r[e]||(r[e]=[]),t.forEach(function(c,f){return o.push({t:f/(t.length-1)*100,v:c,e:n})});else for(s in t)o=r[s]||(r[s]=[]),s==="ease"||o.push({t:parseFloat(e),v:t[s],e:n});},"_parseKeyframe"),Vn=l(function(e,t,r,i,n){return lt(e)?e.call(t,r,i,n):yt(e)&&~e.indexOf("random(")?un(e):e},"_parseFuncOrString"),nu=aa+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",ou={};Ut(nu+",id,stagger,delay,duration,paused,scrollTrigger",function(a){return ou[a]=1});var ht=(function(a){Dl(e,a);function e(r,i,n,s){var o;typeof i=="number"&&(n.duration=i,i=n,n=null),o=a.call(this,s?i:Xn(i))||this;var c=o.vars,f=c.duration,h=c.delay,p=c.immediateRender,g=c.stagger,u=c.overwrite,m=c.keyframes,d=c.defaults,_=c.scrollTrigger,y=i.parent||st,v=(It(r)||Al(r)?Gr(r[0]):"length"in i)?[r]:Tr(r),k,T,x,O,S,C,D,L;if(o._targets=v.length?la(v):Gn("GSAP target "+r+" not found. https://gsap.com",!sr.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=u,m||g||zo(f)||zo(h)){i=o.vars;var H=i.easeReverse||i.yoyoEase;if(k=o.timeline=new Ft({data:"nested",defaults:d||{},targets:y&&y.data==="nested"?y.vars.targets:v}),k.kill(),k.parent=k._dp=Vr(o),k._start=0,g||zo(f)||zo(h)){if(O=v.length,D=g&&jl(g),Fr(g))for(S in g)~nu.indexOf(S)&&(L||(L={}),L[S]=g[S]);for(T=0;T<O;T++)x=Xo(i,ou),x.stagger=0,H&&(x.easeReverse=H),L&&on(x,L),C=v[T],x.duration=+Vn(f,Vr(o),T,C,v),x.delay=(+Vn(h,Vr(o),T,C,v)||0)-o._delay,!g&&O===1&&x.delay&&(o._delay=h=x.delay,o._start+=h,x.delay=0),k.to(C,x,D?D(T,C,v):0),k._ease=De.none;k.duration()?f=h=0:o.timeline=0;}else if(m){Xn(fr(k.vars.defaults,{ease:"none"})),k._ease=Ri(m.ease||i.ease||"none");var N=0,z,X,K;if(It(m))m.forEach(function(G){return k.to(v,G,">")}),k.duration();else {x={};for(S in m)S==="ease"||S==="easeEach"||sh(S,m[S],x,m.easeEach);for(S in x)for(z=x[S].sort(function(G,V){return G.t-V.t}),N=0,T=0;T<z.length;T++)X=z[T],K={ease:X.e,duration:(X.t-(T?z[T-1].t:0))/100*f},K[S]=X.v,k.to(v,K,N),N+=K.duration;k.duration()<f&&k.to({},{duration:f-k.duration()});}}f||o.duration(f=k.duration());}else o.timeline=0;return u===true&&!ta&&(li=Vr(o),st.killTweensOf(v),li=0),Hr(y,Vr(o),n),i.reversed&&o.reverse(),i.paused&&o.paused(true),(p||!f&&!m&&o._start===ot(y._time)&&or(p)&&zf(Vr(o))&&y.data!=="nested")&&(o._tTime=-et,o.render(Math.max(0,-h)||0)),_&&Vl(Vr(o),_),o}l(e,"Tween");var t=e.prototype;return t.render=l(function(i,n,s){var o=this._time,c=this._tDur,f=this._dur,h=i<0,p=i>c-et&&!h?c:i<et?0:i,g,u,m,d,_,y,v,k;if(!f)Ff(this,i,n,s);else if(p!==this._tTime||!i||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==h||this._lazy){if(g=p,k=this.timeline,this._repeat){if(d=f+this._rDelay,this._repeat<-1&&h)return this.totalTime(d*100+i,n,s);if(g=ot(p%d),p===c?(m=this._repeat,g=f):(_=ot(p/d),m=~~_,m&&m===_?(g=f,m--):g>f&&(g=f)),y=this._yoyo&&m&1,y&&(g=f-g),_=sn(this._tTime,d),g===o&&!s&&this._initted&&m===_)return this._tTime=p,this;m!==_&&this.vars.repeatRefresh&&!y&&!this._lock&&g!==d&&this._initted&&(this._lock=s=1,this.render(ot(d*m),true).invalidate()._lock=0);}if(!this._initted){if(ql(this,h?i:g,s,n,p))return this._tTime=0,this;if(o!==this._time&&!(s&&this.vars.repeatRefresh&&m!==_))return this;if(f!==this._dur)return this.render(i,n,s)}if(this._rEase){var T=g<o;if(T!==this._inv){var x=T?o:f-o;this._inv=T,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=o,this._invRecip=x?(T?-1:1)/x:0,this._invScale=T?-this.ratio:1-this.ratio,this._invEase=T?this._rEase:this._ease;}this.ratio=v=this._invRatio+this._invScale*this._invEase((g-this._invTime)*this._invRecip);}else this.ratio=v=this._ease(g/f);if(this._from&&(this.ratio=v=1-v),this._tTime=p,this._time=g,!this._act&&this._ts&&(this._act=1,this._lazy=0),!o&&p&&!n&&!_&&(ur(this,"onStart"),this._tTime!==p))return this;for(u=this._pt;u;)u.r(v,u.d),u=u._next;k&&k.render(i<0?i:k._dur*k._ease(g/this._dur),n,s)||this._startAt&&(this._zTime=i),this._onUpdate&&!n&&(h&&js(this,i,n,s),ur(this,"onUpdate")),this._repeat&&m!==_&&this.vars.onRepeat&&!n&&this.parent&&ur(this,"onRepeat"),(p===this._tDur||!p)&&this._tTime===p&&(h&&!this._onUpdate&&js(this,i,true,true),(i||!f)&&(p===this._tDur&&this._ts>0||!p&&this._ts<0)&&fi(this,1),!n&&!(h&&!o)&&(p||o||y)&&(ur(this,p===c?"onComplete":"onReverseComplete",true),this._prom&&!(p<c&&this.timeScale()>0)&&this._prom()));}return this},"render"),t.targets=l(function(){return this._targets},"targets"),t.invalidate=l(function(i){return (!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),a.prototype.invalidate.call(this,i)},"invalidate"),t.resetTo=l(function(i,n,s,o,c){jn||nr.wake(),this._ts||this.play();var f=Math.min(this._dur,(this._dp._time-this._start)*this._ts),h;return this._initted||ga(this,f),h=this._ease(f/this._dur),nh(this,i,n,s,o,h,f,c)?this.resetTo(i,n,s,o,1):(Ko(this,0),this.parent||Xl(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},"resetTo"),t.kill=l(function(i,n){if(n===void 0&&(n="all"),!i&&(!n||n==="all"))return this._lazy=this._pt=0,this.parent?Bn(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Ot),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(i,n,li&&li.vars.overwrite!==true)._first||Bn(this),this.parent&&s!==this.timeline.totalDuration()&&an(this,this._dur*this.timeline._tDur/s,0,1),this}var o=this._targets,c=i?Tr(i):o,f=this._ptLookup,h=this._pt,p,g,u,m,d,_,y;if((!n||n==="all")&&Af(o,c))return n==="all"&&(this._pt=0),Bn(this);for(p=this._op=this._op||[],n!=="all"&&(yt(n)&&(d={},Ut(n,function(v){return d[v]=1}),n=d),n=oh(o,n)),y=o.length;y--;)if(~c.indexOf(o[y])){g=f[y],n==="all"?(p[y]=n,m=g,u={}):(u=p[y]=p[y]||{},m=n);for(d in m)_=g&&g[d],_&&((!("kill"in _.d)||_.d.kill(d)===true)&&Uo(this,_,"_pt"),delete g[d]),u!=="all"&&(u[d]=1);}return this._initted&&!this._pt&&h&&Bn(this),this},"kill"),e.to=l(function(i,n){return new e(i,n,arguments[2])},"to"),e.from=l(function(i,n){return Wn(1,arguments)},"from"),e.delayedCall=l(function(i,n,s,o){return new e(n,0,{immediateRender:false,lazy:false,overwrite:false,delay:i,onComplete:n,onReverseComplete:n,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:o})},"delayedCall"),e.fromTo=l(function(i,n,s){return Wn(2,arguments)},"fromTo"),e.set=l(function(i,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new e(i,n)},"set"),e.killTweensOf=l(function(i,n,s){return st.killTweensOf(i,n,s)},"killTweensOf"),e})(Kn);fr(ht.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Ut("staggerTo,staggerFrom,staggerFromTo",function(a){ht[a]=function(){var e=new Ft,t=Qs.call(arguments,0);return t.splice(a==="staggerFromTo"?5:4,0,0),e[a].apply(e,t)};});var ma=l(function(e,t,r){return e[t]=r},"_setterPlain"),su=l(function(e,t,r){return e[t](r)},"_setterFunc"),ah=l(function(e,t,r,i){return e[t](i.fp,r)},"_setterFuncWithParam"),lh=l(function(e,t,r){return e.setAttribute(t,r)},"_setterAttribute"),Qo=l(function(e,t){return lt(e[t])?su:qo(e[t])&&e.setAttribute?lh:ma},"_getSetter"),au=l(function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},"_renderPlain"),uh=l(function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},"_renderBoolean"),_a=l(function(e,t){var r=t._pt,i="";if(!e&&t.b)i=t.b;else if(e===1&&t.e)i=t.e;else {for(;r;)i=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+i,r=r._next;i+=t.c;}t.set(t.t,t.p,i,t);},"_renderComplexString"),ya=l(function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next;},"_renderPropTweens"),ch=l(function(e,t,r,i){for(var n=this._pt,s;n;)s=n._next,n.p===i&&n.modifier(e,t,r),n=s;},"_addPluginModifier"),fh=l(function(e){for(var t=this._pt,r,i;t;)i=t._next,t.p===e&&!t.op||t.op===e?Uo(this,t,"_pt"):t.dep||(r=1),t=i;return !r},"_killPropTweensOf"),hh=l(function(e,t,r,i){i.mSet(e,t,i.m.call(i.tween,r,i.mt),i);},"_setterWithModifier"),va=l(function(e){for(var t=e._pt,r,i,n,s;t;){for(r=t._next,i=n;i&&i.pr>t.pr;)i=i._next;(t._prev=i?i._prev:s)?t._prev._next=t:n=t,(t._next=i)?i._prev=t:s=t,t=r;}e._pt=n;},"_sortPropTweensByPriority"),jt=(function(){function a(t,r,i,n,s,o,c,f,h){this.t=r,this.s=n,this.c=s,this.p=i,this.r=o||au,this.d=c||this,this.set=f||ma,this.pr=h||0,this._next=t,t&&(t._prev=this);}l(a,"PropTween");var e=a.prototype;return e.modifier=l(function(r,i,n){this.mSet=this.mSet||this.set,this.set=hh,this.m=r,this.mt=n,this.tween=i;},"modifier"),a})();Ut(aa+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse",function(a){return sa[a]=1});cr.TweenMax=cr.TweenLite=ht;cr.TimelineLite=cr.TimelineMax=Ft;st=new Ft({sortChildren:false,defaults:qn,autoRemoveChildren:true,id:"root",smoothChildTiming:true});sr.stringFilter=fa;var Ai=[],Io={},dh=[],Ll=0,ph=0,Ws=l(function(e){return (Io[e]||dh).map(function(t){return t()})},"_dispatch"),ea=l(function(){var e=Date.now(),t=[];e-Ll>2&&(Ws("matchMediaInit"),Ai.forEach(function(r){var i=r.queries,n=r.conditions,s,o,c,f;for(o in i)s=zr.matchMedia(i[o]).matches,s&&(c=1),s!==n[o]&&(n[o]=s,f=1);f&&(r.revert(),c&&t.push(r));}),Ws("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(i){return r.add(null,i)})}),Ll=e,Ws("matchMedia"));},"_onMediaChange"),lu=(function(){function a(t,r){this.selector=r&&$s(r),this.data=[],this._r=[],this.isReverted=false,this.id=ph++,t&&this.add(t);}l(a,"Context");var e=a.prototype;return e.add=l(function(r,i,n){lt(r)&&(n=i,i=r,r=lt);var s=this,o=l(function(){var f=nt,h=s.selector,p;return f&&f!==s&&f.data.push(s),n&&(s.selector=$s(n)),nt=s,p=i.apply(s,arguments),lt(p)&&s._r.push(p),nt=f,s.selector=h,s.isReverted=false,p},"f");return s.last=o,r===lt?o(s,function(c){return s.add(null,c)}):r?s[r]=o:o},"add"),e.ignore=l(function(r){var i=nt;nt=null,r(this),nt=i;},"ignore"),e.getTweens=l(function(){var r=[];return this.data.forEach(function(i){return i instanceof a?r.push.apply(r,i.getTweens()):i instanceof ht&&!(i.parent&&i.parent.data==="nested")&&r.push(i)}),r},"getTweens"),e.clear=l(function(){this._r.length=this.data.length=0;},"clear"),e.kill=l(function(r,i){var n=this;if(r?(function(){for(var o=n.getTweens(),c=n.data.length,f;c--;)f=n.data[c],f.data==="isFlip"&&(f.revert(),f.getChildren(true,true,false).forEach(function(h){return o.splice(o.indexOf(h),1)}));for(o.map(function(h){return {g:h._dur||h._delay||h._sat&&!h._sat.vars.immediateRender?h.globalTime(0):-1/0,t:h}}).sort(function(h,p){return p.g-h.g||-1/0}).forEach(function(h){return h.t.revert(r)}),c=n.data.length;c--;)f=n.data[c],f instanceof Ft?f.data!=="nested"&&(f.scrollTrigger&&f.scrollTrigger.revert(),f.kill()):!(f instanceof ht)&&f.revert&&f.revert(r);n._r.forEach(function(h){return h(r,n)}),n.isReverted=true;})():this.data.forEach(function(o){return o.kill&&o.kill()}),this.clear(),i)for(var s=Ai.length;s--;)Ai[s].id===this.id&&Ai.splice(s,1);},"kill"),e.revert=l(function(r){this.kill(r||{});},"revert"),a})(),gh=(function(){function a(t){this.contexts=[],this.scope=t,nt&&nt.data.push(this);}l(a,"MatchMedia");var e=a.prototype;return e.add=l(function(r,i,n){Fr(r)||(r={matches:r});var s=new lu(0,n||this.scope),o=s.conditions={},c,f,h;nt&&!s.selector&&(s.selector=nt.selector),this.contexts.push(s),i=s.add("onMatch",i),s.queries=r;for(f in r)f==="all"?h=1:(c=zr.matchMedia(r[f]),c&&(Ai.indexOf(s)<0&&Ai.push(s),(o[f]=c.matches)&&(h=1),c.addListener?c.addListener(ea):c.addEventListener("change",ea)));return h&&i(s,function(p){return s.add(null,p)}),this},"add"),e.revert=l(function(r){this.kill(r||{});},"revert"),e.kill=l(function(r){this.contexts.forEach(function(i){return i.kill(r,true)});},"kill"),a})(),Vo={registerPlugin:l(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(function(i){return eu(i)});},"registerPlugin"),timeline:l(function(e){return new Ft(e)},"timeline"),getTweensOf:l(function(e,t){return st.getTweensOf(e,t)},"getTweensOf"),getProperty:l(function(e,t,r,i){yt(e)&&(e=Tr(e)[0]);var n=ci(e||{}).get,s=r?Yl:Bl;return r==="native"&&(r=""),e&&(t?s((ir[t]&&ir[t].get||n)(e,t,r,i)):function(o,c,f){return s((ir[o]&&ir[o].get||n)(e,o,c,f))})},"getProperty"),quickSetter:l(function(e,t,r){if(e=Tr(e),e.length>1){var i=e.map(function(h){return Bt.quickSetter(h,t,r)}),n=i.length;return function(h){for(var p=n;p--;)i[p](h);}}e=e[0]||{};var s=ir[t],o=ci(e),c=o.harness&&(o.harness.aliases||{})[t]||t,f=s?function(h){var p=new s;nn._pt=0,p.init(e,r?h+r:h,nn,0,[e]),p.render(1,p),nn._pt&&ya(1,nn);}:o.set(e,c);return s?f:function(h){return f(e,c,r?h+r:h,o,1)}},"quickSetter"),quickTo:l(function(e,t,r){var i,n=Bt.to(e,fr((i={},i[t]="+=0.1",i.paused=true,i.stagger=0,i),r||{})),s=l(function(c,f,h){return n.resetTo(t,c,f,h)},"func");return s.tween=n,s},"quickTo"),isTweening:l(function(e){return st.getTweensOf(e,true).length>0},"isTweening"),defaults:l(function(e){return e&&e.ease&&(e.ease=Ri(e.ease,qn.ease)),kl(qn,e||{})},"defaults"),config:l(function(e){return kl(sr,e||{})},"config"),registerEffect:l(function(e){var t=e.name,r=e.effect,i=e.plugins,n=e.defaults,s=e.extendTimeline;(i||"").split(",").forEach(function(o){return o&&!ir[o]&&!cr[o]&&Gn(t+" effect requires "+o+" plugin.")}),Is[t]=function(o,c,f){return r(Tr(o),fr(c||{},n),f)},s&&(Ft.prototype[t]=function(o,c,f){return this.add(Is[t](o,Fr(c)?c:(f=c)&&{},this),f)});},"registerEffect"),registerEase:l(function(e,t){De[e]=Ri(t);},"registerEase"),parseEase:l(function(e,t){return arguments.length?Ri(e,t):De},"parseEase"),getById:l(function(e){return st.getById(e)},"getById"),exportRoot:l(function(e,t){e===void 0&&(e={});var r=new Ft(e),i,n;for(r.smoothChildTiming=or(e.smoothChildTiming),st.remove(r),r._dp=0,r._time=r._tTime=st._time,i=st._first;i;)n=i._next,(t||!(!i._dur&&i instanceof ht&&i.vars.onComplete===i._targets[0]))&&Hr(r,i,i._start-i._delay),i=n;return Hr(st,r,0),r},"exportRoot"),context:l(function(e,t){return e?new lu(e,t):nt},"context"),matchMedia:l(function(e){return new gh(e)},"matchMedia"),matchMediaRefresh:l(function(){return Ai.forEach(function(e){var t=e.conditions,r,i;for(i in t)t[i]&&(t[i]=false,r=1);r&&e.revert();})||ea()},"matchMediaRefresh"),addEventListener:l(function(e,t){var r=Io[e]||(Io[e]=[]);~r.indexOf(t)||r.push(t);},"addEventListener"),removeEventListener:l(function(e,t){var r=Io[e],i=r&&r.indexOf(t);i>=0&&r.splice(i,1);},"removeEventListener"),utils:{wrap:Gf,wrapYoyo:Uf,distribute:jl,random:Ql,snap:Kl,normalize:qf,getUnit:Lt,clamp:Yf,splitColor:tu,toArray:Tr,selector:$s,mapRange:Zl,pipe:Wf,unitize:Vf,interpolate:jf,shuffle:Ul},install:zl,effects:Is,ticker:nr,updateRoot:Ft.updateRoot,plugins:ir,globalTimeline:st,core:{PropTween:jt,globals:Hl,Tween:ht,Timeline:Ft,Animation:Kn,getCache:ci,_removeLinkedListItem:Uo,reverting:l(function(){return Ot},"reverting"),context:l(function(e){return e&&nt&&(nt.data.push(e),e._ctx=nt),nt},"context"),suppressOverwrites:l(function(e){return ta=e},"suppressOverwrites")}};Ut("to,from,fromTo,delayedCall,set,killTweensOf",function(a){return Vo[a]=ht[a]});nr.add(Ft.updateRoot);nn=Vo.to({},{duration:0});var mh=l(function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},"_getPluginPropTween"),_h=l(function(e,t){var r=e._targets,i,n,s;for(i in t)for(n=r.length;n--;)s=e._ptLookup[n][i],s&&(s=s.d)&&(s._pt&&(s=mh(s,i)),s&&s.modifier&&s.modifier(t[i],e,r[n],i));},"_addModifiers"),Vs=l(function(e,t){return {name:e,headless:1,rawVars:1,init:l(function(i,n,s){s._onInit=function(o){var c,f;if(yt(n)&&(c={},Ut(n,function(h){return c[h]=1}),n=c),t){c={};for(f in n)c[f]=t(n[f]);n=c;}_h(o,n);};},"init")}},"_buildModifierPlugin"),Bt=Vo.registerPlugin({name:"attr",init:l(function(e,t,r,i,n){var s,o,c;this.tween=r;for(s in t)c=e.getAttribute(s)||"",o=this.add(e,"setAttribute",(c||0)+"",t[s],i,n,0,0,s),o.op=s,o.b=c,this._props.push(s);},"init"),render:l(function(e,t){for(var r=t._pt;r;)Ot?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next;},"render")},{name:"endArray",headless:1,init:l(function(e,t){for(var r=t.length;r--;)this.add(e,r,e[r]||0,t[r],0,0,0,0,0,1);},"init")},Vs("roundProps",Zs),Vs("modifiers"),Vs("snap",Kl))||Vo;ht.version=Ft.version=Bt.version="3.15.0";Nl=1;ra()&&ln();De.Power0;De.Power1;De.Power2;De.Power3;De.Power4;De.Linear;De.Quad;De.Cubic;De.Quart;De.Quint;De.Strong;De.Elastic;De.Back;De.SteppedEase;De.Bounce;De.Sine;De.Expo;De.Circ;var uu,di,fn,Ea,Yi,cu,ka,Hh=l(function(){return typeof window<"u"},"_windowExists"),jr={},Bi=180/Math.PI,hn=Math.PI/180,cn=Math.atan2,fu=1e8,Ca=/([A-Z])/g,Fh=/(left|right|width|margin|padding|x)/i,Ih=/[\s,\(]\S/,Ir={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},wa=l(function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},"_renderCSSProp"),Bh=l(function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},"_renderPropWithEnd"),Yh=l(function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},"_renderCSSPropWithBeginning"),Xh=l(function(e,t){return t.set(t.t,t.p,e===1?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},"_renderCSSPropWithBeginningAndEnd"),Wh=l(function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-0.5:.5))+t.u,t);},"_renderRoundedCSSProp"),vu=l(function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},"_renderNonTweeningValue"),xu=l(function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},"_renderNonTweeningValueOnlyAtEnd"),Vh=l(function(e,t,r){return e.style[t]=r},"_setterCSSStyle"),qh=l(function(e,t,r){return e.style.setProperty(t,r)},"_setterCSSProp"),Gh=l(function(e,t,r){return e._gsap[t]=r},"_setterTransform"),Uh=l(function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},"_setterScale"),jh=l(function(e,t,r,i,n){var s=e._gsap;s.scaleX=s.scaleY=r,s.renderTransform(n,s);},"_setterScaleWithRender"),Kh=l(function(e,t,r,i,n){var s=e._gsap;s[t]=r,s.renderTransform(n,s);},"_setterTransformWithRender"),at="transform",ar=at+"Origin",Qh=l(function a(e,t){var r=this,i=this.target,n=i.style,s=i._gsap;if(e in jr&&n){if(this.tfm=this.tfm||{},e!=="transform")e=Ir[e]||e,~e.indexOf(",")?e.split(",").forEach(function(o){return r.tfm[o]=Ur(i,o)}):this.tfm[e]=s.x?s[e]:Ur(i,e),e===ar&&(this.tfm.zOrigin=s.zOrigin);else return Ir.transform.split(",").forEach(function(o){return a.call(r,o,t)});if(this.props.indexOf(at)>=0)return;s.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(ar,t,"")),e=at;}(n||t)&&this.props.push(e,t,n[e]);},"_saveStyle"),wu=l(function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"));},"_removeIndependentTransforms"),$h=l(function(){var e=this.props,t=this.target,r=t.style,i=t._gsap,n,s;for(n=0;n<e.length;n+=3)e[n+1]?e[n+1]===2?t[e[n]](e[n+2]):t[e[n]]=e[n+2]:e[n+2]?r[e[n]]=e[n+2]:r.removeProperty(e[n].substr(0,2)==="--"?e[n]:e[n].replace(Ca,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)i[s]=this.tfm[s];i.svg&&(i.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),n=ka(),(!n||!n.isStart)&&!r[at]&&(wu(r),i.zOrigin&&r[ar]&&(r[ar]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1);}},"_revertStyle"),Tu=l(function(e,t){var r={target:e,props:[],revert:$h,save:Qh};return e._gsap||Bt.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(i){return r.save(i)}),r},"_getStyleSaver"),bu,Ta=l(function(e,t){var r=di.createElementNS?di.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):di.createElement(e);return r&&r.style?r:di.createElement(e)},"_createElement"),hr=l(function a(e,t,r){var i=getComputedStyle(e);return i[t]||i.getPropertyValue(t.replace(Ca,"-$1").toLowerCase())||i.getPropertyValue(t)||!r&&a(e,dn(t)||t,1)||""},"_getComputedProperty"),hu="O,Moz,ms,Ms,Webkit".split(","),dn=l(function(e,t,r){var i=t||Yi,n=i.style,s=5;if(e in n&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(hu[s]+e in n););return s<0?null:(s===3?"ms":s>=0?hu[s]:"")+e},"_checkPropPrefix"),ba=l(function(){Hh()&&window.document&&(uu=window,di=uu.document,fn=di.documentElement,Yi=Ta("div")||{style:{}},Ta("div"),at=dn(at),ar=at+"Origin",Yi.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",bu=!!dn("perspective"),ka=Bt.core.reverting,Ea=1);},"_initCore"),du=l(function(e){var t=e.ownerSVGElement,r=Ta("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(true),n;i.style.display="block",r.appendChild(i),fn.appendChild(r);try{n=i.getBBox();}catch{}return r.removeChild(i),fn.removeChild(r),n},"_getReparentedCloneBBox"),pu=l(function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},"_getAttributeFallbacks"),Su=l(function(e){var t,r;try{t=e.getBBox();}catch{t=du(e),r=1;}return t&&(t.width||t.height)||r||(t=du(e)),t&&!t.width&&!t.x&&!t.y?{x:+pu(e,["x","cx","x1"])||0,y:+pu(e,["y","cy","y1"])||0,width:0,height:0}:t},"_getBBox"),Eu=l(function(e){return !!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Su(e))},"_isSVG"),gi=l(function(e,t){if(t){var r=e.style,i;t in jr&&t!==ar&&(t=at),r.removeProperty?(i=t.substr(0,2),(i==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(i==="--"?t:t.replace(Ca,"-$1").toLowerCase())):r.removeAttribute(t);}},"_removeProperty"),pi=l(function(e,t,r,i,n,s){var o=new jt(e._pt,t,r,0,1,s?xu:vu);return e._pt=o,o.b=i,o.e=n,e._props.push(r),o},"_addNonTweeningPT"),gu={deg:1,rad:1,turn:1},Zh={grid:1,flex:1},mi=l(function a(e,t,r,i){var n=parseFloat(r)||0,s=(r+"").trim().substr((n+"").length)||"px",o=Yi.style,c=Fh.test(t),f=e.tagName.toLowerCase()==="svg",h=(f?"client":"offset")+(c?"Width":"Height"),p=100,g=i==="px",u=i==="%",m,d,_,y;if(i===s||!n||gu[i]||gu[s])return n;if(s!=="px"&&!g&&(n=a(e,t,r,"px")),y=e.getCTM&&Eu(e),(u||s==="%")&&(jr[t]||~t.indexOf("adius")))return m=y?e.getBBox()[c?"width":"height"]:e[h],ut(u?n/m*p:n/100*m);if(o[c?"width":"height"]=p+(g?s:i),d=i!=="rem"&&~t.indexOf("adius")||i==="em"&&e.appendChild&&!f?e:e.parentNode,y&&(d=(e.ownerSVGElement||{}).parentNode),(!d||d===di||!d.appendChild)&&(d=di.body),_=d._gsap,_&&u&&_.width&&c&&_.time===nr.time&&!_.uncache)return ut(n/_.width*p);if(u&&(t==="height"||t==="width")){var v=e.style[t];e.style[t]=p+i,m=e[h],v?e.style[t]=v:gi(e,t);}else (u||s==="%")&&!Zh[hr(d,"display")]&&(o.position=hr(e,"position")),d===e&&(o.position="static"),d.appendChild(Yi),m=Yi[h],d.removeChild(Yi),o.position="absolute";return c&&u&&(_=ci(d),_.time=nr.time,_.width=d[h]),ut(g?m*n/p:m&&n?p/m*n:0)},"_convertToUnit"),Ur=l(function(e,t,r,i){var n;return Ea||ba(),t in Ir&&t!=="transform"&&(t=Ir[t],~t.indexOf(",")&&(t=t.split(",")[0])),jr[t]&&t!=="transform"?(n=Jn(e,i),n=t!=="transformOrigin"?n[t]:n.svg?n.origin:Zo(hr(e,ar))+" "+n.zOrigin+"px"):(n=e.style[t],(!n||n==="auto"||i||~(n+"").indexOf("calc("))&&(n=$o[t]&&$o[t](e,t,r)||hr(e,t)||ua(e,t)||(t==="opacity"?1:0))),r&&!~(n+"").trim().indexOf(" ")?mi(e,t,n,r)+r:n},"_get"),Jh=l(function(e,t,r,i){if(!r||r==="none"){var n=dn(t,e,1),s=n&&hr(e,n,1);s&&s!==r?(t=n,r=s):t==="borderColor"&&(r=hr(e,"borderTopColor"));}var o=new jt(this._pt,e.style,t,0,1,_a),c=0,f=0,h,p,g,u,m,d,_,y,v,k,T,x;if(o.b=r,o.e=i,r+="",i+="",i.substring(0,6)==="var(--"&&(i=hr(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(d=e.style[t],e.style[t]=i,i=hr(e,t)||i,d?e.style[t]=d:gi(e,t)),h=[r,i],fa(h),r=h[0],i=h[1],g=r.match(Ni)||[],x=i.match(Ni)||[],x.length){for(;p=Ni.exec(i);)_=p[0],v=i.substring(c,p.index),m?m=(m+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(m=1),_!==(d=g[f++]||"")&&(u=parseFloat(d)||0,T=d.substr((u+"").length),_.charAt(1)==="="&&(_=zi(u,_)+T),y=parseFloat(_),k=_.substr((y+"").length),c=Ni.lastIndex-k.length,k||(k=k||sr.units[t]||T,c===i.length&&(i+=k,o.e+=k)),T!==k&&(u=mi(e,t,d,k)||0),o._pt={_next:o._pt,p:v||f===1?v:",",s:u,c:y-u,m:m&&m<4||t==="zIndex"?Math.round:0});o.c=c<i.length?i.substring(c,i.length):"";}else o.r=t==="display"&&i==="none"?xu:vu;return na.test(i)&&(o.e=0),this._pt=o,o},"_tweenComplexCSSString"),mu={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},ed=l(function(e){var t=e.split(" "),r=t[0],i=t[1]||"50%";return (r==="top"||r==="bottom"||i==="left"||i==="right")&&(e=r,r=i,i=e),t[0]=mu[r]||r,t[1]=mu[i]||i,t.join(" ")},"_convertKeywordsToPercentages"),td=l(function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,i=r.style,n=t.u,s=r._gsap,o,c,f;if(n==="all"||n===true)i.cssText="",c=1;else for(n=n.split(","),f=n.length;--f>-1;)o=n[f],jr[o]&&(c=1,o=o==="transformOrigin"?ar:at),gi(r,o);c&&(gi(r,at),s&&(s.svg&&r.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",Jn(r,1),s.uncache=1,wu(i)));}},"_renderClearProps"),$o={clearProps:l(function(e,t,r,i,n){if(n.data!=="isFromStart"){var s=e._pt=new jt(e._pt,t,r,0,0,td);return s.u=i,s.pr=-10,s.tween=n,e._props.push(r),1}},"clearProps")},Zn=[1,0,0,1,0,0],ku={},Cu=l(function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},"_isNullTransform"),_u=l(function(e){var t=hr(e,at);return Cu(t)?Zn:t.substr(7).match(ia).map(ut)},"_getComputedTransformMatrixAsArray"),Ma=l(function(e,t){var r=e._gsap||ci(e),i=e.style,n=_u(e),s,o,c,f;return r.svg&&e.getAttribute("transform")?(c=e.transform.baseVal.consolidate().matrix,n=[c.a,c.b,c.c,c.d,c.e,c.f],n.join(",")==="1,0,0,1,0,0"?Zn:n):(n===Zn&&!e.offsetParent&&e!==fn&&!r.svg&&(c=i.display,i.display="block",s=e.parentNode,(!s||!e.offsetParent&&!e.getBoundingClientRect().width)&&(f=1,o=e.nextElementSibling,fn.appendChild(e)),n=_u(e),c?i.display=c:gi(e,"display"),f&&(o?s.insertBefore(e,o):s?s.appendChild(e):fn.removeChild(e))),t&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},"_getMatrix"),Sa=l(function(e,t,r,i,n,s){var o=e._gsap,c=n||Ma(e,true),f=o.xOrigin||0,h=o.yOrigin||0,p=o.xOffset||0,g=o.yOffset||0,u=c[0],m=c[1],d=c[2],_=c[3],y=c[4],v=c[5],k=t.split(" "),T=parseFloat(k[0])||0,x=parseFloat(k[1])||0,O,S,C,D;r?c!==Zn&&(S=u*_-m*d)&&(C=T*(_/S)+x*(-d/S)+(d*v-_*y)/S,D=T*(-m/S)+x*(u/S)-(u*v-m*y)/S,T=C,x=D):(O=Su(e),T=O.x+(~k[0].indexOf("%")?T/100*O.width:T),x=O.y+(~(k[1]||k[0]).indexOf("%")?x/100*O.height:x)),i||i!==false&&o.smooth?(y=T-f,v=x-h,o.xOffset=p+(y*u+v*d)-y,o.yOffset=g+(y*m+v*_)-v):o.xOffset=o.yOffset=0,o.xOrigin=T,o.yOrigin=x,o.smooth=!!i,o.origin=t,o.originIsAbsolute=!!r,e.style[ar]="0px 0px",s&&(pi(s,o,"xOrigin",f,T),pi(s,o,"yOrigin",h,x),pi(s,o,"xOffset",p,o.xOffset),pi(s,o,"yOffset",g,o.yOffset)),e.setAttribute("data-svg-origin",T+" "+x);},"_applySVGOrigin"),Jn=l(function(e,t){var r=e._gsap||new ha(e);if("x"in r&&!t&&!r.uncache)return r;var i=e.style,n=r.scaleX<0,s="px",o="deg",c=getComputedStyle(e),f=hr(e,ar)||"0",h,p,g,u,m,d,_,y,v,k,T,x,O,S,C,D,L,H,N,z,X,K,G,V,se,ie,b,$,ae,ue,ne,Oe;return h=p=g=d=_=y=v=k=T=0,u=m=1,r.svg=!!(e.getCTM&&Eu(e)),c.translate&&((c.translate!=="none"||c.scale!=="none"||c.rotate!=="none")&&(i[at]=(c.translate!=="none"?"translate3d("+(c.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(c.rotate!=="none"?"rotate("+c.rotate+") ":"")+(c.scale!=="none"?"scale("+c.scale.split(" ").join(",")+") ":"")+(c[at]!=="none"?c[at]:"")),i.scale=i.rotate=i.translate="none"),S=Ma(e,r.svg),r.svg&&(r.uncache?(se=e.getBBox(),f=r.xOrigin-se.x+"px "+(r.yOrigin-se.y)+"px",V=""):V=!t&&e.getAttribute("data-svg-origin"),Sa(e,V||f,!!V||r.originIsAbsolute,r.smooth!==false,S)),x=r.xOrigin||0,O=r.yOrigin||0,S!==Zn&&(H=S[0],N=S[1],z=S[2],X=S[3],h=K=S[4],p=G=S[5],S.length===6?(u=Math.sqrt(H*H+N*N),m=Math.sqrt(X*X+z*z),d=H||N?cn(N,H)*Bi:0,v=z||X?cn(z,X)*Bi+d:0,v&&(m*=Math.abs(Math.cos(v*hn))),r.svg&&(h-=x-(x*H+O*z),p-=O-(x*N+O*X))):(Oe=S[6],ue=S[7],b=S[8],$=S[9],ae=S[10],ne=S[11],h=S[12],p=S[13],g=S[14],C=cn(Oe,ae),_=C*Bi,C&&(D=Math.cos(-C),L=Math.sin(-C),V=K*D+b*L,se=G*D+$*L,ie=Oe*D+ae*L,b=K*-L+b*D,$=G*-L+$*D,ae=Oe*-L+ae*D,ne=ue*-L+ne*D,K=V,G=se,Oe=ie),C=cn(-z,ae),y=C*Bi,C&&(D=Math.cos(-C),L=Math.sin(-C),V=H*D-b*L,se=N*D-$*L,ie=z*D-ae*L,ne=X*L+ne*D,H=V,N=se,z=ie),C=cn(N,H),d=C*Bi,C&&(D=Math.cos(C),L=Math.sin(C),V=H*D+N*L,se=K*D+G*L,N=N*D-H*L,G=G*D-K*L,H=V,K=se),_&&Math.abs(_)+Math.abs(d)>359.9&&(_=d=0,y=180-y),u=ut(Math.sqrt(H*H+N*N+z*z)),m=ut(Math.sqrt(G*G+Oe*Oe)),C=cn(K,G),v=Math.abs(C)>2e-4?C*Bi:0,T=ne?1/(ne<0?-ne:ne):0),r.svg&&(V=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!Cu(hr(e,at)),V&&e.setAttribute("transform",V))),Math.abs(v)>90&&Math.abs(v)<270&&(n?(u*=-1,v+=d<=0?180:-180,d+=d<=0?180:-180):(m*=-1,v+=v<=0?180:-180)),t=t||r.uncache,r.x=h-((r.xPercent=h&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-h)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+s,r.y=p-((r.yPercent=p&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-p)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+s,r.z=g+s,r.scaleX=ut(u),r.scaleY=ut(m),r.rotation=ut(d)+o,r.rotationX=ut(_)+o,r.rotationY=ut(y)+o,r.skewX=v+o,r.skewY=k+o,r.transformPerspective=T+s,(r.zOrigin=parseFloat(f.split(" ")[2])||!t&&r.zOrigin||0)&&(i[ar]=Zo(f)),r.xOffset=r.yOffset=0,r.force3D=sr.force3D,r.renderTransform=r.svg?id:bu?Mu:rd,r.uncache=0,r},"_parseTransform"),Zo=l(function(e){return (e=e.split(" "))[0]+" "+e[1]},"_firstTwoOnly"),xa=l(function(e,t,r){var i=Lt(t);return ut(parseFloat(t)+parseFloat(mi(e,"x",r+"px",i)))+i},"_addPxTranslate"),rd=l(function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,Mu(e,t);},"_renderNon3DTransforms"),Fi="0deg",$n="0px",Ii=") ",Mu=l(function(e,t){var r=t||this,i=r.xPercent,n=r.yPercent,s=r.x,o=r.y,c=r.z,f=r.rotation,h=r.rotationY,p=r.rotationX,g=r.skewX,u=r.skewY,m=r.scaleX,d=r.scaleY,_=r.transformPerspective,y=r.force3D,v=r.target,k=r.zOrigin,T="",x=y==="auto"&&e&&e!==1||y===true;if(k&&(p!==Fi||h!==Fi)){var O=parseFloat(h)*hn,S=Math.sin(O),C=Math.cos(O),D;O=parseFloat(p)*hn,D=Math.cos(O),s=xa(v,s,S*D*-k),o=xa(v,o,-Math.sin(O)*-k),c=xa(v,c,C*D*-k+k);}_!==$n&&(T+="perspective("+_+Ii),(i||n)&&(T+="translate("+i+"%, "+n+"%) "),(x||s!==$n||o!==$n||c!==$n)&&(T+=c!==$n||x?"translate3d("+s+", "+o+", "+c+") ":"translate("+s+", "+o+Ii),f!==Fi&&(T+="rotate("+f+Ii),h!==Fi&&(T+="rotateY("+h+Ii),p!==Fi&&(T+="rotateX("+p+Ii),(g!==Fi||u!==Fi)&&(T+="skew("+g+", "+u+Ii),(m!==1||d!==1)&&(T+="scale("+m+", "+d+Ii),v.style[at]=T||"translate(0, 0)";},"_renderCSSTransforms"),id=l(function(e,t){var r=t||this,i=r.xPercent,n=r.yPercent,s=r.x,o=r.y,c=r.rotation,f=r.skewX,h=r.skewY,p=r.scaleX,g=r.scaleY,u=r.target,m=r.xOrigin,d=r.yOrigin,_=r.xOffset,y=r.yOffset,v=r.forceCSS,k=parseFloat(s),T=parseFloat(o),x,O,S,C,D;c=parseFloat(c),f=parseFloat(f),h=parseFloat(h),h&&(h=parseFloat(h),f+=h,c+=h),c||f?(c*=hn,f*=hn,x=Math.cos(c)*p,O=Math.sin(c)*p,S=Math.sin(c-f)*-g,C=Math.cos(c-f)*g,f&&(h*=hn,D=Math.tan(f-h),D=Math.sqrt(1+D*D),S*=D,C*=D,h&&(D=Math.tan(h),D=Math.sqrt(1+D*D),x*=D,O*=D)),x=ut(x),O=ut(O),S=ut(S),C=ut(C)):(x=p,C=g,O=S=0),(k&&!~(s+"").indexOf("px")||T&&!~(o+"").indexOf("px"))&&(k=mi(u,"x",s,"px"),T=mi(u,"y",o,"px")),(m||d||_||y)&&(k=ut(k+m-(m*x+d*S)+_),T=ut(T+d-(m*O+d*C)+y)),(i||n)&&(D=u.getBBox(),k=ut(k+i/100*D.width),T=ut(T+n/100*D.height)),D="matrix("+x+","+O+","+S+","+C+","+k+","+T+")",u.setAttribute("transform",D),v&&(u.style[at]=D);},"_renderSVGTransforms"),nd=l(function(e,t,r,i,n){var s=360,o=yt(n),c=parseFloat(n)*(o&&~n.indexOf("rad")?Bi:1),f=c-i,h=i+f+"deg",p,g;return o&&(p=n.split("_")[1],p==="short"&&(f%=s,f!==f%(s/2)&&(f+=f<0?s:-s)),p==="cw"&&f<0?f=(f+s*fu)%s-~~(f/s)*s:p==="ccw"&&f>0&&(f=(f-s*fu)%s-~~(f/s)*s)),e._pt=g=new jt(e._pt,t,r,i,f,Bh),g.e=h,g.u="deg",e._props.push(r),g},"_addRotationalPropTween"),yu=l(function(e,t){for(var r in t)e[r]=t[r];return e},"_assign"),od=l(function(e,t,r){var i=yu({},r._gsap),n="perspective,force3D,transformOrigin,svgOrigin",s=r.style,o,c,f,h,p,g,u,m;i.svg?(f=r.getAttribute("transform"),r.setAttribute("transform",""),s[at]=t,o=Jn(r,1),gi(r,at),r.setAttribute("transform",f)):(f=getComputedStyle(r)[at],s[at]=t,o=Jn(r,1),s[at]=f);for(c in jr)f=i[c],h=o[c],f!==h&&n.indexOf(c)<0&&(u=Lt(f),m=Lt(h),p=u!==m?mi(r,c,f,m):parseFloat(f),g=parseFloat(h),e._pt=new jt(e._pt,o,c,p,g-p,wa),e._pt.u=m||0,e._props.push(c));yu(o,i);},"_addRawTransformPTs");Ut("padding,margin,Width,Radius",function(a,e){var t="Top",r="Right",i="Bottom",n="Left",s=(e<3?[t,r,i,n]:[t+n,t+r,i+r,i+n]).map(function(o){return e<2?a+o:"border"+o+a});$o[e>1?"border"+a:a]=function(o,c,f,h,p){var g,u;if(arguments.length<4)return g=s.map(function(m){return Ur(o,m,f)}),u=g.join(" "),u.split(g[0]).length===5?g[0]:u;g=(h+"").split(" "),u={},s.forEach(function(m,d){return u[m]=g[d]=g[d]||g[(d-1)/2|0]}),o.init(c,u,p);};});var Pa={name:"css",register:ba,targetTest:l(function(e){return e.style&&e.nodeType},"targetTest"),init:l(function(e,t,r,i,n){var s=this._props,o=e.style,c=r.vars.startAt,f,h,p,g,u,m,d,_,y,v,k,T,x,O,S,C,D;Ea||ba(),this.styles=this.styles||Tu(e),C=this.styles.props,this.tween=r;for(d in t)if(d!=="autoRound"&&(h=t[d],!(ir[d]&&pa(d,t,r,i,e,n)))){if(u=typeof h,m=$o[d],u==="function"&&(h=h.call(r,i,e,n),u=typeof h),u==="string"&&~h.indexOf("random(")&&(h=un(h)),m)m(this,e,d,h,r)&&(S=1);else if(d.substr(0,2)==="--")f=(getComputedStyle(e).getPropertyValue(d)+"").trim(),h+="",qr.lastIndex=0,qr.test(f)||(_=Lt(f),y=Lt(h),y?_!==y&&(f=mi(e,d,f,y)+y):_&&(h+=_)),this.add(o,"setProperty",f,h,i,n,0,0,d),s.push(d),C.push(d,0,o[d]);else if(u!=="undefined"){if(c&&d in c?(f=typeof c[d]=="function"?c[d].call(r,i,e,n):c[d],yt(f)&&~f.indexOf("random(")&&(f=un(f)),Lt(f+"")||f==="auto"||(f+=sr.units[d]||Lt(Ur(e,d))||""),(f+"").charAt(1)==="="&&(f=Ur(e,d))):f=Ur(e,d),g=parseFloat(f),v=u==="string"&&h.charAt(1)==="="&&h.substr(0,2),v&&(h=h.substr(2)),p=parseFloat(h),d in Ir&&(d==="autoAlpha"&&(g===1&&Ur(e,"visibility")==="hidden"&&p&&(g=0),C.push("visibility",0,o.visibility),pi(this,o,"visibility",g?"inherit":"hidden",p?"inherit":"hidden",!p)),d!=="scale"&&d!=="transform"&&(d=Ir[d],~d.indexOf(",")&&(d=d.split(",")[0]))),k=d in jr,k){if(this.styles.save(d),D=h,u==="string"&&h.substring(0,6)==="var(--"){if(h=hr(e,h.substring(4,h.indexOf(")"))),h.substring(0,5)==="calc("){var L=e.style.perspective;e.style.perspective=h,h=hr(e,"perspective"),L?e.style.perspective=L:gi(e,"perspective");}p=parseFloat(h);}if(T||(x=e._gsap,x.renderTransform&&!t.parseTransform||Jn(e,t.parseTransform),O=t.smoothOrigin!==false&&x.smooth,T=this._pt=new jt(this._pt,o,at,0,1,x.renderTransform,x,0,-1),T.dep=1),d==="scale")this._pt=new jt(this._pt,x,"scaleY",x.scaleY,(v?zi(x.scaleY,v+p):p)-x.scaleY||0,wa),this._pt.u=0,s.push("scaleY",d),d+="X";else if(d==="transformOrigin"){C.push(ar,0,o[ar]),h=ed(h),x.svg?Sa(e,h,0,O,0,this):(y=parseFloat(h.split(" ")[2])||0,y!==x.zOrigin&&pi(this,x,"zOrigin",x.zOrigin,y),pi(this,o,d,Zo(f),Zo(h)));continue}else if(d==="svgOrigin"){Sa(e,h,1,O,0,this);continue}else if(d in ku){nd(this,x,d,g,v?zi(g,v+h):h);continue}else if(d==="smoothOrigin"){pi(this,x,"smooth",x.smooth,h);continue}else if(d==="force3D"){x[d]=h;continue}else if(d==="transform"){od(this,h,e);continue}}else d in o||(d=dn(d)||d);if(k||(p||p===0)&&(g||g===0)&&!Ih.test(h)&&d in o)_=(f+"").substr((g+"").length),p||(p=0),y=Lt(h)||(d in sr.units?sr.units[d]:_),_!==y&&(g=mi(e,d,f,y)),this._pt=new jt(this._pt,k?x:o,d,g,(v?zi(g,v+p):p)-g,!k&&(y==="px"||d==="zIndex")&&t.autoRound!==false?Wh:wa),this._pt.u=y||0,k&&D!==h?(this._pt.b=f,this._pt.e=D,this._pt.r=Xh):_!==y&&y!=="%"&&(this._pt.b=f,this._pt.r=Yh);else if(d in o)Jh.call(this,e,d,f,v?v+h:h);else if(d in e)this.add(e,d,f||e[d],v?v+h:h,i,n);else if(d!=="parseTransform"){Go(d,h);continue}k||(d in o?C.push(d,0,o[d]):typeof e[d]=="function"?C.push(d,2,e[d]()):C.push(d,1,f||e[d])),s.push(d);}}S&&va(this);},"init"),render:l(function(e,t){if(t.tween._time||!ka())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert();},"render"),get:Ur,aliases:Ir,getSetter:l(function(e,t,r){var i=Ir[t];return i&&i.indexOf(",")<0&&(t=i),t in jr&&t!==ar&&(e._gsap.x||Ur(e,"x"))?r&&cu===r?t==="scale"?Uh:Gh:(cu=r||{})&&(t==="scale"?jh:Kh):e.style&&!qo(e.style[t])?Vh:~t.indexOf("-")?qh:Qo(e,t)},"getSetter"),core:{_removeProperty:gi,_getMatrix:Ma}};Bt.utils.checkPrefix=dn;Bt.core.getStyleSaver=Tu;(function(a,e,t,r){var i=Ut(a+","+e+","+t,function(n){jr[n]=1;});Ut(e,function(n){sr.units[n]="deg",ku[n]=1;}),Ir[i[13]]=a+","+e,Ut(r,function(n){var s=n.split(":");Ir[s[1]]=i[s[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");Ut("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(a){sr.units[a]="px";});Bt.registerPlugin(Pa);var Y=Bt.registerPlugin(Pa)||Bt;Y.core.Tween;function Pu(a,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||false,r.configurable=true,"value"in r&&(r.writable=true),Object.defineProperty(a,r.key,r);}}l(Pu,"_defineProperties");function sd(a,e,t){return e&&Pu(a.prototype,e),t&&Pu(a,t),a}l(sd,"_createClass");var Dt,ts,dr,_i,yi,gn,Lu,Xi,mn,Du,Kr,Pr,Ru,Au=l(function(){return Dt||typeof window<"u"&&(Dt=window.gsap)&&Dt.registerPlugin&&Dt},"_getGSAP"),Nu=1,pn=[],Se=[],Or=[],to=Date.now,Oa=l(function(e,t){return t},"_bridge"),ld=l(function(){var e=mn.core,t=e.bridge||{},r=e._scrollers,i=e._proxies;r.push.apply(r,Se),i.push.apply(i,Or),Se=r,Or=i,Oa=l(function(s,o){return t[s](o)},"_bridge");},"_integrate"),$r=l(function(e,t){return ~Or.indexOf(e)&&Or[Or.indexOf(e)+1][t]},"_getProxyProp"),ro=l(function(e){return !!~Du.indexOf(e)},"_isViewport"),Qt=l(function(e,t,r,i,n){return e.addEventListener(t,r,{passive:i!==false,capture:!!n})},"_addListener"),Kt=l(function(e,t,r,i){return e.removeEventListener(t,r,!!i)},"_removeListener"),Jo="scrollLeft",es="scrollTop",La=l(function(){return Kr&&Kr.isPressed||Se.cache++},"_onScroll"),rs=l(function(e,t){var r=l(function i(n){if(n||n===0){Nu&&(dr.history.scrollRestoration="manual");var s=Kr&&Kr.isPressed;n=i.v=Math.round(n)||(Kr&&Kr.iOS?1:0),e(n),i.cacheID=Se.cache,s&&Oa("ss",n);}else (t||Se.cache!==i.cacheID||Oa("ref"))&&(i.cacheID=Se.cache,i.v=e());return i.v+i.offset},"cachingFunc");return r.offset=0,e&&r},"_scrollCacheFunc"),Yt={s:Jo,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:rs(function(a){return arguments.length?dr.scrollTo(a,pt.sc()):dr.pageXOffset||_i[Jo]||yi[Jo]||gn[Jo]||0})},pt={s:es,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Yt,sc:rs(function(a){return arguments.length?dr.scrollTo(Yt.sc(),a):dr.pageYOffset||_i[es]||yi[es]||gn[es]||0})},$t=l(function(e,t){return (t&&t._ctx&&t._ctx.selector||Dt.utils.toArray)(e)[0]||(typeof e=="string"&&Dt.config().nullTargetWarn!==false?console.warn("Element not found:",e):null)},"_getTarget"),ud=l(function(e,t){for(var r=t.length;r--;)if(t[r]===e||t[r].contains(e))return true;return false},"_isWithin"),Qr=l(function(e,t){var r=t.s,i=t.sc;ro(e)&&(e=_i.scrollingElement||yi);var n=Se.indexOf(e),s=i===pt.sc?1:2;!~n&&(n=Se.push(e)-1),Se[n+s]||Qt(e,"scroll",La);var o=Se[n+s],c=o||(Se[n+s]=rs($r(e,r),true)||(ro(e)?i:rs(function(f){return arguments.length?e[r]=f:e[r]})));return c.target=e,o||(c.smooth=Dt.getProperty(e,"scrollBehavior")==="smooth"),c},"_getScrollFunc"),is=l(function(e,t,r){var i=e,n=e,s=to(),o=s,c=t||50,f=Math.max(500,c*3),h=l(function(m,d){var _=to();d||_-s>c?(n=i,i=m,o=s,s=_):r?i+=m:i=n+(m-n)/(_-o)*(s-o);},"update"),p=l(function(){n=i=r?0:i,o=s=0;},"reset"),g=l(function(m){var d=o,_=n,y=to();return (m||m===0)&&m!==i&&h(m),s===o||y-o>f?0:(i+(r?_:-_))/((r?y:s)-d)*1e3},"getVelocity");return {update:h,reset:p,getVelocity:g}},"_getVelocityProp"),eo=l(function(e,t){return t&&!e._gsapAllow&&e.cancelable!==false&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},"_getEvent"),Ou=l(function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},"_getAbsoluteMax"),zu=l(function(){mn=Dt.core.globals().ScrollTrigger,mn&&mn.core&&ld();},"_setScrollTrigger"),Hu=l(function(e){return Dt=e||Au(),!ts&&Dt&&typeof document<"u"&&document.body&&(dr=window,_i=document,yi=_i.documentElement,gn=_i.body,Du=[dr,_i,yi,gn],Dt.utils.clamp,Ru=Dt.core.context||function(){},Xi="onpointerenter"in gn?"pointer":"mouse",Lu=ct.isTouch=dr.matchMedia&&dr.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in dr||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Pr=ct.eventTypes=("ontouchstart"in yi?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in yi?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return Nu=0},500),ts=1),mn||zu(),ts},"_initCore");Yt.op=pt;Se.cache=0;var ct=(function(){function a(t){this.init(t);}l(a,"Observer");var e=a.prototype;return e.init=l(function(r){ts||Hu(Dt)||console.warn("Please gsap.registerPlugin(Observer)"),mn||zu();var i=r.tolerance,n=r.dragMinimum,s=r.type,o=r.target,c=r.lineHeight,f=r.debounce,h=r.preventDefault,p=r.onStop,g=r.onStopDelay,u=r.ignore,m=r.wheelSpeed,d=r.event,_=r.onDragStart,y=r.onDragEnd,v=r.onDrag,k=r.onPress,T=r.onRelease,x=r.onRight,O=r.onLeft,S=r.onUp,C=r.onDown,D=r.onChangeX,L=r.onChangeY,H=r.onChange,N=r.onToggleX,z=r.onToggleY,X=r.onHover,K=r.onHoverEnd,G=r.onMove,V=r.ignoreCheck,se=r.isNormalizer,ie=r.onGestureStart,b=r.onGestureEnd,$=r.onWheel,ae=r.onEnable,ue=r.onDisable,ne=r.onClick,Oe=r.scrollSpeed,Ae=r.capture,Xe=r.allowClicks,be=r.lockAxis,rt=r.onLockAxis;this.target=o=$t(o)||yi,this.vars=r,u&&(u=Dt.utils.toArray(u)),i=i||1e-9,n=n||0,m=m||1,Oe=Oe||1,s=s||"wheel,touch,pointer",f=f!==false,c||(c=parseFloat(dr.getComputedStyle(gn).lineHeight)||22);var Ne,Qe,$e,_e,ye,le,wt,P=this,Ke=0,q=0,M=r.passive||!h&&r.passive!==false,W=Qr(o,Yt),Z=Qr(o,pt),he=W(),pe=Z(),ve=~s.indexOf("touch")&&!~s.indexOf("pointer")&&Pr[0]==="pointerdown",Fe=ro(o),de=o.ownerDocument||_i,We=[0,0,0],ze=[0,0,0],xe=0,ft=l(function(){return xe=to()},"clickCapture"),ee=l(function(R,B){return (P.event=R)&&u&&ud(R.target,u)||B&&ve&&R.pointerType!=="touch"||V&&V(R,B)},"_ignoreCheck"),vr=l(function(){P._vx.reset(),P._vy.reset(),Qe.pause(),p&&p(P);},"onStopFunc"),Et=l(function(){var R=P.deltaX=Ou(We),B=P.deltaY=Ou(ze),A=Math.abs(R)>=i,U=Math.abs(B)>=i;H&&(A||U)&&H(P,R,B,We,ze),A&&(x&&P.deltaX>0&&x(P),O&&P.deltaX<0&&O(P),D&&D(P),N&&P.deltaX<0!=Ke<0&&N(P),Ke=P.deltaX,We[0]=We[1]=We[2]=0),U&&(C&&P.deltaY>0&&C(P),S&&P.deltaY<0&&S(P),L&&L(P),z&&P.deltaY<0!=q<0&&z(P),q=P.deltaY,ze[0]=ze[1]=ze[2]=0),(_e||$e)&&(G&&G(P),$e&&(_&&$e===1&&_(P),v&&v(P),$e=0),_e=false),le&&!(le=false)&&rt&&rt(P),ye&&($(P),ye=false),Ne=0;},"update"),Tt=l(function(R,B,A){We[A]+=R,ze[A]+=B,P._vx.update(R),P._vy.update(B),f?Ne||(Ne=requestAnimationFrame(Et)):Et();},"onDelta"),Gt=l(function(R,B){be&&!wt&&(P.axis=wt=Math.abs(R)>Math.abs(B)?"x":"y",le=true),wt!=="y"&&(We[2]+=R,P._vx.update(R,true)),wt!=="x"&&(ze[2]+=B,P._vy.update(B,true)),f?Ne||(Ne=requestAnimationFrame(Et)):Et();},"onTouchOrPointerDelta"),rr=l(function(R){if(!ee(R,1)){R=eo(R,h);var B=R.clientX,A=R.clientY,U=B-P.x,I=A-P.y,Q=P.isDragging;P.x=B,P.y=A,(Q||(U||I)&&(Math.abs(P.startX-B)>=n||Math.abs(P.startY-A)>=n))&&($e||($e=Q?2:1),Q||(P.isDragging=true),Gt(U,I));}},"_onDrag"),kt=P.onPress=function(E){ee(E,1)||E&&E.button||(P.axis=wt=null,Qe.pause(),P.isPressed=true,E=eo(E),Ke=q=0,P.startX=P.x=E.clientX,P.startY=P.y=E.clientY,P._vx.reset(),P._vy.reset(),Qt(se?o:de,Pr[1],rr,M,true),P.deltaX=P.deltaY=0,k&&k(P));},fe=P.onRelease=function(E){if(!ee(E,1)){Kt(se?o:de,Pr[1],rr,true);var R=!isNaN(P.y-P.startY),B=P.isDragging,A=B&&(Math.abs(P.x-P.startX)>3||Math.abs(P.y-P.startY)>3),U=eo(E);!A&&R&&(P._vx.reset(),P._vy.reset(),h&&Xe&&Dt.delayedCall(.08,function(){if(to()-xe>300&&!E.defaultPrevented){if(E.target.click)E.target.click();else if(de.createEvent){var I=de.createEvent("MouseEvents");I.initMouseEvent("click",true,true,dr,1,U.screenX,U.screenY,U.clientX,U.clientY,false,false,false,false,0,null),E.target.dispatchEvent(I);}}})),P.isDragging=P.isGesturing=P.isPressed=false,p&&B&&!se&&Qe.restart(true),$e&&Et(),y&&B&&y(P),T&&T(P,A);}},At=l(function(R){return R.touches&&R.touches.length>1&&(P.isGesturing=true)&&ie(R,P.isDragging)},"_onGestureStart"),Ve=l(function(){return (P.isGesturing=false)||b(P)},"_onGestureEnd"),Le=l(function(R){if(!ee(R)){var B=W(),A=Z();Tt((B-he)*Oe,(A-pe)*Oe,1),he=B,pe=A,p&&Qe.restart(true);}},"onScroll"),Ze=l(function(R){if(!ee(R)){R=eo(R,h),$&&(ye=true);var B=(R.deltaMode===1?c:R.deltaMode===2?dr.innerHeight:1)*m;Tt(R.deltaX*B,R.deltaY*B,0),p&&!se&&Qe.restart(true);}},"_onWheel"),Nt=l(function(R){if(!ee(R)){var B=R.clientX,A=R.clientY,U=B-P.x,I=A-P.y;P.x=B,P.y=A,_e=true,p&&Qe.restart(true),(U||I)&&Gt(U,I);}},"_onMove"),J=l(function(R){P.event=R,X(P);},"_onHover"),w=l(function(R){P.event=R,K(P);},"_onHoverEnd"),F=l(function(R){return ee(R)||eo(R,h)&&ne(P)},"_onClick");Qe=P._dc=Dt.delayedCall(g||.25,vr).pause(),P.deltaX=P.deltaY=0,P._vx=is(0,50,true),P._vy=is(0,50,true),P.scrollX=W,P.scrollY=Z,P.isDragging=P.isGesturing=P.isPressed=false,Ru(this),P.enable=function(E){return P.isEnabled||(Qt(Fe?de:o,"scroll",La),s.indexOf("scroll")>=0&&Qt(Fe?de:o,"scroll",Le,M,Ae),s.indexOf("wheel")>=0&&Qt(o,"wheel",Ze,M,Ae),(s.indexOf("touch")>=0&&Lu||s.indexOf("pointer")>=0)&&(Qt(o,Pr[0],kt,M,Ae),Qt(de,Pr[2],fe),Qt(de,Pr[3],fe),Xe&&Qt(o,"click",ft,true,true),ne&&Qt(o,"click",F),ie&&Qt(de,"gesturestart",At),b&&Qt(de,"gestureend",Ve),X&&Qt(o,Xi+"enter",J),K&&Qt(o,Xi+"leave",w),G&&Qt(o,Xi+"move",Nt)),P.isEnabled=true,P.isDragging=P.isGesturing=P.isPressed=_e=$e=false,P._vx.reset(),P._vy.reset(),he=W(),pe=Z(),E&&E.type&&kt(E),ae&&ae(P)),P},P.disable=function(){P.isEnabled&&(pn.filter(function(E){return E!==P&&ro(E.target)}).length||Kt(Fe?de:o,"scroll",La),P.isPressed&&(P._vx.reset(),P._vy.reset(),Kt(se?o:de,Pr[1],rr,true)),Kt(Fe?de:o,"scroll",Le,Ae),Kt(o,"wheel",Ze,Ae),Kt(o,Pr[0],kt,Ae),Kt(de,Pr[2],fe),Kt(de,Pr[3],fe),Kt(o,"click",ft,true),Kt(o,"click",F),Kt(de,"gesturestart",At),Kt(de,"gestureend",Ve),Kt(o,Xi+"enter",J),Kt(o,Xi+"leave",w),Kt(o,Xi+"move",Nt),P.isEnabled=P.isPressed=P.isDragging=false,ue&&ue(P));},P.kill=P.revert=function(){P.disable();var E=pn.indexOf(P);E>=0&&pn.splice(E,1),Kr===P&&(Kr=0);},pn.push(P),se&&ro(o)&&(Kr=P),P.enable(d);},"init"),sd(a,[{key:"velocityX",get:l(function(){return this._vx.getVelocity()},"get")},{key:"velocityY",get:l(function(){return this._vy.getVelocity()},"get")}]),a})();ct.version="3.15.0";ct.create=function(a){return new ct(a)};ct.register=Hu;ct.getAll=function(){return pn.slice()};ct.getById=function(a){return pn.filter(function(e){return e.vars.id===a})[0]};Au()&&Dt.registerPlugin(ct);var te,xn,ke,je,mr,qe,qa,vs,_o,uo,no,ns,Xt,Ts,Fa,Jt,Fu,Iu,wn,tc,Da,rc,Zt,Ia,ic,nc,vi,Ba,Ga,Tn,Ua,co,Ya,Ra,os=1,Wt=Date.now,Aa=Wt(),Er=0,oo=0,Bu=l(function(e,t,r){var i=gr(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=i,i?e.substr(6,e.length-7):e},"_parseClamp"),Yu=l(function(e,t){return t&&(!gr(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},"_keepClamp"),cd=l(function a(){return oo&&requestAnimationFrame(a)},"_rafBugFix"),Xu=l(function(){return Ts=1},"_pointerDownHandler"),Wu=l(function(){return Ts=0},"_pointerUpHandler"),Br=l(function(e){return e},"_passThrough"),so=l(function(e){return Math.round(e*1e5)/1e5||0},"_round"),oc=l(function(){return typeof window<"u"},"_windowExists"),sc=l(function(){return te||oc()&&(te=window.gsap)&&te.registerPlugin&&te},"_getGSAP"),ji=l(function(e){return !!~qa.indexOf(e)},"_isViewport"),ac=l(function(e){return (e==="Height"?Ua:ke["inner"+e])||mr["client"+e]||qe["client"+e]},"_getViewportDimension"),lc=l(function(e){return $r(e,"getBoundingClientRect")||(ji(e)?function(){return ys.width=ke.innerWidth,ys.height=Ua,ys}:function(){return Zr(e)})},"_getBoundsFunc"),fd=l(function(e,t,r){var i=r.d,n=r.d2,s=r.a;return (s=$r(e,"getBoundingClientRect"))?function(){return s()[i]}:function(){return (t?ac(n):e["client"+n])||0}},"_getSizeFunc"),hd=l(function(e,t){return !t||~Or.indexOf(e)?lc(e):function(){return ys}},"_getOffsetsFunc"),Yr=l(function(e,t){var r=t.s,i=t.d2,n=t.d,s=t.a;return Math.max(0,(r="scroll"+i)&&(s=$r(e,r))?s()-lc(e)()[n]:ji(e)?(mr[r]||qe[r])-ac(i):e[r]-e["offset"+i])},"_maxScroll"),ss=l(function(e,t){for(var r=0;r<wn.length;r+=3)(!t||~t.indexOf(wn[r+1]))&&e(wn[r],wn[r+1],wn[r+2]);},"_iterateAutoRefresh"),gr=l(function(e){return typeof e=="string"},"_isString"),Vt=l(function(e){return typeof e=="function"},"_isFunction"),ao=l(function(e){return typeof e=="number"},"_isNumber"),Wi=l(function(e){return typeof e=="object"},"_isObject"),io=l(function(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()},"_endAnimation"),_n=l(function(e,t,r){if(e.enabled){var i=e._ctx?e._ctx.add(function(){return t(e,r)}):t(e,r);i&&i.totalTime&&(e.callbackAnimation=i);}},"_callback"),yn=Math.abs,uc="left",cc="top",ja="right",Ka="bottom",qi="width",Gi="height",fo="Right",ho="Left",po="Top",go="Bottom",gt="padding",br="margin",Sn="Width",Qa="Height",vt="px",Sr=l(function(e){return ke.getComputedStyle(e.nodeType===Node.DOCUMENT_NODE?e.scrollingElement:e)},"_getComputedStyle"),dd=l(function(e){var t=Sr(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative";},"_makePositionable"),Vu=l(function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},"_setDefaults"),Zr=l(function(e,t){var r=t&&Sr(e)[Fa]!=="matrix(1, 0, 0, 1, 0, 0)"&&te.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),i=e.getBoundingClientRect?e.getBoundingClientRect():e.scrollingElement.getBoundingClientRect();return r&&r.progress(0).kill(),i},"_getBounds"),xs=l(function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},"_getSize"),fc=l(function(e){var t=[],r=e.labels,i=e.duration(),n;for(n in r)t.push(r[n]/i);return t},"_getLabelRatioArray"),pd=l(function(e){return function(t){return te.utils.snap(fc(e),t)}},"_getClosestLabel"),$a=l(function(e){var t=te.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(i,n){return i-n});return r?function(i,n,s){s===void 0&&(s=.001);var o;if(!n)return t(i);if(n>0){for(i-=s,o=0;o<r.length;o++)if(r[o]>=i)return r[o];return r[o-1]}else for(o=r.length,i+=s;o--;)if(r[o]<=i)return r[o];return r[0]}:function(i,n,s){s===void 0&&(s=.001);var o=t(i);return !n||Math.abs(o-i)<s||o-i<0==n<0?o:t(n<0?i-e:i+e)}},"_snapDirectional"),gd=l(function(e){return function(t,r){return $a(fc(e))(t,r.direction)}},"_getLabelAtDirection"),as=l(function(e,t,r,i){return r.split(",").forEach(function(n){return e(t,n,i)})},"_multiListener"),St=l(function(e,t,r,i,n){return e.addEventListener(t,r,{passive:!i,capture:!!n})},"_addListener"),bt=l(function(e,t,r,i){return e.removeEventListener(t,r,!!i)},"_removeListener"),ls=l(function(e,t,r){r=r&&r.wheelHandler,r&&(e(t,"wheel",r),e(t,"touchmove",r));},"_wheelListener"),qu={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},us={toggleActions:"play",anticipatePin:0},ws={top:0,left:0,center:.5,bottom:1,right:1},ps=l(function(e,t){if(gr(e)){var r=e.indexOf("="),i=~r?+(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(i*=t/100),e=e.substr(0,r-1)),e=i+(e in ws?ws[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0);}return e},"_offsetToPx"),cs=l(function(e,t,r,i,n,s,o,c){var f=n.startColor,h=n.endColor,p=n.fontSize,g=n.indent,u=n.fontWeight,m=je.createElement("div"),d=ji(r)||$r(r,"pinType")==="fixed",_=e.indexOf("scroller")!==-1,y=d?qe:r.tagName==="IFRAME"?r.contentDocument.body:r,v=e.indexOf("start")!==-1,k=v?f:h,T="border-color:"+k+";font-size:"+p+";color:"+k+";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 T+="position:"+((_||c)&&d?"fixed;":"absolute;"),(_||c||!d)&&(T+=(i===pt?ja:Ka)+":"+(s+parseFloat(g))+"px;"),o&&(T+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),m._isStart=v,m.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),m.style.cssText=T,m.innerText=t||t===0?e+"-"+t:e,y.children[0]?y.insertBefore(m,y.children[0]):y.appendChild(m),m._offset=m["offset"+i.op.d2],gs(m,0,i,v),m},"_createMarker"),gs=l(function(e,t,r,i){var n={display:"block"},s=r[i?"os2":"p2"],o=r[i?"p2":"os2"];e._isFlipped=i,n[r.a+"Percent"]=i?-100:0,n[r.a]=i?"1px":0,n["border"+s+Sn]=1,n["border"+o+Sn]=0,n[r.p]=t+"px",te.set(e,n);},"_positionMarker"),Ee=[],Xa={},yo,Gu=l(function(){return Wt()-Er>34&&(yo||(yo=requestAnimationFrame(Jr)))},"_sync"),vn=l(function(){(!Zt||!Zt.isPressed||Zt.startX>qe.clientWidth)&&(Se.cache++,Zt?yo||(yo=requestAnimationFrame(Jr)):Jr(),Er||Qi("scrollStart"),Er=Wt());},"_onScroll"),Na=l(function(){nc=ke.innerWidth,ic=ke.innerHeight;},"_setBaseDimensions"),lo=l(function(e){Se.cache++,(e===true||!Xt&&!rc&&!je.fullscreenElement&&!je.webkitFullscreenElement&&(!Ia||nc!==ke.innerWidth||Math.abs(ke.innerHeight-ic)>ke.innerHeight*.25))&&vs.restart(true);},"_onResize"),Ki={},md=[],hc=l(function a(){return bt(j,"scrollEnd",a)||Vi(true)},"_softRefresh"),Qi=l(function(e){return Ki[e]&&Ki[e].map(function(t){return t()})||md},"_dispatch"),pr=[],dc=l(function(e){for(var t=0;t<pr.length;t+=5)(!e||pr[t+4]&&pr[t+4].query===e)&&(pr[t].style.cssText=pr[t+1],pr[t].getBBox&&pr[t].setAttribute("transform",pr[t+2]||""),pr[t+3].uncache=1);},"_revertRecorded"),pc=l(function(){return Se.forEach(function(e){return Vt(e)&&++e.cacheID&&(e.rec=e())})},"_recordScrollPositions"),Za=l(function(e,t){var r;for(Jt=0;Jt<Ee.length;Jt++)r=Ee[Jt],r&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(true,true));co=true,t&&dc(t),t||Qi("revert");},"_revertAll"),gc=l(function(e,t){Se.cache++,(t||!er)&&Se.forEach(function(r){return Vt(r)&&r.cacheID++&&(r.rec=0)}),gr(e)&&(ke.history.scrollRestoration=Ga=e);},"_clearScrollMemory"),er,Ui=0,Uu,_d=l(function(){if(Uu!==Ui){var e=Uu=Ui;requestAnimationFrame(function(){return e===Ui&&Vi(true)});}},"_queueRefreshAll"),mc=l(function(){qe.appendChild(Tn),Ua=!Zt&&Tn.offsetHeight||ke.innerHeight,qe.removeChild(Tn);},"_refresh100vh"),ju=l(function(e){return _o(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},"_hideAllMarkers"),Vi=l(function(e,t){if(mr=je.documentElement,qe=je.body,qa=[ke,je,mr,qe],Er&&!e&&!co){St(j,"scrollEnd",hc);return}mc(),er=j.isRefreshing=true,co||pc();var r=Qi("refreshInit");tc&&j.sort(),t||Za(),Se.forEach(function(i){Vt(i)&&(i.smooth&&(i.target.style.scrollBehavior="auto"),i(0));}),Ee.slice(0).forEach(function(i){return i.refresh()}),co=false,Ee.forEach(function(i){if(i._subPinOffset&&i.pin){var n=i.vars.horizontal?"offsetWidth":"offsetHeight",s=i.pin[n];i.revert(true,1),i.adjustPinSpacing(i.pin[n]-s),i.refresh();}}),Ya=1,ju(true),Ee.forEach(function(i){var n=Yr(i.scroller,i._dir),s=i.vars.end==="max"||i._endClamp&&i.end>n,o=i._startClamp&&i.start>=n;(s||o)&&i.setPositions(o?n-1:i.start,s?Math.max(o?n:i.start+1,n):i.end,true);}),ju(false),Ya=0,r.forEach(function(i){return i&&i.render&&i.render(-1)}),Se.forEach(function(i){Vt(i)&&(i.smooth&&requestAnimationFrame(function(){return i.target.style.scrollBehavior="smooth"}),i.rec&&i(i.rec));}),gc(Ga,1),vs.pause(),Ui++,er=2,Jr(2),Ee.forEach(function(i){return Vt(i.vars.onRefresh)&&i.vars.onRefresh(i)}),er=j.isRefreshing=false,Qi("refresh");},"_refreshAll"),Wa=0,ms=1,mo,Jr=l(function(e){if(e===2||!er&&!co){j.isUpdating=true,mo&&mo.update(0);var t=Ee.length,r=Wt(),i=r-Aa>=50,n=t&&Ee[0].scroll();if(ms=Wa>n?-1:1,er||(Wa=n),i&&(Er&&!Ts&&r-Er>200&&(Er=0,Qi("scrollEnd")),no=Aa,Aa=r),ms<0){for(Jt=t;Jt-- >0;)Ee[Jt]&&Ee[Jt].update(0,i);ms=1;}else for(Jt=0;Jt<t;Jt++)Ee[Jt]&&Ee[Jt].update(0,i);j.isUpdating=false;}yo=0;},"_updateAll"),Va=[uc,cc,Ka,ja,br+go,br+fo,br+po,br+ho,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],_s=Va.concat([qi,Gi,"boxSizing","max"+Sn,"max"+Qa,"position",br,gt,gt+po,gt+fo,gt+go,gt+ho]),yd=l(function(e,t,r){bn(r);var i=e._gsap;if(i.spacerIsNative)bn(i.spacerState);else if(e._gsap.swappedIn){var n=t.parentNode;n&&(n.insertBefore(e,t),n.removeChild(t));}e._gsap.swappedIn=false;},"_swapPinOut"),za=l(function(e,t,r,i){if(!e._gsap.swappedIn){for(var n=Va.length,s=t.style,o=e.style,c;n--;)c=Va[n],s[c]=r[c];s.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(s.display="inline-block"),o[Ka]=o[ja]="auto",s.flexBasis=r.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[qi]=xs(e,Yt)+vt,s[Gi]=xs(e,pt)+vt,s[gt]=o[br]=o[cc]=o[uc]="0",bn(i),o[qi]=o["max"+Sn]=r[qi],o[Gi]=o["max"+Qa]=r[Gi],o[gt]=r[gt],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=true;}},"_swapPinIn"),vd=/([A-Z])/g,bn=l(function(e){if(e){var t=e.t.style,r=e.length,i=0,n,s;for((e.t._gsap||te.core.getCache(e.t)).uncache=1;i<r;i+=2)s=e[i+1],n=e[i],s?t[n]=s:t[n]&&t.removeProperty(n.replace(vd,"-$1").toLowerCase());}},"_setState"),fs=l(function(e){for(var t=_s.length,r=e.style,i=[],n=0;n<t;n++)i.push(_s[n],r[_s[n]]);return i.t=e,i},"_getState"),xd=l(function(e,t,r){for(var i=[],n=e.length,s=r?8:0,o;s<n;s+=2)o=e[s],i.push(o,o in t?t[o]:e[s+1]);return i.t=e.t,i},"_copyState"),ys={left:0,top:0},Ku=l(function(e,t,r,i,n,s,o,c,f,h,p,g,u,m){Vt(e)&&(e=e(c)),gr(e)&&e.substr(0,3)==="max"&&(e=g+(e.charAt(4)==="="?ps("0"+e.substr(3),r):0));var d=u?u.time():0,_,y,v;if(u&&u.seek(0),isNaN(e)||(e=+e),ao(e))u&&(e=te.utils.mapRange(u.scrollTrigger.start,u.scrollTrigger.end,0,g,e)),o&&gs(o,r,i,true);else {Vt(t)&&(t=t(c));var k=(e||"0").split(" "),T,x,O,S;v=$t(t,c)||qe,T=Zr(v)||{},(!T||!T.left&&!T.top)&&Sr(v).display==="none"&&(S=v.style.display,v.style.display="block",T=Zr(v),S?v.style.display=S:v.style.removeProperty("display")),x=ps(k[0],T[i.d]),O=ps(k[1]||"0",r),e=T[i.p]-f[i.p]-h+x+n-O,o&&gs(o,O,i,r-O<20||o._isStart&&O>20),r-=r-O;}if(m&&(c[m]=e||-1e-3,e<0&&(e=0)),s){var C=e+r,D=s._isStart;_="scroll"+i.d2,gs(s,C,i,D&&C>20||!D&&(p?Math.max(qe[_],mr[_]):s.parentNode[_])<=C+1),p&&(f=Zr(o),p&&(s.style[i.op.p]=f[i.op.p]-i.op.m-s._offset+vt));}return u&&v&&(_=Zr(v),u.seek(g),y=Zr(v),u._caScrollDist=_[i.p]-y[i.p],e=e/u._caScrollDist*g),u&&u.seek(d),u?e:Math.round(e)},"_parsePosition"),wd=/(webkit|moz|length|cssText|inset)/i,Qu=l(function(e,t,r,i){if(e.parentNode!==t){var n=e.style,s,o;if(t===qe){e._stOrig=n.cssText,o=Sr(e);for(s in o)!+s&&!wd.test(s)&&o[s]&&typeof n[s]=="string"&&s!=="0"&&(n[s]=o[s]);n.top=r,n.left=i;}else n.cssText=e._stOrig;te.core.getCache(e).uncache=1,t.appendChild(e);}},"_reparent"),_c=l(function(e,t,r){var i=t,n=i;return function(s){var o=Math.round(e());return o!==i&&o!==n&&Math.abs(o-i)>3&&Math.abs(o-n)>3&&(s=o,r&&r()),n=i,i=Math.round(s),i}},"_interruptionTracker"),hs=l(function(e,t,r){var i={};i[t.p]="+="+r,te.set(e,i);},"_shiftMarker"),$u=l(function(e,t){var r=Qr(e,t),i="_scroll"+t.p2,n=l(function s(o,c,f,h,p){var g=s.tween,u=c.onComplete,m={};f=f||r();var d=_c(r,f,function(){g.kill(),s.tween=0;});return p=h&&p||0,h=h||o-f,g&&g.kill(),c[i]=o,c.inherit=false,c.modifiers=m,m[i]=function(){return d(f+h*g.ratio+p*g.ratio*g.ratio)},c.onUpdate=function(){Se.cache++,s.tween&&Jr();},c.onComplete=function(){s.tween=0,u&&u.call(g);},g=s.tween=te.to(e,c),g},"getTween");return e[i]=r,r.wheelHandler=function(){return n.tween&&n.tween.kill()&&(n.tween=0)},St(e,"wheel",r.wheelHandler),j.isTouch&&St(e,"touchmove",r.wheelHandler),n},"_getTweenCreator"),j=(function(){function a(t,r){xn||a.register(te)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Ba(this),this.init(t,r);}l(a,"ScrollTrigger");var e=a.prototype;return e.init=l(function(r,i){if(this.progress=this.start=0,this.vars&&this.kill(true,true),!oo){this.update=this.refresh=this.kill=Br;return}r=Vu(gr(r)||ao(r)||r.nodeType?{trigger:r}:r,us);var n=r,s=n.onUpdate,o=n.toggleClass,c=n.id,f=n.onToggle,h=n.onRefresh,p=n.scrub,g=n.trigger,u=n.pin,m=n.pinSpacing,d=n.invalidateOnRefresh,_=n.anticipatePin,y=n.onScrubComplete,v=n.onSnapComplete,k=n.once,T=n.snap,x=n.pinReparent,O=n.pinSpacer,S=n.containerAnimation,C=n.fastScrollEnd,D=n.preventOverlaps,L=r.horizontal||r.containerAnimation&&r.horizontal!==false?Yt:pt,H=!p&&p!==0,N=$t(r.scroller||ke),z=te.core.getCache(N),X=ji(N),K=("pinType"in r?r.pinType:$r(N,"pinType")||X&&"fixed")==="fixed",G=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],V=H&&r.toggleActions.split(" "),se="markers"in r?r.markers:us.markers,ie=X?0:parseFloat(Sr(N)["border"+L.p2+Sn])||0,b=this,$=r.onRefreshInit&&function(){return r.onRefreshInit(b)},ae=fd(N,X,L),ue=hd(N,X),ne=0,Oe=0,Ae=0,Xe=Qr(N,L),be,rt,Ne,Qe,$e,_e,ye,le,wt,P,Ke,q,M,W,Z,he,pe,ve,Fe,de,We,ze,xe,ft,ee,vr,Et,Tt,Gt,rr,kt,fe,At,Ve,Le,Ze,Nt,J,w;if(b._startClamp=b._endClamp=false,b._dir=L,_*=45,b.scroller=N,b.scroll=S?S.time.bind(S):Xe,Qe=Xe(),b.vars=r,i=i||r.animation,"refreshPriority"in r&&(tc=1,r.refreshPriority===-9999&&(mo=b)),z.tweenScroll=z.tweenScroll||{top:$u(N,pt),left:$u(N,Yt)},b.tweenTo=be=z.tweenScroll[L.p],b.scrubDuration=function(A){At=ao(A)&&A,At?fe?fe.duration(A):fe=te.to(i,{ease:"expo",totalProgress:"+=0",inherit:false,duration:At,paused:true,onComplete:l(function(){return y&&y(b)},"onComplete")}):(fe&&fe.progress(1).kill(),fe=0);},i&&(i.vars.lazy=false,i._initted&&!b.isReverted||i.vars.immediateRender!==false&&r.immediateRender!==false&&i.duration()&&i.render(0,true,true),b.animation=i.pause(),i.scrollTrigger=b,b.scrubDuration(p),rr=0,c||(c=i.vars.id)),T&&((!Wi(T)||T.push)&&(T={snapTo:T}),"scrollBehavior"in qe.style&&te.set(X?[qe,mr]:N,{scrollBehavior:"auto"}),Se.forEach(function(A){return Vt(A)&&A.target===(X?je.scrollingElement||mr:N)&&(A.smooth=false)}),Ne=Vt(T.snapTo)?T.snapTo:T.snapTo==="labels"?pd(i):T.snapTo==="labelsDirectional"?gd(i):T.directional!==false?function(A,U){return $a(T.snapTo)(A,Wt()-Oe<500?0:U.direction)}:te.utils.snap(T.snapTo),Ve=T.duration||{min:.1,max:2},Ve=Wi(Ve)?uo(Ve.min,Ve.max):uo(Ve,Ve),Le=te.delayedCall(T.delay||At/2||.1,function(){var A=Xe(),U=Wt()-Oe<500,I=be.tween;if((U||Math.abs(b.getVelocity())<10)&&!I&&!Ts&&ne!==A){var Q=(A-_e)/W,ce=i&&!H?i.totalProgress():Q,re=U?0:(ce-kt)/(Wt()-no)*1e3||0,me=te.utils.clamp(-Q,1-Q,yn(re/2)*re/.185),He=Q+(T.inertia===false?0:me),Ie,Ce,Pe=T,Ue=Pe.onStart,ge=Pe.onInterrupt,Ct=Pe.onComplete;if(Ie=Ne(He,b),ao(Ie)||(Ie=He),Ce=Math.max(0,Math.round(_e+Ie*W)),A<=ye&&A>=_e&&Ce!==A){if(I&&!I._initted&&I.data<=yn(Ce-A))return;T.inertia===false&&(me=Ie-Q),be(Ce,{duration:Ve(yn(Math.max(yn(He-ce),yn(Ie-ce))*.185/re/.05||0)),ease:T.ease||"power3",data:yn(Ce-A),onInterrupt:l(function(){return Le.restart(true)&&ge&&_n(b,ge)},"onInterrupt"),onComplete:l(function(){b.update(),ne=Xe(),i&&!H&&(fe?fe.resetTo("totalProgress",Ie,i._tTime/i._tDur):i.progress(Ie)),rr=kt=i&&!H?i.totalProgress():b.progress,v&&v(b),Ct&&_n(b,Ct);},"onComplete")},A,me*W,Ce-A-me*W),Ue&&_n(b,Ue,be.tween);}}else b.isActive&&ne!==A&&Le.restart(true);}).pause()),c&&(Xa[c]=b),g=b.trigger=$t(g||u!==true&&u),w=g&&g._gsap&&g._gsap.stRevert,w&&(w=w(b)),u=u===true?g:$t(u),gr(o)&&(o={targets:g,className:o}),u&&(m===false||m===br||(m=!m&&u.parentNode&&u.parentNode.style&&Sr(u.parentNode).display==="flex"?false:gt),b.pin=u,rt=te.core.getCache(u),rt.spacer?Z=rt.pinState:(O&&(O=$t(O),O&&!O.nodeType&&(O=O.current||O.nativeElement),rt.spacerIsNative=!!O,O&&(rt.spacerState=fs(O))),rt.spacer=ve=O||je.createElement("div"),ve.classList.add("pin-spacer"),c&&ve.classList.add("pin-spacer-"+c),rt.pinState=Z=fs(u)),r.force3D!==false&&te.set(u,{force3D:true}),b.spacer=ve=rt.spacer,Gt=Sr(u),ft=Gt[m+L.os2],de=te.getProperty(u),We=te.quickSetter(u,L.a,vt),za(u,ve,Gt),pe=fs(u)),se){q=Wi(se)?Vu(se,qu):qu,P=cs("scroller-start",c,N,L,q,0),Ke=cs("scroller-end",c,N,L,q,0,P),Fe=P["offset"+L.op.d2];var F=$t($r(N,"content")||N);le=this.markerStart=cs("start",c,F,L,q,Fe,0,S),wt=this.markerEnd=cs("end",c,F,L,q,Fe,0,S),S&&(J=te.quickSetter([le,wt],L.a,vt)),!K&&!(Or.length&&$r(N,"fixedMarkers")===true)&&(dd(X?qe:N),te.set([P,Ke],{force3D:true}),vr=te.quickSetter(P,L.a,vt),Tt=te.quickSetter(Ke,L.a,vt));}if(S){var E=S.vars.onUpdate,R=S.vars.onUpdateParams;S.eventCallback("onUpdate",function(){b.update(0,0,1),E&&E.apply(S,R||[]);});}if(b.previous=function(){return Ee[Ee.indexOf(b)-1]},b.next=function(){return Ee[Ee.indexOf(b)+1]},b.revert=function(A,U){if(!U)return b.kill(true);var I=A!==false||!b.enabled,Q=Xt;I!==b.isReverted&&(I&&(Ze=Math.max(Xe(),b.scroll.rec||0),Ae=b.progress,Nt=i&&i.progress()),le&&[le,wt,P,Ke].forEach(function(ce){return ce.style.display=I?"none":"block"}),I&&(Xt=b,b.update(I)),u&&(!x||!b.isActive)&&(I?yd(u,ve,Z):za(u,ve,Sr(u),ee)),I||b.update(I),Xt=Q,b.isReverted=I);},b.refresh=function(A,U,I,Q){if(!((Xt||!b.enabled)&&!U)){if(u&&A&&Er){St(a,"scrollEnd",hc);return}!er&&$&&$(b),Xt=b,be.tween&&!I&&(be.tween.kill(),be.tween=0),fe&&fe.pause(),d&&i&&(i.revert({kill:false}).invalidate(),i.getChildren?i.getChildren(true,true,false).forEach(function(ai){return ai.vars.immediateRender&&ai.render(0,true,true)}):i.vars.immediateRender&&i.render(0,true,true)),b.isReverted||b.revert(true,true),b._subPinOffset=false;var ce=ae(),re=ue(),me=S?S.duration():Yr(N,L),He=W<=.01||!W,Ie=0,Ce=Q||0,Pe=Wi(I)?I.end:r.end,Ue=r.endTrigger||g,ge=Wi(I)?I.start:r.start||(r.start===0||!g?0:u?"0 0":"0 100%"),Ct=b.pinnedContainer=r.pinnedContainer&&$t(r.pinnedContainer,b),it=g&&Math.max(0,Ee.indexOf(b))||0,Mt=it,Pt,zt,Li,Ao,Ht,_t,Ar,Hs,Tl,Fn,Nr,In,No;for(se&&Wi(I)&&(In=te.getProperty(P,L.p),No=te.getProperty(Ke,L.p));Mt-- >0;)_t=Ee[Mt],_t.end||_t.refresh(0,1)||(Xt=b),Ar=_t.pin,Ar&&(Ar===g||Ar===u||Ar===Ct)&&!_t.isReverted&&(Fn||(Fn=[]),Fn.unshift(_t),_t.revert(true,true)),_t!==Ee[Mt]&&(it--,Mt--);for(Vt(ge)&&(ge=ge(b)),ge=Bu(ge,"start",b),_e=Ku(ge,g,ce,L,Xe(),le,P,b,re,ie,K,me,S,b._startClamp&&"_startClamp")||(u?-1e-3:0),Vt(Pe)&&(Pe=Pe(b)),gr(Pe)&&!Pe.indexOf("+=")&&(~Pe.indexOf(" ")?Pe=(gr(ge)?ge.split(" ")[0]:"")+Pe:(Ie=ps(Pe.substr(2),ce),Pe=gr(ge)?ge:(S?te.utils.mapRange(0,S.duration(),S.scrollTrigger.start,S.scrollTrigger.end,_e):_e)+Ie,Ue=g)),Pe=Bu(Pe,"end",b),ye=Math.max(_e,Ku(Pe||(Ue?"100% 0":me),Ue,ce,L,Xe()+Ie,wt,Ke,b,re,ie,K,me,S,b._endClamp&&"_endClamp"))||-1e-3,Ie=0,Mt=it;Mt--;)_t=Ee[Mt]||{},Ar=_t.pin,Ar&&_t.start-_t._pinPush<=_e&&!S&&_t.end>0&&(Pt=_t.end-(b._startClamp?Math.max(0,_t.start):_t.start),(Ar===g&&_t.start-_t._pinPush<_e||Ar===Ct)&&isNaN(ge)&&(Ie+=Pt*(1-_t.progress)),Ar===u&&(Ce+=Pt));if(_e+=Ie,ye+=Ie,b._startClamp&&(b._startClamp+=Ie),b._endClamp&&!er&&(b._endClamp=ye||-1e-3,ye=Math.min(ye,Yr(N,L))),W=ye-_e||(_e-=.01)&&.001,He&&(Ae=te.utils.clamp(0,1,te.utils.normalize(_e,ye,Ze))),b._pinPush=Ce,le&&Ie&&(Pt={},Pt[L.a]="+="+Ie,Ct&&(Pt[L.p]="-="+Xe()),te.set([le,wt],Pt)),u&&!(Ya&&b.end>=Yr(N,L)))Pt=Sr(u),Ao=L===pt,Li=Xe(),ze=parseFloat(de(L.a))+Ce,!me&&ye>1&&(Nr=(X?je.scrollingElement||mr:N).style,Nr={style:Nr,value:Nr["overflow"+L.a.toUpperCase()]},X&&Sr(qe)["overflow"+L.a.toUpperCase()]!=="scroll"&&(Nr.style["overflow"+L.a.toUpperCase()]="scroll")),za(u,ve,Pt),pe=fs(u),zt=Zr(u,true),Hs=K&&Qr(N,Ao?Yt:pt)(),m?(ee=[m+L.os2,W+Ce+vt],ee.t=ve,Mt=m===gt?xs(u,L)+W+Ce:0,Mt&&(ee.push(L.d,Mt+vt),ve.style.flexBasis!=="auto"&&(ve.style.flexBasis=Mt+vt)),bn(ee),Ct&&Ee.forEach(function(ai){ai.pin===Ct&&ai.vars.pinSpacing!==false&&(ai._subPinOffset=true);}),K&&Xe(Ze)):(Mt=xs(u,L),Mt&&ve.style.flexBasis!=="auto"&&(ve.style.flexBasis=Mt+vt)),K&&(Ht={top:zt.top+(Ao?Li-_e:Hs)+vt,left:zt.left+(Ao?Hs:Li-_e)+vt,boxSizing:"border-box",position:"fixed"},Ht[qi]=Ht["max"+Sn]=Math.ceil(zt.width)+vt,Ht[Gi]=Ht["max"+Qa]=Math.ceil(zt.height)+vt,Ht[br]=Ht[br+po]=Ht[br+fo]=Ht[br+go]=Ht[br+ho]="0",Ht[gt]=Pt[gt],Ht[gt+po]=Pt[gt+po],Ht[gt+fo]=Pt[gt+fo],Ht[gt+go]=Pt[gt+go],Ht[gt+ho]=Pt[gt+ho],he=xd(Z,Ht,x),er&&Xe(0)),i?(Tl=i._initted,Da(1),i.render(i.duration(),true,true),xe=de(L.a)-ze+W+Ce,Et=Math.abs(W-xe)>1,K&&Et&&he.splice(he.length-2,2),i.render(0,true,true),Tl||i.invalidate(true),i.parent||i.totalTime(i.totalTime()),Da(0)):xe=W,Nr&&(Nr.value?Nr.style["overflow"+L.a.toUpperCase()]=Nr.value:Nr.style.removeProperty("overflow-"+L.a));else if(g&&Xe()&&!S)for(zt=g.parentNode;zt&&zt!==qe;)zt._pinOffset&&(_e-=zt._pinOffset,ye-=zt._pinOffset),zt=zt.parentNode;Fn&&Fn.forEach(function(ai){return ai.revert(false,true)}),b.start=_e,b.end=ye,Qe=$e=er?Ze:Xe(),!S&&!er&&(Qe<Ze&&Xe(Ze),b.scroll.rec=0),b.revert(false,true),Oe=Wt(),Le&&(ne=-1,Le.restart(true)),Xt=0,i&&H&&(i._initted||Nt)&&i.progress()!==Nt&&i.progress(Nt||0,true).render(i.time(),true,true),(He||Ae!==b.progress||S||d||i&&!i._initted)&&(i&&!H&&(i._initted||Ae||i.vars.immediateRender!==false)&&i.totalProgress(S&&_e<-1e-3&&!Ae?te.utils.normalize(_e,ye,0):Ae,true),b.progress=He||(Qe-_e)/W===Ae?0:Ae),u&&m&&(ve._pinOffset=Math.round(b.progress*xe)),fe&&fe.invalidate(),isNaN(In)||(In-=te.getProperty(P,L.p),No-=te.getProperty(Ke,L.p),hs(P,L,In),hs(le,L,In-(Q||0)),hs(Ke,L,No),hs(wt,L,No-(Q||0))),He&&!er&&b.update(),h&&!er&&!M&&(M=true,h(b),M=false);}},b.getVelocity=function(){return (Xe()-$e)/(Wt()-no)*1e3||0},b.endAnimation=function(){io(b.callbackAnimation),i&&(fe?fe.progress(1):i.paused()?H||io(i,b.direction<0,1):io(i,i.reversed()));},b.labelToScroll=function(A){return i&&i.labels&&(_e||b.refresh()||_e)+i.labels[A]/i.duration()*W||0},b.getTrailing=function(A){var U=Ee.indexOf(b),I=b.direction>0?Ee.slice(0,U).reverse():Ee.slice(U+1);return (gr(A)?I.filter(function(Q){return Q.vars.preventOverlaps===A}):I).filter(function(Q){return b.direction>0?Q.end<=_e:Q.start>=ye})},b.update=function(A,U,I){if(!(S&&!I&&!A)){var Q=er===true?Ze:b.scroll(),ce=A?0:(Q-_e)/W,re=ce<0?0:ce>1?1:ce||0,me=b.progress,He,Ie,Ce,Pe,Ue,ge,Ct,it;if(U&&($e=Qe,Qe=S?Xe():Q,T&&(kt=rr,rr=i&&!H?i.totalProgress():re)),_&&u&&!Xt&&!os&&Er&&(!re&&_e<Q+(Q-$e)/(Wt()-no)*_?re=1e-4:re===1&&ye>Q+(Q-$e)/(Wt()-no)*_&&(re=.9999)),re!==me&&b.enabled){if(He=b.isActive=!!re&&re<1,Ie=!!me&&me<1,ge=He!==Ie,Ue=ge||!!re!=!!me,b.direction=re>me?1:-1,b.progress=re,Ue&&!Xt&&(Ce=re&&!me?0:re===1?1:me===1?2:3,H&&(Pe=!ge&&V[Ce+1]!=="none"&&V[Ce+1]||V[Ce],it=i&&(Pe==="complete"||Pe==="reset"||Pe in i))),D&&(ge||it)&&(it||p||!i)&&(Vt(D)?D(b):b.getTrailing(D).forEach(function(Li){return Li.endAnimation()})),H||(fe&&!Xt&&!os?(fe._dp._time-fe._start!==fe._time&&fe.render(fe._dp._time-fe._start),fe.resetTo?fe.resetTo("totalProgress",re,i._tTime/i._tDur):(fe.vars.totalProgress=re,fe.invalidate().restart())):i&&i.totalProgress(re,!!(Xt&&(Oe||A)))),u){if(A&&m&&(ve.style[m+L.os2]=ft),!K)We(so(ze+xe*re));else if(Ue){if(Ct=!A&&re>me&&ye+1>Q&&Q+1>=Yr(N,L),x)if(!A&&(He||Ct)){var Mt=Zr(u,true),Pt=Q-_e;Qu(u,qe,Mt.top+(L===pt?Pt:0)+vt,Mt.left+(L===pt?0:Pt)+vt);}else Qu(u,ve);bn(He||Ct?he:pe),Et&&re<1&&He||We(ze+(re===1&&!Ct?xe:0));}}T&&!be.tween&&!Xt&&!os&&Le.restart(true),o&&(ge||k&&re&&(re<1||!Ra))&&_o(o.targets).forEach(function(Li){return Li.classList[He||k?"add":"remove"](o.className)}),s&&!H&&!A&&s(b),Ue&&!Xt?(H&&(it&&(Pe==="complete"?i.pause().totalProgress(1):Pe==="reset"?i.restart(true).pause():Pe==="restart"?i.restart(true):i[Pe]()),s&&s(b)),(ge||!Ra)&&(f&&ge&&_n(b,f),G[Ce]&&_n(b,G[Ce]),k&&(re===1?b.kill(false,1):G[Ce]=0),ge||(Ce=re===1?1:3,G[Ce]&&_n(b,G[Ce]))),C&&!He&&Math.abs(b.getVelocity())>(ao(C)?C:2500)&&(io(b.callbackAnimation),fe?fe.progress(1):io(i,Pe==="reverse"?1:!re,1))):H&&s&&!Xt&&s(b);}if(Tt){var zt=S?Q/S.duration()*(S._caScrollDist||0):Q;vr(zt+(P._isFlipped?1:0)),Tt(zt);}J&&J(-Q/S.duration()*(S._caScrollDist||0));}},b.enable=function(A,U){b.enabled||(b.enabled=true,St(N,"resize",lo),X||St(N,"scroll",vn),$&&St(a,"refreshInit",$),A!==false&&(b.progress=Ae=0,Qe=$e=ne=Xe()),U!==false&&b.refresh());},b.getTween=function(A){return A&&be?be.tween:fe},b.setPositions=function(A,U,I,Q){if(S){var ce=S.scrollTrigger,re=S.duration(),me=ce.end-ce.start;A=ce.start+me*A/re,U=ce.start+me*U/re;}b.refresh(false,false,{start:Yu(A,I&&!!b._startClamp),end:Yu(U,I&&!!b._endClamp)},Q),b.update();},b.adjustPinSpacing=function(A){if(ee&&A){var U=ee.indexOf(L.d)+1;ee[U]=parseFloat(ee[U])+A+vt,ee[1]=parseFloat(ee[1])+A+vt,bn(ee);}},b.disable=function(A,U){if(A!==false&&b.revert(true,true),b.enabled&&(b.enabled=b.isActive=false,U||fe&&fe.pause(),Ze=0,rt&&(rt.uncache=1),$&&bt(a,"refreshInit",$),Le&&(Le.pause(),be.tween&&be.tween.kill()&&(be.tween=0)),!X)){for(var I=Ee.length;I--;)if(Ee[I].scroller===N&&Ee[I]!==b)return;bt(N,"resize",lo),X||bt(N,"scroll",vn);}},b.kill=function(A,U){b.disable(A,U),fe&&!U&&fe.kill(),c&&delete Xa[c];var I=Ee.indexOf(b);I>=0&&Ee.splice(I,1),I===Jt&&ms>0&&Jt--,I=0,Ee.forEach(function(Q){return Q.scroller===b.scroller&&(I=1)}),I||er||(b.scroll.rec=0),i&&(i.scrollTrigger=null,A&&i.revert({kill:false}),U||i.kill()),le&&[le,wt,P,Ke].forEach(function(Q){return Q.parentNode&&Q.parentNode.removeChild(Q)}),mo===b&&(mo=0),u&&(rt&&(rt.uncache=1),I=0,Ee.forEach(function(Q){return Q.pin===u&&I++}),I||(rt.spacer=0)),r.onKill&&r.onKill(b);},Ee.push(b),b.enable(false,false),w&&w(b),i&&i.add&&!W){var B=b.update;b.update=function(){b.update=B,Se.cache++,_e||ye||b.refresh();},te.delayedCall(.01,b.update),W=.01,_e=ye=0;}else b.refresh();u&&_d();},"init"),a.register=l(function(r){return xn||(te=r||sc(),oc()&&window.document&&a.enable(),xn=oo),xn},"register"),a.defaults=l(function(r){if(r)for(var i in r)us[i]=r[i];return us},"defaults"),a.disable=l(function(r,i){oo=0,Ee.forEach(function(s){return s[i?"kill":"disable"](r)}),bt(ke,"wheel",vn),bt(je,"scroll",vn),clearInterval(ns),bt(je,"touchcancel",Br),bt(qe,"touchstart",Br),as(bt,je,"pointerdown,touchstart,mousedown",Xu),as(bt,je,"pointerup,touchend,mouseup",Wu),vs.kill(),ss(bt);for(var n=0;n<Se.length;n+=3)ls(bt,Se[n],Se[n+1]),ls(bt,Se[n],Se[n+2]);},"disable"),a.enable=l(function(){if(ke=window,je=document,mr=je.documentElement,qe=je.body,te){if(_o=te.utils.toArray,uo=te.utils.clamp,Ba=te.core.context||Br,Da=te.core.suppressOverwrites||Br,Ga=ke.history.scrollRestoration||"auto",Wa=ke.pageYOffset||0,te.core.globals("ScrollTrigger",a),qe){oo=1,Tn=document.createElement("div"),Tn.style.height="100vh",Tn.style.position="absolute",mc(),cd(),ct.register(te),a.isTouch=ct.isTouch,vi=ct.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Ia=ct.isTouch===1,St(ke,"wheel",vn),qa=[ke,je,mr,qe],te.matchMedia?(a.matchMedia=function(h){var p=te.matchMedia(),g;for(g in h)p.add(g,h[g]);return p},te.addEventListener("matchMediaInit",function(){pc(),Za();}),te.addEventListener("matchMediaRevert",function(){return dc()}),te.addEventListener("matchMedia",function(){Vi(0,1),Qi("matchMedia");}),te.matchMedia().add("(orientation: portrait)",function(){return Na(),Na})):console.warn("Requires GSAP 3.11.0 or later"),Na(),St(je,"scroll",vn);var r=qe.hasAttribute("style"),i=qe.style,n=i.borderTopStyle,s=te.core.Animation.prototype,o,c;for(s.revert||Object.defineProperty(s,"revert",{value:l(function(){return this.time(-0.01,true)},"value")}),i.borderTopStyle="solid",o=Zr(qe),pt.m=Math.round(o.top+pt.sc())||0,Yt.m=Math.round(o.left+Yt.sc())||0,n?i.borderTopStyle=n:i.removeProperty("border-top-style"),r||(qe.setAttribute("style",""),qe.removeAttribute("style")),ns=setInterval(Gu,250),te.delayedCall(.5,function(){return os=0}),St(je,"touchcancel",Br),St(qe,"touchstart",Br),as(St,je,"pointerdown,touchstart,mousedown",Xu),as(St,je,"pointerup,touchend,mouseup",Wu),Fa=te.utils.checkPrefix("transform"),_s.push(Fa),xn=Wt(),vs=te.delayedCall(.2,Vi).pause(),wn=[je,"visibilitychange",function(){var h=ke.innerWidth,p=ke.innerHeight;je.hidden?(Fu=h,Iu=p):(Fu!==h||Iu!==p)&&lo();},je,"DOMContentLoaded",Vi,ke,"load",Vi,ke,"resize",lo],ss(St),Ee.forEach(function(h){return h.enable(0,1)}),c=0;c<Se.length;c+=3)ls(bt,Se[c],Se[c+1]),ls(bt,Se[c],Se[c+2]);}else if(je){var f=l(function h(){a.enable(),je.removeEventListener("DOMContentLoaded",h);},"onLoad");je.addEventListener("DOMContentLoaded",f);}}},"enable"),a.config=l(function(r){"limitCallbacks"in r&&(Ra=!!r.limitCallbacks);var i=r.syncInterval;i&&clearInterval(ns)||(ns=i)&&setInterval(Gu,i),"ignoreMobileResize"in r&&(Ia=a.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(ss(bt)||ss(St,r.autoRefreshEvents||"none"),rc=(r.autoRefreshEvents+"").indexOf("resize")===-1);},"config"),a.scrollerProxy=l(function(r,i){var n=$t(r),s=Se.indexOf(n),o=ji(n);~s&&Se.splice(s,o?6:2),i&&(o?Or.unshift(ke,i,qe,i,mr,i):Or.unshift(n,i));},"scrollerProxy"),a.clearMatchMedia=l(function(r){Ee.forEach(function(i){return i._ctx&&i._ctx.query===r&&i._ctx.kill(true,true)});},"clearMatchMedia"),a.isInViewport=l(function(r,i,n){var s=(gr(r)?$t(r):r).getBoundingClientRect(),o=s[n?qi:Gi]*i||0;return n?s.right-o>0&&s.left+o<ke.innerWidth:s.bottom-o>0&&s.top+o<ke.innerHeight},"isInViewport"),a.positionInViewport=l(function(r,i,n){gr(r)&&(r=$t(r));var s=r.getBoundingClientRect(),o=s[n?qi:Gi],c=i==null?o/2:i in ws?ws[i]*o:~i.indexOf("%")?parseFloat(i)*o/100:parseFloat(i)||0;return n?(s.left+c)/ke.innerWidth:(s.top+c)/ke.innerHeight},"positionInViewport"),a.killAll=l(function(r){if(Ee.slice(0).forEach(function(n){return n.vars.id!=="ScrollSmoother"&&n.kill()}),r!==true){var i=Ki.killAll||[];Ki={},i.forEach(function(n){return n()});}},"killAll"),a})();j.version="3.15.0";j.saveStyles=function(a){return a?_o(a).forEach(function(e){if(e&&e.style){var t=pr.indexOf(e);t>=0&&pr.splice(t,5),pr.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),te.core.getCache(e),Ba());}}):pr};j.revert=function(a,e){return Za(!a,e)};j.create=function(a,e){return new j(a,e)};j.refresh=function(a){return a?lo(true):(xn||j.register())&&Vi(true)};j.update=function(a){return ++Se.cache&&Jr(a===true?2:0)};j.clearScrollMemory=gc;j.maxScroll=function(a,e){return Yr(a,e?Yt:pt)};j.getScrollFunc=function(a,e){return Qr($t(a),e?Yt:pt)};j.getById=function(a){return Xa[a]};j.getAll=function(){return Ee.filter(function(a){return a.vars.id!=="ScrollSmoother"})};j.isScrolling=function(){return !!Er};j.snapDirectional=$a;j.addEventListener=function(a,e){var t=Ki[a]||(Ki[a]=[]);~t.indexOf(e)||t.push(e);};j.removeEventListener=function(a,e){var t=Ki[a],r=t&&t.indexOf(e);r>=0&&t.splice(r,1);};j.batch=function(a,e){var t=[],r={},i=e.interval||.016,n=e.batchMax||1e9,s=l(function(f,h){var p=[],g=[],u=te.delayedCall(i,function(){h(p,g),p=[],g=[];}).pause();return function(m){p.length||u.restart(true),p.push(m.trigger),g.push(m),n<=p.length&&u.progress(1);}},"proxyCallback"),o;for(o in e)r[o]=o.substr(0,2)==="on"&&Vt(e[o])&&o!=="onRefreshInit"?s(o,e[o]):e[o];return Vt(n)&&(n=n(),St(j,"refresh",function(){return n=e.batchMax()})),_o(a).forEach(function(c){var f={};for(o in r)f[o]=r[o];f.trigger=c,t.push(j.create(f));}),t};var Zu=l(function(e,t,r,i){return t>i?e(i):t<0&&e(0),r>i?(i-t)/(r-t):r<0?t/(t-r):1},"_clampScrollAndGetDurationMultiplier"),Ha=l(function a(e,t){t===true?e.style.removeProperty("touch-action"):e.style.touchAction=t===true?"auto":t?"pan-"+t+(ct.isTouch?" pinch-zoom":""):"none",e===mr&&a(qe,t);},"_allowNativePanning"),ds={auto:1,scroll:1},Td=l(function(e){var t=e.event,r=e.target,i=e.axis,n=(t.changedTouches?t.changedTouches[0]:t).target,s=n._gsap||te.core.getCache(n),o=Wt(),c;if(!s._isScrollT||o-s._isScrollT>2e3){for(;n&&n!==qe&&(n.scrollHeight<=n.clientHeight&&n.scrollWidth<=n.clientWidth||!(ds[(c=Sr(n)).overflowY]||ds[c.overflowX]));)n=n.parentNode;s._isScroll=n&&n!==r&&!ji(n)&&(ds[(c=Sr(n)).overflowY]||ds[c.overflowX]),s._isScrollT=o;}(s._isScroll||i==="x")&&(t.stopPropagation(),t._gsapAllow=true);},"_nestedScroll"),yc=l(function(e,t,r,i){return ct.create({target:e,capture:true,debounce:false,lockAxis:true,type:t,onWheel:i=i&&Td,onPress:i,onDrag:i,onScroll:i,onEnable:l(function(){return r&&St(je,ct.eventTypes[0],ec,false,true)},"onEnable"),onDisable:l(function(){return bt(je,ct.eventTypes[0],ec,true)},"onDisable")})},"_inputObserver"),bd=/(input|label|select|textarea)/i,Ju,ec=l(function(e){var t=bd.test(e.target.tagName);(t||Ju)&&(e._gsapAllow=true,Ju=t);},"_captureInputs"),Sd=l(function(e){Wi(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=true,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t=e,r=t.normalizeScrollX,i=t.momentum,n=t.allowNestedScroll,s=t.onRelease,o,c,f=$t(e.target)||mr,h=te.core.globals().ScrollSmoother,p=h&&h.get(),g=vi&&(e.content&&$t(e.content)||p&&e.content!==false&&!p.smooth()&&p.content()),u=Qr(f,pt),m=Qr(f,Yt),d=1,_=(ct.isTouch&&ke.visualViewport?ke.visualViewport.scale*ke.visualViewport.width:ke.outerWidth)/ke.innerWidth,y=0,v=Vt(i)?function(){return i(o)}:function(){return i||2.8},k,T,x=yc(f,e.type,true,n),O=l(function(){return T=false},"resumeTouchMove"),S=Br,C=Br,D=l(function(){c=Yr(f,pt),C=uo(vi?1:0,c),r&&(S=uo(0,Yr(f,Yt))),k=Ui;},"updateClamps"),L=l(function(){g._gsap.y=so(parseFloat(g._gsap.y)+u.offset)+"px",g.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(g._gsap.y)+", 0, 1)",u.offset=u.cacheID=0;},"removeContentOffset"),H=l(function(){if(T){requestAnimationFrame(O);var se=so(o.deltaY/2),ie=C(u.v-se);if(g&&ie!==u.v+u.offset){u.offset=ie-u.v;var b=so((parseFloat(g&&g._gsap.y)||0)-u.offset);g.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+b+", 0, 1)",g._gsap.y=b+"px",u.cacheID=Se.cache,Jr();}return true}u.offset&&L(),T=true;},"ignoreDrag"),N,z,X,K,G=l(function(){D(),N.isActive()&&N.vars.scrollY>c&&(u()>c?N.progress(1)&&u(c):N.resetTo("scrollY",c));},"onResize");return g&&te.set(g,{y:"+=0"}),e.ignoreCheck=function(V){return vi&&V.type==="touchmove"&&H(V)||d>1.05&&V.type!=="touchstart"||o.isGesturing||V.touches&&V.touches.length>1},e.onPress=function(){T=false;var V=d;d=so((ke.visualViewport&&ke.visualViewport.scale||1)/_),N.pause(),V!==d&&Ha(f,d>1.01?true:r?false:"x"),z=m(),X=u(),D(),k=Ui;},e.onRelease=e.onGestureStart=function(V,se){if(u.offset&&L(),!se)K.restart(true);else {Se.cache++;var ie=v(),b,$;r&&(b=m(),$=b+ie*.05*-V.velocityX/.227,ie*=Zu(m,b,$,Yr(f,Yt)),N.vars.scrollX=S($)),b=u(),$=b+ie*.05*-V.velocityY/.227,ie*=Zu(u,b,$,Yr(f,pt)),N.vars.scrollY=C($),N.invalidate().duration(ie).play(.01),(vi&&N.vars.scrollY>=c||b>=c-1)&&te.to({},{onUpdate:G,duration:ie});}s&&s(V);},e.onWheel=function(){N._ts&&N.pause(),Wt()-y>1e3&&(k=0,y=Wt());},e.onChange=function(V,se,ie,b,$){if(Ui!==k&&D(),se&&r&&m(S(b[2]===se?z+(V.startX-V.x):m()+se-b[1])),ie){u.offset&&L();var ae=$[2]===ie,ue=ae?X+V.startY-V.y:u()+ie-$[1],ne=C(ue);ae&&ue!==ne&&(X+=ne-ue),u(ne);}(ie||se)&&Jr();},e.onEnable=function(){Ha(f,r?false:"x"),j.addEventListener("refresh",G),St(ke,"resize",G),u.smooth&&(u.target.style.scrollBehavior="auto",u.smooth=m.smooth=false),x.enable();},e.onDisable=function(){Ha(f,true),bt(ke,"resize",G),j.removeEventListener("refresh",G),x.kill();},e.lockAxis=e.lockAxis!==false,o=new ct(e),o.iOS=vi,vi&&!u()&&u(1),vi&&te.ticker.add(Br),K=o._dc,N=te.to(o,{ease:"power4",paused:true,inherit:false,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:_c(u,u(),function(){return N.pause()})},onUpdate:Jr,onComplete:K.vars.onComplete}),o},"_getScrollNormalizer");j.sort=function(a){if(Vt(a))return Ee.sort(a);var e=ke.pageYOffset||0;return j.getAll().forEach(function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+ke.innerHeight}),Ee.sort(a||function(t,r){return (t.vars.refreshPriority||0)*-1e6+(t.vars.containerAnimation?1e6:t._sortY)-((r.vars.containerAnimation?1e6:r._sortY)+(r.vars.refreshPriority||0)*-1e6)})};j.observe=function(a){return new ct(a)};j.normalizeScroll=function(a){if(typeof a>"u")return Zt;if(a===true&&Zt)return Zt.enable();if(a===false){Zt&&Zt.kill(),Zt=a;return}var e=a instanceof ct?a:Sd(a);return Zt&&Zt.target===e.target&&Zt.kill(),ji(e.target)&&(Zt=e),e};j.core={_getVelocityProp:is,_inputObserver:yc,_scrollers:Se,_proxies:Or,bridge:{ss:l(function(){Er||Qi("scrollStart"),Er=Wt();},"ss"),ref:l(function(){return Xt},"ref")}};sc()&&te.registerPlugin(j);var vo,xo,vc=typeof Symbol=="function"?Symbol():"_split",el,Ed=l(()=>el||xi.register(window.gsap),"_initIfNecessary"),xc=typeof Intl<"u"&&"Segmenter"in Intl?new Intl.Segmenter:0,wo=l(a=>a?typeof a=="string"?wo(document.querySelectorAll(a)):"length"in a?Array.from(a).reduce((e,t)=>(typeof t=="string"?e.push(...wo(t)):e.push(t),e),[]):[a]:[],"_toArray"),wc=l(a=>wo(a).filter(e=>e&&e.nodeType===1),"_elements"),tl=[],Ja=l(function(){},"_context"),kd={add:l(a=>a(),"add")},Cd=/\s+/g,Tc=new RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.","gu"),bs={left:0,top:0,width:0,height:0},Md=l((a,e)=>{for(;++e<a.length&&a[e]===bs;);return a[e]||bs},"_findNextValidBounds"),bc=l(({element:a,html:e,ariaL:t,ariaH:r})=>{a.innerHTML=e,t?a.setAttribute("aria-label",t):a.removeAttribute("aria-label"),r?a.setAttribute("aria-hidden",r):a.removeAttribute("aria-hidden");},"_revertOriginal"),Sc=l((a,e)=>{if(e){let t=new Set(a.join("").match(e)||tl),r=a.length,i,n,s,o;if(t.size)for(;--r>-1;){n=a[r];for(s of t)if(s.startsWith(n)&&s.length>n.length){for(i=0,o=n;s.startsWith(o+=a[r+ ++i])&&o.length<s.length;);if(i&&o.length===s.length){a[r]=s,a.splice(r+1,i);break}}}}return a},"_stretchToFitSpecialChars"),Ec=l(a=>window.getComputedStyle(a).display==="inline"&&(a.style.display="inline-block"),"_disallowInline"),En=l((a,e,t)=>e.insertBefore(typeof a=="string"?document.createTextNode(a):a,t),"_insertNodeBefore"),rl=l((a,e,t)=>{let r=e[a+"sClass"]||"",{tag:i="div",aria:n="auto",propIndex:s=false}=e,o=a==="line"?"block":"inline-block",c=r.indexOf("++")>-1,f=l(h=>{let p=document.createElement(i),g=t.length+1;return r&&(p.className=r+(c?" "+r+g:"")),s&&p.style.setProperty("--"+a,g+""),n!=="none"&&p.setAttribute("aria-hidden","true"),i!=="span"&&(p.style.position="relative",p.style.display=o),p.textContent=h,t.push(p),p},"wrapper");return c&&(r=r.replace("++","")),f.collection=t,f},"_getWrapper"),Pd=l((a,e,t,r)=>{let i=rl("line",t,r),n=window.getComputedStyle(a).textAlign||"left";return (s,o)=>{let c=i("");for(c.style.textAlign=n,a.insertBefore(c,e[s]);s<o;s++)c.appendChild(e[s]);c.normalize();}},"_getLineWrapper"),kc=l((a,e,t,r,i,n,s,o,c,f)=>{var h;let p=Array.from(a.childNodes),g=0,{wordDelimiter:u,reduceWhiteSpace:m=true,prepareText:d}=e,_=a.getBoundingClientRect(),y=_,v=!m&&window.getComputedStyle(a).whiteSpace.substring(0,3)==="pre",k=0,T=t.collection,x,O,S,C,D,L,H,N,z,X,K,G,V,se,ie,b,$,ae;for(typeof u=="object"?(S=u.delimiter||u,O=u.replaceWith||""):O=u===""?"":u||" ",x=O!==" ";g<p.length;g++)if(C=p[g],C.nodeType===3){for(ie=C.textContent||"",m?ie=ie.replace(Cd," "):v&&(ie=ie.replace(/\n/g,O+`
|
|
2
|
-
`)),
|
|
3
|
-
`&&((h=C.previousSibling)==null||h.remove(),En(document.createElement("br"),a,C),b=b.slice(1)),!m&&b==="")En(O,a,C);else if(b===" ")a.insertBefore(document.createTextNode(" "),C);else {if(x&&b.charAt(0)===" "&&En(" ",a,C),k&&z===1&&!H&&T.indexOf(k.parentNode)>-1?(L=T[T.length-1],L.appendChild(document.createTextNode(r?"":b))):(L=t(r?"":b),En(L,a,C),k&&z===1&&!H&&L.insertBefore(k,L.firstChild)),r)for(K=xc?Sc([...xc.segment(b)].map(ue=>ue.segment),c):b.match(o)||tl,ae=0;ae<K.length;ae++)L.appendChild(K[ae]===" "?document.createTextNode(" "):r(K[ae]));if(n&&f){if(ie=C.textContent=ie.substring(b.length+1,ie.length),X=L.getBoundingClientRect(),X.top>y.top&&X.left<=y.left){for(G=a.cloneNode(),V=a.childNodes[0];V&&V!==L;)se=V,V=V.nextSibling,G.appendChild(se);a.parentNode.insertBefore(G,a),i&&Ec(G);}y=X;}(z<D.length||N)&&En(z>=D.length?" ":x&&b.slice(-1)===" "?" "+O:O,a,C);}a.removeChild(C),k=0;}else C.nodeType===1&&(s&&s.indexOf(C)>-1?(T.indexOf(C.previousSibling)>-1&&T[T.length-1].appendChild(C),k=C):(kc(C,e,t,r,i,n,s,o,c,true),k=0),i&&Ec(C));},"_splitWordsAndCharsRecursively"),$i,Cc=($i=class{constructor(e,t){this.isSplit=false,Ed(),this.elements=wc(e),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=t,this.elements.forEach(s=>{var o;t.overwrite!==false&&((o=s[vc])==null||o._data.orig.filter(({element:c})=>c===s).forEach(bc)),s[vc]=this;}),this._split=()=>this.isSplit&&this.split(this.vars);let r=[],i,n=l(()=>{let s=r.length,o;for(;s--;){o=r[s];let c=o.element.offsetWidth;if(c!==o.width){o.width=c,this._split();return}}},"checkWidths");this._data={orig:r,obs:typeof ResizeObserver<"u"&&new ResizeObserver(()=>{clearTimeout(i),i=setTimeout(n,200);})},Ja(this),this.split(t);}split(e){return (this._ctx||kd).add(()=>{this.isSplit&&this.revert(),this.vars=e=e||this.vars||{};let{type:t="chars,words,lines",aria:r="auto",deepSlice:i=true,smartWrap:n,onSplit:s,autoSplit:o=false,specialChars:c,mask:f}=this.vars,h=t.indexOf("lines")>-1,p=t.indexOf("chars")>-1,g=t.indexOf("words")>-1,u=p&&!g&&!h,m=c&&("push"in c?new RegExp("(?:"+c.join("|")+")","gu"):c),d=m?new RegExp(m.source+"|"+Tc.source,"gu"):Tc,_=!!e.ignore&&wc(e.ignore),{orig:y,animTime:v,obs:k}=this._data,T;(p||g||h)&&(this.elements.forEach((x,O)=>{y[O]={element:x,html:x.innerHTML,ariaL:x.getAttribute("aria-label"),ariaH:x.getAttribute("aria-hidden")},r==="auto"?x.setAttribute("aria-label",(x.textContent||"").trim()):r==="hidden"&&x.setAttribute("aria-hidden","true");let S=[],C=[],D=[],L=p?rl("char",e,S):null,H=rl("word",e,C),N,z,X,K;if(kc(x,e,H,L,u,i&&(h||u),_,d,m,false),h){let G=wo(x.childNodes),V=Pd(x,G,e,D),se,ie=[],b=0,$=G.map(ne=>ne.nodeType===1?ne.getBoundingClientRect():bs),ae=bs,ue;for(N=0;N<G.length;N++)se=G[N],se.nodeType===1&&(se.nodeName==="BR"?((!N||G[N-1].nodeName!=="BR")&&(ie.push(se),V(b,N+1)),b=N+1,ae=Md($,N)):(ue=$[N],N&&ue.top>ae.top&&ue.left<ae.left+ae.width-1&&(V(b,N),b=N),ae=ue));b<N&&V(b,N),ie.forEach(ne=>{var Oe;return (Oe=ne.parentNode)==null?void 0:Oe.removeChild(ne)});}if(!g){for(N=0;N<C.length;N++)if(z=C[N],p||!z.nextSibling||z.nextSibling.nodeType!==3)if(n&&!h){for(X=document.createElement("span"),X.style.whiteSpace="nowrap";z.firstChild;)X.appendChild(z.firstChild);z.replaceWith(X);}else z.replaceWith(...z.childNodes);else K=z.nextSibling,K&&K.nodeType===3&&(K.textContent=(z.textContent||"")+(K.textContent||""),z.remove());C.length=0,x.normalize();}this.lines.push(...D),this.words.push(...C),this.chars.push(...S);}),f&&this[f]&&this.masks.push(...this[f].map(x=>{let O=x.cloneNode();return x.replaceWith(O),O.appendChild(x),x.className&&(O.className=x.className.trim().split(" ").map(S=>S+"-mask").join(" ")),O.style.overflow="clip",O}))),this.isSplit=true,xo&&h&&o&&xo.addEventListener("loadingdone",this._split),(T=s&&s(this))&&T.totalTime&&(this._data.anim=v?T.totalTime(v):T),h&&o&&this.elements.forEach((x,O)=>{y[O].width=x.offsetWidth,k&&k.observe(x);});}),this}kill(){let{obs:e}=this._data;e&&e.disconnect(),xo?.removeEventListener("loadingdone",this._split);}revert(){var e,t;if(this.isSplit){let{orig:r,anim:i}=this._data;this.kill(),r.forEach(bc),this.chars.length=this.words.length=this.lines.length=r.length=this.masks.length=0,this.isSplit=false,i&&(this._data.animTime=i.totalTime(),i.revert()),(t=(e=this.vars).onRevert)==null||t.call(e,this);}return this}static create(e,t){return new $i(e,t)}static register(e){vo=vo||e||window.gsap,vo&&(wo=vo.utils.toArray,Ja=vo.core.context||Ja),!el&&window.innerWidth>0&&(xo=document.fonts,el=true);}},l($i,"_SplitText"),$i);Cc.version="3.15.0";var xi=Cc;var ei,Zi,sl,ks,To,Ss,Es,bo,Lr="transform",ol=Lr+"Origin",Mc,Pc=l(function(e){var t=e.ownerDocument||e;for(!(Lr in e.style)&&("msTransform"in e.style)&&(Lr="msTransform",ol=Lr+"Origin");t.parentNode&&(t=t.parentNode););if(Zi=window,Es=new wi,t){ei=t,sl=t.documentElement,ks=t.body,bo=ei.createElementNS("http://www.w3.org/2000/svg","g"),bo.style.transform="none";var r=t.createElement("div"),i=t.createElement("div"),n=t&&(t.body||t.firstElementChild);n&&n.appendChild&&(n.appendChild(r),r.appendChild(i),r.style.position="static",r.style.transform="translate3d(0,0,1px)",Mc=i.offsetParent!==r,n.removeChild(r));}return t},"_setDoc"),Od=l(function(e){for(var t,r;e&&e!==ks;)r=e._gsap,r&&r.uncache&&r.get(e,"x"),r&&!r.scaleX&&!r.scaleY&&r.renderTransform&&(r.scaleX=r.scaleY=1e-4,r.renderTransform(1,r),t?t.push(r):t=[r]),e=e.parentNode;return t},"_forceNonZeroScale"),Oc=[],Lc=[],Ld=l(function(){return Zi.pageYOffset||ei.scrollTop||sl.scrollTop||ks.scrollTop||0},"_getDocScrollTop"),Dd=l(function(){return Zi.pageXOffset||ei.scrollLeft||sl.scrollLeft||ks.scrollLeft||0},"_getDocScrollLeft"),al=l(function(e){return e.ownerSVGElement||((e.tagName+"").toLowerCase()==="svg"?e:null)},"_svgOwner"),Rd=l(function a(e){if(Zi.getComputedStyle(e).position==="fixed")return true;if(e=e.parentNode,e&&e.nodeType===1)return a(e)},"_isFixed"),il=l(function a(e,t){if(e.parentNode&&(ei||Pc(e))){var r=al(e),i=r?r.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",n=r?t?"rect":"g":"div",s=t!==2?0:100,o=t===3?100:0,c={position:"absolute",display:"block",pointerEvents:"none",margin:"0",padding:"0"},f=ei.createElementNS?ei.createElementNS(i.replace(/^https/,"http"),n):ei.createElement(n);return t&&(r?(Ss||(Ss=a(e)),f.setAttribute("width",.01),f.setAttribute("height",.01),f.setAttribute("transform","translate("+s+","+o+")"),f.setAttribute("fill","transparent"),Ss.appendChild(f)):(To||(To=a(e),Object.assign(To.style,c)),Object.assign(f.style,c,{width:"0.1px",height:"0.1px",top:o+"px",left:s+"px"}),To.appendChild(f))),f}throw "Need document and parent."},"_createSibling"),Ad=l(function(e){for(var t=new wi,r=0;r<e.numberOfItems;r++)t.multiply(e.getItem(r).matrix);return t},"_consolidate"),Nd=l(function(e){var t=e.getCTM(),r;return t||(r=e.style[Lr],e.style[Lr]="none",e.appendChild(bo),t=bo.getCTM(),e.removeChild(bo),r?e.style[Lr]=r:e.style.removeProperty(Lr.replace(/([A-Z])/g,"-$1").toLowerCase())),t||Es.clone()},"_getCTM"),zd=l(function(e,t){var r=al(e),i=e===r,n=r?Oc:Lc,s=e.parentNode,o=s&&!r&&s.shadowRoot&&s.shadowRoot.appendChild?s.shadowRoot:s,c,f,h,p,g,u;if(e===Zi)return e;if(n.length||n.push(il(e,1),il(e,2),il(e,3)),c=r?Ss:To,r)i?(h=Nd(e),p=-h.e/h.a,g=-h.f/h.d,f=Es):e.getBBox?(h=e.getBBox(),f=e.transform?e.transform.baseVal:{},f=f.numberOfItems?f.numberOfItems>1?Ad(f):f.getItem(0).matrix:Es,p=f.a*h.x+f.c*h.y,g=f.b*h.x+f.d*h.y):(f=new wi,p=g=0),t&&e.tagName.toLowerCase()==="g"&&(p=g=0),(i||!e.getBoundingClientRect().width?r:s).appendChild(c),c.setAttribute("transform","matrix("+f.a+","+f.b+","+f.c+","+f.d+","+(f.e+p)+","+(f.f+g)+")");else {if(p=g=0,Mc)for(f=e.offsetParent,h=e;h&&(h=h.parentNode)&&h!==f&&h.parentNode;)(Zi.getComputedStyle(h)[Lr]+"").length>4&&(p=h.offsetLeft,g=h.offsetTop,h=0);if(u=Zi.getComputedStyle(e),u.position!=="absolute"&&u.position!=="fixed")for(f=e.offsetParent;s&&s!==f;)p+=s.scrollLeft||0,g+=s.scrollTop||0,s=s.parentNode;h=c.style,h.top=e.offsetTop-g+"px",h.left=e.offsetLeft-p+"px",h[Lr]=u[Lr],h[ol]=u[ol],h.position=u.position==="fixed"?"fixed":"absolute",o.appendChild(c);}return c},"_placeSiblings"),nl=l(function(e,t,r,i,n,s,o){return e.a=t,e.b=r,e.c=i,e.d=n,e.e=s,e.f=o,e},"_setMatrix"),wi=(function(){function a(t,r,i,n,s,o){t===void 0&&(t=1),r===void 0&&(r=0),i===void 0&&(i=0),n===void 0&&(n=1),s===void 0&&(s=0),o===void 0&&(o=0),nl(this,t,r,i,n,s,o);}l(a,"Matrix2D");var e=a.prototype;return e.inverse=l(function(){var r=this.a,i=this.b,n=this.c,s=this.d,o=this.e,c=this.f,f=r*s-i*n||1e-10;return nl(this,s/f,-i/f,-n/f,r/f,(n*c-s*o)/f,-(r*c-i*o)/f)},"inverse"),e.multiply=l(function(r){var i=this.a,n=this.b,s=this.c,o=this.d,c=this.e,f=this.f,h=r.a,p=r.c,g=r.b,u=r.d,m=r.e,d=r.f;return nl(this,h*i+g*s,h*n+g*o,p*i+u*s,p*n+u*o,c+m*i+d*s,f+m*n+d*o)},"multiply"),e.clone=l(function(){return new a(this.a,this.b,this.c,this.d,this.e,this.f)},"clone"),e.equals=l(function(r){var i=this.a,n=this.b,s=this.c,o=this.d,c=this.e,f=this.f;return i===r.a&&n===r.b&&s===r.c&&o===r.d&&c===r.e&&f===r.f},"equals"),e.apply=l(function(r,i){i===void 0&&(i={});var n=r.x,s=r.y,o=this.a,c=this.b,f=this.c,h=this.d,p=this.e,g=this.f;return i.x=n*o+s*f+p||0,i.y=n*c+s*h+g||0,i},"apply"),a})();function Ti(a,e,t,r){if(!a||!a.parentNode||(ei||Pc(a)).documentElement===a)return new wi;var i=Od(a),n=al(a),s=n?Oc:Lc,o=zd(a,t),c=s[0].getBoundingClientRect(),f=s[1].getBoundingClientRect(),h=s[2].getBoundingClientRect(),p=o.parentNode,g=!r&&Rd(a),u=new wi((f.left-c.left)/100,(f.top-c.top)/100,(h.left-c.left)/100,(h.top-c.top)/100,c.left+(g?0:Dd()),c.top+(g?0:Ld()));if(p.removeChild(o),i)for(c=i.length;c--;)f=i[c],f.scaleX=f.scaleY=0,f.renderTransform(1,f);return e?u.inverse():u}l(Ti,"getGlobalMatrix");function Dc(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}l(Dc,"_assertThisInitialized");function Hd(a,e){a.prototype=Object.create(e.prototype),a.prototype.constructor=a,a.__proto__=e;}l(Hd,"_inheritsLoose");var Re,tt,yr,Rr,ii,ll,ri,dl,Eo,Ei,Wc,pl,Oo,yl,ko,_r,Co,Ps,Vc,gl,Ls=0,qc=l(function(){return typeof window<"u"},"_windowExists"),Gc=l(function(){return Re||qc()&&(Re=window.gsap)&&Re.registerPlugin&&Re},"_getGSAP"),Si=l(function(e){return typeof e=="function"},"_isFunction"),Mo=l(function(e){return typeof e=="object"},"_isObject"),Dr=l(function(e){return typeof e>"u"},"_isUndefined"),Os=l(function(){return false},"_emptyFunc"),Po="transform",ml="transformOrigin",tr=l(function(e){return Math.round(e*1e4)/1e4},"_round"),So=Array.isArray,Cs=l(function(e,t){var r=yr.createElementNS?yr.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):yr.createElement(e);return r.style?r:yr.createElement(e)},"_createElement"),Rc=180/Math.PI,Ji=1e20,Fd=new wi,bi=Date.now||function(){return new Date().getTime()},tn=[],Mn={},Id=0,Bd=/^(?:a|input|textarea|button|select)$/i,Ac=0,kn={},ti={},Uc=l(function(e,t){var r={},i;for(i in e)r[i]=t?e[i]*t:e[i];return r},"_copy"),Yd=l(function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},"_extend"),Nc=l(function a(e,t){for(var r=e.length,i;r--;)t?e[r].style.touchAction=t:e[r].style.removeProperty("touch-action"),i=e[r].children,i&&i.length&&a(i,t);},"_setTouchActionForAllDescendants"),jc=l(function(){return tn.forEach(function(e){return e()})},"_renderQueueTick"),Xd=l(function(e){tn.push(e),tn.length===1&&Re.ticker.add(jc);},"_addToRenderQueue"),zc=l(function(){return !tn.length&&Re.ticker.remove(jc)},"_renderQueueTimeout"),Hc=l(function(e){for(var t=tn.length;t--;)tn[t]===e&&tn.splice(t,1);Re.to(zc,{overwrite:true,delay:15,duration:0,onComplete:zc,data:"_draggable"});},"_removeFromRenderQueue"),Wd=l(function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},"_setDefaults"),xt=l(function(e,t,r,i){if(e.addEventListener){var n=Oo[t];i=i||(Wc?{passive:false}:null),e.addEventListener(n||t,r,i),n&&t!==n&&e.addEventListener(t,r,i);}},"_addListener"),mt=l(function(e,t,r,i){if(e.removeEventListener){var n=Oo[t];e.removeEventListener(n||t,r,i),n&&t!==n&&e.removeEventListener(t,r,i);}},"_removeListener"),kr=l(function(e){e.preventDefault&&e.preventDefault(),e.preventManipulation&&e.preventManipulation();},"_preventDefault"),Vd=l(function(e,t){for(var r=e.length;r--;)if(e[r].identifier===t)return true},"_hasTouchID"),qd=l(function a(e){yl=e.touches&&Ls<e.touches.length,mt(e.target,"touchend",a);},"_onMultiTouchDocumentEnd"),Fc=l(function(e){yl=e.touches&&Ls<e.touches.length,xt(e.target,"touchend",qd);},"_onMultiTouchDocument"),Pn=l(function(e){return tt.pageYOffset||e.scrollTop||e.documentElement.scrollTop||e.body.scrollTop||0},"_getDocScrollTop"),On=l(function(e){return tt.pageXOffset||e.scrollLeft||e.documentElement.scrollLeft||e.body.scrollLeft||0},"_getDocScrollLeft"),Ic=l(function a(e,t){xt(e,"scroll",t),Ln(e.parentNode)||a(e.parentNode,t);},"_addScrollListener"),Bc=l(function a(e,t){mt(e,"scroll",t),Ln(e.parentNode)||a(e.parentNode,t);},"_removeScrollListener"),Ln=l(function(e){return !e||e===Rr||e.nodeType===9||e===yr.body||e===tt||!e.nodeType||!e.parentNode},"_isRoot"),Yc=l(function(e,t){var r=t==="x"?"Width":"Height",i="scroll"+r,n="client"+r;return Math.max(0,Ln(e)?Math.max(Rr[i],ii[i])-(tt["inner"+r]||Rr[n]||ii[n]):e[i]-e[n])},"_getMaxScroll"),ul=l(function a(e,t){var r=Yc(e,"x"),i=Yc(e,"y");Ln(e)?e=ti:a(e.parentNode,t),e._gsMaxScrollX=r,e._gsMaxScrollY=i,t||(e._gsScrollX=e.scrollLeft||0,e._gsScrollY=e.scrollTop||0);},"_recordMaxScrolls"),cl=l(function(e,t,r){var i=e.style;i&&(Dr(i[t])&&(t=Eo(t,e)||t),r==null?i.removeProperty&&i.removeProperty(t.replace(/([A-Z])/g,"-$1").toLowerCase()):i[t]=r);},"_setStyle"),Lo=l(function(e){return tt.getComputedStyle(e instanceof Element?e:e.host||(e.parentNode||{}).host||e)},"_getComputedStyle"),en={},Cn=l(function(e){if(e===tt)return en.left=en.top=0,en.width=en.right=Rr.clientWidth||e.innerWidth||ii.clientWidth||0,en.height=en.bottom=(e.innerHeight||0)-20<Rr.clientHeight?Rr.clientHeight:e.innerHeight||ii.clientHeight||0,en;var t=e.ownerDocument||yr,r=Dr(e.pageX)?!e.nodeType&&!Dr(e.left)&&!Dr(e.top)?e:Ei(e)[0].getBoundingClientRect():{left:e.pageX-On(t),top:e.pageY-Pn(t),right:e.pageX-On(t)+1,bottom:e.pageY-Pn(t)+1};return Dr(r.right)&&!Dr(r.width)?(r.right=r.left+r.width,r.bottom=r.top+r.height):Dr(r.width)&&(r={width:r.right-r.left,height:r.bottom-r.top,right:r.right,left:r.left,bottom:r.bottom,top:r.top}),r},"_parseRect"),dt=l(function(e,t,r){var i=e.vars,n=i[r],s=e._listeners[t],o;return Si(n)&&(o=n.apply(i.callbackScope||e,i[r+"Params"]||[e.pointerEvent])),s&&e.dispatchEvent(t)===false&&(o=false),o},"_dispatchEvent"),Xc=l(function(e,t){var r=Ei(e)[0],i,n,s;return !r.nodeType&&r!==tt?Dr(e.left)?(n=e.min||e.minX||e.minRotation||0,i=e.min||e.minY||0,{left:n,top:i,width:(e.max||e.maxX||e.maxRotation||0)-n,height:(e.max||e.maxY||0)-i}):(s={x:0,y:0},{left:e.left-s.x,top:e.top-s.y,width:e.width,height:e.height}):Gd(r,t)},"_getBounds"),Cr={},Gd=l(function(e,t){t=Ei(t)[0];var r=e.getBBox&&e.ownerSVGElement,i=e.ownerDocument||yr,n,s,o,c,f,h,p,g,u,m,d,_,y;if(e===tt)o=Pn(i),n=On(i),s=n+(i.documentElement.clientWidth||e.innerWidth||i.body.clientWidth||0),c=o+((e.innerHeight||0)-20<i.documentElement.clientHeight?i.documentElement.clientHeight:e.innerHeight||i.body.clientHeight||0);else {if(t===tt||Dr(t))return e.getBoundingClientRect();n=o=0,r?(m=e.getBBox(),d=m.width,_=m.height):(e.viewBox&&(m=e.viewBox.baseVal)&&(n=m.x||0,o=m.y||0,d=m.width,_=m.height),d||(y=Lo(e),m=y.boxSizing==="border-box",d=(parseFloat(y.width)||e.clientWidth||0)+(m?0:parseFloat(y.borderLeftWidth)+parseFloat(y.borderRightWidth)),_=(parseFloat(y.height)||e.clientHeight||0)+(m?0:parseFloat(y.borderTopWidth)+parseFloat(y.borderBottomWidth)))),s=d,c=_;}return e===t?{left:n,top:o,width:s-n,height:c-o}:(f=Ti(t,true).multiply(Ti(e)),h=f.apply({x:n,y:o}),p=f.apply({x:s,y:o}),g=f.apply({x:s,y:c}),u=f.apply({x:n,y:c}),n=Math.min(h.x,p.x,g.x,u.x),o=Math.min(h.y,p.y,g.y,u.y),{left:n,top:o,width:Math.max(h.x,p.x,g.x,u.x)-n,height:Math.max(h.y,p.y,g.y,u.y)-o})},"_getElementBounds"),fl=l(function(e,t,r,i,n,s){var o={},c,f,h;if(t)if(n!==1&&t instanceof Array){if(o.end=c=[],h=t.length,Mo(t[0]))for(f=0;f<h;f++)c[f]=Uc(t[f],n);else for(f=0;f<h;f++)c[f]=t[f]*n;r+=1.1,i-=1.1;}else Si(t)?o.end=function(p){var g=t.call(e,p),u,m;if(n!==1)if(Mo(g)){u={};for(m in g)u[m]=g[m]*n;g=u;}else g*=n;return g}:o.end=t;return (r||r===0)&&(o.max=r),(i||i===0)&&(o.min=i),s&&(o.velocity=0),o},"_parseInertia"),Ud=l(function a(e){var t;return !e||!e.getAttribute||e===ii?false:(t=e.getAttribute("data-clickable"))==="true"||t!=="false"&&(Bd.test(e.nodeName+"")||e.getAttribute("contentEditable")==="true")?true:a(e.parentNode)},"_isClickable"),Ms=l(function(e,t){for(var r=e.length,i;r--;)i=e[r],i.ondragstart=i.onselectstart=t?null:Os,Re.set(i,{lazy:true,userSelect:t?"text":"none"});},"_setSelectable"),jd=l(function a(e){if(Lo(e).position==="fixed")return true;if(e=e.parentNode,e&&e.nodeType===1)return a(e)},"_isFixed"),Kc,_l,Kd=l(function(e,t){e=Re.utils.toArray(e)[0],t=t||{};var r=document.createElement("div"),i=r.style,n=e.firstChild,s=0,o=0,c=e.scrollTop,f=e.scrollLeft,h=e.scrollWidth,p=e.scrollHeight,g=0,u=0,m=0,d,_,y,v,k,T;Kc&&t.force3D!==false?(k="translate3d(",T="px,0px)"):Po&&(k="translate(",T="px)"),this.scrollTop=function(x,O){if(!arguments.length)return -this.top();this.top(-x,O);},this.scrollLeft=function(x,O){if(!arguments.length)return -this.left();this.left(-x,O);},this.left=function(x,O){if(!arguments.length)return -(e.scrollLeft+o);var S=e.scrollLeft-f,C=o;if((S>2||S<-2)&&!O){f=e.scrollLeft,Re.killTweensOf(this,{left:1,scrollLeft:1}),this.left(-f),t.onKill&&t.onKill();return}x=-x,x<0?(o=x-.5|0,x=0):x>u?(o=x-u|0,x=u):o=0,(o||C)&&(this._skip||(i[Po]=k+-o+"px,"+-s+T),o+g>=0&&(i.paddingRight=o+g+"px")),e.scrollLeft=x|0,f=e.scrollLeft;},this.top=function(x,O){if(!arguments.length)return -(e.scrollTop+s);var S=e.scrollTop-c,C=s;if((S>2||S<-2)&&!O){c=e.scrollTop,Re.killTweensOf(this,{top:1,scrollTop:1}),this.top(-c),t.onKill&&t.onKill();return}x=-x,x<0?(s=x-.5|0,x=0):x>m?(s=x-m|0,x=m):s=0,(s||C)&&(this._skip||(i[Po]=k+-o+"px,"+-s+T)),e.scrollTop=x|0,c=e.scrollTop;},this.maxScrollTop=function(){return m},this.maxScrollLeft=function(){return u},this.disable=function(){for(n=r.firstChild;n;)v=n.nextSibling,e.appendChild(n),n=v;e===r.parentNode&&e.removeChild(r);},this.enable=function(){if(n=e.firstChild,n!==r){for(;n;)v=n.nextSibling,r.appendChild(n),n=v;e.appendChild(r),this.calibrate();}},this.calibrate=function(x){var O=e.clientWidth===d,S,C,D;c=e.scrollTop,f=e.scrollLeft,!(O&&e.clientHeight===_&&r.offsetHeight===y&&h===e.scrollWidth&&p===e.scrollHeight&&!x)&&((s||o)&&(C=this.left(),D=this.top(),this.left(-e.scrollLeft),this.top(-e.scrollTop)),S=Lo(e),(!O||x)&&(i.display="block",i.width="auto",i.paddingRight="0px",g=Math.max(0,e.scrollWidth-e.clientWidth),g&&(g+=parseFloat(S.paddingLeft)+(_l?parseFloat(S.paddingRight):0))),i.display="inline-block",i.position="relative",i.overflow="visible",i.verticalAlign="top",i.boxSizing="content-box",i.width="100%",i.paddingRight=g+"px",_l&&(i.paddingBottom=S.paddingBottom),d=e.clientWidth,_=e.clientHeight,h=e.scrollWidth,p=e.scrollHeight,u=e.scrollWidth-d,m=e.scrollHeight-_,y=r.offsetHeight,i.display="block",(C||D)&&(this.left(C),this.top(D)));},this.content=r,this.element=e,this._skip=false,this.enable();},"ScrollProxy"),hl=l(function(e){if(qc()&&document.body){var t=window&&window.navigator;tt=window,yr=document,Rr=yr.documentElement,ii=yr.body,ll=Cs("div"),Ps=!!window.PointerEvent,ri=Cs("div"),ri.style.cssText="visibility:hidden;height:1px;top:-1px;pointer-events:none;position:relative;clear:both;cursor:grab",Co=ri.style.cursor==="grab"?"grab":"move",ko=t&&t.userAgent.toLowerCase().indexOf("android")!==-1,pl="ontouchstart"in Rr&&"orientation"in tt||t&&(t.MaxTouchPoints>0||t.msMaxTouchPoints>0),_l=(function(){var r=Cs("div"),i=Cs("div"),n=i.style,s=ii,o;return n.display="inline-block",n.position="relative",r.style.cssText="width:90px;height:40px;padding:10px;overflow:auto;visibility:hidden",r.appendChild(i),s.appendChild(r),o=i.offsetHeight+18>r.scrollHeight,s.removeChild(r),o})(),Oo=(function(r){for(var i=r.split(","),n=("onpointerdown"in ll?"pointerdown,pointermove,pointerup,pointercancel":"onmspointerdown"in ll?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":r).split(","),s={},o=4;--o>-1;)s[i[o]]=n[o],s[n[o]]=i[o];try{Rr.addEventListener("test",null,Object.defineProperty({},"passive",{get:l(function(){Wc=1;},"get")}));}catch{}return s})("touchstart,touchmove,touchend,touchcancel"),xt(yr,"touchcancel",Os),xt(tt,"touchmove",Os),ii&&ii.addEventListener("touchstart",Os),xt(yr,"contextmenu",function(){for(var r in Mn)Mn[r].isPressed&&Mn[r].endDrag();}),Re=dl=Gc();}Re?(_r=Re.plugins.inertia,Vc=Re.core.context||function(){},Eo=Re.utils.checkPrefix,Po=Eo(Po),ml=Eo(ml),Ei=Re.utils.toArray,gl=Re.core.getStyleSaver,Kc=!!Eo("perspective")):e&&console.warn("Please gsap.registerPlugin(Draggable)");},"_initCore"),Qd=(function(){function a(t){this._listeners={},this.target=t||this;}l(a,"EventDispatcher");var e=a.prototype;return e.addEventListener=l(function(r,i){var n=this._listeners[r]||(this._listeners[r]=[]);~n.indexOf(i)||n.push(i);},"addEventListener"),e.removeEventListener=l(function(r,i){var n=this._listeners[r],s=n&&n.indexOf(i);s>=0&&n.splice(s,1);},"removeEventListener"),e.dispatchEvent=l(function(r){var i=this,n;return (this._listeners[r]||[]).forEach(function(s){return s.call(i,{type:r,target:i.target})===false&&(n=false)}),n},"dispatchEvent"),a})(),ni=(function(a){Hd(e,a);function e(t,r){var i;i=a.call(this)||this,dl||hl(1),t=Ei(t)[0],i.styles=gl&&gl(t,"transform,left,top"),_r||(_r=Re.plugins.inertia),i.vars=r=Uc(r||{}),i.target=t,i.x=i.y=i.rotation=0,i.dragResistance=parseFloat(r.dragResistance)||0,i.edgeResistance=isNaN(r.edgeResistance)?1:parseFloat(r.edgeResistance)||0,i.lockAxis=r.lockAxis,i.autoScroll=r.autoScroll||0,i.lockedAxis=null,i.allowEventDefault=!!r.allowEventDefault,Re.getProperty(t,"x");var n=(r.type||"x,y").toLowerCase(),s=~n.indexOf("x")||~n.indexOf("y"),o=n.indexOf("rotation")!==-1,c=o?"rotation":s?"x":"left",f=s?"y":"top",h=!!(~n.indexOf("x")||~n.indexOf("left")||n==="scroll"),p=!!(~n.indexOf("y")||~n.indexOf("top")||n==="scroll"),g=r.minimumMovement||2,u=Dc(i),m=Ei(r.trigger||r.handle||t),d={},_=0,y=false,v=r.autoScrollMarginTop||40,k=r.autoScrollMarginRight||40,T=r.autoScrollMarginBottom||40,x=r.autoScrollMarginLeft||40,O=r.clickableTest||Ud,S=0,C=t._gsap||Re.core.getCache(t),D=jd(t),L=l(function(w,F){return parseFloat(C.get(t,w,F))},"getPropAsNum"),H=t.ownerDocument||yr,N,z,X,K,G,V,se,ie,b,$,ae,ue,ne,Oe,Ae,Xe,be,rt,Ne,Qe,$e,_e,ye,le,wt,P,Ke,q,M,W,Z,he,pe,ve=l(function(w){return kr(w),w.stopImmediatePropagation&&w.stopImmediatePropagation(),false},"onContextMenu"),Fe=l(function J(w){if(u.autoScroll&&u.isDragging&&(y||be)){var F=t,E=u.autoScroll*15,R,B,A,U,I,Q,ce,re;for(y=false,ti.scrollTop=tt.pageYOffset!=null?tt.pageYOffset:H.documentElement.scrollTop!=null?H.documentElement.scrollTop:H.body.scrollTop,ti.scrollLeft=tt.pageXOffset!=null?tt.pageXOffset:H.documentElement.scrollLeft!=null?H.documentElement.scrollLeft:H.body.scrollLeft,U=u.pointerX-ti.scrollLeft,I=u.pointerY-ti.scrollTop;F&&!B;)B=Ln(F.parentNode),R=B?ti:F.parentNode,A=B?{bottom:Math.max(Rr.clientHeight,tt.innerHeight||0),right:Math.max(Rr.clientWidth,tt.innerWidth||0),left:0,top:0}:R.getBoundingClientRect(),Q=ce=0,p&&(re=R._gsMaxScrollY-R.scrollTop,re<0?ce=re:I>A.bottom-T&&re?(y=true,ce=Math.min(re,E*(1-Math.max(0,A.bottom-I)/T)|0)):I<A.top+v&&R.scrollTop&&(y=true,ce=-Math.min(R.scrollTop,E*(1-Math.max(0,I-A.top)/v)|0)),ce&&(R.scrollTop+=ce)),h&&(re=R._gsMaxScrollX-R.scrollLeft,re<0?Q=re:U>A.right-k&&re?(y=true,Q=Math.min(re,E*(1-Math.max(0,A.right-U)/k)|0)):U<A.left+x&&R.scrollLeft&&(y=true,Q=-Math.min(R.scrollLeft,E*(1-Math.max(0,U-A.left)/x)|0)),Q&&(R.scrollLeft+=Q)),B&&(Q||ce)&&(tt.scrollTo(R.scrollLeft,R.scrollTop),At(u.pointerX+Q,u.pointerY+ce)),F=R;}if(be){var me=u.x,He=u.y;o?(u.deltaX=me-parseFloat(C.rotation),u.rotation=me,C.rotation=me+"deg",C.renderTransform(1,C)):z?(p&&(u.deltaY=He-z.top(),z.top(He)),h&&(u.deltaX=me-z.left(),z.left(me))):s?(p&&(u.deltaY=He-parseFloat(C.y),C.y=He+"px"),h&&(u.deltaX=me-parseFloat(C.x),C.x=me+"px"),C.renderTransform(1,C)):(p&&(u.deltaY=He-parseFloat(t.style.top||0),t.style.top=He+"px"),h&&(u.deltaX=me-parseFloat(t.style.left||0),t.style.left=me+"px")),ie&&!w&&!q&&(q=true,dt(u,"drag","onDrag")===false&&(h&&(u.x-=u.deltaX),p&&(u.y-=u.deltaY),J(true)),q=false);}be=false;},"render"),de=l(function(w,F){var E=u.x,R=u.y,B,A;t._gsap||(C=Re.core.getCache(t)),C.uncache&&Re.getProperty(t,"x"),s?(u.x=parseFloat(C.x),u.y=parseFloat(C.y)):o?u.x=u.rotation=tr(parseFloat(C.rotation)):z?(u.y=z.top(),u.x=z.left()):(u.y=parseFloat(t.style.top||(A=Lo(t))&&A.top)||0,u.x=parseFloat(t.style.left||(A||{}).left)||0),(Ne||Qe||$e)&&!F&&(u.isDragging||u.isThrowing)&&($e&&(kn.x=u.x,kn.y=u.y,B=$e(kn),B.x!==u.x&&(u.x=B.x,be=true),B.y!==u.y&&(u.y=B.y,be=true)),Ne&&(B=Ne(u.x),B!==u.x&&(u.x=B,o&&(u.rotation=B),be=true)),Qe&&(B=Qe(u.y),B!==u.y&&(u.y=B),be=true)),be&&Fe(true),w||(u.deltaX=u.x-E,u.deltaY=u.y-R,dt(u,"throwupdate","onThrowUpdate"));},"syncXY"),We=l(function(w,F,E,R){return F==null&&(F=-Ji),E==null&&(E=Ji),Si(w)?function(B){var A=u.isPressed?1-u.edgeResistance:1;return w.call(u,(B>E?E+(B-E)*A:B<F?F+(B-F)*A:B)*R)*R}:So(w)?function(B){for(var A=w.length,U=0,I=Ji,Q,ce;--A>-1;)Q=w[A],ce=Q-B,ce<0&&(ce=-ce),ce<I&&Q>=F&&Q<=E&&(U=A,I=ce);return w[U]}:isNaN(w)?function(B){return B}:function(){return w*R}},"buildSnapFunc"),ze=l(function(w,F,E,R,B,A,U){return A=A&&A<Ji?A*A:Ji,Si(w)?function(I){var Q=u.isPressed?1-u.edgeResistance:1,ce=I.x,re=I.y,me,He,Ie;return I.x=ce=ce>E?E+(ce-E)*Q:ce<F?F+(ce-F)*Q:ce,I.y=re=re>B?B+(re-B)*Q:re<R?R+(re-R)*Q:re,me=w.call(u,I),me!==I&&(I.x=me.x,I.y=me.y),U!==1&&(I.x*=U,I.y*=U),A<Ji&&(He=I.x-ce,Ie=I.y-re,He*He+Ie*Ie>A&&(I.x=ce,I.y=re)),I}:So(w)?function(I){for(var Q=w.length,ce=0,re=Ji,me,He,Ie,Ce;--Q>-1;)Ie=w[Q],me=Ie.x-I.x,He=Ie.y-I.y,Ce=me*me+He*He,Ce<re&&(ce=Q,re=Ce);return re<=A?w[ce]:I}:function(I){return I}},"buildPointSnapFunc"),xe=l(function(){var w,F,E,R;se=false,z?(z.calibrate(),u.minX=ae=-z.maxScrollLeft(),u.minY=ne=-z.maxScrollTop(),u.maxX=$=u.maxY=ue=0,se=true):r.bounds&&(w=Xc(r.bounds,t.parentNode),o?(u.minX=ae=w.left,u.maxX=$=w.left+w.width,u.minY=ne=u.maxY=ue=0):!Dr(r.bounds.maxX)||!Dr(r.bounds.maxY)?(w=r.bounds,u.minX=ae=w.minX,u.minY=ne=w.minY,u.maxX=$=w.maxX,u.maxY=ue=w.maxY):(F=Xc(t,t.parentNode),u.minX=ae=Math.round(L(c,"px")+w.left-F.left),u.minY=ne=Math.round(L(f,"px")+w.top-F.top),u.maxX=$=Math.round(ae+(w.width-F.width)),u.maxY=ue=Math.round(ne+(w.height-F.height))),ae>$&&(u.minX=$,u.maxX=$=ae,ae=u.minX),ne>ue&&(u.minY=ue,u.maxY=ue=ne,ne=u.minY),o&&(u.minRotation=ae,u.maxRotation=$),se=true),r.liveSnap&&(E=r.liveSnap===true?r.snap||{}:r.liveSnap,R=So(E)||Si(E),o?(Ne=We(R?E:E.rotation,ae,$,1),Qe=null):E.points?$e=ze(R?E:E.points,ae,$,ne,ue,E.radius,z?-1:1):(h&&(Ne=We(R?E:E.x||E.left||E.scrollLeft,ae,$,z?-1:1)),p&&(Qe=We(R?E:E.y||E.top||E.scrollTop,ne,ue,z?-1:1))));},"calculateBounds"),ft=l(function(){u.isThrowing=false,dt(u,"throwcomplete","onThrowComplete");},"onThrowComplete"),ee=l(function(){u.isThrowing=false;},"onThrowInterrupt"),vr=l(function(w,F){var E,R,B,A;w&&_r?(w===true&&(E=r.snap||r.liveSnap||{},R=So(E)||Si(E),w={resistance:(r.throwResistance||r.resistance||1e3)/(o?10:1)},o?w.rotation=fl(u,R?E:E.rotation,$,ae,1,F):(h&&(w[c]=fl(u,R?E:E.points||E.x||E.left,$,ae,z?-1:1,F||u.lockedAxis==="x")),p&&(w[f]=fl(u,R?E:E.points||E.y||E.top,ue,ne,z?-1:1,F||u.lockedAxis==="y")),(E.points||So(E)&&Mo(E[0]))&&(w.linkedProps=c+","+f,w.radius=E.radius))),u.isThrowing=true,A=isNaN(r.overshootTolerance)?r.edgeResistance===1?0:1-u.edgeResistance+.2:r.overshootTolerance,w.duration||(w.duration={max:Math.max(r.minDuration||0,"maxDuration"in r?r.maxDuration:2),min:isNaN(r.minDuration)?A===0||Mo(w)&&w.resistance>1e3?0:.5:r.minDuration,overshoot:A}),u.tween=B=Re.to(z||t,{inertia:w,data:"_draggable",inherit:false,onComplete:ft,onInterrupt:ee,onUpdate:r.fastMode?dt:de,onUpdateParams:r.fastMode?[u,"onthrowupdate","onThrowUpdate"]:E&&E.radius?[false,true]:[]}),r.fastMode||(z&&(z._skip=true),B.render(1e9,true,true),de(true,true),u.endX=u.x,u.endY=u.y,o&&(u.endRotation=u.x),B.play(0),de(true,true),z&&(z._skip=false))):se&&u.applyBounds();},"animate"),Et=l(function(w){var F=le,E;le=Ti(t.parentNode,true),w&&u.isPressed&&!le.equals(F||new wi)&&(E=F.inverse().apply({x:X,y:K}),le.apply(E,E),X=E.x,K=E.y),le.equals(Fd)&&(le=null);},"updateMatrix"),Tt=l(function(){var w=1-u.edgeResistance,F=D?On(H):0,E=D?Pn(H):0,R,B,A;s&&(C.x=L(c,"px")+"px",C.y=L(f,"px")+"px",C.renderTransform()),Et(false),Cr.x=u.pointerX-F,Cr.y=u.pointerY-E,le&&le.apply(Cr,Cr),X=Cr.x,K=Cr.y,be&&(At(u.pointerX,u.pointerY),Fe(true)),he=Ti(t),z?(xe(),V=z.top(),G=z.left()):(Gt()?(de(true,true),xe()):u.applyBounds(),o?(R=t.ownerSVGElement?[C.xOrigin-t.getBBox().x,C.yOrigin-t.getBBox().y]:(Lo(t)[ml]||"0 0").split(" "),Xe=u.rotationOrigin=Ti(t).apply({x:parseFloat(R[0])||0,y:parseFloat(R[1])||0}),de(true,true),B=u.pointerX-Xe.x-F,A=Xe.y-u.pointerY+E,G=u.x,V=u.y=Math.atan2(A,B)*Rc):(V=L(f,"px"),G=L(c,"px"))),se&&w&&(G>$?G=$+(G-$)/w:G<ae&&(G=ae-(ae-G)/w),o||(V>ue?V=ue+(V-ue)/w:V<ne&&(V=ne-(ne-V)/w))),u.startX=G=tr(G),u.startY=V=tr(V);},"recordStartPositions"),Gt=l(function(){return u.tween&&u.tween.isActive()},"isTweening"),rr=l(function(){ri.parentNode&&!Gt()&&!u.isDragging&&ri.parentNode.removeChild(ri);},"removePlaceholder"),kt=l(function(w,F){var E;if(!N||u.isPressed||!w||(w.type==="mousedown"||w.type==="pointerdown")&&!F&&bi()-S<30&&Oo[u.pointerEvent.type]){Z&&w&&N&&kr(w);return}if(wt=Gt(),pe=false,u.pointerEvent=w,Oo[w.type]?(ye=~w.type.indexOf("touch")?w.currentTarget||w.target:H,xt(ye,"touchend",Ve),xt(ye,"touchmove",fe),xt(ye,"touchcancel",Ve),xt(H,"touchstart",Fc)):(ye=null,xt(H,"mousemove",fe)),Ke=null,(!Ps||!ye)&&(xt(H,"mouseup",Ve),w&&w.target&&xt(w.target,"mouseup",Ve)),_e=O.call(u,w.target)&&r.dragClickables===false&&!F,_e){xt(w.target,"change",Ve),dt(u,"pressInit","onPressInit"),dt(u,"press","onPress"),Ms(m,true),Z=false;return}if(P=!ye||h===p||u.vars.allowNativeTouchScrolling===false||u.vars.allowContextMenu&&w&&(w.ctrlKey||w.which>2)?false:h?"y":"x",Z=!P&&!u.allowEventDefault,Z&&(kr(w),xt(tt,"touchforcechange",kr)),w.changedTouches?(w=Oe=w.changedTouches[0],Ae=w.identifier):w.pointerId?Ae=w.pointerId:Oe=Ae=null,Ls++,Xd(Fe),K=u.pointerY=w.pageY,X=u.pointerX=w.pageX,dt(u,"pressInit","onPressInit"),(P||u.autoScroll)&&ul(t.parentNode),t.parentNode&&u.autoScroll&&!z&&!o&&t.parentNode._gsMaxScrollX&&!ri.parentNode&&!t.getBBox&&(ri.style.width=t.parentNode.scrollWidth+"px",t.parentNode.appendChild(ri)),Tt(),u.tween&&u.tween.kill(),u.isThrowing=false,Re.killTweensOf(z||t,d,true),z&&Re.killTweensOf(t,{scrollTo:1},true),u.tween=u.lockedAxis=null,(r.zIndexBoost||!o&&!z&&r.zIndexBoost!==false)&&(t.style.zIndex=e.zIndex++),u.isPressed=true,ie=!!(r.onDrag||u._listeners.drag),b=!!(r.onMove||u._listeners.move),r.cursor!==false||r.activeCursor)for(E=m.length;--E>-1;)Re.set(m[E],{cursor:r.activeCursor||r.cursor||(Co==="grab"?"grabbing":Co)});dt(u,"press","onPress"),_r&&_r.track(z||t,s?"x,y":o?"rotation":"top,left");},"onPress"),fe=l(function(w){var F=w,E,R,B,A,U,I;if(!N||yl||!u.isPressed||!w){Z&&w&&N&&kr(w);return}if(u.pointerEvent=w,E=w.changedTouches,E){if(w=E[0],w!==Oe&&w.identifier!==Ae){for(A=E.length;--A>-1&&(w=E[A]).identifier!==Ae&&w.target!==t;);if(A<0)return}}else if(w.pointerId&&Ae&&w.pointerId!==Ae)return;if(ye&&P&&!Ke&&(Cr.x=w.pageX-(D?On(H):0),Cr.y=w.pageY-(D?Pn(H):0),le&&le.apply(Cr,Cr),R=Cr.x,B=Cr.y,U=Math.abs(R-X),I=Math.abs(B-K),(U!==I&&(U>g||I>g)||ko&&P===Ke)&&(Ke=U>I&&h?"x":"y",P&&Ke!==P&&xt(tt,"touchforcechange",kr),u.vars.lockAxisOnTouchScroll!==false&&h&&p&&(u.lockedAxis=Ke==="x"?"y":"x",Si(u.vars.onLockAxis)&&u.vars.onLockAxis.call(u,F)),ko&&P===Ke))){Ve(F);return}!u.allowEventDefault&&(!P||Ke&&P!==Ke)&&F.cancelable!==false?(kr(F),Z=true):Z&&(Z=false),u.autoScroll&&(y=true),At(w.pageX,w.pageY,b);},"onMove"),At=l(function(w,F,E){var R=1-u.dragResistance,B=1-u.edgeResistance,A=u.pointerX,U=u.pointerY,I=V,Q=u.x,ce=u.y,re=u.endX,me=u.endY,He=u.endRotation,Ie=be,Ce,Pe,Ue,ge,Ct,it;u.pointerX=w,u.pointerY=F,D&&(w-=On(H),F-=Pn(H)),o?(ge=tr(Math.atan2(Xe.y-F,w-Xe.x)*Rc),Ct=u.y-ge,Ct>180?(V-=360,u.y=ge):Ct<-180&&(V+=360,u.y=ge),le&&(it=w*le.a+F*le.c+le.e,F=w*le.b+F*le.d+le.f,w=it),u.x!==G||Math.max(Math.abs(X-w),Math.abs(K-F))>g?(u.y=ge,Ue=tr(G+(V-ge)*R)):Ue=G):(le&&(it=w*le.a+F*le.c+le.e,F=w*le.b+F*le.d+le.f,w=it),Pe=F-K,Ce=w-X,Pe<g&&Pe>-g&&(Pe=0),Ce<g&&Ce>-g&&(Ce=0),(u.lockAxis||u.lockedAxis)&&(Ce||Pe)&&(it=u.lockedAxis,it||(u.lockedAxis=it=h&&Math.abs(Ce)>Math.abs(Pe)?"y":p?"x":null,it&&Si(u.vars.onLockAxis)&&u.vars.onLockAxis.call(u,u.pointerEvent)),it==="y"?Pe=0:it==="x"&&(Ce=0)),Ue=tr(G+Ce*R),ge=tr(V+Pe*R)),(Ne||Qe||$e)&&(u.x!==Ue||u.y!==ge&&!o)&&($e&&(kn.x=Ue,kn.y=ge,it=$e(kn),Ue=tr(it.x),ge=tr(it.y)),Ne&&(Ue=tr(Ne(Ue))),Qe&&(ge=tr(Qe(ge)))),se&&(Ue>$?Ue=$+Math.round((Ue-$)*B):Ue<ae&&(Ue=ae+Math.round((Ue-ae)*B)),o||(ge>ue?ge=Math.round(ue+(ge-ue)*B):ge<ne&&(ge=Math.round(ne+(ge-ne)*B)))),(u.x!==Ue||u.y!==ge&&!o)&&(o?(u.endRotation=u.x=u.endX=tr(Ue),be=true):(p&&(u.y=u.endY=ge,be=true),h&&(u.x=u.endX=Ue,be=true)),!E||dt(u,"move","onMove")!==false?!u.isDragging&&u.isPressed&&(u.isDragging=pe=true,dt(u,"dragstart","onDragStart")):(u.pointerX=A,u.pointerY=U,V=I,u.x=Q,u.y=ce,u.endX=re,u.endY=me,u.endRotation=He,be=Ie));},"setPointerPosition"),Ve=l(function J(w,F){if(!N||!u.isPressed||w&&Ae!=null&&!F&&(w.pointerId&&w.pointerId!==Ae&&w.target!==t||w.changedTouches&&!Vd(w.changedTouches,Ae))){Z&&w&&N&&kr(w);return}u.isPressed=false;var E=w,R=u.isDragging,B=u.vars.allowContextMenu&&w&&(w.ctrlKey||w.which>2),A=Re.delayedCall(.001,rr),U,I,Q,ce,re;if(ye?(mt(ye,"touchend",J),mt(ye,"touchmove",fe),mt(ye,"touchcancel",J),mt(H,"touchstart",Fc)):mt(H,"mousemove",fe),mt(tt,"touchforcechange",kr),(!Ps||!ye)&&(mt(H,"mouseup",J),w&&w.target&&mt(w.target,"mouseup",J)),be=false,R&&(_=Ac=bi(),u.isDragging=false),Hc(Fe),_e&&!B){w&&(mt(w.target,"change",J),u.pointerEvent=E),Ms(m,false),dt(u,"release","onRelease"),dt(u,"click","onClick"),_e=false;return}for(I=m.length;--I>-1;)cl(m[I],"cursor",r.cursor||(r.cursor!==false?Co:null));if(Ls--,w){if(U=w.changedTouches,U&&(w=U[0],w!==Oe&&w.identifier!==Ae)){for(I=U.length;--I>-1&&(w=U[I]).identifier!==Ae&&w.target!==t;);if(I<0&&!F)return}u.pointerEvent=E,u.pointerX=w.pageX,u.pointerY=w.pageY;}return B&&E?(kr(E),Z=true,dt(u,"release","onRelease")):E&&!R?(Z=false,wt&&(r.snap||r.bounds)&&vr(r.inertia||r.throwProps),dt(u,"release","onRelease"),(!ko||E.type!=="touchmove")&&E.type.indexOf("cancel")===-1&&(dt(u,"click","onClick"),bi()-S<300&&dt(u,"doubleclick","onDoubleClick"),ce=E.target||t,S=bi(),re=l(function(){S!==M&&u.enabled()&&!u.isPressed&&!E.defaultPrevented&&(ce.click?ce.click():H.createEvent&&(Q=H.createEvent("MouseEvents"),Q.initMouseEvent("click",true,true,tt,1,u.pointerEvent.screenX,u.pointerEvent.screenY,u.pointerX,u.pointerY,false,false,false,false,0,null),ce.dispatchEvent(Q)));},"syntheticClick"),!ko&&!E.defaultPrevented&&Re.delayedCall(.05,re))):(vr(r.inertia||r.throwProps),!u.allowEventDefault&&E&&(r.dragClickables!==false||!O.call(u,E.target))&&R&&(!P||Ke&&P===Ke)&&E.cancelable!==false?(Z=true,kr(E)):Z=false,dt(u,"release","onRelease")),Gt()&&A.duration(u.tween.duration()),R&&dt(u,"dragend","onDragEnd"),true},"onRelease"),Le=l(function(w){if(w&&u.isDragging&&!z){var F=w.target||t.parentNode,E=F.scrollLeft-F._gsScrollX,R=F.scrollTop-F._gsScrollY;(E||R)&&(le?(X-=E*le.a+R*le.c,K-=R*le.d+E*le.b):(X-=E,K-=R),F._gsScrollX+=E,F._gsScrollY+=R,At(u.pointerX,u.pointerY));}},"updateScroll"),Ze=l(function(w){var F=bi(),E=F-S<100,R=F-_<50,B=E&&M===S,A=u.pointerEvent&&u.pointerEvent.defaultPrevented,U=E&&W===S,I=w.isTrusted||w.isTrusted==null&&E&&B;if((B||R&&u.vars.suppressClickOnDrag!==false)&&w.stopImmediatePropagation&&w.stopImmediatePropagation(),E&&!(u.pointerEvent&&u.pointerEvent.defaultPrevented)&&(!B||I&&!U)){I&&B&&(W=S),M=S;return}(u.isPressed||R||E)&&(!I||!w.detail||!E||A)&&kr(w),!E&&!R&&!pe&&(w&&w.target&&(u.pointerEvent=w),dt(u,"click","onClick"));},"onClick"),Nt=l(function(w){return le?{x:w.x*le.a+w.y*le.c+le.e,y:w.x*le.b+w.y*le.d+le.f}:{x:w.x,y:w.y}},"localizePoint");return rt=e.get(t),rt&&rt.kill(),i.startDrag=function(J,w){var F,E,R,B;kt(J||u.pointerEvent,true),w&&!u.hitTest(J||u.pointerEvent)&&(F=Cn(J||u.pointerEvent),E=Cn(t),R=Nt({x:F.left+F.width/2,y:F.top+F.height/2}),B=Nt({x:E.left+E.width/2,y:E.top+E.height/2}),X-=R.x-B.x,K-=R.y-B.y),u.isDragging||(u.isDragging=pe=true,dt(u,"dragstart","onDragStart"));},i.drag=fe,i.endDrag=function(J){return Ve(J||u.pointerEvent,true)},i.timeSinceDrag=function(){return u.isDragging?0:(bi()-_)/1e3},i.timeSinceClick=function(){return (bi()-S)/1e3},i.hitTest=function(J,w){return e.hitTest(u.target,J,w)},i.getDirection=function(J,w){var F=J==="velocity"&&_r?J:Mo(J)&&!o?"element":"start",E,R,B,A,U,I;return F==="element"&&(U=Cn(u.target),I=Cn(J)),E=F==="start"?u.x-G:F==="velocity"?_r.getVelocity(t,c):U.left+U.width/2-(I.left+I.width/2),o?E<0?"counter-clockwise":"clockwise":(w=w||2,R=F==="start"?u.y-V:F==="velocity"?_r.getVelocity(t,f):U.top+U.height/2-(I.top+I.height/2),B=Math.abs(E/R),A=B<1/w?"":E<0?"left":"right",B<w&&(A!==""&&(A+="-"),A+=R<0?"up":"down"),A)},i.applyBounds=function(J,w){var F,E,R,B,A,U;if(J&&r.bounds!==J)return r.bounds=J,u.update(true,w);if(de(true),xe(),se&&!Gt()){if(F=u.x,E=u.y,F>$?F=$:F<ae&&(F=ae),E>ue?E=ue:E<ne&&(E=ne),(u.x!==F||u.y!==E)&&(R=true,u.x=u.endX=F,o?u.endRotation=F:u.y=u.endY=E,be=true,Fe(true),u.autoScroll&&!u.isDragging))for(ul(t.parentNode),B=t,ti.scrollTop=tt.pageYOffset!=null?tt.pageYOffset:H.documentElement.scrollTop!=null?H.documentElement.scrollTop:H.body.scrollTop,ti.scrollLeft=tt.pageXOffset!=null?tt.pageXOffset:H.documentElement.scrollLeft!=null?H.documentElement.scrollLeft:H.body.scrollLeft;B&&!U;)U=Ln(B.parentNode),A=U?ti:B.parentNode,p&&A.scrollTop>A._gsMaxScrollY&&(A.scrollTop=A._gsMaxScrollY),h&&A.scrollLeft>A._gsMaxScrollX&&(A.scrollLeft=A._gsMaxScrollX),B=A;u.isThrowing&&(R||u.endX>$||u.endX<ae||u.endY>ue||u.endY<ne)&&vr(r.inertia||r.throwProps,R);}return u},i.update=function(J,w,F){if(w&&u.isPressed){if(o)u.x=u.y=tr(parseFloat(C.rotation));else {var E=Ti(t),R=he.apply({x:u.x-G,y:u.y-V}),B=Ti(t.parentNode,true);B.apply({x:E.e-R.x,y:E.f-R.y},R),u.x=tr(u.x-(R.x-B.e)),u.y=tr(u.y-(R.y-B.f));}Fe(true),Tt();}var A=u.x,U=u.y;return Et(!w),J?u.applyBounds():(be&&F&&Fe(true),de(true)),w&&(At(u.pointerX,u.pointerY),be&&Fe(true)),u.isPressed&&!w&&(h&&Math.abs(A-u.x)>.01||p&&Math.abs(U-u.y)>.01&&!o)&&Tt(),u.autoScroll&&(ul(t.parentNode,u.isDragging),y=u.isDragging,Fe(true),Bc(t,Le),Ic(t,Le)),u},i.enable=function(J){var w={lazy:true},F,E,R;if(r.cursor!==false&&(w.cursor=r.cursor||Co),Re.utils.checkPrefix("touchCallout")&&(w.touchCallout="none"),J!=="soft"){for(Nc(m,h===p?"none":r.allowNativeTouchScrolling&&t.scrollHeight===t.clientHeight==(t.scrollWidth===t.clientHeight)||r.allowEventDefault?"manipulation":h?"pan-y":"pan-x"),E=m.length;--E>-1;)R=m[E],Ps||xt(R,"mousedown",kt),xt(R,"touchstart",kt),xt(R,"click",Ze,true),Re.set(R,w),R.getBBox&&R.ownerSVGElement&&h!==p&&Re.set(R.ownerSVGElement,{touchAction:r.allowNativeTouchScrolling||r.allowEventDefault?"manipulation":h?"pan-y":"pan-x"}),r.allowContextMenu||xt(R,"contextmenu",ve);Ms(m,false);}return Ic(t,Le),N=true,_r&&J!=="soft"&&_r.track(z||t,s?"x,y":o?"rotation":"top,left"),t._gsDragID=F=t._gsDragID||"d"+Id++,Mn[F]=u,z&&(z.enable(),z.element._gsDragID=F),(r.bounds||o)&&Tt(),r.bounds&&u.applyBounds(),u},i.disable=function(J){for(var w=u.isDragging,F=m.length,E;--F>-1;)cl(m[F],"cursor",null);if(J!=="soft"){for(Nc(m,null),F=m.length;--F>-1;)E=m[F],cl(E,"touchCallout",null),mt(E,"mousedown",kt),mt(E,"touchstart",kt),mt(E,"click",Ze,true),mt(E,"contextmenu",ve);Ms(m,true),ye&&(mt(ye,"touchcancel",Ve),mt(ye,"touchend",Ve),mt(ye,"touchmove",fe)),mt(H,"mouseup",Ve),mt(H,"mousemove",fe);}return Bc(t,Le),N=false,_r&&J!=="soft"&&(_r.untrack(z||t,s?"x,y":o?"rotation":"top,left"),u.tween&&u.tween.kill()),z&&z.disable(),Hc(Fe),u.isDragging=u.isPressed=_e=false,w&&dt(u,"dragend","onDragEnd"),u},i.enabled=function(J,w){return arguments.length?J?u.enable(w):u.disable(w):N},i.kill=function(){return u.isThrowing=false,u.tween&&u.tween.kill(),u.disable(),Re.set(m,{clearProps:"userSelect"}),delete Mn[t._gsDragID],u},i.revert=function(){this.kill(),this.styles&&this.styles.revert();},~n.indexOf("scroll")&&(z=i.scrollProxy=new Kd(t,Yd({onKill:l(function(){u.isPressed&&Ve(null);},"onKill")},r)),t.style.overflowY=p&&!pl?"auto":"hidden",t.style.overflowX=h&&!pl?"auto":"hidden",t=z.content),o?d.rotation=1:(h&&(d[c]=1),p&&(d[f]=1)),C.force3D="force3D"in r?r.force3D:true,Vc(Dc(i)),i.enable(),i}return l(e,"Draggable"),e.register=l(function(r){Re=r,hl();},"register"),e.create=l(function(r,i){return dl||hl(true),Ei(r).map(function(n){return new e(n,i)})},"create"),e.get=l(function(r){return Mn[(Ei(r)[0]||{})._gsDragID]},"get"),e.timeSinceDrag=l(function(){return (bi()-Ac)/1e3},"timeSinceDrag"),e.hitTest=l(function(r,i,n){if(r===i)return false;var s=Cn(r),o=Cn(i),c=s.top,f=s.left,h=s.right,p=s.bottom,g=s.width,u=s.height,m=o.left>h||o.right<f||o.top>p||o.bottom<c,d,_,y;return m||!n?!m:(y=(n+"").indexOf("%")!==-1,n=parseFloat(n)||0,d={left:Math.max(f,o.left),top:Math.max(c,o.top)},d.width=Math.min(h,o.right)-d.left,d.height=Math.min(p,o.bottom)-d.top,d.width<0||d.height<0?false:y?(n*=.01,_=d.width*d.height,_>=g*u*n||_>=o.width*o.height*n):d.width>n&&d.height>n)},"hitTest"),e})(Qd);Wd(ni.prototype,{pointerX:0,pointerY:0,startX:0,startY:0,deltaX:0,deltaY:0,isDragging:false,isPressed:false});ni.zIndex=1e3;ni.version="3.15.0";Gc()&&Re.registerPlugin(ni);var $d=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig;var Zd=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig;var Jd=Math.PI/180,Ds=Math.sin,Rs=Math.cos,Ro=Math.abs,Do=Math.sqrt;var ep=l(function(e){return typeof e=="number"},"_isNumber");var Qc=1e5;var ki=l(function(e){return Math.round(e*Qc)/Qc||0},"_round");var $c=l(function(e){return e.closed=Math.abs(e[0]-e[e.length-2])<.001&&Math.abs(e[1]-e[e.length-1])<.001},"_segmentIsClosed");function Zc(a,e,t,r,i,n,s){for(var o=a.length,c,f,h,p,g;--o>-1;)for(c=a[o],f=c.length,h=0;h<f;h+=2)p=c[h],g=c[h+1],c[h]=p*e+g*r+n,c[h+1]=p*t+g*i+s;return a._dirty=1,a}l(Zc,"transformRawPath");function tp(a,e,t,r,i,n,s,o,c){if(!(a===o&&e===c)){t=Ro(t),r=Ro(r);var f=i%360*Jd,h=Rs(f),p=Ds(f),g=Math.PI,u=g*2,m=(a-o)/2,d=(e-c)/2,_=h*m+p*d,y=-p*m+h*d,v=_*_,k=y*y,T=v/(t*t)+k/(r*r);T>1&&(t=Do(T)*t,r=Do(T)*r);var x=t*t,O=r*r,S=(x*O-x*k-O*v)/(x*k+O*v);S<0&&(S=0);var C=(n===s?-1:1)*Do(S),D=C*(t*y/r),L=C*-(r*_/t),H=(a+o)/2,N=(e+c)/2,z=H+(h*D-p*L),X=N+(p*D+h*L),K=(_-D)/t,G=(y-L)/r,V=(-_-D)/t,se=(-y-L)/r,ie=K*K+G*G,b=(G<0?-1:1)*Math.acos(K/Do(ie)),$=(K*se-G*V<0?-1:1)*Math.acos((K*V+G*se)/Do(ie*(V*V+se*se)));isNaN($)&&($=g),!s&&$>0?$-=u:s&&$<0&&($+=u),b%=u,$%=u;var ae=Math.ceil(Ro($)/(u/4)),ue=[],ne=$/ae,Oe=4/3*Ds(ne/2)/(1+Rs(ne/2)),Ae=h*t,Xe=p*t,be=p*-r,rt=h*r,Ne;for(Ne=0;Ne<ae;Ne++)i=b+Ne*ne,_=Rs(i),y=Ds(i),K=Rs(i+=ne),G=Ds(i),ue.push(_-Oe*y,y+Oe*_,K+Oe*G,G-Oe*K,K,G);for(Ne=0;Ne<ue.length;Ne+=2)_=ue[Ne],y=ue[Ne+1],ue[Ne]=_*Ae+y*be+z,ue[Ne+1]=_*Xe+y*rt+X;return ue[Ne-2]=o,ue[Ne-1]=c,ue}}l(tp,"arcToSegment");function Jc(a){var e=(a+"").replace(Zd,function(D){var L=+D;return L<1e-4&&L>-1e-4?0:L}).match($d)||[],t=[],r=0,i=0,n=2/3,s=e.length,o=0,c="ERROR: malformed path: "+a,f,h,p,g,u,m,d,_,y,v,k,T,x,O,S,C=l(function(L,H,N,z){v=(N-L)/3,k=(z-H)/3,d.push(L+v,H+k,N-v,z-k,N,z);},"line");if(!a||!isNaN(e[0])||isNaN(e[1]))return console.log(c),t;for(f=0;f<s;f++)if(x=u,isNaN(e[f])?(u=e[f].toUpperCase(),m=u!==e[f]):f--,p=+e[f+1],g=+e[f+2],m&&(p+=r,g+=i),f||(_=p,y=g),u==="M")d&&(d.length<8?t.length-=1:o+=d.length,$c(d)),r=_=p,i=y=g,d=[p,g],t.push(d),f+=2,u="L";else if(u==="C")d||(d=[0,0]),m||(r=i=0),d.push(p,g,r+e[f+3]*1,i+e[f+4]*1,r+=e[f+5]*1,i+=e[f+6]*1),f+=6;else if(u==="S")v=r,k=i,(x==="C"||x==="S")&&(v+=r-d[d.length-4],k+=i-d[d.length-3]),m||(r=i=0),d.push(v,k,p,g,r+=e[f+3]*1,i+=e[f+4]*1),f+=4;else if(u==="Q")v=r+(p-r)*n,k=i+(g-i)*n,m||(r=i=0),r+=e[f+3]*1,i+=e[f+4]*1,d.push(v,k,r+(p-r)*n,i+(g-i)*n,r,i),f+=4;else if(u==="T")v=r-d[d.length-4],k=i-d[d.length-3],d.push(r+v,i+k,p+(r+v*1.5-p)*n,g+(i+k*1.5-g)*n,r=p,i=g),f+=2;else if(u==="H")C(r,i,r=p,i),f+=1;else if(u==="V")C(r,i,r,i=p+(m?i-r:0)),f+=1;else if(u==="L"||u==="Z")u==="Z"&&(p=_,g=y,d.closed=true),(u==="L"||Ro(r-p)>.5||Ro(i-g)>.5)&&(C(r,i,p,g),u==="L"&&(f+=2)),r=p,i=g;else if(u==="A"){if(O=e[f+4],S=e[f+5],v=e[f+6],k=e[f+7],h=7,O.length>1&&(O.length<3?(k=v,v=S,h--):(k=S,v=O.substr(2),h-=2),S=O.charAt(1),O=O.charAt(0)),T=tp(r,i,+e[f+1],+e[f+2],+e[f+3],+O,+S,(m?r:0)+v*1,(m?i:0)+k*1),f+=h,T)for(h=0;h<T.length;h++)d.push(T[h]);r=d[d.length-2],i=d[d.length-1];}else console.log(c);return f=d.length,f<6?(t.pop(),f=0):$c(d),t.totalPoints=o+f,t}l(Jc,"stringToRawPath");function ef(a){ep(a[0])&&(a=[a]);var e="",t=a.length,r,i,n,s;for(i=0;i<t;i++){for(s=a[i],e+="M"+ki(s[0])+","+ki(s[1])+" C",r=s.length,n=2;n<r;n++)e+=ki(s[n++])+","+ki(s[n++])+" "+ki(s[n++])+","+ki(s[n++])+" "+ki(s[n++])+","+ki(s[n])+" ";s.closed&&(e+="z");}return e}l(ef,"rawPathToString");var lr,rf,nf=l(function(){return lr||typeof window<"u"&&(lr=window.gsap)&&lr.registerPlugin&&lr},"_getGSAP"),tf=l(function(){lr=nf(),lr?(lr.registerEase("_CE",Mr.create),rf=1):console.warn("Please gsap.registerPlugin(CustomEase)");},"_initCore"),rp=1e20,As=l(function(e){return ~~(e*1e3+(e<0?-0.5:.5))/1e3},"_round"),np=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/gi,op=/[cLlsSaAhHvVtTqQ]/g,sp=l(function(e){var t=e.length,r=rp,i;for(i=1;i<t;i+=6)+e[i]<r&&(r=+e[i]);return r},"_findMinimum"),ap=l(function(e,t,r){!r&&r!==0&&(r=Math.max(+e[e.length-1],+e[1]));var i=+e[0]*-1,n=-r,s=e.length,o=1/(+e[s-2]+i),c=-t||(Math.abs(+e[s-1]-+e[1])<.01*(+e[s-2]-+e[0])?sp(e)+n:+e[s-1]+n),f;for(c?c=1/c:c=-o,f=0;f<s;f+=2)e[f]=(+e[f]+i)*o,e[f+1]=(+e[f+1]+n)*c;},"_normalize"),lp=l(function a(e,t,r,i,n,s,o,c,f,h,p){var g=(e+r)/2,u=(t+i)/2,m=(r+n)/2,d=(i+s)/2,_=(n+o)/2,y=(s+c)/2,v=(g+m)/2,k=(u+d)/2,T=(m+_)/2,x=(d+y)/2,O=(v+T)/2,S=(k+x)/2,C=o-e,D=c-t,L=Math.abs((r-o)*D-(i-c)*C),H=Math.abs((n-o)*D-(s-c)*C),N;return h||(h=[{x:e,y:t},{x:o,y:c}],p=1),h.splice(p||h.length-1,0,{x:O,y:S}),(L+H)*(L+H)>f*(C*C+D*D)&&(N=h.length,a(e,t,g,u,v,k,O,S,f,h,p),a(O,S,T,x,_,y,o,c,f,h,p+1+(h.length-N))),h},"_bezierToPoints"),Mr=(function(){function a(t,r,i){rf||tf(),this.id=t,this.setData(r,i);}l(a,"CustomEase");var e=a.prototype;return e.setData=l(function(r,i){i=i||{},r=r||"0,0,1,1";var n=r.match(np),s=1,o=[],c=[],f=i.precision||1,h=f<=1,p,g,u,m,d,_,y,v,k;if(this.data=r,(op.test(r)||~r.indexOf("M")&&r.indexOf("C")<0)&&(n=Jc(r)[0]),p=n.length,p===4)n.unshift(0,0),n.push(1,1),p=8;else if((p-2)%6)throw "Invalid CustomEase";for((+n[0]!=0||+n[p-2]!=1)&&ap(n,i.height,i.originY),this.segment=n,m=2;m<p;m+=6)g={x:+n[m-2],y:+n[m-1]},u={x:+n[m+4],y:+n[m+5]},o.push(g,u),lp(g.x,g.y,+n[m],+n[m+1],+n[m+2],+n[m+3],u.x,u.y,1/(f*2e5),o,o.length-1);for(p=o.length,m=0;m<p;m++)y=o[m],v=o[m-1]||y,(y.x>v.x||v.y!==y.y&&v.x===y.x||y===v)&&y.x<=1?(v.cx=y.x-v.x,v.cy=y.y-v.y,v.n=y,v.nx=y.x,h&&m>1&&Math.abs(v.cy/v.cx-o[m-2].cy/o[m-2].cx)>2&&(h=0),v.cx<s&&(v.cx?s=v.cx:(v.cx=.001,m===p-1&&(v.x-=.001,s=Math.min(s,.001),h=0)))):(o.splice(m--,1),p--);if(p=1/s+1|0,d=1/p,_=0,y=o[0],h){for(m=0;m<p;m++)k=m*d,y.nx<k&&(y=o[++_]),g=y.y+(k-y.x)/y.cx*y.cy,c[m]={x:k,cx:d,y:g,cy:0,nx:9},m&&(c[m-1].cy=g-c[m-1].y);_=o[o.length-1],c[p-1].cy=_.y-g,c[p-1].cx=_.x-c[c.length-1].x;}else {for(m=0;m<p;m++)y.nx<m*d&&(y=o[++_]),c[m]=y;_<o.length-1&&(c[m-1]=o[o.length-2]);}return this.ease=function(T){var x=c[T*p|0]||c[p-1];return x.nx<T&&(x=x.n),x.y+(T-x.x)/x.cx*x.cy},this.ease.custom=this,this.id&&lr&&lr.registerEase(this.id,this.ease),this},"setData"),e.getSVGData=l(function(r){return a.getSVGData(this,r)},"getSVGData"),a.create=l(function(r,i,n){return new a(r,i,n).ease},"create"),a.register=l(function(r){lr=r,tf();},"register"),a.get=l(function(r){return lr.parseEase(r)},"get"),a.getSVGData=l(function(r,i){i=i||{};var n=i.width||100,s=i.height||100,o=i.x||0,c=(i.y||0)+s,f=lr.utils.toArray(i.path)[0],h,p,g,u,m,d,_,y,v,k;if(i.invert&&(s=-s,c=0),typeof r=="string"&&(r=lr.parseEase(r)),r.custom&&(r=r.custom),r instanceof a)h=ef(Zc([r.segment.slice(0)],n,0,0,-s,o,c));else {for(h=[o,c],_=Math.max(5,(i.precision||1)*200),u=1/_,_+=2,y=5/_,v=As(o+u*n),k=As(c+r(u)*-s),p=(k-c)/(v-o),g=2;g<_;g++)m=As(o+g*u*n),d=As(c+r(g*u)*-s),(Math.abs((d-k)/(m-v)-p)>y||g===_-1)&&(h.push(v,k),p=(d-k)/(m-v)),v=m,k=d;h="M"+h.join(",");}return f&&f.setAttribute("d",h),h},"getSVGData"),a})();Mr.version="3.15.0";Mr.headless=true;nf()&&lr.registerPlugin(Mr);function of(a,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||false,r.configurable=true,"value"in r&&(r.writable=true),Object.defineProperty(a,r.key,r);}}l(of,"_defineProperties");function up(a,e,t){return e&&of(a.prototype,e),t&&of(a,t),a}l(up,"_createClass");var Ge,Ns,qt,oi,Dn,Xr,rn,sf,we,Wr,zs,af,lf,uf,cf,ff=l(function(){return typeof window<"u"},"_windowExists"),hf=l(function(){return Ge||ff()&&(Ge=window.gsap)&&Ge.registerPlugin&&Ge},"_getGSAP");var fp=l(function(e){return Math.round(e*1e5)/1e5||0},"_round"),Ci=l(function(e){return we.maxScroll(e||qt)},"_maxScroll"),hp=l(function(e,t){var r=e.parentNode||Dn,i=e.getBoundingClientRect(),n=r.getBoundingClientRect(),s=n.top-i.top,o=n.bottom-i.bottom,c=(Math.abs(s)>Math.abs(o)?s:o)/(1-t),f=-c*t,h,p;return c>0&&(h=n.height/(qt.innerHeight+n.height),p=h===.5?n.height*2:Math.min(n.height,Math.abs(-c*h/(2*h-1)))*2*(t||1),f+=t?-p*t:-p/2,c+=p),{change:c,offset:f}},"_autoDistance"),dp=l(function(e){var t=oi.querySelector(".ScrollSmoother-wrapper");return t||(t=oi.createElement("div"),t.classList.add("ScrollSmoother-wrapper"),e.parentNode.insertBefore(t,e),t.appendChild(e)),t},"_wrap"),Mi=(function(){function a(e){var t=this;Ns||a.register(Ge)||console.warn("Please gsap.registerPlugin(ScrollSmoother)"),e=this.vars=e||{},Wr&&Wr.kill(),Wr=this,uf(this);var r=e,i=r.smoothTouch,n=r.onUpdate,s=r.onStop,o=r.smooth,c=r.onFocusIn,f=r.normalizeScroll,h=r.wholePixels,p,g,u,m,d,_,y,v,k,T,x,O,S,C,D=this,L=e.effectsPrefix||"",H=we.getScrollFunc(qt),N=we.isTouch===1?i===true?.8:parseFloat(i)||0:o===0||o===false?0:parseFloat(o)||.8,z=N&&+e.speed||1,X=0,K=0,G=1,V=af(0),se=l(function(){return V.update(-X)},"updateVelocity"),ie={y:0},b=l(function(){return p.style.overflow="visible"},"removeScroll"),$,ae=l(function(M){M.update();var W=M.getTween();W&&(W.pause(),W._time=W._dur,W._tTime=W._tDur),$=false,M.animation.progress(M.progress,true);},"killScrub"),ue=l(function(M,W){(M!==X&&!T||W)&&(h&&(M=Math.round(M)),N&&(p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+M+", 0, 1)",p._gsap.y=M+"px"),K=M-X,X=M,we.isUpdating||a.isRefreshing||we.update());},"render"),ne=l(function(M){return arguments.length?(M<0&&(M=0),ie.y=-M,$=true,T?X=-M:ue(-M),we.isRefreshing?m.update():H(M/z),this):-X},"scrollTop"),Oe=typeof ResizeObserver<"u"&&e.autoResize!==false&&new ResizeObserver(function(){if(!we.isRefreshing){var q=Ci(g)*z;q<-X&&ne(q),cf.restart(true);}}),Ae,Xe=l(function(M){g.scrollTop=0,!(M.target.contains&&M.target.contains(g)||c&&c(t,M)===false)&&(we.isInViewport(M.target)||M.target===Ae||t.scrollTo(M.target,false,"center center"),Ae=M.target);},"_onFocusIn"),be=l(function(M,W){if(M<W.start)return M;var Z=isNaN(W.ratio)?1:W.ratio,he=W.end-W.start,pe=M-W.start,ve=W.offset||0,Fe=W.pins||[],de=Fe.offset||0,We=W._startClamp&&W.start<=0||W.pins&&W.pins.offset?0:W._endClamp&&W.end===Ci()?1:.5;return Fe.forEach(function(ze){he-=ze.distance,ze.nativeStart<=M&&(pe-=ze.distance);}),de&&(pe*=(he-de/Z)/he),M+(pe-ve*We)/Z-pe},"_transformPosition"),rt=l(function q(M,W,Z){Z||(M.pins.length=M.pins.offset=0);var he=M.pins,pe=M.markers,ve,Fe,de,We,ze,xe,ft,ee;for(ft=0;ft<W.length;ft++)if(ee=W[ft],M.trigger&&ee.trigger&&M!==ee&&(ee.trigger===M.trigger||ee.pinnedContainer===M.trigger||M.trigger.contains(ee.trigger))&&(ze=ee._startNative||ee._startClamp||ee.start,xe=ee._endNative||ee._endClamp||ee.end,de=be(ze,M),We=ee.pin&&xe>0?de+(xe-ze):be(xe,M),ee.setPositions(de,We,true,(ee._startClamp?Math.max(0,de):de)-ze),ee.markerStart&&pe.push(Ge.quickSetter([ee.markerStart,ee.markerEnd],"y","px")),ee.pin&&ee.end>0&&!Z)){if(ve=ee.end-ee.start,Fe=M._startClamp&&ee.start<0,Fe){if(M.start>0){M.setPositions(0,M.end+(M._startNative-M.start),true),q(M,W);return}ve+=ee.start,he.offset=-ee.start;}he.push({start:ee.start,nativeStart:ze,end:ee.end,distance:ve,trig:ee}),M.setPositions(M.start,M.end+(Fe?-ee.start:ve),true);}},"adjustEffectRelatedTriggers"),Ne=l(function(M,W){d.forEach(function(Z){return rt(Z,M,W)});},"adjustParallaxPosition"),Qe=l(function(){Dn=oi.documentElement,Xr=oi.body,b(),requestAnimationFrame(b),d&&(we.getAll().forEach(function(M){M._startNative=M.start,M._endNative=M.end;}),d.forEach(function(M){var W=M._startClamp||M.start,Z=M.autoSpeed?Math.min(Ci(),M.end):W+Math.abs((M.end-W)/M.ratio),he=Z-M.end;if(W-=he/2,Z-=he/2,W>Z){var pe=W;W=Z,Z=pe;}M._startClamp&&W<0?(Z=M.ratio<0?Ci():M.end/M.ratio,he=Z-M.end,W=0):(M.ratio<0||M._endClamp&&Z>=Ci())&&(Z=Ci(),W=M.ratio<0||M.ratio>1?0:Z-(Z-M.start)/M.ratio,he=(Z-W)*M.ratio-(M.end-M.start)),M.offset=he||1e-4,M.pins.length=M.pins.offset=0,M.setPositions(W,Z,true);}),Ne(we.sort())),V.reset();},"onRefresh"),$e=l(function(){return we.addEventListener("refresh",Qe)},"addOnRefresh"),_e=l(function(){return d&&d.forEach(function(M){return M.vars.onRefresh(M)})},"restoreEffects"),ye=l(function(){return d&&d.forEach(function(M){return M.vars.onRefreshInit(M)}),_e},"revertEffects"),le=l(function(M,W,Z,he){return function(){var pe=typeof W=="function"?W(Z,he):W;pe||pe===0||(pe=he.getAttribute("data-"+L+M)||(M==="speed"?1:0)),he.setAttribute("data-"+L+M,pe);var ve=(pe+"").substr(0,6)==="clamp(";return {clamp:ve,value:ve?pe.substr(6,pe.length-7):pe}}},"effectValueGetter"),wt=l(function(M,W,Z,he,pe){pe=(typeof pe=="function"?pe(he,M):pe)||0;var ve=le("speed",W,he,M),Fe=le("lag",Z,he,M),de=Ge.getProperty(M,"y"),We=M._gsap,ze,xe,ft,ee,vr,Et,Tt=[],Gt=l(function(){W=ve(),Z=parseFloat(Fe().value),ze=parseFloat(W.value)||1,ft=W.value==="auto",vr=ft||xe&&xe._startClamp&&xe.start<=0||Tt.offset?0:xe&&xe._endClamp&&xe.end===Ci()?1:.5,ee&&ee.kill(),ee=Z&&Ge.to(M,{ease:zs,overwrite:false,y:"+=0",duration:Z}),xe&&(xe.ratio=ze,xe.autoSpeed=ft);},"initDynamicValues"),rr=l(function(){We.y=de+"px",We.renderTransform(1),Gt();},"revert"),kt=[],fe=0,At=l(function(Le){if(ft){rr();var Ze=hp(M,sf(0,1,-Le.start/(Le.end-Le.start)));fe=Ze.change,Et=Ze.offset;}else Et=Tt.offset||0,fe=(Le.end-Le.start-Et)*(1-ze);Tt.forEach(function(Nt){return fe-=Nt.distance*(1-ze)}),Le.offset=fe||.001,Le.vars.onUpdate(Le),ee&&ee.progress(1);},"updateChange");return Gt(),(ze!==1||ft||ee)&&(xe=we.create({trigger:ft?M.parentNode:M,start:l(function(){return W.clamp?"clamp(top bottom+="+pe+")":"top bottom+="+pe},"start"),end:l(function(){return W.value<0?"max":W.clamp?"clamp(bottom top-="+pe+")":"bottom top-="+pe},"end"),scroller:g,scrub:true,refreshPriority:-999,onRefreshInit:rr,onRefresh:At,onKill:l(function(Le){var Ze=d.indexOf(Le);Ze>=0&&d.splice(Ze,1),rr();},"onKill"),onUpdate:l(function(Le){var Ze=de+fe*(Le.progress-vr),Nt=Tt.length,J=0,w,F,E;if(Le.offset){if(Nt){for(F=-X,E=Le.end;Nt--;){if(w=Tt[Nt],w.trig.isActive||F>=w.start&&F<=w.end){ee&&(w.trig.progress+=w.trig.direction<0?.001:-1e-3,w.trig.update(0,0,1),ee.resetTo("y",parseFloat(We.y),-K,true),G&&ee.progress(1));return}F>w.end&&(J+=w.distance),E-=w.distance;}Ze=de+J+fe*((Ge.utils.clamp(Le.start,Le.end,F)-Le.start-J)/(E-Le.start)-vr);}kt.length&&!ft&&kt.forEach(function(R){return R(Ze-J)}),Ze=fp(Ze+Et),ee?(ee.resetTo("y",Ze,-K,true),G&&ee.progress(1)):(We.y=Ze+"px",We.renderTransform(1));}},"onUpdate")}),At(xe),Ge.core.getCache(xe.trigger).stRevert=ye,xe.startY=de,xe.pins=Tt,xe.markers=kt,xe.ratio=ze,xe.autoSpeed=ft,M.style.willChange="transform"),xe},"createEffect");$e(),we.addEventListener("killAll",$e),Ge.delayedCall(.5,function(){return G=0}),this.scrollTop=ne,this.scrollTo=function(q,M,W){var Z=Ge.utils.clamp(0,Ci(),isNaN(q)?t.offset(q,W,!!M&&!T):+q);M?T?Ge.to(t,{duration:N,scrollTop:Z,overwrite:"auto",ease:zs}):H(Z):ne(Z);},this.offset=function(q,M,W){q=rn(q)[0];var Z=q.style.cssText,he=we.create({trigger:q,start:M||"top top"}),pe;return d&&(G?we.refresh():Ne([he],true)),pe=he.start/(W?z:1),he.kill(false),q.style.cssText=Z,Ge.core.getCache(q).uncache=1,pe};function P(){return u=p.clientHeight,p.style.overflow="visible",Xr.style.height=qt.innerHeight+(u-qt.innerHeight)/z+"px",u-qt.innerHeight}l(P,"refreshHeight"),this.content=function(q){if(arguments.length){var M=rn(q||"#smooth-content")[0]||console.warn("ScrollSmoother needs a valid content element.")||Xr.children[0];return M!==p&&(p=M,k=p.getAttribute("style")||"",Oe&&Oe.observe(p),Ge.set(p,{overflow:"visible",width:"100%",boxSizing:"border-box",y:"+=0"}),N||Ge.set(p,{clearProps:"transform"})),this}return p},this.wrapper=function(q){return arguments.length?(g=rn(q||"#smooth-wrapper")[0]||dp(p),v=g.getAttribute("style")||"",P(),Ge.set(g,N?{overflow:"hidden",position:"fixed",height:"100%",width:"100%",top:0,left:0,right:0,bottom:0}:{overflow:"visible",position:"relative",width:"100%",height:"auto",top:"auto",bottom:"auto",left:"auto",right:"auto"}),this):g},this.effects=function(q,M){var W;if(d||(d=[]),!q)return d.slice(0);q=rn(q),q.forEach(function(ze){for(var xe=d.length;xe--;)d[xe].trigger===ze&&d[xe].kill();}),M=M||{};var Z=M,he=Z.speed,pe=Z.lag,ve=Z.effectsPadding,Fe=[],de,We;for(de=0;de<q.length;de++)We=wt(q[de],he,pe,de,ve),We&&Fe.push(We);return (W=d).push.apply(W,Fe),M.refresh!==false&&we.refresh(),Fe},this.sections=function(q,M){var W;if(_||(_=[]),!q)return _.slice(0);var Z=rn(q).map(function(he){return we.create({trigger:he,start:"top 120%",end:"bottom -20%",onToggle:l(function(ve){he.style.opacity=ve.isActive?"1":"0",he.style.pointerEvents=ve.isActive?"all":"none";},"onToggle")})});return M&&M.add?(W=_).push.apply(W,Z):_=Z.slice(0),Z},this.content(e.content),this.wrapper(e.wrapper),this.render=function(q){return ue(q||q===0?q:X)},this.getVelocity=function(){return V.getVelocity(-X)},we.scrollerProxy(g,{scrollTop:ne,scrollHeight:l(function(){return P()&&Xr.scrollHeight},"scrollHeight"),fixedMarkers:e.fixedMarkers!==false&&!!N,content:p,getBoundingClientRect:l(function(){return {top:0,left:0,width:qt.innerWidth,height:qt.innerHeight}},"getBoundingClientRect")}),we.defaults({scroller:g});var Ke=we.getAll().filter(function(q){return q.scroller===qt||q.scroller===g});Ke.forEach(function(q){return q.revert(true,true)}),m=we.create({animation:Ge.fromTo(ie,{y:l(function(){return C=0,0},"y")},{y:l(function(){return C=1,-P()},"y"),immediateRender:false,ease:"none",data:"ScrollSmoother",duration:100,onUpdate:l(function(){if(C){var M=$;M&&(ae(m),ie.y=X),ue(ie.y,M),se(),n&&!T&&n(D);}},"onUpdate")}),onRefreshInit:l(function(M){if(!a.isRefreshing){if(a.isRefreshing=true,d){var W=we.getAll().filter(function(he){return !!he.pin});d.forEach(function(he){he.vars.pinnedContainer||W.forEach(function(pe){if(pe.pin.contains(he.trigger)){var ve=he.vars;ve.pinnedContainer=pe.pin,he.vars=null,he.init(ve,he.animation);}});});}var Z=M.getTween();S=Z&&Z._end>Z._dp._time,O=X,ie.y=0,N&&(we.isTouch===1&&(g.style.position="absolute"),g.scrollTop=0,we.isTouch===1&&(g.style.position="fixed"));}},"onRefreshInit"),onRefresh:l(function(M){M.animation.invalidate(),ie.y=0,M.setPositions(M.start,P()/z),S||ae(M),ie.y=-H()*z,ue(ie.y),G||(S&&($=false),M.animation.progress(Ge.utils.clamp(0,1,O/z/-M.end))),S&&(M.progress-=.001,M.update()),a.isRefreshing=false;},"onRefresh"),id:"ScrollSmoother",scroller:qt,invalidateOnRefresh:true,start:0,refreshPriority:-9999,end:l(function(){return P()/z},"end"),onScrubComplete:l(function(){V.reset(),s&&s(t);},"onScrubComplete"),scrub:N||true}),this.smooth=function(q){return arguments.length&&(N=q||0,z=N&&+e.speed||1,m.scrubDuration(q)),m.getTween()?m.getTween().duration():0},m.getTween()&&(m.getTween().vars.ease=e.ease||zs),this.scrollTrigger=m,e.effects&&this.effects(e.effects===true?"[data-"+L+"speed], [data-"+L+"lag]":e.effects,{effectsPadding:e.effectsPadding,refresh:false}),e.sections&&this.sections(e.sections===true?"[data-section]":e.sections),Ke.forEach(function(q){q.vars.scroller=g,q.revert(false,true),q.init(q.vars,q.animation);}),this.paused=function(q,M){return arguments.length?(!!T!==q&&(q?(m.getTween()&&m.getTween().pause(),H(-X/z),V.reset(),x=we.normalizeScroll(),x&&x.disable(),T=we.observe({preventDefault:true,type:"wheel,touch,scroll",debounce:false,allowClicks:true,onChangeY:l(function(){return ne(-X)},"onChangeY")}),T.nested=lf(Dn,"wheel,touch,scroll",true,M!==false)):(T.nested.kill(),T.kill(),T=0,x&&x.enable(),m.progress=(-X/z-m.start)/(m.end-m.start),ae(m))),this):!!T},this.kill=this.revert=function(){t.paused(false),ae(m),m.kill();for(var q=(d||[]).concat(_||[]),M=q.length;M--;)q[M].kill();we.scrollerProxy(g),we.removeEventListener("killAll",$e),we.removeEventListener("refresh",Qe),g.style.cssText=v,p.style.cssText=k;var W=we.defaults({});W&&W.scroller===g&&we.defaults({scroller:qt}),t.normalizer&&we.normalizeScroll(false),clearInterval(y),Wr=null,Oe&&Oe.disconnect(),Xr.style.removeProperty("height"),qt.removeEventListener("focusin",Xe);},this.refresh=function(q,M){return m.refresh(q,M)},f&&(this.normalizer=we.normalizeScroll(f===true?{debounce:true,content:!N&&p}:f)),we.config(e),"scrollBehavior"in qt.getComputedStyle(Xr)&&Ge.set([Xr,Dn],{scrollBehavior:"auto"}),qt.addEventListener("focusin",Xe),y=setInterval(se,250),oi.readyState==="loading"||requestAnimationFrame(function(){return we.refresh()});}return l(a,"ScrollSmoother"),a.register=l(function(t){return Ns||(Ge=t||hf(),ff()&&window.document&&(qt=window,oi=document,Dn=oi.documentElement,Xr=oi.body),Ge&&(rn=Ge.utils.toArray,sf=Ge.utils.clamp,zs=Ge.parseEase("expo"),uf=Ge.core.context||function(){},we=Ge.core.globals().ScrollTrigger,Ge.core.globals("ScrollSmoother",a),Xr&&we&&(cf=Ge.delayedCall(.2,function(){return we.isRefreshing||Wr&&Wr.refresh()}).pause(),af=we.core._getVelocityProp,lf=we.core._inputObserver,a.refresh=we.refresh,Ns=1))),Ns},"register"),up(a,[{key:"progress",get:l(function(){return this.scrollTrigger?this.scrollTrigger.animation._time/100:0},"get")}]),a})();Mi.version="3.15.0";Mi.create=function(a){return Wr&&a&&Wr.content()===rn(a.content)[0]?Wr:new Mi(a)};Mi.get=function(){return Wr};hf()&&Ge.registerPlugin(Mi);function Be(a,e){return a?typeof a=="string"?Array.from((e??document).querySelectorAll(a)):a instanceof Element?[a]:a instanceof NodeList||Array.isArray(a)?Array.from(a):[]:[]}l(Be,"toArray");function Me(a,e){return Be(a,e)[0]??null}l(Me,"one");function pp(a){typeof document>"u"||(document.readyState==="loading"?document.addEventListener("DOMContentLoaded",a,{once:true}):a());}l(pp,"onReady");function gp(...a){return ()=>{for(let e=a.length-1;e>=0;e--)try{a[e]?.();}catch{}}}l(gp,"compose");function mp(a){let e=0,t=false,r=l(()=>{t=false,a();},"run");return l(()=>{t||(t=true,e=requestAnimationFrame(r));},"schedule")(),()=>cancelAnimationFrame(e)}l(mp,"raf");function si(){return typeof window>"u"||typeof window.matchMedia!="function"?false:window.matchMedia("(prefers-reduced-motion: reduce)").matches}l(si,"prefersReducedMotion");var Rt={curtain:"ak-curtain",cardStack:"ak-card-stack",reveal:"ak-reveal",preloadOut:"ak-preload-out"},df=false;function Te(){if(!(df||typeof window>"u")){df=true,Y.registerPlugin(j,xi,ni,Mr);try{Y.registerPlugin(Mi);}catch{}Mr.get(Rt.curtain)||(Mr.create(Rt.curtain,".76,0,.2,1"),Mr.create(Rt.cardStack,"M0,0 C0,0 0.098,0.613 0.5,0.5 0.899,0.386 1,1 1,1"),Mr.create(Rt.reveal,".165,.84,.44,1"),Mr.create(Rt.preloadOut,".895,.03,.685,.22")),j.config({ignoreMobileResize:true});}}l(Te,"initGSAP");Te();function Pi(a){let t=(Array.isArray(a)?a:Be(a)).filter(r=>r instanceof Element);Y.getTweensOf(t).forEach(r=>r.kill());}l(Pi,"killTweens");var pf="1.3.26";function _f(a,e,t){return Math.max(a,Math.min(e,t))}l(_f,"clamp");function _p(a,e,t){return (1-t)*a+t*e}l(_p,"lerp");function yp(a,e,t,r){return _p(a,e,1-Math.exp(-t*r))}l(yp,"damp");function vp(a,e){return (a%e+e)%e}l(vp,"modulo");var Rn,xp=(Rn=class{constructor(){oe(this,"isRunning",false);oe(this,"value",0);oe(this,"from",0);oe(this,"to",0);oe(this,"currentTime",0);oe(this,"lerp");oe(this,"duration");oe(this,"easing");oe(this,"onUpdate");}advance(e){if(!this.isRunning)return;let t=false;if(this.duration&&this.easing){this.currentTime+=e;let r=_f(0,this.currentTime/this.duration,1);t=r>=1;let i=t?1:this.easing(r);this.value=this.from+(this.to-this.from)*i;}else this.lerp?(this.value=yp(this.value,this.to,this.lerp*60,e),Math.round(this.value)===Math.round(this.to)&&(this.value=this.to,t=true)):(this.value=this.to,t=true);t&&this.stop(),this.onUpdate?.(this.value,t);}stop(){this.isRunning=false;}fromTo(e,t,{lerp:r,duration:i,easing:n,onStart:s,onUpdate:o}){this.from=this.value=e,this.to=t,this.lerp=r,this.duration=i,this.easing=n,this.currentTime=0,this.isRunning=true,s?.(),this.onUpdate=o;}},l(Rn,"Animate"),Rn);function wp(a,e){let t;return function(...r){clearTimeout(t),t=setTimeout(()=>{t=void 0,a.apply(this,r);},e);}}l(wp,"debounce");var An,Tp=(An=class{constructor(e,t,{autoResize:r=true,debounce:i=250}={}){oe(this,"width",0);oe(this,"height",0);oe(this,"scrollHeight",0);oe(this,"scrollWidth",0);oe(this,"debouncedResize");oe(this,"wrapperResizeObserver");oe(this,"contentResizeObserver");oe(this,"resize",l(()=>{this.onWrapperResize(),this.onContentResize();},"resize"));oe(this,"onWrapperResize",l(()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight);},"onWrapperResize"));oe(this,"onContentResize",l(()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth);},"onContentResize"));this.wrapper=e,this.content=t,r&&(this.debouncedResize=wp(this.resize,i),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize();}destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize);}get limit(){return {x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},l(An,"Dimensions"),An),Nn,yf=(Nn=class{constructor(){oe(this,"events",{});}emit(e,...t){let r=this.events[e]||[];for(let i=0,n=r.length;i<n;i++)r[i]?.(...t);}on(e,t){return this.events[e]?this.events[e].push(t):this.events[e]=[t],()=>{this.events[e]=this.events[e]?.filter(r=>t!==r);}}off(e,t){this.events[e]=this.events[e]?.filter(r=>t!==r);}destroy(){this.events={};}},l(Nn,"Emitter"),Nn),bp=100/6,Oi={passive:false};function gf(a,e){return a===1?bp:a===2?e:1}l(gf,"getDeltaMultiplier");var zn,Sp=(zn=class{constructor(e,t={wheelMultiplier:1,touchMultiplier:1}){oe(this,"touchStart",{x:0,y:0});oe(this,"lastDelta",{x:0,y:0});oe(this,"window",{width:0,height:0});oe(this,"emitter",new yf);oe(this,"onTouchStart",l(e=>{let{clientX:t,clientY:r}=e.targetTouches?e.targetTouches[0]:e;this.touchStart.x=t,this.touchStart.y=r,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:e});},"onTouchStart"));oe(this,"onTouchMove",l(e=>{let{clientX:t,clientY:r}=e.targetTouches?e.targetTouches[0]:e,i=-(t-this.touchStart.x)*this.options.touchMultiplier,n=-(r-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=t,this.touchStart.y=r,this.lastDelta={x:i,y:n},this.emitter.emit("scroll",{deltaX:i,deltaY:n,event:e});},"onTouchMove"));oe(this,"onTouchEnd",l(e=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:e});},"onTouchEnd"));oe(this,"onWheel",l(e=>{let{deltaX:t,deltaY:r,deltaMode:i}=e,n=gf(i,this.window.width),s=gf(i,this.window.height);t*=n,r*=s,t*=this.options.wheelMultiplier,r*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:t,deltaY:r,event:e});},"onWheel"));oe(this,"onWindowResize",l(()=>{this.window={width:window.innerWidth,height:window.innerHeight};},"onWindowResize"));this.element=e,this.options=t,window.addEventListener("resize",this.onWindowResize),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,Oi),this.element.addEventListener("touchstart",this.onTouchStart,Oi),this.element.addEventListener("touchmove",this.onTouchMove,Oi),this.element.addEventListener("touchend",this.onTouchEnd,Oi);}on(e,t){return this.emitter.on(e,t)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize),this.element.removeEventListener("wheel",this.onWheel,Oi),this.element.removeEventListener("touchstart",this.onTouchStart,Oi),this.element.removeEventListener("touchmove",this.onTouchMove,Oi),this.element.removeEventListener("touchend",this.onTouchEnd,Oi);}},l(zn,"VirtualScroll"),zn),mf=l(a=>Math.min(1,1.001-2**(-10*a)),"defaultEasing"),Hn,vf=(Hn=class{constructor({wrapper:e=window,content:t=document.documentElement,eventsTarget:r=e,smoothWheel:i=true,syncTouch:n=false,syncTouchLerp:s=.075,touchInertiaExponent:o=1.7,duration:c,easing:f,lerp:h=.1,infinite:p=false,orientation:g="vertical",gestureOrientation:u=g==="horizontal"?"both":"vertical",touchMultiplier:m=1,wheelMultiplier:d=1,autoResize:_=true,prevent:y,virtualScroll:v,overscroll:k=true,autoRaf:T=false,anchors:x=false,autoToggle:O=false,allowNestedScroll:S=false,__experimental__naiveDimensions:C=false,naiveDimensions:D=C,stopInertiaOnNavigate:L=false,respectReducedMotion:H=true}={}){oe(this,"_isScrolling",false);oe(this,"_isStopped",false);oe(this,"_isLocked",false);oe(this,"_preventNextNativeScrollEvent",false);oe(this,"_resetVelocityTimeout",null);oe(this,"_rafId",null);oe(this,"_isDraggingSelection",false);oe(this,"reducedMotionMediaQuery",window.matchMedia("(prefers-reduced-motion: reduce)"));oe(this,"isTouching");oe(this,"isIos");oe(this,"time",0);oe(this,"userData",{});oe(this,"lastVelocity",0);oe(this,"velocity",0);oe(this,"direction",0);oe(this,"options");oe(this,"targetScroll");oe(this,"animatedScroll");oe(this,"animate",new xp);oe(this,"emitter",new yf);oe(this,"dimensions");oe(this,"virtualScroll");oe(this,"onScrollEnd",l(e=>{e instanceof CustomEvent||(this.isScrolling==="smooth"||this.isScrolling===false)&&e.stopPropagation();},"onScrollEnd"));oe(this,"dispatchScrollendEvent",l(()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:true}}));},"dispatchScrollendEvent"));oe(this,"onTransitionEnd",l(e=>{e.propertyName?.includes("overflow")&&e.target===this.rootElement&&this.checkOverflow();},"onTransitionEnd"));oe(this,"onClick",l(e=>{let t=e.composedPath().filter(i=>i instanceof HTMLAnchorElement&&i.href).map(i=>new URL(i.href)),r=new URL(window.location.href);if(this.options.anchors){let i=t.find(n=>r.host===n.host&&r.pathname===n.pathname&&n.hash);if(i){let n=typeof this.options.anchors=="object"&&this.options.anchors?this.options.anchors:void 0,s=decodeURIComponent(i.hash);this.scrollTo(s,n);return}}if(this.options.stopInertiaOnNavigate&&t.some(i=>r.host===i.host&&r.pathname!==i.pathname)){this.reset();return}},"onClick"));oe(this,"onPointerDown",l(e=>{e.button===1&&this.reset();},"onPointerDown"));oe(this,"onVirtualScroll",l(e=>{if(typeof this.options.virtualScroll=="function"&&this.options.virtualScroll(e)===false)return;let{deltaX:t,deltaY:r,event:i}=e;if(this.emitter.emit("virtual-scroll",{deltaX:t,deltaY:r,event:i}),i.ctrlKey||i.lenisStopPropagation)return;let n=i.type.includes("touch"),s=i.type.includes("wheel");if(n&&this.isIos&&(i.type==="touchstart"&&(this._isDraggingSelection=this.isTouchOnSelectionHandle(i)),this._isDraggingSelection)){i.type==="touchend"&&(this._isDraggingSelection=false);return}this.isTouching=i.type==="touchstart"||i.type==="touchmove";let o=t===0&&r===0;if(this.options.syncTouch&&n&&i.type==="touchstart"&&o&&!this.isStopped&&!this.isLocked){this.reset();return}let c=this.options.gestureOrientation==="vertical"&&r===0||this.options.gestureOrientation==="horizontal"&&t===0;if(o||c)return;let f=i.composedPath();f=f.slice(0,f.indexOf(this.rootElement));let h=this.options.prevent,p=Math.abs(t)>=Math.abs(r)?"horizontal":"vertical";if(f.find(d=>d instanceof HTMLElement&&(typeof h=="function"&&h?.(d)||d.hasAttribute?.("data-lenis-prevent")||p==="vertical"&&d.hasAttribute?.("data-lenis-prevent-vertical")||p==="horizontal"&&d.hasAttribute?.("data-lenis-prevent-horizontal")||n&&d.hasAttribute?.("data-lenis-prevent-touch")||s&&d.hasAttribute?.("data-lenis-prevent-wheel")||this.options.allowNestedScroll&&this.hasNestedScroll(d,{deltaX:t,deltaY:r}))))return;if(this.isStopped||this.isLocked){i.cancelable&&i.preventDefault();return}if(!(this.options.syncTouch&&n||this.options.smoothWheel&&s)){this.isScrolling="native",this.animate.stop(),i.lenisStopPropagation=true;return}let g=r;this.options.gestureOrientation==="both"?g=Math.abs(r)>Math.abs(t)?r:t:this.options.gestureOrientation==="horizontal"&&(g=t),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll<this.limit||this.animatedScroll===0&&r>0||this.animatedScroll===this.limit&&r<0))&&(i.lenisStopPropagation=true),i.cancelable&&i.preventDefault();let u=n&&this.options.syncTouch,m=n&&i.type==="touchend";m&&(g=Math.sign(g)*Math.abs(this.velocity)**this.options.touchInertiaExponent),this.scrollTo(this.targetScroll+g,{programmatic:false,...u?{lerp:m?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}});},"onVirtualScroll"));oe(this,"onNativeScroll",l(()=>{if(this._resetVelocityTimeout!==null&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=false;return}if(this.isScrolling===false||this.isScrolling==="native"){let e=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-e,this.direction=Math.sign(this.animatedScroll-e),this.isStopped||(this.isScrolling="native"),this.emit(),this.velocity!==0&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=false,this.emit();},400));}},"onNativeScroll"));oe(this,"raf",l(e=>{let t=e-(this.time||e);this.time=e,this.animate.advance(t*.001),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf));},"raf"));window.lenisVersion=pf,window.lenis||(window.lenis={}),window.lenis.version=pf,g==="horizontal"&&(window.lenis.horizontal=true),n===true&&(window.lenis.touch=true),this.isIos=/(iPad|iPhone|iPod)/g.test(navigator.userAgent),(!e||e===document.documentElement)&&(e=window),typeof c=="number"&&typeof f!="function"?f=mf:typeof f=="function"&&typeof c!="number"&&(c=1),this.options={wrapper:e,content:t,eventsTarget:r,smoothWheel:i,syncTouch:n,syncTouchLerp:s,touchInertiaExponent:o,duration:c,easing:f,lerp:h,infinite:p,gestureOrientation:u,orientation:g,touchMultiplier:m,wheelMultiplier:d,autoResize:_,prevent:y,virtualScroll:v,overscroll:k,autoRaf:T,anchors:x,autoToggle:O,allowNestedScroll:S,naiveDimensions:D,stopInertiaOnNavigate:L,respectReducedMotion:H},this.dimensions=new Tp(e,t,{autoResize:_}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:true}),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.addEventListener("click",this.onClick),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown),this.virtualScroll=new Sp(r,{touchMultiplier:m,wheelMultiplier:d}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle&&(this.checkOverflow(),this.rootElement.addEventListener("transitionend",this.onTransitionEnd)),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf));}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:true}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.removeEventListener("click",this.onClick),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this._rafId&&cancelAnimationFrame(this._rafId);}on(e,t){return this.emitter.on(e,t)}off(e,t){return this.emitter.off(e,t)}get overflow(){let e=this.isHorizontal?"overflow-x":"overflow-y";return getComputedStyle(this.rootElement)[e]}checkOverflow(){["hidden","clip"].includes(this.overflow)?this.internalStop():this.internalStart();}setScroll(e){this.isHorizontal?this.options.wrapper.scrollTo({left:e,behavior:"instant"}):this.options.wrapper.scrollTo({top:e,behavior:"instant"});}isTouchOnSelectionHandle(e){let t=window.getSelection();if(!t||t.isCollapsed||t.rangeCount===0)return false;let r=e.targetTouches[0]??e.changedTouches[0];if(!r)return false;let i=t.getRangeAt(0).getClientRects();if(i.length===0)return false;let n=i[0],s=i[i.length-1],o=40,c=Math.hypot(r.clientX-n.left,r.clientY-n.top)<=o,f=Math.hypot(r.clientX-s.right,r.clientY-s.bottom)<=o;return c||f}resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit();}emit(){this.emitter.emit("scroll",this);}reset(){this.isLocked=false,this.isScrolling=false,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop();}start(){if(this.isStopped){if(this.options.autoToggle){this.rootElement.style.removeProperty("overflow");return}this.internalStart();}}internalStart(){this.isStopped&&(this.reset(),this.isStopped=false,this.emit());}stop(){if(!this.isStopped){if(this.options.autoToggle){this.rootElement.style.setProperty("overflow","clip");return}this.internalStop();}}internalStop(){this.isStopped||(this.reset(),this.isStopped=true,this.emit());}scrollTo(e,{offset:t=0,immediate:r=false,lock:i=false,programmatic:n=true,lerp:s=n?this.options.lerp:void 0,duration:o=n?this.options.duration:void 0,easing:c=n?this.options.easing:void 0,onStart:f,onComplete:h,force:p=false,userData:g}={}){if(this.prefersReducedMotion&&(n?r=true:(s=1,o=void 0,c=void 0)),(this.isStopped||this.isLocked)&&!p)return;let u=e,m=t;if(typeof u=="string"&&["top","left","start","#"].includes(u))u=0;else if(typeof u=="string"&&["bottom","right","end"].includes(u))u=this.limit;else {let d=null;if(typeof u=="string"?(d=u.startsWith("#")?document.getElementById(u.slice(1)):document.querySelector(u),d||(u==="#top"?u=0:console.warn("Lenis: Target not found",u))):u instanceof HTMLElement&&u?.nodeType&&(d=u),d){if(this.options.wrapper!==window){let x=this.rootElement.getBoundingClientRect();m-=this.isHorizontal?x.left:x.top;}let _=d.getBoundingClientRect(),y=getComputedStyle(d),v=this.isHorizontal?Number.parseFloat(y.scrollMarginLeft):Number.parseFloat(y.scrollMarginTop),k=getComputedStyle(this.rootElement),T=this.isHorizontal?Number.parseFloat(k.scrollPaddingLeft):Number.parseFloat(k.scrollPaddingTop);u=(this.isHorizontal?_.left:_.top)+this.animatedScroll-(Number.isNaN(v)?0:v)-(Number.isNaN(T)?0:T);}}if(typeof u=="number"){if(u+=m,this.options.infinite){if(n){this.targetScroll=this.animatedScroll=this.scroll;let d=u-this.animatedScroll;d>this.limit/2?u-=this.limit:d<-this.limit/2&&(u+=this.limit);}}else u=_f(0,u,this.limit);if(u===this.targetScroll){f?.(this),h?.(this);return}if(this.userData=g??{},r){this.animatedScroll=this.targetScroll=u,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),h?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent();});return}n||(this.targetScroll=u),typeof o=="number"&&typeof c!="function"?c=mf:typeof c=="function"&&typeof o!="number"&&(o=1),this.animate.fromTo(this.animatedScroll,u,{duration:o,easing:c,lerp:s,onStart:l(()=>{i&&(this.isLocked=true),this.isScrolling="smooth",f?.(this);},"onStart"),onUpdate:l((d,_)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=d-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=d,this.setScroll(this.scroll),n&&(this.targetScroll=d),_||this.emit(),_&&(this.reset(),this.emit(),h?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent();}),this.preventNextNativeScrollEvent());},"onUpdate")});}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=true,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=false;});}hasNestedScroll(e,{deltaX:t,deltaY:r}){let i=Date.now();e._lenis||(e._lenis={});let n=e._lenis,s,o,c,f,h,p,g,u,m,d;if(i-(n.time??0)>2e3){n.time=Date.now();let S=window.getComputedStyle(e);if(n.computedStyle=S,s=["auto","overlay","scroll"].includes(S.overflowX),o=["auto","overlay","scroll"].includes(S.overflowY),h=["auto"].includes(S.overscrollBehaviorX),p=["auto"].includes(S.overscrollBehaviorY),n.hasOverflowX=s,n.hasOverflowY=o,!(s||o))return false;g=e.scrollWidth,u=e.scrollHeight,m=e.clientWidth,d=e.clientHeight,c=g>m,f=u>d,n.isScrollableX=c,n.isScrollableY=f,n.scrollWidth=g,n.scrollHeight=u,n.clientWidth=m,n.clientHeight=d,n.hasOverscrollBehaviorX=h,n.hasOverscrollBehaviorY=p;}else c=n.isScrollableX,f=n.isScrollableY,s=n.hasOverflowX,o=n.hasOverflowY,g=n.scrollWidth,u=n.scrollHeight,m=n.clientWidth,d=n.clientHeight,h=n.hasOverscrollBehaviorX,p=n.hasOverscrollBehaviorY;if(!(s&&c||o&&f))return false;let _=Math.abs(t)>=Math.abs(r)?"horizontal":"vertical",y,v,k,T,x,O;if(_==="horizontal")y=Math.round(e.scrollLeft),v=g-m,k=t,T=s,x=c,O=h;else if(_==="vertical")y=Math.round(e.scrollTop),v=u-d,k=r,T=o,x=f,O=p;else return false;return !O&&(y>=v||y<=0)?true:(k>0?y<v:y>0)&&T&&x}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){let e=this.options.wrapper;return this.isHorizontal?e.scrollX??e.scrollLeft:e.scrollY??e.scrollTop}get scroll(){return this.options.infinite?vp(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return this.limit===0?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(e){this._isScrolling!==e&&(this._isScrolling=e,this.updateClassName());}get isStopped(){return this._isStopped}set isStopped(e){this._isStopped!==e&&(this._isStopped=e,this.updateClassName());}get isLocked(){return this._isLocked}set isLocked(e){this._isLocked!==e&&(this._isLocked=e,this.updateClassName());}get isSmooth(){return this.isScrolling==="smooth"}get prefersReducedMotion(){return this.options.respectReducedMotion&&this.reducedMotionMediaQuery.matches}get className(){let e="lenis";return this.options.autoToggle&&(e+=" lenis-autoToggle"),this.isStopped&&(e+=" lenis-stopped"),this.isLocked&&(e+=" lenis-locked"),this.isScrolling&&(e+=" lenis-scrolling"),this.isScrolling==="smooth"&&(e+=" lenis-smooth"),e}updateClassName(){this.cleanUpClassName(),this.className.split(" ").forEach(e=>{this.rootElement.classList.add(e);});}cleanUpClassName(){for(let e of Array.from(this.rootElement.classList))(e==="lenis"||e.startsWith("lenis-"))&&this.rootElement.classList.remove(e);}},l(Hn,"Lenis"),Hn);var xf={lenis:null,scrollTo:l(()=>{},"scrollTo"),active:false,destroy:l(()=>{},"destroy")};function Ep(a={}){Te();let{force:e=false,lerp:t=.08,smoothWheel:r=true,smoothTouch:i=false,orientation:n="vertical",initialScroll:s=0,useScrollerProxy:o=false}=a;if(typeof window>"u"||si()&&!e)return xf;let c=new vf({lerp:t,smoothWheel:r,syncTouch:i,orientation:n,autoRaf:false});s&&c.scrollTo(s,{immediate:true});let f=l(()=>j.update(),"onScroll");c.on("scroll",f);let h=l(m=>c.raf(m*1e3),"tick");Y.ticker.add(h),Y.ticker.lagSmoothing(0),o&&(j.scrollerProxy(document.documentElement,{scrollTop(m){return arguments.length&&typeof m=="number"?(c.scrollTo(m,{immediate:true}),m):c.scroll},getBoundingClientRect:l(()=>({top:0,left:0,width:window.innerWidth,height:window.innerHeight}),"getBoundingClientRect"),pinType:"fixed"}),j.defaults({scroller:document.documentElement}));let p=l(()=>{c.resize(),j.refresh();},"onResize");window.addEventListener("resize",p);let g=l(()=>j.refresh(),"refresh");return window.addEventListener("load",g),c.resize(),j.refresh(),{lenis:c,active:true,scrollTo:l((m,d)=>c.scrollTo(m,d),"scrollTo"),destroy:l(()=>{window.removeEventListener("resize",p),window.removeEventListener("load",g),Y.ticker.remove(h),c.off("scroll",f),o&&(j.scrollerProxy(document.documentElement,{}),j.defaults({scroller:window})),c.destroy();},"destroy")}}l(Ep,"smoothScroll");function vl(a,e){Te();let t=typeof a=="string"?document.querySelector(a)??null:a;if(!t)return {elements:[],revert:l(()=>{},"revert")};if(typeof xi<"u"&&xi?.create)try{let r=xi.create(t,{type:e.type,mask:e.mask?"lines":void 0,linesClass:e.linesClass??"ak-line++",wordsClass:e.wordsClass??"ak-word++",charsClass:e.charsClass??"ak-char++",lineThreshold:e.lineThreshold??.05});return {elements:kp(r,e.type),revert:l(()=>{try{r.revert();}catch{}},"revert")}}catch{}return Cp(t,e)}l(vl,"split");function kp(a,e){let t=Array.isArray(e)?e:[e],r=[];return t.includes("lines")&&a.lines?r.push(...a.lines):t.includes("words")&&a.words?r.push(...a.words):t.includes("chars")&&a.chars&&r.push(...a.chars),r}l(kp,"collect");function Cp(a,e){let t=a.innerHTML,r=Array.isArray(e.type)?e.type[0]:e.type,i=Array.from(a.childNodes),n=[],s=l((f,h,p)=>{let g=document.createElement("span");return g.className=h.replace("++",String(p)),g.textContent=f,n.push(g),g},"wrap"),o=document.createDocumentFragment(),c=0;for(let f of i)if(f.nodeType===Node.TEXT_NODE){let h=f.textContent??"";if(r==="chars")for(let p of h)o.appendChild(p===" "?document.createTextNode(" "):s(p,e.charsClass??"ak-char++",c++));else {let p=h.split(/(\s+)/);for(let g of p)g&&(/^\s+$/.test(g)?o.appendChild(document.createTextNode(g)):o.appendChild(s(g,e.wordsClass??"ak-word++",c++)));}}else f.nodeType===Node.ELEMENT_NODE&&o.appendChild(f.cloneNode(true));return a.innerHTML="",a.appendChild(o),e.mask&&Y.set(n,{display:"inline-block"}),{elements:n,revert:l(()=>{a.innerHTML=t,n.length=0;},"revert")}}l(Cp,"manualSplit");function Ye(a,e){return Te(),si()&&!a.force?()=>{}:e()}l(Ye,"guard");function Mp(a,e={}){Te();let{mode:t="scroll",stagger:r=.1,duration:i=1,ease:n="power4.out",delay:s=0,start:o="top 90%",end:c="bottom 10%"}=e,f=Be(a);if(!f.length)return ()=>{};return Ye(e,h);function h(){let p=[],g=[];return f.forEach(u=>{let m=vl(u,{type:"lines",mask:true,linesClass:"ak-line++",lineThreshold:.05});if(p.push(m),u.querySelectorAll("[aria-label]").forEach(_=>_.removeAttribute("aria-label")),!m.elements.length)return;Y.set(m.elements,{y:"100%"});let d={y:"0%",duration:i,stagger:r,ease:n,delay:s,overwrite:"auto"};t==="scroll"&&(d.scrollTrigger={trigger:u,start:o,end:c,toggleActions:"play reverse play reverse"}),g.push(Y.to(m.elements,d));}),j.refresh(),()=>{g.forEach(u=>{u.scrollTrigger?.kill(),u.kill();}),p.forEach(u=>u.revert()),j.refresh();}}}l(Mp,"lineReveal");function Pp(a,e={}){Te();let t=Be(a);if(!t.length)return ()=>{};let{from:r="100%",to:i="0%",duration:n=.5,ease:s=Rt.reveal,stagger:o=.1,delay:c=0,start:f="top 90%",end:h="bottom 10%",mode:p="scroll"}=e;return Ye(e,g);function g(){let u=new Map;t.forEach(d=>{let _=d.parentElement??d,y=u.get(_)??[];y.push(d),u.set(_,y);});let m=[];return Y.set(t,{y:r}),u.forEach(d=>{let _={y:i,duration:n,stagger:o,delay:c,ease:s,overwrite:"auto"};p==="scroll"&&(_.scrollTrigger={trigger:d[0].parentElement??d[0],start:f,end:h,toggleActions:"play reverse play reverse"}),m.push(Y.to(d,_));}),j.refresh(),()=>{m.forEach(d=>{d.scrollTrigger?.kill(),d.kill();}),Y.set(t,{clearProps:"transform"}),j.refresh();}}}l(Pp,"maskReveal");function Op(a,e={}){Te();let t=Be(a);if(!t.length)return ()=>{};let{duration:r=1,delay:i=0,ease:n=Rt.reveal}=e;return Ye(e,()=>{Y.set(t,{width:0});let s=Y.to(t,{width:"100%",duration:r,delay:i,ease:n,stagger:.1,scrollTrigger:{trigger:t[0],start:"top 92%",toggleActions:"play none none reverse"}});return ()=>{s.scrollTrigger?.kill(),s.kill(),Y.set(t,{clearProps:"width"});}})}l(Op,"revealRule");function Lp(a,e={}){Te();let t=Me(a);if(!t)return ()=>{};let{attribute:r="data-speed",scale:i=50,start:n="50% bottom",end:s="bottom top"}=e;return Ye(e,()=>{let o=[];return t.querySelectorAll(`[${r}]`).forEach(c=>{let f=parseFloat(c.getAttribute(r)||"0");if(Number.isNaN(f))return;let h=f*i,p=Y.to(c,{yPercent:h,ease:"none",scrollTrigger:{trigger:c,start:n,end:s,scrub:true}});o.push({el:c,st:p.scrollTrigger}),c.__akParallax=p;}),j.refresh(),()=>{o.forEach(({el:c,st:f})=>{f?.kill(),c.__akParallax?.kill(),delete c.__akParallax,Y.set(c,{clearProps:"transform"});}),j.refresh();}})}l(Lp,"parallax");function Dp(a,e={}){Te();let t=Me(a);if(!t)return ()=>{};let r=(e.section?Me(e.section):null)??t.closest("section")??t,{scrub:i=.5,imageScrub:n=.2,panelImage:s="img",imageParallax:o=true}=e;return Ye(e,()=>{let c=l(()=>e.travel?e.travel():Math.max(0,t.scrollWidth-window.innerWidth),"travel"),f=[],h=[],p=Y.to(t,{x:l(()=>-c(),"x"),ease:"none",scrollTrigger:{trigger:r,pin:true,scrub:i,end:l(()=>"+="+c(),"end"),invalidateOnRefresh:true,anticipatePin:1}});f.push(p),p.scrollTrigger&&h.push(p.scrollTrigger),o&&s&&Y.utils.toArray(s,t).forEach(d=>{let _=Y.fromTo(d,{scale:.9,yPercent:30},{scale:1,yPercent:0,ease:"power4.out",scrollTrigger:{trigger:d,containerAnimation:p,start:"left 100%",end:"left 20%",scrub:n}});f.push(_),_.scrollTrigger&&h.push(_.scrollTrigger);});let g=l(()=>j.refresh(),"onLoad"),u=Array.from(t.querySelectorAll("img"));return u.forEach(m=>{m.complete||m.addEventListener("load",g,{once:true});}),window.addEventListener("load",g),j.refresh(),()=>{window.removeEventListener("load",g),u.forEach(m=>m.removeEventListener("load",g)),h.forEach(m=>m.kill()),f.forEach(m=>m.kill()),Y.set(t,{clearProps:"transform"}),j.refresh();}})}l(Dp,"horizontalScroll");function Rp(a,e={}){Te();let t=Me(a);if(!t)return ()=>{};let r=(e.viewport?Me(e.viewport):null)??t.firstElementChild??t,{scrub:i=.5,stagger:n=.12,card:s=".ak-card",ease:o=Rt.cardStack}=e;return Ye(e,()=>{let c=Be(s,r);if(!c.length)return ()=>{};let f=l(()=>window.innerHeight/2,"offset");Y.set(c,{yPercent:50,y:f()});let h=Y.timeline({scrollTrigger:{trigger:t,start:"top top",end:"bottom bottom",scrub:i,invalidateOnRefresh:true}});h.to(c,{yPercent:-50,y:l(()=>-f(),"y"),duration:1,stagger:n,ease:o},"step");let p=h.scrollTrigger;return j.refresh(),()=>{p?.kill(),h.kill(),Y.set(c,{clearProps:"all"}),j.refresh();}})}l(Rp,"stackedCards");function Ap(a,e={viewport:""}){Te();let t=Me(a),r=Me(e.viewport);if(!t||!r)return ()=>{};let{scrub:i=true,stagger:n=.1,card:s=".ak-card",ease:o=Rt.cardStack}=e;return Ye(e,()=>{let c=Be(s,r);if(!c.length)return ()=>{};Y.set(c,{yPercent:50,y:window.innerHeight/2});let f=j.create({trigger:t,start:"top top",end:"bottom bottom",pin:r,pinSpacing:false,anticipatePin:1,invalidateOnRefresh:true}),h=Y.timeline({scrollTrigger:{trigger:t,start:"top top",end:"bottom bottom",scrub:i,invalidateOnRefresh:true}});return h.to(c,{yPercent:-50,y:l(()=>-window.innerHeight/2,"y"),duration:1,stagger:n,ease:o},0),j.refresh(),()=>{f.kill(),h.scrollTrigger?.kill(),h.kill(),Y.set(c,{clearProps:"all"}),j.refresh();}})}l(Ap,"stackedCardsPinned");function Np(a,e={}){Te();let t=Me(a),r=(e.line?Me(e.line):null)??t;if(!t||!r)return ()=>{};let i=(e.pinTarget?Me(e.pinTarget):null)??t.querySelector("[data-pin]")??t,{granularity:n="chars",scatterY:s=60,scatterRotation:o=15,scrub:c=.5,settleStart:f="left 100%",settleEnd:h="left 15%"}=e;return Ye(e,()=>{let p=[],g=[],u=r.textContent||"",m=l(()=>{r.innerHTML=u.split("").map(v=>v===" "?'<span class="ak-space"> </span>':n==="chars"?`<span class="ak-char">${v}</span>`:`<span class="ak-char">${v}</span>`).join("");let d=l(()=>Math.max(0,r.scrollWidth-window.innerWidth),"travel"),_=Y.to(r,{x:l(()=>-d(),"x"),ease:"none",scrollTrigger:{trigger:t,pin:i,scrub:c,end:l(()=>"+="+d(),"end"),invalidateOnRefresh:true,anticipatePin:1}});p.push(_),_.scrollTrigger&&g.push(_.scrollTrigger),Array.from(r.querySelectorAll(".ak-char")).forEach(v=>{let k=(Math.random()-.5)*s,T=(Math.random()-.5)*o,x=Y.fromTo(v,{yPercent:k,rotation:T},{yPercent:0,rotation:0,ease:"power2.out",scrollTrigger:{trigger:v,containerAnimation:_,start:f,end:h,scrub:.5}});p.push(x),x.scrollTrigger&&g.push(x.scrollTrigger);}),j.refresh();},"build");return document.fonts?.ready?document.fonts.ready.then(m).catch(m):m(),()=>{g.forEach(d=>d.kill()),p.forEach(d=>d.kill()),r.textContent=u,Y.set(r,{clearProps:"transform"}),j.refresh();}})}l(Np,"scatterText");function zp(a,e={}){Te();let t=Me(a);if(!t)return ()=>{};let{offsetY:r="49vh",offsetX:i="0px",scale:n=.23,scrub:s=1,start:o="top top",end:c="bottom top"}=e;return Ye(e,()=>{let f=Y.fromTo(t,{scale:1,x:0,y:0},{x:i,y:r,scale:n,force3D:true,ease:"none",scrollTrigger:{trigger:t,start:o,end:c,scrub:s}});return j.refresh(),()=>{f.scrollTrigger?.kill(),f.kill(),Y.set(t,{clearProps:"transform"}),j.refresh();}})}l(zp,"heroShrink");function Hp(a,e={}){Te();let t=Me(a);if(!t)return ()=>{};let{threshold:r=200,hideY:i=-100,mobileBreakpoint:n=768,startHidden:s=true}=e;return Ye(e,()=>{let o=window.scrollY,c=!s,f=l(()=>window.innerWidth<n,"isMobile"),h=l((g,u)=>{g!==!c&&(c=!g,Y.to(t,{y:g?i:0,duration:u,ease:"power2.out",overwrite:"auto"}));},"setHidden");Y.set(t,{y:f()||!s?0:i}),c=!f()&&!s?true:!s;let p=l(()=>{let g=window.scrollY;f()?h(false,.3):g<=r?c&&h(true,1):g>o?h(true,.3):g<o&&h(false,.3),o=g;},"onScroll");return window.addEventListener("scroll",p,{passive:true}),p(),()=>{window.removeEventListener("scroll",p),Pi(t),Y.set(t,{clearProps:"transform"});}})}l(Hp,"navHide");function Fp(a,e={}){Te();let t=Me(a);if(!t)return ()=>{};let{path:r="[data-logo-path], .svg-anim-path",stagger:i=.05,duration:n=1,ease:s="power2.out",start:o="top 80%",end:c="bottom top",once:f=false}=e;return Ye(e,()=>{let h=Be(r,t);if(!h.length)return ()=>{};Y.set(h,{yPercent:-100,opacity:0,willChange:"transform"});let p=Y.to(h,{yPercent:0,opacity:1,duration:n,delay:0,ease:s,stagger:i,scrollTrigger:{trigger:t,start:o,end:c,once:f,toggleActions:f?void 0:"play reverse play reverse"}});return j.refresh(),()=>{p.scrollTrigger?.kill(),p.kill(),Y.set(h,{clearProps:"all"}),j.refresh();}})}l(Fp,"logoReveal");function Ip(a,e={}){Te();let t=Be(a);if(!t.length)return ()=>{};let{speed:r=40,clone:i=true,pauseOnHover:n=false}=e;return Ye(e,()=>{let s=[];t.forEach(d=>{d.matches("[data-marquee-track]")?s.push(d):d.querySelectorAll("[data-marquee-track]").forEach(_=>s.push(_));});let o=s.map(d=>{let _=d.children.length;i&&Bp(d);let y=e.direction??(d.dataset.dir==="right"?"right":"left");return {track:d,dir:y,offset:0,width:0,hovering:false,originalCount:_,cloned:d.children.length>_}}),c=l(()=>{o.forEach(d=>{d.width=Yp(d.track),d.dir==="right"&&d.offset===0&&(d.offset=-d.width);});},"measure");c();let f=performance.now(),h=0,p=true,g=l(d=>{if(!p)return;let _=Math.min(64,d-f)/1e3;f=d;for(let y of o){if(!y.width||n&&y.hovering)continue;let v=r*_*(y.dir==="right"?1:-1);y.offset+=v,y.offset<=-y.width&&(y.offset+=y.width),y.offset>=0&&(y.offset-=y.width),Y.set(y.track,{x:y.offset});}h=requestAnimationFrame(g);},"loop");h=requestAnimationFrame(g);let u=l(()=>{c();},"onResize");window.addEventListener("resize",u);let m=[];return n&&o.forEach(d=>{let _=l(()=>d.hovering=true,"enter"),y=l(()=>d.hovering=false,"leave");d.track.addEventListener("pointerenter",_),d.track.addEventListener("pointerleave",y),m.push(()=>{d.track.removeEventListener("pointerenter",_),d.track.removeEventListener("pointerleave",y);});}),()=>{p=false,cancelAnimationFrame(h),window.removeEventListener("resize",u),m.forEach(d=>d()),o.forEach(d=>{if(Y.set(d.track,{clearProps:"transform"}),d.cloned){for(;d.track.children.length>d.originalCount;)d.track.removeChild(d.track.lastElementChild);delete d.track.dataset.marqueeCloned;}});}})}l(Ip,"marquee");function Bp(a){if(a.dataset.marqueeCloned==="true")return;let e=a.innerHTML;a.insertAdjacentHTML("beforeend",e),a.dataset.marqueeCloned="true";}l(Bp,"duplicateOnce");function Yp(a){if(a.dataset.marqueeCloned!=="true")return a.scrollWidth;let e=Array.from(a.children);if(!e.length)return a.scrollWidth/2;let t=Math.floor(e.length/2),r=0;for(let i=0;i<t;i++){let n=e[i].getBoundingClientRect(),s=e[i+1]?.getBoundingClientRect();r+=s?s.left-n.left:n.width;}return r>0?r:a.scrollWidth/2}l(Yp,"measureCopy");function Xp(a,e={}){Te();let t=Me(a);if(!t)return ()=>{};let{maxRotation:r=100,rotationScale:i=100,settleDuration:n=1,inertia:s=false,clone:o=true,item:c=":scope > *"}=e;return Ye(e,()=>{let f=t.parentElement,h={cursor:t.style.cursor,userSelect:t.style.userSelect,touchAction:t.style.touchAction},p=t.children.length,g=Array.from(t.children),u=l(()=>Math.max(t.scrollWidth,t.clientWidth),"trackWidth"),m=p>0?u():0,d=1,_=0,y=false,v=false,k=l(()=>g.map(X=>{let K=X.cloneNode(true);return K instanceof Element&&(K.id&&K.removeAttribute("id"),K.querySelectorAll("[id]").forEach(G=>G.removeAttribute("id"))),K}),"cloneTile"),T=l(()=>{if(d=Math.max(1,f?.clientWidth||t.clientWidth||1),m>0&&o)for(let X=8;X>0&&u()-m<d;X--)t.append(...k());m<=0?_=0:o?_=Math.max(0,Math.floor((u()-d)/m))*m:_=Math.max(0,u()-d);},"measure"),x=l(X=>_<=0?X:o?Y.utils.wrap(-_,0,X):Math.max(-_,Math.min(0,X)),"fold"),O=l(X=>y||v?x(X):X,"foldWhenDriven");T();let S=Be(c,t);Y.set(S,{transformOrigin:"50% 100%"});let C=Y.quickTo(S,"rotation",{duration:.12,ease:"power2.out"}),D=Y.quickTo(S,"rotation",{duration:n,ease:"power3.out"}),L=0,H=0;t.style.cursor="grab",t.style.userSelect="none",t.style.touchAction="pan-y";let N=ni.create(t,{type:"x",dragClickables:true,inertia:s,liveSnap:{x:O},onPress(){y=true,v=false,D.tween.isActive()&&D.tween.totalProgress(1),L=this.pointerX||0,H=performance.now(),t.style.cursor="grabbing";},onDrag(){let X=performance.now(),K=Math.min(64,Math.max(8,X-H)),G=this.pointerX||0,V=G-L;L=G,H=X;let se=V/K*16.667,ie=Y.utils.clamp(-r,r,-(se/i)*100);C(ie);},onRelease(){y=false,t.style.cursor=h.cursor||"grab",C.tween.isActive()&&C.tween.totalProgress(1),D(0);},onThrowUpdate:l(()=>{v=true;},"onThrowUpdate"),onThrowComplete:l(()=>{v=false;},"onThrowComplete")})[0],z=l(()=>{let X=parseFloat(String(Y.getProperty(t,"x")??0))||0;T(),Y.set(t,{x:x(X)});},"onResize");return window.addEventListener("resize",z),()=>{for(window.removeEventListener("resize",z),C.tween.kill(),D.tween.kill(),N.kill(),t.style.cursor=h.cursor,t.style.userSelect=h.userSelect,t.style.touchAction=h.touchAction;t.children.length>p;)t.removeChild(t.lastElementChild);Y.set([t,...t.children],{clearProps:"transform,transformOrigin"});}})}l(Xp,"dragStrip");function Wp(a,e={}){let t=Be(a);if(!t.length)return ()=>{};let{duration:r=900,fill:i="var(--ak-primary, #6c5ce7)",direction:n="up",labelColor:s="#fff"}=e;return t.forEach(o=>{o.dataset.akLiquid=n,o.style.setProperty("--ak-liquid-duration",`${r}ms`),o.style.setProperty("--ak-liquid-fill",i),o.style.setProperty("--ak-liquid-label",s);}),()=>{t.forEach(o=>{delete o.dataset.akLiquid,o.style.removeProperty("--ak-liquid-duration"),o.style.removeProperty("--ak-liquid-fill"),o.style.removeProperty("--ak-liquid-label");});}}l(Wp,"liquidButton");function Vp(a){let e=Be(a);return e.forEach(t=>t.classList.add("ak-underline")),()=>e.forEach(t=>t.classList.remove("ak-underline"))}l(Vp,"underlineLink");function qp(a,e={}){Te();let t=(e.follower?Me(e.follower):null)??document.querySelector("[data-cursor]"),r=Me(a);if(!t||!r)return ()=>{};let{offset:i=14,spring:n={mass:.1,stiffness:120},blendMode:s="exclusion",fade:o=true}=e;return Ye(e,()=>{let c={mixBlendMode:t.style.mixBlendMode,position:t.style.position,left:t.style.left,top:t.style.top,pointerEvents:t.style.pointerEvents};t.style.mixBlendMode=s,t.style.position="absolute",t.style.left="0",t.style.top="0",t.style.pointerEvents="none",Y.set(t,{opacity:o?0:1,x:0,y:0});let f=Y.quickTo(t,"x",{...n,duration:.4,ease:"power3"}),h=Y.quickTo(t,"y",{...n,duration:.4,ease:"power3"}),p=l(m=>{let d=r.getBoundingClientRect();f(m.clientX-d.left+i),h(m.clientY-d.top+i),o&&Y.to(t,{opacity:1,duration:.25,overwrite:"auto"});},"onMove"),g=l(()=>{o&&Y.to(t,{opacity:0,duration:.25,overwrite:"auto"});},"onLeave"),u=l(m=>{m.key==="Enter"||m.key;},"onKey");return r.addEventListener("pointermove",p),r.addEventListener("pointerleave",g),r.addEventListener("keydown",u),()=>{r.removeEventListener("pointermove",p),r.removeEventListener("pointerleave",g),r.removeEventListener("keydown",u),f.tween.kill(),h.tween.kill(),Pi(t),t.style.mixBlendMode=c.mixBlendMode,t.style.position=c.position,t.style.left=c.left,t.style.top=c.top,t.style.pointerEvents=c.pointerEvents,Y.set(t,{clearProps:"opacity,transform"});}})}l(qp,"cursorFollower");function Gp(a,e={}){Te();let t=Be(a);if(!t.length)return ()=>{};let{from:r=0,to:i=100,duration:n=4,ease:s="power1.inOut",pad:o=0,suffix:c="",onScroll:f=false,start:h="top 90%",onComplete:p}=e;return Ye(e,g);function g(){let u=[];return t.forEach(m=>{let d={v:r},_=l(()=>{let v=Math.round(d.v);m.textContent=(o?String(v).padStart(o,"0"):String(v))+c;},"render");_();let y={v:i,duration:n,ease:s,onUpdate:_,onComplete:l(()=>{_(),p?.(Math.round(d.v));},"onComplete")};f&&(y.scrollTrigger={trigger:m,start:h,once:true}),u.push(Y.to(d,y));}),f&&j.refresh(),()=>{u.forEach(m=>{m.scrollTrigger?.kill(),m.kill();});}}}l(Gp,"counter");function Up(a,e={}){Te();let t={start:l(()=>{},"start"),stop:l(()=>{},"stop"),destroy:l(()=>{},"destroy")},r=Be(a)[0];if(!r)return t;let{bar:i=":scope > *",interval:n=100,minHeight:s=4,maxHeight:o=14,bounce:c=.75}=e,f=Be(i,r);if(!f.length)return t;let h=0,p=l(()=>{h||(m(),h=window.setInterval(m,n));},"start"),g=l(()=>{h&&window.clearInterval(h),h=0,f.forEach(d=>Y.to(d,{height:s,duration:.4,ease:"power2.out",overwrite:"auto"}));},"stop"),u=Ye(e,()=>(Y.set(f,{height:s,force3D:true}),p(),()=>{h&&window.clearInterval(h),h=0,Pi(f),Y.set(f,{clearProps:"height"});}));return {start:p,stop:g,destroy:u};function m(){f.forEach(d=>{let _=Math.random()*.8+.2;Y.to(d,{height:Math.max(s,o*_),duration:.45,ease:`back.out(${(c*1.8).toFixed(2)})`,overwrite:"auto"});});}}l(Up,"audioBars");var xl="ak-theme-reveal";function jp(a={}){let{toggle:e,storageKey:t="ak-theme",origin:r="50% 50%",duration:i=1,onChange:n}=a,s=document.documentElement,o=e?Me(e):null,c=(()=>{try{return sessionStorage.getItem(t)}catch{return null}})(),f=a.initial??c??(s.classList.contains("dark")?"dark":"light");u(f,false);let h=l(()=>m(f==="dark"?"light":"dark"),"onClick");o&&o.addEventListener("click",h);function p(){if(typeof r=="string")return r;let d=r?Me(r):o;if(!d)return "50% 50%";let _=d.getBoundingClientRect();return `${Math.round(_.left+_.width/2)}px ${Math.round(_.top+_.height/2)}px`}l(p,"resolveOrigin");function g(d){let _=document.getElementById(xl);_||(_=document.createElement("style"),_.id=xl,document.head.appendChild(_));let y=`${i}s`;_.textContent=`
|
|
1
|
+
var au=Object.defineProperty;var xh=(l,e,r)=>e in l?au(l,e,{enumerable:true,configurable:true,writable:true,value:r}):l[e]=r;var a=(l,e)=>au(l,"name",{value:e,configurable:true});var le=(l,e,r)=>xh(l,typeof e!="symbol"?e+"":e,r);function Kr(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}a(Kr,"_assertThisInitialized");function mu(l,e){l.prototype=Object.create(e.prototype),l.prototype.constructor=l,l.__proto__=e;}a(mu,"_inheritsLoose");var ur={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},ro={duration:.5,overwrite:false,delay:0},Ea,Dt,ot,Er=1e8,tt=1/Er,ga=Math.PI*2,wh=ga/4,bh=0,_u=Math.sqrt,Th=Math.cos,Sh=Math.sin,xt=a(function(e){return typeof e=="string"},"_isString"),ct=a(function(e){return typeof e=="function"},"_isFunction"),Zr=a(function(e){return typeof e=="number"},"_isNumber"),os=a(function(e){return typeof e>"u"},"_isUndefined"),Vr=a(function(e){return typeof e=="object"},"_isObject"),lr=a(function(e){return e!==false},"_isNotFalse"),ka=a(function(){return typeof window<"u"},"_windowExists"),Ko=a(function(e){return ct(e)||xt(e)},"_isFuncOrString"),yu=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Xt=Array.isArray,Eh=/random\([^)]+\)/g,kh=/,\s*/g,lu=/(?:-?\.?\d|\.)+/gi,Ca=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Yi=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,la=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Ma=/[+-]=-?[.\d]+/,Ch=/[^,'"\[\]\s]+/gi,Mh=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,at,Xr,ma,Pa,dr={},es={},vu,xu=a(function(e){return (es=hn(e,dr))&&Wt},"_install"),ss=a(function(e,r){return console.warn("Invalid property",e,"set to",r,"Missing plugin? gsap.registerPlugin()")},"_missingPlugin"),io=a(function(e,r){return !r&&console.warn(e)},"_warn"),wu=a(function(e,r){return e&&(dr[e]=r)&&es&&(es[e]=r)||dr},"_addGlobal"),no=a(function(){return 0},"_emptyFunc"),Ph={suppressEvents:true,isStart:true,kill:false},Qo={suppressEvents:true,kill:false},Lh={suppressEvents:true},La={},mi=[],_a={},bu,sr={},ua={},uu=30,Zo=[],Oa="",Da=a(function(e){var r=e[0],t,i;if(Vr(r)||ct(r)||(e=[e]),!(t=(r._gsap||{}).harness)){for(i=Zo.length;i--&&!Zo[i].targetTest(r););t=Zo[i];}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new za(e[i],t)))||e.splice(i,1);return e},"_harness"),_i=a(function(e){return e._gsap||Da(kr(e))[0]._gsap},"_getCache"),Aa=a(function(e,r,t){return (t=e[r])&&ct(t)?e[r]():os(t)&&e.getAttribute&&e.getAttribute(r)||t},"_getProperty"),Kt=a(function(e,r){return (e=e.split(",")).forEach(r)||e},"_forEachName"),ft=a(function(e){return Math.round(e*1e5)/1e5||0},"_round"),st=a(function(e){return Math.round(e*1e7)/1e7||0},"_roundPrecise"),Xi=a(function(e,r){var t=r.charAt(0),i=parseFloat(r.substr(2));return e=parseFloat(e),t==="+"?e+i:t==="-"?e-i:t==="*"?e*i:e/i},"_parseRelative"),Oh=a(function(e,r){for(var t=r.length,i=0;e.indexOf(r[i])<0&&++i<t;);return i<t},"_arrayContainsAny"),ts=a(function(){var e=mi.length,r=mi.slice(0),t,i;for(_a={},mi.length=0,t=0;t<e;t++)i=r[t],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],true)._lazy=0);},"_lazyRender"),Ra=a(function(e){return !!(e._initted||e._startAt||e.add)},"_isRevertWorthy"),Tu=a(function(e,r,t,i){mi.length&&!Dt&&ts(),e.render(r,t,i||!!(Dt&&r<0&&Ra(e))),mi.length&&!Dt&&ts();},"_lazySafeRender"),Su=a(function(e){var r=parseFloat(e);return (r||r===0)&&(e+"").match(Ch).length<2?r:xt(e)?e.trim():e},"_numericIfPossible"),Eu=a(function(e){return e},"_passThrough"),gr=a(function(e,r){for(var t in r)t in e||(e[t]=r[t]);return e},"_setDefaults"),Dh=a(function(e){return function(r,t){for(var i in t)i in r||i==="duration"&&e||i==="ease"||(r[i]=t[i]);}},"_setKeyframeDefaults"),hn=a(function(e,r){for(var t in r)e[t]=r[t];return e},"_merge"),cu=a(function l(e,r){for(var t in r)t!=="__proto__"&&t!=="constructor"&&t!=="prototype"&&(e[t]=Vr(r[t])?l(e[t]||(e[t]={}),r[t]):r[t]);return e},"_mergeDeep"),rs=a(function(e,r){var t={},i;for(i in e)i in r||(t[i]=e[i]);return t},"_copyExcluding"),Jn=a(function(e){var r=e.parent||at,t=e.keyframes?Dh(Xt(e.keyframes)):gr;if(lr(e.inherit))for(;r;)t(e,r.vars.defaults),r=r.parent||r._dp;return e},"_inheritDefaults"),Ah=a(function(e,r){for(var t=e.length,i=t===r.length;i&&t--&&e[t]===r[t];);return t<0},"_arraysMatch"),ku=a(function(e,r,t,i,n){t===void 0&&(t="_first"),i===void 0&&(i="_last");var o=e[i],s;if(n)for(s=r[n];o&&o[n]>s;)o=o._prev;return o?(r._next=o._next,o._next=r):(r._next=e[t],e[t]=r),r._next?r._next._prev=r:e[i]=r,r._prev=o,r.parent=r._dp=e,r},"_addLinkedListItem"),as=a(function(e,r,t,i){t===void 0&&(t="_first"),i===void 0&&(i="_last");var n=r._prev,o=r._next;n?n._next=o:e[t]===r&&(e[t]=o),o?o._prev=n:e[i]===r&&(e[i]=n),r._next=r._prev=r.parent=null;},"_removeLinkedListItem"),yi=a(function(e,r){e.parent&&(!r||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0;},"_removeFromParent"),Ii=a(function(e,r){if(e&&(!r||r._end>e._dur||r._start<0))for(var t=e;t;)t._dirty=1,t=t.parent;return e},"_uncache"),Rh=a(function(e){for(var r=e.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return e},"_recacheAncestors"),ya=a(function(e,r,t,i){return e._startAt&&(Dt?e._startAt.revert(Qo):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(r,true,i))},"_rewindStartAt"),Nh=a(function l(e){return !e||e._ts&&l(e.parent)},"_hasNoPausedAncestors"),fu=a(function(e){return e._repeat?pn(e._tTime,e=e.duration()+e._rDelay)*e:0},"_elapsedCycleDuration"),pn=a(function(e,r){var t=Math.floor(e=st(e/r));return e&&t===e?t-1:t},"_animationCycle"),is=a(function(e,r){return (e-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},"_parentToChildTotalTime"),ls=a(function(e){return e._end=st(e._start+(e._tDur/Math.abs(e._ts||e._rts||tt)||0))},"_setEnd"),us=a(function(e,r){var t=e._dp;return t&&t.smoothChildTiming&&e._ts&&(e._start=st(t._time-(e._ts>0?r/e._ts:((e._dirty?e.totalDuration():e._tDur)-r)/-e._ts)),ls(e),t._dirty||Ii(t,e)),e},"_alignPlayhead"),Cu=a(function(e,r){var t;if((r._time||!r._dur&&r._initted||r._start<e._time&&(r._dur||!r.add))&&(t=is(e.rawTime(),r),(!r._dur||ao(0,r.totalDuration(),t)-r._tTime>tt)&&r.render(t,true)),Ii(e,r)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(t=e;t._dp;)t.rawTime()>=0&&t.totalTime(t._tTime),t=t._dp;e._zTime=-tt;}},"_postAddChecks"),Wr=a(function(e,r,t,i){return r.parent&&yi(r),r._start=st((Zr(t)?t:t||e!==at?Sr(e,t,r):e._time)+r._delay),r._end=st(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),ku(e,r,"_first","_last",e._sort?"_start":0),va(r)||(e._recent=r),i||Cu(e,r),e._ts<0&&us(e,e._tTime),e},"_addToTimeline"),Mu=a(function(e,r){return (dr.ScrollTrigger||ss("scrollTrigger",r))&&dr.ScrollTrigger.create(r,e)},"_scrollTrigger"),Pu=a(function(e,r,t,i,n){if(Fa(e,r,n),!e._initted)return 1;if(!t&&e._pt&&!Dt&&(e._dur&&e.vars.lazy!==false||!e._dur&&e.vars.lazy)&&bu!==ar.frame)return mi.push(e),e._lazy=[n,i],1},"_attemptInitTween"),zh=a(function l(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||l(r))},"_parentPlayheadIsBeforeStart"),va=a(function(e){var r=e.data;return r==="isFromStart"||r==="isStart"},"_isFromOrFromStart"),Hh=a(function(e,r,t,i){var n=e.ratio,o=r<0||!r&&(!e._start&&zh(e)&&!(!e._initted&&va(e))||(e._ts<0||e._dp._ts<0)&&!va(e))?0:1,s=e._rDelay,f=0,c,h,d;if(s&&e._repeat&&(f=ao(0,e._tDur,r),h=pn(f,s),e._yoyo&&h&1&&(o=1-o),h!==pn(e._tTime,s)&&(n=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==n||Dt||i||e._zTime===tt||!r&&e._zTime){if(!e._initted&&Pu(e,r,i,t,f))return;for(d=e._zTime,e._zTime=r||(t?tt:0),t||(t=r&&!d),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=f,c=e._pt;c;)c.r(o,c.d),c=c._next;r<0&&ya(e,r,t,true),e._onUpdate&&!t&&pr(e,"onUpdate"),f&&e._repeat&&!t&&e.parent&&pr(e,"onRepeat"),(r>=e._tDur||r<0)&&e.ratio===o&&(o&&yi(e,1),!t&&!Dt&&(pr(e,o?"onComplete":"onReverseComplete",true),e._prom&&e._prom()));}else e._zTime||(e._zTime=r);},"_renderZeroDurationTween"),Ih=a(function(e,r,t){var i;if(t>r)for(i=e._first;i&&i._start<=t;){if(i.data==="isPause"&&i._start>r)return i;i=i._next;}else for(i=e._last;i&&i._start>=t;){if(i.data==="isPause"&&i._start<r)return i;i=i._prev;}},"_findNextPauseTween"),dn=a(function(e,r,t,i){var n=e._repeat,o=st(r)||0,s=e._tTime/e._tDur;return s&&!i&&(e._time*=o/e._dur),e._dur=o,e._tDur=n?n<0?1e10:st(o*(n+1)+e._rDelay*n):o,s>0&&!i&&us(e,e._tTime=e._tDur*s),e.parent&&ls(e),t||Ii(e.parent,e),e},"_setDuration"),hu=a(function(e){return e instanceof Yt?Ii(e):dn(e,e._dur)},"_onUpdateTotalDuration"),Fh={_start:0,endTime:no,totalDuration:no},Sr=a(function l(e,r,t){var i=e.labels,n=e._recent||Fh,o=e.duration()>=Er?n.endTime(false):e._dur,s,f,c;return xt(r)&&(isNaN(r)||r in i)?(f=r.charAt(0),c=r.substr(-1)==="%",s=r.indexOf("="),f==="<"||f===">"?(s>=0&&(r=r.replace(/=/,"")),(f==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(r.substr(1))||0)*(c?(s<0?n:t).totalDuration()/100:1)):s<0?(r in i||(i[r]=o),i[r]):(f=parseFloat(r.charAt(s-1)+r.substr(s+1)),c&&t&&(f=f/100*(Xt(t)?t[0]:t).totalDuration()),s>1?l(e,r.substr(0,s-1),t)+f:o+f)):r==null?o:+r},"_parsePosition"),eo=a(function(e,r,t){var i=Zr(r[1]),n=(i?2:1)+(e<2?0:1),o=r[n],s,f;if(i&&(o.duration=r[1]),o.parent=t,e){for(s=o,f=t;f&&!("immediateRender"in s);)s=f.vars.defaults||{},f=lr(f.vars.inherit)&&f.parent;o.immediateRender=lr(s.immediateRender),e<2?o.runBackwards=1:o.startAt=r[n-1];}return new dt(r[0],o,r[n+1])},"_createTweenType"),vi=a(function(e,r){return e||e===0?r(e):r},"_conditionalReturn"),ao=a(function(e,r,t){return t<e?e:t>r?r:t},"_clamp"),At=a(function(e,r){return !xt(e)||!(r=Mh.exec(e))?"":r[1]},"getUnit"),Bh=a(function(e,r,t){return vi(t,function(i){return ao(e,r,i)})},"clamp"),xa=[].slice,Lu=a(function(e,r){return e&&Vr(e)&&"length"in e&&(!r&&!e.length||e.length-1 in e&&Vr(e[0]))&&!e.nodeType&&e!==Xr},"_isArrayLike"),Yh=a(function(e,r,t){return t===void 0&&(t=[]),e.forEach(function(i){var n;return xt(i)&&!r||Lu(i,1)?(n=t).push.apply(n,kr(i)):t.push(i)})||t},"_flatten"),kr=a(function(e,r,t){return ot&&!r&&ot.selector?ot.selector(e):xt(e)&&!t&&(ma||!gn())?xa.call((r||Pa).querySelectorAll(e),0):Xt(e)?Yh(e,t):Lu(e)?xa.call(e,0):e?[e]:[]},"toArray"),wa=a(function(e){return e=kr(e)[0]||io("Invalid scope")||{},function(r){var t=e.current||e.nativeElement||e;return kr(r,t.querySelectorAll?t:t===e?io("Invalid scope")||Pa.createElement("div"):e)}},"selector"),Ou=a(function(e){return e.sort(function(){return .5-Math.random()})},"shuffle"),Du=a(function(e){if(ct(e))return e;var r=Vr(e)?e:{each:e},t=Fi(r.ease),i=r.from||0,n=parseFloat(r.base)||0,o={},s=i>0&&i<1,f=isNaN(i)||s,c=r.axis,h=i,d=i;return xt(i)?h=d={center:.5,edges:.5,end:1}[i]||0:!s&&f&&(h=i[0],d=i[1]),function(g,u,m){var p=(m||r).length,_=o[p],y,v,b,w,x,P,S,C,L;if(!_){if(L=r.grid==="auto"?0:(r.grid||[1,Er])[1],!L){for(S=-Er;S<(S=m[L++].getBoundingClientRect().left)&&L<p;);L<p&&L--;}for(_=o[p]=[],y=f?Math.min(L,p)*h-.5:i%L,v=L===Er?0:f?p*d/L-.5:i/L|0,S=0,C=Er,P=0;P<p;P++)b=P%L-y,w=v-(P/L|0),_[P]=x=c?Math.abs(c==="y"?w:b):_u(b*b+w*w),x>S&&(S=x),x<C&&(C=x);i==="random"&&Ou(_),_.max=S-C,_.min=C,_.v=p=(parseFloat(r.amount)||parseFloat(r.each)*(L>p?p-1:c?c==="y"?p/L:L:Math.max(L,p/L))||0)*(i==="edges"?-1:1),_.b=p<0?n-p:n,_.u=At(r.amount||r.each)||0,t=t&&p<0?ep(t):t;}return p=(_[g]-_.min)/_.max||0,st(_.b+(t?t(p):p)*_.v)+_.u}},"distribute"),ba=a(function(e){var r=Math.pow(10,((e+"").split(".")[1]||"").length);return function(t){var i=st(Math.round(parseFloat(t)/e)*e*r);return (i-i%1)/r+(Zr(t)?0:At(t))}},"_roundModifier"),Au=a(function(e,r){var t=Xt(e),i,n;return !t&&Vr(e)&&(i=t=e.radius||Er,e.values?(e=kr(e.values),(n=!Zr(e[0]))&&(i*=i)):e=ba(e.increment)),vi(r,t?ct(e)?function(o){return n=e(o),Math.abs(n-o)<=i?n:o}:function(o){for(var s=parseFloat(n?o.x:o),f=parseFloat(n?o.y:0),c=Er,h=0,d=e.length,g,u;d--;)n?(g=e[d].x-s,u=e[d].y-f,g=g*g+u*u):g=Math.abs(e[d]-s),g<c&&(c=g,h=d);return h=!i||c<=i?e[h]:o,n||h===o||Zr(o)?h:h+At(o)}:ba(e))},"snap"),Ru=a(function(e,r,t,i){return vi(Xt(e)?!r:t===true?!!(t=0):!i,function(){return Xt(e)?e[~~(Math.random()*e.length)]:(t=t||1e-5)&&(i=t<1?Math.pow(10,(t+"").length-2):1)&&Math.floor(Math.round((e-t/2+Math.random()*(r-e+t*.99))/t)*t*i)/i})},"random"),Xh=a(function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(i){return r.reduce(function(n,o){return o(n)},i)}},"pipe"),Wh=a(function(e,r){return function(t){return e(parseFloat(t))+(r||At(t))}},"unitize"),Vh=a(function(e,r,t){return zu(e,r,0,1,t)},"normalize"),Nu=a(function(e,r,t){return vi(t,function(i){return e[~~r(i)]})},"_wrapArray"),qh=a(function l(e,r,t){var i=r-e;return Xt(e)?Nu(e,l(0,e.length),r):vi(t,function(n){return (i+(n-e)%i)%i+e})},"wrap"),Gh=a(function l(e,r,t){var i=r-e,n=i*2;return Xt(e)?Nu(e,l(0,e.length-1),r):vi(t,function(o){return o=(n+(o-e)%n)%n||0,e+(o>i?n-o:o)})},"wrapYoyo"),mn=a(function(e){return e.replace(Eh,function(r){var t=r.indexOf("[")+1,i=r.substring(t||7,t?r.indexOf("]"):r.length-1).split(kh);return Ru(t?i:+i[0],t?0:+i[1],+i[2]||1e-5)})},"_replaceRandom"),zu=a(function(e,r,t,i,n){var o=r-e,s=i-t;return vi(n,function(f){return t+((f-e)/o*s||0)})},"mapRange"),Uh=a(function l(e,r,t,i){var n=isNaN(e+r)?0:function(u){return (1-u)*e+u*r};if(!n){var o=xt(e),s={},f,c,h,d,g;if(t===true&&(i=1)&&(t=null),o)e={p:e},r={p:r};else if(Xt(e)&&!Xt(r)){for(h=[],d=e.length,g=d-2,c=1;c<d;c++)h.push(l(e[c-1],e[c]));d--,n=a(function(m){m*=d;var p=Math.min(g,~~m);return h[p](m-p)},"func"),t=r;}else i||(e=hn(Xt(e)?[]:{},e));if(!h){for(f in r)Ha.call(s,e,f,"get",r[f]);n=a(function(m){return Xa(m,s)||(o?e.p:e)},"func");}}return vi(t,n)},"interpolate"),pu=a(function(e,r,t){var i=e.labels,n=Er,o,s,f;for(o in i)s=i[o]-r,s<0==!!t&&s&&n>(s=Math.abs(s))&&(f=o,n=s);return f},"_getLabelInDirection"),pr=a(function(e,r,t){var i=e.vars,n=i[r],o=ot,s=e._ctx,f,c,h;if(n)return f=i[r+"Params"],c=i.callbackScope||e,t&&mi.length&&ts(),s&&(ot=s),h=f?n.apply(c,f):n.call(c),ot=o,h},"_callback"),Qn=a(function(e){return yi(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Dt),e.progress()<1&&pr(e,"onInterrupt"),e},"_interrupt"),fn,Hu=[],Iu=a(function(e){if(e)if(e=!e.name&&e.default||e,ka()||e.headless){var r=e.name,t=ct(e),i=r&&!t&&e.init?function(){this._props=[];}:e,n={init:no,render:Xa,add:Ha,kill:cp,modifier:up,rawVars:0},o={targetTest:0,get:0,getSetter:cs,aliases:{},register:0};if(gn(),e!==i){if(sr[r])return;gr(i,gr(rs(e,n),o)),hn(i.prototype,hn(n,rs(e,o))),sr[i.prop=r]=i,e.targetTest&&(Zo.push(i),La[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin";}wu(r,i),e.register&&e.register(Wt,i,Qt);}else Hu.push(e);},"_createPlugin"),et=255,Zn={aqua:[0,et,et],lime:[0,et,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,et],navy:[0,0,128],white:[et,et,et],olive:[128,128,0],yellow:[et,et,0],orange:[et,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[et,0,0],pink:[et,192,203],cyan:[0,et,et],transparent:[et,et,et,0]},ca=a(function(e,r,t){return e+=e<0?1:e>1?-1:0,(e*6<1?r+(t-r)*e*6:e<.5?t:e*3<2?r+(t-r)*(2/3-e)*6:r)*et+.5|0},"_hue"),Fu=a(function(e,r,t){var i=e?Zr(e)?[e>>16,e>>8&et,e&et]:0:Zn.black,n,o,s,f,c,h,d,g,u,m;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Zn[e])i=Zn[e];else if(e.charAt(0)==="#"){if(e.length<6&&(n=e.charAt(1),o=e.charAt(2),s=e.charAt(3),e="#"+n+n+o+o+s+s+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&et,i&et,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&et,e&et];}else if(e.substr(0,3)==="hsl"){if(i=m=e.match(lu),!r)f=+i[0]%360/360,c=+i[1]/100,h=+i[2]/100,o=h<=.5?h*(c+1):h+c-h*c,n=h*2-o,i.length>3&&(i[3]*=1),i[0]=ca(f+1/3,n,o),i[1]=ca(f,n,o),i[2]=ca(f-1/3,n,o);else if(~e.indexOf("="))return i=e.match(Ca),t&&i.length<4&&(i[3]=1),i}else i=e.match(lu)||Zn.transparent;i=i.map(Number);}return r&&!m&&(n=i[0]/et,o=i[1]/et,s=i[2]/et,d=Math.max(n,o,s),g=Math.min(n,o,s),h=(d+g)/2,d===g?f=c=0:(u=d-g,c=h>.5?u/(2-d-g):u/(d+g),f=d===n?(o-s)/u+(o<s?6:0):d===o?(s-n)/u+2:(n-o)/u+4,f*=60),i[0]=~~(f+.5),i[1]=~~(c*100+.5),i[2]=~~(h*100+.5)),t&&i.length<4&&(i[3]=1),i},"splitColor"),Bu=a(function(e){var r=[],t=[],i=-1;return e.split(Qr).forEach(function(n){var o=n.match(Yi)||[];r.push.apply(r,o),t.push(i+=o.length+1);}),r.c=t,r},"_colorOrderData"),du=a(function(e,r,t){var i="",n=(e+i).match(Qr),o=r?"hsla(":"rgba(",s=0,f,c,h,d;if(!n)return e;if(n=n.map(function(g){return (g=Fu(g,r,1))&&o+(r?g[0]+","+g[1]+"%,"+g[2]+"%,"+g[3]:g.join(","))+")"}),t&&(h=Bu(e),f=t.c,f.join(i)!==h.c.join(i)))for(c=e.replace(Qr,"1").split(Yi),d=c.length-1;s<d;s++)i+=c[s]+(~f.indexOf(s)?n.shift()||o+"0,0,0,0)":(h.length?h:n.length?n:t).shift());if(!c)for(c=e.split(Qr),d=c.length-1;s<d;s++)i+=c[s]+n[s];return i+c[d]},"_formatColors"),Qr=(function(){var l="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in Zn)l+="|"+e+"\\b";return new RegExp(l+")","gi")})(),jh=/hsl[a]?\(/,Na=a(function(e){var r=e.join(" "),t;if(Qr.lastIndex=0,Qr.test(r))return t=jh.test(r),e[1]=du(e[1],t),e[0]=du(e[0],t,Bu(e[1])),true},"_colorStringFilter"),oo,ar=(function(){var l=Date.now,e=500,r=33,t=l(),i=t,n=1e3/240,o=n,s=[],f,c,h,d,g,u,m=a(function p(_){var y=l()-i,v=_===true,b,w,x,P;if((y>e||y<0)&&(t+=y-r),i+=y,x=i-t,b=x-o,(b>0||v)&&(P=++d.frame,g=x-d.time*1e3,d.time=x=x/1e3,o+=b+(b>=n?4:n-b),w=1),v||(f=c(p)),w)for(u=0;u<s.length;u++)s[u](x,g,P,_);},"_tick");return d={time:0,frame:0,tick:a(function(){m(true);},"tick"),deltaRatio:a(function(_){return g/(1e3/(_||60))},"deltaRatio"),wake:a(function(){vu&&(!ma&&ka()&&(Xr=ma=window,Pa=Xr.document||{},dr.gsap=Wt,(Xr.gsapVersions||(Xr.gsapVersions=[])).push(Wt.version),xu(es||Xr.GreenSockGlobals||!Xr.gsap&&Xr||{}),Hu.forEach(Iu)),h=typeof requestAnimationFrame<"u"&&requestAnimationFrame,f&&d.sleep(),c=h||function(_){return setTimeout(_,o-d.time*1e3+1|0)},oo=1,m(2));},"wake"),sleep:a(function(){(h?cancelAnimationFrame:clearTimeout)(f),oo=0,c=no;},"sleep"),lagSmoothing:a(function(_,y){e=_||1/0,r=Math.min(y||33,e);},"lagSmoothing"),fps:a(function(_){n=1e3/(_||240),o=d.time*1e3+n;},"fps"),add:a(function(_,y,v){var b=y?function(w,x,P,S){_(w,x,P,S),d.remove(b);}:_;return d.remove(_),s[v?"unshift":"push"](b),gn(),b},"add"),remove:a(function(_,y){~(y=s.indexOf(_))&&s.splice(y,1)&&u>=y&&u--;},"remove"),_listeners:s},d})(),gn=a(function(){return !oo&&ar.wake()},"_wake"),Fe={},$h=/^[\d.\-M][\d.\-,\s]/,Kh=/["']/g,Qh=a(function(e){for(var r={},t=e.substr(1,e.length-3).split(":"),i=t[0],n=1,o=t.length,s,f,c;n<o;n++)f=t[n],s=n!==o-1?f.lastIndexOf(","):f.length,c=f.substr(0,s),r[i]=isNaN(c)?c.replace(Kh,"").trim():+c,i=f.substr(s+1).trim();return r},"_parseObjectInString"),Zh=a(function(e){var r=e.indexOf("(")+1,t=e.indexOf(")"),i=e.indexOf("(",r);return e.substring(r,~i&&i<t?e.indexOf(")",t+1):t)},"_valueInParentheses"),Jh=a(function(e){var r=(e+"").split("("),t=Fe[r[0]];return t&&r.length>1&&t.config?t.config.apply(null,~e.indexOf("{")?[Qh(r[1])]:Zh(e).split(",").map(Su)):Fe._CE&&$h.test(e)?Fe._CE("",e):t},"_configEaseFromString"),ep=a(function(e){return function(r){return 1-e(1-r)}},"_invertEase"),Fi=a(function(e,r){return e&&(ct(e)?e:Fe[e]||Jh(e))||r},"_parseEase"),Wi=a(function(e,r,t,i){t===void 0&&(t=a(function(f){return 1-r(1-f)},"easeOut")),i===void 0&&(i=a(function(f){return f<.5?r(f*2)/2:1-r((1-f)*2)/2},"easeInOut"));var n={easeIn:r,easeOut:t,easeInOut:i},o;return Kt(e,function(s){Fe[s]=dr[s]=n,Fe[o=s.toLowerCase()]=t;for(var f in n)Fe[o+(f==="easeIn"?".in":f==="easeOut"?".out":".inOut")]=Fe[s+"."+f]=n[f];}),n},"_insertEase"),Yu=a(function(e){return function(r){return r<.5?(1-e(1-r*2))/2:.5+e((r-.5)*2)/2}},"_easeInOutFromOut"),fa=a(function l(e,r,t){var i=r>=1?r:1,n=(t||(e?.3:.45))/(r<1?r:1),o=n/ga*(Math.asin(1/i)||0),s=a(function(h){return h===1?1:i*Math.pow(2,-10*h)*Sh((h-o)*n)+1},"easeOut"),f=e==="out"?s:e==="in"?function(c){return 1-s(1-c)}:Yu(s);return n=ga/n,f.config=function(c,h){return l(e,c,h)},f},"_configElastic"),ha=a(function l(e,r){r===void 0&&(r=1.70158);var t=a(function(o){return o?--o*o*((r+1)*o+r)+1:0},"easeOut"),i=e==="out"?t:e==="in"?function(n){return 1-t(1-n)}:Yu(t);return i.config=function(n){return l(e,n)},i},"_configBack");Kt("Linear,Quad,Cubic,Quart,Quint,Strong",function(l,e){var r=e<5?e+1:e;Wi(l+",Power"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},function(t){return 1-Math.pow(1-t,r)},function(t){return t<.5?Math.pow(t*2,r)/2:1-Math.pow((1-t)*2,r)/2});});Fe.Linear.easeNone=Fe.none=Fe.Linear.easeIn;Wi("Elastic",fa("in"),fa("out"),fa());(function(l,e){var r=1/e,t=2*r,i=2.5*r,n=a(function(s){return s<r?l*s*s:s<t?l*Math.pow(s-1.5/e,2)+.75:s<i?l*(s-=2.25/e)*s+.9375:l*Math.pow(s-2.625/e,2)+.984375},"easeOut");Wi("Bounce",function(o){return 1-n(1-o)},n);})(7.5625,2.75);Wi("Expo",function(l){return Math.pow(2,10*(l-1))*l+l*l*l*l*l*l*(1-l)});Wi("Circ",function(l){return -(_u(1-l*l)-1)});Wi("Sine",function(l){return l===1?1:-Th(l*wh)+1});Wi("Back",ha("in"),ha("out"),ha());Fe.SteppedEase=Fe.steps=dr.SteppedEase={config:a(function(e,r){e===void 0&&(e=1);var t=1/e,i=e+(r?0:1),n=r?1:0,o=1-tt;return function(s){return ((i*ao(0,o,s)|0)+n)*t}},"config")};ro.ease=Fe["quad.out"];Kt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(l){return Oa+=l+","+l+"Params,"});var za=a(function(e,r){this.id=bh++,e._gsap=this,this.target=e,this.harness=r,this.get=r?r.get:Aa,this.set=r?r.getSetter:cs;},"GSCache"),so=(function(){function l(r){this.vars=r,this._delay=+r.delay||0,(this._repeat=r.repeat===1/0?-2:r.repeat||0)&&(this._rDelay=r.repeatDelay||0,this._yoyo=!!r.yoyo||!!r.yoyoEase),this._ts=1,dn(this,+r.duration,1,1),this.data=r.data,ot&&(this._ctx=ot,ot.data.push(this)),oo||ar.wake();}a(l,"Animation");var e=l.prototype;return e.delay=a(function(t){return t||t===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},"delay"),e.duration=a(function(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},"duration"),e.totalDuration=a(function(t){return arguments.length?(this._dirty=0,dn(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},"totalDuration"),e.totalTime=a(function(t,i){if(gn(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(us(this,t),!n._dp||n.parent||Cu(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,true),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&Wr(this._dp,this,this._start-this._delay);}return (this._tTime!==t||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===tt||!this._initted&&this._dur&&t||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),Tu(this,t,i)),this},"totalTime"),e.time=a(function(t,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+fu(this))%(this._dur+this._rDelay)||(t?this._dur:0),i):this._time},"time"),e.totalProgress=a(function(t,i){return arguments.length?this.totalTime(this.totalDuration()*t,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},"totalProgress"),e.progress=a(function(t,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-t:t)+fu(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},"progress"),e.iteration=a(function(t,i){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*n,i):this._repeat?pn(this._tTime,n)+1:1},"iteration"),e.timeScale=a(function(t,i){if(!arguments.length)return this._rts===-tt?0:this._rts;if(this._rts===t)return this;var n=this.parent&&this._ts?is(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-tt?0:this._rts,this.totalTime(ao(-Math.abs(this._delay),this.totalDuration(),n),i!==false),ls(this),Rh(this)},"timeScale"),e.paused=a(function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(gn(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==tt&&(this._tTime-=tt)))),this):this._ps},"paused"),e.startTime=a(function(t){if(arguments.length){this._start=st(t);var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&Wr(i,this,this._start-this._delay),this}return this._start},"startTime"),e.endTime=a(function(t){return this._start+(lr(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},"endTime"),e.rawTime=a(function(t){var i=this.parent||this._dp;return i?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?is(i.rawTime(t),this):this._tTime:this._tTime},"rawTime"),e.revert=a(function(t){t===void 0&&(t=Lh);var i=Dt;return Dt=t,Ra(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-0.01,t.suppressEvents)),this.data!=="nested"&&t.kill!==false&&this.kill(),Dt=i,this},"revert"),e.globalTime=a(function(t){for(var i=this,n=arguments.length?t:i.rawTime();i;)n=i._start+n/(Math.abs(i._ts)||1),i=i._dp;return !this.parent&&this._sat?this._sat.globalTime(t):n},"globalTime"),e.repeat=a(function(t){return arguments.length?(this._repeat=t===1/0?-2:t,hu(this)):this._repeat===-2?1/0:this._repeat},"repeat"),e.repeatDelay=a(function(t){if(arguments.length){var i=this._time;return this._rDelay=t,hu(this),i?this.time(i):this}return this._rDelay},"repeatDelay"),e.yoyo=a(function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},"yoyo"),e.seek=a(function(t,i){return this.totalTime(Sr(this,t),lr(i))},"seek"),e.restart=a(function(t,i){return this.play().totalTime(t?-this._delay:0,lr(i)),this._dur||(this._zTime=-tt),this},"restart"),e.play=a(function(t,i){return t!=null&&this.seek(t,i),this.reversed(false).paused(false)},"play"),e.reverse=a(function(t,i){return t!=null&&this.seek(t||this.totalDuration(),i),this.reversed(true).paused(false)},"reverse"),e.pause=a(function(t,i){return t!=null&&this.seek(t,i),this.paused(true)},"pause"),e.resume=a(function(){return this.paused(false)},"resume"),e.reversed=a(function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-tt:0)),this):this._rts<0},"reversed"),e.invalidate=a(function(){return this._initted=this._act=0,this._zTime=-tt,this},"invalidate"),e.isActive=a(function(){var t=this.parent||this._dp,i=this._start,n;return !!(!t||this._ts&&this._initted&&t.isActive()&&(n=t.rawTime(true))>=i&&n<this.endTime(true)-tt)},"isActive"),e.eventCallback=a(function(t,i,n){var o=this.vars;return arguments.length>1?(i?(o[t]=i,n&&(o[t+"Params"]=n),t==="onUpdate"&&(this._onUpdate=i)):delete o[t],this):o[t]},"eventCallback"),e.then=a(function(t){var i=this,n=i._prom;return new Promise(function(o){var s=ct(t)?t:Eu,f=a(function(){var h=i.then;i.then=null,n&&n(),ct(s)&&(s=s(i))&&(s.then||s===i)&&(i.then=h),o(s),i.then=h;},"_resolve");i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?f():i._prom=f;})},"then"),e.kill=a(function(){Qn(this);},"kill"),l})();gr(so.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:false,parent:null,_initted:false,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-tt,_prom:0,_ps:false,_rts:1});var Yt=(function(l){mu(e,l);function e(t,i){var n;return t===void 0&&(t={}),n=l.call(this,t)||this,n.labels={},n.smoothChildTiming=!!t.smoothChildTiming,n.autoRemoveChildren=!!t.autoRemoveChildren,n._sort=lr(t.sortChildren),at&&Wr(t.parent||at,Kr(n),i),t.reversed&&n.reverse(),t.paused&&n.paused(true),t.scrollTrigger&&Mu(Kr(n),t.scrollTrigger),n}a(e,"Timeline");var r=e.prototype;return r.to=a(function(i,n,o){return eo(0,arguments,this),this},"to"),r.from=a(function(i,n,o){return eo(1,arguments,this),this},"from"),r.fromTo=a(function(i,n,o,s){return eo(2,arguments,this),this},"fromTo"),r.set=a(function(i,n,o){return n.duration=0,n.parent=this,Jn(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new dt(i,n,Sr(this,o),1),this},"set"),r.call=a(function(i,n,o){return Wr(this,dt.delayedCall(0,i,n),o)},"call"),r.staggerTo=a(function(i,n,o,s,f,c,h){return o.duration=n,o.stagger=o.stagger||s,o.onComplete=c,o.onCompleteParams=h,o.parent=this,new dt(i,o,Sr(this,f)),this},"staggerTo"),r.staggerFrom=a(function(i,n,o,s,f,c,h){return o.runBackwards=1,Jn(o).immediateRender=lr(o.immediateRender),this.staggerTo(i,n,o,s,f,c,h)},"staggerFrom"),r.staggerFromTo=a(function(i,n,o,s,f,c,h,d){return s.startAt=o,Jn(s).immediateRender=lr(s.immediateRender),this.staggerTo(i,n,s,f,c,h,d)},"staggerFromTo"),r.render=a(function(i,n,o){var s=this._time,f=this._dirty?this.totalDuration():this._tDur,c=this._dur,h=i<=0?0:st(i),d=this._zTime<0!=i<0&&(this._initted||!c),g,u,m,p,_,y,v,b,w,x,P,S;if(this!==at&&h>f&&i>=0&&(h=f),h!==this._tTime||o||d){if(s!==this._time&&c&&(h+=this._time-s,i+=this._time-s),g=h,w=this._start,b=this._ts,y=!b,d&&(c||(s=this._zTime),(i||!n)&&(this._zTime=i)),this._repeat){if(P=this._yoyo,_=c+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(_*100+i,n,o);if(g=st(h%_),h===f?(p=this._repeat,g=c):(x=st(h/_),p=~~x,p&&p===x&&(g=c,p--),g>c&&(g=c)),x=pn(this._tTime,_),!s&&this._tTime&&x!==p&&this._tTime-x*_-this._dur<=0&&(x=p),P&&p&1&&(g=c-g,S=1),p!==x&&!this._lock){var C=P&&x&1,L=C===(P&&p&1);if(p<x&&(C=!C),s=C?0:h%c?c:h,this._lock=1,this.render(s||(S?0:st(p*_)),n,!c)._lock=0,this._tTime=h,!n&&this.parent&&pr(this,"onRepeat"),this.vars.repeatRefresh&&!S&&(this.invalidate()._lock=1,x=p),s&&s!==this._time||y!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(c=this._dur,f=this._tDur,L&&(this._lock=2,s=C?c:-1e-4,this.render(s,true),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!y)return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=Ih(this,st(s),st(g)),v&&(h-=g-(g=v._start))),this._tTime=h,this._time=g,this._act=!!b,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,s=0),!s&&h&&c&&!n&&!x&&(pr(this,"onStart"),this._tTime!==h))return this;if(g>=s&&i>=0)for(u=this._first;u;){if(m=u._next,(u._act||g>=u._start)&&u._ts&&v!==u){if(u.parent!==this)return this.render(i,n,o);if(u.render(u._ts>0?(g-u._start)*u._ts:(u._dirty?u.totalDuration():u._tDur)+(g-u._start)*u._ts,n,o),g!==this._time||!this._ts&&!y){v=0,m&&(h+=this._zTime=-tt);break}}u=m;}else {u=this._last;for(var M=i<0?i:g;u;){if(m=u._prev,(u._act||M<=u._end)&&u._ts&&v!==u){if(u.parent!==this)return this.render(i,n,o);if(u.render(u._ts>0?(M-u._start)*u._ts:(u._dirty?u.totalDuration():u._tDur)+(M-u._start)*u._ts,n,o||Dt&&Ra(u)),g!==this._time||!this._ts&&!y){v=0,m&&(h+=this._zTime=M?-tt:tt);break}}u=m;}}if(v&&!n&&(this.pause(),v.render(g>=s?0:-tt)._zTime=g>=s?1:-1,this._ts))return this._start=w,ls(this),this.render(i,n,o);this._onUpdate&&!n&&pr(this,"onUpdate",true),(h===f&&this._tTime>=this.totalDuration()||!h&&s)&&(w===this._start||Math.abs(b)!==Math.abs(this._ts))&&(this._lock||((i||!c)&&(h===f&&this._ts>0||!h&&this._ts<0)&&yi(this,1),!n&&!(i<0&&!s)&&(h||s||!f)&&(pr(this,h===f&&i>=0?"onComplete":"onReverseComplete",true),this._prom&&!(h<f&&this.timeScale()>0)&&this._prom())));}return this},"render"),r.add=a(function(i,n){var o=this;if(Zr(n)||(n=Sr(this,n,i)),!(i instanceof so)){if(Xt(i))return i.forEach(function(s){return o.add(s,n)}),this;if(xt(i))return this.addLabel(i,n);if(ct(i))i=dt.delayedCall(0,i);else return this}return this!==i?Wr(this,i,n):this},"add"),r.getChildren=a(function(i,n,o,s){i===void 0&&(i=true),n===void 0&&(n=true),o===void 0&&(o=true),s===void 0&&(s=-Er);for(var f=[],c=this._first;c;)c._start>=s&&(c instanceof dt?n&&f.push(c):(o&&f.push(c),i&&f.push.apply(f,c.getChildren(true,n,o)))),c=c._next;return f},"getChildren"),r.getById=a(function(i){for(var n=this.getChildren(1,1,1),o=n.length;o--;)if(n[o].vars.id===i)return n[o]},"getById"),r.remove=a(function(i){return xt(i)?this.removeLabel(i):ct(i)?this.killTweensOf(i):(i.parent===this&&as(this,i),i===this._recent&&(this._recent=this._last),Ii(this))},"remove"),r.totalTime=a(function(i,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=st(ar.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),l.prototype.totalTime.call(this,i,n),this._forcing=0,this):this._tTime},"totalTime"),r.addLabel=a(function(i,n){return this.labels[i]=Sr(this,n),this},"addLabel"),r.removeLabel=a(function(i){return delete this.labels[i],this},"removeLabel"),r.addPause=a(function(i,n,o){var s=dt.delayedCall(0,n||no,o);return s.data="isPause",this._hasPause=1,Wr(this,s,Sr(this,i))},"addPause"),r.removePause=a(function(i){var n=this._first;for(i=Sr(this,i);n;)n._start===i&&n.data==="isPause"&&yi(n),n=n._next;},"removePause"),r.killTweensOf=a(function(i,n,o){for(var s=this.getTweensOf(i,o),f=s.length;f--;)gi!==s[f]&&s[f].kill(i,n);return this},"killTweensOf"),r.getTweensOf=a(function(i,n){for(var o=[],s=kr(i),f=this._first,c=Zr(n),h;f;)f instanceof dt?Oh(f._targets,s)&&(c?(!gi||f._initted&&f._ts)&&f.globalTime(0)<=n&&f.globalTime(f.totalDuration())>n:!n||f.isActive())&&o.push(f):(h=f.getTweensOf(s,n)).length&&o.push.apply(o,h),f=f._next;return o},"getTweensOf"),r.tweenTo=a(function(i,n){n=n||{};var o=this,s=Sr(o,i),f=n,c=f.startAt,h=f.onStart,d=f.onStartParams,g=f.immediateRender,u,m=dt.to(o,gr({ease:n.ease||"none",lazy:false,immediateRender:false,time:s,overwrite:"auto",duration:n.duration||Math.abs((s-(c&&"time"in c?c.time:o._time))/o.timeScale())||tt,onStart:a(function(){if(o.pause(),!u){var _=n.duration||Math.abs((s-(c&&"time"in c?c.time:o._time))/o.timeScale());m._dur!==_&&dn(m,_,0,1).render(m._time,true,true),u=1;}h&&h.apply(m,d||[]);},"onStart")},n));return g?m.render(0):m},"tweenTo"),r.tweenFromTo=a(function(i,n,o){return this.tweenTo(n,gr({startAt:{time:Sr(this,i)}},o))},"tweenFromTo"),r.recent=a(function(){return this._recent},"recent"),r.nextLabel=a(function(i){return i===void 0&&(i=this._time),pu(this,Sr(this,i))},"nextLabel"),r.previousLabel=a(function(i){return i===void 0&&(i=this._time),pu(this,Sr(this,i),1)},"previousLabel"),r.currentLabel=a(function(i){return arguments.length?this.seek(i,true):this.previousLabel(this._time+tt)},"currentLabel"),r.shiftChildren=a(function(i,n,o){o===void 0&&(o=0);var s=this._first,f=this.labels,c;for(i=st(i);s;)s._start>=o&&(s._start+=i,s._end+=i),s=s._next;if(n)for(c in f)f[c]>=o&&(f[c]+=i);return Ii(this)},"shiftChildren"),r.invalidate=a(function(i){var n=this._first;for(this._lock=0;n;)n.invalidate(i),n=n._next;return l.prototype.invalidate.call(this,i)},"invalidate"),r.clear=a(function(i){i===void 0&&(i=true);for(var n=this._first,o;n;)o=n._next,this.remove(n),n=o;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),Ii(this)},"clear"),r.totalDuration=a(function(i){var n=0,o=this,s=o._last,f=Er,c,h,d;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-i:i));if(o._dirty){for(d=o.parent;s;)c=s._prev,s._dirty&&s.totalDuration(),h=s._start,h>f&&o._sort&&s._ts&&!o._lock?(o._lock=1,Wr(o,s,h-s._delay,1)._lock=0):f=h,h<0&&s._ts&&(n-=h,(!d&&!o._dp||d&&d.smoothChildTiming)&&(o._start+=st(h/o._ts),o._time-=h,o._tTime-=h),o.shiftChildren(-h,false,-1/0),f=0),s._end>n&&s._ts&&(n=s._end),s=c;dn(o,o===at&&o._time>n?o._time:n,1,1),o._dirty=0;}return o._tDur},"totalDuration"),e.updateRoot=a(function(i){if(at._ts&&(Tu(at,is(i,at)),bu=ar.frame),ar.frame>=uu){uu+=ur.autoSleep||120;var n=at._first;if((!n||!n._ts)&&ur.autoSleep&&ar._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||ar.sleep();}}},"updateRoot"),e})(so);gr(Yt.prototype,{_lock:0,_hasPause:0,_forcing:0});var tp=a(function(e,r,t,i,n,o,s){var f=new Qt(this._pt,e,r,0,1,Ya,null,n),c=0,h=0,d,g,u,m,p,_,y,v;for(f.b=t,f.e=i,t+="",i+="",(y=~i.indexOf("random("))&&(i=mn(i)),o&&(v=[t,i],o(v,e,r),t=v[0],i=v[1]),g=t.match(la)||[];d=la.exec(i);)m=d[0],p=i.substring(c,d.index),u?u=(u+1)%5:p.substr(-5)==="rgba("&&(u=1),m!==g[h++]&&(_=parseFloat(g[h-1])||0,f._pt={_next:f._pt,p:p||h===1?p:",",s:_,c:m.charAt(1)==="="?Xi(_,m)-_:parseFloat(m)-_,m:u&&u<4?Math.round:0},c=la.lastIndex);return f.c=c<i.length?i.substring(c,i.length):"",f.fp=s,(Ma.test(i)||y)&&(f.e=0),this._pt=f,f},"_addComplexStringPropTween"),Ha=a(function(e,r,t,i,n,o,s,f,c,h){ct(i)&&(i=i(n||0,e,o));var d=e[r],g=t!=="get"?t:ct(d)?c?e[r.indexOf("set")||!ct(e["get"+r.substr(3)])?r:"get"+r.substr(3)](c):e[r]():d,u=ct(d)?c?sp:Vu:Ba,m;if(xt(i)&&(~i.indexOf("random(")&&(i=mn(i)),i.charAt(1)==="="&&(m=Xi(g,i)+(At(g)||0),(m||m===0)&&(i=m))),!h||g!==i||Ta)return !isNaN(g*i)&&i!==""?(m=new Qt(this._pt,e,r,+g||0,i-(g||0),typeof d=="boolean"?lp:qu,0,u),c&&(m.fp=c),s&&m.modifier(s,this,e),this._pt=m):(!d&&!(r in e)&&ss(r,i),tp.call(this,e,r,g,i,u,f||ur.stringFilter,c))},"_addPropTween"),rp=a(function(e,r,t,i,n){if(ct(e)&&(e=to(e,n,r,t,i)),!Vr(e)||e.style&&e.nodeType||Xt(e)||yu(e))return xt(e)?to(e,n,r,t,i):e;var o={},s;for(s in e)o[s]=to(e[s],n,r,t,i);return o},"_processVars"),Ia=a(function(e,r,t,i,n,o){var s,f,c,h;if(sr[e]&&(s=new sr[e]).init(n,s.rawVars?r[e]:rp(r[e],i,n,o,t),t,i,o)!==false&&(t._pt=f=new Qt(t._pt,n,e,0,1,s.render,s,0,s.priority),t!==fn))for(c=t._ptLookup[t._targets.indexOf(n)],h=s._props.length;h--;)c[s._props[h]]=f;return s},"_checkPlugin"),gi,Ta,Fa=a(function l(e,r,t){var i=e.vars,n=i.ease,o=i.startAt,s=i.immediateRender,f=i.lazy,c=i.onUpdate,h=i.runBackwards,d=i.yoyoEase,g=i.keyframes,u=i.autoRevert,m=e._dur,p=e._startAt,_=e._targets,y=e.parent,v=y&&y.data==="nested"?y.vars.targets:_,b=e._overwrite==="auto"&&!Ea,w=e.timeline,x=i.easeReverse||d,P,S,C,L,M,N,A,H,F,B,$,j,ae;if(w&&(!g||!n)&&(n="none"),e._ease=Fi(n,ro.ease),e._rEase=x&&(Fi(x)||e._ease),e._from=!w&&!!i.runBackwards,e._from&&(e.ratio=1),!w||g&&!i.stagger){if(H=_[0]?_i(_[0]).harness:0,j=H&&i[H.prop],P=rs(i,La),p&&(p._zTime<0&&p.progress(1),r<0&&h&&s&&!u?p.render(-1,true):p.revert(h&&m?Qo:Ph),p._lazy=0),o){if(yi(e._startAt=dt.set(_,gr({data:"isStart",overwrite:false,parent:y,immediateRender:true,lazy:!p&&lr(f),startAt:null,delay:0,onUpdate:c&&function(){return pr(e,"onUpdate")},stagger:0},o))),e._startAt._dp=0,e._startAt._sat=e,r<0&&(Dt||!s&&!u)&&e._startAt.revert(Qo),s&&m&&r<=0&&t<=0){r&&(e._zTime=r);return}}else if(h&&m&&!p){if(r&&(s=false),C=gr({overwrite:false,data:"isFromStart",lazy:s&&!p&&lr(f),immediateRender:s,stagger:0,parent:y},P),j&&(C[H.prop]=j),yi(e._startAt=dt.set(_,C)),e._startAt._dp=0,e._startAt._sat=e,r<0&&(Dt?e._startAt.revert(Qo):e._startAt.render(-1,true)),e._zTime=r,!s)l(e._startAt,tt,tt);else if(!r)return}for(e._pt=e._ptCache=0,f=m&&lr(f)||f&&!m,S=0;S<_.length;S++){if(M=_[S],A=M._gsap||Da(_)[S]._gsap,e._ptLookup[S]=B={},_a[A.id]&&mi.length&&ts(),$=v===_?S:v.indexOf(M),H&&(F=new H).init(M,j||P,e,$,v)!==false&&(e._pt=L=new Qt(e._pt,M,F.name,0,1,F.render,F,0,F.priority),F._props.forEach(function(re){B[re]=L;}),F.priority&&(N=1)),!H||j)for(C in P)sr[C]&&(F=Ia(C,P,e,$,M,v))?F.priority&&(N=1):B[C]=L=Ha.call(e,M,C,"get",P[C],$,v,0,i.stringFilter);e._op&&e._op[S]&&e.kill(M,e._op[S]),b&&e._pt&&(gi=e,at.killTweensOf(M,B,e.globalTime(r)),ae=!e.parent,gi=0),e._pt&&f&&(_a[A.id]=1);}N&&Wa(e),e._onInit&&e._onInit(e);}e._onUpdate=c,e._initted=(!e._op||e._pt)&&!ae,g&&r<=0&&w.render(Er,true,true);},"_initTween"),ip=a(function(e,r,t,i,n,o,s,f){var c=(e._pt&&e._ptCache||(e._ptCache={}))[r],h,d,g,u;if(!c)for(c=e._ptCache[r]=[],g=e._ptLookup,u=e._targets.length;u--;){if(h=g[u][r],h&&h.d&&h.d._pt)for(h=h.d._pt;h&&h.p!==r&&h.fp!==r;)h=h._next;if(!h)return Ta=1,e.vars[r]="+=0",Fa(e,s),Ta=0,f?io(r+" not eligible for reset. Try splitting into individual properties"):1;c.push(h);}for(u=c.length;u--;)d=c[u],h=d._pt||d,h.s=(i||i===0)&&!n?i:h.s+(i||0)+o*h.c,h.c=t-h.s,d.e&&(d.e=ft(t)+At(d.e)),d.b&&(d.b=h.s+At(d.b));},"_updatePropTweens"),np=a(function(e,r){var t=e[0]?_i(e[0]).harness:0,i=t&&t.aliases,n,o,s,f;if(!i)return r;n=hn({},r);for(o in i)if(o in n)for(f=i[o].split(","),s=f.length;s--;)n[f[s]]=n[o];return n},"_addAliasesToVars"),op=a(function(e,r,t,i){var n=r.ease||i||"power1.inOut",o,s;if(Xt(r))s=t[e]||(t[e]=[]),r.forEach(function(f,c){return s.push({t:c/(r.length-1)*100,v:f,e:n})});else for(o in r)s=t[o]||(t[o]=[]),o==="ease"||s.push({t:parseFloat(e),v:r[o],e:n});},"_parseKeyframe"),to=a(function(e,r,t,i,n){return ct(e)?e.call(r,t,i,n):xt(e)&&~e.indexOf("random(")?mn(e):e},"_parseFuncOrString"),Xu=Oa+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",Wu={};Kt(Xu+",id,stagger,delay,duration,paused,scrollTrigger",function(l){return Wu[l]=1});var dt=(function(l){mu(e,l);function e(t,i,n,o){var s;typeof i=="number"&&(n.duration=i,i=n,n=null),s=l.call(this,o?i:Jn(i))||this;var f=s.vars,c=f.duration,h=f.delay,d=f.immediateRender,g=f.stagger,u=f.overwrite,m=f.keyframes,p=f.defaults,_=f.scrollTrigger,y=i.parent||at,v=(Xt(t)||yu(t)?Zr(t[0]):"length"in i)?[t]:kr(t),b,w,x,P,S,C,L,M;if(s._targets=v.length?Da(v):io("GSAP target "+t+" not found. https://gsap.com",!ur.nullTargetWarn)||[],s._ptLookup=[],s._overwrite=u,m||g||Ko(c)||Ko(h)){i=s.vars;var N=i.easeReverse||i.yoyoEase;if(b=s.timeline=new Yt({data:"nested",defaults:p||{},targets:y&&y.data==="nested"?y.vars.targets:v}),b.kill(),b.parent=b._dp=Kr(s),b._start=0,g||Ko(c)||Ko(h)){if(P=v.length,L=g&&Du(g),Vr(g))for(S in g)~Xu.indexOf(S)&&(M||(M={}),M[S]=g[S]);for(w=0;w<P;w++)x=rs(i,Wu),x.stagger=0,N&&(x.easeReverse=N),M&&hn(x,M),C=v[w],x.duration=+to(c,Kr(s),w,C,v),x.delay=(+to(h,Kr(s),w,C,v)||0)-s._delay,!g&&P===1&&x.delay&&(s._delay=h=x.delay,s._start+=h,x.delay=0),b.to(C,x,L?L(w,C,v):0),b._ease=Fe.none;b.duration()?c=h=0:s.timeline=0;}else if(m){Jn(gr(b.vars.defaults,{ease:"none"})),b._ease=Fi(m.ease||i.ease||"none");var A=0,H,F,B;if(Xt(m))m.forEach(function($){return b.to(v,$,">")}),b.duration();else {x={};for(S in m)S==="ease"||S==="easeEach"||op(S,m[S],x,m.easeEach);for(S in x)for(H=x[S].sort(function($,j){return $.t-j.t}),A=0,w=0;w<H.length;w++)F=H[w],B={ease:F.e,duration:(F.t-(w?H[w-1].t:0))/100*c},B[S]=F.v,b.to(v,B,A),A+=B.duration;b.duration()<c&&b.to({},{duration:c-b.duration()});}}c||s.duration(c=b.duration());}else s.timeline=0;return u===true&&!Ea&&(gi=Kr(s),at.killTweensOf(v),gi=0),Wr(y,Kr(s),n),i.reversed&&s.reverse(),i.paused&&s.paused(true),(d||!c&&!m&&s._start===st(y._time)&&lr(d)&&Nh(Kr(s))&&y.data!=="nested")&&(s._tTime=-tt,s.render(Math.max(0,-h)||0)),_&&Mu(Kr(s),_),s}a(e,"Tween");var r=e.prototype;return r.render=a(function(i,n,o){var s=this._time,f=this._tDur,c=this._dur,h=i<0,d=i>f-tt&&!h?f:i<tt?0:i,g,u,m,p,_,y,v,b;if(!c)Hh(this,i,n,o);else if(d!==this._tTime||!i||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==h||this._lazy){if(g=d,b=this.timeline,this._repeat){if(p=c+this._rDelay,this._repeat<-1&&h)return this.totalTime(p*100+i,n,o);if(g=st(d%p),d===f?(m=this._repeat,g=c):(_=st(d/p),m=~~_,m&&m===_?(g=c,m--):g>c&&(g=c)),y=this._yoyo&&m&1,y&&(g=c-g),_=pn(this._tTime,p),g===s&&!o&&this._initted&&m===_)return this._tTime=d,this;m!==_&&this.vars.repeatRefresh&&!y&&!this._lock&&g!==p&&this._initted&&(this._lock=o=1,this.render(st(p*m),true).invalidate()._lock=0);}if(!this._initted){if(Pu(this,h?i:g,o,n,d))return this._tTime=0,this;if(s!==this._time&&!(o&&this.vars.repeatRefresh&&m!==_))return this;if(c!==this._dur)return this.render(i,n,o)}if(this._rEase){var w=g<s;if(w!==this._inv){var x=w?s:c-s;this._inv=w,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=s,this._invRecip=x?(w?-1:1)/x:0,this._invScale=w?-this.ratio:1-this.ratio,this._invEase=w?this._rEase:this._ease;}this.ratio=v=this._invRatio+this._invScale*this._invEase((g-this._invTime)*this._invRecip);}else this.ratio=v=this._ease(g/c);if(this._from&&(this.ratio=v=1-v),this._tTime=d,this._time=g,!this._act&&this._ts&&(this._act=1,this._lazy=0),!s&&d&&!n&&!_&&(pr(this,"onStart"),this._tTime!==d))return this;for(u=this._pt;u;)u.r(v,u.d),u=u._next;b&&b.render(i<0?i:b._dur*b._ease(g/this._dur),n,o)||this._startAt&&(this._zTime=i),this._onUpdate&&!n&&(h&&ya(this,i,n,o),pr(this,"onUpdate")),this._repeat&&m!==_&&this.vars.onRepeat&&!n&&this.parent&&pr(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(h&&!this._onUpdate&&ya(this,i,true,true),(i||!c)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&yi(this,1),!n&&!(h&&!s)&&(d||s||y)&&(pr(this,d===f?"onComplete":"onReverseComplete",true),this._prom&&!(d<f&&this.timeScale()>0)&&this._prom()));}return this},"render"),r.targets=a(function(){return this._targets},"targets"),r.invalidate=a(function(i){return (!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),l.prototype.invalidate.call(this,i)},"invalidate"),r.resetTo=a(function(i,n,o,s,f){oo||ar.wake(),this._ts||this.play();var c=Math.min(this._dur,(this._dp._time-this._start)*this._ts),h;return this._initted||Fa(this,c),h=this._ease(c/this._dur),ip(this,i,n,o,s,h,c,f)?this.resetTo(i,n,o,s,1):(us(this,0),this.parent||ku(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},"resetTo"),r.kill=a(function(i,n){if(n===void 0&&(n="all"),!i&&(!n||n==="all"))return this._lazy=this._pt=0,this.parent?Qn(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Dt),this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(i,n,gi&&gi.vars.overwrite!==true)._first||Qn(this),this.parent&&o!==this.timeline.totalDuration()&&dn(this,this._dur*this.timeline._tDur/o,0,1),this}var s=this._targets,f=i?kr(i):s,c=this._ptLookup,h=this._pt,d,g,u,m,p,_,y;if((!n||n==="all")&&Ah(s,f))return n==="all"&&(this._pt=0),Qn(this);for(d=this._op=this._op||[],n!=="all"&&(xt(n)&&(p={},Kt(n,function(v){return p[v]=1}),n=p),n=np(s,n)),y=s.length;y--;)if(~f.indexOf(s[y])){g=c[y],n==="all"?(d[y]=n,m=g,u={}):(u=d[y]=d[y]||{},m=n);for(p in m)_=g&&g[p],_&&((!("kill"in _.d)||_.d.kill(p)===true)&&as(this,_,"_pt"),delete g[p]),u!=="all"&&(u[p]=1);}return this._initted&&!this._pt&&h&&Qn(this),this},"kill"),e.to=a(function(i,n){return new e(i,n,arguments[2])},"to"),e.from=a(function(i,n){return eo(1,arguments)},"from"),e.delayedCall=a(function(i,n,o,s){return new e(n,0,{immediateRender:false,lazy:false,overwrite:false,delay:i,onComplete:n,onReverseComplete:n,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:s})},"delayedCall"),e.fromTo=a(function(i,n,o){return eo(2,arguments)},"fromTo"),e.set=a(function(i,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new e(i,n)},"set"),e.killTweensOf=a(function(i,n,o){return at.killTweensOf(i,n,o)},"killTweensOf"),e})(so);gr(dt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Kt("staggerTo,staggerFrom,staggerFromTo",function(l){dt[l]=function(){var e=new Yt,r=xa.call(arguments,0);return r.splice(l==="staggerFromTo"?5:4,0,0),e[l].apply(e,r)};});var Ba=a(function(e,r,t){return e[r]=t},"_setterPlain"),Vu=a(function(e,r,t){return e[r](t)},"_setterFunc"),sp=a(function(e,r,t,i){return e[r](i.fp,t)},"_setterFuncWithParam"),ap=a(function(e,r,t){return e.setAttribute(r,t)},"_setterAttribute"),cs=a(function(e,r){return ct(e[r])?Vu:os(e[r])&&e.setAttribute?ap:Ba},"_getSetter"),qu=a(function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e6)/1e6,r)},"_renderPlain"),lp=a(function(e,r){return r.set(r.t,r.p,!!(r.s+r.c*e),r)},"_renderBoolean"),Ya=a(function(e,r){var t=r._pt,i="";if(!e&&r.b)i=r.b;else if(e===1&&r.e)i=r.e;else {for(;t;)i=t.p+(t.m?t.m(t.s+t.c*e):Math.round((t.s+t.c*e)*1e4)/1e4)+i,t=t._next;i+=r.c;}r.set(r.t,r.p,i,r);},"_renderComplexString"),Xa=a(function(e,r){for(var t=r._pt;t;)t.r(e,t.d),t=t._next;},"_renderPropTweens"),up=a(function(e,r,t,i){for(var n=this._pt,o;n;)o=n._next,n.p===i&&n.modifier(e,r,t),n=o;},"_addPluginModifier"),cp=a(function(e){for(var r=this._pt,t,i;r;)i=r._next,r.p===e&&!r.op||r.op===e?as(this,r,"_pt"):r.dep||(t=1),r=i;return !t},"_killPropTweensOf"),fp=a(function(e,r,t,i){i.mSet(e,r,i.m.call(i.tween,t,i.mt),i);},"_setterWithModifier"),Wa=a(function(e){for(var r=e._pt,t,i,n,o;r;){for(t=r._next,i=n;i&&i.pr>r.pr;)i=i._next;(r._prev=i?i._prev:o)?r._prev._next=r:n=r,(r._next=i)?i._prev=r:o=r,r=t;}e._pt=n;},"_sortPropTweensByPriority"),Qt=(function(){function l(r,t,i,n,o,s,f,c,h){this.t=t,this.s=n,this.c=o,this.p=i,this.r=s||qu,this.d=f||this,this.set=c||Ba,this.pr=h||0,this._next=r,r&&(r._prev=this);}a(l,"PropTween");var e=l.prototype;return e.modifier=a(function(t,i,n){this.mSet=this.mSet||this.set,this.set=fp,this.m=t,this.mt=n,this.tween=i;},"modifier"),l})();Kt(Oa+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse",function(l){return La[l]=1});dr.TweenMax=dr.TweenLite=dt;dr.TimelineLite=dr.TimelineMax=Yt;at=new Yt({sortChildren:false,defaults:ro,autoRemoveChildren:true,id:"root",smoothChildTiming:true});ur.stringFilter=Na;var Bi=[],Jo={},hp=[],gu=0,pp=0,pa=a(function(e){return (Jo[e]||hp).map(function(r){return r()})},"_dispatch"),Sa=a(function(){var e=Date.now(),r=[];e-gu>2&&(pa("matchMediaInit"),Bi.forEach(function(t){var i=t.queries,n=t.conditions,o,s,f,c;for(s in i)o=Xr.matchMedia(i[s]).matches,o&&(f=1),o!==n[s]&&(n[s]=o,c=1);c&&(t.revert(),f&&r.push(t));}),pa("matchMediaRevert"),r.forEach(function(t){return t.onMatch(t,function(i){return t.add(null,i)})}),gu=e,pa("matchMedia"));},"_onMediaChange"),Gu=(function(){function l(r,t){this.selector=t&&wa(t),this.data=[],this._r=[],this.isReverted=false,this.id=pp++,r&&this.add(r);}a(l,"Context");var e=l.prototype;return e.add=a(function(t,i,n){ct(t)&&(n=i,i=t,t=ct);var o=this,s=a(function(){var c=ot,h=o.selector,d;return c&&c!==o&&c.data.push(o),n&&(o.selector=wa(n)),ot=o,d=i.apply(o,arguments),ct(d)&&o._r.push(d),ot=c,o.selector=h,o.isReverted=false,d},"f");return o.last=s,t===ct?s(o,function(f){return o.add(null,f)}):t?o[t]=s:s},"add"),e.ignore=a(function(t){var i=ot;ot=null,t(this),ot=i;},"ignore"),e.getTweens=a(function(){var t=[];return this.data.forEach(function(i){return i instanceof l?t.push.apply(t,i.getTweens()):i instanceof dt&&!(i.parent&&i.parent.data==="nested")&&t.push(i)}),t},"getTweens"),e.clear=a(function(){this._r.length=this.data.length=0;},"clear"),e.kill=a(function(t,i){var n=this;if(t?(function(){for(var s=n.getTweens(),f=n.data.length,c;f--;)c=n.data[f],c.data==="isFlip"&&(c.revert(),c.getChildren(true,true,false).forEach(function(h){return s.splice(s.indexOf(h),1)}));for(s.map(function(h){return {g:h._dur||h._delay||h._sat&&!h._sat.vars.immediateRender?h.globalTime(0):-1/0,t:h}}).sort(function(h,d){return d.g-h.g||-1/0}).forEach(function(h){return h.t.revert(t)}),f=n.data.length;f--;)c=n.data[f],c instanceof Yt?c.data!=="nested"&&(c.scrollTrigger&&c.scrollTrigger.revert(),c.kill()):!(c instanceof dt)&&c.revert&&c.revert(t);n._r.forEach(function(h){return h(t,n)}),n.isReverted=true;})():this.data.forEach(function(s){return s.kill&&s.kill()}),this.clear(),i)for(var o=Bi.length;o--;)Bi[o].id===this.id&&Bi.splice(o,1);},"kill"),e.revert=a(function(t){this.kill(t||{});},"revert"),l})(),dp=(function(){function l(r){this.contexts=[],this.scope=r,ot&&ot.data.push(this);}a(l,"MatchMedia");var e=l.prototype;return e.add=a(function(t,i,n){Vr(t)||(t={matches:t});var o=new Gu(0,n||this.scope),s=o.conditions={},f,c,h;ot&&!o.selector&&(o.selector=ot.selector),this.contexts.push(o),i=o.add("onMatch",i),o.queries=t;for(c in t)c==="all"?h=1:(f=Xr.matchMedia(t[c]),f&&(Bi.indexOf(o)<0&&Bi.push(o),(s[c]=f.matches)&&(h=1),f.addListener?f.addListener(Sa):f.addEventListener("change",Sa)));return h&&i(o,function(d){return o.add(null,d)}),this},"add"),e.revert=a(function(t){this.kill(t||{});},"revert"),e.kill=a(function(t){this.contexts.forEach(function(i){return i.kill(t,true)});},"kill"),l})(),ns={registerPlugin:a(function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];r.forEach(function(i){return Iu(i)});},"registerPlugin"),timeline:a(function(e){return new Yt(e)},"timeline"),getTweensOf:a(function(e,r){return at.getTweensOf(e,r)},"getTweensOf"),getProperty:a(function(e,r,t,i){xt(e)&&(e=kr(e)[0]);var n=_i(e||{}).get,o=t?Eu:Su;return t==="native"&&(t=""),e&&(r?o((sr[r]&&sr[r].get||n)(e,r,t,i)):function(s,f,c){return o((sr[s]&&sr[s].get||n)(e,s,f,c))})},"getProperty"),quickSetter:a(function(e,r,t){if(e=kr(e),e.length>1){var i=e.map(function(h){return Wt.quickSetter(h,r,t)}),n=i.length;return function(h){for(var d=n;d--;)i[d](h);}}e=e[0]||{};var o=sr[r],s=_i(e),f=s.harness&&(s.harness.aliases||{})[r]||r,c=o?function(h){var d=new o;fn._pt=0,d.init(e,t?h+t:h,fn,0,[e]),d.render(1,d),fn._pt&&Xa(1,fn);}:s.set(e,f);return o?c:function(h){return c(e,f,t?h+t:h,s,1)}},"quickSetter"),quickTo:a(function(e,r,t){var i,n=Wt.to(e,gr((i={},i[r]="+=0.1",i.paused=true,i.stagger=0,i),t||{})),o=a(function(f,c,h){return n.resetTo(r,f,c,h)},"func");return o.tween=n,o},"quickTo"),isTweening:a(function(e){return at.getTweensOf(e,true).length>0},"isTweening"),defaults:a(function(e){return e&&e.ease&&(e.ease=Fi(e.ease,ro.ease)),cu(ro,e||{})},"defaults"),config:a(function(e){return cu(ur,e||{})},"config"),registerEffect:a(function(e){var r=e.name,t=e.effect,i=e.plugins,n=e.defaults,o=e.extendTimeline;(i||"").split(",").forEach(function(s){return s&&!sr[s]&&!dr[s]&&io(r+" effect requires "+s+" plugin.")}),ua[r]=function(s,f,c){return t(kr(s),gr(f||{},n),c)},o&&(Yt.prototype[r]=function(s,f,c){return this.add(ua[r](s,Vr(f)?f:(c=f)&&{},this),c)});},"registerEffect"),registerEase:a(function(e,r){Fe[e]=Fi(r);},"registerEase"),parseEase:a(function(e,r){return arguments.length?Fi(e,r):Fe},"parseEase"),getById:a(function(e){return at.getById(e)},"getById"),exportRoot:a(function(e,r){e===void 0&&(e={});var t=new Yt(e),i,n;for(t.smoothChildTiming=lr(e.smoothChildTiming),at.remove(t),t._dp=0,t._time=t._tTime=at._time,i=at._first;i;)n=i._next,(r||!(!i._dur&&i instanceof dt&&i.vars.onComplete===i._targets[0]))&&Wr(t,i,i._start-i._delay),i=n;return Wr(at,t,0),t},"exportRoot"),context:a(function(e,r){return e?new Gu(e,r):ot},"context"),matchMedia:a(function(e){return new dp(e)},"matchMedia"),matchMediaRefresh:a(function(){return Bi.forEach(function(e){var r=e.conditions,t,i;for(i in r)r[i]&&(r[i]=false,t=1);t&&e.revert();})||Sa()},"matchMediaRefresh"),addEventListener:a(function(e,r){var t=Jo[e]||(Jo[e]=[]);~t.indexOf(r)||t.push(r);},"addEventListener"),removeEventListener:a(function(e,r){var t=Jo[e],i=t&&t.indexOf(r);i>=0&&t.splice(i,1);},"removeEventListener"),utils:{wrap:qh,wrapYoyo:Gh,distribute:Du,random:Ru,snap:Au,normalize:Vh,getUnit:At,clamp:Bh,splitColor:Fu,toArray:kr,selector:wa,mapRange:zu,pipe:Xh,unitize:Wh,interpolate:Uh,shuffle:Ou},install:xu,effects:ua,ticker:ar,updateRoot:Yt.updateRoot,plugins:sr,globalTimeline:at,core:{PropTween:Qt,globals:wu,Tween:dt,Timeline:Yt,Animation:so,getCache:_i,_removeLinkedListItem:as,reverting:a(function(){return Dt},"reverting"),context:a(function(e){return e&&ot&&(ot.data.push(e),e._ctx=ot),ot},"context"),suppressOverwrites:a(function(e){return Ea=e},"suppressOverwrites")}};Kt("to,from,fromTo,delayedCall,set,killTweensOf",function(l){return ns[l]=dt[l]});ar.add(Yt.updateRoot);fn=ns.to({},{duration:0});var gp=a(function(e,r){for(var t=e._pt;t&&t.p!==r&&t.op!==r&&t.fp!==r;)t=t._next;return t},"_getPluginPropTween"),mp=a(function(e,r){var t=e._targets,i,n,o;for(i in r)for(n=t.length;n--;)o=e._ptLookup[n][i],o&&(o=o.d)&&(o._pt&&(o=gp(o,i)),o&&o.modifier&&o.modifier(r[i],e,t[n],i));},"_addModifiers"),da=a(function(e,r){return {name:e,headless:1,rawVars:1,init:a(function(i,n,o){o._onInit=function(s){var f,c;if(xt(n)&&(f={},Kt(n,function(h){return f[h]=1}),n=f),r){f={};for(c in n)f[c]=r(n[c]);n=f;}mp(s,n);};},"init")}},"_buildModifierPlugin"),Wt=ns.registerPlugin({name:"attr",init:a(function(e,r,t,i,n){var o,s,f;this.tween=t;for(o in r)f=e.getAttribute(o)||"",s=this.add(e,"setAttribute",(f||0)+"",r[o],i,n,0,0,o),s.op=o,s.b=f,this._props.push(o);},"init"),render:a(function(e,r){for(var t=r._pt;t;)Dt?t.set(t.t,t.p,t.b,t):t.r(e,t.d),t=t._next;},"render")},{name:"endArray",headless:1,init:a(function(e,r){for(var t=r.length;t--;)this.add(e,t,e[t]||0,r[t],0,0,0,0,0,1);},"init")},da("roundProps",ba),da("modifiers"),da("snap",Au))||ns;dt.version=Yt.version=Wt.version="3.15.0";vu=1;ka()&&gn();Fe.Power0;Fe.Power1;Fe.Power2;Fe.Power3;Fe.Power4;Fe.Linear;Fe.Quad;Fe.Cubic;Fe.Quart;Fe.Quint;Fe.Strong;Fe.Elastic;Fe.Back;Fe.SteppedEase;Fe.Bounce;Fe.Sine;Fe.Expo;Fe.Circ;var Uu,xi,yn,$a,Ui,ju,Ka,zp=a(function(){return typeof window<"u"},"_windowExists"),ei={},Gi=180/Math.PI,vn=Math.PI/180,_n=Math.atan2,$u=1e8,Qa=/([A-Z])/g,Hp=/(left|right|width|margin|padding|x)/i,Ip=/[\s,\(]\S/,qr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},qa=a(function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},"_renderCSSProp"),Fp=a(function(e,r){return r.set(r.t,r.p,e===1?r.e:Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},"_renderPropWithEnd"),Bp=a(function(e,r){return r.set(r.t,r.p,e?Math.round((r.s+r.c*e)*1e4)/1e4+r.u:r.b,r)},"_renderCSSPropWithBeginning"),Yp=a(function(e,r){return r.set(r.t,r.p,e===1?r.e:e?Math.round((r.s+r.c*e)*1e4)/1e4+r.u:r.b,r)},"_renderCSSPropWithBeginningAndEnd"),Xp=a(function(e,r){var t=r.s+r.c*e;r.set(r.t,r.p,~~(t+(t<0?-0.5:.5))+r.u,r);},"_renderRoundedCSSProp"),ic=a(function(e,r){return r.set(r.t,r.p,e?r.e:r.b,r)},"_renderNonTweeningValue"),nc=a(function(e,r){return r.set(r.t,r.p,e!==1?r.b:r.e,r)},"_renderNonTweeningValueOnlyAtEnd"),Wp=a(function(e,r,t){return e.style[r]=t},"_setterCSSStyle"),Vp=a(function(e,r,t){return e.style.setProperty(r,t)},"_setterCSSProp"),qp=a(function(e,r,t){return e._gsap[r]=t},"_setterTransform"),Gp=a(function(e,r,t){return e._gsap.scaleX=e._gsap.scaleY=t},"_setterScale"),Up=a(function(e,r,t,i,n){var o=e._gsap;o.scaleX=o.scaleY=t,o.renderTransform(n,o);},"_setterScaleWithRender"),jp=a(function(e,r,t,i,n){var o=e._gsap;o[r]=t,o.renderTransform(n,o);},"_setterTransformWithRender"),lt="transform",cr=lt+"Origin",$p=a(function l(e,r){var t=this,i=this.target,n=i.style,o=i._gsap;if(e in ei&&n){if(this.tfm=this.tfm||{},e!=="transform")e=qr[e]||e,~e.indexOf(",")?e.split(",").forEach(function(s){return t.tfm[s]=Jr(i,s)}):this.tfm[e]=o.x?o[e]:Jr(i,e),e===cr&&(this.tfm.zOrigin=o.zOrigin);else return qr.transform.split(",").forEach(function(s){return l.call(t,s,r)});if(this.props.indexOf(lt)>=0)return;o.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(cr,r,"")),e=lt;}(n||r)&&this.props.push(e,r,n[e]);},"_saveStyle"),oc=a(function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"));},"_removeIndependentTransforms"),Kp=a(function(){var e=this.props,r=this.target,t=r.style,i=r._gsap,n,o;for(n=0;n<e.length;n+=3)e[n+1]?e[n+1]===2?r[e[n]](e[n+2]):r[e[n]]=e[n+2]:e[n+2]?t[e[n]]=e[n+2]:t.removeProperty(e[n].substr(0,2)==="--"?e[n]:e[n].replace(Qa,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)i[o]=this.tfm[o];i.svg&&(i.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),n=Ka(),(!n||!n.isStart)&&!t[lt]&&(oc(t),i.zOrigin&&t[cr]&&(t[cr]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1);}},"_revertStyle"),sc=a(function(e,r){var t={target:e,props:[],revert:Kp,save:$p};return e._gsap||Wt.core.getCache(e),r&&e.style&&e.nodeType&&r.split(",").forEach(function(i){return t.save(i)}),t},"_getStyleSaver"),ac,Ga=a(function(e,r){var t=xi.createElementNS?xi.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):xi.createElement(e);return t&&t.style?t:xi.createElement(e)},"_createElement"),mr=a(function l(e,r,t){var i=getComputedStyle(e);return i[r]||i.getPropertyValue(r.replace(Qa,"-$1").toLowerCase())||i.getPropertyValue(r)||!t&&l(e,xn(r)||r,1)||""},"_getComputedProperty"),Ku="O,Moz,ms,Ms,Webkit".split(","),xn=a(function(e,r,t){var i=r||Ui,n=i.style,o=5;if(e in n&&!t)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(Ku[o]+e in n););return o<0?null:(o===3?"ms":o>=0?Ku[o]:"")+e},"_checkPropPrefix"),Ua=a(function(){zp()&&window.document&&(Uu=window,xi=Uu.document,yn=xi.documentElement,Ui=Ga("div")||{style:{}},Ga("div"),lt=xn(lt),cr=lt+"Origin",Ui.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",ac=!!xn("perspective"),Ka=Wt.core.reverting,$a=1);},"_initCore"),Qu=a(function(e){var r=e.ownerSVGElement,t=Ga("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(true),n;i.style.display="block",t.appendChild(i),yn.appendChild(t);try{n=i.getBBox();}catch{}return t.removeChild(i),yn.removeChild(t),n},"_getReparentedCloneBBox"),Zu=a(function(e,r){for(var t=r.length;t--;)if(e.hasAttribute(r[t]))return e.getAttribute(r[t])},"_getAttributeFallbacks"),lc=a(function(e){var r,t;try{r=e.getBBox();}catch{r=Qu(e),t=1;}return r&&(r.width||r.height)||t||(r=Qu(e)),r&&!r.width&&!r.x&&!r.y?{x:+Zu(e,["x","cx","x1"])||0,y:+Zu(e,["y","cy","y1"])||0,width:0,height:0}:r},"_getBBox"),uc=a(function(e){return !!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&lc(e))},"_isSVG"),bi=a(function(e,r){if(r){var t=e.style,i;r in ei&&r!==cr&&(r=lt),t.removeProperty?(i=r.substr(0,2),(i==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),t.removeProperty(i==="--"?r:r.replace(Qa,"-$1").toLowerCase())):t.removeAttribute(r);}},"_removeProperty"),wi=a(function(e,r,t,i,n,o){var s=new Qt(e._pt,r,t,0,1,o?nc:ic);return e._pt=s,s.b=i,s.e=n,e._props.push(t),s},"_addNonTweeningPT"),Ju={deg:1,rad:1,turn:1},Qp={grid:1,flex:1},Ti=a(function l(e,r,t,i){var n=parseFloat(t)||0,o=(t+"").trim().substr((n+"").length)||"px",s=Ui.style,f=Hp.test(r),c=e.tagName.toLowerCase()==="svg",h=(c?"client":"offset")+(f?"Width":"Height"),d=100,g=i==="px",u=i==="%",m,p,_,y;if(i===o||!n||Ju[i]||Ju[o])return n;if(o!=="px"&&!g&&(n=l(e,r,t,"px")),y=e.getCTM&&uc(e),(u||o==="%")&&(ei[r]||~r.indexOf("adius")))return m=y?e.getBBox()[f?"width":"height"]:e[h],ft(u?n/m*d:n/100*m);if(s[f?"width":"height"]=d+(g?o:i),p=i!=="rem"&&~r.indexOf("adius")||i==="em"&&e.appendChild&&!c?e:e.parentNode,y&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===xi||!p.appendChild)&&(p=xi.body),_=p._gsap,_&&u&&_.width&&f&&_.time===ar.time&&!_.uncache)return ft(n/_.width*d);if(u&&(r==="height"||r==="width")){var v=e.style[r];e.style[r]=d+i,m=e[h],v?e.style[r]=v:bi(e,r);}else (u||o==="%")&&!Qp[mr(p,"display")]&&(s.position=mr(e,"position")),p===e&&(s.position="static"),p.appendChild(Ui),m=Ui[h],p.removeChild(Ui),s.position="absolute";return f&&u&&(_=_i(p),_.time=ar.time,_.width=p[h]),ft(g?m*n/d:m&&n?d/m*n:0)},"_convertToUnit"),Jr=a(function(e,r,t,i){var n;return $a||Ua(),r in qr&&r!=="transform"&&(r=qr[r],~r.indexOf(",")&&(r=r.split(",")[0])),ei[r]&&r!=="transform"?(n=co(e,i),n=r!=="transformOrigin"?n[r]:n.svg?n.origin:hs(mr(e,cr))+" "+n.zOrigin+"px"):(n=e.style[r],(!n||n==="auto"||i||~(n+"").indexOf("calc("))&&(n=fs[r]&&fs[r](e,r,t)||mr(e,r)||Aa(e,r)||(r==="opacity"?1:0))),t&&!~(n+"").trim().indexOf(" ")?Ti(e,r,n,t)+t:n},"_get"),Zp=a(function(e,r,t,i){if(!t||t==="none"){var n=xn(r,e,1),o=n&&mr(e,n,1);o&&o!==t?(r=n,t=o):r==="borderColor"&&(t=mr(e,"borderTopColor"));}var s=new Qt(this._pt,e.style,r,0,1,Ya),f=0,c=0,h,d,g,u,m,p,_,y,v,b,w,x;if(s.b=t,s.e=i,t+="",i+="",i.substring(0,6)==="var(--"&&(i=mr(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(p=e.style[r],e.style[r]=i,i=mr(e,r)||i,p?e.style[r]=p:bi(e,r)),h=[t,i],Na(h),t=h[0],i=h[1],g=t.match(Yi)||[],x=i.match(Yi)||[],x.length){for(;d=Yi.exec(i);)_=d[0],v=i.substring(f,d.index),m?m=(m+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(m=1),_!==(p=g[c++]||"")&&(u=parseFloat(p)||0,w=p.substr((u+"").length),_.charAt(1)==="="&&(_=Xi(u,_)+w),y=parseFloat(_),b=_.substr((y+"").length),f=Yi.lastIndex-b.length,b||(b=b||ur.units[r]||w,f===i.length&&(i+=b,s.e+=b)),w!==b&&(u=Ti(e,r,p,b)||0),s._pt={_next:s._pt,p:v||c===1?v:",",s:u,c:y-u,m:m&&m<4||r==="zIndex"?Math.round:0});s.c=f<i.length?i.substring(f,i.length):"";}else s.r=r==="display"&&i==="none"?nc:ic;return Ma.test(i)&&(s.e=0),this._pt=s,s},"_tweenComplexCSSString"),ec={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Jp=a(function(e){var r=e.split(" "),t=r[0],i=r[1]||"50%";return (t==="top"||t==="bottom"||i==="left"||i==="right")&&(e=t,t=i,i=e),r[0]=ec[t]||t,r[1]=ec[i]||i,r.join(" ")},"_convertKeywordsToPercentages"),ed=a(function(e,r){if(r.tween&&r.tween._time===r.tween._dur){var t=r.t,i=t.style,n=r.u,o=t._gsap,s,f,c;if(n==="all"||n===true)i.cssText="",f=1;else for(n=n.split(","),c=n.length;--c>-1;)s=n[c],ei[s]&&(f=1,s=s==="transformOrigin"?cr:lt),bi(t,s);f&&(bi(t,lt),o&&(o.svg&&t.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",co(t,1),o.uncache=1,oc(i)));}},"_renderClearProps"),fs={clearProps:a(function(e,r,t,i,n){if(n.data!=="isFromStart"){var o=e._pt=new Qt(e._pt,r,t,0,0,ed);return o.u=i,o.pr=-10,o.tween=n,e._props.push(t),1}},"clearProps")},uo=[1,0,0,1,0,0],cc={},fc=a(function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},"_isNullTransform"),tc=a(function(e){var r=mr(e,lt);return fc(r)?uo:r.substr(7).match(Ca).map(ft)},"_getComputedTransformMatrixAsArray"),Za=a(function(e,r){var t=e._gsap||_i(e),i=e.style,n=tc(e),o,s,f,c;return t.svg&&e.getAttribute("transform")?(f=e.transform.baseVal.consolidate().matrix,n=[f.a,f.b,f.c,f.d,f.e,f.f],n.join(",")==="1,0,0,1,0,0"?uo:n):(n===uo&&!e.offsetParent&&e!==yn&&!t.svg&&(f=i.display,i.display="block",o=e.parentNode,(!o||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,s=e.nextElementSibling,yn.appendChild(e)),n=tc(e),f?i.display=f:bi(e,"display"),c&&(s?o.insertBefore(e,s):o?o.appendChild(e):yn.removeChild(e))),r&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},"_getMatrix"),ja=a(function(e,r,t,i,n,o){var s=e._gsap,f=n||Za(e,true),c=s.xOrigin||0,h=s.yOrigin||0,d=s.xOffset||0,g=s.yOffset||0,u=f[0],m=f[1],p=f[2],_=f[3],y=f[4],v=f[5],b=r.split(" "),w=parseFloat(b[0])||0,x=parseFloat(b[1])||0,P,S,C,L;t?f!==uo&&(S=u*_-m*p)&&(C=w*(_/S)+x*(-p/S)+(p*v-_*y)/S,L=w*(-m/S)+x*(u/S)-(u*v-m*y)/S,w=C,x=L):(P=lc(e),w=P.x+(~b[0].indexOf("%")?w/100*P.width:w),x=P.y+(~(b[1]||b[0]).indexOf("%")?x/100*P.height:x)),i||i!==false&&s.smooth?(y=w-c,v=x-h,s.xOffset=d+(y*u+v*p)-y,s.yOffset=g+(y*m+v*_)-v):s.xOffset=s.yOffset=0,s.xOrigin=w,s.yOrigin=x,s.smooth=!!i,s.origin=r,s.originIsAbsolute=!!t,e.style[cr]="0px 0px",o&&(wi(o,s,"xOrigin",c,w),wi(o,s,"yOrigin",h,x),wi(o,s,"xOffset",d,s.xOffset),wi(o,s,"yOffset",g,s.yOffset)),e.setAttribute("data-svg-origin",w+" "+x);},"_applySVGOrigin"),co=a(function(e,r){var t=e._gsap||new za(e);if("x"in t&&!r&&!t.uncache)return t;var i=e.style,n=t.scaleX<0,o="px",s="deg",f=getComputedStyle(e),c=mr(e,cr)||"0",h,d,g,u,m,p,_,y,v,b,w,x,P,S,C,L,M,N,A,H,F,B,$,j,ae,re,E,Q,Z,pe,ee,ue;return h=d=g=p=_=y=v=b=w=0,u=m=1,t.svg=!!(e.getCTM&&uc(e)),f.translate&&((f.translate!=="none"||f.scale!=="none"||f.rotate!=="none")&&(i[lt]=(f.translate!=="none"?"translate3d("+(f.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(f.rotate!=="none"?"rotate("+f.rotate+") ":"")+(f.scale!=="none"?"scale("+f.scale.split(" ").join(",")+") ":"")+(f[lt]!=="none"?f[lt]:"")),i.scale=i.rotate=i.translate="none"),S=Za(e,t.svg),t.svg&&(t.uncache?(ae=e.getBBox(),c=t.xOrigin-ae.x+"px "+(t.yOrigin-ae.y)+"px",j=""):j=!r&&e.getAttribute("data-svg-origin"),ja(e,j||c,!!j||t.originIsAbsolute,t.smooth!==false,S)),x=t.xOrigin||0,P=t.yOrigin||0,S!==uo&&(N=S[0],A=S[1],H=S[2],F=S[3],h=B=S[4],d=$=S[5],S.length===6?(u=Math.sqrt(N*N+A*A),m=Math.sqrt(F*F+H*H),p=N||A?_n(A,N)*Gi:0,v=H||F?_n(H,F)*Gi+p:0,v&&(m*=Math.abs(Math.cos(v*vn))),t.svg&&(h-=x-(x*N+P*H),d-=P-(x*A+P*F))):(ue=S[6],pe=S[7],E=S[8],Q=S[9],Z=S[10],ee=S[11],h=S[12],d=S[13],g=S[14],C=_n(ue,Z),_=C*Gi,C&&(L=Math.cos(-C),M=Math.sin(-C),j=B*L+E*M,ae=$*L+Q*M,re=ue*L+Z*M,E=B*-M+E*L,Q=$*-M+Q*L,Z=ue*-M+Z*L,ee=pe*-M+ee*L,B=j,$=ae,ue=re),C=_n(-H,Z),y=C*Gi,C&&(L=Math.cos(-C),M=Math.sin(-C),j=N*L-E*M,ae=A*L-Q*M,re=H*L-Z*M,ee=F*M+ee*L,N=j,A=ae,H=re),C=_n(A,N),p=C*Gi,C&&(L=Math.cos(C),M=Math.sin(C),j=N*L+A*M,ae=B*L+$*M,A=A*L-N*M,$=$*L-B*M,N=j,B=ae),_&&Math.abs(_)+Math.abs(p)>359.9&&(_=p=0,y=180-y),u=ft(Math.sqrt(N*N+A*A+H*H)),m=ft(Math.sqrt($*$+ue*ue)),C=_n(B,$),v=Math.abs(C)>2e-4?C*Gi:0,w=ee?1/(ee<0?-ee:ee):0),t.svg&&(j=e.getAttribute("transform"),t.forceCSS=e.setAttribute("transform","")||!fc(mr(e,lt)),j&&e.setAttribute("transform",j))),Math.abs(v)>90&&Math.abs(v)<270&&(n?(u*=-1,v+=p<=0?180:-180,p+=p<=0?180:-180):(m*=-1,v+=v<=0?180:-180)),r=r||t.uncache,t.x=h-((t.xPercent=h&&(!r&&t.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-h)?-50:0)))?e.offsetWidth*t.xPercent/100:0)+o,t.y=d-((t.yPercent=d&&(!r&&t.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-d)?-50:0)))?e.offsetHeight*t.yPercent/100:0)+o,t.z=g+o,t.scaleX=ft(u),t.scaleY=ft(m),t.rotation=ft(p)+s,t.rotationX=ft(_)+s,t.rotationY=ft(y)+s,t.skewX=v+s,t.skewY=b+s,t.transformPerspective=w+o,(t.zOrigin=parseFloat(c.split(" ")[2])||!r&&t.zOrigin||0)&&(i[cr]=hs(c)),t.xOffset=t.yOffset=0,t.force3D=ur.force3D,t.renderTransform=t.svg?rd:ac?hc:td,t.uncache=0,t},"_parseTransform"),hs=a(function(e){return (e=e.split(" "))[0]+" "+e[1]},"_firstTwoOnly"),Va=a(function(e,r,t){var i=At(r);return ft(parseFloat(r)+parseFloat(Ti(e,"x",t+"px",i)))+i},"_addPxTranslate"),td=a(function(e,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,hc(e,r);},"_renderNon3DTransforms"),Vi="0deg",lo="0px",qi=") ",hc=a(function(e,r){var t=r||this,i=t.xPercent,n=t.yPercent,o=t.x,s=t.y,f=t.z,c=t.rotation,h=t.rotationY,d=t.rotationX,g=t.skewX,u=t.skewY,m=t.scaleX,p=t.scaleY,_=t.transformPerspective,y=t.force3D,v=t.target,b=t.zOrigin,w="",x=y==="auto"&&e&&e!==1||y===true;if(b&&(d!==Vi||h!==Vi)){var P=parseFloat(h)*vn,S=Math.sin(P),C=Math.cos(P),L;P=parseFloat(d)*vn,L=Math.cos(P),o=Va(v,o,S*L*-b),s=Va(v,s,-Math.sin(P)*-b),f=Va(v,f,C*L*-b+b);}_!==lo&&(w+="perspective("+_+qi),(i||n)&&(w+="translate("+i+"%, "+n+"%) "),(x||o!==lo||s!==lo||f!==lo)&&(w+=f!==lo||x?"translate3d("+o+", "+s+", "+f+") ":"translate("+o+", "+s+qi),c!==Vi&&(w+="rotate("+c+qi),h!==Vi&&(w+="rotateY("+h+qi),d!==Vi&&(w+="rotateX("+d+qi),(g!==Vi||u!==Vi)&&(w+="skew("+g+", "+u+qi),(m!==1||p!==1)&&(w+="scale("+m+", "+p+qi),v.style[lt]=w||"translate(0, 0)";},"_renderCSSTransforms"),rd=a(function(e,r){var t=r||this,i=t.xPercent,n=t.yPercent,o=t.x,s=t.y,f=t.rotation,c=t.skewX,h=t.skewY,d=t.scaleX,g=t.scaleY,u=t.target,m=t.xOrigin,p=t.yOrigin,_=t.xOffset,y=t.yOffset,v=t.forceCSS,b=parseFloat(o),w=parseFloat(s),x,P,S,C,L;f=parseFloat(f),c=parseFloat(c),h=parseFloat(h),h&&(h=parseFloat(h),c+=h,f+=h),f||c?(f*=vn,c*=vn,x=Math.cos(f)*d,P=Math.sin(f)*d,S=Math.sin(f-c)*-g,C=Math.cos(f-c)*g,c&&(h*=vn,L=Math.tan(c-h),L=Math.sqrt(1+L*L),S*=L,C*=L,h&&(L=Math.tan(h),L=Math.sqrt(1+L*L),x*=L,P*=L)),x=ft(x),P=ft(P),S=ft(S),C=ft(C)):(x=d,C=g,P=S=0),(b&&!~(o+"").indexOf("px")||w&&!~(s+"").indexOf("px"))&&(b=Ti(u,"x",o,"px"),w=Ti(u,"y",s,"px")),(m||p||_||y)&&(b=ft(b+m-(m*x+p*S)+_),w=ft(w+p-(m*P+p*C)+y)),(i||n)&&(L=u.getBBox(),b=ft(b+i/100*L.width),w=ft(w+n/100*L.height)),L="matrix("+x+","+P+","+S+","+C+","+b+","+w+")",u.setAttribute("transform",L),v&&(u.style[lt]=L);},"_renderSVGTransforms"),id=a(function(e,r,t,i,n){var o=360,s=xt(n),f=parseFloat(n)*(s&&~n.indexOf("rad")?Gi:1),c=f-i,h=i+c+"deg",d,g;return s&&(d=n.split("_")[1],d==="short"&&(c%=o,c!==c%(o/2)&&(c+=c<0?o:-o)),d==="cw"&&c<0?c=(c+o*$u)%o-~~(c/o)*o:d==="ccw"&&c>0&&(c=(c-o*$u)%o-~~(c/o)*o)),e._pt=g=new Qt(e._pt,r,t,i,c,Fp),g.e=h,g.u="deg",e._props.push(t),g},"_addRotationalPropTween"),rc=a(function(e,r){for(var t in r)e[t]=r[t];return e},"_assign"),nd=a(function(e,r,t){var i=rc({},t._gsap),n="perspective,force3D,transformOrigin,svgOrigin",o=t.style,s,f,c,h,d,g,u,m;i.svg?(c=t.getAttribute("transform"),t.setAttribute("transform",""),o[lt]=r,s=co(t,1),bi(t,lt),t.setAttribute("transform",c)):(c=getComputedStyle(t)[lt],o[lt]=r,s=co(t,1),o[lt]=c);for(f in ei)c=i[f],h=s[f],c!==h&&n.indexOf(f)<0&&(u=At(c),m=At(h),d=u!==m?Ti(t,f,c,m):parseFloat(c),g=parseFloat(h),e._pt=new Qt(e._pt,s,f,d,g-d,qa),e._pt.u=m||0,e._props.push(f));rc(s,i);},"_addRawTransformPTs");Kt("padding,margin,Width,Radius",function(l,e){var r="Top",t="Right",i="Bottom",n="Left",o=(e<3?[r,t,i,n]:[r+n,r+t,i+t,i+n]).map(function(s){return e<2?l+s:"border"+s+l});fs[e>1?"border"+l:l]=function(s,f,c,h,d){var g,u;if(arguments.length<4)return g=o.map(function(m){return Jr(s,m,c)}),u=g.join(" "),u.split(g[0]).length===5?g[0]:u;g=(h+"").split(" "),u={},o.forEach(function(m,p){return u[m]=g[p]=g[p]||g[(p-1)/2|0]}),s.init(f,u,d);};});var Ja={name:"css",register:Ua,targetTest:a(function(e){return e.style&&e.nodeType},"targetTest"),init:a(function(e,r,t,i,n){var o=this._props,s=e.style,f=t.vars.startAt,c,h,d,g,u,m,p,_,y,v,b,w,x,P,S,C,L;$a||Ua(),this.styles=this.styles||sc(e),C=this.styles.props,this.tween=t;for(p in r)if(p!=="autoRound"&&(h=r[p],!(sr[p]&&Ia(p,r,t,i,e,n)))){if(u=typeof h,m=fs[p],u==="function"&&(h=h.call(t,i,e,n),u=typeof h),u==="string"&&~h.indexOf("random(")&&(h=mn(h)),m)m(this,e,p,h,t)&&(S=1);else if(p.substr(0,2)==="--")c=(getComputedStyle(e).getPropertyValue(p)+"").trim(),h+="",Qr.lastIndex=0,Qr.test(c)||(_=At(c),y=At(h),y?_!==y&&(c=Ti(e,p,c,y)+y):_&&(h+=_)),this.add(s,"setProperty",c,h,i,n,0,0,p),o.push(p),C.push(p,0,s[p]);else if(u!=="undefined"){if(f&&p in f?(c=typeof f[p]=="function"?f[p].call(t,i,e,n):f[p],xt(c)&&~c.indexOf("random(")&&(c=mn(c)),At(c+"")||c==="auto"||(c+=ur.units[p]||At(Jr(e,p))||""),(c+"").charAt(1)==="="&&(c=Jr(e,p))):c=Jr(e,p),g=parseFloat(c),v=u==="string"&&h.charAt(1)==="="&&h.substr(0,2),v&&(h=h.substr(2)),d=parseFloat(h),p in qr&&(p==="autoAlpha"&&(g===1&&Jr(e,"visibility")==="hidden"&&d&&(g=0),C.push("visibility",0,s.visibility),wi(this,s,"visibility",g?"inherit":"hidden",d?"inherit":"hidden",!d)),p!=="scale"&&p!=="transform"&&(p=qr[p],~p.indexOf(",")&&(p=p.split(",")[0]))),b=p in ei,b){if(this.styles.save(p),L=h,u==="string"&&h.substring(0,6)==="var(--"){if(h=mr(e,h.substring(4,h.indexOf(")"))),h.substring(0,5)==="calc("){var M=e.style.perspective;e.style.perspective=h,h=mr(e,"perspective"),M?e.style.perspective=M:bi(e,"perspective");}d=parseFloat(h);}if(w||(x=e._gsap,x.renderTransform&&!r.parseTransform||co(e,r.parseTransform),P=r.smoothOrigin!==false&&x.smooth,w=this._pt=new Qt(this._pt,s,lt,0,1,x.renderTransform,x,0,-1),w.dep=1),p==="scale")this._pt=new Qt(this._pt,x,"scaleY",x.scaleY,(v?Xi(x.scaleY,v+d):d)-x.scaleY||0,qa),this._pt.u=0,o.push("scaleY",p),p+="X";else if(p==="transformOrigin"){C.push(cr,0,s[cr]),h=Jp(h),x.svg?ja(e,h,0,P,0,this):(y=parseFloat(h.split(" ")[2])||0,y!==x.zOrigin&&wi(this,x,"zOrigin",x.zOrigin,y),wi(this,s,p,hs(c),hs(h)));continue}else if(p==="svgOrigin"){ja(e,h,1,P,0,this);continue}else if(p in cc){id(this,x,p,g,v?Xi(g,v+h):h);continue}else if(p==="smoothOrigin"){wi(this,x,"smooth",x.smooth,h);continue}else if(p==="force3D"){x[p]=h;continue}else if(p==="transform"){nd(this,h,e);continue}}else p in s||(p=xn(p)||p);if(b||(d||d===0)&&(g||g===0)&&!Ip.test(h)&&p in s)_=(c+"").substr((g+"").length),d||(d=0),y=At(h)||(p in ur.units?ur.units[p]:_),_!==y&&(g=Ti(e,p,c,y)),this._pt=new Qt(this._pt,b?x:s,p,g,(v?Xi(g,v+d):d)-g,!b&&(y==="px"||p==="zIndex")&&r.autoRound!==false?Xp:qa),this._pt.u=y||0,b&&L!==h?(this._pt.b=c,this._pt.e=L,this._pt.r=Yp):_!==y&&y!=="%"&&(this._pt.b=c,this._pt.r=Bp);else if(p in s)Zp.call(this,e,p,c,v?v+h:h);else if(p in e)this.add(e,p,c||e[p],v?v+h:h,i,n);else if(p!=="parseTransform"){ss(p,h);continue}b||(p in s?C.push(p,0,s[p]):typeof e[p]=="function"?C.push(p,2,e[p]()):C.push(p,1,c||e[p])),o.push(p);}}S&&Wa(this);},"init"),render:a(function(e,r){if(r.tween._time||!Ka())for(var t=r._pt;t;)t.r(e,t.d),t=t._next;else r.styles.revert();},"render"),get:Jr,aliases:qr,getSetter:a(function(e,r,t){var i=qr[r];return i&&i.indexOf(",")<0&&(r=i),r in ei&&r!==cr&&(e._gsap.x||Jr(e,"x"))?t&&ju===t?r==="scale"?Gp:qp:(ju=t||{})&&(r==="scale"?Up:jp):e.style&&!os(e.style[r])?Wp:~r.indexOf("-")?Vp:cs(e,r)},"getSetter"),core:{_removeProperty:bi,_getMatrix:Za}};Wt.utils.checkPrefix=xn;Wt.core.getStyleSaver=sc;(function(l,e,r,t){var i=Kt(l+","+e+","+r,function(n){ei[n]=1;});Kt(e,function(n){ur.units[n]="deg",cc[n]=1;}),qr[i[13]]=l+","+e,Kt(t,function(n){var o=n.split(":");qr[o[1]]=i[o[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");Kt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(l){ur.units[l]="px";});Wt.registerPlugin(Ja);var I=Wt.registerPlugin(Ja)||Wt;I.core.Tween;function pc(l,e){for(var r=0;r<e.length;r++){var t=e[r];t.enumerable=t.enumerable||false,t.configurable=true,"value"in t&&(t.writable=true),Object.defineProperty(l,t.key,t);}}a(pc,"_defineProperties");function od(l,e,r){return e&&pc(l.prototype,e),r&&pc(l,r),l}a(od,"_createClass");var Rt,gs,_r,Si,Ei,bn,gc,ji,Tn,mc,ti,Ar,_c,yc=a(function(){return Rt||typeof window<"u"&&(Rt=window.gsap)&&Rt.registerPlugin&&Rt},"_getGSAP"),vc=1,wn=[],Oe=[],Rr=[],ho=Date.now,el=a(function(e,r){return r},"_bridge"),ad=a(function(){var e=Tn.core,r=e.bridge||{},t=e._scrollers,i=e._proxies;t.push.apply(t,Oe),i.push.apply(i,Rr),Oe=t,Rr=i,el=a(function(o,s){return r[o](s)},"_bridge");},"_integrate"),ii=a(function(e,r){return ~Rr.indexOf(e)&&Rr[Rr.indexOf(e)+1][r]},"_getProxyProp"),po=a(function(e){return !!~mc.indexOf(e)},"_isViewport"),Jt=a(function(e,r,t,i,n){return e.addEventListener(r,t,{passive:i!==false,capture:!!n})},"_addListener"),Zt=a(function(e,r,t,i){return e.removeEventListener(r,t,!!i)},"_removeListener"),ps="scrollLeft",ds="scrollTop",tl=a(function(){return ti&&ti.isPressed||Oe.cache++},"_onScroll"),ms=a(function(e,r){var t=a(function i(n){if(n||n===0){vc&&(_r.history.scrollRestoration="manual");var o=ti&&ti.isPressed;n=i.v=Math.round(n)||(ti&&ti.iOS?1:0),e(n),i.cacheID=Oe.cache,o&&el("ss",n);}else (r||Oe.cache!==i.cacheID||el("ref"))&&(i.cacheID=Oe.cache,i.v=e());return i.v+i.offset},"cachingFunc");return t.offset=0,e&&t},"_scrollCacheFunc"),Vt={s:ps,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:ms(function(l){return arguments.length?_r.scrollTo(l,mt.sc()):_r.pageXOffset||Si[ps]||Ei[ps]||bn[ps]||0})},mt={s:ds,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Vt,sc:ms(function(l){return arguments.length?_r.scrollTo(Vt.sc(),l):_r.pageYOffset||Si[ds]||Ei[ds]||bn[ds]||0})},er=a(function(e,r){return (r&&r._ctx&&r._ctx.selector||Rt.utils.toArray)(e)[0]||(typeof e=="string"&&Rt.config().nullTargetWarn!==false?console.warn("Element not found:",e):null)},"_getTarget"),ld=a(function(e,r){for(var t=r.length;t--;)if(r[t]===e||r[t].contains(e))return true;return false},"_isWithin"),ri=a(function(e,r){var t=r.s,i=r.sc;po(e)&&(e=Si.scrollingElement||Ei);var n=Oe.indexOf(e),o=i===mt.sc?1:2;!~n&&(n=Oe.push(e)-1),Oe[n+o]||Jt(e,"scroll",tl);var s=Oe[n+o],f=s||(Oe[n+o]=ms(ii(e,t),true)||(po(e)?i:ms(function(c){return arguments.length?e[t]=c:e[t]})));return f.target=e,s||(f.smooth=Rt.getProperty(e,"scrollBehavior")==="smooth"),f},"_getScrollFunc"),_s=a(function(e,r,t){var i=e,n=e,o=ho(),s=o,f=r||50,c=Math.max(500,f*3),h=a(function(m,p){var _=ho();p||_-o>f?(n=i,i=m,s=o,o=_):t?i+=m:i=n+(m-n)/(_-s)*(o-s);},"update"),d=a(function(){n=i=t?0:i,s=o=0;},"reset"),g=a(function(m){var p=s,_=n,y=ho();return (m||m===0)&&m!==i&&h(m),o===s||y-s>c?0:(i+(t?_:-_))/((t?y:o)-p)*1e3},"getVelocity");return {update:h,reset:d,getVelocity:g}},"_getVelocityProp"),fo=a(function(e,r){return r&&!e._gsapAllow&&e.cancelable!==false&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},"_getEvent"),dc=a(function(e){var r=Math.max.apply(Math,e),t=Math.min.apply(Math,e);return Math.abs(r)>=Math.abs(t)?r:t},"_getAbsoluteMax"),xc=a(function(){Tn=Rt.core.globals().ScrollTrigger,Tn&&Tn.core&&ad();},"_setScrollTrigger"),wc=a(function(e){return Rt=e||yc(),!gs&&Rt&&typeof document<"u"&&document.body&&(_r=window,Si=document,Ei=Si.documentElement,bn=Si.body,mc=[_r,Si,Ei,bn],Rt.utils.clamp,_c=Rt.core.context||function(){},ji="onpointerenter"in bn?"pointer":"mouse",gc=ht.isTouch=_r.matchMedia&&_r.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in _r||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Ar=ht.eventTypes=("ontouchstart"in Ei?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Ei?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return vc=0},500),gs=1),Tn||xc(),gs},"_initCore");Vt.op=mt;Oe.cache=0;var ht=(function(){function l(r){this.init(r);}a(l,"Observer");var e=l.prototype;return e.init=a(function(t){gs||wc(Rt)||console.warn("Please gsap.registerPlugin(Observer)"),Tn||xc();var i=t.tolerance,n=t.dragMinimum,o=t.type,s=t.target,f=t.lineHeight,c=t.debounce,h=t.preventDefault,d=t.onStop,g=t.onStopDelay,u=t.ignore,m=t.wheelSpeed,p=t.event,_=t.onDragStart,y=t.onDragEnd,v=t.onDrag,b=t.onPress,w=t.onRelease,x=t.onRight,P=t.onLeft,S=t.onUp,C=t.onDown,L=t.onChangeX,M=t.onChangeY,N=t.onChange,A=t.onToggleX,H=t.onToggleY,F=t.onHover,B=t.onHoverEnd,$=t.onMove,j=t.ignoreCheck,ae=t.isNormalizer,re=t.onGestureStart,E=t.onGestureEnd,Q=t.onWheel,Z=t.onEnable,pe=t.onDisable,ee=t.onClick,ue=t.scrollSpeed,ce=t.capture,Le=t.allowClicks,ye=t.lockAxis,Ze=t.onLockAxis;this.target=s=er(s)||Ei,this.vars=t,u&&(u=Rt.utils.toArray(u)),i=i||1e-9,n=n||0,m=m||1,ue=ue||1,o=o||"wheel,touch,pointer",c=c!==false,f||(f=parseFloat(_r.getComputedStyle(bn).lineHeight)||22);var Te,Re,qe,se,fe,he,ut,O=this,He=0,G=0,D=t.passive||!h&&t.passive!==false,q=ri(s,Vt),X=ri(s,mt),ge=q(),xe=X(),ke=~o.indexOf("touch")&&!~o.indexOf("pointer")&&Ar[0]==="pointerdown",We=po(s),ve=s.ownerDocument||Si,Ge=[0,0,0],Ye=[0,0,0],Ce=0,pt=a(function(){return Ce=ho()},"clickCapture"),ie=a(function(R,V){return (O.event=R)&&u&&ld(R.target,u)||V&&ke&&R.pointerType!=="touch"||j&&j(R,V)},"_ignoreCheck"),Tr=a(function(){O._vx.reset(),O._vy.reset(),Re.pause(),d&&d(O);},"onStopFunc"),Ct=a(function(){var R=O.deltaX=dc(Ge),V=O.deltaY=dc(Ye),z=Math.abs(R)>=i,K=Math.abs(V)>=i;N&&(z||K)&&N(O,R,V,Ge,Ye),z&&(x&&O.deltaX>0&&x(O),P&&O.deltaX<0&&P(O),L&&L(O),A&&O.deltaX<0!=He<0&&A(O),He=O.deltaX,Ge[0]=Ge[1]=Ge[2]=0),K&&(C&&O.deltaY>0&&C(O),S&&O.deltaY<0&&S(O),M&&M(O),H&&O.deltaY<0!=G<0&&H(O),G=O.deltaY,Ye[0]=Ye[1]=Ye[2]=0),(se||qe)&&($&&$(O),qe&&(_&&qe===1&&_(O),v&&v(O),qe=0),se=false),he&&!(he=false)&&Ze&&Ze(O),fe&&(Q(O),fe=false),Te=0;},"update"),St=a(function(R,V,z){Ge[z]+=R,Ye[z]+=V,O._vx.update(R),O._vy.update(V),c?Te||(Te=requestAnimationFrame(Ct)):Ct();},"onDelta"),$t=a(function(R,V){ye&&!ut&&(O.axis=ut=Math.abs(R)>Math.abs(V)?"x":"y",he=true),ut!=="y"&&(Ge[2]+=R,O._vx.update(R,true)),ut!=="x"&&(Ye[2]+=V,O._vy.update(V,true)),c?Te||(Te=requestAnimationFrame(Ct)):Ct();},"onTouchOrPointerDelta"),or=a(function(R){if(!ie(R,1)){R=fo(R,h);var V=R.clientX,z=R.clientY,K=V-O.x,W=z-O.y,J=O.isDragging;O.x=V,O.y=z,(J||(K||W)&&(Math.abs(O.startX-V)>=n||Math.abs(O.startY-z)>=n))&&(qe||(qe=J?2:1),J||(O.isDragging=true),$t(K,W));}},"_onDrag"),Mt=O.onPress=function(k){ie(k,1)||k&&k.button||(O.axis=ut=null,Re.pause(),O.isPressed=true,k=fo(k),He=G=0,O.startX=O.x=k.clientX,O.startY=O.y=k.clientY,O._vx.reset(),O._vy.reset(),Jt(ae?s:ve,Ar[1],or,D,true),O.deltaX=O.deltaY=0,b&&b(O));},_e=O.onRelease=function(k){if(!ie(k,1)){Zt(ae?s:ve,Ar[1],or,true);var R=!isNaN(O.y-O.startY),V=O.isDragging,z=V&&(Math.abs(O.x-O.startX)>3||Math.abs(O.y-O.startY)>3),K=fo(k);!z&&R&&(O._vx.reset(),O._vy.reset(),h&&Le&&Rt.delayedCall(.08,function(){if(ho()-Ce>300&&!k.defaultPrevented){if(k.target.click)k.target.click();else if(ve.createEvent){var W=ve.createEvent("MouseEvents");W.initMouseEvent("click",true,true,_r,1,K.screenX,K.screenY,K.clientX,K.clientY,false,false,false,false,0,null),k.target.dispatchEvent(W);}}})),O.isDragging=O.isGesturing=O.isPressed=false,d&&V&&!ae&&Re.restart(true),qe&&Ct(),y&&V&&y(O),w&&w(O,z);}},Ht=a(function(R){return R.touches&&R.touches.length>1&&(O.isGesturing=true)&&re(R,O.isDragging)},"_onGestureStart"),Ue=a(function(){return (O.isGesturing=false)||E(O)},"_onGestureEnd"),Ie=a(function(R){if(!ie(R)){var V=q(),z=X();St((V-ge)*ue,(z-xe)*ue,1),ge=V,xe=z,d&&Re.restart(true);}},"onScroll"),Je=a(function(R){if(!ie(R)){R=fo(R,h),Q&&(fe=true);var V=(R.deltaMode===1?f:R.deltaMode===2?_r.innerHeight:1)*m;St(R.deltaX*V,R.deltaY*V,0),d&&!ae&&Re.restart(true);}},"_onWheel"),It=a(function(R){if(!ie(R)){var V=R.clientX,z=R.clientY,K=V-O.x,W=z-O.y;O.x=V,O.y=z,se=true,d&&Re.restart(true),(K||W)&&$t(K,W);}},"_onMove"),te=a(function(R){O.event=R,F(O);},"_onHover"),T=a(function(R){O.event=R,B(O);},"_onHoverEnd"),Y=a(function(R){return ie(R)||fo(R,h)&&ee(O)},"_onClick");Re=O._dc=Rt.delayedCall(g||.25,Tr).pause(),O.deltaX=O.deltaY=0,O._vx=_s(0,50,true),O._vy=_s(0,50,true),O.scrollX=q,O.scrollY=X,O.isDragging=O.isGesturing=O.isPressed=false,_c(this),O.enable=function(k){return O.isEnabled||(Jt(We?ve:s,"scroll",tl),o.indexOf("scroll")>=0&&Jt(We?ve:s,"scroll",Ie,D,ce),o.indexOf("wheel")>=0&&Jt(s,"wheel",Je,D,ce),(o.indexOf("touch")>=0&&gc||o.indexOf("pointer")>=0)&&(Jt(s,Ar[0],Mt,D,ce),Jt(ve,Ar[2],_e),Jt(ve,Ar[3],_e),Le&&Jt(s,"click",pt,true,true),ee&&Jt(s,"click",Y),re&&Jt(ve,"gesturestart",Ht),E&&Jt(ve,"gestureend",Ue),F&&Jt(s,ji+"enter",te),B&&Jt(s,ji+"leave",T),$&&Jt(s,ji+"move",It)),O.isEnabled=true,O.isDragging=O.isGesturing=O.isPressed=se=qe=false,O._vx.reset(),O._vy.reset(),ge=q(),xe=X(),k&&k.type&&Mt(k),Z&&Z(O)),O},O.disable=function(){O.isEnabled&&(wn.filter(function(k){return k!==O&&po(k.target)}).length||Zt(We?ve:s,"scroll",tl),O.isPressed&&(O._vx.reset(),O._vy.reset(),Zt(ae?s:ve,Ar[1],or,true)),Zt(We?ve:s,"scroll",Ie,ce),Zt(s,"wheel",Je,ce),Zt(s,Ar[0],Mt,ce),Zt(ve,Ar[2],_e),Zt(ve,Ar[3],_e),Zt(s,"click",pt,true),Zt(s,"click",Y),Zt(ve,"gesturestart",Ht),Zt(ve,"gestureend",Ue),Zt(s,ji+"enter",te),Zt(s,ji+"leave",T),Zt(s,ji+"move",It),O.isEnabled=O.isPressed=O.isDragging=false,pe&&pe(O));},O.kill=O.revert=function(){O.disable();var k=wn.indexOf(O);k>=0&&wn.splice(k,1),ti===O&&(ti=0);},wn.push(O),ae&&po(s)&&(ti=O),O.enable(p);},"init"),od(l,[{key:"velocityX",get:a(function(){return this._vx.getVelocity()},"get")},{key:"velocityY",get:a(function(){return this._vy.getVelocity()},"get")}]),l})();ht.version="3.15.0";ht.create=function(l){return new ht(l)};ht.register=wc;ht.getAll=function(){return wn.slice()};ht.getById=function(l){return wn.filter(function(e){return e.vars.id===l})[0]};yc()&&Rt.registerPlugin(ht);var ne,Cn,Ae,Qe,xr,je,gl,As,Mo,wo,mo,ys,qt,zs,ll,rr,bc,Tc,Mn,Fc,rl,Bc,tr,ul,Yc,Xc,ki,cl,ml,Pn,_l,bo,fl,il,vs=1,Gt=Date.now,nl=Gt(),Pr=0,_o=0,Sc=a(function(e,r,t){var i=vr(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return t["_"+r+"Clamp"]=i,i?e.substr(6,e.length-7):e},"_parseClamp"),Ec=a(function(e,r){return r&&(!vr(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},"_keepClamp"),ud=a(function l(){return _o&&requestAnimationFrame(l)},"_rafBugFix"),kc=a(function(){return zs=1},"_pointerDownHandler"),Cc=a(function(){return zs=0},"_pointerUpHandler"),Gr=a(function(e){return e},"_passThrough"),yo=a(function(e){return Math.round(e*1e5)/1e5||0},"_round"),Wc=a(function(){return typeof window<"u"},"_windowExists"),Vc=a(function(){return ne||Wc()&&(ne=window.gsap)&&ne.registerPlugin&&ne},"_getGSAP"),en=a(function(e){return !!~gl.indexOf(e)},"_isViewport"),qc=a(function(e){return (e==="Height"?_l:Ae["inner"+e])||xr["client"+e]||je["client"+e]},"_getViewportDimension"),Gc=a(function(e){return ii(e,"getBoundingClientRect")||(en(e)?function(){return Ds.width=Ae.innerWidth,Ds.height=_l,Ds}:function(){return ni(e)})},"_getBoundsFunc"),cd=a(function(e,r,t){var i=t.d,n=t.d2,o=t.a;return (o=ii(e,"getBoundingClientRect"))?function(){return o()[i]}:function(){return (r?qc(n):e["client"+n])||0}},"_getSizeFunc"),fd=a(function(e,r){return !r||~Rr.indexOf(e)?Gc(e):function(){return Ds}},"_getOffsetsFunc"),Ur=a(function(e,r){var t=r.s,i=r.d2,n=r.d,o=r.a;return Math.max(0,(t="scroll"+i)&&(o=ii(e,t))?o()-Gc(e)()[n]:en(e)?(xr[t]||je[t])-qc(i):e[t]-e["offset"+i])},"_maxScroll"),xs=a(function(e,r){for(var t=0;t<Mn.length;t+=3)(!r||~r.indexOf(Mn[t+1]))&&e(Mn[t],Mn[t+1],Mn[t+2]);},"_iterateAutoRefresh"),vr=a(function(e){return typeof e=="string"},"_isString"),Ut=a(function(e){return typeof e=="function"},"_isFunction"),vo=a(function(e){return typeof e=="number"},"_isNumber"),$i=a(function(e){return typeof e=="object"},"_isObject"),go=a(function(e,r,t){return e&&e.progress(r?0:1)&&t&&e.pause()},"_endAnimation"),Sn=a(function(e,r,t){if(e.enabled){var i=e._ctx?e._ctx.add(function(){return r(e,t)}):r(e,t);i&&i.totalTime&&(e.callbackAnimation=i);}},"_callback"),En=Math.abs,Uc="left",jc="top",yl="right",vl="bottom",Qi="width",Zi="height",To="Right",So="Left",Eo="Top",ko="Bottom",_t="padding",Cr="margin",On="Width",xl="Height",wt="px",Mr=a(function(e){return Ae.getComputedStyle(e.nodeType===Node.DOCUMENT_NODE?e.scrollingElement:e)},"_getComputedStyle"),hd=a(function(e){var r=Mr(e).position;e.style.position=r==="absolute"||r==="fixed"?r:"relative";},"_makePositionable"),Mc=a(function(e,r){for(var t in r)t in e||(e[t]=r[t]);return e},"_setDefaults"),ni=a(function(e,r){var t=r&&Mr(e)[ll]!=="matrix(1, 0, 0, 1, 0, 0)"&&ne.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),i=e.getBoundingClientRect?e.getBoundingClientRect():e.scrollingElement.getBoundingClientRect();return t&&t.progress(0).kill(),i},"_getBounds"),Rs=a(function(e,r){var t=r.d2;return e["offset"+t]||e["client"+t]||0},"_getSize"),$c=a(function(e){var r=[],t=e.labels,i=e.duration(),n;for(n in t)r.push(t[n]/i);return r},"_getLabelRatioArray"),pd=a(function(e){return function(r){return ne.utils.snap($c(e),r)}},"_getClosestLabel"),wl=a(function(e){var r=ne.utils.snap(e),t=Array.isArray(e)&&e.slice(0).sort(function(i,n){return i-n});return t?function(i,n,o){o===void 0&&(o=.001);var s;if(!n)return r(i);if(n>0){for(i-=o,s=0;s<t.length;s++)if(t[s]>=i)return t[s];return t[s-1]}else for(s=t.length,i+=o;s--;)if(t[s]<=i)return t[s];return t[0]}:function(i,n,o){o===void 0&&(o=.001);var s=r(i);return !n||Math.abs(s-i)<o||s-i<0==n<0?s:r(n<0?i-e:i+e)}},"_snapDirectional"),dd=a(function(e){return function(r,t){return wl($c(e))(r,t.direction)}},"_getLabelAtDirection"),ws=a(function(e,r,t,i){return t.split(",").forEach(function(n){return e(r,n,i)})},"_multiListener"),kt=a(function(e,r,t,i,n){return e.addEventListener(r,t,{passive:!i,capture:!!n})},"_addListener"),Et=a(function(e,r,t,i){return e.removeEventListener(r,t,!!i)},"_removeListener"),bs=a(function(e,r,t){t=t&&t.wheelHandler,t&&(e(r,"wheel",t),e(r,"touchmove",t));},"_wheelListener"),Pc={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Ts={toggleActions:"play",anticipatePin:0},Ns={top:0,left:0,center:.5,bottom:1,right:1},Ms=a(function(e,r){if(vr(e)){var t=e.indexOf("="),i=~t?+(e.charAt(t-1)+1)*parseFloat(e.substr(t+1)):0;~t&&(e.indexOf("%")>t&&(i*=r/100),e=e.substr(0,t-1)),e=i+(e in Ns?Ns[e]*r:~e.indexOf("%")?parseFloat(e)*r/100:parseFloat(e)||0);}return e},"_offsetToPx"),Ss=a(function(e,r,t,i,n,o,s,f){var c=n.startColor,h=n.endColor,d=n.fontSize,g=n.indent,u=n.fontWeight,m=Qe.createElement("div"),p=en(t)||ii(t,"pinType")==="fixed",_=e.indexOf("scroller")!==-1,y=p?je:t.tagName==="IFRAME"?t.contentDocument.body:t,v=e.indexOf("start")!==-1,b=v?c:h,w="border-color:"+b+";font-size:"+d+";color:"+b+";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 w+="position:"+((_||f)&&p?"fixed;":"absolute;"),(_||f||!p)&&(w+=(i===mt?yl:vl)+":"+(o+parseFloat(g))+"px;"),s&&(w+="box-sizing:border-box;text-align:left;width:"+s.offsetWidth+"px;"),m._isStart=v,m.setAttribute("class","gsap-marker-"+e+(r?" marker-"+r:"")),m.style.cssText=w,m.innerText=r||r===0?e+"-"+r:e,y.children[0]?y.insertBefore(m,y.children[0]):y.appendChild(m),m._offset=m["offset"+i.op.d2],Ps(m,0,i,v),m},"_createMarker"),Ps=a(function(e,r,t,i){var n={display:"block"},o=t[i?"os2":"p2"],s=t[i?"p2":"os2"];e._isFlipped=i,n[t.a+"Percent"]=i?-100:0,n[t.a]=i?"1px":0,n["border"+o+On]=1,n["border"+s+On]=0,n[t.p]=r+"px",ne.set(e,n);},"_positionMarker"),De=[],hl={},Po,Lc=a(function(){return Gt()-Pr>34&&(Po||(Po=requestAnimationFrame(oi)))},"_sync"),kn=a(function(){(!tr||!tr.isPressed||tr.startX>je.clientWidth)&&(Oe.cache++,tr?Po||(Po=requestAnimationFrame(oi)):oi(),Pr||rn("scrollStart"),Pr=Gt());},"_onScroll"),ol=a(function(){Xc=Ae.innerWidth,Yc=Ae.innerHeight;},"_setBaseDimensions"),xo=a(function(e){Oe.cache++,(e===true||!qt&&!Bc&&!Qe.fullscreenElement&&!Qe.webkitFullscreenElement&&(!ul||Xc!==Ae.innerWidth||Math.abs(Ae.innerHeight-Yc)>Ae.innerHeight*.25))&&As.restart(true);},"_onResize"),tn={},gd=[],Kc=a(function l(){return Et(U,"scrollEnd",l)||Ki(true)},"_softRefresh"),rn=a(function(e){return tn[e]&&tn[e].map(function(r){return r()})||gd},"_dispatch"),yr=[],Qc=a(function(e){for(var r=0;r<yr.length;r+=5)(!e||yr[r+4]&&yr[r+4].query===e)&&(yr[r].style.cssText=yr[r+1],yr[r].getBBox&&yr[r].setAttribute("transform",yr[r+2]||""),yr[r+3].uncache=1);},"_revertRecorded"),Zc=a(function(){return Oe.forEach(function(e){return Ut(e)&&++e.cacheID&&(e.rec=e())})},"_recordScrollPositions"),bl=a(function(e,r){var t;for(rr=0;rr<De.length;rr++)t=De[rr],t&&(!r||t._ctx===r)&&(e?t.kill(1):t.revert(true,true));bo=true,r&&Qc(r),r||rn("revert");},"_revertAll"),Jc=a(function(e,r){Oe.cache++,(r||!ir)&&Oe.forEach(function(t){return Ut(t)&&t.cacheID++&&(t.rec=0)}),vr(e)&&(Ae.history.scrollRestoration=ml=e);},"_clearScrollMemory"),ir,Ji=0,Oc,md=a(function(){if(Oc!==Ji){var e=Oc=Ji;requestAnimationFrame(function(){return e===Ji&&Ki(true)});}},"_queueRefreshAll"),ef=a(function(){je.appendChild(Pn),_l=!tr&&Pn.offsetHeight||Ae.innerHeight,je.removeChild(Pn);},"_refresh100vh"),Dc=a(function(e){return Mo(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(r){return r.style.display=e?"none":"block"})},"_hideAllMarkers"),Ki=a(function(e,r){if(xr=Qe.documentElement,je=Qe.body,gl=[Ae,Qe,xr,je],Pr&&!e&&!bo){kt(U,"scrollEnd",Kc);return}ef(),ir=U.isRefreshing=true,bo||Zc();var t=rn("refreshInit");Fc&&U.sort(),r||bl(),Oe.forEach(function(i){Ut(i)&&(i.smooth&&(i.target.style.scrollBehavior="auto"),i(0));}),De.slice(0).forEach(function(i){return i.refresh()}),bo=false,De.forEach(function(i){if(i._subPinOffset&&i.pin){var n=i.vars.horizontal?"offsetWidth":"offsetHeight",o=i.pin[n];i.revert(true,1),i.adjustPinSpacing(i.pin[n]-o),i.refresh();}}),fl=1,Dc(true),De.forEach(function(i){var n=Ur(i.scroller,i._dir),o=i.vars.end==="max"||i._endClamp&&i.end>n,s=i._startClamp&&i.start>=n;(o||s)&&i.setPositions(s?n-1:i.start,o?Math.max(s?n:i.start+1,n):i.end,true);}),Dc(false),fl=0,t.forEach(function(i){return i&&i.render&&i.render(-1)}),Oe.forEach(function(i){Ut(i)&&(i.smooth&&requestAnimationFrame(function(){return i.target.style.scrollBehavior="smooth"}),i.rec&&i(i.rec));}),Jc(ml,1),As.pause(),Ji++,ir=2,oi(2),De.forEach(function(i){return Ut(i.vars.onRefresh)&&i.vars.onRefresh(i)}),ir=U.isRefreshing=false,rn("refresh");},"_refreshAll"),pl=0,Ls=1,Co,oi=a(function(e){if(e===2||!ir&&!bo){U.isUpdating=true,Co&&Co.update(0);var r=De.length,t=Gt(),i=t-nl>=50,n=r&&De[0].scroll();if(Ls=pl>n?-1:1,ir||(pl=n),i&&(Pr&&!zs&&t-Pr>200&&(Pr=0,rn("scrollEnd")),mo=nl,nl=t),Ls<0){for(rr=r;rr-- >0;)De[rr]&&De[rr].update(0,i);Ls=1;}else for(rr=0;rr<r;rr++)De[rr]&&De[rr].update(0,i);U.isUpdating=false;}Po=0;},"_updateAll"),dl=[Uc,jc,vl,yl,Cr+ko,Cr+To,Cr+Eo,Cr+So,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Os=dl.concat([Qi,Zi,"boxSizing","max"+On,"max"+xl,"position",Cr,_t,_t+Eo,_t+To,_t+ko,_t+So]),_d=a(function(e,r,t){Ln(t);var i=e._gsap;if(i.spacerIsNative)Ln(i.spacerState);else if(e._gsap.swappedIn){var n=r.parentNode;n&&(n.insertBefore(e,r),n.removeChild(r));}e._gsap.swappedIn=false;},"_swapPinOut"),sl=a(function(e,r,t,i){if(!e._gsap.swappedIn){for(var n=dl.length,o=r.style,s=e.style,f;n--;)f=dl[n],o[f]=t[f];o.position=t.position==="absolute"?"absolute":"relative",t.display==="inline"&&(o.display="inline-block"),s[vl]=s[yl]="auto",o.flexBasis=t.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[Qi]=Rs(e,Vt)+wt,o[Zi]=Rs(e,mt)+wt,o[_t]=s[Cr]=s[jc]=s[Uc]="0",Ln(i),s[Qi]=s["max"+On]=t[Qi],s[Zi]=s["max"+xl]=t[Zi],s[_t]=t[_t],e.parentNode!==r&&(e.parentNode.insertBefore(r,e),r.appendChild(e)),e._gsap.swappedIn=true;}},"_swapPinIn"),yd=/([A-Z])/g,Ln=a(function(e){if(e){var r=e.t.style,t=e.length,i=0,n,o;for((e.t._gsap||ne.core.getCache(e.t)).uncache=1;i<t;i+=2)o=e[i+1],n=e[i],o?r[n]=o:r[n]&&r.removeProperty(n.replace(yd,"-$1").toLowerCase());}},"_setState"),Es=a(function(e){for(var r=Os.length,t=e.style,i=[],n=0;n<r;n++)i.push(Os[n],t[Os[n]]);return i.t=e,i},"_getState"),vd=a(function(e,r,t){for(var i=[],n=e.length,o=t?8:0,s;o<n;o+=2)s=e[o],i.push(s,s in r?r[s]:e[o+1]);return i.t=e.t,i},"_copyState"),Ds={left:0,top:0},Ac=a(function(e,r,t,i,n,o,s,f,c,h,d,g,u,m){Ut(e)&&(e=e(f)),vr(e)&&e.substr(0,3)==="max"&&(e=g+(e.charAt(4)==="="?Ms("0"+e.substr(3),t):0));var p=u?u.time():0,_,y,v;if(u&&u.seek(0),isNaN(e)||(e=+e),vo(e))u&&(e=ne.utils.mapRange(u.scrollTrigger.start,u.scrollTrigger.end,0,g,e)),s&&Ps(s,t,i,true);else {Ut(r)&&(r=r(f));var b=(e||"0").split(" "),w,x,P,S;v=er(r,f)||je,w=ni(v)||{},(!w||!w.left&&!w.top)&&Mr(v).display==="none"&&(S=v.style.display,v.style.display="block",w=ni(v),S?v.style.display=S:v.style.removeProperty("display")),x=Ms(b[0],w[i.d]),P=Ms(b[1]||"0",t),e=w[i.p]-c[i.p]-h+x+n-P,s&&Ps(s,P,i,t-P<20||s._isStart&&P>20),t-=t-P;}if(m&&(f[m]=e||-1e-3,e<0&&(e=0)),o){var C=e+t,L=o._isStart;_="scroll"+i.d2,Ps(o,C,i,L&&C>20||!L&&(d?Math.max(je[_],xr[_]):o.parentNode[_])<=C+1),d&&(c=ni(s),d&&(o.style[i.op.p]=c[i.op.p]-i.op.m-o._offset+wt));}return u&&v&&(_=ni(v),u.seek(g),y=ni(v),u._caScrollDist=_[i.p]-y[i.p],e=e/u._caScrollDist*g),u&&u.seek(p),u?e:Math.round(e)},"_parsePosition"),xd=/(webkit|moz|length|cssText|inset)/i,Rc=a(function(e,r,t,i){if(e.parentNode!==r){var n=e.style,o,s;if(r===je){e._stOrig=n.cssText,s=Mr(e);for(o in s)!+o&&!xd.test(o)&&s[o]&&typeof n[o]=="string"&&o!=="0"&&(n[o]=s[o]);n.top=t,n.left=i;}else n.cssText=e._stOrig;ne.core.getCache(e).uncache=1,r.appendChild(e);}},"_reparent"),tf=a(function(e,r,t){var i=r,n=i;return function(o){var s=Math.round(e());return s!==i&&s!==n&&Math.abs(s-i)>3&&Math.abs(s-n)>3&&(o=s,t&&t()),n=i,i=Math.round(o),i}},"_interruptionTracker"),ks=a(function(e,r,t){var i={};i[r.p]="+="+t,ne.set(e,i);},"_shiftMarker"),Nc=a(function(e,r){var t=ri(e,r),i="_scroll"+r.p2,n=a(function o(s,f,c,h,d){var g=o.tween,u=f.onComplete,m={};c=c||t();var p=tf(t,c,function(){g.kill(),o.tween=0;});return d=h&&d||0,h=h||s-c,g&&g.kill(),f[i]=s,f.inherit=false,f.modifiers=m,m[i]=function(){return p(c+h*g.ratio+d*g.ratio*g.ratio)},f.onUpdate=function(){Oe.cache++,o.tween&&oi();},f.onComplete=function(){o.tween=0,u&&u.call(g);},g=o.tween=ne.to(e,f),g},"getTween");return e[i]=t,t.wheelHandler=function(){return n.tween&&n.tween.kill()&&(n.tween=0)},kt(e,"wheel",t.wheelHandler),U.isTouch&&kt(e,"touchmove",t.wheelHandler),n},"_getTweenCreator"),U=(function(){function l(r,t){Cn||l.register(ne)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),cl(this),this.init(r,t);}a(l,"ScrollTrigger");var e=l.prototype;return e.init=a(function(t,i){if(this.progress=this.start=0,this.vars&&this.kill(true,true),!_o){this.update=this.refresh=this.kill=Gr;return}t=Mc(vr(t)||vo(t)||t.nodeType?{trigger:t}:t,Ts);var n=t,o=n.onUpdate,s=n.toggleClass,f=n.id,c=n.onToggle,h=n.onRefresh,d=n.scrub,g=n.trigger,u=n.pin,m=n.pinSpacing,p=n.invalidateOnRefresh,_=n.anticipatePin,y=n.onScrubComplete,v=n.onSnapComplete,b=n.once,w=n.snap,x=n.pinReparent,P=n.pinSpacer,S=n.containerAnimation,C=n.fastScrollEnd,L=n.preventOverlaps,M=t.horizontal||t.containerAnimation&&t.horizontal!==false?Vt:mt,N=!d&&d!==0,A=er(t.scroller||Ae),H=ne.core.getCache(A),F=en(A),B=("pinType"in t?t.pinType:ii(A,"pinType")||F&&"fixed")==="fixed",$=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],j=N&&t.toggleActions.split(" "),ae="markers"in t?t.markers:Ts.markers,re=F?0:parseFloat(Mr(A)["border"+M.p2+On])||0,E=this,Q=t.onRefreshInit&&function(){return t.onRefreshInit(E)},Z=cd(A,F,M),pe=fd(A,F),ee=0,ue=0,ce=0,Le=ri(A,M),ye,Ze,Te,Re,qe,se,fe,he,ut,O,He,G,D,q,X,ge,xe,ke,We,ve,Ge,Ye,Ce,pt,ie,Tr,Ct,St,$t,or,Mt,_e,Ht,Ue,Ie,Je,It,te,T;if(E._startClamp=E._endClamp=false,E._dir=M,_*=45,E.scroller=A,E.scroll=S?S.time.bind(S):Le,Re=Le(),E.vars=t,i=i||t.animation,"refreshPriority"in t&&(Fc=1,t.refreshPriority===-9999&&(Co=E)),H.tweenScroll=H.tweenScroll||{top:Nc(A,mt),left:Nc(A,Vt)},E.tweenTo=ye=H.tweenScroll[M.p],E.scrubDuration=function(z){Ht=vo(z)&&z,Ht?_e?_e.duration(z):_e=ne.to(i,{ease:"expo",totalProgress:"+=0",inherit:false,duration:Ht,paused:true,onComplete:a(function(){return y&&y(E)},"onComplete")}):(_e&&_e.progress(1).kill(),_e=0);},i&&(i.vars.lazy=false,i._initted&&!E.isReverted||i.vars.immediateRender!==false&&t.immediateRender!==false&&i.duration()&&i.render(0,true,true),E.animation=i.pause(),i.scrollTrigger=E,E.scrubDuration(d),or=0,f||(f=i.vars.id)),w&&((!$i(w)||w.push)&&(w={snapTo:w}),"scrollBehavior"in je.style&&ne.set(F?[je,xr]:A,{scrollBehavior:"auto"}),Oe.forEach(function(z){return Ut(z)&&z.target===(F?Qe.scrollingElement||xr:A)&&(z.smooth=false)}),Te=Ut(w.snapTo)?w.snapTo:w.snapTo==="labels"?pd(i):w.snapTo==="labelsDirectional"?dd(i):w.directional!==false?function(z,K){return wl(w.snapTo)(z,Gt()-ue<500?0:K.direction)}:ne.utils.snap(w.snapTo),Ue=w.duration||{min:.1,max:2},Ue=$i(Ue)?wo(Ue.min,Ue.max):wo(Ue,Ue),Ie=ne.delayedCall(w.delay||Ht/2||.1,function(){var z=Le(),K=Gt()-ue<500,W=ye.tween;if((K||Math.abs(E.getVelocity())<10)&&!W&&!zs&&ee!==z){var J=(z-se)/q,me=i&&!N?i.totalProgress():J,oe=K?0:(me-Mt)/(Gt()-mo)*1e3||0,Ee=ne.utils.clamp(-J,1-J,En(oe/2)*oe/.185),Xe=J+(w.inertia===false?0:Ee),Ve,Ne,ze=w,Ke=ze.onStart,Se=ze.onInterrupt,Pt=ze.onComplete;if(Ve=Te(Xe,E),vo(Ve)||(Ve=Xe),Ne=Math.max(0,Math.round(se+Ve*q)),z<=fe&&z>=se&&Ne!==z){if(W&&!W._initted&&W.data<=En(Ne-z))return;w.inertia===false&&(Ee=Ve-J),ye(Ne,{duration:Ue(En(Math.max(En(Xe-me),En(Ve-me))*.185/oe/.05||0)),ease:w.ease||"power3",data:En(Ne-z),onInterrupt:a(function(){return Ie.restart(true)&&Se&&Sn(E,Se)},"onInterrupt"),onComplete:a(function(){E.update(),ee=Le(),i&&!N&&(_e?_e.resetTo("totalProgress",Ve,i._tTime/i._tDur):i.progress(Ve)),or=Mt=i&&!N?i.totalProgress():E.progress,v&&v(E),Pt&&Sn(E,Pt);},"onComplete")},z,Ee*q,Ne-z-Ee*q),Ke&&Sn(E,Ke,ye.tween);}}else E.isActive&&ee!==z&&Ie.restart(true);}).pause()),f&&(hl[f]=E),g=E.trigger=er(g||u!==true&&u),T=g&&g._gsap&&g._gsap.stRevert,T&&(T=T(E)),u=u===true?g:er(u),vr(s)&&(s={targets:g,className:s}),u&&(m===false||m===Cr||(m=!m&&u.parentNode&&u.parentNode.style&&Mr(u.parentNode).display==="flex"?false:_t),E.pin=u,Ze=ne.core.getCache(u),Ze.spacer?X=Ze.pinState:(P&&(P=er(P),P&&!P.nodeType&&(P=P.current||P.nativeElement),Ze.spacerIsNative=!!P,P&&(Ze.spacerState=Es(P))),Ze.spacer=ke=P||Qe.createElement("div"),ke.classList.add("pin-spacer"),f&&ke.classList.add("pin-spacer-"+f),Ze.pinState=X=Es(u)),t.force3D!==false&&ne.set(u,{force3D:true}),E.spacer=ke=Ze.spacer,$t=Mr(u),pt=$t[m+M.os2],ve=ne.getProperty(u),Ge=ne.quickSetter(u,M.a,wt),sl(u,ke,$t),xe=Es(u)),ae){G=$i(ae)?Mc(ae,Pc):Pc,O=Ss("scroller-start",f,A,M,G,0),He=Ss("scroller-end",f,A,M,G,0,O),We=O["offset"+M.op.d2];var Y=er(ii(A,"content")||A);he=this.markerStart=Ss("start",f,Y,M,G,We,0,S),ut=this.markerEnd=Ss("end",f,Y,M,G,We,0,S),S&&(te=ne.quickSetter([he,ut],M.a,wt)),!B&&!(Rr.length&&ii(A,"fixedMarkers")===true)&&(hd(F?je:A),ne.set([O,He],{force3D:true}),Tr=ne.quickSetter(O,M.a,wt),St=ne.quickSetter(He,M.a,wt));}if(S){var k=S.vars.onUpdate,R=S.vars.onUpdateParams;S.eventCallback("onUpdate",function(){E.update(0,0,1),k&&k.apply(S,R||[]);});}if(E.previous=function(){return De[De.indexOf(E)-1]},E.next=function(){return De[De.indexOf(E)+1]},E.revert=function(z,K){if(!K)return E.kill(true);var W=z!==false||!E.enabled,J=qt;W!==E.isReverted&&(W&&(Je=Math.max(Le(),E.scroll.rec||0),ce=E.progress,It=i&&i.progress()),he&&[he,ut,O,He].forEach(function(me){return me.style.display=W?"none":"block"}),W&&(qt=E,E.update(W)),u&&(!x||!E.isActive)&&(W?_d(u,ke,X):sl(u,ke,Mr(u),ie)),W||E.update(W),qt=J,E.isReverted=W);},E.refresh=function(z,K,W,J){if(!((qt||!E.enabled)&&!K)){if(u&&z&&Pr){kt(l,"scrollEnd",Kc);return}!ir&&Q&&Q(E),qt=E,ye.tween&&!W&&(ye.tween.kill(),ye.tween=0),_e&&_e.pause(),p&&i&&(i.revert({kill:false}).invalidate(),i.getChildren?i.getChildren(true,true,false).forEach(function(di){return di.vars.immediateRender&&di.render(0,true,true)}):i.vars.immediateRender&&i.render(0,true,true)),E.isReverted||E.revert(true,true),E._subPinOffset=false;var me=Z(),oe=pe(),Ee=S?S.duration():Ur(A,M),Xe=q<=.01||!q,Ve=0,Ne=J||0,ze=$i(W)?W.end:t.end,Ke=t.endTrigger||g,Se=$i(W)?W.start:t.start||(t.start===0||!g?0:u?"0 0":"0 100%"),Pt=E.pinnedContainer=t.pinnedContainer&&er(t.pinnedContainer,E),nt=g&&Math.max(0,De.indexOf(E))||0,Lt=nt,Ot,Ft,Hi,jo,Bt,vt,Br,aa,su,$n,Yr,Kn,$o;for(ae&&$i(W)&&(Kn=ne.getProperty(O,M.p),$o=ne.getProperty(He,M.p));Lt-- >0;)vt=De[Lt],vt.end||vt.refresh(0,1)||(qt=E),Br=vt.pin,Br&&(Br===g||Br===u||Br===Pt)&&!vt.isReverted&&($n||($n=[]),$n.unshift(vt),vt.revert(true,true)),vt!==De[Lt]&&(nt--,Lt--);for(Ut(Se)&&(Se=Se(E)),Se=Sc(Se,"start",E),se=Ac(Se,g,me,M,Le(),he,O,E,oe,re,B,Ee,S,E._startClamp&&"_startClamp")||(u?-1e-3:0),Ut(ze)&&(ze=ze(E)),vr(ze)&&!ze.indexOf("+=")&&(~ze.indexOf(" ")?ze=(vr(Se)?Se.split(" ")[0]:"")+ze:(Ve=Ms(ze.substr(2),me),ze=vr(Se)?Se:(S?ne.utils.mapRange(0,S.duration(),S.scrollTrigger.start,S.scrollTrigger.end,se):se)+Ve,Ke=g)),ze=Sc(ze,"end",E),fe=Math.max(se,Ac(ze||(Ke?"100% 0":Ee),Ke,me,M,Le()+Ve,ut,He,E,oe,re,B,Ee,S,E._endClamp&&"_endClamp"))||-1e-3,Ve=0,Lt=nt;Lt--;)vt=De[Lt]||{},Br=vt.pin,Br&&vt.start-vt._pinPush<=se&&!S&&vt.end>0&&(Ot=vt.end-(E._startClamp?Math.max(0,vt.start):vt.start),(Br===g&&vt.start-vt._pinPush<se||Br===Pt)&&isNaN(Se)&&(Ve+=Ot*(1-vt.progress)),Br===u&&(Ne+=Ot));if(se+=Ve,fe+=Ve,E._startClamp&&(E._startClamp+=Ve),E._endClamp&&!ir&&(E._endClamp=fe||-1e-3,fe=Math.min(fe,Ur(A,M))),q=fe-se||(se-=.01)&&.001,Xe&&(ce=ne.utils.clamp(0,1,ne.utils.normalize(se,fe,Je))),E._pinPush=Ne,he&&Ve&&(Ot={},Ot[M.a]="+="+Ve,Pt&&(Ot[M.p]="-="+Le()),ne.set([he,ut],Ot)),u&&!(fl&&E.end>=Ur(A,M)))Ot=Mr(u),jo=M===mt,Hi=Le(),Ye=parseFloat(ve(M.a))+Ne,!Ee&&fe>1&&(Yr=(F?Qe.scrollingElement||xr:A).style,Yr={style:Yr,value:Yr["overflow"+M.a.toUpperCase()]},F&&Mr(je)["overflow"+M.a.toUpperCase()]!=="scroll"&&(Yr.style["overflow"+M.a.toUpperCase()]="scroll")),sl(u,ke,Ot),xe=Es(u),Ft=ni(u,true),aa=B&&ri(A,jo?Vt:mt)(),m?(ie=[m+M.os2,q+Ne+wt],ie.t=ke,Lt=m===_t?Rs(u,M)+q+Ne:0,Lt&&(ie.push(M.d,Lt+wt),ke.style.flexBasis!=="auto"&&(ke.style.flexBasis=Lt+wt)),Ln(ie),Pt&&De.forEach(function(di){di.pin===Pt&&di.vars.pinSpacing!==false&&(di._subPinOffset=true);}),B&&Le(Je)):(Lt=Rs(u,M),Lt&&ke.style.flexBasis!=="auto"&&(ke.style.flexBasis=Lt+wt)),B&&(Bt={top:Ft.top+(jo?Hi-se:aa)+wt,left:Ft.left+(jo?aa:Hi-se)+wt,boxSizing:"border-box",position:"fixed"},Bt[Qi]=Bt["max"+On]=Math.ceil(Ft.width)+wt,Bt[Zi]=Bt["max"+xl]=Math.ceil(Ft.height)+wt,Bt[Cr]=Bt[Cr+Eo]=Bt[Cr+To]=Bt[Cr+ko]=Bt[Cr+So]="0",Bt[_t]=Ot[_t],Bt[_t+Eo]=Ot[_t+Eo],Bt[_t+To]=Ot[_t+To],Bt[_t+ko]=Ot[_t+ko],Bt[_t+So]=Ot[_t+So],ge=vd(X,Bt,x),ir&&Le(0)),i?(su=i._initted,rl(1),i.render(i.duration(),true,true),Ce=ve(M.a)-Ye+q+Ne,Ct=Math.abs(q-Ce)>1,B&&Ct&&ge.splice(ge.length-2,2),i.render(0,true,true),su||i.invalidate(true),i.parent||i.totalTime(i.totalTime()),rl(0)):Ce=q,Yr&&(Yr.value?Yr.style["overflow"+M.a.toUpperCase()]=Yr.value:Yr.style.removeProperty("overflow-"+M.a));else if(g&&Le()&&!S)for(Ft=g.parentNode;Ft&&Ft!==je;)Ft._pinOffset&&(se-=Ft._pinOffset,fe-=Ft._pinOffset),Ft=Ft.parentNode;$n&&$n.forEach(function(di){return di.revert(false,true)}),E.start=se,E.end=fe,Re=qe=ir?Je:Le(),!S&&!ir&&(Re<Je&&Le(Je),E.scroll.rec=0),E.revert(false,true),ue=Gt(),Ie&&(ee=-1,Ie.restart(true)),qt=0,i&&N&&(i._initted||It)&&i.progress()!==It&&i.progress(It||0,true).render(i.time(),true,true),(Xe||ce!==E.progress||S||p||i&&!i._initted)&&(i&&!N&&(i._initted||ce||i.vars.immediateRender!==false)&&i.totalProgress(S&&se<-1e-3&&!ce?ne.utils.normalize(se,fe,0):ce,true),E.progress=Xe||(Re-se)/q===ce?0:ce),u&&m&&(ke._pinOffset=Math.round(E.progress*Ce)),_e&&_e.invalidate(),isNaN(Kn)||(Kn-=ne.getProperty(O,M.p),$o-=ne.getProperty(He,M.p),ks(O,M,Kn),ks(he,M,Kn-(J||0)),ks(He,M,$o),ks(ut,M,$o-(J||0))),Xe&&!ir&&E.update(),h&&!ir&&!D&&(D=true,h(E),D=false);}},E.getVelocity=function(){return (Le()-qe)/(Gt()-mo)*1e3||0},E.endAnimation=function(){go(E.callbackAnimation),i&&(_e?_e.progress(1):i.paused()?N||go(i,E.direction<0,1):go(i,i.reversed()));},E.labelToScroll=function(z){return i&&i.labels&&(se||E.refresh()||se)+i.labels[z]/i.duration()*q||0},E.getTrailing=function(z){var K=De.indexOf(E),W=E.direction>0?De.slice(0,K).reverse():De.slice(K+1);return (vr(z)?W.filter(function(J){return J.vars.preventOverlaps===z}):W).filter(function(J){return E.direction>0?J.end<=se:J.start>=fe})},E.update=function(z,K,W){if(!(S&&!W&&!z)){var J=ir===true?Je:E.scroll(),me=z?0:(J-se)/q,oe=me<0?0:me>1?1:me||0,Ee=E.progress,Xe,Ve,Ne,ze,Ke,Se,Pt,nt;if(K&&(qe=Re,Re=S?Le():J,w&&(Mt=or,or=i&&!N?i.totalProgress():oe)),_&&u&&!qt&&!vs&&Pr&&(!oe&&se<J+(J-qe)/(Gt()-mo)*_?oe=1e-4:oe===1&&fe>J+(J-qe)/(Gt()-mo)*_&&(oe=.9999)),oe!==Ee&&E.enabled){if(Xe=E.isActive=!!oe&&oe<1,Ve=!!Ee&&Ee<1,Se=Xe!==Ve,Ke=Se||!!oe!=!!Ee,E.direction=oe>Ee?1:-1,E.progress=oe,Ke&&!qt&&(Ne=oe&&!Ee?0:oe===1?1:Ee===1?2:3,N&&(ze=!Se&&j[Ne+1]!=="none"&&j[Ne+1]||j[Ne],nt=i&&(ze==="complete"||ze==="reset"||ze in i))),L&&(Se||nt)&&(nt||d||!i)&&(Ut(L)?L(E):E.getTrailing(L).forEach(function(Hi){return Hi.endAnimation()})),N||(_e&&!qt&&!vs?(_e._dp._time-_e._start!==_e._time&&_e.render(_e._dp._time-_e._start),_e.resetTo?_e.resetTo("totalProgress",oe,i._tTime/i._tDur):(_e.vars.totalProgress=oe,_e.invalidate().restart())):i&&i.totalProgress(oe,!!(qt&&(ue||z)))),u){if(z&&m&&(ke.style[m+M.os2]=pt),!B)Ge(yo(Ye+Ce*oe));else if(Ke){if(Pt=!z&&oe>Ee&&fe+1>J&&J+1>=Ur(A,M),x)if(!z&&(Xe||Pt)){var Lt=ni(u,true),Ot=J-se;Rc(u,je,Lt.top+(M===mt?Ot:0)+wt,Lt.left+(M===mt?0:Ot)+wt);}else Rc(u,ke);Ln(Xe||Pt?ge:xe),Ct&&oe<1&&Xe||Ge(Ye+(oe===1&&!Pt?Ce:0));}}w&&!ye.tween&&!qt&&!vs&&Ie.restart(true),s&&(Se||b&&oe&&(oe<1||!il))&&Mo(s.targets).forEach(function(Hi){return Hi.classList[Xe||b?"add":"remove"](s.className)}),o&&!N&&!z&&o(E),Ke&&!qt?(N&&(nt&&(ze==="complete"?i.pause().totalProgress(1):ze==="reset"?i.restart(true).pause():ze==="restart"?i.restart(true):i[ze]()),o&&o(E)),(Se||!il)&&(c&&Se&&Sn(E,c),$[Ne]&&Sn(E,$[Ne]),b&&(oe===1?E.kill(false,1):$[Ne]=0),Se||(Ne=oe===1?1:3,$[Ne]&&Sn(E,$[Ne]))),C&&!Xe&&Math.abs(E.getVelocity())>(vo(C)?C:2500)&&(go(E.callbackAnimation),_e?_e.progress(1):go(i,ze==="reverse"?1:!oe,1))):N&&o&&!qt&&o(E);}if(St){var Ft=S?J/S.duration()*(S._caScrollDist||0):J;Tr(Ft+(O._isFlipped?1:0)),St(Ft);}te&&te(-J/S.duration()*(S._caScrollDist||0));}},E.enable=function(z,K){E.enabled||(E.enabled=true,kt(A,"resize",xo),F||kt(A,"scroll",kn),Q&&kt(l,"refreshInit",Q),z!==false&&(E.progress=ce=0,Re=qe=ee=Le()),K!==false&&E.refresh());},E.getTween=function(z){return z&&ye?ye.tween:_e},E.setPositions=function(z,K,W,J){if(S){var me=S.scrollTrigger,oe=S.duration(),Ee=me.end-me.start;z=me.start+Ee*z/oe,K=me.start+Ee*K/oe;}E.refresh(false,false,{start:Ec(z,W&&!!E._startClamp),end:Ec(K,W&&!!E._endClamp)},J),E.update();},E.adjustPinSpacing=function(z){if(ie&&z){var K=ie.indexOf(M.d)+1;ie[K]=parseFloat(ie[K])+z+wt,ie[1]=parseFloat(ie[1])+z+wt,Ln(ie);}},E.disable=function(z,K){if(z!==false&&E.revert(true,true),E.enabled&&(E.enabled=E.isActive=false,K||_e&&_e.pause(),Je=0,Ze&&(Ze.uncache=1),Q&&Et(l,"refreshInit",Q),Ie&&(Ie.pause(),ye.tween&&ye.tween.kill()&&(ye.tween=0)),!F)){for(var W=De.length;W--;)if(De[W].scroller===A&&De[W]!==E)return;Et(A,"resize",xo),F||Et(A,"scroll",kn);}},E.kill=function(z,K){E.disable(z,K),_e&&!K&&_e.kill(),f&&delete hl[f];var W=De.indexOf(E);W>=0&&De.splice(W,1),W===rr&&Ls>0&&rr--,W=0,De.forEach(function(J){return J.scroller===E.scroller&&(W=1)}),W||ir||(E.scroll.rec=0),i&&(i.scrollTrigger=null,z&&i.revert({kill:false}),K||i.kill()),he&&[he,ut,O,He].forEach(function(J){return J.parentNode&&J.parentNode.removeChild(J)}),Co===E&&(Co=0),u&&(Ze&&(Ze.uncache=1),W=0,De.forEach(function(J){return J.pin===u&&W++}),W||(Ze.spacer=0)),t.onKill&&t.onKill(E);},De.push(E),E.enable(false,false),T&&T(E),i&&i.add&&!q){var V=E.update;E.update=function(){E.update=V,Oe.cache++,se||fe||E.refresh();},ne.delayedCall(.01,E.update),q=.01,se=fe=0;}else E.refresh();u&&md();},"init"),l.register=a(function(t){return Cn||(ne=t||Vc(),Wc()&&window.document&&l.enable(),Cn=_o),Cn},"register"),l.defaults=a(function(t){if(t)for(var i in t)Ts[i]=t[i];return Ts},"defaults"),l.disable=a(function(t,i){_o=0,De.forEach(function(o){return o[i?"kill":"disable"](t)}),Et(Ae,"wheel",kn),Et(Qe,"scroll",kn),clearInterval(ys),Et(Qe,"touchcancel",Gr),Et(je,"touchstart",Gr),ws(Et,Qe,"pointerdown,touchstart,mousedown",kc),ws(Et,Qe,"pointerup,touchend,mouseup",Cc),As.kill(),xs(Et);for(var n=0;n<Oe.length;n+=3)bs(Et,Oe[n],Oe[n+1]),bs(Et,Oe[n],Oe[n+2]);},"disable"),l.enable=a(function(){if(Ae=window,Qe=document,xr=Qe.documentElement,je=Qe.body,ne){if(Mo=ne.utils.toArray,wo=ne.utils.clamp,cl=ne.core.context||Gr,rl=ne.core.suppressOverwrites||Gr,ml=Ae.history.scrollRestoration||"auto",pl=Ae.pageYOffset||0,ne.core.globals("ScrollTrigger",l),je){_o=1,Pn=document.createElement("div"),Pn.style.height="100vh",Pn.style.position="absolute",ef(),ud(),ht.register(ne),l.isTouch=ht.isTouch,ki=ht.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),ul=ht.isTouch===1,kt(Ae,"wheel",kn),gl=[Ae,Qe,xr,je],ne.matchMedia?(l.matchMedia=function(h){var d=ne.matchMedia(),g;for(g in h)d.add(g,h[g]);return d},ne.addEventListener("matchMediaInit",function(){Zc(),bl();}),ne.addEventListener("matchMediaRevert",function(){return Qc()}),ne.addEventListener("matchMedia",function(){Ki(0,1),rn("matchMedia");}),ne.matchMedia().add("(orientation: portrait)",function(){return ol(),ol})):console.warn("Requires GSAP 3.11.0 or later"),ol(),kt(Qe,"scroll",kn);var t=je.hasAttribute("style"),i=je.style,n=i.borderTopStyle,o=ne.core.Animation.prototype,s,f;for(o.revert||Object.defineProperty(o,"revert",{value:a(function(){return this.time(-0.01,true)},"value")}),i.borderTopStyle="solid",s=ni(je),mt.m=Math.round(s.top+mt.sc())||0,Vt.m=Math.round(s.left+Vt.sc())||0,n?i.borderTopStyle=n:i.removeProperty("border-top-style"),t||(je.setAttribute("style",""),je.removeAttribute("style")),ys=setInterval(Lc,250),ne.delayedCall(.5,function(){return vs=0}),kt(Qe,"touchcancel",Gr),kt(je,"touchstart",Gr),ws(kt,Qe,"pointerdown,touchstart,mousedown",kc),ws(kt,Qe,"pointerup,touchend,mouseup",Cc),ll=ne.utils.checkPrefix("transform"),Os.push(ll),Cn=Gt(),As=ne.delayedCall(.2,Ki).pause(),Mn=[Qe,"visibilitychange",function(){var h=Ae.innerWidth,d=Ae.innerHeight;Qe.hidden?(bc=h,Tc=d):(bc!==h||Tc!==d)&&xo();},Qe,"DOMContentLoaded",Ki,Ae,"load",Ki,Ae,"resize",xo],xs(kt),De.forEach(function(h){return h.enable(0,1)}),f=0;f<Oe.length;f+=3)bs(Et,Oe[f],Oe[f+1]),bs(Et,Oe[f],Oe[f+2]);}else if(Qe){var c=a(function h(){l.enable(),Qe.removeEventListener("DOMContentLoaded",h);},"onLoad");Qe.addEventListener("DOMContentLoaded",c);}}},"enable"),l.config=a(function(t){"limitCallbacks"in t&&(il=!!t.limitCallbacks);var i=t.syncInterval;i&&clearInterval(ys)||(ys=i)&&setInterval(Lc,i),"ignoreMobileResize"in t&&(ul=l.isTouch===1&&t.ignoreMobileResize),"autoRefreshEvents"in t&&(xs(Et)||xs(kt,t.autoRefreshEvents||"none"),Bc=(t.autoRefreshEvents+"").indexOf("resize")===-1);},"config"),l.scrollerProxy=a(function(t,i){var n=er(t),o=Oe.indexOf(n),s=en(n);~o&&Oe.splice(o,s?6:2),i&&(s?Rr.unshift(Ae,i,je,i,xr,i):Rr.unshift(n,i));},"scrollerProxy"),l.clearMatchMedia=a(function(t){De.forEach(function(i){return i._ctx&&i._ctx.query===t&&i._ctx.kill(true,true)});},"clearMatchMedia"),l.isInViewport=a(function(t,i,n){var o=(vr(t)?er(t):t).getBoundingClientRect(),s=o[n?Qi:Zi]*i||0;return n?o.right-s>0&&o.left+s<Ae.innerWidth:o.bottom-s>0&&o.top+s<Ae.innerHeight},"isInViewport"),l.positionInViewport=a(function(t,i,n){vr(t)&&(t=er(t));var o=t.getBoundingClientRect(),s=o[n?Qi:Zi],f=i==null?s/2:i in Ns?Ns[i]*s:~i.indexOf("%")?parseFloat(i)*s/100:parseFloat(i)||0;return n?(o.left+f)/Ae.innerWidth:(o.top+f)/Ae.innerHeight},"positionInViewport"),l.killAll=a(function(t){if(De.slice(0).forEach(function(n){return n.vars.id!=="ScrollSmoother"&&n.kill()}),t!==true){var i=tn.killAll||[];tn={},i.forEach(function(n){return n()});}},"killAll"),l})();U.version="3.15.0";U.saveStyles=function(l){return l?Mo(l).forEach(function(e){if(e&&e.style){var r=yr.indexOf(e);r>=0&&yr.splice(r,5),yr.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),ne.core.getCache(e),cl());}}):yr};U.revert=function(l,e){return bl(!l,e)};U.create=function(l,e){return new U(l,e)};U.refresh=function(l){return l?xo(true):(Cn||U.register())&&Ki(true)};U.update=function(l){return ++Oe.cache&&oi(l===true?2:0)};U.clearScrollMemory=Jc;U.maxScroll=function(l,e){return Ur(l,e?Vt:mt)};U.getScrollFunc=function(l,e){return ri(er(l),e?Vt:mt)};U.getById=function(l){return hl[l]};U.getAll=function(){return De.filter(function(l){return l.vars.id!=="ScrollSmoother"})};U.isScrolling=function(){return !!Pr};U.snapDirectional=wl;U.addEventListener=function(l,e){var r=tn[l]||(tn[l]=[]);~r.indexOf(e)||r.push(e);};U.removeEventListener=function(l,e){var r=tn[l],t=r&&r.indexOf(e);t>=0&&r.splice(t,1);};U.batch=function(l,e){var r=[],t={},i=e.interval||.016,n=e.batchMax||1e9,o=a(function(c,h){var d=[],g=[],u=ne.delayedCall(i,function(){h(d,g),d=[],g=[];}).pause();return function(m){d.length||u.restart(true),d.push(m.trigger),g.push(m),n<=d.length&&u.progress(1);}},"proxyCallback"),s;for(s in e)t[s]=s.substr(0,2)==="on"&&Ut(e[s])&&s!=="onRefreshInit"?o(s,e[s]):e[s];return Ut(n)&&(n=n(),kt(U,"refresh",function(){return n=e.batchMax()})),Mo(l).forEach(function(f){var c={};for(s in t)c[s]=t[s];c.trigger=f,r.push(U.create(c));}),r};var zc=a(function(e,r,t,i){return r>i?e(i):r<0&&e(0),t>i?(i-r)/(t-r):t<0?r/(r-t):1},"_clampScrollAndGetDurationMultiplier"),al=a(function l(e,r){r===true?e.style.removeProperty("touch-action"):e.style.touchAction=r===true?"auto":r?"pan-"+r+(ht.isTouch?" pinch-zoom":""):"none",e===xr&&l(je,r);},"_allowNativePanning"),Cs={auto:1,scroll:1},wd=a(function(e){var r=e.event,t=e.target,i=e.axis,n=(r.changedTouches?r.changedTouches[0]:r).target,o=n._gsap||ne.core.getCache(n),s=Gt(),f;if(!o._isScrollT||s-o._isScrollT>2e3){for(;n&&n!==je&&(n.scrollHeight<=n.clientHeight&&n.scrollWidth<=n.clientWidth||!(Cs[(f=Mr(n)).overflowY]||Cs[f.overflowX]));)n=n.parentNode;o._isScroll=n&&n!==t&&!en(n)&&(Cs[(f=Mr(n)).overflowY]||Cs[f.overflowX]),o._isScrollT=s;}(o._isScroll||i==="x")&&(r.stopPropagation(),r._gsapAllow=true);},"_nestedScroll"),rf=a(function(e,r,t,i){return ht.create({target:e,capture:true,debounce:false,lockAxis:true,type:r,onWheel:i=i&&wd,onPress:i,onDrag:i,onScroll:i,onEnable:a(function(){return t&&kt(Qe,ht.eventTypes[0],Ic,false,true)},"onEnable"),onDisable:a(function(){return Et(Qe,ht.eventTypes[0],Ic,true)},"onDisable")})},"_inputObserver"),bd=/(input|label|select|textarea)/i,Hc,Ic=a(function(e){var r=bd.test(e.target.tagName);(r||Hc)&&(e._gsapAllow=true,Hc=r);},"_captureInputs"),Td=a(function(e){$i(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=true,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var r=e,t=r.normalizeScrollX,i=r.momentum,n=r.allowNestedScroll,o=r.onRelease,s,f,c=er(e.target)||xr,h=ne.core.globals().ScrollSmoother,d=h&&h.get(),g=ki&&(e.content&&er(e.content)||d&&e.content!==false&&!d.smooth()&&d.content()),u=ri(c,mt),m=ri(c,Vt),p=1,_=(ht.isTouch&&Ae.visualViewport?Ae.visualViewport.scale*Ae.visualViewport.width:Ae.outerWidth)/Ae.innerWidth,y=0,v=Ut(i)?function(){return i(s)}:function(){return i||2.8},b,w,x=rf(c,e.type,true,n),P=a(function(){return w=false},"resumeTouchMove"),S=Gr,C=Gr,L=a(function(){f=Ur(c,mt),C=wo(ki?1:0,f),t&&(S=wo(0,Ur(c,Vt))),b=Ji;},"updateClamps"),M=a(function(){g._gsap.y=yo(parseFloat(g._gsap.y)+u.offset)+"px",g.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(g._gsap.y)+", 0, 1)",u.offset=u.cacheID=0;},"removeContentOffset"),N=a(function(){if(w){requestAnimationFrame(P);var ae=yo(s.deltaY/2),re=C(u.v-ae);if(g&&re!==u.v+u.offset){u.offset=re-u.v;var E=yo((parseFloat(g&&g._gsap.y)||0)-u.offset);g.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+E+", 0, 1)",g._gsap.y=E+"px",u.cacheID=Oe.cache,oi();}return true}u.offset&&M(),w=true;},"ignoreDrag"),A,H,F,B,$=a(function(){L(),A.isActive()&&A.vars.scrollY>f&&(u()>f?A.progress(1)&&u(f):A.resetTo("scrollY",f));},"onResize");return g&&ne.set(g,{y:"+=0"}),e.ignoreCheck=function(j){return ki&&j.type==="touchmove"&&N(j)||p>1.05&&j.type!=="touchstart"||s.isGesturing||j.touches&&j.touches.length>1},e.onPress=function(){w=false;var j=p;p=yo((Ae.visualViewport&&Ae.visualViewport.scale||1)/_),A.pause(),j!==p&&al(c,p>1.01?true:t?false:"x"),H=m(),F=u(),L(),b=Ji;},e.onRelease=e.onGestureStart=function(j,ae){if(u.offset&&M(),!ae)B.restart(true);else {Oe.cache++;var re=v(),E,Q;t&&(E=m(),Q=E+re*.05*-j.velocityX/.227,re*=zc(m,E,Q,Ur(c,Vt)),A.vars.scrollX=S(Q)),E=u(),Q=E+re*.05*-j.velocityY/.227,re*=zc(u,E,Q,Ur(c,mt)),A.vars.scrollY=C(Q),A.invalidate().duration(re).play(.01),(ki&&A.vars.scrollY>=f||E>=f-1)&&ne.to({},{onUpdate:$,duration:re});}o&&o(j);},e.onWheel=function(){A._ts&&A.pause(),Gt()-y>1e3&&(b=0,y=Gt());},e.onChange=function(j,ae,re,E,Q){if(Ji!==b&&L(),ae&&t&&m(S(E[2]===ae?H+(j.startX-j.x):m()+ae-E[1])),re){u.offset&&M();var Z=Q[2]===re,pe=Z?F+j.startY-j.y:u()+re-Q[1],ee=C(pe);Z&&pe!==ee&&(F+=ee-pe),u(ee);}(re||ae)&&oi();},e.onEnable=function(){al(c,t?false:"x"),U.addEventListener("refresh",$),kt(Ae,"resize",$),u.smooth&&(u.target.style.scrollBehavior="auto",u.smooth=m.smooth=false),x.enable();},e.onDisable=function(){al(c,true),Et(Ae,"resize",$),U.removeEventListener("refresh",$),x.kill();},e.lockAxis=e.lockAxis!==false,s=new ht(e),s.iOS=ki,ki&&!u()&&u(1),ki&&ne.ticker.add(Gr),B=s._dc,A=ne.to(s,{ease:"power4",paused:true,inherit:false,scrollX:t?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:tf(u,u(),function(){return A.pause()})},onUpdate:oi,onComplete:B.vars.onComplete}),s},"_getScrollNormalizer");U.sort=function(l){if(Ut(l))return De.sort(l);var e=Ae.pageYOffset||0;return U.getAll().forEach(function(r){return r._sortY=r.trigger?e+r.trigger.getBoundingClientRect().top:r.start+Ae.innerHeight}),De.sort(l||function(r,t){return (r.vars.refreshPriority||0)*-1e6+(r.vars.containerAnimation?1e6:r._sortY)-((t.vars.containerAnimation?1e6:t._sortY)+(t.vars.refreshPriority||0)*-1e6)})};U.observe=function(l){return new ht(l)};U.normalizeScroll=function(l){if(typeof l>"u")return tr;if(l===true&&tr)return tr.enable();if(l===false){tr&&tr.kill(),tr=l;return}var e=l instanceof ht?l:Td(l);return tr&&tr.target===e.target&&tr.kill(),en(e.target)&&(tr=e),e};U.core={_getVelocityProp:_s,_inputObserver:rf,_scrollers:Oe,_proxies:Rr,bridge:{ss:a(function(){Pr||rn("scrollStart"),Pr=Gt();},"ss"),ref:a(function(){return qt},"ref")}};Vc()&&ne.registerPlugin(U);var Lo,Oo,nf=typeof Symbol=="function"?Symbol():"_split",Sl,Sd=a(()=>Sl||Ci.register(window.gsap),"_initIfNecessary"),of=typeof Intl<"u"&&"Segmenter"in Intl?new Intl.Segmenter:0,Do=a(l=>l?typeof l=="string"?Do(document.querySelectorAll(l)):"length"in l?Array.from(l).reduce((e,r)=>(typeof r=="string"?e.push(...Do(r)):e.push(r),e),[]):[l]:[],"_toArray"),sf=a(l=>Do(l).filter(e=>e&&e.nodeType===1),"_elements"),El=[],Tl=a(function(){},"_context"),Ed={add:a(l=>l(),"add")},kd=/\s+/g,af=new RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.","gu"),Hs={left:0,top:0,width:0,height:0},Cd=a((l,e)=>{for(;++e<l.length&&l[e]===Hs;);return l[e]||Hs},"_findNextValidBounds"),lf=a(({element:l,html:e,ariaL:r,ariaH:t})=>{l.innerHTML=e,r?l.setAttribute("aria-label",r):l.removeAttribute("aria-label"),t?l.setAttribute("aria-hidden",t):l.removeAttribute("aria-hidden");},"_revertOriginal"),uf=a((l,e)=>{if(e){let r=new Set(l.join("").match(e)||El),t=l.length,i,n,o,s;if(r.size)for(;--t>-1;){n=l[t];for(o of r)if(o.startsWith(n)&&o.length>n.length){for(i=0,s=n;o.startsWith(s+=l[t+ ++i])&&s.length<o.length;);if(i&&s.length===o.length){l[t]=o,l.splice(t+1,i);break}}}}return l},"_stretchToFitSpecialChars"),cf=a(l=>window.getComputedStyle(l).display==="inline"&&(l.style.display="inline-block"),"_disallowInline"),Dn=a((l,e,r)=>e.insertBefore(typeof l=="string"?document.createTextNode(l):l,r),"_insertNodeBefore"),kl=a((l,e,r)=>{let t=e[l+"sClass"]||"",{tag:i="div",aria:n="auto",propIndex:o=false}=e,s=l==="line"?"block":"inline-block",f=t.indexOf("++")>-1,c=a(h=>{let d=document.createElement(i),g=r.length+1;return t&&(d.className=t+(f?" "+t+g:"")),o&&d.style.setProperty("--"+l,g+""),n!=="none"&&d.setAttribute("aria-hidden","true"),i!=="span"&&(d.style.position="relative",d.style.display=s),d.textContent=h,r.push(d),d},"wrapper");return f&&(t=t.replace("++","")),c.collection=r,c},"_getWrapper"),Md=a((l,e,r,t)=>{let i=kl("line",r,t),n=window.getComputedStyle(l).textAlign||"left";return (o,s)=>{let f=i("");for(f.style.textAlign=n,l.insertBefore(f,e[o]);o<s;o++)f.appendChild(e[o]);f.normalize();}},"_getLineWrapper"),ff=a((l,e,r,t,i,n,o,s,f,c)=>{var h;let d=Array.from(l.childNodes),g=0,{wordDelimiter:u,reduceWhiteSpace:m=true,prepareText:p}=e,_=l.getBoundingClientRect(),y=_,v=!m&&window.getComputedStyle(l).whiteSpace.substring(0,3)==="pre",b=0,w=r.collection,x,P,S,C,L,M,N,A,H,F,B,$,j,ae,re,E,Q,Z;for(typeof u=="object"?(S=u.delimiter||u,P=u.replaceWith||""):P=u===""?"":u||" ",x=P!==" ";g<d.length;g++)if(C=d[g],C.nodeType===3){for(re=C.textContent||"",m?re=re.replace(kd," "):v&&(re=re.replace(/\n/g,P+`
|
|
2
|
+
`)),p&&(re=p(re,l)),C.textContent=re,L=P||S?re.split(S||P):re.match(s)||El,Q=L[L.length-1],A=x?Q.slice(-1)===" ":!Q,Q||L.pop(),y=_,N=x?L[0].charAt(0)===" ":!L[0],N&&Dn(" ",l,C),L[0]||L.shift(),uf(L,f),n&&c||(C.textContent=""),H=1;H<=L.length;H++)if(E=L[H-1],!m&&v&&E.charAt(0)===`
|
|
3
|
+
`&&((h=C.previousSibling)==null||h.remove(),Dn(document.createElement("br"),l,C),E=E.slice(1)),!m&&E==="")Dn(P,l,C);else if(E===" ")l.insertBefore(document.createTextNode(" "),C);else {if(x&&E.charAt(0)===" "&&Dn(" ",l,C),b&&H===1&&!N&&w.indexOf(b.parentNode)>-1?(M=w[w.length-1],M.appendChild(document.createTextNode(t?"":E))):(M=r(t?"":E),Dn(M,l,C),b&&H===1&&!N&&M.insertBefore(b,M.firstChild)),t)for(B=of?uf([...of.segment(E)].map(pe=>pe.segment),f):E.match(s)||El,Z=0;Z<B.length;Z++)M.appendChild(B[Z]===" "?document.createTextNode(" "):t(B[Z]));if(n&&c){if(re=C.textContent=re.substring(E.length+1,re.length),F=M.getBoundingClientRect(),F.top>y.top&&F.left<=y.left){for($=l.cloneNode(),j=l.childNodes[0];j&&j!==M;)ae=j,j=j.nextSibling,$.appendChild(ae);l.parentNode.insertBefore($,l),i&&cf($);}y=F;}(H<L.length||A)&&Dn(H>=L.length?" ":x&&E.slice(-1)===" "?" "+P:P,l,C);}l.removeChild(C),b=0;}else C.nodeType===1&&(o&&o.indexOf(C)>-1?(w.indexOf(C.previousSibling)>-1&&w[w.length-1].appendChild(C),b=C):(ff(C,e,r,t,i,n,o,s,f,true),b=0),i&&cf(C));},"_splitWordsAndCharsRecursively"),nn,hf=(nn=class{constructor(e,r){this.isSplit=false,Sd(),this.elements=sf(e),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=r,this.elements.forEach(o=>{var s;r.overwrite!==false&&((s=o[nf])==null||s._data.orig.filter(({element:f})=>f===o).forEach(lf)),o[nf]=this;}),this._split=()=>this.isSplit&&this.split(this.vars);let t=[],i,n=a(()=>{let o=t.length,s;for(;o--;){s=t[o];let f=s.element.offsetWidth;if(f!==s.width){s.width=f,this._split();return}}},"checkWidths");this._data={orig:t,obs:typeof ResizeObserver<"u"&&new ResizeObserver(()=>{clearTimeout(i),i=setTimeout(n,200);})},Tl(this),this.split(r);}split(e){return (this._ctx||Ed).add(()=>{this.isSplit&&this.revert(),this.vars=e=e||this.vars||{};let{type:r="chars,words,lines",aria:t="auto",deepSlice:i=true,smartWrap:n,onSplit:o,autoSplit:s=false,specialChars:f,mask:c}=this.vars,h=r.indexOf("lines")>-1,d=r.indexOf("chars")>-1,g=r.indexOf("words")>-1,u=d&&!g&&!h,m=f&&("push"in f?new RegExp("(?:"+f.join("|")+")","gu"):f),p=m?new RegExp(m.source+"|"+af.source,"gu"):af,_=!!e.ignore&&sf(e.ignore),{orig:y,animTime:v,obs:b}=this._data,w;(d||g||h)&&(this.elements.forEach((x,P)=>{y[P]={element:x,html:x.innerHTML,ariaL:x.getAttribute("aria-label"),ariaH:x.getAttribute("aria-hidden")},t==="auto"?x.setAttribute("aria-label",(x.textContent||"").trim()):t==="hidden"&&x.setAttribute("aria-hidden","true");let S=[],C=[],L=[],M=d?kl("char",e,S):null,N=kl("word",e,C),A,H,F,B;if(ff(x,e,N,M,u,i&&(h||u),_,p,m,false),h){let $=Do(x.childNodes),j=Md(x,$,e,L),ae,re=[],E=0,Q=$.map(ee=>ee.nodeType===1?ee.getBoundingClientRect():Hs),Z=Hs,pe;for(A=0;A<$.length;A++)ae=$[A],ae.nodeType===1&&(ae.nodeName==="BR"?((!A||$[A-1].nodeName!=="BR")&&(re.push(ae),j(E,A+1)),E=A+1,Z=Cd(Q,A)):(pe=Q[A],A&&pe.top>Z.top&&pe.left<Z.left+Z.width-1&&(j(E,A),E=A),Z=pe));E<A&&j(E,A),re.forEach(ee=>{var ue;return (ue=ee.parentNode)==null?void 0:ue.removeChild(ee)});}if(!g){for(A=0;A<C.length;A++)if(H=C[A],d||!H.nextSibling||H.nextSibling.nodeType!==3)if(n&&!h){for(F=document.createElement("span"),F.style.whiteSpace="nowrap";H.firstChild;)F.appendChild(H.firstChild);H.replaceWith(F);}else H.replaceWith(...H.childNodes);else B=H.nextSibling,B&&B.nodeType===3&&(B.textContent=(H.textContent||"")+(B.textContent||""),H.remove());C.length=0,x.normalize();}this.lines.push(...L),this.words.push(...C),this.chars.push(...S);}),c&&this[c]&&this.masks.push(...this[c].map(x=>{let P=x.cloneNode();return x.replaceWith(P),P.appendChild(x),x.className&&(P.className=x.className.trim().split(" ").map(S=>S+"-mask").join(" ")),P.style.overflow="clip",P}))),this.isSplit=true,Oo&&h&&s&&Oo.addEventListener("loadingdone",this._split),(w=o&&o(this))&&w.totalTime&&(this._data.anim=v?w.totalTime(v):w),h&&s&&this.elements.forEach((x,P)=>{y[P].width=x.offsetWidth,b&&b.observe(x);});}),this}kill(){let{obs:e}=this._data;e&&e.disconnect(),Oo?.removeEventListener("loadingdone",this._split);}revert(){var e,r;if(this.isSplit){let{orig:t,anim:i}=this._data;this.kill(),t.forEach(lf),this.chars.length=this.words.length=this.lines.length=t.length=this.masks.length=0,this.isSplit=false,i&&(this._data.animTime=i.totalTime(),i.revert()),(r=(e=this.vars).onRevert)==null||r.call(e,this);}return this}static create(e,r){return new nn(e,r)}static register(e){Lo=Lo||e||window.gsap,Lo&&(Do=Lo.utils.toArray,Tl=Lo.core.context||Tl),!Sl&&window.innerWidth>0&&(Oo=document.fonts,Sl=true);}},a(nn,"_SplitText"),nn);hf.version="3.15.0";var Ci=hf;var si,on,Ll,Bs,Ao,Is,Fs,Ro,Nr="transform",Pl=Nr+"Origin",pf,Ys=a(function(e){var r=e.ownerDocument||e;for(!(Nr in e.style)&&("msTransform"in e.style)&&(Nr="msTransform",Pl=Nr+"Origin");r.parentNode&&(r=r.parentNode););if(on=window,Fs=new zr,r){si=r,Ll=r.documentElement,Bs=r.body,Ro=si.createElementNS("http://www.w3.org/2000/svg","g"),Ro.style.transform="none";var t=r.createElement("div"),i=r.createElement("div"),n=r&&(r.body||r.firstElementChild);n&&n.appendChild&&(n.appendChild(t),t.appendChild(i),t.style.position="static",t.style.transform="translate3d(0,0,1px)",pf=i.offsetParent!==t,n.removeChild(t));}return r},"_setDoc"),Pd=a(function(e){for(var r,t;e&&e!==Bs;)t=e._gsap,t&&t.uncache&&t.get(e,"x"),t&&!t.scaleX&&!t.scaleY&&t.renderTransform&&(t.scaleX=t.scaleY=1e-4,t.renderTransform(1,t),r?r.push(t):r=[t]),e=e.parentNode;return r},"_forceNonZeroScale"),df=[],gf=[],Xs=a(function(){return on.pageYOffset||si.scrollTop||Ll.scrollTop||Bs.scrollTop||0},"_getDocScrollTop"),Ws=a(function(){return on.pageXOffset||si.scrollLeft||Ll.scrollLeft||Bs.scrollLeft||0},"_getDocScrollLeft"),Ol=a(function(e){return e.ownerSVGElement||((e.tagName+"").toLowerCase()==="svg"?e:null)},"_svgOwner"),Ld=a(function l(e){if(on.getComputedStyle(e).position==="fixed")return true;if(e=e.parentNode,e&&e.nodeType===1)return l(e)},"_isFixed"),Cl=a(function l(e,r){if(e.parentNode&&(si||Ys(e))){var t=Ol(e),i=t?t.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",n=t?r?"rect":"g":"div",o=r!==2?0:100,s=r===3?100:0,f={position:"absolute",display:"block",pointerEvents:"none",margin:"0",padding:"0"},c=si.createElementNS?si.createElementNS(i.replace(/^https/,"http"),n):si.createElement(n);return r&&(t?(Is||(Is=l(e)),c.setAttribute("width",.01),c.setAttribute("height",.01),c.setAttribute("transform","translate("+o+","+s+")"),c.setAttribute("fill","transparent"),Is.appendChild(c)):(Ao||(Ao=l(e),Object.assign(Ao.style,f)),Object.assign(c.style,f,{width:"0.1px",height:"0.1px",top:s+"px",left:o+"px"}),Ao.appendChild(c))),c}throw "Need document and parent."},"_createSibling"),Od=a(function(e){for(var r=new zr,t=0;t<e.numberOfItems;t++)r.multiply(e.getItem(t).matrix);return r},"_consolidate"),Dl=a(function(e){var r=e.getCTM(),t;return r||(t=e.style[Nr],e.style[Nr]="none",e.appendChild(Ro),r=Ro.getCTM(),e.removeChild(Ro),t?e.style[Nr]=t:e.style.removeProperty(Nr.replace(/([A-Z])/g,"-$1").toLowerCase())),r||Fs.clone()},"_getCTM"),Dd=a(function(e,r){var t=Ol(e),i=e===t,n=t?df:gf,o=e.parentNode,s=o&&!t&&o.shadowRoot&&o.shadowRoot.appendChild?o.shadowRoot:o,f,c,h,d,g,u;if(e===on)return e;if(n.length||n.push(Cl(e,1),Cl(e,2),Cl(e,3)),f=t?Is:Ao,t)i?(h=Dl(e),d=-h.e/h.a,g=-h.f/h.d,c=Fs):e.getBBox?(h=e.getBBox(),c=e.transform?e.transform.baseVal:{},c=c.numberOfItems?c.numberOfItems>1?Od(c):c.getItem(0).matrix:Fs,d=c.a*h.x+c.c*h.y,g=c.b*h.x+c.d*h.y):(c=new zr,d=g=0),r&&e.tagName.toLowerCase()==="g"&&(d=g=0),(i||!e.getBoundingClientRect().width?t:o).appendChild(f),f.setAttribute("transform","matrix("+c.a+","+c.b+","+c.c+","+c.d+","+(c.e+d)+","+(c.f+g)+")");else {if(d=g=0,pf)for(c=e.offsetParent,h=e;h&&(h=h.parentNode)&&h!==c&&h.parentNode;)(on.getComputedStyle(h)[Nr]+"").length>4&&(d=h.offsetLeft,g=h.offsetTop,h=0);if(u=on.getComputedStyle(e),u.position!=="absolute"&&u.position!=="fixed")for(c=e.offsetParent;o&&o!==c;)d+=o.scrollLeft||0,g+=o.scrollTop||0,o=o.parentNode;h=f.style,h.top=e.offsetTop-g+"px",h.left=e.offsetLeft-d+"px",h[Nr]=u[Nr],h[Pl]=u[Pl],h.position=u.position==="fixed"?"fixed":"absolute",s.appendChild(f);}return f},"_placeSiblings"),Ml=a(function(e,r,t,i,n,o,s){return e.a=r,e.b=t,e.c=i,e.d=n,e.e=o,e.f=s,e},"_setMatrix"),zr=(function(){function l(r,t,i,n,o,s){r===void 0&&(r=1),t===void 0&&(t=0),i===void 0&&(i=0),n===void 0&&(n=1),o===void 0&&(o=0),s===void 0&&(s=0),Ml(this,r,t,i,n,o,s);}a(l,"Matrix2D");var e=l.prototype;return e.inverse=a(function(){var t=this.a,i=this.b,n=this.c,o=this.d,s=this.e,f=this.f,c=t*o-i*n||1e-10;return Ml(this,o/c,-i/c,-n/c,t/c,(n*f-o*s)/c,-(t*f-i*s)/c)},"inverse"),e.multiply=a(function(t){var i=this.a,n=this.b,o=this.c,s=this.d,f=this.e,c=this.f,h=t.a,d=t.c,g=t.b,u=t.d,m=t.e,p=t.f;return Ml(this,h*i+g*o,h*n+g*s,d*i+u*o,d*n+u*s,f+m*i+p*o,c+m*n+p*s)},"multiply"),e.clone=a(function(){return new l(this.a,this.b,this.c,this.d,this.e,this.f)},"clone"),e.equals=a(function(t){var i=this.a,n=this.b,o=this.c,s=this.d,f=this.e,c=this.f;return i===t.a&&n===t.b&&o===t.c&&s===t.d&&f===t.e&&c===t.f},"equals"),e.apply=a(function(t,i){i===void 0&&(i={});var n=t.x,o=t.y,s=this.a,f=this.b,c=this.c,h=this.d,d=this.e,g=this.f;return i.x=n*s+o*c+d||0,i.y=n*f+o*h+g||0,i},"apply"),l})();function bt(l,e,r,t){if(!l||!l.parentNode||(si||Ys(l)).documentElement===l)return new zr;var i=Pd(l),n=Ol(l),o=n?df:gf,s=Dd(l,r),f=o[0].getBoundingClientRect(),c=o[1].getBoundingClientRect(),h=o[2].getBoundingClientRect(),d=s.parentNode,g=!t&&Ld(l),u=new zr((c.left-f.left)/100,(c.top-f.top)/100,(h.left-f.left)/100,(h.top-f.top)/100,f.left+(g?0:Ws()),f.top+(g?0:Xs()));if(d.removeChild(s),i)for(f=i.length;f--;)c=i[f],c.scaleX=c.scaleY=0,c.renderTransform(1,c);return e?u.inverse():u}a(bt,"getGlobalMatrix");function mf(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}a(mf,"_assertThisInitialized");function Ad(l,e){l.prototype=Object.create(e.prototype),l.prototype.constructor=l,l.__proto__=e;}a(Ad,"_inheritsLoose");var Be,rt,br,Ir,ui,Al,li,Il,zo,Li,Cf,Fl,Yo,Wl,Ho,wr,Io,Gs,Mf,Bl,js=0,Pf=a(function(){return typeof window<"u"},"_windowExists"),Lf=a(function(){return Be||Pf()&&(Be=window.gsap)&&Be.registerPlugin&&Be},"_getGSAP"),Pi=a(function(e){return typeof e=="function"},"_isFunction"),Fo=a(function(e){return typeof e=="object"},"_isObject"),Hr=a(function(e){return typeof e>"u"},"_isUndefined"),Us=a(function(){return false},"_emptyFunc"),Bo="transform",Yl="transformOrigin",nr=a(function(e){return Math.round(e*1e4)/1e4},"_round"),No=Array.isArray,Vs=a(function(e,r){var t=br.createElementNS?br.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):br.createElement(e);return t.style?t:br.createElement(e)},"_createElement"),_f=180/Math.PI,sn=1e20,Rd=new zr,Mi=Date.now||function(){return new Date().getTime()},ln=[],Nn={},Nd=0,zd=/^(?:a|input|textarea|button|select)$/i,yf=0,An={},ai={},Of=a(function(e,r){var t={},i;for(i in e)t[i]=r?e[i]*r:e[i];return t},"_copy"),Hd=a(function(e,r){for(var t in r)t in e||(e[t]=r[t]);return e},"_extend"),vf=a(function l(e,r){for(var t=e.length,i;t--;)r?e[t].style.touchAction=r:e[t].style.removeProperty("touch-action"),i=e[t].children,i&&i.length&&l(i,r);},"_setTouchActionForAllDescendants"),Df=a(function(){return ln.forEach(function(e){return e()})},"_renderQueueTick"),Id=a(function(e){ln.push(e),ln.length===1&&Be.ticker.add(Df);},"_addToRenderQueue"),xf=a(function(){return !ln.length&&Be.ticker.remove(Df)},"_renderQueueTimeout"),wf=a(function(e){for(var r=ln.length;r--;)ln[r]===e&&ln.splice(r,1);Be.to(xf,{overwrite:true,delay:15,duration:0,onComplete:xf,data:"_draggable"});},"_removeFromRenderQueue"),Fd=a(function(e,r){for(var t in r)t in e||(e[t]=r[t]);return e},"_setDefaults"),Tt=a(function(e,r,t,i){if(e.addEventListener){var n=Yo[r];i=i||(Cf?{passive:false}:null),e.addEventListener(n||r,t,i),n&&r!==n&&e.addEventListener(r,t,i);}},"_addListener"),yt=a(function(e,r,t,i){if(e.removeEventListener){var n=Yo[r];e.removeEventListener(n||r,t,i),n&&r!==n&&e.removeEventListener(r,t,i);}},"_removeListener"),Lr=a(function(e){e.preventDefault&&e.preventDefault(),e.preventManipulation&&e.preventManipulation();},"_preventDefault"),Bd=a(function(e,r){for(var t=e.length;t--;)if(e[t].identifier===r)return true},"_hasTouchID"),Yd=a(function l(e){Wl=e.touches&&js<e.touches.length,yt(e.target,"touchend",l);},"_onMultiTouchDocumentEnd"),bf=a(function(e){Wl=e.touches&&js<e.touches.length,Tt(e.target,"touchend",Yd);},"_onMultiTouchDocument"),zn=a(function(e){return rt.pageYOffset||e.scrollTop||e.documentElement.scrollTop||e.body.scrollTop||0},"_getDocScrollTop"),Hn=a(function(e){return rt.pageXOffset||e.scrollLeft||e.documentElement.scrollLeft||e.body.scrollLeft||0},"_getDocScrollLeft"),Tf=a(function l(e,r){Tt(e,"scroll",r),In(e.parentNode)||l(e.parentNode,r);},"_addScrollListener"),Sf=a(function l(e,r){yt(e,"scroll",r),In(e.parentNode)||l(e.parentNode,r);},"_removeScrollListener"),In=a(function(e){return !e||e===Ir||e.nodeType===9||e===br.body||e===rt||!e.nodeType||!e.parentNode},"_isRoot"),Ef=a(function(e,r){var t=r==="x"?"Width":"Height",i="scroll"+t,n="client"+t;return Math.max(0,In(e)?Math.max(Ir[i],ui[i])-(rt["inner"+t]||Ir[n]||ui[n]):e[i]-e[n])},"_getMaxScroll"),Rl=a(function l(e,r){var t=Ef(e,"x"),i=Ef(e,"y");In(e)?e=ai:l(e.parentNode,r),e._gsMaxScrollX=t,e._gsMaxScrollY=i,r||(e._gsScrollX=e.scrollLeft||0,e._gsScrollY=e.scrollTop||0);},"_recordMaxScrolls"),Nl=a(function(e,r,t){var i=e.style;i&&(Hr(i[r])&&(r=zo(r,e)||r),t==null?i.removeProperty&&i.removeProperty(r.replace(/([A-Z])/g,"-$1").toLowerCase()):i[r]=t);},"_setStyle"),Xo=a(function(e){return rt.getComputedStyle(e instanceof Element?e:e.host||(e.parentNode||{}).host||e)},"_getComputedStyle"),an={},Rn=a(function(e){if(e===rt)return an.left=an.top=0,an.width=an.right=Ir.clientWidth||e.innerWidth||ui.clientWidth||0,an.height=an.bottom=(e.innerHeight||0)-20<Ir.clientHeight?Ir.clientHeight:e.innerHeight||ui.clientHeight||0,an;var r=e.ownerDocument||br,t=Hr(e.pageX)?!e.nodeType&&!Hr(e.left)&&!Hr(e.top)?e:Li(e)[0].getBoundingClientRect():{left:e.pageX-Hn(r),top:e.pageY-zn(r),right:e.pageX-Hn(r)+1,bottom:e.pageY-zn(r)+1};return Hr(t.right)&&!Hr(t.width)?(t.right=t.left+t.width,t.bottom=t.top+t.height):Hr(t.width)&&(t={width:t.right-t.left,height:t.bottom-t.top,right:t.right,left:t.left,bottom:t.bottom,top:t.top}),t},"_parseRect"),gt=a(function(e,r,t){var i=e.vars,n=i[t],o=e._listeners[r],s;return Pi(n)&&(s=n.apply(i.callbackScope||e,i[t+"Params"]||[e.pointerEvent])),o&&e.dispatchEvent(r)===false&&(s=false),s},"_dispatchEvent"),kf=a(function(e,r){var t=Li(e)[0],i,n,o;return !t.nodeType&&t!==rt?Hr(e.left)?(n=e.min||e.minX||e.minRotation||0,i=e.min||e.minY||0,{left:n,top:i,width:(e.max||e.maxX||e.maxRotation||0)-n,height:(e.max||e.maxY||0)-i}):(o={x:0,y:0},{left:e.left-o.x,top:e.top-o.y,width:e.width,height:e.height}):Xd(t,r)},"_getBounds"),Or={},Xd=a(function(e,r){r=Li(r)[0];var t=e.getBBox&&e.ownerSVGElement,i=e.ownerDocument||br,n,o,s,f,c,h,d,g,u,m,p,_,y;if(e===rt)s=zn(i),n=Hn(i),o=n+(i.documentElement.clientWidth||e.innerWidth||i.body.clientWidth||0),f=s+((e.innerHeight||0)-20<i.documentElement.clientHeight?i.documentElement.clientHeight:e.innerHeight||i.body.clientHeight||0);else {if(r===rt||Hr(r))return e.getBoundingClientRect();n=s=0,t?(m=e.getBBox(),p=m.width,_=m.height):(e.viewBox&&(m=e.viewBox.baseVal)&&(n=m.x||0,s=m.y||0,p=m.width,_=m.height),p||(y=Xo(e),m=y.boxSizing==="border-box",p=(parseFloat(y.width)||e.clientWidth||0)+(m?0:parseFloat(y.borderLeftWidth)+parseFloat(y.borderRightWidth)),_=(parseFloat(y.height)||e.clientHeight||0)+(m?0:parseFloat(y.borderTopWidth)+parseFloat(y.borderBottomWidth)))),o=p,f=_;}return e===r?{left:n,top:s,width:o-n,height:f-s}:(c=bt(r,true).multiply(bt(e)),h=c.apply({x:n,y:s}),d=c.apply({x:o,y:s}),g=c.apply({x:o,y:f}),u=c.apply({x:n,y:f}),n=Math.min(h.x,d.x,g.x,u.x),s=Math.min(h.y,d.y,g.y,u.y),{left:n,top:s,width:Math.max(h.x,d.x,g.x,u.x)-n,height:Math.max(h.y,d.y,g.y,u.y)-s})},"_getElementBounds"),zl=a(function(e,r,t,i,n,o){var s={},f,c,h;if(r)if(n!==1&&r instanceof Array){if(s.end=f=[],h=r.length,Fo(r[0]))for(c=0;c<h;c++)f[c]=Of(r[c],n);else for(c=0;c<h;c++)f[c]=r[c]*n;t+=1.1,i-=1.1;}else Pi(r)?s.end=function(d){var g=r.call(e,d),u,m;if(n!==1)if(Fo(g)){u={};for(m in g)u[m]=g[m]*n;g=u;}else g*=n;return g}:s.end=r;return (t||t===0)&&(s.max=t),(i||i===0)&&(s.min=i),o&&(s.velocity=0),s},"_parseInertia"),Wd=a(function l(e){var r;return !e||!e.getAttribute||e===ui?false:(r=e.getAttribute("data-clickable"))==="true"||r!=="false"&&(zd.test(e.nodeName+"")||e.getAttribute("contentEditable")==="true")?true:l(e.parentNode)},"_isClickable"),qs=a(function(e,r){for(var t=e.length,i;t--;)i=e[t],i.ondragstart=i.onselectstart=r?null:Us,Be.set(i,{lazy:true,userSelect:r?"text":"none"});},"_setSelectable"),Vd=a(function l(e){if(Xo(e).position==="fixed")return true;if(e=e.parentNode,e&&e.nodeType===1)return l(e)},"_isFixed"),Af,Xl,qd=a(function(e,r){e=Be.utils.toArray(e)[0],r=r||{};var t=document.createElement("div"),i=t.style,n=e.firstChild,o=0,s=0,f=e.scrollTop,c=e.scrollLeft,h=e.scrollWidth,d=e.scrollHeight,g=0,u=0,m=0,p,_,y,v,b,w;Af&&r.force3D!==false?(b="translate3d(",w="px,0px)"):Bo&&(b="translate(",w="px)"),this.scrollTop=function(x,P){if(!arguments.length)return -this.top();this.top(-x,P);},this.scrollLeft=function(x,P){if(!arguments.length)return -this.left();this.left(-x,P);},this.left=function(x,P){if(!arguments.length)return -(e.scrollLeft+s);var S=e.scrollLeft-c,C=s;if((S>2||S<-2)&&!P){c=e.scrollLeft,Be.killTweensOf(this,{left:1,scrollLeft:1}),this.left(-c),r.onKill&&r.onKill();return}x=-x,x<0?(s=x-.5|0,x=0):x>u?(s=x-u|0,x=u):s=0,(s||C)&&(this._skip||(i[Bo]=b+-s+"px,"+-o+w),s+g>=0&&(i.paddingRight=s+g+"px")),e.scrollLeft=x|0,c=e.scrollLeft;},this.top=function(x,P){if(!arguments.length)return -(e.scrollTop+o);var S=e.scrollTop-f,C=o;if((S>2||S<-2)&&!P){f=e.scrollTop,Be.killTweensOf(this,{top:1,scrollTop:1}),this.top(-f),r.onKill&&r.onKill();return}x=-x,x<0?(o=x-.5|0,x=0):x>m?(o=x-m|0,x=m):o=0,(o||C)&&(this._skip||(i[Bo]=b+-s+"px,"+-o+w)),e.scrollTop=x|0,f=e.scrollTop;},this.maxScrollTop=function(){return m},this.maxScrollLeft=function(){return u},this.disable=function(){for(n=t.firstChild;n;)v=n.nextSibling,e.appendChild(n),n=v;e===t.parentNode&&e.removeChild(t);},this.enable=function(){if(n=e.firstChild,n!==t){for(;n;)v=n.nextSibling,t.appendChild(n),n=v;e.appendChild(t),this.calibrate();}},this.calibrate=function(x){var P=e.clientWidth===p,S,C,L;f=e.scrollTop,c=e.scrollLeft,!(P&&e.clientHeight===_&&t.offsetHeight===y&&h===e.scrollWidth&&d===e.scrollHeight&&!x)&&((o||s)&&(C=this.left(),L=this.top(),this.left(-e.scrollLeft),this.top(-e.scrollTop)),S=Xo(e),(!P||x)&&(i.display="block",i.width="auto",i.paddingRight="0px",g=Math.max(0,e.scrollWidth-e.clientWidth),g&&(g+=parseFloat(S.paddingLeft)+(Xl?parseFloat(S.paddingRight):0))),i.display="inline-block",i.position="relative",i.overflow="visible",i.verticalAlign="top",i.boxSizing="content-box",i.width="100%",i.paddingRight=g+"px",Xl&&(i.paddingBottom=S.paddingBottom),p=e.clientWidth,_=e.clientHeight,h=e.scrollWidth,d=e.scrollHeight,u=e.scrollWidth-p,m=e.scrollHeight-_,y=t.offsetHeight,i.display="block",(C||L)&&(this.left(C),this.top(L)));},this.content=t,this.element=e,this._skip=false,this.enable();},"ScrollProxy"),Hl=a(function(e){if(Pf()&&document.body){var r=window&&window.navigator;rt=window,br=document,Ir=br.documentElement,ui=br.body,Al=Vs("div"),Gs=!!window.PointerEvent,li=Vs("div"),li.style.cssText="visibility:hidden;height:1px;top:-1px;pointer-events:none;position:relative;clear:both;cursor:grab",Io=li.style.cursor==="grab"?"grab":"move",Ho=r&&r.userAgent.toLowerCase().indexOf("android")!==-1,Fl="ontouchstart"in Ir&&"orientation"in rt||r&&(r.MaxTouchPoints>0||r.msMaxTouchPoints>0),Xl=(function(){var t=Vs("div"),i=Vs("div"),n=i.style,o=ui,s;return n.display="inline-block",n.position="relative",t.style.cssText="width:90px;height:40px;padding:10px;overflow:auto;visibility:hidden",t.appendChild(i),o.appendChild(t),s=i.offsetHeight+18>t.scrollHeight,o.removeChild(t),s})(),Yo=(function(t){for(var i=t.split(","),n=("onpointerdown"in Al?"pointerdown,pointermove,pointerup,pointercancel":"onmspointerdown"in Al?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":t).split(","),o={},s=4;--s>-1;)o[i[s]]=n[s],o[n[s]]=i[s];try{Ir.addEventListener("test",null,Object.defineProperty({},"passive",{get:a(function(){Cf=1;},"get")}));}catch{}return o})("touchstart,touchmove,touchend,touchcancel"),Tt(br,"touchcancel",Us),Tt(rt,"touchmove",Us),ui&&ui.addEventListener("touchstart",Us),Tt(br,"contextmenu",function(){for(var t in Nn)Nn[t].isPressed&&Nn[t].endDrag();}),Be=Il=Lf();}Be?(wr=Be.plugins.inertia,Mf=Be.core.context||function(){},zo=Be.utils.checkPrefix,Bo=zo(Bo),Yl=zo(Yl),Li=Be.utils.toArray,Bl=Be.core.getStyleSaver,Af=!!zo("perspective")):e&&console.warn("Please gsap.registerPlugin(Draggable)");},"_initCore"),Gd=(function(){function l(r){this._listeners={},this.target=r||this;}a(l,"EventDispatcher");var e=l.prototype;return e.addEventListener=a(function(t,i){var n=this._listeners[t]||(this._listeners[t]=[]);~n.indexOf(i)||n.push(i);},"addEventListener"),e.removeEventListener=a(function(t,i){var n=this._listeners[t],o=n&&n.indexOf(i);o>=0&&n.splice(o,1);},"removeEventListener"),e.dispatchEvent=a(function(t){var i=this,n;return (this._listeners[t]||[]).forEach(function(o){return o.call(i,{type:t,target:i.target})===false&&(n=false)}),n},"dispatchEvent"),l})(),ci=(function(l){Ad(e,l);function e(r,t){var i;i=l.call(this)||this,Il||Hl(1),r=Li(r)[0],i.styles=Bl&&Bl(r,"transform,left,top"),wr||(wr=Be.plugins.inertia),i.vars=t=Of(t||{}),i.target=r,i.x=i.y=i.rotation=0,i.dragResistance=parseFloat(t.dragResistance)||0,i.edgeResistance=isNaN(t.edgeResistance)?1:parseFloat(t.edgeResistance)||0,i.lockAxis=t.lockAxis,i.autoScroll=t.autoScroll||0,i.lockedAxis=null,i.allowEventDefault=!!t.allowEventDefault,Be.getProperty(r,"x");var n=(t.type||"x,y").toLowerCase(),o=~n.indexOf("x")||~n.indexOf("y"),s=n.indexOf("rotation")!==-1,f=s?"rotation":o?"x":"left",c=o?"y":"top",h=!!(~n.indexOf("x")||~n.indexOf("left")||n==="scroll"),d=!!(~n.indexOf("y")||~n.indexOf("top")||n==="scroll"),g=t.minimumMovement||2,u=mf(i),m=Li(t.trigger||t.handle||r),p={},_=0,y=false,v=t.autoScrollMarginTop||40,b=t.autoScrollMarginRight||40,w=t.autoScrollMarginBottom||40,x=t.autoScrollMarginLeft||40,P=t.clickableTest||Wd,S=0,C=r._gsap||Be.core.getCache(r),L=Vd(r),M=a(function(T,Y){return parseFloat(C.get(r,T,Y))},"getPropAsNum"),N=r.ownerDocument||br,A,H,F,B,$,j,ae,re,E,Q,Z,pe,ee,ue,ce,Le,ye,Ze,Te,Re,qe,se,fe,he,ut,O,He,G,D,q,X,ge,xe,ke=a(function(T){return Lr(T),T.stopImmediatePropagation&&T.stopImmediatePropagation(),false},"onContextMenu"),We=a(function te(T){if(u.autoScroll&&u.isDragging&&(y||ye)){var Y=r,k=u.autoScroll*15,R,V,z,K,W,J,me,oe;for(y=false,ai.scrollTop=rt.pageYOffset!=null?rt.pageYOffset:N.documentElement.scrollTop!=null?N.documentElement.scrollTop:N.body.scrollTop,ai.scrollLeft=rt.pageXOffset!=null?rt.pageXOffset:N.documentElement.scrollLeft!=null?N.documentElement.scrollLeft:N.body.scrollLeft,K=u.pointerX-ai.scrollLeft,W=u.pointerY-ai.scrollTop;Y&&!V;)V=In(Y.parentNode),R=V?ai:Y.parentNode,z=V?{bottom:Math.max(Ir.clientHeight,rt.innerHeight||0),right:Math.max(Ir.clientWidth,rt.innerWidth||0),left:0,top:0}:R.getBoundingClientRect(),J=me=0,d&&(oe=R._gsMaxScrollY-R.scrollTop,oe<0?me=oe:W>z.bottom-w&&oe?(y=true,me=Math.min(oe,k*(1-Math.max(0,z.bottom-W)/w)|0)):W<z.top+v&&R.scrollTop&&(y=true,me=-Math.min(R.scrollTop,k*(1-Math.max(0,W-z.top)/v)|0)),me&&(R.scrollTop+=me)),h&&(oe=R._gsMaxScrollX-R.scrollLeft,oe<0?J=oe:K>z.right-b&&oe?(y=true,J=Math.min(oe,k*(1-Math.max(0,z.right-K)/b)|0)):K<z.left+x&&R.scrollLeft&&(y=true,J=-Math.min(R.scrollLeft,k*(1-Math.max(0,K-z.left)/x)|0)),J&&(R.scrollLeft+=J)),V&&(J||me)&&(rt.scrollTo(R.scrollLeft,R.scrollTop),Ht(u.pointerX+J,u.pointerY+me)),Y=R;}if(ye){var Ee=u.x,Xe=u.y;s?(u.deltaX=Ee-parseFloat(C.rotation),u.rotation=Ee,C.rotation=Ee+"deg",C.renderTransform(1,C)):H?(d&&(u.deltaY=Xe-H.top(),H.top(Xe)),h&&(u.deltaX=Ee-H.left(),H.left(Ee))):o?(d&&(u.deltaY=Xe-parseFloat(C.y),C.y=Xe+"px"),h&&(u.deltaX=Ee-parseFloat(C.x),C.x=Ee+"px"),C.renderTransform(1,C)):(d&&(u.deltaY=Xe-parseFloat(r.style.top||0),r.style.top=Xe+"px"),h&&(u.deltaX=Ee-parseFloat(r.style.left||0),r.style.left=Ee+"px")),re&&!T&&!G&&(G=true,gt(u,"drag","onDrag")===false&&(h&&(u.x-=u.deltaX),d&&(u.y-=u.deltaY),te(true)),G=false);}ye=false;},"render"),ve=a(function(T,Y){var k=u.x,R=u.y,V,z;r._gsap||(C=Be.core.getCache(r)),C.uncache&&Be.getProperty(r,"x"),o?(u.x=parseFloat(C.x),u.y=parseFloat(C.y)):s?u.x=u.rotation=nr(parseFloat(C.rotation)):H?(u.y=H.top(),u.x=H.left()):(u.y=parseFloat(r.style.top||(z=Xo(r))&&z.top)||0,u.x=parseFloat(r.style.left||(z||{}).left)||0),(Te||Re||qe)&&!Y&&(u.isDragging||u.isThrowing)&&(qe&&(An.x=u.x,An.y=u.y,V=qe(An),V.x!==u.x&&(u.x=V.x,ye=true),V.y!==u.y&&(u.y=V.y,ye=true)),Te&&(V=Te(u.x),V!==u.x&&(u.x=V,s&&(u.rotation=V),ye=true)),Re&&(V=Re(u.y),V!==u.y&&(u.y=V),ye=true)),ye&&We(true),T||(u.deltaX=u.x-k,u.deltaY=u.y-R,gt(u,"throwupdate","onThrowUpdate"));},"syncXY"),Ge=a(function(T,Y,k,R){return Y==null&&(Y=-sn),k==null&&(k=sn),Pi(T)?function(V){var z=u.isPressed?1-u.edgeResistance:1;return T.call(u,(V>k?k+(V-k)*z:V<Y?Y+(V-Y)*z:V)*R)*R}:No(T)?function(V){for(var z=T.length,K=0,W=sn,J,me;--z>-1;)J=T[z],me=J-V,me<0&&(me=-me),me<W&&J>=Y&&J<=k&&(K=z,W=me);return T[K]}:isNaN(T)?function(V){return V}:function(){return T*R}},"buildSnapFunc"),Ye=a(function(T,Y,k,R,V,z,K){return z=z&&z<sn?z*z:sn,Pi(T)?function(W){var J=u.isPressed?1-u.edgeResistance:1,me=W.x,oe=W.y,Ee,Xe,Ve;return W.x=me=me>k?k+(me-k)*J:me<Y?Y+(me-Y)*J:me,W.y=oe=oe>V?V+(oe-V)*J:oe<R?R+(oe-R)*J:oe,Ee=T.call(u,W),Ee!==W&&(W.x=Ee.x,W.y=Ee.y),K!==1&&(W.x*=K,W.y*=K),z<sn&&(Xe=W.x-me,Ve=W.y-oe,Xe*Xe+Ve*Ve>z&&(W.x=me,W.y=oe)),W}:No(T)?function(W){for(var J=T.length,me=0,oe=sn,Ee,Xe,Ve,Ne;--J>-1;)Ve=T[J],Ee=Ve.x-W.x,Xe=Ve.y-W.y,Ne=Ee*Ee+Xe*Xe,Ne<oe&&(me=J,oe=Ne);return oe<=z?T[me]:W}:function(W){return W}},"buildPointSnapFunc"),Ce=a(function(){var T,Y,k,R;ae=false,H?(H.calibrate(),u.minX=Z=-H.maxScrollLeft(),u.minY=ee=-H.maxScrollTop(),u.maxX=Q=u.maxY=pe=0,ae=true):t.bounds&&(T=kf(t.bounds,r.parentNode),s?(u.minX=Z=T.left,u.maxX=Q=T.left+T.width,u.minY=ee=u.maxY=pe=0):!Hr(t.bounds.maxX)||!Hr(t.bounds.maxY)?(T=t.bounds,u.minX=Z=T.minX,u.minY=ee=T.minY,u.maxX=Q=T.maxX,u.maxY=pe=T.maxY):(Y=kf(r,r.parentNode),u.minX=Z=Math.round(M(f,"px")+T.left-Y.left),u.minY=ee=Math.round(M(c,"px")+T.top-Y.top),u.maxX=Q=Math.round(Z+(T.width-Y.width)),u.maxY=pe=Math.round(ee+(T.height-Y.height))),Z>Q&&(u.minX=Q,u.maxX=Q=Z,Z=u.minX),ee>pe&&(u.minY=pe,u.maxY=pe=ee,ee=u.minY),s&&(u.minRotation=Z,u.maxRotation=Q),ae=true),t.liveSnap&&(k=t.liveSnap===true?t.snap||{}:t.liveSnap,R=No(k)||Pi(k),s?(Te=Ge(R?k:k.rotation,Z,Q,1),Re=null):k.points?qe=Ye(R?k:k.points,Z,Q,ee,pe,k.radius,H?-1:1):(h&&(Te=Ge(R?k:k.x||k.left||k.scrollLeft,Z,Q,H?-1:1)),d&&(Re=Ge(R?k:k.y||k.top||k.scrollTop,ee,pe,H?-1:1))));},"calculateBounds"),pt=a(function(){u.isThrowing=false,gt(u,"throwcomplete","onThrowComplete");},"onThrowComplete"),ie=a(function(){u.isThrowing=false;},"onThrowInterrupt"),Tr=a(function(T,Y){var k,R,V,z;T&&wr?(T===true&&(k=t.snap||t.liveSnap||{},R=No(k)||Pi(k),T={resistance:(t.throwResistance||t.resistance||1e3)/(s?10:1)},s?T.rotation=zl(u,R?k:k.rotation,Q,Z,1,Y):(h&&(T[f]=zl(u,R?k:k.points||k.x||k.left,Q,Z,H?-1:1,Y||u.lockedAxis==="x")),d&&(T[c]=zl(u,R?k:k.points||k.y||k.top,pe,ee,H?-1:1,Y||u.lockedAxis==="y")),(k.points||No(k)&&Fo(k[0]))&&(T.linkedProps=f+","+c,T.radius=k.radius))),u.isThrowing=true,z=isNaN(t.overshootTolerance)?t.edgeResistance===1?0:1-u.edgeResistance+.2:t.overshootTolerance,T.duration||(T.duration={max:Math.max(t.minDuration||0,"maxDuration"in t?t.maxDuration:2),min:isNaN(t.minDuration)?z===0||Fo(T)&&T.resistance>1e3?0:.5:t.minDuration,overshoot:z}),u.tween=V=Be.to(H||r,{inertia:T,data:"_draggable",inherit:false,onComplete:pt,onInterrupt:ie,onUpdate:t.fastMode?gt:ve,onUpdateParams:t.fastMode?[u,"onthrowupdate","onThrowUpdate"]:k&&k.radius?[false,true]:[]}),t.fastMode||(H&&(H._skip=true),V.render(1e9,true,true),ve(true,true),u.endX=u.x,u.endY=u.y,s&&(u.endRotation=u.x),V.play(0),ve(true,true),H&&(H._skip=false))):ae&&u.applyBounds();},"animate"),Ct=a(function(T){var Y=he,k;he=bt(r.parentNode,true),T&&u.isPressed&&!he.equals(Y||new zr)&&(k=Y.inverse().apply({x:F,y:B}),he.apply(k,k),F=k.x,B=k.y),he.equals(Rd)&&(he=null);},"updateMatrix"),St=a(function(){var T=1-u.edgeResistance,Y=L?Hn(N):0,k=L?zn(N):0,R,V,z;o&&(C.x=M(f,"px")+"px",C.y=M(c,"px")+"px",C.renderTransform()),Ct(false),Or.x=u.pointerX-Y,Or.y=u.pointerY-k,he&&he.apply(Or,Or),F=Or.x,B=Or.y,ye&&(Ht(u.pointerX,u.pointerY),We(true)),ge=bt(r),H?(Ce(),j=H.top(),$=H.left()):($t()?(ve(true,true),Ce()):u.applyBounds(),s?(R=r.ownerSVGElement?[C.xOrigin-r.getBBox().x,C.yOrigin-r.getBBox().y]:(Xo(r)[Yl]||"0 0").split(" "),Le=u.rotationOrigin=bt(r).apply({x:parseFloat(R[0])||0,y:parseFloat(R[1])||0}),ve(true,true),V=u.pointerX-Le.x-Y,z=Le.y-u.pointerY+k,$=u.x,j=u.y=Math.atan2(z,V)*_f):(j=M(c,"px"),$=M(f,"px"))),ae&&T&&($>Q?$=Q+($-Q)/T:$<Z&&($=Z-(Z-$)/T),s||(j>pe?j=pe+(j-pe)/T:j<ee&&(j=ee-(ee-j)/T))),u.startX=$=nr($),u.startY=j=nr(j);},"recordStartPositions"),$t=a(function(){return u.tween&&u.tween.isActive()},"isTweening"),or=a(function(){li.parentNode&&!$t()&&!u.isDragging&&li.parentNode.removeChild(li);},"removePlaceholder"),Mt=a(function(T,Y){var k;if(!A||u.isPressed||!T||(T.type==="mousedown"||T.type==="pointerdown")&&!Y&&Mi()-S<30&&Yo[u.pointerEvent.type]){X&&T&&A&&Lr(T);return}if(ut=$t(),xe=false,u.pointerEvent=T,Yo[T.type]?(fe=~T.type.indexOf("touch")?T.currentTarget||T.target:N,Tt(fe,"touchend",Ue),Tt(fe,"touchmove",_e),Tt(fe,"touchcancel",Ue),Tt(N,"touchstart",bf)):(fe=null,Tt(N,"mousemove",_e)),He=null,(!Gs||!fe)&&(Tt(N,"mouseup",Ue),T&&T.target&&Tt(T.target,"mouseup",Ue)),se=P.call(u,T.target)&&t.dragClickables===false&&!Y,se){Tt(T.target,"change",Ue),gt(u,"pressInit","onPressInit"),gt(u,"press","onPress"),qs(m,true),X=false;return}if(O=!fe||h===d||u.vars.allowNativeTouchScrolling===false||u.vars.allowContextMenu&&T&&(T.ctrlKey||T.which>2)?false:h?"y":"x",X=!O&&!u.allowEventDefault,X&&(Lr(T),Tt(rt,"touchforcechange",Lr)),T.changedTouches?(T=ue=T.changedTouches[0],ce=T.identifier):T.pointerId?ce=T.pointerId:ue=ce=null,js++,Id(We),B=u.pointerY=T.pageY,F=u.pointerX=T.pageX,gt(u,"pressInit","onPressInit"),(O||u.autoScroll)&&Rl(r.parentNode),r.parentNode&&u.autoScroll&&!H&&!s&&r.parentNode._gsMaxScrollX&&!li.parentNode&&!r.getBBox&&(li.style.width=r.parentNode.scrollWidth+"px",r.parentNode.appendChild(li)),St(),u.tween&&u.tween.kill(),u.isThrowing=false,Be.killTweensOf(H||r,p,true),H&&Be.killTweensOf(r,{scrollTo:1},true),u.tween=u.lockedAxis=null,(t.zIndexBoost||!s&&!H&&t.zIndexBoost!==false)&&(r.style.zIndex=e.zIndex++),u.isPressed=true,re=!!(t.onDrag||u._listeners.drag),E=!!(t.onMove||u._listeners.move),t.cursor!==false||t.activeCursor)for(k=m.length;--k>-1;)Be.set(m[k],{cursor:t.activeCursor||t.cursor||(Io==="grab"?"grabbing":Io)});gt(u,"press","onPress"),wr&&wr.track(H||r,o?"x,y":s?"rotation":"top,left");},"onPress"),_e=a(function(T){var Y=T,k,R,V,z,K,W;if(!A||Wl||!u.isPressed||!T){X&&T&&A&&Lr(T);return}if(u.pointerEvent=T,k=T.changedTouches,k){if(T=k[0],T!==ue&&T.identifier!==ce){for(z=k.length;--z>-1&&(T=k[z]).identifier!==ce&&T.target!==r;);if(z<0)return}}else if(T.pointerId&&ce&&T.pointerId!==ce)return;if(fe&&O&&!He&&(Or.x=T.pageX-(L?Hn(N):0),Or.y=T.pageY-(L?zn(N):0),he&&he.apply(Or,Or),R=Or.x,V=Or.y,K=Math.abs(R-F),W=Math.abs(V-B),(K!==W&&(K>g||W>g)||Ho&&O===He)&&(He=K>W&&h?"x":"y",O&&He!==O&&Tt(rt,"touchforcechange",Lr),u.vars.lockAxisOnTouchScroll!==false&&h&&d&&(u.lockedAxis=He==="x"?"y":"x",Pi(u.vars.onLockAxis)&&u.vars.onLockAxis.call(u,Y)),Ho&&O===He))){Ue(Y);return}!u.allowEventDefault&&(!O||He&&O!==He)&&Y.cancelable!==false?(Lr(Y),X=true):X&&(X=false),u.autoScroll&&(y=true),Ht(T.pageX,T.pageY,E);},"onMove"),Ht=a(function(T,Y,k){var R=1-u.dragResistance,V=1-u.edgeResistance,z=u.pointerX,K=u.pointerY,W=j,J=u.x,me=u.y,oe=u.endX,Ee=u.endY,Xe=u.endRotation,Ve=ye,Ne,ze,Ke,Se,Pt,nt;u.pointerX=T,u.pointerY=Y,L&&(T-=Hn(N),Y-=zn(N)),s?(Se=nr(Math.atan2(Le.y-Y,T-Le.x)*_f),Pt=u.y-Se,Pt>180?(j-=360,u.y=Se):Pt<-180&&(j+=360,u.y=Se),he&&(nt=T*he.a+Y*he.c+he.e,Y=T*he.b+Y*he.d+he.f,T=nt),u.x!==$||Math.max(Math.abs(F-T),Math.abs(B-Y))>g?(u.y=Se,Ke=nr($+(j-Se)*R)):Ke=$):(he&&(nt=T*he.a+Y*he.c+he.e,Y=T*he.b+Y*he.d+he.f,T=nt),ze=Y-B,Ne=T-F,ze<g&&ze>-g&&(ze=0),Ne<g&&Ne>-g&&(Ne=0),(u.lockAxis||u.lockedAxis)&&(Ne||ze)&&(nt=u.lockedAxis,nt||(u.lockedAxis=nt=h&&Math.abs(Ne)>Math.abs(ze)?"y":d?"x":null,nt&&Pi(u.vars.onLockAxis)&&u.vars.onLockAxis.call(u,u.pointerEvent)),nt==="y"?ze=0:nt==="x"&&(Ne=0)),Ke=nr($+Ne*R),Se=nr(j+ze*R)),(Te||Re||qe)&&(u.x!==Ke||u.y!==Se&&!s)&&(qe&&(An.x=Ke,An.y=Se,nt=qe(An),Ke=nr(nt.x),Se=nr(nt.y)),Te&&(Ke=nr(Te(Ke))),Re&&(Se=nr(Re(Se)))),ae&&(Ke>Q?Ke=Q+Math.round((Ke-Q)*V):Ke<Z&&(Ke=Z+Math.round((Ke-Z)*V)),s||(Se>pe?Se=Math.round(pe+(Se-pe)*V):Se<ee&&(Se=Math.round(ee+(Se-ee)*V)))),(u.x!==Ke||u.y!==Se&&!s)&&(s?(u.endRotation=u.x=u.endX=nr(Ke),ye=true):(d&&(u.y=u.endY=Se,ye=true),h&&(u.x=u.endX=Ke,ye=true)),!k||gt(u,"move","onMove")!==false?!u.isDragging&&u.isPressed&&(u.isDragging=xe=true,gt(u,"dragstart","onDragStart")):(u.pointerX=z,u.pointerY=K,j=W,u.x=J,u.y=me,u.endX=oe,u.endY=Ee,u.endRotation=Xe,ye=Ve));},"setPointerPosition"),Ue=a(function te(T,Y){if(!A||!u.isPressed||T&&ce!=null&&!Y&&(T.pointerId&&T.pointerId!==ce&&T.target!==r||T.changedTouches&&!Bd(T.changedTouches,ce))){X&&T&&A&&Lr(T);return}u.isPressed=false;var k=T,R=u.isDragging,V=u.vars.allowContextMenu&&T&&(T.ctrlKey||T.which>2),z=Be.delayedCall(.001,or),K,W,J,me,oe;if(fe?(yt(fe,"touchend",te),yt(fe,"touchmove",_e),yt(fe,"touchcancel",te),yt(N,"touchstart",bf)):yt(N,"mousemove",_e),yt(rt,"touchforcechange",Lr),(!Gs||!fe)&&(yt(N,"mouseup",te),T&&T.target&&yt(T.target,"mouseup",te)),ye=false,R&&(_=yf=Mi(),u.isDragging=false),wf(We),se&&!V){T&&(yt(T.target,"change",te),u.pointerEvent=k),qs(m,false),gt(u,"release","onRelease"),gt(u,"click","onClick"),se=false;return}for(W=m.length;--W>-1;)Nl(m[W],"cursor",t.cursor||(t.cursor!==false?Io:null));if(js--,T){if(K=T.changedTouches,K&&(T=K[0],T!==ue&&T.identifier!==ce)){for(W=K.length;--W>-1&&(T=K[W]).identifier!==ce&&T.target!==r;);if(W<0&&!Y)return}u.pointerEvent=k,u.pointerX=T.pageX,u.pointerY=T.pageY;}return V&&k?(Lr(k),X=true,gt(u,"release","onRelease")):k&&!R?(X=false,ut&&(t.snap||t.bounds)&&Tr(t.inertia||t.throwProps),gt(u,"release","onRelease"),(!Ho||k.type!=="touchmove")&&k.type.indexOf("cancel")===-1&&(gt(u,"click","onClick"),Mi()-S<300&>(u,"doubleclick","onDoubleClick"),me=k.target||r,S=Mi(),oe=a(function(){S!==D&&u.enabled()&&!u.isPressed&&!k.defaultPrevented&&(me.click?me.click():N.createEvent&&(J=N.createEvent("MouseEvents"),J.initMouseEvent("click",true,true,rt,1,u.pointerEvent.screenX,u.pointerEvent.screenY,u.pointerX,u.pointerY,false,false,false,false,0,null),me.dispatchEvent(J)));},"syntheticClick"),!Ho&&!k.defaultPrevented&&Be.delayedCall(.05,oe))):(Tr(t.inertia||t.throwProps),!u.allowEventDefault&&k&&(t.dragClickables!==false||!P.call(u,k.target))&&R&&(!O||He&&O===He)&&k.cancelable!==false?(X=true,Lr(k)):X=false,gt(u,"release","onRelease")),$t()&&z.duration(u.tween.duration()),R&>(u,"dragend","onDragEnd"),true},"onRelease"),Ie=a(function(T){if(T&&u.isDragging&&!H){var Y=T.target||r.parentNode,k=Y.scrollLeft-Y._gsScrollX,R=Y.scrollTop-Y._gsScrollY;(k||R)&&(he?(F-=k*he.a+R*he.c,B-=R*he.d+k*he.b):(F-=k,B-=R),Y._gsScrollX+=k,Y._gsScrollY+=R,Ht(u.pointerX,u.pointerY));}},"updateScroll"),Je=a(function(T){var Y=Mi(),k=Y-S<100,R=Y-_<50,V=k&&D===S,z=u.pointerEvent&&u.pointerEvent.defaultPrevented,K=k&&q===S,W=T.isTrusted||T.isTrusted==null&&k&&V;if((V||R&&u.vars.suppressClickOnDrag!==false)&&T.stopImmediatePropagation&&T.stopImmediatePropagation(),k&&!(u.pointerEvent&&u.pointerEvent.defaultPrevented)&&(!V||W&&!K)){W&&V&&(q=S),D=S;return}(u.isPressed||R||k)&&(!W||!T.detail||!k||z)&&Lr(T),!k&&!R&&!xe&&(T&&T.target&&(u.pointerEvent=T),gt(u,"click","onClick"));},"onClick"),It=a(function(T){return he?{x:T.x*he.a+T.y*he.c+he.e,y:T.x*he.b+T.y*he.d+he.f}:{x:T.x,y:T.y}},"localizePoint");return Ze=e.get(r),Ze&&Ze.kill(),i.startDrag=function(te,T){var Y,k,R,V;Mt(te||u.pointerEvent,true),T&&!u.hitTest(te||u.pointerEvent)&&(Y=Rn(te||u.pointerEvent),k=Rn(r),R=It({x:Y.left+Y.width/2,y:Y.top+Y.height/2}),V=It({x:k.left+k.width/2,y:k.top+k.height/2}),F-=R.x-V.x,B-=R.y-V.y),u.isDragging||(u.isDragging=xe=true,gt(u,"dragstart","onDragStart"));},i.drag=_e,i.endDrag=function(te){return Ue(te||u.pointerEvent,true)},i.timeSinceDrag=function(){return u.isDragging?0:(Mi()-_)/1e3},i.timeSinceClick=function(){return (Mi()-S)/1e3},i.hitTest=function(te,T){return e.hitTest(u.target,te,T)},i.getDirection=function(te,T){var Y=te==="velocity"&&wr?te:Fo(te)&&!s?"element":"start",k,R,V,z,K,W;return Y==="element"&&(K=Rn(u.target),W=Rn(te)),k=Y==="start"?u.x-$:Y==="velocity"?wr.getVelocity(r,f):K.left+K.width/2-(W.left+W.width/2),s?k<0?"counter-clockwise":"clockwise":(T=T||2,R=Y==="start"?u.y-j:Y==="velocity"?wr.getVelocity(r,c):K.top+K.height/2-(W.top+W.height/2),V=Math.abs(k/R),z=V<1/T?"":k<0?"left":"right",V<T&&(z!==""&&(z+="-"),z+=R<0?"up":"down"),z)},i.applyBounds=function(te,T){var Y,k,R,V,z,K;if(te&&t.bounds!==te)return t.bounds=te,u.update(true,T);if(ve(true),Ce(),ae&&!$t()){if(Y=u.x,k=u.y,Y>Q?Y=Q:Y<Z&&(Y=Z),k>pe?k=pe:k<ee&&(k=ee),(u.x!==Y||u.y!==k)&&(R=true,u.x=u.endX=Y,s?u.endRotation=Y:u.y=u.endY=k,ye=true,We(true),u.autoScroll&&!u.isDragging))for(Rl(r.parentNode),V=r,ai.scrollTop=rt.pageYOffset!=null?rt.pageYOffset:N.documentElement.scrollTop!=null?N.documentElement.scrollTop:N.body.scrollTop,ai.scrollLeft=rt.pageXOffset!=null?rt.pageXOffset:N.documentElement.scrollLeft!=null?N.documentElement.scrollLeft:N.body.scrollLeft;V&&!K;)K=In(V.parentNode),z=K?ai:V.parentNode,d&&z.scrollTop>z._gsMaxScrollY&&(z.scrollTop=z._gsMaxScrollY),h&&z.scrollLeft>z._gsMaxScrollX&&(z.scrollLeft=z._gsMaxScrollX),V=z;u.isThrowing&&(R||u.endX>Q||u.endX<Z||u.endY>pe||u.endY<ee)&&Tr(t.inertia||t.throwProps,R);}return u},i.update=function(te,T,Y){if(T&&u.isPressed){if(s)u.x=u.y=nr(parseFloat(C.rotation));else {var k=bt(r),R=ge.apply({x:u.x-$,y:u.y-j}),V=bt(r.parentNode,true);V.apply({x:k.e-R.x,y:k.f-R.y},R),u.x=nr(u.x-(R.x-V.e)),u.y=nr(u.y-(R.y-V.f));}We(true),St();}var z=u.x,K=u.y;return Ct(!T),te?u.applyBounds():(ye&&Y&&We(true),ve(true)),T&&(Ht(u.pointerX,u.pointerY),ye&&We(true)),u.isPressed&&!T&&(h&&Math.abs(z-u.x)>.01||d&&Math.abs(K-u.y)>.01&&!s)&&St(),u.autoScroll&&(Rl(r.parentNode,u.isDragging),y=u.isDragging,We(true),Sf(r,Ie),Tf(r,Ie)),u},i.enable=function(te){var T={lazy:true},Y,k,R;if(t.cursor!==false&&(T.cursor=t.cursor||Io),Be.utils.checkPrefix("touchCallout")&&(T.touchCallout="none"),te!=="soft"){for(vf(m,h===d?"none":t.allowNativeTouchScrolling&&r.scrollHeight===r.clientHeight==(r.scrollWidth===r.clientHeight)||t.allowEventDefault?"manipulation":h?"pan-y":"pan-x"),k=m.length;--k>-1;)R=m[k],Gs||Tt(R,"mousedown",Mt),Tt(R,"touchstart",Mt),Tt(R,"click",Je,true),Be.set(R,T),R.getBBox&&R.ownerSVGElement&&h!==d&&Be.set(R.ownerSVGElement,{touchAction:t.allowNativeTouchScrolling||t.allowEventDefault?"manipulation":h?"pan-y":"pan-x"}),t.allowContextMenu||Tt(R,"contextmenu",ke);qs(m,false);}return Tf(r,Ie),A=true,wr&&te!=="soft"&&wr.track(H||r,o?"x,y":s?"rotation":"top,left"),r._gsDragID=Y=r._gsDragID||"d"+Nd++,Nn[Y]=u,H&&(H.enable(),H.element._gsDragID=Y),(t.bounds||s)&&St(),t.bounds&&u.applyBounds(),u},i.disable=function(te){for(var T=u.isDragging,Y=m.length,k;--Y>-1;)Nl(m[Y],"cursor",null);if(te!=="soft"){for(vf(m,null),Y=m.length;--Y>-1;)k=m[Y],Nl(k,"touchCallout",null),yt(k,"mousedown",Mt),yt(k,"touchstart",Mt),yt(k,"click",Je,true),yt(k,"contextmenu",ke);qs(m,true),fe&&(yt(fe,"touchcancel",Ue),yt(fe,"touchend",Ue),yt(fe,"touchmove",_e)),yt(N,"mouseup",Ue),yt(N,"mousemove",_e);}return Sf(r,Ie),A=false,wr&&te!=="soft"&&(wr.untrack(H||r,o?"x,y":s?"rotation":"top,left"),u.tween&&u.tween.kill()),H&&H.disable(),wf(We),u.isDragging=u.isPressed=se=false,T&>(u,"dragend","onDragEnd"),u},i.enabled=function(te,T){return arguments.length?te?u.enable(T):u.disable(T):A},i.kill=function(){return u.isThrowing=false,u.tween&&u.tween.kill(),u.disable(),Be.set(m,{clearProps:"userSelect"}),delete Nn[r._gsDragID],u},i.revert=function(){this.kill(),this.styles&&this.styles.revert();},~n.indexOf("scroll")&&(H=i.scrollProxy=new qd(r,Hd({onKill:a(function(){u.isPressed&&Ue(null);},"onKill")},t)),r.style.overflowY=d&&!Fl?"auto":"hidden",r.style.overflowX=h&&!Fl?"auto":"hidden",r=H.content),s?p.rotation=1:(h&&(p[f]=1),d&&(p[c]=1)),C.force3D="force3D"in t?t.force3D:true,Mf(mf(i)),i.enable(),i}return a(e,"Draggable"),e.register=a(function(t){Be=t,Hl();},"register"),e.create=a(function(t,i){return Il||Hl(true),Li(t).map(function(n){return new e(n,i)})},"create"),e.get=a(function(t){return Nn[(Li(t)[0]||{})._gsDragID]},"get"),e.timeSinceDrag=a(function(){return (Mi()-yf)/1e3},"timeSinceDrag"),e.hitTest=a(function(t,i,n){if(t===i)return false;var o=Rn(t),s=Rn(i),f=o.top,c=o.left,h=o.right,d=o.bottom,g=o.width,u=o.height,m=s.left>h||s.right<c||s.top>d||s.bottom<f,p,_,y;return m||!n?!m:(y=(n+"").indexOf("%")!==-1,n=parseFloat(n)||0,p={left:Math.max(c,s.left),top:Math.max(f,s.top)},p.width=Math.min(h,s.right)-p.left,p.height=Math.min(d,s.bottom)-p.top,p.width<0||p.height<0?false:y?(n*=.01,_=p.width*p.height,_>=g*u*n||_>=s.width*s.height*n):p.width>n&&p.height>n)},"hitTest"),e})(Gd);Fd(ci.prototype,{pointerX:0,pointerY:0,startX:0,startY:0,deltaX:0,deltaY:0,isDragging:false,isPressed:false});ci.zIndex=1e3;ci.version="3.15.0";Lf()&&Be.registerPlugin(ci);var Ud=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig;var jd=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig;var $d=Math.PI/180,$s=Math.sin,Ks=Math.cos,Vo=Math.abs,Wo=Math.sqrt;var Kd=a(function(e){return typeof e=="number"},"_isNumber");var Rf=1e5;var Oi=a(function(e){return Math.round(e*Rf)/Rf||0},"_round");var Nf=a(function(e){return e.closed=Math.abs(e[0]-e[e.length-2])<.001&&Math.abs(e[1]-e[e.length-1])<.001},"_segmentIsClosed");function zf(l,e,r,t,i,n,o){for(var s=l.length,f,c,h,d,g;--s>-1;)for(f=l[s],c=f.length,h=0;h<c;h+=2)d=f[h],g=f[h+1],f[h]=d*e+g*t+n,f[h+1]=d*r+g*i+o;return l._dirty=1,l}a(zf,"transformRawPath");function Qd(l,e,r,t,i,n,o,s,f){if(!(l===s&&e===f)){r=Vo(r),t=Vo(t);var c=i%360*$d,h=Ks(c),d=$s(c),g=Math.PI,u=g*2,m=(l-s)/2,p=(e-f)/2,_=h*m+d*p,y=-d*m+h*p,v=_*_,b=y*y,w=v/(r*r)+b/(t*t);w>1&&(r=Wo(w)*r,t=Wo(w)*t);var x=r*r,P=t*t,S=(x*P-x*b-P*v)/(x*b+P*v);S<0&&(S=0);var C=(n===o?-1:1)*Wo(S),L=C*(r*y/t),M=C*-(t*_/r),N=(l+s)/2,A=(e+f)/2,H=N+(h*L-d*M),F=A+(d*L+h*M),B=(_-L)/r,$=(y-M)/t,j=(-_-L)/r,ae=(-y-M)/t,re=B*B+$*$,E=($<0?-1:1)*Math.acos(B/Wo(re)),Q=(B*ae-$*j<0?-1:1)*Math.acos((B*j+$*ae)/Wo(re*(j*j+ae*ae)));isNaN(Q)&&(Q=g),!o&&Q>0?Q-=u:o&&Q<0&&(Q+=u),E%=u,Q%=u;var Z=Math.ceil(Vo(Q)/(u/4)),pe=[],ee=Q/Z,ue=4/3*$s(ee/2)/(1+Ks(ee/2)),ce=h*r,Le=d*r,ye=d*-t,Ze=h*t,Te;for(Te=0;Te<Z;Te++)i=E+Te*ee,_=Ks(i),y=$s(i),B=Ks(i+=ee),$=$s(i),pe.push(_-ue*y,y+ue*_,B+ue*$,$-ue*B,B,$);for(Te=0;Te<pe.length;Te+=2)_=pe[Te],y=pe[Te+1],pe[Te]=_*ce+y*ye+H,pe[Te+1]=_*Le+y*Ze+F;return pe[Te-2]=s,pe[Te-1]=f,pe}}a(Qd,"arcToSegment");function Hf(l){var e=(l+"").replace(jd,function(L){var M=+L;return M<1e-4&&M>-1e-4?0:M}).match(Ud)||[],r=[],t=0,i=0,n=2/3,o=e.length,s=0,f="ERROR: malformed path: "+l,c,h,d,g,u,m,p,_,y,v,b,w,x,P,S,C=a(function(M,N,A,H){v=(A-M)/3,b=(H-N)/3,p.push(M+v,N+b,A-v,H-b,A,H);},"line");if(!l||!isNaN(e[0])||isNaN(e[1]))return console.log(f),r;for(c=0;c<o;c++)if(x=u,isNaN(e[c])?(u=e[c].toUpperCase(),m=u!==e[c]):c--,d=+e[c+1],g=+e[c+2],m&&(d+=t,g+=i),c||(_=d,y=g),u==="M")p&&(p.length<8?r.length-=1:s+=p.length,Nf(p)),t=_=d,i=y=g,p=[d,g],r.push(p),c+=2,u="L";else if(u==="C")p||(p=[0,0]),m||(t=i=0),p.push(d,g,t+e[c+3]*1,i+e[c+4]*1,t+=e[c+5]*1,i+=e[c+6]*1),c+=6;else if(u==="S")v=t,b=i,(x==="C"||x==="S")&&(v+=t-p[p.length-4],b+=i-p[p.length-3]),m||(t=i=0),p.push(v,b,d,g,t+=e[c+3]*1,i+=e[c+4]*1),c+=4;else if(u==="Q")v=t+(d-t)*n,b=i+(g-i)*n,m||(t=i=0),t+=e[c+3]*1,i+=e[c+4]*1,p.push(v,b,t+(d-t)*n,i+(g-i)*n,t,i),c+=4;else if(u==="T")v=t-p[p.length-4],b=i-p[p.length-3],p.push(t+v,i+b,d+(t+v*1.5-d)*n,g+(i+b*1.5-g)*n,t=d,i=g),c+=2;else if(u==="H")C(t,i,t=d,i),c+=1;else if(u==="V")C(t,i,t,i=d+(m?i-t:0)),c+=1;else if(u==="L"||u==="Z")u==="Z"&&(d=_,g=y,p.closed=true),(u==="L"||Vo(t-d)>.5||Vo(i-g)>.5)&&(C(t,i,d,g),u==="L"&&(c+=2)),t=d,i=g;else if(u==="A"){if(P=e[c+4],S=e[c+5],v=e[c+6],b=e[c+7],h=7,P.length>1&&(P.length<3?(b=v,v=S,h--):(b=S,v=P.substr(2),h-=2),S=P.charAt(1),P=P.charAt(0)),w=Qd(t,i,+e[c+1],+e[c+2],+e[c+3],+P,+S,(m?t:0)+v*1,(m?i:0)+b*1),c+=h,w)for(h=0;h<w.length;h++)p.push(w[h]);t=p[p.length-2],i=p[p.length-1];}else console.log(f);return c=p.length,c<6?(r.pop(),c=0):Nf(p),r.totalPoints=s+c,r}a(Hf,"stringToRawPath");function If(l){Kd(l[0])&&(l=[l]);var e="",r=l.length,t,i,n,o;for(i=0;i<r;i++){for(o=l[i],e+="M"+Oi(o[0])+","+Oi(o[1])+" C",t=o.length,n=2;n<t;n++)e+=Oi(o[n++])+","+Oi(o[n++])+" "+Oi(o[n++])+","+Oi(o[n++])+" "+Oi(o[n++])+","+Oi(o[n])+" ";o.closed&&(e+="z");}return e}a(If,"rawPathToString");var fr,Bf,Yf=a(function(){return fr||typeof window<"u"&&(fr=window.gsap)&&fr.registerPlugin&&fr},"_getGSAP"),Ff=a(function(){fr=Yf(),fr?(fr.registerEase("_CE",Dr.create),Bf=1):console.warn("Please gsap.registerPlugin(CustomEase)");},"_initCore"),Zd=1e20,Qs=a(function(e){return ~~(e*1e3+(e<0?-0.5:.5))/1e3},"_round"),eg=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/gi,tg=/[cLlsSaAhHvVtTqQ]/g,rg=a(function(e){var r=e.length,t=Zd,i;for(i=1;i<r;i+=6)+e[i]<t&&(t=+e[i]);return t},"_findMinimum"),ig=a(function(e,r,t){!t&&t!==0&&(t=Math.max(+e[e.length-1],+e[1]));var i=+e[0]*-1,n=-t,o=e.length,s=1/(+e[o-2]+i),f=-r||(Math.abs(+e[o-1]-+e[1])<.01*(+e[o-2]-+e[0])?rg(e)+n:+e[o-1]+n),c;for(f?f=1/f:f=-s,c=0;c<o;c+=2)e[c]=(+e[c]+i)*s,e[c+1]=(+e[c+1]+n)*f;},"_normalize"),ng=a(function l(e,r,t,i,n,o,s,f,c,h,d){var g=(e+t)/2,u=(r+i)/2,m=(t+n)/2,p=(i+o)/2,_=(n+s)/2,y=(o+f)/2,v=(g+m)/2,b=(u+p)/2,w=(m+_)/2,x=(p+y)/2,P=(v+w)/2,S=(b+x)/2,C=s-e,L=f-r,M=Math.abs((t-s)*L-(i-f)*C),N=Math.abs((n-s)*L-(o-f)*C),A;return h||(h=[{x:e,y:r},{x:s,y:f}],d=1),h.splice(d||h.length-1,0,{x:P,y:S}),(M+N)*(M+N)>c*(C*C+L*L)&&(A=h.length,l(e,r,g,u,v,b,P,S,c,h,d),l(P,S,w,x,_,y,s,f,c,h,d+1+(h.length-A))),h},"_bezierToPoints"),Dr=(function(){function l(r,t,i){Bf||Ff(),this.id=r,this.setData(t,i);}a(l,"CustomEase");var e=l.prototype;return e.setData=a(function(t,i){i=i||{},t=t||"0,0,1,1";var n=t.match(eg),o=1,s=[],f=[],c=i.precision||1,h=c<=1,d,g,u,m,p,_,y,v,b;if(this.data=t,(tg.test(t)||~t.indexOf("M")&&t.indexOf("C")<0)&&(n=Hf(t)[0]),d=n.length,d===4)n.unshift(0,0),n.push(1,1),d=8;else if((d-2)%6)throw "Invalid CustomEase";for((+n[0]!=0||+n[d-2]!=1)&&ig(n,i.height,i.originY),this.segment=n,m=2;m<d;m+=6)g={x:+n[m-2],y:+n[m-1]},u={x:+n[m+4],y:+n[m+5]},s.push(g,u),ng(g.x,g.y,+n[m],+n[m+1],+n[m+2],+n[m+3],u.x,u.y,1/(c*2e5),s,s.length-1);for(d=s.length,m=0;m<d;m++)y=s[m],v=s[m-1]||y,(y.x>v.x||v.y!==y.y&&v.x===y.x||y===v)&&y.x<=1?(v.cx=y.x-v.x,v.cy=y.y-v.y,v.n=y,v.nx=y.x,h&&m>1&&Math.abs(v.cy/v.cx-s[m-2].cy/s[m-2].cx)>2&&(h=0),v.cx<o&&(v.cx?o=v.cx:(v.cx=.001,m===d-1&&(v.x-=.001,o=Math.min(o,.001),h=0)))):(s.splice(m--,1),d--);if(d=1/o+1|0,p=1/d,_=0,y=s[0],h){for(m=0;m<d;m++)b=m*p,y.nx<b&&(y=s[++_]),g=y.y+(b-y.x)/y.cx*y.cy,f[m]={x:b,cx:p,y:g,cy:0,nx:9},m&&(f[m-1].cy=g-f[m-1].y);_=s[s.length-1],f[d-1].cy=_.y-g,f[d-1].cx=_.x-f[f.length-1].x;}else {for(m=0;m<d;m++)y.nx<m*p&&(y=s[++_]),f[m]=y;_<s.length-1&&(f[m-1]=s[s.length-2]);}return this.ease=function(w){var x=f[w*d|0]||f[d-1];return x.nx<w&&(x=x.n),x.y+(w-x.x)/x.cx*x.cy},this.ease.custom=this,this.id&&fr&&fr.registerEase(this.id,this.ease),this},"setData"),e.getSVGData=a(function(t){return l.getSVGData(this,t)},"getSVGData"),l.create=a(function(t,i,n){return new l(t,i,n).ease},"create"),l.register=a(function(t){fr=t,Ff();},"register"),l.get=a(function(t){return fr.parseEase(t)},"get"),l.getSVGData=a(function(t,i){i=i||{};var n=i.width||100,o=i.height||100,s=i.x||0,f=(i.y||0)+o,c=fr.utils.toArray(i.path)[0],h,d,g,u,m,p,_,y,v,b;if(i.invert&&(o=-o,f=0),typeof t=="string"&&(t=fr.parseEase(t)),t.custom&&(t=t.custom),t instanceof l)h=If(zf([t.segment.slice(0)],n,0,0,-o,s,f));else {for(h=[s,f],_=Math.max(5,(i.precision||1)*200),u=1/_,_+=2,y=5/_,v=Qs(s+u*n),b=Qs(f+t(u)*-o),d=(b-f)/(v-s),g=2;g<_;g++)m=Qs(s+g*u*n),p=Qs(f+t(g*u)*-o),(Math.abs((p-b)/(m-v)-d)>y||g===_-1)&&(h.push(v,b),d=(p-b)/(m-v)),v=m,b=p;h="M"+h.join(",");}return c&&c.setAttribute("d",h),h},"getSVGData"),l})();Dr.version="3.15.0";Dr.headless=true;Yf()&&fr.registerPlugin(Dr);function Xf(l,e){for(var r=0;r<e.length;r++){var t=e[r];t.enumerable=t.enumerable||false,t.configurable=true,"value"in t&&(t.writable=true),Object.defineProperty(l,t.key,t);}}a(Xf,"_defineProperties");function og(l,e,r){return e&&Xf(l.prototype,e),r&&Xf(l,r),l}a(og,"_createClass");var $e,Zs,jt,fi,Fn,jr,un,Wf,Me,$r,Js,Vf,qf,Gf,Uf,jf=a(function(){return typeof window<"u"},"_windowExists"),$f=a(function(){return $e||jf()&&($e=window.gsap)&&$e.registerPlugin&&$e},"_getGSAP");var ag=a(function(e){return Math.round(e*1e5)/1e5||0},"_round"),Di=a(function(e){return Me.maxScroll(e||jt)},"_maxScroll"),lg=a(function(e,r){var t=e.parentNode||Fn,i=e.getBoundingClientRect(),n=t.getBoundingClientRect(),o=n.top-i.top,s=n.bottom-i.bottom,f=(Math.abs(o)>Math.abs(s)?o:s)/(1-r),c=-f*r,h,d;return f>0&&(h=n.height/(jt.innerHeight+n.height),d=h===.5?n.height*2:Math.min(n.height,Math.abs(-f*h/(2*h-1)))*2*(r||1),c+=r?-d*r:-d/2,f+=d),{change:f,offset:c}},"_autoDistance"),ug=a(function(e){var r=fi.querySelector(".ScrollSmoother-wrapper");return r||(r=fi.createElement("div"),r.classList.add("ScrollSmoother-wrapper"),e.parentNode.insertBefore(r,e),r.appendChild(e)),r},"_wrap"),Ai=(function(){function l(e){var r=this;Zs||l.register($e)||console.warn("Please gsap.registerPlugin(ScrollSmoother)"),e=this.vars=e||{},$r&&$r.kill(),$r=this,Gf(this);var t=e,i=t.smoothTouch,n=t.onUpdate,o=t.onStop,s=t.smooth,f=t.onFocusIn,c=t.normalizeScroll,h=t.wholePixels,d,g,u,m,p,_,y,v,b,w,x,P,S,C,L=this,M=e.effectsPrefix||"",N=Me.getScrollFunc(jt),A=Me.isTouch===1?i===true?.8:parseFloat(i)||0:s===0||s===false?0:parseFloat(s)||.8,H=A&&+e.speed||1,F=0,B=0,$=1,j=Vf(0),ae=a(function(){return j.update(-F)},"updateVelocity"),re={y:0},E=a(function(){return d.style.overflow="visible"},"removeScroll"),Q,Z=a(function(D){D.update();var q=D.getTween();q&&(q.pause(),q._time=q._dur,q._tTime=q._tDur),Q=false,D.animation.progress(D.progress,true);},"killScrub"),pe=a(function(D,q){(D!==F&&!w||q)&&(h&&(D=Math.round(D)),A&&(d.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+D+", 0, 1)",d._gsap.y=D+"px"),B=D-F,F=D,Me.isUpdating||l.isRefreshing||Me.update());},"render"),ee=a(function(D){return arguments.length?(D<0&&(D=0),re.y=-D,Q=true,w?F=-D:pe(-D),Me.isRefreshing?m.update():N(D/H),this):-F},"scrollTop"),ue=typeof ResizeObserver<"u"&&e.autoResize!==false&&new ResizeObserver(function(){if(!Me.isRefreshing){var G=Di(g)*H;G<-F&&ee(G),Uf.restart(true);}}),ce,Le=a(function(D){g.scrollTop=0,!(D.target.contains&&D.target.contains(g)||f&&f(r,D)===false)&&(Me.isInViewport(D.target)||D.target===ce||r.scrollTo(D.target,false,"center center"),ce=D.target);},"_onFocusIn"),ye=a(function(D,q){if(D<q.start)return D;var X=isNaN(q.ratio)?1:q.ratio,ge=q.end-q.start,xe=D-q.start,ke=q.offset||0,We=q.pins||[],ve=We.offset||0,Ge=q._startClamp&&q.start<=0||q.pins&&q.pins.offset?0:q._endClamp&&q.end===Di()?1:.5;return We.forEach(function(Ye){ge-=Ye.distance,Ye.nativeStart<=D&&(xe-=Ye.distance);}),ve&&(xe*=(ge-ve/X)/ge),D+(xe-ke*Ge)/X-xe},"_transformPosition"),Ze=a(function G(D,q,X){X||(D.pins.length=D.pins.offset=0);var ge=D.pins,xe=D.markers,ke,We,ve,Ge,Ye,Ce,pt,ie;for(pt=0;pt<q.length;pt++)if(ie=q[pt],D.trigger&&ie.trigger&&D!==ie&&(ie.trigger===D.trigger||ie.pinnedContainer===D.trigger||D.trigger.contains(ie.trigger))&&(Ye=ie._startNative||ie._startClamp||ie.start,Ce=ie._endNative||ie._endClamp||ie.end,ve=ye(Ye,D),Ge=ie.pin&&Ce>0?ve+(Ce-Ye):ye(Ce,D),ie.setPositions(ve,Ge,true,(ie._startClamp?Math.max(0,ve):ve)-Ye),ie.markerStart&&xe.push($e.quickSetter([ie.markerStart,ie.markerEnd],"y","px")),ie.pin&&ie.end>0&&!X)){if(ke=ie.end-ie.start,We=D._startClamp&&ie.start<0,We){if(D.start>0){D.setPositions(0,D.end+(D._startNative-D.start),true),G(D,q);return}ke+=ie.start,ge.offset=-ie.start;}ge.push({start:ie.start,nativeStart:Ye,end:ie.end,distance:ke,trig:ie}),D.setPositions(D.start,D.end+(We?-ie.start:ke),true);}},"adjustEffectRelatedTriggers"),Te=a(function(D,q){p.forEach(function(X){return Ze(X,D,q)});},"adjustParallaxPosition"),Re=a(function(){Fn=fi.documentElement,jr=fi.body,E(),requestAnimationFrame(E),p&&(Me.getAll().forEach(function(D){D._startNative=D.start,D._endNative=D.end;}),p.forEach(function(D){var q=D._startClamp||D.start,X=D.autoSpeed?Math.min(Di(),D.end):q+Math.abs((D.end-q)/D.ratio),ge=X-D.end;if(q-=ge/2,X-=ge/2,q>X){var xe=q;q=X,X=xe;}D._startClamp&&q<0?(X=D.ratio<0?Di():D.end/D.ratio,ge=X-D.end,q=0):(D.ratio<0||D._endClamp&&X>=Di())&&(X=Di(),q=D.ratio<0||D.ratio>1?0:X-(X-D.start)/D.ratio,ge=(X-q)*D.ratio-(D.end-D.start)),D.offset=ge||1e-4,D.pins.length=D.pins.offset=0,D.setPositions(q,X,true);}),Te(Me.sort())),j.reset();},"onRefresh"),qe=a(function(){return Me.addEventListener("refresh",Re)},"addOnRefresh"),se=a(function(){return p&&p.forEach(function(D){return D.vars.onRefresh(D)})},"restoreEffects"),fe=a(function(){return p&&p.forEach(function(D){return D.vars.onRefreshInit(D)}),se},"revertEffects"),he=a(function(D,q,X,ge){return function(){var xe=typeof q=="function"?q(X,ge):q;xe||xe===0||(xe=ge.getAttribute("data-"+M+D)||(D==="speed"?1:0)),ge.setAttribute("data-"+M+D,xe);var ke=(xe+"").substr(0,6)==="clamp(";return {clamp:ke,value:ke?xe.substr(6,xe.length-7):xe}}},"effectValueGetter"),ut=a(function(D,q,X,ge,xe){xe=(typeof xe=="function"?xe(ge,D):xe)||0;var ke=he("speed",q,ge,D),We=he("lag",X,ge,D),ve=$e.getProperty(D,"y"),Ge=D._gsap,Ye,Ce,pt,ie,Tr,Ct,St=[],$t=a(function(){q=ke(),X=parseFloat(We().value),Ye=parseFloat(q.value)||1,pt=q.value==="auto",Tr=pt||Ce&&Ce._startClamp&&Ce.start<=0||St.offset?0:Ce&&Ce._endClamp&&Ce.end===Di()?1:.5,ie&&ie.kill(),ie=X&&$e.to(D,{ease:Js,overwrite:false,y:"+=0",duration:X}),Ce&&(Ce.ratio=Ye,Ce.autoSpeed=pt);},"initDynamicValues"),or=a(function(){Ge.y=ve+"px",Ge.renderTransform(1),$t();},"revert"),Mt=[],_e=0,Ht=a(function(Ie){if(pt){or();var Je=lg(D,Wf(0,1,-Ie.start/(Ie.end-Ie.start)));_e=Je.change,Ct=Je.offset;}else Ct=St.offset||0,_e=(Ie.end-Ie.start-Ct)*(1-Ye);St.forEach(function(It){return _e-=It.distance*(1-Ye)}),Ie.offset=_e||.001,Ie.vars.onUpdate(Ie),ie&&ie.progress(1);},"updateChange");return $t(),(Ye!==1||pt||ie)&&(Ce=Me.create({trigger:pt?D.parentNode:D,start:a(function(){return q.clamp?"clamp(top bottom+="+xe+")":"top bottom+="+xe},"start"),end:a(function(){return q.value<0?"max":q.clamp?"clamp(bottom top-="+xe+")":"bottom top-="+xe},"end"),scroller:g,scrub:true,refreshPriority:-999,onRefreshInit:or,onRefresh:Ht,onKill:a(function(Ie){var Je=p.indexOf(Ie);Je>=0&&p.splice(Je,1),or();},"onKill"),onUpdate:a(function(Ie){var Je=ve+_e*(Ie.progress-Tr),It=St.length,te=0,T,Y,k;if(Ie.offset){if(It){for(Y=-F,k=Ie.end;It--;){if(T=St[It],T.trig.isActive||Y>=T.start&&Y<=T.end){ie&&(T.trig.progress+=T.trig.direction<0?.001:-1e-3,T.trig.update(0,0,1),ie.resetTo("y",parseFloat(Ge.y),-B,true),$&&ie.progress(1));return}Y>T.end&&(te+=T.distance),k-=T.distance;}Je=ve+te+_e*(($e.utils.clamp(Ie.start,Ie.end,Y)-Ie.start-te)/(k-Ie.start)-Tr);}Mt.length&&!pt&&Mt.forEach(function(R){return R(Je-te)}),Je=ag(Je+Ct),ie?(ie.resetTo("y",Je,-B,true),$&&ie.progress(1)):(Ge.y=Je+"px",Ge.renderTransform(1));}},"onUpdate")}),Ht(Ce),$e.core.getCache(Ce.trigger).stRevert=fe,Ce.startY=ve,Ce.pins=St,Ce.markers=Mt,Ce.ratio=Ye,Ce.autoSpeed=pt,D.style.willChange="transform"),Ce},"createEffect");qe(),Me.addEventListener("killAll",qe),$e.delayedCall(.5,function(){return $=0}),this.scrollTop=ee,this.scrollTo=function(G,D,q){var X=$e.utils.clamp(0,Di(),isNaN(G)?r.offset(G,q,!!D&&!w):+G);D?w?$e.to(r,{duration:A,scrollTop:X,overwrite:"auto",ease:Js}):N(X):ee(X);},this.offset=function(G,D,q){G=un(G)[0];var X=G.style.cssText,ge=Me.create({trigger:G,start:D||"top top"}),xe;return p&&($?Me.refresh():Te([ge],true)),xe=ge.start/(q?H:1),ge.kill(false),G.style.cssText=X,$e.core.getCache(G).uncache=1,xe};function O(){return u=d.clientHeight,d.style.overflow="visible",jr.style.height=jt.innerHeight+(u-jt.innerHeight)/H+"px",u-jt.innerHeight}a(O,"refreshHeight"),this.content=function(G){if(arguments.length){var D=un(G||"#smooth-content")[0]||console.warn("ScrollSmoother needs a valid content element.")||jr.children[0];return D!==d&&(d=D,b=d.getAttribute("style")||"",ue&&ue.observe(d),$e.set(d,{overflow:"visible",width:"100%",boxSizing:"border-box",y:"+=0"}),A||$e.set(d,{clearProps:"transform"})),this}return d},this.wrapper=function(G){return arguments.length?(g=un(G||"#smooth-wrapper")[0]||ug(d),v=g.getAttribute("style")||"",O(),$e.set(g,A?{overflow:"hidden",position:"fixed",height:"100%",width:"100%",top:0,left:0,right:0,bottom:0}:{overflow:"visible",position:"relative",width:"100%",height:"auto",top:"auto",bottom:"auto",left:"auto",right:"auto"}),this):g},this.effects=function(G,D){var q;if(p||(p=[]),!G)return p.slice(0);G=un(G),G.forEach(function(Ye){for(var Ce=p.length;Ce--;)p[Ce].trigger===Ye&&p[Ce].kill();}),D=D||{};var X=D,ge=X.speed,xe=X.lag,ke=X.effectsPadding,We=[],ve,Ge;for(ve=0;ve<G.length;ve++)Ge=ut(G[ve],ge,xe,ve,ke),Ge&&We.push(Ge);return (q=p).push.apply(q,We),D.refresh!==false&&Me.refresh(),We},this.sections=function(G,D){var q;if(_||(_=[]),!G)return _.slice(0);var X=un(G).map(function(ge){return Me.create({trigger:ge,start:"top 120%",end:"bottom -20%",onToggle:a(function(ke){ge.style.opacity=ke.isActive?"1":"0",ge.style.pointerEvents=ke.isActive?"all":"none";},"onToggle")})});return D&&D.add?(q=_).push.apply(q,X):_=X.slice(0),X},this.content(e.content),this.wrapper(e.wrapper),this.render=function(G){return pe(G||G===0?G:F)},this.getVelocity=function(){return j.getVelocity(-F)},Me.scrollerProxy(g,{scrollTop:ee,scrollHeight:a(function(){return O()&&jr.scrollHeight},"scrollHeight"),fixedMarkers:e.fixedMarkers!==false&&!!A,content:d,getBoundingClientRect:a(function(){return {top:0,left:0,width:jt.innerWidth,height:jt.innerHeight}},"getBoundingClientRect")}),Me.defaults({scroller:g});var He=Me.getAll().filter(function(G){return G.scroller===jt||G.scroller===g});He.forEach(function(G){return G.revert(true,true)}),m=Me.create({animation:$e.fromTo(re,{y:a(function(){return C=0,0},"y")},{y:a(function(){return C=1,-O()},"y"),immediateRender:false,ease:"none",data:"ScrollSmoother",duration:100,onUpdate:a(function(){if(C){var D=Q;D&&(Z(m),re.y=F),pe(re.y,D),ae(),n&&!w&&n(L);}},"onUpdate")}),onRefreshInit:a(function(D){if(!l.isRefreshing){if(l.isRefreshing=true,p){var q=Me.getAll().filter(function(ge){return !!ge.pin});p.forEach(function(ge){ge.vars.pinnedContainer||q.forEach(function(xe){if(xe.pin.contains(ge.trigger)){var ke=ge.vars;ke.pinnedContainer=xe.pin,ge.vars=null,ge.init(ke,ge.animation);}});});}var X=D.getTween();S=X&&X._end>X._dp._time,P=F,re.y=0,A&&(Me.isTouch===1&&(g.style.position="absolute"),g.scrollTop=0,Me.isTouch===1&&(g.style.position="fixed"));}},"onRefreshInit"),onRefresh:a(function(D){D.animation.invalidate(),re.y=0,D.setPositions(D.start,O()/H),S||Z(D),re.y=-N()*H,pe(re.y),$||(S&&(Q=false),D.animation.progress($e.utils.clamp(0,1,P/H/-D.end))),S&&(D.progress-=.001,D.update()),l.isRefreshing=false;},"onRefresh"),id:"ScrollSmoother",scroller:jt,invalidateOnRefresh:true,start:0,refreshPriority:-9999,end:a(function(){return O()/H},"end"),onScrubComplete:a(function(){j.reset(),o&&o(r);},"onScrubComplete"),scrub:A||true}),this.smooth=function(G){return arguments.length&&(A=G||0,H=A&&+e.speed||1,m.scrubDuration(G)),m.getTween()?m.getTween().duration():0},m.getTween()&&(m.getTween().vars.ease=e.ease||Js),this.scrollTrigger=m,e.effects&&this.effects(e.effects===true?"[data-"+M+"speed], [data-"+M+"lag]":e.effects,{effectsPadding:e.effectsPadding,refresh:false}),e.sections&&this.sections(e.sections===true?"[data-section]":e.sections),He.forEach(function(G){G.vars.scroller=g,G.revert(false,true),G.init(G.vars,G.animation);}),this.paused=function(G,D){return arguments.length?(!!w!==G&&(G?(m.getTween()&&m.getTween().pause(),N(-F/H),j.reset(),x=Me.normalizeScroll(),x&&x.disable(),w=Me.observe({preventDefault:true,type:"wheel,touch,scroll",debounce:false,allowClicks:true,onChangeY:a(function(){return ee(-F)},"onChangeY")}),w.nested=qf(Fn,"wheel,touch,scroll",true,D!==false)):(w.nested.kill(),w.kill(),w=0,x&&x.enable(),m.progress=(-F/H-m.start)/(m.end-m.start),Z(m))),this):!!w},this.kill=this.revert=function(){r.paused(false),Z(m),m.kill();for(var G=(p||[]).concat(_||[]),D=G.length;D--;)G[D].kill();Me.scrollerProxy(g),Me.removeEventListener("killAll",qe),Me.removeEventListener("refresh",Re),g.style.cssText=v,d.style.cssText=b;var q=Me.defaults({});q&&q.scroller===g&&Me.defaults({scroller:jt}),r.normalizer&&Me.normalizeScroll(false),clearInterval(y),$r=null,ue&&ue.disconnect(),jr.style.removeProperty("height"),jt.removeEventListener("focusin",Le);},this.refresh=function(G,D){return m.refresh(G,D)},c&&(this.normalizer=Me.normalizeScroll(c===true?{debounce:true,content:!A&&d}:c)),Me.config(e),"scrollBehavior"in jt.getComputedStyle(jr)&&$e.set([jr,Fn],{scrollBehavior:"auto"}),jt.addEventListener("focusin",Le),y=setInterval(ae,250),fi.readyState==="loading"||requestAnimationFrame(function(){return Me.refresh()});}return a(l,"ScrollSmoother"),l.register=a(function(r){return Zs||($e=r||$f(),jf()&&window.document&&(jt=window,fi=document,Fn=fi.documentElement,jr=fi.body),$e&&(un=$e.utils.toArray,Wf=$e.utils.clamp,Js=$e.parseEase("expo"),Gf=$e.core.context||function(){},Me=$e.core.globals().ScrollTrigger,$e.core.globals("ScrollSmoother",l),jr&&Me&&(Uf=$e.delayedCall(.2,function(){return Me.isRefreshing||$r&&$r.refresh()}).pause(),Vf=Me.core._getVelocityProp,qf=Me.core._inputObserver,l.refresh=Me.refresh,Zs=1))),Zs},"register"),og(l,[{key:"progress",get:a(function(){return this.scrollTrigger?this.scrollTrigger.animation._time/100:0},"get")}]),l})();Ai.version="3.15.0";Ai.create=function(l){return $r&&l&&$r.content()===un(l.content)[0]?$r:new Ai(l)};Ai.get=function(){return $r};$f()&&$e.registerPlugin(Ai);var cg=1,Wn,Nt,it,qo,Ri,hi,Kl,Kf=a(function(e,r){return e.actions.forEach(function(t){return t.vars[r]&&t.vars[r](t)})},"_forEachBatch"),Ql={},Qf=180/Math.PI,fg=Math.PI/180,ra={},Zf={},oa={},Jl=a(function(e){return typeof e=="string"?e.split(" ").join("").split(","):e},"_listToArray"),hg=Jl("onStart,onUpdate,onComplete,onReverseComplete,onInterrupt"),sa=Jl("transform,transformOrigin,width,height,position,top,left,opacity,zIndex,maxWidth,maxHeight,minWidth,minHeight"),Go=a(function(e){return Wn(e)[0]||console.warn("Element not found:",e)},"_getEl"),Bn=a(function(e){return Math.round(e*1e4)/1e4||0},"_round"),Vl=a(function(e,r,t){return e.forEach(function(i){return i.classList[t](r)})},"_toggleClass"),Jf={zIndex:1,kill:1,simple:1,spin:1,clearProps:1,targets:1,toggleClass:1,onComplete:1,onUpdate:1,onInterrupt:1,onStart:1,delay:1,repeat:1,repeatDelay:1,yoyo:1,scale:1,fade:1,absolute:1,props:1,onEnter:1,onLeave:1,custom:1,paused:1,nested:1,prune:1,absoluteOnLeave:1},oh={zIndex:1,simple:1,clearProps:1,scale:1,absolute:1,fitChild:1,getVars:1,props:1},sh=a(function(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()},"_camelToDashed"),Yn=a(function(e,r){var t={},i;for(i in e)r[i]||(t[i]=e[i]);return t},"_copy"),eu={},ah=a(function(e){var r=eu[e]=Jl(e);return oa[e]=r.concat(sa),r},"_memoizeProps"),pg=a(function(e){var r=e._gsap||Nt.core.getCache(e);return r.gmCache===Nt.ticker.frame?r.gMatrix:(r.gmCache=Nt.ticker.frame,r.gMatrix=bt(e,true,false,true))},"_getInverseGlobalMatrix"),dg=a(function l(e,r,t){t===void 0&&(t=0);for(var i=e.parentNode,n=1e3*Math.pow(10,t)*(r?-1:1),o=r?-n*900:0;e;)o+=n,e=e.previousSibling;return i?o+l(i,r,t+1):o},"_getDOMDepth"),ia=a(function(e,r,t){return e.forEach(function(i){return i.d=dg(t?i.element:i.t,r)}),e.sort(function(i,n){return i.d-n.d}),e},"_orderByDOMDepth"),Uo=a(function(e,r){for(var t=e.element.style,i=e.css=e.css||[],n=r.length,o,s;n--;)o=r[n],s=t[o]||t.getPropertyValue(o),i.push(s?o:Zf[o]||(Zf[o]=sh(o)),s);return t},"_recordInlineStyles"),na=a(function(e){var r=e.css,t=e.element.style,i=0;for(e.cache.uncache=1;i<r.length;i+=2)r[i+1]?t[r[i]]=r[i+1]:t.removeProperty(r[i]);!r[r.indexOf("transform")+1]&&t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"));},"_applyInlineStyles"),eh=a(function(e,r){e.forEach(function(t){return t.a.cache.uncache=1}),r||e.finalStates.forEach(na);},"_setFinalStates"),ql="paddingTop,paddingRight,paddingBottom,paddingLeft,gridArea,transition".split(","),tu=a(function(e,r,t){var i=e.element,n=e.width,o=e.height,s=e.uncache,f=e.getProp,c=i.style,h=4,d,g,u;if(typeof r!="object"&&(r=e),it&&t!==1)return it._abs.push({t:i,b:e,a:e,sd:0}),it._final.push(function(){return (e.cache.uncache=1)&&na(e)}),i;for(g=f("display")==="none",(!e.isVisible||g)&&(g&&(Uo(e,["display"]).display=r.display),e.matrix=r.matrix,e.width=n=e.width||r.width,e.height=o=e.height||r.height),Uo(e,ql),u=window.getComputedStyle(i);h--;)c[ql[h]]=u[ql[h]];if(c.gridArea="1 / 1 / 1 / 1",c.transition="none",c.position="absolute",c.width=n+"px",c.height=o+"px",c.top||(c.top="0px"),c.left||(c.left="0px"),s)d=new cn(i);else if(d=Yn(e,ra),d.position="absolute",e.simple){var m=i.getBoundingClientRect();d.matrix=new zr(1,0,0,1,m.left+Ws(),m.top+Xs());}else d.matrix=bt(i,false,false,true);return d=Xn(d,e,true),e.x=hi(d.x,.01),e.y=hi(d.y,.01),i},"_makeAbsolute"),th=a(function(e,r){return r!==true&&(r=Wn(r),e=e.filter(function(t){if(r.indexOf((t.sd<0?t.b:t.a).element)!==-1)return true;t.t._gsap.renderTransform(1),t.b.isVisible&&(t.t.style.width=t.b.width+"px",t.t.style.height=t.b.height+"px");})),e},"_filterComps"),lh=a(function(e){return ia(e,true).forEach(function(r){return (r.a.isVisible||r.b.isVisible)&&tu(r.sd<0?r.b:r.a,r.b,1)})},"_makeCompsAbsolute"),gg=a(function(e,r){return r&&e.idLookup[Zl(r).id]||e.elementStates[0]},"_findElStateInState"),Zl=a(function(e,r,t,i){return e instanceof cn?e:e instanceof Fr?gg(e,i):new cn(typeof e=="string"?Go(e)||console.warn(e+" not found"):e,r,t)},"_parseElementState"),mg=a(function(e,r){for(var t=Nt.getProperty(e.element,null,"native"),i=e.props={},n=r.length;n--;)i[r[n]]=(t(r[n])+"").trim();return i.zIndex&&(i.zIndex=parseFloat(i.zIndex)||0),e},"_recordProps"),uh=a(function(e,r){var t=e.style||e,i;for(i in r)t[i]=r[i];},"_applyProps"),_g=a(function(e){var r=e.getAttribute("data-flip-id");return r||e.setAttribute("data-flip-id",r="auto-"+cg++),r},"_getID"),ch=a(function(e){return e.map(function(r){return r.element})},"_elementsFromElementStates"),rh=a(function(e,r,t){return e&&r.length&&t.add(e(ch(r),t,new Fr(r,0,true)),0)},"_handleCallback"),Xn=a(function(e,r,t,i,n,o){var s=e.element,f=e.cache,c=e.parent,h=e.x,d=e.y,g=r.width,u=r.height,m=r.scaleX,p=r.scaleY,_=r.rotation,y=r.bounds,v=o&&Kl&&Kl(s,"transform,width,height"),b=e,w=r.matrix,x=w.e,P=w.f,S=e.bounds.width!==y.width||e.bounds.height!==y.height||e.scaleX!==m||e.scaleY!==p||e.rotation!==_,C=!S&&e.simple&&r.simple&&!n,L,M,N,A,H,F,B;return C||!c?(m=p=1,_=L=0):(H=pg(c),F=H.clone().multiply(r.ctm?r.matrix.clone().multiply(r.ctm):r.matrix),_=Bn(Math.atan2(F.b,F.a)*Qf),L=Bn(Math.atan2(F.c,F.d)*Qf+_)%360,m=Math.sqrt(Math.pow(F.a,2)+Math.pow(F.b,2)),p=Math.sqrt(Math.pow(F.c,2)+Math.pow(F.d,2))*Math.cos(L*fg),n&&(n=Wn(n)[0],A=Nt.getProperty(n),B=n.getBBox&&typeof n.getBBox=="function"&&n.getBBox(),b={scaleX:A("scaleX"),scaleY:A("scaleY"),width:B?B.width:Math.ceil(parseFloat(A("width","px"))),height:B?B.height:parseFloat(A("height","px"))}),f.rotation=_+"deg",f.skewX=L+"deg"),t?(m*=g===b.width||!b.width?1:g/b.width,p*=u===b.height||!b.height?1:u/b.height,f.scaleX=m,f.scaleY=p):(g=hi(g*m/b.scaleX,0),u=hi(u*p/b.scaleY,0),s.style.width=g+"px",s.style.height=u+"px"),i&&uh(s,r.props),C||!c?(h+=x-e.matrix.e,d+=P-e.matrix.f):S||c!==r.parent?(f.x=h+"px",f.y=d+"px",f.renderTransform(1,f),F=bt(n||s,false,false,true),M=H.apply({x:F.e,y:F.f}),N=H.apply({x,y:P}),h+=N.x-M.x,d+=N.y-M.y):(H.e=H.f=0,N=H.apply({x:x-e.matrix.e,y:P-e.matrix.f}),h+=N.x,d+=N.y),h=hi(h,.02),d=hi(d,.02),o&&!(o instanceof cn)?v&&v.revert():(f.x=h+"px",f.y=d+"px",f.renderTransform(1,f)),o&&(o.x=h,o.y=d,o.rotation=_,o.skewX=L,t?(o.scaleX=m,o.scaleY=p):(o.width=g,o.height=u)),o||f},"_fit"),Gl=a(function(e,r){return e instanceof Fr?e:new Fr(e,r)},"_parseState"),fh=a(function(e,r,t){var i=e.idLookup[t],n=e.alt[t];return n.isVisible&&(!(r.getElementState(n.element)||n).isVisible||!i.isVisible)?n:i},"_getChangingElState"),Ul=[],jl="width,height,overflowX,overflowY".split(","),ea,ih=a(function(e){if(e!==ea){var r=Ri.style,t=Ri.clientWidth===window.outerWidth,i=Ri.clientHeight===window.outerHeight,n=4;if(e&&(t||i)){for(;n--;)Ul[n]=r[jl[n]];t&&(r.width=Ri.clientWidth+"px",r.overflowY="hidden"),i&&(r.height=Ri.clientHeight+"px",r.overflowX="hidden"),ea=e;}else if(ea){for(;n--;)Ul[n]?r[jl[n]]=Ul[n]:r.removeProperty(sh(jl[n]));ea=e;}}},"_lockBodyScroll"),nh=a(function(e,r){for(var t=0;t<e.length;t+=3)Nt.set(e[t],{clearProps:true}),e[t].setAttribute("style",e[t+r]),e[t]._gsap.gmCache=-1;},"_revertTempStyles"),$l=a(function(e,r,t,i){e instanceof Fr&&r instanceof Fr||console.warn("Not a valid state object."),t=t||{};var n=t,o=n.clearProps,s=n.onEnter,f=n.onLeave,c=n.absolute,h=n.absoluteOnLeave,d=n.custom,g=n.delay,u=n.paused,m=n.repeat,p=n.repeatDelay,_=n.yoyo,y=n.toggleClass,v=n.nested,b=n.zIndex,w=n.scale,x=n.fade,P=n.stagger,S=n.spin,C=n.prune,L=("props"in t?t:e).props,M=Yn(t,Jf),N=Nt.timeline({delay:g,paused:u,repeat:m,repeatDelay:p,yoyo:_,data:"isFlip"}),A=M,H=[],F=[],B=[],$=[],j=S===true?1:S||0,ae=typeof S=="function"?S:function(){return j},re=e.interrupted||r.interrupted,E=N[i!==1?"to":"from"],Q,Z,pe,ee,ue,ce,Le,ye,Ze,Te,Re,qe,se,fe;for(Z in r.idLookup)Re=r.alt[Z]?fh(r,e,Z):r.idLookup[Z],ue=Re.element,Te=e.idLookup[Z],e.alt[Z]&&ue===Te.element&&(e.alt[Z].isVisible||!Re.isVisible)&&(Te=e.alt[Z]),Te?(ce={t:ue,b:Te,a:Re,sd:Te.element===ue?0:Re.isVisible?1:-1},B.push(ce),ce.sd&&(ce.sd<0&&(ce.b=Re,ce.a=Te),re&&Uo(ce.b,L?oa[L]:sa),x&&B.push(ce.swap={t:Te.element,b:ce.b,a:ce.a,sd:-ce.sd,swap:ce})),ue._flip=Te.element._flip=it?it.timeline:N):Re.isVisible&&(B.push({t:ue,b:Yn(Re,{isVisible:1}),a:Re,sd:0,entering:1}),ue._flip=it?it.timeline:N);if(L&&(eu[L]||ah(L)).forEach(function(O){return M[O]=function(He){return B[He].a.props[O]}}),B.finalStates=Ze=[],qe=a(function(){ia(B),ih(true);var He=[];for(ee=0;ee<B.length;ee++)ce=B[ee],se=ce.a,fe=ce.b,C&&!se.isDifferent(fe)&&!ce.entering?B.splice(ee--,1):(ue=ce.t,v&&!(ce.sd<0)&&ee&&(se=ce.a=se.clone({matrix:bt(ue,false,false,true)})),fe.isVisible&&se.isVisible?(ce.sd<0?(v&&nh(He,1),Le=new cn(ue,L,e.simple),Xn(Le,se,w,0,0,Le),Le.matrix=bt(ue,false,false,true),Le.bounds=ue.getBoundingClientRect(),Le.css=ce.b.css,ce.a=se=Le,x&&(ue.style.opacity=re?fe.opacity:se.opacity),P&&$.push(ue),v&&(nh(He,2),He.push(ue,ue.getAttribute("style")))):ce.sd>0&&x&&(ue.style.opacity=re?se.opacity-fe.opacity:"0"),Xn(se,fe,w,L),v&&ce.sd<0&&He.push(ue.getAttribute("style"))):fe.isVisible!==se.isVisible&&(fe.isVisible?se.isVisible||(fe.css=se.css,F.push(fe),B.splice(ee--,1),c&&v&&Xn(se,fe,w,L)):(se.isVisible&&H.push(se),B.splice(ee--,1))),w||(ue.style.maxWidth=Math.max(se.width,fe.width)+"px",ue.style.maxHeight=Math.max(se.height,fe.height)+"px",ue.style.minWidth=Math.min(se.width,fe.width)+"px",ue.style.minHeight=Math.min(se.height,fe.height)+"px"),v&&y&&ue.classList.add(y)),Ze.push(se);var G;if(y&&(G=Ze.map(function(X){return X.element}),v&&G.forEach(function(X){return X.classList.remove(y)})),ih(false),w?(M.scaleX=function(X){return B[X].a.scaleX},M.scaleY=function(X){return B[X].a.scaleY}):(M.width=function(X){return B[X].a.width+"px"},M.height=function(X){return B[X].a.height+"px"},M.autoRound=t.autoRound||false),M.x=function(X){return B[X].a.x+"px"},M.y=function(X){return B[X].a.y+"px"},M.rotation=function(X){return B[X].a.rotation+(S?ae(X,ye[X],ye)*360:0)},M.skewX=function(X){return B[X].a.skewX},ye=B.map(function(X){return X.t}),(b||b===0)&&(M.modifiers={zIndex:a(function(){return b},"zIndex")},M.zIndex=b,M.immediateRender=t.immediateRender!==false),x&&(M.opacity=function(X){return B[X].sd<0?0:B[X].sd>0?B[X].a.opacity:"+=0"}),$.length){P=Nt.utils.distribute(P);var D=ye.slice($.length);M.stagger=function(X,ge){return P(~$.indexOf(ge)?ye.indexOf(B[X].swap.t):X,ge,D)};}if(hg.forEach(function(X){return t[X]&&N.eventCallback(X,t[X],t[X+"Params"])}),d&&ye.length){A=Yn(M,Jf),"scale"in d&&(d.scaleX=d.scaleY=d.scale,delete d.scale);for(Z in d)Q=Yn(d[Z],oh),Q[Z]=M[Z],!("duration"in Q)&&"duration"in M&&(Q.duration=M.duration),Q.stagger=M.stagger,E.call(N,ye,Q,0),delete A[Z];}(ye.length||F.length||H.length)&&(y&&N.add(function(){return Vl(G,y,N._zTime<0?"remove":"add")},0)&&!u&&Vl(G,y,"add"),ye.length&&E.call(N,ye,A,0)),rh(s,H,N),rh(f,F,N);var q=it&&it.timeline;q&&(q.add(N,0),it._final.push(function(){return eh(B,!o)})),pe=N.duration(),N.call(function(){var X=N.time()>=pe;X&&!q&&eh(B,!o),y&&Vl(G,y,X?"remove":"add");});},"run"),h&&(c=B.filter(function(O){return !O.sd&&!O.a.isVisible&&O.b.isVisible}).map(function(O){return O.a.element})),it){var he;c&&(he=it._abs).push.apply(he,th(B,c)),it._run.push(qe);}else c&&lh(th(B,c)),qe();var ut=it?it.timeline:N;return ut.revert=function(){return ru(ut,1,1)},ut},"_fromTo"),yg=a(function l(e){e.vars.onInterrupt&&e.vars.onInterrupt.apply(e,e.vars.onInterruptParams||[]),e.getChildren(true,false,true).forEach(l);},"_interrupt"),ru=a(function(e,r,t){if(e&&e.progress()<1&&(!e.paused()||t))return r&&(yg(e),r<2&&e.progress(1),e.kill()),true},"_killFlip"),ta=a(function(e){for(var r=e.idLookup={},t=e.alt={},i=e.elementStates,n=i.length,o;n--;)o=i[n],r[o.id]?t[o.id]=o:r[o.id]=o;},"_createLookup"),Fr=(function(){function l(r,t,i){if(this.props=t&&t.props,this.simple=!!(t&&t.simple),i)this.targets=ch(r),this.elementStates=r,ta(this);else {this.targets=Wn(r);var n=t&&(t.kill===false||t.batch&&!t.kill);it&&!n&&it._kill.push(this),this.update(n||!!it);}}a(l,"FlipState");var e=l.prototype;return e.update=a(function(t){var i=this;return this.elementStates=this.targets.map(function(n){return new cn(n,i.props,i.simple)}),ta(this),this.interrupt(t),this.recordInlineStyles(),this},"update"),e.clear=a(function(){return this.targets.length=this.elementStates.length=0,ta(this),this},"clear"),e.fit=a(function(t,i,n){for(var o=ia(this.elementStates.slice(0),false,true),s=(t||this).idLookup,f=0,c,h;f<o.length;f++)c=o[f],n&&(c.matrix=bt(c.element,false,false,true)),h=s[c.id],h&&Xn(c,h,i,true,0,c),c.matrix=bt(c.element,false,false,true);return this},"fit"),e.getProperty=a(function(t,i){var n=this.getElementState(t)||ra;return (i in n?n:n.props||ra)[i]},"getProperty"),e.add=a(function(t){for(var i=t.targets.length,n=this.idLookup,o=this.alt,s,f,c;i--;)f=t.elementStates[i],c=n[f.id],c&&(f.element===c.element||o[f.id]&&o[f.id].element===f.element)?(s=this.elementStates.indexOf(f.element===c.element?c:o[f.id]),this.targets.splice(s,1,t.targets[i]),this.elementStates.splice(s,1,f)):(this.targets.push(t.targets[i]),this.elementStates.push(f));return t.interrupted&&(this.interrupted=true),t.simple||(this.simple=false),ta(this),this},"add"),e.compare=a(function(t){var i=t.idLookup,n=this.idLookup,o=[],s=[],f=[],c=[],h=[],d=t.alt,g=this.alt,u=a(function(C,L,M){return (C.isVisible!==L.isVisible?C.isVisible?f:c:C.isVisible?s:o).push(M)&&h.push(M)},"place"),m=a(function(C,L,M){return h.indexOf(M)<0&&u(C,L,M)},"placeIfDoesNotExist"),p,_,y,v,b,w,x,P;for(y in i)b=d[y],w=g[y],p=b?fh(t,this,y):i[y],v=p.element,_=n[y],w?(P=_.isVisible||!w.isVisible&&v===_.element?_:w,x=b&&!p.isVisible&&!b.isVisible&&P.element===b.element?b:p,x.isVisible&&P.isVisible&&x.element!==P.element?((x.isDifferent(P)?s:o).push(x.element,P.element),h.push(x.element,P.element)):u(x,P,x.element),b&&x.element===b.element&&(b=i[y]),m(x.element!==_.element&&b?b:x,_,_.element),m(b&&b.element===w.element?b:x,w,w.element),b&&m(b,w.element===b.element?w:_,b.element)):(_?_.isDifferent(p)?u(p,_,v):o.push(v):f.push(v),b&&m(b,_,b.element));for(y in n)i[y]||(c.push(n[y].element),g[y]&&c.push(g[y].element));return {changed:s,unchanged:o,enter:f,leave:c}},"compare"),e.recordInlineStyles=a(function(){for(var t=oa[this.props]||sa,i=this.elementStates.length;i--;)Uo(this.elementStates[i],t);},"recordInlineStyles"),e.interrupt=a(function(t){var i=this,n=[];this.targets.forEach(function(o){var s=o._flip,f=ru(s,t?0:1);t&&f&&n.indexOf(s)<0&&s.add(function(){return i.updateVisibility()}),f&&n.push(s);}),!t&&n.length&&this.updateVisibility(),this.interrupted||(this.interrupted=!!n.length);},"interrupt"),e.updateVisibility=a(function(){this.elementStates.forEach(function(t){var i=t.element.getBoundingClientRect();t.isVisible=!!(i.width||i.height||i.top||i.left),t.uncache=1;});},"updateVisibility"),e.getElementState=a(function(t){return this.elementStates[this.targets.indexOf(Go(t))]},"getElementState"),e.makeAbsolute=a(function(){return ia(this.elementStates.slice(0),true,true).map(tu)},"makeAbsolute"),l})(),cn=(function(){function l(r,t,i){r instanceof l?Object.assign(this,r,t||{}):(this.element=r,this.update(t,i));}a(l,"ElementState");var e=l.prototype;return e.isDifferent=a(function(t){var i=this.bounds,n=t.bounds;return i.top!==n.top||i.left!==n.left||i.width!==n.width||i.height!==n.height||!this.matrix.equals(t.matrix)||this.opacity!==t.opacity||this.props&&t.props&&JSON.stringify(this.props)!==JSON.stringify(t.props)},"isDifferent"),e.clone=a(function(t){return new l(this,t)},"clone"),e.update=a(function(t,i){var n=this,o=n.element,s=Nt.getProperty(o),f=Nt.core.getCache(o),c=o.getBoundingClientRect(),h=o.getBBox&&typeof o.getBBox=="function"&&o.nodeName.toLowerCase()!=="svg"&&o.getBBox(),d=i?new zr(1,0,0,1,c.left+Ws(),c.top+Xs()):bt(o,false,false,true);f.uncache=1,n.getProp=s,n.element=o,n.id=_g(o),n.matrix=d,n.cache=f,n.bounds=c,n.isVisible=!!(c.width||c.height||c.left||c.top),n.display=s("display"),n.position=s("position"),n.parent=o.parentNode,n.x=s("x","px"),n.y=s("y","px"),n.scaleX=f.scaleX,n.scaleY=f.scaleY,n.rotation=s("rotation"),n.skewX=s("skewX"),n.opacity=s("opacity"),n.width=h?h.width:hi(s("width","px"),.04),n.height=h?h.height:hi(s("height","px"),.04),t&&mg(n,eu[t]||ah(t)),n.ctm=o.getCTM&&o.nodeName.toLowerCase()==="svg"&&Dl(o).inverse(),n.simple=i||Bn(d.a)===1&&!Bn(d.b)&&!Bn(d.c)&&Bn(d.d)===1,n.uncache=0;},"update"),l})(),vg=(function(){function l(r,t){this.vars=r,this.batch=t,this.states=[],this.timeline=t.timeline;}a(l,"FlipAction");var e=l.prototype;return e.getStateById=a(function(t){for(var i=this.states.length;i--;)if(this.states[i].idLookup[t])return this.states[i]},"getStateById"),e.kill=a(function(){this.batch.remove(this);},"kill"),l})(),xg=(function(){function l(r){this.id=r,this.actions=[],this._kill=[],this._final=[],this._abs=[],this._run=[],this.data={},this.state=new Fr,this.timeline=Nt.timeline();}a(l,"FlipBatch");var e=l.prototype;return e.add=a(function(t){var i=this.actions.filter(function(n){return n.vars===t});return i.length?i[0]:(i=new vg(typeof t=="function"?{animate:t}:t,this),this.actions.push(i),i)},"add"),e.remove=a(function(t){var i=this.actions.indexOf(t);return i>=0&&this.actions.splice(i,1),this},"remove"),e.getState=a(function(t){var i=this,n=it,o=qo;return it=this,this.state.clear(),this._kill.length=0,this.actions.forEach(function(s){s.vars.getState&&(s.states.length=0,qo=s,s.state=s.vars.getState(s)),t&&s.states.forEach(function(f){return i.state.add(f)});}),qo=o,it=n,this.killConflicts(),this},"getState"),e.animate=a(function(){var t=this,i=it,n=this.timeline,o=this.actions.length,s,f;for(it=this,n.clear(),this._abs.length=this._final.length=this._run.length=0,this.actions.forEach(function(c){c.vars.animate&&c.vars.animate(c);var h=c.vars.onEnter,d=c.vars.onLeave,g=c.targets,u,m;g&&g.length&&(h||d)&&(u=new Fr,c.states.forEach(function(p){return u.add(p)}),m=u.compare(Ni.getState(g)),m.enter.length&&h&&h(m.enter),m.leave.length&&d&&d(m.leave));}),lh(this._abs),this._run.forEach(function(c){return c()}),f=n.duration(),s=this._final.slice(0),n.add(function(){f<=n.time()&&(s.forEach(function(c){return c()}),Kf(t,"onComplete"));}),it=i;o--;)this.actions[o].vars.once&&this.actions[o].kill();return Kf(this,"onStart"),n.restart(),this},"animate"),e.loadState=a(function(t){t||(t=a(function(){return 0},"done"));var i=[];return this.actions.forEach(function(n){if(n.vars.loadState){var o,s=a(function f(c){c&&(n.targets=c),o=i.indexOf(f),~o&&(i.splice(o,1),i.length||t());},"f");i.push(s),n.vars.loadState(s);}}),i.length||t(),this},"loadState"),e.setState=a(function(){return this.actions.forEach(function(t){return t.targets=t.vars.setState&&t.vars.setState(t)}),this},"setState"),e.killConflicts=a(function(t){return this.state.interrupt(t),this._kill.forEach(function(i){return i.interrupt(t)}),this},"killConflicts"),e.run=a(function(t,i){var n=this;return this!==it&&(t||this.getState(i),this.loadState(function(){n._killed||(n.setState(),n.animate());})),this},"run"),e.clear=a(function(t){this.state.clear(),t||(this.actions.length=0);},"clear"),e.getStateById=a(function(t){for(var i=this.actions.length,n;i--;)if(n=this.actions[i].getStateById(t),n)return n;return this.state.idLookup[t]&&this.state},"getStateById"),e.kill=a(function(){this._killed=1,this.clear(),delete Ql[this.id];},"kill"),l})(),Ni=(function(){function l(){}return a(l,"Flip"),l.getState=a(function(r,t){var i=Gl(r,t);return qo&&qo.states.push(i),t&&t.batch&&l.batch(t.batch).state.add(i),i},"getState"),l.from=a(function(r,t){return t=t||{},"clearProps"in t||(t.clearProps=true),$l(r,Gl(t.targets||r.targets,{props:t.props||r.props,simple:t.simple,kill:!!t.kill}),t,-1)},"from"),l.to=a(function(r,t){return $l(r,Gl(t.targets||r.targets,{props:t.props||r.props,simple:t.simple,kill:!!t.kill}),t,1)},"to"),l.fromTo=a(function(r,t,i){return $l(r,t,i)},"fromTo"),l.fit=a(function(r,t,i){var n=i?Yn(i,oh):{},o=i||n,s=o.absolute,f=o.scale,c=o.getVars,h=o.props,d=o.runBackwards,g=o.onComplete,u=o.simple,m=i&&i.fitChild&&Go(i.fitChild),p=Zl(t,h,u,r),_=Zl(r,0,u,p),y=h?oa[h]:sa,v=Nt.context();return h&&uh(n,p.props),Uo(_,y),d&&("immediateRender"in n||(n.immediateRender=true),n.onComplete=function(){na(_),g&&g.apply(this,arguments);}),s&&tu(_,p),n=Xn(_,p,f||m,!n.duration&&h,m,n.duration||c?n:0),typeof i=="object"&&"zIndex"in i&&(n.zIndex=i.zIndex),v&&!c&&v.add(function(){return function(){return na(_)}}),c?n:n.duration?Nt.to(_.element,n):null},"fit"),l.makeAbsolute=a(function(r,t){return (r instanceof Fr?r:new Fr(r,t)).makeAbsolute()},"makeAbsolute"),l.batch=a(function(r){return r||(r="default"),Ql[r]||(Ql[r]=new xg(r))},"batch"),l.killFlipsOf=a(function(r,t){(r instanceof Fr?r.targets:Wn(r)).forEach(function(i){return i&&ru(i._flip,t!==false?1:2)});},"killFlipsOf"),l.isFlipping=a(function(r){var t=l.getByTarget(r);return !!t&&t.isActive()},"isFlipping"),l.getByTarget=a(function(r){return (Go(r)||ra)._flip},"getByTarget"),l.getElementState=a(function(r,t){return new cn(Go(r),t)},"getElementState"),l.convertCoordinates=a(function(r,t,i){var n=bt(t,true,true).multiply(bt(r));return i?n.apply(i):n},"convertCoordinates"),l.register=a(function(r){if(Ri=typeof document<"u"&&document.body,Ri){Nt=r,Ys(Ri),Wn=Nt.utils.toArray,Kl=Nt.core.getStyleSaver;var t=Nt.utils.snap(.1);hi=a(function(n,o){return t(parseFloat(n)+o)},"_closestTenth");}},"register"),l})();Ni.version="3.15.0";typeof window<"u"&&window.gsap&&window.gsap.registerPlugin(Ni);function we(l,e){return l?typeof l=="string"?Array.from((e??document).querySelectorAll(l)):l instanceof Element?[l]:l instanceof NodeList||Array.isArray(l)?Array.from(l):[]:[]}a(we,"toArray");function Pe(l,e){return we(l,e)[0]??null}a(Pe,"one");function wg(l){typeof document>"u"||(document.readyState==="loading"?document.addEventListener("DOMContentLoaded",l,{once:true}):l());}a(wg,"onReady");function bg(...l){return ()=>{for(let e=l.length-1;e>=0;e--)try{l[e]?.();}catch{}}}a(bg,"compose");function Tg(l){let e=0,r=false,t=a(()=>{r=false,l();},"run");return a(()=>{r||(r=true,e=requestAnimationFrame(t));},"schedule")(),()=>cancelAnimationFrame(e)}a(Tg,"raf");function pi(){return typeof window>"u"||typeof window.matchMedia!="function"?false:window.matchMedia("(prefers-reduced-motion: reduce)").matches}a(pi,"prefersReducedMotion");var zt={curtain:"ak-curtain",cardStack:"ak-card-stack",reveal:"ak-reveal",preloadOut:"ak-preload-out"},hh=false;function de(){if(!(hh||typeof window>"u")){hh=true,I.registerPlugin(U,Ci,ci,Dr,Ni);try{I.registerPlugin(Ai);}catch{}Dr.get(zt.curtain)||(Dr.create(zt.curtain,".76,0,.2,1"),Dr.create(zt.cardStack,"M0,0 C0,0 0.098,0.613 0.5,0.5 0.899,0.386 1,1 1,1"),Dr.create(zt.reveal,".165,.84,.44,1"),Dr.create(zt.preloadOut,".895,.03,.685,.22")),U.config({ignoreMobileResize:true});}}a(de,"initGSAP");de();function hr(l){let r=(Array.isArray(l)?l:we(l)).filter(t=>t instanceof Element);I.getTweensOf(r).forEach(t=>t.kill());}a(hr,"killTweens");var ph="1.3.26";function mh(l,e,r){return Math.max(l,Math.min(e,r))}a(mh,"clamp");function Sg(l,e,r){return (1-r)*l+r*e}a(Sg,"lerp");function Eg(l,e,r,t){return Sg(l,e,1-Math.exp(-r*t))}a(Eg,"damp");function kg(l,e){return (l%e+e)%e}a(kg,"modulo");var Vn,Cg=(Vn=class{constructor(){le(this,"isRunning",false);le(this,"value",0);le(this,"from",0);le(this,"to",0);le(this,"currentTime",0);le(this,"lerp");le(this,"duration");le(this,"easing");le(this,"onUpdate");}advance(e){if(!this.isRunning)return;let r=false;if(this.duration&&this.easing){this.currentTime+=e;let t=mh(0,this.currentTime/this.duration,1);r=t>=1;let i=r?1:this.easing(t);this.value=this.from+(this.to-this.from)*i;}else this.lerp?(this.value=Eg(this.value,this.to,this.lerp*60,e),Math.round(this.value)===Math.round(this.to)&&(this.value=this.to,r=true)):(this.value=this.to,r=true);r&&this.stop(),this.onUpdate?.(this.value,r);}stop(){this.isRunning=false;}fromTo(e,r,{lerp:t,duration:i,easing:n,onStart:o,onUpdate:s}){this.from=this.value=e,this.to=r,this.lerp=t,this.duration=i,this.easing=n,this.currentTime=0,this.isRunning=true,o?.(),this.onUpdate=s;}},a(Vn,"Animate"),Vn);function Mg(l,e){let r;return function(...t){clearTimeout(r),r=setTimeout(()=>{r=void 0,l.apply(this,t);},e);}}a(Mg,"debounce");var qn,Pg=(qn=class{constructor(e,r,{autoResize:t=true,debounce:i=250}={}){le(this,"width",0);le(this,"height",0);le(this,"scrollHeight",0);le(this,"scrollWidth",0);le(this,"debouncedResize");le(this,"wrapperResizeObserver");le(this,"contentResizeObserver");le(this,"resize",a(()=>{this.onWrapperResize(),this.onContentResize();},"resize"));le(this,"onWrapperResize",a(()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight);},"onWrapperResize"));le(this,"onContentResize",a(()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth);},"onContentResize"));this.wrapper=e,this.content=r,t&&(this.debouncedResize=Mg(this.resize,i),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize();}destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize);}get limit(){return {x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},a(qn,"Dimensions"),qn),Gn,_h=(Gn=class{constructor(){le(this,"events",{});}emit(e,...r){let t=this.events[e]||[];for(let i=0,n=t.length;i<n;i++)t[i]?.(...r);}on(e,r){return this.events[e]?this.events[e].push(r):this.events[e]=[r],()=>{this.events[e]=this.events[e]?.filter(t=>r!==t);}}off(e,r){this.events[e]=this.events[e]?.filter(t=>r!==t);}destroy(){this.events={};}},a(Gn,"Emitter"),Gn),Lg=100/6,zi={passive:false};function dh(l,e){return l===1?Lg:l===2?e:1}a(dh,"getDeltaMultiplier");var Un,Og=(Un=class{constructor(e,r={wheelMultiplier:1,touchMultiplier:1}){le(this,"touchStart",{x:0,y:0});le(this,"lastDelta",{x:0,y:0});le(this,"window",{width:0,height:0});le(this,"emitter",new _h);le(this,"onTouchStart",a(e=>{let{clientX:r,clientY:t}=e.targetTouches?e.targetTouches[0]:e;this.touchStart.x=r,this.touchStart.y=t,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:e});},"onTouchStart"));le(this,"onTouchMove",a(e=>{let{clientX:r,clientY:t}=e.targetTouches?e.targetTouches[0]:e,i=-(r-this.touchStart.x)*this.options.touchMultiplier,n=-(t-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=r,this.touchStart.y=t,this.lastDelta={x:i,y:n},this.emitter.emit("scroll",{deltaX:i,deltaY:n,event:e});},"onTouchMove"));le(this,"onTouchEnd",a(e=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:e});},"onTouchEnd"));le(this,"onWheel",a(e=>{let{deltaX:r,deltaY:t,deltaMode:i}=e,n=dh(i,this.window.width),o=dh(i,this.window.height);r*=n,t*=o,r*=this.options.wheelMultiplier,t*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:r,deltaY:t,event:e});},"onWheel"));le(this,"onWindowResize",a(()=>{this.window={width:window.innerWidth,height:window.innerHeight};},"onWindowResize"));this.element=e,this.options=r,window.addEventListener("resize",this.onWindowResize),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,zi),this.element.addEventListener("touchstart",this.onTouchStart,zi),this.element.addEventListener("touchmove",this.onTouchMove,zi),this.element.addEventListener("touchend",this.onTouchEnd,zi);}on(e,r){return this.emitter.on(e,r)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize),this.element.removeEventListener("wheel",this.onWheel,zi),this.element.removeEventListener("touchstart",this.onTouchStart,zi),this.element.removeEventListener("touchmove",this.onTouchMove,zi),this.element.removeEventListener("touchend",this.onTouchEnd,zi);}},a(Un,"VirtualScroll"),Un),gh=a(l=>Math.min(1,1.001-2**(-10*l)),"defaultEasing"),jn,yh=(jn=class{constructor({wrapper:e=window,content:r=document.documentElement,eventsTarget:t=e,smoothWheel:i=true,syncTouch:n=false,syncTouchLerp:o=.075,touchInertiaExponent:s=1.7,duration:f,easing:c,lerp:h=.1,infinite:d=false,orientation:g="vertical",gestureOrientation:u=g==="horizontal"?"both":"vertical",touchMultiplier:m=1,wheelMultiplier:p=1,autoResize:_=true,prevent:y,virtualScroll:v,overscroll:b=true,autoRaf:w=false,anchors:x=false,autoToggle:P=false,allowNestedScroll:S=false,__experimental__naiveDimensions:C=false,naiveDimensions:L=C,stopInertiaOnNavigate:M=false,respectReducedMotion:N=true}={}){le(this,"_isScrolling",false);le(this,"_isStopped",false);le(this,"_isLocked",false);le(this,"_preventNextNativeScrollEvent",false);le(this,"_resetVelocityTimeout",null);le(this,"_rafId",null);le(this,"_isDraggingSelection",false);le(this,"reducedMotionMediaQuery",window.matchMedia("(prefers-reduced-motion: reduce)"));le(this,"isTouching");le(this,"isIos");le(this,"time",0);le(this,"userData",{});le(this,"lastVelocity",0);le(this,"velocity",0);le(this,"direction",0);le(this,"options");le(this,"targetScroll");le(this,"animatedScroll");le(this,"animate",new Cg);le(this,"emitter",new _h);le(this,"dimensions");le(this,"virtualScroll");le(this,"onScrollEnd",a(e=>{e instanceof CustomEvent||(this.isScrolling==="smooth"||this.isScrolling===false)&&e.stopPropagation();},"onScrollEnd"));le(this,"dispatchScrollendEvent",a(()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:true}}));},"dispatchScrollendEvent"));le(this,"onTransitionEnd",a(e=>{e.propertyName?.includes("overflow")&&e.target===this.rootElement&&this.checkOverflow();},"onTransitionEnd"));le(this,"onClick",a(e=>{let r=e.composedPath().filter(i=>i instanceof HTMLAnchorElement&&i.href).map(i=>new URL(i.href)),t=new URL(window.location.href);if(this.options.anchors){let i=r.find(n=>t.host===n.host&&t.pathname===n.pathname&&n.hash);if(i){let n=typeof this.options.anchors=="object"&&this.options.anchors?this.options.anchors:void 0,o=decodeURIComponent(i.hash);this.scrollTo(o,n);return}}if(this.options.stopInertiaOnNavigate&&r.some(i=>t.host===i.host&&t.pathname!==i.pathname)){this.reset();return}},"onClick"));le(this,"onPointerDown",a(e=>{e.button===1&&this.reset();},"onPointerDown"));le(this,"onVirtualScroll",a(e=>{if(typeof this.options.virtualScroll=="function"&&this.options.virtualScroll(e)===false)return;let{deltaX:r,deltaY:t,event:i}=e;if(this.emitter.emit("virtual-scroll",{deltaX:r,deltaY:t,event:i}),i.ctrlKey||i.lenisStopPropagation)return;let n=i.type.includes("touch"),o=i.type.includes("wheel");if(n&&this.isIos&&(i.type==="touchstart"&&(this._isDraggingSelection=this.isTouchOnSelectionHandle(i)),this._isDraggingSelection)){i.type==="touchend"&&(this._isDraggingSelection=false);return}this.isTouching=i.type==="touchstart"||i.type==="touchmove";let s=r===0&&t===0;if(this.options.syncTouch&&n&&i.type==="touchstart"&&s&&!this.isStopped&&!this.isLocked){this.reset();return}let f=this.options.gestureOrientation==="vertical"&&t===0||this.options.gestureOrientation==="horizontal"&&r===0;if(s||f)return;let c=i.composedPath();c=c.slice(0,c.indexOf(this.rootElement));let h=this.options.prevent,d=Math.abs(r)>=Math.abs(t)?"horizontal":"vertical";if(c.find(p=>p instanceof HTMLElement&&(typeof h=="function"&&h?.(p)||p.hasAttribute?.("data-lenis-prevent")||d==="vertical"&&p.hasAttribute?.("data-lenis-prevent-vertical")||d==="horizontal"&&p.hasAttribute?.("data-lenis-prevent-horizontal")||n&&p.hasAttribute?.("data-lenis-prevent-touch")||o&&p.hasAttribute?.("data-lenis-prevent-wheel")||this.options.allowNestedScroll&&this.hasNestedScroll(p,{deltaX:r,deltaY:t}))))return;if(this.isStopped||this.isLocked){i.cancelable&&i.preventDefault();return}if(!(this.options.syncTouch&&n||this.options.smoothWheel&&o)){this.isScrolling="native",this.animate.stop(),i.lenisStopPropagation=true;return}let g=t;this.options.gestureOrientation==="both"?g=Math.abs(t)>Math.abs(r)?t:r:this.options.gestureOrientation==="horizontal"&&(g=r),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll<this.limit||this.animatedScroll===0&&t>0||this.animatedScroll===this.limit&&t<0))&&(i.lenisStopPropagation=true),i.cancelable&&i.preventDefault();let u=n&&this.options.syncTouch,m=n&&i.type==="touchend";m&&(g=Math.sign(g)*Math.abs(this.velocity)**this.options.touchInertiaExponent),this.scrollTo(this.targetScroll+g,{programmatic:false,...u?{lerp:m?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}});},"onVirtualScroll"));le(this,"onNativeScroll",a(()=>{if(this._resetVelocityTimeout!==null&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=false;return}if(this.isScrolling===false||this.isScrolling==="native"){let e=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-e,this.direction=Math.sign(this.animatedScroll-e),this.isStopped||(this.isScrolling="native"),this.emit(),this.velocity!==0&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=false,this.emit();},400));}},"onNativeScroll"));le(this,"raf",a(e=>{let r=e-(this.time||e);this.time=e,this.animate.advance(r*.001),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf));},"raf"));window.lenisVersion=ph,window.lenis||(window.lenis={}),window.lenis.version=ph,g==="horizontal"&&(window.lenis.horizontal=true),n===true&&(window.lenis.touch=true),this.isIos=/(iPad|iPhone|iPod)/g.test(navigator.userAgent),(!e||e===document.documentElement)&&(e=window),typeof f=="number"&&typeof c!="function"?c=gh:typeof c=="function"&&typeof f!="number"&&(f=1),this.options={wrapper:e,content:r,eventsTarget:t,smoothWheel:i,syncTouch:n,syncTouchLerp:o,touchInertiaExponent:s,duration:f,easing:c,lerp:h,infinite:d,gestureOrientation:u,orientation:g,touchMultiplier:m,wheelMultiplier:p,autoResize:_,prevent:y,virtualScroll:v,overscroll:b,autoRaf:w,anchors:x,autoToggle:P,allowNestedScroll:S,naiveDimensions:L,stopInertiaOnNavigate:M,respectReducedMotion:N},this.dimensions=new Pg(e,r,{autoResize:_}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:true}),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.addEventListener("click",this.onClick),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown),this.virtualScroll=new Og(t,{touchMultiplier:m,wheelMultiplier:p}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle&&(this.checkOverflow(),this.rootElement.addEventListener("transitionend",this.onTransitionEnd)),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf));}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:true}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.removeEventListener("click",this.onClick),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this._rafId&&cancelAnimationFrame(this._rafId);}on(e,r){return this.emitter.on(e,r)}off(e,r){return this.emitter.off(e,r)}get overflow(){let e=this.isHorizontal?"overflow-x":"overflow-y";return getComputedStyle(this.rootElement)[e]}checkOverflow(){["hidden","clip"].includes(this.overflow)?this.internalStop():this.internalStart();}setScroll(e){this.isHorizontal?this.options.wrapper.scrollTo({left:e,behavior:"instant"}):this.options.wrapper.scrollTo({top:e,behavior:"instant"});}isTouchOnSelectionHandle(e){let r=window.getSelection();if(!r||r.isCollapsed||r.rangeCount===0)return false;let t=e.targetTouches[0]??e.changedTouches[0];if(!t)return false;let i=r.getRangeAt(0).getClientRects();if(i.length===0)return false;let n=i[0],o=i[i.length-1],s=40,f=Math.hypot(t.clientX-n.left,t.clientY-n.top)<=s,c=Math.hypot(t.clientX-o.right,t.clientY-o.bottom)<=s;return f||c}resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit();}emit(){this.emitter.emit("scroll",this);}reset(){this.isLocked=false,this.isScrolling=false,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop();}start(){if(this.isStopped){if(this.options.autoToggle){this.rootElement.style.removeProperty("overflow");return}this.internalStart();}}internalStart(){this.isStopped&&(this.reset(),this.isStopped=false,this.emit());}stop(){if(!this.isStopped){if(this.options.autoToggle){this.rootElement.style.setProperty("overflow","clip");return}this.internalStop();}}internalStop(){this.isStopped||(this.reset(),this.isStopped=true,this.emit());}scrollTo(e,{offset:r=0,immediate:t=false,lock:i=false,programmatic:n=true,lerp:o=n?this.options.lerp:void 0,duration:s=n?this.options.duration:void 0,easing:f=n?this.options.easing:void 0,onStart:c,onComplete:h,force:d=false,userData:g}={}){if(this.prefersReducedMotion&&(n?t=true:(o=1,s=void 0,f=void 0)),(this.isStopped||this.isLocked)&&!d)return;let u=e,m=r;if(typeof u=="string"&&["top","left","start","#"].includes(u))u=0;else if(typeof u=="string"&&["bottom","right","end"].includes(u))u=this.limit;else {let p=null;if(typeof u=="string"?(p=u.startsWith("#")?document.getElementById(u.slice(1)):document.querySelector(u),p||(u==="#top"?u=0:console.warn("Lenis: Target not found",u))):u instanceof HTMLElement&&u?.nodeType&&(p=u),p){if(this.options.wrapper!==window){let x=this.rootElement.getBoundingClientRect();m-=this.isHorizontal?x.left:x.top;}let _=p.getBoundingClientRect(),y=getComputedStyle(p),v=this.isHorizontal?Number.parseFloat(y.scrollMarginLeft):Number.parseFloat(y.scrollMarginTop),b=getComputedStyle(this.rootElement),w=this.isHorizontal?Number.parseFloat(b.scrollPaddingLeft):Number.parseFloat(b.scrollPaddingTop);u=(this.isHorizontal?_.left:_.top)+this.animatedScroll-(Number.isNaN(v)?0:v)-(Number.isNaN(w)?0:w);}}if(typeof u=="number"){if(u+=m,this.options.infinite){if(n){this.targetScroll=this.animatedScroll=this.scroll;let p=u-this.animatedScroll;p>this.limit/2?u-=this.limit:p<-this.limit/2&&(u+=this.limit);}}else u=mh(0,u,this.limit);if(u===this.targetScroll){c?.(this),h?.(this);return}if(this.userData=g??{},t){this.animatedScroll=this.targetScroll=u,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),h?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent();});return}n||(this.targetScroll=u),typeof s=="number"&&typeof f!="function"?f=gh:typeof f=="function"&&typeof s!="number"&&(s=1),this.animate.fromTo(this.animatedScroll,u,{duration:s,easing:f,lerp:o,onStart:a(()=>{i&&(this.isLocked=true),this.isScrolling="smooth",c?.(this);},"onStart"),onUpdate:a((p,_)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=p-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=p,this.setScroll(this.scroll),n&&(this.targetScroll=p),_||this.emit(),_&&(this.reset(),this.emit(),h?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent();}),this.preventNextNativeScrollEvent());},"onUpdate")});}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=true,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=false;});}hasNestedScroll(e,{deltaX:r,deltaY:t}){let i=Date.now();e._lenis||(e._lenis={});let n=e._lenis,o,s,f,c,h,d,g,u,m,p;if(i-(n.time??0)>2e3){n.time=Date.now();let S=window.getComputedStyle(e);if(n.computedStyle=S,o=["auto","overlay","scroll"].includes(S.overflowX),s=["auto","overlay","scroll"].includes(S.overflowY),h=["auto"].includes(S.overscrollBehaviorX),d=["auto"].includes(S.overscrollBehaviorY),n.hasOverflowX=o,n.hasOverflowY=s,!(o||s))return false;g=e.scrollWidth,u=e.scrollHeight,m=e.clientWidth,p=e.clientHeight,f=g>m,c=u>p,n.isScrollableX=f,n.isScrollableY=c,n.scrollWidth=g,n.scrollHeight=u,n.clientWidth=m,n.clientHeight=p,n.hasOverscrollBehaviorX=h,n.hasOverscrollBehaviorY=d;}else f=n.isScrollableX,c=n.isScrollableY,o=n.hasOverflowX,s=n.hasOverflowY,g=n.scrollWidth,u=n.scrollHeight,m=n.clientWidth,p=n.clientHeight,h=n.hasOverscrollBehaviorX,d=n.hasOverscrollBehaviorY;if(!(o&&f||s&&c))return false;let _=Math.abs(r)>=Math.abs(t)?"horizontal":"vertical",y,v,b,w,x,P;if(_==="horizontal")y=Math.round(e.scrollLeft),v=g-m,b=r,w=o,x=f,P=h;else if(_==="vertical")y=Math.round(e.scrollTop),v=u-p,b=t,w=s,x=c,P=d;else return false;return !P&&(y>=v||y<=0)?true:(b>0?y<v:y>0)&&w&&x}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){let e=this.options.wrapper;return this.isHorizontal?e.scrollX??e.scrollLeft:e.scrollY??e.scrollTop}get scroll(){return this.options.infinite?kg(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return this.limit===0?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(e){this._isScrolling!==e&&(this._isScrolling=e,this.updateClassName());}get isStopped(){return this._isStopped}set isStopped(e){this._isStopped!==e&&(this._isStopped=e,this.updateClassName());}get isLocked(){return this._isLocked}set isLocked(e){this._isLocked!==e&&(this._isLocked=e,this.updateClassName());}get isSmooth(){return this.isScrolling==="smooth"}get prefersReducedMotion(){return this.options.respectReducedMotion&&this.reducedMotionMediaQuery.matches}get className(){let e="lenis";return this.options.autoToggle&&(e+=" lenis-autoToggle"),this.isStopped&&(e+=" lenis-stopped"),this.isLocked&&(e+=" lenis-locked"),this.isScrolling&&(e+=" lenis-scrolling"),this.isScrolling==="smooth"&&(e+=" lenis-smooth"),e}updateClassName(){this.cleanUpClassName(),this.className.split(" ").forEach(e=>{this.rootElement.classList.add(e);});}cleanUpClassName(){for(let e of Array.from(this.rootElement.classList))(e==="lenis"||e.startsWith("lenis-"))&&this.rootElement.classList.remove(e);}},a(jn,"Lenis"),jn);var vh={lenis:null,scrollTo:a(()=>{},"scrollTo"),active:false,destroy:a(()=>{},"destroy")};function Dg(l={}){de();let{force:e=false,lerp:r=.08,smoothWheel:t=true,smoothTouch:i=false,orientation:n="vertical",initialScroll:o=0,useScrollerProxy:s=false}=l;if(typeof window>"u"||pi()&&!e)return vh;let f=new yh({lerp:r,smoothWheel:t,syncTouch:i,orientation:n,autoRaf:false});o&&f.scrollTo(o,{immediate:true});let c=a(()=>U.update(),"onScroll");f.on("scroll",c);let h=a(m=>f.raf(m*1e3),"tick");I.ticker.add(h),I.ticker.lagSmoothing(0),s&&(U.scrollerProxy(document.documentElement,{scrollTop(m){return arguments.length&&typeof m=="number"?(f.scrollTo(m,{immediate:true}),m):f.scroll},getBoundingClientRect:a(()=>({top:0,left:0,width:window.innerWidth,height:window.innerHeight}),"getBoundingClientRect"),pinType:"fixed"}),U.defaults({scroller:document.documentElement}));let d=a(()=>{f.resize(),U.refresh();},"onResize");window.addEventListener("resize",d);let g=a(()=>U.refresh(),"refresh");return window.addEventListener("load",g),f.resize(),U.refresh(),{lenis:f,active:true,scrollTo:a((m,p)=>f.scrollTo(m,p),"scrollTo"),destroy:a(()=>{window.removeEventListener("resize",d),window.removeEventListener("load",g),I.ticker.remove(h),f.off("scroll",c),s&&(U.scrollerProxy(document.documentElement,{}),U.defaults({scroller:window})),f.destroy();},"destroy")}}a(Dg,"smoothScroll");function iu(l,e){de();let r=typeof l=="string"?document.querySelector(l)??null:l;if(!r)return {elements:[],revert:a(()=>{},"revert")};let t=Array.isArray(e.type)?e.type[0]:e.type;if(typeof Ci<"u"&&Ci?.create)try{let i=Ci.create(r,{type:e.type,mask:e.mask?t:void 0,linesClass:e.linesClass??"ak-line++",wordsClass:e.wordsClass??"ak-word++",charsClass:e.charsClass??"ak-char++",lineThreshold:e.lineThreshold??.05});return {elements:Ag(i,e.type),revert:a(()=>{try{i.revert();}catch{}},"revert")}}catch{}return Rg(r,e)}a(iu,"split");function Ag(l,e){let r=Array.isArray(e)?e:[e],t=[];return r.includes("lines")&&l.lines?t.push(...l.lines):r.includes("words")&&l.words?t.push(...l.words):r.includes("chars")&&l.chars&&t.push(...l.chars),t}a(Ag,"collect");function Rg(l,e){let r=l.innerHTML,t=Array.isArray(e.type)?e.type[0]:e.type,i=Array.from(l.childNodes),n=[],o=a((c,h,d)=>{let g=document.createElement("span");if(g.className=h.replace("++",String(d)),g.textContent=c,n.push(g),e.mask&&t==="chars"){let u=document.createElement("span");return u.className=`${g.className}-mask`,u.style.overflow="hidden",u.style.display="inline-block",u.appendChild(g),u}return g},"wrap"),s=document.createDocumentFragment(),f=0;for(let c of i)if(c.nodeType===Node.TEXT_NODE){let h=c.textContent??"";if(t==="chars")for(let d of h)s.appendChild(d===" "?document.createTextNode(" "):o(d,e.charsClass??"ak-char++",f++));else {let d=h.split(/(\s+)/);for(let g of d)g&&(/^\s+$/.test(g)?s.appendChild(document.createTextNode(g)):s.appendChild(o(g,e.wordsClass??"ak-word++",f++)));}}else c.nodeType===Node.ELEMENT_NODE&&s.appendChild(c.cloneNode(true));return l.innerHTML="",l.appendChild(s),e.mask&&t!=="chars"&&I.set(n,{display:"inline-block"}),{elements:n,revert:a(()=>{l.innerHTML=r,n.length=0;},"revert")}}a(Rg,"manualSplit");function be(l,e){return de(),pi()&&!l.force?()=>{}:e()}a(be,"guard");function Ng(l,e={}){de();let{mode:r="scroll",split:t="lines",stagger:i,duration:n=1,ease:o="power4.out",delay:s=0,start:f="top 90%",end:c="bottom 10%"}=e,h=i??(t==="chars"?.03:.1),d=we(l);if(!d.length)return ()=>{};return be(e,g);function g(){let u=[],m=[];return d.forEach(p=>{let _=iu(p,{type:t,mask:true,linesClass:"ak-line++",charsClass:"ak-char++",lineThreshold:.05});if(u.push(_),p.querySelectorAll("[aria-label]").forEach(v=>v.removeAttribute("aria-label")),!_.elements.length)return;I.set(_.elements,{y:"100%"});let y={y:"0%",duration:n,stagger:h,ease:o,delay:s,overwrite:"auto"};r==="scroll"&&(y.scrollTrigger={trigger:p,start:f,end:c,toggleActions:"play reverse play reverse"}),m.push(I.to(_.elements,y));}),U.refresh(),()=>{m.forEach(p=>{p.scrollTrigger?.kill(),p.kill();}),u.forEach(p=>p.revert()),U.refresh();}}}a(Ng,"lineReveal");function zg(l,e={}){de();let r=we(l);if(!r.length)return ()=>{};let{from:t="100%",to:i="0%",duration:n=.5,ease:o=zt.reveal,stagger:s=.1,delay:f=0,start:c="top 90%",end:h="bottom 10%",mode:d="scroll"}=e;return be(e,g);function g(){let u=new Map;r.forEach(p=>{let _=p.parentElement??p,y=u.get(_)??[];y.push(p),u.set(_,y);});let m=[];return I.set(r,{y:t}),u.forEach(p=>{let _={y:i,duration:n,stagger:s,delay:f,ease:o,overwrite:"auto"};d==="scroll"&&(_.scrollTrigger={trigger:p[0].parentElement??p[0],start:c,end:h,toggleActions:"play reverse play reverse"}),m.push(I.to(p,_));}),U.refresh(),()=>{m.forEach(p=>{p.scrollTrigger?.kill(),p.kill();}),I.set(r,{clearProps:"transform"}),U.refresh();}}}a(zg,"maskReveal");function Hg(l,e={}){de();let r=we(l);if(!r.length)return ()=>{};let{duration:t=1,delay:i=0,ease:n=zt.reveal}=e;return be(e,()=>{I.set(r,{width:0});let o=I.to(r,{width:"100%",duration:t,delay:i,ease:n,stagger:.1,scrollTrigger:{trigger:r[0],start:"top 92%",toggleActions:"play none none reverse"}});return ()=>{o.scrollTrigger?.kill(),o.kill(),I.set(r,{clearProps:"width"});}})}a(Hg,"revealRule");function Ig(l,e={}){de();let{axis:r="y",origin:t,duration:i=.7,ease:n="power3.out",stagger:o=.08,delay:s=0,mode:f="scroll",start:c="top 85%",replay:h=false}=e,d=we(l);if(!d.length)return ()=>{};return be(e,g);function g(){let u=r==="x"?"scaleX":"scaleY",m=t??(r==="x"?"left":"top");I.set(d,{[u]:0,transformOrigin:m});let p={[u]:1,duration:i,ease:n,stagger:o,delay:s,overwrite:"auto"};f==="scroll"&&(p.scrollTrigger={trigger:d[0],start:c,toggleActions:h?"play reverse play reverse":"play none none none"});let _=I.to(d,p);return U.refresh(),()=>{_.scrollTrigger?.kill(),_.kill(),I.set(d,{clearProps:"transform,transformOrigin"}),U.refresh();}}}a(Ig,"unfoldReveal");var Fg={left:"inset(0% 100% 0% 0%)",right:"inset(0% 0% 0% 100%)",top:"inset(0% 0% 100% 0%)",bottom:"inset(100% 0% 0% 0%)","top-left":"inset(0% 100% 100% 0%)","top-right":"inset(0% 0% 100% 100%)","bottom-left":"inset(100% 100% 0% 0%)","bottom-right":"inset(100% 0% 0% 100%)"},Bg="inset(0% 0% 0% 0%)";function Yg(l,e={}){de();let{from:r="left",inset:t=15,duration:i=1,ease:n="power3.out",stagger:o=.08,delay:s=0,mode:f="scroll",start:c="top 85%",end:h="top 20%",replay:d=false,scrub:g}=e,u=we(l);if(!u.length)return ()=>{};return be(e,m);function m(){let p=r==="frame"?`inset(${t}% ${t}% ${t}% ${t}%)`:Fg[r];I.set(u,{clipPath:p});let _={clipPath:Bg,duration:i,ease:n,stagger:o,delay:s,overwrite:"auto"};g!==void 0?(_.ease="none",_.scrollTrigger={trigger:u[0],start:c,end:h,scrub:g===true?true:g}):f==="scroll"&&(_.scrollTrigger={trigger:u[0],start:c,toggleActions:d?"play reverse play reverse":"play none none none"});let y=I.to(u,_);return U.refresh(),()=>{y.scrollTrigger?.kill(),y.kill(),I.set(u,{clearProps:"clipPath"}),U.refresh();}}}a(Yg,"clipWipe");function Xg(l,e={}){de();let r=Pe(l);if(!r)return ()=>{};let{attribute:t="data-speed",scale:i=50,start:n="50% bottom",end:o="bottom top"}=e;return be(e,()=>{let s=[];return r.querySelectorAll(`[${t}]`).forEach(f=>{let c=parseFloat(f.getAttribute(t)||"0");if(Number.isNaN(c))return;let h=c*i,d=I.to(f,{yPercent:h,ease:"none",scrollTrigger:{trigger:f,start:n,end:o,scrub:true}});s.push({el:f,st:d.scrollTrigger}),f.__akParallax=d;}),U.refresh(),()=>{s.forEach(({el:f,st:c})=>{c?.kill(),f.__akParallax?.kill(),delete f.__akParallax,I.set(f,{clearProps:"transform"});}),U.refresh();}})}a(Xg,"parallax");function Wg(l,e={}){de();let r=Pe(l);if(!r)return ()=>{};let t=(e.section?Pe(e.section):null)??r.closest("section")??r,{scrub:i=.5,imageScrub:n=.2,panelImage:o="img",imageParallax:s=true}=e;return be(e,()=>{let f=a(()=>e.travel?e.travel():Math.max(0,r.scrollWidth-window.innerWidth),"travel"),c=[],h=[],d=I.to(r,{x:a(()=>-f(),"x"),ease:"none",scrollTrigger:{trigger:t,pin:true,scrub:i,end:a(()=>"+="+f(),"end"),invalidateOnRefresh:true,anticipatePin:1}});c.push(d),d.scrollTrigger&&h.push(d.scrollTrigger),s&&o&&I.utils.toArray(o,r).forEach(p=>{let _=I.fromTo(p,{scale:.9,yPercent:30},{scale:1,yPercent:0,ease:"power4.out",scrollTrigger:{trigger:p,containerAnimation:d,start:"left 100%",end:"left 20%",scrub:n}});c.push(_),_.scrollTrigger&&h.push(_.scrollTrigger);});let g=a(()=>U.refresh(),"onLoad"),u=Array.from(r.querySelectorAll("img"));return u.forEach(m=>{m.complete||m.addEventListener("load",g,{once:true});}),window.addEventListener("load",g),U.refresh(),()=>{window.removeEventListener("load",g),u.forEach(m=>m.removeEventListener("load",g)),h.forEach(m=>m.kill()),c.forEach(m=>m.kill()),I.set(r,{clearProps:"transform"}),U.refresh();}})}a(Wg,"horizontalScroll");function Vg(l,e={}){de();let r=Pe(l);if(!r)return ()=>{};let t=(e.viewport?Pe(e.viewport):null)??r.firstElementChild??r,{scrub:i=.5,stagger:n=.12,card:o=".ak-card",ease:s=zt.cardStack}=e;return be(e,()=>{let f=we(o,t);if(!f.length)return ()=>{};let c=a(()=>window.innerHeight/2,"offset");I.set(f,{yPercent:50,y:c()});let h=I.timeline({scrollTrigger:{trigger:r,start:"top top",end:"bottom bottom",scrub:i,invalidateOnRefresh:true}});h.to(f,{yPercent:-50,y:a(()=>-c(),"y"),duration:1,stagger:n,ease:s},"step");let d=h.scrollTrigger;return U.refresh(),()=>{d?.kill(),h.kill(),I.set(f,{clearProps:"all"}),U.refresh();}})}a(Vg,"stackedCards");function qg(l,e={viewport:""}){de();let r=Pe(l),t=Pe(e.viewport);if(!r||!t)return ()=>{};let{scrub:i=true,stagger:n=.1,card:o=".ak-card",ease:s=zt.cardStack}=e;return be(e,()=>{let f=we(o,t);if(!f.length)return ()=>{};I.set(f,{yPercent:50,y:window.innerHeight/2});let c=U.create({trigger:r,start:"top top",end:"bottom bottom",pin:t,pinSpacing:false,anticipatePin:1,invalidateOnRefresh:true}),h=I.timeline({scrollTrigger:{trigger:r,start:"top top",end:"bottom bottom",scrub:i,invalidateOnRefresh:true}});return h.to(f,{yPercent:-50,y:a(()=>-window.innerHeight/2,"y"),duration:1,stagger:n,ease:s},0),U.refresh(),()=>{c.kill(),h.scrollTrigger?.kill(),h.kill(),I.set(f,{clearProps:"all"}),U.refresh();}})}a(qg,"stackedCardsPinned");function Gg(l,e={}){de();let r=Pe(l),t=(e.line?Pe(e.line):null)??r;if(!r||!t)return ()=>{};let i=(e.pinTarget?Pe(e.pinTarget):null)??r.querySelector("[data-pin]")??r,{granularity:n="chars",scatterY:o=60,scatterRotation:s=15,scrub:f=.5,settleStart:c="left 100%",settleEnd:h="left 15%"}=e;return be(e,()=>{let d=[],g=[],u=t.textContent||"",m=a(()=>{t.innerHTML=u.split("").map(v=>v===" "?'<span class="ak-space"> </span>':n==="chars"?`<span class="ak-char">${v}</span>`:`<span class="ak-char">${v}</span>`).join("");let p=a(()=>Math.max(0,t.scrollWidth-window.innerWidth),"travel"),_=I.to(t,{x:a(()=>-p(),"x"),ease:"none",scrollTrigger:{trigger:r,pin:i,scrub:f,end:a(()=>"+="+p(),"end"),invalidateOnRefresh:true,anticipatePin:1}});d.push(_),_.scrollTrigger&&g.push(_.scrollTrigger),Array.from(t.querySelectorAll(".ak-char")).forEach(v=>{let b=(Math.random()-.5)*o,w=(Math.random()-.5)*s,x=I.fromTo(v,{yPercent:b,rotation:w},{yPercent:0,rotation:0,ease:"power2.out",scrollTrigger:{trigger:v,containerAnimation:_,start:c,end:h,scrub:.5}});d.push(x),x.scrollTrigger&&g.push(x.scrollTrigger);}),U.refresh();},"build");return document.fonts?.ready?document.fonts.ready.then(m).catch(m):m(),()=>{g.forEach(p=>p.kill()),d.forEach(p=>p.kill()),t.textContent=u,I.set(t,{clearProps:"transform"}),U.refresh();}})}a(Gg,"scatterText");function Ug(l,e={}){de();let r=Pe(l);if(!r)return ()=>{};let{offsetY:t="49vh",offsetX:i="0px",scale:n=.23,scrub:o=1,start:s="top top",end:f="bottom top"}=e;return be(e,()=>{let c=I.fromTo(r,{scale:1,x:0,y:0},{x:i,y:t,scale:n,force3D:true,ease:"none",scrollTrigger:{trigger:r,start:s,end:f,scrub:o}});return U.refresh(),()=>{c.scrollTrigger?.kill(),c.kill(),I.set(r,{clearProps:"transform"}),U.refresh();}})}a(Ug,"heroShrink");function jg(l,e={}){de();let{from:r=1.15,duration:t=1.5,ease:i="power2.out",origin:n="center",stagger:o=.06,delay:s=0,mode:f="scroll",start:c="top 75%",end:h="bottom top",replay:d=false,scrub:g}=e,u=we(l);if(!u.length)return ()=>{};return be(e,m);function m(){I.set(u,{scale:r,transformOrigin:n});let p={scale:1,stagger:o,delay:s,overwrite:"auto"};g!==void 0?(p.ease="none",p.scrollTrigger={trigger:u[0],start:c,end:h,scrub:g===true?true:g}):(p.duration=t,p.ease=i,f==="scroll"&&(p.scrollTrigger=d?{trigger:u[0],start:c,toggleActions:"play reverse play reverse"}:{trigger:u[0],start:c,once:true}));let _=I.fromTo(u,{scale:r,transformOrigin:n},{...p,immediateRender:true});return U.refresh(),()=>{_.scrollTrigger?.kill(),_.kill(),I.set(u,{clearProps:"transform,transformOrigin"}),U.refresh();}}}a(jg,"mediaSettle");function $g(l,e={}){de();let r=Pe(l);if(!r)return ()=>{};let{threshold:t=200,hideY:i=-100,mobileBreakpoint:n=768,startHidden:o=true}=e;return be(e,()=>{let s=window.scrollY,f=!o,c=a(()=>window.innerWidth<n,"isMobile"),h=a((g,u)=>{g!==!f&&(f=!g,I.to(r,{y:g?i:0,duration:u,ease:"power2.out",overwrite:"auto"}));},"setHidden");I.set(r,{y:c()||!o?0:i}),f=!c()&&!o?true:!o;let d=a(()=>{let g=window.scrollY;c()?h(false,.3):g<=t?f&&h(true,1):g>s?h(true,.3):g<s&&h(false,.3),s=g;},"onScroll");return window.addEventListener("scroll",d,{passive:true}),d(),()=>{window.removeEventListener("scroll",d),hr(r),I.set(r,{clearProps:"transform"});}})}a($g,"navHide");function Kg(l,e={}){de();let r=Pe(l);if(!r)return ()=>{};let{path:t="[data-logo-path], .svg-anim-path",stagger:i=.05,duration:n=1,ease:o="power2.out",start:s="top 80%",end:f="bottom top",once:c=false}=e;return be(e,()=>{let h=we(t,r);if(!h.length)return ()=>{};I.set(h,{yPercent:-100,opacity:0,willChange:"transform"});let d=I.to(h,{yPercent:0,opacity:1,duration:n,delay:0,ease:o,stagger:i,scrollTrigger:{trigger:r,start:s,end:f,once:c,toggleActions:c?void 0:"play reverse play reverse"}});return U.refresh(),()=>{d.scrollTrigger?.kill(),d.kill(),I.set(h,{clearProps:"all"}),U.refresh();}})}a(Kg,"logoReveal");function Qg(l,e={}){de();let r=we(l);if(!r.length)return ()=>{};let{speed:t=40,clone:i=true,pauseOnHover:n=false}=e;return be(e,()=>{let o=[];r.forEach(p=>{p.matches("[data-marquee-track]")?o.push(p):p.querySelectorAll("[data-marquee-track]").forEach(_=>o.push(_));});let s=o.map(p=>{let _=p.children.length;i&&Zg(p);let y=e.direction??(p.dataset.dir==="right"?"right":"left");return {track:p,dir:y,offset:0,width:0,hovering:false,originalCount:_,cloned:p.children.length>_}}),f=a(()=>{s.forEach(p=>{p.width=Jg(p.track),p.dir==="right"&&p.offset===0&&(p.offset=-p.width);});},"measure");f();let c=performance.now(),h=0,d=true,g=a(p=>{if(!d)return;let _=Math.min(64,p-c)/1e3;c=p;for(let y of s){if(!y.width||n&&y.hovering)continue;let v=t*_*(y.dir==="right"?1:-1);y.offset+=v,y.offset<=-y.width&&(y.offset+=y.width),y.offset>=0&&(y.offset-=y.width),I.set(y.track,{x:y.offset});}h=requestAnimationFrame(g);},"loop");h=requestAnimationFrame(g);let u=a(()=>{f();},"onResize");window.addEventListener("resize",u);let m=[];return n&&s.forEach(p=>{let _=a(()=>p.hovering=true,"enter"),y=a(()=>p.hovering=false,"leave");p.track.addEventListener("pointerenter",_),p.track.addEventListener("pointerleave",y),m.push(()=>{p.track.removeEventListener("pointerenter",_),p.track.removeEventListener("pointerleave",y);});}),()=>{d=false,cancelAnimationFrame(h),window.removeEventListener("resize",u),m.forEach(p=>p()),s.forEach(p=>{if(I.set(p.track,{clearProps:"transform"}),p.cloned){for(;p.track.children.length>p.originalCount;)p.track.removeChild(p.track.lastElementChild);delete p.track.dataset.marqueeCloned;}});}})}a(Qg,"marquee");function Zg(l){if(l.dataset.marqueeCloned==="true")return;let e=l.innerHTML;l.insertAdjacentHTML("beforeend",e),l.dataset.marqueeCloned="true";}a(Zg,"duplicateOnce");function Jg(l){if(l.dataset.marqueeCloned!=="true")return l.scrollWidth;let e=Array.from(l.children);if(!e.length)return l.scrollWidth/2;let r=Math.floor(e.length/2),t=0;for(let i=0;i<r;i++){let n=e[i].getBoundingClientRect(),o=e[i+1]?.getBoundingClientRect();t+=o?o.left-n.left:n.width;}return t>0?t:l.scrollWidth/2}a(Jg,"measureCopy");function em(l,e={}){de();let{interval:r=2.2,duration:t=.6,ease:i="power4.inOut",direction:n="up"}=e,o=we(l);return o.length?be(e,()=>{let s=[];return o.forEach(f=>{let c=Array.from(f.children).filter(p=>p instanceof HTMLElement);if(c.length<2)return;let h=[{el:f,cssText:f.style.cssText},...c.map(p=>({el:p,cssText:p.style.cssText}))];c.forEach(p=>p.style.display="block"),window.getComputedStyle(f).display==="inline"&&(f.style.display="inline-block");let d=document.createElement("div");d.className="ak-roll__inner",f.insertBefore(d,c[0]),c.forEach(p=>d.appendChild(p));let g=c[0].cloneNode(true);g.setAttribute("data-ak-roll-clone",""),d.appendChild(g);let u=c[0].getBoundingClientRect().height;f.style.overflow="hidden",f.style.height=`${u}px`,f.dataset.akRoll=String(c.length);let m=null;if(u>0){let p=c.length,_=Math.max(.01,r-t),y=I.timeline({repeat:-1,defaults:{ease:i}});if(n==="up"){I.set(d,{y:0});for(let v=1;v<=p;v++)y.to(d,{y:-v*u,duration:t}),y.to({},{duration:_});y.set(d,{y:0});}else {I.set(d,{y:-p*u});for(let v=p-1;v>=0;v--)y.to(d,{y:-v*u,duration:t}),y.to({},{duration:_});y.set(d,{y:-p*u});}m=y;}s.push({el:f,inner:d,rows:c,snapshots:h,timeline:m});}),()=>{s.forEach(({el:f,inner:c,rows:h,snapshots:d,timeline:g})=>{g?.kill(),h.forEach(u=>f.appendChild(u)),c.remove(),hr(c),d.forEach(({el:u,cssText:m})=>u.style.cssText=m),delete f.dataset.akRoll;}),s.length=0;}}):()=>{}}a(em,"rollText");function tm(l,e={}){de();let r=Pe(l);if(!r)return ()=>{};let{maxRotation:t=100,rotationScale:i=100,settleDuration:n=1,inertia:o=false,clone:s=true,item:f=":scope > *"}=e;return be(e,()=>{let c=r.parentElement,h={cursor:r.style.cursor,userSelect:r.style.userSelect,touchAction:r.style.touchAction},d=r.children.length,g=Array.from(r.children),u=a(()=>Math.max(r.scrollWidth,r.clientWidth),"trackWidth"),m=d>0?u():0,p=1,_=0,y=false,v=false,b=a(()=>g.map(F=>{let B=F.cloneNode(true);return B instanceof Element&&(B.id&&B.removeAttribute("id"),B.querySelectorAll("[id]").forEach($=>$.removeAttribute("id"))),B}),"cloneTile"),w=a(()=>{if(p=Math.max(1,c?.clientWidth||r.clientWidth||1),m>0&&s)for(let F=8;F>0&&u()-m<p;F--)r.append(...b());m<=0?_=0:s?_=Math.max(0,Math.floor((u()-p)/m))*m:_=Math.max(0,u()-p);},"measure"),x=a(F=>_<=0?F:s?I.utils.wrap(-_,0,F):Math.max(-_,Math.min(0,F)),"fold"),P=a(F=>y||v?x(F):F,"foldWhenDriven");w();let S=we(f,r);I.set(S,{transformOrigin:"50% 100%"});let C=I.quickTo(S,"rotation",{duration:.12,ease:"power2.out"}),L=I.quickTo(S,"rotation",{duration:n,ease:"power3.out"}),M=0,N=0;r.style.cursor="grab",r.style.userSelect="none",r.style.touchAction="pan-y";let A=ci.create(r,{type:"x",dragClickables:true,inertia:o,liveSnap:{x:P},onPress(){y=true,v=false,L.tween.isActive()&&L.tween.totalProgress(1),M=this.pointerX||0,N=performance.now(),r.style.cursor="grabbing";},onDrag(){let F=performance.now(),B=Math.min(64,Math.max(8,F-N)),$=this.pointerX||0,j=$-M;M=$,N=F;let ae=j/B*16.667,re=I.utils.clamp(-t,t,-(ae/i)*100);C(re);},onRelease(){y=false,r.style.cursor=h.cursor||"grab",C.tween.isActive()&&C.tween.totalProgress(1),L(0);},onThrowUpdate:a(()=>{v=true;},"onThrowUpdate"),onThrowComplete:a(()=>{v=false;},"onThrowComplete")})[0],H=a(()=>{let F=parseFloat(String(I.getProperty(r,"x")??0))||0;w(),I.set(r,{x:x(F)});},"onResize");return window.addEventListener("resize",H),()=>{for(window.removeEventListener("resize",H),C.tween.kill(),L.tween.kill(),A.kill(),r.style.cursor=h.cursor,r.style.userSelect=h.userSelect,r.style.touchAction=h.touchAction;r.children.length>d;)r.removeChild(r.lastElementChild);I.set([r,...r.children],{clearProps:"transform,transformOrigin"});}})}a(tm,"dragStrip");function rm(l,e={}){de();let{mode:r="scroll",charset:t="abcdefghijklmnopqrstuvwxyz",durationPerChar:i=.18,stagger:n=.04,delay:o=0,start:s="top 80%"}=e,f=we(l);return f.length?be(e,()=>{let c=new Map,h=[],d=[],g=a((u,m,p)=>{Array.from(m).forEach((_,y)=>{if(!/[a-z]/i.test(_))return;let v=_===_.toUpperCase(),b={p:0};p.to(b,{p:1,duration:i,ease:"power3.out",onUpdate:a(()=>{if(b.p>=1)return;let w=t[Math.floor(Math.random()*t.length)];u.textContent=m.slice(0,y)+(v?w.toUpperCase():w)+m.slice(y+1);},"onUpdate")},y*n);}),p.eventCallback("onComplete",()=>u.textContent=m);},"fill");return f.forEach(u=>{let m=u.textContent??"";if(m)if(c.set(u,m),u.dataset.akScramble="true",r==="scroll"){let p=I.timeline({delay:o,scrollTrigger:{trigger:u,start:s,once:true}});g(u,m,p),h.push(p);}else if(r==="immediate"){let p=I.timeline({delay:o});g(u,m,p),h.push(p);}else {let p=I.timeline({delay:o,paused:true});g(u,m,p),h.push(p);let _=a(()=>p.restart(),"onEnter");u.addEventListener("pointerenter",_),d.push(()=>u.removeEventListener("pointerenter",_));}}),U.refresh(),()=>{d.forEach(u=>u()),h.forEach(u=>{u.scrollTrigger?.kill(),u.kill();}),c.forEach((u,m)=>{m.textContent=u,delete m.dataset.akScramble;}),c.clear(),U.refresh();}}):()=>{}}a(rm,"scrambleText");function im(l,e){de();let r=Pe(l),t=Pe(e?.to);if(!r||!t)return ()=>{};let{words:i,duration:n=1.4,ease:o="power4.inOut",stagger:s=.2,scale:f=.2,mode:c="scroll",scrub:h,start:d="top 75%",end:g="bottom 45%"}=e,u=we(r.querySelectorAll("[data-flip-word]")),m=i?we(i,r):u.length?u:[...r.children];return m.length?be(e,()=>{let p=m.map(w=>({parent:w.parentNode,next:w.nextSibling})),_=m.map(w=>w.style.transform),y=Ni.getState(m);m.forEach(w=>t.appendChild(w));let v=I.timeline({paused:true});v.add(Ni.from(y,{duration:n,ease:o,stagger:{each:s}}),0),f>0&&m.forEach((w,x)=>{let P=x*s;v.to(w,{scale:f,duration:n*.5,ease:o},P),v.to(w,{scale:1,duration:n*.5,ease:o},P+n*.5);});let b;return c==="immediate"?v.play(0):h!==void 0?b=U.create({trigger:r,start:d,end:g,scrub:h===true?true:h,animation:v}):b=U.create({trigger:r,start:d,animation:v,toggleActions:"play none none reverse"}),U.refresh(),()=>{b?.kill(),v.kill(),hr(m),m.forEach((w,x)=>{let P=p[x];if(!P.parent)return;let S=P.next&&P.next.parentNode===P.parent?P.next:null;P.parent.insertBefore(w,S);}),I.set(m,{clearProps:"transform"}),m.forEach((w,x)=>{w.style.transform=_[x];}),U.refresh();}}):()=>{}}a(im,"flipWords");function nm(l,e={}){let r=we(l);if(!r.length)return ()=>{};let{duration:t=900,fill:i="var(--ak-primary, #6c5ce7)",direction:n="up",labelColor:o="#fff"}=e;return r.forEach(s=>{s.dataset.akLiquid=n,s.style.setProperty("--ak-liquid-duration",`${t}ms`),s.style.setProperty("--ak-liquid-fill",i),s.style.setProperty("--ak-liquid-label",o);}),()=>{r.forEach(s=>{delete s.dataset.akLiquid,s.style.removeProperty("--ak-liquid-duration"),s.style.removeProperty("--ak-liquid-fill"),s.style.removeProperty("--ak-liquid-label");});}}a(nm,"liquidButton");function om(l){let e=we(l);return e.forEach(r=>r.classList.add("ak-underline")),()=>e.forEach(r=>r.classList.remove("ak-underline"))}a(om,"underlineLink");function sm(l,e={}){de();let r=(e.follower?Pe(e.follower):null)??document.querySelector("[data-cursor]"),t=Pe(l);if(!r||!t)return ()=>{};let{offset:i=14,spring:n={mass:.1,stiffness:120},blendMode:o="exclusion",fade:s=true}=e;return be(e,()=>{let f={mixBlendMode:r.style.mixBlendMode,position:r.style.position,left:r.style.left,top:r.style.top,pointerEvents:r.style.pointerEvents};r.style.mixBlendMode=o,r.style.position="fixed",r.style.left="0",r.style.top="0",r.style.pointerEvents="none",I.set(r,{opacity:s?0:1,x:0,y:0});let c=I.quickTo(r,"x",{...n,duration:.4,ease:"power3"}),h=I.quickTo(r,"y",{...n,duration:.4,ease:"power3"}),d=false,g=a(p=>{let _=p.clientX+i,y=p.clientY+i;d?(c(_),h(y)):(I.set(r,{x:_,y}),d=true),s&&I.to(r,{opacity:1,duration:.25,overwrite:"auto"});},"onMove"),u=a(()=>{s&&I.to(r,{opacity:0,duration:.25,overwrite:"auto"});},"onLeave"),m=a(p=>{p.key==="Enter"||p.key;},"onKey");return t.addEventListener("pointermove",g),t.addEventListener("pointerleave",u),t.addEventListener("keydown",m),()=>{t.removeEventListener("pointermove",g),t.removeEventListener("pointerleave",u),t.removeEventListener("keydown",m),c.tween.kill(),h.tween.kill(),hr(r),r.style.mixBlendMode=f.mixBlendMode,r.style.position=f.position,r.style.left=f.left,r.style.top=f.top,r.style.pointerEvents=f.pointerEvents,I.set(r,{clearProps:"opacity,transform"});}})}a(sm,"cursorFollower");function am(l,e={}){de();let r=we(l);if(!r.length)return ()=>{};let{strength:t=.4,rotation:i=8,scale:n=1,duration:o=1.2,ease:s="elastic.out(1, 0.35)"}=e;return be(e,()=>{let f=r.map(h=>h.style.transform),c=[];return r.forEach(h=>{let d=a(u=>{let m=u,p=h.getBoundingClientRect(),_=m.clientX-(p.left+p.width/2),y=m.clientY-(p.top+p.height/2),v=p.width?_/(p.width/2):0;I.to(h,{x:_*t,y:y*t,rotation:i?v*i:0,scale:n,duration:.4,ease:"power3.out",overwrite:"auto"});},"onMove"),g=a(()=>{I.to(h,{x:0,y:0,rotation:0,scale:1,duration:o,ease:s,overwrite:"auto"});},"onLeave");h.addEventListener("pointermove",d),h.addEventListener("pointerleave",g),c.push({el:h,type:"pointermove",fn:d},{el:h,type:"pointerleave",fn:g});}),()=>{c.forEach(({el:h,type:d,fn:g})=>h.removeEventListener(d,g)),hr(r),r.forEach((h,d)=>{h.style.transform=f[d];});}})}a(am,"magnetic");function lm(l,e={}){de();let r=we(l);if(!r.length)return ()=>{};let{from:t=0,to:i=100,duration:n=4,ease:o="power1.inOut",pad:s=0,suffix:f="",onScroll:c=false,progress:h=false,start:d="top 90%",end:g="bottom top",onComplete:u}=e;return be(e,m);function m(){let p=[];return r.forEach(_=>{let y={v:t},v=a(()=>{let w=Math.round(y.v);_.textContent=(s?String(w).padStart(s,"0"):String(w))+f;},"render");v();let b={v:i,duration:n,ease:o,onUpdate:v,onComplete:h?void 0:()=>{v(),u?.(Math.round(y.v));}};h?(b.ease="none",b.scrollTrigger={trigger:_,start:d,end:g,scrub:true}):c&&(b.scrollTrigger={trigger:_,start:d,once:true}),p.push(I.to(y,b));}),(c||h)&&U.refresh(),()=>{p.forEach(_=>{_.scrollTrigger?.kill(),_.kill();});}}}a(lm,"counter");function um(l,e={}){de();let r={start:a(()=>{},"start"),stop:a(()=>{},"stop"),destroy:a(()=>{},"destroy")},t=we(l)[0];if(!t)return r;let{bar:i=":scope > *",interval:n=100,minHeight:o=4,maxHeight:s=14,bounce:f=.75}=e,c=we(i,t);if(!c.length)return r;let h=0,d=a(()=>{h||(m(),h=window.setInterval(m,n));},"start"),g=a(()=>{h&&window.clearInterval(h),h=0,c.forEach(p=>I.to(p,{height:o,duration:.4,ease:"power2.out",overwrite:"auto"}));},"stop"),u=be(e,()=>(I.set(c,{height:o,force3D:true}),d(),()=>{h&&window.clearInterval(h),h=0,hr(c),I.set(c,{clearProps:"height"});}));return {start:d,stop:g,destroy:u};function m(){c.forEach(p=>{let _=Math.random()*.8+.2;I.to(p,{height:Math.max(o,s*_),duration:.45,ease:`back.out(${(f*1.8).toFixed(2)})`,overwrite:"auto"});});}}a(um,"audioBars");var nu="ak-theme-reveal";function cm(l={}){let{toggle:e,storageKey:r="ak-theme",origin:t="50% 50%",duration:i=1,onChange:n}=l,o=document.documentElement,s=e?Pe(e):null,f=(()=>{try{return sessionStorage.getItem(r)}catch{return null}})(),c=l.initial??f??(o.classList.contains("dark")?"dark":"light");u(c,false);let h=a(()=>m(c==="dark"?"light":"dark"),"onClick");s&&s.addEventListener("click",h);function d(){if(typeof t=="string")return t;let p=t?Pe(t):s;if(!p)return "50% 50%";let _=p.getBoundingClientRect();return `${Math.round(_.left+_.width/2)}px ${Math.round(_.top+_.height/2)}px`}a(d,"resolveOrigin");function g(p){let _=document.getElementById(nu);_||(_=document.createElement("style"),_.id=nu,document.head.appendChild(_));let y=`${i}s`;_.textContent=`
|
|
4
4
|
@supports (view-transition-name: root) {
|
|
5
5
|
::view-transition-group(root) { animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1); }
|
|
6
6
|
::view-transition-old(root),
|
|
7
7
|
.dark::view-transition-old(root) { animation: none; z-index: -1; }
|
|
8
8
|
::view-transition-new(root) {
|
|
9
9
|
animation: ak-theme-reveal ${y} cubic-bezier(0.76, 0, 0.24, 1);
|
|
10
|
-
clip-path: circle(0% at ${
|
|
10
|
+
clip-path: circle(0% at ${p});
|
|
11
11
|
}
|
|
12
12
|
@keyframes ak-theme-reveal {
|
|
13
|
-
from { clip-path: circle(0% at ${
|
|
14
|
-
to { clip-path: circle(142% at ${
|
|
13
|
+
from { clip-path: circle(0% at ${p}); }
|
|
14
|
+
to { clip-path: circle(142% at ${p}); }
|
|
15
15
|
}
|
|
16
|
-
}`;}
|
|
16
|
+
}`;}a(g,"injectStyles");function u(p,_){let y=a(()=>{o.classList.toggle("dark",p==="dark"),o.style.colorScheme=p,c=p;try{sessionStorage.setItem(r,p);}catch{}n?.(p);},"commit");if(!(_&&!l.force&&typeof document.startViewTransition=="function")){y();return}g(d()),document.startViewTransition(y);}return a(u,"apply"),{set:a(p=>{p!==c&&m(p);},"set"),toggle:a(()=>m(c==="dark"?"light":"dark"),"toggle"),current:a(()=>c,"current"),destroy:a(()=>{s&&s.removeEventListener("click",h),document.getElementById(nu)?.remove();},"destroy")};function m(p){u(p,true);}}a(cm,"themeReveal");var ou="polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%)",fm="polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%)",hm="polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%)";function pm(l){de();let{overlay:e,openTrigger:r,closeTrigger:t,nav:i,link:n=".menu-link a",chrome:o="[data-menu-chrome]",duration:s=1,stagger:f=.1,initialOpen:c=false,onOpen:h,onClose:d}=l,g={open:a(()=>{},"open"),close:a(()=>{},"close"),toggle:a(()=>{},"toggle"),isOpen:a(()=>false,"isOpen"),destroy:a(()=>{},"destroy")},u=Pe(e);if(!u)return g;let m=i?Pe(i):null,p=we(r),_=we(t),y=we(n,u),v=we(o,u);if(pi()&&!l.force)return I.set(u,{clipPath:ou,pointerEvents:"none"}),g;return b();function b(){let w=c,x=zt.curtain;I.set(u,{clipPath:ou,pointerEvents:"none"}),y.length&&I.set(y,{y:"100%"}),v.length&&I.set(v,{y:20});let P=[],S=a(()=>{if(w)return;w=true;let N=I.timeline({onComplete:a(()=>h?.(),"onComplete")});if(N.to(u,{clipPath:hm,duration:s,ease:x,onStart:a(()=>{I.set(u,{pointerEvents:"all"}),m&&I.set(m,{pointerEvents:"none"});},"onStart")},0),m){let A=we("a, p",m);A.length&&(I.set(A,{y:0}),N.to(A,{y:-20,duration:s,stagger:f,ease:x},0));}y.length&&N.fromTo(y,{y:"100%"},{y:"0%",duration:s,stagger:f/2,ease:"power3.out"},s*.5),v.length&&N.to(v,{y:0,duration:s,stagger:f,ease:x},s*.5),P.push(N);},"openMenu"),C=a(()=>{if(!w)return;w=false;let N=I.timeline({onComplete:a(()=>d?.(),"onComplete")});if(v.length&&N.to(v,{y:-20,duration:s*.75,stagger:f/2,ease:x},0),y.length&&N.to(y,{y:"100%",duration:s*.75,stagger:.05,ease:"power4.in"},0),N.to(u,{clipPath:fm,duration:s,delay:.5,ease:x,onComplete:a(()=>{I.set(u,{pointerEvents:"none"}),m&&I.set(m,{pointerEvents:"all"}),I.set(u,{clipPath:ou}),y.length&&I.set(y,{y:"100%"}),v.length&&I.set(v,{y:20});},"onComplete")},0),m){let A=we("a, p",m);A.length&&N.to(A,{y:0,duration:s,stagger:f,ease:x},s*.5);}P.push(N);},"closeMenu"),L=a(()=>w?C():S(),"toggle"),M=[];return p.forEach(N=>{N.addEventListener("click",S),M.push([N,"click",S]);}),_.forEach(N=>{N.addEventListener("click",C),M.push([N,"click",C]);}),c&&S(),{open:S,close:C,toggle:L,isOpen:a(()=>w,"isOpen"),destroy:a(()=>{M.forEach(([N,A,H])=>N.removeEventListener(A,H)),P.forEach(N=>N.kill()),I.set(u,{clearProps:"all"}),I.set([...y,...v],{clearProps:"all"});},"destroy")}}}a(pm,"menuOverlay");function dm(l,e={}){de();let r=gm(l)?{...e,root:l??e.root}:l,{duration:t=4,step:i=5,interval:n=200,sessionGuard:o=true,storageKey:s="ak-preloader-shown",onComplete:f}=r,c=Pe(r.root);if(!c)return ()=>{};let h=c,d=r.glyph?Pe(r.glyph):c.querySelector("svg"),g=r.counter?Pe(r.counter):c.querySelector("[data-counter]"),u=r.backdrop?Pe(r.backdrop):c.querySelector("[data-backdrop]");if(o&&sessionStorage.getItem(s))return h.style.display="none",f?.(),()=>{};if(pi()&&!r.force)return h.style.display="none",f?.(),()=>{};return be(r,()=>m());function m(){let p=[],_=0,y=false;g&&I.fromTo(g,{opacity:0,x:-100},{opacity:1,x:0,duration:.5,ease:"power2.out"}),d&&(I.set(d,{clipPath:"inset(100% 0px 0px 0px)"}),I.to(d,{clipPath:"inset(0% 0px 0px 0px)",duration:t,ease:"power1.inOut"}));let v=a(()=>{if(_=Math.min(100,_+i),g&&(g.textContent=String(_)),_>=100){b();return}p.push(window.setTimeout(v,n));},"tick");p.push(window.setTimeout(v,n));function b(){if(y)return;y=true;let w=I.timeline({onComplete:a(()=>{sessionStorage.setItem(s,"true"),h.style.display="none",f?.();},"onComplete")});d&&w.to(d,{scale:35,opacity:0,duration:.6,ease:zt.preloadOut,transformOrigin:"center 50%"},1),g&&w.to(g,{opacity:0,x:-40,duration:.35,ease:"power2.in"},1.15),u?w.to(u,{opacity:0,duration:.5,ease:"power2.out"},1.5):w.to(c,{opacity:0,duration:.5},1.5),w.set(c,{pointerEvents:"none"},1.6),w.call(()=>f?.(),void 0,">-0.1");}return a(b,"finish"),()=>{p.forEach(clearTimeout),hr([c,d,g,u]);}}}a(dm,"preloader");function gm(l){if(typeof l=="string"||l==null)return true;if(typeof l!="object")return false;if(Array.isArray(l))return true;let e=l;return "nodeType"in e?true:typeof e.length=="number"&&"item"in e}a(gm,"isTargetArg");/*! Bundled license information:
|
|
17
17
|
|
|
18
18
|
gsap/gsap-core.js:
|
|
19
19
|
(*!
|
|
@@ -113,5 +113,15 @@ gsap/ScrollSmoother.js:
|
|
|
113
113
|
* Subject to the terms at https://gsap.com/standard-license
|
|
114
114
|
* @author: Jack Doyle, jack@greensock.com
|
|
115
115
|
*)
|
|
116
|
-
|
|
116
|
+
|
|
117
|
+
gsap/Flip.js:
|
|
118
|
+
(*!
|
|
119
|
+
* Flip 3.15.0
|
|
120
|
+
* https://gsap.com
|
|
121
|
+
*
|
|
122
|
+
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
|
123
|
+
* Subject to the terms at https://gsap.com/standard-license
|
|
124
|
+
* @author: Jack Doyle, jack@greensock.com
|
|
125
|
+
*)
|
|
126
|
+
*/export{Dr as CustomEase,ci as Draggable,zt as EASES,Ai as ScrollSmoother,U as ScrollTrigger,Ci as SplitText,um as audioBars,Yg as clipWipe,bg as compose,lm as counter,sm as cursorFollower,tm as dragStrip,im as flipWords,I as gsap,be as guard,Ug as heroShrink,Wg as horizontalScroll,de as initGSAP,Ng as lineReveal,nm as liquidButton,Kg as logoReveal,am as magnetic,Qg as marquee,zg as maskReveal,jg as mediaSettle,pm as menuOverlay,$g as navHide,wg as onReady,Pe as one,Xg as parallax,pi as prefersReducedMotion,dm as preloader,Tg as raf,Hg as revealRule,em as rollText,Gg as scatterText,rm as scrambleText,Dg as smoothScroll,iu as split,Vg as stackedCards,qg as stackedCardsPinned,cm as themeReveal,we as toArray,om as underlineLink,Ig as unfoldReveal};//# sourceMappingURL=anim-kit.standalone.js.map
|
|
117
127
|
//# sourceMappingURL=anim-kit.standalone.js.map
|