vendor: 13,599 bytes, lines 1-15
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[686],{1204:function(t,e,r){"use strict";r.d(e,{i:function(){return e2}});/*! 2 * Observer 3.15.0 3 * https://gsap.com 4 * 5 * @license Copyright 2008-2026, GreenSock. All rights reserved. 6 * Subject to the terms at https://gsap.com/standard-license 7 * @author: Jack Doyle, [email protected] 8*/var n,i,o,s,a,l,c,u,h,p,f,d,v,g=function(){return n||"undefined"!=typeof window&&(n=window.gsap)&&n.registerPlugin&&n},m=1,y=[],w=[],b=[],x=Date.now,S=function(t,e){return e},_=function(){var t=h.core,e=t.bridge||{},r=t._scrollers,n=t._proxies;r.push.apply(r,w),n.push.apply(n,b),w=r,b=n,S=function(t,r){return e[t](r)}},E=function(t,e){return~b.indexOf(t)&&b[b.indexOf(t)+1][e]},T=function(t){return!!~p.indexOf(t)},O=function(t,e,r,n,i){return t.addEventListener(e,r,{passive:!1!==n,capture:!!i})},P=function(t,e,r,n){return t.removeEventListener(e,r,!!n)},k="scrollLeft",M="scrollTop",C=function(){return f&&f.isPressed||w.cache++},A=function(t,e){var r=function r(n){if(n||0===n){m&&(o.history.scrollRestoration="manual");var i=f&&f.isPressed;t(n=r.v=Math.round(n)||(f&&f.iOS?1:0)),r.cacheID=w.cache,i&&S("ss",n)}else(e||w.cache!==r.cacheID||S("ref"))&&(r.cacheID=w.cache,r.v=t());return r.v+r.offset};return r.offset=0,t&&r},z={s:k,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:A(function(t){return arguments.length?o.scrollTo(t,R.sc()):o.pageXOffset||s[k]||a[k]||l[k]||0})},R={s:M,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:z,sc:A(function(t){return arguments.length?o.scrollTo(z.sc(),t):o.pageYOffset||s[M]||a[M]||l[M]||0})},N=function(t,e){return(e&&e._ctx&&e._ctx.selector||n.utils.toArray)(t)[0]||("string"==typeof t&&!1!==n.config().nullTargetWarn?console.warn("Element not found:",t):null)},L=function(t,e){for(var r=e.length;r--;)if(e[r]===t||e[r].contains(t))return!0;return!1},Y=function(t,e){var r=e.s,i=e.sc;T(t)&&(t=s.scrollingElement||a);var o=w.indexOf(t),l=i===R.sc?1:2;~o||(o=w.push(t)-1),w[o+l]||O(t,"scroll",C);var c=w[o+l],u=c||(w[o+l]=A(E(t,r),!0)||(T(t)?i:A(function(e){return arguments.length?t[r]=e:t[r]})));return u.target=t,c||(u.smooth="smooth"===n.getProperty(t,"scrollBehavior")),u},F=function(t,e,r){var n=t,i=t,o=x(),s=o,a=e||50,l=Math.max(500,3*a),c=function(t,e){var l=x();e||l-o>a?(i=n,n=t,s=o,o=l):r?n+=t:n=i+(t-i)/(l-s)*(o-s)};return{update:c,reset:function(){i=n=r?0:n,s=o=0},getVelocity:function(t){var e=s,a=i,u=x();return(t||0===t)&&t!==n&&c(t),o===s||u-s>l?0:(n+(r?a:-a))/((r?u:o)-e)*1e3}}},D=function(t,e){return e&&!t._gsapAllow&&!1!==t.cancelable&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},W=function(t){var e=Math.max.apply(Math,t),r=Math.min.apply(Math,t);return Math.abs(e)>=Math.abs(r)?e:r},H=function(){(h=n.core.globals().ScrollTrigger)&&h.core&&_()},I=function(t){return n=t||g(),!i&&n&&"undefined"!=typeof document&&document.body&&(o=window,a=(s=document).documentElement,l=s.body,p=[o,s,a,l],n.utils.clamp,v=n.core.context||function(){},u="onpointerenter"in l?"pointer":"mouse",c=B.isTouch=o.matchMedia&&o.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in o||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,d=B.eventTypes=("ontouchstart"in a?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in a?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return m=0},500),i=1),h||H(),i};z.op=R,w.cache=0;var B=function(){function t(t){this.init(t)}return t.prototype.init=function(t){i||I(n)||console.warn("Please gsap.registerPlugin(Observer)"),h||H();var e=t.tolerance,r=t.dragMinimum,p=t.type,g=t.target,m=t.lineHeight,w=t.debounce,b=t.preventDefault,S=t.onStop,_=t.onStopDelay,E=t.ignore,k=t.wheelSpeed,M=t.event,A=t.onDragStart,B=t.onDragEnd,X=t.onDrag,V=t.onPress,j=t.onRelease,q=t.onRight,U=t.onLeft,G=t.onUp,K=t.onDown,$=t.onChangeX,Z=t.onChangeY,J=t.onChange,Q=t.onToggleX,tt=t.onToggleY,te=t.onHover,tr=t.onHoverEnd,tn=t.onMove,ti=t.ignoreCheck,to=t.isNormalizer,ts=t.onGestureStart,ta=t.onGestureEnd,tl=t.onWheel,tc=t.onEnable,tu=t.onDisable,th=t.onClick,tp=t.scrollSpeed,tf=t.capture,td=t.allowClicks,tv=t.lockAxis,tg=t.onLockAxis;this.target=g=N(g)||a,this.vars=t,E&&(E=n.utils.toArray(E)),e=e||1e-9,r=r||0,k=k||1,tp=tp||1,p=p||"wheel,touch,pointer",w=!1!==w,m||(m=parseFloat(o.getComputedStyle(l).lineHeight)||22);var tm,ty,tw,tb,tx,tS,t_,tE=this,tT=0,tO=0,tP=t.passive||!b&&!1!==t.passive,tk=Y(g,z),tM=Y(g,R),tC=tk(),tA=tM(),tz=~p.indexOf("touch")&&!~p.indexOf("pointer")&&"pointerdown"===d[0],tR=T(g),tN=g.ownerDocument||s,tL=[0,0,0],tY=[0,0,0],tF=0,tD=function(){return tF=x()},tW=function(t,e){return(tE.event=t)&&E&&L(t.target,E)||e&&tz&&"touch"!==t.pointerType||ti&&ti(t,e)},tH=function(){var t=tE.deltaX=W(tL),r=tE.deltaY=W(tY),n=Math.abs(t)>=e,i=Math.abs(r)>=e;J&&(n||i)&&J(tE,t,r,tL,tY),n&&(q&&tE.deltaX>0&&q(tE),U&&tE.deltaX<0&&U(tE),$&&$(tE),Q&&tE.deltaX<0!=tT<0&&Q(tE),tT=tE.deltaX,tL[0]=tL[1]=tL[2]=0),i&&(K&&tE.deltaY>0&&K(tE),G&&tE.deltaY<0&&G(tE),Z&&Z(tE),tt&&tE.deltaY<0!=tO<0&&tt(tE),tO=tE.deltaY,tY[0]=tY[1]=tY[2]=0),(tb||tw)&&(tn&&tn(tE),tw&&(A&&1===tw&&A(tE),X&&X(tE),tw=0),tb=!1),tS&&(tS=!1,1)&&tg&&tg(tE),tx&&(tl(tE),tx=!1),tm=0},tI=function(t,e,r){tL[r]+=t,tY[r]+=e,tE._vx.update(t),tE._vy.update(e),w?tm||(tm=requestAnimationFrame(tH)):tH()},tB=function(t,e){tv&&!t_&&(tE.axis=t_=Math.abs(t)>Math.abs(e)?"x":"y",tS=!0),"y"!==t_&&(tL[2]+=t,tE._vx.update(t,!0)),"x"!==t_&&(tY[2]+=e,tE._vy.update(e,!0)),w?tm||(tm=requestAnimationFrame(tH)):tH()},tX=function(t){if(!tW(t,1)){var e=(t=D(t,b)).clientX,n=t.clientY,i=e-tE.x,o=n-tE.y,s=tE.isDragging;tE.x=e,tE.y=n,(s||(i||o)&&(Math.abs(tE.startX-e)>=r||Math.abs(tE.startY-n)>=r))&&(tw||(tw=s?2:1),s||(tE.isDragging=!0),tB(i,o))}},tV=tE.onPress=function(t){tW(t,1)||t&&t.button||(tE.axis=t_=null,ty.pause(),tE.isPressed=!0,t=D(t),tT=tO=0,tE.startX=tE.x=t.clientX,tE.startY=tE.y=t.clientY,tE._vx.reset(),tE._vy.reset(),O(to?g:tN,d[1],tX,tP,!0),tE.deltaX=tE.deltaY=0,V&&V(tE))},tj=tE.onRelease=function(t){if(!tW(t,1)){P(to?g:tN,d[1],tX,!0);var e=!isNaN(tE.y-tE.startY),r=tE.isDragging,i=r&&(Math.abs(tE.x-tE.startX)>3||Math.abs(tE.y-tE.startY)>3),s=D(t);!i&&e&&(tE._vx.reset(),tE._vy.reset(),b&&td&&n.delayedCall(.08,function(){if(x()-tF>300&&!t.defaultPrevented){if(t.target.click)t.target.click();else if(tN.createEvent){var e=tN.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,o,1,s.screenX,s.screenY,s.clientX,s.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}}})),tE.isDragging=tE.isGesturing=tE.isPressed=!1,S&&r&&!to&&ty.restart(!0),tw&&tH(),B&&r&&B(tE),j&&j(tE,i)}},tq=function(t){return t.touches&&t.touches.length>1&&(tE.isGesturing=!0)&&ts(t,tE.isDragging)},tU=function(){return tE.isGesturing=!1,ta(tE)},tG=function(t){if(!tW(t)){var e=tk(),r=tM();tI((e-tC)*tp,(r-tA)*tp,1),tC=e,tA=r,S&&ty.restart(!0)}},tK=function(t){if(!tW(t)){t=D(t,b),tl&&(tx=!0);var e=(1===t.deltaMode?m:2===t.deltaMode?o.innerHeight:1)*k;tI(t.deltaX*e,t.deltaY*e,0),S&&!to&&ty.restart(!0)}},t$=function(t){if(!tW(t)){var e=t.clientX,r=t.clientY,n=e-tE.x,i=r-tE.y;tE.x=e,tE.y=r,tb=!0,S&&ty.restart(!0),(n||i)&&tB(n,i)}},tZ=function(t){tE.event=t,te(tE)},tJ=function(t){tE.event=t,tr(tE)},tQ=function(t){return tW(t)||D(t,b)&&th(tE)};ty=tE._dc=n.delayedCall(_||.25,function(){tE._vx.reset(),tE._vy.reset(),ty.pause(),S&&S(tE)}).pause(),tE.deltaX=tE.deltaY=0,tE._vx=F(0,50,!0),tE._vy=F(0,50,!0),tE.scrollX=tk,tE.scrollY=tM,tE.isDragging=tE.isGesturing=tE.isPressed=!1,v(this),tE.enable=function(t){return!tE.isEnabled&&(O(tR?tN:g,"scroll",C),p.indexOf("scroll")>=0&&O(tR?tN:g,"scroll",tG,tP,tf),p.indexOf("wheel")>=0&&O(g,"wheel",tK,tP,tf),(p.indexOf("touch")>=0&&c||p.indexOf("pointer")>=0)&&(O(g,d[0],tV,tP,tf),O(tN,d[2],tj),O(tN,d[3],tj),td&&O(g,"click",tD,!0,!0),th&&O(g,"click",tQ),ts&&O(tN,"gesturestart",tq),ta&&O(tN,"gestureend",tU),te&&O(g,u+"enter",tZ),tr&&O(g,u+"leave",tJ),tn&&O(g,u+"move",t$)),tE.isEnabled=!0,tE.isDragging=tE.isGesturing=tE.isPressed=tb=tw=!1,tE._vx.reset(),tE._vy.reset(),tC=tk(),tA=tM(),t&&t.type&&tV(t),tc&&tc(tE)),tE},tE.disable=function(){tE.isEnabled&&(y.filter(function(t){return t!==tE&&T(t.target)}).length||P(tR?tN:g,"scroll",C),tE.isPressed&&(tE._vx.reset(),tE._vy.reset(),P(to?g:tN,d[1],tX,!0)),P(tR?tN:g,"scroll",tG,tf),P(g,"wheel",tK,tf),P(g,d[0],tV,tf),P(tN,d[2],tj),P(tN,d[3],tj),P(g,"click",tD,!0),P(g,"click",tQ),P(tN,"gesturestart",tq),P(tN,"gestureend",tU),P(g,u+"enter",tZ),P(g,u+"leave",tJ),P(g,u+"move",t$),tE.isEnabled=tE.isPressed=tE.isDragging=!1,tu&&tu(tE))},tE.kill=tE.revert=function(){tE.disable();var t=y.indexOf(tE);t>=0&&y.splice(t,1),f===tE&&(f=0)},y.push(tE),to&&T(g)&&(f=tE),tE.enable(M)},function(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)}}(t.prototype,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),t}();B.version="3.15.0",B.create=function(t){return new B(t)},B.register=I,B.getAll=function(){return y.slice()},B.getById=function(t){return y.filter(function(e){return e.vars.id===t})[0]},g()&&n.registerPlugin(B);/*! 9 * ScrollTrigger 3.15.0 10 * https://gsap.com 11 * 12 * @license Copyright 2008-2026, GreenSock. All rights reserved. 13 * Subject to the terms at https://gsap.com/standard-license 14 * @author: Jack Doyle, [email protected] 15*/var X,V,j,q,U,G,K,$,Z,J,Q,tt,te,tr,tn,ti,to,ts,ta,tl,tc,tu,th,tp,tf,td,tv,tg,tm,ty,tw,tb,tx,tS,t_,tE,tT,tO,tP=1,tk=Date.now,tM=tk(),tC=0,tA=0,tz=function(t,e,r){var n=tq(t)&&("clamp("===t.substr(0,6)||t.indexOf("max")>-1);return r["_"+e+"Clamp"]=n,n?t.substr(6,t.length-7):t},tR=function(t,e){return e&&(!tq(t)||"clamp("!==t.substr(0,6))?"clamp("+t+")":t},tN=function(){return tr=1},tL=function(){return tr=0},tY=function(t){return t},tF=function(t){return Math.round(1e5*t)/1e5||0},tD=function(){return"undefined"!=typeof window},tW=function(){return X||tD()&&(X=window.gsap)&&X.registerPlugin&&X},tH=function(t){return!!~K.indexOf(t)},tI=function(t){return("Height"===t?tw:j["inner"+t])||U["client"+t]||G["client"+t]},tB=function(t){return E(t,"getBoundingClientRect")||(tH(t)?function(){return eK.width=j.innerWidth,eK.height=tw,eK}:function(){return ei(t)})},tX=function(t,e,r){var n=r.d,i=r.d2,o=r.a;return(o=E(t,"getBoundingClientRect"))?function(){return o()[n]}:function(){return(e?tI(i):t["client"+i])||0}},tV=function(t,e){var r=e.s,n=e.d2,i=e.d,o=e.a;return Math.max(0,(o=E(t,r="scroll"+n))?o()-tB(t)()[i]:tH(t)?(U[r]||G[r])-tI(n):t[r]-t["offset"+n])},tj=function(t,e){for(var r=0;r<ta.length;r+=3)(!e||~e.indexOf(ta[r+1]))&&t(ta[r],ta[r+1],ta[r+2])},tq=function(t){return"string"==typeof t},tU=function(t){return"function"==typeof t},tG=function(t){return"number"==typeof t},tK=function(t){return"object"==typeof t},t$=function(t,e,r){return t&&t.progress(e?0:1)&&r&&t.pause()},tZ=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)}},tJ=Math.abs,tQ="left",t0="right",t1="bottom",t2="width",t3="height",t5="Right",t8="Left",t4="Bottom",t6="padding",t9="margin",t7="Width",et="Height",ee=function(t){return j.getComputedStyle(t.nodeType===Node.DOCUMENT_NODE?t.scrollingElement:t)},er=function(t){var e=ee(t).position;t.style.position="absolute"===e||"fixed"===e?e:"relative"},en=function(t,e){for(var r in e)r in t||(t[r]=e[r]);return t},ei=function(t,e){var r=e&&"matrix(1, 0, 0, 1, 0, 0)"!==ee(t)[tn]&&X.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},eo=function(t,e){var r=e.d2;return t["offset"+r]||t["client"+r]||0},es=function(t){var e,r=[],n=t.labels,i=t.duration();for(e in n)r.push(n[e]/i);return r},ea=function(t){var e=X.utils.snap(t),r=Array.isArray(t)&&t.slice(0).sort(function(t,e){return t-e});return r?function(t,n,i){var o;if(void 0===i&&(i=.001),!n)return e(t);if(n>0){for(t-=i,o=0;o<r.length;o++)if(r[o]>=t)return r[o];return r[o-1]}for(o=r.length,t+=i;o--;)if(r[o]<=t)return r[o];return r[0]}:function(r,n,i){void 0===i&&(i=.001);var o=e(r);return!n||Math.abs(o-r)<i||o-r<0==n<0?o:e(n<0?r-t:r+t)}},el=function(t,e,r,n){return r.split(",").forEach(function(r){return t(e,r,n)})},ec=function(t,e,r,n,i){return t.addEventListener(e,r,{passive:!n,capture:!!i})},eu=function(t,e,r,n){return t.removeEventListener(e,r,!!n)},eh=function(t,e,r){(r=r&&r.wheelHandler)&&(t(e,"wheel",r),t(e,"touchmove",r))},ep={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},ef={toggleActions:"play",anticipatePin:0},ed={top:0,left:0,center:.5,bottom:1,right:1},ev=function(t,e){if(tq(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 ed?ed[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},eg=function(t,e,r,n,i,o,s,a){var l=i.startColor,c=i.endColor,u=i.fontSize,h=i.indent,p=i.fontWeight,f=q.createElement("div"),d=tH(r)||"fixed"===E(r,"pinType"),v=-1!==t.indexOf("scroller"),g=d?G:"IFRAME"===r.tagName?r.contentDocument.body:r,m=-1!==t.indexOf("start"),y=m?l:c,w="border-color:"+y+";font-size:"+u+";color:"+y+";font-weight:"+p+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return w+="position:"+((v||a)&&d?"fixed;":"absolute;
15"),(v||a||!d)&&(w+=(n===R?t0:t1)+":"+(o+parseFloat(h))+"px;"),s&&(w+="box-sizing:border-box;text-align:left;width:"+s.offsetWidth+"px;"),f._isStart=m,f.setAttribute("class","gsap-marker-"+t+(e?" marker-"+e:"")),f.style.cssText=w,f.innerText=e||0===e?t+"-"+e:t,g.children[0]?g.insertBefore(f,g.children[0]):g.appendChild(f),f._offset=f["offset"+n.op.d2],em(f,0,n,m),f},em=function(t,e,r,n){var i={display:"block"},o=r[n?"os2":"p2"],s=r[n?"p2":"os2"];t._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+o+t7]=1,i["border"+s+t7]=0,i[r.p]=e+"px",X.set(t,i)},ey=[],ew={},eb=function(){return tk()-tC>34&&(t_||(t_=requestAnimationFrame(eH)))},ex=function(){th&&th.isPressed&&!(th.startX>G.clientWidth)||(w.cache++,th?t_||(t_=requestAnimationFrame(eH)):eH(),tC||eP("scrollStart"),tC=tk())},eS=function(){td=j.innerWidth,tf=j.innerHeight},e_=function(t){w.cache++,(!0===t||!te&&!tu&&!q.fullscreenElement&&!q.webkitFullscreenElement&&(!tp||td!==j.innerWidth||Math.abs(j.innerHeight-tf)>.25*j.innerHeight))&&$.restart(!0)},eE={},eT=[],eO=function t(){return eu(e2,"scrollEnd",t)||eF(!0)},eP=function(t){return eE[t]&&eE[t].map(function(t){return t()})||eT},ek=[],eM=function(t){for(var e=0;e<ek.length;e+=5)(!t||ek[e+4]&&ek[e+4].query===t)&&(ek[e].style.cssText=ek[e+1],ek[e].getBBox&&ek[e].setAttribute("transform",ek[e+2]||""),ek[e+3].uncache=1)},eC=function(){return w.forEach(function(t){return tU(t)&&++t.cacheID&&(t.rec=t())})},eA=function(t,e){var r;for(ti=0;ti<ey.length;ti++)(r=ey[ti])&&(!e||r._ctx===e)&&(t?r.kill(1):r.revert(!0,!0));
vendor: 1,332 bytes, line 15
15tb=!0,e&&eM(e),e||eP("revert")},ez=function(t,e){w.cache++,(e||!tE)&&w.forEach(function(t){return tU(t)&&t.cacheID++&&(t.rec=0)}),tq(t)&&(j.history.scrollRestoration=tm=t)},eR=0,eN=function(){if(tT!==eR){var t=tT=eR;requestAnimationFrame(function(){return t===eR&&eF(!0)})}},eL=function(){G.appendChild(ty),tw=!th&&ty.offsetHeight||j.innerHeight,G.removeChild(ty)},eY=function(t){return Z(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(e){return e.style.display=t?"none":"block"})},eF=function(t,e){if(U=q.documentElement,G=q.body,K=[j,q,U,G],tC&&!t&&!tb){ec(e2,"scrollEnd",eO);return}eL(),tE=e2.isRefreshing=!0,tb||eC();var r=eP("refreshInit");tl&&e2.sort(),e||eA(),w.forEach(function(t){tU(t)&&(t.smooth&&(t.target.style.scrollBehavior="auto"),t(0))}),ey.slice(0).forEach(function(t){return t.refresh()}),tb=!1,ey.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()}}),tx=1,eY(!0),ey.forEach(function(t){var e=tV(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)}),eY(!1),tx=0,r.forEach(function(t){return t&&t.render&&t.render(-1)}
vendor: 17,052 bytes, line 15
15),w.forEach(function(t){tU(t)&&(t.smooth&&requestAnimationFrame(function(){return t.target.style.scrollBehavior="smooth"}),t.rec&&t(t.rec))}),ez(tm,1),$.pause(),eR++,tE=2,eH(2),ey.forEach(function(t){return tU(t.vars.onRefresh)&&t.vars.onRefresh(t)}),tE=e2.isRefreshing=!1,eP("refresh")},eD=0,eW=1,eH=function(t){if(2===t||!tE&&!tb){e2.isUpdating=!0,tO&&tO.update(0);var e=ey.length,r=tk(),n=r-tM>=50,i=e&&ey[0].scroll();if(eW=eD>i?-1:1,tE||(eD=i),n&&(tC&&!tr&&r-tC>200&&(tC=0,eP("scrollEnd")),Q=tM,tM=r),eW<0){for(ti=e;ti-- >0;)ey[ti]&&ey[ti].update(0,n);eW=1}else for(ti=0;ti<e;ti++)ey[ti]&&ey[ti].update(0,n);e2.isUpdating=!1}t_=0},eI=[tQ,"top",t1,t0,t9+t4,t9+t5,t9+"Top",t9+t8,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],eB=eI.concat([t2,t3,"boxSizing","max"+t7,"max"+et,"position",t9,t6,t6+"Top",t6+t5,t6+t4,t6+t8]),eX=function(t,e,r){eq(r);var n=t._gsap;if(n.spacerIsNative)eq(n.spacerState);else if(t._gsap.swappedIn){var i=e.parentNode;i&&(i.insertBefore(t,e),i.removeChild(e))}t._gsap.swappedIn=!1},eV=function(t,e,r,n){if(!t._gsap.swappedIn){for(var i,o=eI.length,s=e.style,a=t.style;o--;)s[i=eI[o]]=r[i];s.position="absolute"===r.position?"absolute":"relative","inline"===r.display&&(s.display="inline-block"),a[t1]=a[t0]="auto",s.flexBasis=r.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[t2]=eo(t,z)+"px",s[t3]=eo(t,R)+"px",s[t6]=a[t9]=a.top=a[tQ]="0",eq(n),a[t2]=a["max"+t7]=r[t2],a[t3]=a["max"+et]=r[t3],a[t6]=r[t6],t.parentNode!==e&&(t.parentNode.insertBefore(e,t),e.appendChild(t)),t._gsap.swappedIn=!0}},ej=/([A-Z])/g,eq=function(t){if(t){var e,r,n=t.t.style,i=t.length,o=0;for((t.t._gsap||X.core.getCache(t.t)).uncache=1;o<i;o+=2)r=t[o+1],e=t[o],r?n[e]=r:n[e]&&n.removeProperty(e.replace(ej,"-$1").toLowerCase())}},eU=function(t){for(var e=eB.length,r=t.style,n=[],i=0;i<e;i++)n.push(eB[i],r[eB[i]]);return n.t=t,n},eG=function(t,e,r){for(var n,i=[],o=t.length,s=r?8:0;s<o;s+=2)n=t[s],i.push(n,n in e?e[n]:t[s+1]);return i.t=t.t,i},eK={left:0,top:0},e$=function(t,e,r,n,i,o,s,a,l,c,u,h,p,f){tU(t)&&(t=t(a)),tq(t)&&"max"===t.substr(0,3)&&(t=h+("="===t.charAt(4)?ev("0"+t.substr(3),r):0));var d,v,g,m=p?p.time():0;if(p&&p.seek(0),isNaN(t)||(t=+t),tG(t))p&&(t=X.utils.mapRange(p.scrollTrigger.start,p.scrollTrigger.end,0,h,t)),s&&em(s,r,n,!0);else{tU(e)&&(e=e(a));var y,w,b,x,S=(t||"0").split(" ");(y=ei(g=N(e,a)||G)||{}).left||y.top||"none"!==ee(g).display||(x=g.style.display,g.style.display="block",y=ei(g),x?g.style.display=x:g.style.removeProperty("display")),w=ev(S[0],y[n.d]),b=ev(S[1]||"0",r),t=y[n.p]-l[n.p]-c+w+i-b,s&&em(s,b,n,r-b<20||s._isStart&&b>20),r-=r-b}if(f&&(a[f]=t||-.001,t<0&&(t=0)),o){var _=t+r,E=o._isStart;d="scroll"+n.d2,em(o,_,n,E&&_>20||!E&&(u?Math.max(G[d],U[d]):o.parentNode[d])<=_+1),u&&(l=ei(s),u&&(o.style[n.op.p]=l[n.op.p]-n.op.m-o._offset+"px"))}return p&&g&&(d=ei(g),p.seek(h),v=ei(g),p._caScrollDist=d[n.p]-v[n.p],t=t/p._caScrollDist*h),p&&p.seek(m),p?t:Math.round(t)},eZ=/(webkit|moz|length|cssText|inset)/i,eJ=function(t,e,r,n){if(t.parentNode!==e){var i,o,s=t.style;if(e===G){for(i in t._stOrig=s.cssText,o=ee(t))+i||eZ.test(i)||!o[i]||"string"!=typeof s[i]||"0"===i||(s[i]=o[i]);s.top=r,s.left=n}else s.cssText=t._stOrig;X.core.getCache(t).uncache=1,e.appendChild(t)}},eQ=function(t,e,r){var n=e,i=n;return function(e){var o=Math.round(t());return o!==n&&o!==i&&Math.abs(o-n)>3&&Math.abs(o-i)>3&&(e=o,r&&r()),i=n,n=Math.round(e)}},e0=function(t,e,r){var n={};n[e.p]="+="+r,X.set(t,n)},e1=function(t,e){var r=Y(t,e),n="_scroll"+e.p2,i=function e(i,o,s,a,l){var c=e.tween,u=o.onComplete,h={};s=s||r();var p=eQ(r,s,function(){c.kill(),e.tween=0});return l=a&&l||0,a=a||i-s,c&&c.kill(),o[n]=i,o.inherit=!1,o.modifiers=h,h[n]=function(){return p(s+a*c.ratio+l*c.ratio*c.ratio)},o.onUpdate=function(){w.cache++,e.tween&&eH()},o.onComplete=function(){e.tween=0,u&&u.call(c)},c=e.tween=X.to(t,o)};return t[n]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},ec(t,"wheel",r.wheelHandler),e2.isTouch&&ec(t,"touchmove",r.wheelHandler),i},e2=function(){function t(e,r){V||t.register(X)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),tg(this),this.init(e,r)}return t.prototype.init=function(e,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!tA){this.update=this.refresh=this.kill=tY;return}var n,i,o,s,a,l,c,u,h,p,f,d,v,g,m,y,x,S,_,T,O,P,k,M,C,A,L,F,D,W,H,I,B,V,K,$,tt,tn,to,ts,ta,tu=e=en(tq(e)||tG(e)||e.nodeType?{trigger:e}:e,ef),th=tu.onUpdate,tp=tu.toggleClass,tf=tu.id,td=tu.onToggle,tv=tu.onRefresh,tg=tu.scrub,tm=tu.trigger,ty=tu.pin,tw=tu.pinSpacing,tb=tu.invalidateOnRefresh,t_=tu.anticipatePin,tT=tu.onScrubComplete,tM=tu.onSnapComplete,tN=tu.once,tL=tu.snap,tD=tu.pinReparent,tW=tu.pinSpacer,tI=tu.containerAnimation,tj=tu.fastScrollEnd,tQ=tu.preventOverlaps,t0=e.horizontal||e.containerAnimation&&!1!==e.horizontal?z:R,t1=!tg&&0!==tg,el=N(e.scroller||j),eh=X.core.getCache(el),ed=tH(el),em=("pinType"in e?e.pinType:E(el,"pinType")||ed&&"fixed")==="fixed",eb=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],eS=t1&&e.toggleActions.split(" "),eE="markers"in e?e.markers:ef.markers,eT=ed?0:parseFloat(ee(el)["border"+t0.p2+t7])||0,eP=this,ek=e.onRefreshInit&&function(){return e.onRefreshInit(eP)},eM=tX(el,ed,t0),eC=!ed||~b.indexOf(el)?tB(el):function(){return eK},eA=0,ez=0,eR=0,eL=Y(el,t0);if(eP._startClamp=eP._endClamp=!1,eP._dir=t0,t_*=45,eP.scroller=el,eP.scroll=tI?tI.time.bind(tI):eL,l=eL(),eP.vars=e,r=r||e.animation,"refreshPriority"in e&&(tl=1,-9999===e.refreshPriority&&(tO=eP)),eh.tweenScroll=eh.tweenScroll||{top:e1(el,R),left:e1(el,z)},eP.tweenTo=o=eh.tweenScroll[t0.p],eP.scrubDuration=function(t){(K=tG(t)&&t)?V?V.duration(t):V=X.to(r,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:K,paused:!0,onComplete:function(){return tT&&tT(eP)}}):(V&&V.progress(1).kill(),V=0)},r&&(r.vars.lazy=!1,r._initted&&!eP.isReverted||!1!==r.vars.immediateRender&&!1!==e.immediateRender&&r.duration()&&r.render(0,!0,!0),eP.animation=r.pause(),r.scrollTrigger=eP,eP.scrubDuration(tg),I=0,tf||(tf=r.vars.id)),tL&&((!tK(tL)||tL.push)&&(tL={snapTo:tL}),"scrollBehavior"in G.style&&X.set(ed?[G,U]:el,{scrollBehavior:"auto"}),w.forEach(function(t){return tU(t)&&t.target===(ed?q.scrollingElement||U:el)&&(t.smooth=!1)}),a=tU(tL.snapTo)?tL.snapTo:"labels"===tL.snapTo?(n=r,function(t){return X.utils.snap(es(n),t)}):"labelsDirectional"===tL.snapTo?(i=r,function(t,e){return ea(es(i))(t,e.direction)}):!1!==tL.directional?function(t,e){return ea(tL.snapTo)(t,tk()-ez<500?0:e.direction)}:X.utils.snap(tL.snapTo),$=tK($=tL.duration||{min:.1,max:2})?J($.min,$.max):J($,$),tt=X.delayedCall(tL.delay||K/2||.1,function(){var t=eL(),e=tk()-ez<500,n=o.tween;if((e||10>Math.abs(eP.getVelocity()))&&!n&&!tr&&eA!==t){var i,s,l=(t-u)/y,c=r&&!t1?r.totalProgress():l,p=e?0:(c-B)/(tk()-Q)*1e3||0,f=X.utils.clamp(-l,1-l,tJ(p/2)*p/.185),d=l+(!1===tL.inertia?0:f),v=tL,g=v.onStart,m=v.onInterrupt,w=v.onComplete;if(tG(i=a(d,eP))||(i=d),s=Math.max(0,Math.round(u+i*y)),t<=h&&t>=u&&s!==t){if(n&&!n._initted&&n.data<=tJ(s-t))return;!1===tL.inertia&&(f=i-l),o(s,{duration:$(tJ(.185*Math.max(tJ(d-c),tJ(i-c))/p/.05||0)),ease:tL.ease||"power3",data:tJ(s-t),onInterrupt:function(){return tt.restart(!0)&&m&&tZ(eP,m)},onComplete:function(){eP.update(),eA=eL(),r&&!t1&&(V?V.resetTo("totalProgress",i,r._tTime/r._tDur):r.progress(i)),I=B=r&&!t1?r.totalProgress():eP.progress,tM&&tM(eP),w&&tZ(eP,w)}},t,f*y,s-t-f*y),g&&tZ(eP,g,o.tween)}}else eP.isActive&&eA!==t&&tt.restart(!0)}).pause()),tf&&(ew[tf]=eP),(ta=(tm=eP.trigger=N(tm||!0!==ty&&ty))&&tm._gsap&&tm._gsap.stRevert)&&(ta=ta(eP)),ty=!0===ty?tm:N(ty),tq(tp)&&(tp={targets:tm,className:tp}),ty&&(!1===tw||tw===t9||(tw=(!!tw||!ty.parentNode||!ty.parentNode.style||"flex"!==ee(ty.parentNode).display)&&t6),eP.pin=ty,(s=X.core.getCache(ty)).spacer?x=s.pinState:(tW&&((tW=N(tW))&&!tW.nodeType&&(tW=tW.current||tW.nativeElement),s.spacerIsNative=!!tW,tW&&(s.spacerState=eU(tW))),s.spacer=T=tW||q.createElement("div"),T.classList.add("pin-spacer"),tf&&T.classList.add("pin-spacer-"+tf),s.pinState=x=eU(ty)),!1!==e.force3D&&X.set(ty,{force3D:!0}),eP.spacer=T=s.spacer,A=(H=ee(ty))[tw+t0.os2],P=X.getProperty(ty),k=X.quickSetter(ty,t0.a,"px"),eV(ty,T,H),_=eU(ty)),eE){g=tK(eE)?en(eE,ep):ep,d=eg("scroller-start",tf,el,t0,g,0),v=eg("scroller-end",tf,el,t0,g,0,d),O=d["offset"+t0.op.d2];var eY=N(E(el,"content")||el);p=this.markerStart=eg("start",tf,eY,t0,g,O,0,tI),f=this.markerEnd=eg("end",tf,eY,t0,g,O,0,tI),tI&&(ts=X.quickSetter([p,f],t0.a,"px")),em||b.length&&!0===E(el,"fixedMarkers")||(er(ed?G:el),X.set([d,v],{force3D:!0}),F=X.quickSetter(d,t0.a,"px"),W=X.quickSetter(v,t0.a,"px"))}if(tI){var eF=tI.vars.onUpdate,eD=tI.vars.onUpdateParams;tI.eventCallback("onUpdate",function(){eP.update(0,0,1),eF&&eF.apply(tI,eD||[])})}if(eP.previous=function(){return ey[ey.indexOf(eP)-1]},eP.next=function(){return ey[ey.indexOf(eP)+1]},eP.revert=function(t,e){if(!e)return eP.kill(!0);var n=!1!==t||!eP.enabled,i=te;n!==eP.isReverted&&(n&&(tn=Math.max(eL(),eP.scroll.rec||0),eR=eP.progress,to=r&&r.progress()),p&&[p,f,d,v].forEach(function(t){return t.style.display=n?"none":"block"}),n&&(te=eP,eP.update(n)),!ty||tD&&eP.isActive||(n?eX(ty,T,x):eV(ty,T,ee(ty),L)),n||eP.update(n),te=i,eP.isReverted=n)},eP.refresh=function(n,i,s,a){if(!te&&eP.enabled||i){if(ty&&n&&tC){ec(t,"scrollEnd",eO);return}!tE&&ek&&ek(eP),te=eP,o.tween&&!s&&(o.tween.kill(),o.tween=0),V&&V.pause(),tb&&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)),eP.isReverted||eP.revert(!0,!0),eP._subPinOffset=!1;var g,w,b,E,O,k,A,F,W,H,I,B,j,K=eM(),$=eC(),Z=tI?tI.duration():tV(el,t0),J=y<=.01||!y,Q=0,tr=a||0,ti=tK(s)?s.end:e.end,ts=e.endTrigger||tm,ta=tK(s)?s.start:e.start||(0!==e.start&&tm?ty?"0 0":"0 100%":0),tl=eP.pinnedContainer=e.pinnedContainer&&N(e.pinnedContainer,eP),tu=tm&&Math.max(0,ey.indexOf(eP))||0,th=tu;for(eE&&tK(s)&&(B=X.getProperty(d,t0.p),j=X.getProperty(v,t0.p));th-- >0;)(k=ey[th]).end||k.refresh(0,1)||(te=eP),(A=k.pin)&&(A===tm||A===ty||A===tl)&&!k.isReverted&&(H||(H=[]),H.unshift(k),k.revert(!0,!0)),k!==ey[th]&&(tu--,th--);for(tU(ta)&&(ta=ta(eP)),u=e$(ta=tz(ta,"start",eP),tm,K,t0,eL(),p,d,eP,$,eT,em,Z,tI,eP._startClamp&&"_startClamp")||(ty?-.001:0),tU(ti)&&(ti=ti(eP)),tq(ti)&&!ti.indexOf("+=")&&(~ti.indexOf(" ")?ti=(tq(ta)?ta.split(" ")[0]:"")+ti:(Q=ev(ti.substr(2),K),ti=tq(ta)?ta:(tI?X.utils.mapRange(0,tI.duration(),tI.scrollTrigger.start,tI.scrollTrigger.end,u):u)+Q,ts=tm)),ti=tz(ti,"end",eP),h=Math.max(u,e$(ti||(ts?"100% 0":Z),ts,K,t0,eL()+Q,f,v,eP,$,eT,em,Z,tI,eP._endClamp&&"_endClamp"))||-.001,Q=0,th=tu;th--;)(A=(k=ey[th]||{}).pin)&&k.start-k._pinPush<=u&&!tI&&k.end>0&&(g=k.end-(eP._startClamp?Math.max(0,k.start):k.start),(A===tm&&k.start-k._pinPush<u||A===tl)&&isNaN(ta)&&(Q+=g*(1-k.progress)),A===ty&&(tr+=g));if(u+=Q,h+=Q,eP._startClamp&&(eP._startClamp+=Q),eP._endClamp&&!tE&&(eP._endClamp=h||-.001,h=Math.min(h,tV(el,t0))),y=h-u||(u-=.01)&&.001,J&&(eR=X.utils.clamp(0,1,X.utils.normalize(u,h,tn))),eP._pinPush=tr,p&&Q&&((g={})[t0.a]="+="+Q,tl&&(g[t0.p]="-="+eL()),X.set([p,f],g)),ty&&!(tx&&eP.end>=tV(el,t0)))g=ee(ty),E=t0===R,b=eL(),M=parseFloat(P(t0.a))+tr,!Z&&h>1&&(I={style:I=(ed?q.scrollingElement||U:el).style,value:I["overflow"+t0.a.toUpperCase()]},ed&&"scroll"!==ee(G)["overflow"+t0.a.toUpperCase()]&&(I.style["overflow"+t0.a.toUpperCase()]="scroll")),eV(ty,T,g),_=eU(ty),w=ei(ty,!0),F=em&&Y(el,E?z:R)(),tw?((L=[tw+t0.os2,y+tr+"px"]).t=T,(th=tw===t6?eo(ty,t0)+y+tr:0)&&(L.push(t0.d,th+"px"),"auto"!==T.style.flexBasis&&(T.style.flexBasis=th+"px")),eq(L),tl&&ey.forEach(function(t){t.pin===tl&&!1!==t.vars.pinSpacing&&(t._subPinOffset=!0)}),em&&eL(tn)):(th=eo(ty,t0))&&"auto"!==T.style.flexBasis&&(T.style.flexBasis=th+"px"),em&&((O={top:w.top+(E?b-u:F)+"px",left:w.left+(E?F:b-u)+"px",boxSizing:"border-box",position:"fixed"})[t2]=O["max"+t7]=Math.ceil(w.width)+"px",O[t3]=O["max"+et]=Math.ceil(w.height)+"px",O[t9]=O[t9+"Top"]=O[t9+t5]=O[t9+t4]=O[t9+t8]="0",O[t6]=g[t6],O[t6+"Top"]=g[t6+"Top"],O[t6+t5]=g[t6+t5],O[t6+t4]=g[t6+t4],O[t6+t8]=g[t6+t8],S=eG(x,O,tD),tE&&eL(0)),r?(W=r._initted,tc(1),r.render(r.duration(),!0,!0),C=P(t0.a)-M+y+tr,D=Math.abs(y-C)>1,em&&D&&S.splice(S.length-2,2),r.render(0,!0,!0),W||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),tc(0)):C=y,I&&(I.value?I.style["overflow"+t0.a.toUpperCase()]=I.value:I.style.removeProperty("overflow-"+t0.a));else if(tm&&eL()&&!tI)for(w=tm.parentNode;w&&w!==G;)w._pinOffset&&(u-=w._pinOffset,h-=w._pinOffset),w=w.parentNode;H&&H.forEach(function(t){return t.revert(!1,!0)}),eP.start=u,eP.end=h,l=c=tE?tn:eL(),tI||tE||(l<tn&&eL(tn),eP.scroll.rec=0),eP.revert(!1,!0),ez=tk(),tt&&(eA=-1,tt.restart(!0)),te=0,r&&t1&&(r._initted||to)&&r.progress()!==to&&r.progress(to||0,!0).render(r.time(),!0,!0),(J||eR!==eP.progress||tI||tb||r&&!r._initted)&&(r&&!t1&&(r._initted||eR||!1!==r.vars.immediateRender)&&r.totalProgress(tI&&u<-.001&&!eR?X.utils.normalize(u,h,0):eR,!0),eP.progress=J||(l-u)/y===eR?0:eR),ty&&tw&&(T._pinOffset=Math.round(eP.progress*C)),V&&V.invalidate(),isNaN(B)||(B-=X.getProperty(d,t0.p),j-=X.getProperty(v,t0.p),e0(d,t0,B),e0(p,t0,B-(a||0)),e0(v,t0,j),e0(f,t0,j-(a||0))),J&&!tE&&eP.update(),!tv||tE||m||(m=!0,tv(eP),m=!1)}},eP.getVelocity=function(){return(eL()-c)/(tk()-Q)*1e3||0},eP.endAnimation=function(){t$(eP.callbackAnimation),r&&(V?V.progress(1):r.paused()?t1||t$(r,eP.direction<0,1):t$(r,r.reversed()))},eP.labelToScroll=function(t){return r&&r.labels&&(u||eP.refresh()||u)+r.labels[t]/r.duration()*y||0},eP.getTrailing=function(t){var e=ey.indexOf(eP),r=eP.direction>0?ey.slice(0,e).reverse():ey.slice(e+1);return(tq(t)?r.filter(function(e){return e.vars.preventOverlaps===t}):r).filter(function(t){return eP.direction>0?t.end<=u:t.start>=h})},eP.update=function(t,e,n){if(!tI||n||t){var i,s,a,p,f,v,g,m=!0===tE?tn:eP.scroll(),w=t?0:(m-u)/y,b=w<0?0:w>1?1:w||0,x=eP.progress;if(e&&(c=l,l=tI?eL():m,tL&&(B=I,I=r&&!t1?r.totalProgress():b)),t_&&ty&&!te&&!tP&&tC&&(!b&&u<m+(m-c)/(tk()-Q)*t_?b=1e-4:1===b&&h>m+(m-c)/(tk()-Q)*t_&&(b=.9999)),b!==x&&eP.enabled){if(p=(f=(i=eP.isActive=!!b&&b<1)!=(!!x&&x<1))||!!b!=!!x,eP.direction=b>x?1:-1,eP.progress=b,p&&!te&&(s=b&&!x?0:1===b?1:1===x?2:3,t1&&(a=!f&&"none"!==eS[s+1]&&eS[s+1]||eS[s],g=r&&("complete"===a||"reset"===a||a in r))),tQ&&(f||g)&&(g||tg||!r)&&(tU(tQ)?tQ(eP):eP.getTrailing(tQ).forEach(function(t){return t.endAnimation()})),!t1&&(!V||te||tP?r&&r.totalProgress(b,!!(te&&(ez||t))):(V._dp._time-V._start!==V._time&&V.render(V._dp._time-V._start),V.resetTo?V.resetTo("totalProgress",b,r._tTime/r._tDur):(V.vars.totalProgress=b,V.invalidate().restart()))),ty){if(t&&tw&&(T.style[tw+t0.os2]=A),em){if(p){if(v=!t&&b>x&&h+1>m&&m+1>=tV(el,t0),tD){if(!t&&(i||v)){var E=ei(ty,!0),O=m-u;eJ(ty,G,E.top+(t0===R?O:0)+"px",E.left+(t0===R?0:O)+"px")}else eJ(ty,T)}eq(i||v?S:_),D&&b<1&&i||k(M+(1!==b||v?0:C))}}else k(tF(M+C*b))}!tL||o.tween||te||tP||tt.restart(!0),tp&&(f||tN&&b&&(b<1||!tS))&&Z(tp.targets).forEach(function(t){return t.classList[i||tN?"add":"remove"](tp.className)}),!th||t1||t||th(eP),p&&!te?(t1&&(g&&("complete"===a?r.pause().totalProgress(1):"reset"===a?r.restart(!0).pause():"restart"===a?r.restart(!0):r[a]()),th&&th(eP)),(f||!tS)&&(td&&f&&tZ(eP,td),eb[s]&&tZ(eP,eb[s]),tN&&(1===b?eP.kill(!1,1):eb[s]=0),!f&&eb[s=1===b?1:3]&&tZ(eP,eb[s])),tj&&!i&&Math.abs(eP.getVelocity())>(tG(tj)?tj:2500)&&(t$(eP.callbackAnimation),V?V.progress(1):t$(r,"reverse"===a?1:!b,1))):t1&&th&&!te&&th(eP)}if(W){var P=tI?m/tI.duration()*(tI._caScrollDist||0):m;F(P+(d._isFlipped?1:0)),W(P)}ts&&ts(-m/tI.duration()*(tI._caScrollDist||0))}},eP.enable=function(e,r){eP.enabled||(eP.enabled=!0,ec(el,"resize",e_),ed||ec(el,"scroll",ex),ek&&ec(t,"refreshInit",ek),!1!==e&&(eP.progress=eR=0,l=c=eA=eL()),!1!==r&&eP.refresh())},eP.getTween=function(t){return t&&o?o.tween:V},eP.setPositions=function(t,e,r,n){if(tI){var i=tI.scrollTrigger,o=tI.duration(),s=i.end-i.start;t=i.start+s*t/o,e=i.start+s*e/o}eP.refresh(!1,!1,{start:tR(t,r&&!!eP._startClamp),end:tR(e,r&&!!eP._endClamp)},n),eP.update()},eP.adjustPinSpacing=function(t){if(L&&t){var e=L.indexOf(t0.d)+1;L[e]=parseFloat(L[e])+t+"px",L[1]=parseFloat(L[1])+t+"px",eq(L)}},eP.disable=function(e,r){if(!1!==e&&eP.revert(!0,!0),eP.enabled&&(eP.enabled=eP.isActive=!1,r||V&&V.pause(),tn=0,s&&(s.uncache=1),ek&&eu(t,"refreshInit",ek),tt&&(tt.pause(),o.tween&&o.tween.kill()&&(o.tween=0)),!ed)){for(var n=ey.length;n--;)if(ey[n].scroller===el&&ey[n]!==eP)return;eu(el,"resize",e_),ed||eu(el,"scroll",ex)}},eP.kill=function(t,n){eP.disable(t,n),V&&!n&&V.kill(),tf&&delete ew[tf];var i=ey.indexOf(eP);i>=0&&ey.splice(i,1),i===ti&&eW>0&&ti--,i=0,ey.forEach(function(t){return t.scroller===eP.scroller&&(i=1)}),i||tE||(eP.scroll.rec=0),r&&(r.scrollTrigger=null,t&&r.revert({kill:!1}),n||r.kill()),p&&[p,f,d,v].forEach(function(t){return t.parentNode&&t.parentNode.removeChild(t)}
vendor: 3,369 bytes, line 15
15),tO===eP&&(tO=0),ty&&(s&&(s.uncache=1),i=0,ey.forEach(function(t){return t.pin===ty&&i++}),i||(s.spacer=0)),e.onKill&&e.onKill(eP)},ey.push(eP),eP.enable(!1,!1),ta&&ta(eP),r&&r.add&&!y){var eH=eP.update;eP.update=function(){eP.update=eH,w.cache++,u||h||eP.refresh()},X.delayedCall(.01,eP.update),y=.01,u=h=0}else eP.refresh();ty&&eN()},t.register=function(e){return V||(X=e||tW(),tD()&&window.document&&t.enable(),V=tA),V},t.defaults=function(t){if(t)for(var e in t)ef[e]=t[e];return ef},t.disable=function(t,e){tA=0,ey.forEach(function(r){return r[e?"kill":"disable"](t)}),eu(j,"wheel",ex),eu(q,"scroll",ex),clearInterval(tt),eu(q,"touchcancel",tY),eu(G,"touchstart",tY),el(eu,q,"pointerdown,touchstart,mousedown",tN),el(eu,q,"pointerup,touchend,mouseup",tL),$.kill(),tj(eu);for(var r=0;r<w.length;r+=3)eh(eu,w[r],w[r+1]),eh(eu,w[r],w[r+2])},t.enable=function(){if(j=window,U=(q=document).documentElement,G=q.body,X){if(Z=X.utils.toArray,J=X.utils.clamp,tg=X.core.context||tY,tc=X.core.suppressOverwrites||tY,tm=j.history.scrollRestoration||"auto",eD=j.pageYOffset||0,X.core.globals("ScrollTrigger",t),G){tA=1,(ty=document.createElement("div")).style.height="100vh",ty.style.position="absolute",eL(),function t(){return tA&&requestAnimationFrame(t)}(),B.register(X),t.isTouch=B.isTouch,tv=B.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),tp=1===B.isTouch,ec(j,"wheel",ex),K=[j,q,U,G],X.matchMedia?(t.matchMedia=function(t){var e,r=X.matchMedia();for(e in t)r.add(e,t[e]);return r},X.addEventListener("matchMediaInit",function(){eC(),eA()}),X.addEventListener("matchMediaRevert",function(){return eM()}),X.addEventListener("matchMedia",function(){eF(0,1),eP("matchMedia")}),X.matchMedia().add("(orientation: portrait)",function(){return eS(),eS})):console.warn("Requires GSAP 3.11.0 or later"),eS(),ec(q,"scroll",ex);var e,r,n=G.hasAttribute("style"),i=G.style,o=i.borderTopStyle,s=X.core.Animation.prototype;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),i.borderTopStyle="solid",e=ei(G),R.m=Math.round(e.top+R.sc())||0,z.m=Math.round(e.left+z.sc())||0,o?i.borderTopStyle=o:i.removeProperty("border-top-style"),n||(G.setAttribute("style",""),G.removeAttribute("style")),tt=setInterval(eb,250),X.delayedCall(.5,function(){return tP=0}),ec(q,"touchcancel",tY),ec(G,"touchstart",tY),el(ec,q,"pointerdown,touchstart,mousedown",tN),el(ec,q,"pointerup,touchend,mouseup",tL),tn=X.utils.checkPrefix("transform"),eB.push(tn),V=tk(),$=X.delayedCall(.2,eF).pause(),ta=[q,"visibilitychange",function(){var t=j.innerWidth,e=j.innerHeight;q.hidden?(to=t,ts=e):(to!==t||ts!==e)&&e_()},q,"DOMContentLoaded",eF,j,"load",eF,j,"resize",e_],tj(ec),ey.forEach(function(t){return t.enable(0,1)}),r=0;r<w.length;r+=3)eh(eu,w[r],w[r+1]),eh(eu,w[r],w[r+2])}else q&&q.addEventListener("DOMContentLoaded",function e(){t.enable(),q.removeEventListener("DOMContentLoaded",e)})}},t.config=function(e){"limitCallbacks"in e&&(tS=!!e.limitCallbacks);var r=e.syncInterval;r&&clearInterval(tt)||(tt=r)&&setInterval(eb,r),"ignoreMobileResize"in e&&(tp=1===t.isTouch&&e.ignoreMobileResize),"autoRefreshEvents"in e&&(tj(eu)||tj(ec,e.autoRefreshEvents||"none"),tu=-1===(e.autoRefreshEvents+"").indexOf("resize"))},t.scrollerProxy=function(t,e){var r=N(t),n=w.indexOf(r),i=tH(r);~n&&w.splice(n,i?6:2),e&&(i?b.unshift(j,e,G,e,U,e):b.unshift(r,e))}
vendor: 8,943 bytes, line 15
15,t.clearMatchMedia=function(t){ey.forEach(function(e){return e._ctx&&e._ctx.query===t&&e._ctx.kill(!0,!0)})},t.isInViewport=function(t,e,r){var n=(tq(t)?N(t):t).getBoundingClientRect(),i=n[r?t2:t3]*e||0;return r?n.right-i>0&&n.left+i<j.innerWidth:n.bottom-i>0&&n.top+i<j.innerHeight},t.positionInViewport=function(t,e,r){tq(t)&&(t=N(t));var n=t.getBoundingClientRect(),i=n[r?t2:t3],o=null==e?i/2:e in ed?ed[e]*i:~e.indexOf("%")?parseFloat(e)*i/100:parseFloat(e)||0;return r?(n.left+o)/j.innerWidth:(n.top+o)/j.innerHeight},t.killAll=function(t){if(ey.slice(0).forEach(function(t){return"ScrollSmoother"!==t.vars.id&&t.kill()}),!0!==t){var e=eE.killAll||[];eE={},e.forEach(function(t){return t()})}},t}();e2.version="3.15.0",e2.saveStyles=function(t){return t?Z(t).forEach(function(t){if(t&&t.style){var e=ek.indexOf(t);e>=0&&ek.splice(e,5),ek.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),X.core.getCache(t),tg())}}):ek},e2.revert=function(t,e){return eA(!t,e)},e2.create=function(t,e){return new e2(t,e)},e2.refresh=function(t){return t?e_(!0):(V||e2.register())&&eF(!0)},e2.update=function(t){return++w.cache&&eH(!0===t?2:0)},e2.clearScrollMemory=ez,e2.maxScroll=function(t,e){return tV(t,e?z:R)},e2.getScrollFunc=function(t,e){return Y(N(t),e?z:R)},e2.getById=function(t){return ew[t]},e2.getAll=function(){return ey.filter(function(t){return"ScrollSmoother"!==t.vars.id})},e2.isScrolling=function(){return!!tC},e2.snapDirectional=ea,e2.addEventListener=function(t,e){var r=eE[t]||(eE[t]=[]);~r.indexOf(e)||r.push(e)},e2.removeEventListener=function(t,e){var r=eE[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},e2.batch=function(t,e){var r,n=[],i={},o=e.interval||.016,s=e.batchMax||1e9,a=function(t,e){var r=[],n=[],i=X.delayedCall(o,function(){e(r,n),r=[],n=[]}).pause();return function(t){r.length||i.restart(!0),r.push(t.trigger),n.push(t),s<=r.length&&i.progress(1)}};for(r in e)i[r]="on"===r.substr(0,2)&&tU(e[r])&&"onRefreshInit"!==r?a(r,e[r]):e[r];return tU(s)&&(s=s(),ec(e2,"refresh",function(){return s=e.batchMax()})),Z(t).forEach(function(t){var e={};for(r in i)e[r]=i[r];e.trigger=t,n.push(e2.create(e))}),n};var e3,e5=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},e8=function t(e,r){!0===r?e.style.removeProperty("touch-action"):e.style.touchAction=!0===r?"auto":r?"pan-"+r+(B.isTouch?" pinch-zoom":""):"none",e===U&&t(G,r)},e4={auto:1,scroll:1},e6=function(t){var e,r=t.event,n=t.target,i=t.axis,o=(r.changedTouches?r.changedTouches[0]:r).target,s=o._gsap||X.core.getCache(o),a=tk();if(!s._isScrollT||a-s._isScrollT>2e3){for(;o&&o!==G&&(o.scrollHeight<=o.clientHeight&&o.scrollWidth<=o.clientWidth||!(e4[(e=ee(o)).overflowY]||e4[e.overflowX]));)o=o.parentNode;s._isScroll=o&&o!==n&&!tH(o)&&(e4[(e=ee(o)).overflowY]||e4[e.overflowX]),s._isScrollT=a}(s._isScroll||"x"===i)&&(r.stopPropagation(),r._gsapAllow=!0)},e9=function(t,e,r,n){return B.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:e,onWheel:n=n&&e6,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&ec(q,B.eventTypes[0],rt,!1,!0)},onDisable:function(){return eu(q,B.eventTypes[0],rt,!0)}})},e7=/(input|label|select|textarea)/i,rt=function(t){var e=e7.test(t.target.tagName);(e||e3)&&(t._gsapAllow=!0,e3=e)},re=function(t){tK(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,o,s,a,l,c=t,u=c.normalizeScrollX,h=c.momentum,p=c.allowNestedScroll,f=c.onRelease,d=N(t.target)||U,v=X.core.globals().ScrollSmoother,g=v&&v.get(),m=tv&&(t.content&&N(t.content)||g&&!1!==t.content&&!g.smooth()&&g.content()),y=Y(d,R),b=Y(d,z),x=1,S=(B.isTouch&&j.visualViewport?j.visualViewport.scale*j.visualViewport.width:j.outerWidth)/j.innerWidth,_=0,E=tU(h)?function(){return h(e)}:function(){return h||2.8},T=e9(d,t.type,!0,p),O=function(){return i=!1},P=tY,k=tY,M=function(){r=tV(d,R),k=J(tv?1:0,r),u&&(P=J(0,tV(d,z))),n=eR},C=function(){m._gsap.y=tF(parseFloat(m._gsap.y)+y.offset)+"px",m.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(m._gsap.y)+", 0, 1)",y.offset=y.cacheID=0},A=function(){if(i){requestAnimationFrame(O);var t=tF(e.deltaY/2),r=k(y.v-t);if(m&&r!==y.v+y.offset){y.offset=r-y.v;var n=tF((parseFloat(m&&m._gsap.y)||0)-y.offset);m.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+n+", 0, 1)",m._gsap.y=n+"px",y.cacheID=w.cache,eH()}return!0}y.offset&&C(),i=!0},L=function(){M(),o.isActive()&&o.vars.scrollY>r&&(y()>r?o.progress(1)&&y(r):o.resetTo("scrollY",r))};return m&&X.set(m,{y:"+=0"}),t.ignoreCheck=function(t){return tv&&"touchmove"===t.type&&A(t)||x>1.05&&"touchstart"!==t.type||e.isGesturing||t.touches&&t.touches.length>1},t.onPress=function(){i=!1;var t=x;x=tF((j.visualViewport&&j.visualViewport.scale||1)/S),o.pause(),t!==x&&e8(d,x>1.01||!u&&"x"),s=b(),a=y(),M(),n=eR},t.onRelease=t.onGestureStart=function(t,e){if(y.offset&&C(),e){w.cache++;var n,i,s=E();u&&(i=(n=b())+-(.05*s*t.velocityX)/.227,s*=e5(b,n,i,tV(d,z)),o.vars.scrollX=P(i)),i=(n=y())+-(.05*s*t.velocityY)/.227,s*=e5(y,n,i,tV(d,R)),o.vars.scrollY=k(i),o.invalidate().duration(s).play(.01),(tv&&o.vars.scrollY>=r||n>=r-1)&&X.to({},{onUpdate:L,duration:s})}else l.restart(!0);f&&f(t)},t.onWheel=function(){o._ts&&o.pause(),tk()-_>1e3&&(n=0,_=tk())},t.onChange=function(t,e,r,i,o){if(eR!==n&&M(),e&&u&&b(P(i[2]===e?s+(t.startX-t.x):b()+e-i[1])),r){y.offset&&C();var l=o[2]===r,c=l?a+t.startY-t.y:y()+r-o[1],h=k(c);l&&c!==h&&(a+=h-c),y(h)}(r||e)&&eH()},t.onEnable=function(){e8(d,!u&&"x"),e2.addEventListener("refresh",L),ec(j,"resize",L),y.smooth&&(y.target.style.scrollBehavior="auto",y.smooth=b.smooth=!1),T.enable()},t.onDisable=function(){e8(d,!0),eu(j,"resize",L),e2.removeEventListener("refresh",L),T.kill()},t.lockAxis=!1!==t.lockAxis,(e=new B(t)).iOS=tv,tv&&!y()&&y(1),tv&&X.ticker.add(tY),l=e._dc,o=X.to(e,{ease:"power4",paused:!0,inherit:!1,scrollX:u?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:eQ(y,y(),function(){return o.pause()})},onUpdate:eH,onComplete:l.vars.onComplete}),e};e2.sort=function(t){if(tU(t))return ey.sort(t);var e=j.pageYOffset||0;return e2.getAll().forEach(function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+j.innerHeight}),ey.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))})},e2.observe=function(t){return new B(t)},e2.normalizeScroll=function(t){if(void 0===t)return th;if(!0===t&&th)return th.enable();if(!1===t){th&&th.kill(),th=t;return}var e=t instanceof B?t:re(t);return th&&th.target===e.target&&th.kill(),tH(e.target)&&(th=e),e},e2.core={_getVelocityProp:F,_inputObserver:e9,_scrollers:w,_proxies:b,bridge:{ss:function(){tC||eP("scrollStart"),tC=tk()},ref:function(){return te}}},tW()&&X.registerPlugin(e2)},9582:function(t,e,r){"use strict";r.d(e,{ZP:function(){return tT}});var n,i,o,s,a,l,c,u,h,p,f,d=r(9244),v={},g=180/Math.PI,m=Math.PI/180,y=Math.atan2,w=/([A-Z])/g,b=/(left|right|width|margin|padding|x)/i,x=/[\s,\(]\S/,S={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},_=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},E=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)},T=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)},O=function(t,e){return e.set(e.t,e.p,1===t?e.e:t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},P=function(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)},k=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},M=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},C=function(t,e,r){return t.style[e]=r},A=function(t,e,r){return t.style.setProperty(e,r)},z=function(t,e,r){return t._gsap[e]=r},R=function(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r},N=function(t,e,r,n,i){var o=t._gsap;o.scaleX=o.scaleY=r,o.renderTransform(i,o)},L=function(t,e,r,n,i){var o=t._gsap;o[e]=r,o.renderTransform(i,o)},Y="transform",F=Y+"Origin",D=function t(e,r){var n=this,i=this.target,o=i.style,s=i._gsap;if(e in v&&o){if(this.tfm=this.tfm||{},"transform"===e)return S.transform.split(",").forEach(function(e){return t.call(n,e,r)});if(~(e=S[e]||e).indexOf(",")?e.split(",").forEach(function(t){return n.tfm[t]=tr(i,t)}):this.tfm[e]=s.x?s[e]:tr(i,e),e===F&&(this.tfm.zOrigin=s.zOrigin),this.props.indexOf(Y)>=0)return;s.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(F,r,"")),e=Y}(o||r)&&this.props.push(e,r,o[e])},W=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},H=function(){var t,e,r=this.props,n=this.target,i=n.style,o=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(w,"-$1").toLowerCase());if(this.tfm){for(e in this.tfm)o[e]=this.tfm[e];
15o.svg&&(o.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),(t=p())&&t.isStart||i[Y]||(W(i),o.zOrigin&&i[F]&&(i[F]+=" "+o.zOrigin+"px",o.zOrigin=0,o.renderTransform()),o.uncache=1)}},I=function(t,e){var r={target:t,props:[],revert:H,save:D};return t._gsap||d.p8.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(t){return r.save(t)}),r},B=function(t,e){var r=a.createElementNS?a.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):a.createElement(t);return r&&r.style?r:a.createElement(t)},X=function t(e,r,n){var i=getComputedStyle(e);return i[r]||i.getPropertyValue(r.replace(w,"-$1").toLowerCase())||i.getPropertyValue(r)||!n&&t(e,j(r)||r,1)||""},V="O,Moz,ms,Ms,Webkit".split(","),j=function(t,e,r){var n=(e||u).style,i=5;if(t in n&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);i--&&!(V[i]+t in n););return i<0?null:(3===i?"ms":i>=0?V[i]:"")+t},q=function(){"undefined"!=typeof window&&window.document&&(l=(a=window.document).documentElement,u=B("div")||{style:{}},B("div"),F=(Y=j(Y))+"Origin",u.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",f=!!j("perspective"),p=d.p8.core.reverting,c=1)},U=function(t){var e,r=t.ownerSVGElement,n=B("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=t.cloneNode(!0);i.style.display="block",n.appendChild(i),l.appendChild(n);try{e=i.getBBox()}catch(t){}return n.removeChild(i),l.removeChild(n),e},G=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},K=function(t){var e,r;try{e=t.getBBox()}catch(n){e=U(t),r=1}return e&&(e.width||e.height)||r||(e=U(t)),!e||e.width||e.x||e.y?e:{x:+G(t,["x","cx","x1"])||0,y:+G(t,["y","cy","y1"])||0,width:0,height:0}},$=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&K(t))},Z=function(t,e){if(e){var r,n=t.style;e in v&&e!==F&&(e=Y),n.removeProperty?(("ms"===(r=e.substr(0,2))||"webkit"===e.substr(0,6))&&(e="-"+e),n.removeProperty("--"===r?e:e.replace(w,"-$1").toLowerCase())):n.removeAttribute(e)}},J=function(t,e,r,n,i,o){var s=new d.Fo(t._pt,e,r,0,1,o?M:k);return t._pt=s,s.b=n,s.e=i,t._props.push(r),s},Q={deg:1,rad:1,turn:1},tt={grid:1,flex:1},te=function t(e,r,n,i){var o,s,l,c,h=parseFloat(n)||0,p=(n+"").trim().substr((h+"").length)||"px",f=u.style,g=b.test(r),m="svg"===e.tagName.toLowerCase(),y=(m?"client":"offset")+(g?"Width":"Height"),w="px"===i,x="%"===i;if(i===p||!h||Q[i]||Q[p])return h;if("px"===p||w||(h=t(e,r,n,"px")),c=e.getCTM&&$(e),(x||"%"===p)&&(v[r]||~r.indexOf("adius")))return o=c?e.getBBox()[g?"width":"height"]:e[y],(0,d.Pr)(x?h/o*100:h/100*o);if(f[g?"width":"height"]=100+(w?p:i),s="rem"!==i&&~r.indexOf("adius")||"em"===i&&e.appendChild&&!m?e:e.parentNode,c&&(s=(e.ownerSVGElement||{}).parentNode),s&&s!==a&&s.appendChild||(s=a.body),(l=s._gsap)&&x&&l.width&&g&&l.time===d.xr.time&&!l.uncache)return(0,d.Pr)(h/l.width*100);if(x&&("height"===r||"width"===r)){var S=e.style[r];e.style[r]=100+i,o=e[y],S?e.style[r]=S:Z(e,r)}else(x||"%"===p)&&!tt[X(s,"display")]&&(f.position=X(e,"position")),s===e&&(f.position="static"),s.appendChild(u),o=u[y],s.removeChild(u),f.position="absolute";return g&&x&&((l=(0,d.DY)(s)).time=d.xr.time,l.width=s[y]),(0,d.Pr)(w?o*h/100:o&&h?100/o*h:0)},tr=function(t,e,r,n){var i;return c||q(),e in S&&"transform"!==e&&~(e=S[e]).indexOf(",")&&(e=e.split(",")[0]),v[e]&&"transform"!==e?(i=td(t,n),i="transformOrigin"!==e?i[e]:i.svg?i.origin:tv(X(t,F))+" "+i.zOrigin+"px"):(!(i=t.style[e])||"auto"===i||n||~(i+"").indexOf("calc("))&&(i=ta[e]&&ta[e](t,e,r)||X(t,e)||(0,d.Ok)(t,e)||("opacity"===e?1:0)),r&&!~(i+"").trim().indexOf(" ")?te(t,e,i,r)+r:i},tn=function(t,e,r,n){if(!r||"none"===r){var i=j(e,t,1),o=i&&X(t,i,1);o&&o!==r?(e=i,r=o):"borderColor"===e&&(r=X(t,"borderTopColor"))}var s,a,l,c,u,h,p,f,v,g,m,y=new d.Fo(this._pt,t.style,e,0,1,d.Ks),w=0,b=0;if(y.b=r,y.e=n,r+="","var(--"===(n+="").substring(0,6)&&(n=X(t,n.substring(4,n.indexOf(")")))),"auto"===n&&(h=t.style[e],t.style[e]=n,n=X(t,e)||n,h?t.style[e]=h:Z(t,e)),s=[r,n],(0,d.kr)(s),r=s[0],n=s[1],l=r.match(d.d4)||[],(n.match(d.d4)||[]).length){for(;a=d.d4.exec(n);)p=a[0],v=n.substring(w,a.index),u?u=(u+1)%5:("rgba("===v.substr(-5)||"hsla("===v.substr(-5))&&(u=1),p!==(h=l[b++]||"")&&(c=parseFloat(h)||0,m=h.substr((c+"").length),"="===p.charAt(1)&&(p=(0,d.cy)(c,p)+m),f=parseFloat(p),g=p.substr((f+"").length),w=d.d4.lastIndex-g.length,g||(g=g||d.Fc.units[e]||m,w!==n.length||(n+=g,y.e
15+=g)),m!==g&&(c=te(t,e,h,g)||0),y._pt={_next:y._pt,p:v||1===b?v:",",s:c,c:f-c,m:u&&u<4||"zIndex"===e?Math.round:0});y.c=w<n.length?n.substring(w,n.length):""}else y.r="display"===e&&"none"===n?M:k;return d.bQ.test(n)&&(y.e=0),this._pt=y,y},ti={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},to=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]=ti[r]||r,e[1]=ti[n]||n,e.join(" ")},ts=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r,n,i,o=e.t,s=o.style,a=e.u,l=o._gsap;if("all"===a||!0===a)s.cssText="",n=1;else for(i=(a=a.split(",")).length;--i>-1;)v[r=a[i]]&&(n=1,r="transformOrigin"===r?F:Y),Z(o,r);n&&(Z(o,Y),l&&(l.svg&&o.removeAttribute("transform"),s.scale=s.rotate=s.translate="none",td(o,1),l.uncache=1,W(s)))}},ta={clearProps:function(t,e,r,n,i){if("isFromStart"!==i.data){var o=t._pt=new d.Fo(t._pt,e,r,0,0,ts);return o.u=n,o.pr=-10,o.tween=i,t._props.push(r),1}}},tl=[1,0,0,1,0,0],tc={},tu=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},th=function(t){var e=X(t,Y);return tu(e)?tl:e.substr(7).match(d.SI).map(d.Pr)},tp=function(t,e){var r,n,i,o,s=t._gsap||(0,d.DY)(t),a=t.style,c=th(t);return s.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(c=[(i=t.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?tl:c:(c!==tl||t.offsetParent||t===l||s.svg||(i=a.display,a.display="block",(r=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(o=1,n=t.nextElementSibling,l.appendChild(t)),c=th(t),i?a.display=i:Z(t,"display"),o&&(n?r.insertBefore(t,n):r?r.appendChild(t):l.removeChild(t))),e&&c.length>6?[c[0],c[1],c[4],c[5],c[12],c[13]]:c)},tf=function(t,e,r,n,i,o){var s,a,l,c,u=t._gsap,h=i||tp(t,!0),p=u.xOrigin||0,f=u.yOrigin||0,d=u.xOffset||0,v=u.yOffset||0,g=h[0],m=h[1],y=h[2],w=h[3],b=h[4],x=h[5],S=e.split(" "),_=parseFloat(S[0])||0,E=parseFloat(S[1])||0;r?h!==tl&&(a=g*w-m*y)&&(l=w/a*_+-y/a*E+(y*x-w*b)/a,c=-m/a*_+g/a*E-(g*x-m*b)/a,_=l,E=c):(_=(s=K(t)).x+(~S[0].indexOf("%")?_/100*s.width:_),E=s.y+(~(S[1]||S[0]).indexOf("%")?E/100*s.height:E)),n||!1!==n&&u.smooth?(b=_-p,x=E-f,u.xOffset=d+(b*g+x*y)-b,u.yOffset=v+(b*m+x*w)-x):u.xOffset=u.yOffset=0,u.xOrigin=_,u.yOrigin=E,u.smooth=!!n,u.origin=e,u.originIsAbsolute=!!r,t.style[F]="0px 0px",o&&(J(o,u,"xOrigin",p,_),J(o,u,"yOrigin",f,E),J(o,u,"xOffset",d,u.xOffset),J(o,u,"yOffset",v,u.yOffset)),t.setAttribute("data-svg-origin",_+" "+E)},td=function(t,e){var r=t._gsap||new d.l1(t);if("x"in r&&!e&&!r.uncache)return r;var n,i,o,s,a,l,c,u,h,p,v,w,b,x,S,_,E,T,O,P,k,M,C,A,z,R,N,L,D,W,H,I,B=t.style,V=r.scaleX<0,j=getComputedStyle(t),q=X(t,F)||"0";return n=i=o=l=c=u=h=p=v=0,s=a=1,r.svg=!!(t.getCTM&&$(t)),j.translate&&(("none"!==j.translate||"none"!==j.scale||"none"!==j.rotate)&&(B[Y]=("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[Y]?j[Y]:"")),B.scale=B.rotate=B.translate="none"),x=tp(t,r.svg),r.svg&&(r.uncache?(z=t.getBBox(),q=r.xOrigin-z.x+"px "+(r.yOrigin-z.y)+"px",A=""):A=!e&&t.getAttribute("data-svg-origin"),tf(t,A||q,!!A||r.originIsAbsolute,!1!==r.smooth,x)),w=r.xOrigin||0,b=r.yOrigin||0,x!==tl&&(T=x[0],O=x[1],P=x[2],k=x[3],n=M=x[4],i=C=x[5],6===x.length?(s=Math.sqrt(T*T+O*O),a=Math.sqrt(k*k+P*P),l=T||O?y(O,T)*g:0,(h=P||k?y(P,k)*g+l:0)&&(a*=Math.abs(Math.cos(h*m))),r.svg&&(n-=w-(w*T+b*P),i-=b-(w*O+b*k))):(I=x[6],W=x[7],N=x[8],L=x[9],D=x[10],H=x[11],n=x[12],i=x[13],o=x[14],c=(S=y(I,D))*g,S&&(A=M*(_=Math.cos(-S))+N*(E=Math.sin(-S)),z=C*_+L*E,R=I*_+D*E,N=-(M*E)+N*_,L=-(C*E)+L*_,D=-(I*E)+D*_,H=-(W*E)+H*_,M=A,C=z,I=R),u=(S=y(-P,D))*g,S&&(A=T*(_=Math.cos(-S))-N*(E=Math.sin(-S)),z=O*_-L*E,R=P*_-D*E,H=k*E+H*_,T=A,O=z,P=R),l=(S=y(O,T))*g,S&&(A=T*(_=Math.cos(S))+O*(E=Math.sin(S)),z=M*_+C*E,O=O*_-T*E,C=C*_-M*E,T=A,M=z),c&&Math.abs(c)+Math.abs(l)>359.9&&(c=l=0,u=180-u),s=(0,d.Pr)(Math.sqrt(T*T+O*O+P*P)),a=(0,d.Pr)(Math.sqrt(C*C+I*I)),h=Math.abs(S=y(M,C))>2e-4?S*g:0,v=H?1/(H<0?-H:H):0),r.svg&&(A=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!tu(X(t,Y)),A&&t.setAttribute("transform",A))),Math.abs(h)>90&&270>Math.abs(h)&&(V?(s*=-1,h+=l<=0?180:-180,l+=l<=0?180:-180):(a*=-1,h+=h<=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)+"px",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)+"px",r.z=o+"px",r.scaleX=(0,d.Pr)(s),r.scaleY=(0,d.Pr)(a),r.rotation=(0,d.Pr)(l)+"deg",r.rotationX=(0,d.Pr)(c)+"deg",r.rotationY=(0,d.Pr)(u)+"deg",r.skewX=h+"deg",r.skewY=p+"deg",r.transformPerspective=v+"px",(r.zOrigin=parseFloat(q.split(" ")[2])||!e&&r.zOrigin||0)&&(B[F]=tv(q)),r.xOffset=r.yOffset=0,r.force3D=d.Fc.force3D,r.renderTransform=r.svg?tb:f?tw:tm,r.uncache=0,r},tv=function(t){return(t=t.split(" "))[0]+" "+t[1]},tg=function(t,e,r){var n=(0,d.Wy)(e);return(0,d.Pr)(parseFloat(e)+parseFloat(te(t,"x",r+"px",n)))+n},tm=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,tw(t,e)},ty="0deg",tw=function(t,e){var r=e||this,n=r.xPercent,i=r.yPercent,o=r.x,s=r.y,a=r.z,l=r.rotation,c=r.rotationY,u=r.rotationX,h=r.skewX,p=r.skewY,f=r.scaleX,d=r.scaleY,v=r.transformPerspective,g=r.force3D,y=r.target,w=r.zOrigin,b="",x="auto"===g&&t&&1!==t||!0===g;if(w&&(u!==ty||c!==ty)){var S,_=parseFloat(c)*m,E=Math.sin(_),T=Math.cos(_);o=tg(y,o,-(E*(S=Math.cos(_=parseFloat(u)*m))*w)),s=tg(y,s,-(-Math.sin(_)*w)),a=tg(y,a,-(T*S*w)+w)}"0px"!==v&&(b+="perspective("+v+") "),(n||i)&&(b+="translate("+n+"%, "+i+"%) "),(x||"0px"!==o||"0px"!==s||"0px"!==a)&&(b+="0px"!==a||x?"translate3d("+o+", "+s+", "+a+") ":"translate("+o+", "+s+") "),l!==ty&&(b+="rotate("+l+") "),c!==ty&&(b+="rotateY("+c+") "),u!==ty&&(b+="rotateX("+u+") "),(h!==ty||p!==ty)&&(b+="skew("+h+", "+p+") "),(1!==f||1!==d)&&(b+="scale("+f+", "+d+") "),y.style[Y]=b||"translate(0, 0)"},tb=function(t,e){var r,n,i,o,s,a=e||this,l=a.xPercent,c=a.yPercent,u=a.x,h=a.y,p=a.rotation,f=
15a.skewX,v=a.skewY,g=a.scaleX,y=a.scaleY,w=a.target,b=a.xOrigin,x=a.yOrigin,S=a.xOffset,_=a.yOffset,E=a.forceCSS,T=parseFloat(u),O=parseFloat(h);p=parseFloat(p),f=parseFloat(f),(v=parseFloat(v))&&(f+=v=parseFloat(v),p+=v),p||f?(p*=m,f*=m,r=Math.cos(p)*g,n=Math.sin(p)*g,i=-(Math.sin(p-f)*y),o=Math.cos(p-f)*y,f&&(v*=m,i*=s=Math.sqrt(1+(s=Math.tan(f-v))*s),o*=s,v&&(r*=s=Math.sqrt(1+(s=Math.tan(v))*s),n*=s)),r=(0,d.Pr)(r),n=(0,d.Pr)(n),i=(0,d.Pr)(i),o=(0,d.Pr)(o)):(r=g,o=y,n=i=0),(T&&!~(u+"").indexOf("px")||O&&!~(h+"").indexOf("px"))&&(T=te(w,"x",u,"px"),O=te(w,"y",h,"px")),(b||x||S||_)&&(T=(0,d.Pr)(T+b-(b*r+x*i)+S),O=(0,d.Pr)(O+x-(b*n+x*o)+_)),(l||c)&&(s=w.getBBox(),T=(0,d.Pr)(T+l/100*s.width),O=(0,d.Pr)(O+c/100*s.height)),s="matrix("+r+","+n+","+i+","+o+","+T+","+O+")",w.setAttribute("transform",s),E&&(w.style[Y]=s)},tx=function(t,e,r,n,i){var o,s,a=(0,d.r9)(i),l=parseFloat(i)*(a&&~i.indexOf("rad")?g:1)-n,c=n+l+"deg";return a&&("short"===(o=i.split("_")[1])&&(l%=360)!=l%180&&(l+=l<0?360:-360),"cw"===o&&l<0?l=(l+36e9)%360-360*~~(l/360):"ccw"===o&&l>0&&(l=(l-36e9)%360-360*~~(l/360))),t._pt=s=new d.Fo(t._pt,e,r,n,l,E),s.e=c,s.u="deg",t._props.push(r),s},tS=function(t,e){for(var r in e)t[r]=e[r];return t},t_=function(t,e,r){var n,i,o,s,a,l,c,u=tS({},r._gsap),h=r.style;for(i in u.svg?(o=r.getAttribute("transform"),r.setAttribute("transform",""),h[Y]=e,n=td(r,1),Z(r,Y),r.setAttribute("transform",o)):(o=getComputedStyle(r)[Y],h[Y]=e,n=td(r,1),h[Y]=o),v)(o=u[i])!==(s=n[i])&&0>"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)&&(a=(0,d.Wy)(o)!==(c=(0,d.Wy)(s))?te(r,i,o,c):parseFloat(o),l=parseFloat(s),t._pt=new d.Fo(t._pt,n,i,a,l-a,_),t._pt.u=c||0,t._props.push(i));tS(n,u)};(0,d.fS)("padding,margin,Width,Radius",function(t,e){var r="Right",n="Bottom",i="Left",o=(e<3?["Top",r,n,i]:["Top"+i,"Top"+r,n+r,n+i]).map(function(r){return e<2?t+r:"border"+r+t});ta[e>1?"border"+t:t]=function(t,e,r,n,i){var s,a;if(arguments.length<4)return 5===(a=(s=o.map(function(e){return tr(t,e,r)})).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 tE={name:"css",register:q,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,n,i){var o,s,a,l,u,h,p,f,g,m,y,w,b,E,k,M,C,A=this._props,z=t.style,R=r.vars.startAt;for(p in c||q(),this.styles=this.styles||I(t),M=this.styles.props,this.tween=r,e)if("autoRound"!==p&&(s=e[p],!(d.$i[p]&&(0,d.if)(p,e,r,n,t,i)))){if(u=typeof s,h=ta[p],"function"===u&&(u=typeof(s=s.call(r,n,t,i))),"string"===u&&~s.indexOf("random(")&&(s=(0,d.UI)(s)),h)h(this,t,p,s,r)&&(k=1);else if("--"===p.substr(0,2))o=(getComputedStyle(t).getPropertyValue(p)+"").trim(),s+="",d.GN.lastIndex=0,!d.GN.test(o)&&(f=(0,d.Wy)(o),(g=(0,d.Wy)(s))?f!==g&&(o=te(t,p,o,g)+g):f&&(s+=f)),this.add(z,"setProperty",o,s,n,i,0,0,p),A.push(p),M.push(p,0,z[p]);else if("undefined"!==u){if(R&&p in R?(o="function"==typeof R[p]?R[p].call(r,n,t,i):R[p],(0,d.r9)(o)&&~o.indexOf("random(")&&(o=(0,d.UI)(o)),(0,d.Wy)(o+"")||"auto"===o||(o+=d.Fc.units[p]||(0,d.Wy)(tr(t,p))||""),"="===(o+"").charAt(1)&&(o=tr(t,p))):o=tr(t,p),l=parseFloat(o),(m="string"===u&&"="===s.charAt(1)&&s.substr(0,2))&&(s=s.substr(2)),a=parseFloat(s),p in S&&("autoAlpha"===p&&(1===l&&"hidden"===tr(t,"visibility")&&a&&(l=0),M.push("visibility",0,z.visibility),J(this,z,"visibility",l?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==p&&"transform"!==p&&~(p=S[p]).indexOf(",")&&(p=p.split(",")[0])),y=p in v){if(this.styles.save(p),C=s,"string"===u&&"var(--"===s.substring(0,6)){if("calc("===(s=X(t,s.substring(4,s.indexOf(")")))).substring(0,5)){var N=t.style.perspective;t.style.perspective=s,s=X(t,"perspective"),N?t.style.perspective=N:Z(t,"perspective")}a=parseFloat(s)}if(w||((b=t._gsap).renderTransform&&!e.parseTransform||td(t,e.parseTransform),E=!1!==e.smoothOrigin&&b.smooth,(w=this._pt=new d.Fo(this._pt,z,Y,0,1,b.renderTransform,b,0,-1)).dep=1),"scale"===p)this._pt=new d.Fo(this._pt,b,"scaleY",b.scaleY,(m?(0,d.cy)(b.scaleY,m+a):a)-b.scaleY||0,_),this._pt.u=0,A.push("scaleY",p),p+="X";else if("transformOrigin"===p){M.push(F,0,z[F]),s=to(s),b.svg?tf(t,s,0,E,0,this):((g=parseFloat(s.split(" ")[2])||0)!==b.zOrigin&&J(this,b,"zOrigin",b.zOrigin,g),J(this,z,p,tv(o),tv(s)));continue}else if("svgOrigin"===p){tf(t,s,1,E,0,this);continue}else if(p in tc){tx(this,b,p,l,m?(0,d.cy)(l,m+s):s);continue}else if("smoothOrigin"===p){J(this,b,"smooth",b.smooth,s);continue}else if("force3D"===p){b[p]=s;continue}else if("transform"===p){t_(this,s,t);continue}}else p in z||(p=j(p)||p);if(y||(a||0===a)&&(l||0===l)&&!x.test(s)&&p in z)f=(o+"").substr((l+"").length),a||(a=0),g=(0,d.Wy)(s)||(p in d.Fc.units?d.Fc.units[p]:f),f!==g&&(l=te(t,p,o,g)),this._pt=new d.Fo(this._pt,y?b:z,p,l,(m?(0,d.cy)(l,m+a):a)-l,y||"px"!==g&&"zIndex"!==p||!1===e.autoRound?_:P),this._pt.u=g||0,y&&C!==s?(this._pt.b=o,this._pt.e=C,this._pt.r=O):f!==g&&"%"!==g&&(this._pt.b=o,this._pt.r=T);else if(p in z)tn.call(this,t,p,o,m?m+s:s);else if(p in t)this.add(t,p,o||t[p],m?m+s:s,n,i);else if("parseTransform"!==p){(0,d.lC)(p,s);continue}y||(p in z?M.push(p,0,z[p]):"function"==typeof t[p]?M.push(p,2,t[p]()):M.push(p,1,o||t[p])),A.push(p)}}k&&(0,d.JV)(this)},render:function(t,e){if(e.tween._time||!p())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:tr,aliases:S,getSetter:function(t,e,r){var n=S[e];return n&&0>n.indexOf(",")&&(e=n),e in v&&e!==F&&(t._gsap.x||tr(t,"x"))?r&&h===r?"scale"===e?R:z:(h=r||{},"scale"===e?N:L):t.style&&!(0,d.m2)(t.style[e])?C:~e.indexOf("-")?A:(0,d.S5)(t,e)},core:{_removeProperty:Z,_getMatrix:tp}};d.p8.utils.checkPrefix=j,d.p8.core.getStyleSaver=I,n="x,y,z,scale,scaleX,scaleY,xPercent,yPercent",i="rotation,rotationX,rotationY,skewX,skewY",o="0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",s=(0,d.fS)(n+","+i+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){v[t]=1}),(0,d.fS)(i,function(t){d.Fc.units[t]="deg",tc[t]=1}),S[s[13]]=n+","+i,(0,d.fS)(o,function(t){var e=t.split(":");S[e[1]]=s[e[0]]}),(0,d.fS)("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){d.Fc.units[t]="px"}),d.p8.registerPlugin(tE);var tT=d.p8.registerPlugin(tE)||d.p8;tT.core.Tween},357:function(t,e,r){"use strict";var n,i;t.exports=(null==(n=r.g.process)?void 0:n.env)&&"object"==typeof(null==(i=r.g.process)?void 0:i.env)?r.g.process:r(8081)},8081:function(t){!function(){var e={229:function(t){var e,r,n,i=t.exports={};function o(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function a(t){if(e===setTimeout)return setTimeout(t,0);if((e===o||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(r){try{return e.call(null,t,0)}catch(r){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:o}catch(t){e=o}try{r="function"==typeof clearTimeout?clearTimeout:s}
15catch(t){r=s}}();var l=[],c=!1,u=-1;function h(){c&&n&&(c=!1,n.length?l=n.concat(l):u=-1,l.length&&p())}function p(){if(!c){var t=a(h);c=!0;for(var e=l.length;e;){for(n=l,l=[];++u<e;)n&&n[u].run();u=-1,e=l.length}n=null,c=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function f(t,e){this.fun=t,this.array=e}function d(){}i.nextTick=function(t){var e=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];l.push(new f(t,e)),1!==l.length||c||a(p)},f.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=d,i.addListener=d,i.once=d,i.off=d,i.removeListener=d,i.removeAllListeners=d,i.emit=d,i.prependListener=d,i.prependOnceListener=d,i.listeners=function(t){return[]},i.binding=function(t){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},r={};function n(t){var i=r[t];if(void 0!==i)return i.exports;var o=r[t]={exports:{}},s=!0;try{e[t](o,o.exports,n),s=!1}finally{s&&delete r[t]}return o.exports}n.ab="//";var i=n(229);t.exports=i}()},3782:function(t,e,r){"use strict";r.d(e,{zf:function(){return a}});var n,i=r(2477),o=r(2265),s=(0,o.createContext)({get client(){return n},bootstrap:void 0});function a(t){var e,r,i=t.children,a=t.client,l=t.apiKey,c=t.options,u=(0,o.useRef)(null),h=(0,o.useMemo)(function(){if(a)return l&&console.warn("[PostHog.js] You have provided both `client` and `apiKey` to `PostHogProvider`. `apiKey` will be ignored in favour of `client`."),c&&console.warn("[PostHog.js] You have provided both `client` and `options` to `PostHogProvider`. `options` will be ignored in favour of `client`."),a;var t=n;return l||console.warn("[PostHog.js] No `apiKey` or `client` were provided to `PostHogProvider`. Using default global `window.posthog` instance. You must initialize it manually. This is not recommended behavior."),t},[a,l,JSON.stringify(c)]);return(0,o.useEffect)(function(){if(!a&&l){var t=n,e=u.current;e?(l!==e.apiKey&&console.warn("[PostHog.js] You have provided a different `apiKey` to `PostHogProvider` than the one that was already initialized. This is not supported by our provider and we'll keep using the previous key. If you need to toggle between API Keys you need to control the `client` yourself and pass it in as a prop rather than an `apiKey` prop."),c&&!function t(e,r,n){if(void 0===n&&(n=new WeakMap),e===r)return!0;if("object"!=typeof e||null===e||"object"!=typeof r||null===r)return!1;if(n.has(e)&&n.get(e)===r)return!0;n.set(e,r);var i=Object.keys(e),o=Object.keys(r);if(i.length!==o.length)return!1;for(var s=0;s<i.length;s++){var a=i[s];if(!o.includes(a)||!t(e[a],r[a],n))return!1}return!0}(c,e.options)&&t.set_config(c)):(t.__loaded&&console.warn("[PostHog.js] `posthog` was already loaded elsewhere. This may cause issues."),t.init(l,c)),u.current={apiKey:l,options:null!=c?c:{}}}},[a,l,JSON.stringify(c)]),o.createElement(s.Provider,{value:{client:h,bootstrap:null!==(e=null==c?void 0:c.bootstrap)&&void 0!==e?e:null===(r=null==a?void 0:a.config)||void 0===r?void 0:r.bootstrap}},i)}var l=function(t){return"function"==typeof t},c=function(t,e){return(c=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)};"function"==typeof SuppressedError&&SuppressedError;var u={componentStack:null,exceptionEvent:null,error:null};!function(t){function e(e){var r=t.call(this,e)||this;return r.state=u,r}(function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}c(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)})(e,t),e.prototype.componentDidCatch=function(t,e){var r,n=this.props.additionalProperties;l(n)?r=n(t):"object"==typeof n&&(r=n);var i=this.context.client.captureException(t,r),o=e.componentStack;this.setState({error:t,componentStack:null!=o?o:null,exceptionEvent:i})},e.prototype.render=function(){var t=this.props,e=t.children,r=t.fallback,n=this.state;if(null==n.componentStack)return l(e)?e():e;var i=l(r)?o.createElement(r,{error:n.error,componentStack:n.componentStack,exceptionEvent:n.exceptionEvent}):r;return o.isValidElement(i)?i:(console.warn("[PostHog.js][PostHogErrorBoundary] Invalid fallback prop, provide a valid React element or a function that returns a valid React element."),o.createElement(o.Fragment,null))},e.contextType=s}(o.Component),n=i.ZP},6770:function(t,e,r){"use strict";r.d(e,{Analytics:function(){return v}});var n=r(2265),i=r(1169),o=r(357),s=()=>{window.va||(window.va=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];window.vaq||(window.vaq=[]),window.vaq.push(e)})};function a(){return"undefined"!=typeof window}function l(){return"production"}function c(){return"development"===((a()?window.vam:l())||"production")}function u(t){return new RegExp("/".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"(?=[/?#]|$)"))}function h(t){return t.startsWith("http://")||t.startsWith("https://")||t.startsWith("/")?t:"/".concat(t)}function p(t){return(0,n.useEffect)(()=>{var e;t.beforeSend&&(null==(e=window.va)||e.call(window,"beforeSend",t.beforeSend))},[t.beforeSend]),(0,n.useEffect)(()=>{var e,r;!function(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{debug:!0},r=arguments.length>1?arguments[1]:void 0;if(!a())return;let{beforeSend:n,src:i,dataset:o}=function(t,e){var r,n;let i=t;if(e)try{i={...null==(r=JSON.parse(e))?void 0:r.analytics,...t}}catch(t){}!function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"auto";if("auto"===t){window.vam=l();return}window.vam=t}(i.mode);
15let o={sdkn:"@vercel/analytics"+(i.framework?"/".concat(i.framework):""),sdkv:"2.0.1"};return i.disableAutoTrack&&(o.disableAutoTrack="1"),i.viewEndpoint&&(o.viewEndpoint=h(i.viewEndpoint)),i.eventEndpoint&&(o.eventEndpoint=h(i.eventEndpoint)),i.sessionEndpoint&&(o.sessionEndpoint=h(i.sessionEndpoint)),c()&&!1===i.debug&&(o.debug="false"),i.dsn&&(o.dsn=i.dsn),i.endpoint?o.endpoint=i.endpoint:i.basePath&&(o.endpoint=h("".concat(i.basePath,"/insights"))),{beforeSend:i.beforeSend,src:(n=i).scriptSrc?h(n.scriptSrc):c()?"https://va.vercel-scripts.com/v1/script.debug.js":n.basePath?h("".concat(n.basePath,"/insights/script.js")):"/_vercel/insights/script.js",dataset:o}}(e,r);if(s(),n&&(null==(t=window.va)||t.call(window,"beforeSend",n)),document.head.querySelector('script[src*="'.concat(i,'"]')))return;let u=document.createElement("script");for(let[t,e]of(u.src=i,Object.entries(o)))u.dataset[t]=e;u.defer=!0,u.onerror=()=>{let t=c()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log("[Vercel Web Analytics] Failed to load script from ".concat(i,". ").concat(t))},document.head.appendChild(u)}({framework:t.framework||"react",basePath:null!==(e=t.basePath)&&void 0!==e?e:function(){if(void 0!==o&&void 0!==o.env)return o.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...void 0!==t.route&&{disableAutoTrack:!0},...t},null!==(r=t.configString)&&void 0!==r?r:function(){if(void 0!==o&&void 0!==o.env)return o.env.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}())},[]),(0,n.useEffect)(()=>{t.route&&t.path&&function(t){var e;let{route:r,path:n}=t;null==(e=window.va)||e.call(window,"pageview",{route:r,path:n})}({route:t.route,path:t.path})},[t.route,t.path]),null}var f=()=>{let t=(0,i.useParams)(),e=(0,i.useSearchParams)(),r=(0,i.usePathname)();return t?{route:function(t,e){if(!t||!e)return t;let r=t;try{let t=Object.entries(e);for(let[e,n]of t)if(!Array.isArray(n)){let t=u(n);t.test(r)&&(r=r.replace(t,"/[".concat(e,"]")))}for(let[e,n]of t)if(Array.isArray(n)){let t=u(n.join("/"));t.test(r)&&(r=r.replace(t,"/[...".concat(e,"]")))}return r}catch(e){return t}}(r,Object.keys(t).length?t:Object.fromEntries(e.entries())),path:r}:{route:null,path:r}};function d(t){let{route:e,path:r}=f();return n.createElement(p,{path:r,route:e,...t,basePath:function(){if(void 0!==o&&void 0!==o.env)return o.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}
15(),configString:function(){if(void 0!==o&&void 0!==o.env)return'{"analytics":{"scriptSrc":"d8a32ce31aa10127/script.js","viewEndpoint":"d8a32ce31aa10127/view","eventEndpoint":"d8a32ce31aa10127/event","sessionEndpoint":"d8a32ce31aa10127/session"},"speedInsights":{"scriptSrc":"6505292422cabb95/script.js","endpoint":"6505292422cabb95/vitals"}}'}(),framework:"next"})}function v(t){return n.createElement(n.Suspense,{fallback:null},n.createElement(d,{...t}))}},4108:function(t,e,r){"use strict";r.d(e,{Z:function(){return f}});var n="1.3.23";function i(t,e,r){return Math.max(t,Math.min(e,r))}var o=class{isRunning=!1;value=0;from=0;to=0;currentTime=0;lerp;duration;easing;onUpdate;advance(t){if(!this.isRunning)return;let e=!1;if(this.duration&&this.easing){this.currentTime+=t;let r=i(0,this.currentTime/this.duration,1),n=(e=r>=1)?1:this.easing(r);this.value=this.from+(this.to-this.from)*n}else if(this.lerp){var r,n,o;this.value=(r=this.value,n=this.to,(1-(o=1-Math.exp(-(60*this.lerp)*t)))*r+o*n),Math.round(this.value)===Math.round(this.to)&&(this.value=this.to,e=!0)}else this.value=this.to,e=!0;e&&this.stop(),this.onUpdate?.(this.value,e)}stop(){this.isRunning=!1}fromTo(t,e,{lerp:r,duration:n,easing:i,onStart:o,onUpdate:s}){this.from=this.value=t,this.to=e,this.lerp=r,this.duration=n,this.easing=i,this.currentTime=0,this.isRunning=!0,o?.(),this.onUpdate=s}},s=class{width=0;height=0;scrollHeight=0;scrollWidth=0;debouncedResize;wrapperResizeObserver;contentResizeObserver;constructor(t,e,{autoResize:r=!0,debounce:n=250}={}){if(this.wrapper=t,this.content=e,r){var i;let t;this.debouncedResize=(i=this.resize,function(...e){clearTimeout(t),t=setTimeout(()=>{t=void 0,i.apply(this,e)},n)}),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)}this.resize()}destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize)}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}}},a=class{events={};emit(t,...e){let r=this.events[t]||[];for(let t=0,n=r.length;t<n;t++)r[t]?.(...e)}on(t,e){return this.events[t]?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={}}};let l=100/6,c={passive:!1};function u(t,e){return 1===t?l:2===t?e:1}var h=class{touchStart={x:0,y:0};lastDelta={x:0,y:0};window={width:0,height:0};emitter=new a;constructor(t,e={wheelMultiplier:1,touchMultiplier:1}){this.element=t,this.options=e,window.addEventListener("resize",this.onWindowResize),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,c),this.element.addEventListener("touchstart",this.onTouchStart,c),this.element.addEventListener("touchmove",this.onTouchMove,c),this.element.addEventListener("touchend",this.onTouchEnd,c)}on(t,e){return this.emitter.on(t,e)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize),this.element.removeEventListener("wheel",this.onWheel,c),this.element.removeEventListener("touchstart",this.onTouchStart,c),this.element.removeEventListener("touchmove",this.onTouchMove,c),this.element.removeEventListener("touchend",this.onTouchEnd,c)}onTouchStart=t=>{let{clientX:e,clientY:r}=t.targetTouches?t.targetTouches[0]:t;this.touchStart.x=e,this.touchStart.y=r,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:t})};onTouchMove=t=>{let{clientX:e,clientY:r}=t.targetTouches?t.targetTouches[0]:t,n=-(e-this.touchStart.x)*this.options.touchMultiplier,i=-(r-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=e,this.touchStart.y=r,this.lastDelta={x:n,y:i},this.emitter.emit("scroll",{deltaX:n,deltaY:i,event:t})};onTouchEnd=t=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:t})};onWheel=t=>{let{deltaX:e,deltaY:r,deltaMode:n}=t,i=u(n,this.window.width),o=u(n,this.window.height);e*=i,r*=o,e*=this.options.wheelMultiplier,r*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:e,deltaY:r,event:t})};onWindowResize=()=>{this.window={width:window.innerWidth,height:window.innerHeight}}};let p=t=>Math.min(1,1.001-2**(-10*t));var f=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 o;emitter=new a;dimensions;virtualScroll;constructor({wrapper:t=window,content:e=document.documentElement,eventsTarget:r=t,smoothWheel:i=!0,syncTouch:o=!1,syncTouchLerp:a=.075,touchInertiaExponent:l=1.7,duration:c,easing:u,lerp:f=.1,infinite:d=!1,orientation:v="vertical",gestureOrientation:g="horizontal"===v?"both":"vertical",touchMultiplier:m=1,wheelMultiplier:y=1,autoResize:w=!0,prevent:b,virtualScroll:x,overscroll:S=!0,autoRaf:_=!1,anchors:E=!1,autoToggle:T=!1,allowNestedScroll:O=!1,__experimental__naiveDimensions:P=!1,naiveDimensions:k=P,stopInertiaOnNavigate:M=!1}={}){window.lenisVersion=n,window.lenis||(window.lenis={}),window.lenis.version=n,"horizontal"===v&&(window.lenis.horizontal=!0),!0===o&&(window.lenis.touch=!0),t&&t!==document.documentElement||(t=window),"number"==typeof c&&"function"!=typeof u?u=p:"function"==typeof u&&"number"!=typeof c&&(c=1),this.options={wrapper:t,content:e,eventsTarget:r,smoothWheel:i,syncTouch:o,syncTouchLerp:a,touchInertiaExponent:l,duration:c,easing:u,lerp:f,infinite:d,gestureOrientation:g,orientation:v,touchMultiplier:m,wheelMultiplier:y,autoResize:w,prevent:b,virtualScroll:x,overscroll:S,autoRaf:_,anchors:E,autoToggle:T,allowNestedScroll:O,naiveDimensions:k,stopInertiaOnNavigate:M},this.dimensions=new s(t,e,{autoResize:w}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.addEventListener("click",this.onClick),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown),this.virtualScroll=ne
15w h(r,{touchMultiplier:m,wheelMultiplier:y}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle&&(this.checkOverflow(),this.rootElement.addEventListener("transitionend",this.onTransitionEnd)),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.removeEventListener("click",this.onClick),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}}))};get overflow(){let t=this.isHorizontal?"overflow-x":"overflow-y";return getComputedStyle(this.rootElement)[t]}checkOverflow(){["hidden","clip"].includes(this.overflow)?this.internalStop():this.internalStart()}onTransitionEnd=t=>{t.propertyName?.includes("overflow")&&t.target===this.rootElement&&this.checkOverflow()};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().filter(t=>t instanceof HTMLAnchorElement&&t.href).map(t=>new URL(t.href)),r=new URL(window.location.href);if(this.options.anchors){let t=e.find(t=>r.host===t.host&&r.pathname===t.pathname&&t.hash);if(t){let e="object"==typeof this.options.anchors&&this.options.anchors?this.options.anchors:void 0,r=`#${t.hash.split("#")[1]}`;this.scrollTo(r,e);return}}if(this.options.stopInertiaOnNavigate&&e.some(t=>r.host===t.host&&r.pathname!==t.pathname)){this.reset();return}};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:r,event:n}=t;if(this.emitter.emit("virtual-scroll",{deltaX:e,deltaY:r,event:n}),n.ctrlKey||n.lenisStopPropagation)return;let i=n.type.includes("touch"),o=n.type.includes("wheel");this.isTouching="touchstart"===n.type||"touchmove"===n.type;let s=0===e&&0===r;if(this.options.syncTouch&&i&&"touchstart"===n.type&&s&&!this.isStopped&&!this.isLocked){this.reset();return}let a="vertical"===this.options.gestureOrientation&&0===r||"horizontal"===this.options.gestureOrientation&&0===e;if(s||a)return;let l=n.composedPath();l=l.slice(0,l.indexOf(this.rootElement));let c=this.options.prevent,u=Math.abs(e)>=Math.abs(r)?"horizontal":"vertical";if(l.find(t=>t instanceof HTMLElement&&("function"==typeof c&&c?.(t)||t.hasAttribute?.("data-lenis-prevent")||"vertical"===u&&t.hasAttribute?.("data-lenis-prevent-vertical")||"horizontal"===u&&t.hasAttribute?.("data-lenis-prevent-horizontal")||i&&t.hasAttribute?.("data-lenis-prevent-touch")||o&&t.hasAttribute?.("data-lenis-prevent-wheel")||this.options.allowNestedScroll&&this.hasNestedScroll(t,{deltaX:e,deltaY:r}))))return;if(this.isStopped||this.isLocked){n.cancelable&&n.preventDefault();return}if(!(this.options.syncTouch&&i||this.options.smoothWheel&&o)){this.isScrolling="native",this.animate.stop(),n.lenisStopPropagation=!0;return}let h=r;"both"===this.options.gestureOrientation?h=Math.abs(r)>Math.abs(e)?r:e:"horizontal"===this.options.gestureOrientation&&(h=e),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll<this.limit||0===this.animatedScroll&&r>0||this.animatedScroll===this.limit&&r<0))&&(n.lenisStopPropagation=!0),n.cancelable&&n.preventDefault();let p=i&&this.options.syncTouch,f=i&&"touchend"===n.type;f&&(h=Math.sign(h)*Math.abs(this.velocity)**this.options.touchInertiaExponent),this.scrollTo(this.targetScroll+h,{programmatic:!1,...p?{lerp:f?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
15()}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(),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){this.rootElement.style.removeProperty("overflow");return}this.internalStart()}}internalStart(){this.isStopped&&(this.reset(),this.isStopped=!1,this.emit())}stop(){if(!this.isStopped){if(this.options.autoToggle){this.rootElement.style.setProperty("overflow","clip");return}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:e=0,immediate:r=!1,lock:n=!1,programmatic:o=!0,lerp:s=o?this.options.lerp:void 0,duration:a=o?this.options.duration:void 0,easing:l=o?this.options.easing:void 0,onStart:c,onComplete:u,force:h=!1,userData:f}={}){if((this.isStopped||this.isLocked)&&!h)return;let d=t,v=e;if("string"==typeof d&&["top","left","start","#"].includes(d))d=0;else if("string"==typeof d&&["bottom","right","end"].includes(d))d=this.limit;else{let t=null;if("string"==typeof d?(t=document.querySelector(d))||("#top"===d?d=0:console.warn("Lenis: Target not found",d)):d instanceof HTMLElement&&d?.nodeType&&(t=d),t){if(this.options.wrapper!==window){let t=this.rootElement.getBoundingClientRect();v-=this.isHorizontal?t.left:t.top}let e=t.getBoundingClientRect(),r=getComputedStyle(t),n=this.isHorizontal?Number.parseFloat(r.scrollMarginLeft):Number.parseFloat(r.scrollMarginTop),i=getComputedStyle(this.rootElement),o=this.isHorizontal?Number.parseFloat(i.scrollPaddingLeft):Number.parseFloat(i.scrollPaddingTop);d=(this.isHorizontal?e.left:e.top)+this.animatedScroll-(Number.isNaN(n)?0:n)-(Number.isNaN(o)?0:o)}}if("number"==typeof d){if(d+=v,this.options.infinite){if(o){this.targetScroll=this.animatedScroll=this.scroll;let t=d-this.animatedScroll;t>this.limit/2?d-=this.limit:t<-this.limit/2&&(d+=this.limit)}}else d=i(0,d,this.limit);if(d===this.targetScroll){c?.(this),u?.(this);return}if(this.userData=f??{},r){this.animatedScroll=this.targetScroll=d,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),u?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}o||(this.targetScroll=d),"number"==typeof a&&"function"!=typeof l?l=p:"function"==typeof l&&"number"!=typeof a&&(a=1),this.animate.fromTo(this.animatedScroll,d,{duration:a,easing:l,lerp:s,onStart:()=>{n&&(this.isLocked=!0),this.isScrolling="smooth",c?.(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),o&&(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})}hasNestedScroll(t,{deltaX:e,deltaY:r}){let n,i,o,s,a,l,c,u,h,p,f,d,v,g,m,y;let w=Date.now();t._lenis||(t._lenis={});let b=t._lenis;if(w-(b.time??0)>2e3){b.time=Date.now();let e=window.getComputedStyle(t);if(b.computedStyle=e,n=["auto","overlay","scroll"].includes(e.overflowX),i=["auto","overlay","scroll"].includes(e.overflowY),a=["auto"].includes(e.overscrollBehaviorX),l=["auto"].includes(e.overscrollBehaviorY),b.hasOverflowX=n,b.hasOverflowY=i,!(n||i))return!1;c=t.scrollWidth,u=t.scrollHeight,h=t.clientWidth,p=t.clientHeight,o=c>h,s=u>p,b.isScrollableX=o,b.isScrollableY=s,b.scrollWidth=c,b.scrollHeight=u,b.clientWidth=h,b.clientHeight=p,b.hasOverscrollBehaviorX=a,b.hasOverscrollBehaviorY=l}else o=b.isScrollableX,s=b.isScrollableY,n=b.hasOverflowX,i=b.hasOverflowY,c=b.scrollWidth,u=b.scrollHeight,h=b.clientWidth,p=b.clientHeight,a=b.hasOverscrollBehaviorX,l=b.hasOverscrollBehaviorY;if(!(n&&o||i&&s))return!1;let x=Math.abs(e)>=Math.abs(r)?"horizontal":"vertical";if("horizontal"===x)f=Math.round(t.scrollLeft),d=c-h,v=e,g=n,m=o,y=a;else{if("vertical"!==x)return!1;f=Math.round(t.scrollTop),d=u-p,v=r,g=i,m=s,y=l}return!y&&(f>=d||f<=0)||(v>0?f<d:f>0)&&g&&m}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.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.className.split(" ").forEach(t=>{this.rootElement.classList.add(t)})}cleanUpClassName(){for(let t of Array.from(this.rootElement.classList))("lenis"===t||t.startsWith("lenis-"))&&this.rootElement.classList.remove(t)}}}}]);
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.