anegis-webflow-new 6.0.3 → 6.1.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 CHANGED
@@ -1,4 +1,4 @@
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=`
1
+ "use strict";(()=>{var Kc=Object.defineProperty;var $c=(o,e,t)=>e in o?Kc(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var $=(o,e,t)=>$c(o,typeof e!="symbol"?e+"":e,t);function Ko(){let o=document.querySelector("[data-challenge-list]"),e=document.querySelector("[data-heading-card]"),t=document.querySelector("[data-cta-card]");o&&e&&o.insertAdjacentElement("afterbegin",e),o&&t&&o.insertAdjacentElement("beforeend",t)}var $o=()=>{};function gs(o){let e=o.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 jc=[.224,.478,.463],Qc=[.106,.275,.435],Zc=[.047,.047,.047],jo=()=>{let o=document.querySelectorAll("[data-blob-main]");o.length!==0&&o.forEach(e=>{let t=e;t.innerHTML="";let r=t.getAttribute("data-color-1"),n=t.getAttribute("data-color-2"),i=t.getAttribute("data-color-3"),s=t.getAttribute("data-blur")||"1.2rem",a=r&&gs(r)||jc,l=n&&gs(n)||Qc,c=i&&gs(i)||Zc,u=document.createElement("canvas");u.style.cssText=`position:absolute;inset:0;width:100%;height:100%;filter:blur(${s});`,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 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)&&gt.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&&lt(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&&lt(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?`
103
+ `;function g(B,K,te){let V=B.createShader(K);return V?(B.shaderSource(V,te),B.compileShader(V),B.getShaderParameter(V,B.COMPILE_STATUS)?V:(console.error("Shader compile error:",B.getShaderInfoLog(V)),B.deleteShader(V),null)):null}let E=g(d,d.VERTEX_SHADER,m),v=g(d,d.FRAGMENT_SHADER,h);if(!E||!v)return;let w=d.createProgram();if(!w)return;if(d.attachShader(w,E),d.attachShader(w,v),d.linkProgram(w),!d.getProgramParameter(w,d.LINK_STATUS)){console.error("Program link error:",d.getProgramInfoLog(w));return}let b=d.createBuffer();d.bindBuffer(d.ARRAY_BUFFER,b),d.bufferData(d.ARRAY_BUFFER,new Float32Array([-1,-1,1,-1,-1,1,-1,1,1,-1,1,1]),d.STATIC_DRAW);let y=d.getAttribLocation(w,"a_position"),S=d.getUniformLocation(w,"u_time"),T=d.getUniformLocation(w,"u_resolution"),M=d.getUniformLocation(w,"u_color1"),L=d.getUniformLocation(w,"u_color2"),x=d.getUniformLocation(w,"u_colorBg");function P(){let B=window.devicePixelRatio||1,K=Math.floor(u.clientWidth*B),te=Math.floor(u.clientHeight*B);(u.width!==K||u.height!==te)&&(u.width=K,u.height=te),(f.width!==K||f.height!==te)&&(f.width=K,f.height=te)}let k,H=performance.now(),q=0,N=12,D=.08,C=4,R=null;function F(){P(),d.viewport(0,0,u.width,u.height),d.useProgram(w);let B=(performance.now()-H)/1e3;d.uniform1f(S,B),d.uniform2f(T,u.width,u.height),d.uniform3f(M,a[0],a[1],a[2]),d.uniform3f(L,l[0],l[1],l[2]),d.uniform3f(x,c[0],c[1],c[2]),d.enableVertexAttribArray(y),d.bindBuffer(d.ARRAY_BUFFER,b),d.vertexAttribPointer(y,2,d.FLOAT,!1,0,0),d.drawArrays(d.TRIANGLES,0,6);let K=performance.now();if(p&&K-q>1e3/N){q=K;let te=Math.ceil(f.width/C),V=Math.ceil(f.height/C);if(te<=0||V<=0)return;(!R||R.width!==te||R.height!==V)&&(R=p.createImageData(te,V));let{data:se}=R;for(let me=0;me<se.length;me+=4){let ae=(Math.random()-.5)*255*D;se[me]=128+ae,se[me+1]=128+ae,se[me+2]=128+ae,se[me+3]=255}p.clearRect(0,0,f.width,f.height),p.imageSmoothingEnabled=!1,p.putImageData(R,0,0),p.drawImage(f,0,0,te,V,0,0,f.width,f.height)}k=requestAnimationFrame(F)}F();let _=new MutationObserver(B=>{for(let K of B)for(let te of K.removedNodes)(te===u||te instanceof Element&&te.contains(u))&&(cancelAnimationFrame(k),_.disconnect())});_.observe(t.parentElement||document.body,{childList:!0,subtree:!0}),requestAnimationFrame(()=>{t.style.opacity="1"})})};function Qo(o,e=0){let t=o.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 s=!1;return function(l){if(s)return;s=!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}),s=!1}})}}function Zo(){document.querySelectorAll(".content_wrapper-outer").forEach(o=>{let e=o,t=window.innerWidth,r=t<=991,n=t<=767,i=e.querySelector('[data-scroll="vertical"]'),s=e.querySelector(".content-arrow.is-top"),a=e.querySelector(".content-arrow:not(.is-top)");if(!i)return;let l=i,c=Array.from(l.querySelectorAll(".content-col-item"));if(c.length<2)return;c.forEach(C=>l.appendChild(C)),l.querySelector(".slider_collection-wrapper")?.remove();let u=e.querySelector(".solutions_list-wrapper"),f=e.querySelector(".benefits_collection-wrapper"),p=u?Qo(u,0):null,d=f?Qo(f,40):null;if(r){let ae=function(){Array.from(l.querySelectorAll(".content-col-item")).forEach((pe,le)=>{pe.classList.toggle("is-active",le===1)})},Pe=function(){Ee||(Ee=!0,p?.("next"),d?.("next"),gsap.to(l,{x:B-F,duration:.5,ease:"power3.inOut",onComplete(){let pe=l.firstElementChild;l.appendChild(pe),gsap.set(l,{x:B}),ae(),Ee=!1}}))},qt=function(){if(Ee)return;Ee=!0,p?.("prev"),d?.("prev");let pe=Array.from(l.querySelectorAll(".content-col-item")),le=pe[pe.length-1];l.insertBefore(le,l.firstElementChild),gsap.fromTo(l,{x:B-F},{x:B,duration:.5,ease:"power3.inOut",onComplete(){ae(),Ee=!1}})},j=function(){Me===null&&(Me=setInterval(Pe,Ge))},fe=function(){Me!==null&&(clearInterval(Me),Me=null)};var L=ae,P=Pe,k=qt,N=j,D=fe;let R=l.parentElement,F=n?R.offsetWidth/1.5:c[0].offsetWidth,_=n?R.offsetWidth:3*F,B=n?-.75*F:0;c.forEach(pe=>{pe.style.cssText+=`; flex-shrink: 0; width: ${F}px;`});let K=4,te=c.length;for(;c.length<K;){let pe=c[c.length%te].cloneNode(!0);pe.removeAttribute("id"),l.appendChild(pe),c.push(pe)}l.style.cssText=`display: flex; flex-direction: row; will-change: transform; overflow: visible !important; width: ${c.length*F}px !important; height: auto !important; min-height: 0 !important; max-height: none !important;`;let V=document.createElement("div");V.style.cssText=`width: ${_}px; overflow: hidden; position: relative;`,l.parentNode.insertBefore(V,l),V.appendChild(l);let se=c.findIndex(pe=>pe.classList.contains("is-active"));se===-1&&(se=0);let me=(se-1+c.length)%c.length;for(let pe=0;pe<me;pe++){let le=l.querySelector(".content-col-item");le&&l.appendChild(le)}gsap.set(l,{x:B}),ae();let Ee=!1,Ge=4e3,Me=null;e.addEventListener("mouseenter",fe),e.addEventListener("mouseleave",j),s?.addEventListener("click",()=>{fe(),qt(),j()}),a?.addEventListener("click",()=>{fe(),Pe(),j()}),j();return}if(c.length<3)return;let m=c[0].getBoundingClientRect(),g=c[1].getBoundingClientRect().top-m.top,E=g-m.height,v=Math.max(3*m.height+2*E,381),w=4,b=c.length;for(;c.length<w;){let C=c[c.length%b].cloneNode(!0);C.removeAttribute("id"),l.appendChild(C),c.push(C)}let y=document.createElement("div");y.style.cssText=`height: ${v}px; overflow: hidden; position: relative;`,l.parentNode.insertBefore(y,l),y.appendChild(l);let S=c.length*g-E;l.style.cssText+=`; overflow: visible !important; height: ${S}px !important; min-height: 0 !important; max-height: none !important; will-change: transform;`;let T=c.findIndex(C=>C.classList.contains("is-active"));T===-1&&(T=0);let M=(T-1+c.length)%c.length;for(let C=0;C<M;C++){let R=l.querySelector(".content-col-item");R&&l.appendChild(R)}function L(){Array.from(l.querySelectorAll(".content-col-item")).forEach((C,R)=>{C.classList.toggle("is-active",R===1)})}gsap.set(l,{y:0}),L();let x=!1;function P(){x||(x=!0,p?.("next"),d?.("next"),gsap.to(l,{y:-g,duration:.5,ease:"power3.inOut",onComplete(){let C=l.firstElementChild;l.appendChild(C),gsap.set(l,{y:0}),L(),x=!1}}))}function k(){if(x)return;x=!0,p?.("prev"),d?.("prev");let C=Array.from(l.querySelectorAll(".content-col-item")),R=C[C.length-1];l.insertBefore(R,l.firstElementChild),gsap.fromTo(l,{y:-g},{y:0,duration:.5,ease:"power3.inOut",onComplete(){L(),x=!1}})}let H=4e3,q=null;function N(){q===null&&(q=setInterval(P,H))}function D(){q!==null&&(clearInterval(q),q=null)}e.addEventListener("mouseenter",D),e.addEventListener("mouseleave",N),s?.addEventListener("click",()=>{D(),k(),N()}),a?.addEventListener("click",()=>{D(),P(),N()}),N()})}function sr(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function aa(o,e){o.prototype=Object.create(e.prototype),o.prototype.constructor=o,o.__proto__=e}var _t={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},ln={duration:.5,overwrite:!1,delay:0},Is,Ue,_e,Ht=1e8,de=1/Ht,Ts=Math.PI*2,Jc=Ts/4,eu=0,la=Math.sqrt,tu=Math.cos,ru=Math.sin,qe=function(e){return typeof e=="string"},Te=function(e){return typeof e=="function"},ar=function(e){return typeof e=="number"},Pi=function(e){return typeof e>"u"},jt=function(e){return typeof e=="object"},gt=function(e){return e!==!1},Ds=function(){return typeof window<"u"},Ei=function(e){return Te(e)||qe(e)},ca=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Je=Array.isArray,nu=/random\([^)]+\)/g,iu=/,\s*/g,Jo=/(?:-?\.?\d|\.)+/gi,Rs=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Br=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,_s=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,qs=/[+-]=-?[.\d]+/,su=/[^,'"\[\]\s]+/gi,ou=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,be,Kt,Ss,Ns,xt={},Li={},ua,da=function(e){return(Li=cn(e,xt))&&et},Hi=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},Bn=function(e,t){return!t&&console.warn(e)},fa=function(e,t){return e&&(xt[e]=t)&&Li&&(Li[e]=t)||xt},zn=function(){return 0},au={suppressEvents:!0,isStart:!0,kill:!1},xi={suppressEvents:!0,kill:!1},lu={suppressEvents:!0},Fs={},br=[],Ls={},pa,ht={},ys={},ea=30,Ti=[],Bs="",zs=function(e){var t=e[0],r,n;if(jt(t)||Te(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(n=Ti.length;n--&&!Ti[n].targetTest(t););r=Ti[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new Ys(e[n],r)))||e.splice(n,1);return e},wr=function(e){return e._gsap||zs(Ot(e))[0]._gsap},Ws=function(e,t,r){return(r=e[t])&&Te(r)?e[t]():Pi(r)&&e.getAttribute&&e.getAttribute(t)||r},st=function(e,t){return(e=e.split(",")).forEach(t)||e},Se=function(e){return Math.round(e*1e5)/1e5||0},ve=function(e){return Math.round(e*1e7)/1e7||0},zr=function(e,t){var r=t.charAt(0),n=parseFloat(t.substr(2));return e=parseFloat(e),r==="+"?e+n:r==="-"?e-n:r==="*"?e*n:e/n},cu=function(e,t){for(var r=t.length,n=0;e.indexOf(t[n])<0&&++n<r;);return n<r},Mi=function(){var e=br.length,t=br.slice(0),r,n;for(Ls={},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)},Gs=function(e){return!!(e._initted||e._startAt||e.add)},ha=function(e,t,r,n){br.length&&!Ue&&Mi(),e.render(t,r,n||!!(Ue&&t<0&&Gs(e))),br.length&&!Ue&&Mi()},ma=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(su).length<2?t:qe(e)?e.trim():e},ga=function(e){return e},Tt=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},uu=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},ta=function o(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=jt(t[r])?o(e[r]||(e[r]={}),t[r]):t[r]);return e},Ai=function(e,t){var r={},n;for(n in e)n in t||(r[n]=e[n]);return r},qn=function(e){var t=e.parent||be,r=e.keyframes?uu(Je(e.keyframes)):Tt;if(gt(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},du=function(e,t){for(var r=e.length,n=r===t.length;n&&r--&&e[r]===t[r];);return r<0},_a=function(e,t,r,n,i){r===void 0&&(r="_first"),n===void 0&&(n="_last");var s=e[n],a;if(i)for(a=t[i];s&&s[i]>a;)s=s._prev;return s?(t._next=s._next,s._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[n]=t,t._prev=s,t.parent=t._dp=e,t},Oi=function(e,t,r,n){r===void 0&&(r="_first"),n===void 0&&(n="_last");var i=t._prev,s=t._next;i?i._next=s:e[r]===t&&(e[r]=s),s?s._prev=i:e[n]===t&&(e[n]=i),t._next=t._prev=t.parent=null},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},fu=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Ms=function(e,t,r,n){return e._startAt&&(Ue?e._startAt.revert(xi):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))},pu=function o(e){return!e||e._ts&&o(e.parent)},ra=function(e){return e._repeat?un(e._tTime,e=e.duration()+e._rDelay)*e:0},un=function(e,t){var r=Math.floor(e=ve(e/t));return e&&r===e?r-1:r},ki=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Ii=function(e){return e._end=ve(e._start+(e._tDur/Math.abs(e._ts||e._rts||de)||0))},Di=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=ve(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Ii(e),r._dirty||qr(r,e)),e},ya=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=ki(e.rawTime(),t),(!t._dur||Vn(0,t.totalDuration(),r)-t._tTime>de)&&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=-de}},$t=function(e,t,r,n){return t.parent&&Er(t),t._start=ve((ar(r)?r:r||e!==be?Pt(e,r,t):e._time)+t._delay),t._end=ve(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),_a(e,t,"_first","_last",e._sort?"_start":0),As(t)||(e._recent=t),n||ya(e,t),e._ts<0&&Di(e,e._tTime),e},va=function(e,t){return(xt.ScrollTrigger||Hi("scrollTrigger",t))&&xt.ScrollTrigger.create(t,e)},ba=function(e,t,r,n,i){if(Ks(e,t,i),!e._initted)return 1;if(!r&&e._pt&&!Ue&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&pa!==mt.frame)return br.push(e),e._lazy=[i,n],1},hu=function o(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||o(t))},As=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},mu=function(e,t,r,n){var i=e.ratio,s=t<0||!t&&(!e._start&&hu(e)&&!(!e._initted&&As(e))||(e._ts<0||e._dp._ts<0)&&!As(e))?0:1,a=e._rDelay,l=0,c,u,f;if(a&&e._repeat&&(l=Vn(0,e._tDur,t),u=un(l,a),e._yoyo&&u&1&&(s=1-s),u!==un(e._tTime,a)&&(i=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==i||Ue||n||e._zTime===de||!t&&e._zTime){if(!e._initted&&ba(e,t,n,r,l))return;for(f=e._zTime,e._zTime=t||(r?de:0),r||(r=t&&!f),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=l,c=e._pt;c;)c.r(s,c.d),c=c._next;t<0&&Ms(e,t,r,!0),e._onUpdate&&!r&&Et(e,"onUpdate"),l&&e._repeat&&!r&&e.parent&&Et(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===s&&(s&&Er(e,1),!r&&!Ue&&(Et(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},gu=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,s=ve(t)||0,a=e._tTime/e._tDur;return a&&!n&&(e._time*=s/e._dur),e._dur=s,e._tDur=i?i<0?1e10:ve(s*(i+1)+e._rDelay*i):s,a>0&&!n&&Di(e,e._tTime=e._tDur*a),e.parent&&Ii(e),r||qr(e.parent,e),e},na=function(e){return e instanceof Xe?qr(e):dn(e,e._dur)},_u={_start:0,endTime:zn,totalDuration:zn},Pt=function o(e,t,r){var n=e.labels,i=e._recent||_u,s=e.duration()>=Ht?i.endTime(!1):e._dur,a,l,c;return qe(t)&&(isNaN(t)||t in n)?(l=t.charAt(0),c=t.substr(-1)==="%",a=t.indexOf("="),l==="<"||l===">"?(a>=0&&(t=t.replace(/=/,"")),(l==="<"?i._start:i.endTime(i._repeat>=0))+(parseFloat(t.substr(1))||0)*(c?(a<0?i:r).totalDuration()/100:1)):a<0?(t in n||(n[t]=s),n[t]):(l=parseFloat(t.charAt(a-1)+t.substr(a+1)),c&&r&&(l=l/100*(Je(r)?r[0]:r).totalDuration()),a>1?o(e,t.substr(0,a-1),r)+l:s+l)):t==null?s:+t},Nn=function(e,t,r){var n=ar(t[1]),i=(n?2:1)+(e<2?0:1),s=t[i],a,l;if(n&&(s.duration=t[1]),s.parent=r,e){for(a=s,l=r;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=gt(l.vars.inherit)&&l.parent;s.immediateRender=gt(a.immediateRender),e<2?s.runBackwards=1:s.startAt=t[i-1]}return new Ce(t[0],s,t[i+1])},xr=function(e,t){return e||e===0?t(e):t},Vn=function(e,t,r){return r<e?e:r>t?t:r},Ke=function(e,t){return!qe(e)||!(t=ou.exec(e))?"":t[1]},yu=function(e,t,r){return xr(r,function(n){return Vn(e,t,n)})},ks=[].slice,wa=function(e,t){return e&&jt(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&jt(e[0]))&&!e.nodeType&&e!==Kt},vu=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(n){var i;return qe(n)&&!t||wa(n,1)?(i=r).push.apply(i,Ot(n)):r.push(n)})||r},Ot=function(e,t,r){return _e&&!t&&_e.selector?_e.selector(e):qe(e)&&!r&&(Ss||!fn())?ks.call((t||Ns).querySelectorAll(e),0):Je(e)?vu(e,r):wa(e)?ks.call(e,0):e?[e]:[]},Cs=function(e){return e=Ot(e)[0]||Bn("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return Ot(t,r.querySelectorAll?r:r===e?Bn("Invalid scope")||Ns.createElement("div"):e)}},Ea=function(e){return e.sort(function(){return .5-Math.random()})},xa=function(e){if(Te(e))return e;var t=jt(e)?e:{each:e},r=Nr(t.ease),n=t.from||0,i=parseFloat(t.base)||0,s={},a=n>0&&n<1,l=isNaN(n)||a,c=t.axis,u=n,f=n;return qe(n)?u=f={center:.5,edges:.5,end:1}[n]||0:!a&&l&&(u=n[0],f=n[1]),function(p,d,m){var h=(m||t).length,g=s[h],E,v,w,b,y,S,T,M,L;if(!g){if(L=t.grid==="auto"?0:(t.grid||[1,Ht])[1],!L){for(T=-Ht;T<(T=m[L++].getBoundingClientRect().left)&&L<h;);L<h&&L--}for(g=s[h]=[],E=l?Math.min(L,h)*u-.5:n%L,v=L===Ht?0:l?h*f/L-.5:n/L|0,T=0,M=Ht,S=0;S<h;S++)w=S%L-E,b=v-(S/L|0),g[S]=y=c?Math.abs(c==="y"?b:w):la(w*w+b*b),y>T&&(T=y),y<M&&(M=y);n==="random"&&Ea(g),g.max=T-M,g.min=M,g.v=h=(parseFloat(t.amount)||parseFloat(t.each)*(L>h?h-1:c?c==="y"?h/L:L:Math.max(L,h/L))||0)*(n==="edges"?-1:1),g.b=h<0?i-h:i,g.u=Ke(t.amount||t.each)||0,r=r&&h<0?Ha(r):r}return h=(g[p]-g.min)/g.max||0,ve(g.b+(r?r(h):h)*g.v)+g.u}},Ps=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var n=ve(Math.round(parseFloat(r)/e)*e*t);return(n-n%1)/t+(ar(r)?0:Ke(r))}},Ta=function(e,t){var r=Je(e),n,i;return!r&&jt(e)&&(n=r=e.radius||Ht,e.values?(e=Ot(e.values),(i=!ar(e[0]))&&(n*=n)):e=Ps(e.increment)),xr(t,r?Te(e)?function(s){return i=e(s),Math.abs(i-s)<=n?i:s}:function(s){for(var a=parseFloat(i?s.x:s),l=parseFloat(i?s.y:0),c=Ht,u=0,f=e.length,p,d;f--;)i?(p=e[f].x-a,d=e[f].y-l,p=p*p+d*d):p=Math.abs(e[f]-a),p<c&&(c=p,u=f);return u=!n||c<=n?e[u]:s,i||u===s||ar(s)?u:u+Ke(s)}:Ps(e))},Sa=function(e,t,r,n){return xr(Je(e)?!t:r===!0?!!(r=0):!n,function(){return Je(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})},bu=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return t.reduce(function(i,s){return s(i)},n)}},wu=function(e,t){return function(r){return e(parseFloat(r))+(t||Ke(r))}},Eu=function(e,t,r){return Ma(e,t,0,1,r)},La=function(e,t,r){return xr(r,function(n){return e[~~t(n)]})},xu=function o(e,t,r){var n=t-e;return Je(e)?La(e,o(0,e.length),t):xr(r,function(i){return(n+(i-e)%n)%n+e})},Tu=function o(e,t,r){var n=t-e,i=n*2;return Je(e)?La(e,o(0,e.length-1),t):xr(r,function(s){return s=(i+(s-e)%i)%i||0,e+(s>n?i-s:s)})},pn=function(e){return e.replace(nu,function(t){var r=t.indexOf("[")+1,n=t.substring(r||7,r?t.indexOf("]"):t.length-1).split(iu);return Sa(r?n:+n[0],r?0:+n[1],+n[2]||1e-5)})},Ma=function(e,t,r,n,i){var s=t-e,a=n-r;return xr(i,function(l){return r+((l-e)/s*a||0)})},Su=function o(e,t,r,n){var i=isNaN(e+t)?0:function(d){return(1-d)*e+d*t};if(!i){var s=qe(e),a={},l,c,u,f,p;if(r===!0&&(n=1)&&(r=null),s)e={p:e},t={p:t};else if(Je(e)&&!Je(t)){for(u=[],f=e.length,p=f-2,c=1;c<f;c++)u.push(o(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(Je(e)?[]:{},e));if(!u){for(l in t)Xs.call(a,e,l,"get",t[l]);i=function(m){return Qs(m,a)||(s?e.p:e)}}}return xr(r,i)},ia=function(e,t,r){var n=e.labels,i=Ht,s,a,l;for(s in n)a=n[s]-t,a<0==!!r&&a&&i>(a=Math.abs(a))&&(l=s,i=a);return l},Et=function(e,t,r){var n=e.vars,i=n[t],s=_e,a=e._ctx,l,c,u;if(i)return l=n[t+"Params"],c=n.callbackScope||e,r&&br.length&&Mi(),a&&(_e=a),u=l?i.apply(c,l):i.call(c),_e=s,u},Dn=function(e){return Er(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Ue),e.progress()<1&&Et(e,"onInterrupt"),e},an,Aa=[],ka=function(e){if(e)if(e=!e.name&&e.default||e,Ds()||e.headless){var t=e.name,r=Te(e),n=t&&!r&&e.init?function(){this._props=[]}:e,i={init:zn,render:Qs,add:Xs,kill:zu,modifier:Bu,rawVars:0},s={targetTest:0,get:0,getSetter:Ri,aliases:{},register:0};if(fn(),e!==n){if(ht[t])return;Tt(n,Tt(Ai(e,i),s)),cn(n.prototype,cn(i,Ai(e,s))),ht[n.prop=t]=n,e.targetTest&&(Ti.push(n),Fs[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}fa(t,n),e.register&&e.register(et,n,ot)}else Aa.push(e)},ue=255,Rn={aqua:[0,ue,ue],lime:[0,ue,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,ue],navy:[0,0,128],white:[ue,ue,ue],olive:[128,128,0],yellow:[ue,ue,0],orange:[ue,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[ue,0,0],pink:[ue,192,203],cyan:[0,ue,ue],transparent:[ue,ue,ue,0]},vs=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)*ue+.5|0},Ca=function(e,t,r){var n=e?ar(e)?[e>>16,e>>8&ue,e&ue]:0:Rn.black,i,s,a,l,c,u,f,p,d,m;if(!n){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Rn[e])n=Rn[e];else if(e.charAt(0)==="#"){if(e.length<6&&(i=e.charAt(1),s=e.charAt(2),a=e.charAt(3),e="#"+i+i+s+s+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return n=parseInt(e.substr(1,6),16),[n>>16,n>>8&ue,n&ue,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),n=[e>>16,e>>8&ue,e&ue]}else if(e.substr(0,3)==="hsl"){if(n=m=e.match(Jo),!t)l=+n[0]%360/360,c=+n[1]/100,u=+n[2]/100,s=u<=.5?u*(c+1):u+c-u*c,i=u*2-s,n.length>3&&(n[3]*=1),n[0]=vs(l+1/3,i,s),n[1]=vs(l,i,s),n[2]=vs(l-1/3,i,s);else if(~e.indexOf("="))return n=e.match(Rs),r&&n.length<4&&(n[3]=1),n}else n=e.match(Jo)||Rn.transparent;n=n.map(Number)}return t&&!m&&(i=n[0]/ue,s=n[1]/ue,a=n[2]/ue,f=Math.max(i,s,a),p=Math.min(i,s,a),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?(s-a)/d+(s<a?6:0):f===s?(a-i)/d+2:(i-s)/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},Pa=function(e){var t=[],r=[],n=-1;return e.split(or).forEach(function(i){var s=i.match(Br)||[];t.push.apply(t,s),r.push(n+=s.length+1)}),t.c=r,t},sa=function(e,t,r){var n="",i=(e+n).match(or),s=t?"hsla(":"rgba(",a=0,l,c,u,f;if(!i)return e;if(i=i.map(function(p){return(p=Ca(p,t,1))&&s+(t?p[0]+","+p[1]+"%,"+p[2]+"%,"+p[3]:p.join(","))+")"}),r&&(u=Pa(e),l=r.c,l.join(n)!==u.c.join(n)))for(c=e.replace(or,"1").split(Br),f=c.length-1;a<f;a++)n+=c[a]+(~l.indexOf(a)?i.shift()||s+"0,0,0,0)":(u.length?u:i.length?i:r).shift());if(!c)for(c=e.split(or),f=c.length-1;a<f;a++)n+=c[a]+i[a];return n+c[f]},or=function(){var o="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in Rn)o+="|"+e+"\\b";return new RegExp(o+")","gi")}(),Lu=/hsl[a]?\(/,Vs=function(e){var t=e.join(" "),r;if(or.lastIndex=0,or.test(t))return r=Lu.test(t),e[1]=sa(e[1],r),e[0]=sa(e[0],r,Pa(e[1])),!0},Wn,mt=function(){var o=Date.now,e=500,t=33,r=o(),n=r,i=1e3/240,s=i,a=[],l,c,u,f,p,d,m=function h(g){var E=o()-n,v=g===!0,w,b,y,S;if((E>e||E<0)&&(r+=E-t),n+=E,y=n-r,w=y-s,(w>0||v)&&(S=++f.frame,p=y-f.time*1e3,f.time=y=y/1e3,s+=w+(w>=i?4:i-w),b=1),v||(l=c(h)),b)for(d=0;d<a.length;d++)a[d](y,p,S,g)};return f={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(g){return p/(1e3/(g||60))},wake:function(){ua&&(!Ss&&Ds()&&(Kt=Ss=window,Ns=Kt.document||{},xt.gsap=et,(Kt.gsapVersions||(Kt.gsapVersions=[])).push(et.version),da(Li||Kt.GreenSockGlobals||!Kt.gsap&&Kt||{}),Aa.forEach(ka)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&f.sleep(),c=u||function(g){return setTimeout(g,s-f.time*1e3+1|0)},Wn=1,m(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(l),Wn=0,c=zn},lagSmoothing:function(g,E){e=g||1/0,t=Math.min(E||33,e)},fps:function(g){i=1e3/(g||240),s=f.time*1e3+i},add:function(g,E,v){var w=E?function(b,y,S,T){g(b,y,S,T),f.remove(w)}:g;return f.remove(g),a[v?"unshift":"push"](w),fn(),w},remove:function(g,E){~(E=a.indexOf(g))&&a.splice(E,1)&&d>=E&&d--},_listeners:a},f}(),fn=function(){return!Wn&&mt.wake()},ne={},Mu=/^[\d.\-M][\d.\-,\s]/,Au=/["']/g,ku=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),n=r[0],i=1,s=r.length,a,l,c;i<s;i++)l=r[i],a=i!==s-1?l.lastIndexOf(","):l.length,c=l.substr(0,a),t[n]=isNaN(c)?c.replace(Au,"").trim():+c,n=l.substr(a+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)},Pu=function(e){var t=(e+"").split("("),r=ne[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[ku(t[1])]:Cu(e).split(",").map(ma)):ne._CE&&Mu.test(e)?ne._CE("",e):r},Ha=function(e){return function(t){return 1-e(1-t)}},Oa=function o(e,t){for(var r=e._first,n;r;)r instanceof Xe?o(r,t):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==t&&(r.timeline?o(r.timeline,t):(n=r._ease,r._ease=r._yEase,r._yEase=n,r._yoyo=t)),r=r._next},Nr=function(e,t){return e&&(Te(e)?e:ne[e]||Pu(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},s;return st(e,function(a){ne[a]=xt[a]=i,ne[s=a.toLowerCase()]=r;for(var l in i)ne[s+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=ne[a+"."+l]=i[l]}),i},Ia=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},bs=function o(e,t,r){var n=t>=1?t:1,i=(r||(e?.3:.45))/(t<1?t:1),s=i/Ts*(Math.asin(1/n)||0),a=function(u){return u===1?1:n*Math.pow(2,-10*u)*ru((u-s)*i)+1},l=e==="out"?a:e==="in"?function(c){return 1-a(1-c)}:Ia(a);return i=Ts/i,l.config=function(c,u){return o(e,c,u)},l},ws=function o(e,t){t===void 0&&(t=1.70158);var r=function(s){return s?--s*s*((t+1)*s+t)+1:0},n=e==="out"?r:e==="in"?function(i){return 1-r(1-i)}:Ia(r);return n.config=function(i){return o(e,i)},n};st("Linear,Quad,Cubic,Quart,Quint,Strong",function(o,e){var t=e<5?e+1:e;Wr(o+",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})});ne.Linear.easeNone=ne.none=ne.Linear.easeIn;Wr("Elastic",bs("in"),bs("out"),bs());(function(o,e){var t=1/e,r=2*t,n=2.5*t,i=function(a){return a<t?o*a*a:a<r?o*Math.pow(a-1.5/e,2)+.75:a<n?o*(a-=2.25/e)*a+.9375:o*Math.pow(a-2.625/e,2)+.984375};Wr("Bounce",function(s){return 1-i(1-s)},i)})(7.5625,2.75);Wr("Expo",function(o){return Math.pow(2,10*(o-1))*o+o*o*o*o*o*o*(1-o)});Wr("Circ",function(o){return-(la(1-o*o)-1)});Wr("Sine",function(o){return o===1?1:-tu(o*Jc)+1});Wr("Back",ws("in"),ws("out"),ws());ne.SteppedEase=ne.steps=xt.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,n=e+(t?0:1),i=t?1:0,s=1-de;return function(a){return((n*Vn(0,s,a)|0)+i)*r}}};ln.ease=ne["quad.out"];st("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(o){return Bs+=o+","+o+"Params,"});var Ys=function(e,t){this.id=eu++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:Ws,this.set=t?t.getSetter:Ri},Gn=function(){function o(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,_e&&(this._ctx=_e,_e.data.push(this)),Wn||mt.wake()}var e=o.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(Di(this,r),!i._dp||i.parent||ya(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)&&$t(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!n||this._initted&&Math.abs(this._zTime)===de||!this._initted&&this._dur&&r||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),ha(this,r,n)),this},e.time=function(r,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+ra(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)+ra(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===-de?0:this._rts;if(this._rts===r)return this;var i=this.parent&&this._ts?ki(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-de?0:this._rts,this.totalTime(Vn(-Math.abs(this._delay),this.totalDuration(),i),n!==!1),Ii(this),fu(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)!==de&&(this._tTime-=de)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=ve(r);var n=this.parent||this._dp;return n&&(n._sort||!this.parent)&&$t(n,this,this._start-this._delay),this}return this._start},e.endTime=function(r){return this._start+(gt(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?ki(n.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=lu);var n=Ue;return Ue=r,Gs(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),Ue=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,na(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var n=this._time;return this._rDelay=r,na(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(Pt(this,r),gt(n))},e.restart=function(r,n){return this.play().totalTime(r?-this._delay:0,gt(n)),this._dur||(this._zTime=-de),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?-de:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-de,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)-de)},e.eventCallback=function(r,n,i){var s=this.vars;return arguments.length>1?(n?(s[r]=n,i&&(s[r+"Params"]=i),r==="onUpdate"&&(this._onUpdate=n)):delete s[r],this):s[r]},e.then=function(r){var n=this,i=n._prom;return new Promise(function(s){var a=Te(r)?r:ga,l=function(){var u=n.then;n.then=null,i&&i(),Te(a)&&(a=a(n))&&(a.then||a===n)&&(n.then=u),s(a),n.then=u};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?l():n._prom=l})},e.kill=function(){Dn(this)},o}();Tt(Gn.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:-de,_prom:0,_ps:!1,_rts:1});var Xe=function(o){aa(e,o);function e(r,n){var i;return r===void 0&&(r={}),i=o.call(this,r)||this,i.labels={},i.smoothChildTiming=!!r.smoothChildTiming,i.autoRemoveChildren=!!r.autoRemoveChildren,i._sort=gt(r.sortChildren),be&&$t(r.parent||be,sr(i),n),r.reversed&&i.reverse(),r.paused&&i.paused(!0),r.scrollTrigger&&va(sr(i),r.scrollTrigger),i}var t=e.prototype;return t.to=function(n,i,s){return Nn(0,arguments,this),this},t.from=function(n,i,s){return Nn(1,arguments,this),this},t.fromTo=function(n,i,s,a){return Nn(2,arguments,this),this},t.set=function(n,i,s){return i.duration=0,i.parent=this,qn(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new Ce(n,i,Pt(this,s),1),this},t.call=function(n,i,s){return $t(this,Ce.delayedCall(0,n,i),s)},t.staggerTo=function(n,i,s,a,l,c,u){return s.duration=i,s.stagger=s.stagger||a,s.onComplete=c,s.onCompleteParams=u,s.parent=this,new Ce(n,s,Pt(this,l)),this},t.staggerFrom=function(n,i,s,a,l,c,u){return s.runBackwards=1,qn(s).immediateRender=gt(s.immediateRender),this.staggerTo(n,i,s,a,l,c,u)},t.staggerFromTo=function(n,i,s,a,l,c,u,f){return a.startAt=s,qn(a).immediateRender=gt(a.immediateRender),this.staggerTo(n,i,a,l,c,u,f)},t.render=function(n,i,s){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,c=this._dur,u=n<=0?0:ve(n),f=this._zTime<0!=n<0&&(this._initted||!c),p,d,m,h,g,E,v,w,b,y,S,T;if(this!==be&&u>l&&n>=0&&(u=l),u!==this._tTime||s||f){if(a!==this._time&&c&&(u+=this._time-a,n+=this._time-a),p=u,b=this._start,w=this._ts,E=!w,f&&(c||(a=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,s);if(p=ve(u%g),u===l?(h=this._repeat,p=c):(y=ve(u/g),h=~~y,h&&h===y&&(p=c,h--),p>c&&(p=c)),y=un(this._tTime,g),!a&&this._tTime&&y!==h&&this._tTime-y*g-this._dur<=0&&(y=h),S&&h&1&&(p=c-p,T=1),h!==y&&!this._lock){var M=S&&y&1,L=M===(S&&h&1);if(h<y&&(M=!M),a=M?0:u%c?c:u,this._lock=1,this.render(a||(T?0:ve(h*g)),i,!c)._lock=0,this._tTime=u,!i&&this.parent&&Et(this,"onRepeat"),this.vars.repeatRefresh&&!T&&(this.invalidate()._lock=1,y=h),a&&a!==this._time||E!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(c=this._dur,l=this._tDur,L&&(this._lock=2,a=M?c:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!T&&this.invalidate()),this._lock=0,!this._ts&&!E)return this;Oa(this,T)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=gu(this,ve(a),ve(p)),v&&(u-=p-(p=v._start))),this._tTime=u,this._time=p,this._act=!w,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,a=0),!a&&u&&c&&!i&&!y&&(Et(this,"onStart"),this._tTime!==u))return this;if(p>=a&&n>=0)for(d=this._first;d;){if(m=d._next,(d._act||p>=d._start)&&d._ts&&v!==d){if(d.parent!==this)return this.render(n,i,s);if(d.render(d._ts>0?(p-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(p-d._start)*d._ts,i,s),p!==this._time||!this._ts&&!E){v=0,m&&(u+=this._zTime=-de);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&&v!==d){if(d.parent!==this)return this.render(n,i,s);if(d.render(d._ts>0?(x-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(x-d._start)*d._ts,i,s||Ue&&Gs(d)),p!==this._time||!this._ts&&!E){v=0,m&&(u+=this._zTime=x?-de:de);break}}d=m}}if(v&&!i&&(this.pause(),v.render(p>=a?0:-de)._zTime=p>=a?1:-1,this._ts))return this._start=b,Ii(this),this.render(n,i,s);this._onUpdate&&!i&&Et(this,"onUpdate",!0),(u===l&&this._tTime>=this.totalDuration()||!u&&a)&&(b===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&&!a)&&(u||a||!l)&&(Et(this,u===l&&n>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<l&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(n,i){var s=this;if(ar(i)||(i=Pt(this,i,n)),!(n instanceof Gn)){if(Je(n))return n.forEach(function(a){return s.add(a,i)}),this;if(qe(n))return this.addLabel(n,i);if(Te(n))n=Ce.delayedCall(0,n);else return this}return this!==n?$t(this,n,i):this},t.getChildren=function(n,i,s,a){n===void 0&&(n=!0),i===void 0&&(i=!0),s===void 0&&(s=!0),a===void 0&&(a=-Ht);for(var l=[],c=this._first;c;)c._start>=a&&(c instanceof Ce?i&&l.push(c):(s&&l.push(c),n&&l.push.apply(l,c.getChildren(!0,i,s)))),c=c._next;return l},t.getById=function(n){for(var i=this.getChildren(1,1,1),s=i.length;s--;)if(i[s].vars.id===n)return i[s]},t.remove=function(n){return qe(n)?this.removeLabel(n):Te(n)?this.killTweensOf(n):(n.parent===this&&Oi(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=ve(mt.time-(this._ts>0?n/this._ts:(this.totalDuration()-n)/-this._ts))),o.prototype.totalTime.call(this,n,i),this._forcing=0,this):this._tTime},t.addLabel=function(n,i){return this.labels[n]=Pt(this,i),this},t.removeLabel=function(n){return delete this.labels[n],this},t.addPause=function(n,i,s){var a=Ce.delayedCall(0,i||zn,s);return a.data="isPause",this._hasPause=1,$t(this,a,Pt(this,n))},t.removePause=function(n){var i=this._first;for(n=Pt(this,n);i;)i._start===n&&i.data==="isPause"&&Er(i),i=i._next},t.killTweensOf=function(n,i,s){for(var a=this.getTweensOf(n,s),l=a.length;l--;)vr!==a[l]&&a[l].kill(n,i);return this},t.getTweensOf=function(n,i){for(var s=[],a=Ot(n),l=this._first,c=ar(i),u;l;)l instanceof Ce?cu(l._targets,a)&&(c?(!vr||l._initted&&l._ts)&&l.globalTime(0)<=i&&l.globalTime(l.totalDuration())>i:!i||l.isActive())&&s.push(l):(u=l.getTweensOf(a,i)).length&&s.push.apply(s,u),l=l._next;return s},t.tweenTo=function(n,i){i=i||{};var s=this,a=Pt(s,n),l=i,c=l.startAt,u=l.onStart,f=l.onStartParams,p=l.immediateRender,d,m=Ce.to(s,Tt({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:i.duration||Math.abs((a-(c&&"time"in c?c.time:s._time))/s.timeScale())||de,onStart:function(){if(s.pause(),!d){var g=i.duration||Math.abs((a-(c&&"time"in c?c.time:s._time))/s.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,s){return this.tweenTo(i,Tt({startAt:{time:Pt(this,n)}},s))},t.recent=function(){return this._recent},t.nextLabel=function(n){return n===void 0&&(n=this._time),ia(this,Pt(this,n))},t.previousLabel=function(n){return n===void 0&&(n=this._time),ia(this,Pt(this,n),1)},t.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+de)},t.shiftChildren=function(n,i,s){s===void 0&&(s=0);var a=this._first,l=this.labels,c;for(n=ve(n);a;)a._start>=s&&(a._start+=n,a._end+=n),a=a._next;if(i)for(c in l)l[c]>=s&&(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 o.prototype.invalidate.call(this,n)},t.clear=function(n){n===void 0&&(n=!0);for(var i=this._first,s;i;)s=i._next,this.remove(i),i=s;return this._dp&&(this._time=this._tTime=this._pTime=0),n&&(this.labels={}),qr(this)},t.totalDuration=function(n){var i=0,s=this,a=s._last,l=Ht,c,u,f;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-n:n));if(s._dirty){for(f=s.parent;a;)c=a._prev,a._dirty&&a.totalDuration(),u=a._start,u>l&&s._sort&&a._ts&&!s._lock?(s._lock=1,$t(s,a,u-a._delay,1)._lock=0):l=u,u<0&&a._ts&&(i-=u,(!f&&!s._dp||f&&f.smoothChildTiming)&&(s._start+=ve(u/s._ts),s._time-=u,s._tTime-=u),s.shiftChildren(-u,!1,-1/0),l=0),a._end>i&&a._ts&&(i=a._end),a=c;dn(s,s===be&&s._time>i?s._time:i,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(n){if(be._ts&&(ha(be,ki(n,be)),pa=mt.frame),mt.frame>=ea){ea+=_t.autoSleep||120;var i=be._first;if((!i||!i._ts)&&_t.autoSleep&&mt._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||mt.sleep()}}},e}(Gn);Tt(Xe.prototype,{_lock:0,_hasPause:0,_forcing:0});var Hu=function(e,t,r,n,i,s,a){var l=new ot(this._pt,e,t,0,1,js,null,i),c=0,u=0,f,p,d,m,h,g,E,v;for(l.b=r,l.e=n,r+="",n+="",(E=~n.indexOf("random("))&&(n=pn(n)),s&&(v=[r,n],s(v,e,t),r=v[0],n=v[1]),p=r.match(_s)||[];f=_s.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)==="="?zr(g,m)-g:parseFloat(m)-g,m:d&&d<4?Math.round:0},c=_s.lastIndex);return l.c=c<n.length?n.substring(c,n.length):"",l.fp=a,(qs.test(n)||E)&&(l.e=0),this._pt=l,l},Xs=function(e,t,r,n,i,s,a,l,c,u){Te(n)&&(n=n(i||0,e,s));var f=e[t],p=r!=="get"?r:Te(f)?c?e[t.indexOf("set")||!Te(e["get"+t.substr(3)])?t:"get"+t.substr(3)](c):e[t]():f,d=Te(f)?c?qu:qa:$s,m;if(qe(n)&&(~n.indexOf("random(")&&(n=pn(n)),n.charAt(1)==="="&&(m=zr(p,n)+(Ke(p)||0),(m||m===0)&&(n=m))),!u||p!==n||Hs)return!isNaN(p*n)&&n!==""?(m=new ot(this._pt,e,t,+p||0,n-(p||0),typeof f=="boolean"?Fu:Na,0,d),c&&(m.fp=c),a&&m.modifier(a,this,e),this._pt=m):(!f&&!(t in e)&&Hi(t,n),Hu.call(this,e,t,p,n,d,l||_t.stringFilter,c))},Ou=function(e,t,r,n,i){if(Te(e)&&(e=Fn(e,i,t,r,n)),!jt(e)||e.style&&e.nodeType||Je(e)||ca(e))return qe(e)?Fn(e,i,t,r,n):e;var s={},a;for(a in e)s[a]=Fn(e[a],i,t,r,n);return s},Us=function(e,t,r,n,i,s){var a,l,c,u;if(ht[e]&&(a=new ht[e]).init(i,a.rawVars?t[e]:Ou(t[e],n,i,s,r),r,n,s)!==!1&&(r._pt=l=new ot(r._pt,i,e,0,1,a.render,a,0,a.priority),r!==an))for(c=r._ptLookup[r._targets.indexOf(i)],u=a._props.length;u--;)c[a._props[u]]=l;return a},vr,Hs,Ks=function o(e,t,r){var n=e.vars,i=n.ease,s=n.startAt,a=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,E=e.parent,v=E&&E.data==="nested"?E.vars.targets:g,w=e._overwrite==="auto"&&!Is,b=e.timeline,y,S,T,M,L,x,P,k,H,q,N,D,C;if(b&&(!p||!i)&&(i="none"),e._ease=Nr(i,ln.ease),e._yEase=f?Ha(Nr(f===!0?i:f,ln.ease)):0,f&&e._yoyo&&!e._repeat&&(f=e._yEase,e._yEase=e._ease,e._ease=f),e._from=!b&&!!n.runBackwards,!b||p&&!n.stagger){if(k=g[0]?wr(g[0]).harness:0,D=k&&n[k.prop],y=Ai(n,Fs),h&&(h._zTime<0&&h.progress(1),t<0&&u&&a&&!d?h.render(-1,!0):h.revert(u&&m?xi:au),h._lazy=0),s){if(Er(e._startAt=Ce.set(g,Tt({data:"isStart",overwrite:!1,parent:E,immediateRender:!0,lazy:!h&&gt(l),startAt:null,delay:0,onUpdate:c&&function(){return Et(e,"onUpdate")},stagger:0},s))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(Ue||!a&&!d)&&e._startAt.revert(xi),a&&m&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(u&&m&&!h){if(t&&(a=!1),T=Tt({overwrite:!1,data:"isFromStart",lazy:a&&!h&&gt(l),immediateRender:a,stagger:0,parent:E},y),D&&(T[k.prop]=D),Er(e._startAt=Ce.set(g,T)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(Ue?e._startAt.revert(xi):e._startAt.render(-1,!0)),e._zTime=t,!a)o(e._startAt,de,de);else if(!t)return}for(e._pt=e._ptCache=0,l=m&&gt(l)||l&&!m,S=0;S<g.length;S++){if(L=g[S],P=L._gsap||zs(g)[S]._gsap,e._ptLookup[S]=q={},Ls[P.id]&&br.length&&Mi(),N=v===g?S:v.indexOf(L),k&&(H=new k).init(L,D||y,e,N,v)!==!1&&(e._pt=M=new ot(e._pt,L,H.name,0,1,H.render,H,0,H.priority),H._props.forEach(function(R){q[R]=M}),H.priority&&(x=1)),!k||D)for(T in y)ht[T]&&(H=Us(T,y,e,N,L,v))?H.priority&&(x=1):q[T]=M=Xs.call(e,L,T,"get",y[T],N,v,0,n.stringFilter);e._op&&e._op[S]&&e.kill(L,e._op[S]),w&&e._pt&&(vr=e,be.killTweensOf(L,q,e.globalTime(t)),C=!e.parent,vr=0),e._pt&&l&&(Ls[P.id]=1)}x&&Zs(e),e._onInit&&e._onInit(e)}e._onUpdate=c,e._initted=(!e._op||e._pt)&&!C,p&&t<=0&&b.render(Ht,!0,!0)},Iu=function(e,t,r,n,i,s,a,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 Hs=1,e.vars[t]="+=0",Ks(e,a),Hs=0,l?Bn(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)+s*u.c,u.c=r-u.s,f.e&&(f.e=Se(r)+Ke(f.e)),f.b&&(f.b=u.s+Ke(f.b))},Du=function(e,t){var r=e[0]?wr(e[0]).harness:0,n=r&&r.aliases,i,s,a,l;if(!n)return t;i=cn({},t);for(s in n)if(s in i)for(l=n[s].split(","),a=l.length;a--;)i[l[a]]=i[s];return i},Ru=function(e,t,r,n){var i=t.ease||n||"power1.inOut",s,a;if(Je(t))a=r[e]||(r[e]=[]),t.forEach(function(l,c){return a.push({t:c/(t.length-1)*100,v:l,e:i})});else for(s in t)a=r[s]||(r[s]=[]),s==="ease"||a.push({t:parseFloat(e),v:t[s],e:i})},Fn=function(e,t,r,n,i){return Te(e)?e.call(t,r,n,i):qe(e)&&~e.indexOf("random(")?pn(e):e},Da=Bs+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Ra={};st(Da+",id,stagger,delay,duration,paused,scrollTrigger",function(o){return Ra[o]=1});var Ce=function(o){aa(e,o);function e(r,n,i,s){var a;typeof n=="number"&&(i.duration=n,n=i,i=null),a=o.call(this,s?n:qn(n))||this;var l=a.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,E=l.yoyoEase,v=n.parent||be,w=(Je(r)||ca(r)?ar(r[0]):"length"in n)?[r]:Ot(r),b,y,S,T,M,L,x,P;if(a._targets=w.length?zs(w):Bn("GSAP target "+r+" not found. https://gsap.com",!_t.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=d,m||p||Ei(c)||Ei(u)){if(n=a.vars,b=a.timeline=new Xe({data:"nested",defaults:h||{},targets:v&&v.data==="nested"?v.vars.targets:w}),b.kill(),b.parent=b._dp=sr(a),b._start=0,p||Ei(c)||Ei(u)){if(T=w.length,x=p&&xa(p),jt(p))for(M in p)~Da.indexOf(M)&&(P||(P={}),P[M]=p[M]);for(y=0;y<T;y++)S=Ai(n,Ra),S.stagger=0,E&&(S.yoyoEase=E),P&&cn(S,P),L=w[y],S.duration=+Fn(c,sr(a),y,L,w),S.delay=(+Fn(u,sr(a),y,L,w)||0)-a._delay,!p&&T===1&&S.delay&&(a._delay=u=S.delay,a._start+=u,S.delay=0),b.to(L,S,x?x(y,L,w):0),b._ease=ne.none;b.duration()?c=u=0:a.timeline=0}else if(m){qn(Tt(b.vars.defaults,{ease:"none"})),b._ease=Nr(m.ease||n.ease||"none");var k=0,H,q,N;if(Je(m))m.forEach(function(D){return b.to(w,D,">")}),b.duration();else{S={};for(M in m)M==="ease"||M==="easeEach"||Ru(M,m[M],S,m.easeEach);for(M in S)for(H=S[M].sort(function(D,C){return D.t-C.t}),k=0,y=0;y<H.length;y++)q=H[y],N={ease:q.e,duration:(q.t-(y?H[y-1].t:0))/100*c},N[M]=q.v,b.to(w,N,k),k+=N.duration;b.duration()<c&&b.to({},{duration:c-b.duration()})}}c||a.duration(c=b.duration())}else a.timeline=0;return d===!0&&!Is&&(vr=sr(a),be.killTweensOf(w),vr=0),$t(v,sr(a),i),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(f||!c&&!m&&a._start===ve(v._time)&&gt(f)&&pu(sr(a))&&v.data!=="nested")&&(a._tTime=-de,a.render(Math.max(0,-u)||0)),g&&va(sr(a),g),a}var t=e.prototype;return t.render=function(n,i,s){var a=this._time,l=this._tDur,c=this._dur,u=n<0,f=n>l-de&&!u?l:n<de?0:n,p,d,m,h,g,E,v,w,b;if(!c)mu(this,n,i,s);else if(f!==this._tTime||!n||s||!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,s);if(p=ve(f%h),f===l?(m=this._repeat,p=c):(g=ve(f/h),m=~~g,m&&m===g?(p=c,m--):p>c&&(p=c)),E=this._yoyo&&m&1,E&&(b=this._yEase,p=c-p),g=un(this._tTime,h),p===a&&!s&&this._initted&&m===g)return this._tTime=f,this;m!==g&&(w&&this._yEase&&Oa(w,E),this.vars.repeatRefresh&&!E&&!this._lock&&p!==h&&this._initted&&(this._lock=s=1,this.render(ve(h*m),!0).invalidate()._lock=0))}if(!this._initted){if(ba(this,u?n:p,s,i,f))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&m!==g))return this;if(c!==this._dur)return this.render(n,i,s)}if(this._tTime=f,this._time=p,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=v=(b||this._ease)(p/c),this._from&&(this.ratio=v=1-v),!a&&f&&!i&&!g&&(Et(this,"onStart"),this._tTime!==f))return this;for(d=this._pt;d;)d.r(v,d.d),d=d._next;w&&w.render(n<0?n:w._dur*w._ease(p/this._dur),i,s)||this._startAt&&(this._zTime=n),this._onUpdate&&!i&&(u&&Ms(this,n,i,s),Et(this,"onUpdate")),this._repeat&&m!==g&&this.vars.onRepeat&&!i&&this.parent&&Et(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(u&&!this._onUpdate&&Ms(this,n,!0,!0),(n||!c)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&Er(this,1),!i&&!(u&&!a)&&(f||a||E)&&(Et(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),o.prototype.invalidate.call(this,n)},t.resetTo=function(n,i,s,a,l){Wn||mt.wake(),this._ts||this.play();var c=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Ks(this,c),u=this._ease(c/this._dur),Iu(this,n,i,s,a,u,c,l)?this.resetTo(n,i,s,a,1):(Di(this,0),this.parent||_a(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?Dn(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Ue),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(n,i,vr&&vr.vars.overwrite!==!0)._first||Dn(this),this.parent&&s!==this.timeline.totalDuration()&&dn(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,l=n?Ot(n):a,c=this._ptLookup,u=this._pt,f,p,d,m,h,g,E;if((!i||i==="all")&&du(a,l))return i==="all"&&(this._pt=0),Dn(this);for(f=this._op=this._op||[],i!=="all"&&(qe(i)&&(h={},st(i,function(v){return h[v]=1}),i=h),i=Du(a,i)),E=a.length;E--;)if(~l.indexOf(a[E])){p=c[E],i==="all"?(f[E]=i,m=p,d={}):(d=f[E]=f[E]||{},m=i);for(h in m)g=p&&p[h],g&&((!("kill"in g.d)||g.d.kill(h)===!0)&&Oi(this,g,"_pt"),delete p[h]),d!=="all"&&(d[h]=1)}return this._initted&&!this._pt&&u&&Dn(this),this},e.to=function(n,i){return new e(n,i,arguments[2])},e.from=function(n,i){return Nn(1,arguments)},e.delayedCall=function(n,i,s,a){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:i,onReverseComplete:i,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},e.fromTo=function(n,i,s){return Nn(2,arguments)},e.set=function(n,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new e(n,i)},e.killTweensOf=function(n,i,s){return be.killTweensOf(n,i,s)},e}(Gn);Tt(Ce.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});st("staggerTo,staggerFrom,staggerFromTo",function(o){Ce[o]=function(){var e=new Xe,t=ks.call(arguments,0);return t.splice(o==="staggerFromTo"?5:4,0,0),e[o].apply(e,t)}});var $s=function(e,t,r){return e[t]=r},qa=function(e,t,r){return e[t](r)},qu=function(e,t,r,n){return e[t](n.fp,r)},Nu=function(e,t,r){return e.setAttribute(t,r)},Ri=function(e,t){return Te(e[t])?qa:Pi(e[t])&&e.setAttribute?Nu:$s},Na=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},Fu=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},js=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)},Qs=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,s;i;)s=i._next,i.p===n&&i.modifier(e,t,r),i=s},zu=function(e){for(var t=this._pt,r,n;t;)n=t._next,t.p===e&&!t.op||t.op===e?Oi(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)},Zs=function(e){for(var t=e._pt,r,n,i,s;t;){for(r=t._next,n=i;n&&n.pr>t.pr;)n=n._next;(t._prev=n?n._prev:s)?t._prev._next=t:i=t,(t._next=n)?n._prev=t:s=t,t=r}e._pt=i},ot=function(){function o(t,r,n,i,s,a,l,c,u){this.t=r,this.s=i,this.c=s,this.p=n,this.r=a||Na,this.d=l||this,this.set=c||$s,this.pr=u||0,this._next=t,t&&(t._prev=this)}var e=o.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},o}();st(Bs+"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(o){return Fs[o]=1});xt.TweenMax=xt.TweenLite=Ce;xt.TimelineLite=xt.TimelineMax=Xe;be=new Xe({sortChildren:!1,defaults:ln,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});_t.stringFilter=Vs;var Fr=[],Si={},Gu=[],oa=0,Vu=0,Es=function(e){return(Si[e]||Gu).map(function(t){return t()})},Os=function(){var e=Date.now(),t=[];e-oa>2&&(Es("matchMediaInit"),Fr.forEach(function(r){var n=r.queries,i=r.conditions,s,a,l,c;for(a in n)s=Kt.matchMedia(n[a]).matches,s&&(l=1),s!==i[a]&&(i[a]=s,c=1);c&&(r.revert(),l&&t.push(r))}),Es("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(n){return r.add(null,n)})}),oa=e,Es("matchMedia"))},Fa=function(){function o(t,r){this.selector=r&&Cs(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Vu++,t&&this.add(t)}var e=o.prototype;return e.add=function(r,n,i){Te(r)&&(i=n,n=r,r=Te);var s=this,a=function(){var c=_e,u=s.selector,f;return c&&c!==s&&c.data.push(s),i&&(s.selector=Cs(i)),_e=s,f=n.apply(s,arguments),Te(f)&&s._r.push(f),_e=c,s.selector=u,s.isReverted=!1,f};return s.last=a,r===Te?a(s,function(l){return s.add(null,l)}):r?s[r]=a:a},e.ignore=function(r){var n=_e;_e=null,r(this),_e=n},e.getTweens=function(){var r=[];return this.data.forEach(function(n){return n instanceof o?r.push.apply(r,n.getTweens()):n instanceof Ce&&!(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 a=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 a.splice(a.indexOf(u),1)}));for(a.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 Xe?c.data!=="nested"&&(c.scrollTrigger&&c.scrollTrigger.revert(),c.kill()):!(c instanceof Ce)&&c.revert&&c.revert(r);i._r.forEach(function(u){return u(r,i)}),i.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),n)for(var s=Fr.length;s--;)Fr[s].id===this.id&&Fr.splice(s,1)},e.revert=function(r){this.kill(r||{})},o}(),Yu=function(){function o(t){this.contexts=[],this.scope=t,_e&&_e.data.push(this)}var e=o.prototype;return e.add=function(r,n,i){jt(r)||(r={matches:r});var s=new Fa(0,i||this.scope),a=s.conditions={},l,c,u;_e&&!s.selector&&(s.selector=_e.selector),this.contexts.push(s),n=s.add("onMatch",n),s.queries=r;for(c in r)c==="all"?u=1:(l=Kt.matchMedia(r[c]),l&&(Fr.indexOf(s)<0&&Fr.push(s),(a[c]=l.matches)&&(u=1),l.addListener?l.addListener(Os):l.addEventListener("change",Os)));return u&&n(s,function(f){return s.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)})},o}(),Ci={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 ka(n)})},timeline:function(e){return new Xe(e)},getTweensOf:function(e,t){return be.getTweensOf(e,t)},getProperty:function(e,t,r,n){qe(e)&&(e=Ot(e)[0]);var i=wr(e||{}).get,s=r?ga:ma;return r==="native"&&(r=""),e&&(t?s((ht[t]&&ht[t].get||i)(e,t,r,n)):function(a,l,c){return s((ht[a]&&ht[a].get||i)(e,a,l,c))})},quickSetter:function(e,t,r){if(e=Ot(e),e.length>1){var n=e.map(function(u){return et.quickSetter(u,t,r)}),i=n.length;return function(u){for(var f=i;f--;)n[f](u)}}e=e[0]||{};var s=ht[t],a=wr(e),l=a.harness&&(a.harness.aliases||{})[t]||t,c=s?function(u){var f=new s;an._pt=0,f.init(e,r?u+r:u,an,0,[e]),f.render(1,f),an._pt&&Qs(1,an)}:a.set(e,l);return s?c:function(u){return c(e,l,r?u+r:u,a,1)}},quickTo:function(e,t,r){var n,i=et.to(e,Tt((n={},n[t]="+=0.1",n.paused=!0,n.stagger=0,n),r||{})),s=function(l,c,u){return i.resetTo(t,l,c,u)};return s.tween=i,s},isTweening:function(e){return be.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Nr(e.ease,ln.ease)),ta(ln,e||{})},config:function(e){return ta(_t,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,n=e.plugins,i=e.defaults,s=e.extendTimeline;(n||"").split(",").forEach(function(a){return a&&!ht[a]&&!xt[a]&&Bn(t+" effect requires "+a+" plugin.")}),ys[t]=function(a,l,c){return r(Ot(a),Tt(l||{},i),c)},s&&(Xe.prototype[t]=function(a,l,c){return this.add(ys[t](a,jt(l)?l:(c=l)&&{},this),c)})},registerEase:function(e,t){ne[e]=Nr(t)},parseEase:function(e,t){return arguments.length?Nr(e,t):ne},getById:function(e){return be.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new Xe(e),n,i;for(r.smoothChildTiming=gt(e.smoothChildTiming),be.remove(r),r._dp=0,r._time=r._tTime=be._time,n=be._first;n;)i=n._next,(t||!(!n._dur&&n instanceof Ce&&n.vars.onComplete===n._targets[0]))&&$t(r,n,n._start-n._delay),n=i;return $t(be,r,0),r},context:function(e,t){return e?new Fa(e,t):_e},matchMedia:function(e){return new Yu(e)},matchMediaRefresh:function(){return Fr.forEach(function(e){var t=e.conditions,r,n;for(n in t)t[n]&&(t[n]=!1,r=1);r&&e.revert()})||Os()},addEventListener:function(e,t){var r=Si[e]||(Si[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=Si[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},utils:{wrap:xu,wrapYoyo:Tu,distribute:xa,random:Sa,snap:Ta,normalize:Eu,getUnit:Ke,clamp:yu,splitColor:Ca,toArray:Ot,selector:Cs,mapRange:Ma,pipe:bu,unitize:wu,interpolate:Su,shuffle:Ea},install:da,effects:ys,ticker:mt,updateRoot:Xe.updateRoot,plugins:ht,globalTimeline:be,core:{PropTween:ot,globals:fa,Tween:Ce,Timeline:Xe,Animation:Gn,getCache:wr,_removeLinkedListItem:Oi,reverting:function(){return Ue},context:function(e){return e&&_e&&(_e.data.push(e),e._ctx=_e),_e},suppressOverwrites:function(e){return Is=e}}};st("to,from,fromTo,delayedCall,set,killTweensOf",function(o){return Ci[o]=Ce[o]});mt.add(Xe.updateRoot);an=Ci.to({},{duration:0});var Xu=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},Uu=function(e,t){var r=e._targets,n,i,s;for(n in t)for(i=r.length;i--;)s=e._ptLookup[i][n],s&&(s=s.d)&&(s._pt&&(s=Xu(s,n)),s&&s.modifier&&s.modifier(t[n],e,r[i],n))},xs=function(e,t){return{name:e,headless:1,rawVars:1,init:function(n,i,s){s._onInit=function(a){var l,c;if(qe(i)&&(l={},st(i,function(u){return l[u]=1}),i=l),t){l={};for(c in i)l[c]=t(i[c]);i=l}Uu(a,i)}}}},et=Ci.registerPlugin({name:"attr",init:function(e,t,r,n,i){var s,a,l;this.tween=r;for(s in t)l=e.getAttribute(s)||"",a=this.add(e,"setAttribute",(l||0)+"",t[s],n,i,0,0,s),a.op=s,a.b=l,this._props.push(s)},render:function(e,t){for(var r=t._pt;r;)Ue?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)}},xs("roundProps",Ps),xs("modifiers"),xs("snap",Ta))||Ci;Ce.version=Xe.version=et.version="3.14.2";ua=1;Ds()&&fn();var Ku=ne.Power0,$u=ne.Power1,ju=ne.Power2,Qu=ne.Power3,Zu=ne.Power4,Ju=ne.Linear,ed=ne.Quad,td=ne.Cubic,rd=ne.Quart,nd=ne.Quint,id=ne.Strong,sd=ne.Elastic,od=ne.Back,ad=ne.SteppedEase,ld=ne.Bounce,cd=ne.Sine,ud=ne.Expo,dd=ne.Circ;var Ba,Tr,mn,io,Xr,fd,za,so,pd=function(){return typeof window<"u"},cr={},Yr=180/Math.PI,gn=Math.PI/180,hn=Math.atan2,Wa=1e8,oo=/([A-Z])/g,hd=/(left|right|width|margin|padding|x)/i,md=/[\s,\(]\S/,Qt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},eo=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},gd=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)},_d=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)},yd=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)},vd=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},ja=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Qa=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},bd=function(e,t,r){return e.style[t]=r},wd=function(e,t,r){return e.style.setProperty(t,r)},Ed=function(e,t,r){return e._gsap[t]=r},xd=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},Td=function(e,t,r,n,i){var s=e._gsap;s.scaleX=s.scaleY=r,s.renderTransform(i,s)},Sd=function(e,t,r,n,i){var s=e._gsap;s[t]=r,s.renderTransform(i,s)},we="transform",yt=we+"Origin",Ld=function o(e,t){var r=this,n=this.target,i=n.style,s=n._gsap;if(e in cr&&i){if(this.tfm=this.tfm||{},e!=="transform")e=Qt[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return r.tfm[a]=lr(n,a)}):this.tfm[e]=s.x?s[e]:lr(n,e),e===yt&&(this.tfm.zOrigin=s.zOrigin);else return Qt.transform.split(",").forEach(function(a){return o.call(r,a,t)});if(this.props.indexOf(we)>=0)return;s.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(yt,t,"")),e=we}(i||t)&&this.props.push(e,t,i[e])},Za=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Md=function(){var e=this.props,t=this.target,r=t.style,n=t._gsap,i,s;for(i=0;i<e.length;i+=3)e[i+1]?e[i+1]===2?t[e[i]](e[i+2]):t[e[i]]=e[i+2]:e[i+2]?r[e[i]]=e[i+2]:r.removeProperty(e[i].substr(0,2)==="--"?e[i]:e[i].replace(oo,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)n[s]=this.tfm[s];n.svg&&(n.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),i=so(),(!i||!i.isStart)&&!r[we]&&(Za(r),n.zOrigin&&r[yt]&&(r[yt]+=" "+n.zOrigin+"px",n.zOrigin=0,n.renderTransform()),n.uncache=1)}},Ja=function(e,t){var r={target:e,props:[],revert:Md,save:Ld};return e._gsap||et.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(n){return r.save(n)}),r},el,to=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)},St=function o(e,t,r){var n=getComputedStyle(e);return n[t]||n.getPropertyValue(t.replace(oo,"-$1").toLowerCase())||n.getPropertyValue(t)||!r&&o(e,_n(t)||t,1)||""},Ga="O,Moz,ms,Ms,Webkit".split(","),_n=function(e,t,r){var n=t||Xr,i=n.style,s=5;if(e in i&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(Ga[s]+e in i););return s<0?null:(s===3?"ms":s>=0?Ga[s]:"")+e},ro=function(){pd()&&window.document&&(Ba=window,Tr=Ba.document,mn=Tr.documentElement,Xr=to("div")||{style:{}},fd=to("div"),we=_n(we),yt=we+"Origin",Xr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",el=!!_n("perspective"),so=et.core.reverting,io=1)},Va=function(e){var t=e.ownerSVGElement,r=to("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},Ya=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},tl=function(e){var t,r;try{t=e.getBBox()}catch{t=Va(e),r=1}return t&&(t.width||t.height)||r||(t=Va(e)),t&&!t.width&&!t.x&&!t.y?{x:+Ya(e,["x","cx","x1"])||0,y:+Ya(e,["y","cy","y1"])||0,width:0,height:0}:t},rl=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&tl(e))},Lr=function(e,t){if(t){var r=e.style,n;t in cr&&t!==yt&&(t=we),r.removeProperty?(n=t.substr(0,2),(n==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(n==="--"?t:t.replace(oo,"-$1").toLowerCase())):r.removeAttribute(t)}},Sr=function(e,t,r,n,i,s){var a=new ot(e._pt,t,r,0,1,s?Qa:ja);return e._pt=a,a.b=n,a.e=i,e._props.push(r),a},Xa={deg:1,rad:1,turn:1},Ad={grid:1,flex:1},Mr=function o(e,t,r,n){var i=parseFloat(r)||0,s=(r+"").trim().substr((i+"").length)||"px",a=Xr.style,l=hd.test(t),c=e.tagName.toLowerCase()==="svg",u=(c?"client":"offset")+(l?"Width":"Height"),f=100,p=n==="px",d=n==="%",m,h,g,E;if(n===s||!i||Xa[n]||Xa[s])return i;if(s!=="px"&&!p&&(i=o(e,t,r,"px")),E=e.getCTM&&rl(e),(d||s==="%")&&(cr[t]||~t.indexOf("adius")))return m=E?e.getBBox()[l?"width":"height"]:e[u],Se(d?i/m*f:i/100*m);if(a[l?"width":"height"]=f+(p?s:n),h=n!=="rem"&&~t.indexOf("adius")||n==="em"&&e.appendChild&&!c?e:e.parentNode,E&&(h=(e.ownerSVGElement||{}).parentNode),(!h||h===Tr||!h.appendChild)&&(h=Tr.body),g=h._gsap,g&&d&&g.width&&l&&g.time===mt.time&&!g.uncache)return Se(i/g.width*f);if(d&&(t==="height"||t==="width")){var v=e.style[t];e.style[t]=f+n,m=e[u],v?e.style[t]=v:Lr(e,t)}else(d||s==="%")&&!Ad[St(h,"display")]&&(a.position=St(e,"position")),h===e&&(a.position="static"),h.appendChild(Xr),m=Xr[u],h.removeChild(Xr),a.position="absolute";return l&&d&&(g=wr(h),g.time=mt.time,g.width=h[u]),Se(p?m*i/f:m&&i?f/m*i:0)},lr=function(e,t,r,n){var i;return io||ro(),t in Qt&&t!=="transform"&&(t=Qt[t],~t.indexOf(",")&&(t=t.split(",")[0])),cr[t]&&t!=="transform"?(i=Un(e,n),i=t!=="transformOrigin"?i[t]:i.svg?i.origin:Ni(St(e,yt))+" "+i.zOrigin+"px"):(i=e.style[t],(!i||i==="auto"||n||~(i+"").indexOf("calc("))&&(i=qi[t]&&qi[t](e,t,r)||St(e,t)||Ws(e,t)||(t==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?Mr(e,t,i,r)+r:i},kd=function(e,t,r,n){if(!r||r==="none"){var i=_n(t,e,1),s=i&&St(e,i,1);s&&s!==r?(t=i,r=s):t==="borderColor"&&(r=St(e,"borderTopColor"))}var a=new ot(this._pt,e.style,t,0,1,js),l=0,c=0,u,f,p,d,m,h,g,E,v,w,b,y;if(a.b=r,a.e=n,r+="",n+="",n.substring(0,6)==="var(--"&&(n=St(e,n.substring(4,n.indexOf(")")))),n==="auto"&&(h=e.style[t],e.style[t]=n,n=St(e,t)||n,h?e.style[t]=h:Lr(e,t)),u=[r,n],Vs(u),r=u[0],n=u[1],p=r.match(Br)||[],y=n.match(Br)||[],y.length){for(;f=Br.exec(n);)g=f[0],v=n.substring(l,f.index),m?m=(m+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(m=1),g!==(h=p[c++]||"")&&(d=parseFloat(h)||0,b=h.substr((d+"").length),g.charAt(1)==="="&&(g=zr(d,g)+b),E=parseFloat(g),w=g.substr((E+"").length),l=Br.lastIndex-w.length,w||(w=w||_t.units[t]||b,l===n.length&&(n+=w,a.e+=w)),b!==w&&(d=Mr(e,t,h,w)||0),a._pt={_next:a._pt,p:v||c===1?v:",",s:d,c:E-d,m:m&&m<4||t==="zIndex"?Math.round:0});a.c=l<n.length?n.substring(l,n.length):""}else a.r=t==="display"&&n==="none"?Qa:ja;return qs.test(n)&&(a.e=0),this._pt=a,a},Ua={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]=Ua[r]||r,t[1]=Ua[n]||n,t.join(" ")},Pd=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,n=r.style,i=t.u,s=r._gsap,a,l,c;if(i==="all"||i===!0)n.cssText="",l=1;else for(i=i.split(","),c=i.length;--c>-1;)a=i[c],cr[a]&&(l=1,a=a==="transformOrigin"?yt:we),Lr(r,a);l&&(Lr(r,we),s&&(s.svg&&r.removeAttribute("transform"),n.scale=n.rotate=n.translate="none",Un(r,1),s.uncache=1,Za(n)))}},qi={clearProps:function(e,t,r,n,i){if(i.data!=="isFromStart"){var s=e._pt=new ot(e._pt,t,r,0,0,Pd);return s.u=n,s.pr=-10,s.tween=i,e._props.push(r),1}}},Xn=[1,0,0,1,0,0],nl={},il=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},Ka=function(e){var t=St(e,we);return il(t)?Xn:t.substr(7).match(Rs).map(Se)},ao=function(e,t){var r=e._gsap||wr(e),n=e.style,i=Ka(e),s,a,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"?Xn:i):(i===Xn&&!e.offsetParent&&e!==mn&&!r.svg&&(l=n.display,n.display="block",s=e.parentNode,(!s||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,a=e.nextElementSibling,mn.appendChild(e)),i=Ka(e),l?n.display=l:Lr(e,"display"),c&&(a?s.insertBefore(e,a):s?s.appendChild(e):mn.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},no=function(e,t,r,n,i,s){var a=e._gsap,l=i||ao(e,!0),c=a.xOrigin||0,u=a.yOrigin||0,f=a.xOffset||0,p=a.yOffset||0,d=l[0],m=l[1],h=l[2],g=l[3],E=l[4],v=l[5],w=t.split(" "),b=parseFloat(w[0])||0,y=parseFloat(w[1])||0,S,T,M,L;r?l!==Xn&&(T=d*g-m*h)&&(M=b*(g/T)+y*(-h/T)+(h*v-g*E)/T,L=b*(-m/T)+y*(d/T)-(d*v-m*E)/T,b=M,y=L):(S=tl(e),b=S.x+(~w[0].indexOf("%")?b/100*S.width:b),y=S.y+(~(w[1]||w[0]).indexOf("%")?y/100*S.height:y)),n||n!==!1&&a.smooth?(E=b-c,v=y-u,a.xOffset=f+(E*d+v*h)-E,a.yOffset=p+(E*m+v*g)-v):a.xOffset=a.yOffset=0,a.xOrigin=b,a.yOrigin=y,a.smooth=!!n,a.origin=t,a.originIsAbsolute=!!r,e.style[yt]="0px 0px",s&&(Sr(s,a,"xOrigin",c,b),Sr(s,a,"yOrigin",u,y),Sr(s,a,"xOffset",f,a.xOffset),Sr(s,a,"yOffset",p,a.yOffset)),e.setAttribute("data-svg-origin",b+" "+y)},Un=function(e,t){var r=e._gsap||new Ys(e);if("x"in r&&!t&&!r.uncache)return r;var n=e.style,i=r.scaleX<0,s="px",a="deg",l=getComputedStyle(e),c=St(e,yt)||"0",u,f,p,d,m,h,g,E,v,w,b,y,S,T,M,L,x,P,k,H,q,N,D,C,R,F,_,B,K,te,V,se;return u=f=p=h=g=E=v=w=b=0,d=m=1,r.svg=!!(e.getCTM&&rl(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(n[we]=(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[we]!=="none"?l[we]:"")),n.scale=n.rotate=n.translate="none"),T=ao(e,r.svg),r.svg&&(r.uncache?(R=e.getBBox(),c=r.xOrigin-R.x+"px "+(r.yOrigin-R.y)+"px",C=""):C=!t&&e.getAttribute("data-svg-origin"),no(e,C||c,!!C||r.originIsAbsolute,r.smooth!==!1,T)),y=r.xOrigin||0,S=r.yOrigin||0,T!==Xn&&(P=T[0],k=T[1],H=T[2],q=T[3],u=N=T[4],f=D=T[5],T.length===6?(d=Math.sqrt(P*P+k*k),m=Math.sqrt(q*q+H*H),h=P||k?hn(k,P)*Yr:0,v=H||q?hn(H,q)*Yr+h:0,v&&(m*=Math.abs(Math.cos(v*gn))),r.svg&&(u-=y-(y*P+S*H),f-=S-(y*k+S*q))):(se=T[6],te=T[7],_=T[8],B=T[9],K=T[10],V=T[11],u=T[12],f=T[13],p=T[14],M=hn(se,K),g=M*Yr,M&&(L=Math.cos(-M),x=Math.sin(-M),C=N*L+_*x,R=D*L+B*x,F=se*L+K*x,_=N*-x+_*L,B=D*-x+B*L,K=se*-x+K*L,V=te*-x+V*L,N=C,D=R,se=F),M=hn(-H,K),E=M*Yr,M&&(L=Math.cos(-M),x=Math.sin(-M),C=P*L-_*x,R=k*L-B*x,F=H*L-K*x,V=q*x+V*L,P=C,k=R,H=F),M=hn(k,P),h=M*Yr,M&&(L=Math.cos(M),x=Math.sin(M),C=P*L+k*x,R=N*L+D*x,k=k*L-P*x,D=D*L-N*x,P=C,N=R),g&&Math.abs(g)+Math.abs(h)>359.9&&(g=h=0,E=180-E),d=Se(Math.sqrt(P*P+k*k+H*H)),m=Se(Math.sqrt(D*D+se*se)),M=hn(N,D),v=Math.abs(M)>2e-4?M*Yr:0,b=V?1/(V<0?-V:V):0),r.svg&&(C=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!il(St(e,we)),C&&e.setAttribute("transform",C))),Math.abs(v)>90&&Math.abs(v)<270&&(i?(d*=-1,v+=h<=0?180:-180,h+=h<=0?180:-180):(m*=-1,v+=v<=0?180:-180)),t=t||r.uncache,r.x=u-((r.xPercent=u&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+s,r.y=f-((r.yPercent=f&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-f)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+s,r.z=p+s,r.scaleX=Se(d),r.scaleY=Se(m),r.rotation=Se(h)+a,r.rotationX=Se(g)+a,r.rotationY=Se(E)+a,r.skewX=v+a,r.skewY=w+a,r.transformPerspective=b+s,(r.zOrigin=parseFloat(c.split(" ")[2])||!t&&r.zOrigin||0)&&(n[yt]=Ni(c)),r.xOffset=r.yOffset=0,r.force3D=_t.force3D,r.renderTransform=r.svg?Od:el?sl:Hd,r.uncache=0,r},Ni=function(e){return(e=e.split(" "))[0]+" "+e[1]},Js=function(e,t,r){var n=Ke(t);return Se(parseFloat(t)+parseFloat(Mr(e,"x",r+"px",n)))+n},Hd=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,sl(e,t)},Gr="0deg",Yn="0px",Vr=") ",sl=function(e,t){var r=t||this,n=r.xPercent,i=r.yPercent,s=r.x,a=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,E=r.force3D,v=r.target,w=r.zOrigin,b="",y=E==="auto"&&e&&e!==1||E===!0;if(w&&(f!==Gr||u!==Gr)){var S=parseFloat(u)*gn,T=Math.sin(S),M=Math.cos(S),L;S=parseFloat(f)*gn,L=Math.cos(S),s=Js(v,s,T*L*-w),a=Js(v,a,-Math.sin(S)*-w),l=Js(v,l,M*L*-w+w)}g!==Yn&&(b+="perspective("+g+Vr),(n||i)&&(b+="translate("+n+"%, "+i+"%) "),(y||s!==Yn||a!==Yn||l!==Yn)&&(b+=l!==Yn||y?"translate3d("+s+", "+a+", "+l+") ":"translate("+s+", "+a+Vr),c!==Gr&&(b+="rotate("+c+Vr),u!==Gr&&(b+="rotateY("+u+Vr),f!==Gr&&(b+="rotateX("+f+Vr),(p!==Gr||d!==Gr)&&(b+="skew("+p+", "+d+Vr),(m!==1||h!==1)&&(b+="scale("+m+", "+h+Vr),v.style[we]=b||"translate(0, 0)"},Od=function(e,t){var r=t||this,n=r.xPercent,i=r.yPercent,s=r.x,a=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,E=r.yOffset,v=r.forceCSS,w=parseFloat(s),b=parseFloat(a),y,S,T,M,L;l=parseFloat(l),c=parseFloat(c),u=parseFloat(u),u&&(u=parseFloat(u),c+=u,l+=u),l||c?(l*=gn,c*=gn,y=Math.cos(l)*f,S=Math.sin(l)*f,T=Math.sin(l-c)*-p,M=Math.cos(l-c)*p,c&&(u*=gn,L=Math.tan(c-u),L=Math.sqrt(1+L*L),T*=L,M*=L,u&&(L=Math.tan(u),L=Math.sqrt(1+L*L),y*=L,S*=L)),y=Se(y),S=Se(S),T=Se(T),M=Se(M)):(y=f,M=p,S=T=0),(w&&!~(s+"").indexOf("px")||b&&!~(a+"").indexOf("px"))&&(w=Mr(d,"x",s,"px"),b=Mr(d,"y",a,"px")),(m||h||g||E)&&(w=Se(w+m-(m*y+h*T)+g),b=Se(b+h-(m*S+h*M)+E)),(n||i)&&(L=d.getBBox(),w=Se(w+n/100*L.width),b=Se(b+i/100*L.height)),L="matrix("+y+","+S+","+T+","+M+","+w+","+b+")",d.setAttribute("transform",L),v&&(d.style[we]=L)},Id=function(e,t,r,n,i){var s=360,a=qe(i),l=parseFloat(i)*(a&&~i.indexOf("rad")?Yr:1),c=l-n,u=n+c+"deg",f,p;return a&&(f=i.split("_")[1],f==="short"&&(c%=s,c!==c%(s/2)&&(c+=c<0?s:-s)),f==="cw"&&c<0?c=(c+s*Wa)%s-~~(c/s)*s:f==="ccw"&&c>0&&(c=(c-s*Wa)%s-~~(c/s)*s)),e._pt=p=new ot(e._pt,t,r,n,c,gd),p.e=u,p.u="deg",e._props.push(r),p},$a=function(e,t){for(var r in t)e[r]=t[r];return e},Dd=function(e,t,r){var n=$a({},r._gsap),i="perspective,force3D,transformOrigin,svgOrigin",s=r.style,a,l,c,u,f,p,d,m;n.svg?(c=r.getAttribute("transform"),r.setAttribute("transform",""),s[we]=t,a=Un(r,1),Lr(r,we),r.setAttribute("transform",c)):(c=getComputedStyle(r)[we],s[we]=t,a=Un(r,1),s[we]=c);for(l in cr)c=n[l],u=a[l],c!==u&&i.indexOf(l)<0&&(d=Ke(c),m=Ke(u),f=d!==m?Mr(r,l,c,m):parseFloat(c),p=parseFloat(u),e._pt=new ot(e._pt,a,l,f,p-f,eo),e._pt.u=m||0,e._props.push(l));$a(a,n)};st("padding,margin,Width,Radius",function(o,e){var t="Top",r="Right",n="Bottom",i="Left",s=(e<3?[t,r,n,i]:[t+i,t+r,n+r,n+i]).map(function(a){return e<2?o+a:"border"+a+o});qi[e>1?"border"+o:o]=function(a,l,c,u,f){var p,d;if(arguments.length<4)return p=s.map(function(m){return lr(a,m,c)}),d=p.join(" "),d.split(p[0]).length===5?p[0]:d;p=(u+"").split(" "),d={},s.forEach(function(m,h){return d[m]=p[h]=p[h]||p[(h-1)/2|0]}),a.init(l,d,f)}});var lo={name:"css",register:ro,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,n,i){var s=this._props,a=e.style,l=r.vars.startAt,c,u,f,p,d,m,h,g,E,v,w,b,y,S,T,M,L;io||ro(),this.styles=this.styles||Ja(e),M=this.styles.props,this.tween=r;for(h in t)if(h!=="autoRound"&&(u=t[h],!(ht[h]&&Us(h,t,r,n,e,i)))){if(d=typeof u,m=qi[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+="",or.lastIndex=0,or.test(c)||(g=Ke(c),E=Ke(u),E?g!==E&&(c=Mr(e,h,c,E)+E):g&&(u+=g)),this.add(a,"setProperty",c,u,n,i,0,0,h),s.push(h),M.push(h,0,a[h]);else if(d!=="undefined"){if(l&&h in l?(c=typeof l[h]=="function"?l[h].call(r,n,e,i):l[h],qe(c)&&~c.indexOf("random(")&&(c=pn(c)),Ke(c+"")||c==="auto"||(c+=_t.units[h]||Ke(lr(e,h))||""),(c+"").charAt(1)==="="&&(c=lr(e,h))):c=lr(e,h),p=parseFloat(c),v=d==="string"&&u.charAt(1)==="="&&u.substr(0,2),v&&(u=u.substr(2)),f=parseFloat(u),h in Qt&&(h==="autoAlpha"&&(p===1&&lr(e,"visibility")==="hidden"&&f&&(p=0),M.push("visibility",0,a.visibility),Sr(this,a,"visibility",p?"inherit":"hidden",f?"inherit":"hidden",!f)),h!=="scale"&&h!=="transform"&&(h=Qt[h],~h.indexOf(",")&&(h=h.split(",")[0]))),w=h in cr,w){if(this.styles.save(h),L=u,d==="string"&&u.substring(0,6)==="var(--"){if(u=St(e,u.substring(4,u.indexOf(")"))),u.substring(0,5)==="calc("){var x=e.style.perspective;e.style.perspective=u,u=St(e,"perspective"),x?e.style.perspective=x:Lr(e,"perspective")}f=parseFloat(u)}if(b||(y=e._gsap,y.renderTransform&&!t.parseTransform||Un(e,t.parseTransform),S=t.smoothOrigin!==!1&&y.smooth,b=this._pt=new ot(this._pt,a,we,0,1,y.renderTransform,y,0,-1),b.dep=1),h==="scale")this._pt=new ot(this._pt,y,"scaleY",y.scaleY,(v?zr(y.scaleY,v+f):f)-y.scaleY||0,eo),this._pt.u=0,s.push("scaleY",h),h+="X";else if(h==="transformOrigin"){M.push(yt,0,a[yt]),u=Cd(u),y.svg?no(e,u,0,S,0,this):(E=parseFloat(u.split(" ")[2])||0,E!==y.zOrigin&&Sr(this,y,"zOrigin",y.zOrigin,E),Sr(this,a,h,Ni(c),Ni(u)));continue}else if(h==="svgOrigin"){no(e,u,1,S,0,this);continue}else if(h in nl){Id(this,y,h,p,v?zr(p,v+u):u);continue}else if(h==="smoothOrigin"){Sr(this,y,"smooth",y.smooth,u);continue}else if(h==="force3D"){y[h]=u;continue}else if(h==="transform"){Dd(this,u,e);continue}}else h in a||(h=_n(h)||h);if(w||(f||f===0)&&(p||p===0)&&!md.test(u)&&h in a)g=(c+"").substr((p+"").length),f||(f=0),E=Ke(u)||(h in _t.units?_t.units[h]:g),g!==E&&(p=Mr(e,h,c,E)),this._pt=new ot(this._pt,w?y:a,h,p,(v?zr(p,v+f):f)-p,!w&&(E==="px"||h==="zIndex")&&t.autoRound!==!1?vd:eo),this._pt.u=E||0,w&&L!==u?(this._pt.b=c,this._pt.e=L,this._pt.r=yd):g!==E&&E!=="%"&&(this._pt.b=c,this._pt.r=_d);else if(h in a)kd.call(this,e,h,c,v?v+u:u);else if(h in e)this.add(e,h,c||e[h],v?v+u:u,n,i);else if(h!=="parseTransform"){Hi(h,u);continue}w||(h in a?M.push(h,0,a[h]):typeof e[h]=="function"?M.push(h,2,e[h]()):M.push(h,1,c||e[h])),s.push(h)}}T&&Zs(this)},render:function(e,t){if(t.tween._time||!so())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:lr,aliases:Qt,getSetter:function(e,t,r){var n=Qt[t];return n&&n.indexOf(",")<0&&(t=n),t in cr&&t!==yt&&(e._gsap.x||lr(e,"x"))?r&&za===r?t==="scale"?xd:Ed:(za=r||{})&&(t==="scale"?Td:Sd):e.style&&!Pi(e.style[t])?bd:~t.indexOf("-")?wd:Ri(e,t)},core:{_removeProperty:Lr,_getMatrix:ao}};et.utils.checkPrefix=_n;et.core.getStyleSaver=Ja;(function(o,e,t,r){var n=st(o+","+e+","+t,function(i){cr[i]=1});st(e,function(i){_t.units[i]="deg",nl[i]=1}),Qt[n[13]]=o+","+e,st(r,function(i){var s=i.split(":");Qt[s[1]]=n[s[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");st("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(o){_t.units[o]="px"});et.registerPlugin(lo);var Oe=et.registerPlugin(lo)||et,Ff=Oe.core.Tween;function ol(o,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(o,r.key,r)}}function Rd(o,e,t){return e&&ol(o.prototype,e),t&&ol(o,t),o}var $e,zi,qd,Lt,Ar,kr,vn,ll,Ur,$n,cl,ur,Gt,ul,dl=function(){return $e||typeof window<"u"&&($e=window.gsap)&&$e.registerPlugin&&$e},fl=1,yn=[],Q=[],Vt=[],jn=Date.now,co=function(e,t){return t},Nd=function(){var e=$n.core,t=e.bridge||{},r=e._scrollers,n=e._proxies;r.push.apply(r,Q),n.push.apply(n,Vt),Q=r,Vt=n,co=function(s,a){return t[s](a)}},fr=function(e,t){return~Vt.indexOf(e)&&Vt[Vt.indexOf(e)+1][t]},Qn=function(e){return!!~cl.indexOf(e)},lt=function(e,t,r,n,i){return e.addEventListener(t,r,{passive:n!==!1,capture:!!i})},at=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},Fi="scrollLeft",Bi="scrollTop",uo=function(){return ur&&ur.isPressed||Q.cache++},Wi=function(e,t){var r=function n(i){if(i||i===0){fl&&(Lt.history.scrollRestoration="manual");var s=ur&&ur.isPressed;i=n.v=Math.round(i)||(ur&&ur.iOS?1:0),e(i),n.cacheID=Q.cache,s&&co("ss",i)}else(t||Q.cache!==n.cacheID||co("ref"))&&(n.cacheID=Q.cache,n.v=e());return n.v+n.offset};return r.offset=0,e&&r},tt={s:Fi,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Wi(function(o){return arguments.length?Lt.scrollTo(o,Ie.sc()):Lt.pageXOffset||Ar[Fi]||kr[Fi]||vn[Fi]||0})},Ie={s:Bi,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:tt,sc:Wi(function(o){return arguments.length?Lt.scrollTo(tt.sc(),o):Lt.pageYOffset||Ar[Bi]||kr[Bi]||vn[Bi]||0})},ct=function(e,t){return(t&&t._ctx&&t._ctx.selector||$e.utils.toArray)(e)[0]||(typeof e=="string"&&$e.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},Fd=function(e,t){for(var r=t.length;r--;)if(t[r]===e||t[r].contains(e))return!0;return!1},dr=function(e,t){var r=t.s,n=t.sc;Qn(e)&&(e=Ar.scrollingElement||kr);var i=Q.indexOf(e),s=n===Ie.sc?1:2;!~i&&(i=Q.push(e)-1),Q[i+s]||lt(e,"scroll",uo);var a=Q[i+s],l=a||(Q[i+s]=Wi(fr(e,r),!0)||(Qn(e)?n:Wi(function(c){return arguments.length?e[r]=c:e[r]})));return l.target=e,a||(l.smooth=$e.getProperty(e,"scrollBehavior")==="smooth"),l},Gi=function(e,t,r){var n=e,i=e,s=jn(),a=s,l=t||50,c=Math.max(500,l*3),u=function(m,h){var g=jn();h||g-s>l?(i=n,n=m,a=s,s=g):r?n+=m:n=i+(m-i)/(g-a)*(s-a)},f=function(){i=n=r?0:n,a=s=0},p=function(m){var h=a,g=i,E=jn();return(m||m===0)&&m!==n&&u(m),s===a||E-a>c?0:(n+(r?g:-g))/((r?E:s)-h)*1e3};return{update:u,reset:f,getVelocity:p}},Kn=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},al=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},pl=function(){$n=$e.core.globals().ScrollTrigger,$n&&$n.core&&Nd()},hl=function(e){return $e=e||dl(),!zi&&$e&&typeof document<"u"&&document.body&&(Lt=window,Ar=document,kr=Ar.documentElement,vn=Ar.body,cl=[Lt,Ar,kr,vn],qd=$e.utils.clamp,ul=$e.core.context||function(){},Ur="onpointerenter"in vn?"pointer":"mouse",ll=Le.isTouch=Lt.matchMedia&&Lt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Lt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Gt=Le.eventTypes=("ontouchstart"in kr?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in kr?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return fl=0},500),pl(),zi=1),zi};tt.op=Ie;Q.cache=0;var Le=function(){function o(t){this.init(t)}var e=o.prototype;return e.init=function(r){zi||hl($e)||console.warn("Please gsap.registerPlugin(Observer)"),$n||pl();var n=r.tolerance,i=r.dragMinimum,s=r.type,a=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,E=r.onDragEnd,v=r.onDrag,w=r.onPress,b=r.onRelease,y=r.onRight,S=r.onLeft,T=r.onUp,M=r.onDown,L=r.onChangeX,x=r.onChangeY,P=r.onChange,k=r.onToggleX,H=r.onToggleY,q=r.onHover,N=r.onHoverEnd,D=r.onMove,C=r.ignoreCheck,R=r.isNormalizer,F=r.onGestureStart,_=r.onGestureEnd,B=r.onWheel,K=r.onEnable,te=r.onDisable,V=r.onClick,se=r.scrollSpeed,me=r.capture,ae=r.allowClicks,Ee=r.lockAxis,Pe=r.onLockAxis;this.target=a=ct(a)||kr,this.vars=r,d&&(d=$e.utils.toArray(d)),n=n||1e-9,i=i||0,m=m||1,se=se||1,s=s||"wheel,touch,pointer",c=c!==!1,l||(l=parseFloat(Lt.getComputedStyle(vn).lineHeight)||22);var qt,Ge,Me,j,fe,pt,vt,A=this,bt=0,er=0,pe=r.passive||!u&&r.passive!==!1,le=dr(a,tt),tr=dr(a,Ie),mr=le(),Hr=tr(),Fe=~s.indexOf("touch")&&!~s.indexOf("pointer")&&Gt[0]==="pointerdown",gr=Qn(a),Ae=a.ownerDocument||Ar,Nt=[0,0,0],Ct=[0,0,0],rr=0,Pn=function(){return rr=jn()},He=function(G,ie){return(A.event=G)&&d&&Fd(G.target,d)||ie&&Fe&&G.pointerType!=="touch"||C&&C(G,ie)},vi=function(){A._vx.reset(),A._vy.reset(),Ge.pause(),f&&f(A)},nr=function(){var G=A.deltaX=al(Nt),ie=A.deltaY=al(Ct),O=Math.abs(G)>=n,Y=Math.abs(ie)>=n;P&&(O||Y)&&P(A,G,ie,Nt,Ct),O&&(y&&A.deltaX>0&&y(A),S&&A.deltaX<0&&S(A),L&&L(A),k&&A.deltaX<0!=bt<0&&k(A),bt=A.deltaX,Nt[0]=Nt[1]=Nt[2]=0),Y&&(M&&A.deltaY>0&&M(A),T&&A.deltaY<0&&T(A),x&&x(A),H&&A.deltaY<0!=er<0&&H(A),er=A.deltaY,Ct[0]=Ct[1]=Ct[2]=0),(j||Me)&&(D&&D(A),Me&&(g&&Me===1&&g(A),v&&v(A),Me=0),j=!1),pt&&!(pt=!1)&&Pe&&Pe(A),fe&&(B(A),fe=!1),qt=0},nn=function(G,ie,O){Nt[O]+=G,Ct[O]+=ie,A._vx.update(G),A._vy.update(ie),c?qt||(qt=requestAnimationFrame(nr)):nr()},sn=function(G,ie){Ee&&!vt&&(A.axis=vt=Math.abs(G)>Math.abs(ie)?"x":"y",pt=!0),vt!=="y"&&(Nt[2]+=G,A._vx.update(G,!0)),vt!=="x"&&(Ct[2]+=ie,A._vy.update(ie,!0)),c?qt||(qt=requestAnimationFrame(nr)):nr()},_r=function(G){if(!He(G,1)){G=Kn(G,u);var ie=G.clientX,O=G.clientY,Y=ie-A.x,z=O-A.y,X=A.isDragging;A.x=ie,A.y=O,(X||(Y||z)&&(Math.abs(A.startX-ie)>=i||Math.abs(A.startY-O)>=i))&&(Me||(Me=X?2:1),X||(A.isDragging=!0),sn(Y,z))}},Or=A.onPress=function(U){He(U,1)||U&&U.button||(A.axis=vt=null,Ge.pause(),A.isPressed=!0,U=Kn(U),bt=er=0,A.startX=A.x=U.clientX,A.startY=A.y=U.clientY,A._vx.reset(),A._vy.reset(),lt(R?a:Ae,Gt[1],_r,pe,!0),A.deltaX=A.deltaY=0,w&&w(A))},ee=A.onRelease=function(U){if(!He(U,1)){at(R?a:Ae,Gt[1],_r,!0);var G=!isNaN(A.y-A.startY),ie=A.isDragging,O=ie&&(Math.abs(A.x-A.startX)>3||Math.abs(A.y-A.startY)>3),Y=Kn(U);!O&&G&&(A._vx.reset(),A._vy.reset(),u&&ae&&$e.delayedCall(.08,function(){if(jn()-rr>300&&!U.defaultPrevented){if(U.target.click)U.target.click();else if(Ae.createEvent){var z=Ae.createEvent("MouseEvents");z.initMouseEvent("click",!0,!0,Lt,1,Y.screenX,Y.screenY,Y.clientX,Y.clientY,!1,!1,!1,!1,0,null),U.target.dispatchEvent(z)}}})),A.isDragging=A.isGesturing=A.isPressed=!1,f&&ie&&!R&&Ge.restart(!0),Me&&nr(),E&&ie&&E(A),b&&b(A,O)}},Ir=function(G){return G.touches&&G.touches.length>1&&(A.isGesturing=!0)&&F(G,A.isDragging)},Ft=function(){return(A.isGesturing=!1)||_(A)},Bt=function(G){if(!He(G)){var ie=le(),O=tr();nn((ie-mr)*se,(O-Hr)*se,1),mr=ie,Hr=O,f&&Ge.restart(!0)}},zt=function(G){if(!He(G)){G=Kn(G,u),B&&(fe=!0);var ie=(G.deltaMode===1?l:G.deltaMode===2?Lt.innerHeight:1)*m;nn(G.deltaX*ie,G.deltaY*ie,0),f&&!R&&Ge.restart(!0)}},Dr=function(G){if(!He(G)){var ie=G.clientX,O=G.clientY,Y=ie-A.x,z=O-A.y;A.x=ie,A.y=O,j=!0,f&&Ge.restart(!0),(Y||z)&&sn(Y,z)}},on=function(G){A.event=G,q(A)},ir=function(G){A.event=G,N(A)},Hn=function(G){return He(G)||Kn(G,u)&&V(A)};Ge=A._dc=$e.delayedCall(p||.25,vi).pause(),A.deltaX=A.deltaY=0,A._vx=Gi(0,50,!0),A._vy=Gi(0,50,!0),A.scrollX=le,A.scrollY=tr,A.isDragging=A.isGesturing=A.isPressed=!1,ul(this),A.enable=function(U){return A.isEnabled||(lt(gr?Ae:a,"scroll",uo),s.indexOf("scroll")>=0&&lt(gr?Ae:a,"scroll",Bt,pe,me),s.indexOf("wheel")>=0&&lt(a,"wheel",zt,pe,me),(s.indexOf("touch")>=0&&ll||s.indexOf("pointer")>=0)&&(lt(a,Gt[0],Or,pe,me),lt(Ae,Gt[2],ee),lt(Ae,Gt[3],ee),ae&&lt(a,"click",Pn,!0,!0),V&&lt(a,"click",Hn),F&&lt(Ae,"gesturestart",Ir),_&&lt(Ae,"gestureend",Ft),q&&lt(a,Ur+"enter",on),N&&lt(a,Ur+"leave",ir),D&&lt(a,Ur+"move",Dr)),A.isEnabled=!0,A.isDragging=A.isGesturing=A.isPressed=j=Me=!1,A._vx.reset(),A._vy.reset(),mr=le(),Hr=tr(),U&&U.type&&Or(U),K&&K(A)),A},A.disable=function(){A.isEnabled&&(yn.filter(function(U){return U!==A&&Qn(U.target)}).length||at(gr?Ae:a,"scroll",uo),A.isPressed&&(A._vx.reset(),A._vy.reset(),at(R?a:Ae,Gt[1],_r,!0)),at(gr?Ae:a,"scroll",Bt,me),at(a,"wheel",zt,me),at(a,Gt[0],Or,me),at(Ae,Gt[2],ee),at(Ae,Gt[3],ee),at(a,"click",Pn,!0),at(a,"click",Hn),at(Ae,"gesturestart",Ir),at(Ae,"gestureend",Ft),at(a,Ur+"enter",on),at(a,Ur+"leave",ir),at(a,Ur+"move",Dr),A.isEnabled=A.isPressed=A.isDragging=!1,te&&te(A))},A.kill=A.revert=function(){A.disable();var U=yn.indexOf(A);U>=0&&yn.splice(U,1),ur===A&&(ur=0)},yn.push(A),R&&Qn(a)&&(ur=A),A.enable(h)},Rd(o,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),o}();Le.version="3.14.2";Le.create=function(o){return new Le(o)};Le.register=hl;Le.getAll=function(){return yn.slice()};Le.getById=function(o){return yn.filter(function(e){return e.vars.id===o})[0]};dl()&&$e.registerPlugin(Le);var I,En,J,he,kt,oe,Lo,ss,di,ii,Jn,Vi,rt,ls,vo,dt,ml,gl,xn,Hl,fo,Ol,ut,bo,Il,Dl,Cr,wo,Mo,Tn,Ao,si,Eo,po,Yi=1,nt=Date.now,ho=nt(),Rt=0,ei=0,_l=function(e,t,r){var n=At(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=n,n?e.substr(6,e.length-7):e},yl=function(e,t){return t&&(!At(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},Bd=function o(){return ei&&requestAnimationFrame(o)},vl=function(){return ls=1},bl=function(){return ls=0},Zt=function(e){return e},ti=function(e){return Math.round(e*1e5)/1e5||0},Rl=function(){return typeof window<"u"},ql=function(){return I||Rl()&&(I=window.gsap)&&I.registerPlugin&&I},Jr=function(e){return!!~Lo.indexOf(e)},Nl=function(e){return(e==="Height"?Ao:J["inner"+e])||kt["client"+e]||oe["client"+e]},Fl=function(e){return fr(e,"getBoundingClientRect")||(Jr(e)?function(){return is.width=J.innerWidth,is.height=Ao,is}:function(){return pr(e)})},zd=function(e,t,r){var n=r.d,i=r.d2,s=r.a;return(s=fr(e,"getBoundingClientRect"))?function(){return s()[n]}:function(){return(t?Nl(i):e["client"+i])||0}},Wd=function(e,t){return!t||~Vt.indexOf(e)?Fl(e):function(){return is}},Jt=function(e,t){var r=t.s,n=t.d2,i=t.d,s=t.a;return Math.max(0,(r="scroll"+n)&&(s=fr(e,r))?s()-Fl(e)()[i]:Jr(e)?(kt[r]||oe[r])-Nl(n):e[r]-e["offset"+n])},Xi=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])},At=function(e){return typeof e=="string"},it=function(e){return typeof e=="function"},ri=function(e){return typeof e=="number"},Kr=function(e){return typeof e=="object"},Zn=function(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()},mo=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,Bl="left",zl="top",ko="right",Co="bottom",jr="width",Qr="height",oi="Right",ai="Left",li="Top",ci="Bottom",De="padding",It="margin",Ln="Width",Po="Height",Ne="px",Dt=function(e){return J.getComputedStyle(e)},Gd=function(e){var t=Dt(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative"},wl=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},pr=function(e,t){var r=t&&Dt(e)[vo]!=="matrix(1, 0, 0, 1, 0, 0)"&&I.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},os=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},Wl=function(e){var t=[],r=e.labels,n=e.duration(),i;for(i in r)t.push(r[i]/n);return t},Vd=function(e){return function(t){return I.utils.snap(Wl(e),t)}},Ho=function(e){var t=I.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(n,i){return n-i});return r?function(n,i,s){s===void 0&&(s=.001);var a;if(!i)return t(n);if(i>0){for(n-=s,a=0;a<r.length;a++)if(r[a]>=n)return r[a];return r[a-1]}else for(a=r.length,n+=s;a--;)if(r[a]<=n)return r[a];return r[0]}:function(n,i,s){s===void 0&&(s=.001);var a=t(n);return!i||Math.abs(a-n)<s||a-n<0==i<0?a:t(i<0?n-e:n+e)}},Yd=function(e){return function(t,r){return Ho(Wl(e))(t,r.direction)}},Ui=function(e,t,r,n){return r.split(",").forEach(function(i){return e(t,i,n)})},We=function(e,t,r,n,i){return e.addEventListener(t,r,{passive:!n,capture:!!i})},ze=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},Ki=function(e,t,r){r=r&&r.wheelHandler,r&&(e(t,"wheel",r),e(t,"touchmove",r))},El={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},$i={toggleActions:"play",anticipatePin:0},as={top:0,left:0,center:.5,bottom:1,right:1},es=function(e,t){if(At(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 as?as[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},ji=function(e,t,r,n,i,s,a,l){var c=i.startColor,u=i.endColor,f=i.fontSize,p=i.indent,d=i.fontWeight,m=he.createElement("div"),h=Jr(r)||fr(r,"pinType")==="fixed",g=e.indexOf("scroller")!==-1,E=h?oe:r,v=e.indexOf("start")!==-1,w=v?c:u,b="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 b+="position:"+((g||l)&&h?"fixed;":"absolute;"),(g||l||!h)&&(b+=(n===Ie?ko:Co)+":"+(s+parseFloat(p))+"px;"),a&&(b+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),m._isStart=v,m.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),m.style.cssText=b,m.innerText=t||t===0?e+"-"+t:e,E.children[0]?E.insertBefore(m,E.children[0]):E.appendChild(m),m._offset=m["offset"+n.op.d2],ts(m,0,n,v),m},ts=function(e,t,r,n){var i={display:"block"},s=r[n?"os2":"p2"],a=r[n?"p2":"os2"];e._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+s+Ln]=1,i["border"+a+Ln]=0,i[r.p]=t+"px",I.set(e,i)},Z=[],xo={},fi,xl=function(){return nt()-Rt>34&&(fi||(fi=requestAnimationFrame(hr)))},wn=function(){(!ut||!ut.isPressed||ut.startX>oe.clientWidth)&&(Q.cache++,ut?fi||(fi=requestAnimationFrame(hr)):hr(),Rt||tn("scrollStart"),Rt=nt())},go=function(){Dl=J.innerWidth,Il=J.innerHeight},ni=function(e){Q.cache++,(e===!0||!rt&&!Ol&&!he.fullscreenElement&&!he.webkitFullscreenElement&&(!bo||Dl!==J.innerWidth||Math.abs(J.innerHeight-Il)>J.innerHeight*.25))&&ss.restart(!0)},en={},Xd=[],Gl=function o(){return ze(W,"scrollEnd",o)||$r(!0)},tn=function(e){return en[e]&&en[e].map(function(t){return t()})||Xd},Mt=[],Vl=function(e){for(var t=0;t<Mt.length;t+=5)(!e||Mt[t+4]&&Mt[t+4].query===e)&&(Mt[t].style.cssText=Mt[t+1],Mt[t].getBBox&&Mt[t].setAttribute("transform",Mt[t+2]||""),Mt[t+3].uncache=1)},Yl=function(){return Q.forEach(function(e){return it(e)&&++e.cacheID&&(e.rec=e())})},Oo=function(e,t){var r;for(dt=0;dt<Z.length;dt++)r=Z[dt],r&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));si=!0,t&&Vl(t),t||tn("revert")},Xl=function(e,t){Q.cache++,(t||!ft)&&Q.forEach(function(r){return it(r)&&r.cacheID++&&(r.rec=0)}),At(e)&&(J.history.scrollRestoration=Mo=e)},ft,Zr=0,Tl,Ud=function(){if(Tl!==Zr){var e=Tl=Zr;requestAnimationFrame(function(){return e===Zr&&$r(!0)})}},Ul=function(){oe.appendChild(Tn),Ao=!ut&&Tn.offsetHeight||J.innerHeight,oe.removeChild(Tn)},Sl=function(e){return di(".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(kt=he.documentElement,oe=he.body,Lo=[J,he,kt,oe],Rt&&!e&&!si){We(W,"scrollEnd",Gl);return}Ul(),ft=W.isRefreshing=!0,si||Yl();var r=tn("refreshInit");Hl&&W.sort(),t||Oo(),Q.forEach(function(n){it(n)&&(n.smooth&&(n.target.style.scrollBehavior="auto"),n(0))}),Z.slice(0).forEach(function(n){return n.refresh()}),si=!1,Z.forEach(function(n){if(n._subPinOffset&&n.pin){var i=n.vars.horizontal?"offsetWidth":"offsetHeight",s=n.pin[i];n.revert(!0,1),n.adjustPinSpacing(n.pin[i]-s),n.refresh()}}),Eo=1,Sl(!0),Z.forEach(function(n){var i=Jt(n.scroller,n._dir),s=n.vars.end==="max"||n._endClamp&&n.end>i,a=n._startClamp&&n.start>=i;(s||a)&&n.setPositions(a?i-1:n.start,s?Math.max(a?i:n.start+1,i):n.end,!0)}),Sl(!1),Eo=0,r.forEach(function(n){return n&&n.render&&n.render(-1)}),Q.forEach(function(n){it(n)&&(n.smooth&&requestAnimationFrame(function(){return n.target.style.scrollBehavior="smooth"}),n.rec&&n(n.rec))}),Xl(Mo,1),ss.pause(),Zr++,ft=2,hr(2),Z.forEach(function(n){return it(n.vars.onRefresh)&&n.vars.onRefresh(n)}),ft=W.isRefreshing=!1,tn("refresh")},To=0,rs=1,ui,hr=function(e){if(e===2||!ft&&!si){W.isUpdating=!0,ui&&ui.update(0);var t=Z.length,r=nt(),n=r-ho>=50,i=t&&Z[0].scroll();if(rs=To>i?-1:1,ft||(To=i),n&&(Rt&&!ls&&r-Rt>200&&(Rt=0,tn("scrollEnd")),Jn=ho,ho=r),rs<0){for(dt=t;dt-- >0;)Z[dt]&&Z[dt].update(0,n);rs=1}else for(dt=0;dt<t;dt++)Z[dt]&&Z[dt].update(0,n);W.isUpdating=!1}fi=0},So=[Bl,zl,Co,ko,It+ci,It+oi,It+li,It+ai,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],ns=So.concat([jr,Qr,"boxSizing","max"+Ln,"max"+Po,"position",It,De,De+li,De+oi,De+ci,De+ai]),Kd=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},_o=function(e,t,r,n){if(!e._gsap.swappedIn){for(var i=So.length,s=t.style,a=e.style,l;i--;)l=So[i],s[l]=r[l];s.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(s.display="inline-block"),a[Co]=a[ko]="auto",s.flexBasis=r.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[jr]=os(e,tt)+Ne,s[Qr]=os(e,Ie)+Ne,s[De]=a[It]=a[zl]=a[Bl]="0",Sn(n),a[jr]=a["max"+Ln]=r[jr],a[Qr]=a["max"+Po]=r[Qr],a[De]=r[De],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},$d=/([A-Z])/g,Sn=function(e){if(e){var t=e.t.style,r=e.length,n=0,i,s;for((e.t._gsap||I.core.getCache(e.t)).uncache=1;n<r;n+=2)s=e[n+1],i=e[n],s?t[i]=s:t[i]&&t.removeProperty(i.replace($d,"-$1").toLowerCase())}},Qi=function(e){for(var t=ns.length,r=e.style,n=[],i=0;i<t;i++)n.push(ns[i],r[ns[i]]);return n.t=e,n},jd=function(e,t,r){for(var n=[],i=e.length,s=r?8:0,a;s<i;s+=2)a=e[s],n.push(a,a in t?t[a]:e[s+1]);return n.t=e.t,n},is={left:0,top:0},Ll=function(e,t,r,n,i,s,a,l,c,u,f,p,d,m){it(e)&&(e=e(l)),At(e)&&e.substr(0,3)==="max"&&(e=p+(e.charAt(4)==="="?es("0"+e.substr(3),r):0));var h=d?d.time():0,g,E,v;if(d&&d.seek(0),isNaN(e)||(e=+e),ri(e))d&&(e=I.utils.mapRange(d.scrollTrigger.start,d.scrollTrigger.end,0,p,e)),a&&ts(a,r,n,!0);else{it(t)&&(t=t(l));var w=(e||"0").split(" "),b,y,S,T;v=ct(t,l)||oe,b=pr(v)||{},(!b||!b.left&&!b.top)&&Dt(v).display==="none"&&(T=v.style.display,v.style.display="block",b=pr(v),T?v.style.display=T:v.style.removeProperty("display")),y=es(w[0],b[n.d]),S=es(w[1]||"0",r),e=b[n.p]-c[n.p]-u+y+i-S,a&&ts(a,S,n,r-S<20||a._isStart&&S>20),r-=r-S}if(m&&(l[m]=e||-.001,e<0&&(e=0)),s){var M=e+r,L=s._isStart;g="scroll"+n.d2,ts(s,M,n,L&&M>20||!L&&(f?Math.max(oe[g],kt[g]):s.parentNode[g])<=M+1),f&&(c=pr(a),f&&(s.style[n.op.p]=c[n.op.p]-n.op.m-s._offset+Ne))}return d&&v&&(g=pr(v),d.seek(p),E=pr(v),d._caScrollDist=g[n.p]-E[n.p],e=e/d._caScrollDist*p),d&&d.seek(h),d?e:Math.round(e)},Qd=/(webkit|moz|length|cssText|inset)/i,Ml=function(e,t,r,n){if(e.parentNode!==t){var i=e.style,s,a;if(t===oe){e._stOrig=i.cssText,a=Dt(e);for(s in a)!+s&&!Qd.test(s)&&a[s]&&typeof i[s]=="string"&&s!=="0"&&(i[s]=a[s]);i.top=r,i.left=n}else i.cssText=e._stOrig;I.core.getCache(e).uncache=1,t.appendChild(e)}},Kl=function(e,t,r){var n=t,i=n;return function(s){var a=Math.round(e());return a!==n&&a!==i&&Math.abs(a-n)>3&&Math.abs(a-i)>3&&(s=a,r&&r()),i=n,n=Math.round(s),n}},Zi=function(e,t,r){var n={};n[t.p]="+="+r,I.set(e,n)},Al=function(e,t){var r=dr(e,t),n="_scroll"+t.p2,i=function s(a,l,c,u,f){var p=s.tween,d=l.onComplete,m={};c=c||r();var h=Kl(r,c,function(){p.kill(),s.tween=0});return f=u&&f||0,u=u||a-c,p&&p.kill(),l[n]=a,l.inherit=!1,l.modifiers=m,m[n]=function(){return h(c+u*p.ratio+f*p.ratio*p.ratio)},l.onUpdate=function(){Q.cache++,s.tween&&hr()},l.onComplete=function(){s.tween=0,d&&d.call(p)},p=s.tween=I.to(e,l),p};return e[n]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},We(e,"wheel",r.wheelHandler),W.isTouch&&We(e,"touchmove",r.wheelHandler),i},W=function(){function o(t,r){En||o.register(I)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),wo(this),this.init(t,r)}var e=o.prototype;return e.init=function(r,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!ei){this.update=this.refresh=this.kill=Zt;return}r=wl(At(r)||ri(r)||r.nodeType?{trigger:r}:r,$i);var i=r,s=i.onUpdate,a=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,E=i.onScrubComplete,v=i.onSnapComplete,w=i.once,b=i.snap,y=i.pinReparent,S=i.pinSpacer,T=i.containerAnimation,M=i.fastScrollEnd,L=i.preventOverlaps,x=r.horizontal||r.containerAnimation&&r.horizontal!==!1?tt:Ie,P=!f&&f!==0,k=ct(r.scroller||J),H=I.core.getCache(k),q=Jr(k),N=("pinType"in r?r.pinType:fr(k,"pinType")||q&&"fixed")==="fixed",D=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],C=P&&r.toggleActions.split(" "),R="markers"in r?r.markers:$i.markers,F=q?0:parseFloat(Dt(k)["border"+x.p2+Ln])||0,_=this,B=r.onRefreshInit&&function(){return r.onRefreshInit(_)},K=zd(k,q,x),te=Wd(k,q),V=0,se=0,me=0,ae=dr(k,x),Ee,Pe,qt,Ge,Me,j,fe,pt,vt,A,bt,er,pe,le,tr,mr,Hr,Fe,gr,Ae,Nt,Ct,rr,Pn,He,vi,nr,nn,sn,_r,Or,ee,Ir,Ft,Bt,zt,Dr,on,ir;if(_._startClamp=_._endClamp=!1,_._dir=x,g*=45,_.scroller=k,_.scroll=T?T.time.bind(T):ae,Ge=ae(),_.vars=r,n=n||r.animation,"refreshPriority"in r&&(Hl=1,r.refreshPriority===-9999&&(ui=_)),H.tweenScroll=H.tweenScroll||{top:Al(k,Ie),left:Al(k,tt)},_.tweenTo=Ee=H.tweenScroll[x.p],_.scrubDuration=function(O){Ir=ri(O)&&O,Ir?ee?ee.duration(O):ee=I.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Ir,paused:!0,onComplete:function(){return E&&E(_)}}):(ee&&ee.progress(1).kill(),ee=0)},n&&(n.vars.lazy=!1,n._initted&&!_.isReverted||n.vars.immediateRender!==!1&&r.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),_.animation=n.pause(),n.scrollTrigger=_,_.scrubDuration(f),_r=0,l||(l=n.vars.id)),b&&((!Kr(b)||b.push)&&(b={snapTo:b}),"scrollBehavior"in oe.style&&I.set(q?[oe,kt]:k,{scrollBehavior:"auto"}),Q.forEach(function(O){return it(O)&&O.target===(q?he.scrollingElement||kt:k)&&(O.smooth=!1)}),qt=it(b.snapTo)?b.snapTo:b.snapTo==="labels"?Vd(n):b.snapTo==="labelsDirectional"?Yd(n):b.directional!==!1?function(O,Y){return Ho(b.snapTo)(O,nt()-se<500?0:Y.direction)}:I.utils.snap(b.snapTo),Ft=b.duration||{min:.1,max:2},Ft=Kr(Ft)?ii(Ft.min,Ft.max):ii(Ft,Ft),Bt=I.delayedCall(b.delay||Ir/2||.1,function(){var O=ae(),Y=nt()-se<500,z=Ee.tween;if((Y||Math.abs(_.getVelocity())<10)&&!z&&!ls&&V!==O){var X=(O-j)/le,Be=n&&!P?n.totalProgress():X,re=Y?0:(Be-Or)/(nt()-Jn)*1e3||0,ke=I.utils.clamp(-X,1-X,bn(re/2)*re/.185),je=X+(b.inertia===!1?0:ke),xe,ge,ce=b,Wt=ce.onStart,ye=ce.onInterrupt,wt=ce.onComplete;if(xe=qt(je,_),ri(xe)||(xe=je),ge=Math.max(0,Math.round(j+xe*le)),O<=fe&&O>=j&&ge!==O){if(z&&!z._initted&&z.data<=bn(ge-O))return;b.inertia===!1&&(ke=xe-X),Ee(ge,{duration:Ft(bn(Math.max(bn(je-Be),bn(xe-Be))*.185/re/.05||0)),ease:b.ease||"power3",data:bn(ge-O),onInterrupt:function(){return Bt.restart(!0)&&ye&&ye(_)},onComplete:function(){_.update(),V=ae(),n&&!P&&(ee?ee.resetTo("totalProgress",xe,n._tTime/n._tDur):n.progress(xe)),_r=Or=n&&!P?n.totalProgress():_.progress,v&&v(_),wt&&wt(_)}},O,ke*le,ge-O-ke*le),Wt&&Wt(_,Ee.tween)}}else _.isActive&&V!==O&&Bt.restart(!0)}).pause()),l&&(xo[l]=_),p=_.trigger=ct(p||d!==!0&&d),ir=p&&p._gsap&&p._gsap.stRevert,ir&&(ir=ir(_)),d=d===!0?p:ct(d),At(a)&&(a={targets:p,className:a}),d&&(m===!1||m===It||(m=!m&&d.parentNode&&d.parentNode.style&&Dt(d.parentNode).display==="flex"?!1:De),_.pin=d,Pe=I.core.getCache(d),Pe.spacer?tr=Pe.pinState:(S&&(S=ct(S),S&&!S.nodeType&&(S=S.current||S.nativeElement),Pe.spacerIsNative=!!S,S&&(Pe.spacerState=Qi(S))),Pe.spacer=Fe=S||he.createElement("div"),Fe.classList.add("pin-spacer"),l&&Fe.classList.add("pin-spacer-"+l),Pe.pinState=tr=Qi(d)),r.force3D!==!1&&I.set(d,{force3D:!0}),_.spacer=Fe=Pe.spacer,sn=Dt(d),Pn=sn[m+x.os2],Ae=I.getProperty(d),Nt=I.quickSetter(d,x.a,Ne),_o(d,Fe,sn),Hr=Qi(d)),R){er=Kr(R)?wl(R,El):El,A=ji("scroller-start",l,k,x,er,0),bt=ji("scroller-end",l,k,x,er,0,A),gr=A["offset"+x.op.d2];var Hn=ct(fr(k,"content")||k);pt=this.markerStart=ji("start",l,Hn,x,er,gr,0,T),vt=this.markerEnd=ji("end",l,Hn,x,er,gr,0,T),T&&(on=I.quickSetter([pt,vt],x.a,Ne)),!N&&!(Vt.length&&fr(k,"fixedMarkers")===!0)&&(Gd(q?oe:k),I.set([A,bt],{force3D:!0}),vi=I.quickSetter(A,x.a,Ne),nn=I.quickSetter(bt,x.a,Ne))}if(T){var U=T.vars.onUpdate,G=T.vars.onUpdateParams;T.eventCallback("onUpdate",function(){_.update(0,0,1),U&&U.apply(T,G||[])})}if(_.previous=function(){return Z[Z.indexOf(_)-1]},_.next=function(){return Z[Z.indexOf(_)+1]},_.revert=function(O,Y){if(!Y)return _.kill(!0);var z=O!==!1||!_.enabled,X=rt;z!==_.isReverted&&(z&&(zt=Math.max(ae(),_.scroll.rec||0),me=_.progress,Dr=n&&n.progress()),pt&&[pt,vt,A,bt].forEach(function(Be){return Be.style.display=z?"none":"block"}),z&&(rt=_,_.update(z)),d&&(!y||!_.isActive)&&(z?Kd(d,Fe,tr):_o(d,Fe,Dt(d),He)),z||_.update(z),rt=X,_.isReverted=z)},_.refresh=function(O,Y,z,X){if(!((rt||!_.enabled)&&!Y)){if(d&&O&&Rt){We(o,"scrollEnd",Gl);return}!ft&&B&&B(_),rt=_,Ee.tween&&!z&&(Ee.tween.kill(),Ee.tween=0),ee&&ee.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)),_.isReverted||_.revert(!0,!0),_._subPinOffset=!1;var Be=K(),re=te(),ke=T?T.duration():Jt(k,x),je=le<=.01||!le,xe=0,ge=X||0,ce=Kr(z)?z.end:r.end,Wt=r.endTrigger||p,ye=Kr(z)?z.start:r.start||(r.start===0||!p?0:d?"0 0":"0 100%"),wt=_.pinnedContainer=r.pinnedContainer&&ct(r.pinnedContainer,_),Yt=p&&Math.max(0,Z.indexOf(_))||0,Ve=Yt,Ye,Qe,Rr,bi,Ze,Re,Xt,ms,Uo,On,Ut,In,wi;for(R&&Kr(z)&&(In=I.getProperty(A,x.p),wi=I.getProperty(bt,x.p));Ve-- >0;)Re=Z[Ve],Re.end||Re.refresh(0,1)||(rt=_),Xt=Re.pin,Xt&&(Xt===p||Xt===d||Xt===wt)&&!Re.isReverted&&(On||(On=[]),On.unshift(Re),Re.revert(!0,!0)),Re!==Z[Ve]&&(Yt--,Ve--);for(it(ye)&&(ye=ye(_)),ye=_l(ye,"start",_),j=Ll(ye,p,Be,x,ae(),pt,A,_,re,F,N,ke,T,_._startClamp&&"_startClamp")||(d?-.001:0),it(ce)&&(ce=ce(_)),At(ce)&&!ce.indexOf("+=")&&(~ce.indexOf(" ")?ce=(At(ye)?ye.split(" ")[0]:"")+ce:(xe=es(ce.substr(2),Be),ce=At(ye)?ye:(T?I.utils.mapRange(0,T.duration(),T.scrollTrigger.start,T.scrollTrigger.end,j):j)+xe,Wt=p)),ce=_l(ce,"end",_),fe=Math.max(j,Ll(ce||(Wt?"100% 0":ke),Wt,Be,x,ae()+xe,vt,bt,_,re,F,N,ke,T,_._endClamp&&"_endClamp"))||-.001,xe=0,Ve=Yt;Ve--;)Re=Z[Ve]||{},Xt=Re.pin,Xt&&Re.start-Re._pinPush<=j&&!T&&Re.end>0&&(Ye=Re.end-(_._startClamp?Math.max(0,Re.start):Re.start),(Xt===p&&Re.start-Re._pinPush<j||Xt===wt)&&isNaN(ye)&&(xe+=Ye*(1-Re.progress)),Xt===d&&(ge+=Ye));if(j+=xe,fe+=xe,_._startClamp&&(_._startClamp+=xe),_._endClamp&&!ft&&(_._endClamp=fe||-.001,fe=Math.min(fe,Jt(k,x))),le=fe-j||(j-=.01)&&.001,je&&(me=I.utils.clamp(0,1,I.utils.normalize(j,fe,zt))),_._pinPush=ge,pt&&xe&&(Ye={},Ye[x.a]="+="+xe,wt&&(Ye[x.p]="-="+ae()),I.set([pt,vt],Ye)),d&&!(Eo&&_.end>=Jt(k,x)))Ye=Dt(d),bi=x===Ie,Rr=ae(),Ct=parseFloat(Ae(x.a))+ge,!ke&&fe>1&&(Ut=(q?he.scrollingElement||kt:k).style,Ut={style:Ut,value:Ut["overflow"+x.a.toUpperCase()]},q&&Dt(oe)["overflow"+x.a.toUpperCase()]!=="scroll"&&(Ut.style["overflow"+x.a.toUpperCase()]="scroll")),_o(d,Fe,Ye),Hr=Qi(d),Qe=pr(d,!0),ms=N&&dr(k,bi?tt:Ie)(),m?(He=[m+x.os2,le+ge+Ne],He.t=Fe,Ve=m===De?os(d,x)+le+ge:0,Ve&&(He.push(x.d,Ve+Ne),Fe.style.flexBasis!=="auto"&&(Fe.style.flexBasis=Ve+Ne)),Sn(He),wt&&Z.forEach(function(yr){yr.pin===wt&&yr.vars.pinSpacing!==!1&&(yr._subPinOffset=!0)}),N&&ae(zt)):(Ve=os(d,x),Ve&&Fe.style.flexBasis!=="auto"&&(Fe.style.flexBasis=Ve+Ne)),N&&(Ze={top:Qe.top+(bi?Rr-j:ms)+Ne,left:Qe.left+(bi?ms:Rr-j)+Ne,boxSizing:"border-box",position:"fixed"},Ze[jr]=Ze["max"+Ln]=Math.ceil(Qe.width)+Ne,Ze[Qr]=Ze["max"+Po]=Math.ceil(Qe.height)+Ne,Ze[It]=Ze[It+li]=Ze[It+oi]=Ze[It+ci]=Ze[It+ai]="0",Ze[De]=Ye[De],Ze[De+li]=Ye[De+li],Ze[De+oi]=Ye[De+oi],Ze[De+ci]=Ye[De+ci],Ze[De+ai]=Ye[De+ai],mr=jd(tr,Ze,y),ft&&ae(0)),n?(Uo=n._initted,fo(1),n.render(n.duration(),!0,!0),rr=Ae(x.a)-Ct+le+ge,nr=Math.abs(le-rr)>1,N&&nr&&mr.splice(mr.length-2,2),n.render(0,!0,!0),Uo||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),fo(0)):rr=le,Ut&&(Ut.value?Ut.style["overflow"+x.a.toUpperCase()]=Ut.value:Ut.style.removeProperty("overflow-"+x.a));else if(p&&ae()&&!T)for(Qe=p.parentNode;Qe&&Qe!==oe;)Qe._pinOffset&&(j-=Qe._pinOffset,fe-=Qe._pinOffset),Qe=Qe.parentNode;On&&On.forEach(function(yr){return yr.revert(!1,!0)}),_.start=j,_.end=fe,Ge=Me=ft?zt:ae(),!T&&!ft&&(Ge<zt&&ae(zt),_.scroll.rec=0),_.revert(!1,!0),se=nt(),Bt&&(V=-1,Bt.restart(!0)),rt=0,n&&P&&(n._initted||Dr)&&n.progress()!==Dr&&n.progress(Dr||0,!0).render(n.time(),!0,!0),(je||me!==_.progress||T||h||n&&!n._initted)&&(n&&!P&&(n._initted||me||n.vars.immediateRender!==!1)&&n.totalProgress(T&&j<-.001&&!me?I.utils.normalize(j,fe,0):me,!0),_.progress=je||(Ge-j)/le===me?0:me),d&&m&&(Fe._pinOffset=Math.round(_.progress*rr)),ee&&ee.invalidate(),isNaN(In)||(In-=I.getProperty(A,x.p),wi-=I.getProperty(bt,x.p),Zi(A,x,In),Zi(pt,x,In-(X||0)),Zi(bt,x,wi),Zi(vt,x,wi-(X||0))),je&&!ft&&_.update(),u&&!ft&&!pe&&(pe=!0,u(_),pe=!1)}},_.getVelocity=function(){return(ae()-Me)/(nt()-Jn)*1e3||0},_.endAnimation=function(){Zn(_.callbackAnimation),n&&(ee?ee.progress(1):n.paused()?P||Zn(n,_.direction<0,1):Zn(n,n.reversed()))},_.labelToScroll=function(O){return n&&n.labels&&(j||_.refresh()||j)+n.labels[O]/n.duration()*le||0},_.getTrailing=function(O){var Y=Z.indexOf(_),z=_.direction>0?Z.slice(0,Y).reverse():Z.slice(Y+1);return(At(O)?z.filter(function(X){return X.vars.preventOverlaps===O}):z).filter(function(X){return _.direction>0?X.end<=j:X.start>=fe})},_.update=function(O,Y,z){if(!(T&&!z&&!O)){var X=ft===!0?zt:_.scroll(),Be=O?0:(X-j)/le,re=Be<0?0:Be>1?1:Be||0,ke=_.progress,je,xe,ge,ce,Wt,ye,wt,Yt;if(Y&&(Me=Ge,Ge=T?ae():X,b&&(Or=_r,_r=n&&!P?n.totalProgress():re)),g&&d&&!rt&&!Yi&&Rt&&(!re&&j<X+(X-Me)/(nt()-Jn)*g?re=1e-4:re===1&&fe>X+(X-Me)/(nt()-Jn)*g&&(re=.9999)),re!==ke&&_.enabled){if(je=_.isActive=!!re&&re<1,xe=!!ke&&ke<1,ye=je!==xe,Wt=ye||!!re!=!!ke,_.direction=re>ke?1:-1,_.progress=re,Wt&&!rt&&(ge=re&&!ke?0:re===1?1:ke===1?2:3,P&&(ce=!ye&&C[ge+1]!=="none"&&C[ge+1]||C[ge],Yt=n&&(ce==="complete"||ce==="reset"||ce in n))),L&&(ye||Yt)&&(Yt||f||!n)&&(it(L)?L(_):_.getTrailing(L).forEach(function(Rr){return Rr.endAnimation()})),P||(ee&&!rt&&!Yi?(ee._dp._time-ee._start!==ee._time&&ee.render(ee._dp._time-ee._start),ee.resetTo?ee.resetTo("totalProgress",re,n._tTime/n._tDur):(ee.vars.totalProgress=re,ee.invalidate().restart())):n&&n.totalProgress(re,!!(rt&&(se||O)))),d){if(O&&m&&(Fe.style[m+x.os2]=Pn),!N)Nt(ti(Ct+rr*re));else if(Wt){if(wt=!O&&re>ke&&fe+1>X&&X+1>=Jt(k,x),y)if(!O&&(je||wt)){var Ve=pr(d,!0),Ye=X-j;Ml(d,oe,Ve.top+(x===Ie?Ye:0)+Ne,Ve.left+(x===Ie?0:Ye)+Ne)}else Ml(d,Fe);Sn(je||wt?mr:Hr),nr&&re<1&&je||Nt(Ct+(re===1&&!wt?rr:0))}}b&&!Ee.tween&&!rt&&!Yi&&Bt.restart(!0),a&&(ye||w&&re&&(re<1||!po))&&di(a.targets).forEach(function(Rr){return Rr.classList[je||w?"add":"remove"](a.className)}),s&&!P&&!O&&s(_),Wt&&!rt?(P&&(Yt&&(ce==="complete"?n.pause().totalProgress(1):ce==="reset"?n.restart(!0).pause():ce==="restart"?n.restart(!0):n[ce]()),s&&s(_)),(ye||!po)&&(c&&ye&&mo(_,c),D[ge]&&mo(_,D[ge]),w&&(re===1?_.kill(!1,1):D[ge]=0),ye||(ge=re===1?1:3,D[ge]&&mo(_,D[ge]))),M&&!je&&Math.abs(_.getVelocity())>(ri(M)?M:2500)&&(Zn(_.callbackAnimation),ee?ee.progress(1):Zn(n,ce==="reverse"?1:!re,1))):P&&s&&!rt&&s(_)}if(nn){var Qe=T?X/T.duration()*(T._caScrollDist||0):X;vi(Qe+(A._isFlipped?1:0)),nn(Qe)}on&&on(-X/T.duration()*(T._caScrollDist||0))}},_.enable=function(O,Y){_.enabled||(_.enabled=!0,We(k,"resize",ni),q||We(k,"scroll",wn),B&&We(o,"refreshInit",B),O!==!1&&(_.progress=me=0,Ge=Me=V=ae()),Y!==!1&&_.refresh())},_.getTween=function(O){return O&&Ee?Ee.tween:ee},_.setPositions=function(O,Y,z,X){if(T){var Be=T.scrollTrigger,re=T.duration(),ke=Be.end-Be.start;O=Be.start+ke*O/re,Y=Be.start+ke*Y/re}_.refresh(!1,!1,{start:yl(O,z&&!!_._startClamp),end:yl(Y,z&&!!_._endClamp)},X),_.update()},_.adjustPinSpacing=function(O){if(He&&O){var Y=He.indexOf(x.d)+1;He[Y]=parseFloat(He[Y])+O+Ne,He[1]=parseFloat(He[1])+O+Ne,Sn(He)}},_.disable=function(O,Y){if(O!==!1&&_.revert(!0,!0),_.enabled&&(_.enabled=_.isActive=!1,Y||ee&&ee.pause(),zt=0,Pe&&(Pe.uncache=1),B&&ze(o,"refreshInit",B),Bt&&(Bt.pause(),Ee.tween&&Ee.tween.kill()&&(Ee.tween=0)),!q)){for(var z=Z.length;z--;)if(Z[z].scroller===k&&Z[z]!==_)return;ze(k,"resize",ni),q||ze(k,"scroll",wn)}},_.kill=function(O,Y){_.disable(O,Y),ee&&!Y&&ee.kill(),l&&delete xo[l];var z=Z.indexOf(_);z>=0&&Z.splice(z,1),z===dt&&rs>0&&dt--,z=0,Z.forEach(function(X){return X.scroller===_.scroller&&(z=1)}),z||ft||(_.scroll.rec=0),n&&(n.scrollTrigger=null,O&&n.revert({kill:!1}),Y||n.kill()),pt&&[pt,vt,A,bt].forEach(function(X){return X.parentNode&&X.parentNode.removeChild(X)}),ui===_&&(ui=0),d&&(Pe&&(Pe.uncache=1),z=0,Z.forEach(function(X){return X.pin===d&&z++}),z||(Pe.spacer=0)),r.onKill&&r.onKill(_)},Z.push(_),_.enable(!1,!1),ir&&ir(_),n&&n.add&&!le){var ie=_.update;_.update=function(){_.update=ie,Q.cache++,j||fe||_.refresh()},I.delayedCall(.01,_.update),le=.01,j=fe=0}else _.refresh();d&&Ud()},o.register=function(r){return En||(I=r||ql(),Rl()&&window.document&&o.enable(),En=ei),En},o.defaults=function(r){if(r)for(var n in r)$i[n]=r[n];return $i},o.disable=function(r,n){ei=0,Z.forEach(function(s){return s[n?"kill":"disable"](r)}),ze(J,"wheel",wn),ze(he,"scroll",wn),clearInterval(Vi),ze(he,"touchcancel",Zt),ze(oe,"touchstart",Zt),Ui(ze,he,"pointerdown,touchstart,mousedown",vl),Ui(ze,he,"pointerup,touchend,mouseup",bl),ss.kill(),Xi(ze);for(var i=0;i<Q.length;i+=3)Ki(ze,Q[i],Q[i+1]),Ki(ze,Q[i],Q[i+2])},o.enable=function(){if(J=window,he=document,kt=he.documentElement,oe=he.body,I&&(di=I.utils.toArray,ii=I.utils.clamp,wo=I.core.context||Zt,fo=I.core.suppressOverwrites||Zt,Mo=J.history.scrollRestoration||"auto",To=J.pageYOffset||0,I.core.globals("ScrollTrigger",o),oe)){ei=1,Tn=document.createElement("div"),Tn.style.height="100vh",Tn.style.position="absolute",Ul(),Bd(),Le.register(I),o.isTouch=Le.isTouch,Cr=Le.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),bo=Le.isTouch===1,We(J,"wheel",wn),Lo=[J,he,kt,oe],I.matchMedia?(o.matchMedia=function(c){var u=I.matchMedia(),f;for(f in c)u.add(f,c[f]);return u},I.addEventListener("matchMediaInit",function(){Yl(),Oo()}),I.addEventListener("matchMediaRevert",function(){return Vl()}),I.addEventListener("matchMedia",function(){$r(0,1),tn("matchMedia")}),I.matchMedia().add("(orientation: portrait)",function(){return go(),go})):console.warn("Requires GSAP 3.11.0 or later"),go(),We(he,"scroll",wn);var r=oe.hasAttribute("style"),n=oe.style,i=n.borderTopStyle,s=I.core.Animation.prototype,a,l;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),n.borderTopStyle="solid",a=pr(oe),Ie.m=Math.round(a.top+Ie.sc())||0,tt.m=Math.round(a.left+tt.sc())||0,i?n.borderTopStyle=i:n.removeProperty("border-top-style"),r||(oe.setAttribute("style",""),oe.removeAttribute("style")),Vi=setInterval(xl,250),I.delayedCall(.5,function(){return Yi=0}),We(he,"touchcancel",Zt),We(oe,"touchstart",Zt),Ui(We,he,"pointerdown,touchstart,mousedown",vl),Ui(We,he,"pointerup,touchend,mouseup",bl),vo=I.utils.checkPrefix("transform"),ns.push(vo),En=nt(),ss=I.delayedCall(.2,$r).pause(),xn=[he,"visibilitychange",function(){var c=J.innerWidth,u=J.innerHeight;he.hidden?(ml=c,gl=u):(ml!==c||gl!==u)&&ni()},he,"DOMContentLoaded",$r,J,"load",$r,J,"resize",ni],Xi(We),Z.forEach(function(c){return c.enable(0,1)}),l=0;l<Q.length;l+=3)Ki(ze,Q[l],Q[l+1]),Ki(ze,Q[l],Q[l+2])}},o.config=function(r){"limitCallbacks"in r&&(po=!!r.limitCallbacks);var n=r.syncInterval;n&&clearInterval(Vi)||(Vi=n)&&setInterval(xl,n),"ignoreMobileResize"in r&&(bo=o.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(Xi(ze)||Xi(We,r.autoRefreshEvents||"none"),Ol=(r.autoRefreshEvents+"").indexOf("resize")===-1)},o.scrollerProxy=function(r,n){var i=ct(r),s=Q.indexOf(i),a=Jr(i);~s&&Q.splice(s,a?6:2),n&&(a?Vt.unshift(J,n,oe,n,kt,n):Vt.unshift(i,n))},o.clearMatchMedia=function(r){Z.forEach(function(n){return n._ctx&&n._ctx.query===r&&n._ctx.kill(!0,!0)})},o.isInViewport=function(r,n,i){var s=(At(r)?ct(r):r).getBoundingClientRect(),a=s[i?jr:Qr]*n||0;return i?s.right-a>0&&s.left+a<J.innerWidth:s.bottom-a>0&&s.top+a<J.innerHeight},o.positionInViewport=function(r,n,i){At(r)&&(r=ct(r));var s=r.getBoundingClientRect(),a=s[i?jr:Qr],l=n==null?a/2:n in as?as[n]*a:~n.indexOf("%")?parseFloat(n)*a/100:parseFloat(n)||0;return i?(s.left+l)/J.innerWidth:(s.top+l)/J.innerHeight},o.killAll=function(r){if(Z.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()})}},o}();W.version="3.14.2";W.saveStyles=function(o){return o?di(o).forEach(function(e){if(e&&e.style){var t=Mt.indexOf(e);t>=0&&Mt.splice(t,5),Mt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),I.core.getCache(e),wo())}}):Mt};W.revert=function(o,e){return Oo(!o,e)};W.create=function(o,e){return new W(o,e)};W.refresh=function(o){return o?ni(!0):(En||W.register())&&$r(!0)};W.update=function(o){return++Q.cache&&hr(o===!0?2:0)};W.clearScrollMemory=Xl;W.maxScroll=function(o,e){return Jt(o,e?tt:Ie)};W.getScrollFunc=function(o,e){return dr(ct(o),e?tt:Ie)};W.getById=function(o){return xo[o]};W.getAll=function(){return Z.filter(function(o){return o.vars.id!=="ScrollSmoother"})};W.isScrolling=function(){return!!Rt};W.snapDirectional=Ho;W.addEventListener=function(o,e){var t=en[o]||(en[o]=[]);~t.indexOf(e)||t.push(e)};W.removeEventListener=function(o,e){var t=en[o],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)};W.batch=function(o,e){var t=[],r={},n=e.interval||.016,i=e.batchMax||1e9,s=function(c,u){var f=[],p=[],d=I.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)}},a;for(a in e)r[a]=a.substr(0,2)==="on"&&it(e[a])&&a!=="onRefreshInit"?s(a,e[a]):e[a];return it(i)&&(i=i(),We(W,"refresh",function(){return i=e.batchMax()})),di(o).forEach(function(l){var c={};for(a in r)c[a]=r[a];c.trigger=l,t.push(W.create(c))}),t};var kl=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},yo=function o(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(Le.isTouch?" pinch-zoom":""):"none",e===kt&&o(oe,t)},Ji={auto:1,scroll:1},Zd=function(e){var t=e.event,r=e.target,n=e.axis,i=(t.changedTouches?t.changedTouches[0]:t).target,s=i._gsap||I.core.getCache(i),a=nt(),l;if(!s._isScrollT||a-s._isScrollT>2e3){for(;i&&i!==oe&&(i.scrollHeight<=i.clientHeight&&i.scrollWidth<=i.clientWidth||!(Ji[(l=Dt(i)).overflowY]||Ji[l.overflowX]));)i=i.parentNode;s._isScroll=i&&i!==r&&!Jr(i)&&(Ji[(l=Dt(i)).overflowY]||Ji[l.overflowX]),s._isScrollT=a}(s._isScroll||n==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},$l=function(e,t,r,n){return Le.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&Zd,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&We(he,Le.eventTypes[0],Pl,!1,!0)},onDisable:function(){return ze(he,Le.eventTypes[0],Pl,!0)}})},Jd=/(input|label|select|textarea)/i,Cl,Pl=function(e){var t=Jd.test(e.target.tagName);(t||Cl)&&(e._gsapAllow=!0,Cl=t)},ef=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,s=t.onRelease,a,l,c=ct(e.target)||kt,u=I.core.globals().ScrollSmoother,f=u&&u.get(),p=Cr&&(e.content&&ct(e.content)||f&&e.content!==!1&&!f.smooth()&&f.content()),d=dr(c,Ie),m=dr(c,tt),h=1,g=(Le.isTouch&&J.visualViewport?J.visualViewport.scale*J.visualViewport.width:J.outerWidth)/J.innerWidth,E=0,v=it(n)?function(){return n(a)}:function(){return n||2.8},w,b,y=$l(c,e.type,!0,i),S=function(){return b=!1},T=Zt,M=Zt,L=function(){l=Jt(c,Ie),M=ii(Cr?1:0,l),r&&(T=ii(0,Jt(c,tt))),w=Zr},x=function(){p._gsap.y=ti(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(b){requestAnimationFrame(S);var R=ti(a.deltaY/2),F=M(d.v-R);if(p&&F!==d.v+d.offset){d.offset=F-d.v;var _=ti((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, "+_+", 0, 1)",p._gsap.y=_+"px",d.cacheID=Q.cache,hr()}return!0}d.offset&&x(),b=!0},k,H,q,N,D=function(){L(),k.isActive()&&k.vars.scrollY>l&&(d()>l?k.progress(1)&&d(l):k.resetTo("scrollY",l))};return p&&I.set(p,{y:"+=0"}),e.ignoreCheck=function(C){return Cr&&C.type==="touchmove"&&P(C)||h>1.05&&C.type!=="touchstart"||a.isGesturing||C.touches&&C.touches.length>1},e.onPress=function(){b=!1;var C=h;h=ti((J.visualViewport&&J.visualViewport.scale||1)/g),k.pause(),C!==h&&yo(c,h>1.01?!0:r?!1:"x"),H=m(),q=d(),L(),w=Zr},e.onRelease=e.onGestureStart=function(C,R){if(d.offset&&x(),!R)N.restart(!0);else{Q.cache++;var F=v(),_,B;r&&(_=m(),B=_+F*.05*-C.velocityX/.227,F*=kl(m,_,B,Jt(c,tt)),k.vars.scrollX=T(B)),_=d(),B=_+F*.05*-C.velocityY/.227,F*=kl(d,_,B,Jt(c,Ie)),k.vars.scrollY=M(B),k.invalidate().duration(F).play(.01),(Cr&&k.vars.scrollY>=l||_>=l-1)&&I.to({},{onUpdate:D,duration:F})}s&&s(C)},e.onWheel=function(){k._ts&&k.pause(),nt()-E>1e3&&(w=0,E=nt())},e.onChange=function(C,R,F,_,B){if(Zr!==w&&L(),R&&r&&m(T(_[2]===R?H+(C.startX-C.x):m()+R-_[1])),F){d.offset&&x();var K=B[2]===F,te=K?q+C.startY-C.y:d()+F-B[1],V=M(te);K&&te!==V&&(q+=V-te),d(V)}(F||R)&&hr()},e.onEnable=function(){yo(c,r?!1:"x"),W.addEventListener("refresh",D),We(J,"resize",D),d.smooth&&(d.target.style.scrollBehavior="auto",d.smooth=m.smooth=!1),y.enable()},e.onDisable=function(){yo(c,!0),ze(J,"resize",D),W.removeEventListener("refresh",D),y.kill()},e.lockAxis=e.lockAxis!==!1,a=new Le(e),a.iOS=Cr,Cr&&!d()&&d(1),Cr&&I.ticker.add(Zt),N=a._dc,k=I.to(a,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Kl(d,d(),function(){return k.pause()})},onUpdate:hr,onComplete:N.vars.onComplete}),a};W.sort=function(o){if(it(o))return Z.sort(o);var e=J.pageYOffset||0;return W.getAll().forEach(function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+J.innerHeight}),Z.sort(o||function(t,r){return(t.vars.refreshPriority||0)*-1e6+(t.vars.containerAnimation?1e6:t._sortY)-((r.vars.containerAnimation?1e6:r._sortY)+(r.vars.refreshPriority||0)*-1e6)})};W.observe=function(o){return new Le(o)};W.normalizeScroll=function(o){if(typeof o>"u")return ut;if(o===!0&&ut)return ut.enable();if(o===!1){ut&&ut.kill(),ut=o;return}var e=o instanceof Le?o:ef(o);return ut&&ut.target===e.target&&ut.kill(),Jr(e.target)&&(ut=e),e};W.core={_getVelocityProp:Gi,_inputObserver:$l,_scrollers:Q,_proxies:Vt,bridge:{ss:function(){Rt||tn("scrollStart"),Rt=nt()},ref:function(){return rt}}};ql()&&I.registerPlugin(W);var jl=()=>{Oe.registerPlugin(W),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,s=n?{x:-20,y:-3}:{x:18,y:-8};function a(){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},{...s,duration:1.6,ease:"power2.out",delay:.2})}if(n){let l=e.closest(".footer_main-decor");W.create({trigger:e,start:"top 85%",once:!0,onEnter:()=>{l&&(l.style.opacity="1"),a()}})}else{let l=e.closest(".header_main-decor");l&&(l.style.opacity="1"),a()}}),window.addEventListener("load",()=>{setTimeout(()=>W.refresh(),200)})};var Ql=()=>{Oe.registerPlugin(W),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 s=n.classList.contains("is-inside");i.fromTo(r,{y:0,xPercent:-50},{y:s?-40:-60,xPercent:-50,duration:1.2,ease:"power2.out"},"rideAlong")}W.create({trigger:n,start:"top 85%",once:!0,onEnter:()=>{Oe.set(n,{opacity:0}),i.play()}})}),window.addEventListener("load",()=>{setTimeout(()=>{W.refresh()},200)})};var Zl=(o={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,s=48,a="perfect-marquee-styles";if(!document.getElementById(a)){let f=document.createElement("style");f.id=a;let p=o.pauseOnHover?`
104
104
  .banner_component:hover .banner_marquee {
105
105
  animation-play-state: paused !important;
106
106
  }
@@ -128,7 +128,9 @@
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()))})}},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=`
131
+ `,document.head.appendChild(f)}let l=window.innerWidth,c=i+s,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+s,d=gsap.to(f,{x:-p,duration:30,ease:"none",repeat:-1});o.pauseOnHover&&e&&(e.addEventListener("mouseenter",()=>d.pause()),e.addEventListener("mouseleave",()=>d.resume()))})}},Jl=()=>{let o=document.querySelector(".marquee");if(!o)return;let e=o.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,s=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+s;)r.forEach(f=>{let p=f.cloneNode(!0);p.setAttribute("aria-hidden","true"),e.appendChild(p),i+=f.offsetWidth});let a=0,l=40,c=null,u=f=>{if(c!==null){let p=(f-c)/1e3;a-=l*p,Math.abs(a)>=s&&(a+=s),e.style.transform=`translateX(${a}px)`}c=f,requestAnimationFrame(u)};requestAnimationFrame(u)};function ec(){let o=document.querySelectorAll("[data-line-scroll]");o.length!==0&&o.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 pi,Mn,tc=typeof Symbol=="function"?Symbol():"_split",Do,tf=()=>Do||us.register(window.gsap),rc=typeof Intl<"u"&&"Segmenter"in Intl?new Intl.Segmenter:0,hi=o=>typeof o=="string"?hi(document.querySelectorAll(o)):"length"in o?Array.from(o).reduce((e,t)=>(typeof t=="string"?e.push(...hi(t)):e.push(t),e),[]):[o],nc=o=>hi(o).filter(e=>e instanceof HTMLElement),Ro=[],Io=function(){},rf={add:o=>o()},nf=/\s+/g,ic=new RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.","gu"),cs={left:0,top:0,width:0,height:0},sf=(o,e)=>{for(;++e<o.length&&o[e]===cs;);return o[e]||cs},sc=({element:o,html:e,ariaL:t,ariaH:r})=>{o.innerHTML=e,t?o.setAttribute("aria-label",t):o.removeAttribute("aria-label"),r?o.setAttribute("aria-hidden",r):o.removeAttribute("aria-hidden")},oc=(o,e)=>{if(e){let t=new Set(o.join("").match(e)||Ro),r=o.length,n,i,s,a;if(t.size)for(;--r>-1;){i=o[r];for(s of t)if(s.startsWith(i)&&s.length>i.length){for(n=0,a=i;s.startsWith(a+=o[r+ ++n])&&a.length<s.length;);if(n&&a.length===s.length){o[r]=s,o.splice(r+1,n);break}}}}return o},ac=o=>window.getComputedStyle(o).display==="inline"&&(o.style.display="inline-block"),An=(o,e,t)=>e.insertBefore(typeof o=="string"?document.createTextNode(o):o,t),qo=(o,e,t)=>{let r=e[o+"sClass"]||"",{tag:n="div",aria:i="auto",propIndex:s=!1}=e,a=o==="line"?"block":"inline-block",l=r.indexOf("++")>-1,c=u=>{let f=document.createElement(n),p=t.length+1;return r&&(f.className=r+(l?" "+r+p:"")),s&&f.style.setProperty("--"+o,p+""),i!=="none"&&f.setAttribute("aria-hidden","true"),n!=="span"&&(f.style.position="relative",f.style.display=a),f.textContent=u,t.push(f),f};return l&&(r=r.replace("++","")),c.collection=t,c},of=(o,e,t,r)=>{let n=qo("line",t,r),i=window.getComputedStyle(o).textAlign||"left";return(s,a)=>{let l=n("");for(l.style.textAlign=i,o.insertBefore(l,e[s]);s<a;s++)l.appendChild(e[s]);l.normalize()}},lc=(o,e,t,r,n,i,s,a,l,c)=>{var u;let f=Array.from(o.childNodes),p=0,{wordDelimiter:d,reduceWhiteSpace:m=!0,prepareText:h}=e,g=o.getBoundingClientRect(),E=g,v=!m&&window.getComputedStyle(o).whiteSpace.substring(0,3)==="pre",w=0,b=t.collection,y,S,T,M,L,x,P,k,H,q,N,D,C,R,F,_,B,K;for(typeof d=="object"?(T=d.delimiter||d,S=d.replaceWith||""):S=d===""?"":d||" ",y=S!==" ";p<f.length;p++)if(M=f[p],M.nodeType===3){for(F=M.textContent||"",m?F=F.replace(nf," "):v&&(F=F.replace(/\n/g,S+`
132
+ `)),h&&(F=h(F,o)),M.textContent=F,L=S||T?F.split(T||S):F.match(a)||Ro,B=L[L.length-1],k=y?B.slice(-1)===" ":!B,B||L.pop(),E=g,P=y?L[0].charAt(0)===" ":!L[0],P&&An(" ",o,M),L[0]||L.shift(),oc(L,l),i&&c||(M.textContent=""),H=1;H<=L.length;H++)if(_=L[H-1],!m&&v&&_.charAt(0)===`
133
+ `&&((u=M.previousSibling)==null||u.remove(),An(document.createElement("br"),o,M),_=_.slice(1)),!m&&_==="")An(S,o,M);else if(_===" ")o.insertBefore(document.createTextNode(" "),M);else{if(y&&_.charAt(0)===" "&&An(" ",o,M),w&&H===1&&!P&&b.indexOf(w.parentNode)>-1?(x=b[b.length-1],x.appendChild(document.createTextNode(r?"":_))):(x=t(r?"":_),An(x,o,M),w&&H===1&&!P&&x.insertBefore(w,x.firstChild)),r)for(N=rc?oc([...rc.segment(_)].map(te=>te.segment),l):_.match(a)||Ro,K=0;K<N.length;K++)x.appendChild(N[K]===" "?document.createTextNode(" "):r(N[K]));if(i&&c){if(F=M.textContent=F.substring(_.length+1,F.length),q=x.getBoundingClientRect(),q.top>E.top&&q.left<=E.left){for(D=o.cloneNode(),C=o.childNodes[0];C&&C!==x;)R=C,C=C.nextSibling,D.appendChild(R);o.parentNode.insertBefore(D,o),n&&ac(D)}E=q}(H<L.length||k)&&An(H>=L.length?" ":y&&_.slice(-1)===" "?" "+S:S,o,M)}o.removeChild(M),w=0}else M.nodeType===1&&(s&&s.indexOf(M)>-1?(b.indexOf(M.previousSibling)>-1&&b[b.length-1].appendChild(M),w=M):(lc(M,e,t,r,n,i,s,a,l,!0),w=0),n&&ac(M))},cc=class uc{constructor(e,t){this.isSplit=!1,tf(),this.elements=nc(e),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=t,this.elements.forEach(s=>{var a;t.overwrite!==!1&&((a=s[tc])==null||a._data.orig.filter(({element:l})=>l===s).forEach(sc)),s[tc]=this}),this._split=()=>this.isSplit&&this.split(this.vars);let r=[],n,i=()=>{let s=r.length,a;for(;s--;){a=r[s];let l=a.element.offsetWidth;if(l!==a.width){a.width=l,this._split();return}}};this._data={orig:r,obs:typeof ResizeObserver<"u"&&new ResizeObserver(()=>{clearTimeout(n),n=setTimeout(i,200)})},Io(this),this.split(t)}split(e){return(this._ctx||rf).add(()=>{this.isSplit&&this.revert(),this.vars=e=e||this.vars||{};let{type:t="chars,words,lines",aria:r="auto",deepSlice:n=!0,smartWrap:i,onSplit:s,autoSplit:a=!1,specialChars:l,mask:c}=this.vars,u=t.indexOf("lines")>-1,f=t.indexOf("chars")>-1,p=t.indexOf("words")>-1,d=f&&!p&&!u,m=l&&("push"in l?new RegExp("(?:"+l.join("|")+")","gu"):l),h=m?new RegExp(m.source+"|"+ic.source,"gu"):ic,g=!!e.ignore&&nc(e.ignore),{orig:E,animTime:v,obs:w}=this._data,b;(f||p||u)&&(this.elements.forEach((y,S)=>{E[S]={element:y,html:y.innerHTML,ariaL:y.getAttribute("aria-label"),ariaH:y.getAttribute("aria-hidden")},r==="auto"?y.setAttribute("aria-label",(y.textContent||"").trim()):r==="hidden"&&y.setAttribute("aria-hidden","true");let T=[],M=[],L=[],x=f?qo("char",e,T):null,P=qo("word",e,M),k,H,q,N;if(lc(y,e,P,x,d,n&&(u||d),g,h,m,!1),u){let D=hi(y.childNodes),C=of(y,D,e,L),R,F=[],_=0,B=D.map(V=>V.nodeType===1?V.getBoundingClientRect():cs),K=cs,te;for(k=0;k<D.length;k++)R=D[k],R.nodeType===1&&(R.nodeName==="BR"?((!k||D[k-1].nodeName!=="BR")&&(F.push(R),C(_,k+1)),_=k+1,K=sf(B,k)):(te=B[k],k&&te.top>K.top&&te.left<K.left+K.width-1&&(C(_,k),_=k),K=te));_<k&&C(_,k),F.forEach(V=>{var se;return(se=V.parentNode)==null?void 0:se.removeChild(V)})}if(!p){for(k=0;k<M.length;k++)if(H=M[k],f||!H.nextSibling||H.nextSibling.nodeType!==3)if(i&&!u){for(q=document.createElement("span"),q.style.whiteSpace="nowrap";H.firstChild;)q.appendChild(H.firstChild);H.replaceWith(q)}else H.replaceWith(...H.childNodes);else N=H.nextSibling,N&&N.nodeType===3&&(N.textContent=(H.textContent||"")+(N.textContent||""),H.remove());M.length=0,y.normalize()}this.lines.push(...L),this.words.push(...M),this.chars.push(...T)}),c&&this[c]&&this.masks.push(...this[c].map(y=>{let S=y.cloneNode();return y.replaceWith(S),S.appendChild(y),y.className&&(S.className=y.className.trim()+"-mask"),S.style.overflow="clip",S}))),this.isSplit=!0,Mn&&u&&(a?Mn.addEventListener("loadingdone",this._split):Mn.status==="loading"&&console.warn("SplitText called before fonts loaded")),(b=s&&s(this))&&b.totalTime&&(this._data.anim=v?b.totalTime(v):b),u&&a&&this.elements.forEach((y,S)=>{E[S].width=y.offsetWidth,w&&w.observe(y)})}),this}kill(){let{obs:e}=this._data;e&&e.disconnect(),Mn?.removeEventListener("loadingdone",this._split)}revert(){var e,t;if(this.isSplit){let{orig:r,anim:n}=this._data;this.kill(),r.forEach(sc),this.chars.length=this.words.length=this.lines.length=r.length=this.masks.length=0,this.isSplit=!1,n&&(this._data.animTime=n.totalTime(),n.revert()),(t=(e=this.vars).onRevert)==null||t.call(e,this)}return this}static create(e,t){return new uc(e,t)}static register(e){pi=pi||e||window.gsap,pi&&(hi=pi.utils.toArray,Io=pi.core.context||Io),!Do&&window.innerWidth>0&&(Mn=document.fonts,Do=!0)}};cc.version="3.14.2";var us=cc;var dc=()=>{Oe.registerPlugin(W,us),Oe.utils.toArray("section").forEach(o=>{let e=o.querySelector("h2"),t=o.querySelector(".section_header-description");if(!e&&!t)return;let r=Oe.timeline({paused:!0});if(e){let n=new us(e,{type:"lines",linesClass:"split-line"});Oe.set(n.lines,{overflow:"hidden",display:"block"});let i=n.lines.map(s=>{let a=document.createElement("div");return a.style.overflow="hidden",s.parentNode.insertBefore(a,s),a.appendChild(s),s});r.from(i,{y:"101%",duration:.8,ease:"power1.out",stagger:.1})}t&&r.from(t,{opacity:0,duration:.6,ease:"power1.out"},e?"0.3":0),W.create({trigger:o,start:"top 85%",once:!0,onEnter:()=>r.play()})})};var fc=()=>{Oe.registerPlugin(W),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)}),W.create({trigger:t,start:"top 75%",once:!0,onEnter:()=>{i.play()}})}),window.addEventListener("load",()=>{setTimeout(()=>{W.refresh()},200)})})};var kn=null;function pc(){if(typeof Lenis>"u"){console.error("[SmoothScroll] Lenis is not loaded");return}if(!(window.innerWidth>991))return;kn=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 a=new URL(n,window.location.href);if(a.pathname!==window.location.pathname)return;i=a.hash}catch{i=n.startsWith("#")?n:""}if(!i||i==="#")return;let s=document.querySelector(i);!s||!kn||(r.preventDefault(),r.stopPropagation(),kn.scrollTo(s,{offset:0,duration:1.05}))})});function e(t){kn?.raf(t),requestAnimationFrame(e)}requestAnimationFrame(e)}function hc(){kn?.stop()}function mc(){kn?.start()}function gc(){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 af(){let o=document.createElement("style");o.textContent=`
132
134
  #cursor-trail-canvas {
133
135
  position: fixed;
134
136
  inset: 0;
@@ -164,7 +166,7 @@
164
166
  .cursor-paused * {
165
167
  cursor: pointer !important;
166
168
  }
167
- `,document.head.appendChild(a);let e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");t.id="cursor-trail-canvas",t.setAttribute("aria-hidden","true");let r=document.createElementNS(e,"defs"),n=document.createElementNS(e,"linearGradient");n.id="trailGradient",n.setAttribute("gradientUnits","userSpaceOnUse"),[["0%","#b8c8dc","0.0"],["50%","#7a9ac4","0.25"],["100%","#11397B","0.55"]].forEach(([l,c,u])=>{let f=document.createElementNS(e,"stop");f.setAttribute("offset",l),f.setAttribute("stop-color",c),f.setAttribute("stop-opacity",u),n.appendChild(f)}),r.appendChild(n),t.appendChild(r);let o=document.createElementNS(e,"path");o.id="cursor-trail-path",o.setAttribute("d",""),o.setAttribute("fill","none"),o.setAttribute("stroke","url(#trailGradient)"),o.setAttribute("stroke-width","2"),o.setAttribute("stroke-linecap","round"),o.setAttribute("stroke-linejoin","round"),o.setAttribute("stroke-dasharray","10 9"),t.appendChild(o);let s=document.createElement("div");return s.id="cursor-hijack",s.setAttribute("aria-hidden","true"),s.innerHTML=`
169
+ `,document.head.appendChild(o);let e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");t.id="cursor-trail-canvas",t.setAttribute("aria-hidden","true");let r=document.createElementNS(e,"defs"),n=document.createElementNS(e,"linearGradient");n.id="trailGradient",n.setAttribute("gradientUnits","userSpaceOnUse"),[["0%","#b8c8dc","0.0"],["50%","#7a9ac4","0.25"],["100%","#11397B","0.55"]].forEach(([l,c,u])=>{let f=document.createElementNS(e,"stop");f.setAttribute("offset",l),f.setAttribute("stop-color",c),f.setAttribute("stop-opacity",u),n.appendChild(f)}),r.appendChild(n),t.appendChild(r);let s=document.createElementNS(e,"path");s.id="cursor-trail-path",s.setAttribute("d",""),s.setAttribute("fill","none"),s.setAttribute("stroke","url(#trailGradient)"),s.setAttribute("stroke-width","2"),s.setAttribute("stroke-linecap","round"),s.setAttribute("stroke-linejoin","round"),s.setAttribute("stroke-dasharray","10 9"),t.appendChild(s);let a=document.createElement("div");return a.id="cursor-hijack",a.setAttribute("aria-hidden","true"),a.innerHTML=`
168
170
  <svg width="32" height="28" viewBox="0 0 32 28" fill="none" xmlns="http://www.w3.org/2000/svg">
169
171
  <path d="M0 14L32 0L26 14L32 28L0 14Z" fill="url(#cursor_gradient)" />
170
172
  <defs>
@@ -174,7 +176,7 @@
174
176
  </linearGradient>
175
177
  </defs>
176
178
  </svg>
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=`
179
+ `,document.body.appendChild(t),document.body.appendChild(a),{cursorEl:a,trailSvg:t,trailPath:s,gradient:n}}function _c(){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:s.maxPoints},()=>({x:l.x,y:l.y})),p=0,f=0,a=!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(){a=!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 v=u[u.length-1],w=u[0];i.setAttribute("x1",String(v.x)),i.setAttribute("y1",String(v.y)),i.setAttribute("x2",String(w.x)),i.setAttribute("y2",String(w.y))}function E(v,w=.5){if(v.length<2)return"";let b=`M ${v[0].x.toFixed(1)} ${v[0].y.toFixed(1)}`;for(let y=0;y<v.length-1;y++){let S=v[Math.max(y-1,0)],T=v[y],M=v[y+1],L=v[Math.min(y+2,v.length-1)],x=T.x+(M.x-S.x)/6*w,P=T.y+(M.y-S.y)/6*w,k=M.x-(L.x-T.x)/6*w,H=M.y-(L.y-T.y)/6*w;b+=` C ${x.toFixed(1)} ${P.toFixed(1)}, ${k.toFixed(1)} ${H.toFixed(1)}, ${M.x.toFixed(1)} ${M.y.toFixed(1)}`}return b}}function yc(){function o(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&&o(m,!1)}),o(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 s(){let c=document.querySelectorAll('.layout_card.is-faq:not([data-faq-init="true"])'),u=document.querySelectorAll('.about_component-image-outer:not([data-faq-init="true"])');if(u.length>0){u.forEach(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}`,E=m.id||`faq-panel-${h}`;d.id=g,m.id=E,d.setAttribute("role","button"),d.setAttribute("aria-expanded","false"),d.setAttribute("aria-controls",E),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,E=document.querySelectorAll(".layout_card.is-faq");switch(g.key){case"Enter":case" ":g.preventDefault(),e(p);break;case"ArrowDown":g.preventDefault(),t(p,E);break;case"ArrowUp":g.preventDefault(),r(p,E);break;case"Home":g.preventDefault(),n(E);break;case"End":g.preventDefault(),i(E);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&&o(m,!0)}})}s(),new MutationObserver(l=>{let c=!1;for(let u of l)if(u.addedNodes.length>0){c=!0;break}c&&s()}).observe(document.body,{childList:!0,subtree:!0})}function vc(){let o=document.querySelectorAll("[data-product-trigger]");document.addEventListener("click",e=>{o.forEach(t=>{let r=t.querySelector("[data-tile-details]");r&&!t.contains(e.target)&&r.classList.remove("is-active")})}),o.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 s=n.offsetWidth-(r.offsetWidth-16);if(s>0){gsap.killTweensOf(n);let a=s/30;i=gsap.to(n,{x:-s,duration:a,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 bc(){let o=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")}o.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 a=()=>!!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"),a()&&(i.style.transform="rotate(-90deg)")):(i.classList.remove("is-open"),a()&&(i.style.transform="rotate(90deg)")))}})}).observe(r,{attributes:!0})}),document.addEventListener("focusin",t=>{o.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 wc(){let o=document.querySelectorAll('input[type="radio"][name]'),e=[...new Set(Array.from(o).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
180
  @keyframes csFilterShimmer {
179
181
  0% { background-position: -200% 0; }
180
182
  100% { background-position: 200% 0; }
@@ -194,7 +196,7 @@
194
196
  border-radius: inherit;
195
197
  pointer-events: none;
196
198
  }
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");if(w){let E=window.location.pathname.startsWith("/en");w.textContent=E?"All":"Wszystkie",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=`
199
+ `,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 E=g.closest('[role="listitem"]'),v=(E??g.parentElement)?.querySelector(".checkbox_text")??null,w=v?.textContent?.trim()??"",b=v?.getAttribute("fs-list-field")??"",y=E?.parentElement??null,S=E?.nextSibling??null;i.push({group:m,label:w,fieldName:b,input:g,textEl:v,wrapperEl:E,parentEl:y,nextSiblingEl:S})})});let s=new Map;e.forEach(m=>{let h=i.find(g=>g.group===m&&g.fieldName!=="");h&&s.set(m,h.fieldName)});let a=new Map;e.forEach(m=>{let h=i.find(v=>v.group===m);if(!h)return;let g=h.input.closest(".dropdown_wrapper");if(!g)return;let E=g.querySelector(".form_dropdown > div:first-child");E&&a.set(m,{wrapperEl:g,toggleTextEl:E,defaultText:E.textContent?.trim()??""})});function l(m){let h=a.get(m);if(!h)return;let g=u.get(m);if(g&&g.size>0){let[E]=g;h.toggleTextEl.textContent=E}else h.toggleTextEl.textContent=h.defaultText}let c=new Map;e.forEach(m=>{let h=i.find(y=>y.group===m);if(!h?.wrapperEl)return;let g=a.get(m);if(!g)return;let E=g.wrapperEl.querySelector('[role="list"]');if(!E)return;let v=h.wrapperEl.cloneNode(!0);v.setAttribute("data-clear-group",m);let w=v.querySelector(".checkbox_text");if(w){let y=window.location.pathname.startsWith("/en");w.textContent=y?"All":"Wszystkie",w.removeAttribute("fs-list-field"),w.classList.add("is-active"),c.set(m,w)}let b=v.querySelector('input[type="radio"]');b&&(b.checked=!1,b.id=`${m}-all`,b.value=""),E.insertBefore(v,E.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 E=s.get(h);if(!E)return!1;let v=p(m,E);if(!Array.from(g).some(b=>v.some(y=>y===b.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 E=h.wrapperElement?.querySelector("[data-empty]")??document.querySelector("[data-empty]");E&&(E.style.display="none");function v(x,P){E&&(E.style.display=P&&x===0?"flex":"none")}function w(x,P,k){if(k.size===0)return!0;let H=s.get(P);if(!H)return!0;let q=p(x,H);return Array.from(k).some(N=>q.some(D=>D===N.toLowerCase()))}function b(){for(let x of e){let P=i.filter(C=>C.group===x),k=s.get(x);if(!(!!k&&g.some(C=>p(C.element,k).length>0))){a.get(x)?.wrapperEl.classList.remove("is-disabled");continue}let q=g.filter(C=>{let R=C.element;for(let[F,_]of u.entries())if(F!==x&&!w(R,F,_))return!1;return!0}),N=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)),N++;continue}q.some(F=>p(F.element,C.fieldName).some(B=>B===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)),N++):C.wrapperEl.parentElement&&C.wrapperEl.remove()}let D=a.get(x);if(D)if(N===0){D.wrapperEl.classList.add("is-disabled");let C=D.wrapperEl.querySelector(".w-dropdown-toggle"),R=D.wrapperEl.querySelector(".w-dropdown-list");C?.classList.remove("w--open"),C?.setAttribute("aria-expanded","false"),R?.classList.remove("w--open")}else D.wrapperEl.classList.remove("is-disabled")}}h.addHook("filter",x=>{if(!f())return v(x.length,M()),b(),x;let P=x.filter(k=>{let H=k.element;return d(H)});return v(P.length,!0),b(),P});function y(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),y(x.group),h.triggerHook("filter"),L())})});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(H=>H.group===x).forEach(H=>{H.input.checked=!1,H.textEl?.classList.remove("is-active")}),l(x),y(x),h.triggerHook("filter"),L())})}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 M(){return Array.from(T).some(x=>x.value.trim()!=="")}function L(){S&&(S.style.display=f()||M()?"flex":"none")}T.forEach(x=>{x.addEventListener("input",()=>L())}),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),y(x);document.querySelectorAll("[data-search='name']").forEach(x=>{x.value="",x.dispatchEvent(new Event("input",{bubbles:!0}))}),h.triggerHook("filter"),L()}),h.triggerHook("filter"),L()}])}function lf(o){let e=o.dataset.searchTarget;if(e)return document.getElementById(e);let t=o.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 ds(o){return o.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/ł/g,"l").replace(/Ł/g,"L")}function Ec(){let o=document.querySelectorAll("[data-search='name']");o.length&&(window.FinsweetAttributes||(window.FinsweetAttributes=[]),window.FinsweetAttributes.push(["list",async e=>{for(let t of Array.from(o)){let r=lf(t),n=e.find(s=>r&&s.wrapperElement?.contains(r)||s.listElement===r)||e[0];if(!n)continue;n.loadingPaginatedItems&&await n.loadingPaginatedItems,n.addHook("filter",s=>{let a=ds(t.value.trim());return a?s.filter(l=>{let c=l.element.querySelector("h3");return ds(c?.textContent??"").includes(a)}):s});let i=n.wrapperElement?.querySelector("[data-empty]")??document.querySelector("[data-empty]");t.addEventListener("input",()=>{if(n.triggerHook("filter"),i){let s=ds(t.value.trim()),a=n.items.value.filter(l=>{let c=l.element.querySelector("h3");return ds(c?.textContent??"").includes(s)});i.style.display=s&&a.length===0?"flex":"none"}})}}]))}var No=class{constructor(){$(this,"nav",null);$(this,"dropdowns",null);$(this,"currentOpenDropdown",null);this.init()}init(){this.nav=document.querySelector(".nav"),this.nav&&(this.dropdowns=this.nav.querySelectorAll("[data-delay]"),this.setupKeyboardNavigation())}setupKeyboardNavigation(){this.dropdowns&&(this.dropdowns.forEach(e=>{let t=e.querySelector(".w-dropdown-toggle"),r=e.querySelector(".w-dropdown-list");t&&(r&&this.setDropdownTabIndex(r,!1),t.addEventListener("keydown",n=>{this.handleDropdownToggleKeydown(n,e,t,r)}),t.addEventListener("click",()=>{this.handleDropdownClick(e,t)}),r&&this.setupDropdownFocusTrap(e,r))}),document.addEventListener("keydown",e=>{e.key==="Escape"&&this.closeAllDropdowns()}),document.addEventListener("click",e=>{this.currentOpenDropdown&&!this.currentOpenDropdown.contains(e.target)&&this.closeAllDropdowns()}))}handleDropdownToggleKeydown(e,t,r,n){let i=r.getAttribute("aria-expanded")==="true";switch(e.key){case"Enter":case" ":if(e.preventDefault(),!i)this.openDropdown(t,r,n);else{let s=r.getAttribute("href");s&&s!=="#"?window.location.href=s:this.closeDropdown(t,r,n)}break;case"ArrowDown":e.preventDefault(),i?this.focusFirstItem(n):(this.openDropdown(t,r,n),setTimeout(()=>{this.focusFirstItem(n)},100));break;case"ArrowUp":e.preventDefault(),i&&this.focusLastItem(n);break;case"Escape":e.preventDefault(),i&&(this.closeDropdown(t,r,n),r.focus());break;case"Tab":i&&!e.shiftKey&&setTimeout(()=>{n&&!n.contains(document.activeElement)&&this.closeDropdown(t,r,n)},0);break}}handleDropdownClick(e,t){t.getAttribute("aria-expanded")==="true"?this.currentOpenDropdown=null:(this.closeAllDropdowns(),this.currentOpenDropdown=e)}openDropdown(e,t,r){this.closeAllDropdowns(),t.setAttribute("aria-expanded","true"),t.classList.add("w--open"),r&&(r.classList.add("w--open"),r.removeAttribute("style"),this.setDropdownTabIndex(r,!0)),this.currentOpenDropdown=e}closeDropdown(e,t,r){t.setAttribute("aria-expanded","false"),t.classList.remove("w--open"),r&&(r.classList.remove("w--open"),this.setDropdownTabIndex(r,!1)),this.currentOpenDropdown===e&&(this.currentOpenDropdown=null)}closeAllDropdowns(){this.dropdowns&&(this.dropdowns.forEach(e=>{let t=e.querySelector(".w-dropdown-toggle"),r=e.querySelector(".w-dropdown-list");t&&(t.setAttribute("aria-expanded","false"),t.classList.remove("w--open")),r&&(r.classList.remove("w--open"),this.setDropdownTabIndex(r,!1))}),this.currentOpenDropdown=null)}setDropdownTabIndex(e,t){e.querySelectorAll('a[href], button, [role="tab"], [role="button"]').forEach(n=>{t?n.setAttribute("tabindex","0"):n.setAttribute("tabindex","-1")})}setupDropdownFocusTrap(e,t){let r=t.querySelectorAll('a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])');r.forEach((n,i)=>{n.addEventListener("keydown",s=>{let a=e.querySelector(".w-dropdown-toggle");if(a?.getAttribute("aria-expanded")==="true")switch(s.key){case"Tab":s.shiftKey&&i===0?(s.preventDefault(),a?.focus()):!s.shiftKey&&i===r.length-1&&this.closeDropdown(e,a,t);break;case"Escape":s.preventDefault(),this.closeDropdown(e,a,t),a?.focus();break;case"ArrowDown":i<r.length-1&&(s.preventDefault(),r[i+1].focus());break;case"ArrowUp":i>0?(s.preventDefault(),r[i-1].focus()):(s.preventDefault(),a?.focus());break;case"Home":s.preventDefault(),r[0].focus();break;case"End":s.preventDefault(),r[r.length-1].focus();break}})})}focusFirstItem(e){if(!e)return;let t=e.querySelector('a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])');t&&t.focus()}focusLastItem(e){if(!e)return;let t=e.querySelectorAll('a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])');t.length>0&&t[t.length-1].focus()}};function xc(){new No}var cf=".w-nav",uf=".button-wrapper",Fo="is-pinned",Bo="w-variant-a4b72284-6321-8341-edca-223fdec43abe";var Cn=!1,mi=!1,fs=!1,Pr=null,rn=null;function df(){return window.innerWidth>991}function Sc(){if(!Pr||!Cn){fs=!1;return}let o=window.scrollY||window.pageYOffset;!mi&&o>50?(Pr.classList.add(Fo),rn&&rn.classList.remove(Bo),mi=!0):mi&&o<40&&(Pr.classList.remove(Fo),rn&&rn.classList.add(Bo),mi=!1),fs=!1}function ff(){!fs&&Cn&&(window.requestAnimationFrame(Sc),fs=!0)}function pf(){Pr&&Pr.classList.remove(Fo),rn&&rn.classList.add(Bo),mi=!1}function Tc(){let o=df();o&&!Cn?(Cn=!0,Sc()):!o&&Cn&&(Cn=!1,pf())}function hf(o,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>o(...r),e)}}function Lc(){if(Pr=document.querySelector(cf),!Pr)return;rn=Pr.querySelector(uf),window.addEventListener("scroll",ff,{passive:!0});let o=hf(Tc,150);window.addEventListener("resize",o),Tc()}var Mc=async()=>{let o=document.querySelector("[data-lex-cms]"),e=document.querySelector("[data-lex-box]");if(!o||!e)return;let t=e.parentElement;if(!t)return;let r=Array.from(o.querySelectorAll(".lex-list-item")),n=o.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
200
  .lex-skeleton {
199
201
  animation: lexPulse 1.5s ease-in-out infinite;
200
202
  pointer-events: none;
@@ -224,7 +226,7 @@
224
226
  50% { opacity: 1; }
225
227
  100% { opacity: 0.6; }
226
228
  }
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=`
229
+ `,document.head.appendChild(g)}for(let g=0;g<3;g++){let E=e.cloneNode(!0);E.classList.add("lex-skeleton"),E.removeAttribute("style");let v=E.querySelector("[data-lex-list-wrapper]");if(v){let w=v.querySelector(".lex-list-item");if(w){v.innerHTML="";for(let b=0;b<4;b++)v.appendChild(w.cloneNode(!0))}}t.appendChild(E),i.push(E)}}for(;n;)try{let g=await fetch(n);if(!g.ok)break;let E=await g.text(),b=new DOMParser().parseFromString(E,"text/html").querySelector("[data-lex-cms]");if(!b)break;let y=Array.from(b.querySelectorAll(".lex-list-item"));r=[...r,...y],n=b.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 s=g=>g.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/ł/g,"l").replace(/Ł/g,"L").toUpperCase(),a=[{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;a.forEach(g=>{u.set(g.label,[])});let f="0-9";u.set(f,[]),r.forEach(g=>{let E=g.textContent?.trim()||"";if(!E)return;let v=s(E.charAt(0)),w=f;for(let S of a)if(S.letters.includes(v)){w=S.label;break}let y=(g.tagName==="A"?g:g.closest("a"))?.getAttribute("href")||"#";u.get(w)?.push({text:E,href:y})});let p=e.cloneNode(!0);e.remove(),u.forEach((g,E)=>{if(g.length===0)return;g.sort((y,S)=>{let T=y.text,M=S.text;return T.localeCompare(M,"pl")});let v=p.cloneNode(!0),w=v.querySelector(".lex-header"),b=v.querySelector("[data-lex-list-wrapper]");w&&(w.textContent=E),b&&(b.innerHTML="",g.forEach(y=>{let S=c.cloneNode(!0);if(S.textContent=y.text,S.tagName==="A")S.setAttribute("href",y.href);else{let T=S.querySelector("a");if(T)T.setAttribute("href",y.href);else{let M=S.closest("a");M&&M.setAttribute("href",y.href)}}b.appendChild(S)})),t.appendChild(v)});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 v=g.target.value.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,""),w=t.querySelectorAll("[data-lex-box]"),b=!1;w.forEach(S=>{let T=!1;S.querySelectorAll(".lex-list-item").forEach(L=>{(L.textContent?.toLowerCase()||"").normalize("NFD").replace(/[\u0300-\u036f]/g,"").includes(v)?(L.style.display="",T=!0):L.style.display="none"}),T?(S.style.display="",b=!0):S.style.display="none"});let y=document.querySelector("[data-empty]");y&&(b?y.style.display="none":y.style.display="flex"),h()}),m&&m.addEventListener("click",()=>{d&&(d.value="",d.dispatchEvent(new Event("input",{bubbles:!0}))),h()}),h()};var zo=class{constructor(e){$(this,"bigMenu");$(this,"tabsModule",null);$(this,"tablistContainer",null);$(this,"contentContainer",null);$(this,"tabMappings",[]);$(this,"isMobileLayout",!1);$(this,"originalButtonsWrapper",null);$(this,"accordionContainer",null);$(this,"dropdownToggle",null);$(this,"dropdownList",null);$(this,"navMobileHeader",null);$(this,"originalStructure",{buttonsWrapper:null,contentWrapper:null,buttonsParent:null,contentParent:null,buttonsNextSibling:null,contentNextSibling:null});$(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 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 a=t.cloneNode(!0);a.classList.add("mega-menu-accordion_panel"),a.removeAttribute("hidden"),a.removeAttribute("style"),a.style.backgroundColor="transparent",s.appendChild(a),r.appendChild(s),n.addEventListener("click",l=>{l.preventDefault(),l.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"),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 Ac(){document.querySelectorAll("[data-big-menu]").forEach(e=>{new zo(e)})}var Wo=class{constructor(e){$(this,"navOverlay");$(this,"navMenu",null);$(this,"isApplied",!1);$(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 kc(){let o=()=>{document.querySelectorAll(".w-nav-overlay").forEach(t=>{t.dataset.mobileScrollInit||(t.dataset.mobileScrollInit="true",new Wo(t))})};o(),setTimeout(o,500)}var mf='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',Cc=o=>Array.from(o.querySelectorAll(mf)).filter(e=>e.offsetWidth>0||e.offsetHeight>0);function Pc(){let o=null,e=()=>document.querySelector("[data-form-modal]"),t=i=>{if(i.key!=="Tab")return;let s=e();if(!s)return;let a=Cc(s);if(i.preventDefault(),!a.length)return;let l=a.indexOf(document.activeElement);if(i.shiftKey){let c=l<=0?a.length-1:l-1;a[c].focus({preventScroll:!0})}else{let c=l>=a.length-1?0:l+1;a[c].focus({preventScroll:!0})}},r=()=>{let i=e();i&&(o=document.activeElement,i.classList.add("is-active"),requestAnimationFrame(()=>{let s=Cc(i);s.length?s[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),o?.focus(),o=null)};document.addEventListener("click",i=>{let s=i.target;if(s.closest('[data-trigger="form"]')){r();return}if(s.closest("[data-close-modal]")){n();return}let a=s.closest("[data-form-modal]");a&&s===a&&n()}),document.addEventListener("keydown",i=>{i.key==="Escape"&&n()})}var gf='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',Hc=o=>Array.from(o.querySelectorAll(gf)).filter(e=>e.offsetWidth>0||e.offsetHeight>0);function Oc(){let o=document.querySelector("[data-modal]");if(!o)return;let e=document.querySelectorAll("[data-product-trigger]"),t=document.querySelectorAll("[data-close-modal]"),r=o.querySelectorAll(".product_item-modal-inner");o.setAttribute("tabindex","-1");let n=null;gsap.set(o,{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=Hc(o);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})}},s=()=>{let c=Hc(o);c.length?c[0].focus({preventScroll:!0}):o.focus({preventScroll:!0})},a=c=>{let u=null,f=document.getElementById(c);if(f&&o.contains(f)?u=f:u=o.querySelector(`[data-modal-target="${c}"]`),!u){console.error(`No content found for target: ${c}`);return}getComputedStyle(o).display!=="none"&&getComputedStyle(o).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:s})):(n=document.activeElement,document.body.style.overflow="hidden",hc(),r.forEach(m=>{m.style.display="none"}),gsap.set(u,{display:"block",opacity:1}),gsap.timeline().set(o,{display:"flex",opacity:0,zIndex:2147483647,pointerEvents:"auto"}).to(o,{opacity:1,duration:.4,ease:"power2.out",onComplete:s}),document.addEventListener("keydown",i))},l=()=>{document.removeEventListener("keydown",i),gsap.to(o,{opacity:0,pointerEvents:"none",duration:.3,ease:"power2.in",onComplete:()=>{gsap.set(o,{display:"none",zIndex:-1}),gsap.set(r,{display:"none"}),document.body.style.overflow="",mc(),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&&a(f)})}),t.forEach(c=>{c.addEventListener("click",u=>{u.preventDefault(),l()})}),document.addEventListener("keydown",c=>{c.key==="Escape"&&getComputedStyle(o).display!=="none"&&getComputedStyle(o).opacity!=="0"&&l()})}var gi=new Map,Dc=991;function ps(){return window.innerWidth<=Dc}function _f(){let o="dock-custom-styles";if(document.getElementById(o))return;let e=document.createElement("style");e.id=o,e.innerHTML=`
228
230
  /* Base Tooltip Styles (Desktop) */
229
231
  [data-slider-dock] .nav-item__tooltip {
230
232
  font-size: 10px !important;
@@ -237,7 +239,7 @@
237
239
  padding: 0 12px !important;
238
240
  }
239
241
 
240
- @media screen and (max-width: ${mc}px) {
242
+ @media screen and (max-width: ${Dc}px) {
241
243
  /* Mobile Tooltip Styles */
242
244
  [data-slider-dock] .nav-item__tooltip {
243
245
  font-size: 10px !important;
@@ -272,7 +274,7 @@
272
274
  flex-shrink: 0 !important;
273
275
  }
274
276
  }
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()});})();
277
+ `,document.head.appendChild(e)}function Go(o){o.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===o.activeIndex,s=t===o.activeIndex-1||t===o.activeIndex+1;i?(r.style.transform="scale(1.4)",e.style.zIndex="100",n&&gsap.to(n,{opacity:1,y:-55,scale:1,duration:.3,ease:"power2.out",overwrite:!0})):s?(r.style.transform="scale(1.1)",e.style.zIndex="50",n&&gsap.to(n,{opacity:0,y:0,scale:.8,duration:.2,overwrite:!0})):(r.style.transform="scale(0.8)",e.style.zIndex="1",n&&gsap.to(n,{opacity:0,y:0,scale:.8,duration:.2,overwrite:!0}))})}function yf(o){if(gi.has(o))return;o.querySelectorAll(".nav-item").forEach(a=>{a.classList.remove("hover"),a.style.width="";let l=a.querySelector(".nav-item__link");l&&(l.style.transform="",l.style.transition="")});let t=o.getAttribute("data-dock-space"),r=t?parseFloat(t):16,n=o.parentElement,i=o.querySelector(".swiper-arrow.is-next"),s=o.querySelector(".swiper-arrow.is-prev");!i&&n&&(i=n.querySelector(".swiper-arrow.is-next")),!s&&n&&(s=n.querySelector(".swiper-arrow.is-prev")),o.style.width="100%",o.style.overflow="hidden",requestAnimationFrame(()=>{setTimeout(()=>{if(gi.has(o))return;let a={slidesPerView:"auto",slidesPerGroup:1,spaceBetween:r,loop:!1,centeredSlides:!0,freeMode:!1,watchOverflow:!0,observer:!0,observeParents:!0,resizeObserver:!0,updateOnWindowResize:!0,navigation:{nextEl:i,prevEl:s},on:{init:c=>{Go(c),setTimeout(()=>c.update(),100)},slideChange:c=>Go(c),transitionEnd:c=>Go(c)}},l=new Swiper(o,a);gi.set(o,l)},50)})}function vf(o){let e=gi.get(o);e&&(e.destroy(!0,!0),gi.delete(o))}function Rc(){return Array.from(document.querySelectorAll("[data-slider-dock]"))}function Ic(){let o=Rc(),e=ps();o.forEach(t=>{e?yf(t):vf(t)})}function bf(o,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>o(...r),e)}}function wf(){document.querySelectorAll("[data-slider-dock]").forEach(e=>{let t=Array.from(e.querySelectorAll(".nav-item"));if(t.length===0)return;let r=s=>{t.forEach((a,l)=>{let c=a.querySelector(".nav-item__link");c&&(c.style.transition="transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)",c.style.transformOrigin="center bottom",l===s?(c.style.transform="scale(2)",a.style.zIndex="100"):l===s-1||l===s+1?(c.style.transform="scale(1.25)",a.style.zIndex="50"):(c.style.transform="scale(1)",a.style.zIndex="1"))})},n=()=>{t.forEach(s=>{let a=s.querySelector(".nav-item__link");a&&(a.style.transform="scale(1)"),s.style.zIndex="",s.classList.remove("hover");let l=s.querySelector(".nav-item__tooltip");l&&gsap.to(l,{opacity:0,y:0,duration:.2,overwrite:!0})})};t.forEach((s,a)=>{s.style.position="relative";let l=s.querySelector(".nav-item__link");l&&(l.style.position="relative",l.style.zIndex="2");let c=s.querySelector(".nav-item__tooltip");c&&gsap.set(c,{position:"absolute",bottom:"100%",left:"50%",xPercent:-50,marginBottom:"-20px",opacity:0,pointerEvents:"none",display:"block"}),s.addEventListener("mouseenter",()=>{ps()||(r(a),s.classList.add("hover"),c&&gsap.to(c,{opacity:1,y:-55,duration:.3,ease:"power2.out",overwrite:!0}))}),s.addEventListener("mouseleave",()=>{ps()||c&&gsap.to(c,{opacity:0,y:0,duration:.2,overwrite:!0})})}),(e.querySelector(".nav-list")||e).addEventListener("mouseleave",()=>{ps()||n()})})}function qc(){if(typeof Swiper>"u"||Rc().length===0)return;_f(),Ic();let e=bf(Ic,150);window.addEventListener("resize",e),wf()}var _i=new Map,Vo=new Map,Ef=991;function xf(){return window.innerWidth<=Ef}function Nc(o,e){let t=o.slides.length,n=((o.realIndex!==void 0?o.realIndex:o.activeIndex)+1)/t*100;e.style.width=n+"%",e.style.transition="width 0.3s ease"}function Tf(o){if(_i.has(o))return;let e=o.getAttribute("data-mobile-slides"),t=e?parseFloat(e):1,r=o.getAttribute("data-mobile-space"),n=r?parseFloat(r):16,i=o.parentElement,s=o.querySelector(".swiper-arrow.is-next"),a=o.querySelector(".swiper-arrow.is-prev");!s&&i&&(s=i.querySelector(".swiper-arrow.is-next")),!a&&i&&(a=i.querySelector(".swiper-arrow.is-prev"));let l=o.querySelector(".swiper-progress-track"),c=o.querySelector(".swiper-progress-thumb");!l&&i&&(l=i.querySelector(".swiper-progress-track")),!c&&i&&(c=i.querySelector(".swiper-progress-thumb"));let u=o.querySelectorAll(".swiper-slide"),f=o.querySelector(".swiper-wrapper"),p=new Map;if(f){let w=f.style.cssText,b=document.createElement("div");b.style.cssText=w,p.set(f,b.style),f.style.display="flex",f.style.flexDirection="row",f.style.gap="0",f.style.gridGap="0"}u.forEach(w=>{let b=w.style.cssText,y=document.createElement("div");y.style.cssText=b,p.set(w,y.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"}),Vo.set(o,p);let d=o.getAttribute("data-tablet-slides"),m=d?parseFloat(d):t,h=o.getAttribute("data-desktop-slides"),g=h?parseFloat(h):4,E={slidesPerView:t,spaceBetween:n,loop:!1,freeMode:!1,watchOverflow:!0,breakpoints:{768:{slidesPerView:m,spaceBetween:n},992:{slidesPerView:g,spaceBetween:0}},navigation:{nextEl:s,prevEl:a},on:{init:function(){c&&Nc(this,c)},slideChange:function(){c&&Nc(this,c)}}},v=new Swiper(o,E);_i.set(o,v),l&&(l.hasAttribute("data-progress-listener")||(l.addEventListener("click",function(w){let b=_i.get(o);if(!b)return;let y=w,S=l.getBoundingClientRect(),T=y.clientX-S.left,M=S.width,L=T/M,x=b.slides.length,P=Math.floor(L*x);b.slideTo(P)}),l.setAttribute("data-progress-listener","true")))}function Sf(o){let e=_i.get(o);if(e){e.destroy(!0,!0),_i.delete(o);let t=Vo.get(o);t&&(t.forEach((r,n)=>{n.style.cssText=r.cssText}),Vo.delete(o))}}function Bc(){return Array.from(document.querySelectorAll("[data-slider-mobile]"))}function Fc(){let o=Bc(),e=xf();o.forEach(t=>{let r=e;if(!e){let n=t.querySelector(".swiper-wrapper");n&&n.children.length>4&&(r=!0)}r?Tf(t):Sf(t)})}function Lf(o,e){let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>o(...r),e)}}function zc(){if(typeof Swiper>"u"||Bc().length===0)return;Fc();let e=Lf(Fc,150);window.addEventListener("resize",e)}function Gc(){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,s=t.parentElement,a=t.querySelector(".swiper-arrow.is-next"),l=t.querySelector(".swiper-arrow.is-prev");!a&&s&&(a=s.querySelector(".swiper-arrow.is-next")),!l&&s&&(l=s.querySelector(".swiper-arrow.is-prev"));let c=t.querySelector(".swiper-progress-track"),u=t.querySelector(".swiper-progress-thumb");!c&&s&&(c=s.querySelector(".swiper-progress-track")),!u&&s&&(u=s.querySelector(".swiper-progress-thumb"));let f={slidesPerView:n,spaceBetween:0,loop:!1,centeredSlides:!0,navigation:{nextEl:a,prevEl:l},breakpoints:{...i?{768:{slidesPerView:1.5,centeredSlides:!0}}:{},992:{slidesPerView:1,centeredSlides:!0}},on:{init:function(){setTimeout(()=>{yi(this),u&&Wc(this,u)},50)},slideChange:function(){yi(this),u&&Wc(this,u)},slideChangeTransitionStart:function(){yi(this)},slideChangeTransitionEnd:function(){yi(this)},transitionEnd:function(){yi(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 E=c.getBoundingClientRect(),v=Math.max(0,Math.min(1,(g-E.left)/E.width)),w=p.slides.length;p.slideTo(Math.min(Math.floor(v*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 yi(o){o.slides.forEach(function(e,t){t===o.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(o,e){let t=o.slides.length,n=(o.realIndex+1)/t*100;e.style.width=n+"%"}var Vc="is-mobile-tabs",Yo="mobile-tabs-wrapper",Xo=class{constructor(e){$(this,"container");$(this,"menu");$(this,"content");$(this,"tabPairs",[]);$(this,"isMobileLayout",!1);$(this,"originalContentParent",null);$(this,"handleResize",()=>{let e=window.innerWidth<=991;e&&!this.isMobileLayout?this.applyMobileLayout():!e&&this.isMobileLayout&&this.restoreDesktopLayout()});$(this,"preventWebflowClick",e=>{e.stopImmediatePropagation()});$(this,"handleMobileTabClick",e=>{let r=e.currentTarget.getAttribute("data-w-tab")?.trim();this.tabPairs.forEach(({pill:n,tabName:i})=>{let s=n.nextElementSibling;if(!s||!s.classList.contains(Yo))return;let a=s.firstElementChild;a&&(i===r?(a.removeAttribute("hidden"),a.style.display="",s.classList.add("is-open")):(a.setAttribute("hidden","true"),a.style.display="none",s.classList.remove("is-open")))})});if(this.container=e,this.menu=e.querySelector(".w-tab-menu"),this.content=e.querySelector(".w-tab-content"),!this.menu||!this.content){console.error("[MobileTabs] Missing .w-tab-menu or .w-tab-content");return}this.originalContentParent=this.content.parentElement,this.collectTabPairs(),this.init()}collectTabPairs(){if(!this.menu||!this.content)return;let e=Array.from(this.menu.querySelectorAll("[data-w-tab]")),t=Array.from(this.content.querySelectorAll("[data-w-tab]"));e.forEach(r=>{let n=r.getAttribute("data-w-tab")?.trim();if(!n)return;let i=t.find(s=>s.getAttribute("data-w-tab")?.trim()===n);i&&this.tabPairs.push({pill:r,pane:i,tabName:n})})}init(){this.handleResize(),window.addEventListener("resize",this.handleResize.bind(this))}applyMobileLayout(){!this.menu||!this.content||(this.isMobileLayout=!0,this.container.classList.add(Vc),this.content.style.display="none",this.tabPairs.forEach(({pill:e,pane:t},r)=>{let n=document.createElement("div");n.className=Yo,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(Vc),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(`.${Yo}`).forEach(t=>t.remove()),this.content.style.display=""}destroy(){this.restoreDesktopLayout(),window.removeEventListener("resize",this.handleResize)}};function Yc(){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 Xo(t)}})}var hs=class{constructor(e){$(this,"tablistNode");$(this,"tabs",[]);$(this,"firstTab",null);$(this,"lastTab",null);$(this,"tabpanels",[]);$(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 s=document.getElementById(i);n.tabIndex=n.getAttribute("aria-selected")==="true"?0:-1,s&&(s.setAttribute("role","tabpanel"),s.setAttribute("aria-labelledby",n.id),s.removeAttribute("tabindex"),this.tabpanels.push(s)),n.addEventListener("keydown",this.onKeydown.bind(this)),n.addEventListener("click",this.onClick.bind(this)),this.firstTab||(this.firstTab=n),this.lastTab=n});let r=this.tabs.find(n=>n.getAttribute("aria-selected")==="true")||this.firstTab;r&&(window.innerWidth<=991&&this.tablistNode.closest(".tabs_component")?this.setInitialMobileTab(r):this.setSelectedTab(r,!1))}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 s=i,a=s.hasAttribute("hidden");a&&(s.style.visibility="hidden",s.style.display="block",s.style.position="absolute",s.removeAttribute("hidden")),n=Math.max(n,s.offsetHeight),a&&(s.setAttribute("hidden","true"),s.style.display="",s.style.position="",s.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(a=>clearTimeout(a)),this.pendingTimeouts=[];let n=this.tablistNode.closest(".tabs_component")!==null;this.tabs.forEach(a=>{if(e===a)return;let l=a.getAttribute("aria-controls"),c=l?document.getElementById(l):null;a.setAttribute("aria-selected","false"),a.tabIndex=-1,a.classList.remove("is-active-tab"),c&&(c.classList.remove("is-active-tab"),c.setAttribute("hidden","true"),c.removeAttribute("style"))});let i=e.getAttribute("aria-controls"),s=i?document.getElementById(i):null;e.setAttribute("aria-selected","true"),e.tabIndex=0,e.classList.add("is-active-tab"),s&&(s.classList.add("is-active-tab"),s.removeAttribute("hidden"),n?(s.style.opacity="0",s.style.transition="opacity 0.2s ease-in-out",s.offsetWidth,this.pendingTimeouts.push(window.setTimeout(()=>{s.style.opacity="1"},10)),this.pendingTimeouts.push(window.setTimeout(()=>{s.removeAttribute("style")},250))):s.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 Xc(){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 hs(r)}}),document.querySelectorAll('[role="tablist"]').forEach(t=>{t instanceof HTMLElement&&!t.closest('[data-module="tabs"]')&&new hs(t)})}function Uc(){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(s=>{t.set(s,s.getAttribute("href")||"")})});function r(){let n=window.innerWidth<=991;t.forEach((i,s)=>{if(n){let a=s.getAttribute("data-w-tab");a&&s.setAttribute("href",`/branze/${a}`)}else s.setAttribute("href",i)})}r(),window.addEventListener("resize",r)}window.Webflow||(window.Webflow=[]);window.Webflow.push(()=>{$o(),pc(),Xc(),Uc(),Yc(),xc(),Lc(),Ac(),kc(),yc(),vc(),Pc(),Oc(),Gc(),zc(),qc(),_c(),ec(),bc(),gc(),Zl(),Jl(),jo(),Zo(),Ko(),Ql(),jl(),dc(),fc(),Ec(),wc(),Mc()});})();
276
278
  /*! Bundled license information:
277
279
 
278
280
  gsap/gsap-core.js:
@@ -314,4 +316,13 @@ gsap/ScrollTrigger.js:
314
316
  * Subject to the terms at https://gsap.com/standard-license
315
317
  * @author: Jack Doyle, jack@greensock.com
316
318
  *)
319
+
320
+ gsap/SplitText.js:
321
+ (*!
322
+ * SplitText 3.14.2
323
+ * https://gsap.com
324
+ *
325
+ * @license Copyright 2025, GreenSock. All rights reserved. Subject to the terms at https://gsap.com/standard-license.
326
+ * @author: Jack Doyle
327
+ *)
317
328
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anegis-webflow-new",
3
- "version": "6.0.3",
3
+ "version": "6.1.2",
4
4
  "description": "Webflow development project for Anegis",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/ANEGIS/anegis-webflow-new#readme",
package/src/index.ts CHANGED
@@ -64,7 +64,7 @@ window.Webflow.push(() => {
64
64
  initCircleArrowAnimation();
65
65
  initSectionHeaderAnimation();
66
66
  initTimelineAnimation();
67
- initCaseStudyFilters();
68
67
  initSearchFilter();
68
+ initCaseStudyFilters();
69
69
  initLexicon();
70
70
  });