-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.1dc77c29.js
11 lines (11 loc) · 47.2 KB
/
index.1dc77c29.js
1
2
3
4
5
6
7
8
9
10
11
function t(t,e,r,i){Object.defineProperty(t,e,{get:r,set:i,enumerable:!0,configurable:!0})}var e={};function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
/*!
* GSAP 3.10.4
* https://greensock.com
*
* @license Copyright 2008-2022, 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, [email protected]
*/t(e,"start",(()=>kr)),t(e,"end",(()=>xr));var n,s,a,o,u,h,_,l,f,c,p,d,m,g,v,y,T,b,w,k,x,D,A,C,S,M,R,E,O={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},z={duration:.5,overwrite:!1,delay:0},P=2*Math.PI,L=P/4,F=0,I=Math.sqrt,U=Math.cos,q=Math.sin,B=function(t){return"string"==typeof t},N=function(t){return"function"==typeof t},j=function(t){return"number"==typeof t},Q=function(t){return void 0===t},V=function(t){return"object"==typeof t},G=function(t){return!1!==t},W=function(){return"undefined"!=typeof window},$=function(t){return N(t)||B(t)},H="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},Y=Array.isArray,J=/(?:-?\.?\d|\.)+/gi,K=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,X=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Z=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,tt=/[+-]=-?[.\d]+/,et=/[^,'"\[\]\s]+/gi,rt=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,it={},nt={},st=function(t){return(nt=Et(t,it))&&vr},at=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},ot=function(t,e){return!e&&console.warn(t)},ut=function(t,e){return t&&(it[t]=e)&&nt&&(nt[t]=e)||it},ht=function(){return 0},_t={},lt=[],ft={},ct={},pt={},dt=30,mt=[],gt="",vt=function(t){var e,r,i=t[0];if(V(i)||N(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(r=mt.length;r--&&!mt[r].targetTest(i););e=mt[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Ne(t[r],e)))||t.splice(r,1);return t},yt=function(t){return t._gsap||vt(ue(t))[0]._gsap},Tt=function(t,e,r){return(r=t[e])&&N(r)?t[e]():Q(r)&&t.getAttribute&&t.getAttribute(e)||r},bt=function(t,e){return(t=t.split(",")).forEach(e)||t},wt=function(t){return Math.round(1e5*t)/1e5||0},kt=function(t){return Math.round(1e7*t)/1e7||0},xt=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},Dt=function(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++i<r;);return i<r},At=function(){var t,e,r=lt.length,i=lt.slice(0);for(ft={},lt.length=0,t=0;t<r;t++)(e=i[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)},Ct=function(t,e,r,i){lt.length&&At(),t.render(e,r,i),lt.length&&At()},St=function(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(et).length<2?e:B(t)?t.trim():t},Mt=function(t){return t},Rt=function(t,e){for(var r in e)r in t||(t[r]=e[r]);return t},Et=function(t,e){for(var r in e)t[r]=e[r];return t},Ot=function t(e,r){for(var i in r)"__proto__"!==i&&"constructor"!==i&&"prototype"!==i&&(e[i]=V(r[i])?t(e[i]||(e[i]={}),r[i]):r[i]);return e},zt=function(t,e){var r,i={};for(r in t)r in e||(i[r]=t[r]);return i},Pt=function(t){var e,r=t.parent||s,i=t.keyframes?(e=Y(t.keyframes),function(t,r){for(var i in r)i in t||"duration"===i&&e||"ease"===i||(t[i]=r[i])}):Rt;if(G(t.inherit))for(;r;)i(t,r.vars.defaults),r=r.parent||r._dp;return t},Lt=function(t,e,r,i,n){void 0===r&&(r="_first"),void 0===i&&(i="_last");var s,a=t[i];if(n)for(s=e[n];a&&a[n]>s;)a=a._prev;return a?(e._next=a._next,a._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=a,e.parent=e._dp=t,e},Ft=function(t,e,r,i){void 0===r&&(r="_first"),void 0===i&&(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},It=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove(t),t._act=0},Ut=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},qt=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},Bt=function t(e){return!e||e._ts&&t(e.parent)},Nt=function(t){return t._repeat?jt(t._tTime,t=t.duration()+t._rDelay)*t:0},jt=function(t,e){var r=Math.floor(t/=e);return t&&r===t?r-1:r},Qt=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Vt=function(t){return t._end=kt(t._start+(t._tDur/Math.abs(t._ts||t._rts||1e-8)||0))},Gt=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=kt(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Vt(t),r._dirty||Ut(r,t)),t},Wt=function(t,e){var r;if((e._time||e._initted&&!e._dur)&&(r=Qt(t.rawTime(),e),(!e._dur||ne(0,e.totalDuration(),r)-e._tTime>1e-8)&&e.render(r,!0)),Ut(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;t._zTime=-1e-8}},$t=function(t,e,r,i){return e.parent&&It(e),e._start=kt((j(r)?r:r||t!==s?ee(t,r,e):t._time)+e._delay),e._end=kt(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Lt(t,e,"_first","_last",t._sort?"_start":0),Kt(e)||(t._recent=e),i||Wt(t,e),t},Ht=function(t,e){return(it.ScrollTrigger||at("scrollTrigger",e))&&it.ScrollTrigger.create(e,t)},Yt=function(t,e,r,i){return Ye(t,e),t._initted?!r&&t._pt&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&_!==Se.frame?(lt.push(t),t._lazy=[e,i],1):void 0:1},Jt=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},Kt=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},Xt=function(t,e,r,i){var n=t._repeat,s=kt(e)||0,a=t._tTime/t._tDur;return a&&!i&&(t._time*=s/t._dur),t._dur=s,t._tDur=n?n<0?1e10:kt(s*(n+1)+t._rDelay*n):s,a>0&&!i?Gt(t,t._tTime=t._tDur*a):t.parent&&Vt(t),r||Ut(t.parent,t),t},Zt=function(t){return t instanceof Qe?Ut(t):Xt(t,t._dur)},te={_start:0,endTime:ht,totalDuration:ht},ee=function t(e,r,i){var n,s,a,o=e.labels,u=e._recent||te,h=e.duration()>=1e8?u.endTime(!1):e._dur;return B(r)&&(isNaN(r)||r in o)?(s=r.charAt(0),a="%"===r.substr(-1),n=r.indexOf("="),"<"===s||">"===s?(n>=0&&(r=r.replace(/=/,"")),("<"===s?u._start:u.endTime(u._repeat>=0))+(parseFloat(r.substr(1))||0)*(a?(n<0?u:i).totalDuration()/100:1)):n<0?(r in o||(o[r]=h),o[r]):(s=parseFloat(r.charAt(n-1)+r.substr(n+1)),a&&i&&(s=s/100*(Y(i)?i[0]:i).totalDuration()),n>1?t(e,r.substr(0,n-1),i)+s:h+s)):null==r?h:+r},re=function(t,e,r){var i,n,s=j(e[1]),a=(s?2:1)+(t<2?0:1),o=e[a];if(s&&(o.duration=e[1]),o.parent=r,t){for(i=o,n=r;n&&!("immediateRender"in i);)i=n.vars.defaults||{},n=G(n.vars.inherit)&&n.parent;o.immediateRender=G(i.immediateRender),t<2?o.runBackwards=1:o.startAt=e[a-1]}return new tr(e[0],o,e[a+1])},ie=function(t,e){return t||0===t?e(t):e},ne=function(t,e,r){return r<t?t:r>e?e:r},se=function(t,e){return B(t)&&(e=rt.exec(t))?e[1]:""},ae=[].slice,oe=function(t,e){return t&&V(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&V(t[0]))&&!t.nodeType&&t!==a},ue=function(t,e,r){return!B(t)||r||!o&&Me()?Y(t)?function(t,e,r){return void 0===r&&(r=[]),t.forEach((function(t){var i;return B(t)&&!e||oe(t,1)?(i=r).push.apply(i,ue(t)):r.push(t)}))||r}(t,r):oe(t)?ae.call(t,0):t?[t]:[]:ae.call((e||u).querySelectorAll(t),0)},he=function(t){return t.sort((function(){return.5-Math.random()}))},_e=function(t){if(N(t))return t;var e=V(t)?t:{each:t},r=Fe(e.ease),i=e.from||0,n=parseFloat(e.base)||0,s={},a=i>0&&i<1,o=isNaN(i)||a,u=e.axis,h=i,_=i;return B(i)?h=_={center:.5,edges:.5,end:1}[i]||0:!a&&o&&(h=i[0],_=i[1]),function(t,a,l){var f,c,p,d,m,g,v,y,T,b=(l||e).length,w=s[b];if(!w){if(!(T="auto"===e.grid?0:(e.grid||[1,1e8])[1])){for(v=-1e8;v<(v=l[T++].getBoundingClientRect().left)&&T<b;);T--}for(w=s[b]=[],f=o?Math.min(T,b)*h-.5:i%T,c=1e8===T?0:o?b*_/T-.5:i/T|0,v=0,y=1e8,g=0;g<b;g++)p=g%T-f,d=c-(g/T|0),w[g]=m=u?Math.abs("y"===u?d:p):I(p*p+d*d),m>v&&(v=m),m<y&&(y=m);"random"===i&&he(w),w.max=v-y,w.min=y,w.v=b=(parseFloat(e.amount)||parseFloat(e.each)*(T>b?b-1:u?"y"===u?b/T:T:Math.max(T,b/T))||0)*("edges"===i?-1:1),w.b=b<0?n-b:n,w.u=se(e.amount||e.each)||0,r=r&&b<0?Pe(r):r}return b=(w[t]-w.min)/w.max||0,kt(w.b+(r?r(b):b)*w.v)+w.u}},le=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var i=Math.round(parseFloat(r)/t)*t*e;return(i-i%1)/e+(j(r)?0:se(r))}},fe=function(t,e){var r,i,n=Y(t);return!n&&V(t)&&(r=n=t.radius||1e8,t.values?(t=ue(t.values),(i=!j(t[0]))&&(r*=r)):t=le(t.increment)),ie(e,n?N(t)?function(e){return i=t(e),Math.abs(i-e)<=r?i:e}:function(e){for(var n,s,a=parseFloat(i?e.x:e),o=parseFloat(i?e.y:0),u=1e8,h=0,_=t.length;_--;)(n=i?(n=t[_].x-a)*n+(s=t[_].y-o)*s:Math.abs(t[_]-a))<u&&(u=n,h=_);return h=!r||u<=r?t[h]:e,i||h===e||j(e)?h:h+se(e)}:le(t))},ce=function(t,e,r,i){return ie(Y(t)?!e:!0===r?(r=0,!1):!i,(function(){return Y(t)?t[~~(Math.random()*t.length)]:(i=(r=r||1e-5)<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+.99*r))/r)*r*i)/i}))},pe=function(t,e,r){return ie(r,(function(r){return t[~~e(r)]}))},de=function(t){for(var e,r,i,n,s=0,a="";~(e=t.indexOf("random(",s));)i=t.indexOf(")",e),n="["===t.charAt(e+7),r=t.substr(e+7,i-e-7).match(n?et:J),a+=t.substr(s,e-s)+ce(n?r:+r[0],n?0:+r[1],+r[2]||1e-5),s=i+1;return a+t.substr(s,t.length-s)},me=function(t,e,r,i,n){var s=e-t,a=i-r;return ie(n,(function(e){return r+((e-t)/s*a||0)}))},ge=function(t,e,r){var i,n,s,a=t.labels,o=1e8;for(i in a)(n=a[i]-e)<0==!!r&&n&&o>(n=Math.abs(n))&&(s=i,o=n);return s},ve=function(t,e,r){var i,n,s=t.vars,a=s[e];if(a)return i=s[e+"Params"],n=s.callbackScope||t,r&<.length&&At(),i?a.apply(n,i):a.call(n)},ye=function(t){return It(t),t.scrollTrigger&&t.scrollTrigger.kill(!1),t.progress()<1&&ve(t,"onInterrupt"),t},Te=function(t){var e=(t=!t.name&&t.default||t).name,r=N(t),i=e&&!r&&t.init?function(){this._props=[]}:t,n={init:ht,render:hr,add:$e,kill:lr,modifier:_r,rawVars:0},s={targetTest:0,get:0,getSetter:sr,aliases:{},register:0};if(Me(),t!==i){if(ct[e])return;Rt(i,Rt(zt(t,n),s)),Et(i.prototype,Et(n,zt(t,s))),ct[i.prop=e]=i,t.targetTest&&(mt.push(i),_t[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}ut(e,i),t.register&&t.register(vr,i,pr)},be={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},we=function(t,e,r){return 255*(6*(t+=t<0?1:t>1?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)+.5|0},ke=function(t,e,r){var i,n,s,a,o,u,h,_,l,f,c=t?j(t)?[t>>16,t>>8&255,255&t]:0:be.black;if(!c){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),be[t])c=be[t];else if("#"===t.charAt(0)){if(t.length<6&&(i=t.charAt(1),n=t.charAt(2),s=t.charAt(3),t="#"+i+i+n+n+s+s+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(c=parseInt(t.substr(1,6),16))>>16,c>>8&255,255&c,parseInt(t.substr(7),16)/255];c=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t]}else if("hsl"===t.substr(0,3))if(c=f=t.match(J),e){if(~t.indexOf("="))return c=t.match(K),r&&c.length<4&&(c[3]=1),c}else a=+c[0]%360/360,o=+c[1]/100,i=2*(u=+c[2]/100)-(n=u<=.5?u*(o+1):u+o-u*o),c.length>3&&(c[3]*=1),c[0]=we(a+1/3,i,n),c[1]=we(a,i,n),c[2]=we(a-1/3,i,n);else c=t.match(J)||be.transparent;c=c.map(Number)}return e&&!f&&(i=c[0]/255,n=c[1]/255,s=c[2]/255,u=((h=Math.max(i,n,s))+(_=Math.min(i,n,s)))/2,h===_?a=o=0:(l=h-_,o=u>.5?l/(2-h-_):l/(h+_),a=h===i?(n-s)/l+(n<s?6:0):h===n?(s-i)/l+2:(i-n)/l+4,a*=60),c[0]=~~(a+.5),c[1]=~~(100*o+.5),c[2]=~~(100*u+.5)),r&&c.length<4&&(c[3]=1),c},xe=function(t){var e=[],r=[],i=-1;return t.split(Ae).forEach((function(t){var n=t.match(X)||[];e.push.apply(e,n),r.push(i+=n.length+1)})),e.c=r,e},De=function(t,e,r){var i,n,s,a,o="",u=(t+o).match(Ae),h=e?"hsla(":"rgba(",_=0;if(!u)return t;if(u=u.map((function(t){return(t=ke(t,e,1))&&h+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"})),r&&(s=xe(t),(i=r.c).join(o)!==s.c.join(o)))for(a=(n=t.replace(Ae,"1").split(X)).length-1;_<a;_++)o+=n[_]+(~i.indexOf(_)?u.shift()||h+"0,0,0,0)":(s.length?s:u.length?u:r).shift());if(!n)for(a=(n=t.split(Ae)).length-1;_<a;_++)o+=n[_]+u[_];return o+n[a]},Ae=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in be)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),Ce=/hsl[a]?\(/,Se=(y=Date.now,T=500,b=33,w=y(),k=w,D=x=1e3/240,C=function t(e){var r,i,n,s,a=y()-k,o=!0===e;if(a>T&&(w+=a-b),((r=(n=(k+=a)-w)-D)>0||o)&&(s=++m.frame,g=n-1e3*m.time,m.time=n/=1e3,D+=r+(r>=x?4:x-r),i=1),o||(c=p(t)),i)for(v=0;v<A.length;v++)A[v](n,g,s,e)},m={time:0,frame:0,tick:function(){C(!0)},deltaRatio:function(t){return g/(1e3/(t||60))},wake:function(){h&&(!o&&W()&&(a=o=window,u=a.document||{},it.gsap=vr,(a.gsapVersions||(a.gsapVersions=[])).push(vr.version),st(nt||a.GreenSockGlobals||!a.gsap&&a||{}),d=a.requestAnimationFrame),c&&m.sleep(),p=d||function(t){return setTimeout(t,D-1e3*m.time+1|0)},f=1,C(2))},sleep:function(){(d?a.cancelAnimationFrame:clearTimeout)(c),f=0,p=ht},lagSmoothing:function(t,e){T=t||1/1e-8,b=Math.min(e,T,0)},fps:function(t){x=1e3/(t||240),D=1e3*m.time+x},add:function(t,e,r){var i=e?function(e,r,n,s){t(e,r,n,s),m.remove(i)}:t;return m.remove(t),A[r?"unshift":"push"](i),Me(),i},remove:function(t,e){~(e=A.indexOf(t))&&A.splice(e,1)&&v>=e&&v--},_listeners:A=[]}),Me=function(){return!f&&Se.wake()},Re={},Ee=/^[\d.\-M][\d.\-,\s]/,Oe=/["']/g,ze=function(t){for(var e,r,i,n={},s=t.substr(1,t.length-3).split(":"),a=s[0],o=1,u=s.length;o<u;o++)r=s[o],e=o!==u-1?r.lastIndexOf(","):r.length,i=r.substr(0,e),n[a]=isNaN(i)?i.replace(Oe,"").trim():+i,a=r.substr(e+1).trim();return n},Pe=function(t){return function(e){return 1-t(1-e)}},Le=function t(e,r){for(var i,n=e._first;n;)n instanceof Qe?t(n,r):!n.vars.yoyoEase||n._yoyo&&n._repeat||n._yoyo===r||(n.timeline?t(n.timeline,r):(i=n._ease,n._ease=n._yEase,n._yEase=i,n._yoyo=r)),n=n._next},Fe=function(t,e){return t&&(N(t)?t:Re[t]||function(t){var e,r,i,n,s=(t+"").split("("),a=Re[s[0]];return a&&s.length>1&&a.config?a.config.apply(null,~t.indexOf("{")?[ze(s[1])]:(e=t,r=e.indexOf("(")+1,i=e.indexOf(")"),n=e.indexOf("(",r),e.substring(r,~n&&n<i?e.indexOf(")",i+1):i)).split(",").map(St)):Re._CE&&Ee.test(t)?Re._CE("",t):a}(t))||e},Ie=function(t,e,r,i){void 0===r&&(r=function(t){return 1-e(1-t)}),void 0===i&&(i=function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var n,s={easeIn:e,easeOut:r,easeInOut:i};return bt(t,(function(t){for(var e in Re[t]=it[t]=s,Re[n=t.toLowerCase()]=r,s)Re[n+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=Re[t+"."+e]=s[e]})),s},Ue=function(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t(2*(e-.5))/2}},qe=function t(e,r,i){var n=r>=1?r:1,s=(i||(e?.3:.45))/(r<1?r:1),a=s/P*(Math.asin(1/n)||0),o=function(t){return 1===t?1:n*Math.pow(2,-10*t)*q((t-a)*s)+1},u="out"===e?o:"in"===e?function(t){return 1-o(1-t)}:Ue(o);return s=P/s,u.config=function(r,i){return t(e,r,i)},u},Be=function t(e,r){void 0===r&&(r=1.70158);var i=function(t){return t?--t*t*((r+1)*t+r)+1:0},n="out"===e?i:"in"===e?function(t){return 1-i(1-t)}:Ue(i);return n.config=function(r){return t(e,r)},n};bt("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var r=e<5?e+1:e;Ie(t+",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(2*t,r)/2:1-Math.pow(2*(1-t),r)/2}))})),Re.Linear.easeNone=Re.none=Re.Linear.easeIn,Ie("Elastic",qe("in"),qe("out"),qe()),S=7.5625,R=1/(M=2.75),Ie("Bounce",(function(t){return 1-E(1-t)}),E=function(t){return t<R?S*t*t:t<.7272727272727273?S*Math.pow(t-1.5/M,2)+.75:t<.9090909090909092?S*(t-=2.25/M)*t+.9375:S*Math.pow(t-2.625/M,2)+.984375}),Ie("Expo",(function(t){return t?Math.pow(2,10*(t-1)):0})),Ie("Circ",(function(t){return-(I(1-t*t)-1)})),Ie("Sine",(function(t){return 1===t?1:1-U(t*L)})),Ie("Back",Be("in"),Be("out"),Be()),Re.SteppedEase=Re.steps=it.SteppedEase={config:function(t,e){void 0===t&&(t=1);var r=1/t,i=t+(e?0:1),n=e?1:0;return function(t){return((i*ne(0,.99999999,t)|0)+n)*r}}},z.ease=Re["quad.out"],bt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(t){return gt+=t+","+t+"Params,"}));var Ne=function(t,e){this.id=F++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:Tt,this.set=e?e.getSetter:sr},je=function(){function t(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Xt(this,+t.duration,1,1),this.data=t.data,f||Se.wake()}var e=t.prototype;return e.delay=function(t){return t||0===t?(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,Xt(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(Me(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(Gt(this,t),!r._dp||r.parent||Wt(r,this);r&&r.parent;)r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&$t(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&1e-8===Math.abs(this._zTime)||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),Ct(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Nt(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Nt(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?jt(this._tTime,r)+1:1},e.timeScale=function(t){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var e=this.parent&&this._ts?Qt(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(ne(-this._delay,this._tDur,e),!0),Vt(this),qt(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):(Me(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&1e-8!==Math.abs(this._zTime)&&(this._tTime-=1e-8)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&$t(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(G(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Qt(e.rawTime(t),this):this._tTime:this._tTime},e.globalTime=function(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(e._ts||1),e=e._dp;return r},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,Zt(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,Zt(this),e?this.time(e):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(ee(this,t),G(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,G(e))},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),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?-1e-8:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var t,e=this.parent||this._dp,r=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t<this.endTime(!0)-1e-8))},e.eventCallback=function(t,e,r){var i=this.vars;return arguments.length>1?(e?(i[t]=e,r&&(i[t+"Params"]=r),"onUpdate"===t&&(this._onUpdate=e)):delete i[t],this):i[t]},e.then=function(t){var e=this;return new Promise((function(r){var i=N(t)?t:Mt,n=function(){var t=e.then;e.then=null,N(i)&&(i=i(e))&&(i.then||i===e)&&(e.then=t),r(i),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?n():e._prom=n}))},e.kill=function(){ye(this)},t}();Rt(je.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:-1e-8,_prom:0,_ps:!1,_rts:1});var Qe=function(t){function e(e,i){var n;return void 0===e&&(e={}),(n=t.call(this,e)||this).labels={},n.smoothChildTiming=!!e.smoothChildTiming,n.autoRemoveChildren=!!e.autoRemoveChildren,n._sort=G(e.sortChildren),s&&$t(e.parent||s,r(n),i),e.reversed&&n.reverse(),e.paused&&n.paused(!0),e.scrollTrigger&&Ht(r(n),e.scrollTrigger),n}i(e,t);var n=e.prototype;return n.to=function(t,e,r){return re(0,arguments,this),this},n.from=function(t,e,r){return re(1,arguments,this),this},n.fromTo=function(t,e,r,i){return re(2,arguments,this),this},n.set=function(t,e,r){return e.duration=0,e.parent=this,Pt(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new tr(t,e,ee(this,r),1),this},n.call=function(t,e,r){return $t(this,tr.delayedCall(0,t,e),r)},n.staggerTo=function(t,e,r,i,n,s,a){return r.duration=e,r.stagger=r.stagger||i,r.onComplete=s,r.onCompleteParams=a,r.parent=this,new tr(t,r,ee(this,n)),this},n.staggerFrom=function(t,e,r,i,n,s,a){return r.runBackwards=1,Pt(r).immediateRender=G(r.immediateRender),this.staggerTo(t,e,r,i,n,s,a)},n.staggerFromTo=function(t,e,r,i,n,s,a,o){return i.startAt=r,Pt(i).immediateRender=G(i.immediateRender),this.staggerTo(t,e,i,n,s,a,o)},n.render=function(t,e,r){var i,n,a,o,u,h,_,l,f,c,p,d,m=this._time,g=this._dirty?this.totalDuration():this._tDur,v=this._dur,y=t<=0?0:kt(t),T=this._zTime<0!=t<0&&(this._initted||!v);if(this!==s&&y>g&&t>=0&&(y=g),y!==this._tTime||r||T){if(m!==this._time&&v&&(y+=this._time-m,t+=this._time-m),i=y,f=this._start,h=!(l=this._ts),T&&(v||(m=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(p=this._yoyo,u=v+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*u+t,e,r);if(i=kt(y%u),y===g?(o=this._repeat,i=v):((o=~~(y/u))&&o===y/u&&(i=v,o--),i>v&&(i=v)),c=jt(this._tTime,u),!m&&this._tTime&&c!==o&&(c=o),p&&1&o&&(i=v-i,d=1),o!==c&&!this._lock){var b=p&&1&c,w=b===(p&&1&o);if(o<c&&(b=!b),m=b?0:v,this._lock=1,this.render(m||(d?0:kt(o*u)),e,!v)._lock=0,this._tTime=y,!e&&this.parent&&ve(this,"onRepeat"),this.vars.repeatRefresh&&!d&&(this.invalidate()._lock=1),m&&m!==this._time||h!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(v=this._dur,g=this._tDur,w&&(this._lock=2,m=b?v:-1e-4,this.render(m,!0),this.vars.repeatRefresh&&!d&&this.invalidate()),this._lock=0,!this._ts&&!h)return this;Le(this,d)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(_=function(t,e,r){var i;if(r>e)for(i=t._first;i&&i._start<=r;){if("isPause"===i.data&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if("isPause"===i.data&&i._start<e)return i;i=i._prev}}(this,kt(m),kt(i)),_&&(y-=i-(i=_._start))),this._tTime=y,this._time=i,this._act=!l,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,m=0),!m&&i&&!e&&(ve(this,"onStart"),this._tTime!==y))return this;if(i>=m&&t>=0)for(n=this._first;n;){if(a=n._next,(n._act||i>=n._start)&&n._ts&&_!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(n._ts>0?(i-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(i-n._start)*n._ts,e,r),i!==this._time||!this._ts&&!h){_=0,a&&(y+=this._zTime=-1e-8);break}}n=a}else{n=this._last;for(var k=t<0?t:i;n;){if(a=n._prev,(n._act||k<=n._end)&&n._ts&&_!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(n._ts>0?(k-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(k-n._start)*n._ts,e,r),i!==this._time||!this._ts&&!h){_=0,a&&(y+=this._zTime=k?-1e-8:1e-8);break}}n=a}}if(_&&!e&&(this.pause(),_.render(i>=m?0:-1e-8)._zTime=i>=m?1:-1,this._ts))return this._start=f,Vt(this),this.render(t,e,r);this._onUpdate&&!e&&ve(this,"onUpdate",!0),(y===g&&this._tTime>=this.totalDuration()||!y&&m)&&(f!==this._start&&Math.abs(l)===Math.abs(this._ts)||this._lock||((t||!v)&&(y===g&&this._ts>0||!y&&this._ts<0)&&It(this,1),e||t<0&&!m||!y&&!m&&g||(ve(this,y===g&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(y<g&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(t,e){var r=this;if(j(e)||(e=ee(this,e,t)),!(t instanceof je)){if(Y(t))return t.forEach((function(t){return r.add(t,e)})),this;if(B(t))return this.addLabel(t,e);if(!N(t))return this;t=tr.delayedCall(0,t)}return this!==t?$t(this,t,e):this},n.getChildren=function(t,e,r,i){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===i&&(i=-1e8);for(var n=[],s=this._first;s;)s._start>=i&&(s instanceof tr?e&&n.push(s):(r&&n.push(s),t&&n.push.apply(n,s.getChildren(!0,e,r)))),s=s._next;return n},n.getById=function(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},n.remove=function(t){return B(t)?this.removeLabel(t):N(t)?this.killTweensOf(t):(Ft(this,t),t===this._recent&&(this._recent=this._last),Ut(this))},n.totalTime=function(e,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=kt(Se.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))),t.prototype.totalTime.call(this,e,r),this._forcing=0,this):this._tTime},n.addLabel=function(t,e){return this.labels[t]=ee(this,e),this},n.removeLabel=function(t){return delete this.labels[t],this},n.addPause=function(t,e,r){var i=tr.delayedCall(0,e||ht,r);return i.data="isPause",this._hasPause=1,$t(this,i,ee(this,t))},n.removePause=function(t){var e=this._first;for(t=ee(this,t);e;)e._start===t&&"isPause"===e.data&&It(e),e=e._next},n.killTweensOf=function(t,e,r){for(var i=this.getTweensOf(t,r),n=i.length;n--;)Ve!==i[n]&&i[n].kill(t,e);return this},n.getTweensOf=function(t,e){for(var r,i=[],n=ue(t),s=this._first,a=j(e);s;)s instanceof tr?Dt(s._targets,n)&&(a?(!Ve||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())&&i.push(s):(r=s.getTweensOf(n,e)).length&&i.push.apply(i,r),s=s._next;return i},n.tweenTo=function(t,e){e=e||{};var r,i=this,n=ee(i,t),s=e,a=s.startAt,o=s.onStart,u=s.onStartParams,h=s.immediateRender,_=tr.to(i,Rt({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:n,overwrite:"auto",duration:e.duration||Math.abs((n-(a&&"time"in a?a.time:i._time))/i.timeScale())||1e-8,onStart:function(){if(i.pause(),!r){var t=e.duration||Math.abs((n-(a&&"time"in a?a.time:i._time))/i.timeScale());_._dur!==t&&Xt(_,t,0,1).render(_._time,!0,!0),r=1}o&&o.apply(_,u||[])}},e));return h?_.render(0):_},n.tweenFromTo=function(t,e,r){return this.tweenTo(e,Rt({startAt:{time:ee(this,t)}},r))},n.recent=function(){return this._recent},n.nextLabel=function(t){return void 0===t&&(t=this._time),ge(this,ee(this,t))},n.previousLabel=function(t){return void 0===t&&(t=this._time),ge(this,ee(this,t),1)},n.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+1e-8)},n.shiftChildren=function(t,e,r){void 0===r&&(r=0);for(var i,n=this._first,s=this.labels;n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in s)s[i]>=r&&(s[i]+=t);return Ut(this)},n.invalidate=function(){var e=this._first;for(this._lock=0;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},n.clear=function(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Ut(this)},n.totalDuration=function(t){var e,r,i,n=0,a=this,o=a._last,u=1e8;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-t:t));if(a._dirty){for(i=a.parent;o;)e=o._prev,o._dirty&&o.totalDuration(),(r=o._start)>u&&a._sort&&o._ts&&!a._lock?(a._lock=1,$t(a,o,r-o._delay,1)._lock=0):u=r,r<0&&o._ts&&(n-=r,(!i&&!a._dp||i&&i.smoothChildTiming)&&(a._start+=r/a._ts,a._time-=r,a._tTime-=r),a.shiftChildren(-r,!1,-1/0),u=0),o._end>n&&o._ts&&(n=o._end),o=e;Xt(a,a===s&&a._time>n?a._time:n,1,1),a._dirty=0}return a._tDur},e.updateRoot=function(t){if(s._ts&&(Ct(s,Qt(t,s)),_=Se.frame),Se.frame>=dt){dt+=O.autoSleep||120;var e=s._first;if((!e||!e._ts)&&O.autoSleep&&Se._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Se.sleep()}}},e}(je);Rt(Qe.prototype,{_lock:0,_hasPause:0,_forcing:0});var Ve,Ge,We=function(t,e,r,i,n,s,a){var o,u,h,_,l,f,c,p,d=new pr(this._pt,t,e,0,1,ur,null,n),m=0,g=0;for(d.b=r,d.e=i,r+="",(c=~(i+="").indexOf("random("))&&(i=de(i)),s&&(s(p=[r,i],t,e),r=p[0],i=p[1]),u=r.match(Z)||[];o=Z.exec(i);)_=o[0],l=i.substring(m,o.index),h?h=(h+1)%5:"rgba("===l.substr(-5)&&(h=1),_!==u[g++]&&(f=parseFloat(u[g-1])||0,d._pt={_next:d._pt,p:l||1===g?l:",",s:f,c:"="===_.charAt(1)?xt(f,_)-f:parseFloat(_)-f,m:h&&h<4?Math.round:0},m=Z.lastIndex);return d.c=m<i.length?i.substring(m,i.length):"",d.fp=a,(tt.test(i)||c)&&(d.e=0),this._pt=d,d},$e=function(t,e,r,i,n,s,a,o,u){N(i)&&(i=i(n||0,t,s));var h,_=t[e],l="get"!==r?r:N(_)?u?t[e.indexOf("set")||!N(t["get"+e.substr(3)])?e:"get"+e.substr(3)](u):t[e]():_,f=N(_)?u?ir:rr:er;if(B(i)&&(~i.indexOf("random(")&&(i=de(i)),"="===i.charAt(1)&&((h=xt(l,i)+(se(l)||0))||0===h)&&(i=h)),l!==i||Ge)return isNaN(l*i)||""===i?(!_&&!(e in t)&&at(e,i),We.call(this,t,e,l,i,f,o||O.stringFilter,u)):(h=new pr(this._pt,t,e,+l||0,i-(l||0),"boolean"==typeof _?or:ar,0,f),u&&(h.fp=u),a&&h.modifier(a,this,t),this._pt=h)},He=function(t,e,r,i,n,s){var a,o,u,h;if(ct[t]&&!1!==(a=new ct[t]).init(n,a.rawVars?e[t]:function(t,e,r,i,n){if(N(t)&&(t=Ke(t,n,e,r,i)),!V(t)||t.style&&t.nodeType||Y(t)||H(t))return B(t)?Ke(t,n,e,r,i):t;var s,a={};for(s in t)a[s]=Ke(t[s],n,e,r,i);return a}(e[t],i,n,s,r),r,i,s)&&(r._pt=o=new pr(r._pt,n,t,0,1,a.render,a,0,a.priority),r!==l))for(u=r._ptLookup[r._targets.indexOf(n)],h=a._props.length;h--;)u[a._props[h]]=o;return a},Ye=function t(e,r){var i,a,o,u,h,_,l,f,c,p,d,m,g,v=e.vars,y=v.ease,T=v.startAt,b=v.immediateRender,w=v.lazy,k=v.onUpdate,x=v.onUpdateParams,D=v.callbackScope,A=v.runBackwards,C=v.yoyoEase,S=v.keyframes,M=v.autoRevert,R=e._dur,E=e._startAt,O=e._targets,P=e.parent,L=P&&"nested"===P.data?P.parent._targets:O,F="auto"===e._overwrite&&!n,I=e.timeline;if(I&&(!S||!y)&&(y="none"),e._ease=Fe(y,z.ease),e._yEase=C?Pe(Fe(!0===C?y:C,z.ease)):0,C&&e._yoyo&&!e._repeat&&(C=e._yEase,e._yEase=e._ease,e._ease=C),e._from=!I&&!!v.runBackwards,!I||S&&!v.stagger){if(m=(f=O[0]?yt(O[0]).harness:0)&&v[f.prop],i=zt(v,_t),E&&(It(E.render(-1,!0)),E._lazy=0),T)if(It(e._startAt=tr.set(O,Rt({data:"isStart",overwrite:!1,parent:P,immediateRender:!0,lazy:G(w),startAt:null,delay:0,onUpdate:k,onUpdateParams:x,callbackScope:D,stagger:0},T))),r<0&&!b&&!M&&e._startAt.render(-1,!0),b){if(r>0&&!M&&(e._startAt=0),R&&r<=0)return void(r&&(e._zTime=r))}else!1===M&&(e._startAt=0);else if(A&&R)if(E)!M&&(e._startAt=0);else if(r&&(b=!1),o=Rt({overwrite:!1,data:"isFromStart",lazy:b&&G(w),immediateRender:b,stagger:0,parent:P},i),m&&(o[f.prop]=m),It(e._startAt=tr.set(O,o)),r<0&&e._startAt.render(-1,!0),e._zTime=r,b){if(!r)return}else t(e._startAt,1e-8);for(e._pt=e._ptCache=0,w=R&&G(w)||w&&!R,a=0;a<O.length;a++){if(l=(h=O[a])._gsap||vt(O)[a]._gsap,e._ptLookup[a]=p={},ft[l.id]&<.length&&At(),d=L===O?a:L.indexOf(h),f&&!1!==(c=new f).init(h,m||i,e,d,L)&&(e._pt=u=new pr(e._pt,h,c.name,0,1,c.render,c,0,c.priority),c._props.forEach((function(t){p[t]=u})),c.priority&&(_=1)),!f||m)for(o in i)ct[o]&&(c=He(o,i,e,d,h,L))?c.priority&&(_=1):p[o]=u=$e.call(e,h,o,"get",i[o],d,L,0,v.stringFilter);e._op&&e._op[a]&&e.kill(h,e._op[a]),F&&e._pt&&(Ve=e,s.killTweensOf(h,p,e.globalTime(r)),g=!e.parent,Ve=0),e._pt&&w&&(ft[l.id]=1)}_&&cr(e),e._onInit&&e._onInit(e)}e._onUpdate=k,e._initted=(!e._op||e._pt)&&!g,S&&r<=0&&I.render(1e8,!0,!0)},Je=function(t,e,r,i){var n,s,a=e.ease||i||"power1.inOut";if(Y(e))s=r[t]||(r[t]=[]),e.forEach((function(t,r){return s.push({t:r/(e.length-1)*100,v:t,e:a})}));else for(n in e)s=r[n]||(r[n]=[]),"ease"===n||s.push({t:parseFloat(t),v:e[n],e:a})},Ke=function(t,e,r,i,n){return N(t)?t.call(e,r,i,n):B(t)&&~t.indexOf("random(")?de(t):t},Xe=gt+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Ze={};bt(Xe+",id,stagger,delay,duration,paused,scrollTrigger",(function(t){return Ze[t]=1}));var tr=function(t){function e(e,i,a,o){var u;"number"==typeof i&&(a.duration=i,i=a,a=null);var h,_,l,f,c,p,d,m,g=(u=t.call(this,o?i:Pt(i))||this).vars,v=g.duration,y=g.delay,T=g.immediateRender,b=g.stagger,w=g.overwrite,k=g.keyframes,x=g.defaults,D=g.scrollTrigger,A=g.yoyoEase,C=i.parent||s,S=(Y(e)||H(e)?j(e[0]):"length"in i)?[e]:ue(e);if(u._targets=S.length?vt(S):ot("GSAP target "+e+" not found. https://greensock.com",!O.nullTargetWarn)||[],u._ptLookup=[],u._overwrite=w,k||b||$(v)||$(y)){if(i=u.vars,(h=u.timeline=new Qe({data:"nested",defaults:x||{}})).kill(),h.parent=h._dp=r(u),h._start=0,b||$(v)||$(y)){if(f=S.length,d=b&&_e(b),V(b))for(c in b)~Xe.indexOf(c)&&(m||(m={}),m[c]=b[c]);for(_=0;_<f;_++)(l=zt(i,Ze)).stagger=0,A&&(l.yoyoEase=A),m&&Et(l,m),p=S[_],l.duration=+Ke(v,r(u),_,p,S),l.delay=(+Ke(y,r(u),_,p,S)||0)-u._delay,!b&&1===f&&l.delay&&(u._delay=y=l.delay,u._start+=y,l.delay=0),h.to(p,l,d?d(_,p,S):0),h._ease=Re.none;h.duration()?v=y=0:u.timeline=0}else if(k){Pt(Rt(h.vars.defaults,{ease:"none"})),h._ease=Fe(k.ease||i.ease||"none");var M,R,E,z=0;if(Y(k))k.forEach((function(t){return h.to(S,t,">")}));else{for(c in l={},k)"ease"===c||"easeEach"===c||Je(c,k[c],l,k.easeEach);for(c in l)for(M=l[c].sort((function(t,e){return t.t-e.t})),z=0,_=0;_<M.length;_++)(E={ease:(R=M[_]).e,duration:(R.t-(_?M[_-1].t:0))/100*v})[c]=R.v,h.to(S,E,z),z+=E.duration;h.duration()<v&&h.to({},{duration:v-h.duration()})}}v||u.duration(v=h.duration())}else u.timeline=0;return!0!==w||n||(Ve=r(u),s.killTweensOf(S),Ve=0),$t(C,r(u),a),i.reversed&&u.reverse(),i.paused&&u.paused(!0),(T||!v&&!k&&u._start===kt(C._time)&&G(T)&&Bt(r(u))&&"nested"!==C.data)&&(u._tTime=-1e-8,u.render(Math.max(0,-y))),D&&Ht(r(u),D),u}i(e,t);var a=e.prototype;return a.render=function(t,e,r){var i,n,s,a,o,u,h,_,l,f=this._time,c=this._tDur,p=this._dur,d=t>c-1e-8&&t>=0?c:t<1e-8?0:t;if(p){if(d!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=t<0){if(i=d,_=this.timeline,this._repeat){if(a=p+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*a+t,e,r);if(i=kt(d%a),d===c?(s=this._repeat,i=p):((s=~~(d/a))&&s===d/a&&(i=p,s--),i>p&&(i=p)),(u=this._yoyo&&1&s)&&(l=this._yEase,i=p-i),o=jt(this._tTime,a),i===f&&!r&&this._initted)return this._tTime=d,this;s!==o&&(_&&this._yEase&&Le(_,u),!this.vars.repeatRefresh||u||this._lock||(this._lock=r=1,this.render(kt(a*s),!0).invalidate()._lock=0))}if(!this._initted){if(Yt(this,t<0?t:i,r,e))return this._tTime=0,this;if(f!==this._time)return this;if(p!==this._dur)return this.render(t,e,r)}if(this._tTime=d,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=h=(l||this._ease)(i/p),this._from&&(this.ratio=h=1-h),i&&!f&&!e&&(ve(this,"onStart"),this._tTime!==d))return this;for(n=this._pt;n;)n.r(h,n.d),n=n._next;_&&_.render(t<0?t:!i&&u?-1e-8:_._dur*_._ease(i/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(t<0&&this._startAt&&this._startAt.render(t,!0,r),ve(this,"onUpdate")),this._repeat&&s!==o&&this.vars.onRepeat&&!e&&this.parent&&ve(this,"onRepeat"),d!==this._tDur&&d||this._tTime!==d||(t<0&&this._startAt&&!this._onUpdate&&this._startAt.render(t,!0,!0),(t||!p)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&It(this,1),e||t<0&&!f||!d&&!f||(ve(this,d===c?"onComplete":"onReverseComplete",!0),this._prom&&!(d<c&&this.timeScale()>0)&&this._prom()))}}else!function(t,e,r,i){var n,s,a,o=t.ratio,u=e<0||!e&&(!t._start&&Jt(t)&&(t._initted||!Kt(t))||(t._ts<0||t._dp._ts<0)&&!Kt(t))?0:1,h=t._rDelay,_=0;if(h&&t._repeat&&(_=ne(0,t._tDur,e),s=jt(_,h),t._yoyo&&1&s&&(u=1-u),s!==jt(t._tTime,h)&&(o=1-u,t.vars.repeatRefresh&&t._initted&&t.invalidate())),u!==o||i||1e-8===t._zTime||!e&&t._zTime){if(!t._initted&&Yt(t,e,i,r))return;for(a=t._zTime,t._zTime=e||(r?1e-8:0),r||(r=e&&!a),t.ratio=u,t._from&&(u=1-u),t._time=0,t._tTime=_,n=t._pt;n;)n.r(u,n.d),n=n._next;t._startAt&&e<0&&t._startAt.render(e,!0,!0),t._onUpdate&&!r&&ve(t,"onUpdate"),_&&t._repeat&&!r&&t.parent&&ve(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===u&&(u&&It(t,1),r||(ve(t,u?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},a.targets=function(){return this._targets},a.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),t.prototype.invalidate.call(this)},a.resetTo=function(t,e,r,i){f||Se.wake(),this._ts||this.play();var n=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Ye(this,n),function(t,e,r,i,n,s,a){var o,u,h,_=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!_)for(_=t._ptCache[e]=[],u=t._ptLookup,h=t._targets.length;h--;){if((o=u[h][e])&&o.d&&o.d._pt)for(o=o.d._pt;o&&o.p!==e;)o=o._next;if(!o)return Ge=1,t.vars[e]="+=0",Ye(t,a),Ge=0,1;_.push(o)}for(h=_.length;h--;)(o=_[h]).s=!i&&0!==i||n?o.s+(i||0)+s*o.c:i,o.c=r-o.s,o.e&&(o.e=wt(r)+se(o.e)),o.b&&(o.b=o.s+se(o.b))}(this,t,e,r,i,this._ease(n/this._dur),n)?this.resetTo(t,e,r,i):(Gt(this,0),this.parent||Lt(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},a.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?ye(this):this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Ve&&!0!==Ve.vars.overwrite)._first||ye(this),this.parent&&r!==this.timeline.totalDuration()&&Xt(this,this._dur*this.timeline._tDur/r,0,1),this}var i,n,s,a,o,u,h,_=this._targets,l=t?ue(t):_,f=this._ptLookup,c=this._pt;if((!e||"all"===e)&&function(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0}(_,l))return"all"===e&&(this._pt=0),ye(this);for(i=this._op=this._op||[],"all"!==e&&(B(e)&&(o={},bt(e,(function(t){return o[t]=1})),e=o),e=function(t,e){var r,i,n,s,a=t[0]?yt(t[0]).harness:0,o=a&&a.aliases;if(!o)return e;for(i in r=Et({},e),o)if(i in r)for(n=(s=o[i].split(",")).length;n--;)r[s[n]]=r[i];return r}(_,e)),h=_.length;h--;)if(~l.indexOf(_[h]))for(o in n=f[h],"all"===e?(i[h]=e,a=n,s={}):(s=i[h]=i[h]||{},a=e),a)(u=n&&n[o])&&("kill"in u.d&&!0!==u.d.kill(o)||Ft(this,u,"_pt"),delete n[o]),"all"!==s&&(s[o]=1);return this._initted&&!this._pt&&c&&ye(this),this},e.to=function(t,r){return new e(t,r,arguments[2])},e.from=function(t,e){return re(1,arguments)},e.delayedCall=function(t,r,i,n){return new e(r,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:r,onReverseComplete:r,onCompleteParams:i,onReverseCompleteParams:i,callbackScope:n})},e.fromTo=function(t,e,r){return re(2,arguments)},e.set=function(t,r){return r.duration=0,r.repeatDelay||(r.repeat=0),new e(t,r)},e.killTweensOf=function(t,e,r){return s.killTweensOf(t,e,r)},e}(je);Rt(tr.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),bt("staggerTo,staggerFrom,staggerFromTo",(function(t){tr[t]=function(){var e=new Qe,r=ae.call(arguments,0);return r.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,r)}}));var er=function(t,e,r){return t[e]=r},rr=function(t,e,r){return t[e](r)},ir=function(t,e,r,i){return t[e](i.fp,r)},nr=function(t,e,r){return t.setAttribute(e,r)},sr=function(t,e){return N(t[e])?rr:Q(t[e])&&t.setAttribute?nr:er},ar=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},or=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},ur=function(t,e){var r=e._pt,i="";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},hr=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},_r=function(t,e,r,i){for(var n,s=this._pt;s;)n=s._next,s.p===i&&s.modifier(t,e,r),s=n},lr=function(t){for(var e,r,i=this._pt;i;)r=i._next,i.p===t&&!i.op||i.op===t?Ft(this,i,"_pt"):i.dep||(e=1),i=r;return!e},fr=function(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)},cr=function(t){for(var e,r,i,n,s=t._pt;s;){for(e=s._next,r=i;r&&r.pr>s.pr;)r=r._next;(s._prev=r?r._prev:n)?s._prev._next=s:i=s,(s._next=r)?r._prev=s:n=s,s=e}t._pt=i},pr=function(){function t(t,e,r,i,n,s,a,o,u){this.t=e,this.s=i,this.c=n,this.p=r,this.r=s||ar,this.d=a||this,this.set=o||er,this.pr=u||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,r){this.mSet=this.mSet||this.set,this.set=fr,this.m=t,this.mt=r,this.tween=e},t}();bt(gt+"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(t){return _t[t]=1})),it.TweenMax=it.TweenLite=tr,it.TimelineLite=it.TimelineMax=Qe,s=new Qe({sortChildren:!1,defaults:z,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),O.stringFilter=function(t){var e,r=t.join(" ");if(Ae.lastIndex=0,Ae.test(r))return e=Ce.test(r),t[1]=De(t[1],e),t[0]=De(t[0],e,xe(t[1])),!0};var dr={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach((function(t){return Te(t)}))},timeline:function(t){return new Qe(t)},getTweensOf:function(t,e){return s.getTweensOf(t,e)},getProperty:function(t,e,r,i){B(t)&&(t=ue(t)[0]);var n=yt(t||{}).get,s=r?Mt:St;return"native"===r&&(r=""),t?e?s((ct[e]&&ct[e].get||n)(t,e,r,i)):function(e,r,i){return s((ct[e]&&ct[e].get||n)(t,e,r,i))}:t},quickSetter:function(t,e,r){if((t=ue(t)).length>1){var i=t.map((function(t){return vr.quickSetter(t,e,r)})),n=i.length;return function(t){for(var e=n;e--;)i[e](t)}}t=t[0]||{};var s=ct[e],a=yt(t),o=a.harness&&(a.harness.aliases||{})[e]||e,u=s?function(e){var i=new s;l._pt=0,i.init(t,r?e+r:e,l,0,[t]),i.render(1,i),l._pt&&hr(1,l)}:a.set(t,o);return s?u:function(e){return u(t,o,r?e+r:e,a,1)}},quickTo:function(t,e,r){var i,n=vr.to(t,Et(((i={})[e]="+=0.1",i.paused=!0,i),r||{})),s=function(t,r,i){return n.resetTo(e,t,r,i)};return s.tween=n,s},isTweening:function(t){return s.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Fe(t.ease,z.ease)),Ot(z,t||{})},config:function(t){return Ot(O,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,i=t.plugins,n=t.defaults,s=t.extendTimeline;(i||"").split(",").forEach((function(t){return t&&!ct[t]&&!it[t]&&ot(e+" effect requires "+t+" plugin.")})),pt[e]=function(t,e,i){return r(ue(t),Rt(e||{},n),i)},s&&(Qe.prototype[e]=function(t,r,i){return this.add(pt[e](t,V(r)?r:(i=r)&&{},this),i)})},registerEase:function(t,e){Re[t]=Fe(e)},parseEase:function(t,e){return arguments.length?Fe(t,e):Re},getById:function(t){return s.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var r,i,n=new Qe(t);for(n.smoothChildTiming=G(t.smoothChildTiming),s.remove(n),n._dp=0,n._time=n._tTime=s._time,r=s._first;r;)i=r._next,!e&&!r._dur&&r instanceof tr&&r.vars.onComplete===r._targets[0]||$t(n,r,r._start-r._delay),r=i;return $t(s,n,0),n},utils:{wrap:function t(e,r,i){var n=r-e;return Y(e)?pe(e,t(0,e.length),r):ie(i,(function(t){return(n+(t-e)%n)%n+e}))},wrapYoyo:function t(e,r,i){var n=r-e,s=2*n;return Y(e)?pe(e,t(0,e.length-1),r):ie(i,(function(t){return e+((t=(s+(t-e)%s)%s||0)>n?s-t:t)}))},distribute:_e,random:ce,snap:fe,normalize:function(t,e,r){return me(t,e,0,1,r)},getUnit:se,clamp:function(t,e,r){return ie(r,(function(r){return ne(t,e,r)}))},splitColor:ke,toArray:ue,selector:function(t){return t=ue(t)[0]||ot("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return ue(e,r.querySelectorAll?r:r===t?ot("Invalid scope")||u.createElement("div"):t)}},mapRange:me,pipe:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return e.reduce((function(t,e){return e(t)}),t)}},unitize:function(t,e){return function(r){return t(parseFloat(r))+(e||se(r))}},interpolate:function t(e,r,i,n){var s=isNaN(e+r)?0:function(t){return(1-t)*e+t*r};if(!s){var a,o,u,h,_,l=B(e),f={};if(!0===i&&(n=1)&&(i=null),l)e={p:e},r={p:r};else if(Y(e)&&!Y(r)){for(u=[],h=e.length,_=h-2,o=1;o<h;o++)u.push(t(e[o-1],e[o]));h--,s=function(t){t*=h;var e=Math.min(_,~~t);return u[e](t-e)},i=r}else n||(e=Et(Y(e)?[]:{},e));if(!u){for(a in r)$e.call(f,e,a,"get",r[a]);s=function(t){return hr(t,f)||(l?e.p:e)}}}return ie(i,s)},shuffle:he},install:st,effects:pt,ticker:Se,updateRoot:Qe.updateRoot,plugins:ct,globalTimeline:s,core:{PropTween:pr,globals:ut,Tween:tr,Timeline:Qe,Animation:je,getCache:yt,_removeLinkedListItem:Ft,suppressOverwrites:function(t){return n=t}}};bt("to,from,fromTo,delayedCall,set,killTweensOf",(function(t){return dr[t]=tr[t]})),Se.add(Qe.updateRoot),l=dr.to({},{duration:0});var mr=function(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r},gr=function(t,e){return{name:t,rawVars:1,init:function(t,r,i){i._onInit=function(t){var i,n;if(B(r)&&(i={},bt(r,(function(t){return i[t]=1})),r=i),e){for(n in i={},r)i[n]=e(r[n]);r=i}!function(t,e){var r,i,n,s=t._targets;for(r in e)for(i=s.length;i--;)(n=t._ptLookup[i][r])&&(n=n.d)&&(n._pt&&(n=mr(n,r)),n&&n.modifier&&n.modifier(e[r],t,s[i],r))}(t,r)}}}},vr=dr.registerPlugin({name:"attr",init:function(t,e,r,i,n){var s,a;for(s in e)(a=this.add(t,"setAttribute",(t.getAttribute(s)||0)+"",e[s],i,n,0,0,s))&&(a.op=s),this._props.push(s)}},{name:"endArray",init:function(t,e){for(var r=e.length;r--;)this.add(t,r,t[r]||0,e[r])}},gr("roundProps",le),gr("modifiers"),gr("snap",fe))||dr;tr.version=Qe.version=vr.version="3.10.4",h=1,W()&&Me();Re.Power0,Re.Power1,Re.Power2,Re.Power3,Re.Power4,Re.Linear,Re.Quad,Re.Cubic,Re.Quart,Re.Quint,Re.Strong,Re.Elastic,Re.Back,Re.SteppedEase,Re.Bounce,Re.Sine,Re.Expo,Re.Circ;const yr=document.querySelector(".lightbulb"),Tr=document.querySelector(".cord"),br=document.querySelector(".astronaut");function wr(t){const e=new Qe({onStart:()=>{yr.classList.contains("lightbulb--active")?function(){const t=new Qe,e=br.contentDocument.documentElement,r=e.querySelectorAll("path"),i=e.querySelector(".fix-that-smile-plz");t.set(br,{opacity:1}),t.set(i,{rotation:180,transformOrigin:"center center"}),t.staggerFromTo(r,.5,{opacity:0},{opacity:1},.1),t.to(i,.5,{rotation:0})}():br.style.opacity=0}});e.to(t,.2,{y:20},"0"),e.to(t,.2,{y:0})}function kr(){yr&&Tr&&Tr.addEventListener("click",(()=>{yr.classList.toggle("lightbulb--active"),wr(Tr)}))}function xr(){yr&&Tr&&(yr.classList.remove("lightbulb--active"),Tr.removeEventListener("click",undefined))}const Dr=document.querySelectorAll(".scroll-section__stop"),Ar=t=>{Dr.forEach((t=>t.classList.remove("section--active"))),t.classList.add("section--active")},Cr=document.querySelector(".background"),Sr=t=>{const r=t.parentNode;if(!r)return console.error("Something went wrong with the section",t);const i=[...r.children].indexOf(t);Cr.className=`background background--${i}`;const n=t.getAttribute("data-modifier");if(Ar(t),"cid"===n)e.start()};if("IntersectionObserver"in window){const t=new IntersectionObserver((t=>{t.forEach((t=>{t.intersectionRatio>=1&&t.target&&Sr(t.target)}))}),{root:null,rootMargin:"0px",threshold:1});document.querySelectorAll(".section").forEach((e=>t.observe(e)))}
//# sourceMappingURL=index.1dc77c29.js.map