anegis-webflow-new 4.0.3 → 4.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +7 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
"use strict";(()=>{var hc=Object.defineProperty;var mc=(a,e,t)=>e in a?hc(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var
|
|
1
|
+
"use strict";(()=>{var hc=Object.defineProperty;var mc=(a,e,t)=>e in a?hc(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var G=(a,e,t)=>mc(a,typeof e!="symbol"?e+"":e,t);function qo(){let a=document.querySelector("[data-challenge-list]"),e=document.querySelector("[data-heading-card]"),t=document.querySelector("[data-cta-card]");a&&e&&a.insertAdjacentElement("afterbegin",e),a&&t&&a.insertAdjacentElement("beforeend",t)}var No=()=>{};function cs(a){let e=a.match(/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i);return e?[parseInt(e[1],16)/255,parseInt(e[2],16)/255,parseInt(e[3],16)/255]:null}var _c=[.224,.478,.463],gc=[.106,.275,.435],vc=[.047,.047,.047],Fo=()=>{let a=document.querySelectorAll("[data-blob-main]");a.length!==0&&a.forEach(e=>{let t=e;t.innerHTML="";let r=t.getAttribute("data-color-1"),n=t.getAttribute("data-color-2"),i=t.getAttribute("data-color-3"),s=t.getAttribute("data-blur")||"1.2rem",o=r&&cs(r)||_c,l=n&&cs(n)||gc,c=i&&cs(i)||vc,u=document.createElement("canvas");u.style.cssText=`position:absolute;inset:0;width:100%;height:100%;filter:blur(${s});`,t.appendChild(u);let d=document.createElement("canvas");d.style.cssText="position:absolute;inset:0;width:100%;height:100%;pointer-events:none;mix-blend-mode:overlay;",t.appendChild(d);let p=d.getContext("2d"),f=u.getContext("webgl");if(!f){console.error("WebGL not supported");return}let m=`
|
|
2
2
|
attribute vec2 a_position;
|
|
3
3
|
varying vec2 v_uv;
|
|
4
4
|
void main() {
|
|
5
5
|
v_uv = a_position * 0.5 + 0.5;
|
|
6
6
|
gl_Position = vec4(a_position, 0.0, 1.0);
|
|
7
7
|
}
|
|
8
|
-
`,
|
|
8
|
+
`,h=`
|
|
9
9
|
precision highp float;
|
|
10
10
|
|
|
11
11
|
varying vec2 v_uv;
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
|
|
101
101
|
gl_FragColor = vec4(finalColor, 1.0);
|
|
102
102
|
}
|
|
103
|
-
`;function _(W,ie,le){let J=W.createShader(ie);return J?(W.shaderSource(J,le),W.compileShader(J),W.getShaderParameter(J,W.COMPILE_STATUS)?J:(console.error("Shader compile error:",W.getShaderInfoLog(J)),W.deleteShader(J),null)):null}let v=_(f,f.VERTEX_SHADER,m),y=_(f,f.FRAGMENT_SHADER,p);if(!v||!y)return;let T=f.createProgram();if(!T)return;if(f.attachShader(T,v),f.attachShader(T,y),f.linkProgram(T),!f.getProgramParameter(T,f.LINK_STATUS)){console.error("Program link error:",f.getProgramInfoLog(T));return}let b=f.createBuffer();f.bindBuffer(f.ARRAY_BUFFER,b),f.bufferData(f.ARRAY_BUFFER,new Float32Array([-1,-1,1,-1,-1,1,-1,1,1,-1,1,1]),f.STATIC_DRAW);let M=f.getAttribLocation(T,"a_position"),k=f.getUniformLocation(T,"u_time"),S=f.getUniformLocation(T,"u_resolution"),x=f.getUniformLocation(T,"u_color1"),E=f.getUniformLocation(T,"u_color2"),A=f.getUniformLocation(T,"u_colorBg");function O(){let W=window.devicePixelRatio||1,ie=Math.floor(u.clientWidth*W),le=Math.floor(u.clientHeight*W);(u.width!==ie||u.height!==le)&&(u.width=ie,u.height=le),(d.width!==ie||d.height!==le)&&(d.width=ie,d.height=le)}let L,q=performance.now(),I=0,G=12,B=.08,R=4,V=null;function ne(){O(),f.viewport(0,0,u.width,u.height),f.useProgram(T);let W=(performance.now()-q)/1e3;f.uniform1f(k,W),f.uniform2f(S,u.width,u.height),f.uniform3f(x,o[0],o[1],o[2]),f.uniform3f(E,l[0],l[1],l[2]),f.uniform3f(A,c[0],c[1],c[2]),f.enableVertexAttribArray(M),f.bindBuffer(f.ARRAY_BUFFER,b),f.vertexAttribPointer(M,2,f.FLOAT,!1,0,0),f.drawArrays(f.TRIANGLES,0,6);let ie=performance.now();if(h&&ie-I>1e3/G){I=ie;let le=Math.ceil(d.width/R),J=Math.ceil(d.height/R);(!V||V.width!==le||V.height!==J)&&(V=h.createImageData(le,J));let{data:pe}=V;for(let he=0;he<pe.length;he+=4){let ue=(Math.random()-.5)*255*B;pe[he]=128+ue,pe[he+1]=128+ue,pe[he+2]=128+ue,pe[he+3]=255}h.clearRect(0,0,d.width,d.height),h.imageSmoothingEnabled=!1,h.putImageData(V,0,0),h.drawImage(d,0,0,le,J,0,0,d.width,d.height)}L=requestAnimationFrame(ne)}ne();let g=new MutationObserver(W=>{for(let ie of W)for(let le of ie.removedNodes)(le===u||le instanceof Element&&le.contains(u))&&(cancelAnimationFrame(L),g.disconnect())});g.observe(t.parentElement||document.body,{childList:!0,subtree:!0}),requestAnimationFrame(()=>{t.style.opacity="1"})})};function zo(){document.querySelectorAll(".content-col").forEach(a=>{let e=a.querySelector('[data-scroll="vertical"]'),t=a.querySelector(".content-arrow.is-top"),r=a.querySelector(".content-arrow:not(.is-top)");if(!e)return;let n=Array.from(e.querySelectorAll(".content-col-item"));if(n.length<3)return;let i=n[0].getBoundingClientRect(),o=n[1].getBoundingClientRect().top-i.top,l=o-i.height,c=3*i.height+2*l,u=document.createElement("div");u.style.height=`${c}px`,u.style.overflow="hidden",e.parentNode?.insertBefore(u,e),u.appendChild(e);let d=n.length*o-l;e.style.cssText+=`; overflow: visible !important; height: ${d}px !important; min-height: 0 !important; max-height: none !important;`;let h=n.findIndex(y=>y.classList.contains("is-active"));h===-1&&(h=0);let f=(h-1+n.length)%n.length;for(let y=0;y<f;y++){let T=e.querySelector(".content-col-item");T&&e.appendChild(T)}gsap.set(e,{y:0}),p();let m=!1;function p(){Array.from(e.querySelectorAll(".content-col-item")).forEach((y,T)=>{y.classList.toggle("is-active",T===1)})}function _(){m||(m=!0,gsap.to(e,{y:-o,duration:.6,ease:"power3.inOut",onComplete(){let y=e.querySelector(".content-col-item");y&&e.appendChild(y),gsap.set(e,{y:0}),p(),m=!1}}))}function v(){if(m)return;m=!0;let y=Array.from(e.querySelectorAll(".content-col-item")),T=y[y.length-1];e.insertBefore(T,e.querySelector(".content-col-item")),gsap.set(e,{y:-o}),gsap.to(e,{y:0,duration:.6,ease:"power3.inOut",onComplete(){p(),m=!1}})}t?.addEventListener("click",v),r?.addEventListener("click",_)})}function rr(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function $o(a,e){a.prototype=Object.create(e.prototype),a.prototype.constructor=a,a.__proto__=e}var mt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},an={duration:.5,overwrite:!1,delay:0},Ls,Be,de,Ct=1e8,ae=1/Ct,gs=Math.PI*2,yc=gs/4,bc=0,Qo=Math.sqrt,wc=Math.cos,Tc=Math.sin,Oe=function(e){return typeof e=="string"},we=function(e){return typeof e=="function"},ir=function(e){return typeof e=="number"},Si=function(e){return typeof e>"u"},Ut=function(e){return typeof e=="object"},ht=function(e){return e!==!1},As=function(){return typeof window<"u"},_i=function(e){return we(e)||Oe(e)},jo=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Ke=Array.isArray,xc=/random\([^)]+\)/g,Ec=/,\s*/g,Bo=/(?:-?\.?\d|\.)+/gi,ks=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Fr=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,us=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Cs=/[+-]=-?[.\d]+/,Sc=/[^,'"\[\]\s]+/gi,Mc=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ge,Vt,vs,Ps,wt={},bi={},Zo,Jo=function(e){return(bi=ln(e,wt))&&$e},Mi=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},In=function(e,t){return!t&&console.warn(e)},ea=function(e,t){return e&&(wt[e]=t)&&bi&&(bi[e]=t)||wt},qn=function(){return 0},Lc={suppressEvents:!0,isStart:!0,kill:!1},gi={suppressEvents:!0,kill:!1},Ac={suppressEvents:!0},Os={},yr=[],ys={},ta,dt={},fs={},Wo=30,vi=[],Ds="",Rs=function(e){var t=e[0],r,n;if(Ut(t)||we(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(n=vi.length;n--&&!vi[n].targetTest(t););r=vi[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new Ns(e[n],r)))||e.splice(n,1);return e},br=function(e){return e._gsap||Rs(Pt(e))[0]._gsap},Hs=function(e,t,r){return(r=e[t])&&we(r)?e[t]():Si(r)&&e.getAttribute&&e.getAttribute(t)||r},nt=function(e,t){return(e=e.split(",")).forEach(t)||e},Te=function(e){return Math.round(e*1e5)/1e5||0},_e=function(e){return Math.round(e*1e7)/1e7||0},zr=function(e,t){var r=t.charAt(0),n=parseFloat(t.substr(2));return e=parseFloat(e),r==="+"?e+n:r==="-"?e-n:r==="*"?e*n:e/n},kc=function(e,t){for(var r=t.length,n=0;e.indexOf(t[n])<0&&++n<r;);return n<r},wi=function(){var e=yr.length,t=yr.slice(0),r,n;for(ys={},yr.length=0,r=0;r<e;r++)n=t[r],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},Is=function(e){return!!(e._initted||e._startAt||e.add)},ra=function(e,t,r,n){yr.length&&!Be&&wi(),e.render(t,r,n||!!(Be&&t<0&&Is(e))),yr.length&&!Be&&wi()},na=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(Sc).length<2?t:Oe(e)?e.trim():e},ia=function(e){return e},Tt=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},Cc=function(e){return function(t,r){for(var n in r)n in t||n==="duration"&&e||n==="ease"||(t[n]=r[n])}},ln=function(e,t){for(var r in t)e[r]=t[r];return e},Yo=function a(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Ut(t[r])?a(e[r]||(e[r]={}),t[r]):t[r]);return e},Ti=function(e,t){var r={},n;for(n in e)n in t||(r[n]=e[n]);return r},Dn=function(e){var t=e.parent||ge,r=e.keyframes?Cc(Ke(e.keyframes)):Tt;if(ht(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},Pc=function(e,t){for(var r=e.length,n=r===t.length;n&&r--&&e[r]===t[r];);return r<0},sa=function(e,t,r,n,i){r===void 0&&(r="_first"),n===void 0&&(n="_last");var s=e[n],o;if(i)for(o=t[i];s&&s[i]>o;)s=s._prev;return s?(t._next=s._next,s._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[n]=t,t._prev=s,t.parent=t._dp=e,t},Li=function(e,t,r,n){r===void 0&&(r="_first"),n===void 0&&(n="_last");var i=t._prev,s=t._next;i?i._next=s:e[r]===t&&(e[r]=s),s?s._prev=i:e[n]===t&&(e[n]=i),t._next=t._prev=t.parent=null},wr=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Ir=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},Oc=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},bs=function(e,t,r,n){return e._startAt&&(Be?e._startAt.revert(gi):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))},Dc=function a(e){return!e||e._ts&&a(e.parent)},Go=function(e){return e._repeat?cn(e._tTime,e=e.duration()+e._rDelay)*e:0},cn=function(e,t){var r=Math.floor(e=_e(e/t));return e&&r===e?r-1:r},xi=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Ai=function(e){return e._end=_e(e._start+(e._tDur/Math.abs(e._ts||e._rts||ae)||0))},ki=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=_e(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Ai(e),r._dirty||Ir(r,e)),e},oa=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=xi(e.rawTime(),t),(!t._dur||zn(0,t.totalDuration(),r)-t._tTime>ae)&&t.render(r,!0)),Ir(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-ae}},Xt=function(e,t,r,n){return t.parent&&wr(t),t._start=_e((ir(r)?r:r||e!==ge?kt(e,r,t):e._time)+t._delay),t._end=_e(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),sa(e,t,"_first","_last",e._sort?"_start":0),ws(t)||(e._recent=t),n||oa(e,t),e._ts<0&&ki(e,e._tTime),e},aa=function(e,t){return(wt.ScrollTrigger||Mi("scrollTrigger",t))&&wt.ScrollTrigger.create(t,e)},la=function(e,t,r,n,i){if(Bs(e,t,i),!e._initted)return 1;if(!r&&e._pt&&!Be&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&ta!==pt.frame)return yr.push(e),e._lazy=[i,n],1},Rc=function a(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||a(t))},ws=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},Hc=function(e,t,r,n){var i=e.ratio,s=t<0||!t&&(!e._start&&Rc(e)&&!(!e._initted&&ws(e))||(e._ts<0||e._dp._ts<0)&&!ws(e))?0:1,o=e._rDelay,l=0,c,u,d;if(o&&e._repeat&&(l=zn(0,e._tDur,t),u=cn(l,o),e._yoyo&&u&1&&(s=1-s),u!==cn(e._tTime,o)&&(i=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==i||Be||n||e._zTime===ae||!t&&e._zTime){if(!e._initted&&la(e,t,n,r,l))return;for(d=e._zTime,e._zTime=t||(r?ae:0),r||(r=t&&!d),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=l,c=e._pt;c;)c.r(s,c.d),c=c._next;t<0&&bs(e,t,r,!0),e._onUpdate&&!r&&bt(e,"onUpdate"),l&&e._repeat&&!r&&e.parent&&bt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===s&&(s&&wr(e,1),!r&&!Be&&(bt(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},Ic=function(e,t,r){var n;if(r>t)for(n=e._first;n&&n._start<=r;){if(n.data==="isPause"&&n._start>t)return n;n=n._next}else for(n=e._last;n&&n._start>=r;){if(n.data==="isPause"&&n._start<t)return n;n=n._prev}},un=function(e,t,r,n){var i=e._repeat,s=_e(t)||0,o=e._tTime/e._tDur;return o&&!n&&(e._time*=s/e._dur),e._dur=s,e._tDur=i?i<0?1e10:_e(s*(i+1)+e._rDelay*i):s,o>0&&!n&&ki(e,e._tTime=e._tDur*o),e.parent&&Ai(e),r||Ir(e.parent,e),e},Vo=function(e){return e instanceof ze?Ir(e):un(e,e._dur)},qc={_start:0,endTime:qn,totalDuration:qn},kt=function a(e,t,r){var n=e.labels,i=e._recent||qc,s=e.duration()>=Ct?i.endTime(!1):e._dur,o,l,c;return Oe(t)&&(isNaN(t)||t in n)?(l=t.charAt(0),c=t.substr(-1)==="%",o=t.indexOf("="),l==="<"||l===">"?(o>=0&&(t=t.replace(/=/,"")),(l==="<"?i._start:i.endTime(i._repeat>=0))+(parseFloat(t.substr(1))||0)*(c?(o<0?i:r).totalDuration()/100:1)):o<0?(t in n||(n[t]=s),n[t]):(l=parseFloat(t.charAt(o-1)+t.substr(o+1)),c&&r&&(l=l/100*(Ke(r)?r[0]:r).totalDuration()),o>1?a(e,t.substr(0,o-1),r)+l:s+l)):t==null?s:+t},Rn=function(e,t,r){var n=ir(t[1]),i=(n?2:1)+(e<2?0:1),s=t[i],o,l;if(n&&(s.duration=t[1]),s.parent=r,e){for(o=s,l=r;l&&!("immediateRender"in o);)o=l.vars.defaults||{},l=ht(l.vars.inherit)&&l.parent;s.immediateRender=ht(o.immediateRender),e<2?s.runBackwards=1:s.startAt=t[i-1]}return new Le(t[0],s,t[i+1])},Tr=function(e,t){return e||e===0?t(e):t},zn=function(e,t,r){return r<e?e:r>t?t:r},We=function(e,t){return!Oe(e)||!(t=Mc.exec(e))?"":t[1]},Nc=function(e,t,r){return Tr(r,function(n){return zn(e,t,n)})},Ts=[].slice,ca=function(e,t){return e&&Ut(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&Ut(e[0]))&&!e.nodeType&&e!==Vt},Fc=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(n){var i;return Oe(n)&&!t||ca(n,1)?(i=r).push.apply(i,Pt(n)):r.push(n)})||r},Pt=function(e,t,r){return de&&!t&&de.selector?de.selector(e):Oe(e)&&!r&&(vs||!fn())?Ts.call((t||Ps).querySelectorAll(e),0):Ke(e)?Fc(e,r):ca(e)?Ts.call(e,0):e?[e]:[]},xs=function(e){return e=Pt(e)[0]||In("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return Pt(t,r.querySelectorAll?r:r===e?In("Invalid scope")||Ps.createElement("div"):e)}},ua=function(e){return e.sort(function(){return .5-Math.random()})},fa=function(e){if(we(e))return e;var t=Ut(e)?e:{each:e},r=qr(t.ease),n=t.from||0,i=parseFloat(t.base)||0,s={},o=n>0&&n<1,l=isNaN(n)||o,c=t.axis,u=n,d=n;return Oe(n)?u=d={center:.5,edges:.5,end:1}[n]||0:!o&&l&&(u=n[0],d=n[1]),function(h,f,m){var p=(m||t).length,_=s[p],v,y,T,b,M,k,S,x,E;if(!_){if(E=t.grid==="auto"?0:(t.grid||[1,Ct])[1],!E){for(S=-Ct;S<(S=m[E++].getBoundingClientRect().left)&&E<p;);E<p&&E--}for(_=s[p]=[],v=l?Math.min(E,p)*u-.5:n%E,y=E===Ct?0:l?p*d/E-.5:n/E|0,S=0,x=Ct,k=0;k<p;k++)T=k%E-v,b=y-(k/E|0),_[k]=M=c?Math.abs(c==="y"?b:T):Qo(T*T+b*b),M>S&&(S=M),M<x&&(x=M);n==="random"&&ua(_),_.max=S-x,_.min=x,_.v=p=(parseFloat(t.amount)||parseFloat(t.each)*(E>p?p-1:c?c==="y"?p/E:E:Math.max(E,p/E))||0)*(n==="edges"?-1:1),_.b=p<0?i-p:i,_.u=We(t.amount||t.each)||0,r=r&&p<0?ba(r):r}return p=(_[h]-_.min)/_.max||0,_e(_.b+(r?r(p):p)*_.v)+_.u}},Es=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var n=_e(Math.round(parseFloat(r)/e)*e*t);return(n-n%1)/t+(ir(r)?0:We(r))}},da=function(e,t){var r=Ke(e),n,i;return!r&&Ut(e)&&(n=r=e.radius||Ct,e.values?(e=Pt(e.values),(i=!ir(e[0]))&&(n*=n)):e=Es(e.increment)),Tr(t,r?we(e)?function(s){return i=e(s),Math.abs(i-s)<=n?i:s}:function(s){for(var o=parseFloat(i?s.x:s),l=parseFloat(i?s.y:0),c=Ct,u=0,d=e.length,h,f;d--;)i?(h=e[d].x-o,f=e[d].y-l,h=h*h+f*f):h=Math.abs(e[d]-o),h<c&&(c=h,u=d);return u=!n||c<=n?e[u]:s,i||u===s||ir(s)?u:u+We(s)}:Es(e))},pa=function(e,t,r,n){return Tr(Ke(e)?!t:r===!0?!!(r=0):!n,function(){return Ke(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(n=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(t-e+r*.99))/r)*r*n)/n})},zc=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return t.reduce(function(i,s){return s(i)},n)}},Bc=function(e,t){return function(r){return e(parseFloat(r))+(t||We(r))}},Wc=function(e,t,r){return ma(e,t,0,1,r)},ha=function(e,t,r){return Tr(r,function(n){return e[~~t(n)]})},Yc=function a(e,t,r){var n=t-e;return Ke(e)?ha(e,a(0,e.length),t):Tr(r,function(i){return(n+(i-e)%n)%n+e})},Gc=function a(e,t,r){var n=t-e,i=n*2;return Ke(e)?ha(e,a(0,e.length-1),t):Tr(r,function(s){return s=(i+(s-e)%i)%i||0,e+(s>n?i-s:s)})},dn=function(e){return e.replace(xc,function(t){var r=t.indexOf("[")+1,n=t.substring(r||7,r?t.indexOf("]"):t.length-1).split(Ec);return pa(r?n:+n[0],r?0:+n[1],+n[2]||1e-5)})},ma=function(e,t,r,n,i){var s=t-e,o=n-r;return Tr(i,function(l){return r+((l-e)/s*o||0)})},Vc=function a(e,t,r,n){var i=isNaN(e+t)?0:function(f){return(1-f)*e+f*t};if(!i){var s=Oe(e),o={},l,c,u,d,h;if(r===!0&&(n=1)&&(r=null),s)e={p:e},t={p:t};else if(Ke(e)&&!Ke(t)){for(u=[],d=e.length,h=d-2,c=1;c<d;c++)u.push(a(e[c-1],e[c]));d--,i=function(m){m*=d;var p=Math.min(h,~~m);return u[p](m-p)},r=t}else n||(e=ln(Ke(e)?[]:{},e));if(!u){for(l in t)Fs.call(o,e,l,"get",t[l]);i=function(m){return Gs(m,o)||(s?e.p:e)}}}return Tr(r,i)},Xo=function(e,t,r){var n=e.labels,i=Ct,s,o,l;for(s in n)o=n[s]-t,o<0==!!r&&o&&i>(o=Math.abs(o))&&(l=s,i=o);return l},bt=function(e,t,r){var n=e.vars,i=n[t],s=de,o=e._ctx,l,c,u;if(i)return l=n[t+"Params"],c=n.callbackScope||e,r&&yr.length&&wi(),o&&(de=o),u=l?i.apply(c,l):i.call(c),de=s,u},Pn=function(e){return wr(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Be),e.progress()<1&&bt(e,"onInterrupt"),e},on,_a=[],ga=function(e){if(e)if(e=!e.name&&e.default||e,As()||e.headless){var t=e.name,r=we(e),n=t&&!r&&e.init?function(){this._props=[]}:e,i={init:qn,render:Gs,add:Fs,kill:au,modifier:ou,rawVars:0},s={targetTest:0,get:0,getSetter:Ci,aliases:{},register:0};if(fn(),e!==n){if(dt[t])return;Tt(n,Tt(Ti(e,i),s)),ln(n.prototype,ln(i,Ti(e,s))),dt[n.prop=t]=n,e.targetTest&&(vi.push(n),Os[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}ea(t,n),e.register&&e.register($e,n,it)}else _a.push(e)},oe=255,On={aqua:[0,oe,oe],lime:[0,oe,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,oe],navy:[0,0,128],white:[oe,oe,oe],olive:[128,128,0],yellow:[oe,oe,0],orange:[oe,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[oe,0,0],pink:[oe,192,203],cyan:[0,oe,oe],transparent:[oe,oe,oe,0]},ds=function(e,t,r){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(r-t)*e*6:e<.5?r:e*3<2?t+(r-t)*(2/3-e)*6:t)*oe+.5|0},va=function(e,t,r){var n=e?ir(e)?[e>>16,e>>8&oe,e&oe]:0:On.black,i,s,o,l,c,u,d,h,f,m;if(!n){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),On[e])n=On[e];else if(e.charAt(0)==="#"){if(e.length<6&&(i=e.charAt(1),s=e.charAt(2),o=e.charAt(3),e="#"+i+i+s+s+o+o+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return n=parseInt(e.substr(1,6),16),[n>>16,n>>8&oe,n&oe,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),n=[e>>16,e>>8&oe,e&oe]}else if(e.substr(0,3)==="hsl"){if(n=m=e.match(Bo),!t)l=+n[0]%360/360,c=+n[1]/100,u=+n[2]/100,s=u<=.5?u*(c+1):u+c-u*c,i=u*2-s,n.length>3&&(n[3]*=1),n[0]=ds(l+1/3,i,s),n[1]=ds(l,i,s),n[2]=ds(l-1/3,i,s);else if(~e.indexOf("="))return n=e.match(ks),r&&n.length<4&&(n[3]=1),n}else n=e.match(Bo)||On.transparent;n=n.map(Number)}return t&&!m&&(i=n[0]/oe,s=n[1]/oe,o=n[2]/oe,d=Math.max(i,s,o),h=Math.min(i,s,o),u=(d+h)/2,d===h?l=c=0:(f=d-h,c=u>.5?f/(2-d-h):f/(d+h),l=d===i?(s-o)/f+(s<o?6:0):d===s?(o-i)/f+2:(i-s)/f+4,l*=60),n[0]=~~(l+.5),n[1]=~~(c*100+.5),n[2]=~~(u*100+.5)),r&&n.length<4&&(n[3]=1),n},ya=function(e){var t=[],r=[],n=-1;return e.split(nr).forEach(function(i){var s=i.match(Fr)||[];t.push.apply(t,s),r.push(n+=s.length+1)}),t.c=r,t},Uo=function(e,t,r){var n="",i=(e+n).match(nr),s=t?"hsla(":"rgba(",o=0,l,c,u,d;if(!i)return e;if(i=i.map(function(h){return(h=va(h,t,1))&&s+(t?h[0]+","+h[1]+"%,"+h[2]+"%,"+h[3]:h.join(","))+")"}),r&&(u=ya(e),l=r.c,l.join(n)!==u.c.join(n)))for(c=e.replace(nr,"1").split(Fr),d=c.length-1;o<d;o++)n+=c[o]+(~l.indexOf(o)?i.shift()||s+"0,0,0,0)":(u.length?u:i.length?i:r).shift());if(!c)for(c=e.split(nr),d=c.length-1;o<d;o++)n+=c[o]+i[o];return n+c[d]},nr=function(){var a="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in On)a+="|"+e+"\\b";return new RegExp(a+")","gi")}(),Xc=/hsl[a]?\(/,qs=function(e){var t=e.join(" "),r;if(nr.lastIndex=0,nr.test(t))return r=Xc.test(t),e[1]=Uo(e[1],r),e[0]=Uo(e[0],r,ya(e[1])),!0},Nn,pt=function(){var a=Date.now,e=500,t=33,r=a(),n=r,i=1e3/240,s=i,o=[],l,c,u,d,h,f,m=function p(_){var v=a()-n,y=_===!0,T,b,M,k;if((v>e||v<0)&&(r+=v-t),n+=v,M=n-r,T=M-s,(T>0||y)&&(k=++d.frame,h=M-d.time*1e3,d.time=M=M/1e3,s+=T+(T>=i?4:i-T),b=1),y||(l=c(p)),b)for(f=0;f<o.length;f++)o[f](M,h,k,_)};return d={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(_){return h/(1e3/(_||60))},wake:function(){Zo&&(!vs&&As()&&(Vt=vs=window,Ps=Vt.document||{},wt.gsap=$e,(Vt.gsapVersions||(Vt.gsapVersions=[])).push($e.version),Jo(bi||Vt.GreenSockGlobals||!Vt.gsap&&Vt||{}),_a.forEach(ga)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&d.sleep(),c=u||function(_){return setTimeout(_,s-d.time*1e3+1|0)},Nn=1,m(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(l),Nn=0,c=qn},lagSmoothing:function(_,v){e=_||1/0,t=Math.min(v||33,e)},fps:function(_){i=1e3/(_||240),s=d.time*1e3+i},add:function(_,v,y){var T=v?function(b,M,k,S){_(b,M,k,S),d.remove(T)}:_;return d.remove(_),o[y?"unshift":"push"](T),fn(),T},remove:function(_,v){~(v=o.indexOf(_))&&o.splice(v,1)&&f>=v&&f--},_listeners:o},d}(),fn=function(){return!Nn&&pt.wake()},Z={},Uc=/^[\d.\-M][\d.\-,\s]/,Kc=/["']/g,$c=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),n=r[0],i=1,s=r.length,o,l,c;i<s;i++)l=r[i],o=i!==s-1?l.lastIndexOf(","):l.length,c=l.substr(0,o),t[n]=isNaN(c)?c.replace(Kc,"").trim():+c,n=l.substr(o+1).trim();return t},Qc=function(e){var t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.indexOf("(",t);return e.substring(t,~n&&n<r?e.indexOf(")",r+1):r)},jc=function(e){var t=(e+"").split("("),r=Z[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[$c(t[1])]:Qc(e).split(",").map(na)):Z._CE&&Uc.test(e)?Z._CE("",e):r},ba=function(e){return function(t){return 1-e(1-t)}},wa=function a(e,t){for(var r=e._first,n;r;)r instanceof ze?a(r,t):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==t&&(r.timeline?a(r.timeline,t):(n=r._ease,r._ease=r._yEase,r._yEase=n,r._yoyo=t)),r=r._next},qr=function(e,t){return e&&(we(e)?e:Z[e]||jc(e))||t},Br=function(e,t,r,n){r===void 0&&(r=function(l){return 1-t(1-l)}),n===void 0&&(n=function(l){return l<.5?t(l*2)/2:1-t((1-l)*2)/2});var i={easeIn:t,easeOut:r,easeInOut:n},s;return nt(e,function(o){Z[o]=wt[o]=i,Z[s=o.toLowerCase()]=r;for(var l in i)Z[s+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=Z[o+"."+l]=i[l]}),i},Ta=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},ps=function a(e,t,r){var n=t>=1?t:1,i=(r||(e?.3:.45))/(t<1?t:1),s=i/gs*(Math.asin(1/n)||0),o=function(u){return u===1?1:n*Math.pow(2,-10*u)*Tc((u-s)*i)+1},l=e==="out"?o:e==="in"?function(c){return 1-o(1-c)}:Ta(o);return i=gs/i,l.config=function(c,u){return a(e,c,u)},l},hs=function a(e,t){t===void 0&&(t=1.70158);var r=function(s){return s?--s*s*((t+1)*s+t)+1:0},n=e==="out"?r:e==="in"?function(i){return 1-r(1-i)}:Ta(r);return n.config=function(i){return a(e,i)},n};nt("Linear,Quad,Cubic,Quart,Quint,Strong",function(a,e){var t=e<5?e+1:e;Br(a+",Power"+(t-1),e?function(r){return Math.pow(r,t)}:function(r){return r},function(r){return 1-Math.pow(1-r,t)},function(r){return r<.5?Math.pow(r*2,t)/2:1-Math.pow((1-r)*2,t)/2})});Z.Linear.easeNone=Z.none=Z.Linear.easeIn;Br("Elastic",ps("in"),ps("out"),ps());(function(a,e){var t=1/e,r=2*t,n=2.5*t,i=function(o){return o<t?a*o*o:o<r?a*Math.pow(o-1.5/e,2)+.75:o<n?a*(o-=2.25/e)*o+.9375:a*Math.pow(o-2.625/e,2)+.984375};Br("Bounce",function(s){return 1-i(1-s)},i)})(7.5625,2.75);Br("Expo",function(a){return Math.pow(2,10*(a-1))*a+a*a*a*a*a*a*(1-a)});Br("Circ",function(a){return-(Qo(1-a*a)-1)});Br("Sine",function(a){return a===1?1:-wc(a*yc)+1});Br("Back",hs("in"),hs("out"),hs());Z.SteppedEase=Z.steps=wt.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,n=e+(t?0:1),i=t?1:0,s=1-ae;return function(o){return((n*zn(0,s,o)|0)+i)*r}}};an.ease=Z["quad.out"];nt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(a){return Ds+=a+","+a+"Params,"});var Ns=function(e,t){this.id=bc++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:Hs,this.set=t?t.getSetter:Ci},Fn=function(){function a(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,un(this,+t.duration,1,1),this.data=t.data,de&&(this._ctx=de,de.data.push(this)),Nn||pt.wake()}var e=a.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,un(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,n){if(fn(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(ki(this,r),!i._dp||i.parent||oa(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&Xt(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!n||this._initted&&Math.abs(this._zTime)===ae||!this._initted&&this._dur&&r||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),ra(this,r,n)),this},e.time=function(r,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Go(this))%(this._dur+this._rDelay)||(r?this._dur:0),n):this._time},e.totalProgress=function(r,n){return arguments.length?this.totalTime(this.totalDuration()*r,n):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(r,n){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+Go(this),n):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,n){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*i,n):this._repeat?cn(this._tTime,i)+1:1},e.timeScale=function(r,n){if(!arguments.length)return this._rts===-ae?0:this._rts;if(this._rts===r)return this;var i=this.parent&&this._ts?xi(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-ae?0:this._rts,this.totalTime(zn(-Math.abs(this._delay),this.totalDuration(),i),n!==!1),Ai(this),Oc(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(fn(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==ae&&(this._tTime-=ae)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=_e(r);var n=this.parent||this._dp;return n&&(n._sort||!this.parent)&&Xt(n,this,this._start-this._delay),this}return this._start},e.endTime=function(r){return this._start+(ht(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var n=this.parent||this._dp;return n?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?xi(n.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=Ac);var n=Be;return Be=r,Is(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),Be=n,this},e.globalTime=function(r){for(var n=this,i=arguments.length?r:n.rawTime();n;)i=n._start+i/(Math.abs(n._ts)||1),n=n._dp;return!this.parent&&this._sat?this._sat.globalTime(r):i},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,Vo(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var n=this._time;return this._rDelay=r,Vo(this),n?this.time(n):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,n){return this.totalTime(kt(this,r),ht(n))},e.restart=function(r,n){return this.play().totalTime(r?-this._delay:0,ht(n)),this._dur||(this._zTime=-ae),this},e.play=function(r,n){return r!=null&&this.seek(r,n),this.reversed(!1).paused(!1)},e.reverse=function(r,n){return r!=null&&this.seek(r||this.totalDuration(),n),this.reversed(!0).paused(!1)},e.pause=function(r,n){return r!=null&&this.seek(r,n),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-ae:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-ae,this},e.isActive=function(){var r=this.parent||this._dp,n=this._start,i;return!!(!r||this._ts&&this._initted&&r.isActive()&&(i=r.rawTime(!0))>=n&&i<this.endTime(!0)-ae)},e.eventCallback=function(r,n,i){var s=this.vars;return arguments.length>1?(n?(s[r]=n,i&&(s[r+"Params"]=i),r==="onUpdate"&&(this._onUpdate=n)):delete s[r],this):s[r]},e.then=function(r){var n=this,i=n._prom;return new Promise(function(s){var o=we(r)?r:ia,l=function(){var u=n.then;n.then=null,i&&i(),we(o)&&(o=o(n))&&(o.then||o===n)&&(n.then=u),s(o),n.then=u};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?l():n._prom=l})},e.kill=function(){Pn(this)},a}();Tt(Fn.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-ae,_prom:0,_ps:!1,_rts:1});var ze=function(a){$o(e,a);function e(r,n){var i;return r===void 0&&(r={}),i=a.call(this,r)||this,i.labels={},i.smoothChildTiming=!!r.smoothChildTiming,i.autoRemoveChildren=!!r.autoRemoveChildren,i._sort=ht(r.sortChildren),ge&&Xt(r.parent||ge,rr(i),n),r.reversed&&i.reverse(),r.paused&&i.paused(!0),r.scrollTrigger&&aa(rr(i),r.scrollTrigger),i}var t=e.prototype;return t.to=function(n,i,s){return Rn(0,arguments,this),this},t.from=function(n,i,s){return Rn(1,arguments,this),this},t.fromTo=function(n,i,s,o){return Rn(2,arguments,this),this},t.set=function(n,i,s){return i.duration=0,i.parent=this,Dn(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new Le(n,i,kt(this,s),1),this},t.call=function(n,i,s){return Xt(this,Le.delayedCall(0,n,i),s)},t.staggerTo=function(n,i,s,o,l,c,u){return s.duration=i,s.stagger=s.stagger||o,s.onComplete=c,s.onCompleteParams=u,s.parent=this,new Le(n,s,kt(this,l)),this},t.staggerFrom=function(n,i,s,o,l,c,u){return s.runBackwards=1,Dn(s).immediateRender=ht(s.immediateRender),this.staggerTo(n,i,s,o,l,c,u)},t.staggerFromTo=function(n,i,s,o,l,c,u,d){return o.startAt=s,Dn(o).immediateRender=ht(o.immediateRender),this.staggerTo(n,i,o,l,c,u,d)},t.render=function(n,i,s){var o=this._time,l=this._dirty?this.totalDuration():this._tDur,c=this._dur,u=n<=0?0:_e(n),d=this._zTime<0!=n<0&&(this._initted||!c),h,f,m,p,_,v,y,T,b,M,k,S;if(this!==ge&&u>l&&n>=0&&(u=l),u!==this._tTime||s||d){if(o!==this._time&&c&&(u+=this._time-o,n+=this._time-o),h=u,b=this._start,T=this._ts,v=!T,d&&(c||(o=this._zTime),(n||!i)&&(this._zTime=n)),this._repeat){if(k=this._yoyo,_=c+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(_*100+n,i,s);if(h=_e(u%_),u===l?(p=this._repeat,h=c):(M=_e(u/_),p=~~M,p&&p===M&&(h=c,p--),h>c&&(h=c)),M=cn(this._tTime,_),!o&&this._tTime&&M!==p&&this._tTime-M*_-this._dur<=0&&(M=p),k&&p&1&&(h=c-h,S=1),p!==M&&!this._lock){var x=k&&M&1,E=x===(k&&p&1);if(p<M&&(x=!x),o=x?0:u%c?c:u,this._lock=1,this.render(o||(S?0:_e(p*_)),i,!c)._lock=0,this._tTime=u,!i&&this.parent&&bt(this,"onRepeat"),this.vars.repeatRefresh&&!S&&(this.invalidate()._lock=1,M=p),o&&o!==this._time||v!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(c=this._dur,l=this._tDur,E&&(this._lock=2,o=x?c:-1e-4,this.render(o,!0),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!v)return this;wa(this,S)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(y=Ic(this,_e(o),_e(h)),y&&(u-=h-(h=y._start))),this._tTime=u,this._time=h,this._act=!T,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,o=0),!o&&u&&c&&!i&&!M&&(bt(this,"onStart"),this._tTime!==u))return this;if(h>=o&&n>=0)for(f=this._first;f;){if(m=f._next,(f._act||h>=f._start)&&f._ts&&y!==f){if(f.parent!==this)return this.render(n,i,s);if(f.render(f._ts>0?(h-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(h-f._start)*f._ts,i,s),h!==this._time||!this._ts&&!v){y=0,m&&(u+=this._zTime=-ae);break}}f=m}else{f=this._last;for(var A=n<0?n:h;f;){if(m=f._prev,(f._act||A<=f._end)&&f._ts&&y!==f){if(f.parent!==this)return this.render(n,i,s);if(f.render(f._ts>0?(A-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(A-f._start)*f._ts,i,s||Be&&Is(f)),h!==this._time||!this._ts&&!v){y=0,m&&(u+=this._zTime=A?-ae:ae);break}}f=m}}if(y&&!i&&(this.pause(),y.render(h>=o?0:-ae)._zTime=h>=o?1:-1,this._ts))return this._start=b,Ai(this),this.render(n,i,s);this._onUpdate&&!i&&bt(this,"onUpdate",!0),(u===l&&this._tTime>=this.totalDuration()||!u&&o)&&(b===this._start||Math.abs(T)!==Math.abs(this._ts))&&(this._lock||((n||!c)&&(u===l&&this._ts>0||!u&&this._ts<0)&&wr(this,1),!i&&!(n<0&&!o)&&(u||o||!l)&&(bt(this,u===l&&n>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<l&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(n,i){var s=this;if(ir(i)||(i=kt(this,i,n)),!(n instanceof Fn)){if(Ke(n))return n.forEach(function(o){return s.add(o,i)}),this;if(Oe(n))return this.addLabel(n,i);if(we(n))n=Le.delayedCall(0,n);else return this}return this!==n?Xt(this,n,i):this},t.getChildren=function(n,i,s,o){n===void 0&&(n=!0),i===void 0&&(i=!0),s===void 0&&(s=!0),o===void 0&&(o=-Ct);for(var l=[],c=this._first;c;)c._start>=o&&(c instanceof Le?i&&l.push(c):(s&&l.push(c),n&&l.push.apply(l,c.getChildren(!0,i,s)))),c=c._next;return l},t.getById=function(n){for(var i=this.getChildren(1,1,1),s=i.length;s--;)if(i[s].vars.id===n)return i[s]},t.remove=function(n){return Oe(n)?this.removeLabel(n):we(n)?this.killTweensOf(n):(n.parent===this&&Li(this,n),n===this._recent&&(this._recent=this._last),Ir(this))},t.totalTime=function(n,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=_e(pt.time-(this._ts>0?n/this._ts:(this.totalDuration()-n)/-this._ts))),a.prototype.totalTime.call(this,n,i),this._forcing=0,this):this._tTime},t.addLabel=function(n,i){return this.labels[n]=kt(this,i),this},t.removeLabel=function(n){return delete this.labels[n],this},t.addPause=function(n,i,s){var o=Le.delayedCall(0,i||qn,s);return o.data="isPause",this._hasPause=1,Xt(this,o,kt(this,n))},t.removePause=function(n){var i=this._first;for(n=kt(this,n);i;)i._start===n&&i.data==="isPause"&&wr(i),i=i._next},t.killTweensOf=function(n,i,s){for(var o=this.getTweensOf(n,s),l=o.length;l--;)vr!==o[l]&&o[l].kill(n,i);return this},t.getTweensOf=function(n,i){for(var s=[],o=Pt(n),l=this._first,c=ir(i),u;l;)l instanceof Le?kc(l._targets,o)&&(c?(!vr||l._initted&&l._ts)&&l.globalTime(0)<=i&&l.globalTime(l.totalDuration())>i:!i||l.isActive())&&s.push(l):(u=l.getTweensOf(o,i)).length&&s.push.apply(s,u),l=l._next;return s},t.tweenTo=function(n,i){i=i||{};var s=this,o=kt(s,n),l=i,c=l.startAt,u=l.onStart,d=l.onStartParams,h=l.immediateRender,f,m=Le.to(s,Tt({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:i.duration||Math.abs((o-(c&&"time"in c?c.time:s._time))/s.timeScale())||ae,onStart:function(){if(s.pause(),!f){var _=i.duration||Math.abs((o-(c&&"time"in c?c.time:s._time))/s.timeScale());m._dur!==_&&un(m,_,0,1).render(m._time,!0,!0),f=1}u&&u.apply(m,d||[])}},i));return h?m.render(0):m},t.tweenFromTo=function(n,i,s){return this.tweenTo(i,Tt({startAt:{time:kt(this,n)}},s))},t.recent=function(){return this._recent},t.nextLabel=function(n){return n===void 0&&(n=this._time),Xo(this,kt(this,n))},t.previousLabel=function(n){return n===void 0&&(n=this._time),Xo(this,kt(this,n),1)},t.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+ae)},t.shiftChildren=function(n,i,s){s===void 0&&(s=0);var o=this._first,l=this.labels,c;for(n=_e(n);o;)o._start>=s&&(o._start+=n,o._end+=n),o=o._next;if(i)for(c in l)l[c]>=s&&(l[c]+=n);return Ir(this)},t.invalidate=function(n){var i=this._first;for(this._lock=0;i;)i.invalidate(n),i=i._next;return a.prototype.invalidate.call(this,n)},t.clear=function(n){n===void 0&&(n=!0);for(var i=this._first,s;i;)s=i._next,this.remove(i),i=s;return this._dp&&(this._time=this._tTime=this._pTime=0),n&&(this.labels={}),Ir(this)},t.totalDuration=function(n){var i=0,s=this,o=s._last,l=Ct,c,u,d;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-n:n));if(s._dirty){for(d=s.parent;o;)c=o._prev,o._dirty&&o.totalDuration(),u=o._start,u>l&&s._sort&&o._ts&&!s._lock?(s._lock=1,Xt(s,o,u-o._delay,1)._lock=0):l=u,u<0&&o._ts&&(i-=u,(!d&&!s._dp||d&&d.smoothChildTiming)&&(s._start+=_e(u/s._ts),s._time-=u,s._tTime-=u),s.shiftChildren(-u,!1,-1/0),l=0),o._end>i&&o._ts&&(i=o._end),o=c;un(s,s===ge&&s._time>i?s._time:i,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(n){if(ge._ts&&(ra(ge,xi(n,ge)),ta=pt.frame),pt.frame>=Wo){Wo+=mt.autoSleep||120;var i=ge._first;if((!i||!i._ts)&&mt.autoSleep&&pt._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||pt.sleep()}}},e}(Fn);Tt(ze.prototype,{_lock:0,_hasPause:0,_forcing:0});var Zc=function(e,t,r,n,i,s,o){var l=new it(this._pt,e,t,0,1,Ys,null,i),c=0,u=0,d,h,f,m,p,_,v,y;for(l.b=r,l.e=n,r+="",n+="",(v=~n.indexOf("random("))&&(n=dn(n)),s&&(y=[r,n],s(y,e,t),r=y[0],n=y[1]),h=r.match(us)||[];d=us.exec(n);)m=d[0],p=n.substring(c,d.index),f?f=(f+1)%5:p.substr(-5)==="rgba("&&(f=1),m!==h[u++]&&(_=parseFloat(h[u-1])||0,l._pt={_next:l._pt,p:p||u===1?p:",",s:_,c:m.charAt(1)==="="?zr(_,m)-_:parseFloat(m)-_,m:f&&f<4?Math.round:0},c=us.lastIndex);return l.c=c<n.length?n.substring(c,n.length):"",l.fp=o,(Cs.test(n)||v)&&(l.e=0),this._pt=l,l},Fs=function(e,t,r,n,i,s,o,l,c,u){we(n)&&(n=n(i||0,e,s));var d=e[t],h=r!=="get"?r:we(d)?c?e[t.indexOf("set")||!we(e["get"+t.substr(3)])?t:"get"+t.substr(3)](c):e[t]():d,f=we(d)?c?nu:Sa:Ws,m;if(Oe(n)&&(~n.indexOf("random(")&&(n=dn(n)),n.charAt(1)==="="&&(m=zr(h,n)+(We(h)||0),(m||m===0)&&(n=m))),!u||h!==n||Ss)return!isNaN(h*n)&&n!==""?(m=new it(this._pt,e,t,+h||0,n-(h||0),typeof d=="boolean"?su:Ma,0,f),c&&(m.fp=c),o&&m.modifier(o,this,e),this._pt=m):(!d&&!(t in e)&&Mi(t,n),Zc.call(this,e,t,h,n,f,l||mt.stringFilter,c))},Jc=function(e,t,r,n,i){if(we(e)&&(e=Hn(e,i,t,r,n)),!Ut(e)||e.style&&e.nodeType||Ke(e)||jo(e))return Oe(e)?Hn(e,i,t,r,n):e;var s={},o;for(o in e)s[o]=Hn(e[o],i,t,r,n);return s},zs=function(e,t,r,n,i,s){var o,l,c,u;if(dt[e]&&(o=new dt[e]).init(i,o.rawVars?t[e]:Jc(t[e],n,i,s,r),r,n,s)!==!1&&(r._pt=l=new it(r._pt,i,e,0,1,o.render,o,0,o.priority),r!==on))for(c=r._ptLookup[r._targets.indexOf(i)],u=o._props.length;u--;)c[o._props[u]]=l;return o},vr,Ss,Bs=function a(e,t,r){var n=e.vars,i=n.ease,s=n.startAt,o=n.immediateRender,l=n.lazy,c=n.onUpdate,u=n.runBackwards,d=n.yoyoEase,h=n.keyframes,f=n.autoRevert,m=e._dur,p=e._startAt,_=e._targets,v=e.parent,y=v&&v.data==="nested"?v.vars.targets:_,T=e._overwrite==="auto"&&!Ls,b=e.timeline,M,k,S,x,E,A,O,L,q,I,G,B,R;if(b&&(!h||!i)&&(i="none"),e._ease=qr(i,an.ease),e._yEase=d?ba(qr(d===!0?i:d,an.ease)):0,d&&e._yoyo&&!e._repeat&&(d=e._yEase,e._yEase=e._ease,e._ease=d),e._from=!b&&!!n.runBackwards,!b||h&&!n.stagger){if(L=_[0]?br(_[0]).harness:0,B=L&&n[L.prop],M=Ti(n,Os),p&&(p._zTime<0&&p.progress(1),t<0&&u&&o&&!f?p.render(-1,!0):p.revert(u&&m?gi:Lc),p._lazy=0),s){if(wr(e._startAt=Le.set(_,Tt({data:"isStart",overwrite:!1,parent:v,immediateRender:!0,lazy:!p&&ht(l),startAt:null,delay:0,onUpdate:c&&function(){return bt(e,"onUpdate")},stagger:0},s))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(Be||!o&&!f)&&e._startAt.revert(gi),o&&m&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(u&&m&&!p){if(t&&(o=!1),S=Tt({overwrite:!1,data:"isFromStart",lazy:o&&!p&&ht(l),immediateRender:o,stagger:0,parent:v},M),B&&(S[L.prop]=B),wr(e._startAt=Le.set(_,S)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(Be?e._startAt.revert(gi):e._startAt.render(-1,!0)),e._zTime=t,!o)a(e._startAt,ae,ae);else if(!t)return}for(e._pt=e._ptCache=0,l=m&&ht(l)||l&&!m,k=0;k<_.length;k++){if(E=_[k],O=E._gsap||Rs(_)[k]._gsap,e._ptLookup[k]=I={},ys[O.id]&&yr.length&&wi(),G=y===_?k:y.indexOf(E),L&&(q=new L).init(E,B||M,e,G,y)!==!1&&(e._pt=x=new it(e._pt,E,q.name,0,1,q.render,q,0,q.priority),q._props.forEach(function(V){I[V]=x}),q.priority&&(A=1)),!L||B)for(S in M)dt[S]&&(q=zs(S,M,e,G,E,y))?q.priority&&(A=1):I[S]=x=Fs.call(e,E,S,"get",M[S],G,y,0,n.stringFilter);e._op&&e._op[k]&&e.kill(E,e._op[k]),T&&e._pt&&(vr=e,ge.killTweensOf(E,I,e.globalTime(t)),R=!e.parent,vr=0),e._pt&&l&&(ys[O.id]=1)}A&&Vs(e),e._onInit&&e._onInit(e)}e._onUpdate=c,e._initted=(!e._op||e._pt)&&!R,h&&t<=0&&b.render(Ct,!0,!0)},eu=function(e,t,r,n,i,s,o,l){var c=(e._pt&&e._ptCache||(e._ptCache={}))[t],u,d,h,f;if(!c)for(c=e._ptCache[t]=[],h=e._ptLookup,f=e._targets.length;f--;){if(u=h[f][t],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==t&&u.fp!==t;)u=u._next;if(!u)return Ss=1,e.vars[t]="+=0",Bs(e,o),Ss=0,l?In(t+" not eligible for reset"):1;c.push(u)}for(f=c.length;f--;)d=c[f],u=d._pt||d,u.s=(n||n===0)&&!i?n:u.s+(n||0)+s*u.c,u.c=r-u.s,d.e&&(d.e=Te(r)+We(d.e)),d.b&&(d.b=u.s+We(d.b))},tu=function(e,t){var r=e[0]?br(e[0]).harness:0,n=r&&r.aliases,i,s,o,l;if(!n)return t;i=ln({},t);for(s in n)if(s in i)for(l=n[s].split(","),o=l.length;o--;)i[l[o]]=i[s];return i},ru=function(e,t,r,n){var i=t.ease||n||"power1.inOut",s,o;if(Ke(t))o=r[e]||(r[e]=[]),t.forEach(function(l,c){return o.push({t:c/(t.length-1)*100,v:l,e:i})});else for(s in t)o=r[s]||(r[s]=[]),s==="ease"||o.push({t:parseFloat(e),v:t[s],e:i})},Hn=function(e,t,r,n,i){return we(e)?e.call(t,r,n,i):Oe(e)&&~e.indexOf("random(")?dn(e):e},xa=Ds+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Ea={};nt(xa+",id,stagger,delay,duration,paused,scrollTrigger",function(a){return Ea[a]=1});var Le=function(a){$o(e,a);function e(r,n,i,s){var o;typeof n=="number"&&(i.duration=n,n=i,i=null),o=a.call(this,s?n:Dn(n))||this;var l=o.vars,c=l.duration,u=l.delay,d=l.immediateRender,h=l.stagger,f=l.overwrite,m=l.keyframes,p=l.defaults,_=l.scrollTrigger,v=l.yoyoEase,y=n.parent||ge,T=(Ke(r)||jo(r)?ir(r[0]):"length"in n)?[r]:Pt(r),b,M,k,S,x,E,A,O;if(o._targets=T.length?Rs(T):In("GSAP target "+r+" not found. https://gsap.com",!mt.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=f,m||h||_i(c)||_i(u)){if(n=o.vars,b=o.timeline=new ze({data:"nested",defaults:p||{},targets:y&&y.data==="nested"?y.vars.targets:T}),b.kill(),b.parent=b._dp=rr(o),b._start=0,h||_i(c)||_i(u)){if(S=T.length,A=h&&fa(h),Ut(h))for(x in h)~xa.indexOf(x)&&(O||(O={}),O[x]=h[x]);for(M=0;M<S;M++)k=Ti(n,Ea),k.stagger=0,v&&(k.yoyoEase=v),O&&ln(k,O),E=T[M],k.duration=+Hn(c,rr(o),M,E,T),k.delay=(+Hn(u,rr(o),M,E,T)||0)-o._delay,!h&&S===1&&k.delay&&(o._delay=u=k.delay,o._start+=u,k.delay=0),b.to(E,k,A?A(M,E,T):0),b._ease=Z.none;b.duration()?c=u=0:o.timeline=0}else if(m){Dn(Tt(b.vars.defaults,{ease:"none"})),b._ease=qr(m.ease||n.ease||"none");var L=0,q,I,G;if(Ke(m))m.forEach(function(B){return b.to(T,B,">")}),b.duration();else{k={};for(x in m)x==="ease"||x==="easeEach"||ru(x,m[x],k,m.easeEach);for(x in k)for(q=k[x].sort(function(B,R){return B.t-R.t}),L=0,M=0;M<q.length;M++)I=q[M],G={ease:I.e,duration:(I.t-(M?q[M-1].t:0))/100*c},G[x]=I.v,b.to(T,G,L),L+=G.duration;b.duration()<c&&b.to({},{duration:c-b.duration()})}}c||o.duration(c=b.duration())}else o.timeline=0;return f===!0&&!Ls&&(vr=rr(o),ge.killTweensOf(T),vr=0),Xt(y,rr(o),i),n.reversed&&o.reverse(),n.paused&&o.paused(!0),(d||!c&&!m&&o._start===_e(y._time)&&ht(d)&&Dc(rr(o))&&y.data!=="nested")&&(o._tTime=-ae,o.render(Math.max(0,-u)||0)),_&&aa(rr(o),_),o}var t=e.prototype;return t.render=function(n,i,s){var o=this._time,l=this._tDur,c=this._dur,u=n<0,d=n>l-ae&&!u?l:n<ae?0:n,h,f,m,p,_,v,y,T,b;if(!c)Hc(this,n,i,s);else if(d!==this._tTime||!n||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u||this._lazy){if(h=d,T=this.timeline,this._repeat){if(p=c+this._rDelay,this._repeat<-1&&u)return this.totalTime(p*100+n,i,s);if(h=_e(d%p),d===l?(m=this._repeat,h=c):(_=_e(d/p),m=~~_,m&&m===_?(h=c,m--):h>c&&(h=c)),v=this._yoyo&&m&1,v&&(b=this._yEase,h=c-h),_=cn(this._tTime,p),h===o&&!s&&this._initted&&m===_)return this._tTime=d,this;m!==_&&(T&&this._yEase&&wa(T,v),this.vars.repeatRefresh&&!v&&!this._lock&&h!==p&&this._initted&&(this._lock=s=1,this.render(_e(p*m),!0).invalidate()._lock=0))}if(!this._initted){if(la(this,u?n:h,s,i,d))return this._tTime=0,this;if(o!==this._time&&!(s&&this.vars.repeatRefresh&&m!==_))return this;if(c!==this._dur)return this.render(n,i,s)}if(this._tTime=d,this._time=h,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=y=(b||this._ease)(h/c),this._from&&(this.ratio=y=1-y),!o&&d&&!i&&!_&&(bt(this,"onStart"),this._tTime!==d))return this;for(f=this._pt;f;)f.r(y,f.d),f=f._next;T&&T.render(n<0?n:T._dur*T._ease(h/this._dur),i,s)||this._startAt&&(this._zTime=n),this._onUpdate&&!i&&(u&&bs(this,n,i,s),bt(this,"onUpdate")),this._repeat&&m!==_&&this.vars.onRepeat&&!i&&this.parent&&bt(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(u&&!this._onUpdate&&bs(this,n,!0,!0),(n||!c)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&wr(this,1),!i&&!(u&&!o)&&(d||o||v)&&(bt(this,d===l?"onComplete":"onReverseComplete",!0),this._prom&&!(d<l&&this.timeScale()>0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(n){return(!n||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(n),a.prototype.invalidate.call(this,n)},t.resetTo=function(n,i,s,o,l){Nn||pt.wake(),this._ts||this.play();var c=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Bs(this,c),u=this._ease(c/this._dur),eu(this,n,i,s,o,u,c,l)?this.resetTo(n,i,s,o,1):(ki(this,0),this.parent||sa(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(n,i){if(i===void 0&&(i="all"),!n&&(!i||i==="all"))return this._lazy=this._pt=0,this.parent?Pn(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Be),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(n,i,vr&&vr.vars.overwrite!==!0)._first||Pn(this),this.parent&&s!==this.timeline.totalDuration()&&un(this,this._dur*this.timeline._tDur/s,0,1),this}var o=this._targets,l=n?Pt(n):o,c=this._ptLookup,u=this._pt,d,h,f,m,p,_,v;if((!i||i==="all")&&Pc(o,l))return i==="all"&&(this._pt=0),Pn(this);for(d=this._op=this._op||[],i!=="all"&&(Oe(i)&&(p={},nt(i,function(y){return p[y]=1}),i=p),i=tu(o,i)),v=o.length;v--;)if(~l.indexOf(o[v])){h=c[v],i==="all"?(d[v]=i,m=h,f={}):(f=d[v]=d[v]||{},m=i);for(p in m)_=h&&h[p],_&&((!("kill"in _.d)||_.d.kill(p)===!0)&&Li(this,_,"_pt"),delete h[p]),f!=="all"&&(f[p]=1)}return this._initted&&!this._pt&&u&&Pn(this),this},e.to=function(n,i){return new e(n,i,arguments[2])},e.from=function(n,i){return Rn(1,arguments)},e.delayedCall=function(n,i,s,o){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:i,onReverseComplete:i,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:o})},e.fromTo=function(n,i,s){return Rn(2,arguments)},e.set=function(n,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new e(n,i)},e.killTweensOf=function(n,i,s){return ge.killTweensOf(n,i,s)},e}(Fn);Tt(Le.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});nt("staggerTo,staggerFrom,staggerFromTo",function(a){Le[a]=function(){var e=new ze,t=Ts.call(arguments,0);return t.splice(a==="staggerFromTo"?5:4,0,0),e[a].apply(e,t)}});var Ws=function(e,t,r){return e[t]=r},Sa=function(e,t,r){return e[t](r)},nu=function(e,t,r,n){return e[t](n.fp,r)},iu=function(e,t,r){return e.setAttribute(t,r)},Ci=function(e,t){return we(e[t])?Sa:Si(e[t])&&e.setAttribute?iu:Ws},Ma=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},su=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Ys=function(e,t){var r=t._pt,n="";if(!e&&t.b)n=t.b;else if(e===1&&t.e)n=t.e;else{for(;r;)n=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+n,r=r._next;n+=t.c}t.set(t.t,t.p,n,t)},Gs=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},ou=function(e,t,r,n){for(var i=this._pt,s;i;)s=i._next,i.p===n&&i.modifier(e,t,r),i=s},au=function(e){for(var t=this._pt,r,n;t;)n=t._next,t.p===e&&!t.op||t.op===e?Li(this,t,"_pt"):t.dep||(r=1),t=n;return!r},lu=function(e,t,r,n){n.mSet(e,t,n.m.call(n.tween,r,n.mt),n)},Vs=function(e){for(var t=e._pt,r,n,i,s;t;){for(r=t._next,n=i;n&&n.pr>t.pr;)n=n._next;(t._prev=n?n._prev:s)?t._prev._next=t:i=t,(t._next=n)?n._prev=t:s=t,t=r}e._pt=i},it=function(){function a(t,r,n,i,s,o,l,c,u){this.t=r,this.s=i,this.c=s,this.p=n,this.r=o||Ma,this.d=l||this,this.set=c||Ws,this.pr=u||0,this._next=t,t&&(t._prev=this)}var e=a.prototype;return e.modifier=function(r,n,i){this.mSet=this.mSet||this.set,this.set=lu,this.m=r,this.mt=i,this.tween=n},a}();nt(Ds+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(a){return Os[a]=1});wt.TweenMax=wt.TweenLite=Le;wt.TimelineLite=wt.TimelineMax=ze;ge=new ze({sortChildren:!1,defaults:an,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});mt.stringFilter=qs;var Nr=[],yi={},cu=[],Ko=0,uu=0,ms=function(e){return(yi[e]||cu).map(function(t){return t()})},Ms=function(){var e=Date.now(),t=[];e-Ko>2&&(ms("matchMediaInit"),Nr.forEach(function(r){var n=r.queries,i=r.conditions,s,o,l,c;for(o in n)s=Vt.matchMedia(n[o]).matches,s&&(l=1),s!==i[o]&&(i[o]=s,c=1);c&&(r.revert(),l&&t.push(r))}),ms("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(n){return r.add(null,n)})}),Ko=e,ms("matchMedia"))},La=function(){function a(t,r){this.selector=r&&xs(r),this.data=[],this._r=[],this.isReverted=!1,this.id=uu++,t&&this.add(t)}var e=a.prototype;return e.add=function(r,n,i){we(r)&&(i=n,n=r,r=we);var s=this,o=function(){var c=de,u=s.selector,d;return c&&c!==s&&c.data.push(s),i&&(s.selector=xs(i)),de=s,d=n.apply(s,arguments),we(d)&&s._r.push(d),de=c,s.selector=u,s.isReverted=!1,d};return s.last=o,r===we?o(s,function(l){return s.add(null,l)}):r?s[r]=o:o},e.ignore=function(r){var n=de;de=null,r(this),de=n},e.getTweens=function(){var r=[];return this.data.forEach(function(n){return n instanceof a?r.push.apply(r,n.getTweens()):n instanceof Le&&!(n.parent&&n.parent.data==="nested")&&r.push(n)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,n){var i=this;if(r?function(){for(var o=i.getTweens(),l=i.data.length,c;l--;)c=i.data[l],c.data==="isFlip"&&(c.revert(),c.getChildren(!0,!0,!1).forEach(function(u){return o.splice(o.indexOf(u),1)}));for(o.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,d){return d.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),l=i.data.length;l--;)c=i.data[l],c instanceof ze?c.data!=="nested"&&(c.scrollTrigger&&c.scrollTrigger.revert(),c.kill()):!(c instanceof Le)&&c.revert&&c.revert(r);i._r.forEach(function(u){return u(r,i)}),i.isReverted=!0}():this.data.forEach(function(o){return o.kill&&o.kill()}),this.clear(),n)for(var s=Nr.length;s--;)Nr[s].id===this.id&&Nr.splice(s,1)},e.revert=function(r){this.kill(r||{})},a}(),fu=function(){function a(t){this.contexts=[],this.scope=t,de&&de.data.push(this)}var e=a.prototype;return e.add=function(r,n,i){Ut(r)||(r={matches:r});var s=new La(0,i||this.scope),o=s.conditions={},l,c,u;de&&!s.selector&&(s.selector=de.selector),this.contexts.push(s),n=s.add("onMatch",n),s.queries=r;for(c in r)c==="all"?u=1:(l=Vt.matchMedia(r[c]),l&&(Nr.indexOf(s)<0&&Nr.push(s),(o[c]=l.matches)&&(u=1),l.addListener?l.addListener(Ms):l.addEventListener("change",Ms)));return u&&n(s,function(d){return s.add(null,d)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(n){return n.kill(r,!0)})},a}(),Ei={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(function(n){return ga(n)})},timeline:function(e){return new ze(e)},getTweensOf:function(e,t){return ge.getTweensOf(e,t)},getProperty:function(e,t,r,n){Oe(e)&&(e=Pt(e)[0]);var i=br(e||{}).get,s=r?ia:na;return r==="native"&&(r=""),e&&(t?s((dt[t]&&dt[t].get||i)(e,t,r,n)):function(o,l,c){return s((dt[o]&&dt[o].get||i)(e,o,l,c))})},quickSetter:function(e,t,r){if(e=Pt(e),e.length>1){var n=e.map(function(u){return $e.quickSetter(u,t,r)}),i=n.length;return function(u){for(var d=i;d--;)n[d](u)}}e=e[0]||{};var s=dt[t],o=br(e),l=o.harness&&(o.harness.aliases||{})[t]||t,c=s?function(u){var d=new s;on._pt=0,d.init(e,r?u+r:u,on,0,[e]),d.render(1,d),on._pt&&Gs(1,on)}:o.set(e,l);return s?c:function(u){return c(e,l,r?u+r:u,o,1)}},quickTo:function(e,t,r){var n,i=$e.to(e,Tt((n={},n[t]="+=0.1",n.paused=!0,n.stagger=0,n),r||{})),s=function(l,c,u){return i.resetTo(t,l,c,u)};return s.tween=i,s},isTweening:function(e){return ge.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=qr(e.ease,an.ease)),Yo(an,e||{})},config:function(e){return Yo(mt,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,n=e.plugins,i=e.defaults,s=e.extendTimeline;(n||"").split(",").forEach(function(o){return o&&!dt[o]&&!wt[o]&&In(t+" effect requires "+o+" plugin.")}),fs[t]=function(o,l,c){return r(Pt(o),Tt(l||{},i),c)},s&&(ze.prototype[t]=function(o,l,c){return this.add(fs[t](o,Ut(l)?l:(c=l)&&{},this),c)})},registerEase:function(e,t){Z[e]=qr(t)},parseEase:function(e,t){return arguments.length?qr(e,t):Z},getById:function(e){return ge.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new ze(e),n,i;for(r.smoothChildTiming=ht(e.smoothChildTiming),ge.remove(r),r._dp=0,r._time=r._tTime=ge._time,n=ge._first;n;)i=n._next,(t||!(!n._dur&&n instanceof Le&&n.vars.onComplete===n._targets[0]))&&Xt(r,n,n._start-n._delay),n=i;return Xt(ge,r,0),r},context:function(e,t){return e?new La(e,t):de},matchMedia:function(e){return new fu(e)},matchMediaRefresh:function(){return Nr.forEach(function(e){var t=e.conditions,r,n;for(n in t)t[n]&&(t[n]=!1,r=1);r&&e.revert()})||Ms()},addEventListener:function(e,t){var r=yi[e]||(yi[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=yi[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},utils:{wrap:Yc,wrapYoyo:Gc,distribute:fa,random:pa,snap:da,normalize:Wc,getUnit:We,clamp:Nc,splitColor:va,toArray:Pt,selector:xs,mapRange:ma,pipe:zc,unitize:Bc,interpolate:Vc,shuffle:ua},install:Jo,effects:fs,ticker:pt,updateRoot:ze.updateRoot,plugins:dt,globalTimeline:ge,core:{PropTween:it,globals:ea,Tween:Le,Timeline:ze,Animation:Fn,getCache:br,_removeLinkedListItem:Li,reverting:function(){return Be},context:function(e){return e&&de&&(de.data.push(e),e._ctx=de),de},suppressOverwrites:function(e){return Ls=e}}};nt("to,from,fromTo,delayedCall,set,killTweensOf",function(a){return Ei[a]=Le[a]});pt.add(ze.updateRoot);on=Ei.to({},{duration:0});var du=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},pu=function(e,t){var r=e._targets,n,i,s;for(n in t)for(i=r.length;i--;)s=e._ptLookup[i][n],s&&(s=s.d)&&(s._pt&&(s=du(s,n)),s&&s.modifier&&s.modifier(t[n],e,r[i],n))},_s=function(e,t){return{name:e,headless:1,rawVars:1,init:function(n,i,s){s._onInit=function(o){var l,c;if(Oe(i)&&(l={},nt(i,function(u){return l[u]=1}),i=l),t){l={};for(c in i)l[c]=t(i[c]);i=l}pu(o,i)}}}},$e=Ei.registerPlugin({name:"attr",init:function(e,t,r,n,i){var s,o,l;this.tween=r;for(s in t)l=e.getAttribute(s)||"",o=this.add(e,"setAttribute",(l||0)+"",t[s],n,i,0,0,s),o.op=s,o.b=l,this._props.push(s)},render:function(e,t){for(var r=t._pt;r;)Be?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",headless:1,init:function(e,t){for(var r=t.length;r--;)this.add(e,r,e[r]||0,t[r],0,0,0,0,0,1)}},_s("roundProps",Es),_s("modifiers"),_s("snap",da))||Ei;Le.version=ze.version=$e.version="3.14.2";Zo=1;As()&&fn();var hu=Z.Power0,mu=Z.Power1,_u=Z.Power2,gu=Z.Power3,vu=Z.Power4,yu=Z.Linear,bu=Z.Quad,wu=Z.Cubic,Tu=Z.Quart,xu=Z.Quint,Eu=Z.Strong,Su=Z.Elastic,Mu=Z.Back,Lu=Z.SteppedEase,Au=Z.Bounce,ku=Z.Sine,Cu=Z.Expo,Pu=Z.Circ;var Aa,xr,hn,js,Vr,Ou,ka,Zs,Du=function(){return typeof window<"u"},or={},Gr=180/Math.PI,mn=Math.PI/180,pn=Math.atan2,Ca=1e8,Js=/([A-Z])/g,Ru=/(left|right|width|margin|padding|x)/i,Hu=/[\s,\(]\S/,Kt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Us=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Iu=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},qu=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},Nu=function(e,t){return t.set(t.t,t.p,e===1?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},Fu=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},Na=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Fa=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},zu=function(e,t,r){return e.style[t]=r},Bu=function(e,t,r){return e.style.setProperty(t,r)},Wu=function(e,t,r){return e._gsap[t]=r},Yu=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},Gu=function(e,t,r,n,i){var s=e._gsap;s.scaleX=s.scaleY=r,s.renderTransform(i,s)},Vu=function(e,t,r,n,i){var s=e._gsap;s[t]=r,s.renderTransform(i,s)},ve="transform",_t=ve+"Origin",Xu=function a(e,t){var r=this,n=this.target,i=n.style,s=n._gsap;if(e in or&&i){if(this.tfm=this.tfm||{},e!=="transform")e=Kt[e]||e,~e.indexOf(",")?e.split(",").forEach(function(o){return r.tfm[o]=sr(n,o)}):this.tfm[e]=s.x?s[e]:sr(n,e),e===_t&&(this.tfm.zOrigin=s.zOrigin);else return Kt.transform.split(",").forEach(function(o){return a.call(r,o,t)});if(this.props.indexOf(ve)>=0)return;s.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(_t,t,"")),e=ve}(i||t)&&this.props.push(e,t,i[e])},za=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Uu=function(){var e=this.props,t=this.target,r=t.style,n=t._gsap,i,s;for(i=0;i<e.length;i+=3)e[i+1]?e[i+1]===2?t[e[i]](e[i+2]):t[e[i]]=e[i+2]:e[i+2]?r[e[i]]=e[i+2]:r.removeProperty(e[i].substr(0,2)==="--"?e[i]:e[i].replace(Js,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)n[s]=this.tfm[s];n.svg&&(n.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),i=Zs(),(!i||!i.isStart)&&!r[ve]&&(za(r),n.zOrigin&&r[_t]&&(r[_t]+=" "+n.zOrigin+"px",n.zOrigin=0,n.renderTransform()),n.uncache=1)}},Ba=function(e,t){var r={target:e,props:[],revert:Uu,save:Xu};return e._gsap||$e.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(n){return r.save(n)}),r},Wa,Ks=function(e,t){var r=xr.createElementNS?xr.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):xr.createElement(e);return r&&r.style?r:xr.createElement(e)},xt=function a(e,t,r){var n=getComputedStyle(e);return n[t]||n.getPropertyValue(t.replace(Js,"-$1").toLowerCase())||n.getPropertyValue(t)||!r&&a(e,_n(t)||t,1)||""},Pa="O,Moz,ms,Ms,Webkit".split(","),_n=function(e,t,r){var n=t||Vr,i=n.style,s=5;if(e in i&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(Pa[s]+e in i););return s<0?null:(s===3?"ms":s>=0?Pa[s]:"")+e},$s=function(){Du()&&window.document&&(Aa=window,xr=Aa.document,hn=xr.documentElement,Vr=Ks("div")||{style:{}},Ou=Ks("div"),ve=_n(ve),_t=ve+"Origin",Vr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Wa=!!_n("perspective"),Zs=$e.core.reverting,js=1)},Oa=function(e){var t=e.ownerSVGElement,r=Ks("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=e.cloneNode(!0),i;n.style.display="block",r.appendChild(n),hn.appendChild(r);try{i=n.getBBox()}catch{}return r.removeChild(n),hn.removeChild(r),i},Da=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},Ya=function(e){var t,r;try{t=e.getBBox()}catch{t=Oa(e),r=1}return t&&(t.width||t.height)||r||(t=Oa(e)),t&&!t.width&&!t.x&&!t.y?{x:+Da(e,["x","cx","x1"])||0,y:+Da(e,["y","cy","y1"])||0,width:0,height:0}:t},Ga=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Ya(e))},Sr=function(e,t){if(t){var r=e.style,n;t in or&&t!==_t&&(t=ve),r.removeProperty?(n=t.substr(0,2),(n==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(n==="--"?t:t.replace(Js,"-$1").toLowerCase())):r.removeAttribute(t)}},Er=function(e,t,r,n,i,s){var o=new it(e._pt,t,r,0,1,s?Fa:Na);return e._pt=o,o.b=n,o.e=i,e._props.push(r),o},Ra={deg:1,rad:1,turn:1},Ku={grid:1,flex:1},Mr=function a(e,t,r,n){var i=parseFloat(r)||0,s=(r+"").trim().substr((i+"").length)||"px",o=Vr.style,l=Ru.test(t),c=e.tagName.toLowerCase()==="svg",u=(c?"client":"offset")+(l?"Width":"Height"),d=100,h=n==="px",f=n==="%",m,p,_,v;if(n===s||!i||Ra[n]||Ra[s])return i;if(s!=="px"&&!h&&(i=a(e,t,r,"px")),v=e.getCTM&&Ga(e),(f||s==="%")&&(or[t]||~t.indexOf("adius")))return m=v?e.getBBox()[l?"width":"height"]:e[u],Te(f?i/m*d:i/100*m);if(o[l?"width":"height"]=d+(h?s:n),p=n!=="rem"&&~t.indexOf("adius")||n==="em"&&e.appendChild&&!c?e:e.parentNode,v&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===xr||!p.appendChild)&&(p=xr.body),_=p._gsap,_&&f&&_.width&&l&&_.time===pt.time&&!_.uncache)return Te(i/_.width*d);if(f&&(t==="height"||t==="width")){var y=e.style[t];e.style[t]=d+n,m=e[u],y?e.style[t]=y:Sr(e,t)}else(f||s==="%")&&!Ku[xt(p,"display")]&&(o.position=xt(e,"position")),p===e&&(o.position="static"),p.appendChild(Vr),m=Vr[u],p.removeChild(Vr),o.position="absolute";return l&&f&&(_=br(p),_.time=pt.time,_.width=p[u]),Te(h?m*i/d:m&&i?d/m*i:0)},sr=function(e,t,r,n){var i;return js||$s(),t in Kt&&t!=="transform"&&(t=Kt[t],~t.indexOf(",")&&(t=t.split(",")[0])),or[t]&&t!=="transform"?(i=Yn(e,n),i=t!=="transformOrigin"?i[t]:i.svg?i.origin:Oi(xt(e,_t))+" "+i.zOrigin+"px"):(i=e.style[t],(!i||i==="auto"||n||~(i+"").indexOf("calc("))&&(i=Pi[t]&&Pi[t](e,t,r)||xt(e,t)||Hs(e,t)||(t==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?Mr(e,t,i,r)+r:i},$u=function(e,t,r,n){if(!r||r==="none"){var i=_n(t,e,1),s=i&&xt(e,i,1);s&&s!==r?(t=i,r=s):t==="borderColor"&&(r=xt(e,"borderTopColor"))}var o=new it(this._pt,e.style,t,0,1,Ys),l=0,c=0,u,d,h,f,m,p,_,v,y,T,b,M;if(o.b=r,o.e=n,r+="",n+="",n.substring(0,6)==="var(--"&&(n=xt(e,n.substring(4,n.indexOf(")")))),n==="auto"&&(p=e.style[t],e.style[t]=n,n=xt(e,t)||n,p?e.style[t]=p:Sr(e,t)),u=[r,n],qs(u),r=u[0],n=u[1],h=r.match(Fr)||[],M=n.match(Fr)||[],M.length){for(;d=Fr.exec(n);)_=d[0],y=n.substring(l,d.index),m?m=(m+1)%5:(y.substr(-5)==="rgba("||y.substr(-5)==="hsla(")&&(m=1),_!==(p=h[c++]||"")&&(f=parseFloat(p)||0,b=p.substr((f+"").length),_.charAt(1)==="="&&(_=zr(f,_)+b),v=parseFloat(_),T=_.substr((v+"").length),l=Fr.lastIndex-T.length,T||(T=T||mt.units[t]||b,l===n.length&&(n+=T,o.e+=T)),b!==T&&(f=Mr(e,t,p,T)||0),o._pt={_next:o._pt,p:y||c===1?y:",",s:f,c:v-f,m:m&&m<4||t==="zIndex"?Math.round:0});o.c=l<n.length?n.substring(l,n.length):""}else o.r=t==="display"&&n==="none"?Fa:Na;return Cs.test(n)&&(o.e=0),this._pt=o,o},Ha={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Qu=function(e){var t=e.split(" "),r=t[0],n=t[1]||"50%";return(r==="top"||r==="bottom"||n==="left"||n==="right")&&(e=r,r=n,n=e),t[0]=Ha[r]||r,t[1]=Ha[n]||n,t.join(" ")},ju=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,n=r.style,i=t.u,s=r._gsap,o,l,c;if(i==="all"||i===!0)n.cssText="",l=1;else for(i=i.split(","),c=i.length;--c>-1;)o=i[c],or[o]&&(l=1,o=o==="transformOrigin"?_t:ve),Sr(r,o);l&&(Sr(r,ve),s&&(s.svg&&r.removeAttribute("transform"),n.scale=n.rotate=n.translate="none",Yn(r,1),s.uncache=1,za(n)))}},Pi={clearProps:function(e,t,r,n,i){if(i.data!=="isFromStart"){var s=e._pt=new it(e._pt,t,r,0,0,ju);return s.u=n,s.pr=-10,s.tween=i,e._props.push(r),1}}},Wn=[1,0,0,1,0,0],Va={},Xa=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},Ia=function(e){var t=xt(e,ve);return Xa(t)?Wn:t.substr(7).match(ks).map(Te)},eo=function(e,t){var r=e._gsap||br(e),n=e.style,i=Ia(e),s,o,l,c;return r.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,i=[l.a,l.b,l.c,l.d,l.e,l.f],i.join(",")==="1,0,0,1,0,0"?Wn:i):(i===Wn&&!e.offsetParent&&e!==hn&&!r.svg&&(l=n.display,n.display="block",s=e.parentNode,(!s||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,o=e.nextElementSibling,hn.appendChild(e)),i=Ia(e),l?n.display=l:Sr(e,"display"),c&&(o?s.insertBefore(e,o):s?s.appendChild(e):hn.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},Qs=function(e,t,r,n,i,s){var o=e._gsap,l=i||eo(e,!0),c=o.xOrigin||0,u=o.yOrigin||0,d=o.xOffset||0,h=o.yOffset||0,f=l[0],m=l[1],p=l[2],_=l[3],v=l[4],y=l[5],T=t.split(" "),b=parseFloat(T[0])||0,M=parseFloat(T[1])||0,k,S,x,E;r?l!==Wn&&(S=f*_-m*p)&&(x=b*(_/S)+M*(-p/S)+(p*y-_*v)/S,E=b*(-m/S)+M*(f/S)-(f*y-m*v)/S,b=x,M=E):(k=Ya(e),b=k.x+(~T[0].indexOf("%")?b/100*k.width:b),M=k.y+(~(T[1]||T[0]).indexOf("%")?M/100*k.height:M)),n||n!==!1&&o.smooth?(v=b-c,y=M-u,o.xOffset=d+(v*f+y*p)-v,o.yOffset=h+(v*m+y*_)-y):o.xOffset=o.yOffset=0,o.xOrigin=b,o.yOrigin=M,o.smooth=!!n,o.origin=t,o.originIsAbsolute=!!r,e.style[_t]="0px 0px",s&&(Er(s,o,"xOrigin",c,b),Er(s,o,"yOrigin",u,M),Er(s,o,"xOffset",d,o.xOffset),Er(s,o,"yOffset",h,o.yOffset)),e.setAttribute("data-svg-origin",b+" "+M)},Yn=function(e,t){var r=e._gsap||new Ns(e);if("x"in r&&!t&&!r.uncache)return r;var n=e.style,i=r.scaleX<0,s="px",o="deg",l=getComputedStyle(e),c=xt(e,_t)||"0",u,d,h,f,m,p,_,v,y,T,b,M,k,S,x,E,A,O,L,q,I,G,B,R,V,ne,g,W,ie,le,J,pe;return u=d=h=p=_=v=y=T=b=0,f=m=1,r.svg=!!(e.getCTM&&Ga(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(n[ve]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[ve]!=="none"?l[ve]:"")),n.scale=n.rotate=n.translate="none"),S=eo(e,r.svg),r.svg&&(r.uncache?(V=e.getBBox(),c=r.xOrigin-V.x+"px "+(r.yOrigin-V.y)+"px",R=""):R=!t&&e.getAttribute("data-svg-origin"),Qs(e,R||c,!!R||r.originIsAbsolute,r.smooth!==!1,S)),M=r.xOrigin||0,k=r.yOrigin||0,S!==Wn&&(O=S[0],L=S[1],q=S[2],I=S[3],u=G=S[4],d=B=S[5],S.length===6?(f=Math.sqrt(O*O+L*L),m=Math.sqrt(I*I+q*q),p=O||L?pn(L,O)*Gr:0,y=q||I?pn(q,I)*Gr+p:0,y&&(m*=Math.abs(Math.cos(y*mn))),r.svg&&(u-=M-(M*O+k*q),d-=k-(M*L+k*I))):(pe=S[6],le=S[7],g=S[8],W=S[9],ie=S[10],J=S[11],u=S[12],d=S[13],h=S[14],x=pn(pe,ie),_=x*Gr,x&&(E=Math.cos(-x),A=Math.sin(-x),R=G*E+g*A,V=B*E+W*A,ne=pe*E+ie*A,g=G*-A+g*E,W=B*-A+W*E,ie=pe*-A+ie*E,J=le*-A+J*E,G=R,B=V,pe=ne),x=pn(-q,ie),v=x*Gr,x&&(E=Math.cos(-x),A=Math.sin(-x),R=O*E-g*A,V=L*E-W*A,ne=q*E-ie*A,J=I*A+J*E,O=R,L=V,q=ne),x=pn(L,O),p=x*Gr,x&&(E=Math.cos(x),A=Math.sin(x),R=O*E+L*A,V=G*E+B*A,L=L*E-O*A,B=B*E-G*A,O=R,G=V),_&&Math.abs(_)+Math.abs(p)>359.9&&(_=p=0,v=180-v),f=Te(Math.sqrt(O*O+L*L+q*q)),m=Te(Math.sqrt(B*B+pe*pe)),x=pn(G,B),y=Math.abs(x)>2e-4?x*Gr:0,b=J?1/(J<0?-J:J):0),r.svg&&(R=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!Xa(xt(e,ve)),R&&e.setAttribute("transform",R))),Math.abs(y)>90&&Math.abs(y)<270&&(i?(f*=-1,y+=p<=0?180:-180,p+=p<=0?180:-180):(m*=-1,y+=y<=0?180:-180)),t=t||r.uncache,r.x=u-((r.xPercent=u&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+s,r.y=d-((r.yPercent=d&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-d)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+s,r.z=h+s,r.scaleX=Te(f),r.scaleY=Te(m),r.rotation=Te(p)+o,r.rotationX=Te(_)+o,r.rotationY=Te(v)+o,r.skewX=y+o,r.skewY=T+o,r.transformPerspective=b+s,(r.zOrigin=parseFloat(c.split(" ")[2])||!t&&r.zOrigin||0)&&(n[_t]=Oi(c)),r.xOffset=r.yOffset=0,r.force3D=mt.force3D,r.renderTransform=r.svg?Ju:Wa?Ua:Zu,r.uncache=0,r},Oi=function(e){return(e=e.split(" "))[0]+" "+e[1]},Xs=function(e,t,r){var n=We(t);return Te(parseFloat(t)+parseFloat(Mr(e,"x",r+"px",n)))+n},Zu=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,Ua(e,t)},Wr="0deg",Bn="0px",Yr=") ",Ua=function(e,t){var r=t||this,n=r.xPercent,i=r.yPercent,s=r.x,o=r.y,l=r.z,c=r.rotation,u=r.rotationY,d=r.rotationX,h=r.skewX,f=r.skewY,m=r.scaleX,p=r.scaleY,_=r.transformPerspective,v=r.force3D,y=r.target,T=r.zOrigin,b="",M=v==="auto"&&e&&e!==1||v===!0;if(T&&(d!==Wr||u!==Wr)){var k=parseFloat(u)*mn,S=Math.sin(k),x=Math.cos(k),E;k=parseFloat(d)*mn,E=Math.cos(k),s=Xs(y,s,S*E*-T),o=Xs(y,o,-Math.sin(k)*-T),l=Xs(y,l,x*E*-T+T)}_!==Bn&&(b+="perspective("+_+Yr),(n||i)&&(b+="translate("+n+"%, "+i+"%) "),(M||s!==Bn||o!==Bn||l!==Bn)&&(b+=l!==Bn||M?"translate3d("+s+", "+o+", "+l+") ":"translate("+s+", "+o+Yr),c!==Wr&&(b+="rotate("+c+Yr),u!==Wr&&(b+="rotateY("+u+Yr),d!==Wr&&(b+="rotateX("+d+Yr),(h!==Wr||f!==Wr)&&(b+="skew("+h+", "+f+Yr),(m!==1||p!==1)&&(b+="scale("+m+", "+p+Yr),y.style[ve]=b||"translate(0, 0)"},Ju=function(e,t){var r=t||this,n=r.xPercent,i=r.yPercent,s=r.x,o=r.y,l=r.rotation,c=r.skewX,u=r.skewY,d=r.scaleX,h=r.scaleY,f=r.target,m=r.xOrigin,p=r.yOrigin,_=r.xOffset,v=r.yOffset,y=r.forceCSS,T=parseFloat(s),b=parseFloat(o),M,k,S,x,E;l=parseFloat(l),c=parseFloat(c),u=parseFloat(u),u&&(u=parseFloat(u),c+=u,l+=u),l||c?(l*=mn,c*=mn,M=Math.cos(l)*d,k=Math.sin(l)*d,S=Math.sin(l-c)*-h,x=Math.cos(l-c)*h,c&&(u*=mn,E=Math.tan(c-u),E=Math.sqrt(1+E*E),S*=E,x*=E,u&&(E=Math.tan(u),E=Math.sqrt(1+E*E),M*=E,k*=E)),M=Te(M),k=Te(k),S=Te(S),x=Te(x)):(M=d,x=h,k=S=0),(T&&!~(s+"").indexOf("px")||b&&!~(o+"").indexOf("px"))&&(T=Mr(f,"x",s,"px"),b=Mr(f,"y",o,"px")),(m||p||_||v)&&(T=Te(T+m-(m*M+p*S)+_),b=Te(b+p-(m*k+p*x)+v)),(n||i)&&(E=f.getBBox(),T=Te(T+n/100*E.width),b=Te(b+i/100*E.height)),E="matrix("+M+","+k+","+S+","+x+","+T+","+b+")",f.setAttribute("transform",E),y&&(f.style[ve]=E)},ef=function(e,t,r,n,i){var s=360,o=Oe(i),l=parseFloat(i)*(o&&~i.indexOf("rad")?Gr:1),c=l-n,u=n+c+"deg",d,h;return o&&(d=i.split("_")[1],d==="short"&&(c%=s,c!==c%(s/2)&&(c+=c<0?s:-s)),d==="cw"&&c<0?c=(c+s*Ca)%s-~~(c/s)*s:d==="ccw"&&c>0&&(c=(c-s*Ca)%s-~~(c/s)*s)),e._pt=h=new it(e._pt,t,r,n,c,Iu),h.e=u,h.u="deg",e._props.push(r),h},qa=function(e,t){for(var r in t)e[r]=t[r];return e},tf=function(e,t,r){var n=qa({},r._gsap),i="perspective,force3D,transformOrigin,svgOrigin",s=r.style,o,l,c,u,d,h,f,m;n.svg?(c=r.getAttribute("transform"),r.setAttribute("transform",""),s[ve]=t,o=Yn(r,1),Sr(r,ve),r.setAttribute("transform",c)):(c=getComputedStyle(r)[ve],s[ve]=t,o=Yn(r,1),s[ve]=c);for(l in or)c=n[l],u=o[l],c!==u&&i.indexOf(l)<0&&(f=We(c),m=We(u),d=f!==m?Mr(r,l,c,m):parseFloat(c),h=parseFloat(u),e._pt=new it(e._pt,o,l,d,h-d,Us),e._pt.u=m||0,e._props.push(l));qa(o,n)};nt("padding,margin,Width,Radius",function(a,e){var t="Top",r="Right",n="Bottom",i="Left",s=(e<3?[t,r,n,i]:[t+i,t+r,n+r,n+i]).map(function(o){return e<2?a+o:"border"+o+a});Pi[e>1?"border"+a:a]=function(o,l,c,u,d){var h,f;if(arguments.length<4)return h=s.map(function(m){return sr(o,m,c)}),f=h.join(" "),f.split(h[0]).length===5?h[0]:f;h=(u+"").split(" "),f={},s.forEach(function(m,p){return f[m]=h[p]=h[p]||h[(p-1)/2|0]}),o.init(l,f,d)}});var to={name:"css",register:$s,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,n,i){var s=this._props,o=e.style,l=r.vars.startAt,c,u,d,h,f,m,p,_,v,y,T,b,M,k,S,x,E;js||$s(),this.styles=this.styles||Ba(e),x=this.styles.props,this.tween=r;for(p in t)if(p!=="autoRound"&&(u=t[p],!(dt[p]&&zs(p,t,r,n,e,i)))){if(f=typeof u,m=Pi[p],f==="function"&&(u=u.call(r,n,e,i),f=typeof u),f==="string"&&~u.indexOf("random(")&&(u=dn(u)),m)m(this,e,p,u,r)&&(S=1);else if(p.substr(0,2)==="--")c=(getComputedStyle(e).getPropertyValue(p)+"").trim(),u+="",nr.lastIndex=0,nr.test(c)||(_=We(c),v=We(u),v?_!==v&&(c=Mr(e,p,c,v)+v):_&&(u+=_)),this.add(o,"setProperty",c,u,n,i,0,0,p),s.push(p),x.push(p,0,o[p]);else if(f!=="undefined"){if(l&&p in l?(c=typeof l[p]=="function"?l[p].call(r,n,e,i):l[p],Oe(c)&&~c.indexOf("random(")&&(c=dn(c)),We(c+"")||c==="auto"||(c+=mt.units[p]||We(sr(e,p))||""),(c+"").charAt(1)==="="&&(c=sr(e,p))):c=sr(e,p),h=parseFloat(c),y=f==="string"&&u.charAt(1)==="="&&u.substr(0,2),y&&(u=u.substr(2)),d=parseFloat(u),p in Kt&&(p==="autoAlpha"&&(h===1&&sr(e,"visibility")==="hidden"&&d&&(h=0),x.push("visibility",0,o.visibility),Er(this,o,"visibility",h?"inherit":"hidden",d?"inherit":"hidden",!d)),p!=="scale"&&p!=="transform"&&(p=Kt[p],~p.indexOf(",")&&(p=p.split(",")[0]))),T=p in or,T){if(this.styles.save(p),E=u,f==="string"&&u.substring(0,6)==="var(--"){if(u=xt(e,u.substring(4,u.indexOf(")"))),u.substring(0,5)==="calc("){var A=e.style.perspective;e.style.perspective=u,u=xt(e,"perspective"),A?e.style.perspective=A:Sr(e,"perspective")}d=parseFloat(u)}if(b||(M=e._gsap,M.renderTransform&&!t.parseTransform||Yn(e,t.parseTransform),k=t.smoothOrigin!==!1&&M.smooth,b=this._pt=new it(this._pt,o,ve,0,1,M.renderTransform,M,0,-1),b.dep=1),p==="scale")this._pt=new it(this._pt,M,"scaleY",M.scaleY,(y?zr(M.scaleY,y+d):d)-M.scaleY||0,Us),this._pt.u=0,s.push("scaleY",p),p+="X";else if(p==="transformOrigin"){x.push(_t,0,o[_t]),u=Qu(u),M.svg?Qs(e,u,0,k,0,this):(v=parseFloat(u.split(" ")[2])||0,v!==M.zOrigin&&Er(this,M,"zOrigin",M.zOrigin,v),Er(this,o,p,Oi(c),Oi(u)));continue}else if(p==="svgOrigin"){Qs(e,u,1,k,0,this);continue}else if(p in Va){ef(this,M,p,h,y?zr(h,y+u):u);continue}else if(p==="smoothOrigin"){Er(this,M,"smooth",M.smooth,u);continue}else if(p==="force3D"){M[p]=u;continue}else if(p==="transform"){tf(this,u,e);continue}}else p in o||(p=_n(p)||p);if(T||(d||d===0)&&(h||h===0)&&!Hu.test(u)&&p in o)_=(c+"").substr((h+"").length),d||(d=0),v=We(u)||(p in mt.units?mt.units[p]:_),_!==v&&(h=Mr(e,p,c,v)),this._pt=new it(this._pt,T?M:o,p,h,(y?zr(h,y+d):d)-h,!T&&(v==="px"||p==="zIndex")&&t.autoRound!==!1?Fu:Us),this._pt.u=v||0,T&&E!==u?(this._pt.b=c,this._pt.e=E,this._pt.r=Nu):_!==v&&v!=="%"&&(this._pt.b=c,this._pt.r=qu);else if(p in o)$u.call(this,e,p,c,y?y+u:u);else if(p in e)this.add(e,p,c||e[p],y?y+u:u,n,i);else if(p!=="parseTransform"){Mi(p,u);continue}T||(p in o?x.push(p,0,o[p]):typeof e[p]=="function"?x.push(p,2,e[p]()):x.push(p,1,c||e[p])),s.push(p)}}S&&Vs(this)},render:function(e,t){if(t.tween._time||!Zs())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:sr,aliases:Kt,getSetter:function(e,t,r){var n=Kt[t];return n&&n.indexOf(",")<0&&(t=n),t in or&&t!==_t&&(e._gsap.x||sr(e,"x"))?r&&ka===r?t==="scale"?Yu:Wu:(ka=r||{})&&(t==="scale"?Gu:Vu):e.style&&!Si(e.style[t])?zu:~t.indexOf("-")?Bu:Ci(e,t)},core:{_removeProperty:Sr,_getMatrix:eo}};$e.utils.checkPrefix=_n;$e.core.getStyleSaver=Ba;(function(a,e,t,r){var n=nt(a+","+e+","+t,function(i){or[i]=1});nt(e,function(i){mt.units[i]="deg",Va[i]=1}),Kt[n[13]]=a+","+e,nt(r,function(i){var s=i.split(":");Kt[s[1]]=n[s[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");nt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(a){mt.units[a]="px"});$e.registerPlugin(to);var Gn=$e.registerPlugin(to)||$e,Qf=Gn.core.Tween;function Ka(a,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(a,r.key,r)}}function rf(a,e,t){return e&&Ka(a.prototype,e),t&&Ka(a,t),a}var Ye,Hi,nf,Et,Lr,Ar,vn,Qa,Xr,Xn,ja,ar,zt,Za,Ja=function(){return Ye||typeof window<"u"&&(Ye=window.gsap)&&Ye.registerPlugin&&Ye},el=1,gn=[],U=[],Bt=[],Un=Date.now,ro=function(e,t){return t},sf=function(){var e=Xn.core,t=e.bridge||{},r=e._scrollers,n=e._proxies;r.push.apply(r,U),n.push.apply(n,Bt),U=r,Bt=n,ro=function(s,o){return t[s](o)}},cr=function(e,t){return~Bt.indexOf(e)&&Bt[Bt.indexOf(e)+1][t]},Kn=function(e){return!!~ja.indexOf(e)},ot=function(e,t,r,n,i){return e.addEventListener(t,r,{passive:n!==!1,capture:!!i})},st=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},Di="scrollLeft",Ri="scrollTop",no=function(){return ar&&ar.isPressed||U.cache++},Ii=function(e,t){var r=function n(i){if(i||i===0){el&&(Et.history.scrollRestoration="manual");var s=ar&&ar.isPressed;i=n.v=Math.round(i)||(ar&&ar.iOS?1:0),e(i),n.cacheID=U.cache,s&&ro("ss",i)}else(t||U.cache!==n.cacheID||ro("ref"))&&(n.cacheID=U.cache,n.v=e());return n.v+n.offset};return r.offset=0,e&&r},Qe={s:Di,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Ii(function(a){return arguments.length?Et.scrollTo(a,ke.sc()):Et.pageXOffset||Lr[Di]||Ar[Di]||vn[Di]||0})},ke={s:Ri,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Qe,sc:Ii(function(a){return arguments.length?Et.scrollTo(Qe.sc(),a):Et.pageYOffset||Lr[Ri]||Ar[Ri]||vn[Ri]||0})},at=function(e,t){return(t&&t._ctx&&t._ctx.selector||Ye.utils.toArray)(e)[0]||(typeof e=="string"&&Ye.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},of=function(e,t){for(var r=t.length;r--;)if(t[r]===e||t[r].contains(e))return!0;return!1},lr=function(e,t){var r=t.s,n=t.sc;Kn(e)&&(e=Lr.scrollingElement||Ar);var i=U.indexOf(e),s=n===ke.sc?1:2;!~i&&(i=U.push(e)-1),U[i+s]||ot(e,"scroll",no);var o=U[i+s],l=o||(U[i+s]=Ii(cr(e,r),!0)||(Kn(e)?n:Ii(function(c){return arguments.length?e[r]=c:e[r]})));return l.target=e,o||(l.smooth=Ye.getProperty(e,"scrollBehavior")==="smooth"),l},qi=function(e,t,r){var n=e,i=e,s=Un(),o=s,l=t||50,c=Math.max(500,l*3),u=function(m,p){var _=Un();p||_-s>l?(i=n,n=m,o=s,s=_):r?n+=m:n=i+(m-i)/(_-o)*(s-o)},d=function(){i=n=r?0:n,o=s=0},h=function(m){var p=o,_=i,v=Un();return(m||m===0)&&m!==n&&u(m),s===o||v-o>c?0:(n+(r?_:-_))/((r?v:s)-p)*1e3};return{update:u,reset:d,getVelocity:h}},Vn=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},$a=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},tl=function(){Xn=Ye.core.globals().ScrollTrigger,Xn&&Xn.core&&sf()},rl=function(e){return Ye=e||Ja(),!Hi&&Ye&&typeof document<"u"&&document.body&&(Et=window,Lr=document,Ar=Lr.documentElement,vn=Lr.body,ja=[Et,Lr,Ar,vn],nf=Ye.utils.clamp,Za=Ye.core.context||function(){},Xr="onpointerenter"in vn?"pointer":"mouse",Qa=xe.isTouch=Et.matchMedia&&Et.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Et||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,zt=xe.eventTypes=("ontouchstart"in Ar?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Ar?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return el=0},500),tl(),Hi=1),Hi};Qe.op=ke;U.cache=0;var xe=function(){function a(t){this.init(t)}var e=a.prototype;return e.init=function(r){Hi||rl(Ye)||console.warn("Please gsap.registerPlugin(Observer)"),Xn||tl();var n=r.tolerance,i=r.dragMinimum,s=r.type,o=r.target,l=r.lineHeight,c=r.debounce,u=r.preventDefault,d=r.onStop,h=r.onStopDelay,f=r.ignore,m=r.wheelSpeed,p=r.event,_=r.onDragStart,v=r.onDragEnd,y=r.onDrag,T=r.onPress,b=r.onRelease,M=r.onRight,k=r.onLeft,S=r.onUp,x=r.onDown,E=r.onChangeX,A=r.onChangeY,O=r.onChange,L=r.onToggleX,q=r.onToggleY,I=r.onHover,G=r.onHoverEnd,B=r.onMove,R=r.ignoreCheck,V=r.isNormalizer,ne=r.onGestureStart,g=r.onGestureEnd,W=r.onWheel,ie=r.onEnable,le=r.onDisable,J=r.onClick,pe=r.scrollSpeed,he=r.capture,ue=r.allowClicks,et=r.lockAxis,Ge=r.onLockAxis;this.target=o=at(o)||Ar,this.vars=r,f&&(f=Ye.utils.toArray(f)),n=n||1e-9,i=i||0,m=m||1,pe=pe||1,s=s||"wheel,touch,pointer",c=c!==!1,l||(l=parseFloat(Et.getComputedStyle(vn).lineHeight)||22);var dr,tt,rt,ee,Ee,ft,gt,w=this,vt=0,jt=0,pr=r.passive||!u&&r.passive!==!1,ye=lr(o,Qe),Zt=lr(o,ke),hr=ye(),Pr=Zt(),Re=~s.indexOf("touch")&&!~s.indexOf("pointer")&&zt[0]==="pointerdown",mr=Kn(o),Se=o.ownerDocument||Lr,Ht=[0,0,0],At=[0,0,0],Jt=0,Ln=function(){return Jt=Un()},Ae=function(H,te){return(w.event=H)&&f&&of(H.target,f)||te&&Re&&H.pointerType!=="touch"||R&&R(H,te)},pi=function(){w._vx.reset(),w._vy.reset(),tt.pause(),d&&d(w)},er=function(){var H=w.deltaX=$a(Ht),te=w.deltaY=$a(At),C=Math.abs(H)>=n,N=Math.abs(te)>=n;O&&(C||N)&&O(w,H,te,Ht,At),C&&(M&&w.deltaX>0&&M(w),k&&w.deltaX<0&&k(w),E&&E(w),L&&w.deltaX<0!=vt<0&&L(w),vt=w.deltaX,Ht[0]=Ht[1]=Ht[2]=0),N&&(x&&w.deltaY>0&&x(w),S&&w.deltaY<0&&S(w),A&&A(w),q&&w.deltaY<0!=jt<0&&q(w),jt=w.deltaY,At[0]=At[1]=At[2]=0),(ee||rt)&&(B&&B(w),rt&&(_&&rt===1&&_(w),y&&y(w),rt=0),ee=!1),ft&&!(ft=!1)&&Ge&&Ge(w),Ee&&(W(w),Ee=!1),dr=0},rn=function(H,te,C){Ht[C]+=H,At[C]+=te,w._vx.update(H),w._vy.update(te),c?dr||(dr=requestAnimationFrame(er)):er()},nn=function(H,te){et&&!gt&&(w.axis=gt=Math.abs(H)>Math.abs(te)?"x":"y",ft=!0),gt!=="y"&&(Ht[2]+=H,w._vx.update(H,!0)),gt!=="x"&&(At[2]+=te,w._vy.update(te,!0)),c?dr||(dr=requestAnimationFrame(er)):er()},_r=function(H){if(!Ae(H,1)){H=Vn(H,u);var te=H.clientX,C=H.clientY,N=te-w.x,D=C-w.y,F=w.isDragging;w.x=te,w.y=C,(F||(N||D)&&(Math.abs(w.startX-te)>=i||Math.abs(w.startY-C)>=i))&&(rt||(rt=F?2:1),F||(w.isDragging=!0),nn(N,D))}},Or=w.onPress=function(z){Ae(z,1)||z&&z.button||(w.axis=gt=null,tt.pause(),w.isPressed=!0,z=Vn(z),vt=jt=0,w.startX=w.x=z.clientX,w.startY=w.y=z.clientY,w._vx.reset(),w._vy.reset(),ot(V?o:Se,zt[1],_r,pr,!0),w.deltaX=w.deltaY=0,T&&T(w))},Q=w.onRelease=function(z){if(!Ae(z,1)){st(V?o:Se,zt[1],_r,!0);var H=!isNaN(w.y-w.startY),te=w.isDragging,C=te&&(Math.abs(w.x-w.startX)>3||Math.abs(w.y-w.startY)>3),N=Vn(z);!C&&H&&(w._vx.reset(),w._vy.reset(),u&&ue&&Ye.delayedCall(.08,function(){if(Un()-Jt>300&&!z.defaultPrevented){if(z.target.click)z.target.click();else if(Se.createEvent){var D=Se.createEvent("MouseEvents");D.initMouseEvent("click",!0,!0,Et,1,N.screenX,N.screenY,N.clientX,N.clientY,!1,!1,!1,!1,0,null),z.target.dispatchEvent(D)}}})),w.isDragging=w.isGesturing=w.isPressed=!1,d&&te&&!V&&tt.restart(!0),rt&&er(),v&&te&&v(w),b&&b(w,C)}},Dr=function(H){return H.touches&&H.touches.length>1&&(w.isGesturing=!0)&&ne(H,w.isDragging)},It=function(){return(w.isGesturing=!1)||g(w)},qt=function(H){if(!Ae(H)){var te=ye(),C=Zt();rn((te-hr)*pe,(C-Pr)*pe,1),hr=te,Pr=C,d&&tt.restart(!0)}},Nt=function(H){if(!Ae(H)){H=Vn(H,u),W&&(Ee=!0);var te=(H.deltaMode===1?l:H.deltaMode===2?Et.innerHeight:1)*m;rn(H.deltaX*te,H.deltaY*te,0),d&&!V&&tt.restart(!0)}},Rr=function(H){if(!Ae(H)){var te=H.clientX,C=H.clientY,N=te-w.x,D=C-w.y;w.x=te,w.y=C,ee=!0,d&&tt.restart(!0),(N||D)&&nn(N,D)}},sn=function(H){w.event=H,I(w)},tr=function(H){w.event=H,G(w)},An=function(H){return Ae(H)||Vn(H,u)&&J(w)};tt=w._dc=Ye.delayedCall(h||.25,pi).pause(),w.deltaX=w.deltaY=0,w._vx=qi(0,50,!0),w._vy=qi(0,50,!0),w.scrollX=ye,w.scrollY=Zt,w.isDragging=w.isGesturing=w.isPressed=!1,Za(this),w.enable=function(z){return w.isEnabled||(ot(mr?Se:o,"scroll",no),s.indexOf("scroll")>=0&&ot(mr?Se:o,"scroll",qt,pr,he),s.indexOf("wheel")>=0&&ot(o,"wheel",Nt,pr,he),(s.indexOf("touch")>=0&&Qa||s.indexOf("pointer")>=0)&&(ot(o,zt[0],Or,pr,he),ot(Se,zt[2],Q),ot(Se,zt[3],Q),ue&&ot(o,"click",Ln,!0,!0),J&&ot(o,"click",An),ne&&ot(Se,"gesturestart",Dr),g&&ot(Se,"gestureend",It),I&&ot(o,Xr+"enter",sn),G&&ot(o,Xr+"leave",tr),B&&ot(o,Xr+"move",Rr)),w.isEnabled=!0,w.isDragging=w.isGesturing=w.isPressed=ee=rt=!1,w._vx.reset(),w._vy.reset(),hr=ye(),Pr=Zt(),z&&z.type&&Or(z),ie&&ie(w)),w},w.disable=function(){w.isEnabled&&(gn.filter(function(z){return z!==w&&Kn(z.target)}).length||st(mr?Se:o,"scroll",no),w.isPressed&&(w._vx.reset(),w._vy.reset(),st(V?o:Se,zt[1],_r,!0)),st(mr?Se:o,"scroll",qt,he),st(o,"wheel",Nt,he),st(o,zt[0],Or,he),st(Se,zt[2],Q),st(Se,zt[3],Q),st(o,"click",Ln,!0),st(o,"click",An),st(Se,"gesturestart",Dr),st(Se,"gestureend",It),st(o,Xr+"enter",sn),st(o,Xr+"leave",tr),st(o,Xr+"move",Rr),w.isEnabled=w.isPressed=w.isDragging=!1,le&&le(w))},w.kill=w.revert=function(){w.disable();var z=gn.indexOf(w);z>=0&&gn.splice(z,1),ar===w&&(ar=0)},gn.push(w),V&&Kn(o)&&(ar=w),w.enable(p)},rf(a,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),a}();xe.version="3.14.2";xe.create=function(a){return new xe(a)};xe.register=rl;xe.getAll=function(){return gn.slice()};xe.getById=function(a){return gn.filter(function(e){return e.vars.id===a})[0]};Ja()&&Ye.registerPlugin(xe);var P,wn,$,ce,Lt,re,yo,Ji,li,ti,Qn,Ni,je,rs,fo,ct,nl,il,Tn,bl,io,wl,lt,po,Tl,xl,kr,ho,bo,xn,wo,ri,mo,so,Fi=1,Ze=Date.now,oo=Ze(),Rt=0,jn=0,sl=function(e,t,r){var n=Mt(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=n,n?e.substr(6,e.length-7):e},ol=function(e,t){return t&&(!Mt(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},af=function a(){return jn&&requestAnimationFrame(a)},al=function(){return rs=1},ll=function(){return rs=0},$t=function(e){return e},Zn=function(e){return Math.round(e*1e5)/1e5||0},El=function(){return typeof window<"u"},Sl=function(){return P||El()&&(P=window.gsap)&&P.registerPlugin&&P},Zr=function(e){return!!~yo.indexOf(e)},Ml=function(e){return(e==="Height"?wo:$["inner"+e])||Lt["client"+e]||re["client"+e]},Ll=function(e){return cr(e,"getBoundingClientRect")||(Zr(e)?function(){return Zi.width=$.innerWidth,Zi.height=wo,Zi}:function(){return ur(e)})},lf=function(e,t,r){var n=r.d,i=r.d2,s=r.a;return(s=cr(e,"getBoundingClientRect"))?function(){return s()[n]}:function(){return(t?Ml(i):e["client"+i])||0}},cf=function(e,t){return!t||~Bt.indexOf(e)?Ll(e):function(){return Zi}},Qt=function(e,t){var r=t.s,n=t.d2,i=t.d,s=t.a;return Math.max(0,(r="scroll"+n)&&(s=cr(e,r))?s()-Ll(e)()[i]:Zr(e)?(Lt[r]||re[r])-Ml(n):e[r]-e["offset"+n])},zi=function(e,t){for(var r=0;r<Tn.length;r+=3)(!t||~t.indexOf(Tn[r+1]))&&e(Tn[r],Tn[r+1],Tn[r+2])},Mt=function(e){return typeof e=="string"},Je=function(e){return typeof e=="function"},Jn=function(e){return typeof e=="number"},Ur=function(e){return typeof e=="object"},$n=function(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()},ao=function(e,t){if(e.enabled){var r=e._ctx?e._ctx.add(function(){return t(e)}):t(e);r&&r.totalTime&&(e.callbackAnimation=r)}},yn=Math.abs,Al="left",kl="top",To="right",xo="bottom",$r="width",Qr="height",ni="Right",ii="Left",si="Top",oi="Bottom",Ce="padding",Ot="margin",Sn="Width",Eo="Height",De="px",Dt=function(e){return $.getComputedStyle(e)},uf=function(e){var t=Dt(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative"},cl=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},ur=function(e,t){var r=t&&Dt(e)[fo]!=="matrix(1, 0, 0, 1, 0, 0)"&&P.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=e.getBoundingClientRect();return r&&r.progress(0).kill(),n},es=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},Cl=function(e){var t=[],r=e.labels,n=e.duration(),i;for(i in r)t.push(r[i]/n);return t},ff=function(e){return function(t){return P.utils.snap(Cl(e),t)}},So=function(e){var t=P.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(n,i){return n-i});return r?function(n,i,s){s===void 0&&(s=.001);var o;if(!i)return t(n);if(i>0){for(n-=s,o=0;o<r.length;o++)if(r[o]>=n)return r[o];return r[o-1]}else for(o=r.length,n+=s;o--;)if(r[o]<=n)return r[o];return r[0]}:function(n,i,s){s===void 0&&(s=.001);var o=t(n);return!i||Math.abs(o-n)<s||o-n<0==i<0?o:t(i<0?n-e:n+e)}},df=function(e){return function(t,r){return So(Cl(e))(t,r.direction)}},Bi=function(e,t,r,n){return r.split(",").forEach(function(i){return e(t,i,n)})},qe=function(e,t,r,n,i){return e.addEventListener(t,r,{passive:!n,capture:!!i})},Ie=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},Wi=function(e,t,r){r=r&&r.wheelHandler,r&&(e(t,"wheel",r),e(t,"touchmove",r))},ul={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Yi={toggleActions:"play",anticipatePin:0},ts={top:0,left:0,center:.5,bottom:1,right:1},Ki=function(e,t){if(Mt(e)){var r=e.indexOf("="),n=~r?+(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(n*=t/100),e=e.substr(0,r-1)),e=n+(e in ts?ts[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},Gi=function(e,t,r,n,i,s,o,l){var c=i.startColor,u=i.endColor,d=i.fontSize,h=i.indent,f=i.fontWeight,m=ce.createElement("div"),p=Zr(r)||cr(r,"pinType")==="fixed",_=e.indexOf("scroller")!==-1,v=p?re:r,y=e.indexOf("start")!==-1,T=y?c:u,b="border-color:"+T+";font-size:"+d+";color:"+T+";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 b+="position:"+((_||l)&&p?"fixed;":"absolute;"),(_||l||!p)&&(b+=(n===ke?To:xo)+":"+(s+parseFloat(h))+"px;"),o&&(b+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),m._isStart=y,m.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),m.style.cssText=b,m.innerText=t||t===0?e+"-"+t:e,v.children[0]?v.insertBefore(m,v.children[0]):v.appendChild(m),m._offset=m["offset"+n.op.d2],$i(m,0,n,y),m},$i=function(e,t,r,n){var i={display:"block"},s=r[n?"os2":"p2"],o=r[n?"p2":"os2"];e._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+s+Sn]=1,i["border"+o+Sn]=0,i[r.p]=t+"px",P.set(e,i)},K=[],_o={},ci,fl=function(){return Ze()-Rt>34&&(ci||(ci=requestAnimationFrame(fr)))},bn=function(){(!lt||!lt.isPressed||lt.startX>re.clientWidth)&&(U.cache++,lt?ci||(ci=requestAnimationFrame(fr)):fr(),Rt||en("scrollStart"),Rt=Ze())},lo=function(){xl=$.innerWidth,Tl=$.innerHeight},ei=function(e){U.cache++,(e===!0||!je&&!wl&&!ce.fullscreenElement&&!ce.webkitFullscreenElement&&(!po||xl!==$.innerWidth||Math.abs($.innerHeight-Tl)>$.innerHeight*.25))&&Ji.restart(!0)},Jr={},pf=[],Pl=function a(){return Ie(Y,"scrollEnd",a)||Kr(!0)},en=function(e){return Jr[e]&&Jr[e].map(function(t){return t()})||pf},St=[],Ol=function(e){for(var t=0;t<St.length;t+=5)(!e||St[t+4]&&St[t+4].query===e)&&(St[t].style.cssText=St[t+1],St[t].getBBox&&St[t].setAttribute("transform",St[t+2]||""),St[t+3].uncache=1)},Dl=function(){return U.forEach(function(e){return Je(e)&&++e.cacheID&&(e.rec=e())})},Mo=function(e,t){var r;for(ct=0;ct<K.length;ct++)r=K[ct],r&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));ri=!0,t&&Ol(t),t||en("revert")},Rl=function(e,t){U.cache++,(t||!ut)&&U.forEach(function(r){return Je(r)&&r.cacheID++&&(r.rec=0)}),Mt(e)&&($.history.scrollRestoration=bo=e)},ut,jr=0,dl,hf=function(){if(dl!==jr){var e=dl=jr;requestAnimationFrame(function(){return e===jr&&Kr(!0)})}},Hl=function(){re.appendChild(xn),wo=!lt&&xn.offsetHeight||$.innerHeight,re.removeChild(xn)},pl=function(e){return li(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},Kr=function(e,t){if(Lt=ce.documentElement,re=ce.body,yo=[$,ce,Lt,re],Rt&&!e&&!ri){qe(Y,"scrollEnd",Pl);return}Hl(),ut=Y.isRefreshing=!0,ri||Dl();var r=en("refreshInit");bl&&Y.sort(),t||Mo(),U.forEach(function(n){Je(n)&&(n.smooth&&(n.target.style.scrollBehavior="auto"),n(0))}),K.slice(0).forEach(function(n){return n.refresh()}),ri=!1,K.forEach(function(n){if(n._subPinOffset&&n.pin){var i=n.vars.horizontal?"offsetWidth":"offsetHeight",s=n.pin[i];n.revert(!0,1),n.adjustPinSpacing(n.pin[i]-s),n.refresh()}}),mo=1,pl(!0),K.forEach(function(n){var i=Qt(n.scroller,n._dir),s=n.vars.end==="max"||n._endClamp&&n.end>i,o=n._startClamp&&n.start>=i;(s||o)&&n.setPositions(o?i-1:n.start,s?Math.max(o?i:n.start+1,i):n.end,!0)}),pl(!1),mo=0,r.forEach(function(n){return n&&n.render&&n.render(-1)}),U.forEach(function(n){Je(n)&&(n.smooth&&requestAnimationFrame(function(){return n.target.style.scrollBehavior="smooth"}),n.rec&&n(n.rec))}),Rl(bo,1),Ji.pause(),jr++,ut=2,fr(2),K.forEach(function(n){return Je(n.vars.onRefresh)&&n.vars.onRefresh(n)}),ut=Y.isRefreshing=!1,en("refresh")},go=0,Qi=1,ai,fr=function(e){if(e===2||!ut&&!ri){Y.isUpdating=!0,ai&&ai.update(0);var t=K.length,r=Ze(),n=r-oo>=50,i=t&&K[0].scroll();if(Qi=go>i?-1:1,ut||(go=i),n&&(Rt&&!rs&&r-Rt>200&&(Rt=0,en("scrollEnd")),Qn=oo,oo=r),Qi<0){for(ct=t;ct-- >0;)K[ct]&&K[ct].update(0,n);Qi=1}else for(ct=0;ct<t;ct++)K[ct]&&K[ct].update(0,n);Y.isUpdating=!1}ci=0},vo=[Al,kl,xo,To,Ot+oi,Ot+ni,Ot+si,Ot+ii,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],ji=vo.concat([$r,Qr,"boxSizing","max"+Sn,"max"+Eo,"position",Ot,Ce,Ce+si,Ce+ni,Ce+oi,Ce+ii]),mf=function(e,t,r){En(r);var n=e._gsap;if(n.spacerIsNative)En(n.spacerState);else if(e._gsap.swappedIn){var i=t.parentNode;i&&(i.insertBefore(e,t),i.removeChild(t))}e._gsap.swappedIn=!1},co=function(e,t,r,n){if(!e._gsap.swappedIn){for(var i=vo.length,s=t.style,o=e.style,l;i--;)l=vo[i],s[l]=r[l];s.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(s.display="inline-block"),o[xo]=o[To]="auto",s.flexBasis=r.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[$r]=es(e,Qe)+De,s[Qr]=es(e,ke)+De,s[Ce]=o[Ot]=o[kl]=o[Al]="0",En(n),o[$r]=o["max"+Sn]=r[$r],o[Qr]=o["max"+Eo]=r[Qr],o[Ce]=r[Ce],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},_f=/([A-Z])/g,En=function(e){if(e){var t=e.t.style,r=e.length,n=0,i,s;for((e.t._gsap||P.core.getCache(e.t)).uncache=1;n<r;n+=2)s=e[n+1],i=e[n],s?t[i]=s:t[i]&&t.removeProperty(i.replace(_f,"-$1").toLowerCase())}},Vi=function(e){for(var t=ji.length,r=e.style,n=[],i=0;i<t;i++)n.push(ji[i],r[ji[i]]);return n.t=e,n},gf=function(e,t,r){for(var n=[],i=e.length,s=r?8:0,o;s<i;s+=2)o=e[s],n.push(o,o in t?t[o]:e[s+1]);return n.t=e.t,n},Zi={left:0,top:0},hl=function(e,t,r,n,i,s,o,l,c,u,d,h,f,m){Je(e)&&(e=e(l)),Mt(e)&&e.substr(0,3)==="max"&&(e=h+(e.charAt(4)==="="?Ki("0"+e.substr(3),r):0));var p=f?f.time():0,_,v,y;if(f&&f.seek(0),isNaN(e)||(e=+e),Jn(e))f&&(e=P.utils.mapRange(f.scrollTrigger.start,f.scrollTrigger.end,0,h,e)),o&&$i(o,r,n,!0);else{Je(t)&&(t=t(l));var T=(e||"0").split(" "),b,M,k,S;y=at(t,l)||re,b=ur(y)||{},(!b||!b.left&&!b.top)&&Dt(y).display==="none"&&(S=y.style.display,y.style.display="block",b=ur(y),S?y.style.display=S:y.style.removeProperty("display")),M=Ki(T[0],b[n.d]),k=Ki(T[1]||"0",r),e=b[n.p]-c[n.p]-u+M+i-k,o&&$i(o,k,n,r-k<20||o._isStart&&k>20),r-=r-k}if(m&&(l[m]=e||-.001,e<0&&(e=0)),s){var x=e+r,E=s._isStart;_="scroll"+n.d2,$i(s,x,n,E&&x>20||!E&&(d?Math.max(re[_],Lt[_]):s.parentNode[_])<=x+1),d&&(c=ur(o),d&&(s.style[n.op.p]=c[n.op.p]-n.op.m-s._offset+De))}return f&&y&&(_=ur(y),f.seek(h),v=ur(y),f._caScrollDist=_[n.p]-v[n.p],e=e/f._caScrollDist*h),f&&f.seek(p),f?e:Math.round(e)},vf=/(webkit|moz|length|cssText|inset)/i,ml=function(e,t,r,n){if(e.parentNode!==t){var i=e.style,s,o;if(t===re){e._stOrig=i.cssText,o=Dt(e);for(s in o)!+s&&!vf.test(s)&&o[s]&&typeof i[s]=="string"&&s!=="0"&&(i[s]=o[s]);i.top=r,i.left=n}else i.cssText=e._stOrig;P.core.getCache(e).uncache=1,t.appendChild(e)}},Il=function(e,t,r){var n=t,i=n;return function(s){var o=Math.round(e());return o!==n&&o!==i&&Math.abs(o-n)>3&&Math.abs(o-i)>3&&(s=o,r&&r()),i=n,n=Math.round(s),n}},Xi=function(e,t,r){var n={};n[t.p]="+="+r,P.set(e,n)},_l=function(e,t){var r=lr(e,t),n="_scroll"+t.p2,i=function s(o,l,c,u,d){var h=s.tween,f=l.onComplete,m={};c=c||r();var p=Il(r,c,function(){h.kill(),s.tween=0});return d=u&&d||0,u=u||o-c,h&&h.kill(),l[n]=o,l.inherit=!1,l.modifiers=m,m[n]=function(){return p(c+u*h.ratio+d*h.ratio*h.ratio)},l.onUpdate=function(){U.cache++,s.tween&&fr()},l.onComplete=function(){s.tween=0,f&&f.call(h)},h=s.tween=P.to(e,l),h};return e[n]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},qe(e,"wheel",r.wheelHandler),Y.isTouch&&qe(e,"touchmove",r.wheelHandler),i},Y=function(){function a(t,r){wn||a.register(P)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),ho(this),this.init(t,r)}var e=a.prototype;return e.init=function(r,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!jn){this.update=this.refresh=this.kill=$t;return}r=cl(Mt(r)||Jn(r)||r.nodeType?{trigger:r}:r,Yi);var i=r,s=i.onUpdate,o=i.toggleClass,l=i.id,c=i.onToggle,u=i.onRefresh,d=i.scrub,h=i.trigger,f=i.pin,m=i.pinSpacing,p=i.invalidateOnRefresh,_=i.anticipatePin,v=i.onScrubComplete,y=i.onSnapComplete,T=i.once,b=i.snap,M=i.pinReparent,k=i.pinSpacer,S=i.containerAnimation,x=i.fastScrollEnd,E=i.preventOverlaps,A=r.horizontal||r.containerAnimation&&r.horizontal!==!1?Qe:ke,O=!d&&d!==0,L=at(r.scroller||$),q=P.core.getCache(L),I=Zr(L),G=("pinType"in r?r.pinType:cr(L,"pinType")||I&&"fixed")==="fixed",B=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],R=O&&r.toggleActions.split(" "),V="markers"in r?r.markers:Yi.markers,ne=I?0:parseFloat(Dt(L)["border"+A.p2+Sn])||0,g=this,W=r.onRefreshInit&&function(){return r.onRefreshInit(g)},ie=lf(L,I,A),le=cf(L,I),J=0,pe=0,he=0,ue=lr(L,A),et,Ge,dr,tt,rt,ee,Ee,ft,gt,w,vt,jt,pr,ye,Zt,hr,Pr,Re,mr,Se,Ht,At,Jt,Ln,Ae,pi,er,rn,nn,_r,Or,Q,Dr,It,qt,Nt,Rr,sn,tr;if(g._startClamp=g._endClamp=!1,g._dir=A,_*=45,g.scroller=L,g.scroll=S?S.time.bind(S):ue,tt=ue(),g.vars=r,n=n||r.animation,"refreshPriority"in r&&(bl=1,r.refreshPriority===-9999&&(ai=g)),q.tweenScroll=q.tweenScroll||{top:_l(L,ke),left:_l(L,Qe)},g.tweenTo=et=q.tweenScroll[A.p],g.scrubDuration=function(C){Dr=Jn(C)&&C,Dr?Q?Q.duration(C):Q=P.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Dr,paused:!0,onComplete:function(){return v&&v(g)}}):(Q&&Q.progress(1).kill(),Q=0)},n&&(n.vars.lazy=!1,n._initted&&!g.isReverted||n.vars.immediateRender!==!1&&r.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),g.animation=n.pause(),n.scrollTrigger=g,g.scrubDuration(d),_r=0,l||(l=n.vars.id)),b&&((!Ur(b)||b.push)&&(b={snapTo:b}),"scrollBehavior"in re.style&&P.set(I?[re,Lt]:L,{scrollBehavior:"auto"}),U.forEach(function(C){return Je(C)&&C.target===(I?ce.scrollingElement||Lt:L)&&(C.smooth=!1)}),dr=Je(b.snapTo)?b.snapTo:b.snapTo==="labels"?ff(n):b.snapTo==="labelsDirectional"?df(n):b.directional!==!1?function(C,N){return So(b.snapTo)(C,Ze()-pe<500?0:N.direction)}:P.utils.snap(b.snapTo),It=b.duration||{min:.1,max:2},It=Ur(It)?ti(It.min,It.max):ti(It,It),qt=P.delayedCall(b.delay||Dr/2||.1,function(){var C=ue(),N=Ze()-pe<500,D=et.tween;if((N||Math.abs(g.getVelocity())<10)&&!D&&!rs&&J!==C){var F=(C-ee)/ye,He=n&&!O?n.totalProgress():F,j=N?0:(He-Or)/(Ze()-Qn)*1e3||0,Me=P.utils.clamp(-F,1-F,yn(j/2)*j/.185),Ve=F+(b.inertia===!1?0:Me),be,fe,se=b,Ft=se.onStart,me=se.onInterrupt,yt=se.onComplete;if(be=dr(Ve,g),Jn(be)||(be=Ve),fe=Math.max(0,Math.round(ee+be*ye)),C<=Ee&&C>=ee&&fe!==C){if(D&&!D._initted&&D.data<=yn(fe-C))return;b.inertia===!1&&(Me=be-F),et(fe,{duration:It(yn(Math.max(yn(Ve-He),yn(be-He))*.185/j/.05||0)),ease:b.ease||"power3",data:yn(fe-C),onInterrupt:function(){return qt.restart(!0)&&me&&me(g)},onComplete:function(){g.update(),J=ue(),n&&!O&&(Q?Q.resetTo("totalProgress",be,n._tTime/n._tDur):n.progress(be)),_r=Or=n&&!O?n.totalProgress():g.progress,y&&y(g),yt&&yt(g)}},C,Me*ye,fe-C-Me*ye),Ft&&Ft(g,et.tween)}}else g.isActive&&J!==C&&qt.restart(!0)}).pause()),l&&(_o[l]=g),h=g.trigger=at(h||f!==!0&&f),tr=h&&h._gsap&&h._gsap.stRevert,tr&&(tr=tr(g)),f=f===!0?h:at(f),Mt(o)&&(o={targets:h,className:o}),f&&(m===!1||m===Ot||(m=!m&&f.parentNode&&f.parentNode.style&&Dt(f.parentNode).display==="flex"?!1:Ce),g.pin=f,Ge=P.core.getCache(f),Ge.spacer?Zt=Ge.pinState:(k&&(k=at(k),k&&!k.nodeType&&(k=k.current||k.nativeElement),Ge.spacerIsNative=!!k,k&&(Ge.spacerState=Vi(k))),Ge.spacer=Re=k||ce.createElement("div"),Re.classList.add("pin-spacer"),l&&Re.classList.add("pin-spacer-"+l),Ge.pinState=Zt=Vi(f)),r.force3D!==!1&&P.set(f,{force3D:!0}),g.spacer=Re=Ge.spacer,nn=Dt(f),Ln=nn[m+A.os2],Se=P.getProperty(f),Ht=P.quickSetter(f,A.a,De),co(f,Re,nn),Pr=Vi(f)),V){jt=Ur(V)?cl(V,ul):ul,w=Gi("scroller-start",l,L,A,jt,0),vt=Gi("scroller-end",l,L,A,jt,0,w),mr=w["offset"+A.op.d2];var An=at(cr(L,"content")||L);ft=this.markerStart=Gi("start",l,An,A,jt,mr,0,S),gt=this.markerEnd=Gi("end",l,An,A,jt,mr,0,S),S&&(sn=P.quickSetter([ft,gt],A.a,De)),!G&&!(Bt.length&&cr(L,"fixedMarkers")===!0)&&(uf(I?re:L),P.set([w,vt],{force3D:!0}),pi=P.quickSetter(w,A.a,De),rn=P.quickSetter(vt,A.a,De))}if(S){var z=S.vars.onUpdate,H=S.vars.onUpdateParams;S.eventCallback("onUpdate",function(){g.update(0,0,1),z&&z.apply(S,H||[])})}if(g.previous=function(){return K[K.indexOf(g)-1]},g.next=function(){return K[K.indexOf(g)+1]},g.revert=function(C,N){if(!N)return g.kill(!0);var D=C!==!1||!g.enabled,F=je;D!==g.isReverted&&(D&&(Nt=Math.max(ue(),g.scroll.rec||0),he=g.progress,Rr=n&&n.progress()),ft&&[ft,gt,w,vt].forEach(function(He){return He.style.display=D?"none":"block"}),D&&(je=g,g.update(D)),f&&(!M||!g.isActive)&&(D?mf(f,Re,Zt):co(f,Re,Dt(f),Ae)),D||g.update(D),je=F,g.isReverted=D)},g.refresh=function(C,N,D,F){if(!((je||!g.enabled)&&!N)){if(f&&C&&Rt){qe(a,"scrollEnd",Pl);return}!ut&&W&&W(g),je=g,et.tween&&!D&&(et.tween.kill(),et.tween=0),Q&&Q.pause(),p&&n&&(n.revert({kill:!1}).invalidate(),n.getChildren?n.getChildren(!0,!0,!1).forEach(function(gr){return gr.vars.immediateRender&&gr.render(0,!0,!0)}):n.vars.immediateRender&&n.render(0,!0,!0)),g.isReverted||g.revert(!0,!0),g._subPinOffset=!1;var He=ie(),j=le(),Me=S?S.duration():Qt(L,A),Ve=ye<=.01||!ye,be=0,fe=F||0,se=Ur(D)?D.end:r.end,Ft=r.endTrigger||h,me=Ur(D)?D.start:r.start||(r.start===0||!h?0:f?"0 0":"0 100%"),yt=g.pinnedContainer=r.pinnedContainer&&at(r.pinnedContainer,g),Wt=h&&Math.max(0,K.indexOf(g))||0,Ne=Wt,Fe,Xe,Hr,hi,Ue,Pe,Yt,ls,Io,kn,Gt,Cn,mi;for(V&&Ur(D)&&(Cn=P.getProperty(w,A.p),mi=P.getProperty(vt,A.p));Ne-- >0;)Pe=K[Ne],Pe.end||Pe.refresh(0,1)||(je=g),Yt=Pe.pin,Yt&&(Yt===h||Yt===f||Yt===yt)&&!Pe.isReverted&&(kn||(kn=[]),kn.unshift(Pe),Pe.revert(!0,!0)),Pe!==K[Ne]&&(Wt--,Ne--);for(Je(me)&&(me=me(g)),me=sl(me,"start",g),ee=hl(me,h,He,A,ue(),ft,w,g,j,ne,G,Me,S,g._startClamp&&"_startClamp")||(f?-.001:0),Je(se)&&(se=se(g)),Mt(se)&&!se.indexOf("+=")&&(~se.indexOf(" ")?se=(Mt(me)?me.split(" ")[0]:"")+se:(be=Ki(se.substr(2),He),se=Mt(me)?me:(S?P.utils.mapRange(0,S.duration(),S.scrollTrigger.start,S.scrollTrigger.end,ee):ee)+be,Ft=h)),se=sl(se,"end",g),Ee=Math.max(ee,hl(se||(Ft?"100% 0":Me),Ft,He,A,ue()+be,gt,vt,g,j,ne,G,Me,S,g._endClamp&&"_endClamp"))||-.001,be=0,Ne=Wt;Ne--;)Pe=K[Ne]||{},Yt=Pe.pin,Yt&&Pe.start-Pe._pinPush<=ee&&!S&&Pe.end>0&&(Fe=Pe.end-(g._startClamp?Math.max(0,Pe.start):Pe.start),(Yt===h&&Pe.start-Pe._pinPush<ee||Yt===yt)&&isNaN(me)&&(be+=Fe*(1-Pe.progress)),Yt===f&&(fe+=Fe));if(ee+=be,Ee+=be,g._startClamp&&(g._startClamp+=be),g._endClamp&&!ut&&(g._endClamp=Ee||-.001,Ee=Math.min(Ee,Qt(L,A))),ye=Ee-ee||(ee-=.01)&&.001,Ve&&(he=P.utils.clamp(0,1,P.utils.normalize(ee,Ee,Nt))),g._pinPush=fe,ft&&be&&(Fe={},Fe[A.a]="+="+be,yt&&(Fe[A.p]="-="+ue()),P.set([ft,gt],Fe)),f&&!(mo&&g.end>=Qt(L,A)))Fe=Dt(f),hi=A===ke,Hr=ue(),At=parseFloat(Se(A.a))+fe,!Me&&Ee>1&&(Gt=(I?ce.scrollingElement||Lt:L).style,Gt={style:Gt,value:Gt["overflow"+A.a.toUpperCase()]},I&&Dt(re)["overflow"+A.a.toUpperCase()]!=="scroll"&&(Gt.style["overflow"+A.a.toUpperCase()]="scroll")),co(f,Re,Fe),Pr=Vi(f),Xe=ur(f,!0),ls=G&&lr(L,hi?Qe:ke)(),m?(Ae=[m+A.os2,ye+fe+De],Ae.t=Re,Ne=m===Ce?es(f,A)+ye+fe:0,Ne&&(Ae.push(A.d,Ne+De),Re.style.flexBasis!=="auto"&&(Re.style.flexBasis=Ne+De)),En(Ae),yt&&K.forEach(function(gr){gr.pin===yt&&gr.vars.pinSpacing!==!1&&(gr._subPinOffset=!0)}),G&&ue(Nt)):(Ne=es(f,A),Ne&&Re.style.flexBasis!=="auto"&&(Re.style.flexBasis=Ne+De)),G&&(Ue={top:Xe.top+(hi?Hr-ee:ls)+De,left:Xe.left+(hi?ls:Hr-ee)+De,boxSizing:"border-box",position:"fixed"},Ue[$r]=Ue["max"+Sn]=Math.ceil(Xe.width)+De,Ue[Qr]=Ue["max"+Eo]=Math.ceil(Xe.height)+De,Ue[Ot]=Ue[Ot+si]=Ue[Ot+ni]=Ue[Ot+oi]=Ue[Ot+ii]="0",Ue[Ce]=Fe[Ce],Ue[Ce+si]=Fe[Ce+si],Ue[Ce+ni]=Fe[Ce+ni],Ue[Ce+oi]=Fe[Ce+oi],Ue[Ce+ii]=Fe[Ce+ii],hr=gf(Zt,Ue,M),ut&&ue(0)),n?(Io=n._initted,io(1),n.render(n.duration(),!0,!0),Jt=Se(A.a)-At+ye+fe,er=Math.abs(ye-Jt)>1,G&&er&&hr.splice(hr.length-2,2),n.render(0,!0,!0),Io||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),io(0)):Jt=ye,Gt&&(Gt.value?Gt.style["overflow"+A.a.toUpperCase()]=Gt.value:Gt.style.removeProperty("overflow-"+A.a));else if(h&&ue()&&!S)for(Xe=h.parentNode;Xe&&Xe!==re;)Xe._pinOffset&&(ee-=Xe._pinOffset,Ee-=Xe._pinOffset),Xe=Xe.parentNode;kn&&kn.forEach(function(gr){return gr.revert(!1,!0)}),g.start=ee,g.end=Ee,tt=rt=ut?Nt:ue(),!S&&!ut&&(tt<Nt&&ue(Nt),g.scroll.rec=0),g.revert(!1,!0),pe=Ze(),qt&&(J=-1,qt.restart(!0)),je=0,n&&O&&(n._initted||Rr)&&n.progress()!==Rr&&n.progress(Rr||0,!0).render(n.time(),!0,!0),(Ve||he!==g.progress||S||p||n&&!n._initted)&&(n&&!O&&(n._initted||he||n.vars.immediateRender!==!1)&&n.totalProgress(S&&ee<-.001&&!he?P.utils.normalize(ee,Ee,0):he,!0),g.progress=Ve||(tt-ee)/ye===he?0:he),f&&m&&(Re._pinOffset=Math.round(g.progress*Jt)),Q&&Q.invalidate(),isNaN(Cn)||(Cn-=P.getProperty(w,A.p),mi-=P.getProperty(vt,A.p),Xi(w,A,Cn),Xi(ft,A,Cn-(F||0)),Xi(vt,A,mi),Xi(gt,A,mi-(F||0))),Ve&&!ut&&g.update(),u&&!ut&&!pr&&(pr=!0,u(g),pr=!1)}},g.getVelocity=function(){return(ue()-rt)/(Ze()-Qn)*1e3||0},g.endAnimation=function(){$n(g.callbackAnimation),n&&(Q?Q.progress(1):n.paused()?O||$n(n,g.direction<0,1):$n(n,n.reversed()))},g.labelToScroll=function(C){return n&&n.labels&&(ee||g.refresh()||ee)+n.labels[C]/n.duration()*ye||0},g.getTrailing=function(C){var N=K.indexOf(g),D=g.direction>0?K.slice(0,N).reverse():K.slice(N+1);return(Mt(C)?D.filter(function(F){return F.vars.preventOverlaps===C}):D).filter(function(F){return g.direction>0?F.end<=ee:F.start>=Ee})},g.update=function(C,N,D){if(!(S&&!D&&!C)){var F=ut===!0?Nt:g.scroll(),He=C?0:(F-ee)/ye,j=He<0?0:He>1?1:He||0,Me=g.progress,Ve,be,fe,se,Ft,me,yt,Wt;if(N&&(rt=tt,tt=S?ue():F,b&&(Or=_r,_r=n&&!O?n.totalProgress():j)),_&&f&&!je&&!Fi&&Rt&&(!j&&ee<F+(F-rt)/(Ze()-Qn)*_?j=1e-4:j===1&&Ee>F+(F-rt)/(Ze()-Qn)*_&&(j=.9999)),j!==Me&&g.enabled){if(Ve=g.isActive=!!j&&j<1,be=!!Me&&Me<1,me=Ve!==be,Ft=me||!!j!=!!Me,g.direction=j>Me?1:-1,g.progress=j,Ft&&!je&&(fe=j&&!Me?0:j===1?1:Me===1?2:3,O&&(se=!me&&R[fe+1]!=="none"&&R[fe+1]||R[fe],Wt=n&&(se==="complete"||se==="reset"||se in n))),E&&(me||Wt)&&(Wt||d||!n)&&(Je(E)?E(g):g.getTrailing(E).forEach(function(Hr){return Hr.endAnimation()})),O||(Q&&!je&&!Fi?(Q._dp._time-Q._start!==Q._time&&Q.render(Q._dp._time-Q._start),Q.resetTo?Q.resetTo("totalProgress",j,n._tTime/n._tDur):(Q.vars.totalProgress=j,Q.invalidate().restart())):n&&n.totalProgress(j,!!(je&&(pe||C)))),f){if(C&&m&&(Re.style[m+A.os2]=Ln),!G)Ht(Zn(At+Jt*j));else if(Ft){if(yt=!C&&j>Me&&Ee+1>F&&F+1>=Qt(L,A),M)if(!C&&(Ve||yt)){var Ne=ur(f,!0),Fe=F-ee;ml(f,re,Ne.top+(A===ke?Fe:0)+De,Ne.left+(A===ke?0:Fe)+De)}else ml(f,Re);En(Ve||yt?hr:Pr),er&&j<1&&Ve||Ht(At+(j===1&&!yt?Jt:0))}}b&&!et.tween&&!je&&!Fi&&qt.restart(!0),o&&(me||T&&j&&(j<1||!so))&&li(o.targets).forEach(function(Hr){return Hr.classList[Ve||T?"add":"remove"](o.className)}),s&&!O&&!C&&s(g),Ft&&!je?(O&&(Wt&&(se==="complete"?n.pause().totalProgress(1):se==="reset"?n.restart(!0).pause():se==="restart"?n.restart(!0):n[se]()),s&&s(g)),(me||!so)&&(c&&me&&ao(g,c),B[fe]&&ao(g,B[fe]),T&&(j===1?g.kill(!1,1):B[fe]=0),me||(fe=j===1?1:3,B[fe]&&ao(g,B[fe]))),x&&!Ve&&Math.abs(g.getVelocity())>(Jn(x)?x:2500)&&($n(g.callbackAnimation),Q?Q.progress(1):$n(n,se==="reverse"?1:!j,1))):O&&s&&!je&&s(g)}if(rn){var Xe=S?F/S.duration()*(S._caScrollDist||0):F;pi(Xe+(w._isFlipped?1:0)),rn(Xe)}sn&&sn(-F/S.duration()*(S._caScrollDist||0))}},g.enable=function(C,N){g.enabled||(g.enabled=!0,qe(L,"resize",ei),I||qe(L,"scroll",bn),W&&qe(a,"refreshInit",W),C!==!1&&(g.progress=he=0,tt=rt=J=ue()),N!==!1&&g.refresh())},g.getTween=function(C){return C&&et?et.tween:Q},g.setPositions=function(C,N,D,F){if(S){var He=S.scrollTrigger,j=S.duration(),Me=He.end-He.start;C=He.start+Me*C/j,N=He.start+Me*N/j}g.refresh(!1,!1,{start:ol(C,D&&!!g._startClamp),end:ol(N,D&&!!g._endClamp)},F),g.update()},g.adjustPinSpacing=function(C){if(Ae&&C){var N=Ae.indexOf(A.d)+1;Ae[N]=parseFloat(Ae[N])+C+De,Ae[1]=parseFloat(Ae[1])+C+De,En(Ae)}},g.disable=function(C,N){if(C!==!1&&g.revert(!0,!0),g.enabled&&(g.enabled=g.isActive=!1,N||Q&&Q.pause(),Nt=0,Ge&&(Ge.uncache=1),W&&Ie(a,"refreshInit",W),qt&&(qt.pause(),et.tween&&et.tween.kill()&&(et.tween=0)),!I)){for(var D=K.length;D--;)if(K[D].scroller===L&&K[D]!==g)return;Ie(L,"resize",ei),I||Ie(L,"scroll",bn)}},g.kill=function(C,N){g.disable(C,N),Q&&!N&&Q.kill(),l&&delete _o[l];var D=K.indexOf(g);D>=0&&K.splice(D,1),D===ct&&Qi>0&&ct--,D=0,K.forEach(function(F){return F.scroller===g.scroller&&(D=1)}),D||ut||(g.scroll.rec=0),n&&(n.scrollTrigger=null,C&&n.revert({kill:!1}),N||n.kill()),ft&&[ft,gt,w,vt].forEach(function(F){return F.parentNode&&F.parentNode.removeChild(F)}),ai===g&&(ai=0),f&&(Ge&&(Ge.uncache=1),D=0,K.forEach(function(F){return F.pin===f&&D++}),D||(Ge.spacer=0)),r.onKill&&r.onKill(g)},K.push(g),g.enable(!1,!1),tr&&tr(g),n&&n.add&&!ye){var te=g.update;g.update=function(){g.update=te,U.cache++,ee||Ee||g.refresh()},P.delayedCall(.01,g.update),ye=.01,ee=Ee=0}else g.refresh();f&&hf()},a.register=function(r){return wn||(P=r||Sl(),El()&&window.document&&a.enable(),wn=jn),wn},a.defaults=function(r){if(r)for(var n in r)Yi[n]=r[n];return Yi},a.disable=function(r,n){jn=0,K.forEach(function(s){return s[n?"kill":"disable"](r)}),Ie($,"wheel",bn),Ie(ce,"scroll",bn),clearInterval(Ni),Ie(ce,"touchcancel",$t),Ie(re,"touchstart",$t),Bi(Ie,ce,"pointerdown,touchstart,mousedown",al),Bi(Ie,ce,"pointerup,touchend,mouseup",ll),Ji.kill(),zi(Ie);for(var i=0;i<U.length;i+=3)Wi(Ie,U[i],U[i+1]),Wi(Ie,U[i],U[i+2])},a.enable=function(){if($=window,ce=document,Lt=ce.documentElement,re=ce.body,P&&(li=P.utils.toArray,ti=P.utils.clamp,ho=P.core.context||$t,io=P.core.suppressOverwrites||$t,bo=$.history.scrollRestoration||"auto",go=$.pageYOffset||0,P.core.globals("ScrollTrigger",a),re)){jn=1,xn=document.createElement("div"),xn.style.height="100vh",xn.style.position="absolute",Hl(),af(),xe.register(P),a.isTouch=xe.isTouch,kr=xe.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),po=xe.isTouch===1,qe($,"wheel",bn),yo=[$,ce,Lt,re],P.matchMedia?(a.matchMedia=function(c){var u=P.matchMedia(),d;for(d in c)u.add(d,c[d]);return u},P.addEventListener("matchMediaInit",function(){Dl(),Mo()}),P.addEventListener("matchMediaRevert",function(){return Ol()}),P.addEventListener("matchMedia",function(){Kr(0,1),en("matchMedia")}),P.matchMedia().add("(orientation: portrait)",function(){return lo(),lo})):console.warn("Requires GSAP 3.11.0 or later"),lo(),qe(ce,"scroll",bn);var r=re.hasAttribute("style"),n=re.style,i=n.borderTopStyle,s=P.core.Animation.prototype,o,l;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),n.borderTopStyle="solid",o=ur(re),ke.m=Math.round(o.top+ke.sc())||0,Qe.m=Math.round(o.left+Qe.sc())||0,i?n.borderTopStyle=i:n.removeProperty("border-top-style"),r||(re.setAttribute("style",""),re.removeAttribute("style")),Ni=setInterval(fl,250),P.delayedCall(.5,function(){return Fi=0}),qe(ce,"touchcancel",$t),qe(re,"touchstart",$t),Bi(qe,ce,"pointerdown,touchstart,mousedown",al),Bi(qe,ce,"pointerup,touchend,mouseup",ll),fo=P.utils.checkPrefix("transform"),ji.push(fo),wn=Ze(),Ji=P.delayedCall(.2,Kr).pause(),Tn=[ce,"visibilitychange",function(){var c=$.innerWidth,u=$.innerHeight;ce.hidden?(nl=c,il=u):(nl!==c||il!==u)&&ei()},ce,"DOMContentLoaded",Kr,$,"load",Kr,$,"resize",ei],zi(qe),K.forEach(function(c){return c.enable(0,1)}),l=0;l<U.length;l+=3)Wi(Ie,U[l],U[l+1]),Wi(Ie,U[l],U[l+2])}},a.config=function(r){"limitCallbacks"in r&&(so=!!r.limitCallbacks);var n=r.syncInterval;n&&clearInterval(Ni)||(Ni=n)&&setInterval(fl,n),"ignoreMobileResize"in r&&(po=a.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(zi(Ie)||zi(qe,r.autoRefreshEvents||"none"),wl=(r.autoRefreshEvents+"").indexOf("resize")===-1)},a.scrollerProxy=function(r,n){var i=at(r),s=U.indexOf(i),o=Zr(i);~s&&U.splice(s,o?6:2),n&&(o?Bt.unshift($,n,re,n,Lt,n):Bt.unshift(i,n))},a.clearMatchMedia=function(r){K.forEach(function(n){return n._ctx&&n._ctx.query===r&&n._ctx.kill(!0,!0)})},a.isInViewport=function(r,n,i){var s=(Mt(r)?at(r):r).getBoundingClientRect(),o=s[i?$r:Qr]*n||0;return i?s.right-o>0&&s.left+o<$.innerWidth:s.bottom-o>0&&s.top+o<$.innerHeight},a.positionInViewport=function(r,n,i){Mt(r)&&(r=at(r));var s=r.getBoundingClientRect(),o=s[i?$r:Qr],l=n==null?o/2:n in ts?ts[n]*o:~n.indexOf("%")?parseFloat(n)*o/100:parseFloat(n)||0;return i?(s.left+l)/$.innerWidth:(s.top+l)/$.innerHeight},a.killAll=function(r){if(K.slice(0).forEach(function(i){return i.vars.id!=="ScrollSmoother"&&i.kill()}),r!==!0){var n=Jr.killAll||[];Jr={},n.forEach(function(i){return i()})}},a}();Y.version="3.14.2";Y.saveStyles=function(a){return a?li(a).forEach(function(e){if(e&&e.style){var t=St.indexOf(e);t>=0&&St.splice(t,5),St.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),P.core.getCache(e),ho())}}):St};Y.revert=function(a,e){return Mo(!a,e)};Y.create=function(a,e){return new Y(a,e)};Y.refresh=function(a){return a?ei(!0):(wn||Y.register())&&Kr(!0)};Y.update=function(a){return++U.cache&&fr(a===!0?2:0)};Y.clearScrollMemory=Rl;Y.maxScroll=function(a,e){return Qt(a,e?Qe:ke)};Y.getScrollFunc=function(a,e){return lr(at(a),e?Qe:ke)};Y.getById=function(a){return _o[a]};Y.getAll=function(){return K.filter(function(a){return a.vars.id!=="ScrollSmoother"})};Y.isScrolling=function(){return!!Rt};Y.snapDirectional=So;Y.addEventListener=function(a,e){var t=Jr[a]||(Jr[a]=[]);~t.indexOf(e)||t.push(e)};Y.removeEventListener=function(a,e){var t=Jr[a],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)};Y.batch=function(a,e){var t=[],r={},n=e.interval||.016,i=e.batchMax||1e9,s=function(c,u){var d=[],h=[],f=P.delayedCall(n,function(){u(d,h),d=[],h=[]}).pause();return function(m){d.length||f.restart(!0),d.push(m.trigger),h.push(m),i<=d.length&&f.progress(1)}},o;for(o in e)r[o]=o.substr(0,2)==="on"&&Je(e[o])&&o!=="onRefreshInit"?s(o,e[o]):e[o];return Je(i)&&(i=i(),qe(Y,"refresh",function(){return i=e.batchMax()})),li(a).forEach(function(l){var c={};for(o in r)c[o]=r[o];c.trigger=l,t.push(Y.create(c))}),t};var gl=function(e,t,r,n){return t>n?e(n):t<0&&e(0),r>n?(n-t)/(r-t):r<0?t/(t-r):1},uo=function a(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(xe.isTouch?" pinch-zoom":""):"none",e===Lt&&a(re,t)},Ui={auto:1,scroll:1},yf=function(e){var t=e.event,r=e.target,n=e.axis,i=(t.changedTouches?t.changedTouches[0]:t).target,s=i._gsap||P.core.getCache(i),o=Ze(),l;if(!s._isScrollT||o-s._isScrollT>2e3){for(;i&&i!==re&&(i.scrollHeight<=i.clientHeight&&i.scrollWidth<=i.clientWidth||!(Ui[(l=Dt(i)).overflowY]||Ui[l.overflowX]));)i=i.parentNode;s._isScroll=i&&i!==r&&!Zr(i)&&(Ui[(l=Dt(i)).overflowY]||Ui[l.overflowX]),s._isScrollT=o}(s._isScroll||n==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},ql=function(e,t,r,n){return xe.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&yf,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&qe(ce,xe.eventTypes[0],yl,!1,!0)},onDisable:function(){return Ie(ce,xe.eventTypes[0],yl,!0)}})},bf=/(input|label|select|textarea)/i,vl,yl=function(e){var t=bf.test(e.target.tagName);(t||vl)&&(e._gsapAllow=!0,vl=t)},wf=function(e){Ur(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=e,r=t.normalizeScrollX,n=t.momentum,i=t.allowNestedScroll,s=t.onRelease,o,l,c=at(e.target)||Lt,u=P.core.globals().ScrollSmoother,d=u&&u.get(),h=kr&&(e.content&&at(e.content)||d&&e.content!==!1&&!d.smooth()&&d.content()),f=lr(c,ke),m=lr(c,Qe),p=1,_=(xe.isTouch&&$.visualViewport?$.visualViewport.scale*$.visualViewport.width:$.outerWidth)/$.innerWidth,v=0,y=Je(n)?function(){return n(o)}:function(){return n||2.8},T,b,M=ql(c,e.type,!0,i),k=function(){return b=!1},S=$t,x=$t,E=function(){l=Qt(c,ke),x=ti(kr?1:0,l),r&&(S=ti(0,Qt(c,Qe))),T=jr},A=function(){h._gsap.y=Zn(parseFloat(h._gsap.y)+f.offset)+"px",h.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(h._gsap.y)+", 0, 1)",f.offset=f.cacheID=0},O=function(){if(b){requestAnimationFrame(k);var V=Zn(o.deltaY/2),ne=x(f.v-V);if(h&&ne!==f.v+f.offset){f.offset=ne-f.v;var g=Zn((parseFloat(h&&h._gsap.y)||0)-f.offset);h.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+g+", 0, 1)",h._gsap.y=g+"px",f.cacheID=U.cache,fr()}return!0}f.offset&&A(),b=!0},L,q,I,G,B=function(){E(),L.isActive()&&L.vars.scrollY>l&&(f()>l?L.progress(1)&&f(l):L.resetTo("scrollY",l))};return h&&P.set(h,{y:"+=0"}),e.ignoreCheck=function(R){return kr&&R.type==="touchmove"&&O(R)||p>1.05&&R.type!=="touchstart"||o.isGesturing||R.touches&&R.touches.length>1},e.onPress=function(){b=!1;var R=p;p=Zn(($.visualViewport&&$.visualViewport.scale||1)/_),L.pause(),R!==p&&uo(c,p>1.01?!0:r?!1:"x"),q=m(),I=f(),E(),T=jr},e.onRelease=e.onGestureStart=function(R,V){if(f.offset&&A(),!V)G.restart(!0);else{U.cache++;var ne=y(),g,W;r&&(g=m(),W=g+ne*.05*-R.velocityX/.227,ne*=gl(m,g,W,Qt(c,Qe)),L.vars.scrollX=S(W)),g=f(),W=g+ne*.05*-R.velocityY/.227,ne*=gl(f,g,W,Qt(c,ke)),L.vars.scrollY=x(W),L.invalidate().duration(ne).play(.01),(kr&&L.vars.scrollY>=l||g>=l-1)&&P.to({},{onUpdate:B,duration:ne})}s&&s(R)},e.onWheel=function(){L._ts&&L.pause(),Ze()-v>1e3&&(T=0,v=Ze())},e.onChange=function(R,V,ne,g,W){if(jr!==T&&E(),V&&r&&m(S(g[2]===V?q+(R.startX-R.x):m()+V-g[1])),ne){f.offset&&A();var ie=W[2]===ne,le=ie?I+R.startY-R.y:f()+ne-W[1],J=x(le);ie&&le!==J&&(I+=J-le),f(J)}(ne||V)&&fr()},e.onEnable=function(){uo(c,r?!1:"x"),Y.addEventListener("refresh",B),qe($,"resize",B),f.smooth&&(f.target.style.scrollBehavior="auto",f.smooth=m.smooth=!1),M.enable()},e.onDisable=function(){uo(c,!0),Ie($,"resize",B),Y.removeEventListener("refresh",B),M.kill()},e.lockAxis=e.lockAxis!==!1,o=new xe(e),o.iOS=kr,kr&&!f()&&f(1),kr&&P.ticker.add($t),G=o._dc,L=P.to(o,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Il(f,f(),function(){return L.pause()})},onUpdate:fr,onComplete:G.vars.onComplete}),o};Y.sort=function(a){if(Je(a))return K.sort(a);var e=$.pageYOffset||0;return Y.getAll().forEach(function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+$.innerHeight}),K.sort(a||function(t,r){return(t.vars.refreshPriority||0)*-1e6+(t.vars.containerAnimation?1e6:t._sortY)-((r.vars.containerAnimation?1e6:r._sortY)+(r.vars.refreshPriority||0)*-1e6)})};Y.observe=function(a){return new xe(a)};Y.normalizeScroll=function(a){if(typeof a>"u")return lt;if(a===!0&<)return lt.enable();if(a===!1){lt&<.kill(),lt=a;return}var e=a instanceof xe?a:wf(a);return lt&<.target===e.target&<.kill(),Zr(e.target)&&(lt=e),e};Y.core={_getVelocityProp:qi,_inputObserver:ql,_scrollers:U,_proxies:Bt,bridge:{ss:function(){Rt||en("scrollStart"),Rt=Ze()},ref:function(){return je}}};Sl()&&P.registerPlugin(Y);var Nl=()=>{Gn.registerPlugin(Y),document.querySelectorAll(".decor_arrow-wrapper").forEach(e=>{let t=e.querySelector(".decor-middle"),r=e.querySelector(".decor-top"),n=e,i=Gn.timeline({paused:!0});i.to(n,{opacity:1,duration:.6,ease:"power2.out"}).add("rideAlong","-=0.3"),t&&i.fromTo(t,{y:0,xPercent:-50},{y:-15,xPercent:-50,duration:1,ease:"power2.out"},"rideAlong"),r&&i.fromTo(r,{y:0,xPercent:-50},{y:-60,xPercent:-50,duration:1.2,ease:"power2.out"},"rideAlong"),Y.create({trigger:n,start:"top 85%",once:!0,onEnter:()=>{Gn.set(n,{opacity:0}),i.play()}})}),window.addEventListener("load",()=>{setTimeout(()=>{Y.refresh()},200)})};var Fl=(a={pauseOnHover:!1})=>{let e=document.querySelector(".banner_component"),t=document.querySelector(".banner_inner-wrapper"),r=document.querySelector(".banner_marquee");if(!e||!t||!r)return;t.querySelectorAll(".banner_marquee.is-clone").forEach(d=>d.remove());let i=r.offsetWidth,s=48,o="perfect-marquee-styles";if(!document.getElementById(o)){let d=document.createElement("style");d.id=o;let h=a.pauseOnHover?`
|
|
103
|
+
`;function _(B,ie,le){let J=B.createShader(ie);return J?(B.shaderSource(J,le),B.compileShader(J),B.getShaderParameter(J,B.COMPILE_STATUS)?J:(console.error("Shader compile error:",B.getShaderInfoLog(J)),B.deleteShader(J),null)):null}let b=_(f,f.VERTEX_SHADER,m),w=_(f,f.FRAGMENT_SHADER,h);if(!b||!w)return;let v=f.createProgram();if(!v)return;if(f.attachShader(v,b),f.attachShader(v,w),f.linkProgram(v),!f.getProgramParameter(v,f.LINK_STATUS)){console.error("Program link error:",f.getProgramInfoLog(v));return}let y=f.createBuffer();f.bindBuffer(f.ARRAY_BUFFER,y),f.bufferData(f.ARRAY_BUFFER,new Float32Array([-1,-1,1,-1,-1,1,-1,1,1,-1,1,1]),f.STATIC_DRAW);let E=f.getAttribLocation(v,"a_position"),M=f.getUniformLocation(v,"u_time"),S=f.getUniformLocation(v,"u_resolution"),A=f.getUniformLocation(v,"u_color1"),T=f.getUniformLocation(v,"u_color2"),L=f.getUniformLocation(v,"u_colorBg");function D(){let B=window.devicePixelRatio||1,ie=Math.floor(u.clientWidth*B),le=Math.floor(u.clientHeight*B);(u.width!==ie||u.height!==le)&&(u.width=ie,u.height=le),(d.width!==ie||d.height!==le)&&(d.width=ie,d.height=le)}let k,F=performance.now(),z=0,Q=12,U=.08,R=4,Y=null;function ne(){D(),f.viewport(0,0,u.width,u.height),f.useProgram(v);let B=(performance.now()-F)/1e3;f.uniform1f(M,B),f.uniform2f(S,u.width,u.height),f.uniform3f(A,o[0],o[1],o[2]),f.uniform3f(T,l[0],l[1],l[2]),f.uniform3f(L,c[0],c[1],c[2]),f.enableVertexAttribArray(E),f.bindBuffer(f.ARRAY_BUFFER,y),f.vertexAttribPointer(E,2,f.FLOAT,!1,0,0),f.drawArrays(f.TRIANGLES,0,6);let ie=performance.now();if(p&&ie-z>1e3/Q){z=ie;let le=Math.ceil(d.width/R),J=Math.ceil(d.height/R);(!Y||Y.width!==le||Y.height!==J)&&(Y=p.createImageData(le,J));let{data:pe}=Y;for(let he=0;he<pe.length;he+=4){let ue=(Math.random()-.5)*255*U;pe[he]=128+ue,pe[he+1]=128+ue,pe[he+2]=128+ue,pe[he+3]=255}p.clearRect(0,0,d.width,d.height),p.imageSmoothingEnabled=!1,p.putImageData(Y,0,0),p.drawImage(d,0,0,le,J,0,0,d.width,d.height)}k=requestAnimationFrame(ne)}ne();let g=new MutationObserver(B=>{for(let ie of B)for(let le of ie.removedNodes)(le===u||le instanceof Element&&le.contains(u))&&(cancelAnimationFrame(k),g.disconnect())});g.observe(t.parentElement||document.body,{childList:!0,subtree:!0}),requestAnimationFrame(()=>{t.style.opacity="1"})})};function zo(){document.querySelectorAll(".content-col").forEach(a=>{let e=a.querySelector('[data-scroll="vertical"]'),t=a.querySelector(".content-arrow.is-top"),r=a.querySelector(".content-arrow:not(.is-top)");if(!e)return;let n=Array.from(e.querySelectorAll(".content-col-item"));if(n.length<3)return;let i=n[0].getBoundingClientRect(),o=n[1].getBoundingClientRect().top-i.top,l=o-i.height,c=3*i.height+2*l,u=document.createElement("div");u.style.height=`${c}px`,u.style.overflow="hidden",e.parentNode?.insertBefore(u,e),u.appendChild(e);let d=n.length*o-l;e.style.cssText+=`; overflow: visible !important; height: ${d}px !important; min-height: 0 !important; max-height: none !important;`;let p=n.findIndex(w=>w.classList.contains("is-active"));p===-1&&(p=0);let f=(p-1+n.length)%n.length;for(let w=0;w<f;w++){let v=e.querySelector(".content-col-item");v&&e.appendChild(v)}gsap.set(e,{y:0}),h();let m=!1;function h(){Array.from(e.querySelectorAll(".content-col-item")).forEach((w,v)=>{w.classList.toggle("is-active",v===1)})}function _(){m||(m=!0,gsap.to(e,{y:-o,duration:.6,ease:"power3.inOut",onComplete(){let w=e.querySelector(".content-col-item");w&&e.appendChild(w),gsap.set(e,{y:0}),h(),m=!1}}))}function b(){if(m)return;m=!0;let w=Array.from(e.querySelectorAll(".content-col-item")),v=w[w.length-1];e.insertBefore(v,e.querySelector(".content-col-item")),gsap.set(e,{y:-o}),gsap.to(e,{y:0,duration:.6,ease:"power3.inOut",onComplete(){h(),m=!1}})}t?.addEventListener("click",b),r?.addEventListener("click",_)})}function rr(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function $o(a,e){a.prototype=Object.create(e.prototype),a.prototype.constructor=a,a.__proto__=e}var mt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},an={duration:.5,overwrite:!1,delay:0},Ls,Be,de,Ct=1e8,ae=1/Ct,gs=Math.PI*2,yc=gs/4,bc=0,Qo=Math.sqrt,wc=Math.cos,Tc=Math.sin,Oe=function(e){return typeof e=="string"},we=function(e){return typeof e=="function"},ir=function(e){return typeof e=="number"},Si=function(e){return typeof e>"u"},Ut=function(e){return typeof e=="object"},ht=function(e){return e!==!1},As=function(){return typeof window<"u"},_i=function(e){return we(e)||Oe(e)},jo=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Ke=Array.isArray,xc=/random\([^)]+\)/g,Ec=/,\s*/g,Bo=/(?:-?\.?\d|\.)+/gi,ks=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Fr=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,us=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Cs=/[+-]=-?[.\d]+/,Sc=/[^,'"\[\]\s]+/gi,Mc=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ge,Vt,vs,Ps,wt={},bi={},Zo,Jo=function(e){return(bi=ln(e,wt))&&$e},Mi=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},In=function(e,t){return!t&&console.warn(e)},ea=function(e,t){return e&&(wt[e]=t)&&bi&&(bi[e]=t)||wt},qn=function(){return 0},Lc={suppressEvents:!0,isStart:!0,kill:!1},gi={suppressEvents:!0,kill:!1},Ac={suppressEvents:!0},Os={},yr=[],ys={},ta,dt={},fs={},Wo=30,vi=[],Ds="",Rs=function(e){var t=e[0],r,n;if(Ut(t)||we(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(n=vi.length;n--&&!vi[n].targetTest(t););r=vi[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new Ns(e[n],r)))||e.splice(n,1);return e},br=function(e){return e._gsap||Rs(Pt(e))[0]._gsap},Hs=function(e,t,r){return(r=e[t])&&we(r)?e[t]():Si(r)&&e.getAttribute&&e.getAttribute(t)||r},nt=function(e,t){return(e=e.split(",")).forEach(t)||e},Te=function(e){return Math.round(e*1e5)/1e5||0},_e=function(e){return Math.round(e*1e7)/1e7||0},zr=function(e,t){var r=t.charAt(0),n=parseFloat(t.substr(2));return e=parseFloat(e),r==="+"?e+n:r==="-"?e-n:r==="*"?e*n:e/n},kc=function(e,t){for(var r=t.length,n=0;e.indexOf(t[n])<0&&++n<r;);return n<r},wi=function(){var e=yr.length,t=yr.slice(0),r,n;for(ys={},yr.length=0,r=0;r<e;r++)n=t[r],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},Is=function(e){return!!(e._initted||e._startAt||e.add)},ra=function(e,t,r,n){yr.length&&!Be&&wi(),e.render(t,r,n||!!(Be&&t<0&&Is(e))),yr.length&&!Be&&wi()},na=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(Sc).length<2?t:Oe(e)?e.trim():e},ia=function(e){return e},Tt=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},Cc=function(e){return function(t,r){for(var n in r)n in t||n==="duration"&&e||n==="ease"||(t[n]=r[n])}},ln=function(e,t){for(var r in t)e[r]=t[r];return e},Yo=function a(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Ut(t[r])?a(e[r]||(e[r]={}),t[r]):t[r]);return e},Ti=function(e,t){var r={},n;for(n in e)n in t||(r[n]=e[n]);return r},Dn=function(e){var t=e.parent||ge,r=e.keyframes?Cc(Ke(e.keyframes)):Tt;if(ht(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},Pc=function(e,t){for(var r=e.length,n=r===t.length;n&&r--&&e[r]===t[r];);return r<0},sa=function(e,t,r,n,i){r===void 0&&(r="_first"),n===void 0&&(n="_last");var s=e[n],o;if(i)for(o=t[i];s&&s[i]>o;)s=s._prev;return s?(t._next=s._next,s._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[n]=t,t._prev=s,t.parent=t._dp=e,t},Li=function(e,t,r,n){r===void 0&&(r="_first"),n===void 0&&(n="_last");var i=t._prev,s=t._next;i?i._next=s:e[r]===t&&(e[r]=s),s?s._prev=i:e[n]===t&&(e[n]=i),t._next=t._prev=t.parent=null},wr=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Ir=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},Oc=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},bs=function(e,t,r,n){return e._startAt&&(Be?e._startAt.revert(gi):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))},Dc=function a(e){return!e||e._ts&&a(e.parent)},Go=function(e){return e._repeat?cn(e._tTime,e=e.duration()+e._rDelay)*e:0},cn=function(e,t){var r=Math.floor(e=_e(e/t));return e&&r===e?r-1:r},xi=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Ai=function(e){return e._end=_e(e._start+(e._tDur/Math.abs(e._ts||e._rts||ae)||0))},ki=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=_e(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Ai(e),r._dirty||Ir(r,e)),e},oa=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=xi(e.rawTime(),t),(!t._dur||zn(0,t.totalDuration(),r)-t._tTime>ae)&&t.render(r,!0)),Ir(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-ae}},Xt=function(e,t,r,n){return t.parent&&wr(t),t._start=_e((ir(r)?r:r||e!==ge?kt(e,r,t):e._time)+t._delay),t._end=_e(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),sa(e,t,"_first","_last",e._sort?"_start":0),ws(t)||(e._recent=t),n||oa(e,t),e._ts<0&&ki(e,e._tTime),e},aa=function(e,t){return(wt.ScrollTrigger||Mi("scrollTrigger",t))&&wt.ScrollTrigger.create(t,e)},la=function(e,t,r,n,i){if(Bs(e,t,i),!e._initted)return 1;if(!r&&e._pt&&!Be&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&ta!==pt.frame)return yr.push(e),e._lazy=[i,n],1},Rc=function a(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||a(t))},ws=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},Hc=function(e,t,r,n){var i=e.ratio,s=t<0||!t&&(!e._start&&Rc(e)&&!(!e._initted&&ws(e))||(e._ts<0||e._dp._ts<0)&&!ws(e))?0:1,o=e._rDelay,l=0,c,u,d;if(o&&e._repeat&&(l=zn(0,e._tDur,t),u=cn(l,o),e._yoyo&&u&1&&(s=1-s),u!==cn(e._tTime,o)&&(i=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==i||Be||n||e._zTime===ae||!t&&e._zTime){if(!e._initted&&la(e,t,n,r,l))return;for(d=e._zTime,e._zTime=t||(r?ae:0),r||(r=t&&!d),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=l,c=e._pt;c;)c.r(s,c.d),c=c._next;t<0&&bs(e,t,r,!0),e._onUpdate&&!r&&bt(e,"onUpdate"),l&&e._repeat&&!r&&e.parent&&bt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===s&&(s&&wr(e,1),!r&&!Be&&(bt(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},Ic=function(e,t,r){var n;if(r>t)for(n=e._first;n&&n._start<=r;){if(n.data==="isPause"&&n._start>t)return n;n=n._next}else for(n=e._last;n&&n._start>=r;){if(n.data==="isPause"&&n._start<t)return n;n=n._prev}},un=function(e,t,r,n){var i=e._repeat,s=_e(t)||0,o=e._tTime/e._tDur;return o&&!n&&(e._time*=s/e._dur),e._dur=s,e._tDur=i?i<0?1e10:_e(s*(i+1)+e._rDelay*i):s,o>0&&!n&&ki(e,e._tTime=e._tDur*o),e.parent&&Ai(e),r||Ir(e.parent,e),e},Vo=function(e){return e instanceof ze?Ir(e):un(e,e._dur)},qc={_start:0,endTime:qn,totalDuration:qn},kt=function a(e,t,r){var n=e.labels,i=e._recent||qc,s=e.duration()>=Ct?i.endTime(!1):e._dur,o,l,c;return Oe(t)&&(isNaN(t)||t in n)?(l=t.charAt(0),c=t.substr(-1)==="%",o=t.indexOf("="),l==="<"||l===">"?(o>=0&&(t=t.replace(/=/,"")),(l==="<"?i._start:i.endTime(i._repeat>=0))+(parseFloat(t.substr(1))||0)*(c?(o<0?i:r).totalDuration()/100:1)):o<0?(t in n||(n[t]=s),n[t]):(l=parseFloat(t.charAt(o-1)+t.substr(o+1)),c&&r&&(l=l/100*(Ke(r)?r[0]:r).totalDuration()),o>1?a(e,t.substr(0,o-1),r)+l:s+l)):t==null?s:+t},Rn=function(e,t,r){var n=ir(t[1]),i=(n?2:1)+(e<2?0:1),s=t[i],o,l;if(n&&(s.duration=t[1]),s.parent=r,e){for(o=s,l=r;l&&!("immediateRender"in o);)o=l.vars.defaults||{},l=ht(l.vars.inherit)&&l.parent;s.immediateRender=ht(o.immediateRender),e<2?s.runBackwards=1:s.startAt=t[i-1]}return new Le(t[0],s,t[i+1])},Tr=function(e,t){return e||e===0?t(e):t},zn=function(e,t,r){return r<e?e:r>t?t:r},We=function(e,t){return!Oe(e)||!(t=Mc.exec(e))?"":t[1]},Nc=function(e,t,r){return Tr(r,function(n){return zn(e,t,n)})},Ts=[].slice,ca=function(e,t){return e&&Ut(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&Ut(e[0]))&&!e.nodeType&&e!==Vt},Fc=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(n){var i;return Oe(n)&&!t||ca(n,1)?(i=r).push.apply(i,Pt(n)):r.push(n)})||r},Pt=function(e,t,r){return de&&!t&&de.selector?de.selector(e):Oe(e)&&!r&&(vs||!fn())?Ts.call((t||Ps).querySelectorAll(e),0):Ke(e)?Fc(e,r):ca(e)?Ts.call(e,0):e?[e]:[]},xs=function(e){return e=Pt(e)[0]||In("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return Pt(t,r.querySelectorAll?r:r===e?In("Invalid scope")||Ps.createElement("div"):e)}},ua=function(e){return e.sort(function(){return .5-Math.random()})},fa=function(e){if(we(e))return e;var t=Ut(e)?e:{each:e},r=qr(t.ease),n=t.from||0,i=parseFloat(t.base)||0,s={},o=n>0&&n<1,l=isNaN(n)||o,c=t.axis,u=n,d=n;return Oe(n)?u=d={center:.5,edges:.5,end:1}[n]||0:!o&&l&&(u=n[0],d=n[1]),function(p,f,m){var h=(m||t).length,_=s[h],b,w,v,y,E,M,S,A,T;if(!_){if(T=t.grid==="auto"?0:(t.grid||[1,Ct])[1],!T){for(S=-Ct;S<(S=m[T++].getBoundingClientRect().left)&&T<h;);T<h&&T--}for(_=s[h]=[],b=l?Math.min(T,h)*u-.5:n%T,w=T===Ct?0:l?h*d/T-.5:n/T|0,S=0,A=Ct,M=0;M<h;M++)v=M%T-b,y=w-(M/T|0),_[M]=E=c?Math.abs(c==="y"?y:v):Qo(v*v+y*y),E>S&&(S=E),E<A&&(A=E);n==="random"&&ua(_),_.max=S-A,_.min=A,_.v=h=(parseFloat(t.amount)||parseFloat(t.each)*(T>h?h-1:c?c==="y"?h/T:T:Math.max(T,h/T))||0)*(n==="edges"?-1:1),_.b=h<0?i-h:i,_.u=We(t.amount||t.each)||0,r=r&&h<0?ba(r):r}return h=(_[p]-_.min)/_.max||0,_e(_.b+(r?r(h):h)*_.v)+_.u}},Es=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var n=_e(Math.round(parseFloat(r)/e)*e*t);return(n-n%1)/t+(ir(r)?0:We(r))}},da=function(e,t){var r=Ke(e),n,i;return!r&&Ut(e)&&(n=r=e.radius||Ct,e.values?(e=Pt(e.values),(i=!ir(e[0]))&&(n*=n)):e=Es(e.increment)),Tr(t,r?we(e)?function(s){return i=e(s),Math.abs(i-s)<=n?i:s}:function(s){for(var o=parseFloat(i?s.x:s),l=parseFloat(i?s.y:0),c=Ct,u=0,d=e.length,p,f;d--;)i?(p=e[d].x-o,f=e[d].y-l,p=p*p+f*f):p=Math.abs(e[d]-o),p<c&&(c=p,u=d);return u=!n||c<=n?e[u]:s,i||u===s||ir(s)?u:u+We(s)}:Es(e))},pa=function(e,t,r,n){return Tr(Ke(e)?!t:r===!0?!!(r=0):!n,function(){return Ke(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(n=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(t-e+r*.99))/r)*r*n)/n})},zc=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return t.reduce(function(i,s){return s(i)},n)}},Bc=function(e,t){return function(r){return e(parseFloat(r))+(t||We(r))}},Wc=function(e,t,r){return ma(e,t,0,1,r)},ha=function(e,t,r){return Tr(r,function(n){return e[~~t(n)]})},Yc=function a(e,t,r){var n=t-e;return Ke(e)?ha(e,a(0,e.length),t):Tr(r,function(i){return(n+(i-e)%n)%n+e})},Gc=function a(e,t,r){var n=t-e,i=n*2;return Ke(e)?ha(e,a(0,e.length-1),t):Tr(r,function(s){return s=(i+(s-e)%i)%i||0,e+(s>n?i-s:s)})},dn=function(e){return e.replace(xc,function(t){var r=t.indexOf("[")+1,n=t.substring(r||7,r?t.indexOf("]"):t.length-1).split(Ec);return pa(r?n:+n[0],r?0:+n[1],+n[2]||1e-5)})},ma=function(e,t,r,n,i){var s=t-e,o=n-r;return Tr(i,function(l){return r+((l-e)/s*o||0)})},Vc=function a(e,t,r,n){var i=isNaN(e+t)?0:function(f){return(1-f)*e+f*t};if(!i){var s=Oe(e),o={},l,c,u,d,p;if(r===!0&&(n=1)&&(r=null),s)e={p:e},t={p:t};else if(Ke(e)&&!Ke(t)){for(u=[],d=e.length,p=d-2,c=1;c<d;c++)u.push(a(e[c-1],e[c]));d--,i=function(m){m*=d;var h=Math.min(p,~~m);return u[h](m-h)},r=t}else n||(e=ln(Ke(e)?[]:{},e));if(!u){for(l in t)Fs.call(o,e,l,"get",t[l]);i=function(m){return Gs(m,o)||(s?e.p:e)}}}return Tr(r,i)},Xo=function(e,t,r){var n=e.labels,i=Ct,s,o,l;for(s in n)o=n[s]-t,o<0==!!r&&o&&i>(o=Math.abs(o))&&(l=s,i=o);return l},bt=function(e,t,r){var n=e.vars,i=n[t],s=de,o=e._ctx,l,c,u;if(i)return l=n[t+"Params"],c=n.callbackScope||e,r&&yr.length&&wi(),o&&(de=o),u=l?i.apply(c,l):i.call(c),de=s,u},Pn=function(e){return wr(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Be),e.progress()<1&&bt(e,"onInterrupt"),e},on,_a=[],ga=function(e){if(e)if(e=!e.name&&e.default||e,As()||e.headless){var t=e.name,r=we(e),n=t&&!r&&e.init?function(){this._props=[]}:e,i={init:qn,render:Gs,add:Fs,kill:au,modifier:ou,rawVars:0},s={targetTest:0,get:0,getSetter:Ci,aliases:{},register:0};if(fn(),e!==n){if(dt[t])return;Tt(n,Tt(Ti(e,i),s)),ln(n.prototype,ln(i,Ti(e,s))),dt[n.prop=t]=n,e.targetTest&&(vi.push(n),Os[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}ea(t,n),e.register&&e.register($e,n,it)}else _a.push(e)},oe=255,On={aqua:[0,oe,oe],lime:[0,oe,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,oe],navy:[0,0,128],white:[oe,oe,oe],olive:[128,128,0],yellow:[oe,oe,0],orange:[oe,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[oe,0,0],pink:[oe,192,203],cyan:[0,oe,oe],transparent:[oe,oe,oe,0]},ds=function(e,t,r){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(r-t)*e*6:e<.5?r:e*3<2?t+(r-t)*(2/3-e)*6:t)*oe+.5|0},va=function(e,t,r){var n=e?ir(e)?[e>>16,e>>8&oe,e&oe]:0:On.black,i,s,o,l,c,u,d,p,f,m;if(!n){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),On[e])n=On[e];else if(e.charAt(0)==="#"){if(e.length<6&&(i=e.charAt(1),s=e.charAt(2),o=e.charAt(3),e="#"+i+i+s+s+o+o+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return n=parseInt(e.substr(1,6),16),[n>>16,n>>8&oe,n&oe,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),n=[e>>16,e>>8&oe,e&oe]}else if(e.substr(0,3)==="hsl"){if(n=m=e.match(Bo),!t)l=+n[0]%360/360,c=+n[1]/100,u=+n[2]/100,s=u<=.5?u*(c+1):u+c-u*c,i=u*2-s,n.length>3&&(n[3]*=1),n[0]=ds(l+1/3,i,s),n[1]=ds(l,i,s),n[2]=ds(l-1/3,i,s);else if(~e.indexOf("="))return n=e.match(ks),r&&n.length<4&&(n[3]=1),n}else n=e.match(Bo)||On.transparent;n=n.map(Number)}return t&&!m&&(i=n[0]/oe,s=n[1]/oe,o=n[2]/oe,d=Math.max(i,s,o),p=Math.min(i,s,o),u=(d+p)/2,d===p?l=c=0:(f=d-p,c=u>.5?f/(2-d-p):f/(d+p),l=d===i?(s-o)/f+(s<o?6:0):d===s?(o-i)/f+2:(i-s)/f+4,l*=60),n[0]=~~(l+.5),n[1]=~~(c*100+.5),n[2]=~~(u*100+.5)),r&&n.length<4&&(n[3]=1),n},ya=function(e){var t=[],r=[],n=-1;return e.split(nr).forEach(function(i){var s=i.match(Fr)||[];t.push.apply(t,s),r.push(n+=s.length+1)}),t.c=r,t},Uo=function(e,t,r){var n="",i=(e+n).match(nr),s=t?"hsla(":"rgba(",o=0,l,c,u,d;if(!i)return e;if(i=i.map(function(p){return(p=va(p,t,1))&&s+(t?p[0]+","+p[1]+"%,"+p[2]+"%,"+p[3]:p.join(","))+")"}),r&&(u=ya(e),l=r.c,l.join(n)!==u.c.join(n)))for(c=e.replace(nr,"1").split(Fr),d=c.length-1;o<d;o++)n+=c[o]+(~l.indexOf(o)?i.shift()||s+"0,0,0,0)":(u.length?u:i.length?i:r).shift());if(!c)for(c=e.split(nr),d=c.length-1;o<d;o++)n+=c[o]+i[o];return n+c[d]},nr=function(){var a="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in On)a+="|"+e+"\\b";return new RegExp(a+")","gi")}(),Xc=/hsl[a]?\(/,qs=function(e){var t=e.join(" "),r;if(nr.lastIndex=0,nr.test(t))return r=Xc.test(t),e[1]=Uo(e[1],r),e[0]=Uo(e[0],r,ya(e[1])),!0},Nn,pt=function(){var a=Date.now,e=500,t=33,r=a(),n=r,i=1e3/240,s=i,o=[],l,c,u,d,p,f,m=function h(_){var b=a()-n,w=_===!0,v,y,E,M;if((b>e||b<0)&&(r+=b-t),n+=b,E=n-r,v=E-s,(v>0||w)&&(M=++d.frame,p=E-d.time*1e3,d.time=E=E/1e3,s+=v+(v>=i?4:i-v),y=1),w||(l=c(h)),y)for(f=0;f<o.length;f++)o[f](E,p,M,_)};return d={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(_){return p/(1e3/(_||60))},wake:function(){Zo&&(!vs&&As()&&(Vt=vs=window,Ps=Vt.document||{},wt.gsap=$e,(Vt.gsapVersions||(Vt.gsapVersions=[])).push($e.version),Jo(bi||Vt.GreenSockGlobals||!Vt.gsap&&Vt||{}),_a.forEach(ga)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&d.sleep(),c=u||function(_){return setTimeout(_,s-d.time*1e3+1|0)},Nn=1,m(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(l),Nn=0,c=qn},lagSmoothing:function(_,b){e=_||1/0,t=Math.min(b||33,e)},fps:function(_){i=1e3/(_||240),s=d.time*1e3+i},add:function(_,b,w){var v=b?function(y,E,M,S){_(y,E,M,S),d.remove(v)}:_;return d.remove(_),o[w?"unshift":"push"](v),fn(),v},remove:function(_,b){~(b=o.indexOf(_))&&o.splice(b,1)&&f>=b&&f--},_listeners:o},d}(),fn=function(){return!Nn&&pt.wake()},Z={},Uc=/^[\d.\-M][\d.\-,\s]/,Kc=/["']/g,$c=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),n=r[0],i=1,s=r.length,o,l,c;i<s;i++)l=r[i],o=i!==s-1?l.lastIndexOf(","):l.length,c=l.substr(0,o),t[n]=isNaN(c)?c.replace(Kc,"").trim():+c,n=l.substr(o+1).trim();return t},Qc=function(e){var t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.indexOf("(",t);return e.substring(t,~n&&n<r?e.indexOf(")",r+1):r)},jc=function(e){var t=(e+"").split("("),r=Z[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[$c(t[1])]:Qc(e).split(",").map(na)):Z._CE&&Uc.test(e)?Z._CE("",e):r},ba=function(e){return function(t){return 1-e(1-t)}},wa=function a(e,t){for(var r=e._first,n;r;)r instanceof ze?a(r,t):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==t&&(r.timeline?a(r.timeline,t):(n=r._ease,r._ease=r._yEase,r._yEase=n,r._yoyo=t)),r=r._next},qr=function(e,t){return e&&(we(e)?e:Z[e]||jc(e))||t},Br=function(e,t,r,n){r===void 0&&(r=function(l){return 1-t(1-l)}),n===void 0&&(n=function(l){return l<.5?t(l*2)/2:1-t((1-l)*2)/2});var i={easeIn:t,easeOut:r,easeInOut:n},s;return nt(e,function(o){Z[o]=wt[o]=i,Z[s=o.toLowerCase()]=r;for(var l in i)Z[s+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=Z[o+"."+l]=i[l]}),i},Ta=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},ps=function a(e,t,r){var n=t>=1?t:1,i=(r||(e?.3:.45))/(t<1?t:1),s=i/gs*(Math.asin(1/n)||0),o=function(u){return u===1?1:n*Math.pow(2,-10*u)*Tc((u-s)*i)+1},l=e==="out"?o:e==="in"?function(c){return 1-o(1-c)}:Ta(o);return i=gs/i,l.config=function(c,u){return a(e,c,u)},l},hs=function a(e,t){t===void 0&&(t=1.70158);var r=function(s){return s?--s*s*((t+1)*s+t)+1:0},n=e==="out"?r:e==="in"?function(i){return 1-r(1-i)}:Ta(r);return n.config=function(i){return a(e,i)},n};nt("Linear,Quad,Cubic,Quart,Quint,Strong",function(a,e){var t=e<5?e+1:e;Br(a+",Power"+(t-1),e?function(r){return Math.pow(r,t)}:function(r){return r},function(r){return 1-Math.pow(1-r,t)},function(r){return r<.5?Math.pow(r*2,t)/2:1-Math.pow((1-r)*2,t)/2})});Z.Linear.easeNone=Z.none=Z.Linear.easeIn;Br("Elastic",ps("in"),ps("out"),ps());(function(a,e){var t=1/e,r=2*t,n=2.5*t,i=function(o){return o<t?a*o*o:o<r?a*Math.pow(o-1.5/e,2)+.75:o<n?a*(o-=2.25/e)*o+.9375:a*Math.pow(o-2.625/e,2)+.984375};Br("Bounce",function(s){return 1-i(1-s)},i)})(7.5625,2.75);Br("Expo",function(a){return Math.pow(2,10*(a-1))*a+a*a*a*a*a*a*(1-a)});Br("Circ",function(a){return-(Qo(1-a*a)-1)});Br("Sine",function(a){return a===1?1:-wc(a*yc)+1});Br("Back",hs("in"),hs("out"),hs());Z.SteppedEase=Z.steps=wt.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,n=e+(t?0:1),i=t?1:0,s=1-ae;return function(o){return((n*zn(0,s,o)|0)+i)*r}}};an.ease=Z["quad.out"];nt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(a){return Ds+=a+","+a+"Params,"});var Ns=function(e,t){this.id=bc++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:Hs,this.set=t?t.getSetter:Ci},Fn=function(){function a(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,un(this,+t.duration,1,1),this.data=t.data,de&&(this._ctx=de,de.data.push(this)),Nn||pt.wake()}var e=a.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,un(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,n){if(fn(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(ki(this,r),!i._dp||i.parent||oa(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&Xt(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!n||this._initted&&Math.abs(this._zTime)===ae||!this._initted&&this._dur&&r||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),ra(this,r,n)),this},e.time=function(r,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Go(this))%(this._dur+this._rDelay)||(r?this._dur:0),n):this._time},e.totalProgress=function(r,n){return arguments.length?this.totalTime(this.totalDuration()*r,n):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(r,n){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+Go(this),n):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,n){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*i,n):this._repeat?cn(this._tTime,i)+1:1},e.timeScale=function(r,n){if(!arguments.length)return this._rts===-ae?0:this._rts;if(this._rts===r)return this;var i=this.parent&&this._ts?xi(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-ae?0:this._rts,this.totalTime(zn(-Math.abs(this._delay),this.totalDuration(),i),n!==!1),Ai(this),Oc(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(fn(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==ae&&(this._tTime-=ae)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=_e(r);var n=this.parent||this._dp;return n&&(n._sort||!this.parent)&&Xt(n,this,this._start-this._delay),this}return this._start},e.endTime=function(r){return this._start+(ht(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var n=this.parent||this._dp;return n?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?xi(n.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=Ac);var n=Be;return Be=r,Is(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),Be=n,this},e.globalTime=function(r){for(var n=this,i=arguments.length?r:n.rawTime();n;)i=n._start+i/(Math.abs(n._ts)||1),n=n._dp;return!this.parent&&this._sat?this._sat.globalTime(r):i},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,Vo(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var n=this._time;return this._rDelay=r,Vo(this),n?this.time(n):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,n){return this.totalTime(kt(this,r),ht(n))},e.restart=function(r,n){return this.play().totalTime(r?-this._delay:0,ht(n)),this._dur||(this._zTime=-ae),this},e.play=function(r,n){return r!=null&&this.seek(r,n),this.reversed(!1).paused(!1)},e.reverse=function(r,n){return r!=null&&this.seek(r||this.totalDuration(),n),this.reversed(!0).paused(!1)},e.pause=function(r,n){return r!=null&&this.seek(r,n),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-ae:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-ae,this},e.isActive=function(){var r=this.parent||this._dp,n=this._start,i;return!!(!r||this._ts&&this._initted&&r.isActive()&&(i=r.rawTime(!0))>=n&&i<this.endTime(!0)-ae)},e.eventCallback=function(r,n,i){var s=this.vars;return arguments.length>1?(n?(s[r]=n,i&&(s[r+"Params"]=i),r==="onUpdate"&&(this._onUpdate=n)):delete s[r],this):s[r]},e.then=function(r){var n=this,i=n._prom;return new Promise(function(s){var o=we(r)?r:ia,l=function(){var u=n.then;n.then=null,i&&i(),we(o)&&(o=o(n))&&(o.then||o===n)&&(n.then=u),s(o),n.then=u};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?l():n._prom=l})},e.kill=function(){Pn(this)},a}();Tt(Fn.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-ae,_prom:0,_ps:!1,_rts:1});var ze=function(a){$o(e,a);function e(r,n){var i;return r===void 0&&(r={}),i=a.call(this,r)||this,i.labels={},i.smoothChildTiming=!!r.smoothChildTiming,i.autoRemoveChildren=!!r.autoRemoveChildren,i._sort=ht(r.sortChildren),ge&&Xt(r.parent||ge,rr(i),n),r.reversed&&i.reverse(),r.paused&&i.paused(!0),r.scrollTrigger&&aa(rr(i),r.scrollTrigger),i}var t=e.prototype;return t.to=function(n,i,s){return Rn(0,arguments,this),this},t.from=function(n,i,s){return Rn(1,arguments,this),this},t.fromTo=function(n,i,s,o){return Rn(2,arguments,this),this},t.set=function(n,i,s){return i.duration=0,i.parent=this,Dn(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new Le(n,i,kt(this,s),1),this},t.call=function(n,i,s){return Xt(this,Le.delayedCall(0,n,i),s)},t.staggerTo=function(n,i,s,o,l,c,u){return s.duration=i,s.stagger=s.stagger||o,s.onComplete=c,s.onCompleteParams=u,s.parent=this,new Le(n,s,kt(this,l)),this},t.staggerFrom=function(n,i,s,o,l,c,u){return s.runBackwards=1,Dn(s).immediateRender=ht(s.immediateRender),this.staggerTo(n,i,s,o,l,c,u)},t.staggerFromTo=function(n,i,s,o,l,c,u,d){return o.startAt=s,Dn(o).immediateRender=ht(o.immediateRender),this.staggerTo(n,i,o,l,c,u,d)},t.render=function(n,i,s){var o=this._time,l=this._dirty?this.totalDuration():this._tDur,c=this._dur,u=n<=0?0:_e(n),d=this._zTime<0!=n<0&&(this._initted||!c),p,f,m,h,_,b,w,v,y,E,M,S;if(this!==ge&&u>l&&n>=0&&(u=l),u!==this._tTime||s||d){if(o!==this._time&&c&&(u+=this._time-o,n+=this._time-o),p=u,y=this._start,v=this._ts,b=!v,d&&(c||(o=this._zTime),(n||!i)&&(this._zTime=n)),this._repeat){if(M=this._yoyo,_=c+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(_*100+n,i,s);if(p=_e(u%_),u===l?(h=this._repeat,p=c):(E=_e(u/_),h=~~E,h&&h===E&&(p=c,h--),p>c&&(p=c)),E=cn(this._tTime,_),!o&&this._tTime&&E!==h&&this._tTime-E*_-this._dur<=0&&(E=h),M&&h&1&&(p=c-p,S=1),h!==E&&!this._lock){var A=M&&E&1,T=A===(M&&h&1);if(h<E&&(A=!A),o=A?0:u%c?c:u,this._lock=1,this.render(o||(S?0:_e(h*_)),i,!c)._lock=0,this._tTime=u,!i&&this.parent&&bt(this,"onRepeat"),this.vars.repeatRefresh&&!S&&(this.invalidate()._lock=1,E=h),o&&o!==this._time||b!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(c=this._dur,l=this._tDur,T&&(this._lock=2,o=A?c:-1e-4,this.render(o,!0),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!b)return this;wa(this,S)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(w=Ic(this,_e(o),_e(p)),w&&(u-=p-(p=w._start))),this._tTime=u,this._time=p,this._act=!v,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,o=0),!o&&u&&c&&!i&&!E&&(bt(this,"onStart"),this._tTime!==u))return this;if(p>=o&&n>=0)for(f=this._first;f;){if(m=f._next,(f._act||p>=f._start)&&f._ts&&w!==f){if(f.parent!==this)return this.render(n,i,s);if(f.render(f._ts>0?(p-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(p-f._start)*f._ts,i,s),p!==this._time||!this._ts&&!b){w=0,m&&(u+=this._zTime=-ae);break}}f=m}else{f=this._last;for(var L=n<0?n:p;f;){if(m=f._prev,(f._act||L<=f._end)&&f._ts&&w!==f){if(f.parent!==this)return this.render(n,i,s);if(f.render(f._ts>0?(L-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(L-f._start)*f._ts,i,s||Be&&Is(f)),p!==this._time||!this._ts&&!b){w=0,m&&(u+=this._zTime=L?-ae:ae);break}}f=m}}if(w&&!i&&(this.pause(),w.render(p>=o?0:-ae)._zTime=p>=o?1:-1,this._ts))return this._start=y,Ai(this),this.render(n,i,s);this._onUpdate&&!i&&bt(this,"onUpdate",!0),(u===l&&this._tTime>=this.totalDuration()||!u&&o)&&(y===this._start||Math.abs(v)!==Math.abs(this._ts))&&(this._lock||((n||!c)&&(u===l&&this._ts>0||!u&&this._ts<0)&&wr(this,1),!i&&!(n<0&&!o)&&(u||o||!l)&&(bt(this,u===l&&n>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<l&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(n,i){var s=this;if(ir(i)||(i=kt(this,i,n)),!(n instanceof Fn)){if(Ke(n))return n.forEach(function(o){return s.add(o,i)}),this;if(Oe(n))return this.addLabel(n,i);if(we(n))n=Le.delayedCall(0,n);else return this}return this!==n?Xt(this,n,i):this},t.getChildren=function(n,i,s,o){n===void 0&&(n=!0),i===void 0&&(i=!0),s===void 0&&(s=!0),o===void 0&&(o=-Ct);for(var l=[],c=this._first;c;)c._start>=o&&(c instanceof Le?i&&l.push(c):(s&&l.push(c),n&&l.push.apply(l,c.getChildren(!0,i,s)))),c=c._next;return l},t.getById=function(n){for(var i=this.getChildren(1,1,1),s=i.length;s--;)if(i[s].vars.id===n)return i[s]},t.remove=function(n){return Oe(n)?this.removeLabel(n):we(n)?this.killTweensOf(n):(n.parent===this&&Li(this,n),n===this._recent&&(this._recent=this._last),Ir(this))},t.totalTime=function(n,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=_e(pt.time-(this._ts>0?n/this._ts:(this.totalDuration()-n)/-this._ts))),a.prototype.totalTime.call(this,n,i),this._forcing=0,this):this._tTime},t.addLabel=function(n,i){return this.labels[n]=kt(this,i),this},t.removeLabel=function(n){return delete this.labels[n],this},t.addPause=function(n,i,s){var o=Le.delayedCall(0,i||qn,s);return o.data="isPause",this._hasPause=1,Xt(this,o,kt(this,n))},t.removePause=function(n){var i=this._first;for(n=kt(this,n);i;)i._start===n&&i.data==="isPause"&&wr(i),i=i._next},t.killTweensOf=function(n,i,s){for(var o=this.getTweensOf(n,s),l=o.length;l--;)vr!==o[l]&&o[l].kill(n,i);return this},t.getTweensOf=function(n,i){for(var s=[],o=Pt(n),l=this._first,c=ir(i),u;l;)l instanceof Le?kc(l._targets,o)&&(c?(!vr||l._initted&&l._ts)&&l.globalTime(0)<=i&&l.globalTime(l.totalDuration())>i:!i||l.isActive())&&s.push(l):(u=l.getTweensOf(o,i)).length&&s.push.apply(s,u),l=l._next;return s},t.tweenTo=function(n,i){i=i||{};var s=this,o=kt(s,n),l=i,c=l.startAt,u=l.onStart,d=l.onStartParams,p=l.immediateRender,f,m=Le.to(s,Tt({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:i.duration||Math.abs((o-(c&&"time"in c?c.time:s._time))/s.timeScale())||ae,onStart:function(){if(s.pause(),!f){var _=i.duration||Math.abs((o-(c&&"time"in c?c.time:s._time))/s.timeScale());m._dur!==_&&un(m,_,0,1).render(m._time,!0,!0),f=1}u&&u.apply(m,d||[])}},i));return p?m.render(0):m},t.tweenFromTo=function(n,i,s){return this.tweenTo(i,Tt({startAt:{time:kt(this,n)}},s))},t.recent=function(){return this._recent},t.nextLabel=function(n){return n===void 0&&(n=this._time),Xo(this,kt(this,n))},t.previousLabel=function(n){return n===void 0&&(n=this._time),Xo(this,kt(this,n),1)},t.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+ae)},t.shiftChildren=function(n,i,s){s===void 0&&(s=0);var o=this._first,l=this.labels,c;for(n=_e(n);o;)o._start>=s&&(o._start+=n,o._end+=n),o=o._next;if(i)for(c in l)l[c]>=s&&(l[c]+=n);return Ir(this)},t.invalidate=function(n){var i=this._first;for(this._lock=0;i;)i.invalidate(n),i=i._next;return a.prototype.invalidate.call(this,n)},t.clear=function(n){n===void 0&&(n=!0);for(var i=this._first,s;i;)s=i._next,this.remove(i),i=s;return this._dp&&(this._time=this._tTime=this._pTime=0),n&&(this.labels={}),Ir(this)},t.totalDuration=function(n){var i=0,s=this,o=s._last,l=Ct,c,u,d;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-n:n));if(s._dirty){for(d=s.parent;o;)c=o._prev,o._dirty&&o.totalDuration(),u=o._start,u>l&&s._sort&&o._ts&&!s._lock?(s._lock=1,Xt(s,o,u-o._delay,1)._lock=0):l=u,u<0&&o._ts&&(i-=u,(!d&&!s._dp||d&&d.smoothChildTiming)&&(s._start+=_e(u/s._ts),s._time-=u,s._tTime-=u),s.shiftChildren(-u,!1,-1/0),l=0),o._end>i&&o._ts&&(i=o._end),o=c;un(s,s===ge&&s._time>i?s._time:i,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(n){if(ge._ts&&(ra(ge,xi(n,ge)),ta=pt.frame),pt.frame>=Wo){Wo+=mt.autoSleep||120;var i=ge._first;if((!i||!i._ts)&&mt.autoSleep&&pt._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||pt.sleep()}}},e}(Fn);Tt(ze.prototype,{_lock:0,_hasPause:0,_forcing:0});var Zc=function(e,t,r,n,i,s,o){var l=new it(this._pt,e,t,0,1,Ys,null,i),c=0,u=0,d,p,f,m,h,_,b,w;for(l.b=r,l.e=n,r+="",n+="",(b=~n.indexOf("random("))&&(n=dn(n)),s&&(w=[r,n],s(w,e,t),r=w[0],n=w[1]),p=r.match(us)||[];d=us.exec(n);)m=d[0],h=n.substring(c,d.index),f?f=(f+1)%5:h.substr(-5)==="rgba("&&(f=1),m!==p[u++]&&(_=parseFloat(p[u-1])||0,l._pt={_next:l._pt,p:h||u===1?h:",",s:_,c:m.charAt(1)==="="?zr(_,m)-_:parseFloat(m)-_,m:f&&f<4?Math.round:0},c=us.lastIndex);return l.c=c<n.length?n.substring(c,n.length):"",l.fp=o,(Cs.test(n)||b)&&(l.e=0),this._pt=l,l},Fs=function(e,t,r,n,i,s,o,l,c,u){we(n)&&(n=n(i||0,e,s));var d=e[t],p=r!=="get"?r:we(d)?c?e[t.indexOf("set")||!we(e["get"+t.substr(3)])?t:"get"+t.substr(3)](c):e[t]():d,f=we(d)?c?nu:Sa:Ws,m;if(Oe(n)&&(~n.indexOf("random(")&&(n=dn(n)),n.charAt(1)==="="&&(m=zr(p,n)+(We(p)||0),(m||m===0)&&(n=m))),!u||p!==n||Ss)return!isNaN(p*n)&&n!==""?(m=new it(this._pt,e,t,+p||0,n-(p||0),typeof d=="boolean"?su:Ma,0,f),c&&(m.fp=c),o&&m.modifier(o,this,e),this._pt=m):(!d&&!(t in e)&&Mi(t,n),Zc.call(this,e,t,p,n,f,l||mt.stringFilter,c))},Jc=function(e,t,r,n,i){if(we(e)&&(e=Hn(e,i,t,r,n)),!Ut(e)||e.style&&e.nodeType||Ke(e)||jo(e))return Oe(e)?Hn(e,i,t,r,n):e;var s={},o;for(o in e)s[o]=Hn(e[o],i,t,r,n);return s},zs=function(e,t,r,n,i,s){var o,l,c,u;if(dt[e]&&(o=new dt[e]).init(i,o.rawVars?t[e]:Jc(t[e],n,i,s,r),r,n,s)!==!1&&(r._pt=l=new it(r._pt,i,e,0,1,o.render,o,0,o.priority),r!==on))for(c=r._ptLookup[r._targets.indexOf(i)],u=o._props.length;u--;)c[o._props[u]]=l;return o},vr,Ss,Bs=function a(e,t,r){var n=e.vars,i=n.ease,s=n.startAt,o=n.immediateRender,l=n.lazy,c=n.onUpdate,u=n.runBackwards,d=n.yoyoEase,p=n.keyframes,f=n.autoRevert,m=e._dur,h=e._startAt,_=e._targets,b=e.parent,w=b&&b.data==="nested"?b.vars.targets:_,v=e._overwrite==="auto"&&!Ls,y=e.timeline,E,M,S,A,T,L,D,k,F,z,Q,U,R;if(y&&(!p||!i)&&(i="none"),e._ease=qr(i,an.ease),e._yEase=d?ba(qr(d===!0?i:d,an.ease)):0,d&&e._yoyo&&!e._repeat&&(d=e._yEase,e._yEase=e._ease,e._ease=d),e._from=!y&&!!n.runBackwards,!y||p&&!n.stagger){if(k=_[0]?br(_[0]).harness:0,U=k&&n[k.prop],E=Ti(n,Os),h&&(h._zTime<0&&h.progress(1),t<0&&u&&o&&!f?h.render(-1,!0):h.revert(u&&m?gi:Lc),h._lazy=0),s){if(wr(e._startAt=Le.set(_,Tt({data:"isStart",overwrite:!1,parent:b,immediateRender:!0,lazy:!h&&ht(l),startAt:null,delay:0,onUpdate:c&&function(){return bt(e,"onUpdate")},stagger:0},s))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(Be||!o&&!f)&&e._startAt.revert(gi),o&&m&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(u&&m&&!h){if(t&&(o=!1),S=Tt({overwrite:!1,data:"isFromStart",lazy:o&&!h&&ht(l),immediateRender:o,stagger:0,parent:b},E),U&&(S[k.prop]=U),wr(e._startAt=Le.set(_,S)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(Be?e._startAt.revert(gi):e._startAt.render(-1,!0)),e._zTime=t,!o)a(e._startAt,ae,ae);else if(!t)return}for(e._pt=e._ptCache=0,l=m&&ht(l)||l&&!m,M=0;M<_.length;M++){if(T=_[M],D=T._gsap||Rs(_)[M]._gsap,e._ptLookup[M]=z={},ys[D.id]&&yr.length&&wi(),Q=w===_?M:w.indexOf(T),k&&(F=new k).init(T,U||E,e,Q,w)!==!1&&(e._pt=A=new it(e._pt,T,F.name,0,1,F.render,F,0,F.priority),F._props.forEach(function(Y){z[Y]=A}),F.priority&&(L=1)),!k||U)for(S in E)dt[S]&&(F=zs(S,E,e,Q,T,w))?F.priority&&(L=1):z[S]=A=Fs.call(e,T,S,"get",E[S],Q,w,0,n.stringFilter);e._op&&e._op[M]&&e.kill(T,e._op[M]),v&&e._pt&&(vr=e,ge.killTweensOf(T,z,e.globalTime(t)),R=!e.parent,vr=0),e._pt&&l&&(ys[D.id]=1)}L&&Vs(e),e._onInit&&e._onInit(e)}e._onUpdate=c,e._initted=(!e._op||e._pt)&&!R,p&&t<=0&&y.render(Ct,!0,!0)},eu=function(e,t,r,n,i,s,o,l){var c=(e._pt&&e._ptCache||(e._ptCache={}))[t],u,d,p,f;if(!c)for(c=e._ptCache[t]=[],p=e._ptLookup,f=e._targets.length;f--;){if(u=p[f][t],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==t&&u.fp!==t;)u=u._next;if(!u)return Ss=1,e.vars[t]="+=0",Bs(e,o),Ss=0,l?In(t+" not eligible for reset"):1;c.push(u)}for(f=c.length;f--;)d=c[f],u=d._pt||d,u.s=(n||n===0)&&!i?n:u.s+(n||0)+s*u.c,u.c=r-u.s,d.e&&(d.e=Te(r)+We(d.e)),d.b&&(d.b=u.s+We(d.b))},tu=function(e,t){var r=e[0]?br(e[0]).harness:0,n=r&&r.aliases,i,s,o,l;if(!n)return t;i=ln({},t);for(s in n)if(s in i)for(l=n[s].split(","),o=l.length;o--;)i[l[o]]=i[s];return i},ru=function(e,t,r,n){var i=t.ease||n||"power1.inOut",s,o;if(Ke(t))o=r[e]||(r[e]=[]),t.forEach(function(l,c){return o.push({t:c/(t.length-1)*100,v:l,e:i})});else for(s in t)o=r[s]||(r[s]=[]),s==="ease"||o.push({t:parseFloat(e),v:t[s],e:i})},Hn=function(e,t,r,n,i){return we(e)?e.call(t,r,n,i):Oe(e)&&~e.indexOf("random(")?dn(e):e},xa=Ds+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Ea={};nt(xa+",id,stagger,delay,duration,paused,scrollTrigger",function(a){return Ea[a]=1});var Le=function(a){$o(e,a);function e(r,n,i,s){var o;typeof n=="number"&&(i.duration=n,n=i,i=null),o=a.call(this,s?n:Dn(n))||this;var l=o.vars,c=l.duration,u=l.delay,d=l.immediateRender,p=l.stagger,f=l.overwrite,m=l.keyframes,h=l.defaults,_=l.scrollTrigger,b=l.yoyoEase,w=n.parent||ge,v=(Ke(r)||jo(r)?ir(r[0]):"length"in n)?[r]:Pt(r),y,E,M,S,A,T,L,D;if(o._targets=v.length?Rs(v):In("GSAP target "+r+" not found. https://gsap.com",!mt.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=f,m||p||_i(c)||_i(u)){if(n=o.vars,y=o.timeline=new ze({data:"nested",defaults:h||{},targets:w&&w.data==="nested"?w.vars.targets:v}),y.kill(),y.parent=y._dp=rr(o),y._start=0,p||_i(c)||_i(u)){if(S=v.length,L=p&&fa(p),Ut(p))for(A in p)~xa.indexOf(A)&&(D||(D={}),D[A]=p[A]);for(E=0;E<S;E++)M=Ti(n,Ea),M.stagger=0,b&&(M.yoyoEase=b),D&&ln(M,D),T=v[E],M.duration=+Hn(c,rr(o),E,T,v),M.delay=(+Hn(u,rr(o),E,T,v)||0)-o._delay,!p&&S===1&&M.delay&&(o._delay=u=M.delay,o._start+=u,M.delay=0),y.to(T,M,L?L(E,T,v):0),y._ease=Z.none;y.duration()?c=u=0:o.timeline=0}else if(m){Dn(Tt(y.vars.defaults,{ease:"none"})),y._ease=qr(m.ease||n.ease||"none");var k=0,F,z,Q;if(Ke(m))m.forEach(function(U){return y.to(v,U,">")}),y.duration();else{M={};for(A in m)A==="ease"||A==="easeEach"||ru(A,m[A],M,m.easeEach);for(A in M)for(F=M[A].sort(function(U,R){return U.t-R.t}),k=0,E=0;E<F.length;E++)z=F[E],Q={ease:z.e,duration:(z.t-(E?F[E-1].t:0))/100*c},Q[A]=z.v,y.to(v,Q,k),k+=Q.duration;y.duration()<c&&y.to({},{duration:c-y.duration()})}}c||o.duration(c=y.duration())}else o.timeline=0;return f===!0&&!Ls&&(vr=rr(o),ge.killTweensOf(v),vr=0),Xt(w,rr(o),i),n.reversed&&o.reverse(),n.paused&&o.paused(!0),(d||!c&&!m&&o._start===_e(w._time)&&ht(d)&&Dc(rr(o))&&w.data!=="nested")&&(o._tTime=-ae,o.render(Math.max(0,-u)||0)),_&&aa(rr(o),_),o}var t=e.prototype;return t.render=function(n,i,s){var o=this._time,l=this._tDur,c=this._dur,u=n<0,d=n>l-ae&&!u?l:n<ae?0:n,p,f,m,h,_,b,w,v,y;if(!c)Hc(this,n,i,s);else if(d!==this._tTime||!n||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u||this._lazy){if(p=d,v=this.timeline,this._repeat){if(h=c+this._rDelay,this._repeat<-1&&u)return this.totalTime(h*100+n,i,s);if(p=_e(d%h),d===l?(m=this._repeat,p=c):(_=_e(d/h),m=~~_,m&&m===_?(p=c,m--):p>c&&(p=c)),b=this._yoyo&&m&1,b&&(y=this._yEase,p=c-p),_=cn(this._tTime,h),p===o&&!s&&this._initted&&m===_)return this._tTime=d,this;m!==_&&(v&&this._yEase&&wa(v,b),this.vars.repeatRefresh&&!b&&!this._lock&&p!==h&&this._initted&&(this._lock=s=1,this.render(_e(h*m),!0).invalidate()._lock=0))}if(!this._initted){if(la(this,u?n:p,s,i,d))return this._tTime=0,this;if(o!==this._time&&!(s&&this.vars.repeatRefresh&&m!==_))return this;if(c!==this._dur)return this.render(n,i,s)}if(this._tTime=d,this._time=p,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=w=(y||this._ease)(p/c),this._from&&(this.ratio=w=1-w),!o&&d&&!i&&!_&&(bt(this,"onStart"),this._tTime!==d))return this;for(f=this._pt;f;)f.r(w,f.d),f=f._next;v&&v.render(n<0?n:v._dur*v._ease(p/this._dur),i,s)||this._startAt&&(this._zTime=n),this._onUpdate&&!i&&(u&&bs(this,n,i,s),bt(this,"onUpdate")),this._repeat&&m!==_&&this.vars.onRepeat&&!i&&this.parent&&bt(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(u&&!this._onUpdate&&bs(this,n,!0,!0),(n||!c)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&wr(this,1),!i&&!(u&&!o)&&(d||o||b)&&(bt(this,d===l?"onComplete":"onReverseComplete",!0),this._prom&&!(d<l&&this.timeScale()>0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(n){return(!n||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(n),a.prototype.invalidate.call(this,n)},t.resetTo=function(n,i,s,o,l){Nn||pt.wake(),this._ts||this.play();var c=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Bs(this,c),u=this._ease(c/this._dur),eu(this,n,i,s,o,u,c,l)?this.resetTo(n,i,s,o,1):(ki(this,0),this.parent||sa(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(n,i){if(i===void 0&&(i="all"),!n&&(!i||i==="all"))return this._lazy=this._pt=0,this.parent?Pn(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Be),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(n,i,vr&&vr.vars.overwrite!==!0)._first||Pn(this),this.parent&&s!==this.timeline.totalDuration()&&un(this,this._dur*this.timeline._tDur/s,0,1),this}var o=this._targets,l=n?Pt(n):o,c=this._ptLookup,u=this._pt,d,p,f,m,h,_,b;if((!i||i==="all")&&Pc(o,l))return i==="all"&&(this._pt=0),Pn(this);for(d=this._op=this._op||[],i!=="all"&&(Oe(i)&&(h={},nt(i,function(w){return h[w]=1}),i=h),i=tu(o,i)),b=o.length;b--;)if(~l.indexOf(o[b])){p=c[b],i==="all"?(d[b]=i,m=p,f={}):(f=d[b]=d[b]||{},m=i);for(h in m)_=p&&p[h],_&&((!("kill"in _.d)||_.d.kill(h)===!0)&&Li(this,_,"_pt"),delete p[h]),f!=="all"&&(f[h]=1)}return this._initted&&!this._pt&&u&&Pn(this),this},e.to=function(n,i){return new e(n,i,arguments[2])},e.from=function(n,i){return Rn(1,arguments)},e.delayedCall=function(n,i,s,o){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:i,onReverseComplete:i,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:o})},e.fromTo=function(n,i,s){return Rn(2,arguments)},e.set=function(n,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new e(n,i)},e.killTweensOf=function(n,i,s){return ge.killTweensOf(n,i,s)},e}(Fn);Tt(Le.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});nt("staggerTo,staggerFrom,staggerFromTo",function(a){Le[a]=function(){var e=new ze,t=Ts.call(arguments,0);return t.splice(a==="staggerFromTo"?5:4,0,0),e[a].apply(e,t)}});var Ws=function(e,t,r){return e[t]=r},Sa=function(e,t,r){return e[t](r)},nu=function(e,t,r,n){return e[t](n.fp,r)},iu=function(e,t,r){return e.setAttribute(t,r)},Ci=function(e,t){return we(e[t])?Sa:Si(e[t])&&e.setAttribute?iu:Ws},Ma=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},su=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Ys=function(e,t){var r=t._pt,n="";if(!e&&t.b)n=t.b;else if(e===1&&t.e)n=t.e;else{for(;r;)n=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+n,r=r._next;n+=t.c}t.set(t.t,t.p,n,t)},Gs=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},ou=function(e,t,r,n){for(var i=this._pt,s;i;)s=i._next,i.p===n&&i.modifier(e,t,r),i=s},au=function(e){for(var t=this._pt,r,n;t;)n=t._next,t.p===e&&!t.op||t.op===e?Li(this,t,"_pt"):t.dep||(r=1),t=n;return!r},lu=function(e,t,r,n){n.mSet(e,t,n.m.call(n.tween,r,n.mt),n)},Vs=function(e){for(var t=e._pt,r,n,i,s;t;){for(r=t._next,n=i;n&&n.pr>t.pr;)n=n._next;(t._prev=n?n._prev:s)?t._prev._next=t:i=t,(t._next=n)?n._prev=t:s=t,t=r}e._pt=i},it=function(){function a(t,r,n,i,s,o,l,c,u){this.t=r,this.s=i,this.c=s,this.p=n,this.r=o||Ma,this.d=l||this,this.set=c||Ws,this.pr=u||0,this._next=t,t&&(t._prev=this)}var e=a.prototype;return e.modifier=function(r,n,i){this.mSet=this.mSet||this.set,this.set=lu,this.m=r,this.mt=i,this.tween=n},a}();nt(Ds+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(a){return Os[a]=1});wt.TweenMax=wt.TweenLite=Le;wt.TimelineLite=wt.TimelineMax=ze;ge=new ze({sortChildren:!1,defaults:an,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});mt.stringFilter=qs;var Nr=[],yi={},cu=[],Ko=0,uu=0,ms=function(e){return(yi[e]||cu).map(function(t){return t()})},Ms=function(){var e=Date.now(),t=[];e-Ko>2&&(ms("matchMediaInit"),Nr.forEach(function(r){var n=r.queries,i=r.conditions,s,o,l,c;for(o in n)s=Vt.matchMedia(n[o]).matches,s&&(l=1),s!==i[o]&&(i[o]=s,c=1);c&&(r.revert(),l&&t.push(r))}),ms("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(n){return r.add(null,n)})}),Ko=e,ms("matchMedia"))},La=function(){function a(t,r){this.selector=r&&xs(r),this.data=[],this._r=[],this.isReverted=!1,this.id=uu++,t&&this.add(t)}var e=a.prototype;return e.add=function(r,n,i){we(r)&&(i=n,n=r,r=we);var s=this,o=function(){var c=de,u=s.selector,d;return c&&c!==s&&c.data.push(s),i&&(s.selector=xs(i)),de=s,d=n.apply(s,arguments),we(d)&&s._r.push(d),de=c,s.selector=u,s.isReverted=!1,d};return s.last=o,r===we?o(s,function(l){return s.add(null,l)}):r?s[r]=o:o},e.ignore=function(r){var n=de;de=null,r(this),de=n},e.getTweens=function(){var r=[];return this.data.forEach(function(n){return n instanceof a?r.push.apply(r,n.getTweens()):n instanceof Le&&!(n.parent&&n.parent.data==="nested")&&r.push(n)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,n){var i=this;if(r?function(){for(var o=i.getTweens(),l=i.data.length,c;l--;)c=i.data[l],c.data==="isFlip"&&(c.revert(),c.getChildren(!0,!0,!1).forEach(function(u){return o.splice(o.indexOf(u),1)}));for(o.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,d){return d.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),l=i.data.length;l--;)c=i.data[l],c instanceof ze?c.data!=="nested"&&(c.scrollTrigger&&c.scrollTrigger.revert(),c.kill()):!(c instanceof Le)&&c.revert&&c.revert(r);i._r.forEach(function(u){return u(r,i)}),i.isReverted=!0}():this.data.forEach(function(o){return o.kill&&o.kill()}),this.clear(),n)for(var s=Nr.length;s--;)Nr[s].id===this.id&&Nr.splice(s,1)},e.revert=function(r){this.kill(r||{})},a}(),fu=function(){function a(t){this.contexts=[],this.scope=t,de&&de.data.push(this)}var e=a.prototype;return e.add=function(r,n,i){Ut(r)||(r={matches:r});var s=new La(0,i||this.scope),o=s.conditions={},l,c,u;de&&!s.selector&&(s.selector=de.selector),this.contexts.push(s),n=s.add("onMatch",n),s.queries=r;for(c in r)c==="all"?u=1:(l=Vt.matchMedia(r[c]),l&&(Nr.indexOf(s)<0&&Nr.push(s),(o[c]=l.matches)&&(u=1),l.addListener?l.addListener(Ms):l.addEventListener("change",Ms)));return u&&n(s,function(d){return s.add(null,d)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(n){return n.kill(r,!0)})},a}(),Ei={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(function(n){return ga(n)})},timeline:function(e){return new ze(e)},getTweensOf:function(e,t){return ge.getTweensOf(e,t)},getProperty:function(e,t,r,n){Oe(e)&&(e=Pt(e)[0]);var i=br(e||{}).get,s=r?ia:na;return r==="native"&&(r=""),e&&(t?s((dt[t]&&dt[t].get||i)(e,t,r,n)):function(o,l,c){return s((dt[o]&&dt[o].get||i)(e,o,l,c))})},quickSetter:function(e,t,r){if(e=Pt(e),e.length>1){var n=e.map(function(u){return $e.quickSetter(u,t,r)}),i=n.length;return function(u){for(var d=i;d--;)n[d](u)}}e=e[0]||{};var s=dt[t],o=br(e),l=o.harness&&(o.harness.aliases||{})[t]||t,c=s?function(u){var d=new s;on._pt=0,d.init(e,r?u+r:u,on,0,[e]),d.render(1,d),on._pt&&Gs(1,on)}:o.set(e,l);return s?c:function(u){return c(e,l,r?u+r:u,o,1)}},quickTo:function(e,t,r){var n,i=$e.to(e,Tt((n={},n[t]="+=0.1",n.paused=!0,n.stagger=0,n),r||{})),s=function(l,c,u){return i.resetTo(t,l,c,u)};return s.tween=i,s},isTweening:function(e){return ge.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=qr(e.ease,an.ease)),Yo(an,e||{})},config:function(e){return Yo(mt,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,n=e.plugins,i=e.defaults,s=e.extendTimeline;(n||"").split(",").forEach(function(o){return o&&!dt[o]&&!wt[o]&&In(t+" effect requires "+o+" plugin.")}),fs[t]=function(o,l,c){return r(Pt(o),Tt(l||{},i),c)},s&&(ze.prototype[t]=function(o,l,c){return this.add(fs[t](o,Ut(l)?l:(c=l)&&{},this),c)})},registerEase:function(e,t){Z[e]=qr(t)},parseEase:function(e,t){return arguments.length?qr(e,t):Z},getById:function(e){return ge.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new ze(e),n,i;for(r.smoothChildTiming=ht(e.smoothChildTiming),ge.remove(r),r._dp=0,r._time=r._tTime=ge._time,n=ge._first;n;)i=n._next,(t||!(!n._dur&&n instanceof Le&&n.vars.onComplete===n._targets[0]))&&Xt(r,n,n._start-n._delay),n=i;return Xt(ge,r,0),r},context:function(e,t){return e?new La(e,t):de},matchMedia:function(e){return new fu(e)},matchMediaRefresh:function(){return Nr.forEach(function(e){var t=e.conditions,r,n;for(n in t)t[n]&&(t[n]=!1,r=1);r&&e.revert()})||Ms()},addEventListener:function(e,t){var r=yi[e]||(yi[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=yi[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},utils:{wrap:Yc,wrapYoyo:Gc,distribute:fa,random:pa,snap:da,normalize:Wc,getUnit:We,clamp:Nc,splitColor:va,toArray:Pt,selector:xs,mapRange:ma,pipe:zc,unitize:Bc,interpolate:Vc,shuffle:ua},install:Jo,effects:fs,ticker:pt,updateRoot:ze.updateRoot,plugins:dt,globalTimeline:ge,core:{PropTween:it,globals:ea,Tween:Le,Timeline:ze,Animation:Fn,getCache:br,_removeLinkedListItem:Li,reverting:function(){return Be},context:function(e){return e&&de&&(de.data.push(e),e._ctx=de),de},suppressOverwrites:function(e){return Ls=e}}};nt("to,from,fromTo,delayedCall,set,killTweensOf",function(a){return Ei[a]=Le[a]});pt.add(ze.updateRoot);on=Ei.to({},{duration:0});var du=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},pu=function(e,t){var r=e._targets,n,i,s;for(n in t)for(i=r.length;i--;)s=e._ptLookup[i][n],s&&(s=s.d)&&(s._pt&&(s=du(s,n)),s&&s.modifier&&s.modifier(t[n],e,r[i],n))},_s=function(e,t){return{name:e,headless:1,rawVars:1,init:function(n,i,s){s._onInit=function(o){var l,c;if(Oe(i)&&(l={},nt(i,function(u){return l[u]=1}),i=l),t){l={};for(c in i)l[c]=t(i[c]);i=l}pu(o,i)}}}},$e=Ei.registerPlugin({name:"attr",init:function(e,t,r,n,i){var s,o,l;this.tween=r;for(s in t)l=e.getAttribute(s)||"",o=this.add(e,"setAttribute",(l||0)+"",t[s],n,i,0,0,s),o.op=s,o.b=l,this._props.push(s)},render:function(e,t){for(var r=t._pt;r;)Be?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",headless:1,init:function(e,t){for(var r=t.length;r--;)this.add(e,r,e[r]||0,t[r],0,0,0,0,0,1)}},_s("roundProps",Es),_s("modifiers"),_s("snap",da))||Ei;Le.version=ze.version=$e.version="3.14.2";Zo=1;As()&&fn();var hu=Z.Power0,mu=Z.Power1,_u=Z.Power2,gu=Z.Power3,vu=Z.Power4,yu=Z.Linear,bu=Z.Quad,wu=Z.Cubic,Tu=Z.Quart,xu=Z.Quint,Eu=Z.Strong,Su=Z.Elastic,Mu=Z.Back,Lu=Z.SteppedEase,Au=Z.Bounce,ku=Z.Sine,Cu=Z.Expo,Pu=Z.Circ;var Aa,xr,hn,js,Vr,Ou,ka,Zs,Du=function(){return typeof window<"u"},or={},Gr=180/Math.PI,mn=Math.PI/180,pn=Math.atan2,Ca=1e8,Js=/([A-Z])/g,Ru=/(left|right|width|margin|padding|x)/i,Hu=/[\s,\(]\S/,Kt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Us=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Iu=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},qu=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},Nu=function(e,t){return t.set(t.t,t.p,e===1?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},Fu=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},Na=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Fa=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},zu=function(e,t,r){return e.style[t]=r},Bu=function(e,t,r){return e.style.setProperty(t,r)},Wu=function(e,t,r){return e._gsap[t]=r},Yu=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},Gu=function(e,t,r,n,i){var s=e._gsap;s.scaleX=s.scaleY=r,s.renderTransform(i,s)},Vu=function(e,t,r,n,i){var s=e._gsap;s[t]=r,s.renderTransform(i,s)},ve="transform",_t=ve+"Origin",Xu=function a(e,t){var r=this,n=this.target,i=n.style,s=n._gsap;if(e in or&&i){if(this.tfm=this.tfm||{},e!=="transform")e=Kt[e]||e,~e.indexOf(",")?e.split(",").forEach(function(o){return r.tfm[o]=sr(n,o)}):this.tfm[e]=s.x?s[e]:sr(n,e),e===_t&&(this.tfm.zOrigin=s.zOrigin);else return Kt.transform.split(",").forEach(function(o){return a.call(r,o,t)});if(this.props.indexOf(ve)>=0)return;s.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(_t,t,"")),e=ve}(i||t)&&this.props.push(e,t,i[e])},za=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Uu=function(){var e=this.props,t=this.target,r=t.style,n=t._gsap,i,s;for(i=0;i<e.length;i+=3)e[i+1]?e[i+1]===2?t[e[i]](e[i+2]):t[e[i]]=e[i+2]:e[i+2]?r[e[i]]=e[i+2]:r.removeProperty(e[i].substr(0,2)==="--"?e[i]:e[i].replace(Js,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)n[s]=this.tfm[s];n.svg&&(n.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),i=Zs(),(!i||!i.isStart)&&!r[ve]&&(za(r),n.zOrigin&&r[_t]&&(r[_t]+=" "+n.zOrigin+"px",n.zOrigin=0,n.renderTransform()),n.uncache=1)}},Ba=function(e,t){var r={target:e,props:[],revert:Uu,save:Xu};return e._gsap||$e.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(n){return r.save(n)}),r},Wa,Ks=function(e,t){var r=xr.createElementNS?xr.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):xr.createElement(e);return r&&r.style?r:xr.createElement(e)},xt=function a(e,t,r){var n=getComputedStyle(e);return n[t]||n.getPropertyValue(t.replace(Js,"-$1").toLowerCase())||n.getPropertyValue(t)||!r&&a(e,_n(t)||t,1)||""},Pa="O,Moz,ms,Ms,Webkit".split(","),_n=function(e,t,r){var n=t||Vr,i=n.style,s=5;if(e in i&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(Pa[s]+e in i););return s<0?null:(s===3?"ms":s>=0?Pa[s]:"")+e},$s=function(){Du()&&window.document&&(Aa=window,xr=Aa.document,hn=xr.documentElement,Vr=Ks("div")||{style:{}},Ou=Ks("div"),ve=_n(ve),_t=ve+"Origin",Vr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Wa=!!_n("perspective"),Zs=$e.core.reverting,js=1)},Oa=function(e){var t=e.ownerSVGElement,r=Ks("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=e.cloneNode(!0),i;n.style.display="block",r.appendChild(n),hn.appendChild(r);try{i=n.getBBox()}catch{}return r.removeChild(n),hn.removeChild(r),i},Da=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},Ya=function(e){var t,r;try{t=e.getBBox()}catch{t=Oa(e),r=1}return t&&(t.width||t.height)||r||(t=Oa(e)),t&&!t.width&&!t.x&&!t.y?{x:+Da(e,["x","cx","x1"])||0,y:+Da(e,["y","cy","y1"])||0,width:0,height:0}:t},Ga=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Ya(e))},Sr=function(e,t){if(t){var r=e.style,n;t in or&&t!==_t&&(t=ve),r.removeProperty?(n=t.substr(0,2),(n==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(n==="--"?t:t.replace(Js,"-$1").toLowerCase())):r.removeAttribute(t)}},Er=function(e,t,r,n,i,s){var o=new it(e._pt,t,r,0,1,s?Fa:Na);return e._pt=o,o.b=n,o.e=i,e._props.push(r),o},Ra={deg:1,rad:1,turn:1},Ku={grid:1,flex:1},Mr=function a(e,t,r,n){var i=parseFloat(r)||0,s=(r+"").trim().substr((i+"").length)||"px",o=Vr.style,l=Ru.test(t),c=e.tagName.toLowerCase()==="svg",u=(c?"client":"offset")+(l?"Width":"Height"),d=100,p=n==="px",f=n==="%",m,h,_,b;if(n===s||!i||Ra[n]||Ra[s])return i;if(s!=="px"&&!p&&(i=a(e,t,r,"px")),b=e.getCTM&&Ga(e),(f||s==="%")&&(or[t]||~t.indexOf("adius")))return m=b?e.getBBox()[l?"width":"height"]:e[u],Te(f?i/m*d:i/100*m);if(o[l?"width":"height"]=d+(p?s:n),h=n!=="rem"&&~t.indexOf("adius")||n==="em"&&e.appendChild&&!c?e:e.parentNode,b&&(h=(e.ownerSVGElement||{}).parentNode),(!h||h===xr||!h.appendChild)&&(h=xr.body),_=h._gsap,_&&f&&_.width&&l&&_.time===pt.time&&!_.uncache)return Te(i/_.width*d);if(f&&(t==="height"||t==="width")){var w=e.style[t];e.style[t]=d+n,m=e[u],w?e.style[t]=w:Sr(e,t)}else(f||s==="%")&&!Ku[xt(h,"display")]&&(o.position=xt(e,"position")),h===e&&(o.position="static"),h.appendChild(Vr),m=Vr[u],h.removeChild(Vr),o.position="absolute";return l&&f&&(_=br(h),_.time=pt.time,_.width=h[u]),Te(p?m*i/d:m&&i?d/m*i:0)},sr=function(e,t,r,n){var i;return js||$s(),t in Kt&&t!=="transform"&&(t=Kt[t],~t.indexOf(",")&&(t=t.split(",")[0])),or[t]&&t!=="transform"?(i=Yn(e,n),i=t!=="transformOrigin"?i[t]:i.svg?i.origin:Oi(xt(e,_t))+" "+i.zOrigin+"px"):(i=e.style[t],(!i||i==="auto"||n||~(i+"").indexOf("calc("))&&(i=Pi[t]&&Pi[t](e,t,r)||xt(e,t)||Hs(e,t)||(t==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?Mr(e,t,i,r)+r:i},$u=function(e,t,r,n){if(!r||r==="none"){var i=_n(t,e,1),s=i&&xt(e,i,1);s&&s!==r?(t=i,r=s):t==="borderColor"&&(r=xt(e,"borderTopColor"))}var o=new it(this._pt,e.style,t,0,1,Ys),l=0,c=0,u,d,p,f,m,h,_,b,w,v,y,E;if(o.b=r,o.e=n,r+="",n+="",n.substring(0,6)==="var(--"&&(n=xt(e,n.substring(4,n.indexOf(")")))),n==="auto"&&(h=e.style[t],e.style[t]=n,n=xt(e,t)||n,h?e.style[t]=h:Sr(e,t)),u=[r,n],qs(u),r=u[0],n=u[1],p=r.match(Fr)||[],E=n.match(Fr)||[],E.length){for(;d=Fr.exec(n);)_=d[0],w=n.substring(l,d.index),m?m=(m+1)%5:(w.substr(-5)==="rgba("||w.substr(-5)==="hsla(")&&(m=1),_!==(h=p[c++]||"")&&(f=parseFloat(h)||0,y=h.substr((f+"").length),_.charAt(1)==="="&&(_=zr(f,_)+y),b=parseFloat(_),v=_.substr((b+"").length),l=Fr.lastIndex-v.length,v||(v=v||mt.units[t]||y,l===n.length&&(n+=v,o.e+=v)),y!==v&&(f=Mr(e,t,h,v)||0),o._pt={_next:o._pt,p:w||c===1?w:",",s:f,c:b-f,m:m&&m<4||t==="zIndex"?Math.round:0});o.c=l<n.length?n.substring(l,n.length):""}else o.r=t==="display"&&n==="none"?Fa:Na;return Cs.test(n)&&(o.e=0),this._pt=o,o},Ha={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Qu=function(e){var t=e.split(" "),r=t[0],n=t[1]||"50%";return(r==="top"||r==="bottom"||n==="left"||n==="right")&&(e=r,r=n,n=e),t[0]=Ha[r]||r,t[1]=Ha[n]||n,t.join(" ")},ju=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,n=r.style,i=t.u,s=r._gsap,o,l,c;if(i==="all"||i===!0)n.cssText="",l=1;else for(i=i.split(","),c=i.length;--c>-1;)o=i[c],or[o]&&(l=1,o=o==="transformOrigin"?_t:ve),Sr(r,o);l&&(Sr(r,ve),s&&(s.svg&&r.removeAttribute("transform"),n.scale=n.rotate=n.translate="none",Yn(r,1),s.uncache=1,za(n)))}},Pi={clearProps:function(e,t,r,n,i){if(i.data!=="isFromStart"){var s=e._pt=new it(e._pt,t,r,0,0,ju);return s.u=n,s.pr=-10,s.tween=i,e._props.push(r),1}}},Wn=[1,0,0,1,0,0],Va={},Xa=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},Ia=function(e){var t=xt(e,ve);return Xa(t)?Wn:t.substr(7).match(ks).map(Te)},eo=function(e,t){var r=e._gsap||br(e),n=e.style,i=Ia(e),s,o,l,c;return r.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,i=[l.a,l.b,l.c,l.d,l.e,l.f],i.join(",")==="1,0,0,1,0,0"?Wn:i):(i===Wn&&!e.offsetParent&&e!==hn&&!r.svg&&(l=n.display,n.display="block",s=e.parentNode,(!s||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,o=e.nextElementSibling,hn.appendChild(e)),i=Ia(e),l?n.display=l:Sr(e,"display"),c&&(o?s.insertBefore(e,o):s?s.appendChild(e):hn.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},Qs=function(e,t,r,n,i,s){var o=e._gsap,l=i||eo(e,!0),c=o.xOrigin||0,u=o.yOrigin||0,d=o.xOffset||0,p=o.yOffset||0,f=l[0],m=l[1],h=l[2],_=l[3],b=l[4],w=l[5],v=t.split(" "),y=parseFloat(v[0])||0,E=parseFloat(v[1])||0,M,S,A,T;r?l!==Wn&&(S=f*_-m*h)&&(A=y*(_/S)+E*(-h/S)+(h*w-_*b)/S,T=y*(-m/S)+E*(f/S)-(f*w-m*b)/S,y=A,E=T):(M=Ya(e),y=M.x+(~v[0].indexOf("%")?y/100*M.width:y),E=M.y+(~(v[1]||v[0]).indexOf("%")?E/100*M.height:E)),n||n!==!1&&o.smooth?(b=y-c,w=E-u,o.xOffset=d+(b*f+w*h)-b,o.yOffset=p+(b*m+w*_)-w):o.xOffset=o.yOffset=0,o.xOrigin=y,o.yOrigin=E,o.smooth=!!n,o.origin=t,o.originIsAbsolute=!!r,e.style[_t]="0px 0px",s&&(Er(s,o,"xOrigin",c,y),Er(s,o,"yOrigin",u,E),Er(s,o,"xOffset",d,o.xOffset),Er(s,o,"yOffset",p,o.yOffset)),e.setAttribute("data-svg-origin",y+" "+E)},Yn=function(e,t){var r=e._gsap||new Ns(e);if("x"in r&&!t&&!r.uncache)return r;var n=e.style,i=r.scaleX<0,s="px",o="deg",l=getComputedStyle(e),c=xt(e,_t)||"0",u,d,p,f,m,h,_,b,w,v,y,E,M,S,A,T,L,D,k,F,z,Q,U,R,Y,ne,g,B,ie,le,J,pe;return u=d=p=h=_=b=w=v=y=0,f=m=1,r.svg=!!(e.getCTM&&Ga(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(n[ve]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[ve]!=="none"?l[ve]:"")),n.scale=n.rotate=n.translate="none"),S=eo(e,r.svg),r.svg&&(r.uncache?(Y=e.getBBox(),c=r.xOrigin-Y.x+"px "+(r.yOrigin-Y.y)+"px",R=""):R=!t&&e.getAttribute("data-svg-origin"),Qs(e,R||c,!!R||r.originIsAbsolute,r.smooth!==!1,S)),E=r.xOrigin||0,M=r.yOrigin||0,S!==Wn&&(D=S[0],k=S[1],F=S[2],z=S[3],u=Q=S[4],d=U=S[5],S.length===6?(f=Math.sqrt(D*D+k*k),m=Math.sqrt(z*z+F*F),h=D||k?pn(k,D)*Gr:0,w=F||z?pn(F,z)*Gr+h:0,w&&(m*=Math.abs(Math.cos(w*mn))),r.svg&&(u-=E-(E*D+M*F),d-=M-(E*k+M*z))):(pe=S[6],le=S[7],g=S[8],B=S[9],ie=S[10],J=S[11],u=S[12],d=S[13],p=S[14],A=pn(pe,ie),_=A*Gr,A&&(T=Math.cos(-A),L=Math.sin(-A),R=Q*T+g*L,Y=U*T+B*L,ne=pe*T+ie*L,g=Q*-L+g*T,B=U*-L+B*T,ie=pe*-L+ie*T,J=le*-L+J*T,Q=R,U=Y,pe=ne),A=pn(-F,ie),b=A*Gr,A&&(T=Math.cos(-A),L=Math.sin(-A),R=D*T-g*L,Y=k*T-B*L,ne=F*T-ie*L,J=z*L+J*T,D=R,k=Y,F=ne),A=pn(k,D),h=A*Gr,A&&(T=Math.cos(A),L=Math.sin(A),R=D*T+k*L,Y=Q*T+U*L,k=k*T-D*L,U=U*T-Q*L,D=R,Q=Y),_&&Math.abs(_)+Math.abs(h)>359.9&&(_=h=0,b=180-b),f=Te(Math.sqrt(D*D+k*k+F*F)),m=Te(Math.sqrt(U*U+pe*pe)),A=pn(Q,U),w=Math.abs(A)>2e-4?A*Gr:0,y=J?1/(J<0?-J:J):0),r.svg&&(R=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!Xa(xt(e,ve)),R&&e.setAttribute("transform",R))),Math.abs(w)>90&&Math.abs(w)<270&&(i?(f*=-1,w+=h<=0?180:-180,h+=h<=0?180:-180):(m*=-1,w+=w<=0?180:-180)),t=t||r.uncache,r.x=u-((r.xPercent=u&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+s,r.y=d-((r.yPercent=d&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-d)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+s,r.z=p+s,r.scaleX=Te(f),r.scaleY=Te(m),r.rotation=Te(h)+o,r.rotationX=Te(_)+o,r.rotationY=Te(b)+o,r.skewX=w+o,r.skewY=v+o,r.transformPerspective=y+s,(r.zOrigin=parseFloat(c.split(" ")[2])||!t&&r.zOrigin||0)&&(n[_t]=Oi(c)),r.xOffset=r.yOffset=0,r.force3D=mt.force3D,r.renderTransform=r.svg?Ju:Wa?Ua:Zu,r.uncache=0,r},Oi=function(e){return(e=e.split(" "))[0]+" "+e[1]},Xs=function(e,t,r){var n=We(t);return Te(parseFloat(t)+parseFloat(Mr(e,"x",r+"px",n)))+n},Zu=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,Ua(e,t)},Wr="0deg",Bn="0px",Yr=") ",Ua=function(e,t){var r=t||this,n=r.xPercent,i=r.yPercent,s=r.x,o=r.y,l=r.z,c=r.rotation,u=r.rotationY,d=r.rotationX,p=r.skewX,f=r.skewY,m=r.scaleX,h=r.scaleY,_=r.transformPerspective,b=r.force3D,w=r.target,v=r.zOrigin,y="",E=b==="auto"&&e&&e!==1||b===!0;if(v&&(d!==Wr||u!==Wr)){var M=parseFloat(u)*mn,S=Math.sin(M),A=Math.cos(M),T;M=parseFloat(d)*mn,T=Math.cos(M),s=Xs(w,s,S*T*-v),o=Xs(w,o,-Math.sin(M)*-v),l=Xs(w,l,A*T*-v+v)}_!==Bn&&(y+="perspective("+_+Yr),(n||i)&&(y+="translate("+n+"%, "+i+"%) "),(E||s!==Bn||o!==Bn||l!==Bn)&&(y+=l!==Bn||E?"translate3d("+s+", "+o+", "+l+") ":"translate("+s+", "+o+Yr),c!==Wr&&(y+="rotate("+c+Yr),u!==Wr&&(y+="rotateY("+u+Yr),d!==Wr&&(y+="rotateX("+d+Yr),(p!==Wr||f!==Wr)&&(y+="skew("+p+", "+f+Yr),(m!==1||h!==1)&&(y+="scale("+m+", "+h+Yr),w.style[ve]=y||"translate(0, 0)"},Ju=function(e,t){var r=t||this,n=r.xPercent,i=r.yPercent,s=r.x,o=r.y,l=r.rotation,c=r.skewX,u=r.skewY,d=r.scaleX,p=r.scaleY,f=r.target,m=r.xOrigin,h=r.yOrigin,_=r.xOffset,b=r.yOffset,w=r.forceCSS,v=parseFloat(s),y=parseFloat(o),E,M,S,A,T;l=parseFloat(l),c=parseFloat(c),u=parseFloat(u),u&&(u=parseFloat(u),c+=u,l+=u),l||c?(l*=mn,c*=mn,E=Math.cos(l)*d,M=Math.sin(l)*d,S=Math.sin(l-c)*-p,A=Math.cos(l-c)*p,c&&(u*=mn,T=Math.tan(c-u),T=Math.sqrt(1+T*T),S*=T,A*=T,u&&(T=Math.tan(u),T=Math.sqrt(1+T*T),E*=T,M*=T)),E=Te(E),M=Te(M),S=Te(S),A=Te(A)):(E=d,A=p,M=S=0),(v&&!~(s+"").indexOf("px")||y&&!~(o+"").indexOf("px"))&&(v=Mr(f,"x",s,"px"),y=Mr(f,"y",o,"px")),(m||h||_||b)&&(v=Te(v+m-(m*E+h*S)+_),y=Te(y+h-(m*M+h*A)+b)),(n||i)&&(T=f.getBBox(),v=Te(v+n/100*T.width),y=Te(y+i/100*T.height)),T="matrix("+E+","+M+","+S+","+A+","+v+","+y+")",f.setAttribute("transform",T),w&&(f.style[ve]=T)},ef=function(e,t,r,n,i){var s=360,o=Oe(i),l=parseFloat(i)*(o&&~i.indexOf("rad")?Gr:1),c=l-n,u=n+c+"deg",d,p;return o&&(d=i.split("_")[1],d==="short"&&(c%=s,c!==c%(s/2)&&(c+=c<0?s:-s)),d==="cw"&&c<0?c=(c+s*Ca)%s-~~(c/s)*s:d==="ccw"&&c>0&&(c=(c-s*Ca)%s-~~(c/s)*s)),e._pt=p=new it(e._pt,t,r,n,c,Iu),p.e=u,p.u="deg",e._props.push(r),p},qa=function(e,t){for(var r in t)e[r]=t[r];return e},tf=function(e,t,r){var n=qa({},r._gsap),i="perspective,force3D,transformOrigin,svgOrigin",s=r.style,o,l,c,u,d,p,f,m;n.svg?(c=r.getAttribute("transform"),r.setAttribute("transform",""),s[ve]=t,o=Yn(r,1),Sr(r,ve),r.setAttribute("transform",c)):(c=getComputedStyle(r)[ve],s[ve]=t,o=Yn(r,1),s[ve]=c);for(l in or)c=n[l],u=o[l],c!==u&&i.indexOf(l)<0&&(f=We(c),m=We(u),d=f!==m?Mr(r,l,c,m):parseFloat(c),p=parseFloat(u),e._pt=new it(e._pt,o,l,d,p-d,Us),e._pt.u=m||0,e._props.push(l));qa(o,n)};nt("padding,margin,Width,Radius",function(a,e){var t="Top",r="Right",n="Bottom",i="Left",s=(e<3?[t,r,n,i]:[t+i,t+r,n+r,n+i]).map(function(o){return e<2?a+o:"border"+o+a});Pi[e>1?"border"+a:a]=function(o,l,c,u,d){var p,f;if(arguments.length<4)return p=s.map(function(m){return sr(o,m,c)}),f=p.join(" "),f.split(p[0]).length===5?p[0]:f;p=(u+"").split(" "),f={},s.forEach(function(m,h){return f[m]=p[h]=p[h]||p[(h-1)/2|0]}),o.init(l,f,d)}});var to={name:"css",register:$s,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,n,i){var s=this._props,o=e.style,l=r.vars.startAt,c,u,d,p,f,m,h,_,b,w,v,y,E,M,S,A,T;js||$s(),this.styles=this.styles||Ba(e),A=this.styles.props,this.tween=r;for(h in t)if(h!=="autoRound"&&(u=t[h],!(dt[h]&&zs(h,t,r,n,e,i)))){if(f=typeof u,m=Pi[h],f==="function"&&(u=u.call(r,n,e,i),f=typeof u),f==="string"&&~u.indexOf("random(")&&(u=dn(u)),m)m(this,e,h,u,r)&&(S=1);else if(h.substr(0,2)==="--")c=(getComputedStyle(e).getPropertyValue(h)+"").trim(),u+="",nr.lastIndex=0,nr.test(c)||(_=We(c),b=We(u),b?_!==b&&(c=Mr(e,h,c,b)+b):_&&(u+=_)),this.add(o,"setProperty",c,u,n,i,0,0,h),s.push(h),A.push(h,0,o[h]);else if(f!=="undefined"){if(l&&h in l?(c=typeof l[h]=="function"?l[h].call(r,n,e,i):l[h],Oe(c)&&~c.indexOf("random(")&&(c=dn(c)),We(c+"")||c==="auto"||(c+=mt.units[h]||We(sr(e,h))||""),(c+"").charAt(1)==="="&&(c=sr(e,h))):c=sr(e,h),p=parseFloat(c),w=f==="string"&&u.charAt(1)==="="&&u.substr(0,2),w&&(u=u.substr(2)),d=parseFloat(u),h in Kt&&(h==="autoAlpha"&&(p===1&&sr(e,"visibility")==="hidden"&&d&&(p=0),A.push("visibility",0,o.visibility),Er(this,o,"visibility",p?"inherit":"hidden",d?"inherit":"hidden",!d)),h!=="scale"&&h!=="transform"&&(h=Kt[h],~h.indexOf(",")&&(h=h.split(",")[0]))),v=h in or,v){if(this.styles.save(h),T=u,f==="string"&&u.substring(0,6)==="var(--"){if(u=xt(e,u.substring(4,u.indexOf(")"))),u.substring(0,5)==="calc("){var L=e.style.perspective;e.style.perspective=u,u=xt(e,"perspective"),L?e.style.perspective=L:Sr(e,"perspective")}d=parseFloat(u)}if(y||(E=e._gsap,E.renderTransform&&!t.parseTransform||Yn(e,t.parseTransform),M=t.smoothOrigin!==!1&&E.smooth,y=this._pt=new it(this._pt,o,ve,0,1,E.renderTransform,E,0,-1),y.dep=1),h==="scale")this._pt=new it(this._pt,E,"scaleY",E.scaleY,(w?zr(E.scaleY,w+d):d)-E.scaleY||0,Us),this._pt.u=0,s.push("scaleY",h),h+="X";else if(h==="transformOrigin"){A.push(_t,0,o[_t]),u=Qu(u),E.svg?Qs(e,u,0,M,0,this):(b=parseFloat(u.split(" ")[2])||0,b!==E.zOrigin&&Er(this,E,"zOrigin",E.zOrigin,b),Er(this,o,h,Oi(c),Oi(u)));continue}else if(h==="svgOrigin"){Qs(e,u,1,M,0,this);continue}else if(h in Va){ef(this,E,h,p,w?zr(p,w+u):u);continue}else if(h==="smoothOrigin"){Er(this,E,"smooth",E.smooth,u);continue}else if(h==="force3D"){E[h]=u;continue}else if(h==="transform"){tf(this,u,e);continue}}else h in o||(h=_n(h)||h);if(v||(d||d===0)&&(p||p===0)&&!Hu.test(u)&&h in o)_=(c+"").substr((p+"").length),d||(d=0),b=We(u)||(h in mt.units?mt.units[h]:_),_!==b&&(p=Mr(e,h,c,b)),this._pt=new it(this._pt,v?E:o,h,p,(w?zr(p,w+d):d)-p,!v&&(b==="px"||h==="zIndex")&&t.autoRound!==!1?Fu:Us),this._pt.u=b||0,v&&T!==u?(this._pt.b=c,this._pt.e=T,this._pt.r=Nu):_!==b&&b!=="%"&&(this._pt.b=c,this._pt.r=qu);else if(h in o)$u.call(this,e,h,c,w?w+u:u);else if(h in e)this.add(e,h,c||e[h],w?w+u:u,n,i);else if(h!=="parseTransform"){Mi(h,u);continue}v||(h in o?A.push(h,0,o[h]):typeof e[h]=="function"?A.push(h,2,e[h]()):A.push(h,1,c||e[h])),s.push(h)}}S&&Vs(this)},render:function(e,t){if(t.tween._time||!Zs())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:sr,aliases:Kt,getSetter:function(e,t,r){var n=Kt[t];return n&&n.indexOf(",")<0&&(t=n),t in or&&t!==_t&&(e._gsap.x||sr(e,"x"))?r&&ka===r?t==="scale"?Yu:Wu:(ka=r||{})&&(t==="scale"?Gu:Vu):e.style&&!Si(e.style[t])?zu:~t.indexOf("-")?Bu:Ci(e,t)},core:{_removeProperty:Sr,_getMatrix:eo}};$e.utils.checkPrefix=_n;$e.core.getStyleSaver=Ba;(function(a,e,t,r){var n=nt(a+","+e+","+t,function(i){or[i]=1});nt(e,function(i){mt.units[i]="deg",Va[i]=1}),Kt[n[13]]=a+","+e,nt(r,function(i){var s=i.split(":");Kt[s[1]]=n[s[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");nt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(a){mt.units[a]="px"});$e.registerPlugin(to);var Gn=$e.registerPlugin(to)||$e,Qf=Gn.core.Tween;function Ka(a,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(a,r.key,r)}}function rf(a,e,t){return e&&Ka(a.prototype,e),t&&Ka(a,t),a}var Ye,Hi,nf,Et,Lr,Ar,vn,Qa,Xr,Xn,ja,ar,zt,Za,Ja=function(){return Ye||typeof window<"u"&&(Ye=window.gsap)&&Ye.registerPlugin&&Ye},el=1,gn=[],V=[],Bt=[],Un=Date.now,ro=function(e,t){return t},sf=function(){var e=Xn.core,t=e.bridge||{},r=e._scrollers,n=e._proxies;r.push.apply(r,V),n.push.apply(n,Bt),V=r,Bt=n,ro=function(s,o){return t[s](o)}},cr=function(e,t){return~Bt.indexOf(e)&&Bt[Bt.indexOf(e)+1][t]},Kn=function(e){return!!~ja.indexOf(e)},ot=function(e,t,r,n,i){return e.addEventListener(t,r,{passive:n!==!1,capture:!!i})},st=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},Di="scrollLeft",Ri="scrollTop",no=function(){return ar&&ar.isPressed||V.cache++},Ii=function(e,t){var r=function n(i){if(i||i===0){el&&(Et.history.scrollRestoration="manual");var s=ar&&ar.isPressed;i=n.v=Math.round(i)||(ar&&ar.iOS?1:0),e(i),n.cacheID=V.cache,s&&ro("ss",i)}else(t||V.cache!==n.cacheID||ro("ref"))&&(n.cacheID=V.cache,n.v=e());return n.v+n.offset};return r.offset=0,e&&r},Qe={s:Di,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Ii(function(a){return arguments.length?Et.scrollTo(a,ke.sc()):Et.pageXOffset||Lr[Di]||Ar[Di]||vn[Di]||0})},ke={s:Ri,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Qe,sc:Ii(function(a){return arguments.length?Et.scrollTo(Qe.sc(),a):Et.pageYOffset||Lr[Ri]||Ar[Ri]||vn[Ri]||0})},at=function(e,t){return(t&&t._ctx&&t._ctx.selector||Ye.utils.toArray)(e)[0]||(typeof e=="string"&&Ye.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},of=function(e,t){for(var r=t.length;r--;)if(t[r]===e||t[r].contains(e))return!0;return!1},lr=function(e,t){var r=t.s,n=t.sc;Kn(e)&&(e=Lr.scrollingElement||Ar);var i=V.indexOf(e),s=n===ke.sc?1:2;!~i&&(i=V.push(e)-1),V[i+s]||ot(e,"scroll",no);var o=V[i+s],l=o||(V[i+s]=Ii(cr(e,r),!0)||(Kn(e)?n:Ii(function(c){return arguments.length?e[r]=c:e[r]})));return l.target=e,o||(l.smooth=Ye.getProperty(e,"scrollBehavior")==="smooth"),l},qi=function(e,t,r){var n=e,i=e,s=Un(),o=s,l=t||50,c=Math.max(500,l*3),u=function(m,h){var _=Un();h||_-s>l?(i=n,n=m,o=s,s=_):r?n+=m:n=i+(m-i)/(_-o)*(s-o)},d=function(){i=n=r?0:n,o=s=0},p=function(m){var h=o,_=i,b=Un();return(m||m===0)&&m!==n&&u(m),s===o||b-o>c?0:(n+(r?_:-_))/((r?b:s)-h)*1e3};return{update:u,reset:d,getVelocity:p}},Vn=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},$a=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},tl=function(){Xn=Ye.core.globals().ScrollTrigger,Xn&&Xn.core&&sf()},rl=function(e){return Ye=e||Ja(),!Hi&&Ye&&typeof document<"u"&&document.body&&(Et=window,Lr=document,Ar=Lr.documentElement,vn=Lr.body,ja=[Et,Lr,Ar,vn],nf=Ye.utils.clamp,Za=Ye.core.context||function(){},Xr="onpointerenter"in vn?"pointer":"mouse",Qa=xe.isTouch=Et.matchMedia&&Et.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Et||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,zt=xe.eventTypes=("ontouchstart"in Ar?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Ar?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return el=0},500),tl(),Hi=1),Hi};Qe.op=ke;V.cache=0;var xe=function(){function a(t){this.init(t)}var e=a.prototype;return e.init=function(r){Hi||rl(Ye)||console.warn("Please gsap.registerPlugin(Observer)"),Xn||tl();var n=r.tolerance,i=r.dragMinimum,s=r.type,o=r.target,l=r.lineHeight,c=r.debounce,u=r.preventDefault,d=r.onStop,p=r.onStopDelay,f=r.ignore,m=r.wheelSpeed,h=r.event,_=r.onDragStart,b=r.onDragEnd,w=r.onDrag,v=r.onPress,y=r.onRelease,E=r.onRight,M=r.onLeft,S=r.onUp,A=r.onDown,T=r.onChangeX,L=r.onChangeY,D=r.onChange,k=r.onToggleX,F=r.onToggleY,z=r.onHover,Q=r.onHoverEnd,U=r.onMove,R=r.ignoreCheck,Y=r.isNormalizer,ne=r.onGestureStart,g=r.onGestureEnd,B=r.onWheel,ie=r.onEnable,le=r.onDisable,J=r.onClick,pe=r.scrollSpeed,he=r.capture,ue=r.allowClicks,et=r.lockAxis,Ge=r.onLockAxis;this.target=o=at(o)||Ar,this.vars=r,f&&(f=Ye.utils.toArray(f)),n=n||1e-9,i=i||0,m=m||1,pe=pe||1,s=s||"wheel,touch,pointer",c=c!==!1,l||(l=parseFloat(Et.getComputedStyle(vn).lineHeight)||22);var dr,tt,rt,ee,Ee,ft,gt,x=this,vt=0,jt=0,pr=r.passive||!u&&r.passive!==!1,ye=lr(o,Qe),Zt=lr(o,ke),hr=ye(),Pr=Zt(),Re=~s.indexOf("touch")&&!~s.indexOf("pointer")&&zt[0]==="pointerdown",mr=Kn(o),Se=o.ownerDocument||Lr,Ht=[0,0,0],At=[0,0,0],Jt=0,Ln=function(){return Jt=Un()},Ae=function(H,te){return(x.event=H)&&f&&of(H.target,f)||te&&Re&&H.pointerType!=="touch"||R&&R(H,te)},pi=function(){x._vx.reset(),x._vy.reset(),tt.pause(),d&&d(x)},er=function(){var H=x.deltaX=$a(Ht),te=x.deltaY=$a(At),C=Math.abs(H)>=n,I=Math.abs(te)>=n;D&&(C||I)&&D(x,H,te,Ht,At),C&&(E&&x.deltaX>0&&E(x),M&&x.deltaX<0&&M(x),T&&T(x),k&&x.deltaX<0!=vt<0&&k(x),vt=x.deltaX,Ht[0]=Ht[1]=Ht[2]=0),I&&(A&&x.deltaY>0&&A(x),S&&x.deltaY<0&&S(x),L&&L(x),F&&x.deltaY<0!=jt<0&&F(x),jt=x.deltaY,At[0]=At[1]=At[2]=0),(ee||rt)&&(U&&U(x),rt&&(_&&rt===1&&_(x),w&&w(x),rt=0),ee=!1),ft&&!(ft=!1)&&Ge&&Ge(x),Ee&&(B(x),Ee=!1),dr=0},rn=function(H,te,C){Ht[C]+=H,At[C]+=te,x._vx.update(H),x._vy.update(te),c?dr||(dr=requestAnimationFrame(er)):er()},nn=function(H,te){et&&!gt&&(x.axis=gt=Math.abs(H)>Math.abs(te)?"x":"y",ft=!0),gt!=="y"&&(Ht[2]+=H,x._vx.update(H,!0)),gt!=="x"&&(At[2]+=te,x._vy.update(te,!0)),c?dr||(dr=requestAnimationFrame(er)):er()},_r=function(H){if(!Ae(H,1)){H=Vn(H,u);var te=H.clientX,C=H.clientY,I=te-x.x,O=C-x.y,q=x.isDragging;x.x=te,x.y=C,(q||(I||O)&&(Math.abs(x.startX-te)>=i||Math.abs(x.startY-C)>=i))&&(rt||(rt=q?2:1),q||(x.isDragging=!0),nn(I,O))}},Or=x.onPress=function(N){Ae(N,1)||N&&N.button||(x.axis=gt=null,tt.pause(),x.isPressed=!0,N=Vn(N),vt=jt=0,x.startX=x.x=N.clientX,x.startY=x.y=N.clientY,x._vx.reset(),x._vy.reset(),ot(Y?o:Se,zt[1],_r,pr,!0),x.deltaX=x.deltaY=0,v&&v(x))},$=x.onRelease=function(N){if(!Ae(N,1)){st(Y?o:Se,zt[1],_r,!0);var H=!isNaN(x.y-x.startY),te=x.isDragging,C=te&&(Math.abs(x.x-x.startX)>3||Math.abs(x.y-x.startY)>3),I=Vn(N);!C&&H&&(x._vx.reset(),x._vy.reset(),u&&ue&&Ye.delayedCall(.08,function(){if(Un()-Jt>300&&!N.defaultPrevented){if(N.target.click)N.target.click();else if(Se.createEvent){var O=Se.createEvent("MouseEvents");O.initMouseEvent("click",!0,!0,Et,1,I.screenX,I.screenY,I.clientX,I.clientY,!1,!1,!1,!1,0,null),N.target.dispatchEvent(O)}}})),x.isDragging=x.isGesturing=x.isPressed=!1,d&&te&&!Y&&tt.restart(!0),rt&&er(),b&&te&&b(x),y&&y(x,C)}},Dr=function(H){return H.touches&&H.touches.length>1&&(x.isGesturing=!0)&&ne(H,x.isDragging)},It=function(){return(x.isGesturing=!1)||g(x)},qt=function(H){if(!Ae(H)){var te=ye(),C=Zt();rn((te-hr)*pe,(C-Pr)*pe,1),hr=te,Pr=C,d&&tt.restart(!0)}},Nt=function(H){if(!Ae(H)){H=Vn(H,u),B&&(Ee=!0);var te=(H.deltaMode===1?l:H.deltaMode===2?Et.innerHeight:1)*m;rn(H.deltaX*te,H.deltaY*te,0),d&&!Y&&tt.restart(!0)}},Rr=function(H){if(!Ae(H)){var te=H.clientX,C=H.clientY,I=te-x.x,O=C-x.y;x.x=te,x.y=C,ee=!0,d&&tt.restart(!0),(I||O)&&nn(I,O)}},sn=function(H){x.event=H,z(x)},tr=function(H){x.event=H,Q(x)},An=function(H){return Ae(H)||Vn(H,u)&&J(x)};tt=x._dc=Ye.delayedCall(p||.25,pi).pause(),x.deltaX=x.deltaY=0,x._vx=qi(0,50,!0),x._vy=qi(0,50,!0),x.scrollX=ye,x.scrollY=Zt,x.isDragging=x.isGesturing=x.isPressed=!1,Za(this),x.enable=function(N){return x.isEnabled||(ot(mr?Se:o,"scroll",no),s.indexOf("scroll")>=0&&ot(mr?Se:o,"scroll",qt,pr,he),s.indexOf("wheel")>=0&&ot(o,"wheel",Nt,pr,he),(s.indexOf("touch")>=0&&Qa||s.indexOf("pointer")>=0)&&(ot(o,zt[0],Or,pr,he),ot(Se,zt[2],$),ot(Se,zt[3],$),ue&&ot(o,"click",Ln,!0,!0),J&&ot(o,"click",An),ne&&ot(Se,"gesturestart",Dr),g&&ot(Se,"gestureend",It),z&&ot(o,Xr+"enter",sn),Q&&ot(o,Xr+"leave",tr),U&&ot(o,Xr+"move",Rr)),x.isEnabled=!0,x.isDragging=x.isGesturing=x.isPressed=ee=rt=!1,x._vx.reset(),x._vy.reset(),hr=ye(),Pr=Zt(),N&&N.type&&Or(N),ie&&ie(x)),x},x.disable=function(){x.isEnabled&&(gn.filter(function(N){return N!==x&&Kn(N.target)}).length||st(mr?Se:o,"scroll",no),x.isPressed&&(x._vx.reset(),x._vy.reset(),st(Y?o:Se,zt[1],_r,!0)),st(mr?Se:o,"scroll",qt,he),st(o,"wheel",Nt,he),st(o,zt[0],Or,he),st(Se,zt[2],$),st(Se,zt[3],$),st(o,"click",Ln,!0),st(o,"click",An),st(Se,"gesturestart",Dr),st(Se,"gestureend",It),st(o,Xr+"enter",sn),st(o,Xr+"leave",tr),st(o,Xr+"move",Rr),x.isEnabled=x.isPressed=x.isDragging=!1,le&&le(x))},x.kill=x.revert=function(){x.disable();var N=gn.indexOf(x);N>=0&&gn.splice(N,1),ar===x&&(ar=0)},gn.push(x),Y&&Kn(o)&&(ar=x),x.enable(h)},rf(a,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),a}();xe.version="3.14.2";xe.create=function(a){return new xe(a)};xe.register=rl;xe.getAll=function(){return gn.slice()};xe.getById=function(a){return gn.filter(function(e){return e.vars.id===a})[0]};Ja()&&Ye.registerPlugin(xe);var P,wn,K,ce,Lt,re,yo,Ji,li,ti,Qn,Ni,je,rs,fo,ct,nl,il,Tn,bl,io,wl,lt,po,Tl,xl,kr,ho,bo,xn,wo,ri,mo,so,Fi=1,Ze=Date.now,oo=Ze(),Rt=0,jn=0,sl=function(e,t,r){var n=Mt(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=n,n?e.substr(6,e.length-7):e},ol=function(e,t){return t&&(!Mt(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},af=function a(){return jn&&requestAnimationFrame(a)},al=function(){return rs=1},ll=function(){return rs=0},$t=function(e){return e},Zn=function(e){return Math.round(e*1e5)/1e5||0},El=function(){return typeof window<"u"},Sl=function(){return P||El()&&(P=window.gsap)&&P.registerPlugin&&P},Zr=function(e){return!!~yo.indexOf(e)},Ml=function(e){return(e==="Height"?wo:K["inner"+e])||Lt["client"+e]||re["client"+e]},Ll=function(e){return cr(e,"getBoundingClientRect")||(Zr(e)?function(){return Zi.width=K.innerWidth,Zi.height=wo,Zi}:function(){return ur(e)})},lf=function(e,t,r){var n=r.d,i=r.d2,s=r.a;return(s=cr(e,"getBoundingClientRect"))?function(){return s()[n]}:function(){return(t?Ml(i):e["client"+i])||0}},cf=function(e,t){return!t||~Bt.indexOf(e)?Ll(e):function(){return Zi}},Qt=function(e,t){var r=t.s,n=t.d2,i=t.d,s=t.a;return Math.max(0,(r="scroll"+n)&&(s=cr(e,r))?s()-Ll(e)()[i]:Zr(e)?(Lt[r]||re[r])-Ml(n):e[r]-e["offset"+n])},zi=function(e,t){for(var r=0;r<Tn.length;r+=3)(!t||~t.indexOf(Tn[r+1]))&&e(Tn[r],Tn[r+1],Tn[r+2])},Mt=function(e){return typeof e=="string"},Je=function(e){return typeof e=="function"},Jn=function(e){return typeof e=="number"},Ur=function(e){return typeof e=="object"},$n=function(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()},ao=function(e,t){if(e.enabled){var r=e._ctx?e._ctx.add(function(){return t(e)}):t(e);r&&r.totalTime&&(e.callbackAnimation=r)}},yn=Math.abs,Al="left",kl="top",To="right",xo="bottom",$r="width",Qr="height",ni="Right",ii="Left",si="Top",oi="Bottom",Ce="padding",Ot="margin",Sn="Width",Eo="Height",De="px",Dt=function(e){return K.getComputedStyle(e)},uf=function(e){var t=Dt(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative"},cl=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},ur=function(e,t){var r=t&&Dt(e)[fo]!=="matrix(1, 0, 0, 1, 0, 0)"&&P.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=e.getBoundingClientRect();return r&&r.progress(0).kill(),n},es=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},Cl=function(e){var t=[],r=e.labels,n=e.duration(),i;for(i in r)t.push(r[i]/n);return t},ff=function(e){return function(t){return P.utils.snap(Cl(e),t)}},So=function(e){var t=P.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(n,i){return n-i});return r?function(n,i,s){s===void 0&&(s=.001);var o;if(!i)return t(n);if(i>0){for(n-=s,o=0;o<r.length;o++)if(r[o]>=n)return r[o];return r[o-1]}else for(o=r.length,n+=s;o--;)if(r[o]<=n)return r[o];return r[0]}:function(n,i,s){s===void 0&&(s=.001);var o=t(n);return!i||Math.abs(o-n)<s||o-n<0==i<0?o:t(i<0?n-e:n+e)}},df=function(e){return function(t,r){return So(Cl(e))(t,r.direction)}},Bi=function(e,t,r,n){return r.split(",").forEach(function(i){return e(t,i,n)})},qe=function(e,t,r,n,i){return e.addEventListener(t,r,{passive:!n,capture:!!i})},Ie=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},Wi=function(e,t,r){r=r&&r.wheelHandler,r&&(e(t,"wheel",r),e(t,"touchmove",r))},ul={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Yi={toggleActions:"play",anticipatePin:0},ts={top:0,left:0,center:.5,bottom:1,right:1},Ki=function(e,t){if(Mt(e)){var r=e.indexOf("="),n=~r?+(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(n*=t/100),e=e.substr(0,r-1)),e=n+(e in ts?ts[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},Gi=function(e,t,r,n,i,s,o,l){var c=i.startColor,u=i.endColor,d=i.fontSize,p=i.indent,f=i.fontWeight,m=ce.createElement("div"),h=Zr(r)||cr(r,"pinType")==="fixed",_=e.indexOf("scroller")!==-1,b=h?re:r,w=e.indexOf("start")!==-1,v=w?c:u,y="border-color:"+v+";font-size:"+d+";color:"+v+";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 y+="position:"+((_||l)&&h?"fixed;":"absolute;"),(_||l||!h)&&(y+=(n===ke?To:xo)+":"+(s+parseFloat(p))+"px;"),o&&(y+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),m._isStart=w,m.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),m.style.cssText=y,m.innerText=t||t===0?e+"-"+t:e,b.children[0]?b.insertBefore(m,b.children[0]):b.appendChild(m),m._offset=m["offset"+n.op.d2],$i(m,0,n,w),m},$i=function(e,t,r,n){var i={display:"block"},s=r[n?"os2":"p2"],o=r[n?"p2":"os2"];e._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+s+Sn]=1,i["border"+o+Sn]=0,i[r.p]=t+"px",P.set(e,i)},X=[],_o={},ci,fl=function(){return Ze()-Rt>34&&(ci||(ci=requestAnimationFrame(fr)))},bn=function(){(!lt||!lt.isPressed||lt.startX>re.clientWidth)&&(V.cache++,lt?ci||(ci=requestAnimationFrame(fr)):fr(),Rt||en("scrollStart"),Rt=Ze())},lo=function(){xl=K.innerWidth,Tl=K.innerHeight},ei=function(e){V.cache++,(e===!0||!je&&!wl&&!ce.fullscreenElement&&!ce.webkitFullscreenElement&&(!po||xl!==K.innerWidth||Math.abs(K.innerHeight-Tl)>K.innerHeight*.25))&&Ji.restart(!0)},Jr={},pf=[],Pl=function a(){return Ie(W,"scrollEnd",a)||Kr(!0)},en=function(e){return Jr[e]&&Jr[e].map(function(t){return t()})||pf},St=[],Ol=function(e){for(var t=0;t<St.length;t+=5)(!e||St[t+4]&&St[t+4].query===e)&&(St[t].style.cssText=St[t+1],St[t].getBBox&&St[t].setAttribute("transform",St[t+2]||""),St[t+3].uncache=1)},Dl=function(){return V.forEach(function(e){return Je(e)&&++e.cacheID&&(e.rec=e())})},Mo=function(e,t){var r;for(ct=0;ct<X.length;ct++)r=X[ct],r&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));ri=!0,t&&Ol(t),t||en("revert")},Rl=function(e,t){V.cache++,(t||!ut)&&V.forEach(function(r){return Je(r)&&r.cacheID++&&(r.rec=0)}),Mt(e)&&(K.history.scrollRestoration=bo=e)},ut,jr=0,dl,hf=function(){if(dl!==jr){var e=dl=jr;requestAnimationFrame(function(){return e===jr&&Kr(!0)})}},Hl=function(){re.appendChild(xn),wo=!lt&&xn.offsetHeight||K.innerHeight,re.removeChild(xn)},pl=function(e){return li(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},Kr=function(e,t){if(Lt=ce.documentElement,re=ce.body,yo=[K,ce,Lt,re],Rt&&!e&&!ri){qe(W,"scrollEnd",Pl);return}Hl(),ut=W.isRefreshing=!0,ri||Dl();var r=en("refreshInit");bl&&W.sort(),t||Mo(),V.forEach(function(n){Je(n)&&(n.smooth&&(n.target.style.scrollBehavior="auto"),n(0))}),X.slice(0).forEach(function(n){return n.refresh()}),ri=!1,X.forEach(function(n){if(n._subPinOffset&&n.pin){var i=n.vars.horizontal?"offsetWidth":"offsetHeight",s=n.pin[i];n.revert(!0,1),n.adjustPinSpacing(n.pin[i]-s),n.refresh()}}),mo=1,pl(!0),X.forEach(function(n){var i=Qt(n.scroller,n._dir),s=n.vars.end==="max"||n._endClamp&&n.end>i,o=n._startClamp&&n.start>=i;(s||o)&&n.setPositions(o?i-1:n.start,s?Math.max(o?i:n.start+1,i):n.end,!0)}),pl(!1),mo=0,r.forEach(function(n){return n&&n.render&&n.render(-1)}),V.forEach(function(n){Je(n)&&(n.smooth&&requestAnimationFrame(function(){return n.target.style.scrollBehavior="smooth"}),n.rec&&n(n.rec))}),Rl(bo,1),Ji.pause(),jr++,ut=2,fr(2),X.forEach(function(n){return Je(n.vars.onRefresh)&&n.vars.onRefresh(n)}),ut=W.isRefreshing=!1,en("refresh")},go=0,Qi=1,ai,fr=function(e){if(e===2||!ut&&!ri){W.isUpdating=!0,ai&&ai.update(0);var t=X.length,r=Ze(),n=r-oo>=50,i=t&&X[0].scroll();if(Qi=go>i?-1:1,ut||(go=i),n&&(Rt&&!rs&&r-Rt>200&&(Rt=0,en("scrollEnd")),Qn=oo,oo=r),Qi<0){for(ct=t;ct-- >0;)X[ct]&&X[ct].update(0,n);Qi=1}else for(ct=0;ct<t;ct++)X[ct]&&X[ct].update(0,n);W.isUpdating=!1}ci=0},vo=[Al,kl,xo,To,Ot+oi,Ot+ni,Ot+si,Ot+ii,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],ji=vo.concat([$r,Qr,"boxSizing","max"+Sn,"max"+Eo,"position",Ot,Ce,Ce+si,Ce+ni,Ce+oi,Ce+ii]),mf=function(e,t,r){En(r);var n=e._gsap;if(n.spacerIsNative)En(n.spacerState);else if(e._gsap.swappedIn){var i=t.parentNode;i&&(i.insertBefore(e,t),i.removeChild(t))}e._gsap.swappedIn=!1},co=function(e,t,r,n){if(!e._gsap.swappedIn){for(var i=vo.length,s=t.style,o=e.style,l;i--;)l=vo[i],s[l]=r[l];s.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(s.display="inline-block"),o[xo]=o[To]="auto",s.flexBasis=r.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[$r]=es(e,Qe)+De,s[Qr]=es(e,ke)+De,s[Ce]=o[Ot]=o[kl]=o[Al]="0",En(n),o[$r]=o["max"+Sn]=r[$r],o[Qr]=o["max"+Eo]=r[Qr],o[Ce]=r[Ce],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},_f=/([A-Z])/g,En=function(e){if(e){var t=e.t.style,r=e.length,n=0,i,s;for((e.t._gsap||P.core.getCache(e.t)).uncache=1;n<r;n+=2)s=e[n+1],i=e[n],s?t[i]=s:t[i]&&t.removeProperty(i.replace(_f,"-$1").toLowerCase())}},Vi=function(e){for(var t=ji.length,r=e.style,n=[],i=0;i<t;i++)n.push(ji[i],r[ji[i]]);return n.t=e,n},gf=function(e,t,r){for(var n=[],i=e.length,s=r?8:0,o;s<i;s+=2)o=e[s],n.push(o,o in t?t[o]:e[s+1]);return n.t=e.t,n},Zi={left:0,top:0},hl=function(e,t,r,n,i,s,o,l,c,u,d,p,f,m){Je(e)&&(e=e(l)),Mt(e)&&e.substr(0,3)==="max"&&(e=p+(e.charAt(4)==="="?Ki("0"+e.substr(3),r):0));var h=f?f.time():0,_,b,w;if(f&&f.seek(0),isNaN(e)||(e=+e),Jn(e))f&&(e=P.utils.mapRange(f.scrollTrigger.start,f.scrollTrigger.end,0,p,e)),o&&$i(o,r,n,!0);else{Je(t)&&(t=t(l));var v=(e||"0").split(" "),y,E,M,S;w=at(t,l)||re,y=ur(w)||{},(!y||!y.left&&!y.top)&&Dt(w).display==="none"&&(S=w.style.display,w.style.display="block",y=ur(w),S?w.style.display=S:w.style.removeProperty("display")),E=Ki(v[0],y[n.d]),M=Ki(v[1]||"0",r),e=y[n.p]-c[n.p]-u+E+i-M,o&&$i(o,M,n,r-M<20||o._isStart&&M>20),r-=r-M}if(m&&(l[m]=e||-.001,e<0&&(e=0)),s){var A=e+r,T=s._isStart;_="scroll"+n.d2,$i(s,A,n,T&&A>20||!T&&(d?Math.max(re[_],Lt[_]):s.parentNode[_])<=A+1),d&&(c=ur(o),d&&(s.style[n.op.p]=c[n.op.p]-n.op.m-s._offset+De))}return f&&w&&(_=ur(w),f.seek(p),b=ur(w),f._caScrollDist=_[n.p]-b[n.p],e=e/f._caScrollDist*p),f&&f.seek(h),f?e:Math.round(e)},vf=/(webkit|moz|length|cssText|inset)/i,ml=function(e,t,r,n){if(e.parentNode!==t){var i=e.style,s,o;if(t===re){e._stOrig=i.cssText,o=Dt(e);for(s in o)!+s&&!vf.test(s)&&o[s]&&typeof i[s]=="string"&&s!=="0"&&(i[s]=o[s]);i.top=r,i.left=n}else i.cssText=e._stOrig;P.core.getCache(e).uncache=1,t.appendChild(e)}},Il=function(e,t,r){var n=t,i=n;return function(s){var o=Math.round(e());return o!==n&&o!==i&&Math.abs(o-n)>3&&Math.abs(o-i)>3&&(s=o,r&&r()),i=n,n=Math.round(s),n}},Xi=function(e,t,r){var n={};n[t.p]="+="+r,P.set(e,n)},_l=function(e,t){var r=lr(e,t),n="_scroll"+t.p2,i=function s(o,l,c,u,d){var p=s.tween,f=l.onComplete,m={};c=c||r();var h=Il(r,c,function(){p.kill(),s.tween=0});return d=u&&d||0,u=u||o-c,p&&p.kill(),l[n]=o,l.inherit=!1,l.modifiers=m,m[n]=function(){return h(c+u*p.ratio+d*p.ratio*p.ratio)},l.onUpdate=function(){V.cache++,s.tween&&fr()},l.onComplete=function(){s.tween=0,f&&f.call(p)},p=s.tween=P.to(e,l),p};return e[n]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},qe(e,"wheel",r.wheelHandler),W.isTouch&&qe(e,"touchmove",r.wheelHandler),i},W=function(){function a(t,r){wn||a.register(P)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),ho(this),this.init(t,r)}var e=a.prototype;return e.init=function(r,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!jn){this.update=this.refresh=this.kill=$t;return}r=cl(Mt(r)||Jn(r)||r.nodeType?{trigger:r}:r,Yi);var i=r,s=i.onUpdate,o=i.toggleClass,l=i.id,c=i.onToggle,u=i.onRefresh,d=i.scrub,p=i.trigger,f=i.pin,m=i.pinSpacing,h=i.invalidateOnRefresh,_=i.anticipatePin,b=i.onScrubComplete,w=i.onSnapComplete,v=i.once,y=i.snap,E=i.pinReparent,M=i.pinSpacer,S=i.containerAnimation,A=i.fastScrollEnd,T=i.preventOverlaps,L=r.horizontal||r.containerAnimation&&r.horizontal!==!1?Qe:ke,D=!d&&d!==0,k=at(r.scroller||K),F=P.core.getCache(k),z=Zr(k),Q=("pinType"in r?r.pinType:cr(k,"pinType")||z&&"fixed")==="fixed",U=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],R=D&&r.toggleActions.split(" "),Y="markers"in r?r.markers:Yi.markers,ne=z?0:parseFloat(Dt(k)["border"+L.p2+Sn])||0,g=this,B=r.onRefreshInit&&function(){return r.onRefreshInit(g)},ie=lf(k,z,L),le=cf(k,z),J=0,pe=0,he=0,ue=lr(k,L),et,Ge,dr,tt,rt,ee,Ee,ft,gt,x,vt,jt,pr,ye,Zt,hr,Pr,Re,mr,Se,Ht,At,Jt,Ln,Ae,pi,er,rn,nn,_r,Or,$,Dr,It,qt,Nt,Rr,sn,tr;if(g._startClamp=g._endClamp=!1,g._dir=L,_*=45,g.scroller=k,g.scroll=S?S.time.bind(S):ue,tt=ue(),g.vars=r,n=n||r.animation,"refreshPriority"in r&&(bl=1,r.refreshPriority===-9999&&(ai=g)),F.tweenScroll=F.tweenScroll||{top:_l(k,ke),left:_l(k,Qe)},g.tweenTo=et=F.tweenScroll[L.p],g.scrubDuration=function(C){Dr=Jn(C)&&C,Dr?$?$.duration(C):$=P.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Dr,paused:!0,onComplete:function(){return b&&b(g)}}):($&&$.progress(1).kill(),$=0)},n&&(n.vars.lazy=!1,n._initted&&!g.isReverted||n.vars.immediateRender!==!1&&r.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),g.animation=n.pause(),n.scrollTrigger=g,g.scrubDuration(d),_r=0,l||(l=n.vars.id)),y&&((!Ur(y)||y.push)&&(y={snapTo:y}),"scrollBehavior"in re.style&&P.set(z?[re,Lt]:k,{scrollBehavior:"auto"}),V.forEach(function(C){return Je(C)&&C.target===(z?ce.scrollingElement||Lt:k)&&(C.smooth=!1)}),dr=Je(y.snapTo)?y.snapTo:y.snapTo==="labels"?ff(n):y.snapTo==="labelsDirectional"?df(n):y.directional!==!1?function(C,I){return So(y.snapTo)(C,Ze()-pe<500?0:I.direction)}:P.utils.snap(y.snapTo),It=y.duration||{min:.1,max:2},It=Ur(It)?ti(It.min,It.max):ti(It,It),qt=P.delayedCall(y.delay||Dr/2||.1,function(){var C=ue(),I=Ze()-pe<500,O=et.tween;if((I||Math.abs(g.getVelocity())<10)&&!O&&!rs&&J!==C){var q=(C-ee)/ye,He=n&&!D?n.totalProgress():q,j=I?0:(He-Or)/(Ze()-Qn)*1e3||0,Me=P.utils.clamp(-q,1-q,yn(j/2)*j/.185),Ve=q+(y.inertia===!1?0:Me),be,fe,se=y,Ft=se.onStart,me=se.onInterrupt,yt=se.onComplete;if(be=dr(Ve,g),Jn(be)||(be=Ve),fe=Math.max(0,Math.round(ee+be*ye)),C<=Ee&&C>=ee&&fe!==C){if(O&&!O._initted&&O.data<=yn(fe-C))return;y.inertia===!1&&(Me=be-q),et(fe,{duration:It(yn(Math.max(yn(Ve-He),yn(be-He))*.185/j/.05||0)),ease:y.ease||"power3",data:yn(fe-C),onInterrupt:function(){return qt.restart(!0)&&me&&me(g)},onComplete:function(){g.update(),J=ue(),n&&!D&&($?$.resetTo("totalProgress",be,n._tTime/n._tDur):n.progress(be)),_r=Or=n&&!D?n.totalProgress():g.progress,w&&w(g),yt&&yt(g)}},C,Me*ye,fe-C-Me*ye),Ft&&Ft(g,et.tween)}}else g.isActive&&J!==C&&qt.restart(!0)}).pause()),l&&(_o[l]=g),p=g.trigger=at(p||f!==!0&&f),tr=p&&p._gsap&&p._gsap.stRevert,tr&&(tr=tr(g)),f=f===!0?p:at(f),Mt(o)&&(o={targets:p,className:o}),f&&(m===!1||m===Ot||(m=!m&&f.parentNode&&f.parentNode.style&&Dt(f.parentNode).display==="flex"?!1:Ce),g.pin=f,Ge=P.core.getCache(f),Ge.spacer?Zt=Ge.pinState:(M&&(M=at(M),M&&!M.nodeType&&(M=M.current||M.nativeElement),Ge.spacerIsNative=!!M,M&&(Ge.spacerState=Vi(M))),Ge.spacer=Re=M||ce.createElement("div"),Re.classList.add("pin-spacer"),l&&Re.classList.add("pin-spacer-"+l),Ge.pinState=Zt=Vi(f)),r.force3D!==!1&&P.set(f,{force3D:!0}),g.spacer=Re=Ge.spacer,nn=Dt(f),Ln=nn[m+L.os2],Se=P.getProperty(f),Ht=P.quickSetter(f,L.a,De),co(f,Re,nn),Pr=Vi(f)),Y){jt=Ur(Y)?cl(Y,ul):ul,x=Gi("scroller-start",l,k,L,jt,0),vt=Gi("scroller-end",l,k,L,jt,0,x),mr=x["offset"+L.op.d2];var An=at(cr(k,"content")||k);ft=this.markerStart=Gi("start",l,An,L,jt,mr,0,S),gt=this.markerEnd=Gi("end",l,An,L,jt,mr,0,S),S&&(sn=P.quickSetter([ft,gt],L.a,De)),!Q&&!(Bt.length&&cr(k,"fixedMarkers")===!0)&&(uf(z?re:k),P.set([x,vt],{force3D:!0}),pi=P.quickSetter(x,L.a,De),rn=P.quickSetter(vt,L.a,De))}if(S){var N=S.vars.onUpdate,H=S.vars.onUpdateParams;S.eventCallback("onUpdate",function(){g.update(0,0,1),N&&N.apply(S,H||[])})}if(g.previous=function(){return X[X.indexOf(g)-1]},g.next=function(){return X[X.indexOf(g)+1]},g.revert=function(C,I){if(!I)return g.kill(!0);var O=C!==!1||!g.enabled,q=je;O!==g.isReverted&&(O&&(Nt=Math.max(ue(),g.scroll.rec||0),he=g.progress,Rr=n&&n.progress()),ft&&[ft,gt,x,vt].forEach(function(He){return He.style.display=O?"none":"block"}),O&&(je=g,g.update(O)),f&&(!E||!g.isActive)&&(O?mf(f,Re,Zt):co(f,Re,Dt(f),Ae)),O||g.update(O),je=q,g.isReverted=O)},g.refresh=function(C,I,O,q){if(!((je||!g.enabled)&&!I)){if(f&&C&&Rt){qe(a,"scrollEnd",Pl);return}!ut&&B&&B(g),je=g,et.tween&&!O&&(et.tween.kill(),et.tween=0),$&&$.pause(),h&&n&&(n.revert({kill:!1}).invalidate(),n.getChildren?n.getChildren(!0,!0,!1).forEach(function(gr){return gr.vars.immediateRender&&gr.render(0,!0,!0)}):n.vars.immediateRender&&n.render(0,!0,!0)),g.isReverted||g.revert(!0,!0),g._subPinOffset=!1;var He=ie(),j=le(),Me=S?S.duration():Qt(k,L),Ve=ye<=.01||!ye,be=0,fe=q||0,se=Ur(O)?O.end:r.end,Ft=r.endTrigger||p,me=Ur(O)?O.start:r.start||(r.start===0||!p?0:f?"0 0":"0 100%"),yt=g.pinnedContainer=r.pinnedContainer&&at(r.pinnedContainer,g),Wt=p&&Math.max(0,X.indexOf(g))||0,Ne=Wt,Fe,Xe,Hr,hi,Ue,Pe,Yt,ls,Io,kn,Gt,Cn,mi;for(Y&&Ur(O)&&(Cn=P.getProperty(x,L.p),mi=P.getProperty(vt,L.p));Ne-- >0;)Pe=X[Ne],Pe.end||Pe.refresh(0,1)||(je=g),Yt=Pe.pin,Yt&&(Yt===p||Yt===f||Yt===yt)&&!Pe.isReverted&&(kn||(kn=[]),kn.unshift(Pe),Pe.revert(!0,!0)),Pe!==X[Ne]&&(Wt--,Ne--);for(Je(me)&&(me=me(g)),me=sl(me,"start",g),ee=hl(me,p,He,L,ue(),ft,x,g,j,ne,Q,Me,S,g._startClamp&&"_startClamp")||(f?-.001:0),Je(se)&&(se=se(g)),Mt(se)&&!se.indexOf("+=")&&(~se.indexOf(" ")?se=(Mt(me)?me.split(" ")[0]:"")+se:(be=Ki(se.substr(2),He),se=Mt(me)?me:(S?P.utils.mapRange(0,S.duration(),S.scrollTrigger.start,S.scrollTrigger.end,ee):ee)+be,Ft=p)),se=sl(se,"end",g),Ee=Math.max(ee,hl(se||(Ft?"100% 0":Me),Ft,He,L,ue()+be,gt,vt,g,j,ne,Q,Me,S,g._endClamp&&"_endClamp"))||-.001,be=0,Ne=Wt;Ne--;)Pe=X[Ne]||{},Yt=Pe.pin,Yt&&Pe.start-Pe._pinPush<=ee&&!S&&Pe.end>0&&(Fe=Pe.end-(g._startClamp?Math.max(0,Pe.start):Pe.start),(Yt===p&&Pe.start-Pe._pinPush<ee||Yt===yt)&&isNaN(me)&&(be+=Fe*(1-Pe.progress)),Yt===f&&(fe+=Fe));if(ee+=be,Ee+=be,g._startClamp&&(g._startClamp+=be),g._endClamp&&!ut&&(g._endClamp=Ee||-.001,Ee=Math.min(Ee,Qt(k,L))),ye=Ee-ee||(ee-=.01)&&.001,Ve&&(he=P.utils.clamp(0,1,P.utils.normalize(ee,Ee,Nt))),g._pinPush=fe,ft&&be&&(Fe={},Fe[L.a]="+="+be,yt&&(Fe[L.p]="-="+ue()),P.set([ft,gt],Fe)),f&&!(mo&&g.end>=Qt(k,L)))Fe=Dt(f),hi=L===ke,Hr=ue(),At=parseFloat(Se(L.a))+fe,!Me&&Ee>1&&(Gt=(z?ce.scrollingElement||Lt:k).style,Gt={style:Gt,value:Gt["overflow"+L.a.toUpperCase()]},z&&Dt(re)["overflow"+L.a.toUpperCase()]!=="scroll"&&(Gt.style["overflow"+L.a.toUpperCase()]="scroll")),co(f,Re,Fe),Pr=Vi(f),Xe=ur(f,!0),ls=Q&&lr(k,hi?Qe:ke)(),m?(Ae=[m+L.os2,ye+fe+De],Ae.t=Re,Ne=m===Ce?es(f,L)+ye+fe:0,Ne&&(Ae.push(L.d,Ne+De),Re.style.flexBasis!=="auto"&&(Re.style.flexBasis=Ne+De)),En(Ae),yt&&X.forEach(function(gr){gr.pin===yt&&gr.vars.pinSpacing!==!1&&(gr._subPinOffset=!0)}),Q&&ue(Nt)):(Ne=es(f,L),Ne&&Re.style.flexBasis!=="auto"&&(Re.style.flexBasis=Ne+De)),Q&&(Ue={top:Xe.top+(hi?Hr-ee:ls)+De,left:Xe.left+(hi?ls:Hr-ee)+De,boxSizing:"border-box",position:"fixed"},Ue[$r]=Ue["max"+Sn]=Math.ceil(Xe.width)+De,Ue[Qr]=Ue["max"+Eo]=Math.ceil(Xe.height)+De,Ue[Ot]=Ue[Ot+si]=Ue[Ot+ni]=Ue[Ot+oi]=Ue[Ot+ii]="0",Ue[Ce]=Fe[Ce],Ue[Ce+si]=Fe[Ce+si],Ue[Ce+ni]=Fe[Ce+ni],Ue[Ce+oi]=Fe[Ce+oi],Ue[Ce+ii]=Fe[Ce+ii],hr=gf(Zt,Ue,E),ut&&ue(0)),n?(Io=n._initted,io(1),n.render(n.duration(),!0,!0),Jt=Se(L.a)-At+ye+fe,er=Math.abs(ye-Jt)>1,Q&&er&&hr.splice(hr.length-2,2),n.render(0,!0,!0),Io||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),io(0)):Jt=ye,Gt&&(Gt.value?Gt.style["overflow"+L.a.toUpperCase()]=Gt.value:Gt.style.removeProperty("overflow-"+L.a));else if(p&&ue()&&!S)for(Xe=p.parentNode;Xe&&Xe!==re;)Xe._pinOffset&&(ee-=Xe._pinOffset,Ee-=Xe._pinOffset),Xe=Xe.parentNode;kn&&kn.forEach(function(gr){return gr.revert(!1,!0)}),g.start=ee,g.end=Ee,tt=rt=ut?Nt:ue(),!S&&!ut&&(tt<Nt&&ue(Nt),g.scroll.rec=0),g.revert(!1,!0),pe=Ze(),qt&&(J=-1,qt.restart(!0)),je=0,n&&D&&(n._initted||Rr)&&n.progress()!==Rr&&n.progress(Rr||0,!0).render(n.time(),!0,!0),(Ve||he!==g.progress||S||h||n&&!n._initted)&&(n&&!D&&(n._initted||he||n.vars.immediateRender!==!1)&&n.totalProgress(S&&ee<-.001&&!he?P.utils.normalize(ee,Ee,0):he,!0),g.progress=Ve||(tt-ee)/ye===he?0:he),f&&m&&(Re._pinOffset=Math.round(g.progress*Jt)),$&&$.invalidate(),isNaN(Cn)||(Cn-=P.getProperty(x,L.p),mi-=P.getProperty(vt,L.p),Xi(x,L,Cn),Xi(ft,L,Cn-(q||0)),Xi(vt,L,mi),Xi(gt,L,mi-(q||0))),Ve&&!ut&&g.update(),u&&!ut&&!pr&&(pr=!0,u(g),pr=!1)}},g.getVelocity=function(){return(ue()-rt)/(Ze()-Qn)*1e3||0},g.endAnimation=function(){$n(g.callbackAnimation),n&&($?$.progress(1):n.paused()?D||$n(n,g.direction<0,1):$n(n,n.reversed()))},g.labelToScroll=function(C){return n&&n.labels&&(ee||g.refresh()||ee)+n.labels[C]/n.duration()*ye||0},g.getTrailing=function(C){var I=X.indexOf(g),O=g.direction>0?X.slice(0,I).reverse():X.slice(I+1);return(Mt(C)?O.filter(function(q){return q.vars.preventOverlaps===C}):O).filter(function(q){return g.direction>0?q.end<=ee:q.start>=Ee})},g.update=function(C,I,O){if(!(S&&!O&&!C)){var q=ut===!0?Nt:g.scroll(),He=C?0:(q-ee)/ye,j=He<0?0:He>1?1:He||0,Me=g.progress,Ve,be,fe,se,Ft,me,yt,Wt;if(I&&(rt=tt,tt=S?ue():q,y&&(Or=_r,_r=n&&!D?n.totalProgress():j)),_&&f&&!je&&!Fi&&Rt&&(!j&&ee<q+(q-rt)/(Ze()-Qn)*_?j=1e-4:j===1&&Ee>q+(q-rt)/(Ze()-Qn)*_&&(j=.9999)),j!==Me&&g.enabled){if(Ve=g.isActive=!!j&&j<1,be=!!Me&&Me<1,me=Ve!==be,Ft=me||!!j!=!!Me,g.direction=j>Me?1:-1,g.progress=j,Ft&&!je&&(fe=j&&!Me?0:j===1?1:Me===1?2:3,D&&(se=!me&&R[fe+1]!=="none"&&R[fe+1]||R[fe],Wt=n&&(se==="complete"||se==="reset"||se in n))),T&&(me||Wt)&&(Wt||d||!n)&&(Je(T)?T(g):g.getTrailing(T).forEach(function(Hr){return Hr.endAnimation()})),D||($&&!je&&!Fi?($._dp._time-$._start!==$._time&&$.render($._dp._time-$._start),$.resetTo?$.resetTo("totalProgress",j,n._tTime/n._tDur):($.vars.totalProgress=j,$.invalidate().restart())):n&&n.totalProgress(j,!!(je&&(pe||C)))),f){if(C&&m&&(Re.style[m+L.os2]=Ln),!Q)Ht(Zn(At+Jt*j));else if(Ft){if(yt=!C&&j>Me&&Ee+1>q&&q+1>=Qt(k,L),E)if(!C&&(Ve||yt)){var Ne=ur(f,!0),Fe=q-ee;ml(f,re,Ne.top+(L===ke?Fe:0)+De,Ne.left+(L===ke?0:Fe)+De)}else ml(f,Re);En(Ve||yt?hr:Pr),er&&j<1&&Ve||Ht(At+(j===1&&!yt?Jt:0))}}y&&!et.tween&&!je&&!Fi&&qt.restart(!0),o&&(me||v&&j&&(j<1||!so))&&li(o.targets).forEach(function(Hr){return Hr.classList[Ve||v?"add":"remove"](o.className)}),s&&!D&&!C&&s(g),Ft&&!je?(D&&(Wt&&(se==="complete"?n.pause().totalProgress(1):se==="reset"?n.restart(!0).pause():se==="restart"?n.restart(!0):n[se]()),s&&s(g)),(me||!so)&&(c&&me&&ao(g,c),U[fe]&&ao(g,U[fe]),v&&(j===1?g.kill(!1,1):U[fe]=0),me||(fe=j===1?1:3,U[fe]&&ao(g,U[fe]))),A&&!Ve&&Math.abs(g.getVelocity())>(Jn(A)?A:2500)&&($n(g.callbackAnimation),$?$.progress(1):$n(n,se==="reverse"?1:!j,1))):D&&s&&!je&&s(g)}if(rn){var Xe=S?q/S.duration()*(S._caScrollDist||0):q;pi(Xe+(x._isFlipped?1:0)),rn(Xe)}sn&&sn(-q/S.duration()*(S._caScrollDist||0))}},g.enable=function(C,I){g.enabled||(g.enabled=!0,qe(k,"resize",ei),z||qe(k,"scroll",bn),B&&qe(a,"refreshInit",B),C!==!1&&(g.progress=he=0,tt=rt=J=ue()),I!==!1&&g.refresh())},g.getTween=function(C){return C&&et?et.tween:$},g.setPositions=function(C,I,O,q){if(S){var He=S.scrollTrigger,j=S.duration(),Me=He.end-He.start;C=He.start+Me*C/j,I=He.start+Me*I/j}g.refresh(!1,!1,{start:ol(C,O&&!!g._startClamp),end:ol(I,O&&!!g._endClamp)},q),g.update()},g.adjustPinSpacing=function(C){if(Ae&&C){var I=Ae.indexOf(L.d)+1;Ae[I]=parseFloat(Ae[I])+C+De,Ae[1]=parseFloat(Ae[1])+C+De,En(Ae)}},g.disable=function(C,I){if(C!==!1&&g.revert(!0,!0),g.enabled&&(g.enabled=g.isActive=!1,I||$&&$.pause(),Nt=0,Ge&&(Ge.uncache=1),B&&Ie(a,"refreshInit",B),qt&&(qt.pause(),et.tween&&et.tween.kill()&&(et.tween=0)),!z)){for(var O=X.length;O--;)if(X[O].scroller===k&&X[O]!==g)return;Ie(k,"resize",ei),z||Ie(k,"scroll",bn)}},g.kill=function(C,I){g.disable(C,I),$&&!I&&$.kill(),l&&delete _o[l];var O=X.indexOf(g);O>=0&&X.splice(O,1),O===ct&&Qi>0&&ct--,O=0,X.forEach(function(q){return q.scroller===g.scroller&&(O=1)}),O||ut||(g.scroll.rec=0),n&&(n.scrollTrigger=null,C&&n.revert({kill:!1}),I||n.kill()),ft&&[ft,gt,x,vt].forEach(function(q){return q.parentNode&&q.parentNode.removeChild(q)}),ai===g&&(ai=0),f&&(Ge&&(Ge.uncache=1),O=0,X.forEach(function(q){return q.pin===f&&O++}),O||(Ge.spacer=0)),r.onKill&&r.onKill(g)},X.push(g),g.enable(!1,!1),tr&&tr(g),n&&n.add&&!ye){var te=g.update;g.update=function(){g.update=te,V.cache++,ee||Ee||g.refresh()},P.delayedCall(.01,g.update),ye=.01,ee=Ee=0}else g.refresh();f&&hf()},a.register=function(r){return wn||(P=r||Sl(),El()&&window.document&&a.enable(),wn=jn),wn},a.defaults=function(r){if(r)for(var n in r)Yi[n]=r[n];return Yi},a.disable=function(r,n){jn=0,X.forEach(function(s){return s[n?"kill":"disable"](r)}),Ie(K,"wheel",bn),Ie(ce,"scroll",bn),clearInterval(Ni),Ie(ce,"touchcancel",$t),Ie(re,"touchstart",$t),Bi(Ie,ce,"pointerdown,touchstart,mousedown",al),Bi(Ie,ce,"pointerup,touchend,mouseup",ll),Ji.kill(),zi(Ie);for(var i=0;i<V.length;i+=3)Wi(Ie,V[i],V[i+1]),Wi(Ie,V[i],V[i+2])},a.enable=function(){if(K=window,ce=document,Lt=ce.documentElement,re=ce.body,P&&(li=P.utils.toArray,ti=P.utils.clamp,ho=P.core.context||$t,io=P.core.suppressOverwrites||$t,bo=K.history.scrollRestoration||"auto",go=K.pageYOffset||0,P.core.globals("ScrollTrigger",a),re)){jn=1,xn=document.createElement("div"),xn.style.height="100vh",xn.style.position="absolute",Hl(),af(),xe.register(P),a.isTouch=xe.isTouch,kr=xe.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),po=xe.isTouch===1,qe(K,"wheel",bn),yo=[K,ce,Lt,re],P.matchMedia?(a.matchMedia=function(c){var u=P.matchMedia(),d;for(d in c)u.add(d,c[d]);return u},P.addEventListener("matchMediaInit",function(){Dl(),Mo()}),P.addEventListener("matchMediaRevert",function(){return Ol()}),P.addEventListener("matchMedia",function(){Kr(0,1),en("matchMedia")}),P.matchMedia().add("(orientation: portrait)",function(){return lo(),lo})):console.warn("Requires GSAP 3.11.0 or later"),lo(),qe(ce,"scroll",bn);var r=re.hasAttribute("style"),n=re.style,i=n.borderTopStyle,s=P.core.Animation.prototype,o,l;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),n.borderTopStyle="solid",o=ur(re),ke.m=Math.round(o.top+ke.sc())||0,Qe.m=Math.round(o.left+Qe.sc())||0,i?n.borderTopStyle=i:n.removeProperty("border-top-style"),r||(re.setAttribute("style",""),re.removeAttribute("style")),Ni=setInterval(fl,250),P.delayedCall(.5,function(){return Fi=0}),qe(ce,"touchcancel",$t),qe(re,"touchstart",$t),Bi(qe,ce,"pointerdown,touchstart,mousedown",al),Bi(qe,ce,"pointerup,touchend,mouseup",ll),fo=P.utils.checkPrefix("transform"),ji.push(fo),wn=Ze(),Ji=P.delayedCall(.2,Kr).pause(),Tn=[ce,"visibilitychange",function(){var c=K.innerWidth,u=K.innerHeight;ce.hidden?(nl=c,il=u):(nl!==c||il!==u)&&ei()},ce,"DOMContentLoaded",Kr,K,"load",Kr,K,"resize",ei],zi(qe),X.forEach(function(c){return c.enable(0,1)}),l=0;l<V.length;l+=3)Wi(Ie,V[l],V[l+1]),Wi(Ie,V[l],V[l+2])}},a.config=function(r){"limitCallbacks"in r&&(so=!!r.limitCallbacks);var n=r.syncInterval;n&&clearInterval(Ni)||(Ni=n)&&setInterval(fl,n),"ignoreMobileResize"in r&&(po=a.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(zi(Ie)||zi(qe,r.autoRefreshEvents||"none"),wl=(r.autoRefreshEvents+"").indexOf("resize")===-1)},a.scrollerProxy=function(r,n){var i=at(r),s=V.indexOf(i),o=Zr(i);~s&&V.splice(s,o?6:2),n&&(o?Bt.unshift(K,n,re,n,Lt,n):Bt.unshift(i,n))},a.clearMatchMedia=function(r){X.forEach(function(n){return n._ctx&&n._ctx.query===r&&n._ctx.kill(!0,!0)})},a.isInViewport=function(r,n,i){var s=(Mt(r)?at(r):r).getBoundingClientRect(),o=s[i?$r:Qr]*n||0;return i?s.right-o>0&&s.left+o<K.innerWidth:s.bottom-o>0&&s.top+o<K.innerHeight},a.positionInViewport=function(r,n,i){Mt(r)&&(r=at(r));var s=r.getBoundingClientRect(),o=s[i?$r:Qr],l=n==null?o/2:n in ts?ts[n]*o:~n.indexOf("%")?parseFloat(n)*o/100:parseFloat(n)||0;return i?(s.left+l)/K.innerWidth:(s.top+l)/K.innerHeight},a.killAll=function(r){if(X.slice(0).forEach(function(i){return i.vars.id!=="ScrollSmoother"&&i.kill()}),r!==!0){var n=Jr.killAll||[];Jr={},n.forEach(function(i){return i()})}},a}();W.version="3.14.2";W.saveStyles=function(a){return a?li(a).forEach(function(e){if(e&&e.style){var t=St.indexOf(e);t>=0&&St.splice(t,5),St.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),P.core.getCache(e),ho())}}):St};W.revert=function(a,e){return Mo(!a,e)};W.create=function(a,e){return new W(a,e)};W.refresh=function(a){return a?ei(!0):(wn||W.register())&&Kr(!0)};W.update=function(a){return++V.cache&&fr(a===!0?2:0)};W.clearScrollMemory=Rl;W.maxScroll=function(a,e){return Qt(a,e?Qe:ke)};W.getScrollFunc=function(a,e){return lr(at(a),e?Qe:ke)};W.getById=function(a){return _o[a]};W.getAll=function(){return X.filter(function(a){return a.vars.id!=="ScrollSmoother"})};W.isScrolling=function(){return!!Rt};W.snapDirectional=So;W.addEventListener=function(a,e){var t=Jr[a]||(Jr[a]=[]);~t.indexOf(e)||t.push(e)};W.removeEventListener=function(a,e){var t=Jr[a],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)};W.batch=function(a,e){var t=[],r={},n=e.interval||.016,i=e.batchMax||1e9,s=function(c,u){var d=[],p=[],f=P.delayedCall(n,function(){u(d,p),d=[],p=[]}).pause();return function(m){d.length||f.restart(!0),d.push(m.trigger),p.push(m),i<=d.length&&f.progress(1)}},o;for(o in e)r[o]=o.substr(0,2)==="on"&&Je(e[o])&&o!=="onRefreshInit"?s(o,e[o]):e[o];return Je(i)&&(i=i(),qe(W,"refresh",function(){return i=e.batchMax()})),li(a).forEach(function(l){var c={};for(o in r)c[o]=r[o];c.trigger=l,t.push(W.create(c))}),t};var gl=function(e,t,r,n){return t>n?e(n):t<0&&e(0),r>n?(n-t)/(r-t):r<0?t/(t-r):1},uo=function a(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(xe.isTouch?" pinch-zoom":""):"none",e===Lt&&a(re,t)},Ui={auto:1,scroll:1},yf=function(e){var t=e.event,r=e.target,n=e.axis,i=(t.changedTouches?t.changedTouches[0]:t).target,s=i._gsap||P.core.getCache(i),o=Ze(),l;if(!s._isScrollT||o-s._isScrollT>2e3){for(;i&&i!==re&&(i.scrollHeight<=i.clientHeight&&i.scrollWidth<=i.clientWidth||!(Ui[(l=Dt(i)).overflowY]||Ui[l.overflowX]));)i=i.parentNode;s._isScroll=i&&i!==r&&!Zr(i)&&(Ui[(l=Dt(i)).overflowY]||Ui[l.overflowX]),s._isScrollT=o}(s._isScroll||n==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},ql=function(e,t,r,n){return xe.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&yf,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&qe(ce,xe.eventTypes[0],yl,!1,!0)},onDisable:function(){return Ie(ce,xe.eventTypes[0],yl,!0)}})},bf=/(input|label|select|textarea)/i,vl,yl=function(e){var t=bf.test(e.target.tagName);(t||vl)&&(e._gsapAllow=!0,vl=t)},wf=function(e){Ur(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=e,r=t.normalizeScrollX,n=t.momentum,i=t.allowNestedScroll,s=t.onRelease,o,l,c=at(e.target)||Lt,u=P.core.globals().ScrollSmoother,d=u&&u.get(),p=kr&&(e.content&&at(e.content)||d&&e.content!==!1&&!d.smooth()&&d.content()),f=lr(c,ke),m=lr(c,Qe),h=1,_=(xe.isTouch&&K.visualViewport?K.visualViewport.scale*K.visualViewport.width:K.outerWidth)/K.innerWidth,b=0,w=Je(n)?function(){return n(o)}:function(){return n||2.8},v,y,E=ql(c,e.type,!0,i),M=function(){return y=!1},S=$t,A=$t,T=function(){l=Qt(c,ke),A=ti(kr?1:0,l),r&&(S=ti(0,Qt(c,Qe))),v=jr},L=function(){p._gsap.y=Zn(parseFloat(p._gsap.y)+f.offset)+"px",p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(p._gsap.y)+", 0, 1)",f.offset=f.cacheID=0},D=function(){if(y){requestAnimationFrame(M);var Y=Zn(o.deltaY/2),ne=A(f.v-Y);if(p&&ne!==f.v+f.offset){f.offset=ne-f.v;var g=Zn((parseFloat(p&&p._gsap.y)||0)-f.offset);p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+g+", 0, 1)",p._gsap.y=g+"px",f.cacheID=V.cache,fr()}return!0}f.offset&&L(),y=!0},k,F,z,Q,U=function(){T(),k.isActive()&&k.vars.scrollY>l&&(f()>l?k.progress(1)&&f(l):k.resetTo("scrollY",l))};return p&&P.set(p,{y:"+=0"}),e.ignoreCheck=function(R){return kr&&R.type==="touchmove"&&D(R)||h>1.05&&R.type!=="touchstart"||o.isGesturing||R.touches&&R.touches.length>1},e.onPress=function(){y=!1;var R=h;h=Zn((K.visualViewport&&K.visualViewport.scale||1)/_),k.pause(),R!==h&&uo(c,h>1.01?!0:r?!1:"x"),F=m(),z=f(),T(),v=jr},e.onRelease=e.onGestureStart=function(R,Y){if(f.offset&&L(),!Y)Q.restart(!0);else{V.cache++;var ne=w(),g,B;r&&(g=m(),B=g+ne*.05*-R.velocityX/.227,ne*=gl(m,g,B,Qt(c,Qe)),k.vars.scrollX=S(B)),g=f(),B=g+ne*.05*-R.velocityY/.227,ne*=gl(f,g,B,Qt(c,ke)),k.vars.scrollY=A(B),k.invalidate().duration(ne).play(.01),(kr&&k.vars.scrollY>=l||g>=l-1)&&P.to({},{onUpdate:U,duration:ne})}s&&s(R)},e.onWheel=function(){k._ts&&k.pause(),Ze()-b>1e3&&(v=0,b=Ze())},e.onChange=function(R,Y,ne,g,B){if(jr!==v&&T(),Y&&r&&m(S(g[2]===Y?F+(R.startX-R.x):m()+Y-g[1])),ne){f.offset&&L();var ie=B[2]===ne,le=ie?z+R.startY-R.y:f()+ne-B[1],J=A(le);ie&&le!==J&&(z+=J-le),f(J)}(ne||Y)&&fr()},e.onEnable=function(){uo(c,r?!1:"x"),W.addEventListener("refresh",U),qe(K,"resize",U),f.smooth&&(f.target.style.scrollBehavior="auto",f.smooth=m.smooth=!1),E.enable()},e.onDisable=function(){uo(c,!0),Ie(K,"resize",U),W.removeEventListener("refresh",U),E.kill()},e.lockAxis=e.lockAxis!==!1,o=new xe(e),o.iOS=kr,kr&&!f()&&f(1),kr&&P.ticker.add($t),Q=o._dc,k=P.to(o,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Il(f,f(),function(){return k.pause()})},onUpdate:fr,onComplete:Q.vars.onComplete}),o};W.sort=function(a){if(Je(a))return X.sort(a);var e=K.pageYOffset||0;return W.getAll().forEach(function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+K.innerHeight}),X.sort(a||function(t,r){return(t.vars.refreshPriority||0)*-1e6+(t.vars.containerAnimation?1e6:t._sortY)-((r.vars.containerAnimation?1e6:r._sortY)+(r.vars.refreshPriority||0)*-1e6)})};W.observe=function(a){return new xe(a)};W.normalizeScroll=function(a){if(typeof a>"u")return lt;if(a===!0&<)return lt.enable();if(a===!1){lt&<.kill(),lt=a;return}var e=a instanceof xe?a:wf(a);return lt&<.target===e.target&<.kill(),Zr(e.target)&&(lt=e),e};W.core={_getVelocityProp:qi,_inputObserver:ql,_scrollers:V,_proxies:Bt,bridge:{ss:function(){Rt||en("scrollStart"),Rt=Ze()},ref:function(){return je}}};Sl()&&P.registerPlugin(W);var Nl=()=>{Gn.registerPlugin(W),document.querySelectorAll(".decor_arrow-wrapper").forEach(e=>{let t=e.querySelector(".decor-middle"),r=e.querySelector(".decor-top"),n=e,i=Gn.timeline({paused:!0});i.to(n,{opacity:1,duration:.6,ease:"power2.out"}).add("rideAlong","-=0.3"),t&&i.fromTo(t,{y:0,xPercent:-50},{y:-15,xPercent:-50,duration:1,ease:"power2.out"},"rideAlong"),r&&i.fromTo(r,{y:0,xPercent:-50},{y:-60,xPercent:-50,duration:1.2,ease:"power2.out"},"rideAlong"),W.create({trigger:n,start:"top 85%",once:!0,onEnter:()=>{Gn.set(n,{opacity:0}),i.play()}})}),window.addEventListener("load",()=>{setTimeout(()=>{W.refresh()},200)})};var Fl=(a={pauseOnHover:!1})=>{let e=document.querySelector(".banner_component"),t=document.querySelector(".banner_inner-wrapper"),r=document.querySelector(".banner_marquee");if(!e||!t||!r)return;t.querySelectorAll(".banner_marquee.is-clone").forEach(d=>d.remove());let i=r.offsetWidth,s=48,o="perfect-marquee-styles";if(!document.getElementById(o)){let d=document.createElement("style");d.id=o;let p=a.pauseOnHover?`
|
|
104
104
|
.banner_component:hover .banner_marquee {
|
|
105
105
|
animation-play-state: paused !important;
|
|
106
106
|
}
|
|
@@ -127,8 +127,8 @@
|
|
|
127
127
|
transform: translateX(calc(-100% - 3rem));
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
|
-
${
|
|
131
|
-
`,document.head.appendChild(d)}let l=window.innerWidth,c=i+s,u=Math.max(3,Math.ceil(l*2/c));for(let d=0;d<u;d++){let
|
|
130
|
+
${p}
|
|
131
|
+
`,document.head.appendChild(d)}let l=window.innerWidth,c=i+s,u=Math.max(3,Math.ceil(l*2/c));for(let d=0;d<u;d++){let p=r.cloneNode(!0);p.setAttribute("aria-hidden","true"),p.classList.add("is-clone"),t.appendChild(p)}if(typeof gsap<"u"){let d=t.querySelectorAll(".banner_marquee");d.forEach(p=>{let f=p;f.style.animation="none"}),requestAnimationFrame(()=>{let p=i+s,f=gsap.to(d,{x:-p,duration:30,ease:"none",repeat:-1});a.pauseOnHover&&e&&(e.addEventListener("mouseenter",()=>f.pause()),e.addEventListener("mouseleave",()=>f.resume()))})}};function zl(){let a=document.querySelectorAll("[data-line-scroll]");a.length!==0&&a.forEach(e=>{let t=e.querySelector("line");if(!t)return;let r=t.closest("svg");r&&gsap.set(r,{attr:{preserveAspectRatio:"none"}}),gsap.to(t,{strokeDashoffset:-16,duration:1,ease:"none",repeat:-1})})}var ns=null;function Bl(){if(typeof Lenis>"u"){console.error("[SmoothScroll] Lenis is not loaded");return}if(!(window.innerWidth>991))return;ns=new Lenis({duration:1.05,easing:t=>Math.min(1,1.001-Math.pow(2,-10*t)),orientation:"vertical",gestureOrientation:"vertical",smoothWheel:!0,wheelMultiplier:1,smoothTouch:!1,touchMultiplier:2,infinite:!1,autoRaf:!1});function e(t){ns?.raf(t),requestAnimationFrame(e)}requestAnimationFrame(e)}function Wl(){ns?.stop()}function Yl(){ns?.start()}function Gl(){document.querySelectorAll(".button-wrapper").forEach(e=>{let t=e.querySelector(".button-link, a");t&&(t.addEventListener("focus",()=>{t.matches(":focus-visible")&&e.classList.add("is-focused")}),t.addEventListener("blur",()=>{e.classList.remove("is-focused")}),t.addEventListener("mousedown",()=>{e.classList.remove("is-focused")}))})}function Vl(){function a(l,c){let u=l.querySelector(".layout-card-bottom"),d=l.querySelector(".layout_action-icon"),p=l.querySelector(".layout_card-top"),f=l.getAttribute("data-card"),m=document.querySelector(`.about_component-image-outer[data-image="${f}"]`);p&&p.setAttribute("aria-expanded",String(c)),u&&u.setAttribute("aria-hidden",String(!c)),c?(u&&gsap.to(u,{height:"auto",duration:.6,ease:"power3.inOut"}),d&&d.classList.add("is-active"),m&&(gsap.set(m,{display:"block",zIndex:2}),gsap.to(m,{autoAlpha:1,duration:.6,ease:"power3.inOut",overwrite:!0}))):(u&&gsap.to(u,{height:0,duration:.6,ease:"power3.inOut"}),d&&d.classList.remove("is-active"),m&&(gsap.set(m,{zIndex:1}),gsap.to(m,{autoAlpha:0,duration:.6,ease:"power3.inOut",onComplete:()=>gsap.set(m,{display:"none"})})))}function e(l){let c=l.querySelector(".layout-card-bottom"),u=c?gsap.getProperty(c,"height"):0,d=parseFloat(String(u))>0;document.querySelectorAll(".layout_card.is-faq").forEach(f=>{f!==l&&a(f,!1)}),d?a(l,!1):a(l,!0)}function t(l,c){let u=Array.from(c),p=(u.indexOf(l)+1)%u.length,f=u[p].querySelector(".layout_card-top");f&&f.focus()}function r(l,c){let u=Array.from(c),d=u.indexOf(l),p=d===0?u.length-1:d-1,f=u[p].querySelector(".layout_card-top");f&&f.focus()}function n(l){let c=l[0]?.querySelector(".layout_card-top");c&&c.focus()}function i(l){let c=l[l.length-1]?.querySelector(".layout_card-top");c&&c.focus()}function s(){let c=document.querySelectorAll('.layout_card.is-faq:not([data-faq-init="true"])'),u=document.querySelectorAll('.about_component-image-outer:not([data-faq-init="true"])');if(u.length>0){u.forEach(f=>f.setAttribute("data-faq-init","true")),gsap.set(u,{autoAlpha:0,display:"none",width:"100%",height:"100%",objectFit:"cover",position:"absolute",top:0,left:0});let p=Array.from(u).map(f=>f.querySelector("img")).filter(f=>f!==null);gsap.set(p,{width:"100%",height:"100%",objectFit:"cover"})}if(c.length===0)return;if(c.forEach(p=>{p.setAttribute("data-faq-init","true");let f=p.querySelector(".layout_card-top"),m=p.querySelector(".layout-card-bottom");if(m&&gsap.set(m,{height:0,overflow:"hidden",display:"block"}),f&&m){let h=Math.random().toString(36).substring(2,9),_=f.id||`faq-trigger-${h}`,b=m.id||`faq-panel-${h}`;f.id=_,m.id=b,f.setAttribute("role","button"),f.setAttribute("aria-expanded","false"),f.setAttribute("aria-controls",b),f.setAttribute("tabindex","0"),m.setAttribute("role","region"),m.setAttribute("aria-labelledby",_),m.setAttribute("aria-hidden","true")}f&&(f.addEventListener("click",()=>e(p)),f.addEventListener("keydown",h=>{let _=h,b=document.querySelectorAll(".layout_card.is-faq");switch(_.key){case"Enter":case" ":_.preventDefault(),e(p);break;case"ArrowDown":_.preventDefault(),t(p,b);break;case"ArrowUp":_.preventDefault(),r(p,b);break;case"Home":_.preventDefault(),n(b);break;case"End":_.preventDefault(),i(b);break}}))}),!document.querySelector(".layout_card.is-faq .layout_action-icon.is-active")){let f=Array.from(document.querySelectorAll(".layout_card.is-faq")).find(m=>{let h=m.getAttribute("data-card");return document.querySelector(`.about_component-image-outer[data-image="${h}"]`)});f&&a(f,!0)}}s(),new MutationObserver(l=>{let c=!1;for(let u of l)if(u.addedNodes.length>0){c=!0;break}c&&s()}).observe(document.body,{childList:!0,subtree:!0})}function Xl(){document.querySelectorAll("[data-product-trigger]").forEach(e=>{let t=e.querySelector("[data-tile-details]");if(!t)return;let r=t.querySelector(".product_tile-detaile-content");if(!r)return;let n=r.firstElementChild;if(!n)return;gsap.set(r,{overflow:"hidden",paddingLeft:"2px",paddingRight:"2px",boxSizing:"border-box"}),gsap.set(n,{display:"block",width:"max-content",paddingLeft:"0px",paddingRight:"2px"});let i=null;e.addEventListener("mouseenter",()=>{t.classList.add("is-active");let s=n.offsetWidth-(r.offsetWidth-16);if(s>0){gsap.killTweensOf(n);let o=s/30;i=gsap.to(n,{x:-s,duration:o,ease:"power1.inOut",repeat:-1,yoyo:!0,repeatDelay:1,delay:.3})}}),e.addEventListener("mouseleave",()=>{t.classList.remove("is-active"),i&&(typeof i.kill=="function"&&i.kill(),i=null),gsap.to(n,{x:0,duration:.4,ease:"power2.out",overwrite:!0})})})}function Ul(){let a=document.querySelectorAll(".w-dropdown");function e(t){let r=t.querySelector(".w-dropdown-toggle"),n=t.querySelector(".w-dropdown-list"),i=t.querySelector(".dropdown_icon");r&&(r.classList.remove("w--open"),r.setAttribute("aria-expanded","false")),n&&n.classList.remove("w--open"),i&&i.classList.remove("is-open"),window.jQuery&&window.jQuery(t).trigger("w-close.w-dropdown")}a.forEach(t=>{let r=t.querySelector(".w-dropdown-toggle"),n=t.querySelector(".w-dropdown-list"),i=t.querySelector(".dropdown_icon");if(!r||!n)return;n.querySelectorAll("a").forEach(l=>{l.addEventListener("keydown",c=>{c.key==="Tab"&&setTimeout(()=>{t.contains(document.activeElement)||e(t)},0)})}),t.addEventListener("keydown",l=>{let c=l;c.key==="Escape"&&n.classList.contains("w--open")&&(e(t),r.focus(),c.preventDefault())}),new MutationObserver(l=>{l.forEach(c=>{if(c.attributeName==="class"){let u=r.classList.contains("w--open");i&&(u?i.classList.add("is-open"):i.classList.remove("is-open"))}})}).observe(r,{attributes:!0})}),document.addEventListener("focusin",t=>{a.forEach(r=>{let n=r.querySelector(".w-dropdown-list");if(n&&n.classList.contains("w--open")){let i=r.closest(".w-nav-overlay");if(i&&i.classList.contains("w--open"))return;r.contains(t.target)||e(r)}})})}function Kl(){let a=document.createElement("style");a.textContent=`
|
|
132
132
|
@keyframes csFilterShimmer {
|
|
133
133
|
0% { background-position: -200% 0; }
|
|
134
134
|
100% { background-position: 200% 0; }
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
border-radius: inherit;
|
|
149
149
|
pointer-events: none;
|
|
150
150
|
}
|
|
151
|
-
`,document.head.appendChild(a);let e=document.querySelectorAll(".dropdown_wrapper"),t=document.querySelector('[data-search="name"]');if(e.forEach(f=>f.classList.add("cs-filters-loading")),t){let f=t.closest(".form_field-wrapper")||t.parentElement;f&&f.classList.add("cs-filters-loading")}function r(){if(e.forEach(f=>f.classList.remove("cs-filters-loading")),t){let f=t.closest(".form_field-wrapper")||t.parentElement;f&&f.classList.remove("cs-filters-loading")}a.remove()}let n=["obszary","rozwiazania","branze"],i=[];n.forEach(f=>{document.querySelectorAll(`input[type="radio"][name="${f}"]`).forEach(p=>{let _=p.closest('[role="listitem"]'),v=(_??p.parentElement)?.querySelector(".checkbox_text")??null,y=v?.textContent?.trim()??"",T=_?.parentElement??null,b=_?.nextSibling??null;i.push({group:f,label:y,input:p,textEl:v,wrapperEl:_,parentEl:T,nextSiblingEl:b})})});let s=new Map;n.forEach(f=>{let m=i.find(v=>v.group===f);if(!m)return;let p=m.input.closest(".dropdown_wrapper");if(!p)return;let _=p.querySelector(".form_dropdown > div:first-child");_&&s.set(f,{el:_,defaultText:_.textContent?.trim()??""})});function o(f){let m=s.get(f);if(!m)return;let p=l.get(f);if(p&&p.size>0){let[_]=p;m.el.textContent=_}else m.el.textContent=m.defaultText}let l=new Map(n.map(f=>[f,new Set])),c="";function u(){for(let f of l.values())if(f.size>0)return!0;return c.length>0}function d(f){for(let[m,p]of l.entries()){if(p.size===0)continue;let _=f.querySelector(`[fs-list-nest="${m}"][fs-list-element="nest-target"]`);if(!_)return!1;let v=Array.from(_.querySelectorAll('[role="listitem"] div')).map(T=>T.textContent?.trim().toLowerCase()??"");if(!Array.from(p).some(T=>v.some(b=>b===T.toLowerCase())))return!1}return!0}function h(f){if(!c)return!0;let m=f.querySelector('[data-filter="name"]');return m?(m.textContent?.trim().toLowerCase()??"").includes(c):!1}window.FinsweetAttributes||(window.FinsweetAttributes=[]),window.FinsweetAttributes.push(["list",async f=>{let m=f.find(x=>x.wrapperElement?.querySelector('[fs-list-element="list"]')||x.listElement?.hasAttribute("fs-list-element"))||f[0];if(!m){r();return}m.loadingPaginatedItems&&await m.loadingPaginatedItems;let p=m.items.value.map(x=>x.nesting).filter(x=>!!x);p.length>0&&await Promise.all(p),r();let _=document.querySelector("[data-empty]");_&&(_.style.display="none");function v(x,E){_&&(_.style.display=E&&x===0?"flex":"none")}function y(x,E){let A=x.querySelector(`[fs-list-nest="${E}"][fs-list-element="nest-target"]`);return A?Array.from(A.querySelectorAll('[role="listitem"] div')).map(O=>O.textContent?.trim().toLowerCase()??""):[]}function T(x,E,A){if(A.size===0)return!0;let O=y(x,E);return Array.from(A).some(L=>O.some(q=>q===L.toLowerCase()))}function b(){let x=m.items.value;for(let E of n){let A=i.filter(L=>L.group===E),O=x.filter(L=>{let q=L.element;if(!h(q))return!1;for(let[I,G]of l.entries())if(I!==E&&!T(q,I,G))return!1;return!0});for(let L of A){if(!L.wrapperEl||!L.parentEl)continue;if(L.input.checked){L.wrapperEl.parentElement||(L.nextSiblingEl&&L.nextSiblingEl.parentElement===L.parentEl?L.parentEl.insertBefore(L.wrapperEl,L.nextSiblingEl):L.parentEl.appendChild(L.wrapperEl));continue}O.some(I=>y(I.element,E).some(B=>B===L.label.toLowerCase()))?L.wrapperEl.parentElement||(L.nextSiblingEl&&L.nextSiblingEl.parentElement===L.parentEl?L.parentEl.insertBefore(L.wrapperEl,L.nextSiblingEl):L.parentEl.appendChild(L.wrapperEl)):L.wrapperEl.parentElement&&L.wrapperEl.remove()}}}m.addHook("filter",x=>{if(!u())return v(x.length,!1),b(),x;let E=x.filter(A=>{let O=A.element;return d(O)&&h(O)});return v(E.length,!0),b(),E}),i.forEach(x=>{x.input.addEventListener("click",()=>{let E=l.get(x.group);E&&(E.has(x.label)?(x.input.checked=!1,E.clear(),x.textEl?.classList.remove("is-active")):(E.clear(),i.filter(A=>A.group===x.group&&A!==x).forEach(A=>A.textEl?.classList.remove("is-active")),E.add(x.label),x.textEl?.classList.add("is-active")),o(x.group),m.triggerHook("filter"))})});function M(){e.forEach(x=>{c.length>0?x.classList.add("is-disabled"):x.classList.remove("is-disabled")})}let k=null;t&&t.addEventListener("input",()=>{c=t.value.trim().toLowerCase(),M(),k&&clearTimeout(k),k=setTimeout(()=>{m.triggerHook("filter")},300)});let S=!1;i.forEach(x=>{if(x.input.checked){let E=l.get(x.group);E&&(E.add(x.label),x.textEl?.classList.add("is-active"),S=!0)}}),t&&t.value.trim()&&(c=t.value.trim().toLowerCase(),S=!0),S&&m.triggerHook("filter")}])}var Lo=class{constructor(){X(this,"nav",null);X(this,"dropdowns",null);X(this,"currentOpenDropdown",null);this.init()}init(){this.nav=document.querySelector(".nav"),this.nav&&(this.dropdowns=this.nav.querySelectorAll("[data-delay]"),this.setupKeyboardNavigation())}setupKeyboardNavigation(){this.dropdowns&&(this.dropdowns.forEach(e=>{let t=e.querySelector(".w-dropdown-toggle"),r=e.querySelector(".w-dropdown-list");t&&(r&&this.setDropdownTabIndex(r,!1),t.addEventListener("keydown",n=>{this.handleDropdownToggleKeydown(n,e,t,r)}),t.addEventListener("click",()=>{this.handleDropdownClick(e,t)}),r&&this.setupDropdownFocusTrap(e,r))}),document.addEventListener("keydown",e=>{e.key==="Escape"&&this.closeAllDropdowns()}),document.addEventListener("click",e=>{this.currentOpenDropdown&&!this.currentOpenDropdown.contains(e.target)&&this.closeAllDropdowns()}))}handleDropdownToggleKeydown(e,t,r,n){let i=r.getAttribute("aria-expanded")==="true";switch(e.key){case"Enter":case" ":if(e.preventDefault(),!i)this.openDropdown(t,r,n);else{let s=r.getAttribute("href");s&&s!=="#"?window.location.href=s:this.closeDropdown(t,r,n)}break;case"ArrowDown":e.preventDefault(),i?this.focusFirstItem(n):(this.openDropdown(t,r,n),setTimeout(()=>{this.focusFirstItem(n)},100));break;case"ArrowUp":e.preventDefault(),i&&this.focusLastItem(n);break;case"Escape":e.preventDefault(),i&&(this.closeDropdown(t,r,n),r.focus());break;case"Tab":i&&!e.shiftKey&&setTimeout(()=>{n&&!n.contains(document.activeElement)&&this.closeDropdown(t,r,n)},0);break}}handleDropdownClick(e,t){t.getAttribute("aria-expanded")==="true"?this.currentOpenDropdown=null:(this.closeAllDropdowns(),this.currentOpenDropdown=e)}openDropdown(e,t,r){this.closeAllDropdowns(),t.setAttribute("aria-expanded","true"),t.classList.add("w--open"),r&&(r.classList.add("w--open"),r.removeAttribute("style"),this.setDropdownTabIndex(r,!0)),this.currentOpenDropdown=e}closeDropdown(e,t,r){t.setAttribute("aria-expanded","false"),t.classList.remove("w--open"),r&&(r.classList.remove("w--open"),this.setDropdownTabIndex(r,!1)),this.currentOpenDropdown===e&&(this.currentOpenDropdown=null)}closeAllDropdowns(){this.dropdowns&&(this.dropdowns.forEach(e=>{let t=e.querySelector(".w-dropdown-toggle"),r=e.querySelector(".w-dropdown-list");t&&(t.setAttribute("aria-expanded","false"),t.classList.remove("w--open")),r&&(r.classList.remove("w--open"),this.setDropdownTabIndex(r,!1))}),this.currentOpenDropdown=null)}setDropdownTabIndex(e,t){e.querySelectorAll('a[href], button, [role="tab"], [role="button"]').forEach(n=>{t?n.setAttribute("tabindex","0"):n.setAttribute("tabindex","-1")})}setupDropdownFocusTrap(e,t){let r=t.querySelectorAll('a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])');r.forEach((n,i)=>{n.addEventListener("keydown",s=>{let o=e.querySelector(".w-dropdown-toggle");if(o?.getAttribute("aria-expanded")==="true")switch(s.key){case"Tab":s.shiftKey&&i===0?(s.preventDefault(),o?.focus()):!s.shiftKey&&i===r.length-1&&this.closeDropdown(e,o,t);break;case"Escape":s.preventDefault(),this.closeDropdown(e,o,t),o?.focus();break;case"ArrowDown":i<r.length-1&&(s.preventDefault(),r[i+1].focus());break;case"ArrowUp":i>0?(s.preventDefault(),r[i-1].focus()):(s.preventDefault(),o?.focus());break;case"Home":s.preventDefault(),r[0].focus();break;case"End":s.preventDefault(),r[r.length-1].focus();break}})})}focusFirstItem(e){if(!e)return;let t=e.querySelector('a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])');t&&t.focus()}focusLastItem(e){if(!e)return;let t=e.querySelectorAll('a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])');t.length>0&&t[t.length-1].focus()}};function $l(){new Lo}var Tf=".w-nav",xf=".button-wrapper",Ao="is-pinned",ko="w-variant-a4b72284-6321-8341-edca-223fdec43abe";var Mn=!1,ui=!1,is=!1,Cr=null,tn=null;function Ef(){return window.innerWidth>991}function jl(){if(!Cr||!Mn){is=!1;return}let a=window.scrollY||window.pageYOffset;!ui&&a>50?(Cr.classList.add(Ao),tn&&tn.classList.remove(ko),ui=!0):ui&&a<40&&(Cr.classList.remove(Ao),tn&&tn.classList.add(ko),ui=!1),is=!1}function Sf(){!is&&Mn&&(window.requestAnimationFrame(jl),is=!0)}function Mf(){Cr&&Cr.classList.remove(Ao),tn&&tn.classList.add(ko),ui=!1}function Ql(){let a=Ef();a&&!Mn?(Mn=!0,jl()):!a&&Mn&&(Mn=!1,Mf())}function Lf(a,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>a(...r),e)}}function Zl(){if(Cr=document.querySelector(Tf),!Cr)return;tn=Cr.querySelector(xf),window.addEventListener("scroll",Sf,{passive:!0});let a=Lf(Ql,150);window.addEventListener("resize",a),Ql()}var Co=class{constructor(e){X(this,"bigMenu");X(this,"tabsModule",null);X(this,"tablistContainer",null);X(this,"contentContainer",null);X(this,"tabMappings",[]);X(this,"isMobileLayout",!1);X(this,"originalButtonsWrapper",null);X(this,"accordionContainer",null);X(this,"dropdownToggle",null);X(this,"dropdownList",null);X(this,"navMobileHeader",null);X(this,"originalStructure",{buttonsWrapper:null,contentWrapper:null,buttonsParent:null,contentParent:null,buttonsNextSibling:null,contentNextSibling:null});X(this,"handleResize",()=>{let e=window.innerWidth<=991;e&&!this.isMobileLayout?this.applyMobileLayout():!e&&this.isMobileLayout&&this.restoreDesktopLayout()});if(this.bigMenu=e,this.tabsModule=e.querySelector('[data-module="tabs"]'),!this.tabsModule){console.error('[MegaMenuAccordion] No [data-module="tabs"] found inside [data-big-menu]');return}if(this.tablistContainer=this.tabsModule.querySelector('[role="tablist"]'),this.contentContainer=this.tabsModule.querySelector(".tabs_content-wrapper"),!this.tablistContainer||!this.contentContainer){console.error("[MegaMenuAccordion] Missing tablist or content container");return}this.originalButtonsWrapper=this.tablistContainer.closest(".tabs_buttons-wrapper"),this.originalStructure={buttonsWrapper:this.originalButtonsWrapper,contentWrapper:this.contentContainer,buttonsParent:this.originalButtonsWrapper?.parentElement||null,contentParent:this.contentContainer.parentElement,buttonsNextSibling:this.originalButtonsWrapper?.nextSibling||null,contentNextSibling:this.contentContainer.nextSibling},this.buildTabMappings(),this.dropdownToggle=e.querySelector(".w-dropdown-toggle"),this.dropdownList=e.querySelector(".w-dropdown-list"),this.navMobileHeader=e.querySelector(".nav_mobile-header"),this.init()}buildTabMappings(){if(!this.tablistContainer)return;Array.from(this.tablistContainer.querySelectorAll('[role="tab"]')).forEach(t=>{let r=t.getAttribute("aria-controls");if(!r)return;let n=document.getElementById(r);n&&this.tabMappings.push({button:t,panel:n,controlsId:r})})}init(){this.handleResize(),window.addEventListener("resize",this.handleResize)}applyMobileLayout(){!this.tabsModule||this.tabMappings.length===0||(this.isMobileLayout=!0,this.bigMenu.classList.add("is-mega-menu-accordion"),this.dropdownToggle&&(this.dropdownToggle.style.display="none"),this.navMobileHeader&&(this.navMobileHeader.style.display="none"),this.dropdownList&&(this.dropdownList.classList.add("w--open"),this.dropdownList.style.display="block",this.dropdownList.style.backgroundColor="transparent"),this.accordionContainer=document.createElement("div"),this.accordionContainer.className="mega-menu-accordion",this.accordionContainer.setAttribute("data-mega-accordion",""),this.tabMappings.forEach(({button:e,panel:t})=>{let r=document.createElement("div");r.className="mega-menu-accordion_item",r.setAttribute("data-accordion-item","");let n=document.createElement("div");n.className="mega-menu-accordion_trigger";let i=e.cloneNode(!0);i.classList.add("mega-menu-accordion_button"),i.setAttribute("data-accordion-trigger",""),i.setAttribute("aria-expanded","false");let s=i.querySelector(".icon-embed-xxsmall");s&&(s.style.transition="transform 0.3s ease",s.style.transform="rotate(-90deg)"),n.appendChild(i),r.appendChild(n);let o=document.createElement("div");o.className="mega-menu-accordion_content",o.setAttribute("data-accordion-content",""),o.style.display="none",o.style.overflow="hidden",o.style.maxHeight="0",o.style.transition="max-height 0.3s ease-out";let l=t.cloneNode(!0);l.classList.add("mega-menu-accordion_panel"),l.removeAttribute("hidden"),l.removeAttribute("style"),l.style.backgroundColor="transparent",o.appendChild(l),r.appendChild(o),n.addEventListener("click",c=>{c.preventDefault(),c.stopPropagation(),this.toggleAccordionItem(r,i,o)}),this.accordionContainer.appendChild(r)}),this.originalStructure.buttonsWrapper&&(this.originalStructure.buttonsWrapper.style.display="none"),this.originalStructure.contentWrapper&&(this.originalStructure.contentWrapper.style.display="none"),this.tabsModule.appendChild(this.accordionContainer))}toggleAccordionItem(e,t,r){e.classList.contains("is-open")?this.closeAccordionItem(e,t,r):(this.closeAllAccordionItems(),this.openAccordionItem(e,t,r))}openAccordionItem(e,t,r){e.classList.add("is-open"),t.setAttribute("aria-expanded","true");let n=t.querySelector(".icon-embed-xxsmall");n&&(n.style.transform="rotate(-270deg)"),r.style.display="block";let{scrollHeight:i}=r;r.style.maxHeight=`${i}px`,setTimeout(()=>{e.classList.contains("is-open")&&(r.style.maxHeight="none")},300)}closeAccordionItem(e,t,r){e.classList.remove("is-open"),t.setAttribute("aria-expanded","false");let n=t.querySelector(".icon-embed-xxsmall");n&&(n.style.transform="rotate(-90deg)"),r.style.maxHeight=`${r.scrollHeight}px`,r.offsetHeight,r.style.maxHeight="0",setTimeout(()=>{e.classList.contains("is-open")||(r.style.display="none")},300)}closeAllAccordionItems(){if(!this.accordionContainer)return;this.accordionContainer.querySelectorAll(".mega-menu-accordion_item.is-open").forEach(t=>{let r=t.querySelector("[data-accordion-trigger]"),n=t.querySelector("[data-accordion-content]");r&&n&&this.closeAccordionItem(t,r,n)})}restoreDesktopLayout(){this.isMobileLayout=!1,this.bigMenu.classList.remove("is-mega-menu-accordion"),this.accordionContainer&&(this.accordionContainer.remove(),this.accordionContainer=null),this.originalStructure.buttonsWrapper&&(this.originalStructure.buttonsWrapper.style.display=""),this.originalStructure.contentWrapper&&(this.originalStructure.contentWrapper.style.display=""),this.dropdownToggle&&(this.dropdownToggle.style.display=""),this.navMobileHeader&&(this.navMobileHeader.style.display=""),this.dropdownList&&(this.dropdownList.classList.remove("w--open"),this.dropdownList.style.display="",this.dropdownList.style.backgroundColor="")}destroy(){this.restoreDesktopLayout(),window.removeEventListener("resize",this.handleResize)}};function Jl(){document.querySelectorAll("[data-big-menu]").forEach(e=>{new Co(e)})}var Po=class{constructor(e){X(this,"navOverlay");X(this,"navMenu",null);X(this,"isApplied",!1);X(this,"handleResize",()=>{window.innerWidth<=991?this.applyMobileScrollStyles():this.removeMobileScrollStyles()});this.navOverlay=e,this.navMenu=e.querySelector(".w-nav-menu"),this.init()}init(){this.observeMenuState(),this.handleResize(),window.addEventListener("resize",this.handleResize)}applyMobileScrollStyles(){this.isApplied||(this.isApplied=!0,this.navOverlay.style.overflowY="auto",this.navOverlay.style.overflowX="hidden",this.navOverlay.style["-webkit-overflow-scrolling"]="touch",this.navOverlay.style.maxHeight="100dvh",this.navMenu&&(this.navMenu.style.overflowY="auto",this.navMenu.style.overflowX="hidden",this.navMenu.style["-webkit-overflow-scrolling"]="touch",this.navMenu.style.maxHeight="100dvh",this.navMenu.style.paddingBottom="100px"),this.setupScrollLocking())}removeMobileScrollStyles(){this.isApplied&&(this.isApplied=!1,this.navOverlay.style.overflowY="",this.navOverlay.style.overflowX="",this.navOverlay.style["-webkit-overflow-scrolling"]="",this.navOverlay.style.maxHeight="",this.navMenu&&(this.navMenu.style.overflowY="",this.navMenu.style.overflowX="",this.navMenu.style["-webkit-overflow-scrolling"]="",this.navMenu.style.maxHeight="",this.navMenu.style.paddingBottom=""))}setupScrollLocking(){let e=document.querySelector(".w-nav-button");e&&new MutationObserver(r=>{r.forEach(n=>{if(n.type==="attributes"&&n.attributeName==="class"){let i=e.classList.contains("w--open");this.handleMenuToggle(i)}})}).observe(e,{attributes:!0})}handleMenuToggle(e){if(e&&window.innerWidth<=991)document.body.style.overflow="hidden",document.body.style.position="fixed",document.body.style.width="100%",document.body.style.top=`-${window.scrollY}px`,this.updateOverlayHeight();else{let t=document.body.style.top;document.body.style.overflow="",document.body.style.position="",document.body.style.width="",document.body.style.top="",t&&window.scrollTo(0,parseInt(t||"0",10)*-1)}}updateOverlayHeight(){let e=window.visualViewport?.height||window.innerHeight;this.navOverlay.style.maxHeight=`${e}px`,this.navMenu&&(this.navMenu.style.maxHeight=`${e}px`)}observeMenuState(){new MutationObserver(()=>{this.navOverlay.style.display==="block"&&window.innerWidth<=991&&(this.applyMobileScrollStyles(),this.updateOverlayHeight())}).observe(this.navOverlay,{attributes:!0,attributeFilter:["style"]}),window.visualViewport&&window.visualViewport.addEventListener("resize",()=>{window.innerWidth<=991&&this.updateOverlayHeight()})}destroy(){window.removeEventListener("resize",this.handleResize),this.removeMobileScrollStyles()}};function ec(){let a=()=>{document.querySelectorAll(".w-nav-overlay").forEach(t=>{t.dataset.mobileScrollInit||(t.dataset.mobileScrollInit="true",new Po(t))})};a(),setTimeout(a,500)}function tc(){let a=document.querySelector("[data-modal]");if(!a)return;let e=document.querySelectorAll("[data-product-trigger]"),t=document.querySelectorAll("[data-close-modal]"),r=a.querySelectorAll(".product_item-modal-inner");gsap.set(a,{display:"none",opacity:0,zIndex:-1,pointerEvents:"none"}),gsap.set(r,{display:"none",opacity:0});let n=s=>{let o=null,l=document.getElementById(s);if(l&&a.contains(l)?o=l:o=a.querySelector(`[data-modal-target="${s}"]`),!o){console.error(`No content found for target: ${s}`);return}getComputedStyle(a).display!=="none"&&getComputedStyle(a).opacity!=="0"?(r.forEach(u=>{u!==o&&u.style.display!=="none"&&gsap.to(u,{opacity:0,duration:.2,onComplete:()=>{u.style.display="none"}})}),gsap.set(o,{display:"block",opacity:0,y:10}),gsap.to(o,{opacity:1,y:0,duration:.3,delay:.2})):(document.body.style.overflow="hidden",Wl(),r.forEach(d=>{d.style.display="none"}),gsap.set(o,{display:"block",opacity:1}),gsap.timeline().set(a,{display:"flex",opacity:0,zIndex:2147483647,pointerEvents:"auto"}).to(a,{opacity:1,duration:.4,ease:"power2.out"}))},i=()=>{gsap.to(a,{opacity:0,pointerEvents:"none",duration:.3,ease:"power2.in",onComplete:()=>{gsap.set(a,{display:"none",zIndex:-1}),gsap.set(r,{display:"none"}),document.body.style.overflow="",Yl()}})};e.forEach(s=>{s.addEventListener("click",o=>{o.preventDefault();let l=s.closest("[data-product-trigger]")?.getAttribute("data-product-trigger");l&&n(l)})}),t.forEach(s=>{s.addEventListener("click",o=>{o.preventDefault(),i()})}),document.addEventListener("keydown",s=>{s.key==="Escape"&&getComputedStyle(a).display!=="none"&&getComputedStyle(a).opacity!=="0"&&i()})}var fi=new Map,nc=991;function ss(){return window.innerWidth<=nc}function Af(){let a="dock-custom-styles";if(document.getElementById(a))return;let e=document.createElement("style");e.id=a,e.innerHTML=`
|
|
151
|
+
`,document.head.appendChild(a);let e=document.querySelectorAll(".dropdown_wrapper");e.forEach(u=>u.classList.add("cs-filters-loading"));function t(){e.forEach(u=>u.classList.remove("cs-filters-loading")),a.remove()}let r=["obszary","rozwiazania","branze"],n=[];r.forEach(u=>{document.querySelectorAll(`input[type="radio"][name="${u}"]`).forEach(p=>{let f=p.closest('[role="listitem"]'),m=(f??p.parentElement)?.querySelector(".checkbox_text")??null,h=m?.textContent?.trim()??"",_=f?.parentElement??null,b=f?.nextSibling??null;n.push({group:u,label:h,input:p,textEl:m,wrapperEl:f,parentEl:_,nextSiblingEl:b})})});let i=new Map;r.forEach(u=>{let d=n.find(m=>m.group===u);if(!d)return;let p=d.input.closest(".dropdown_wrapper");if(!p)return;let f=p.querySelector(".form_dropdown > div:first-child");f&&i.set(u,{wrapperEl:p,toggleTextEl:f,defaultText:f.textContent?.trim()??""})});function s(u){let d=i.get(u);if(!d)return;let p=o.get(u);if(p&&p.size>0){let[f]=p;d.toggleTextEl.textContent=f}else d.toggleTextEl.textContent=d.defaultText}let o=new Map(r.map(u=>[u,new Set]));function l(){for(let u of o.values())if(u.size>0)return!0;return!1}function c(u){for(let[d,p]of o.entries()){if(p.size===0)continue;let f=u.querySelector(`[fs-list-nest="${d}"][fs-list-element="nest-target"]`);if(!f)return!1;let m=Array.from(f.querySelectorAll('[role="listitem"] div')).map(_=>_.textContent?.trim().toLowerCase()??"");if(!Array.from(p).some(_=>m.some(b=>b===_.toLowerCase())))return!1}return!0}window.FinsweetAttributes||(window.FinsweetAttributes=[]),window.FinsweetAttributes.push(["list",async u=>{let d=u.find(v=>v.wrapperElement?.querySelector('[fs-list-element="list"]')||v.listElement?.hasAttribute("fs-list-element"))||u[0];if(!d){t();return}d.loadingPaginatedItems&&await d.loadingPaginatedItems;let p=d.items.value.map(v=>v.nesting).filter(v=>!!v);p.length>0&&await Promise.all(p),t();let f=document.querySelector("[data-empty]");f&&(f.style.display="none");function m(v,y){f&&(f.style.display=y&&v===0?"flex":"none")}function h(v,y){let E=v.querySelector(`[fs-list-nest="${y}"][fs-list-element="nest-target"]`);return E?Array.from(E.querySelectorAll('[role="listitem"] div')).map(M=>M.textContent?.trim().toLowerCase()??""):[]}function _(v,y,E){if(E.size===0)return!0;let M=h(v,y);return Array.from(E).some(S=>M.some(A=>A===S.toLowerCase()))}function b(){let v=d.items.value;for(let y of r){let E=n.filter(T=>T.group===y),M=v.filter(T=>{let L=T.element;for(let[D,k]of o.entries())if(D!==y&&!_(L,D,k))return!1;return!0}),S=0;for(let T of E){if(!T.wrapperEl||!T.parentEl)continue;if(T.input.checked){T.wrapperEl.parentElement||(T.nextSiblingEl&&T.nextSiblingEl.parentElement===T.parentEl?T.parentEl.insertBefore(T.wrapperEl,T.nextSiblingEl):T.parentEl.appendChild(T.wrapperEl)),S++;continue}M.some(D=>h(D.element,y).some(F=>F===T.label.toLowerCase()))?(T.wrapperEl.parentElement||(T.nextSiblingEl&&T.nextSiblingEl.parentElement===T.parentEl?T.parentEl.insertBefore(T.wrapperEl,T.nextSiblingEl):T.parentEl.appendChild(T.wrapperEl)),S++):T.wrapperEl.parentElement&&T.wrapperEl.remove()}let A=i.get(y);if(A)if(S===0){A.wrapperEl.classList.add("is-disabled");let T=A.wrapperEl.querySelector(".w-dropdown-toggle"),L=A.wrapperEl.querySelector(".w-dropdown-list");T?.classList.remove("w--open"),T?.setAttribute("aria-expanded","false"),L?.classList.remove("w--open")}else A.wrapperEl.classList.remove("is-disabled")}}d.addHook("filter",v=>{if(!l())return m(v.length,!1),b(),v;let y=v.filter(E=>{let M=E.element;return c(M)});return m(y.length,!0),b(),y}),n.forEach(v=>{v.input.addEventListener("click",()=>{let y=o.get(v.group);y&&(y.has(v.label)?(v.input.checked=!1,y.clear(),v.textEl?.classList.remove("is-active")):(y.clear(),n.filter(E=>E.group===v.group&&E!==v).forEach(E=>E.textEl?.classList.remove("is-active")),y.add(v.label),v.textEl?.classList.add("is-active")),s(v.group),d.triggerHook("filter"))})});let w=!1;n.forEach(v=>{if(v.input.checked){let y=o.get(v.group);y&&(y.add(v.label),v.textEl?.classList.add("is-active"),w=!0)}}),w&&d.triggerHook("filter")}])}var Lo=class{constructor(){G(this,"nav",null);G(this,"dropdowns",null);G(this,"currentOpenDropdown",null);this.init()}init(){this.nav=document.querySelector(".nav"),this.nav&&(this.dropdowns=this.nav.querySelectorAll("[data-delay]"),this.setupKeyboardNavigation())}setupKeyboardNavigation(){this.dropdowns&&(this.dropdowns.forEach(e=>{let t=e.querySelector(".w-dropdown-toggle"),r=e.querySelector(".w-dropdown-list");t&&(r&&this.setDropdownTabIndex(r,!1),t.addEventListener("keydown",n=>{this.handleDropdownToggleKeydown(n,e,t,r)}),t.addEventListener("click",()=>{this.handleDropdownClick(e,t)}),r&&this.setupDropdownFocusTrap(e,r))}),document.addEventListener("keydown",e=>{e.key==="Escape"&&this.closeAllDropdowns()}),document.addEventListener("click",e=>{this.currentOpenDropdown&&!this.currentOpenDropdown.contains(e.target)&&this.closeAllDropdowns()}))}handleDropdownToggleKeydown(e,t,r,n){let i=r.getAttribute("aria-expanded")==="true";switch(e.key){case"Enter":case" ":if(e.preventDefault(),!i)this.openDropdown(t,r,n);else{let s=r.getAttribute("href");s&&s!=="#"?window.location.href=s:this.closeDropdown(t,r,n)}break;case"ArrowDown":e.preventDefault(),i?this.focusFirstItem(n):(this.openDropdown(t,r,n),setTimeout(()=>{this.focusFirstItem(n)},100));break;case"ArrowUp":e.preventDefault(),i&&this.focusLastItem(n);break;case"Escape":e.preventDefault(),i&&(this.closeDropdown(t,r,n),r.focus());break;case"Tab":i&&!e.shiftKey&&setTimeout(()=>{n&&!n.contains(document.activeElement)&&this.closeDropdown(t,r,n)},0);break}}handleDropdownClick(e,t){t.getAttribute("aria-expanded")==="true"?this.currentOpenDropdown=null:(this.closeAllDropdowns(),this.currentOpenDropdown=e)}openDropdown(e,t,r){this.closeAllDropdowns(),t.setAttribute("aria-expanded","true"),t.classList.add("w--open"),r&&(r.classList.add("w--open"),r.removeAttribute("style"),this.setDropdownTabIndex(r,!0)),this.currentOpenDropdown=e}closeDropdown(e,t,r){t.setAttribute("aria-expanded","false"),t.classList.remove("w--open"),r&&(r.classList.remove("w--open"),this.setDropdownTabIndex(r,!1)),this.currentOpenDropdown===e&&(this.currentOpenDropdown=null)}closeAllDropdowns(){this.dropdowns&&(this.dropdowns.forEach(e=>{let t=e.querySelector(".w-dropdown-toggle"),r=e.querySelector(".w-dropdown-list");t&&(t.setAttribute("aria-expanded","false"),t.classList.remove("w--open")),r&&(r.classList.remove("w--open"),this.setDropdownTabIndex(r,!1))}),this.currentOpenDropdown=null)}setDropdownTabIndex(e,t){e.querySelectorAll('a[href], button, [role="tab"], [role="button"]').forEach(n=>{t?n.setAttribute("tabindex","0"):n.setAttribute("tabindex","-1")})}setupDropdownFocusTrap(e,t){let r=t.querySelectorAll('a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])');r.forEach((n,i)=>{n.addEventListener("keydown",s=>{let o=e.querySelector(".w-dropdown-toggle");if(o?.getAttribute("aria-expanded")==="true")switch(s.key){case"Tab":s.shiftKey&&i===0?(s.preventDefault(),o?.focus()):!s.shiftKey&&i===r.length-1&&this.closeDropdown(e,o,t);break;case"Escape":s.preventDefault(),this.closeDropdown(e,o,t),o?.focus();break;case"ArrowDown":i<r.length-1&&(s.preventDefault(),r[i+1].focus());break;case"ArrowUp":i>0?(s.preventDefault(),r[i-1].focus()):(s.preventDefault(),o?.focus());break;case"Home":s.preventDefault(),r[0].focus();break;case"End":s.preventDefault(),r[r.length-1].focus();break}})})}focusFirstItem(e){if(!e)return;let t=e.querySelector('a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])');t&&t.focus()}focusLastItem(e){if(!e)return;let t=e.querySelectorAll('a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])');t.length>0&&t[t.length-1].focus()}};function $l(){new Lo}var Tf=".w-nav",xf=".button-wrapper",Ao="is-pinned",ko="w-variant-a4b72284-6321-8341-edca-223fdec43abe";var Mn=!1,ui=!1,is=!1,Cr=null,tn=null;function Ef(){return window.innerWidth>991}function jl(){if(!Cr||!Mn){is=!1;return}let a=window.scrollY||window.pageYOffset;!ui&&a>50?(Cr.classList.add(Ao),tn&&tn.classList.remove(ko),ui=!0):ui&&a<40&&(Cr.classList.remove(Ao),tn&&tn.classList.add(ko),ui=!1),is=!1}function Sf(){!is&&Mn&&(window.requestAnimationFrame(jl),is=!0)}function Mf(){Cr&&Cr.classList.remove(Ao),tn&&tn.classList.add(ko),ui=!1}function Ql(){let a=Ef();a&&!Mn?(Mn=!0,jl()):!a&&Mn&&(Mn=!1,Mf())}function Lf(a,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>a(...r),e)}}function Zl(){if(Cr=document.querySelector(Tf),!Cr)return;tn=Cr.querySelector(xf),window.addEventListener("scroll",Sf,{passive:!0});let a=Lf(Ql,150);window.addEventListener("resize",a),Ql()}var Co=class{constructor(e){G(this,"bigMenu");G(this,"tabsModule",null);G(this,"tablistContainer",null);G(this,"contentContainer",null);G(this,"tabMappings",[]);G(this,"isMobileLayout",!1);G(this,"originalButtonsWrapper",null);G(this,"accordionContainer",null);G(this,"dropdownToggle",null);G(this,"dropdownList",null);G(this,"navMobileHeader",null);G(this,"originalStructure",{buttonsWrapper:null,contentWrapper:null,buttonsParent:null,contentParent:null,buttonsNextSibling:null,contentNextSibling:null});G(this,"handleResize",()=>{let e=window.innerWidth<=991;e&&!this.isMobileLayout?this.applyMobileLayout():!e&&this.isMobileLayout&&this.restoreDesktopLayout()});if(this.bigMenu=e,this.tabsModule=e.querySelector('[data-module="tabs"]'),!this.tabsModule){console.error('[MegaMenuAccordion] No [data-module="tabs"] found inside [data-big-menu]');return}if(this.tablistContainer=this.tabsModule.querySelector('[role="tablist"]'),this.contentContainer=this.tabsModule.querySelector(".tabs_content-wrapper"),!this.tablistContainer||!this.contentContainer){console.error("[MegaMenuAccordion] Missing tablist or content container");return}this.originalButtonsWrapper=this.tablistContainer.closest(".tabs_buttons-wrapper"),this.originalStructure={buttonsWrapper:this.originalButtonsWrapper,contentWrapper:this.contentContainer,buttonsParent:this.originalButtonsWrapper?.parentElement||null,contentParent:this.contentContainer.parentElement,buttonsNextSibling:this.originalButtonsWrapper?.nextSibling||null,contentNextSibling:this.contentContainer.nextSibling},this.buildTabMappings(),this.dropdownToggle=e.querySelector(".w-dropdown-toggle"),this.dropdownList=e.querySelector(".w-dropdown-list"),this.navMobileHeader=e.querySelector(".nav_mobile-header"),this.init()}buildTabMappings(){if(!this.tablistContainer)return;Array.from(this.tablistContainer.querySelectorAll('[role="tab"]')).forEach(t=>{let r=t.getAttribute("aria-controls");if(!r)return;let n=document.getElementById(r);n&&this.tabMappings.push({button:t,panel:n,controlsId:r})})}init(){this.handleResize(),window.addEventListener("resize",this.handleResize)}applyMobileLayout(){!this.tabsModule||this.tabMappings.length===0||(this.isMobileLayout=!0,this.bigMenu.classList.add("is-mega-menu-accordion"),this.dropdownToggle&&(this.dropdownToggle.style.display="none"),this.navMobileHeader&&(this.navMobileHeader.style.display="none"),this.dropdownList&&(this.dropdownList.classList.add("w--open"),this.dropdownList.style.display="block",this.dropdownList.style.backgroundColor="transparent"),this.accordionContainer=document.createElement("div"),this.accordionContainer.className="mega-menu-accordion",this.accordionContainer.setAttribute("data-mega-accordion",""),this.tabMappings.forEach(({button:e,panel:t})=>{let r=document.createElement("div");r.className="mega-menu-accordion_item",r.setAttribute("data-accordion-item","");let n=document.createElement("div");n.className="mega-menu-accordion_trigger";let i=e.cloneNode(!0);i.classList.add("mega-menu-accordion_button"),i.setAttribute("data-accordion-trigger",""),i.setAttribute("aria-expanded","false");let s=i.querySelector(".icon-embed-xxsmall");s&&(s.style.transition="transform 0.3s ease",s.style.transform="rotate(-90deg)"),n.appendChild(i),r.appendChild(n);let o=document.createElement("div");o.className="mega-menu-accordion_content",o.setAttribute("data-accordion-content",""),o.style.display="none",o.style.overflow="hidden",o.style.maxHeight="0",o.style.transition="max-height 0.3s ease-out";let l=t.cloneNode(!0);l.classList.add("mega-menu-accordion_panel"),l.removeAttribute("hidden"),l.removeAttribute("style"),l.style.backgroundColor="transparent",o.appendChild(l),r.appendChild(o),n.addEventListener("click",c=>{c.preventDefault(),c.stopPropagation(),this.toggleAccordionItem(r,i,o)}),this.accordionContainer.appendChild(r)}),this.originalStructure.buttonsWrapper&&(this.originalStructure.buttonsWrapper.style.display="none"),this.originalStructure.contentWrapper&&(this.originalStructure.contentWrapper.style.display="none"),this.tabsModule.appendChild(this.accordionContainer))}toggleAccordionItem(e,t,r){e.classList.contains("is-open")?this.closeAccordionItem(e,t,r):(this.closeAllAccordionItems(),this.openAccordionItem(e,t,r))}openAccordionItem(e,t,r){e.classList.add("is-open"),t.setAttribute("aria-expanded","true");let n=t.querySelector(".icon-embed-xxsmall");n&&(n.style.transform="rotate(-270deg)"),r.style.display="block";let{scrollHeight:i}=r;r.style.maxHeight=`${i}px`,setTimeout(()=>{e.classList.contains("is-open")&&(r.style.maxHeight="none")},300)}closeAccordionItem(e,t,r){e.classList.remove("is-open"),t.setAttribute("aria-expanded","false");let n=t.querySelector(".icon-embed-xxsmall");n&&(n.style.transform="rotate(-90deg)"),r.style.maxHeight=`${r.scrollHeight}px`,r.offsetHeight,r.style.maxHeight="0",setTimeout(()=>{e.classList.contains("is-open")||(r.style.display="none")},300)}closeAllAccordionItems(){if(!this.accordionContainer)return;this.accordionContainer.querySelectorAll(".mega-menu-accordion_item.is-open").forEach(t=>{let r=t.querySelector("[data-accordion-trigger]"),n=t.querySelector("[data-accordion-content]");r&&n&&this.closeAccordionItem(t,r,n)})}restoreDesktopLayout(){this.isMobileLayout=!1,this.bigMenu.classList.remove("is-mega-menu-accordion"),this.accordionContainer&&(this.accordionContainer.remove(),this.accordionContainer=null),this.originalStructure.buttonsWrapper&&(this.originalStructure.buttonsWrapper.style.display=""),this.originalStructure.contentWrapper&&(this.originalStructure.contentWrapper.style.display=""),this.dropdownToggle&&(this.dropdownToggle.style.display=""),this.navMobileHeader&&(this.navMobileHeader.style.display=""),this.dropdownList&&(this.dropdownList.classList.remove("w--open"),this.dropdownList.style.display="",this.dropdownList.style.backgroundColor="")}destroy(){this.restoreDesktopLayout(),window.removeEventListener("resize",this.handleResize)}};function Jl(){document.querySelectorAll("[data-big-menu]").forEach(e=>{new Co(e)})}var Po=class{constructor(e){G(this,"navOverlay");G(this,"navMenu",null);G(this,"isApplied",!1);G(this,"handleResize",()=>{window.innerWidth<=991?this.applyMobileScrollStyles():this.removeMobileScrollStyles()});this.navOverlay=e,this.navMenu=e.querySelector(".w-nav-menu"),this.init()}init(){this.observeMenuState(),this.handleResize(),window.addEventListener("resize",this.handleResize)}applyMobileScrollStyles(){this.isApplied||(this.isApplied=!0,this.navOverlay.style.overflowY="auto",this.navOverlay.style.overflowX="hidden",this.navOverlay.style["-webkit-overflow-scrolling"]="touch",this.navOverlay.style.maxHeight="100dvh",this.navMenu&&(this.navMenu.style.overflowY="auto",this.navMenu.style.overflowX="hidden",this.navMenu.style["-webkit-overflow-scrolling"]="touch",this.navMenu.style.maxHeight="100dvh",this.navMenu.style.paddingBottom="100px"),this.setupScrollLocking())}removeMobileScrollStyles(){this.isApplied&&(this.isApplied=!1,this.navOverlay.style.overflowY="",this.navOverlay.style.overflowX="",this.navOverlay.style["-webkit-overflow-scrolling"]="",this.navOverlay.style.maxHeight="",this.navMenu&&(this.navMenu.style.overflowY="",this.navMenu.style.overflowX="",this.navMenu.style["-webkit-overflow-scrolling"]="",this.navMenu.style.maxHeight="",this.navMenu.style.paddingBottom=""))}setupScrollLocking(){let e=document.querySelector(".w-nav-button");e&&new MutationObserver(r=>{r.forEach(n=>{if(n.type==="attributes"&&n.attributeName==="class"){let i=e.classList.contains("w--open");this.handleMenuToggle(i)}})}).observe(e,{attributes:!0})}handleMenuToggle(e){if(e&&window.innerWidth<=991)document.body.style.overflow="hidden",document.body.style.position="fixed",document.body.style.width="100%",document.body.style.top=`-${window.scrollY}px`,this.updateOverlayHeight();else{let t=document.body.style.top;document.body.style.overflow="",document.body.style.position="",document.body.style.width="",document.body.style.top="",t&&window.scrollTo(0,parseInt(t||"0",10)*-1)}}updateOverlayHeight(){let e=window.visualViewport?.height||window.innerHeight;this.navOverlay.style.maxHeight=`${e}px`,this.navMenu&&(this.navMenu.style.maxHeight=`${e}px`)}observeMenuState(){new MutationObserver(()=>{this.navOverlay.style.display==="block"&&window.innerWidth<=991&&(this.applyMobileScrollStyles(),this.updateOverlayHeight())}).observe(this.navOverlay,{attributes:!0,attributeFilter:["style"]}),window.visualViewport&&window.visualViewport.addEventListener("resize",()=>{window.innerWidth<=991&&this.updateOverlayHeight()})}destroy(){window.removeEventListener("resize",this.handleResize),this.removeMobileScrollStyles()}};function ec(){let a=()=>{document.querySelectorAll(".w-nav-overlay").forEach(t=>{t.dataset.mobileScrollInit||(t.dataset.mobileScrollInit="true",new Po(t))})};a(),setTimeout(a,500)}function tc(){let a=document.querySelector("[data-modal]");if(!a)return;let e=document.querySelectorAll("[data-product-trigger]"),t=document.querySelectorAll("[data-close-modal]"),r=a.querySelectorAll(".product_item-modal-inner");gsap.set(a,{display:"none",opacity:0,zIndex:-1,pointerEvents:"none"}),gsap.set(r,{display:"none",opacity:0});let n=s=>{let o=null,l=document.getElementById(s);if(l&&a.contains(l)?o=l:o=a.querySelector(`[data-modal-target="${s}"]`),!o){console.error(`No content found for target: ${s}`);return}getComputedStyle(a).display!=="none"&&getComputedStyle(a).opacity!=="0"?(r.forEach(u=>{u!==o&&u.style.display!=="none"&&gsap.to(u,{opacity:0,duration:.2,onComplete:()=>{u.style.display="none"}})}),gsap.set(o,{display:"block",opacity:0,y:10}),gsap.to(o,{opacity:1,y:0,duration:.3,delay:.2})):(document.body.style.overflow="hidden",Wl(),r.forEach(d=>{d.style.display="none"}),gsap.set(o,{display:"block",opacity:1}),gsap.timeline().set(a,{display:"flex",opacity:0,zIndex:2147483647,pointerEvents:"auto"}).to(a,{opacity:1,duration:.4,ease:"power2.out"}))},i=()=>{gsap.to(a,{opacity:0,pointerEvents:"none",duration:.3,ease:"power2.in",onComplete:()=>{gsap.set(a,{display:"none",zIndex:-1}),gsap.set(r,{display:"none"}),document.body.style.overflow="",Yl()}})};e.forEach(s=>{s.addEventListener("click",o=>{o.preventDefault();let l=s.closest("[data-product-trigger]")?.getAttribute("data-product-trigger");l&&n(l)})}),t.forEach(s=>{s.addEventListener("click",o=>{o.preventDefault(),i()})}),document.addEventListener("keydown",s=>{s.key==="Escape"&&getComputedStyle(a).display!=="none"&&getComputedStyle(a).opacity!=="0"&&i()})}var fi=new Map,nc=991;function ss(){return window.innerWidth<=nc}function Af(){let a="dock-custom-styles";if(document.getElementById(a))return;let e=document.createElement("style");e.id=a,e.innerHTML=`
|
|
152
152
|
/* Base Tooltip Styles (Desktop) */
|
|
153
153
|
[data-slider-dock] .nav-item__tooltip {
|
|
154
154
|
font-size: 10px !important;
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
flex-shrink: 0 !important;
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
`,document.head.appendChild(e)}function Oo(a){a.slides.forEach((e,t)=>{let r=e.querySelector(".nav-item__link"),n=e.querySelector(".nav-item__tooltip");if(!r)return;r.style.transition="transform 0.4s ease",r.style.transformOrigin="center bottom";let i=t===a.activeIndex,s=t===a.activeIndex-1||t===a.activeIndex+1;i?(r.style.transform="scale(1.4)",e.style.zIndex="100",n&&gsap.to(n,{opacity:1,y:-55,scale:1,duration:.3,ease:"power2.out",overwrite:!0})):s?(r.style.transform="scale(1.1)",e.style.zIndex="50",n&&gsap.to(n,{opacity:0,y:0,scale:.8,duration:.2,overwrite:!0})):(r.style.transform="scale(0.8)",e.style.zIndex="1",n&&gsap.to(n,{opacity:0,y:0,scale:.8,duration:.2,overwrite:!0}))})}function kf(a){if(fi.has(a))return;a.querySelectorAll(".nav-item").forEach(o=>{o.classList.remove("hover"),o.style.width="";let l=o.querySelector(".nav-item__link");l&&(l.style.transform="",l.style.transition="")});let t=a.getAttribute("data-dock-space"),r=t?parseFloat(t):16,n=a.parentElement,i=a.querySelector(".swiper-arrow.is-next"),s=a.querySelector(".swiper-arrow.is-prev");!i&&n&&(i=n.querySelector(".swiper-arrow.is-next")),!s&&n&&(s=n.querySelector(".swiper-arrow.is-prev")),a.style.width="100%",a.style.overflow="hidden",requestAnimationFrame(()=>{setTimeout(()=>{if(fi.has(a))return;let o={slidesPerView:"auto",slidesPerGroup:1,spaceBetween:r,loop:!1,centeredSlides:!0,freeMode:!1,watchOverflow:!0,observer:!0,observeParents:!0,resizeObserver:!0,updateOnWindowResize:!0,navigation:{nextEl:i,prevEl:s},on:{init:c=>{Oo(c),setTimeout(()=>c.update(),100)},slideChange:c=>Oo(c),transitionEnd:c=>Oo(c)}},l=new Swiper(a,o);fi.set(a,l)},50)})}function Cf(a){let e=fi.get(a);e&&(e.destroy(!0,!0),fi.delete(a))}function ic(){return Array.from(document.querySelectorAll("[data-slider-dock]"))}function rc(){let a=ic(),e=ss();a.forEach(t=>{e?kf(t):Cf(t)})}function Pf(a,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>a(...r),e)}}function Of(){document.querySelectorAll("[data-slider-dock]").forEach(e=>{let t=Array.from(e.querySelectorAll(".nav-item"));if(t.length===0)return;let r=s=>{t.forEach((o,l)=>{let c=o.querySelector(".nav-item__link");c&&(c.style.transition="transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)",c.style.transformOrigin="center bottom",l===s?(c.style.transform="scale(2)",o.style.zIndex="100"):l===s-1||l===s+1?(c.style.transform="scale(1.25)",o.style.zIndex="50"):(c.style.transform="scale(1)",o.style.zIndex="1"))})},n=()=>{t.forEach(s=>{let o=s.querySelector(".nav-item__link");o&&(o.style.transform="scale(1)"),s.style.zIndex="",s.classList.remove("hover");let l=s.querySelector(".nav-item__tooltip");l&&gsap.to(l,{opacity:0,y:0,duration:.2,overwrite:!0})})};t.forEach((s,o)=>{s.style.position="relative";let l=s.querySelector(".nav-item__link");l&&(l.style.position="relative",l.style.zIndex="2");let c=s.querySelector(".nav-item__tooltip");c&&gsap.set(c,{position:"absolute",bottom:"100%",left:"50%",xPercent:-50,marginBottom:"-20px",opacity:0,pointerEvents:"none",display:"block"}),s.addEventListener("mouseenter",()=>{ss()||(r(o),s.classList.add("hover"),c&&gsap.to(c,{opacity:1,y:-55,duration:.3,ease:"power2.out",overwrite:!0}))}),s.addEventListener("mouseleave",()=>{ss()||c&&gsap.to(c,{opacity:0,y:0,duration:.2,overwrite:!0})})}),(e.querySelector(".nav-list")||e).addEventListener("mouseleave",()=>{ss()||n()})})}function sc(){if(typeof Swiper>"u"||ic().length===0)return;Af(),rc();let e=Pf(rc,150);window.addEventListener("resize",e),Of()}var os=new Map,Do=new Map,Df=991;function Rf(){return window.innerWidth<=Df}function Hf(a){if(os.has(a))return;let e=a.getAttribute("data-mobile-slides"),t=e?parseFloat(e):1,r=a.getAttribute("data-mobile-space"),n=r?parseFloat(r):16,i=a.parentElement,s=a.querySelector(".swiper-arrow.is-next"),o=a.querySelector(".swiper-arrow.is-prev");!s&&i&&(s=i.querySelector(".swiper-arrow.is-next")),!o&&i&&(o=i.querySelector(".swiper-arrow.is-prev"));let l=a.querySelectorAll(".swiper-slide"),c=a.querySelector(".swiper-wrapper"),u=new Map;if(c){let p=c.style.cssText,_=document.createElement("div");_.style.cssText=p,u.set(c,_.style),c.style.display="flex",c.style.flexDirection="row",c.style.gap="0",c.style.gridGap="0"}l.forEach(p=>{let _=p.style.cssText,v=document.createElement("div");v.style.cssText=_,u.set(p,v.style),p.style.width="",p.style.minWidth="0",p.style.maxWidth="none",p.style.flexBasis="auto",p.style.flexShrink="0",p.style.boxSizing="border-box",p.style.display="block"}),Do.set(a,u);let d=a.getAttribute("data-desktop-slides"),h=d?parseFloat(d):3.5,f={slidesPerView:t,spaceBetween:n,loop:!1,freeMode:!1,watchOverflow:!0,breakpoints:{992:{slidesPerView:h,spaceBetween:0}},navigation:{nextEl:s,prevEl:o}},m=new Swiper(a,f);os.set(a,m)}function If(a){let e=os.get(a);if(e){e.destroy(!0,!0),os.delete(a);let t=Do.get(a);t&&(t.forEach((r,n)=>{n.style.cssText=r.cssText}),Do.delete(a))}}function ac(){return Array.from(document.querySelectorAll("[data-slider-mobile]"))}function oc(){let a=ac(),e=Rf();a.forEach(t=>{let r=e;if(!e){let n=t.querySelector(".swiper-wrapper");n&&n.children.length>4&&(r=!0)}r?Hf(t):If(t)})}function qf(a,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>a(...r),e)}}function lc(){if(typeof Swiper>"u"||ac().length===0)return;oc();let e=qf(oc,150);window.addEventListener("resize",e)}function uc(){if(typeof Swiper>"u")return;document.querySelectorAll(".swiper:not([data-slider-mobile]):not([data-slider-dock])").forEach(e=>{let t=e,r=t.getAttribute("data-mobile-slides"),n=r?parseFloat(r):1,i=t.parentElement,s=t.querySelector(".swiper-arrow.is-next"),o=t.querySelector(".swiper-arrow.is-prev");!s&&i&&(s=i.querySelector(".swiper-arrow.is-next")),!o&&i&&(o=i.querySelector(".swiper-arrow.is-prev"));let l=t.querySelector(".swiper-progress-track"),c=t.querySelector(".swiper-progress-thumb");!l&&i&&(l=i.querySelector(".swiper-progress-track")),!c&&i&&(c=i.querySelector(".swiper-progress-thumb"));let u={slidesPerView:n,spaceBetween:0,loop:!1,centeredSlides:!0,navigation:{nextEl:s,prevEl:o},breakpoints:{992:{slidesPerView:1,centeredSlides:!0}},on:{init:function(){setTimeout(()=>{di(this),c&&cc(this,c)},50)},slideChange:function(){di(this),c&&cc(this,c)},slideChangeTransitionStart:function(){di(this)},slideChangeTransitionEnd:function(){di(this)},transitionEnd:function(){di(this)}}},d=new Swiper(t,u);l&&l.addEventListener("click",function(h){let f=h,m=l.getBoundingClientRect(),p=f.clientX-m.left,_=m.width,v=p/_,y=d.slides.length,T=Math.floor(v*y);d.slideTo(T)})})}function di(a){a.slides.forEach(function(e,t){t===a.activeIndex||e.classList.contains("swiper-slide-active")?(e.style.transform="scale(1)",e.style.transition="transform 0.4s ease"):(e.style.transform="scale(0.9)",e.style.transition="transform 0.4s ease")})}function cc(a,e){let t=a.slides.length,n=(a.realIndex+1)/t*100;e.style.width=n+"%"}var fc="is-mobile-tabs",Ro="mobile-tabs-wrapper",Ho=class{constructor(e){X(this,"container");X(this,"menu");X(this,"content");X(this,"tabPairs",[]);X(this,"isMobileLayout",!1);X(this,"originalContentParent",null);X(this,"handleResize",()=>{let e=window.innerWidth<=991;e&&!this.isMobileLayout?this.applyMobileLayout():!e&&this.isMobileLayout&&this.restoreDesktopLayout()});X(this,"preventWebflowClick",e=>{e.stopImmediatePropagation()});X(this,"handleMobileTabClick",e=>{let r=e.currentTarget.getAttribute("data-w-tab")?.trim();this.tabPairs.forEach(({pill:n,tabName:i})=>{let s=n.nextElementSibling;if(!s||!s.classList.contains(Ro))return;let o=s.firstElementChild;o&&(i===r?(o.removeAttribute("hidden"),o.style.display="",s.classList.add("is-open")):(o.setAttribute("hidden","true"),o.style.display="none",s.classList.remove("is-open")))})});if(this.container=e,this.menu=e.querySelector(".w-tab-menu"),this.content=e.querySelector(".w-tab-content"),!this.menu||!this.content){console.error("[MobileTabs] Missing .w-tab-menu or .w-tab-content");return}this.originalContentParent=this.content.parentElement,this.collectTabPairs(),this.init()}collectTabPairs(){if(!this.menu||!this.content)return;let e=Array.from(this.menu.querySelectorAll("[data-w-tab]")),t=Array.from(this.content.querySelectorAll("[data-w-tab]"));e.forEach(r=>{let n=r.getAttribute("data-w-tab")?.trim();if(!n)return;let i=t.find(s=>s.getAttribute("data-w-tab")?.trim()===n);i&&this.tabPairs.push({pill:r,pane:i,tabName:n})})}init(){this.handleResize(),window.addEventListener("resize",this.handleResize.bind(this))}applyMobileLayout(){!this.menu||!this.content||(this.isMobileLayout=!0,this.container.classList.add(fc),this.content.style.display="none",this.tabPairs.forEach(({pill:e,pane:t},r)=>{let n=document.createElement("div");n.className=Ro,n.appendChild(t.cloneNode(!0));let i=n.firstElementChild;r===this.tabPairs.length-1?(i.removeAttribute("hidden"),i.style.display="",n.classList.add("is-open")):(i.setAttribute("hidden","true"),i.style.display="none",n.classList.remove("is-open")),e.insertAdjacentElement("afterend",n),e.addEventListener("click",this.preventWebflowClick,{capture:!0})}))}restoreDesktopLayout(){if(!this.menu||!this.content)return;this.isMobileLayout=!1,this.container.classList.remove(fc),this.tabPairs.forEach(({pill:t})=>{t.removeEventListener("click",this.handleMobileTabClick),t.removeEventListener("click",this.preventWebflowClick,{capture:!0}),t.style.pointerEvents=""}),this.menu.querySelectorAll(`.${Ro}`).forEach(t=>t.remove()),this.content.style.display=""}destroy(){this.restoreDesktopLayout(),window.removeEventListener("resize",this.handleResize)}};function dc(){document.querySelectorAll("[data-tabs-mobile]").forEach(e=>{if(e.classList.contains("w-tabs")||e.querySelector(".w-tabs")){let t=e.classList.contains("w-tabs")?e:e.querySelector(".w-tabs");t&&new Ho(t)}})}var as=class{constructor(e){X(this,"tablistNode");X(this,"tabs",[]);X(this,"firstTab",null);X(this,"lastTab",null);X(this,"tabpanels",[]);this.tablistNode=e;let t=this.tablistNode.getAttribute("data-orientation")||"horizontal";this.tablistNode.setAttribute("aria-orientation",t),this.tabs=Array.from(this.tablistNode.querySelectorAll("[role=tab]")),this.tabs.forEach(n=>{let i=n.getAttribute("aria-controls");if(!i)return;let s=document.getElementById(i);n.tabIndex=n.getAttribute("aria-selected")==="true"?0:-1,s&&(s.setAttribute("role","tabpanel"),s.setAttribute("aria-labelledby",n.id),s.removeAttribute("tabindex"),this.tabpanels.push(s)),n.addEventListener("keydown",this.onKeydown.bind(this)),n.addEventListener("click",this.onClick.bind(this)),this.firstTab||(this.firstTab=n),this.lastTab=n});let r=this.tabs.find(n=>n.getAttribute("aria-selected")==="true")||this.firstTab;r&&(window.innerWidth<=991&&this.tablistNode.closest(".tabs_component")?this.setInitialMobileTab(r):this.setSelectedTab(r,!1)),this.setTabsContentHeight()}setTabsContentHeight(){let e=this.tablistNode.closest(".tabs_component");if(!e)return;let t=e.querySelector(".tabs_component-content");if(!t)return;if(window.innerWidth<=991){t.style.height="";return}let r=t.querySelectorAll(".tabs_component-content > *");if(r.length===0)return;let n=Math.max(...Array.from(r).map(i=>i.offsetHeight));t.style.height=n+"px"}setInitialMobileTab(e){let t=e.getAttribute("aria-controls"),r=t?document.getElementById(t):null;e.setAttribute("aria-selected","true"),e.tabIndex=0,e.classList.add("is-active-tab"),r&&(r.classList.add("is-active-tab"),r.removeAttribute("hidden"),r.style.opacity="1",r.removeAttribute("style"))}setSelectedTab(e,t=!0){let n=this.tablistNode.closest(".tabs_component")!==null;n?this.tabs.forEach(o=>{let l=o.getAttribute("aria-controls"),c=l?document.getElementById(l):null;e!==o&&c&&!c.hasAttribute("hidden")?(c.style.transition="opacity 0.2s ease-in-out",c.style.opacity="0",setTimeout(()=>{o.setAttribute("aria-selected","false"),o.tabIndex=-1,o.classList.remove("is-active-tab"),c.classList.remove("is-active-tab"),c.setAttribute("hidden","true"),c.removeAttribute("style")},200)):e!==o&&(o.setAttribute("aria-selected","false"),o.tabIndex=-1,o.classList.remove("is-active-tab"),c&&(c.classList.remove("is-active-tab"),c.setAttribute("hidden","true"),c.removeAttribute("style")))}):this.tabs.forEach(o=>{let l=o.getAttribute("aria-controls"),c=l?document.getElementById(l):null;e!==o&&(o.setAttribute("aria-selected","false"),o.tabIndex=-1,o.classList.remove("is-active-tab"),c&&(c.classList.remove("is-active-tab"),c.setAttribute("hidden","true"),c.removeAttribute("style")))});let i=e.getAttribute("aria-controls"),s=i?document.getElementById(i):null;e.setAttribute("aria-selected","true"),e.tabIndex=0,e.classList.add("is-active-tab"),s&&(s.classList.add("is-active-tab"),s.removeAttribute("hidden"),n?(s.style.opacity="0",s.style.transition="opacity 0.2s ease-in-out",s.offsetWidth,setTimeout(()=>{s.style.opacity="1"},10),setTimeout(()=>{s.removeAttribute("style"),this.setTabsContentHeight()},250)):s.removeAttribute("style")),t&&e.focus()}setSelectedToPreviousTab(e){if(e===this.firstTab&&this.lastTab)this.setSelectedTab(this.lastTab);else{let t=this.tabs.indexOf(e);this.setSelectedTab(this.tabs[t-1])}}setSelectedToNextTab(e){if(e===this.lastTab&&this.firstTab)this.setSelectedTab(this.firstTab);else{let t=this.tabs.indexOf(e);this.setSelectedTab(this.tabs[t+1])}}onKeydown(e){let t=e.currentTarget,r=!1,n=this.tablistNode.getAttribute("aria-orientation")||"horizontal";switch(e.key){case"ArrowLeft":n==="horizontal"&&(this.setSelectedToPreviousTab(t),r=!0);break;case"ArrowRight":n==="horizontal"&&(this.setSelectedToNextTab(t),r=!0);break;case"ArrowUp":n==="vertical"&&(this.setSelectedToPreviousTab(t),r=!0);break;case"ArrowDown":n==="vertical"&&(this.setSelectedToNextTab(t),r=!0);break;case"Home":this.firstTab&&(this.setSelectedTab(this.firstTab),r=!0);break;case"End":this.lastTab&&(this.setSelectedTab(this.lastTab),r=!0);break;case"Enter":case" ":this.setSelectedTab(t),r=!0;break;default:break}r&&(e.stopPropagation(),e.preventDefault())}onClick(e){this.setSelectedTab(e.currentTarget)}};function pc(){document.querySelectorAll('[data-module="tabs"]').forEach(t=>{let r=t.querySelector('[role="tablist"]');if(r instanceof HTMLElement){if(t.hasAttribute("data-orientation")&&!r.hasAttribute("data-orientation")){let n=t.getAttribute("data-orientation");n&&r.setAttribute("data-orientation",n)}new as(r)}}),document.querySelectorAll('[role="tablist"]').forEach(t=>{t instanceof HTMLElement&&!t.closest('[data-module="tabs"]')&&new as(t)})}window.Webflow||(window.Webflow=[]);window.Webflow.push(()=>{No(),Bl(),pc(),dc(),$l(),Zl(),Jl(),ec(),Vl(),Xl(),uc(),lc(),sc(),zl(),Ul(),Gl(),Fl(),Fo(),tc(),zo(),qo(),Nl(),Kl()});})();
|
|
199
|
+
`,document.head.appendChild(e)}function Oo(a){a.slides.forEach((e,t)=>{let r=e.querySelector(".nav-item__link"),n=e.querySelector(".nav-item__tooltip");if(!r)return;r.style.transition="transform 0.4s ease",r.style.transformOrigin="center bottom";let i=t===a.activeIndex,s=t===a.activeIndex-1||t===a.activeIndex+1;i?(r.style.transform="scale(1.4)",e.style.zIndex="100",n&&gsap.to(n,{opacity:1,y:-55,scale:1,duration:.3,ease:"power2.out",overwrite:!0})):s?(r.style.transform="scale(1.1)",e.style.zIndex="50",n&&gsap.to(n,{opacity:0,y:0,scale:.8,duration:.2,overwrite:!0})):(r.style.transform="scale(0.8)",e.style.zIndex="1",n&&gsap.to(n,{opacity:0,y:0,scale:.8,duration:.2,overwrite:!0}))})}function kf(a){if(fi.has(a))return;a.querySelectorAll(".nav-item").forEach(o=>{o.classList.remove("hover"),o.style.width="";let l=o.querySelector(".nav-item__link");l&&(l.style.transform="",l.style.transition="")});let t=a.getAttribute("data-dock-space"),r=t?parseFloat(t):16,n=a.parentElement,i=a.querySelector(".swiper-arrow.is-next"),s=a.querySelector(".swiper-arrow.is-prev");!i&&n&&(i=n.querySelector(".swiper-arrow.is-next")),!s&&n&&(s=n.querySelector(".swiper-arrow.is-prev")),a.style.width="100%",a.style.overflow="hidden",requestAnimationFrame(()=>{setTimeout(()=>{if(fi.has(a))return;let o={slidesPerView:"auto",slidesPerGroup:1,spaceBetween:r,loop:!1,centeredSlides:!0,freeMode:!1,watchOverflow:!0,observer:!0,observeParents:!0,resizeObserver:!0,updateOnWindowResize:!0,navigation:{nextEl:i,prevEl:s},on:{init:c=>{Oo(c),setTimeout(()=>c.update(),100)},slideChange:c=>Oo(c),transitionEnd:c=>Oo(c)}},l=new Swiper(a,o);fi.set(a,l)},50)})}function Cf(a){let e=fi.get(a);e&&(e.destroy(!0,!0),fi.delete(a))}function ic(){return Array.from(document.querySelectorAll("[data-slider-dock]"))}function rc(){let a=ic(),e=ss();a.forEach(t=>{e?kf(t):Cf(t)})}function Pf(a,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>a(...r),e)}}function Of(){document.querySelectorAll("[data-slider-dock]").forEach(e=>{let t=Array.from(e.querySelectorAll(".nav-item"));if(t.length===0)return;let r=s=>{t.forEach((o,l)=>{let c=o.querySelector(".nav-item__link");c&&(c.style.transition="transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)",c.style.transformOrigin="center bottom",l===s?(c.style.transform="scale(2)",o.style.zIndex="100"):l===s-1||l===s+1?(c.style.transform="scale(1.25)",o.style.zIndex="50"):(c.style.transform="scale(1)",o.style.zIndex="1"))})},n=()=>{t.forEach(s=>{let o=s.querySelector(".nav-item__link");o&&(o.style.transform="scale(1)"),s.style.zIndex="",s.classList.remove("hover");let l=s.querySelector(".nav-item__tooltip");l&&gsap.to(l,{opacity:0,y:0,duration:.2,overwrite:!0})})};t.forEach((s,o)=>{s.style.position="relative";let l=s.querySelector(".nav-item__link");l&&(l.style.position="relative",l.style.zIndex="2");let c=s.querySelector(".nav-item__tooltip");c&&gsap.set(c,{position:"absolute",bottom:"100%",left:"50%",xPercent:-50,marginBottom:"-20px",opacity:0,pointerEvents:"none",display:"block"}),s.addEventListener("mouseenter",()=>{ss()||(r(o),s.classList.add("hover"),c&&gsap.to(c,{opacity:1,y:-55,duration:.3,ease:"power2.out",overwrite:!0}))}),s.addEventListener("mouseleave",()=>{ss()||c&&gsap.to(c,{opacity:0,y:0,duration:.2,overwrite:!0})})}),(e.querySelector(".nav-list")||e).addEventListener("mouseleave",()=>{ss()||n()})})}function sc(){if(typeof Swiper>"u"||ic().length===0)return;Af(),rc();let e=Pf(rc,150);window.addEventListener("resize",e),Of()}var os=new Map,Do=new Map,Df=991;function Rf(){return window.innerWidth<=Df}function Hf(a){if(os.has(a))return;let e=a.getAttribute("data-mobile-slides"),t=e?parseFloat(e):1,r=a.getAttribute("data-mobile-space"),n=r?parseFloat(r):16,i=a.parentElement,s=a.querySelector(".swiper-arrow.is-next"),o=a.querySelector(".swiper-arrow.is-prev");!s&&i&&(s=i.querySelector(".swiper-arrow.is-next")),!o&&i&&(o=i.querySelector(".swiper-arrow.is-prev"));let l=a.querySelectorAll(".swiper-slide"),c=a.querySelector(".swiper-wrapper"),u=new Map;if(c){let h=c.style.cssText,_=document.createElement("div");_.style.cssText=h,u.set(c,_.style),c.style.display="flex",c.style.flexDirection="row",c.style.gap="0",c.style.gridGap="0"}l.forEach(h=>{let _=h.style.cssText,b=document.createElement("div");b.style.cssText=_,u.set(h,b.style),h.style.width="",h.style.minWidth="0",h.style.maxWidth="none",h.style.flexBasis="auto",h.style.flexShrink="0",h.style.boxSizing="border-box",h.style.display="block"}),Do.set(a,u);let d=a.getAttribute("data-desktop-slides"),p=d?parseFloat(d):3.5,f={slidesPerView:t,spaceBetween:n,loop:!1,freeMode:!1,watchOverflow:!0,breakpoints:{992:{slidesPerView:p,spaceBetween:0}},navigation:{nextEl:s,prevEl:o}},m=new Swiper(a,f);os.set(a,m)}function If(a){let e=os.get(a);if(e){e.destroy(!0,!0),os.delete(a);let t=Do.get(a);t&&(t.forEach((r,n)=>{n.style.cssText=r.cssText}),Do.delete(a))}}function ac(){return Array.from(document.querySelectorAll("[data-slider-mobile]"))}function oc(){let a=ac(),e=Rf();a.forEach(t=>{let r=e;if(!e){let n=t.querySelector(".swiper-wrapper");n&&n.children.length>4&&(r=!0)}r?Hf(t):If(t)})}function qf(a,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>a(...r),e)}}function lc(){if(typeof Swiper>"u"||ac().length===0)return;oc();let e=qf(oc,150);window.addEventListener("resize",e)}function uc(){if(typeof Swiper>"u")return;document.querySelectorAll(".swiper:not([data-slider-mobile]):not([data-slider-dock])").forEach(e=>{let t=e,r=t.getAttribute("data-mobile-slides"),n=r?parseFloat(r):1,i=t.parentElement,s=t.querySelector(".swiper-arrow.is-next"),o=t.querySelector(".swiper-arrow.is-prev");!s&&i&&(s=i.querySelector(".swiper-arrow.is-next")),!o&&i&&(o=i.querySelector(".swiper-arrow.is-prev"));let l=t.querySelector(".swiper-progress-track"),c=t.querySelector(".swiper-progress-thumb");!l&&i&&(l=i.querySelector(".swiper-progress-track")),!c&&i&&(c=i.querySelector(".swiper-progress-thumb"));let u={slidesPerView:n,spaceBetween:0,loop:!1,centeredSlides:!0,navigation:{nextEl:s,prevEl:o},breakpoints:{992:{slidesPerView:1,centeredSlides:!0}},on:{init:function(){setTimeout(()=>{di(this),c&&cc(this,c)},50)},slideChange:function(){di(this),c&&cc(this,c)},slideChangeTransitionStart:function(){di(this)},slideChangeTransitionEnd:function(){di(this)},transitionEnd:function(){di(this)}}},d=new Swiper(t,u);l&&l.addEventListener("click",function(p){let f=p,m=l.getBoundingClientRect(),h=f.clientX-m.left,_=m.width,b=h/_,w=d.slides.length,v=Math.floor(b*w);d.slideTo(v)})})}function di(a){a.slides.forEach(function(e,t){t===a.activeIndex||e.classList.contains("swiper-slide-active")?(e.style.transform="scale(1)",e.style.transition="transform 0.4s ease"):(e.style.transform="scale(0.9)",e.style.transition="transform 0.4s ease")})}function cc(a,e){let t=a.slides.length,n=(a.realIndex+1)/t*100;e.style.width=n+"%"}var fc="is-mobile-tabs",Ro="mobile-tabs-wrapper",Ho=class{constructor(e){G(this,"container");G(this,"menu");G(this,"content");G(this,"tabPairs",[]);G(this,"isMobileLayout",!1);G(this,"originalContentParent",null);G(this,"handleResize",()=>{let e=window.innerWidth<=991;e&&!this.isMobileLayout?this.applyMobileLayout():!e&&this.isMobileLayout&&this.restoreDesktopLayout()});G(this,"preventWebflowClick",e=>{e.stopImmediatePropagation()});G(this,"handleMobileTabClick",e=>{let r=e.currentTarget.getAttribute("data-w-tab")?.trim();this.tabPairs.forEach(({pill:n,tabName:i})=>{let s=n.nextElementSibling;if(!s||!s.classList.contains(Ro))return;let o=s.firstElementChild;o&&(i===r?(o.removeAttribute("hidden"),o.style.display="",s.classList.add("is-open")):(o.setAttribute("hidden","true"),o.style.display="none",s.classList.remove("is-open")))})});if(this.container=e,this.menu=e.querySelector(".w-tab-menu"),this.content=e.querySelector(".w-tab-content"),!this.menu||!this.content){console.error("[MobileTabs] Missing .w-tab-menu or .w-tab-content");return}this.originalContentParent=this.content.parentElement,this.collectTabPairs(),this.init()}collectTabPairs(){if(!this.menu||!this.content)return;let e=Array.from(this.menu.querySelectorAll("[data-w-tab]")),t=Array.from(this.content.querySelectorAll("[data-w-tab]"));e.forEach(r=>{let n=r.getAttribute("data-w-tab")?.trim();if(!n)return;let i=t.find(s=>s.getAttribute("data-w-tab")?.trim()===n);i&&this.tabPairs.push({pill:r,pane:i,tabName:n})})}init(){this.handleResize(),window.addEventListener("resize",this.handleResize.bind(this))}applyMobileLayout(){!this.menu||!this.content||(this.isMobileLayout=!0,this.container.classList.add(fc),this.content.style.display="none",this.tabPairs.forEach(({pill:e,pane:t},r)=>{let n=document.createElement("div");n.className=Ro,n.appendChild(t.cloneNode(!0));let i=n.firstElementChild;r===this.tabPairs.length-1?(i.removeAttribute("hidden"),i.style.display="",n.classList.add("is-open")):(i.setAttribute("hidden","true"),i.style.display="none",n.classList.remove("is-open")),e.insertAdjacentElement("afterend",n),e.addEventListener("click",this.preventWebflowClick,{capture:!0})}))}restoreDesktopLayout(){if(!this.menu||!this.content)return;this.isMobileLayout=!1,this.container.classList.remove(fc),this.tabPairs.forEach(({pill:t})=>{t.removeEventListener("click",this.handleMobileTabClick),t.removeEventListener("click",this.preventWebflowClick,{capture:!0}),t.style.pointerEvents=""}),this.menu.querySelectorAll(`.${Ro}`).forEach(t=>t.remove()),this.content.style.display=""}destroy(){this.restoreDesktopLayout(),window.removeEventListener("resize",this.handleResize)}};function dc(){document.querySelectorAll("[data-tabs-mobile]").forEach(e=>{if(e.classList.contains("w-tabs")||e.querySelector(".w-tabs")){let t=e.classList.contains("w-tabs")?e:e.querySelector(".w-tabs");t&&new Ho(t)}})}var as=class{constructor(e){G(this,"tablistNode");G(this,"tabs",[]);G(this,"firstTab",null);G(this,"lastTab",null);G(this,"tabpanels",[]);this.tablistNode=e;let t=this.tablistNode.getAttribute("data-orientation")||"horizontal";this.tablistNode.setAttribute("aria-orientation",t),this.tabs=Array.from(this.tablistNode.querySelectorAll("[role=tab]")),this.tabs.forEach(n=>{let i=n.getAttribute("aria-controls");if(!i)return;let s=document.getElementById(i);n.tabIndex=n.getAttribute("aria-selected")==="true"?0:-1,s&&(s.setAttribute("role","tabpanel"),s.setAttribute("aria-labelledby",n.id),s.removeAttribute("tabindex"),this.tabpanels.push(s)),n.addEventListener("keydown",this.onKeydown.bind(this)),n.addEventListener("click",this.onClick.bind(this)),this.firstTab||(this.firstTab=n),this.lastTab=n});let r=this.tabs.find(n=>n.getAttribute("aria-selected")==="true")||this.firstTab;r&&(window.innerWidth<=991&&this.tablistNode.closest(".tabs_component")?this.setInitialMobileTab(r):this.setSelectedTab(r,!1)),this.setTabsContentHeight()}setTabsContentHeight(){let e=this.tablistNode.closest(".tabs_component");if(!e)return;let t=e.querySelector(".tabs_component-content");if(!t)return;if(window.innerWidth<=991){t.style.height="";return}let r=t.querySelectorAll(".tabs_component-content > *");if(r.length===0)return;let n=Math.max(...Array.from(r).map(i=>i.offsetHeight));t.style.height=n+"px"}setInitialMobileTab(e){let t=e.getAttribute("aria-controls"),r=t?document.getElementById(t):null;e.setAttribute("aria-selected","true"),e.tabIndex=0,e.classList.add("is-active-tab"),r&&(r.classList.add("is-active-tab"),r.removeAttribute("hidden"),r.style.opacity="1",r.removeAttribute("style"))}setSelectedTab(e,t=!0){let n=this.tablistNode.closest(".tabs_component")!==null;n?this.tabs.forEach(o=>{let l=o.getAttribute("aria-controls"),c=l?document.getElementById(l):null;e!==o&&c&&!c.hasAttribute("hidden")?(c.style.transition="opacity 0.2s ease-in-out",c.style.opacity="0",setTimeout(()=>{o.setAttribute("aria-selected","false"),o.tabIndex=-1,o.classList.remove("is-active-tab"),c.classList.remove("is-active-tab"),c.setAttribute("hidden","true"),c.removeAttribute("style")},200)):e!==o&&(o.setAttribute("aria-selected","false"),o.tabIndex=-1,o.classList.remove("is-active-tab"),c&&(c.classList.remove("is-active-tab"),c.setAttribute("hidden","true"),c.removeAttribute("style")))}):this.tabs.forEach(o=>{let l=o.getAttribute("aria-controls"),c=l?document.getElementById(l):null;e!==o&&(o.setAttribute("aria-selected","false"),o.tabIndex=-1,o.classList.remove("is-active-tab"),c&&(c.classList.remove("is-active-tab"),c.setAttribute("hidden","true"),c.removeAttribute("style")))});let i=e.getAttribute("aria-controls"),s=i?document.getElementById(i):null;e.setAttribute("aria-selected","true"),e.tabIndex=0,e.classList.add("is-active-tab"),s&&(s.classList.add("is-active-tab"),s.removeAttribute("hidden"),n?(s.style.opacity="0",s.style.transition="opacity 0.2s ease-in-out",s.offsetWidth,setTimeout(()=>{s.style.opacity="1"},10),setTimeout(()=>{s.removeAttribute("style"),this.setTabsContentHeight()},250)):s.removeAttribute("style")),t&&e.focus()}setSelectedToPreviousTab(e){if(e===this.firstTab&&this.lastTab)this.setSelectedTab(this.lastTab);else{let t=this.tabs.indexOf(e);this.setSelectedTab(this.tabs[t-1])}}setSelectedToNextTab(e){if(e===this.lastTab&&this.firstTab)this.setSelectedTab(this.firstTab);else{let t=this.tabs.indexOf(e);this.setSelectedTab(this.tabs[t+1])}}onKeydown(e){let t=e.currentTarget,r=!1,n=this.tablistNode.getAttribute("aria-orientation")||"horizontal";switch(e.key){case"ArrowLeft":n==="horizontal"&&(this.setSelectedToPreviousTab(t),r=!0);break;case"ArrowRight":n==="horizontal"&&(this.setSelectedToNextTab(t),r=!0);break;case"ArrowUp":n==="vertical"&&(this.setSelectedToPreviousTab(t),r=!0);break;case"ArrowDown":n==="vertical"&&(this.setSelectedToNextTab(t),r=!0);break;case"Home":this.firstTab&&(this.setSelectedTab(this.firstTab),r=!0);break;case"End":this.lastTab&&(this.setSelectedTab(this.lastTab),r=!0);break;case"Enter":case" ":this.setSelectedTab(t),r=!0;break;default:break}r&&(e.stopPropagation(),e.preventDefault())}onClick(e){this.setSelectedTab(e.currentTarget)}};function pc(){document.querySelectorAll('[data-module="tabs"]').forEach(t=>{let r=t.querySelector('[role="tablist"]');if(r instanceof HTMLElement){if(t.hasAttribute("data-orientation")&&!r.hasAttribute("data-orientation")){let n=t.getAttribute("data-orientation");n&&r.setAttribute("data-orientation",n)}new as(r)}}),document.querySelectorAll('[role="tablist"]').forEach(t=>{t instanceof HTMLElement&&!t.closest('[data-module="tabs"]')&&new as(t)})}window.Webflow||(window.Webflow=[]);window.Webflow.push(()=>{No(),Bl(),pc(),dc(),$l(),Zl(),Jl(),ec(),Vl(),Xl(),uc(),lc(),sc(),zl(),Ul(),Gl(),Fl(),Fo(),tc(),zo(),qo(),Nl(),Kl()});})();
|
|
200
200
|
/*! Bundled license information:
|
|
201
201
|
|
|
202
202
|
gsap/gsap-core.js:
|