-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathservices.bundle.js
2 lines (2 loc) · 71.1 KB
/
services.bundle.js
1
2
/*! For license information please see services.bundle.js.LICENSE.txt */
(()=>{var e={"./node_modules/gsap/Observer.js":(e,t,i)=>{"use strict";function n(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}i.r(t),i.d(t,{Observer:()=>X,_getProxyProp:()=>k,_getScrollFunc:()=>N,_getTarget:()=>D,_getVelocityProp:()=>R,_horizontal:()=>A,_isViewport:()=>T,_proxies:()=>S,_scrollers:()=>w,_vertical:()=>z,default:()=>X});var r,o,s,a,l,c,u,h,d,p,f,g,v,m=function(){return r||"undefined"!=typeof window&&(r=window.gsap)&&r.registerPlugin&&r},y=1,b=[],w=[],S=[],_=Date.now,x=function(e,t){return t},k=function(e,t){return~S.indexOf(e)&&S[S.indexOf(e)+1][t]},T=function(e){return!!~p.indexOf(e)},E=function(e,t,i,n,r){return e.addEventListener(t,i,{passive:!1!==n,capture:!!r})},M=function(e,t,i,n){return e.removeEventListener(t,i,!!n)},C="scrollLeft",O="scrollTop",L=function(){return f&&f.isPressed||w.cache++},P=function(e,t){var i=function i(n){if(n||0===n){y&&(s.history.scrollRestoration="manual");var r=f&&f.isPressed;n=i.v=Math.round(n)||(f&&f.iOS?1:0),e(n),i.cacheID=w.cache,r&&x("ss",n)}else(t||w.cache!==i.cacheID||x("ref"))&&(i.cacheID=w.cache,i.v=e());return i.v+i.offset};return i.offset=0,e&&i},A={s:C,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:P((function(e){return arguments.length?s.scrollTo(e,z.sc()):s.pageXOffset||a[C]||l[C]||c[C]||0}))},z={s:O,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:A,sc:P((function(e){return arguments.length?s.scrollTo(A.sc(),e):s.pageYOffset||a[O]||l[O]||c[O]||0}))},D=function(e,t){return(t&&t._ctx&&t._ctx.selector||r.utils.toArray)(e)[0]||("string"==typeof e&&!1!==r.config().nullTargetWarn?console.warn("Element not found:",e):null)},N=function(e,t){var i=t.s,n=t.sc;T(e)&&(e=a.scrollingElement||l);var o=w.indexOf(e),s=n===z.sc?1:2;!~o&&(o=w.push(e)-1),w[o+s]||E(e,"scroll",L);var c=w[o+s],u=c||(w[o+s]=P(k(e,i),!0)||(T(e)?n:P((function(t){return arguments.length?e[i]=t:e[i]}))));return u.target=e,c||(u.smooth="smooth"===r.getProperty(e,"scrollBehavior")),u},R=function(e,t,i){var n=e,r=e,o=_(),s=o,a=t||50,l=Math.max(500,3*a),c=function(e,t){var l=_();t||l-o>a?(r=n,n=e,s=o,o=l):i?n+=e:n=r+(e-r)/(l-s)*(o-s)};return{update:c,reset:function(){r=n=i?0:n,s=o=0},getVelocity:function(e){var t=s,a=r,u=_();return(e||0===e)&&e!==n&&c(e),o===s||u-s>l?0:(n+(i?a:-a))/((i?u:o)-t)*1e3}}},I=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Y=function(e){var t=Math.max.apply(Math,e),i=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(i)?t:i},H=function(){var e,t,i,n;(d=r.core.globals().ScrollTrigger)&&d.core&&(e=d.core,t=e.bridge||{},i=e._scrollers,n=e._proxies,i.push.apply(i,w),n.push.apply(n,S),w=i,S=n,x=function(e,i){return t[e](i)})},W=function(e){return r=e||m(),!o&&r&&"undefined"!=typeof document&&document.body&&(s=window,a=document,l=a.documentElement,c=a.body,p=[s,a,l,c],r.utils.clamp,v=r.core.context||function(){},h="onpointerenter"in c?"pointer":"mouse",u=X.isTouch=s.matchMedia&&s.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in s||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,g=X.eventTypes=("ontouchstart"in l?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in l?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout((function(){return y=0}),500),H(),o=1),o};A.op=z,w.cache=0;var X=function(){function e(e){this.init(e)}var t,i,p;return e.prototype.init=function(e){o||W(r)||console.warn("Please gsap.registerPlugin(Observer)"),d||H();var t=e.tolerance,i=e.dragMinimum,n=e.type,p=e.target,m=e.lineHeight,y=e.debounce,w=e.preventDefault,S=e.onStop,x=e.onStopDelay,k=e.ignore,C=e.wheelSpeed,O=e.event,P=e.onDragStart,X=e.onDragEnd,B=e.onDrag,F=e.onPress,V=e.onRelease,q=e.onRight,j=e.onLeft,U=e.onUp,G=e.onDown,K=e.onChangeX,Z=e.onChangeY,$=e.onChange,J=e.onToggleX,Q=e.onToggleY,ee=e.onHover,te=e.onHoverEnd,ie=e.onMove,ne=e.ignoreCheck,re=e.isNormalizer,oe=e.onGestureStart,se=e.onGestureEnd,ae=e.onWheel,le=e.onEnable,ce=e.onDisable,ue=e.onClick,he=e.scrollSpeed,de=e.capture,pe=e.allowClicks,fe=e.lockAxis,ge=e.onLockAxis;this.target=p=D(p)||l,this.vars=e,k&&(k=r.utils.toArray(k)),t=t||1e-9,i=i||0,C=C||1,he=he||1,n=n||"wheel,touch,pointer",y=!1!==y,m||(m=parseFloat(s.getComputedStyle(c).lineHeight)||22);var ve,me,ye,be,we,Se,_e,xe=this,ke=0,Te=0,Ee=e.passive||!w,Me=N(p,A),Ce=N(p,z),Oe=Me(),Le=Ce(),Pe=~n.indexOf("touch")&&!~n.indexOf("pointer")&&"pointerdown"===g[0],Ae=T(p),ze=p.ownerDocument||a,De=[0,0,0],Ne=[0,0,0],Re=0,Ie=function(){return Re=_()},Ye=function(e,t){return(xe.event=e)&&k&&~k.indexOf(e.target)||t&&Pe&&"touch"!==e.pointerType||ne&&ne(e,t)},He=function(){var e=xe.deltaX=Y(De),i=xe.deltaY=Y(Ne),n=Math.abs(e)>=t,r=Math.abs(i)>=t;$&&(n||r)&&$(xe,e,i,De,Ne),n&&(q&&xe.deltaX>0&&q(xe),j&&xe.deltaX<0&&j(xe),K&&K(xe),J&&xe.deltaX<0!=ke<0&&J(xe),ke=xe.deltaX,De[0]=De[1]=De[2]=0),r&&(G&&xe.deltaY>0&&G(xe),U&&xe.deltaY<0&&U(xe),Z&&Z(xe),Q&&xe.deltaY<0!=Te<0&&Q(xe),Te=xe.deltaY,Ne[0]=Ne[1]=Ne[2]=0),(be||ye)&&(ie&&ie(xe),ye&&(B(xe),ye=!1),be=!1),Se&&!(Se=!1)&&ge&&ge(xe),we&&(ae(xe),we=!1),ve=0},We=function(e,t,i){De[i]+=e,Ne[i]+=t,xe._vx.update(e),xe._vy.update(t),y?ve||(ve=requestAnimationFrame(He)):He()},Xe=function(e,t){fe&&!_e&&(xe.axis=_e=Math.abs(e)>Math.abs(t)?"x":"y",Se=!0),"y"!==_e&&(De[2]+=e,xe._vx.update(e,!0)),"x"!==_e&&(Ne[2]+=t,xe._vy.update(t,!0)),y?ve||(ve=requestAnimationFrame(He)):He()},Be=function(e){if(!Ye(e,1)){var t=(e=I(e,w)).clientX,n=e.clientY,r=t-xe.x,o=n-xe.y,s=xe.isDragging;xe.x=t,xe.y=n,(s||Math.abs(xe.startX-t)>=i||Math.abs(xe.startY-n)>=i)&&(B&&(ye=!0),s||(xe.isDragging=!0),Xe(r,o),s||P&&P(xe))}},Fe=xe.onPress=function(e){Ye(e,1)||e&&e.button||(xe.axis=_e=null,me.pause(),xe.isPressed=!0,e=I(e),ke=Te=0,xe.startX=xe.x=e.clientX,xe.startY=xe.y=e.clientY,xe._vx.reset(),xe._vy.reset(),E(re?p:ze,g[1],Be,Ee,!0),xe.deltaX=xe.deltaY=0,F&&F(xe))},Ve=xe.onRelease=function(e){if(!Ye(e,1)){M(re?p:ze,g[1],Be,!0);var t=!isNaN(xe.y-xe.startY),i=xe.isDragging,n=i&&(Math.abs(xe.x-xe.startX)>3||Math.abs(xe.y-xe.startY)>3),o=I(e);!n&&t&&(xe._vx.reset(),xe._vy.reset(),w&&pe&&r.delayedCall(.08,(function(){if(_()-Re>300&&!e.defaultPrevented)if(e.target.click)e.target.click();else if(ze.createEvent){var t=ze.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,s,1,o.screenX,o.screenY,o.clientX,o.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(t)}}))),xe.isDragging=xe.isGesturing=xe.isPressed=!1,S&&i&&!re&&me.restart(!0),X&&i&&X(xe),V&&V(xe,n)}},qe=function(e){return e.touches&&e.touches.length>1&&(xe.isGesturing=!0)&&oe(e,xe.isDragging)},je=function(){return(xe.isGesturing=!1)||se(xe)},Ue=function(e){if(!Ye(e)){var t=Me(),i=Ce();We((t-Oe)*he,(i-Le)*he,1),Oe=t,Le=i,S&&me.restart(!0)}},Ge=function(e){if(!Ye(e)){e=I(e,w),ae&&(we=!0);var t=(1===e.deltaMode?m:2===e.deltaMode?s.innerHeight:1)*C;We(e.deltaX*t,e.deltaY*t,0),S&&!re&&me.restart(!0)}},Ke=function(e){if(!Ye(e)){var t=e.clientX,i=e.clientY,n=t-xe.x,r=i-xe.y;xe.x=t,xe.y=i,be=!0,S&&me.restart(!0),(n||r)&&Xe(n,r)}},Ze=function(e){xe.event=e,ee(xe)},$e=function(e){xe.event=e,te(xe)},Je=function(e){return Ye(e)||I(e,w)&&ue(xe)};me=xe._dc=r.delayedCall(x||.25,(function(){xe._vx.reset(),xe._vy.reset(),me.pause(),S&&S(xe)})).pause(),xe.deltaX=xe.deltaY=0,xe._vx=R(0,50,!0),xe._vy=R(0,50,!0),xe.scrollX=Me,xe.scrollY=Ce,xe.isDragging=xe.isGesturing=xe.isPressed=!1,v(this),xe.enable=function(e){return xe.isEnabled||(E(Ae?ze:p,"scroll",L),n.indexOf("scroll")>=0&&E(Ae?ze:p,"scroll",Ue,Ee,de),n.indexOf("wheel")>=0&&E(p,"wheel",Ge,Ee,de),(n.indexOf("touch")>=0&&u||n.indexOf("pointer")>=0)&&(E(p,g[0],Fe,Ee,de),E(ze,g[2],Ve),E(ze,g[3],Ve),pe&&E(p,"click",Ie,!0,!0),ue&&E(p,"click",Je),oe&&E(ze,"gesturestart",qe),se&&E(ze,"gestureend",je),ee&&E(p,h+"enter",Ze),te&&E(p,h+"leave",$e),ie&&E(p,h+"move",Ke)),xe.isEnabled=!0,e&&e.type&&Fe(e),le&&le(xe)),xe},xe.disable=function(){xe.isEnabled&&(b.filter((function(e){return e!==xe&&T(e.target)})).length||M(Ae?ze:p,"scroll",L),xe.isPressed&&(xe._vx.reset(),xe._vy.reset(),M(re?p:ze,g[1],Be,!0)),M(Ae?ze:p,"scroll",Ue,de),M(p,"wheel",Ge,de),M(p,g[0],Fe,de),M(ze,g[2],Ve),M(ze,g[3],Ve),M(p,"click",Ie,!0),M(p,"click",Je),M(ze,"gesturestart",qe),M(ze,"gestureend",je),M(p,h+"enter",Ze),M(p,h+"leave",$e),M(p,h+"move",Ke),xe.isEnabled=xe.isPressed=xe.isDragging=!1,ce&&ce(xe))},xe.kill=xe.revert=function(){xe.disable();var e=b.indexOf(xe);e>=0&&b.splice(e,1),f===xe&&(f=0)},b.push(xe),re&&T(p)&&(f=xe),xe.enable(O)},t=e,(i=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&n(t.prototype,i),p&&n(t,p),e}();X.version="3.12.5",X.create=function(e){return new X(e)},X.register=W,X.getAll=function(){return b.slice()},X.getById=function(e){return b.filter((function(t){return t.vars.id===e}))[0]},m()&&r.registerPlugin(X)},"./node_modules/gsap/ScrollTrigger.js":(e,t,i)=>{"use strict";i.r(t),i.d(t,{ScrollTrigger:()=>kt,default:()=>kt});var n,r,o,s,a,l,c,u,h,d,p,f,g,v,m,y,b,w,S,_,x,k,T,E,M,C,O,L,P,A,z,D,N,R,I,Y,H,W,X=i("./node_modules/gsap/Observer.js"),B=1,F=Date.now,V=F(),q=0,j=0,U=function(e,t,i){var n=ae(e)&&("clamp("===e.substr(0,6)||e.indexOf("max")>-1);return i["_"+t+"Clamp"]=n,n?e.substr(6,e.length-7):e},G=function(e,t){return!t||ae(e)&&"clamp("===e.substr(0,6)?e:"clamp("+e+")"},K=function e(){return j&&requestAnimationFrame(e)},Z=function(){return v=1},$=function(){return v=0},J=function(e){return e},Q=function(e){return Math.round(1e5*e)/1e5||0},ee=function(){return"undefined"!=typeof window},te=function(){return n||ee()&&(n=window.gsap)&&n.registerPlugin&&n},ie=function(e){return!!~c.indexOf(e)},ne=function(e){return("Height"===e?z:o["inner"+e])||a["client"+e]||l["client"+e]},re=function(e){return(0,X._getProxyProp)(e,"getBoundingClientRect")||(ie(e)?function(){return mt.width=o.innerWidth,mt.height=z,mt}:function(){return Le(e)})},oe=function(e,t){var i=t.s,n=t.d2,r=t.d,o=t.a;return Math.max(0,(i="scroll"+n)&&(o=(0,X._getProxyProp)(e,i))?o()-re(e)()[r]:ie(e)?(a[i]||l[i])-ne(n):e[i]-e["offset"+n])},se=function(e,t){for(var i=0;i<S.length;i+=3)(!t||~t.indexOf(S[i+1]))&&e(S[i],S[i+1],S[i+2])},ae=function(e){return"string"==typeof e},le=function(e){return"function"==typeof e},ce=function(e){return"number"==typeof e},ue=function(e){return"object"==typeof e},he=function(e,t,i){return e&&e.progress(t?0:1)&&i&&e.pause()},de=function(e,t){if(e.enabled){var i=e._ctx?e._ctx.add((function(){return t(e)})):t(e);i&&i.totalTime&&(e.callbackAnimation=i)}},pe=Math.abs,fe="left",ge="right",ve="bottom",me="width",ye="height",be="Right",we="Left",Se="Top",_e="Bottom",xe="padding",ke="margin",Te="Width",Ee="Height",Me="px",Ce=function(e){return o.getComputedStyle(e)},Oe=function(e,t){for(var i in t)i in e||(e[i]=t[i]);return e},Le=function(e,t){var i=t&&"matrix(1, 0, 0, 1, 0, 0)"!==Ce(e)[m]&&n.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),r=e.getBoundingClientRect();return i&&i.progress(0).kill(),r},Pe=function(e,t){var i=t.d2;return e["offset"+i]||e["client"+i]||0},Ae=function(e){var t,i=[],n=e.labels,r=e.duration();for(t in n)i.push(n[t]/r);return i},ze=function(e){var t=n.utils.snap(e),i=Array.isArray(e)&&e.slice(0).sort((function(e,t){return e-t}));return i?function(e,n,r){var o;if(void 0===r&&(r=.001),!n)return t(e);if(n>0){for(e-=r,o=0;o<i.length;o++)if(i[o]>=e)return i[o];return i[o-1]}for(o=i.length,e+=r;o--;)if(i[o]<=e)return i[o];return i[0]}:function(i,n,r){void 0===r&&(r=.001);var o=t(i);return!n||Math.abs(o-i)<r||o-i<0==n<0?o:t(n<0?i-e:i+e)}},De=function(e,t,i,n){return i.split(",").forEach((function(i){return e(t,i,n)}))},Ne=function(e,t,i,n,r){return e.addEventListener(t,i,{passive:!n,capture:!!r})},Re=function(e,t,i,n){return e.removeEventListener(t,i,!!n)},Ie=function(e,t,i){(i=i&&i.wheelHandler)&&(e(t,"wheel",i),e(t,"touchmove",i))},Ye={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},He={toggleActions:"play",anticipatePin:0},We={top:0,left:0,center:.5,bottom:1,right:1},Xe=function(e,t){if(ae(e)){var i=e.indexOf("="),n=~i?+(e.charAt(i-1)+1)*parseFloat(e.substr(i+1)):0;~i&&(e.indexOf("%")>i&&(n*=t/100),e=e.substr(0,i-1)),e=n+(e in We?We[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},Be=function(e,t,i,n,r,o,a,c){var u=r.startColor,h=r.endColor,d=r.fontSize,p=r.indent,f=r.fontWeight,g=s.createElement("div"),v=ie(i)||"fixed"===(0,X._getProxyProp)(i,"pinType"),m=-1!==e.indexOf("scroller"),y=v?l:i,b=-1!==e.indexOf("start"),w=b?u:h,S="border-color:"+w+";font-size:"+d+";color:"+w+";font-weight:"+f+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return S+="position:"+((m||c)&&v?"fixed;":"absolute;"),(m||c||!v)&&(S+=(n===X._vertical?ge:ve)+":"+(o+parseFloat(p))+"px;"),a&&(S+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),g._isStart=b,g.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),g.style.cssText=S,g.innerText=t||0===t?e+"-"+t:e,y.children[0]?y.insertBefore(g,y.children[0]):y.appendChild(g),g._offset=g["offset"+n.op.d2],Fe(g,0,n,b),g},Fe=function(e,t,i,r){var o={display:"block"},s=i[r?"os2":"p2"],a=i[r?"p2":"os2"];e._isFlipped=r,o[i.a+"Percent"]=r?-100:0,o[i.a]=r?"1px":0,o["border"+s+Te]=1,o["border"+a+Te]=0,o[i.p]=t+"px",n.set(e,o)},Ve=[],qe={},je=function(){return F()-q>34&&(I||(I=requestAnimationFrame(ut)))},Ue=function(){(!T||!T.isPressed||T.startX>l.clientWidth)&&(X._scrollers.cache++,T?I||(I=requestAnimationFrame(ut)):ut(),q||Qe("scrollStart"),q=F())},Ge=function(){C=o.innerWidth,M=o.innerHeight},Ke=function(){X._scrollers.cache++,!g&&!k&&!s.fullscreenElement&&!s.webkitFullscreenElement&&(!E||C!==o.innerWidth||Math.abs(o.innerHeight-M)>.25*o.innerHeight)&&u.restart(!0)},Ze={},$e=[],Je=function e(){return Re(kt,"scrollEnd",e)||at(!0)},Qe=function(e){return Ze[e]&&Ze[e].map((function(e){return e()}))||$e},et=[],tt=function(e){for(var t=0;t<et.length;t+=5)(!e||et[t+4]&&et[t+4].query===e)&&(et[t].style.cssText=et[t+1],et[t].getBBox&&et[t].setAttribute("transform",et[t+2]||""),et[t+3].uncache=1)},it=function(e,t){var i;for(y=0;y<Ve.length;y++)!(i=Ve[y])||t&&i._ctx!==t||(e?i.kill(1):i.revert(!0,!0));D=!0,t&&tt(t),t||Qe("revert")},nt=function(e,t){X._scrollers.cache++,(t||!Y)&&X._scrollers.forEach((function(e){return le(e)&&e.cacheID++&&(e.rec=0)})),ae(e)&&(o.history.scrollRestoration=P=e)},rt=0,ot=function(){l.appendChild(A),z=!T&&A.offsetHeight||o.innerHeight,l.removeChild(A)},st=function(e){return h(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach((function(t){return t.style.display=e?"none":"block"}))},at=function(e,t){if(!q||e||D){ot(),Y=kt.isRefreshing=!0,X._scrollers.forEach((function(e){return le(e)&&++e.cacheID&&(e.rec=e())}));var i=Qe("refreshInit");_&&kt.sort(),t||it(),X._scrollers.forEach((function(e){le(e)&&(e.smooth&&(e.target.style.scrollBehavior="auto"),e(0))})),Ve.slice(0).forEach((function(e){return e.refresh()})),D=!1,Ve.forEach((function(e){if(e._subPinOffset&&e.pin){var t=e.vars.horizontal?"offsetWidth":"offsetHeight",i=e.pin[t];e.revert(!0,1),e.adjustPinSpacing(e.pin[t]-i),e.refresh()}})),N=1,st(!0),Ve.forEach((function(e){var t=oe(e.scroller,e._dir),i="max"===e.vars.end||e._endClamp&&e.end>t,n=e._startClamp&&e.start>=t;(i||n)&&e.setPositions(n?t-1:e.start,i?Math.max(n?t:e.start+1,t):e.end,!0)})),st(!1),N=0,i.forEach((function(e){return e&&e.render&&e.render(-1)})),X._scrollers.forEach((function(e){le(e)&&(e.smooth&&requestAnimationFrame((function(){return e.target.style.scrollBehavior="smooth"})),e.rec&&e(e.rec))})),nt(P,1),u.pause(),rt++,Y=2,ut(2),Ve.forEach((function(e){return le(e.vars.onRefresh)&&e.vars.onRefresh(e)})),Y=kt.isRefreshing=!1,Qe("refresh")}else Ne(kt,"scrollEnd",Je)},lt=0,ct=1,ut=function(e){if(2===e||!Y&&!D){kt.isUpdating=!0,W&&W.update(0);var t=Ve.length,i=F(),n=i-V>=50,r=t&&Ve[0].scroll();if(ct=lt>r?-1:1,Y||(lt=r),n&&(q&&!v&&i-q>200&&(q=0,Qe("scrollEnd")),p=V,V=i),ct<0){for(y=t;y-- >0;)Ve[y]&&Ve[y].update(0,n);ct=1}else for(y=0;y<t;y++)Ve[y]&&Ve[y].update(0,n);kt.isUpdating=!1}I=0},ht=[fe,"top",ve,ge,ke+_e,ke+be,ke+Se,ke+we,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],dt=ht.concat([me,ye,"boxSizing","max"+Te,"max"+Ee,"position",ke,xe,xe+Se,xe+be,xe+_e,xe+we]),pt=function(e,t,i,n){if(!e._gsap.swappedIn){for(var r,o=ht.length,s=t.style,a=e.style;o--;)s[r=ht[o]]=i[r];s.position="absolute"===i.position?"absolute":"relative","inline"===i.display&&(s.display="inline-block"),a[ve]=a[ge]="auto",s.flexBasis=i.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[me]=Pe(e,X._horizontal)+Me,s[ye]=Pe(e,X._vertical)+Me,s[xe]=a[ke]=a.top=a[fe]="0",gt(n),a[me]=a["max"+Te]=i[me],a[ye]=a["max"+Ee]=i[ye],a[xe]=i[xe],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},ft=/([A-Z])/g,gt=function(e){if(e){var t,i,r=e.t.style,o=e.length,s=0;for((e.t._gsap||n.core.getCache(e.t)).uncache=1;s<o;s+=2)i=e[s+1],t=e[s],i?r[t]=i:r[t]&&r.removeProperty(t.replace(ft,"-$1").toLowerCase())}},vt=function(e){for(var t=dt.length,i=e.style,n=[],r=0;r<t;r++)n.push(dt[r],i[dt[r]]);return n.t=e,n},mt={left:0,top:0},yt=function(e,t,i,r,o,s,c,u,h,d,p,f,g,v){le(e)&&(e=e(u)),ae(e)&&"max"===e.substr(0,3)&&(e=f+("="===e.charAt(4)?Xe("0"+e.substr(3),i):0));var m,y,b,w=g?g.time():0;if(g&&g.seek(0),isNaN(e)||(e=+e),ce(e))g&&(e=n.utils.mapRange(g.scrollTrigger.start,g.scrollTrigger.end,0,f,e)),c&&Fe(c,i,r,!0);else{le(t)&&(t=t(u));var S,_,x,k,T=(e||"0").split(" ");b=(0,X._getTarget)(t,u)||l,(S=Le(b)||{})&&(S.left||S.top)||"none"!==Ce(b).display||(k=b.style.display,b.style.display="block",S=Le(b),k?b.style.display=k:b.style.removeProperty("display")),_=Xe(T[0],S[r.d]),x=Xe(T[1]||"0",i),e=S[r.p]-h[r.p]-d+_+o-x,c&&Fe(c,x,r,i-x<20||c._isStart&&x>20),i-=i-x}if(v&&(u[v]=e||-.001,e<0&&(e=0)),s){var E=e+i,M=s._isStart;m="scroll"+r.d2,Fe(s,E,r,M&&E>20||!M&&(p?Math.max(l[m],a[m]):s.parentNode[m])<=E+1),p&&(h=Le(c),p&&(s.style[r.op.p]=h[r.op.p]-r.op.m-s._offset+Me))}return g&&b&&(m=Le(b),g.seek(f),y=Le(b),g._caScrollDist=m[r.p]-y[r.p],e=e/g._caScrollDist*f),g&&g.seek(w),g?e:Math.round(e)},bt=/(webkit|moz|length|cssText|inset)/i,wt=function(e,t,i,r){if(e.parentNode!==t){var o,s,a=e.style;if(t===l){for(o in e._stOrig=a.cssText,s=Ce(e))+o||bt.test(o)||!s[o]||"string"!=typeof a[o]||"0"===o||(a[o]=s[o]);a.top=i,a.left=r}else a.cssText=e._stOrig;n.core.getCache(e).uncache=1,t.appendChild(e)}},St=function(e,t,i){var n=t,r=n;return function(t){var o=Math.round(e());return o!==n&&o!==r&&Math.abs(o-n)>3&&Math.abs(o-r)>3&&(t=o,i&&i()),r=n,n=t,t}},_t=function(e,t,i){var r={};r[t.p]="+="+i,n.set(e,r)},xt=function(e,t){var i=(0,X._getScrollFunc)(e,t),r="_scroll"+t.p2,o=function t(o,s,a,l,c){var u=t.tween,h=s.onComplete,d={};a=a||i();var p=St(i,a,(function(){u.kill(),t.tween=0}));return c=l&&c||0,l=l||o-a,u&&u.kill(),s[r]=o,s.inherit=!1,s.modifiers=d,d[r]=function(){return p(a+l*u.ratio+c*u.ratio*u.ratio)},s.onUpdate=function(){X._scrollers.cache++,t.tween&&ut()},s.onComplete=function(){t.tween=0,h&&h.call(u)},u=t.tween=n.to(e,s)};return e[r]=i,i.wheelHandler=function(){return o.tween&&o.tween.kill()&&(o.tween=0)},Ne(e,"wheel",i.wheelHandler),kt.isTouch&&Ne(e,"touchmove",i.wheelHandler),o},kt=function(){function e(t,i){r||e.register(n)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),L(this),this.init(t,i)}return e.prototype.init=function(t,i){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),j){var r,c,u,f,m,b,w,S,k,T,E,M,C,O,L,P,A,z,D,I,V,K,Z,$,ee,te,se,fe,ge,ve,De,Ie,We,Fe,je,Ge,Ze,$e,Qe,et,tt,it,nt=t=Oe(ae(t)||ce(t)||t.nodeType?{trigger:t}:t,He),ot=nt.onUpdate,st=nt.toggleClass,lt=nt.id,ut=nt.onToggle,ht=nt.onRefresh,dt=nt.scrub,ft=nt.trigger,bt=nt.pin,St=nt.pinSpacing,kt=nt.invalidateOnRefresh,Tt=nt.anticipatePin,Et=nt.onScrubComplete,Mt=nt.onSnapComplete,Ct=nt.once,Ot=nt.snap,Lt=nt.pinReparent,Pt=nt.pinSpacer,At=nt.containerAnimation,zt=nt.fastScrollEnd,Dt=nt.preventOverlaps,Nt=t.horizontal||t.containerAnimation&&!1!==t.horizontal?X._horizontal:X._vertical,Rt=!dt&&0!==dt,It=(0,X._getTarget)(t.scroller||o),Yt=n.core.getCache(It),Ht=ie(It),Wt="fixed"===("pinType"in t?t.pinType:(0,X._getProxyProp)(It,"pinType")||Ht&&"fixed"),Xt=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],Bt=Rt&&t.toggleActions.split(" "),Ft="markers"in t?t.markers:He.markers,Vt=Ht?0:parseFloat(Ce(It)["border"+Nt.p2+Te])||0,qt=this,jt=t.onRefreshInit&&function(){return t.onRefreshInit(qt)},Ut=function(e,t,i){var n=i.d,r=i.d2,o=i.a;return(o=(0,X._getProxyProp)(e,"getBoundingClientRect"))?function(){return o()[n]}:function(){return(t?ne(r):e["client"+r])||0}}(It,Ht,Nt),Gt=function(e,t){return!t||~X._proxies.indexOf(e)?re(e):function(){return mt}}(It,Ht),Kt=0,Zt=0,$t=0,Jt=(0,X._getScrollFunc)(It,Nt);if(qt._startClamp=qt._endClamp=!1,qt._dir=Nt,Tt*=45,qt.scroller=It,qt.scroll=At?At.time.bind(At):Jt,f=Jt(),qt.vars=t,i=i||t.animation,"refreshPriority"in t&&(_=1,-9999===t.refreshPriority&&(W=qt)),Yt.tweenScroll=Yt.tweenScroll||{top:xt(It,X._vertical),left:xt(It,X._horizontal)},qt.tweenTo=r=Yt.tweenScroll[Nt.p],qt.scrubDuration=function(e){(We=ce(e)&&e)?Ie?Ie.duration(e):Ie=n.to(i,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:We,paused:!0,onComplete:function(){return Et&&Et(qt)}}):(Ie&&Ie.progress(1).kill(),Ie=0)},i&&(i.vars.lazy=!1,i._initted&&!qt.isReverted||!1!==i.vars.immediateRender&&!1!==t.immediateRender&&i.duration()&&i.render(0,!0,!0),qt.animation=i.pause(),i.scrollTrigger=qt,qt.scrubDuration(dt),ve=0,lt||(lt=i.vars.id)),Ot&&(ue(Ot)&&!Ot.push||(Ot={snapTo:Ot}),"scrollBehavior"in l.style&&n.set(Ht?[l,a]:It,{scrollBehavior:"auto"}),X._scrollers.forEach((function(e){return le(e)&&e.target===(Ht?s.scrollingElement||a:It)&&(e.smooth=!1)})),u=le(Ot.snapTo)?Ot.snapTo:"labels"===Ot.snapTo?function(e){return function(t){return n.utils.snap(Ae(e),t)}}(i):"labelsDirectional"===Ot.snapTo?(et=i,function(e,t){return ze(Ae(et))(e,t.direction)}):!1!==Ot.directional?function(e,t){return ze(Ot.snapTo)(e,F()-Zt<500?0:t.direction)}:n.utils.snap(Ot.snapTo),Fe=Ot.duration||{min:.1,max:2},Fe=ue(Fe)?d(Fe.min,Fe.max):d(Fe,Fe),je=n.delayedCall(Ot.delay||We/2||.1,(function(){var e=Jt(),t=F()-Zt<500,o=r.tween;if(!(t||Math.abs(qt.getVelocity())<10)||o||v||Kt===e)qt.isActive&&Kt!==e&&je.restart(!0);else{var s,a,l=(e-b)/O,c=i&&!Rt?i.totalProgress():l,h=t?0:(c-De)/(F()-p)*1e3||0,d=n.utils.clamp(-l,1-l,pe(h/2)*h/.185),f=l+(!1===Ot.inertia?0:d),g=Ot,m=g.onStart,y=g.onInterrupt,S=g.onComplete;if(s=u(f,qt),ce(s)||(s=f),a=Math.round(b+s*O),e<=w&&e>=b&&a!==e){if(o&&!o._initted&&o.data<=pe(a-e))return;!1===Ot.inertia&&(d=s-l),r(a,{duration:Fe(pe(.185*Math.max(pe(f-c),pe(s-c))/h/.05||0)),ease:Ot.ease||"power3",data:pe(a-e),onInterrupt:function(){return je.restart(!0)&&y&&y(qt)},onComplete:function(){qt.update(),Kt=Jt(),i&&(Ie?Ie.resetTo("totalProgress",s,i._tTime/i._tDur):i.progress(s)),ve=De=i&&!Rt?i.totalProgress():qt.progress,Mt&&Mt(qt),S&&S(qt)}},e,d*O,a-e-d*O),m&&m(qt,r.tween)}}})).pause()),lt&&(qe[lt]=qt),(Qe=(ft=qt.trigger=(0,X._getTarget)(ft||!0!==bt&&bt))&&ft._gsap&&ft._gsap.stRevert)&&(Qe=Qe(qt)),bt=!0===bt?ft:(0,X._getTarget)(bt),ae(st)&&(st={targets:ft,className:st}),bt&&(!1===St||St===ke||(St=!(!St&&bt.parentNode&&bt.parentNode.style&&"flex"===Ce(bt.parentNode).display)&&xe),qt.pin=bt,(c=n.core.getCache(bt)).spacer?L=c.pinState:(Pt&&((Pt=(0,X._getTarget)(Pt))&&!Pt.nodeType&&(Pt=Pt.current||Pt.nativeElement),c.spacerIsNative=!!Pt,Pt&&(c.spacerState=vt(Pt))),c.spacer=z=Pt||s.createElement("div"),z.classList.add("pin-spacer"),lt&&z.classList.add("pin-spacer-"+lt),c.pinState=L=vt(bt)),!1!==t.force3D&&n.set(bt,{force3D:!0}),qt.spacer=z=c.spacer,ge=Ce(bt),$=ge[St+Nt.os2],I=n.getProperty(bt),V=n.quickSetter(bt,Nt.a,Me),pt(bt,z,ge),A=vt(bt)),Ft){M=ue(Ft)?Oe(Ft,Ye):Ye,T=Be("scroller-start",lt,It,Nt,M,0),E=Be("scroller-end",lt,It,Nt,M,0,T),D=T["offset"+Nt.op.d2];var Qt=(0,X._getTarget)((0,X._getProxyProp)(It,"content")||It);S=this.markerStart=Be("start",lt,Qt,Nt,M,D,0,At),k=this.markerEnd=Be("end",lt,Qt,Nt,M,D,0,At),At&&($e=n.quickSetter([S,k],Nt.a,Me)),Wt||X._proxies.length&&!0===(0,X._getProxyProp)(It,"fixedMarkers")||(it=Ce(tt=Ht?l:It).position,tt.style.position="absolute"===it||"fixed"===it?it:"relative",n.set([T,E],{force3D:!0}),te=n.quickSetter(T,Nt.a,Me),fe=n.quickSetter(E,Nt.a,Me))}if(At){var ei=At.vars.onUpdate,ti=At.vars.onUpdateParams;At.eventCallback("onUpdate",(function(){qt.update(0,0,1),ei&&ei.apply(At,ti||[])}))}if(qt.previous=function(){return Ve[Ve.indexOf(qt)-1]},qt.next=function(){return Ve[Ve.indexOf(qt)+1]},qt.revert=function(e,t){if(!t)return qt.kill(!0);var n=!1!==e||!qt.enabled,r=g;n!==qt.isReverted&&(n&&(Ge=Math.max(Jt(),qt.scroll.rec||0),$t=qt.progress,Ze=i&&i.progress()),S&&[S,k,T,E].forEach((function(e){return e.style.display=n?"none":"block"})),n&&(g=qt,qt.update(n)),!bt||Lt&&qt.isActive||(n?function(e,t,i){gt(i);var n=e._gsap;if(n.spacerIsNative)gt(n.spacerState);else if(e._gsap.swappedIn){var r=t.parentNode;r&&(r.insertBefore(e,t),r.removeChild(t))}e._gsap.swappedIn=!1}(bt,z,L):pt(bt,z,Ce(bt),ee)),n||qt.update(n),g=r,qt.isReverted=n)},qt.refresh=function(o,c,u,h){if(!g&&qt.enabled||c)if(bt&&o&&q)Ne(e,"scrollEnd",Je);else{!Y&&jt&&jt(qt),g=qt,r.tween&&!u&&(r.tween.kill(),r.tween=0),Ie&&Ie.pause(),kt&&i&&i.revert({kill:!1}).invalidate(),qt.isReverted||qt.revert(!0,!0),qt._subPinOffset=!1;var d,p,v,y,_,M,D,R,H,W,B,V,j,G=Ut(),$=Gt(),J=At?At.duration():oe(It,Nt),Q=O<=.01,te=0,ie=h||0,ne=ue(u)?u.end:t.end,re=t.endTrigger||ft,ce=ue(u)?u.start:t.start||(0!==t.start&&ft?bt?"0 0":"0 100%":0),he=qt.pinnedContainer=t.pinnedContainer&&(0,X._getTarget)(t.pinnedContainer,qt),de=ft&&Math.max(0,Ve.indexOf(qt))||0,pe=de;for(Ft&&ue(u)&&(V=n.getProperty(T,Nt.p),j=n.getProperty(E,Nt.p));pe--;)(M=Ve[pe]).end||M.refresh(0,1)||(g=qt),!(D=M.pin)||D!==ft&&D!==bt&&D!==he||M.isReverted||(W||(W=[]),W.unshift(M),M.revert(!0,!0)),M!==Ve[pe]&&(de--,pe--);for(le(ce)&&(ce=ce(qt)),ce=U(ce,"start",qt),b=yt(ce,ft,G,Nt,Jt(),S,T,qt,$,Vt,Wt,J,At,qt._startClamp&&"_startClamp")||(bt?-.001:0),le(ne)&&(ne=ne(qt)),ae(ne)&&!ne.indexOf("+=")&&(~ne.indexOf(" ")?ne=(ae(ce)?ce.split(" ")[0]:"")+ne:(te=Xe(ne.substr(2),G),ne=ae(ce)?ce:(At?n.utils.mapRange(0,At.duration(),At.scrollTrigger.start,At.scrollTrigger.end,b):b)+te,re=ft)),ne=U(ne,"end",qt),w=Math.max(b,yt(ne||(re?"100% 0":J),re,G,Nt,Jt()+te,k,E,qt,$,Vt,Wt,J,At,qt._endClamp&&"_endClamp"))||-.001,te=0,pe=de;pe--;)(D=(M=Ve[pe]).pin)&&M.start-M._pinPush<=b&&!At&&M.end>0&&(d=M.end-(qt._startClamp?Math.max(0,M.start):M.start),(D===ft&&M.start-M._pinPush<b||D===he)&&isNaN(ce)&&(te+=d*(1-M.progress)),D===bt&&(ie+=d));if(b+=te,w+=te,qt._startClamp&&(qt._startClamp+=te),qt._endClamp&&!Y&&(qt._endClamp=w||-.001,w=Math.min(w,oe(It,Nt))),O=w-b||(b-=.01)&&.001,Q&&($t=n.utils.clamp(0,1,n.utils.normalize(b,w,Ge))),qt._pinPush=ie,S&&te&&((d={})[Nt.a]="+="+te,he&&(d[Nt.p]="-="+Jt()),n.set([S,k],d)),!bt||N&&qt.end>=oe(It,Nt)){if(ft&&Jt()&&!At)for(p=ft.parentNode;p&&p!==l;)p._pinOffset&&(b-=p._pinOffset,w-=p._pinOffset),p=p.parentNode}else d=Ce(bt),y=Nt===X._vertical,v=Jt(),K=parseFloat(I(Nt.a))+ie,!J&&w>1&&(B={style:B=(Ht?s.scrollingElement||a:It).style,value:B["overflow"+Nt.a.toUpperCase()]},Ht&&"scroll"!==Ce(l)["overflow"+Nt.a.toUpperCase()]&&(B.style["overflow"+Nt.a.toUpperCase()]="scroll")),pt(bt,z,d),A=vt(bt),p=Le(bt,!0),R=Wt&&(0,X._getScrollFunc)(It,y?X._horizontal:X._vertical)(),St?((ee=[St+Nt.os2,O+ie+Me]).t=z,(pe=St===xe?Pe(bt,Nt)+O+ie:0)&&(ee.push(Nt.d,pe+Me),"auto"!==z.style.flexBasis&&(z.style.flexBasis=pe+Me)),gt(ee),he&&Ve.forEach((function(e){e.pin===he&&!1!==e.vars.pinSpacing&&(e._subPinOffset=!0)})),Wt&&Jt(Ge)):(pe=Pe(bt,Nt))&&"auto"!==z.style.flexBasis&&(z.style.flexBasis=pe+Me),Wt&&((_={top:p.top+(y?v-b:R)+Me,left:p.left+(y?R:v-b)+Me,boxSizing:"border-box",position:"fixed"})[me]=_["max"+Te]=Math.ceil(p.width)+Me,_[ye]=_["max"+Ee]=Math.ceil(p.height)+Me,_[ke]=_[ke+Se]=_[ke+be]=_[ke+_e]=_[ke+we]="0",_[xe]=d[xe],_[xe+Se]=d[xe+Se],_[xe+be]=d[xe+be],_[xe+_e]=d[xe+_e],_[xe+we]=d[xe+we],P=function(e,t,i){for(var n,r=[],o=e.length,s=i?8:0;s<o;s+=2)n=e[s],r.push(n,n in t?t[n]:e[s+1]);return r.t=e.t,r}(L,_,Lt),Y&&Jt(0)),i?(H=i._initted,x(1),i.render(i.duration(),!0,!0),Z=I(Nt.a)-K+O+ie,se=Math.abs(O-Z)>1,Wt&&se&&P.splice(P.length-2,2),i.render(0,!0,!0),H||i.invalidate(!0),i.parent||i.totalTime(i.totalTime()),x(0)):Z=O,B&&(B.value?B.style["overflow"+Nt.a.toUpperCase()]=B.value:B.style.removeProperty("overflow-"+Nt.a));W&&W.forEach((function(e){return e.revert(!1,!0)})),qt.start=b,qt.end=w,f=m=Y?Ge:Jt(),At||Y||(f<Ge&&Jt(Ge),qt.scroll.rec=0),qt.revert(!1,!0),Zt=F(),je&&(Kt=-1,je.restart(!0)),g=0,i&&Rt&&(i._initted||Ze)&&i.progress()!==Ze&&i.progress(Ze||0,!0).render(i.time(),!0,!0),(Q||$t!==qt.progress||At||kt)&&(i&&!Rt&&i.totalProgress(At&&b<-.001&&!$t?n.utils.normalize(b,w,0):$t,!0),qt.progress=Q||(f-b)/O===$t?0:$t),bt&&St&&(z._pinOffset=Math.round(qt.progress*Z)),Ie&&Ie.invalidate(),isNaN(V)||(V-=n.getProperty(T,Nt.p),j-=n.getProperty(E,Nt.p),_t(T,Nt,V),_t(S,Nt,V-(h||0)),_t(E,Nt,j),_t(k,Nt,j-(h||0))),Q&&!Y&&qt.update(),!ht||Y||C||(C=!0,ht(qt),C=!1)}},qt.getVelocity=function(){return(Jt()-m)/(F()-p)*1e3||0},qt.endAnimation=function(){he(qt.callbackAnimation),i&&(Ie?Ie.progress(1):i.paused()?Rt||he(i,qt.direction<0,1):he(i,i.reversed()))},qt.labelToScroll=function(e){return i&&i.labels&&(b||qt.refresh()||b)+i.labels[e]/i.duration()*O||0},qt.getTrailing=function(e){var t=Ve.indexOf(qt),i=qt.direction>0?Ve.slice(0,t).reverse():Ve.slice(t+1);return(ae(e)?i.filter((function(t){return t.vars.preventOverlaps===e})):i).filter((function(e){return qt.direction>0?e.end<=b:e.start>=w}))},qt.update=function(e,t,n){if(!At||n||e){var o,s,a,c,u,d,v,y=!0===Y?Ge:qt.scroll(),S=e?0:(y-b)/O,_=S<0?0:S>1?1:S||0,x=qt.progress;if(t&&(m=f,f=At?Jt():y,Ot&&(De=ve,ve=i&&!Rt?i.totalProgress():_)),Tt&&bt&&!g&&!B&&q&&(!_&&b<y+(y-m)/(F()-p)*Tt?_=1e-4:1===_&&w>y+(y-m)/(F()-p)*Tt&&(_=.9999)),_!==x&&qt.enabled){if(c=(u=(o=qt.isActive=!!_&&_<1)!==(!!x&&x<1))||!!_!=!!x,qt.direction=_>x?1:-1,qt.progress=_,c&&!g&&(s=_&&!x?0:1===_?1:1===x?2:3,Rt&&(a=!u&&"none"!==Bt[s+1]&&Bt[s+1]||Bt[s],v=i&&("complete"===a||"reset"===a||a in i))),Dt&&(u||v)&&(v||dt||!i)&&(le(Dt)?Dt(qt):qt.getTrailing(Dt).forEach((function(e){return e.endAnimation()}))),Rt||(!Ie||g||B?i&&i.totalProgress(_,!(!g||!Zt&&!e)):(Ie._dp._time-Ie._start!==Ie._time&&Ie.render(Ie._dp._time-Ie._start),Ie.resetTo?Ie.resetTo("totalProgress",_,i._tTime/i._tDur):(Ie.vars.totalProgress=_,Ie.invalidate().restart()))),bt)if(e&&St&&(z.style[St+Nt.os2]=$),Wt){if(c){if(d=!e&&_>x&&w+1>y&&y+1>=oe(It,Nt),Lt)if(e||!o&&!d)wt(bt,z);else{var k=Le(bt,!0),E=y-b;wt(bt,l,k.top+(Nt===X._vertical?E:0)+Me,k.left+(Nt===X._vertical?0:E)+Me)}gt(o||d?P:A),se&&_<1&&o||V(K+(1!==_||d?0:Z))}}else V(Q(K+Z*_));Ot&&!r.tween&&!g&&!B&&je.restart(!0),st&&(u||Ct&&_&&(_<1||!R))&&h(st.targets).forEach((function(e){return e.classList[o||Ct?"add":"remove"](st.className)})),ot&&!Rt&&!e&&ot(qt),c&&!g?(Rt&&(v&&("complete"===a?i.pause().totalProgress(1):"reset"===a?i.restart(!0).pause():"restart"===a?i.restart(!0):i[a]()),ot&&ot(qt)),!u&&R||(ut&&u&&de(qt,ut),Xt[s]&&de(qt,Xt[s]),Ct&&(1===_?qt.kill(!1,1):Xt[s]=0),u||Xt[s=1===_?1:3]&&de(qt,Xt[s])),zt&&!o&&Math.abs(qt.getVelocity())>(ce(zt)?zt:2500)&&(he(qt.callbackAnimation),Ie?Ie.progress(1):he(i,"reverse"===a?1:!_,1))):Rt&&ot&&!g&&ot(qt)}if(fe){var M=At?y/At.duration()*(At._caScrollDist||0):y;te(M+(T._isFlipped?1:0)),fe(M)}$e&&$e(-y/At.duration()*(At._caScrollDist||0))}},qt.enable=function(t,i){qt.enabled||(qt.enabled=!0,Ne(It,"resize",Ke),Ht||Ne(It,"scroll",Ue),jt&&Ne(e,"refreshInit",jt),!1!==t&&(qt.progress=$t=0,f=m=Kt=Jt()),!1!==i&&qt.refresh())},qt.getTween=function(e){return e&&r?r.tween:Ie},qt.setPositions=function(e,t,i,n){if(At){var r=At.scrollTrigger,o=At.duration(),s=r.end-r.start;e=r.start+s*e/o,t=r.start+s*t/o}qt.refresh(!1,!1,{start:G(e,i&&!!qt._startClamp),end:G(t,i&&!!qt._endClamp)},n),qt.update()},qt.adjustPinSpacing=function(e){if(ee&&e){var t=ee.indexOf(Nt.d)+1;ee[t]=parseFloat(ee[t])+e+Me,ee[1]=parseFloat(ee[1])+e+Me,gt(ee)}},qt.disable=function(t,i){if(qt.enabled&&(!1!==t&&qt.revert(!0,!0),qt.enabled=qt.isActive=!1,i||Ie&&Ie.pause(),Ge=0,c&&(c.uncache=1),jt&&Re(e,"refreshInit",jt),je&&(je.pause(),r.tween&&r.tween.kill()&&(r.tween=0)),!Ht)){for(var n=Ve.length;n--;)if(Ve[n].scroller===It&&Ve[n]!==qt)return;Re(It,"resize",Ke),Ht||Re(It,"scroll",Ue)}},qt.kill=function(e,n){qt.disable(e,n),Ie&&!n&&Ie.kill(),lt&&delete qe[lt];var r=Ve.indexOf(qt);r>=0&&Ve.splice(r,1),r===y&&ct>0&&y--,r=0,Ve.forEach((function(e){return e.scroller===qt.scroller&&(r=1)})),r||Y||(qt.scroll.rec=0),i&&(i.scrollTrigger=null,e&&i.revert({kill:!1}),n||i.kill()),S&&[S,k,T,E].forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),W===qt&&(W=0),bt&&(c&&(c.uncache=1),r=0,Ve.forEach((function(e){return e.pin===bt&&r++})),r||(c.spacer=0)),t.onKill&&t.onKill(qt)},Ve.push(qt),qt.enable(!1,!1),Qe&&Qe(qt),i&&i.add&&!O){var ii=qt.update;qt.update=function(){qt.update=ii,b||w||qt.refresh()},n.delayedCall(.01,qt.update),O=.01,b=w=0}else qt.refresh();bt&&function(){if(H!==rt){var e=H=rt;requestAnimationFrame((function(){return e===rt&&at(!0)}))}}()}else this.update=this.refresh=this.kill=J},e.register=function(t){return r||(n=t||te(),ee()&&window.document&&e.enable(),r=j),r},e.defaults=function(e){if(e)for(var t in e)He[t]=e[t];return He},e.disable=function(e,t){j=0,Ve.forEach((function(i){return i[t?"kill":"disable"](e)})),Re(o,"wheel",Ue),Re(s,"scroll",Ue),clearInterval(f),Re(s,"touchcancel",J),Re(l,"touchstart",J),De(Re,s,"pointerdown,touchstart,mousedown",Z),De(Re,s,"pointerup,touchend,mouseup",$),u.kill(),se(Re);for(var i=0;i<X._scrollers.length;i+=3)Ie(Re,X._scrollers[i],X._scrollers[i+1]),Ie(Re,X._scrollers[i],X._scrollers[i+2])},e.enable=function(){if(o=window,s=document,a=s.documentElement,l=s.body,n&&(h=n.utils.toArray,d=n.utils.clamp,L=n.core.context||J,x=n.core.suppressOverwrites||J,P=o.history.scrollRestoration||"auto",lt=o.pageYOffset,n.core.globals("ScrollTrigger",e),l)){j=1,(A=document.createElement("div")).style.height="100vh",A.style.position="absolute",ot(),K(),X.Observer.register(n),e.isTouch=X.Observer.isTouch,O=X.Observer.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),E=1===X.Observer.isTouch,Ne(o,"wheel",Ue),c=[o,s,a,l],n.matchMedia?(e.matchMedia=function(e){var t,i=n.matchMedia();for(t in e)i.add(t,e[t]);return i},n.addEventListener("matchMediaInit",(function(){return it()})),n.addEventListener("matchMediaRevert",(function(){return tt()})),n.addEventListener("matchMedia",(function(){at(0,1),Qe("matchMedia")})),n.matchMedia("(orientation: portrait)",(function(){return Ge(),Ge}))):console.warn("Requires GSAP 3.11.0 or later"),Ge(),Ne(s,"scroll",Ue);var t,i,p=l.style,g=p.borderTopStyle,v=n.core.Animation.prototype;for(v.revert||Object.defineProperty(v,"revert",{value:function(){return this.time(-.01,!0)}}),p.borderTopStyle="solid",t=Le(l),X._vertical.m=Math.round(t.top+X._vertical.sc())||0,X._horizontal.m=Math.round(t.left+X._horizontal.sc())||0,g?p.borderTopStyle=g:p.removeProperty("border-top-style"),f=setInterval(je,250),n.delayedCall(.5,(function(){return B=0})),Ne(s,"touchcancel",J),Ne(l,"touchstart",J),De(Ne,s,"pointerdown,touchstart,mousedown",Z),De(Ne,s,"pointerup,touchend,mouseup",$),m=n.utils.checkPrefix("transform"),dt.push(m),r=F(),u=n.delayedCall(.2,at).pause(),S=[s,"visibilitychange",function(){var e=o.innerWidth,t=o.innerHeight;s.hidden?(b=e,w=t):b===e&&w===t||Ke()},s,"DOMContentLoaded",at,o,"load",at,o,"resize",Ke],se(Ne),Ve.forEach((function(e){return e.enable(0,1)})),i=0;i<X._scrollers.length;i+=3)Ie(Re,X._scrollers[i],X._scrollers[i+1]),Ie(Re,X._scrollers[i],X._scrollers[i+2])}},e.config=function(t){"limitCallbacks"in t&&(R=!!t.limitCallbacks);var i=t.syncInterval;i&&clearInterval(f)||(f=i)&&setInterval(je,i),"ignoreMobileResize"in t&&(E=1===e.isTouch&&t.ignoreMobileResize),"autoRefreshEvents"in t&&(se(Re)||se(Ne,t.autoRefreshEvents||"none"),k=-1===(t.autoRefreshEvents+"").indexOf("resize"))},e.scrollerProxy=function(e,t){var i=(0,X._getTarget)(e),n=X._scrollers.indexOf(i),r=ie(i);~n&&X._scrollers.splice(n,r?6:2),t&&(r?X._proxies.unshift(o,t,l,t,a,t):X._proxies.unshift(i,t))},e.clearMatchMedia=function(e){Ve.forEach((function(t){return t._ctx&&t._ctx.query===e&&t._ctx.kill(!0,!0)}))},e.isInViewport=function(e,t,i){var n=(ae(e)?(0,X._getTarget)(e):e).getBoundingClientRect(),r=n[i?me:ye]*t||0;return i?n.right-r>0&&n.left+r<o.innerWidth:n.bottom-r>0&&n.top+r<o.innerHeight},e.positionInViewport=function(e,t,i){ae(e)&&(e=(0,X._getTarget)(e));var n=e.getBoundingClientRect(),r=n[i?me:ye],s=null==t?r/2:t in We?We[t]*r:~t.indexOf("%")?parseFloat(t)*r/100:parseFloat(t)||0;return i?(n.left+s)/o.innerWidth:(n.top+s)/o.innerHeight},e.killAll=function(e){if(Ve.slice(0).forEach((function(e){return"ScrollSmoother"!==e.vars.id&&e.kill()})),!0!==e){var t=Ze.killAll||[];Ze={},t.forEach((function(e){return e()}))}},e}();kt.version="3.12.5",kt.saveStyles=function(e){return e?h(e).forEach((function(e){if(e&&e.style){var t=et.indexOf(e);t>=0&&et.splice(t,5),et.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),n.core.getCache(e),L())}})):et},kt.revert=function(e,t){return it(!e,t)},kt.create=function(e,t){return new kt(e,t)},kt.refresh=function(e){return e?Ke():(r||kt.register())&&at(!0)},kt.update=function(e){return++X._scrollers.cache&&ut(!0===e?2:0)},kt.clearScrollMemory=nt,kt.maxScroll=function(e,t){return oe(e,t?X._horizontal:X._vertical)},kt.getScrollFunc=function(e,t){return(0,X._getScrollFunc)((0,X._getTarget)(e),t?X._horizontal:X._vertical)},kt.getById=function(e){return qe[e]},kt.getAll=function(){return Ve.filter((function(e){return"ScrollSmoother"!==e.vars.id}))},kt.isScrolling=function(){return!!q},kt.snapDirectional=ze,kt.addEventListener=function(e,t){var i=Ze[e]||(Ze[e]=[]);~i.indexOf(t)||i.push(t)},kt.removeEventListener=function(e,t){var i=Ze[e],n=i&&i.indexOf(t);n>=0&&i.splice(n,1)},kt.batch=function(e,t){var i,r=[],o={},s=t.interval||.016,a=t.batchMax||1e9,l=function(e,t){var i=[],r=[],o=n.delayedCall(s,(function(){t(i,r),i=[],r=[]})).pause();return function(e){i.length||o.restart(!0),i.push(e.trigger),r.push(e),a<=i.length&&o.progress(1)}};for(i in t)o[i]="on"===i.substr(0,2)&&le(t[i])&&"onRefreshInit"!==i?l(0,t[i]):t[i];return le(a)&&(a=a(),Ne(kt,"refresh",(function(){return a=t.batchMax()}))),h(e).forEach((function(e){var t={};for(i in o)t[i]=o[i];t.trigger=e,r.push(kt.create(t))})),r};var Tt,Et=function(e,t,i,n){return t>n?e(n):t<0&&e(0),i>n?(n-t)/(i-t):i<0?t/(t-i):1},Mt=function e(t,i){!0===i?t.style.removeProperty("touch-action"):t.style.touchAction=!0===i?"auto":i?"pan-"+i+(X.Observer.isTouch?" pinch-zoom":""):"none",t===a&&e(l,i)},Ct={auto:1,scroll:1},Ot=function(e){var t,i=e.event,r=e.target,o=e.axis,s=(i.changedTouches?i.changedTouches[0]:i).target,a=s._gsap||n.core.getCache(s),c=F();if(!a._isScrollT||c-a._isScrollT>2e3){for(;s&&s!==l&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!Ct[(t=Ce(s)).overflowY]&&!Ct[t.overflowX]);)s=s.parentNode;a._isScroll=s&&s!==r&&!ie(s)&&(Ct[(t=Ce(s)).overflowY]||Ct[t.overflowX]),a._isScrollT=c}(a._isScroll||"x"===o)&&(i.stopPropagation(),i._gsapAllow=!0)},Lt=function(e,t,i,n){return X.Observer.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&Ot,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return i&&Ne(s,X.Observer.eventTypes[0],At,!1,!0)},onDisable:function(){return Re(s,X.Observer.eventTypes[0],At,!0)}})},Pt=/(input|label|select|textarea)/i,At=function(e){var t=Pt.test(e.target.tagName);(t||Tt)&&(e._gsapAllow=!0,Tt=t)},zt=function(e){ue(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t,i,r,s,l,c,u,h,p=e,f=p.normalizeScrollX,g=p.momentum,v=p.allowNestedScroll,m=p.onRelease,y=(0,X._getTarget)(e.target)||a,b=n.core.globals().ScrollSmoother,w=b&&b.get(),S=O&&(e.content&&(0,X._getTarget)(e.content)||w&&!1!==e.content&&!w.smooth()&&w.content()),_=(0,X._getScrollFunc)(y,X._vertical),x=(0,X._getScrollFunc)(y,X._horizontal),k=1,T=(X.Observer.isTouch&&o.visualViewport?o.visualViewport.scale*o.visualViewport.width:o.outerWidth)/o.innerWidth,E=0,M=le(g)?function(){return g(t)}:function(){return g||2.8},C=Lt(y,e.type,!0,v),L=function(){return s=!1},P=J,A=J,z=function(){i=oe(y,X._vertical),A=d(O?1:0,i),f&&(P=d(0,oe(y,X._horizontal))),r=rt},D=function(){S._gsap.y=Q(parseFloat(S._gsap.y)+_.offset)+"px",S.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(S._gsap.y)+", 0, 1)",_.offset=_.cacheID=0},N=function(){z(),l.isActive()&&l.vars.scrollY>i&&(_()>i?l.progress(1)&&_(i):l.resetTo("scrollY",i))};return S&&n.set(S,{y:"+=0"}),e.ignoreCheck=function(e){return O&&"touchmove"===e.type&&function(){if(s){requestAnimationFrame(L);var e=Q(t.deltaY/2),i=A(_.v-e);if(S&&i!==_.v+_.offset){_.offset=i-_.v;var n=Q((parseFloat(S&&S._gsap.y)||0)-_.offset);S.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+n+", 0, 1)",S._gsap.y=n+"px",_.cacheID=X._scrollers.cache,ut()}return!0}_.offset&&D(),s=!0}()||k>1.05&&"touchstart"!==e.type||t.isGesturing||e.touches&&e.touches.length>1},e.onPress=function(){s=!1;var e=k;k=Q((o.visualViewport&&o.visualViewport.scale||1)/T),l.pause(),e!==k&&Mt(y,k>1.01||!f&&"x"),c=x(),u=_(),z(),r=rt},e.onRelease=e.onGestureStart=function(e,t){if(_.offset&&D(),t){X._scrollers.cache++;var r,o,s=M();f&&(o=(r=x())+.05*s*-e.velocityX/.227,s*=Et(x,r,o,oe(y,X._horizontal)),l.vars.scrollX=P(o)),o=(r=_())+.05*s*-e.velocityY/.227,s*=Et(_,r,o,oe(y,X._vertical)),l.vars.scrollY=A(o),l.invalidate().duration(s).play(.01),(O&&l.vars.scrollY>=i||r>=i-1)&&n.to({},{onUpdate:N,duration:s})}else h.restart(!0);m&&m(e)},e.onWheel=function(){l._ts&&l.pause(),F()-E>1e3&&(r=0,E=F())},e.onChange=function(e,t,i,n,o){if(rt!==r&&z(),t&&f&&x(P(n[2]===t?c+(e.startX-e.x):x()+t-n[1])),i){_.offset&&D();var s=o[2]===i,a=s?u+e.startY-e.y:_()+i-o[1],l=A(a);s&&a!==l&&(u+=l-a),_(l)}(i||t)&&ut()},e.onEnable=function(){Mt(y,!f&&"x"),kt.addEventListener("refresh",N),Ne(o,"resize",N),_.smooth&&(_.target.style.scrollBehavior="auto",_.smooth=x.smooth=!1),C.enable()},e.onDisable=function(){Mt(y,!0),Re(o,"resize",N),kt.removeEventListener("refresh",N),C.kill()},e.lockAxis=!1!==e.lockAxis,(t=new X.Observer(e)).iOS=O,O&&!_()&&_(1),O&&n.ticker.add(J),h=t._dc,l=n.to(t,{ease:"power4",paused:!0,inherit:!1,scrollX:f?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:St(_,_(),(function(){return l.pause()}))},onUpdate:ut,onComplete:h.vars.onComplete}),t};kt.sort=function(e){return Ve.sort(e||function(e,t){return-1e6*(e.vars.refreshPriority||0)+e.start-(t.start+-1e6*(t.vars.refreshPriority||0))})},kt.observe=function(e){return new X.Observer(e)},kt.normalizeScroll=function(e){if(void 0===e)return T;if(!0===e&&T)return T.enable();if(!1===e)return T&&T.kill(),void(T=e);var t=e instanceof X.Observer?e:zt(e);return T&&T.target===t.target&&T.kill(),ie(t.target)&&(T=t),t},kt.core={_getVelocityProp:X._getVelocityProp,_inputObserver:Lt,_scrollers:X._scrollers,_proxies:X._proxies,bridge:{ss:function(){q||Qe("scrollStart"),q=F()},ref:function(){return g}}},te()&&n.registerPlugin(kt)},"./node_modules/lozad/dist/lozad.min.js":function(e){e.exports=function(){"use strict";var e="undefined"!=typeof document&&document.documentMode,t={rootMargin:"0px",threshold:0,load:function(t){if("picture"===t.nodeName.toLowerCase()){var i=t.querySelector("img"),n=!1;null===i&&(i=document.createElement("img"),n=!0),e&&t.getAttribute("data-iesrc")&&(i.src=t.getAttribute("data-iesrc")),t.getAttribute("data-alt")&&(i.alt=t.getAttribute("data-alt")),n&&t.append(i)}if("video"===t.nodeName.toLowerCase()&&!t.getAttribute("data-src")&&t.children){for(var r=t.children,o=void 0,s=0;s<=r.length-1;s++)(o=r[s].getAttribute("data-src"))&&(r[s].src=o);t.load()}t.getAttribute("data-poster")&&(t.poster=t.getAttribute("data-poster")),t.getAttribute("data-src")&&(t.src=t.getAttribute("data-src")),t.getAttribute("data-srcset")&&t.setAttribute("srcset",t.getAttribute("data-srcset"));var a=",";if(t.getAttribute("data-background-delimiter")&&(a=t.getAttribute("data-background-delimiter")),t.getAttribute("data-background-image"))t.style.backgroundImage="url('"+t.getAttribute("data-background-image").split(a).join("'),url('")+"')";else if(t.getAttribute("data-background-image-set")){var l=t.getAttribute("data-background-image-set").split(a),c=l[0].substr(0,l[0].indexOf(" "))||l[0];c=-1===c.indexOf("url(")?"url("+c+")":c,1===l.length?t.style.backgroundImage=c:t.setAttribute("style",(t.getAttribute("style")||"")+"background-image: "+c+"; background-image: -webkit-image-set("+l+"); background-image: image-set("+l+")")}t.getAttribute("data-toggle-class")&&t.classList.toggle(t.getAttribute("data-toggle-class"))},loaded:function(){}};function i(e){e.setAttribute("data-loaded",!0)}var n=function(e){return"true"===e.getAttribute("data-loaded")},r=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document;return e instanceof Element?[e]:e instanceof NodeList?e:t.querySelectorAll(e)};return function(){var e,o,s=0<arguments.length&&void 0!==arguments[0]?arguments[0]:".lozad",a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},l=Object.assign({},t,a),c=l.root,u=l.rootMargin,h=l.threshold,d=l.load,p=l.loaded,f=void 0;"undefined"!=typeof window&&window.IntersectionObserver&&(f=new IntersectionObserver((e=d,o=p,function(t,r){t.forEach((function(t){(0<t.intersectionRatio||t.isIntersecting)&&(r.unobserve(t.target),n(t.target)||(e(t.target),i(t.target),o(t.target)))}))}),{root:c,rootMargin:u,threshold:h}));for(var g,v=r(s,c),m=0;m<v.length;m++)(g=v[m]).getAttribute("data-placeholder-background")&&(g.style.background=g.getAttribute("data-placeholder-background"));return{observe:function(){for(var e=r(s,c),t=0;t<e.length;t++)n(e[t])||(f?f.observe(e[t]):(d(e[t]),i(e[t]),p(e[t])))},triggerLoad:function(e){n(e)||(d(e),i(e),p(e))},observer:f}}}()},"./node_modules/mouse-follower/dist/index.module.js":(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});var n=function(){function e(t){void 0===t&&(t={}),this.options=Object.assign({},{el:null,container:document.body,className:"mf-cursor",innerClassName:"mf-cursor-inner",textClassName:"mf-cursor-text",mediaClassName:"mf-cursor-media",mediaBoxClassName:"mf-cursor-media-box",iconSvgClassName:"mf-svgsprite",iconSvgNamePrefix:"-",iconSvgSrc:"",dataAttr:"cursor",hiddenState:"-hidden",textState:"-text",iconState:"-icon",activeState:"-active",mediaState:"-media",stateDetection:{"-pointer":"a,button"},visible:!0,visibleOnState:!1,speed:.55,ease:"expo.out",overwrite:!0,skewing:0,skewingText:2,skewingIcon:2,skewingMedia:2,skewingDelta:.001,skewingDeltaMax:.15,stickDelta:.15,showTimeout:0,hideOnLeave:!0,hideTimeout:300,hideMediaTimeout:300,initialPos:[-window.innerWidth,-window.innerHeight]},t),this.options.visible&&null==t.stateDetection&&(this.options.stateDetection["-hidden"]="iframe"),this.gsap=e.gsap||window.gsap,this.el="string"==typeof this.options.el?document.querySelector(this.options.el):this.options.el,this.container="string"==typeof this.options.container?document.querySelector(this.options.container):this.options.container,this.skewing=this.options.skewing,this.pos={x:this.options.initialPos[0],y:this.options.initialPos[1]},this.vel={x:0,y:0},this.event={},this.events=[],this.init()}e.registerGSAP=function(t){e.gsap=t};var t=e.prototype;return t.init=function(){this.el||this.create(),this.createSetter(),this.bind(),this.render(!0),this.ticker=this.render.bind(this,!1),this.gsap.ticker.add(this.ticker)},t.create=function(){this.el=document.createElement("div"),this.el.className=this.options.className,this.el.classList.add(this.options.hiddenState),this.inner=document.createElement("div"),this.inner.className=this.options.innerClassName,this.text=document.createElement("div"),this.text.className=this.options.textClassName,this.media=document.createElement("div"),this.media.className=this.options.mediaClassName,this.mediaBox=document.createElement("div"),this.mediaBox.className=this.options.mediaBoxClassName,this.media.appendChild(this.mediaBox),this.inner.appendChild(this.media),this.inner.appendChild(this.text),this.el.appendChild(this.inner),this.container.appendChild(this.el)},t.createSetter=function(){this.setter={x:this.gsap.quickSetter(this.el,"x","px"),y:this.gsap.quickSetter(this.el,"y","px"),rotation:this.gsap.quickSetter(this.el,"rotation","deg"),scaleX:this.gsap.quickSetter(this.el,"scaleX"),scaleY:this.gsap.quickSetter(this.el,"scaleY"),wc:this.gsap.quickSetter(this.el,"willChange"),inner:{rotation:this.gsap.quickSetter(this.inner,"rotation","deg")}}},t.bind=function(){var e=this;this.event.mouseleave=function(){return e.hide()},this.event.mouseenter=function(){return e.show()},this.event.mousedown=function(){return e.addState(e.options.activeState)},this.event.mouseup=function(){return e.removeState(e.options.activeState)},this.event.mousemoveOnce=function(){return e.show()},this.event.mousemove=function(t){e.gsap.to(e.pos,{x:e.stick?e.stick.x-(e.stick.x-t.clientX)*e.options.stickDelta:t.clientX,y:e.stick?e.stick.y-(e.stick.y-t.clientY)*e.options.stickDelta:t.clientY,overwrite:e.options.overwrite,ease:e.options.ease,duration:e.visible?e.options.speed:0,onUpdate:function(){return e.vel={x:t.clientX-e.pos.x,y:t.clientY-e.pos.y}}})},this.event.mouseover=function(t){for(var i=t.target;i&&i!==e.container&&(!t.relatedTarget||!i.contains(t.relatedTarget));i=i.parentNode){for(var n in e.options.stateDetection)i.matches(e.options.stateDetection[n])&&e.addState(n);if(e.options.dataAttr){var r=e.getFromDataset(i);r.state&&e.addState(r.state),r.text&&e.setText(r.text),r.icon&&e.setIcon(r.icon),r.img&&e.setImg(r.img),r.video&&e.setVideo(r.video),void 0!==r.show&&e.show(),void 0!==r.stick&&e.setStick(r.stick||i)}}},this.event.mouseout=function(t){for(var i=t.target;i&&i!==e.container&&(!t.relatedTarget||!i.contains(t.relatedTarget));i=i.parentNode){for(var n in e.options.stateDetection)i.matches(e.options.stateDetection[n])&&e.removeState(n);if(e.options.dataAttr){var r=e.getFromDataset(i);r.state&&e.removeState(r.state),r.text&&e.removeText(),r.icon&&e.removeIcon(),r.img&&e.removeImg(),r.video&&e.removeVideo(),void 0!==r.show&&e.hide(),void 0!==r.stick&&e.removeStick()}}},this.options.hideOnLeave&&this.container.addEventListener("mouseleave",this.event.mouseleave,{passive:!0}),this.options.visible&&this.container.addEventListener("mouseenter",this.event.mouseenter,{passive:!0}),this.options.activeState&&(this.container.addEventListener("mousedown",this.event.mousedown,{passive:!0}),this.container.addEventListener("mouseup",this.event.mouseup,{passive:!0})),this.container.addEventListener("mousemove",this.event.mousemove,{passive:!0}),this.options.visible&&this.container.addEventListener("mousemove",this.event.mousemoveOnce,{passive:!0,once:!0}),(this.options.stateDetection||this.options.dataAttr)&&(this.container.addEventListener("mouseover",this.event.mouseover,{passive:!0}),this.container.addEventListener("mouseout",this.event.mouseout,{passive:!0}))},t.render=function(e){if(!0===e||0!==this.vel.y&&0!==this.vel.x){if(this.trigger("render"),this.setter.wc("transform"),this.setter.x(this.pos.x),this.setter.y(this.pos.y),this.skewing){var t=Math.sqrt(Math.pow(this.vel.x,2)+Math.pow(this.vel.y,2)),i=Math.min(t*this.options.skewingDelta,this.options.skewingDeltaMax)*this.skewing,n=180*Math.atan2(this.vel.y,this.vel.x)/Math.PI;this.setter.rotation(n),this.setter.scaleX(1+i),this.setter.scaleY(1-i),this.setter.inner.rotation(-n)}}else this.setter.wc("auto")},t.show=function(){var e=this;this.trigger("show"),clearInterval(this.visibleInt),this.visibleInt=setTimeout((function(){e.el.classList.remove(e.options.hiddenState),e.visible=!0,e.render(!0)}),this.options.showTimeout)},t.hide=function(){var e=this;this.trigger("hide"),clearInterval(this.visibleInt),this.el.classList.add(this.options.hiddenState),this.visibleInt=setTimeout((function(){return e.visible=!1}),this.options.hideTimeout)},t.toggle=function(e){!0===e||!1!==e&&!this.visible?this.show():this.hide()},t.addState=function(e){var t;if(this.trigger("addState",e),e===this.options.hiddenState)return this.hide();(t=this.el.classList).add.apply(t,e.split(" ")),this.options.visibleOnState&&this.show()},t.removeState=function(e){var t;if(this.trigger("removeState",e),e===this.options.hiddenState)return this.show();(t=this.el.classList).remove.apply(t,e.split(" ")),this.options.visibleOnState&&this.el.className===this.options.className&&this.hide()},t.toggleState=function(e,t){!0===t||!1!==t&&!this.el.classList.contains(e)?this.addState(e):this.removeState(e)},t.setSkewing=function(e){this.gsap.to(this,{skewing:e})},t.removeSkewing=function(){this.gsap.to(this,{skewing:this.options.skewing})},t.setStick=function(e){var t=("string"==typeof e?document.querySelector(e):e).getBoundingClientRect();this.stick={y:t.top+t.height/2,x:t.left+t.width/2}},t.removeStick=function(){this.stick=!1},t.setText=function(e){this.text.innerHTML=e,this.addState(this.options.textState),this.setSkewing(this.options.skewingText)},t.removeText=function(){this.removeState(this.options.textState),this.removeSkewing()},t.setIcon=function(e,t){void 0===t&&(t=""),this.text.innerHTML="<svg class='"+this.options.iconSvgClassName+" "+this.options.iconSvgNamePrefix+e+"' style='"+t+"'><use xlink:href='"+this.options.iconSvgSrc+"#"+e+"'></use></svg>",this.addState(this.options.iconState),this.setSkewing(this.options.skewingIcon)},t.removeIcon=function(){this.removeState(this.options.iconState),this.removeSkewing()},t.setMedia=function(e){var t=this;clearTimeout(this.mediaInt),e&&(this.mediaBox.innerHTML="",this.mediaBox.appendChild(e)),this.mediaInt=setTimeout((function(){return t.addState(t.options.mediaState)}),20),this.setSkewing(this.options.skewingMedia)},t.removeMedia=function(){var e=this;clearTimeout(this.mediaInt),this.removeState(this.options.mediaState),this.mediaInt=setTimeout((function(){return e.mediaBox.innerHTML=""}),this.options.hideMediaTimeout),this.removeSkewing()},t.setImg=function(e){this.mediaImg||(this.mediaImg=new Image),this.mediaImg.src!==e&&(this.mediaImg.src=e),this.setMedia(this.mediaImg)},t.removeImg=function(){this.removeMedia()},t.setVideo=function(e){this.mediaVideo||(this.mediaVideo=document.createElement("video"),this.mediaVideo.muted=!0,this.mediaVideo.loop=!0,this.mediaVideo.autoplay=!0),this.mediaVideo.src!==e&&(this.mediaVideo.src=e,this.mediaVideo.load()),this.mediaVideo.play(),this.setMedia(this.mediaVideo)},t.removeVideo=function(){this.mediaVideo&&this.mediaVideo.readyState>2&&this.mediaVideo.pause(),this.removeMedia()},t.on=function(e,t){this.events[e]instanceof Array||this.off(e),this.events[e].push(t)},t.off=function(e,t){this.events[e]=t?this.events[e].filter((function(e){return e!==t})):[]},t.trigger=function(e){var t=arguments,i=this;this.events[e]&&this.events[e].forEach((function(e){return e.call.apply(e,[i,i].concat([].slice.call(t,1)))}))},t.getFromDataset=function(e){var t=e.dataset;return{state:t[this.options.dataAttr],show:t[this.options.dataAttr+"Show"],text:t[this.options.dataAttr+"Text"],icon:t[this.options.dataAttr+"Icon"],img:t[this.options.dataAttr+"Img"],video:t[this.options.dataAttr+"Video"],stick:t[this.options.dataAttr+"Stick"]}},t.destroy=function(){this.trigger("destroy"),this.gsap.ticker.remove(this.ticker),this.container.removeEventListener("mouseleave",this.event.mouseleave),this.container.removeEventListener("mouseenter",this.event.mouseenter),this.container.removeEventListener("mousedown",this.event.mousedown),this.container.removeEventListener("mouseup",this.event.mouseup),this.container.removeEventListener("mousemove",this.event.mousemove),this.container.removeEventListener("mousemove",this.event.mousemoveOnce),this.container.removeEventListener("mouseover",this.event.mouseover),this.container.removeEventListener("mouseout",this.event.mouseout),this.el&&(this.container.removeChild(this.el),this.el=null,this.mediaImg=null,this.mediaVideo=null)},e}()},"./node_modules/@studio-freight/lenis/dist/lenis.mjs":(e,t,i)=>{"use strict";function n(e,t,i){return Math.max(e,Math.min(t,i))}i.r(t),i.d(t,{default:()=>l});class r{advance(e){if(!this.isRunning)return;let t=!1;if(this.lerp)this.value=(i=this.value,r=this.to,o=60*this.lerp,s=e,function(e,t,i){return(1-i)*e+i*t}(i,r,1-Math.exp(-o*s))),Math.round(this.value)===this.to&&(this.value=this.to,t=!0);else{this.currentTime+=e;const i=n(0,this.currentTime/this.duration,1);t=i>=1;const r=t?1:this.easing(i);this.value=this.from+(this.to-this.from)*r}var i,r,o,s;this.onUpdate?.(this.value,t),t&&this.stop()}stop(){this.isRunning=!1}fromTo(e,t,{lerp:i=.1,duration:n=1,easing:r=(e=>e),onStart:o,onUpdate:s}){this.from=this.value=e,this.to=t,this.lerp=i,this.duration=n,this.easing=r,this.currentTime=0,this.isRunning=!0,o?.(),this.onUpdate=s}}class o{constructor({wrapper:e,content:t,autoResize:i=!0,debounce:n=250}={}){this.wrapper=e,this.content=t,i&&(this.debouncedResize=function(e,t){let i;return function(){let n=arguments,r=this;clearTimeout(i),i=setTimeout((function(){e.apply(r,n)}),t)}}(this.resize,n),this.wrapper===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()}destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),window.removeEventListener("resize",this.debouncedResize,!1)}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{this.wrapper===window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)};onContentResize=()=>{this.wrapper===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}}}class s{constructor(){this.events={}}emit(e,...t){let i=this.events[e]||[];for(let e=0,n=i.length;e<n;e++)i[e](...t)}on(e,t){return this.events[e]?.push(t)||(this.events[e]=[t]),()=>{this.events[e]=this.events[e]?.filter((e=>t!==e))}}off(e,t){this.events[e]=this.events[e]?.filter((e=>t!==e))}destroy(){this.events={}}}class a{constructor(e,{wheelMultiplier:t=1,touchMultiplier:i=2,normalizeWheel:n=!1}){this.element=e,this.wheelMultiplier=t,this.touchMultiplier=i,this.normalizeWheel=n,this.touchStart={x:null,y:null},this.emitter=new s,this.element.addEventListener("wheel",this.onWheel,{passive:!1}),this.element.addEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.addEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.addEventListener("touchend",this.onTouchEnd,{passive:!1})}on(e,t){return this.emitter.on(e,t)}destroy(){this.emitter.destroy(),this.element.removeEventListener("wheel",this.onWheel,{passive:!1}),this.element.removeEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.removeEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.removeEventListener("touchend",this.onTouchEnd,{passive:!1})}onTouchStart=e=>{const{clientX:t,clientY:i}=e.targetTouches?e.targetTouches[0]:e;this.touchStart.x=t,this.touchStart.y=i,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:e})};onTouchMove=e=>{const{clientX:t,clientY:i}=e.targetTouches?e.targetTouches[0]:e,n=-(t-this.touchStart.x)*this.touchMultiplier,r=-(i-this.touchStart.y)*this.touchMultiplier;this.touchStart.x=t,this.touchStart.y=i,this.lastDelta={x:n,y:r},this.emitter.emit("scroll",{deltaX:n,deltaY:r,event:e})};onTouchEnd=e=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:e})};onWheel=e=>{let{deltaX:t,deltaY:i}=e;this.normalizeWheel&&(t=n(-100,t,100),i=n(-100,i,100)),t*=this.wheelMultiplier,i*=this.wheelMultiplier,this.emitter.emit("scroll",{deltaX:t,deltaY:i,event:e})}}class l{constructor({wrapper:e=window,content:t=document.documentElement,wheelEventsTarget:i=e,eventsTarget:n=i,smoothWheel:l=!0,syncTouch:c=!1,syncTouchLerp:u=.075,touchInertiaMultiplier:h=35,duration:d,easing:p=(e=>Math.min(1,1.001-Math.pow(2,-10*e))),lerp:f=!d&&.1,infinite:g=!1,orientation:v="vertical",gestureOrientation:m="vertical",touchMultiplier:y=1,wheelMultiplier:b=1,normalizeWheel:w=!1,autoResize:S=!0,__experimental__naiveDimensions:_=!1}={}){this.__isSmooth=!1,this.__isScrolling=!1,this.__isStopped=!1,this.__isLocked=!1,this.onVirtualScroll=({deltaX:e,deltaY:t,event:i})=>{if(i.ctrlKey)return;const n=i.type.includes("touch"),r=i.type.includes("wheel");if(this.options.syncTouch&&n&&"touchstart"===i.type)return void this.reset();const o=0===e&&0===t,s="vertical"===this.options.gestureOrientation&&0===t||"horizontal"===this.options.gestureOrientation&&0===e;if(o||s)return;let a=i.composedPath();if(a=a.slice(0,a.indexOf(this.rootElement)),a.find((e=>{var t,i,o,s,a;return(null===(t=e.hasAttribute)||void 0===t?void 0:t.call(e,"data-lenis-prevent"))||n&&(null===(i=e.hasAttribute)||void 0===i?void 0:i.call(e,"data-lenis-prevent-touch"))||r&&(null===(o=e.hasAttribute)||void 0===o?void 0:o.call(e,"data-lenis-prevent-wheel"))||(null===(s=e.classList)||void 0===s?void 0:s.contains("lenis"))&&!(null===(a=e.classList)||void 0===a?void 0:a.contains("lenis-stopped"))})))return;if(this.isStopped||this.isLocked)return void i.preventDefault();if(this.isSmooth=this.options.syncTouch&&n||this.options.smoothWheel&&r,!this.isSmooth)return this.isScrolling=!1,void this.animate.stop();i.preventDefault();let l=t;"both"===this.options.gestureOrientation?l=Math.abs(t)>Math.abs(e)?t:e:"horizontal"===this.options.gestureOrientation&&(l=e);const c=n&&this.options.syncTouch,u=n&&"touchend"===i.type&&Math.abs(l)>5;u&&(l=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+l,Object.assign({programmatic:!1},c?{lerp:u?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}))},this.onNativeScroll=()=>{if(!this.__preventNextScrollEvent&&!this.isScrolling){const e=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.velocity=0,this.direction=Math.sign(this.animatedScroll-e),this.emit()}},window.lenisVersion="1.0.39",e!==document.documentElement&&e!==document.body||(e=window),this.options={wrapper:e,content:t,wheelEventsTarget:i,eventsTarget:n,smoothWheel:l,syncTouch:c,syncTouchLerp:u,touchInertiaMultiplier:h,duration:d,easing:p,lerp:f,infinite:g,gestureOrientation:m,orientation:v,touchMultiplier:y,wheelMultiplier:b,normalizeWheel:w,autoResize:S,__experimental__naiveDimensions:_},this.animate=new r,this.emitter=new s,this.dimensions=new o({wrapper:e,content:t,autoResize:S}),this.toggleClassName("lenis",!0),this.velocity=0,this.isLocked=!1,this.isStopped=!1,this.isSmooth=c||l,this.isScrolling=!1,this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,{passive:!1}),this.virtualScroll=new a(n,{touchMultiplier:y,wheelMultiplier:b,normalizeWheel:w}),this.virtualScroll.on("scroll",this.onVirtualScroll)}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,{passive:!1}),this.virtualScroll.destroy(),this.dimensions.destroy(),this.toggleClassName("lenis",!1),this.toggleClassName("lenis-smooth",!1),this.toggleClassName("lenis-scrolling",!1),this.toggleClassName("lenis-stopped",!1),this.toggleClassName("lenis-locked",!1)}on(e,t){return this.emitter.on(e,t)}off(e,t){return this.emitter.off(e,t)}setScroll(e){this.isHorizontal?this.rootElement.scrollLeft=e:this.rootElement.scrollTop=e}resize(){this.dimensions.resize()}emit(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.velocity=0,this.animate.stop()}start(){this.isStopped&&(this.isStopped=!1,this.reset())}stop(){this.isStopped||(this.isStopped=!0,this.animate.stop(),this.reset())}raf(e){const t=e-(this.time||e);this.time=e,this.animate.advance(.001*t)}scrollTo(e,{offset:t=0,immediate:i=!1,lock:r=!1,duration:o=this.options.duration,easing:s=this.options.easing,lerp:a=!o&&this.options.lerp,onComplete:l,force:c=!1,programmatic:u=!0}={}){if(!this.isStopped&&!this.isLocked||c){if(["top","left","start"].includes(e))e=0;else if(["bottom","right","end"].includes(e))e=this.limit;else{let i;if("string"==typeof e?i=document.querySelector(e):(null==e?void 0:e.nodeType)&&(i=e),i){if(this.options.wrapper!==window){const e=this.options.wrapper.getBoundingClientRect();t-=this.isHorizontal?e.left:e.top}const n=i.getBoundingClientRect();e=(this.isHorizontal?n.left:n.top)+this.animatedScroll}}if("number"==typeof e){if(e+=t,e=Math.round(e),this.options.infinite?u&&(this.targetScroll=this.animatedScroll=this.scroll):e=n(0,e,this.limit),i)return this.animatedScroll=this.targetScroll=e,this.setScroll(this.scroll),this.reset(),void(null==l||l(this));if(!u){if(e===this.targetScroll)return;this.targetScroll=e}this.animate.fromTo(this.animatedScroll,e,{duration:o,easing:s,lerp:a,onStart:()=>{r&&(this.isLocked=!0),this.isScrolling=!0},onUpdate:(e,t)=>{this.isScrolling=!0,this.velocity=e-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=e,this.setScroll(this.scroll),u&&(this.targetScroll=e),t||this.emit(),t&&(this.reset(),this.emit(),null==l||l(this),this.__preventNextScrollEvent=!0,requestAnimationFrame((()=>{delete this.__preventNextScrollEvent})))}})}}}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(){return this.isHorizontal?this.rootElement.scrollLeft:this.rootElement.scrollTop}get scroll(){return this.options.infinite?(this.animatedScroll%(e=this.limit)+e)%e:this.animatedScroll;var e}get progress(){return 0===this.limit?1:this.scroll/this.limit}get isSmooth(){return this.__isSmooth}set isSmooth(e){this.__isSmooth!==e&&(this.__isSmooth=e,this.toggleClassName("lenis-smooth",e))}get isScrolling(){return this.__isScrolling}set isScrolling(e){this.__isScrolling!==e&&(this.__isScrolling=e,this.toggleClassName("lenis-scrolling",e))}get isStopped(){return this.__isStopped}set isStopped(e){this.__isStopped!==e&&(this.__isStopped=e,this.toggleClassName("lenis-stopped",e))}get isLocked(){return this.__isLocked}set isLocked(e){this.__isLocked!==e&&(this.__isLocked=e,this.toggleClassName("lenis-locked",e))}get className(){let e="lenis";return this.isStopped&&(e+=" lenis-stopped"),this.isLocked&&(e+=" lenis-locked"),this.isScrolling&&(e+=" lenis-scrolling"),this.isSmooth&&(e+=" lenis-smooth"),e}toggleClassName(e,t){this.rootElement.classList.toggle(e,t),this.emitter.emit("className change",this)}}}},t={};function i(n){var r=t[n];if(void 0!==r)return r.exports;var o=t[n]={exports:{}};return e[n].call(o.exports,o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n);var e=i("./node_modules/mouse-follower/dist/index.module.js"),t=i("./node_modules/@studio-freight/lenis/dist/lenis.mjs"),r=i("./node_modules/gsap/ScrollTrigger.js"),o=i("./node_modules/lozad/dist/lozad.min.js"),s=i.n(o),a=function(e){return document.querySelector(e)},l=function(e){return document.querySelectorAll(e)};document.addEventListener("DOMContentLoaded",(function(){s()(".lozad",{rootMargin:"200px 0px",loaded:function(e){}}).observe()}));var c=new t.default({duration:3,easing:function(e){return Math.min(1,1.001-Math.pow(2,-10*e))},direction:"vertical",gestureDirection:"vertical",smooth:!0,smoothTouch:!1,touchMultiplier:2,infinite:!1,autoResize:!0});c.on("scroll",(function(e){})),requestAnimationFrame((function e(t){c.raf(t),requestAnimationFrame(e)})),document.addEventListener("DOMContentLoaded",(function(){var e=a("#toTop");function t(){(window.scrollY||document.documentElement.scrollTop)>1.2*window.innerHeight?e.style.display="block":e.style.display="none"}t(),window.addEventListener("scroll",t),a(".circle-arrow").addEventListener("click",(function(){gsap.to(window,{duration:2,delay:0,scrollTo:{y:".service-welcome"},ease:function(e){return Math.min(1,1.001-Math.pow(2,-10*e))}})})),e.addEventListener("click",(function(){gsap.to(window,{duration:2,delay:0,scrollTo:{y:0},ease:function(e){return Math.min(1,1.001-Math.pow(2,-10*e))}})}))})),document.addEventListener("DOMContentLoaded",(function(){function t(){if(innerWidth>767)new e.default}t(),window.addEventListener("resize",t)})),gsap.registerPlugin(r.ScrollTrigger),gsap.timeline({scrollTrigger:{trigger:".cb-intro-figure",start:"top 90%",end:"top 10",scrub:!0,markers:!1,toggleActions:"play none none reverse"}}).to(".cb-intro-figure",{width:"98%",height:"98vh",ease:"expo.inOut"}),gsap.registerPlugin(r.ScrollTrigger),gsap.timeline({scrollTrigger:{trigger:".hc-greeting-bg",start:"top 20%",end:"bottom top",scrub:2,markers:!1,toggleActions:"play none none reverse"}}).to(".hc-greeting-bg-media",{x:"-20%",ease:"expo.inOut"});var u=a(".mid-moon"),h=a(".action--close");a(".action--menuUzi").addEventListener("click",(function(){u.classList.add("mid-moon--light"),u.classList.remove("mid-moon--dark")})),h.addEventListener("click",(function(){u.classList.add("mid-moon--dark"),u.classList.remove("mid-moon--light")})),new Promise((function(e,t){document.addEventListener("DOMContentLoaded",(function(){fetch("includes/config.json").then((function(e){return e.json()})).then((function(t){!function(e){var t=function(t){e.hasOwnProperty(t)&&l(t).forEach((function(i){i?i.href=e[t]:console.error("Elements matching selector ".concat(t," not found."))}))};for(var i in e)t(i)}(t),e()})).catch((function(e){console.error("Error loading config:",e),t(e)}))}))})).then((function(){console.log("%c Greetings from Hypercritical","color:white;background:#c389e1; font-size: 26px;font-family:sans-serif")})).catch((function(e){console.error("Failed to load configuration or assign links:",e)})),document.addEventListener("DOMContentLoaded",(function(){gsap.registerPlugin(r.ScrollTrigger);var e=gsap.utils.toArray(".white-section"),t=a(".top-arrow-wrapper"),i=a(".top-arrow-path"),n=a(".menu-name"),o=l(".menu-dot-line");function s(){i.style.stroke="var(--color-bg)",t.style.fill="var(--color-black)",o.forEach((function(e){e.style.background="var(--color-black)"})),n.style.color="var(--color-black)"}function c(){i.style.stroke="var(--color-black)",t.style.fill="var(--color-bg)",o.forEach((function(e){e.style.background="var(--color-bg)"})),n.style.color="var(--color-bg)"}e.forEach((function(e,t){gsap.timeline({scrollTrigger:{trigger:e,id:t+1,start:"top top",endtrigger:e,end:"bottom bottom",scrub:!0,onEnter:function(){return c()},onLeave:function(){return s()},onEnterBack:function(){return c()},onLeaveBack:function(){return s()}}})}))})),gsap.registerPlugin(SplitText);a(".hero-largelogo"),new SplitText(".innerservice",{type:"chars",charsClass:"inner-service2"});new Promise((function(e,t){document.addEventListener("DOMContentLoaded",(function(){fetch("includes/config-data.json").then((function(e){return e.json()})).then((function(t){!function(e){var t=function(t){e.hasOwnProperty(t)&&l(t).forEach((function(i){i?i.innerHTML=e[t]:console.error("Elements matching selector ".concat(t," not found."))}))};for(var i in e)t(i)}(t),e()})).catch((function(e){console.error("Error loading config:",e),t(e)}))}))})).then((function(){})).catch((function(e){console.error("Failed to load configuration or assign links:",e)}))})()})();