z-flux-react 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import{jsx as t}from"react/jsx-runtime";import e,{useRef as r,useState as n,useEffect as i,useLayoutEffect as s,Fragment as o}from"react";function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
1
+ import{jsxs as t,jsx as e}from"react/jsx-runtime";import r,{useRef as n,useState as i,useEffect as s,useLayoutEffect as a,Fragment as o}from"react";import{countNumbers as l,overlay_text_animations as u,getLayerWidth as c,randomizeArray as f,findScrollingElement as h,build_extend_animation as d,getProgressionData as p,animation_list as g}from"z-flux-utils";function m(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
2
2
  /*!
3
3
  * GSAP 3.15.0
4
4
  * https://gsap.com
@@ -6,7 +6,7 @@ import{jsx as t}from"react/jsx-runtime";import e,{useRef as r,useState as n,useE
6
6
  * @license Copyright 2008-2026, GreenSock. All rights reserved.
7
7
  * Subject to the terms at https://gsap.com/standard-license
8
8
  * @author: Jack Doyle, jack@greensock.com
9
- */var u,c,f,h,d,p,g,m,_,v,y,x={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},b={duration:.5,overwrite:!1,delay:0},w=1e8,T=1e-8,k=2*Math.PI,C=k/4,O=0,E=Math.sqrt,S=Math.cos,M=Math.sin,A=function(t){return"string"==typeof t},P=function(t){return"function"==typeof t},R=function(t){return"number"==typeof t},D=function(t){return void 0===t},z=function(t){return"object"==typeof t},F=function(t){return!1!==t},I=function(){return"undefined"!=typeof window},N=function(t){return P(t)||A(t)},B="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},L=Array.isArray,Y=/random\([^)]+\)/g,X=/,\s*/g,j=/(?:-?\.?\d|\.)+/gi,q=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,H=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,W=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,U=/[+-]=-?[.\d]+/,V=/[^,'"\[\]\s]+/gi,G=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,$={},Q={},Z=function(t){return(Q=Et(t,$))&&Er},K=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},J=function(t,e){return!e&&console.warn(t)},tt=function(t,e){return t&&($[t]=e)&&Q&&(Q[t]=e)||$},et=function(){return 0},rt={suppressEvents:!0,isStart:!0,kill:!1},nt={suppressEvents:!0,kill:!1},it={suppressEvents:!0},st={},ot=[],at={},lt={},ut={},ct=30,ft=[],ht="",dt=function(t){var e,r,n=t[0];if(z(n)||P(n)||(t=[t]),!(e=(n._gsap||{}).harness)){for(r=ft.length;r--&&!ft[r].targetTest(n););e=ft[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Xe(t[r],e)))||t.splice(r,1);return t},pt=function(t){return t._gsap||dt(se(t))[0]._gsap},gt=function(t,e,r){return(r=t[e])&&P(r)?t[e]():D(r)&&t.getAttribute&&t.getAttribute(e)||r},mt=function(t,e){return(t=t.split(",")).forEach(e)||t},_t=function(t){return Math.round(1e5*t)/1e5||0},vt=function(t){return Math.round(1e7*t)/1e7||0},yt=function(t,e){var r=e.charAt(0),n=parseFloat(e.substr(2));return t=parseFloat(t),"+"===r?t+n:"-"===r?t-n:"*"===r?t*n:t/n},xt=function(t,e){for(var r=e.length,n=0;t.indexOf(e[n])<0&&++n<r;);return n<r},bt=function(){var t,e,r=ot.length,n=ot.slice(0);for(at={},ot.length=0,t=0;t<r;t++)(e=n[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)},wt=function(t){return!!(t._initted||t._startAt||t.add)},Tt=function(t,e,r,n){ot.length&&!c&&bt(),t.render(e,r,n||!!(c&&e<0&&wt(t))),ot.length&&!c&&bt()},kt=function(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(V).length<2?e:A(t)?t.trim():t},Ct=function(t){return t},Ot=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},St=function t(e,r){for(var n in r)"__proto__"!==n&&"constructor"!==n&&"prototype"!==n&&(e[n]=z(r[n])?t(e[n]||(e[n]={}),r[n]):r[n]);return e},Mt=function(t,e){var r,n={};for(r in t)r in e||(n[r]=t[r]);return n},At=function(t){var e,r=t.parent||h,n=t.keyframes?(e=L(t.keyframes),function(t,r){for(var n in r)n in t||"duration"===n&&e||"ease"===n||(t[n]=r[n])}):Ot;if(F(t.inherit))for(;r;)n(t,r.vars.defaults),r=r.parent||r._dp;return t},Pt=function(t,e,r,n,i){void 0===r&&(r="_first"),void 0===n&&(n="_last");var s,o=t[n];if(i)for(s=e[i];o&&o[i]>s;)o=o._prev;return o?(e._next=o._next,o._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[n]=e,e._prev=o,e.parent=e._dp=t,e},Rt=function(t,e,r,n){void 0===r&&(r="_first"),void 0===n&&(n="_last");var i=e._prev,s=e._next;i?i._next=s:t[r]===e&&(t[r]=s),s?s._prev=i:t[n]===e&&(t[n]=i),e._next=e._prev=e.parent=null},Dt=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},zt=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},Ft=function(t,e,r,n){return t._startAt&&(c?t._startAt.revert(nt):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,n))},It=function t(e){return!e||e._ts&&t(e.parent)},Nt=function(t){return t._repeat?Bt(t._tTime,t=t.duration()+t._rDelay)*t:0},Bt=function(t,e){var r=Math.floor(t=vt(t/e));return t&&r===t?r-1:r},Lt=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Yt=function(t){return t._end=vt(t._start+(t._tDur/Math.abs(t._ts||t._rts||T)||0))},Xt=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=vt(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Yt(t),r._dirty||zt(r,t)),t},jt=function(t,e){var r;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(r=Lt(t.rawTime(),e),(!e._dur||te(0,e.totalDuration(),r)-e._tTime>T)&&e.render(r,!0)),zt(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}},qt=function(t,e,r,n){return e.parent&&Dt(e),e._start=vt((R(r)?r:r||t!==h?Zt(t,r,e):t._time)+e._delay),e._end=vt(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Pt(t,e,"_first","_last",t._sort?"_start":0),Vt(e)||(t._recent=e),n||jt(t,e),t._ts<0&&Xt(t,t._tTime),t},Ht=function(t,e){return($.ScrollTrigger||K("scrollTrigger",e))&&$.ScrollTrigger.create(e,t)},Wt=function(t,e,r,n,i){return $e(t,e,i),t._initted?!r&&t._pt&&!c&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&_!==Me.frame?(ot.push(t),t._lazy=[i,n],1):void 0:1},Ut=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},Vt=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},Gt=function(t,e,r,n){var i=t._repeat,s=vt(e)||0,o=t._tTime/t._tDur;return o&&!n&&(t._time*=s/t._dur),t._dur=s,t._tDur=i?i<0?1e10:vt(s*(i+1)+t._rDelay*i):s,o>0&&!n&&Xt(t,t._tTime=t._tDur*o),t.parent&&Yt(t),r||zt(t.parent,t),t},$t=function(t){return t instanceof qe?zt(t):Gt(t,t._dur)},Qt={_start:0,endTime:et,totalDuration:et},Zt=function t(e,r,n){var i,s,o,a=e.labels,l=e._recent||Qt,u=e.duration()>=w?l.endTime(!1):e._dur;return A(r)&&(isNaN(r)||r in a)?(s=r.charAt(0),o="%"===r.substr(-1),i=r.indexOf("="),"<"===s||">"===s?(i>=0&&(r=r.replace(/=/,"")),("<"===s?l._start:l.endTime(l._repeat>=0))+(parseFloat(r.substr(1))||0)*(o?(i<0?l:n).totalDuration()/100:1)):i<0?(r in a||(a[r]=u),a[r]):(s=parseFloat(r.charAt(i-1)+r.substr(i+1)),o&&n&&(s=s/100*(L(n)?n[0]:n).totalDuration()),i>1?t(e,r.substr(0,i-1),n)+s:u+s)):null==r?u:+r},Kt=function(t,e,r){var n,i,s=R(e[1]),o=(s?2:1)+(t<2?0:1),a=e[o];if(s&&(a.duration=e[1]),a.parent=r,t){for(n=a,i=r;i&&!("immediateRender"in n);)n=i.vars.defaults||{},i=F(i.vars.inherit)&&i.parent;a.immediateRender=F(n.immediateRender),t<2?a.runBackwards=1:a.startAt=e[o-1]}return new tr(e[0],a,e[o+1])},Jt=function(t,e){return t||0===t?e(t):e},te=function(t,e,r){return r<t?t:r>e?e:r},ee=function(t,e){return A(t)&&(e=G.exec(t))?e[1]:""},re=[].slice,ne=function(t,e){return t&&z(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&z(t[0]))&&!t.nodeType&&t!==d},ie=function(t,e,r){return void 0===r&&(r=[]),t.forEach(function(t){var n;return A(t)&&!e||ne(t,1)?(n=r).push.apply(n,se(t)):r.push(t)})||r},se=function(t,e,r){return f&&!e&&f.selector?f.selector(t):!A(t)||r||!p&&Ae()?L(t)?ie(t,r):ne(t)?re.call(t,0):t?[t]:[]:re.call((e||g).querySelectorAll(t),0)},oe=function(t){return t=se(t)[0]||J("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return se(e,r.querySelectorAll?r:r===t?J("Invalid scope")||g.createElement("div"):t)}},ae=function(t){return t.sort(function(){return.5-Math.random()})},le=function(t){if(P(t))return t;var e=z(t)?t:{each:t},r=Ie(e.ease),n=e.from||0,i=parseFloat(e.base)||0,s={},o=n>0&&n<1,a=isNaN(n)||o,l=e.axis,u=n,c=n;return A(n)?u=c={center:.5,edges:.5,end:1}[n]||0:!o&&a&&(u=n[0],c=n[1]),function(t,o,f){var h,d,p,g,m,_,v,y,x,b=(f||e).length,T=s[b];if(!T){if(!(x="auto"===e.grid?0:(e.grid||[1,w])[1])){for(v=-1e8;v<(v=f[x++].getBoundingClientRect().left)&&x<b;);x<b&&x--}for(T=s[b]=[],h=a?Math.min(x,b)*u-.5:n%x,d=x===w?0:a?b*c/x-.5:n/x|0,v=0,y=w,_=0;_<b;_++)p=_%x-h,g=d-(_/x|0),T[_]=m=l?Math.abs("y"===l?g:p):E(p*p+g*g),m>v&&(v=m),m<y&&(y=m);"random"===n&&ae(T),T.max=v-y,T.min=y,T.v=b=(parseFloat(e.amount)||parseFloat(e.each)*(x>b?b-1:l?"y"===l?b/x:x:Math.max(x,b/x))||0)*("edges"===n?-1:1),T.b=b<0?i-b:i,T.u=ee(e.amount||e.each)||0,r=r&&b<0?Fe(r):r}return b=(T[t]-T.min)/T.max||0,vt(T.b+(r?r(b):b)*T.v)+T.u}},ue=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var n=vt(Math.round(parseFloat(r)/t)*t*e);return(n-n%1)/e+(R(r)?0:ee(r))}},ce=function(t,e){var r,n,i=L(t);return!i&&z(t)&&(r=i=t.radius||w,t.values?(t=se(t.values),(n=!R(t[0]))&&(r*=r)):t=ue(t.increment)),Jt(e,i?P(t)?function(e){return n=t(e),Math.abs(n-e)<=r?n:e}:function(e){for(var i,s,o=parseFloat(n?e.x:e),a=parseFloat(n?e.y:0),l=w,u=0,c=t.length;c--;)(i=n?(i=t[c].x-o)*i+(s=t[c].y-a)*s:Math.abs(t[c]-o))<l&&(l=i,u=c);return u=!r||l<=r?t[u]:e,n||u===e||R(e)?u:u+ee(e)}:ue(t))},fe=function(t,e,r,n){return Jt(L(t)?!e:!0===r?!!(r=0):!n,function(){return L(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(n=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+.99*r))/r)*r*n)/n})},he=function(t,e,r){return Jt(r,function(r){return t[~~e(r)]})},de=function(t){return t.replace(Y,function(t){var e=t.indexOf("[")+1,r=t.substring(e||7,e?t.indexOf("]"):t.length-1).split(X);return fe(e?r:+r[0],e?0:+r[1],+r[2]||1e-5)})},pe=function(t,e,r,n,i){var s=e-t,o=n-r;return Jt(i,function(e){return r+((e-t)/s*o||0)})},ge=function(t,e,r){var n,i,s,o=t.labels,a=w;for(n in o)(i=o[n]-e)<0==!!r&&i&&a>(i=Math.abs(i))&&(s=n,a=i);return s},me=function(t,e,r){var n,i,s,o=t.vars,a=o[e],l=f,u=t._ctx;if(a)return n=o[e+"Params"],i=o.callbackScope||t,r&&ot.length&&bt(),u&&(f=u),s=n?a.apply(i,n):a.call(i),f=l,s},_e=function(t){return Dt(t),t.scrollTrigger&&t.scrollTrigger.kill(!!c),t.progress()<1&&me(t,"onInterrupt"),t},ve=[],ye=function(t){if(t)if(t=!t.name&&t.default||t,I()||t.headless){var e=t.name,r=P(t),n=e&&!r&&t.init?function(){this._props=[]}:t,i={init:et,render:ur,add:Ve,kill:fr,modifier:cr,rawVars:0},s={targetTest:0,get:0,getSetter:sr,aliases:{},register:0};if(Ae(),t!==n){if(lt[e])return;Ot(n,Ot(Mt(t,i),s)),Et(n.prototype,Et(i,Mt(t,s))),lt[n.prop=e]=n,t.targetTest&&(ft.push(n),st[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}tt(e,n),t.register&&t.register(Er,n,pr)}else ve.push(t)},xe=255,be={aqua:[0,xe,xe],lime:[0,xe,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,xe],navy:[0,0,128],white:[xe,xe,xe],olive:[128,128,0],yellow:[xe,xe,0],orange:[xe,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[xe,0,0],pink:[xe,192,203],cyan:[0,xe,xe],transparent:[xe,xe,xe,0]},we=function(t,e,r){return(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)*xe+.5|0},Te=function(t,e,r){var n,i,s,o,a,l,u,c,f,h,d=t?R(t)?[t>>16,t>>8&xe,t&xe]:0:be.black;if(!d){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),be[t])d=be[t];else if("#"===t.charAt(0)){if(t.length<6&&(n=t.charAt(1),i=t.charAt(2),s=t.charAt(3),t="#"+n+n+i+i+s+s+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(d=parseInt(t.substr(1,6),16))>>16,d>>8&xe,d&xe,parseInt(t.substr(7),16)/255];d=[(t=parseInt(t.substr(1),16))>>16,t>>8&xe,t&xe]}else if("hsl"===t.substr(0,3))if(d=h=t.match(j),e){if(~t.indexOf("="))return d=t.match(q),r&&d.length<4&&(d[3]=1),d}else o=+d[0]%360/360,a=+d[1]/100,n=2*(l=+d[2]/100)-(i=l<=.5?l*(a+1):l+a-l*a),d.length>3&&(d[3]*=1),d[0]=we(o+1/3,n,i),d[1]=we(o,n,i),d[2]=we(o-1/3,n,i);else d=t.match(j)||be.transparent;d=d.map(Number)}return e&&!h&&(n=d[0]/xe,i=d[1]/xe,s=d[2]/xe,l=((u=Math.max(n,i,s))+(c=Math.min(n,i,s)))/2,u===c?o=a=0:(f=u-c,a=l>.5?f/(2-u-c):f/(u+c),o=u===n?(i-s)/f+(i<s?6:0):u===i?(s-n)/f+2:(n-i)/f+4,o*=60),d[0]=~~(o+.5),d[1]=~~(100*a+.5),d[2]=~~(100*l+.5)),r&&d.length<4&&(d[3]=1),d},ke=function(t){var e=[],r=[],n=-1;return t.split(Oe).forEach(function(t){var i=t.match(H)||[];e.push.apply(e,i),r.push(n+=i.length+1)}),e.c=r,e},Ce=function(t,e,r){var n,i,s,o,a="",l=(t+a).match(Oe),u=e?"hsla(":"rgba(",c=0;if(!l)return t;if(l=l.map(function(t){return(t=Te(t,e,1))&&u+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"}),r&&(s=ke(t),(n=r.c).join(a)!==s.c.join(a)))for(o=(i=t.replace(Oe,"1").split(H)).length-1;c<o;c++)a+=i[c]+(~n.indexOf(c)?l.shift()||u+"0,0,0,0)":(s.length?s:l.length?l:r).shift());if(!i)for(o=(i=t.split(Oe)).length-1;c<o;c++)a+=i[c]+l[c];return a+i[o]},Oe=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")}(),Ee=/hsl[a]?\(/,Se=function(t){var e,r=t.join(" ");if(Oe.lastIndex=0,Oe.test(r))return e=Ee.test(r),t[1]=Ce(t[1],e),t[0]=Ce(t[0],e,ke(t[1])),!0},Me=function(){var t,e,r,n,i,s,o=Date.now,a=500,l=33,u=o(),c=u,f=1e3/240,h=f,_=[],v=function r(d){var p,g,m,v,y=o()-c,x=!0===d;if((y>a||y<0)&&(u+=y-l),((p=(m=(c+=y)-u)-h)>0||x)&&(v=++n.frame,i=m-1e3*n.time,n.time=m/=1e3,h+=p+(p>=f?4:f-p),g=1),x||(t=e(r)),g)for(s=0;s<_.length;s++)_[s](m,i,v,d)};return n={time:0,frame:0,tick:function(){v(!0)},deltaRatio:function(t){return i/(1e3/(t||60))},wake:function(){m&&(!p&&I()&&(d=p=window,g=d.document||{},$.gsap=Er,(d.gsapVersions||(d.gsapVersions=[])).push(Er.version),Z(Q||d.GreenSockGlobals||!d.gsap&&d||{}),ve.forEach(ye)),r="undefined"!=typeof requestAnimationFrame&&requestAnimationFrame,t&&n.sleep(),e=r||function(t){return setTimeout(t,h-1e3*n.time+1|0)},y=1,v(2))},sleep:function(){(r?cancelAnimationFrame:clearTimeout)(t),y=0,e=et},lagSmoothing:function(t,e){a=t||1/0,l=Math.min(e||33,a)},fps:function(t){f=1e3/(t||240),h=1e3*n.time+f},add:function(t,e,r){var i=e?function(e,r,s,o){t(e,r,s,o),n.remove(i)}:t;return n.remove(t),_[r?"unshift":"push"](i),Ae(),i},remove:function(t,e){~(e=_.indexOf(t))&&_.splice(e,1)&&s>=e&&s--},_listeners:_}}(),Ae=function(){return!y&&Me.wake()},Pe={},Re=/^[\d.\-M][\d.\-,\s]/,De=/["']/g,ze=function(t){for(var e,r,n,i={},s=t.substr(1,t.length-3).split(":"),o=s[0],a=1,l=s.length;a<l;a++)r=s[a],e=a!==l-1?r.lastIndexOf(","):r.length,n=r.substr(0,e),i[o]=isNaN(n)?n.replace(De,"").trim():+n,o=r.substr(e+1).trim();return i},Fe=function(t){return function(e){return 1-t(1-e)}},Ie=function(t,e){return t&&(P(t)?t:Pe[t]||function(t){var e,r,n,i,s=(t+"").split("("),o=Pe[s[0]];return o&&s.length>1&&o.config?o.config.apply(null,~t.indexOf("{")?[ze(s[1])]:(e=t,r=e.indexOf("(")+1,n=e.indexOf(")"),i=e.indexOf("(",r),e.substring(r,~i&&i<n?e.indexOf(")",n+1):n)).split(",").map(kt)):Pe._CE&&Re.test(t)?Pe._CE("",t):o}(t))||e},Ne=function(t,e,r,n){void 0===r&&(r=function(t){return 1-e(1-t)}),void 0===n&&(n=function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var i,s={easeIn:e,easeOut:r,easeInOut:n};return mt(t,function(t){for(var e in Pe[t]=$[t]=s,Pe[i=t.toLowerCase()]=r,s)Pe[i+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=Pe[t+"."+e]=s[e]}),s},Be=function(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t(2*(e-.5))/2}},Le=function t(e,r,n){var i=r>=1?r:1,s=(n||(e?.3:.45))/(r<1?r:1),o=s/k*(Math.asin(1/i)||0),a=function(t){return 1===t?1:i*Math.pow(2,-10*t)*M((t-o)*s)+1},l="out"===e?a:"in"===e?function(t){return 1-a(1-t)}:Be(a);return s=k/s,l.config=function(r,n){return t(e,r,n)},l},Ye=function t(e,r){void 0===r&&(r=1.70158);var n=function(t){return t?--t*t*((r+1)*t+r)+1:0},i="out"===e?n:"in"===e?function(t){return 1-n(1-t)}:Be(n);return i.config=function(r){return t(e,r)},i};mt("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var r=e<5?e+1:e;Ne(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})}),Pe.Linear.easeNone=Pe.none=Pe.Linear.easeIn,Ne("Elastic",Le("in"),Le("out"),Le()),function(t,e){var r=1/e,n=2*r,i=2.5*r,s=function(s){return s<r?t*s*s:s<n?t*Math.pow(s-1.5/e,2)+.75:s<i?t*(s-=2.25/e)*s+.9375:t*Math.pow(s-2.625/e,2)+.984375};Ne("Bounce",function(t){return 1-s(1-t)},s)}(7.5625,2.75),Ne("Expo",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)}),Ne("Circ",function(t){return-(E(1-t*t)-1)}),Ne("Sine",function(t){return 1===t?1:1-S(t*C)}),Ne("Back",Ye("in"),Ye("out"),Ye()),Pe.SteppedEase=Pe.steps=$.SteppedEase={config:function(t,e){void 0===t&&(t=1);var r=1/t,n=t+(e?0:1),i=e?1:0;return function(t){return((n*te(0,.99999999,t)|0)+i)*r}}},b.ease=Pe["quad.out"],mt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return ht+=t+","+t+"Params,"});var Xe=function(t,e){this.id=O++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:gt,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,Gt(this,+t.duration,1,1),this.data=t.data,f&&(this._ctx=f,f.data.push(this)),y||Me.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,Gt(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(Ae(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(Xt(this,t),!r._dp||r.parent||jt(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)&&qt(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===T||!this._initted&&this._dur&&t||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),Tt(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.rawTime()>=0&&this._initted?1:0},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.rawTime()>0?1:0},e.iteration=function(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?Bt(this._tTime,r)+1:1},e.timeScale=function(t,e){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var r=this.parent&&this._ts?Lt(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(te(-Math.abs(this._delay),this.totalDuration(),r),!1!==e),Yt(this),function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(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):(Ae(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==T&&(this._tTime-=T)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=vt(t);var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&qt(e,this,this._start-this._delay),this}return this._start},e.endTime=function(t){return this._start+(F(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?Lt(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=it);var e=c;return c=t,wt(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),c=e,this},e.globalTime=function(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):r},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,$t(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,$t(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(Zt(this,t),F(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,F(e)),this._dur||(this._zTime=-1e-8),this},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)-T))},e.eventCallback=function(t,e,r){var n=this.vars;return arguments.length>1?(e?(n[t]=e,r&&(n[t+"Params"]=r),"onUpdate"===t&&(this._onUpdate=e)):delete n[t],this):n[t]},e.then=function(t){var e=this,r=e._prom;return new Promise(function(n){var i=P(t)?t:Ct,s=function(){var t=e.then;e.then=null,r&&r(),P(i)&&(i=i(e))&&(i.then||i===e)&&(e.then=t),n(i),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?s():e._prom=s})},e.kill=function(){_e(this)},t}();Ot(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,r){var n;return void 0===e&&(e={}),(n=t.call(this,e)||this).labels={},n.smoothChildTiming=!!e.smoothChildTiming,n.autoRemoveChildren=!!e.autoRemoveChildren,n._sort=F(e.sortChildren),h&&qt(e.parent||h,a(n),r),e.reversed&&n.reverse(),e.paused&&n.paused(!0),e.scrollTrigger&&Ht(a(n),e.scrollTrigger),n}l(e,t);var r=e.prototype;return r.to=function(t,e,r){return Kt(0,arguments,this),this},r.from=function(t,e,r){return Kt(1,arguments,this),this},r.fromTo=function(t,e,r,n){return Kt(2,arguments,this),this},r.set=function(t,e,r){return e.duration=0,e.parent=this,At(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new tr(t,e,Zt(this,r),1),this},r.call=function(t,e,r){return qt(this,tr.delayedCall(0,t,e),r)},r.staggerTo=function(t,e,r,n,i,s,o){return r.duration=e,r.stagger=r.stagger||n,r.onComplete=s,r.onCompleteParams=o,r.parent=this,new tr(t,r,Zt(this,i)),this},r.staggerFrom=function(t,e,r,n,i,s,o){return r.runBackwards=1,At(r).immediateRender=F(r.immediateRender),this.staggerTo(t,e,r,n,i,s,o)},r.staggerFromTo=function(t,e,r,n,i,s,o,a){return n.startAt=r,At(n).immediateRender=F(n.immediateRender),this.staggerTo(t,e,n,i,s,o,a)},r.render=function(t,e,r){var n,i,s,o,a,l,u,f,d,p,g,m,_=this._time,v=this._dirty?this.totalDuration():this._tDur,y=this._dur,x=t<=0?0:vt(t),b=this._zTime<0!=t<0&&(this._initted||!y);if(this!==h&&x>v&&t>=0&&(x=v),x!==this._tTime||r||b){if(_!==this._time&&y&&(x+=this._time-_,t+=this._time-_),n=x,d=this._start,l=!(f=this._ts),b&&(y||(_=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(g=this._yoyo,a=y+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*a+t,e,r);if(n=vt(x%a),x===v?(o=this._repeat,n=y):((o=~~(p=vt(x/a)))&&o===p&&(n=y,o--),n>y&&(n=y)),p=Bt(this._tTime,a),!_&&this._tTime&&p!==o&&this._tTime-p*a-this._dur<=0&&(p=o),g&&1&o&&(n=y-n,m=1),o!==p&&!this._lock){var w=g&&1&p,k=w===(g&&1&o);if(o<p&&(w=!w),_=w?0:x%y?y:x,this._lock=1,this.render(_||(m?0:vt(o*a)),e,!y)._lock=0,this._tTime=x,!e&&this.parent&&me(this,"onRepeat"),this.vars.repeatRefresh&&!m&&(this.invalidate()._lock=1,p=o),_&&_!==this._time||l!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(y=this._dur,v=this._tDur,k&&(this._lock=2,_=w?y:-1e-4,this.render(_,!0),this.vars.repeatRefresh&&!m&&this.invalidate()),this._lock=0,!this._ts&&!l)return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(u=function(t,e,r){var n;if(r>e)for(n=t._first;n&&n._start<=r;){if("isPause"===n.data&&n._start>e)return n;n=n._next}else for(n=t._last;n&&n._start>=r;){if("isPause"===n.data&&n._start<e)return n;n=n._prev}}(this,vt(_),vt(n)),u&&(x-=n-(n=u._start))),this._tTime=x,this._time=n,this._act=!!f,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,_=0),!_&&x&&y&&!e&&!p&&(me(this,"onStart"),this._tTime!==x))return this;if(n>=_&&t>=0)for(i=this._first;i;){if(s=i._next,(i._act||n>=i._start)&&i._ts&&u!==i){if(i.parent!==this)return this.render(t,e,r);if(i.render(i._ts>0?(n-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(n-i._start)*i._ts,e,r),n!==this._time||!this._ts&&!l){u=0,s&&(x+=this._zTime=-1e-8);break}}i=s}else{i=this._last;for(var C=t<0?t:n;i;){if(s=i._prev,(i._act||C<=i._end)&&i._ts&&u!==i){if(i.parent!==this)return this.render(t,e,r);if(i.render(i._ts>0?(C-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(C-i._start)*i._ts,e,r||c&&wt(i)),n!==this._time||!this._ts&&!l){u=0,s&&(x+=this._zTime=C?-1e-8:T);break}}i=s}}if(u&&!e&&(this.pause(),u.render(n>=_?0:-1e-8)._zTime=n>=_?1:-1,this._ts))return this._start=d,Yt(this),this.render(t,e,r);this._onUpdate&&!e&&me(this,"onUpdate",!0),(x===v&&this._tTime>=this.totalDuration()||!x&&_)&&(d!==this._start&&Math.abs(f)===Math.abs(this._ts)||this._lock||((t||!y)&&(x===v&&this._ts>0||!x&&this._ts<0)&&Dt(this,1),e||t<0&&!_||!x&&!_&&v||(me(this,x===v&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(x<v&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(t,e){var r=this;if(R(e)||(e=Zt(this,e,t)),!(t instanceof je)){if(L(t))return t.forEach(function(t){return r.add(t,e)}),this;if(A(t))return this.addLabel(t,e);if(!P(t))return this;t=tr.delayedCall(0,t)}return this!==t?qt(this,t,e):this},r.getChildren=function(t,e,r,n){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===n&&(n=-1e8);for(var i=[],s=this._first;s;)s._start>=n&&(s instanceof tr?e&&i.push(s):(r&&i.push(s),t&&i.push.apply(i,s.getChildren(!0,e,r)))),s=s._next;return i},r.getById=function(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},r.remove=function(t){return A(t)?this.removeLabel(t):P(t)?this.killTweensOf(t):(t.parent===this&&Rt(this,t),t===this._recent&&(this._recent=this._last),zt(this))},r.totalTime=function(e,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=vt(Me.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},r.addLabel=function(t,e){return this.labels[t]=Zt(this,e),this},r.removeLabel=function(t){return delete this.labels[t],this},r.addPause=function(t,e,r){var n=tr.delayedCall(0,e||et,r);return n.data="isPause",this._hasPause=1,qt(this,n,Zt(this,t))},r.removePause=function(t){var e=this._first;for(t=Zt(this,t);e;)e._start===t&&"isPause"===e.data&&Dt(e),e=e._next},r.killTweensOf=function(t,e,r){for(var n=this.getTweensOf(t,r),i=n.length;i--;)He!==n[i]&&n[i].kill(t,e);return this},r.getTweensOf=function(t,e){for(var r,n=[],i=se(t),s=this._first,o=R(e);s;)s instanceof tr?xt(s._targets,i)&&(o?(!He||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())&&n.push(s):(r=s.getTweensOf(i,e)).length&&n.push.apply(n,r),s=s._next;return n},r.tweenTo=function(t,e){e=e||{};var r,n=this,i=Zt(n,t),s=e,o=s.startAt,a=s.onStart,l=s.onStartParams,u=s.immediateRender,c=tr.to(n,Ot({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:e.duration||Math.abs((i-(o&&"time"in o?o.time:n._time))/n.timeScale())||T,onStart:function(){if(n.pause(),!r){var t=e.duration||Math.abs((i-(o&&"time"in o?o.time:n._time))/n.timeScale());c._dur!==t&&Gt(c,t,0,1).render(c._time,!0,!0),r=1}a&&a.apply(c,l||[])}},e));return u?c.render(0):c},r.tweenFromTo=function(t,e,r){return this.tweenTo(e,Ot({startAt:{time:Zt(this,t)}},r))},r.recent=function(){return this._recent},r.nextLabel=function(t){return void 0===t&&(t=this._time),ge(this,Zt(this,t))},r.previousLabel=function(t){return void 0===t&&(t=this._time),ge(this,Zt(this,t),1)},r.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+T)},r.shiftChildren=function(t,e,r){void 0===r&&(r=0);var n,i=this._first,s=this.labels;for(t=vt(t);i;)i._start>=r&&(i._start+=t,i._end+=t),i=i._next;if(e)for(n in s)s[n]>=r&&(s[n]+=t);return zt(this)},r.invalidate=function(e){var r=this._first;for(this._lock=0;r;)r.invalidate(e),r=r._next;return t.prototype.invalidate.call(this,e)},r.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={}),zt(this)},r.totalDuration=function(t){var e,r,n,i=0,s=this,o=s._last,a=w;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-t:t));if(s._dirty){for(n=s.parent;o;)e=o._prev,o._dirty&&o.totalDuration(),(r=o._start)>a&&s._sort&&o._ts&&!s._lock?(s._lock=1,qt(s,o,r-o._delay,1)._lock=0):a=r,r<0&&o._ts&&(i-=r,(!n&&!s._dp||n&&n.smoothChildTiming)&&(s._start+=vt(r/s._ts),s._time-=r,s._tTime-=r),s.shiftChildren(-r,!1,-1/0),a=0),o._end>i&&o._ts&&(i=o._end),o=e;Gt(s,s===h&&s._time>i?s._time:i,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(t){if(h._ts&&(Tt(h,Lt(t,h)),_=Me.frame),Me.frame>=ct){ct+=x.autoSleep||120;var e=h._first;if((!e||!e._ts)&&x.autoSleep&&Me._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Me.sleep()}}},e}(je);Ot(qe.prototype,{_lock:0,_hasPause:0,_forcing:0});var He,We,Ue=function(t,e,r,n,i,s,o){var a,l,u,c,f,h,d,p,g=new pr(this._pt,t,e,0,1,lr,null,i),m=0,_=0;for(g.b=r,g.e=n,r+="",(d=~(n+="").indexOf("random("))&&(n=de(n)),s&&(s(p=[r,n],t,e),r=p[0],n=p[1]),l=r.match(W)||[];a=W.exec(n);)c=a[0],f=n.substring(m,a.index),u?u=(u+1)%5:"rgba("===f.substr(-5)&&(u=1),c!==l[_++]&&(h=parseFloat(l[_-1])||0,g._pt={_next:g._pt,p:f||1===_?f:",",s:h,c:"="===c.charAt(1)?yt(h,c)-h:parseFloat(c)-h,m:u&&u<4?Math.round:0},m=W.lastIndex);return g.c=m<n.length?n.substring(m,n.length):"",g.fp=o,(U.test(n)||d)&&(g.e=0),this._pt=g,g},Ve=function(t,e,r,n,i,s,o,a,l,u){P(n)&&(n=n(i||0,t,s));var c,f=t[e],h="get"!==r?r:P(f)?l?t[e.indexOf("set")||!P(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():f,d=P(f)?l?nr:rr:er;if(A(n)&&(~n.indexOf("random(")&&(n=de(n)),"="===n.charAt(1)&&((c=yt(h,n)+(ee(h)||0))||0===c)&&(n=c)),!u||h!==n||We)return isNaN(h*n)||""===n?(!f&&!(e in t)&&K(e,n),Ue.call(this,t,e,h,n,d,a||x.stringFilter,l)):(c=new pr(this._pt,t,e,+h||0,n-(h||0),"boolean"==typeof f?ar:or,0,d),l&&(c.fp=l),o&&c.modifier(o,this,t),this._pt=c)},Ge=function(t,e,r,n,i,s){var o,a,l,u;if(lt[t]&&!1!==(o=new lt[t]).init(i,o.rawVars?e[t]:function(t,e,r,n,i){if(P(t)&&(t=Ze(t,i,e,r,n)),!z(t)||t.style&&t.nodeType||L(t)||B(t))return A(t)?Ze(t,i,e,r,n):t;var s,o={};for(s in t)o[s]=Ze(t[s],i,e,r,n);return o}(e[t],n,i,s,r),r,n,s)&&(r._pt=a=new pr(r._pt,i,t,0,1,o.render,o,0,o.priority),r!==v))for(l=r._ptLookup[r._targets.indexOf(i)],u=o._props.length;u--;)l[o._props[u]]=a;return o},$e=function t(e,r,n){var i,s,o,a,l,f,d,p,g,m,_,v,y,x=e.vars,k=x.ease,C=x.startAt,O=x.immediateRender,E=x.lazy,S=x.onUpdate,M=x.runBackwards,A=x.yoyoEase,P=x.keyframes,R=x.autoRevert,D=e._dur,z=e._startAt,I=e._targets,N=e.parent,B=N&&"nested"===N.data?N.vars.targets:I,L="auto"===e._overwrite&&!u,Y=e.timeline,X=x.easeReverse||A;if(Y&&(!P||!k)&&(k="none"),e._ease=Ie(k,b.ease),e._rEase=X&&(Ie(X)||e._ease),e._from=!Y&&!!x.runBackwards,e._from&&(e.ratio=1),!Y||P&&!x.stagger){if(v=(p=I[0]?pt(I[0]).harness:0)&&x[p.prop],i=Mt(x,st),z&&(z._zTime<0&&z.progress(1),r<0&&M&&O&&!R?z.render(-1,!0):z.revert(M&&D?nt:rt),z._lazy=0),C){if(Dt(e._startAt=tr.set(I,Ot({data:"isStart",overwrite:!1,parent:N,immediateRender:!0,lazy:!z&&F(E),startAt:null,delay:0,onUpdate:S&&function(){return me(e,"onUpdate")},stagger:0},C))),e._startAt._dp=0,e._startAt._sat=e,r<0&&(c||!O&&!R)&&e._startAt.revert(nt),O&&D&&r<=0&&n<=0)return void(r&&(e._zTime=r))}else if(M&&D&&!z)if(r&&(O=!1),o=Ot({overwrite:!1,data:"isFromStart",lazy:O&&!z&&F(E),immediateRender:O,stagger:0,parent:N},i),v&&(o[p.prop]=v),Dt(e._startAt=tr.set(I,o)),e._startAt._dp=0,e._startAt._sat=e,r<0&&(c?e._startAt.revert(nt):e._startAt.render(-1,!0)),e._zTime=r,O){if(!r)return}else t(e._startAt,T,T);for(e._pt=e._ptCache=0,E=D&&F(E)||E&&!D,s=0;s<I.length;s++){if(d=(l=I[s])._gsap||dt(I)[s]._gsap,e._ptLookup[s]=m={},at[d.id]&&ot.length&&bt(),_=B===I?s:B.indexOf(l),p&&!1!==(g=new p).init(l,v||i,e,_,B)&&(e._pt=a=new pr(e._pt,l,g.name,0,1,g.render,g,0,g.priority),g._props.forEach(function(t){m[t]=a}),g.priority&&(f=1)),!p||v)for(o in i)lt[o]&&(g=Ge(o,i,e,_,l,B))?g.priority&&(f=1):m[o]=a=Ve.call(e,l,o,"get",i[o],_,B,0,x.stringFilter);e._op&&e._op[s]&&e.kill(l,e._op[s]),L&&e._pt&&(He=e,h.killTweensOf(l,m,e.globalTime(r)),y=!e.parent,He=0),e._pt&&E&&(at[d.id]=1)}f&&dr(e),e._onInit&&e._onInit(e)}e._onUpdate=S,e._initted=(!e._op||e._pt)&&!y,P&&r<=0&&Y.render(w,!0,!0)},Qe=function(t,e,r,n){var i,s,o=e.ease||n||"power1.inOut";if(L(e))s=r[t]||(r[t]=[]),e.forEach(function(t,r){return s.push({t:r/(e.length-1)*100,v:t,e:o})});else for(i in e)s=r[i]||(r[i]=[]),"ease"===i||s.push({t:parseFloat(t),v:e[i],e:o})},Ze=function(t,e,r,n,i){return P(t)?t.call(e,r,n,i):A(t)&&~t.indexOf("random(")?de(t):t},Ke=ht+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",Je={};mt(Ke+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return Je[t]=1});var tr=function(t){function e(e,r,n,i){var s;"number"==typeof r&&(n.duration=r,r=n,n=null);var o,l,c,f,d,p,g,m,_=(s=t.call(this,i?r:At(r))||this).vars,v=_.duration,y=_.delay,b=_.immediateRender,w=_.stagger,T=_.overwrite,k=_.keyframes,C=_.defaults,O=_.scrollTrigger,E=r.parent||h,S=(L(e)||B(e)?R(e[0]):"length"in r)?[e]:se(e);if(s._targets=S.length?dt(S):J("GSAP target "+e+" not found. https://gsap.com",!x.nullTargetWarn)||[],s._ptLookup=[],s._overwrite=T,k||w||N(v)||N(y)){var M=(r=s.vars).easeReverse||r.yoyoEase;if((o=s.timeline=new qe({data:"nested",defaults:C||{},targets:E&&"nested"===E.data?E.vars.targets:S})).kill(),o.parent=o._dp=a(s),o._start=0,w||N(v)||N(y)){if(f=S.length,g=w&&le(w),z(w))for(d in w)~Ke.indexOf(d)&&(m||(m={}),m[d]=w[d]);for(l=0;l<f;l++)(c=Mt(r,Je)).stagger=0,M&&(c.easeReverse=M),m&&Et(c,m),p=S[l],c.duration=+Ze(v,a(s),l,p,S),c.delay=(+Ze(y,a(s),l,p,S)||0)-s._delay,!w&&1===f&&c.delay&&(s._delay=y=c.delay,s._start+=y,c.delay=0),o.to(p,c,g?g(l,p,S):0),o._ease=Pe.none;o.duration()?v=y=0:s.timeline=0}else if(k){At(Ot(o.vars.defaults,{ease:"none"})),o._ease=Ie(k.ease||r.ease||"none");var A,P,D,I=0;if(L(k))k.forEach(function(t){return o.to(S,t,">")}),o.duration();else{for(d in c={},k)"ease"===d||"easeEach"===d||Qe(d,k[d],c,k.easeEach);for(d in c)for(A=c[d].sort(function(t,e){return t.t-e.t}),I=0,l=0;l<A.length;l++)(D={ease:(P=A[l]).e,duration:(P.t-(l?A[l-1].t:0))/100*v})[d]=P.v,o.to(S,D,I),I+=D.duration;o.duration()<v&&o.to({},{duration:v-o.duration()})}}v||s.duration(v=o.duration())}else s.timeline=0;return!0!==T||u||(He=a(s),h.killTweensOf(S),He=0),qt(E,a(s),n),r.reversed&&s.reverse(),r.paused&&s.paused(!0),(b||!v&&!k&&s._start===vt(E._time)&&F(b)&&It(a(s))&&"nested"!==E.data)&&(s._tTime=-1e-8,s.render(Math.max(0,-y)||0)),O&&Ht(a(s),O),s}l(e,t);var r=e.prototype;return r.render=function(t,e,r){var n,i,s,o,a,l,u,f,h=this._time,d=this._tDur,p=this._dur,g=t<0,m=t>d-T&&!g?d:t<T?0:t;if(p){if(m!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==g||this._lazy){if(n=m,f=this.timeline,this._repeat){if(o=p+this._rDelay,this._repeat<-1&&g)return this.totalTime(100*o+t,e,r);if(n=vt(m%o),m===d?(s=this._repeat,n=p):(s=~~(a=vt(m/o)))&&s===a?(n=p,s--):n>p&&(n=p),(l=this._yoyo&&1&s)&&(n=p-n),a=Bt(this._tTime,o),n===h&&!r&&this._initted&&s===a)return this._tTime=m,this;s!==a&&this.vars.repeatRefresh&&!l&&!this._lock&&n!==o&&this._initted&&(this._lock=r=1,this.render(vt(o*s),!0).invalidate()._lock=0)}if(!this._initted){if(Wt(this,g?t:n,r,e,m))return this._tTime=0,this;if(!(h===this._time||r&&this.vars.repeatRefresh&&s!==a))return this;if(p!==this._dur)return this.render(t,e,r)}if(this._rEase){var _=n<h;if(_!==this._inv){var v=_?h:p-h;this._inv=_,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=h,this._invRecip=v?(_?-1:1)/v:0,this._invScale=_?-this.ratio:1-this.ratio,this._invEase=_?this._rEase:this._ease}this.ratio=u=this._invRatio+this._invScale*this._invEase((n-this._invTime)*this._invRecip)}else this.ratio=u=this._ease(n/p);if(this._from&&(this.ratio=u=1-u),this._tTime=m,this._time=n,!this._act&&this._ts&&(this._act=1,this._lazy=0),!h&&m&&!e&&!a&&(me(this,"onStart"),this._tTime!==m))return this;for(i=this._pt;i;)i.r(u,i.d),i=i._next;f&&f.render(t<0?t:f._dur*f._ease(n/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(g&&Ft(this,t,0,r),me(this,"onUpdate")),this._repeat&&s!==a&&this.vars.onRepeat&&!e&&this.parent&&me(this,"onRepeat"),m!==this._tDur&&m||this._tTime!==m||(g&&!this._onUpdate&&Ft(this,t,0,!0),(t||!p)&&(m===this._tDur&&this._ts>0||!m&&this._ts<0)&&Dt(this,1),e||g&&!h||!(m||h||l)||(me(this,m===d?"onComplete":"onReverseComplete",!0),this._prom&&!(m<d&&this.timeScale()>0)&&this._prom()))}}else!function(t,e,r,n){var i,s,o,a=t.ratio,l=e<0||!e&&(!t._start&&Ut(t)&&(t._initted||!Vt(t))||(t._ts<0||t._dp._ts<0)&&!Vt(t))?0:1,u=t._rDelay,f=0;if(u&&t._repeat&&(f=te(0,t._tDur,e),s=Bt(f,u),t._yoyo&&1&s&&(l=1-l),s!==Bt(t._tTime,u)&&(a=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==a||c||n||t._zTime===T||!e&&t._zTime){if(!t._initted&&Wt(t,e,n,r,f))return;for(o=t._zTime,t._zTime=e||(r?T:0),r||(r=e&&!o),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=f,i=t._pt;i;)i.r(l,i.d),i=i._next;e<0&&Ft(t,e,0,!0),t._onUpdate&&!r&&me(t,"onUpdate"),f&&t._repeat&&!r&&t.parent&&me(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&Dt(t,1),r||c||(me(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},r.targets=function(){return this._targets},r.invalidate=function(e){return(!e||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(e),t.prototype.invalidate.call(this,e)},r.resetTo=function(t,e,r,n,i){y||Me.wake(),this._ts||this.play();var s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||$e(this,s),function(t,e,r,n,i,s,o,a){var l,u,c,f,h=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!h)for(h=t._ptCache[e]=[],c=t._ptLookup,f=t._targets.length;f--;){if((l=c[f][e])&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==e&&l.fp!==e;)l=l._next;if(!l)return We=1,t.vars[e]="+=0",$e(t,o),We=0,a?J(e+" not eligible for reset. Try splitting into individual properties"):1;h.push(l)}for(f=h.length;f--;)(l=(u=h[f])._pt||u).s=!n&&0!==n||i?l.s+(n||0)+s*l.c:n,l.c=r-l.s,u.e&&(u.e=_t(r)+ee(u.e)),u.b&&(u.b=l.s+ee(u.b))}(this,t,e,r,n,this._ease(s/this._dur),s,i)?this.resetTo(t,e,r,n,1):(Xt(this,0),this.parent||Pt(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?_e(this):this.scrollTrigger&&this.scrollTrigger.kill(!!c),this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,He&&!0!==He.vars.overwrite)._first||_e(this),this.parent&&r!==this.timeline.totalDuration()&&Gt(this,this._dur*this.timeline._tDur/r,0,1),this}var n,i,s,o,a,l,u,f=this._targets,h=t?se(t):f,d=this._ptLookup,p=this._pt;if((!e||"all"===e)&&function(t,e){for(var r=t.length,n=r===e.length;n&&r--&&t[r]===e[r];);return r<0}(f,h))return"all"===e&&(this._pt=0),_e(this);for(n=this._op=this._op||[],"all"!==e&&(A(e)&&(a={},mt(e,function(t){return a[t]=1}),e=a),e=function(t,e){var r,n,i,s,o=t[0]?pt(t[0]).harness:0,a=o&&o.aliases;if(!a)return e;for(n in r=Et({},e),a)if(n in r)for(i=(s=a[n].split(",")).length;i--;)r[s[i]]=r[n];return r}(f,e)),u=f.length;u--;)if(~h.indexOf(f[u]))for(a in i=d[u],"all"===e?(n[u]=e,o=i,s={}):(s=n[u]=n[u]||{},o=e),o)(l=i&&i[a])&&("kill"in l.d&&!0!==l.d.kill(a)||Rt(this,l,"_pt"),delete i[a]),"all"!==s&&(s[a]=1);return this._initted&&!this._pt&&p&&_e(this),this},e.to=function(t,r){return new e(t,r,arguments[2])},e.from=function(t,e){return Kt(1,arguments)},e.delayedCall=function(t,r,n,i){return new e(r,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:r,onReverseComplete:r,onCompleteParams:n,onReverseCompleteParams:n,callbackScope:i})},e.fromTo=function(t,e,r){return Kt(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 h.killTweensOf(t,e,r)},e}(je);Ot(tr.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),mt("staggerTo,staggerFrom,staggerFromTo",function(t){tr[t]=function(){var e=new qe,r=re.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)},nr=function(t,e,r,n){return t[e](n.fp,r)},ir=function(t,e,r){return t.setAttribute(e,r)},sr=function(t,e){return P(t[e])?rr:D(t[e])&&t.setAttribute?ir:er},or=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},ar=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},lr=function(t,e){var r=e._pt,n="";if(!t&&e.b)n=e.b;else if(1===t&&e.e)n=e.e;else{for(;r;)n=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+n,r=r._next;n+=e.c}e.set(e.t,e.p,n,e)},ur=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},cr=function(t,e,r,n){for(var i,s=this._pt;s;)i=s._next,s.p===n&&s.modifier(t,e,r),s=i},fr=function(t){for(var e,r,n=this._pt;n;)r=n._next,n.p===t&&!n.op||n.op===t?Rt(this,n,"_pt"):n.dep||(e=1),n=r;return!e},hr=function(t,e,r,n){n.mSet(t,e,n.m.call(n.tween,r,n.mt),n)},dr=function(t){for(var e,r,n,i,s=t._pt;s;){for(e=s._next,r=n;r&&r.pr>s.pr;)r=r._next;(s._prev=r?r._prev:i)?s._prev._next=s:n=s,(s._next=r)?r._prev=s:i=s,s=e}t._pt=n},pr=function(){function t(t,e,r,n,i,s,o,a,l){this.t=e,this.s=n,this.c=i,this.p=r,this.r=s||or,this.d=o||this,this.set=a||er,this.pr=l||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,r){this.mSet=this.mSet||this.set,this.set=hr,this.m=t,this.mt=r,this.tween=e},t}();mt(ht+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse",function(t){return st[t]=1}),$.TweenMax=$.TweenLite=tr,$.TimelineLite=$.TimelineMax=qe,h=new qe({sortChildren:!1,defaults:b,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),x.stringFilter=Se;var gr=[],mr={},_r=[],vr=0,yr=0,xr=function(t){return(mr[t]||_r).map(function(t){return t()})},br=function(){var t=Date.now(),e=[];t-vr>2&&(xr("matchMediaInit"),gr.forEach(function(t){var r,n,i,s,o=t.queries,a=t.conditions;for(n in o)(r=d.matchMedia(o[n]).matches)&&(i=1),r!==a[n]&&(a[n]=r,s=1);s&&(t.revert(),i&&e.push(t))}),xr("matchMediaRevert"),e.forEach(function(t){return t.onMatch(t,function(e){return t.add(null,e)})}),vr=t,xr("matchMedia"))},wr=function(){function t(t,e){this.selector=e&&oe(e),this.data=[],this._r=[],this.isReverted=!1,this.id=yr++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,r){P(t)&&(r=e,e=t,t=P);var n=this,i=function(){var t,i=f,s=n.selector;return i&&i!==n&&i.data.push(n),r&&(n.selector=oe(r)),f=n,t=e.apply(n,arguments),P(t)&&n._r.push(t),f=i,n.selector=s,n.isReverted=!1,t};return n.last=i,t===P?i(n,function(t){return n.add(null,t)}):t?n[t]=i:i},e.ignore=function(t){var e=f;f=null,t(this),f=e},e.getTweens=function(){var e=[];return this.data.forEach(function(r){return r instanceof t?e.push.apply(e,r.getTweens()):r instanceof tr&&!(r.parent&&"nested"===r.parent.data)&&e.push(r)}),e},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,e){var r=this;if(t?function(){for(var e,n=r.getTweens(),i=r.data.length;i--;)"isFlip"===(e=r.data[i]).data&&(e.revert(),e.getChildren(!0,!0,!1).forEach(function(t){return n.splice(n.indexOf(t),1)}));for(n.map(function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t:t}}).sort(function(t,e){return e.g-t.g||-1/0}).forEach(function(e){return e.t.revert(t)}),i=r.data.length;i--;)(e=r.data[i])instanceof qe?"nested"!==e.data&&(e.scrollTrigger&&e.scrollTrigger.revert(),e.kill()):!(e instanceof tr)&&e.revert&&e.revert(t);r._r.forEach(function(e){return e(t,r)}),r.isReverted=!0}():this.data.forEach(function(t){return t.kill&&t.kill()}),this.clear(),e)for(var n=gr.length;n--;)gr[n].id===this.id&&gr.splice(n,1)},e.revert=function(t){this.kill(t||{})},t}(),Tr=function(){function t(t){this.contexts=[],this.scope=t,f&&f.data.push(this)}var e=t.prototype;return e.add=function(t,e,r){z(t)||(t={matches:t});var n,i,s,o=new wr(0,r||this.scope),a=o.conditions={};for(i in f&&!o.selector&&(o.selector=f.selector),this.contexts.push(o),e=o.add("onMatch",e),o.queries=t,t)"all"===i?s=1:(n=d.matchMedia(t[i]))&&(gr.indexOf(o)<0&&gr.push(o),(a[i]=n.matches)&&(s=1),n.addListener?n.addListener(br):n.addEventListener("change",br));return s&&e(o,function(t){return o.add(null,t)}),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach(function(e){return e.kill(t,!0)})},t}(),kr={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 ye(t)})},timeline:function(t){return new qe(t)},getTweensOf:function(t,e){return h.getTweensOf(t,e)},getProperty:function(t,e,r,n){A(t)&&(t=se(t)[0]);var i=pt(t||{}).get,s=r?Ct:kt;return"native"===r&&(r=""),t?e?s((lt[e]&&lt[e].get||i)(t,e,r,n)):function(e,r,n){return s((lt[e]&&lt[e].get||i)(t,e,r,n))}:t},quickSetter:function(t,e,r){if((t=se(t)).length>1){var n=t.map(function(t){return Er.quickSetter(t,e,r)}),i=n.length;return function(t){for(var e=i;e--;)n[e](t)}}t=t[0]||{};var s=lt[e],o=pt(t),a=o.harness&&(o.harness.aliases||{})[e]||e,l=s?function(e){var n=new s;v._pt=0,n.init(t,r?e+r:e,v,0,[t]),n.render(1,n),v._pt&&ur(1,v)}:o.set(t,a);return s?l:function(e){return l(t,a,r?e+r:e,o,1)}},quickTo:function(t,e,r){var n,i=Er.to(t,Ot(((n={})[e]="+=0.1",n.paused=!0,n.stagger=0,n),r||{})),s=function(t,r,n){return i.resetTo(e,t,r,n)};return s.tween=i,s},isTweening:function(t){return h.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Ie(t.ease,b.ease)),St(b,t||{})},config:function(t){return St(x,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,n=t.plugins,i=t.defaults,s=t.extendTimeline;(n||"").split(",").forEach(function(t){return t&&!lt[t]&&!$[t]&&J(e+" effect requires "+t+" plugin.")}),ut[e]=function(t,e,n){return r(se(t),Ot(e||{},i),n)},s&&(qe.prototype[e]=function(t,r,n){return this.add(ut[e](t,z(r)?r:(n=r)&&{},this),n)})},registerEase:function(t,e){Pe[t]=Ie(e)},parseEase:function(t,e){return arguments.length?Ie(t,e):Pe},getById:function(t){return h.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var r,n,i=new qe(t);for(i.smoothChildTiming=F(t.smoothChildTiming),h.remove(i),i._dp=0,i._time=i._tTime=h._time,r=h._first;r;)n=r._next,!e&&!r._dur&&r instanceof tr&&r.vars.onComplete===r._targets[0]||qt(i,r,r._start-r._delay),r=n;return qt(h,i,0),i},context:function(t,e){return t?new wr(t,e):f},matchMedia:function(t){return new Tr(t)},matchMediaRefresh:function(){return gr.forEach(function(t){var e,r,n=t.conditions;for(r in n)n[r]&&(n[r]=!1,e=1);e&&t.revert()})||br()},addEventListener:function(t,e){var r=mr[t]||(mr[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=mr[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},utils:{wrap:function t(e,r,n){var i=r-e;return L(e)?he(e,t(0,e.length),r):Jt(n,function(t){return(i+(t-e)%i)%i+e})},wrapYoyo:function t(e,r,n){var i=r-e,s=2*i;return L(e)?he(e,t(0,e.length-1),r):Jt(n,function(t){return e+((t=(s+(t-e)%s)%s||0)>i?s-t:t)})},distribute:le,random:fe,snap:ce,normalize:function(t,e,r){return pe(t,e,0,1,r)},getUnit:ee,clamp:function(t,e,r){return Jt(r,function(r){return te(t,e,r)})},splitColor:Te,toArray:se,selector:oe,mapRange:pe,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||ee(r))}},interpolate:function t(e,r,n,i){var s=isNaN(e+r)?0:function(t){return(1-t)*e+t*r};if(!s){var o,a,l,u,c,f=A(e),h={};if(!0===n&&(i=1)&&(n=null),f)e={p:e},r={p:r};else if(L(e)&&!L(r)){for(l=[],u=e.length,c=u-2,a=1;a<u;a++)l.push(t(e[a-1],e[a]));u--,s=function(t){t*=u;var e=Math.min(c,~~t);return l[e](t-e)},n=r}else i||(e=Et(L(e)?[]:{},e));if(!l){for(o in r)Ve.call(h,e,o,"get",r[o]);s=function(t){return ur(t,h)||(f?e.p:e)}}}return Jt(n,s)},shuffle:ae},install:Z,effects:ut,ticker:Me,updateRoot:qe.updateRoot,plugins:lt,globalTimeline:h,core:{PropTween:pr,globals:tt,Tween:tr,Timeline:qe,Animation:je,getCache:pt,_removeLinkedListItem:Rt,reverting:function(){return c},context:function(t){return t&&f&&(f.data.push(t),t._ctx=f),f},suppressOverwrites:function(t){return u=t}}};mt("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return kr[t]=tr[t]}),Me.add(qe.updateRoot),v=kr.to({},{duration:0});var Cr=function(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r},Or=function(t,e){return{name:t,headless:1,rawVars:1,init:function(t,r,n){n._onInit=function(t){var n,i;if(A(r)&&(n={},mt(r,function(t){return n[t]=1}),r=n),e){for(i in n={},r)n[i]=e(r[i]);r=n}!function(t,e){var r,n,i,s=t._targets;for(r in e)for(n=s.length;n--;)(i=t._ptLookup[n][r])&&(i=i.d)&&(i._pt&&(i=Cr(i,r)),i&&i.modifier&&i.modifier(e[r],t,s[n],r))}(t,r)}}}},Er=kr.registerPlugin({name:"attr",init:function(t,e,r,n,i){var s,o,a;for(s in this.tween=r,e)a=t.getAttribute(s)||"",(o=this.add(t,"setAttribute",(a||0)+"",e[s],n,i,0,0,s)).op=s,o.b=a,this._props.push(s)},render:function(t,e){for(var r=e._pt;r;)c?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next}},{name:"endArray",headless:1,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)}},Or("roundProps",ue),Or("modifiers"),Or("snap",ce))||kr;tr.version=qe.version=Er.version="3.15.0",m=1,I()&&Ae(),Pe.Power0,Pe.Power1,Pe.Power2,Pe.Power3,Pe.Power4,Pe.Linear,Pe.Quad,Pe.Cubic,Pe.Quart,Pe.Quint,Pe.Strong,Pe.Elastic,Pe.Back,Pe.SteppedEase,Pe.Bounce,Pe.Sine,Pe.Expo,Pe.Circ;
9
+ */var v,y,x,b,w,T,O,C,k,E,S,M,A,P,R,D,z,F={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},N={duration:.5,overwrite:!1,delay:0},I=1e8,B=1e-8,L=2*Math.PI,j=L/4,Y=0,X=Math.sqrt,W=Math.cos,q=Math.sin,H=function(t){return"string"==typeof t},U=function(t){return"function"==typeof t},V=function(t){return"number"==typeof t},G=function(t){return void 0===t},$=function(t){return"object"==typeof t},Z=function(t){return!1!==t},Q=function(){return"undefined"!=typeof window},K=function(t){return U(t)||H(t)},J="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},tt=Array.isArray,et=/random\([^)]+\)/g,rt=/,\s*/g,nt=/(?:-?\.?\d|\.)+/gi,it=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,st=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,at=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,ot=/[+-]=-?[.\d]+/,lt=/[^,'"\[\]\s]+/gi,ut=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ct={},ft={},ht=function(t){return(ft=Xt(t,ct))&&Xr},dt=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},pt=function(t,e){return!e&&console.warn(t)},gt=function(t,e){return t&&(ct[t]=e)&&ft&&(ft[t]=e)||ct},mt=function(){return 0},_t={suppressEvents:!0,isStart:!0,kill:!1},vt={suppressEvents:!0,kill:!1},yt={suppressEvents:!0},xt={},bt=[],wt={},Tt={},Ot={},Ct=30,kt=[],Et="",St=function(t){var e,r,n=t[0];if($(n)||U(n)||(t=[t]),!(e=(n._gsap||{}).harness)){for(r=kt.length;r--&&!kt[r].targetTest(n););e=kt[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new rr(t[r],e)))||t.splice(r,1);return t},Mt=function(t){return t._gsap||St(xe(t))[0]._gsap},At=function(t,e,r){return(r=t[e])&&U(r)?t[e]():G(r)&&t.getAttribute&&t.getAttribute(e)||r},Pt=function(t,e){return(t=t.split(",")).forEach(e)||t},Rt=function(t){return Math.round(1e5*t)/1e5||0},Dt=function(t){return Math.round(1e7*t)/1e7||0},zt=function(t,e){var r=e.charAt(0),n=parseFloat(e.substr(2));return t=parseFloat(t),"+"===r?t+n:"-"===r?t-n:"*"===r?t*n:t/n},Ft=function(t,e){for(var r=e.length,n=0;t.indexOf(e[n])<0&&++n<r;);return n<r},Nt=function(){var t,e,r=bt.length,n=bt.slice(0);for(wt={},bt.length=0,t=0;t<r;t++)(e=n[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)},It=function(t){return!!(t._initted||t._startAt||t.add)},Bt=function(t,e,r,n){bt.length&&!y&&Nt(),t.render(e,r,n||!!(y&&e<0&&It(t))),bt.length&&!y&&Nt()},Lt=function(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(lt).length<2?e:H(t)?t.trim():t},jt=function(t){return t},Yt=function(t,e){for(var r in e)r in t||(t[r]=e[r]);return t},Xt=function(t,e){for(var r in e)t[r]=e[r];return t},Wt=function t(e,r){for(var n in r)"__proto__"!==n&&"constructor"!==n&&"prototype"!==n&&(e[n]=$(r[n])?t(e[n]||(e[n]={}),r[n]):r[n]);return e},qt=function(t,e){var r,n={};for(r in t)r in e||(n[r]=t[r]);return n},Ht=function(t){var e,r=t.parent||b,n=t.keyframes?(e=tt(t.keyframes),function(t,r){for(var n in r)n in t||"duration"===n&&e||"ease"===n||(t[n]=r[n])}):Yt;if(Z(t.inherit))for(;r;)n(t,r.vars.defaults),r=r.parent||r._dp;return t},Ut=function(t,e,r,n,i){void 0===r&&(r="_first"),void 0===n&&(n="_last");var s,a=t[n];if(i)for(s=e[i];a&&a[i]>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[n]=e,e._prev=a,e.parent=e._dp=t,e},Vt=function(t,e,r,n){void 0===r&&(r="_first"),void 0===n&&(n="_last");var i=e._prev,s=e._next;i?i._next=s:t[r]===e&&(t[r]=s),s?s._prev=i:t[n]===e&&(t[n]=i),e._next=e._prev=e.parent=null},Gt=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},$t=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},Zt=function(t,e,r,n){return t._startAt&&(y?t._startAt.revert(vt):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,n))},Qt=function t(e){return!e||e._ts&&t(e.parent)},Kt=function(t){return t._repeat?Jt(t._tTime,t=t.duration()+t._rDelay)*t:0},Jt=function(t,e){var r=Math.floor(t=Dt(t/e));return t&&r===t?r-1:r},te=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},ee=function(t){return t._end=Dt(t._start+(t._tDur/Math.abs(t._ts||t._rts||B)||0))},re=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=Dt(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),ee(t),r._dirty||$t(r,t)),t},ne=function(t,e){var r;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(r=te(t.rawTime(),e),(!e._dur||ge(0,e.totalDuration(),r)-e._tTime>B)&&e.render(r,!0)),$t(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}},ie=function(t,e,r,n){return e.parent&&Gt(e),e._start=Dt((V(r)?r:r||t!==b?he(t,r,e):t._time)+e._delay),e._end=Dt(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Ut(t,e,"_first","_last",t._sort?"_start":0),le(e)||(t._recent=e),n||ne(t,e),t._ts<0&&re(t,t._tTime),t},se=function(t,e){return(ct.ScrollTrigger||dt("scrollTrigger",e))&&ct.ScrollTrigger.create(e,t)},ae=function(t,e,r,n,i){return cr(t,e,i),t._initted?!r&&t._pt&&!y&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&k!==qe.frame?(bt.push(t),t._lazy=[i,n],1):void 0:1},oe=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},le=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},ue=function(t,e,r,n){var i=t._repeat,s=Dt(e)||0,a=t._tTime/t._tDur;return a&&!n&&(t._time*=s/t._dur),t._dur=s,t._tDur=i?i<0?1e10:Dt(s*(i+1)+t._rDelay*i):s,a>0&&!n&&re(t,t._tTime=t._tDur*a),t.parent&&ee(t),r||$t(t.parent,t),t},ce=function(t){return t instanceof ir?$t(t):ue(t,t._dur)},fe={_start:0,endTime:mt,totalDuration:mt},he=function t(e,r,n){var i,s,a,o=e.labels,l=e._recent||fe,u=e.duration()>=I?l.endTime(!1):e._dur;return H(r)&&(isNaN(r)||r in o)?(s=r.charAt(0),a="%"===r.substr(-1),i=r.indexOf("="),"<"===s||">"===s?(i>=0&&(r=r.replace(/=/,"")),("<"===s?l._start:l.endTime(l._repeat>=0))+(parseFloat(r.substr(1))||0)*(a?(i<0?l:n).totalDuration()/100:1)):i<0?(r in o||(o[r]=u),o[r]):(s=parseFloat(r.charAt(i-1)+r.substr(i+1)),a&&n&&(s=s/100*(tt(n)?n[0]:n).totalDuration()),i>1?t(e,r.substr(0,i-1),n)+s:u+s)):null==r?u:+r},de=function(t,e,r){var n,i,s=V(e[1]),a=(s?2:1)+(t<2?0:1),o=e[a];if(s&&(o.duration=e[1]),o.parent=r,t){for(n=o,i=r;i&&!("immediateRender"in n);)n=i.vars.defaults||{},i=Z(i.vars.inherit)&&i.parent;o.immediateRender=Z(n.immediateRender),t<2?o.runBackwards=1:o.startAt=e[a-1]}return new gr(e[0],o,e[a+1])},pe=function(t,e){return t||0===t?e(t):e},ge=function(t,e,r){return r<t?t:r>e?e:r},me=function(t,e){return H(t)&&(e=ut.exec(t))?e[1]:""},_e=[].slice,ve=function(t,e){return t&&$(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&$(t[0]))&&!t.nodeType&&t!==w},ye=function(t,e,r){return void 0===r&&(r=[]),t.forEach(function(t){var n;return H(t)&&!e||ve(t,1)?(n=r).push.apply(n,xe(t)):r.push(t)})||r},xe=function(t,e,r){return x&&!e&&x.selector?x.selector(t):!H(t)||r||!T&&He()?tt(t)?ye(t,r):ve(t)?_e.call(t,0):t?[t]:[]:_e.call((e||O).querySelectorAll(t),0)},be=function(t){return t=xe(t)[0]||pt("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return xe(e,r.querySelectorAll?r:r===t?pt("Invalid scope")||O.createElement("div"):t)}},we=function(t){return t.sort(function(){return.5-Math.random()})},Te=function(t){if(U(t))return t;var e=$(t)?t:{each:t},r=Qe(e.ease),n=e.from||0,i=parseFloat(e.base)||0,s={},a=n>0&&n<1,o=isNaN(n)||a,l=e.axis,u=n,c=n;return H(n)?u=c={center:.5,edges:.5,end:1}[n]||0:!a&&o&&(u=n[0],c=n[1]),function(t,a,f){var h,d,p,g,m,_,v,y,x,b=(f||e).length,w=s[b];if(!w){if(!(x="auto"===e.grid?0:(e.grid||[1,I])[1])){for(v=-1e8;v<(v=f[x++].getBoundingClientRect().left)&&x<b;);x<b&&x--}for(w=s[b]=[],h=o?Math.min(x,b)*u-.5:n%x,d=x===I?0:o?b*c/x-.5:n/x|0,v=0,y=I,_=0;_<b;_++)p=_%x-h,g=d-(_/x|0),w[_]=m=l?Math.abs("y"===l?g:p):X(p*p+g*g),m>v&&(v=m),m<y&&(y=m);"random"===n&&we(w),w.max=v-y,w.min=y,w.v=b=(parseFloat(e.amount)||parseFloat(e.each)*(x>b?b-1:l?"y"===l?b/x:x:Math.max(x,b/x))||0)*("edges"===n?-1:1),w.b=b<0?i-b:i,w.u=me(e.amount||e.each)||0,r=r&&b<0?Ze(r):r}return b=(w[t]-w.min)/w.max||0,Dt(w.b+(r?r(b):b)*w.v)+w.u}},Oe=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var n=Dt(Math.round(parseFloat(r)/t)*t*e);return(n-n%1)/e+(V(r)?0:me(r))}},Ce=function(t,e){var r,n,i=tt(t);return!i&&$(t)&&(r=i=t.radius||I,t.values?(t=xe(t.values),(n=!V(t[0]))&&(r*=r)):t=Oe(t.increment)),pe(e,i?U(t)?function(e){return n=t(e),Math.abs(n-e)<=r?n:e}:function(e){for(var i,s,a=parseFloat(n?e.x:e),o=parseFloat(n?e.y:0),l=I,u=0,c=t.length;c--;)(i=n?(i=t[c].x-a)*i+(s=t[c].y-o)*s:Math.abs(t[c]-a))<l&&(l=i,u=c);return u=!r||l<=r?t[u]:e,n||u===e||V(e)?u:u+me(e)}:Oe(t))},ke=function(t,e,r,n){return pe(tt(t)?!e:!0===r?!!(r=0):!n,function(){return tt(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(n=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+.99*r))/r)*r*n)/n})},Ee=function(t,e,r){return pe(r,function(r){return t[~~e(r)]})},Se=function(t){return t.replace(et,function(t){var e=t.indexOf("[")+1,r=t.substring(e||7,e?t.indexOf("]"):t.length-1).split(rt);return ke(e?r:+r[0],e?0:+r[1],+r[2]||1e-5)})},Me=function(t,e,r,n,i){var s=e-t,a=n-r;return pe(i,function(e){return r+((e-t)/s*a||0)})},Ae=function(t,e,r){var n,i,s,a=t.labels,o=I;for(n in a)(i=a[n]-e)<0==!!r&&i&&o>(i=Math.abs(i))&&(s=n,o=i);return s},Pe=function(t,e,r){var n,i,s,a=t.vars,o=a[e],l=x,u=t._ctx;if(o)return n=a[e+"Params"],i=a.callbackScope||t,r&&bt.length&&Nt(),u&&(x=u),s=n?o.apply(i,n):o.call(i),x=l,s},Re=function(t){return Gt(t),t.scrollTrigger&&t.scrollTrigger.kill(!!y),t.progress()<1&&Pe(t,"onInterrupt"),t},De=[],ze=function(t){if(t)if(t=!t.name&&t.default||t,Q()||t.headless){var e=t.name,r=U(t),n=e&&!r&&t.init?function(){this._props=[]}:t,i={init:mt,render:Or,add:lr,kill:kr,modifier:Cr,rawVars:0},s={targetTest:0,get:0,getSetter:xr,aliases:{},register:0};if(He(),t!==n){if(Tt[e])return;Yt(n,Yt(qt(t,i),s)),Xt(n.prototype,Xt(i,qt(t,s))),Tt[n.prop=e]=n,t.targetTest&&(kt.push(n),xt[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}gt(e,n),t.register&&t.register(Xr,n,Mr)}else De.push(t)},Fe=255,Ne={aqua:[0,Fe,Fe],lime:[0,Fe,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Fe],navy:[0,0,128],white:[Fe,Fe,Fe],olive:[128,128,0],yellow:[Fe,Fe,0],orange:[Fe,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Fe,0,0],pink:[Fe,192,203],cyan:[0,Fe,Fe],transparent:[Fe,Fe,Fe,0]},Ie=function(t,e,r){return(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)*Fe+.5|0},Be=function(t,e,r){var n,i,s,a,o,l,u,c,f,h,d=t?V(t)?[t>>16,t>>8&Fe,t&Fe]:0:Ne.black;if(!d){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),Ne[t])d=Ne[t];else if("#"===t.charAt(0)){if(t.length<6&&(n=t.charAt(1),i=t.charAt(2),s=t.charAt(3),t="#"+n+n+i+i+s+s+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(d=parseInt(t.substr(1,6),16))>>16,d>>8&Fe,d&Fe,parseInt(t.substr(7),16)/255];d=[(t=parseInt(t.substr(1),16))>>16,t>>8&Fe,t&Fe]}else if("hsl"===t.substr(0,3))if(d=h=t.match(nt),e){if(~t.indexOf("="))return d=t.match(it),r&&d.length<4&&(d[3]=1),d}else a=+d[0]%360/360,o=+d[1]/100,n=2*(l=+d[2]/100)-(i=l<=.5?l*(o+1):l+o-l*o),d.length>3&&(d[3]*=1),d[0]=Ie(a+1/3,n,i),d[1]=Ie(a,n,i),d[2]=Ie(a-1/3,n,i);else d=t.match(nt)||Ne.transparent;d=d.map(Number)}return e&&!h&&(n=d[0]/Fe,i=d[1]/Fe,s=d[2]/Fe,l=((u=Math.max(n,i,s))+(c=Math.min(n,i,s)))/2,u===c?a=o=0:(f=u-c,o=l>.5?f/(2-u-c):f/(u+c),a=u===n?(i-s)/f+(i<s?6:0):u===i?(s-n)/f+2:(n-i)/f+4,a*=60),d[0]=~~(a+.5),d[1]=~~(100*o+.5),d[2]=~~(100*l+.5)),r&&d.length<4&&(d[3]=1),d},Le=function(t){var e=[],r=[],n=-1;return t.split(Ye).forEach(function(t){var i=t.match(st)||[];e.push.apply(e,i),r.push(n+=i.length+1)}),e.c=r,e},je=function(t,e,r){var n,i,s,a,o="",l=(t+o).match(Ye),u=e?"hsla(":"rgba(",c=0;if(!l)return t;if(l=l.map(function(t){return(t=Be(t,e,1))&&u+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"}),r&&(s=Le(t),(n=r.c).join(o)!==s.c.join(o)))for(a=(i=t.replace(Ye,"1").split(st)).length-1;c<a;c++)o+=i[c]+(~n.indexOf(c)?l.shift()||u+"0,0,0,0)":(s.length?s:l.length?l:r).shift());if(!i)for(a=(i=t.split(Ye)).length-1;c<a;c++)o+=i[c]+l[c];return o+i[a]},Ye=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in Ne)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),Xe=/hsl[a]?\(/,We=function(t){var e,r=t.join(" ");if(Ye.lastIndex=0,Ye.test(r))return e=Xe.test(r),t[1]=je(t[1],e),t[0]=je(t[0],e,Le(t[1])),!0},qe=function(){var t,e,r,n,i,s,a=Date.now,o=500,l=33,u=a(),c=u,f=1e3/240,h=f,d=[],p=function r(p){var g,m,_,v,y=a()-c,x=!0===p;if((y>o||y<0)&&(u+=y-l),((g=(_=(c+=y)-u)-h)>0||x)&&(v=++n.frame,i=_-1e3*n.time,n.time=_/=1e3,h+=g+(g>=f?4:f-g),m=1),x||(t=e(r)),m)for(s=0;s<d.length;s++)d[s](_,i,v,p)};return n={time:0,frame:0,tick:function(){p(!0)},deltaRatio:function(t){return i/(1e3/(t||60))},wake:function(){C&&(!T&&Q()&&(w=T=window,O=w.document||{},ct.gsap=Xr,(w.gsapVersions||(w.gsapVersions=[])).push(Xr.version),ht(ft||w.GreenSockGlobals||!w.gsap&&w||{}),De.forEach(ze)),r="undefined"!=typeof requestAnimationFrame&&requestAnimationFrame,t&&n.sleep(),e=r||function(t){return setTimeout(t,h-1e3*n.time+1|0)},S=1,p(2))},sleep:function(){(r?cancelAnimationFrame:clearTimeout)(t),S=0,e=mt},lagSmoothing:function(t,e){o=t||1/0,l=Math.min(e||33,o)},fps:function(t){f=1e3/(t||240),h=1e3*n.time+f},add:function(t,e,r){var i=e?function(e,r,s,a){t(e,r,s,a),n.remove(i)}:t;return n.remove(t),d[r?"unshift":"push"](i),He(),i},remove:function(t,e){~(e=d.indexOf(t))&&d.splice(e,1)&&s>=e&&s--},_listeners:d}}(),He=function(){return!S&&qe.wake()},Ue={},Ve=/^[\d.\-M][\d.\-,\s]/,Ge=/["']/g,$e=function(t){for(var e,r,n,i={},s=t.substr(1,t.length-3).split(":"),a=s[0],o=1,l=s.length;o<l;o++)r=s[o],e=o!==l-1?r.lastIndexOf(","):r.length,n=r.substr(0,e),i[a]=isNaN(n)?n.replace(Ge,"").trim():+n,a=r.substr(e+1).trim();return i},Ze=function(t){return function(e){return 1-t(1-e)}},Qe=function(t,e){return t&&(U(t)?t:Ue[t]||function(t){var e,r,n,i,s=(t+"").split("("),a=Ue[s[0]];return a&&s.length>1&&a.config?a.config.apply(null,~t.indexOf("{")?[$e(s[1])]:(e=t,r=e.indexOf("(")+1,n=e.indexOf(")"),i=e.indexOf("(",r),e.substring(r,~i&&i<n?e.indexOf(")",n+1):n)).split(",").map(Lt)):Ue._CE&&Ve.test(t)?Ue._CE("",t):a}(t))||e},Ke=function(t,e,r,n){void 0===r&&(r=function(t){return 1-e(1-t)}),void 0===n&&(n=function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var i,s={easeIn:e,easeOut:r,easeInOut:n};return Pt(t,function(t){for(var e in Ue[t]=ct[t]=s,Ue[i=t.toLowerCase()]=r,s)Ue[i+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=Ue[t+"."+e]=s[e]}),s},Je=function(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t(2*(e-.5))/2}},tr=function t(e,r,n){var i=r>=1?r:1,s=(n||(e?.3:.45))/(r<1?r:1),a=s/L*(Math.asin(1/i)||0),o=function(t){return 1===t?1:i*Math.pow(2,-10*t)*q((t-a)*s)+1},l="out"===e?o:"in"===e?function(t){return 1-o(1-t)}:Je(o);return s=L/s,l.config=function(r,n){return t(e,r,n)},l},er=function t(e,r){void 0===r&&(r=1.70158);var n=function(t){return t?--t*t*((r+1)*t+r)+1:0},i="out"===e?n:"in"===e?function(t){return 1-n(1-t)}:Je(n);return i.config=function(r){return t(e,r)},i};Pt("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var r=e<5?e+1:e;Ke(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})}),Ue.Linear.easeNone=Ue.none=Ue.Linear.easeIn,Ke("Elastic",tr("in"),tr("out"),tr()),M=7.5625,R=2*(P=1/(A=2.75)),D=2.5*P,Ke("Bounce",function(t){return 1-z(1-t)},z=function(t){return t<P?M*t*t:t<R?M*Math.pow(t-1.5/A,2)+.75:t<D?M*(t-=2.25/A)*t+.9375:M*Math.pow(t-2.625/A,2)+.984375}),Ke("Expo",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)}),Ke("Circ",function(t){return-(X(1-t*t)-1)}),Ke("Sine",function(t){return 1===t?1:1-W(t*j)}),Ke("Back",er("in"),er("out"),er()),Ue.SteppedEase=Ue.steps=ct.SteppedEase={config:function(t,e){void 0===t&&(t=1);var r=1/t,n=t+(e?0:1),i=e?1:0;return function(t){return((n*ge(0,.99999999,t)|0)+i)*r}}},N.ease=Ue["quad.out"],Pt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return Et+=t+","+t+"Params,"});var rr=function(t,e){this.id=Y++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:At,this.set=e?e.getSetter:xr},nr=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,ue(this,+t.duration,1,1),this.data=t.data,x&&(this._ctx=x,x.data.push(this)),S||qe.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,ue(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(He(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(re(this,t),!r._dp||r.parent||ne(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)&&ie(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===B||!this._initted&&this._dur&&t||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),Bt(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Kt(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.rawTime()>=0&&this._initted?1:0},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Kt(this),e):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},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,e){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var r=this.parent&&this._ts?te(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(ge(-Math.abs(this._delay),this.totalDuration(),r),!1!==e),ee(this),function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(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):(He(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==B&&(this._tTime-=B)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=Dt(t);var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&ie(e,this,this._start-this._delay),this}return this._start},e.endTime=function(t){return this._start+(Z(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?te(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=yt);var e=y;return y=t,It(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),y=e,this},e.globalTime=function(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):r},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,ce(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,ce(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(he(this,t),Z(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,Z(e)),this._dur||(this._zTime=-1e-8),this},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)-B))},e.eventCallback=function(t,e,r){var n=this.vars;return arguments.length>1?(e?(n[t]=e,r&&(n[t+"Params"]=r),"onUpdate"===t&&(this._onUpdate=e)):delete n[t],this):n[t]},e.then=function(t){var e=this,r=e._prom;return new Promise(function(n){var i=U(t)?t:jt,s=function(){var t=e.then;e.then=null,r&&r(),U(i)&&(i=i(e))&&(i.then||i===e)&&(e.then=t),n(i),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?s():e._prom=s})},e.kill=function(){Re(this)},t}();Yt(nr.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 ir=function(t){function e(e,r){var n;return void 0===e&&(e={}),(n=t.call(this,e)||this).labels={},n.smoothChildTiming=!!e.smoothChildTiming,n.autoRemoveChildren=!!e.autoRemoveChildren,n._sort=Z(e.sortChildren),b&&ie(e.parent||b,m(n),r),e.reversed&&n.reverse(),e.paused&&n.paused(!0),e.scrollTrigger&&se(m(n),e.scrollTrigger),n}_(e,t);var r=e.prototype;return r.to=function(t,e,r){return de(0,arguments,this),this},r.from=function(t,e,r){return de(1,arguments,this),this},r.fromTo=function(t,e,r,n){return de(2,arguments,this),this},r.set=function(t,e,r){return e.duration=0,e.parent=this,Ht(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new gr(t,e,he(this,r),1),this},r.call=function(t,e,r){return ie(this,gr.delayedCall(0,t,e),r)},r.staggerTo=function(t,e,r,n,i,s,a){return r.duration=e,r.stagger=r.stagger||n,r.onComplete=s,r.onCompleteParams=a,r.parent=this,new gr(t,r,he(this,i)),this},r.staggerFrom=function(t,e,r,n,i,s,a){return r.runBackwards=1,Ht(r).immediateRender=Z(r.immediateRender),this.staggerTo(t,e,r,n,i,s,a)},r.staggerFromTo=function(t,e,r,n,i,s,a,o){return n.startAt=r,Ht(n).immediateRender=Z(n.immediateRender),this.staggerTo(t,e,n,i,s,a,o)},r.render=function(t,e,r){var n,i,s,a,o,l,u,c,f,h,d,p,g=this._time,m=this._dirty?this.totalDuration():this._tDur,_=this._dur,v=t<=0?0:Dt(t),x=this._zTime<0!=t<0&&(this._initted||!_);if(this!==b&&v>m&&t>=0&&(v=m),v!==this._tTime||r||x){if(g!==this._time&&_&&(v+=this._time-g,t+=this._time-g),n=v,f=this._start,l=!(c=this._ts),x&&(_||(g=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(d=this._yoyo,o=_+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*o+t,e,r);if(n=Dt(v%o),v===m?(a=this._repeat,n=_):((a=~~(h=Dt(v/o)))&&a===h&&(n=_,a--),n>_&&(n=_)),h=Jt(this._tTime,o),!g&&this._tTime&&h!==a&&this._tTime-h*o-this._dur<=0&&(h=a),d&&1&a&&(n=_-n,p=1),a!==h&&!this._lock){var w=d&&1&h,T=w===(d&&1&a);if(a<h&&(w=!w),g=w?0:v%_?_:v,this._lock=1,this.render(g||(p?0:Dt(a*o)),e,!_)._lock=0,this._tTime=v,!e&&this.parent&&Pe(this,"onRepeat"),this.vars.repeatRefresh&&!p&&(this.invalidate()._lock=1,h=a),g&&g!==this._time||l!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(_=this._dur,m=this._tDur,T&&(this._lock=2,g=w?_:-1e-4,this.render(g,!0),this.vars.repeatRefresh&&!p&&this.invalidate()),this._lock=0,!this._ts&&!l)return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(u=function(t,e,r){var n;if(r>e)for(n=t._first;n&&n._start<=r;){if("isPause"===n.data&&n._start>e)return n;n=n._next}else for(n=t._last;n&&n._start>=r;){if("isPause"===n.data&&n._start<e)return n;n=n._prev}}(this,Dt(g),Dt(n)),u&&(v-=n-(n=u._start))),this._tTime=v,this._time=n,this._act=!!c,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,g=0),!g&&v&&_&&!e&&!h&&(Pe(this,"onStart"),this._tTime!==v))return this;if(n>=g&&t>=0)for(i=this._first;i;){if(s=i._next,(i._act||n>=i._start)&&i._ts&&u!==i){if(i.parent!==this)return this.render(t,e,r);if(i.render(i._ts>0?(n-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(n-i._start)*i._ts,e,r),n!==this._time||!this._ts&&!l){u=0,s&&(v+=this._zTime=-1e-8);break}}i=s}else{i=this._last;for(var O=t<0?t:n;i;){if(s=i._prev,(i._act||O<=i._end)&&i._ts&&u!==i){if(i.parent!==this)return this.render(t,e,r);if(i.render(i._ts>0?(O-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(O-i._start)*i._ts,e,r||y&&It(i)),n!==this._time||!this._ts&&!l){u=0,s&&(v+=this._zTime=O?-1e-8:B);break}}i=s}}if(u&&!e&&(this.pause(),u.render(n>=g?0:-1e-8)._zTime=n>=g?1:-1,this._ts))return this._start=f,ee(this),this.render(t,e,r);this._onUpdate&&!e&&Pe(this,"onUpdate",!0),(v===m&&this._tTime>=this.totalDuration()||!v&&g)&&(f!==this._start&&Math.abs(c)===Math.abs(this._ts)||this._lock||((t||!_)&&(v===m&&this._ts>0||!v&&this._ts<0)&&Gt(this,1),e||t<0&&!g||!v&&!g&&m||(Pe(this,v===m&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(v<m&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(t,e){var r=this;if(V(e)||(e=he(this,e,t)),!(t instanceof nr)){if(tt(t))return t.forEach(function(t){return r.add(t,e)}),this;if(H(t))return this.addLabel(t,e);if(!U(t))return this;t=gr.delayedCall(0,t)}return this!==t?ie(this,t,e):this},r.getChildren=function(t,e,r,n){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===n&&(n=-1e8);for(var i=[],s=this._first;s;)s._start>=n&&(s instanceof gr?e&&i.push(s):(r&&i.push(s),t&&i.push.apply(i,s.getChildren(!0,e,r)))),s=s._next;return i},r.getById=function(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},r.remove=function(t){return H(t)?this.removeLabel(t):U(t)?this.killTweensOf(t):(t.parent===this&&Vt(this,t),t===this._recent&&(this._recent=this._last),$t(this))},r.totalTime=function(e,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Dt(qe.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},r.addLabel=function(t,e){return this.labels[t]=he(this,e),this},r.removeLabel=function(t){return delete this.labels[t],this},r.addPause=function(t,e,r){var n=gr.delayedCall(0,e||mt,r);return n.data="isPause",this._hasPause=1,ie(this,n,he(this,t))},r.removePause=function(t){var e=this._first;for(t=he(this,t);e;)e._start===t&&"isPause"===e.data&&Gt(e),e=e._next},r.killTweensOf=function(t,e,r){for(var n=this.getTweensOf(t,r),i=n.length;i--;)sr!==n[i]&&n[i].kill(t,e);return this},r.getTweensOf=function(t,e){for(var r,n=[],i=xe(t),s=this._first,a=V(e);s;)s instanceof gr?Ft(s._targets,i)&&(a?(!sr||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())&&n.push(s):(r=s.getTweensOf(i,e)).length&&n.push.apply(n,r),s=s._next;return n},r.tweenTo=function(t,e){e=e||{};var r,n=this,i=he(n,t),s=e,a=s.startAt,o=s.onStart,l=s.onStartParams,u=s.immediateRender,c=gr.to(n,Yt({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:e.duration||Math.abs((i-(a&&"time"in a?a.time:n._time))/n.timeScale())||B,onStart:function(){if(n.pause(),!r){var t=e.duration||Math.abs((i-(a&&"time"in a?a.time:n._time))/n.timeScale());c._dur!==t&&ue(c,t,0,1).render(c._time,!0,!0),r=1}o&&o.apply(c,l||[])}},e));return u?c.render(0):c},r.tweenFromTo=function(t,e,r){return this.tweenTo(e,Yt({startAt:{time:he(this,t)}},r))},r.recent=function(){return this._recent},r.nextLabel=function(t){return void 0===t&&(t=this._time),Ae(this,he(this,t))},r.previousLabel=function(t){return void 0===t&&(t=this._time),Ae(this,he(this,t),1)},r.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+B)},r.shiftChildren=function(t,e,r){void 0===r&&(r=0);var n,i=this._first,s=this.labels;for(t=Dt(t);i;)i._start>=r&&(i._start+=t,i._end+=t),i=i._next;if(e)for(n in s)s[n]>=r&&(s[n]+=t);return $t(this)},r.invalidate=function(e){var r=this._first;for(this._lock=0;r;)r.invalidate(e),r=r._next;return t.prototype.invalidate.call(this,e)},r.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={}),$t(this)},r.totalDuration=function(t){var e,r,n,i=0,s=this,a=s._last,o=I;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-t:t));if(s._dirty){for(n=s.parent;a;)e=a._prev,a._dirty&&a.totalDuration(),(r=a._start)>o&&s._sort&&a._ts&&!s._lock?(s._lock=1,ie(s,a,r-a._delay,1)._lock=0):o=r,r<0&&a._ts&&(i-=r,(!n&&!s._dp||n&&n.smoothChildTiming)&&(s._start+=Dt(r/s._ts),s._time-=r,s._tTime-=r),s.shiftChildren(-r,!1,-1/0),o=0),a._end>i&&a._ts&&(i=a._end),a=e;ue(s,s===b&&s._time>i?s._time:i,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(t){if(b._ts&&(Bt(b,te(t,b)),k=qe.frame),qe.frame>=Ct){Ct+=F.autoSleep||120;var e=b._first;if((!e||!e._ts)&&F.autoSleep&&qe._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||qe.sleep()}}},e}(nr);Yt(ir.prototype,{_lock:0,_hasPause:0,_forcing:0});var sr,ar,or=function(t,e,r,n,i,s,a){var o,l,u,c,f,h,d,p,g=new Mr(this._pt,t,e,0,1,Tr,null,i),m=0,_=0;for(g.b=r,g.e=n,r+="",(d=~(n+="").indexOf("random("))&&(n=Se(n)),s&&(s(p=[r,n],t,e),r=p[0],n=p[1]),l=r.match(at)||[];o=at.exec(n);)c=o[0],f=n.substring(m,o.index),u?u=(u+1)%5:"rgba("===f.substr(-5)&&(u=1),c!==l[_++]&&(h=parseFloat(l[_-1])||0,g._pt={_next:g._pt,p:f||1===_?f:",",s:h,c:"="===c.charAt(1)?zt(h,c)-h:parseFloat(c)-h,m:u&&u<4?Math.round:0},m=at.lastIndex);return g.c=m<n.length?n.substring(m,n.length):"",g.fp=a,(ot.test(n)||d)&&(g.e=0),this._pt=g,g},lr=function(t,e,r,n,i,s,a,o,l,u){U(n)&&(n=n(i||0,t,s));var c,f=t[e],h="get"!==r?r:U(f)?l?t[e.indexOf("set")||!U(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():f,d=U(f)?l?vr:_r:mr;if(H(n)&&(~n.indexOf("random(")&&(n=Se(n)),"="===n.charAt(1)&&((c=zt(h,n)+(me(h)||0))||0===c)&&(n=c)),!u||h!==n||ar)return isNaN(h*n)||""===n?(!f&&!(e in t)&&dt(e,n),or.call(this,t,e,h,n,d,o||F.stringFilter,l)):(c=new Mr(this._pt,t,e,+h||0,n-(h||0),"boolean"==typeof f?wr:br,0,d),l&&(c.fp=l),a&&c.modifier(a,this,t),this._pt=c)},ur=function(t,e,r,n,i,s){var a,o,l,u;if(Tt[t]&&!1!==(a=new Tt[t]).init(i,a.rawVars?e[t]:function(t,e,r,n,i){if(U(t)&&(t=hr(t,i,e,r,n)),!$(t)||t.style&&t.nodeType||tt(t)||J(t))return H(t)?hr(t,i,e,r,n):t;var s,a={};for(s in t)a[s]=hr(t[s],i,e,r,n);return a}(e[t],n,i,s,r),r,n,s)&&(r._pt=o=new Mr(r._pt,i,t,0,1,a.render,a,0,a.priority),r!==E))for(l=r._ptLookup[r._targets.indexOf(i)],u=a._props.length;u--;)l[a._props[u]]=o;return a},cr=function t(e,r,n){var i,s,a,o,l,u,c,f,h,d,p,g,m,_=e.vars,x=_.ease,w=_.startAt,T=_.immediateRender,O=_.lazy,C=_.onUpdate,k=_.runBackwards,E=_.yoyoEase,S=_.keyframes,M=_.autoRevert,A=e._dur,P=e._startAt,R=e._targets,D=e.parent,z=D&&"nested"===D.data?D.vars.targets:R,F="auto"===e._overwrite&&!v,L=e.timeline,j=_.easeReverse||E;if(L&&(!S||!x)&&(x="none"),e._ease=Qe(x,N.ease),e._rEase=j&&(Qe(j)||e._ease),e._from=!L&&!!_.runBackwards,e._from&&(e.ratio=1),!L||S&&!_.stagger){if(g=(f=R[0]?Mt(R[0]).harness:0)&&_[f.prop],i=qt(_,xt),P&&(P._zTime<0&&P.progress(1),r<0&&k&&T&&!M?P.render(-1,!0):P.revert(k&&A?vt:_t),P._lazy=0),w){if(Gt(e._startAt=gr.set(R,Yt({data:"isStart",overwrite:!1,parent:D,immediateRender:!0,lazy:!P&&Z(O),startAt:null,delay:0,onUpdate:C&&function(){return Pe(e,"onUpdate")},stagger:0},w))),e._startAt._dp=0,e._startAt._sat=e,r<0&&(y||!T&&!M)&&e._startAt.revert(vt),T&&A&&r<=0&&n<=0)return void(r&&(e._zTime=r))}else if(k&&A&&!P)if(r&&(T=!1),a=Yt({overwrite:!1,data:"isFromStart",lazy:T&&!P&&Z(O),immediateRender:T,stagger:0,parent:D},i),g&&(a[f.prop]=g),Gt(e._startAt=gr.set(R,a)),e._startAt._dp=0,e._startAt._sat=e,r<0&&(y?e._startAt.revert(vt):e._startAt.render(-1,!0)),e._zTime=r,T){if(!r)return}else t(e._startAt,B,B);for(e._pt=e._ptCache=0,O=A&&Z(O)||O&&!A,s=0;s<R.length;s++){if(c=(l=R[s])._gsap||St(R)[s]._gsap,e._ptLookup[s]=d={},wt[c.id]&&bt.length&&Nt(),p=z===R?s:z.indexOf(l),f&&!1!==(h=new f).init(l,g||i,e,p,z)&&(e._pt=o=new Mr(e._pt,l,h.name,0,1,h.render,h,0,h.priority),h._props.forEach(function(t){d[t]=o}),h.priority&&(u=1)),!f||g)for(a in i)Tt[a]&&(h=ur(a,i,e,p,l,z))?h.priority&&(u=1):d[a]=o=lr.call(e,l,a,"get",i[a],p,z,0,_.stringFilter);e._op&&e._op[s]&&e.kill(l,e._op[s]),F&&e._pt&&(sr=e,b.killTweensOf(l,d,e.globalTime(r)),m=!e.parent,sr=0),e._pt&&O&&(wt[c.id]=1)}u&&Sr(e),e._onInit&&e._onInit(e)}e._onUpdate=C,e._initted=(!e._op||e._pt)&&!m,S&&r<=0&&L.render(I,!0,!0)},fr=function(t,e,r,n){var i,s,a=e.ease||n||"power1.inOut";if(tt(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(i in e)s=r[i]||(r[i]=[]),"ease"===i||s.push({t:parseFloat(t),v:e[i],e:a})},hr=function(t,e,r,n,i){return U(t)?t.call(e,r,n,i):H(t)&&~t.indexOf("random(")?Se(t):t},dr=Et+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",pr={};Pt(dr+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return pr[t]=1});var gr=function(t){function e(e,r,n,i){var s;"number"==typeof r&&(n.duration=r,r=n,n=null);var a,o,l,u,c,f,h,d,p=(s=t.call(this,i?r:Ht(r))||this).vars,g=p.duration,_=p.delay,y=p.immediateRender,x=p.stagger,w=p.overwrite,T=p.keyframes,O=p.defaults,C=p.scrollTrigger,k=r.parent||b,E=(tt(e)||J(e)?V(e[0]):"length"in r)?[e]:xe(e);if(s._targets=E.length?St(E):pt("GSAP target "+e+" not found. https://gsap.com",!F.nullTargetWarn)||[],s._ptLookup=[],s._overwrite=w,T||x||K(g)||K(_)){var S=(r=s.vars).easeReverse||r.yoyoEase;if((a=s.timeline=new ir({data:"nested",defaults:O||{},targets:k&&"nested"===k.data?k.vars.targets:E})).kill(),a.parent=a._dp=m(s),a._start=0,x||K(g)||K(_)){if(u=E.length,h=x&&Te(x),$(x))for(c in x)~dr.indexOf(c)&&(d||(d={}),d[c]=x[c]);for(o=0;o<u;o++)(l=qt(r,pr)).stagger=0,S&&(l.easeReverse=S),d&&Xt(l,d),f=E[o],l.duration=+hr(g,m(s),o,f,E),l.delay=(+hr(_,m(s),o,f,E)||0)-s._delay,!x&&1===u&&l.delay&&(s._delay=_=l.delay,s._start+=_,l.delay=0),a.to(f,l,h?h(o,f,E):0),a._ease=Ue.none;a.duration()?g=_=0:s.timeline=0}else if(T){Ht(Yt(a.vars.defaults,{ease:"none"})),a._ease=Qe(T.ease||r.ease||"none");var M,A,P,R=0;if(tt(T))T.forEach(function(t){return a.to(E,t,">")}),a.duration();else{for(c in l={},T)"ease"===c||"easeEach"===c||fr(c,T[c],l,T.easeEach);for(c in l)for(M=l[c].sort(function(t,e){return t.t-e.t}),R=0,o=0;o<M.length;o++)(P={ease:(A=M[o]).e,duration:(A.t-(o?M[o-1].t:0))/100*g})[c]=A.v,a.to(E,P,R),R+=P.duration;a.duration()<g&&a.to({},{duration:g-a.duration()})}}g||s.duration(g=a.duration())}else s.timeline=0;return!0!==w||v||(sr=m(s),b.killTweensOf(E),sr=0),ie(k,m(s),n),r.reversed&&s.reverse(),r.paused&&s.paused(!0),(y||!g&&!T&&s._start===Dt(k._time)&&Z(y)&&Qt(m(s))&&"nested"!==k.data)&&(s._tTime=-1e-8,s.render(Math.max(0,-_)||0)),C&&se(m(s),C),s}_(e,t);var r=e.prototype;return r.render=function(t,e,r){var n,i,s,a,o,l,u,c,f=this._time,h=this._tDur,d=this._dur,p=t<0,g=t>h-B&&!p?h:t<B?0:t;if(d){if(g!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==p||this._lazy){if(n=g,c=this.timeline,this._repeat){if(a=d+this._rDelay,this._repeat<-1&&p)return this.totalTime(100*a+t,e,r);if(n=Dt(g%a),g===h?(s=this._repeat,n=d):(s=~~(o=Dt(g/a)))&&s===o?(n=d,s--):n>d&&(n=d),(l=this._yoyo&&1&s)&&(n=d-n),o=Jt(this._tTime,a),n===f&&!r&&this._initted&&s===o)return this._tTime=g,this;s!==o&&this.vars.repeatRefresh&&!l&&!this._lock&&n!==a&&this._initted&&(this._lock=r=1,this.render(Dt(a*s),!0).invalidate()._lock=0)}if(!this._initted){if(ae(this,p?t:n,r,e,g))return this._tTime=0,this;if(!(f===this._time||r&&this.vars.repeatRefresh&&s!==o))return this;if(d!==this._dur)return this.render(t,e,r)}if(this._rEase){var m=n<f;if(m!==this._inv){var _=m?f:d-f;this._inv=m,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=f,this._invRecip=_?(m?-1:1)/_:0,this._invScale=m?-this.ratio:1-this.ratio,this._invEase=m?this._rEase:this._ease}this.ratio=u=this._invRatio+this._invScale*this._invEase((n-this._invTime)*this._invRecip)}else this.ratio=u=this._ease(n/d);if(this._from&&(this.ratio=u=1-u),this._tTime=g,this._time=n,!this._act&&this._ts&&(this._act=1,this._lazy=0),!f&&g&&!e&&!o&&(Pe(this,"onStart"),this._tTime!==g))return this;for(i=this._pt;i;)i.r(u,i.d),i=i._next;c&&c.render(t<0?t:c._dur*c._ease(n/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(p&&Zt(this,t,0,r),Pe(this,"onUpdate")),this._repeat&&s!==o&&this.vars.onRepeat&&!e&&this.parent&&Pe(this,"onRepeat"),g!==this._tDur&&g||this._tTime!==g||(p&&!this._onUpdate&&Zt(this,t,0,!0),(t||!d)&&(g===this._tDur&&this._ts>0||!g&&this._ts<0)&&Gt(this,1),e||p&&!f||!(g||f||l)||(Pe(this,g===h?"onComplete":"onReverseComplete",!0),this._prom&&!(g<h&&this.timeScale()>0)&&this._prom()))}}else!function(t,e,r,n){var i,s,a,o=t.ratio,l=e<0||!e&&(!t._start&&oe(t)&&(t._initted||!le(t))||(t._ts<0||t._dp._ts<0)&&!le(t))?0:1,u=t._rDelay,c=0;if(u&&t._repeat&&(c=ge(0,t._tDur,e),s=Jt(c,u),t._yoyo&&1&s&&(l=1-l),s!==Jt(t._tTime,u)&&(o=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==o||y||n||t._zTime===B||!e&&t._zTime){if(!t._initted&&ae(t,e,n,r,c))return;for(a=t._zTime,t._zTime=e||(r?B:0),r||(r=e&&!a),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=c,i=t._pt;i;)i.r(l,i.d),i=i._next;e<0&&Zt(t,e,0,!0),t._onUpdate&&!r&&Pe(t,"onUpdate"),c&&t._repeat&&!r&&t.parent&&Pe(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&Gt(t,1),r||y||(Pe(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},r.targets=function(){return this._targets},r.invalidate=function(e){return(!e||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(e),t.prototype.invalidate.call(this,e)},r.resetTo=function(t,e,r,n,i){S||qe.wake(),this._ts||this.play();var s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||cr(this,s),function(t,e,r,n,i,s,a,o){var l,u,c,f,h=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!h)for(h=t._ptCache[e]=[],c=t._ptLookup,f=t._targets.length;f--;){if((l=c[f][e])&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==e&&l.fp!==e;)l=l._next;if(!l)return ar=1,t.vars[e]="+=0",cr(t,a),ar=0,o?pt(e+" not eligible for reset. Try splitting into individual properties"):1;h.push(l)}for(f=h.length;f--;)(l=(u=h[f])._pt||u).s=!n&&0!==n||i?l.s+(n||0)+s*l.c:n,l.c=r-l.s,u.e&&(u.e=Rt(r)+me(u.e)),u.b&&(u.b=l.s+me(u.b))}(this,t,e,r,n,this._ease(s/this._dur),s,i)?this.resetTo(t,e,r,n,1):(re(this,0),this.parent||Ut(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?Re(this):this.scrollTrigger&&this.scrollTrigger.kill(!!y),this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,sr&&!0!==sr.vars.overwrite)._first||Re(this),this.parent&&r!==this.timeline.totalDuration()&&ue(this,this._dur*this.timeline._tDur/r,0,1),this}var n,i,s,a,o,l,u,c=this._targets,f=t?xe(t):c,h=this._ptLookup,d=this._pt;if((!e||"all"===e)&&function(t,e){for(var r=t.length,n=r===e.length;n&&r--&&t[r]===e[r];);return r<0}(c,f))return"all"===e&&(this._pt=0),Re(this);for(n=this._op=this._op||[],"all"!==e&&(H(e)&&(o={},Pt(e,function(t){return o[t]=1}),e=o),e=function(t,e){var r,n,i,s,a=t[0]?Mt(t[0]).harness:0,o=a&&a.aliases;if(!o)return e;for(n in r=Xt({},e),o)if(n in r)for(i=(s=o[n].split(",")).length;i--;)r[s[i]]=r[n];return r}(c,e)),u=c.length;u--;)if(~f.indexOf(c[u]))for(o in i=h[u],"all"===e?(n[u]=e,a=i,s={}):(s=n[u]=n[u]||{},a=e),a)(l=i&&i[o])&&("kill"in l.d&&!0!==l.d.kill(o)||Vt(this,l,"_pt"),delete i[o]),"all"!==s&&(s[o]=1);return this._initted&&!this._pt&&d&&Re(this),this},e.to=function(t,r){return new e(t,r,arguments[2])},e.from=function(t,e){return de(1,arguments)},e.delayedCall=function(t,r,n,i){return new e(r,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:r,onReverseComplete:r,onCompleteParams:n,onReverseCompleteParams:n,callbackScope:i})},e.fromTo=function(t,e,r){return de(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 b.killTweensOf(t,e,r)},e}(nr);Yt(gr.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Pt("staggerTo,staggerFrom,staggerFromTo",function(t){gr[t]=function(){var e=new ir,r=_e.call(arguments,0);return r.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,r)}});var mr=function(t,e,r){return t[e]=r},_r=function(t,e,r){return t[e](r)},vr=function(t,e,r,n){return t[e](n.fp,r)},yr=function(t,e,r){return t.setAttribute(e,r)},xr=function(t,e){return U(t[e])?_r:G(t[e])&&t.setAttribute?yr:mr},br=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},wr=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},Tr=function(t,e){var r=e._pt,n="";if(!t&&e.b)n=e.b;else if(1===t&&e.e)n=e.e;else{for(;r;)n=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+n,r=r._next;n+=e.c}e.set(e.t,e.p,n,e)},Or=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},Cr=function(t,e,r,n){for(var i,s=this._pt;s;)i=s._next,s.p===n&&s.modifier(t,e,r),s=i},kr=function(t){for(var e,r,n=this._pt;n;)r=n._next,n.p===t&&!n.op||n.op===t?Vt(this,n,"_pt"):n.dep||(e=1),n=r;return!e},Er=function(t,e,r,n){n.mSet(t,e,n.m.call(n.tween,r,n.mt),n)},Sr=function(t){for(var e,r,n,i,s=t._pt;s;){for(e=s._next,r=n;r&&r.pr>s.pr;)r=r._next;(s._prev=r?r._prev:i)?s._prev._next=s:n=s,(s._next=r)?r._prev=s:i=s,s=e}t._pt=n},Mr=function(){function t(t,e,r,n,i,s,a,o,l){this.t=e,this.s=n,this.c=i,this.p=r,this.r=s||br,this.d=a||this,this.set=o||mr,this.pr=l||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,r){this.mSet=this.mSet||this.set,this.set=Er,this.m=t,this.mt=r,this.tween=e},t}();Pt(Et+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse",function(t){return xt[t]=1}),ct.TweenMax=ct.TweenLite=gr,ct.TimelineLite=ct.TimelineMax=ir,b=new ir({sortChildren:!1,defaults:N,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),F.stringFilter=We;var Ar=[],Pr={},Rr=[],Dr=0,zr=0,Fr=function(t){return(Pr[t]||Rr).map(function(t){return t()})},Nr=function(){var t=Date.now(),e=[];t-Dr>2&&(Fr("matchMediaInit"),Ar.forEach(function(t){var r,n,i,s,a=t.queries,o=t.conditions;for(n in a)(r=w.matchMedia(a[n]).matches)&&(i=1),r!==o[n]&&(o[n]=r,s=1);s&&(t.revert(),i&&e.push(t))}),Fr("matchMediaRevert"),e.forEach(function(t){return t.onMatch(t,function(e){return t.add(null,e)})}),Dr=t,Fr("matchMedia"))},Ir=function(){function t(t,e){this.selector=e&&be(e),this.data=[],this._r=[],this.isReverted=!1,this.id=zr++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,r){U(t)&&(r=e,e=t,t=U);var n=this,i=function(){var t,i=x,s=n.selector;return i&&i!==n&&i.data.push(n),r&&(n.selector=be(r)),x=n,t=e.apply(n,arguments),U(t)&&n._r.push(t),x=i,n.selector=s,n.isReverted=!1,t};return n.last=i,t===U?i(n,function(t){return n.add(null,t)}):t?n[t]=i:i},e.ignore=function(t){var e=x;x=null,t(this),x=e},e.getTweens=function(){var e=[];return this.data.forEach(function(r){return r instanceof t?e.push.apply(e,r.getTweens()):r instanceof gr&&!(r.parent&&"nested"===r.parent.data)&&e.push(r)}),e},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,e){var r=this;if(t?function(){for(var e,n=r.getTweens(),i=r.data.length;i--;)"isFlip"===(e=r.data[i]).data&&(e.revert(),e.getChildren(!0,!0,!1).forEach(function(t){return n.splice(n.indexOf(t),1)}));for(n.map(function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t:t}}).sort(function(t,e){return e.g-t.g||-1/0}).forEach(function(e){return e.t.revert(t)}),i=r.data.length;i--;)(e=r.data[i])instanceof ir?"nested"!==e.data&&(e.scrollTrigger&&e.scrollTrigger.revert(),e.kill()):!(e instanceof gr)&&e.revert&&e.revert(t);r._r.forEach(function(e){return e(t,r)}),r.isReverted=!0}():this.data.forEach(function(t){return t.kill&&t.kill()}),this.clear(),e)for(var n=Ar.length;n--;)Ar[n].id===this.id&&Ar.splice(n,1)},e.revert=function(t){this.kill(t||{})},t}(),Br=function(){function t(t){this.contexts=[],this.scope=t,x&&x.data.push(this)}var e=t.prototype;return e.add=function(t,e,r){$(t)||(t={matches:t});var n,i,s,a=new Ir(0,r||this.scope),o=a.conditions={};for(i in x&&!a.selector&&(a.selector=x.selector),this.contexts.push(a),e=a.add("onMatch",e),a.queries=t,t)"all"===i?s=1:(n=w.matchMedia(t[i]))&&(Ar.indexOf(a)<0&&Ar.push(a),(o[i]=n.matches)&&(s=1),n.addListener?n.addListener(Nr):n.addEventListener("change",Nr));return s&&e(a,function(t){return a.add(null,t)}),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach(function(e){return e.kill(t,!0)})},t}(),Lr={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 ze(t)})},timeline:function(t){return new ir(t)},getTweensOf:function(t,e){return b.getTweensOf(t,e)},getProperty:function(t,e,r,n){H(t)&&(t=xe(t)[0]);var i=Mt(t||{}).get,s=r?jt:Lt;return"native"===r&&(r=""),t?e?s((Tt[e]&&Tt[e].get||i)(t,e,r,n)):function(e,r,n){return s((Tt[e]&&Tt[e].get||i)(t,e,r,n))}:t},quickSetter:function(t,e,r){if((t=xe(t)).length>1){var n=t.map(function(t){return Xr.quickSetter(t,e,r)}),i=n.length;return function(t){for(var e=i;e--;)n[e](t)}}t=t[0]||{};var s=Tt[e],a=Mt(t),o=a.harness&&(a.harness.aliases||{})[e]||e,l=s?function(e){var n=new s;E._pt=0,n.init(t,r?e+r:e,E,0,[t]),n.render(1,n),E._pt&&Or(1,E)}:a.set(t,o);return s?l:function(e){return l(t,o,r?e+r:e,a,1)}},quickTo:function(t,e,r){var n,i=Xr.to(t,Yt(((n={})[e]="+=0.1",n.paused=!0,n.stagger=0,n),r||{})),s=function(t,r,n){return i.resetTo(e,t,r,n)};return s.tween=i,s},isTweening:function(t){return b.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Qe(t.ease,N.ease)),Wt(N,t||{})},config:function(t){return Wt(F,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,n=t.plugins,i=t.defaults,s=t.extendTimeline;(n||"").split(",").forEach(function(t){return t&&!Tt[t]&&!ct[t]&&pt(e+" effect requires "+t+" plugin.")}),Ot[e]=function(t,e,n){return r(xe(t),Yt(e||{},i),n)},s&&(ir.prototype[e]=function(t,r,n){return this.add(Ot[e](t,$(r)?r:(n=r)&&{},this),n)})},registerEase:function(t,e){Ue[t]=Qe(e)},parseEase:function(t,e){return arguments.length?Qe(t,e):Ue},getById:function(t){return b.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var r,n,i=new ir(t);for(i.smoothChildTiming=Z(t.smoothChildTiming),b.remove(i),i._dp=0,i._time=i._tTime=b._time,r=b._first;r;)n=r._next,!e&&!r._dur&&r instanceof gr&&r.vars.onComplete===r._targets[0]||ie(i,r,r._start-r._delay),r=n;return ie(b,i,0),i},context:function(t,e){return t?new Ir(t,e):x},matchMedia:function(t){return new Br(t)},matchMediaRefresh:function(){return Ar.forEach(function(t){var e,r,n=t.conditions;for(r in n)n[r]&&(n[r]=!1,e=1);e&&t.revert()})||Nr()},addEventListener:function(t,e){var r=Pr[t]||(Pr[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=Pr[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},utils:{wrap:function t(e,r,n){var i=r-e;return tt(e)?Ee(e,t(0,e.length),r):pe(n,function(t){return(i+(t-e)%i)%i+e})},wrapYoyo:function t(e,r,n){var i=r-e,s=2*i;return tt(e)?Ee(e,t(0,e.length-1),r):pe(n,function(t){return e+((t=(s+(t-e)%s)%s||0)>i?s-t:t)})},distribute:Te,random:ke,snap:Ce,normalize:function(t,e,r){return Me(t,e,0,1,r)},getUnit:me,clamp:function(t,e,r){return pe(r,function(r){return ge(t,e,r)})},splitColor:Be,toArray:xe,selector:be,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||me(r))}},interpolate:function t(e,r,n,i){var s=isNaN(e+r)?0:function(t){return(1-t)*e+t*r};if(!s){var a,o,l,u,c,f=H(e),h={};if(!0===n&&(i=1)&&(n=null),f)e={p:e},r={p:r};else if(tt(e)&&!tt(r)){for(l=[],u=e.length,c=u-2,o=1;o<u;o++)l.push(t(e[o-1],e[o]));u--,s=function(t){t*=u;var e=Math.min(c,~~t);return l[e](t-e)},n=r}else i||(e=Xt(tt(e)?[]:{},e));if(!l){for(a in r)lr.call(h,e,a,"get",r[a]);s=function(t){return Or(t,h)||(f?e.p:e)}}}return pe(n,s)},shuffle:we},install:ht,effects:Ot,ticker:qe,updateRoot:ir.updateRoot,plugins:Tt,globalTimeline:b,core:{PropTween:Mr,globals:gt,Tween:gr,Timeline:ir,Animation:nr,getCache:Mt,_removeLinkedListItem:Vt,reverting:function(){return y},context:function(t){return t&&x&&(x.data.push(t),t._ctx=x),x},suppressOverwrites:function(t){return v=t}}};Pt("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return Lr[t]=gr[t]}),qe.add(ir.updateRoot),E=Lr.to({},{duration:0});var jr=function(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r},Yr=function(t,e){return{name:t,headless:1,rawVars:1,init:function(t,r,n){n._onInit=function(t){var n,i;if(H(r)&&(n={},Pt(r,function(t){return n[t]=1}),r=n),e){for(i in n={},r)n[i]=e(r[i]);r=n}!function(t,e){var r,n,i,s=t._targets;for(r in e)for(n=s.length;n--;)(i=t._ptLookup[n][r])&&(i=i.d)&&(i._pt&&(i=jr(i,r)),i&&i.modifier&&i.modifier(e[r],t,s[n],r))}(t,r)}}}},Xr=Lr.registerPlugin({name:"attr",init:function(t,e,r,n,i){var s,a,o;for(s in this.tween=r,e)o=t.getAttribute(s)||"",(a=this.add(t,"setAttribute",(o||0)+"",e[s],n,i,0,0,s)).op=s,a.b=o,this._props.push(s)},render:function(t,e){for(var r=e._pt;r;)y?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next}},{name:"endArray",headless:1,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)}},Yr("roundProps",Oe),Yr("modifiers"),Yr("snap",Ce))||Lr;gr.version=ir.version=Xr.version="3.15.0",C=1,Q()&&He(),Ue.Power0,Ue.Power1,Ue.Power2,Ue.Power3,Ue.Power4,Ue.Linear,Ue.Quad,Ue.Cubic,Ue.Quart,Ue.Quint,Ue.Strong,Ue.Elastic,Ue.Back,Ue.SteppedEase,Ue.Bounce,Ue.Sine,Ue.Expo,Ue.Circ;
10
10
  /*!
11
11
  * CSSPlugin 3.15.0
12
12
  * https://gsap.com
@@ -15,7 +15,7 @@ import{jsx as t}from"react/jsx-runtime";import e,{useRef as r,useState as n,useE
15
15
  * Subject to the terms at https://gsap.com/standard-license
16
16
  * @author: Jack Doyle, jack@greensock.com
17
17
  */
18
- var Sr,Mr,Ar,Pr,Rr,Dr,zr,Fr,Ir={},Nr=180/Math.PI,Br=Math.PI/180,Lr=Math.atan2,Yr=/([A-Z])/g,Xr=/(left|right|width|margin|padding|x)/i,jr=/[\s,\(]\S/,qr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Hr=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},Wr=function(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},Ur=function(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)},Vr=function(t,e){return e.set(e.t,e.p,1===t?e.e:t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)},Gr=function(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)},$r=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},Qr=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},Zr=function(t,e,r){return t.style[e]=r},Kr=function(t,e,r){return t.style.setProperty(e,r)},Jr=function(t,e,r){return t._gsap[e]=r},tn=function(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r},en=function(t,e,r,n,i){var s=t._gsap;s.scaleX=s.scaleY=r,s.renderTransform(i,s)},rn=function(t,e,r,n,i){var s=t._gsap;s[e]=r,s.renderTransform(i,s)},nn="transform",sn=nn+"Origin",on=function t(e,r){var n=this,i=this.target,s=i.style,o=i._gsap;if(e in Ir&&s){if(this.tfm=this.tfm||{},"transform"===e)return qr.transform.split(",").forEach(function(e){return t.call(n,e,r)});if(~(e=qr[e]||e).indexOf(",")?e.split(",").forEach(function(t){return n.tfm[t]=kn(i,t)}):this.tfm[e]=o.x?o[e]:kn(i,e),e===sn&&(this.tfm.zOrigin=o.zOrigin),this.props.indexOf(nn)>=0)return;o.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(sn,r,"")),e=nn}(s||r)&&this.props.push(e,r,s[e])},an=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},ln=function(){var t,e,r=this.props,n=this.target,i=n.style,s=n._gsap;for(t=0;t<r.length;t+=3)r[t+1]?2===r[t+1]?n[r[t]](r[t+2]):n[r[t]]=r[t+2]:r[t+2]?i[r[t]]=r[t+2]:i.removeProperty("--"===r[t].substr(0,2)?r[t]:r[t].replace(Yr,"-$1").toLowerCase());if(this.tfm){for(e in this.tfm)s[e]=this.tfm[e];s.svg&&(s.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),(t=zr())&&t.isStart||i[nn]||(an(i),s.zOrigin&&i[sn]&&(i[sn]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},un=function(t,e){var r={target:t,props:[],revert:ln,save:on};return t._gsap||Er.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(t){return r.save(t)}),r},cn=function(t,e){var r=Mr.createElementNS?Mr.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Mr.createElement(t);return r&&r.style?r:Mr.createElement(t)},fn=function t(e,r,n){var i=getComputedStyle(e);return i[r]||i.getPropertyValue(r.replace(Yr,"-$1").toLowerCase())||i.getPropertyValue(r)||!n&&t(e,dn(r)||r,1)||""},hn="O,Moz,ms,Ms,Webkit".split(","),dn=function(t,e,r){var n=(e||Rr).style,i=5;if(t in n&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);i--&&!(hn[i]+t in n););return i<0?null:(3===i?"ms":i>=0?hn[i]:"")+t},pn=function(){"undefined"!=typeof window&&window.document&&(Sr=window,Mr=Sr.document,Ar=Mr.documentElement,Rr=cn("div")||{style:{}},cn("div"),nn=dn(nn),sn=nn+"Origin",Rr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Fr=!!dn("perspective"),zr=Er.core.reverting,Pr=1)},gn=function(t){var e,r=t.ownerSVGElement,n=cn("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=t.cloneNode(!0);i.style.display="block",n.appendChild(i),Ar.appendChild(n);try{e=i.getBBox()}catch(t){}return n.removeChild(i),Ar.removeChild(n),e},mn=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},_n=function(t){var e,r;try{e=t.getBBox()}catch(n){e=gn(t),r=1}return e&&(e.width||e.height)||r||(e=gn(t)),!e||e.width||e.x||e.y?e:{x:+mn(t,["x","cx","x1"])||0,y:+mn(t,["y","cy","y1"])||0,width:0,height:0}},vn=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!_n(t))},yn=function(t,e){if(e){var r,n=t.style;e in Ir&&e!==sn&&(e=nn),n.removeProperty?("ms"!==(r=e.substr(0,2))&&"webkit"!==e.substr(0,6)||(e="-"+e),n.removeProperty("--"===r?e:e.replace(Yr,"-$1").toLowerCase())):n.removeAttribute(e)}},xn=function(t,e,r,n,i,s){var o=new pr(t._pt,e,r,0,1,s?Qr:$r);return t._pt=o,o.b=n,o.e=i,t._props.push(r),o},bn={deg:1,rad:1,turn:1},wn={grid:1,flex:1},Tn=function t(e,r,n,i){var s,o,a,l,u=parseFloat(n)||0,c=(n+"").trim().substr((u+"").length)||"px",f=Rr.style,h=Xr.test(r),d="svg"===e.tagName.toLowerCase(),p=(d?"client":"offset")+(h?"Width":"Height"),g=100,m="px"===i,_="%"===i;if(i===c||!u||bn[i]||bn[c])return u;if("px"!==c&&!m&&(u=t(e,r,n,"px")),l=e.getCTM&&vn(e),(_||"%"===c)&&(Ir[r]||~r.indexOf("adius")))return s=l?e.getBBox()[h?"width":"height"]:e[p],_t(_?u/s*g:u/100*s);if(f[h?"width":"height"]=g+(m?c:i),o="rem"!==i&&~r.indexOf("adius")||"em"===i&&e.appendChild&&!d?e:e.parentNode,l&&(o=(e.ownerSVGElement||{}).parentNode),o&&o!==Mr&&o.appendChild||(o=Mr.body),(a=o._gsap)&&_&&a.width&&h&&a.time===Me.time&&!a.uncache)return _t(u/a.width*g);if(!_||"height"!==r&&"width"!==r)(_||"%"===c)&&!wn[fn(o,"display")]&&(f.position=fn(e,"position")),o===e&&(f.position="static"),o.appendChild(Rr),s=Rr[p],o.removeChild(Rr),f.position="absolute";else{var v=e.style[r];e.style[r]=g+i,s=e[p],v?e.style[r]=v:yn(e,r)}return h&&_&&((a=pt(o)).time=Me.time,a.width=o[p]),_t(m?s*u/g:s&&u?g/s*u:0)},kn=function(t,e,r,n){var i;return Pr||pn(),e in qr&&"transform"!==e&&~(e=qr[e]).indexOf(",")&&(e=e.split(",")[0]),Ir[e]&&"transform"!==e?(i=In(t,n),i="transformOrigin"!==e?i[e]:i.svg?i.origin:Nn(fn(t,sn))+" "+i.zOrigin+"px"):(!(i=t.style[e])||"auto"===i||n||~(i+"").indexOf("calc("))&&(i=Mn[e]&&Mn[e](t,e,r)||fn(t,e)||gt(t,e)||("opacity"===e?1:0)),r&&!~(i+"").trim().indexOf(" ")?Tn(t,e,i,r)+r:i},Cn=function(t,e,r,n){if(!r||"none"===r){var i=dn(e,t,1),s=i&&fn(t,i,1);s&&s!==r?(e=i,r=s):"borderColor"===e&&(r=fn(t,"borderTopColor"))}var o,a,l,u,c,f,h,d,p,g,m,_=new pr(this._pt,t.style,e,0,1,lr),v=0,y=0;if(_.b=r,_.e=n,r+="","var(--"===(n+="").substring(0,6)&&(n=fn(t,n.substring(4,n.indexOf(")")))),"auto"===n&&(f=t.style[e],t.style[e]=n,n=fn(t,e)||n,f?t.style[e]=f:yn(t,e)),Se(o=[r,n]),n=o[1],l=(r=o[0]).match(H)||[],(n.match(H)||[]).length){for(;a=H.exec(n);)h=a[0],p=n.substring(v,a.index),c?c=(c+1)%5:"rgba("!==p.substr(-5)&&"hsla("!==p.substr(-5)||(c=1),h!==(f=l[y++]||"")&&(u=parseFloat(f)||0,m=f.substr((u+"").length),"="===h.charAt(1)&&(h=yt(u,h)+m),d=parseFloat(h),g=h.substr((d+"").length),v=H.lastIndex-g.length,g||(g=g||x.units[e]||m,v===n.length&&(n+=g,_.e+=g)),m!==g&&(u=Tn(t,e,f,g)||0),_._pt={_next:_._pt,p:p||1===y?p:",",s:u,c:d-u,m:c&&c<4||"zIndex"===e?Math.round:0});_.c=v<n.length?n.substring(v,n.length):""}else _.r="display"===e&&"none"===n?Qr:$r;return U.test(n)&&(_.e=0),this._pt=_,_},On={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},En=function(t){var e=t.split(" "),r=e[0],n=e[1]||"50%";return"top"!==r&&"bottom"!==r&&"left"!==n&&"right"!==n||(t=r,r=n,n=t),e[0]=On[r]||r,e[1]=On[n]||n,e.join(" ")},Sn=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r,n,i,s=e.t,o=s.style,a=e.u,l=s._gsap;if("all"===a||!0===a)o.cssText="",n=1;else for(i=(a=a.split(",")).length;--i>-1;)r=a[i],Ir[r]&&(n=1,r="transformOrigin"===r?sn:nn),yn(s,r);n&&(yn(s,nn),l&&(l.svg&&s.removeAttribute("transform"),o.scale=o.rotate=o.translate="none",In(s,1),l.uncache=1,an(o)))}},Mn={clearProps:function(t,e,r,n,i){if("isFromStart"!==i.data){var s=t._pt=new pr(t._pt,e,r,0,0,Sn);return s.u=n,s.pr=-10,s.tween=i,t._props.push(r),1}}},An=[1,0,0,1,0,0],Pn={},Rn=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},Dn=function(t){var e=fn(t,nn);return Rn(e)?An:e.substr(7).match(q).map(_t)},zn=function(t,e){var r,n,i,s,o=t._gsap||pt(t),a=t.style,l=Dn(t);return o.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(i=t.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?An:l:(l!==An||t.offsetParent||t===Ar||o.svg||(i=a.display,a.display="block",(r=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(s=1,n=t.nextElementSibling,Ar.appendChild(t)),l=Dn(t),i?a.display=i:yn(t,"display"),s&&(n?r.insertBefore(t,n):r?r.appendChild(t):Ar.removeChild(t))),e&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},Fn=function(t,e,r,n,i,s){var o,a,l,u=t._gsap,c=i||zn(t,!0),f=u.xOrigin||0,h=u.yOrigin||0,d=u.xOffset||0,p=u.yOffset||0,g=c[0],m=c[1],_=c[2],v=c[3],y=c[4],x=c[5],b=e.split(" "),w=parseFloat(b[0])||0,T=parseFloat(b[1])||0;r?c!==An&&(a=g*v-m*_)&&(l=w*(-m/a)+T*(g/a)-(g*x-m*y)/a,w=w*(v/a)+T*(-_/a)+(_*x-v*y)/a,T=l):(w=(o=_n(t)).x+(~b[0].indexOf("%")?w/100*o.width:w),T=o.y+(~(b[1]||b[0]).indexOf("%")?T/100*o.height:T)),n||!1!==n&&u.smooth?(y=w-f,x=T-h,u.xOffset=d+(y*g+x*_)-y,u.yOffset=p+(y*m+x*v)-x):u.xOffset=u.yOffset=0,u.xOrigin=w,u.yOrigin=T,u.smooth=!!n,u.origin=e,u.originIsAbsolute=!!r,t.style[sn]="0px 0px",s&&(xn(s,u,"xOrigin",f,w),xn(s,u,"yOrigin",h,T),xn(s,u,"xOffset",d,u.xOffset),xn(s,u,"yOffset",p,u.yOffset)),t.setAttribute("data-svg-origin",w+" "+T)},In=function(t,e){var r=t._gsap||new Xe(t);if("x"in r&&!e&&!r.uncache)return r;var n,i,s,o,a,l,u,c,f,h,d,p,g,m,_,v,y,b,w,T,k,C,O,E,S,M,A,P,R,D,z,F,I=t.style,N=r.scaleX<0,B="px",L="deg",Y=getComputedStyle(t),X=fn(t,sn)||"0";return n=i=s=l=u=c=f=h=d=0,o=a=1,r.svg=!(!t.getCTM||!vn(t)),Y.translate&&("none"===Y.translate&&"none"===Y.scale&&"none"===Y.rotate||(I[nn]=("none"!==Y.translate?"translate3d("+(Y.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==Y.rotate?"rotate("+Y.rotate+") ":"")+("none"!==Y.scale?"scale("+Y.scale.split(" ").join(",")+") ":"")+("none"!==Y[nn]?Y[nn]:"")),I.scale=I.rotate=I.translate="none"),m=zn(t,r.svg),r.svg&&(r.uncache?(S=t.getBBox(),X=r.xOrigin-S.x+"px "+(r.yOrigin-S.y)+"px",E=""):E=!e&&t.getAttribute("data-svg-origin"),Fn(t,E||X,!!E||r.originIsAbsolute,!1!==r.smooth,m)),p=r.xOrigin||0,g=r.yOrigin||0,m!==An&&(b=m[0],w=m[1],T=m[2],k=m[3],n=C=m[4],i=O=m[5],6===m.length?(o=Math.sqrt(b*b+w*w),a=Math.sqrt(k*k+T*T),l=b||w?Lr(w,b)*Nr:0,(f=T||k?Lr(T,k)*Nr+l:0)&&(a*=Math.abs(Math.cos(f*Br))),r.svg&&(n-=p-(p*b+g*T),i-=g-(p*w+g*k))):(F=m[6],D=m[7],A=m[8],P=m[9],R=m[10],z=m[11],n=m[12],i=m[13],s=m[14],u=(_=Lr(F,R))*Nr,_&&(E=C*(v=Math.cos(-_))+A*(y=Math.sin(-_)),S=O*v+P*y,M=F*v+R*y,A=C*-y+A*v,P=O*-y+P*v,R=F*-y+R*v,z=D*-y+z*v,C=E,O=S,F=M),c=(_=Lr(-T,R))*Nr,_&&(v=Math.cos(-_),z=k*(y=Math.sin(-_))+z*v,b=E=b*v-A*y,w=S=w*v-P*y,T=M=T*v-R*y),l=(_=Lr(w,b))*Nr,_&&(E=b*(v=Math.cos(_))+w*(y=Math.sin(_)),S=C*v+O*y,w=w*v-b*y,O=O*v-C*y,b=E,C=S),u&&Math.abs(u)+Math.abs(l)>359.9&&(u=l=0,c=180-c),o=_t(Math.sqrt(b*b+w*w+T*T)),a=_t(Math.sqrt(O*O+F*F)),_=Lr(C,O),f=Math.abs(_)>2e-4?_*Nr:0,d=z?1/(z<0?-z:z):0),r.svg&&(E=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!Rn(fn(t,nn)),E&&t.setAttribute("transform",E))),Math.abs(f)>90&&Math.abs(f)<270&&(N?(o*=-1,f+=l<=0?180:-180,l+=l<=0?180:-180):(a*=-1,f+=f<=0?180:-180)),e=e||r.uncache,r.x=n-((r.xPercent=n&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-n)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+B,r.y=i-((r.yPercent=i&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-i)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+B,r.z=s+B,r.scaleX=_t(o),r.scaleY=_t(a),r.rotation=_t(l)+L,r.rotationX=_t(u)+L,r.rotationY=_t(c)+L,r.skewX=f+L,r.skewY=h+L,r.transformPerspective=d+B,(r.zOrigin=parseFloat(X.split(" ")[2])||!e&&r.zOrigin||0)&&(I[sn]=Nn(X)),r.xOffset=r.yOffset=0,r.force3D=x.force3D,r.renderTransform=r.svg?Hn:Fr?qn:Ln,r.uncache=0,r},Nn=function(t){return(t=t.split(" "))[0]+" "+t[1]},Bn=function(t,e,r){var n=ee(e);return _t(parseFloat(e)+parseFloat(Tn(t,"x",r+"px",n)))+n},Ln=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,qn(t,e)},Yn="0deg",Xn="0px",jn=") ",qn=function(t,e){var r=e||this,n=r.xPercent,i=r.yPercent,s=r.x,o=r.y,a=r.z,l=r.rotation,u=r.rotationY,c=r.rotationX,f=r.skewX,h=r.skewY,d=r.scaleX,p=r.scaleY,g=r.transformPerspective,m=r.force3D,_=r.target,v=r.zOrigin,y="",x="auto"===m&&t&&1!==t||!0===m;if(v&&(c!==Yn||u!==Yn)){var b,w=parseFloat(u)*Br,T=Math.sin(w),k=Math.cos(w);w=parseFloat(c)*Br,b=Math.cos(w),s=Bn(_,s,T*b*-v),o=Bn(_,o,-Math.sin(w)*-v),a=Bn(_,a,k*b*-v+v)}g!==Xn&&(y+="perspective("+g+jn),(n||i)&&(y+="translate("+n+"%, "+i+"%) "),(x||s!==Xn||o!==Xn||a!==Xn)&&(y+=a!==Xn||x?"translate3d("+s+", "+o+", "+a+") ":"translate("+s+", "+o+jn),l!==Yn&&(y+="rotate("+l+jn),u!==Yn&&(y+="rotateY("+u+jn),c!==Yn&&(y+="rotateX("+c+jn),f===Yn&&h===Yn||(y+="skew("+f+", "+h+jn),1===d&&1===p||(y+="scale("+d+", "+p+jn),_.style[nn]=y||"translate(0, 0)"},Hn=function(t,e){var r,n,i,s,o,a=e||this,l=a.xPercent,u=a.yPercent,c=a.x,f=a.y,h=a.rotation,d=a.skewX,p=a.skewY,g=a.scaleX,m=a.scaleY,_=a.target,v=a.xOrigin,y=a.yOrigin,x=a.xOffset,b=a.yOffset,w=a.forceCSS,T=parseFloat(c),k=parseFloat(f);h=parseFloat(h),d=parseFloat(d),(p=parseFloat(p))&&(d+=p=parseFloat(p),h+=p),h||d?(h*=Br,d*=Br,r=Math.cos(h)*g,n=Math.sin(h)*g,i=Math.sin(h-d)*-m,s=Math.cos(h-d)*m,d&&(p*=Br,o=Math.tan(d-p),i*=o=Math.sqrt(1+o*o),s*=o,p&&(o=Math.tan(p),r*=o=Math.sqrt(1+o*o),n*=o)),r=_t(r),n=_t(n),i=_t(i),s=_t(s)):(r=g,s=m,n=i=0),(T&&!~(c+"").indexOf("px")||k&&!~(f+"").indexOf("px"))&&(T=Tn(_,"x",c,"px"),k=Tn(_,"y",f,"px")),(v||y||x||b)&&(T=_t(T+v-(v*r+y*i)+x),k=_t(k+y-(v*n+y*s)+b)),(l||u)&&(o=_.getBBox(),T=_t(T+l/100*o.width),k=_t(k+u/100*o.height)),o="matrix("+r+","+n+","+i+","+s+","+T+","+k+")",_.setAttribute("transform",o),w&&(_.style[nn]=o)},Wn=function(t,e,r,n,i){var s,o,a=360,l=A(i),u=parseFloat(i)*(l&&~i.indexOf("rad")?Nr:1)-n,c=n+u+"deg";return l&&("short"===(s=i.split("_")[1])&&(u%=a)!==u%180&&(u+=u<0?a:-360),"cw"===s&&u<0?u=(u+36e9)%a-~~(u/a)*a:"ccw"===s&&u>0&&(u=(u-36e9)%a-~~(u/a)*a)),t._pt=o=new pr(t._pt,e,r,n,u,Wr),o.e=c,o.u="deg",t._props.push(r),o},Un=function(t,e){for(var r in e)t[r]=e[r];return t},Vn=function(t,e,r){var n,i,s,o,a,l,u,c=Un({},r._gsap),f=r.style;for(i in c.svg?(s=r.getAttribute("transform"),r.setAttribute("transform",""),f[nn]=e,n=In(r,1),yn(r,nn),r.setAttribute("transform",s)):(s=getComputedStyle(r)[nn],f[nn]=e,n=In(r,1),f[nn]=s),Ir)(s=c[i])!==(o=n[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(a=ee(s)!==(u=ee(o))?Tn(r,i,s,u):parseFloat(s),l=parseFloat(o),t._pt=new pr(t._pt,n,i,a,l-a,Hr),t._pt.u=u||0,t._props.push(i));Un(n,c)};mt("padding,margin,Width,Radius",function(t,e){var r="Top",n="Right",i="Bottom",s="Left",o=(e<3?[r,n,i,s]:[r+s,r+n,i+n,i+s]).map(function(r){return e<2?t+r:"border"+r+t});Mn[e>1?"border"+t:t]=function(t,e,r,n,i){var s,a;if(arguments.length<4)return s=o.map(function(e){return kn(t,e,r)}),5===(a=s.join(" ")).split(s[0]).length?s[0]:a;s=(n+"").split(" "),a={},o.forEach(function(t,e){return a[t]=s[e]=s[e]||s[(e-1)/2|0]}),t.init(e,a,i)}});var Gn,$n,Qn,Zn={name:"css",register:pn,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,n,i){var s,o,a,l,u,c,f,h,d,p,g,m,_,v,y,b,w,T=this._props,k=t.style,C=r.vars.startAt;for(f in Pr||pn(),this.styles=this.styles||un(t),b=this.styles.props,this.tween=r,e)if("autoRound"!==f&&(o=e[f],!lt[f]||!Ge(f,e,r,n,t,i)))if(u=typeof o,c=Mn[f],"function"===u&&(u=typeof(o=o.call(r,n,t,i))),"string"===u&&~o.indexOf("random(")&&(o=de(o)),c)c(this,t,f,o,r)&&(y=1);else if("--"===f.substr(0,2))s=(getComputedStyle(t).getPropertyValue(f)+"").trim(),o+="",Oe.lastIndex=0,Oe.test(s)||(h=ee(s),(d=ee(o))?h!==d&&(s=Tn(t,f,s,d)+d):h&&(o+=h)),this.add(k,"setProperty",s,o,n,i,0,0,f),T.push(f),b.push(f,0,k[f]);else if("undefined"!==u){if(C&&f in C?(s="function"==typeof C[f]?C[f].call(r,n,t,i):C[f],A(s)&&~s.indexOf("random(")&&(s=de(s)),ee(s+"")||"auto"===s||(s+=x.units[f]||ee(kn(t,f))||""),"="===(s+"").charAt(1)&&(s=kn(t,f))):s=kn(t,f),l=parseFloat(s),(p="string"===u&&"="===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),a=parseFloat(o),f in qr&&("autoAlpha"===f&&(1===l&&"hidden"===kn(t,"visibility")&&a&&(l=0),b.push("visibility",0,k.visibility),xn(this,k,"visibility",l?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==f&&"transform"!==f&&~(f=qr[f]).indexOf(",")&&(f=f.split(",")[0])),g=f in Ir){if(this.styles.save(f),w=o,"string"===u&&"var(--"===o.substring(0,6)){if("calc("===(o=fn(t,o.substring(4,o.indexOf(")")))).substring(0,5)){var O=t.style.perspective;t.style.perspective=o,o=fn(t,"perspective"),O?t.style.perspective=O:yn(t,"perspective")}a=parseFloat(o)}if(m||((_=t._gsap).renderTransform&&!e.parseTransform||In(t,e.parseTransform),v=!1!==e.smoothOrigin&&_.smooth,(m=this._pt=new pr(this._pt,k,nn,0,1,_.renderTransform,_,0,-1)).dep=1),"scale"===f)this._pt=new pr(this._pt,_,"scaleY",_.scaleY,(p?yt(_.scaleY,p+a):a)-_.scaleY||0,Hr),this._pt.u=0,T.push("scaleY",f),f+="X";else{if("transformOrigin"===f){b.push(sn,0,k[sn]),o=En(o),_.svg?Fn(t,o,0,v,0,this):((d=parseFloat(o.split(" ")[2])||0)!==_.zOrigin&&xn(this,_,"zOrigin",_.zOrigin,d),xn(this,k,f,Nn(s),Nn(o)));continue}if("svgOrigin"===f){Fn(t,o,1,v,0,this);continue}if(f in Pn){Wn(this,_,f,l,p?yt(l,p+o):o);continue}if("smoothOrigin"===f){xn(this,_,"smooth",_.smooth,o);continue}if("force3D"===f){_[f]=o;continue}if("transform"===f){Vn(this,o,t);continue}}}else f in k||(f=dn(f)||f);if(g||(a||0===a)&&(l||0===l)&&!jr.test(o)&&f in k)a||(a=0),(h=(s+"").substr((l+"").length))!==(d=ee(o)||(f in x.units?x.units[f]:h))&&(l=Tn(t,f,s,d)),this._pt=new pr(this._pt,g?_:k,f,l,(p?yt(l,p+a):a)-l,g||"px"!==d&&"zIndex"!==f||!1===e.autoRound?Hr:Gr),this._pt.u=d||0,g&&w!==o?(this._pt.b=s,this._pt.e=w,this._pt.r=Vr):h!==d&&"%"!==d&&(this._pt.b=s,this._pt.r=Ur);else if(f in k)Cn.call(this,t,f,s,p?p+o:o);else if(f in t)this.add(t,f,s||t[f],p?p+o:o,n,i);else if("parseTransform"!==f){K(f,o);continue}g||(f in k?b.push(f,0,k[f]):"function"==typeof t[f]?b.push(f,2,t[f]()):b.push(f,1,s||t[f])),T.push(f)}y&&dr(this)},render:function(t,e){if(e.tween._time||!zr())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:kn,aliases:qr,getSetter:function(t,e,r){var n=qr[e];return n&&n.indexOf(",")<0&&(e=n),e in Ir&&e!==sn&&(t._gsap.x||kn(t,"x"))?r&&Dr===r?"scale"===e?tn:Jr:(Dr=r||{})&&("scale"===e?en:rn):t.style&&!D(t.style[e])?Zr:~e.indexOf("-")?Kr:sr(t,e)},core:{_removeProperty:yn,_getMatrix:zn}};Er.utils.checkPrefix=dn,Er.core.getStyleSaver=un,Qn=mt((Gn="x,y,z,scale,scaleX,scaleY,xPercent,yPercent")+","+($n="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){Ir[t]=1}),mt($n,function(t){x.units[t]="deg",Pn[t]=1}),qr[Qn[13]]=Gn+","+$n,mt("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(t){var e=t.split(":");qr[e[1]]=Qn[e[0]]}),mt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){x.units[t]="px"}),Er.registerPlugin(Zn);var Kn=Er.registerPlugin(Zn)||Er;function Jn(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Kn.core.Tween;
18
+ var Wr,qr,Hr,Ur,Vr,Gr,$r,Zr,Qr={},Kr=180/Math.PI,Jr=Math.PI/180,tn=Math.atan2,en=/([A-Z])/g,rn=/(left|right|width|margin|padding|x)/i,nn=/[\s,\(]\S/,sn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},an=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},on=function(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},ln=function(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)},un=function(t,e){return e.set(e.t,e.p,1===t?e.e:t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)},cn=function(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)},fn=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},hn=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},dn=function(t,e,r){return t.style[e]=r},pn=function(t,e,r){return t.style.setProperty(e,r)},gn=function(t,e,r){return t._gsap[e]=r},mn=function(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r},_n=function(t,e,r,n,i){var s=t._gsap;s.scaleX=s.scaleY=r,s.renderTransform(i,s)},vn=function(t,e,r,n,i){var s=t._gsap;s[e]=r,s.renderTransform(i,s)},yn="transform",xn=yn+"Origin",bn=function t(e,r){var n=this,i=this.target,s=i.style,a=i._gsap;if(e in Qr&&s){if(this.tfm=this.tfm||{},"transform"===e)return sn.transform.split(",").forEach(function(e){return t.call(n,e,r)});if(~(e=sn[e]||e).indexOf(",")?e.split(",").forEach(function(t){return n.tfm[t]=Ln(i,t)}):this.tfm[e]=a.x?a[e]:Ln(i,e),e===xn&&(this.tfm.zOrigin=a.zOrigin),this.props.indexOf(yn)>=0)return;a.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(xn,r,"")),e=yn}(s||r)&&this.props.push(e,r,s[e])},wn=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},Tn=function(){var t,e,r=this.props,n=this.target,i=n.style,s=n._gsap;for(t=0;t<r.length;t+=3)r[t+1]?2===r[t+1]?n[r[t]](r[t+2]):n[r[t]]=r[t+2]:r[t+2]?i[r[t]]=r[t+2]:i.removeProperty("--"===r[t].substr(0,2)?r[t]:r[t].replace(en,"-$1").toLowerCase());if(this.tfm){for(e in this.tfm)s[e]=this.tfm[e];s.svg&&(s.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),(t=$r())&&t.isStart||i[yn]||(wn(i),s.zOrigin&&i[xn]&&(i[xn]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},On=function(t,e){var r={target:t,props:[],revert:Tn,save:bn};return t._gsap||Xr.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(t){return r.save(t)}),r},Cn=function(t,e){var r=qr.createElementNS?qr.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):qr.createElement(t);return r&&r.style?r:qr.createElement(t)},kn=function t(e,r,n){var i=getComputedStyle(e);return i[r]||i.getPropertyValue(r.replace(en,"-$1").toLowerCase())||i.getPropertyValue(r)||!n&&t(e,Sn(r)||r,1)||""},En="O,Moz,ms,Ms,Webkit".split(","),Sn=function(t,e,r){var n=(e||Vr).style,i=5;if(t in n&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);i--&&!(En[i]+t in n););return i<0?null:(3===i?"ms":i>=0?En[i]:"")+t},Mn=function(){"undefined"!=typeof window&&window.document&&(Wr=window,qr=Wr.document,Hr=qr.documentElement,Vr=Cn("div")||{style:{}},Cn("div"),yn=Sn(yn),xn=yn+"Origin",Vr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Zr=!!Sn("perspective"),$r=Xr.core.reverting,Ur=1)},An=function(t){var e,r=t.ownerSVGElement,n=Cn("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=t.cloneNode(!0);i.style.display="block",n.appendChild(i),Hr.appendChild(n);try{e=i.getBBox()}catch(t){}return n.removeChild(i),Hr.removeChild(n),e},Pn=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},Rn=function(t){var e,r;try{e=t.getBBox()}catch(n){e=An(t),r=1}return e&&(e.width||e.height)||r||(e=An(t)),!e||e.width||e.x||e.y?e:{x:+Pn(t,["x","cx","x1"])||0,y:+Pn(t,["y","cy","y1"])||0,width:0,height:0}},Dn=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Rn(t))},zn=function(t,e){if(e){var r,n=t.style;e in Qr&&e!==xn&&(e=yn),n.removeProperty?("ms"!==(r=e.substr(0,2))&&"webkit"!==e.substr(0,6)||(e="-"+e),n.removeProperty("--"===r?e:e.replace(en,"-$1").toLowerCase())):n.removeAttribute(e)}},Fn=function(t,e,r,n,i,s){var a=new Mr(t._pt,e,r,0,1,s?hn:fn);return t._pt=a,a.b=n,a.e=i,t._props.push(r),a},Nn={deg:1,rad:1,turn:1},In={grid:1,flex:1},Bn=function t(e,r,n,i){var s,a,o,l,u=parseFloat(n)||0,c=(n+"").trim().substr((u+"").length)||"px",f=Vr.style,h=rn.test(r),d="svg"===e.tagName.toLowerCase(),p=(d?"client":"offset")+(h?"Width":"Height"),g=100,m="px"===i,_="%"===i;if(i===c||!u||Nn[i]||Nn[c])return u;if("px"!==c&&!m&&(u=t(e,r,n,"px")),l=e.getCTM&&Dn(e),(_||"%"===c)&&(Qr[r]||~r.indexOf("adius")))return s=l?e.getBBox()[h?"width":"height"]:e[p],Rt(_?u/s*g:u/100*s);if(f[h?"width":"height"]=g+(m?c:i),a="rem"!==i&&~r.indexOf("adius")||"em"===i&&e.appendChild&&!d?e:e.parentNode,l&&(a=(e.ownerSVGElement||{}).parentNode),a&&a!==qr&&a.appendChild||(a=qr.body),(o=a._gsap)&&_&&o.width&&h&&o.time===qe.time&&!o.uncache)return Rt(u/o.width*g);if(!_||"height"!==r&&"width"!==r)(_||"%"===c)&&!In[kn(a,"display")]&&(f.position=kn(e,"position")),a===e&&(f.position="static"),a.appendChild(Vr),s=Vr[p],a.removeChild(Vr),f.position="absolute";else{var v=e.style[r];e.style[r]=g+i,s=e[p],v?e.style[r]=v:zn(e,r)}return h&&_&&((o=Mt(a)).time=qe.time,o.width=a[p]),Rt(m?s*u/g:s&&u?g/s*u:0)},Ln=function(t,e,r,n){var i;return Ur||Mn(),e in sn&&"transform"!==e&&~(e=sn[e]).indexOf(",")&&(e=e.split(",")[0]),Qr[e]&&"transform"!==e?(i=Qn(t,n),i="transformOrigin"!==e?i[e]:i.svg?i.origin:Kn(kn(t,xn))+" "+i.zOrigin+"px"):(!(i=t.style[e])||"auto"===i||n||~(i+"").indexOf("calc("))&&(i=qn[e]&&qn[e](t,e,r)||kn(t,e)||At(t,e)||("opacity"===e?1:0)),r&&!~(i+"").trim().indexOf(" ")?Bn(t,e,i,r)+r:i},jn=function(t,e,r,n){if(!r||"none"===r){var i=Sn(e,t,1),s=i&&kn(t,i,1);s&&s!==r?(e=i,r=s):"borderColor"===e&&(r=kn(t,"borderTopColor"))}var a,o,l,u,c,f,h,d,p,g,m,_=new Mr(this._pt,t.style,e,0,1,Tr),v=0,y=0;if(_.b=r,_.e=n,r+="","var(--"===(n+="").substring(0,6)&&(n=kn(t,n.substring(4,n.indexOf(")")))),"auto"===n&&(f=t.style[e],t.style[e]=n,n=kn(t,e)||n,f?t.style[e]=f:zn(t,e)),We(a=[r,n]),n=a[1],l=(r=a[0]).match(st)||[],(n.match(st)||[]).length){for(;o=st.exec(n);)h=o[0],p=n.substring(v,o.index),c?c=(c+1)%5:"rgba("!==p.substr(-5)&&"hsla("!==p.substr(-5)||(c=1),h!==(f=l[y++]||"")&&(u=parseFloat(f)||0,m=f.substr((u+"").length),"="===h.charAt(1)&&(h=zt(u,h)+m),d=parseFloat(h),g=h.substr((d+"").length),v=st.lastIndex-g.length,g||(g=g||F.units[e]||m,v===n.length&&(n+=g,_.e+=g)),m!==g&&(u=Bn(t,e,f,g)||0),_._pt={_next:_._pt,p:p||1===y?p:",",s:u,c:d-u,m:c&&c<4||"zIndex"===e?Math.round:0});_.c=v<n.length?n.substring(v,n.length):""}else _.r="display"===e&&"none"===n?hn:fn;return ot.test(n)&&(_.e=0),this._pt=_,_},Yn={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Xn=function(t){var e=t.split(" "),r=e[0],n=e[1]||"50%";return"top"!==r&&"bottom"!==r&&"left"!==n&&"right"!==n||(t=r,r=n,n=t),e[0]=Yn[r]||r,e[1]=Yn[n]||n,e.join(" ")},Wn=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r,n,i,s=e.t,a=s.style,o=e.u,l=s._gsap;if("all"===o||!0===o)a.cssText="",n=1;else for(i=(o=o.split(",")).length;--i>-1;)r=o[i],Qr[r]&&(n=1,r="transformOrigin"===r?xn:yn),zn(s,r);n&&(zn(s,yn),l&&(l.svg&&s.removeAttribute("transform"),a.scale=a.rotate=a.translate="none",Qn(s,1),l.uncache=1,wn(a)))}},qn={clearProps:function(t,e,r,n,i){if("isFromStart"!==i.data){var s=t._pt=new Mr(t._pt,e,r,0,0,Wn);return s.u=n,s.pr=-10,s.tween=i,t._props.push(r),1}}},Hn=[1,0,0,1,0,0],Un={},Vn=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},Gn=function(t){var e=kn(t,yn);return Vn(e)?Hn:e.substr(7).match(it).map(Rt)},$n=function(t,e){var r,n,i,s,a=t._gsap||Mt(t),o=t.style,l=Gn(t);return a.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(i=t.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?Hn:l:(l!==Hn||t.offsetParent||t===Hr||a.svg||(i=o.display,o.display="block",(r=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(s=1,n=t.nextElementSibling,Hr.appendChild(t)),l=Gn(t),i?o.display=i:zn(t,"display"),s&&(n?r.insertBefore(t,n):r?r.appendChild(t):Hr.removeChild(t))),e&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},Zn=function(t,e,r,n,i,s){var a,o,l,u=t._gsap,c=i||$n(t,!0),f=u.xOrigin||0,h=u.yOrigin||0,d=u.xOffset||0,p=u.yOffset||0,g=c[0],m=c[1],_=c[2],v=c[3],y=c[4],x=c[5],b=e.split(" "),w=parseFloat(b[0])||0,T=parseFloat(b[1])||0;r?c!==Hn&&(o=g*v-m*_)&&(l=w*(-m/o)+T*(g/o)-(g*x-m*y)/o,w=w*(v/o)+T*(-_/o)+(_*x-v*y)/o,T=l):(w=(a=Rn(t)).x+(~b[0].indexOf("%")?w/100*a.width:w),T=a.y+(~(b[1]||b[0]).indexOf("%")?T/100*a.height:T)),n||!1!==n&&u.smooth?(y=w-f,x=T-h,u.xOffset=d+(y*g+x*_)-y,u.yOffset=p+(y*m+x*v)-x):u.xOffset=u.yOffset=0,u.xOrigin=w,u.yOrigin=T,u.smooth=!!n,u.origin=e,u.originIsAbsolute=!!r,t.style[xn]="0px 0px",s&&(Fn(s,u,"xOrigin",f,w),Fn(s,u,"yOrigin",h,T),Fn(s,u,"xOffset",d,u.xOffset),Fn(s,u,"yOffset",p,u.yOffset)),t.setAttribute("data-svg-origin",w+" "+T)},Qn=function(t,e){var r=t._gsap||new rr(t);if("x"in r&&!e&&!r.uncache)return r;var n,i,s,a,o,l,u,c,f,h,d,p,g,m,_,v,y,x,b,w,T,O,C,k,E,S,M,A,P,R,D,z,N=t.style,I=r.scaleX<0,B="px",L="deg",j=getComputedStyle(t),Y=kn(t,xn)||"0";return n=i=s=l=u=c=f=h=d=0,a=o=1,r.svg=!(!t.getCTM||!Dn(t)),j.translate&&("none"===j.translate&&"none"===j.scale&&"none"===j.rotate||(N[yn]=("none"!==j.translate?"translate3d("+(j.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==j.rotate?"rotate("+j.rotate+") ":"")+("none"!==j.scale?"scale("+j.scale.split(" ").join(",")+") ":"")+("none"!==j[yn]?j[yn]:"")),N.scale=N.rotate=N.translate="none"),m=$n(t,r.svg),r.svg&&(r.uncache?(E=t.getBBox(),Y=r.xOrigin-E.x+"px "+(r.yOrigin-E.y)+"px",k=""):k=!e&&t.getAttribute("data-svg-origin"),Zn(t,k||Y,!!k||r.originIsAbsolute,!1!==r.smooth,m)),p=r.xOrigin||0,g=r.yOrigin||0,m!==Hn&&(x=m[0],b=m[1],w=m[2],T=m[3],n=O=m[4],i=C=m[5],6===m.length?(a=Math.sqrt(x*x+b*b),o=Math.sqrt(T*T+w*w),l=x||b?tn(b,x)*Kr:0,(f=w||T?tn(w,T)*Kr+l:0)&&(o*=Math.abs(Math.cos(f*Jr))),r.svg&&(n-=p-(p*x+g*w),i-=g-(p*b+g*T))):(z=m[6],R=m[7],M=m[8],A=m[9],P=m[10],D=m[11],n=m[12],i=m[13],s=m[14],u=(_=tn(z,P))*Kr,_&&(k=O*(v=Math.cos(-_))+M*(y=Math.sin(-_)),E=C*v+A*y,S=z*v+P*y,M=O*-y+M*v,A=C*-y+A*v,P=z*-y+P*v,D=R*-y+D*v,O=k,C=E,z=S),c=(_=tn(-w,P))*Kr,_&&(v=Math.cos(-_),D=T*(y=Math.sin(-_))+D*v,x=k=x*v-M*y,b=E=b*v-A*y,w=S=w*v-P*y),l=(_=tn(b,x))*Kr,_&&(k=x*(v=Math.cos(_))+b*(y=Math.sin(_)),E=O*v+C*y,b=b*v-x*y,C=C*v-O*y,x=k,O=E),u&&Math.abs(u)+Math.abs(l)>359.9&&(u=l=0,c=180-c),a=Rt(Math.sqrt(x*x+b*b+w*w)),o=Rt(Math.sqrt(C*C+z*z)),_=tn(O,C),f=Math.abs(_)>2e-4?_*Kr:0,d=D?1/(D<0?-D:D):0),r.svg&&(k=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!Vn(kn(t,yn)),k&&t.setAttribute("transform",k))),Math.abs(f)>90&&Math.abs(f)<270&&(I?(a*=-1,f+=l<=0?180:-180,l+=l<=0?180:-180):(o*=-1,f+=f<=0?180:-180)),e=e||r.uncache,r.x=n-((r.xPercent=n&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-n)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+B,r.y=i-((r.yPercent=i&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-i)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+B,r.z=s+B,r.scaleX=Rt(a),r.scaleY=Rt(o),r.rotation=Rt(l)+L,r.rotationX=Rt(u)+L,r.rotationY=Rt(c)+L,r.skewX=f+L,r.skewY=h+L,r.transformPerspective=d+B,(r.zOrigin=parseFloat(Y.split(" ")[2])||!e&&r.zOrigin||0)&&(N[xn]=Kn(Y)),r.xOffset=r.yOffset=0,r.force3D=F.force3D,r.renderTransform=r.svg?si:Zr?ii:ti,r.uncache=0,r},Kn=function(t){return(t=t.split(" "))[0]+" "+t[1]},Jn=function(t,e,r){var n=me(e);return Rt(parseFloat(e)+parseFloat(Bn(t,"x",r+"px",n)))+n},ti=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,ii(t,e)},ei="0deg",ri="0px",ni=") ",ii=function(t,e){var r=e||this,n=r.xPercent,i=r.yPercent,s=r.x,a=r.y,o=r.z,l=r.rotation,u=r.rotationY,c=r.rotationX,f=r.skewX,h=r.skewY,d=r.scaleX,p=r.scaleY,g=r.transformPerspective,m=r.force3D,_=r.target,v=r.zOrigin,y="",x="auto"===m&&t&&1!==t||!0===m;if(v&&(c!==ei||u!==ei)){var b,w=parseFloat(u)*Jr,T=Math.sin(w),O=Math.cos(w);w=parseFloat(c)*Jr,b=Math.cos(w),s=Jn(_,s,T*b*-v),a=Jn(_,a,-Math.sin(w)*-v),o=Jn(_,o,O*b*-v+v)}g!==ri&&(y+="perspective("+g+ni),(n||i)&&(y+="translate("+n+"%, "+i+"%) "),(x||s!==ri||a!==ri||o!==ri)&&(y+=o!==ri||x?"translate3d("+s+", "+a+", "+o+") ":"translate("+s+", "+a+ni),l!==ei&&(y+="rotate("+l+ni),u!==ei&&(y+="rotateY("+u+ni),c!==ei&&(y+="rotateX("+c+ni),f===ei&&h===ei||(y+="skew("+f+", "+h+ni),1===d&&1===p||(y+="scale("+d+", "+p+ni),_.style[yn]=y||"translate(0, 0)"},si=function(t,e){var r,n,i,s,a,o=e||this,l=o.xPercent,u=o.yPercent,c=o.x,f=o.y,h=o.rotation,d=o.skewX,p=o.skewY,g=o.scaleX,m=o.scaleY,_=o.target,v=o.xOrigin,y=o.yOrigin,x=o.xOffset,b=o.yOffset,w=o.forceCSS,T=parseFloat(c),O=parseFloat(f);h=parseFloat(h),d=parseFloat(d),(p=parseFloat(p))&&(d+=p=parseFloat(p),h+=p),h||d?(h*=Jr,d*=Jr,r=Math.cos(h)*g,n=Math.sin(h)*g,i=Math.sin(h-d)*-m,s=Math.cos(h-d)*m,d&&(p*=Jr,a=Math.tan(d-p),i*=a=Math.sqrt(1+a*a),s*=a,p&&(a=Math.tan(p),r*=a=Math.sqrt(1+a*a),n*=a)),r=Rt(r),n=Rt(n),i=Rt(i),s=Rt(s)):(r=g,s=m,n=i=0),(T&&!~(c+"").indexOf("px")||O&&!~(f+"").indexOf("px"))&&(T=Bn(_,"x",c,"px"),O=Bn(_,"y",f,"px")),(v||y||x||b)&&(T=Rt(T+v-(v*r+y*i)+x),O=Rt(O+y-(v*n+y*s)+b)),(l||u)&&(a=_.getBBox(),T=Rt(T+l/100*a.width),O=Rt(O+u/100*a.height)),a="matrix("+r+","+n+","+i+","+s+","+T+","+O+")",_.setAttribute("transform",a),w&&(_.style[yn]=a)},ai=function(t,e,r,n,i){var s,a,o=360,l=H(i),u=parseFloat(i)*(l&&~i.indexOf("rad")?Kr:1)-n,c=n+u+"deg";return l&&("short"===(s=i.split("_")[1])&&(u%=o)!==u%180&&(u+=u<0?o:-360),"cw"===s&&u<0?u=(u+36e9)%o-~~(u/o)*o:"ccw"===s&&u>0&&(u=(u-36e9)%o-~~(u/o)*o)),t._pt=a=new Mr(t._pt,e,r,n,u,on),a.e=c,a.u="deg",t._props.push(r),a},oi=function(t,e){for(var r in e)t[r]=e[r];return t},li=function(t,e,r){var n,i,s,a,o,l,u,c=oi({},r._gsap),f=r.style;for(i in c.svg?(s=r.getAttribute("transform"),r.setAttribute("transform",""),f[yn]=e,n=Qn(r,1),zn(r,yn),r.setAttribute("transform",s)):(s=getComputedStyle(r)[yn],f[yn]=e,n=Qn(r,1),f[yn]=s),Qr)(s=c[i])!==(a=n[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(o=me(s)!==(u=me(a))?Bn(r,i,s,u):parseFloat(s),l=parseFloat(a),t._pt=new Mr(t._pt,n,i,o,l-o,an),t._pt.u=u||0,t._props.push(i));oi(n,c)};Pt("padding,margin,Width,Radius",function(t,e){var r="Top",n="Right",i="Bottom",s="Left",a=(e<3?[r,n,i,s]:[r+s,r+n,i+n,i+s]).map(function(r){return e<2?t+r:"border"+r+t});qn[e>1?"border"+t:t]=function(t,e,r,n,i){var s,o;if(arguments.length<4)return s=a.map(function(e){return Ln(t,e,r)}),5===(o=s.join(" ")).split(s[0]).length?s[0]:o;s=(n+"").split(" "),o={},a.forEach(function(t,e){return o[t]=s[e]=s[e]||s[(e-1)/2|0]}),t.init(e,o,i)}});var ui,ci,fi,hi={name:"css",register:Mn,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,n,i){var s,a,o,l,u,c,f,h,d,p,g,m,_,v,y,x,b,w=this._props,T=t.style,O=r.vars.startAt;for(f in Ur||Mn(),this.styles=this.styles||On(t),x=this.styles.props,this.tween=r,e)if("autoRound"!==f&&(a=e[f],!Tt[f]||!ur(f,e,r,n,t,i)))if(u=typeof a,c=qn[f],"function"===u&&(u=typeof(a=a.call(r,n,t,i))),"string"===u&&~a.indexOf("random(")&&(a=Se(a)),c)c(this,t,f,a,r)&&(y=1);else if("--"===f.substr(0,2))s=(getComputedStyle(t).getPropertyValue(f)+"").trim(),a+="",Ye.lastIndex=0,Ye.test(s)||(h=me(s),(d=me(a))?h!==d&&(s=Bn(t,f,s,d)+d):h&&(a+=h)),this.add(T,"setProperty",s,a,n,i,0,0,f),w.push(f),x.push(f,0,T[f]);else if("undefined"!==u){if(O&&f in O?(s="function"==typeof O[f]?O[f].call(r,n,t,i):O[f],H(s)&&~s.indexOf("random(")&&(s=Se(s)),me(s+"")||"auto"===s||(s+=F.units[f]||me(Ln(t,f))||""),"="===(s+"").charAt(1)&&(s=Ln(t,f))):s=Ln(t,f),l=parseFloat(s),(p="string"===u&&"="===a.charAt(1)&&a.substr(0,2))&&(a=a.substr(2)),o=parseFloat(a),f in sn&&("autoAlpha"===f&&(1===l&&"hidden"===Ln(t,"visibility")&&o&&(l=0),x.push("visibility",0,T.visibility),Fn(this,T,"visibility",l?"inherit":"hidden",o?"inherit":"hidden",!o)),"scale"!==f&&"transform"!==f&&~(f=sn[f]).indexOf(",")&&(f=f.split(",")[0])),g=f in Qr){if(this.styles.save(f),b=a,"string"===u&&"var(--"===a.substring(0,6)){if("calc("===(a=kn(t,a.substring(4,a.indexOf(")")))).substring(0,5)){var C=t.style.perspective;t.style.perspective=a,a=kn(t,"perspective"),C?t.style.perspective=C:zn(t,"perspective")}o=parseFloat(a)}if(m||((_=t._gsap).renderTransform&&!e.parseTransform||Qn(t,e.parseTransform),v=!1!==e.smoothOrigin&&_.smooth,(m=this._pt=new Mr(this._pt,T,yn,0,1,_.renderTransform,_,0,-1)).dep=1),"scale"===f)this._pt=new Mr(this._pt,_,"scaleY",_.scaleY,(p?zt(_.scaleY,p+o):o)-_.scaleY||0,an),this._pt.u=0,w.push("scaleY",f),f+="X";else{if("transformOrigin"===f){x.push(xn,0,T[xn]),a=Xn(a),_.svg?Zn(t,a,0,v,0,this):((d=parseFloat(a.split(" ")[2])||0)!==_.zOrigin&&Fn(this,_,"zOrigin",_.zOrigin,d),Fn(this,T,f,Kn(s),Kn(a)));continue}if("svgOrigin"===f){Zn(t,a,1,v,0,this);continue}if(f in Un){ai(this,_,f,l,p?zt(l,p+a):a);continue}if("smoothOrigin"===f){Fn(this,_,"smooth",_.smooth,a);continue}if("force3D"===f){_[f]=a;continue}if("transform"===f){li(this,a,t);continue}}}else f in T||(f=Sn(f)||f);if(g||(o||0===o)&&(l||0===l)&&!nn.test(a)&&f in T)o||(o=0),(h=(s+"").substr((l+"").length))!==(d=me(a)||(f in F.units?F.units[f]:h))&&(l=Bn(t,f,s,d)),this._pt=new Mr(this._pt,g?_:T,f,l,(p?zt(l,p+o):o)-l,g||"px"!==d&&"zIndex"!==f||!1===e.autoRound?an:cn),this._pt.u=d||0,g&&b!==a?(this._pt.b=s,this._pt.e=b,this._pt.r=un):h!==d&&"%"!==d&&(this._pt.b=s,this._pt.r=ln);else if(f in T)jn.call(this,t,f,s,p?p+a:a);else if(f in t)this.add(t,f,s||t[f],p?p+a:a,n,i);else if("parseTransform"!==f){dt(f,a);continue}g||(f in T?x.push(f,0,T[f]):"function"==typeof t[f]?x.push(f,2,t[f]()):x.push(f,1,s||t[f])),w.push(f)}y&&Sr(this)},render:function(t,e){if(e.tween._time||!$r())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:Ln,aliases:sn,getSetter:function(t,e,r){var n=sn[e];return n&&n.indexOf(",")<0&&(e=n),e in Qr&&e!==xn&&(t._gsap.x||Ln(t,"x"))?r&&Gr===r?"scale"===e?mn:gn:(Gr=r||{})&&("scale"===e?_n:vn):t.style&&!G(t.style[e])?dn:~e.indexOf("-")?pn:xr(t,e)},core:{_removeProperty:zn,_getMatrix:$n}};Xr.utils.checkPrefix=Sn,Xr.core.getStyleSaver=On,fi=Pt((ui="x,y,z,scale,scaleX,scaleY,xPercent,yPercent")+","+(ci="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){Qr[t]=1}),Pt(ci,function(t){F.units[t]="deg",Un[t]=1}),sn[fi[13]]=ui+","+ci,Pt("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(t){var e=t.split(":");sn[e[1]]=fi[e[0]]}),Pt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){F.units[t]="px"}),Xr.registerPlugin(hi);var di=Xr.registerPlugin(hi)||Xr;function pi(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}di.core.Tween;
19
19
  /*!
20
20
  * Observer 3.15.0
21
21
  * https://gsap.com
@@ -24,7 +24,7 @@ var Sr,Mr,Ar,Pr,Rr,Dr,zr,Fr,Ir={},Nr=180/Math.PI,Br=Math.PI/180,Lr=Math.atan2,Yr
24
24
  * Subject to the terms at https://gsap.com/standard-license
25
25
  * @author: Jack Doyle, jack@greensock.com
26
26
  */
27
- var ti,ei,ri,ni,ii,si,oi,ai,li,ui,ci,fi,hi,di=function(){return ti||"undefined"!=typeof window&&(ti=window.gsap)&&ti.registerPlugin&&ti},pi=1,gi=[],mi=[],_i=[],vi=Date.now,yi=function(t,e){return e},xi=function(t,e){return~_i.indexOf(t)&&_i[_i.indexOf(t)+1][e]},bi=function(t){return!!~ui.indexOf(t)},wi=function(t,e,r,n,i){return t.addEventListener(e,r,{passive:!1!==n,capture:!!i})},Ti=function(t,e,r,n){return t.removeEventListener(e,r,!!n)},ki="scrollLeft",Ci="scrollTop",Oi=function(){return ci&&ci.isPressed||mi.cache++},Ei=function(t,e){var r=function r(n){if(n||0===n){pi&&(ri.history.scrollRestoration="manual");var i=ci&&ci.isPressed;n=r.v=Math.round(n)||(ci&&ci.iOS?1:0),t(n),r.cacheID=mi.cache,i&&yi("ss",n)}else(e||mi.cache!==r.cacheID||yi("ref"))&&(r.cacheID=mi.cache,r.v=t());return r.v+r.offset};return r.offset=0,t&&r},Si={s:ki,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Ei(function(t){return arguments.length?ri.scrollTo(t,Mi.sc()):ri.pageXOffset||ni[ki]||ii[ki]||si[ki]||0})},Mi={s:Ci,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Si,sc:Ei(function(t){return arguments.length?ri.scrollTo(Si.sc(),t):ri.pageYOffset||ni[Ci]||ii[Ci]||si[Ci]||0})},Ai=function(t,e){return(e&&e._ctx&&e._ctx.selector||ti.utils.toArray)(t)[0]||("string"==typeof t&&!1!==ti.config().nullTargetWarn?console.warn("Element not found:",t):null)},Pi=function(t,e){var r=e.s,n=e.sc;bi(t)&&(t=ni.scrollingElement||ii);var i=mi.indexOf(t),s=n===Mi.sc?1:2;!~i&&(i=mi.push(t)-1),mi[i+s]||wi(t,"scroll",Oi);var o=mi[i+s],a=o||(mi[i+s]=Ei(xi(t,r),!0)||(bi(t)?n:Ei(function(e){return arguments.length?t[r]=e:t[r]})));return a.target=t,o||(a.smooth="smooth"===ti.getProperty(t,"scrollBehavior")),a},Ri=function(t,e,r){var n=t,i=t,s=vi(),o=s,a=e||50,l=Math.max(500,3*a),u=function(t,e){var l=vi();e||l-s>a?(i=n,n=t,o=s,s=l):r?n+=t:n=i+(t-i)/(l-o)*(s-o)};return{update:u,reset:function(){i=n=r?0:n,o=s=0},getVelocity:function(t){var e=o,a=i,c=vi();return(t||0===t)&&t!==n&&u(t),s===o||c-o>l?0:(n+(r?a:-a))/((r?c:s)-e)*1e3}}},Di=function(t,e){return e&&!t._gsapAllow&&!1!==t.cancelable&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},zi=function(t){var e=Math.max.apply(Math,t),r=Math.min.apply(Math,t);return Math.abs(e)>=Math.abs(r)?e:r},Fi=function(){var t,e,r,n;(li=ti.core.globals().ScrollTrigger)&&li.core&&(t=li.core,e=t.bridge||{},r=t._scrollers,n=t._proxies,r.push.apply(r,mi),n.push.apply(n,_i),mi=r,_i=n,yi=function(t,r){return e[t](r)})},Ii=function(t){return ti=t||di(),!ei&&ti&&"undefined"!=typeof document&&document.body&&(ri=window,ni=document,ii=ni.documentElement,si=ni.body,ui=[ri,ni,ii,si],ti.utils.clamp,hi=ti.core.context||function(){},ai="onpointerenter"in si?"pointer":"mouse",oi=Ni.isTouch=ri.matchMedia&&ri.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in ri||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,fi=Ni.eventTypes=("ontouchstart"in ii?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in ii?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return pi=0},500),ei=1),li||Fi(),ei};Si.op=Mi,mi.cache=0;var Ni=function(){function t(t){this.init(t)}var e,r,n;return t.prototype.init=function(t){ei||Ii(ti)||console.warn("Please gsap.registerPlugin(Observer)"),li||Fi();var e=t.tolerance,r=t.dragMinimum,n=t.type,i=t.target,s=t.lineHeight,o=t.debounce,a=t.preventDefault,l=t.onStop,u=t.onStopDelay,c=t.ignore,f=t.wheelSpeed,h=t.event,d=t.onDragStart,p=t.onDragEnd,g=t.onDrag,m=t.onPress,_=t.onRelease,v=t.onRight,y=t.onLeft,x=t.onUp,b=t.onDown,w=t.onChangeX,T=t.onChangeY,k=t.onChange,C=t.onToggleX,O=t.onToggleY,E=t.onHover,S=t.onHoverEnd,M=t.onMove,A=t.ignoreCheck,P=t.isNormalizer,R=t.onGestureStart,D=t.onGestureEnd,z=t.onWheel,F=t.onEnable,I=t.onDisable,N=t.onClick,B=t.scrollSpeed,L=t.capture,Y=t.allowClicks,X=t.lockAxis,j=t.onLockAxis;this.target=i=Ai(i)||ii,this.vars=t,c&&(c=ti.utils.toArray(c)),e=e||1e-9,r=r||0,f=f||1,B=B||1,n=n||"wheel,touch,pointer",o=!1!==o,s||(s=parseFloat(ri.getComputedStyle(si).lineHeight)||22);var q,H,W,U,V,G,$,Q=this,Z=0,K=0,J=t.passive||!a&&!1!==t.passive,tt=Pi(i,Si),et=Pi(i,Mi),rt=tt(),nt=et(),it=~n.indexOf("touch")&&!~n.indexOf("pointer")&&"pointerdown"===fi[0],st=bi(i),ot=i.ownerDocument||ni,at=[0,0,0],lt=[0,0,0],ut=0,ct=function(){return ut=vi()},ft=function(t,e){return(Q.event=t)&&c&&function(t,e){for(var r=e.length;r--;)if(e[r]===t||e[r].contains(t))return!0;return!1}(t.target,c)||e&&it&&"touch"!==t.pointerType||A&&A(t,e)},ht=function(){var t=Q.deltaX=zi(at),r=Q.deltaY=zi(lt),n=Math.abs(t)>=e,i=Math.abs(r)>=e;k&&(n||i)&&k(Q,t,r,at,lt),n&&(v&&Q.deltaX>0&&v(Q),y&&Q.deltaX<0&&y(Q),w&&w(Q),C&&Q.deltaX<0!=Z<0&&C(Q),Z=Q.deltaX,at[0]=at[1]=at[2]=0),i&&(b&&Q.deltaY>0&&b(Q),x&&Q.deltaY<0&&x(Q),T&&T(Q),O&&Q.deltaY<0!=K<0&&O(Q),K=Q.deltaY,lt[0]=lt[1]=lt[2]=0),(U||W)&&(M&&M(Q),W&&(d&&1===W&&d(Q),g&&g(Q),W=0),U=!1),G&&!(G=!1)&&j&&j(Q),V&&(z(Q),V=!1),q=0},dt=function(t,e,r){at[r]+=t,lt[r]+=e,Q._vx.update(t),Q._vy.update(e),o?q||(q=requestAnimationFrame(ht)):ht()},pt=function(t,e){X&&!$&&(Q.axis=$=Math.abs(t)>Math.abs(e)?"x":"y",G=!0),"y"!==$&&(at[2]+=t,Q._vx.update(t,!0)),"x"!==$&&(lt[2]+=e,Q._vy.update(e,!0)),o?q||(q=requestAnimationFrame(ht)):ht()},gt=function(t){if(!ft(t,1)){var e=(t=Di(t,a)).clientX,n=t.clientY,i=e-Q.x,s=n-Q.y,o=Q.isDragging;Q.x=e,Q.y=n,(o||(i||s)&&(Math.abs(Q.startX-e)>=r||Math.abs(Q.startY-n)>=r))&&(W||(W=o?2:1),o||(Q.isDragging=!0),pt(i,s))}},mt=Q.onPress=function(t){ft(t,1)||t&&t.button||(Q.axis=$=null,H.pause(),Q.isPressed=!0,t=Di(t),Z=K=0,Q.startX=Q.x=t.clientX,Q.startY=Q.y=t.clientY,Q._vx.reset(),Q._vy.reset(),wi(P?i:ot,fi[1],gt,J,!0),Q.deltaX=Q.deltaY=0,m&&m(Q))},_t=Q.onRelease=function(t){if(!ft(t,1)){Ti(P?i:ot,fi[1],gt,!0);var e=!isNaN(Q.y-Q.startY),r=Q.isDragging,n=r&&(Math.abs(Q.x-Q.startX)>3||Math.abs(Q.y-Q.startY)>3),s=Di(t);!n&&e&&(Q._vx.reset(),Q._vy.reset(),a&&Y&&ti.delayedCall(.08,function(){if(vi()-ut>300&&!t.defaultPrevented)if(t.target.click)t.target.click();else if(ot.createEvent){var e=ot.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,ri,1,s.screenX,s.screenY,s.clientX,s.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}})),Q.isDragging=Q.isGesturing=Q.isPressed=!1,l&&r&&!P&&H.restart(!0),W&&ht(),p&&r&&p(Q),_&&_(Q,n)}},vt=function(t){return t.touches&&t.touches.length>1&&(Q.isGesturing=!0)&&R(t,Q.isDragging)},yt=function(){return(Q.isGesturing=!1)||D(Q)},xt=function(t){if(!ft(t)){var e=tt(),r=et();dt((e-rt)*B,(r-nt)*B,1),rt=e,nt=r,l&&H.restart(!0)}},bt=function(t){if(!ft(t)){t=Di(t,a),z&&(V=!0);var e=(1===t.deltaMode?s:2===t.deltaMode?ri.innerHeight:1)*f;dt(t.deltaX*e,t.deltaY*e,0),l&&!P&&H.restart(!0)}},wt=function(t){if(!ft(t)){var e=t.clientX,r=t.clientY,n=e-Q.x,i=r-Q.y;Q.x=e,Q.y=r,U=!0,l&&H.restart(!0),(n||i)&&pt(n,i)}},Tt=function(t){Q.event=t,E(Q)},kt=function(t){Q.event=t,S(Q)},Ct=function(t){return ft(t)||Di(t,a)&&N(Q)};H=Q._dc=ti.delayedCall(u||.25,function(){Q._vx.reset(),Q._vy.reset(),H.pause(),l&&l(Q)}).pause(),Q.deltaX=Q.deltaY=0,Q._vx=Ri(0,50,!0),Q._vy=Ri(0,50,!0),Q.scrollX=tt,Q.scrollY=et,Q.isDragging=Q.isGesturing=Q.isPressed=!1,hi(this),Q.enable=function(t){return Q.isEnabled||(wi(st?ot:i,"scroll",Oi),n.indexOf("scroll")>=0&&wi(st?ot:i,"scroll",xt,J,L),n.indexOf("wheel")>=0&&wi(i,"wheel",bt,J,L),(n.indexOf("touch")>=0&&oi||n.indexOf("pointer")>=0)&&(wi(i,fi[0],mt,J,L),wi(ot,fi[2],_t),wi(ot,fi[3],_t),Y&&wi(i,"click",ct,!0,!0),N&&wi(i,"click",Ct),R&&wi(ot,"gesturestart",vt),D&&wi(ot,"gestureend",yt),E&&wi(i,ai+"enter",Tt),S&&wi(i,ai+"leave",kt),M&&wi(i,ai+"move",wt)),Q.isEnabled=!0,Q.isDragging=Q.isGesturing=Q.isPressed=U=W=!1,Q._vx.reset(),Q._vy.reset(),rt=tt(),nt=et(),t&&t.type&&mt(t),F&&F(Q)),Q},Q.disable=function(){Q.isEnabled&&(gi.filter(function(t){return t!==Q&&bi(t.target)}).length||Ti(st?ot:i,"scroll",Oi),Q.isPressed&&(Q._vx.reset(),Q._vy.reset(),Ti(P?i:ot,fi[1],gt,!0)),Ti(st?ot:i,"scroll",xt,L),Ti(i,"wheel",bt,L),Ti(i,fi[0],mt,L),Ti(ot,fi[2],_t),Ti(ot,fi[3],_t),Ti(i,"click",ct,!0),Ti(i,"click",Ct),Ti(ot,"gesturestart",vt),Ti(ot,"gestureend",yt),Ti(i,ai+"enter",Tt),Ti(i,ai+"leave",kt),Ti(i,ai+"move",wt),Q.isEnabled=Q.isPressed=Q.isDragging=!1,I&&I(Q))},Q.kill=Q.revert=function(){Q.disable();var t=gi.indexOf(Q);t>=0&&gi.splice(t,1),ci===Q&&(ci=0)},gi.push(Q),P&&bi(i)&&(ci=Q),Q.enable(h)},e=t,(r=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&Jn(e.prototype,r),n&&Jn(e,n),t}();Ni.version="3.15.0",Ni.create=function(t){return new Ni(t)},Ni.register=Ii,Ni.getAll=function(){return gi.slice()},Ni.getById=function(t){return gi.filter(function(e){return e.vars.id===t})[0]},di()&&ti.registerPlugin(Ni);
27
+ var gi,mi,_i,vi,yi,xi,bi,wi,Ti,Oi,Ci,ki,Ei,Si=function(){return gi||"undefined"!=typeof window&&(gi=window.gsap)&&gi.registerPlugin&&gi},Mi=1,Ai=[],Pi=[],Ri=[],Di=Date.now,zi=function(t,e){return e},Fi=function(t,e){return~Ri.indexOf(t)&&Ri[Ri.indexOf(t)+1][e]},Ni=function(t){return!!~Oi.indexOf(t)},Ii=function(t,e,r,n,i){return t.addEventListener(e,r,{passive:!1!==n,capture:!!i})},Bi=function(t,e,r,n){return t.removeEventListener(e,r,!!n)},Li="scrollLeft",ji="scrollTop",Yi=function(){return Ci&&Ci.isPressed||Pi.cache++},Xi=function(t,e){var r=function r(n){if(n||0===n){Mi&&(_i.history.scrollRestoration="manual");var i=Ci&&Ci.isPressed;n=r.v=Math.round(n)||(Ci&&Ci.iOS?1:0),t(n),r.cacheID=Pi.cache,i&&zi("ss",n)}else(e||Pi.cache!==r.cacheID||zi("ref"))&&(r.cacheID=Pi.cache,r.v=t());return r.v+r.offset};return r.offset=0,t&&r},Wi={s:Li,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Xi(function(t){return arguments.length?_i.scrollTo(t,qi.sc()):_i.pageXOffset||vi[Li]||yi[Li]||xi[Li]||0})},qi={s:ji,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Wi,sc:Xi(function(t){return arguments.length?_i.scrollTo(Wi.sc(),t):_i.pageYOffset||vi[ji]||yi[ji]||xi[ji]||0})},Hi=function(t,e){return(e&&e._ctx&&e._ctx.selector||gi.utils.toArray)(t)[0]||("string"==typeof t&&!1!==gi.config().nullTargetWarn?console.warn("Element not found:",t):null)},Ui=function(t,e){var r=e.s,n=e.sc;Ni(t)&&(t=vi.scrollingElement||yi);var i=Pi.indexOf(t),s=n===qi.sc?1:2;!~i&&(i=Pi.push(t)-1),Pi[i+s]||Ii(t,"scroll",Yi);var a=Pi[i+s],o=a||(Pi[i+s]=Xi(Fi(t,r),!0)||(Ni(t)?n:Xi(function(e){return arguments.length?t[r]=e:t[r]})));return o.target=t,a||(o.smooth="smooth"===gi.getProperty(t,"scrollBehavior")),o},Vi=function(t,e,r){var n=t,i=t,s=Di(),a=s,o=e||50,l=Math.max(500,3*o),u=function(t,e){var l=Di();e||l-s>o?(i=n,n=t,a=s,s=l):r?n+=t:n=i+(t-i)/(l-a)*(s-a)};return{update:u,reset:function(){i=n=r?0:n,a=s=0},getVelocity:function(t){var e=a,o=i,c=Di();return(t||0===t)&&t!==n&&u(t),s===a||c-a>l?0:(n+(r?o:-o))/((r?c:s)-e)*1e3}}},Gi=function(t,e){return e&&!t._gsapAllow&&!1!==t.cancelable&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},$i=function(t){var e=Math.max.apply(Math,t),r=Math.min.apply(Math,t);return Math.abs(e)>=Math.abs(r)?e:r},Zi=function(){var t,e,r,n;(Ti=gi.core.globals().ScrollTrigger)&&Ti.core&&(t=Ti.core,e=t.bridge||{},r=t._scrollers,n=t._proxies,r.push.apply(r,Pi),n.push.apply(n,Ri),Pi=r,Ri=n,zi=function(t,r){return e[t](r)})},Qi=function(t){return gi=t||Si(),!mi&&gi&&"undefined"!=typeof document&&document.body&&(_i=window,vi=document,yi=vi.documentElement,xi=vi.body,Oi=[_i,vi,yi,xi],gi.utils.clamp,Ei=gi.core.context||function(){},wi="onpointerenter"in xi?"pointer":"mouse",bi=Ki.isTouch=_i.matchMedia&&_i.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in _i||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,ki=Ki.eventTypes=("ontouchstart"in yi?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in yi?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return Mi=0},500),mi=1),Ti||Zi(),mi};Wi.op=qi,Pi.cache=0;var Ki=function(){function t(t){this.init(t)}var e,r,n;return t.prototype.init=function(t){mi||Qi(gi)||console.warn("Please gsap.registerPlugin(Observer)"),Ti||Zi();var e=t.tolerance,r=t.dragMinimum,n=t.type,i=t.target,s=t.lineHeight,a=t.debounce,o=t.preventDefault,l=t.onStop,u=t.onStopDelay,c=t.ignore,f=t.wheelSpeed,h=t.event,d=t.onDragStart,p=t.onDragEnd,g=t.onDrag,m=t.onPress,_=t.onRelease,v=t.onRight,y=t.onLeft,x=t.onUp,b=t.onDown,w=t.onChangeX,T=t.onChangeY,O=t.onChange,C=t.onToggleX,k=t.onToggleY,E=t.onHover,S=t.onHoverEnd,M=t.onMove,A=t.ignoreCheck,P=t.isNormalizer,R=t.onGestureStart,D=t.onGestureEnd,z=t.onWheel,F=t.onEnable,N=t.onDisable,I=t.onClick,B=t.scrollSpeed,L=t.capture,j=t.allowClicks,Y=t.lockAxis,X=t.onLockAxis;this.target=i=Hi(i)||yi,this.vars=t,c&&(c=gi.utils.toArray(c)),e=e||1e-9,r=r||0,f=f||1,B=B||1,n=n||"wheel,touch,pointer",a=!1!==a,s||(s=parseFloat(_i.getComputedStyle(xi).lineHeight)||22);var W,q,H,U,V,G,$,Z=this,Q=0,K=0,J=t.passive||!o&&!1!==t.passive,tt=Ui(i,Wi),et=Ui(i,qi),rt=tt(),nt=et(),it=~n.indexOf("touch")&&!~n.indexOf("pointer")&&"pointerdown"===ki[0],st=Ni(i),at=i.ownerDocument||vi,ot=[0,0,0],lt=[0,0,0],ut=0,ct=function(){return ut=Di()},ft=function(t,e){return(Z.event=t)&&c&&function(t,e){for(var r=e.length;r--;)if(e[r]===t||e[r].contains(t))return!0;return!1}(t.target,c)||e&&it&&"touch"!==t.pointerType||A&&A(t,e)},ht=function(){var t=Z.deltaX=$i(ot),r=Z.deltaY=$i(lt),n=Math.abs(t)>=e,i=Math.abs(r)>=e;O&&(n||i)&&O(Z,t,r,ot,lt),n&&(v&&Z.deltaX>0&&v(Z),y&&Z.deltaX<0&&y(Z),w&&w(Z),C&&Z.deltaX<0!=Q<0&&C(Z),Q=Z.deltaX,ot[0]=ot[1]=ot[2]=0),i&&(b&&Z.deltaY>0&&b(Z),x&&Z.deltaY<0&&x(Z),T&&T(Z),k&&Z.deltaY<0!=K<0&&k(Z),K=Z.deltaY,lt[0]=lt[1]=lt[2]=0),(U||H)&&(M&&M(Z),H&&(d&&1===H&&d(Z),g&&g(Z),H=0),U=!1),G&&!(G=!1)&&X&&X(Z),V&&(z(Z),V=!1),W=0},dt=function(t,e,r){ot[r]+=t,lt[r]+=e,Z._vx.update(t),Z._vy.update(e),a?W||(W=requestAnimationFrame(ht)):ht()},pt=function(t,e){Y&&!$&&(Z.axis=$=Math.abs(t)>Math.abs(e)?"x":"y",G=!0),"y"!==$&&(ot[2]+=t,Z._vx.update(t,!0)),"x"!==$&&(lt[2]+=e,Z._vy.update(e,!0)),a?W||(W=requestAnimationFrame(ht)):ht()},gt=function(t){if(!ft(t,1)){var e=(t=Gi(t,o)).clientX,n=t.clientY,i=e-Z.x,s=n-Z.y,a=Z.isDragging;Z.x=e,Z.y=n,(a||(i||s)&&(Math.abs(Z.startX-e)>=r||Math.abs(Z.startY-n)>=r))&&(H||(H=a?2:1),a||(Z.isDragging=!0),pt(i,s))}},mt=Z.onPress=function(t){ft(t,1)||t&&t.button||(Z.axis=$=null,q.pause(),Z.isPressed=!0,t=Gi(t),Q=K=0,Z.startX=Z.x=t.clientX,Z.startY=Z.y=t.clientY,Z._vx.reset(),Z._vy.reset(),Ii(P?i:at,ki[1],gt,J,!0),Z.deltaX=Z.deltaY=0,m&&m(Z))},_t=Z.onRelease=function(t){if(!ft(t,1)){Bi(P?i:at,ki[1],gt,!0);var e=!isNaN(Z.y-Z.startY),r=Z.isDragging,n=r&&(Math.abs(Z.x-Z.startX)>3||Math.abs(Z.y-Z.startY)>3),s=Gi(t);!n&&e&&(Z._vx.reset(),Z._vy.reset(),o&&j&&gi.delayedCall(.08,function(){if(Di()-ut>300&&!t.defaultPrevented)if(t.target.click)t.target.click();else if(at.createEvent){var e=at.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,_i,1,s.screenX,s.screenY,s.clientX,s.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}})),Z.isDragging=Z.isGesturing=Z.isPressed=!1,l&&r&&!P&&q.restart(!0),H&&ht(),p&&r&&p(Z),_&&_(Z,n)}},vt=function(t){return t.touches&&t.touches.length>1&&(Z.isGesturing=!0)&&R(t,Z.isDragging)},yt=function(){return(Z.isGesturing=!1)||D(Z)},xt=function(t){if(!ft(t)){var e=tt(),r=et();dt((e-rt)*B,(r-nt)*B,1),rt=e,nt=r,l&&q.restart(!0)}},bt=function(t){if(!ft(t)){t=Gi(t,o),z&&(V=!0);var e=(1===t.deltaMode?s:2===t.deltaMode?_i.innerHeight:1)*f;dt(t.deltaX*e,t.deltaY*e,0),l&&!P&&q.restart(!0)}},wt=function(t){if(!ft(t)){var e=t.clientX,r=t.clientY,n=e-Z.x,i=r-Z.y;Z.x=e,Z.y=r,U=!0,l&&q.restart(!0),(n||i)&&pt(n,i)}},Tt=function(t){Z.event=t,E(Z)},Ot=function(t){Z.event=t,S(Z)},Ct=function(t){return ft(t)||Gi(t,o)&&I(Z)};q=Z._dc=gi.delayedCall(u||.25,function(){Z._vx.reset(),Z._vy.reset(),q.pause(),l&&l(Z)}).pause(),Z.deltaX=Z.deltaY=0,Z._vx=Vi(0,50,!0),Z._vy=Vi(0,50,!0),Z.scrollX=tt,Z.scrollY=et,Z.isDragging=Z.isGesturing=Z.isPressed=!1,Ei(this),Z.enable=function(t){return Z.isEnabled||(Ii(st?at:i,"scroll",Yi),n.indexOf("scroll")>=0&&Ii(st?at:i,"scroll",xt,J,L),n.indexOf("wheel")>=0&&Ii(i,"wheel",bt,J,L),(n.indexOf("touch")>=0&&bi||n.indexOf("pointer")>=0)&&(Ii(i,ki[0],mt,J,L),Ii(at,ki[2],_t),Ii(at,ki[3],_t),j&&Ii(i,"click",ct,!0,!0),I&&Ii(i,"click",Ct),R&&Ii(at,"gesturestart",vt),D&&Ii(at,"gestureend",yt),E&&Ii(i,wi+"enter",Tt),S&&Ii(i,wi+"leave",Ot),M&&Ii(i,wi+"move",wt)),Z.isEnabled=!0,Z.isDragging=Z.isGesturing=Z.isPressed=U=H=!1,Z._vx.reset(),Z._vy.reset(),rt=tt(),nt=et(),t&&t.type&&mt(t),F&&F(Z)),Z},Z.disable=function(){Z.isEnabled&&(Ai.filter(function(t){return t!==Z&&Ni(t.target)}).length||Bi(st?at:i,"scroll",Yi),Z.isPressed&&(Z._vx.reset(),Z._vy.reset(),Bi(P?i:at,ki[1],gt,!0)),Bi(st?at:i,"scroll",xt,L),Bi(i,"wheel",bt,L),Bi(i,ki[0],mt,L),Bi(at,ki[2],_t),Bi(at,ki[3],_t),Bi(i,"click",ct,!0),Bi(i,"click",Ct),Bi(at,"gesturestart",vt),Bi(at,"gestureend",yt),Bi(i,wi+"enter",Tt),Bi(i,wi+"leave",Ot),Bi(i,wi+"move",wt),Z.isEnabled=Z.isPressed=Z.isDragging=!1,N&&N(Z))},Z.kill=Z.revert=function(){Z.disable();var t=Ai.indexOf(Z);t>=0&&Ai.splice(t,1),Ci===Z&&(Ci=0)},Ai.push(Z),P&&Ni(i)&&(Ci=Z),Z.enable(h)},e=t,(r=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&pi(e.prototype,r),n&&pi(e,n),t}();Ki.version="3.15.0",Ki.create=function(t){return new Ki(t)},Ki.register=Qi,Ki.getAll=function(){return Ai.slice()},Ki.getById=function(t){return Ai.filter(function(e){return e.vars.id===t})[0]},Si()&&gi.registerPlugin(Ki);
28
28
  /*!
29
29
  * ScrollTrigger 3.15.0
30
30
  * https://gsap.com
@@ -33,7 +33,7 @@ var ti,ei,ri,ni,ii,si,oi,ai,li,ui,ci,fi,hi,di=function(){return ti||"undefined"!
33
33
  * Subject to the terms at https://gsap.com/standard-license
34
34
  * @author: Jack Doyle, jack@greensock.com
35
35
  */
36
- var Bi,Li,Yi,Xi,ji,qi,Hi,Wi,Ui,Vi,Gi,$i,Qi,Zi,Ki,Ji,ts,es,rs,ns,is,ss,os,as,ls,us,cs,fs,hs,ds,ps,gs,ms,_s,vs,ys,xs,bs,ws=1,Ts=Date.now,ks=Ts(),Cs=0,Os=0,Es=function(t,e,r){var n=Xs(t)&&("clamp("===t.substr(0,6)||t.indexOf("max")>-1);return r["_"+e+"Clamp"]=n,n?t.substr(6,t.length-7):t},Ss=function(t,e){return!e||Xs(t)&&"clamp("===t.substr(0,6)?t:"clamp("+t+")"},Ms=function t(){return Os&&requestAnimationFrame(t)},As=function(){return Zi=1},Ps=function(){return Zi=0},Rs=function(t){return t},Ds=function(t){return Math.round(1e5*t)/1e5||0},zs=function(){return"undefined"!=typeof window},Fs=function(){return Bi||zs()&&(Bi=window.gsap)&&Bi.registerPlugin&&Bi},Is=function(t){return!!~Hi.indexOf(t)},Ns=function(t){return("Height"===t?ps:Yi["inner"+t])||ji["client"+t]||qi["client"+t]},Bs=function(t){return xi(t,"getBoundingClientRect")||(Is(t)?function(){return Jo.width=Yi.innerWidth,Jo.height=ps,Jo}:function(){return co(t)})},Ls=function(t,e){var r=e.s,n=e.d2,i=e.d,s=e.a;return Math.max(0,(r="scroll"+n)&&(s=xi(t,r))?s()-Bs(t)()[i]:Is(t)?(ji[r]||qi[r])-Ns(n):t[r]-t["offset"+n])},Ys=function(t,e){for(var r=0;r<rs.length;r+=3)(!e||~e.indexOf(rs[r+1]))&&t(rs[r],rs[r+1],rs[r+2])},Xs=function(t){return"string"==typeof t},js=function(t){return"function"==typeof t},qs=function(t){return"number"==typeof t},Hs=function(t){return"object"==typeof t},Ws=function(t,e,r){return t&&t.progress(e?0:1)&&r&&t.pause()},Us=function(t,e,r){if(t.enabled){var n=t._ctx?t._ctx.add(function(){return e(t,r)}):e(t,r);n&&n.totalTime&&(t.callbackAnimation=n)}},Vs=Math.abs,Gs="left",$s="right",Qs="bottom",Zs="width",Ks="height",Js="Right",to="Left",eo="Top",ro="Bottom",no="padding",io="margin",so="Width",oo="Height",ao="px",lo=function(t){return Yi.getComputedStyle(t.nodeType===Node.DOCUMENT_NODE?t.scrollingElement:t)},uo=function(t,e){for(var r in e)r in t||(t[r]=e[r]);return t},co=function(t,e){var r=e&&"matrix(1, 0, 0, 1, 0, 0)"!==lo(t)[Ki]&&Bi.to(t,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=t.getBoundingClientRect?t.getBoundingClientRect():t.scrollingElement.getBoundingClientRect();return r&&r.progress(0).kill(),n},fo=function(t,e){var r=e.d2;return t["offset"+r]||t["client"+r]||0},ho=function(t){var e,r=[],n=t.labels,i=t.duration();for(e in n)r.push(n[e]/i);return r},po=function(t){var e=Bi.utils.snap(t),r=Array.isArray(t)&&t.slice(0).sort(function(t,e){return t-e});return r?function(t,n,i){var s;if(void 0===i&&(i=.001),!n)return e(t);if(n>0){for(t-=i,s=0;s<r.length;s++)if(r[s]>=t)return r[s];return r[s-1]}for(s=r.length,t+=i;s--;)if(r[s]<=t)return r[s];return r[0]}:function(r,n,i){void 0===i&&(i=.001);var s=e(r);return!n||Math.abs(s-r)<i||s-r<0==n<0?s:e(n<0?r-t:r+t)}},go=function(t,e,r,n){return r.split(",").forEach(function(r){return t(e,r,n)})},mo=function(t,e,r,n,i){return t.addEventListener(e,r,{passive:!n,capture:!!i})},_o=function(t,e,r,n){return t.removeEventListener(e,r,!!n)},vo=function(t,e,r){(r=r&&r.wheelHandler)&&(t(e,"wheel",r),t(e,"touchmove",r))},yo={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},xo={toggleActions:"play",anticipatePin:0},bo={top:0,left:0,center:.5,bottom:1,right:1},wo=function(t,e){if(Xs(t)){var r=t.indexOf("="),n=~r?+(t.charAt(r-1)+1)*parseFloat(t.substr(r+1)):0;~r&&(t.indexOf("%")>r&&(n*=e/100),t=t.substr(0,r-1)),t=n+(t in bo?bo[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},To=function(t,e,r,n,i,s,o,a){var l=i.startColor,u=i.endColor,c=i.fontSize,f=i.indent,h=i.fontWeight,d=Xi.createElement("div"),p=Is(r)||"fixed"===xi(r,"pinType"),g=-1!==t.indexOf("scroller"),m=p?qi:"IFRAME"===r.tagName?r.contentDocument.body:r,_=-1!==t.indexOf("start"),v=_?l:u,y="border-color:"+v+";font-size:"+c+";color:"+v+";font-weight:"+h+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return y+="position:"+((g||a)&&p?"fixed;":"absolute;"),(g||a||!p)&&(y+=(n===Mi?$s:Qs)+":"+(s+parseFloat(f))+"px;"),o&&(y+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),d._isStart=_,d.setAttribute("class","gsap-marker-"+t+(e?" marker-"+e:"")),d.style.cssText=y,d.innerText=e||0===e?t+"-"+e:t,m.children[0]?m.insertBefore(d,m.children[0]):m.appendChild(d),d._offset=d["offset"+n.op.d2],ko(d,0,n,_),d},ko=function(t,e,r,n){var i={display:"block"},s=r[n?"os2":"p2"],o=r[n?"p2":"os2"];t._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+s+so]=1,i["border"+o+so]=0,i[r.p]=e+"px",Bi.set(t,i)},Co=[],Oo={},Eo=function(){return Ts()-Cs>34&&(vs||(vs=requestAnimationFrame(Uo)))},So=function(){(!os||!os.isPressed||os.startX>qi.clientWidth)&&(mi.cache++,os?vs||(vs=requestAnimationFrame(Uo)):Uo(),Cs||zo("scrollStart"),Cs=Ts())},Mo=function(){us=Yi.innerWidth,ls=Yi.innerHeight},Ao=function(t){mi.cache++,(!0===t||!Qi&&!ss&&!Xi.fullscreenElement&&!Xi.webkitFullscreenElement&&(!as||us!==Yi.innerWidth||Math.abs(Yi.innerHeight-ls)>.25*Yi.innerHeight))&&Wi.restart(!0)},Po={},Ro=[],Do=function t(){return _o(oa,"scrollEnd",t)||qo(!0)},zo=function(t){return Po[t]&&Po[t].map(function(t){return t()})||Ro},Fo=[],Io=function(t){for(var e=0;e<Fo.length;e+=5)(!t||Fo[e+4]&&Fo[e+4].query===t)&&(Fo[e].style.cssText=Fo[e+1],Fo[e].getBBox&&Fo[e].setAttribute("transform",Fo[e+2]||""),Fo[e+3].uncache=1)},No=function(){return mi.forEach(function(t){return js(t)&&++t.cacheID&&(t.rec=t())})},Bo=function(t,e){var r;for(Ji=0;Ji<Co.length;Ji++)!(r=Co[Ji])||e&&r._ctx!==e||(t?r.kill(1):r.revert(!0,!0));gs=!0,e&&Io(e),e||zo("revert")},Lo=function(t,e){mi.cache++,(e||!ys)&&mi.forEach(function(t){return js(t)&&t.cacheID++&&(t.rec=0)}),Xs(t)&&(Yi.history.scrollRestoration=hs=t)},Yo=0,Xo=function(){qi.appendChild(ds),ps=!os&&ds.offsetHeight||Yi.innerHeight,qi.removeChild(ds)},jo=function(t){return Ui(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(e){return e.style.display=t?"none":"block"})},qo=function(t,e){if(ji=Xi.documentElement,qi=Xi.body,Hi=[Yi,Xi,ji,qi],!Cs||t||gs){Xo(),ys=oa.isRefreshing=!0,gs||No();var r=zo("refreshInit");ns&&oa.sort(),e||Bo(),mi.forEach(function(t){js(t)&&(t.smooth&&(t.target.style.scrollBehavior="auto"),t(0))}),Co.slice(0).forEach(function(t){return t.refresh()}),gs=!1,Co.forEach(function(t){if(t._subPinOffset&&t.pin){var e=t.vars.horizontal?"offsetWidth":"offsetHeight",r=t.pin[e];t.revert(!0,1),t.adjustPinSpacing(t.pin[e]-r),t.refresh()}}),ms=1,jo(!0),Co.forEach(function(t){var e=Ls(t.scroller,t._dir),r="max"===t.vars.end||t._endClamp&&t.end>e,n=t._startClamp&&t.start>=e;(r||n)&&t.setPositions(n?e-1:t.start,r?Math.max(n?e:t.start+1,e):t.end,!0)}),jo(!1),ms=0,r.forEach(function(t){return t&&t.render&&t.render(-1)}),mi.forEach(function(t){js(t)&&(t.smooth&&requestAnimationFrame(function(){return t.target.style.scrollBehavior="smooth"}),t.rec&&t(t.rec))}),Lo(hs,1),Wi.pause(),Yo++,ys=2,Uo(2),Co.forEach(function(t){return js(t.vars.onRefresh)&&t.vars.onRefresh(t)}),ys=oa.isRefreshing=!1,zo("refresh")}else mo(oa,"scrollEnd",Do)},Ho=0,Wo=1,Uo=function(t){if(2===t||!ys&&!gs){oa.isUpdating=!0,bs&&bs.update(0);var e=Co.length,r=Ts(),n=r-ks>=50,i=e&&Co[0].scroll();if(Wo=Ho>i?-1:1,ys||(Ho=i),n&&(Cs&&!Zi&&r-Cs>200&&(Cs=0,zo("scrollEnd")),Gi=ks,ks=r),Wo<0){for(Ji=e;Ji-- >0;)Co[Ji]&&Co[Ji].update(0,n);Wo=1}else for(Ji=0;Ji<e;Ji++)Co[Ji]&&Co[Ji].update(0,n);oa.isUpdating=!1}vs=0},Vo=[Gs,"top",Qs,$s,io+ro,io+Js,io+eo,io+to,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Go=Vo.concat([Zs,Ks,"boxSizing","max"+so,"max"+oo,"position",io,no,no+eo,no+Js,no+ro,no+to]),$o=function(t,e,r,n){if(!t._gsap.swappedIn){for(var i,s=Vo.length,o=e.style,a=t.style;s--;)o[i=Vo[s]]=r[i];o.position="absolute"===r.position?"absolute":"relative","inline"===r.display&&(o.display="inline-block"),a[Qs]=a[$s]="auto",o.flexBasis=r.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[Zs]=fo(t,Si)+ao,o[Ks]=fo(t,Mi)+ao,o[no]=a[io]=a.top=a[Gs]="0",Zo(n),a[Zs]=a["max"+so]=r[Zs],a[Ks]=a["max"+oo]=r[Ks],a[no]=r[no],t.parentNode!==e&&(t.parentNode.insertBefore(e,t),e.appendChild(t)),t._gsap.swappedIn=!0}},Qo=/([A-Z])/g,Zo=function(t){if(t){var e,r,n=t.t.style,i=t.length,s=0;for((t.t._gsap||Bi.core.getCache(t.t)).uncache=1;s<i;s+=2)r=t[s+1],e=t[s],r?n[e]=r:n[e]&&n.removeProperty(e.replace(Qo,"-$1").toLowerCase())}},Ko=function(t){for(var e=Go.length,r=t.style,n=[],i=0;i<e;i++)n.push(Go[i],r[Go[i]]);return n.t=t,n},Jo={left:0,top:0},ta=function(t,e,r,n,i,s,o,a,l,u,c,f,h,d){js(t)&&(t=t(a)),Xs(t)&&"max"===t.substr(0,3)&&(t=f+("="===t.charAt(4)?wo("0"+t.substr(3),r):0));var p,g,m,_=h?h.time():0;if(h&&h.seek(0),isNaN(t)||(t=+t),qs(t))h&&(t=Bi.utils.mapRange(h.scrollTrigger.start,h.scrollTrigger.end,0,f,t)),o&&ko(o,r,n,!0);else{js(e)&&(e=e(a));var v,y,x,b,w=(t||"0").split(" ");m=Ai(e,a)||qi,(v=co(m)||{})&&(v.left||v.top)||"none"!==lo(m).display||(b=m.style.display,m.style.display="block",v=co(m),b?m.style.display=b:m.style.removeProperty("display")),y=wo(w[0],v[n.d]),x=wo(w[1]||"0",r),t=v[n.p]-l[n.p]-u+y+i-x,o&&ko(o,x,n,r-x<20||o._isStart&&x>20),r-=r-x}if(d&&(a[d]=t||-.001,t<0&&(t=0)),s){var T=t+r,k=s._isStart;p="scroll"+n.d2,ko(s,T,n,k&&T>20||!k&&(c?Math.max(qi[p],ji[p]):s.parentNode[p])<=T+1),c&&(l=co(o),c&&(s.style[n.op.p]=l[n.op.p]-n.op.m-s._offset+ao))}return h&&m&&(p=co(m),h.seek(f),g=co(m),h._caScrollDist=p[n.p]-g[n.p],t=t/h._caScrollDist*f),h&&h.seek(_),h?t:Math.round(t)},ea=/(webkit|moz|length|cssText|inset)/i,ra=function(t,e,r,n){if(t.parentNode!==e){var i,s,o=t.style;if(e===qi){for(i in t._stOrig=o.cssText,s=lo(t))+i||ea.test(i)||!s[i]||"string"!=typeof o[i]||"0"===i||(o[i]=s[i]);o.top=r,o.left=n}else o.cssText=t._stOrig;Bi.core.getCache(t).uncache=1,e.appendChild(t)}},na=function(t,e,r){var n=e,i=n;return function(e){var s=Math.round(t());return s!==n&&s!==i&&Math.abs(s-n)>3&&Math.abs(s-i)>3&&(e=s,r&&r()),i=n,n=Math.round(e)}},ia=function(t,e,r){var n={};n[e.p]="+="+r,Bi.set(t,n)},sa=function(t,e){var r=Pi(t,e),n="_scroll"+e.p2,i=function e(i,s,o,a,l){var u=e.tween,c=s.onComplete,f={};o=o||r();var h=na(r,o,function(){u.kill(),e.tween=0});return l=a&&l||0,a=a||i-o,u&&u.kill(),s[n]=i,s.inherit=!1,s.modifiers=f,f[n]=function(){return h(o+a*u.ratio+l*u.ratio*u.ratio)},s.onUpdate=function(){mi.cache++,e.tween&&Uo()},s.onComplete=function(){e.tween=0,c&&c.call(u)},u=e.tween=Bi.to(t,s)};return t[n]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},mo(t,"wheel",r.wheelHandler),oa.isTouch&&mo(t,"touchmove",r.wheelHandler),i},oa=function(){function t(e,r){Li||t.register(Bi)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),fs(this),this.init(e,r)}return t.prototype.init=function(e,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),Os){var n,i,s,o,a,l,u,c,f,h,d,p,g,m,_,v,y,x,b,w,T,k,C,O,E,S,M,A,P,R,D,z,F,I,N,B,L,Y,X,j,q,H,W=e=uo(Xs(e)||qs(e)||e.nodeType?{trigger:e}:e,xo),U=W.onUpdate,V=W.toggleClass,G=W.id,$=W.onToggle,Q=W.onRefresh,Z=W.scrub,K=W.trigger,J=W.pin,tt=W.pinSpacing,et=W.invalidateOnRefresh,rt=W.anticipatePin,nt=W.onScrubComplete,it=W.onSnapComplete,st=W.once,ot=W.snap,at=W.pinReparent,lt=W.pinSpacer,ut=W.containerAnimation,ct=W.fastScrollEnd,ft=W.preventOverlaps,ht=e.horizontal||e.containerAnimation&&!1!==e.horizontal?Si:Mi,dt=!Z&&0!==Z,pt=Ai(e.scroller||Yi),gt=Bi.core.getCache(pt),mt=Is(pt),_t="fixed"===("pinType"in e?e.pinType:xi(pt,"pinType")||mt&&"fixed"),vt=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],yt=dt&&e.toggleActions.split(" "),xt="markers"in e?e.markers:xo.markers,bt=mt?0:parseFloat(lo(pt)["border"+ht.p2+so])||0,wt=this,Tt=e.onRefreshInit&&function(){return e.onRefreshInit(wt)},kt=function(t,e,r){var n=r.d,i=r.d2,s=r.a;return(s=xi(t,"getBoundingClientRect"))?function(){return s()[n]}:function(){return(e?Ns(i):t["client"+i])||0}}(pt,mt,ht),Ct=function(t,e){return!e||~_i.indexOf(t)?Bs(t):function(){return Jo}}(pt,mt),Ot=0,Et=0,St=0,Mt=Pi(pt,ht);if(wt._startClamp=wt._endClamp=!1,wt._dir=ht,rt*=45,wt.scroller=pt,wt.scroll=ut?ut.time.bind(ut):Mt,o=Mt(),wt.vars=e,r=r||e.animation,"refreshPriority"in e&&(ns=1,-9999===e.refreshPriority&&(bs=wt)),gt.tweenScroll=gt.tweenScroll||{top:sa(pt,Mi),left:sa(pt,Si)},wt.tweenTo=n=gt.tweenScroll[ht.p],wt.scrubDuration=function(t){(F=qs(t)&&t)?z?z.duration(t):z=Bi.to(r,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:F,paused:!0,onComplete:function(){return nt&&nt(wt)}}):(z&&z.progress(1).kill(),z=0)},r&&(r.vars.lazy=!1,r._initted&&!wt.isReverted||!1!==r.vars.immediateRender&&!1!==e.immediateRender&&r.duration()&&r.render(0,!0,!0),wt.animation=r.pause(),r.scrollTrigger=wt,wt.scrubDuration(Z),R=0,G||(G=r.vars.id)),ot&&(Hs(ot)&&!ot.push||(ot={snapTo:ot}),"scrollBehavior"in qi.style&&Bi.set(mt?[qi,ji]:pt,{scrollBehavior:"auto"}),mi.forEach(function(t){return js(t)&&t.target===(mt?Xi.scrollingElement||ji:pt)&&(t.smooth=!1)}),s=js(ot.snapTo)?ot.snapTo:"labels"===ot.snapTo?function(t){return function(e){return Bi.utils.snap(ho(t),e)}}(r):"labelsDirectional"===ot.snapTo?(j=r,function(t,e){return po(ho(j))(t,e.direction)}):!1!==ot.directional?function(t,e){return po(ot.snapTo)(t,Ts()-Et<500?0:e.direction)}:Bi.utils.snap(ot.snapTo),I=ot.duration||{min:.1,max:2},I=Hs(I)?Vi(I.min,I.max):Vi(I,I),N=Bi.delayedCall(ot.delay||F/2||.1,function(){var t=Mt(),e=Ts()-Et<500,i=n.tween;if(!(e||Math.abs(wt.getVelocity())<10)||i||Zi||Ot===t)wt.isActive&&Ot!==t&&N.restart(!0);else{var o,a,c=(t-l)/m,f=r&&!dt?r.totalProgress():c,h=e?0:(f-D)/(Ts()-Gi)*1e3||0,d=Bi.utils.clamp(-c,1-c,Vs(h/2)*h/.185),p=c+(!1===ot.inertia?0:d),g=ot,_=g.onStart,v=g.onInterrupt,y=g.onComplete;if(o=s(p,wt),qs(o)||(o=p),a=Math.max(0,Math.round(l+o*m)),t<=u&&t>=l&&a!==t){if(i&&!i._initted&&i.data<=Vs(a-t))return;!1===ot.inertia&&(d=o-c),n(a,{duration:I(Vs(.185*Math.max(Vs(p-f),Vs(o-f))/h/.05||0)),ease:ot.ease||"power3",data:Vs(a-t),onInterrupt:function(){return N.restart(!0)&&v&&Us(wt,v)},onComplete:function(){wt.update(),Ot=Mt(),r&&!dt&&(z?z.resetTo("totalProgress",o,r._tTime/r._tDur):r.progress(o)),R=D=r&&!dt?r.totalProgress():wt.progress,it&&it(wt),y&&Us(wt,y)}},t,d*m,a-t-d*m),_&&Us(wt,_,n.tween)}}}).pause()),G&&(Oo[G]=wt),(X=(K=wt.trigger=Ai(K||!0!==J&&J))&&K._gsap&&K._gsap.stRevert)&&(X=X(wt)),J=!0===J?K:Ai(J),Xs(V)&&(V={targets:K,className:V}),J&&(!1===tt||tt===io||(tt=!(!tt&&J.parentNode&&J.parentNode.style&&"flex"===lo(J.parentNode).display)&&no),wt.pin=J,(i=Bi.core.getCache(J)).spacer?_=i.pinState:(lt&&((lt=Ai(lt))&&!lt.nodeType&&(lt=lt.current||lt.nativeElement),i.spacerIsNative=!!lt,lt&&(i.spacerState=Ko(lt))),i.spacer=x=lt||Xi.createElement("div"),x.classList.add("pin-spacer"),G&&x.classList.add("pin-spacer-"+G),i.pinState=_=Ko(J)),!1!==e.force3D&&Bi.set(J,{force3D:!0}),wt.spacer=x=i.spacer,P=lo(J),O=P[tt+ht.os2],w=Bi.getProperty(J),T=Bi.quickSetter(J,ht.a,ao),$o(J,x,P),y=Ko(J)),xt){p=Hs(xt)?uo(xt,yo):yo,h=To("scroller-start",G,pt,ht,p,0),d=To("scroller-end",G,pt,ht,p,0,h),b=h["offset"+ht.op.d2];var At=Ai(xi(pt,"content")||pt);c=this.markerStart=To("start",G,At,ht,p,b,0,ut),f=this.markerEnd=To("end",G,At,ht,p,b,0,ut),ut&&(Y=Bi.quickSetter([c,f],ht.a,ao)),_t||_i.length&&!0===xi(pt,"fixedMarkers")||(H=lo(q=mt?qi:pt).position,q.style.position="absolute"===H||"fixed"===H?H:"relative",Bi.set([h,d],{force3D:!0}),S=Bi.quickSetter(h,ht.a,ao),A=Bi.quickSetter(d,ht.a,ao))}if(ut){var Pt=ut.vars.onUpdate,Rt=ut.vars.onUpdateParams;ut.eventCallback("onUpdate",function(){wt.update(0,0,1),Pt&&Pt.apply(ut,Rt||[])})}if(wt.previous=function(){return Co[Co.indexOf(wt)-1]},wt.next=function(){return Co[Co.indexOf(wt)+1]},wt.revert=function(t,e){if(!e)return wt.kill(!0);var n=!1!==t||!wt.enabled,i=Qi;n!==wt.isReverted&&(n&&(B=Math.max(Mt(),wt.scroll.rec||0),St=wt.progress,L=r&&r.progress()),c&&[c,f,h,d].forEach(function(t){return t.style.display=n?"none":"block"}),n&&(Qi=wt,wt.update(n)),!J||at&&wt.isActive||(n?function(t,e,r){Zo(r);var n=t._gsap;if(n.spacerIsNative)Zo(n.spacerState);else if(t._gsap.swappedIn){var i=e.parentNode;i&&(i.insertBefore(t,e),i.removeChild(e))}t._gsap.swappedIn=!1}(J,x,_):$o(J,x,lo(J),E)),n||wt.update(n),Qi=i,wt.isReverted=n)},wt.refresh=function(i,s,p,b){if(!Qi&&wt.enabled||s)if(J&&i&&Cs)mo(t,"scrollEnd",Do);else{!ys&&Tt&&Tt(wt),Qi=wt,n.tween&&!p&&(n.tween.kill(),n.tween=0),z&&z.pause(),et&&r&&(r.revert({kill:!1}).invalidate(),r.getChildren?r.getChildren(!0,!0,!1).forEach(function(t){return t.vars.immediateRender&&t.render(0,!0,!0)}):r.vars.immediateRender&&r.render(0,!0,!0)),wt.isReverted||wt.revert(!0,!0),wt._subPinOffset=!1;var T,O,S,A,P,R,D,F,I,Y,X,j,q,H=kt(),W=Ct(),U=ut?ut.duration():Ls(pt,ht),V=m<=.01||!m,G=0,$=b||0,Z=Hs(p)?p.end:e.end,rt=e.endTrigger||K,nt=Hs(p)?p.start:e.start||(0!==e.start&&K?J?"0 0":"0 100%":0),it=wt.pinnedContainer=e.pinnedContainer&&Ai(e.pinnedContainer,wt),st=K&&Math.max(0,Co.indexOf(wt))||0,ot=st;for(xt&&Hs(p)&&(j=Bi.getProperty(h,ht.p),q=Bi.getProperty(d,ht.p));ot-- >0;)(R=Co[ot]).end||R.refresh(0,1)||(Qi=wt),!(D=R.pin)||D!==K&&D!==J&&D!==it||R.isReverted||(Y||(Y=[]),Y.unshift(R),R.revert(!0,!0)),R!==Co[ot]&&(st--,ot--);for(js(nt)&&(nt=nt(wt)),nt=Es(nt,"start",wt),l=ta(nt,K,H,ht,Mt(),c,h,wt,W,bt,_t,U,ut,wt._startClamp&&"_startClamp")||(J?-.001:0),js(Z)&&(Z=Z(wt)),Xs(Z)&&!Z.indexOf("+=")&&(~Z.indexOf(" ")?Z=(Xs(nt)?nt.split(" ")[0]:"")+Z:(G=wo(Z.substr(2),H),Z=Xs(nt)?nt:(ut?Bi.utils.mapRange(0,ut.duration(),ut.scrollTrigger.start,ut.scrollTrigger.end,l):l)+G,rt=K)),Z=Es(Z,"end",wt),u=Math.max(l,ta(Z||(rt?"100% 0":U),rt,H,ht,Mt()+G,f,d,wt,W,bt,_t,U,ut,wt._endClamp&&"_endClamp"))||-.001,G=0,ot=st;ot--;)(D=(R=Co[ot]||{}).pin)&&R.start-R._pinPush<=l&&!ut&&R.end>0&&(T=R.end-(wt._startClamp?Math.max(0,R.start):R.start),(D===K&&R.start-R._pinPush<l||D===it)&&isNaN(nt)&&(G+=T*(1-R.progress)),D===J&&($+=T));if(l+=G,u+=G,wt._startClamp&&(wt._startClamp+=G),wt._endClamp&&!ys&&(wt._endClamp=u||-.001,u=Math.min(u,Ls(pt,ht))),m=u-l||(l-=.01)&&.001,V&&(St=Bi.utils.clamp(0,1,Bi.utils.normalize(l,u,B))),wt._pinPush=$,c&&G&&((T={})[ht.a]="+="+G,it&&(T[ht.p]="-="+Mt()),Bi.set([c,f],T)),!J||ms&&wt.end>=Ls(pt,ht)){if(K&&Mt()&&!ut)for(O=K.parentNode;O&&O!==qi;)O._pinOffset&&(l-=O._pinOffset,u-=O._pinOffset),O=O.parentNode}else T=lo(J),A=ht===Mi,S=Mt(),k=parseFloat(w(ht.a))+$,!U&&u>1&&(X={style:X=(mt?Xi.scrollingElement||ji:pt).style,value:X["overflow"+ht.a.toUpperCase()]},mt&&"scroll"!==lo(qi)["overflow"+ht.a.toUpperCase()]&&(X.style["overflow"+ht.a.toUpperCase()]="scroll")),$o(J,x,T),y=Ko(J),O=co(J,!0),F=_t&&Pi(pt,A?Si:Mi)(),tt?((E=[tt+ht.os2,m+$+ao]).t=x,(ot=tt===no?fo(J,ht)+m+$:0)&&(E.push(ht.d,ot+ao),"auto"!==x.style.flexBasis&&(x.style.flexBasis=ot+ao)),Zo(E),it&&Co.forEach(function(t){t.pin===it&&!1!==t.vars.pinSpacing&&(t._subPinOffset=!0)}),_t&&Mt(B)):(ot=fo(J,ht))&&"auto"!==x.style.flexBasis&&(x.style.flexBasis=ot+ao),_t&&((P={top:O.top+(A?S-l:F)+ao,left:O.left+(A?F:S-l)+ao,boxSizing:"border-box",position:"fixed"})[Zs]=P["max"+so]=Math.ceil(O.width)+ao,P[Ks]=P["max"+oo]=Math.ceil(O.height)+ao,P[io]=P[io+eo]=P[io+Js]=P[io+ro]=P[io+to]="0",P[no]=T[no],P[no+eo]=T[no+eo],P[no+Js]=T[no+Js],P[no+ro]=T[no+ro],P[no+to]=T[no+to],v=function(t,e,r){for(var n,i=[],s=t.length,o=r?8:0;o<s;o+=2)n=t[o],i.push(n,n in e?e[n]:t[o+1]);return i.t=t.t,i}(_,P,at),ys&&Mt(0)),r?(I=r._initted,is(1),r.render(r.duration(),!0,!0),C=w(ht.a)-k+m+$,M=Math.abs(m-C)>1,_t&&M&&v.splice(v.length-2,2),r.render(0,!0,!0),I||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),is(0)):C=m,X&&(X.value?X.style["overflow"+ht.a.toUpperCase()]=X.value:X.style.removeProperty("overflow-"+ht.a));Y&&Y.forEach(function(t){return t.revert(!1,!0)}),wt.start=l,wt.end=u,o=a=ys?B:Mt(),ut||ys||(o<B&&Mt(B),wt.scroll.rec=0),wt.revert(!1,!0),Et=Ts(),N&&(Ot=-1,N.restart(!0)),Qi=0,r&&dt&&(r._initted||L)&&r.progress()!==L&&r.progress(L||0,!0).render(r.time(),!0,!0),(V||St!==wt.progress||ut||et||r&&!r._initted)&&(r&&!dt&&(r._initted||St||!1!==r.vars.immediateRender)&&r.totalProgress(ut&&l<-.001&&!St?Bi.utils.normalize(l,u,0):St,!0),wt.progress=V||(o-l)/m===St?0:St),J&&tt&&(x._pinOffset=Math.round(wt.progress*C)),z&&z.invalidate(),isNaN(j)||(j-=Bi.getProperty(h,ht.p),q-=Bi.getProperty(d,ht.p),ia(h,ht,j),ia(c,ht,j-(b||0)),ia(d,ht,q),ia(f,ht,q-(b||0))),V&&!ys&&wt.update(),!Q||ys||g||(g=!0,Q(wt),g=!1)}},wt.getVelocity=function(){return(Mt()-a)/(Ts()-Gi)*1e3||0},wt.endAnimation=function(){Ws(wt.callbackAnimation),r&&(z?z.progress(1):r.paused()?dt||Ws(r,wt.direction<0,1):Ws(r,r.reversed()))},wt.labelToScroll=function(t){return r&&r.labels&&(l||wt.refresh()||l)+r.labels[t]/r.duration()*m||0},wt.getTrailing=function(t){var e=Co.indexOf(wt),r=wt.direction>0?Co.slice(0,e).reverse():Co.slice(e+1);return(Xs(t)?r.filter(function(e){return e.vars.preventOverlaps===t}):r).filter(function(t){return wt.direction>0?t.end<=l:t.start>=u})},wt.update=function(t,e,i){if(!ut||i||t){var s,c,f,d,p,g,_,b=!0===ys?B:wt.scroll(),w=t?0:(b-l)/m,E=w<0?0:w>1?1:w||0,P=wt.progress;if(e&&(a=o,o=ut?Mt():b,ot&&(D=R,R=r&&!dt?r.totalProgress():E)),rt&&J&&!Qi&&!ws&&Cs&&(!E&&l<b+(b-a)/(Ts()-Gi)*rt?E=1e-4:1===E&&u>b+(b-a)/(Ts()-Gi)*rt&&(E=.9999)),E!==P&&wt.enabled){if(d=(p=(s=wt.isActive=!!E&&E<1)!==(!!P&&P<1))||!!E!=!!P,wt.direction=E>P?1:-1,wt.progress=E,d&&!Qi&&(c=E&&!P?0:1===E?1:1===P?2:3,dt&&(f=!p&&"none"!==yt[c+1]&&yt[c+1]||yt[c],_=r&&("complete"===f||"reset"===f||f in r))),ft&&(p||_)&&(_||Z||!r)&&(js(ft)?ft(wt):wt.getTrailing(ft).forEach(function(t){return t.endAnimation()})),dt||(!z||Qi||ws?r&&r.totalProgress(E,!(!Qi||!Et&&!t)):(z._dp._time-z._start!==z._time&&z.render(z._dp._time-z._start),z.resetTo?z.resetTo("totalProgress",E,r._tTime/r._tDur):(z.vars.totalProgress=E,z.invalidate().restart()))),J)if(t&&tt&&(x.style[tt+ht.os2]=O),_t){if(d){if(g=!t&&E>P&&u+1>b&&b+1>=Ls(pt,ht),at)if(t||!s&&!g)ra(J,x);else{var F=co(J,!0),I=b-l;ra(J,qi,F.top+(ht===Mi?I:0)+ao,F.left+(ht===Mi?0:I)+ao)}Zo(s||g?v:y),M&&E<1&&s||T(k+(1!==E||g?0:C))}}else T(Ds(k+C*E));ot&&!n.tween&&!Qi&&!ws&&N.restart(!0),V&&(p||st&&E&&(E<1||!_s))&&Ui(V.targets).forEach(function(t){return t.classList[s||st?"add":"remove"](V.className)}),U&&!dt&&!t&&U(wt),d&&!Qi?(dt&&(_&&("complete"===f?r.pause().totalProgress(1):"reset"===f?r.restart(!0).pause():"restart"===f?r.restart(!0):r[f]()),U&&U(wt)),!p&&_s||($&&p&&Us(wt,$),vt[c]&&Us(wt,vt[c]),st&&(1===E?wt.kill(!1,1):vt[c]=0),p||vt[c=1===E?1:3]&&Us(wt,vt[c])),ct&&!s&&Math.abs(wt.getVelocity())>(qs(ct)?ct:2500)&&(Ws(wt.callbackAnimation),z?z.progress(1):Ws(r,"reverse"===f?1:!E,1))):dt&&U&&!Qi&&U(wt)}if(A){var L=ut?b/ut.duration()*(ut._caScrollDist||0):b;S(L+(h._isFlipped?1:0)),A(L)}Y&&Y(-b/ut.duration()*(ut._caScrollDist||0))}},wt.enable=function(e,r){wt.enabled||(wt.enabled=!0,mo(pt,"resize",Ao),mt||mo(pt,"scroll",So),Tt&&mo(t,"refreshInit",Tt),!1!==e&&(wt.progress=St=0,o=a=Ot=Mt()),!1!==r&&wt.refresh())},wt.getTween=function(t){return t&&n?n.tween:z},wt.setPositions=function(t,e,r,n){if(ut){var i=ut.scrollTrigger,s=ut.duration(),o=i.end-i.start;t=i.start+o*t/s,e=i.start+o*e/s}wt.refresh(!1,!1,{start:Ss(t,r&&!!wt._startClamp),end:Ss(e,r&&!!wt._endClamp)},n),wt.update()},wt.adjustPinSpacing=function(t){if(E&&t){var e=E.indexOf(ht.d)+1;E[e]=parseFloat(E[e])+t+ao,E[1]=parseFloat(E[1])+t+ao,Zo(E)}},wt.disable=function(e,r){if(!1!==e&&wt.revert(!0,!0),wt.enabled&&(wt.enabled=wt.isActive=!1,r||z&&z.pause(),B=0,i&&(i.uncache=1),Tt&&_o(t,"refreshInit",Tt),N&&(N.pause(),n.tween&&n.tween.kill()&&(n.tween=0)),!mt)){for(var s=Co.length;s--;)if(Co[s].scroller===pt&&Co[s]!==wt)return;_o(pt,"resize",Ao),mt||_o(pt,"scroll",So)}},wt.kill=function(t,n){wt.disable(t,n),z&&!n&&z.kill(),G&&delete Oo[G];var s=Co.indexOf(wt);s>=0&&Co.splice(s,1),s===Ji&&Wo>0&&Ji--,s=0,Co.forEach(function(t){return t.scroller===wt.scroller&&(s=1)}),s||ys||(wt.scroll.rec=0),r&&(r.scrollTrigger=null,t&&r.revert({kill:!1}),n||r.kill()),c&&[c,f,h,d].forEach(function(t){return t.parentNode&&t.parentNode.removeChild(t)}),bs===wt&&(bs=0),J&&(i&&(i.uncache=1),s=0,Co.forEach(function(t){return t.pin===J&&s++}),s||(i.spacer=0)),e.onKill&&e.onKill(wt)},Co.push(wt),wt.enable(!1,!1),X&&X(wt),r&&r.add&&!m){var Dt=wt.update;wt.update=function(){wt.update=Dt,mi.cache++,l||u||wt.refresh()},Bi.delayedCall(.01,wt.update),m=.01,l=u=0}else wt.refresh();J&&function(){if(xs!==Yo){var t=xs=Yo;requestAnimationFrame(function(){return t===Yo&&qo(!0)})}}()}else this.update=this.refresh=this.kill=Rs},t.register=function(e){return Li||(Bi=e||Fs(),zs()&&window.document&&t.enable(),Li=Os),Li},t.defaults=function(t){if(t)for(var e in t)xo[e]=t[e];return xo},t.disable=function(t,e){Os=0,Co.forEach(function(r){return r[e?"kill":"disable"](t)}),_o(Yi,"wheel",So),_o(Xi,"scroll",So),clearInterval($i),_o(Xi,"touchcancel",Rs),_o(qi,"touchstart",Rs),go(_o,Xi,"pointerdown,touchstart,mousedown",As),go(_o,Xi,"pointerup,touchend,mouseup",Ps),Wi.kill(),Ys(_o);for(var r=0;r<mi.length;r+=3)vo(_o,mi[r],mi[r+1]),vo(_o,mi[r],mi[r+2])},t.enable=function(){if(Yi=window,Xi=document,ji=Xi.documentElement,qi=Xi.body,Bi)if(Ui=Bi.utils.toArray,Vi=Bi.utils.clamp,fs=Bi.core.context||Rs,is=Bi.core.suppressOverwrites||Rs,hs=Yi.history.scrollRestoration||"auto",Ho=Yi.pageYOffset||0,Bi.core.globals("ScrollTrigger",t),qi){Os=1,(ds=document.createElement("div")).style.height="100vh",ds.style.position="absolute",Xo(),Ms(),Ni.register(Bi),t.isTouch=Ni.isTouch,cs=Ni.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),as=1===Ni.isTouch,mo(Yi,"wheel",So),Hi=[Yi,Xi,ji,qi],Bi.matchMedia?(t.matchMedia=function(t){var e,r=Bi.matchMedia();for(e in t)r.add(e,t[e]);return r},Bi.addEventListener("matchMediaInit",function(){No(),Bo()}),Bi.addEventListener("matchMediaRevert",function(){return Io()}),Bi.addEventListener("matchMedia",function(){qo(0,1),zo("matchMedia")}),Bi.matchMedia().add("(orientation: portrait)",function(){return Mo(),Mo})):console.warn("Requires GSAP 3.11.0 or later"),Mo(),mo(Xi,"scroll",So);var e,r,n=qi.hasAttribute("style"),i=qi.style,s=i.borderTopStyle,o=Bi.core.Animation.prototype;for(o.revert||Object.defineProperty(o,"revert",{value:function(){return this.time(-.01,!0)}}),i.borderTopStyle="solid",e=co(qi),Mi.m=Math.round(e.top+Mi.sc())||0,Si.m=Math.round(e.left+Si.sc())||0,s?i.borderTopStyle=s:i.removeProperty("border-top-style"),n||(qi.setAttribute("style",""),qi.removeAttribute("style")),$i=setInterval(Eo,250),Bi.delayedCall(.5,function(){return ws=0}),mo(Xi,"touchcancel",Rs),mo(qi,"touchstart",Rs),go(mo,Xi,"pointerdown,touchstart,mousedown",As),go(mo,Xi,"pointerup,touchend,mouseup",Ps),Ki=Bi.utils.checkPrefix("transform"),Go.push(Ki),Li=Ts(),Wi=Bi.delayedCall(.2,qo).pause(),rs=[Xi,"visibilitychange",function(){var t=Yi.innerWidth,e=Yi.innerHeight;Xi.hidden?(ts=t,es=e):ts===t&&es===e||Ao()},Xi,"DOMContentLoaded",qo,Yi,"load",qo,Yi,"resize",Ao],Ys(mo),Co.forEach(function(t){return t.enable(0,1)}),r=0;r<mi.length;r+=3)vo(_o,mi[r],mi[r+1]),vo(_o,mi[r],mi[r+2])}else if(Xi){Xi.addEventListener("DOMContentLoaded",function e(){t.enable(),Xi.removeEventListener("DOMContentLoaded",e)})}},t.config=function(e){"limitCallbacks"in e&&(_s=!!e.limitCallbacks);var r=e.syncInterval;r&&clearInterval($i)||($i=r)&&setInterval(Eo,r),"ignoreMobileResize"in e&&(as=1===t.isTouch&&e.ignoreMobileResize),"autoRefreshEvents"in e&&(Ys(_o)||Ys(mo,e.autoRefreshEvents||"none"),ss=-1===(e.autoRefreshEvents+"").indexOf("resize"))},t.scrollerProxy=function(t,e){var r=Ai(t),n=mi.indexOf(r),i=Is(r);~n&&mi.splice(n,i?6:2),e&&(i?_i.unshift(Yi,e,qi,e,ji,e):_i.unshift(r,e))},t.clearMatchMedia=function(t){Co.forEach(function(e){return e._ctx&&e._ctx.query===t&&e._ctx.kill(!0,!0)})},t.isInViewport=function(t,e,r){var n=(Xs(t)?Ai(t):t).getBoundingClientRect(),i=n[r?Zs:Ks]*e||0;return r?n.right-i>0&&n.left+i<Yi.innerWidth:n.bottom-i>0&&n.top+i<Yi.innerHeight},t.positionInViewport=function(t,e,r){Xs(t)&&(t=Ai(t));var n=t.getBoundingClientRect(),i=n[r?Zs:Ks],s=null==e?i/2:e in bo?bo[e]*i:~e.indexOf("%")?parseFloat(e)*i/100:parseFloat(e)||0;return r?(n.left+s)/Yi.innerWidth:(n.top+s)/Yi.innerHeight},t.killAll=function(t){if(Co.slice(0).forEach(function(t){return"ScrollSmoother"!==t.vars.id&&t.kill()}),!0!==t){var e=Po.killAll||[];Po={},e.forEach(function(t){return t()})}},t}();oa.version="3.15.0",oa.saveStyles=function(t){return t?Ui(t).forEach(function(t){if(t&&t.style){var e=Fo.indexOf(t);e>=0&&Fo.splice(e,5),Fo.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),Bi.core.getCache(t),fs())}}):Fo},oa.revert=function(t,e){return Bo(!t,e)},oa.create=function(t,e){return new oa(t,e)},oa.refresh=function(t){return t?Ao(!0):(Li||oa.register())&&qo(!0)},oa.update=function(t){return++mi.cache&&Uo(!0===t?2:0)},oa.clearScrollMemory=Lo,oa.maxScroll=function(t,e){return Ls(t,e?Si:Mi)},oa.getScrollFunc=function(t,e){return Pi(Ai(t),e?Si:Mi)},oa.getById=function(t){return Oo[t]},oa.getAll=function(){return Co.filter(function(t){return"ScrollSmoother"!==t.vars.id})},oa.isScrolling=function(){return!!Cs},oa.snapDirectional=po,oa.addEventListener=function(t,e){var r=Po[t]||(Po[t]=[]);~r.indexOf(e)||r.push(e)},oa.removeEventListener=function(t,e){var r=Po[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},oa.batch=function(t,e){var r,n=[],i={},s=e.interval||.016,o=e.batchMax||1e9,a=function(t,e){var r=[],n=[],i=Bi.delayedCall(s,function(){e(r,n),r=[],n=[]}).pause();return function(t){r.length||i.restart(!0),r.push(t.trigger),n.push(t),o<=r.length&&i.progress(1)}};for(r in e)i[r]="on"===r.substr(0,2)&&js(e[r])&&"onRefreshInit"!==r?a(0,e[r]):e[r];return js(o)&&(o=o(),mo(oa,"refresh",function(){return o=e.batchMax()})),Ui(t).forEach(function(t){var e={};for(r in i)e[r]=i[r];e.trigger=t,n.push(oa.create(e))}),n};var aa,la=function(t,e,r,n){return e>n?t(n):e<0&&t(0),r>n?(n-e)/(r-e):r<0?e/(e-r):1},ua=function t(e,r){!0===r?e.style.removeProperty("touch-action"):e.style.touchAction=!0===r?"auto":r?"pan-"+r+(Ni.isTouch?" pinch-zoom":""):"none",e===ji&&t(qi,r)},ca={auto:1,scroll:1},fa=function(t){var e,r=t.event,n=t.target,i=t.axis,s=(r.changedTouches?r.changedTouches[0]:r).target,o=s._gsap||Bi.core.getCache(s),a=Ts();if(!o._isScrollT||a-o._isScrollT>2e3){for(;s&&s!==qi&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!ca[(e=lo(s)).overflowY]&&!ca[e.overflowX]);)s=s.parentNode;o._isScroll=s&&s!==n&&!Is(s)&&(ca[(e=lo(s)).overflowY]||ca[e.overflowX]),o._isScrollT=a}(o._isScroll||"x"===i)&&(r.stopPropagation(),r._gsapAllow=!0)},ha=function(t,e,r,n){return Ni.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:e,onWheel:n=n&&fa,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&mo(Xi,Ni.eventTypes[0],pa,!1,!0)},onDisable:function(){return _o(Xi,Ni.eventTypes[0],pa,!0)}})},da=/(input|label|select|textarea)/i,pa=function(t){var e=da.test(t.target.tagName);(e||aa)&&(t._gsapAllow=!0,aa=e)},ga=function(t){Hs(t)||(t={}),t.preventDefault=t.isNormalizer=t.allowClicks=!0,t.type||(t.type="wheel,touch"),t.debounce=!!t.debounce,t.id=t.id||"normalizer";var e,r,n,i,s,o,a,l,u=t,c=u.normalizeScrollX,f=u.momentum,h=u.allowNestedScroll,d=u.onRelease,p=Ai(t.target)||ji,g=Bi.core.globals().ScrollSmoother,m=g&&g.get(),_=cs&&(t.content&&Ai(t.content)||m&&!1!==t.content&&!m.smooth()&&m.content()),v=Pi(p,Mi),y=Pi(p,Si),x=1,b=(Ni.isTouch&&Yi.visualViewport?Yi.visualViewport.scale*Yi.visualViewport.width:Yi.outerWidth)/Yi.innerWidth,w=0,T=js(f)?function(){return f(e)}:function(){return f||2.8},k=ha(p,t.type,!0,h),C=function(){return i=!1},O=Rs,E=Rs,S=function(){r=Ls(p,Mi),E=Vi(cs?1:0,r),c&&(O=Vi(0,Ls(p,Si))),n=Yo},M=function(){_._gsap.y=Ds(parseFloat(_._gsap.y)+v.offset)+"px",_.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(_._gsap.y)+", 0, 1)",v.offset=v.cacheID=0},A=function(){S(),s.isActive()&&s.vars.scrollY>r&&(v()>r?s.progress(1)&&v(r):s.resetTo("scrollY",r))};return _&&Bi.set(_,{y:"+=0"}),t.ignoreCheck=function(t){return cs&&"touchmove"===t.type&&function(){if(i){requestAnimationFrame(C);var t=Ds(e.deltaY/2),r=E(v.v-t);if(_&&r!==v.v+v.offset){v.offset=r-v.v;var n=Ds((parseFloat(_&&_._gsap.y)||0)-v.offset);_.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+n+", 0, 1)",_._gsap.y=n+"px",v.cacheID=mi.cache,Uo()}return!0}v.offset&&M(),i=!0}()||x>1.05&&"touchstart"!==t.type||e.isGesturing||t.touches&&t.touches.length>1},t.onPress=function(){i=!1;var t=x;x=Ds((Yi.visualViewport&&Yi.visualViewport.scale||1)/b),s.pause(),t!==x&&ua(p,x>1.01||!c&&"x"),o=y(),a=v(),S(),n=Yo},t.onRelease=t.onGestureStart=function(t,e){if(v.offset&&M(),e){mi.cache++;var n,i,o=T();c&&(i=(n=y())+.05*o*-t.velocityX/.227,o*=la(y,n,i,Ls(p,Si)),s.vars.scrollX=O(i)),i=(n=v())+.05*o*-t.velocityY/.227,o*=la(v,n,i,Ls(p,Mi)),s.vars.scrollY=E(i),s.invalidate().duration(o).play(.01),(cs&&s.vars.scrollY>=r||n>=r-1)&&Bi.to({},{onUpdate:A,duration:o})}else l.restart(!0);d&&d(t)},t.onWheel=function(){s._ts&&s.pause(),Ts()-w>1e3&&(n=0,w=Ts())},t.onChange=function(t,e,r,i,s){if(Yo!==n&&S(),e&&c&&y(O(i[2]===e?o+(t.startX-t.x):y()+e-i[1])),r){v.offset&&M();var l=s[2]===r,u=l?a+t.startY-t.y:v()+r-s[1],f=E(u);l&&u!==f&&(a+=f-u),v(f)}(r||e)&&Uo()},t.onEnable=function(){ua(p,!c&&"x"),oa.addEventListener("refresh",A),mo(Yi,"resize",A),v.smooth&&(v.target.style.scrollBehavior="auto",v.smooth=y.smooth=!1),k.enable()},t.onDisable=function(){ua(p,!0),_o(Yi,"resize",A),oa.removeEventListener("refresh",A),k.kill()},t.lockAxis=!1!==t.lockAxis,(e=new Ni(t)).iOS=cs,cs&&!v()&&v(1),cs&&Bi.ticker.add(Rs),l=e._dc,s=Bi.to(e,{ease:"power4",paused:!0,inherit:!1,scrollX:c?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:na(v,v(),function(){return s.pause()})},onUpdate:Uo,onComplete:l.vars.onComplete}),e};oa.sort=function(t){if(js(t))return Co.sort(t);var e=Yi.pageYOffset||0;return oa.getAll().forEach(function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+Yi.innerHeight}),Co.sort(t||function(t,e){return-1e6*(t.vars.refreshPriority||0)+(t.vars.containerAnimation?1e6:t._sortY)-((e.vars.containerAnimation?1e6:e._sortY)+-1e6*(e.vars.refreshPriority||0))})},oa.observe=function(t){return new Ni(t)},oa.normalizeScroll=function(t){if(void 0===t)return os;if(!0===t&&os)return os.enable();if(!1===t)return os&&os.kill(),void(os=t);var e=t instanceof Ni?t:ga(t);return os&&os.target===e.target&&os.kill(),Is(e.target)&&(os=e),e},oa.core={_getVelocityProp:Ri,_inputObserver:ha,_scrollers:mi,_proxies:_i,bridge:{ss:function(){Cs||zo("scrollStart"),Cs=Ts()},ref:function(){return Qi}}},Fs()&&Bi.registerPlugin(oa);const ma={findScrollingElement:function(t,e){let r=e?t:document.querySelector(t);for(;r;){const{overflowY:t}=getComputedStyle(r);if(("auto"===t||"scroll"===t)&&r.scrollHeight>r.clientHeight)return r;r=r.parentElement}return document.scrollingElement}},{findScrollingElement:_a}=ma;function va({scrollingElement:a,direction:l="normal",children:u=t("div",{children:"Nothing to Display, Please add some properly styled content"}),style:c,className:f,startAnimation:h="bottom",gsapScrollTrigger:d,scrollSpeed:p=1}){const g=r(),[m,_]=n(!1),[v,y]=n(0);return i(()=>{!function(){if(m)return;const t=function(){const t=g.current;if(!t)return;const e=t.children,r=e[0].getBoundingClientRect().width;let n=0;for(let t=0;t<e.length;t++)n+=e[t].getBoundingClientRect().width;return n-r}();t&&y(t),_(!0)}()},[]),s(()=>{const t=g.current;if(!t||!v)return;let e=Kn.context(()=>{var e,r;const n=a?document.querySelector(`${a}`):_a(t,!0),i=null!==(e={normal:-v,reverse:v,backward:v}[l])&&void 0!==e?e:-v,s=null!==(r={top:"top top",within:`top ${(window.innerHeight-t.getBoundingClientRect().height)/2}px`,bottom:"bottom bottom"}[h])&&void 0!==r?r:h,o=Kn.quickTo(t,"x",{ease:"power3.out",duration:.2});oa.create(Object.assign({trigger:t,scroller:n,start:s,end:`+=${v/p}px`,pin:!0,scrub:!0,invalidateOnRefresh:!0,onUpdate:t=>{o(i*t.progress)}},d))},g);return()=>e.revert()},[v,l,h,p,a,d]),t("div",{ref:g,style:Object.assign({width:"100%",height:"auto",position:"relative",display:"flex",alignItems:"flex-start",justifyContent:""+("backward"==l?"flex-end":"flex-start"),flexDirection:""+("reverse"==l?"row-reverse":"row")},c),className:`${f} scroll_container`,children:e.Children.map(u,(e,r)=>t(o,{children:e},r))})}Kn.registerPlugin(oa);var ya=Object.freeze({__proto__:null,default:va});function xa(t,e,r,n){return new(r||(r=Promise))(function(i,s){function o(t){try{l(n.next(t))}catch(t){s(t)}}function a(t){try{l(n.throw(t))}catch(t){s(t)}}function l(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r(function(t){t(e)})).then(o,a)}l((n=n.apply(t,e||[])).next())})}"function"==typeof SuppressedError&&SuppressedError;
36
+ var Ji,ts,es,rs,ns,is,ss,as,os,ls,us,cs,fs,hs,ds,ps,gs,ms,_s,vs,ys,xs,bs,ws,Ts,Os,Cs,ks,Es,Ss,Ms,As,Ps,Rs,Ds,zs,Fs,Ns,Is=1,Bs=Date.now,Ls=Bs(),js=0,Ys=0,Xs=function(t,e,r){var n=ra(t)&&("clamp("===t.substr(0,6)||t.indexOf("max")>-1);return r["_"+e+"Clamp"]=n,n?t.substr(6,t.length-7):t},Ws=function(t,e){return!e||ra(t)&&"clamp("===t.substr(0,6)?t:"clamp("+t+")"},qs=function t(){return Ys&&requestAnimationFrame(t)},Hs=function(){return hs=1},Us=function(){return hs=0},Vs=function(t){return t},Gs=function(t){return Math.round(1e5*t)/1e5||0},$s=function(){return"undefined"!=typeof window},Zs=function(){return Ji||$s()&&(Ji=window.gsap)&&Ji.registerPlugin&&Ji},Qs=function(t){return!!~ss.indexOf(t)},Ks=function(t){return("Height"===t?Ms:es["inner"+t])||ns["client"+t]||is["client"+t]},Js=function(t){return Fi(t,"getBoundingClientRect")||(Qs(t)?function(){return po.width=es.innerWidth,po.height=Ms,po}:function(){return Ca(t)})},ta=function(t,e){var r=e.s,n=e.d2,i=e.d,s=e.a;return Math.max(0,(r="scroll"+n)&&(s=Fi(t,r))?s()-Js(t)()[i]:Qs(t)?(ns[r]||is[r])-Ks(n):t[r]-t["offset"+n])},ea=function(t,e){for(var r=0;r<_s.length;r+=3)(!e||~e.indexOf(_s[r+1]))&&t(_s[r],_s[r+1],_s[r+2])},ra=function(t){return"string"==typeof t},na=function(t){return"function"==typeof t},ia=function(t){return"number"==typeof t},sa=function(t){return"object"==typeof t},aa=function(t,e,r){return t&&t.progress(e?0:1)&&r&&t.pause()},oa=function(t,e,r){if(t.enabled){var n=t._ctx?t._ctx.add(function(){return e(t,r)}):e(t,r);n&&n.totalTime&&(t.callbackAnimation=n)}},la=Math.abs,ua="left",ca="right",fa="bottom",ha="width",da="height",pa="Right",ga="Left",ma="Top",_a="Bottom",va="padding",ya="margin",xa="Width",ba="Height",wa="px",Ta=function(t){return es.getComputedStyle(t.nodeType===Node.DOCUMENT_NODE?t.scrollingElement:t)},Oa=function(t,e){for(var r in e)r in t||(t[r]=e[r]);return t},Ca=function(t,e){var r=e&&"matrix(1, 0, 0, 1, 0, 0)"!==Ta(t)[ds]&&Ji.to(t,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=t.getBoundingClientRect?t.getBoundingClientRect():t.scrollingElement.getBoundingClientRect();return r&&r.progress(0).kill(),n},ka=function(t,e){var r=e.d2;return t["offset"+r]||t["client"+r]||0},Ea=function(t){var e,r=[],n=t.labels,i=t.duration();for(e in n)r.push(n[e]/i);return r},Sa=function(t){var e=Ji.utils.snap(t),r=Array.isArray(t)&&t.slice(0).sort(function(t,e){return t-e});return r?function(t,n,i){var s;if(void 0===i&&(i=.001),!n)return e(t);if(n>0){for(t-=i,s=0;s<r.length;s++)if(r[s]>=t)return r[s];return r[s-1]}for(s=r.length,t+=i;s--;)if(r[s]<=t)return r[s];return r[0]}:function(r,n,i){void 0===i&&(i=.001);var s=e(r);return!n||Math.abs(s-r)<i||s-r<0==n<0?s:e(n<0?r-t:r+t)}},Ma=function(t,e,r,n){return r.split(",").forEach(function(r){return t(e,r,n)})},Aa=function(t,e,r,n,i){return t.addEventListener(e,r,{passive:!n,capture:!!i})},Pa=function(t,e,r,n){return t.removeEventListener(e,r,!!n)},Ra=function(t,e,r){(r=r&&r.wheelHandler)&&(t(e,"wheel",r),t(e,"touchmove",r))},Da={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},za={toggleActions:"play",anticipatePin:0},Fa={top:0,left:0,center:.5,bottom:1,right:1},Na=function(t,e){if(ra(t)){var r=t.indexOf("="),n=~r?+(t.charAt(r-1)+1)*parseFloat(t.substr(r+1)):0;~r&&(t.indexOf("%")>r&&(n*=e/100),t=t.substr(0,r-1)),t=n+(t in Fa?Fa[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},Ia=function(t,e,r,n,i,s,a,o){var l=i.startColor,u=i.endColor,c=i.fontSize,f=i.indent,h=i.fontWeight,d=rs.createElement("div"),p=Qs(r)||"fixed"===Fi(r,"pinType"),g=-1!==t.indexOf("scroller"),m=p?is:"IFRAME"===r.tagName?r.contentDocument.body:r,_=-1!==t.indexOf("start"),v=_?l:u,y="border-color:"+v+";font-size:"+c+";color:"+v+";font-weight:"+h+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return y+="position:"+((g||o)&&p?"fixed;":"absolute;"),(g||o||!p)&&(y+=(n===qi?ca:fa)+":"+(s+parseFloat(f))+"px;"),a&&(y+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),d._isStart=_,d.setAttribute("class","gsap-marker-"+t+(e?" marker-"+e:"")),d.style.cssText=y,d.innerText=e||0===e?t+"-"+e:t,m.children[0]?m.insertBefore(d,m.children[0]):m.appendChild(d),d._offset=d["offset"+n.op.d2],Ba(d,0,n,_),d},Ba=function(t,e,r,n){var i={display:"block"},s=r[n?"os2":"p2"],a=r[n?"p2":"os2"];t._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+s+xa]=1,i["border"+a+xa]=0,i[r.p]=e+"px",Ji.set(t,i)},La=[],ja={},Ya=function(){return Bs()-js>34&&(Ds||(Ds=requestAnimationFrame(ao)))},Xa=function(){(!bs||!bs.isPressed||bs.startX>is.clientWidth)&&(Pi.cache++,bs?Ds||(Ds=requestAnimationFrame(ao)):ao(),js||Ga("scrollStart"),js=Bs())},Wa=function(){Os=es.innerWidth,Ts=es.innerHeight},qa=function(t){Pi.cache++,(!0===t||!fs&&!xs&&!rs.fullscreenElement&&!rs.webkitFullscreenElement&&(!ws||Os!==es.innerWidth||Math.abs(es.innerHeight-Ts)>.25*es.innerHeight))&&as.restart(!0)},Ha={},Ua=[],Va=function t(){return Pa(bo,"scrollEnd",t)||no(!0)},Ga=function(t){return Ha[t]&&Ha[t].map(function(t){return t()})||Ua},$a=[],Za=function(t){for(var e=0;e<$a.length;e+=5)(!t||$a[e+4]&&$a[e+4].query===t)&&($a[e].style.cssText=$a[e+1],$a[e].getBBox&&$a[e].setAttribute("transform",$a[e+2]||""),$a[e+3].uncache=1)},Qa=function(){return Pi.forEach(function(t){return na(t)&&++t.cacheID&&(t.rec=t())})},Ka=function(t,e){var r;for(ps=0;ps<La.length;ps++)!(r=La[ps])||e&&r._ctx!==e||(t?r.kill(1):r.revert(!0,!0));As=!0,e&&Za(e),e||Ga("revert")},Ja=function(t,e){Pi.cache++,(e||!zs)&&Pi.forEach(function(t){return na(t)&&t.cacheID++&&(t.rec=0)}),ra(t)&&(es.history.scrollRestoration=Es=t)},to=0,eo=function(){is.appendChild(Ss),Ms=!bs&&Ss.offsetHeight||es.innerHeight,is.removeChild(Ss)},ro=function(t){return os(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(e){return e.style.display=t?"none":"block"})},no=function(t,e){if(ns=rs.documentElement,is=rs.body,ss=[es,rs,ns,is],!js||t||As){eo(),zs=bo.isRefreshing=!0,As||Qa();var r=Ga("refreshInit");vs&&bo.sort(),e||Ka(),Pi.forEach(function(t){na(t)&&(t.smooth&&(t.target.style.scrollBehavior="auto"),t(0))}),La.slice(0).forEach(function(t){return t.refresh()}),As=!1,La.forEach(function(t){if(t._subPinOffset&&t.pin){var e=t.vars.horizontal?"offsetWidth":"offsetHeight",r=t.pin[e];t.revert(!0,1),t.adjustPinSpacing(t.pin[e]-r),t.refresh()}}),Ps=1,ro(!0),La.forEach(function(t){var e=ta(t.scroller,t._dir),r="max"===t.vars.end||t._endClamp&&t.end>e,n=t._startClamp&&t.start>=e;(r||n)&&t.setPositions(n?e-1:t.start,r?Math.max(n?e:t.start+1,e):t.end,!0)}),ro(!1),Ps=0,r.forEach(function(t){return t&&t.render&&t.render(-1)}),Pi.forEach(function(t){na(t)&&(t.smooth&&requestAnimationFrame(function(){return t.target.style.scrollBehavior="smooth"}),t.rec&&t(t.rec))}),Ja(Es,1),as.pause(),to++,zs=2,ao(2),La.forEach(function(t){return na(t.vars.onRefresh)&&t.vars.onRefresh(t)}),zs=bo.isRefreshing=!1,Ga("refresh")}else Aa(bo,"scrollEnd",Va)},io=0,so=1,ao=function(t){if(2===t||!zs&&!As){bo.isUpdating=!0,Ns&&Ns.update(0);var e=La.length,r=Bs(),n=r-Ls>=50,i=e&&La[0].scroll();if(so=io>i?-1:1,zs||(io=i),n&&(js&&!hs&&r-js>200&&(js=0,Ga("scrollEnd")),us=Ls,Ls=r),so<0){for(ps=e;ps-- >0;)La[ps]&&La[ps].update(0,n);so=1}else for(ps=0;ps<e;ps++)La[ps]&&La[ps].update(0,n);bo.isUpdating=!1}Ds=0},oo=[ua,"top",fa,ca,ya+_a,ya+pa,ya+ma,ya+ga,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],lo=oo.concat([ha,da,"boxSizing","max"+xa,"max"+ba,"position",ya,va,va+ma,va+pa,va+_a,va+ga]),uo=function(t,e,r,n){if(!t._gsap.swappedIn){for(var i,s=oo.length,a=e.style,o=t.style;s--;)a[i=oo[s]]=r[i];a.position="absolute"===r.position?"absolute":"relative","inline"===r.display&&(a.display="inline-block"),o[fa]=o[ca]="auto",a.flexBasis=r.flexBasis||"auto",a.overflow="visible",a.boxSizing="border-box",a[ha]=ka(t,Wi)+wa,a[da]=ka(t,qi)+wa,a[va]=o[ya]=o.top=o[ua]="0",fo(n),o[ha]=o["max"+xa]=r[ha],o[da]=o["max"+ba]=r[da],o[va]=r[va],t.parentNode!==e&&(t.parentNode.insertBefore(e,t),e.appendChild(t)),t._gsap.swappedIn=!0}},co=/([A-Z])/g,fo=function(t){if(t){var e,r,n=t.t.style,i=t.length,s=0;for((t.t._gsap||Ji.core.getCache(t.t)).uncache=1;s<i;s+=2)r=t[s+1],e=t[s],r?n[e]=r:n[e]&&n.removeProperty(e.replace(co,"-$1").toLowerCase())}},ho=function(t){for(var e=lo.length,r=t.style,n=[],i=0;i<e;i++)n.push(lo[i],r[lo[i]]);return n.t=t,n},po={left:0,top:0},go=function(t,e,r,n,i,s,a,o,l,u,c,f,h,d){na(t)&&(t=t(o)),ra(t)&&"max"===t.substr(0,3)&&(t=f+("="===t.charAt(4)?Na("0"+t.substr(3),r):0));var p,g,m,_=h?h.time():0;if(h&&h.seek(0),isNaN(t)||(t=+t),ia(t))h&&(t=Ji.utils.mapRange(h.scrollTrigger.start,h.scrollTrigger.end,0,f,t)),a&&Ba(a,r,n,!0);else{na(e)&&(e=e(o));var v,y,x,b,w=(t||"0").split(" ");m=Hi(e,o)||is,(v=Ca(m)||{})&&(v.left||v.top)||"none"!==Ta(m).display||(b=m.style.display,m.style.display="block",v=Ca(m),b?m.style.display=b:m.style.removeProperty("display")),y=Na(w[0],v[n.d]),x=Na(w[1]||"0",r),t=v[n.p]-l[n.p]-u+y+i-x,a&&Ba(a,x,n,r-x<20||a._isStart&&x>20),r-=r-x}if(d&&(o[d]=t||-.001,t<0&&(t=0)),s){var T=t+r,O=s._isStart;p="scroll"+n.d2,Ba(s,T,n,O&&T>20||!O&&(c?Math.max(is[p],ns[p]):s.parentNode[p])<=T+1),c&&(l=Ca(a),c&&(s.style[n.op.p]=l[n.op.p]-n.op.m-s._offset+wa))}return h&&m&&(p=Ca(m),h.seek(f),g=Ca(m),h._caScrollDist=p[n.p]-g[n.p],t=t/h._caScrollDist*f),h&&h.seek(_),h?t:Math.round(t)},mo=/(webkit|moz|length|cssText|inset)/i,_o=function(t,e,r,n){if(t.parentNode!==e){var i,s,a=t.style;if(e===is){for(i in t._stOrig=a.cssText,s=Ta(t))+i||mo.test(i)||!s[i]||"string"!=typeof a[i]||"0"===i||(a[i]=s[i]);a.top=r,a.left=n}else a.cssText=t._stOrig;Ji.core.getCache(t).uncache=1,e.appendChild(t)}},vo=function(t,e,r){var n=e,i=n;return function(e){var s=Math.round(t());return s!==n&&s!==i&&Math.abs(s-n)>3&&Math.abs(s-i)>3&&(e=s,r&&r()),i=n,n=Math.round(e)}},yo=function(t,e,r){var n={};n[e.p]="+="+r,Ji.set(t,n)},xo=function(t,e){var r=Ui(t,e),n="_scroll"+e.p2,i=function e(i,s,a,o,l){var u=e.tween,c=s.onComplete,f={};a=a||r();var h=vo(r,a,function(){u.kill(),e.tween=0});return l=o&&l||0,o=o||i-a,u&&u.kill(),s[n]=i,s.inherit=!1,s.modifiers=f,f[n]=function(){return h(a+o*u.ratio+l*u.ratio*u.ratio)},s.onUpdate=function(){Pi.cache++,e.tween&&ao()},s.onComplete=function(){e.tween=0,c&&c.call(u)},u=e.tween=Ji.to(t,s)};return t[n]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},Aa(t,"wheel",r.wheelHandler),bo.isTouch&&Aa(t,"touchmove",r.wheelHandler),i},bo=function(){function t(e,r){ts||t.register(Ji)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),ks(this),this.init(e,r)}return t.prototype.init=function(e,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),Ys){var n,i,s,a,o,l,u,c,f,h,d,p,g,m,_,v,y,x,b,w,T,O,C,k,E,S,M,A,P,R,D,z,F,N,I,B,L,j,Y,X,W,q,H=e=Oa(ra(e)||ia(e)||e.nodeType?{trigger:e}:e,za),U=H.onUpdate,V=H.toggleClass,G=H.id,$=H.onToggle,Z=H.onRefresh,Q=H.scrub,K=H.trigger,J=H.pin,tt=H.pinSpacing,et=H.invalidateOnRefresh,rt=H.anticipatePin,nt=H.onScrubComplete,it=H.onSnapComplete,st=H.once,at=H.snap,ot=H.pinReparent,lt=H.pinSpacer,ut=H.containerAnimation,ct=H.fastScrollEnd,ft=H.preventOverlaps,ht=e.horizontal||e.containerAnimation&&!1!==e.horizontal?Wi:qi,dt=!Q&&0!==Q,pt=Hi(e.scroller||es),gt=Ji.core.getCache(pt),mt=Qs(pt),_t="fixed"===("pinType"in e?e.pinType:Fi(pt,"pinType")||mt&&"fixed"),vt=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],yt=dt&&e.toggleActions.split(" "),xt="markers"in e?e.markers:za.markers,bt=mt?0:parseFloat(Ta(pt)["border"+ht.p2+xa])||0,wt=this,Tt=e.onRefreshInit&&function(){return e.onRefreshInit(wt)},Ot=function(t,e,r){var n=r.d,i=r.d2,s=r.a;return(s=Fi(t,"getBoundingClientRect"))?function(){return s()[n]}:function(){return(e?Ks(i):t["client"+i])||0}}(pt,mt,ht),Ct=function(t,e){return!e||~Ri.indexOf(t)?Js(t):function(){return po}}(pt,mt),kt=0,Et=0,St=0,Mt=Ui(pt,ht);if(wt._startClamp=wt._endClamp=!1,wt._dir=ht,rt*=45,wt.scroller=pt,wt.scroll=ut?ut.time.bind(ut):Mt,a=Mt(),wt.vars=e,r=r||e.animation,"refreshPriority"in e&&(vs=1,-9999===e.refreshPriority&&(Ns=wt)),gt.tweenScroll=gt.tweenScroll||{top:xo(pt,qi),left:xo(pt,Wi)},wt.tweenTo=n=gt.tweenScroll[ht.p],wt.scrubDuration=function(t){(F=ia(t)&&t)?z?z.duration(t):z=Ji.to(r,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:F,paused:!0,onComplete:function(){return nt&&nt(wt)}}):(z&&z.progress(1).kill(),z=0)},r&&(r.vars.lazy=!1,r._initted&&!wt.isReverted||!1!==r.vars.immediateRender&&!1!==e.immediateRender&&r.duration()&&r.render(0,!0,!0),wt.animation=r.pause(),r.scrollTrigger=wt,wt.scrubDuration(Q),R=0,G||(G=r.vars.id)),at&&(sa(at)&&!at.push||(at={snapTo:at}),"scrollBehavior"in is.style&&Ji.set(mt?[is,ns]:pt,{scrollBehavior:"auto"}),Pi.forEach(function(t){return na(t)&&t.target===(mt?rs.scrollingElement||ns:pt)&&(t.smooth=!1)}),s=na(at.snapTo)?at.snapTo:"labels"===at.snapTo?function(t){return function(e){return Ji.utils.snap(Ea(t),e)}}(r):"labelsDirectional"===at.snapTo?(X=r,function(t,e){return Sa(Ea(X))(t,e.direction)}):!1!==at.directional?function(t,e){return Sa(at.snapTo)(t,Bs()-Et<500?0:e.direction)}:Ji.utils.snap(at.snapTo),N=at.duration||{min:.1,max:2},N=sa(N)?ls(N.min,N.max):ls(N,N),I=Ji.delayedCall(at.delay||F/2||.1,function(){var t=Mt(),e=Bs()-Et<500,i=n.tween;if(!(e||Math.abs(wt.getVelocity())<10)||i||hs||kt===t)wt.isActive&&kt!==t&&I.restart(!0);else{var a,o,c=(t-l)/m,f=r&&!dt?r.totalProgress():c,h=e?0:(f-D)/(Bs()-us)*1e3||0,d=Ji.utils.clamp(-c,1-c,la(h/2)*h/.185),p=c+(!1===at.inertia?0:d),g=at,_=g.onStart,v=g.onInterrupt,y=g.onComplete;if(a=s(p,wt),ia(a)||(a=p),o=Math.max(0,Math.round(l+a*m)),t<=u&&t>=l&&o!==t){if(i&&!i._initted&&i.data<=la(o-t))return;!1===at.inertia&&(d=a-c),n(o,{duration:N(la(.185*Math.max(la(p-f),la(a-f))/h/.05||0)),ease:at.ease||"power3",data:la(o-t),onInterrupt:function(){return I.restart(!0)&&v&&oa(wt,v)},onComplete:function(){wt.update(),kt=Mt(),r&&!dt&&(z?z.resetTo("totalProgress",a,r._tTime/r._tDur):r.progress(a)),R=D=r&&!dt?r.totalProgress():wt.progress,it&&it(wt),y&&oa(wt,y)}},t,d*m,o-t-d*m),_&&oa(wt,_,n.tween)}}}).pause()),G&&(ja[G]=wt),(Y=(K=wt.trigger=Hi(K||!0!==J&&J))&&K._gsap&&K._gsap.stRevert)&&(Y=Y(wt)),J=!0===J?K:Hi(J),ra(V)&&(V={targets:K,className:V}),J&&(!1===tt||tt===ya||(tt=!(!tt&&J.parentNode&&J.parentNode.style&&"flex"===Ta(J.parentNode).display)&&va),wt.pin=J,(i=Ji.core.getCache(J)).spacer?_=i.pinState:(lt&&((lt=Hi(lt))&&!lt.nodeType&&(lt=lt.current||lt.nativeElement),i.spacerIsNative=!!lt,lt&&(i.spacerState=ho(lt))),i.spacer=x=lt||rs.createElement("div"),x.classList.add("pin-spacer"),G&&x.classList.add("pin-spacer-"+G),i.pinState=_=ho(J)),!1!==e.force3D&&Ji.set(J,{force3D:!0}),wt.spacer=x=i.spacer,P=Ta(J),k=P[tt+ht.os2],w=Ji.getProperty(J),T=Ji.quickSetter(J,ht.a,wa),uo(J,x,P),y=ho(J)),xt){p=sa(xt)?Oa(xt,Da):Da,h=Ia("scroller-start",G,pt,ht,p,0),d=Ia("scroller-end",G,pt,ht,p,0,h),b=h["offset"+ht.op.d2];var At=Hi(Fi(pt,"content")||pt);c=this.markerStart=Ia("start",G,At,ht,p,b,0,ut),f=this.markerEnd=Ia("end",G,At,ht,p,b,0,ut),ut&&(j=Ji.quickSetter([c,f],ht.a,wa)),_t||Ri.length&&!0===Fi(pt,"fixedMarkers")||(q=Ta(W=mt?is:pt).position,W.style.position="absolute"===q||"fixed"===q?q:"relative",Ji.set([h,d],{force3D:!0}),S=Ji.quickSetter(h,ht.a,wa),A=Ji.quickSetter(d,ht.a,wa))}if(ut){var Pt=ut.vars.onUpdate,Rt=ut.vars.onUpdateParams;ut.eventCallback("onUpdate",function(){wt.update(0,0,1),Pt&&Pt.apply(ut,Rt||[])})}if(wt.previous=function(){return La[La.indexOf(wt)-1]},wt.next=function(){return La[La.indexOf(wt)+1]},wt.revert=function(t,e){if(!e)return wt.kill(!0);var n=!1!==t||!wt.enabled,i=fs;n!==wt.isReverted&&(n&&(B=Math.max(Mt(),wt.scroll.rec||0),St=wt.progress,L=r&&r.progress()),c&&[c,f,h,d].forEach(function(t){return t.style.display=n?"none":"block"}),n&&(fs=wt,wt.update(n)),!J||ot&&wt.isActive||(n?function(t,e,r){fo(r);var n=t._gsap;if(n.spacerIsNative)fo(n.spacerState);else if(t._gsap.swappedIn){var i=e.parentNode;i&&(i.insertBefore(t,e),i.removeChild(e))}t._gsap.swappedIn=!1}(J,x,_):uo(J,x,Ta(J),E)),n||wt.update(n),fs=i,wt.isReverted=n)},wt.refresh=function(i,s,p,b){if(!fs&&wt.enabled||s)if(J&&i&&js)Aa(t,"scrollEnd",Va);else{!zs&&Tt&&Tt(wt),fs=wt,n.tween&&!p&&(n.tween.kill(),n.tween=0),z&&z.pause(),et&&r&&(r.revert({kill:!1}).invalidate(),r.getChildren?r.getChildren(!0,!0,!1).forEach(function(t){return t.vars.immediateRender&&t.render(0,!0,!0)}):r.vars.immediateRender&&r.render(0,!0,!0)),wt.isReverted||wt.revert(!0,!0),wt._subPinOffset=!1;var T,k,S,A,P,R,D,F,N,j,Y,X,W,q=Ot(),H=Ct(),U=ut?ut.duration():ta(pt,ht),V=m<=.01||!m,G=0,$=b||0,Q=sa(p)?p.end:e.end,rt=e.endTrigger||K,nt=sa(p)?p.start:e.start||(0!==e.start&&K?J?"0 0":"0 100%":0),it=wt.pinnedContainer=e.pinnedContainer&&Hi(e.pinnedContainer,wt),st=K&&Math.max(0,La.indexOf(wt))||0,at=st;for(xt&&sa(p)&&(X=Ji.getProperty(h,ht.p),W=Ji.getProperty(d,ht.p));at-- >0;)(R=La[at]).end||R.refresh(0,1)||(fs=wt),!(D=R.pin)||D!==K&&D!==J&&D!==it||R.isReverted||(j||(j=[]),j.unshift(R),R.revert(!0,!0)),R!==La[at]&&(st--,at--);for(na(nt)&&(nt=nt(wt)),nt=Xs(nt,"start",wt),l=go(nt,K,q,ht,Mt(),c,h,wt,H,bt,_t,U,ut,wt._startClamp&&"_startClamp")||(J?-.001:0),na(Q)&&(Q=Q(wt)),ra(Q)&&!Q.indexOf("+=")&&(~Q.indexOf(" ")?Q=(ra(nt)?nt.split(" ")[0]:"")+Q:(G=Na(Q.substr(2),q),Q=ra(nt)?nt:(ut?Ji.utils.mapRange(0,ut.duration(),ut.scrollTrigger.start,ut.scrollTrigger.end,l):l)+G,rt=K)),Q=Xs(Q,"end",wt),u=Math.max(l,go(Q||(rt?"100% 0":U),rt,q,ht,Mt()+G,f,d,wt,H,bt,_t,U,ut,wt._endClamp&&"_endClamp"))||-.001,G=0,at=st;at--;)(D=(R=La[at]||{}).pin)&&R.start-R._pinPush<=l&&!ut&&R.end>0&&(T=R.end-(wt._startClamp?Math.max(0,R.start):R.start),(D===K&&R.start-R._pinPush<l||D===it)&&isNaN(nt)&&(G+=T*(1-R.progress)),D===J&&($+=T));if(l+=G,u+=G,wt._startClamp&&(wt._startClamp+=G),wt._endClamp&&!zs&&(wt._endClamp=u||-.001,u=Math.min(u,ta(pt,ht))),m=u-l||(l-=.01)&&.001,V&&(St=Ji.utils.clamp(0,1,Ji.utils.normalize(l,u,B))),wt._pinPush=$,c&&G&&((T={})[ht.a]="+="+G,it&&(T[ht.p]="-="+Mt()),Ji.set([c,f],T)),!J||Ps&&wt.end>=ta(pt,ht)){if(K&&Mt()&&!ut)for(k=K.parentNode;k&&k!==is;)k._pinOffset&&(l-=k._pinOffset,u-=k._pinOffset),k=k.parentNode}else T=Ta(J),A=ht===qi,S=Mt(),O=parseFloat(w(ht.a))+$,!U&&u>1&&(Y={style:Y=(mt?rs.scrollingElement||ns:pt).style,value:Y["overflow"+ht.a.toUpperCase()]},mt&&"scroll"!==Ta(is)["overflow"+ht.a.toUpperCase()]&&(Y.style["overflow"+ht.a.toUpperCase()]="scroll")),uo(J,x,T),y=ho(J),k=Ca(J,!0),F=_t&&Ui(pt,A?Wi:qi)(),tt?((E=[tt+ht.os2,m+$+wa]).t=x,(at=tt===va?ka(J,ht)+m+$:0)&&(E.push(ht.d,at+wa),"auto"!==x.style.flexBasis&&(x.style.flexBasis=at+wa)),fo(E),it&&La.forEach(function(t){t.pin===it&&!1!==t.vars.pinSpacing&&(t._subPinOffset=!0)}),_t&&Mt(B)):(at=ka(J,ht))&&"auto"!==x.style.flexBasis&&(x.style.flexBasis=at+wa),_t&&((P={top:k.top+(A?S-l:F)+wa,left:k.left+(A?F:S-l)+wa,boxSizing:"border-box",position:"fixed"})[ha]=P["max"+xa]=Math.ceil(k.width)+wa,P[da]=P["max"+ba]=Math.ceil(k.height)+wa,P[ya]=P[ya+ma]=P[ya+pa]=P[ya+_a]=P[ya+ga]="0",P[va]=T[va],P[va+ma]=T[va+ma],P[va+pa]=T[va+pa],P[va+_a]=T[va+_a],P[va+ga]=T[va+ga],v=function(t,e,r){for(var n,i=[],s=t.length,a=r?8:0;a<s;a+=2)n=t[a],i.push(n,n in e?e[n]:t[a+1]);return i.t=t.t,i}(_,P,ot),zs&&Mt(0)),r?(N=r._initted,ys(1),r.render(r.duration(),!0,!0),C=w(ht.a)-O+m+$,M=Math.abs(m-C)>1,_t&&M&&v.splice(v.length-2,2),r.render(0,!0,!0),N||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),ys(0)):C=m,Y&&(Y.value?Y.style["overflow"+ht.a.toUpperCase()]=Y.value:Y.style.removeProperty("overflow-"+ht.a));j&&j.forEach(function(t){return t.revert(!1,!0)}),wt.start=l,wt.end=u,a=o=zs?B:Mt(),ut||zs||(a<B&&Mt(B),wt.scroll.rec=0),wt.revert(!1,!0),Et=Bs(),I&&(kt=-1,I.restart(!0)),fs=0,r&&dt&&(r._initted||L)&&r.progress()!==L&&r.progress(L||0,!0).render(r.time(),!0,!0),(V||St!==wt.progress||ut||et||r&&!r._initted)&&(r&&!dt&&(r._initted||St||!1!==r.vars.immediateRender)&&r.totalProgress(ut&&l<-.001&&!St?Ji.utils.normalize(l,u,0):St,!0),wt.progress=V||(a-l)/m===St?0:St),J&&tt&&(x._pinOffset=Math.round(wt.progress*C)),z&&z.invalidate(),isNaN(X)||(X-=Ji.getProperty(h,ht.p),W-=Ji.getProperty(d,ht.p),yo(h,ht,X),yo(c,ht,X-(b||0)),yo(d,ht,W),yo(f,ht,W-(b||0))),V&&!zs&&wt.update(),!Z||zs||g||(g=!0,Z(wt),g=!1)}},wt.getVelocity=function(){return(Mt()-o)/(Bs()-us)*1e3||0},wt.endAnimation=function(){aa(wt.callbackAnimation),r&&(z?z.progress(1):r.paused()?dt||aa(r,wt.direction<0,1):aa(r,r.reversed()))},wt.labelToScroll=function(t){return r&&r.labels&&(l||wt.refresh()||l)+r.labels[t]/r.duration()*m||0},wt.getTrailing=function(t){var e=La.indexOf(wt),r=wt.direction>0?La.slice(0,e).reverse():La.slice(e+1);return(ra(t)?r.filter(function(e){return e.vars.preventOverlaps===t}):r).filter(function(t){return wt.direction>0?t.end<=l:t.start>=u})},wt.update=function(t,e,i){if(!ut||i||t){var s,c,f,d,p,g,_,b=!0===zs?B:wt.scroll(),w=t?0:(b-l)/m,E=w<0?0:w>1?1:w||0,P=wt.progress;if(e&&(o=a,a=ut?Mt():b,at&&(D=R,R=r&&!dt?r.totalProgress():E)),rt&&J&&!fs&&!Is&&js&&(!E&&l<b+(b-o)/(Bs()-us)*rt?E=1e-4:1===E&&u>b+(b-o)/(Bs()-us)*rt&&(E=.9999)),E!==P&&wt.enabled){if(d=(p=(s=wt.isActive=!!E&&E<1)!==(!!P&&P<1))||!!E!=!!P,wt.direction=E>P?1:-1,wt.progress=E,d&&!fs&&(c=E&&!P?0:1===E?1:1===P?2:3,dt&&(f=!p&&"none"!==yt[c+1]&&yt[c+1]||yt[c],_=r&&("complete"===f||"reset"===f||f in r))),ft&&(p||_)&&(_||Q||!r)&&(na(ft)?ft(wt):wt.getTrailing(ft).forEach(function(t){return t.endAnimation()})),dt||(!z||fs||Is?r&&r.totalProgress(E,!(!fs||!Et&&!t)):(z._dp._time-z._start!==z._time&&z.render(z._dp._time-z._start),z.resetTo?z.resetTo("totalProgress",E,r._tTime/r._tDur):(z.vars.totalProgress=E,z.invalidate().restart()))),J)if(t&&tt&&(x.style[tt+ht.os2]=k),_t){if(d){if(g=!t&&E>P&&u+1>b&&b+1>=ta(pt,ht),ot)if(t||!s&&!g)_o(J,x);else{var F=Ca(J,!0),N=b-l;_o(J,is,F.top+(ht===qi?N:0)+wa,F.left+(ht===qi?0:N)+wa)}fo(s||g?v:y),M&&E<1&&s||T(O+(1!==E||g?0:C))}}else T(Gs(O+C*E));at&&!n.tween&&!fs&&!Is&&I.restart(!0),V&&(p||st&&E&&(E<1||!Rs))&&os(V.targets).forEach(function(t){return t.classList[s||st?"add":"remove"](V.className)}),U&&!dt&&!t&&U(wt),d&&!fs?(dt&&(_&&("complete"===f?r.pause().totalProgress(1):"reset"===f?r.restart(!0).pause():"restart"===f?r.restart(!0):r[f]()),U&&U(wt)),!p&&Rs||($&&p&&oa(wt,$),vt[c]&&oa(wt,vt[c]),st&&(1===E?wt.kill(!1,1):vt[c]=0),p||vt[c=1===E?1:3]&&oa(wt,vt[c])),ct&&!s&&Math.abs(wt.getVelocity())>(ia(ct)?ct:2500)&&(aa(wt.callbackAnimation),z?z.progress(1):aa(r,"reverse"===f?1:!E,1))):dt&&U&&!fs&&U(wt)}if(A){var L=ut?b/ut.duration()*(ut._caScrollDist||0):b;S(L+(h._isFlipped?1:0)),A(L)}j&&j(-b/ut.duration()*(ut._caScrollDist||0))}},wt.enable=function(e,r){wt.enabled||(wt.enabled=!0,Aa(pt,"resize",qa),mt||Aa(pt,"scroll",Xa),Tt&&Aa(t,"refreshInit",Tt),!1!==e&&(wt.progress=St=0,a=o=kt=Mt()),!1!==r&&wt.refresh())},wt.getTween=function(t){return t&&n?n.tween:z},wt.setPositions=function(t,e,r,n){if(ut){var i=ut.scrollTrigger,s=ut.duration(),a=i.end-i.start;t=i.start+a*t/s,e=i.start+a*e/s}wt.refresh(!1,!1,{start:Ws(t,r&&!!wt._startClamp),end:Ws(e,r&&!!wt._endClamp)},n),wt.update()},wt.adjustPinSpacing=function(t){if(E&&t){var e=E.indexOf(ht.d)+1;E[e]=parseFloat(E[e])+t+wa,E[1]=parseFloat(E[1])+t+wa,fo(E)}},wt.disable=function(e,r){if(!1!==e&&wt.revert(!0,!0),wt.enabled&&(wt.enabled=wt.isActive=!1,r||z&&z.pause(),B=0,i&&(i.uncache=1),Tt&&Pa(t,"refreshInit",Tt),I&&(I.pause(),n.tween&&n.tween.kill()&&(n.tween=0)),!mt)){for(var s=La.length;s--;)if(La[s].scroller===pt&&La[s]!==wt)return;Pa(pt,"resize",qa),mt||Pa(pt,"scroll",Xa)}},wt.kill=function(t,n){wt.disable(t,n),z&&!n&&z.kill(),G&&delete ja[G];var s=La.indexOf(wt);s>=0&&La.splice(s,1),s===ps&&so>0&&ps--,s=0,La.forEach(function(t){return t.scroller===wt.scroller&&(s=1)}),s||zs||(wt.scroll.rec=0),r&&(r.scrollTrigger=null,t&&r.revert({kill:!1}),n||r.kill()),c&&[c,f,h,d].forEach(function(t){return t.parentNode&&t.parentNode.removeChild(t)}),Ns===wt&&(Ns=0),J&&(i&&(i.uncache=1),s=0,La.forEach(function(t){return t.pin===J&&s++}),s||(i.spacer=0)),e.onKill&&e.onKill(wt)},La.push(wt),wt.enable(!1,!1),Y&&Y(wt),r&&r.add&&!m){var Dt=wt.update;wt.update=function(){wt.update=Dt,Pi.cache++,l||u||wt.refresh()},Ji.delayedCall(.01,wt.update),m=.01,l=u=0}else wt.refresh();J&&function(){if(Fs!==to){var t=Fs=to;requestAnimationFrame(function(){return t===to&&no(!0)})}}()}else this.update=this.refresh=this.kill=Vs},t.register=function(e){return ts||(Ji=e||Zs(),$s()&&window.document&&t.enable(),ts=Ys),ts},t.defaults=function(t){if(t)for(var e in t)za[e]=t[e];return za},t.disable=function(t,e){Ys=0,La.forEach(function(r){return r[e?"kill":"disable"](t)}),Pa(es,"wheel",Xa),Pa(rs,"scroll",Xa),clearInterval(cs),Pa(rs,"touchcancel",Vs),Pa(is,"touchstart",Vs),Ma(Pa,rs,"pointerdown,touchstart,mousedown",Hs),Ma(Pa,rs,"pointerup,touchend,mouseup",Us),as.kill(),ea(Pa);for(var r=0;r<Pi.length;r+=3)Ra(Pa,Pi[r],Pi[r+1]),Ra(Pa,Pi[r],Pi[r+2])},t.enable=function(){if(es=window,rs=document,ns=rs.documentElement,is=rs.body,Ji)if(os=Ji.utils.toArray,ls=Ji.utils.clamp,ks=Ji.core.context||Vs,ys=Ji.core.suppressOverwrites||Vs,Es=es.history.scrollRestoration||"auto",io=es.pageYOffset||0,Ji.core.globals("ScrollTrigger",t),is){Ys=1,(Ss=document.createElement("div")).style.height="100vh",Ss.style.position="absolute",eo(),qs(),Ki.register(Ji),t.isTouch=Ki.isTouch,Cs=Ki.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),ws=1===Ki.isTouch,Aa(es,"wheel",Xa),ss=[es,rs,ns,is],Ji.matchMedia?(t.matchMedia=function(t){var e,r=Ji.matchMedia();for(e in t)r.add(e,t[e]);return r},Ji.addEventListener("matchMediaInit",function(){Qa(),Ka()}),Ji.addEventListener("matchMediaRevert",function(){return Za()}),Ji.addEventListener("matchMedia",function(){no(0,1),Ga("matchMedia")}),Ji.matchMedia().add("(orientation: portrait)",function(){return Wa(),Wa})):console.warn("Requires GSAP 3.11.0 or later"),Wa(),Aa(rs,"scroll",Xa);var e,r,n=is.hasAttribute("style"),i=is.style,s=i.borderTopStyle,a=Ji.core.Animation.prototype;for(a.revert||Object.defineProperty(a,"revert",{value:function(){return this.time(-.01,!0)}}),i.borderTopStyle="solid",e=Ca(is),qi.m=Math.round(e.top+qi.sc())||0,Wi.m=Math.round(e.left+Wi.sc())||0,s?i.borderTopStyle=s:i.removeProperty("border-top-style"),n||(is.setAttribute("style",""),is.removeAttribute("style")),cs=setInterval(Ya,250),Ji.delayedCall(.5,function(){return Is=0}),Aa(rs,"touchcancel",Vs),Aa(is,"touchstart",Vs),Ma(Aa,rs,"pointerdown,touchstart,mousedown",Hs),Ma(Aa,rs,"pointerup,touchend,mouseup",Us),ds=Ji.utils.checkPrefix("transform"),lo.push(ds),ts=Bs(),as=Ji.delayedCall(.2,no).pause(),_s=[rs,"visibilitychange",function(){var t=es.innerWidth,e=es.innerHeight;rs.hidden?(gs=t,ms=e):gs===t&&ms===e||qa()},rs,"DOMContentLoaded",no,es,"load",no,es,"resize",qa],ea(Aa),La.forEach(function(t){return t.enable(0,1)}),r=0;r<Pi.length;r+=3)Ra(Pa,Pi[r],Pi[r+1]),Ra(Pa,Pi[r],Pi[r+2])}else if(rs){rs.addEventListener("DOMContentLoaded",function e(){t.enable(),rs.removeEventListener("DOMContentLoaded",e)})}},t.config=function(e){"limitCallbacks"in e&&(Rs=!!e.limitCallbacks);var r=e.syncInterval;r&&clearInterval(cs)||(cs=r)&&setInterval(Ya,r),"ignoreMobileResize"in e&&(ws=1===t.isTouch&&e.ignoreMobileResize),"autoRefreshEvents"in e&&(ea(Pa)||ea(Aa,e.autoRefreshEvents||"none"),xs=-1===(e.autoRefreshEvents+"").indexOf("resize"))},t.scrollerProxy=function(t,e){var r=Hi(t),n=Pi.indexOf(r),i=Qs(r);~n&&Pi.splice(n,i?6:2),e&&(i?Ri.unshift(es,e,is,e,ns,e):Ri.unshift(r,e))},t.clearMatchMedia=function(t){La.forEach(function(e){return e._ctx&&e._ctx.query===t&&e._ctx.kill(!0,!0)})},t.isInViewport=function(t,e,r){var n=(ra(t)?Hi(t):t).getBoundingClientRect(),i=n[r?ha:da]*e||0;return r?n.right-i>0&&n.left+i<es.innerWidth:n.bottom-i>0&&n.top+i<es.innerHeight},t.positionInViewport=function(t,e,r){ra(t)&&(t=Hi(t));var n=t.getBoundingClientRect(),i=n[r?ha:da],s=null==e?i/2:e in Fa?Fa[e]*i:~e.indexOf("%")?parseFloat(e)*i/100:parseFloat(e)||0;return r?(n.left+s)/es.innerWidth:(n.top+s)/es.innerHeight},t.killAll=function(t){if(La.slice(0).forEach(function(t){return"ScrollSmoother"!==t.vars.id&&t.kill()}),!0!==t){var e=Ha.killAll||[];Ha={},e.forEach(function(t){return t()})}},t}();bo.version="3.15.0",bo.saveStyles=function(t){return t?os(t).forEach(function(t){if(t&&t.style){var e=$a.indexOf(t);e>=0&&$a.splice(e,5),$a.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),Ji.core.getCache(t),ks())}}):$a},bo.revert=function(t,e){return Ka(!t,e)},bo.create=function(t,e){return new bo(t,e)},bo.refresh=function(t){return t?qa(!0):(ts||bo.register())&&no(!0)},bo.update=function(t){return++Pi.cache&&ao(!0===t?2:0)},bo.clearScrollMemory=Ja,bo.maxScroll=function(t,e){return ta(t,e?Wi:qi)},bo.getScrollFunc=function(t,e){return Ui(Hi(t),e?Wi:qi)},bo.getById=function(t){return ja[t]},bo.getAll=function(){return La.filter(function(t){return"ScrollSmoother"!==t.vars.id})},bo.isScrolling=function(){return!!js},bo.snapDirectional=Sa,bo.addEventListener=function(t,e){var r=Ha[t]||(Ha[t]=[]);~r.indexOf(e)||r.push(e)},bo.removeEventListener=function(t,e){var r=Ha[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},bo.batch=function(t,e){var r,n=[],i={},s=e.interval||.016,a=e.batchMax||1e9,o=function(t,e){var r=[],n=[],i=Ji.delayedCall(s,function(){e(r,n),r=[],n=[]}).pause();return function(t){r.length||i.restart(!0),r.push(t.trigger),n.push(t),a<=r.length&&i.progress(1)}};for(r in e)i[r]="on"===r.substr(0,2)&&na(e[r])&&"onRefreshInit"!==r?o(0,e[r]):e[r];return na(a)&&(a=a(),Aa(bo,"refresh",function(){return a=e.batchMax()})),os(t).forEach(function(t){var e={};for(r in i)e[r]=i[r];e.trigger=t,n.push(bo.create(e))}),n};var wo,To=function(t,e,r,n){return e>n?t(n):e<0&&t(0),r>n?(n-e)/(r-e):r<0?e/(e-r):1},Oo=function t(e,r){!0===r?e.style.removeProperty("touch-action"):e.style.touchAction=!0===r?"auto":r?"pan-"+r+(Ki.isTouch?" pinch-zoom":""):"none",e===ns&&t(is,r)},Co={auto:1,scroll:1},ko=function(t){var e,r=t.event,n=t.target,i=t.axis,s=(r.changedTouches?r.changedTouches[0]:r).target,a=s._gsap||Ji.core.getCache(s),o=Bs();if(!a._isScrollT||o-a._isScrollT>2e3){for(;s&&s!==is&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!Co[(e=Ta(s)).overflowY]&&!Co[e.overflowX]);)s=s.parentNode;a._isScroll=s&&s!==n&&!Qs(s)&&(Co[(e=Ta(s)).overflowY]||Co[e.overflowX]),a._isScrollT=o}(a._isScroll||"x"===i)&&(r.stopPropagation(),r._gsapAllow=!0)},Eo=function(t,e,r,n){return Ki.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:e,onWheel:n=n&&ko,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&Aa(rs,Ki.eventTypes[0],Mo,!1,!0)},onDisable:function(){return Pa(rs,Ki.eventTypes[0],Mo,!0)}})},So=/(input|label|select|textarea)/i,Mo=function(t){var e=So.test(t.target.tagName);(e||wo)&&(t._gsapAllow=!0,wo=e)},Ao=function(t){sa(t)||(t={}),t.preventDefault=t.isNormalizer=t.allowClicks=!0,t.type||(t.type="wheel,touch"),t.debounce=!!t.debounce,t.id=t.id||"normalizer";var e,r,n,i,s,a,o,l,u=t,c=u.normalizeScrollX,f=u.momentum,h=u.allowNestedScroll,d=u.onRelease,p=Hi(t.target)||ns,g=Ji.core.globals().ScrollSmoother,m=g&&g.get(),_=Cs&&(t.content&&Hi(t.content)||m&&!1!==t.content&&!m.smooth()&&m.content()),v=Ui(p,qi),y=Ui(p,Wi),x=1,b=(Ki.isTouch&&es.visualViewport?es.visualViewport.scale*es.visualViewport.width:es.outerWidth)/es.innerWidth,w=0,T=na(f)?function(){return f(e)}:function(){return f||2.8},O=Eo(p,t.type,!0,h),C=function(){return i=!1},k=Vs,E=Vs,S=function(){r=ta(p,qi),E=ls(Cs?1:0,r),c&&(k=ls(0,ta(p,Wi))),n=to},M=function(){_._gsap.y=Gs(parseFloat(_._gsap.y)+v.offset)+"px",_.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(_._gsap.y)+", 0, 1)",v.offset=v.cacheID=0},A=function(){S(),s.isActive()&&s.vars.scrollY>r&&(v()>r?s.progress(1)&&v(r):s.resetTo("scrollY",r))};return _&&Ji.set(_,{y:"+=0"}),t.ignoreCheck=function(t){return Cs&&"touchmove"===t.type&&function(){if(i){requestAnimationFrame(C);var t=Gs(e.deltaY/2),r=E(v.v-t);if(_&&r!==v.v+v.offset){v.offset=r-v.v;var n=Gs((parseFloat(_&&_._gsap.y)||0)-v.offset);_.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+n+", 0, 1)",_._gsap.y=n+"px",v.cacheID=Pi.cache,ao()}return!0}v.offset&&M(),i=!0}()||x>1.05&&"touchstart"!==t.type||e.isGesturing||t.touches&&t.touches.length>1},t.onPress=function(){i=!1;var t=x;x=Gs((es.visualViewport&&es.visualViewport.scale||1)/b),s.pause(),t!==x&&Oo(p,x>1.01||!c&&"x"),a=y(),o=v(),S(),n=to},t.onRelease=t.onGestureStart=function(t,e){if(v.offset&&M(),e){Pi.cache++;var n,i,a=T();c&&(i=(n=y())+.05*a*-t.velocityX/.227,a*=To(y,n,i,ta(p,Wi)),s.vars.scrollX=k(i)),i=(n=v())+.05*a*-t.velocityY/.227,a*=To(v,n,i,ta(p,qi)),s.vars.scrollY=E(i),s.invalidate().duration(a).play(.01),(Cs&&s.vars.scrollY>=r||n>=r-1)&&Ji.to({},{onUpdate:A,duration:a})}else l.restart(!0);d&&d(t)},t.onWheel=function(){s._ts&&s.pause(),Bs()-w>1e3&&(n=0,w=Bs())},t.onChange=function(t,e,r,i,s){if(to!==n&&S(),e&&c&&y(k(i[2]===e?a+(t.startX-t.x):y()+e-i[1])),r){v.offset&&M();var l=s[2]===r,u=l?o+t.startY-t.y:v()+r-s[1],f=E(u);l&&u!==f&&(o+=f-u),v(f)}(r||e)&&ao()},t.onEnable=function(){Oo(p,!c&&"x"),bo.addEventListener("refresh",A),Aa(es,"resize",A),v.smooth&&(v.target.style.scrollBehavior="auto",v.smooth=y.smooth=!1),O.enable()},t.onDisable=function(){Oo(p,!0),Pa(es,"resize",A),bo.removeEventListener("refresh",A),O.kill()},t.lockAxis=!1!==t.lockAxis,(e=new Ki(t)).iOS=Cs,Cs&&!v()&&v(1),Cs&&Ji.ticker.add(Vs),l=e._dc,s=Ji.to(e,{ease:"power4",paused:!0,inherit:!1,scrollX:c?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:vo(v,v(),function(){return s.pause()})},onUpdate:ao,onComplete:l.vars.onComplete}),e};function Po({data:t,index:r}){return e("div",{className:""})}function Ro({scrollingElement:t,direction:l="normal",children:u=e("div",{children:"Nothing to Display, Please add some properly styled content"}),style:c,className:f,startAnimation:d="bottom",gsapScrollTrigger:p,scrollSpeed:g=1}){const m=n(),[_,v]=i(!1),[y,x]=i(0);return s(()=>{!function(){if(_)return;const t=function(){const t=m.current;if(!t)return;const e=t.children,r=e[0].getBoundingClientRect().width;let n=0;for(let t=0;t<e.length;t++)n+=e[t].getBoundingClientRect().width;return n-r}();t&&x(t),v(!0)}()},[]),a(()=>{const e=m.current;if(!e||!y)return;let r=di.context(()=>{var r,n;const i=t?document.querySelector(`${t}`):h(e,!0),s=null!==(r={normal:-y,reverse:y,backward:y}[l])&&void 0!==r?r:-y,a=null!==(n={top:"top top",within:`top ${(window.innerHeight-e.getBoundingClientRect().height)/2}px`,bottom:"bottom bottom"}[d])&&void 0!==n?n:d,o=di.quickTo(e,"x",{ease:"power3.out",duration:.2});bo.create(Object.assign({trigger:e,scroller:i,start:a,end:`+=${y/g}px`,pin:!0,scrub:!0,invalidateOnRefresh:!0,onUpdate:t=>{o(s*t.progress)}},p))},m);return()=>r.revert()},[y,l,d,g,t,p]),e("div",{ref:m,style:Object.assign({width:"100%",height:"auto",position:"relative",display:"flex",alignItems:"flex-start",justifyContent:""+("backward"==l?"flex-end":"flex-start"),flexDirection:""+("reverse"==l?"row-reverse":"row")},c),className:`${f} scroll_container`,children:r.Children.map(u,(t,r)=>e(o,{children:t},r))})}function Do(t,e,r,n){return new(r||(r=Promise))(function(i,s){function a(t){try{l(n.next(t))}catch(t){s(t)}}function o(t){try{l(n.throw(t))}catch(t){s(t)}}function l(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r(function(t){t(e)})).then(a,o)}l((n=n.apply(t,e||[])).next())})}bo.sort=function(t){if(na(t))return La.sort(t);var e=es.pageYOffset||0;return bo.getAll().forEach(function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+es.innerHeight}),La.sort(t||function(t,e){return-1e6*(t.vars.refreshPriority||0)+(t.vars.containerAnimation?1e6:t._sortY)-((e.vars.containerAnimation?1e6:e._sortY)+-1e6*(e.vars.refreshPriority||0))})},bo.observe=function(t){return new Ki(t)},bo.normalizeScroll=function(t){if(void 0===t)return bs;if(!0===t&&bs)return bs.enable();if(!1===t)return bs&&bs.kill(),void(bs=t);var e=t instanceof Ki?t:Ao(t);return bs&&bs.target===e.target&&bs.kill(),Qs(e.target)&&(bs=e),e},bo.core={_getVelocityProp:Vi,_inputObserver:Eo,_scrollers:Pi,_proxies:Ri,bridge:{ss:function(){js||Ga("scrollStart"),js=Bs()},ref:function(){return fs}}},Zs()&&Ji.registerPlugin(bo),di.registerPlugin(bo),di.registerPlugin(bo),"function"==typeof SuppressedError&&SuppressedError;
37
37
  /*!
38
38
  * @gsap/react 2.1.2
39
39
  * https://gsap.com
@@ -43,7 +43,7 @@ var Bi,Li,Yi,Xi,ji,qi,Hi,Wi,Ui,Vi,Gi,$i,Qi,Zi,Ki,Ji,ts,es,rs,ns,is,ss,os,as,ls,u
43
43
  * Club GSAP members, the agreement issued with that membership.
44
44
  * @author: Jack Doyle, jack@greensock.com
45
45
  */
46
- let ba="undefined"!=typeof document?s:i,wa=t=>t&&!Array.isArray(t)&&"object"==typeof t,Ta=[],ka={},Ca=Kn;const Oa=(t,e=Ta)=>{let n=ka;wa(t)?(n=t,t=null,e="dependencies"in n?n.dependencies:Ta):wa(e)&&(n=e,e="dependencies"in n?n.dependencies:Ta),t&&"function"!=typeof t&&console.warn("First parameter must be a function or config object");const{scope:i,revertOnUpdate:s}=n,o=r(!1),a=r(Ca.context(()=>{},i)),l=r(t=>a.current.add(null,t)),u=e&&e.length&&!s;return u&&ba(()=>(o.current=!0,()=>a.current.revert()),Ta),ba(()=>{if(t&&a.current.add(t,i),!u||!o.current)return()=>a.current.revert()},e),{context:a.current,contextSafe:l.current}};Oa.register=t=>{Ca=t},Oa.headless=!0;
46
+ let zo="undefined"!=typeof document?a:s,Fo=t=>t&&!Array.isArray(t)&&"object"==typeof t,No=[],Io={},Bo=di;const Lo=(t,e=No)=>{let r=Io;Fo(t)?(r=t,t=null,e="dependencies"in r?r.dependencies:No):Fo(e)&&(r=e,e="dependencies"in r?r.dependencies:No),t&&"function"!=typeof t&&console.warn("First parameter must be a function or config object");const{scope:i,revertOnUpdate:s}=r,a=n(!1),o=n(Bo.context(()=>{},i)),l=n(t=>o.current.add(null,t)),u=e&&e.length&&!s;return u&&zo(()=>(a.current=!0,()=>o.current.revert()),No),zo(()=>{if(t&&o.current.add(t,i),!u||!a.current)return()=>o.current.revert()},e),{context:o.current,contextSafe:l.current}};Lo.register=t=>{Bo=t},Lo.headless=!0;
47
47
  /*!
48
48
  * SplitText 3.15.0
49
49
  * https://gsap.com
@@ -51,5 +51,5 @@ let ba="undefined"!=typeof document?s:i,wa=t=>t&&!Array.isArray(t)&&"object"==ty
51
51
  * @license Copyright 2026, GreenSock. All rights reserved. Subject to the terms at https://gsap.com/standard-license.
52
52
  * @author: Jack Doyle
53
53
  */
54
- let Ea,Sa,Ma,Aa="function"==typeof Symbol?Symbol():"_split",Pa="undefined"!=typeof Intl&&"Segmenter"in Intl?new Intl.Segmenter:0,Ra=t=>t?"string"==typeof t?Ra(document.querySelectorAll(t)):"length"in t?Array.from(t).reduce((t,e)=>("string"==typeof e?t.push(...Ra(e)):t.push(e),t),[]):[t]:[],Da=t=>Ra(t).filter(t=>t&&1===t.nodeType),za=[],Fa=function(){},Ia={add:t=>t()},Na=/\s+/g,Ba=new RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.","gu"),La={left:0,top:0,width:0,height:0},Ya=(t,e)=>{for(;++e<t.length&&t[e]===La;);return t[e]||La},Xa=({element:t,html:e,ariaL:r,ariaH:n})=>{t.innerHTML=e,r?t.setAttribute("aria-label",r):t.removeAttribute("aria-label"),n?t.setAttribute("aria-hidden",n):t.removeAttribute("aria-hidden")},ja=(t,e)=>{if(e){let r,n,i,s,o=new Set(t.join("").match(e)||za),a=t.length;if(o.size)for(;--a>-1;)for(i of(n=t[a],o))if(i.startsWith(n)&&i.length>n.length){for(r=0,s=n;i.startsWith(s+=t[a+ ++r])&&s.length<i.length;);if(r&&s.length===i.length){t[a]=i,t.splice(a+1,r);break}}}return t},qa=t=>"inline"===window.getComputedStyle(t).display&&(t.style.display="inline-block"),Ha=(t,e,r)=>e.insertBefore("string"==typeof t?document.createTextNode(t):t,r),Wa=(t,e,r)=>{let n=e[t+"sClass"]||"",{tag:i="div",aria:s="auto",propIndex:o=!1}=e,a="line"===t?"block":"inline-block",l=n.indexOf("++")>-1,u=e=>{let u=document.createElement(i),c=r.length+1;return n&&(u.className=n+(l?" "+n+c:"")),o&&u.style.setProperty("--"+t,c+""),"none"!==s&&u.setAttribute("aria-hidden","true"),"span"!==i&&(u.style.position="relative",u.style.display=a),u.textContent=e,r.push(u),u};return l&&(n=n.replace("++","")),u.collection=r,u},Ua=(t,e,r,n,i,s,o,a,l,u)=>{var c;let f,h,d,p,g,m,_,v,y,x,b,w,T,k,C,O,E,S,M=Array.from(t.childNodes),A=0,{wordDelimiter:P,reduceWhiteSpace:R=!0,prepareText:D}=e,z=t.getBoundingClientRect(),F=z,I=!R&&"pre"===window.getComputedStyle(t).whiteSpace.substring(0,3),N=0,B=r.collection;for("object"==typeof P?(d=P.delimiter||P,h=P.replaceWith||""):h=""===P?"":P||" ",f=" "!==h;A<M.length;A++)if(p=M[A],3===p.nodeType){for(C=p.textContent||"",R?C=C.replace(Na," "):I&&(C=C.replace(/\n/g,h+"\n")),D&&(C=D(C,t)),p.textContent=C,g=h||d?C.split(d||h):C.match(a)||za,E=g[g.length-1],v=f?" "===E.slice(-1):!E,E||g.pop(),F=z,_=f?" "===g[0].charAt(0):!g[0],_&&Ha(" ",t,p),g[0]||g.shift(),ja(g,l),s&&u||(p.textContent=""),y=1;y<=g.length;y++)if(O=g[y-1],!R&&I&&"\n"===O.charAt(0)&&(null==(c=p.previousSibling)||c.remove(),Ha(document.createElement("br"),t,p),O=O.slice(1)),R||""!==O)if(" "===O)t.insertBefore(document.createTextNode(" "),p);else{if(f&&" "===O.charAt(0)&&Ha(" ",t,p),N&&1===y&&!_&&B.indexOf(N.parentNode)>-1?(m=B[B.length-1],m.appendChild(document.createTextNode(n?"":O))):(m=r(n?"":O),Ha(m,t,p),N&&1===y&&!_&&m.insertBefore(N,m.firstChild)),n)for(b=Pa?ja([...Pa.segment(O)].map(t=>t.segment),l):O.match(a)||za,S=0;S<b.length;S++)m.appendChild(" "===b[S]?document.createTextNode(" "):n(b[S]));if(s&&u){if(C=p.textContent=C.substring(O.length+1,C.length),x=m.getBoundingClientRect(),x.top>F.top&&x.left<=F.left){for(w=t.cloneNode(),T=t.childNodes[0];T&&T!==m;)k=T,T=T.nextSibling,w.appendChild(k);t.parentNode.insertBefore(w,t),i&&qa(w)}F=x}(y<g.length||v)&&Ha(y>=g.length?" ":f&&" "===O.slice(-1)?" "+h:h,t,p)}else Ha(h,t,p);t.removeChild(p),N=0}else 1===p.nodeType&&(o&&o.indexOf(p)>-1?(B.indexOf(p.previousSibling)>-1&&B[B.length-1].appendChild(p),N=p):(Ua(p,e,r,n,i,s,o,a,l,!0),N=0),i&&qa(p))};const Va=class t{constructor(t,e){this.isSplit=!1,Ma||Ga.register(window.gsap),this.elements=Da(t),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=e,this.elements.forEach(t=>{var r;!1!==e.overwrite&&(null==(r=t[Aa])||r._data.orig.filter(({element:e})=>e===t).forEach(Xa)),t[Aa]=this}),this._split=()=>this.isSplit&&this.split(this.vars);let r,n=[],i=()=>{let t,e=n.length;for(;e--;){t=n[e];let r=t.element.offsetWidth;if(r!==t.width)return t.width=r,void this._split()}};this._data={orig:n,obs:"undefined"!=typeof ResizeObserver&&new ResizeObserver(()=>{clearTimeout(r),r=setTimeout(i,200)})},Fa(this),this.split(e)}split(t){return(this._ctx||Ia).add(()=>{this.isSplit&&this.revert(),this.vars=t=t||this.vars||{};let e,{type:r="chars,words,lines",aria:n="auto",deepSlice:i=!0,smartWrap:s,onSplit:o,autoSplit:a=!1,specialChars:l,mask:u}=this.vars,c=r.indexOf("lines")>-1,f=r.indexOf("chars")>-1,h=r.indexOf("words")>-1,d=f&&!h&&!c,p=l&&("push"in l?new RegExp("(?:"+l.join("|")+")","gu"):l),g=p?new RegExp(p.source+"|"+Ba.source,"gu"):Ba,m=!!t.ignore&&Da(t.ignore),{orig:_,animTime:v,obs:y}=this._data;(f||h||c)&&(this.elements.forEach((e,r)=>{_[r]={element:e,html:e.innerHTML,ariaL:e.getAttribute("aria-label"),ariaH:e.getAttribute("aria-hidden")},"auto"===n?e.setAttribute("aria-label",(e.textContent||"").trim()):"hidden"===n&&e.setAttribute("aria-hidden","true");let o,a,l,u,v=[],y=[],x=[],b=f?Wa("char",t,v):null,w=Wa("word",t,y);if(Ua(e,t,w,b,d,i&&(c||d),m,g,p,!1),c){let r,n,i=Ra(e.childNodes),s=((t,e,r,n)=>{let i=Wa("line",r,n),s=window.getComputedStyle(t).textAlign||"left";return(r,n)=>{let o=i("");for(o.style.textAlign=s,t.insertBefore(o,e[r]);r<n;r++)o.appendChild(e[r]);o.normalize()}})(e,i,t,x),a=[],l=0,u=i.map(t=>1===t.nodeType?t.getBoundingClientRect():La),c=La;for(o=0;o<i.length;o++)r=i[o],1===r.nodeType&&("BR"===r.nodeName?(o&&"BR"===i[o-1].nodeName||(a.push(r),s(l,o+1)),l=o+1,c=Ya(u,o)):(n=u[o],o&&n.top>c.top&&n.left<c.left+c.width-1&&(s(l,o),l=o),c=n));l<o&&s(l,o),a.forEach(t=>{var e;return null==(e=t.parentNode)?void 0:e.removeChild(t)})}if(!h){for(o=0;o<y.length;o++)if(a=y[o],f||!a.nextSibling||3!==a.nextSibling.nodeType)if(s&&!c){for(l=document.createElement("span"),l.style.whiteSpace="nowrap";a.firstChild;)l.appendChild(a.firstChild);a.replaceWith(l)}else a.replaceWith(...a.childNodes);else u=a.nextSibling,u&&3===u.nodeType&&(u.textContent=(a.textContent||"")+(u.textContent||""),a.remove());y.length=0,e.normalize()}this.lines.push(...x),this.words.push(...y),this.chars.push(...v)}),u&&this[u]&&this.masks.push(...this[u].map(t=>{let e=t.cloneNode();return t.replaceWith(e),e.appendChild(t),t.className&&(e.className=t.className.trim().split(" ").map(t=>t+"-mask").join(" ")),e.style.overflow="clip",e}))),this.isSplit=!0,Sa&&c&&a&&Sa.addEventListener("loadingdone",this._split),(e=o&&o(this))&&e.totalTime&&(this._data.anim=v?e.totalTime(v):e),c&&a&&this.elements.forEach((t,e)=>{_[e].width=t.offsetWidth,y&&y.observe(t)})}),this}kill(){let{obs:t}=this._data;t&&t.disconnect(),null==Sa||Sa.removeEventListener("loadingdone",this._split)}revert(){var t,e;if(this.isSplit){let{orig:r,anim:n}=this._data;this.kill(),r.forEach(Xa),this.chars.length=this.words.length=this.lines.length=r.length=this.masks.length=0,this.isSplit=!1,n&&(this._data.animTime=n.totalTime(),n.revert()),null==(e=(t=this.vars).onRevert)||e.call(t,this)}return this}static create(e,r){return new t(e,r)}static register(t){Ea=Ea||t||window.gsap,Ea&&(Ra=Ea.utils.toArray,Fa=Ea.core.context||Fa),!Ma&&window.innerWidth>0&&(Sa=document.fonts,Ma=!0)}};Va.version="3.15.0";let Ga=Va;function $a(s){const{text:o,scrollingElement:a,progression:l="char",style:u,className:c,children:f,playOnScroll:h=!1,playInView:d=!1,delay:p=0,timeline:g,speed:m,gsapScrollTrigger:_,defaultAnimation:v,extendAnimation:y,watch:x=!1}=s,b=r(null),[w,T]=n(0),[k,C]=n(!1);return i(()=>{!function(){if(!x)return;("string"==typeof x?document.querySelector(x):window).addEventListener("resize",()=>{T(t=>t+1)})}()},[]),i(()=>{if("loaded"===document.fonts.status)C(!0);else{function t(){return xa(this,void 0,void 0,function*(){yield document.fonts.ready.then(()=>{C(!0)}).catch(()=>{C(!0)})})}t()}},[]),Oa(function(){const t=b.current;if(!t||!k)return;const e=a?document.querySelector(`${a}`):function(t){let e=document.querySelector(t);for(;e;){const{overflowY:t}=getComputedStyle(e);if(("auto"===t||"scroll"===t)&&e.scrollHeight>e.clientHeight)return e;e=e.parentElement}return document.scrollingElement}(".fade_textation_x"),r=Ga.create(t,{type:"lines,words,chars",linesClass:"line",wordsClass:"word",charsClass:"char",autoSplit:!0}),{chars:n,lines:i,words:s}=r,o=function(){let t=n;if("char_line"===l){t=i.flatMap(t=>n.filter(e=>t.contains(e)).map((t,e)=>({char:t,charIndexInLine:e})))}else if("word_line"===l){t=i.flatMap((t,e)=>s.filter(e=>t.contains(e)).map((t,e)=>({char:t,charIndexInLine:e})))}else t="char"==l?n:"word"==l?s:"line"==l?i:n;return{set:"char"==l?n:"word"==l?s:"line"==l?i:"char_line"==l?n:"word_line"==l?s:n,animate:t,speed_0:m||("char"==l?h?.005:.1:"word"==l?.35:"line"==l?.9:"char_line"==l?.08:"word_line"==l?.5:.08)}}();function u(t,e){const r="object"==typeof t?t:{},n=Object.entries(r).map(t=>{const[e,r]=t;return{key:e,val:r}}),i={};for(let t=0;t<n.length;t++){const r=n[t].key,s=n[t].val,o="from"==e?s[0]:"to"==e?s[1]:"";null!==o&&(i[r]=o)}return i}const c=!(!h&&!d),f=g||Kn.timeline({paused:c,delay:p});f.set(o.set,Object.assign(Object.assign({opacity:0},u(v,"from")),u(y,"from")));const x=function(){if("object"==typeof _)return _;if("function"==typeof _)return _(f)||{};return{}}();return(t=>{t&&o.animate.forEach((e,r)=>{let n="char_line"===l||"word_line"===l,i=n?e.char:e;const s=n?e.charIndexInLine:r;t.to(i,Object.assign(Object.assign({opacity:1,ease:"power3.out"},u(v,"to")),u(y,"to")),s*o.speed_0)})})(f),h?oa.create(Object.assign({trigger:t,scroller:e,start:"top 85%",end:"top 35%",scrub:h,animation:f},x)):d&&oa.create(Object.assign({trigger:t,scroller:e,start:"top bottom",onEnter:()=>f.restart(),onLeaveBack:()=>f.pause()},x)),()=>{r.revert(),f.kill(),oa.getAll().forEach(e=>{e.trigger===t&&e.kill()})}},{dependencies:[k,w],scope:b}),e.isValidElement(f)?e.cloneElement(f,{ref:b,style:Object.assign(Object.assign({visibility:k?"visible":"hidden"},u),f.props.style),className:["fade_textation_x",f.props.className,c].filter(Boolean).join(" ")}):t("p",{className:`fade_textation_x ${c}`,style:Object.assign({visibility:k?"visible":"hidden"},u),ref:b,children:o})}Kn.registerPlugin(Ga,oa);const Qa={TextEngine:$a,TextFade:function(e){return t($a,Object.assign({defaultAnimation:{opacity:[0,1]}},e))},TextFadeSkew:function(e){return t($a,Object.assign({defaultAnimation:{opacity:[0,1],x:[100,0],skewX:[100,0]}},e))},TextFadeSkew_2:function(e){return t($a,Object.assign({defaultAnimation:{opacity:[0,1],x:[100,0],y:[100,0],skewX:[-100,0]}},e))},TextFadeDown:function(e){return t($a,Object.assign({defaultAnimation:{opacity:[0,1],y:["100%","0%"],duration:[null,1],stagger:[null,.1]}},e))},TextFadeOverlay:function(e){return t($a,Object.assign({defaultAnimation:{opacity:[.2,1]}},e))},VerticalScroll:va};function Za({name:t}){console.log("Hey!!! Hello ",t,". Package is updated!!!")}const{TextEngine:Ka,TextFade:Ja,TextFadeDown:tl,TextFadeSkew:el,TextFadeSkew_2:rl,TextFadeOverlay:nl}=Qa;export{Ka as TextEngine,Ja as TextFade,tl as TextFadeDown,nl as TextFadeOverlay,el as TextFadeSkew,rl as TextFadeSkew_2,ya as VerticalScroll,Za as justSayHello};
54
+ let jo,Yo,Xo,Wo="function"==typeof Symbol?Symbol():"_split",qo="undefined"!=typeof Intl&&"Segmenter"in Intl?new Intl.Segmenter:0,Ho=t=>t?"string"==typeof t?Ho(document.querySelectorAll(t)):"length"in t?Array.from(t).reduce((t,e)=>("string"==typeof e?t.push(...Ho(e)):t.push(e),t),[]):[t]:[],Uo=t=>Ho(t).filter(t=>t&&1===t.nodeType),Vo=[],Go=function(){},$o={add:t=>t()},Zo=/\s+/g,Qo=new RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.","gu"),Ko={left:0,top:0,width:0,height:0},Jo=(t,e)=>{for(;++e<t.length&&t[e]===Ko;);return t[e]||Ko},tl=({element:t,html:e,ariaL:r,ariaH:n})=>{t.innerHTML=e,r?t.setAttribute("aria-label",r):t.removeAttribute("aria-label"),n?t.setAttribute("aria-hidden",n):t.removeAttribute("aria-hidden")},el=(t,e)=>{if(e){let r,n,i,s,a=new Set(t.join("").match(e)||Vo),o=t.length;if(a.size)for(;--o>-1;)for(i of(n=t[o],a))if(i.startsWith(n)&&i.length>n.length){for(r=0,s=n;i.startsWith(s+=t[o+ ++r])&&s.length<i.length;);if(r&&s.length===i.length){t[o]=i,t.splice(o+1,r);break}}}return t},rl=t=>"inline"===window.getComputedStyle(t).display&&(t.style.display="inline-block"),nl=(t,e,r)=>e.insertBefore("string"==typeof t?document.createTextNode(t):t,r),il=(t,e,r)=>{let n=e[t+"sClass"]||"",{tag:i="div",aria:s="auto",propIndex:a=!1}=e,o="line"===t?"block":"inline-block",l=n.indexOf("++")>-1,u=e=>{let u=document.createElement(i),c=r.length+1;return n&&(u.className=n+(l?" "+n+c:"")),a&&u.style.setProperty("--"+t,c+""),"none"!==s&&u.setAttribute("aria-hidden","true"),"span"!==i&&(u.style.position="relative",u.style.display=o),u.textContent=e,r.push(u),u};return l&&(n=n.replace("++","")),u.collection=r,u},sl=(t,e,r,n,i,s,a,o,l,u)=>{var c;let f,h,d,p,g,m,_,v,y,x,b,w,T,O,C,k,E,S,M=Array.from(t.childNodes),A=0,{wordDelimiter:P,reduceWhiteSpace:R=!0,prepareText:D}=e,z=t.getBoundingClientRect(),F=z,N=!R&&"pre"===window.getComputedStyle(t).whiteSpace.substring(0,3),I=0,B=r.collection;for("object"==typeof P?(d=P.delimiter||P,h=P.replaceWith||""):h=""===P?"":P||" ",f=" "!==h;A<M.length;A++)if(p=M[A],3===p.nodeType){for(C=p.textContent||"",R?C=C.replace(Zo," "):N&&(C=C.replace(/\n/g,h+"\n")),D&&(C=D(C,t)),p.textContent=C,g=h||d?C.split(d||h):C.match(o)||Vo,E=g[g.length-1],v=f?" "===E.slice(-1):!E,E||g.pop(),F=z,_=f?" "===g[0].charAt(0):!g[0],_&&nl(" ",t,p),g[0]||g.shift(),el(g,l),s&&u||(p.textContent=""),y=1;y<=g.length;y++)if(k=g[y-1],!R&&N&&"\n"===k.charAt(0)&&(null==(c=p.previousSibling)||c.remove(),nl(document.createElement("br"),t,p),k=k.slice(1)),R||""!==k)if(" "===k)t.insertBefore(document.createTextNode(" "),p);else{if(f&&" "===k.charAt(0)&&nl(" ",t,p),I&&1===y&&!_&&B.indexOf(I.parentNode)>-1?(m=B[B.length-1],m.appendChild(document.createTextNode(n?"":k))):(m=r(n?"":k),nl(m,t,p),I&&1===y&&!_&&m.insertBefore(I,m.firstChild)),n)for(b=qo?el([...qo.segment(k)].map(t=>t.segment),l):k.match(o)||Vo,S=0;S<b.length;S++)m.appendChild(" "===b[S]?document.createTextNode(" "):n(b[S]));if(s&&u){if(C=p.textContent=C.substring(k.length+1,C.length),x=m.getBoundingClientRect(),x.top>F.top&&x.left<=F.left){for(w=t.cloneNode(),T=t.childNodes[0];T&&T!==m;)O=T,T=T.nextSibling,w.appendChild(O);t.parentNode.insertBefore(w,t),i&&rl(w)}F=x}(y<g.length||v)&&nl(y>=g.length?" ":f&&" "===k.slice(-1)?" "+h:h,t,p)}else nl(h,t,p);t.removeChild(p),I=0}else 1===p.nodeType&&(a&&a.indexOf(p)>-1?(B.indexOf(p.previousSibling)>-1&&B[B.length-1].appendChild(p),I=p):(sl(p,e,r,n,i,s,a,o,l,!0),I=0),i&&rl(p))};const al=class t{constructor(t,e){this.isSplit=!1,Xo||ol.register(window.gsap),this.elements=Uo(t),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=e,this.elements.forEach(t=>{var r;!1!==e.overwrite&&(null==(r=t[Wo])||r._data.orig.filter(({element:e})=>e===t).forEach(tl)),t[Wo]=this}),this._split=()=>this.isSplit&&this.split(this.vars);let r,n=[],i=()=>{let t,e=n.length;for(;e--;){t=n[e];let r=t.element.offsetWidth;if(r!==t.width)return t.width=r,void this._split()}};this._data={orig:n,obs:"undefined"!=typeof ResizeObserver&&new ResizeObserver(()=>{clearTimeout(r),r=setTimeout(i,200)})},Go(this),this.split(e)}split(t){return(this._ctx||$o).add(()=>{this.isSplit&&this.revert(),this.vars=t=t||this.vars||{};let e,{type:r="chars,words,lines",aria:n="auto",deepSlice:i=!0,smartWrap:s,onSplit:a,autoSplit:o=!1,specialChars:l,mask:u}=this.vars,c=r.indexOf("lines")>-1,f=r.indexOf("chars")>-1,h=r.indexOf("words")>-1,d=f&&!h&&!c,p=l&&("push"in l?new RegExp("(?:"+l.join("|")+")","gu"):l),g=p?new RegExp(p.source+"|"+Qo.source,"gu"):Qo,m=!!t.ignore&&Uo(t.ignore),{orig:_,animTime:v,obs:y}=this._data;(f||h||c)&&(this.elements.forEach((e,r)=>{_[r]={element:e,html:e.innerHTML,ariaL:e.getAttribute("aria-label"),ariaH:e.getAttribute("aria-hidden")},"auto"===n?e.setAttribute("aria-label",(e.textContent||"").trim()):"hidden"===n&&e.setAttribute("aria-hidden","true");let a,o,l,u,v=[],y=[],x=[],b=f?il("char",t,v):null,w=il("word",t,y);if(sl(e,t,w,b,d,i&&(c||d),m,g,p,!1),c){let r,n,i=Ho(e.childNodes),s=((t,e,r,n)=>{let i=il("line",r,n),s=window.getComputedStyle(t).textAlign||"left";return(r,n)=>{let a=i("");for(a.style.textAlign=s,t.insertBefore(a,e[r]);r<n;r++)a.appendChild(e[r]);a.normalize()}})(e,i,t,x),o=[],l=0,u=i.map(t=>1===t.nodeType?t.getBoundingClientRect():Ko),c=Ko;for(a=0;a<i.length;a++)r=i[a],1===r.nodeType&&("BR"===r.nodeName?(a&&"BR"===i[a-1].nodeName||(o.push(r),s(l,a+1)),l=a+1,c=Jo(u,a)):(n=u[a],a&&n.top>c.top&&n.left<c.left+c.width-1&&(s(l,a),l=a),c=n));l<a&&s(l,a),o.forEach(t=>{var e;return null==(e=t.parentNode)?void 0:e.removeChild(t)})}if(!h){for(a=0;a<y.length;a++)if(o=y[a],f||!o.nextSibling||3!==o.nextSibling.nodeType)if(s&&!c){for(l=document.createElement("span"),l.style.whiteSpace="nowrap";o.firstChild;)l.appendChild(o.firstChild);o.replaceWith(l)}else o.replaceWith(...o.childNodes);else u=o.nextSibling,u&&3===u.nodeType&&(u.textContent=(o.textContent||"")+(u.textContent||""),o.remove());y.length=0,e.normalize()}this.lines.push(...x),this.words.push(...y),this.chars.push(...v)}),u&&this[u]&&this.masks.push(...this[u].map(t=>{let e=t.cloneNode();return t.replaceWith(e),e.appendChild(t),t.className&&(e.className=t.className.trim().split(" ").map(t=>t+"-mask").join(" ")),e.style.overflow="clip",e}))),this.isSplit=!0,Yo&&c&&o&&Yo.addEventListener("loadingdone",this._split),(e=a&&a(this))&&e.totalTime&&(this._data.anim=v?e.totalTime(v):e),c&&o&&this.elements.forEach((t,e)=>{_[e].width=t.offsetWidth,y&&y.observe(t)})}),this}kill(){let{obs:t}=this._data;t&&t.disconnect(),null==Yo||Yo.removeEventListener("loadingdone",this._split)}revert(){var t,e;if(this.isSplit){let{orig:r,anim:n}=this._data;this.kill(),r.forEach(tl),this.chars.length=this.words.length=this.lines.length=r.length=this.masks.length=0,this.isSplit=!1,n&&(this._data.animTime=n.totalTime(),n.revert()),null==(e=(t=this.vars).onRevert)||e.call(t,this)}return this}static create(e,r){return new t(e,r)}static register(t){jo=jo||t||window.gsap,jo&&(Ho=jo.utils.toArray,Go=jo.core.context||Go),!Xo&&window.innerWidth>0&&(Yo=document.fonts,Xo=!0)}};al.version="3.15.0";let ol=al;di.registerPlugin(ol,bo);const ll={Z_Text:function(t){const{text:a,scrollingElement:o,progression:l="char",animation:u="Fade",playOnScroll:c=!1,playInView:f=!1,controllerRef:m=null,style:_,className:v,children:y,delay:x=0,timeline:b,speed:w,gsapScrollTrigger:T,extendAnimation:O,watch:C=!1}=t,k=n(null),[E,S]=i(!1),[M,A]=i(0),P=c||f,R=null!=b?b:di.timeline({paused:P,delay:x});return m&&(m.current=R),s(()=>function(){if(!C)return;const t="string"==typeof C?document.querySelector(C):window;if(!t)return;const e=()=>A(t=>t+1);return t.addEventListener("resize",e),()=>{t.removeEventListener("resize",e)}}(),[C]),s(()=>{let t=!0;return function(){Do(this,void 0,void 0,function*(){yield document.fonts.ready,t&&S(!0)})}(),()=>t=!1},[]),Lo(function(){const t=k.current;if(!t||!E)return;const e=di.context(()=>{var e;const r=o?document.querySelector(`${o}`):h(".fade_textation_x"),n=ol.create(t,{type:"lines,words,chars",autoSplit:!0,linesClass:"line",wordsClass:"word",charsClass:"char"}),{chars:i,words:s,lines:a}=n,m=p(l,i,s,a,w,c),_=null!==(e=g[u])&&void 0!==e?e:g.Fade,v=Object.assign(Object.assign({},d(_,"from")),d(O,"from")),y=Object.assign(Object.assign({},d(_,"to")),d(O,"to"));R.set(m.set,v);"char_line"===l||"word_line"===l?m.animate.forEach(t=>{R.to(t.char,y,t.charIndexInLine*m.speed)}):R.to(m.animate,Object.assign(Object.assign({},y),{stagger:m.speed}),0);const x="function"==typeof T?T(R)||{}:T||{};c?bo.create(Object.assign({trigger:t,scroller:r,start:"top 85%",end:"top 35%",scrub:!0,animation:R},x)):f&&bo.create(Object.assign({trigger:t,scroller:r,start:"top bottom",onEnter:()=>R.restart(),onLeaveBack:()=>R.pause()},x))},k);return()=>e.revert()},{scope:k,dependencies:[E,M]}),r.isValidElement(y)?r.cloneElement(y,{ref:k,style:Object.assign(Object.assign({visibility:E?"visible":"hidden"},_),y.props.style),className:["fade_textation_x",y.props.className,v].filter(Boolean).join(" ")}):e("p",{className:`fade_textation_x ${v}`,style:Object.assign({visibility:E?"visible":"hidden"},_),ref:k,children:a})},VerticalScroll:Ro,Overlay_Text:function(o){const{text:p,children:g,textClass:m,textStyle:_,layerStyle:v,layerClass:y,containerStyle:x,containerClass:b,scrollingElement:w,trigger:T,timeline:O,stagger:C=.2,duration:k=1.5,layers:E=1,layerColor:S="white",RenderLayer:M=Po,animationOrder:A="normal",animation:P="VerticalReveal",extendAnimation:R,gsapScrollTrigger:D,controllerRef:z=null,useOpacity:F,animationDirection:N=0}=o,I=n(null),B=n(null),L=l(E),[j,Y]=i({eachWidth:"100%",lastWidth:"100%"}),X=O||di.timeline({});z&&(z.current=X);const W=u[P],{defaultGsap:q,animation_origins:H,animationStyles:U}=W;return s(()=>{const{eachWidth:t,lastWidth:e}=c(B,L.length);Y({eachWidth:t,lastWidth:e})},[]),a(()=>function(){const t=B.current;if(!t)return;const e=[...t.children],r="reverse"===A?[...e].reverse():"random"===A?f(e):e,n=di.context(()=>{const e=w?document.querySelector(`${w}`):h(t,!0);X.set(r,Object.assign(Object.assign({opacity:1},d(q,"from")),d(R,"from"))),X.to(r,Object.assign(Object.assign(Object.assign({opacity:F?0:1,stagger:C},d(q,"to")),{duration:k}),d(R,"to")));const n="function"==typeof D?D(X)||{}:D||{};"onscroll"===T&&bo.create(Object.assign({trigger:r,start:"top 65%",end:"top 30%",animation:X,scrub:!0,scroller:e},n)),"inview"===T&&bo.create(Object.assign({trigger:r,start:"top bottom",onEnter:()=>X.restart(),onLeaveBack:()=>X.pause(),animation:X,scroller:e},n))},e);return()=>{n.revert()}}(),[P,A,w,R,D,C,N,u,X]),t("div",{style:Object.assign({width:"auto",height:"auto",display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center",position:"relative"},x),className:`overlay_text_container ${b}`,children:[p?e("p",{ref:I,className:`text-parentz ${m}`,style:Object.assign({},_),children:p}):r.cloneElement(g,{ref:I,style:Object.assign(Object.assign({},g.props.style),_),className:[g.props.className,"text-parentz",m].filter(Boolean).join(" ")}),e("div",{ref:B,className:"text_overlay_container",style:{width:"100%",height:"100%",position:"absolute",top:0,left:0,display:"flex",justifyContent:"flex-start",alignItems:"flex-start"},children:L.map((t,r)=>{const n=L.length-1===r,{eachWidth:i,lastWidth:s}=j;return e("div",{className:`each-overlay-block ${y}`,style:Object.assign(Object.assign({width:n?s:i,height:"100%",willChange:"transform",background:S,transformOrigin:"number"==typeof N?H[N]||"center":N,display:"flex",justifyContent:"center",alignItems:"center"},U),v),children:e(M,{data:t,index:r})},r)})})]})}};function ul(t){const{text:a,scrollingElement:o,progression:l="char",style:u,className:c,children:f,playOnScroll:h=!1,playInView:d=!1,delay:p=0,timeline:g,speed:m,gsapScrollTrigger:_,defaultAnimation:v,extendAnimation:y,watch:x=!1}=t,b=n(null),[w,T]=i(0),[O,C]=i(!1);return s(()=>{!function(){if(!x)return;("string"==typeof x?document.querySelector(x):window).addEventListener("resize",()=>{T(t=>t+1)})}()},[]),s(()=>{if("loaded"===document.fonts.status)C(!0);else{function t(){return Do(this,void 0,void 0,function*(){yield document.fonts.ready.then(()=>{C(!0)}).catch(()=>{C(!0)})})}t()}},[]),Lo(function(){const t=b.current;if(!t||!O)return;const e=o?document.querySelector(`${o}`):function(t){let e=document.querySelector(t);for(;e;){const{overflowY:t}=getComputedStyle(e);if(("auto"===t||"scroll"===t)&&e.scrollHeight>e.clientHeight)return e;e=e.parentElement}return document.scrollingElement}(".fade_textation_x"),r=ol.create(t,{type:"lines,words,chars",linesClass:"line",wordsClass:"word",charsClass:"char",autoSplit:!0}),{chars:n,lines:i,words:s}=r,a=function(){let t=n;if("char_line"===l){const e=i.flatMap(t=>{const e=n.filter(e=>t.contains(e));return e.map((t,e)=>({char:t,charIndexInLine:e}))});t=e}else if("word_line"===l){const e=i.flatMap((t,e)=>{const r=s.filter(e=>t.contains(e));return r.map((t,e)=>({char:t,charIndexInLine:e}))});t=e}else t="char"==l?n:"word"==l?s:"line"==l?i:n;return{set:"char"==l?n:"word"==l?s:"line"==l?i:"char_line"==l?n:"word_line"==l?s:n,animate:t,speed_0:m||("char"==l?h?.005:.1:"word"==l?.35:"line"==l?.9:"char_line"==l?.08:"word_line"==l?.5:.08)}}();function u(t,e){const r="object"==typeof t?t:{},n=Object.entries(r).map(t=>{const[e,r]=t;return{key:e,val:r}}),i={};for(let t=0;t<n.length;t++){const r=n[t].key,s=n[t].val,a="from"==e?s[0]:"to"==e?s[1]:"";null!==a&&(i[r]=a)}return i}const c=!(!h&&!d),f=g||di.timeline({paused:c,delay:p});f.set(a.set,Object.assign(Object.assign({opacity:0},u(v,"from")),u(y,"from")));const x=function(){if("object"==typeof _)return _;if("function"==typeof _)return _(f)||{};return{}}();return(t=>{t&&a.animate.forEach((e,r)=>{let n="char_line"===l||"word_line"===l,i=n?e.char:e;const s=n?e.charIndexInLine:r;t.to(i,Object.assign(Object.assign({opacity:1,ease:"power3.out"},u(v,"to")),u(y,"to")),s*a.speed_0)})})(f),h?bo.create(Object.assign({trigger:t,scroller:e,start:"top 85%",end:"top 35%",scrub:h,animation:f},x)):d&&bo.create(Object.assign({trigger:t,scroller:e,start:"top bottom",onEnter:()=>f.restart(),onLeaveBack:()=>f.pause()},x)),()=>{r.revert(),f.kill(),bo.getAll().forEach(e=>{e.trigger===t&&e.kill()})}},{dependencies:[O,w],scope:b}),r.isValidElement(f)?r.cloneElement(f,{ref:b,style:Object.assign(Object.assign({visibility:O?"visible":"hidden"},u),f.props.style),className:["fade_textation_x",f.props.className,c].filter(Boolean).join(" ")}):e("p",{className:`fade_textation_x ${c}`,style:Object.assign({visibility:O?"visible":"hidden"},u),ref:b,children:a})}di.registerPlugin(ol,bo);const cl={TextEngine:ul,TextFade:function(t){return e(ul,Object.assign({defaultAnimation:{opacity:[0,1]}},t))},TextFadeSkew:function(t){return e(ul,Object.assign({defaultAnimation:{opacity:[0,1],x:[100,0],skewX:[100,0]}},t))},TextFadeSkew_2:function(t){return e(ul,Object.assign({defaultAnimation:{opacity:[0,1],x:[100,0],y:[100,0],skewX:[-100,0]}},t))},TextFadeDown:function(t){return e(ul,Object.assign({defaultAnimation:{opacity:[0,1],y:["100%","0%"],duration:[null,1],stagger:[null,.1]}},t))},TextFadeOverlay:function(t){return e(ul,Object.assign({defaultAnimation:{opacity:[.2,1]}},t))},VerticalScroll:Ro};function fl({name:t}){console.log("Hey!!! Hello ",t,". Package is updated!!!")}const{TextEngine:hl,TextFade:dl,TextFadeDown:pl,TextFadeSkew:gl,TextFadeSkew_2:ml,TextFadeOverlay:_l}=cl,{Z_Text:vl,VerticalScroll:yl,Overlay_Text:xl}=ll;export{xl as Overlay_Text,hl as TextEngine,dl as TextFade,pl as TextFadeDown,_l as TextFadeOverlay,gl as TextFadeSkew,ml as TextFadeSkew_2,yl as VerticalScroll,vl as Z_Text,fl as justSayHello};
55
55
  //# sourceMappingURL=index.mjs.map