@rtstic.dev/pulse 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/scroll.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{function rr(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 dt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},ni={duration:.5,overwrite:!1,delay:0},ps,Be,ae,Mt=1e8,ie=1/Mt,ns=Math.PI*2,hl=ns/4,_l=0,So=Math.sqrt,dl=Math.cos,pl=Math.sin,Me=function(e){return typeof e=="string"},pe=function(e){return typeof e=="function"},nr=function(e){return typeof e=="number"},mn=function(e){return typeof e>"u"},Gt=function(e){return typeof e=="object"},_t=function(e){return e!==!1},gs=function(){return typeof window<"u"},ln=function(e){return pe(e)||Me(e)},Co=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},We=Array.isArray,ss=/(?:-?\.?\d|\.)+/gi,ms=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Ir=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,$n=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,ys=/[+-]=-?[.\d]+/,Po=/[^,'"\[\]\s]+/gi,gl=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,fe,Ut,os,vs,xt={},hn={},ko,Mo=function(e){return(hn=si(e,xt))&&Ge},yn=function(e,r){return console.warn("Invalid property",e,"set to",r,"Missing plugin? gsap.registerPlugin()")},Di=function(e,r){return!r&&console.warn(e)},Oo=function(e,r){return e&&(xt[e]=r)&&hn&&(hn[e]=r)||xt},Ai=function(){return 0},ml={suppressEvents:!0,isStart:!0,kill:!1},un={suppressEvents:!0,kill:!1},yl={suppressEvents:!0},xs={},vr=[],as={},Eo,ct={},Jn={},go=30,fn=[],ws="",Ts=function(e){var r=e[0],t,i;if(Gt(r)||pe(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},xr=function(e){return e._gsap||Ts(Ot(e))[0]._gsap},bs=function(e,r,t){return(t=e[r])&&pe(t)?e[r]():mn(t)&&e.getAttribute&&e.getAttribute(r)||t},tt=function(e,r){return(e=e.split(",")).forEach(r)||e},ge=function(e){return Math.round(e*1e5)/1e5||0},Se=function(e){return Math.round(e*1e7)/1e7||0},Br=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},vl=function(e,r){for(var t=r.length,i=0;e.indexOf(r[i])<0&&++i<t;);return i<t},_n=function(){var e=vr.length,r=vr.slice(0),t,i;for(as={},vr.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)},Ro=function(e,r,t,i){vr.length&&!Be&&_n(),e.render(r,t,i||!!(Be&&r<0&&Ss(e))),vr.length&&!Be&&_n()},Do=function(e){var r=parseFloat(e);return(r||r===0)&&(e+"").match(Po).length<2?r:Me(e)?e.trim():e},Ao=function(e){return e},wt=function(e,r){for(var t in r)t in e||(e[t]=r[t]);return e},xl=function(e){return function(r,t){for(var i in t)i in r||i==="duration"&&e||i==="ease"||(r[i]=t[i])}},si=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]=Gt(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},Oi=function(e){var r=e.parent||fe,t=e.keyframes?xl(We(e.keyframes)):wt;if(_t(e.inherit))for(;r;)t(e,r.vars.defaults),r=r.parent||r._dp;return e},wl=function(e,r){for(var t=e.length,i=t===r.length;i&&t--&&e[t]===r[t];);return t<0},Lo=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},wr=function(e,r){e.parent&&(!r||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Lr=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},Tl=function(e){for(var r=e.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return e},ls=function(e,r,t,i){return e._startAt&&(Be?e._startAt.revert(un):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(r,!0,i))},bl=function a(e){return!e||e._ts&&a(e.parent)},yo=function(e){return e._repeat?oi(e._tTime,e=e.duration()+e._rDelay)*e:0},oi=function(e,r){var t=Math.floor(e=Se(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=Se(e._start+(e._tDur/Math.abs(e._ts||e._rts||ie)||0))},wn=function(e,r){var t=e._dp;return t&&t.smoothChildTiming&&e._ts&&(e._start=Se(t._time-(e._ts>0?r/e._ts:((e._dirty?e.totalDuration():e._tDur)-r)/-e._ts)),xn(e),t._dirty||Lr(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||zi(0,r.totalDuration(),t)-r._tTime>ie)&&r.render(t,!0)),Lr(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=-ie}},Wt=function(e,r,t,i){return r.parent&&wr(r),r._start=Se((nr(t)?t:t||e!==fe?kt(e,t,r):e._time)+r._delay),r._end=Se(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),Lo(e,r,"_first","_last",e._sort?"_start":0),us(r)||(e._recent=r),i||Fo(e,r),e._ts<0&&wn(e,e._tTime),e},zo=function(e,r){return(xt.ScrollTrigger||yn("scrollTrigger",r))&&xt.ScrollTrigger.create(r,e)},Io=function(e,r,t,i,n){if(Os(e,r,n),!e._initted)return 1;if(!t&&e._pt&&!Be&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Eo!==ht.frame)return vr.push(e),e._lazy=[n,i],1},Sl=function a(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||a(r))},us=function(e){var r=e.data;return r==="isFromStart"||r==="isStart"},Cl=function(e,r,t,i){var n=e.ratio,s=r<0||!r&&(!e._start&&Sl(e)&&!(!e._initted&&us(e))||(e._ts<0||e._dp._ts<0)&&!us(e))?0:1,o=e._rDelay,l=0,u,f,_;if(o&&e._repeat&&(l=zi(0,e._tDur,r),f=oi(l,o),e._yoyo&&f&1&&(s=1-s),f!==oi(e._tTime,o)&&(n=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==n||Be||i||e._zTime===ie||!r&&e._zTime){if(!e._initted&&Io(e,r,i,t,l))return;for(_=e._zTime,e._zTime=r||(t?ie:0),t||(t=r&&!_),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=l,u=e._pt;u;)u.r(s,u.d),u=u._next;r<0&&ls(e,r,t,!0),e._onUpdate&&!t&&vt(e,"onUpdate"),l&&e._repeat&&!t&&e.parent&&vt(e,"onRepeat"),(r>=e._tDur||r<0)&&e.ratio===s&&(s&&wr(e,1),!t&&!Be&&(vt(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=r)},Pl=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}},ai=function(e,r,t,i){var n=e._repeat,s=Se(r)||0,o=e._tTime/e._tDur;return o&&!i&&(e._time*=s/e._dur),e._dur=s,e._tDur=n?n<0?1e10:Se(s*(n+1)+e._rDelay*n):s,o>0&&!i&&wn(e,e._tTime=e._tDur*o),e.parent&&xn(e),t||Lr(e.parent,e),e},vo=function(e){return e instanceof Ie?Lr(e):ai(e,e._dur)},kl={_start:0,endTime:Ai,totalDuration:Ai},kt=function a(e,r,t){var i=e.labels,n=e._recent||kl,s=e.duration()>=Mt?n.endTime(!1):e._dur,o,l,u;return Me(r)&&(isNaN(r)||r in i)?(l=r.charAt(0),u=r.substr(-1)==="%",o=r.indexOf("="),l==="<"||l===">"?(o>=0&&(r=r.replace(/=/,"")),(l==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(r.substr(1))||0)*(u?(o<0?n:t).totalDuration()/100:1)):o<0?(r in i||(i[r]=s),i[r]):(l=parseFloat(r.charAt(o-1)+r.substr(o+1)),u&&t&&(l=l/100*(We(t)?t[0]:t).totalDuration()),o>1?a(e,r.substr(0,o-1),t)+l:s+l)):r==null?s:+r},Ei=function(e,r,t){var i=nr(r[1]),n=(i?2:1)+(e<2?0:1),s=r[n],o,l;if(i&&(s.duration=r[1]),s.parent=t,e){for(o=s,l=t;l&&!("immediateRender"in o);)o=l.vars.defaults||{},l=_t(l.vars.inherit)&&l.parent;s.immediateRender=_t(o.immediateRender),e<2?s.runBackwards=1:s.startAt=r[n-1]}return new we(r[0],s,r[n+1])},Tr=function(e,r){return e||e===0?r(e):r},zi=function(e,r,t){return t<e?e:t>r?r:t},Ne=function(e,r){return!Me(e)||!(r=gl.exec(e))?"":r[1]},Ml=function(e,r,t){return Tr(t,function(i){return zi(e,r,i)})},fs=[].slice,Bo=function(e,r){return e&&Gt(e)&&"length"in e&&(!r&&!e.length||e.length-1 in e&&Gt(e[0]))&&!e.nodeType&&e!==Ut},Ol=function(e,r,t){return t===void 0&&(t=[]),e.forEach(function(i){var n;return Me(i)&&!r||Bo(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):Me(e)&&!t&&(os||!li())?fs.call((r||vs).querySelectorAll(e),0):We(e)?Ol(e,t):Bo(e)?fs.call(e,0):e?[e]:[]},cs=function(e){return e=Ot(e)[0]||Di("Invalid scope")||{},function(r){var t=e.current||e.nativeElement||e;return Ot(r,t.querySelectorAll?t:t===e?Di("Invalid scope")||vs.createElement("div"):e)}},No=function(e){return e.sort(function(){return .5-Math.random()})},Yo=function(e){if(pe(e))return e;var r=Gt(e)?e:{each:e},t=Fr(r.ease),i=r.from||0,n=parseFloat(r.base)||0,s={},o=i>0&&i<1,l=isNaN(i)||o,u=r.axis,f=i,_=i;return Me(i)?f=_={center:.5,edges:.5,end:1}[i]||0:!o&&l&&(f=i[0],_=i[1]),function(d,c,g){var h=(g||r).length,m=s[h],T,w,S,v,b,P,x,M,C;if(!m){if(C=r.grid==="auto"?0:(r.grid||[1,Mt])[1],!C){for(x=-Mt;x<(x=g[C++].getBoundingClientRect().left)&&C<h;);C<h&&C--}for(m=s[h]=[],T=l?Math.min(C,h)*f-.5:i%C,w=C===Mt?0:l?h*_/C-.5:i/C|0,x=0,M=Mt,P=0;P<h;P++)S=P%C-T,v=w-(P/C|0),m[P]=b=u?Math.abs(u==="y"?v:S):So(S*S+v*v),b>x&&(x=b),b<M&&(M=b);i==="random"&&No(m),m.max=x-M,m.min=M,m.v=h=(parseFloat(r.amount)||parseFloat(r.each)*(C>h?h-1:u?u==="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,Se(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=Se(Math.round(parseFloat(t)/e)*e*r);return(i-i%1)/r+(nr(t)?0:Ne(t))}},Ho=function(e,r){var t=We(e),i,n;return!t&&Gt(e)&&(i=t=e.radius||Mt,e.values?(e=Ot(e.values),(n=!nr(e[0]))&&(i*=i)):e=hs(e.increment)),Tr(r,t?pe(e)?function(s){return n=e(s),Math.abs(n-s)<=i?n:s}:function(s){for(var o=parseFloat(n?s.x:s),l=parseFloat(n?s.y:0),u=Mt,f=0,_=e.length,d,c;_--;)n?(d=e[_].x-o,c=e[_].y-l,d=d*d+c*c):d=Math.abs(e[_]-o),d<u&&(u=d,f=_);return f=!i||u<=i?e[f]:s,n||f===s||nr(s)?f:f+Ne(s)}:hs(e))},Xo=function(e,r,t,i){return Tr(We(e)?!r:t===!0?!!(t=0):!i,function(){return We(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})},El=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)}},Rl=function(e,r){return function(t){return e(parseFloat(t))+(r||Ne(t))}},Dl=function(e,r,t){return Vo(e,r,0,1,t)},qo=function(e,r,t){return Tr(t,function(i){return e[~~r(i)]})},Al=function a(e,r,t){var i=r-e;return We(e)?qo(e,a(0,e.length),r):Tr(t,function(n){return(i+(n-e)%i)%i+e})},Ll=function a(e,r,t){var i=r-e,n=i*2;return We(e)?qo(e,a(0,e.length-1),r):Tr(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)+Xo(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 Tr(n,function(l){return t+((l-e)/s*o||0)})},Fl=function a(e,r,t,i){var n=isNaN(e+r)?0:function(c){return(1-c)*e+c*r};if(!n){var s=Me(e),o={},l,u,f,_,d;if(t===!0&&(i=1)&&(t=null),s)e={p:e},r={p:r};else if(We(e)&&!We(r)){for(f=[],_=e.length,d=_-2,u=1;u<_;u++)f.push(a(e[u-1],e[u]));_--,n=function(g){g*=_;var h=Math.min(d,~~g);return f[h](g-h)},t=r}else i||(e=si(We(e)?[]:{},e));if(!f){for(l in r)ks.call(o,e,l,"get",r[l]);n=function(g){return Ds(g,o)||(s?e.p:e)}}}return Tr(t,n)},xo=function(e,r,t){var i=e.labels,n=Mt,s,o,l;for(s in i)o=i[s]-r,o<0==!!t&&o&&n>(o=Math.abs(o))&&(l=s,n=o);return l},vt=function(e,r,t){var i=e.vars,n=i[r],s=ae,o=e._ctx,l,u,f;if(n)return l=i[r+"Params"],u=i.callbackScope||e,t&&vr.length&&_n(),o&&(ae=o),f=l?n.apply(u,l):n.call(u),ae=s,f},ki=function(e){return wr(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Be),e.progress()<1&&vt(e,"onInterrupt"),e},ii,Uo=[],Wo=function(e){if(e)if(e=!e.name&&e.default||e,gs()||e.headless){var r=e.name,t=pe(e),i=r&&!t&&e.init?function(){this._props=[]}:e,n={init:Ai,render:Ds,add:ks,kill:$l,modifier:Zl,rawVars:0},s={targetTest:0,get:0,getSetter:Tn,aliases:{},register:0};if(li(),e!==i){if(ct[r])return;wt(i,wt(dn(e,n),s)),si(i.prototype,si(n,dn(e,s))),ct[i.prop=r]=i,e.targetTest&&(fn.push(i),xs[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}Oo(r,i),e.register&&e.register(Ge,i,rt)}else Uo.push(e)},re=255,Mi={aqua:[0,re,re],lime:[0,re,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,re],navy:[0,0,128],white:[re,re,re],olive:[128,128,0],yellow:[re,re,0],orange:[re,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[re,0,0],pink:[re,192,203],cyan:[0,re,re],transparent:[re,re,re,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)*re+.5|0},Go=function(e,r,t){var i=e?nr(e)?[e>>16,e>>8&re,e&re]:0:Mi.black,n,s,o,l,u,f,_,d,c,g;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Mi[e])i=Mi[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&re,i&re,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&re,e&re]}else if(e.substr(0,3)==="hsl"){if(i=g=e.match(ss),!r)l=+i[0]%360/360,u=+i[1]/100,f=+i[2]/100,s=f<=.5?f*(u+1):f+u-f*u,n=f*2-s,i.length>3&&(i[3]*=1),i[0]=jn(l+1/3,n,s),i[1]=jn(l,n,s),i[2]=jn(l-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)||Mi.transparent;i=i.map(Number)}return r&&!g&&(n=i[0]/re,s=i[1]/re,o=i[2]/re,_=Math.max(n,s,o),d=Math.min(n,s,o),f=(_+d)/2,_===d?l=u=0:(c=_-d,u=f>.5?c/(2-_-d):c/(_+d),l=_===n?(s-o)/c+(s<o?6:0):_===s?(o-n)/c+2:(n-s)/c+4,l*=60),i[0]=~~(l+.5),i[1]=~~(u*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(ir).forEach(function(n){var s=n.match(Ir)||[];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(ir),s=r?"hsla(":"rgba(",o=0,l,u,f,_;if(!n)return e;if(n=n.map(function(d){return(d=Go(d,r,1))&&s+(r?d[0]+","+d[1]+"%,"+d[2]+"%,"+d[3]:d.join(","))+")"}),t&&(f=Qo(e),l=t.c,l.join(i)!==f.c.join(i)))for(u=e.replace(ir,"1").split(Ir),_=u.length-1;o<_;o++)i+=u[o]+(~l.indexOf(o)?n.shift()||s+"0,0,0,0)":(f.length?f:n.length?n:t).shift());if(!u)for(u=e.split(ir),_=u.length-1;o<_;o++)i+=u[o]+n[o];return i+u[_]},ir=function(){var a="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in Mi)a+="|"+e+"\\b";return new RegExp(a+")","gi")}(),zl=/hsl[a]?\(/,Cs=function(e){var r=e.join(" "),t;if(ir.lastIndex=0,ir.test(r))return t=zl.test(r),e[1]=wo(e[1],t),e[0]=wo(e[0],t,Qo(e[1])),!0},Li,ht=function(){var a=Date.now,e=500,r=33,t=a(),i=t,n=1e3/240,s=n,o=[],l,u,f,_,d,c,g=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||(l=u(h)),v)for(c=0;c<o.length;c++)o[c](b,d,P,m)};return _={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(m){return d/(1e3/(m||60))},wake:function(){ko&&(!os&&gs()&&(Ut=os=window,vs=Ut.document||{},xt.gsap=Ge,(Ut.gsapVersions||(Ut.gsapVersions=[])).push(Ge.version),Mo(hn||Ut.GreenSockGlobals||!Ut.gsap&&Ut||{}),Uo.forEach(Wo)),f=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&_.sleep(),u=f||function(m){return setTimeout(m,s-_.time*1e3+1|0)},Li=1,g(2))},sleep:function(){(f?cancelAnimationFrame:clearTimeout)(l),Li=0,u=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),li(),S},remove:function(m,T){~(T=o.indexOf(m))&&o.splice(T,1)&&c>=T&&c--},_listeners:o},_}(),li=function(){return!Li&&ht.wake()},Z={},Il=/^[\d.\-M][\d.\-,\s]/,Bl=/["']/g,Nl=function(e){for(var r={},t=e.substr(1,e.length-3).split(":"),i=t[0],n=1,s=t.length,o,l,u;n<s;n++)l=t[n],o=n!==s-1?l.lastIndexOf(","):l.length,u=l.substr(0,o),r[i]=isNaN(u)?u.replace(Bl,"").trim():+u,i=l.substr(o+1).trim();return r},Yl=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)},Hl=function(e){var r=(e+"").split("("),t=Z[r[0]];return t&&r.length>1&&t.config?t.config.apply(null,~e.indexOf("{")?[Nl(r[1])]:Yl(e).split(",").map(Do)):Z._CE&&Il.test(e)?Z._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 Ie?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},Fr=function(e,r){return e&&(pe(e)?e:Z[e]||Hl(e))||r},Nr=function(e,r,t,i){t===void 0&&(t=function(l){return 1-r(1-l)}),i===void 0&&(i=function(l){return l<.5?r(l*2)/2:1-r((1-l)*2)/2});var n={easeIn:r,easeOut:t,easeInOut:i},s;return tt(e,function(o){Z[o]=xt[o]=n,Z[s=o.toLowerCase()]=t;for(var l in n)Z[s+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=Z[o+"."+l]=n[l]}),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)*pl((f-s)*n)+1},l=e==="out"?o:e==="in"?function(u){return 1-o(1-u)}:$o(o);return n=ns/n,l.config=function(u,f){return a(e,u,f)},l},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};tt("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})});Z.Linear.easeNone=Z.none=Z.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:-dl(a*hl)+1});Nr("Back",ts("in"),ts("out"),ts());Z.SteppedEase=Z.steps=xt.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-ie;return function(o){return((i*zi(0,s,o)|0)+n)*t}}};ni.ease=Z["quad.out"];tt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(a){return ws+=a+","+a+"Params,"});var Ps=function(e,r){this.id=_l++,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,ai(this,+r.duration,1,1),this.data=r.data,ae&&(this._ctx=ae,ae.data.push(this)),Li||ht.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,ai(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,i){if(li(),!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)&&Wt(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===ie||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),Ro(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?oi(this._tTime,n)+1:1},e.timeScale=function(t,i){if(!arguments.length)return this._rts===-ie?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===-ie?0:this._rts,this.totalTime(zi(-Math.abs(this._delay),this.totalDuration(),n),i!==!1),xn(this),Tl(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):(li(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==ie&&(this._tTime-=ie)))),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)&&Wt(i,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(_t(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=yl);var i=Be;return Be=t,Ss(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),this.data!=="nested"&&t.kill!==!1&&this.kill(),Be=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(kt(this,t),_t(i))},e.restart=function(t,i){return this.play().totalTime(t?-this._delay:0,_t(i)),this._dur||(this._zTime=-ie),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?-ie:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-ie,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)-ie)},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=pe(t)?t:Ao,o=function(){var u=i.then;i.then=null,pe(s)&&(s=s(i))&&(s.then||s===i)&&(i.then=u),n(s),i.then=u};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?o():i._prom=o})},e.kill=function(){ki(this)},a}();wt(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:-ie,_prom:0,_ps:!1,_rts:1});var Ie=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=_t(t.sortChildren),fe&&Wt(t.parent||fe,rr(n),i),t.reversed&&n.reverse(),t.paused&&n.paused(!0),t.scrollTrigger&&zo(rr(n),t.scrollTrigger),n}var r=e.prototype;return r.to=function(i,n,s){return Ei(0,arguments,this),this},r.from=function(i,n,s){return Ei(1,arguments,this),this},r.fromTo=function(i,n,s,o){return Ei(2,arguments,this),this},r.set=function(i,n,s){return n.duration=0,n.parent=this,Oi(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new we(i,n,kt(this,s),1),this},r.call=function(i,n,s){return Wt(this,we.delayedCall(0,i,n),s)},r.staggerTo=function(i,n,s,o,l,u,f){return s.duration=n,s.stagger=s.stagger||o,s.onComplete=u,s.onCompleteParams=f,s.parent=this,new we(i,s,kt(this,l)),this},r.staggerFrom=function(i,n,s,o,l,u,f){return s.runBackwards=1,Oi(s).immediateRender=_t(s.immediateRender),this.staggerTo(i,n,s,o,l,u,f)},r.staggerFromTo=function(i,n,s,o,l,u,f,_){return o.startAt=s,Oi(o).immediateRender=_t(o.immediateRender),this.staggerTo(i,n,o,l,u,f,_)},r.render=function(i,n,s){var o=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,f=i<=0?0:Se(i),_=this._zTime<0!=i<0&&(this._initted||!u),d,c,g,h,m,T,w,S,v,b,P,x;if(this!==fe&&f>l&&i>=0&&(f=l),f!==this._tTime||s||_){if(o!==this._time&&u&&(f+=this._time-o,i+=this._time-o),d=f,v=this._start,S=this._ts,T=!S,_&&(u||(o=this._zTime),(i||!n)&&(this._zTime=i)),this._repeat){if(P=this._yoyo,m=u+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(m*100+i,n,s);if(d=Se(f%m),f===l?(h=this._repeat,d=u):(b=Se(f/m),h=~~b,h&&h===b&&(d=u,h--),d>u&&(d=u)),b=oi(this._tTime,m),!o&&this._tTime&&b!==h&&this._tTime-b*m-this._dur<=0&&(b=h),P&&h&1&&(d=u-d,x=1),h!==b&&!this._lock){var M=P&&b&1,C=M===(P&&h&1);if(h<b&&(M=!M),o=M?0:f%u?u:f,this._lock=1,this.render(o||(x?0:Se(h*m)),n,!u)._lock=0,this._tTime=f,!n&&this.parent&&vt(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(u=this._dur,l=this._tDur,C&&(this._lock=2,o=M?u:-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=Pl(this,Se(o),Se(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&&(vt(this,"onStart"),this._tTime!==f))return this;if(d>=o&&i>=0)for(c=this._first;c;){if(g=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,g&&(f+=this._zTime=-ie);break}}c=g}else{c=this._last;for(var k=i<0?i:d;c;){if(g=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||Be&&Ss(c)),d!==this._time||!this._ts&&!T){w=0,g&&(f+=this._zTime=k?-ie:ie);break}}c=g}}if(w&&!n&&(this.pause(),w.render(d>=o?0:-ie)._zTime=d>=o?1:-1,this._ts))return this._start=v,xn(this),this.render(i,n,s);this._onUpdate&&!n&&vt(this,"onUpdate",!0),(f===l&&this._tTime>=this.totalDuration()||!f&&o)&&(v===this._start||Math.abs(S)!==Math.abs(this._ts))&&(this._lock||((i||!u)&&(f===l&&this._ts>0||!f&&this._ts<0)&&wr(this,1),!n&&!(i<0&&!o)&&(f||o||!l)&&(vt(this,f===l&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(f<l&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(i,n){var s=this;if(nr(n)||(n=kt(this,n,i)),!(i instanceof Fi)){if(We(i))return i.forEach(function(o){return s.add(o,n)}),this;if(Me(i))return this.addLabel(i,n);if(pe(i))i=we.delayedCall(0,i);else return this}return this!==i?Wt(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=-Mt);for(var l=[],u=this._first;u;)u._start>=o&&(u instanceof we?n&&l.push(u):(s&&l.push(u),i&&l.push.apply(l,u.getChildren(!0,n,s)))),u=u._next;return l},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 Me(i)?this.removeLabel(i):pe(i)?this.killTweensOf(i):(i.parent===this&&vn(this,i),i===this._recent&&(this._recent=this._last),Lr(this))},r.totalTime=function(i,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Se(ht.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]=kt(this,n),this},r.removeLabel=function(i){return delete this.labels[i],this},r.addPause=function(i,n,s){var o=we.delayedCall(0,n||Ai,s);return o.data="isPause",this._hasPause=1,Wt(this,o,kt(this,i))},r.removePause=function(i){var n=this._first;for(i=kt(this,i);n;)n._start===i&&n.data==="isPause"&&wr(n),n=n._next},r.killTweensOf=function(i,n,s){for(var o=this.getTweensOf(i,s),l=o.length;l--;)yr!==o[l]&&o[l].kill(i,n);return this},r.getTweensOf=function(i,n){for(var s=[],o=Ot(i),l=this._first,u=nr(n),f;l;)l instanceof we?vl(l._targets,o)&&(u?(!yr||l._initted&&l._ts)&&l.globalTime(0)<=n&&l.globalTime(l.totalDuration())>n:!n||l.isActive())&&s.push(l):(f=l.getTweensOf(o,n)).length&&s.push.apply(s,f),l=l._next;return s},r.tweenTo=function(i,n){n=n||{};var s=this,o=kt(s,i),l=n,u=l.startAt,f=l.onStart,_=l.onStartParams,d=l.immediateRender,c,g=we.to(s,wt({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:n.duration||Math.abs((o-(u&&"time"in u?u.time:s._time))/s.timeScale())||ie,onStart:function(){if(s.pause(),!c){var m=n.duration||Math.abs((o-(u&&"time"in u?u.time:s._time))/s.timeScale());g._dur!==m&&ai(g,m,0,1).render(g._time,!0,!0),c=1}f&&f.apply(g,_||[])}},n));return d?g.render(0):g},r.tweenFromTo=function(i,n,s){return this.tweenTo(n,wt({startAt:{time:kt(this,i)}},s))},r.recent=function(){return this._recent},r.nextLabel=function(i){return i===void 0&&(i=this._time),xo(this,kt(this,i))},r.previousLabel=function(i){return i===void 0&&(i=this._time),xo(this,kt(this,i),1)},r.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+ie)},r.shiftChildren=function(i,n,s){s===void 0&&(s=0);for(var o=this._first,l=this.labels,u;o;)o._start>=s&&(o._start+=i,o._end+=i),o=o._next;if(n)for(u in l)l[u]>=s&&(l[u]+=i);return Lr(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={}),Lr(this)},r.totalDuration=function(i){var n=0,s=this,o=s._last,l=Mt,u,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;)u=o._prev,o._dirty&&o.totalDuration(),f=o._start,f>l&&s._sort&&o._ts&&!s._lock?(s._lock=1,Wt(s,o,f-o._delay,1)._lock=0):l=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),l=0),o._end>n&&o._ts&&(n=o._end),o=u;ai(s,s===fe&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(i){if(fe._ts&&(Ro(fe,pn(i,fe)),Eo=ht.frame),ht.frame>=go){go+=dt.autoSleep||120;var n=fe._first;if((!n||!n._ts)&&dt.autoSleep&&ht._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||ht.sleep()}}},e}(Fi);wt(Ie.prototype,{_lock:0,_hasPause:0,_forcing:0});var Xl=function(e,r,t,i,n,s,o){var l=new rt(this._pt,e,r,0,1,Rs,null,n),u=0,f=0,_,d,c,g,h,m,T,w;for(l.b=t,l.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);)g=_[0],h=i.substring(u,_.index),c?c=(c+1)%5:h.substr(-5)==="rgba("&&(c=1),g!==d[f++]&&(m=parseFloat(d[f-1])||0,l._pt={_next:l._pt,p:h||f===1?h:",",s:m,c:g.charAt(1)==="="?Br(m,g)-m:parseFloat(g)-m,m:c&&c<4?Math.round:0},u=$n.lastIndex);return l.c=u<i.length?i.substring(u,i.length):"",l.fp=o,(ys.test(i)||T)&&(l.e=0),this._pt=l,l},ks=function(e,r,t,i,n,s,o,l,u,f){pe(i)&&(i=i(n||0,e,s));var _=e[r],d=t!=="get"?t:pe(_)?u?e[r.indexOf("set")||!pe(e["get"+r.substr(3)])?r:"get"+r.substr(3)](u):e[r]():_,c=pe(_)?u?Gl:ea:Es,g;if(Me(i)&&(~i.indexOf("random(")&&(i=ui(i)),i.charAt(1)==="="&&(g=Br(d,i)+(Ne(d)||0),(g||g===0)&&(i=g))),!f||d!==i||_s)return!isNaN(d*i)&&i!==""?(g=new rt(this._pt,e,r,+d||0,i-(d||0),typeof _=="boolean"?Kl:ta,0,c),u&&(g.fp=u),o&&g.modifier(o,this,e),this._pt=g):(!_&&!(r in e)&&yn(r,i),Xl.call(this,e,r,d,i,c,l||dt.stringFilter,u))},ql=function(e,r,t,i,n){if(pe(e)&&(e=Ri(e,n,r,t,i)),!Gt(e)||e.style&&e.nodeType||We(e)||Co(e))return Me(e)?Ri(e,n,r,t,i):e;var s={},o;for(o in e)s[o]=Ri(e[o],n,r,t,i);return s},Ms=function(e,r,t,i,n,s){var o,l,u,f;if(ct[e]&&(o=new ct[e]).init(n,o.rawVars?r[e]:ql(r[e],i,n,s,t),t,i,s)!==!1&&(t._pt=l=new rt(t._pt,n,e,0,1,o.render,o,0,o.priority),t!==ii))for(u=t._ptLookup[t._targets.indexOf(n)],f=o._props.length;f--;)u[o._props[f]]=l;return o},yr,_s,Os=function a(e,r,t){var i=e.vars,n=i.ease,s=i.startAt,o=i.immediateRender,l=i.lazy,u=i.onUpdate,f=i.runBackwards,_=i.yoyoEase,d=i.keyframes,c=i.autoRevert,g=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,M,C,k,F,O,W,B,V,Y,A;if(v&&(!d||!n)&&(n="none"),e._ease=Fr(n,ni.ease),e._yEase=_?Ko(Fr(_===!0?n:_,ni.ease)):0,_&&e._yoyo&&!e._repeat&&(_=e._yEase,e._yEase=e._ease,e._ease=_),e._from=!v&&!!i.runBackwards,!v||d&&!i.stagger){if(O=m[0]?xr(m[0]).harness:0,Y=O&&i[O.prop],b=dn(i,xs),h&&(h._zTime<0&&h.progress(1),r<0&&f&&o&&!c?h.render(-1,!0):h.revert(f&&g?un:ml),h._lazy=0),s){if(wr(e._startAt=we.set(m,wt({data:"isStart",overwrite:!1,parent:T,immediateRender:!0,lazy:!h&&_t(l),startAt:null,delay:0,onUpdate:u&&function(){return vt(e,"onUpdate")},stagger:0},s))),e._startAt._dp=0,e._startAt._sat=e,r<0&&(Be||!o&&!c)&&e._startAt.revert(un),o&&g&&r<=0&&t<=0){r&&(e._zTime=r);return}}else if(f&&g&&!h){if(r&&(o=!1),x=wt({overwrite:!1,data:"isFromStart",lazy:o&&!h&&_t(l),immediateRender:o,stagger:0,parent:T},b),Y&&(x[O.prop]=Y),wr(e._startAt=we.set(m,x)),e._startAt._dp=0,e._startAt._sat=e,r<0&&(Be?e._startAt.revert(un):e._startAt.render(-1,!0)),e._zTime=r,!o)a(e._startAt,ie,ie);else if(!r)return}for(e._pt=e._ptCache=0,l=g&&_t(l)||l&&!g,P=0;P<m.length;P++){if(C=m[P],F=C._gsap||Ts(m)[P]._gsap,e._ptLookup[P]=B={},as[F.id]&&vr.length&&_n(),V=w===m?P:w.indexOf(C),O&&(W=new O).init(C,Y||b,e,V,w)!==!1&&(e._pt=M=new rt(e._pt,C,W.name,0,1,W.render,W,0,W.priority),W._props.forEach(function(Q){B[Q]=M}),W.priority&&(k=1)),!O||Y)for(x in b)ct[x]&&(W=Ms(x,b,e,V,C,w))?W.priority&&(k=1):B[x]=M=ks.call(e,C,x,"get",b[x],V,w,0,i.stringFilter);e._op&&e._op[P]&&e.kill(C,e._op[P]),S&&e._pt&&(yr=e,fe.killTweensOf(C,B,e.globalTime(r)),A=!e.parent,yr=0),e._pt&&l&&(as[F.id]=1)}k&&As(e),e._onInit&&e._onInit(e)}e._onUpdate=u,e._initted=(!e._op||e._pt)&&!A,d&&r<=0&&v.render(Mt,!0,!0)},Vl=function(e,r,t,i,n,s,o,l){var u=(e._pt&&e._ptCache||(e._ptCache={}))[r],f,_,d,c;if(!u)for(u=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",Os(e,o),_s=0,l?Di(r+" not eligible for reset"):1;u.push(f)}for(c=u.length;c--;)_=u[c],f=_._pt||_,f.s=(i||i===0)&&!n?i:f.s+(i||0)+s*f.c,f.c=t-f.s,_.e&&(_.e=ge(t)+Ne(_.e)),_.b&&(_.b=f.s+Ne(_.b))},Ul=function(e,r){var t=e[0]?xr(e[0]).harness:0,i=t&&t.aliases,n,s,o,l;if(!i)return r;n=si({},r);for(s in i)if(s in n)for(l=i[s].split(","),o=l.length;o--;)n[l[o]]=n[s];return n},Wl=function(e,r,t,i){var n=r.ease||i||"power1.inOut",s,o;if(We(r))o=t[e]||(t[e]=[]),r.forEach(function(l,u){return o.push({t:u/(r.length-1)*100,v:l,e:n})});else for(s in r)o=t[s]||(t[s]=[]),s==="ease"||o.push({t:parseFloat(e),v:r[s],e:n})},Ri=function(e,r,t,i,n){return pe(e)?e.call(r,t,i,n):Me(e)&&~e.indexOf("random(")?ui(e):e},Jo=ws+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",jo={};tt(Jo+",id,stagger,delay,duration,paused,scrollTrigger",function(a){return jo[a]=1});var we=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:Oi(i))||this;var l=o.vars,u=l.duration,f=l.delay,_=l.immediateRender,d=l.stagger,c=l.overwrite,g=l.keyframes,h=l.defaults,m=l.scrollTrigger,T=l.yoyoEase,w=i.parent||fe,S=(We(t)||Co(t)?nr(t[0]):"length"in i)?[t]:Ot(t),v,b,P,x,M,C,k,F;if(o._targets=S.length?Ts(S):Di("GSAP target "+t+" not found. https://gsap.com",!dt.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=c,g||d||ln(u)||ln(f)){if(i=o.vars,v=o.timeline=new Ie({data:"nested",defaults:h||{},targets:w&&w.data==="nested"?w.vars.targets:S}),v.kill(),v.parent=v._dp=rr(o),v._start=0,d||ln(u)||ln(f)){if(x=S.length,k=d&&Yo(d),Gt(d))for(M in d)~Jo.indexOf(M)&&(F||(F={}),F[M]=d[M]);for(b=0;b<x;b++)P=dn(i,jo),P.stagger=0,T&&(P.yoyoEase=T),F&&si(P,F),C=S[b],P.duration=+Ri(u,rr(o),b,C,S),P.delay=(+Ri(f,rr(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=Z.none;v.duration()?u=f=0:o.timeline=0}else if(g){Oi(wt(v.vars.defaults,{ease:"none"})),v._ease=Fr(g.ease||i.ease||"none");var O=0,W,B,V;if(We(g))g.forEach(function(Y){return v.to(S,Y,">")}),v.duration();else{P={};for(M in g)M==="ease"||M==="easeEach"||Wl(M,g[M],P,g.easeEach);for(M in P)for(W=P[M].sort(function(Y,A){return Y.t-A.t}),O=0,b=0;b<W.length;b++)B=W[b],V={ease:B.e,duration:(B.t-(b?W[b-1].t:0))/100*u},V[M]=B.v,v.to(S,V,O),O+=V.duration;v.duration()<u&&v.to({},{duration:u-v.duration()})}}u||o.duration(u=v.duration())}else o.timeline=0;return c===!0&&!ps&&(yr=rr(o),fe.killTweensOf(S),yr=0),Wt(w,rr(o),n),i.reversed&&o.reverse(),i.paused&&o.paused(!0),(_||!u&&!g&&o._start===Se(w._time)&&_t(_)&&bl(rr(o))&&w.data!=="nested")&&(o._tTime=-ie,o.render(Math.max(0,-f)||0)),m&&zo(rr(o),m),o}var r=e.prototype;return r.render=function(i,n,s){var o=this._time,l=this._tDur,u=this._dur,f=i<0,_=i>l-ie&&!f?l:i<ie?0:i,d,c,g,h,m,T,w,S,v;if(!u)Cl(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=u+this._rDelay,this._repeat<-1&&f)return this.totalTime(h*100+i,n,s);if(d=Se(_%h),_===l?(g=this._repeat,d=u):(m=Se(_/h),g=~~m,g&&g===m?(d=u,g--):d>u&&(d=u)),T=this._yoyo&&g&1,T&&(v=this._yEase,d=u-d),m=oi(this._tTime,h),d===o&&!s&&this._initted&&g===m)return this._tTime=_,this;g!==m&&(S&&this._yEase&&Zo(S,T),this.vars.repeatRefresh&&!T&&!this._lock&&d!==h&&this._initted&&(this._lock=s=1,this.render(Se(h*g),!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&&g!==m))return this;if(u!==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/u),this._from&&(this.ratio=w=1-w),!o&&_&&!n&&!m&&(vt(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&&ls(this,i,n,s),vt(this,"onUpdate")),this._repeat&&g!==m&&this.vars.onRepeat&&!n&&this.parent&&vt(this,"onRepeat"),(_===this._tDur||!_)&&this._tTime===_&&(f&&!this._onUpdate&&ls(this,i,!0,!0),(i||!u)&&(_===this._tDur&&this._ts>0||!_&&this._ts<0)&&wr(this,1),!n&&!(f&&!o)&&(_||o||T)&&(vt(this,_===l?"onComplete":"onReverseComplete",!0),this._prom&&!(_<l&&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,l){Li||ht.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),f;return this._initted||Os(this,u),f=this._ease(u/this._dur),Vl(this,i,n,s,o,f,u,l)?this.resetTo(i,n,s,o,1):(wn(this,0),this.parent||Lo(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(!!Be),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(i,n,yr&&yr.vars.overwrite!==!0)._first||ki(this),this.parent&&s!==this.timeline.totalDuration()&&ai(this,this._dur*this.timeline._tDur/s,0,1),this}var o=this._targets,l=i?Ot(i):o,u=this._ptLookup,f=this._pt,_,d,c,g,h,m,T;if((!n||n==="all")&&wl(o,l))return n==="all"&&(this._pt=0),ki(this);for(_=this._op=this._op||[],n!=="all"&&(Me(n)&&(h={},tt(n,function(w){return h[w]=1}),n=h),n=Ul(o,n)),T=o.length;T--;)if(~l.indexOf(o[T])){d=u[T],n==="all"?(_[T]=n,g=d,c={}):(c=_[T]=_[T]||{},g=n);for(h in g)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 Ei(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 Ei(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 fe.killTweensOf(i,n,s)},e}(Fi);wt(we.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});tt("staggerTo,staggerFrom,staggerFromTo",function(a){we[a]=function(){var e=new Ie,r=fs.call(arguments,0);return r.splice(a==="staggerFromTo"?5:4,0,0),e[a].apply(e,r)}});var Es=function(e,r,t){return e[r]=t},ea=function(e,r,t){return e[r](t)},Gl=function(e,r,t,i){return e[r](i.fp,t)},Ql=function(e,r,t){return e.setAttribute(r,t)},Tn=function(e,r){return pe(e[r])?ea:mn(e[r])&&e.setAttribute?Ql:Es},ta=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e6)/1e6,r)},Kl=function(e,r){return r.set(r.t,r.p,!!(r.s+r.c*e),r)},Rs=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)},Ds=function(e,r){for(var t=r._pt;t;)t.r(e,t.d),t=t._next},Zl=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},$l=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},Jl=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},rt=function(){function a(r,t,i,n,s,o,l,u,f){this.t=t,this.s=n,this.c=s,this.p=i,this.r=o||ta,this.d=l||this,this.set=u||Es,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=Jl,this.m=t,this.mt=n,this.tween=i},a}();tt(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});xt.TweenMax=xt.TweenLite=we;xt.TimelineLite=xt.TimelineMax=Ie;fe=new Ie({sortChildren:!1,defaults:ni,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});dt.stringFilter=Cs;var zr=[],cn={},jl=[],To=0,eu=0,rs=function(e){return(cn[e]||jl).map(function(r){return r()})},ds=function(){var e=Date.now(),r=[];e-To>2&&(rs("matchMediaInit"),zr.forEach(function(t){var i=t.queries,n=t.conditions,s,o,l,u;for(o in i)s=Ut.matchMedia(i[o]).matches,s&&(l=1),s!==n[o]&&(n[o]=s,u=1);u&&(t.revert(),l&&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=eu++,r&&this.add(r)}var e=a.prototype;return e.add=function(t,i,n){pe(t)&&(n=i,i=t,t=pe);var s=this,o=function(){var u=ae,f=s.selector,_;return u&&u!==s&&u.data.push(s),n&&(s.selector=cs(n)),ae=s,_=i.apply(s,arguments),pe(_)&&s._r.push(_),ae=u,s.selector=f,s.isReverted=!1,_};return s.last=o,t===pe?o(s,function(l){return s.add(null,l)}):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 we&&!(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(),l=n.data.length,u;l--;)u=n.data[l],u.data==="isFlip"&&(u.revert(),u.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)}),l=n.data.length;l--;)u=n.data[l],u instanceof Ie?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof we)&&u.revert&&u.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=zr.length;s--;)zr[s].id===this.id&&zr.splice(s,1)},e.revert=function(t){this.kill(t||{})},a}(),tu=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){Gt(t)||(t={matches:t});var s=new ra(0,n||this.scope),o=s.conditions={},l,u,f;ae&&!s.selector&&(s.selector=ae.selector),this.contexts.push(s),i=s.add("onMatch",i),s.queries=t;for(u in t)u==="all"?f=1:(l=Ut.matchMedia(t[u]),l&&(zr.indexOf(s)<0&&zr.push(s),(o[u]=l.matches)&&(f=1),l.addListener?l.addListener(ds):l.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 Wo(i)})},timeline:function(e){return new Ie(e)},getTweensOf:function(e,r){return fe.getTweensOf(e,r)},getProperty:function(e,r,t,i){Me(e)&&(e=Ot(e)[0]);var n=xr(e||{}).get,s=t?Ao:Do;return t==="native"&&(t=""),e&&(r?s((ct[r]&&ct[r].get||n)(e,r,t,i)):function(o,l,u){return s((ct[o]&&ct[o].get||n)(e,o,l,u))})},quickSetter:function(e,r,t){if(e=Ot(e),e.length>1){var i=e.map(function(f){return Ge.quickSetter(f,r,t)}),n=i.length;return function(f){for(var _=n;_--;)i[_](f)}}e=e[0]||{};var s=ct[r],o=xr(e),l=o.harness&&(o.harness.aliases||{})[r]||r,u=s?function(f){var _=new s;ii._pt=0,_.init(e,t?f+t:f,ii,0,[e]),_.render(1,_),ii._pt&&Ds(1,ii)}:o.set(e,l);return s?u:function(f){return u(e,l,t?f+t:f,o,1)}},quickTo:function(e,r,t){var i,n=Ge.to(e,wt((i={},i[r]="+=0.1",i.paused=!0,i.stagger=0,i),t||{})),s=function(l,u,f){return n.resetTo(r,l,u,f)};return s.tween=n,s},isTweening:function(e){return fe.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Fr(e.ease,ni.ease)),mo(ni,e||{})},config:function(e){return mo(dt,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&&!ct[o]&&!xt[o]&&Di(r+" effect requires "+o+" plugin.")}),Jn[r]=function(o,l,u){return t(Ot(o),wt(l||{},n),u)},s&&(Ie.prototype[r]=function(o,l,u){return this.add(Jn[r](o,Gt(l)?l:(u=l)&&{},this),u)})},registerEase:function(e,r){Z[e]=Fr(r)},parseEase:function(e,r){return arguments.length?Fr(e,r):Z},getById:function(e){return fe.getById(e)},exportRoot:function(e,r){e===void 0&&(e={});var t=new Ie(e),i,n;for(t.smoothChildTiming=_t(e.smoothChildTiming),fe.remove(t),t._dp=0,t._time=t._tTime=fe._time,i=fe._first;i;)n=i._next,(r||!(!i._dur&&i instanceof we&&i.vars.onComplete===i._targets[0]))&&Wt(t,i,i._start-i._delay),i=n;return Wt(fe,t,0),t},context:function(e,r){return e?new ra(e,r):ae},matchMedia:function(e){return new tu(e)},matchMediaRefresh:function(){return zr.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:Al,wrapYoyo:Ll,distribute:Yo,random:Xo,snap:Ho,normalize:Dl,getUnit:Ne,clamp:Ml,splitColor:Go,toArray:Ot,selector:cs,mapRange:Vo,pipe:El,unitize:Rl,interpolate:Fl,shuffle:No},install:Mo,effects:Jn,ticker:ht,updateRoot:Ie.updateRoot,plugins:ct,globalTimeline:fe,core:{PropTween:rt,globals:Oo,Tween:we,Timeline:Ie,Animation:Fi,getCache:xr,_removeLinkedListItem:vn,reverting:function(){return Be},context:function(e){return e&&ae&&(ae.data.push(e),e._ctx=ae),ae},suppressOverwrites:function(e){return ps=e}}};tt("to,from,fromTo,delayedCall,set,killTweensOf",function(a){return gn[a]=we[a]});ht.add(Ie.updateRoot);ii=gn.to({},{duration:0});var ru=function(e,r){for(var t=e._pt;t&&t.p!==r&&t.op!==r&&t.fp!==r;)t=t._next;return t},iu=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=ru(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 l,u;if(Me(n)&&(l={},tt(n,function(f){return l[f]=1}),n=l),r){l={};for(u in n)l[u]=r(n[u]);n=l}iu(o,n)}}}},Ge=gn.registerPlugin({name:"attr",init:function(e,r,t,i,n){var s,o,l;this.tween=t;for(s in r)l=e.getAttribute(s)||"",o=this.add(e,"setAttribute",(l||0)+"",r[s],i,n,0,0,s),o.op=s,o.b=l,this._props.push(s)},render:function(e,r){for(var t=r._pt;t;)Be?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",Ho))||gn;we.version=Ie.version=Ge.version="3.13.0";ko=1;gs()&&li();var nu=Z.Power0,su=Z.Power1,ou=Z.Power2,au=Z.Power3,lu=Z.Power4,uu=Z.Linear,fu=Z.Quad,cu=Z.Cubic,hu=Z.Quart,_u=Z.Quint,du=Z.Strong,pu=Z.Elastic,gu=Z.Back,mu=Z.SteppedEase,yu=Z.Bounce,vu=Z.Sine,xu=Z.Expo,wu=Z.Circ;var ia,br,ci,Ns,qr,Tu,na,Ys,bu=function(){return typeof window<"u"},or={},Xr=180/Math.PI,hi=Math.PI/180,fi=Math.atan2,sa=1e8,Hs=/([A-Z])/g,Su=/(left|right|width|margin|padding|x)/i,Cu=/[\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)},Pu=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)},ku=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)},Mu=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)},Ou=function(e,r,t){return e.style[r]=t},Eu=function(e,r,t){return e.style.setProperty(r,t)},Ru=function(e,r,t){return e._gsap[r]=t},Du=function(e,r,t){return e._gsap.scaleX=e._gsap.scaleY=t},Au=function(e,r,t,i,n){var s=e._gsap;s.scaleX=s.scaleY=t,s.renderTransform(n,s)},Lu=function(e,r,t,i,n){var s=e._gsap;s[r]=t,s.renderTransform(n,s)},ce="transform",pt=ce+"Origin",Fu=function a(e,r){var t=this,i=this.target,n=i.style,s=i._gsap;if(e in or&&n){if(this.tfm=this.tfm||{},e!=="transform")e=Qt[e]||e,~e.indexOf(",")?e.split(",").forEach(function(o){return t.tfm[o]=sr(i,o)}):this.tfm[e]=s.x?s[e]:sr(i,e),e===pt&&(this.tfm.zOrigin=s.zOrigin);else return Qt.transform.split(",").forEach(function(o){return a.call(t,o,r)});if(this.props.indexOf(ce)>=0)return;s.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(pt,r,"")),e=ce}(n||r)&&this.props.push(e,r,n[e])},pa=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},zu=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(Hs,"-$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[ce]&&(pa(t),i.zOrigin&&t[pt]&&(t[pt]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},ga=function(e,r){var t={target:e,props:[],revert:zu,save:Fu};return e._gsap||Ge.core.getCache(e),r&&e.style&&e.nodeType&&r.split(",").forEach(function(i){return t.save(i)}),t},ma,zs=function(e,r){var t=br.createElementNS?br.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):br.createElement(e);return t&&t.style?t:br.createElement(e)},Et=function a(e,r,t){var i=getComputedStyle(e);return i[r]||i.getPropertyValue(r.replace(Hs,"-$1").toLowerCase())||i.getPropertyValue(r)||!t&&a(e,_i(r)||r,1)||""},oa="O,Moz,ms,Ms,Webkit".split(","),_i=function(e,r,t){var i=r||qr,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(){bu()&&window.document&&(ia=window,br=ia.document,ci=br.documentElement,qr=zs("div")||{style:{}},Tu=zs("div"),ce=_i(ce),pt=ce+"Origin",qr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",ma=!!_i("perspective"),Ys=Ge.core.reverting,Ns=1)},aa=function(e){var r=e.ownerSVGElement,t=zs("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),n;i.style.display="block",t.appendChild(i),ci.appendChild(t);try{n=i.getBBox()}catch{}return t.removeChild(i),ci.removeChild(t),n},la=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:+la(e,["x","cx","x1"])||0,y:+la(e,["y","cy","y1"])||0,width:0,height:0}:r},va=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&ya(e))},Vr=function(e,r){if(r){var t=e.style,i;r in or&&r!==pt&&(r=ce),t.removeProperty?(i=r.substr(0,2),(i==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),t.removeProperty(i==="--"?r:r.replace(Hs,"-$1").toLowerCase())):t.removeAttribute(r)}},Sr=function(e,r,t,i,n,s){var o=new rt(e._pt,r,t,0,1,s?da:_a);return e._pt=o,o.b=i,o.e=n,e._props.push(t),o},ua={deg:1,rad:1,turn:1},Iu={grid:1,flex:1},Cr=function a(e,r,t,i){var n=parseFloat(t)||0,s=(t+"").trim().substr((n+"").length)||"px",o=qr.style,l=Su.test(r),u=e.tagName.toLowerCase()==="svg",f=(u?"client":"offset")+(l?"Width":"Height"),_=100,d=i==="px",c=i==="%",g,h,m,T;if(i===s||!n||ua[i]||ua[s])return n;if(s!=="px"&&!d&&(n=a(e,r,t,"px")),T=e.getCTM&&va(e),(c||s==="%")&&(or[r]||~r.indexOf("adius")))return g=T?e.getBBox()[l?"width":"height"]:e[f],ge(c?n/g*_:n/100*g);if(o[l?"width":"height"]=_+(d?s:i),h=i!=="rem"&&~r.indexOf("adius")||i==="em"&&e.appendChild&&!u?e:e.parentNode,T&&(h=(e.ownerSVGElement||{}).parentNode),(!h||h===br||!h.appendChild)&&(h=br.body),m=h._gsap,m&&c&&m.width&&l&&m.time===ht.time&&!m.uncache)return ge(n/m.width*_);if(c&&(r==="height"||r==="width")){var w=e.style[r];e.style[r]=_+i,g=e[f],w?e.style[r]=w:Vr(e,r)}else(c||s==="%")&&!Iu[Et(h,"display")]&&(o.position=Et(e,"position")),h===e&&(o.position="static"),h.appendChild(qr),g=qr[f],h.removeChild(qr),o.position="absolute";return l&&c&&(m=xr(h),m.time=ht.time,m.width=h[f]),ge(d?g*n/_:g&&n?_/g*n:0)},sr=function(e,r,t,i){var n;return Ns||Is(),r in Qt&&r!=="transform"&&(r=Qt[r],~r.indexOf(",")&&(r=r.split(",")[0])),or[r]&&r!=="transform"?(n=Ni(e,i),n=r!=="transformOrigin"?n[r]:n.svg?n.origin:Sn(Et(e,pt))+" "+n.zOrigin+"px"):(n=e.style[r],(!n||n==="auto"||i||~(n+"").indexOf("calc("))&&(n=bn[r]&&bn[r](e,r,t)||Et(e,r)||bs(e,r)||(r==="opacity"?1:0))),t&&!~(n+"").trim().indexOf(" ")?Cr(e,r,n,t)+t:n},Bu=function(e,r,t,i){if(!t||t==="none"){var n=_i(r,e,1),s=n&&Et(e,n,1);s&&s!==t?(r=n,t=s):r==="borderColor"&&(t=Et(e,"borderTopColor"))}var o=new rt(this._pt,e.style,r,0,1,Rs),l=0,u=0,f,_,d,c,g,h,m,T,w,S,v,b;if(o.b=t,o.e=i,t+="",i+="",i.substring(0,6)==="var(--"&&(i=Et(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(h=e.style[r],e.style[r]=i,i=Et(e,r)||i,h?e.style[r]=h:Vr(e,r)),f=[t,i],Cs(f),t=f[0],i=f[1],d=t.match(Ir)||[],b=i.match(Ir)||[],b.length){for(;_=Ir.exec(i);)m=_[0],w=i.substring(l,_.index),g?g=(g+1)%5:(w.substr(-5)==="rgba("||w.substr(-5)==="hsla(")&&(g=1),m!==(h=d[u++]||"")&&(c=parseFloat(h)||0,v=h.substr((c+"").length),m.charAt(1)==="="&&(m=Br(c,m)+v),T=parseFloat(m),S=m.substr((T+"").length),l=Ir.lastIndex-S.length,S||(S=S||dt.units[r]||v,l===i.length&&(i+=S,o.e+=S)),v!==S&&(c=Cr(e,r,h,S)||0),o._pt={_next:o._pt,p:w||u===1?w:",",s:c,c:T-c,m:g&&g<4||r==="zIndex"?Math.round:0});o.c=l<i.length?i.substring(l,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%"},Nu=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(" ")},Yu=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,l,u;if(n==="all"||n===!0)i.cssText="",l=1;else for(n=n.split(","),u=n.length;--u>-1;)o=n[u],or[o]&&(l=1,o=o==="transformOrigin"?pt:ce),Vr(t,o);l&&(Vr(t,ce),s&&(s.svg&&t.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",Ni(t,1),s.uncache=1,pa(i)))}},bn={clearProps:function(e,r,t,i,n){if(n.data!=="isFromStart"){var s=e._pt=new rt(e._pt,r,t,0,0,Yu);return s.u=i,s.pr=-10,s.tween=n,e._props.push(t),1}}},Bi=[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=Et(e,ce);return wa(r)?Bi:r.substr(7).match(ms).map(ge)},Xs=function(e,r){var t=e._gsap||xr(e),i=e.style,n=ca(e),s,o,l,u;return t.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,n=[l.a,l.b,l.c,l.d,l.e,l.f],n.join(",")==="1,0,0,1,0,0"?Bi:n):(n===Bi&&!e.offsetParent&&e!==ci&&!t.svg&&(l=i.display,i.display="block",s=e.parentNode,(!s||!e.offsetParent&&!e.getBoundingClientRect().width)&&(u=1,o=e.nextElementSibling,ci.appendChild(e)),n=ca(e),l?i.display=l:Vr(e,"display"),u&&(o?s.insertBefore(e,o):s?s.appendChild(e):ci.removeChild(e))),r&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},Bs=function(e,r,t,i,n,s){var o=e._gsap,l=n||Xs(e,!0),u=o.xOrigin||0,f=o.yOrigin||0,_=o.xOffset||0,d=o.yOffset||0,c=l[0],g=l[1],h=l[2],m=l[3],T=l[4],w=l[5],S=r.split(" "),v=parseFloat(S[0])||0,b=parseFloat(S[1])||0,P,x,M,C;t?l!==Bi&&(x=c*m-g*h)&&(M=v*(m/x)+b*(-h/x)+(h*w-m*T)/x,C=v*(-g/x)+b*(c/x)-(c*w-g*T)/x,v=M,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-u,w=b-f,o.xOffset=_+(T*c+w*h)-T,o.yOffset=d+(T*g+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[pt]="0px 0px",s&&(Sr(s,o,"xOrigin",u,v),Sr(s,o,"yOrigin",f,b),Sr(s,o,"xOffset",_,o.xOffset),Sr(s,o,"yOffset",d,o.yOffset)),e.setAttribute("data-svg-origin",v+" "+b)},Ni=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",l=getComputedStyle(e),u=Et(e,pt)||"0",f,_,d,c,g,h,m,T,w,S,v,b,P,x,M,C,k,F,O,W,B,V,Y,A,Q,ee,p,se,Je,Lt,he,Le;return f=_=d=h=m=T=w=S=v=0,c=g=1,t.svg=!!(e.getCTM&&va(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[ce]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[ce]!=="none"?l[ce]:"")),i.scale=i.rotate=i.translate="none"),x=Xs(e,t.svg),t.svg&&(t.uncache?(Q=e.getBBox(),u=t.xOrigin-Q.x+"px "+(t.yOrigin-Q.y)+"px",A=""):A=!r&&e.getAttribute("data-svg-origin"),Bs(e,A||u,!!A||t.originIsAbsolute,t.smooth!==!1,x)),b=t.xOrigin||0,P=t.yOrigin||0,x!==Bi&&(F=x[0],O=x[1],W=x[2],B=x[3],f=V=x[4],_=Y=x[5],x.length===6?(c=Math.sqrt(F*F+O*O),g=Math.sqrt(B*B+W*W),h=F||O?fi(O,F)*Xr:0,w=W||B?fi(W,B)*Xr+h:0,w&&(g*=Math.abs(Math.cos(w*hi))),t.svg&&(f-=b-(b*F+P*W),_-=P-(b*O+P*B))):(Le=x[6],Lt=x[7],p=x[8],se=x[9],Je=x[10],he=x[11],f=x[12],_=x[13],d=x[14],M=fi(Le,Je),m=M*Xr,M&&(C=Math.cos(-M),k=Math.sin(-M),A=V*C+p*k,Q=Y*C+se*k,ee=Le*C+Je*k,p=V*-k+p*C,se=Y*-k+se*C,Je=Le*-k+Je*C,he=Lt*-k+he*C,V=A,Y=Q,Le=ee),M=fi(-W,Je),T=M*Xr,M&&(C=Math.cos(-M),k=Math.sin(-M),A=F*C-p*k,Q=O*C-se*k,ee=W*C-Je*k,he=B*k+he*C,F=A,O=Q,W=ee),M=fi(O,F),h=M*Xr,M&&(C=Math.cos(M),k=Math.sin(M),A=F*C+O*k,Q=V*C+Y*k,O=O*C-F*k,Y=Y*C-V*k,F=A,V=Q),m&&Math.abs(m)+Math.abs(h)>359.9&&(m=h=0,T=180-T),c=ge(Math.sqrt(F*F+O*O+W*W)),g=ge(Math.sqrt(Y*Y+Le*Le)),M=fi(V,Y),w=Math.abs(M)>2e-4?M*Xr:0,v=he?1/(he<0?-he:he):0),t.svg&&(A=e.getAttribute("transform"),t.forceCSS=e.setAttribute("transform","")||!wa(Et(e,ce)),A&&e.setAttribute("transform",A))),Math.abs(w)>90&&Math.abs(w)<270&&(n?(c*=-1,w+=h<=0?180:-180,h+=h<=0?180:-180):(g*=-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=ge(c),t.scaleY=ge(g),t.rotation=ge(h)+o,t.rotationX=ge(m)+o,t.rotationY=ge(T)+o,t.skewX=w+o,t.skewY=S+o,t.transformPerspective=v+s,(t.zOrigin=parseFloat(u.split(" ")[2])||!r&&t.zOrigin||0)&&(i[pt]=Sn(u)),t.xOffset=t.yOffset=0,t.force3D=dt.force3D,t.renderTransform=t.svg?Xu:ma?Ta:Hu,t.uncache=0,t},Sn=function(e){return(e=e.split(" "))[0]+" "+e[1]},Ls=function(e,r,t){var i=Ne(r);return ge(parseFloat(r)+parseFloat(Cr(e,"x",t+"px",i)))+i},Hu=function(e,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,Ta(e,r)},Yr="0deg",Ii="0px",Hr=") ",Ta=function(e,r){var t=r||this,i=t.xPercent,n=t.yPercent,s=t.x,o=t.y,l=t.z,u=t.rotation,f=t.rotationY,_=t.rotationX,d=t.skewX,c=t.skewY,g=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&&(_!==Yr||f!==Yr)){var P=parseFloat(f)*hi,x=Math.sin(P),M=Math.cos(P),C;P=parseFloat(_)*hi,C=Math.cos(P),s=Ls(w,s,x*C*-S),o=Ls(w,o,-Math.sin(P)*-S),l=Ls(w,l,M*C*-S+S)}m!==Ii&&(v+="perspective("+m+Hr),(i||n)&&(v+="translate("+i+"%, "+n+"%) "),(b||s!==Ii||o!==Ii||l!==Ii)&&(v+=l!==Ii||b?"translate3d("+s+", "+o+", "+l+") ":"translate("+s+", "+o+Hr),u!==Yr&&(v+="rotate("+u+Hr),f!==Yr&&(v+="rotateY("+f+Hr),_!==Yr&&(v+="rotateX("+_+Hr),(d!==Yr||c!==Yr)&&(v+="skew("+d+", "+c+Hr),(g!==1||h!==1)&&(v+="scale("+g+", "+h+Hr),w.style[ce]=v||"translate(0, 0)"},Xu=function(e,r){var t=r||this,i=t.xPercent,n=t.yPercent,s=t.x,o=t.y,l=t.rotation,u=t.skewX,f=t.skewY,_=t.scaleX,d=t.scaleY,c=t.target,g=t.xOrigin,h=t.yOrigin,m=t.xOffset,T=t.yOffset,w=t.forceCSS,S=parseFloat(s),v=parseFloat(o),b,P,x,M,C;l=parseFloat(l),u=parseFloat(u),f=parseFloat(f),f&&(f=parseFloat(f),u+=f,l+=f),l||u?(l*=hi,u*=hi,b=Math.cos(l)*_,P=Math.sin(l)*_,x=Math.sin(l-u)*-d,M=Math.cos(l-u)*d,u&&(f*=hi,C=Math.tan(u-f),C=Math.sqrt(1+C*C),x*=C,M*=C,f&&(C=Math.tan(f),C=Math.sqrt(1+C*C),b*=C,P*=C)),b=ge(b),P=ge(P),x=ge(x),M=ge(M)):(b=_,M=d,P=x=0),(S&&!~(s+"").indexOf("px")||v&&!~(o+"").indexOf("px"))&&(S=Cr(c,"x",s,"px"),v=Cr(c,"y",o,"px")),(g||h||m||T)&&(S=ge(S+g-(g*b+h*x)+m),v=ge(v+h-(g*P+h*M)+T)),(i||n)&&(C=c.getBBox(),S=ge(S+i/100*C.width),v=ge(v+n/100*C.height)),C="matrix("+b+","+P+","+x+","+M+","+S+","+v+")",c.setAttribute("transform",C),w&&(c.style[ce]=C)},qu=function(e,r,t,i,n){var s=360,o=Me(n),l=parseFloat(n)*(o&&~n.indexOf("rad")?Xr:1),u=l-i,f=i+u+"deg",_,d;return o&&(_=n.split("_")[1],_==="short"&&(u%=s,u!==u%(s/2)&&(u+=u<0?s:-s)),_==="cw"&&u<0?u=(u+s*sa)%s-~~(u/s)*s:_==="ccw"&&u>0&&(u=(u-s*sa)%s-~~(u/s)*s)),e._pt=d=new rt(e._pt,r,t,i,u,Pu),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},Vu=function(e,r,t){var i=ha({},t._gsap),n="perspective,force3D,transformOrigin,svgOrigin",s=t.style,o,l,u,f,_,d,c,g;i.svg?(u=t.getAttribute("transform"),t.setAttribute("transform",""),s[ce]=r,o=Ni(t,1),Vr(t,ce),t.setAttribute("transform",u)):(u=getComputedStyle(t)[ce],s[ce]=r,o=Ni(t,1),s[ce]=u);for(l in or)u=i[l],f=o[l],u!==f&&n.indexOf(l)<0&&(c=Ne(u),g=Ne(f),_=c!==g?Cr(t,l,u,g):parseFloat(u),d=parseFloat(f),e._pt=new rt(e._pt,o,l,_,d-_,Fs),e._pt.u=g||0,e._props.push(l));ha(o,i)};tt("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,l,u,f,_){var d,c;if(arguments.length<4)return d=s.map(function(g){return sr(o,g,u)}),c=d.join(" "),c.split(d[0]).length===5?d[0]:c;d=(f+"").split(" "),c={},s.forEach(function(g,h){return c[g]=d[h]=d[h]||d[(h-1)/2|0]}),o.init(l,c,_)}});var qs={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,l=t.vars.startAt,u,f,_,d,c,g,h,m,T,w,S,v,b,P,x,M;Ns||Is(),this.styles=this.styles||ga(e),M=this.styles.props,this.tween=t;for(h in r)if(h!=="autoRound"&&(f=r[h],!(ct[h]&&Ms(h,r,t,i,e,n)))){if(c=typeof f,g=bn[h],c==="function"&&(f=f.call(t,i,e,n),c=typeof f),c==="string"&&~f.indexOf("random(")&&(f=ui(f)),g)g(this,e,h,f,t)&&(x=1);else if(h.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(h)+"").trim(),f+="",ir.lastIndex=0,ir.test(u)||(m=Ne(u),T=Ne(f)),T?m!==T&&(u=Cr(e,h,u,T)+T):m&&(f+=m),this.add(o,"setProperty",u,f,i,n,0,0,h),s.push(h),M.push(h,0,o[h]);else if(c!=="undefined"){if(l&&h in l?(u=typeof l[h]=="function"?l[h].call(t,i,e,n):l[h],Me(u)&&~u.indexOf("random(")&&(u=ui(u)),Ne(u+"")||u==="auto"||(u+=dt.units[h]||Ne(sr(e,h))||""),(u+"").charAt(1)==="="&&(u=sr(e,h))):u=sr(e,h),d=parseFloat(u),w=c==="string"&&f.charAt(1)==="="&&f.substr(0,2),w&&(f=f.substr(2)),_=parseFloat(f),h in Qt&&(h==="autoAlpha"&&(d===1&&sr(e,"visibility")==="hidden"&&_&&(d=0),M.push("visibility",0,o.visibility),Sr(this,o,"visibility",d?"inherit":"hidden",_?"inherit":"hidden",!_)),h!=="scale"&&h!=="transform"&&(h=Qt[h],~h.indexOf(",")&&(h=h.split(",")[0]))),S=h in or,S){if(this.styles.save(h),c==="string"&&f.substring(0,6)==="var(--"&&(f=Et(e,f.substring(4,f.indexOf(")"))),_=parseFloat(f)),v||(b=e._gsap,b.renderTransform&&!r.parseTransform||Ni(e,r.parseTransform),P=r.smoothOrigin!==!1&&b.smooth,v=this._pt=new rt(this._pt,o,ce,0,1,b.renderTransform,b,0,-1),v.dep=1),h==="scale")this._pt=new rt(this._pt,b,"scaleY",b.scaleY,(w?Br(b.scaleY,w+_):_)-b.scaleY||0,Fs),this._pt.u=0,s.push("scaleY",h),h+="X";else if(h==="transformOrigin"){M.push(pt,0,o[pt]),f=Nu(f),b.svg?Bs(e,f,0,P,0,this):(T=parseFloat(f.split(" ")[2])||0,T!==b.zOrigin&&Sr(this,b,"zOrigin",b.zOrigin,T),Sr(this,o,h,Sn(u),Sn(f)));continue}else if(h==="svgOrigin"){Bs(e,f,1,P,0,this);continue}else if(h in xa){qu(this,b,h,d,w?Br(d,w+f):f);continue}else if(h==="smoothOrigin"){Sr(this,b,"smooth",b.smooth,f);continue}else if(h==="force3D"){b[h]=f;continue}else if(h==="transform"){Vu(this,f,e);continue}}else h in o||(h=_i(h)||h);if(S||(_||_===0)&&(d||d===0)&&!Cu.test(f)&&h in o)m=(u+"").substr((d+"").length),_||(_=0),T=Ne(f)||(h in dt.units?dt.units[h]:m),m!==T&&(d=Cr(e,h,u,T)),this._pt=new rt(this._pt,S?b:o,h,d,(w?Br(d,w+_):_)-d,!S&&(T==="px"||h==="zIndex")&&r.autoRound!==!1?Mu:Fs),this._pt.u=T||0,m!==T&&T!=="%"&&(this._pt.b=u,this._pt.r=ku);else if(h in o)Bu.call(this,e,h,u,w?w+f:f);else if(h in e)this.add(e,h,u||e[h],w?w+f:f,i,n);else if(h!=="parseTransform"){yn(h,f);continue}S||(h in o?M.push(h,0,o[h]):typeof e[h]=="function"?M.push(h,2,e[h]()):M.push(h,1,u||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:sr,aliases:Qt,getSetter:function(e,r,t){var i=Qt[r];return i&&i.indexOf(",")<0&&(r=i),r in or&&r!==pt&&(e._gsap.x||sr(e,"x"))?t&&na===t?r==="scale"?Du:Ru:(na=t||{})&&(r==="scale"?Au:Lu):e.style&&!mn(e.style[r])?Ou:~r.indexOf("-")?Eu:Tn(e,r)},core:{_removeProperty:Vr,_getMatrix:Xs}};Ge.utils.checkPrefix=_i;Ge.core.getStyleSaver=ga;(function(a,e,r,t){var i=tt(a+","+e+","+r,function(n){or[n]=1});tt(e,function(n){dt.units[n]="deg",xa[n]=1}),Qt[i[13]]=a+","+e,tt(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");tt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(a){dt.units[a]="px"});Ge.registerPlugin(qs);var le=Ge.registerPlugin(qs)||Ge,vf=le.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 Uu(a,e,r){return e&&ba(a.prototype,e),r&&ba(a,r),a}var Ye,kn,Wu,Tt,Pr,kr,pi,Ca,Ur,Hi,Pa,ar,Yt,ka,Ma=function(){return Ye||typeof window<"u"&&(Ye=window.gsap)&&Ye.registerPlugin&&Ye},Oa=1,di=[],H=[],Ht=[],Xi=Date.now,Vs=function(e,r){return r},Gu=function(){var e=Hi.core,r=e.bridge||{},t=e._scrollers,i=e._proxies;t.push.apply(t,H),i.push.apply(i,Ht),H=t,Ht=i,Vs=function(s,o){return r[s](o)}},ur=function(e,r){return~Ht.indexOf(e)&&Ht[Ht.indexOf(e)+1][r]},qi=function(e){return!!~Pa.indexOf(e)},nt=function(e,r,t,i,n){return e.addEventListener(r,t,{passive:i!==!1,capture:!!n})},it=function(e,r,t,i){return e.removeEventListener(r,t,!!i)},Cn="scrollLeft",Pn="scrollTop",Us=function(){return ar&&ar.isPressed||H.cache++},Mn=function(e,r){var t=function i(n){if(n||n===0){Oa&&(Tt.history.scrollRestoration="manual");var s=ar&&ar.isPressed;n=i.v=Math.round(n)||(ar&&ar.iOS?1:0),e(n),i.cacheID=H.cache,s&&Vs("ss",n)}else(r||H.cache!==i.cacheID||Vs("ref"))&&(i.cacheID=H.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:Mn(function(a){return arguments.length?Tt.scrollTo(a,Ce.sc()):Tt.pageXOffset||Pr[Cn]||kr[Cn]||pi[Cn]||0})},Ce={s:Pn,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Qe,sc:Mn(function(a){return arguments.length?Tt.scrollTo(Qe.sc(),a):Tt.pageYOffset||Pr[Pn]||kr[Pn]||pi[Pn]||0})},st=function(e,r){return(r&&r._ctx&&r._ctx.selector||Ye.utils.toArray)(e)[0]||(typeof e=="string"&&Ye.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},Qu=function(e,r){for(var t=r.length;t--;)if(r[t]===e||r[t].contains(e))return!0;return!1},lr=function(e,r){var t=r.s,i=r.sc;qi(e)&&(e=Pr.scrollingElement||kr);var n=H.indexOf(e),s=i===Ce.sc?1:2;!~n&&(n=H.push(e)-1),H[n+s]||nt(e,"scroll",Us);var o=H[n+s],l=o||(H[n+s]=Mn(ur(e,t),!0)||(qi(e)?i:Mn(function(u){return arguments.length?e[t]=u:e[t]})));return l.target=e,o||(l.smooth=Ye.getProperty(e,"scrollBehavior")==="smooth"),l},On=function(e,r,t){var i=e,n=e,s=Xi(),o=s,l=r||50,u=Math.max(500,l*3),f=function(g,h){var m=Xi();h||m-s>l?(n=i,i=g,o=s,s=m):t?i+=g:i=n+(g-n)/(m-o)*(s-o)},_=function(){n=i=t?0:i,o=s=0},d=function(g){var h=o,m=n,T=Xi();return(g||g===0)&&g!==i&&f(g),s===o||T-o>u?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},Ea=function(){Hi=Ye.core.globals().ScrollTrigger,Hi&&Hi.core&&Gu()},Ra=function(e){return Ye=e||Ma(),!kn&&Ye&&typeof document<"u"&&document.body&&(Tt=window,Pr=document,kr=Pr.documentElement,pi=Pr.body,Pa=[Tt,Pr,kr,pi],Wu=Ye.utils.clamp,ka=Ye.core.context||function(){},Ur="onpointerenter"in pi?"pointer":"mouse",Ca=me.isTouch=Tt.matchMedia&&Tt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Tt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Yt=me.eventTypes=("ontouchstart"in kr?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in kr?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return Oa=0},500),Ea(),kn=1),kn};Qe.op=Ce;H.cache=0;var me=function(){function a(r){this.init(r)}var e=a.prototype;return e.init=function(t){kn||Ra(Ye)||console.warn("Please gsap.registerPlugin(Observer)"),Hi||Ea();var i=t.tolerance,n=t.dragMinimum,s=t.type,o=t.target,l=t.lineHeight,u=t.debounce,f=t.preventDefault,_=t.onStop,d=t.onStopDelay,c=t.ignore,g=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,M=t.onDown,C=t.onChangeX,k=t.onChangeY,F=t.onChange,O=t.onToggleX,W=t.onToggleY,B=t.onHover,V=t.onHoverEnd,Y=t.onMove,A=t.ignoreCheck,Q=t.isNormalizer,ee=t.onGestureStart,p=t.onGestureEnd,se=t.onWheel,Je=t.onEnable,Lt=t.onDisable,he=t.onClick,Le=t.scrollSpeed,He=t.capture,Te=t.allowClicks,je=t.lockAxis,Xe=t.onLockAxis;this.target=o=st(o)||kr,this.vars=t,c&&(c=Ye.utils.toArray(c)),i=i||1e-9,n=n||0,g=g||1,Le=Le||1,s=s||"wheel,touch,pointer",u=u!==!1,l||(l=parseFloat(Tt.getComputedStyle(pi).lineHeight)||22);var hr,et,ut,$,ye,ft,gt,y=this,mt=0,$t=0,_r=t.passive||!f&&t.passive!==!1,_e=lr(o,Qe),Jt=lr(o,Ce),dr=_e(),Or=Jt(),Ee=~s.indexOf("touch")&&!~s.indexOf("pointer")&&Yt[0]==="pointerdown",pr=qi(o),ve=o.ownerDocument||Pr,Ft=[0,0,0],Pt=[0,0,0],jt=0,bi=function(){return jt=Xi()},be=function(L,J){return(y.event=L)&&c&&Qu(L.target,c)||J&&Ee&&L.pointerType!=="touch"||A&&A(L,J)},sn=function(){y._vx.reset(),y._vy.reset(),et.pause(),_&&_(y)},er=function(){var L=y.deltaX=Sa(Ft),J=y.deltaY=Sa(Pt),E=Math.abs(L)>=i,z=Math.abs(J)>=i;F&&(E||z)&&F(y,L,J,Ft,Pt),E&&(b&&y.deltaX>0&&b(y),P&&y.deltaX<0&&P(y),C&&C(y),O&&y.deltaX<0!=mt<0&&O(y),mt=y.deltaX,Ft[0]=Ft[1]=Ft[2]=0),z&&(M&&y.deltaY>0&&M(y),x&&y.deltaY<0&&x(y),k&&k(y),W&&y.deltaY<0!=$t<0&&W(y),$t=y.deltaY,Pt[0]=Pt[1]=Pt[2]=0),($||ut)&&(Y&&Y(y),ut&&(m&&ut===1&&m(y),w&&w(y),ut=0),$=!1),ft&&!(ft=!1)&&Xe&&Xe(y),ye&&(se(y),ye=!1),hr=0},ei=function(L,J,E){Ft[E]+=L,Pt[E]+=J,y._vx.update(L),y._vy.update(J),u?hr||(hr=requestAnimationFrame(er)):er()},ti=function(L,J){je&&!gt&&(y.axis=gt=Math.abs(L)>Math.abs(J)?"x":"y",ft=!0),gt!=="y"&&(Ft[2]+=L,y._vx.update(L,!0)),gt!=="x"&&(Pt[2]+=J,y._vy.update(J,!0)),u?hr||(hr=requestAnimationFrame(er)):er()},gr=function(L){if(!be(L,1)){L=Yi(L,f);var J=L.clientX,E=L.clientY,z=J-y.x,D=E-y.y,I=y.isDragging;y.x=J,y.y=E,(I||(z||D)&&(Math.abs(y.startX-J)>=n||Math.abs(y.startY-E)>=n))&&(ut=I?2:1,I||(y.isDragging=!0),ti(z,D))}},Er=y.onPress=function(N){be(N,1)||N&&N.button||(y.axis=gt=null,et.pause(),y.isPressed=!0,N=Yi(N),mt=$t=0,y.startX=y.x=N.clientX,y.startY=y.y=N.clientY,y._vx.reset(),y._vy.reset(),nt(Q?o:ve,Yt[1],gr,_r,!0),y.deltaX=y.deltaY=0,S&&S(y))},G=y.onRelease=function(N){if(!be(N,1)){it(Q?o:ve,Yt[1],gr,!0);var L=!isNaN(y.y-y.startY),J=y.isDragging,E=J&&(Math.abs(y.x-y.startX)>3||Math.abs(y.y-y.startY)>3),z=Yi(N);!E&&L&&(y._vx.reset(),y._vy.reset(),f&&Te&&Ye.delayedCall(.08,function(){if(Xi()-jt>300&&!N.defaultPrevented){if(N.target.click)N.target.click();else if(ve.createEvent){var D=ve.createEvent("MouseEvents");D.initMouseEvent("click",!0,!0,Tt,1,z.screenX,z.screenY,z.clientX,z.clientY,!1,!1,!1,!1,0,null),N.target.dispatchEvent(D)}}})),y.isDragging=y.isGesturing=y.isPressed=!1,_&&J&&!Q&&et.restart(!0),ut&&er(),T&&J&&T(y),v&&v(y,E)}},Rr=function(L){return L.touches&&L.touches.length>1&&(y.isGesturing=!0)&&ee(L,y.isDragging)},zt=function(){return(y.isGesturing=!1)||p(y)},It=function(L){if(!be(L)){var J=_e(),E=Jt();ei((J-dr)*Le,(E-Or)*Le,1),dr=J,Or=E,_&&et.restart(!0)}},Bt=function(L){if(!be(L)){L=Yi(L,f),se&&(ye=!0);var J=(L.deltaMode===1?l:L.deltaMode===2?Tt.innerHeight:1)*g;ei(L.deltaX*J,L.deltaY*J,0),_&&!Q&&et.restart(!0)}},Dr=function(L){if(!be(L)){var J=L.clientX,E=L.clientY,z=J-y.x,D=E-y.y;y.x=J,y.y=E,$=!0,_&&et.restart(!0),(z||D)&&ti(z,D)}},ri=function(L){y.event=L,B(y)},tr=function(L){y.event=L,V(y)},Si=function(L){return be(L)||Yi(L,f)&&he(y)};et=y._dc=Ye.delayedCall(d||.25,sn).pause(),y.deltaX=y.deltaY=0,y._vx=On(0,50,!0),y._vy=On(0,50,!0),y.scrollX=_e,y.scrollY=Jt,y.isDragging=y.isGesturing=y.isPressed=!1,ka(this),y.enable=function(N){return y.isEnabled||(nt(pr?ve:o,"scroll",Us),s.indexOf("scroll")>=0&&nt(pr?ve:o,"scroll",It,_r,He),s.indexOf("wheel")>=0&&nt(o,"wheel",Bt,_r,He),(s.indexOf("touch")>=0&&Ca||s.indexOf("pointer")>=0)&&(nt(o,Yt[0],Er,_r,He),nt(ve,Yt[2],G),nt(ve,Yt[3],G),Te&&nt(o,"click",bi,!0,!0),he&&nt(o,"click",Si),ee&&nt(ve,"gesturestart",Rr),p&&nt(ve,"gestureend",zt),B&&nt(o,Ur+"enter",ri),V&&nt(o,Ur+"leave",tr),Y&&nt(o,Ur+"move",Dr)),y.isEnabled=!0,y.isDragging=y.isGesturing=y.isPressed=$=ut=!1,y._vx.reset(),y._vy.reset(),dr=_e(),Or=Jt(),N&&N.type&&Er(N),Je&&Je(y)),y},y.disable=function(){y.isEnabled&&(di.filter(function(N){return N!==y&&qi(N.target)}).length||it(pr?ve:o,"scroll",Us),y.isPressed&&(y._vx.reset(),y._vy.reset(),it(Q?o:ve,Yt[1],gr,!0)),it(pr?ve:o,"scroll",It,He),it(o,"wheel",Bt,He),it(o,Yt[0],Er,He),it(ve,Yt[2],G),it(ve,Yt[3],G),it(o,"click",bi,!0),it(o,"click",Si),it(ve,"gesturestart",Rr),it(ve,"gestureend",zt),it(o,Ur+"enter",ri),it(o,Ur+"leave",tr),it(o,Ur+"move",Dr),y.isEnabled=y.isPressed=y.isDragging=!1,Lt&&Lt(y))},y.kill=y.revert=function(){y.disable();var N=di.indexOf(y);N>=0&&di.splice(N,1),ar===y&&(ar=0)},di.push(y),Q&&qi(o)&&(ar=y),y.enable(h)},Uu(a,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),a}();me.version="3.13.0";me.create=function(a){return new me(a)};me.register=Ra;me.getAll=function(){return di.slice()};me.getById=function(a){return di.filter(function(e){return e.vars.id===a})[0]};Ma()&&Ye.registerPlugin(me);var R,yi,U,ne,Ct,j,oo,Un,rn,Zi,Ui,En,Ke,Kn,js,at,Da,Aa,vi,Ka,Ws,Za,ot,eo,$a,Ja,Mr,to,ao,xi,lo,Wn,ro,Gs,Rn=1,Ze=Date.now,Qs=Ze(),At=0,Wi=0,La=function(e,r,t){var i=St(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&&(!St(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},Ku=function a(){return Wi&&requestAnimationFrame(a)},za=function(){return Kn=1},Ia=function(){return Kn=0},Kt=function(e){return e},Gi=function(e){return Math.round(e*1e5)/1e5||0},ja=function(){return typeof window<"u"},el=function(){return R||ja()&&(R=window.gsap)&&R.registerPlugin&&R},$r=function(e){return!!~oo.indexOf(e)},tl=function(e){return(e==="Height"?lo:U["inner"+e])||Ct["client"+e]||j["client"+e]},rl=function(e){return ur(e,"getBoundingClientRect")||($r(e)?function(){return Vn.width=U.innerWidth,Vn.height=lo,Vn}:function(){return fr(e)})},Zu=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?tl(n):e["client"+n])||0}},$u=function(e,r){return!r||~Ht.indexOf(e)?rl(e):function(){return Vn}},Zt=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()-rl(e)()[n]:$r(e)?(Ct[t]||j[t])-tl(i):e[t]-e["offset"+i])},Dn=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])},St=function(e){return typeof e=="string"},$e=function(e){return typeof e=="function"},Qi=function(e){return typeof e=="number"},Wr=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,il="left",nl="top",uo="right",fo="bottom",Qr="width",Kr="height",$i="Right",Ji="Left",ji="Top",en="Bottom",Pe="padding",Rt="margin",Ti="Width",co="Height",Oe="px",Dt=function(e){return U.getComputedStyle(e)},Ju=function(e){var r=Dt(e).position;e.style.position=r==="absolute"||r==="fixed"?r:"relative"},Ba=function(e,r){for(var t in r)t in e||(e[t]=r[t]);return e},fr=function(e,r){var t=r&&Dt(e)[js]!=="matrix(1, 0, 0, 1, 0, 0)"&&R.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},Gn=function(e,r){var t=r.d2;return e["offset"+t]||e["client"+t]||0},sl=function(e){var r=[],t=e.labels,i=e.duration(),n;for(n in t)r.push(t[n]/i);return r},ju=function(e){return function(r){return R.utils.snap(sl(e),r)}},ho=function(e){var r=R.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(sl(e))(r,t.direction)}},An=function(e,r,t,i){return t.split(",").forEach(function(n){return e(r,n,i)})},Ae=function(e,r,t,i,n){return e.addEventListener(r,t,{passive:!i,capture:!!n})},De=function(e,r,t,i){return e.removeEventListener(r,t,!!i)},Ln=function(e,r,t){t=t&&t.wheelHandler,t&&(e(r,"wheel",t),e(r,"touchmove",t))},Na={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(St(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},zn=function(e,r,t,i,n,s,o,l){var u=n.startColor,f=n.endColor,_=n.fontSize,d=n.indent,c=n.fontWeight,g=ne.createElement("div"),h=$r(t)||ur(t,"pinType")==="fixed",m=e.indexOf("scroller")!==-1,T=h?j:t,w=e.indexOf("start")!==-1,S=w?u: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||l)&&h?"fixed;":"absolute;"),(m||l||!h)&&(v+=(i===Ce?uo:fo)+":"+(s+parseFloat(d))+"px;"),o&&(v+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),g._isStart=w,g.setAttribute("class","gsap-marker-"+e+(r?" marker-"+r:"")),g.style.cssText=v,g.innerText=r||r===0?e+"-"+r:e,T.children[0]?T.insertBefore(g,T.children[0]):T.appendChild(g),g._offset=g["offset"+i.op.d2],Hn(g,0,i,w),g},Hn=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",R.set(e,n)},X=[],io={},nn,Ya=function(){return Ze()-At>34&&(nn||(nn=requestAnimationFrame(cr)))},mi=function(){(!ot||!ot.isPressed||ot.startX>j.clientWidth)&&(H.cache++,ot?nn||(nn=requestAnimationFrame(cr)):cr(),At||jr("scrollStart"),At=Ze())},Zs=function(){Ja=U.innerWidth,$a=U.innerHeight},Ki=function(e){H.cache++,(e===!0||!Ke&&!Za&&!ne.fullscreenElement&&!ne.webkitFullscreenElement&&(!eo||Ja!==U.innerWidth||Math.abs(U.innerHeight-$a)>U.innerHeight*.25))&&Un.restart(!0)},Jr={},tf=[],ol=function a(){return De(q,"scrollEnd",a)||Gr(!0)},jr=function(e){return Jr[e]&&Jr[e].map(function(r){return r()})||tf},bt=[],al=function(e){for(var r=0;r<bt.length;r+=5)(!e||bt[r+4]&&bt[r+4].query===e)&&(bt[r].style.cssText=bt[r+1],bt[r].getBBox&&bt[r].setAttribute("transform",bt[r+2]||""),bt[r+3].uncache=1)},_o=function(e,r){var t;for(at=0;at<X.length;at++)t=X[at],t&&(!r||t._ctx===r)&&(e?t.kill(1):t.revert(!0,!0));Wn=!0,r&&al(r),r||jr("revert")},ll=function(e,r){H.cache++,(r||!lt)&&H.forEach(function(t){return $e(t)&&t.cacheID++&&(t.rec=0)}),St(e)&&(U.history.scrollRestoration=ao=e)},lt,Zr=0,Ha,rf=function(){if(Ha!==Zr){var e=Ha=Zr;requestAnimationFrame(function(){return e===Zr&&Gr(!0)})}},ul=function(){j.appendChild(xi),lo=!ot&&xi.offsetHeight||U.innerHeight,j.removeChild(xi)},Xa=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"})},Gr=function(e,r){if(Ct=ne.documentElement,j=ne.body,oo=[U,ne,Ct,j],At&&!e&&!Wn){Ae(q,"scrollEnd",ol);return}ul(),lt=q.isRefreshing=!0,H.forEach(function(i){return $e(i)&&++i.cacheID&&(i.rec=i())});var t=jr("refreshInit");Ka&&q.sort(),r||_o(),H.forEach(function(i){$e(i)&&(i.smooth&&(i.target.style.scrollBehavior="auto"),i(0))}),X.slice(0).forEach(function(i){return i.refresh()}),Wn=!1,X.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,Xa(!0),X.forEach(function(i){var n=Zt(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)}),Xa(!1),ro=0,t.forEach(function(i){return i&&i.render&&i.render(-1)}),H.forEach(function(i){$e(i)&&(i.smooth&&requestAnimationFrame(function(){return i.target.style.scrollBehavior="smooth"}),i.rec&&i(i.rec))}),ll(ao,1),Un.pause(),Zr++,lt=2,cr(2),X.forEach(function(i){return $e(i.vars.onRefresh)&&i.vars.onRefresh(i)}),lt=q.isRefreshing=!1,jr("refresh")},no=0,Xn=1,tn,cr=function(e){if(e===2||!lt&&!Wn){q.isUpdating=!0,tn&&tn.update(0);var r=X.length,t=Ze(),i=t-Qs>=50,n=r&&X[0].scroll();if(Xn=no>n?-1:1,lt||(no=n),i&&(At&&!Kn&&t-At>200&&(At=0,jr("scrollEnd")),Ui=Qs,Qs=t),Xn<0){for(at=r;at-- >0;)X[at]&&X[at].update(0,i);Xn=1}else for(at=0;at<r;at++)X[at]&&X[at].update(0,i);q.isUpdating=!1}nn=0},so=[il,nl,fo,uo,Rt+en,Rt+$i,Rt+ji,Rt+Ji,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],qn=so.concat([Qr,Kr,"boxSizing","max"+Ti,"max"+co,"position",Rt,Pe,Pe+ji,Pe+$i,Pe+en,Pe+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,l;n--;)l=so[n],s[l]=t[l];s.position=t.position==="absolute"?"absolute":"relative",t.display==="inline"&&(s.display="inline-block"),o[fo]=o[uo]="auto",s.flexBasis=t.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[Qr]=Gn(e,Qe)+Oe,s[Kr]=Gn(e,Ce)+Oe,s[Pe]=o[Rt]=o[nl]=o[il]="0",wi(i),o[Qr]=o["max"+Ti]=t[Qr],o[Kr]=o["max"+co]=t[Kr],o[Pe]=t[Pe],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||R.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=qn.length,t=e.style,i=[],n=0;n<r;n++)i.push(qn[n],t[qn[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},qa=function(e,r,t,i,n,s,o,l,u,f,_,d,c,g){$e(e)&&(e=e(l)),St(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=R.utils.mapRange(c.scrollTrigger.start,c.scrollTrigger.end,0,d,e)),o&&Hn(o,t,i,!0);else{$e(r)&&(r=r(l));var S=(e||"0").split(" "),v,b,P,x;w=st(r,l)||j,v=fr(w)||{},(!v||!v.left&&!v.top)&&Dt(w).display==="none"&&(x=w.style.display,w.style.display="block",v=fr(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]-u[i.p]-f+b+n-P,o&&Hn(o,P,i,t-P<20||o._isStart&&P>20),t-=t-P}if(g&&(l[g]=e||-.001,e<0&&(e=0)),s){var M=e+t,C=s._isStart;m="scroll"+i.d2,Hn(s,M,i,C&&M>20||!C&&(_?Math.max(j[m],Ct[m]):s.parentNode[m])<=M+1),_&&(u=fr(o),_&&(s.style[i.op.p]=u[i.op.p]-i.op.m-s._offset+Oe))}return c&&w&&(m=fr(w),c.seek(d),T=fr(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=Dt(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;R.core.getCache(e).uncache=1,r.appendChild(e)}},fl=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}},Bn=function(e,r,t){var i={};i[r.p]="+="+t,R.set(e,i)},Ua=function(e,r){var t=lr(e,r),i="_scroll"+r.p2,n=function s(o,l,u,f,_){var d=s.tween,c=l.onComplete,g={};u=u||t();var h=fl(t,u,function(){d.kill(),s.tween=0});return _=f&&_||0,f=f||o-u,d&&d.kill(),l[i]=o,l.inherit=!1,l.modifiers=g,g[i]=function(){return h(u+f*d.ratio+_*d.ratio*d.ratio)},l.onUpdate=function(){H.cache++,s.tween&&cr()},l.onComplete=function(){s.tween=0,c&&c.call(d)},d=s.tween=R.to(e,l),d};return e[i]=t,t.wheelHandler=function(){return n.tween&&n.tween.kill()&&(n.tween=0)},Ae(e,"wheel",t.wheelHandler),q.isTouch&&Ae(e,"touchmove",t.wheelHandler),n},q=function(){function a(r,t){yi||a.register(R)||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),!Wi){this.update=this.refresh=this.kill=Kt;return}t=Ba(St(t)||Qi(t)||t.nodeType?{trigger:t}:t,Fn);var n=t,s=n.onUpdate,o=n.toggleClass,l=n.id,u=n.onToggle,f=n.onRefresh,_=n.scrub,d=n.trigger,c=n.pin,g=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,M=n.fastScrollEnd,C=n.preventOverlaps,k=t.horizontal||t.containerAnimation&&t.horizontal!==!1?Qe:Ce,F=!_&&_!==0,O=st(t.scroller||U),W=R.core.getCache(O),B=$r(O),V=("pinType"in t?t.pinType:ur(O,"pinType")||B&&"fixed")==="fixed",Y=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],A=F&&t.toggleActions.split(" "),Q="markers"in t?t.markers:Fn.markers,ee=B?0:parseFloat(Dt(O)["border"+k.p2+Ti])||0,p=this,se=t.onRefreshInit&&function(){return t.onRefreshInit(p)},Je=Zu(O,B,k),Lt=$u(O,B),he=0,Le=0,He=0,Te=lr(O,k),je,Xe,hr,et,ut,$,ye,ft,gt,y,mt,$t,_r,_e,Jt,dr,Or,Ee,pr,ve,Ft,Pt,jt,bi,be,sn,er,ei,ti,gr,Er,G,Rr,zt,It,Bt,Dr,ri,tr;if(p._startClamp=p._endClamp=!1,p._dir=k,m*=45,p.scroller=O,p.scroll=x?x.time.bind(x):Te,et=Te(),p.vars=t,i=i||t.animation,"refreshPriority"in t&&(Ka=1,t.refreshPriority===-9999&&(tn=p)),W.tweenScroll=W.tweenScroll||{top:Ua(O,Ce),left:Ua(O,Qe)},p.tweenTo=je=W.tweenScroll[k.p],p.scrubDuration=function(E){Rr=Qi(E)&&E,Rr?G?G.duration(E):G=R.to(i,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Rr,paused:!0,onComplete:function(){return T&&T(p)}}):(G&&G.progress(1).kill(),G=0)},i&&(i.vars.lazy=!1,i._initted&&!p.isReverted||i.vars.immediateRender!==!1&&t.immediateRender!==!1&&i.duration()&&i.render(0,!0,!0),p.animation=i.pause(),i.scrollTrigger=p,p.scrubDuration(_),gr=0,l||(l=i.vars.id)),v&&((!Wr(v)||v.push)&&(v={snapTo:v}),"scrollBehavior"in j.style&&R.set(B?[j,Ct]:O,{scrollBehavior:"auto"}),H.forEach(function(E){return $e(E)&&E.target===(B?ne.scrollingElement||Ct:O)&&(E.smooth=!1)}),hr=$e(v.snapTo)?v.snapTo:v.snapTo==="labels"?ju(i):v.snapTo==="labelsDirectional"?ef(i):v.directional!==!1?function(E,z){return ho(v.snapTo)(E,Ze()-Le<500?0:z.direction)}:R.utils.snap(v.snapTo),zt=v.duration||{min:.1,max:2},zt=Wr(zt)?Zi(zt.min,zt.max):Zi(zt,zt),It=R.delayedCall(v.delay||Rr/2||.1,function(){var E=Te(),z=Ze()-Le<500,D=je.tween;if((z||Math.abs(p.getVelocity())<10)&&!D&&!Kn&&he!==E){var I=(E-$)/_e,Re=i&&!F?i.totalProgress():I,K=z?0:(Re-Er)/(Ze()-Ui)*1e3||0,xe=R.utils.clamp(-I,1-I,gi(K/2)*K/.185),qe=I+(v.inertia===!1?0:xe),de,oe,te=v,Nt=te.onStart,ue=te.onInterrupt,yt=te.onComplete;if(de=hr(qe,p),Qi(de)||(de=qe),oe=Math.max(0,Math.round($+de*_e)),E<=ye&&E>=$&&oe!==E){if(D&&!D._initted&&D.data<=gi(oe-E))return;v.inertia===!1&&(xe=de-I),je(oe,{duration:zt(gi(Math.max(gi(qe-Re),gi(de-Re))*.185/K/.05||0)),ease:v.ease||"power3",data:gi(oe-E),onInterrupt:function(){return It.restart(!0)&&ue&&ue(p)},onComplete:function(){p.update(),he=Te(),i&&!F&&(G?G.resetTo("totalProgress",de,i._tTime/i._tDur):i.progress(de)),gr=Er=i&&!F?i.totalProgress():p.progress,w&&w(p),yt&&yt(p)}},E,xe*_e,oe-E-xe*_e),Nt&&Nt(p,je.tween)}}else p.isActive&&he!==E&&It.restart(!0)}).pause()),l&&(io[l]=p),d=p.trigger=st(d||c!==!0&&c),tr=d&&d._gsap&&d._gsap.stRevert,tr&&(tr=tr(p)),c=c===!0?d:st(c),St(o)&&(o={targets:d,className:o}),c&&(g===!1||g===Rt||(g=!g&&c.parentNode&&c.parentNode.style&&Dt(c.parentNode).display==="flex"?!1:Pe),p.pin=c,Xe=R.core.getCache(c),Xe.spacer?Jt=Xe.pinState:(P&&(P=st(P),P&&!P.nodeType&&(P=P.current||P.nativeElement),Xe.spacerIsNative=!!P,P&&(Xe.spacerState=In(P))),Xe.spacer=Ee=P||ne.createElement("div"),Ee.classList.add("pin-spacer"),l&&Ee.classList.add("pin-spacer-"+l),Xe.pinState=Jt=In(c)),t.force3D!==!1&&R.set(c,{force3D:!0}),p.spacer=Ee=Xe.spacer,ti=Dt(c),bi=ti[g+k.os2],ve=R.getProperty(c),Ft=R.quickSetter(c,k.a,Oe),$s(c,Ee,ti),Or=In(c)),Q){$t=Wr(Q)?Ba(Q,Na):Na,y=zn("scroller-start",l,O,k,$t,0),mt=zn("scroller-end",l,O,k,$t,0,y),pr=y["offset"+k.op.d2];var Si=st(ur(O,"content")||O);ft=this.markerStart=zn("start",l,Si,k,$t,pr,0,x),gt=this.markerEnd=zn("end",l,Si,k,$t,pr,0,x),x&&(ri=R.quickSetter([ft,gt],k.a,Oe)),!V&&!(Ht.length&&ur(O,"fixedMarkers")===!0)&&(Ju(B?j:O),R.set([y,mt],{force3D:!0}),sn=R.quickSetter(y,k.a,Oe),ei=R.quickSetter(mt,k.a,Oe))}if(x){var N=x.vars.onUpdate,L=x.vars.onUpdateParams;x.eventCallback("onUpdate",function(){p.update(0,0,1),N&&N.apply(x,L||[])})}if(p.previous=function(){return X[X.indexOf(p)-1]},p.next=function(){return X[X.indexOf(p)+1]},p.revert=function(E,z){if(!z)return p.kill(!0);var D=E!==!1||!p.enabled,I=Ke;D!==p.isReverted&&(D&&(Bt=Math.max(Te(),p.scroll.rec||0),He=p.progress,Dr=i&&i.progress()),ft&&[ft,gt,y,mt].forEach(function(Re){return Re.style.display=D?"none":"block"}),D&&(Ke=p,p.update(D)),c&&(!b||!p.isActive)&&(D?nf(c,Ee,Jt):$s(c,Ee,Dt(c),be)),D||p.update(D),Ke=I,p.isReverted=D)},p.refresh=function(E,z,D,I){if(!((Ke||!p.enabled)&&!z)){if(c&&E&&At){Ae(a,"scrollEnd",ol);return}!lt&&se&&se(p),Ke=p,je.tween&&!D&&(je.tween.kill(),je.tween=0),G&&G.pause(),h&&i&&(i.revert({kill:!1}).invalidate(),i.getChildren&&i.getChildren(!0,!0,!1).forEach(function(mr){return mr.vars.immediateRender&&mr.render(0,!0,!0)})),p.isReverted||p.revert(!0,!0),p._subPinOffset=!1;var Re=Je(),K=Lt(),xe=x?x.duration():Zt(O,k),qe=_e<=.01||!_e,de=0,oe=I||0,te=Wr(D)?D.end:t.end,Nt=t.endTrigger||d,ue=Wr(D)?D.start:t.start||(t.start===0||!d?0:c?"0 0":"0 100%"),yt=p.pinnedContainer=t.pinnedContainer&&st(t.pinnedContainer,p),Xt=d&&Math.max(0,X.indexOf(p))||0,Fe=Xt,ze,Ve,Ar,on,Ue,ke,qt,Zn,po,Ci,Vt,Pi,an;for(Q&&Wr(D)&&(Pi=R.getProperty(y,k.p),an=R.getProperty(mt,k.p));Fe-- >0;)ke=X[Fe],ke.end||ke.refresh(0,1)||(Ke=p),qt=ke.pin,qt&&(qt===d||qt===c||qt===yt)&&!ke.isReverted&&(Ci||(Ci=[]),Ci.unshift(ke),ke.revert(!0,!0)),ke!==X[Fe]&&(Xt--,Fe--);for($e(ue)&&(ue=ue(p)),ue=La(ue,"start",p),$=qa(ue,d,Re,k,Te(),ft,y,p,K,ee,V,xe,x,p._startClamp&&"_startClamp")||(c?-.001:0),$e(te)&&(te=te(p)),St(te)&&!te.indexOf("+=")&&(~te.indexOf(" ")?te=(St(ue)?ue.split(" ")[0]:"")+te:(de=Yn(te.substr(2),Re),te=St(ue)?ue:(x?R.utils.mapRange(0,x.duration(),x.scrollTrigger.start,x.scrollTrigger.end,$):$)+de,Nt=d)),te=La(te,"end",p),ye=Math.max($,qa(te||(Nt?"100% 0":xe),Nt,Re,k,Te()+de,gt,mt,p,K,ee,V,xe,x,p._endClamp&&"_endClamp"))||-.001,de=0,Fe=Xt;Fe--;)ke=X[Fe],qt=ke.pin,qt&&ke.start-ke._pinPush<=$&&!x&&ke.end>0&&(ze=ke.end-(p._startClamp?Math.max(0,ke.start):ke.start),(qt===d&&ke.start-ke._pinPush<$||qt===yt)&&isNaN(ue)&&(de+=ze*(1-ke.progress)),qt===c&&(oe+=ze));if($+=de,ye+=de,p._startClamp&&(p._startClamp+=de),p._endClamp&&!lt&&(p._endClamp=ye||-.001,ye=Math.min(ye,Zt(O,k))),_e=ye-$||($-=.01)&&.001,qe&&(He=R.utils.clamp(0,1,R.utils.normalize($,ye,Bt))),p._pinPush=oe,ft&&de&&(ze={},ze[k.a]="+="+de,yt&&(ze[k.p]="-="+Te()),R.set([ft,gt],ze)),c&&!(ro&&p.end>=Zt(O,k)))ze=Dt(c),on=k===Ce,Ar=Te(),Pt=parseFloat(ve(k.a))+oe,!xe&&ye>1&&(Vt=(B?ne.scrollingElement||Ct:O).style,Vt={style:Vt,value:Vt["overflow"+k.a.toUpperCase()]},B&&Dt(j)["overflow"+k.a.toUpperCase()]!=="scroll"&&(Vt.style["overflow"+k.a.toUpperCase()]="scroll")),$s(c,Ee,ze),Or=In(c),Ve=fr(c,!0),Zn=V&&lr(O,on?Qe:Ce)(),g?(be=[g+k.os2,_e+oe+Oe],be.t=Ee,Fe=g===Pe?Gn(c,k)+_e+oe:0,Fe&&(be.push(k.d,Fe+Oe),Ee.style.flexBasis!=="auto"&&(Ee.style.flexBasis=Fe+Oe)),wi(be),yt&&X.forEach(function(mr){mr.pin===yt&&mr.vars.pinSpacing!==!1&&(mr._subPinOffset=!0)}),V&&Te(Bt)):(Fe=Gn(c,k),Fe&&Ee.style.flexBasis!=="auto"&&(Ee.style.flexBasis=Fe+Oe)),V&&(Ue={top:Ve.top+(on?Ar-$:Zn)+Oe,left:Ve.left+(on?Zn:Ar-$)+Oe,boxSizing:"border-box",position:"fixed"},Ue[Qr]=Ue["max"+Ti]=Math.ceil(Ve.width)+Oe,Ue[Kr]=Ue["max"+co]=Math.ceil(Ve.height)+Oe,Ue[Rt]=Ue[Rt+ji]=Ue[Rt+$i]=Ue[Rt+en]=Ue[Rt+Ji]="0",Ue[Pe]=ze[Pe],Ue[Pe+ji]=ze[Pe+ji],Ue[Pe+$i]=ze[Pe+$i],Ue[Pe+en]=ze[Pe+en],Ue[Pe+Ji]=ze[Pe+Ji],dr=of(Jt,Ue,b),lt&&Te(0)),i?(po=i._initted,Ws(1),i.render(i.duration(),!0,!0),jt=ve(k.a)-Pt+_e+oe,er=Math.abs(_e-jt)>1,V&&er&&dr.splice(dr.length-2,2),i.render(0,!0,!0),po||i.invalidate(!0),i.parent||i.totalTime(i.totalTime()),Ws(0)):jt=_e,Vt&&(Vt.value?Vt.style["overflow"+k.a.toUpperCase()]=Vt.value:Vt.style.removeProperty("overflow-"+k.a));else if(d&&Te()&&!x)for(Ve=d.parentNode;Ve&&Ve!==j;)Ve._pinOffset&&($-=Ve._pinOffset,ye-=Ve._pinOffset),Ve=Ve.parentNode;Ci&&Ci.forEach(function(mr){return mr.revert(!1,!0)}),p.start=$,p.end=ye,et=ut=lt?Bt:Te(),!x&&!lt&&(et<Bt&&Te(Bt),p.scroll.rec=0),p.revert(!1,!0),Le=Ze(),It&&(he=-1,It.restart(!0)),Ke=0,i&&F&&(i._initted||Dr)&&i.progress()!==Dr&&i.progress(Dr||0,!0).render(i.time(),!0,!0),(qe||He!==p.progress||x||h||i&&!i._initted)&&(i&&!F&&(i._initted||He||i.vars.immediateRender!==!1)&&i.totalProgress(x&&$<-.001&&!He?R.utils.normalize($,ye,0):He,!0),p.progress=qe||(et-$)/_e===He?0:He),c&&g&&(Ee._pinOffset=Math.round(p.progress*jt)),G&&G.invalidate(),isNaN(Pi)||(Pi-=R.getProperty(y,k.p),an-=R.getProperty(mt,k.p),Bn(y,k,Pi),Bn(ft,k,Pi-(I||0)),Bn(mt,k,an),Bn(gt,k,an-(I||0))),qe&&!lt&&p.update(),f&&!lt&&!_r&&(_r=!0,f(p),_r=!1)}},p.getVelocity=function(){return(Te()-ut)/(Ze()-Ui)*1e3||0},p.endAnimation=function(){Vi(p.callbackAnimation),i&&(G?G.progress(1):i.paused()?F||Vi(i,p.direction<0,1):Vi(i,i.reversed()))},p.labelToScroll=function(E){return i&&i.labels&&($||p.refresh()||$)+i.labels[E]/i.duration()*_e||0},p.getTrailing=function(E){var z=X.indexOf(p),D=p.direction>0?X.slice(0,z).reverse():X.slice(z+1);return(St(E)?D.filter(function(I){return I.vars.preventOverlaps===E}):D).filter(function(I){return p.direction>0?I.end<=$:I.start>=ye})},p.update=function(E,z,D){if(!(x&&!D&&!E)){var I=lt===!0?Bt:p.scroll(),Re=E?0:(I-$)/_e,K=Re<0?0:Re>1?1:Re||0,xe=p.progress,qe,de,oe,te,Nt,ue,yt,Xt;if(z&&(ut=et,et=x?Te():I,v&&(Er=gr,gr=i&&!F?i.totalProgress():K)),m&&c&&!Ke&&!Rn&&At&&(!K&&$<I+(I-ut)/(Ze()-Ui)*m?K=1e-4:K===1&&ye>I+(I-ut)/(Ze()-Ui)*m&&(K=.9999)),K!==xe&&p.enabled){if(qe=p.isActive=!!K&&K<1,de=!!xe&&xe<1,ue=qe!==de,Nt=ue||!!K!=!!xe,p.direction=K>xe?1:-1,p.progress=K,Nt&&!Ke&&(oe=K&&!xe?0:K===1?1:xe===1?2:3,F&&(te=!ue&&A[oe+1]!=="none"&&A[oe+1]||A[oe],Xt=i&&(te==="complete"||te==="reset"||te in i))),C&&(ue||Xt)&&(Xt||_||!i)&&($e(C)?C(p):p.getTrailing(C).forEach(function(Ar){return Ar.endAnimation()})),F||(G&&!Ke&&!Rn?(G._dp._time-G._start!==G._time&&G.render(G._dp._time-G._start),G.resetTo?G.resetTo("totalProgress",K,i._tTime/i._tDur):(G.vars.totalProgress=K,G.invalidate().restart())):i&&i.totalProgress(K,!!(Ke&&(Le||E)))),c){if(E&&g&&(Ee.style[g+k.os2]=bi),!V)Ft(Gi(Pt+jt*K));else if(Nt){if(yt=!E&&K>xe&&ye+1>I&&I+1>=Zt(O,k),b)if(!E&&(qe||yt)){var Fe=fr(c,!0),ze=I-$;Va(c,j,Fe.top+(k===Ce?ze:0)+Oe,Fe.left+(k===Ce?0:ze)+Oe)}else Va(c,Ee);wi(qe||yt?dr:Or),er&&K<1&&qe||Ft(Pt+(K===1&&!yt?jt:0))}}v&&!je.tween&&!Ke&&!Rn&&It.restart(!0),o&&(ue||S&&K&&(K<1||!Gs))&&rn(o.targets).forEach(function(Ar){return Ar.classList[qe||S?"add":"remove"](o.className)}),s&&!F&&!E&&s(p),Nt&&!Ke?(F&&(Xt&&(te==="complete"?i.pause().totalProgress(1):te==="reset"?i.restart(!0).pause():te==="restart"?i.restart(!0):i[te]()),s&&s(p)),(ue||!Gs)&&(u&&ue&&Ks(p,u),Y[oe]&&Ks(p,Y[oe]),S&&(K===1?p.kill(!1,1):Y[oe]=0),ue||(oe=K===1?1:3,Y[oe]&&Ks(p,Y[oe]))),M&&!qe&&Math.abs(p.getVelocity())>(Qi(M)?M:2500)&&(Vi(p.callbackAnimation),G?G.progress(1):Vi(i,te==="reverse"?1:!K,1))):F&&s&&!Ke&&s(p)}if(ei){var Ve=x?I/x.duration()*(x._caScrollDist||0):I;sn(Ve+(y._isFlipped?1:0)),ei(Ve)}ri&&ri(-I/x.duration()*(x._caScrollDist||0))}},p.enable=function(E,z){p.enabled||(p.enabled=!0,Ae(O,"resize",Ki),B||Ae(O,"scroll",mi),se&&Ae(a,"refreshInit",se),E!==!1&&(p.progress=He=0,et=ut=he=Te()),z!==!1&&p.refresh())},p.getTween=function(E){return E&&je?je.tween:G},p.setPositions=function(E,z,D,I){if(x){var Re=x.scrollTrigger,K=x.duration(),xe=Re.end-Re.start;E=Re.start+xe*E/K,z=Re.start+xe*z/K}p.refresh(!1,!1,{start:Fa(E,D&&!!p._startClamp),end:Fa(z,D&&!!p._endClamp)},I),p.update()},p.adjustPinSpacing=function(E){if(be&&E){var z=be.indexOf(k.d)+1;be[z]=parseFloat(be[z])+E+Oe,be[1]=parseFloat(be[1])+E+Oe,wi(be)}},p.disable=function(E,z){if(p.enabled&&(E!==!1&&p.revert(!0,!0),p.enabled=p.isActive=!1,z||G&&G.pause(),Bt=0,Xe&&(Xe.uncache=1),se&&De(a,"refreshInit",se),It&&(It.pause(),je.tween&&je.tween.kill()&&(je.tween=0)),!B)){for(var D=X.length;D--;)if(X[D].scroller===O&&X[D]!==p)return;De(O,"resize",Ki),B||De(O,"scroll",mi)}},p.kill=function(E,z){p.disable(E,z),G&&!z&&G.kill(),l&&delete io[l];var D=X.indexOf(p);D>=0&&X.splice(D,1),D===at&&Xn>0&&at--,D=0,X.forEach(function(I){return I.scroller===p.scroller&&(D=1)}),D||lt||(p.scroll.rec=0),i&&(i.scrollTrigger=null,E&&i.revert({kill:!1}),z||i.kill()),ft&&[ft,gt,y,mt].forEach(function(I){return I.parentNode&&I.parentNode.removeChild(I)}),tn===p&&(tn=0),c&&(Xe&&(Xe.uncache=1),D=0,X.forEach(function(I){return I.pin===c&&D++}),D||(Xe.spacer=0)),t.onKill&&t.onKill(p)},X.push(p),p.enable(!1,!1),tr&&tr(p),i&&i.add&&!_e){var J=p.update;p.update=function(){p.update=J,H.cache++,$||ye||p.refresh()},R.delayedCall(.01,p.update),_e=.01,$=ye=0}else p.refresh();c&&rf()},a.register=function(t){return yi||(R=t||el(),ja()&&window.document&&a.enable(),yi=Wi),yi},a.defaults=function(t){if(t)for(var i in t)Fn[i]=t[i];return Fn},a.disable=function(t,i){Wi=0,X.forEach(function(s){return s[i?"kill":"disable"](t)}),De(U,"wheel",mi),De(ne,"scroll",mi),clearInterval(En),De(ne,"touchcancel",Kt),De(j,"touchstart",Kt),An(De,ne,"pointerdown,touchstart,mousedown",za),An(De,ne,"pointerup,touchend,mouseup",Ia),Un.kill(),Dn(De);for(var n=0;n<H.length;n+=3)Ln(De,H[n],H[n+1]),Ln(De,H[n],H[n+2])},a.enable=function(){if(U=window,ne=document,Ct=ne.documentElement,j=ne.body,R&&(rn=R.utils.toArray,Zi=R.utils.clamp,to=R.core.context||Kt,Ws=R.core.suppressOverwrites||Kt,ao=U.history.scrollRestoration||"auto",no=U.pageYOffset||0,R.core.globals("ScrollTrigger",a),j)){Wi=1,xi=document.createElement("div"),xi.style.height="100vh",xi.style.position="absolute",ul(),Ku(),me.register(R),a.isTouch=me.isTouch,Mr=me.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),eo=me.isTouch===1,Ae(U,"wheel",mi),oo=[U,ne,Ct,j],R.matchMedia?(a.matchMedia=function(u){var f=R.matchMedia(),_;for(_ in u)f.add(_,u[_]);return f},R.addEventListener("matchMediaInit",function(){return _o()}),R.addEventListener("matchMediaRevert",function(){return al()}),R.addEventListener("matchMedia",function(){Gr(0,1),jr("matchMedia")}),R.matchMedia().add("(orientation: portrait)",function(){return Zs(),Zs})):console.warn("Requires GSAP 3.11.0 or later"),Zs(),Ae(ne,"scroll",mi);var t=j.hasAttribute("style"),i=j.style,n=i.borderTopStyle,s=R.core.Animation.prototype,o,l;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),i.borderTopStyle="solid",o=fr(j),Ce.m=Math.round(o.top+Ce.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")),En=setInterval(Ya,250),R.delayedCall(.5,function(){return Rn=0}),Ae(ne,"touchcancel",Kt),Ae(j,"touchstart",Kt),An(Ae,ne,"pointerdown,touchstart,mousedown",za),An(Ae,ne,"pointerup,touchend,mouseup",Ia),js=R.utils.checkPrefix("transform"),qn.push(js),yi=Ze(),Un=R.delayedCall(.2,Gr).pause(),vi=[ne,"visibilitychange",function(){var u=U.innerWidth,f=U.innerHeight;ne.hidden?(Da=u,Aa=f):(Da!==u||Aa!==f)&&Ki()},ne,"DOMContentLoaded",Gr,U,"load",Gr,U,"resize",Ki],Dn(Ae),X.forEach(function(u){return u.enable(0,1)}),l=0;l<H.length;l+=3)Ln(De,H[l],H[l+1]),Ln(De,H[l],H[l+2])}},a.config=function(t){"limitCallbacks"in t&&(Gs=!!t.limitCallbacks);var i=t.syncInterval;i&&clearInterval(En)||(En=i)&&setInterval(Ya,i),"ignoreMobileResize"in t&&(eo=a.isTouch===1&&t.ignoreMobileResize),"autoRefreshEvents"in t&&(Dn(De)||Dn(Ae,t.autoRefreshEvents||"none"),Za=(t.autoRefreshEvents+"").indexOf("resize")===-1)},a.scrollerProxy=function(t,i){var n=st(t),s=H.indexOf(n),o=$r(n);~s&&H.splice(s,o?6:2),i&&(o?Ht.unshift(U,i,j,i,Ct,i):Ht.unshift(n,i))},a.clearMatchMedia=function(t){X.forEach(function(i){return i._ctx&&i._ctx.query===t&&i._ctx.kill(!0,!0)})},a.isInViewport=function(t,i,n){var s=(St(t)?st(t):t).getBoundingClientRect(),o=s[n?Qr:Kr]*i||0;return n?s.right-o>0&&s.left+o<U.innerWidth:s.bottom-o>0&&s.top+o<U.innerHeight},a.positionInViewport=function(t,i,n){St(t)&&(t=st(t));var s=t.getBoundingClientRect(),o=s[n?Qr:Kr],l=i==null?o/2:i in Qn?Qn[i]*o:~i.indexOf("%")?parseFloat(i)*o/100:parseFloat(i)||0;return n?(s.left+l)/U.innerWidth:(s.top+l)/U.innerHeight},a.killAll=function(t){if(X.slice(0).forEach(function(n){return n.vars.id!=="ScrollSmoother"&&n.kill()}),t!==!0){var i=Jr.killAll||[];Jr={},i.forEach(function(n){return n()})}},a}();q.version="3.13.0";q.saveStyles=function(a){return a?rn(a).forEach(function(e){if(e&&e.style){var r=bt.indexOf(e);r>=0&&bt.splice(r,5),bt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),R.core.getCache(e),to())}}):bt};q.revert=function(a,e){return _o(!a,e)};q.create=function(a,e){return new q(a,e)};q.refresh=function(a){return a?Ki(!0):(yi||q.register())&&Gr(!0)};q.update=function(a){return++H.cache&&cr(a===!0?2:0)};q.clearScrollMemory=ll;q.maxScroll=function(a,e){return Zt(a,e?Qe:Ce)};q.getScrollFunc=function(a,e){return lr(st(a),e?Qe:Ce)};q.getById=function(a){return io[a]};q.getAll=function(){return X.filter(function(a){return a.vars.id!=="ScrollSmoother"})};q.isScrolling=function(){return!!At};q.snapDirectional=ho;q.addEventListener=function(a,e){var r=Jr[a]||(Jr[a]=[]);~r.indexOf(e)||r.push(e)};q.removeEventListener=function(a,e){var r=Jr[a],t=r&&r.indexOf(e);t>=0&&r.splice(t,1)};q.batch=function(a,e){var r=[],t={},i=e.interval||.016,n=e.batchMax||1e9,s=function(u,f){var _=[],d=[],c=R.delayedCall(i,function(){f(_,d),_=[],d=[]}).pause();return function(g){_.length||c.restart(!0),_.push(g.trigger),d.push(g),n<=_.length&&c.progress(1)}},o;for(o in e)t[o]=o.substr(0,2)==="on"&&$e(e[o])&&o!=="onRefreshInit"?s(o,e[o]):e[o];return $e(n)&&(n=n(),Ae(q,"refresh",function(){return n=e.batchMax()})),rn(a).forEach(function(l){var u={};for(o in t)u[o]=t[o];u.trigger=l,r.push(q.create(u))}),r};var Wa=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+(me.isTouch?" pinch-zoom":""):"none",e===Ct&&a(j,r)},Nn={auto:1,scroll:1},lf=function(e){var r=e.event,t=e.target,i=e.axis,n=(r.changedTouches?r.changedTouches[0]:r).target,s=n._gsap||R.core.getCache(n),o=Ze(),l;if(!s._isScrollT||o-s._isScrollT>2e3){for(;n&&n!==j&&(n.scrollHeight<=n.clientHeight&&n.scrollWidth<=n.clientWidth||!(Nn[(l=Dt(n)).overflowY]||Nn[l.overflowX]));)n=n.parentNode;s._isScroll=n&&n!==t&&!$r(n)&&(Nn[(l=Dt(n)).overflowY]||Nn[l.overflowX]),s._isScrollT=o}(s._isScroll||i==="x")&&(r.stopPropagation(),r._gsapAllow=!0)},cl=function(e,r,t,i){return me.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:r,onWheel:i=i&&lf,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return t&&Ae(ne,me.eventTypes[0],Qa,!1,!0)},onDisable:function(){return De(ne,me.eventTypes[0],Qa,!0)}})},uf=/(input|label|select|textarea)/i,Ga,Qa=function(e){var r=uf.test(e.target.tagName);(r||Ga)&&(e._gsapAllow=!0,Ga=r)},ff=function(e){Wr(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,l,u=st(e.target)||Ct,f=R.core.globals().ScrollSmoother,_=f&&f.get(),d=Mr&&(e.content&&st(e.content)||_&&e.content!==!1&&!_.smooth()&&_.content()),c=lr(u,Ce),g=lr(u,Qe),h=1,m=(me.isTouch&&U.visualViewport?U.visualViewport.scale*U.visualViewport.width:U.outerWidth)/U.innerWidth,T=0,w=$e(i)?function(){return i(o)}:function(){return i||2.8},S,v,b=cl(u,e.type,!0,n),P=function(){return v=!1},x=Kt,M=Kt,C=function(){l=Zt(u,Ce),M=Zi(Mr?1:0,l),t&&(x=Zi(0,Zt(u,Qe))),S=Zr},k=function(){d._gsap.y=Gi(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 Q=Gi(o.deltaY/2),ee=M(c.v-Q);if(d&&ee!==c.v+c.offset){c.offset=ee-c.v;var p=Gi((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, "+p+", 0, 1)",d._gsap.y=p+"px",c.cacheID=H.cache,cr()}return!0}c.offset&&k(),v=!0},O,W,B,V,Y=function(){C(),O.isActive()&&O.vars.scrollY>l&&(c()>l?O.progress(1)&&c(l):O.resetTo("scrollY",l))};return d&&R.set(d,{y:"+=0"}),e.ignoreCheck=function(A){return Mr&&A.type==="touchmove"&&F(A)||h>1.05&&A.type!=="touchstart"||o.isGesturing||A.touches&&A.touches.length>1},e.onPress=function(){v=!1;var A=h;h=Gi((U.visualViewport&&U.visualViewport.scale||1)/m),O.pause(),A!==h&&Js(u,h>1.01?!0:t?!1:"x"),W=g(),B=c(),C(),S=Zr},e.onRelease=e.onGestureStart=function(A,Q){if(c.offset&&k(),!Q)V.restart(!0);else{H.cache++;var ee=w(),p,se;t&&(p=g(),se=p+ee*.05*-A.velocityX/.227,ee*=Wa(g,p,se,Zt(u,Qe)),O.vars.scrollX=x(se)),p=c(),se=p+ee*.05*-A.velocityY/.227,ee*=Wa(c,p,se,Zt(u,Ce)),O.vars.scrollY=M(se),O.invalidate().duration(ee).play(.01),(Mr&&O.vars.scrollY>=l||p>=l-1)&&R.to({},{onUpdate:Y,duration:ee})}s&&s(A)},e.onWheel=function(){O._ts&&O.pause(),Ze()-T>1e3&&(S=0,T=Ze())},e.onChange=function(A,Q,ee,p,se){if(Zr!==S&&C(),Q&&t&&g(x(p[2]===Q?W+(A.startX-A.x):g()+Q-p[1])),ee){c.offset&&k();var Je=se[2]===ee,Lt=Je?B+A.startY-A.y:c()+ee-se[1],he=M(Lt);Je&&Lt!==he&&(B+=he-Lt),c(he)}(ee||Q)&&cr()},e.onEnable=function(){Js(u,t?!1:"x"),q.addEventListener("refresh",Y),Ae(U,"resize",Y),c.smooth&&(c.target.style.scrollBehavior="auto",c.smooth=g.smooth=!1),b.enable()},e.onDisable=function(){Js(u,!0),De(U,"resize",Y),q.removeEventListener("refresh",Y),b.kill()},e.lockAxis=e.lockAxis!==!1,o=new me(e),o.iOS=Mr,Mr&&!c()&&c(1),Mr&&R.ticker.add(Kt),V=o._dc,O=R.to(o,{ease:"power4",paused:!0,inherit:!1,scrollX:t?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:fl(c,c(),function(){return O.pause()})},onUpdate:cr,onComplete:V.vars.onComplete}),o};q.sort=function(a){if($e(a))return X.sort(a);var e=U.pageYOffset||0;return q.getAll().forEach(function(r){return r._sortY=r.trigger?e+r.trigger.getBoundingClientRect().top:r.start+U.innerHeight}),X.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)})};q.observe=function(a){return new me(a)};q.normalizeScroll=function(a){if(typeof a>"u")return ot;if(a===!0&&ot)return ot.enable();if(a===!1){ot&&ot.kill(),ot=a;return}var e=a instanceof me?a:ff(a);return ot&&ot.target===e.target&&ot.kill(),$r(e.target)&&(ot=e),e};q.core={_getVelocityProp:On,_inputObserver:cl,_scrollers:H,_proxies:Ht,bridge:{ss:function(){At||jr("scrollStart"),At=Ze()},ref:function(){return Ke}}};el()&&R.registerPlugin(q);le.registerPlugin(q);function cf(){let a=document.getElementById("home-scroll");if(!a)return;let e=a.querySelector("[pulse-animation-element='hero-title']"),r=a.querySelector("[pulse-animation-element='hero-description']"),t=a.querySelector("[pulse-animation-element='hero-button']"),i=a.querySelector("[pulse-animation-element='hero-blur']"),n=a.querySelector("[pulse-animation-element='hero-blur-overlay']"),s=a.querySelector("#canvas3d"),o=document.querySelector('[pulse-animation-element="col-1-row-1-item-1"]'),l=document.querySelector('[pulse-animation-element="col-1-row-1-item-2"]'),u=document.querySelector('[pulse-animation-element="col-1-row-2-item-1"]'),f=document.querySelector('[pulse-animation-element="col-1-row-2-item-2"]'),_=document.querySelector('[pulse-animation-element="col-1-row-3-item-1"]'),d=document.querySelector('[pulse-animation-element="col-2-row-1-item-1"]'),c=document.querySelector('[pulse-animation-element="col-2-row-1-item-2"]'),g=document.querySelector('[pulse-animation-element="col-2-row-2-item-1"]'),h=document.querySelector('[pulse-animation-element="col-2-row-3-item-1"]'),m=document.querySelector('[pulse-animation-element="col-3-row-1-item-1"]'),T=document.querySelector('[pulse-animation-element="col-3-row-2-col-1-item-1"]'),w=document.querySelector('[pulse-animation-element="col-3-row-2-col-1-item-2"]'),S=document.querySelector('[pulse-animation-element="col-3-row-2-col-2-item-1"]'),v=document.querySelector('[pulse-animation-element="col-3-row-2-col-2-item-2"]'),b=document.querySelector('[pulse-animation-element="col-3-row-3-item-1"]'),P=document.querySelector('[pulse-animation-element="canvas"]'),x=document.querySelector('[pulse-animation-element="radial-gradient-wrapper"]'),M=[o,l,u,f,_,d,c,h,m,T,w,S,v,b].filter(Boolean),C=g,k=document.querySelector('[pulse-animation-element="player-inner-elements"]'),F=document.querySelector('[pulse-animation-element="player-radius-rect"]'),O=document.querySelector('[pulse-animation-element="line-art"]');if(!F){console.warn("Player radius rect not found");return}let W=F.getTotalLength(),B=document.querySelector('[pulse-animation-element="player-handle"]'),V=document.querySelector('[pulse-animation-element="player-handle-tail"]'),Y=document.querySelector('[pulse-animation-element="handle-wrapper"]'),A=document.querySelector('[pulse-animation-element="player-progress-wrapper"]'),Q=document.querySelector('[pulse-animation-element="launch-button"]'),ee=document.querySelector('[pulse-animation-element="launch-title"]');console.log("playerHandle:",B),console.log("Player position element:",C);let p=le.timeline({defaults:{ease:"power2.out",duration:1},scrollTrigger:{trigger:a,start:"top bottom",end:"bottom top",scrub:!0,invalidateOnRefresh:!0}});le.set(i,{yPercent:32}),le.set([n],{y:0}),le.set(n,{opacity:1}),le.set(x,{opacity:0}),p.addLabel("start",0),p.fromTo(e,{y:1100},{y:-400,ease:"power2.out",duration:1.2,immediateRender:!1},"start+=0.1"),p.fromTo(r,{y:680},{y:-400,ease:"power2.out",duration:1.2,immediateRender:!1},"start+=0.2"),p.fromTo(t,{y:440},{y:-500,ease:"power2.out",duration:1.2,immediateRender:!1},"start+=0.3"),p.to(i,{yPercent:-100,ease:"power2.out",duration:1.2,delay:.2,immediateRender:!1},"start+=0.2"),p.to(n,{y:-1200,ease:"power2.out",duration:1,delay:.2,immediateRender:!1},"start+=0.2"),p.to([e,r,t],{scale:.95,duration:.8,ease:"power2.out",immediateRender:!1},"start+=0.4"),p.to([e,r,t],{opacity:0,duration:.1,delay:.1,ease:"power2.out",immediateRender:!1},"start+=0.35"),le.set(M,{opacity:0,scale:()=>le.utils.random(.5,.95),y:()=>le.utils.random(40,60)}),le.set(C,{opacity:1,scale:.5}),le.set(k,{scale:.8}),le.set(F,{opacity:0}),le.set(A,{opacity:0,scale:.8}),le.set(O,{opacity:0,scale:.5}),le.set(s,{height:"auto"}),le.set(B,{rotation:-10}),le.set(V,{rotation:-10}),le.set([Y],{scale:.8,opacity:0}),le.set(ee,{y:50,opacity:0,scale:.95}),le.set(Q,{y:-50,opacity:0,scale:.95}),p.addLabel("grid-in","start+=0.5"),p.to(M,{scale:1,y:0,ease:"power2.out",duration:()=>le.utils.random(.4,.8),stagger:{amount:.1,from:"random"},immediateRender:!1},"grid-in"),p.to(M,{opacity:1,ease:"power2.out",duration:()=>le.utils.random(.2,.4),stagger:{amount:.1,from:"random"},immediateRender:!1},"grid-in"),p.to(s,{height:"100%",ease:"power2.out",duration:.5,immediateRender:!1},"grid-in"),p.to(C,{opacity:1,scale:1,ease:"power2.out",duration:.3,immediateRender:!1},"grid-in"),p.to(k,{scale:1,ease:"power2.out",duration:.3,immediateRender:!1},"grid-in"),p.to(k,{opacity:1,ease:"power2.out",duration:.1,immediateRender:!1},"grid-in+=0.1"),p.fromTo(O,{opacity:0},{opacity:1,ease:"power2.out",duration:.2,immediateRender:!1},"grid-in+=0.1"),p.fromTo(O,{scale:.5},{scale:1,ease:"power2.out",duration:.5,immediateRender:!1},"grid-in+=0.2"),p.to(F,{opacity:1,ease:"power2.out",duration:.3,immediateRender:!1},"grid-in+=0.3"),B&&V&&Y&&(p.to([Y],{opacity:1,scale:1,duration:.1,ease:"power2.out",immediateRender:!1},"grid-in+=0.4"),p.to(B,{rotation:30,duration:.5,ease:"power2.out",immediateRender:!1},"grid-in+=0.4"),p.to(V,{rotation:30,duration:.5,ease:"power2.out",immediateRender:!1},"grid-in+=0.4")),ee&&Q&&p.to([ee,Q],{y:0,opacity:1,scale:1,duration:.2,ease:"power2.out",immediateRender:!1},"grid-in+=0.35"),x&&p.to(x,{opacity:.8,duration:.1,ease:"power2.out",immediateRender:!1},"grid-in+=0.4"),A&&p.fromTo(A,{opacity:0,scale:.8},{opacity:1,scale:1,duration:.2,ease:"power2.out",immediateRender:!1},"grid-in+=0.4"),p.to(M,{opacity:.5,ease:"power2.out",duration:.2,stagger:{amount:.1,from:"random"},immediateRender:!1},"grid-in+=0.30")}typeof window<"u"&&(window.addEventListener("DOMContentLoaded",()=>{cf()}),window.addEventListener("load",()=>{q.refresh()}));})();
1
+ "use strict";(()=>{function rr(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 dt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},ni={duration:.5,overwrite:!1,delay:0},ps,Be,ae,Mt=1e8,ie=1/Mt,ns=Math.PI*2,hl=ns/4,_l=0,So=Math.sqrt,dl=Math.cos,pl=Math.sin,Me=function(e){return typeof e=="string"},pe=function(e){return typeof e=="function"},nr=function(e){return typeof e=="number"},mn=function(e){return typeof e>"u"},Gt=function(e){return typeof e=="object"},_t=function(e){return e!==!1},gs=function(){return typeof window<"u"},ln=function(e){return pe(e)||Me(e)},Co=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},We=Array.isArray,ss=/(?:-?\.?\d|\.)+/gi,ms=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Ir=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,$n=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,ys=/[+-]=-?[.\d]+/,Po=/[^,'"\[\]\s]+/gi,gl=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,fe,Ut,os,vs,xt={},hn={},ko,Mo=function(e){return(hn=si(e,xt))&&Ge},yn=function(e,r){return console.warn("Invalid property",e,"set to",r,"Missing plugin? gsap.registerPlugin()")},Di=function(e,r){return!r&&console.warn(e)},Oo=function(e,r){return e&&(xt[e]=r)&&hn&&(hn[e]=r)||xt},Ai=function(){return 0},ml={suppressEvents:!0,isStart:!0,kill:!1},un={suppressEvents:!0,kill:!1},yl={suppressEvents:!0},xs={},vr=[],as={},Eo,ct={},Jn={},go=30,fn=[],ws="",Ts=function(e){var r=e[0],t,i;if(Gt(r)||pe(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},xr=function(e){return e._gsap||Ts(Ot(e))[0]._gsap},bs=function(e,r,t){return(t=e[r])&&pe(t)?e[r]():mn(t)&&e.getAttribute&&e.getAttribute(r)||t},tt=function(e,r){return(e=e.split(",")).forEach(r)||e},ge=function(e){return Math.round(e*1e5)/1e5||0},Se=function(e){return Math.round(e*1e7)/1e7||0},Br=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},vl=function(e,r){for(var t=r.length,i=0;e.indexOf(r[i])<0&&++i<t;);return i<t},_n=function(){var e=vr.length,r=vr.slice(0),t,i;for(as={},vr.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)},Ro=function(e,r,t,i){vr.length&&!Be&&_n(),e.render(r,t,i||!!(Be&&r<0&&Ss(e))),vr.length&&!Be&&_n()},Do=function(e){var r=parseFloat(e);return(r||r===0)&&(e+"").match(Po).length<2?r:Me(e)?e.trim():e},Ao=function(e){return e},wt=function(e,r){for(var t in r)t in e||(e[t]=r[t]);return e},xl=function(e){return function(r,t){for(var i in t)i in r||i==="duration"&&e||i==="ease"||(r[i]=t[i])}},si=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]=Gt(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},Oi=function(e){var r=e.parent||fe,t=e.keyframes?xl(We(e.keyframes)):wt;if(_t(e.inherit))for(;r;)t(e,r.vars.defaults),r=r.parent||r._dp;return e},wl=function(e,r){for(var t=e.length,i=t===r.length;i&&t--&&e[t]===r[t];);return t<0},Lo=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},wr=function(e,r){e.parent&&(!r||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Lr=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},Tl=function(e){for(var r=e.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return e},ls=function(e,r,t,i){return e._startAt&&(Be?e._startAt.revert(un):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(r,!0,i))},bl=function a(e){return!e||e._ts&&a(e.parent)},yo=function(e){return e._repeat?oi(e._tTime,e=e.duration()+e._rDelay)*e:0},oi=function(e,r){var t=Math.floor(e=Se(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=Se(e._start+(e._tDur/Math.abs(e._ts||e._rts||ie)||0))},wn=function(e,r){var t=e._dp;return t&&t.smoothChildTiming&&e._ts&&(e._start=Se(t._time-(e._ts>0?r/e._ts:((e._dirty?e.totalDuration():e._tDur)-r)/-e._ts)),xn(e),t._dirty||Lr(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||zi(0,r.totalDuration(),t)-r._tTime>ie)&&r.render(t,!0)),Lr(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=-ie}},Wt=function(e,r,t,i){return r.parent&&wr(r),r._start=Se((nr(t)?t:t||e!==fe?kt(e,t,r):e._time)+r._delay),r._end=Se(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),Lo(e,r,"_first","_last",e._sort?"_start":0),us(r)||(e._recent=r),i||Fo(e,r),e._ts<0&&wn(e,e._tTime),e},zo=function(e,r){return(xt.ScrollTrigger||yn("scrollTrigger",r))&&xt.ScrollTrigger.create(r,e)},Io=function(e,r,t,i,n){if(Os(e,r,n),!e._initted)return 1;if(!t&&e._pt&&!Be&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Eo!==ht.frame)return vr.push(e),e._lazy=[n,i],1},Sl=function a(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||a(r))},us=function(e){var r=e.data;return r==="isFromStart"||r==="isStart"},Cl=function(e,r,t,i){var n=e.ratio,s=r<0||!r&&(!e._start&&Sl(e)&&!(!e._initted&&us(e))||(e._ts<0||e._dp._ts<0)&&!us(e))?0:1,o=e._rDelay,l=0,u,f,_;if(o&&e._repeat&&(l=zi(0,e._tDur,r),f=oi(l,o),e._yoyo&&f&1&&(s=1-s),f!==oi(e._tTime,o)&&(n=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==n||Be||i||e._zTime===ie||!r&&e._zTime){if(!e._initted&&Io(e,r,i,t,l))return;for(_=e._zTime,e._zTime=r||(t?ie:0),t||(t=r&&!_),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=l,u=e._pt;u;)u.r(s,u.d),u=u._next;r<0&&ls(e,r,t,!0),e._onUpdate&&!t&&vt(e,"onUpdate"),l&&e._repeat&&!t&&e.parent&&vt(e,"onRepeat"),(r>=e._tDur||r<0)&&e.ratio===s&&(s&&wr(e,1),!t&&!Be&&(vt(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=r)},Pl=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}},ai=function(e,r,t,i){var n=e._repeat,s=Se(r)||0,o=e._tTime/e._tDur;return o&&!i&&(e._time*=s/e._dur),e._dur=s,e._tDur=n?n<0?1e10:Se(s*(n+1)+e._rDelay*n):s,o>0&&!i&&wn(e,e._tTime=e._tDur*o),e.parent&&xn(e),t||Lr(e.parent,e),e},vo=function(e){return e instanceof Ie?Lr(e):ai(e,e._dur)},kl={_start:0,endTime:Ai,totalDuration:Ai},kt=function a(e,r,t){var i=e.labels,n=e._recent||kl,s=e.duration()>=Mt?n.endTime(!1):e._dur,o,l,u;return Me(r)&&(isNaN(r)||r in i)?(l=r.charAt(0),u=r.substr(-1)==="%",o=r.indexOf("="),l==="<"||l===">"?(o>=0&&(r=r.replace(/=/,"")),(l==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(r.substr(1))||0)*(u?(o<0?n:t).totalDuration()/100:1)):o<0?(r in i||(i[r]=s),i[r]):(l=parseFloat(r.charAt(o-1)+r.substr(o+1)),u&&t&&(l=l/100*(We(t)?t[0]:t).totalDuration()),o>1?a(e,r.substr(0,o-1),t)+l:s+l)):r==null?s:+r},Ei=function(e,r,t){var i=nr(r[1]),n=(i?2:1)+(e<2?0:1),s=r[n],o,l;if(i&&(s.duration=r[1]),s.parent=t,e){for(o=s,l=t;l&&!("immediateRender"in o);)o=l.vars.defaults||{},l=_t(l.vars.inherit)&&l.parent;s.immediateRender=_t(o.immediateRender),e<2?s.runBackwards=1:s.startAt=r[n-1]}return new we(r[0],s,r[n+1])},Tr=function(e,r){return e||e===0?r(e):r},zi=function(e,r,t){return t<e?e:t>r?r:t},Ne=function(e,r){return!Me(e)||!(r=gl.exec(e))?"":r[1]},Ml=function(e,r,t){return Tr(t,function(i){return zi(e,r,i)})},fs=[].slice,Bo=function(e,r){return e&&Gt(e)&&"length"in e&&(!r&&!e.length||e.length-1 in e&&Gt(e[0]))&&!e.nodeType&&e!==Ut},Ol=function(e,r,t){return t===void 0&&(t=[]),e.forEach(function(i){var n;return Me(i)&&!r||Bo(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):Me(e)&&!t&&(os||!li())?fs.call((r||vs).querySelectorAll(e),0):We(e)?Ol(e,t):Bo(e)?fs.call(e,0):e?[e]:[]},cs=function(e){return e=Ot(e)[0]||Di("Invalid scope")||{},function(r){var t=e.current||e.nativeElement||e;return Ot(r,t.querySelectorAll?t:t===e?Di("Invalid scope")||vs.createElement("div"):e)}},No=function(e){return e.sort(function(){return .5-Math.random()})},Yo=function(e){if(pe(e))return e;var r=Gt(e)?e:{each:e},t=Fr(r.ease),i=r.from||0,n=parseFloat(r.base)||0,s={},o=i>0&&i<1,l=isNaN(i)||o,u=r.axis,f=i,_=i;return Me(i)?f=_={center:.5,edges:.5,end:1}[i]||0:!o&&l&&(f=i[0],_=i[1]),function(d,c,g){var h=(g||r).length,m=s[h],T,w,S,v,b,P,x,M,C;if(!m){if(C=r.grid==="auto"?0:(r.grid||[1,Mt])[1],!C){for(x=-Mt;x<(x=g[C++].getBoundingClientRect().left)&&C<h;);C<h&&C--}for(m=s[h]=[],T=l?Math.min(C,h)*f-.5:i%C,w=C===Mt?0:l?h*_/C-.5:i/C|0,x=0,M=Mt,P=0;P<h;P++)S=P%C-T,v=w-(P/C|0),m[P]=b=u?Math.abs(u==="y"?v:S):So(S*S+v*v),b>x&&(x=b),b<M&&(M=b);i==="random"&&No(m),m.max=x-M,m.min=M,m.v=h=(parseFloat(r.amount)||parseFloat(r.each)*(C>h?h-1:u?u==="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,Se(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=Se(Math.round(parseFloat(t)/e)*e*r);return(i-i%1)/r+(nr(t)?0:Ne(t))}},Ho=function(e,r){var t=We(e),i,n;return!t&&Gt(e)&&(i=t=e.radius||Mt,e.values?(e=Ot(e.values),(n=!nr(e[0]))&&(i*=i)):e=hs(e.increment)),Tr(r,t?pe(e)?function(s){return n=e(s),Math.abs(n-s)<=i?n:s}:function(s){for(var o=parseFloat(n?s.x:s),l=parseFloat(n?s.y:0),u=Mt,f=0,_=e.length,d,c;_--;)n?(d=e[_].x-o,c=e[_].y-l,d=d*d+c*c):d=Math.abs(e[_]-o),d<u&&(u=d,f=_);return f=!i||u<=i?e[f]:s,n||f===s||nr(s)?f:f+Ne(s)}:hs(e))},Xo=function(e,r,t,i){return Tr(We(e)?!r:t===!0?!!(t=0):!i,function(){return We(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})},El=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)}},Rl=function(e,r){return function(t){return e(parseFloat(t))+(r||Ne(t))}},Dl=function(e,r,t){return Vo(e,r,0,1,t)},qo=function(e,r,t){return Tr(t,function(i){return e[~~r(i)]})},Al=function a(e,r,t){var i=r-e;return We(e)?qo(e,a(0,e.length),r):Tr(t,function(n){return(i+(n-e)%i)%i+e})},Ll=function a(e,r,t){var i=r-e,n=i*2;return We(e)?qo(e,a(0,e.length-1),r):Tr(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)+Xo(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 Tr(n,function(l){return t+((l-e)/s*o||0)})},Fl=function a(e,r,t,i){var n=isNaN(e+r)?0:function(c){return(1-c)*e+c*r};if(!n){var s=Me(e),o={},l,u,f,_,d;if(t===!0&&(i=1)&&(t=null),s)e={p:e},r={p:r};else if(We(e)&&!We(r)){for(f=[],_=e.length,d=_-2,u=1;u<_;u++)f.push(a(e[u-1],e[u]));_--,n=function(g){g*=_;var h=Math.min(d,~~g);return f[h](g-h)},t=r}else i||(e=si(We(e)?[]:{},e));if(!f){for(l in r)ks.call(o,e,l,"get",r[l]);n=function(g){return Ds(g,o)||(s?e.p:e)}}}return Tr(t,n)},xo=function(e,r,t){var i=e.labels,n=Mt,s,o,l;for(s in i)o=i[s]-r,o<0==!!t&&o&&n>(o=Math.abs(o))&&(l=s,n=o);return l},vt=function(e,r,t){var i=e.vars,n=i[r],s=ae,o=e._ctx,l,u,f;if(n)return l=i[r+"Params"],u=i.callbackScope||e,t&&vr.length&&_n(),o&&(ae=o),f=l?n.apply(u,l):n.call(u),ae=s,f},ki=function(e){return wr(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Be),e.progress()<1&&vt(e,"onInterrupt"),e},ii,Uo=[],Wo=function(e){if(e)if(e=!e.name&&e.default||e,gs()||e.headless){var r=e.name,t=pe(e),i=r&&!t&&e.init?function(){this._props=[]}:e,n={init:Ai,render:Ds,add:ks,kill:$l,modifier:Zl,rawVars:0},s={targetTest:0,get:0,getSetter:Tn,aliases:{},register:0};if(li(),e!==i){if(ct[r])return;wt(i,wt(dn(e,n),s)),si(i.prototype,si(n,dn(e,s))),ct[i.prop=r]=i,e.targetTest&&(fn.push(i),xs[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}Oo(r,i),e.register&&e.register(Ge,i,rt)}else Uo.push(e)},re=255,Mi={aqua:[0,re,re],lime:[0,re,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,re],navy:[0,0,128],white:[re,re,re],olive:[128,128,0],yellow:[re,re,0],orange:[re,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[re,0,0],pink:[re,192,203],cyan:[0,re,re],transparent:[re,re,re,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)*re+.5|0},Go=function(e,r,t){var i=e?nr(e)?[e>>16,e>>8&re,e&re]:0:Mi.black,n,s,o,l,u,f,_,d,c,g;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Mi[e])i=Mi[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&re,i&re,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&re,e&re]}else if(e.substr(0,3)==="hsl"){if(i=g=e.match(ss),!r)l=+i[0]%360/360,u=+i[1]/100,f=+i[2]/100,s=f<=.5?f*(u+1):f+u-f*u,n=f*2-s,i.length>3&&(i[3]*=1),i[0]=jn(l+1/3,n,s),i[1]=jn(l,n,s),i[2]=jn(l-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)||Mi.transparent;i=i.map(Number)}return r&&!g&&(n=i[0]/re,s=i[1]/re,o=i[2]/re,_=Math.max(n,s,o),d=Math.min(n,s,o),f=(_+d)/2,_===d?l=u=0:(c=_-d,u=f>.5?c/(2-_-d):c/(_+d),l=_===n?(s-o)/c+(s<o?6:0):_===s?(o-n)/c+2:(n-s)/c+4,l*=60),i[0]=~~(l+.5),i[1]=~~(u*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(ir).forEach(function(n){var s=n.match(Ir)||[];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(ir),s=r?"hsla(":"rgba(",o=0,l,u,f,_;if(!n)return e;if(n=n.map(function(d){return(d=Go(d,r,1))&&s+(r?d[0]+","+d[1]+"%,"+d[2]+"%,"+d[3]:d.join(","))+")"}),t&&(f=Qo(e),l=t.c,l.join(i)!==f.c.join(i)))for(u=e.replace(ir,"1").split(Ir),_=u.length-1;o<_;o++)i+=u[o]+(~l.indexOf(o)?n.shift()||s+"0,0,0,0)":(f.length?f:n.length?n:t).shift());if(!u)for(u=e.split(ir),_=u.length-1;o<_;o++)i+=u[o]+n[o];return i+u[_]},ir=function(){var a="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in Mi)a+="|"+e+"\\b";return new RegExp(a+")","gi")}(),zl=/hsl[a]?\(/,Cs=function(e){var r=e.join(" "),t;if(ir.lastIndex=0,ir.test(r))return t=zl.test(r),e[1]=wo(e[1],t),e[0]=wo(e[0],t,Qo(e[1])),!0},Li,ht=function(){var a=Date.now,e=500,r=33,t=a(),i=t,n=1e3/240,s=n,o=[],l,u,f,_,d,c,g=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||(l=u(h)),v)for(c=0;c<o.length;c++)o[c](b,d,P,m)};return _={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(m){return d/(1e3/(m||60))},wake:function(){ko&&(!os&&gs()&&(Ut=os=window,vs=Ut.document||{},xt.gsap=Ge,(Ut.gsapVersions||(Ut.gsapVersions=[])).push(Ge.version),Mo(hn||Ut.GreenSockGlobals||!Ut.gsap&&Ut||{}),Uo.forEach(Wo)),f=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&_.sleep(),u=f||function(m){return setTimeout(m,s-_.time*1e3+1|0)},Li=1,g(2))},sleep:function(){(f?cancelAnimationFrame:clearTimeout)(l),Li=0,u=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),li(),S},remove:function(m,T){~(T=o.indexOf(m))&&o.splice(T,1)&&c>=T&&c--},_listeners:o},_}(),li=function(){return!Li&&ht.wake()},Z={},Il=/^[\d.\-M][\d.\-,\s]/,Bl=/["']/g,Nl=function(e){for(var r={},t=e.substr(1,e.length-3).split(":"),i=t[0],n=1,s=t.length,o,l,u;n<s;n++)l=t[n],o=n!==s-1?l.lastIndexOf(","):l.length,u=l.substr(0,o),r[i]=isNaN(u)?u.replace(Bl,"").trim():+u,i=l.substr(o+1).trim();return r},Yl=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)},Hl=function(e){var r=(e+"").split("("),t=Z[r[0]];return t&&r.length>1&&t.config?t.config.apply(null,~e.indexOf("{")?[Nl(r[1])]:Yl(e).split(",").map(Do)):Z._CE&&Il.test(e)?Z._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 Ie?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},Fr=function(e,r){return e&&(pe(e)?e:Z[e]||Hl(e))||r},Nr=function(e,r,t,i){t===void 0&&(t=function(l){return 1-r(1-l)}),i===void 0&&(i=function(l){return l<.5?r(l*2)/2:1-r((1-l)*2)/2});var n={easeIn:r,easeOut:t,easeInOut:i},s;return tt(e,function(o){Z[o]=xt[o]=n,Z[s=o.toLowerCase()]=t;for(var l in n)Z[s+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=Z[o+"."+l]=n[l]}),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)*pl((f-s)*n)+1},l=e==="out"?o:e==="in"?function(u){return 1-o(1-u)}:$o(o);return n=ns/n,l.config=function(u,f){return a(e,u,f)},l},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};tt("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})});Z.Linear.easeNone=Z.none=Z.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:-dl(a*hl)+1});Nr("Back",ts("in"),ts("out"),ts());Z.SteppedEase=Z.steps=xt.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-ie;return function(o){return((i*zi(0,s,o)|0)+n)*t}}};ni.ease=Z["quad.out"];tt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(a){return ws+=a+","+a+"Params,"});var Ps=function(e,r){this.id=_l++,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,ai(this,+r.duration,1,1),this.data=r.data,ae&&(this._ctx=ae,ae.data.push(this)),Li||ht.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,ai(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,i){if(li(),!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)&&Wt(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===ie||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),Ro(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?oi(this._tTime,n)+1:1},e.timeScale=function(t,i){if(!arguments.length)return this._rts===-ie?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===-ie?0:this._rts,this.totalTime(zi(-Math.abs(this._delay),this.totalDuration(),n),i!==!1),xn(this),Tl(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):(li(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==ie&&(this._tTime-=ie)))),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)&&Wt(i,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(_t(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=yl);var i=Be;return Be=t,Ss(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),this.data!=="nested"&&t.kill!==!1&&this.kill(),Be=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(kt(this,t),_t(i))},e.restart=function(t,i){return this.play().totalTime(t?-this._delay:0,_t(i)),this._dur||(this._zTime=-ie),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?-ie:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-ie,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)-ie)},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=pe(t)?t:Ao,o=function(){var u=i.then;i.then=null,pe(s)&&(s=s(i))&&(s.then||s===i)&&(i.then=u),n(s),i.then=u};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?o():i._prom=o})},e.kill=function(){ki(this)},a}();wt(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:-ie,_prom:0,_ps:!1,_rts:1});var Ie=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=_t(t.sortChildren),fe&&Wt(t.parent||fe,rr(n),i),t.reversed&&n.reverse(),t.paused&&n.paused(!0),t.scrollTrigger&&zo(rr(n),t.scrollTrigger),n}var r=e.prototype;return r.to=function(i,n,s){return Ei(0,arguments,this),this},r.from=function(i,n,s){return Ei(1,arguments,this),this},r.fromTo=function(i,n,s,o){return Ei(2,arguments,this),this},r.set=function(i,n,s){return n.duration=0,n.parent=this,Oi(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new we(i,n,kt(this,s),1),this},r.call=function(i,n,s){return Wt(this,we.delayedCall(0,i,n),s)},r.staggerTo=function(i,n,s,o,l,u,f){return s.duration=n,s.stagger=s.stagger||o,s.onComplete=u,s.onCompleteParams=f,s.parent=this,new we(i,s,kt(this,l)),this},r.staggerFrom=function(i,n,s,o,l,u,f){return s.runBackwards=1,Oi(s).immediateRender=_t(s.immediateRender),this.staggerTo(i,n,s,o,l,u,f)},r.staggerFromTo=function(i,n,s,o,l,u,f,_){return o.startAt=s,Oi(o).immediateRender=_t(o.immediateRender),this.staggerTo(i,n,o,l,u,f,_)},r.render=function(i,n,s){var o=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,f=i<=0?0:Se(i),_=this._zTime<0!=i<0&&(this._initted||!u),d,c,g,h,m,T,w,S,v,b,P,x;if(this!==fe&&f>l&&i>=0&&(f=l),f!==this._tTime||s||_){if(o!==this._time&&u&&(f+=this._time-o,i+=this._time-o),d=f,v=this._start,S=this._ts,T=!S,_&&(u||(o=this._zTime),(i||!n)&&(this._zTime=i)),this._repeat){if(P=this._yoyo,m=u+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(m*100+i,n,s);if(d=Se(f%m),f===l?(h=this._repeat,d=u):(b=Se(f/m),h=~~b,h&&h===b&&(d=u,h--),d>u&&(d=u)),b=oi(this._tTime,m),!o&&this._tTime&&b!==h&&this._tTime-b*m-this._dur<=0&&(b=h),P&&h&1&&(d=u-d,x=1),h!==b&&!this._lock){var M=P&&b&1,C=M===(P&&h&1);if(h<b&&(M=!M),o=M?0:f%u?u:f,this._lock=1,this.render(o||(x?0:Se(h*m)),n,!u)._lock=0,this._tTime=f,!n&&this.parent&&vt(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(u=this._dur,l=this._tDur,C&&(this._lock=2,o=M?u:-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=Pl(this,Se(o),Se(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&&(vt(this,"onStart"),this._tTime!==f))return this;if(d>=o&&i>=0)for(c=this._first;c;){if(g=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,g&&(f+=this._zTime=-ie);break}}c=g}else{c=this._last;for(var k=i<0?i:d;c;){if(g=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||Be&&Ss(c)),d!==this._time||!this._ts&&!T){w=0,g&&(f+=this._zTime=k?-ie:ie);break}}c=g}}if(w&&!n&&(this.pause(),w.render(d>=o?0:-ie)._zTime=d>=o?1:-1,this._ts))return this._start=v,xn(this),this.render(i,n,s);this._onUpdate&&!n&&vt(this,"onUpdate",!0),(f===l&&this._tTime>=this.totalDuration()||!f&&o)&&(v===this._start||Math.abs(S)!==Math.abs(this._ts))&&(this._lock||((i||!u)&&(f===l&&this._ts>0||!f&&this._ts<0)&&wr(this,1),!n&&!(i<0&&!o)&&(f||o||!l)&&(vt(this,f===l&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(f<l&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(i,n){var s=this;if(nr(n)||(n=kt(this,n,i)),!(i instanceof Fi)){if(We(i))return i.forEach(function(o){return s.add(o,n)}),this;if(Me(i))return this.addLabel(i,n);if(pe(i))i=we.delayedCall(0,i);else return this}return this!==i?Wt(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=-Mt);for(var l=[],u=this._first;u;)u._start>=o&&(u instanceof we?n&&l.push(u):(s&&l.push(u),i&&l.push.apply(l,u.getChildren(!0,n,s)))),u=u._next;return l},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 Me(i)?this.removeLabel(i):pe(i)?this.killTweensOf(i):(i.parent===this&&vn(this,i),i===this._recent&&(this._recent=this._last),Lr(this))},r.totalTime=function(i,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Se(ht.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]=kt(this,n),this},r.removeLabel=function(i){return delete this.labels[i],this},r.addPause=function(i,n,s){var o=we.delayedCall(0,n||Ai,s);return o.data="isPause",this._hasPause=1,Wt(this,o,kt(this,i))},r.removePause=function(i){var n=this._first;for(i=kt(this,i);n;)n._start===i&&n.data==="isPause"&&wr(n),n=n._next},r.killTweensOf=function(i,n,s){for(var o=this.getTweensOf(i,s),l=o.length;l--;)yr!==o[l]&&o[l].kill(i,n);return this},r.getTweensOf=function(i,n){for(var s=[],o=Ot(i),l=this._first,u=nr(n),f;l;)l instanceof we?vl(l._targets,o)&&(u?(!yr||l._initted&&l._ts)&&l.globalTime(0)<=n&&l.globalTime(l.totalDuration())>n:!n||l.isActive())&&s.push(l):(f=l.getTweensOf(o,n)).length&&s.push.apply(s,f),l=l._next;return s},r.tweenTo=function(i,n){n=n||{};var s=this,o=kt(s,i),l=n,u=l.startAt,f=l.onStart,_=l.onStartParams,d=l.immediateRender,c,g=we.to(s,wt({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:n.duration||Math.abs((o-(u&&"time"in u?u.time:s._time))/s.timeScale())||ie,onStart:function(){if(s.pause(),!c){var m=n.duration||Math.abs((o-(u&&"time"in u?u.time:s._time))/s.timeScale());g._dur!==m&&ai(g,m,0,1).render(g._time,!0,!0),c=1}f&&f.apply(g,_||[])}},n));return d?g.render(0):g},r.tweenFromTo=function(i,n,s){return this.tweenTo(n,wt({startAt:{time:kt(this,i)}},s))},r.recent=function(){return this._recent},r.nextLabel=function(i){return i===void 0&&(i=this._time),xo(this,kt(this,i))},r.previousLabel=function(i){return i===void 0&&(i=this._time),xo(this,kt(this,i),1)},r.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+ie)},r.shiftChildren=function(i,n,s){s===void 0&&(s=0);for(var o=this._first,l=this.labels,u;o;)o._start>=s&&(o._start+=i,o._end+=i),o=o._next;if(n)for(u in l)l[u]>=s&&(l[u]+=i);return Lr(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={}),Lr(this)},r.totalDuration=function(i){var n=0,s=this,o=s._last,l=Mt,u,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;)u=o._prev,o._dirty&&o.totalDuration(),f=o._start,f>l&&s._sort&&o._ts&&!s._lock?(s._lock=1,Wt(s,o,f-o._delay,1)._lock=0):l=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),l=0),o._end>n&&o._ts&&(n=o._end),o=u;ai(s,s===fe&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(i){if(fe._ts&&(Ro(fe,pn(i,fe)),Eo=ht.frame),ht.frame>=go){go+=dt.autoSleep||120;var n=fe._first;if((!n||!n._ts)&&dt.autoSleep&&ht._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||ht.sleep()}}},e}(Fi);wt(Ie.prototype,{_lock:0,_hasPause:0,_forcing:0});var Xl=function(e,r,t,i,n,s,o){var l=new rt(this._pt,e,r,0,1,Rs,null,n),u=0,f=0,_,d,c,g,h,m,T,w;for(l.b=t,l.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);)g=_[0],h=i.substring(u,_.index),c?c=(c+1)%5:h.substr(-5)==="rgba("&&(c=1),g!==d[f++]&&(m=parseFloat(d[f-1])||0,l._pt={_next:l._pt,p:h||f===1?h:",",s:m,c:g.charAt(1)==="="?Br(m,g)-m:parseFloat(g)-m,m:c&&c<4?Math.round:0},u=$n.lastIndex);return l.c=u<i.length?i.substring(u,i.length):"",l.fp=o,(ys.test(i)||T)&&(l.e=0),this._pt=l,l},ks=function(e,r,t,i,n,s,o,l,u,f){pe(i)&&(i=i(n||0,e,s));var _=e[r],d=t!=="get"?t:pe(_)?u?e[r.indexOf("set")||!pe(e["get"+r.substr(3)])?r:"get"+r.substr(3)](u):e[r]():_,c=pe(_)?u?Gl:ea:Es,g;if(Me(i)&&(~i.indexOf("random(")&&(i=ui(i)),i.charAt(1)==="="&&(g=Br(d,i)+(Ne(d)||0),(g||g===0)&&(i=g))),!f||d!==i||_s)return!isNaN(d*i)&&i!==""?(g=new rt(this._pt,e,r,+d||0,i-(d||0),typeof _=="boolean"?Kl:ta,0,c),u&&(g.fp=u),o&&g.modifier(o,this,e),this._pt=g):(!_&&!(r in e)&&yn(r,i),Xl.call(this,e,r,d,i,c,l||dt.stringFilter,u))},ql=function(e,r,t,i,n){if(pe(e)&&(e=Ri(e,n,r,t,i)),!Gt(e)||e.style&&e.nodeType||We(e)||Co(e))return Me(e)?Ri(e,n,r,t,i):e;var s={},o;for(o in e)s[o]=Ri(e[o],n,r,t,i);return s},Ms=function(e,r,t,i,n,s){var o,l,u,f;if(ct[e]&&(o=new ct[e]).init(n,o.rawVars?r[e]:ql(r[e],i,n,s,t),t,i,s)!==!1&&(t._pt=l=new rt(t._pt,n,e,0,1,o.render,o,0,o.priority),t!==ii))for(u=t._ptLookup[t._targets.indexOf(n)],f=o._props.length;f--;)u[o._props[f]]=l;return o},yr,_s,Os=function a(e,r,t){var i=e.vars,n=i.ease,s=i.startAt,o=i.immediateRender,l=i.lazy,u=i.onUpdate,f=i.runBackwards,_=i.yoyoEase,d=i.keyframes,c=i.autoRevert,g=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,M,C,k,F,O,W,B,V,Y,A;if(v&&(!d||!n)&&(n="none"),e._ease=Fr(n,ni.ease),e._yEase=_?Ko(Fr(_===!0?n:_,ni.ease)):0,_&&e._yoyo&&!e._repeat&&(_=e._yEase,e._yEase=e._ease,e._ease=_),e._from=!v&&!!i.runBackwards,!v||d&&!i.stagger){if(O=m[0]?xr(m[0]).harness:0,Y=O&&i[O.prop],b=dn(i,xs),h&&(h._zTime<0&&h.progress(1),r<0&&f&&o&&!c?h.render(-1,!0):h.revert(f&&g?un:ml),h._lazy=0),s){if(wr(e._startAt=we.set(m,wt({data:"isStart",overwrite:!1,parent:T,immediateRender:!0,lazy:!h&&_t(l),startAt:null,delay:0,onUpdate:u&&function(){return vt(e,"onUpdate")},stagger:0},s))),e._startAt._dp=0,e._startAt._sat=e,r<0&&(Be||!o&&!c)&&e._startAt.revert(un),o&&g&&r<=0&&t<=0){r&&(e._zTime=r);return}}else if(f&&g&&!h){if(r&&(o=!1),x=wt({overwrite:!1,data:"isFromStart",lazy:o&&!h&&_t(l),immediateRender:o,stagger:0,parent:T},b),Y&&(x[O.prop]=Y),wr(e._startAt=we.set(m,x)),e._startAt._dp=0,e._startAt._sat=e,r<0&&(Be?e._startAt.revert(un):e._startAt.render(-1,!0)),e._zTime=r,!o)a(e._startAt,ie,ie);else if(!r)return}for(e._pt=e._ptCache=0,l=g&&_t(l)||l&&!g,P=0;P<m.length;P++){if(C=m[P],F=C._gsap||Ts(m)[P]._gsap,e._ptLookup[P]=B={},as[F.id]&&vr.length&&_n(),V=w===m?P:w.indexOf(C),O&&(W=new O).init(C,Y||b,e,V,w)!==!1&&(e._pt=M=new rt(e._pt,C,W.name,0,1,W.render,W,0,W.priority),W._props.forEach(function(Q){B[Q]=M}),W.priority&&(k=1)),!O||Y)for(x in b)ct[x]&&(W=Ms(x,b,e,V,C,w))?W.priority&&(k=1):B[x]=M=ks.call(e,C,x,"get",b[x],V,w,0,i.stringFilter);e._op&&e._op[P]&&e.kill(C,e._op[P]),S&&e._pt&&(yr=e,fe.killTweensOf(C,B,e.globalTime(r)),A=!e.parent,yr=0),e._pt&&l&&(as[F.id]=1)}k&&As(e),e._onInit&&e._onInit(e)}e._onUpdate=u,e._initted=(!e._op||e._pt)&&!A,d&&r<=0&&v.render(Mt,!0,!0)},Vl=function(e,r,t,i,n,s,o,l){var u=(e._pt&&e._ptCache||(e._ptCache={}))[r],f,_,d,c;if(!u)for(u=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",Os(e,o),_s=0,l?Di(r+" not eligible for reset"):1;u.push(f)}for(c=u.length;c--;)_=u[c],f=_._pt||_,f.s=(i||i===0)&&!n?i:f.s+(i||0)+s*f.c,f.c=t-f.s,_.e&&(_.e=ge(t)+Ne(_.e)),_.b&&(_.b=f.s+Ne(_.b))},Ul=function(e,r){var t=e[0]?xr(e[0]).harness:0,i=t&&t.aliases,n,s,o,l;if(!i)return r;n=si({},r);for(s in i)if(s in n)for(l=i[s].split(","),o=l.length;o--;)n[l[o]]=n[s];return n},Wl=function(e,r,t,i){var n=r.ease||i||"power1.inOut",s,o;if(We(r))o=t[e]||(t[e]=[]),r.forEach(function(l,u){return o.push({t:u/(r.length-1)*100,v:l,e:n})});else for(s in r)o=t[s]||(t[s]=[]),s==="ease"||o.push({t:parseFloat(e),v:r[s],e:n})},Ri=function(e,r,t,i,n){return pe(e)?e.call(r,t,i,n):Me(e)&&~e.indexOf("random(")?ui(e):e},Jo=ws+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",jo={};tt(Jo+",id,stagger,delay,duration,paused,scrollTrigger",function(a){return jo[a]=1});var we=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:Oi(i))||this;var l=o.vars,u=l.duration,f=l.delay,_=l.immediateRender,d=l.stagger,c=l.overwrite,g=l.keyframes,h=l.defaults,m=l.scrollTrigger,T=l.yoyoEase,w=i.parent||fe,S=(We(t)||Co(t)?nr(t[0]):"length"in i)?[t]:Ot(t),v,b,P,x,M,C,k,F;if(o._targets=S.length?Ts(S):Di("GSAP target "+t+" not found. https://gsap.com",!dt.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=c,g||d||ln(u)||ln(f)){if(i=o.vars,v=o.timeline=new Ie({data:"nested",defaults:h||{},targets:w&&w.data==="nested"?w.vars.targets:S}),v.kill(),v.parent=v._dp=rr(o),v._start=0,d||ln(u)||ln(f)){if(x=S.length,k=d&&Yo(d),Gt(d))for(M in d)~Jo.indexOf(M)&&(F||(F={}),F[M]=d[M]);for(b=0;b<x;b++)P=dn(i,jo),P.stagger=0,T&&(P.yoyoEase=T),F&&si(P,F),C=S[b],P.duration=+Ri(u,rr(o),b,C,S),P.delay=(+Ri(f,rr(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=Z.none;v.duration()?u=f=0:o.timeline=0}else if(g){Oi(wt(v.vars.defaults,{ease:"none"})),v._ease=Fr(g.ease||i.ease||"none");var O=0,W,B,V;if(We(g))g.forEach(function(Y){return v.to(S,Y,">")}),v.duration();else{P={};for(M in g)M==="ease"||M==="easeEach"||Wl(M,g[M],P,g.easeEach);for(M in P)for(W=P[M].sort(function(Y,A){return Y.t-A.t}),O=0,b=0;b<W.length;b++)B=W[b],V={ease:B.e,duration:(B.t-(b?W[b-1].t:0))/100*u},V[M]=B.v,v.to(S,V,O),O+=V.duration;v.duration()<u&&v.to({},{duration:u-v.duration()})}}u||o.duration(u=v.duration())}else o.timeline=0;return c===!0&&!ps&&(yr=rr(o),fe.killTweensOf(S),yr=0),Wt(w,rr(o),n),i.reversed&&o.reverse(),i.paused&&o.paused(!0),(_||!u&&!g&&o._start===Se(w._time)&&_t(_)&&bl(rr(o))&&w.data!=="nested")&&(o._tTime=-ie,o.render(Math.max(0,-f)||0)),m&&zo(rr(o),m),o}var r=e.prototype;return r.render=function(i,n,s){var o=this._time,l=this._tDur,u=this._dur,f=i<0,_=i>l-ie&&!f?l:i<ie?0:i,d,c,g,h,m,T,w,S,v;if(!u)Cl(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=u+this._rDelay,this._repeat<-1&&f)return this.totalTime(h*100+i,n,s);if(d=Se(_%h),_===l?(g=this._repeat,d=u):(m=Se(_/h),g=~~m,g&&g===m?(d=u,g--):d>u&&(d=u)),T=this._yoyo&&g&1,T&&(v=this._yEase,d=u-d),m=oi(this._tTime,h),d===o&&!s&&this._initted&&g===m)return this._tTime=_,this;g!==m&&(S&&this._yEase&&Zo(S,T),this.vars.repeatRefresh&&!T&&!this._lock&&d!==h&&this._initted&&(this._lock=s=1,this.render(Se(h*g),!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&&g!==m))return this;if(u!==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/u),this._from&&(this.ratio=w=1-w),!o&&_&&!n&&!m&&(vt(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&&ls(this,i,n,s),vt(this,"onUpdate")),this._repeat&&g!==m&&this.vars.onRepeat&&!n&&this.parent&&vt(this,"onRepeat"),(_===this._tDur||!_)&&this._tTime===_&&(f&&!this._onUpdate&&ls(this,i,!0,!0),(i||!u)&&(_===this._tDur&&this._ts>0||!_&&this._ts<0)&&wr(this,1),!n&&!(f&&!o)&&(_||o||T)&&(vt(this,_===l?"onComplete":"onReverseComplete",!0),this._prom&&!(_<l&&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,l){Li||ht.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),f;return this._initted||Os(this,u),f=this._ease(u/this._dur),Vl(this,i,n,s,o,f,u,l)?this.resetTo(i,n,s,o,1):(wn(this,0),this.parent||Lo(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(!!Be),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(i,n,yr&&yr.vars.overwrite!==!0)._first||ki(this),this.parent&&s!==this.timeline.totalDuration()&&ai(this,this._dur*this.timeline._tDur/s,0,1),this}var o=this._targets,l=i?Ot(i):o,u=this._ptLookup,f=this._pt,_,d,c,g,h,m,T;if((!n||n==="all")&&wl(o,l))return n==="all"&&(this._pt=0),ki(this);for(_=this._op=this._op||[],n!=="all"&&(Me(n)&&(h={},tt(n,function(w){return h[w]=1}),n=h),n=Ul(o,n)),T=o.length;T--;)if(~l.indexOf(o[T])){d=u[T],n==="all"?(_[T]=n,g=d,c={}):(c=_[T]=_[T]||{},g=n);for(h in g)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 Ei(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 Ei(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 fe.killTweensOf(i,n,s)},e}(Fi);wt(we.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});tt("staggerTo,staggerFrom,staggerFromTo",function(a){we[a]=function(){var e=new Ie,r=fs.call(arguments,0);return r.splice(a==="staggerFromTo"?5:4,0,0),e[a].apply(e,r)}});var Es=function(e,r,t){return e[r]=t},ea=function(e,r,t){return e[r](t)},Gl=function(e,r,t,i){return e[r](i.fp,t)},Ql=function(e,r,t){return e.setAttribute(r,t)},Tn=function(e,r){return pe(e[r])?ea:mn(e[r])&&e.setAttribute?Ql:Es},ta=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e6)/1e6,r)},Kl=function(e,r){return r.set(r.t,r.p,!!(r.s+r.c*e),r)},Rs=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)},Ds=function(e,r){for(var t=r._pt;t;)t.r(e,t.d),t=t._next},Zl=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},$l=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},Jl=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},rt=function(){function a(r,t,i,n,s,o,l,u,f){this.t=t,this.s=n,this.c=s,this.p=i,this.r=o||ta,this.d=l||this,this.set=u||Es,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=Jl,this.m=t,this.mt=n,this.tween=i},a}();tt(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});xt.TweenMax=xt.TweenLite=we;xt.TimelineLite=xt.TimelineMax=Ie;fe=new Ie({sortChildren:!1,defaults:ni,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});dt.stringFilter=Cs;var zr=[],cn={},jl=[],To=0,eu=0,rs=function(e){return(cn[e]||jl).map(function(r){return r()})},ds=function(){var e=Date.now(),r=[];e-To>2&&(rs("matchMediaInit"),zr.forEach(function(t){var i=t.queries,n=t.conditions,s,o,l,u;for(o in i)s=Ut.matchMedia(i[o]).matches,s&&(l=1),s!==n[o]&&(n[o]=s,u=1);u&&(t.revert(),l&&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=eu++,r&&this.add(r)}var e=a.prototype;return e.add=function(t,i,n){pe(t)&&(n=i,i=t,t=pe);var s=this,o=function(){var u=ae,f=s.selector,_;return u&&u!==s&&u.data.push(s),n&&(s.selector=cs(n)),ae=s,_=i.apply(s,arguments),pe(_)&&s._r.push(_),ae=u,s.selector=f,s.isReverted=!1,_};return s.last=o,t===pe?o(s,function(l){return s.add(null,l)}):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 we&&!(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(),l=n.data.length,u;l--;)u=n.data[l],u.data==="isFlip"&&(u.revert(),u.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)}),l=n.data.length;l--;)u=n.data[l],u instanceof Ie?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof we)&&u.revert&&u.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=zr.length;s--;)zr[s].id===this.id&&zr.splice(s,1)},e.revert=function(t){this.kill(t||{})},a}(),tu=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){Gt(t)||(t={matches:t});var s=new ra(0,n||this.scope),o=s.conditions={},l,u,f;ae&&!s.selector&&(s.selector=ae.selector),this.contexts.push(s),i=s.add("onMatch",i),s.queries=t;for(u in t)u==="all"?f=1:(l=Ut.matchMedia(t[u]),l&&(zr.indexOf(s)<0&&zr.push(s),(o[u]=l.matches)&&(f=1),l.addListener?l.addListener(ds):l.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 Wo(i)})},timeline:function(e){return new Ie(e)},getTweensOf:function(e,r){return fe.getTweensOf(e,r)},getProperty:function(e,r,t,i){Me(e)&&(e=Ot(e)[0]);var n=xr(e||{}).get,s=t?Ao:Do;return t==="native"&&(t=""),e&&(r?s((ct[r]&&ct[r].get||n)(e,r,t,i)):function(o,l,u){return s((ct[o]&&ct[o].get||n)(e,o,l,u))})},quickSetter:function(e,r,t){if(e=Ot(e),e.length>1){var i=e.map(function(f){return Ge.quickSetter(f,r,t)}),n=i.length;return function(f){for(var _=n;_--;)i[_](f)}}e=e[0]||{};var s=ct[r],o=xr(e),l=o.harness&&(o.harness.aliases||{})[r]||r,u=s?function(f){var _=new s;ii._pt=0,_.init(e,t?f+t:f,ii,0,[e]),_.render(1,_),ii._pt&&Ds(1,ii)}:o.set(e,l);return s?u:function(f){return u(e,l,t?f+t:f,o,1)}},quickTo:function(e,r,t){var i,n=Ge.to(e,wt((i={},i[r]="+=0.1",i.paused=!0,i.stagger=0,i),t||{})),s=function(l,u,f){return n.resetTo(r,l,u,f)};return s.tween=n,s},isTweening:function(e){return fe.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Fr(e.ease,ni.ease)),mo(ni,e||{})},config:function(e){return mo(dt,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&&!ct[o]&&!xt[o]&&Di(r+" effect requires "+o+" plugin.")}),Jn[r]=function(o,l,u){return t(Ot(o),wt(l||{},n),u)},s&&(Ie.prototype[r]=function(o,l,u){return this.add(Jn[r](o,Gt(l)?l:(u=l)&&{},this),u)})},registerEase:function(e,r){Z[e]=Fr(r)},parseEase:function(e,r){return arguments.length?Fr(e,r):Z},getById:function(e){return fe.getById(e)},exportRoot:function(e,r){e===void 0&&(e={});var t=new Ie(e),i,n;for(t.smoothChildTiming=_t(e.smoothChildTiming),fe.remove(t),t._dp=0,t._time=t._tTime=fe._time,i=fe._first;i;)n=i._next,(r||!(!i._dur&&i instanceof we&&i.vars.onComplete===i._targets[0]))&&Wt(t,i,i._start-i._delay),i=n;return Wt(fe,t,0),t},context:function(e,r){return e?new ra(e,r):ae},matchMedia:function(e){return new tu(e)},matchMediaRefresh:function(){return zr.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:Al,wrapYoyo:Ll,distribute:Yo,random:Xo,snap:Ho,normalize:Dl,getUnit:Ne,clamp:Ml,splitColor:Go,toArray:Ot,selector:cs,mapRange:Vo,pipe:El,unitize:Rl,interpolate:Fl,shuffle:No},install:Mo,effects:Jn,ticker:ht,updateRoot:Ie.updateRoot,plugins:ct,globalTimeline:fe,core:{PropTween:rt,globals:Oo,Tween:we,Timeline:Ie,Animation:Fi,getCache:xr,_removeLinkedListItem:vn,reverting:function(){return Be},context:function(e){return e&&ae&&(ae.data.push(e),e._ctx=ae),ae},suppressOverwrites:function(e){return ps=e}}};tt("to,from,fromTo,delayedCall,set,killTweensOf",function(a){return gn[a]=we[a]});ht.add(Ie.updateRoot);ii=gn.to({},{duration:0});var ru=function(e,r){for(var t=e._pt;t&&t.p!==r&&t.op!==r&&t.fp!==r;)t=t._next;return t},iu=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=ru(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 l,u;if(Me(n)&&(l={},tt(n,function(f){return l[f]=1}),n=l),r){l={};for(u in n)l[u]=r(n[u]);n=l}iu(o,n)}}}},Ge=gn.registerPlugin({name:"attr",init:function(e,r,t,i,n){var s,o,l;this.tween=t;for(s in r)l=e.getAttribute(s)||"",o=this.add(e,"setAttribute",(l||0)+"",r[s],i,n,0,0,s),o.op=s,o.b=l,this._props.push(s)},render:function(e,r){for(var t=r._pt;t;)Be?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",Ho))||gn;we.version=Ie.version=Ge.version="3.13.0";ko=1;gs()&&li();var nu=Z.Power0,su=Z.Power1,ou=Z.Power2,au=Z.Power3,lu=Z.Power4,uu=Z.Linear,fu=Z.Quad,cu=Z.Cubic,hu=Z.Quart,_u=Z.Quint,du=Z.Strong,pu=Z.Elastic,gu=Z.Back,mu=Z.SteppedEase,yu=Z.Bounce,vu=Z.Sine,xu=Z.Expo,wu=Z.Circ;var ia,br,ci,Ns,qr,Tu,na,Ys,bu=function(){return typeof window<"u"},or={},Xr=180/Math.PI,hi=Math.PI/180,fi=Math.atan2,sa=1e8,Hs=/([A-Z])/g,Su=/(left|right|width|margin|padding|x)/i,Cu=/[\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)},Pu=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)},ku=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)},Mu=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)},Ou=function(e,r,t){return e.style[r]=t},Eu=function(e,r,t){return e.style.setProperty(r,t)},Ru=function(e,r,t){return e._gsap[r]=t},Du=function(e,r,t){return e._gsap.scaleX=e._gsap.scaleY=t},Au=function(e,r,t,i,n){var s=e._gsap;s.scaleX=s.scaleY=t,s.renderTransform(n,s)},Lu=function(e,r,t,i,n){var s=e._gsap;s[r]=t,s.renderTransform(n,s)},ce="transform",pt=ce+"Origin",Fu=function a(e,r){var t=this,i=this.target,n=i.style,s=i._gsap;if(e in or&&n){if(this.tfm=this.tfm||{},e!=="transform")e=Qt[e]||e,~e.indexOf(",")?e.split(",").forEach(function(o){return t.tfm[o]=sr(i,o)}):this.tfm[e]=s.x?s[e]:sr(i,e),e===pt&&(this.tfm.zOrigin=s.zOrigin);else return Qt.transform.split(",").forEach(function(o){return a.call(t,o,r)});if(this.props.indexOf(ce)>=0)return;s.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(pt,r,"")),e=ce}(n||r)&&this.props.push(e,r,n[e])},pa=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},zu=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(Hs,"-$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[ce]&&(pa(t),i.zOrigin&&t[pt]&&(t[pt]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},ga=function(e,r){var t={target:e,props:[],revert:zu,save:Fu};return e._gsap||Ge.core.getCache(e),r&&e.style&&e.nodeType&&r.split(",").forEach(function(i){return t.save(i)}),t},ma,zs=function(e,r){var t=br.createElementNS?br.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):br.createElement(e);return t&&t.style?t:br.createElement(e)},Et=function a(e,r,t){var i=getComputedStyle(e);return i[r]||i.getPropertyValue(r.replace(Hs,"-$1").toLowerCase())||i.getPropertyValue(r)||!t&&a(e,_i(r)||r,1)||""},oa="O,Moz,ms,Ms,Webkit".split(","),_i=function(e,r,t){var i=r||qr,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(){bu()&&window.document&&(ia=window,br=ia.document,ci=br.documentElement,qr=zs("div")||{style:{}},Tu=zs("div"),ce=_i(ce),pt=ce+"Origin",qr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",ma=!!_i("perspective"),Ys=Ge.core.reverting,Ns=1)},aa=function(e){var r=e.ownerSVGElement,t=zs("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),n;i.style.display="block",t.appendChild(i),ci.appendChild(t);try{n=i.getBBox()}catch{}return t.removeChild(i),ci.removeChild(t),n},la=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:+la(e,["x","cx","x1"])||0,y:+la(e,["y","cy","y1"])||0,width:0,height:0}:r},va=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&ya(e))},Vr=function(e,r){if(r){var t=e.style,i;r in or&&r!==pt&&(r=ce),t.removeProperty?(i=r.substr(0,2),(i==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),t.removeProperty(i==="--"?r:r.replace(Hs,"-$1").toLowerCase())):t.removeAttribute(r)}},Sr=function(e,r,t,i,n,s){var o=new rt(e._pt,r,t,0,1,s?da:_a);return e._pt=o,o.b=i,o.e=n,e._props.push(t),o},ua={deg:1,rad:1,turn:1},Iu={grid:1,flex:1},Cr=function a(e,r,t,i){var n=parseFloat(t)||0,s=(t+"").trim().substr((n+"").length)||"px",o=qr.style,l=Su.test(r),u=e.tagName.toLowerCase()==="svg",f=(u?"client":"offset")+(l?"Width":"Height"),_=100,d=i==="px",c=i==="%",g,h,m,T;if(i===s||!n||ua[i]||ua[s])return n;if(s!=="px"&&!d&&(n=a(e,r,t,"px")),T=e.getCTM&&va(e),(c||s==="%")&&(or[r]||~r.indexOf("adius")))return g=T?e.getBBox()[l?"width":"height"]:e[f],ge(c?n/g*_:n/100*g);if(o[l?"width":"height"]=_+(d?s:i),h=i!=="rem"&&~r.indexOf("adius")||i==="em"&&e.appendChild&&!u?e:e.parentNode,T&&(h=(e.ownerSVGElement||{}).parentNode),(!h||h===br||!h.appendChild)&&(h=br.body),m=h._gsap,m&&c&&m.width&&l&&m.time===ht.time&&!m.uncache)return ge(n/m.width*_);if(c&&(r==="height"||r==="width")){var w=e.style[r];e.style[r]=_+i,g=e[f],w?e.style[r]=w:Vr(e,r)}else(c||s==="%")&&!Iu[Et(h,"display")]&&(o.position=Et(e,"position")),h===e&&(o.position="static"),h.appendChild(qr),g=qr[f],h.removeChild(qr),o.position="absolute";return l&&c&&(m=xr(h),m.time=ht.time,m.width=h[f]),ge(d?g*n/_:g&&n?_/g*n:0)},sr=function(e,r,t,i){var n;return Ns||Is(),r in Qt&&r!=="transform"&&(r=Qt[r],~r.indexOf(",")&&(r=r.split(",")[0])),or[r]&&r!=="transform"?(n=Ni(e,i),n=r!=="transformOrigin"?n[r]:n.svg?n.origin:Sn(Et(e,pt))+" "+n.zOrigin+"px"):(n=e.style[r],(!n||n==="auto"||i||~(n+"").indexOf("calc("))&&(n=bn[r]&&bn[r](e,r,t)||Et(e,r)||bs(e,r)||(r==="opacity"?1:0))),t&&!~(n+"").trim().indexOf(" ")?Cr(e,r,n,t)+t:n},Bu=function(e,r,t,i){if(!t||t==="none"){var n=_i(r,e,1),s=n&&Et(e,n,1);s&&s!==t?(r=n,t=s):r==="borderColor"&&(t=Et(e,"borderTopColor"))}var o=new rt(this._pt,e.style,r,0,1,Rs),l=0,u=0,f,_,d,c,g,h,m,T,w,S,v,b;if(o.b=t,o.e=i,t+="",i+="",i.substring(0,6)==="var(--"&&(i=Et(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(h=e.style[r],e.style[r]=i,i=Et(e,r)||i,h?e.style[r]=h:Vr(e,r)),f=[t,i],Cs(f),t=f[0],i=f[1],d=t.match(Ir)||[],b=i.match(Ir)||[],b.length){for(;_=Ir.exec(i);)m=_[0],w=i.substring(l,_.index),g?g=(g+1)%5:(w.substr(-5)==="rgba("||w.substr(-5)==="hsla(")&&(g=1),m!==(h=d[u++]||"")&&(c=parseFloat(h)||0,v=h.substr((c+"").length),m.charAt(1)==="="&&(m=Br(c,m)+v),T=parseFloat(m),S=m.substr((T+"").length),l=Ir.lastIndex-S.length,S||(S=S||dt.units[r]||v,l===i.length&&(i+=S,o.e+=S)),v!==S&&(c=Cr(e,r,h,S)||0),o._pt={_next:o._pt,p:w||u===1?w:",",s:c,c:T-c,m:g&&g<4||r==="zIndex"?Math.round:0});o.c=l<i.length?i.substring(l,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%"},Nu=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(" ")},Yu=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,l,u;if(n==="all"||n===!0)i.cssText="",l=1;else for(n=n.split(","),u=n.length;--u>-1;)o=n[u],or[o]&&(l=1,o=o==="transformOrigin"?pt:ce),Vr(t,o);l&&(Vr(t,ce),s&&(s.svg&&t.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",Ni(t,1),s.uncache=1,pa(i)))}},bn={clearProps:function(e,r,t,i,n){if(n.data!=="isFromStart"){var s=e._pt=new rt(e._pt,r,t,0,0,Yu);return s.u=i,s.pr=-10,s.tween=n,e._props.push(t),1}}},Bi=[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=Et(e,ce);return wa(r)?Bi:r.substr(7).match(ms).map(ge)},Xs=function(e,r){var t=e._gsap||xr(e),i=e.style,n=ca(e),s,o,l,u;return t.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,n=[l.a,l.b,l.c,l.d,l.e,l.f],n.join(",")==="1,0,0,1,0,0"?Bi:n):(n===Bi&&!e.offsetParent&&e!==ci&&!t.svg&&(l=i.display,i.display="block",s=e.parentNode,(!s||!e.offsetParent&&!e.getBoundingClientRect().width)&&(u=1,o=e.nextElementSibling,ci.appendChild(e)),n=ca(e),l?i.display=l:Vr(e,"display"),u&&(o?s.insertBefore(e,o):s?s.appendChild(e):ci.removeChild(e))),r&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},Bs=function(e,r,t,i,n,s){var o=e._gsap,l=n||Xs(e,!0),u=o.xOrigin||0,f=o.yOrigin||0,_=o.xOffset||0,d=o.yOffset||0,c=l[0],g=l[1],h=l[2],m=l[3],T=l[4],w=l[5],S=r.split(" "),v=parseFloat(S[0])||0,b=parseFloat(S[1])||0,P,x,M,C;t?l!==Bi&&(x=c*m-g*h)&&(M=v*(m/x)+b*(-h/x)+(h*w-m*T)/x,C=v*(-g/x)+b*(c/x)-(c*w-g*T)/x,v=M,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-u,w=b-f,o.xOffset=_+(T*c+w*h)-T,o.yOffset=d+(T*g+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[pt]="0px 0px",s&&(Sr(s,o,"xOrigin",u,v),Sr(s,o,"yOrigin",f,b),Sr(s,o,"xOffset",_,o.xOffset),Sr(s,o,"yOffset",d,o.yOffset)),e.setAttribute("data-svg-origin",v+" "+b)},Ni=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",l=getComputedStyle(e),u=Et(e,pt)||"0",f,_,d,c,g,h,m,T,w,S,v,b,P,x,M,C,k,F,O,W,B,V,Y,A,Q,ee,p,se,Je,Lt,he,Le;return f=_=d=h=m=T=w=S=v=0,c=g=1,t.svg=!!(e.getCTM&&va(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[ce]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[ce]!=="none"?l[ce]:"")),i.scale=i.rotate=i.translate="none"),x=Xs(e,t.svg),t.svg&&(t.uncache?(Q=e.getBBox(),u=t.xOrigin-Q.x+"px "+(t.yOrigin-Q.y)+"px",A=""):A=!r&&e.getAttribute("data-svg-origin"),Bs(e,A||u,!!A||t.originIsAbsolute,t.smooth!==!1,x)),b=t.xOrigin||0,P=t.yOrigin||0,x!==Bi&&(F=x[0],O=x[1],W=x[2],B=x[3],f=V=x[4],_=Y=x[5],x.length===6?(c=Math.sqrt(F*F+O*O),g=Math.sqrt(B*B+W*W),h=F||O?fi(O,F)*Xr:0,w=W||B?fi(W,B)*Xr+h:0,w&&(g*=Math.abs(Math.cos(w*hi))),t.svg&&(f-=b-(b*F+P*W),_-=P-(b*O+P*B))):(Le=x[6],Lt=x[7],p=x[8],se=x[9],Je=x[10],he=x[11],f=x[12],_=x[13],d=x[14],M=fi(Le,Je),m=M*Xr,M&&(C=Math.cos(-M),k=Math.sin(-M),A=V*C+p*k,Q=Y*C+se*k,ee=Le*C+Je*k,p=V*-k+p*C,se=Y*-k+se*C,Je=Le*-k+Je*C,he=Lt*-k+he*C,V=A,Y=Q,Le=ee),M=fi(-W,Je),T=M*Xr,M&&(C=Math.cos(-M),k=Math.sin(-M),A=F*C-p*k,Q=O*C-se*k,ee=W*C-Je*k,he=B*k+he*C,F=A,O=Q,W=ee),M=fi(O,F),h=M*Xr,M&&(C=Math.cos(M),k=Math.sin(M),A=F*C+O*k,Q=V*C+Y*k,O=O*C-F*k,Y=Y*C-V*k,F=A,V=Q),m&&Math.abs(m)+Math.abs(h)>359.9&&(m=h=0,T=180-T),c=ge(Math.sqrt(F*F+O*O+W*W)),g=ge(Math.sqrt(Y*Y+Le*Le)),M=fi(V,Y),w=Math.abs(M)>2e-4?M*Xr:0,v=he?1/(he<0?-he:he):0),t.svg&&(A=e.getAttribute("transform"),t.forceCSS=e.setAttribute("transform","")||!wa(Et(e,ce)),A&&e.setAttribute("transform",A))),Math.abs(w)>90&&Math.abs(w)<270&&(n?(c*=-1,w+=h<=0?180:-180,h+=h<=0?180:-180):(g*=-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=ge(c),t.scaleY=ge(g),t.rotation=ge(h)+o,t.rotationX=ge(m)+o,t.rotationY=ge(T)+o,t.skewX=w+o,t.skewY=S+o,t.transformPerspective=v+s,(t.zOrigin=parseFloat(u.split(" ")[2])||!r&&t.zOrigin||0)&&(i[pt]=Sn(u)),t.xOffset=t.yOffset=0,t.force3D=dt.force3D,t.renderTransform=t.svg?Xu:ma?Ta:Hu,t.uncache=0,t},Sn=function(e){return(e=e.split(" "))[0]+" "+e[1]},Ls=function(e,r,t){var i=Ne(r);return ge(parseFloat(r)+parseFloat(Cr(e,"x",t+"px",i)))+i},Hu=function(e,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,Ta(e,r)},Yr="0deg",Ii="0px",Hr=") ",Ta=function(e,r){var t=r||this,i=t.xPercent,n=t.yPercent,s=t.x,o=t.y,l=t.z,u=t.rotation,f=t.rotationY,_=t.rotationX,d=t.skewX,c=t.skewY,g=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&&(_!==Yr||f!==Yr)){var P=parseFloat(f)*hi,x=Math.sin(P),M=Math.cos(P),C;P=parseFloat(_)*hi,C=Math.cos(P),s=Ls(w,s,x*C*-S),o=Ls(w,o,-Math.sin(P)*-S),l=Ls(w,l,M*C*-S+S)}m!==Ii&&(v+="perspective("+m+Hr),(i||n)&&(v+="translate("+i+"%, "+n+"%) "),(b||s!==Ii||o!==Ii||l!==Ii)&&(v+=l!==Ii||b?"translate3d("+s+", "+o+", "+l+") ":"translate("+s+", "+o+Hr),u!==Yr&&(v+="rotate("+u+Hr),f!==Yr&&(v+="rotateY("+f+Hr),_!==Yr&&(v+="rotateX("+_+Hr),(d!==Yr||c!==Yr)&&(v+="skew("+d+", "+c+Hr),(g!==1||h!==1)&&(v+="scale("+g+", "+h+Hr),w.style[ce]=v||"translate(0, 0)"},Xu=function(e,r){var t=r||this,i=t.xPercent,n=t.yPercent,s=t.x,o=t.y,l=t.rotation,u=t.skewX,f=t.skewY,_=t.scaleX,d=t.scaleY,c=t.target,g=t.xOrigin,h=t.yOrigin,m=t.xOffset,T=t.yOffset,w=t.forceCSS,S=parseFloat(s),v=parseFloat(o),b,P,x,M,C;l=parseFloat(l),u=parseFloat(u),f=parseFloat(f),f&&(f=parseFloat(f),u+=f,l+=f),l||u?(l*=hi,u*=hi,b=Math.cos(l)*_,P=Math.sin(l)*_,x=Math.sin(l-u)*-d,M=Math.cos(l-u)*d,u&&(f*=hi,C=Math.tan(u-f),C=Math.sqrt(1+C*C),x*=C,M*=C,f&&(C=Math.tan(f),C=Math.sqrt(1+C*C),b*=C,P*=C)),b=ge(b),P=ge(P),x=ge(x),M=ge(M)):(b=_,M=d,P=x=0),(S&&!~(s+"").indexOf("px")||v&&!~(o+"").indexOf("px"))&&(S=Cr(c,"x",s,"px"),v=Cr(c,"y",o,"px")),(g||h||m||T)&&(S=ge(S+g-(g*b+h*x)+m),v=ge(v+h-(g*P+h*M)+T)),(i||n)&&(C=c.getBBox(),S=ge(S+i/100*C.width),v=ge(v+n/100*C.height)),C="matrix("+b+","+P+","+x+","+M+","+S+","+v+")",c.setAttribute("transform",C),w&&(c.style[ce]=C)},qu=function(e,r,t,i,n){var s=360,o=Me(n),l=parseFloat(n)*(o&&~n.indexOf("rad")?Xr:1),u=l-i,f=i+u+"deg",_,d;return o&&(_=n.split("_")[1],_==="short"&&(u%=s,u!==u%(s/2)&&(u+=u<0?s:-s)),_==="cw"&&u<0?u=(u+s*sa)%s-~~(u/s)*s:_==="ccw"&&u>0&&(u=(u-s*sa)%s-~~(u/s)*s)),e._pt=d=new rt(e._pt,r,t,i,u,Pu),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},Vu=function(e,r,t){var i=ha({},t._gsap),n="perspective,force3D,transformOrigin,svgOrigin",s=t.style,o,l,u,f,_,d,c,g;i.svg?(u=t.getAttribute("transform"),t.setAttribute("transform",""),s[ce]=r,o=Ni(t,1),Vr(t,ce),t.setAttribute("transform",u)):(u=getComputedStyle(t)[ce],s[ce]=r,o=Ni(t,1),s[ce]=u);for(l in or)u=i[l],f=o[l],u!==f&&n.indexOf(l)<0&&(c=Ne(u),g=Ne(f),_=c!==g?Cr(t,l,u,g):parseFloat(u),d=parseFloat(f),e._pt=new rt(e._pt,o,l,_,d-_,Fs),e._pt.u=g||0,e._props.push(l));ha(o,i)};tt("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,l,u,f,_){var d,c;if(arguments.length<4)return d=s.map(function(g){return sr(o,g,u)}),c=d.join(" "),c.split(d[0]).length===5?d[0]:c;d=(f+"").split(" "),c={},s.forEach(function(g,h){return c[g]=d[h]=d[h]||d[(h-1)/2|0]}),o.init(l,c,_)}});var qs={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,l=t.vars.startAt,u,f,_,d,c,g,h,m,T,w,S,v,b,P,x,M;Ns||Is(),this.styles=this.styles||ga(e),M=this.styles.props,this.tween=t;for(h in r)if(h!=="autoRound"&&(f=r[h],!(ct[h]&&Ms(h,r,t,i,e,n)))){if(c=typeof f,g=bn[h],c==="function"&&(f=f.call(t,i,e,n),c=typeof f),c==="string"&&~f.indexOf("random(")&&(f=ui(f)),g)g(this,e,h,f,t)&&(x=1);else if(h.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(h)+"").trim(),f+="",ir.lastIndex=0,ir.test(u)||(m=Ne(u),T=Ne(f)),T?m!==T&&(u=Cr(e,h,u,T)+T):m&&(f+=m),this.add(o,"setProperty",u,f,i,n,0,0,h),s.push(h),M.push(h,0,o[h]);else if(c!=="undefined"){if(l&&h in l?(u=typeof l[h]=="function"?l[h].call(t,i,e,n):l[h],Me(u)&&~u.indexOf("random(")&&(u=ui(u)),Ne(u+"")||u==="auto"||(u+=dt.units[h]||Ne(sr(e,h))||""),(u+"").charAt(1)==="="&&(u=sr(e,h))):u=sr(e,h),d=parseFloat(u),w=c==="string"&&f.charAt(1)==="="&&f.substr(0,2),w&&(f=f.substr(2)),_=parseFloat(f),h in Qt&&(h==="autoAlpha"&&(d===1&&sr(e,"visibility")==="hidden"&&_&&(d=0),M.push("visibility",0,o.visibility),Sr(this,o,"visibility",d?"inherit":"hidden",_?"inherit":"hidden",!_)),h!=="scale"&&h!=="transform"&&(h=Qt[h],~h.indexOf(",")&&(h=h.split(",")[0]))),S=h in or,S){if(this.styles.save(h),c==="string"&&f.substring(0,6)==="var(--"&&(f=Et(e,f.substring(4,f.indexOf(")"))),_=parseFloat(f)),v||(b=e._gsap,b.renderTransform&&!r.parseTransform||Ni(e,r.parseTransform),P=r.smoothOrigin!==!1&&b.smooth,v=this._pt=new rt(this._pt,o,ce,0,1,b.renderTransform,b,0,-1),v.dep=1),h==="scale")this._pt=new rt(this._pt,b,"scaleY",b.scaleY,(w?Br(b.scaleY,w+_):_)-b.scaleY||0,Fs),this._pt.u=0,s.push("scaleY",h),h+="X";else if(h==="transformOrigin"){M.push(pt,0,o[pt]),f=Nu(f),b.svg?Bs(e,f,0,P,0,this):(T=parseFloat(f.split(" ")[2])||0,T!==b.zOrigin&&Sr(this,b,"zOrigin",b.zOrigin,T),Sr(this,o,h,Sn(u),Sn(f)));continue}else if(h==="svgOrigin"){Bs(e,f,1,P,0,this);continue}else if(h in xa){qu(this,b,h,d,w?Br(d,w+f):f);continue}else if(h==="smoothOrigin"){Sr(this,b,"smooth",b.smooth,f);continue}else if(h==="force3D"){b[h]=f;continue}else if(h==="transform"){Vu(this,f,e);continue}}else h in o||(h=_i(h)||h);if(S||(_||_===0)&&(d||d===0)&&!Cu.test(f)&&h in o)m=(u+"").substr((d+"").length),_||(_=0),T=Ne(f)||(h in dt.units?dt.units[h]:m),m!==T&&(d=Cr(e,h,u,T)),this._pt=new rt(this._pt,S?b:o,h,d,(w?Br(d,w+_):_)-d,!S&&(T==="px"||h==="zIndex")&&r.autoRound!==!1?Mu:Fs),this._pt.u=T||0,m!==T&&T!=="%"&&(this._pt.b=u,this._pt.r=ku);else if(h in o)Bu.call(this,e,h,u,w?w+f:f);else if(h in e)this.add(e,h,u||e[h],w?w+f:f,i,n);else if(h!=="parseTransform"){yn(h,f);continue}S||(h in o?M.push(h,0,o[h]):typeof e[h]=="function"?M.push(h,2,e[h]()):M.push(h,1,u||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:sr,aliases:Qt,getSetter:function(e,r,t){var i=Qt[r];return i&&i.indexOf(",")<0&&(r=i),r in or&&r!==pt&&(e._gsap.x||sr(e,"x"))?t&&na===t?r==="scale"?Du:Ru:(na=t||{})&&(r==="scale"?Au:Lu):e.style&&!mn(e.style[r])?Ou:~r.indexOf("-")?Eu:Tn(e,r)},core:{_removeProperty:Vr,_getMatrix:Xs}};Ge.utils.checkPrefix=_i;Ge.core.getStyleSaver=ga;(function(a,e,r,t){var i=tt(a+","+e+","+r,function(n){or[n]=1});tt(e,function(n){dt.units[n]="deg",xa[n]=1}),Qt[i[13]]=a+","+e,tt(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");tt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(a){dt.units[a]="px"});Ge.registerPlugin(qs);var le=Ge.registerPlugin(qs)||Ge,vf=le.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 Uu(a,e,r){return e&&ba(a.prototype,e),r&&ba(a,r),a}var Ye,kn,Wu,Tt,Pr,kr,pi,Ca,Ur,Hi,Pa,ar,Yt,ka,Ma=function(){return Ye||typeof window<"u"&&(Ye=window.gsap)&&Ye.registerPlugin&&Ye},Oa=1,di=[],H=[],Ht=[],Xi=Date.now,Vs=function(e,r){return r},Gu=function(){var e=Hi.core,r=e.bridge||{},t=e._scrollers,i=e._proxies;t.push.apply(t,H),i.push.apply(i,Ht),H=t,Ht=i,Vs=function(s,o){return r[s](o)}},ur=function(e,r){return~Ht.indexOf(e)&&Ht[Ht.indexOf(e)+1][r]},qi=function(e){return!!~Pa.indexOf(e)},nt=function(e,r,t,i,n){return e.addEventListener(r,t,{passive:i!==!1,capture:!!n})},it=function(e,r,t,i){return e.removeEventListener(r,t,!!i)},Cn="scrollLeft",Pn="scrollTop",Us=function(){return ar&&ar.isPressed||H.cache++},Mn=function(e,r){var t=function i(n){if(n||n===0){Oa&&(Tt.history.scrollRestoration="manual");var s=ar&&ar.isPressed;n=i.v=Math.round(n)||(ar&&ar.iOS?1:0),e(n),i.cacheID=H.cache,s&&Vs("ss",n)}else(r||H.cache!==i.cacheID||Vs("ref"))&&(i.cacheID=H.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:Mn(function(a){return arguments.length?Tt.scrollTo(a,Ce.sc()):Tt.pageXOffset||Pr[Cn]||kr[Cn]||pi[Cn]||0})},Ce={s:Pn,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Qe,sc:Mn(function(a){return arguments.length?Tt.scrollTo(Qe.sc(),a):Tt.pageYOffset||Pr[Pn]||kr[Pn]||pi[Pn]||0})},st=function(e,r){return(r&&r._ctx&&r._ctx.selector||Ye.utils.toArray)(e)[0]||(typeof e=="string"&&Ye.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},Qu=function(e,r){for(var t=r.length;t--;)if(r[t]===e||r[t].contains(e))return!0;return!1},lr=function(e,r){var t=r.s,i=r.sc;qi(e)&&(e=Pr.scrollingElement||kr);var n=H.indexOf(e),s=i===Ce.sc?1:2;!~n&&(n=H.push(e)-1),H[n+s]||nt(e,"scroll",Us);var o=H[n+s],l=o||(H[n+s]=Mn(ur(e,t),!0)||(qi(e)?i:Mn(function(u){return arguments.length?e[t]=u:e[t]})));return l.target=e,o||(l.smooth=Ye.getProperty(e,"scrollBehavior")==="smooth"),l},On=function(e,r,t){var i=e,n=e,s=Xi(),o=s,l=r||50,u=Math.max(500,l*3),f=function(g,h){var m=Xi();h||m-s>l?(n=i,i=g,o=s,s=m):t?i+=g:i=n+(g-n)/(m-o)*(s-o)},_=function(){n=i=t?0:i,o=s=0},d=function(g){var h=o,m=n,T=Xi();return(g||g===0)&&g!==i&&f(g),s===o||T-o>u?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},Ea=function(){Hi=Ye.core.globals().ScrollTrigger,Hi&&Hi.core&&Gu()},Ra=function(e){return Ye=e||Ma(),!kn&&Ye&&typeof document<"u"&&document.body&&(Tt=window,Pr=document,kr=Pr.documentElement,pi=Pr.body,Pa=[Tt,Pr,kr,pi],Wu=Ye.utils.clamp,ka=Ye.core.context||function(){},Ur="onpointerenter"in pi?"pointer":"mouse",Ca=me.isTouch=Tt.matchMedia&&Tt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Tt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Yt=me.eventTypes=("ontouchstart"in kr?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in kr?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return Oa=0},500),Ea(),kn=1),kn};Qe.op=Ce;H.cache=0;var me=function(){function a(r){this.init(r)}var e=a.prototype;return e.init=function(t){kn||Ra(Ye)||console.warn("Please gsap.registerPlugin(Observer)"),Hi||Ea();var i=t.tolerance,n=t.dragMinimum,s=t.type,o=t.target,l=t.lineHeight,u=t.debounce,f=t.preventDefault,_=t.onStop,d=t.onStopDelay,c=t.ignore,g=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,M=t.onDown,C=t.onChangeX,k=t.onChangeY,F=t.onChange,O=t.onToggleX,W=t.onToggleY,B=t.onHover,V=t.onHoverEnd,Y=t.onMove,A=t.ignoreCheck,Q=t.isNormalizer,ee=t.onGestureStart,p=t.onGestureEnd,se=t.onWheel,Je=t.onEnable,Lt=t.onDisable,he=t.onClick,Le=t.scrollSpeed,He=t.capture,Te=t.allowClicks,je=t.lockAxis,Xe=t.onLockAxis;this.target=o=st(o)||kr,this.vars=t,c&&(c=Ye.utils.toArray(c)),i=i||1e-9,n=n||0,g=g||1,Le=Le||1,s=s||"wheel,touch,pointer",u=u!==!1,l||(l=parseFloat(Tt.getComputedStyle(pi).lineHeight)||22);var hr,et,ut,$,ye,ft,gt,y=this,mt=0,$t=0,_r=t.passive||!f&&t.passive!==!1,_e=lr(o,Qe),Jt=lr(o,Ce),dr=_e(),Or=Jt(),Ee=~s.indexOf("touch")&&!~s.indexOf("pointer")&&Yt[0]==="pointerdown",pr=qi(o),ve=o.ownerDocument||Pr,Ft=[0,0,0],Pt=[0,0,0],jt=0,bi=function(){return jt=Xi()},be=function(L,J){return(y.event=L)&&c&&Qu(L.target,c)||J&&Ee&&L.pointerType!=="touch"||A&&A(L,J)},sn=function(){y._vx.reset(),y._vy.reset(),et.pause(),_&&_(y)},er=function(){var L=y.deltaX=Sa(Ft),J=y.deltaY=Sa(Pt),E=Math.abs(L)>=i,z=Math.abs(J)>=i;F&&(E||z)&&F(y,L,J,Ft,Pt),E&&(b&&y.deltaX>0&&b(y),P&&y.deltaX<0&&P(y),C&&C(y),O&&y.deltaX<0!=mt<0&&O(y),mt=y.deltaX,Ft[0]=Ft[1]=Ft[2]=0),z&&(M&&y.deltaY>0&&M(y),x&&y.deltaY<0&&x(y),k&&k(y),W&&y.deltaY<0!=$t<0&&W(y),$t=y.deltaY,Pt[0]=Pt[1]=Pt[2]=0),($||ut)&&(Y&&Y(y),ut&&(m&&ut===1&&m(y),w&&w(y),ut=0),$=!1),ft&&!(ft=!1)&&Xe&&Xe(y),ye&&(se(y),ye=!1),hr=0},ei=function(L,J,E){Ft[E]+=L,Pt[E]+=J,y._vx.update(L),y._vy.update(J),u?hr||(hr=requestAnimationFrame(er)):er()},ti=function(L,J){je&&!gt&&(y.axis=gt=Math.abs(L)>Math.abs(J)?"x":"y",ft=!0),gt!=="y"&&(Ft[2]+=L,y._vx.update(L,!0)),gt!=="x"&&(Pt[2]+=J,y._vy.update(J,!0)),u?hr||(hr=requestAnimationFrame(er)):er()},gr=function(L){if(!be(L,1)){L=Yi(L,f);var J=L.clientX,E=L.clientY,z=J-y.x,D=E-y.y,I=y.isDragging;y.x=J,y.y=E,(I||(z||D)&&(Math.abs(y.startX-J)>=n||Math.abs(y.startY-E)>=n))&&(ut=I?2:1,I||(y.isDragging=!0),ti(z,D))}},Er=y.onPress=function(N){be(N,1)||N&&N.button||(y.axis=gt=null,et.pause(),y.isPressed=!0,N=Yi(N),mt=$t=0,y.startX=y.x=N.clientX,y.startY=y.y=N.clientY,y._vx.reset(),y._vy.reset(),nt(Q?o:ve,Yt[1],gr,_r,!0),y.deltaX=y.deltaY=0,S&&S(y))},G=y.onRelease=function(N){if(!be(N,1)){it(Q?o:ve,Yt[1],gr,!0);var L=!isNaN(y.y-y.startY),J=y.isDragging,E=J&&(Math.abs(y.x-y.startX)>3||Math.abs(y.y-y.startY)>3),z=Yi(N);!E&&L&&(y._vx.reset(),y._vy.reset(),f&&Te&&Ye.delayedCall(.08,function(){if(Xi()-jt>300&&!N.defaultPrevented){if(N.target.click)N.target.click();else if(ve.createEvent){var D=ve.createEvent("MouseEvents");D.initMouseEvent("click",!0,!0,Tt,1,z.screenX,z.screenY,z.clientX,z.clientY,!1,!1,!1,!1,0,null),N.target.dispatchEvent(D)}}})),y.isDragging=y.isGesturing=y.isPressed=!1,_&&J&&!Q&&et.restart(!0),ut&&er(),T&&J&&T(y),v&&v(y,E)}},Rr=function(L){return L.touches&&L.touches.length>1&&(y.isGesturing=!0)&&ee(L,y.isDragging)},zt=function(){return(y.isGesturing=!1)||p(y)},It=function(L){if(!be(L)){var J=_e(),E=Jt();ei((J-dr)*Le,(E-Or)*Le,1),dr=J,Or=E,_&&et.restart(!0)}},Bt=function(L){if(!be(L)){L=Yi(L,f),se&&(ye=!0);var J=(L.deltaMode===1?l:L.deltaMode===2?Tt.innerHeight:1)*g;ei(L.deltaX*J,L.deltaY*J,0),_&&!Q&&et.restart(!0)}},Dr=function(L){if(!be(L)){var J=L.clientX,E=L.clientY,z=J-y.x,D=E-y.y;y.x=J,y.y=E,$=!0,_&&et.restart(!0),(z||D)&&ti(z,D)}},ri=function(L){y.event=L,B(y)},tr=function(L){y.event=L,V(y)},Si=function(L){return be(L)||Yi(L,f)&&he(y)};et=y._dc=Ye.delayedCall(d||.25,sn).pause(),y.deltaX=y.deltaY=0,y._vx=On(0,50,!0),y._vy=On(0,50,!0),y.scrollX=_e,y.scrollY=Jt,y.isDragging=y.isGesturing=y.isPressed=!1,ka(this),y.enable=function(N){return y.isEnabled||(nt(pr?ve:o,"scroll",Us),s.indexOf("scroll")>=0&&nt(pr?ve:o,"scroll",It,_r,He),s.indexOf("wheel")>=0&&nt(o,"wheel",Bt,_r,He),(s.indexOf("touch")>=0&&Ca||s.indexOf("pointer")>=0)&&(nt(o,Yt[0],Er,_r,He),nt(ve,Yt[2],G),nt(ve,Yt[3],G),Te&&nt(o,"click",bi,!0,!0),he&&nt(o,"click",Si),ee&&nt(ve,"gesturestart",Rr),p&&nt(ve,"gestureend",zt),B&&nt(o,Ur+"enter",ri),V&&nt(o,Ur+"leave",tr),Y&&nt(o,Ur+"move",Dr)),y.isEnabled=!0,y.isDragging=y.isGesturing=y.isPressed=$=ut=!1,y._vx.reset(),y._vy.reset(),dr=_e(),Or=Jt(),N&&N.type&&Er(N),Je&&Je(y)),y},y.disable=function(){y.isEnabled&&(di.filter(function(N){return N!==y&&qi(N.target)}).length||it(pr?ve:o,"scroll",Us),y.isPressed&&(y._vx.reset(),y._vy.reset(),it(Q?o:ve,Yt[1],gr,!0)),it(pr?ve:o,"scroll",It,He),it(o,"wheel",Bt,He),it(o,Yt[0],Er,He),it(ve,Yt[2],G),it(ve,Yt[3],G),it(o,"click",bi,!0),it(o,"click",Si),it(ve,"gesturestart",Rr),it(ve,"gestureend",zt),it(o,Ur+"enter",ri),it(o,Ur+"leave",tr),it(o,Ur+"move",Dr),y.isEnabled=y.isPressed=y.isDragging=!1,Lt&&Lt(y))},y.kill=y.revert=function(){y.disable();var N=di.indexOf(y);N>=0&&di.splice(N,1),ar===y&&(ar=0)},di.push(y),Q&&qi(o)&&(ar=y),y.enable(h)},Uu(a,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),a}();me.version="3.13.0";me.create=function(a){return new me(a)};me.register=Ra;me.getAll=function(){return di.slice()};me.getById=function(a){return di.filter(function(e){return e.vars.id===a})[0]};Ma()&&Ye.registerPlugin(me);var R,yi,U,ne,Ct,j,oo,Un,rn,Zi,Ui,En,Ke,Kn,js,at,Da,Aa,vi,Ka,Ws,Za,ot,eo,$a,Ja,Mr,to,ao,xi,lo,Wn,ro,Gs,Rn=1,Ze=Date.now,Qs=Ze(),At=0,Wi=0,La=function(e,r,t){var i=St(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&&(!St(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},Ku=function a(){return Wi&&requestAnimationFrame(a)},za=function(){return Kn=1},Ia=function(){return Kn=0},Kt=function(e){return e},Gi=function(e){return Math.round(e*1e5)/1e5||0},ja=function(){return typeof window<"u"},el=function(){return R||ja()&&(R=window.gsap)&&R.registerPlugin&&R},$r=function(e){return!!~oo.indexOf(e)},tl=function(e){return(e==="Height"?lo:U["inner"+e])||Ct["client"+e]||j["client"+e]},rl=function(e){return ur(e,"getBoundingClientRect")||($r(e)?function(){return Vn.width=U.innerWidth,Vn.height=lo,Vn}:function(){return fr(e)})},Zu=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?tl(n):e["client"+n])||0}},$u=function(e,r){return!r||~Ht.indexOf(e)?rl(e):function(){return Vn}},Zt=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()-rl(e)()[n]:$r(e)?(Ct[t]||j[t])-tl(i):e[t]-e["offset"+i])},Dn=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])},St=function(e){return typeof e=="string"},$e=function(e){return typeof e=="function"},Qi=function(e){return typeof e=="number"},Wr=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,il="left",nl="top",uo="right",fo="bottom",Qr="width",Kr="height",$i="Right",Ji="Left",ji="Top",en="Bottom",Pe="padding",Rt="margin",Ti="Width",co="Height",Oe="px",Dt=function(e){return U.getComputedStyle(e)},Ju=function(e){var r=Dt(e).position;e.style.position=r==="absolute"||r==="fixed"?r:"relative"},Ba=function(e,r){for(var t in r)t in e||(e[t]=r[t]);return e},fr=function(e,r){var t=r&&Dt(e)[js]!=="matrix(1, 0, 0, 1, 0, 0)"&&R.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},Gn=function(e,r){var t=r.d2;return e["offset"+t]||e["client"+t]||0},sl=function(e){var r=[],t=e.labels,i=e.duration(),n;for(n in t)r.push(t[n]/i);return r},ju=function(e){return function(r){return R.utils.snap(sl(e),r)}},ho=function(e){var r=R.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(sl(e))(r,t.direction)}},An=function(e,r,t,i){return t.split(",").forEach(function(n){return e(r,n,i)})},Ae=function(e,r,t,i,n){return e.addEventListener(r,t,{passive:!i,capture:!!n})},De=function(e,r,t,i){return e.removeEventListener(r,t,!!i)},Ln=function(e,r,t){t=t&&t.wheelHandler,t&&(e(r,"wheel",t),e(r,"touchmove",t))},Na={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(St(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},zn=function(e,r,t,i,n,s,o,l){var u=n.startColor,f=n.endColor,_=n.fontSize,d=n.indent,c=n.fontWeight,g=ne.createElement("div"),h=$r(t)||ur(t,"pinType")==="fixed",m=e.indexOf("scroller")!==-1,T=h?j:t,w=e.indexOf("start")!==-1,S=w?u: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||l)&&h?"fixed;":"absolute;"),(m||l||!h)&&(v+=(i===Ce?uo:fo)+":"+(s+parseFloat(d))+"px;"),o&&(v+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),g._isStart=w,g.setAttribute("class","gsap-marker-"+e+(r?" marker-"+r:"")),g.style.cssText=v,g.innerText=r||r===0?e+"-"+r:e,T.children[0]?T.insertBefore(g,T.children[0]):T.appendChild(g),g._offset=g["offset"+i.op.d2],Hn(g,0,i,w),g},Hn=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",R.set(e,n)},X=[],io={},nn,Ya=function(){return Ze()-At>34&&(nn||(nn=requestAnimationFrame(cr)))},mi=function(){(!ot||!ot.isPressed||ot.startX>j.clientWidth)&&(H.cache++,ot?nn||(nn=requestAnimationFrame(cr)):cr(),At||jr("scrollStart"),At=Ze())},Zs=function(){Ja=U.innerWidth,$a=U.innerHeight},Ki=function(e){H.cache++,(e===!0||!Ke&&!Za&&!ne.fullscreenElement&&!ne.webkitFullscreenElement&&(!eo||Ja!==U.innerWidth||Math.abs(U.innerHeight-$a)>U.innerHeight*.25))&&Un.restart(!0)},Jr={},tf=[],ol=function a(){return De(q,"scrollEnd",a)||Gr(!0)},jr=function(e){return Jr[e]&&Jr[e].map(function(r){return r()})||tf},bt=[],al=function(e){for(var r=0;r<bt.length;r+=5)(!e||bt[r+4]&&bt[r+4].query===e)&&(bt[r].style.cssText=bt[r+1],bt[r].getBBox&&bt[r].setAttribute("transform",bt[r+2]||""),bt[r+3].uncache=1)},_o=function(e,r){var t;for(at=0;at<X.length;at++)t=X[at],t&&(!r||t._ctx===r)&&(e?t.kill(1):t.revert(!0,!0));Wn=!0,r&&al(r),r||jr("revert")},ll=function(e,r){H.cache++,(r||!lt)&&H.forEach(function(t){return $e(t)&&t.cacheID++&&(t.rec=0)}),St(e)&&(U.history.scrollRestoration=ao=e)},lt,Zr=0,Ha,rf=function(){if(Ha!==Zr){var e=Ha=Zr;requestAnimationFrame(function(){return e===Zr&&Gr(!0)})}},ul=function(){j.appendChild(xi),lo=!ot&&xi.offsetHeight||U.innerHeight,j.removeChild(xi)},Xa=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"})},Gr=function(e,r){if(Ct=ne.documentElement,j=ne.body,oo=[U,ne,Ct,j],At&&!e&&!Wn){Ae(q,"scrollEnd",ol);return}ul(),lt=q.isRefreshing=!0,H.forEach(function(i){return $e(i)&&++i.cacheID&&(i.rec=i())});var t=jr("refreshInit");Ka&&q.sort(),r||_o(),H.forEach(function(i){$e(i)&&(i.smooth&&(i.target.style.scrollBehavior="auto"),i(0))}),X.slice(0).forEach(function(i){return i.refresh()}),Wn=!1,X.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,Xa(!0),X.forEach(function(i){var n=Zt(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)}),Xa(!1),ro=0,t.forEach(function(i){return i&&i.render&&i.render(-1)}),H.forEach(function(i){$e(i)&&(i.smooth&&requestAnimationFrame(function(){return i.target.style.scrollBehavior="smooth"}),i.rec&&i(i.rec))}),ll(ao,1),Un.pause(),Zr++,lt=2,cr(2),X.forEach(function(i){return $e(i.vars.onRefresh)&&i.vars.onRefresh(i)}),lt=q.isRefreshing=!1,jr("refresh")},no=0,Xn=1,tn,cr=function(e){if(e===2||!lt&&!Wn){q.isUpdating=!0,tn&&tn.update(0);var r=X.length,t=Ze(),i=t-Qs>=50,n=r&&X[0].scroll();if(Xn=no>n?-1:1,lt||(no=n),i&&(At&&!Kn&&t-At>200&&(At=0,jr("scrollEnd")),Ui=Qs,Qs=t),Xn<0){for(at=r;at-- >0;)X[at]&&X[at].update(0,i);Xn=1}else for(at=0;at<r;at++)X[at]&&X[at].update(0,i);q.isUpdating=!1}nn=0},so=[il,nl,fo,uo,Rt+en,Rt+$i,Rt+ji,Rt+Ji,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],qn=so.concat([Qr,Kr,"boxSizing","max"+Ti,"max"+co,"position",Rt,Pe,Pe+ji,Pe+$i,Pe+en,Pe+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,l;n--;)l=so[n],s[l]=t[l];s.position=t.position==="absolute"?"absolute":"relative",t.display==="inline"&&(s.display="inline-block"),o[fo]=o[uo]="auto",s.flexBasis=t.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[Qr]=Gn(e,Qe)+Oe,s[Kr]=Gn(e,Ce)+Oe,s[Pe]=o[Rt]=o[nl]=o[il]="0",wi(i),o[Qr]=o["max"+Ti]=t[Qr],o[Kr]=o["max"+co]=t[Kr],o[Pe]=t[Pe],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||R.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=qn.length,t=e.style,i=[],n=0;n<r;n++)i.push(qn[n],t[qn[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},qa=function(e,r,t,i,n,s,o,l,u,f,_,d,c,g){$e(e)&&(e=e(l)),St(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=R.utils.mapRange(c.scrollTrigger.start,c.scrollTrigger.end,0,d,e)),o&&Hn(o,t,i,!0);else{$e(r)&&(r=r(l));var S=(e||"0").split(" "),v,b,P,x;w=st(r,l)||j,v=fr(w)||{},(!v||!v.left&&!v.top)&&Dt(w).display==="none"&&(x=w.style.display,w.style.display="block",v=fr(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]-u[i.p]-f+b+n-P,o&&Hn(o,P,i,t-P<20||o._isStart&&P>20),t-=t-P}if(g&&(l[g]=e||-.001,e<0&&(e=0)),s){var M=e+t,C=s._isStart;m="scroll"+i.d2,Hn(s,M,i,C&&M>20||!C&&(_?Math.max(j[m],Ct[m]):s.parentNode[m])<=M+1),_&&(u=fr(o),_&&(s.style[i.op.p]=u[i.op.p]-i.op.m-s._offset+Oe))}return c&&w&&(m=fr(w),c.seek(d),T=fr(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=Dt(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;R.core.getCache(e).uncache=1,r.appendChild(e)}},fl=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}},Bn=function(e,r,t){var i={};i[r.p]="+="+t,R.set(e,i)},Ua=function(e,r){var t=lr(e,r),i="_scroll"+r.p2,n=function s(o,l,u,f,_){var d=s.tween,c=l.onComplete,g={};u=u||t();var h=fl(t,u,function(){d.kill(),s.tween=0});return _=f&&_||0,f=f||o-u,d&&d.kill(),l[i]=o,l.inherit=!1,l.modifiers=g,g[i]=function(){return h(u+f*d.ratio+_*d.ratio*d.ratio)},l.onUpdate=function(){H.cache++,s.tween&&cr()},l.onComplete=function(){s.tween=0,c&&c.call(d)},d=s.tween=R.to(e,l),d};return e[i]=t,t.wheelHandler=function(){return n.tween&&n.tween.kill()&&(n.tween=0)},Ae(e,"wheel",t.wheelHandler),q.isTouch&&Ae(e,"touchmove",t.wheelHandler),n},q=function(){function a(r,t){yi||a.register(R)||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),!Wi){this.update=this.refresh=this.kill=Kt;return}t=Ba(St(t)||Qi(t)||t.nodeType?{trigger:t}:t,Fn);var n=t,s=n.onUpdate,o=n.toggleClass,l=n.id,u=n.onToggle,f=n.onRefresh,_=n.scrub,d=n.trigger,c=n.pin,g=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,M=n.fastScrollEnd,C=n.preventOverlaps,k=t.horizontal||t.containerAnimation&&t.horizontal!==!1?Qe:Ce,F=!_&&_!==0,O=st(t.scroller||U),W=R.core.getCache(O),B=$r(O),V=("pinType"in t?t.pinType:ur(O,"pinType")||B&&"fixed")==="fixed",Y=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],A=F&&t.toggleActions.split(" "),Q="markers"in t?t.markers:Fn.markers,ee=B?0:parseFloat(Dt(O)["border"+k.p2+Ti])||0,p=this,se=t.onRefreshInit&&function(){return t.onRefreshInit(p)},Je=Zu(O,B,k),Lt=$u(O,B),he=0,Le=0,He=0,Te=lr(O,k),je,Xe,hr,et,ut,$,ye,ft,gt,y,mt,$t,_r,_e,Jt,dr,Or,Ee,pr,ve,Ft,Pt,jt,bi,be,sn,er,ei,ti,gr,Er,G,Rr,zt,It,Bt,Dr,ri,tr;if(p._startClamp=p._endClamp=!1,p._dir=k,m*=45,p.scroller=O,p.scroll=x?x.time.bind(x):Te,et=Te(),p.vars=t,i=i||t.animation,"refreshPriority"in t&&(Ka=1,t.refreshPriority===-9999&&(tn=p)),W.tweenScroll=W.tweenScroll||{top:Ua(O,Ce),left:Ua(O,Qe)},p.tweenTo=je=W.tweenScroll[k.p],p.scrubDuration=function(E){Rr=Qi(E)&&E,Rr?G?G.duration(E):G=R.to(i,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Rr,paused:!0,onComplete:function(){return T&&T(p)}}):(G&&G.progress(1).kill(),G=0)},i&&(i.vars.lazy=!1,i._initted&&!p.isReverted||i.vars.immediateRender!==!1&&t.immediateRender!==!1&&i.duration()&&i.render(0,!0,!0),p.animation=i.pause(),i.scrollTrigger=p,p.scrubDuration(_),gr=0,l||(l=i.vars.id)),v&&((!Wr(v)||v.push)&&(v={snapTo:v}),"scrollBehavior"in j.style&&R.set(B?[j,Ct]:O,{scrollBehavior:"auto"}),H.forEach(function(E){return $e(E)&&E.target===(B?ne.scrollingElement||Ct:O)&&(E.smooth=!1)}),hr=$e(v.snapTo)?v.snapTo:v.snapTo==="labels"?ju(i):v.snapTo==="labelsDirectional"?ef(i):v.directional!==!1?function(E,z){return ho(v.snapTo)(E,Ze()-Le<500?0:z.direction)}:R.utils.snap(v.snapTo),zt=v.duration||{min:.1,max:2},zt=Wr(zt)?Zi(zt.min,zt.max):Zi(zt,zt),It=R.delayedCall(v.delay||Rr/2||.1,function(){var E=Te(),z=Ze()-Le<500,D=je.tween;if((z||Math.abs(p.getVelocity())<10)&&!D&&!Kn&&he!==E){var I=(E-$)/_e,Re=i&&!F?i.totalProgress():I,K=z?0:(Re-Er)/(Ze()-Ui)*1e3||0,xe=R.utils.clamp(-I,1-I,gi(K/2)*K/.185),qe=I+(v.inertia===!1?0:xe),de,oe,te=v,Nt=te.onStart,ue=te.onInterrupt,yt=te.onComplete;if(de=hr(qe,p),Qi(de)||(de=qe),oe=Math.max(0,Math.round($+de*_e)),E<=ye&&E>=$&&oe!==E){if(D&&!D._initted&&D.data<=gi(oe-E))return;v.inertia===!1&&(xe=de-I),je(oe,{duration:zt(gi(Math.max(gi(qe-Re),gi(de-Re))*.185/K/.05||0)),ease:v.ease||"power3",data:gi(oe-E),onInterrupt:function(){return It.restart(!0)&&ue&&ue(p)},onComplete:function(){p.update(),he=Te(),i&&!F&&(G?G.resetTo("totalProgress",de,i._tTime/i._tDur):i.progress(de)),gr=Er=i&&!F?i.totalProgress():p.progress,w&&w(p),yt&&yt(p)}},E,xe*_e,oe-E-xe*_e),Nt&&Nt(p,je.tween)}}else p.isActive&&he!==E&&It.restart(!0)}).pause()),l&&(io[l]=p),d=p.trigger=st(d||c!==!0&&c),tr=d&&d._gsap&&d._gsap.stRevert,tr&&(tr=tr(p)),c=c===!0?d:st(c),St(o)&&(o={targets:d,className:o}),c&&(g===!1||g===Rt||(g=!g&&c.parentNode&&c.parentNode.style&&Dt(c.parentNode).display==="flex"?!1:Pe),p.pin=c,Xe=R.core.getCache(c),Xe.spacer?Jt=Xe.pinState:(P&&(P=st(P),P&&!P.nodeType&&(P=P.current||P.nativeElement),Xe.spacerIsNative=!!P,P&&(Xe.spacerState=In(P))),Xe.spacer=Ee=P||ne.createElement("div"),Ee.classList.add("pin-spacer"),l&&Ee.classList.add("pin-spacer-"+l),Xe.pinState=Jt=In(c)),t.force3D!==!1&&R.set(c,{force3D:!0}),p.spacer=Ee=Xe.spacer,ti=Dt(c),bi=ti[g+k.os2],ve=R.getProperty(c),Ft=R.quickSetter(c,k.a,Oe),$s(c,Ee,ti),Or=In(c)),Q){$t=Wr(Q)?Ba(Q,Na):Na,y=zn("scroller-start",l,O,k,$t,0),mt=zn("scroller-end",l,O,k,$t,0,y),pr=y["offset"+k.op.d2];var Si=st(ur(O,"content")||O);ft=this.markerStart=zn("start",l,Si,k,$t,pr,0,x),gt=this.markerEnd=zn("end",l,Si,k,$t,pr,0,x),x&&(ri=R.quickSetter([ft,gt],k.a,Oe)),!V&&!(Ht.length&&ur(O,"fixedMarkers")===!0)&&(Ju(B?j:O),R.set([y,mt],{force3D:!0}),sn=R.quickSetter(y,k.a,Oe),ei=R.quickSetter(mt,k.a,Oe))}if(x){var N=x.vars.onUpdate,L=x.vars.onUpdateParams;x.eventCallback("onUpdate",function(){p.update(0,0,1),N&&N.apply(x,L||[])})}if(p.previous=function(){return X[X.indexOf(p)-1]},p.next=function(){return X[X.indexOf(p)+1]},p.revert=function(E,z){if(!z)return p.kill(!0);var D=E!==!1||!p.enabled,I=Ke;D!==p.isReverted&&(D&&(Bt=Math.max(Te(),p.scroll.rec||0),He=p.progress,Dr=i&&i.progress()),ft&&[ft,gt,y,mt].forEach(function(Re){return Re.style.display=D?"none":"block"}),D&&(Ke=p,p.update(D)),c&&(!b||!p.isActive)&&(D?nf(c,Ee,Jt):$s(c,Ee,Dt(c),be)),D||p.update(D),Ke=I,p.isReverted=D)},p.refresh=function(E,z,D,I){if(!((Ke||!p.enabled)&&!z)){if(c&&E&&At){Ae(a,"scrollEnd",ol);return}!lt&&se&&se(p),Ke=p,je.tween&&!D&&(je.tween.kill(),je.tween=0),G&&G.pause(),h&&i&&(i.revert({kill:!1}).invalidate(),i.getChildren&&i.getChildren(!0,!0,!1).forEach(function(mr){return mr.vars.immediateRender&&mr.render(0,!0,!0)})),p.isReverted||p.revert(!0,!0),p._subPinOffset=!1;var Re=Je(),K=Lt(),xe=x?x.duration():Zt(O,k),qe=_e<=.01||!_e,de=0,oe=I||0,te=Wr(D)?D.end:t.end,Nt=t.endTrigger||d,ue=Wr(D)?D.start:t.start||(t.start===0||!d?0:c?"0 0":"0 100%"),yt=p.pinnedContainer=t.pinnedContainer&&st(t.pinnedContainer,p),Xt=d&&Math.max(0,X.indexOf(p))||0,Fe=Xt,ze,Ve,Ar,on,Ue,ke,qt,Zn,po,Ci,Vt,Pi,an;for(Q&&Wr(D)&&(Pi=R.getProperty(y,k.p),an=R.getProperty(mt,k.p));Fe-- >0;)ke=X[Fe],ke.end||ke.refresh(0,1)||(Ke=p),qt=ke.pin,qt&&(qt===d||qt===c||qt===yt)&&!ke.isReverted&&(Ci||(Ci=[]),Ci.unshift(ke),ke.revert(!0,!0)),ke!==X[Fe]&&(Xt--,Fe--);for($e(ue)&&(ue=ue(p)),ue=La(ue,"start",p),$=qa(ue,d,Re,k,Te(),ft,y,p,K,ee,V,xe,x,p._startClamp&&"_startClamp")||(c?-.001:0),$e(te)&&(te=te(p)),St(te)&&!te.indexOf("+=")&&(~te.indexOf(" ")?te=(St(ue)?ue.split(" ")[0]:"")+te:(de=Yn(te.substr(2),Re),te=St(ue)?ue:(x?R.utils.mapRange(0,x.duration(),x.scrollTrigger.start,x.scrollTrigger.end,$):$)+de,Nt=d)),te=La(te,"end",p),ye=Math.max($,qa(te||(Nt?"100% 0":xe),Nt,Re,k,Te()+de,gt,mt,p,K,ee,V,xe,x,p._endClamp&&"_endClamp"))||-.001,de=0,Fe=Xt;Fe--;)ke=X[Fe],qt=ke.pin,qt&&ke.start-ke._pinPush<=$&&!x&&ke.end>0&&(ze=ke.end-(p._startClamp?Math.max(0,ke.start):ke.start),(qt===d&&ke.start-ke._pinPush<$||qt===yt)&&isNaN(ue)&&(de+=ze*(1-ke.progress)),qt===c&&(oe+=ze));if($+=de,ye+=de,p._startClamp&&(p._startClamp+=de),p._endClamp&&!lt&&(p._endClamp=ye||-.001,ye=Math.min(ye,Zt(O,k))),_e=ye-$||($-=.01)&&.001,qe&&(He=R.utils.clamp(0,1,R.utils.normalize($,ye,Bt))),p._pinPush=oe,ft&&de&&(ze={},ze[k.a]="+="+de,yt&&(ze[k.p]="-="+Te()),R.set([ft,gt],ze)),c&&!(ro&&p.end>=Zt(O,k)))ze=Dt(c),on=k===Ce,Ar=Te(),Pt=parseFloat(ve(k.a))+oe,!xe&&ye>1&&(Vt=(B?ne.scrollingElement||Ct:O).style,Vt={style:Vt,value:Vt["overflow"+k.a.toUpperCase()]},B&&Dt(j)["overflow"+k.a.toUpperCase()]!=="scroll"&&(Vt.style["overflow"+k.a.toUpperCase()]="scroll")),$s(c,Ee,ze),Or=In(c),Ve=fr(c,!0),Zn=V&&lr(O,on?Qe:Ce)(),g?(be=[g+k.os2,_e+oe+Oe],be.t=Ee,Fe=g===Pe?Gn(c,k)+_e+oe:0,Fe&&(be.push(k.d,Fe+Oe),Ee.style.flexBasis!=="auto"&&(Ee.style.flexBasis=Fe+Oe)),wi(be),yt&&X.forEach(function(mr){mr.pin===yt&&mr.vars.pinSpacing!==!1&&(mr._subPinOffset=!0)}),V&&Te(Bt)):(Fe=Gn(c,k),Fe&&Ee.style.flexBasis!=="auto"&&(Ee.style.flexBasis=Fe+Oe)),V&&(Ue={top:Ve.top+(on?Ar-$:Zn)+Oe,left:Ve.left+(on?Zn:Ar-$)+Oe,boxSizing:"border-box",position:"fixed"},Ue[Qr]=Ue["max"+Ti]=Math.ceil(Ve.width)+Oe,Ue[Kr]=Ue["max"+co]=Math.ceil(Ve.height)+Oe,Ue[Rt]=Ue[Rt+ji]=Ue[Rt+$i]=Ue[Rt+en]=Ue[Rt+Ji]="0",Ue[Pe]=ze[Pe],Ue[Pe+ji]=ze[Pe+ji],Ue[Pe+$i]=ze[Pe+$i],Ue[Pe+en]=ze[Pe+en],Ue[Pe+Ji]=ze[Pe+Ji],dr=of(Jt,Ue,b),lt&&Te(0)),i?(po=i._initted,Ws(1),i.render(i.duration(),!0,!0),jt=ve(k.a)-Pt+_e+oe,er=Math.abs(_e-jt)>1,V&&er&&dr.splice(dr.length-2,2),i.render(0,!0,!0),po||i.invalidate(!0),i.parent||i.totalTime(i.totalTime()),Ws(0)):jt=_e,Vt&&(Vt.value?Vt.style["overflow"+k.a.toUpperCase()]=Vt.value:Vt.style.removeProperty("overflow-"+k.a));else if(d&&Te()&&!x)for(Ve=d.parentNode;Ve&&Ve!==j;)Ve._pinOffset&&($-=Ve._pinOffset,ye-=Ve._pinOffset),Ve=Ve.parentNode;Ci&&Ci.forEach(function(mr){return mr.revert(!1,!0)}),p.start=$,p.end=ye,et=ut=lt?Bt:Te(),!x&&!lt&&(et<Bt&&Te(Bt),p.scroll.rec=0),p.revert(!1,!0),Le=Ze(),It&&(he=-1,It.restart(!0)),Ke=0,i&&F&&(i._initted||Dr)&&i.progress()!==Dr&&i.progress(Dr||0,!0).render(i.time(),!0,!0),(qe||He!==p.progress||x||h||i&&!i._initted)&&(i&&!F&&(i._initted||He||i.vars.immediateRender!==!1)&&i.totalProgress(x&&$<-.001&&!He?R.utils.normalize($,ye,0):He,!0),p.progress=qe||(et-$)/_e===He?0:He),c&&g&&(Ee._pinOffset=Math.round(p.progress*jt)),G&&G.invalidate(),isNaN(Pi)||(Pi-=R.getProperty(y,k.p),an-=R.getProperty(mt,k.p),Bn(y,k,Pi),Bn(ft,k,Pi-(I||0)),Bn(mt,k,an),Bn(gt,k,an-(I||0))),qe&&!lt&&p.update(),f&&!lt&&!_r&&(_r=!0,f(p),_r=!1)}},p.getVelocity=function(){return(Te()-ut)/(Ze()-Ui)*1e3||0},p.endAnimation=function(){Vi(p.callbackAnimation),i&&(G?G.progress(1):i.paused()?F||Vi(i,p.direction<0,1):Vi(i,i.reversed()))},p.labelToScroll=function(E){return i&&i.labels&&($||p.refresh()||$)+i.labels[E]/i.duration()*_e||0},p.getTrailing=function(E){var z=X.indexOf(p),D=p.direction>0?X.slice(0,z).reverse():X.slice(z+1);return(St(E)?D.filter(function(I){return I.vars.preventOverlaps===E}):D).filter(function(I){return p.direction>0?I.end<=$:I.start>=ye})},p.update=function(E,z,D){if(!(x&&!D&&!E)){var I=lt===!0?Bt:p.scroll(),Re=E?0:(I-$)/_e,K=Re<0?0:Re>1?1:Re||0,xe=p.progress,qe,de,oe,te,Nt,ue,yt,Xt;if(z&&(ut=et,et=x?Te():I,v&&(Er=gr,gr=i&&!F?i.totalProgress():K)),m&&c&&!Ke&&!Rn&&At&&(!K&&$<I+(I-ut)/(Ze()-Ui)*m?K=1e-4:K===1&&ye>I+(I-ut)/(Ze()-Ui)*m&&(K=.9999)),K!==xe&&p.enabled){if(qe=p.isActive=!!K&&K<1,de=!!xe&&xe<1,ue=qe!==de,Nt=ue||!!K!=!!xe,p.direction=K>xe?1:-1,p.progress=K,Nt&&!Ke&&(oe=K&&!xe?0:K===1?1:xe===1?2:3,F&&(te=!ue&&A[oe+1]!=="none"&&A[oe+1]||A[oe],Xt=i&&(te==="complete"||te==="reset"||te in i))),C&&(ue||Xt)&&(Xt||_||!i)&&($e(C)?C(p):p.getTrailing(C).forEach(function(Ar){return Ar.endAnimation()})),F||(G&&!Ke&&!Rn?(G._dp._time-G._start!==G._time&&G.render(G._dp._time-G._start),G.resetTo?G.resetTo("totalProgress",K,i._tTime/i._tDur):(G.vars.totalProgress=K,G.invalidate().restart())):i&&i.totalProgress(K,!!(Ke&&(Le||E)))),c){if(E&&g&&(Ee.style[g+k.os2]=bi),!V)Ft(Gi(Pt+jt*K));else if(Nt){if(yt=!E&&K>xe&&ye+1>I&&I+1>=Zt(O,k),b)if(!E&&(qe||yt)){var Fe=fr(c,!0),ze=I-$;Va(c,j,Fe.top+(k===Ce?ze:0)+Oe,Fe.left+(k===Ce?0:ze)+Oe)}else Va(c,Ee);wi(qe||yt?dr:Or),er&&K<1&&qe||Ft(Pt+(K===1&&!yt?jt:0))}}v&&!je.tween&&!Ke&&!Rn&&It.restart(!0),o&&(ue||S&&K&&(K<1||!Gs))&&rn(o.targets).forEach(function(Ar){return Ar.classList[qe||S?"add":"remove"](o.className)}),s&&!F&&!E&&s(p),Nt&&!Ke?(F&&(Xt&&(te==="complete"?i.pause().totalProgress(1):te==="reset"?i.restart(!0).pause():te==="restart"?i.restart(!0):i[te]()),s&&s(p)),(ue||!Gs)&&(u&&ue&&Ks(p,u),Y[oe]&&Ks(p,Y[oe]),S&&(K===1?p.kill(!1,1):Y[oe]=0),ue||(oe=K===1?1:3,Y[oe]&&Ks(p,Y[oe]))),M&&!qe&&Math.abs(p.getVelocity())>(Qi(M)?M:2500)&&(Vi(p.callbackAnimation),G?G.progress(1):Vi(i,te==="reverse"?1:!K,1))):F&&s&&!Ke&&s(p)}if(ei){var Ve=x?I/x.duration()*(x._caScrollDist||0):I;sn(Ve+(y._isFlipped?1:0)),ei(Ve)}ri&&ri(-I/x.duration()*(x._caScrollDist||0))}},p.enable=function(E,z){p.enabled||(p.enabled=!0,Ae(O,"resize",Ki),B||Ae(O,"scroll",mi),se&&Ae(a,"refreshInit",se),E!==!1&&(p.progress=He=0,et=ut=he=Te()),z!==!1&&p.refresh())},p.getTween=function(E){return E&&je?je.tween:G},p.setPositions=function(E,z,D,I){if(x){var Re=x.scrollTrigger,K=x.duration(),xe=Re.end-Re.start;E=Re.start+xe*E/K,z=Re.start+xe*z/K}p.refresh(!1,!1,{start:Fa(E,D&&!!p._startClamp),end:Fa(z,D&&!!p._endClamp)},I),p.update()},p.adjustPinSpacing=function(E){if(be&&E){var z=be.indexOf(k.d)+1;be[z]=parseFloat(be[z])+E+Oe,be[1]=parseFloat(be[1])+E+Oe,wi(be)}},p.disable=function(E,z){if(p.enabled&&(E!==!1&&p.revert(!0,!0),p.enabled=p.isActive=!1,z||G&&G.pause(),Bt=0,Xe&&(Xe.uncache=1),se&&De(a,"refreshInit",se),It&&(It.pause(),je.tween&&je.tween.kill()&&(je.tween=0)),!B)){for(var D=X.length;D--;)if(X[D].scroller===O&&X[D]!==p)return;De(O,"resize",Ki),B||De(O,"scroll",mi)}},p.kill=function(E,z){p.disable(E,z),G&&!z&&G.kill(),l&&delete io[l];var D=X.indexOf(p);D>=0&&X.splice(D,1),D===at&&Xn>0&&at--,D=0,X.forEach(function(I){return I.scroller===p.scroller&&(D=1)}),D||lt||(p.scroll.rec=0),i&&(i.scrollTrigger=null,E&&i.revert({kill:!1}),z||i.kill()),ft&&[ft,gt,y,mt].forEach(function(I){return I.parentNode&&I.parentNode.removeChild(I)}),tn===p&&(tn=0),c&&(Xe&&(Xe.uncache=1),D=0,X.forEach(function(I){return I.pin===c&&D++}),D||(Xe.spacer=0)),t.onKill&&t.onKill(p)},X.push(p),p.enable(!1,!1),tr&&tr(p),i&&i.add&&!_e){var J=p.update;p.update=function(){p.update=J,H.cache++,$||ye||p.refresh()},R.delayedCall(.01,p.update),_e=.01,$=ye=0}else p.refresh();c&&rf()},a.register=function(t){return yi||(R=t||el(),ja()&&window.document&&a.enable(),yi=Wi),yi},a.defaults=function(t){if(t)for(var i in t)Fn[i]=t[i];return Fn},a.disable=function(t,i){Wi=0,X.forEach(function(s){return s[i?"kill":"disable"](t)}),De(U,"wheel",mi),De(ne,"scroll",mi),clearInterval(En),De(ne,"touchcancel",Kt),De(j,"touchstart",Kt),An(De,ne,"pointerdown,touchstart,mousedown",za),An(De,ne,"pointerup,touchend,mouseup",Ia),Un.kill(),Dn(De);for(var n=0;n<H.length;n+=3)Ln(De,H[n],H[n+1]),Ln(De,H[n],H[n+2])},a.enable=function(){if(U=window,ne=document,Ct=ne.documentElement,j=ne.body,R&&(rn=R.utils.toArray,Zi=R.utils.clamp,to=R.core.context||Kt,Ws=R.core.suppressOverwrites||Kt,ao=U.history.scrollRestoration||"auto",no=U.pageYOffset||0,R.core.globals("ScrollTrigger",a),j)){Wi=1,xi=document.createElement("div"),xi.style.height="100vh",xi.style.position="absolute",ul(),Ku(),me.register(R),a.isTouch=me.isTouch,Mr=me.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),eo=me.isTouch===1,Ae(U,"wheel",mi),oo=[U,ne,Ct,j],R.matchMedia?(a.matchMedia=function(u){var f=R.matchMedia(),_;for(_ in u)f.add(_,u[_]);return f},R.addEventListener("matchMediaInit",function(){return _o()}),R.addEventListener("matchMediaRevert",function(){return al()}),R.addEventListener("matchMedia",function(){Gr(0,1),jr("matchMedia")}),R.matchMedia().add("(orientation: portrait)",function(){return Zs(),Zs})):console.warn("Requires GSAP 3.11.0 or later"),Zs(),Ae(ne,"scroll",mi);var t=j.hasAttribute("style"),i=j.style,n=i.borderTopStyle,s=R.core.Animation.prototype,o,l;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),i.borderTopStyle="solid",o=fr(j),Ce.m=Math.round(o.top+Ce.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")),En=setInterval(Ya,250),R.delayedCall(.5,function(){return Rn=0}),Ae(ne,"touchcancel",Kt),Ae(j,"touchstart",Kt),An(Ae,ne,"pointerdown,touchstart,mousedown",za),An(Ae,ne,"pointerup,touchend,mouseup",Ia),js=R.utils.checkPrefix("transform"),qn.push(js),yi=Ze(),Un=R.delayedCall(.2,Gr).pause(),vi=[ne,"visibilitychange",function(){var u=U.innerWidth,f=U.innerHeight;ne.hidden?(Da=u,Aa=f):(Da!==u||Aa!==f)&&Ki()},ne,"DOMContentLoaded",Gr,U,"load",Gr,U,"resize",Ki],Dn(Ae),X.forEach(function(u){return u.enable(0,1)}),l=0;l<H.length;l+=3)Ln(De,H[l],H[l+1]),Ln(De,H[l],H[l+2])}},a.config=function(t){"limitCallbacks"in t&&(Gs=!!t.limitCallbacks);var i=t.syncInterval;i&&clearInterval(En)||(En=i)&&setInterval(Ya,i),"ignoreMobileResize"in t&&(eo=a.isTouch===1&&t.ignoreMobileResize),"autoRefreshEvents"in t&&(Dn(De)||Dn(Ae,t.autoRefreshEvents||"none"),Za=(t.autoRefreshEvents+"").indexOf("resize")===-1)},a.scrollerProxy=function(t,i){var n=st(t),s=H.indexOf(n),o=$r(n);~s&&H.splice(s,o?6:2),i&&(o?Ht.unshift(U,i,j,i,Ct,i):Ht.unshift(n,i))},a.clearMatchMedia=function(t){X.forEach(function(i){return i._ctx&&i._ctx.query===t&&i._ctx.kill(!0,!0)})},a.isInViewport=function(t,i,n){var s=(St(t)?st(t):t).getBoundingClientRect(),o=s[n?Qr:Kr]*i||0;return n?s.right-o>0&&s.left+o<U.innerWidth:s.bottom-o>0&&s.top+o<U.innerHeight},a.positionInViewport=function(t,i,n){St(t)&&(t=st(t));var s=t.getBoundingClientRect(),o=s[n?Qr:Kr],l=i==null?o/2:i in Qn?Qn[i]*o:~i.indexOf("%")?parseFloat(i)*o/100:parseFloat(i)||0;return n?(s.left+l)/U.innerWidth:(s.top+l)/U.innerHeight},a.killAll=function(t){if(X.slice(0).forEach(function(n){return n.vars.id!=="ScrollSmoother"&&n.kill()}),t!==!0){var i=Jr.killAll||[];Jr={},i.forEach(function(n){return n()})}},a}();q.version="3.13.0";q.saveStyles=function(a){return a?rn(a).forEach(function(e){if(e&&e.style){var r=bt.indexOf(e);r>=0&&bt.splice(r,5),bt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),R.core.getCache(e),to())}}):bt};q.revert=function(a,e){return _o(!a,e)};q.create=function(a,e){return new q(a,e)};q.refresh=function(a){return a?Ki(!0):(yi||q.register())&&Gr(!0)};q.update=function(a){return++H.cache&&cr(a===!0?2:0)};q.clearScrollMemory=ll;q.maxScroll=function(a,e){return Zt(a,e?Qe:Ce)};q.getScrollFunc=function(a,e){return lr(st(a),e?Qe:Ce)};q.getById=function(a){return io[a]};q.getAll=function(){return X.filter(function(a){return a.vars.id!=="ScrollSmoother"})};q.isScrolling=function(){return!!At};q.snapDirectional=ho;q.addEventListener=function(a,e){var r=Jr[a]||(Jr[a]=[]);~r.indexOf(e)||r.push(e)};q.removeEventListener=function(a,e){var r=Jr[a],t=r&&r.indexOf(e);t>=0&&r.splice(t,1)};q.batch=function(a,e){var r=[],t={},i=e.interval||.016,n=e.batchMax||1e9,s=function(u,f){var _=[],d=[],c=R.delayedCall(i,function(){f(_,d),_=[],d=[]}).pause();return function(g){_.length||c.restart(!0),_.push(g.trigger),d.push(g),n<=_.length&&c.progress(1)}},o;for(o in e)t[o]=o.substr(0,2)==="on"&&$e(e[o])&&o!=="onRefreshInit"?s(o,e[o]):e[o];return $e(n)&&(n=n(),Ae(q,"refresh",function(){return n=e.batchMax()})),rn(a).forEach(function(l){var u={};for(o in t)u[o]=t[o];u.trigger=l,r.push(q.create(u))}),r};var Wa=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+(me.isTouch?" pinch-zoom":""):"none",e===Ct&&a(j,r)},Nn={auto:1,scroll:1},lf=function(e){var r=e.event,t=e.target,i=e.axis,n=(r.changedTouches?r.changedTouches[0]:r).target,s=n._gsap||R.core.getCache(n),o=Ze(),l;if(!s._isScrollT||o-s._isScrollT>2e3){for(;n&&n!==j&&(n.scrollHeight<=n.clientHeight&&n.scrollWidth<=n.clientWidth||!(Nn[(l=Dt(n)).overflowY]||Nn[l.overflowX]));)n=n.parentNode;s._isScroll=n&&n!==t&&!$r(n)&&(Nn[(l=Dt(n)).overflowY]||Nn[l.overflowX]),s._isScrollT=o}(s._isScroll||i==="x")&&(r.stopPropagation(),r._gsapAllow=!0)},cl=function(e,r,t,i){return me.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:r,onWheel:i=i&&lf,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return t&&Ae(ne,me.eventTypes[0],Qa,!1,!0)},onDisable:function(){return De(ne,me.eventTypes[0],Qa,!0)}})},uf=/(input|label|select|textarea)/i,Ga,Qa=function(e){var r=uf.test(e.target.tagName);(r||Ga)&&(e._gsapAllow=!0,Ga=r)},ff=function(e){Wr(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,l,u=st(e.target)||Ct,f=R.core.globals().ScrollSmoother,_=f&&f.get(),d=Mr&&(e.content&&st(e.content)||_&&e.content!==!1&&!_.smooth()&&_.content()),c=lr(u,Ce),g=lr(u,Qe),h=1,m=(me.isTouch&&U.visualViewport?U.visualViewport.scale*U.visualViewport.width:U.outerWidth)/U.innerWidth,T=0,w=$e(i)?function(){return i(o)}:function(){return i||2.8},S,v,b=cl(u,e.type,!0,n),P=function(){return v=!1},x=Kt,M=Kt,C=function(){l=Zt(u,Ce),M=Zi(Mr?1:0,l),t&&(x=Zi(0,Zt(u,Qe))),S=Zr},k=function(){d._gsap.y=Gi(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 Q=Gi(o.deltaY/2),ee=M(c.v-Q);if(d&&ee!==c.v+c.offset){c.offset=ee-c.v;var p=Gi((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, "+p+", 0, 1)",d._gsap.y=p+"px",c.cacheID=H.cache,cr()}return!0}c.offset&&k(),v=!0},O,W,B,V,Y=function(){C(),O.isActive()&&O.vars.scrollY>l&&(c()>l?O.progress(1)&&c(l):O.resetTo("scrollY",l))};return d&&R.set(d,{y:"+=0"}),e.ignoreCheck=function(A){return Mr&&A.type==="touchmove"&&F(A)||h>1.05&&A.type!=="touchstart"||o.isGesturing||A.touches&&A.touches.length>1},e.onPress=function(){v=!1;var A=h;h=Gi((U.visualViewport&&U.visualViewport.scale||1)/m),O.pause(),A!==h&&Js(u,h>1.01?!0:t?!1:"x"),W=g(),B=c(),C(),S=Zr},e.onRelease=e.onGestureStart=function(A,Q){if(c.offset&&k(),!Q)V.restart(!0);else{H.cache++;var ee=w(),p,se;t&&(p=g(),se=p+ee*.05*-A.velocityX/.227,ee*=Wa(g,p,se,Zt(u,Qe)),O.vars.scrollX=x(se)),p=c(),se=p+ee*.05*-A.velocityY/.227,ee*=Wa(c,p,se,Zt(u,Ce)),O.vars.scrollY=M(se),O.invalidate().duration(ee).play(.01),(Mr&&O.vars.scrollY>=l||p>=l-1)&&R.to({},{onUpdate:Y,duration:ee})}s&&s(A)},e.onWheel=function(){O._ts&&O.pause(),Ze()-T>1e3&&(S=0,T=Ze())},e.onChange=function(A,Q,ee,p,se){if(Zr!==S&&C(),Q&&t&&g(x(p[2]===Q?W+(A.startX-A.x):g()+Q-p[1])),ee){c.offset&&k();var Je=se[2]===ee,Lt=Je?B+A.startY-A.y:c()+ee-se[1],he=M(Lt);Je&&Lt!==he&&(B+=he-Lt),c(he)}(ee||Q)&&cr()},e.onEnable=function(){Js(u,t?!1:"x"),q.addEventListener("refresh",Y),Ae(U,"resize",Y),c.smooth&&(c.target.style.scrollBehavior="auto",c.smooth=g.smooth=!1),b.enable()},e.onDisable=function(){Js(u,!0),De(U,"resize",Y),q.removeEventListener("refresh",Y),b.kill()},e.lockAxis=e.lockAxis!==!1,o=new me(e),o.iOS=Mr,Mr&&!c()&&c(1),Mr&&R.ticker.add(Kt),V=o._dc,O=R.to(o,{ease:"power4",paused:!0,inherit:!1,scrollX:t?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:fl(c,c(),function(){return O.pause()})},onUpdate:cr,onComplete:V.vars.onComplete}),o};q.sort=function(a){if($e(a))return X.sort(a);var e=U.pageYOffset||0;return q.getAll().forEach(function(r){return r._sortY=r.trigger?e+r.trigger.getBoundingClientRect().top:r.start+U.innerHeight}),X.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)})};q.observe=function(a){return new me(a)};q.normalizeScroll=function(a){if(typeof a>"u")return ot;if(a===!0&&ot)return ot.enable();if(a===!1){ot&&ot.kill(),ot=a;return}var e=a instanceof me?a:ff(a);return ot&&ot.target===e.target&&ot.kill(),$r(e.target)&&(ot=e),e};q.core={_getVelocityProp:On,_inputObserver:cl,_scrollers:H,_proxies:Ht,bridge:{ss:function(){At||jr("scrollStart"),At=Ze()},ref:function(){return Ke}}};el()&&R.registerPlugin(q);le.registerPlugin(q);function cf(){let a=document.getElementById("home-scroll");if(!a)return;let e=a.querySelector("[pulse-animation-element='hero-title']"),r=a.querySelector("[pulse-animation-element='hero-description']"),t=a.querySelector("[pulse-animation-element='hero-button']"),i=a.querySelector("[pulse-animation-element='hero-blur']"),n=a.querySelector("[pulse-animation-element='hero-blur-overlay']"),s=a.querySelector("#canvas3d"),o=document.querySelector('[pulse-animation-element="col-1-row-1-item-1"]'),l=document.querySelector('[pulse-animation-element="col-1-row-1-item-2"]'),u=document.querySelector('[pulse-animation-element="col-1-row-2-item-1"]'),f=document.querySelector('[pulse-animation-element="col-1-row-2-item-2"]'),_=document.querySelector('[pulse-animation-element="col-1-row-3-item-1"]'),d=document.querySelector('[pulse-animation-element="col-2-row-1-item-1"]'),c=document.querySelector('[pulse-animation-element="col-2-row-1-item-2"]'),g=document.querySelector('[pulse-animation-element="col-2-row-2-item-1"]'),h=document.querySelector('[pulse-animation-element="col-2-row-3-item-1"]'),m=document.querySelector('[pulse-animation-element="col-3-row-1-item-1"]'),T=document.querySelector('[pulse-animation-element="col-3-row-2-col-1-item-1"]'),w=document.querySelector('[pulse-animation-element="col-3-row-2-col-1-item-2"]'),S=document.querySelector('[pulse-animation-element="col-3-row-2-col-2-item-1"]'),v=document.querySelector('[pulse-animation-element="col-3-row-2-col-2-item-2"]'),b=document.querySelector('[pulse-animation-element="col-3-row-3-item-1"]'),P=document.querySelector('[pulse-animation-element="canvas"]'),x=document.querySelector('[pulse-animation-element="radial-gradient-wrapper"]'),M=[o,l,u,f,_,d,c,h,m,T,w,S,v,b].filter(Boolean),C=g,k=document.querySelector('[pulse-animation-element="player-inner-elements"]'),F=document.querySelector('[pulse-animation-element="player-radius-rect"]'),O=document.querySelector('[pulse-animation-element="line-art"]');if(!F){console.warn("Player radius rect not found");return}let W=F.getTotalLength(),B=document.querySelector('[pulse-animation-element="player-handle"]'),V=document.querySelector('[pulse-animation-element="player-handle-tail"]'),Y=document.querySelector('[pulse-animation-element="handle-wrapper"]'),A=document.querySelectorAll('[pulse-animation-element="vignette"]'),Q=document.querySelector('[pulse-animation-element="launch-button"]'),ee=document.querySelector('[pulse-animation-element="launch-title"]');console.log("playerHandle:",B),console.log("Player position element:",C);let p=le.timeline({defaults:{ease:"power2.out",duration:1},scrollTrigger:{trigger:a,start:"top bottom",end:"bottom top",scrub:!0,invalidateOnRefresh:!0}});le.set(i,{yPercent:32,opacity:1}),le.set([n],{y:0}),le.set(n,{opacity:1}),le.set(x,{opacity:0}),p.addLabel("start",0),p.fromTo(e,{y:1100},{y:-400,ease:"power2.out",duration:1.2,immediateRender:!1},"start+=0.1"),p.fromTo(r,{y:680},{y:-400,ease:"power2.out",duration:1.2,immediateRender:!1},"start+=0.2"),p.fromTo(t,{y:440},{y:-500,ease:"power2.out",duration:1.2,immediateRender:!1},"start+=0.3"),p.to(i,{yPercent:-100,opacity:0,ease:"power2.out",duration:1.2,delay:.2,immediateRender:!1},"start+=0.2"),p.to(n,{y:-1200,ease:"power2.out",duration:1,delay:.2,immediateRender:!1},"start+=0.2"),p.to([e,r,t],{scale:.95,duration:.8,ease:"power2.out",immediateRender:!1},"start+=0.4"),p.to([e,r,t],{opacity:0,duration:.2,delay:.2,ease:"power2.out",immediateRender:!1},"start+=0.35"),le.set(M,{opacity:0,scale:()=>le.utils.random(.5,.95),y:()=>le.utils.random(40,60)}),le.set(C,{opacity:1,scale:.5}),le.set(k,{scale:.8}),le.set(F,{opacity:0}),le.set(O,{opacity:0,scale:.5}),le.set(s,{height:"auto"}),le.set(B,{rotation:-10}),le.set(V,{rotation:-10}),le.set([Y],{scale:.8,opacity:0}),le.set(ee,{y:50,opacity:0,scale:.95}),le.set(Q,{y:0,opacity:0,scale:.95}),le.set(A,{opacity:0}),p.addLabel("grid-in","start+=0.5"),p.to(M,{scale:1,y:0,ease:"power2.out",duration:()=>le.utils.random(.4,.8),stagger:{amount:.1,from:"random"},immediateRender:!1},"grid-in"),p.to(M,{opacity:1,ease:"power2.out",duration:()=>le.utils.random(.2,.4),stagger:{amount:.1,from:"random"},immediateRender:!1},"grid-in"),p.to(s,{height:"100%",ease:"power2.out",duration:.5,immediateRender:!1},"grid-in"),p.to(C,{opacity:1,scale:1,ease:"power2.out",duration:.3,immediateRender:!1},"grid-in"),p.to(k,{scale:1,ease:"power2.out",duration:.3,immediateRender:!1},"grid-in"),p.to(k,{opacity:1,ease:"power2.out",duration:.1,immediateRender:!1},"grid-in+=0.1"),p.fromTo(O,{opacity:0},{opacity:1,ease:"power2.out",duration:.2,immediateRender:!1},"grid-in+=0.1"),p.fromTo(O,{scale:.5},{scale:1,ease:"power2.out",duration:.5,immediateRender:!1},"grid-in+=0.2"),p.to(F,{opacity:1,ease:"power2.out",duration:.3,immediateRender:!1},"grid-in+=0.3"),B&&V&&Y&&(p.to([Y],{opacity:1,scale:1,duration:.1,ease:"power2.out",immediateRender:!1},"grid-in+=0.4"),p.to(B,{rotation:30,duration:.5,ease:"power2.out",immediateRender:!1},"grid-in+=0.4"),p.to(V,{rotation:30,duration:.5,ease:"power2.out",immediateRender:!1},"grid-in+=0.4")),ee&&p.to([ee],{y:0,opacity:1,scale:1,duration:.2,ease:"power2.out",immediateRender:!1},"grid-in+=0.35"),Q&&p.to([Q],{y:0,opacity:1,scale:1,duration:.2,ease:"power2.out",immediateRender:!1},"grid-in+=0.45"),x&&p.to(x,{opacity:1,duration:.1,ease:"power2.out",immediateRender:!1},"grid-in+=0.4"),A&&p.to(A,{opacity:1,duration:.2,ease:"power2.out",immediateRender:!1},"grid-in+=0.4"),p.to(M,{opacity:.8,ease:"power2.out",duration:.2,stagger:{amount:.1,from:"random"},immediateRender:!1},"grid-in+=0.30")}typeof window<"u"&&(window.addEventListener("DOMContentLoaded",()=>{cf()}),window.addEventListener("load",()=>{q.refresh()}));})();
2
2
  /*! Bundled license information:
3
3
 
4
4
  gsap/gsap-core.js: