import{S as Zr,i as Jr,s as ti,k as U,l as Y,m as G,h as I,n as A,p as ke,b as ie,J as rn,H as Ar,K as nn,a as bt,q as _t,c as wt,r as ct,L as ei,G as D,g as Ce,f as sn,d as Ze,M as an,I as on,o as un,y as fn,z as ln,A as hn,B as _n,N as cn,O as dn,u as pn,v as mn}from"../chunks/index.9af7eb9c.js";import{p as gn}from"../chunks/stores.be116e24.js";function Mt(u){if(u===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}function ri(u,t){u.prototype=Object.create(t.prototype),u.prototype.constructor=u,u.__proto__=t}/*! * GSAP 3.12.2 * https://greensock.com * * @license Copyright 2008-2023, GreenSock. All rights reserved. * Subject to the terms at https://greensock.com/standard-license or for * Club GreenSock members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */var ut={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},oe={duration:.5,overwrite:!1,delay:0},dr,J,W,dt=1e8,B=1/dt,Je=Math.PI*2,yn=Je/4,xn=0,ii=Math.sqrt,vn=Math.cos,Tn=Math.sin,K=function(t){return typeof t=="string"},$=function(t){return typeof t=="function"},At=function(t){return typeof t=="number"},pr=function(t){return typeof t>"u"},Ot=function(t){return typeof t=="object"},rt=function(t){return t!==!1},mr=function(){return typeof window<"u"},Oe=function(t){return $(t)||K(t)},ni=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},tt=Array.isArray,tr=/(?:-?\.?\d|\.)+/gi,si=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ee=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Xe=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,ai=/[+-]=-?[.\d]+/,oi=/[^,'"\[\]\s]+/gi,bn=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,X,ht,er,gr,ft={},Ee={},ui,fi=function(t){return(Ee=Qt(t,ft))&&st},yr=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},Re=function(t,e){return!e&&console.warn(t)},li=function(t,e){return t&&(ft[t]=e)&&Ee&&(Ee[t]=e)||ft},ye=function(){return 0},wn={suppressEvents:!0,isStart:!0,kill:!1},Me={suppressEvents:!0,kill:!1},Sn={suppressEvents:!0},xr={},Lt=[],rr={},hi,at={},qe={},Er=30,De=[],vr="",Tr=function(t){var e=t[0],r,i;if(Ot(e)||$(e)||(t=[t]),!(r=(e._gsap||{}).harness)){for(i=De.length;i--&&!De[i].targetTest(e););r=De[i]}for(i=t.length;i--;)t[i]&&(t[i]._gsap||(t[i]._gsap=new zi(t[i],r)))||t.splice(i,1);return t},$t=function(t){return t._gsap||Tr(pt(t))[0]._gsap},_i=function(t,e,r){return(r=t[e])&&$(r)?t[e]():pr(r)&&t.getAttribute&&t.getAttribute(e)||r},it=function(t,e){return(t=t.split(",")).forEach(e)||t},j=function(t){return Math.round(t*1e5)/1e5||0},Q=function(t){return Math.round(t*1e7)/1e7||0},ne=function(t,e){var r=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),r==="+"?t+i:r==="-"?t-i:r==="*"?t*i:t/i},Pn=function(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++ia;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=s,e.parent=e._dp=t,e},Ne=function(t,e,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var n=e._prev,s=e._next;n?n._next=s:t[r]===e&&(t[r]=s),s?s._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null},Vt=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},jt=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t},Cn=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},ir=function(t,e,r,i){return t._startAt&&(J?t._startAt.revert(Me):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))},Mn=function u(t){return!t||t._ts&&u(t.parent)},Fr=function(t){return t._repeat?ue(t._tTime,t=t.duration()+t._rDelay)*t:0},ue=function(t,e){var r=Math.floor(t/=e);return t&&r===t?r-1:r},Ie=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Ue=function(t){return t._end=Q(t._start+(t._tDur/Math.abs(t._ts||t._rts||B)||0))},Ye=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=Q(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Ue(t),r._dirty||jt(r,t)),t},gi=function(t,e){var r;if((e._time||!e._dur&&e._initted||e._startB)&&e.render(r,!0)),jt(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur=0&&r.totalTime(r._tTime),r=r._dp;t._zTime=-B}},St=function(t,e,r,i){return e.parent&&Vt(e),e._start=Q((At(r)?r:r||t!==X?lt(t,r,e):t._time)+e._delay),e._end=Q(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),mi(t,e,"_first","_last",t._sort?"_start":0),nr(e)||(t._recent=e),i||gi(t,e),t._ts<0&&Ye(t,t._tTime),t},yi=function(t,e){return(ft.ScrollTrigger||yr("scrollTrigger",e))&&ft.ScrollTrigger.create(e,t)},xi=function(t,e,r,i,n){if(wr(t,e,n),!t._initted)return 1;if(!r&&t._pt&&!J&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&hi!==ot.frame)return Lt.push(t),t._lazy=[n,i],1},Dn=function u(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||u(e))},nr=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},An=function(t,e,r,i){var n=t.ratio,s=e<0||!e&&(!t._start&&Dn(t)&&!(!t._initted&&nr(t))||(t._ts<0||t._dp._ts<0)&&!nr(t))?0:1,a=t._rDelay,o=0,f,l,c;if(a&&t._repeat&&(o=Pe(0,t._tDur,e),l=ue(o,a),t._yoyo&&l&1&&(s=1-s),l!==ue(t._tTime,a)&&(n=1-s,t.vars.repeatRefresh&&t._initted&&t.invalidate())),s!==n||J||i||t._zTime===B||!e&&t._zTime){if(!t._initted&&xi(t,e,i,r,o))return;for(c=t._zTime,t._zTime=e||(r?B:0),r||(r=e&&!c),t.ratio=s,t._from&&(s=1-s),t._time=0,t._tTime=o,f=t._pt;f;)f.r(s,f.d),f=f._next;e<0&&ir(t,e,r,!0),t._onUpdate&&!r&&mt(t,"onUpdate"),o&&t._repeat&&!r&&t.parent&&mt(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===s&&(s&&Vt(t,1),!r&&!J&&(mt(t,s?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},En=function(t,e,r){var i;if(r>e)for(i=t._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start0&&!i&&Ye(t,t._tTime=t._tDur*a),t.parent&&Ue(t),r||jt(t.parent,t),t},zr=function(t){return t instanceof et?jt(t):fe(t,t._dur)},Rn={_start:0,endTime:ye,totalDuration:ye},lt=function u(t,e,r){var i=t.labels,n=t._recent||Rn,s=t.duration()>=dt?n.endTime(!1):t._dur,a,o,f;return K(e)&&(isNaN(e)||e in i)?(o=e.charAt(0),f=e.substr(-1)==="%",a=e.indexOf("="),o==="<"||o===">"?(a>=0&&(e=e.replace(/=/,"")),(o==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(e.substr(1))||0)*(f?(a<0?n:r).totalDuration()/100:1)):a<0?(e in i||(i[e]=s),i[e]):(o=parseFloat(e.charAt(a-1)+e.substr(a+1)),f&&r&&(o=o/100*(tt(r)?r[0]:r).totalDuration()),a>1?u(t,e.substr(0,a-1),r)+o:s+o)):e==null?s:+e},me=function(t,e,r){var i=At(e[1]),n=(i?2:1)+(t<2?0:1),s=e[n],a,o;if(i&&(s.duration=e[1]),s.parent=r,t){for(a=s,o=r;o&&!("immediateRender"in a);)a=o.vars.defaults||{},o=rt(o.vars.inherit)&&o.parent;s.immediateRender=rt(a.immediateRender),t<2?s.runBackwards=1:s.startAt=e[n-1]}return new H(e[0],s,e[n+1])},Ut=function(t,e){return t||t===0?e(t):e},Pe=function(t,e,r){return re?e:r},Z=function(t,e){return!K(t)||!(e=bn.exec(t))?"":e[1]},Fn=function(t,e,r){return Ut(r,function(i){return Pe(t,e,i)})},sr=[].slice,vi=function(t,e){return t&&Ot(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&Ot(t[0]))&&!t.nodeType&&t!==ht},zn=function(t,e,r){return r===void 0&&(r=[]),t.forEach(function(i){var n;return K(i)&&!e||vi(i,1)?(n=r).push.apply(n,pt(i)):r.push(i)})||r},pt=function(t,e,r){return W&&!e&&W.selector?W.selector(t):K(t)&&!r&&(er||!le())?sr.call((e||gr).querySelectorAll(t),0):tt(t)?zn(t,r):vi(t)?sr.call(t,0):t?[t]:[]},ar=function(t){return t=pt(t)[0]||Re("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return pt(e,r.querySelectorAll?r:r===t?Re("Invalid scope")||gr.createElement("div"):t)}},Ti=function(t){return t.sort(function(){return .5-Math.random()})},bi=function(t){if($(t))return t;var e=Ot(t)?t:{each:t},r=Ht(e.ease),i=e.from||0,n=parseFloat(e.base)||0,s={},a=i>0&&i<1,o=isNaN(i)||a,f=e.axis,l=i,c=i;return K(i)?l=c={center:.5,edges:.5,end:1}[i]||0:!a&&o&&(l=i[0],c=i[1]),function(_,d,p){var h=(p||e).length,m=s[h],x,g,y,T,v,S,P,w,b;if(!m){if(b=e.grid==="auto"?0:(e.grid||[1,dt])[1],!b){for(P=-dt;P<(P=p[b++].getBoundingClientRect().left)&&bP&&(P=v),vh?h-1:f?f==="y"?h/b:b:Math.max(b,h/b))||0)*(i==="edges"?-1:1),m.b=h<0?n-h:n,m.u=Z(e.amount||e.each)||0,r=r&&h<0?Ei(r):r}return h=(m[_]-m.min)/m.max||0,Q(m.b+(r?r(h):h)*m.v)+m.u}},or=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var i=Q(Math.round(parseFloat(r)/t)*t*e);return(i-i%1)/e+(At(r)?0:Z(r))}},wi=function(t,e){var r=tt(t),i,n;return!r&&Ot(t)&&(i=r=t.radius||dt,t.values?(t=pt(t.values),(n=!At(t[0]))&&(i*=i)):t=or(t.increment)),Ut(e,r?$(t)?function(s){return n=t(s),Math.abs(n-s)<=i?n:s}:function(s){for(var a=parseFloat(n?s.x:s),o=parseFloat(n?s.y:0),f=dt,l=0,c=t.length,_,d;c--;)n?(_=t[c].x-a,d=t[c].y-o,_=_*_+d*d):_=Math.abs(t[c]-a),_i?n-s:s)})},xe=function(t){for(var e=0,r="",i,n,s,a;~(i=t.indexOf("random(",e));)s=t.indexOf(")",i),a=t.charAt(i+7)==="[",n=t.substr(i+7,s-i-7).match(a?oi:tr),r+=t.substr(e,i-e)+Si(a?n:+n[0],a?0:+n[1],+n[2]||1e-5),e=s+1;return r+t.substr(e,t.length-e)},ki=function(t,e,r,i,n){var s=e-t,a=i-r;return Ut(n,function(o){return r+((o-t)/s*a||0)})},Un=function u(t,e,r,i){var n=isNaN(t+e)?0:function(d){return(1-d)*t+d*e};if(!n){var s=K(t),a={},o,f,l,c,_;if(r===!0&&(i=1)&&(r=null),s)t={p:t},e={p:e};else if(tt(t)&&!tt(e)){for(l=[],c=t.length,_=c-2,f=1;f(a=Math.abs(a))&&(o=s,n=a);return o},mt=function(t,e,r){var i=t.vars,n=i[e],s=W,a=t._ctx,o,f,l;if(n)return o=i[e+"Params"],f=i.callbackScope||t,r&&Lt.length&&Fe(),a&&(W=a),l=o?n.apply(f,o):n.call(f),W=s,l},ce=function(t){return Vt(t),t.scrollTrigger&&t.scrollTrigger.kill(!!J),t.progress()<1&&mt(t,"onInterrupt"),t},re,Oi=[],Ci=function(t){if(mr()&&t){t=!t.name&&t.default||t;var e=t.name,r=$(t),i=e&&!r&&t.init?function(){this._props=[]}:t,n={init:ye,render:kr,add:br,kill:is,modifier:rs,rawVars:0},s={targetTest:0,get:0,getSetter:Pr,aliases:{},register:0};if(le(),t!==i){if(at[e])return;gt(i,gt(ze(t,n),s)),Qt(i.prototype,Qt(n,ze(t,s))),at[i.prop=e]=i,t.targetTest&&(De.push(i),xr[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}li(e,i),t.register&&t.register(st,i,nt)}else t&&Oi.push(t)},L=255,de={aqua:[0,L,L],lime:[0,L,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,L],navy:[0,0,128],white:[L,L,L],olive:[128,128,0],yellow:[L,L,0],orange:[L,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[L,0,0],pink:[L,192,203],cyan:[0,L,L],transparent:[L,L,L,0]},Ge=function(t,e,r){return t+=t<0?1:t>1?-1:0,(t*6<1?e+(r-e)*t*6:t<.5?r:t*3<2?e+(r-e)*(2/3-t)*6:e)*L+.5|0},Mi=function(t,e,r){var i=t?At(t)?[t>>16,t>>8&L,t&L]:0:de.black,n,s,a,o,f,l,c,_,d,p;if(!i){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),de[t])i=de[t];else if(t.charAt(0)==="#"){if(t.length<6&&(n=t.charAt(1),s=t.charAt(2),a=t.charAt(3),t="#"+n+n+s+s+a+a+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return i=parseInt(t.substr(1,6),16),[i>>16,i>>8&L,i&L,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),i=[t>>16,t>>8&L,t&L]}else if(t.substr(0,3)==="hsl"){if(i=p=t.match(tr),!e)o=+i[0]%360/360,f=+i[1]/100,l=+i[2]/100,s=l<=.5?l*(f+1):l+f-l*f,n=l*2-s,i.length>3&&(i[3]*=1),i[0]=Ge(o+1/3,n,s),i[1]=Ge(o,n,s),i[2]=Ge(o-1/3,n,s);else if(~t.indexOf("="))return i=t.match(si),r&&i.length<4&&(i[3]=1),i}else i=t.match(tr)||de.transparent;i=i.map(Number)}return e&&!p&&(n=i[0]/L,s=i[1]/L,a=i[2]/L,c=Math.max(n,s,a),_=Math.min(n,s,a),l=(c+_)/2,c===_?o=f=0:(d=c-_,f=l>.5?d/(2-c-_):d/(c+_),o=c===n?(s-a)/d+(st&&(r+=x-e),i+=x,v=i-r,y=v-s,(y>0||g)&&(S=++c.frame,_=v-c.time*1e3,c.time=v=v/1e3,s+=y+(y>=n?4:n-y),T=1),g||(o=f(h)),T)for(d=0;d=x&&d--},_listeners:a},c}(),le=function(){return!ve&&ot.wake()},F={},Xn=/^[\d.\-M][\d.\-,\s]/,qn=/["']/g,Gn=function(t){for(var e={},r=t.substr(1,t.length-3).split(":"),i=r[0],n=1,s=r.length,a,o,f;n1&&r.config?r.config.apply(null,~t.indexOf("{")?[Gn(e[1])]:Wn(t).split(",").map(di)):F._CE&&Xn.test(t)?F._CE("",t):r},Ei=function(t){return function(e){return 1-t(1-e)}},Ri=function u(t,e){for(var r=t._first,i;r;)r instanceof et?u(r,e):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==e&&(r.timeline?u(r.timeline,e):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=e)),r=r._next},Ht=function(t,e){return t&&($(t)?t:F[t]||$n(t))||e},Zt=function(t,e,r,i){r===void 0&&(r=function(o){return 1-e(1-o)}),i===void 0&&(i=function(o){return o<.5?e(o*2)/2:1-e((1-o)*2)/2});var n={easeIn:e,easeOut:r,easeInOut:i},s;return it(t,function(a){F[a]=ft[a]=n,F[s=a.toLowerCase()]=r;for(var o in n)F[s+(o==="easeIn"?".in":o==="easeOut"?".out":".inOut")]=F[a+"."+o]=n[o]}),n},Fi=function(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},We=function u(t,e,r){var i=e>=1?e:1,n=(r||(t?.3:.45))/(e<1?e:1),s=n/Je*(Math.asin(1/i)||0),a=function(l){return l===1?1:i*Math.pow(2,-10*l)*Tn((l-s)*n)+1},o=t==="out"?a:t==="in"?function(f){return 1-a(1-f)}:Fi(a);return n=Je/n,o.config=function(f,l){return u(t,f,l)},o},$e=function u(t,e){e===void 0&&(e=1.70158);var r=function(s){return s?--s*s*((e+1)*s+e)+1:0},i=t==="out"?r:t==="in"?function(n){return 1-r(1-n)}:Fi(r);return i.config=function(n){return u(t,n)},i};it("Linear,Quad,Cubic,Quart,Quint,Strong",function(u,t){var e=t<5?t+1:t;Zt(u+",Power"+(e-1),t?function(r){return Math.pow(r,e)}:function(r){return r},function(r){return 1-Math.pow(1-r,e)},function(r){return r<.5?Math.pow(r*2,e)/2:1-Math.pow((1-r)*2,e)/2})});F.Linear.easeNone=F.none=F.Linear.easeIn;Zt("Elastic",We("in"),We("out"),We());(function(u,t){var e=1/t,r=2*e,i=2.5*e,n=function(a){return a0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},t.totalDuration=function(r){return arguments.length?(this._dirty=0,fe(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(r,i){if(le(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Ye(this,r),!n._dp||n.parent||gi(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&&r0||!this._tDur&&!r)&&St(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===B||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),ci(this,r,i)),this},t.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Fr(this))%(this._dur+this._rDelay)||(r?this._dur:0),i):this._time},t.totalProgress=function(r,i){return arguments.length?this.totalTime(this.totalDuration()*r,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},t.progress=function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+Fr(this),i):this.duration()?Math.min(1,this._time/this._dur):this.ratio},t.iteration=function(r,i){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*n,i):this._repeat?ue(this._tTime,n)+1:1},t.timeScale=function(r){if(!arguments.length)return this._rts===-B?0:this._rts;if(this._rts===r)return this;var i=this.parent&&this._ts?Ie(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-B?0:this._rts,this.totalTime(Pe(-Math.abs(this._delay),this._tDur,i),!0),Ue(this),Cn(this)},t.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(le(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==B&&(this._tTime-=B)))),this):this._ps},t.startTime=function(r){if(arguments.length){this._start=r;var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&St(i,this,r-this._delay),this}return this._start},t.endTime=function(r){return this._start+(rt(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(r){var i=this.parent||this._dp;return i?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ie(i.rawTime(r),this):this._tTime:this._tTime},t.revert=function(r){r===void 0&&(r=Sn);var i=J;return J=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),J=i,this},t.globalTime=function(r){for(var i=this,n=arguments.length?r:i.rawTime();i;)n=i._start+n/(i._ts||1),i=i._dp;return!this.parent&&this._sat?this._sat.vars.immediateRender?-1/0:this._sat.globalTime(r):n},t.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,zr(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,zr(this),i?this.time(i):this}return this._rDelay},t.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},t.seek=function(r,i){return this.totalTime(lt(this,r),rt(i))},t.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,rt(i))},t.play=function(r,i){return r!=null&&this.seek(r,i),this.reversed(!1).paused(!1)},t.reverse=function(r,i){return r!=null&&this.seek(r||this.totalDuration(),i),this.reversed(!0).paused(!1)},t.pause=function(r,i){return r!=null&&this.seek(r,i),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-B:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-B,this},t.isActive=function(){var r=this.parent||this._dp,i=this._start,n;return!!(!r||this._ts&&this._initted&&r.isActive()&&(n=r.rawTime(!0))>=i&&n1?(i?(s[r]=i,n&&(s[r+"Params"]=n),r==="onUpdate"&&(this._onUpdate=i)):delete s[r],this):s[r]},t.then=function(r){var i=this;return new Promise(function(n){var s=$(r)?r:pi,a=function(){var f=i.then;i.then=null,$(s)&&(s=s(i))&&(s.then||s===i)&&(i.then=f),n(s),i.then=f};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?a():i._prom=a})},t.kill=function(){ce(this)},u}();gt(Te.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:-B,_prom:0,_ps:!1,_rts:1});var et=function(u){ri(t,u);function t(r,i){var n;return r===void 0&&(r={}),n=u.call(this,r)||this,n.labels={},n.smoothChildTiming=!!r.smoothChildTiming,n.autoRemoveChildren=!!r.autoRemoveChildren,n._sort=rt(r.sortChildren),X&&St(r.parent||X,Mt(n),i),r.reversed&&n.reverse(),r.paused&&n.paused(!0),r.scrollTrigger&&yi(Mt(n),r.scrollTrigger),n}var e=t.prototype;return e.to=function(i,n,s){return me(0,arguments,this),this},e.from=function(i,n,s){return me(1,arguments,this),this},e.fromTo=function(i,n,s,a){return me(2,arguments,this),this},e.set=function(i,n,s){return n.duration=0,n.parent=this,pe(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new H(i,n,lt(this,s),1),this},e.call=function(i,n,s){return St(this,H.delayedCall(0,i,n),s)},e.staggerTo=function(i,n,s,a,o,f,l){return s.duration=n,s.stagger=s.stagger||a,s.onComplete=f,s.onCompleteParams=l,s.parent=this,new H(i,s,lt(this,o)),this},e.staggerFrom=function(i,n,s,a,o,f,l){return s.runBackwards=1,pe(s).immediateRender=rt(s.immediateRender),this.staggerTo(i,n,s,a,o,f,l)},e.staggerFromTo=function(i,n,s,a,o,f,l,c){return a.startAt=s,pe(a).immediateRender=rt(a.immediateRender),this.staggerTo(i,n,a,o,f,l,c)},e.render=function(i,n,s){var a=this._time,o=this._dirty?this.totalDuration():this._tDur,f=this._dur,l=i<=0?0:Q(i),c=this._zTime<0!=i<0&&(this._initted||!f),_,d,p,h,m,x,g,y,T,v,S,P;if(this!==X&&l>o&&i>=0&&(l=o),l!==this._tTime||s||c){if(a!==this._time&&f&&(l+=this._time-a,i+=this._time-a),_=l,T=this._start,y=this._ts,x=!y,c&&(f||(a=this._zTime),(i||!n)&&(this._zTime=i)),this._repeat){if(S=this._yoyo,m=f+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(m*100+i,n,s);if(_=Q(l%m),l===o?(h=this._repeat,_=f):(h=~~(l/m),h&&h===l/m&&(_=f,h--),_>f&&(_=f)),v=ue(this._tTime,m),!a&&this._tTime&&v!==h&&this._tTime-v*m-this._dur<=0&&(v=h),S&&h&1&&(_=f-_,P=1),h!==v&&!this._lock){var w=S&&v&1,b=w===(S&&h&1);if(h=a&&i>=0)for(d=this._first;d;){if(p=d._next,(d._act||_>=d._start)&&d._ts&&g!==d){if(d.parent!==this)return this.render(i,n,s);if(d.render(d._ts>0?(_-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(_-d._start)*d._ts,n,s),_!==this._time||!this._ts&&!x){g=0,p&&(l+=this._zTime=-B);break}}d=p}else{d=this._last;for(var k=i<0?i:_;d;){if(p=d._prev,(d._act||k<=d._end)&&d._ts&&g!==d){if(d.parent!==this)return this.render(i,n,s);if(d.render(d._ts>0?(k-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(k-d._start)*d._ts,n,s||J&&(d._initted||d._startAt)),_!==this._time||!this._ts&&!x){g=0,p&&(l+=this._zTime=k?-B:B);break}}d=p}}if(g&&!n&&(this.pause(),g.render(_>=a?0:-B)._zTime=_>=a?1:-1,this._ts))return this._start=T,Ue(this),this.render(i,n,s);this._onUpdate&&!n&&mt(this,"onUpdate",!0),(l===o&&this._tTime>=this.totalDuration()||!l&&a)&&(T===this._start||Math.abs(y)!==Math.abs(this._ts))&&(this._lock||((i||!f)&&(l===o&&this._ts>0||!l&&this._ts<0)&&Vt(this,1),!n&&!(i<0&&!a)&&(l||a||!o)&&(mt(this,l===o&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(l0)&&this._prom())))}return this},e.add=function(i,n){var s=this;if(At(n)||(n=lt(this,n,i)),!(i instanceof Te)){if(tt(i))return i.forEach(function(a){return s.add(a,n)}),this;if(K(i))return this.addLabel(i,n);if($(i))i=H.delayedCall(0,i);else return this}return this!==i?St(this,i,n):this},e.getChildren=function(i,n,s,a){i===void 0&&(i=!0),n===void 0&&(n=!0),s===void 0&&(s=!0),a===void 0&&(a=-dt);for(var o=[],f=this._first;f;)f._start>=a&&(f instanceof H?n&&o.push(f):(s&&o.push(f),i&&o.push.apply(o,f.getChildren(!0,n,s)))),f=f._next;return o},e.getById=function(i){for(var n=this.getChildren(1,1,1),s=n.length;s--;)if(n[s].vars.id===i)return n[s]},e.remove=function(i){return K(i)?this.removeLabel(i):$(i)?this.killTweensOf(i):(Ne(this,i),i===this._recent&&(this._recent=this._last),jt(this))},e.totalTime=function(i,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Q(ot.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),u.prototype.totalTime.call(this,i,n),this._forcing=0,this):this._tTime},e.addLabel=function(i,n){return this.labels[i]=lt(this,n),this},e.removeLabel=function(i){return delete this.labels[i],this},e.addPause=function(i,n,s){var a=H.delayedCall(0,n||ye,s);return a.data="isPause",this._hasPause=1,St(this,a,lt(this,i))},e.removePause=function(i){var n=this._first;for(i=lt(this,i);n;)n._start===i&&n.data==="isPause"&&Vt(n),n=n._next},e.killTweensOf=function(i,n,s){for(var a=this.getTweensOf(i,s),o=a.length;o--;)Ft!==a[o]&&a[o].kill(i,n);return this},e.getTweensOf=function(i,n){for(var s=[],a=pt(i),o=this._first,f=At(n),l;o;)o instanceof H?Pn(o._targets,a)&&(f?(!Ft||o._initted&&o._ts)&&o.globalTime(0)<=n&&o.globalTime(o.totalDuration())>n:!n||o.isActive())&&s.push(o):(l=o.getTweensOf(a,n)).length&&s.push.apply(s,l),o=o._next;return s},e.tweenTo=function(i,n){n=n||{};var s=this,a=lt(s,i),o=n,f=o.startAt,l=o.onStart,c=o.onStartParams,_=o.immediateRender,d,p=H.to(s,gt({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:n.duration||Math.abs((a-(f&&"time"in f?f.time:s._time))/s.timeScale())||B,onStart:function(){if(s.pause(),!d){var m=n.duration||Math.abs((a-(f&&"time"in f?f.time:s._time))/s.timeScale());p._dur!==m&&fe(p,m,0,1).render(p._time,!0,!0),d=1}l&&l.apply(p,c||[])}},n));return _?p.render(0):p},e.tweenFromTo=function(i,n,s){return this.tweenTo(n,gt({startAt:{time:lt(this,i)}},s))},e.recent=function(){return this._recent},e.nextLabel=function(i){return i===void 0&&(i=this._time),Ir(this,lt(this,i))},e.previousLabel=function(i){return i===void 0&&(i=this._time),Ir(this,lt(this,i),1)},e.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+B)},e.shiftChildren=function(i,n,s){s===void 0&&(s=0);for(var a=this._first,o=this.labels,f;a;)a._start>=s&&(a._start+=i,a._end+=i),a=a._next;if(n)for(f in o)o[f]>=s&&(o[f]+=i);return jt(this)},e.invalidate=function(i){var n=this._first;for(this._lock=0;n;)n.invalidate(i),n=n._next;return u.prototype.invalidate.call(this,i)},e.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={}),jt(this)},e.totalDuration=function(i){var n=0,s=this,a=s._last,o=dt,f,l,c;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-i:i));if(s._dirty){for(c=s.parent;a;)f=a._prev,a._dirty&&a.totalDuration(),l=a._start,l>o&&s._sort&&a._ts&&!s._lock?(s._lock=1,St(s,a,l-a._delay,1)._lock=0):o=l,l<0&&a._ts&&(n-=l,(!c&&!s._dp||c&&c.smoothChildTiming)&&(s._start+=l/s._ts,s._time-=l,s._tTime-=l),s.shiftChildren(-l,!1,-1/0),o=0),a._end>n&&a._ts&&(n=a._end),a=f;fe(s,s===X&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},t.updateRoot=function(i){if(X._ts&&(ci(X,Ie(i,X)),hi=ot.frame),ot.frame>=Er){Er+=ut.autoSleep||120;var n=X._first;if((!n||!n._ts)&&ut.autoSleep&&ot._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||ot.sleep()}}},t}(Te);gt(et.prototype,{_lock:0,_hasPause:0,_forcing:0});var jn=function(t,e,r,i,n,s,a){var o=new nt(this._pt,t,e,0,1,Ui,null,n),f=0,l=0,c,_,d,p,h,m,x,g;for(o.b=r,o.e=i,r+="",i+="",(x=~i.indexOf("random("))&&(i=xe(i)),s&&(g=[r,i],s(g,t,e),r=g[0],i=g[1]),_=r.match(Xe)||[];c=Xe.exec(i);)p=c[0],h=i.substring(f,c.index),d?d=(d+1)%5:h.substr(-5)==="rgba("&&(d=1),p!==_[l++]&&(m=parseFloat(_[l-1])||0,o._pt={_next:o._pt,p:h||l===1?h:",",s:m,c:p.charAt(1)==="="?ne(m,p)-m:parseFloat(p)-m,m:d&&d<4?Math.round:0},f=Xe.lastIndex);return o.c=f")}),T.duration();else{S={};for(w in p)w==="ease"||w==="easeEach"||Zn(w,p[w],S,p.easeEach);for(w in S)for(R=S[w].sort(function(M,V){return M.t-V.t}),E=0,v=0;vo-B&&!l?o:if&&(_=f)),x=this._yoyo&&p&1,x&&(T=this._yEase,_=f-_),m=ue(this._tTime,h),_===a&&!s&&this._initted)return this._tTime=c,this;p!==m&&(y&&this._yEase&&Ri(y,x),this.vars.repeatRefresh&&!x&&!this._lock&&(this._lock=s=1,this.render(Q(h*p),!0).invalidate()._lock=0))}if(!this._initted){if(xi(this,l?i:_,s,n,c))return this._tTime=0,this;if(a!==this._time)return this;if(f!==this._dur)return this.render(i,n,s)}if(this._tTime=c,this._time=_,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=g=(T||this._ease)(_/f),this._from&&(this.ratio=g=1-g),_&&!a&&!n&&!p&&(mt(this,"onStart"),this._tTime!==c))return this;for(d=this._pt;d;)d.r(g,d.d),d=d._next;y&&y.render(i<0?i:!_&&x?-B:y._dur*y._ease(_/this._dur),n,s)||this._startAt&&(this._zTime=i),this._onUpdate&&!n&&(l&&ir(this,i,n,s),mt(this,"onUpdate")),this._repeat&&p!==m&&this.vars.onRepeat&&!n&&this.parent&&mt(this,"onRepeat"),(c===this._tDur||!c)&&this._tTime===c&&(l&&!this._onUpdate&&ir(this,i,!0,!0),(i||!f)&&(c===this._tDur&&this._ts>0||!c&&this._ts<0)&&Vt(this,1),!n&&!(l&&!a)&&(c||a||x)&&(mt(this,c===o?"onComplete":"onReverseComplete",!0),this._prom&&!(c0)&&this._prom()))}return this},e.targets=function(){return this._targets},e.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),u.prototype.invalidate.call(this,i)},e.resetTo=function(i,n,s,a){ve||ot.wake(),this._ts||this.play();var o=Math.min(this._dur,(this._dp._time-this._start)*this._ts),f;return this._initted||wr(this,o),f=this._ease(o/this._dur),Kn(this,i,n,s,a,f,o)?this.resetTo(i,n,s,a):(Ye(this,0),this.parent||mi(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function(i,n){if(n===void 0&&(n="all"),!i&&(!n||n==="all"))return this._lazy=this._pt=0,this.parent?ce(this):this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(i,n,Ft&&Ft.vars.overwrite!==!0)._first||ce(this),this.parent&&s!==this.timeline.totalDuration()&&fe(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,o=i?pt(i):a,f=this._ptLookup,l=this._pt,c,_,d,p,h,m,x;if((!n||n==="all")&&On(a,o))return n==="all"&&(this._pt=0),ce(this);for(c=this._op=this._op||[],n!=="all"&&(K(n)&&(h={},it(n,function(g){return h[g]=1}),n=h),n=Qn(a,n)),x=a.length;x--;)if(~o.indexOf(a[x])){_=f[x],n==="all"?(c[x]=n,p=_,d={}):(d=c[x]=c[x]||{},p=n);for(h in p)m=_&&_[h],m&&((!("kill"in m.d)||m.d.kill(h)===!0)&&Ne(this,m,"_pt"),delete _[h]),d!=="all"&&(d[h]=1)}return this._initted&&!this._pt&&l&&ce(this),this},t.to=function(i,n){return new t(i,n,arguments[2])},t.from=function(i,n){return me(1,arguments)},t.delayedCall=function(i,n,s,a){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:n,onReverseComplete:n,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},t.fromTo=function(i,n,s){return me(2,arguments)},t.set=function(i,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(i,n)},t.killTweensOf=function(i,n,s){return X.killTweensOf(i,n,s)},t}(Te);gt(H.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});it("staggerTo,staggerFrom,staggerFromTo",function(u){H[u]=function(){var t=new et,e=sr.call(arguments,0);return e.splice(u==="staggerFromTo"?5:4,0,0),t[u].apply(t,e)}});var Sr=function(t,e,r){return t[e]=r},Vi=function(t,e,r){return t[e](r)},Jn=function(t,e,r,i){return t[e](i.fp,r)},ts=function(t,e,r){return t.setAttribute(e,r)},Pr=function(t,e){return $(t[e])?Vi:pr(t[e])&&t.setAttribute?ts:Sr},Ni=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},es=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},Ui=function(t,e){var r=e._pt,i="";if(!t&&e.b)i=e.b;else if(t===1&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round((r.s+r.c*t)*1e4)/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},kr=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},rs=function(t,e,r,i){for(var n=this._pt,s;n;)s=n._next,n.p===i&&n.modifier(t,e,r),n=s},is=function(t){for(var e=this._pt,r,i;e;)i=e._next,e.p===t&&!e.op||e.op===t?Ne(this,e,"_pt"):e.dep||(r=1),e=i;return!r},ns=function(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)},Yi=function(t){for(var e=t._pt,r,i,n,s;e;){for(r=e._next,i=n;i&&i.pr>e.pr;)i=i._next;(e._prev=i?i._prev:s)?e._prev._next=e:n=e,(e._next=i)?i._prev=e:s=e,e=r}t._pt=n},nt=function(){function u(e,r,i,n,s,a,o,f,l){this.t=r,this.s=n,this.c=s,this.p=i,this.r=a||Ni,this.d=o||this,this.set=f||Sr,this.pr=l||0,this._next=e,e&&(e._prev=this)}var t=u.prototype;return t.modifier=function(r,i,n){this.mSet=this.mSet||this.set,this.set=ns,this.m=r,this.mt=n,this.tween=i},u}();it(vr+"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(u){return xr[u]=1});ft.TweenMax=ft.TweenLite=H;ft.TimelineLite=ft.TimelineMax=et;X=new et({sortChildren:!1,defaults:oe,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});ut.stringFilter=Ai;var Kt=[],Ae={},ss=[],Br=0,as=0,je=function(t){return(Ae[t]||ss).map(function(e){return e()})},fr=function(){var t=Date.now(),e=[];t-Br>2&&(je("matchMediaInit"),Kt.forEach(function(r){var i=r.queries,n=r.conditions,s,a,o,f;for(a in i)s=ht.matchMedia(i[a]).matches,s&&(o=1),s!==n[a]&&(n[a]=s,f=1);f&&(r.revert(),o&&e.push(r))}),je("matchMediaRevert"),e.forEach(function(r){return r.onMatch(r)}),Br=t,je("matchMedia"))},Xi=function(){function u(e,r){this.selector=r&&ar(r),this.data=[],this._r=[],this.isReverted=!1,this.id=as++,e&&this.add(e)}var t=u.prototype;return t.add=function(r,i,n){$(r)&&(n=i,i=r,r=$);var s=this,a=function(){var f=W,l=s.selector,c;return f&&f!==s&&f.data.push(s),n&&(s.selector=ar(n)),W=s,c=i.apply(s,arguments),$(c)&&s._r.push(c),W=f,s.selector=l,s.isReverted=!1,c};return s.last=a,r===$?a(s):r?s[r]=a:a},t.ignore=function(r){var i=W;W=null,r(this),W=i},t.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof u?r.push.apply(r,i.getTweens()):i instanceof H&&!(i.parent&&i.parent.data==="nested")&&r.push(i)}),r},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(r,i){var n=this;if(r){var s=this.getTweens();this.data.forEach(function(o){o.data==="isFlip"&&(o.revert(),o.getChildren(!0,!0,!1).forEach(function(f){return s.splice(s.indexOf(f),1)}))}),s.map(function(o){return{g:o.globalTime(0),t:o}}).sort(function(o,f){return f.g-o.g||-1/0}).forEach(function(o){return o.t.revert(r)}),this.data.forEach(function(o){return!(o instanceof H)&&o.revert&&o.revert(r)}),this._r.forEach(function(o){return o(r,n)}),this.isReverted=!0}else this.data.forEach(function(o){return o.kill&&o.kill()});if(this.clear(),i)for(var a=Kt.length;a--;)Kt[a].id===this.id&&Kt.splice(a,1)},t.revert=function(r){this.kill(r||{})},u}(),os=function(){function u(e){this.contexts=[],this.scope=e}var t=u.prototype;return t.add=function(r,i,n){Ot(r)||(r={matches:r});var s=new Xi(0,n||this.scope),a=s.conditions={},o,f,l;W&&!s.selector&&(s.selector=W.selector),this.contexts.push(s),i=s.add("onMatch",i),s.queries=r;for(f in r)f==="all"?l=1:(o=ht.matchMedia(r[f]),o&&(Kt.indexOf(s)<0&&Kt.push(s),(a[f]=o.matches)&&(l=1),o.addListener?o.addListener(fr):o.addEventListener("change",fr)));return l&&i(s),this},t.revert=function(r){this.kill(r||{})},t.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},u}(),Le={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r1){var i=t.map(function(l){return st.quickSetter(l,e,r)}),n=i.length;return function(l){for(var c=n;c--;)i[c](l)}}t=t[0]||{};var s=at[e],a=$t(t),o=a.harness&&(a.harness.aliases||{})[e]||e,f=s?function(l){var c=new s;re._pt=0,c.init(t,r?l+r:l,re,0,[t]),c.render(1,c),re._pt&&kr(1,re)}:a.set(t,o);return s?f:function(l){return f(t,o,r?l+r:l,a,1)}},quickTo:function(t,e,r){var i,n=st.to(t,Qt((i={},i[e]="+=0.1",i.paused=!0,i),r||{})),s=function(o,f,l){return n.resetTo(e,o,f,l)};return s.tween=n,s},isTweening:function(t){return X.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Ht(t.ease,oe.ease)),Rr(oe,t||{})},config:function(t){return Rr(ut,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,i=t.plugins,n=t.defaults,s=t.extendTimeline;(i||"").split(",").forEach(function(a){return a&&!at[a]&&!ft[a]&&Re(e+" effect requires "+a+" plugin.")}),qe[e]=function(a,o,f){return r(pt(a),gt(o||{},n),f)},s&&(et.prototype[e]=function(a,o,f){return this.add(qe[e](a,Ot(o)?o:(f=o)&&{},this),f)})},registerEase:function(t,e){F[t]=Ht(e)},parseEase:function(t,e){return arguments.length?Ht(t,e):F},getById:function(t){return X.getById(t)},exportRoot:function(t,e){t===void 0&&(t={});var r=new et(t),i,n;for(r.smoothChildTiming=rt(t.smoothChildTiming),X.remove(r),r._dp=0,r._time=r._tTime=X._time,i=X._first;i;)n=i._next,(e||!(!i._dur&&i instanceof H&&i.vars.onComplete===i._targets[0]))&&St(r,i,i._start-i._delay),i=n;return St(X,r,0),r},context:function(t,e){return t?new Xi(t,e):W},matchMedia:function(t){return new os(t)},matchMediaRefresh:function(){return Kt.forEach(function(t){var e=t.conditions,r,i;for(i in e)e[i]&&(e[i]=!1,r=1);r&&t.revert()})||fr()},addEventListener:function(t,e){var r=Ae[t]||(Ae[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=Ae[t],i=r&&r.indexOf(e);i>=0&&r.splice(i,1)},utils:{wrap:Vn,wrapYoyo:Nn,distribute:bi,random:Si,snap:wi,normalize:Bn,getUnit:Z,clamp:Fn,splitColor:Mi,toArray:pt,selector:ar,mapRange:ki,pipe:In,unitize:Ln,interpolate:Un,shuffle:Ti},install:fi,effects:qe,ticker:ot,updateRoot:et.updateRoot,plugins:at,globalTimeline:X,core:{PropTween:nt,globals:li,Tween:H,Timeline:et,Animation:Te,getCache:$t,_removeLinkedListItem:Ne,reverting:function(){return J},context:function(t){return t&&W&&(W.data.push(t),t._ctx=W),W},suppressOverwrites:function(t){return dr=t}}};it("to,from,fromTo,delayedCall,set,killTweensOf",function(u){return Le[u]=H[u]});ot.add(et.updateRoot);re=Le.to({},{duration:0});var us=function(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r},fs=function(t,e){var r=t._targets,i,n,s;for(i in e)for(n=r.length;n--;)s=t._ptLookup[n][i],s&&(s=s.d)&&(s._pt&&(s=us(s,i)),s&&s.modifier&&s.modifier(e[i],t,r[n],i))},He=function(t,e){return{name:t,rawVars:1,init:function(i,n,s){s._onInit=function(a){var o,f;if(K(n)&&(o={},it(n,function(l){return o[l]=1}),n=o),e){o={};for(f in n)o[f]=e(n[f]);n=o}fs(a,n)}}}},st=Le.registerPlugin({name:"attr",init:function(t,e,r,i,n){var s,a,o;this.tween=r;for(s in e)o=t.getAttribute(s)||"",a=this.add(t,"setAttribute",(o||0)+"",e[s],i,n,0,0,s),a.op=s,a.b=o,this._props.push(s)},render:function(t,e){for(var r=e._pt;r;)J?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next}},{name:"endArray",init:function(t,e){for(var r=e.length;r--;)this.add(t,r,t[r]||0,e[r],0,0,0,0,0,1)}},He("roundProps",or),He("modifiers"),He("snap",wi))||Le;H.version=et.version=st.version="3.12.2";ui=1;mr()&&le();F.Power0;F.Power1;F.Power2;F.Power3;F.Power4;F.Linear;F.Quad;F.Cubic;F.Quart;F.Quint;F.Strong;F.Elastic;F.Back;F.SteppedEase;F.Bounce;F.Sine;F.Expo;F.Circ;/*! * CSSPlugin 3.12.2 * https://greensock.com * * Copyright 2008-2023, GreenSock. All rights reserved. * Subject to the terms at https://greensock.com/standard-license or for * Club GreenSock members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */var Vr,zt,se,Or,Wt,Nr,Cr,ls=function(){return typeof window<"u"},Et={},Gt=180/Math.PI,ae=Math.PI/180,te=Math.atan2,Ur=1e8,Mr=/([A-Z])/g,hs=/(left|right|width|margin|padding|x)/i,_s=/[\s,\(]\S/,Pt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},lr=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},cs=function(t,e){return e.set(e.t,e.p,t===1?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},ds=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},ps=function(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)},qi=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},Gi=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},ms=function(t,e,r){return t.style[e]=r},gs=function(t,e,r){return t.style.setProperty(e,r)},ys=function(t,e,r){return t._gsap[e]=r},xs=function(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r},vs=function(t,e,r,i,n){var s=t._gsap;s.scaleX=s.scaleY=r,s.renderTransform(n,s)},Ts=function(t,e,r,i,n){var s=t._gsap;s[e]=r,s.renderTransform(n,s)},q="transform",yt=q+"Origin",bs=function u(t,e){var r=this,i=this.target,n=i.style;if(t in Et&&n){if(this.tfm=this.tfm||{},t!=="transform")t=Pt[t]||t,~t.indexOf(",")?t.split(",").forEach(function(s){return r.tfm[s]=Dt(i,s)}):this.tfm[t]=i._gsap.x?i._gsap[t]:Dt(i,t);else return Pt.transform.split(",").forEach(function(s){return u.call(r,s,e)});if(this.props.indexOf(q)>=0)return;i._gsap.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(yt,e,"")),t=q}(n||e)&&this.props.push(t,e,n[t])},Wi=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},ws=function(){var t=this.props,e=this.target,r=e.style,i=e._gsap,n,s;for(n=0;n=0?Yr[s]:"")+t},_r=function(){ls()&&window.document&&(Vr=window,zt=Vr.document,se=zt.documentElement,Wt=hr("div")||{style:{}},hr("div"),q=he(q),yt=q+"Origin",Wt.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",ji=!!he("perspective"),Cr=st.core.reverting,Or=1)},Ke=function u(t){var e=hr("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,i=this.nextSibling,n=this.style.cssText,s;if(se.appendChild(e),e.appendChild(this),this.style.display="block",t)try{s=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=u}catch{}else this._gsapBBox&&(s=this._gsapBBox());return r&&(i?r.insertBefore(this,i):r.appendChild(this)),se.removeChild(e),this.style.cssText=n,s},Xr=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},Hi=function(t){var e;try{e=t.getBBox()}catch{e=Ke.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===Ke||(e=Ke.call(t,!0)),e&&!e.width&&!e.x&&!e.y?{x:+Xr(t,["x","cx","x1"])||0,y:+Xr(t,["y","cy","y1"])||0,width:0,height:0}:e},Ki=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&Hi(t))},be=function(t,e){if(e){var r=t.style;e in Et&&e!==yt&&(e=q),r.removeProperty?((e.substr(0,2)==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),r.removeProperty(e.replace(Mr,"-$1").toLowerCase())):r.removeAttribute(e)}},It=function(t,e,r,i,n,s){var a=new nt(t._pt,e,r,0,1,s?Gi:qi);return t._pt=a,a.b=i,a.e=n,t._props.push(r),a},qr={deg:1,rad:1,turn:1},Ss={grid:1,flex:1},Nt=function u(t,e,r,i){var n=parseFloat(r)||0,s=(r+"").trim().substr((n+"").length)||"px",a=Wt.style,o=hs.test(e),f=t.tagName.toLowerCase()==="svg",l=(f?"client":"offset")+(o?"Width":"Height"),c=100,_=i==="px",d=i==="%",p,h,m,x;return i===s||!n||qr[i]||qr[s]?n:(s!=="px"&&!_&&(n=u(t,e,r,"px")),x=t.getCTM&&Ki(t),(d||s==="%")&&(Et[e]||~e.indexOf("adius"))?(p=x?t.getBBox()[o?"width":"height"]:t[l],j(d?n/p*c:n/100*p)):(a[o?"width":"height"]=c+(_?s:i),h=~e.indexOf("adius")||i==="em"&&t.appendChild&&!f?t:t.parentNode,x&&(h=(t.ownerSVGElement||{}).parentNode),(!h||h===zt||!h.appendChild)&&(h=zt.body),m=h._gsap,m&&d&&m.width&&o&&m.time===ot.time&&!m.uncache?j(n/m.width*c):((d||s==="%")&&!Ss[kt(h,"display")]&&(a.position=kt(t,"position")),h===t&&(a.position="static"),h.appendChild(Wt),p=Wt[l],h.removeChild(Wt),a.position="absolute",o&&d&&(m=$t(h),m.time=ot.time,m.width=h[l]),j(_?p*n/c:p&&n?c/p*n:0))))},Dt=function(t,e,r,i){var n;return Or||_r(),e in Pt&&e!=="transform"&&(e=Pt[e],~e.indexOf(",")&&(e=e.split(",")[0])),Et[e]&&e!=="transform"?(n=Se(t,i),n=e!=="transformOrigin"?n[e]:n.svg?n.origin:Ve(kt(t,yt))+" "+n.zOrigin+"px"):(n=t.style[e],(!n||n==="auto"||i||~(n+"").indexOf("calc("))&&(n=Be[e]&&Be[e](t,e,r)||kt(t,e)||_i(t,e)||(e==="opacity"?1:0))),r&&!~(n+"").trim().indexOf(" ")?Nt(t,e,n,r)+r:n},Ps=function(t,e,r,i){if(!r||r==="none"){var n=he(e,t,1),s=n&&kt(t,n,1);s&&s!==r?(e=n,r=s):e==="borderColor"&&(r=kt(t,"borderTopColor"))}var a=new nt(this._pt,t.style,e,0,1,Ui),o=0,f=0,l,c,_,d,p,h,m,x,g,y,T,v;if(a.b=r,a.e=i,r+="",i+="",i==="auto"&&(t.style[e]=i,i=kt(t,e)||i,t.style[e]=r),l=[r,i],Ai(l),r=l[0],i=l[1],_=r.match(ee)||[],v=i.match(ee)||[],v.length){for(;c=ee.exec(i);)m=c[0],g=i.substring(o,c.index),p?p=(p+1)%5:(g.substr(-5)==="rgba("||g.substr(-5)==="hsla(")&&(p=1),m!==(h=_[f++]||"")&&(d=parseFloat(h)||0,T=h.substr((d+"").length),m.charAt(1)==="="&&(m=ne(d,m)+T),x=parseFloat(m),y=m.substr((x+"").length),o=ee.lastIndex-y.length,y||(y=y||ut.units[e]||T,o===i.length&&(i+=y,a.e+=y)),T!==y&&(d=Nt(t,e,h,y)||0),a._pt={_next:a._pt,p:g||f===1?g:",",s:d,c:x-d,m:p&&p<4||e==="zIndex"?Math.round:0});a.c=o-1;)a=n[f],Et[a]&&(o=1,a=a==="transformOrigin"?yt:q),be(r,a);o&&(be(r,q),s&&(s.svg&&r.removeAttribute("transform"),Se(r,1),s.uncache=1,Wi(i)))}},Be={clearProps:function(t,e,r,i,n){if(n.data!=="isFromStart"){var s=t._pt=new nt(t._pt,e,r,0,0,Os);return s.u=i,s.pr=-10,s.tween=n,t._props.push(r),1}}},we=[1,0,0,1,0,0],Qi={},Zi=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},Wr=function(t){var e=kt(t,q);return Zi(e)?we:e.substr(7).match(si).map(j)},Dr=function(t,e){var r=t._gsap||$t(t),i=t.style,n=Wr(t),s,a,o,f;return r.svg&&t.getAttribute("transform")?(o=t.transform.baseVal.consolidate().matrix,n=[o.a,o.b,o.c,o.d,o.e,o.f],n.join(",")==="1,0,0,1,0,0"?we:n):(n===we&&!t.offsetParent&&t!==se&&!r.svg&&(o=i.display,i.display="block",s=t.parentNode,(!s||!t.offsetParent)&&(f=1,a=t.nextElementSibling,se.appendChild(t)),n=Wr(t),o?i.display=o:be(t,"display"),f&&(a?s.insertBefore(t,a):s?s.appendChild(t):se.removeChild(t))),e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},cr=function(t,e,r,i,n,s){var a=t._gsap,o=n||Dr(t,!0),f=a.xOrigin||0,l=a.yOrigin||0,c=a.xOffset||0,_=a.yOffset||0,d=o[0],p=o[1],h=o[2],m=o[3],x=o[4],g=o[5],y=e.split(" "),T=parseFloat(y[0])||0,v=parseFloat(y[1])||0,S,P,w,b;r?o!==we&&(P=d*m-p*h)&&(w=T*(m/P)+v*(-h/P)+(h*g-m*x)/P,b=T*(-p/P)+v*(d/P)-(d*g-p*x)/P,T=w,v=b):(S=Hi(t),T=S.x+(~y[0].indexOf("%")?T/100*S.width:T),v=S.y+(~(y[1]||y[0]).indexOf("%")?v/100*S.height:v)),i||i!==!1&&a.smooth?(x=T-f,g=v-l,a.xOffset=c+(x*d+g*h)-x,a.yOffset=_+(x*p+g*m)-g):a.xOffset=a.yOffset=0,a.xOrigin=T,a.yOrigin=v,a.smooth=!!i,a.origin=e,a.originIsAbsolute=!!r,t.style[yt]="0px 0px",s&&(It(s,a,"xOrigin",f,T),It(s,a,"yOrigin",l,v),It(s,a,"xOffset",c,a.xOffset),It(s,a,"yOffset",_,a.yOffset)),t.setAttribute("data-svg-origin",T+" "+v)},Se=function(t,e){var r=t._gsap||new zi(t);if("x"in r&&!e&&!r.uncache)return r;var i=t.style,n=r.scaleX<0,s="px",a="deg",o=getComputedStyle(t),f=kt(t,yt)||"0",l,c,_,d,p,h,m,x,g,y,T,v,S,P,w,b,k,z,E,R,O,C,M,V,N,xt,vt,Rt,Tt,Jt,Ct,Yt;return l=c=_=h=m=x=g=y=T=0,d=p=1,r.svg=!!(t.getCTM&&Ki(t)),o.translate&&((o.translate!=="none"||o.scale!=="none"||o.rotate!=="none")&&(i[q]=(o.translate!=="none"?"translate3d("+(o.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(o.rotate!=="none"?"rotate("+o.rotate+") ":"")+(o.scale!=="none"?"scale("+o.scale.split(" ").join(",")+") ":"")+(o[q]!=="none"?o[q]:"")),i.scale=i.rotate=i.translate="none"),P=Dr(t,r.svg),r.svg&&(r.uncache?(N=t.getBBox(),f=r.xOrigin-N.x+"px "+(r.yOrigin-N.y)+"px",V=""):V=!e&&t.getAttribute("data-svg-origin"),cr(t,V||f,!!V||r.originIsAbsolute,r.smooth!==!1,P)),v=r.xOrigin||0,S=r.yOrigin||0,P!==we&&(z=P[0],E=P[1],R=P[2],O=P[3],l=C=P[4],c=M=P[5],P.length===6?(d=Math.sqrt(z*z+E*E),p=Math.sqrt(O*O+R*R),h=z||E?te(E,z)*Gt:0,g=R||O?te(R,O)*Gt+h:0,g&&(p*=Math.abs(Math.cos(g*ae))),r.svg&&(l-=v-(v*z+S*R),c-=S-(v*E+S*O))):(Yt=P[6],Jt=P[7],vt=P[8],Rt=P[9],Tt=P[10],Ct=P[11],l=P[12],c=P[13],_=P[14],w=te(Yt,Tt),m=w*Gt,w&&(b=Math.cos(-w),k=Math.sin(-w),V=C*b+vt*k,N=M*b+Rt*k,xt=Yt*b+Tt*k,vt=C*-k+vt*b,Rt=M*-k+Rt*b,Tt=Yt*-k+Tt*b,Ct=Jt*-k+Ct*b,C=V,M=N,Yt=xt),w=te(-R,Tt),x=w*Gt,w&&(b=Math.cos(-w),k=Math.sin(-w),V=z*b-vt*k,N=E*b-Rt*k,xt=R*b-Tt*k,Ct=O*k+Ct*b,z=V,E=N,R=xt),w=te(E,z),h=w*Gt,w&&(b=Math.cos(w),k=Math.sin(w),V=z*b+E*k,N=C*b+M*k,E=E*b-z*k,M=M*b-C*k,z=V,C=N),m&&Math.abs(m)+Math.abs(h)>359.9&&(m=h=0,x=180-x),d=j(Math.sqrt(z*z+E*E+R*R)),p=j(Math.sqrt(M*M+Yt*Yt)),w=te(C,M),g=Math.abs(w)>2e-4?w*Gt:0,T=Ct?1/(Ct<0?-Ct:Ct):0),r.svg&&(V=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!Zi(kt(t,q)),V&&t.setAttribute("transform",V))),Math.abs(g)>90&&Math.abs(g)<270&&(n?(d*=-1,g+=h<=0?180:-180,h+=h<=0?180:-180):(p*=-1,g+=g<=0?180:-180)),e=e||r.uncache,r.x=l-((r.xPercent=l&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-l)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+s,r.y=c-((r.yPercent=c&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-c)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+s,r.z=_+s,r.scaleX=j(d),r.scaleY=j(p),r.rotation=j(h)+a,r.rotationX=j(m)+a,r.rotationY=j(x)+a,r.skewX=g+a,r.skewY=y+a,r.transformPerspective=T+s,(r.zOrigin=parseFloat(f.split(" ")[2])||0)&&(i[yt]=Ve(f)),r.xOffset=r.yOffset=0,r.force3D=ut.force3D,r.renderTransform=r.svg?Ms:ji?Ji:Cs,r.uncache=0,r},Ve=function(t){return(t=t.split(" "))[0]+" "+t[1]},Qe=function(t,e,r){var i=Z(e);return j(parseFloat(e)+parseFloat(Nt(t,"x",r+"px",i)))+i},Cs=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Ji(t,e)},Xt="0deg",_e="0px",qt=") ",Ji=function(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,s=r.x,a=r.y,o=r.z,f=r.rotation,l=r.rotationY,c=r.rotationX,_=r.skewX,d=r.skewY,p=r.scaleX,h=r.scaleY,m=r.transformPerspective,x=r.force3D,g=r.target,y=r.zOrigin,T="",v=x==="auto"&&t&&t!==1||x===!0;if(y&&(c!==Xt||l!==Xt)){var S=parseFloat(l)*ae,P=Math.sin(S),w=Math.cos(S),b;S=parseFloat(c)*ae,b=Math.cos(S),s=Qe(g,s,P*b*-y),a=Qe(g,a,-Math.sin(S)*-y),o=Qe(g,o,w*b*-y+y)}m!==_e&&(T+="perspective("+m+qt),(i||n)&&(T+="translate("+i+"%, "+n+"%) "),(v||s!==_e||a!==_e||o!==_e)&&(T+=o!==_e||v?"translate3d("+s+", "+a+", "+o+") ":"translate("+s+", "+a+qt),f!==Xt&&(T+="rotate("+f+qt),l!==Xt&&(T+="rotateY("+l+qt),c!==Xt&&(T+="rotateX("+c+qt),(_!==Xt||d!==Xt)&&(T+="skew("+_+", "+d+qt),(p!==1||h!==1)&&(T+="scale("+p+", "+h+qt),g.style[q]=T||"translate(0, 0)"},Ms=function(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,s=r.x,a=r.y,o=r.rotation,f=r.skewX,l=r.skewY,c=r.scaleX,_=r.scaleY,d=r.target,p=r.xOrigin,h=r.yOrigin,m=r.xOffset,x=r.yOffset,g=r.forceCSS,y=parseFloat(s),T=parseFloat(a),v,S,P,w,b;o=parseFloat(o),f=parseFloat(f),l=parseFloat(l),l&&(l=parseFloat(l),f+=l,o+=l),o||f?(o*=ae,f*=ae,v=Math.cos(o)*c,S=Math.sin(o)*c,P=Math.sin(o-f)*-_,w=Math.cos(o-f)*_,f&&(l*=ae,b=Math.tan(f-l),b=Math.sqrt(1+b*b),P*=b,w*=b,l&&(b=Math.tan(l),b=Math.sqrt(1+b*b),v*=b,S*=b)),v=j(v),S=j(S),P=j(P),w=j(w)):(v=c,w=_,S=P=0),(y&&!~(s+"").indexOf("px")||T&&!~(a+"").indexOf("px"))&&(y=Nt(d,"x",s,"px"),T=Nt(d,"y",a,"px")),(p||h||m||x)&&(y=j(y+p-(p*v+h*P)+m),T=j(T+h-(p*S+h*w)+x)),(i||n)&&(b=d.getBBox(),y=j(y+i/100*b.width),T=j(T+n/100*b.height)),b="matrix("+v+","+S+","+P+","+w+","+y+","+T+")",d.setAttribute("transform",b),g&&(d.style[q]=b)},Ds=function(t,e,r,i,n){var s=360,a=K(n),o=parseFloat(n)*(a&&~n.indexOf("rad")?Gt:1),f=o-i,l=i+f+"deg",c,_;return a&&(c=n.split("_")[1],c==="short"&&(f%=s,f!==f%(s/2)&&(f+=f<0?s:-s)),c==="cw"&&f<0?f=(f+s*Ur)%s-~~(f/s)*s:c==="ccw"&&f>0&&(f=(f-s*Ur)%s-~~(f/s)*s)),t._pt=_=new nt(t._pt,e,r,i,f,cs),_.e=l,_.u="deg",t._props.push(r),_},$r=function(t,e){for(var r in e)t[r]=e[r];return t},As=function(t,e,r){var i=$r({},r._gsap),n="perspective,force3D,transformOrigin,svgOrigin",s=r.style,a,o,f,l,c,_,d,p;i.svg?(f=r.getAttribute("transform"),r.setAttribute("transform",""),s[q]=e,a=Se(r,1),be(r,q),r.setAttribute("transform",f)):(f=getComputedStyle(r)[q],s[q]=e,a=Se(r,1),s[q]=f);for(o in Et)f=i[o],l=a[o],f!==l&&n.indexOf(o)<0&&(d=Z(f),p=Z(l),c=d!==p?Nt(r,o,f,p):parseFloat(f),_=parseFloat(l),t._pt=new nt(t._pt,a,o,c,_-c,lr),t._pt.u=p||0,t._props.push(o));$r(a,i)};it("padding,margin,Width,Radius",function(u,t){var e="Top",r="Right",i="Bottom",n="Left",s=(t<3?[e,r,i,n]:[e+n,e+r,i+r,i+n]).map(function(a){return t<2?u+a:"border"+a+u});Be[t>1?"border"+u:u]=function(a,o,f,l,c){var _,d;if(arguments.length<4)return _=s.map(function(p){return Dt(a,p,f)}),d=_.join(" "),d.split(_[0]).length===5?_[0]:d;_=(l+"").split(" "),d={},s.forEach(function(p,h){return d[p]=_[h]=_[h]||_[(h-1)/2|0]}),a.init(o,d,c)}});var tn={name:"css",register:_r,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,i,n){var s=this._props,a=t.style,o=r.vars.startAt,f,l,c,_,d,p,h,m,x,g,y,T,v,S,P,w;Or||_r(),this.styles=this.styles||$i(t),w=this.styles.props,this.tween=r;for(h in e)if(h!=="autoRound"&&(l=e[h],!(at[h]&&Ii(h,e,r,i,t,n)))){if(d=typeof l,p=Be[h],d==="function"&&(l=l.call(r,i,t,n),d=typeof l),d==="string"&&~l.indexOf("random(")&&(l=xe(l)),p)p(this,t,h,l,r)&&(P=1);else if(h.substr(0,2)==="--")f=(getComputedStyle(t).getPropertyValue(h)+"").trim(),l+="",Bt.lastIndex=0,Bt.test(f)||(m=Z(f),x=Z(l)),x?m!==x&&(f=Nt(t,h,f,x)+x):m&&(l+=m),this.add(a,"setProperty",f,l,i,n,0,0,h),s.push(h),w.push(h,0,a[h]);else if(d!=="undefined"){if(o&&h in o?(f=typeof o[h]=="function"?o[h].call(r,i,t,n):o[h],K(f)&&~f.indexOf("random(")&&(f=xe(f)),Z(f+"")||(f+=ut.units[h]||Z(Dt(t,h))||""),(f+"").charAt(1)==="="&&(f=Dt(t,h))):f=Dt(t,h),_=parseFloat(f),g=d==="string"&&l.charAt(1)==="="&&l.substr(0,2),g&&(l=l.substr(2)),c=parseFloat(l),h in Pt&&(h==="autoAlpha"&&(_===1&&Dt(t,"visibility")==="hidden"&&c&&(_=0),w.push("visibility",0,a.visibility),It(this,a,"visibility",_?"inherit":"hidden",c?"inherit":"hidden",!c)),h!=="scale"&&h!=="transform"&&(h=Pt[h],~h.indexOf(",")&&(h=h.split(",")[0]))),y=h in Et,y){if(this.styles.save(h),T||(v=t._gsap,v.renderTransform&&!e.parseTransform||Se(t,e.parseTransform),S=e.smoothOrigin!==!1&&v.smooth,T=this._pt=new nt(this._pt,a,q,0,1,v.renderTransform,v,0,-1),T.dep=1),h==="scale")this._pt=new nt(this._pt,v,"scaleY",v.scaleY,(g?ne(v.scaleY,g+c):c)-v.scaleY||0,lr),this._pt.u=0,s.push("scaleY",h),h+="X";else if(h==="transformOrigin"){w.push(yt,0,a[yt]),l=ks(l),v.svg?cr(t,l,0,S,0,this):(x=parseFloat(l.split(" ")[2])||0,x!==v.zOrigin&&It(this,v,"zOrigin",v.zOrigin,x),It(this,a,h,Ve(f),Ve(l)));continue}else if(h==="svgOrigin"){cr(t,l,1,S,0,this);continue}else if(h in Qi){Ds(this,v,h,_,g?ne(_,g+l):l);continue}else if(h==="smoothOrigin"){It(this,v,"smooth",v.smooth,l);continue}else if(h==="force3D"){v[h]=l;continue}else if(h==="transform"){As(this,l,t);continue}}else h in a||(h=he(h)||h);if(y||(c||c===0)&&(_||_===0)&&!_s.test(l)&&h in a)m=(f+"").substr((_+"").length),c||(c=0),x=Z(l)||(h in ut.units?ut.units[h]:m),m!==x&&(_=Nt(t,h,f,x)),this._pt=new nt(this._pt,y?v:a,h,_,(g?ne(_,g+c):c)-_,!y&&(x==="px"||h==="zIndex")&&e.autoRound!==!1?ps:lr),this._pt.u=x||0,m!==x&&x!=="%"&&(this._pt.b=f,this._pt.r=ds);else if(h in a)Ps.call(this,t,h,f,g?g+l:l);else if(h in t)this.add(t,h,f||t[h],g?g+l:l,i,n);else if(h!=="parseTransform"){yr(h,l);continue}y||(h in a?w.push(h,0,a[h]):w.push(h,1,f||t[h])),s.push(h)}}P&&Yi(this)},render:function(t,e){if(e.tween._time||!Cr())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:Dt,aliases:Pt,getSetter:function(t,e,r){var i=Pt[e];return i&&i.indexOf(",")<0&&(e=i),e in Et&&e!==yt&&(t._gsap.x||Dt(t,"x"))?r&&Nr===r?e==="scale"?xs:ys:(Nr=r||{})&&(e==="scale"?vs:Ts):t.style&&!pr(t.style[e])?ms:~e.indexOf("-")?gs:Pr(t,e)},core:{_removeProperty:be,_getMatrix:Dr}};st.utils.checkPrefix=he;st.core.getStyleSaver=$i;(function(u,t,e,r){var i=it(u+","+t+","+e,function(n){Et[n]=1});it(t,function(n){ut.units[n]="deg",Qi[n]=1}),Pt[i[13]]=u+","+t,it(r,function(n){var s=n.split(":");Pt[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");it("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(u){ut.units[u]="px"});st.registerPlugin(tn);var en=st.registerPlugin(tn)||st;en.core.Tween;function Es(u){let t,e,r;return{c(){t=U("div"),this.h()},l(i){t=Y(i,"DIV",{class:!0,style:!0}),G(t).forEach(I),this.h()},h(){A(t,"class","absolute w-[2px] h-[2px] bg-blue-400 rounded-full rotate-45"),ke(t,"top",u[0].start.y+"px"),ke(t,"left",u[0].start.x+"px")},m(i,n){ie(i,t,n),e||(r=rn(u[1].call(null,t)),e=!0)},p(i,[n]){n&1&&ke(t,"top",i[0].start.y+"px"),n&1&&ke(t,"left",i[0].start.x+"px")},i:Ar,o:Ar,d(i){i&&I(t),e=!1,r()}}}function Rs(u,t,e){let{star:r}=t;const i=nn();function n(s){let a=r.end.x-r.start.x,o=r.end.y-r.start.y;en.to(s,{translateX:a,translateY:o,height:4,width:4,opacity:0,scaleY:100,duration:1.5,backgroundColor:"white",ease:"power1.inOut",onComplete:()=>{i("remove",r)}})}return u.$$set=s=>{"star"in s&&e(0,r=s.star)},[r,n]}class Fs extends Zr{constructor(t){super(),Jr(this,t,Rs,Es,ti,{star:0})}}function jr(u,t,e){const r=u.slice();return r[7]=t[e],r}function Hr(u){let t,e;return t=new Fs({props:{star:u[7]}}),t.$on("remove",u[4]),{c(){fn(t.$$.fragment)},l(r){ln(t.$$.fragment,r)},m(r,i){hn(t,r,i),e=!0},p(r,i){const n={};i&4&&(n.star=r[7]),t.$set(n)},i(r){e||(Ce(t.$$.fragment,r),e=!0)},o(r){Ze(t.$$.fragment,r),e=!1},d(r){_n(t,r)}}}function Kr(u){let t,e,r,i,n,s,a,o,f,l,c,_,d,p,h,m,x;return{c(){t=U("div"),e=U("iframe"),i=bt(),n=U("div"),s=bt(),a=U("div"),o=bt(),f=U("div"),l=bt(),c=U("div"),_=bt(),d=U("div"),p=U("p"),h=_t("ZQD to move SPACE to jump. "),m=U("a"),x=_t("Full shaders game demo"),this.h()},l(g){t=Y(g,"DIV",{class:!0});var y=G(t);e=Y(y,"IFRAME",{src:!0,frameborder:!0,title:!0,height:!0,width:!0,class:!0}),G(e).forEach(I),i=wt(y),n=Y(y,"DIV",{class:!0}),G(n).forEach(I),s=wt(y),a=Y(y,"DIV",{class:!0}),G(a).forEach(I),o=wt(y),f=Y(y,"DIV",{class:!0}),G(f).forEach(I),l=wt(y),c=Y(y,"DIV",{class:!0}),G(c).forEach(I),y.forEach(I),_=wt(g),d=Y(g,"DIV",{class:!0});var T=G(d);p=Y(T,"P",{});var v=G(p);h=ct(v,"ZQD to move SPACE to jump. "),m=Y(v,"A",{href:!0,target:!0,class:!0});var S=G(m);x=ct(S,"Full shaders game demo"),S.forEach(I),v.forEach(I),T.forEach(I),this.h()},h(){ei(e.src,r="smg/index.html")||A(e,"src",r),A(e,"frameborder","0"),A(e,"title","Spaceship Drift"),A(e,"height","512"),A(e,"width","768"),A(e,"class",""),A(n,"class","h-[3px] bg-[#0C0F19] w-[3px] z-10 absolute -top-[3px] -left-[3px]"),A(a,"class","h-[3px] bg-[#0C0F19] w-[3px] z-10 absolute -bottom-[3px] -left-[3px]"),A(f,"class","h-[3px] bg-[#0C0F19] w-[3px] z-10 absolute -top-[3px] -right-[3px]"),A(c,"class","h-[3px] bg-[#0C0F19] w-[3px] z-10 absolute -bottom-[3px] -right-[3px]"),A(t,"class","relative mt-6 border-slate-800 border-[3px]"),A(m,"href","https://x.com/HugoDuprez/status/1712093324528541831?s=20"),A(m,"target","_blank"),A(m,"class","underline"),A(d,"class","flex flex-row justify-center items-center text-[9px] mt-4 text-slate-500")},m(g,y){ie(g,t,y),D(t,e),D(t,i),D(t,n),D(t,s),D(t,a),D(t,o),D(t,f),D(t,l),D(t,c),ie(g,_,y),ie(g,d,y),D(d,p),D(p,h),D(p,m),D(m,x)},d(g){g&&I(t),g&&I(_),g&&I(d)}}}function Qr(u){let t,e,r,i,n,s,a=u[1]?"Copied!":"Copy the link for later",o,f,l;return{c(){t=U("div"),e=U("p"),r=_t("Looks like you're on mobile! Please visit on your laptop."),i=bt(),n=U("button"),s=U("p"),o=_t(a),this.h()},l(c){t=Y(c,"DIV",{class:!0});var _=G(t);e=Y(_,"P",{class:!0});var d=G(e);r=ct(d,"Looks like you're on mobile! Please visit on your laptop."),d.forEach(I),i=wt(_),n=Y(_,"BUTTON",{class:!0});var p=G(n);s=Y(p,"P",{class:!0});var h=G(s);o=ct(h,a),h.forEach(I),p.forEach(I),_.forEach(I),this.h()},h(){A(e,"class","text-xs text-slate-500 mt-6"),A(s,"class","mt-1"),A(n,"class","flex flex-row justify-center items-center px-3 py-5 text-xs w-full bg-slate-800 mt-6"),A(t,"class","flex flex-col justify-center items-center mt-10 text-center")},m(c,_){ie(c,t,_),D(t,e),D(e,r),D(t,i),D(t,n),D(n,s),D(s,o),f||(l=cn(n,"click",dn(u[3])),f=!0)},p(c,_){_&2&&a!==(a=c[1]?"Copied!":"Copy the link for later")&&pn(o,a)},d(c){c&&I(t),f=!1,l()}}}function zs(u){let t,e,r,i,n,s,a,o,f,l,c,_,d,p,h,m,x,g,y,T,v,S,P,w,b=u[2],k=[];for(let O=0;OZe(k[O],1,1,()=>{k[O]=null});let E=!u[0]&&Kr(),R=u[0]&&Qr(u);return{c(){t=U("div"),e=U("div"),r=U("img"),n=bt();for(let O=0;Oe(5,r=l));let i=!1,n=!1,s=[];un(()=>{window.innerWidth<768&&e(0,i=!0),setInterval(()=>{o()},5e3)});function a(){navigator.clipboard.writeText(r.url.toString()),e(1,n=!0)}function o(){const l=Is(800,1500),c=135*(Math.PI/180),_=Math.random()*window.innerWidth,d=Math.random()*window.innerHeight,p=_+Math.cos(c)*l,h=d+Math.sin(c)*l;e(2,s=[...s,{start:{x:_,y:d},end:{x:p,y:h}}])}function f(l){e(2,s=s.filter(c=>c!==l.detail))}return[i,n,s,a,f]}class Ns extends Zr{constructor(t){super(),Jr(this,t,Ls,zs,ti,{})}}export{Ns as component};