@rtstic.dev/pulse 0.0.14 → 0.0.15

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.
@@ -0,0 +1 @@
1
+ [horizontal-scroll-section]{height:100vh;overflow:hidden;background:#000;position:relative;justify-content:flex-start}[horizontal-scroll-wrapper]{display:flex;height:100%;will-change:transform;gap:40px}.panel{min-width:100vw;width:100vw;height:100vh;position:relative;z-index:1}.panel.is-title{min-width:60vw;width:60vw;position:relative;z-index:1}@media (max-width: 991px){[horizontal-scroll-section]{height:auto;overflow:visible;display:block;padding:0}[horizontal-scroll-wrapper]{display:block;height:auto;width:100%}.panel{min-width:100%;width:100%;height:100vh;position:sticky;top:0;box-shadow:0 -5px 20px #00000080}}
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/home/horizontal-scroll.css"],
4
+ "sourcesContent": ["\n /* --- DESKTOP LAYOUT (Default) --- */\n \n [horizontal-scroll-section] {\n height: 100vh;\n overflow: hidden;\n background: #000;\n position: relative;\n /* Ensures content starts at left edge for horizontal scroll */\n justify-content: flex-start; \n }\n\n [horizontal-scroll-wrapper] {\n display: flex;\n height: 100%;\n will-change: transform;\n gap: 40px;\n }\n\n .panel {\n min-width: 100vw;\n width: 100vw;\n height: 100vh;\n /* Create a stacking context */\n position: relative; \n z-index: 1;\n }\n .panel.is-title {\n min-width: 60vw;\n width: 60vw;\n /* Create a stacking context */\n position: relative; \n z-index: 1;\n }\n\n /* --- MOBILE STACKING LAYOUT (< 992px) --- */\n @media (max-width: 991px) {\n \n /* 1. Unset the pinned height and overflow so the body can scroll naturally */\n [horizontal-scroll-section] {\n height: auto;\n overflow: visible; /* Important: sticky won't work if this is hidden */\n display: block; /* Stack block elements */\n padding: 0;\n }\n\n [horizontal-scroll-wrapper] {\n display: block;\n height: auto;\n width: 100%;\n }\n \n /* 2. The Stacking Effect */\n .panel {\n min-width: 100%;\n width: 100%;\n height: 100vh; /* Each card takes full screen */\n \n /* MAGIC SAUCE: Sticky Positioning */\n position: sticky; \n top: 0; /* Sticks to the top of viewport */\n \n /* Visual separation for the stacking effect */\n box-shadow: 0 -5px 20px rgba(0,0,0,0.5); \n }\n \n }\n"],
5
+ "mappings": ";AAGI,CAAC;AACC,UAAQ;AACR,YAAU;AACV,cAAY;AACZ,YAAU;AAEV,mBAAiB;AACnB;AAEA,CAAC;AACC,WAAS;AACT,UAAQ;AACR,eAAa;AACb,OAAK;AACP;AAEA,CAAC;AACC,aAAW;AACX,SAAO;AACP,UAAQ;AAER,YAAU;AACV,WAAS;AACX;AACE,CARD,KAQO,CAAC;AACP,aAAW;AACX,SAAO;AAEP,YAAU;AACV,WAAS;AACX;AAGA,OAAO,CAAC,SAAS,EAAE;AAGjB,GAAC;AACC,YAAQ;AACR,cAAU;AACV,aAAS;AACT,aAAS;AACX;AAEA,GAAC;AACC,aAAS;AACT,YAAQ;AACR,WAAO;AACT;AAGA,GAlCD;AAmCG,eAAW;AACX,WAAO;AACP,YAAQ;AAGR,cAAU;AACV,SAAK;AAGL,gBAAY,EAAE,KAAK,KAAK,KAAK,CAAC,EAAC,CAAC,EAAC,CAAC,EAAC;AACrC;AAEF;",
6
+ "names": []
7
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";(()=>{function tr(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function bo(a,e){a.prototype=Object.create(e.prototype),a.prototype.constructor=a,a.__proto__=e}var _t={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},ii={duration:.5,overwrite:!1,delay:0},ps,Ie,ae,kt=1e8,re=1/kt,ns=Math.PI*2,hu=ns/4,_u=0,So=Math.sqrt,du=Math.cos,pu=Math.sin,ke=function(e){return typeof e=="string"},de=function(e){return typeof e=="function"},ir=function(e){return typeof e=="number"},mn=function(e){return typeof e>"u"},Ht=function(e){return typeof e=="object"},ht=function(e){return e!==!1},gs=function(){return typeof window<"u"},un=function(e){return de(e)||ke(e)},Co=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Ge=Array.isArray,ss=/(?:-?\.?\d|\.)+/gi,ms=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Lr=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,$n=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,ys=/[+-]=-?[.\d]+/,Po=/[^,'"\[\]\s]+/gi,gu=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,le,Vt,os,vs,vt={},hn={},ko,Oo=function(e){return(hn=ni(e,vt))&&He},yn=function(e,r){return console.warn("Invalid property",e,"set to",r,"Missing plugin? gsap.registerPlugin()")},Ri=function(e,r){return!r&&console.warn(e)},Mo=function(e,r){return e&&(vt[e]=r)&&hn&&(hn[e]=r)||vt},Ai=function(){return 0},mu={suppressEvents:!0,isStart:!0,kill:!1},ln={suppressEvents:!0,kill:!1},yu={suppressEvents:!0},xs={},yr=[],as={},Do,ft={},Jn={},go=30,fn=[],ws="",Ts=function(e){var r=e[0],t,i;if(Ht(r)||de(r)||(e=[e]),!(t=(r._gsap||{}).harness)){for(i=fn.length;i--&&!fn[i].targetTest(r););t=fn[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new Ps(e[i],t)))||e.splice(i,1);return e},vr=function(e){return e._gsap||Ts(Ot(e))[0]._gsap},bs=function(e,r,t){return(t=e[r])&&de(t)?e[r]():mn(t)&&e.getAttribute&&e.getAttribute(r)||t},et=function(e,r){return(e=e.split(",")).forEach(r)||e},pe=function(e){return Math.round(e*1e5)/1e5||0},be=function(e){return Math.round(e*1e7)/1e7||0},Ir=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},vu=function(e,r){for(var t=r.length,i=0;e.indexOf(r[i])<0&&++i<t;);return i<t},_n=function(){var e=yr.length,r=yr.slice(0),t,i;for(as={},yr.length=0,t=0;t<e;t++)i=r[t],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},Ss=function(e){return!!(e._initted||e._startAt||e.add)},Eo=function(e,r,t,i){yr.length&&!Ie&&_n(),e.render(r,t,i||!!(Ie&&r<0&&Ss(e))),yr.length&&!Ie&&_n()},Ro=function(e){var r=parseFloat(e);return(r||r===0)&&(e+"").match(Po).length<2?r:ke(e)?e.trim():e},Ao=function(e){return e},xt=function(e,r){for(var t in r)t in e||(e[t]=r[t]);return e},xu=function(e){return function(r,t){for(var i in t)i in r||i==="duration"&&e||i==="ease"||(r[i]=t[i])}},ni=function(e,r){for(var t in r)e[t]=r[t];return e},mo=function a(e,r){for(var t in r)t!=="__proto__"&&t!=="constructor"&&t!=="prototype"&&(e[t]=Ht(r[t])?a(e[t]||(e[t]={}),r[t]):r[t]);return e},dn=function(e,r){var t={},i;for(i in e)i in r||(t[i]=e[i]);return t},Mi=function(e){var r=e.parent||le,t=e.keyframes?xu(Ge(e.keyframes)):xt;if(ht(e.inherit))for(;r;)t(e,r.vars.defaults),r=r.parent||r._dp;return e},wu=function(e,r){for(var t=e.length,i=t===r.length;i&&t--&&e[t]===r[t];);return t<0},zo=function(e,r,t,i,n){t===void 0&&(t="_first"),i===void 0&&(i="_last");var s=e[i],o;if(n)for(o=r[n];s&&s[n]>o;)s=s._prev;return s?(r._next=s._next,s._next=r):(r._next=e[t],e[t]=r),r._next?r._next._prev=r:e[i]=r,r._prev=s,r.parent=r._dp=e,r},vn=function(e,r,t,i){t===void 0&&(t="_first"),i===void 0&&(i="_last");var n=r._prev,s=r._next;n?n._next=s:e[t]===r&&(e[t]=s),s?s._prev=n:e[i]===r&&(e[i]=n),r._next=r._prev=r.parent=null},xr=function(e,r){e.parent&&(!r||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Ar=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},Tu=function(e){for(var r=e.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return e},us=function(e,r,t,i){return e._startAt&&(Ie?e._startAt.revert(ln):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(r,!0,i))},bu=function a(e){return!e||e._ts&&a(e.parent)},yo=function(e){return e._repeat?si(e._tTime,e=e.duration()+e._rDelay)*e:0},si=function(e,r){var t=Math.floor(e=be(e/r));return e&&t===e?t-1:t},pn=function(e,r){return(e-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},xn=function(e){return e._end=be(e._start+(e._tDur/Math.abs(e._ts||e._rts||re)||0))},wn=function(e,r){var t=e._dp;return t&&t.smoothChildTiming&&e._ts&&(e._start=be(t._time-(e._ts>0?r/e._ts:((e._dirty?e.totalDuration():e._tDur)-r)/-e._ts)),xn(e),t._dirty||Ar(t,e)),e},Fo=function(e,r){var t;if((r._time||!r._dur&&r._initted||r._start<e._time&&(r._dur||!r.add))&&(t=pn(e.rawTime(),r),(!r._dur||Li(0,r.totalDuration(),t)-r._tTime>re)&&r.render(t,!0)),Ar(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=-re}},Gt=function(e,r,t,i){return r.parent&&xr(r),r._start=be((ir(t)?t:t||e!==le?Pt(e,t,r):e._time)+r._delay),r._end=be(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),zo(e,r,"_first","_last",e._sort?"_start":0),ls(r)||(e._recent=r),i||Fo(e,r),e._ts<0&&wn(e,e._tTime),e},Lo=function(e,r){return(vt.ScrollTrigger||yn("scrollTrigger",r))&&vt.ScrollTrigger.create(r,e)},Io=function(e,r,t,i,n){if(Ms(e,r,n),!e._initted)return 1;if(!t&&e._pt&&!Ie&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Do!==ct.frame)return yr.push(e),e._lazy=[n,i],1},Su=function a(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||a(r))},ls=function(e){var r=e.data;return r==="isFromStart"||r==="isStart"},Cu=function(e,r,t,i){var n=e.ratio,s=r<0||!r&&(!e._start&&Su(e)&&!(!e._initted&&ls(e))||(e._ts<0||e._dp._ts<0)&&!ls(e))?0:1,o=e._rDelay,u=0,l,f,_;if(o&&e._repeat&&(u=Li(0,e._tDur,r),f=si(u,o),e._yoyo&&f&1&&(s=1-s),f!==si(e._tTime,o)&&(n=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==n||Ie||i||e._zTime===re||!r&&e._zTime){if(!e._initted&&Io(e,r,i,t,u))return;for(_=e._zTime,e._zTime=r||(t?re:0),t||(t=r&&!_),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=u,l=e._pt;l;)l.r(s,l.d),l=l._next;r<0&&us(e,r,t,!0),e._onUpdate&&!t&&yt(e,"onUpdate"),u&&e._repeat&&!t&&e.parent&&yt(e,"onRepeat"),(r>=e._tDur||r<0)&&e.ratio===s&&(s&&xr(e,1),!t&&!Ie&&(yt(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=r)},Pu=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}},oi=function(e,r,t,i){var n=e._repeat,s=be(r)||0,o=e._tTime/e._tDur;return o&&!i&&(e._time*=s/e._dur),e._dur=s,e._tDur=n?n<0?1e10:be(s*(n+1)+e._rDelay*n):s,o>0&&!i&&wn(e,e._tTime=e._tDur*o),e.parent&&xn(e),t||Ar(e.parent,e),e},vo=function(e){return e instanceof Le?Ar(e):oi(e,e._dur)},ku={_start:0,endTime:Ai,totalDuration:Ai},Pt=function a(e,r,t){var i=e.labels,n=e._recent||ku,s=e.duration()>=kt?n.endTime(!1):e._dur,o,u,l;return ke(r)&&(isNaN(r)||r in i)?(u=r.charAt(0),l=r.substr(-1)==="%",o=r.indexOf("="),u==="<"||u===">"?(o>=0&&(r=r.replace(/=/,"")),(u==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(r.substr(1))||0)*(l?(o<0?n:t).totalDuration()/100:1)):o<0?(r in i||(i[r]=s),i[r]):(u=parseFloat(r.charAt(o-1)+r.substr(o+1)),l&&t&&(u=u/100*(Ge(t)?t[0]:t).totalDuration()),o>1?a(e,r.substr(0,o-1),t)+u:s+u)):r==null?s:+r},Di=function(e,r,t){var i=ir(r[1]),n=(i?2:1)+(e<2?0:1),s=r[n],o,u;if(i&&(s.duration=r[1]),s.parent=t,e){for(o=s,u=t;u&&!("immediateRender"in o);)o=u.vars.defaults||{},u=ht(u.vars.inherit)&&u.parent;s.immediateRender=ht(o.immediateRender),e<2?s.runBackwards=1:s.startAt=r[n-1]}return new xe(r[0],s,r[n+1])},wr=function(e,r){return e||e===0?r(e):r},Li=function(e,r,t){return t<e?e:t>r?r:t},Ne=function(e,r){return!ke(e)||!(r=gu.exec(e))?"":r[1]},Ou=function(e,r,t){return wr(t,function(i){return Li(e,r,i)})},fs=[].slice,No=function(e,r){return e&&Ht(e)&&"length"in e&&(!r&&!e.length||e.length-1 in e&&Ht(e[0]))&&!e.nodeType&&e!==Vt},Mu=function(e,r,t){return t===void 0&&(t=[]),e.forEach(function(i){var n;return ke(i)&&!r||No(i,1)?(n=t).push.apply(n,Ot(i)):t.push(i)})||t},Ot=function(e,r,t){return ae&&!r&&ae.selector?ae.selector(e):ke(e)&&!t&&(os||!ai())?fs.call((r||vs).querySelectorAll(e),0):Ge(e)?Mu(e,t):No(e)?fs.call(e,0):e?[e]:[]},cs=function(e){return e=Ot(e)[0]||Ri("Invalid scope")||{},function(r){var t=e.current||e.nativeElement||e;return Ot(r,t.querySelectorAll?t:t===e?Ri("Invalid scope")||vs.createElement("div"):e)}},Bo=function(e){return e.sort(function(){return .5-Math.random()})},Yo=function(e){if(de(e))return e;var r=Ht(e)?e:{each:e},t=zr(r.ease),i=r.from||0,n=parseFloat(r.base)||0,s={},o=i>0&&i<1,u=isNaN(i)||o,l=r.axis,f=i,_=i;return ke(i)?f=_={center:.5,edges:.5,end:1}[i]||0:!o&&u&&(f=i[0],_=i[1]),function(d,c,p){var h=(p||r).length,m=s[h],T,w,S,v,b,P,x,O,C;if(!m){if(C=r.grid==="auto"?0:(r.grid||[1,kt])[1],!C){for(x=-kt;x<(x=p[C++].getBoundingClientRect().left)&&C<h;);C<h&&C--}for(m=s[h]=[],T=u?Math.min(C,h)*f-.5:i%C,w=C===kt?0:u?h*_/C-.5:i/C|0,x=0,O=kt,P=0;P<h;P++)S=P%C-T,v=w-(P/C|0),m[P]=b=l?Math.abs(l==="y"?v:S):So(S*S+v*v),b>x&&(x=b),b<O&&(O=b);i==="random"&&Bo(m),m.max=x-O,m.min=O,m.v=h=(parseFloat(r.amount)||parseFloat(r.each)*(C>h?h-1:l?l==="y"?h/C:C:Math.max(C,h/C))||0)*(i==="edges"?-1:1),m.b=h<0?n-h:n,m.u=Ne(r.amount||r.each)||0,t=t&&h<0?Ko(t):t}return h=(m[d]-m.min)/m.max||0,be(m.b+(t?t(h):h)*m.v)+m.u}},hs=function(e){var r=Math.pow(10,((e+"").split(".")[1]||"").length);return function(t){var i=be(Math.round(parseFloat(t)/e)*e*r);return(i-i%1)/r+(ir(t)?0:Ne(t))}},Xo=function(e,r){var t=Ge(e),i,n;return!t&&Ht(e)&&(i=t=e.radius||kt,e.values?(e=Ot(e.values),(n=!ir(e[0]))&&(i*=i)):e=hs(e.increment)),wr(r,t?de(e)?function(s){return n=e(s),Math.abs(n-s)<=i?n:s}:function(s){for(var o=parseFloat(n?s.x:s),u=parseFloat(n?s.y:0),l=kt,f=0,_=e.length,d,c;_--;)n?(d=e[_].x-o,c=e[_].y-u,d=d*d+c*c):d=Math.abs(e[_]-o),d<l&&(l=d,f=_);return f=!i||l<=i?e[f]:s,n||f===s||ir(s)?f:f+Ne(s)}:hs(e))},Wo=function(e,r,t,i){return wr(Ge(e)?!r:t===!0?!!(t=0):!i,function(){return Ge(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})},Du=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,s){return s(n)},i)}},Eu=function(e,r){return function(t){return e(parseFloat(t))+(r||Ne(t))}},Ru=function(e,r,t){return Vo(e,r,0,1,t)},Uo=function(e,r,t){return wr(t,function(i){return e[~~r(i)]})},Au=function a(e,r,t){var i=r-e;return Ge(e)?Uo(e,a(0,e.length),r):wr(t,function(n){return(i+(n-e)%i)%i+e})},zu=function a(e,r,t){var i=r-e,n=i*2;return Ge(e)?Uo(e,a(0,e.length-1),r):wr(t,function(s){return s=(n+(s-e)%n)%n||0,e+(s>i?n-s:s)})},ui=function(e){for(var r=0,t="",i,n,s,o;~(i=e.indexOf("random(",r));)s=e.indexOf(")",i),o=e.charAt(i+7)==="[",n=e.substr(i+7,s-i-7).match(o?Po:ss),t+=e.substr(r,i-r)+Wo(o?n:+n[0],o?0:+n[1],+n[2]||1e-5),r=s+1;return t+e.substr(r,e.length-r)},Vo=function(e,r,t,i,n){var s=r-e,o=i-t;return wr(n,function(u){return t+((u-e)/s*o||0)})},Fu=function a(e,r,t,i){var n=isNaN(e+r)?0:function(c){return(1-c)*e+c*r};if(!n){var s=ke(e),o={},u,l,f,_,d;if(t===!0&&(i=1)&&(t=null),s)e={p:e},r={p:r};else if(Ge(e)&&!Ge(r)){for(f=[],_=e.length,d=_-2,l=1;l<_;l++)f.push(a(e[l-1],e[l]));_--,n=function(p){p*=_;var h=Math.min(d,~~p);return f[h](p-h)},t=r}else i||(e=ni(Ge(e)?[]:{},e));if(!f){for(u in r)ks.call(o,e,u,"get",r[u]);n=function(p){return Rs(p,o)||(s?e.p:e)}}}return wr(t,n)},xo=function(e,r,t){var i=e.labels,n=kt,s,o,u;for(s in i)o=i[s]-r,o<0==!!t&&o&&n>(o=Math.abs(o))&&(u=s,n=o);return u},yt=function(e,r,t){var i=e.vars,n=i[r],s=ae,o=e._ctx,u,l,f;if(n)return u=i[r+"Params"],l=i.callbackScope||e,t&&yr.length&&_n(),o&&(ae=o),f=u?n.apply(l,u):n.call(l),ae=s,f},ki=function(e){return xr(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Ie),e.progress()<1&&yt(e,"onInterrupt"),e},ri,Go=[],Ho=function(e){if(e)if(e=!e.name&&e.default||e,gs()||e.headless){var r=e.name,t=de(e),i=r&&!t&&e.init?function(){this._props=[]}:e,n={init:Ai,render:Rs,add:ks,kill:$u,modifier:Zu,rawVars:0},s={targetTest:0,get:0,getSetter:Tn,aliases:{},register:0};if(ai(),e!==i){if(ft[r])return;xt(i,xt(dn(e,n),s)),ni(i.prototype,ni(n,dn(e,s))),ft[i.prop=r]=i,e.targetTest&&(fn.push(i),xs[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}Mo(r,i),e.register&&e.register(He,i,tt)}else Go.push(e)},te=255,Oi={aqua:[0,te,te],lime:[0,te,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,te],navy:[0,0,128],white:[te,te,te],olive:[128,128,0],yellow:[te,te,0],orange:[te,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[te,0,0],pink:[te,192,203],cyan:[0,te,te],transparent:[te,te,te,0]},jn=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)*te+.5|0},qo=function(e,r,t){var i=e?ir(e)?[e>>16,e>>8&te,e&te]:0:Oi.black,n,s,o,u,l,f,_,d,c,p;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Oi[e])i=Oi[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&te,i&te,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&te,e&te]}else if(e.substr(0,3)==="hsl"){if(i=p=e.match(ss),!r)u=+i[0]%360/360,l=+i[1]/100,f=+i[2]/100,s=f<=.5?f*(l+1):f+l-f*l,n=f*2-s,i.length>3&&(i[3]*=1),i[0]=jn(u+1/3,n,s),i[1]=jn(u,n,s),i[2]=jn(u-1/3,n,s);else if(~e.indexOf("="))return i=e.match(ms),t&&i.length<4&&(i[3]=1),i}else i=e.match(ss)||Oi.transparent;i=i.map(Number)}return r&&!p&&(n=i[0]/te,s=i[1]/te,o=i[2]/te,_=Math.max(n,s,o),d=Math.min(n,s,o),f=(_+d)/2,_===d?u=l=0:(c=_-d,l=f>.5?c/(2-_-d):c/(_+d),u=_===n?(s-o)/c+(s<o?6:0):_===s?(o-n)/c+2:(n-s)/c+4,u*=60),i[0]=~~(u+.5),i[1]=~~(l*100+.5),i[2]=~~(f*100+.5)),t&&i.length<4&&(i[3]=1),i},Qo=function(e){var r=[],t=[],i=-1;return e.split(rr).forEach(function(n){var s=n.match(Lr)||[];r.push.apply(r,s),t.push(i+=s.length+1)}),r.c=t,r},wo=function(e,r,t){var i="",n=(e+i).match(rr),s=r?"hsla(":"rgba(",o=0,u,l,f,_;if(!n)return e;if(n=n.map(function(d){return(d=qo(d,r,1))&&s+(r?d[0]+","+d[1]+"%,"+d[2]+"%,"+d[3]:d.join(","))+")"}),t&&(f=Qo(e),u=t.c,u.join(i)!==f.c.join(i)))for(l=e.replace(rr,"1").split(Lr),_=l.length-1;o<_;o++)i+=l[o]+(~u.indexOf(o)?n.shift()||s+"0,0,0,0)":(f.length?f:n.length?n:t).shift());if(!l)for(l=e.split(rr),_=l.length-1;o<_;o++)i+=l[o]+n[o];return i+l[_]},rr=function(){var a="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in Oi)a+="|"+e+"\\b";return new RegExp(a+")","gi")}(),Lu=/hsl[a]?\(/,Cs=function(e){var r=e.join(" "),t;if(rr.lastIndex=0,rr.test(r))return t=Lu.test(r),e[1]=wo(e[1],t),e[0]=wo(e[0],t,Qo(e[1])),!0},zi,ct=function(){var a=Date.now,e=500,r=33,t=a(),i=t,n=1e3/240,s=n,o=[],u,l,f,_,d,c,p=function h(m){var T=a()-i,w=m===!0,S,v,b,P;if((T>e||T<0)&&(t+=T-r),i+=T,b=i-t,S=b-s,(S>0||w)&&(P=++_.frame,d=b-_.time*1e3,_.time=b=b/1e3,s+=S+(S>=n?4:n-S),v=1),w||(u=l(h)),v)for(c=0;c<o.length;c++)o[c](b,d,P,m)};return _={time:0,frame:0,tick:function(){p(!0)},deltaRatio:function(m){return d/(1e3/(m||60))},wake:function(){ko&&(!os&&gs()&&(Vt=os=window,vs=Vt.document||{},vt.gsap=He,(Vt.gsapVersions||(Vt.gsapVersions=[])).push(He.version),Oo(hn||Vt.GreenSockGlobals||!Vt.gsap&&Vt||{}),Go.forEach(Ho)),f=typeof requestAnimationFrame<"u"&&requestAnimationFrame,u&&_.sleep(),l=f||function(m){return setTimeout(m,s-_.time*1e3+1|0)},zi=1,p(2))},sleep:function(){(f?cancelAnimationFrame:clearTimeout)(u),zi=0,l=Ai},lagSmoothing:function(m,T){e=m||1/0,r=Math.min(T||33,e)},fps:function(m){n=1e3/(m||240),s=_.time*1e3+n},add:function(m,T,w){var S=T?function(v,b,P,x){m(v,b,P,x),_.remove(S)}:m;return _.remove(m),o[w?"unshift":"push"](S),ai(),S},remove:function(m,T){~(T=o.indexOf(m))&&o.splice(T,1)&&c>=T&&c--},_listeners:o},_}(),ai=function(){return!zi&&ct.wake()},Q={},Iu=/^[\d.\-M][\d.\-,\s]/,Nu=/["']/g,Bu=function(e){for(var r={},t=e.substr(1,e.length-3).split(":"),i=t[0],n=1,s=t.length,o,u,l;n<s;n++)u=t[n],o=n!==s-1?u.lastIndexOf(","):u.length,l=u.substr(0,o),r[i]=isNaN(l)?l.replace(Nu,"").trim():+l,i=u.substr(o+1).trim();return r},Yu=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)},Xu=function(e){var r=(e+"").split("("),t=Q[r[0]];return t&&r.length>1&&t.config?t.config.apply(null,~e.indexOf("{")?[Bu(r[1])]:Yu(e).split(",").map(Ro)):Q._CE&&Iu.test(e)?Q._CE("",e):t},Ko=function(e){return function(r){return 1-e(1-r)}},Zo=function a(e,r){for(var t=e._first,i;t;)t instanceof Le?a(t,r):t.vars.yoyoEase&&(!t._yoyo||!t._repeat)&&t._yoyo!==r&&(t.timeline?a(t.timeline,r):(i=t._ease,t._ease=t._yEase,t._yEase=i,t._yoyo=r)),t=t._next},zr=function(e,r){return e&&(de(e)?e:Q[e]||Xu(e))||r},Nr=function(e,r,t,i){t===void 0&&(t=function(u){return 1-r(1-u)}),i===void 0&&(i=function(u){return u<.5?r(u*2)/2:1-r((1-u)*2)/2});var n={easeIn:r,easeOut:t,easeInOut:i},s;return et(e,function(o){Q[o]=vt[o]=n,Q[s=o.toLowerCase()]=t;for(var u in n)Q[s+(u==="easeIn"?".in":u==="easeOut"?".out":".inOut")]=Q[o+"."+u]=n[u]}),n},$o=function(e){return function(r){return r<.5?(1-e(1-r*2))/2:.5+e((r-.5)*2)/2}},es=function a(e,r,t){var i=r>=1?r:1,n=(t||(e?.3:.45))/(r<1?r:1),s=n/ns*(Math.asin(1/i)||0),o=function(f){return f===1?1:i*Math.pow(2,-10*f)*pu((f-s)*n)+1},u=e==="out"?o:e==="in"?function(l){return 1-o(1-l)}:$o(o);return n=ns/n,u.config=function(l,f){return a(e,l,f)},u},ts=function a(e,r){r===void 0&&(r=1.70158);var t=function(s){return s?--s*s*((r+1)*s+r)+1:0},i=e==="out"?t:e==="in"?function(n){return 1-t(1-n)}:$o(t);return i.config=function(n){return a(e,n)},i};et("Linear,Quad,Cubic,Quart,Quint,Strong",function(a,e){var r=e<5?e+1:e;Nr(a+",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})});Q.Linear.easeNone=Q.none=Q.Linear.easeIn;Nr("Elastic",es("in"),es("out"),es());(function(a,e){var r=1/e,t=2*r,i=2.5*r,n=function(o){return o<r?a*o*o:o<t?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};Nr("Bounce",function(s){return 1-n(1-s)},n)})(7.5625,2.75);Nr("Expo",function(a){return Math.pow(2,10*(a-1))*a+a*a*a*a*a*a*(1-a)});Nr("Circ",function(a){return-(So(1-a*a)-1)});Nr("Sine",function(a){return a===1?1:-du(a*hu)+1});Nr("Back",ts("in"),ts("out"),ts());Q.SteppedEase=Q.steps=vt.SteppedEase={config:function(e,r){e===void 0&&(e=1);var t=1/e,i=e+(r?0:1),n=r?1:0,s=1-re;return function(o){return((i*Li(0,s,o)|0)+n)*t}}};ii.ease=Q["quad.out"];et("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(a){return ws+=a+","+a+"Params,"});var Ps=function(e,r){this.id=_u++,e._gsap=this,this.target=e,this.harness=r,this.get=r?r.get:bs,this.set=r?r.getSetter:Tn},Fi=function(){function a(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,oi(this,+r.duration,1,1),this.data=r.data,ae&&(this._ctx=ae,ae.data.push(this)),zi||ct.wake()}var e=a.prototype;return e.delay=function(t){return t||t===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,oi(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,i){if(ai(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(wn(this,t),!n._dp||n.parent||Fo(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,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&Gt(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===re||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),Eo(this,t,i)),this},e.time=function(t,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+yo(this))%(this._dur+this._rDelay)||(t?this._dur:0),i):this._time},e.totalProgress=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},e.progress=function(t,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-t:t)+yo(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(t,i){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*n,i):this._repeat?si(this._tTime,n)+1:1},e.timeScale=function(t,i){if(!arguments.length)return this._rts===-re?0:this._rts;if(this._rts===t)return this;var n=this.parent&&this._ts?pn(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-re?0:this._rts,this.totalTime(Li(-Math.abs(this._delay),this.totalDuration(),n),i!==!1),xn(this),Tu(this)},e.paused=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):(ai(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==re&&(this._tTime-=re)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&Gt(i,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(ht(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=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?pn(i.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){t===void 0&&(t=yu);var i=Ie;return Ie=t,Ss(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),this.data!=="nested"&&t.kill!==!1&&this.kill(),Ie=i,this},e.globalTime=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},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,vo(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var i=this._time;return this._rDelay=t,vo(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,i){return this.totalTime(Pt(this,t),ht(i))},e.restart=function(t,i){return this.play().totalTime(t?-this._delay:0,ht(i)),this._dur||(this._zTime=-re),this},e.play=function(t,i){return t!=null&&this.seek(t,i),this.reversed(!1).paused(!1)},e.reverse=function(t,i){return t!=null&&this.seek(t||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(t,i){return t!=null&&this.seek(t,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-re:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-re,this},e.isActive=function(){var t=this.parent||this._dp,i=this._start,n;return!!(!t||this._ts&&this._initted&&t.isActive()&&(n=t.rawTime(!0))>=i&&n<this.endTime(!0)-re)},e.eventCallback=function(t,i,n){var s=this.vars;return arguments.length>1?(i?(s[t]=i,n&&(s[t+"Params"]=n),t==="onUpdate"&&(this._onUpdate=i)):delete s[t],this):s[t]},e.then=function(t){var i=this;return new Promise(function(n){var s=de(t)?t:Ao,o=function(){var l=i.then;i.then=null,de(s)&&(s=s(i))&&(s.then||s===i)&&(i.then=l),n(s),i.then=l};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?o():i._prom=o})},e.kill=function(){ki(this)},a}();xt(Fi.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-re,_prom:0,_ps:!1,_rts:1});var Le=function(a){bo(e,a);function e(t,i){var n;return t===void 0&&(t={}),n=a.call(this,t)||this,n.labels={},n.smoothChildTiming=!!t.smoothChildTiming,n.autoRemoveChildren=!!t.autoRemoveChildren,n._sort=ht(t.sortChildren),le&&Gt(t.parent||le,tr(n),i),t.reversed&&n.reverse(),t.paused&&n.paused(!0),t.scrollTrigger&&Lo(tr(n),t.scrollTrigger),n}var r=e.prototype;return r.to=function(i,n,s){return Di(0,arguments,this),this},r.from=function(i,n,s){return Di(1,arguments,this),this},r.fromTo=function(i,n,s,o){return Di(2,arguments,this),this},r.set=function(i,n,s){return n.duration=0,n.parent=this,Mi(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new xe(i,n,Pt(this,s),1),this},r.call=function(i,n,s){return Gt(this,xe.delayedCall(0,i,n),s)},r.staggerTo=function(i,n,s,o,u,l,f){return s.duration=n,s.stagger=s.stagger||o,s.onComplete=l,s.onCompleteParams=f,s.parent=this,new xe(i,s,Pt(this,u)),this},r.staggerFrom=function(i,n,s,o,u,l,f){return s.runBackwards=1,Mi(s).immediateRender=ht(s.immediateRender),this.staggerTo(i,n,s,o,u,l,f)},r.staggerFromTo=function(i,n,s,o,u,l,f,_){return o.startAt=s,Mi(o).immediateRender=ht(o.immediateRender),this.staggerTo(i,n,o,u,l,f,_)},r.render=function(i,n,s){var o=this._time,u=this._dirty?this.totalDuration():this._tDur,l=this._dur,f=i<=0?0:be(i),_=this._zTime<0!=i<0&&(this._initted||!l),d,c,p,h,m,T,w,S,v,b,P,x;if(this!==le&&f>u&&i>=0&&(f=u),f!==this._tTime||s||_){if(o!==this._time&&l&&(f+=this._time-o,i+=this._time-o),d=f,v=this._start,S=this._ts,T=!S,_&&(l||(o=this._zTime),(i||!n)&&(this._zTime=i)),this._repeat){if(P=this._yoyo,m=l+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(m*100+i,n,s);if(d=be(f%m),f===u?(h=this._repeat,d=l):(b=be(f/m),h=~~b,h&&h===b&&(d=l,h--),d>l&&(d=l)),b=si(this._tTime,m),!o&&this._tTime&&b!==h&&this._tTime-b*m-this._dur<=0&&(b=h),P&&h&1&&(d=l-d,x=1),h!==b&&!this._lock){var O=P&&b&1,C=O===(P&&h&1);if(h<b&&(O=!O),o=O?0:f%l?l:f,this._lock=1,this.render(o||(x?0:be(h*m)),n,!l)._lock=0,this._tTime=f,!n&&this.parent&&yt(this,"onRepeat"),this.vars.repeatRefresh&&!x&&(this.invalidate()._lock=1),o&&o!==this._time||T!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(l=this._dur,u=this._tDur,C&&(this._lock=2,o=O?l:-1e-4,this.render(o,!0),this.vars.repeatRefresh&&!x&&this.invalidate()),this._lock=0,!this._ts&&!T)return this;Zo(this,x)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(w=Pu(this,be(o),be(d)),w&&(f-=d-(d=w._start))),this._tTime=f,this._time=d,this._act=!S,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,o=0),!o&&f&&!n&&!b&&(yt(this,"onStart"),this._tTime!==f))return this;if(d>=o&&i>=0)for(c=this._first;c;){if(p=c._next,(c._act||d>=c._start)&&c._ts&&w!==c){if(c.parent!==this)return this.render(i,n,s);if(c.render(c._ts>0?(d-c._start)*c._ts:(c._dirty?c.totalDuration():c._tDur)+(d-c._start)*c._ts,n,s),d!==this._time||!this._ts&&!T){w=0,p&&(f+=this._zTime=-re);break}}c=p}else{c=this._last;for(var k=i<0?i:d;c;){if(p=c._prev,(c._act||k<=c._end)&&c._ts&&w!==c){if(c.parent!==this)return this.render(i,n,s);if(c.render(c._ts>0?(k-c._start)*c._ts:(c._dirty?c.totalDuration():c._tDur)+(k-c._start)*c._ts,n,s||Ie&&Ss(c)),d!==this._time||!this._ts&&!T){w=0,p&&(f+=this._zTime=k?-re:re);break}}c=p}}if(w&&!n&&(this.pause(),w.render(d>=o?0:-re)._zTime=d>=o?1:-1,this._ts))return this._start=v,xn(this),this.render(i,n,s);this._onUpdate&&!n&&yt(this,"onUpdate",!0),(f===u&&this._tTime>=this.totalDuration()||!f&&o)&&(v===this._start||Math.abs(S)!==Math.abs(this._ts))&&(this._lock||((i||!l)&&(f===u&&this._ts>0||!f&&this._ts<0)&&xr(this,1),!n&&!(i<0&&!o)&&(f||o||!u)&&(yt(this,f===u&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(f<u&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(i,n){var s=this;if(ir(n)||(n=Pt(this,n,i)),!(i instanceof Fi)){if(Ge(i))return i.forEach(function(o){return s.add(o,n)}),this;if(ke(i))return this.addLabel(i,n);if(de(i))i=xe.delayedCall(0,i);else return this}return this!==i?Gt(this,i,n):this},r.getChildren=function(i,n,s,o){i===void 0&&(i=!0),n===void 0&&(n=!0),s===void 0&&(s=!0),o===void 0&&(o=-kt);for(var u=[],l=this._first;l;)l._start>=o&&(l instanceof xe?n&&u.push(l):(s&&u.push(l),i&&u.push.apply(u,l.getChildren(!0,n,s)))),l=l._next;return u},r.getById=function(i){for(var n=this.getChildren(1,1,1),s=n.length;s--;)if(n[s].vars.id===i)return n[s]},r.remove=function(i){return ke(i)?this.removeLabel(i):de(i)?this.killTweensOf(i):(i.parent===this&&vn(this,i),i===this._recent&&(this._recent=this._last),Ar(this))},r.totalTime=function(i,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=be(ct.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},r.addLabel=function(i,n){return this.labels[i]=Pt(this,n),this},r.removeLabel=function(i){return delete this.labels[i],this},r.addPause=function(i,n,s){var o=xe.delayedCall(0,n||Ai,s);return o.data="isPause",this._hasPause=1,Gt(this,o,Pt(this,i))},r.removePause=function(i){var n=this._first;for(i=Pt(this,i);n;)n._start===i&&n.data==="isPause"&&xr(n),n=n._next},r.killTweensOf=function(i,n,s){for(var o=this.getTweensOf(i,s),u=o.length;u--;)mr!==o[u]&&o[u].kill(i,n);return this},r.getTweensOf=function(i,n){for(var s=[],o=Ot(i),u=this._first,l=ir(n),f;u;)u instanceof xe?vu(u._targets,o)&&(l?(!mr||u._initted&&u._ts)&&u.globalTime(0)<=n&&u.globalTime(u.totalDuration())>n:!n||u.isActive())&&s.push(u):(f=u.getTweensOf(o,n)).length&&s.push.apply(s,f),u=u._next;return s},r.tweenTo=function(i,n){n=n||{};var s=this,o=Pt(s,i),u=n,l=u.startAt,f=u.onStart,_=u.onStartParams,d=u.immediateRender,c,p=xe.to(s,xt({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:n.duration||Math.abs((o-(l&&"time"in l?l.time:s._time))/s.timeScale())||re,onStart:function(){if(s.pause(),!c){var m=n.duration||Math.abs((o-(l&&"time"in l?l.time:s._time))/s.timeScale());p._dur!==m&&oi(p,m,0,1).render(p._time,!0,!0),c=1}f&&f.apply(p,_||[])}},n));return d?p.render(0):p},r.tweenFromTo=function(i,n,s){return this.tweenTo(n,xt({startAt:{time:Pt(this,i)}},s))},r.recent=function(){return this._recent},r.nextLabel=function(i){return i===void 0&&(i=this._time),xo(this,Pt(this,i))},r.previousLabel=function(i){return i===void 0&&(i=this._time),xo(this,Pt(this,i),1)},r.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+re)},r.shiftChildren=function(i,n,s){s===void 0&&(s=0);for(var o=this._first,u=this.labels,l;o;)o._start>=s&&(o._start+=i,o._end+=i),o=o._next;if(n)for(l in u)u[l]>=s&&(u[l]+=i);return Ar(this)},r.invalidate=function(i){var n=this._first;for(this._lock=0;n;)n.invalidate(i),n=n._next;return a.prototype.invalidate.call(this,i)},r.clear=function(i){i===void 0&&(i=!0);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={}),Ar(this)},r.totalDuration=function(i){var n=0,s=this,o=s._last,u=kt,l,f,_;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-i:i));if(s._dirty){for(_=s.parent;o;)l=o._prev,o._dirty&&o.totalDuration(),f=o._start,f>u&&s._sort&&o._ts&&!s._lock?(s._lock=1,Gt(s,o,f-o._delay,1)._lock=0):u=f,f<0&&o._ts&&(n-=f,(!_&&!s._dp||_&&_.smoothChildTiming)&&(s._start+=f/s._ts,s._time-=f,s._tTime-=f),s.shiftChildren(-f,!1,-1/0),u=0),o._end>n&&o._ts&&(n=o._end),o=l;oi(s,s===le&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(i){if(le._ts&&(Eo(le,pn(i,le)),Do=ct.frame),ct.frame>=go){go+=_t.autoSleep||120;var n=le._first;if((!n||!n._ts)&&_t.autoSleep&&ct._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||ct.sleep()}}},e}(Fi);xt(Le.prototype,{_lock:0,_hasPause:0,_forcing:0});var Wu=function(e,r,t,i,n,s,o){var u=new tt(this._pt,e,r,0,1,Es,null,n),l=0,f=0,_,d,c,p,h,m,T,w;for(u.b=t,u.e=i,t+="",i+="",(T=~i.indexOf("random("))&&(i=ui(i)),s&&(w=[t,i],s(w,e,r),t=w[0],i=w[1]),d=t.match($n)||[];_=$n.exec(i);)p=_[0],h=i.substring(l,_.index),c?c=(c+1)%5:h.substr(-5)==="rgba("&&(c=1),p!==d[f++]&&(m=parseFloat(d[f-1])||0,u._pt={_next:u._pt,p:h||f===1?h:",",s:m,c:p.charAt(1)==="="?Ir(m,p)-m:parseFloat(p)-m,m:c&&c<4?Math.round:0},l=$n.lastIndex);return u.c=l<i.length?i.substring(l,i.length):"",u.fp=o,(ys.test(i)||T)&&(u.e=0),this._pt=u,u},ks=function(e,r,t,i,n,s,o,u,l,f){de(i)&&(i=i(n||0,e,s));var _=e[r],d=t!=="get"?t:de(_)?l?e[r.indexOf("set")||!de(e["get"+r.substr(3)])?r:"get"+r.substr(3)](l):e[r]():_,c=de(_)?l?qu:ea:Ds,p;if(ke(i)&&(~i.indexOf("random(")&&(i=ui(i)),i.charAt(1)==="="&&(p=Ir(d,i)+(Ne(d)||0),(p||p===0)&&(i=p))),!f||d!==i||_s)return!isNaN(d*i)&&i!==""?(p=new tt(this._pt,e,r,+d||0,i-(d||0),typeof _=="boolean"?Ku:ta,0,c),l&&(p.fp=l),o&&p.modifier(o,this,e),this._pt=p):(!_&&!(r in e)&&yn(r,i),Wu.call(this,e,r,d,i,c,u||_t.stringFilter,l))},Uu=function(e,r,t,i,n){if(de(e)&&(e=Ei(e,n,r,t,i)),!Ht(e)||e.style&&e.nodeType||Ge(e)||Co(e))return ke(e)?Ei(e,n,r,t,i):e;var s={},o;for(o in e)s[o]=Ei(e[o],n,r,t,i);return s},Os=function(e,r,t,i,n,s){var o,u,l,f;if(ft[e]&&(o=new ft[e]).init(n,o.rawVars?r[e]:Uu(r[e],i,n,s,t),t,i,s)!==!1&&(t._pt=u=new tt(t._pt,n,e,0,1,o.render,o,0,o.priority),t!==ri))for(l=t._ptLookup[t._targets.indexOf(n)],f=o._props.length;f--;)l[o._props[f]]=u;return o},mr,_s,Ms=function a(e,r,t){var i=e.vars,n=i.ease,s=i.startAt,o=i.immediateRender,u=i.lazy,l=i.onUpdate,f=i.runBackwards,_=i.yoyoEase,d=i.keyframes,c=i.autoRevert,p=e._dur,h=e._startAt,m=e._targets,T=e.parent,w=T&&T.data==="nested"?T.vars.targets:m,S=e._overwrite==="auto"&&!ps,v=e.timeline,b,P,x,O,C,k,F,M,G,U,K,H,z;if(v&&(!d||!n)&&(n="none"),e._ease=zr(n,ii.ease),e._yEase=_?Ko(zr(_===!0?n:_,ii.ease)):0,_&&e._yoyo&&!e._repeat&&(_=e._yEase,e._yEase=e._ease,e._ease=_),e._from=!v&&!!i.runBackwards,!v||d&&!i.stagger){if(M=m[0]?vr(m[0]).harness:0,H=M&&i[M.prop],b=dn(i,xs),h&&(h._zTime<0&&h.progress(1),r<0&&f&&o&&!c?h.render(-1,!0):h.revert(f&&p?ln:mu),h._lazy=0),s){if(xr(e._startAt=xe.set(m,xt({data:"isStart",overwrite:!1,parent:T,immediateRender:!0,lazy:!h&&ht(u),startAt:null,delay:0,onUpdate:l&&function(){return yt(e,"onUpdate")},stagger:0},s))),e._startAt._dp=0,e._startAt._sat=e,r<0&&(Ie||!o&&!c)&&e._startAt.revert(ln),o&&p&&r<=0&&t<=0){r&&(e._zTime=r);return}}else if(f&&p&&!h){if(r&&(o=!1),x=xt({overwrite:!1,data:"isFromStart",lazy:o&&!h&&ht(u),immediateRender:o,stagger:0,parent:T},b),H&&(x[M.prop]=H),xr(e._startAt=xe.set(m,x)),e._startAt._dp=0,e._startAt._sat=e,r<0&&(Ie?e._startAt.revert(ln):e._startAt.render(-1,!0)),e._zTime=r,!o)a(e._startAt,re,re);else if(!r)return}for(e._pt=e._ptCache=0,u=p&&ht(u)||u&&!p,P=0;P<m.length;P++){if(C=m[P],F=C._gsap||Ts(m)[P]._gsap,e._ptLookup[P]=U={},as[F.id]&&yr.length&&_n(),K=w===m?P:w.indexOf(C),M&&(G=new M).init(C,H||b,e,K,w)!==!1&&(e._pt=O=new tt(e._pt,C,G.name,0,1,G.render,G,0,G.priority),G._props.forEach(function($){U[$]=O}),G.priority&&(k=1)),!M||H)for(x in b)ft[x]&&(G=Os(x,b,e,K,C,w))?G.priority&&(k=1):U[x]=O=ks.call(e,C,x,"get",b[x],K,w,0,i.stringFilter);e._op&&e._op[P]&&e.kill(C,e._op[P]),S&&e._pt&&(mr=e,le.killTweensOf(C,U,e.globalTime(r)),z=!e.parent,mr=0),e._pt&&u&&(as[F.id]=1)}k&&As(e),e._onInit&&e._onInit(e)}e._onUpdate=l,e._initted=(!e._op||e._pt)&&!z,d&&r<=0&&v.render(kt,!0,!0)},Vu=function(e,r,t,i,n,s,o,u){var l=(e._pt&&e._ptCache||(e._ptCache={}))[r],f,_,d,c;if(!l)for(l=e._ptCache[r]=[],d=e._ptLookup,c=e._targets.length;c--;){if(f=d[c][r],f&&f.d&&f.d._pt)for(f=f.d._pt;f&&f.p!==r&&f.fp!==r;)f=f._next;if(!f)return _s=1,e.vars[r]="+=0",Ms(e,o),_s=0,u?Ri(r+" not eligible for reset"):1;l.push(f)}for(c=l.length;c--;)_=l[c],f=_._pt||_,f.s=(i||i===0)&&!n?i:f.s+(i||0)+s*f.c,f.c=t-f.s,_.e&&(_.e=pe(t)+Ne(_.e)),_.b&&(_.b=f.s+Ne(_.b))},Gu=function(e,r){var t=e[0]?vr(e[0]).harness:0,i=t&&t.aliases,n,s,o,u;if(!i)return r;n=ni({},r);for(s in i)if(s in n)for(u=i[s].split(","),o=u.length;o--;)n[u[o]]=n[s];return n},Hu=function(e,r,t,i){var n=r.ease||i||"power1.inOut",s,o;if(Ge(r))o=t[e]||(t[e]=[]),r.forEach(function(u,l){return o.push({t:l/(r.length-1)*100,v:u,e:n})});else for(s in r)o=t[s]||(t[s]=[]),s==="ease"||o.push({t:parseFloat(e),v:r[s],e:n})},Ei=function(e,r,t,i,n){return de(e)?e.call(r,t,i,n):ke(e)&&~e.indexOf("random(")?ui(e):e},Jo=ws+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",jo={};et(Jo+",id,stagger,delay,duration,paused,scrollTrigger",function(a){return jo[a]=1});var xe=function(a){bo(e,a);function e(t,i,n,s){var o;typeof i=="number"&&(n.duration=i,i=n,n=null),o=a.call(this,s?i:Mi(i))||this;var u=o.vars,l=u.duration,f=u.delay,_=u.immediateRender,d=u.stagger,c=u.overwrite,p=u.keyframes,h=u.defaults,m=u.scrollTrigger,T=u.yoyoEase,w=i.parent||le,S=(Ge(t)||Co(t)?ir(t[0]):"length"in i)?[t]:Ot(t),v,b,P,x,O,C,k,F;if(o._targets=S.length?Ts(S):Ri("GSAP target "+t+" not found. https://gsap.com",!_t.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=c,p||d||un(l)||un(f)){if(i=o.vars,v=o.timeline=new Le({data:"nested",defaults:h||{},targets:w&&w.data==="nested"?w.vars.targets:S}),v.kill(),v.parent=v._dp=tr(o),v._start=0,d||un(l)||un(f)){if(x=S.length,k=d&&Yo(d),Ht(d))for(O in d)~Jo.indexOf(O)&&(F||(F={}),F[O]=d[O]);for(b=0;b<x;b++)P=dn(i,jo),P.stagger=0,T&&(P.yoyoEase=T),F&&ni(P,F),C=S[b],P.duration=+Ei(l,tr(o),b,C,S),P.delay=(+Ei(f,tr(o),b,C,S)||0)-o._delay,!d&&x===1&&P.delay&&(o._delay=f=P.delay,o._start+=f,P.delay=0),v.to(C,P,k?k(b,C,S):0),v._ease=Q.none;v.duration()?l=f=0:o.timeline=0}else if(p){Mi(xt(v.vars.defaults,{ease:"none"})),v._ease=zr(p.ease||i.ease||"none");var M=0,G,U,K;if(Ge(p))p.forEach(function(H){return v.to(S,H,">")}),v.duration();else{P={};for(O in p)O==="ease"||O==="easeEach"||Hu(O,p[O],P,p.easeEach);for(O in P)for(G=P[O].sort(function(H,z){return H.t-z.t}),M=0,b=0;b<G.length;b++)U=G[b],K={ease:U.e,duration:(U.t-(b?G[b-1].t:0))/100*l},K[O]=U.v,v.to(S,K,M),M+=K.duration;v.duration()<l&&v.to({},{duration:l-v.duration()})}}l||o.duration(l=v.duration())}else o.timeline=0;return c===!0&&!ps&&(mr=tr(o),le.killTweensOf(S),mr=0),Gt(w,tr(o),n),i.reversed&&o.reverse(),i.paused&&o.paused(!0),(_||!l&&!p&&o._start===be(w._time)&&ht(_)&&bu(tr(o))&&w.data!=="nested")&&(o._tTime=-re,o.render(Math.max(0,-f)||0)),m&&Lo(tr(o),m),o}var r=e.prototype;return r.render=function(i,n,s){var o=this._time,u=this._tDur,l=this._dur,f=i<0,_=i>u-re&&!f?u:i<re?0:i,d,c,p,h,m,T,w,S,v;if(!l)Cu(this,i,n,s);else if(_!==this._tTime||!i||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==f||this._lazy){if(d=_,S=this.timeline,this._repeat){if(h=l+this._rDelay,this._repeat<-1&&f)return this.totalTime(h*100+i,n,s);if(d=be(_%h),_===u?(p=this._repeat,d=l):(m=be(_/h),p=~~m,p&&p===m?(d=l,p--):d>l&&(d=l)),T=this._yoyo&&p&1,T&&(v=this._yEase,d=l-d),m=si(this._tTime,h),d===o&&!s&&this._initted&&p===m)return this._tTime=_,this;p!==m&&(S&&this._yEase&&Zo(S,T),this.vars.repeatRefresh&&!T&&!this._lock&&d!==h&&this._initted&&(this._lock=s=1,this.render(be(h*p),!0).invalidate()._lock=0))}if(!this._initted){if(Io(this,f?i:d,s,n,_))return this._tTime=0,this;if(o!==this._time&&!(s&&this.vars.repeatRefresh&&p!==m))return this;if(l!==this._dur)return this.render(i,n,s)}if(this._tTime=_,this._time=d,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=w=(v||this._ease)(d/l),this._from&&(this.ratio=w=1-w),!o&&_&&!n&&!m&&(yt(this,"onStart"),this._tTime!==_))return this;for(c=this._pt;c;)c.r(w,c.d),c=c._next;S&&S.render(i<0?i:S._dur*S._ease(d/this._dur),n,s)||this._startAt&&(this._zTime=i),this._onUpdate&&!n&&(f&&us(this,i,n,s),yt(this,"onUpdate")),this._repeat&&p!==m&&this.vars.onRepeat&&!n&&this.parent&&yt(this,"onRepeat"),(_===this._tDur||!_)&&this._tTime===_&&(f&&!this._onUpdate&&us(this,i,!0,!0),(i||!l)&&(_===this._tDur&&this._ts>0||!_&&this._ts<0)&&xr(this,1),!n&&!(f&&!o)&&(_||o||T)&&(yt(this,_===u?"onComplete":"onReverseComplete",!0),this._prom&&!(_<u&&this.timeScale()>0)&&this._prom()))}return this},r.targets=function(){return this._targets},r.invalidate=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)},r.resetTo=function(i,n,s,o,u){zi||ct.wake(),this._ts||this.play();var l=Math.min(this._dur,(this._dp._time-this._start)*this._ts),f;return this._initted||Ms(this,l),f=this._ease(l/this._dur),Vu(this,i,n,s,o,f,l,u)?this.resetTo(i,n,s,o,1):(wn(this,0),this.parent||zo(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(i,n){if(n===void 0&&(n="all"),!i&&(!n||n==="all"))return this._lazy=this._pt=0,this.parent?ki(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Ie),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(i,n,mr&&mr.vars.overwrite!==!0)._first||ki(this),this.parent&&s!==this.timeline.totalDuration()&&oi(this,this._dur*this.timeline._tDur/s,0,1),this}var o=this._targets,u=i?Ot(i):o,l=this._ptLookup,f=this._pt,_,d,c,p,h,m,T;if((!n||n==="all")&&wu(o,u))return n==="all"&&(this._pt=0),ki(this);for(_=this._op=this._op||[],n!=="all"&&(ke(n)&&(h={},et(n,function(w){return h[w]=1}),n=h),n=Gu(o,n)),T=o.length;T--;)if(~u.indexOf(o[T])){d=l[T],n==="all"?(_[T]=n,p=d,c={}):(c=_[T]=_[T]||{},p=n);for(h in p)m=d&&d[h],m&&((!("kill"in m.d)||m.d.kill(h)===!0)&&vn(this,m,"_pt"),delete d[h]),c!=="all"&&(c[h]=1)}return this._initted&&!this._pt&&f&&ki(this),this},e.to=function(i,n){return new e(i,n,arguments[2])},e.from=function(i,n){return Di(1,arguments)},e.delayedCall=function(i,n,s,o){return new e(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:n,onReverseComplete:n,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:o})},e.fromTo=function(i,n,s){return Di(2,arguments)},e.set=function(i,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new e(i,n)},e.killTweensOf=function(i,n,s){return le.killTweensOf(i,n,s)},e}(Fi);xt(xe.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});et("staggerTo,staggerFrom,staggerFromTo",function(a){xe[a]=function(){var e=new Le,r=fs.call(arguments,0);return r.splice(a==="staggerFromTo"?5:4,0,0),e[a].apply(e,r)}});var Ds=function(e,r,t){return e[r]=t},ea=function(e,r,t){return e[r](t)},qu=function(e,r,t,i){return e[r](i.fp,t)},Qu=function(e,r,t){return e.setAttribute(r,t)},Tn=function(e,r){return de(e[r])?ea:mn(e[r])&&e.setAttribute?Qu:Ds},ta=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e6)/1e6,r)},Ku=function(e,r){return r.set(r.t,r.p,!!(r.s+r.c*e),r)},Es=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)},Rs=function(e,r){for(var t=r._pt;t;)t.r(e,t.d),t=t._next},Zu=function(e,r,t,i){for(var n=this._pt,s;n;)s=n._next,n.p===i&&n.modifier(e,r,t),n=s},$u=function(e){for(var r=this._pt,t,i;r;)i=r._next,r.p===e&&!r.op||r.op===e?vn(this,r,"_pt"):r.dep||(t=1),r=i;return!t},Ju=function(e,r,t,i){i.mSet(e,r,i.m.call(i.tween,t,i.mt),i)},As=function(e){for(var r=e._pt,t,i,n,s;r;){for(t=r._next,i=n;i&&i.pr>r.pr;)i=i._next;(r._prev=i?i._prev:s)?r._prev._next=r:n=r,(r._next=i)?i._prev=r:s=r,r=t}e._pt=n},tt=function(){function a(r,t,i,n,s,o,u,l,f){this.t=t,this.s=n,this.c=s,this.p=i,this.r=o||ta,this.d=u||this,this.set=l||Ds,this.pr=f||0,this._next=r,r&&(r._prev=this)}var e=a.prototype;return e.modifier=function(t,i,n){this.mSet=this.mSet||this.set,this.set=Ju,this.m=t,this.mt=n,this.tween=i},a}();et(ws+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(a){return xs[a]=1});vt.TweenMax=vt.TweenLite=xe;vt.TimelineLite=vt.TimelineMax=Le;le=new Le({sortChildren:!1,defaults:ii,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});_t.stringFilter=Cs;var Fr=[],cn={},ju=[],To=0,el=0,rs=function(e){return(cn[e]||ju).map(function(r){return r()})},ds=function(){var e=Date.now(),r=[];e-To>2&&(rs("matchMediaInit"),Fr.forEach(function(t){var i=t.queries,n=t.conditions,s,o,u,l;for(o in i)s=Vt.matchMedia(i[o]).matches,s&&(u=1),s!==n[o]&&(n[o]=s,l=1);l&&(t.revert(),u&&r.push(t))}),rs("matchMediaRevert"),r.forEach(function(t){return t.onMatch(t,function(i){return t.add(null,i)})}),To=e,rs("matchMedia"))},ra=function(){function a(r,t){this.selector=t&&cs(t),this.data=[],this._r=[],this.isReverted=!1,this.id=el++,r&&this.add(r)}var e=a.prototype;return e.add=function(t,i,n){de(t)&&(n=i,i=t,t=de);var s=this,o=function(){var l=ae,f=s.selector,_;return l&&l!==s&&l.data.push(s),n&&(s.selector=cs(n)),ae=s,_=i.apply(s,arguments),de(_)&&s._r.push(_),ae=l,s.selector=f,s.isReverted=!1,_};return s.last=o,t===de?o(s,function(u){return s.add(null,u)}):t?s[t]=o:o},e.ignore=function(t){var i=ae;ae=null,t(this),ae=i},e.getTweens=function(){var t=[];return this.data.forEach(function(i){return i instanceof a?t.push.apply(t,i.getTweens()):i instanceof xe&&!(i.parent&&i.parent.data==="nested")&&t.push(i)}),t},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,i){var n=this;if(t?function(){for(var o=n.getTweens(),u=n.data.length,l;u--;)l=n.data[u],l.data==="isFlip"&&(l.revert(),l.getChildren(!0,!0,!1).forEach(function(f){return o.splice(o.indexOf(f),1)}));for(o.map(function(f){return{g:f._dur||f._delay||f._sat&&!f._sat.vars.immediateRender?f.globalTime(0):-1/0,t:f}}).sort(function(f,_){return _.g-f.g||-1/0}).forEach(function(f){return f.t.revert(t)}),u=n.data.length;u--;)l=n.data[u],l instanceof Le?l.data!=="nested"&&(l.scrollTrigger&&l.scrollTrigger.revert(),l.kill()):!(l instanceof xe)&&l.revert&&l.revert(t);n._r.forEach(function(f){return f(t,n)}),n.isReverted=!0}():this.data.forEach(function(o){return o.kill&&o.kill()}),this.clear(),i)for(var s=Fr.length;s--;)Fr[s].id===this.id&&Fr.splice(s,1)},e.revert=function(t){this.kill(t||{})},a}(),tl=function(){function a(r){this.contexts=[],this.scope=r,ae&&ae.data.push(this)}var e=a.prototype;return e.add=function(t,i,n){Ht(t)||(t={matches:t});var s=new ra(0,n||this.scope),o=s.conditions={},u,l,f;ae&&!s.selector&&(s.selector=ae.selector),this.contexts.push(s),i=s.add("onMatch",i),s.queries=t;for(l in t)l==="all"?f=1:(u=Vt.matchMedia(t[l]),u&&(Fr.indexOf(s)<0&&Fr.push(s),(o[l]=u.matches)&&(f=1),u.addListener?u.addListener(ds):u.addEventListener("change",ds)));return f&&i(s,function(_){return s.add(null,_)}),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach(function(i){return i.kill(t,!0)})},a}(),gn={registerPlugin:function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];r.forEach(function(i){return Ho(i)})},timeline:function(e){return new Le(e)},getTweensOf:function(e,r){return le.getTweensOf(e,r)},getProperty:function(e,r,t,i){ke(e)&&(e=Ot(e)[0]);var n=vr(e||{}).get,s=t?Ao:Ro;return t==="native"&&(t=""),e&&(r?s((ft[r]&&ft[r].get||n)(e,r,t,i)):function(o,u,l){return s((ft[o]&&ft[o].get||n)(e,o,u,l))})},quickSetter:function(e,r,t){if(e=Ot(e),e.length>1){var i=e.map(function(f){return He.quickSetter(f,r,t)}),n=i.length;return function(f){for(var _=n;_--;)i[_](f)}}e=e[0]||{};var s=ft[r],o=vr(e),u=o.harness&&(o.harness.aliases||{})[r]||r,l=s?function(f){var _=new s;ri._pt=0,_.init(e,t?f+t:f,ri,0,[e]),_.render(1,_),ri._pt&&Rs(1,ri)}:o.set(e,u);return s?l:function(f){return l(e,u,t?f+t:f,o,1)}},quickTo:function(e,r,t){var i,n=He.to(e,xt((i={},i[r]="+=0.1",i.paused=!0,i.stagger=0,i),t||{})),s=function(u,l,f){return n.resetTo(r,u,l,f)};return s.tween=n,s},isTweening:function(e){return le.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=zr(e.ease,ii.ease)),mo(ii,e||{})},config:function(e){return mo(_t,e||{})},registerEffect:function(e){var r=e.name,t=e.effect,i=e.plugins,n=e.defaults,s=e.extendTimeline;(i||"").split(",").forEach(function(o){return o&&!ft[o]&&!vt[o]&&Ri(r+" effect requires "+o+" plugin.")}),Jn[r]=function(o,u,l){return t(Ot(o),xt(u||{},n),l)},s&&(Le.prototype[r]=function(o,u,l){return this.add(Jn[r](o,Ht(u)?u:(l=u)&&{},this),l)})},registerEase:function(e,r){Q[e]=zr(r)},parseEase:function(e,r){return arguments.length?zr(e,r):Q},getById:function(e){return le.getById(e)},exportRoot:function(e,r){e===void 0&&(e={});var t=new Le(e),i,n;for(t.smoothChildTiming=ht(e.smoothChildTiming),le.remove(t),t._dp=0,t._time=t._tTime=le._time,i=le._first;i;)n=i._next,(r||!(!i._dur&&i instanceof xe&&i.vars.onComplete===i._targets[0]))&&Gt(t,i,i._start-i._delay),i=n;return Gt(le,t,0),t},context:function(e,r){return e?new ra(e,r):ae},matchMedia:function(e){return new tl(e)},matchMediaRefresh:function(){return Fr.forEach(function(e){var r=e.conditions,t,i;for(i in r)r[i]&&(r[i]=!1,t=1);t&&e.revert()})||ds()},addEventListener:function(e,r){var t=cn[e]||(cn[e]=[]);~t.indexOf(r)||t.push(r)},removeEventListener:function(e,r){var t=cn[e],i=t&&t.indexOf(r);i>=0&&t.splice(i,1)},utils:{wrap:Au,wrapYoyo:zu,distribute:Yo,random:Wo,snap:Xo,normalize:Ru,getUnit:Ne,clamp:Ou,splitColor:qo,toArray:Ot,selector:cs,mapRange:Vo,pipe:Du,unitize:Eu,interpolate:Fu,shuffle:Bo},install:Oo,effects:Jn,ticker:ct,updateRoot:Le.updateRoot,plugins:ft,globalTimeline:le,core:{PropTween:tt,globals:Mo,Tween:xe,Timeline:Le,Animation:Fi,getCache:vr,_removeLinkedListItem:vn,reverting:function(){return Ie},context:function(e){return e&&ae&&(ae.data.push(e),e._ctx=ae),ae},suppressOverwrites:function(e){return ps=e}}};et("to,from,fromTo,delayedCall,set,killTweensOf",function(a){return gn[a]=xe[a]});ct.add(Le.updateRoot);ri=gn.to({},{duration:0});var rl=function(e,r){for(var t=e._pt;t&&t.p!==r&&t.op!==r&&t.fp!==r;)t=t._next;return t},il=function(e,r){var t=e._targets,i,n,s;for(i in r)for(n=t.length;n--;)s=e._ptLookup[n][i],s&&(s=s.d)&&(s._pt&&(s=rl(s,i)),s&&s.modifier&&s.modifier(r[i],e,t[n],i))},is=function(e,r){return{name:e,headless:1,rawVars:1,init:function(i,n,s){s._onInit=function(o){var u,l;if(ke(n)&&(u={},et(n,function(f){return u[f]=1}),n=u),r){u={};for(l in n)u[l]=r(n[l]);n=u}il(o,n)}}}},He=gn.registerPlugin({name:"attr",init:function(e,r,t,i,n){var s,o,u;this.tween=t;for(s in r)u=e.getAttribute(s)||"",o=this.add(e,"setAttribute",(u||0)+"",r[s],i,n,0,0,s),o.op=s,o.b=u,this._props.push(s)},render:function(e,r){for(var t=r._pt;t;)Ie?t.set(t.t,t.p,t.b,t):t.r(e,t.d),t=t._next}},{name:"endArray",headless:1,init:function(e,r){for(var t=r.length;t--;)this.add(e,t,e[t]||0,r[t],0,0,0,0,0,1)}},is("roundProps",hs),is("modifiers"),is("snap",Xo))||gn;xe.version=Le.version=He.version="3.13.0";ko=1;gs()&&ai();var nl=Q.Power0,sl=Q.Power1,ol=Q.Power2,al=Q.Power3,ul=Q.Power4,ll=Q.Linear,fl=Q.Quad,cl=Q.Cubic,hl=Q.Quart,_l=Q.Quint,dl=Q.Strong,pl=Q.Elastic,gl=Q.Back,ml=Q.SteppedEase,yl=Q.Bounce,vl=Q.Sine,xl=Q.Expo,wl=Q.Circ;var ia,Tr,fi,Bs,Wr,Tl,na,Ys,bl=function(){return typeof window<"u"},sr={},Xr=180/Math.PI,ci=Math.PI/180,li=Math.atan2,sa=1e8,Xs=/([A-Z])/g,Sl=/(left|right|width|margin|padding|x)/i,Cl=/[\s,\(]\S/,qt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Fs=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},Pl=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)},kl=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)},Ol=function(e,r){var t=r.s+r.c*e;r.set(r.t,r.p,~~(t+(t<0?-.5:.5))+r.u,r)},_a=function(e,r){return r.set(r.t,r.p,e?r.e:r.b,r)},da=function(e,r){return r.set(r.t,r.p,e!==1?r.b:r.e,r)},Ml=function(e,r,t){return e.style[r]=t},Dl=function(e,r,t){return e.style.setProperty(r,t)},El=function(e,r,t){return e._gsap[r]=t},Rl=function(e,r,t){return e._gsap.scaleX=e._gsap.scaleY=t},Al=function(e,r,t,i,n){var s=e._gsap;s.scaleX=s.scaleY=t,s.renderTransform(n,s)},zl=function(e,r,t,i,n){var s=e._gsap;s[r]=t,s.renderTransform(n,s)},fe="transform",dt=fe+"Origin",Fl=function a(e,r){var t=this,i=this.target,n=i.style,s=i._gsap;if(e in sr&&n){if(this.tfm=this.tfm||{},e!=="transform")e=qt[e]||e,~e.indexOf(",")?e.split(",").forEach(function(o){return t.tfm[o]=nr(i,o)}):this.tfm[e]=s.x?s[e]:nr(i,e),e===dt&&(this.tfm.zOrigin=s.zOrigin);else return qt.transform.split(",").forEach(function(o){return a.call(t,o,r)});if(this.props.indexOf(fe)>=0)return;s.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(dt,r,"")),e=fe}(n||r)&&this.props.push(e,r,n[e])},pa=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Ll=function(){var e=this.props,r=this.target,t=r.style,i=r._gsap,n,s;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(Xs,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)i[s]=this.tfm[s];i.svg&&(i.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),n=Ys(),(!n||!n.isStart)&&!t[fe]&&(pa(t),i.zOrigin&&t[dt]&&(t[dt]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},ga=function(e,r){var t={target:e,props:[],revert:Ll,save:Fl};return e._gsap||He.core.getCache(e),r&&e.style&&e.nodeType&&r.split(",").forEach(function(i){return t.save(i)}),t},ma,Ls=function(e,r){var t=Tr.createElementNS?Tr.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Tr.createElement(e);return t&&t.style?t:Tr.createElement(e)},Mt=function a(e,r,t){var i=getComputedStyle(e);return i[r]||i.getPropertyValue(r.replace(Xs,"-$1").toLowerCase())||i.getPropertyValue(r)||!t&&a(e,hi(r)||r,1)||""},oa="O,Moz,ms,Ms,Webkit".split(","),hi=function(e,r,t){var i=r||Wr,n=i.style,s=5;if(e in n&&!t)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(oa[s]+e in n););return s<0?null:(s===3?"ms":s>=0?oa[s]:"")+e},Is=function(){bl()&&window.document&&(ia=window,Tr=ia.document,fi=Tr.documentElement,Wr=Ls("div")||{style:{}},Tl=Ls("div"),fe=hi(fe),dt=fe+"Origin",Wr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",ma=!!hi("perspective"),Ys=He.core.reverting,Bs=1)},aa=function(e){var r=e.ownerSVGElement,t=Ls("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),n;i.style.display="block",t.appendChild(i),fi.appendChild(t);try{n=i.getBBox()}catch{}return t.removeChild(i),fi.removeChild(t),n},ua=function(e,r){for(var t=r.length;t--;)if(e.hasAttribute(r[t]))return e.getAttribute(r[t])},ya=function(e){var r,t;try{r=e.getBBox()}catch{r=aa(e),t=1}return r&&(r.width||r.height)||t||(r=aa(e)),r&&!r.width&&!r.x&&!r.y?{x:+ua(e,["x","cx","x1"])||0,y:+ua(e,["y","cy","y1"])||0,width:0,height:0}:r},va=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&ya(e))},Ur=function(e,r){if(r){var t=e.style,i;r in sr&&r!==dt&&(r=fe),t.removeProperty?(i=r.substr(0,2),(i==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),t.removeProperty(i==="--"?r:r.replace(Xs,"-$1").toLowerCase())):t.removeAttribute(r)}},br=function(e,r,t,i,n,s){var o=new tt(e._pt,r,t,0,1,s?da:_a);return e._pt=o,o.b=i,o.e=n,e._props.push(t),o},la={deg:1,rad:1,turn:1},Il={grid:1,flex:1},Sr=function a(e,r,t,i){var n=parseFloat(t)||0,s=(t+"").trim().substr((n+"").length)||"px",o=Wr.style,u=Sl.test(r),l=e.tagName.toLowerCase()==="svg",f=(l?"client":"offset")+(u?"Width":"Height"),_=100,d=i==="px",c=i==="%",p,h,m,T;if(i===s||!n||la[i]||la[s])return n;if(s!=="px"&&!d&&(n=a(e,r,t,"px")),T=e.getCTM&&va(e),(c||s==="%")&&(sr[r]||~r.indexOf("adius")))return p=T?e.getBBox()[u?"width":"height"]:e[f],pe(c?n/p*_:n/100*p);if(o[u?"width":"height"]=_+(d?s:i),h=i!=="rem"&&~r.indexOf("adius")||i==="em"&&e.appendChild&&!l?e:e.parentNode,T&&(h=(e.ownerSVGElement||{}).parentNode),(!h||h===Tr||!h.appendChild)&&(h=Tr.body),m=h._gsap,m&&c&&m.width&&u&&m.time===ct.time&&!m.uncache)return pe(n/m.width*_);if(c&&(r==="height"||r==="width")){var w=e.style[r];e.style[r]=_+i,p=e[f],w?e.style[r]=w:Ur(e,r)}else(c||s==="%")&&!Il[Mt(h,"display")]&&(o.position=Mt(e,"position")),h===e&&(o.position="static"),h.appendChild(Wr),p=Wr[f],h.removeChild(Wr),o.position="absolute";return u&&c&&(m=vr(h),m.time=ct.time,m.width=h[f]),pe(d?p*n/_:p&&n?_/p*n:0)},nr=function(e,r,t,i){var n;return Bs||Is(),r in qt&&r!=="transform"&&(r=qt[r],~r.indexOf(",")&&(r=r.split(",")[0])),sr[r]&&r!=="transform"?(n=Bi(e,i),n=r!=="transformOrigin"?n[r]:n.svg?n.origin:Sn(Mt(e,dt))+" "+n.zOrigin+"px"):(n=e.style[r],(!n||n==="auto"||i||~(n+"").indexOf("calc("))&&(n=bn[r]&&bn[r](e,r,t)||Mt(e,r)||bs(e,r)||(r==="opacity"?1:0))),t&&!~(n+"").trim().indexOf(" ")?Sr(e,r,n,t)+t:n},Nl=function(e,r,t,i){if(!t||t==="none"){var n=hi(r,e,1),s=n&&Mt(e,n,1);s&&s!==t?(r=n,t=s):r==="borderColor"&&(t=Mt(e,"borderTopColor"))}var o=new tt(this._pt,e.style,r,0,1,Es),u=0,l=0,f,_,d,c,p,h,m,T,w,S,v,b;if(o.b=t,o.e=i,t+="",i+="",i.substring(0,6)==="var(--"&&(i=Mt(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(h=e.style[r],e.style[r]=i,i=Mt(e,r)||i,h?e.style[r]=h:Ur(e,r)),f=[t,i],Cs(f),t=f[0],i=f[1],d=t.match(Lr)||[],b=i.match(Lr)||[],b.length){for(;_=Lr.exec(i);)m=_[0],w=i.substring(u,_.index),p?p=(p+1)%5:(w.substr(-5)==="rgba("||w.substr(-5)==="hsla(")&&(p=1),m!==(h=d[l++]||"")&&(c=parseFloat(h)||0,v=h.substr((c+"").length),m.charAt(1)==="="&&(m=Ir(c,m)+v),T=parseFloat(m),S=m.substr((T+"").length),u=Lr.lastIndex-S.length,S||(S=S||_t.units[r]||v,u===i.length&&(i+=S,o.e+=S)),v!==S&&(c=Sr(e,r,h,S)||0),o._pt={_next:o._pt,p:w||l===1?w:",",s:c,c:T-c,m:p&&p<4||r==="zIndex"?Math.round:0});o.c=u<i.length?i.substring(u,i.length):""}else o.r=r==="display"&&i==="none"?da:_a;return ys.test(i)&&(o.e=0),this._pt=o,o},fa={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Bl=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]=fa[t]||t,r[1]=fa[i]||i,r.join(" ")},Yl=function(e,r){if(r.tween&&r.tween._time===r.tween._dur){var t=r.t,i=t.style,n=r.u,s=t._gsap,o,u,l;if(n==="all"||n===!0)i.cssText="",u=1;else for(n=n.split(","),l=n.length;--l>-1;)o=n[l],sr[o]&&(u=1,o=o==="transformOrigin"?dt:fe),Ur(t,o);u&&(Ur(t,fe),s&&(s.svg&&t.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",Bi(t,1),s.uncache=1,pa(i)))}},bn={clearProps:function(e,r,t,i,n){if(n.data!=="isFromStart"){var s=e._pt=new tt(e._pt,r,t,0,0,Yl);return s.u=i,s.pr=-10,s.tween=n,e._props.push(t),1}}},Ni=[1,0,0,1,0,0],xa={},wa=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},ca=function(e){var r=Mt(e,fe);return wa(r)?Ni:r.substr(7).match(ms).map(pe)},Ws=function(e,r){var t=e._gsap||vr(e),i=e.style,n=ca(e),s,o,u,l;return t.svg&&e.getAttribute("transform")?(u=e.transform.baseVal.consolidate().matrix,n=[u.a,u.b,u.c,u.d,u.e,u.f],n.join(",")==="1,0,0,1,0,0"?Ni:n):(n===Ni&&!e.offsetParent&&e!==fi&&!t.svg&&(u=i.display,i.display="block",s=e.parentNode,(!s||!e.offsetParent&&!e.getBoundingClientRect().width)&&(l=1,o=e.nextElementSibling,fi.appendChild(e)),n=ca(e),u?i.display=u:Ur(e,"display"),l&&(o?s.insertBefore(e,o):s?s.appendChild(e):fi.removeChild(e))),r&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},Ns=function(e,r,t,i,n,s){var o=e._gsap,u=n||Ws(e,!0),l=o.xOrigin||0,f=o.yOrigin||0,_=o.xOffset||0,d=o.yOffset||0,c=u[0],p=u[1],h=u[2],m=u[3],T=u[4],w=u[5],S=r.split(" "),v=parseFloat(S[0])||0,b=parseFloat(S[1])||0,P,x,O,C;t?u!==Ni&&(x=c*m-p*h)&&(O=v*(m/x)+b*(-h/x)+(h*w-m*T)/x,C=v*(-p/x)+b*(c/x)-(c*w-p*T)/x,v=O,b=C):(P=ya(e),v=P.x+(~S[0].indexOf("%")?v/100*P.width:v),b=P.y+(~(S[1]||S[0]).indexOf("%")?b/100*P.height:b)),i||i!==!1&&o.smooth?(T=v-l,w=b-f,o.xOffset=_+(T*c+w*h)-T,o.yOffset=d+(T*p+w*m)-w):o.xOffset=o.yOffset=0,o.xOrigin=v,o.yOrigin=b,o.smooth=!!i,o.origin=r,o.originIsAbsolute=!!t,e.style[dt]="0px 0px",s&&(br(s,o,"xOrigin",l,v),br(s,o,"yOrigin",f,b),br(s,o,"xOffset",_,o.xOffset),br(s,o,"yOffset",d,o.yOffset)),e.setAttribute("data-svg-origin",v+" "+b)},Bi=function(e,r){var t=e._gsap||new Ps(e);if("x"in t&&!r&&!t.uncache)return t;var i=e.style,n=t.scaleX<0,s="px",o="deg",u=getComputedStyle(e),l=Mt(e,dt)||"0",f,_,d,c,p,h,m,T,w,S,v,b,P,x,O,C,k,F,M,G,U,K,H,z,$,ne,g,se,$e,At,ce,Ae;return f=_=d=h=m=T=w=S=v=0,c=p=1,t.svg=!!(e.getCTM&&va(e)),u.translate&&((u.translate!=="none"||u.scale!=="none"||u.rotate!=="none")&&(i[fe]=(u.translate!=="none"?"translate3d("+(u.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(u.rotate!=="none"?"rotate("+u.rotate+") ":"")+(u.scale!=="none"?"scale("+u.scale.split(" ").join(",")+") ":"")+(u[fe]!=="none"?u[fe]:"")),i.scale=i.rotate=i.translate="none"),x=Ws(e,t.svg),t.svg&&(t.uncache?($=e.getBBox(),l=t.xOrigin-$.x+"px "+(t.yOrigin-$.y)+"px",z=""):z=!r&&e.getAttribute("data-svg-origin"),Ns(e,z||l,!!z||t.originIsAbsolute,t.smooth!==!1,x)),b=t.xOrigin||0,P=t.yOrigin||0,x!==Ni&&(F=x[0],M=x[1],G=x[2],U=x[3],f=K=x[4],_=H=x[5],x.length===6?(c=Math.sqrt(F*F+M*M),p=Math.sqrt(U*U+G*G),h=F||M?li(M,F)*Xr:0,w=G||U?li(G,U)*Xr+h:0,w&&(p*=Math.abs(Math.cos(w*ci))),t.svg&&(f-=b-(b*F+P*G),_-=P-(b*M+P*U))):(Ae=x[6],At=x[7],g=x[8],se=x[9],$e=x[10],ce=x[11],f=x[12],_=x[13],d=x[14],O=li(Ae,$e),m=O*Xr,O&&(C=Math.cos(-O),k=Math.sin(-O),z=K*C+g*k,$=H*C+se*k,ne=Ae*C+$e*k,g=K*-k+g*C,se=H*-k+se*C,$e=Ae*-k+$e*C,ce=At*-k+ce*C,K=z,H=$,Ae=ne),O=li(-G,$e),T=O*Xr,O&&(C=Math.cos(-O),k=Math.sin(-O),z=F*C-g*k,$=M*C-se*k,ne=G*C-$e*k,ce=U*k+ce*C,F=z,M=$,G=ne),O=li(M,F),h=O*Xr,O&&(C=Math.cos(O),k=Math.sin(O),z=F*C+M*k,$=K*C+H*k,M=M*C-F*k,H=H*C-K*k,F=z,K=$),m&&Math.abs(m)+Math.abs(h)>359.9&&(m=h=0,T=180-T),c=pe(Math.sqrt(F*F+M*M+G*G)),p=pe(Math.sqrt(H*H+Ae*Ae)),O=li(K,H),w=Math.abs(O)>2e-4?O*Xr:0,v=ce?1/(ce<0?-ce:ce):0),t.svg&&(z=e.getAttribute("transform"),t.forceCSS=e.setAttribute("transform","")||!wa(Mt(e,fe)),z&&e.setAttribute("transform",z))),Math.abs(w)>90&&Math.abs(w)<270&&(n?(c*=-1,w+=h<=0?180:-180,h+=h<=0?180:-180):(p*=-1,w+=w<=0?180:-180)),r=r||t.uncache,t.x=f-((t.xPercent=f&&(!r&&t.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-f)?-50:0)))?e.offsetWidth*t.xPercent/100:0)+s,t.y=_-((t.yPercent=_&&(!r&&t.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-_)?-50:0)))?e.offsetHeight*t.yPercent/100:0)+s,t.z=d+s,t.scaleX=pe(c),t.scaleY=pe(p),t.rotation=pe(h)+o,t.rotationX=pe(m)+o,t.rotationY=pe(T)+o,t.skewX=w+o,t.skewY=S+o,t.transformPerspective=v+s,(t.zOrigin=parseFloat(l.split(" ")[2])||!r&&t.zOrigin||0)&&(i[dt]=Sn(l)),t.xOffset=t.yOffset=0,t.force3D=_t.force3D,t.renderTransform=t.svg?Wl:ma?Ta:Xl,t.uncache=0,t},Sn=function(e){return(e=e.split(" "))[0]+" "+e[1]},zs=function(e,r,t){var i=Ne(r);return pe(parseFloat(r)+parseFloat(Sr(e,"x",t+"px",i)))+i},Xl=function(e,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,Ta(e,r)},Br="0deg",Ii="0px",Yr=") ",Ta=function(e,r){var t=r||this,i=t.xPercent,n=t.yPercent,s=t.x,o=t.y,u=t.z,l=t.rotation,f=t.rotationY,_=t.rotationX,d=t.skewX,c=t.skewY,p=t.scaleX,h=t.scaleY,m=t.transformPerspective,T=t.force3D,w=t.target,S=t.zOrigin,v="",b=T==="auto"&&e&&e!==1||T===!0;if(S&&(_!==Br||f!==Br)){var P=parseFloat(f)*ci,x=Math.sin(P),O=Math.cos(P),C;P=parseFloat(_)*ci,C=Math.cos(P),s=zs(w,s,x*C*-S),o=zs(w,o,-Math.sin(P)*-S),u=zs(w,u,O*C*-S+S)}m!==Ii&&(v+="perspective("+m+Yr),(i||n)&&(v+="translate("+i+"%, "+n+"%) "),(b||s!==Ii||o!==Ii||u!==Ii)&&(v+=u!==Ii||b?"translate3d("+s+", "+o+", "+u+") ":"translate("+s+", "+o+Yr),l!==Br&&(v+="rotate("+l+Yr),f!==Br&&(v+="rotateY("+f+Yr),_!==Br&&(v+="rotateX("+_+Yr),(d!==Br||c!==Br)&&(v+="skew("+d+", "+c+Yr),(p!==1||h!==1)&&(v+="scale("+p+", "+h+Yr),w.style[fe]=v||"translate(0, 0)"},Wl=function(e,r){var t=r||this,i=t.xPercent,n=t.yPercent,s=t.x,o=t.y,u=t.rotation,l=t.skewX,f=t.skewY,_=t.scaleX,d=t.scaleY,c=t.target,p=t.xOrigin,h=t.yOrigin,m=t.xOffset,T=t.yOffset,w=t.forceCSS,S=parseFloat(s),v=parseFloat(o),b,P,x,O,C;u=parseFloat(u),l=parseFloat(l),f=parseFloat(f),f&&(f=parseFloat(f),l+=f,u+=f),u||l?(u*=ci,l*=ci,b=Math.cos(u)*_,P=Math.sin(u)*_,x=Math.sin(u-l)*-d,O=Math.cos(u-l)*d,l&&(f*=ci,C=Math.tan(l-f),C=Math.sqrt(1+C*C),x*=C,O*=C,f&&(C=Math.tan(f),C=Math.sqrt(1+C*C),b*=C,P*=C)),b=pe(b),P=pe(P),x=pe(x),O=pe(O)):(b=_,O=d,P=x=0),(S&&!~(s+"").indexOf("px")||v&&!~(o+"").indexOf("px"))&&(S=Sr(c,"x",s,"px"),v=Sr(c,"y",o,"px")),(p||h||m||T)&&(S=pe(S+p-(p*b+h*x)+m),v=pe(v+h-(p*P+h*O)+T)),(i||n)&&(C=c.getBBox(),S=pe(S+i/100*C.width),v=pe(v+n/100*C.height)),C="matrix("+b+","+P+","+x+","+O+","+S+","+v+")",c.setAttribute("transform",C),w&&(c.style[fe]=C)},Ul=function(e,r,t,i,n){var s=360,o=ke(n),u=parseFloat(n)*(o&&~n.indexOf("rad")?Xr:1),l=u-i,f=i+l+"deg",_,d;return o&&(_=n.split("_")[1],_==="short"&&(l%=s,l!==l%(s/2)&&(l+=l<0?s:-s)),_==="cw"&&l<0?l=(l+s*sa)%s-~~(l/s)*s:_==="ccw"&&l>0&&(l=(l-s*sa)%s-~~(l/s)*s)),e._pt=d=new tt(e._pt,r,t,i,l,Pl),d.e=f,d.u="deg",e._props.push(t),d},ha=function(e,r){for(var t in r)e[t]=r[t];return e},Vl=function(e,r,t){var i=ha({},t._gsap),n="perspective,force3D,transformOrigin,svgOrigin",s=t.style,o,u,l,f,_,d,c,p;i.svg?(l=t.getAttribute("transform"),t.setAttribute("transform",""),s[fe]=r,o=Bi(t,1),Ur(t,fe),t.setAttribute("transform",l)):(l=getComputedStyle(t)[fe],s[fe]=r,o=Bi(t,1),s[fe]=l);for(u in sr)l=i[u],f=o[u],l!==f&&n.indexOf(u)<0&&(c=Ne(l),p=Ne(f),_=c!==p?Sr(t,u,l,p):parseFloat(l),d=parseFloat(f),e._pt=new tt(e._pt,o,u,_,d-_,Fs),e._pt.u=p||0,e._props.push(u));ha(o,i)};et("padding,margin,Width,Radius",function(a,e){var r="Top",t="Right",i="Bottom",n="Left",s=(e<3?[r,t,i,n]:[r+n,r+t,i+t,i+n]).map(function(o){return e<2?a+o:"border"+o+a});bn[e>1?"border"+a:a]=function(o,u,l,f,_){var d,c;if(arguments.length<4)return d=s.map(function(p){return nr(o,p,l)}),c=d.join(" "),c.split(d[0]).length===5?d[0]:c;d=(f+"").split(" "),c={},s.forEach(function(p,h){return c[p]=d[h]=d[h]||d[(h-1)/2|0]}),o.init(u,c,_)}});var Us={name:"css",register:Is,targetTest:function(e){return e.style&&e.nodeType},init:function(e,r,t,i,n){var s=this._props,o=e.style,u=t.vars.startAt,l,f,_,d,c,p,h,m,T,w,S,v,b,P,x,O;Bs||Is(),this.styles=this.styles||ga(e),O=this.styles.props,this.tween=t;for(h in r)if(h!=="autoRound"&&(f=r[h],!(ft[h]&&Os(h,r,t,i,e,n)))){if(c=typeof f,p=bn[h],c==="function"&&(f=f.call(t,i,e,n),c=typeof f),c==="string"&&~f.indexOf("random(")&&(f=ui(f)),p)p(this,e,h,f,t)&&(x=1);else if(h.substr(0,2)==="--")l=(getComputedStyle(e).getPropertyValue(h)+"").trim(),f+="",rr.lastIndex=0,rr.test(l)||(m=Ne(l),T=Ne(f)),T?m!==T&&(l=Sr(e,h,l,T)+T):m&&(f+=m),this.add(o,"setProperty",l,f,i,n,0,0,h),s.push(h),O.push(h,0,o[h]);else if(c!=="undefined"){if(u&&h in u?(l=typeof u[h]=="function"?u[h].call(t,i,e,n):u[h],ke(l)&&~l.indexOf("random(")&&(l=ui(l)),Ne(l+"")||l==="auto"||(l+=_t.units[h]||Ne(nr(e,h))||""),(l+"").charAt(1)==="="&&(l=nr(e,h))):l=nr(e,h),d=parseFloat(l),w=c==="string"&&f.charAt(1)==="="&&f.substr(0,2),w&&(f=f.substr(2)),_=parseFloat(f),h in qt&&(h==="autoAlpha"&&(d===1&&nr(e,"visibility")==="hidden"&&_&&(d=0),O.push("visibility",0,o.visibility),br(this,o,"visibility",d?"inherit":"hidden",_?"inherit":"hidden",!_)),h!=="scale"&&h!=="transform"&&(h=qt[h],~h.indexOf(",")&&(h=h.split(",")[0]))),S=h in sr,S){if(this.styles.save(h),c==="string"&&f.substring(0,6)==="var(--"&&(f=Mt(e,f.substring(4,f.indexOf(")"))),_=parseFloat(f)),v||(b=e._gsap,b.renderTransform&&!r.parseTransform||Bi(e,r.parseTransform),P=r.smoothOrigin!==!1&&b.smooth,v=this._pt=new tt(this._pt,o,fe,0,1,b.renderTransform,b,0,-1),v.dep=1),h==="scale")this._pt=new tt(this._pt,b,"scaleY",b.scaleY,(w?Ir(b.scaleY,w+_):_)-b.scaleY||0,Fs),this._pt.u=0,s.push("scaleY",h),h+="X";else if(h==="transformOrigin"){O.push(dt,0,o[dt]),f=Bl(f),b.svg?Ns(e,f,0,P,0,this):(T=parseFloat(f.split(" ")[2])||0,T!==b.zOrigin&&br(this,b,"zOrigin",b.zOrigin,T),br(this,o,h,Sn(l),Sn(f)));continue}else if(h==="svgOrigin"){Ns(e,f,1,P,0,this);continue}else if(h in xa){Ul(this,b,h,d,w?Ir(d,w+f):f);continue}else if(h==="smoothOrigin"){br(this,b,"smooth",b.smooth,f);continue}else if(h==="force3D"){b[h]=f;continue}else if(h==="transform"){Vl(this,f,e);continue}}else h in o||(h=hi(h)||h);if(S||(_||_===0)&&(d||d===0)&&!Cl.test(f)&&h in o)m=(l+"").substr((d+"").length),_||(_=0),T=Ne(f)||(h in _t.units?_t.units[h]:m),m!==T&&(d=Sr(e,h,l,T)),this._pt=new tt(this._pt,S?b:o,h,d,(w?Ir(d,w+_):_)-d,!S&&(T==="px"||h==="zIndex")&&r.autoRound!==!1?Ol:Fs),this._pt.u=T||0,m!==T&&T!=="%"&&(this._pt.b=l,this._pt.r=kl);else if(h in o)Nl.call(this,e,h,l,w?w+f:f);else if(h in e)this.add(e,h,l||e[h],w?w+f:f,i,n);else if(h!=="parseTransform"){yn(h,f);continue}S||(h in o?O.push(h,0,o[h]):typeof e[h]=="function"?O.push(h,2,e[h]()):O.push(h,1,l||e[h])),s.push(h)}}x&&As(this)},render:function(e,r){if(r.tween._time||!Ys())for(var t=r._pt;t;)t.r(e,t.d),t=t._next;else r.styles.revert()},get:nr,aliases:qt,getSetter:function(e,r,t){var i=qt[r];return i&&i.indexOf(",")<0&&(r=i),r in sr&&r!==dt&&(e._gsap.x||nr(e,"x"))?t&&na===t?r==="scale"?Rl:El:(na=t||{})&&(r==="scale"?Al:zl):e.style&&!mn(e.style[r])?Ml:~r.indexOf("-")?Dl:Tn(e,r)},core:{_removeProperty:Ur,_getMatrix:Ws}};He.utils.checkPrefix=hi;He.core.getStyleSaver=ga;(function(a,e,r,t){var i=et(a+","+e+","+r,function(n){sr[n]=1});et(e,function(n){_t.units[n]="deg",xa[n]=1}),qt[i[13]]=a+","+e,et(t,function(n){var s=n.split(":");qt[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");et("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(a){_t.units[a]="px"});He.registerPlugin(Us);var _i=He.registerPlugin(Us)||He,vf=_i.core.Tween;function ba(a,e){for(var r=0;r<e.length;r++){var t=e[r];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(a,t.key,t)}}function Gl(a,e,r){return e&&ba(a.prototype,e),r&&ba(a,r),a}var Be,kn,Hl,wt,Cr,Pr,pi,Ca,Vr,Xi,Pa,or,Bt,ka,Oa=function(){return Be||typeof window<"u"&&(Be=window.gsap)&&Be.registerPlugin&&Be},Ma=1,di=[],B=[],Yt=[],Wi=Date.now,Vs=function(e,r){return r},ql=function(){var e=Xi.core,r=e.bridge||{},t=e._scrollers,i=e._proxies;t.push.apply(t,B),i.push.apply(i,Yt),B=t,Yt=i,Vs=function(s,o){return r[s](o)}},ur=function(e,r){return~Yt.indexOf(e)&&Yt[Yt.indexOf(e)+1][r]},Ui=function(e){return!!~Pa.indexOf(e)},it=function(e,r,t,i,n){return e.addEventListener(r,t,{passive:i!==!1,capture:!!n})},rt=function(e,r,t,i){return e.removeEventListener(r,t,!!i)},Cn="scrollLeft",Pn="scrollTop",Gs=function(){return or&&or.isPressed||B.cache++},On=function(e,r){var t=function i(n){if(n||n===0){Ma&&(wt.history.scrollRestoration="manual");var s=or&&or.isPressed;n=i.v=Math.round(n)||(or&&or.iOS?1:0),e(n),i.cacheID=B.cache,s&&Vs("ss",n)}else(r||B.cache!==i.cacheID||Vs("ref"))&&(i.cacheID=B.cache,i.v=e());return i.v+i.offset};return t.offset=0,e&&t},qe={s:Cn,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:On(function(a){return arguments.length?wt.scrollTo(a,Se.sc()):wt.pageXOffset||Cr[Cn]||Pr[Cn]||pi[Cn]||0})},Se={s:Pn,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:qe,sc:On(function(a){return arguments.length?wt.scrollTo(qe.sc(),a):wt.pageYOffset||Cr[Pn]||Pr[Pn]||pi[Pn]||0})},nt=function(e,r){return(r&&r._ctx&&r._ctx.selector||Be.utils.toArray)(e)[0]||(typeof e=="string"&&Be.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},Ql=function(e,r){for(var t=r.length;t--;)if(r[t]===e||r[t].contains(e))return!0;return!1},ar=function(e,r){var t=r.s,i=r.sc;Ui(e)&&(e=Cr.scrollingElement||Pr);var n=B.indexOf(e),s=i===Se.sc?1:2;!~n&&(n=B.push(e)-1),B[n+s]||it(e,"scroll",Gs);var o=B[n+s],u=o||(B[n+s]=On(ur(e,t),!0)||(Ui(e)?i:On(function(l){return arguments.length?e[t]=l:e[t]})));return u.target=e,o||(u.smooth=Be.getProperty(e,"scrollBehavior")==="smooth"),u},Mn=function(e,r,t){var i=e,n=e,s=Wi(),o=s,u=r||50,l=Math.max(500,u*3),f=function(p,h){var m=Wi();h||m-s>u?(n=i,i=p,o=s,s=m):t?i+=p:i=n+(p-n)/(m-o)*(s-o)},_=function(){n=i=t?0:i,o=s=0},d=function(p){var h=o,m=n,T=Wi();return(p||p===0)&&p!==i&&f(p),s===o||T-o>l?0:(i+(t?m:-m))/((t?T:s)-h)*1e3};return{update:f,reset:_,getVelocity:d}},Yi=function(e,r){return r&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Sa=function(e){var r=Math.max.apply(Math,e),t=Math.min.apply(Math,e);return Math.abs(r)>=Math.abs(t)?r:t},Da=function(){Xi=Be.core.globals().ScrollTrigger,Xi&&Xi.core&&ql()},Ea=function(e){return Be=e||Oa(),!kn&&Be&&typeof document<"u"&&document.body&&(wt=window,Cr=document,Pr=Cr.documentElement,pi=Cr.body,Pa=[wt,Cr,Pr,pi],Hl=Be.utils.clamp,ka=Be.core.context||function(){},Vr="onpointerenter"in pi?"pointer":"mouse",Ca=ge.isTouch=wt.matchMedia&&wt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in wt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Bt=ge.eventTypes=("ontouchstart"in Pr?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Pr?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return Ma=0},500),Da(),kn=1),kn};qe.op=Se;B.cache=0;var ge=function(){function a(r){this.init(r)}var e=a.prototype;return e.init=function(t){kn||Ea(Be)||console.warn("Please gsap.registerPlugin(Observer)"),Xi||Da();var i=t.tolerance,n=t.dragMinimum,s=t.type,o=t.target,u=t.lineHeight,l=t.debounce,f=t.preventDefault,_=t.onStop,d=t.onStopDelay,c=t.ignore,p=t.wheelSpeed,h=t.event,m=t.onDragStart,T=t.onDragEnd,w=t.onDrag,S=t.onPress,v=t.onRelease,b=t.onRight,P=t.onLeft,x=t.onUp,O=t.onDown,C=t.onChangeX,k=t.onChangeY,F=t.onChange,M=t.onToggleX,G=t.onToggleY,U=t.onHover,K=t.onHoverEnd,H=t.onMove,z=t.ignoreCheck,$=t.isNormalizer,ne=t.onGestureStart,g=t.onGestureEnd,se=t.onWheel,$e=t.onEnable,At=t.onDisable,ce=t.onClick,Ae=t.scrollSpeed,Ye=t.capture,we=t.allowClicks,Je=t.lockAxis,Xe=t.onLockAxis;this.target=o=nt(o)||Pr,this.vars=t,c&&(c=Be.utils.toArray(c)),i=i||1e-9,n=n||0,p=p||1,Ae=Ae||1,s=s||"wheel,touch,pointer",l=l!==!1,u||(u=parseFloat(wt.getComputedStyle(pi).lineHeight)||22);var cr,je,ut,Z,me,lt,pt,y=this,gt=0,Zt=0,hr=t.passive||!f&&t.passive!==!1,he=ar(o,qe),$t=ar(o,Se),_r=he(),Or=$t(),Me=~s.indexOf("touch")&&!~s.indexOf("pointer")&&Bt[0]==="pointerdown",dr=Ui(o),ye=o.ownerDocument||Cr,zt=[0,0,0],Ct=[0,0,0],Jt=0,bi=function(){return Jt=Wi()},Te=function(A,J){return(y.event=A)&&c&&Ql(A.target,c)||J&&Me&&A.pointerType!=="touch"||z&&z(A,J)},sn=function(){y._vx.reset(),y._vy.reset(),je.pause(),_&&_(y)},jt=function(){var A=y.deltaX=Sa(zt),J=y.deltaY=Sa(Ct),D=Math.abs(A)>=i,L=Math.abs(J)>=i;F&&(D||L)&&F(y,A,J,zt,Ct),D&&(b&&y.deltaX>0&&b(y),P&&y.deltaX<0&&P(y),C&&C(y),M&&y.deltaX<0!=gt<0&&M(y),gt=y.deltaX,zt[0]=zt[1]=zt[2]=0),L&&(O&&y.deltaY>0&&O(y),x&&y.deltaY<0&&x(y),k&&k(y),G&&y.deltaY<0!=Zt<0&&G(y),Zt=y.deltaY,Ct[0]=Ct[1]=Ct[2]=0),(Z||ut)&&(H&&H(y),ut&&(m&&ut===1&&m(y),w&&w(y),ut=0),Z=!1),lt&&!(lt=!1)&&Xe&&Xe(y),me&&(se(y),me=!1),cr=0},jr=function(A,J,D){zt[D]+=A,Ct[D]+=J,y._vx.update(A),y._vy.update(J),l?cr||(cr=requestAnimationFrame(jt)):jt()},ei=function(A,J){Je&&!pt&&(y.axis=pt=Math.abs(A)>Math.abs(J)?"x":"y",lt=!0),pt!=="y"&&(zt[2]+=A,y._vx.update(A,!0)),pt!=="x"&&(Ct[2]+=J,y._vy.update(J,!0)),l?cr||(cr=requestAnimationFrame(jt)):jt()},pr=function(A){if(!Te(A,1)){A=Yi(A,f);var J=A.clientX,D=A.clientY,L=J-y.x,R=D-y.y,I=y.isDragging;y.x=J,y.y=D,(I||(L||R)&&(Math.abs(y.startX-J)>=n||Math.abs(y.startY-D)>=n))&&(ut=I?2:1,I||(y.isDragging=!0),ei(L,R))}},Mr=y.onPress=function(N){Te(N,1)||N&&N.button||(y.axis=pt=null,je.pause(),y.isPressed=!0,N=Yi(N),gt=Zt=0,y.startX=y.x=N.clientX,y.startY=y.y=N.clientY,y._vx.reset(),y._vy.reset(),it($?o:ye,Bt[1],pr,hr,!0),y.deltaX=y.deltaY=0,S&&S(y))},V=y.onRelease=function(N){if(!Te(N,1)){rt($?o:ye,Bt[1],pr,!0);var A=!isNaN(y.y-y.startY),J=y.isDragging,D=J&&(Math.abs(y.x-y.startX)>3||Math.abs(y.y-y.startY)>3),L=Yi(N);!D&&A&&(y._vx.reset(),y._vy.reset(),f&&we&&Be.delayedCall(.08,function(){if(Wi()-Jt>300&&!N.defaultPrevented){if(N.target.click)N.target.click();else if(ye.createEvent){var R=ye.createEvent("MouseEvents");R.initMouseEvent("click",!0,!0,wt,1,L.screenX,L.screenY,L.clientX,L.clientY,!1,!1,!1,!1,0,null),N.target.dispatchEvent(R)}}})),y.isDragging=y.isGesturing=y.isPressed=!1,_&&J&&!$&&je.restart(!0),ut&&jt(),T&&J&&T(y),v&&v(y,D)}},Dr=function(A){return A.touches&&A.touches.length>1&&(y.isGesturing=!0)&&ne(A,y.isDragging)},Ft=function(){return(y.isGesturing=!1)||g(y)},Lt=function(A){if(!Te(A)){var J=he(),D=$t();jr((J-_r)*Ae,(D-Or)*Ae,1),_r=J,Or=D,_&&je.restart(!0)}},It=function(A){if(!Te(A)){A=Yi(A,f),se&&(me=!0);var J=(A.deltaMode===1?u:A.deltaMode===2?wt.innerHeight:1)*p;jr(A.deltaX*J,A.deltaY*J,0),_&&!$&&je.restart(!0)}},Er=function(A){if(!Te(A)){var J=A.clientX,D=A.clientY,L=J-y.x,R=D-y.y;y.x=J,y.y=D,Z=!0,_&&je.restart(!0),(L||R)&&ei(L,R)}},ti=function(A){y.event=A,U(y)},er=function(A){y.event=A,K(y)},Si=function(A){return Te(A)||Yi(A,f)&&ce(y)};je=y._dc=Be.delayedCall(d||.25,sn).pause(),y.deltaX=y.deltaY=0,y._vx=Mn(0,50,!0),y._vy=Mn(0,50,!0),y.scrollX=he,y.scrollY=$t,y.isDragging=y.isGesturing=y.isPressed=!1,ka(this),y.enable=function(N){return y.isEnabled||(it(dr?ye:o,"scroll",Gs),s.indexOf("scroll")>=0&&it(dr?ye:o,"scroll",Lt,hr,Ye),s.indexOf("wheel")>=0&&it(o,"wheel",It,hr,Ye),(s.indexOf("touch")>=0&&Ca||s.indexOf("pointer")>=0)&&(it(o,Bt[0],Mr,hr,Ye),it(ye,Bt[2],V),it(ye,Bt[3],V),we&&it(o,"click",bi,!0,!0),ce&&it(o,"click",Si),ne&&it(ye,"gesturestart",Dr),g&&it(ye,"gestureend",Ft),U&&it(o,Vr+"enter",ti),K&&it(o,Vr+"leave",er),H&&it(o,Vr+"move",Er)),y.isEnabled=!0,y.isDragging=y.isGesturing=y.isPressed=Z=ut=!1,y._vx.reset(),y._vy.reset(),_r=he(),Or=$t(),N&&N.type&&Mr(N),$e&&$e(y)),y},y.disable=function(){y.isEnabled&&(di.filter(function(N){return N!==y&&Ui(N.target)}).length||rt(dr?ye:o,"scroll",Gs),y.isPressed&&(y._vx.reset(),y._vy.reset(),rt($?o:ye,Bt[1],pr,!0)),rt(dr?ye:o,"scroll",Lt,Ye),rt(o,"wheel",It,Ye),rt(o,Bt[0],Mr,Ye),rt(ye,Bt[2],V),rt(ye,Bt[3],V),rt(o,"click",bi,!0),rt(o,"click",Si),rt(ye,"gesturestart",Dr),rt(ye,"gestureend",Ft),rt(o,Vr+"enter",ti),rt(o,Vr+"leave",er),rt(o,Vr+"move",Er),y.isEnabled=y.isPressed=y.isDragging=!1,At&&At(y))},y.kill=y.revert=function(){y.disable();var N=di.indexOf(y);N>=0&&di.splice(N,1),or===y&&(or=0)},di.push(y),$&&Ui(o)&&(or=y),y.enable(h)},Gl(a,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),a}();ge.version="3.13.0";ge.create=function(a){return new ge(a)};ge.register=Ea;ge.getAll=function(){return di.slice()};ge.getById=function(a){return di.filter(function(e){return e.vars.id===a})[0]};Oa()&&Be.registerPlugin(ge);var E,yi,W,ie,St,j,oo,Gn,rn,Zi,Gi,Dn,Qe,Kn,js,ot,Ra,Aa,vi,Ka,Hs,Za,st,eo,$a,Ja,kr,to,ao,xi,uo,Hn,ro,qs,En=1,Ke=Date.now,Qs=Ke(),Rt=0,Hi=0,za=function(e,r,t){var i=bt(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return t["_"+r+"Clamp"]=i,i?e.substr(6,e.length-7):e},Fa=function(e,r){return r&&(!bt(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},Kl=function a(){return Hi&&requestAnimationFrame(a)},La=function(){return Kn=1},Ia=function(){return Kn=0},Qt=function(e){return e},qi=function(e){return Math.round(e*1e5)/1e5||0},ja=function(){return typeof window<"u"},eu=function(){return E||ja()&&(E=window.gsap)&&E.registerPlugin&&E},Zr=function(e){return!!~oo.indexOf(e)},tu=function(e){return(e==="Height"?uo:W["inner"+e])||St["client"+e]||j["client"+e]},ru=function(e){return ur(e,"getBoundingClientRect")||(Zr(e)?function(){return Vn.width=W.innerWidth,Vn.height=uo,Vn}:function(){return lr(e)})},Zl=function(e,r,t){var i=t.d,n=t.d2,s=t.a;return(s=ur(e,"getBoundingClientRect"))?function(){return s()[i]}:function(){return(r?tu(n):e["client"+n])||0}},$l=function(e,r){return!r||~Yt.indexOf(e)?ru(e):function(){return Vn}},Kt=function(e,r){var t=r.s,i=r.d2,n=r.d,s=r.a;return Math.max(0,(t="scroll"+i)&&(s=ur(e,t))?s()-ru(e)()[n]:Zr(e)?(St[t]||j[t])-tu(i):e[t]-e["offset"+i])},Rn=function(e,r){for(var t=0;t<vi.length;t+=3)(!r||~r.indexOf(vi[t+1]))&&e(vi[t],vi[t+1],vi[t+2])},bt=function(e){return typeof e=="string"},Ze=function(e){return typeof e=="function"},Qi=function(e){return typeof e=="number"},Gr=function(e){return typeof e=="object"},Vi=function(e,r,t){return e&&e.progress(r?0:1)&&t&&e.pause()},Ks=function(e,r){if(e.enabled){var t=e._ctx?e._ctx.add(function(){return r(e)}):r(e);t&&t.totalTime&&(e.callbackAnimation=t)}},gi=Math.abs,iu="left",nu="top",lo="right",fo="bottom",qr="width",Qr="height",$i="Right",Ji="Left",ji="Top",en="Bottom",Ce="padding",Dt="margin",Ti="Width",co="Height",Oe="px",Et=function(e){return W.getComputedStyle(e)},Jl=function(e){var r=Et(e).position;e.style.position=r==="absolute"||r==="fixed"?r:"relative"},Na=function(e,r){for(var t in r)t in e||(e[t]=r[t]);return e},lr=function(e,r){var t=r&&Et(e)[js]!=="matrix(1, 0, 0, 1, 0, 0)"&&E.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();return t&&t.progress(0).kill(),i},qn=function(e,r){var t=r.d2;return e["offset"+t]||e["client"+t]||0},su=function(e){var r=[],t=e.labels,i=e.duration(),n;for(n in t)r.push(t[n]/i);return r},jl=function(e){return function(r){return E.utils.snap(su(e),r)}},ho=function(e){var r=E.utils.snap(e),t=Array.isArray(e)&&e.slice(0).sort(function(i,n){return i-n});return t?function(i,n,s){s===void 0&&(s=.001);var o;if(!n)return r(i);if(n>0){for(i-=s,o=0;o<t.length;o++)if(t[o]>=i)return t[o];return t[o-1]}else for(o=t.length,i+=s;o--;)if(t[o]<=i)return t[o];return t[0]}:function(i,n,s){s===void 0&&(s=.001);var o=r(i);return!n||Math.abs(o-i)<s||o-i<0==n<0?o:r(n<0?i-e:i+e)}},ef=function(e){return function(r,t){return ho(su(e))(r,t.direction)}},An=function(e,r,t,i){return t.split(",").forEach(function(n){return e(r,n,i)})},Re=function(e,r,t,i,n){return e.addEventListener(r,t,{passive:!i,capture:!!n})},Ee=function(e,r,t,i){return e.removeEventListener(r,t,!!i)},zn=function(e,r,t){t=t&&t.wheelHandler,t&&(e(r,"wheel",t),e(r,"touchmove",t))},Ba={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Fn={toggleActions:"play",anticipatePin:0},Qn={top:0,left:0,center:.5,bottom:1,right:1},Yn=function(e,r){if(bt(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 Qn?Qn[e]*r:~e.indexOf("%")?parseFloat(e)*r/100:parseFloat(e)||0)}return e},Ln=function(e,r,t,i,n,s,o,u){var l=n.startColor,f=n.endColor,_=n.fontSize,d=n.indent,c=n.fontWeight,p=ie.createElement("div"),h=Zr(t)||ur(t,"pinType")==="fixed",m=e.indexOf("scroller")!==-1,T=h?j:t,w=e.indexOf("start")!==-1,S=w?l:f,v="border-color:"+S+";font-size:"+_+";color:"+S+";font-weight:"+c+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return v+="position:"+((m||u)&&h?"fixed;":"absolute;"),(m||u||!h)&&(v+=(i===Se?lo:fo)+":"+(s+parseFloat(d))+"px;"),o&&(v+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),p._isStart=w,p.setAttribute("class","gsap-marker-"+e+(r?" marker-"+r:"")),p.style.cssText=v,p.innerText=r||r===0?e+"-"+r:e,T.children[0]?T.insertBefore(p,T.children[0]):T.appendChild(p),p._offset=p["offset"+i.op.d2],Xn(p,0,i,w),p},Xn=function(e,r,t,i){var n={display:"block"},s=t[i?"os2":"p2"],o=t[i?"p2":"os2"];e._isFlipped=i,n[t.a+"Percent"]=i?-100:0,n[t.a]=i?"1px":0,n["border"+s+Ti]=1,n["border"+o+Ti]=0,n[t.p]=r+"px",E.set(e,n)},Y=[],io={},nn,Ya=function(){return Ke()-Rt>34&&(nn||(nn=requestAnimationFrame(fr)))},mi=function(){(!st||!st.isPressed||st.startX>j.clientWidth)&&(B.cache++,st?nn||(nn=requestAnimationFrame(fr)):fr(),Rt||Jr("scrollStart"),Rt=Ke())},Zs=function(){Ja=W.innerWidth,$a=W.innerHeight},Ki=function(e){B.cache++,(e===!0||!Qe&&!Za&&!ie.fullscreenElement&&!ie.webkitFullscreenElement&&(!eo||Ja!==W.innerWidth||Math.abs(W.innerHeight-$a)>W.innerHeight*.25))&&Gn.restart(!0)},$r={},tf=[],ou=function a(){return Ee(X,"scrollEnd",a)||Hr(!0)},Jr=function(e){return $r[e]&&$r[e].map(function(r){return r()})||tf},Tt=[],au=function(e){for(var r=0;r<Tt.length;r+=5)(!e||Tt[r+4]&&Tt[r+4].query===e)&&(Tt[r].style.cssText=Tt[r+1],Tt[r].getBBox&&Tt[r].setAttribute("transform",Tt[r+2]||""),Tt[r+3].uncache=1)},_o=function(e,r){var t;for(ot=0;ot<Y.length;ot++)t=Y[ot],t&&(!r||t._ctx===r)&&(e?t.kill(1):t.revert(!0,!0));Hn=!0,r&&au(r),r||Jr("revert")},uu=function(e,r){B.cache++,(r||!at)&&B.forEach(function(t){return Ze(t)&&t.cacheID++&&(t.rec=0)}),bt(e)&&(W.history.scrollRestoration=ao=e)},at,Kr=0,Xa,rf=function(){if(Xa!==Kr){var e=Xa=Kr;requestAnimationFrame(function(){return e===Kr&&Hr(!0)})}},lu=function(){j.appendChild(xi),uo=!st&&xi.offsetHeight||W.innerHeight,j.removeChild(xi)},Wa=function(e){return rn(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(r){return r.style.display=e?"none":"block"})},Hr=function(e,r){if(St=ie.documentElement,j=ie.body,oo=[W,ie,St,j],Rt&&!e&&!Hn){Re(X,"scrollEnd",ou);return}lu(),at=X.isRefreshing=!0,B.forEach(function(i){return Ze(i)&&++i.cacheID&&(i.rec=i())});var t=Jr("refreshInit");Ka&&X.sort(),r||_o(),B.forEach(function(i){Ze(i)&&(i.smooth&&(i.target.style.scrollBehavior="auto"),i(0))}),Y.slice(0).forEach(function(i){return i.refresh()}),Hn=!1,Y.forEach(function(i){if(i._subPinOffset&&i.pin){var n=i.vars.horizontal?"offsetWidth":"offsetHeight",s=i.pin[n];i.revert(!0,1),i.adjustPinSpacing(i.pin[n]-s),i.refresh()}}),ro=1,Wa(!0),Y.forEach(function(i){var n=Kt(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,!0)}),Wa(!1),ro=0,t.forEach(function(i){return i&&i.render&&i.render(-1)}),B.forEach(function(i){Ze(i)&&(i.smooth&&requestAnimationFrame(function(){return i.target.style.scrollBehavior="smooth"}),i.rec&&i(i.rec))}),uu(ao,1),Gn.pause(),Kr++,at=2,fr(2),Y.forEach(function(i){return Ze(i.vars.onRefresh)&&i.vars.onRefresh(i)}),at=X.isRefreshing=!1,Jr("refresh")},no=0,Wn=1,tn,fr=function(e){if(e===2||!at&&!Hn){X.isUpdating=!0,tn&&tn.update(0);var r=Y.length,t=Ke(),i=t-Qs>=50,n=r&&Y[0].scroll();if(Wn=no>n?-1:1,at||(no=n),i&&(Rt&&!Kn&&t-Rt>200&&(Rt=0,Jr("scrollEnd")),Gi=Qs,Qs=t),Wn<0){for(ot=r;ot-- >0;)Y[ot]&&Y[ot].update(0,i);Wn=1}else for(ot=0;ot<r;ot++)Y[ot]&&Y[ot].update(0,i);X.isUpdating=!1}nn=0},so=[iu,nu,fo,lo,Dt+en,Dt+$i,Dt+ji,Dt+Ji,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Un=so.concat([qr,Qr,"boxSizing","max"+Ti,"max"+co,"position",Dt,Ce,Ce+ji,Ce+$i,Ce+en,Ce+Ji]),nf=function(e,r,t){wi(t);var i=e._gsap;if(i.spacerIsNative)wi(i.spacerState);else if(e._gsap.swappedIn){var n=r.parentNode;n&&(n.insertBefore(e,r),n.removeChild(r))}e._gsap.swappedIn=!1},$s=function(e,r,t,i){if(!e._gsap.swappedIn){for(var n=so.length,s=r.style,o=e.style,u;n--;)u=so[n],s[u]=t[u];s.position=t.position==="absolute"?"absolute":"relative",t.display==="inline"&&(s.display="inline-block"),o[fo]=o[lo]="auto",s.flexBasis=t.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[qr]=qn(e,qe)+Oe,s[Qr]=qn(e,Se)+Oe,s[Ce]=o[Dt]=o[nu]=o[iu]="0",wi(i),o[qr]=o["max"+Ti]=t[qr],o[Qr]=o["max"+co]=t[Qr],o[Ce]=t[Ce],e.parentNode!==r&&(e.parentNode.insertBefore(r,e),r.appendChild(e)),e._gsap.swappedIn=!0}},sf=/([A-Z])/g,wi=function(e){if(e){var r=e.t.style,t=e.length,i=0,n,s;for((e.t._gsap||E.core.getCache(e.t)).uncache=1;i<t;i+=2)s=e[i+1],n=e[i],s?r[n]=s:r[n]&&r.removeProperty(n.replace(sf,"-$1").toLowerCase())}},In=function(e){for(var r=Un.length,t=e.style,i=[],n=0;n<r;n++)i.push(Un[n],t[Un[n]]);return i.t=e,i},of=function(e,r,t){for(var i=[],n=e.length,s=t?8:0,o;s<n;s+=2)o=e[s],i.push(o,o in r?r[o]:e[s+1]);return i.t=e.t,i},Vn={left:0,top:0},Ua=function(e,r,t,i,n,s,o,u,l,f,_,d,c,p){Ze(e)&&(e=e(u)),bt(e)&&e.substr(0,3)==="max"&&(e=d+(e.charAt(4)==="="?Yn("0"+e.substr(3),t):0));var h=c?c.time():0,m,T,w;if(c&&c.seek(0),isNaN(e)||(e=+e),Qi(e))c&&(e=E.utils.mapRange(c.scrollTrigger.start,c.scrollTrigger.end,0,d,e)),o&&Xn(o,t,i,!0);else{Ze(r)&&(r=r(u));var S=(e||"0").split(" "),v,b,P,x;w=nt(r,u)||j,v=lr(w)||{},(!v||!v.left&&!v.top)&&Et(w).display==="none"&&(x=w.style.display,w.style.display="block",v=lr(w),x?w.style.display=x:w.style.removeProperty("display")),b=Yn(S[0],v[i.d]),P=Yn(S[1]||"0",t),e=v[i.p]-l[i.p]-f+b+n-P,o&&Xn(o,P,i,t-P<20||o._isStart&&P>20),t-=t-P}if(p&&(u[p]=e||-.001,e<0&&(e=0)),s){var O=e+t,C=s._isStart;m="scroll"+i.d2,Xn(s,O,i,C&&O>20||!C&&(_?Math.max(j[m],St[m]):s.parentNode[m])<=O+1),_&&(l=lr(o),_&&(s.style[i.op.p]=l[i.op.p]-i.op.m-s._offset+Oe))}return c&&w&&(m=lr(w),c.seek(d),T=lr(w),c._caScrollDist=m[i.p]-T[i.p],e=e/c._caScrollDist*d),c&&c.seek(h),c?e:Math.round(e)},af=/(webkit|moz|length|cssText|inset)/i,Va=function(e,r,t,i){if(e.parentNode!==r){var n=e.style,s,o;if(r===j){e._stOrig=n.cssText,o=Et(e);for(s in o)!+s&&!af.test(s)&&o[s]&&typeof n[s]=="string"&&s!=="0"&&(n[s]=o[s]);n.top=t,n.left=i}else n.cssText=e._stOrig;E.core.getCache(e).uncache=1,r.appendChild(e)}},fu=function(e,r,t){var i=r,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,t&&t()),n=i,i=Math.round(s),i}},Nn=function(e,r,t){var i={};i[r.p]="+="+t,E.set(e,i)},Ga=function(e,r){var t=ar(e,r),i="_scroll"+r.p2,n=function s(o,u,l,f,_){var d=s.tween,c=u.onComplete,p={};l=l||t();var h=fu(t,l,function(){d.kill(),s.tween=0});return _=f&&_||0,f=f||o-l,d&&d.kill(),u[i]=o,u.inherit=!1,u.modifiers=p,p[i]=function(){return h(l+f*d.ratio+_*d.ratio*d.ratio)},u.onUpdate=function(){B.cache++,s.tween&&fr()},u.onComplete=function(){s.tween=0,c&&c.call(d)},d=s.tween=E.to(e,u),d};return e[i]=t,t.wheelHandler=function(){return n.tween&&n.tween.kill()&&(n.tween=0)},Re(e,"wheel",t.wheelHandler),X.isTouch&&Re(e,"touchmove",t.wheelHandler),n},X=function(){function a(r,t){yi||a.register(E)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),to(this),this.init(r,t)}var e=a.prototype;return e.init=function(t,i){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Hi){this.update=this.refresh=this.kill=Qt;return}t=Na(bt(t)||Qi(t)||t.nodeType?{trigger:t}:t,Fn);var n=t,s=n.onUpdate,o=n.toggleClass,u=n.id,l=n.onToggle,f=n.onRefresh,_=n.scrub,d=n.trigger,c=n.pin,p=n.pinSpacing,h=n.invalidateOnRefresh,m=n.anticipatePin,T=n.onScrubComplete,w=n.onSnapComplete,S=n.once,v=n.snap,b=n.pinReparent,P=n.pinSpacer,x=n.containerAnimation,O=n.fastScrollEnd,C=n.preventOverlaps,k=t.horizontal||t.containerAnimation&&t.horizontal!==!1?qe:Se,F=!_&&_!==0,M=nt(t.scroller||W),G=E.core.getCache(M),U=Zr(M),K=("pinType"in t?t.pinType:ur(M,"pinType")||U&&"fixed")==="fixed",H=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],z=F&&t.toggleActions.split(" "),$="markers"in t?t.markers:Fn.markers,ne=U?0:parseFloat(Et(M)["border"+k.p2+Ti])||0,g=this,se=t.onRefreshInit&&function(){return t.onRefreshInit(g)},$e=Zl(M,U,k),At=$l(M,U),ce=0,Ae=0,Ye=0,we=ar(M,k),Je,Xe,cr,je,ut,Z,me,lt,pt,y,gt,Zt,hr,he,$t,_r,Or,Me,dr,ye,zt,Ct,Jt,bi,Te,sn,jt,jr,ei,pr,Mr,V,Dr,Ft,Lt,It,Er,ti,er;if(g._startClamp=g._endClamp=!1,g._dir=k,m*=45,g.scroller=M,g.scroll=x?x.time.bind(x):we,je=we(),g.vars=t,i=i||t.animation,"refreshPriority"in t&&(Ka=1,t.refreshPriority===-9999&&(tn=g)),G.tweenScroll=G.tweenScroll||{top:Ga(M,Se),left:Ga(M,qe)},g.tweenTo=Je=G.tweenScroll[k.p],g.scrubDuration=function(D){Dr=Qi(D)&&D,Dr?V?V.duration(D):V=E.to(i,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Dr,paused:!0,onComplete:function(){return T&&T(g)}}):(V&&V.progress(1).kill(),V=0)},i&&(i.vars.lazy=!1,i._initted&&!g.isReverted||i.vars.immediateRender!==!1&&t.immediateRender!==!1&&i.duration()&&i.render(0,!0,!0),g.animation=i.pause(),i.scrollTrigger=g,g.scrubDuration(_),pr=0,u||(u=i.vars.id)),v&&((!Gr(v)||v.push)&&(v={snapTo:v}),"scrollBehavior"in j.style&&E.set(U?[j,St]:M,{scrollBehavior:"auto"}),B.forEach(function(D){return Ze(D)&&D.target===(U?ie.scrollingElement||St:M)&&(D.smooth=!1)}),cr=Ze(v.snapTo)?v.snapTo:v.snapTo==="labels"?jl(i):v.snapTo==="labelsDirectional"?ef(i):v.directional!==!1?function(D,L){return ho(v.snapTo)(D,Ke()-Ae<500?0:L.direction)}:E.utils.snap(v.snapTo),Ft=v.duration||{min:.1,max:2},Ft=Gr(Ft)?Zi(Ft.min,Ft.max):Zi(Ft,Ft),Lt=E.delayedCall(v.delay||Dr/2||.1,function(){var D=we(),L=Ke()-Ae<500,R=Je.tween;if((L||Math.abs(g.getVelocity())<10)&&!R&&!Kn&&ce!==D){var I=(D-Z)/he,De=i&&!F?i.totalProgress():I,q=L?0:(De-Mr)/(Ke()-Gi)*1e3||0,ve=E.utils.clamp(-I,1-I,gi(q/2)*q/.185),We=I+(v.inertia===!1?0:ve),_e,oe,ee=v,Nt=ee.onStart,ue=ee.onInterrupt,mt=ee.onComplete;if(_e=cr(We,g),Qi(_e)||(_e=We),oe=Math.max(0,Math.round(Z+_e*he)),D<=me&&D>=Z&&oe!==D){if(R&&!R._initted&&R.data<=gi(oe-D))return;v.inertia===!1&&(ve=_e-I),Je(oe,{duration:Ft(gi(Math.max(gi(We-De),gi(_e-De))*.185/q/.05||0)),ease:v.ease||"power3",data:gi(oe-D),onInterrupt:function(){return Lt.restart(!0)&&ue&&ue(g)},onComplete:function(){g.update(),ce=we(),i&&!F&&(V?V.resetTo("totalProgress",_e,i._tTime/i._tDur):i.progress(_e)),pr=Mr=i&&!F?i.totalProgress():g.progress,w&&w(g),mt&&mt(g)}},D,ve*he,oe-D-ve*he),Nt&&Nt(g,Je.tween)}}else g.isActive&&ce!==D&&Lt.restart(!0)}).pause()),u&&(io[u]=g),d=g.trigger=nt(d||c!==!0&&c),er=d&&d._gsap&&d._gsap.stRevert,er&&(er=er(g)),c=c===!0?d:nt(c),bt(o)&&(o={targets:d,className:o}),c&&(p===!1||p===Dt||(p=!p&&c.parentNode&&c.parentNode.style&&Et(c.parentNode).display==="flex"?!1:Ce),g.pin=c,Xe=E.core.getCache(c),Xe.spacer?$t=Xe.pinState:(P&&(P=nt(P),P&&!P.nodeType&&(P=P.current||P.nativeElement),Xe.spacerIsNative=!!P,P&&(Xe.spacerState=In(P))),Xe.spacer=Me=P||ie.createElement("div"),Me.classList.add("pin-spacer"),u&&Me.classList.add("pin-spacer-"+u),Xe.pinState=$t=In(c)),t.force3D!==!1&&E.set(c,{force3D:!0}),g.spacer=Me=Xe.spacer,ei=Et(c),bi=ei[p+k.os2],ye=E.getProperty(c),zt=E.quickSetter(c,k.a,Oe),$s(c,Me,ei),Or=In(c)),$){Zt=Gr($)?Na($,Ba):Ba,y=Ln("scroller-start",u,M,k,Zt,0),gt=Ln("scroller-end",u,M,k,Zt,0,y),dr=y["offset"+k.op.d2];var Si=nt(ur(M,"content")||M);lt=this.markerStart=Ln("start",u,Si,k,Zt,dr,0,x),pt=this.markerEnd=Ln("end",u,Si,k,Zt,dr,0,x),x&&(ti=E.quickSetter([lt,pt],k.a,Oe)),!K&&!(Yt.length&&ur(M,"fixedMarkers")===!0)&&(Jl(U?j:M),E.set([y,gt],{force3D:!0}),sn=E.quickSetter(y,k.a,Oe),jr=E.quickSetter(gt,k.a,Oe))}if(x){var N=x.vars.onUpdate,A=x.vars.onUpdateParams;x.eventCallback("onUpdate",function(){g.update(0,0,1),N&&N.apply(x,A||[])})}if(g.previous=function(){return Y[Y.indexOf(g)-1]},g.next=function(){return Y[Y.indexOf(g)+1]},g.revert=function(D,L){if(!L)return g.kill(!0);var R=D!==!1||!g.enabled,I=Qe;R!==g.isReverted&&(R&&(It=Math.max(we(),g.scroll.rec||0),Ye=g.progress,Er=i&&i.progress()),lt&&[lt,pt,y,gt].forEach(function(De){return De.style.display=R?"none":"block"}),R&&(Qe=g,g.update(R)),c&&(!b||!g.isActive)&&(R?nf(c,Me,$t):$s(c,Me,Et(c),Te)),R||g.update(R),Qe=I,g.isReverted=R)},g.refresh=function(D,L,R,I){if(!((Qe||!g.enabled)&&!L)){if(c&&D&&Rt){Re(a,"scrollEnd",ou);return}!at&&se&&se(g),Qe=g,Je.tween&&!R&&(Je.tween.kill(),Je.tween=0),V&&V.pause(),h&&i&&(i.revert({kill:!1}).invalidate(),i.getChildren&&i.getChildren(!0,!0,!1).forEach(function(gr){return gr.vars.immediateRender&&gr.render(0,!0,!0)})),g.isReverted||g.revert(!0,!0),g._subPinOffset=!1;var De=$e(),q=At(),ve=x?x.duration():Kt(M,k),We=he<=.01||!he,_e=0,oe=I||0,ee=Gr(R)?R.end:t.end,Nt=t.endTrigger||d,ue=Gr(R)?R.start:t.start||(t.start===0||!d?0:c?"0 0":"0 100%"),mt=g.pinnedContainer=t.pinnedContainer&&nt(t.pinnedContainer,g),Xt=d&&Math.max(0,Y.indexOf(g))||0,ze=Xt,Fe,Ue,Rr,on,Ve,Pe,Wt,Zn,po,Ci,Ut,Pi,an;for($&&Gr(R)&&(Pi=E.getProperty(y,k.p),an=E.getProperty(gt,k.p));ze-- >0;)Pe=Y[ze],Pe.end||Pe.refresh(0,1)||(Qe=g),Wt=Pe.pin,Wt&&(Wt===d||Wt===c||Wt===mt)&&!Pe.isReverted&&(Ci||(Ci=[]),Ci.unshift(Pe),Pe.revert(!0,!0)),Pe!==Y[ze]&&(Xt--,ze--);for(Ze(ue)&&(ue=ue(g)),ue=za(ue,"start",g),Z=Ua(ue,d,De,k,we(),lt,y,g,q,ne,K,ve,x,g._startClamp&&"_startClamp")||(c?-.001:0),Ze(ee)&&(ee=ee(g)),bt(ee)&&!ee.indexOf("+=")&&(~ee.indexOf(" ")?ee=(bt(ue)?ue.split(" ")[0]:"")+ee:(_e=Yn(ee.substr(2),De),ee=bt(ue)?ue:(x?E.utils.mapRange(0,x.duration(),x.scrollTrigger.start,x.scrollTrigger.end,Z):Z)+_e,Nt=d)),ee=za(ee,"end",g),me=Math.max(Z,Ua(ee||(Nt?"100% 0":ve),Nt,De,k,we()+_e,pt,gt,g,q,ne,K,ve,x,g._endClamp&&"_endClamp"))||-.001,_e=0,ze=Xt;ze--;)Pe=Y[ze],Wt=Pe.pin,Wt&&Pe.start-Pe._pinPush<=Z&&!x&&Pe.end>0&&(Fe=Pe.end-(g._startClamp?Math.max(0,Pe.start):Pe.start),(Wt===d&&Pe.start-Pe._pinPush<Z||Wt===mt)&&isNaN(ue)&&(_e+=Fe*(1-Pe.progress)),Wt===c&&(oe+=Fe));if(Z+=_e,me+=_e,g._startClamp&&(g._startClamp+=_e),g._endClamp&&!at&&(g._endClamp=me||-.001,me=Math.min(me,Kt(M,k))),he=me-Z||(Z-=.01)&&.001,We&&(Ye=E.utils.clamp(0,1,E.utils.normalize(Z,me,It))),g._pinPush=oe,lt&&_e&&(Fe={},Fe[k.a]="+="+_e,mt&&(Fe[k.p]="-="+we()),E.set([lt,pt],Fe)),c&&!(ro&&g.end>=Kt(M,k)))Fe=Et(c),on=k===Se,Rr=we(),Ct=parseFloat(ye(k.a))+oe,!ve&&me>1&&(Ut=(U?ie.scrollingElement||St:M).style,Ut={style:Ut,value:Ut["overflow"+k.a.toUpperCase()]},U&&Et(j)["overflow"+k.a.toUpperCase()]!=="scroll"&&(Ut.style["overflow"+k.a.toUpperCase()]="scroll")),$s(c,Me,Fe),Or=In(c),Ue=lr(c,!0),Zn=K&&ar(M,on?qe:Se)(),p?(Te=[p+k.os2,he+oe+Oe],Te.t=Me,ze=p===Ce?qn(c,k)+he+oe:0,ze&&(Te.push(k.d,ze+Oe),Me.style.flexBasis!=="auto"&&(Me.style.flexBasis=ze+Oe)),wi(Te),mt&&Y.forEach(function(gr){gr.pin===mt&&gr.vars.pinSpacing!==!1&&(gr._subPinOffset=!0)}),K&&we(It)):(ze=qn(c,k),ze&&Me.style.flexBasis!=="auto"&&(Me.style.flexBasis=ze+Oe)),K&&(Ve={top:Ue.top+(on?Rr-Z:Zn)+Oe,left:Ue.left+(on?Zn:Rr-Z)+Oe,boxSizing:"border-box",position:"fixed"},Ve[qr]=Ve["max"+Ti]=Math.ceil(Ue.width)+Oe,Ve[Qr]=Ve["max"+co]=Math.ceil(Ue.height)+Oe,Ve[Dt]=Ve[Dt+ji]=Ve[Dt+$i]=Ve[Dt+en]=Ve[Dt+Ji]="0",Ve[Ce]=Fe[Ce],Ve[Ce+ji]=Fe[Ce+ji],Ve[Ce+$i]=Fe[Ce+$i],Ve[Ce+en]=Fe[Ce+en],Ve[Ce+Ji]=Fe[Ce+Ji],_r=of($t,Ve,b),at&&we(0)),i?(po=i._initted,Hs(1),i.render(i.duration(),!0,!0),Jt=ye(k.a)-Ct+he+oe,jt=Math.abs(he-Jt)>1,K&&jt&&_r.splice(_r.length-2,2),i.render(0,!0,!0),po||i.invalidate(!0),i.parent||i.totalTime(i.totalTime()),Hs(0)):Jt=he,Ut&&(Ut.value?Ut.style["overflow"+k.a.toUpperCase()]=Ut.value:Ut.style.removeProperty("overflow-"+k.a));else if(d&&we()&&!x)for(Ue=d.parentNode;Ue&&Ue!==j;)Ue._pinOffset&&(Z-=Ue._pinOffset,me-=Ue._pinOffset),Ue=Ue.parentNode;Ci&&Ci.forEach(function(gr){return gr.revert(!1,!0)}),g.start=Z,g.end=me,je=ut=at?It:we(),!x&&!at&&(je<It&&we(It),g.scroll.rec=0),g.revert(!1,!0),Ae=Ke(),Lt&&(ce=-1,Lt.restart(!0)),Qe=0,i&&F&&(i._initted||Er)&&i.progress()!==Er&&i.progress(Er||0,!0).render(i.time(),!0,!0),(We||Ye!==g.progress||x||h||i&&!i._initted)&&(i&&!F&&(i._initted||Ye||i.vars.immediateRender!==!1)&&i.totalProgress(x&&Z<-.001&&!Ye?E.utils.normalize(Z,me,0):Ye,!0),g.progress=We||(je-Z)/he===Ye?0:Ye),c&&p&&(Me._pinOffset=Math.round(g.progress*Jt)),V&&V.invalidate(),isNaN(Pi)||(Pi-=E.getProperty(y,k.p),an-=E.getProperty(gt,k.p),Nn(y,k,Pi),Nn(lt,k,Pi-(I||0)),Nn(gt,k,an),Nn(pt,k,an-(I||0))),We&&!at&&g.update(),f&&!at&&!hr&&(hr=!0,f(g),hr=!1)}},g.getVelocity=function(){return(we()-ut)/(Ke()-Gi)*1e3||0},g.endAnimation=function(){Vi(g.callbackAnimation),i&&(V?V.progress(1):i.paused()?F||Vi(i,g.direction<0,1):Vi(i,i.reversed()))},g.labelToScroll=function(D){return i&&i.labels&&(Z||g.refresh()||Z)+i.labels[D]/i.duration()*he||0},g.getTrailing=function(D){var L=Y.indexOf(g),R=g.direction>0?Y.slice(0,L).reverse():Y.slice(L+1);return(bt(D)?R.filter(function(I){return I.vars.preventOverlaps===D}):R).filter(function(I){return g.direction>0?I.end<=Z:I.start>=me})},g.update=function(D,L,R){if(!(x&&!R&&!D)){var I=at===!0?It:g.scroll(),De=D?0:(I-Z)/he,q=De<0?0:De>1?1:De||0,ve=g.progress,We,_e,oe,ee,Nt,ue,mt,Xt;if(L&&(ut=je,je=x?we():I,v&&(Mr=pr,pr=i&&!F?i.totalProgress():q)),m&&c&&!Qe&&!En&&Rt&&(!q&&Z<I+(I-ut)/(Ke()-Gi)*m?q=1e-4:q===1&&me>I+(I-ut)/(Ke()-Gi)*m&&(q=.9999)),q!==ve&&g.enabled){if(We=g.isActive=!!q&&q<1,_e=!!ve&&ve<1,ue=We!==_e,Nt=ue||!!q!=!!ve,g.direction=q>ve?1:-1,g.progress=q,Nt&&!Qe&&(oe=q&&!ve?0:q===1?1:ve===1?2:3,F&&(ee=!ue&&z[oe+1]!=="none"&&z[oe+1]||z[oe],Xt=i&&(ee==="complete"||ee==="reset"||ee in i))),C&&(ue||Xt)&&(Xt||_||!i)&&(Ze(C)?C(g):g.getTrailing(C).forEach(function(Rr){return Rr.endAnimation()})),F||(V&&!Qe&&!En?(V._dp._time-V._start!==V._time&&V.render(V._dp._time-V._start),V.resetTo?V.resetTo("totalProgress",q,i._tTime/i._tDur):(V.vars.totalProgress=q,V.invalidate().restart())):i&&i.totalProgress(q,!!(Qe&&(Ae||D)))),c){if(D&&p&&(Me.style[p+k.os2]=bi),!K)zt(qi(Ct+Jt*q));else if(Nt){if(mt=!D&&q>ve&&me+1>I&&I+1>=Kt(M,k),b)if(!D&&(We||mt)){var ze=lr(c,!0),Fe=I-Z;Va(c,j,ze.top+(k===Se?Fe:0)+Oe,ze.left+(k===Se?0:Fe)+Oe)}else Va(c,Me);wi(We||mt?_r:Or),jt&&q<1&&We||zt(Ct+(q===1&&!mt?Jt:0))}}v&&!Je.tween&&!Qe&&!En&&Lt.restart(!0),o&&(ue||S&&q&&(q<1||!qs))&&rn(o.targets).forEach(function(Rr){return Rr.classList[We||S?"add":"remove"](o.className)}),s&&!F&&!D&&s(g),Nt&&!Qe?(F&&(Xt&&(ee==="complete"?i.pause().totalProgress(1):ee==="reset"?i.restart(!0).pause():ee==="restart"?i.restart(!0):i[ee]()),s&&s(g)),(ue||!qs)&&(l&&ue&&Ks(g,l),H[oe]&&Ks(g,H[oe]),S&&(q===1?g.kill(!1,1):H[oe]=0),ue||(oe=q===1?1:3,H[oe]&&Ks(g,H[oe]))),O&&!We&&Math.abs(g.getVelocity())>(Qi(O)?O:2500)&&(Vi(g.callbackAnimation),V?V.progress(1):Vi(i,ee==="reverse"?1:!q,1))):F&&s&&!Qe&&s(g)}if(jr){var Ue=x?I/x.duration()*(x._caScrollDist||0):I;sn(Ue+(y._isFlipped?1:0)),jr(Ue)}ti&&ti(-I/x.duration()*(x._caScrollDist||0))}},g.enable=function(D,L){g.enabled||(g.enabled=!0,Re(M,"resize",Ki),U||Re(M,"scroll",mi),se&&Re(a,"refreshInit",se),D!==!1&&(g.progress=Ye=0,je=ut=ce=we()),L!==!1&&g.refresh())},g.getTween=function(D){return D&&Je?Je.tween:V},g.setPositions=function(D,L,R,I){if(x){var De=x.scrollTrigger,q=x.duration(),ve=De.end-De.start;D=De.start+ve*D/q,L=De.start+ve*L/q}g.refresh(!1,!1,{start:Fa(D,R&&!!g._startClamp),end:Fa(L,R&&!!g._endClamp)},I),g.update()},g.adjustPinSpacing=function(D){if(Te&&D){var L=Te.indexOf(k.d)+1;Te[L]=parseFloat(Te[L])+D+Oe,Te[1]=parseFloat(Te[1])+D+Oe,wi(Te)}},g.disable=function(D,L){if(g.enabled&&(D!==!1&&g.revert(!0,!0),g.enabled=g.isActive=!1,L||V&&V.pause(),It=0,Xe&&(Xe.uncache=1),se&&Ee(a,"refreshInit",se),Lt&&(Lt.pause(),Je.tween&&Je.tween.kill()&&(Je.tween=0)),!U)){for(var R=Y.length;R--;)if(Y[R].scroller===M&&Y[R]!==g)return;Ee(M,"resize",Ki),U||Ee(M,"scroll",mi)}},g.kill=function(D,L){g.disable(D,L),V&&!L&&V.kill(),u&&delete io[u];var R=Y.indexOf(g);R>=0&&Y.splice(R,1),R===ot&&Wn>0&&ot--,R=0,Y.forEach(function(I){return I.scroller===g.scroller&&(R=1)}),R||at||(g.scroll.rec=0),i&&(i.scrollTrigger=null,D&&i.revert({kill:!1}),L||i.kill()),lt&&[lt,pt,y,gt].forEach(function(I){return I.parentNode&&I.parentNode.removeChild(I)}),tn===g&&(tn=0),c&&(Xe&&(Xe.uncache=1),R=0,Y.forEach(function(I){return I.pin===c&&R++}),R||(Xe.spacer=0)),t.onKill&&t.onKill(g)},Y.push(g),g.enable(!1,!1),er&&er(g),i&&i.add&&!he){var J=g.update;g.update=function(){g.update=J,B.cache++,Z||me||g.refresh()},E.delayedCall(.01,g.update),he=.01,Z=me=0}else g.refresh();c&&rf()},a.register=function(t){return yi||(E=t||eu(),ja()&&window.document&&a.enable(),yi=Hi),yi},a.defaults=function(t){if(t)for(var i in t)Fn[i]=t[i];return Fn},a.disable=function(t,i){Hi=0,Y.forEach(function(s){return s[i?"kill":"disable"](t)}),Ee(W,"wheel",mi),Ee(ie,"scroll",mi),clearInterval(Dn),Ee(ie,"touchcancel",Qt),Ee(j,"touchstart",Qt),An(Ee,ie,"pointerdown,touchstart,mousedown",La),An(Ee,ie,"pointerup,touchend,mouseup",Ia),Gn.kill(),Rn(Ee);for(var n=0;n<B.length;n+=3)zn(Ee,B[n],B[n+1]),zn(Ee,B[n],B[n+2])},a.enable=function(){if(W=window,ie=document,St=ie.documentElement,j=ie.body,E&&(rn=E.utils.toArray,Zi=E.utils.clamp,to=E.core.context||Qt,Hs=E.core.suppressOverwrites||Qt,ao=W.history.scrollRestoration||"auto",no=W.pageYOffset||0,E.core.globals("ScrollTrigger",a),j)){Hi=1,xi=document.createElement("div"),xi.style.height="100vh",xi.style.position="absolute",lu(),Kl(),ge.register(E),a.isTouch=ge.isTouch,kr=ge.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),eo=ge.isTouch===1,Re(W,"wheel",mi),oo=[W,ie,St,j],E.matchMedia?(a.matchMedia=function(l){var f=E.matchMedia(),_;for(_ in l)f.add(_,l[_]);return f},E.addEventListener("matchMediaInit",function(){return _o()}),E.addEventListener("matchMediaRevert",function(){return au()}),E.addEventListener("matchMedia",function(){Hr(0,1),Jr("matchMedia")}),E.matchMedia().add("(orientation: portrait)",function(){return Zs(),Zs})):console.warn("Requires GSAP 3.11.0 or later"),Zs(),Re(ie,"scroll",mi);var t=j.hasAttribute("style"),i=j.style,n=i.borderTopStyle,s=E.core.Animation.prototype,o,u;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),i.borderTopStyle="solid",o=lr(j),Se.m=Math.round(o.top+Se.sc())||0,qe.m=Math.round(o.left+qe.sc())||0,n?i.borderTopStyle=n:i.removeProperty("border-top-style"),t||(j.setAttribute("style",""),j.removeAttribute("style")),Dn=setInterval(Ya,250),E.delayedCall(.5,function(){return En=0}),Re(ie,"touchcancel",Qt),Re(j,"touchstart",Qt),An(Re,ie,"pointerdown,touchstart,mousedown",La),An(Re,ie,"pointerup,touchend,mouseup",Ia),js=E.utils.checkPrefix("transform"),Un.push(js),yi=Ke(),Gn=E.delayedCall(.2,Hr).pause(),vi=[ie,"visibilitychange",function(){var l=W.innerWidth,f=W.innerHeight;ie.hidden?(Ra=l,Aa=f):(Ra!==l||Aa!==f)&&Ki()},ie,"DOMContentLoaded",Hr,W,"load",Hr,W,"resize",Ki],Rn(Re),Y.forEach(function(l){return l.enable(0,1)}),u=0;u<B.length;u+=3)zn(Ee,B[u],B[u+1]),zn(Ee,B[u],B[u+2])}},a.config=function(t){"limitCallbacks"in t&&(qs=!!t.limitCallbacks);var i=t.syncInterval;i&&clearInterval(Dn)||(Dn=i)&&setInterval(Ya,i),"ignoreMobileResize"in t&&(eo=a.isTouch===1&&t.ignoreMobileResize),"autoRefreshEvents"in t&&(Rn(Ee)||Rn(Re,t.autoRefreshEvents||"none"),Za=(t.autoRefreshEvents+"").indexOf("resize")===-1)},a.scrollerProxy=function(t,i){var n=nt(t),s=B.indexOf(n),o=Zr(n);~s&&B.splice(s,o?6:2),i&&(o?Yt.unshift(W,i,j,i,St,i):Yt.unshift(n,i))},a.clearMatchMedia=function(t){Y.forEach(function(i){return i._ctx&&i._ctx.query===t&&i._ctx.kill(!0,!0)})},a.isInViewport=function(t,i,n){var s=(bt(t)?nt(t):t).getBoundingClientRect(),o=s[n?qr:Qr]*i||0;return n?s.right-o>0&&s.left+o<W.innerWidth:s.bottom-o>0&&s.top+o<W.innerHeight},a.positionInViewport=function(t,i,n){bt(t)&&(t=nt(t));var s=t.getBoundingClientRect(),o=s[n?qr:Qr],u=i==null?o/2:i in Qn?Qn[i]*o:~i.indexOf("%")?parseFloat(i)*o/100:parseFloat(i)||0;return n?(s.left+u)/W.innerWidth:(s.top+u)/W.innerHeight},a.killAll=function(t){if(Y.slice(0).forEach(function(n){return n.vars.id!=="ScrollSmoother"&&n.kill()}),t!==!0){var i=$r.killAll||[];$r={},i.forEach(function(n){return n()})}},a}();X.version="3.13.0";X.saveStyles=function(a){return a?rn(a).forEach(function(e){if(e&&e.style){var r=Tt.indexOf(e);r>=0&&Tt.splice(r,5),Tt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),E.core.getCache(e),to())}}):Tt};X.revert=function(a,e){return _o(!a,e)};X.create=function(a,e){return new X(a,e)};X.refresh=function(a){return a?Ki(!0):(yi||X.register())&&Hr(!0)};X.update=function(a){return++B.cache&&fr(a===!0?2:0)};X.clearScrollMemory=uu;X.maxScroll=function(a,e){return Kt(a,e?qe:Se)};X.getScrollFunc=function(a,e){return ar(nt(a),e?qe:Se)};X.getById=function(a){return io[a]};X.getAll=function(){return Y.filter(function(a){return a.vars.id!=="ScrollSmoother"})};X.isScrolling=function(){return!!Rt};X.snapDirectional=ho;X.addEventListener=function(a,e){var r=$r[a]||($r[a]=[]);~r.indexOf(e)||r.push(e)};X.removeEventListener=function(a,e){var r=$r[a],t=r&&r.indexOf(e);t>=0&&r.splice(t,1)};X.batch=function(a,e){var r=[],t={},i=e.interval||.016,n=e.batchMax||1e9,s=function(l,f){var _=[],d=[],c=E.delayedCall(i,function(){f(_,d),_=[],d=[]}).pause();return function(p){_.length||c.restart(!0),_.push(p.trigger),d.push(p),n<=_.length&&c.progress(1)}},o;for(o in e)t[o]=o.substr(0,2)==="on"&&Ze(e[o])&&o!=="onRefreshInit"?s(o,e[o]):e[o];return Ze(n)&&(n=n(),Re(X,"refresh",function(){return n=e.batchMax()})),rn(a).forEach(function(u){var l={};for(o in t)l[o]=t[o];l.trigger=u,r.push(X.create(l))}),r};var Ha=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},Js=function a(e,r){r===!0?e.style.removeProperty("touch-action"):e.style.touchAction=r===!0?"auto":r?"pan-"+r+(ge.isTouch?" pinch-zoom":""):"none",e===St&&a(j,r)},Bn={auto:1,scroll:1},uf=function(e){var r=e.event,t=e.target,i=e.axis,n=(r.changedTouches?r.changedTouches[0]:r).target,s=n._gsap||E.core.getCache(n),o=Ke(),u;if(!s._isScrollT||o-s._isScrollT>2e3){for(;n&&n!==j&&(n.scrollHeight<=n.clientHeight&&n.scrollWidth<=n.clientWidth||!(Bn[(u=Et(n)).overflowY]||Bn[u.overflowX]));)n=n.parentNode;s._isScroll=n&&n!==t&&!Zr(n)&&(Bn[(u=Et(n)).overflowY]||Bn[u.overflowX]),s._isScrollT=o}(s._isScroll||i==="x")&&(r.stopPropagation(),r._gsapAllow=!0)},cu=function(e,r,t,i){return ge.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:r,onWheel:i=i&&uf,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return t&&Re(ie,ge.eventTypes[0],Qa,!1,!0)},onDisable:function(){return Ee(ie,ge.eventTypes[0],Qa,!0)}})},lf=/(input|label|select|textarea)/i,qa,Qa=function(e){var r=lf.test(e.target.tagName);(r||qa)&&(e._gsapAllow=!0,qa=r)},ff=function(e){Gr(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var r=e,t=r.normalizeScrollX,i=r.momentum,n=r.allowNestedScroll,s=r.onRelease,o,u,l=nt(e.target)||St,f=E.core.globals().ScrollSmoother,_=f&&f.get(),d=kr&&(e.content&&nt(e.content)||_&&e.content!==!1&&!_.smooth()&&_.content()),c=ar(l,Se),p=ar(l,qe),h=1,m=(ge.isTouch&&W.visualViewport?W.visualViewport.scale*W.visualViewport.width:W.outerWidth)/W.innerWidth,T=0,w=Ze(i)?function(){return i(o)}:function(){return i||2.8},S,v,b=cu(l,e.type,!0,n),P=function(){return v=!1},x=Qt,O=Qt,C=function(){u=Kt(l,Se),O=Zi(kr?1:0,u),t&&(x=Zi(0,Kt(l,qe))),S=Kr},k=function(){d._gsap.y=qi(parseFloat(d._gsap.y)+c.offset)+"px",d.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(d._gsap.y)+", 0, 1)",c.offset=c.cacheID=0},F=function(){if(v){requestAnimationFrame(P);var $=qi(o.deltaY/2),ne=O(c.v-$);if(d&&ne!==c.v+c.offset){c.offset=ne-c.v;var g=qi((parseFloat(d&&d._gsap.y)||0)-c.offset);d.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+g+", 0, 1)",d._gsap.y=g+"px",c.cacheID=B.cache,fr()}return!0}c.offset&&k(),v=!0},M,G,U,K,H=function(){C(),M.isActive()&&M.vars.scrollY>u&&(c()>u?M.progress(1)&&c(u):M.resetTo("scrollY",u))};return d&&E.set(d,{y:"+=0"}),e.ignoreCheck=function(z){return kr&&z.type==="touchmove"&&F(z)||h>1.05&&z.type!=="touchstart"||o.isGesturing||z.touches&&z.touches.length>1},e.onPress=function(){v=!1;var z=h;h=qi((W.visualViewport&&W.visualViewport.scale||1)/m),M.pause(),z!==h&&Js(l,h>1.01?!0:t?!1:"x"),G=p(),U=c(),C(),S=Kr},e.onRelease=e.onGestureStart=function(z,$){if(c.offset&&k(),!$)K.restart(!0);else{B.cache++;var ne=w(),g,se;t&&(g=p(),se=g+ne*.05*-z.velocityX/.227,ne*=Ha(p,g,se,Kt(l,qe)),M.vars.scrollX=x(se)),g=c(),se=g+ne*.05*-z.velocityY/.227,ne*=Ha(c,g,se,Kt(l,Se)),M.vars.scrollY=O(se),M.invalidate().duration(ne).play(.01),(kr&&M.vars.scrollY>=u||g>=u-1)&&E.to({},{onUpdate:H,duration:ne})}s&&s(z)},e.onWheel=function(){M._ts&&M.pause(),Ke()-T>1e3&&(S=0,T=Ke())},e.onChange=function(z,$,ne,g,se){if(Kr!==S&&C(),$&&t&&p(x(g[2]===$?G+(z.startX-z.x):p()+$-g[1])),ne){c.offset&&k();var $e=se[2]===ne,At=$e?U+z.startY-z.y:c()+ne-se[1],ce=O(At);$e&&At!==ce&&(U+=ce-At),c(ce)}(ne||$)&&fr()},e.onEnable=function(){Js(l,t?!1:"x"),X.addEventListener("refresh",H),Re(W,"resize",H),c.smooth&&(c.target.style.scrollBehavior="auto",c.smooth=p.smooth=!1),b.enable()},e.onDisable=function(){Js(l,!0),Ee(W,"resize",H),X.removeEventListener("refresh",H),b.kill()},e.lockAxis=e.lockAxis!==!1,o=new ge(e),o.iOS=kr,kr&&!c()&&c(1),kr&&E.ticker.add(Qt),K=o._dc,M=E.to(o,{ease:"power4",paused:!0,inherit:!1,scrollX:t?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:fu(c,c(),function(){return M.pause()})},onUpdate:fr,onComplete:K.vars.onComplete}),o};X.sort=function(a){if(Ze(a))return Y.sort(a);var e=W.pageYOffset||0;return X.getAll().forEach(function(r){return r._sortY=r.trigger?e+r.trigger.getBoundingClientRect().top:r.start+W.innerHeight}),Y.sort(a||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)})};X.observe=function(a){return new ge(a)};X.normalizeScroll=function(a){if(typeof a>"u")return st;if(a===!0&&st)return st.enable();if(a===!1){st&&st.kill(),st=a;return}var e=a instanceof ge?a:ff(a);return st&&st.target===e.target&&st.kill(),Zr(e.target)&&(st=e),e};X.core={_getVelocityProp:Mn,_inputObserver:cu,_scrollers:B,_proxies:Yt,bridge:{ss:function(){Rt||Jr("scrollStart"),Rt=Ke()},ref:function(){return Qe}}};eu()&&E.registerPlugin(X);try{_i.registerPlugin(X)}catch(a){console.error("GSAP failed to register ScrollTrigger:",a)}function cf(){if(!_i){console.error("GSAP is not available. Horizontal scroll cannot initialize.");return}if(!X){console.error("ScrollTrigger plugin is missing. Horizontal scroll cannot initialize.");return}let a=_i.matchMedia();if(!a){console.error("GSAP matchMedia() is unavailable.");return}a.add("(min-width: 992px)",()=>{let e=document.querySelectorAll("[horizontal-scroll-section]");e.length===0&&console.warn("No elements found with [horizontal-scroll-section]"),e.forEach(r=>{let t=r.querySelector("[horizontal-scroll-wrapper]");if(!t){console.warn("Missing [horizontal-scroll-wrapper] inside:",r);return}let i=t.scrollWidth-window.innerWidth*.6;(!i||i<=window.innerWidth)&&console.warn("Wrapper content is not wider than the viewport. No horizontal scroll needed.",t);let n=()=>-(t.scrollWidth-window.innerWidth);_i.to(t,{x:n,ease:"none",scrollTrigger:{trigger:r,start:"top top",end:()=>`+=${t.scrollWidth-window.innerWidth}`,pin:!0,scrub:1,invalidateOnRefresh:!0,onUpdate:s=>{s||console.error("ScrollTrigger instance failed for:",t)}}})})})}document.addEventListener("DOMContentLoaded",()=>{try{cf()}catch(a){console.error("Error initializing horizontal scroll:",a)}});})();
2
+ /*! Bundled license information:
3
+
4
+ gsap/gsap-core.js:
5
+ (*!
6
+ * GSAP 3.13.0
7
+ * https://gsap.com
8
+ *
9
+ * @license Copyright 2008-2025, GreenSock. All rights reserved.
10
+ * Subject to the terms at https://gsap.com/standard-license
11
+ * @author: Jack Doyle, jack@greensock.com
12
+ *)
13
+
14
+ gsap/CSSPlugin.js:
15
+ (*!
16
+ * CSSPlugin 3.13.0
17
+ * https://gsap.com
18
+ *
19
+ * Copyright 2008-2025, GreenSock. All rights reserved.
20
+ * Subject to the terms at https://gsap.com/standard-license
21
+ * @author: Jack Doyle, jack@greensock.com
22
+ *)
23
+
24
+ gsap/Observer.js:
25
+ (*!
26
+ * Observer 3.13.0
27
+ * https://gsap.com
28
+ *
29
+ * @license Copyright 2008-2025, GreenSock. All rights reserved.
30
+ * Subject to the terms at https://gsap.com/standard-license
31
+ * @author: Jack Doyle, jack@greensock.com
32
+ *)
33
+
34
+ gsap/ScrollTrigger.js:
35
+ (*!
36
+ * ScrollTrigger 3.13.0
37
+ * https://gsap.com
38
+ *
39
+ * @license Copyright 2008-2025, GreenSock. All rights reserved.
40
+ * Subject to the terms at https://gsap.com/standard-license
41
+ * @author: Jack Doyle, jack@greensock.com
42
+ *)
43
+ */