vendor: 4,117 bytes, line 1
1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,89970,t=>{"use strict";function e(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var r,n,s,o,a,h,l,u,c,p,f,d,_,m,g,v,y,w,T,b,x,S,E,O,M,k,z,C,R={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},A={duration:.5,overwrite:!1,delay:0},D=2*Math.PI,P=D/4,L=0,F=Math.sqrt,N=Math.cos,I=Math.sin,W=function(t){return"string"==typeof t},B=function(t){return"function"==typeof t},H=function(t){return"number"==typeof t},Y=function(t){return void 0===t},U=function(t){return"object"==typeof t},X=function(t){return!1!==t},V=function(){return"undefined"!=typeof window},q=function(t){return B(t)||W(t)},j="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},$=Array.isArray,G=/(?:-?\.?\d|\.)+/gi,Q=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Z=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,K=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,J=/[+-]=-?[.\d]+/,tt=/[^,'"\[\]\s]+/gi,te=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ti={},tr={},tn=function(t){return(tr=tP(t,ti))&&ik},ts=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},to=function(t,e){return!e&&console.warn(t)},ta=function(t,e){return t&&(ti[t]=e)&&tr&&(tr[t]=e)||ti},th=function(){return 0},tl={suppressEvents:!0,isStart:!0,kill:!1},tu={suppressEvents:!0,kill:!1},tc={suppressEvents:!0},tp={},tf=[],td={},t_={},tm={},tg=30,tv=[],ty="",tw=function(t){var e,i,r=t[0];if(U(r)||B(r)||(t=[t]),!(e=(r._gsap||{}).harness)){for(i=tv.length;i--&&!tv[i].targetTest(r););e=tv[i]}for(i=t.length;i--;)t[i]&&(t[i]._gsap||(t[i]._gsap=new eY(t[i],e)))||t.splice(i,1);return t},tT=function(t){return t._gsap||tw(en(t))[0]._gsap},tb=function(t,e,i){return(i=t[e])&&B(i)?t[e]():Y(i)&&t.getAttribute&&t.getAttribute(e)||i},tx=function(t,e){return(t=t.split(",")).forEach(e)||t},tS=function(t){return Math.round(1e5*t)/1e5||0},tE=function(t){return Math.round(1e7*t)/1e7||0},tO=function(t,e){var i=e.charAt(0),r=parseFloat(e.substr(2));return t=parseFloat(t),"+"===i?t+r:"-"===i?t-r:"*"===i?t*r:t/r},tM=function(t,e){for(var i=e.length,r=0;0>t.indexOf(e[r])&&++r<i;);return r<i},tk=function(){var t,e,i=tf.length,r=tf.slice(0);for(t=0,td={},tf.length=0;t<i;t++)(e=r[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)},tz=function(t){return!!(t._initted||t._startAt||t.add)},tC=function(t,e,i,r){tf.length&&!T&&tk(),t.render(e,i,r||!!(T&&e<0&&tz(t))),tf.length&&!T&&tk()},tR=function(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(tt).length<2?e:W(t)?t.trim():t},tA=function(t){return t},tD=function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t},tP=function(t,e){for(var i in e)t[i]=e[i];return t},tL=function t(e,i){for(var r in i)"__proto__"!==r&&"constructor"!==r&&"prototype"!==r&&(e[r]=U(i[r])?t(e[r]||(e[r]={}),i[r]):i[r]);return e},tF=function(t,e){var i,r={};for(i in t)i in e||(r[i]=t[i]);return r},tN=function(t){var e,i=t.parent||x,r=t.keyframes?(e=$(t.keyframes),function(t,i){for(var r in i)r in t||"duration"===r&&e||"ease"===r||(t[r]=i[r])}):tD;if(X(t.inherit))for(;i;)r(t,i.vars.defaults),i=i.parent||i._dp;return t},tI=function(t,e){for(var i=t.length,r=i===e.length;r&&i--&&t[i]===e[i];);return i<0},tW=function(t,e,i,r,n){void 0===i&&(i="_first"),void 0===r&&(r="_last");var s,o=t[r];if(n)for(s=e[n];o&&o[n]>s;)o=o._prev;return o?(e._next=o._next,o._next=e):(e._next=t[i],t[i]=e),e._next?e._next._prev=e:t[r]=e,e._prev=o,e.parent=e._dp=t,e},tB=function(t,e,i,r){void 0===i&&(i="_first"),void 0===r&&(r="_last");var n=e._prev,s=e._next;n?n._next=s:t[i]===e&&(t[i]=s),s?s._prev=n:t[r]===e&&(t[r]=n),e._next=e._prev=e.parent=null},tH=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},tY=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var i=t;i;)i._dirty=1,i=i.parent;return t},tU=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}
1,tX=function(t,e,i,r){return t._startAt&&(T?t._startAt.revert(tu):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,r))},tV=function(t){return t._repeat?tq(t._tTime,t=t.duration()+t._rDelay)*t:0},tq=function(t,e){var i=Math.floor(t=tE(t/e));return t&&i===t?i-1:i},tj=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},t$=function(t){return t._end=tE(t._start+(t._tDur/Math.abs(t._ts||t._rts||1e-8)||0))},tG=function(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=tE(i._time-(t._ts>0?e/t._ts:-(((t._dirty?t.totalDuration():t._tDur)-e)/t._ts))),t$(t),i._dirty||tY(i,t)),t},tQ=function(t,e){var i;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(i=tj(t.rawTime(),e),(!e._dur||et(0,e.totalDuration(),i)-e._tTime>1e-8)&&e.render(i,!0)),tY(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(i=t;i._dp;)i.rawTime()>=0&&i.totalTime(i._tTime),i=i._dp;t._zTime=-1e-8}},tZ=function(t,e,i,r){return e.parent&&tH(e),e._start=tE((H(i)?i:i||t!==x?t4(t,i,e):t._time)+e._delay),e._end=tE(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),tW(t,e,"_first","_last",t._sort?"_start":0),t1(e)||(t._recent=e),r||tQ(t,e),t._ts<0&&tG(t,t._tTime),t},tK=function(t,e){return(ti.ScrollTrigger||ts("scrollTrigger",e))&&ti.ScrollTrigger.create(e,t)},tJ=function(t,e,i,r,n){return(e1(t,e,n),t._initted)?!i&&t._pt&&!T&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&k!==eM.frame?(tf.push(t),t._lazy=[n,r],1):void 0:1},t0=function t(e){var i=e.parent;return i&&i._ts&&i._initted&&!i._lock&&(0>i.rawTime()||t(i))},t1=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},t2=function(t,e,i,r){var n,s,o,a=t.ratio,h=e<0||!e&&(!t._start&&t0(t)&&!(!t._initted&&t1(t))||(t._ts<0||t._dp._ts<0)&&!t1(t))?0:1,l=t._rDelay,u=0;if(l&&t._repeat&&(s=tq(u=et(0,t._tDur,e),l),t._yoyo&&1&s&&(h=1-h),s!==tq(t._tTime,l)&&(a=1-h,t.vars.repeatRefresh&&t._initted&&t.invalidate())),h!==a||T||r||1e-8===t._zTime||!e&&t._zTime){if(!t._initted&&tJ(t,e,r,i,u))return;for(o=t._zTime,t._zTime=e||1e-8*!!i,i||(i=e&&!o),t.ratio=h,t._from&&(h=1-h),t._time=0,t._tTime=u,n=t._pt;n;)n.r(h,n.d),n=n._next;e<0&&tX(t,e,i,!0),t._onUpdate&&!i&&e_(t,"onUpdate"),u&&t._repeat&&!i&&t.parent&&e_(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===h&&(h&&tH(t,1),i||T||(e_(t,h?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},t5=function(t,e,i){var r;if(i>e)for(r=t._first;r&&r._start<=i;){if("isPause"===r.data&&r._start>e)return r;r=r._next}else for(r=t._last;r&&r._start>=i;){if("isPause"===r.data&&r._start<e)return r;r=r._prev}},t3=function(t,e,i,r){var n=t._repeat,s=tE(e)||0,o=t._tTime/t._tDur;return o&&!r&&(t._time*=s/t._dur),t._dur=s,t._tDur=n?n<0?1e10:tE(s*(n+1)+t._rDelay*n):s,o>0&&!r&&tG(t,t._tTime=t._tDur*o),t.parent&&t$(t),i||tY(t.parent,t),t},t8=function(t){return t instanceof eX?tY(t):t3(t,t._dur)},t6={_start:0,endTime:th,totalDuration:th},t4=function t(e,i,r){var n,s,o,a=e.labels,h=e._recent||t6,l=e.duration()>=1e8?h.endTime(!1):e._dur;return W(i)&&(isNaN(i)||i in a)?(s=i.charAt(0),o="%"===i.substr(-1),n=i.indexOf("="),"<"===s||">"===s)?(n>=0&&(i=i.replace(/=/,"")),("<"===s?h._start:h.endTime(h._repeat>=0))+(parseFloat(i.substr(1))||0)*(o?(n<0?h:r).totalDuration()/100:1)):n<0?(i in a||(a[i]=l),a[i]):(s=parseFloat(i.charAt(n-1)+i.substr(n+1)),o&&r&&(s=s/100*($(r)?r[0]:r).totalDuration()),n>1?t(e,i.substr(0,n-1),r)+s:l+s):null==i?l:+i},t9=function(t,e,i){var r,n,s=H(e[1]),o=(s?2:1)+(t<2?0:1),a=e[o];if(s&&(a.duration=e[1]),a.parent=i,t){for(r=a,n=i;n&&!("immediateRender"in r);)r=n.vars.defaults||{},n=X(n.vars.inherit)&&n.parent;a.immediateRender=X(r.immediateRender),t<2?a.runBackwards=1:a.startAt=e[o-1]}return new e9(e[0],a,e[o+1])},t7=function(t,e){return t||0===t?e(t):e},et=function(t,e,i){return i<t?t:i>e?e:i},ee=function(t,e){return W(t)&&(e=te.exec(t))?e[1]:""},ei=[].slice,er=function(t,e){return t&&U(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&U(t[0]))&&!t.nodeType&&t!==S},en=function(t,e,i){var r;return b&&!e&&b.selector?b.selector(t):W(t)&&!i&&(E||!ek())?ei.call((e||O).querySelectorAll(t),0):$(t)?(void 0===r&&(r=[]),t.forEach(function(t){var e;return W(t)&&!i||er(t,1)?(e=r).push.apply(e,en(t)):r.push(t)})||r):er(t)?ei.call(t,0):t?[t]:[]},es=function(t){return t=en(t)[0]||to("Invalid scope")||{},function(e){var i=t.current||t.nativeElement||t;return en(e,i.querySelectorAll?i:i===t?to("Invalid scope")||O.createElement("div"):t)}},eo=function(t){return t.sort(function(){return .5-Math.random()})},ea=function(t){if(B(t))return t;var e=U(t)?t:{each:t},i=eN(e.ease),r=e.from||0,n=parseFloat(e.base)||0,s={},o=r>0&&r<1,a=isNaN(r)||o,h=e.axis,l=r,u=r;return W(r)?l=u=({center:.5,edges:.5,end:1})[r]||0:!o&&a&&(l=r[0],u=r[1]),function(t,o,c){var p,f,d,_,m,g,v,y,w,T=(c||e).length,b=s[T];if(!b){if(!(w="auto"===e.grid?0:(e.grid||[1,1e8])[1])){for(v=-1e8;v<(v=c[w++].getBoundingClientRect().left)&&w<T;);w<T&&w--}for(g=0,b=s[T]=[],p=a?Math.min(w,T)*l-.5:r%w,f=1e8===w?0:a?T*u/w-.5:r/w|0,v=0,y=1e8;g<T;
1g++)d=g%w-p,_=f-(g/w|0),b[g]=m=h?Math.abs("y"===h?_:d):F(d*d+_*_),m>v&&(v=m),m<y&&(y=m);"random"===r&&eo(b),b.max=v-y,b.min=y,b.v=T=(parseFloat(e.amount)||parseFloat(e.each)*(w>T?T-1:h?"y"===h?T/w:w:Math.max(w,T/w))||0)*("edges"===r?-1:1),b.b=T<0?n-T:n,b.u=ee(e.amount||e.each)||0,i=i&&T<0?eL(i):i}return T=(b[t]-b.min)/b.max||0,tE(b.b+(i?i(T):T)*b.v)+b.u}},eh=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(i){var r=tE(Math.round(parseFloat(i)/t)*t*e);return(r-r%1)/e+(H(i)?0:ee(i))}},el=function(t,e){var i,r,n=$(t);return!n&&U(t)&&(i=n=t.radius||1e8,t.values?(r=!H((t=en(t.values))[0]))&&(i*=i):t=eh(t.increment)),t7(e,n?B(t)?function(e){return Math.abs((r=t(e))-e)<=i?r:e}:function(e){for(var n,s,o=parseFloat(r?e.x:e),a=parseFloat(r?e.y:0),h=1e8,l=0,u=t.length;u--;)(n=r?(n=t[u].x-o)*n+(s=t[u].y-a)*s:Math.abs(t[u]-o))<h&&(h=n,l=u);return l=!i||h<=i?t[l]:e,r||l===e||H(e)?l:l+ee(e)}:eh(t))},eu=function(t,e,i,r){return t7($(t)?!e:!0===i?(i=0,!1):!r,function(){return $(t)?t[~~(Math.random()*t.length)]:(r=(i=i||1e-5)<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((t-i/2+Math.random()*(e-t+.99*i))/i)*i*r)/r})},ec=function(t,e,i){return t7(i,function(i){return t[~~e(i)]})},ep=function(t){for(var e,i,r,n,s=0,o="";~(e=t.indexOf("random(",s));)r=t.indexOf(")",e),n="["===t.charAt(e+7),i=t.substr(e+7,r-e-7).match(n?tt:G),o+=t.substr(s,e-s)+eu(n?i:+i[0],n?0:+i[1],+i[2]||1e-5),s=r+1;return o+t.substr(s,t.length-s)},ef=function(t,e,i,r,n){var s=e-t,o=r-i;return t7(n,function(e){return i+((e-t)/s*o||0)})},ed=function(t,e,i){var r,n,s,o=t.labels,a=1e8;for(r in o)(n=o[r]-e)<0==!!i&&n&&a>(n=Math.abs(n))&&(s=r,a=n);return s},e_=function(t,e,i){var r,n,s,o=t.vars,a=o[e],h=b,l=t._ctx;if(a)return r=o[e+"Params"],n=o.callbackScope||t,i&&tf.length&&tk(),l&&(b=l),s=r?a.apply(n,r):a.call(n),b=h,s},em=function(t){return tH(t),t.scrollTrigger&&t.scrollTrigger.kill(!!T),1>t.progress()&&e_(t,"onInterrupt"),t},eg=[],ev=function(t){if(t)if(t=!t.name&&t.default||t,V()||t.headless){var e=t.name,i=B(t),r=e&&!i&&t.init?function(){this._props=[]}:t,n={init:th,render:ih,add:eK,kill:iu,modifier:il,rawVars:0},s={targetTest:0,get:0,getSetter:ir,aliases:{},register:0};if(ek(),t!==r){if(t_[e])return;tD(r,tD(tF(t,n),s)),tP(r.prototype,tP(n,tF(t,s))),t_[r.prop=e]=r,t.targetTest&&(tv.push(r),tp[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}ta(e,r),t.register&&t.register(ik,r,id)}else eg.push(t)},ey={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},ew=function(t,e,i){return(6*(t+=t<0?1:t>1?-1:0)<1?e+(i-e)*t*6:t<.5?i:3*t<2?e+(i-e)*(2/3-t)*6:e)*255+.5|0},eT=function(t,e,i){var r,n,s,o,a,h,l,u,c,p,f=t?H(t)?[t>>16,t>>8&255,255&t]:0:ey.black;if(!f){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),ey[t])f=ey[t];else if("#"===t.charAt(0)){if(t.length<6&&(r=t.charAt(1),t="#"+r+r+(n=t.charAt(2))+n+(s=t.charAt(3))+s+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(f=parseInt(t.substr(1,6),16))>>16,f>>8&255,255&f,parseInt(t.substr(7),16)/255];f=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t]}else if("hsl"===t.substr(0,3))if(f=p=t.match(G),e){if(~t.indexOf("="))return f=t.match(Q),i&&f.length<4&&(f[3]=1),f}else o=f[0]%360/360,a=f[1]/100,n=(h=f[2]/100)<=.5?h*(a+1):h+a-h*a,r=2*h-n,f.length>3&&(f[3]*=1),f[0]=ew(o+1/3,r,n),f[1]=ew(o,r,n),f[2]=ew(o-1/3,r,n);else f=t.match(G)||ey.transparent;f=f.map(Number)}return e&&!p&&(r=f[0]/255,h=((l=Math.max(r,n=f[1]/255,s=f[2]/255))+(u=Math.min(r,n,s)))/2,l===u?o=a=0:(c=l-u,a=h>.5?c/(2-l-u):c/(l+u),o=(l===r?(n-s)/c+6*(n<s):l===n?(s-r)/c+2:(r-n)/c+4)*60),f[0]=~~(o+.5),f[1]=~~(100*a+.5),f[2]=~~(100*h+.5)),i&&f.length<4&&(f[3]=1),f},eb=function(t){var e=[],i=[],r=-1;return t.split(eS).forEach(function(t){var n=t.match(Z)||[];e.push.apply(e,n),i.push(r+=n.length+1)}),e.c=i,e}
1,ex=function(t,e,i){var r,n,s,o,a="",h=(t+a).match(eS),l=e?"hsla(":"rgba(",u=0;if(!h)return t;if(h=h.map(function(t){return(t=eT(t,e,1))&&l+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"}),i&&(s=eb(t),(r=i.c).join(a)!==s.c.join(a)))for(o=(n=t.replace(eS,"1").split(Z)).length-1;u<o;u++)a+=n[u]+(~r.indexOf(u)?h.shift()||l+"0,0,0,0)":(s.length?s:h.length?h:i).shift());if(!n)for(o=(n=t.split(eS)).length-1;u<o;u++)a+=n[u]+h[u];return a+n[o]},eS=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in ey)e+="|"+t+"\\b";return RegExp(e+")","gi")}(),eE=/hsl[a]?\(/,eO=function(t){var e,i=t.join(" ");if(eS.lastIndex=0,eS.test(i))return e=eE.test(i),t[1]=ex(t[1],e),t[0]=ex(t[0],e,eb(t[1])),!0},eM=(c=Date.now,p=500,f=33,_=d=c(),m=1e3/240,g=1e3/240,v=[],y=function t(e){var i,r,n,a,y=c()-_,w=!0===e;if((y>p||y<0)&&(d+=y-f),_+=y,((i=(n=_-d)-g)>0||w)&&(a=++h.frame,l=n-1e3*h.time,h.time=n/=1e3,g+=i+(i>=m?4:m-i),r=1),w||(s=o(t)),r)for(u=0;u<v.length;u++)v[u](n,l,a,e)},h={time:0,frame:0,tick:function(){y(!0)},deltaRatio:function(t){return l/(1e3/(t||60))},wake:function(){M&&(!E&&V()&&(O=(S=E=window).document||{},ti.gsap=ik,(S.gsapVersions||(S.gsapVersions=[])).push(ik.version),tn(tr||S.GreenSockGlobals||!S.gsap&&S||{}),eg.forEach(ev)),a="undefined"!=typeof requestAnimationFrame&&requestAnimationFrame,s&&h.sleep(),o=a||function(t){return setTimeout(t,g-1e3*h.time+1|0)},C=1,y(2))},sleep:function(){(a?cancelAnimationFrame:clearTimeout)(s),C=0,o=th},lagSmoothing:function(t,e){f=Math.min(e||33,p=t||1/0)},fps:function(t){m=1e3/(t||240),g=1e3*h.time+m},add:function(t,e,i){var r=e?function(e,i,n,s){t(e,i,n,s),h.remove(r)}:t;return h.remove(t),v[i?"unshift":"push"](r),ek(),r},remove:function(t,e){~(e=v.indexOf(t))&&v.splice(e,1)&&u>=e&&u--},_listeners:v}),ek=function(){return!C&&eM.wake()},ez={},eC=/^[\d.\-M][\d.\-,\s]/,eR=/["']/g,eA=function(t){for(var e,i,r,n={},s=t.substr(1,t.length-3).split(":"),o=s[0],a=1,h=s.length;a<h;a++)i=s[a],e=a!==h-1?i.lastIndexOf(","):i.length,r=i.substr(0,e),n[o]=isNaN(r)?r.replace(eR,"").trim():+r,o=i.substr(e+1).trim();return n},eD=function(t){var e=t.indexOf("(")+1,i=t.indexOf(")"),r=t.indexOf("(",e);return t.substring(e,~r&&r<i?t.indexOf(")",i+1):i)},eP=function(t){var e=(t+"").split("("),i=ez[e[0]];return i&&e.length>1&&i.config?i.config.apply(null,~t.indexOf("{")?[eA(e[1])]:eD(t).split(",").map(tR)):ez._CE&&eC.test(t)?ez._CE("",t):i},eL=function(t){return function(e){return 1-t(1-e)}},eF=function t(e,i){for(var r,n=e._first;n;)n instanceof eX?t(n,i):!n.vars.yoyoEase||n._yoyo&&n._repeat||n._yoyo===i||(n.timeline?t(n.timeline,i):(r=n._ease,n._ease=n._yEase,n._yEase=r,n._yoyo=i)),n=n._next},eN=function(t,e){return t&&(B(t)?t:ez[t]||eP(t))||e},eI=function(t,e,i,r){void 0===i&&(i=function(t){return 1-e(1-t)}),void 0===r&&(r=function(t){return t<.5?e(2*t)/2:1-e((1-t)*2)/2});var n,s={easeIn:e,easeOut:i,easeInOut:r};return tx(t,function(t){for(var e in ez[t]=ti[t]=s,ez[n=t.toLowerCase()]=i,s)ez[n+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=ez[t+"."+e]=s[e]}),s},eW=function(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t((e-.5)*2)/2}},eB=function t(e,i,r){var n=i>=1?i:1,s=(r||(e?.3:.45))/(i<1?i:1),o=s/D*(Math.asin(1/n)||0),a=function(t){return 1===t?1:n*Math.pow(2,-10*t)*I((t-o)*s)+1},h="out"===e?a:"in"===e?function(t){return 1-a(1-t)}:eW(a);return s=D/s,h.config=function(i,r){return t(e,i,r)},h},eH=function t(e,i){void 0===i&&(i=1.70158);var r=function(t){return t?--t*t*((i+1)*t+i)+1:0},n="out"===e?r:"in"===e?function(t){return 1-r(1-t)}:eW(r);return n.config=function(i){return t(e,i)},n};tx("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var i=e<5?e+1:e;eI(t+",Power"+(i-1),e?function(t){return Math.pow(t,i)}:function(t){return t},function(t){return 1-Math.pow(1-t,i)},function(t){return t<.5?Math.pow(2*t,i)/2:1-Math.pow((1-t)*2,i)/2})}),ez.Linear.easeNone=ez.none=ez.Linear.easeIn,eI("Elastic",eB("in"),eB("out"),eB()),eq=2*(eV=1/2.75),ej=2.5*eV,eI("Bounce",function(t){return 1-e$(1-t)},e$=function(t){return t<eV?7.5625*t*t:t<eq?7.5625*Math.pow(t-1.5/2.75,2)+.75:t<ej?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*Math.pow(t-2.625/2.75,2)+.984375}),eI("Expo",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)}),eI("Circ",function(t){return-(F(1-t*t)-1)}),eI("Sine",function(t){return 1===t?1:-N(t*P)+1}),eI("Back",eH("in"),eH("out"),eH()),ez.SteppedEase=ez.steps=ti.SteppedEase={config:function(t,e){void 0===t&&(t=1);var i=1/t,r=t+ +!e,n=+!!e,s=.99999999;return function(t){return((r*et(0,s,t)|0)+n)*i}}},A.ease=ez["quad.out"],tx("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return ty+=t+","+t+"Param
1s,"});var eY=function(t,e){this.id=L++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:tb,this.set=e?e.getSetter:ir},eU=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,t3(this,+t.duration,1,1),this.data=t.data,b&&(this._ctx=b,b.data.push(this)),C||eM.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,t3(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(ek(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(tG(this,t),!i._dp||i.parent||tQ(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:-((i.totalDuration()-i._tTime)/i._ts))&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&tZ(this._dp,this,this._start-this._delay)}return this._tTime===t&&(this._dur||e)&&(!this._initted||1e-8!==Math.abs(this._zTime))&&(t||this._initted||!this.add&&!this._ptLookup)||(this._ts||(this._pTime=t),tC(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+tV(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())?1-t:t)+tV(this),e):this.duration()?Math.min(1,this._time/this._dur):+(this.rawTime()>0)},e.iteration=function(t,e){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*i,e):this._repeat?tq(this._tTime,i)+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 i=this.parent&&this._ts?tj(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(et(-Math.abs(this._delay),this.totalDuration(),i),!1!==e),t$(this),tU(this)},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(ek(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&1e-8!==Math.abs(this._zTime)&&(this._tTime-=1e-8)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&tZ(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(X(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&&1>this.totalProgress())?this._tTime%(this._dur+this._rDelay):this._ts?tj(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=tc);var e=T;return T=t,tz(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),T=e,this},e.globalTime=function(t){for(var e=this,i=arguments.length?t:e.rawTime();e;)i=e._start+i/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):i},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,t8(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,t8(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(t4(this,t),X(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,X(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}
vendor: 4,400 bytes, line 1
1,e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var t,e=this.parent||this._dp,i=this._start;return!!(!e||this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=i&&t<this.endTime(!0)-1e-8)},e.eventCallback=function(t,e,i){var r=this.vars;return arguments.length>1?(e?(r[t]=e,i&&(r[t+"Params"]=i),"onUpdate"===t&&(this._onUpdate=e)):delete r[t],this):r[t]},e.then=function(t){var e=this;return new Promise(function(i){var r=B(t)?t:tA,n=function(){var t=e.then;e.then=null,B(r)&&(r=r(e))&&(r.then||r===e)&&(e.then=t),i(r),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?n():e._prom=n})},e.kill=function(){em(this)},t}();tD(eU.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 eX=function(t){function r(i,r){var n;return void 0===i&&(i={}),(n=t.call(this,i)||this).labels={},n.smoothChildTiming=!!i.smoothChildTiming,n.autoRemoveChildren=!!i.autoRemoveChildren,n._sort=X(i.sortChildren),x&&tZ(i.parent||x,e(n),r),i.reversed&&n.reverse(),i.paused&&n.paused(!0),i.scrollTrigger&&tK(e(n),i.scrollTrigger),n}i(r,t);var n=r.prototype;return n.to=function(t,e,i){return t9(0,arguments,this),this},n.from=function(t,e,i){return t9(1,arguments,this),this},n.fromTo=function(t,e,i,r){return t9(2,arguments,this),this},n.set=function(t,e,i){return e.duration=0,e.parent=this,tN(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new e9(t,e,t4(this,i),1),this},n.call=function(t,e,i){return tZ(this,e9.delayedCall(0,t,e),i)},n.staggerTo=function(t,e,i,r,n,s,o){return i.duration=e,i.stagger=i.stagger||r,i.onComplete=s,i.onCompleteParams=o,i.parent=this,new e9(t,i,t4(this,n)),this},n.staggerFrom=function(t,e,i,r,n,s,o){return i.runBackwards=1,tN(i).immediateRender=X(i.immediateRender),this.staggerTo(t,e,i,r,n,s,o)},n.staggerFromTo=function(t,e,i,r,n,s,o,a){return r.startAt=i,tN(r).immediateRender=X(r.immediateRender),this.staggerTo(t,e,r,n,s,o,a)},n.render=function(t,e,i){var r,n,s,o,a,h,l,u,c,p,f,d,_=this._time,m=this._dirty?this.totalDuration():this._tDur,g=this._dur,v=t<=0?0:tE(t),y=this._zTime<0!=t<0&&(this._initted||!g);if(this!==x&&v>m&&t>=0&&(v=m),v!==this._tTime||i||y){if(_!==this._time&&g&&(v+=this._time-_,t+=this._time-_),r=v,c=this._start,h=!(u=this._ts),y&&(g||(_=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(f=this._yoyo,a=g+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*a+t,e,i);if(r=tE(v%a),v===m?(o=this._repeat,r=g):((o=~~(p=tE(v/a)))&&o===p&&(r=g,o--),r>g&&(r=g)),p=tq(this._tTime,a),!_&&this._tTime&&p!==o&&this._tTime-p*a-this._dur<=0&&(p=o),f&&1&o&&(r=g-r,d=1),o!==p&&!this._lock){var w=f&&1&p,b=w===(f&&1&o);if(o<p&&(w=!w),_=w?0:v%g?g:v,this._lock=1,this.render(_||(d?0:tE(o*a)),e,!g)._lock=0,this._tTime=v,!e&&this.parent&&e_(this,"onRepeat"),this.vars.repeatRefresh&&!d&&(this.invalidate()._lock=1),_&&_!==this._time||!this._ts!==h||this.vars.onRepeat&&!this.parent&&!this._act||(g=this._dur,m=this._tDur,b&&(this._lock=2,_=w?g:-1e-4,this.render(_,!0),this.vars.repeatRefresh&&!d&&this.invalidate()),this._lock=0,!this._ts&&!h))return this;eF(this,d)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(l=t5(this,tE(_),tE(r)))&&(v-=r-(r=l._start)),this._tTime=v,this._time=r,this._act=!u,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,_=0),!_&&v&&!e&&!p&&(e_(this,"onStart"),this._tTime!==v))return this;if(r>=_&&t>=0)for(n=this._first;n;){if(s=n._next,(n._act||r>=n._start)&&n._ts&&l!==n){if(n.parent!==this)return this.render(t,e,i);if(n.render(n._ts>0?(r-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(r-n._start)*n._ts,e,i),r!==this._time||!this._ts&&!h){l=0,s&&(v+=this._zTime=-1e-8);break}}n=s}else{n=this._last;for(var S=t<0?t:r;n;){if(s=n._prev,(n._act||S<=n._end)&&n._ts&&l!==n){if(n.parent!==this)return this.render(t,e,i);if(n.render(n._ts>0?(S-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(S-n._start)*n._ts,e,i||T&&tz(n)),r!==this._time||!this._ts&&!h){l=0,s&&(v+=this._zTime=S?-1e-8:1e-8);break}}n=s}}if(l&&!e&&(this.pause(),l.render(r>=_?0:-1e-8)._zTime=r>=_?1:-1,this._ts))return this._start=c,t$(this),this.render(t,e,i);this._onUpdate&&!e&&e_(this,"onUpdate",!0),(v===m&&this._tTime>=this.totalDuration()||!v&&_)&&(c===this._start||Math.abs(u)!==Math.abs(this._ts
1))&&!this._lock&&((t||!g)&&(v===m&&this._ts>0||!v&&this._ts<0)&&tH(this,1),e||t<0&&!_||!v&&!_&&m||(e_(this,v===m&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(v<m&&this.timeScale()>0)&&this._prom()))}return this},n.add=function(t,e){var i=this;if(H(e)||(e=t4(this,e,t)),!(t instanceof eU)){if($(t))return t.forEach(function(t){return i.add(t,e)}),this;if(W(t))return this.addLabel(t,e);if(!B(t))return this;t=e9.delayedCall(0,t)}return this!==t?tZ(this,t,e):this},n.getChildren=function(t,e,i,r){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===i&&(i=!0),void 0===r&&(r=-1e8);for(var n=[],s=this._first;s;)s._start>=r&&(s instanceof e9?e&&n.push(s):(i&&n.push(s),t&&n.push.apply(n,s.getChildren(!0,e,i)))),s=s._next;return n},n.getById=function(t){for(var e=this.getChildren(1,1,1),i=e.length;i--;)if(e[i].vars.id===t)return e[i]},n.remove=function(t){return W(t)?this.removeLabel(t):B(t)?this.killTweensOf(t):(t.parent===this&&tB(this,t),t===this._recent&&(this._recent=this._last),tY(this))},n.totalTime=function(e,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=tE(eM.time-(this._ts>0?e/this._ts:-((this.totalDuration()-e)/this._ts)))),t.prototype.totalTime.call(this,e,i),this._forcing=0,this):this._tTime},n.addLabel=function(t,e){return this.labels[t]=t4(this,e),this},n.removeLabel=function(t){return delete this.labels[t],this},n.addPause=function(t,e,i){var r=e9.delayedCall(0,e||th,i);return r.data="isPause",this._hasPause=1,tZ(this,r,t4(this,t))},n.removePause=function(t){var e=this._first;for(t=t4(this,t);e;)e._start===t&&"isPause"===e.data&&tH(e),e=e._next},n.killTweensOf=function(t,e,i){for(var r=this.getTweensOf(t,i),n=r.length;n--;)eG!==r[n]&&r[n].kill(t,e);return this},n.getTweensOf=function(t,e){for(var i,r=[],n=en(t),s=this._first,o=H(e);s;)s instanceof e9?tM(s._targets,n)&&(o?(!eG||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())&&r.push(s):(i=s.getTweensOf(n,e)).length&&r.push.apply(r,i),s=s._next;return r},n.tweenTo=function(t,e){e=e||{};var i,r=this,n=t4(r,t),s=e,o=s.startAt,a=s.onStart,h=s.onStartParams,l=s.immediateRender,u=e9.to(r,tD({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:n,overwrite:"auto",duration:e.duration||Math.abs((n-(o&&"time"in o?o.time:r._time))/r.timeScale())||1e-8,onStart:function(){if(r.pause(),!i){var t=e.duration||Math.abs((n-(o&&"time"in o?o.time:r._time))/r.timeScale());u._dur!==t&&t3(u,t,0,1).render(u._time,!0,!0),i=1}a&&a.apply(u,h||[])}},e));return l?u.render(0):u},n.tweenFromTo=function(t,e,i){return this.tweenTo(e,tD({startAt:{time:t4(this,t)}},i))},n.recent=function(){return this._recent},n.nextLabel=function(t){return void 0===t&&(t=this._time),ed(this,t4(this,t))},n.previousLabel=function(t){return void 0===t&&(t=this._time),ed(this,t4(this,t),1)},n.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+1e-8)},n.shiftChildren=function(t,e,i){void 0===i&&(i=0);for(var r,n=this._first,s=this.labels;n;)n._start>=i&&(n._start+=t,n._end+=t),n=n._next;if(e)for(r in s)s[r]>=i&&(s[r]+=t);return tY(this)},n.invalidate=function(e){var i=this._first;for(this._lock=0;i;)i.invalidate(e),i=i._next;return t.prototype.invalidate.call(this,e)},n.clear=function(t){void 0===t&&(t=!0);for(var e,i=this._first;i;)e=i._next,this.remove(i),i=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),tY(this)},n.totalDuration=function(t){var e,i,r,n=0,s=this._last,o=1e8;if(arguments.length)return this.timeScale((this._repeat<0?this.duration():this.totalDuration())/(this.reversed()?-t:t));if(this._dirty){for(r=this.parent;s;)e=s._prev,s._dirty&&s.totalDuration(),(i=s._start)>o&&this._sort&&s._ts&&!this._lock?(this._lock=1,tZ(this,s,i-s._delay,1)._lock=0):o=i,i<0&&s._ts&&(n-=i,(!r&&!this._dp||r&&r.smoothChildTiming)&&(this._start+=i/this._ts,this._time-=i,this._tTime-=i),this.shiftChildren(-i,!1,-Infinity),o=0),s._end>n&&s._ts&&(n=s._end),s=e;t3(this,this===x&&this._time>n?this._time:n,1,1),this._dirty=0}return this._tDur},r.updateRoot=function(t){if(x._ts&&(tC(x,tj(t,x)),k=eM.frame),eM.frame>=tg){tg+=R.autoSleep||120;var e=x._first;if((!e||!e._ts)&&R.autoSleep&&eM._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||eM.sleep()}}},r}(eU);tD(eX.prototype,{_lock:0,_hasPause:0,_forcing:0});
vendor: 4,098 bytes, line 1
1var eV,eq,ej,e$,eG,eQ,eZ=function(t,e,i,r,n,s,o){var a,h,l,u,c,p,f,d,_=new id(this._pt,t,e,0,1,ia,null,n),m=0,g=0;for(_.b=i,_.e=r,i+="",r+="",(f=~r.indexOf("random("))&&(r=ep(r)),s&&(s(d=[i,r],t,e),i=d[0],r=d[1]),h=i.match(K)||[];a=K.exec(r);)u=a[0],c=r.substring(m,a.index),l?l=(l+1)%5:"rgba("===c.substr(-5)&&(l=1),u!==h[g++]&&(p=parseFloat(h[g-1])||0,_._pt={_next:_._pt,p:c||1===g?c:",",s:p,c:"="===u.charAt(1)?tO(p,u)-p:parseFloat(u)-p,m:l&&l<4?Math.round:0},m=K.lastIndex);return _.c=m<r.length?r.substring(m,r.length):"",_.fp=o,(J.test(r)||f)&&(_.e=0),this._pt=_,_},eK=function(t,e,i,r,n,s,o,a,h,l){B(r)&&(r=r(n||0,t,s));var u,c=t[e],p="get"!==i?i:B(c)?h?t[e.indexOf("set")||!B(t["get"+e.substr(3)])?e:"get"+e.substr(3)](h):t[e]():c,f=B(c)?h?ie:it:e7;if(W(r)&&(~r.indexOf("random(")&&(r=ep(r)),"="===r.charAt(1)&&((u=tO(p,r)+(ee(p)||0))||0===u)&&(r=u)),!l||p!==r||eQ)return isNaN(p*r)||""===r?(c||e in t||ts(e,r),eZ.call(this,t,e,p,r,f,a||R.stringFilter,h)):(u=new id(this._pt,t,e,+p||0,r-(p||0),"boolean"==typeof c?io:is,0,f),h&&(u.fp=h),o&&u.modifier(o,this,t),this._pt=u)},eJ=function(t,e,i,r,n){if(B(t)&&(t=e8(t,n,e,i,r)),!U(t)||t.style&&t.nodeType||$(t)||j(t))return W(t)?e8(t,n,e,i,r):t;var s,o={};for(s in t)o[s]=e8(t[s],n,e,i,r);return o},e0=function(t,e,i,r,n,s){var o,a,h,l;if(t_[t]&&!1!==(o=new t_[t]).init(n,o.rawVars?e[t]:eJ(e[t],r,n,s,i),i,r,s)&&(i._pt=a=new id(i._pt,n,t,0,1,o.render,o,0,o.priority),i!==z))for(h=i._ptLookup[i._targets.indexOf(n)],l=o._props.length;l--;)h[o._props[l]]=a;return o},e1=function t(e,i,r){var n,s,o,a,h,l,u,c,p,f,d,_,m,g=e.vars,v=g.ease,y=g.startAt,b=g.immediateRender,S=g.lazy,E=g.onUpdate,O=g.runBackwards,M=g.yoyoEase,k=g.keyframes,z=g.autoRevert,C=e._dur,R=e._startAt,D=e._targets,P=e.parent,L=P&&"nested"===P.data?P.vars.targets:D,F="auto"===e._overwrite&&!w,N=e.timeline;if(!N||k&&v||(v="none"),e._ease=eN(v,A.ease),e._yEase=M?eL(eN(!0===M?v:M,A.ease)):0,M&&e._yoyo&&!e._repeat&&(M=e._yEase,e._yEase=e._ease,e._ease=M),e._from=!N&&!!g.runBackwards,!N||k&&!g.stagger){if(_=(c=D[0]?tT(D[0]).harness:0)&&g[c.prop],n=tF(g,tp),R&&(R._zTime<0&&R.progress(1),i<0&&O&&b&&!z?R.render(-1,!0):R.revert(O&&C?tu:tl),R._lazy=0),y){if(tH(e._startAt=e9.set(D,tD({data:"isStart",overwrite:!1,parent:P,immediateRender:!0,lazy:!R&&X(S),startAt:null,delay:0,onUpdate:E&&function(){return e_(e,"onUpdate")},stagger:0},y))),e._startAt._dp=0,e._startAt._sat=e,i<0&&(T||!b&&!z)&&e._startAt.revert(tu),b&&C&&i<=0&&r<=0){i&&(e._zTime=i);return}}else if(O&&C&&!R)if(i&&(b=!1),o=tD({overwrite:!1,data:"isFromStart",lazy:b&&!R&&X(S),immediateRender:b,stagger:0,parent:P},n),_&&(o[c.prop]=_),tH(e._startAt=e9.set(D,o)),e._startAt._dp=0,e._startAt._sat=e,i<0&&(T?e._startAt.revert(tu):e._startAt.render(-1,!0)),e._zTime=i,b){if(!i)return}else t(e._startAt,1e-8,1e-8);for(s=0,e._pt=e._ptCache=0,S=C&&X(S)||S&&!C;s<D.length;s++){if(u=(h=D[s])._gsap||tw(D)[s]._gsap,e._ptLookup[s]=f={},td[u.id]&&tf.length&&tk(),d=L===D?s:L.indexOf(h),c&&!1!==(p=new c).init(h,_||n,e,d,L)&&(e._pt=a=new id(e._pt,h,p.name,0,1,p.render,p,0,p.priority),p._props.forEach(function(t){f[t]=a}),p.priority&&(l=1)),!c||_)for(o in n)t_[o]&&(p=e0(o,n,e,d,h,L))?p.priority&&(l=1):f[o]=a=eK.call(e,h,o,"get",n[o],d,L,0,g.stringFilter);e._op&&e._op[s]&&e.kill(h,e._op[s]),F&&e._pt&&(eG=e,x.killTweensOf(h,f,e.globalTime(i)),m=!e.parent,eG=0),e._pt&&S&&(td[u.id]=1)}l&&ip(e),e._onInit&&e._onInit(e)}e._onUpdate=E,e._initted=(!e._op||e._pt)&&!m,k&&i<=0&&N.render(1e8,!0,!0)},e2=function(t,e,i,r,n,s,o,a){var h,l,u,c,p=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!p)for(p=t._ptCache[e]=[],u=t._ptLookup,c=t._targets.length;c--;){if((h=u[c][e])&&h.d&&h.d._pt)for(h=h.d._pt;h&&h.p!==e&&h.fp!==e;)h=h._next;if(!h)return eQ=1,t.vars[e]="+=0",e1(t,o),eQ=0,a?to(e+" not eligible for reset"):1;p.push(h)}for(c=p.length;c--;)(h=(l=p[c])._pt||l).s=(r||0===r)&&!n?r:h.s+(r||0)+s*h.c,h.c=i-h.s,l.e&&(l.e=tS(i)+ee(l.e)),l.b&&(l.b=h.s+ee(l.b))},e5=function(t,e){var i,r,n,s,o=t[0]?tT(t[0]).harness:0,a=o&&o.aliases;if(!a)return e;for(r in i=tP({},e),a)if(r in i)for(n=(s=a[r].split(",")).length;n--;)i[s[n]]=i[r];return i}
1,e3=function(t,e,i,r){var n,s,o=e.ease||r||"power1.inOut";if($(e))s=i[t]||(i[t]=[]),e.forEach(function(t,i){return s.push({t:i/(e.length-1)*100,v:t,e:o})});else for(n in e)s=i[n]||(i[n]=[]),"ease"===n||s.push({t:parseFloat(t),v:e[n],e:o})},e8=function(t,e,i,r,n){return B(t)?t.call(e,i,r,n):W(t)&&~t.indexOf("random(")?ep(t):t},e6=ty+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",e4={};tx(e6+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return e4[t]=1});var e9=function(t){function r(i,r,n,s){"number"==typeof r&&(n.duration=r,r=n,n=null);var o,a,h,l,u,c,p,f,d=t.call(this,s?r:tN(r))||this,_=d.vars,m=_.duration,g=_.delay,v=_.immediateRender,y=_.stagger,T=_.overwrite,b=_.keyframes,S=_.defaults,E=_.scrollTrigger,O=_.yoyoEase,M=r.parent||x,k=($(i)||j(i)?H(i[0]):"length"in r)?[i]:en(i);if(d._targets=k.length?tw(k):to("GSAP target "+i+" not found. https://gsap.com",!R.nullTargetWarn)||[],d._ptLookup=[],d._overwrite=T,b||y||q(m)||q(g)){if(r=d.vars,(o=d.timeline=new eX({data:"nested",defaults:S||{},targets:M&&"nested"===M.data?M.vars.targets:k})).kill(),o.parent=o._dp=e(d),o._start=0,y||q(m)||q(g)){if(l=k.length,p=y&&ea(y),U(y))for(u in y)~e6.indexOf(u)&&(f||(f={}),f[u]=y[u]);for(a=0;a<l;a++)(h=tF(r,e4)).stagger=0,O&&(h.yoyoEase=O),f&&tP(h,f),c=k[a],h.duration=+e8(m,e(d),a,c,k),h.delay=(+e8(g,e(d),a,c,k)||0)-d._delay,!y&&1===l&&h.delay&&(d._delay=g=h.delay,d._start+=g,h.delay=0),o.to(c,h,p?p(a,c,k):0),o._ease=ez.none;o.duration()?m=g=0:d.timeline=0}else if(b){tN(tD(o.vars.defaults,{ease:"none"})),o._ease=eN(b.ease||r.ease||"none");var z,C,A,D=0;if($(b))b.forEach(function(t){return o.to(k,t,">")}),o.duration();else{for(u in h={},b)"ease"===u||"easeEach"===u||e3(u,b[u],h,b.easeEach);for(u in h)for(a=0,z=h[u].sort(function(t,e){return t.t-e.t}),D=0;a<z.length;a++)(A={ease:(C=z[a]).e,duration:(C.t-(a?z[a-1].t:0))/100*m})[u]=C.v,o.to(k,A,D),D+=A.duration;o.duration()<m&&o.to({},{duration:m-o.duration()})}}m||d.duration(m=o.duration())}else d.timeline=0;return!0!==T||w||(eG=e(d),x.killTweensOf(k),eG=0),tZ(M,e(d),n),r.reversed&&d.reverse(),r.paused&&d.paused(!0),(v||!m&&!b&&d._start===tE(M._time)&&X(v)&&function t(e){return!e||e._ts&&t(e.parent)}(e(d))&&"nested"!==M.data)&&(d._tTime=-1e-8,d.render(Math.max(0,-g)||0)),E&&tK(e(d),E),d}i(r,t);var n=r.prototype;return n.render=function(t,e,i){var r,n,s,o,a,h,l,u,c,p=this._time,f=this._tDur,d=this._dur,_=t<0,m=t>f-1e-8&&!_?f:t<1e-8?0:t;if(d){if(m!==this._tTime||!t||i||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==_||this._lazy){if(r=m,u=this.timeline,this._repeat){if(o=d+this._rDelay,this._repeat<-1&&_)return this.totalTime(100*o+t,e,i);if(r=tE(m%o),m===f?(s=this._repeat,r=d):(s=~~(a=tE(m/o)))&&s===a?(r=d,s--):r>d&&(r=d),(h=this._yoyo&&1&s)&&(c=this._yEase,r=d-r),a=tq(this._tTime,o),r===p&&!i&&this._initted&&s===a)return this._tTime=m,this;s!==a&&(u&&this._yEase&&eF(u,h),this.vars.repeatRefresh&&!h&&!this._lock&&r!==o&&this._initted&&(this._lock=i=1,this.render(tE(o*s),!0).invalidate()._lock=0))}if(!this._initted){if(tJ(this,_?t:r,i,e,m))return this._tTime=0,this;if(p!==this._time&&!(i&&this.vars.repeatRefresh&&s!==a))return this;if(d!==this._dur)return this.render(t,e,i)}if(this._tTime=m,this._time=r,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=l=(c||this._ease)(r/d),this._from&&(this.ratio=l=1-l),!p&&m&&!e&&!a&&(e_(this,"onStart"),this._tTime!==m))return this;for(n=this._pt;n;)n.r(l,n.d),n=n._next;u&&u.render(t<0?t:u._dur*u._ease(r/this._dur),e,i)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(_&&tX(this,t,e,i),e_(this,"onUpdate")),this._repeat&&s!==a&&this.vars.onRepeat&&!e&&this.parent&&e_(this,"onRepeat"),(m===this._tDur||!m)&&this._tTime===m&&(_&&!this._onUpdate&&tX(this,t,!0,!0),(t||!d)&&(m===this._tDur&&this._ts>0||!m&&this._ts<0)&&tH(this,1),!e&&!(_&&!p)&&(m||p||h)&&(e_(this,m===f?"onComplete":"onReverseComplete",!0),this._prom&&!(m<f&&this.timeScale()>0)&&this._prom()))}}else t2(this,t,e,i);return this},n.targets=function(){return this._targets},n.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)}
1,n.resetTo=function(t,e,i,r,n){C||eM.wake(),this._ts||this.play();var s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return(this._initted||e1(this,s),e2(this,t,e,i,r,this._ease(s/this._dur),s,n))?this.resetTo(t,e,i,r,1):(tG(this,0),this.parent||tW(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(t,e){if(void 0===e&&(e="all"),!t&&(!e||"all"===e))return this._lazy=this._pt=0,this.parent?em(this):this.scrollTrigger&&this.scrollTrigger.kill(!!T),this;if(this.timeline){var i=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,eG&&!0!==eG.vars.overwrite)._first||em(this),this.parent&&i!==this.timeline.totalDuration()&&t3(this,this._dur*this.timeline._tDur/i,0,1),this}var r,n,s,o,a,h,l,u=this._targets,c=t?en(t):u,p=this._ptLookup,f=this._pt;if((!e||"all"===e)&&tI(u,c))return"all"===e&&(this._pt=0),em(this);for(r=this._op=this._op||[],"all"!==e&&(W(e)&&(a={},tx(e,function(t){return a[t]=1}),e=a),e=e5(u,e)),l=u.length;l--;)if(~c.indexOf(u[l]))for(a in n=p[l],"all"===e?(r[l]=e,o=n,s={}):(s=r[l]=r[l]||{},o=e),o)(h=n&&n[a])&&("kill"in h.d&&!0!==h.d.kill(a)||tB(this,h,"_pt"),delete n[a]),"all"!==s&&(s[a]=1);return this._initted&&!this._pt&&f&&em(this),this},r.to=function(t,e){return new r(t,e,arguments[2])},r.from=function(t,e){return t9(1,arguments)},r.delayedCall=function(t,e,i,n){return new r(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:i,onReverseCompleteParams:i,callbackScope:n})},r.fromTo=function(t,e,i){return t9(2,arguments)},r.set=function(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new r(t,e)},r.killTweensOf=function(t,e,i){return x.killTweensOf(t,e,i)},r}(eU);tD(e9.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),tx("staggerTo,staggerFrom,staggerFromTo",function(t){e9[t]=function(){var e=new eX,i=ei.call(arguments,0);return i.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,i)}});var e7=function(t,e,i){return t[e]=i},it=function(t,e,i){return t[e](i)},ie=function(t,e,i,r){return t[e](r.fp,i)},ii=function(t,e,i){return t.setAttribute(e,i)},ir=function(t,e){return B(t[e])?it:Y(t[e])&&t.setAttribute?ii:e7},is=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},io=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},ia=function(t,e){var i=e._pt,r="";if(!t&&e.b)r=e.b;else if(1===t&&e.e)r=e.e;else{for(;i;)r=i.p+(i.m?i.m(i.s+i.c*t):Math.round((i.s+i.c*t)*1e4)/1e4)+r,i=i._next;r+=e.c}e.set(e.t,e.p,r,e)},ih=function(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next},il=function(t,e,i,r){for(var n,s=this._pt;s;)n=s._next,s.p===r&&s.modifier(t,e,i),s=n},iu=function(t){for(var e,i,r=this._pt;r;)i=r._next,(r.p!==t||r.op)&&r.op!==t?r.dep||(e=1):tB(this,r,"_pt"),r=i;return!e},ic=function(t,e,i,r){r.mSet(t,e,r.m.call(r.tween,i,r.mt),r)},ip=function(t){for(var e,i,r,n,s=t._pt;s;){for(e=s._next,i=r;i&&i.pr>s.pr;)i=i._next;(s._prev=i?i._prev:n)?s._prev._next=s:r=s,(s._next=i)?i._prev=s:n=s,s=e}t._pt=r},id=function(){function t(t,e,i,r,n,s,o,a,h){this.t=e,this.s=r,this.c=n,this.p=i,this.r=s||is,this.d=o||this,this.set=a||e7,this.pr=h||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,i){this.mSet=this.mSet||this.set,this.set=ic,this.m=t,this.mt=i,this.tween=e},t}();tx(ty+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return tp[t]=1}),ti.TweenMax=ti.TweenLite=e9,ti.TimelineLite=ti.TimelineMax=eX,x=new eX({sortChildren:!1,defaults:A,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),R.stringFilter=eO;var i_=[],im={},ig=[],iv=0,iy=0,iw=function(t){return(im[t]||ig).map(function(t){return t()})},iT=function(){var t=Date.now(),e=[];t-iv>2&&(iw("matchMediaInit"),i_.forEach(function(t){var i,r,n,s,o=t.queries,a=t.conditions;for(r in o)(i=S.matchMedia(o[r]).matches)&&(n=1),i!==a[r]&&(a[r]=i,s=1);s&&(t.revert(),n&&e.push(t))}),iw("matchMediaRevert"),e.forEach(function(t){return t.onMatch(t,function(e){return t.add(null,e)})}),iv=t,iw("matchMedia"))},ib=function(){function t(t,e){this.selector=e&&es(e),this.data=[],this._r=[],this.isReverted=!1,this.id=iy++,t&&this.add(t)}var e=t.prototype;
1return e.add=function(t,e,i){B(t)&&(i=e,e=t,t=B);var r=this,n=function(){var t,n=b,s=r.selector;return n&&n!==r&&n.data.push(r),i&&(r.selector=es(i)),b=r,t=e.apply(r,arguments),B(t)&&r._r.push(t),b=n,r.selector=s,r.isReverted=!1,t};return r.last=n,t===B?n(r,function(t){return r.add(null,t)}):t?r[t]=n:n},e.ignore=function(t){var e=b;b=null,t(this),b=e},e.getTweens=function(){var e=[];return this.data.forEach(function(i){return i instanceof t?e.push.apply(e,i.getTweens()):i instanceof e9&&!(i.parent&&"nested"===i.parent.data)&&e.push(i)}),e},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,e){var i=this;if(t){for(var r,n=i.getTweens(),s=i.data.length;s--;)"isFlip"===(r=i.data[s]).data&&(r.revert(),r.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)}),s=i.data.length;s--;)(r=i.data[s])instanceof eX?"nested"!==r.data&&(r.scrollTrigger&&r.scrollTrigger.revert(),r.kill()):r instanceof e9||!r.revert||r.revert(t);i._r.forEach(function(e){return e(t,i)}),i.isReverted=!0}else this.data.forEach(function(t){return t.kill&&t.kill()});if(this.clear(),e)for(var o=i_.length;o--;)i_[o].id===this.id&&i_.splice(o,1)},e.revert=function(t){this.kill(t||{})},t}(),ix=function(){function t(t){this.contexts=[],this.scope=t,b&&b.data.push(this)}var e=t.prototype;return e.add=function(t,e,i){U(t)||(t={matches:t});var r,n,s,o=new ib(0,i||this.scope),a=o.conditions={};for(n in b&&!o.selector&&(o.selector=b.selector),this.contexts.push(o),e=o.add("onMatch",e),o.queries=t,t)"all"===n?s=1:(r=S.matchMedia(t[n]))&&(0>i_.indexOf(o)&&i_.push(o),(a[n]=r.matches)&&(s=1),r.addListener?r.addListener(iT):r.addEventListener("change",iT));return s&&e(o,function(t){return o.add(null,t)}),this},e.revert=function(t){this.kill(t||{})}
vendor: 9,189 bytes, line 1
1,e.kill=function(t){this.contexts.forEach(function(e){return e.kill(t,!0)})},t}(),iS={registerPlugin:function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];e.forEach(function(t){return ev(t)})},timeline:function(t){return new eX(t)},getTweensOf:function(t,e){return x.getTweensOf(t,e)},getProperty:function(t,e,i,r){W(t)&&(t=en(t)[0]);var n=tT(t||{}).get,s=i?tA:tR;return"native"===i&&(i=""),t?e?s((t_[e]&&t_[e].get||n)(t,e,i,r)):function(e,i,r){return s((t_[e]&&t_[e].get||n)(t,e,i,r))}:t},quickSetter:function(t,e,i){if((t=en(t)).length>1){var r=t.map(function(t){return ik.quickSetter(t,e,i)}),n=r.length;return function(t){for(var e=n;e--;)r[e](t)}}t=t[0]||{};var s=t_[e],o=tT(t),a=o.harness&&(o.harness.aliases||{})[e]||e,h=s?function(e){var r=new s;z._pt=0,r.init(t,i?e+i:e,z,0,[t]),r.render(1,r),z._pt&&ih(1,z)}:o.set(t,a);return s?h:function(e){return h(t,a,i?e+i:e,o,1)}},quickTo:function(t,e,i){var r,n=ik.to(t,tD(((r={})[e]="+=0.1",r.paused=!0,r.stagger=0,r),i||{})),s=function(t,i,r){return n.resetTo(e,t,i,r)};return s.tween=n,s},isTweening:function(t){return x.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=eN(t.ease,A.ease)),tL(A,t||{})},config:function(t){return tL(R,t||{})},registerEffect:function(t){var e=t.name,i=t.effect,r=t.plugins,n=t.defaults,s=t.extendTimeline;(r||"").split(",").forEach(function(t){return t&&!t_[t]&&!ti[t]&&to(e+" effect requires "+t+" plugin.")}),tm[e]=function(t,e,r){return i(en(t),tD(e||{},n),r)},s&&(eX.prototype[e]=function(t,i,r){return this.add(tm[e](t,U(i)?i:(r=i)&&{},this),r)})},registerEase:function(t,e){ez[t]=eN(e)},parseEase:function(t,e){return arguments.length?eN(t,e):ez},getById:function(t){return x.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var i,r,n=new eX(t);for(n.smoothChildTiming=X(t.smoothChildTiming),x.remove(n),n._dp=0,n._time=n._tTime=x._time,i=x._first;i;)r=i._next,(e||!(!i._dur&&i instanceof e9&&i.vars.onComplete===i._targets[0]))&&tZ(n,i,i._start-i._delay),i=r;return tZ(x,n,0),n},context:function(t,e){return t?new ib(t,e):b},matchMedia:function(t){return new ix(t)},matchMediaRefresh:function(){return i_.forEach(function(t){var e,i,r=t.conditions;for(i in r)r[i]&&(r[i]=!1,e=1);e&&t.revert()})||iT()},addEventListener:function(t,e){var i=im[t]||(im[t]=[]);~i.indexOf(e)||i.push(e)},removeEventListener:function(t,e){var i=im[t],r=i&&i.indexOf(e);r>=0&&i.splice(r,1)},utils:{wrap:function t(e,i,r){var n=i-e;return $(e)?ec(e,t(0,e.length),i):t7(r,function(t){return(n+(t-e)%n)%n+e})},wrapYoyo:function t(e,i,r){var n=i-e,s=2*n;return $(e)?ec(e,t(0,e.length-1),i):t7(r,function(t){return t=(s+(t-e)%s)%s||0,e+(t>n?s-t:t)})},distribute:ea,random:eu,snap:el,normalize:function(t,e,i){return ef(t,e,0,1,i)},getUnit:ee,clamp:function(t,e,i){return t7(i,function(i){return et(t,e,i)})},splitColor:eT,toArray:en,selector:es,mapRange:ef,pipe:function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(t){return e.reduce(function(t,e){return e(t)},t)}},unitize:function(t,e){return function(i){return t(parseFloat(i))+(e||ee(i))}},interpolate:function t(e,i,r,n){var s=isNaN(e+i)?0:function(t){return(1-t)*e+t*i};if(!s){var o,a,h,l,u,c=W(e),p={};if(!0===r&&(n=1)&&(r=null),c)e={p:e},i={p:i};else if($(e)&&!$(i)){for(a=1,h=[],u=(l=e.length)-2;a<l;a++)h.push(t(e[a-1],e[a]));l--,s=function(t){var e=Math.min(u,~~(t*=l));return h[e](t-e)},r=i}else n||(e=tP($(e)?[]:{},e));if(!h){for(o in i)eK.call(p,e,o,"get",i[o]);s=function(t){return ih(t,p)||(c?e.p:e)}}}return t7(r,s)},shuffle:eo},install:tn,effects:tm,ticker:eM,updateRoot:eX.updateRoot,plugins:t_,globalTimeline:x,core:{PropTween:id,globals:ta,Tween:e9,Timeline:eX,Animation:eU,getCache:tT,_removeLinkedListItem:tB,reverting:function(){return T},context:function(t){return t&&b&&(b.data.push(t),t._ctx=b),b},suppressOverwrites:function(t){return w=t}}};tx("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return iS[t]=e9[t]}),eM.add(eX.updateRoot),z=iS.to({},{duration:0});var iE=function(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i},iO=function(t,e){var i,r,n,s=t._targets;for(i in e)for(r=s.length;r--;)(n=t._ptLookup[r][i])&&(n=n.d)&&(n._pt&&(n=iE(n,i)),n&&n.modifier&&n.modifier(e[i],t,s[r],i))},iM=function(t,e){return{name:t,headless:1,rawVars:1,init:function(t,i,r){r._onInit=function(t){var r,n;if(W(i)&&(r={},tx(i,function(t){return r[t]=1}),i=r),e){for(n in r={},i)r[n]=e(i[n]);i=r}iO(t,i)}}}},ik=iS.registerPlugin({name:"attr",init:function(t,e,i,r,n){var s,o,a;for(s in this.tween=i,e)a=t.getAttribute(s)||"",(o=this.add(t,"setAttribute",(a||0)+"",e[s],r,n,0,0,s)).op=s,o.b=a,this._props.push(s)},render:function(t,e){for(var i=e._pt;i;)T?i.set(i.t,i.p,i.b,i):i.r(t,i.d),i=i._next}},{name:"endArray",headless:1,init:function(t,e){for(var i=e.length;i--;)this.add(t,i,t[i]||0,e[i],0,0,0,0,0,1)}},iM("roundProps",eh),iM("modifiers"),iM("snap",el))||iS;e9.version=eX.version=ik.version="3.13.0",M=1,V()&&ek(),ez.Power0,ez.Power1,ez.Power2,ez.Power3,ez.Power4,ez.Linear,ez.Quad,ez.Cubic,ez.Quart,ez.Quint,ez.Strong,ez.Elastic,ez.Back,ez.SteppedEase,ez.Bounce,ez.Sine,ez.Expo,ez.Circ;var iz,iC,iR,iA,iD,iP,iL,iF={},iN=180/Math.PI,iI=Math.PI/180,iW=Math.atan2,iB=/([A-Z])/g,iH=/(left|right|width|margin|padding|x)/i,iY=/[\s,\(]\S/,iU={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},iX=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},iV=function(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},iq=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},ij=function(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},i$=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},iG=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},iQ=function(t,e,i){return t.style[e]=i},iZ=function(t,e,i){return t.style.setProperty(e,i)},iK=function(t,e,i){return t._gsap[e]=i},iJ=function(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i},i0=function(t,e,i,r,n){var s=t._gsap;s.scaleX=s.scaleY=i,s.renderTransform(n,s)},i1=function(t,e,i,r,n){var s=t._gsap;s[e]=i,s.renderTransform(n,s)},i2="transform",i5=i2+"Origin",i3=function t(e,i){var r=this,n=this.target,s=n.style,o=n._gsap;if(e in iF&&s){if(this.tfm=this.tfm||{},"transform"===e)return iU.transform.split(",").forEach(function(e){return t.call(r,e,i)});if(~(e=iU[e]||e).indexOf(",")?e.split(",").forEach(function(t){return r.tfm[t]=rp(n,t)}):this.tfm[e]=o.x?o[e]:rp(n,e),e===i5&&(this.tfm.zOrigin=o.zOrigin),this.props.indexOf(i2)>=0)return;o.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(i5,i,"")),e=i2}(s||i)&&this.props.push(e,i,s[e])},i8=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},i6=function(){var t,e,i=this.props,r=this.target,n=r.style,s=r._gsap;for(t=0;t<i.length;t+=3)i[t+1]?2===i[t+1]?r[i[t]](i[t+2]):r[i[t]]=i[t+2]:i[t+2]?n[i[t]]=i[t+2]:n.removeProperty("--"===i[t].substr(0,2)?i[t]:i[t].replace(iB,"-$1").toLowerCase());if(this.tfm){for(e in this.tfm)s[e]=this.tfm[e];s.svg&&(s.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),(t=iP())&&t.isStart||n[i2]||(i8(n),s.zOrigin&&n[i5]&&(n[i5]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},i4=function(t,e){var i={target:t,props:[],revert:i6,save:i3};return t._gsap||ik.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(t){return i.save(t)}),i},i9=function(t,e){var i=iz.createElementNS?iz.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):iz.createElement(t);return i&&i.style?i:iz.createElement(t)},i7=function t(e,i,r){var n=getComputedStyle(e);return n[i]||n.getPropertyValue(i.replace(iB,"-$1").toLowerCase())||n.getPropertyValue(i)||!r&&t(e,re(i)||i,1)||""},rt="O,Moz,ms,Ms,Webkit".split(","),re=function(t,e,i){var r=(e||iA).style,n=5;if(t in r&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);n--&&!(rt[n]+t in r););return n<0?null:(3===n?"ms":n>=0?rt[n]:"")+t},ri=function(){"undefined"!=typeof window&&window.document&&(iC=(iz=window.document).documentElement,iA=i9("div")||{style:{}},i9("div"),i5=(i2=re(i2))+"Origin",iA.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",iL=!!re("perspective"),iP=ik.core.reverting,iR=1)},rr=function(t){var e,i=t.ownerSVGElement,r=i9("svg",i&&i.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=t.cloneNode(!0);n.style.display="block",r.appendChild(n),iC.appendChild(r);try{e=n.getBBox()}catch(t){}return r.removeChild(n),iC.removeChild(r),e},rn=function(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},rs=function(t){var e,i;try{e=t.getBBox()}catch(r){e=rr(t),i=1}return e&&(e.width||e.height)||i||(e=rr(t)),!e||e.width||e.x||e.y?e:{x:+rn(t,["x","cx","x1"])||0,y:+rn(t,["y","cy","y1"])||0,width:0,height:0}},ro=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&rs(t))},ra=function(t,e){if(e){var i,r=t.style;e in iF&&e!==i5&&(e=i2),r.removeProperty?(("ms"===(i=e.substr(0,2))||"webkit"===e.substr(0,6))&&(e="-"+e),r.removeProperty("--"===i?e:e.replace(iB,"-$1").toLowerCase())):r.removeAttribute(e)}}
1,rh=function(t,e,i,r,n,s){var o=new id(t._pt,e,i,0,1,s?iG:i$);return t._pt=o,o.b=r,o.e=n,t._props.push(i),o},rl={deg:1,rad:1,turn:1},ru={grid:1,flex:1},rc=function t(e,i,r,n){var s,o,a,h,l=parseFloat(r)||0,u=(r+"").trim().substr((l+"").length)||"px",c=iA.style,p=iH.test(i),f="svg"===e.tagName.toLowerCase(),d=(f?"client":"offset")+(p?"Width":"Height"),_="px"===n,m="%"===n;if(n===u||!l||rl[n]||rl[u])return l;if("px"===u||_||(l=t(e,i,r,"px")),h=e.getCTM&&ro(e),(m||"%"===u)&&(iF[i]||~i.indexOf("adius")))return s=h?e.getBBox()[p?"width":"height"]:e[d],tS(m?l/s*100:l/100*s);if(c[p?"width":"height"]=100+(_?u:n),o="rem"!==n&&~i.indexOf("adius")||"em"===n&&e.appendChild&&!f?e:e.parentNode,h&&(o=(e.ownerSVGElement||{}).parentNode),o&&o!==iz&&o.appendChild||(o=iz.body),(a=o._gsap)&&m&&a.width&&p&&a.time===eM.time&&!a.uncache)return tS(l/a.width*100);if(m&&("height"===i||"width"===i)){var g=e.style[i];e.style[i]=100+n,s=e[d],g?e.style[i]=g:ra(e,i)}else(m||"%"===u)&&!ru[i7(o,"display")]&&(c.position=i7(e,"position")),o===e&&(c.position="static"),o.appendChild(iA),s=iA[d],o.removeChild(iA),c.position="absolute";return p&&m&&((a=tT(o)).time=eM.time,a.width=o[d]),tS(_?s*l/100:s&&l?100/s*l:0)},rp=function(t,e,i,r){var n;return iR||ri(),e in iU&&"transform"!==e&&~(e=iU[e]).indexOf(",")&&(e=e.split(",")[0]),iF[e]&&"transform"!==e?(n=rS(t,r),n="transformOrigin"!==e?n[e]:n.svg?n.origin:rE(i7(t,i5))+" "+n.zOrigin+"px"):(!(n=t.style[e])||"auto"===n||r||~(n+"").indexOf("calc("))&&(n=rg[e]&&rg[e](t,e,i)||i7(t,e)||tb(t,e)||+("opacity"===e)),i&&!~(n+"").trim().indexOf(" ")?rc(t,e,n,i)+i:n},rf=function(t,e,i,r){if(!i||"none"===i){var n=re(e,t,1),s=n&&i7(t,n,1);s&&s!==i?(e=n,i=s):"borderColor"===e&&(i=i7(t,"borderTopColor"))}var o,a,h,l,u,c,p,f,d,_,m,g=new id(this._pt,t.style,e,0,1,ia),v=0,y=0;if(g.b=i,g.e=r,i+="","var(--"===(r+="").substring(0,6)&&(r=i7(t,r.substring(4,r.indexOf(")")))),"auto"===r&&(c=t.style[e],t.style[e]=r,r=i7(t,e)||r,c?t.style[e]=c:ra(t,e)),eO(o=[i,r]),i=o[0],r=o[1],h=i.match(Z)||[],(r.match(Z)||[]).length){for(;a=Z.exec(r);)p=a[0],d=r.substring(v,a.index),u?u=(u+1)%5:("rgba("===d.substr(-5)||"hsla("===d.substr(-5))&&(u=1),p!==(c=h[y++]||"")&&(l=parseFloat(c)||0,m=c.substr((l+"").length),"="===p.charAt(1)&&(p=tO(l,p)+m),f=parseFloat(p),_=p.substr((f+"").length),v=Z.lastIndex-_.length,_||(_=_||R.units[e]||m,v===r.length&&(r+=_,g.e+=_)),m!==_&&(l=rc(t,e,c,_)||0),g._pt={_next:g._pt,p:d||1===y?d:",",s:l,c:f-l,m:u&&u<4||"zIndex"===e?Math.round:0});g.c=v<r.length?r.substring(v,r.length):""}else g.r="display"===e&&"none"===r?iG:i$;return J.test(r)&&(g.e=0),this._pt=g,g},rd={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},r_=function(t){var e=t.split(" "),i=e[0],r=e[1]||"50%";return("top"===i||"bottom"===i||"left"===r||"right"===r)&&(t=i,i=r,r=t),e[0]=rd[i]||i,e[1]=rd[r]||r,e.join(" ")},rm=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i,r,n,s=e.t,o=s.style,a=e.u,h=s._gsap;if("all"===a||!0===a)o.cssText="",r=1;else for(n=(a=a.split(",")).length;--n>-1;)iF[i=a[n]]&&(r=1,i="transformOrigin"===i?i5:i2),ra(s,i);r&&(ra(s,i2),h&&(h.svg&&s.removeAttribute("transform"),o.scale=o.rotate=o.translate="none",rS(s,1),h.uncache=1,i8(o)))}},rg={clearProps:function(t,e,i,r,n){if("isFromStart"!==n.data){var s=t._pt=new id(t._pt,e,i,0,0,rm);return s.u=r,s.pr=-10,s.tween=n,t._props.push(i),1}}},rv=[1,0,0,1,0,0],ry={},rw=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},rT=function(t){var e=i7(t,i2);return rw(e)?rv:e.substr(7).match(Q).map(tS)},rb=function(t,e){var i,r,n,s,o=t._gsap||tT(t),a=t.style,h=rT(t);return o.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(h=[(n=t.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(",")?rv:h:(h!==rv||t.offsetParent||t===iC||o.svg||(n=a.display,a.display="block",(i=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(s=1,r=t.nextElementSibling,iC.appendChild(t)),h=rT(t),n?a.display=n:ra(t,"display"),s&&(r?i.insertBefore(t,r):i?i.appendChild(t):iC.removeChild(t))),e&&h.length>6?[h[0],h[1],h[4],h[5],h[12],h[13]]:h)},rx=function(t,e,i,r,n,s){var o,a,h,l,u=t._gsap,c=n||rb(t,!0),p=u.xOr
1igin||0,f=u.yOrigin||0,d=u.xOffset||0,_=u.yOffset||0,m=c[0],g=c[1],v=c[2],y=c[3],w=c[4],T=c[5],b=e.split(" "),x=parseFloat(b[0])||0,S=parseFloat(b[1])||0;i?c!==rv&&(a=m*y-g*v)&&(h=y/a*x+-v/a*S+(v*T-y*w)/a,l=-g/a*x+m/a*S-(m*T-g*w)/a,x=h,S=l):(x=(o=rs(t)).x+(~b[0].indexOf("%")?x/100*o.width:x),S=o.y+(~(b[1]||b[0]).indexOf("%")?S/100*o.height:S)),r||!1!==r&&u.smooth?(u.xOffset=d+((w=x-p)*m+(T=S-f)*v)-w,u.yOffset=_+(w*g+T*y)-T):u.xOffset=u.yOffset=0,u.xOrigin=x,u.yOrigin=S,u.smooth=!!r,u.origin=e,u.originIsAbsolute=!!i,t.style[i5]="0px 0px",s&&(rh(s,u,"xOrigin",p,x),rh(s,u,"yOrigin",f,S),rh(s,u,"xOffset",d,u.xOffset),rh(s,u,"yOffset",_,u.yOffset)),t.setAttribute("data-svg-origin",x+" "+S)},rS=function(t,e){var i=t._gsap||new eY(t);if("x"in i&&!e&&!i.uncache)return i;var r,n,s,o,a,h,l,u,c,p,f,d,_,m,g,v,y,w,T,b,x,S,E,O,M,k,z,C,A,D,P,L,F=t.style,N=i.scaleX<0,I=getComputedStyle(t),W=i7(t,i5)||"0";return r=n=s=h=l=u=c=p=f=0,o=a=1,i.svg=!!(t.getCTM&&ro(t)),I.translate&&(("none"!==I.translate||"none"!==I.scale||"none"!==I.rotate)&&(F[i2]=("none"!==I.translate?"translate3d("+(I.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==I.rotate?"rotate("+I.rotate+") ":"")+("none"!==I.scale?"scale("+I.scale.split(" ").join(",")+") ":"")+("none"!==I[i2]?I[i2]:"")),F.scale=F.rotate=F.translate="none"),m=rb(t,i.svg),i.svg&&(i.uncache?(M=t.getBBox(),W=i.xOrigin-M.x+"px "+(i.yOrigin-M.y)+"px",O=""):O=!e&&t.getAttribute("data-svg-origin"),rx(t,O||W,!!O||i.originIsAbsolute,!1!==i.smooth,m)),d=i.xOrigin||0,_=i.yOrigin||0,m!==rv&&(w=m[0],T=m[1],b=m[2],x=m[3],r=S=m[4],n=E=m[5],6===m.length?(o=Math.sqrt(w*w+T*T),a=Math.sqrt(x*x+b*b),h=w||T?iW(T,w)*iN:0,(c=b||x?iW(b,x)*iN+h:0)&&(a*=Math.abs(Math.cos(c*iI))),i.svg&&(r-=d-(d*w+_*b),n-=_-(d*T+_*x))):(L=m[6],D=m[7],z=m[8],C=m[9],A=m[10],P=m[11],r=m[12],n=m[13],s=m[14],l=(g=iW(L,A))*iN,g&&(O=S*(v=Math.cos(-g))+z*(y=Math.sin(-g)),M=E*v+C*y,k=L*v+A*y,z=-(S*y)+z*v,C=-(E*y)+C*v,A=-(L*y)+A*v,P=-(D*y)+P*v,S=O,E=M,L=k),u=(g=iW(-b,A))*iN,g&&(O=w*(v=Math.cos(-g))-z*(y=Math.sin(-g)),M=T*v-C*y,k=b*v-A*y,P=x*y+P*v,w=O,T=M,b=k),h=(g=iW(T,w))*iN,g&&(O=w*(v=Math.cos(g))+T*(y=Math.sin(g)),M=S*v+E*y,T=T*v-w*y,E=E*v-S*y,w=O,S=M),l&&Math.abs(l)+Math.abs(h)>359.9&&(l=h=0,u=180-u),o=tS(Math.sqrt(w*w+T*T+b*b)),a=tS(Math.sqrt(E*E+L*L)),c=Math.abs(g=iW(S,E))>2e-4?g*iN:0,f=P?1/(P<0?-P:P):0),i.svg&&(O=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!rw(i7(t,i2)),O&&t.setAttribute("transform",O))),Math.abs(c)>90&&270>Math.abs(c)&&(N?(o*=-1,c+=h<=0?180:-180,h+=h<=0?180:-180):(a*=-1,c+=c<=0?180:-180)),e=e||i.uncache,i.x=r-((i.xPercent=r&&(!e&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-r)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+"px",i.y=n-((i.yPercent=n&&(!e&&i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+"px",i.z=s+"px",i.scaleX=tS(o),i.scaleY=tS(a),i.rotation=tS(h)+"deg",i.rotationX=tS(l)+"deg",i.rotationY=tS(u)+"deg",i.skewX=c+"deg",i.skewY=p+"deg",i.transformPerspective=f+"px",(i.zOrigin=parseFloat(W.split(" ")[2])||!e&&i.zOrigin||0)&&(F[i5]=rE(W)),i.xOffset=i.yOffset=0,i.force3D=R.force3D,i.renderTransform=i.svg?rC:iL?rz:rM,i.uncache=0,i},rE=function(t){return(t=t.split(" "))[0]+" "+t[1]},rO=function(t,e,i){var r=ee(e);return tS(parseFloat(e)+parseFloat(rc(t,"x",i+"px",r)))+r},rM=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,rz(t,e)},rk="0deg",rz=function(t,e){var i=e||this,r=i.xPercent,n=i.yPercent,s=i.x,o=i.y,a=i.z,h=i.rotation,l=i.rotationY,u=i.rotationX,c=i.skewX,p=i.skewY,f=i.scaleX,d=i.scaleY,_=i.transformPerspective,m=i.force3D,g=i.target,v=i.zOrigin,y="",w="auto"===m&&t&&1!==t||!0===m;if(v&&(u!==rk||l!==rk)){var T,b=parseFloat(l)*iI,x=Math.sin(b),S=Math.cos(b);s=rO(g,s,-(x*(T=Math.cos(b=parseFloat(u)*iI))*v)),o=rO(g,o,-(-Math.sin(b)*v)),a=rO(g,a,-(S*T*v)+v)}"0px"!==_&&(y+="perspective("+_+") "),(r||n)&&(y+="translate("+r+"%, "+n+"%) "),(w||"0px"!==s||"0px"!==o||"0px"!==a)&&(y+="0px"!==a||w?"translate3d("+s+", "+o+", "+a+") ":"translate("+s+", "+o+") "),h!==rk&&(y+="rotate("+h+") "),l!==rk&&(y+="rotateY("+l+") "),u!==rk&&(y+="rotateX("+u+") "),(c!==rk||p!==rk)&&(y+="skew("+c+", "+p+") "),(1!==f||1!==d)&&(y+="scale("+f+", "+d+") "),g.style[i2]=y||"translate(0, 0)"},rC=function(t,e){var i,r,n,s,o,a=e||this,h=a.xPercent,l=a.yPercent,u=a.x,c=a.y,p=a.rotation,f=
1a.skewX,d=a.skewY,_=a.scaleX,m=a.scaleY,g=a.target,v=a.xOrigin,y=a.yOrigin,w=a.xOffset,T=a.yOffset,b=a.forceCSS,x=parseFloat(u),S=parseFloat(c);p=parseFloat(p),f=parseFloat(f),(d=parseFloat(d))&&(f+=d=parseFloat(d),p+=d),p||f?(p*=iI,f*=iI,i=Math.cos(p)*_,r=Math.sin(p)*_,n=-(Math.sin(p-f)*m),s=Math.cos(p-f)*m,f&&(d*=iI,n*=o=Math.sqrt(1+(o=Math.tan(f-d))*o),s*=o,d&&(i*=o=Math.sqrt(1+(o=Math.tan(d))*o),r*=o)),i=tS(i),r=tS(r),n=tS(n),s=tS(s)):(i=_,s=m,r=n=0),(x&&!~(u+"").indexOf("px")||S&&!~(c+"").indexOf("px"))&&(x=rc(g,"x",u,"px"),S=rc(g,"y",c,"px")),(v||y||w||T)&&(x=tS(x+v-(v*i+y*n)+w),S=tS(S+y-(v*r+y*s)+T)),(h||l)&&(x=tS(x+h/100*(o=g.getBBox()).width),S=tS(S+l/100*o.height)),o="matrix("+i+","+r+","+n+","+s+","+x+","+S+")",g.setAttribute("transform",o),b&&(g.style[i2]=o)},rR=function(t,e,i,r,n){var s,o,a=W(n),h=parseFloat(n)*(a&&~n.indexOf("rad")?iN:1)-r,l=r+h+"deg";return a&&("short"===(s=n.split("_")[1])&&(h%=360)!=h%180&&(h+=h<0?360:-360),"cw"===s&&h<0?h=(h+36e9)%360-360*~~(h/360):"ccw"===s&&h>0&&(h=(h-36e9)%360-360*~~(h/360))),t._pt=o=new id(t._pt,e,i,r,h,iV),o.e=l,o.u="deg",t._props.push(i),o},rA=function(t,e){for(var i in e)t[i]=e[i];return t},rD=function(t,e,i){var r,n,s,o,a,h,l,u=rA({},i._gsap),c=i.style;for(n in u.svg?(s=i.getAttribute("transform"),i.setAttribute("transform",""),c[i2]=e,r=rS(i,1),ra(i,i2),i.setAttribute("transform",s)):(s=getComputedStyle(i)[i2],c[i2]=e,r=rS(i,1),c[i2]=s),iF)(s=u[n])!==(o=r[n])&&0>"perspective,force3D,transformOrigin,svgOrigin".indexOf(n)&&(a=ee(s)!==(l=ee(o))?rc(i,n,s,l):parseFloat(s),h=parseFloat(o),t._pt=new id(t._pt,r,n,a,h-a,iX),t._pt.u=l||0,t._props.push(n));rA(r,u)};tx("padding,margin,Width,Radius",function(t,e){var i="Right",r="Bottom",n="Left",s=(e<3?["Top",i,r,n]:["Top"+n,"Top"+i,r+i,r+n]).map(function(i){return e<2?t+i:"border"+i+t});rg[e>1?"border"+t:t]=function(t,e,i,r,n){var o,a;if(arguments.length<4)return 5===(a=(o=s.map(function(e){return rp(t,e,i)})).join(" ")).split(o[0]).length?o[0]:a;o=(r+"").split(" "),a={},s.forEach(function(t,e){return a[t]=o[e]=o[e]||o[(e-1)/2|0]}),t.init(e,a,n)}});var rP={name:"css",register:ri,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,r,n){var s,o,a,h,l,u,c,p,f,d,_,m,g,v,y,w,T=this._props,b=t.style,x=i.vars.startAt;for(c in iR||ri(),this.styles=this.styles||i4(t),w=this.styles.props,this.tween=i,e)if("autoRound"!==c&&(o=e[c],!(t_[c]&&e0(c,e,i,r,t,n)))){if(l=typeof o,u=rg[c],"function"===l&&(l=typeof(o=o.call(i,r,t,n))),"string"===l&&~o.indexOf("random(")&&(o=ep(o)),u)u(this,t,c,o,i)&&(y=1);else if("--"===c.substr(0,2))s=(getComputedStyle(t).getPropertyValue(c)+"").trim(),o+="",eS.lastIndex=0,eS.test(s)||(p=ee(s),f=ee(o)),f?p!==f&&(s=rc(t,c,s,f)+f):p&&(o+=p),this.add(b,"setProperty",s,o,r,n,0,0,c),T.push(c),w.push(c,0,b[c]);else if("undefined"!==l){if(x&&c in x?(W(s="function"==typeof x[c]?x[c].call(i,r,t,n):x[c])&&~s.indexOf("random(")&&(s=ep(s)),ee(s+"")||"auto"===s||(s+=R.units[c]||ee(rp(t,c))||""),"="===(s+"").charAt(1)&&(s=rp(t,c))):s=rp(t,c),h=parseFloat(s),(d="string"===l&&"="===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),a=parseFloat(o),c in iU&&("autoAlpha"===c&&(1===h&&"hidden"===rp(t,"visibility")&&a&&(h=0),w.push("visibility",0,b.visibility),rh(this,b,"visibility",h?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==c&&"transform"!==c&&~(c=iU[c]).indexOf(",")&&(c=c.split(",")[0])),_=c in iF){if(this.styles.save(c),"string"===l&&"var(--"===o.substring(0,6)&&(a=parseFloat(o=i7(t,o.substring(4,o.indexOf(")"))))),m||((g=t._gsap).renderTransform&&!e.parseTransform||rS(t,e.parseTransform),v=!1!==e.smoothOrigin&&g.smooth,(m=this._pt=new id(this._pt,b,i2,0,1,g.renderTransform,g,0,-1)).dep=1),"scale"===c)this._pt=new id(this._pt,g,"scaleY",g.scaleY,(d?tO(g.scaleY,d+a):a)-g.scaleY||0,iX),this._pt.u=0,T.push("scaleY",c),c+="X";else if("transformOrigin"===c){w.push(i5,0,b[i5]),o=r_(o),g.svg?rx(t,o,0,v,0,this):((f=parseFloat(o.split(" ")[2])||0)!==g.zOrigin&&rh(this,g,"zOrigin",g.zOrigin,f),rh(this,b,c,rE(s),rE(o)));continue}else if("svgOrigin"===c){rx(t,o,1,v,0,this);continue}else if(c in ry){rR(this,g,c,h,d?tO(h,d+o):o);continue}else if("smoothOrigin"===c){rh(this,g,"smooth",g.smooth,o);continue}else if("force3D"===c){g[c]=o;continue}else if("transform"===c){rD(this,o,t);continue}}else c in b||(c=re(c)||c);if(_||(a||0===a)&&(h||0===h)&&!iY.test(o)&&c in b)p=(s+"").substr((h+"").length),a||(a=0),f=ee(o)||(c in R.units?R.units[c]:p),p!==f&&(h=rc(t,c,s,f)),this._pt=new id(this._pt,_?g:b,c,h,(d?tO(h,d+a):a)-h,!_&&("px"===f||"zIndex"===c)&&!1!==e.autoRound?ij:iX),this._pt.u=f||0,p!==f&&"%"!==f&&(this._pt.b=s,this._pt.r=iq);else if(c in b)rf.call(this,t,c,s,d?d+o:o);
1else if(c in t)this.add(t,c,s||t[c],d?d+o:o,r,n);else if("parseTransform"!==c){ts(c,o);continue}_||(c in b?w.push(c,0,b[c]):"function"==typeof t[c]?w.push(c,2,t[c]()):w.push(c,1,s||t[c])),T.push(c)}}y&&ip(this)},render:function(t,e){if(e.tween._time||!iP())for(var i=e._pt;i;)i.r(t,i.d),i=i._next;else e.styles.revert()},get:rp,aliases:iU,getSetter:function(t,e,i){var r=iU[e];return r&&0>r.indexOf(",")&&(e=r),e in iF&&e!==i5&&(t._gsap.x||rp(t,"x"))?i&&iD===i?"scale"===e?iJ:iK:(iD=i||{},"scale"===e?i0:i1):t.style&&!Y(t.style[e])?iQ:~e.indexOf("-")?iZ:ir(t,e)},core:{_removeProperty:ra,_getMatrix:rb}};ik.utils.checkPrefix=re,ik.core.getStyleSaver=i4,n=tx("x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+(r="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){iF[t]=1}),tx(r,function(t){R.units[t]="deg",ry[t]=1}),iU[n[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+r,tx("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(t){var e=t.split(":");iU[e[1]]=n[e[0]]}),tx("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){R.units[t]="px"}),ik.registerPlugin(rP);var rL=ik.registerPlugin(rP)||ik;rL.core.Tween,t.s(["default",()=>rL,"gsap",()=>rL],89970)},55667,t=>{"use strict";function e(t,e,i){return Math.max(t,Math.min(e,i))}var i=class{isRunning=!1;value=0;from=0;to=0;currentTime=0;lerp;duration;easing;onUpdate;advance(t){if(!this.isRunning)return;let i=!1;if(this.duration&&this.easing){this.currentTime+=t;let r=e(0,this.currentTime/this.duration,1),n=(i=r>=1)?1:this.easing(r);this.value=this.from+(this.to-this.from)*n}else if(this.lerp){var r,n,s,o;this.value=(r=this.value,n=this.to,s=60*this.lerp,(1-(o=1-Math.exp(-s*t)))*r+o*n),Math.round(this.value)===this.to&&(this.value=this.to,i=!0)}else this.value=this.to,i=!0;i&&this.stop(),this.onUpdate?.(this.value,i)}stop(){this.isRunning=!1}fromTo(t,e,{lerp:i,duration:r,easing:n,onStart:s,onUpdate:o}){this.from=this.value=t,this.to=e,this.lerp=i,this.duration=r,this.easing=n,this.currentTime=0,this.isRunning=!0,s?.(),this.onUpdate=o}},r=class{constructor(t,e,{autoResize:i=!0,debounce:r=250}={}){this.wrapper=t,this.content=e,i&&(this.debouncedResize=function(t,e){let i;return function(...r){let n=this;clearTimeout(i),i=setTimeout(()=>{i=void 0,t.apply(n,r)},e)}}(this.resize,r),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize,!1):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}width=0;height=0;scrollHeight=0;scrollWidth=0;debouncedResize;wrapperResizeObserver;contentResizeObserver;destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize,!1)}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)};onContentResize=()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)};get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},n=class{events={};emit(t,...e){let i=this.events[t]||[];for(let t=0,r=i.length;t<r;t++)i[t]?.(...e)}on(t,e){return this.events[t]?.push(e)||(this.events[t]=[e]),()=>{this.events[t]=this.events[t]?.filter(t=>e!==t)}}off(t,e){this.events[t]=this.events[t]?.filter(t=>e!==t)}destroy(){this.events={}}},s=100/6,o={passive:!1},a=class{constructor(t,e={wheelMultiplier:1,touchMultiplier:1}){this.element=t,this.options=e,window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,o),this.element.addEventListener("touchstart",this.onTouchStart,o),this.element.addEventListener("touchmove",this.onTouchMove,o),this.element.addEventListener("touchend",this.onTouchEnd,o)}touchStart={x:0,y:0};lastDelta={x:0,y:0};window={width:0,height:0};emitter=new n;on(t,e){return this.emitter.on(t,e)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel,o),this.element.removeEventListener("touchstart",this.onTouchStart,o),this.element.removeEventListener("touchmove",this.onTouchMove,o),this.element.removeEventListener("touchend",this.onTouchEnd,o)}onTouchStart=t=>{let{clientX:e,clientY:i}=t.targetTouches?t.targetTouches[0]:t;this.touchStart.x=e,this.touchStart.y=i,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:t})};onTouchMove=t=>{let{clientX:e,clientY:i}=t.targetTouches?t.targetTouches[0]:t,r=-(e-this.touchStart.x)*this.options.touchMultiplier,n=-(i-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=e,this.touchStart.y=i,this.lastDelta={x:r,y:n},this.emitter.emit("scroll",{deltaX:r,deltaY:n,event:t})};onTouchEnd=t=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:t})};onWheel=t=>{let{deltaX:e,deltaY:i,deltaMode:r}=t,n=1===r?s:2===r?this.window.width:1,o=1===r?s:2===r?this.window.height:1;e*=n,i*=o,e*=this.options.wheelMultiplier,i*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:e,deltaY:i,event:t})};onWindowResize=()=>{this.window={width:window.innerWidth,height:window.innerHeight}}},h=t=>Math.min(1,1.001-Math.pow(2,-10*t)),l=class{_isScrolling=!1;_isStopped=!1;_isLocked=!1;_preventNextNativeScrollEvent=!1;_resetVelocityTimeout=null;__rafID=null;isTouching;time=0;userData={};lastVelocity=0;velocity=0;direction=0;options;targetScroll;animatedScroll;animate=new i;emitter=new n;dimensions;virtualScroll;constructor({wrapper:t=window,content:e=document.documentElement,eventsTarget:i=t,smoothWheel:n=!0,syncTouch:s=!1,syncTouchLerp:o=.075,touchInertiaExponent:l=1.7,duration:u,easing:c,lerp:p=.1,infinite:f=!1,orientation:d="vertical",gestureOrientation:_="horizontal"===d?"both":"vertical",touchMultiplier:m=1,wheelMultiplier:g=1,autoResize:v=!0,prevent:y,virtualScroll:w,overscroll:T=!0,autoRaf:b=!1,anchors:x=!1,autoToggle:S=!1,allowNestedScroll:E=!1,__experimental__naiveDimensions:O=!1}={}){window.lenisVersion="1.3.15",t&&t!==document.documentElement||(t=window),"number"==typeof u&&"function"!=typeof c?c=h:"function"==typeof c&&"number"!=typeof u&&(u=1),this.options={wrapper:t,content:e,eventsTarget:i,smoothWheel:n,syncTouch:s,syncTouchLerp:o,touchInertiaExponent:l,duration:u,easing:c,lerp:p,infinite:f,gestureOrientation:_,orientation:d,touchMultiplier:m,wheelMultiplier:g,autoResize:v,prevent:y,virtualScroll:w,overscroll:T,autoRaf:b,anchors:x,autoToggle:S,allowNestedScroll:E,__experimental__naiveDimensions:O},this.dimensions=new r(t,e,{autoResize:v}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.anchors&&this.options.wrapper===window&&this.options.wrapper.addEventListener("click",this.onClick,!1),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown,!1),this.virtualScroll=ne
1w a(i,{touchMultiplier:m,wheelMultiplier:g}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle&&this.rootElement.addEventListener("transitionend",this.onTransitionEnd,{passive:!0}),this.options.autoRaf&&(this.__rafID=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown,!1),this.options.anchors&&this.options.wrapper===window&&this.options.wrapper.removeEventListener("click",this.onClick,!1),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this.__rafID&&cancelAnimationFrame(this.__rafID)}on(t,e){return this.emitter.on(t,e)}off(t,e){return this.emitter.off(t,e)}onScrollEnd=t=>{t instanceof CustomEvent||"smooth"!==this.isScrolling&&!1!==this.isScrolling||t.stopPropagation()};dispatchScrollendEvent=()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))};onTransitionEnd=t=>{if(t.propertyName.includes("overflow")){let t=this.isHorizontal?"overflow-x":"overflow-y";["hidden","clip"].includes(getComputedStyle(this.rootElement)[t])?this.internalStop():this.internalStart()}};setScroll(t){this.isHorizontal?this.options.wrapper.scrollTo({left:t,behavior:"instant"}):this.options.wrapper.scrollTo({top:t,behavior:"instant"})}onClick=t=>{let e=t.composedPath().find(t=>t instanceof HTMLAnchorElement&&t.getAttribute("href")?.includes("#"));if(e){let t=e.getAttribute("href");if(t){let e="object"==typeof this.options.anchors&&this.options.anchors?this.options.anchors:void 0,i=`#${t.split("#")[1]}`;this.scrollTo(i,e)}}};onPointerDown=t=>{1===t.button&&this.reset()};onVirtualScroll=t=>{if("function"==typeof this.options.virtualScroll&&!1===this.options.virtualScroll(t))return;let{deltaX:e,deltaY:i,event:r}=t;if(this.emitter.emit("virtual-scroll",{deltaX:e,deltaY:i,event:r}),r.ctrlKey||r.lenisStopPropagation)return;let n=r.type.includes("touch"),s=r.type.includes("wheel");this.isTouching="touchstart"===r.type||"touchmove"===r.type;let o=0===e&&0===i;if(this.options.syncTouch&&n&&"touchstart"===r.type&&o&&!this.isStopped&&!this.isLocked)return void this.reset();let a="vertical"===this.options.gestureOrientation&&0===i||"horizontal"===this.options.gestureOrientation&&0===e;if(o||a)return;let h=r.composedPath();h=h.slice(0,h.indexOf(this.rootElement));let l=this.options.prevent;if(h.find(t=>t instanceof HTMLElement&&("function"==typeof l&&l?.(t)||t.hasAttribute?.("data-lenis-prevent")||n&&t.hasAttribute?.("data-lenis-prevent-touch")||s&&t.hasAttribute?.("data-lenis-prevent-wheel")||this.options.allowNestedScroll&&this.checkNestedScroll(t,{deltaX:e,deltaY:i}))))return;if(this.isStopped||this.isLocked){r.cancelable&&r.preventDefault();return}if(!(this.options.syncTouch&&n||this.options.smoothWheel&&s)){this.isScrolling="native",this.animate.stop(),r.lenisStopPropagation=!0;return}let u=i;"both"===this.options.gestureOrientation?u=Math.abs(i)>Math.abs(e)?i:e:"horizontal"===this.options.gestureOrientation&&(u=e),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll<this.limit||0===this.animatedScroll&&i>0||this.animatedScroll===this.limit&&i<0))&&(r.lenisStopPropagation=!0),r.cancelable&&r.preventDefault();let c=n&&this.options.syncTouch,p=n&&"touchend"===r.type;p&&(u=Math.sign(this.velocity)*Math.pow(Math.abs(this.velocity),this.options.touchInertiaExponent)),this.scrollTo(this.targetScroll+u,{programmatic:!1,...c?{lerp:p?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})};resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit()}emit(){this.emitter.emit("scroll",this)}onNativeScroll=()=>{if(null!==this._resetVelocityTimeout&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(!1===this.isScrolling||"native"===this.isScrolling){let t=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-t,this.direction=Math.sign(this.animatedScroll-t),this.isStopped||(this.isScrolling="native"),this.emit
1(),0!==this.velocity&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}};reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){if(this.isStopped){if(this.options.autoToggle)return void this.rootElement.style.removeProperty("overflow");this.internalStart()}}internalStart(){this.isStopped&&(this.reset(),this.isStopped=!1,this.emit())}stop(){if(!this.isStopped){if(this.options.autoToggle)return void this.rootElement.style.setProperty("overflow","clip");this.internalStop()}}internalStop(){this.isStopped||(this.reset(),this.isStopped=!0,this.emit())}raf=t=>{let e=t-(this.time||t);this.time=t,this.animate.advance(.001*e),this.options.autoRaf&&(this.__rafID=requestAnimationFrame(this.raf))};scrollTo(t,{offset:i=0,immediate:r=!1,lock:n=!1,duration:s=this.options.duration,easing:o=this.options.easing,lerp:a=this.options.lerp,onStart:l,onComplete:u,force:c=!1,programmatic:p=!0,userData:f}={}){if(!this.isStopped&&!this.isLocked||c){if("string"==typeof t&&["top","left","start","#"].includes(t))t=0;else if("string"==typeof t&&["bottom","right","end"].includes(t))t=this.limit;else{let e;if("string"==typeof t?(e=document.querySelector(t))||("#top"===t?t=0:console.warn("Lenis: Target not found",t)):t instanceof HTMLElement&&t?.nodeType&&(e=t),e){if(this.options.wrapper!==window){let t=this.rootElement.getBoundingClientRect();i-=this.isHorizontal?t.left:t.top}let r=e.getBoundingClientRect();t=(this.isHorizontal?r.left:r.top)+this.animatedScroll}}if("number"==typeof t){if(t+=i,t=Math.round(t),this.options.infinite){if(p){this.targetScroll=this.animatedScroll=this.scroll;let e=t-this.animatedScroll;e>this.limit/2?t-=this.limit:e<-this.limit/2&&(t+=this.limit)}}else t=e(0,t,this.limit);if(t===this.targetScroll){l?.(this),u?.(this);return}if(this.userData=f??{},r){this.animatedScroll=this.targetScroll=t,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),u?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}p||(this.targetScroll=t),"number"==typeof s&&"function"!=typeof o?o=h:"function"==typeof o&&"number"!=typeof s&&(s=1),this.animate.fromTo(this.animatedScroll,t,{duration:s,easing:o,lerp:a,onStart:()=>{n&&(this.isLocked=!0),this.isScrolling="smooth",l?.(this)},onUpdate:(t,e)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=t-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=t,this.setScroll(this.scroll),p&&(this.targetScroll=t),e||this.emit(),e&&(this.reset(),this.emit(),u?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}checkNestedScroll(t,{deltaX:e,deltaY:i}){let r,n,s,o,a,h,l,u,c,p,f,d,_,m,g=Date.now(),v=t._lenis??={},y=this.options.gestureOrientation;if(g-(v.time??0)>2e3){v.time=Date.now();let e=window.getComputedStyle(t);v.computedStyle=e;let i=e.overflowX,c=e.overflowY;if(r=["auto","overlay","scroll"].includes(i),n=["auto","overlay","scroll"].includes(c),v.hasOverflowX=r,v.hasOverflowY=n,!r&&!n||"vertical"===y&&!n||"horizontal"===y&&!r)return!1;a=t.scrollWidth,h=t.scrollHeight,l=t.clientWidth,u=t.clientHeight,s=a>l,o=h>u,v.isScrollableX=s,v.isScrollableY=o,v.scrollWidth=a,v.scrollHeight=h,v.clientWidth=l,v.clientHeight=u}else s=v.isScrollableX,o=v.isScrollableY,r=v.hasOverflowX,n=v.hasOverflowY,a=v.scrollWidth,h=v.scrollHeight,l=v.clientWidth,u=v.clientHeight;if(!r&&!n||!s&&!o||"vertical"===y&&(!n||!o)||"horizontal"===y&&(!r||!s)||("horizontal"===y?c="x":"vertical"===y?c="y":(0!==e&&r&&s&&(c="x"),0!==i&&n&&o&&(c="y")),!c))return!1;if("x"===c)p=t.scrollLeft,f=a-l,d=e,_=r,m=s;else{if("y"!==c)return!1;p=t.scrollTop,f=h-u,d=i,_=n,m=o}return(d>0?p<f:p>0)&&_&&m}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.__experimental__naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return"horizontal"===this.options.orientation}get actualScroll(){let t=this.options.wrapper;return this.isHorizontal?t.scrollX??t.scrollLeft:t.scrollY??t.scrollTop}get scroll(){var t;return this.options.infinite?(this.animatedScroll%(t=this.limit)+t)%t:this.animatedScroll}get progress(){return 0===this.limit?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(t){this._isScrolling!==t&&(this._isScrolling=t,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(t){this._isStopped!==t&&(this._isStopped=t,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(t){this._isLocked!==t&&(this._isLocked=t,this.updateClassName())}get isSmooth(){return"smooth"===this.isScrolling}get className(){let t="lenis";return this.options.autoToggle&&(t+=" lenis-autoToggle"),this.isStopped&&(t+=" lenis-stopped"),this.isLocked&&(t+=" lenis-locked"),this.isScrolling&&(t+=" lenis-scrolling"),"smooth"===this.isScrolling&&(t+=" lenis-smooth"),t}updateClassName(){this.cleanUpClassName(),this.rootElement.className=`${this.rootElement.className} ${this.className}`.trim()}cleanUpClassName(){this.rootElement.className=this.rootElement.className.replace(/lenis(-\w+)?/g,"").trim()}},u=t.i(71645),c=t.i(43476),p=(0,u.createContext)(null),f=new class{constructor(t){this.state=t}listeners=[];set(t){for(let e of(this.state=t,this.listeners))e(this.state)}subscribe(t){return this.listeners=[...this.listeners,t],()=>{this.listeners=this.listeners.filter(e=>e!==t)}}get(){return this.state}}(null),d=(0,u.forwardRef)(({children:t,root:e=!1,options:i={},autoRaf:r=!0,...n},s)=>{let o=(0,u.useRef)(null),a=(0,u.useRef)(null),[h,d]=(0,u.useState)(void 0);(0,u.useImperativeHandle)(s,()=>({wrapper:o.current,content:a.current,lenis:h}),[h]),(0,u.useEffect)(()=>{let t=new l({...i,...o.current&&a.current&&{wrapper:o.current,content:a.current},autoRaf:i?.autoRaf??r});return d(t),()=>{t.destroy(),d(void 0)}},[e,JSON.stringify({...i,wrapper:null,content:null})]);let _=(0,u.useRef)([]),m=(0,u.useCallback)((t,e)=>{_.current.push({callback:t,priority:e}),_.current.sort((t,e)=>t.priority-e.priority)},[]),g=(0,u.useCallback)(t=>{_.current=_.current.filter(e=>e.callback!==t)},[]);return((0,u.useEffect)(()=>
1{if(e&&h)return f.set({lenis:h,addCallback:m,removeCallback:g}),()=>f.set(null)},[e,h,m,g]),(0,u.useEffect)(()=>{if(!h)return;let t=t=>{for(let e=0;e<_.current.length;e++)_.current[e]?.callback(t)};return h.on("scroll",t),()=>{h.off("scroll",t)}},[h]),t)?(0,c.jsx)(p.Provider,{value:{lenis:h,addCallback:m,removeCallback:g},children:e&&"asChild"!==e?t:(0,c.jsx)("div",{ref:o,...n,children:(0,c.jsx)("div",{ref:a,children:t})})}):null}),_={};function m(t,e=[],i=0){let r=(0,u.useContext)(p),n=function(t){let[e,i]=(0,u.useState)(t.get());return(0,u.useEffect)(()=>t.subscribe(t=>i(t)),[t]),e}(f),{lenis:s,addCallback:o,removeCallback:a}=r??n??_;return(0,u.useEffect)(()=>{if(t&&o&&a&&s)return o(t,i),t(s),()=>{a(t)}},[s,o,a,i,...e]),s}t.s(["ReactLenis",()=>d,"useLenis",()=>m],55667)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.