anegis-webflow-new 6.0.0 → 6.0.2
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 +8 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
1
|
+
"use strict";(()=>{var Ac=Object.defineProperty;var kc=(a,e,t)=>e in a?Ac(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var U=(a,e,t)=>kc(a,typeof e!="symbol"?e+"":e,t);function Fs(){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 Ns=()=>{};function uo(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 Cc=[.224,.478,.463],Pc=[.106,.275,.435],Hc=[.047,.047,.047],zs=()=>{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"),o=t.getAttribute("data-blur")||"1.2rem",s=r&&uo(r)||Cc,l=n&&uo(n)||Pc,c=i&&uo(i)||Hc,u=document.createElement("canvas");u.style.cssText=`position:absolute;inset:0;width:100%;height:100%;filter:blur(${o});`,t.appendChild(u);let f=document.createElement("canvas");f.style.cssText="position:absolute;inset:0;width:100%;height:100%;pointer-events:none;mix-blend-mode:overlay;",t.appendChild(f);let p=f.getContext("2d"),d=u.getContext("webgl");if(!d){console.error("WebGL not supported");return}let m=`
|
|
2
2
|
attribute vec2 a_position;
|
|
3
3
|
varying vec2 v_uv;
|
|
4
4
|
void main() {
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
|
|
101
101
|
gl_FragColor = vec4(finalColor, 1.0);
|
|
102
102
|
}
|
|
103
|
-
`;function g(V,ie,oe){let Q=V.createShader(ie);return Q?(V.shaderSource(Q,oe),V.compileShader(Q),V.getShaderParameter(Q,V.COMPILE_STATUS)?Q:(console.error("Shader compile error:",V.getShaderInfoLog(Q)),V.deleteShader(Q),null)):null}let b=g(d,d.VERTEX_SHADER,m),_=g(d,d.FRAGMENT_SHADER,h);if(!b||!_)return;let v=d.createProgram();if(!v)return;if(d.attachShader(v,b),d.attachShader(v,_),d.linkProgram(v),!d.getProgramParameter(v,d.LINK_STATUS)){console.error("Program link error:",d.getProgramInfoLog(v));return}let w=d.createBuffer();d.bindBuffer(d.ARRAY_BUFFER,w),d.bufferData(d.ARRAY_BUFFER,new Float32Array([-1,-1,1,-1,-1,1,-1,1,1,-1,1,1]),d.STATIC_DRAW);let E=d.getAttribLocation(v,"a_position"),L=d.getUniformLocation(v,"u_time"),T=d.getUniformLocation(v,"u_resolution"),A=d.getUniformLocation(v,"u_color1"),M=d.getUniformLocation(v,"u_color2"),x=d.getUniformLocation(v,"u_colorBg");function P(){let V=window.devicePixelRatio||1,ie=Math.floor(u.clientWidth*V),oe=Math.floor(u.clientHeight*V);(u.width!==ie||u.height!==oe)&&(u.width=ie,u.height=oe),(f.width!==ie||f.height!==oe)&&(f.width=ie,f.height=oe)}let k,I=performance.now(),N=0,G=12,F=.08,C=4,z=null;function ee(){P(),d.viewport(0,0,u.width,u.height),d.useProgram(v);let V=(performance.now()-I)/1e3;d.uniform1f(L,V),d.uniform2f(T,u.width,u.height),d.uniform3f(A,s[0],s[1],s[2]),d.uniform3f(M,l[0],l[1],l[2]),d.uniform3f(x,c[0],c[1],c[2]),d.enableVertexAttribArray(E),d.bindBuffer(d.ARRAY_BUFFER,w),d.vertexAttribPointer(E,2,d.FLOAT,!1,0,0),d.drawArrays(d.TRIANGLES,0,6);let ie=performance.now();if(p&&ie-N>1e3/G){N=ie;let oe=Math.ceil(f.width/C),Q=Math.ceil(f.height/C);if(oe<=0||Q<=0)return;(!z||z.width!==oe||z.height!==Q)&&(z=p.createImageData(oe,Q));let{data:pe}=z;for(let he=0;he<pe.length;he+=4){let ue=(Math.random()-.5)*255*F;pe[he]=128+ue,pe[he+1]=128+ue,pe[he+2]=128+ue,pe[he+3]=255}p.clearRect(0,0,f.width,f.height),p.imageSmoothingEnabled=!1,p.putImageData(z,0,0),p.drawImage(f,0,0,oe,Q,0,0,f.width,f.height)}k=requestAnimationFrame(ee)}ee();let y=new MutationObserver(V=>{for(let ie of V)for(let oe of ie.removedNodes)(oe===u||oe instanceof Element&&oe.contains(u))&&(cancelAnimationFrame(k),y.disconnect())});y.observe(t.parentElement||document.body,{childList:!0,subtree:!0}),requestAnimationFrame(()=>{t.style.opacity="1"})})};function Bs(){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(),s=n[1].getBoundingClientRect().top-i.top,l=s-i.height,c=Math.max(3*i.height+2*l,401),u=document.createElement("div");u.style.cssText=`height: ${c}px; overflow: hidden; position: relative;`,e.parentNode?.insertBefore(u,e),u.appendChild(e);let f=n.length*s-l;e.style.cssText+=`; overflow: visible !important; height: ${f}px !important; min-height: 0 !important; max-height: none !important; will-change: transform;`;let p=n.findIndex(_=>_.classList.contains("is-active"));p===-1&&(p=0);let d=(p-1+n.length)%n.length;for(let _=0;_<d;_++){let v=e.querySelector(".content-col-item");v&&e.appendChild(v)}function m(){Array.from(e.querySelectorAll(".content-col-item")).forEach((_,v)=>{_.classList.toggle("is-active",v===1)})}gsap.set(e,{y:0}),m();let h=!1;function g(){if(h)return;h=!0;let _=e.firstElementChild;e.appendChild(_),gsap.set(e,{y:s}),gsap.to(e,{y:0,duration:.5,ease:"power3.inOut",onComplete(){m(),h=!1}})}function b(){if(h)return;h=!0;let _=Array.from(e.querySelectorAll(".content-col-item")),v=_[_.length-1];e.insertBefore(v,e.firstChild),gsap.set(e,{y:-s}),gsap.to(e,{y:0,duration:.5,ease:"power3.inOut",onComplete(){m(),h=!1}})}t?.addEventListener("click",b),r?.addEventListener("click",g)})}function nr(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function js(a,e){a.prototype=Object.create(e.prototype),a.prototype.constructor=a,a.__proto__=e}var gt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},ln={duration:.5,overwrite:!1,delay:0},ko,We,fe,Pt=1e8,le=1/Pt,vo=Math.PI*2,Hc=vo/4,Oc=0,Qs=Math.sqrt,Dc=Math.cos,Ic=Math.sin,He=function(e){return typeof e=="string"},we=function(e){return typeof e=="function"},or=function(e){return typeof e=="number"},Mi=function(e){return typeof e>"u"},Kt=function(e){return typeof e=="object"},mt=function(e){return e!==!1},Co=function(){return typeof window<"u"},yi=function(e){return we(e)||He(e)},Zs=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},$e=Array.isArray,Rc=/random\([^)]+\)/g,qc=/,\s*/g,Ws=/(?:-?\.?\d|\.)+/gi,Po=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,zr=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,fo=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Ho=/[+-]=-?[.\d]+/,Fc=/[^,'"\[\]\s]+/gi,Nc=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,_e,Ut,bo,Oo,Et={},Ei={},Js,ea=function(e){return(Ei=cn(e,Et))&&je},Ai=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},Fn=function(e,t){return!t&&console.warn(e)},ta=function(e,t){return e&&(Et[e]=t)&&Ei&&(Ei[e]=t)||Et},Nn=function(){return 0},zc={suppressEvents:!0,isStart:!0,kill:!1},vi={suppressEvents:!0,kill:!1},Bc={suppressEvents:!0},Do={},br=[],wo={},ra,pt={},po={},Gs=30,bi=[],Io="",Ro=function(e){var t=e[0],r,n;if(Kt(t)||we(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(n=bi.length;n--&&!bi[n].targetTest(t););r=bi[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new zo(e[n],r)))||e.splice(n,1);return e},wr=function(e){return e._gsap||Ro(Ht(e))[0]._gsap},qo=function(e,t,r){return(r=e[t])&&we(r)?e[t]():Mi(r)&&e.getAttribute&&e.getAttribute(t)||r},it=function(e,t){return(e=e.split(",")).forEach(t)||e},Ee=function(e){return Math.round(e*1e5)/1e5||0},ge=function(e){return Math.round(e*1e7)/1e7||0},Br=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},Wc=function(e,t){for(var r=t.length,n=0;e.indexOf(t[n])<0&&++n<r;);return n<r},xi=function(){var e=br.length,t=br.slice(0),r,n;for(wo={},br.length=0,r=0;r<e;r++)n=t[r],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},Fo=function(e){return!!(e._initted||e._startAt||e.add)},na=function(e,t,r,n){br.length&&!We&&xi(),e.render(t,r,n||!!(We&&t<0&&Fo(e))),br.length&&!We&&xi()},ia=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(Fc).length<2?t:He(e)?e.trim():e},oa=function(e){return e},xt=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},Gc=function(e){return function(t,r){for(var n in r)n in t||n==="duration"&&e||n==="ease"||(t[n]=r[n])}},cn=function(e,t){for(var r in t)e[r]=t[r];return e},Vs=function a(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Kt(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},In=function(e){var t=e.parent||_e,r=e.keyframes?Gc($e(e.keyframes)):xt;if(mt(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},Vc=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 o=e[n],s;if(i)for(s=t[i];o&&o[i]>s;)o=o._prev;return o?(t._next=o._next,o._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[n]=t,t._prev=o,t.parent=t._dp=e,t},ki=function(e,t,r,n){r===void 0&&(r="_first"),n===void 0&&(n="_last");var i=t._prev,o=t._next;i?i._next=o:e[r]===t&&(e[r]=o),o?o._prev=i:e[n]===t&&(e[n]=i),t._next=t._prev=t.parent=null},Er=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},qr=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},Yc=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Eo=function(e,t,r,n){return e._startAt&&(We?e._startAt.revert(vi):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))},Uc=function a(e){return!e||e._ts&&a(e.parent)},Ys=function(e){return e._repeat?un(e._tTime,e=e.duration()+e._rDelay)*e:0},un=function(e,t){var r=Math.floor(e=ge(e/t));return e&&r===e?r-1:r},Si=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Ci=function(e){return e._end=ge(e._start+(e._tDur/Math.abs(e._ts||e._rts||le)||0))},Pi=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=ge(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Ci(e),r._dirty||qr(r,e)),e},aa=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=Si(e.rawTime(),t),(!t._dur||Wn(0,t.totalDuration(),r)-t._tTime>le)&&t.render(r,!0)),qr(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=-le}},Xt=function(e,t,r,n){return t.parent&&Er(t),t._start=ge((or(r)?r:r||e!==_e?Ct(e,r,t):e._time)+t._delay),t._end=ge(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),sa(e,t,"_first","_last",e._sort?"_start":0),xo(t)||(e._recent=t),n||aa(e,t),e._ts<0&&Pi(e,e._tTime),e},la=function(e,t){return(Et.ScrollTrigger||Ai("scrollTrigger",t))&&Et.ScrollTrigger.create(t,e)},ca=function(e,t,r,n,i){if(Go(e,t,i),!e._initted)return 1;if(!r&&e._pt&&!We&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&ra!==ht.frame)return br.push(e),e._lazy=[i,n],1},Xc=function a(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||a(t))},xo=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},Kc=function(e,t,r,n){var i=e.ratio,o=t<0||!t&&(!e._start&&Xc(e)&&!(!e._initted&&xo(e))||(e._ts<0||e._dp._ts<0)&&!xo(e))?0:1,s=e._rDelay,l=0,c,u,f;if(s&&e._repeat&&(l=Wn(0,e._tDur,t),u=un(l,s),e._yoyo&&u&1&&(o=1-o),u!==un(e._tTime,s)&&(i=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==i||We||n||e._zTime===le||!t&&e._zTime){if(!e._initted&&ca(e,t,n,r,l))return;for(f=e._zTime,e._zTime=t||(r?le:0),r||(r=t&&!f),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=l,c=e._pt;c;)c.r(o,c.d),c=c._next;t<0&&Eo(e,t,r,!0),e._onUpdate&&!r&&wt(e,"onUpdate"),l&&e._repeat&&!r&&e.parent&&wt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===o&&(o&&Er(e,1),!r&&!We&&(wt(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},$c=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}},dn=function(e,t,r,n){var i=e._repeat,o=ge(t)||0,s=e._tTime/e._tDur;return s&&!n&&(e._time*=o/e._dur),e._dur=o,e._tDur=i?i<0?1e10:ge(o*(i+1)+e._rDelay*i):o,s>0&&!n&&Pi(e,e._tTime=e._tDur*s),e.parent&&Ci(e),r||qr(e.parent,e),e},Us=function(e){return e instanceof Be?qr(e):dn(e,e._dur)},jc={_start:0,endTime:Nn,totalDuration:Nn},Ct=function a(e,t,r){var n=e.labels,i=e._recent||jc,o=e.duration()>=Pt?i.endTime(!1):e._dur,s,l,c;return He(t)&&(isNaN(t)||t in n)?(l=t.charAt(0),c=t.substr(-1)==="%",s=t.indexOf("="),l==="<"||l===">"?(s>=0&&(t=t.replace(/=/,"")),(l==="<"?i._start:i.endTime(i._repeat>=0))+(parseFloat(t.substr(1))||0)*(c?(s<0?i:r).totalDuration()/100:1)):s<0?(t in n||(n[t]=o),n[t]):(l=parseFloat(t.charAt(s-1)+t.substr(s+1)),c&&r&&(l=l/100*($e(r)?r[0]:r).totalDuration()),s>1?a(e,t.substr(0,s-1),r)+l:o+l)):t==null?o:+t},Rn=function(e,t,r){var n=or(t[1]),i=(n?2:1)+(e<2?0:1),o=t[i],s,l;if(n&&(o.duration=t[1]),o.parent=r,e){for(s=o,l=r;l&&!("immediateRender"in s);)s=l.vars.defaults||{},l=mt(l.vars.inherit)&&l.parent;o.immediateRender=mt(s.immediateRender),e<2?o.runBackwards=1:o.startAt=t[i-1]}return new Me(t[0],o,t[i+1])},xr=function(e,t){return e||e===0?t(e):t},Wn=function(e,t,r){return r<e?e:r>t?t:r},Ge=function(e,t){return!He(e)||!(t=Nc.exec(e))?"":t[1]},Qc=function(e,t,r){return xr(r,function(n){return Wn(e,t,n)})},To=[].slice,ua=function(e,t){return e&&Kt(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&Kt(e[0]))&&!e.nodeType&&e!==Ut},Zc=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(n){var i;return He(n)&&!t||ua(n,1)?(i=r).push.apply(i,Ht(n)):r.push(n)})||r},Ht=function(e,t,r){return fe&&!t&&fe.selector?fe.selector(e):He(e)&&!r&&(bo||!fn())?To.call((t||Oo).querySelectorAll(e),0):$e(e)?Zc(e,r):ua(e)?To.call(e,0):e?[e]:[]},So=function(e){return e=Ht(e)[0]||Fn("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return Ht(t,r.querySelectorAll?r:r===e?Fn("Invalid scope")||Oo.createElement("div"):e)}},da=function(e){return e.sort(function(){return .5-Math.random()})},fa=function(e){if(we(e))return e;var t=Kt(e)?e:{each:e},r=Fr(t.ease),n=t.from||0,i=parseFloat(t.base)||0,o={},s=n>0&&n<1,l=isNaN(n)||s,c=t.axis,u=n,f=n;return He(n)?u=f={center:.5,edges:.5,end:1}[n]||0:!s&&l&&(u=n[0],f=n[1]),function(p,d,m){var h=(m||t).length,g=o[h],b,_,v,w,E,L,T,A,M;if(!g){if(M=t.grid==="auto"?0:(t.grid||[1,Pt])[1],!M){for(T=-Pt;T<(T=m[M++].getBoundingClientRect().left)&&M<h;);M<h&&M--}for(g=o[h]=[],b=l?Math.min(M,h)*u-.5:n%M,_=M===Pt?0:l?h*f/M-.5:n/M|0,T=0,A=Pt,L=0;L<h;L++)v=L%M-b,w=_-(L/M|0),g[L]=E=c?Math.abs(c==="y"?w:v):Qs(v*v+w*w),E>T&&(T=E),E<A&&(A=E);n==="random"&&da(g),g.max=T-A,g.min=A,g.v=h=(parseFloat(t.amount)||parseFloat(t.each)*(M>h?h-1:c?c==="y"?h/M:M:Math.max(M,h/M))||0)*(n==="edges"?-1:1),g.b=h<0?i-h:i,g.u=Ge(t.amount||t.each)||0,r=r&&h<0?wa(r):r}return h=(g[p]-g.min)/g.max||0,ge(g.b+(r?r(h):h)*g.v)+g.u}},Lo=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var n=ge(Math.round(parseFloat(r)/e)*e*t);return(n-n%1)/t+(or(r)?0:Ge(r))}},pa=function(e,t){var r=$e(e),n,i;return!r&&Kt(e)&&(n=r=e.radius||Pt,e.values?(e=Ht(e.values),(i=!or(e[0]))&&(n*=n)):e=Lo(e.increment)),xr(t,r?we(e)?function(o){return i=e(o),Math.abs(i-o)<=n?i:o}:function(o){for(var s=parseFloat(i?o.x:o),l=parseFloat(i?o.y:0),c=Pt,u=0,f=e.length,p,d;f--;)i?(p=e[f].x-s,d=e[f].y-l,p=p*p+d*d):p=Math.abs(e[f]-s),p<c&&(c=p,u=f);return u=!n||c<=n?e[u]:o,i||u===o||or(o)?u:u+Ge(o)}:Lo(e))},ha=function(e,t,r,n){return xr($e(e)?!t:r===!0?!!(r=0):!n,function(){return $e(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})},Jc=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,o){return o(i)},n)}},eu=function(e,t){return function(r){return e(parseFloat(r))+(t||Ge(r))}},tu=function(e,t,r){return ga(e,t,0,1,r)},ma=function(e,t,r){return xr(r,function(n){return e[~~t(n)]})},ru=function a(e,t,r){var n=t-e;return $e(e)?ma(e,a(0,e.length),t):xr(r,function(i){return(n+(i-e)%n)%n+e})},nu=function a(e,t,r){var n=t-e,i=n*2;return $e(e)?ma(e,a(0,e.length-1),t):xr(r,function(o){return o=(i+(o-e)%i)%i||0,e+(o>n?i-o:o)})},pn=function(e){return e.replace(Rc,function(t){var r=t.indexOf("[")+1,n=t.substring(r||7,r?t.indexOf("]"):t.length-1).split(qc);return ha(r?n:+n[0],r?0:+n[1],+n[2]||1e-5)})},ga=function(e,t,r,n,i){var o=t-e,s=n-r;return xr(i,function(l){return r+((l-e)/o*s||0)})},iu=function a(e,t,r,n){var i=isNaN(e+t)?0:function(d){return(1-d)*e+d*t};if(!i){var o=He(e),s={},l,c,u,f,p;if(r===!0&&(n=1)&&(r=null),o)e={p:e},t={p:t};else if($e(e)&&!$e(t)){for(u=[],f=e.length,p=f-2,c=1;c<f;c++)u.push(a(e[c-1],e[c]));f--,i=function(m){m*=f;var h=Math.min(p,~~m);return u[h](m-h)},r=t}else n||(e=cn($e(e)?[]:{},e));if(!u){for(l in t)Bo.call(s,e,l,"get",t[l]);i=function(m){return Uo(m,s)||(o?e.p:e)}}}return xr(r,i)},Xs=function(e,t,r){var n=e.labels,i=Pt,o,s,l;for(o in n)s=n[o]-t,s<0==!!r&&s&&i>(s=Math.abs(s))&&(l=o,i=s);return l},wt=function(e,t,r){var n=e.vars,i=n[t],o=fe,s=e._ctx,l,c,u;if(i)return l=n[t+"Params"],c=n.callbackScope||e,r&&br.length&&xi(),s&&(fe=s),u=l?i.apply(c,l):i.call(c),fe=o,u},On=function(e){return Er(e),e.scrollTrigger&&e.scrollTrigger.kill(!!We),e.progress()<1&&wt(e,"onInterrupt"),e},an,_a=[],ya=function(e){if(e)if(e=!e.name&&e.default||e,Co()||e.headless){var t=e.name,r=we(e),n=t&&!r&&e.init?function(){this._props=[]}:e,i={init:Nn,render:Uo,add:Bo,kill:bu,modifier:vu,rawVars:0},o={targetTest:0,get:0,getSetter:Hi,aliases:{},register:0};if(fn(),e!==n){if(pt[t])return;xt(n,xt(Ti(e,i),o)),cn(n.prototype,cn(i,Ti(e,o))),pt[n.prop=t]=n,e.targetTest&&(bi.push(n),Do[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}ta(t,n),e.register&&e.register(je,n,ot)}else _a.push(e)},ae=255,Dn={aqua:[0,ae,ae],lime:[0,ae,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,ae],navy:[0,0,128],white:[ae,ae,ae],olive:[128,128,0],yellow:[ae,ae,0],orange:[ae,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[ae,0,0],pink:[ae,192,203],cyan:[0,ae,ae],transparent:[ae,ae,ae,0]},ho=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)*ae+.5|0},va=function(e,t,r){var n=e?or(e)?[e>>16,e>>8&ae,e&ae]:0:Dn.black,i,o,s,l,c,u,f,p,d,m;if(!n){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Dn[e])n=Dn[e];else if(e.charAt(0)==="#"){if(e.length<6&&(i=e.charAt(1),o=e.charAt(2),s=e.charAt(3),e="#"+i+i+o+o+s+s+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return n=parseInt(e.substr(1,6),16),[n>>16,n>>8&ae,n&ae,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),n=[e>>16,e>>8&ae,e&ae]}else if(e.substr(0,3)==="hsl"){if(n=m=e.match(Ws),!t)l=+n[0]%360/360,c=+n[1]/100,u=+n[2]/100,o=u<=.5?u*(c+1):u+c-u*c,i=u*2-o,n.length>3&&(n[3]*=1),n[0]=ho(l+1/3,i,o),n[1]=ho(l,i,o),n[2]=ho(l-1/3,i,o);else if(~e.indexOf("="))return n=e.match(Po),r&&n.length<4&&(n[3]=1),n}else n=e.match(Ws)||Dn.transparent;n=n.map(Number)}return t&&!m&&(i=n[0]/ae,o=n[1]/ae,s=n[2]/ae,f=Math.max(i,o,s),p=Math.min(i,o,s),u=(f+p)/2,f===p?l=c=0:(d=f-p,c=u>.5?d/(2-f-p):d/(f+p),l=f===i?(o-s)/d+(o<s?6:0):f===o?(s-i)/d+2:(i-o)/d+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},ba=function(e){var t=[],r=[],n=-1;return e.split(ir).forEach(function(i){var o=i.match(zr)||[];t.push.apply(t,o),r.push(n+=o.length+1)}),t.c=r,t},Ks=function(e,t,r){var n="",i=(e+n).match(ir),o=t?"hsla(":"rgba(",s=0,l,c,u,f;if(!i)return e;if(i=i.map(function(p){return(p=va(p,t,1))&&o+(t?p[0]+","+p[1]+"%,"+p[2]+"%,"+p[3]:p.join(","))+")"}),r&&(u=ba(e),l=r.c,l.join(n)!==u.c.join(n)))for(c=e.replace(ir,"1").split(zr),f=c.length-1;s<f;s++)n+=c[s]+(~l.indexOf(s)?i.shift()||o+"0,0,0,0)":(u.length?u:i.length?i:r).shift());if(!c)for(c=e.split(ir),f=c.length-1;s<f;s++)n+=c[s]+i[s];return n+c[f]},ir=function(){var a="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in Dn)a+="|"+e+"\\b";return new RegExp(a+")","gi")}(),ou=/hsl[a]?\(/,No=function(e){var t=e.join(" "),r;if(ir.lastIndex=0,ir.test(t))return r=ou.test(t),e[1]=Ks(e[1],r),e[0]=Ks(e[0],r,ba(e[1])),!0},zn,ht=function(){var a=Date.now,e=500,t=33,r=a(),n=r,i=1e3/240,o=i,s=[],l,c,u,f,p,d,m=function h(g){var b=a()-n,_=g===!0,v,w,E,L;if((b>e||b<0)&&(r+=b-t),n+=b,E=n-r,v=E-o,(v>0||_)&&(L=++f.frame,p=E-f.time*1e3,f.time=E=E/1e3,o+=v+(v>=i?4:i-v),w=1),_||(l=c(h)),w)for(d=0;d<s.length;d++)s[d](E,p,L,g)};return f={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(g){return p/(1e3/(g||60))},wake:function(){Js&&(!bo&&Co()&&(Ut=bo=window,Oo=Ut.document||{},Et.gsap=je,(Ut.gsapVersions||(Ut.gsapVersions=[])).push(je.version),ea(Ei||Ut.GreenSockGlobals||!Ut.gsap&&Ut||{}),_a.forEach(ya)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&f.sleep(),c=u||function(g){return setTimeout(g,o-f.time*1e3+1|0)},zn=1,m(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(l),zn=0,c=Nn},lagSmoothing:function(g,b){e=g||1/0,t=Math.min(b||33,e)},fps:function(g){i=1e3/(g||240),o=f.time*1e3+i},add:function(g,b,_){var v=b?function(w,E,L,T){g(w,E,L,T),f.remove(v)}:g;return f.remove(g),s[_?"unshift":"push"](v),fn(),v},remove:function(g,b){~(b=s.indexOf(g))&&s.splice(b,1)&&d>=b&&d--},_listeners:s},f}(),fn=function(){return!zn&&ht.wake()},J={},su=/^[\d.\-M][\d.\-,\s]/,au=/["']/g,lu=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),n=r[0],i=1,o=r.length,s,l,c;i<o;i++)l=r[i],s=i!==o-1?l.lastIndexOf(","):l.length,c=l.substr(0,s),t[n]=isNaN(c)?c.replace(au,"").trim():+c,n=l.substr(s+1).trim();return t},cu=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)},uu=function(e){var t=(e+"").split("("),r=J[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[lu(t[1])]:cu(e).split(",").map(ia)):J._CE&&su.test(e)?J._CE("",e):r},wa=function(e){return function(t){return 1-e(1-t)}},Ea=function a(e,t){for(var r=e._first,n;r;)r instanceof Be?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},Fr=function(e,t){return e&&(we(e)?e:J[e]||uu(e))||t},Wr=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},o;return it(e,function(s){J[s]=Et[s]=i,J[o=s.toLowerCase()]=r;for(var l in i)J[o+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=J[s+"."+l]=i[l]}),i},xa=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},mo=function a(e,t,r){var n=t>=1?t:1,i=(r||(e?.3:.45))/(t<1?t:1),o=i/vo*(Math.asin(1/n)||0),s=function(u){return u===1?1:n*Math.pow(2,-10*u)*Ic((u-o)*i)+1},l=e==="out"?s:e==="in"?function(c){return 1-s(1-c)}:xa(s);return i=vo/i,l.config=function(c,u){return a(e,c,u)},l},go=function a(e,t){t===void 0&&(t=1.70158);var r=function(o){return o?--o*o*((t+1)*o+t)+1:0},n=e==="out"?r:e==="in"?function(i){return 1-r(1-i)}:xa(r);return n.config=function(i){return a(e,i)},n};it("Linear,Quad,Cubic,Quart,Quint,Strong",function(a,e){var t=e<5?e+1:e;Wr(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})});J.Linear.easeNone=J.none=J.Linear.easeIn;Wr("Elastic",mo("in"),mo("out"),mo());(function(a,e){var t=1/e,r=2*t,n=2.5*t,i=function(s){return s<t?a*s*s:s<r?a*Math.pow(s-1.5/e,2)+.75:s<n?a*(s-=2.25/e)*s+.9375:a*Math.pow(s-2.625/e,2)+.984375};Wr("Bounce",function(o){return 1-i(1-o)},i)})(7.5625,2.75);Wr("Expo",function(a){return Math.pow(2,10*(a-1))*a+a*a*a*a*a*a*(1-a)});Wr("Circ",function(a){return-(Qs(1-a*a)-1)});Wr("Sine",function(a){return a===1?1:-Dc(a*Hc)+1});Wr("Back",go("in"),go("out"),go());J.SteppedEase=J.steps=Et.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,n=e+(t?0:1),i=t?1:0,o=1-le;return function(s){return((n*Wn(0,o,s)|0)+i)*r}}};ln.ease=J["quad.out"];it("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(a){return Io+=a+","+a+"Params,"});var zo=function(e,t){this.id=Oc++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:qo,this.set=t?t.getSetter:Hi},Bn=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,dn(this,+t.duration,1,1),this.data=t.data,fe&&(this._ctx=fe,fe.data.push(this)),zn||ht.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,dn(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(Pi(this,r),!i._dp||i.parent||aa(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)===le||!this._initted&&this._dur&&r||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),na(this,r,n)),this},e.time=function(r,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Ys(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)+Ys(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?un(this._tTime,i)+1:1},e.timeScale=function(r,n){if(!arguments.length)return this._rts===-le?0:this._rts;if(this._rts===r)return this;var i=this.parent&&this._ts?Si(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-le?0:this._rts,this.totalTime(Wn(-Math.abs(this._delay),this.totalDuration(),i),n!==!1),Ci(this),Yc(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)!==le&&(this._tTime-=le)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=ge(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+(mt(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?Si(n.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=Bc);var n=We;return We=r,Fo(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),We=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,Us(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var n=this._time;return this._rDelay=r,Us(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(Ct(this,r),mt(n))},e.restart=function(r,n){return this.play().totalTime(r?-this._delay:0,mt(n)),this._dur||(this._zTime=-le),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?-le:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-le,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)-le)},e.eventCallback=function(r,n,i){var o=this.vars;return arguments.length>1?(n?(o[r]=n,i&&(o[r+"Params"]=i),r==="onUpdate"&&(this._onUpdate=n)):delete o[r],this):o[r]},e.then=function(r){var n=this,i=n._prom;return new Promise(function(o){var s=we(r)?r:oa,l=function(){var u=n.then;n.then=null,i&&i(),we(s)&&(s=s(n))&&(s.then||s===n)&&(n.then=u),o(s),n.then=u};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?l():n._prom=l})},e.kill=function(){On(this)},a}();xt(Bn.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:-le,_prom:0,_ps:!1,_rts:1});var Be=function(a){js(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=mt(r.sortChildren),_e&&Xt(r.parent||_e,nr(i),n),r.reversed&&i.reverse(),r.paused&&i.paused(!0),r.scrollTrigger&&la(nr(i),r.scrollTrigger),i}var t=e.prototype;return t.to=function(n,i,o){return Rn(0,arguments,this),this},t.from=function(n,i,o){return Rn(1,arguments,this),this},t.fromTo=function(n,i,o,s){return Rn(2,arguments,this),this},t.set=function(n,i,o){return i.duration=0,i.parent=this,In(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new Me(n,i,Ct(this,o),1),this},t.call=function(n,i,o){return Xt(this,Me.delayedCall(0,n,i),o)},t.staggerTo=function(n,i,o,s,l,c,u){return o.duration=i,o.stagger=o.stagger||s,o.onComplete=c,o.onCompleteParams=u,o.parent=this,new Me(n,o,Ct(this,l)),this},t.staggerFrom=function(n,i,o,s,l,c,u){return o.runBackwards=1,In(o).immediateRender=mt(o.immediateRender),this.staggerTo(n,i,o,s,l,c,u)},t.staggerFromTo=function(n,i,o,s,l,c,u,f){return s.startAt=o,In(s).immediateRender=mt(s.immediateRender),this.staggerTo(n,i,s,l,c,u,f)},t.render=function(n,i,o){var s=this._time,l=this._dirty?this.totalDuration():this._tDur,c=this._dur,u=n<=0?0:ge(n),f=this._zTime<0!=n<0&&(this._initted||!c),p,d,m,h,g,b,_,v,w,E,L,T;if(this!==_e&&u>l&&n>=0&&(u=l),u!==this._tTime||o||f){if(s!==this._time&&c&&(u+=this._time-s,n+=this._time-s),p=u,w=this._start,v=this._ts,b=!v,f&&(c||(s=this._zTime),(n||!i)&&(this._zTime=n)),this._repeat){if(L=this._yoyo,g=c+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(g*100+n,i,o);if(p=ge(u%g),u===l?(h=this._repeat,p=c):(E=ge(u/g),h=~~E,h&&h===E&&(p=c,h--),p>c&&(p=c)),E=un(this._tTime,g),!s&&this._tTime&&E!==h&&this._tTime-E*g-this._dur<=0&&(E=h),L&&h&1&&(p=c-p,T=1),h!==E&&!this._lock){var A=L&&E&1,M=A===(L&&h&1);if(h<E&&(A=!A),s=A?0:u%c?c:u,this._lock=1,this.render(s||(T?0:ge(h*g)),i,!c)._lock=0,this._tTime=u,!i&&this.parent&&wt(this,"onRepeat"),this.vars.repeatRefresh&&!T&&(this.invalidate()._lock=1,E=h),s&&s!==this._time||b!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(c=this._dur,l=this._tDur,M&&(this._lock=2,s=A?c:-1e-4,this.render(s,!0),this.vars.repeatRefresh&&!T&&this.invalidate()),this._lock=0,!this._ts&&!b)return this;Ea(this,T)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(_=$c(this,ge(s),ge(p)),_&&(u-=p-(p=_._start))),this._tTime=u,this._time=p,this._act=!v,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,s=0),!s&&u&&c&&!i&&!E&&(wt(this,"onStart"),this._tTime!==u))return this;if(p>=s&&n>=0)for(d=this._first;d;){if(m=d._next,(d._act||p>=d._start)&&d._ts&&_!==d){if(d.parent!==this)return this.render(n,i,o);if(d.render(d._ts>0?(p-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(p-d._start)*d._ts,i,o),p!==this._time||!this._ts&&!b){_=0,m&&(u+=this._zTime=-le);break}}d=m}else{d=this._last;for(var x=n<0?n:p;d;){if(m=d._prev,(d._act||x<=d._end)&&d._ts&&_!==d){if(d.parent!==this)return this.render(n,i,o);if(d.render(d._ts>0?(x-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(x-d._start)*d._ts,i,o||We&&Fo(d)),p!==this._time||!this._ts&&!b){_=0,m&&(u+=this._zTime=x?-le:le);break}}d=m}}if(_&&!i&&(this.pause(),_.render(p>=s?0:-le)._zTime=p>=s?1:-1,this._ts))return this._start=w,Ci(this),this.render(n,i,o);this._onUpdate&&!i&&wt(this,"onUpdate",!0),(u===l&&this._tTime>=this.totalDuration()||!u&&s)&&(w===this._start||Math.abs(v)!==Math.abs(this._ts))&&(this._lock||((n||!c)&&(u===l&&this._ts>0||!u&&this._ts<0)&&Er(this,1),!i&&!(n<0&&!s)&&(u||s||!l)&&(wt(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 o=this;if(or(i)||(i=Ct(this,i,n)),!(n instanceof Bn)){if($e(n))return n.forEach(function(s){return o.add(s,i)}),this;if(He(n))return this.addLabel(n,i);if(we(n))n=Me.delayedCall(0,n);else return this}return this!==n?Xt(this,n,i):this},t.getChildren=function(n,i,o,s){n===void 0&&(n=!0),i===void 0&&(i=!0),o===void 0&&(o=!0),s===void 0&&(s=-Pt);for(var l=[],c=this._first;c;)c._start>=s&&(c instanceof Me?i&&l.push(c):(o&&l.push(c),n&&l.push.apply(l,c.getChildren(!0,i,o)))),c=c._next;return l},t.getById=function(n){for(var i=this.getChildren(1,1,1),o=i.length;o--;)if(i[o].vars.id===n)return i[o]},t.remove=function(n){return He(n)?this.removeLabel(n):we(n)?this.killTweensOf(n):(n.parent===this&&ki(this,n),n===this._recent&&(this._recent=this._last),qr(this))},t.totalTime=function(n,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ge(ht.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]=Ct(this,i),this},t.removeLabel=function(n){return delete this.labels[n],this},t.addPause=function(n,i,o){var s=Me.delayedCall(0,i||Nn,o);return s.data="isPause",this._hasPause=1,Xt(this,s,Ct(this,n))},t.removePause=function(n){var i=this._first;for(n=Ct(this,n);i;)i._start===n&&i.data==="isPause"&&Er(i),i=i._next},t.killTweensOf=function(n,i,o){for(var s=this.getTweensOf(n,o),l=s.length;l--;)vr!==s[l]&&s[l].kill(n,i);return this},t.getTweensOf=function(n,i){for(var o=[],s=Ht(n),l=this._first,c=or(i),u;l;)l instanceof Me?Wc(l._targets,s)&&(c?(!vr||l._initted&&l._ts)&&l.globalTime(0)<=i&&l.globalTime(l.totalDuration())>i:!i||l.isActive())&&o.push(l):(u=l.getTweensOf(s,i)).length&&o.push.apply(o,u),l=l._next;return o},t.tweenTo=function(n,i){i=i||{};var o=this,s=Ct(o,n),l=i,c=l.startAt,u=l.onStart,f=l.onStartParams,p=l.immediateRender,d,m=Me.to(o,xt({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:s,overwrite:"auto",duration:i.duration||Math.abs((s-(c&&"time"in c?c.time:o._time))/o.timeScale())||le,onStart:function(){if(o.pause(),!d){var g=i.duration||Math.abs((s-(c&&"time"in c?c.time:o._time))/o.timeScale());m._dur!==g&&dn(m,g,0,1).render(m._time,!0,!0),d=1}u&&u.apply(m,f||[])}},i));return p?m.render(0):m},t.tweenFromTo=function(n,i,o){return this.tweenTo(i,xt({startAt:{time:Ct(this,n)}},o))},t.recent=function(){return this._recent},t.nextLabel=function(n){return n===void 0&&(n=this._time),Xs(this,Ct(this,n))},t.previousLabel=function(n){return n===void 0&&(n=this._time),Xs(this,Ct(this,n),1)},t.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+le)},t.shiftChildren=function(n,i,o){o===void 0&&(o=0);var s=this._first,l=this.labels,c;for(n=ge(n);s;)s._start>=o&&(s._start+=n,s._end+=n),s=s._next;if(i)for(c in l)l[c]>=o&&(l[c]+=n);return qr(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,o;i;)o=i._next,this.remove(i),i=o;return this._dp&&(this._time=this._tTime=this._pTime=0),n&&(this.labels={}),qr(this)},t.totalDuration=function(n){var i=0,o=this,s=o._last,l=Pt,c,u,f;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-n:n));if(o._dirty){for(f=o.parent;s;)c=s._prev,s._dirty&&s.totalDuration(),u=s._start,u>l&&o._sort&&s._ts&&!o._lock?(o._lock=1,Xt(o,s,u-s._delay,1)._lock=0):l=u,u<0&&s._ts&&(i-=u,(!f&&!o._dp||f&&f.smoothChildTiming)&&(o._start+=ge(u/o._ts),o._time-=u,o._tTime-=u),o.shiftChildren(-u,!1,-1/0),l=0),s._end>i&&s._ts&&(i=s._end),s=c;dn(o,o===_e&&o._time>i?o._time:i,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(n){if(_e._ts&&(na(_e,Si(n,_e)),ra=ht.frame),ht.frame>=Gs){Gs+=gt.autoSleep||120;var i=_e._first;if((!i||!i._ts)&>.autoSleep&&ht._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||ht.sleep()}}},e}(Bn);xt(Be.prototype,{_lock:0,_hasPause:0,_forcing:0});var du=function(e,t,r,n,i,o,s){var l=new ot(this._pt,e,t,0,1,Yo,null,i),c=0,u=0,f,p,d,m,h,g,b,_;for(l.b=r,l.e=n,r+="",n+="",(b=~n.indexOf("random("))&&(n=pn(n)),o&&(_=[r,n],o(_,e,t),r=_[0],n=_[1]),p=r.match(fo)||[];f=fo.exec(n);)m=f[0],h=n.substring(c,f.index),d?d=(d+1)%5:h.substr(-5)==="rgba("&&(d=1),m!==p[u++]&&(g=parseFloat(p[u-1])||0,l._pt={_next:l._pt,p:h||u===1?h:",",s:g,c:m.charAt(1)==="="?Br(g,m)-g:parseFloat(m)-g,m:d&&d<4?Math.round:0},c=fo.lastIndex);return l.c=c<n.length?n.substring(c,n.length):"",l.fp=s,(Ho.test(n)||b)&&(l.e=0),this._pt=l,l},Bo=function(e,t,r,n,i,o,s,l,c,u){we(n)&&(n=n(i||0,e,o));var f=e[t],p=r!=="get"?r:we(f)?c?e[t.indexOf("set")||!we(e["get"+t.substr(3)])?t:"get"+t.substr(3)](c):e[t]():f,d=we(f)?c?gu:La:Vo,m;if(He(n)&&(~n.indexOf("random(")&&(n=pn(n)),n.charAt(1)==="="&&(m=Br(p,n)+(Ge(p)||0),(m||m===0)&&(n=m))),!u||p!==n||Mo)return!isNaN(p*n)&&n!==""?(m=new ot(this._pt,e,t,+p||0,n-(p||0),typeof f=="boolean"?yu:Ma,0,d),c&&(m.fp=c),s&&m.modifier(s,this,e),this._pt=m):(!f&&!(t in e)&&Ai(t,n),du.call(this,e,t,p,n,d,l||gt.stringFilter,c))},fu=function(e,t,r,n,i){if(we(e)&&(e=qn(e,i,t,r,n)),!Kt(e)||e.style&&e.nodeType||$e(e)||Zs(e))return He(e)?qn(e,i,t,r,n):e;var o={},s;for(s in e)o[s]=qn(e[s],i,t,r,n);return o},Wo=function(e,t,r,n,i,o){var s,l,c,u;if(pt[e]&&(s=new pt[e]).init(i,s.rawVars?t[e]:fu(t[e],n,i,o,r),r,n,o)!==!1&&(r._pt=l=new ot(r._pt,i,e,0,1,s.render,s,0,s.priority),r!==an))for(c=r._ptLookup[r._targets.indexOf(i)],u=s._props.length;u--;)c[s._props[u]]=l;return s},vr,Mo,Go=function a(e,t,r){var n=e.vars,i=n.ease,o=n.startAt,s=n.immediateRender,l=n.lazy,c=n.onUpdate,u=n.runBackwards,f=n.yoyoEase,p=n.keyframes,d=n.autoRevert,m=e._dur,h=e._startAt,g=e._targets,b=e.parent,_=b&&b.data==="nested"?b.vars.targets:g,v=e._overwrite==="auto"&&!ko,w=e.timeline,E,L,T,A,M,x,P,k,I,N,G,F,C;if(w&&(!p||!i)&&(i="none"),e._ease=Fr(i,ln.ease),e._yEase=f?wa(Fr(f===!0?i:f,ln.ease)):0,f&&e._yoyo&&!e._repeat&&(f=e._yEase,e._yEase=e._ease,e._ease=f),e._from=!w&&!!n.runBackwards,!w||p&&!n.stagger){if(k=g[0]?wr(g[0]).harness:0,F=k&&n[k.prop],E=Ti(n,Do),h&&(h._zTime<0&&h.progress(1),t<0&&u&&s&&!d?h.render(-1,!0):h.revert(u&&m?vi:zc),h._lazy=0),o){if(Er(e._startAt=Me.set(g,xt({data:"isStart",overwrite:!1,parent:b,immediateRender:!0,lazy:!h&&mt(l),startAt:null,delay:0,onUpdate:c&&function(){return wt(e,"onUpdate")},stagger:0},o))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(We||!s&&!d)&&e._startAt.revert(vi),s&&m&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(u&&m&&!h){if(t&&(s=!1),T=xt({overwrite:!1,data:"isFromStart",lazy:s&&!h&&mt(l),immediateRender:s,stagger:0,parent:b},E),F&&(T[k.prop]=F),Er(e._startAt=Me.set(g,T)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(We?e._startAt.revert(vi):e._startAt.render(-1,!0)),e._zTime=t,!s)a(e._startAt,le,le);else if(!t)return}for(e._pt=e._ptCache=0,l=m&&mt(l)||l&&!m,L=0;L<g.length;L++){if(M=g[L],P=M._gsap||Ro(g)[L]._gsap,e._ptLookup[L]=N={},wo[P.id]&&br.length&&xi(),G=_===g?L:_.indexOf(M),k&&(I=new k).init(M,F||E,e,G,_)!==!1&&(e._pt=A=new ot(e._pt,M,I.name,0,1,I.render,I,0,I.priority),I._props.forEach(function(z){N[z]=A}),I.priority&&(x=1)),!k||F)for(T in E)pt[T]&&(I=Wo(T,E,e,G,M,_))?I.priority&&(x=1):N[T]=A=Bo.call(e,M,T,"get",E[T],G,_,0,n.stringFilter);e._op&&e._op[L]&&e.kill(M,e._op[L]),v&&e._pt&&(vr=e,_e.killTweensOf(M,N,e.globalTime(t)),C=!e.parent,vr=0),e._pt&&l&&(wo[P.id]=1)}x&&Xo(e),e._onInit&&e._onInit(e)}e._onUpdate=c,e._initted=(!e._op||e._pt)&&!C,p&&t<=0&&w.render(Pt,!0,!0)},pu=function(e,t,r,n,i,o,s,l){var c=(e._pt&&e._ptCache||(e._ptCache={}))[t],u,f,p,d;if(!c)for(c=e._ptCache[t]=[],p=e._ptLookup,d=e._targets.length;d--;){if(u=p[d][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 Mo=1,e.vars[t]="+=0",Go(e,s),Mo=0,l?Fn(t+" not eligible for reset"):1;c.push(u)}for(d=c.length;d--;)f=c[d],u=f._pt||f,u.s=(n||n===0)&&!i?n:u.s+(n||0)+o*u.c,u.c=r-u.s,f.e&&(f.e=Ee(r)+Ge(f.e)),f.b&&(f.b=u.s+Ge(f.b))},hu=function(e,t){var r=e[0]?wr(e[0]).harness:0,n=r&&r.aliases,i,o,s,l;if(!n)return t;i=cn({},t);for(o in n)if(o in i)for(l=n[o].split(","),s=l.length;s--;)i[l[s]]=i[o];return i},mu=function(e,t,r,n){var i=t.ease||n||"power1.inOut",o,s;if($e(t))s=r[e]||(r[e]=[]),t.forEach(function(l,c){return s.push({t:c/(t.length-1)*100,v:l,e:i})});else for(o in t)s=r[o]||(r[o]=[]),o==="ease"||s.push({t:parseFloat(e),v:t[o],e:i})},qn=function(e,t,r,n,i){return we(e)?e.call(t,r,n,i):He(e)&&~e.indexOf("random(")?pn(e):e},Ta=Io+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Sa={};it(Ta+",id,stagger,delay,duration,paused,scrollTrigger",function(a){return Sa[a]=1});var Me=function(a){js(e,a);function e(r,n,i,o){var s;typeof n=="number"&&(i.duration=n,n=i,i=null),s=a.call(this,o?n:In(n))||this;var l=s.vars,c=l.duration,u=l.delay,f=l.immediateRender,p=l.stagger,d=l.overwrite,m=l.keyframes,h=l.defaults,g=l.scrollTrigger,b=l.yoyoEase,_=n.parent||_e,v=($e(r)||Zs(r)?or(r[0]):"length"in n)?[r]:Ht(r),w,E,L,T,A,M,x,P;if(s._targets=v.length?Ro(v):Fn("GSAP target "+r+" not found. https://gsap.com",!gt.nullTargetWarn)||[],s._ptLookup=[],s._overwrite=d,m||p||yi(c)||yi(u)){if(n=s.vars,w=s.timeline=new Be({data:"nested",defaults:h||{},targets:_&&_.data==="nested"?_.vars.targets:v}),w.kill(),w.parent=w._dp=nr(s),w._start=0,p||yi(c)||yi(u)){if(T=v.length,x=p&&fa(p),Kt(p))for(A in p)~Ta.indexOf(A)&&(P||(P={}),P[A]=p[A]);for(E=0;E<T;E++)L=Ti(n,Sa),L.stagger=0,b&&(L.yoyoEase=b),P&&cn(L,P),M=v[E],L.duration=+qn(c,nr(s),E,M,v),L.delay=(+qn(u,nr(s),E,M,v)||0)-s._delay,!p&&T===1&&L.delay&&(s._delay=u=L.delay,s._start+=u,L.delay=0),w.to(M,L,x?x(E,M,v):0),w._ease=J.none;w.duration()?c=u=0:s.timeline=0}else if(m){In(xt(w.vars.defaults,{ease:"none"})),w._ease=Fr(m.ease||n.ease||"none");var k=0,I,N,G;if($e(m))m.forEach(function(F){return w.to(v,F,">")}),w.duration();else{L={};for(A in m)A==="ease"||A==="easeEach"||mu(A,m[A],L,m.easeEach);for(A in L)for(I=L[A].sort(function(F,C){return F.t-C.t}),k=0,E=0;E<I.length;E++)N=I[E],G={ease:N.e,duration:(N.t-(E?I[E-1].t:0))/100*c},G[A]=N.v,w.to(v,G,k),k+=G.duration;w.duration()<c&&w.to({},{duration:c-w.duration()})}}c||s.duration(c=w.duration())}else s.timeline=0;return d===!0&&!ko&&(vr=nr(s),_e.killTweensOf(v),vr=0),Xt(_,nr(s),i),n.reversed&&s.reverse(),n.paused&&s.paused(!0),(f||!c&&!m&&s._start===ge(_._time)&&mt(f)&&Uc(nr(s))&&_.data!=="nested")&&(s._tTime=-le,s.render(Math.max(0,-u)||0)),g&&la(nr(s),g),s}var t=e.prototype;return t.render=function(n,i,o){var s=this._time,l=this._tDur,c=this._dur,u=n<0,f=n>l-le&&!u?l:n<le?0:n,p,d,m,h,g,b,_,v,w;if(!c)Kc(this,n,i,o);else if(f!==this._tTime||!n||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u||this._lazy){if(p=f,v=this.timeline,this._repeat){if(h=c+this._rDelay,this._repeat<-1&&u)return this.totalTime(h*100+n,i,o);if(p=ge(f%h),f===l?(m=this._repeat,p=c):(g=ge(f/h),m=~~g,m&&m===g?(p=c,m--):p>c&&(p=c)),b=this._yoyo&&m&1,b&&(w=this._yEase,p=c-p),g=un(this._tTime,h),p===s&&!o&&this._initted&&m===g)return this._tTime=f,this;m!==g&&(v&&this._yEase&&Ea(v,b),this.vars.repeatRefresh&&!b&&!this._lock&&p!==h&&this._initted&&(this._lock=o=1,this.render(ge(h*m),!0).invalidate()._lock=0))}if(!this._initted){if(ca(this,u?n:p,o,i,f))return this._tTime=0,this;if(s!==this._time&&!(o&&this.vars.repeatRefresh&&m!==g))return this;if(c!==this._dur)return this.render(n,i,o)}if(this._tTime=f,this._time=p,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=_=(w||this._ease)(p/c),this._from&&(this.ratio=_=1-_),!s&&f&&!i&&!g&&(wt(this,"onStart"),this._tTime!==f))return this;for(d=this._pt;d;)d.r(_,d.d),d=d._next;v&&v.render(n<0?n:v._dur*v._ease(p/this._dur),i,o)||this._startAt&&(this._zTime=n),this._onUpdate&&!i&&(u&&Eo(this,n,i,o),wt(this,"onUpdate")),this._repeat&&m!==g&&this.vars.onRepeat&&!i&&this.parent&&wt(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(u&&!this._onUpdate&&Eo(this,n,!0,!0),(n||!c)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&Er(this,1),!i&&!(u&&!s)&&(f||s||b)&&(wt(this,f===l?"onComplete":"onReverseComplete",!0),this._prom&&!(f<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,o,s,l){zn||ht.wake(),this._ts||this.play();var c=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Go(this,c),u=this._ease(c/this._dur),pu(this,n,i,o,s,u,c,l)?this.resetTo(n,i,o,s,1):(Pi(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?On(this):this.scrollTrigger&&this.scrollTrigger.kill(!!We),this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(n,i,vr&&vr.vars.overwrite!==!0)._first||On(this),this.parent&&o!==this.timeline.totalDuration()&&dn(this,this._dur*this.timeline._tDur/o,0,1),this}var s=this._targets,l=n?Ht(n):s,c=this._ptLookup,u=this._pt,f,p,d,m,h,g,b;if((!i||i==="all")&&Vc(s,l))return i==="all"&&(this._pt=0),On(this);for(f=this._op=this._op||[],i!=="all"&&(He(i)&&(h={},it(i,function(_){return h[_]=1}),i=h),i=hu(s,i)),b=s.length;b--;)if(~l.indexOf(s[b])){p=c[b],i==="all"?(f[b]=i,m=p,d={}):(d=f[b]=f[b]||{},m=i);for(h in m)g=p&&p[h],g&&((!("kill"in g.d)||g.d.kill(h)===!0)&&ki(this,g,"_pt"),delete p[h]),d!=="all"&&(d[h]=1)}return this._initted&&!this._pt&&u&&On(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,o,s){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:i,onReverseComplete:i,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:s})},e.fromTo=function(n,i,o){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,o){return _e.killTweensOf(n,i,o)},e}(Bn);xt(Me.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});it("staggerTo,staggerFrom,staggerFromTo",function(a){Me[a]=function(){var e=new Be,t=To.call(arguments,0);return t.splice(a==="staggerFromTo"?5:4,0,0),e[a].apply(e,t)}});var Vo=function(e,t,r){return e[t]=r},La=function(e,t,r){return e[t](r)},gu=function(e,t,r,n){return e[t](n.fp,r)},_u=function(e,t,r){return e.setAttribute(t,r)},Hi=function(e,t){return we(e[t])?La:Mi(e[t])&&e.setAttribute?_u:Vo},Ma=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},yu=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Yo=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)},Uo=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},vu=function(e,t,r,n){for(var i=this._pt,o;i;)o=i._next,i.p===n&&i.modifier(e,t,r),i=o},bu=function(e){for(var t=this._pt,r,n;t;)n=t._next,t.p===e&&!t.op||t.op===e?ki(this,t,"_pt"):t.dep||(r=1),t=n;return!r},wu=function(e,t,r,n){n.mSet(e,t,n.m.call(n.tween,r,n.mt),n)},Xo=function(e){for(var t=e._pt,r,n,i,o;t;){for(r=t._next,n=i;n&&n.pr>t.pr;)n=n._next;(t._prev=n?n._prev:o)?t._prev._next=t:i=t,(t._next=n)?n._prev=t:o=t,t=r}e._pt=i},ot=function(){function a(t,r,n,i,o,s,l,c,u){this.t=r,this.s=i,this.c=o,this.p=n,this.r=s||Ma,this.d=l||this,this.set=c||Vo,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=wu,this.m=r,this.mt=i,this.tween=n},a}();it(Io+"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 Do[a]=1});Et.TweenMax=Et.TweenLite=Me;Et.TimelineLite=Et.TimelineMax=Be;_e=new Be({sortChildren:!1,defaults:ln,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});gt.stringFilter=No;var Nr=[],wi={},Eu=[],$s=0,xu=0,_o=function(e){return(wi[e]||Eu).map(function(t){return t()})},Ao=function(){var e=Date.now(),t=[];e-$s>2&&(_o("matchMediaInit"),Nr.forEach(function(r){var n=r.queries,i=r.conditions,o,s,l,c;for(s in n)o=Ut.matchMedia(n[s]).matches,o&&(l=1),o!==i[s]&&(i[s]=o,c=1);c&&(r.revert(),l&&t.push(r))}),_o("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(n){return r.add(null,n)})}),$s=e,_o("matchMedia"))},Aa=function(){function a(t,r){this.selector=r&&So(r),this.data=[],this._r=[],this.isReverted=!1,this.id=xu++,t&&this.add(t)}var e=a.prototype;return e.add=function(r,n,i){we(r)&&(i=n,n=r,r=we);var o=this,s=function(){var c=fe,u=o.selector,f;return c&&c!==o&&c.data.push(o),i&&(o.selector=So(i)),fe=o,f=n.apply(o,arguments),we(f)&&o._r.push(f),fe=c,o.selector=u,o.isReverted=!1,f};return o.last=s,r===we?s(o,function(l){return o.add(null,l)}):r?o[r]=s:s},e.ignore=function(r){var n=fe;fe=null,r(this),fe=n},e.getTweens=function(){var r=[];return this.data.forEach(function(n){return n instanceof a?r.push.apply(r,n.getTweens()):n instanceof Me&&!(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 s=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 s.splice(s.indexOf(u),1)}));for(s.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,f){return f.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),l=i.data.length;l--;)c=i.data[l],c instanceof Be?c.data!=="nested"&&(c.scrollTrigger&&c.scrollTrigger.revert(),c.kill()):!(c instanceof Me)&&c.revert&&c.revert(r);i._r.forEach(function(u){return u(r,i)}),i.isReverted=!0}():this.data.forEach(function(s){return s.kill&&s.kill()}),this.clear(),n)for(var o=Nr.length;o--;)Nr[o].id===this.id&&Nr.splice(o,1)},e.revert=function(r){this.kill(r||{})},a}(),Tu=function(){function a(t){this.contexts=[],this.scope=t,fe&&fe.data.push(this)}var e=a.prototype;return e.add=function(r,n,i){Kt(r)||(r={matches:r});var o=new Aa(0,i||this.scope),s=o.conditions={},l,c,u;fe&&!o.selector&&(o.selector=fe.selector),this.contexts.push(o),n=o.add("onMatch",n),o.queries=r;for(c in r)c==="all"?u=1:(l=Ut.matchMedia(r[c]),l&&(Nr.indexOf(o)<0&&Nr.push(o),(s[c]=l.matches)&&(u=1),l.addListener?l.addListener(Ao):l.addEventListener("change",Ao)));return u&&n(o,function(f){return o.add(null,f)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(n){return n.kill(r,!0)})},a}(),Li={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 ya(n)})},timeline:function(e){return new Be(e)},getTweensOf:function(e,t){return _e.getTweensOf(e,t)},getProperty:function(e,t,r,n){He(e)&&(e=Ht(e)[0]);var i=wr(e||{}).get,o=r?oa:ia;return r==="native"&&(r=""),e&&(t?o((pt[t]&&pt[t].get||i)(e,t,r,n)):function(s,l,c){return o((pt[s]&&pt[s].get||i)(e,s,l,c))})},quickSetter:function(e,t,r){if(e=Ht(e),e.length>1){var n=e.map(function(u){return je.quickSetter(u,t,r)}),i=n.length;return function(u){for(var f=i;f--;)n[f](u)}}e=e[0]||{};var o=pt[t],s=wr(e),l=s.harness&&(s.harness.aliases||{})[t]||t,c=o?function(u){var f=new o;an._pt=0,f.init(e,r?u+r:u,an,0,[e]),f.render(1,f),an._pt&&Uo(1,an)}:s.set(e,l);return o?c:function(u){return c(e,l,r?u+r:u,s,1)}},quickTo:function(e,t,r){var n,i=je.to(e,xt((n={},n[t]="+=0.1",n.paused=!0,n.stagger=0,n),r||{})),o=function(l,c,u){return i.resetTo(t,l,c,u)};return o.tween=i,o},isTweening:function(e){return _e.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Fr(e.ease,ln.ease)),Vs(ln,e||{})},config:function(e){return Vs(gt,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,n=e.plugins,i=e.defaults,o=e.extendTimeline;(n||"").split(",").forEach(function(s){return s&&!pt[s]&&!Et[s]&&Fn(t+" effect requires "+s+" plugin.")}),po[t]=function(s,l,c){return r(Ht(s),xt(l||{},i),c)},o&&(Be.prototype[t]=function(s,l,c){return this.add(po[t](s,Kt(l)?l:(c=l)&&{},this),c)})},registerEase:function(e,t){J[e]=Fr(t)},parseEase:function(e,t){return arguments.length?Fr(e,t):J},getById:function(e){return _e.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new Be(e),n,i;for(r.smoothChildTiming=mt(e.smoothChildTiming),_e.remove(r),r._dp=0,r._time=r._tTime=_e._time,n=_e._first;n;)i=n._next,(t||!(!n._dur&&n instanceof Me&&n.vars.onComplete===n._targets[0]))&&Xt(r,n,n._start-n._delay),n=i;return Xt(_e,r,0),r},context:function(e,t){return e?new Aa(e,t):fe},matchMedia:function(e){return new Tu(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()})||Ao()},addEventListener:function(e,t){var r=wi[e]||(wi[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=wi[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},utils:{wrap:ru,wrapYoyo:nu,distribute:fa,random:ha,snap:pa,normalize:tu,getUnit:Ge,clamp:Qc,splitColor:va,toArray:Ht,selector:So,mapRange:ga,pipe:Jc,unitize:eu,interpolate:iu,shuffle:da},install:ea,effects:po,ticker:ht,updateRoot:Be.updateRoot,plugins:pt,globalTimeline:_e,core:{PropTween:ot,globals:ta,Tween:Me,Timeline:Be,Animation:Bn,getCache:wr,_removeLinkedListItem:ki,reverting:function(){return We},context:function(e){return e&&fe&&(fe.data.push(e),e._ctx=fe),fe},suppressOverwrites:function(e){return ko=e}}};it("to,from,fromTo,delayedCall,set,killTweensOf",function(a){return Li[a]=Me[a]});ht.add(Be.updateRoot);an=Li.to({},{duration:0});var Su=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},Lu=function(e,t){var r=e._targets,n,i,o;for(n in t)for(i=r.length;i--;)o=e._ptLookup[i][n],o&&(o=o.d)&&(o._pt&&(o=Su(o,n)),o&&o.modifier&&o.modifier(t[n],e,r[i],n))},yo=function(e,t){return{name:e,headless:1,rawVars:1,init:function(n,i,o){o._onInit=function(s){var l,c;if(He(i)&&(l={},it(i,function(u){return l[u]=1}),i=l),t){l={};for(c in i)l[c]=t(i[c]);i=l}Lu(s,i)}}}},je=Li.registerPlugin({name:"attr",init:function(e,t,r,n,i){var o,s,l;this.tween=r;for(o in t)l=e.getAttribute(o)||"",s=this.add(e,"setAttribute",(l||0)+"",t[o],n,i,0,0,o),s.op=o,s.b=l,this._props.push(o)},render:function(e,t){for(var r=t._pt;r;)We?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)}},yo("roundProps",Lo),yo("modifiers"),yo("snap",pa))||Li;Me.version=Be.version=je.version="3.14.2";Js=1;Co()&&fn();var Mu=J.Power0,Au=J.Power1,ku=J.Power2,Cu=J.Power3,Pu=J.Power4,Hu=J.Linear,Ou=J.Quad,Du=J.Cubic,Iu=J.Quart,Ru=J.Quint,qu=J.Strong,Fu=J.Elastic,Nu=J.Back,zu=J.SteppedEase,Bu=J.Bounce,Wu=J.Sine,Gu=J.Expo,Vu=J.Circ;var ka,Tr,mn,Jo,Ur,Yu,Ca,es,Uu=function(){return typeof window<"u"},ar={},Yr=180/Math.PI,gn=Math.PI/180,hn=Math.atan2,Pa=1e8,ts=/([A-Z])/g,Xu=/(left|right|width|margin|padding|x)/i,Ku=/[\s,\(]\S/,$t={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},$o=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},$u=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)},ju=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)},Qu=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)},Zu=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)},za=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},Ju=function(e,t,r){return e.style[t]=r},ed=function(e,t,r){return e.style.setProperty(t,r)},td=function(e,t,r){return e._gsap[t]=r},rd=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},nd=function(e,t,r,n,i){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(i,o)},id=function(e,t,r,n,i){var o=e._gsap;o[t]=r,o.renderTransform(i,o)},ye="transform",_t=ye+"Origin",od=function a(e,t){var r=this,n=this.target,i=n.style,o=n._gsap;if(e in ar&&i){if(this.tfm=this.tfm||{},e!=="transform")e=$t[e]||e,~e.indexOf(",")?e.split(",").forEach(function(s){return r.tfm[s]=sr(n,s)}):this.tfm[e]=o.x?o[e]:sr(n,e),e===_t&&(this.tfm.zOrigin=o.zOrigin);else return $t.transform.split(",").forEach(function(s){return a.call(r,s,t)});if(this.props.indexOf(ye)>=0)return;o.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(_t,t,"")),e=ye}(i||t)&&this.props.push(e,t,i[e])},Ba=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},sd=function(){var e=this.props,t=this.target,r=t.style,n=t._gsap,i,o;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(ts,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)n[o]=this.tfm[o];n.svg&&(n.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),i=es(),(!i||!i.isStart)&&!r[ye]&&(Ba(r),n.zOrigin&&r[_t]&&(r[_t]+=" "+n.zOrigin+"px",n.zOrigin=0,n.renderTransform()),n.uncache=1)}},Wa=function(e,t){var r={target:e,props:[],revert:sd,save:od};return e._gsap||je.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(n){return r.save(n)}),r},Ga,jo=function(e,t){var r=Tr.createElementNS?Tr.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Tr.createElement(e);return r&&r.style?r:Tr.createElement(e)},Tt=function a(e,t,r){var n=getComputedStyle(e);return n[t]||n.getPropertyValue(t.replace(ts,"-$1").toLowerCase())||n.getPropertyValue(t)||!r&&a(e,_n(t)||t,1)||""},Ha="O,Moz,ms,Ms,Webkit".split(","),_n=function(e,t,r){var n=t||Ur,i=n.style,o=5;if(e in i&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(Ha[o]+e in i););return o<0?null:(o===3?"ms":o>=0?Ha[o]:"")+e},Qo=function(){Uu()&&window.document&&(ka=window,Tr=ka.document,mn=Tr.documentElement,Ur=jo("div")||{style:{}},Yu=jo("div"),ye=_n(ye),_t=ye+"Origin",Ur.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Ga=!!_n("perspective"),es=je.core.reverting,Jo=1)},Oa=function(e){var t=e.ownerSVGElement,r=jo("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=e.cloneNode(!0),i;n.style.display="block",r.appendChild(n),mn.appendChild(r);try{i=n.getBBox()}catch{}return r.removeChild(n),mn.removeChild(r),i},Da=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},Va=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},Ya=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Va(e))},Lr=function(e,t){if(t){var r=e.style,n;t in ar&&t!==_t&&(t=ye),r.removeProperty?(n=t.substr(0,2),(n==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(n==="--"?t:t.replace(ts,"-$1").toLowerCase())):r.removeAttribute(t)}},Sr=function(e,t,r,n,i,o){var s=new ot(e._pt,t,r,0,1,o?za:Na);return e._pt=s,s.b=n,s.e=i,e._props.push(r),s},Ia={deg:1,rad:1,turn:1},ad={grid:1,flex:1},Mr=function a(e,t,r,n){var i=parseFloat(r)||0,o=(r+"").trim().substr((i+"").length)||"px",s=Ur.style,l=Xu.test(t),c=e.tagName.toLowerCase()==="svg",u=(c?"client":"offset")+(l?"Width":"Height"),f=100,p=n==="px",d=n==="%",m,h,g,b;if(n===o||!i||Ia[n]||Ia[o])return i;if(o!=="px"&&!p&&(i=a(e,t,r,"px")),b=e.getCTM&&Ya(e),(d||o==="%")&&(ar[t]||~t.indexOf("adius")))return m=b?e.getBBox()[l?"width":"height"]:e[u],Ee(d?i/m*f:i/100*m);if(s[l?"width":"height"]=f+(p?o:n),h=n!=="rem"&&~t.indexOf("adius")||n==="em"&&e.appendChild&&!c?e:e.parentNode,b&&(h=(e.ownerSVGElement||{}).parentNode),(!h||h===Tr||!h.appendChild)&&(h=Tr.body),g=h._gsap,g&&d&&g.width&&l&&g.time===ht.time&&!g.uncache)return Ee(i/g.width*f);if(d&&(t==="height"||t==="width")){var _=e.style[t];e.style[t]=f+n,m=e[u],_?e.style[t]=_:Lr(e,t)}else(d||o==="%")&&!ad[Tt(h,"display")]&&(s.position=Tt(e,"position")),h===e&&(s.position="static"),h.appendChild(Ur),m=Ur[u],h.removeChild(Ur),s.position="absolute";return l&&d&&(g=wr(h),g.time=ht.time,g.width=h[u]),Ee(p?m*i/f:m&&i?f/m*i:0)},sr=function(e,t,r,n){var i;return Jo||Qo(),t in $t&&t!=="transform"&&(t=$t[t],~t.indexOf(",")&&(t=t.split(",")[0])),ar[t]&&t!=="transform"?(i=Yn(e,n),i=t!=="transformOrigin"?i[t]:i.svg?i.origin:Di(Tt(e,_t))+" "+i.zOrigin+"px"):(i=e.style[t],(!i||i==="auto"||n||~(i+"").indexOf("calc("))&&(i=Oi[t]&&Oi[t](e,t,r)||Tt(e,t)||qo(e,t)||(t==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?Mr(e,t,i,r)+r:i},ld=function(e,t,r,n){if(!r||r==="none"){var i=_n(t,e,1),o=i&&Tt(e,i,1);o&&o!==r?(t=i,r=o):t==="borderColor"&&(r=Tt(e,"borderTopColor"))}var s=new ot(this._pt,e.style,t,0,1,Yo),l=0,c=0,u,f,p,d,m,h,g,b,_,v,w,E;if(s.b=r,s.e=n,r+="",n+="",n.substring(0,6)==="var(--"&&(n=Tt(e,n.substring(4,n.indexOf(")")))),n==="auto"&&(h=e.style[t],e.style[t]=n,n=Tt(e,t)||n,h?e.style[t]=h:Lr(e,t)),u=[r,n],No(u),r=u[0],n=u[1],p=r.match(zr)||[],E=n.match(zr)||[],E.length){for(;f=zr.exec(n);)g=f[0],_=n.substring(l,f.index),m?m=(m+1)%5:(_.substr(-5)==="rgba("||_.substr(-5)==="hsla(")&&(m=1),g!==(h=p[c++]||"")&&(d=parseFloat(h)||0,w=h.substr((d+"").length),g.charAt(1)==="="&&(g=Br(d,g)+w),b=parseFloat(g),v=g.substr((b+"").length),l=zr.lastIndex-v.length,v||(v=v||gt.units[t]||w,l===n.length&&(n+=v,s.e+=v)),w!==v&&(d=Mr(e,t,h,v)||0),s._pt={_next:s._pt,p:_||c===1?_:",",s:d,c:b-d,m:m&&m<4||t==="zIndex"?Math.round:0});s.c=l<n.length?n.substring(l,n.length):""}else s.r=t==="display"&&n==="none"?za:Na;return Ho.test(n)&&(s.e=0),this._pt=s,s},Ra={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},cd=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]=Ra[r]||r,t[1]=Ra[n]||n,t.join(" ")},ud=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,n=r.style,i=t.u,o=r._gsap,s,l,c;if(i==="all"||i===!0)n.cssText="",l=1;else for(i=i.split(","),c=i.length;--c>-1;)s=i[c],ar[s]&&(l=1,s=s==="transformOrigin"?_t:ye),Lr(r,s);l&&(Lr(r,ye),o&&(o.svg&&r.removeAttribute("transform"),n.scale=n.rotate=n.translate="none",Yn(r,1),o.uncache=1,Ba(n)))}},Oi={clearProps:function(e,t,r,n,i){if(i.data!=="isFromStart"){var o=e._pt=new ot(e._pt,t,r,0,0,ud);return o.u=n,o.pr=-10,o.tween=i,e._props.push(r),1}}},Vn=[1,0,0,1,0,0],Ua={},Xa=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},qa=function(e){var t=Tt(e,ye);return Xa(t)?Vn:t.substr(7).match(Po).map(Ee)},rs=function(e,t){var r=e._gsap||wr(e),n=e.style,i=qa(e),o,s,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"?Vn:i):(i===Vn&&!e.offsetParent&&e!==mn&&!r.svg&&(l=n.display,n.display="block",o=e.parentNode,(!o||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,s=e.nextElementSibling,mn.appendChild(e)),i=qa(e),l?n.display=l:Lr(e,"display"),c&&(s?o.insertBefore(e,s):o?o.appendChild(e):mn.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},Zo=function(e,t,r,n,i,o){var s=e._gsap,l=i||rs(e,!0),c=s.xOrigin||0,u=s.yOrigin||0,f=s.xOffset||0,p=s.yOffset||0,d=l[0],m=l[1],h=l[2],g=l[3],b=l[4],_=l[5],v=t.split(" "),w=parseFloat(v[0])||0,E=parseFloat(v[1])||0,L,T,A,M;r?l!==Vn&&(T=d*g-m*h)&&(A=w*(g/T)+E*(-h/T)+(h*_-g*b)/T,M=w*(-m/T)+E*(d/T)-(d*_-m*b)/T,w=A,E=M):(L=Va(e),w=L.x+(~v[0].indexOf("%")?w/100*L.width:w),E=L.y+(~(v[1]||v[0]).indexOf("%")?E/100*L.height:E)),n||n!==!1&&s.smooth?(b=w-c,_=E-u,s.xOffset=f+(b*d+_*h)-b,s.yOffset=p+(b*m+_*g)-_):s.xOffset=s.yOffset=0,s.xOrigin=w,s.yOrigin=E,s.smooth=!!n,s.origin=t,s.originIsAbsolute=!!r,e.style[_t]="0px 0px",o&&(Sr(o,s,"xOrigin",c,w),Sr(o,s,"yOrigin",u,E),Sr(o,s,"xOffset",f,s.xOffset),Sr(o,s,"yOffset",p,s.yOffset)),e.setAttribute("data-svg-origin",w+" "+E)},Yn=function(e,t){var r=e._gsap||new zo(e);if("x"in r&&!t&&!r.uncache)return r;var n=e.style,i=r.scaleX<0,o="px",s="deg",l=getComputedStyle(e),c=Tt(e,_t)||"0",u,f,p,d,m,h,g,b,_,v,w,E,L,T,A,M,x,P,k,I,N,G,F,C,z,ee,y,V,ie,oe,Q,pe;return u=f=p=h=g=b=_=v=w=0,d=m=1,r.svg=!!(e.getCTM&&Ya(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(n[ye]=(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[ye]!=="none"?l[ye]:"")),n.scale=n.rotate=n.translate="none"),T=rs(e,r.svg),r.svg&&(r.uncache?(z=e.getBBox(),c=r.xOrigin-z.x+"px "+(r.yOrigin-z.y)+"px",C=""):C=!t&&e.getAttribute("data-svg-origin"),Zo(e,C||c,!!C||r.originIsAbsolute,r.smooth!==!1,T)),E=r.xOrigin||0,L=r.yOrigin||0,T!==Vn&&(P=T[0],k=T[1],I=T[2],N=T[3],u=G=T[4],f=F=T[5],T.length===6?(d=Math.sqrt(P*P+k*k),m=Math.sqrt(N*N+I*I),h=P||k?hn(k,P)*Yr:0,_=I||N?hn(I,N)*Yr+h:0,_&&(m*=Math.abs(Math.cos(_*gn))),r.svg&&(u-=E-(E*P+L*I),f-=L-(E*k+L*N))):(pe=T[6],oe=T[7],y=T[8],V=T[9],ie=T[10],Q=T[11],u=T[12],f=T[13],p=T[14],A=hn(pe,ie),g=A*Yr,A&&(M=Math.cos(-A),x=Math.sin(-A),C=G*M+y*x,z=F*M+V*x,ee=pe*M+ie*x,y=G*-x+y*M,V=F*-x+V*M,ie=pe*-x+ie*M,Q=oe*-x+Q*M,G=C,F=z,pe=ee),A=hn(-I,ie),b=A*Yr,A&&(M=Math.cos(-A),x=Math.sin(-A),C=P*M-y*x,z=k*M-V*x,ee=I*M-ie*x,Q=N*x+Q*M,P=C,k=z,I=ee),A=hn(k,P),h=A*Yr,A&&(M=Math.cos(A),x=Math.sin(A),C=P*M+k*x,z=G*M+F*x,k=k*M-P*x,F=F*M-G*x,P=C,G=z),g&&Math.abs(g)+Math.abs(h)>359.9&&(g=h=0,b=180-b),d=Ee(Math.sqrt(P*P+k*k+I*I)),m=Ee(Math.sqrt(F*F+pe*pe)),A=hn(G,F),_=Math.abs(A)>2e-4?A*Yr:0,w=Q?1/(Q<0?-Q:Q):0),r.svg&&(C=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!Xa(Tt(e,ye)),C&&e.setAttribute("transform",C))),Math.abs(_)>90&&Math.abs(_)<270&&(i?(d*=-1,_+=h<=0?180:-180,h+=h<=0?180:-180):(m*=-1,_+=_<=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)+o,r.y=f-((r.yPercent=f&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-f)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+o,r.z=p+o,r.scaleX=Ee(d),r.scaleY=Ee(m),r.rotation=Ee(h)+s,r.rotationX=Ee(g)+s,r.rotationY=Ee(b)+s,r.skewX=_+s,r.skewY=v+s,r.transformPerspective=w+o,(r.zOrigin=parseFloat(c.split(" ")[2])||!t&&r.zOrigin||0)&&(n[_t]=Di(c)),r.xOffset=r.yOffset=0,r.force3D=gt.force3D,r.renderTransform=r.svg?fd:Ga?Ka:dd,r.uncache=0,r},Di=function(e){return(e=e.split(" "))[0]+" "+e[1]},Ko=function(e,t,r){var n=Ge(t);return Ee(parseFloat(t)+parseFloat(Mr(e,"x",r+"px",n)))+n},dd=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,Ka(e,t)},Gr="0deg",Gn="0px",Vr=") ",Ka=function(e,t){var r=t||this,n=r.xPercent,i=r.yPercent,o=r.x,s=r.y,l=r.z,c=r.rotation,u=r.rotationY,f=r.rotationX,p=r.skewX,d=r.skewY,m=r.scaleX,h=r.scaleY,g=r.transformPerspective,b=r.force3D,_=r.target,v=r.zOrigin,w="",E=b==="auto"&&e&&e!==1||b===!0;if(v&&(f!==Gr||u!==Gr)){var L=parseFloat(u)*gn,T=Math.sin(L),A=Math.cos(L),M;L=parseFloat(f)*gn,M=Math.cos(L),o=Ko(_,o,T*M*-v),s=Ko(_,s,-Math.sin(L)*-v),l=Ko(_,l,A*M*-v+v)}g!==Gn&&(w+="perspective("+g+Vr),(n||i)&&(w+="translate("+n+"%, "+i+"%) "),(E||o!==Gn||s!==Gn||l!==Gn)&&(w+=l!==Gn||E?"translate3d("+o+", "+s+", "+l+") ":"translate("+o+", "+s+Vr),c!==Gr&&(w+="rotate("+c+Vr),u!==Gr&&(w+="rotateY("+u+Vr),f!==Gr&&(w+="rotateX("+f+Vr),(p!==Gr||d!==Gr)&&(w+="skew("+p+", "+d+Vr),(m!==1||h!==1)&&(w+="scale("+m+", "+h+Vr),_.style[ye]=w||"translate(0, 0)"},fd=function(e,t){var r=t||this,n=r.xPercent,i=r.yPercent,o=r.x,s=r.y,l=r.rotation,c=r.skewX,u=r.skewY,f=r.scaleX,p=r.scaleY,d=r.target,m=r.xOrigin,h=r.yOrigin,g=r.xOffset,b=r.yOffset,_=r.forceCSS,v=parseFloat(o),w=parseFloat(s),E,L,T,A,M;l=parseFloat(l),c=parseFloat(c),u=parseFloat(u),u&&(u=parseFloat(u),c+=u,l+=u),l||c?(l*=gn,c*=gn,E=Math.cos(l)*f,L=Math.sin(l)*f,T=Math.sin(l-c)*-p,A=Math.cos(l-c)*p,c&&(u*=gn,M=Math.tan(c-u),M=Math.sqrt(1+M*M),T*=M,A*=M,u&&(M=Math.tan(u),M=Math.sqrt(1+M*M),E*=M,L*=M)),E=Ee(E),L=Ee(L),T=Ee(T),A=Ee(A)):(E=f,A=p,L=T=0),(v&&!~(o+"").indexOf("px")||w&&!~(s+"").indexOf("px"))&&(v=Mr(d,"x",o,"px"),w=Mr(d,"y",s,"px")),(m||h||g||b)&&(v=Ee(v+m-(m*E+h*T)+g),w=Ee(w+h-(m*L+h*A)+b)),(n||i)&&(M=d.getBBox(),v=Ee(v+n/100*M.width),w=Ee(w+i/100*M.height)),M="matrix("+E+","+L+","+T+","+A+","+v+","+w+")",d.setAttribute("transform",M),_&&(d.style[ye]=M)},pd=function(e,t,r,n,i){var o=360,s=He(i),l=parseFloat(i)*(s&&~i.indexOf("rad")?Yr:1),c=l-n,u=n+c+"deg",f,p;return s&&(f=i.split("_")[1],f==="short"&&(c%=o,c!==c%(o/2)&&(c+=c<0?o:-o)),f==="cw"&&c<0?c=(c+o*Pa)%o-~~(c/o)*o:f==="ccw"&&c>0&&(c=(c-o*Pa)%o-~~(c/o)*o)),e._pt=p=new ot(e._pt,t,r,n,c,$u),p.e=u,p.u="deg",e._props.push(r),p},Fa=function(e,t){for(var r in t)e[r]=t[r];return e},hd=function(e,t,r){var n=Fa({},r._gsap),i="perspective,force3D,transformOrigin,svgOrigin",o=r.style,s,l,c,u,f,p,d,m;n.svg?(c=r.getAttribute("transform"),r.setAttribute("transform",""),o[ye]=t,s=Yn(r,1),Lr(r,ye),r.setAttribute("transform",c)):(c=getComputedStyle(r)[ye],o[ye]=t,s=Yn(r,1),o[ye]=c);for(l in ar)c=n[l],u=s[l],c!==u&&i.indexOf(l)<0&&(d=Ge(c),m=Ge(u),f=d!==m?Mr(r,l,c,m):parseFloat(c),p=parseFloat(u),e._pt=new ot(e._pt,s,l,f,p-f,$o),e._pt.u=m||0,e._props.push(l));Fa(s,n)};it("padding,margin,Width,Radius",function(a,e){var t="Top",r="Right",n="Bottom",i="Left",o=(e<3?[t,r,n,i]:[t+i,t+r,n+r,n+i]).map(function(s){return e<2?a+s:"border"+s+a});Oi[e>1?"border"+a:a]=function(s,l,c,u,f){var p,d;if(arguments.length<4)return p=o.map(function(m){return sr(s,m,c)}),d=p.join(" "),d.split(p[0]).length===5?p[0]:d;p=(u+"").split(" "),d={},o.forEach(function(m,h){return d[m]=p[h]=p[h]||p[(h-1)/2|0]}),s.init(l,d,f)}});var ns={name:"css",register:Qo,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,n,i){var o=this._props,s=e.style,l=r.vars.startAt,c,u,f,p,d,m,h,g,b,_,v,w,E,L,T,A,M;Jo||Qo(),this.styles=this.styles||Wa(e),A=this.styles.props,this.tween=r;for(h in t)if(h!=="autoRound"&&(u=t[h],!(pt[h]&&Wo(h,t,r,n,e,i)))){if(d=typeof u,m=Oi[h],d==="function"&&(u=u.call(r,n,e,i),d=typeof u),d==="string"&&~u.indexOf("random(")&&(u=pn(u)),m)m(this,e,h,u,r)&&(T=1);else if(h.substr(0,2)==="--")c=(getComputedStyle(e).getPropertyValue(h)+"").trim(),u+="",ir.lastIndex=0,ir.test(c)||(g=Ge(c),b=Ge(u),b?g!==b&&(c=Mr(e,h,c,b)+b):g&&(u+=g)),this.add(s,"setProperty",c,u,n,i,0,0,h),o.push(h),A.push(h,0,s[h]);else if(d!=="undefined"){if(l&&h in l?(c=typeof l[h]=="function"?l[h].call(r,n,e,i):l[h],He(c)&&~c.indexOf("random(")&&(c=pn(c)),Ge(c+"")||c==="auto"||(c+=gt.units[h]||Ge(sr(e,h))||""),(c+"").charAt(1)==="="&&(c=sr(e,h))):c=sr(e,h),p=parseFloat(c),_=d==="string"&&u.charAt(1)==="="&&u.substr(0,2),_&&(u=u.substr(2)),f=parseFloat(u),h in $t&&(h==="autoAlpha"&&(p===1&&sr(e,"visibility")==="hidden"&&f&&(p=0),A.push("visibility",0,s.visibility),Sr(this,s,"visibility",p?"inherit":"hidden",f?"inherit":"hidden",!f)),h!=="scale"&&h!=="transform"&&(h=$t[h],~h.indexOf(",")&&(h=h.split(",")[0]))),v=h in ar,v){if(this.styles.save(h),M=u,d==="string"&&u.substring(0,6)==="var(--"){if(u=Tt(e,u.substring(4,u.indexOf(")"))),u.substring(0,5)==="calc("){var x=e.style.perspective;e.style.perspective=u,u=Tt(e,"perspective"),x?e.style.perspective=x:Lr(e,"perspective")}f=parseFloat(u)}if(w||(E=e._gsap,E.renderTransform&&!t.parseTransform||Yn(e,t.parseTransform),L=t.smoothOrigin!==!1&&E.smooth,w=this._pt=new ot(this._pt,s,ye,0,1,E.renderTransform,E,0,-1),w.dep=1),h==="scale")this._pt=new ot(this._pt,E,"scaleY",E.scaleY,(_?Br(E.scaleY,_+f):f)-E.scaleY||0,$o),this._pt.u=0,o.push("scaleY",h),h+="X";else if(h==="transformOrigin"){A.push(_t,0,s[_t]),u=cd(u),E.svg?Zo(e,u,0,L,0,this):(b=parseFloat(u.split(" ")[2])||0,b!==E.zOrigin&&Sr(this,E,"zOrigin",E.zOrigin,b),Sr(this,s,h,Di(c),Di(u)));continue}else if(h==="svgOrigin"){Zo(e,u,1,L,0,this);continue}else if(h in Ua){pd(this,E,h,p,_?Br(p,_+u):u);continue}else if(h==="smoothOrigin"){Sr(this,E,"smooth",E.smooth,u);continue}else if(h==="force3D"){E[h]=u;continue}else if(h==="transform"){hd(this,u,e);continue}}else h in s||(h=_n(h)||h);if(v||(f||f===0)&&(p||p===0)&&!Ku.test(u)&&h in s)g=(c+"").substr((p+"").length),f||(f=0),b=Ge(u)||(h in gt.units?gt.units[h]:g),g!==b&&(p=Mr(e,h,c,b)),this._pt=new ot(this._pt,v?E:s,h,p,(_?Br(p,_+f):f)-p,!v&&(b==="px"||h==="zIndex")&&t.autoRound!==!1?Zu:$o),this._pt.u=b||0,v&&M!==u?(this._pt.b=c,this._pt.e=M,this._pt.r=Qu):g!==b&&b!=="%"&&(this._pt.b=c,this._pt.r=ju);else if(h in s)ld.call(this,e,h,c,_?_+u:u);else if(h in e)this.add(e,h,c||e[h],_?_+u:u,n,i);else if(h!=="parseTransform"){Ai(h,u);continue}v||(h in s?A.push(h,0,s[h]):typeof e[h]=="function"?A.push(h,2,e[h]()):A.push(h,1,c||e[h])),o.push(h)}}T&&Xo(this)},render:function(e,t){if(t.tween._time||!es())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:sr,aliases:$t,getSetter:function(e,t,r){var n=$t[t];return n&&n.indexOf(",")<0&&(t=n),t in ar&&t!==_t&&(e._gsap.x||sr(e,"x"))?r&&Ca===r?t==="scale"?rd:td:(Ca=r||{})&&(t==="scale"?nd:id):e.style&&!Mi(e.style[t])?Ju:~t.indexOf("-")?ed:Hi(e,t)},core:{_removeProperty:Lr,_getMatrix:rs}};je.utils.checkPrefix=_n;je.core.getStyleSaver=Wa;(function(a,e,t,r){var n=it(a+","+e+","+t,function(i){ar[i]=1});it(e,function(i){gt.units[i]="deg",Ua[i]=1}),$t[n[13]]=a+","+e,it(r,function(i){var o=i.split(":");$t[o[1]]=n[o[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");it("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(a){gt.units[a]="px"});je.registerPlugin(ns);var Oe=je.registerPlugin(ns)||je,pf=Oe.core.Tween;function $a(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 md(a,e,t){return e&&$a(a.prototype,e),t&&$a(a,t),a}var Ve,qi,gd,St,Ar,kr,vn,Qa,Xr,Xn,Za,lr,Bt,Ja,el=function(){return Ve||typeof window<"u"&&(Ve=window.gsap)&&Ve.registerPlugin&&Ve},tl=1,yn=[],X=[],Wt=[],Kn=Date.now,is=function(e,t){return t},_d=function(){var e=Xn.core,t=e.bridge||{},r=e._scrollers,n=e._proxies;r.push.apply(r,X),n.push.apply(n,Wt),X=r,Wt=n,is=function(o,s){return t[o](s)}},ur=function(e,t){return~Wt.indexOf(e)&&Wt[Wt.indexOf(e)+1][t]},$n=function(e){return!!~Za.indexOf(e)},at=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)},Ii="scrollLeft",Ri="scrollTop",os=function(){return lr&&lr.isPressed||X.cache++},Fi=function(e,t){var r=function n(i){if(i||i===0){tl&&(St.history.scrollRestoration="manual");var o=lr&&lr.isPressed;i=n.v=Math.round(i)||(lr&&lr.iOS?1:0),e(i),n.cacheID=X.cache,o&&is("ss",i)}else(t||X.cache!==n.cacheID||is("ref"))&&(n.cacheID=X.cache,n.v=e());return n.v+n.offset};return r.offset=0,e&&r},Qe={s:Ii,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Fi(function(a){return arguments.length?St.scrollTo(a,ke.sc()):St.pageXOffset||Ar[Ii]||kr[Ii]||vn[Ii]||0})},ke={s:Ri,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Qe,sc:Fi(function(a){return arguments.length?St.scrollTo(Qe.sc(),a):St.pageYOffset||Ar[Ri]||kr[Ri]||vn[Ri]||0})},lt=function(e,t){return(t&&t._ctx&&t._ctx.selector||Ve.utils.toArray)(e)[0]||(typeof e=="string"&&Ve.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},yd=function(e,t){for(var r=t.length;r--;)if(t[r]===e||t[r].contains(e))return!0;return!1},cr=function(e,t){var r=t.s,n=t.sc;$n(e)&&(e=Ar.scrollingElement||kr);var i=X.indexOf(e),o=n===ke.sc?1:2;!~i&&(i=X.push(e)-1),X[i+o]||at(e,"scroll",os);var s=X[i+o],l=s||(X[i+o]=Fi(ur(e,r),!0)||($n(e)?n:Fi(function(c){return arguments.length?e[r]=c:e[r]})));return l.target=e,s||(l.smooth=Ve.getProperty(e,"scrollBehavior")==="smooth"),l},Ni=function(e,t,r){var n=e,i=e,o=Kn(),s=o,l=t||50,c=Math.max(500,l*3),u=function(m,h){var g=Kn();h||g-o>l?(i=n,n=m,s=o,o=g):r?n+=m:n=i+(m-i)/(g-s)*(o-s)},f=function(){i=n=r?0:n,s=o=0},p=function(m){var h=s,g=i,b=Kn();return(m||m===0)&&m!==n&&u(m),o===s||b-s>c?0:(n+(r?g:-g))/((r?b:o)-h)*1e3};return{update:u,reset:f,getVelocity:p}},Un=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},ja=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},rl=function(){Xn=Ve.core.globals().ScrollTrigger,Xn&&Xn.core&&_d()},nl=function(e){return Ve=e||el(),!qi&&Ve&&typeof document<"u"&&document.body&&(St=window,Ar=document,kr=Ar.documentElement,vn=Ar.body,Za=[St,Ar,kr,vn],gd=Ve.utils.clamp,Ja=Ve.core.context||function(){},Xr="onpointerenter"in vn?"pointer":"mouse",Qa=xe.isTouch=St.matchMedia&&St.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in St||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Bt=xe.eventTypes=("ontouchstart"in kr?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in kr?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return tl=0},500),rl(),qi=1),qi};Qe.op=ke;X.cache=0;var xe=function(){function a(t){this.init(t)}var e=a.prototype;return e.init=function(r){qi||nl(Ve)||console.warn("Please gsap.registerPlugin(Observer)"),Xn||rl();var n=r.tolerance,i=r.dragMinimum,o=r.type,s=r.target,l=r.lineHeight,c=r.debounce,u=r.preventDefault,f=r.onStop,p=r.onStopDelay,d=r.ignore,m=r.wheelSpeed,h=r.event,g=r.onDragStart,b=r.onDragEnd,_=r.onDrag,v=r.onPress,w=r.onRelease,E=r.onRight,L=r.onLeft,T=r.onUp,A=r.onDown,M=r.onChangeX,x=r.onChangeY,P=r.onChange,k=r.onToggleX,I=r.onToggleY,N=r.onHover,G=r.onHoverEnd,F=r.onMove,C=r.ignoreCheck,z=r.isNormalizer,ee=r.onGestureStart,y=r.onGestureEnd,V=r.onWheel,ie=r.onEnable,oe=r.onDisable,Q=r.onClick,pe=r.scrollSpeed,he=r.capture,ue=r.allowClicks,tt=r.lockAxis,Ye=r.onLockAxis;this.target=s=lt(s)||kr,this.vars=r,d&&(d=Ve.utils.toArray(d)),n=n||1e-9,i=i||0,m=m||1,pe=pe||1,o=o||"wheel,touch,pointer",c=c!==!1,l||(l=parseFloat(St.getComputedStyle(vn).lineHeight)||22);var pr,rt,nt,te,Te,ft,yt,S=this,vt=0,Zt=0,hr=r.passive||!u&&r.passive!==!1,ve=cr(s,Qe),Jt=cr(s,ke),mr=ve(),Hr=Jt(),Ie=~o.indexOf("touch")&&!~o.indexOf("pointer")&&Bt[0]==="pointerdown",gr=$n(s),Se=s.ownerDocument||Ar,Rt=[0,0,0],kt=[0,0,0],er=0,kn=function(){return er=Kn()},Ae=function(q,re){return(S.event=q)&&d&&yd(q.target,d)||re&&Ie&&q.pointerType!=="touch"||C&&C(q,re)},mi=function(){S._vx.reset(),S._vy.reset(),rt.pause(),f&&f(S)},tr=function(){var q=S.deltaX=ja(Rt),re=S.deltaY=ja(kt),H=Math.abs(q)>=n,B=Math.abs(re)>=n;P&&(H||B)&&P(S,q,re,Rt,kt),H&&(E&&S.deltaX>0&&E(S),L&&S.deltaX<0&&L(S),M&&M(S),k&&S.deltaX<0!=vt<0&&k(S),vt=S.deltaX,Rt[0]=Rt[1]=Rt[2]=0),B&&(A&&S.deltaY>0&&A(S),T&&S.deltaY<0&&T(S),x&&x(S),I&&S.deltaY<0!=Zt<0&&I(S),Zt=S.deltaY,kt[0]=kt[1]=kt[2]=0),(te||nt)&&(F&&F(S),nt&&(g&&nt===1&&g(S),_&&_(S),nt=0),te=!1),ft&&!(ft=!1)&&Ye&&Ye(S),Te&&(V(S),Te=!1),pr=0},nn=function(q,re,H){Rt[H]+=q,kt[H]+=re,S._vx.update(q),S._vy.update(re),c?pr||(pr=requestAnimationFrame(tr)):tr()},on=function(q,re){tt&&!yt&&(S.axis=yt=Math.abs(q)>Math.abs(re)?"x":"y",ft=!0),yt!=="y"&&(Rt[2]+=q,S._vx.update(q,!0)),yt!=="x"&&(kt[2]+=re,S._vy.update(re,!0)),c?pr||(pr=requestAnimationFrame(tr)):tr()},_r=function(q){if(!Ae(q,1)){q=Un(q,u);var re=q.clientX,H=q.clientY,B=re-S.x,D=H-S.y,W=S.isDragging;S.x=re,S.y=H,(W||(B||D)&&(Math.abs(S.startX-re)>=i||Math.abs(S.startY-H)>=i))&&(nt||(nt=W?2:1),W||(S.isDragging=!0),on(B,D))}},Or=S.onPress=function(Y){Ae(Y,1)||Y&&Y.button||(S.axis=yt=null,rt.pause(),S.isPressed=!0,Y=Un(Y),vt=Zt=0,S.startX=S.x=Y.clientX,S.startY=S.y=Y.clientY,S._vx.reset(),S._vy.reset(),at(z?s:Se,Bt[1],_r,hr,!0),S.deltaX=S.deltaY=0,v&&v(S))},j=S.onRelease=function(Y){if(!Ae(Y,1)){st(z?s:Se,Bt[1],_r,!0);var q=!isNaN(S.y-S.startY),re=S.isDragging,H=re&&(Math.abs(S.x-S.startX)>3||Math.abs(S.y-S.startY)>3),B=Un(Y);!H&&q&&(S._vx.reset(),S._vy.reset(),u&&ue&&Ve.delayedCall(.08,function(){if(Kn()-er>300&&!Y.defaultPrevented){if(Y.target.click)Y.target.click();else if(Se.createEvent){var D=Se.createEvent("MouseEvents");D.initMouseEvent("click",!0,!0,St,1,B.screenX,B.screenY,B.clientX,B.clientY,!1,!1,!1,!1,0,null),Y.target.dispatchEvent(D)}}})),S.isDragging=S.isGesturing=S.isPressed=!1,f&&re&&!z&&rt.restart(!0),nt&&tr(),b&&re&&b(S),w&&w(S,H)}},Dr=function(q){return q.touches&&q.touches.length>1&&(S.isGesturing=!0)&&ee(q,S.isDragging)},qt=function(){return(S.isGesturing=!1)||y(S)},Ft=function(q){if(!Ae(q)){var re=ve(),H=Jt();nn((re-mr)*pe,(H-Hr)*pe,1),mr=re,Hr=H,f&&rt.restart(!0)}},Nt=function(q){if(!Ae(q)){q=Un(q,u),V&&(Te=!0);var re=(q.deltaMode===1?l:q.deltaMode===2?St.innerHeight:1)*m;nn(q.deltaX*re,q.deltaY*re,0),f&&!z&&rt.restart(!0)}},Ir=function(q){if(!Ae(q)){var re=q.clientX,H=q.clientY,B=re-S.x,D=H-S.y;S.x=re,S.y=H,te=!0,f&&rt.restart(!0),(B||D)&&on(B,D)}},sn=function(q){S.event=q,N(S)},rr=function(q){S.event=q,G(S)},Cn=function(q){return Ae(q)||Un(q,u)&&Q(S)};rt=S._dc=Ve.delayedCall(p||.25,mi).pause(),S.deltaX=S.deltaY=0,S._vx=Ni(0,50,!0),S._vy=Ni(0,50,!0),S.scrollX=ve,S.scrollY=Jt,S.isDragging=S.isGesturing=S.isPressed=!1,Ja(this),S.enable=function(Y){return S.isEnabled||(at(gr?Se:s,"scroll",os),o.indexOf("scroll")>=0&&at(gr?Se:s,"scroll",Ft,hr,he),o.indexOf("wheel")>=0&&at(s,"wheel",Nt,hr,he),(o.indexOf("touch")>=0&&Qa||o.indexOf("pointer")>=0)&&(at(s,Bt[0],Or,hr,he),at(Se,Bt[2],j),at(Se,Bt[3],j),ue&&at(s,"click",kn,!0,!0),Q&&at(s,"click",Cn),ee&&at(Se,"gesturestart",Dr),y&&at(Se,"gestureend",qt),N&&at(s,Xr+"enter",sn),G&&at(s,Xr+"leave",rr),F&&at(s,Xr+"move",Ir)),S.isEnabled=!0,S.isDragging=S.isGesturing=S.isPressed=te=nt=!1,S._vx.reset(),S._vy.reset(),mr=ve(),Hr=Jt(),Y&&Y.type&&Or(Y),ie&&ie(S)),S},S.disable=function(){S.isEnabled&&(yn.filter(function(Y){return Y!==S&&$n(Y.target)}).length||st(gr?Se:s,"scroll",os),S.isPressed&&(S._vx.reset(),S._vy.reset(),st(z?s:Se,Bt[1],_r,!0)),st(gr?Se:s,"scroll",Ft,he),st(s,"wheel",Nt,he),st(s,Bt[0],Or,he),st(Se,Bt[2],j),st(Se,Bt[3],j),st(s,"click",kn,!0),st(s,"click",Cn),st(Se,"gesturestart",Dr),st(Se,"gestureend",qt),st(s,Xr+"enter",sn),st(s,Xr+"leave",rr),st(s,Xr+"move",Ir),S.isEnabled=S.isPressed=S.isDragging=!1,oe&&oe(S))},S.kill=S.revert=function(){S.disable();var Y=yn.indexOf(S);Y>=0&&yn.splice(Y,1),lr===S&&(lr=0)},yn.push(S),z&&$n(s)&&(lr=S),S.enable(h)},md(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=nl;xe.getAll=function(){return yn.slice()};xe.getById=function(a){return yn.filter(function(e){return e.vars.id===a})[0]};el()&&Ve.registerPlugin(xe);var O,En,$,ce,At,ne,bs,to,ci,ri,Qn,zi,Ze,io,ps,ut,il,ol,xn,wl,ss,El,ct,hs,xl,Tl,Cr,ms,ws,Tn,Es,ni,gs,as,Bi=1,Je=Date.now,ls=Je(),It=0,Zn=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},al=function(e,t){return t&&(!Mt(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},vd=function a(){return Zn&&requestAnimationFrame(a)},ll=function(){return io=1},cl=function(){return io=0},jt=function(e){return e},Jn=function(e){return Math.round(e*1e5)/1e5||0},Sl=function(){return typeof window<"u"},Ll=function(){return O||Sl()&&(O=window.gsap)&&O.registerPlugin&&O},Jr=function(e){return!!~bs.indexOf(e)},Ml=function(e){return(e==="Height"?Es:$["inner"+e])||At["client"+e]||ne["client"+e]},Al=function(e){return ur(e,"getBoundingClientRect")||(Jr(e)?function(){return eo.width=$.innerWidth,eo.height=Es,eo}:function(){return dr(e)})},bd=function(e,t,r){var n=r.d,i=r.d2,o=r.a;return(o=ur(e,"getBoundingClientRect"))?function(){return o()[n]}:function(){return(t?Ml(i):e["client"+i])||0}},wd=function(e,t){return!t||~Wt.indexOf(e)?Al(e):function(){return eo}},Qt=function(e,t){var r=t.s,n=t.d2,i=t.d,o=t.a;return Math.max(0,(r="scroll"+n)&&(o=ur(e,r))?o()-Al(e)()[i]:Jr(e)?(At[r]||ne[r])-Ml(n):e[r]-e["offset"+n])},Wi=function(e,t){for(var r=0;r<xn.length;r+=3)(!t||~t.indexOf(xn[r+1]))&&e(xn[r],xn[r+1],xn[r+2])},Mt=function(e){return typeof e=="string"},et=function(e){return typeof e=="function"},ei=function(e){return typeof e=="number"},Kr=function(e){return typeof e=="object"},jn=function(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()},cs=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)}},bn=Math.abs,kl="left",Cl="top",xs="right",Ts="bottom",jr="width",Qr="height",ii="Right",oi="Left",si="Top",ai="Bottom",Ce="padding",Ot="margin",Ln="Width",Ss="Height",De="px",Dt=function(e){return $.getComputedStyle(e)},Ed=function(e){var t=Dt(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative"},ul=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},dr=function(e,t){var r=t&&Dt(e)[ps]!=="matrix(1, 0, 0, 1, 0, 0)"&&O.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},ro=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},Pl=function(e){var t=[],r=e.labels,n=e.duration(),i;for(i in r)t.push(r[i]/n);return t},xd=function(e){return function(t){return O.utils.snap(Pl(e),t)}},Ls=function(e){var t=O.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(n,i){return n-i});return r?function(n,i,o){o===void 0&&(o=.001);var s;if(!i)return t(n);if(i>0){for(n-=o,s=0;s<r.length;s++)if(r[s]>=n)return r[s];return r[s-1]}else for(s=r.length,n+=o;s--;)if(r[s]<=n)return r[s];return r[0]}:function(n,i,o){o===void 0&&(o=.001);var s=t(n);return!i||Math.abs(s-n)<o||s-n<0==i<0?s:t(i<0?n-e:n+e)}},Td=function(e){return function(t,r){return Ls(Pl(e))(t,r.direction)}},Gi=function(e,t,r,n){return r.split(",").forEach(function(i){return e(t,i,n)})},Fe=function(e,t,r,n,i){return e.addEventListener(t,r,{passive:!n,capture:!!i})},qe=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},Vi=function(e,t,r){r=r&&r.wheelHandler,r&&(e(t,"wheel",r),e(t,"touchmove",r))},dl={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Yi={toggleActions:"play",anticipatePin:0},no={top:0,left:0,center:.5,bottom:1,right:1},ji=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 no?no[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},Ui=function(e,t,r,n,i,o,s,l){var c=i.startColor,u=i.endColor,f=i.fontSize,p=i.indent,d=i.fontWeight,m=ce.createElement("div"),h=Jr(r)||ur(r,"pinType")==="fixed",g=e.indexOf("scroller")!==-1,b=h?ne:r,_=e.indexOf("start")!==-1,v=_?c:u,w="border-color:"+v+";font-size:"+f+";color:"+v+";font-weight:"+d+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return w+="position:"+((g||l)&&h?"fixed;":"absolute;"),(g||l||!h)&&(w+=(n===ke?xs:Ts)+":"+(o+parseFloat(p))+"px;"),s&&(w+="box-sizing:border-box;text-align:left;width:"+s.offsetWidth+"px;"),m._isStart=_,m.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),m.style.cssText=w,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],Qi(m,0,n,_),m},Qi=function(e,t,r,n){var i={display:"block"},o=r[n?"os2":"p2"],s=r[n?"p2":"os2"];e._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+o+Ln]=1,i["border"+s+Ln]=0,i[r.p]=t+"px",O.set(e,i)},K=[],_s={},ui,fl=function(){return Je()-It>34&&(ui||(ui=requestAnimationFrame(fr)))},wn=function(){(!ct||!ct.isPressed||ct.startX>ne.clientWidth)&&(X.cache++,ct?ui||(ui=requestAnimationFrame(fr)):fr(),It||tn("scrollStart"),It=Je())},us=function(){Tl=$.innerWidth,xl=$.innerHeight},ti=function(e){X.cache++,(e===!0||!Ze&&!El&&!ce.fullscreenElement&&!ce.webkitFullscreenElement&&(!hs||Tl!==$.innerWidth||Math.abs($.innerHeight-xl)>$.innerHeight*.25))&&to.restart(!0)},en={},Sd=[],Hl=function a(){return qe(R,"scrollEnd",a)||$r(!0)},tn=function(e){return en[e]&&en[e].map(function(t){return t()})||Sd},Lt=[],Ol=function(e){for(var t=0;t<Lt.length;t+=5)(!e||Lt[t+4]&&Lt[t+4].query===e)&&(Lt[t].style.cssText=Lt[t+1],Lt[t].getBBox&&Lt[t].setAttribute("transform",Lt[t+2]||""),Lt[t+3].uncache=1)},Dl=function(){return X.forEach(function(e){return et(e)&&++e.cacheID&&(e.rec=e())})},Ms=function(e,t){var r;for(ut=0;ut<K.length;ut++)r=K[ut],r&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));ni=!0,t&&Ol(t),t||tn("revert")},Il=function(e,t){X.cache++,(t||!dt)&&X.forEach(function(r){return et(r)&&r.cacheID++&&(r.rec=0)}),Mt(e)&&($.history.scrollRestoration=ws=e)},dt,Zr=0,pl,Ld=function(){if(pl!==Zr){var e=pl=Zr;requestAnimationFrame(function(){return e===Zr&&$r(!0)})}},Rl=function(){ne.appendChild(Tn),Es=!ct&&Tn.offsetHeight||$.innerHeight,ne.removeChild(Tn)},hl=function(e){return ci(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},$r=function(e,t){if(At=ce.documentElement,ne=ce.body,bs=[$,ce,At,ne],It&&!e&&!ni){Fe(R,"scrollEnd",Hl);return}Rl(),dt=R.isRefreshing=!0,ni||Dl();var r=tn("refreshInit");wl&&R.sort(),t||Ms(),X.forEach(function(n){et(n)&&(n.smooth&&(n.target.style.scrollBehavior="auto"),n(0))}),K.slice(0).forEach(function(n){return n.refresh()}),ni=!1,K.forEach(function(n){if(n._subPinOffset&&n.pin){var i=n.vars.horizontal?"offsetWidth":"offsetHeight",o=n.pin[i];n.revert(!0,1),n.adjustPinSpacing(n.pin[i]-o),n.refresh()}}),gs=1,hl(!0),K.forEach(function(n){var i=Qt(n.scroller,n._dir),o=n.vars.end==="max"||n._endClamp&&n.end>i,s=n._startClamp&&n.start>=i;(o||s)&&n.setPositions(s?i-1:n.start,o?Math.max(s?i:n.start+1,i):n.end,!0)}),hl(!1),gs=0,r.forEach(function(n){return n&&n.render&&n.render(-1)}),X.forEach(function(n){et(n)&&(n.smooth&&requestAnimationFrame(function(){return n.target.style.scrollBehavior="smooth"}),n.rec&&n(n.rec))}),Il(ws,1),to.pause(),Zr++,dt=2,fr(2),K.forEach(function(n){return et(n.vars.onRefresh)&&n.vars.onRefresh(n)}),dt=R.isRefreshing=!1,tn("refresh")},ys=0,Zi=1,li,fr=function(e){if(e===2||!dt&&!ni){R.isUpdating=!0,li&&li.update(0);var t=K.length,r=Je(),n=r-ls>=50,i=t&&K[0].scroll();if(Zi=ys>i?-1:1,dt||(ys=i),n&&(It&&!io&&r-It>200&&(It=0,tn("scrollEnd")),Qn=ls,ls=r),Zi<0){for(ut=t;ut-- >0;)K[ut]&&K[ut].update(0,n);Zi=1}else for(ut=0;ut<t;ut++)K[ut]&&K[ut].update(0,n);R.isUpdating=!1}ui=0},vs=[kl,Cl,Ts,xs,Ot+ai,Ot+ii,Ot+si,Ot+oi,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Ji=vs.concat([jr,Qr,"boxSizing","max"+Ln,"max"+Ss,"position",Ot,Ce,Ce+si,Ce+ii,Ce+ai,Ce+oi]),Md=function(e,t,r){Sn(r);var n=e._gsap;if(n.spacerIsNative)Sn(n.spacerState);else if(e._gsap.swappedIn){var i=t.parentNode;i&&(i.insertBefore(e,t),i.removeChild(t))}e._gsap.swappedIn=!1},ds=function(e,t,r,n){if(!e._gsap.swappedIn){for(var i=vs.length,o=t.style,s=e.style,l;i--;)l=vs[i],o[l]=r[l];o.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(o.display="inline-block"),s[Ts]=s[xs]="auto",o.flexBasis=r.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[jr]=ro(e,Qe)+De,o[Qr]=ro(e,ke)+De,o[Ce]=s[Ot]=s[Cl]=s[kl]="0",Sn(n),s[jr]=s["max"+Ln]=r[jr],s[Qr]=s["max"+Ss]=r[Qr],s[Ce]=r[Ce],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},Ad=/([A-Z])/g,Sn=function(e){if(e){var t=e.t.style,r=e.length,n=0,i,o;for((e.t._gsap||O.core.getCache(e.t)).uncache=1;n<r;n+=2)o=e[n+1],i=e[n],o?t[i]=o:t[i]&&t.removeProperty(i.replace(Ad,"-$1").toLowerCase())}},Xi=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},kd=function(e,t,r){for(var n=[],i=e.length,o=r?8:0,s;o<i;o+=2)s=e[o],n.push(s,s in t?t[s]:e[o+1]);return n.t=e.t,n},eo={left:0,top:0},ml=function(e,t,r,n,i,o,s,l,c,u,f,p,d,m){et(e)&&(e=e(l)),Mt(e)&&e.substr(0,3)==="max"&&(e=p+(e.charAt(4)==="="?ji("0"+e.substr(3),r):0));var h=d?d.time():0,g,b,_;if(d&&d.seek(0),isNaN(e)||(e=+e),ei(e))d&&(e=O.utils.mapRange(d.scrollTrigger.start,d.scrollTrigger.end,0,p,e)),s&&Qi(s,r,n,!0);else{et(t)&&(t=t(l));var v=(e||"0").split(" "),w,E,L,T;_=lt(t,l)||ne,w=dr(_)||{},(!w||!w.left&&!w.top)&&Dt(_).display==="none"&&(T=_.style.display,_.style.display="block",w=dr(_),T?_.style.display=T:_.style.removeProperty("display")),E=ji(v[0],w[n.d]),L=ji(v[1]||"0",r),e=w[n.p]-c[n.p]-u+E+i-L,s&&Qi(s,L,n,r-L<20||s._isStart&&L>20),r-=r-L}if(m&&(l[m]=e||-.001,e<0&&(e=0)),o){var A=e+r,M=o._isStart;g="scroll"+n.d2,Qi(o,A,n,M&&A>20||!M&&(f?Math.max(ne[g],At[g]):o.parentNode[g])<=A+1),f&&(c=dr(s),f&&(o.style[n.op.p]=c[n.op.p]-n.op.m-o._offset+De))}return d&&_&&(g=dr(_),d.seek(p),b=dr(_),d._caScrollDist=g[n.p]-b[n.p],e=e/d._caScrollDist*p),d&&d.seek(h),d?e:Math.round(e)},Cd=/(webkit|moz|length|cssText|inset)/i,gl=function(e,t,r,n){if(e.parentNode!==t){var i=e.style,o,s;if(t===ne){e._stOrig=i.cssText,s=Dt(e);for(o in s)!+o&&!Cd.test(o)&&s[o]&&typeof i[o]=="string"&&o!=="0"&&(i[o]=s[o]);i.top=r,i.left=n}else i.cssText=e._stOrig;O.core.getCache(e).uncache=1,t.appendChild(e)}},ql=function(e,t,r){var n=t,i=n;return function(o){var s=Math.round(e());return s!==n&&s!==i&&Math.abs(s-n)>3&&Math.abs(s-i)>3&&(o=s,r&&r()),i=n,n=Math.round(o),n}},Ki=function(e,t,r){var n={};n[t.p]="+="+r,O.set(e,n)},_l=function(e,t){var r=cr(e,t),n="_scroll"+t.p2,i=function o(s,l,c,u,f){var p=o.tween,d=l.onComplete,m={};c=c||r();var h=ql(r,c,function(){p.kill(),o.tween=0});return f=u&&f||0,u=u||s-c,p&&p.kill(),l[n]=s,l.inherit=!1,l.modifiers=m,m[n]=function(){return h(c+u*p.ratio+f*p.ratio*p.ratio)},l.onUpdate=function(){X.cache++,o.tween&&fr()},l.onComplete=function(){o.tween=0,d&&d.call(p)},p=o.tween=O.to(e,l),p};return e[n]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},Fe(e,"wheel",r.wheelHandler),R.isTouch&&Fe(e,"touchmove",r.wheelHandler),i},R=function(){function a(t,r){En||a.register(O)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),ms(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),!Zn){this.update=this.refresh=this.kill=jt;return}r=ul(Mt(r)||ei(r)||r.nodeType?{trigger:r}:r,Yi);var i=r,o=i.onUpdate,s=i.toggleClass,l=i.id,c=i.onToggle,u=i.onRefresh,f=i.scrub,p=i.trigger,d=i.pin,m=i.pinSpacing,h=i.invalidateOnRefresh,g=i.anticipatePin,b=i.onScrubComplete,_=i.onSnapComplete,v=i.once,w=i.snap,E=i.pinReparent,L=i.pinSpacer,T=i.containerAnimation,A=i.fastScrollEnd,M=i.preventOverlaps,x=r.horizontal||r.containerAnimation&&r.horizontal!==!1?Qe:ke,P=!f&&f!==0,k=lt(r.scroller||$),I=O.core.getCache(k),N=Jr(k),G=("pinType"in r?r.pinType:ur(k,"pinType")||N&&"fixed")==="fixed",F=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],C=P&&r.toggleActions.split(" "),z="markers"in r?r.markers:Yi.markers,ee=N?0:parseFloat(Dt(k)["border"+x.p2+Ln])||0,y=this,V=r.onRefreshInit&&function(){return r.onRefreshInit(y)},ie=bd(k,N,x),oe=wd(k,N),Q=0,pe=0,he=0,ue=cr(k,x),tt,Ye,pr,rt,nt,te,Te,ft,yt,S,vt,Zt,hr,ve,Jt,mr,Hr,Ie,gr,Se,Rt,kt,er,kn,Ae,mi,tr,nn,on,_r,Or,j,Dr,qt,Ft,Nt,Ir,sn,rr;if(y._startClamp=y._endClamp=!1,y._dir=x,g*=45,y.scroller=k,y.scroll=T?T.time.bind(T):ue,rt=ue(),y.vars=r,n=n||r.animation,"refreshPriority"in r&&(wl=1,r.refreshPriority===-9999&&(li=y)),I.tweenScroll=I.tweenScroll||{top:_l(k,ke),left:_l(k,Qe)},y.tweenTo=tt=I.tweenScroll[x.p],y.scrubDuration=function(H){Dr=ei(H)&&H,Dr?j?j.duration(H):j=O.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Dr,paused:!0,onComplete:function(){return b&&b(y)}}):(j&&j.progress(1).kill(),j=0)},n&&(n.vars.lazy=!1,n._initted&&!y.isReverted||n.vars.immediateRender!==!1&&r.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),y.animation=n.pause(),n.scrollTrigger=y,y.scrubDuration(f),_r=0,l||(l=n.vars.id)),w&&((!Kr(w)||w.push)&&(w={snapTo:w}),"scrollBehavior"in ne.style&&O.set(N?[ne,At]:k,{scrollBehavior:"auto"}),X.forEach(function(H){return et(H)&&H.target===(N?ce.scrollingElement||At:k)&&(H.smooth=!1)}),pr=et(w.snapTo)?w.snapTo:w.snapTo==="labels"?xd(n):w.snapTo==="labelsDirectional"?Td(n):w.directional!==!1?function(H,B){return Ls(w.snapTo)(H,Je()-pe<500?0:B.direction)}:O.utils.snap(w.snapTo),qt=w.duration||{min:.1,max:2},qt=Kr(qt)?ri(qt.min,qt.max):ri(qt,qt),Ft=O.delayedCall(w.delay||Dr/2||.1,function(){var H=ue(),B=Je()-pe<500,D=tt.tween;if((B||Math.abs(y.getVelocity())<10)&&!D&&!io&&Q!==H){var W=(H-te)/ve,Re=n&&!P?n.totalProgress():W,Z=B?0:(Re-Or)/(Je()-Qn)*1e3||0,Le=O.utils.clamp(-W,1-W,bn(Z/2)*Z/.185),Ue=W+(w.inertia===!1?0:Le),be,de,se=w,zt=se.onStart,me=se.onInterrupt,bt=se.onComplete;if(be=pr(Ue,y),ei(be)||(be=Ue),de=Math.max(0,Math.round(te+be*ve)),H<=Te&&H>=te&&de!==H){if(D&&!D._initted&&D.data<=bn(de-H))return;w.inertia===!1&&(Le=be-W),tt(de,{duration:qt(bn(Math.max(bn(Ue-Re),bn(be-Re))*.185/Z/.05||0)),ease:w.ease||"power3",data:bn(de-H),onInterrupt:function(){return Ft.restart(!0)&&me&&me(y)},onComplete:function(){y.update(),Q=ue(),n&&!P&&(j?j.resetTo("totalProgress",be,n._tTime/n._tDur):n.progress(be)),_r=Or=n&&!P?n.totalProgress():y.progress,_&&_(y),bt&&bt(y)}},H,Le*ve,de-H-Le*ve),zt&&zt(y,tt.tween)}}else y.isActive&&Q!==H&&Ft.restart(!0)}).pause()),l&&(_s[l]=y),p=y.trigger=lt(p||d!==!0&&d),rr=p&&p._gsap&&p._gsap.stRevert,rr&&(rr=rr(y)),d=d===!0?p:lt(d),Mt(s)&&(s={targets:p,className:s}),d&&(m===!1||m===Ot||(m=!m&&d.parentNode&&d.parentNode.style&&Dt(d.parentNode).display==="flex"?!1:Ce),y.pin=d,Ye=O.core.getCache(d),Ye.spacer?Jt=Ye.pinState:(L&&(L=lt(L),L&&!L.nodeType&&(L=L.current||L.nativeElement),Ye.spacerIsNative=!!L,L&&(Ye.spacerState=Xi(L))),Ye.spacer=Ie=L||ce.createElement("div"),Ie.classList.add("pin-spacer"),l&&Ie.classList.add("pin-spacer-"+l),Ye.pinState=Jt=Xi(d)),r.force3D!==!1&&O.set(d,{force3D:!0}),y.spacer=Ie=Ye.spacer,on=Dt(d),kn=on[m+x.os2],Se=O.getProperty(d),Rt=O.quickSetter(d,x.a,De),ds(d,Ie,on),Hr=Xi(d)),z){Zt=Kr(z)?ul(z,dl):dl,S=Ui("scroller-start",l,k,x,Zt,0),vt=Ui("scroller-end",l,k,x,Zt,0,S),gr=S["offset"+x.op.d2];var Cn=lt(ur(k,"content")||k);ft=this.markerStart=Ui("start",l,Cn,x,Zt,gr,0,T),yt=this.markerEnd=Ui("end",l,Cn,x,Zt,gr,0,T),T&&(sn=O.quickSetter([ft,yt],x.a,De)),!G&&!(Wt.length&&ur(k,"fixedMarkers")===!0)&&(Ed(N?ne:k),O.set([S,vt],{force3D:!0}),mi=O.quickSetter(S,x.a,De),nn=O.quickSetter(vt,x.a,De))}if(T){var Y=T.vars.onUpdate,q=T.vars.onUpdateParams;T.eventCallback("onUpdate",function(){y.update(0,0,1),Y&&Y.apply(T,q||[])})}if(y.previous=function(){return K[K.indexOf(y)-1]},y.next=function(){return K[K.indexOf(y)+1]},y.revert=function(H,B){if(!B)return y.kill(!0);var D=H!==!1||!y.enabled,W=Ze;D!==y.isReverted&&(D&&(Nt=Math.max(ue(),y.scroll.rec||0),he=y.progress,Ir=n&&n.progress()),ft&&[ft,yt,S,vt].forEach(function(Re){return Re.style.display=D?"none":"block"}),D&&(Ze=y,y.update(D)),d&&(!E||!y.isActive)&&(D?Md(d,Ie,Jt):ds(d,Ie,Dt(d),Ae)),D||y.update(D),Ze=W,y.isReverted=D)},y.refresh=function(H,B,D,W){if(!((Ze||!y.enabled)&&!B)){if(d&&H&&It){Fe(a,"scrollEnd",Hl);return}!dt&&V&&V(y),Ze=y,tt.tween&&!D&&(tt.tween.kill(),tt.tween=0),j&&j.pause(),h&&n&&(n.revert({kill:!1}).invalidate(),n.getChildren?n.getChildren(!0,!0,!1).forEach(function(yr){return yr.vars.immediateRender&&yr.render(0,!0,!0)}):n.vars.immediateRender&&n.render(0,!0,!0)),y.isReverted||y.revert(!0,!0),y._subPinOffset=!1;var Re=ie(),Z=oe(),Le=T?T.duration():Qt(k,x),Ue=ve<=.01||!ve,be=0,de=W||0,se=Kr(D)?D.end:r.end,zt=r.endTrigger||p,me=Kr(D)?D.start:r.start||(r.start===0||!p?0:d?"0 0":"0 100%"),bt=y.pinnedContainer=r.pinnedContainer&<(r.pinnedContainer,y),Gt=p&&Math.max(0,K.indexOf(y))||0,Ne=Gt,ze,Xe,Rr,gi,Ke,Pe,Vt,co,qs,Pn,Yt,Hn,_i;for(z&&Kr(D)&&(Hn=O.getProperty(S,x.p),_i=O.getProperty(vt,x.p));Ne-- >0;)Pe=K[Ne],Pe.end||Pe.refresh(0,1)||(Ze=y),Vt=Pe.pin,Vt&&(Vt===p||Vt===d||Vt===bt)&&!Pe.isReverted&&(Pn||(Pn=[]),Pn.unshift(Pe),Pe.revert(!0,!0)),Pe!==K[Ne]&&(Gt--,Ne--);for(et(me)&&(me=me(y)),me=sl(me,"start",y),te=ml(me,p,Re,x,ue(),ft,S,y,Z,ee,G,Le,T,y._startClamp&&"_startClamp")||(d?-.001:0),et(se)&&(se=se(y)),Mt(se)&&!se.indexOf("+=")&&(~se.indexOf(" ")?se=(Mt(me)?me.split(" ")[0]:"")+se:(be=ji(se.substr(2),Re),se=Mt(me)?me:(T?O.utils.mapRange(0,T.duration(),T.scrollTrigger.start,T.scrollTrigger.end,te):te)+be,zt=p)),se=sl(se,"end",y),Te=Math.max(te,ml(se||(zt?"100% 0":Le),zt,Re,x,ue()+be,yt,vt,y,Z,ee,G,Le,T,y._endClamp&&"_endClamp"))||-.001,be=0,Ne=Gt;Ne--;)Pe=K[Ne]||{},Vt=Pe.pin,Vt&&Pe.start-Pe._pinPush<=te&&!T&&Pe.end>0&&(ze=Pe.end-(y._startClamp?Math.max(0,Pe.start):Pe.start),(Vt===p&&Pe.start-Pe._pinPush<te||Vt===bt)&&isNaN(me)&&(be+=ze*(1-Pe.progress)),Vt===d&&(de+=ze));if(te+=be,Te+=be,y._startClamp&&(y._startClamp+=be),y._endClamp&&!dt&&(y._endClamp=Te||-.001,Te=Math.min(Te,Qt(k,x))),ve=Te-te||(te-=.01)&&.001,Ue&&(he=O.utils.clamp(0,1,O.utils.normalize(te,Te,Nt))),y._pinPush=de,ft&&be&&(ze={},ze[x.a]="+="+be,bt&&(ze[x.p]="-="+ue()),O.set([ft,yt],ze)),d&&!(gs&&y.end>=Qt(k,x)))ze=Dt(d),gi=x===ke,Rr=ue(),kt=parseFloat(Se(x.a))+de,!Le&&Te>1&&(Yt=(N?ce.scrollingElement||At:k).style,Yt={style:Yt,value:Yt["overflow"+x.a.toUpperCase()]},N&&Dt(ne)["overflow"+x.a.toUpperCase()]!=="scroll"&&(Yt.style["overflow"+x.a.toUpperCase()]="scroll")),ds(d,Ie,ze),Hr=Xi(d),Xe=dr(d,!0),co=G&&cr(k,gi?Qe:ke)(),m?(Ae=[m+x.os2,ve+de+De],Ae.t=Ie,Ne=m===Ce?ro(d,x)+ve+de:0,Ne&&(Ae.push(x.d,Ne+De),Ie.style.flexBasis!=="auto"&&(Ie.style.flexBasis=Ne+De)),Sn(Ae),bt&&K.forEach(function(yr){yr.pin===bt&&yr.vars.pinSpacing!==!1&&(yr._subPinOffset=!0)}),G&&ue(Nt)):(Ne=ro(d,x),Ne&&Ie.style.flexBasis!=="auto"&&(Ie.style.flexBasis=Ne+De)),G&&(Ke={top:Xe.top+(gi?Rr-te:co)+De,left:Xe.left+(gi?co:Rr-te)+De,boxSizing:"border-box",position:"fixed"},Ke[jr]=Ke["max"+Ln]=Math.ceil(Xe.width)+De,Ke[Qr]=Ke["max"+Ss]=Math.ceil(Xe.height)+De,Ke[Ot]=Ke[Ot+si]=Ke[Ot+ii]=Ke[Ot+ai]=Ke[Ot+oi]="0",Ke[Ce]=ze[Ce],Ke[Ce+si]=ze[Ce+si],Ke[Ce+ii]=ze[Ce+ii],Ke[Ce+ai]=ze[Ce+ai],Ke[Ce+oi]=ze[Ce+oi],mr=kd(Jt,Ke,E),dt&&ue(0)),n?(qs=n._initted,ss(1),n.render(n.duration(),!0,!0),er=Se(x.a)-kt+ve+de,tr=Math.abs(ve-er)>1,G&&tr&&mr.splice(mr.length-2,2),n.render(0,!0,!0),qs||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),ss(0)):er=ve,Yt&&(Yt.value?Yt.style["overflow"+x.a.toUpperCase()]=Yt.value:Yt.style.removeProperty("overflow-"+x.a));else if(p&&ue()&&!T)for(Xe=p.parentNode;Xe&&Xe!==ne;)Xe._pinOffset&&(te-=Xe._pinOffset,Te-=Xe._pinOffset),Xe=Xe.parentNode;Pn&&Pn.forEach(function(yr){return yr.revert(!1,!0)}),y.start=te,y.end=Te,rt=nt=dt?Nt:ue(),!T&&!dt&&(rt<Nt&&ue(Nt),y.scroll.rec=0),y.revert(!1,!0),pe=Je(),Ft&&(Q=-1,Ft.restart(!0)),Ze=0,n&&P&&(n._initted||Ir)&&n.progress()!==Ir&&n.progress(Ir||0,!0).render(n.time(),!0,!0),(Ue||he!==y.progress||T||h||n&&!n._initted)&&(n&&!P&&(n._initted||he||n.vars.immediateRender!==!1)&&n.totalProgress(T&&te<-.001&&!he?O.utils.normalize(te,Te,0):he,!0),y.progress=Ue||(rt-te)/ve===he?0:he),d&&m&&(Ie._pinOffset=Math.round(y.progress*er)),j&&j.invalidate(),isNaN(Hn)||(Hn-=O.getProperty(S,x.p),_i-=O.getProperty(vt,x.p),Ki(S,x,Hn),Ki(ft,x,Hn-(W||0)),Ki(vt,x,_i),Ki(yt,x,_i-(W||0))),Ue&&!dt&&y.update(),u&&!dt&&!hr&&(hr=!0,u(y),hr=!1)}},y.getVelocity=function(){return(ue()-nt)/(Je()-Qn)*1e3||0},y.endAnimation=function(){jn(y.callbackAnimation),n&&(j?j.progress(1):n.paused()?P||jn(n,y.direction<0,1):jn(n,n.reversed()))},y.labelToScroll=function(H){return n&&n.labels&&(te||y.refresh()||te)+n.labels[H]/n.duration()*ve||0},y.getTrailing=function(H){var B=K.indexOf(y),D=y.direction>0?K.slice(0,B).reverse():K.slice(B+1);return(Mt(H)?D.filter(function(W){return W.vars.preventOverlaps===H}):D).filter(function(W){return y.direction>0?W.end<=te:W.start>=Te})},y.update=function(H,B,D){if(!(T&&!D&&!H)){var W=dt===!0?Nt:y.scroll(),Re=H?0:(W-te)/ve,Z=Re<0?0:Re>1?1:Re||0,Le=y.progress,Ue,be,de,se,zt,me,bt,Gt;if(B&&(nt=rt,rt=T?ue():W,w&&(Or=_r,_r=n&&!P?n.totalProgress():Z)),g&&d&&!Ze&&!Bi&&It&&(!Z&&te<W+(W-nt)/(Je()-Qn)*g?Z=1e-4:Z===1&&Te>W+(W-nt)/(Je()-Qn)*g&&(Z=.9999)),Z!==Le&&y.enabled){if(Ue=y.isActive=!!Z&&Z<1,be=!!Le&&Le<1,me=Ue!==be,zt=me||!!Z!=!!Le,y.direction=Z>Le?1:-1,y.progress=Z,zt&&!Ze&&(de=Z&&!Le?0:Z===1?1:Le===1?2:3,P&&(se=!me&&C[de+1]!=="none"&&C[de+1]||C[de],Gt=n&&(se==="complete"||se==="reset"||se in n))),M&&(me||Gt)&&(Gt||f||!n)&&(et(M)?M(y):y.getTrailing(M).forEach(function(Rr){return Rr.endAnimation()})),P||(j&&!Ze&&!Bi?(j._dp._time-j._start!==j._time&&j.render(j._dp._time-j._start),j.resetTo?j.resetTo("totalProgress",Z,n._tTime/n._tDur):(j.vars.totalProgress=Z,j.invalidate().restart())):n&&n.totalProgress(Z,!!(Ze&&(pe||H)))),d){if(H&&m&&(Ie.style[m+x.os2]=kn),!G)Rt(Jn(kt+er*Z));else if(zt){if(bt=!H&&Z>Le&&Te+1>W&&W+1>=Qt(k,x),E)if(!H&&(Ue||bt)){var Ne=dr(d,!0),ze=W-te;gl(d,ne,Ne.top+(x===ke?ze:0)+De,Ne.left+(x===ke?0:ze)+De)}else gl(d,Ie);Sn(Ue||bt?mr:Hr),tr&&Z<1&&Ue||Rt(kt+(Z===1&&!bt?er:0))}}w&&!tt.tween&&!Ze&&!Bi&&Ft.restart(!0),s&&(me||v&&Z&&(Z<1||!as))&&ci(s.targets).forEach(function(Rr){return Rr.classList[Ue||v?"add":"remove"](s.className)}),o&&!P&&!H&&o(y),zt&&!Ze?(P&&(Gt&&(se==="complete"?n.pause().totalProgress(1):se==="reset"?n.restart(!0).pause():se==="restart"?n.restart(!0):n[se]()),o&&o(y)),(me||!as)&&(c&&me&&cs(y,c),F[de]&&cs(y,F[de]),v&&(Z===1?y.kill(!1,1):F[de]=0),me||(de=Z===1?1:3,F[de]&&cs(y,F[de]))),A&&!Ue&&Math.abs(y.getVelocity())>(ei(A)?A:2500)&&(jn(y.callbackAnimation),j?j.progress(1):jn(n,se==="reverse"?1:!Z,1))):P&&o&&!Ze&&o(y)}if(nn){var Xe=T?W/T.duration()*(T._caScrollDist||0):W;mi(Xe+(S._isFlipped?1:0)),nn(Xe)}sn&&sn(-W/T.duration()*(T._caScrollDist||0))}},y.enable=function(H,B){y.enabled||(y.enabled=!0,Fe(k,"resize",ti),N||Fe(k,"scroll",wn),V&&Fe(a,"refreshInit",V),H!==!1&&(y.progress=he=0,rt=nt=Q=ue()),B!==!1&&y.refresh())},y.getTween=function(H){return H&&tt?tt.tween:j},y.setPositions=function(H,B,D,W){if(T){var Re=T.scrollTrigger,Z=T.duration(),Le=Re.end-Re.start;H=Re.start+Le*H/Z,B=Re.start+Le*B/Z}y.refresh(!1,!1,{start:al(H,D&&!!y._startClamp),end:al(B,D&&!!y._endClamp)},W),y.update()},y.adjustPinSpacing=function(H){if(Ae&&H){var B=Ae.indexOf(x.d)+1;Ae[B]=parseFloat(Ae[B])+H+De,Ae[1]=parseFloat(Ae[1])+H+De,Sn(Ae)}},y.disable=function(H,B){if(H!==!1&&y.revert(!0,!0),y.enabled&&(y.enabled=y.isActive=!1,B||j&&j.pause(),Nt=0,Ye&&(Ye.uncache=1),V&&qe(a,"refreshInit",V),Ft&&(Ft.pause(),tt.tween&&tt.tween.kill()&&(tt.tween=0)),!N)){for(var D=K.length;D--;)if(K[D].scroller===k&&K[D]!==y)return;qe(k,"resize",ti),N||qe(k,"scroll",wn)}},y.kill=function(H,B){y.disable(H,B),j&&!B&&j.kill(),l&&delete _s[l];var D=K.indexOf(y);D>=0&&K.splice(D,1),D===ut&&Zi>0&&ut--,D=0,K.forEach(function(W){return W.scroller===y.scroller&&(D=1)}),D||dt||(y.scroll.rec=0),n&&(n.scrollTrigger=null,H&&n.revert({kill:!1}),B||n.kill()),ft&&[ft,yt,S,vt].forEach(function(W){return W.parentNode&&W.parentNode.removeChild(W)}),li===y&&(li=0),d&&(Ye&&(Ye.uncache=1),D=0,K.forEach(function(W){return W.pin===d&&D++}),D||(Ye.spacer=0)),r.onKill&&r.onKill(y)},K.push(y),y.enable(!1,!1),rr&&rr(y),n&&n.add&&!ve){var re=y.update;y.update=function(){y.update=re,X.cache++,te||Te||y.refresh()},O.delayedCall(.01,y.update),ve=.01,te=Te=0}else y.refresh();d&&Ld()},a.register=function(r){return En||(O=r||Ll(),Sl()&&window.document&&a.enable(),En=Zn),En},a.defaults=function(r){if(r)for(var n in r)Yi[n]=r[n];return Yi},a.disable=function(r,n){Zn=0,K.forEach(function(o){return o[n?"kill":"disable"](r)}),qe($,"wheel",wn),qe(ce,"scroll",wn),clearInterval(zi),qe(ce,"touchcancel",jt),qe(ne,"touchstart",jt),Gi(qe,ce,"pointerdown,touchstart,mousedown",ll),Gi(qe,ce,"pointerup,touchend,mouseup",cl),to.kill(),Wi(qe);for(var i=0;i<X.length;i+=3)Vi(qe,X[i],X[i+1]),Vi(qe,X[i],X[i+2])},a.enable=function(){if($=window,ce=document,At=ce.documentElement,ne=ce.body,O&&(ci=O.utils.toArray,ri=O.utils.clamp,ms=O.core.context||jt,ss=O.core.suppressOverwrites||jt,ws=$.history.scrollRestoration||"auto",ys=$.pageYOffset||0,O.core.globals("ScrollTrigger",a),ne)){Zn=1,Tn=document.createElement("div"),Tn.style.height="100vh",Tn.style.position="absolute",Rl(),vd(),xe.register(O),a.isTouch=xe.isTouch,Cr=xe.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),hs=xe.isTouch===1,Fe($,"wheel",wn),bs=[$,ce,At,ne],O.matchMedia?(a.matchMedia=function(c){var u=O.matchMedia(),f;for(f in c)u.add(f,c[f]);return u},O.addEventListener("matchMediaInit",function(){Dl(),Ms()}),O.addEventListener("matchMediaRevert",function(){return Ol()}),O.addEventListener("matchMedia",function(){$r(0,1),tn("matchMedia")}),O.matchMedia().add("(orientation: portrait)",function(){return us(),us})):console.warn("Requires GSAP 3.11.0 or later"),us(),Fe(ce,"scroll",wn);var r=ne.hasAttribute("style"),n=ne.style,i=n.borderTopStyle,o=O.core.Animation.prototype,s,l;for(o.revert||Object.defineProperty(o,"revert",{value:function(){return this.time(-.01,!0)}}),n.borderTopStyle="solid",s=dr(ne),ke.m=Math.round(s.top+ke.sc())||0,Qe.m=Math.round(s.left+Qe.sc())||0,i?n.borderTopStyle=i:n.removeProperty("border-top-style"),r||(ne.setAttribute("style",""),ne.removeAttribute("style")),zi=setInterval(fl,250),O.delayedCall(.5,function(){return Bi=0}),Fe(ce,"touchcancel",jt),Fe(ne,"touchstart",jt),Gi(Fe,ce,"pointerdown,touchstart,mousedown",ll),Gi(Fe,ce,"pointerup,touchend,mouseup",cl),ps=O.utils.checkPrefix("transform"),Ji.push(ps),En=Je(),to=O.delayedCall(.2,$r).pause(),xn=[ce,"visibilitychange",function(){var c=$.innerWidth,u=$.innerHeight;ce.hidden?(il=c,ol=u):(il!==c||ol!==u)&&ti()},ce,"DOMContentLoaded",$r,$,"load",$r,$,"resize",ti],Wi(Fe),K.forEach(function(c){return c.enable(0,1)}),l=0;l<X.length;l+=3)Vi(qe,X[l],X[l+1]),Vi(qe,X[l],X[l+2])}},a.config=function(r){"limitCallbacks"in r&&(as=!!r.limitCallbacks);var n=r.syncInterval;n&&clearInterval(zi)||(zi=n)&&setInterval(fl,n),"ignoreMobileResize"in r&&(hs=a.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(Wi(qe)||Wi(Fe,r.autoRefreshEvents||"none"),El=(r.autoRefreshEvents+"").indexOf("resize")===-1)},a.scrollerProxy=function(r,n){var i=lt(r),o=X.indexOf(i),s=Jr(i);~o&&X.splice(o,s?6:2),n&&(s?Wt.unshift($,n,ne,n,At,n):Wt.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 o=(Mt(r)?lt(r):r).getBoundingClientRect(),s=o[i?jr:Qr]*n||0;return i?o.right-s>0&&o.left+s<$.innerWidth:o.bottom-s>0&&o.top+s<$.innerHeight},a.positionInViewport=function(r,n,i){Mt(r)&&(r=lt(r));var o=r.getBoundingClientRect(),s=o[i?jr:Qr],l=n==null?s/2:n in no?no[n]*s:~n.indexOf("%")?parseFloat(n)*s/100:parseFloat(n)||0;return i?(o.left+l)/$.innerWidth:(o.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=en.killAll||[];en={},n.forEach(function(i){return i()})}},a}();R.version="3.14.2";R.saveStyles=function(a){return a?ci(a).forEach(function(e){if(e&&e.style){var t=Lt.indexOf(e);t>=0&&Lt.splice(t,5),Lt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),O.core.getCache(e),ms())}}):Lt};R.revert=function(a,e){return Ms(!a,e)};R.create=function(a,e){return new R(a,e)};R.refresh=function(a){return a?ti(!0):(En||R.register())&&$r(!0)};R.update=function(a){return++X.cache&&fr(a===!0?2:0)};R.clearScrollMemory=Il;R.maxScroll=function(a,e){return Qt(a,e?Qe:ke)};R.getScrollFunc=function(a,e){return cr(lt(a),e?Qe:ke)};R.getById=function(a){return _s[a]};R.getAll=function(){return K.filter(function(a){return a.vars.id!=="ScrollSmoother"})};R.isScrolling=function(){return!!It};R.snapDirectional=Ls;R.addEventListener=function(a,e){var t=en[a]||(en[a]=[]);~t.indexOf(e)||t.push(e)};R.removeEventListener=function(a,e){var t=en[a],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)};R.batch=function(a,e){var t=[],r={},n=e.interval||.016,i=e.batchMax||1e9,o=function(c,u){var f=[],p=[],d=O.delayedCall(n,function(){u(f,p),f=[],p=[]}).pause();return function(m){f.length||d.restart(!0),f.push(m.trigger),p.push(m),i<=f.length&&d.progress(1)}},s;for(s in e)r[s]=s.substr(0,2)==="on"&&et(e[s])&&s!=="onRefreshInit"?o(s,e[s]):e[s];return et(i)&&(i=i(),Fe(R,"refresh",function(){return i=e.batchMax()})),ci(a).forEach(function(l){var c={};for(s in r)c[s]=r[s];c.trigger=l,t.push(R.create(c))}),t};var yl=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},fs=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===At&&a(ne,t)},$i={auto:1,scroll:1},Pd=function(e){var t=e.event,r=e.target,n=e.axis,i=(t.changedTouches?t.changedTouches[0]:t).target,o=i._gsap||O.core.getCache(i),s=Je(),l;if(!o._isScrollT||s-o._isScrollT>2e3){for(;i&&i!==ne&&(i.scrollHeight<=i.clientHeight&&i.scrollWidth<=i.clientWidth||!($i[(l=Dt(i)).overflowY]||$i[l.overflowX]));)i=i.parentNode;o._isScroll=i&&i!==r&&!Jr(i)&&($i[(l=Dt(i)).overflowY]||$i[l.overflowX]),o._isScrollT=s}(o._isScroll||n==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},Fl=function(e,t,r,n){return xe.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&Pd,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&Fe(ce,xe.eventTypes[0],bl,!1,!0)},onDisable:function(){return qe(ce,xe.eventTypes[0],bl,!0)}})},Hd=/(input|label|select|textarea)/i,vl,bl=function(e){var t=Hd.test(e.target.tagName);(t||vl)&&(e._gsapAllow=!0,vl=t)},Od=function(e){Kr(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,o=t.onRelease,s,l,c=lt(e.target)||At,u=O.core.globals().ScrollSmoother,f=u&&u.get(),p=Cr&&(e.content&<(e.content)||f&&e.content!==!1&&!f.smooth()&&f.content()),d=cr(c,ke),m=cr(c,Qe),h=1,g=(xe.isTouch&&$.visualViewport?$.visualViewport.scale*$.visualViewport.width:$.outerWidth)/$.innerWidth,b=0,_=et(n)?function(){return n(s)}:function(){return n||2.8},v,w,E=Fl(c,e.type,!0,i),L=function(){return w=!1},T=jt,A=jt,M=function(){l=Qt(c,ke),A=ri(Cr?1:0,l),r&&(T=ri(0,Qt(c,Qe))),v=Zr},x=function(){p._gsap.y=Jn(parseFloat(p._gsap.y)+d.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)",d.offset=d.cacheID=0},P=function(){if(w){requestAnimationFrame(L);var z=Jn(s.deltaY/2),ee=A(d.v-z);if(p&&ee!==d.v+d.offset){d.offset=ee-d.v;var y=Jn((parseFloat(p&&p._gsap.y)||0)-d.offset);p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+y+", 0, 1)",p._gsap.y=y+"px",d.cacheID=X.cache,fr()}return!0}d.offset&&x(),w=!0},k,I,N,G,F=function(){M(),k.isActive()&&k.vars.scrollY>l&&(d()>l?k.progress(1)&&d(l):k.resetTo("scrollY",l))};return p&&O.set(p,{y:"+=0"}),e.ignoreCheck=function(C){return Cr&&C.type==="touchmove"&&P(C)||h>1.05&&C.type!=="touchstart"||s.isGesturing||C.touches&&C.touches.length>1},e.onPress=function(){w=!1;var C=h;h=Jn(($.visualViewport&&$.visualViewport.scale||1)/g),k.pause(),C!==h&&fs(c,h>1.01?!0:r?!1:"x"),I=m(),N=d(),M(),v=Zr},e.onRelease=e.onGestureStart=function(C,z){if(d.offset&&x(),!z)G.restart(!0);else{X.cache++;var ee=_(),y,V;r&&(y=m(),V=y+ee*.05*-C.velocityX/.227,ee*=yl(m,y,V,Qt(c,Qe)),k.vars.scrollX=T(V)),y=d(),V=y+ee*.05*-C.velocityY/.227,ee*=yl(d,y,V,Qt(c,ke)),k.vars.scrollY=A(V),k.invalidate().duration(ee).play(.01),(Cr&&k.vars.scrollY>=l||y>=l-1)&&O.to({},{onUpdate:F,duration:ee})}o&&o(C)},e.onWheel=function(){k._ts&&k.pause(),Je()-b>1e3&&(v=0,b=Je())},e.onChange=function(C,z,ee,y,V){if(Zr!==v&&M(),z&&r&&m(T(y[2]===z?I+(C.startX-C.x):m()+z-y[1])),ee){d.offset&&x();var ie=V[2]===ee,oe=ie?N+C.startY-C.y:d()+ee-V[1],Q=A(oe);ie&&oe!==Q&&(N+=Q-oe),d(Q)}(ee||z)&&fr()},e.onEnable=function(){fs(c,r?!1:"x"),R.addEventListener("refresh",F),Fe($,"resize",F),d.smooth&&(d.target.style.scrollBehavior="auto",d.smooth=m.smooth=!1),E.enable()},e.onDisable=function(){fs(c,!0),qe($,"resize",F),R.removeEventListener("refresh",F),E.kill()},e.lockAxis=e.lockAxis!==!1,s=new xe(e),s.iOS=Cr,Cr&&!d()&&d(1),Cr&&O.ticker.add(jt),G=s._dc,k=O.to(s,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:ql(d,d(),function(){return k.pause()})},onUpdate:fr,onComplete:G.vars.onComplete}),s};R.sort=function(a){if(et(a))return K.sort(a);var e=$.pageYOffset||0;return R.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)})};R.observe=function(a){return new xe(a)};R.normalizeScroll=function(a){if(typeof a>"u")return ct;if(a===!0&&ct)return ct.enable();if(a===!1){ct&&ct.kill(),ct=a;return}var e=a instanceof xe?a:Od(a);return ct&&ct.target===e.target&&ct.kill(),Jr(e.target)&&(ct=e),e};R.core={_getVelocityProp:Ni,_inputObserver:Fl,_scrollers:X,_proxies:Wt,bridge:{ss:function(){It||tn("scrollStart"),It=Je()},ref:function(){return Ze}}};Ll()&&O.registerPlugin(R);var Nl=()=>{Oe.registerPlugin(R),document.querySelectorAll(".circle-arrow_wrapper").forEach(e=>{let t=e.querySelector("svg");if(!t)return;let r=t.querySelector("path:last-of-type"),n=e.classList.contains("is-footer"),i=n?12:-12,o=n?{x:-20,y:-3}:{x:18,y:-8};function s(){Oe.fromTo(t,{y:10,rotation:i,transformOrigin:"50% 50%"},{y:-15,rotation:0,duration:1.4,ease:"power2.out",delay:.2}),r&&Oe.fromTo(r,{x:0,y:0},{...o,duration:1.6,ease:"power2.out",delay:.2})}if(n){let l=e.closest(".footer_main-decor");R.create({trigger:e,start:"top 85%",once:!0,onEnter:()=>{l&&(l.style.opacity="1"),s()}})}else{let l=e.closest(".header_main-decor");l&&(l.style.opacity="1"),s()}}),window.addEventListener("load",()=>{setTimeout(()=>R.refresh(),200)})};var zl=()=>{Oe.registerPlugin(R),document.querySelectorAll(".decor_arrow-wrapper").forEach(e=>{let t=e.querySelector(".decor-middle"),r=e.querySelector(".decor-top"),n=e,i=Oe.timeline({paused:!0});if(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){let o=n.classList.contains("is-inside");i.fromTo(r,{y:0,xPercent:-50},{y:o?-40:-60,xPercent:-50,duration:1.2,ease:"power2.out"},"rideAlong")}R.create({trigger:n,start:"top 85%",once:!0,onEnter:()=>{Oe.set(n,{opacity:0}),i.play()}})}),window.addEventListener("load",()=>{setTimeout(()=>{R.refresh()},200)})};var Bl=(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(f=>f.remove());let i=r.offsetWidth,o=48,s="perfect-marquee-styles";if(!document.getElementById(s)){let f=document.createElement("style");f.id=s;let p=a.pauseOnHover?`
|
|
103
|
+
`;function g(V,ie,oe){let Q=V.createShader(ie);return Q?(V.shaderSource(Q,oe),V.compileShader(Q),V.getShaderParameter(Q,V.COMPILE_STATUS)?Q:(console.error("Shader compile error:",V.getShaderInfoLog(Q)),V.deleteShader(Q),null)):null}let b=g(d,d.VERTEX_SHADER,m),_=g(d,d.FRAGMENT_SHADER,h);if(!b||!_)return;let w=d.createProgram();if(!w)return;if(d.attachShader(w,b),d.attachShader(w,_),d.linkProgram(w),!d.getProgramParameter(w,d.LINK_STATUS)){console.error("Program link error:",d.getProgramInfoLog(w));return}let v=d.createBuffer();d.bindBuffer(d.ARRAY_BUFFER,v),d.bufferData(d.ARRAY_BUFFER,new Float32Array([-1,-1,1,-1,-1,1,-1,1,1,-1,1,1]),d.STATIC_DRAW);let E=d.getAttribLocation(w,"a_position"),S=d.getUniformLocation(w,"u_time"),T=d.getUniformLocation(w,"u_resolution"),k=d.getUniformLocation(w,"u_color1"),M=d.getUniformLocation(w,"u_color2"),x=d.getUniformLocation(w,"u_colorBg");function P(){let V=window.devicePixelRatio||1,ie=Math.floor(u.clientWidth*V),oe=Math.floor(u.clientHeight*V);(u.width!==ie||u.height!==oe)&&(u.width=ie,u.height=oe),(f.width!==ie||f.height!==oe)&&(f.width=ie,f.height=oe)}let A,D=performance.now(),N=0,G=12,F=.08,C=4,z=null;function ee(){P(),d.viewport(0,0,u.width,u.height),d.useProgram(w);let V=(performance.now()-D)/1e3;d.uniform1f(S,V),d.uniform2f(T,u.width,u.height),d.uniform3f(k,s[0],s[1],s[2]),d.uniform3f(M,l[0],l[1],l[2]),d.uniform3f(x,c[0],c[1],c[2]),d.enableVertexAttribArray(E),d.bindBuffer(d.ARRAY_BUFFER,v),d.vertexAttribPointer(E,2,d.FLOAT,!1,0,0),d.drawArrays(d.TRIANGLES,0,6);let ie=performance.now();if(p&&ie-N>1e3/G){N=ie;let oe=Math.ceil(f.width/C),Q=Math.ceil(f.height/C);if(oe<=0||Q<=0)return;(!z||z.width!==oe||z.height!==Q)&&(z=p.createImageData(oe,Q));let{data:pe}=z;for(let he=0;he<pe.length;he+=4){let ue=(Math.random()-.5)*255*F;pe[he]=128+ue,pe[he+1]=128+ue,pe[he+2]=128+ue,pe[he+3]=255}p.clearRect(0,0,f.width,f.height),p.imageSmoothingEnabled=!1,p.putImageData(z,0,0),p.drawImage(f,0,0,oe,Q,0,0,f.width,f.height)}A=requestAnimationFrame(ee)}ee();let y=new MutationObserver(V=>{for(let ie of V)for(let oe of ie.removedNodes)(oe===u||oe instanceof Element&&oe.contains(u))&&(cancelAnimationFrame(A),y.disconnect())});y.observe(t.parentElement||document.body,{childList:!0,subtree:!0}),requestAnimationFrame(()=>{t.style.opacity="1"})})};function Bs(a,e=0){let t=a.querySelector(".w-dyn-items");if(!t)return null;let r=Array.from(t.children);if(r.length<2)return null;let n=r[0].offsetHeight;if(n===0)return null;let i=document.createElement("div");i.style.cssText=`height: ${n}px; overflow: hidden; position: relative;`,t.parentNode.insertBefore(i,t),i.appendChild(t),t.style.willChange="transform";let o=!1;return function(l){if(o)return;o=!0;let c=l==="next"?-n:n;gsap.to(t,{y:c,delay:e/1e3,duration:.48,ease:"power3.inOut",onComplete(){l==="next"?t.appendChild(t.firstElementChild):t.insertBefore(t.lastElementChild,t.firstChild),gsap.set(t,{y:0}),o=!1}})}}function Ws(){document.querySelectorAll(".content_wrapper-outer").forEach(a=>{let e=a,t=e.querySelector('[data-scroll="vertical"]'),r=e.querySelector(".content-arrow.is-top"),n=e.querySelector(".content-arrow:not(.is-top)");if(!t)return;let i=t,o=Array.from(i.querySelectorAll(".content-col-item"));if(o.length<3)return;let s=e.querySelector(".solutions_list-wrapper"),l=e.querySelector(".benefits_collection-wrapper"),c=s?Bs(s,0):null,u=l?Bs(l,40):null,f=o[0].getBoundingClientRect(),d=o[1].getBoundingClientRect().top-f.top,m=d-f.height,h=Math.max(3*f.height+2*m,401),g=document.createElement("div");g.style.cssText=`height: ${h}px; overflow: hidden; position: relative;`,i.parentNode.insertBefore(g,i),g.appendChild(i);let b=o.length*d-m;i.style.cssText+=`; overflow: visible !important; height: ${b}px !important; min-height: 0 !important; max-height: none !important; will-change: transform;`;let _=o.findIndex(A=>A.classList.contains("is-active"));_===-1&&(_=0);let w=(_-1+o.length)%o.length;for(let A=0;A<w;A++){let D=i.querySelector(".content-col-item");D&&i.appendChild(D)}function v(){Array.from(i.querySelectorAll(".content-col-item")).forEach((A,D)=>{A.classList.toggle("is-active",D===1)})}gsap.set(i,{y:0}),v();let E=!1;function S(){E||(E=!0,c?.("next"),u?.("next"),gsap.to(i,{y:-d,duration:.5,ease:"power3.inOut",onComplete(){let A=i.firstElementChild;i.appendChild(A),gsap.set(i,{y:0}),v(),E=!1}}))}function T(){if(E)return;E=!0,c?.("prev"),u?.("prev");let A=Array.from(i.querySelectorAll(".content-col-item")),D=A[A.length-1];i.insertBefore(D,i.firstChild),gsap.set(i,{y:-d}),gsap.to(i,{y:0,duration:.5,ease:"power3.inOut",onComplete(){v(),E=!1}})}let k=4e3,M=null;function x(){M===null&&(M=setInterval(S,k))}function P(){M!==null&&(clearInterval(M),M=null)}e.addEventListener("mouseenter",P),e.addEventListener("mouseleave",x),r?.addEventListener("click",()=>{P(),T(),x()}),n?.addEventListener("click",()=>{P(),S(),x()}),x()})}function nr(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function Qs(a,e){a.prototype=Object.create(e.prototype),a.prototype.constructor=a,a.__proto__=e}var gt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},ln={duration:.5,overwrite:!1,delay:0},ko,We,fe,Pt=1e8,le=1/Pt,vo=Math.PI*2,Oc=vo/4,Dc=0,Zs=Math.sqrt,Ic=Math.cos,Rc=Math.sin,He=function(e){return typeof e=="string"},we=function(e){return typeof e=="function"},or=function(e){return typeof e=="number"},Mi=function(e){return typeof e>"u"},Kt=function(e){return typeof e=="object"},mt=function(e){return e!==!1},Co=function(){return typeof window<"u"},yi=function(e){return we(e)||He(e)},Js=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},$e=Array.isArray,qc=/random\([^)]+\)/g,Fc=/,\s*/g,Gs=/(?:-?\.?\d|\.)+/gi,Po=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,zr=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,fo=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Ho=/[+-]=-?[.\d]+/,Nc=/[^,'"\[\]\s]+/gi,zc=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,_e,Ut,bo,Oo,Et={},Ei={},ea,ta=function(e){return(Ei=cn(e,Et))&&je},Ai=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},Fn=function(e,t){return!t&&console.warn(e)},ra=function(e,t){return e&&(Et[e]=t)&&Ei&&(Ei[e]=t)||Et},Nn=function(){return 0},Bc={suppressEvents:!0,isStart:!0,kill:!1},vi={suppressEvents:!0,kill:!1},Wc={suppressEvents:!0},Do={},br=[],wo={},na,pt={},po={},Vs=30,bi=[],Io="",Ro=function(e){var t=e[0],r,n;if(Kt(t)||we(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(n=bi.length;n--&&!bi[n].targetTest(t););r=bi[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new zo(e[n],r)))||e.splice(n,1);return e},wr=function(e){return e._gsap||Ro(Ht(e))[0]._gsap},qo=function(e,t,r){return(r=e[t])&&we(r)?e[t]():Mi(r)&&e.getAttribute&&e.getAttribute(t)||r},it=function(e,t){return(e=e.split(",")).forEach(t)||e},Ee=function(e){return Math.round(e*1e5)/1e5||0},ge=function(e){return Math.round(e*1e7)/1e7||0},Br=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},Gc=function(e,t){for(var r=t.length,n=0;e.indexOf(t[n])<0&&++n<r;);return n<r},xi=function(){var e=br.length,t=br.slice(0),r,n;for(wo={},br.length=0,r=0;r<e;r++)n=t[r],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},Fo=function(e){return!!(e._initted||e._startAt||e.add)},ia=function(e,t,r,n){br.length&&!We&&xi(),e.render(t,r,n||!!(We&&t<0&&Fo(e))),br.length&&!We&&xi()},oa=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(Nc).length<2?t:He(e)?e.trim():e},sa=function(e){return e},xt=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},Vc=function(e){return function(t,r){for(var n in r)n in t||n==="duration"&&e||n==="ease"||(t[n]=r[n])}},cn=function(e,t){for(var r in t)e[r]=t[r];return e},Ys=function a(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Kt(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},In=function(e){var t=e.parent||_e,r=e.keyframes?Vc($e(e.keyframes)):xt;if(mt(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},Yc=function(e,t){for(var r=e.length,n=r===t.length;n&&r--&&e[r]===t[r];);return r<0},aa=function(e,t,r,n,i){r===void 0&&(r="_first"),n===void 0&&(n="_last");var o=e[n],s;if(i)for(s=t[i];o&&o[i]>s;)o=o._prev;return o?(t._next=o._next,o._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[n]=t,t._prev=o,t.parent=t._dp=e,t},ki=function(e,t,r,n){r===void 0&&(r="_first"),n===void 0&&(n="_last");var i=t._prev,o=t._next;i?i._next=o:e[r]===t&&(e[r]=o),o?o._prev=i:e[n]===t&&(e[n]=i),t._next=t._prev=t.parent=null},Er=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},qr=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},Uc=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Eo=function(e,t,r,n){return e._startAt&&(We?e._startAt.revert(vi):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))},Xc=function a(e){return!e||e._ts&&a(e.parent)},Us=function(e){return e._repeat?un(e._tTime,e=e.duration()+e._rDelay)*e:0},un=function(e,t){var r=Math.floor(e=ge(e/t));return e&&r===e?r-1:r},Si=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Ci=function(e){return e._end=ge(e._start+(e._tDur/Math.abs(e._ts||e._rts||le)||0))},Pi=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=ge(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Ci(e),r._dirty||qr(r,e)),e},la=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=Si(e.rawTime(),t),(!t._dur||Wn(0,t.totalDuration(),r)-t._tTime>le)&&t.render(r,!0)),qr(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=-le}},Xt=function(e,t,r,n){return t.parent&&Er(t),t._start=ge((or(r)?r:r||e!==_e?Ct(e,r,t):e._time)+t._delay),t._end=ge(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),aa(e,t,"_first","_last",e._sort?"_start":0),xo(t)||(e._recent=t),n||la(e,t),e._ts<0&&Pi(e,e._tTime),e},ca=function(e,t){return(Et.ScrollTrigger||Ai("scrollTrigger",t))&&Et.ScrollTrigger.create(t,e)},ua=function(e,t,r,n,i){if(Go(e,t,i),!e._initted)return 1;if(!r&&e._pt&&!We&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&na!==ht.frame)return br.push(e),e._lazy=[i,n],1},Kc=function a(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||a(t))},xo=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},$c=function(e,t,r,n){var i=e.ratio,o=t<0||!t&&(!e._start&&Kc(e)&&!(!e._initted&&xo(e))||(e._ts<0||e._dp._ts<0)&&!xo(e))?0:1,s=e._rDelay,l=0,c,u,f;if(s&&e._repeat&&(l=Wn(0,e._tDur,t),u=un(l,s),e._yoyo&&u&1&&(o=1-o),u!==un(e._tTime,s)&&(i=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==i||We||n||e._zTime===le||!t&&e._zTime){if(!e._initted&&ua(e,t,n,r,l))return;for(f=e._zTime,e._zTime=t||(r?le:0),r||(r=t&&!f),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=l,c=e._pt;c;)c.r(o,c.d),c=c._next;t<0&&Eo(e,t,r,!0),e._onUpdate&&!r&&wt(e,"onUpdate"),l&&e._repeat&&!r&&e.parent&&wt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===o&&(o&&Er(e,1),!r&&!We&&(wt(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},jc=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}},dn=function(e,t,r,n){var i=e._repeat,o=ge(t)||0,s=e._tTime/e._tDur;return s&&!n&&(e._time*=o/e._dur),e._dur=o,e._tDur=i?i<0?1e10:ge(o*(i+1)+e._rDelay*i):o,s>0&&!n&&Pi(e,e._tTime=e._tDur*s),e.parent&&Ci(e),r||qr(e.parent,e),e},Xs=function(e){return e instanceof Be?qr(e):dn(e,e._dur)},Qc={_start:0,endTime:Nn,totalDuration:Nn},Ct=function a(e,t,r){var n=e.labels,i=e._recent||Qc,o=e.duration()>=Pt?i.endTime(!1):e._dur,s,l,c;return He(t)&&(isNaN(t)||t in n)?(l=t.charAt(0),c=t.substr(-1)==="%",s=t.indexOf("="),l==="<"||l===">"?(s>=0&&(t=t.replace(/=/,"")),(l==="<"?i._start:i.endTime(i._repeat>=0))+(parseFloat(t.substr(1))||0)*(c?(s<0?i:r).totalDuration()/100:1)):s<0?(t in n||(n[t]=o),n[t]):(l=parseFloat(t.charAt(s-1)+t.substr(s+1)),c&&r&&(l=l/100*($e(r)?r[0]:r).totalDuration()),s>1?a(e,t.substr(0,s-1),r)+l:o+l)):t==null?o:+t},Rn=function(e,t,r){var n=or(t[1]),i=(n?2:1)+(e<2?0:1),o=t[i],s,l;if(n&&(o.duration=t[1]),o.parent=r,e){for(s=o,l=r;l&&!("immediateRender"in s);)s=l.vars.defaults||{},l=mt(l.vars.inherit)&&l.parent;o.immediateRender=mt(s.immediateRender),e<2?o.runBackwards=1:o.startAt=t[i-1]}return new Me(t[0],o,t[i+1])},xr=function(e,t){return e||e===0?t(e):t},Wn=function(e,t,r){return r<e?e:r>t?t:r},Ge=function(e,t){return!He(e)||!(t=zc.exec(e))?"":t[1]},Zc=function(e,t,r){return xr(r,function(n){return Wn(e,t,n)})},To=[].slice,da=function(e,t){return e&&Kt(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&Kt(e[0]))&&!e.nodeType&&e!==Ut},Jc=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(n){var i;return He(n)&&!t||da(n,1)?(i=r).push.apply(i,Ht(n)):r.push(n)})||r},Ht=function(e,t,r){return fe&&!t&&fe.selector?fe.selector(e):He(e)&&!r&&(bo||!fn())?To.call((t||Oo).querySelectorAll(e),0):$e(e)?Jc(e,r):da(e)?To.call(e,0):e?[e]:[]},So=function(e){return e=Ht(e)[0]||Fn("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return Ht(t,r.querySelectorAll?r:r===e?Fn("Invalid scope")||Oo.createElement("div"):e)}},fa=function(e){return e.sort(function(){return .5-Math.random()})},pa=function(e){if(we(e))return e;var t=Kt(e)?e:{each:e},r=Fr(t.ease),n=t.from||0,i=parseFloat(t.base)||0,o={},s=n>0&&n<1,l=isNaN(n)||s,c=t.axis,u=n,f=n;return He(n)?u=f={center:.5,edges:.5,end:1}[n]||0:!s&&l&&(u=n[0],f=n[1]),function(p,d,m){var h=(m||t).length,g=o[h],b,_,w,v,E,S,T,k,M;if(!g){if(M=t.grid==="auto"?0:(t.grid||[1,Pt])[1],!M){for(T=-Pt;T<(T=m[M++].getBoundingClientRect().left)&&M<h;);M<h&&M--}for(g=o[h]=[],b=l?Math.min(M,h)*u-.5:n%M,_=M===Pt?0:l?h*f/M-.5:n/M|0,T=0,k=Pt,S=0;S<h;S++)w=S%M-b,v=_-(S/M|0),g[S]=E=c?Math.abs(c==="y"?v:w):Zs(w*w+v*v),E>T&&(T=E),E<k&&(k=E);n==="random"&&fa(g),g.max=T-k,g.min=k,g.v=h=(parseFloat(t.amount)||parseFloat(t.each)*(M>h?h-1:c?c==="y"?h/M:M:Math.max(M,h/M))||0)*(n==="edges"?-1:1),g.b=h<0?i-h:i,g.u=Ge(t.amount||t.each)||0,r=r&&h<0?Ea(r):r}return h=(g[p]-g.min)/g.max||0,ge(g.b+(r?r(h):h)*g.v)+g.u}},Lo=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var n=ge(Math.round(parseFloat(r)/e)*e*t);return(n-n%1)/t+(or(r)?0:Ge(r))}},ha=function(e,t){var r=$e(e),n,i;return!r&&Kt(e)&&(n=r=e.radius||Pt,e.values?(e=Ht(e.values),(i=!or(e[0]))&&(n*=n)):e=Lo(e.increment)),xr(t,r?we(e)?function(o){return i=e(o),Math.abs(i-o)<=n?i:o}:function(o){for(var s=parseFloat(i?o.x:o),l=parseFloat(i?o.y:0),c=Pt,u=0,f=e.length,p,d;f--;)i?(p=e[f].x-s,d=e[f].y-l,p=p*p+d*d):p=Math.abs(e[f]-s),p<c&&(c=p,u=f);return u=!n||c<=n?e[u]:o,i||u===o||or(o)?u:u+Ge(o)}:Lo(e))},ma=function(e,t,r,n){return xr($e(e)?!t:r===!0?!!(r=0):!n,function(){return $e(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})},eu=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,o){return o(i)},n)}},tu=function(e,t){return function(r){return e(parseFloat(r))+(t||Ge(r))}},ru=function(e,t,r){return _a(e,t,0,1,r)},ga=function(e,t,r){return xr(r,function(n){return e[~~t(n)]})},nu=function a(e,t,r){var n=t-e;return $e(e)?ga(e,a(0,e.length),t):xr(r,function(i){return(n+(i-e)%n)%n+e})},iu=function a(e,t,r){var n=t-e,i=n*2;return $e(e)?ga(e,a(0,e.length-1),t):xr(r,function(o){return o=(i+(o-e)%i)%i||0,e+(o>n?i-o:o)})},pn=function(e){return e.replace(qc,function(t){var r=t.indexOf("[")+1,n=t.substring(r||7,r?t.indexOf("]"):t.length-1).split(Fc);return ma(r?n:+n[0],r?0:+n[1],+n[2]||1e-5)})},_a=function(e,t,r,n,i){var o=t-e,s=n-r;return xr(i,function(l){return r+((l-e)/o*s||0)})},ou=function a(e,t,r,n){var i=isNaN(e+t)?0:function(d){return(1-d)*e+d*t};if(!i){var o=He(e),s={},l,c,u,f,p;if(r===!0&&(n=1)&&(r=null),o)e={p:e},t={p:t};else if($e(e)&&!$e(t)){for(u=[],f=e.length,p=f-2,c=1;c<f;c++)u.push(a(e[c-1],e[c]));f--,i=function(m){m*=f;var h=Math.min(p,~~m);return u[h](m-h)},r=t}else n||(e=cn($e(e)?[]:{},e));if(!u){for(l in t)Bo.call(s,e,l,"get",t[l]);i=function(m){return Uo(m,s)||(o?e.p:e)}}}return xr(r,i)},Ks=function(e,t,r){var n=e.labels,i=Pt,o,s,l;for(o in n)s=n[o]-t,s<0==!!r&&s&&i>(s=Math.abs(s))&&(l=o,i=s);return l},wt=function(e,t,r){var n=e.vars,i=n[t],o=fe,s=e._ctx,l,c,u;if(i)return l=n[t+"Params"],c=n.callbackScope||e,r&&br.length&&xi(),s&&(fe=s),u=l?i.apply(c,l):i.call(c),fe=o,u},On=function(e){return Er(e),e.scrollTrigger&&e.scrollTrigger.kill(!!We),e.progress()<1&&wt(e,"onInterrupt"),e},an,ya=[],va=function(e){if(e)if(e=!e.name&&e.default||e,Co()||e.headless){var t=e.name,r=we(e),n=t&&!r&&e.init?function(){this._props=[]}:e,i={init:Nn,render:Uo,add:Bo,kill:wu,modifier:bu,rawVars:0},o={targetTest:0,get:0,getSetter:Hi,aliases:{},register:0};if(fn(),e!==n){if(pt[t])return;xt(n,xt(Ti(e,i),o)),cn(n.prototype,cn(i,Ti(e,o))),pt[n.prop=t]=n,e.targetTest&&(bi.push(n),Do[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}ra(t,n),e.register&&e.register(je,n,ot)}else ya.push(e)},ae=255,Dn={aqua:[0,ae,ae],lime:[0,ae,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,ae],navy:[0,0,128],white:[ae,ae,ae],olive:[128,128,0],yellow:[ae,ae,0],orange:[ae,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[ae,0,0],pink:[ae,192,203],cyan:[0,ae,ae],transparent:[ae,ae,ae,0]},ho=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)*ae+.5|0},ba=function(e,t,r){var n=e?or(e)?[e>>16,e>>8&ae,e&ae]:0:Dn.black,i,o,s,l,c,u,f,p,d,m;if(!n){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Dn[e])n=Dn[e];else if(e.charAt(0)==="#"){if(e.length<6&&(i=e.charAt(1),o=e.charAt(2),s=e.charAt(3),e="#"+i+i+o+o+s+s+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return n=parseInt(e.substr(1,6),16),[n>>16,n>>8&ae,n&ae,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),n=[e>>16,e>>8&ae,e&ae]}else if(e.substr(0,3)==="hsl"){if(n=m=e.match(Gs),!t)l=+n[0]%360/360,c=+n[1]/100,u=+n[2]/100,o=u<=.5?u*(c+1):u+c-u*c,i=u*2-o,n.length>3&&(n[3]*=1),n[0]=ho(l+1/3,i,o),n[1]=ho(l,i,o),n[2]=ho(l-1/3,i,o);else if(~e.indexOf("="))return n=e.match(Po),r&&n.length<4&&(n[3]=1),n}else n=e.match(Gs)||Dn.transparent;n=n.map(Number)}return t&&!m&&(i=n[0]/ae,o=n[1]/ae,s=n[2]/ae,f=Math.max(i,o,s),p=Math.min(i,o,s),u=(f+p)/2,f===p?l=c=0:(d=f-p,c=u>.5?d/(2-f-p):d/(f+p),l=f===i?(o-s)/d+(o<s?6:0):f===o?(s-i)/d+2:(i-o)/d+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},wa=function(e){var t=[],r=[],n=-1;return e.split(ir).forEach(function(i){var o=i.match(zr)||[];t.push.apply(t,o),r.push(n+=o.length+1)}),t.c=r,t},$s=function(e,t,r){var n="",i=(e+n).match(ir),o=t?"hsla(":"rgba(",s=0,l,c,u,f;if(!i)return e;if(i=i.map(function(p){return(p=ba(p,t,1))&&o+(t?p[0]+","+p[1]+"%,"+p[2]+"%,"+p[3]:p.join(","))+")"}),r&&(u=wa(e),l=r.c,l.join(n)!==u.c.join(n)))for(c=e.replace(ir,"1").split(zr),f=c.length-1;s<f;s++)n+=c[s]+(~l.indexOf(s)?i.shift()||o+"0,0,0,0)":(u.length?u:i.length?i:r).shift());if(!c)for(c=e.split(ir),f=c.length-1;s<f;s++)n+=c[s]+i[s];return n+c[f]},ir=function(){var a="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in Dn)a+="|"+e+"\\b";return new RegExp(a+")","gi")}(),su=/hsl[a]?\(/,No=function(e){var t=e.join(" "),r;if(ir.lastIndex=0,ir.test(t))return r=su.test(t),e[1]=$s(e[1],r),e[0]=$s(e[0],r,wa(e[1])),!0},zn,ht=function(){var a=Date.now,e=500,t=33,r=a(),n=r,i=1e3/240,o=i,s=[],l,c,u,f,p,d,m=function h(g){var b=a()-n,_=g===!0,w,v,E,S;if((b>e||b<0)&&(r+=b-t),n+=b,E=n-r,w=E-o,(w>0||_)&&(S=++f.frame,p=E-f.time*1e3,f.time=E=E/1e3,o+=w+(w>=i?4:i-w),v=1),_||(l=c(h)),v)for(d=0;d<s.length;d++)s[d](E,p,S,g)};return f={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(g){return p/(1e3/(g||60))},wake:function(){ea&&(!bo&&Co()&&(Ut=bo=window,Oo=Ut.document||{},Et.gsap=je,(Ut.gsapVersions||(Ut.gsapVersions=[])).push(je.version),ta(Ei||Ut.GreenSockGlobals||!Ut.gsap&&Ut||{}),ya.forEach(va)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&f.sleep(),c=u||function(g){return setTimeout(g,o-f.time*1e3+1|0)},zn=1,m(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(l),zn=0,c=Nn},lagSmoothing:function(g,b){e=g||1/0,t=Math.min(b||33,e)},fps:function(g){i=1e3/(g||240),o=f.time*1e3+i},add:function(g,b,_){var w=b?function(v,E,S,T){g(v,E,S,T),f.remove(w)}:g;return f.remove(g),s[_?"unshift":"push"](w),fn(),w},remove:function(g,b){~(b=s.indexOf(g))&&s.splice(b,1)&&d>=b&&d--},_listeners:s},f}(),fn=function(){return!zn&&ht.wake()},J={},au=/^[\d.\-M][\d.\-,\s]/,lu=/["']/g,cu=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),n=r[0],i=1,o=r.length,s,l,c;i<o;i++)l=r[i],s=i!==o-1?l.lastIndexOf(","):l.length,c=l.substr(0,s),t[n]=isNaN(c)?c.replace(lu,"").trim():+c,n=l.substr(s+1).trim();return t},uu=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)},du=function(e){var t=(e+"").split("("),r=J[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[cu(t[1])]:uu(e).split(",").map(oa)):J._CE&&au.test(e)?J._CE("",e):r},Ea=function(e){return function(t){return 1-e(1-t)}},xa=function a(e,t){for(var r=e._first,n;r;)r instanceof Be?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},Fr=function(e,t){return e&&(we(e)?e:J[e]||du(e))||t},Wr=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},o;return it(e,function(s){J[s]=Et[s]=i,J[o=s.toLowerCase()]=r;for(var l in i)J[o+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=J[s+"."+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}},mo=function a(e,t,r){var n=t>=1?t:1,i=(r||(e?.3:.45))/(t<1?t:1),o=i/vo*(Math.asin(1/n)||0),s=function(u){return u===1?1:n*Math.pow(2,-10*u)*Rc((u-o)*i)+1},l=e==="out"?s:e==="in"?function(c){return 1-s(1-c)}:Ta(s);return i=vo/i,l.config=function(c,u){return a(e,c,u)},l},go=function a(e,t){t===void 0&&(t=1.70158);var r=function(o){return o?--o*o*((t+1)*o+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};it("Linear,Quad,Cubic,Quart,Quint,Strong",function(a,e){var t=e<5?e+1:e;Wr(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})});J.Linear.easeNone=J.none=J.Linear.easeIn;Wr("Elastic",mo("in"),mo("out"),mo());(function(a,e){var t=1/e,r=2*t,n=2.5*t,i=function(s){return s<t?a*s*s:s<r?a*Math.pow(s-1.5/e,2)+.75:s<n?a*(s-=2.25/e)*s+.9375:a*Math.pow(s-2.625/e,2)+.984375};Wr("Bounce",function(o){return 1-i(1-o)},i)})(7.5625,2.75);Wr("Expo",function(a){return Math.pow(2,10*(a-1))*a+a*a*a*a*a*a*(1-a)});Wr("Circ",function(a){return-(Zs(1-a*a)-1)});Wr("Sine",function(a){return a===1?1:-Ic(a*Oc)+1});Wr("Back",go("in"),go("out"),go());J.SteppedEase=J.steps=Et.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,n=e+(t?0:1),i=t?1:0,o=1-le;return function(s){return((n*Wn(0,o,s)|0)+i)*r}}};ln.ease=J["quad.out"];it("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(a){return Io+=a+","+a+"Params,"});var zo=function(e,t){this.id=Dc++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:qo,this.set=t?t.getSetter:Hi},Bn=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,dn(this,+t.duration,1,1),this.data=t.data,fe&&(this._ctx=fe,fe.data.push(this)),zn||ht.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,dn(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(Pi(this,r),!i._dp||i.parent||la(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)===le||!this._initted&&this._dur&&r||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),ia(this,r,n)),this},e.time=function(r,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Us(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)+Us(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?un(this._tTime,i)+1:1},e.timeScale=function(r,n){if(!arguments.length)return this._rts===-le?0:this._rts;if(this._rts===r)return this;var i=this.parent&&this._ts?Si(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-le?0:this._rts,this.totalTime(Wn(-Math.abs(this._delay),this.totalDuration(),i),n!==!1),Ci(this),Uc(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)!==le&&(this._tTime-=le)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=ge(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+(mt(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?Si(n.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=Wc);var n=We;return We=r,Fo(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),We=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,Xs(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var n=this._time;return this._rDelay=r,Xs(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(Ct(this,r),mt(n))},e.restart=function(r,n){return this.play().totalTime(r?-this._delay:0,mt(n)),this._dur||(this._zTime=-le),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?-le:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-le,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)-le)},e.eventCallback=function(r,n,i){var o=this.vars;return arguments.length>1?(n?(o[r]=n,i&&(o[r+"Params"]=i),r==="onUpdate"&&(this._onUpdate=n)):delete o[r],this):o[r]},e.then=function(r){var n=this,i=n._prom;return new Promise(function(o){var s=we(r)?r:sa,l=function(){var u=n.then;n.then=null,i&&i(),we(s)&&(s=s(n))&&(s.then||s===n)&&(n.then=u),o(s),n.then=u};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?l():n._prom=l})},e.kill=function(){On(this)},a}();xt(Bn.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:-le,_prom:0,_ps:!1,_rts:1});var Be=function(a){Qs(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=mt(r.sortChildren),_e&&Xt(r.parent||_e,nr(i),n),r.reversed&&i.reverse(),r.paused&&i.paused(!0),r.scrollTrigger&&ca(nr(i),r.scrollTrigger),i}var t=e.prototype;return t.to=function(n,i,o){return Rn(0,arguments,this),this},t.from=function(n,i,o){return Rn(1,arguments,this),this},t.fromTo=function(n,i,o,s){return Rn(2,arguments,this),this},t.set=function(n,i,o){return i.duration=0,i.parent=this,In(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new Me(n,i,Ct(this,o),1),this},t.call=function(n,i,o){return Xt(this,Me.delayedCall(0,n,i),o)},t.staggerTo=function(n,i,o,s,l,c,u){return o.duration=i,o.stagger=o.stagger||s,o.onComplete=c,o.onCompleteParams=u,o.parent=this,new Me(n,o,Ct(this,l)),this},t.staggerFrom=function(n,i,o,s,l,c,u){return o.runBackwards=1,In(o).immediateRender=mt(o.immediateRender),this.staggerTo(n,i,o,s,l,c,u)},t.staggerFromTo=function(n,i,o,s,l,c,u,f){return s.startAt=o,In(s).immediateRender=mt(s.immediateRender),this.staggerTo(n,i,s,l,c,u,f)},t.render=function(n,i,o){var s=this._time,l=this._dirty?this.totalDuration():this._tDur,c=this._dur,u=n<=0?0:ge(n),f=this._zTime<0!=n<0&&(this._initted||!c),p,d,m,h,g,b,_,w,v,E,S,T;if(this!==_e&&u>l&&n>=0&&(u=l),u!==this._tTime||o||f){if(s!==this._time&&c&&(u+=this._time-s,n+=this._time-s),p=u,v=this._start,w=this._ts,b=!w,f&&(c||(s=this._zTime),(n||!i)&&(this._zTime=n)),this._repeat){if(S=this._yoyo,g=c+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(g*100+n,i,o);if(p=ge(u%g),u===l?(h=this._repeat,p=c):(E=ge(u/g),h=~~E,h&&h===E&&(p=c,h--),p>c&&(p=c)),E=un(this._tTime,g),!s&&this._tTime&&E!==h&&this._tTime-E*g-this._dur<=0&&(E=h),S&&h&1&&(p=c-p,T=1),h!==E&&!this._lock){var k=S&&E&1,M=k===(S&&h&1);if(h<E&&(k=!k),s=k?0:u%c?c:u,this._lock=1,this.render(s||(T?0:ge(h*g)),i,!c)._lock=0,this._tTime=u,!i&&this.parent&&wt(this,"onRepeat"),this.vars.repeatRefresh&&!T&&(this.invalidate()._lock=1,E=h),s&&s!==this._time||b!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(c=this._dur,l=this._tDur,M&&(this._lock=2,s=k?c:-1e-4,this.render(s,!0),this.vars.repeatRefresh&&!T&&this.invalidate()),this._lock=0,!this._ts&&!b)return this;xa(this,T)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(_=jc(this,ge(s),ge(p)),_&&(u-=p-(p=_._start))),this._tTime=u,this._time=p,this._act=!w,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,s=0),!s&&u&&c&&!i&&!E&&(wt(this,"onStart"),this._tTime!==u))return this;if(p>=s&&n>=0)for(d=this._first;d;){if(m=d._next,(d._act||p>=d._start)&&d._ts&&_!==d){if(d.parent!==this)return this.render(n,i,o);if(d.render(d._ts>0?(p-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(p-d._start)*d._ts,i,o),p!==this._time||!this._ts&&!b){_=0,m&&(u+=this._zTime=-le);break}}d=m}else{d=this._last;for(var x=n<0?n:p;d;){if(m=d._prev,(d._act||x<=d._end)&&d._ts&&_!==d){if(d.parent!==this)return this.render(n,i,o);if(d.render(d._ts>0?(x-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(x-d._start)*d._ts,i,o||We&&Fo(d)),p!==this._time||!this._ts&&!b){_=0,m&&(u+=this._zTime=x?-le:le);break}}d=m}}if(_&&!i&&(this.pause(),_.render(p>=s?0:-le)._zTime=p>=s?1:-1,this._ts))return this._start=v,Ci(this),this.render(n,i,o);this._onUpdate&&!i&&wt(this,"onUpdate",!0),(u===l&&this._tTime>=this.totalDuration()||!u&&s)&&(v===this._start||Math.abs(w)!==Math.abs(this._ts))&&(this._lock||((n||!c)&&(u===l&&this._ts>0||!u&&this._ts<0)&&Er(this,1),!i&&!(n<0&&!s)&&(u||s||!l)&&(wt(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 o=this;if(or(i)||(i=Ct(this,i,n)),!(n instanceof Bn)){if($e(n))return n.forEach(function(s){return o.add(s,i)}),this;if(He(n))return this.addLabel(n,i);if(we(n))n=Me.delayedCall(0,n);else return this}return this!==n?Xt(this,n,i):this},t.getChildren=function(n,i,o,s){n===void 0&&(n=!0),i===void 0&&(i=!0),o===void 0&&(o=!0),s===void 0&&(s=-Pt);for(var l=[],c=this._first;c;)c._start>=s&&(c instanceof Me?i&&l.push(c):(o&&l.push(c),n&&l.push.apply(l,c.getChildren(!0,i,o)))),c=c._next;return l},t.getById=function(n){for(var i=this.getChildren(1,1,1),o=i.length;o--;)if(i[o].vars.id===n)return i[o]},t.remove=function(n){return He(n)?this.removeLabel(n):we(n)?this.killTweensOf(n):(n.parent===this&&ki(this,n),n===this._recent&&(this._recent=this._last),qr(this))},t.totalTime=function(n,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ge(ht.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]=Ct(this,i),this},t.removeLabel=function(n){return delete this.labels[n],this},t.addPause=function(n,i,o){var s=Me.delayedCall(0,i||Nn,o);return s.data="isPause",this._hasPause=1,Xt(this,s,Ct(this,n))},t.removePause=function(n){var i=this._first;for(n=Ct(this,n);i;)i._start===n&&i.data==="isPause"&&Er(i),i=i._next},t.killTweensOf=function(n,i,o){for(var s=this.getTweensOf(n,o),l=s.length;l--;)vr!==s[l]&&s[l].kill(n,i);return this},t.getTweensOf=function(n,i){for(var o=[],s=Ht(n),l=this._first,c=or(i),u;l;)l instanceof Me?Gc(l._targets,s)&&(c?(!vr||l._initted&&l._ts)&&l.globalTime(0)<=i&&l.globalTime(l.totalDuration())>i:!i||l.isActive())&&o.push(l):(u=l.getTweensOf(s,i)).length&&o.push.apply(o,u),l=l._next;return o},t.tweenTo=function(n,i){i=i||{};var o=this,s=Ct(o,n),l=i,c=l.startAt,u=l.onStart,f=l.onStartParams,p=l.immediateRender,d,m=Me.to(o,xt({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:s,overwrite:"auto",duration:i.duration||Math.abs((s-(c&&"time"in c?c.time:o._time))/o.timeScale())||le,onStart:function(){if(o.pause(),!d){var g=i.duration||Math.abs((s-(c&&"time"in c?c.time:o._time))/o.timeScale());m._dur!==g&&dn(m,g,0,1).render(m._time,!0,!0),d=1}u&&u.apply(m,f||[])}},i));return p?m.render(0):m},t.tweenFromTo=function(n,i,o){return this.tweenTo(i,xt({startAt:{time:Ct(this,n)}},o))},t.recent=function(){return this._recent},t.nextLabel=function(n){return n===void 0&&(n=this._time),Ks(this,Ct(this,n))},t.previousLabel=function(n){return n===void 0&&(n=this._time),Ks(this,Ct(this,n),1)},t.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+le)},t.shiftChildren=function(n,i,o){o===void 0&&(o=0);var s=this._first,l=this.labels,c;for(n=ge(n);s;)s._start>=o&&(s._start+=n,s._end+=n),s=s._next;if(i)for(c in l)l[c]>=o&&(l[c]+=n);return qr(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,o;i;)o=i._next,this.remove(i),i=o;return this._dp&&(this._time=this._tTime=this._pTime=0),n&&(this.labels={}),qr(this)},t.totalDuration=function(n){var i=0,o=this,s=o._last,l=Pt,c,u,f;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-n:n));if(o._dirty){for(f=o.parent;s;)c=s._prev,s._dirty&&s.totalDuration(),u=s._start,u>l&&o._sort&&s._ts&&!o._lock?(o._lock=1,Xt(o,s,u-s._delay,1)._lock=0):l=u,u<0&&s._ts&&(i-=u,(!f&&!o._dp||f&&f.smoothChildTiming)&&(o._start+=ge(u/o._ts),o._time-=u,o._tTime-=u),o.shiftChildren(-u,!1,-1/0),l=0),s._end>i&&s._ts&&(i=s._end),s=c;dn(o,o===_e&&o._time>i?o._time:i,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(n){if(_e._ts&&(ia(_e,Si(n,_e)),na=ht.frame),ht.frame>=Vs){Vs+=gt.autoSleep||120;var i=_e._first;if((!i||!i._ts)&>.autoSleep&&ht._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||ht.sleep()}}},e}(Bn);xt(Be.prototype,{_lock:0,_hasPause:0,_forcing:0});var fu=function(e,t,r,n,i,o,s){var l=new ot(this._pt,e,t,0,1,Yo,null,i),c=0,u=0,f,p,d,m,h,g,b,_;for(l.b=r,l.e=n,r+="",n+="",(b=~n.indexOf("random("))&&(n=pn(n)),o&&(_=[r,n],o(_,e,t),r=_[0],n=_[1]),p=r.match(fo)||[];f=fo.exec(n);)m=f[0],h=n.substring(c,f.index),d?d=(d+1)%5:h.substr(-5)==="rgba("&&(d=1),m!==p[u++]&&(g=parseFloat(p[u-1])||0,l._pt={_next:l._pt,p:h||u===1?h:",",s:g,c:m.charAt(1)==="="?Br(g,m)-g:parseFloat(m)-g,m:d&&d<4?Math.round:0},c=fo.lastIndex);return l.c=c<n.length?n.substring(c,n.length):"",l.fp=s,(Ho.test(n)||b)&&(l.e=0),this._pt=l,l},Bo=function(e,t,r,n,i,o,s,l,c,u){we(n)&&(n=n(i||0,e,o));var f=e[t],p=r!=="get"?r:we(f)?c?e[t.indexOf("set")||!we(e["get"+t.substr(3)])?t:"get"+t.substr(3)](c):e[t]():f,d=we(f)?c?_u:Ma:Vo,m;if(He(n)&&(~n.indexOf("random(")&&(n=pn(n)),n.charAt(1)==="="&&(m=Br(p,n)+(Ge(p)||0),(m||m===0)&&(n=m))),!u||p!==n||Mo)return!isNaN(p*n)&&n!==""?(m=new ot(this._pt,e,t,+p||0,n-(p||0),typeof f=="boolean"?vu:Aa,0,d),c&&(m.fp=c),s&&m.modifier(s,this,e),this._pt=m):(!f&&!(t in e)&&Ai(t,n),fu.call(this,e,t,p,n,d,l||gt.stringFilter,c))},pu=function(e,t,r,n,i){if(we(e)&&(e=qn(e,i,t,r,n)),!Kt(e)||e.style&&e.nodeType||$e(e)||Js(e))return He(e)?qn(e,i,t,r,n):e;var o={},s;for(s in e)o[s]=qn(e[s],i,t,r,n);return o},Wo=function(e,t,r,n,i,o){var s,l,c,u;if(pt[e]&&(s=new pt[e]).init(i,s.rawVars?t[e]:pu(t[e],n,i,o,r),r,n,o)!==!1&&(r._pt=l=new ot(r._pt,i,e,0,1,s.render,s,0,s.priority),r!==an))for(c=r._ptLookup[r._targets.indexOf(i)],u=s._props.length;u--;)c[s._props[u]]=l;return s},vr,Mo,Go=function a(e,t,r){var n=e.vars,i=n.ease,o=n.startAt,s=n.immediateRender,l=n.lazy,c=n.onUpdate,u=n.runBackwards,f=n.yoyoEase,p=n.keyframes,d=n.autoRevert,m=e._dur,h=e._startAt,g=e._targets,b=e.parent,_=b&&b.data==="nested"?b.vars.targets:g,w=e._overwrite==="auto"&&!ko,v=e.timeline,E,S,T,k,M,x,P,A,D,N,G,F,C;if(v&&(!p||!i)&&(i="none"),e._ease=Fr(i,ln.ease),e._yEase=f?Ea(Fr(f===!0?i:f,ln.ease)):0,f&&e._yoyo&&!e._repeat&&(f=e._yEase,e._yEase=e._ease,e._ease=f),e._from=!v&&!!n.runBackwards,!v||p&&!n.stagger){if(A=g[0]?wr(g[0]).harness:0,F=A&&n[A.prop],E=Ti(n,Do),h&&(h._zTime<0&&h.progress(1),t<0&&u&&s&&!d?h.render(-1,!0):h.revert(u&&m?vi:Bc),h._lazy=0),o){if(Er(e._startAt=Me.set(g,xt({data:"isStart",overwrite:!1,parent:b,immediateRender:!0,lazy:!h&&mt(l),startAt:null,delay:0,onUpdate:c&&function(){return wt(e,"onUpdate")},stagger:0},o))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(We||!s&&!d)&&e._startAt.revert(vi),s&&m&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(u&&m&&!h){if(t&&(s=!1),T=xt({overwrite:!1,data:"isFromStart",lazy:s&&!h&&mt(l),immediateRender:s,stagger:0,parent:b},E),F&&(T[A.prop]=F),Er(e._startAt=Me.set(g,T)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(We?e._startAt.revert(vi):e._startAt.render(-1,!0)),e._zTime=t,!s)a(e._startAt,le,le);else if(!t)return}for(e._pt=e._ptCache=0,l=m&&mt(l)||l&&!m,S=0;S<g.length;S++){if(M=g[S],P=M._gsap||Ro(g)[S]._gsap,e._ptLookup[S]=N={},wo[P.id]&&br.length&&xi(),G=_===g?S:_.indexOf(M),A&&(D=new A).init(M,F||E,e,G,_)!==!1&&(e._pt=k=new ot(e._pt,M,D.name,0,1,D.render,D,0,D.priority),D._props.forEach(function(z){N[z]=k}),D.priority&&(x=1)),!A||F)for(T in E)pt[T]&&(D=Wo(T,E,e,G,M,_))?D.priority&&(x=1):N[T]=k=Bo.call(e,M,T,"get",E[T],G,_,0,n.stringFilter);e._op&&e._op[S]&&e.kill(M,e._op[S]),w&&e._pt&&(vr=e,_e.killTweensOf(M,N,e.globalTime(t)),C=!e.parent,vr=0),e._pt&&l&&(wo[P.id]=1)}x&&Xo(e),e._onInit&&e._onInit(e)}e._onUpdate=c,e._initted=(!e._op||e._pt)&&!C,p&&t<=0&&v.render(Pt,!0,!0)},hu=function(e,t,r,n,i,o,s,l){var c=(e._pt&&e._ptCache||(e._ptCache={}))[t],u,f,p,d;if(!c)for(c=e._ptCache[t]=[],p=e._ptLookup,d=e._targets.length;d--;){if(u=p[d][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 Mo=1,e.vars[t]="+=0",Go(e,s),Mo=0,l?Fn(t+" not eligible for reset"):1;c.push(u)}for(d=c.length;d--;)f=c[d],u=f._pt||f,u.s=(n||n===0)&&!i?n:u.s+(n||0)+o*u.c,u.c=r-u.s,f.e&&(f.e=Ee(r)+Ge(f.e)),f.b&&(f.b=u.s+Ge(f.b))},mu=function(e,t){var r=e[0]?wr(e[0]).harness:0,n=r&&r.aliases,i,o,s,l;if(!n)return t;i=cn({},t);for(o in n)if(o in i)for(l=n[o].split(","),s=l.length;s--;)i[l[s]]=i[o];return i},gu=function(e,t,r,n){var i=t.ease||n||"power1.inOut",o,s;if($e(t))s=r[e]||(r[e]=[]),t.forEach(function(l,c){return s.push({t:c/(t.length-1)*100,v:l,e:i})});else for(o in t)s=r[o]||(r[o]=[]),o==="ease"||s.push({t:parseFloat(e),v:t[o],e:i})},qn=function(e,t,r,n,i){return we(e)?e.call(t,r,n,i):He(e)&&~e.indexOf("random(")?pn(e):e},Sa=Io+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",La={};it(Sa+",id,stagger,delay,duration,paused,scrollTrigger",function(a){return La[a]=1});var Me=function(a){Qs(e,a);function e(r,n,i,o){var s;typeof n=="number"&&(i.duration=n,n=i,i=null),s=a.call(this,o?n:In(n))||this;var l=s.vars,c=l.duration,u=l.delay,f=l.immediateRender,p=l.stagger,d=l.overwrite,m=l.keyframes,h=l.defaults,g=l.scrollTrigger,b=l.yoyoEase,_=n.parent||_e,w=($e(r)||Js(r)?or(r[0]):"length"in n)?[r]:Ht(r),v,E,S,T,k,M,x,P;if(s._targets=w.length?Ro(w):Fn("GSAP target "+r+" not found. https://gsap.com",!gt.nullTargetWarn)||[],s._ptLookup=[],s._overwrite=d,m||p||yi(c)||yi(u)){if(n=s.vars,v=s.timeline=new Be({data:"nested",defaults:h||{},targets:_&&_.data==="nested"?_.vars.targets:w}),v.kill(),v.parent=v._dp=nr(s),v._start=0,p||yi(c)||yi(u)){if(T=w.length,x=p&&pa(p),Kt(p))for(k in p)~Sa.indexOf(k)&&(P||(P={}),P[k]=p[k]);for(E=0;E<T;E++)S=Ti(n,La),S.stagger=0,b&&(S.yoyoEase=b),P&&cn(S,P),M=w[E],S.duration=+qn(c,nr(s),E,M,w),S.delay=(+qn(u,nr(s),E,M,w)||0)-s._delay,!p&&T===1&&S.delay&&(s._delay=u=S.delay,s._start+=u,S.delay=0),v.to(M,S,x?x(E,M,w):0),v._ease=J.none;v.duration()?c=u=0:s.timeline=0}else if(m){In(xt(v.vars.defaults,{ease:"none"})),v._ease=Fr(m.ease||n.ease||"none");var A=0,D,N,G;if($e(m))m.forEach(function(F){return v.to(w,F,">")}),v.duration();else{S={};for(k in m)k==="ease"||k==="easeEach"||gu(k,m[k],S,m.easeEach);for(k in S)for(D=S[k].sort(function(F,C){return F.t-C.t}),A=0,E=0;E<D.length;E++)N=D[E],G={ease:N.e,duration:(N.t-(E?D[E-1].t:0))/100*c},G[k]=N.v,v.to(w,G,A),A+=G.duration;v.duration()<c&&v.to({},{duration:c-v.duration()})}}c||s.duration(c=v.duration())}else s.timeline=0;return d===!0&&!ko&&(vr=nr(s),_e.killTweensOf(w),vr=0),Xt(_,nr(s),i),n.reversed&&s.reverse(),n.paused&&s.paused(!0),(f||!c&&!m&&s._start===ge(_._time)&&mt(f)&&Xc(nr(s))&&_.data!=="nested")&&(s._tTime=-le,s.render(Math.max(0,-u)||0)),g&&ca(nr(s),g),s}var t=e.prototype;return t.render=function(n,i,o){var s=this._time,l=this._tDur,c=this._dur,u=n<0,f=n>l-le&&!u?l:n<le?0:n,p,d,m,h,g,b,_,w,v;if(!c)$c(this,n,i,o);else if(f!==this._tTime||!n||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u||this._lazy){if(p=f,w=this.timeline,this._repeat){if(h=c+this._rDelay,this._repeat<-1&&u)return this.totalTime(h*100+n,i,o);if(p=ge(f%h),f===l?(m=this._repeat,p=c):(g=ge(f/h),m=~~g,m&&m===g?(p=c,m--):p>c&&(p=c)),b=this._yoyo&&m&1,b&&(v=this._yEase,p=c-p),g=un(this._tTime,h),p===s&&!o&&this._initted&&m===g)return this._tTime=f,this;m!==g&&(w&&this._yEase&&xa(w,b),this.vars.repeatRefresh&&!b&&!this._lock&&p!==h&&this._initted&&(this._lock=o=1,this.render(ge(h*m),!0).invalidate()._lock=0))}if(!this._initted){if(ua(this,u?n:p,o,i,f))return this._tTime=0,this;if(s!==this._time&&!(o&&this.vars.repeatRefresh&&m!==g))return this;if(c!==this._dur)return this.render(n,i,o)}if(this._tTime=f,this._time=p,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=_=(v||this._ease)(p/c),this._from&&(this.ratio=_=1-_),!s&&f&&!i&&!g&&(wt(this,"onStart"),this._tTime!==f))return this;for(d=this._pt;d;)d.r(_,d.d),d=d._next;w&&w.render(n<0?n:w._dur*w._ease(p/this._dur),i,o)||this._startAt&&(this._zTime=n),this._onUpdate&&!i&&(u&&Eo(this,n,i,o),wt(this,"onUpdate")),this._repeat&&m!==g&&this.vars.onRepeat&&!i&&this.parent&&wt(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(u&&!this._onUpdate&&Eo(this,n,!0,!0),(n||!c)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&Er(this,1),!i&&!(u&&!s)&&(f||s||b)&&(wt(this,f===l?"onComplete":"onReverseComplete",!0),this._prom&&!(f<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,o,s,l){zn||ht.wake(),this._ts||this.play();var c=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Go(this,c),u=this._ease(c/this._dur),hu(this,n,i,o,s,u,c,l)?this.resetTo(n,i,o,s,1):(Pi(this,0),this.parent||aa(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?On(this):this.scrollTrigger&&this.scrollTrigger.kill(!!We),this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(n,i,vr&&vr.vars.overwrite!==!0)._first||On(this),this.parent&&o!==this.timeline.totalDuration()&&dn(this,this._dur*this.timeline._tDur/o,0,1),this}var s=this._targets,l=n?Ht(n):s,c=this._ptLookup,u=this._pt,f,p,d,m,h,g,b;if((!i||i==="all")&&Yc(s,l))return i==="all"&&(this._pt=0),On(this);for(f=this._op=this._op||[],i!=="all"&&(He(i)&&(h={},it(i,function(_){return h[_]=1}),i=h),i=mu(s,i)),b=s.length;b--;)if(~l.indexOf(s[b])){p=c[b],i==="all"?(f[b]=i,m=p,d={}):(d=f[b]=f[b]||{},m=i);for(h in m)g=p&&p[h],g&&((!("kill"in g.d)||g.d.kill(h)===!0)&&ki(this,g,"_pt"),delete p[h]),d!=="all"&&(d[h]=1)}return this._initted&&!this._pt&&u&&On(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,o,s){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:i,onReverseComplete:i,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:s})},e.fromTo=function(n,i,o){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,o){return _e.killTweensOf(n,i,o)},e}(Bn);xt(Me.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});it("staggerTo,staggerFrom,staggerFromTo",function(a){Me[a]=function(){var e=new Be,t=To.call(arguments,0);return t.splice(a==="staggerFromTo"?5:4,0,0),e[a].apply(e,t)}});var Vo=function(e,t,r){return e[t]=r},Ma=function(e,t,r){return e[t](r)},_u=function(e,t,r,n){return e[t](n.fp,r)},yu=function(e,t,r){return e.setAttribute(t,r)},Hi=function(e,t){return we(e[t])?Ma:Mi(e[t])&&e.setAttribute?yu:Vo},Aa=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},vu=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Yo=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)},Uo=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},bu=function(e,t,r,n){for(var i=this._pt,o;i;)o=i._next,i.p===n&&i.modifier(e,t,r),i=o},wu=function(e){for(var t=this._pt,r,n;t;)n=t._next,t.p===e&&!t.op||t.op===e?ki(this,t,"_pt"):t.dep||(r=1),t=n;return!r},Eu=function(e,t,r,n){n.mSet(e,t,n.m.call(n.tween,r,n.mt),n)},Xo=function(e){for(var t=e._pt,r,n,i,o;t;){for(r=t._next,n=i;n&&n.pr>t.pr;)n=n._next;(t._prev=n?n._prev:o)?t._prev._next=t:i=t,(t._next=n)?n._prev=t:o=t,t=r}e._pt=i},ot=function(){function a(t,r,n,i,o,s,l,c,u){this.t=r,this.s=i,this.c=o,this.p=n,this.r=s||Aa,this.d=l||this,this.set=c||Vo,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=Eu,this.m=r,this.mt=i,this.tween=n},a}();it(Io+"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 Do[a]=1});Et.TweenMax=Et.TweenLite=Me;Et.TimelineLite=Et.TimelineMax=Be;_e=new Be({sortChildren:!1,defaults:ln,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});gt.stringFilter=No;var Nr=[],wi={},xu=[],js=0,Tu=0,_o=function(e){return(wi[e]||xu).map(function(t){return t()})},Ao=function(){var e=Date.now(),t=[];e-js>2&&(_o("matchMediaInit"),Nr.forEach(function(r){var n=r.queries,i=r.conditions,o,s,l,c;for(s in n)o=Ut.matchMedia(n[s]).matches,o&&(l=1),o!==i[s]&&(i[s]=o,c=1);c&&(r.revert(),l&&t.push(r))}),_o("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(n){return r.add(null,n)})}),js=e,_o("matchMedia"))},ka=function(){function a(t,r){this.selector=r&&So(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Tu++,t&&this.add(t)}var e=a.prototype;return e.add=function(r,n,i){we(r)&&(i=n,n=r,r=we);var o=this,s=function(){var c=fe,u=o.selector,f;return c&&c!==o&&c.data.push(o),i&&(o.selector=So(i)),fe=o,f=n.apply(o,arguments),we(f)&&o._r.push(f),fe=c,o.selector=u,o.isReverted=!1,f};return o.last=s,r===we?s(o,function(l){return o.add(null,l)}):r?o[r]=s:s},e.ignore=function(r){var n=fe;fe=null,r(this),fe=n},e.getTweens=function(){var r=[];return this.data.forEach(function(n){return n instanceof a?r.push.apply(r,n.getTweens()):n instanceof Me&&!(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 s=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 s.splice(s.indexOf(u),1)}));for(s.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,f){return f.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),l=i.data.length;l--;)c=i.data[l],c instanceof Be?c.data!=="nested"&&(c.scrollTrigger&&c.scrollTrigger.revert(),c.kill()):!(c instanceof Me)&&c.revert&&c.revert(r);i._r.forEach(function(u){return u(r,i)}),i.isReverted=!0}():this.data.forEach(function(s){return s.kill&&s.kill()}),this.clear(),n)for(var o=Nr.length;o--;)Nr[o].id===this.id&&Nr.splice(o,1)},e.revert=function(r){this.kill(r||{})},a}(),Su=function(){function a(t){this.contexts=[],this.scope=t,fe&&fe.data.push(this)}var e=a.prototype;return e.add=function(r,n,i){Kt(r)||(r={matches:r});var o=new ka(0,i||this.scope),s=o.conditions={},l,c,u;fe&&!o.selector&&(o.selector=fe.selector),this.contexts.push(o),n=o.add("onMatch",n),o.queries=r;for(c in r)c==="all"?u=1:(l=Ut.matchMedia(r[c]),l&&(Nr.indexOf(o)<0&&Nr.push(o),(s[c]=l.matches)&&(u=1),l.addListener?l.addListener(Ao):l.addEventListener("change",Ao)));return u&&n(o,function(f){return o.add(null,f)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(n){return n.kill(r,!0)})},a}(),Li={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 va(n)})},timeline:function(e){return new Be(e)},getTweensOf:function(e,t){return _e.getTweensOf(e,t)},getProperty:function(e,t,r,n){He(e)&&(e=Ht(e)[0]);var i=wr(e||{}).get,o=r?sa:oa;return r==="native"&&(r=""),e&&(t?o((pt[t]&&pt[t].get||i)(e,t,r,n)):function(s,l,c){return o((pt[s]&&pt[s].get||i)(e,s,l,c))})},quickSetter:function(e,t,r){if(e=Ht(e),e.length>1){var n=e.map(function(u){return je.quickSetter(u,t,r)}),i=n.length;return function(u){for(var f=i;f--;)n[f](u)}}e=e[0]||{};var o=pt[t],s=wr(e),l=s.harness&&(s.harness.aliases||{})[t]||t,c=o?function(u){var f=new o;an._pt=0,f.init(e,r?u+r:u,an,0,[e]),f.render(1,f),an._pt&&Uo(1,an)}:s.set(e,l);return o?c:function(u){return c(e,l,r?u+r:u,s,1)}},quickTo:function(e,t,r){var n,i=je.to(e,xt((n={},n[t]="+=0.1",n.paused=!0,n.stagger=0,n),r||{})),o=function(l,c,u){return i.resetTo(t,l,c,u)};return o.tween=i,o},isTweening:function(e){return _e.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Fr(e.ease,ln.ease)),Ys(ln,e||{})},config:function(e){return Ys(gt,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,n=e.plugins,i=e.defaults,o=e.extendTimeline;(n||"").split(",").forEach(function(s){return s&&!pt[s]&&!Et[s]&&Fn(t+" effect requires "+s+" plugin.")}),po[t]=function(s,l,c){return r(Ht(s),xt(l||{},i),c)},o&&(Be.prototype[t]=function(s,l,c){return this.add(po[t](s,Kt(l)?l:(c=l)&&{},this),c)})},registerEase:function(e,t){J[e]=Fr(t)},parseEase:function(e,t){return arguments.length?Fr(e,t):J},getById:function(e){return _e.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new Be(e),n,i;for(r.smoothChildTiming=mt(e.smoothChildTiming),_e.remove(r),r._dp=0,r._time=r._tTime=_e._time,n=_e._first;n;)i=n._next,(t||!(!n._dur&&n instanceof Me&&n.vars.onComplete===n._targets[0]))&&Xt(r,n,n._start-n._delay),n=i;return Xt(_e,r,0),r},context:function(e,t){return e?new ka(e,t):fe},matchMedia:function(e){return new Su(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()})||Ao()},addEventListener:function(e,t){var r=wi[e]||(wi[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=wi[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},utils:{wrap:nu,wrapYoyo:iu,distribute:pa,random:ma,snap:ha,normalize:ru,getUnit:Ge,clamp:Zc,splitColor:ba,toArray:Ht,selector:So,mapRange:_a,pipe:eu,unitize:tu,interpolate:ou,shuffle:fa},install:ta,effects:po,ticker:ht,updateRoot:Be.updateRoot,plugins:pt,globalTimeline:_e,core:{PropTween:ot,globals:ra,Tween:Me,Timeline:Be,Animation:Bn,getCache:wr,_removeLinkedListItem:ki,reverting:function(){return We},context:function(e){return e&&fe&&(fe.data.push(e),e._ctx=fe),fe},suppressOverwrites:function(e){return ko=e}}};it("to,from,fromTo,delayedCall,set,killTweensOf",function(a){return Li[a]=Me[a]});ht.add(Be.updateRoot);an=Li.to({},{duration:0});var Lu=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},Mu=function(e,t){var r=e._targets,n,i,o;for(n in t)for(i=r.length;i--;)o=e._ptLookup[i][n],o&&(o=o.d)&&(o._pt&&(o=Lu(o,n)),o&&o.modifier&&o.modifier(t[n],e,r[i],n))},yo=function(e,t){return{name:e,headless:1,rawVars:1,init:function(n,i,o){o._onInit=function(s){var l,c;if(He(i)&&(l={},it(i,function(u){return l[u]=1}),i=l),t){l={};for(c in i)l[c]=t(i[c]);i=l}Mu(s,i)}}}},je=Li.registerPlugin({name:"attr",init:function(e,t,r,n,i){var o,s,l;this.tween=r;for(o in t)l=e.getAttribute(o)||"",s=this.add(e,"setAttribute",(l||0)+"",t[o],n,i,0,0,o),s.op=o,s.b=l,this._props.push(o)},render:function(e,t){for(var r=t._pt;r;)We?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)}},yo("roundProps",Lo),yo("modifiers"),yo("snap",ha))||Li;Me.version=Be.version=je.version="3.14.2";ea=1;Co()&&fn();var Au=J.Power0,ku=J.Power1,Cu=J.Power2,Pu=J.Power3,Hu=J.Power4,Ou=J.Linear,Du=J.Quad,Iu=J.Cubic,Ru=J.Quart,qu=J.Quint,Fu=J.Strong,Nu=J.Elastic,zu=J.Back,Bu=J.SteppedEase,Wu=J.Bounce,Gu=J.Sine,Vu=J.Expo,Yu=J.Circ;var Ca,Tr,mn,Jo,Ur,Uu,Pa,es,Xu=function(){return typeof window<"u"},ar={},Yr=180/Math.PI,gn=Math.PI/180,hn=Math.atan2,Ha=1e8,ts=/([A-Z])/g,Ku=/(left|right|width|margin|padding|x)/i,$u=/[\s,\(]\S/,$t={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},$o=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},ju=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)},Zu=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)},Ju=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},za=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Ba=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},ed=function(e,t,r){return e.style[t]=r},td=function(e,t,r){return e.style.setProperty(t,r)},rd=function(e,t,r){return e._gsap[t]=r},nd=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},id=function(e,t,r,n,i){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(i,o)},od=function(e,t,r,n,i){var o=e._gsap;o[t]=r,o.renderTransform(i,o)},ye="transform",_t=ye+"Origin",sd=function a(e,t){var r=this,n=this.target,i=n.style,o=n._gsap;if(e in ar&&i){if(this.tfm=this.tfm||{},e!=="transform")e=$t[e]||e,~e.indexOf(",")?e.split(",").forEach(function(s){return r.tfm[s]=sr(n,s)}):this.tfm[e]=o.x?o[e]:sr(n,e),e===_t&&(this.tfm.zOrigin=o.zOrigin);else return $t.transform.split(",").forEach(function(s){return a.call(r,s,t)});if(this.props.indexOf(ye)>=0)return;o.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(_t,t,"")),e=ye}(i||t)&&this.props.push(e,t,i[e])},Wa=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},ad=function(){var e=this.props,t=this.target,r=t.style,n=t._gsap,i,o;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(ts,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)n[o]=this.tfm[o];n.svg&&(n.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),i=es(),(!i||!i.isStart)&&!r[ye]&&(Wa(r),n.zOrigin&&r[_t]&&(r[_t]+=" "+n.zOrigin+"px",n.zOrigin=0,n.renderTransform()),n.uncache=1)}},Ga=function(e,t){var r={target:e,props:[],revert:ad,save:sd};return e._gsap||je.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(n){return r.save(n)}),r},Va,jo=function(e,t){var r=Tr.createElementNS?Tr.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Tr.createElement(e);return r&&r.style?r:Tr.createElement(e)},Tt=function a(e,t,r){var n=getComputedStyle(e);return n[t]||n.getPropertyValue(t.replace(ts,"-$1").toLowerCase())||n.getPropertyValue(t)||!r&&a(e,_n(t)||t,1)||""},Oa="O,Moz,ms,Ms,Webkit".split(","),_n=function(e,t,r){var n=t||Ur,i=n.style,o=5;if(e in i&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(Oa[o]+e in i););return o<0?null:(o===3?"ms":o>=0?Oa[o]:"")+e},Qo=function(){Xu()&&window.document&&(Ca=window,Tr=Ca.document,mn=Tr.documentElement,Ur=jo("div")||{style:{}},Uu=jo("div"),ye=_n(ye),_t=ye+"Origin",Ur.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Va=!!_n("perspective"),es=je.core.reverting,Jo=1)},Da=function(e){var t=e.ownerSVGElement,r=jo("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=e.cloneNode(!0),i;n.style.display="block",r.appendChild(n),mn.appendChild(r);try{i=n.getBBox()}catch{}return r.removeChild(n),mn.removeChild(r),i},Ia=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=Da(e),r=1}return t&&(t.width||t.height)||r||(t=Da(e)),t&&!t.width&&!t.x&&!t.y?{x:+Ia(e,["x","cx","x1"])||0,y:+Ia(e,["y","cy","y1"])||0,width:0,height:0}:t},Ua=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Ya(e))},Lr=function(e,t){if(t){var r=e.style,n;t in ar&&t!==_t&&(t=ye),r.removeProperty?(n=t.substr(0,2),(n==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(n==="--"?t:t.replace(ts,"-$1").toLowerCase())):r.removeAttribute(t)}},Sr=function(e,t,r,n,i,o){var s=new ot(e._pt,t,r,0,1,o?Ba:za);return e._pt=s,s.b=n,s.e=i,e._props.push(r),s},Ra={deg:1,rad:1,turn:1},ld={grid:1,flex:1},Mr=function a(e,t,r,n){var i=parseFloat(r)||0,o=(r+"").trim().substr((i+"").length)||"px",s=Ur.style,l=Ku.test(t),c=e.tagName.toLowerCase()==="svg",u=(c?"client":"offset")+(l?"Width":"Height"),f=100,p=n==="px",d=n==="%",m,h,g,b;if(n===o||!i||Ra[n]||Ra[o])return i;if(o!=="px"&&!p&&(i=a(e,t,r,"px")),b=e.getCTM&&Ua(e),(d||o==="%")&&(ar[t]||~t.indexOf("adius")))return m=b?e.getBBox()[l?"width":"height"]:e[u],Ee(d?i/m*f:i/100*m);if(s[l?"width":"height"]=f+(p?o:n),h=n!=="rem"&&~t.indexOf("adius")||n==="em"&&e.appendChild&&!c?e:e.parentNode,b&&(h=(e.ownerSVGElement||{}).parentNode),(!h||h===Tr||!h.appendChild)&&(h=Tr.body),g=h._gsap,g&&d&&g.width&&l&&g.time===ht.time&&!g.uncache)return Ee(i/g.width*f);if(d&&(t==="height"||t==="width")){var _=e.style[t];e.style[t]=f+n,m=e[u],_?e.style[t]=_:Lr(e,t)}else(d||o==="%")&&!ld[Tt(h,"display")]&&(s.position=Tt(e,"position")),h===e&&(s.position="static"),h.appendChild(Ur),m=Ur[u],h.removeChild(Ur),s.position="absolute";return l&&d&&(g=wr(h),g.time=ht.time,g.width=h[u]),Ee(p?m*i/f:m&&i?f/m*i:0)},sr=function(e,t,r,n){var i;return Jo||Qo(),t in $t&&t!=="transform"&&(t=$t[t],~t.indexOf(",")&&(t=t.split(",")[0])),ar[t]&&t!=="transform"?(i=Yn(e,n),i=t!=="transformOrigin"?i[t]:i.svg?i.origin:Di(Tt(e,_t))+" "+i.zOrigin+"px"):(i=e.style[t],(!i||i==="auto"||n||~(i+"").indexOf("calc("))&&(i=Oi[t]&&Oi[t](e,t,r)||Tt(e,t)||qo(e,t)||(t==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?Mr(e,t,i,r)+r:i},cd=function(e,t,r,n){if(!r||r==="none"){var i=_n(t,e,1),o=i&&Tt(e,i,1);o&&o!==r?(t=i,r=o):t==="borderColor"&&(r=Tt(e,"borderTopColor"))}var s=new ot(this._pt,e.style,t,0,1,Yo),l=0,c=0,u,f,p,d,m,h,g,b,_,w,v,E;if(s.b=r,s.e=n,r+="",n+="",n.substring(0,6)==="var(--"&&(n=Tt(e,n.substring(4,n.indexOf(")")))),n==="auto"&&(h=e.style[t],e.style[t]=n,n=Tt(e,t)||n,h?e.style[t]=h:Lr(e,t)),u=[r,n],No(u),r=u[0],n=u[1],p=r.match(zr)||[],E=n.match(zr)||[],E.length){for(;f=zr.exec(n);)g=f[0],_=n.substring(l,f.index),m?m=(m+1)%5:(_.substr(-5)==="rgba("||_.substr(-5)==="hsla(")&&(m=1),g!==(h=p[c++]||"")&&(d=parseFloat(h)||0,v=h.substr((d+"").length),g.charAt(1)==="="&&(g=Br(d,g)+v),b=parseFloat(g),w=g.substr((b+"").length),l=zr.lastIndex-w.length,w||(w=w||gt.units[t]||v,l===n.length&&(n+=w,s.e+=w)),v!==w&&(d=Mr(e,t,h,w)||0),s._pt={_next:s._pt,p:_||c===1?_:",",s:d,c:b-d,m:m&&m<4||t==="zIndex"?Math.round:0});s.c=l<n.length?n.substring(l,n.length):""}else s.r=t==="display"&&n==="none"?Ba:za;return Ho.test(n)&&(s.e=0),this._pt=s,s},qa={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},ud=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]=qa[r]||r,t[1]=qa[n]||n,t.join(" ")},dd=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,n=r.style,i=t.u,o=r._gsap,s,l,c;if(i==="all"||i===!0)n.cssText="",l=1;else for(i=i.split(","),c=i.length;--c>-1;)s=i[c],ar[s]&&(l=1,s=s==="transformOrigin"?_t:ye),Lr(r,s);l&&(Lr(r,ye),o&&(o.svg&&r.removeAttribute("transform"),n.scale=n.rotate=n.translate="none",Yn(r,1),o.uncache=1,Wa(n)))}},Oi={clearProps:function(e,t,r,n,i){if(i.data!=="isFromStart"){var o=e._pt=new ot(e._pt,t,r,0,0,dd);return o.u=n,o.pr=-10,o.tween=i,e._props.push(r),1}}},Vn=[1,0,0,1,0,0],Xa={},Ka=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},Fa=function(e){var t=Tt(e,ye);return Ka(t)?Vn:t.substr(7).match(Po).map(Ee)},rs=function(e,t){var r=e._gsap||wr(e),n=e.style,i=Fa(e),o,s,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"?Vn:i):(i===Vn&&!e.offsetParent&&e!==mn&&!r.svg&&(l=n.display,n.display="block",o=e.parentNode,(!o||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,s=e.nextElementSibling,mn.appendChild(e)),i=Fa(e),l?n.display=l:Lr(e,"display"),c&&(s?o.insertBefore(e,s):o?o.appendChild(e):mn.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},Zo=function(e,t,r,n,i,o){var s=e._gsap,l=i||rs(e,!0),c=s.xOrigin||0,u=s.yOrigin||0,f=s.xOffset||0,p=s.yOffset||0,d=l[0],m=l[1],h=l[2],g=l[3],b=l[4],_=l[5],w=t.split(" "),v=parseFloat(w[0])||0,E=parseFloat(w[1])||0,S,T,k,M;r?l!==Vn&&(T=d*g-m*h)&&(k=v*(g/T)+E*(-h/T)+(h*_-g*b)/T,M=v*(-m/T)+E*(d/T)-(d*_-m*b)/T,v=k,E=M):(S=Ya(e),v=S.x+(~w[0].indexOf("%")?v/100*S.width:v),E=S.y+(~(w[1]||w[0]).indexOf("%")?E/100*S.height:E)),n||n!==!1&&s.smooth?(b=v-c,_=E-u,s.xOffset=f+(b*d+_*h)-b,s.yOffset=p+(b*m+_*g)-_):s.xOffset=s.yOffset=0,s.xOrigin=v,s.yOrigin=E,s.smooth=!!n,s.origin=t,s.originIsAbsolute=!!r,e.style[_t]="0px 0px",o&&(Sr(o,s,"xOrigin",c,v),Sr(o,s,"yOrigin",u,E),Sr(o,s,"xOffset",f,s.xOffset),Sr(o,s,"yOffset",p,s.yOffset)),e.setAttribute("data-svg-origin",v+" "+E)},Yn=function(e,t){var r=e._gsap||new zo(e);if("x"in r&&!t&&!r.uncache)return r;var n=e.style,i=r.scaleX<0,o="px",s="deg",l=getComputedStyle(e),c=Tt(e,_t)||"0",u,f,p,d,m,h,g,b,_,w,v,E,S,T,k,M,x,P,A,D,N,G,F,C,z,ee,y,V,ie,oe,Q,pe;return u=f=p=h=g=b=_=w=v=0,d=m=1,r.svg=!!(e.getCTM&&Ua(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(n[ye]=(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[ye]!=="none"?l[ye]:"")),n.scale=n.rotate=n.translate="none"),T=rs(e,r.svg),r.svg&&(r.uncache?(z=e.getBBox(),c=r.xOrigin-z.x+"px "+(r.yOrigin-z.y)+"px",C=""):C=!t&&e.getAttribute("data-svg-origin"),Zo(e,C||c,!!C||r.originIsAbsolute,r.smooth!==!1,T)),E=r.xOrigin||0,S=r.yOrigin||0,T!==Vn&&(P=T[0],A=T[1],D=T[2],N=T[3],u=G=T[4],f=F=T[5],T.length===6?(d=Math.sqrt(P*P+A*A),m=Math.sqrt(N*N+D*D),h=P||A?hn(A,P)*Yr:0,_=D||N?hn(D,N)*Yr+h:0,_&&(m*=Math.abs(Math.cos(_*gn))),r.svg&&(u-=E-(E*P+S*D),f-=S-(E*A+S*N))):(pe=T[6],oe=T[7],y=T[8],V=T[9],ie=T[10],Q=T[11],u=T[12],f=T[13],p=T[14],k=hn(pe,ie),g=k*Yr,k&&(M=Math.cos(-k),x=Math.sin(-k),C=G*M+y*x,z=F*M+V*x,ee=pe*M+ie*x,y=G*-x+y*M,V=F*-x+V*M,ie=pe*-x+ie*M,Q=oe*-x+Q*M,G=C,F=z,pe=ee),k=hn(-D,ie),b=k*Yr,k&&(M=Math.cos(-k),x=Math.sin(-k),C=P*M-y*x,z=A*M-V*x,ee=D*M-ie*x,Q=N*x+Q*M,P=C,A=z,D=ee),k=hn(A,P),h=k*Yr,k&&(M=Math.cos(k),x=Math.sin(k),C=P*M+A*x,z=G*M+F*x,A=A*M-P*x,F=F*M-G*x,P=C,G=z),g&&Math.abs(g)+Math.abs(h)>359.9&&(g=h=0,b=180-b),d=Ee(Math.sqrt(P*P+A*A+D*D)),m=Ee(Math.sqrt(F*F+pe*pe)),k=hn(G,F),_=Math.abs(k)>2e-4?k*Yr:0,v=Q?1/(Q<0?-Q:Q):0),r.svg&&(C=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!Ka(Tt(e,ye)),C&&e.setAttribute("transform",C))),Math.abs(_)>90&&Math.abs(_)<270&&(i?(d*=-1,_+=h<=0?180:-180,h+=h<=0?180:-180):(m*=-1,_+=_<=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)+o,r.y=f-((r.yPercent=f&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-f)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+o,r.z=p+o,r.scaleX=Ee(d),r.scaleY=Ee(m),r.rotation=Ee(h)+s,r.rotationX=Ee(g)+s,r.rotationY=Ee(b)+s,r.skewX=_+s,r.skewY=w+s,r.transformPerspective=v+o,(r.zOrigin=parseFloat(c.split(" ")[2])||!t&&r.zOrigin||0)&&(n[_t]=Di(c)),r.xOffset=r.yOffset=0,r.force3D=gt.force3D,r.renderTransform=r.svg?pd:Va?$a:fd,r.uncache=0,r},Di=function(e){return(e=e.split(" "))[0]+" "+e[1]},Ko=function(e,t,r){var n=Ge(t);return Ee(parseFloat(t)+parseFloat(Mr(e,"x",r+"px",n)))+n},fd=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,$a(e,t)},Gr="0deg",Gn="0px",Vr=") ",$a=function(e,t){var r=t||this,n=r.xPercent,i=r.yPercent,o=r.x,s=r.y,l=r.z,c=r.rotation,u=r.rotationY,f=r.rotationX,p=r.skewX,d=r.skewY,m=r.scaleX,h=r.scaleY,g=r.transformPerspective,b=r.force3D,_=r.target,w=r.zOrigin,v="",E=b==="auto"&&e&&e!==1||b===!0;if(w&&(f!==Gr||u!==Gr)){var S=parseFloat(u)*gn,T=Math.sin(S),k=Math.cos(S),M;S=parseFloat(f)*gn,M=Math.cos(S),o=Ko(_,o,T*M*-w),s=Ko(_,s,-Math.sin(S)*-w),l=Ko(_,l,k*M*-w+w)}g!==Gn&&(v+="perspective("+g+Vr),(n||i)&&(v+="translate("+n+"%, "+i+"%) "),(E||o!==Gn||s!==Gn||l!==Gn)&&(v+=l!==Gn||E?"translate3d("+o+", "+s+", "+l+") ":"translate("+o+", "+s+Vr),c!==Gr&&(v+="rotate("+c+Vr),u!==Gr&&(v+="rotateY("+u+Vr),f!==Gr&&(v+="rotateX("+f+Vr),(p!==Gr||d!==Gr)&&(v+="skew("+p+", "+d+Vr),(m!==1||h!==1)&&(v+="scale("+m+", "+h+Vr),_.style[ye]=v||"translate(0, 0)"},pd=function(e,t){var r=t||this,n=r.xPercent,i=r.yPercent,o=r.x,s=r.y,l=r.rotation,c=r.skewX,u=r.skewY,f=r.scaleX,p=r.scaleY,d=r.target,m=r.xOrigin,h=r.yOrigin,g=r.xOffset,b=r.yOffset,_=r.forceCSS,w=parseFloat(o),v=parseFloat(s),E,S,T,k,M;l=parseFloat(l),c=parseFloat(c),u=parseFloat(u),u&&(u=parseFloat(u),c+=u,l+=u),l||c?(l*=gn,c*=gn,E=Math.cos(l)*f,S=Math.sin(l)*f,T=Math.sin(l-c)*-p,k=Math.cos(l-c)*p,c&&(u*=gn,M=Math.tan(c-u),M=Math.sqrt(1+M*M),T*=M,k*=M,u&&(M=Math.tan(u),M=Math.sqrt(1+M*M),E*=M,S*=M)),E=Ee(E),S=Ee(S),T=Ee(T),k=Ee(k)):(E=f,k=p,S=T=0),(w&&!~(o+"").indexOf("px")||v&&!~(s+"").indexOf("px"))&&(w=Mr(d,"x",o,"px"),v=Mr(d,"y",s,"px")),(m||h||g||b)&&(w=Ee(w+m-(m*E+h*T)+g),v=Ee(v+h-(m*S+h*k)+b)),(n||i)&&(M=d.getBBox(),w=Ee(w+n/100*M.width),v=Ee(v+i/100*M.height)),M="matrix("+E+","+S+","+T+","+k+","+w+","+v+")",d.setAttribute("transform",M),_&&(d.style[ye]=M)},hd=function(e,t,r,n,i){var o=360,s=He(i),l=parseFloat(i)*(s&&~i.indexOf("rad")?Yr:1),c=l-n,u=n+c+"deg",f,p;return s&&(f=i.split("_")[1],f==="short"&&(c%=o,c!==c%(o/2)&&(c+=c<0?o:-o)),f==="cw"&&c<0?c=(c+o*Ha)%o-~~(c/o)*o:f==="ccw"&&c>0&&(c=(c-o*Ha)%o-~~(c/o)*o)),e._pt=p=new ot(e._pt,t,r,n,c,ju),p.e=u,p.u="deg",e._props.push(r),p},Na=function(e,t){for(var r in t)e[r]=t[r];return e},md=function(e,t,r){var n=Na({},r._gsap),i="perspective,force3D,transformOrigin,svgOrigin",o=r.style,s,l,c,u,f,p,d,m;n.svg?(c=r.getAttribute("transform"),r.setAttribute("transform",""),o[ye]=t,s=Yn(r,1),Lr(r,ye),r.setAttribute("transform",c)):(c=getComputedStyle(r)[ye],o[ye]=t,s=Yn(r,1),o[ye]=c);for(l in ar)c=n[l],u=s[l],c!==u&&i.indexOf(l)<0&&(d=Ge(c),m=Ge(u),f=d!==m?Mr(r,l,c,m):parseFloat(c),p=parseFloat(u),e._pt=new ot(e._pt,s,l,f,p-f,$o),e._pt.u=m||0,e._props.push(l));Na(s,n)};it("padding,margin,Width,Radius",function(a,e){var t="Top",r="Right",n="Bottom",i="Left",o=(e<3?[t,r,n,i]:[t+i,t+r,n+r,n+i]).map(function(s){return e<2?a+s:"border"+s+a});Oi[e>1?"border"+a:a]=function(s,l,c,u,f){var p,d;if(arguments.length<4)return p=o.map(function(m){return sr(s,m,c)}),d=p.join(" "),d.split(p[0]).length===5?p[0]:d;p=(u+"").split(" "),d={},o.forEach(function(m,h){return d[m]=p[h]=p[h]||p[(h-1)/2|0]}),s.init(l,d,f)}});var ns={name:"css",register:Qo,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,n,i){var o=this._props,s=e.style,l=r.vars.startAt,c,u,f,p,d,m,h,g,b,_,w,v,E,S,T,k,M;Jo||Qo(),this.styles=this.styles||Ga(e),k=this.styles.props,this.tween=r;for(h in t)if(h!=="autoRound"&&(u=t[h],!(pt[h]&&Wo(h,t,r,n,e,i)))){if(d=typeof u,m=Oi[h],d==="function"&&(u=u.call(r,n,e,i),d=typeof u),d==="string"&&~u.indexOf("random(")&&(u=pn(u)),m)m(this,e,h,u,r)&&(T=1);else if(h.substr(0,2)==="--")c=(getComputedStyle(e).getPropertyValue(h)+"").trim(),u+="",ir.lastIndex=0,ir.test(c)||(g=Ge(c),b=Ge(u),b?g!==b&&(c=Mr(e,h,c,b)+b):g&&(u+=g)),this.add(s,"setProperty",c,u,n,i,0,0,h),o.push(h),k.push(h,0,s[h]);else if(d!=="undefined"){if(l&&h in l?(c=typeof l[h]=="function"?l[h].call(r,n,e,i):l[h],He(c)&&~c.indexOf("random(")&&(c=pn(c)),Ge(c+"")||c==="auto"||(c+=gt.units[h]||Ge(sr(e,h))||""),(c+"").charAt(1)==="="&&(c=sr(e,h))):c=sr(e,h),p=parseFloat(c),_=d==="string"&&u.charAt(1)==="="&&u.substr(0,2),_&&(u=u.substr(2)),f=parseFloat(u),h in $t&&(h==="autoAlpha"&&(p===1&&sr(e,"visibility")==="hidden"&&f&&(p=0),k.push("visibility",0,s.visibility),Sr(this,s,"visibility",p?"inherit":"hidden",f?"inherit":"hidden",!f)),h!=="scale"&&h!=="transform"&&(h=$t[h],~h.indexOf(",")&&(h=h.split(",")[0]))),w=h in ar,w){if(this.styles.save(h),M=u,d==="string"&&u.substring(0,6)==="var(--"){if(u=Tt(e,u.substring(4,u.indexOf(")"))),u.substring(0,5)==="calc("){var x=e.style.perspective;e.style.perspective=u,u=Tt(e,"perspective"),x?e.style.perspective=x:Lr(e,"perspective")}f=parseFloat(u)}if(v||(E=e._gsap,E.renderTransform&&!t.parseTransform||Yn(e,t.parseTransform),S=t.smoothOrigin!==!1&&E.smooth,v=this._pt=new ot(this._pt,s,ye,0,1,E.renderTransform,E,0,-1),v.dep=1),h==="scale")this._pt=new ot(this._pt,E,"scaleY",E.scaleY,(_?Br(E.scaleY,_+f):f)-E.scaleY||0,$o),this._pt.u=0,o.push("scaleY",h),h+="X";else if(h==="transformOrigin"){k.push(_t,0,s[_t]),u=ud(u),E.svg?Zo(e,u,0,S,0,this):(b=parseFloat(u.split(" ")[2])||0,b!==E.zOrigin&&Sr(this,E,"zOrigin",E.zOrigin,b),Sr(this,s,h,Di(c),Di(u)));continue}else if(h==="svgOrigin"){Zo(e,u,1,S,0,this);continue}else if(h in Xa){hd(this,E,h,p,_?Br(p,_+u):u);continue}else if(h==="smoothOrigin"){Sr(this,E,"smooth",E.smooth,u);continue}else if(h==="force3D"){E[h]=u;continue}else if(h==="transform"){md(this,u,e);continue}}else h in s||(h=_n(h)||h);if(w||(f||f===0)&&(p||p===0)&&!$u.test(u)&&h in s)g=(c+"").substr((p+"").length),f||(f=0),b=Ge(u)||(h in gt.units?gt.units[h]:g),g!==b&&(p=Mr(e,h,c,b)),this._pt=new ot(this._pt,w?E:s,h,p,(_?Br(p,_+f):f)-p,!w&&(b==="px"||h==="zIndex")&&t.autoRound!==!1?Ju:$o),this._pt.u=b||0,w&&M!==u?(this._pt.b=c,this._pt.e=M,this._pt.r=Zu):g!==b&&b!=="%"&&(this._pt.b=c,this._pt.r=Qu);else if(h in s)cd.call(this,e,h,c,_?_+u:u);else if(h in e)this.add(e,h,c||e[h],_?_+u:u,n,i);else if(h!=="parseTransform"){Ai(h,u);continue}w||(h in s?k.push(h,0,s[h]):typeof e[h]=="function"?k.push(h,2,e[h]()):k.push(h,1,c||e[h])),o.push(h)}}T&&Xo(this)},render:function(e,t){if(t.tween._time||!es())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:sr,aliases:$t,getSetter:function(e,t,r){var n=$t[t];return n&&n.indexOf(",")<0&&(t=n),t in ar&&t!==_t&&(e._gsap.x||sr(e,"x"))?r&&Pa===r?t==="scale"?nd:rd:(Pa=r||{})&&(t==="scale"?id:od):e.style&&!Mi(e.style[t])?ed:~t.indexOf("-")?td:Hi(e,t)},core:{_removeProperty:Lr,_getMatrix:rs}};je.utils.checkPrefix=_n;je.core.getStyleSaver=Ga;(function(a,e,t,r){var n=it(a+","+e+","+t,function(i){ar[i]=1});it(e,function(i){gt.units[i]="deg",Xa[i]=1}),$t[n[13]]=a+","+e,it(r,function(i){var o=i.split(":");$t[o[1]]=n[o[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");it("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(a){gt.units[a]="px"});je.registerPlugin(ns);var Oe=je.registerPlugin(ns)||je,hf=Oe.core.Tween;function ja(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 gd(a,e,t){return e&&ja(a.prototype,e),t&&ja(a,t),a}var Ve,qi,_d,St,Ar,kr,vn,Za,Xr,Xn,Ja,lr,Bt,el,tl=function(){return Ve||typeof window<"u"&&(Ve=window.gsap)&&Ve.registerPlugin&&Ve},rl=1,yn=[],X=[],Wt=[],Kn=Date.now,is=function(e,t){return t},yd=function(){var e=Xn.core,t=e.bridge||{},r=e._scrollers,n=e._proxies;r.push.apply(r,X),n.push.apply(n,Wt),X=r,Wt=n,is=function(o,s){return t[o](s)}},ur=function(e,t){return~Wt.indexOf(e)&&Wt[Wt.indexOf(e)+1][t]},$n=function(e){return!!~Ja.indexOf(e)},at=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)},Ii="scrollLeft",Ri="scrollTop",os=function(){return lr&&lr.isPressed||X.cache++},Fi=function(e,t){var r=function n(i){if(i||i===0){rl&&(St.history.scrollRestoration="manual");var o=lr&&lr.isPressed;i=n.v=Math.round(i)||(lr&&lr.iOS?1:0),e(i),n.cacheID=X.cache,o&&is("ss",i)}else(t||X.cache!==n.cacheID||is("ref"))&&(n.cacheID=X.cache,n.v=e());return n.v+n.offset};return r.offset=0,e&&r},Qe={s:Ii,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Fi(function(a){return arguments.length?St.scrollTo(a,ke.sc()):St.pageXOffset||Ar[Ii]||kr[Ii]||vn[Ii]||0})},ke={s:Ri,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Qe,sc:Fi(function(a){return arguments.length?St.scrollTo(Qe.sc(),a):St.pageYOffset||Ar[Ri]||kr[Ri]||vn[Ri]||0})},lt=function(e,t){return(t&&t._ctx&&t._ctx.selector||Ve.utils.toArray)(e)[0]||(typeof e=="string"&&Ve.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},vd=function(e,t){for(var r=t.length;r--;)if(t[r]===e||t[r].contains(e))return!0;return!1},cr=function(e,t){var r=t.s,n=t.sc;$n(e)&&(e=Ar.scrollingElement||kr);var i=X.indexOf(e),o=n===ke.sc?1:2;!~i&&(i=X.push(e)-1),X[i+o]||at(e,"scroll",os);var s=X[i+o],l=s||(X[i+o]=Fi(ur(e,r),!0)||($n(e)?n:Fi(function(c){return arguments.length?e[r]=c:e[r]})));return l.target=e,s||(l.smooth=Ve.getProperty(e,"scrollBehavior")==="smooth"),l},Ni=function(e,t,r){var n=e,i=e,o=Kn(),s=o,l=t||50,c=Math.max(500,l*3),u=function(m,h){var g=Kn();h||g-o>l?(i=n,n=m,s=o,o=g):r?n+=m:n=i+(m-i)/(g-s)*(o-s)},f=function(){i=n=r?0:n,s=o=0},p=function(m){var h=s,g=i,b=Kn();return(m||m===0)&&m!==n&&u(m),o===s||b-s>c?0:(n+(r?g:-g))/((r?b:o)-h)*1e3};return{update:u,reset:f,getVelocity:p}},Un=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Qa=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},nl=function(){Xn=Ve.core.globals().ScrollTrigger,Xn&&Xn.core&&yd()},il=function(e){return Ve=e||tl(),!qi&&Ve&&typeof document<"u"&&document.body&&(St=window,Ar=document,kr=Ar.documentElement,vn=Ar.body,Ja=[St,Ar,kr,vn],_d=Ve.utils.clamp,el=Ve.core.context||function(){},Xr="onpointerenter"in vn?"pointer":"mouse",Za=xe.isTouch=St.matchMedia&&St.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in St||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Bt=xe.eventTypes=("ontouchstart"in kr?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in kr?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return rl=0},500),nl(),qi=1),qi};Qe.op=ke;X.cache=0;var xe=function(){function a(t){this.init(t)}var e=a.prototype;return e.init=function(r){qi||il(Ve)||console.warn("Please gsap.registerPlugin(Observer)"),Xn||nl();var n=r.tolerance,i=r.dragMinimum,o=r.type,s=r.target,l=r.lineHeight,c=r.debounce,u=r.preventDefault,f=r.onStop,p=r.onStopDelay,d=r.ignore,m=r.wheelSpeed,h=r.event,g=r.onDragStart,b=r.onDragEnd,_=r.onDrag,w=r.onPress,v=r.onRelease,E=r.onRight,S=r.onLeft,T=r.onUp,k=r.onDown,M=r.onChangeX,x=r.onChangeY,P=r.onChange,A=r.onToggleX,D=r.onToggleY,N=r.onHover,G=r.onHoverEnd,F=r.onMove,C=r.ignoreCheck,z=r.isNormalizer,ee=r.onGestureStart,y=r.onGestureEnd,V=r.onWheel,ie=r.onEnable,oe=r.onDisable,Q=r.onClick,pe=r.scrollSpeed,he=r.capture,ue=r.allowClicks,tt=r.lockAxis,Ye=r.onLockAxis;this.target=s=lt(s)||kr,this.vars=r,d&&(d=Ve.utils.toArray(d)),n=n||1e-9,i=i||0,m=m||1,pe=pe||1,o=o||"wheel,touch,pointer",c=c!==!1,l||(l=parseFloat(St.getComputedStyle(vn).lineHeight)||22);var pr,rt,nt,te,Te,ft,yt,L=this,vt=0,Zt=0,hr=r.passive||!u&&r.passive!==!1,ve=cr(s,Qe),Jt=cr(s,ke),mr=ve(),Hr=Jt(),Ie=~o.indexOf("touch")&&!~o.indexOf("pointer")&&Bt[0]==="pointerdown",gr=$n(s),Se=s.ownerDocument||Ar,Rt=[0,0,0],kt=[0,0,0],er=0,kn=function(){return er=Kn()},Ae=function(q,re){return(L.event=q)&&d&&vd(q.target,d)||re&&Ie&&q.pointerType!=="touch"||C&&C(q,re)},mi=function(){L._vx.reset(),L._vy.reset(),rt.pause(),f&&f(L)},tr=function(){var q=L.deltaX=Qa(Rt),re=L.deltaY=Qa(kt),H=Math.abs(q)>=n,B=Math.abs(re)>=n;P&&(H||B)&&P(L,q,re,Rt,kt),H&&(E&&L.deltaX>0&&E(L),S&&L.deltaX<0&&S(L),M&&M(L),A&&L.deltaX<0!=vt<0&&A(L),vt=L.deltaX,Rt[0]=Rt[1]=Rt[2]=0),B&&(k&&L.deltaY>0&&k(L),T&&L.deltaY<0&&T(L),x&&x(L),D&&L.deltaY<0!=Zt<0&&D(L),Zt=L.deltaY,kt[0]=kt[1]=kt[2]=0),(te||nt)&&(F&&F(L),nt&&(g&&nt===1&&g(L),_&&_(L),nt=0),te=!1),ft&&!(ft=!1)&&Ye&&Ye(L),Te&&(V(L),Te=!1),pr=0},nn=function(q,re,H){Rt[H]+=q,kt[H]+=re,L._vx.update(q),L._vy.update(re),c?pr||(pr=requestAnimationFrame(tr)):tr()},on=function(q,re){tt&&!yt&&(L.axis=yt=Math.abs(q)>Math.abs(re)?"x":"y",ft=!0),yt!=="y"&&(Rt[2]+=q,L._vx.update(q,!0)),yt!=="x"&&(kt[2]+=re,L._vy.update(re,!0)),c?pr||(pr=requestAnimationFrame(tr)):tr()},_r=function(q){if(!Ae(q,1)){q=Un(q,u);var re=q.clientX,H=q.clientY,B=re-L.x,I=H-L.y,W=L.isDragging;L.x=re,L.y=H,(W||(B||I)&&(Math.abs(L.startX-re)>=i||Math.abs(L.startY-H)>=i))&&(nt||(nt=W?2:1),W||(L.isDragging=!0),on(B,I))}},Or=L.onPress=function(Y){Ae(Y,1)||Y&&Y.button||(L.axis=yt=null,rt.pause(),L.isPressed=!0,Y=Un(Y),vt=Zt=0,L.startX=L.x=Y.clientX,L.startY=L.y=Y.clientY,L._vx.reset(),L._vy.reset(),at(z?s:Se,Bt[1],_r,hr,!0),L.deltaX=L.deltaY=0,w&&w(L))},j=L.onRelease=function(Y){if(!Ae(Y,1)){st(z?s:Se,Bt[1],_r,!0);var q=!isNaN(L.y-L.startY),re=L.isDragging,H=re&&(Math.abs(L.x-L.startX)>3||Math.abs(L.y-L.startY)>3),B=Un(Y);!H&&q&&(L._vx.reset(),L._vy.reset(),u&&ue&&Ve.delayedCall(.08,function(){if(Kn()-er>300&&!Y.defaultPrevented){if(Y.target.click)Y.target.click();else if(Se.createEvent){var I=Se.createEvent("MouseEvents");I.initMouseEvent("click",!0,!0,St,1,B.screenX,B.screenY,B.clientX,B.clientY,!1,!1,!1,!1,0,null),Y.target.dispatchEvent(I)}}})),L.isDragging=L.isGesturing=L.isPressed=!1,f&&re&&!z&&rt.restart(!0),nt&&tr(),b&&re&&b(L),v&&v(L,H)}},Dr=function(q){return q.touches&&q.touches.length>1&&(L.isGesturing=!0)&&ee(q,L.isDragging)},qt=function(){return(L.isGesturing=!1)||y(L)},Ft=function(q){if(!Ae(q)){var re=ve(),H=Jt();nn((re-mr)*pe,(H-Hr)*pe,1),mr=re,Hr=H,f&&rt.restart(!0)}},Nt=function(q){if(!Ae(q)){q=Un(q,u),V&&(Te=!0);var re=(q.deltaMode===1?l:q.deltaMode===2?St.innerHeight:1)*m;nn(q.deltaX*re,q.deltaY*re,0),f&&!z&&rt.restart(!0)}},Ir=function(q){if(!Ae(q)){var re=q.clientX,H=q.clientY,B=re-L.x,I=H-L.y;L.x=re,L.y=H,te=!0,f&&rt.restart(!0),(B||I)&&on(B,I)}},sn=function(q){L.event=q,N(L)},rr=function(q){L.event=q,G(L)},Cn=function(q){return Ae(q)||Un(q,u)&&Q(L)};rt=L._dc=Ve.delayedCall(p||.25,mi).pause(),L.deltaX=L.deltaY=0,L._vx=Ni(0,50,!0),L._vy=Ni(0,50,!0),L.scrollX=ve,L.scrollY=Jt,L.isDragging=L.isGesturing=L.isPressed=!1,el(this),L.enable=function(Y){return L.isEnabled||(at(gr?Se:s,"scroll",os),o.indexOf("scroll")>=0&&at(gr?Se:s,"scroll",Ft,hr,he),o.indexOf("wheel")>=0&&at(s,"wheel",Nt,hr,he),(o.indexOf("touch")>=0&&Za||o.indexOf("pointer")>=0)&&(at(s,Bt[0],Or,hr,he),at(Se,Bt[2],j),at(Se,Bt[3],j),ue&&at(s,"click",kn,!0,!0),Q&&at(s,"click",Cn),ee&&at(Se,"gesturestart",Dr),y&&at(Se,"gestureend",qt),N&&at(s,Xr+"enter",sn),G&&at(s,Xr+"leave",rr),F&&at(s,Xr+"move",Ir)),L.isEnabled=!0,L.isDragging=L.isGesturing=L.isPressed=te=nt=!1,L._vx.reset(),L._vy.reset(),mr=ve(),Hr=Jt(),Y&&Y.type&&Or(Y),ie&&ie(L)),L},L.disable=function(){L.isEnabled&&(yn.filter(function(Y){return Y!==L&&$n(Y.target)}).length||st(gr?Se:s,"scroll",os),L.isPressed&&(L._vx.reset(),L._vy.reset(),st(z?s:Se,Bt[1],_r,!0)),st(gr?Se:s,"scroll",Ft,he),st(s,"wheel",Nt,he),st(s,Bt[0],Or,he),st(Se,Bt[2],j),st(Se,Bt[3],j),st(s,"click",kn,!0),st(s,"click",Cn),st(Se,"gesturestart",Dr),st(Se,"gestureend",qt),st(s,Xr+"enter",sn),st(s,Xr+"leave",rr),st(s,Xr+"move",Ir),L.isEnabled=L.isPressed=L.isDragging=!1,oe&&oe(L))},L.kill=L.revert=function(){L.disable();var Y=yn.indexOf(L);Y>=0&&yn.splice(Y,1),lr===L&&(lr=0)},yn.push(L),z&&$n(s)&&(lr=L),L.enable(h)},gd(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=il;xe.getAll=function(){return yn.slice()};xe.getById=function(a){return yn.filter(function(e){return e.vars.id===a})[0]};tl()&&Ve.registerPlugin(xe);var O,En,$,ce,At,ne,bs,to,ci,ri,Qn,zi,Ze,io,ps,ut,ol,sl,xn,El,ss,xl,ct,hs,Tl,Sl,Cr,ms,ws,Tn,Es,ni,gs,as,Bi=1,Je=Date.now,ls=Je(),It=0,Zn=0,al=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},ll=function(e,t){return t&&(!Mt(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},bd=function a(){return Zn&&requestAnimationFrame(a)},cl=function(){return io=1},ul=function(){return io=0},jt=function(e){return e},Jn=function(e){return Math.round(e*1e5)/1e5||0},Ll=function(){return typeof window<"u"},Ml=function(){return O||Ll()&&(O=window.gsap)&&O.registerPlugin&&O},Jr=function(e){return!!~bs.indexOf(e)},Al=function(e){return(e==="Height"?Es:$["inner"+e])||At["client"+e]||ne["client"+e]},kl=function(e){return ur(e,"getBoundingClientRect")||(Jr(e)?function(){return eo.width=$.innerWidth,eo.height=Es,eo}:function(){return dr(e)})},wd=function(e,t,r){var n=r.d,i=r.d2,o=r.a;return(o=ur(e,"getBoundingClientRect"))?function(){return o()[n]}:function(){return(t?Al(i):e["client"+i])||0}},Ed=function(e,t){return!t||~Wt.indexOf(e)?kl(e):function(){return eo}},Qt=function(e,t){var r=t.s,n=t.d2,i=t.d,o=t.a;return Math.max(0,(r="scroll"+n)&&(o=ur(e,r))?o()-kl(e)()[i]:Jr(e)?(At[r]||ne[r])-Al(n):e[r]-e["offset"+n])},Wi=function(e,t){for(var r=0;r<xn.length;r+=3)(!t||~t.indexOf(xn[r+1]))&&e(xn[r],xn[r+1],xn[r+2])},Mt=function(e){return typeof e=="string"},et=function(e){return typeof e=="function"},ei=function(e){return typeof e=="number"},Kr=function(e){return typeof e=="object"},jn=function(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()},cs=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)}},bn=Math.abs,Cl="left",Pl="top",xs="right",Ts="bottom",jr="width",Qr="height",ii="Right",oi="Left",si="Top",ai="Bottom",Ce="padding",Ot="margin",Ln="Width",Ss="Height",De="px",Dt=function(e){return $.getComputedStyle(e)},xd=function(e){var t=Dt(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative"},dl=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},dr=function(e,t){var r=t&&Dt(e)[ps]!=="matrix(1, 0, 0, 1, 0, 0)"&&O.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},ro=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},Hl=function(e){var t=[],r=e.labels,n=e.duration(),i;for(i in r)t.push(r[i]/n);return t},Td=function(e){return function(t){return O.utils.snap(Hl(e),t)}},Ls=function(e){var t=O.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(n,i){return n-i});return r?function(n,i,o){o===void 0&&(o=.001);var s;if(!i)return t(n);if(i>0){for(n-=o,s=0;s<r.length;s++)if(r[s]>=n)return r[s];return r[s-1]}else for(s=r.length,n+=o;s--;)if(r[s]<=n)return r[s];return r[0]}:function(n,i,o){o===void 0&&(o=.001);var s=t(n);return!i||Math.abs(s-n)<o||s-n<0==i<0?s:t(i<0?n-e:n+e)}},Sd=function(e){return function(t,r){return Ls(Hl(e))(t,r.direction)}},Gi=function(e,t,r,n){return r.split(",").forEach(function(i){return e(t,i,n)})},Fe=function(e,t,r,n,i){return e.addEventListener(t,r,{passive:!n,capture:!!i})},qe=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},Vi=function(e,t,r){r=r&&r.wheelHandler,r&&(e(t,"wheel",r),e(t,"touchmove",r))},fl={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Yi={toggleActions:"play",anticipatePin:0},no={top:0,left:0,center:.5,bottom:1,right:1},ji=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 no?no[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},Ui=function(e,t,r,n,i,o,s,l){var c=i.startColor,u=i.endColor,f=i.fontSize,p=i.indent,d=i.fontWeight,m=ce.createElement("div"),h=Jr(r)||ur(r,"pinType")==="fixed",g=e.indexOf("scroller")!==-1,b=h?ne:r,_=e.indexOf("start")!==-1,w=_?c:u,v="border-color:"+w+";font-size:"+f+";color:"+w+";font-weight:"+d+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return v+="position:"+((g||l)&&h?"fixed;":"absolute;"),(g||l||!h)&&(v+=(n===ke?xs:Ts)+":"+(o+parseFloat(p))+"px;"),s&&(v+="box-sizing:border-box;text-align:left;width:"+s.offsetWidth+"px;"),m._isStart=_,m.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),m.style.cssText=v,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],Qi(m,0,n,_),m},Qi=function(e,t,r,n){var i={display:"block"},o=r[n?"os2":"p2"],s=r[n?"p2":"os2"];e._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+o+Ln]=1,i["border"+s+Ln]=0,i[r.p]=t+"px",O.set(e,i)},K=[],_s={},ui,pl=function(){return Je()-It>34&&(ui||(ui=requestAnimationFrame(fr)))},wn=function(){(!ct||!ct.isPressed||ct.startX>ne.clientWidth)&&(X.cache++,ct?ui||(ui=requestAnimationFrame(fr)):fr(),It||tn("scrollStart"),It=Je())},us=function(){Sl=$.innerWidth,Tl=$.innerHeight},ti=function(e){X.cache++,(e===!0||!Ze&&!xl&&!ce.fullscreenElement&&!ce.webkitFullscreenElement&&(!hs||Sl!==$.innerWidth||Math.abs($.innerHeight-Tl)>$.innerHeight*.25))&&to.restart(!0)},en={},Ld=[],Ol=function a(){return qe(R,"scrollEnd",a)||$r(!0)},tn=function(e){return en[e]&&en[e].map(function(t){return t()})||Ld},Lt=[],Dl=function(e){for(var t=0;t<Lt.length;t+=5)(!e||Lt[t+4]&&Lt[t+4].query===e)&&(Lt[t].style.cssText=Lt[t+1],Lt[t].getBBox&&Lt[t].setAttribute("transform",Lt[t+2]||""),Lt[t+3].uncache=1)},Il=function(){return X.forEach(function(e){return et(e)&&++e.cacheID&&(e.rec=e())})},Ms=function(e,t){var r;for(ut=0;ut<K.length;ut++)r=K[ut],r&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));ni=!0,t&&Dl(t),t||tn("revert")},Rl=function(e,t){X.cache++,(t||!dt)&&X.forEach(function(r){return et(r)&&r.cacheID++&&(r.rec=0)}),Mt(e)&&($.history.scrollRestoration=ws=e)},dt,Zr=0,hl,Md=function(){if(hl!==Zr){var e=hl=Zr;requestAnimationFrame(function(){return e===Zr&&$r(!0)})}},ql=function(){ne.appendChild(Tn),Es=!ct&&Tn.offsetHeight||$.innerHeight,ne.removeChild(Tn)},ml=function(e){return ci(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},$r=function(e,t){if(At=ce.documentElement,ne=ce.body,bs=[$,ce,At,ne],It&&!e&&!ni){Fe(R,"scrollEnd",Ol);return}ql(),dt=R.isRefreshing=!0,ni||Il();var r=tn("refreshInit");El&&R.sort(),t||Ms(),X.forEach(function(n){et(n)&&(n.smooth&&(n.target.style.scrollBehavior="auto"),n(0))}),K.slice(0).forEach(function(n){return n.refresh()}),ni=!1,K.forEach(function(n){if(n._subPinOffset&&n.pin){var i=n.vars.horizontal?"offsetWidth":"offsetHeight",o=n.pin[i];n.revert(!0,1),n.adjustPinSpacing(n.pin[i]-o),n.refresh()}}),gs=1,ml(!0),K.forEach(function(n){var i=Qt(n.scroller,n._dir),o=n.vars.end==="max"||n._endClamp&&n.end>i,s=n._startClamp&&n.start>=i;(o||s)&&n.setPositions(s?i-1:n.start,o?Math.max(s?i:n.start+1,i):n.end,!0)}),ml(!1),gs=0,r.forEach(function(n){return n&&n.render&&n.render(-1)}),X.forEach(function(n){et(n)&&(n.smooth&&requestAnimationFrame(function(){return n.target.style.scrollBehavior="smooth"}),n.rec&&n(n.rec))}),Rl(ws,1),to.pause(),Zr++,dt=2,fr(2),K.forEach(function(n){return et(n.vars.onRefresh)&&n.vars.onRefresh(n)}),dt=R.isRefreshing=!1,tn("refresh")},ys=0,Zi=1,li,fr=function(e){if(e===2||!dt&&!ni){R.isUpdating=!0,li&&li.update(0);var t=K.length,r=Je(),n=r-ls>=50,i=t&&K[0].scroll();if(Zi=ys>i?-1:1,dt||(ys=i),n&&(It&&!io&&r-It>200&&(It=0,tn("scrollEnd")),Qn=ls,ls=r),Zi<0){for(ut=t;ut-- >0;)K[ut]&&K[ut].update(0,n);Zi=1}else for(ut=0;ut<t;ut++)K[ut]&&K[ut].update(0,n);R.isUpdating=!1}ui=0},vs=[Cl,Pl,Ts,xs,Ot+ai,Ot+ii,Ot+si,Ot+oi,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Ji=vs.concat([jr,Qr,"boxSizing","max"+Ln,"max"+Ss,"position",Ot,Ce,Ce+si,Ce+ii,Ce+ai,Ce+oi]),Ad=function(e,t,r){Sn(r);var n=e._gsap;if(n.spacerIsNative)Sn(n.spacerState);else if(e._gsap.swappedIn){var i=t.parentNode;i&&(i.insertBefore(e,t),i.removeChild(t))}e._gsap.swappedIn=!1},ds=function(e,t,r,n){if(!e._gsap.swappedIn){for(var i=vs.length,o=t.style,s=e.style,l;i--;)l=vs[i],o[l]=r[l];o.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(o.display="inline-block"),s[Ts]=s[xs]="auto",o.flexBasis=r.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[jr]=ro(e,Qe)+De,o[Qr]=ro(e,ke)+De,o[Ce]=s[Ot]=s[Pl]=s[Cl]="0",Sn(n),s[jr]=s["max"+Ln]=r[jr],s[Qr]=s["max"+Ss]=r[Qr],s[Ce]=r[Ce],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},kd=/([A-Z])/g,Sn=function(e){if(e){var t=e.t.style,r=e.length,n=0,i,o;for((e.t._gsap||O.core.getCache(e.t)).uncache=1;n<r;n+=2)o=e[n+1],i=e[n],o?t[i]=o:t[i]&&t.removeProperty(i.replace(kd,"-$1").toLowerCase())}},Xi=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},Cd=function(e,t,r){for(var n=[],i=e.length,o=r?8:0,s;o<i;o+=2)s=e[o],n.push(s,s in t?t[s]:e[o+1]);return n.t=e.t,n},eo={left:0,top:0},gl=function(e,t,r,n,i,o,s,l,c,u,f,p,d,m){et(e)&&(e=e(l)),Mt(e)&&e.substr(0,3)==="max"&&(e=p+(e.charAt(4)==="="?ji("0"+e.substr(3),r):0));var h=d?d.time():0,g,b,_;if(d&&d.seek(0),isNaN(e)||(e=+e),ei(e))d&&(e=O.utils.mapRange(d.scrollTrigger.start,d.scrollTrigger.end,0,p,e)),s&&Qi(s,r,n,!0);else{et(t)&&(t=t(l));var w=(e||"0").split(" "),v,E,S,T;_=lt(t,l)||ne,v=dr(_)||{},(!v||!v.left&&!v.top)&&Dt(_).display==="none"&&(T=_.style.display,_.style.display="block",v=dr(_),T?_.style.display=T:_.style.removeProperty("display")),E=ji(w[0],v[n.d]),S=ji(w[1]||"0",r),e=v[n.p]-c[n.p]-u+E+i-S,s&&Qi(s,S,n,r-S<20||s._isStart&&S>20),r-=r-S}if(m&&(l[m]=e||-.001,e<0&&(e=0)),o){var k=e+r,M=o._isStart;g="scroll"+n.d2,Qi(o,k,n,M&&k>20||!M&&(f?Math.max(ne[g],At[g]):o.parentNode[g])<=k+1),f&&(c=dr(s),f&&(o.style[n.op.p]=c[n.op.p]-n.op.m-o._offset+De))}return d&&_&&(g=dr(_),d.seek(p),b=dr(_),d._caScrollDist=g[n.p]-b[n.p],e=e/d._caScrollDist*p),d&&d.seek(h),d?e:Math.round(e)},Pd=/(webkit|moz|length|cssText|inset)/i,_l=function(e,t,r,n){if(e.parentNode!==t){var i=e.style,o,s;if(t===ne){e._stOrig=i.cssText,s=Dt(e);for(o in s)!+o&&!Pd.test(o)&&s[o]&&typeof i[o]=="string"&&o!=="0"&&(i[o]=s[o]);i.top=r,i.left=n}else i.cssText=e._stOrig;O.core.getCache(e).uncache=1,t.appendChild(e)}},Fl=function(e,t,r){var n=t,i=n;return function(o){var s=Math.round(e());return s!==n&&s!==i&&Math.abs(s-n)>3&&Math.abs(s-i)>3&&(o=s,r&&r()),i=n,n=Math.round(o),n}},Ki=function(e,t,r){var n={};n[t.p]="+="+r,O.set(e,n)},yl=function(e,t){var r=cr(e,t),n="_scroll"+t.p2,i=function o(s,l,c,u,f){var p=o.tween,d=l.onComplete,m={};c=c||r();var h=Fl(r,c,function(){p.kill(),o.tween=0});return f=u&&f||0,u=u||s-c,p&&p.kill(),l[n]=s,l.inherit=!1,l.modifiers=m,m[n]=function(){return h(c+u*p.ratio+f*p.ratio*p.ratio)},l.onUpdate=function(){X.cache++,o.tween&&fr()},l.onComplete=function(){o.tween=0,d&&d.call(p)},p=o.tween=O.to(e,l),p};return e[n]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},Fe(e,"wheel",r.wheelHandler),R.isTouch&&Fe(e,"touchmove",r.wheelHandler),i},R=function(){function a(t,r){En||a.register(O)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),ms(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),!Zn){this.update=this.refresh=this.kill=jt;return}r=dl(Mt(r)||ei(r)||r.nodeType?{trigger:r}:r,Yi);var i=r,o=i.onUpdate,s=i.toggleClass,l=i.id,c=i.onToggle,u=i.onRefresh,f=i.scrub,p=i.trigger,d=i.pin,m=i.pinSpacing,h=i.invalidateOnRefresh,g=i.anticipatePin,b=i.onScrubComplete,_=i.onSnapComplete,w=i.once,v=i.snap,E=i.pinReparent,S=i.pinSpacer,T=i.containerAnimation,k=i.fastScrollEnd,M=i.preventOverlaps,x=r.horizontal||r.containerAnimation&&r.horizontal!==!1?Qe:ke,P=!f&&f!==0,A=lt(r.scroller||$),D=O.core.getCache(A),N=Jr(A),G=("pinType"in r?r.pinType:ur(A,"pinType")||N&&"fixed")==="fixed",F=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],C=P&&r.toggleActions.split(" "),z="markers"in r?r.markers:Yi.markers,ee=N?0:parseFloat(Dt(A)["border"+x.p2+Ln])||0,y=this,V=r.onRefreshInit&&function(){return r.onRefreshInit(y)},ie=wd(A,N,x),oe=Ed(A,N),Q=0,pe=0,he=0,ue=cr(A,x),tt,Ye,pr,rt,nt,te,Te,ft,yt,L,vt,Zt,hr,ve,Jt,mr,Hr,Ie,gr,Se,Rt,kt,er,kn,Ae,mi,tr,nn,on,_r,Or,j,Dr,qt,Ft,Nt,Ir,sn,rr;if(y._startClamp=y._endClamp=!1,y._dir=x,g*=45,y.scroller=A,y.scroll=T?T.time.bind(T):ue,rt=ue(),y.vars=r,n=n||r.animation,"refreshPriority"in r&&(El=1,r.refreshPriority===-9999&&(li=y)),D.tweenScroll=D.tweenScroll||{top:yl(A,ke),left:yl(A,Qe)},y.tweenTo=tt=D.tweenScroll[x.p],y.scrubDuration=function(H){Dr=ei(H)&&H,Dr?j?j.duration(H):j=O.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Dr,paused:!0,onComplete:function(){return b&&b(y)}}):(j&&j.progress(1).kill(),j=0)},n&&(n.vars.lazy=!1,n._initted&&!y.isReverted||n.vars.immediateRender!==!1&&r.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),y.animation=n.pause(),n.scrollTrigger=y,y.scrubDuration(f),_r=0,l||(l=n.vars.id)),v&&((!Kr(v)||v.push)&&(v={snapTo:v}),"scrollBehavior"in ne.style&&O.set(N?[ne,At]:A,{scrollBehavior:"auto"}),X.forEach(function(H){return et(H)&&H.target===(N?ce.scrollingElement||At:A)&&(H.smooth=!1)}),pr=et(v.snapTo)?v.snapTo:v.snapTo==="labels"?Td(n):v.snapTo==="labelsDirectional"?Sd(n):v.directional!==!1?function(H,B){return Ls(v.snapTo)(H,Je()-pe<500?0:B.direction)}:O.utils.snap(v.snapTo),qt=v.duration||{min:.1,max:2},qt=Kr(qt)?ri(qt.min,qt.max):ri(qt,qt),Ft=O.delayedCall(v.delay||Dr/2||.1,function(){var H=ue(),B=Je()-pe<500,I=tt.tween;if((B||Math.abs(y.getVelocity())<10)&&!I&&!io&&Q!==H){var W=(H-te)/ve,Re=n&&!P?n.totalProgress():W,Z=B?0:(Re-Or)/(Je()-Qn)*1e3||0,Le=O.utils.clamp(-W,1-W,bn(Z/2)*Z/.185),Ue=W+(v.inertia===!1?0:Le),be,de,se=v,zt=se.onStart,me=se.onInterrupt,bt=se.onComplete;if(be=pr(Ue,y),ei(be)||(be=Ue),de=Math.max(0,Math.round(te+be*ve)),H<=Te&&H>=te&&de!==H){if(I&&!I._initted&&I.data<=bn(de-H))return;v.inertia===!1&&(Le=be-W),tt(de,{duration:qt(bn(Math.max(bn(Ue-Re),bn(be-Re))*.185/Z/.05||0)),ease:v.ease||"power3",data:bn(de-H),onInterrupt:function(){return Ft.restart(!0)&&me&&me(y)},onComplete:function(){y.update(),Q=ue(),n&&!P&&(j?j.resetTo("totalProgress",be,n._tTime/n._tDur):n.progress(be)),_r=Or=n&&!P?n.totalProgress():y.progress,_&&_(y),bt&&bt(y)}},H,Le*ve,de-H-Le*ve),zt&&zt(y,tt.tween)}}else y.isActive&&Q!==H&&Ft.restart(!0)}).pause()),l&&(_s[l]=y),p=y.trigger=lt(p||d!==!0&&d),rr=p&&p._gsap&&p._gsap.stRevert,rr&&(rr=rr(y)),d=d===!0?p:lt(d),Mt(s)&&(s={targets:p,className:s}),d&&(m===!1||m===Ot||(m=!m&&d.parentNode&&d.parentNode.style&&Dt(d.parentNode).display==="flex"?!1:Ce),y.pin=d,Ye=O.core.getCache(d),Ye.spacer?Jt=Ye.pinState:(S&&(S=lt(S),S&&!S.nodeType&&(S=S.current||S.nativeElement),Ye.spacerIsNative=!!S,S&&(Ye.spacerState=Xi(S))),Ye.spacer=Ie=S||ce.createElement("div"),Ie.classList.add("pin-spacer"),l&&Ie.classList.add("pin-spacer-"+l),Ye.pinState=Jt=Xi(d)),r.force3D!==!1&&O.set(d,{force3D:!0}),y.spacer=Ie=Ye.spacer,on=Dt(d),kn=on[m+x.os2],Se=O.getProperty(d),Rt=O.quickSetter(d,x.a,De),ds(d,Ie,on),Hr=Xi(d)),z){Zt=Kr(z)?dl(z,fl):fl,L=Ui("scroller-start",l,A,x,Zt,0),vt=Ui("scroller-end",l,A,x,Zt,0,L),gr=L["offset"+x.op.d2];var Cn=lt(ur(A,"content")||A);ft=this.markerStart=Ui("start",l,Cn,x,Zt,gr,0,T),yt=this.markerEnd=Ui("end",l,Cn,x,Zt,gr,0,T),T&&(sn=O.quickSetter([ft,yt],x.a,De)),!G&&!(Wt.length&&ur(A,"fixedMarkers")===!0)&&(xd(N?ne:A),O.set([L,vt],{force3D:!0}),mi=O.quickSetter(L,x.a,De),nn=O.quickSetter(vt,x.a,De))}if(T){var Y=T.vars.onUpdate,q=T.vars.onUpdateParams;T.eventCallback("onUpdate",function(){y.update(0,0,1),Y&&Y.apply(T,q||[])})}if(y.previous=function(){return K[K.indexOf(y)-1]},y.next=function(){return K[K.indexOf(y)+1]},y.revert=function(H,B){if(!B)return y.kill(!0);var I=H!==!1||!y.enabled,W=Ze;I!==y.isReverted&&(I&&(Nt=Math.max(ue(),y.scroll.rec||0),he=y.progress,Ir=n&&n.progress()),ft&&[ft,yt,L,vt].forEach(function(Re){return Re.style.display=I?"none":"block"}),I&&(Ze=y,y.update(I)),d&&(!E||!y.isActive)&&(I?Ad(d,Ie,Jt):ds(d,Ie,Dt(d),Ae)),I||y.update(I),Ze=W,y.isReverted=I)},y.refresh=function(H,B,I,W){if(!((Ze||!y.enabled)&&!B)){if(d&&H&&It){Fe(a,"scrollEnd",Ol);return}!dt&&V&&V(y),Ze=y,tt.tween&&!I&&(tt.tween.kill(),tt.tween=0),j&&j.pause(),h&&n&&(n.revert({kill:!1}).invalidate(),n.getChildren?n.getChildren(!0,!0,!1).forEach(function(yr){return yr.vars.immediateRender&&yr.render(0,!0,!0)}):n.vars.immediateRender&&n.render(0,!0,!0)),y.isReverted||y.revert(!0,!0),y._subPinOffset=!1;var Re=ie(),Z=oe(),Le=T?T.duration():Qt(A,x),Ue=ve<=.01||!ve,be=0,de=W||0,se=Kr(I)?I.end:r.end,zt=r.endTrigger||p,me=Kr(I)?I.start:r.start||(r.start===0||!p?0:d?"0 0":"0 100%"),bt=y.pinnedContainer=r.pinnedContainer&<(r.pinnedContainer,y),Gt=p&&Math.max(0,K.indexOf(y))||0,Ne=Gt,ze,Xe,Rr,gi,Ke,Pe,Vt,co,qs,Pn,Yt,Hn,_i;for(z&&Kr(I)&&(Hn=O.getProperty(L,x.p),_i=O.getProperty(vt,x.p));Ne-- >0;)Pe=K[Ne],Pe.end||Pe.refresh(0,1)||(Ze=y),Vt=Pe.pin,Vt&&(Vt===p||Vt===d||Vt===bt)&&!Pe.isReverted&&(Pn||(Pn=[]),Pn.unshift(Pe),Pe.revert(!0,!0)),Pe!==K[Ne]&&(Gt--,Ne--);for(et(me)&&(me=me(y)),me=al(me,"start",y),te=gl(me,p,Re,x,ue(),ft,L,y,Z,ee,G,Le,T,y._startClamp&&"_startClamp")||(d?-.001:0),et(se)&&(se=se(y)),Mt(se)&&!se.indexOf("+=")&&(~se.indexOf(" ")?se=(Mt(me)?me.split(" ")[0]:"")+se:(be=ji(se.substr(2),Re),se=Mt(me)?me:(T?O.utils.mapRange(0,T.duration(),T.scrollTrigger.start,T.scrollTrigger.end,te):te)+be,zt=p)),se=al(se,"end",y),Te=Math.max(te,gl(se||(zt?"100% 0":Le),zt,Re,x,ue()+be,yt,vt,y,Z,ee,G,Le,T,y._endClamp&&"_endClamp"))||-.001,be=0,Ne=Gt;Ne--;)Pe=K[Ne]||{},Vt=Pe.pin,Vt&&Pe.start-Pe._pinPush<=te&&!T&&Pe.end>0&&(ze=Pe.end-(y._startClamp?Math.max(0,Pe.start):Pe.start),(Vt===p&&Pe.start-Pe._pinPush<te||Vt===bt)&&isNaN(me)&&(be+=ze*(1-Pe.progress)),Vt===d&&(de+=ze));if(te+=be,Te+=be,y._startClamp&&(y._startClamp+=be),y._endClamp&&!dt&&(y._endClamp=Te||-.001,Te=Math.min(Te,Qt(A,x))),ve=Te-te||(te-=.01)&&.001,Ue&&(he=O.utils.clamp(0,1,O.utils.normalize(te,Te,Nt))),y._pinPush=de,ft&&be&&(ze={},ze[x.a]="+="+be,bt&&(ze[x.p]="-="+ue()),O.set([ft,yt],ze)),d&&!(gs&&y.end>=Qt(A,x)))ze=Dt(d),gi=x===ke,Rr=ue(),kt=parseFloat(Se(x.a))+de,!Le&&Te>1&&(Yt=(N?ce.scrollingElement||At:A).style,Yt={style:Yt,value:Yt["overflow"+x.a.toUpperCase()]},N&&Dt(ne)["overflow"+x.a.toUpperCase()]!=="scroll"&&(Yt.style["overflow"+x.a.toUpperCase()]="scroll")),ds(d,Ie,ze),Hr=Xi(d),Xe=dr(d,!0),co=G&&cr(A,gi?Qe:ke)(),m?(Ae=[m+x.os2,ve+de+De],Ae.t=Ie,Ne=m===Ce?ro(d,x)+ve+de:0,Ne&&(Ae.push(x.d,Ne+De),Ie.style.flexBasis!=="auto"&&(Ie.style.flexBasis=Ne+De)),Sn(Ae),bt&&K.forEach(function(yr){yr.pin===bt&&yr.vars.pinSpacing!==!1&&(yr._subPinOffset=!0)}),G&&ue(Nt)):(Ne=ro(d,x),Ne&&Ie.style.flexBasis!=="auto"&&(Ie.style.flexBasis=Ne+De)),G&&(Ke={top:Xe.top+(gi?Rr-te:co)+De,left:Xe.left+(gi?co:Rr-te)+De,boxSizing:"border-box",position:"fixed"},Ke[jr]=Ke["max"+Ln]=Math.ceil(Xe.width)+De,Ke[Qr]=Ke["max"+Ss]=Math.ceil(Xe.height)+De,Ke[Ot]=Ke[Ot+si]=Ke[Ot+ii]=Ke[Ot+ai]=Ke[Ot+oi]="0",Ke[Ce]=ze[Ce],Ke[Ce+si]=ze[Ce+si],Ke[Ce+ii]=ze[Ce+ii],Ke[Ce+ai]=ze[Ce+ai],Ke[Ce+oi]=ze[Ce+oi],mr=Cd(Jt,Ke,E),dt&&ue(0)),n?(qs=n._initted,ss(1),n.render(n.duration(),!0,!0),er=Se(x.a)-kt+ve+de,tr=Math.abs(ve-er)>1,G&&tr&&mr.splice(mr.length-2,2),n.render(0,!0,!0),qs||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),ss(0)):er=ve,Yt&&(Yt.value?Yt.style["overflow"+x.a.toUpperCase()]=Yt.value:Yt.style.removeProperty("overflow-"+x.a));else if(p&&ue()&&!T)for(Xe=p.parentNode;Xe&&Xe!==ne;)Xe._pinOffset&&(te-=Xe._pinOffset,Te-=Xe._pinOffset),Xe=Xe.parentNode;Pn&&Pn.forEach(function(yr){return yr.revert(!1,!0)}),y.start=te,y.end=Te,rt=nt=dt?Nt:ue(),!T&&!dt&&(rt<Nt&&ue(Nt),y.scroll.rec=0),y.revert(!1,!0),pe=Je(),Ft&&(Q=-1,Ft.restart(!0)),Ze=0,n&&P&&(n._initted||Ir)&&n.progress()!==Ir&&n.progress(Ir||0,!0).render(n.time(),!0,!0),(Ue||he!==y.progress||T||h||n&&!n._initted)&&(n&&!P&&(n._initted||he||n.vars.immediateRender!==!1)&&n.totalProgress(T&&te<-.001&&!he?O.utils.normalize(te,Te,0):he,!0),y.progress=Ue||(rt-te)/ve===he?0:he),d&&m&&(Ie._pinOffset=Math.round(y.progress*er)),j&&j.invalidate(),isNaN(Hn)||(Hn-=O.getProperty(L,x.p),_i-=O.getProperty(vt,x.p),Ki(L,x,Hn),Ki(ft,x,Hn-(W||0)),Ki(vt,x,_i),Ki(yt,x,_i-(W||0))),Ue&&!dt&&y.update(),u&&!dt&&!hr&&(hr=!0,u(y),hr=!1)}},y.getVelocity=function(){return(ue()-nt)/(Je()-Qn)*1e3||0},y.endAnimation=function(){jn(y.callbackAnimation),n&&(j?j.progress(1):n.paused()?P||jn(n,y.direction<0,1):jn(n,n.reversed()))},y.labelToScroll=function(H){return n&&n.labels&&(te||y.refresh()||te)+n.labels[H]/n.duration()*ve||0},y.getTrailing=function(H){var B=K.indexOf(y),I=y.direction>0?K.slice(0,B).reverse():K.slice(B+1);return(Mt(H)?I.filter(function(W){return W.vars.preventOverlaps===H}):I).filter(function(W){return y.direction>0?W.end<=te:W.start>=Te})},y.update=function(H,B,I){if(!(T&&!I&&!H)){var W=dt===!0?Nt:y.scroll(),Re=H?0:(W-te)/ve,Z=Re<0?0:Re>1?1:Re||0,Le=y.progress,Ue,be,de,se,zt,me,bt,Gt;if(B&&(nt=rt,rt=T?ue():W,v&&(Or=_r,_r=n&&!P?n.totalProgress():Z)),g&&d&&!Ze&&!Bi&&It&&(!Z&&te<W+(W-nt)/(Je()-Qn)*g?Z=1e-4:Z===1&&Te>W+(W-nt)/(Je()-Qn)*g&&(Z=.9999)),Z!==Le&&y.enabled){if(Ue=y.isActive=!!Z&&Z<1,be=!!Le&&Le<1,me=Ue!==be,zt=me||!!Z!=!!Le,y.direction=Z>Le?1:-1,y.progress=Z,zt&&!Ze&&(de=Z&&!Le?0:Z===1?1:Le===1?2:3,P&&(se=!me&&C[de+1]!=="none"&&C[de+1]||C[de],Gt=n&&(se==="complete"||se==="reset"||se in n))),M&&(me||Gt)&&(Gt||f||!n)&&(et(M)?M(y):y.getTrailing(M).forEach(function(Rr){return Rr.endAnimation()})),P||(j&&!Ze&&!Bi?(j._dp._time-j._start!==j._time&&j.render(j._dp._time-j._start),j.resetTo?j.resetTo("totalProgress",Z,n._tTime/n._tDur):(j.vars.totalProgress=Z,j.invalidate().restart())):n&&n.totalProgress(Z,!!(Ze&&(pe||H)))),d){if(H&&m&&(Ie.style[m+x.os2]=kn),!G)Rt(Jn(kt+er*Z));else if(zt){if(bt=!H&&Z>Le&&Te+1>W&&W+1>=Qt(A,x),E)if(!H&&(Ue||bt)){var Ne=dr(d,!0),ze=W-te;_l(d,ne,Ne.top+(x===ke?ze:0)+De,Ne.left+(x===ke?0:ze)+De)}else _l(d,Ie);Sn(Ue||bt?mr:Hr),tr&&Z<1&&Ue||Rt(kt+(Z===1&&!bt?er:0))}}v&&!tt.tween&&!Ze&&!Bi&&Ft.restart(!0),s&&(me||w&&Z&&(Z<1||!as))&&ci(s.targets).forEach(function(Rr){return Rr.classList[Ue||w?"add":"remove"](s.className)}),o&&!P&&!H&&o(y),zt&&!Ze?(P&&(Gt&&(se==="complete"?n.pause().totalProgress(1):se==="reset"?n.restart(!0).pause():se==="restart"?n.restart(!0):n[se]()),o&&o(y)),(me||!as)&&(c&&me&&cs(y,c),F[de]&&cs(y,F[de]),w&&(Z===1?y.kill(!1,1):F[de]=0),me||(de=Z===1?1:3,F[de]&&cs(y,F[de]))),k&&!Ue&&Math.abs(y.getVelocity())>(ei(k)?k:2500)&&(jn(y.callbackAnimation),j?j.progress(1):jn(n,se==="reverse"?1:!Z,1))):P&&o&&!Ze&&o(y)}if(nn){var Xe=T?W/T.duration()*(T._caScrollDist||0):W;mi(Xe+(L._isFlipped?1:0)),nn(Xe)}sn&&sn(-W/T.duration()*(T._caScrollDist||0))}},y.enable=function(H,B){y.enabled||(y.enabled=!0,Fe(A,"resize",ti),N||Fe(A,"scroll",wn),V&&Fe(a,"refreshInit",V),H!==!1&&(y.progress=he=0,rt=nt=Q=ue()),B!==!1&&y.refresh())},y.getTween=function(H){return H&&tt?tt.tween:j},y.setPositions=function(H,B,I,W){if(T){var Re=T.scrollTrigger,Z=T.duration(),Le=Re.end-Re.start;H=Re.start+Le*H/Z,B=Re.start+Le*B/Z}y.refresh(!1,!1,{start:ll(H,I&&!!y._startClamp),end:ll(B,I&&!!y._endClamp)},W),y.update()},y.adjustPinSpacing=function(H){if(Ae&&H){var B=Ae.indexOf(x.d)+1;Ae[B]=parseFloat(Ae[B])+H+De,Ae[1]=parseFloat(Ae[1])+H+De,Sn(Ae)}},y.disable=function(H,B){if(H!==!1&&y.revert(!0,!0),y.enabled&&(y.enabled=y.isActive=!1,B||j&&j.pause(),Nt=0,Ye&&(Ye.uncache=1),V&&qe(a,"refreshInit",V),Ft&&(Ft.pause(),tt.tween&&tt.tween.kill()&&(tt.tween=0)),!N)){for(var I=K.length;I--;)if(K[I].scroller===A&&K[I]!==y)return;qe(A,"resize",ti),N||qe(A,"scroll",wn)}},y.kill=function(H,B){y.disable(H,B),j&&!B&&j.kill(),l&&delete _s[l];var I=K.indexOf(y);I>=0&&K.splice(I,1),I===ut&&Zi>0&&ut--,I=0,K.forEach(function(W){return W.scroller===y.scroller&&(I=1)}),I||dt||(y.scroll.rec=0),n&&(n.scrollTrigger=null,H&&n.revert({kill:!1}),B||n.kill()),ft&&[ft,yt,L,vt].forEach(function(W){return W.parentNode&&W.parentNode.removeChild(W)}),li===y&&(li=0),d&&(Ye&&(Ye.uncache=1),I=0,K.forEach(function(W){return W.pin===d&&I++}),I||(Ye.spacer=0)),r.onKill&&r.onKill(y)},K.push(y),y.enable(!1,!1),rr&&rr(y),n&&n.add&&!ve){var re=y.update;y.update=function(){y.update=re,X.cache++,te||Te||y.refresh()},O.delayedCall(.01,y.update),ve=.01,te=Te=0}else y.refresh();d&&Md()},a.register=function(r){return En||(O=r||Ml(),Ll()&&window.document&&a.enable(),En=Zn),En},a.defaults=function(r){if(r)for(var n in r)Yi[n]=r[n];return Yi},a.disable=function(r,n){Zn=0,K.forEach(function(o){return o[n?"kill":"disable"](r)}),qe($,"wheel",wn),qe(ce,"scroll",wn),clearInterval(zi),qe(ce,"touchcancel",jt),qe(ne,"touchstart",jt),Gi(qe,ce,"pointerdown,touchstart,mousedown",cl),Gi(qe,ce,"pointerup,touchend,mouseup",ul),to.kill(),Wi(qe);for(var i=0;i<X.length;i+=3)Vi(qe,X[i],X[i+1]),Vi(qe,X[i],X[i+2])},a.enable=function(){if($=window,ce=document,At=ce.documentElement,ne=ce.body,O&&(ci=O.utils.toArray,ri=O.utils.clamp,ms=O.core.context||jt,ss=O.core.suppressOverwrites||jt,ws=$.history.scrollRestoration||"auto",ys=$.pageYOffset||0,O.core.globals("ScrollTrigger",a),ne)){Zn=1,Tn=document.createElement("div"),Tn.style.height="100vh",Tn.style.position="absolute",ql(),bd(),xe.register(O),a.isTouch=xe.isTouch,Cr=xe.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),hs=xe.isTouch===1,Fe($,"wheel",wn),bs=[$,ce,At,ne],O.matchMedia?(a.matchMedia=function(c){var u=O.matchMedia(),f;for(f in c)u.add(f,c[f]);return u},O.addEventListener("matchMediaInit",function(){Il(),Ms()}),O.addEventListener("matchMediaRevert",function(){return Dl()}),O.addEventListener("matchMedia",function(){$r(0,1),tn("matchMedia")}),O.matchMedia().add("(orientation: portrait)",function(){return us(),us})):console.warn("Requires GSAP 3.11.0 or later"),us(),Fe(ce,"scroll",wn);var r=ne.hasAttribute("style"),n=ne.style,i=n.borderTopStyle,o=O.core.Animation.prototype,s,l;for(o.revert||Object.defineProperty(o,"revert",{value:function(){return this.time(-.01,!0)}}),n.borderTopStyle="solid",s=dr(ne),ke.m=Math.round(s.top+ke.sc())||0,Qe.m=Math.round(s.left+Qe.sc())||0,i?n.borderTopStyle=i:n.removeProperty("border-top-style"),r||(ne.setAttribute("style",""),ne.removeAttribute("style")),zi=setInterval(pl,250),O.delayedCall(.5,function(){return Bi=0}),Fe(ce,"touchcancel",jt),Fe(ne,"touchstart",jt),Gi(Fe,ce,"pointerdown,touchstart,mousedown",cl),Gi(Fe,ce,"pointerup,touchend,mouseup",ul),ps=O.utils.checkPrefix("transform"),Ji.push(ps),En=Je(),to=O.delayedCall(.2,$r).pause(),xn=[ce,"visibilitychange",function(){var c=$.innerWidth,u=$.innerHeight;ce.hidden?(ol=c,sl=u):(ol!==c||sl!==u)&&ti()},ce,"DOMContentLoaded",$r,$,"load",$r,$,"resize",ti],Wi(Fe),K.forEach(function(c){return c.enable(0,1)}),l=0;l<X.length;l+=3)Vi(qe,X[l],X[l+1]),Vi(qe,X[l],X[l+2])}},a.config=function(r){"limitCallbacks"in r&&(as=!!r.limitCallbacks);var n=r.syncInterval;n&&clearInterval(zi)||(zi=n)&&setInterval(pl,n),"ignoreMobileResize"in r&&(hs=a.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(Wi(qe)||Wi(Fe,r.autoRefreshEvents||"none"),xl=(r.autoRefreshEvents+"").indexOf("resize")===-1)},a.scrollerProxy=function(r,n){var i=lt(r),o=X.indexOf(i),s=Jr(i);~o&&X.splice(o,s?6:2),n&&(s?Wt.unshift($,n,ne,n,At,n):Wt.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 o=(Mt(r)?lt(r):r).getBoundingClientRect(),s=o[i?jr:Qr]*n||0;return i?o.right-s>0&&o.left+s<$.innerWidth:o.bottom-s>0&&o.top+s<$.innerHeight},a.positionInViewport=function(r,n,i){Mt(r)&&(r=lt(r));var o=r.getBoundingClientRect(),s=o[i?jr:Qr],l=n==null?s/2:n in no?no[n]*s:~n.indexOf("%")?parseFloat(n)*s/100:parseFloat(n)||0;return i?(o.left+l)/$.innerWidth:(o.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=en.killAll||[];en={},n.forEach(function(i){return i()})}},a}();R.version="3.14.2";R.saveStyles=function(a){return a?ci(a).forEach(function(e){if(e&&e.style){var t=Lt.indexOf(e);t>=0&&Lt.splice(t,5),Lt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),O.core.getCache(e),ms())}}):Lt};R.revert=function(a,e){return Ms(!a,e)};R.create=function(a,e){return new R(a,e)};R.refresh=function(a){return a?ti(!0):(En||R.register())&&$r(!0)};R.update=function(a){return++X.cache&&fr(a===!0?2:0)};R.clearScrollMemory=Rl;R.maxScroll=function(a,e){return Qt(a,e?Qe:ke)};R.getScrollFunc=function(a,e){return cr(lt(a),e?Qe:ke)};R.getById=function(a){return _s[a]};R.getAll=function(){return K.filter(function(a){return a.vars.id!=="ScrollSmoother"})};R.isScrolling=function(){return!!It};R.snapDirectional=Ls;R.addEventListener=function(a,e){var t=en[a]||(en[a]=[]);~t.indexOf(e)||t.push(e)};R.removeEventListener=function(a,e){var t=en[a],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)};R.batch=function(a,e){var t=[],r={},n=e.interval||.016,i=e.batchMax||1e9,o=function(c,u){var f=[],p=[],d=O.delayedCall(n,function(){u(f,p),f=[],p=[]}).pause();return function(m){f.length||d.restart(!0),f.push(m.trigger),p.push(m),i<=f.length&&d.progress(1)}},s;for(s in e)r[s]=s.substr(0,2)==="on"&&et(e[s])&&s!=="onRefreshInit"?o(s,e[s]):e[s];return et(i)&&(i=i(),Fe(R,"refresh",function(){return i=e.batchMax()})),ci(a).forEach(function(l){var c={};for(s in r)c[s]=r[s];c.trigger=l,t.push(R.create(c))}),t};var vl=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},fs=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===At&&a(ne,t)},$i={auto:1,scroll:1},Hd=function(e){var t=e.event,r=e.target,n=e.axis,i=(t.changedTouches?t.changedTouches[0]:t).target,o=i._gsap||O.core.getCache(i),s=Je(),l;if(!o._isScrollT||s-o._isScrollT>2e3){for(;i&&i!==ne&&(i.scrollHeight<=i.clientHeight&&i.scrollWidth<=i.clientWidth||!($i[(l=Dt(i)).overflowY]||$i[l.overflowX]));)i=i.parentNode;o._isScroll=i&&i!==r&&!Jr(i)&&($i[(l=Dt(i)).overflowY]||$i[l.overflowX]),o._isScrollT=s}(o._isScroll||n==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},Nl=function(e,t,r,n){return xe.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&Hd,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&Fe(ce,xe.eventTypes[0],wl,!1,!0)},onDisable:function(){return qe(ce,xe.eventTypes[0],wl,!0)}})},Od=/(input|label|select|textarea)/i,bl,wl=function(e){var t=Od.test(e.target.tagName);(t||bl)&&(e._gsapAllow=!0,bl=t)},Dd=function(e){Kr(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,o=t.onRelease,s,l,c=lt(e.target)||At,u=O.core.globals().ScrollSmoother,f=u&&u.get(),p=Cr&&(e.content&<(e.content)||f&&e.content!==!1&&!f.smooth()&&f.content()),d=cr(c,ke),m=cr(c,Qe),h=1,g=(xe.isTouch&&$.visualViewport?$.visualViewport.scale*$.visualViewport.width:$.outerWidth)/$.innerWidth,b=0,_=et(n)?function(){return n(s)}:function(){return n||2.8},w,v,E=Nl(c,e.type,!0,i),S=function(){return v=!1},T=jt,k=jt,M=function(){l=Qt(c,ke),k=ri(Cr?1:0,l),r&&(T=ri(0,Qt(c,Qe))),w=Zr},x=function(){p._gsap.y=Jn(parseFloat(p._gsap.y)+d.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)",d.offset=d.cacheID=0},P=function(){if(v){requestAnimationFrame(S);var z=Jn(s.deltaY/2),ee=k(d.v-z);if(p&&ee!==d.v+d.offset){d.offset=ee-d.v;var y=Jn((parseFloat(p&&p._gsap.y)||0)-d.offset);p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+y+", 0, 1)",p._gsap.y=y+"px",d.cacheID=X.cache,fr()}return!0}d.offset&&x(),v=!0},A,D,N,G,F=function(){M(),A.isActive()&&A.vars.scrollY>l&&(d()>l?A.progress(1)&&d(l):A.resetTo("scrollY",l))};return p&&O.set(p,{y:"+=0"}),e.ignoreCheck=function(C){return Cr&&C.type==="touchmove"&&P(C)||h>1.05&&C.type!=="touchstart"||s.isGesturing||C.touches&&C.touches.length>1},e.onPress=function(){v=!1;var C=h;h=Jn(($.visualViewport&&$.visualViewport.scale||1)/g),A.pause(),C!==h&&fs(c,h>1.01?!0:r?!1:"x"),D=m(),N=d(),M(),w=Zr},e.onRelease=e.onGestureStart=function(C,z){if(d.offset&&x(),!z)G.restart(!0);else{X.cache++;var ee=_(),y,V;r&&(y=m(),V=y+ee*.05*-C.velocityX/.227,ee*=vl(m,y,V,Qt(c,Qe)),A.vars.scrollX=T(V)),y=d(),V=y+ee*.05*-C.velocityY/.227,ee*=vl(d,y,V,Qt(c,ke)),A.vars.scrollY=k(V),A.invalidate().duration(ee).play(.01),(Cr&&A.vars.scrollY>=l||y>=l-1)&&O.to({},{onUpdate:F,duration:ee})}o&&o(C)},e.onWheel=function(){A._ts&&A.pause(),Je()-b>1e3&&(w=0,b=Je())},e.onChange=function(C,z,ee,y,V){if(Zr!==w&&M(),z&&r&&m(T(y[2]===z?D+(C.startX-C.x):m()+z-y[1])),ee){d.offset&&x();var ie=V[2]===ee,oe=ie?N+C.startY-C.y:d()+ee-V[1],Q=k(oe);ie&&oe!==Q&&(N+=Q-oe),d(Q)}(ee||z)&&fr()},e.onEnable=function(){fs(c,r?!1:"x"),R.addEventListener("refresh",F),Fe($,"resize",F),d.smooth&&(d.target.style.scrollBehavior="auto",d.smooth=m.smooth=!1),E.enable()},e.onDisable=function(){fs(c,!0),qe($,"resize",F),R.removeEventListener("refresh",F),E.kill()},e.lockAxis=e.lockAxis!==!1,s=new xe(e),s.iOS=Cr,Cr&&!d()&&d(1),Cr&&O.ticker.add(jt),G=s._dc,A=O.to(s,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Fl(d,d(),function(){return A.pause()})},onUpdate:fr,onComplete:G.vars.onComplete}),s};R.sort=function(a){if(et(a))return K.sort(a);var e=$.pageYOffset||0;return R.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)})};R.observe=function(a){return new xe(a)};R.normalizeScroll=function(a){if(typeof a>"u")return ct;if(a===!0&&ct)return ct.enable();if(a===!1){ct&&ct.kill(),ct=a;return}var e=a instanceof xe?a:Dd(a);return ct&&ct.target===e.target&&ct.kill(),Jr(e.target)&&(ct=e),e};R.core={_getVelocityProp:Ni,_inputObserver:Nl,_scrollers:X,_proxies:Wt,bridge:{ss:function(){It||tn("scrollStart"),It=Je()},ref:function(){return Ze}}};Ml()&&O.registerPlugin(R);var zl=()=>{Oe.registerPlugin(R),document.querySelectorAll(".circle-arrow_wrapper").forEach(e=>{let t=e.querySelector("svg");if(!t)return;let r=t.querySelector("path:last-of-type"),n=e.classList.contains("is-footer"),i=n?12:-12,o=n?{x:-20,y:-3}:{x:18,y:-8};function s(){Oe.fromTo(t,{y:10,rotation:i,transformOrigin:"50% 50%"},{y:-15,rotation:0,duration:1.4,ease:"power2.out",delay:.2}),r&&Oe.fromTo(r,{x:0,y:0},{...o,duration:1.6,ease:"power2.out",delay:.2})}if(n){let l=e.closest(".footer_main-decor");R.create({trigger:e,start:"top 85%",once:!0,onEnter:()=>{l&&(l.style.opacity="1"),s()}})}else{let l=e.closest(".header_main-decor");l&&(l.style.opacity="1"),s()}}),window.addEventListener("load",()=>{setTimeout(()=>R.refresh(),200)})};var Bl=()=>{Oe.registerPlugin(R),document.querySelectorAll(".decor_arrow-wrapper").forEach(e=>{let t=e.querySelector(".decor-middle"),r=e.querySelector(".decor-top"),n=e,i=Oe.timeline({paused:!0});if(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){let o=n.classList.contains("is-inside");i.fromTo(r,{y:0,xPercent:-50},{y:o?-40:-60,xPercent:-50,duration:1.2,ease:"power2.out"},"rideAlong")}R.create({trigger:n,start:"top 85%",once:!0,onEnter:()=>{Oe.set(n,{opacity:0}),i.play()}})}),window.addEventListener("load",()=>{setTimeout(()=>{R.refresh()},200)})};var Wl=(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(f=>f.remove());let i=r.offsetWidth,o=48,s="perfect-marquee-styles";if(!document.getElementById(s)){let f=document.createElement("style");f.id=s;let p=a.pauseOnHover?`
|
|
104
104
|
.banner_component:hover .banner_marquee {
|
|
105
105
|
animation-play-state: paused !important;
|
|
106
106
|
}
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
${p}
|
|
131
|
-
`,document.head.appendChild(f)}let l=window.innerWidth,c=i+o,u=Math.max(3,Math.ceil(l*2/c));for(let f=0;f<u;f++){let p=r.cloneNode(!0);p.setAttribute("aria-hidden","true"),p.classList.add("is-clone"),t.appendChild(p)}if(typeof gsap<"u"){let f=t.querySelectorAll(".banner_marquee");f.forEach(p=>{let d=p;d.style.animation="none"}),requestAnimationFrame(()=>{let p=i+o,d=gsap.to(f,{x:-p,duration:30,ease:"none",repeat:-1});a.pauseOnHover&&e&&(e.addEventListener("mouseenter",()=>d.pause()),e.addEventListener("mouseleave",()=>d.resume()))})}},
|
|
131
|
+
`,document.head.appendChild(f)}let l=window.innerWidth,c=i+o,u=Math.max(3,Math.ceil(l*2/c));for(let f=0;f<u;f++){let p=r.cloneNode(!0);p.setAttribute("aria-hidden","true"),p.classList.add("is-clone"),t.appendChild(p)}if(typeof gsap<"u"){let f=t.querySelectorAll(".banner_marquee");f.forEach(p=>{let d=p;d.style.animation="none"}),requestAnimationFrame(()=>{let p=i+o,d=gsap.to(f,{x:-p,duration:30,ease:"none",repeat:-1});a.pauseOnHover&&e&&(e.addEventListener("mouseenter",()=>d.pause()),e.addEventListener("mouseleave",()=>d.resume()))})}},Gl=()=>{let a=document.querySelector(".marquee");if(!a)return;let e=a.querySelector(".marquee-wrapper");if(!e)return;let t=e.parentElement;Object.assign(e.style,{display:"flex",flexWrap:"nowrap",willChange:"transform"});let r=Array.from(e.querySelectorAll(".marquee-item"));if(r.length===0)return;let n=t.offsetWidth*2,i=0,o=r.reduce((f,p)=>{let d=window.getComputedStyle(p),m=parseFloat(d.marginLeft)||0,h=parseFloat(d.marginRight)||0;return f+p.offsetWidth+m+h},0);for(;i<n+o;)r.forEach(f=>{let p=f.cloneNode(!0);p.setAttribute("aria-hidden","true"),e.appendChild(p),i+=f.offsetWidth});let s=0,l=40,c=null,u=f=>{if(c!==null){let p=(f-c)/1e3;s-=l*p,Math.abs(s)>=o&&(s+=o),e.style.transform=`translateX(${s}px)`}c=f,requestAnimationFrame(u)};requestAnimationFrame(u)};function Vl(){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 Yl=()=>{Oe.registerPlugin(R),Oe.utils.toArray("section").forEach(a=>{let e=a.querySelector("h2"),t=a.querySelector(".section_header-description");if(!e&&!t)return;let r=Oe.timeline({paused:!0});e&&r.from(e,{opacity:0,y:16,duration:.6,ease:"power2.out"}),t&&r.from(t,{opacity:0,y:16,duration:.6,ease:"power2.out"},"-=0.35"),R.create({trigger:a,start:"top 85%",once:!0,onEnter:()=>r.play()})})};var Ul=()=>{Oe.registerPlugin(R),Oe.matchMedia().add("(min-width: 992px)",()=>{document.querySelectorAll(".timeline-component").forEach(t=>{let r=t.querySelector(".timeline-line-wrapper"),n=t.querySelectorAll(".timeline-dot-wrapper");if(!r||n.length===0)return;Oe.set(r,{opacity:0,width:"0%"}),Oe.set(n,{opacity:0,scale:0});let i=Oe.timeline({paused:!0});i.to(r,{opacity:1,width:"100%",duration:1.4,ease:"power2.inOut"});let l=1.4/n.length;n.forEach((c,u)=>{let f=l*u;i.to(c,{opacity:1,scale:1,duration:.4,ease:"back.out(1.7)"},f)}),R.create({trigger:t,start:"top 75%",once:!0,onEnter:()=>{i.play()}})}),window.addEventListener("load",()=>{setTimeout(()=>{R.refresh()},200)})})};var Mn=null;function Xl(){if(typeof Lenis>"u"){console.error("[SmoothScroll] Lenis is not loaded");return}if(!(window.innerWidth>991))return;Mn=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}),document.querySelectorAll('a[href*="#"]:not(.w-tab-link)').forEach(t=>{t.addEventListener("click",r=>{let n=t.getAttribute("href");if(!n)return;let i;try{let s=new URL(n,window.location.href);if(s.pathname!==window.location.pathname)return;i=s.hash}catch{i=n.startsWith("#")?n:""}if(!i||i==="#")return;let o=document.querySelector(i);!o||!Mn||(r.preventDefault(),r.stopPropagation(),Mn.scrollTo(o,{offset:0,duration:1.05}))})});function e(t){Mn?.raf(t),requestAnimationFrame(e)}requestAnimationFrame(e)}function Kl(){Mn?.stop()}function $l(){Mn?.start()}function jl(){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 Id(){let a=document.createElement("style");a.textContent=`
|
|
132
132
|
#cursor-trail-canvas {
|
|
133
133
|
position: fixed;
|
|
134
134
|
inset: 0;
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
</linearGradient>
|
|
175
175
|
</defs>
|
|
176
176
|
</svg>
|
|
177
|
-
`,document.body.appendChild(t),document.body.appendChild(s),{cursorEl:s,trailSvg:t,trailPath:o,gradient:n}}function
|
|
177
|
+
`,document.body.appendChild(t),document.body.appendChild(s),{cursorEl:s,trailSvg:t,trailPath:o,gradient:n}}function Ql(){return;function d(){r.setAttribute("viewBox",`0 0 ${window.innerWidth} ${window.innerHeight}`)}function m(){c.x=l.x,c.y=l.y,u=Array.from({length:o.maxPoints},()=>({x:l.x,y:l.y})),p=0,f=0,s=!0,document.body.classList.add("cursor-active"),gsap.to(t,{opacity:1,duration:.3,ease:"power2.out"}),gsap.to(r,{opacity:1,duration:.4,ease:"power2.out"})}function h(){s=!1,document.body.classList.remove("cursor-active"),gsap.to(t,{opacity:0,duration:.25,ease:"power2.in"}),gsap.to(r,{opacity:0,duration:.35,ease:"power2.in"})}function g(){if(u.length<2)return;let _=u[u.length-1],w=u[0];i.setAttribute("x1",String(_.x)),i.setAttribute("y1",String(_.y)),i.setAttribute("x2",String(w.x)),i.setAttribute("y2",String(w.y))}function b(_,w=.5){if(_.length<2)return"";let v=`M ${_[0].x.toFixed(1)} ${_[0].y.toFixed(1)}`;for(let E=0;E<_.length-1;E++){let S=_[Math.max(E-1,0)],T=_[E],k=_[E+1],M=_[Math.min(E+2,_.length-1)],x=T.x+(k.x-S.x)/6*w,P=T.y+(k.y-S.y)/6*w,A=k.x-(M.x-T.x)/6*w,D=k.y-(M.y-T.y)/6*w;v+=` C ${x.toFixed(1)} ${P.toFixed(1)}, ${A.toFixed(1)} ${D.toFixed(1)}, ${k.x.toFixed(1)} ${k.y.toFixed(1)}`}return v}}function Zl(){function a(l,c){let u=l.querySelector(".layout-card-bottom"),f=l.querySelector(".layout_action-icon"),p=l.querySelector(".layout_card-top"),d=l.getAttribute("data-card"),m=document.querySelector(`.about_component-image-outer[data-image="${d}"]`);p&&p.setAttribute("aria-expanded",String(c)),u&&u.setAttribute("aria-hidden",String(!c)),c?(p&&gsap.set(p,{pointerEvents:"none",cursor:"default"}),u&&gsap.to(u,{height:"auto",duration:.6,ease:"power3.inOut"}),f&&f.classList.add("is-active"),m&&(gsap.set(m,{display:"block",zIndex:2}),gsap.to(m,{autoAlpha:1,duration:.6,ease:"power3.inOut",overwrite:!0}))):(p&&gsap.set(p,{pointerEvents:"auto",cursor:"pointer"}),u&&gsap.to(u,{height:0,duration:.6,ease:"power3.inOut"}),f&&f.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;if(parseFloat(String(u))>0)return;let p=l.closest(".solutions_cards-grid.is-faq");(p?p.querySelectorAll(".layout_card.is-faq"):document.querySelectorAll(".layout_card.is-faq")).forEach(m=>{m!==l&&a(m,!1)}),a(l,!0)}function t(l,c){let u=Array.from(c),p=(u.indexOf(l)+1)%u.length,d=u[p].querySelector(".layout_card-top");d&&d.focus()}function r(l,c){let u=Array.from(c),f=u.indexOf(l),p=f===0?u.length-1:f-1,d=u[p].querySelector(".layout_card-top");d&&d.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 o(){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(d=>d.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(d=>d.querySelector("img")).filter(d=>d!==null);gsap.set(p,{width:"100%",height:"100%",objectFit:"cover"})}if(c.length===0)return;c.forEach(p=>{p.setAttribute("data-faq-init","true");let d=p.querySelector(".layout_card-top"),m=p.querySelector(".layout-card-bottom");if(m&&gsap.set(m,{height:0,overflow:"hidden",display:"block"}),d&&m){let h=Math.random().toString(36).substring(2,9),g=d.id||`faq-trigger-${h}`,b=m.id||`faq-panel-${h}`;d.id=g,m.id=b,d.setAttribute("role","button"),d.setAttribute("aria-expanded","false"),d.setAttribute("aria-controls",b),d.setAttribute("tabindex","0"),m.setAttribute("role","region"),m.setAttribute("aria-labelledby",g),m.setAttribute("aria-hidden","true")}d&&(d.addEventListener("click",()=>e(p)),d.addEventListener("keydown",h=>{let g=h,b=document.querySelectorAll(".layout_card.is-faq");switch(g.key){case"Enter":case" ":g.preventDefault(),e(p);break;case"ArrowDown":g.preventDefault(),t(p,b);break;case"ArrowUp":g.preventDefault(),r(p,b);break;case"Home":g.preventDefault(),n(b);break;case"End":g.preventDefault(),i(b);break}}))}),document.querySelectorAll(".solutions_cards-grid.is-faq").forEach(p=>{if(!p.querySelector(".layout_action-icon.is-active")){let m=p.querySelector(".layout_card.is-faq");m&&a(m,!0)}})}o(),new MutationObserver(l=>{let c=!1;for(let u of l)if(u.addedNodes.length>0){c=!0;break}c&&o()}).observe(document.body,{childList:!0,subtree:!0})}function Jl(){let a=document.querySelectorAll("[data-product-trigger]");document.addEventListener("click",e=>{a.forEach(t=>{let r=t.querySelector("[data-tile-details]");r&&!t.contains(e.target)&&r.classList.remove("is-active")})}),a.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("click",()=>{t.classList.add("is-active")}),e.addEventListener("mouseenter",()=>{t.classList.add("is-active");let o=n.offsetWidth-(r.offsetWidth-16);if(o>0){gsap.killTweensOf(n);let s=o/30;i=gsap.to(n,{x:-o,duration:s,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 ec(){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(c=>{c.addEventListener("keydown",u=>{u.key==="Tab"&&setTimeout(()=>{t.contains(document.activeElement)||e(t)},0)})}),t.addEventListener("keydown",c=>{let u=c;u.key==="Escape"&&n.classList.contains("w--open")&&(e(t),r.focus(),u.preventDefault())});let s=()=>!!t.closest(".w-nav-overlay");i&&(i.style.transition="transform 0.3s ease"),new MutationObserver(c=>{c.forEach(u=>{if(u.attributeName==="class"){let f=r.classList.contains("w--open");i&&(f?(i.classList.add("is-open"),s()&&(i.style.transform="rotate(-90deg)")):(i.classList.remove("is-open"),s()&&(i.style.transform="rotate(90deg)")))}})}).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 tc(){let a=document.querySelectorAll('input[type="radio"][name]'),e=[...new Set(Array.from(a).filter(m=>(m.closest("label")??m.parentElement)?.querySelector("[fs-list-field]")!==null).map(m=>m.name))];if(e.length===0)return;let t=document.createElement("style");t.textContent=`
|
|
178
178
|
@keyframes csFilterShimmer {
|
|
179
179
|
0% { background-position: -200% 0; }
|
|
180
180
|
100% { background-position: 200% 0; }
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
border-radius: inherit;
|
|
195
195
|
pointer-events: none;
|
|
196
196
|
}
|
|
197
|
-
`,document.head.appendChild(t);let r=document.querySelectorAll(".dropdown_wrapper");r.forEach(m=>m.classList.add("cs-filters-loading"));function n(){r.forEach(m=>m.classList.remove("cs-filters-loading")),t.remove()}let i=[];e.forEach(m=>{document.querySelectorAll(`input[type="radio"][name="${m}"]`).forEach(g=>{let b=g.closest('[role="listitem"]'),_=(b??g.parentElement)?.querySelector(".checkbox_text")??null,v=_?.textContent?.trim()??"",w=_?.getAttribute("fs-list-field")??"",E=b?.parentElement??null,L=b?.nextSibling??null;i.push({group:m,label:v,fieldName:w,input:g,textEl:_,wrapperEl:b,parentEl:E,nextSiblingEl:L})})});let o=new Map;e.forEach(m=>{let h=i.find(g=>g.group===m&&g.fieldName!=="");h&&o.set(m,h.fieldName)});let s=new Map;e.forEach(m=>{let h=i.find(_=>_.group===m);if(!h)return;let g=h.input.closest(".dropdown_wrapper");if(!g)return;let b=g.querySelector(".form_dropdown > div:first-child");b&&s.set(m,{wrapperEl:g,toggleTextEl:b,defaultText:b.textContent?.trim()??""})});function l(m){let h=s.get(m);if(!h)return;let g=u.get(m);if(g&&g.size>0){let[b]=g;h.toggleTextEl.textContent=b}else h.toggleTextEl.textContent=h.defaultText}let c=new Map;e.forEach(m=>{let h=i.find(E=>E.group===m);if(!h?.wrapperEl)return;let g=s.get(m);if(!g)return;let b=g.wrapperEl.querySelector('[role="list"]');if(!b)return;let _=h.wrapperEl.cloneNode(!0);_.setAttribute("data-clear-group",m);let v=_.querySelector(".checkbox_text");v&&(v.textContent=`Wszystkie ${g.defaultText}`,v.removeAttribute("fs-list-field"),v.classList.add("is-active"),c.set(m,v));let w=_.querySelector('input[type="radio"]');w&&(w.checked=!1,w.id=`${m}-all`,w.value=""),b.insertBefore(_,b.firstChild)});let u=new Map(e.map(m=>[m,new Set]));function f(){for(let m of u.values())if(m.size>0)return!0;return!1}function p(m,h){return Array.from(m.querySelectorAll(`[fs-list-field="${h}"]`)).map(g=>g.textContent?.trim().toLowerCase()??"")}function d(m){for(let[h,g]of u.entries()){if(g.size===0)continue;let b=o.get(h);if(!b)return!1;let _=p(m,b);if(!Array.from(g).some(w=>_.some(E=>E===w.toLowerCase())))return!1}return!0}window.FinsweetAttributes||(window.FinsweetAttributes=[]),window.FinsweetAttributes.push(["list",async m=>{let h=m.find(x=>x.wrapperElement?.querySelector('[fs-list-element="list"]')||x.listElement?.hasAttribute("fs-list-element"))||m[0];if(!h){n();return}h.loadingPaginatedItems&&await h.loadingPaginatedItems;let g=h.items.value.slice();n();let b=document.querySelector("[data-empty]");b&&(b.style.display="none");function _(x,P){b&&(b.style.display=P&&x===0?"flex":"none")}function v(x,P,k){if(k.size===0)return!0;let I=o.get(P);if(!I)return!0;let N=p(x,I);return Array.from(k).some(G=>N.some(F=>F===G.toLowerCase()))}function w(){for(let x of e){let P=i.filter(C=>C.group===x),k=o.get(x);if(!(!!k&&g.some(C=>p(C.element,k).length>0))){s.get(x)?.wrapperEl.classList.remove("is-disabled");continue}let N=g.filter(C=>{let z=C.element;for(let[ee,y]of u.entries())if(ee!==x&&!v(z,ee,y))return!1;return!0}),G=0;for(let C of P){if(!C.wrapperEl||!C.parentEl)continue;if(C.input.checked){C.wrapperEl.parentElement||(C.nextSiblingEl&&C.nextSiblingEl.parentElement===C.parentEl?C.parentEl.insertBefore(C.wrapperEl,C.nextSiblingEl):C.parentEl.appendChild(C.wrapperEl)),G++;continue}N.some(ee=>p(ee.element,C.fieldName).some(V=>V===C.label.toLowerCase()))?(C.wrapperEl.parentElement||(C.nextSiblingEl&&C.nextSiblingEl.parentElement===C.parentEl?C.parentEl.insertBefore(C.wrapperEl,C.nextSiblingEl):C.parentEl.appendChild(C.wrapperEl)),G++):C.wrapperEl.parentElement&&C.wrapperEl.remove()}let F=s.get(x);if(F)if(G===0){F.wrapperEl.classList.add("is-disabled");let C=F.wrapperEl.querySelector(".w-dropdown-toggle"),z=F.wrapperEl.querySelector(".w-dropdown-list");C?.classList.remove("w--open"),C?.setAttribute("aria-expanded","false"),z?.classList.remove("w--open")}else F.wrapperEl.classList.remove("is-disabled")}}h.addHook("filter",x=>{if(!f())return _(x.length,!1),w(),x;let P=x.filter(k=>{let I=k.element;return d(I)});return _(P.length,!0),w(),P});function E(x){let P=c.get(x);if(!P)return;let k=u.get(x);!k||k.size===0?P.classList.add("is-active"):P.classList.remove("is-active")}i.forEach(x=>{x.input.addEventListener("click",()=>{let P=u.get(x.group);P&&(P.has(x.label)?(x.input.checked=!1,P.clear(),x.textEl?.classList.remove("is-active")):(P.clear(),i.filter(k=>k.group===x.group&&k!==x).forEach(k=>k.textEl?.classList.remove("is-active")),P.add(x.label),x.textEl?.classList.add("is-active")),l(x.group),E(x.group),h.triggerHook("filter"),M())})});for(let x of e){let P=document.querySelector(`[data-clear-group="${x}"]`);P&&P.addEventListener("click",()=>{let k=u.get(x);k&&(k.clear(),i.filter(I=>I.group===x).forEach(I=>{I.input.checked=!1,I.textEl?.classList.remove("is-active")}),l(x),E(x),h.triggerHook("filter"),M())})}i.forEach(x=>{if(x.input.checked){let P=u.get(x.group);P&&(P.add(x.label),x.textEl?.classList.add("is-active"))}});let L=document.querySelector(".clearbox"),T=document.querySelectorAll("[data-search='name']");function A(){return Array.from(T).some(x=>x.value.trim()!=="")}function M(){L&&(L.style.display=f()||A()?"flex":"none")}T.forEach(x=>{x.addEventListener("input",()=>M())}),L&&L.addEventListener("click",()=>{for(let x of u.values())x.clear();i.forEach(x=>{x.input.checked=!1,x.textEl?.classList.remove("is-active")});for(let x of e)l(x),E(x);document.querySelectorAll("[data-search='name']").forEach(x=>{x.value="",x.dispatchEvent(new Event("input",{bubbles:!0}))}),h.triggerHook("filter"),M()}),h.triggerHook("filter"),M()}])}function Id(a){let e=a.dataset.searchTarget;if(e)return document.getElementById(e);let t=a.parentElement;for(;t;){let r=t.querySelector('[fs-list-element="list"]');if(r)return r;t=t.parentElement}return document.querySelector('[fs-list-element="list"]')}function oo(a){return a.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/ł/g,"l").replace(/Ł/g,"L")}function tc(){let a=document.querySelectorAll("[data-search='name']");a.length&&(window.FinsweetAttributes||(window.FinsweetAttributes=[]),window.FinsweetAttributes.push(["list",async e=>{for(let t of Array.from(a)){let r=Id(t),n=e.find(o=>r&&o.wrapperElement?.contains(r)||o.listElement===r)||e[0];if(!n)continue;n.loadingPaginatedItems&&await n.loadingPaginatedItems,n.addHook("filter",o=>{let s=oo(t.value.trim());return s?o.filter(l=>{let c=l.element.querySelector("h3");return oo(c?.textContent??"").includes(s)}):o});let i=document.querySelector("[data-empty]");t.addEventListener("input",()=>{if(n.triggerHook("filter"),i){let o=oo(t.value.trim()),s=n.items.value.filter(l=>{let c=l.element.querySelector("h3");return oo(c?.textContent??"").includes(o)});i.style.display=o&&s.length===0?"flex":"none"}})}}]))}var As=class{constructor(){U(this,"nav",null);U(this,"dropdowns",null);U(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 o=r.getAttribute("href");o&&o!=="#"?window.location.href=o: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",o=>{let s=e.querySelector(".w-dropdown-toggle");if(s?.getAttribute("aria-expanded")==="true")switch(o.key){case"Tab":o.shiftKey&&i===0?(o.preventDefault(),s?.focus()):!o.shiftKey&&i===r.length-1&&this.closeDropdown(e,s,t);break;case"Escape":o.preventDefault(),this.closeDropdown(e,s,t),s?.focus();break;case"ArrowDown":i<r.length-1&&(o.preventDefault(),r[i+1].focus());break;case"ArrowUp":i>0?(o.preventDefault(),r[i-1].focus()):(o.preventDefault(),s?.focus());break;case"Home":o.preventDefault(),r[0].focus();break;case"End":o.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 rc(){new As}var Rd=".w-nav",qd=".button-wrapper",ks="is-pinned",Cs="w-variant-a4b72284-6321-8341-edca-223fdec43abe";var An=!1,di=!1,so=!1,Pr=null,rn=null;function Fd(){return window.innerWidth>991}function ic(){if(!Pr||!An){so=!1;return}let a=window.scrollY||window.pageYOffset;!di&&a>50?(Pr.classList.add(ks),rn&&rn.classList.remove(Cs),di=!0):di&&a<40&&(Pr.classList.remove(ks),rn&&rn.classList.add(Cs),di=!1),so=!1}function Nd(){!so&&An&&(window.requestAnimationFrame(ic),so=!0)}function zd(){Pr&&Pr.classList.remove(ks),rn&&rn.classList.add(Cs),di=!1}function nc(){let a=Fd();a&&!An?(An=!0,ic()):!a&&An&&(An=!1,zd())}function Bd(a,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>a(...r),e)}}function oc(){if(Pr=document.querySelector(Rd),!Pr)return;rn=Pr.querySelector(qd),window.addEventListener("scroll",Nd,{passive:!0});let a=Bd(nc,150);window.addEventListener("resize",a),nc()}var sc=async()=>{let a=document.querySelector("[data-lex-cms]"),e=document.querySelector("[data-lex-box]");if(!a||!e)return;let t=e.parentElement;if(!t)return;let r=Array.from(a.querySelectorAll(".lex-list-item")),n=a.querySelector(".w-pagination-next")?.getAttribute("href"),i=[];if(n){if(e.setAttribute("style","display: none !important;"),!document.getElementById("lex-skeleton-style")){let g=document.createElement("style");g.id="lex-skeleton-style",g.innerHTML=`
|
|
197
|
+
`,document.head.appendChild(t);let r=document.querySelectorAll(".dropdown_wrapper");r.forEach(m=>m.classList.add("cs-filters-loading"));function n(){r.forEach(m=>m.classList.remove("cs-filters-loading")),t.remove()}let i=[];e.forEach(m=>{document.querySelectorAll(`input[type="radio"][name="${m}"]`).forEach(g=>{let b=g.closest('[role="listitem"]'),_=(b??g.parentElement)?.querySelector(".checkbox_text")??null,w=_?.textContent?.trim()??"",v=_?.getAttribute("fs-list-field")??"",E=b?.parentElement??null,S=b?.nextSibling??null;i.push({group:m,label:w,fieldName:v,input:g,textEl:_,wrapperEl:b,parentEl:E,nextSiblingEl:S})})});let o=new Map;e.forEach(m=>{let h=i.find(g=>g.group===m&&g.fieldName!=="");h&&o.set(m,h.fieldName)});let s=new Map;e.forEach(m=>{let h=i.find(_=>_.group===m);if(!h)return;let g=h.input.closest(".dropdown_wrapper");if(!g)return;let b=g.querySelector(".form_dropdown > div:first-child");b&&s.set(m,{wrapperEl:g,toggleTextEl:b,defaultText:b.textContent?.trim()??""})});function l(m){let h=s.get(m);if(!h)return;let g=u.get(m);if(g&&g.size>0){let[b]=g;h.toggleTextEl.textContent=b}else h.toggleTextEl.textContent=h.defaultText}let c=new Map;e.forEach(m=>{let h=i.find(E=>E.group===m);if(!h?.wrapperEl)return;let g=s.get(m);if(!g)return;let b=g.wrapperEl.querySelector('[role="list"]');if(!b)return;let _=h.wrapperEl.cloneNode(!0);_.setAttribute("data-clear-group",m);let w=_.querySelector(".checkbox_text");w&&(w.textContent=`Wszystkie ${g.defaultText}`,w.removeAttribute("fs-list-field"),w.classList.add("is-active"),c.set(m,w));let v=_.querySelector('input[type="radio"]');v&&(v.checked=!1,v.id=`${m}-all`,v.value=""),b.insertBefore(_,b.firstChild)});let u=new Map(e.map(m=>[m,new Set]));function f(){for(let m of u.values())if(m.size>0)return!0;return!1}function p(m,h){return Array.from(m.querySelectorAll(`[fs-list-field="${h}"]`)).map(g=>g.textContent?.trim().toLowerCase()??"")}function d(m){for(let[h,g]of u.entries()){if(g.size===0)continue;let b=o.get(h);if(!b)return!1;let _=p(m,b);if(!Array.from(g).some(v=>_.some(E=>E===v.toLowerCase())))return!1}return!0}window.FinsweetAttributes||(window.FinsweetAttributes=[]),window.FinsweetAttributes.push(["list",async m=>{let h=m.find(x=>x.wrapperElement?.querySelector('[fs-list-element="list"]')||x.listElement?.hasAttribute("fs-list-element"))||m[0];if(!h){n();return}h.loadingPaginatedItems&&await h.loadingPaginatedItems;let g=h.items.value.slice();n();let b=document.querySelector("[data-empty]");b&&(b.style.display="none");function _(x,P){b&&(b.style.display=P&&x===0?"flex":"none")}function w(x,P,A){if(A.size===0)return!0;let D=o.get(P);if(!D)return!0;let N=p(x,D);return Array.from(A).some(G=>N.some(F=>F===G.toLowerCase()))}function v(){for(let x of e){let P=i.filter(C=>C.group===x),A=o.get(x);if(!(!!A&&g.some(C=>p(C.element,A).length>0))){s.get(x)?.wrapperEl.classList.remove("is-disabled");continue}let N=g.filter(C=>{let z=C.element;for(let[ee,y]of u.entries())if(ee!==x&&!w(z,ee,y))return!1;return!0}),G=0;for(let C of P){if(!C.wrapperEl||!C.parentEl)continue;if(C.input.checked){C.wrapperEl.parentElement||(C.nextSiblingEl&&C.nextSiblingEl.parentElement===C.parentEl?C.parentEl.insertBefore(C.wrapperEl,C.nextSiblingEl):C.parentEl.appendChild(C.wrapperEl)),G++;continue}N.some(ee=>p(ee.element,C.fieldName).some(V=>V===C.label.toLowerCase()))?(C.wrapperEl.parentElement||(C.nextSiblingEl&&C.nextSiblingEl.parentElement===C.parentEl?C.parentEl.insertBefore(C.wrapperEl,C.nextSiblingEl):C.parentEl.appendChild(C.wrapperEl)),G++):C.wrapperEl.parentElement&&C.wrapperEl.remove()}let F=s.get(x);if(F)if(G===0){F.wrapperEl.classList.add("is-disabled");let C=F.wrapperEl.querySelector(".w-dropdown-toggle"),z=F.wrapperEl.querySelector(".w-dropdown-list");C?.classList.remove("w--open"),C?.setAttribute("aria-expanded","false"),z?.classList.remove("w--open")}else F.wrapperEl.classList.remove("is-disabled")}}h.addHook("filter",x=>{if(!f())return _(x.length,!1),v(),x;let P=x.filter(A=>{let D=A.element;return d(D)});return _(P.length,!0),v(),P});function E(x){let P=c.get(x);if(!P)return;let A=u.get(x);!A||A.size===0?P.classList.add("is-active"):P.classList.remove("is-active")}i.forEach(x=>{x.input.addEventListener("click",()=>{let P=u.get(x.group);P&&(P.has(x.label)?(x.input.checked=!1,P.clear(),x.textEl?.classList.remove("is-active")):(P.clear(),i.filter(A=>A.group===x.group&&A!==x).forEach(A=>A.textEl?.classList.remove("is-active")),P.add(x.label),x.textEl?.classList.add("is-active")),l(x.group),E(x.group),h.triggerHook("filter"),M())})});for(let x of e){let P=document.querySelector(`[data-clear-group="${x}"]`);P&&P.addEventListener("click",()=>{let A=u.get(x);A&&(A.clear(),i.filter(D=>D.group===x).forEach(D=>{D.input.checked=!1,D.textEl?.classList.remove("is-active")}),l(x),E(x),h.triggerHook("filter"),M())})}i.forEach(x=>{if(x.input.checked){let P=u.get(x.group);P&&(P.add(x.label),x.textEl?.classList.add("is-active"))}});let S=document.querySelector(".clearbox"),T=document.querySelectorAll("[data-search='name']");function k(){return Array.from(T).some(x=>x.value.trim()!=="")}function M(){S&&(S.style.display=f()||k()?"flex":"none")}T.forEach(x=>{x.addEventListener("input",()=>M())}),S&&S.addEventListener("click",()=>{for(let x of u.values())x.clear();i.forEach(x=>{x.input.checked=!1,x.textEl?.classList.remove("is-active")});for(let x of e)l(x),E(x);document.querySelectorAll("[data-search='name']").forEach(x=>{x.value="",x.dispatchEvent(new Event("input",{bubbles:!0}))}),h.triggerHook("filter"),M()}),h.triggerHook("filter"),M()}])}function Rd(a){let e=a.dataset.searchTarget;if(e)return document.getElementById(e);let t=a.parentElement;for(;t;){let r=t.querySelector('[fs-list-element="list"]');if(r)return r;t=t.parentElement}return document.querySelector('[fs-list-element="list"]')}function oo(a){return a.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/ł/g,"l").replace(/Ł/g,"L")}function rc(){let a=document.querySelectorAll("[data-search='name']");a.length&&(window.FinsweetAttributes||(window.FinsweetAttributes=[]),window.FinsweetAttributes.push(["list",async e=>{for(let t of Array.from(a)){let r=Rd(t),n=e.find(o=>r&&o.wrapperElement?.contains(r)||o.listElement===r)||e[0];if(!n)continue;n.loadingPaginatedItems&&await n.loadingPaginatedItems,n.addHook("filter",o=>{let s=oo(t.value.trim());return s?o.filter(l=>{let c=l.element.querySelector("h3");return oo(c?.textContent??"").includes(s)}):o});let i=document.querySelector("[data-empty]");t.addEventListener("input",()=>{if(n.triggerHook("filter"),i){let o=oo(t.value.trim()),s=n.items.value.filter(l=>{let c=l.element.querySelector("h3");return oo(c?.textContent??"").includes(o)});i.style.display=o&&s.length===0?"flex":"none"}})}}]))}var As=class{constructor(){U(this,"nav",null);U(this,"dropdowns",null);U(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 o=r.getAttribute("href");o&&o!=="#"?window.location.href=o: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",o=>{let s=e.querySelector(".w-dropdown-toggle");if(s?.getAttribute("aria-expanded")==="true")switch(o.key){case"Tab":o.shiftKey&&i===0?(o.preventDefault(),s?.focus()):!o.shiftKey&&i===r.length-1&&this.closeDropdown(e,s,t);break;case"Escape":o.preventDefault(),this.closeDropdown(e,s,t),s?.focus();break;case"ArrowDown":i<r.length-1&&(o.preventDefault(),r[i+1].focus());break;case"ArrowUp":i>0?(o.preventDefault(),r[i-1].focus()):(o.preventDefault(),s?.focus());break;case"Home":o.preventDefault(),r[0].focus();break;case"End":o.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 nc(){new As}var qd=".w-nav",Fd=".button-wrapper",ks="is-pinned",Cs="w-variant-a4b72284-6321-8341-edca-223fdec43abe";var An=!1,di=!1,so=!1,Pr=null,rn=null;function Nd(){return window.innerWidth>991}function oc(){if(!Pr||!An){so=!1;return}let a=window.scrollY||window.pageYOffset;!di&&a>50?(Pr.classList.add(ks),rn&&rn.classList.remove(Cs),di=!0):di&&a<40&&(Pr.classList.remove(ks),rn&&rn.classList.add(Cs),di=!1),so=!1}function zd(){!so&&An&&(window.requestAnimationFrame(oc),so=!0)}function Bd(){Pr&&Pr.classList.remove(ks),rn&&rn.classList.add(Cs),di=!1}function ic(){let a=Nd();a&&!An?(An=!0,oc()):!a&&An&&(An=!1,Bd())}function Wd(a,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>a(...r),e)}}function sc(){if(Pr=document.querySelector(qd),!Pr)return;rn=Pr.querySelector(Fd),window.addEventListener("scroll",zd,{passive:!0});let a=Wd(ic,150);window.addEventListener("resize",a),ic()}var ac=async()=>{let a=document.querySelector("[data-lex-cms]"),e=document.querySelector("[data-lex-box]");if(!a||!e)return;let t=e.parentElement;if(!t)return;let r=Array.from(a.querySelectorAll(".lex-list-item")),n=a.querySelector(".w-pagination-next")?.getAttribute("href"),i=[];if(n){if(e.setAttribute("style","display: none !important;"),!document.getElementById("lex-skeleton-style")){let g=document.createElement("style");g.id="lex-skeleton-style",g.innerHTML=`
|
|
198
198
|
.lex-skeleton {
|
|
199
199
|
animation: lexPulse 1.5s ease-in-out infinite;
|
|
200
200
|
pointer-events: none;
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
50% { opacity: 1; }
|
|
225
225
|
100% { opacity: 0.6; }
|
|
226
226
|
}
|
|
227
|
-
`,document.head.appendChild(g)}for(let g=0;g<3;g++){let b=e.cloneNode(!0);b.classList.add("lex-skeleton"),b.removeAttribute("style");let _=b.querySelector("[data-lex-list-wrapper]");if(_){let v=_.querySelector(".lex-list-item");if(v){_.innerHTML="";for(let w=0;w<4;w++)_.appendChild(v.cloneNode(!0))}}t.appendChild(b),i.push(b)}}for(;n;)try{let g=await fetch(n);if(!g.ok)break;let b=await g.text(),w=new DOMParser().parseFromString(b,"text/html").querySelector("[data-lex-cms]");if(!w)break;let E=Array.from(w.querySelectorAll(".lex-list-item"));r=[...r,...E],n=w.querySelector(".w-pagination-next")?.getAttribute("href")}catch(g){console.error("Error fetching paginated lexicon items:",g);break}if(i.forEach(g=>g.remove()),e.removeAttribute("style"),r.length===0)return;let o=g=>g.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/ł/g,"l").replace(/Ł/g,"L").toUpperCase(),s=[{label:"A-B",letters:["A","B"]},{label:"C-D",letters:["C","D"]},{label:"E-F",letters:["E","F"]},{label:"G-H",letters:["G","H"]},{label:"I-J",letters:["I","J"]},{label:"K-L",letters:["K","L"]},{label:"M-N",letters:["M","N"]},{label:"O-P",letters:["O","P"]},{label:"Q-R",letters:["Q","R"]},{label:"S-T",letters:["S","T"]},{label:"U-V",letters:["U","V"]},{label:"W-X",letters:["W","X"]},{label:"Y-Z",letters:["Y","Z"]}],c=e.querySelector("[data-lex-list-wrapper]")?.firstElementChild;if(!c)return;let u=new Map;s.forEach(g=>{u.set(g.label,[])});let f="0-9";u.set(f,[]),r.forEach(g=>{let b=g.textContent?.trim()||"";if(!b)return;let _=o(b.charAt(0)),v=f;for(let L of s)if(L.letters.includes(_)){v=L.label;break}let E=(g.tagName==="A"?g:g.closest("a"))?.getAttribute("href")||"#";u.get(v)?.push({text:b,href:E})});let p=e.cloneNode(!0);e.remove(),u.forEach((g,b)=>{if(g.length===0)return;g.sort((E,L)=>{let T=E.text,A=L.text;return T.localeCompare(A,"pl")});let _=p.cloneNode(!0),v=_.querySelector(".lex-header"),w=_.querySelector("[data-lex-list-wrapper]");v&&(v.textContent=b),w&&(w.innerHTML="",g.forEach(E=>{let L=c.cloneNode(!0);if(L.textContent=E.text,L.tagName==="A")L.setAttribute("href",E.href);else{let T=L.querySelector("a");if(T)T.setAttribute("href",E.href);else{let A=L.closest("a");A&&A.setAttribute("href",E.href)}}w.appendChild(L)})),t.appendChild(_)});let d=document.querySelector("[data-search='lex']"),m=document.querySelector(".clearbox");function h(){m&&(m.style.display=d&&d.value.trim()!==""?"flex":"none")}d&&d.addEventListener("input",g=>{let _=g.target.value.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,""),v=t.querySelectorAll("[data-lex-box]"),w=!1;v.forEach(L=>{let T=!1;L.querySelectorAll(".lex-list-item").forEach(M=>{(M.textContent?.toLowerCase()||"").normalize("NFD").replace(/[\u0300-\u036f]/g,"").includes(_)?(M.style.display="",T=!0):M.style.display="none"}),T?(L.style.display="",w=!0):L.style.display="none"});let E=document.querySelector("[data-empty]");E&&(w?E.style.display="none":E.style.display="flex"),h()}),m&&m.addEventListener("click",()=>{d&&(d.value="",d.dispatchEvent(new Event("input",{bubbles:!0}))),h()}),h()};var Ps=class{constructor(e){U(this,"bigMenu");U(this,"tabsModule",null);U(this,"tablistContainer",null);U(this,"contentContainer",null);U(this,"tabMappings",[]);U(this,"isMobileLayout",!1);U(this,"originalButtonsWrapper",null);U(this,"accordionContainer",null);U(this,"dropdownToggle",null);U(this,"dropdownList",null);U(this,"navMobileHeader",null);U(this,"originalStructure",{buttonsWrapper:null,contentWrapper:null,buttonsParent:null,contentParent:null,buttonsNextSibling:null,contentNextSibling:null});U(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 o=i.querySelector(".icon-embed-xxsmall");o&&(o.style.transition="transform 0.3s ease",o.style.transform="rotate(-90deg)"),n.appendChild(i),r.appendChild(n);let s=document.createElement("div");s.className="mega-menu-accordion_content",s.setAttribute("data-accordion-content",""),s.style.display="none",s.style.overflow="hidden",s.style.maxHeight="0",s.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",s.appendChild(l),r.appendChild(s),n.addEventListener("click",c=>{c.preventDefault(),c.stopPropagation(),this.toggleAccordionItem(r,i,s)}),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 ac(){document.querySelectorAll("[data-big-menu]").forEach(e=>{new Ps(e)})}var Hs=class{constructor(e){U(this,"navOverlay");U(this,"navMenu",null);U(this,"isApplied",!1);U(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 lc(){let a=()=>{document.querySelectorAll(".w-nav-overlay").forEach(t=>{t.dataset.mobileScrollInit||(t.dataset.mobileScrollInit="true",new Hs(t))})};a(),setTimeout(a,500)}var Wd='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',cc=a=>Array.from(a.querySelectorAll(Wd)).filter(e=>e.offsetWidth>0||e.offsetHeight>0);function uc(){let a=null,e=()=>document.querySelector("[data-form-modal]"),t=i=>{if(i.key!=="Tab")return;let o=e();if(!o)return;let s=cc(o);if(i.preventDefault(),!s.length)return;let l=s.indexOf(document.activeElement);if(i.shiftKey){let c=l<=0?s.length-1:l-1;s[c].focus({preventScroll:!0})}else{let c=l>=s.length-1?0:l+1;s[c].focus({preventScroll:!0})}},r=()=>{let i=e();i&&(a=document.activeElement,i.classList.add("is-active"),requestAnimationFrame(()=>{let o=cc(i);o.length?o[0].focus({preventScroll:!0}):(i.setAttribute("tabindex","-1"),i.focus({preventScroll:!0}))}),document.addEventListener("keydown",t))},n=()=>{let i=e();i&&(i.classList.remove("is-active"),document.removeEventListener("keydown",t),a?.focus(),a=null)};document.addEventListener("click",i=>{let o=i.target;if(o.closest('[data-trigger="form"]')){r();return}if(o.closest("[data-close-modal]")){n();return}let s=o.closest("[data-form-modal]");s&&o===s&&n()}),document.addEventListener("keydown",i=>{i.key==="Escape"&&n()})}var Gd='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',dc=a=>Array.from(a.querySelectorAll(Gd)).filter(e=>e.offsetWidth>0||e.offsetHeight>0);function fc(){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");a.setAttribute("tabindex","-1");let n=null;gsap.set(a,{display:"none",opacity:0,zIndex:-1,pointerEvents:"none"}),gsap.set(r,{display:"none",opacity:0});let i=c=>{if(c.key!=="Tab")return;let u=dc(a);if(c.preventDefault(),!u.length)return;let f=u.indexOf(document.activeElement);if(c.shiftKey){let p=f<=0?u.length-1:f-1;u[p].focus({preventScroll:!0})}else{let p=f>=u.length-1?0:f+1;u[p].focus({preventScroll:!0})}},o=()=>{let c=dc(a);c.length?c[0].focus({preventScroll:!0}):a.focus({preventScroll:!0})},s=c=>{let u=null,f=document.getElementById(c);if(f&&a.contains(f)?u=f:u=a.querySelector(`[data-modal-target="${c}"]`),!u){console.error(`No content found for target: ${c}`);return}getComputedStyle(a).display!=="none"&&getComputedStyle(a).opacity!=="0"?(r.forEach(d=>{d!==u&&d.style.display!=="none"&&gsap.to(d,{opacity:0,duration:.2,onComplete:()=>{d.style.display="none"}})}),gsap.set(u,{display:"block",opacity:0,y:10}),gsap.to(u,{opacity:1,y:0,duration:.3,delay:.2,onComplete:o})):(n=document.activeElement,document.body.style.overflow="hidden",Xl(),r.forEach(m=>{m.style.display="none"}),gsap.set(u,{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",onComplete:o}),document.addEventListener("keydown",i))},l=()=>{document.removeEventListener("keydown",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="",Kl(),n?.focus(),n=null}})};e.forEach(c=>{c.addEventListener("click",u=>{u.preventDefault();let f=c.closest("[data-product-trigger]")?.getAttribute("data-product-trigger");f&&s(f)})}),t.forEach(c=>{c.addEventListener("click",u=>{u.preventDefault(),l()})}),document.addEventListener("keydown",c=>{c.key==="Escape"&&getComputedStyle(a).display!=="none"&&getComputedStyle(a).opacity!=="0"&&l()})}var fi=new Map,hc=991;function ao(){return window.innerWidth<=hc}function Vd(){let a="dock-custom-styles";if(document.getElementById(a))return;let e=document.createElement("style");e.id=a,e.innerHTML=`
|
|
227
|
+
`,document.head.appendChild(g)}for(let g=0;g<3;g++){let b=e.cloneNode(!0);b.classList.add("lex-skeleton"),b.removeAttribute("style");let _=b.querySelector("[data-lex-list-wrapper]");if(_){let w=_.querySelector(".lex-list-item");if(w){_.innerHTML="";for(let v=0;v<4;v++)_.appendChild(w.cloneNode(!0))}}t.appendChild(b),i.push(b)}}for(;n;)try{let g=await fetch(n);if(!g.ok)break;let b=await g.text(),v=new DOMParser().parseFromString(b,"text/html").querySelector("[data-lex-cms]");if(!v)break;let E=Array.from(v.querySelectorAll(".lex-list-item"));r=[...r,...E],n=v.querySelector(".w-pagination-next")?.getAttribute("href")}catch(g){console.error("Error fetching paginated lexicon items:",g);break}if(i.forEach(g=>g.remove()),e.removeAttribute("style"),r.length===0)return;let o=g=>g.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/ł/g,"l").replace(/Ł/g,"L").toUpperCase(),s=[{label:"A-B",letters:["A","B"]},{label:"C-D",letters:["C","D"]},{label:"E-F",letters:["E","F"]},{label:"G-H",letters:["G","H"]},{label:"I-J",letters:["I","J"]},{label:"K-L",letters:["K","L"]},{label:"M-N",letters:["M","N"]},{label:"O-P",letters:["O","P"]},{label:"Q-R",letters:["Q","R"]},{label:"S-T",letters:["S","T"]},{label:"U-V",letters:["U","V"]},{label:"W-X",letters:["W","X"]},{label:"Y-Z",letters:["Y","Z"]}],c=e.querySelector("[data-lex-list-wrapper]")?.firstElementChild;if(!c)return;let u=new Map;s.forEach(g=>{u.set(g.label,[])});let f="0-9";u.set(f,[]),r.forEach(g=>{let b=g.textContent?.trim()||"";if(!b)return;let _=o(b.charAt(0)),w=f;for(let S of s)if(S.letters.includes(_)){w=S.label;break}let E=(g.tagName==="A"?g:g.closest("a"))?.getAttribute("href")||"#";u.get(w)?.push({text:b,href:E})});let p=e.cloneNode(!0);e.remove(),u.forEach((g,b)=>{if(g.length===0)return;g.sort((E,S)=>{let T=E.text,k=S.text;return T.localeCompare(k,"pl")});let _=p.cloneNode(!0),w=_.querySelector(".lex-header"),v=_.querySelector("[data-lex-list-wrapper]");w&&(w.textContent=b),v&&(v.innerHTML="",g.forEach(E=>{let S=c.cloneNode(!0);if(S.textContent=E.text,S.tagName==="A")S.setAttribute("href",E.href);else{let T=S.querySelector("a");if(T)T.setAttribute("href",E.href);else{let k=S.closest("a");k&&k.setAttribute("href",E.href)}}v.appendChild(S)})),t.appendChild(_)});let d=document.querySelector("[data-search='lex']"),m=document.querySelector(".clearbox");function h(){m&&(m.style.display=d&&d.value.trim()!==""?"flex":"none")}d&&d.addEventListener("input",g=>{let _=g.target.value.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,""),w=t.querySelectorAll("[data-lex-box]"),v=!1;w.forEach(S=>{let T=!1;S.querySelectorAll(".lex-list-item").forEach(M=>{(M.textContent?.toLowerCase()||"").normalize("NFD").replace(/[\u0300-\u036f]/g,"").includes(_)?(M.style.display="",T=!0):M.style.display="none"}),T?(S.style.display="",v=!0):S.style.display="none"});let E=document.querySelector("[data-empty]");E&&(v?E.style.display="none":E.style.display="flex"),h()}),m&&m.addEventListener("click",()=>{d&&(d.value="",d.dispatchEvent(new Event("input",{bubbles:!0}))),h()}),h()};var Ps=class{constructor(e){U(this,"bigMenu");U(this,"tabsModule",null);U(this,"tablistContainer",null);U(this,"contentContainer",null);U(this,"tabMappings",[]);U(this,"isMobileLayout",!1);U(this,"originalButtonsWrapper",null);U(this,"accordionContainer",null);U(this,"dropdownToggle",null);U(this,"dropdownList",null);U(this,"navMobileHeader",null);U(this,"originalStructure",{buttonsWrapper:null,contentWrapper:null,buttonsParent:null,contentParent:null,buttonsNextSibling:null,contentNextSibling:null});U(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"),i.querySelectorAll(".icon-embed-xxsmall, .dropdown_icon.is-nav").forEach(l=>{l.style.transition="transform 0.3s ease",l.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 s=t.cloneNode(!0);s.classList.add("mega-menu-accordion_panel"),s.removeAttribute("hidden"),s.removeAttribute("style"),s.style.backgroundColor="transparent",o.appendChild(s),r.appendChild(o),n.addEventListener("click",l=>{l.preventDefault(),l.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"),t.querySelectorAll(".icon-embed-xxsmall, .dropdown_icon.is-nav").forEach(i=>{i.style.transform="rotate(-90deg)"}),r.style.display="block";let{scrollHeight:n}=r;r.style.maxHeight=`${n}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"),t.querySelectorAll(".icon-embed-xxsmall, .dropdown_icon.is-nav").forEach(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 lc(){document.querySelectorAll("[data-big-menu]").forEach(e=>{new Ps(e)})}var Hs=class{constructor(e){U(this,"navOverlay");U(this,"navMenu",null);U(this,"isApplied",!1);U(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 cc(){let a=()=>{document.querySelectorAll(".w-nav-overlay").forEach(t=>{t.dataset.mobileScrollInit||(t.dataset.mobileScrollInit="true",new Hs(t))})};a(),setTimeout(a,500)}var Gd='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',uc=a=>Array.from(a.querySelectorAll(Gd)).filter(e=>e.offsetWidth>0||e.offsetHeight>0);function dc(){let a=null,e=()=>document.querySelector("[data-form-modal]"),t=i=>{if(i.key!=="Tab")return;let o=e();if(!o)return;let s=uc(o);if(i.preventDefault(),!s.length)return;let l=s.indexOf(document.activeElement);if(i.shiftKey){let c=l<=0?s.length-1:l-1;s[c].focus({preventScroll:!0})}else{let c=l>=s.length-1?0:l+1;s[c].focus({preventScroll:!0})}},r=()=>{let i=e();i&&(a=document.activeElement,i.classList.add("is-active"),requestAnimationFrame(()=>{let o=uc(i);o.length?o[0].focus({preventScroll:!0}):(i.setAttribute("tabindex","-1"),i.focus({preventScroll:!0}))}),document.addEventListener("keydown",t))},n=()=>{let i=e();i&&(i.classList.remove("is-active"),document.removeEventListener("keydown",t),a?.focus(),a=null)};document.addEventListener("click",i=>{let o=i.target;if(o.closest('[data-trigger="form"]')){r();return}if(o.closest("[data-close-modal]")){n();return}let s=o.closest("[data-form-modal]");s&&o===s&&n()}),document.addEventListener("keydown",i=>{i.key==="Escape"&&n()})}var Vd='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',fc=a=>Array.from(a.querySelectorAll(Vd)).filter(e=>e.offsetWidth>0||e.offsetHeight>0);function pc(){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");a.setAttribute("tabindex","-1");let n=null;gsap.set(a,{display:"none",opacity:0,zIndex:-1,pointerEvents:"none"}),gsap.set(r,{display:"none",opacity:0});let i=c=>{if(c.key!=="Tab")return;let u=fc(a);if(c.preventDefault(),!u.length)return;let f=u.indexOf(document.activeElement);if(c.shiftKey){let p=f<=0?u.length-1:f-1;u[p].focus({preventScroll:!0})}else{let p=f>=u.length-1?0:f+1;u[p].focus({preventScroll:!0})}},o=()=>{let c=fc(a);c.length?c[0].focus({preventScroll:!0}):a.focus({preventScroll:!0})},s=c=>{let u=null,f=document.getElementById(c);if(f&&a.contains(f)?u=f:u=a.querySelector(`[data-modal-target="${c}"]`),!u){console.error(`No content found for target: ${c}`);return}getComputedStyle(a).display!=="none"&&getComputedStyle(a).opacity!=="0"?(r.forEach(d=>{d!==u&&d.style.display!=="none"&&gsap.to(d,{opacity:0,duration:.2,onComplete:()=>{d.style.display="none"}})}),gsap.set(u,{display:"block",opacity:0,y:10}),gsap.to(u,{opacity:1,y:0,duration:.3,delay:.2,onComplete:o})):(n=document.activeElement,document.body.style.overflow="hidden",Kl(),r.forEach(m=>{m.style.display="none"}),gsap.set(u,{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",onComplete:o}),document.addEventListener("keydown",i))},l=()=>{document.removeEventListener("keydown",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="",$l(),n?.focus(),n=null}})};e.forEach(c=>{c.addEventListener("click",u=>{u.preventDefault();let f=c.closest("[data-product-trigger]")?.getAttribute("data-product-trigger");f&&s(f)})}),t.forEach(c=>{c.addEventListener("click",u=>{u.preventDefault(),l()})}),document.addEventListener("keydown",c=>{c.key==="Escape"&&getComputedStyle(a).display!=="none"&&getComputedStyle(a).opacity!=="0"&&l()})}var fi=new Map,mc=991;function ao(){return window.innerWidth<=mc}function Yd(){let a="dock-custom-styles";if(document.getElementById(a))return;let e=document.createElement("style");e.id=a,e.innerHTML=`
|
|
228
228
|
/* Base Tooltip Styles (Desktop) */
|
|
229
229
|
[data-slider-dock] .nav-item__tooltip {
|
|
230
230
|
font-size: 10px !important;
|
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
padding: 0 12px !important;
|
|
238
238
|
}
|
|
239
239
|
|
|
240
|
-
@media screen and (max-width: ${
|
|
240
|
+
@media screen and (max-width: ${mc}px) {
|
|
241
241
|
/* Mobile Tooltip Styles */
|
|
242
242
|
[data-slider-dock] .nav-item__tooltip {
|
|
243
243
|
font-size: 10px !important;
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
flex-shrink: 0 !important;
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
|
-
`,document.head.appendChild(e)}function Os(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,o=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})):o?(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 Yd(a){if(fi.has(a))return;a.querySelectorAll(".nav-item").forEach(s=>{s.classList.remove("hover"),s.style.width="";let l=s.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"),o=a.querySelector(".swiper-arrow.is-prev");!i&&n&&(i=n.querySelector(".swiper-arrow.is-next")),!o&&n&&(o=n.querySelector(".swiper-arrow.is-prev")),a.style.width="100%",a.style.overflow="hidden",requestAnimationFrame(()=>{setTimeout(()=>{if(fi.has(a))return;let s={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:o},on:{init:c=>{Os(c),setTimeout(()=>c.update(),100)},slideChange:c=>Os(c),transitionEnd:c=>Os(c)}},l=new Swiper(a,s);fi.set(a,l)},50)})}function Ud(a){let e=fi.get(a);e&&(e.destroy(!0,!0),fi.delete(a))}function mc(){return Array.from(document.querySelectorAll("[data-slider-dock]"))}function pc(){let a=mc(),e=ao();a.forEach(t=>{e?Yd(t):Ud(t)})}function Xd(a,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>a(...r),e)}}function Kd(){document.querySelectorAll("[data-slider-dock]").forEach(e=>{let t=Array.from(e.querySelectorAll(".nav-item"));if(t.length===0)return;let r=o=>{t.forEach((s,l)=>{let c=s.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===o?(c.style.transform="scale(2)",s.style.zIndex="100"):l===o-1||l===o+1?(c.style.transform="scale(1.25)",s.style.zIndex="50"):(c.style.transform="scale(1)",s.style.zIndex="1"))})},n=()=>{t.forEach(o=>{let s=o.querySelector(".nav-item__link");s&&(s.style.transform="scale(1)"),o.style.zIndex="",o.classList.remove("hover");let l=o.querySelector(".nav-item__tooltip");l&&gsap.to(l,{opacity:0,y:0,duration:.2,overwrite:!0})})};t.forEach((o,s)=>{o.style.position="relative";let l=o.querySelector(".nav-item__link");l&&(l.style.position="relative",l.style.zIndex="2");let c=o.querySelector(".nav-item__tooltip");c&&gsap.set(c,{position:"absolute",bottom:"100%",left:"50%",xPercent:-50,marginBottom:"-20px",opacity:0,pointerEvents:"none",display:"block"}),o.addEventListener("mouseenter",()=>{ao()||(r(s),o.classList.add("hover"),c&&gsap.to(c,{opacity:1,y:-55,duration:.3,ease:"power2.out",overwrite:!0}))}),o.addEventListener("mouseleave",()=>{ao()||c&&gsap.to(c,{opacity:0,y:0,duration:.2,overwrite:!0})})}),(e.querySelector(".nav-list")||e).addEventListener("mouseleave",()=>{ao()||n()})})}function gc(){if(typeof Swiper>"u"||mc().length===0)return;Vd(),pc();let e=Xd(pc,150);window.addEventListener("resize",e),Kd()}var pi=new Map,Ds=new Map,$d=991;function jd(){return window.innerWidth<=$d}function _c(a,e){let t=a.slides.length,n=((a.realIndex!==void 0?a.realIndex:a.activeIndex)+1)/t*100;e.style.width=n+"%",e.style.transition="width 0.3s ease"}function Qd(a){if(pi.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,o=a.querySelector(".swiper-arrow.is-next"),s=a.querySelector(".swiper-arrow.is-prev");!o&&i&&(o=i.querySelector(".swiper-arrow.is-next")),!s&&i&&(s=i.querySelector(".swiper-arrow.is-prev"));let l=a.querySelector(".swiper-progress-track"),c=a.querySelector(".swiper-progress-thumb");!l&&i&&(l=i.querySelector(".swiper-progress-track")),!c&&i&&(c=i.querySelector(".swiper-progress-thumb"));let u=a.querySelectorAll(".swiper-slide"),f=a.querySelector(".swiper-wrapper"),p=new Map;if(f){let v=f.style.cssText,w=document.createElement("div");w.style.cssText=v,p.set(f,w.style),f.style.display="flex",f.style.flexDirection="row",f.style.gap="0",f.style.gridGap="0"}u.forEach(v=>{let w=v.style.cssText,E=document.createElement("div");E.style.cssText=w,p.set(v,E.style),v.style.width="",v.style.minWidth="0",v.style.maxWidth="none",v.style.flexBasis="auto",v.style.flexShrink="0",v.style.boxSizing="border-box",v.style.display="block"}),Ds.set(a,p);let d=a.getAttribute("data-tablet-slides"),m=d?parseFloat(d):t,h=a.getAttribute("data-desktop-slides"),g=h?parseFloat(h):4,b={slidesPerView:t,spaceBetween:n,loop:!1,freeMode:!1,watchOverflow:!0,breakpoints:{768:{slidesPerView:m,spaceBetween:n},992:{slidesPerView:g,spaceBetween:0}},navigation:{nextEl:o,prevEl:s},on:{init:function(){c&&_c(this,c)},slideChange:function(){c&&_c(this,c)}}},_=new Swiper(a,b);pi.set(a,_),l&&(l.hasAttribute("data-progress-listener")||(l.addEventListener("click",function(v){let w=pi.get(a);if(!w)return;let E=v,L=l.getBoundingClientRect(),T=E.clientX-L.left,A=L.width,M=T/A,x=w.slides.length,P=Math.floor(M*x);w.slideTo(P)}),l.setAttribute("data-progress-listener","true")))}function Zd(a){let e=pi.get(a);if(e){e.destroy(!0,!0),pi.delete(a);let t=Ds.get(a);t&&(t.forEach((r,n)=>{n.style.cssText=r.cssText}),Ds.delete(a))}}function vc(){return Array.from(document.querySelectorAll("[data-slider-mobile]"))}function yc(){let a=vc(),e=jd();a.forEach(t=>{let r=e;if(!e){let n=t.querySelector(".swiper-wrapper");n&&n.children.length>4&&(r=!0)}r?Qd(t):Zd(t)})}function Jd(a,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>a(...r),e)}}function bc(){if(typeof Swiper>"u"||vc().length===0)return;yc();let e=Jd(yc,150);window.addEventListener("resize",e)}function Ec(){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,o=t.querySelector(".swiper-arrow.is-next"),s=t.querySelector(".swiper-arrow.is-prev");!o&&i&&(o=i.querySelector(".swiper-arrow.is-next")),!s&&i&&(s=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:o,prevEl:s},breakpoints:{992:{slidesPerView:1,centeredSlides:!0}},on:{init:function(){setTimeout(()=>{hi(this),c&&wc(this,c)},50)},slideChange:function(){hi(this),c&&wc(this,c)},slideChangeTransitionStart:function(){hi(this)},slideChangeTransitionEnd:function(){hi(this)},transitionEnd:function(){hi(this)}}},f=new Swiper(t,u);if(l){let p=document.createElement("div");Object.assign(p.style,{position:"absolute",inset:"-12px 0",cursor:"pointer",zIndex:"1"}),l.style.position="relative",l.appendChild(p);let d=h=>{let g=l.getBoundingClientRect(),b=Math.max(0,Math.min(1,(h-g.left)/g.width)),_=f.slides.length;f.slideTo(Math.min(Math.floor(b*_),_-1))},m=!1;p.addEventListener("mousedown",h=>{m=!0,d(h.clientX)}),document.addEventListener("mousemove",h=>{m&&d(h.clientX)}),document.addEventListener("mouseup",()=>{m=!1}),p.addEventListener("touchstart",h=>{d(h.touches[0].clientX)},{passive:!0}),p.addEventListener("touchmove",h=>{d(h.touches[0].clientX)},{passive:!0})}})}function hi(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 wc(a,e){let t=a.slides.length,n=(a.realIndex+1)/t*100;e.style.width=n+"%"}var xc="is-mobile-tabs",Is="mobile-tabs-wrapper",Rs=class{constructor(e){U(this,"container");U(this,"menu");U(this,"content");U(this,"tabPairs",[]);U(this,"isMobileLayout",!1);U(this,"originalContentParent",null);U(this,"handleResize",()=>{let e=window.innerWidth<=991;e&&!this.isMobileLayout?this.applyMobileLayout():!e&&this.isMobileLayout&&this.restoreDesktopLayout()});U(this,"preventWebflowClick",e=>{e.stopImmediatePropagation()});U(this,"handleMobileTabClick",e=>{let r=e.currentTarget.getAttribute("data-w-tab")?.trim();this.tabPairs.forEach(({pill:n,tabName:i})=>{let o=n.nextElementSibling;if(!o||!o.classList.contains(Is))return;let s=o.firstElementChild;s&&(i===r?(s.removeAttribute("hidden"),s.style.display="",o.classList.add("is-open")):(s.setAttribute("hidden","true"),s.style.display="none",o.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(o=>o.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(xc),this.content.style.display="none",this.tabPairs.forEach(({pill:e,pane:t},r)=>{let n=document.createElement("div");n.className=Is,n.appendChild(t),r===this.tabPairs.length-1?(t.removeAttribute("hidden"),t.style.display="",n.classList.add("is-open")):(t.setAttribute("hidden","true"),t.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(xc),this.tabPairs.forEach(({pill:t,pane:r})=>{t.removeEventListener("click",this.handleMobileTabClick),t.removeEventListener("click",this.preventWebflowClick,{capture:!0}),t.style.pointerEvents="",r.removeAttribute("hidden"),r.style.display="",this.content.appendChild(r)}),this.menu.querySelectorAll(`.${Is}`).forEach(t=>t.remove()),this.content.style.display=""}destroy(){this.restoreDesktopLayout(),window.removeEventListener("resize",this.handleResize)}};function Tc(){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 Rs(t)}})}var lo=class{constructor(e){U(this,"tablistNode");U(this,"tabs",[]);U(this,"firstTab",null);U(this,"lastTab",null);U(this,"tabpanels",[]);U(this,"pendingTimeouts",[]);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 o=document.getElementById(i);n.tabIndex=n.getAttribute("aria-selected")==="true"?0:-1,o&&(o.setAttribute("role","tabpanel"),o.setAttribute("aria-labelledby",n.id),o.removeAttribute("tabindex"),this.tabpanels.push(o)),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))}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.minHeight="";return}let r=t.querySelectorAll(":scope > *");if(r.length===0)return;let n=0;r.forEach(i=>{let o=i,s=o.hasAttribute("hidden");s&&(o.style.visibility="hidden",o.style.display="block",o.style.position="absolute",o.removeAttribute("hidden")),n=Math.max(n,o.offsetHeight),s&&(o.setAttribute("hidden","true"),o.style.display="",o.style.position="",o.style.visibility="")}),t.style.minHeight=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){this.pendingTimeouts.forEach(s=>clearTimeout(s)),this.pendingTimeouts=[];let n=this.tablistNode.closest(".tabs_component")!==null;this.tabs.forEach(s=>{if(e===s)return;let l=s.getAttribute("aria-controls"),c=l?document.getElementById(l):null;s.setAttribute("aria-selected","false"),s.tabIndex=-1,s.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"),o=i?document.getElementById(i):null;e.setAttribute("aria-selected","true"),e.tabIndex=0,e.classList.add("is-active-tab"),o&&(o.classList.add("is-active-tab"),o.removeAttribute("hidden"),n?(o.style.opacity="0",o.style.transition="opacity 0.2s ease-in-out",o.offsetWidth,this.pendingTimeouts.push(window.setTimeout(()=>{o.style.opacity="1"},10)),this.pendingTimeouts.push(window.setTimeout(()=>{o.removeAttribute("style")},250))):o.removeAttribute("style")),t&&e.focus({preventScroll:!0})}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 Sc(){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 lo(r)}}),document.querySelectorAll('[role="tablist"]').forEach(t=>{t instanceof HTMLElement&&!t.closest('[data-module="tabs"]')&&new lo(t)})}function Lc(){let e=document.querySelectorAll(".tabs_component-menu");if(e.length===0)return;let t=new Map;e.forEach(n=>{n.querySelectorAll("a[data-w-tab]").forEach(o=>{t.set(o,o.getAttribute("href")||"")})});function r(){let n=window.innerWidth<=991;t.forEach((i,o)=>{if(n){let s=o.getAttribute("data-w-tab");s&&o.setAttribute("href",`/branze/${s}`)}else o.setAttribute("href",i)})}r(),window.addEventListener("resize",r)}window.Webflow||(window.Webflow=[]);window.Webflow.push(()=>{Ns(),Ul(),Sc(),Lc(),Tc(),rc(),oc(),ac(),lc(),Ql(),Zl(),uc(),fc(),Ec(),bc(),gc(),jl(),Gl(),Jl(),$l(),Bl(),Wl(),zs(),Bs(),Fs(),zl(),Nl(),Vl(),Yl(),ec(),tc(),sc()});})();
|
|
275
|
+
`,document.head.appendChild(e)}function Os(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,o=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})):o?(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 Ud(a){if(fi.has(a))return;a.querySelectorAll(".nav-item").forEach(s=>{s.classList.remove("hover"),s.style.width="";let l=s.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"),o=a.querySelector(".swiper-arrow.is-prev");!i&&n&&(i=n.querySelector(".swiper-arrow.is-next")),!o&&n&&(o=n.querySelector(".swiper-arrow.is-prev")),a.style.width="100%",a.style.overflow="hidden",requestAnimationFrame(()=>{setTimeout(()=>{if(fi.has(a))return;let s={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:o},on:{init:c=>{Os(c),setTimeout(()=>c.update(),100)},slideChange:c=>Os(c),transitionEnd:c=>Os(c)}},l=new Swiper(a,s);fi.set(a,l)},50)})}function Xd(a){let e=fi.get(a);e&&(e.destroy(!0,!0),fi.delete(a))}function gc(){return Array.from(document.querySelectorAll("[data-slider-dock]"))}function hc(){let a=gc(),e=ao();a.forEach(t=>{e?Ud(t):Xd(t)})}function Kd(a,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>a(...r),e)}}function $d(){document.querySelectorAll("[data-slider-dock]").forEach(e=>{let t=Array.from(e.querySelectorAll(".nav-item"));if(t.length===0)return;let r=o=>{t.forEach((s,l)=>{let c=s.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===o?(c.style.transform="scale(2)",s.style.zIndex="100"):l===o-1||l===o+1?(c.style.transform="scale(1.25)",s.style.zIndex="50"):(c.style.transform="scale(1)",s.style.zIndex="1"))})},n=()=>{t.forEach(o=>{let s=o.querySelector(".nav-item__link");s&&(s.style.transform="scale(1)"),o.style.zIndex="",o.classList.remove("hover");let l=o.querySelector(".nav-item__tooltip");l&&gsap.to(l,{opacity:0,y:0,duration:.2,overwrite:!0})})};t.forEach((o,s)=>{o.style.position="relative";let l=o.querySelector(".nav-item__link");l&&(l.style.position="relative",l.style.zIndex="2");let c=o.querySelector(".nav-item__tooltip");c&&gsap.set(c,{position:"absolute",bottom:"100%",left:"50%",xPercent:-50,marginBottom:"-20px",opacity:0,pointerEvents:"none",display:"block"}),o.addEventListener("mouseenter",()=>{ao()||(r(s),o.classList.add("hover"),c&&gsap.to(c,{opacity:1,y:-55,duration:.3,ease:"power2.out",overwrite:!0}))}),o.addEventListener("mouseleave",()=>{ao()||c&&gsap.to(c,{opacity:0,y:0,duration:.2,overwrite:!0})})}),(e.querySelector(".nav-list")||e).addEventListener("mouseleave",()=>{ao()||n()})})}function _c(){if(typeof Swiper>"u"||gc().length===0)return;Yd(),hc();let e=Kd(hc,150);window.addEventListener("resize",e),$d()}var pi=new Map,Ds=new Map,jd=991;function Qd(){return window.innerWidth<=jd}function yc(a,e){let t=a.slides.length,n=((a.realIndex!==void 0?a.realIndex:a.activeIndex)+1)/t*100;e.style.width=n+"%",e.style.transition="width 0.3s ease"}function Zd(a){if(pi.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,o=a.querySelector(".swiper-arrow.is-next"),s=a.querySelector(".swiper-arrow.is-prev");!o&&i&&(o=i.querySelector(".swiper-arrow.is-next")),!s&&i&&(s=i.querySelector(".swiper-arrow.is-prev"));let l=a.querySelector(".swiper-progress-track"),c=a.querySelector(".swiper-progress-thumb");!l&&i&&(l=i.querySelector(".swiper-progress-track")),!c&&i&&(c=i.querySelector(".swiper-progress-thumb"));let u=a.querySelectorAll(".swiper-slide"),f=a.querySelector(".swiper-wrapper"),p=new Map;if(f){let w=f.style.cssText,v=document.createElement("div");v.style.cssText=w,p.set(f,v.style),f.style.display="flex",f.style.flexDirection="row",f.style.gap="0",f.style.gridGap="0"}u.forEach(w=>{let v=w.style.cssText,E=document.createElement("div");E.style.cssText=v,p.set(w,E.style),w.style.width="",w.style.minWidth="0",w.style.maxWidth="none",w.style.flexBasis="auto",w.style.flexShrink="0",w.style.boxSizing="border-box",w.style.display="block"}),Ds.set(a,p);let d=a.getAttribute("data-tablet-slides"),m=d?parseFloat(d):t,h=a.getAttribute("data-desktop-slides"),g=h?parseFloat(h):4,b={slidesPerView:t,spaceBetween:n,loop:!1,freeMode:!1,watchOverflow:!0,breakpoints:{768:{slidesPerView:m,spaceBetween:n},992:{slidesPerView:g,spaceBetween:0}},navigation:{nextEl:o,prevEl:s},on:{init:function(){c&&yc(this,c)},slideChange:function(){c&&yc(this,c)}}},_=new Swiper(a,b);pi.set(a,_),l&&(l.hasAttribute("data-progress-listener")||(l.addEventListener("click",function(w){let v=pi.get(a);if(!v)return;let E=w,S=l.getBoundingClientRect(),T=E.clientX-S.left,k=S.width,M=T/k,x=v.slides.length,P=Math.floor(M*x);v.slideTo(P)}),l.setAttribute("data-progress-listener","true")))}function Jd(a){let e=pi.get(a);if(e){e.destroy(!0,!0),pi.delete(a);let t=Ds.get(a);t&&(t.forEach((r,n)=>{n.style.cssText=r.cssText}),Ds.delete(a))}}function bc(){return Array.from(document.querySelectorAll("[data-slider-mobile]"))}function vc(){let a=bc(),e=Qd();a.forEach(t=>{let r=e;if(!e){let n=t.querySelector(".swiper-wrapper");n&&n.children.length>4&&(r=!0)}r?Zd(t):Jd(t)})}function ef(a,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>a(...r),e)}}function wc(){if(typeof Swiper>"u"||bc().length===0)return;vc();let e=ef(vc,150);window.addEventListener("resize",e)}function xc(){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.querySelector('[fs-list-element="item-link"]')!==null,o=t.parentElement,s=t.querySelector(".swiper-arrow.is-next"),l=t.querySelector(".swiper-arrow.is-prev");!s&&o&&(s=o.querySelector(".swiper-arrow.is-next")),!l&&o&&(l=o.querySelector(".swiper-arrow.is-prev"));let c=t.querySelector(".swiper-progress-track"),u=t.querySelector(".swiper-progress-thumb");!c&&o&&(c=o.querySelector(".swiper-progress-track")),!u&&o&&(u=o.querySelector(".swiper-progress-thumb"));let f={slidesPerView:n,spaceBetween:0,loop:!1,centeredSlides:!0,navigation:{nextEl:s,prevEl:l},breakpoints:{...i?{768:{slidesPerView:1.5,centeredSlides:!0}}:{},992:{slidesPerView:1,centeredSlides:!0}},on:{init:function(){setTimeout(()=>{hi(this),u&&Ec(this,u)},50)},slideChange:function(){hi(this),u&&Ec(this,u)},slideChangeTransitionStart:function(){hi(this)},slideChangeTransitionEnd:function(){hi(this)},transitionEnd:function(){hi(this)}}},p=new Swiper(t,f);if(c){let d=document.createElement("div");Object.assign(d.style,{position:"absolute",inset:"-12px 0",cursor:"pointer",zIndex:"1"}),c.style.position="relative",c.appendChild(d);let m=g=>{let b=c.getBoundingClientRect(),_=Math.max(0,Math.min(1,(g-b.left)/b.width)),w=p.slides.length;p.slideTo(Math.min(Math.floor(_*w),w-1))},h=!1;d.addEventListener("mousedown",g=>{h=!0,m(g.clientX)}),document.addEventListener("mousemove",g=>{h&&m(g.clientX)}),document.addEventListener("mouseup",()=>{h=!1}),d.addEventListener("touchstart",g=>{m(g.touches[0].clientX)},{passive:!0}),d.addEventListener("touchmove",g=>{m(g.touches[0].clientX)},{passive:!0})}})}function hi(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 Ec(a,e){let t=a.slides.length,n=(a.realIndex+1)/t*100;e.style.width=n+"%"}var Tc="is-mobile-tabs",Is="mobile-tabs-wrapper",Rs=class{constructor(e){U(this,"container");U(this,"menu");U(this,"content");U(this,"tabPairs",[]);U(this,"isMobileLayout",!1);U(this,"originalContentParent",null);U(this,"handleResize",()=>{let e=window.innerWidth<=991;e&&!this.isMobileLayout?this.applyMobileLayout():!e&&this.isMobileLayout&&this.restoreDesktopLayout()});U(this,"preventWebflowClick",e=>{e.stopImmediatePropagation()});U(this,"handleMobileTabClick",e=>{let r=e.currentTarget.getAttribute("data-w-tab")?.trim();this.tabPairs.forEach(({pill:n,tabName:i})=>{let o=n.nextElementSibling;if(!o||!o.classList.contains(Is))return;let s=o.firstElementChild;s&&(i===r?(s.removeAttribute("hidden"),s.style.display="",o.classList.add("is-open")):(s.setAttribute("hidden","true"),s.style.display="none",o.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(o=>o.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(Tc),this.content.style.display="none",this.tabPairs.forEach(({pill:e,pane:t},r)=>{let n=document.createElement("div");n.className=Is,n.appendChild(t),r===this.tabPairs.length-1?(t.removeAttribute("hidden"),t.style.display="",n.classList.add("is-open")):(t.setAttribute("hidden","true"),t.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(Tc),this.tabPairs.forEach(({pill:t,pane:r})=>{t.removeEventListener("click",this.handleMobileTabClick),t.removeEventListener("click",this.preventWebflowClick,{capture:!0}),t.style.pointerEvents="",r.removeAttribute("hidden"),r.style.display="",this.content.appendChild(r)}),this.menu.querySelectorAll(`.${Is}`).forEach(t=>t.remove()),this.content.style.display=""}destroy(){this.restoreDesktopLayout(),window.removeEventListener("resize",this.handleResize)}};function Sc(){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 Rs(t)}})}var lo=class{constructor(e){U(this,"tablistNode");U(this,"tabs",[]);U(this,"firstTab",null);U(this,"lastTab",null);U(this,"tabpanels",[]);U(this,"pendingTimeouts",[]);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 o=document.getElementById(i);n.tabIndex=n.getAttribute("aria-selected")==="true"?0:-1,o&&(o.setAttribute("role","tabpanel"),o.setAttribute("aria-labelledby",n.id),o.removeAttribute("tabindex"),this.tabpanels.push(o)),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))}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.minHeight="";return}let r=t.querySelectorAll(":scope > *");if(r.length===0)return;let n=0;r.forEach(i=>{let o=i,s=o.hasAttribute("hidden");s&&(o.style.visibility="hidden",o.style.display="block",o.style.position="absolute",o.removeAttribute("hidden")),n=Math.max(n,o.offsetHeight),s&&(o.setAttribute("hidden","true"),o.style.display="",o.style.position="",o.style.visibility="")}),t.style.minHeight=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){this.pendingTimeouts.forEach(s=>clearTimeout(s)),this.pendingTimeouts=[];let n=this.tablistNode.closest(".tabs_component")!==null;this.tabs.forEach(s=>{if(e===s)return;let l=s.getAttribute("aria-controls"),c=l?document.getElementById(l):null;s.setAttribute("aria-selected","false"),s.tabIndex=-1,s.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"),o=i?document.getElementById(i):null;e.setAttribute("aria-selected","true"),e.tabIndex=0,e.classList.add("is-active-tab"),o&&(o.classList.add("is-active-tab"),o.removeAttribute("hidden"),n?(o.style.opacity="0",o.style.transition="opacity 0.2s ease-in-out",o.offsetWidth,this.pendingTimeouts.push(window.setTimeout(()=>{o.style.opacity="1"},10)),this.pendingTimeouts.push(window.setTimeout(()=>{o.removeAttribute("style")},250))):o.removeAttribute("style")),t&&e.focus({preventScroll:!0})}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 Lc(){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 lo(r)}}),document.querySelectorAll('[role="tablist"]').forEach(t=>{t instanceof HTMLElement&&!t.closest('[data-module="tabs"]')&&new lo(t)})}function Mc(){let e=document.querySelectorAll(".tabs_component-menu");if(e.length===0)return;let t=new Map;e.forEach(n=>{n.querySelectorAll("a[data-w-tab]").forEach(o=>{t.set(o,o.getAttribute("href")||"")})});function r(){let n=window.innerWidth<=991;t.forEach((i,o)=>{if(n){let s=o.getAttribute("data-w-tab");s&&o.setAttribute("href",`/branze/${s}`)}else o.setAttribute("href",i)})}r(),window.addEventListener("resize",r)}window.Webflow||(window.Webflow=[]);window.Webflow.push(()=>{Ns(),Xl(),Lc(),Mc(),Sc(),nc(),sc(),lc(),cc(),Zl(),Jl(),dc(),pc(),xc(),wc(),_c(),Ql(),Vl(),ec(),jl(),Wl(),Gl(),zs(),Ws(),Fs(),Bl(),zl(),Yl(),Ul(),tc(),rc(),ac()});})();
|
|
276
276
|
/*! Bundled license information:
|
|
277
277
|
|
|
278
278
|
gsap/gsap-core.js:
|