@widelab-nc/widehue 1.0.39 → 1.0.40

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,10 +1,10 @@
1
- (()=>{var Qa=!1,Ja=!1,Pi=[],el=-1;function S_(r){E_(r)}function E_(r){Pi.includes(r)||Pi.push(r),T_()}function Kc(r){let e=Pi.indexOf(r);e!==-1&&e>el&&Pi.splice(e,1)}function T_(){!Ja&&!Qa&&(Qa=!0,queueMicrotask(A_))}function A_(){Qa=!1,Ja=!0;for(let r=0;r<Pi.length;r++)Pi[r](),el=r;Pi.length=0,el=-1,Ja=!1}var pn,_n,ao,Zc,tl=!0;function C_(r){tl=!1,r(),tl=!0}function O_(r){pn=r.reactive,ao=r.release,_n=e=>r.effect(e,{scheduler:t=>{tl?S_(t):t()}}),Zc=r.raw}function Nc(r){_n=r}function k_(r){let e=()=>{};return[i=>{let n=_n(i);return r._x_effects||(r._x_effects=new Set,r._x_runEffects=()=>{r._x_effects.forEach(o=>o())}),r._x_effects.add(n),e=()=>{n!==void 0&&(r._x_effects.delete(n),ao(n))},n},()=>{e()}]}function io(r,e,t={}){r.dispatchEvent(new CustomEvent(e,{detail:t,bubbles:!0,composed:!0,cancelable:!0}))}function ti(r,e){if(typeof ShadowRoot=="function"&&r instanceof ShadowRoot){Array.from(r.children).forEach(n=>ti(n,e));return}let t=!1;if(e(r,()=>t=!0),t)return;let i=r.firstElementChild;for(;i;)ti(i,e,!1),i=i.nextElementSibling}function Mr(r,...e){console.warn(`Alpine Warning: ${r}`,...e)}var zc=!1;function M_(){zc&&Mr("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),zc=!0,document.body||Mr("Unable to initialize. Trying to load Alpine before `<body>` is available. Did you forget to add `defer` in Alpine's `<script>` tag?"),io(document,"alpine:init"),io(document,"alpine:initializing"),bl(),R_(e=>Pr(e,ti)),vl(e=>ml(e)),lf((e,t)=>{Tl(e,t).forEach(i=>i())});let r=e=>!Ts(e.parentElement,!0);Array.from(document.querySelectorAll(ef())).filter(r).forEach(e=>{Pr(e)}),io(document,"alpine:initialized")}var gl=[],Qc=[];function Jc(){return gl.map(r=>r())}function ef(){return gl.concat(Qc).map(r=>r())}function tf(r){gl.push(r)}function rf(r){Qc.push(r)}function Ts(r,e=!1){return As(r,t=>{if((e?ef():Jc()).some(n=>t.matches(n)))return!0})}function As(r,e){if(r){if(e(r))return r;if(r._x_teleportBack&&(r=r._x_teleportBack),!!r.parentElement)return As(r.parentElement,e)}}function P_(r){return Jc().some(e=>r.matches(e))}var nf=[];function L_(r){nf.push(r)}function Pr(r,e=ti,t=()=>{}){$_(()=>{e(r,(i,n)=>{t(i,n),nf.forEach(o=>o(i,n)),Tl(i,i.attributes).forEach(o=>o()),i._x_ignore&&n()})})}function ml(r){ti(r,e=>{cf(e),D_(e)})}var of=[],sf=[],af=[];function R_(r){af.push(r)}function vl(r,e){typeof e=="function"?(r._x_cleanups||(r._x_cleanups=[]),r._x_cleanups.push(e)):(e=r,sf.push(e))}function lf(r){of.push(r)}function uf(r,e,t){r._x_attributeCleanups||(r._x_attributeCleanups={}),r._x_attributeCleanups[e]||(r._x_attributeCleanups[e]=[]),r._x_attributeCleanups[e].push(t)}function cf(r,e){r._x_attributeCleanups&&Object.entries(r._x_attributeCleanups).forEach(([t,i])=>{(e===void 0||e.includes(t))&&(i.forEach(n=>n()),delete r._x_attributeCleanups[t])})}function D_(r){if(r._x_cleanups)for(;r._x_cleanups.length;)r._x_cleanups.pop()()}var yl=new MutationObserver(Sl),wl=!1;function bl(){yl.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),wl=!0}function ff(){I_(),yl.disconnect(),wl=!1}var no=[],$a=!1;function I_(){no=no.concat(yl.takeRecords()),no.length&&!$a&&($a=!0,queueMicrotask(()=>{N_(),$a=!1}))}function N_(){Sl(no),no.length=0}function qe(r){if(!wl)return r();ff();let e=r();return bl(),e}var xl=!1,xs=[];function z_(){xl=!0}function F_(){xl=!1,Sl(xs),xs=[]}function Sl(r){if(xl){xs=xs.concat(r);return}let e=[],t=[],i=new Map,n=new Map;for(let o=0;o<r.length;o++)if(!r[o].target._x_ignoreMutationObserver&&(r[o].type==="childList"&&(r[o].addedNodes.forEach(s=>s.nodeType===1&&e.push(s)),r[o].removedNodes.forEach(s=>s.nodeType===1&&t.push(s))),r[o].type==="attributes")){let s=r[o].target,a=r[o].attributeName,l=r[o].oldValue,u=()=>{i.has(s)||i.set(s,[]),i.get(s).push({name:a,value:s.getAttribute(a)})},c=()=>{n.has(s)||n.set(s,[]),n.get(s).push(a)};s.hasAttribute(a)&&l===null?u():s.hasAttribute(a)?(c(),u()):c()}n.forEach((o,s)=>{cf(s,o)}),i.forEach((o,s)=>{of.forEach(a=>a(s,o))});for(let o of t)e.includes(o)||(sf.forEach(s=>s(o)),ml(o));e.forEach(o=>{o._x_ignoreSelf=!0,o._x_ignore=!0});for(let o of e)t.includes(o)||o.isConnected&&(delete o._x_ignoreSelf,delete o._x_ignore,af.forEach(s=>s(o)),o._x_ignore=!0,o._x_ignoreSelf=!0);e.forEach(o=>{delete o._x_ignoreSelf,delete o._x_ignore}),e=null,t=null,i=null,n=null}function df(r){return uo(dn(r))}function lo(r,e,t){return r._x_dataStack=[e,...dn(t||r)],()=>{r._x_dataStack=r._x_dataStack.filter(i=>i!==e)}}function dn(r){return r._x_dataStack?r._x_dataStack:typeof ShadowRoot=="function"&&r instanceof ShadowRoot?dn(r.host):r.parentNode?dn(r.parentNode):[]}function uo(r){return new Proxy({objects:r},W_)}var W_={ownKeys({objects:r}){return Array.from(new Set(r.flatMap(e=>Object.keys(e))))},has({objects:r},e){return e==Symbol.unscopables?!1:r.some(t=>Object.prototype.hasOwnProperty.call(t,e))},get({objects:r},e,t){return e=="toJSON"?V_:Reflect.get(r.find(i=>Object.prototype.hasOwnProperty.call(i,e))||{},e,t)},set({objects:r},e,t){return Reflect.set(r.find(i=>Object.prototype.hasOwnProperty.call(i,e))||r[r.length-1],e,t)}};function V_(){return Reflect.ownKeys(this).reduce((e,t)=>(e[t]=Reflect.get(this,t),e),{})}function hf(r){let e=i=>typeof i=="object"&&!Array.isArray(i)&&i!==null,t=(i,n="")=>{Object.entries(Object.getOwnPropertyDescriptors(i)).forEach(([o,{value:s,enumerable:a}])=>{if(a===!1||s===void 0)return;let l=n===""?o:`${n}.${o}`;typeof s=="object"&&s!==null&&s._x_interceptor?i[o]=s.initialize(r,l,o):e(s)&&s!==i&&!(s instanceof Element)&&t(s,l)})};return t(r)}function pf(r,e=()=>{}){let t={initialValue:void 0,_x_interceptor:!0,initialize(i,n,o){return r(this.initialValue,()=>H_(i,n),s=>rl(i,n,s),n,o)}};return e(t),i=>{if(typeof i=="object"&&i!==null&&i._x_interceptor){let n=t.initialize.bind(t);t.initialize=(o,s,a)=>{let l=i.initialize(o,s,a);return t.initialValue=l,n(o,s,a)}}else t.initialValue=i;return t}}function H_(r,e){return e.split(".").reduce((t,i)=>t[i],r)}function rl(r,e,t){if(typeof e=="string"&&(e=e.split(".")),e.length===1)r[e[0]]=t;else{if(e.length===0)throw error;return r[e[0]]||(r[e[0]]={}),rl(r[e[0]],e.slice(1),t)}}var _f={};function or(r,e){_f[r]=e}function il(r,e){return Object.entries(_f).forEach(([t,i])=>{let n=null;function o(){if(n)return n;{let[s,a]=bf(e);return n={interceptor:pf,...s},vl(e,a),n}}Object.defineProperty(r,`$${t}`,{get(){return i(e,o())},enumerable:!1})}),r}function B_(r,e,t,...i){try{return t(...i)}catch(n){so(n,r,e)}}function so(r,e,t=void 0){Object.assign(r,{el:e,expression:t}),console.warn(`Alpine Expression Error: ${r.message}
1
+ (()=>{var Qa=!1,Ja=!1,Pi=[],el=-1;function S_(r){E_(r)}function E_(r){Pi.includes(r)||Pi.push(r),T_()}function Kc(r){let e=Pi.indexOf(r);e!==-1&&e>el&&Pi.splice(e,1)}function T_(){!Ja&&!Qa&&(Qa=!0,queueMicrotask(A_))}function A_(){Qa=!1,Ja=!0;for(let r=0;r<Pi.length;r++)Pi[r](),el=r;Pi.length=0,el=-1,Ja=!1}var pn,_n,ao,Zc,tl=!0;function C_(r){tl=!1,r(),tl=!0}function O_(r){pn=r.reactive,ao=r.release,_n=e=>r.effect(e,{scheduler:t=>{tl?S_(t):t()}}),Zc=r.raw}function Nc(r){_n=r}function k_(r){let e=()=>{};return[i=>{let n=_n(i);return r._x_effects||(r._x_effects=new Set,r._x_runEffects=()=>{r._x_effects.forEach(o=>o())}),r._x_effects.add(n),e=()=>{n!==void 0&&(r._x_effects.delete(n),ao(n))},n},()=>{e()}]}function io(r,e,t={}){r.dispatchEvent(new CustomEvent(e,{detail:t,bubbles:!0,composed:!0,cancelable:!0}))}function ti(r,e){if(typeof ShadowRoot=="function"&&r instanceof ShadowRoot){Array.from(r.children).forEach(n=>ti(n,e));return}let t=!1;if(e(r,()=>t=!0),t)return;let i=r.firstElementChild;for(;i;)ti(i,e,!1),i=i.nextElementSibling}function Mr(r,...e){console.warn(`Alpine Warning: ${r}`,...e)}var zc=!1;function M_(){zc&&Mr("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),zc=!0,document.body||Mr("Unable to initialize. Trying to load Alpine before `<body>` is available. Did you forget to add `defer` in Alpine's `<script>` tag?"),io(document,"alpine:init"),io(document,"alpine:initializing"),bl(),R_(e=>Pr(e,ti)),vl(e=>ml(e)),lf((e,t)=>{Tl(e,t).forEach(i=>i())});let r=e=>!Ts(e.parentElement,!0);Array.from(document.querySelectorAll(ef())).filter(r).forEach(e=>{Pr(e)}),io(document,"alpine:initialized")}var gl=[],Qc=[];function Jc(){return gl.map(r=>r())}function ef(){return gl.concat(Qc).map(r=>r())}function tf(r){gl.push(r)}function rf(r){Qc.push(r)}function Ts(r,e=!1){return As(r,t=>{if((e?ef():Jc()).some(n=>t.matches(n)))return!0})}function As(r,e){if(r){if(e(r))return r;if(r._x_teleportBack&&(r=r._x_teleportBack),!!r.parentElement)return As(r.parentElement,e)}}function P_(r){return Jc().some(e=>r.matches(e))}var nf=[];function L_(r){nf.push(r)}function Pr(r,e=ti,t=()=>{}){$_(()=>{e(r,(i,n)=>{t(i,n),nf.forEach(o=>o(i,n)),Tl(i,i.attributes).forEach(o=>o()),i._x_ignore&&n()})})}function ml(r){ti(r,e=>{cf(e),D_(e)})}var of=[],sf=[],af=[];function R_(r){af.push(r)}function vl(r,e){typeof e=="function"?(r._x_cleanups||(r._x_cleanups=[]),r._x_cleanups.push(e)):(e=r,sf.push(e))}function lf(r){of.push(r)}function uf(r,e,t){r._x_attributeCleanups||(r._x_attributeCleanups={}),r._x_attributeCleanups[e]||(r._x_attributeCleanups[e]=[]),r._x_attributeCleanups[e].push(t)}function cf(r,e){r._x_attributeCleanups&&Object.entries(r._x_attributeCleanups).forEach(([t,i])=>{(e===void 0||e.includes(t))&&(i.forEach(n=>n()),delete r._x_attributeCleanups[t])})}function D_(r){if(r._x_cleanups)for(;r._x_cleanups.length;)r._x_cleanups.pop()()}var yl=new MutationObserver(Sl),wl=!1;function bl(){yl.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),wl=!0}function ff(){I_(),yl.disconnect(),wl=!1}var no=[],$a=!1;function I_(){no=no.concat(yl.takeRecords()),no.length&&!$a&&($a=!0,queueMicrotask(()=>{N_(),$a=!1}))}function N_(){Sl(no),no.length=0}function qe(r){if(!wl)return r();ff();let e=r();return bl(),e}var xl=!1,xs=[];function z_(){xl=!0}function F_(){xl=!1,Sl(xs),xs=[]}function Sl(r){if(xl){xs=xs.concat(r);return}let e=[],t=[],i=new Map,n=new Map;for(let o=0;o<r.length;o++)if(!r[o].target._x_ignoreMutationObserver&&(r[o].type==="childList"&&(r[o].addedNodes.forEach(s=>s.nodeType===1&&e.push(s)),r[o].removedNodes.forEach(s=>s.nodeType===1&&t.push(s))),r[o].type==="attributes")){let s=r[o].target,a=r[o].attributeName,l=r[o].oldValue,u=()=>{i.has(s)||i.set(s,[]),i.get(s).push({name:a,value:s.getAttribute(a)})},c=()=>{n.has(s)||n.set(s,[]),n.get(s).push(a)};s.hasAttribute(a)&&l===null?u():s.hasAttribute(a)?(c(),u()):c()}n.forEach((o,s)=>{cf(s,o)}),i.forEach((o,s)=>{of.forEach(a=>a(s,o))});for(let o of t)e.includes(o)||(sf.forEach(s=>s(o)),ml(o));e.forEach(o=>{o._x_ignoreSelf=!0,o._x_ignore=!0});for(let o of e)t.includes(o)||o.isConnected&&(delete o._x_ignoreSelf,delete o._x_ignore,af.forEach(s=>s(o)),o._x_ignore=!0,o._x_ignoreSelf=!0);e.forEach(o=>{delete o._x_ignoreSelf,delete o._x_ignore}),e=null,t=null,i=null,n=null}function df(r){return uo(dn(r))}function lo(r,e,t){return r._x_dataStack=[e,...dn(t||r)],()=>{r._x_dataStack=r._x_dataStack.filter(i=>i!==e)}}function dn(r){return r._x_dataStack?r._x_dataStack:typeof ShadowRoot=="function"&&r instanceof ShadowRoot?dn(r.host):r.parentNode?dn(r.parentNode):[]}function uo(r){return new Proxy({objects:r},H_)}var H_={ownKeys({objects:r}){return Array.from(new Set(r.flatMap(e=>Object.keys(e))))},has({objects:r},e){return e==Symbol.unscopables?!1:r.some(t=>Object.prototype.hasOwnProperty.call(t,e))},get({objects:r},e,t){return e=="toJSON"?V_:Reflect.get(r.find(i=>Object.prototype.hasOwnProperty.call(i,e))||{},e,t)},set({objects:r},e,t){return Reflect.set(r.find(i=>Object.prototype.hasOwnProperty.call(i,e))||r[r.length-1],e,t)}};function V_(){return Reflect.ownKeys(this).reduce((e,t)=>(e[t]=Reflect.get(this,t),e),{})}function hf(r){let e=i=>typeof i=="object"&&!Array.isArray(i)&&i!==null,t=(i,n="")=>{Object.entries(Object.getOwnPropertyDescriptors(i)).forEach(([o,{value:s,enumerable:a}])=>{if(a===!1||s===void 0)return;let l=n===""?o:`${n}.${o}`;typeof s=="object"&&s!==null&&s._x_interceptor?i[o]=s.initialize(r,l,o):e(s)&&s!==i&&!(s instanceof Element)&&t(s,l)})};return t(r)}function pf(r,e=()=>{}){let t={initialValue:void 0,_x_interceptor:!0,initialize(i,n,o){return r(this.initialValue,()=>W_(i,n),s=>rl(i,n,s),n,o)}};return e(t),i=>{if(typeof i=="object"&&i!==null&&i._x_interceptor){let n=t.initialize.bind(t);t.initialize=(o,s,a)=>{let l=i.initialize(o,s,a);return t.initialValue=l,n(o,s,a)}}else t.initialValue=i;return t}}function W_(r,e){return e.split(".").reduce((t,i)=>t[i],r)}function rl(r,e,t){if(typeof e=="string"&&(e=e.split(".")),e.length===1)r[e[0]]=t;else{if(e.length===0)throw error;return r[e[0]]||(r[e[0]]={}),rl(r[e[0]],e.slice(1),t)}}var _f={};function or(r,e){_f[r]=e}function il(r,e){return Object.entries(_f).forEach(([t,i])=>{let n=null;function o(){if(n)return n;{let[s,a]=bf(e);return n={interceptor:pf,...s},vl(e,a),n}}Object.defineProperty(r,`$${t}`,{get(){return i(e,o())},enumerable:!1})}),r}function B_(r,e,t,...i){try{return t(...i)}catch(n){so(n,r,e)}}function so(r,e,t=void 0){Object.assign(r,{el:e,expression:t}),console.warn(`Alpine Expression Error: ${r.message}
2
2
 
3
3
  ${t?'Expression: "'+t+`"
4
4
 
5
- `:""}`,e),setTimeout(()=>{throw r},0)}var bs=!0;function gf(r){let e=bs;bs=!1;let t=r();return bs=e,t}function Li(r,e,t={}){let i;return _t(r,e)(n=>i=n,t),i}function _t(...r){return mf(...r)}var mf=vf;function q_(r){mf=r}function vf(r,e){let t={};il(t,r);let i=[t,...dn(r)],n=typeof e=="function"?Y_(i,e):U_(i,e,r);return B_.bind(null,r,e,n)}function Y_(r,e){return(t=()=>{},{scope:i={},params:n=[]}={})=>{let o=e.apply(uo([i,...r]),n);Ss(t,o)}}var ja={};function X_(r,e){if(ja[r])return ja[r];let t=Object.getPrototypeOf(async function(){}).constructor,i=/^[\n\s]*if.*\(.*\)/.test(r.trim())||/^(let|const)\s/.test(r.trim())?`(async()=>{ ${r} })()`:r,o=(()=>{try{let s=new t(["__self","scope"],`with (scope) { __self.result = ${i} }; __self.finished = true; return __self.result;`);return Object.defineProperty(s,"name",{value:`[Alpine] ${r}`}),s}catch(s){return so(s,e,r),Promise.resolve()}})();return ja[r]=o,o}function U_(r,e,t){let i=X_(e,t);return(n=()=>{},{scope:o={},params:s=[]}={})=>{i.result=void 0,i.finished=!1;let a=uo([o,...r]);if(typeof i=="function"){let l=i(i,a).catch(u=>so(u,t,e));i.finished?(Ss(n,i.result,a,s,t),i.result=void 0):l.then(u=>{Ss(n,u,a,s,t)}).catch(u=>so(u,t,e)).finally(()=>i.result=void 0)}}}function Ss(r,e,t,i,n){if(bs&&typeof e=="function"){let o=e.apply(t,i);o instanceof Promise?o.then(s=>Ss(r,s,t,i)).catch(s=>so(s,n,e)):r(o)}else typeof e=="object"&&e instanceof Promise?e.then(o=>r(o)):r(e)}var El="x-";function gn(r=""){return El+r}function G_(r){El=r}var nl={};function ze(r,e){return nl[r]=e,{before(t){if(!nl[t]){console.warn("Cannot find directive `${directive}`. `${name}` will use the default order of execution");return}let i=Mi.indexOf(t);Mi.splice(i>=0?i:Mi.indexOf("DEFAULT"),0,r)}}}function Tl(r,e,t){if(e=Array.from(e),r._x_virtualDirectives){let o=Object.entries(r._x_virtualDirectives).map(([a,l])=>({name:a,value:l})),s=yf(o);o=o.map(a=>s.find(l=>l.name===a.name)?{name:`x-bind:${a.name}`,value:`"${a.value}"`}:a),e=e.concat(o)}let i={};return e.map(Ef((o,s)=>i[o]=s)).filter(Af).map(K_(i,t)).sort(Z_).map(o=>j_(r,o))}function yf(r){return Array.from(r).map(Ef()).filter(e=>!Af(e))}var ol=!1,ro=new Map,wf=Symbol();function $_(r){ol=!0;let e=Symbol();wf=e,ro.set(e,[]);let t=()=>{for(;ro.get(e).length;)ro.get(e).shift()();ro.delete(e)},i=()=>{ol=!1,t()};r(t),i()}function bf(r){let e=[],t=a=>e.push(a),[i,n]=k_(r);return e.push(n),[{Alpine:co,effect:i,cleanup:t,evaluateLater:_t.bind(_t,r),evaluate:Li.bind(Li,r)},()=>e.forEach(a=>a())]}function j_(r,e){let t=()=>{},i=nl[e.type]||t,[n,o]=bf(r);uf(r,e.original,o);let s=()=>{r._x_ignore||r._x_ignoreSelf||(i.inline&&i.inline(r,e,n),i=i.bind(i,r,e,n),ol?ro.get(wf).push(i):i())};return s.runCleanups=o,s}var xf=(r,e)=>({name:t,value:i})=>(t.startsWith(r)&&(t=t.replace(r,e)),{name:t,value:i}),Sf=r=>r;function Ef(r=()=>{}){return({name:e,value:t})=>{let{name:i,value:n}=Tf.reduce((o,s)=>s(o),{name:e,value:t});return i!==e&&r(i,e),{name:i,value:n}}}var Tf=[];function Al(r){Tf.push(r)}function Af({name:r}){return Cf().test(r)}var Cf=()=>new RegExp(`^${El}([^:^.]+)\\b`);function K_(r,e){return({name:t,value:i})=>{let n=t.match(Cf()),o=t.match(/:([a-zA-Z0-9\-:]+)/),s=t.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],a=e||r[t]||t;return{type:n?n[1]:null,value:o?o[1]:null,modifiers:s.map(l=>l.replace(".","")),expression:i,original:a}}}var sl="DEFAULT",Mi=["ignore","ref","data","id","bind","init","for","model","modelable","transition","show","if",sl,"teleport"];function Z_(r,e){let t=Mi.indexOf(r.type)===-1?sl:r.type,i=Mi.indexOf(e.type)===-1?sl:e.type;return Mi.indexOf(t)-Mi.indexOf(i)}var al=[],Cl=!1;function Ol(r=()=>{}){return queueMicrotask(()=>{Cl||setTimeout(()=>{ll()})}),new Promise(e=>{al.push(()=>{r(),e()})})}function ll(){for(Cl=!1;al.length;)al.shift()()}function Q_(){Cl=!0}function kl(r,e){return Array.isArray(e)?Fc(r,e.join(" ")):typeof e=="object"&&e!==null?J_(r,e):typeof e=="function"?kl(r,e()):Fc(r,e)}function Fc(r,e){let t=o=>o.split(" ").filter(Boolean),i=o=>o.split(" ").filter(s=>!r.classList.contains(s)).filter(Boolean),n=o=>(r.classList.add(...o),()=>{r.classList.remove(...o)});return e=e===!0?e="":e||"",n(i(e))}function J_(r,e){let t=a=>a.split(" ").filter(Boolean),i=Object.entries(e).flatMap(([a,l])=>l?t(a):!1).filter(Boolean),n=Object.entries(e).flatMap(([a,l])=>l?!1:t(a)).filter(Boolean),o=[],s=[];return n.forEach(a=>{r.classList.contains(a)&&(r.classList.remove(a),s.push(a))}),i.forEach(a=>{r.classList.contains(a)||(r.classList.add(a),o.push(a))}),()=>{s.forEach(a=>r.classList.add(a)),o.forEach(a=>r.classList.remove(a))}}function Cs(r,e){return typeof e=="object"&&e!==null?eg(r,e):tg(r,e)}function eg(r,e){let t={};return Object.entries(e).forEach(([i,n])=>{t[i]=r.style[i],i.startsWith("--")||(i=rg(i)),r.style.setProperty(i,n)}),setTimeout(()=>{r.style.length===0&&r.removeAttribute("style")}),()=>{Cs(r,t)}}function tg(r,e){let t=r.getAttribute("style",e);return r.setAttribute("style",e),()=>{r.setAttribute("style",t||"")}}function rg(r){return r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function ul(r,e=()=>{}){let t=!1;return function(){t?e.apply(this,arguments):(t=!0,r.apply(this,arguments))}}ze("transition",(r,{value:e,modifiers:t,expression:i},{evaluate:n})=>{typeof i=="function"&&(i=n(i)),i!==!1&&(!i||typeof i=="boolean"?ng(r,t,e):ig(r,i,e))});function ig(r,e,t){Of(r,kl,""),{enter:n=>{r._x_transition.enter.during=n},"enter-start":n=>{r._x_transition.enter.start=n},"enter-end":n=>{r._x_transition.enter.end=n},leave:n=>{r._x_transition.leave.during=n},"leave-start":n=>{r._x_transition.leave.start=n},"leave-end":n=>{r._x_transition.leave.end=n}}[t](e)}function ng(r,e,t){Of(r,Cs);let i=!e.includes("in")&&!e.includes("out")&&!t,n=i||e.includes("in")||["enter"].includes(t),o=i||e.includes("out")||["leave"].includes(t);e.includes("in")&&!i&&(e=e.filter((m,v)=>v<e.indexOf("out"))),e.includes("out")&&!i&&(e=e.filter((m,v)=>v>e.indexOf("out")));let s=!e.includes("opacity")&&!e.includes("scale"),a=s||e.includes("opacity"),l=s||e.includes("scale"),u=a?0:1,c=l?eo(e,"scale",95)/100:1,d=eo(e,"delay",0)/1e3,h=eo(e,"origin","center"),f="opacity, transform",_=eo(e,"duration",150)/1e3,p=eo(e,"duration",75)/1e3,g="cubic-bezier(0.4, 0.0, 0.2, 1)";n&&(r._x_transition.enter.during={transformOrigin:h,transitionDelay:`${d}s`,transitionProperty:f,transitionDuration:`${_}s`,transitionTimingFunction:g},r._x_transition.enter.start={opacity:u,transform:`scale(${c})`},r._x_transition.enter.end={opacity:1,transform:"scale(1)"}),o&&(r._x_transition.leave.during={transformOrigin:h,transitionDelay:`${d}s`,transitionProperty:f,transitionDuration:`${p}s`,transitionTimingFunction:g},r._x_transition.leave.start={opacity:1,transform:"scale(1)"},r._x_transition.leave.end={opacity:u,transform:`scale(${c})`})}function Of(r,e,t={}){r._x_transition||(r._x_transition={enter:{during:t,start:t,end:t},leave:{during:t,start:t,end:t},in(i=()=>{},n=()=>{}){cl(r,e,{during:this.enter.during,start:this.enter.start,end:this.enter.end},i,n)},out(i=()=>{},n=()=>{}){cl(r,e,{during:this.leave.during,start:this.leave.start,end:this.leave.end},i,n)}})}window.Element.prototype._x_toggleAndCascadeWithTransitions=function(r,e,t,i){let n=document.visibilityState==="visible"?requestAnimationFrame:setTimeout,o=()=>n(t);if(e){r._x_transition&&(r._x_transition.enter||r._x_transition.leave)?r._x_transition.enter&&(Object.entries(r._x_transition.enter.during).length||Object.entries(r._x_transition.enter.start).length||Object.entries(r._x_transition.enter.end).length)?r._x_transition.in(t):o():r._x_transition?r._x_transition.in(t):o();return}r._x_hidePromise=r._x_transition?new Promise((s,a)=>{r._x_transition.out(()=>{},()=>s(i)),r._x_transitioning.beforeCancel(()=>a({isFromCancelledTransition:!0}))}):Promise.resolve(i),queueMicrotask(()=>{let s=kf(r);s?(s._x_hideChildren||(s._x_hideChildren=[]),s._x_hideChildren.push(r)):n(()=>{let a=l=>{let u=Promise.all([l._x_hidePromise,...(l._x_hideChildren||[]).map(a)]).then(([c])=>c());return delete l._x_hidePromise,delete l._x_hideChildren,u};a(r).catch(l=>{if(!l.isFromCancelledTransition)throw l})})})};function kf(r){let e=r.parentNode;if(e)return e._x_hidePromise?e:kf(e)}function cl(r,e,{during:t,start:i,end:n}={},o=()=>{},s=()=>{}){if(r._x_transitioning&&r._x_transitioning.cancel(),Object.keys(t).length===0&&Object.keys(i).length===0&&Object.keys(n).length===0){o(),s();return}let a,l,u;og(r,{start(){a=e(r,i)},during(){l=e(r,t)},before:o,end(){a(),u=e(r,n)},after:s,cleanup(){l(),u()}})}function og(r,e){let t,i,n,o=ul(()=>{qe(()=>{t=!0,i||e.before(),n||(e.end(),ll()),e.after(),r.isConnected&&e.cleanup(),delete r._x_transitioning})});r._x_transitioning={beforeCancels:[],beforeCancel(s){this.beforeCancels.push(s)},cancel:ul(function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();o()}),finish:o},qe(()=>{e.start(),e.during()}),Q_(),requestAnimationFrame(()=>{if(t)return;let s=Number(getComputedStyle(r).transitionDuration.replace(/,.*/,"").replace("s",""))*1e3,a=Number(getComputedStyle(r).transitionDelay.replace(/,.*/,"").replace("s",""))*1e3;s===0&&(s=Number(getComputedStyle(r).animationDuration.replace("s",""))*1e3),qe(()=>{e.before()}),i=!0,requestAnimationFrame(()=>{t||(qe(()=>{e.end()}),ll(),setTimeout(r._x_transitioning.finish,s+a),n=!0)})})}function eo(r,e,t){if(r.indexOf(e)===-1)return t;let i=r[r.indexOf(e)+1];if(!i||e==="scale"&&isNaN(i))return t;if(e==="duration"||e==="delay"){let n=i.match(/([0-9]+)ms/);if(n)return n[1]}return e==="origin"&&["top","right","left","center","bottom"].includes(r[r.indexOf(e)+2])?[i,r[r.indexOf(e)+2]].join(" "):i}var ri=!1;function Os(r,e=()=>{}){return(...t)=>ri?e(...t):r(...t)}function sg(r){return(...e)=>ri&&r(...e)}function ag(r,e){r._x_dataStack&&(e._x_dataStack=r._x_dataStack,e.setAttribute("data-has-alpine-state",!0)),ri=!0,Mf(()=>{Pr(e,(t,i)=>{i(t,()=>{})})}),ri=!1}var fl=!1;function lg(r,e){e._x_dataStack||(e._x_dataStack=r._x_dataStack),ri=!0,fl=!0,Mf(()=>{ug(e)}),ri=!1,fl=!1}function ug(r){let e=!1;Pr(r,(i,n)=>{ti(i,(o,s)=>{if(e&&P_(o))return s();e=!0,n(o,s)})})}function Mf(r){let e=_n;Nc((t,i)=>{let n=e(t);return ao(n),()=>{}}),r(),Nc(e)}function cg(r){return ri?fl?!0:r.hasAttribute("data-has-alpine-state"):!1}function Pf(r,e,t,i=[]){switch(r._x_bindings||(r._x_bindings=pn({})),r._x_bindings[e]=t,e=i.includes("camel")?vg(e):e,e){case"value":fg(r,t);break;case"style":hg(r,t);break;case"class":dg(r,t);break;case"selected":case"checked":pg(r,e,t);break;default:Lf(r,e,t);break}}function fg(r,e){if(r.type==="radio")r.attributes.value===void 0&&(r.value=e),window.fromModel&&(r.checked=Wc(r.value,e));else if(r.type==="checkbox")Number.isInteger(e)?r.value=e:!Array.isArray(e)&&typeof e!="boolean"&&![null,void 0].includes(e)?r.value=String(e):Array.isArray(e)?r.checked=e.some(t=>Wc(t,r.value)):r.checked=!!e;else if(r.tagName==="SELECT")mg(r,e);else{if(r.value===e)return;r.value=e===void 0?"":e}}function dg(r,e){r._x_undoAddedClasses&&r._x_undoAddedClasses(),r._x_undoAddedClasses=kl(r,e)}function hg(r,e){r._x_undoAddedStyles&&r._x_undoAddedStyles(),r._x_undoAddedStyles=Cs(r,e)}function pg(r,e,t){Lf(r,e,t),gg(r,e,t)}function Lf(r,e,t){[null,void 0,!1].includes(t)&&yg(e)?r.removeAttribute(e):(Rf(e)&&(t=e),_g(r,e,t))}function _g(r,e,t){r.getAttribute(e)!=t&&r.setAttribute(e,t)}function gg(r,e,t){r[e]!==t&&(r[e]=t)}function mg(r,e){let t=[].concat(e).map(i=>i+"");Array.from(r.options).forEach(i=>{i.selected=t.includes(i.value)})}function vg(r){return r.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function Wc(r,e){return r==e}function Rf(r){return["disabled","checked","required","readonly","hidden","open","selected","autofocus","itemscope","multiple","novalidate","allowfullscreen","allowpaymentrequest","formnovalidate","autoplay","controls","loop","muted","playsinline","default","ismap","reversed","async","defer","nomodule"].includes(r)}function yg(r){return!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(r)}function wg(r,e,t){return r._x_bindings&&r._x_bindings[e]!==void 0?r._x_bindings[e]:Df(r,e,t)}function bg(r,e,t,i=!0){if(r._x_bindings&&r._x_bindings[e]!==void 0)return r._x_bindings[e];if(r._x_inlineBindings&&r._x_inlineBindings[e]!==void 0){let n=r._x_inlineBindings[e];return n.extract=i,gf(()=>Li(r,n.expression))}return Df(r,e,t)}function Df(r,e,t){let i=r.getAttribute(e);return i===null?typeof t=="function"?t():t:i===""?!0:Rf(e)?!![e,"true"].includes(i):i}function If(r,e){var t;return function(){var i=this,n=arguments,o=function(){t=null,r.apply(i,n)};clearTimeout(t),t=setTimeout(o,e)}}function Nf(r,e){let t;return function(){let i=this,n=arguments;t||(r.apply(i,n),t=!0,setTimeout(()=>t=!1,e))}}function zf({get:r,set:e},{get:t,set:i}){let n=!0,o,s,a,l,u=_n(()=>{let c,d;n?(c=r(),i(JSON.parse(JSON.stringify(c))),d=t(),n=!1):(c=r(),d=t(),a=JSON.stringify(c),l=JSON.stringify(d),a!==o?(d=t(),i(c),d=c):(e(JSON.parse(l??null)),c=d)),o=JSON.stringify(c),s=JSON.stringify(d)});return()=>{ao(u)}}function xg(r){(Array.isArray(r)?r:[r]).forEach(t=>t(co))}var ki={},Vc=!1;function Sg(r,e){if(Vc||(ki=pn(ki),Vc=!0),e===void 0)return ki[r];ki[r]=e,typeof e=="object"&&e!==null&&e.hasOwnProperty("init")&&typeof e.init=="function"&&ki[r].init(),hf(ki[r])}function Eg(){return ki}var Ff={};function Tg(r,e){let t=typeof e!="function"?()=>e:e;return r instanceof Element?Wf(r,t()):(Ff[r]=t,()=>{})}function Ag(r){return Object.entries(Ff).forEach(([e,t])=>{Object.defineProperty(r,e,{get(){return(...i)=>t(...i)}})}),r}function Wf(r,e,t){let i=[];for(;i.length;)i.pop()();let n=Object.entries(e).map(([s,a])=>({name:s,value:a})),o=yf(n);return n=n.map(s=>o.find(a=>a.name===s.name)?{name:`x-bind:${s.name}`,value:`"${s.value}"`}:s),Tl(r,n,t).map(s=>{i.push(s.runCleanups),s()}),()=>{for(;i.length;)i.pop()()}}var Vf={};function Cg(r,e){Vf[r]=e}function Og(r,e){return Object.entries(Vf).forEach(([t,i])=>{Object.defineProperty(r,t,{get(){return(...n)=>i.bind(e)(...n)},enumerable:!1})}),r}var kg={get reactive(){return pn},get release(){return ao},get effect(){return _n},get raw(){return Zc},version:"3.13.1",flushAndStopDeferringMutations:F_,dontAutoEvaluateFunctions:gf,disableEffectScheduling:C_,startObservingMutations:bl,stopObservingMutations:ff,setReactivityEngine:O_,onAttributeRemoved:uf,onAttributesAdded:lf,closestDataStack:dn,skipDuringClone:Os,onlyDuringClone:sg,addRootSelector:tf,addInitSelector:rf,addScopeToNode:lo,deferMutations:z_,mapAttributes:Al,evaluateLater:_t,interceptInit:L_,setEvaluator:q_,mergeProxies:uo,extractProp:bg,findClosest:As,onElRemoved:vl,closestRoot:Ts,destroyTree:ml,interceptor:pf,transition:cl,setStyles:Cs,mutateDom:qe,directive:ze,entangle:zf,throttle:Nf,debounce:If,evaluate:Li,initTree:Pr,nextTick:Ol,prefixed:gn,prefix:G_,plugin:xg,magic:or,store:Sg,start:M_,clone:lg,cloneNode:ag,bound:wg,$data:df,walk:ti,data:Cg,bind:Tg},co=kg;function Hf(r,e){let t=Object.create(null),i=r.split(",");for(let n=0;n<i.length;n++)t[i[n]]=!0;return e?n=>!!t[n.toLowerCase()]:n=>!!t[n]}var Mg="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",T1=Hf(Mg+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),Pg=Object.freeze({}),A1=Object.freeze([]),Lg=Object.prototype.hasOwnProperty,ks=(r,e)=>Lg.call(r,e),Ri=Array.isArray,oo=r=>Bf(r)==="[object Map]",Rg=r=>typeof r=="string",Ml=r=>typeof r=="symbol",Ms=r=>r!==null&&typeof r=="object",Dg=Object.prototype.toString,Bf=r=>Dg.call(r),qf=r=>Bf(r).slice(8,-1),Pl=r=>Rg(r)&&r!=="NaN"&&r[0]!=="-"&&""+parseInt(r,10)===r,Ps=r=>{let e=Object.create(null);return t=>e[t]||(e[t]=r(t))},Ig=/-(\w)/g,C1=Ps(r=>r.replace(Ig,(e,t)=>t?t.toUpperCase():"")),Ng=/\B([A-Z])/g,O1=Ps(r=>r.replace(Ng,"-$1").toLowerCase()),Yf=Ps(r=>r.charAt(0).toUpperCase()+r.slice(1)),k1=Ps(r=>r?`on${Yf(r)}`:""),Xf=(r,e)=>r!==e&&(r===r||e===e),dl=new WeakMap,to=[],pr,Di=Symbol("iterate"),hl=Symbol("Map key iterate");function zg(r){return r&&r._isEffect===!0}function Fg(r,e=Pg){zg(r)&&(r=r.raw);let t=Hg(r,e);return e.lazy||t(),t}function Wg(r){r.active&&(Uf(r),r.options.onStop&&r.options.onStop(),r.active=!1)}var Vg=0;function Hg(r,e){let t=function(){if(!t.active)return r();if(!to.includes(t)){Uf(t);try{return qg(),to.push(t),pr=t,r()}finally{to.pop(),Gf(),pr=to[to.length-1]}}};return t.id=Vg++,t.allowRecurse=!!e.allowRecurse,t._isEffect=!0,t.active=!0,t.raw=r,t.deps=[],t.options=e,t}function Uf(r){let{deps:e}=r;if(e.length){for(let t=0;t<e.length;t++)e[t].delete(r);e.length=0}}var hn=!0,Ll=[];function Bg(){Ll.push(hn),hn=!1}function qg(){Ll.push(hn),hn=!0}function Gf(){let r=Ll.pop();hn=r===void 0?!0:r}function nr(r,e,t){if(!hn||pr===void 0)return;let i=dl.get(r);i||dl.set(r,i=new Map);let n=i.get(t);n||i.set(t,n=new Set),n.has(pr)||(n.add(pr),pr.deps.push(n),pr.options.onTrack&&pr.options.onTrack({effect:pr,target:r,type:e,key:t}))}function ii(r,e,t,i,n,o){let s=dl.get(r);if(!s)return;let a=new Set,l=c=>{c&&c.forEach(d=>{(d!==pr||d.allowRecurse)&&a.add(d)})};if(e==="clear")s.forEach(l);else if(t==="length"&&Ri(r))s.forEach((c,d)=>{(d==="length"||d>=i)&&l(c)});else switch(t!==void 0&&l(s.get(t)),e){case"add":Ri(r)?Pl(t)&&l(s.get("length")):(l(s.get(Di)),oo(r)&&l(s.get(hl)));break;case"delete":Ri(r)||(l(s.get(Di)),oo(r)&&l(s.get(hl)));break;case"set":oo(r)&&l(s.get(Di));break}let u=c=>{c.options.onTrigger&&c.options.onTrigger({effect:c,target:r,key:t,type:e,newValue:i,oldValue:n,oldTarget:o}),c.options.scheduler?c.options.scheduler(c):c()};a.forEach(u)}var Yg=Hf("__proto__,__v_isRef,__isVue"),$f=new Set(Object.getOwnPropertyNames(Symbol).map(r=>Symbol[r]).filter(Ml)),Xg=jf(),Ug=jf(!0),Hc=Gg();function Gg(){let r={};return["includes","indexOf","lastIndexOf"].forEach(e=>{r[e]=function(...t){let i=ye(this);for(let o=0,s=this.length;o<s;o++)nr(i,"get",o+"");let n=i[e](...t);return n===-1||n===!1?i[e](...t.map(ye)):n}}),["push","pop","shift","unshift","splice"].forEach(e=>{r[e]=function(...t){Bg();let i=ye(this)[e].apply(this,t);return Gf(),i}}),r}function jf(r=!1,e=!1){return function(i,n,o){if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_raw"&&o===(r?e?um:Jf:e?lm:Qf).get(i))return i;let s=Ri(i);if(!r&&s&&ks(Hc,n))return Reflect.get(Hc,n,o);let a=Reflect.get(i,n,o);return(Ml(n)?$f.has(n):Yg(n))||(r||nr(i,"get",n),e)?a:pl(a)?!s||!Pl(n)?a.value:a:Ms(a)?r?ed(a):Nl(a):a}}var $g=jg();function jg(r=!1){return function(t,i,n,o){let s=t[i];if(!r&&(n=ye(n),s=ye(s),!Ri(t)&&pl(s)&&!pl(n)))return s.value=n,!0;let a=Ri(t)&&Pl(i)?Number(i)<t.length:ks(t,i),l=Reflect.set(t,i,n,o);return t===ye(o)&&(a?Xf(n,s)&&ii(t,"set",i,n,s):ii(t,"add",i,n)),l}}function Kg(r,e){let t=ks(r,e),i=r[e],n=Reflect.deleteProperty(r,e);return n&&t&&ii(r,"delete",e,void 0,i),n}function Zg(r,e){let t=Reflect.has(r,e);return(!Ml(e)||!$f.has(e))&&nr(r,"has",e),t}function Qg(r){return nr(r,"iterate",Ri(r)?"length":Di),Reflect.ownKeys(r)}var Jg={get:Xg,set:$g,deleteProperty:Kg,has:Zg,ownKeys:Qg},em={get:Ug,set(r,e){return console.warn(`Set operation on key "${String(e)}" failed: target is readonly.`,r),!0},deleteProperty(r,e){return console.warn(`Delete operation on key "${String(e)}" failed: target is readonly.`,r),!0}},Rl=r=>Ms(r)?Nl(r):r,Dl=r=>Ms(r)?ed(r):r,Il=r=>r,Ls=r=>Reflect.getPrototypeOf(r);function gs(r,e,t=!1,i=!1){r=r.__v_raw;let n=ye(r),o=ye(e);e!==o&&!t&&nr(n,"get",e),!t&&nr(n,"get",o);let{has:s}=Ls(n),a=i?Il:t?Dl:Rl;if(s.call(n,e))return a(r.get(e));if(s.call(n,o))return a(r.get(o));r!==n&&r.get(e)}function ms(r,e=!1){let t=this.__v_raw,i=ye(t),n=ye(r);return r!==n&&!e&&nr(i,"has",r),!e&&nr(i,"has",n),r===n?t.has(r):t.has(r)||t.has(n)}function vs(r,e=!1){return r=r.__v_raw,!e&&nr(ye(r),"iterate",Di),Reflect.get(r,"size",r)}function Bc(r){r=ye(r);let e=ye(this);return Ls(e).has.call(e,r)||(e.add(r),ii(e,"add",r,r)),this}function qc(r,e){e=ye(e);let t=ye(this),{has:i,get:n}=Ls(t),o=i.call(t,r);o?Zf(t,i,r):(r=ye(r),o=i.call(t,r));let s=n.call(t,r);return t.set(r,e),o?Xf(e,s)&&ii(t,"set",r,e,s):ii(t,"add",r,e),this}function Yc(r){let e=ye(this),{has:t,get:i}=Ls(e),n=t.call(e,r);n?Zf(e,t,r):(r=ye(r),n=t.call(e,r));let o=i?i.call(e,r):void 0,s=e.delete(r);return n&&ii(e,"delete",r,void 0,o),s}function Xc(){let r=ye(this),e=r.size!==0,t=oo(r)?new Map(r):new Set(r),i=r.clear();return e&&ii(r,"clear",void 0,void 0,t),i}function ys(r,e){return function(i,n){let o=this,s=o.__v_raw,a=ye(s),l=e?Il:r?Dl:Rl;return!r&&nr(a,"iterate",Di),s.forEach((u,c)=>i.call(n,l(u),l(c),o))}}function ws(r,e,t){return function(...i){let n=this.__v_raw,o=ye(n),s=oo(o),a=r==="entries"||r===Symbol.iterator&&s,l=r==="keys"&&s,u=n[r](...i),c=t?Il:e?Dl:Rl;return!e&&nr(o,"iterate",l?hl:Di),{next(){let{value:d,done:h}=u.next();return h?{value:d,done:h}:{value:a?[c(d[0]),c(d[1])]:c(d),done:h}},[Symbol.iterator](){return this}}}}function ei(r){return function(...e){{let t=e[0]?`on key "${e[0]}" `:"";console.warn(`${Yf(r)} operation ${t}failed: target is readonly.`,ye(this))}return r==="delete"?!1:this}}function tm(){let r={get(o){return gs(this,o)},get size(){return vs(this)},has:ms,add:Bc,set:qc,delete:Yc,clear:Xc,forEach:ys(!1,!1)},e={get(o){return gs(this,o,!1,!0)},get size(){return vs(this)},has:ms,add:Bc,set:qc,delete:Yc,clear:Xc,forEach:ys(!1,!0)},t={get(o){return gs(this,o,!0)},get size(){return vs(this,!0)},has(o){return ms.call(this,o,!0)},add:ei("add"),set:ei("set"),delete:ei("delete"),clear:ei("clear"),forEach:ys(!0,!1)},i={get(o){return gs(this,o,!0,!0)},get size(){return vs(this,!0)},has(o){return ms.call(this,o,!0)},add:ei("add"),set:ei("set"),delete:ei("delete"),clear:ei("clear"),forEach:ys(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{r[o]=ws(o,!1,!1),t[o]=ws(o,!0,!1),e[o]=ws(o,!1,!0),i[o]=ws(o,!0,!0)}),[r,t,e,i]}var[rm,im,nm,om]=tm();function Kf(r,e){let t=e?r?om:nm:r?im:rm;return(i,n,o)=>n==="__v_isReactive"?!r:n==="__v_isReadonly"?r:n==="__v_raw"?i:Reflect.get(ks(t,n)&&n in i?t:i,n,o)}var sm={get:Kf(!1,!1)},am={get:Kf(!0,!1)};function Zf(r,e,t){let i=ye(t);if(i!==t&&e.call(r,i)){let n=qf(r);console.warn(`Reactive ${n} contains both the raw and reactive versions of the same object${n==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}var Qf=new WeakMap,lm=new WeakMap,Jf=new WeakMap,um=new WeakMap;function cm(r){switch(r){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function fm(r){return r.__v_skip||!Object.isExtensible(r)?0:cm(qf(r))}function Nl(r){return r&&r.__v_isReadonly?r:td(r,!1,Jg,sm,Qf)}function ed(r){return td(r,!0,em,am,Jf)}function td(r,e,t,i,n){if(!Ms(r))return console.warn(`value cannot be made reactive: ${String(r)}`),r;if(r.__v_raw&&!(e&&r.__v_isReactive))return r;let o=n.get(r);if(o)return o;let s=fm(r);if(s===0)return r;let a=new Proxy(r,s===2?i:t);return n.set(r,a),a}function ye(r){return r&&ye(r.__v_raw)||r}function pl(r){return!!(r&&r.__v_isRef===!0)}or("nextTick",()=>Ol);or("dispatch",r=>io.bind(io,r));or("watch",(r,{evaluateLater:e,effect:t})=>(i,n)=>{let o=e(i),s=!0,a,l=t(()=>o(u=>{JSON.stringify(u),s?a=u:queueMicrotask(()=>{n(u,a),a=u}),s=!1}));r._x_effects.delete(l)});or("store",Eg);or("data",r=>df(r));or("root",r=>Ts(r));or("refs",r=>(r._x_refs_proxy||(r._x_refs_proxy=uo(dm(r))),r._x_refs_proxy));function dm(r){let e=[],t=r;for(;t;)t._x_refs&&e.push(t._x_refs),t=t.parentNode;return e}var Ka={};function rd(r){return Ka[r]||(Ka[r]=0),++Ka[r]}function hm(r,e){return As(r,t=>{if(t._x_ids&&t._x_ids[e])return!0})}function pm(r,e){r._x_ids||(r._x_ids={}),r._x_ids[e]||(r._x_ids[e]=rd(e))}or("id",r=>(e,t=null)=>{let i=hm(r,e),n=i?i._x_ids[e]:rd(e);return t?`${e}-${n}-${t}`:`${e}-${n}`});or("el",r=>r);id("Focus","focus","focus");id("Persist","persist","persist");function id(r,e,t){or(e,i=>Mr(`You can't use [$${e}] without first installing the "${r}" plugin here: https://alpinejs.dev/plugins/${t}`,i))}ze("modelable",(r,{expression:e},{effect:t,evaluateLater:i,cleanup:n})=>{let o=i(e),s=()=>{let c;return o(d=>c=d),c},a=i(`${e} = __placeholder`),l=c=>a(()=>{},{scope:{__placeholder:c}}),u=s();l(u),queueMicrotask(()=>{if(!r._x_model)return;r._x_removeModelListeners.default();let c=r._x_model.get,d=r._x_model.set,h=zf({get(){return c()},set(f){d(f)}},{get(){return s()},set(f){l(f)}});n(h)})});ze("teleport",(r,{modifiers:e,expression:t},{cleanup:i})=>{r.tagName.toLowerCase()!=="template"&&Mr("x-teleport can only be used on a <template> tag",r);let n=Uc(t),o=r.content.cloneNode(!0).firstElementChild;r._x_teleport=o,o._x_teleportBack=r,r.setAttribute("data-teleport-template",!0),o.setAttribute("data-teleport-target",!0),r._x_forwardEvents&&r._x_forwardEvents.forEach(a=>{o.addEventListener(a,l=>{l.stopPropagation(),r.dispatchEvent(new l.constructor(l.type,l))})}),lo(o,{},r);let s=(a,l,u)=>{u.includes("prepend")?l.parentNode.insertBefore(a,l):u.includes("append")?l.parentNode.insertBefore(a,l.nextSibling):l.appendChild(a)};qe(()=>{s(o,n,e),Pr(o),o._x_ignore=!0}),r._x_teleportPutBack=()=>{let a=Uc(t);qe(()=>{s(r._x_teleport,a,e)})},i(()=>o.remove())});var _m=document.createElement("div");function Uc(r){let e=Os(()=>document.querySelector(r),()=>_m)();return e||Mr(`Cannot find x-teleport element for selector: "${r}"`),e}var nd=()=>{};nd.inline=(r,{modifiers:e},{cleanup:t})=>{e.includes("self")?r._x_ignoreSelf=!0:r._x_ignore=!0,t(()=>{e.includes("self")?delete r._x_ignoreSelf:delete r._x_ignore})};ze("ignore",nd);ze("effect",(r,{expression:e},{effect:t})=>t(_t(r,e)));function _l(r,e,t,i){let n=r,o=l=>i(l),s={},a=(l,u)=>c=>u(l,c);if(t.includes("dot")&&(e=gm(e)),t.includes("camel")&&(e=mm(e)),t.includes("passive")&&(s.passive=!0),t.includes("capture")&&(s.capture=!0),t.includes("window")&&(n=window),t.includes("document")&&(n=document),t.includes("debounce")){let l=t[t.indexOf("debounce")+1]||"invalid-wait",u=Es(l.split("ms")[0])?Number(l.split("ms")[0]):250;o=If(o,u)}if(t.includes("throttle")){let l=t[t.indexOf("throttle")+1]||"invalid-wait",u=Es(l.split("ms")[0])?Number(l.split("ms")[0]):250;o=Nf(o,u)}return t.includes("prevent")&&(o=a(o,(l,u)=>{u.preventDefault(),l(u)})),t.includes("stop")&&(o=a(o,(l,u)=>{u.stopPropagation(),l(u)})),t.includes("self")&&(o=a(o,(l,u)=>{u.target===r&&l(u)})),(t.includes("away")||t.includes("outside"))&&(n=document,o=a(o,(l,u)=>{r.contains(u.target)||u.target.isConnected!==!1&&(r.offsetWidth<1&&r.offsetHeight<1||r._x_isShown!==!1&&l(u))})),t.includes("once")&&(o=a(o,(l,u)=>{l(u),n.removeEventListener(e,o,s)})),o=a(o,(l,u)=>{ym(e)&&wm(u,t)||l(u)}),n.addEventListener(e,o,s),()=>{n.removeEventListener(e,o,s)}}function gm(r){return r.replace(/-/g,".")}function mm(r){return r.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function Es(r){return!Array.isArray(r)&&!isNaN(r)}function vm(r){return[" ","_"].includes(r)?r:r.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase()}function ym(r){return["keydown","keyup"].includes(r)}function wm(r,e){let t=e.filter(o=>!["window","document","prevent","stop","once","capture"].includes(o));if(t.includes("debounce")){let o=t.indexOf("debounce");t.splice(o,Es((t[o+1]||"invalid-wait").split("ms")[0])?2:1)}if(t.includes("throttle")){let o=t.indexOf("throttle");t.splice(o,Es((t[o+1]||"invalid-wait").split("ms")[0])?2:1)}if(t.length===0||t.length===1&&Gc(r.key).includes(t[0]))return!1;let n=["ctrl","shift","alt","meta","cmd","super"].filter(o=>t.includes(o));return t=t.filter(o=>!n.includes(o)),!(n.length>0&&n.filter(s=>((s==="cmd"||s==="super")&&(s="meta"),r[`${s}Key`])).length===n.length&&Gc(r.key).includes(t[0]))}function Gc(r){if(!r)return[];r=vm(r);let e={ctrl:"control",slash:"/",space:" ",spacebar:" ",cmd:"meta",esc:"escape",up:"arrow-up",down:"arrow-down",left:"arrow-left",right:"arrow-right",period:".",equal:"=",minus:"-",underscore:"_"};return e[r]=r,Object.keys(e).map(t=>{if(e[t]===r)return t}).filter(t=>t)}ze("model",(r,{modifiers:e,expression:t},{effect:i,cleanup:n})=>{let o=r;e.includes("parent")&&(o=r.parentNode);let s=_t(o,t),a;typeof t=="string"?a=_t(o,`${t} = __placeholder`):typeof t=="function"&&typeof t()=="string"?a=_t(o,`${t()} = __placeholder`):a=()=>{};let l=()=>{let h;return s(f=>h=f),$c(h)?h.get():h},u=h=>{let f;s(_=>f=_),$c(f)?f.set(h):a(()=>{},{scope:{__placeholder:h}})};typeof t=="string"&&r.type==="radio"&&qe(()=>{r.hasAttribute("name")||r.setAttribute("name",t)});var c=r.tagName.toLowerCase()==="select"||["checkbox","radio"].includes(r.type)||e.includes("lazy")?"change":"input";let d=ri?()=>{}:_l(r,c,e,h=>{u(bm(r,e,h,l()))});if(e.includes("fill")&&([null,""].includes(l())||r.type==="checkbox"&&Array.isArray(l()))&&r.dispatchEvent(new Event(c,{})),r._x_removeModelListeners||(r._x_removeModelListeners={}),r._x_removeModelListeners.default=d,n(()=>r._x_removeModelListeners.default()),r.form){let h=_l(r.form,"reset",[],f=>{Ol(()=>r._x_model&&r._x_model.set(r.value))});n(()=>h())}r._x_model={get(){return l()},set(h){u(h)}},r._x_forceModelUpdate=h=>{h===void 0&&typeof t=="string"&&t.match(/\./)&&(h=""),window.fromModel=!0,qe(()=>Pf(r,"value",h)),delete window.fromModel},i(()=>{let h=l();e.includes("unintrusive")&&document.activeElement.isSameNode(r)||r._x_forceModelUpdate(h)})});function bm(r,e,t,i){return qe(()=>{if(t instanceof CustomEvent&&t.detail!==void 0)return t.detail!==null&&t.detail!==void 0?t.detail:t.target.value;if(r.type==="checkbox")if(Array.isArray(i)){let n=e.includes("number")?Za(t.target.value):t.target.value;return t.target.checked?i.concat([n]):i.filter(o=>!xm(o,n))}else return t.target.checked;else{if(r.tagName.toLowerCase()==="select"&&r.multiple)return e.includes("number")?Array.from(t.target.selectedOptions).map(n=>{let o=n.value||n.text;return Za(o)}):Array.from(t.target.selectedOptions).map(n=>n.value||n.text);{let n=t.target.value;return e.includes("number")?Za(n):e.includes("trim")?n.trim():n}}})}function Za(r){let e=r?parseFloat(r):null;return Sm(e)?e:r}function xm(r,e){return r==e}function Sm(r){return!Array.isArray(r)&&!isNaN(r)}function $c(r){return r!==null&&typeof r=="object"&&typeof r.get=="function"&&typeof r.set=="function"}ze("cloak",r=>queueMicrotask(()=>qe(()=>r.removeAttribute(gn("cloak")))));rf(()=>`[${gn("init")}]`);ze("init",Os((r,{expression:e},{evaluate:t})=>typeof e=="string"?!!e.trim()&&t(e,{},!1):t(e,{},!1)));ze("text",(r,{expression:e},{effect:t,evaluateLater:i})=>{let n=i(e);t(()=>{n(o=>{qe(()=>{r.textContent=o})})})});ze("html",(r,{expression:e},{effect:t,evaluateLater:i})=>{let n=i(e);t(()=>{n(o=>{qe(()=>{r.innerHTML=o,r._x_ignoreSelf=!0,Pr(r),delete r._x_ignoreSelf})})})});Al(xf(":",Sf(gn("bind:"))));var od=(r,{value:e,modifiers:t,expression:i,original:n},{effect:o})=>{if(!e){let a={};Ag(a),_t(r,i)(u=>{Wf(r,u,n)},{scope:a});return}if(e==="key")return Em(r,i);if(r._x_inlineBindings&&r._x_inlineBindings[e]&&r._x_inlineBindings[e].extract)return;let s=_t(r,i);o(()=>s(a=>{a===void 0&&typeof i=="string"&&i.match(/\./)&&(a=""),qe(()=>Pf(r,e,a,t))}))};od.inline=(r,{value:e,modifiers:t,expression:i})=>{e&&(r._x_inlineBindings||(r._x_inlineBindings={}),r._x_inlineBindings[e]={expression:i,extract:!1})};ze("bind",od);function Em(r,e){r._x_keyExpression=e}tf(()=>`[${gn("data")}]`);ze("data",(r,{expression:e},{cleanup:t})=>{if(cg(r))return;e=e===""?"{}":e;let i={};il(i,r);let n={};Og(n,i);let o=Li(r,e,{scope:n});(o===void 0||o===!0)&&(o={}),il(o,r);let s=pn(o);hf(s);let a=lo(r,s);s.init&&Li(r,s.init),t(()=>{s.destroy&&Li(r,s.destroy),a()})});ze("show",(r,{modifiers:e,expression:t},{effect:i})=>{let n=_t(r,t);r._x_doHide||(r._x_doHide=()=>{qe(()=>{r.style.setProperty("display","none",e.includes("important")?"important":void 0)})}),r._x_doShow||(r._x_doShow=()=>{qe(()=>{r.style.length===1&&r.style.display==="none"?r.removeAttribute("style"):r.style.removeProperty("display")})});let o=()=>{r._x_doHide(),r._x_isShown=!1},s=()=>{r._x_doShow(),r._x_isShown=!0},a=()=>setTimeout(s),l=ul(d=>d?s():o(),d=>{typeof r._x_toggleAndCascadeWithTransitions=="function"?r._x_toggleAndCascadeWithTransitions(r,d,s,o):d?a():o()}),u,c=!0;i(()=>n(d=>{!c&&d===u||(e.includes("immediate")&&(d?a():o()),l(d),u=d,c=!1)}))});ze("for",(r,{expression:e},{effect:t,cleanup:i})=>{let n=Am(e),o=_t(r,n.items),s=_t(r,r._x_keyExpression||"index");r._x_prevKeys=[],r._x_lookup={},t(()=>Tm(r,n,o,s)),i(()=>{Object.values(r._x_lookup).forEach(a=>a.remove()),delete r._x_prevKeys,delete r._x_lookup})});function Tm(r,e,t,i){let n=s=>typeof s=="object"&&!Array.isArray(s),o=r;t(s=>{Cm(s)&&s>=0&&(s=Array.from(Array(s).keys(),g=>g+1)),s===void 0&&(s=[]);let a=r._x_lookup,l=r._x_prevKeys,u=[],c=[];if(n(s))s=Object.entries(s).map(([g,m])=>{let v=jc(e,m,g,s);i(w=>c.push(w),{scope:{index:g,...v}}),u.push(v)});else for(let g=0;g<s.length;g++){let m=jc(e,s[g],g,s);i(v=>c.push(v),{scope:{index:g,...m}}),u.push(m)}let d=[],h=[],f=[],_=[];for(let g=0;g<l.length;g++){let m=l[g];c.indexOf(m)===-1&&f.push(m)}l=l.filter(g=>!f.includes(g));let p="template";for(let g=0;g<c.length;g++){let m=c[g],v=l.indexOf(m);if(v===-1)l.splice(g,0,m),d.push([p,g]);else if(v!==g){let w=l.splice(g,1)[0],x=l.splice(v-1,1)[0];l.splice(g,0,x),l.splice(v,0,w),h.push([w,x])}else _.push(m);p=m}for(let g=0;g<f.length;g++){let m=f[g];a[m]._x_effects&&a[m]._x_effects.forEach(Kc),a[m].remove(),a[m]=null,delete a[m]}for(let g=0;g<h.length;g++){let[m,v]=h[g],w=a[m],x=a[v],b=document.createElement("div");qe(()=>{x||Mr('x-for ":key" is undefined or invalid',o),x.after(b),w.after(x),x._x_currentIfEl&&x.after(x._x_currentIfEl),b.before(w),w._x_currentIfEl&&w.after(w._x_currentIfEl),b.remove()}),x._x_refreshXForScope(u[c.indexOf(v)])}for(let g=0;g<d.length;g++){let[m,v]=d[g],w=m==="template"?o:a[m];w._x_currentIfEl&&(w=w._x_currentIfEl);let x=u[v],b=c[v],E=document.importNode(o.content,!0).firstElementChild,S=pn(x);lo(E,S,o),E._x_refreshXForScope=T=>{Object.entries(T).forEach(([C,O])=>{S[C]=O})},qe(()=>{w.after(E),Pr(E)}),typeof b=="object"&&Mr("x-for key cannot be an object, it must be a string or an integer",o),a[b]=E}for(let g=0;g<_.length;g++)a[_[g]]._x_refreshXForScope(u[c.indexOf(_[g])]);o._x_prevKeys=c})}function Am(r){let e=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,t=/^\s*\(|\)\s*$/g,i=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,n=r.match(i);if(!n)return;let o={};o.items=n[2].trim();let s=n[1].replace(t,"").trim(),a=s.match(e);return a?(o.item=s.replace(e,"").trim(),o.index=a[1].trim(),a[2]&&(o.collection=a[2].trim())):o.item=s,o}function jc(r,e,t,i){let n={};return/^\[.*\]$/.test(r.item)&&Array.isArray(e)?r.item.replace("[","").replace("]","").split(",").map(s=>s.trim()).forEach((s,a)=>{n[s]=e[a]}):/^\{.*\}$/.test(r.item)&&!Array.isArray(e)&&typeof e=="object"?r.item.replace("{","").replace("}","").split(",").map(s=>s.trim()).forEach(s=>{n[s]=e[s]}):n[r.item]=e,r.index&&(n[r.index]=t),r.collection&&(n[r.collection]=i),n}function Cm(r){return!Array.isArray(r)&&!isNaN(r)}function sd(){}sd.inline=(r,{expression:e},{cleanup:t})=>{let i=Ts(r);i._x_refs||(i._x_refs={}),i._x_refs[e]=r,t(()=>delete i._x_refs[e])};ze("ref",sd);ze("if",(r,{expression:e},{effect:t,cleanup:i})=>{r.tagName.toLowerCase()!=="template"&&Mr("x-if can only be used on a <template> tag",r);let n=_t(r,e),o=()=>{if(r._x_currentIfEl)return r._x_currentIfEl;let a=r.content.cloneNode(!0).firstElementChild;return lo(a,{},r),qe(()=>{r.after(a),Pr(a)}),r._x_currentIfEl=a,r._x_undoIf=()=>{ti(a,l=>{l._x_effects&&l._x_effects.forEach(Kc)}),a.remove(),delete r._x_currentIfEl},a},s=()=>{r._x_undoIf&&(r._x_undoIf(),delete r._x_undoIf)};t(()=>n(a=>{a?o():s()})),i(()=>r._x_undoIf&&r._x_undoIf())});ze("id",(r,{expression:e},{evaluate:t})=>{t(e).forEach(n=>pm(r,n))});Al(xf("@",Sf(gn("on:"))));ze("on",Os((r,{value:e,modifiers:t,expression:i},{cleanup:n})=>{let o=i?_t(r,i):()=>{};r.tagName.toLowerCase()==="template"&&(r._x_forwardEvents||(r._x_forwardEvents=[]),r._x_forwardEvents.includes(e)||r._x_forwardEvents.push(e));let s=_l(r,e,t,a=>{o(()=>{},{scope:{$event:a},params:[a]})});n(()=>s())}));Rs("Collapse","collapse","collapse");Rs("Intersect","intersect","intersect");Rs("Focus","trap","focus");Rs("Mask","mask","mask");function Rs(r,e,t){ze(e,i=>Mr(`You can't use [x-${e}] without first installing the "${r}" plugin here: https://alpinejs.dev/plugins/${t}`,i))}co.setEvaluator(vf);co.setReactivityEngine({reactive:Nl,effect:Fg,release:Wg,raw:ye});var Om=co,zl=Om;function Fl(r){let e=[];for(let t=0;t<r.attributes.length;++t){let i=r.attributes[t];i.name.startsWith("x-")&&e.push(i)}return e}function km(r){let e=document.createElement("template");Fl(r).forEach(i=>{e.setAttribute(i.name,i.value),r.removeAttribute(i.name)}),r.parentNode.insertBefore(e,r),e.content.appendChild(r)}function Mm(r){Fl(r).forEach(t=>{let i=t.name.match(/^(x-[^:]+)(:.+)$/);if(i){let n=null;if(["x-bind","x-on"].includes(i[1])){let o=i[1],s=i[2].substring(1);o==="x-on"&&s.startsWith("update:")&&(o+=":update",s=s.substring(7)),s.includes(":")&&(n=o+":"+s.replace(/:/g,"."))}else n=i[1]+i[2].replace(/:/g,".");n&&(r.setAttribute(n,t.value),r.removeAttribute(t.name))}})}function Pm(r){Fl(r).forEach(t=>{t.name.match(/^x-transition.*(?!(enter|leave))/)&&r.setAttribute(t.name,"")})}function Lm(){document.querySelectorAll("[x-data],[x-data] *").forEach(r=>{Mm(r),Pm(r)}),document.querySelectorAll("[x-data] [x-for], [x-data] [x-if]").forEach(km)}function ad(){window.Alpine=zl,window.Webflow||(window.Webflow=[]),window.Webflow.push(()=>{Lm(),zl.start()})}function ud(r,e,t){return Math.max(r,Math.min(e,t))}var Wl=class{advance(e){if(!this.isRunning)return;let t=!1;if(this.lerp)this.value=function(n,o,s,a){return function(u,c,d){return(1-d)*u+d*c}(n,o,1-Math.exp(-s*a))}(this.value,this.to,60*this.lerp,e),Math.round(this.value)===this.to&&(this.value=this.to,t=!0);else{this.currentTime+=e;let i=ud(0,this.currentTime/this.duration,1);t=i>=1;let n=t?1:this.easing(i);this.value=this.from+(this.to-this.from)*n}t&&this.stop(),this.onUpdate?.(this.value,t)}stop(){this.isRunning=!1}fromTo(e,t,{lerp:i=.1,duration:n=1,easing:o=l=>l,onStart:s,onUpdate:a}){this.from=this.value=e,this.to=t,this.lerp=i,this.duration=n,this.easing=o,this.currentTime=0,this.isRunning=!0,s?.(),this.onUpdate=a}},Vl=class{constructor({wrapper:e,content:t,autoResize:i=!0,debounce:n=250}={}){this.wrapper=e,this.content=t,i&&(this.debouncedResize=function(s,a){let l;return function(){let u=arguments,c=this;clearTimeout(l),l=setTimeout(function(){s.apply(c,u)},a)}}(this.resize,n),this.wrapper===window?window.addEventListener("resize",this.debouncedResize,!1):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),window.removeEventListener("resize",this.debouncedResize,!1)}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{this.wrapper===window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)};onContentResize=()=>{this.wrapper===window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)};get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},Ds=class{constructor(){this.events={}}emit(e,...t){let i=this.events[e]||[];for(let n=0,o=i.length;n<o;n++)i[n](...t)}on(e,t){return this.events[e]?.push(t)||(this.events[e]=[t]),()=>{this.events[e]=this.events[e]?.filter(i=>t!==i)}}off(e,t){this.events[e]=this.events[e]?.filter(i=>t!==i)}destroy(){this.events={}}},ld=100/6,Hl=class{constructor(e,{wheelMultiplier:t=1,touchMultiplier:i=1}){this.element=e,this.wheelMultiplier=t,this.touchMultiplier=i,this.touchStart={x:null,y:null},this.emitter=new Ds,window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,{passive:!1}),this.element.addEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.addEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.addEventListener("touchend",this.onTouchEnd,{passive:!1})}on(e,t){return this.emitter.on(e,t)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel,{passive:!1}),this.element.removeEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.removeEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.removeEventListener("touchend",this.onTouchEnd,{passive:!1})}onTouchStart=e=>{let{clientX:t,clientY:i}=e.targetTouches?e.targetTouches[0]:e;this.touchStart.x=t,this.touchStart.y=i,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:e})};onTouchMove=e=>{let{clientX:t,clientY:i}=e.targetTouches?e.targetTouches[0]:e,n=-(t-this.touchStart.x)*this.touchMultiplier,o=-(i-this.touchStart.y)*this.touchMultiplier;this.touchStart.x=t,this.touchStart.y=i,this.lastDelta={x:n,y:o},this.emitter.emit("scroll",{deltaX:n,deltaY:o,event:e})};onTouchEnd=e=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:e})};onWheel=e=>{let{deltaX:t,deltaY:i,deltaMode:n}=e;t*=n===1?ld:n===2?this.windowWidth:1,i*=n===1?ld:n===2?this.windowHeight:1,t*=this.wheelMultiplier,i*=this.wheelMultiplier,this.emitter.emit("scroll",{deltaX:t,deltaY:i,event:e})};onWindowResize=()=>{this.windowWidth=window.innerWidth,this.windowHeight=window.innerHeight}},Is=class{constructor({wrapper:e=window,content:t=document.documentElement,wheelEventsTarget:i=e,eventsTarget:n=i,smoothWheel:o=!0,syncTouch:s=!1,syncTouchLerp:a=.075,touchInertiaMultiplier:l=35,duration:u,easing:c=x=>Math.min(1,1.001-Math.pow(2,-10*x)),lerp:d=!u&&.1,infinite:h=!1,orientation:f="vertical",gestureOrientation:_="vertical",touchMultiplier:p=1,wheelMultiplier:g=1,autoResize:m=!0,prevent:v=!1,__experimental__naiveDimensions:w=!1}={}){this.__isScrolling=!1,this.__isStopped=!1,this.__isLocked=!1,this.onVirtualScroll=({deltaX:x,deltaY:b,event:E})=>{if(E.ctrlKey)return;let S=E.type.includes("touch"),T=E.type.includes("wheel");if(this.isTouching=E.type==="touchstart"||E.type==="touchmove",this.options.syncTouch&&S&&E.type==="touchstart"&&!this.isStopped&&!this.isLocked)return void this.reset();let C=x===0&&b===0,O=this.options.gestureOrientation==="vertical"&&b===0||this.options.gestureOrientation==="horizontal"&&x===0;if(C||O)return;let M=E.composedPath();M=M.slice(0,M.indexOf(this.rootElement));let A=this.options.prevent;if(M.find(H=>{var V,F,R,y,L;return(typeof A=="function"?A?.(H):A)||((V=H.hasAttribute)===null||V===void 0?void 0:V.call(H,"data-lenis-prevent"))||S&&((F=H.hasAttribute)===null||F===void 0?void 0:F.call(H,"data-lenis-prevent-touch"))||T&&((R=H.hasAttribute)===null||R===void 0?void 0:R.call(H,"data-lenis-prevent-wheel"))||((y=H.classList)===null||y===void 0?void 0:y.contains("lenis"))&&!(!((L=H.classList)===null||L===void 0)&&L.contains("lenis-stopped"))}))return;if(this.isStopped||this.isLocked)return void E.preventDefault();if(!(this.options.syncTouch&&S||this.options.smoothWheel&&T))return this.isScrolling="native",void this.animate.stop();E.preventDefault();let P=b;this.options.gestureOrientation==="both"?P=Math.abs(b)>Math.abs(x)?b:x:this.options.gestureOrientation==="horizontal"&&(P=x);let N=S&&this.options.syncTouch,D=S&&E.type==="touchend"&&Math.abs(P)>5;D&&(P=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+P,Object.assign({programmatic:!1},N?{lerp:D?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}))},this.onNativeScroll=()=>{if(clearTimeout(this.__resetVelocityTimeout),delete this.__resetVelocityTimeout,this.__preventNextNativeScrollEvent)delete this.__preventNextNativeScrollEvent;else if(this.isScrolling===!1||this.isScrolling==="native"){let x=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-x,this.direction=Math.sign(this.animatedScroll-x),this.isScrolling="native",this.emit(),this.velocity!==0&&(this.__resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}},window.lenisVersion="1.1.2",e!==document.documentElement&&e!==document.body||(e=window),this.options={wrapper:e,content:t,wheelEventsTarget:i,eventsTarget:n,smoothWheel:o,syncTouch:s,syncTouchLerp:a,touchInertiaMultiplier:l,duration:u,easing:c,lerp:d,infinite:h,gestureOrientation:_,orientation:f,touchMultiplier:p,wheelMultiplier:g,autoResize:m,prevent:v,__experimental__naiveDimensions:w},this.animate=new Wl,this.emitter=new Ds,this.dimensions=new Vl({wrapper:e,content:t,autoResize:m}),this.updateClassName(),this.userData={},this.time=0,this.velocity=this.lastVelocity=0,this.isLocked=!1,this.isStopped=!1,this.isScrolling=!1,this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.virtualScroll=new Hl(n,{touchMultiplier:p,wheelMultiplier:g}),this.virtualScroll.on("scroll",this.onVirtualScroll)}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName()}on(e,t){return this.emitter.on(e,t)}off(e,t){return this.emitter.off(e,t)}setScroll(e){this.isHorizontal?this.rootElement.scrollLeft=e:this.rootElement.scrollTop=e}resize(){this.dimensions.resize()}emit({userData:e={}}={}){this.userData=e,this.emitter.emit("scroll",this),this.userData={}}reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){this.isStopped&&(this.isStopped=!1,this.reset())}stop(){this.isStopped||(this.isStopped=!0,this.animate.stop(),this.reset())}raf(e){let t=e-(this.time||e);this.time=e,this.animate.advance(.001*t)}scrollTo(e,{offset:t=0,immediate:i=!1,lock:n=!1,duration:o=this.options.duration,easing:s=this.options.easing,lerp:a=!o&&this.options.lerp,onStart:l,onComplete:u,force:c=!1,programmatic:d=!0,userData:h={}}={}){if(!this.isStopped&&!this.isLocked||c){if(["top","left","start"].includes(e))e=0;else if(["bottom","right","end"].includes(e))e=this.limit;else{let f;if(typeof e=="string"?f=document.querySelector(e):e?.nodeType&&(f=e),f){if(this.options.wrapper!==window){let p=this.options.wrapper.getBoundingClientRect();t-=this.isHorizontal?p.left:p.top}let _=f.getBoundingClientRect();e=(this.isHorizontal?_.left:_.top)+this.animatedScroll}}if(typeof e=="number"){if(e+=t,e=Math.round(e),this.options.infinite?d&&(this.targetScroll=this.animatedScroll=this.scroll):e=ud(0,e,this.limit),i)return this.animatedScroll=this.targetScroll=e,this.setScroll(this.scroll),this.reset(),void(u==null||u(this));e!==this.targetScroll&&(d||(this.targetScroll=e),this.animate.fromTo(this.animatedScroll,e,{duration:o,easing:s,lerp:a,onStart:()=>{n&&(this.isLocked=!0),this.isScrolling="smooth",l?.(this)},onUpdate:(f,_)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=f-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=f,this.setScroll(this.scroll),d&&(this.targetScroll=f),_||this.emit({userData:h}),_&&(this.reset(),this.emit({userData:h}),u?.(this),this.__preventNextNativeScrollEvent=!0)}}))}}}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.__experimental__naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){return this.isHorizontal?this.rootElement.scrollLeft:this.rootElement.scrollTop}get scroll(){return this.options.infinite?function(t,i){return(t%i+i)%i}(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return this.limit===0?1:this.scroll/this.limit}get isScrolling(){return this.__isScrolling}set isScrolling(e){this.__isScrolling!==e&&(this.__isScrolling=e,this.updateClassName())}get isStopped(){return this.__isStopped}set isStopped(e){this.__isStopped!==e&&(this.__isStopped=e,this.updateClassName())}get isLocked(){return this.__isLocked}set isLocked(e){this.__isLocked!==e&&(this.__isLocked=e,this.updateClassName())}get isSmooth(){return this.isScrolling==="smooth"}get className(){let e="lenis";return this.isStopped&&(e+=" lenis-stopped"),this.isLocked&&(e+=" lenis-locked"),this.isScrolling&&(e+=" lenis-scrolling"),this.isScrolling==="smooth"&&(e+=" lenis-smooth"),e}updateClassName(){this.cleanUpClassName(),this.rootElement.className=`${this.rootElement.className} ${this.className}`.trim()}cleanUpClassName(){this.rootElement.className=this.rootElement.className.replace(/lenis(-\w+)?/g,"").trim()}};function Lr(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function md(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,r.__proto__=e}var Ct={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},vn={duration:.5,overwrite:!1,delay:0},su,rt,be,qt=1e8,ge=1/qt,jl=Math.PI*2,Rm=jl/4,Dm=0,vd=Math.sqrt,Im=Math.cos,Nm=Math.sin,Ye=function(e){return typeof e=="string"},Me=function(e){return typeof e=="function"},Dr=function(e){return typeof e=="number"},Xs=function(e){return typeof e>"u"},mr=function(e){return typeof e=="object"},At=function(e){return e!==!1},au=function(){return typeof window<"u"},Ns=function(e){return Me(e)||Ye(e)},yd=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},lt=Array.isArray,Kl=/(?:-?\.?\d|\.)+/gi,lu=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Fi=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Bl=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,uu=/[+-]=-?[.\d]+/,wd=/[^,'"\[\]\s]+/gi,zm=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Se,_r,Zl,cu,It={},Vs={},bd,xd=function(e){return(Vs=yn(e,It))&&ut},Us=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},mo=function(e,t){return!t&&console.warn(e)},Sd=function(e,t){return e&&(It[e]=t)&&Vs&&(Vs[e]=t)||It},vo=function(){return 0},Fm={suppressEvents:!0,isStart:!0,kill:!1},zs={suppressEvents:!0,kill:!1},Wm={suppressEvents:!0},fu={},oi=[],Ql={},Ed,Et={},ql={},cd=30,Fs=[],du="",hu=function(e){var t=e[0],i,n;if(mr(t)||Me(t)||(e=[e]),!(i=(t._gsap||{}).harness)){for(n=Fs.length;n--&&!Fs[n].targetTest(t););i=Fs[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new mu(e[n],i)))||e.splice(n,1);return e},si=function(e){return e._gsap||hu(Yt(e))[0]._gsap},pu=function(e,t,i){return(i=e[t])&&Me(i)?e[t]():Xs(i)&&e.getAttribute&&e.getAttribute(t)||i},gt=function(e,t){return(e=e.split(",")).forEach(t)||e},Pe=function(e){return Math.round(e*1e5)/1e5||0},Fe=function(e){return Math.round(e*1e7)/1e7||0},Wi=function(e,t){var i=t.charAt(0),n=parseFloat(t.substr(2));return e=parseFloat(e),i==="+"?e+n:i==="-"?e-n:i==="*"?e*n:e/n},Vm=function(e,t){for(var i=t.length,n=0;e.indexOf(t[n])<0&&++n<i;);return n<i},Hs=function(){var e=oi.length,t=oi.slice(0),i,n;for(Ql={},oi.length=0,i=0;i<e;i++)n=t[i],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},_u=function(e){return!!(e._initted||e._startAt||e.add)},Td=function(e,t,i,n){oi.length&&!rt&&Hs(),e.render(t,i,n||!!(rt&&t<0&&_u(e))),oi.length&&!rt&&Hs()},Ad=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(wd).length<2?t:Ye(e)?e.trim():e},Cd=function(e){return e},Nt=function(e,t){for(var i in t)i in e||(e[i]=t[i]);return e},Hm=function(e){return function(t,i){for(var n in i)n in t||n==="duration"&&e||n==="ease"||(t[n]=i[n])}},yn=function(e,t){for(var i in t)e[i]=t[i];return e},fd=function r(e,t){for(var i in t)i!=="__proto__"&&i!=="constructor"&&i!=="prototype"&&(e[i]=mr(t[i])?r(e[i]||(e[i]={}),t[i]):t[i]);return e},Bs=function(e,t){var i={},n;for(n in e)n in t||(i[n]=e[n]);return i},po=function(e){var t=e.parent||Se,i=e.keyframes?Hm(lt(e.keyframes)):Nt;if(At(e.inherit))for(;t;)i(e,t.vars.defaults),t=t.parent||t._dp;return e},Bm=function(e,t){for(var i=e.length,n=i===t.length;n&&i--&&e[i]===t[i];);return i<0},Od=function(e,t,i,n,o){i===void 0&&(i="_first"),n===void 0&&(n="_last");var s=e[n],a;if(o)for(a=t[o];s&&s[o]>a;)s=s._prev;return s?(t._next=s._next,s._next=t):(t._next=e[i],e[i]=t),t._next?t._next._prev=t:e[n]=t,t._prev=s,t.parent=t._dp=e,t},Gs=function(e,t,i,n){i===void 0&&(i="_first"),n===void 0&&(n="_last");var o=t._prev,s=t._next;o?o._next=s:e[i]===t&&(e[i]=s),s?s._prev=o:e[n]===t&&(e[n]=o),t._next=t._prev=t.parent=null},ai=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Ii=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var i=e;i;)i._dirty=1,i=i.parent;return e},qm=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Jl=function(e,t,i,n){return e._startAt&&(rt?e._startAt.revert(zs):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))},Ym=function r(e){return!e||e._ts&&r(e.parent)},dd=function(e){return e._repeat?wn(e._tTime,e=e.duration()+e._rDelay)*e:0},wn=function(e,t){var i=Math.floor(e=Fe(e/t));return e&&i===e?i-1:i},qs=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},$s=function(e){return e._end=Fe(e._start+(e._tDur/Math.abs(e._ts||e._rts||ge)||0))},js=function(e,t){var i=e._dp;return i&&i.smoothChildTiming&&e._ts&&(e._start=Fe(i._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),$s(e),i._dirty||Ii(i,e)),e},kd=function(e,t){var i;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(i=qs(e.rawTime(),t),(!t._dur||bo(0,t.totalDuration(),i)-t._tTime>ge)&&t.render(i,!0)),Ii(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(i=e;i._dp;)i.rawTime()>=0&&i.totalTime(i._tTime),i=i._dp;e._zTime=-ge}},gr=function(e,t,i,n){return t.parent&&ai(t),t._start=Fe((Dr(i)?i:i||e!==Se?Bt(e,i,t):e._time)+t._delay),t._end=Fe(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Od(e,t,"_first","_last",e._sort?"_start":0),eu(t)||(e._recent=t),n||kd(e,t),e._ts<0&&js(e,e._tTime),e},Md=function(e,t){return(It.ScrollTrigger||Us("scrollTrigger",t))&&It.ScrollTrigger.create(t,e)},Pd=function(e,t,i,n,o){if(wu(e,t,o),!e._initted)return 1;if(!i&&e._pt&&!rt&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Ed!==Tt.frame)return oi.push(e),e._lazy=[o,n],1},Xm=function r(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||r(t))},eu=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},Um=function(e,t,i,n){var o=e.ratio,s=t<0||!t&&(!e._start&&Xm(e)&&!(!e._initted&&eu(e))||(e._ts<0||e._dp._ts<0)&&!eu(e))?0:1,a=e._rDelay,l=0,u,c,d;if(a&&e._repeat&&(l=bo(0,e._tDur,t),c=wn(l,a),e._yoyo&&c&1&&(s=1-s),c!==wn(e._tTime,a)&&(o=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==o||rt||n||e._zTime===ge||!t&&e._zTime){if(!e._initted&&Pd(e,t,n,i,l))return;for(d=e._zTime,e._zTime=t||(i?ge:0),i||(i=t&&!d),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=l,u=e._pt;u;)u.r(s,u.d),u=u._next;t<0&&Jl(e,t,i,!0),e._onUpdate&&!i&&Dt(e,"onUpdate"),l&&e._repeat&&!i&&e.parent&&Dt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===s&&(s&&ai(e,1),!i&&!rt&&(Dt(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},Gm=function(e,t,i){var n;if(i>t)for(n=e._first;n&&n._start<=i;){if(n.data==="isPause"&&n._start>t)return n;n=n._next}else for(n=e._last;n&&n._start>=i;){if(n.data==="isPause"&&n._start<t)return n;n=n._prev}},bn=function(e,t,i,n){var o=e._repeat,s=Fe(t)||0,a=e._tTime/e._tDur;return a&&!n&&(e._time*=s/e._dur),e._dur=s,e._tDur=o?o<0?1e10:Fe(s*(o+1)+e._rDelay*o):s,a>0&&!n&&js(e,e._tTime=e._tDur*a),e.parent&&$s(e),i||Ii(e.parent,e),e},hd=function(e){return e instanceof tt?Ii(e):bn(e,e._dur)},$m={_start:0,endTime:vo,totalDuration:vo},Bt=function r(e,t,i){var n=e.labels,o=e._recent||$m,s=e.duration()>=qt?o.endTime(!1):e._dur,a,l,u;return Ye(t)&&(isNaN(t)||t in n)?(l=t.charAt(0),u=t.substr(-1)==="%",a=t.indexOf("="),l==="<"||l===">"?(a>=0&&(t=t.replace(/=/,"")),(l==="<"?o._start:o.endTime(o._repeat>=0))+(parseFloat(t.substr(1))||0)*(u?(a<0?o:i).totalDuration()/100:1)):a<0?(t in n||(n[t]=s),n[t]):(l=parseFloat(t.charAt(a-1)+t.substr(a+1)),u&&i&&(l=l/100*(lt(i)?i[0]:i).totalDuration()),a>1?r(e,t.substr(0,a-1),i)+l:s+l)):t==null?s:+t},_o=function(e,t,i){var n=Dr(t[1]),o=(n?2:1)+(e<2?0:1),s=t[o],a,l;if(n&&(s.duration=t[1]),s.parent=i,e){for(a=s,l=i;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=At(l.vars.inherit)&&l.parent;s.immediateRender=At(a.immediateRender),e<2?s.runBackwards=1:s.startAt=t[o-1]}return new Ie(t[0],s,t[o+1])},li=function(e,t){return e||e===0?t(e):t},bo=function(e,t,i){return i<e?e:i>t?t:i},it=function(e,t){return!Ye(e)||!(t=zm.exec(e))?"":t[1]},jm=function(e,t,i){return li(i,function(n){return bo(e,t,n)})},tu=[].slice,Ld=function(e,t){return e&&mr(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&mr(e[0]))&&!e.nodeType&&e!==_r},Km=function(e,t,i){return i===void 0&&(i=[]),e.forEach(function(n){var o;return Ye(n)&&!t||Ld(n,1)?(o=i).push.apply(o,Yt(n)):i.push(n)})||i},Yt=function(e,t,i){return be&&!t&&be.selector?be.selector(e):Ye(e)&&!i&&(Zl||!xn())?tu.call((t||cu).querySelectorAll(e),0):lt(e)?Km(e,i):Ld(e)?tu.call(e,0):e?[e]:[]},ru=function(e){return e=Yt(e)[0]||mo("Invalid scope")||{},function(t){var i=e.current||e.nativeElement||e;return Yt(t,i.querySelectorAll?i:i===e?mo("Invalid scope")||cu.createElement("div"):e)}},Rd=function(e){return e.sort(function(){return .5-Math.random()})},Dd=function(e){if(Me(e))return e;var t=mr(e)?e:{each:e},i=Ni(t.ease),n=t.from||0,o=parseFloat(t.base)||0,s={},a=n>0&&n<1,l=isNaN(n)||a,u=t.axis,c=n,d=n;return Ye(n)?c=d={center:.5,edges:.5,end:1}[n]||0:!a&&l&&(c=n[0],d=n[1]),function(h,f,_){var p=(_||t).length,g=s[p],m,v,w,x,b,E,S,T,C;if(!g){if(C=t.grid==="auto"?0:(t.grid||[1,qt])[1],!C){for(S=-qt;S<(S=_[C++].getBoundingClientRect().left)&&C<p;);C<p&&C--}for(g=s[p]=[],m=l?Math.min(C,p)*c-.5:n%C,v=C===qt?0:l?p*d/C-.5:n/C|0,S=0,T=qt,E=0;E<p;E++)w=E%C-m,x=v-(E/C|0),g[E]=b=u?Math.abs(u==="y"?x:w):vd(w*w+x*x),b>S&&(S=b),b<T&&(T=b);n==="random"&&Rd(g),g.max=S-T,g.min=T,g.v=p=(parseFloat(t.amount)||parseFloat(t.each)*(C>p?p-1:u?u==="y"?p/C:C:Math.max(C,p/C))||0)*(n==="edges"?-1:1),g.b=p<0?o-p:o,g.u=it(t.amount||t.each)||0,i=i&&p<0?qd(i):i}return p=(g[h]-g.min)/g.max||0,Fe(g.b+(i?i(p):p)*g.v)+g.u}},iu=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(i){var n=Fe(Math.round(parseFloat(i)/e)*e*t);return(n-n%1)/t+(Dr(i)?0:it(i))}},Id=function(e,t){var i=lt(e),n,o;return!i&&mr(e)&&(n=i=e.radius||qt,e.values?(e=Yt(e.values),(o=!Dr(e[0]))&&(n*=n)):e=iu(e.increment)),li(t,i?Me(e)?function(s){return o=e(s),Math.abs(o-s)<=n?o:s}:function(s){for(var a=parseFloat(o?s.x:s),l=parseFloat(o?s.y:0),u=qt,c=0,d=e.length,h,f;d--;)o?(h=e[d].x-a,f=e[d].y-l,h=h*h+f*f):h=Math.abs(e[d]-a),h<u&&(u=h,c=d);return c=!n||u<=n?e[c]:s,o||c===s||Dr(s)?c:c+it(s)}:iu(e))},Nd=function(e,t,i,n){return li(lt(e)?!t:i===!0?!!(i=0):!n,function(){return lt(e)?e[~~(Math.random()*e.length)]:(i=i||1e-5)&&(n=i<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((e-i/2+Math.random()*(t-e+i*.99))/i)*i*n)/n})},Zm=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return function(n){return t.reduce(function(o,s){return s(o)},n)}},Qm=function(e,t){return function(i){return e(parseFloat(i))+(t||it(i))}},Jm=function(e,t,i){return Fd(e,t,0,1,i)},zd=function(e,t,i){return li(i,function(n){return e[~~t(n)]})},e0=function r(e,t,i){var n=t-e;return lt(e)?zd(e,r(0,e.length),t):li(i,function(o){return(n+(o-e)%n)%n+e})},t0=function r(e,t,i){var n=t-e,o=n*2;return lt(e)?zd(e,r(0,e.length-1),t):li(i,function(s){return s=(o+(s-e)%o)%o||0,e+(s>n?o-s:s)})},Sn=function(e){for(var t=0,i="",n,o,s,a;~(n=e.indexOf("random(",t));)s=e.indexOf(")",n),a=e.charAt(n+7)==="[",o=e.substr(n+7,s-n-7).match(a?wd:Kl),i+=e.substr(t,n-t)+Nd(a?o:+o[0],a?0:+o[1],+o[2]||1e-5),t=s+1;return i+e.substr(t,e.length-t)},Fd=function(e,t,i,n,o){var s=t-e,a=n-i;return li(o,function(l){return i+((l-e)/s*a||0)})},r0=function r(e,t,i,n){var o=isNaN(e+t)?0:function(f){return(1-f)*e+f*t};if(!o){var s=Ye(e),a={},l,u,c,d,h;if(i===!0&&(n=1)&&(i=null),s)e={p:e},t={p:t};else if(lt(e)&&!lt(t)){for(c=[],d=e.length,h=d-2,u=1;u<d;u++)c.push(r(e[u-1],e[u]));d--,o=function(_){_*=d;var p=Math.min(h,~~_);return c[p](_-p)},i=t}else n||(e=yn(lt(e)?[]:{},e));if(!c){for(l in t)vu.call(a,e,l,"get",t[l]);o=function(_){return Su(_,a)||(s?e.p:e)}}}return li(i,o)},pd=function(e,t,i){var n=e.labels,o=qt,s,a,l;for(s in n)a=n[s]-t,a<0==!!i&&a&&o>(a=Math.abs(a))&&(l=s,o=a);return l},Dt=function(e,t,i){var n=e.vars,o=n[t],s=be,a=e._ctx,l,u,c;if(o)return l=n[t+"Params"],u=n.callbackScope||e,i&&oi.length&&Hs(),a&&(be=a),c=l?o.apply(u,l):o.call(u),be=s,c},fo=function(e){return ai(e),e.scrollTrigger&&e.scrollTrigger.kill(!!rt),e.progress()<1&&Dt(e,"onInterrupt"),e},mn,Wd=[],Vd=function(e){if(e)if(e=!e.name&&e.default||e,au()||e.headless){var t=e.name,i=Me(e),n=t&&!i&&e.init?function(){this._props=[]}:e,o={init:vo,render:Su,add:vu,kill:v0,modifier:m0,rawVars:0},s={targetTest:0,get:0,getSetter:Ks,aliases:{},register:0};if(xn(),e!==n){if(Et[t])return;Nt(n,Nt(Bs(e,o),s)),yn(n.prototype,yn(o,Bs(e,s))),Et[n.prop=t]=n,e.targetTest&&(Fs.push(n),fu[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}Sd(t,n),e.register&&e.register(ut,n,mt)}else Wd.push(e)},_e=255,ho={aqua:[0,_e,_e],lime:[0,_e,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,_e],navy:[0,0,128],white:[_e,_e,_e],olive:[128,128,0],yellow:[_e,_e,0],orange:[_e,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[_e,0,0],pink:[_e,192,203],cyan:[0,_e,_e],transparent:[_e,_e,_e,0]},Yl=function(e,t,i){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(i-t)*e*6:e<.5?i:e*3<2?t+(i-t)*(2/3-e)*6:t)*_e+.5|0},Hd=function(e,t,i){var n=e?Dr(e)?[e>>16,e>>8&_e,e&_e]:0:ho.black,o,s,a,l,u,c,d,h,f,_;if(!n){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),ho[e])n=ho[e];else if(e.charAt(0)==="#"){if(e.length<6&&(o=e.charAt(1),s=e.charAt(2),a=e.charAt(3),e="#"+o+o+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&_e,n&_e,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),n=[e>>16,e>>8&_e,e&_e]}else if(e.substr(0,3)==="hsl"){if(n=_=e.match(Kl),!t)l=+n[0]%360/360,u=+n[1]/100,c=+n[2]/100,s=c<=.5?c*(u+1):c+u-c*u,o=c*2-s,n.length>3&&(n[3]*=1),n[0]=Yl(l+1/3,o,s),n[1]=Yl(l,o,s),n[2]=Yl(l-1/3,o,s);else if(~e.indexOf("="))return n=e.match(lu),i&&n.length<4&&(n[3]=1),n}else n=e.match(Kl)||ho.transparent;n=n.map(Number)}return t&&!_&&(o=n[0]/_e,s=n[1]/_e,a=n[2]/_e,d=Math.max(o,s,a),h=Math.min(o,s,a),c=(d+h)/2,d===h?l=u=0:(f=d-h,u=c>.5?f/(2-d-h):f/(d+h),l=d===o?(s-a)/f+(s<a?6:0):d===s?(a-o)/f+2:(o-s)/f+4,l*=60),n[0]=~~(l+.5),n[1]=~~(u*100+.5),n[2]=~~(c*100+.5)),i&&n.length<4&&(n[3]=1),n},Bd=function(e){var t=[],i=[],n=-1;return e.split(Rr).forEach(function(o){var s=o.match(Fi)||[];t.push.apply(t,s),i.push(n+=s.length+1)}),t.c=i,t},_d=function(e,t,i){var n="",o=(e+n).match(Rr),s=t?"hsla(":"rgba(",a=0,l,u,c,d;if(!o)return e;if(o=o.map(function(h){return(h=Hd(h,t,1))&&s+(t?h[0]+","+h[1]+"%,"+h[2]+"%,"+h[3]:h.join(","))+")"}),i&&(c=Bd(e),l=i.c,l.join(n)!==c.c.join(n)))for(u=e.replace(Rr,"1").split(Fi),d=u.length-1;a<d;a++)n+=u[a]+(~l.indexOf(a)?o.shift()||s+"0,0,0,0)":(c.length?c:o.length?o:i).shift());if(!u)for(u=e.split(Rr),d=u.length-1;a<d;a++)n+=u[a]+o[a];return n+u[d]},Rr=function(){var r="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in ho)r+="|"+e+"\\b";return new RegExp(r+")","gi")}(),i0=/hsl[a]?\(/,gu=function(e){var t=e.join(" "),i;if(Rr.lastIndex=0,Rr.test(t))return i=i0.test(t),e[1]=_d(e[1],i),e[0]=_d(e[0],i,Bd(e[1])),!0},yo,Tt=function(){var r=Date.now,e=500,t=33,i=r(),n=i,o=1e3/240,s=o,a=[],l,u,c,d,h,f,_=function p(g){var m=r()-n,v=g===!0,w,x,b,E;if((m>e||m<0)&&(i+=m-t),n+=m,b=n-i,w=b-s,(w>0||v)&&(E=++d.frame,h=b-d.time*1e3,d.time=b=b/1e3,s+=w+(w>=o?4:o-w),x=1),v||(l=u(p)),x)for(f=0;f<a.length;f++)a[f](b,h,E,g)};return d={time:0,frame:0,tick:function(){_(!0)},deltaRatio:function(g){return h/(1e3/(g||60))},wake:function(){bd&&(!Zl&&au()&&(_r=Zl=window,cu=_r.document||{},It.gsap=ut,(_r.gsapVersions||(_r.gsapVersions=[])).push(ut.version),xd(Vs||_r.GreenSockGlobals||!_r.gsap&&_r||{}),Wd.forEach(Vd)),c=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&d.sleep(),u=c||function(g){return setTimeout(g,s-d.time*1e3+1|0)},yo=1,_(2))},sleep:function(){(c?cancelAnimationFrame:clearTimeout)(l),yo=0,u=vo},lagSmoothing:function(g,m){e=g||1/0,t=Math.min(m||33,e)},fps:function(g){o=1e3/(g||240),s=d.time*1e3+o},add:function(g,m,v){var w=m?function(x,b,E,S){g(x,b,E,S),d.remove(w)}:g;return d.remove(g),a[v?"unshift":"push"](w),xn(),w},remove:function(g,m){~(m=a.indexOf(g))&&a.splice(m,1)&&f>=m&&f--},_listeners:a},d}(),xn=function(){return!yo&&Tt.wake()},ue={},n0=/^[\d.\-M][\d.\-,\s]/,o0=/["']/g,s0=function(e){for(var t={},i=e.substr(1,e.length-3).split(":"),n=i[0],o=1,s=i.length,a,l,u;o<s;o++)l=i[o],a=o!==s-1?l.lastIndexOf(","):l.length,u=l.substr(0,a),t[n]=isNaN(u)?u.replace(o0,"").trim():+u,n=l.substr(a+1).trim();return t},a0=function(e){var t=e.indexOf("(")+1,i=e.indexOf(")"),n=e.indexOf("(",t);return e.substring(t,~n&&n<i?e.indexOf(")",i+1):i)},l0=function(e){var t=(e+"").split("("),i=ue[t[0]];return i&&t.length>1&&i.config?i.config.apply(null,~e.indexOf("{")?[s0(t[1])]:a0(e).split(",").map(Ad)):ue._CE&&n0.test(e)?ue._CE("",e):i},qd=function(e){return function(t){return 1-e(1-t)}},Yd=function r(e,t){for(var i=e._first,n;i;)i instanceof tt?r(i,t):i.vars.yoyoEase&&(!i._yoyo||!i._repeat)&&i._yoyo!==t&&(i.timeline?r(i.timeline,t):(n=i._ease,i._ease=i._yEase,i._yEase=n,i._yoyo=t)),i=i._next},Ni=function(e,t){return e&&(Me(e)?e:ue[e]||l0(e))||t},Vi=function(e,t,i,n){i===void 0&&(i=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 o={easeIn:t,easeOut:i,easeInOut:n},s;return gt(e,function(a){ue[a]=It[a]=o,ue[s=a.toLowerCase()]=i;for(var l in o)ue[s+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=ue[a+"."+l]=o[l]}),o},Xd=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},Xl=function r(e,t,i){var n=t>=1?t:1,o=(i||(e?.3:.45))/(t<1?t:1),s=o/jl*(Math.asin(1/n)||0),a=function(c){return c===1?1:n*Math.pow(2,-10*c)*Nm((c-s)*o)+1},l=e==="out"?a:e==="in"?function(u){return 1-a(1-u)}:Xd(a);return o=jl/o,l.config=function(u,c){return r(e,u,c)},l},Ul=function r(e,t){t===void 0&&(t=1.70158);var i=function(s){return s?--s*s*((t+1)*s+t)+1:0},n=e==="out"?i:e==="in"?function(o){return 1-i(1-o)}:Xd(i);return n.config=function(o){return r(e,o)},n};gt("Linear,Quad,Cubic,Quart,Quint,Strong",function(r,e){var t=e<5?e+1:e;Vi(r+",Power"+(t-1),e?function(i){return Math.pow(i,t)}:function(i){return i},function(i){return 1-Math.pow(1-i,t)},function(i){return i<.5?Math.pow(i*2,t)/2:1-Math.pow((1-i)*2,t)/2})});ue.Linear.easeNone=ue.none=ue.Linear.easeIn;Vi("Elastic",Xl("in"),Xl("out"),Xl());(function(r,e){var t=1/e,i=2*t,n=2.5*t,o=function(a){return a<t?r*a*a:a<i?r*Math.pow(a-1.5/e,2)+.75:a<n?r*(a-=2.25/e)*a+.9375:r*Math.pow(a-2.625/e,2)+.984375};Vi("Bounce",function(s){return 1-o(1-s)},o)})(7.5625,2.75);Vi("Expo",function(r){return Math.pow(2,10*(r-1))*r+r*r*r*r*r*r*(1-r)});Vi("Circ",function(r){return-(vd(1-r*r)-1)});Vi("Sine",function(r){return r===1?1:-Im(r*Rm)+1});Vi("Back",Ul("in"),Ul("out"),Ul());ue.SteppedEase=ue.steps=It.SteppedEase={config:function(e,t){e===void 0&&(e=1);var i=1/e,n=e+(t?0:1),o=t?1:0,s=1-ge;return function(a){return((n*bo(0,s,a)|0)+o)*i}}};vn.ease=ue["quad.out"];gt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(r){return du+=r+","+r+"Params,"});var mu=function(e,t){this.id=Dm++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:pu,this.set=t?t.getSetter:Ks},wo=function(){function r(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,bn(this,+t.duration,1,1),this.data=t.data,be&&(this._ctx=be,be.data.push(this)),yo||Tt.wake()}var e=r.prototype;return e.delay=function(i){return i||i===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+i-this._delay),this._delay=i,this):this._delay},e.duration=function(i){return arguments.length?this.totalDuration(this._repeat>0?i+(i+this._rDelay)*this._repeat:i):this.totalDuration()&&this._dur},e.totalDuration=function(i){return arguments.length?(this._dirty=0,bn(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(i,n){if(xn(),!arguments.length)return this._tTime;var o=this._dp;if(o&&o.smoothChildTiming&&this._ts){for(js(this,i),!o._dp||o.parent||kd(o,this);o&&o.parent;)o.parent._time!==o._start+(o._ts>=0?o._tTime/o._ts:(o.totalDuration()-o._tTime)/-o._ts)&&o.totalTime(o._tTime,!0),o=o.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&i<this._tDur||this._ts<0&&i>0||!this._tDur&&!i)&&gr(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!n||this._initted&&Math.abs(this._zTime)===ge||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),Td(this,i,n)),this},e.time=function(i,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+dd(this))%(this._dur+this._rDelay)||(i?this._dur:0),n):this._time},e.totalProgress=function(i,n){return arguments.length?this.totalTime(this.totalDuration()*i,n):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(i,n){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+dd(this),n):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(i,n){var o=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(i-1)*o,n):this._repeat?wn(this._tTime,o)+1:1},e.timeScale=function(i,n){if(!arguments.length)return this._rts===-ge?0:this._rts;if(this._rts===i)return this;var o=this.parent&&this._ts?qs(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-ge?0:this._rts,this.totalTime(bo(-Math.abs(this._delay),this.totalDuration(),o),n!==!1),$s(this),qm(this)},e.paused=function(i){return arguments.length?(this._ps!==i&&(this._ps=i,i?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(xn(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==ge&&(this._tTime-=ge)))),this):this._ps},e.startTime=function(i){if(arguments.length){this._start=i;var n=this.parent||this._dp;return n&&(n._sort||!this.parent)&&gr(n,this,i-this._delay),this}return this._start},e.endTime=function(i){return this._start+(At(i)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(i){var n=this.parent||this._dp;return n?i&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?qs(n.rawTime(i),this):this._tTime:this._tTime},e.revert=function(i){i===void 0&&(i=Wm);var n=rt;return rt=i,_u(this)&&(this.timeline&&this.timeline.revert(i),this.totalTime(-.01,i.suppressEvents)),this.data!=="nested"&&i.kill!==!1&&this.kill(),rt=n,this},e.globalTime=function(i){for(var n=this,o=arguments.length?i:n.rawTime();n;)o=n._start+o/(Math.abs(n._ts)||1),n=n._dp;return!this.parent&&this._sat?this._sat.globalTime(i):o},e.repeat=function(i){return arguments.length?(this._repeat=i===1/0?-2:i,hd(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(i){if(arguments.length){var n=this._time;return this._rDelay=i,hd(this),n?this.time(n):this}return this._rDelay},e.yoyo=function(i){return arguments.length?(this._yoyo=i,this):this._yoyo},e.seek=function(i,n){return this.totalTime(Bt(this,i),At(n))},e.restart=function(i,n){return this.play().totalTime(i?-this._delay:0,At(n)),this._dur||(this._zTime=-ge),this},e.play=function(i,n){return i!=null&&this.seek(i,n),this.reversed(!1).paused(!1)},e.reverse=function(i,n){return i!=null&&this.seek(i||this.totalDuration(),n),this.reversed(!0).paused(!1)},e.pause=function(i,n){return i!=null&&this.seek(i,n),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(i){return arguments.length?(!!i!==this.reversed()&&this.timeScale(-this._rts||(i?-ge:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-ge,this},e.isActive=function(){var i=this.parent||this._dp,n=this._start,o;return!!(!i||this._ts&&this._initted&&i.isActive()&&(o=i.rawTime(!0))>=n&&o<this.endTime(!0)-ge)},e.eventCallback=function(i,n,o){var s=this.vars;return arguments.length>1?(n?(s[i]=n,o&&(s[i+"Params"]=o),i==="onUpdate"&&(this._onUpdate=n)):delete s[i],this):s[i]},e.then=function(i){var n=this;return new Promise(function(o){var s=Me(i)?i:Cd,a=function(){var u=n.then;n.then=null,Me(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?a():n._prom=a})},e.kill=function(){fo(this)},r}();Nt(wo.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:-ge,_prom:0,_ps:!1,_rts:1});var tt=function(r){md(e,r);function e(i,n){var o;return i===void 0&&(i={}),o=r.call(this,i)||this,o.labels={},o.smoothChildTiming=!!i.smoothChildTiming,o.autoRemoveChildren=!!i.autoRemoveChildren,o._sort=At(i.sortChildren),Se&&gr(i.parent||Se,Lr(o),n),i.reversed&&o.reverse(),i.paused&&o.paused(!0),i.scrollTrigger&&Md(Lr(o),i.scrollTrigger),o}var t=e.prototype;return t.to=function(n,o,s){return _o(0,arguments,this),this},t.from=function(n,o,s){return _o(1,arguments,this),this},t.fromTo=function(n,o,s,a){return _o(2,arguments,this),this},t.set=function(n,o,s){return o.duration=0,o.parent=this,po(o).repeatDelay||(o.repeat=0),o.immediateRender=!!o.immediateRender,new Ie(n,o,Bt(this,s),1),this},t.call=function(n,o,s){return gr(this,Ie.delayedCall(0,n,o),s)},t.staggerTo=function(n,o,s,a,l,u,c){return s.duration=o,s.stagger=s.stagger||a,s.onComplete=u,s.onCompleteParams=c,s.parent=this,new Ie(n,s,Bt(this,l)),this},t.staggerFrom=function(n,o,s,a,l,u,c){return s.runBackwards=1,po(s).immediateRender=At(s.immediateRender),this.staggerTo(n,o,s,a,l,u,c)},t.staggerFromTo=function(n,o,s,a,l,u,c,d){return a.startAt=s,po(a).immediateRender=At(a.immediateRender),this.staggerTo(n,o,a,l,u,c,d)},t.render=function(n,o,s){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,c=n<=0?0:Fe(n),d=this._zTime<0!=n<0&&(this._initted||!u),h,f,_,p,g,m,v,w,x,b,E,S;if(this!==Se&&c>l&&n>=0&&(c=l),c!==this._tTime||s||d){if(a!==this._time&&u&&(c+=this._time-a,n+=this._time-a),h=c,x=this._start,w=this._ts,m=!w,d&&(u||(a=this._zTime),(n||!o)&&(this._zTime=n)),this._repeat){if(E=this._yoyo,g=u+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(g*100+n,o,s);if(h=Fe(c%g),c===l?(p=this._repeat,h=u):(b=Fe(c/g),p=~~b,p&&p===b&&(h=u,p--),h>u&&(h=u)),b=wn(this._tTime,g),!a&&this._tTime&&b!==p&&this._tTime-b*g-this._dur<=0&&(b=p),E&&p&1&&(h=u-h,S=1),p!==b&&!this._lock){var T=E&&b&1,C=T===(E&&p&1);if(p<b&&(T=!T),a=T?0:c%u?u:c,this._lock=1,this.render(a||(S?0:Fe(p*g)),o,!u)._lock=0,this._tTime=c,!o&&this.parent&&Dt(this,"onRepeat"),this.vars.repeatRefresh&&!S&&(this.invalidate()._lock=1),a&&a!==this._time||m!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,l=this._tDur,C&&(this._lock=2,a=T?u:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!m)return this;Yd(this,S)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=Gm(this,Fe(a),Fe(h)),v&&(c-=h-(h=v._start))),this._tTime=c,this._time=h,this._act=!w,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,a=0),!a&&c&&!o&&!b&&(Dt(this,"onStart"),this._tTime!==c))return this;if(h>=a&&n>=0)for(f=this._first;f;){if(_=f._next,(f._act||h>=f._start)&&f._ts&&v!==f){if(f.parent!==this)return this.render(n,o,s);if(f.render(f._ts>0?(h-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(h-f._start)*f._ts,o,s),h!==this._time||!this._ts&&!m){v=0,_&&(c+=this._zTime=-ge);break}}f=_}else{f=this._last;for(var O=n<0?n:h;f;){if(_=f._prev,(f._act||O<=f._end)&&f._ts&&v!==f){if(f.parent!==this)return this.render(n,o,s);if(f.render(f._ts>0?(O-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(O-f._start)*f._ts,o,s||rt&&_u(f)),h!==this._time||!this._ts&&!m){v=0,_&&(c+=this._zTime=O?-ge:ge);break}}f=_}}if(v&&!o&&(this.pause(),v.render(h>=a?0:-ge)._zTime=h>=a?1:-1,this._ts))return this._start=x,$s(this),this.render(n,o,s);this._onUpdate&&!o&&Dt(this,"onUpdate",!0),(c===l&&this._tTime>=this.totalDuration()||!c&&a)&&(x===this._start||Math.abs(w)!==Math.abs(this._ts))&&(this._lock||((n||!u)&&(c===l&&this._ts>0||!c&&this._ts<0)&&ai(this,1),!o&&!(n<0&&!a)&&(c||a||!l)&&(Dt(this,c===l&&n>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c<l&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(n,o){var s=this;if(Dr(o)||(o=Bt(this,o,n)),!(n instanceof wo)){if(lt(n))return n.forEach(function(a){return s.add(a,o)}),this;if(Ye(n))return this.addLabel(n,o);if(Me(n))n=Ie.delayedCall(0,n);else return this}return this!==n?gr(this,n,o):this},t.getChildren=function(n,o,s,a){n===void 0&&(n=!0),o===void 0&&(o=!0),s===void 0&&(s=!0),a===void 0&&(a=-qt);for(var l=[],u=this._first;u;)u._start>=a&&(u instanceof Ie?o&&l.push(u):(s&&l.push(u),n&&l.push.apply(l,u.getChildren(!0,o,s)))),u=u._next;return l},t.getById=function(n){for(var o=this.getChildren(1,1,1),s=o.length;s--;)if(o[s].vars.id===n)return o[s]},t.remove=function(n){return Ye(n)?this.removeLabel(n):Me(n)?this.killTweensOf(n):(n.parent===this&&Gs(this,n),n===this._recent&&(this._recent=this._last),Ii(this))},t.totalTime=function(n,o){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Fe(Tt.time-(this._ts>0?n/this._ts:(this.totalDuration()-n)/-this._ts))),r.prototype.totalTime.call(this,n,o),this._forcing=0,this):this._tTime},t.addLabel=function(n,o){return this.labels[n]=Bt(this,o),this},t.removeLabel=function(n){return delete this.labels[n],this},t.addPause=function(n,o,s){var a=Ie.delayedCall(0,o||vo,s);return a.data="isPause",this._hasPause=1,gr(this,a,Bt(this,n))},t.removePause=function(n){var o=this._first;for(n=Bt(this,n);o;)o._start===n&&o.data==="isPause"&&ai(o),o=o._next},t.killTweensOf=function(n,o,s){for(var a=this.getTweensOf(n,s),l=a.length;l--;)ni!==a[l]&&a[l].kill(n,o);return this},t.getTweensOf=function(n,o){for(var s=[],a=Yt(n),l=this._first,u=Dr(o),c;l;)l instanceof Ie?Vm(l._targets,a)&&(u?(!ni||l._initted&&l._ts)&&l.globalTime(0)<=o&&l.globalTime(l.totalDuration())>o:!o||l.isActive())&&s.push(l):(c=l.getTweensOf(a,o)).length&&s.push.apply(s,c),l=l._next;return s},t.tweenTo=function(n,o){o=o||{};var s=this,a=Bt(s,n),l=o,u=l.startAt,c=l.onStart,d=l.onStartParams,h=l.immediateRender,f,_=Ie.to(s,Nt({ease:o.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:o.duration||Math.abs((a-(u&&"time"in u?u.time:s._time))/s.timeScale())||ge,onStart:function(){if(s.pause(),!f){var g=o.duration||Math.abs((a-(u&&"time"in u?u.time:s._time))/s.timeScale());_._dur!==g&&bn(_,g,0,1).render(_._time,!0,!0),f=1}c&&c.apply(_,d||[])}},o));return h?_.render(0):_},t.tweenFromTo=function(n,o,s){return this.tweenTo(o,Nt({startAt:{time:Bt(this,n)}},s))},t.recent=function(){return this._recent},t.nextLabel=function(n){return n===void 0&&(n=this._time),pd(this,Bt(this,n))},t.previousLabel=function(n){return n===void 0&&(n=this._time),pd(this,Bt(this,n),1)},t.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+ge)},t.shiftChildren=function(n,o,s){s===void 0&&(s=0);for(var a=this._first,l=this.labels,u;a;)a._start>=s&&(a._start+=n,a._end+=n),a=a._next;if(o)for(u in l)l[u]>=s&&(l[u]+=n);return Ii(this)},t.invalidate=function(n){var o=this._first;for(this._lock=0;o;)o.invalidate(n),o=o._next;return r.prototype.invalidate.call(this,n)},t.clear=function(n){n===void 0&&(n=!0);for(var o=this._first,s;o;)s=o._next,this.remove(o),o=s;return this._dp&&(this._time=this._tTime=this._pTime=0),n&&(this.labels={}),Ii(this)},t.totalDuration=function(n){var o=0,s=this,a=s._last,l=qt,u,c,d;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-n:n));if(s._dirty){for(d=s.parent;a;)u=a._prev,a._dirty&&a.totalDuration(),c=a._start,c>l&&s._sort&&a._ts&&!s._lock?(s._lock=1,gr(s,a,c-a._delay,1)._lock=0):l=c,c<0&&a._ts&&(o-=c,(!d&&!s._dp||d&&d.smoothChildTiming)&&(s._start+=c/s._ts,s._time-=c,s._tTime-=c),s.shiftChildren(-c,!1,-1/0),l=0),a._end>o&&a._ts&&(o=a._end),a=u;bn(s,s===Se&&s._time>o?s._time:o,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(n){if(Se._ts&&(Td(Se,qs(n,Se)),Ed=Tt.frame),Tt.frame>=cd){cd+=Ct.autoSleep||120;var o=Se._first;if((!o||!o._ts)&&Ct.autoSleep&&Tt._listeners.length<2){for(;o&&!o._ts;)o=o._next;o||Tt.sleep()}}},e}(wo);Nt(tt.prototype,{_lock:0,_hasPause:0,_forcing:0});var u0=function(e,t,i,n,o,s,a){var l=new mt(this._pt,e,t,0,1,xu,null,o),u=0,c=0,d,h,f,_,p,g,m,v;for(l.b=i,l.e=n,i+="",n+="",(m=~n.indexOf("random("))&&(n=Sn(n)),s&&(v=[i,n],s(v,e,t),i=v[0],n=v[1]),h=i.match(Bl)||[];d=Bl.exec(n);)_=d[0],p=n.substring(u,d.index),f?f=(f+1)%5:p.substr(-5)==="rgba("&&(f=1),_!==h[c++]&&(g=parseFloat(h[c-1])||0,l._pt={_next:l._pt,p:p||c===1?p:",",s:g,c:_.charAt(1)==="="?Wi(g,_)-g:parseFloat(_)-g,m:f&&f<4?Math.round:0},u=Bl.lastIndex);return l.c=u<n.length?n.substring(u,n.length):"",l.fp=a,(uu.test(n)||m)&&(l.e=0),this._pt=l,l},vu=function(e,t,i,n,o,s,a,l,u,c){Me(n)&&(n=n(o||0,e,s));var d=e[t],h=i!=="get"?i:Me(d)?u?e[t.indexOf("set")||!Me(e["get"+t.substr(3)])?t:"get"+t.substr(3)](u):e[t]():d,f=Me(d)?u?p0:$d:bu,_;if(Ye(n)&&(~n.indexOf("random(")&&(n=Sn(n)),n.charAt(1)==="="&&(_=Wi(h,n)+(it(h)||0),(_||_===0)&&(n=_))),!c||h!==n||nu)return!isNaN(h*n)&&n!==""?(_=new mt(this._pt,e,t,+h||0,n-(h||0),typeof d=="boolean"?g0:jd,0,f),u&&(_.fp=u),a&&_.modifier(a,this,e),this._pt=_):(!d&&!(t in e)&&Us(t,n),u0.call(this,e,t,h,n,f,l||Ct.stringFilter,u))},c0=function(e,t,i,n,o){if(Me(e)&&(e=go(e,o,t,i,n)),!mr(e)||e.style&&e.nodeType||lt(e)||yd(e))return Ye(e)?go(e,o,t,i,n):e;var s={},a;for(a in e)s[a]=go(e[a],o,t,i,n);return s},yu=function(e,t,i,n,o,s){var a,l,u,c;if(Et[e]&&(a=new Et[e]).init(o,a.rawVars?t[e]:c0(t[e],n,o,s,i),i,n,s)!==!1&&(i._pt=l=new mt(i._pt,o,e,0,1,a.render,a,0,a.priority),i!==mn))for(u=i._ptLookup[i._targets.indexOf(o)],c=a._props.length;c--;)u[a._props[c]]=l;return a},ni,nu,wu=function r(e,t,i){var n=e.vars,o=n.ease,s=n.startAt,a=n.immediateRender,l=n.lazy,u=n.onUpdate,c=n.runBackwards,d=n.yoyoEase,h=n.keyframes,f=n.autoRevert,_=e._dur,p=e._startAt,g=e._targets,m=e.parent,v=m&&m.data==="nested"?m.vars.targets:g,w=e._overwrite==="auto"&&!su,x=e.timeline,b,E,S,T,C,O,M,A,P,N,D,H,V;if(x&&(!h||!o)&&(o="none"),e._ease=Ni(o,vn.ease),e._yEase=d?qd(Ni(d===!0?o:d,vn.ease)):0,d&&e._yoyo&&!e._repeat&&(d=e._yEase,e._yEase=e._ease,e._ease=d),e._from=!x&&!!n.runBackwards,!x||h&&!n.stagger){if(A=g[0]?si(g[0]).harness:0,H=A&&n[A.prop],b=Bs(n,fu),p&&(p._zTime<0&&p.progress(1),t<0&&c&&a&&!f?p.render(-1,!0):p.revert(c&&_?zs:Fm),p._lazy=0),s){if(ai(e._startAt=Ie.set(g,Nt({data:"isStart",overwrite:!1,parent:m,immediateRender:!0,lazy:!p&&At(l),startAt:null,delay:0,onUpdate:u&&function(){return Dt(e,"onUpdate")},stagger:0},s))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(rt||!a&&!f)&&e._startAt.revert(zs),a&&_&&t<=0&&i<=0){t&&(e._zTime=t);return}}else if(c&&_&&!p){if(t&&(a=!1),S=Nt({overwrite:!1,data:"isFromStart",lazy:a&&!p&&At(l),immediateRender:a,stagger:0,parent:m},b),H&&(S[A.prop]=H),ai(e._startAt=Ie.set(g,S)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(rt?e._startAt.revert(zs):e._startAt.render(-1,!0)),e._zTime=t,!a)r(e._startAt,ge,ge);else if(!t)return}for(e._pt=e._ptCache=0,l=_&&At(l)||l&&!_,E=0;E<g.length;E++){if(C=g[E],M=C._gsap||hu(g)[E]._gsap,e._ptLookup[E]=N={},Ql[M.id]&&oi.length&&Hs(),D=v===g?E:v.indexOf(C),A&&(P=new A).init(C,H||b,e,D,v)!==!1&&(e._pt=T=new mt(e._pt,C,P.name,0,1,P.render,P,0,P.priority),P._props.forEach(function(F){N[F]=T}),P.priority&&(O=1)),!A||H)for(S in b)Et[S]&&(P=yu(S,b,e,D,C,v))?P.priority&&(O=1):N[S]=T=vu.call(e,C,S,"get",b[S],D,v,0,n.stringFilter);e._op&&e._op[E]&&e.kill(C,e._op[E]),w&&e._pt&&(ni=e,Se.killTweensOf(C,N,e.globalTime(t)),V=!e.parent,ni=0),e._pt&&l&&(Ql[M.id]=1)}O&&Eu(e),e._onInit&&e._onInit(e)}e._onUpdate=u,e._initted=(!e._op||e._pt)&&!V,h&&t<=0&&x.render(qt,!0,!0)},f0=function(e,t,i,n,o,s,a,l){var u=(e._pt&&e._ptCache||(e._ptCache={}))[t],c,d,h,f;if(!u)for(u=e._ptCache[t]=[],h=e._ptLookup,f=e._targets.length;f--;){if(c=h[f][t],c&&c.d&&c.d._pt)for(c=c.d._pt;c&&c.p!==t&&c.fp!==t;)c=c._next;if(!c)return nu=1,e.vars[t]="+=0",wu(e,a),nu=0,l?mo(t+" not eligible for reset"):1;u.push(c)}for(f=u.length;f--;)d=u[f],c=d._pt||d,c.s=(n||n===0)&&!o?n:c.s+(n||0)+s*c.c,c.c=i-c.s,d.e&&(d.e=Pe(i)+it(d.e)),d.b&&(d.b=c.s+it(d.b))},d0=function(e,t){var i=e[0]?si(e[0]).harness:0,n=i&&i.aliases,o,s,a,l;if(!n)return t;o=yn({},t);for(s in n)if(s in o)for(l=n[s].split(","),a=l.length;a--;)o[l[a]]=o[s];return o},h0=function(e,t,i,n){var o=t.ease||n||"power1.inOut",s,a;if(lt(t))a=i[e]||(i[e]=[]),t.forEach(function(l,u){return a.push({t:u/(t.length-1)*100,v:l,e:o})});else for(s in t)a=i[s]||(i[s]=[]),s==="ease"||a.push({t:parseFloat(e),v:t[s],e:o})},go=function(e,t,i,n,o){return Me(e)?e.call(t,i,n,o):Ye(e)&&~e.indexOf("random(")?Sn(e):e},Ud=du+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Gd={};gt(Ud+",id,stagger,delay,duration,paused,scrollTrigger",function(r){return Gd[r]=1});var Ie=function(r){md(e,r);function e(i,n,o,s){var a;typeof n=="number"&&(o.duration=n,n=o,o=null),a=r.call(this,s?n:po(n))||this;var l=a.vars,u=l.duration,c=l.delay,d=l.immediateRender,h=l.stagger,f=l.overwrite,_=l.keyframes,p=l.defaults,g=l.scrollTrigger,m=l.yoyoEase,v=n.parent||Se,w=(lt(i)||yd(i)?Dr(i[0]):"length"in n)?[i]:Yt(i),x,b,E,S,T,C,O,M;if(a._targets=w.length?hu(w):mo("GSAP target "+i+" not found. https://gsap.com",!Ct.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=f,_||h||Ns(u)||Ns(c)){if(n=a.vars,x=a.timeline=new tt({data:"nested",defaults:p||{},targets:v&&v.data==="nested"?v.vars.targets:w}),x.kill(),x.parent=x._dp=Lr(a),x._start=0,h||Ns(u)||Ns(c)){if(S=w.length,O=h&&Dd(h),mr(h))for(T in h)~Ud.indexOf(T)&&(M||(M={}),M[T]=h[T]);for(b=0;b<S;b++)E=Bs(n,Gd),E.stagger=0,m&&(E.yoyoEase=m),M&&yn(E,M),C=w[b],E.duration=+go(u,Lr(a),b,C,w),E.delay=(+go(c,Lr(a),b,C,w)||0)-a._delay,!h&&S===1&&E.delay&&(a._delay=c=E.delay,a._start+=c,E.delay=0),x.to(C,E,O?O(b,C,w):0),x._ease=ue.none;x.duration()?u=c=0:a.timeline=0}else if(_){po(Nt(x.vars.defaults,{ease:"none"})),x._ease=Ni(_.ease||n.ease||"none");var A=0,P,N,D;if(lt(_))_.forEach(function(H){return x.to(w,H,">")}),x.duration();else{E={};for(T in _)T==="ease"||T==="easeEach"||h0(T,_[T],E,_.easeEach);for(T in E)for(P=E[T].sort(function(H,V){return H.t-V.t}),A=0,b=0;b<P.length;b++)N=P[b],D={ease:N.e,duration:(N.t-(b?P[b-1].t:0))/100*u},D[T]=N.v,x.to(w,D,A),A+=D.duration;x.duration()<u&&x.to({},{duration:u-x.duration()})}}u||a.duration(u=x.duration())}else a.timeline=0;return f===!0&&!su&&(ni=Lr(a),Se.killTweensOf(w),ni=0),gr(v,Lr(a),o),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(d||!u&&!_&&a._start===Fe(v._time)&&At(d)&&Ym(Lr(a))&&v.data!=="nested")&&(a._tTime=-ge,a.render(Math.max(0,-c)||0)),g&&Md(Lr(a),g),a}var t=e.prototype;return t.render=function(n,o,s){var a=this._time,l=this._tDur,u=this._dur,c=n<0,d=n>l-ge&&!c?l:n<ge?0:n,h,f,_,p,g,m,v,w,x;if(!u)Um(this,n,o,s);else if(d!==this._tTime||!n||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==c||this._lazy){if(h=d,w=this.timeline,this._repeat){if(p=u+this._rDelay,this._repeat<-1&&c)return this.totalTime(p*100+n,o,s);if(h=Fe(d%p),d===l?(_=this._repeat,h=u):(g=Fe(d/p),_=~~g,_&&_===g?(h=u,_--):h>u&&(h=u)),m=this._yoyo&&_&1,m&&(x=this._yEase,h=u-h),g=wn(this._tTime,p),h===a&&!s&&this._initted&&_===g)return this._tTime=d,this;_!==g&&(w&&this._yEase&&Yd(w,m),this.vars.repeatRefresh&&!m&&!this._lock&&h!==p&&this._initted&&(this._lock=s=1,this.render(Fe(p*_),!0).invalidate()._lock=0))}if(!this._initted){if(Pd(this,c?n:h,s,o,d))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&_!==g))return this;if(u!==this._dur)return this.render(n,o,s)}if(this._tTime=d,this._time=h,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=v=(x||this._ease)(h/u),this._from&&(this.ratio=v=1-v),!a&&d&&!o&&!g&&(Dt(this,"onStart"),this._tTime!==d))return this;for(f=this._pt;f;)f.r(v,f.d),f=f._next;w&&w.render(n<0?n:w._dur*w._ease(h/this._dur),o,s)||this._startAt&&(this._zTime=n),this._onUpdate&&!o&&(c&&Jl(this,n,o,s),Dt(this,"onUpdate")),this._repeat&&_!==g&&this.vars.onRepeat&&!o&&this.parent&&Dt(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(c&&!this._onUpdate&&Jl(this,n,!0,!0),(n||!u)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&ai(this,1),!o&&!(c&&!a)&&(d||a||m)&&(Dt(this,d===l?"onComplete":"onReverseComplete",!0),this._prom&&!(d<l&&this.timeScale()>0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(n){return(!n||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(n),r.prototype.invalidate.call(this,n)},t.resetTo=function(n,o,s,a,l){yo||Tt.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||wu(this,u),c=this._ease(u/this._dur),f0(this,n,o,s,a,c,u,l)?this.resetTo(n,o,s,a,1):(js(this,0),this.parent||Od(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(n,o){if(o===void 0&&(o="all"),!n&&(!o||o==="all"))return this._lazy=this._pt=0,this.parent?fo(this):this.scrollTrigger&&this.scrollTrigger.kill(!!rt),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(n,o,ni&&ni.vars.overwrite!==!0)._first||fo(this),this.parent&&s!==this.timeline.totalDuration()&&bn(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,l=n?Yt(n):a,u=this._ptLookup,c=this._pt,d,h,f,_,p,g,m;if((!o||o==="all")&&Bm(a,l))return o==="all"&&(this._pt=0),fo(this);for(d=this._op=this._op||[],o!=="all"&&(Ye(o)&&(p={},gt(o,function(v){return p[v]=1}),o=p),o=d0(a,o)),m=a.length;m--;)if(~l.indexOf(a[m])){h=u[m],o==="all"?(d[m]=o,_=h,f={}):(f=d[m]=d[m]||{},_=o);for(p in _)g=h&&h[p],g&&((!("kill"in g.d)||g.d.kill(p)===!0)&&Gs(this,g,"_pt"),delete h[p]),f!=="all"&&(f[p]=1)}return this._initted&&!this._pt&&c&&fo(this),this},e.to=function(n,o){return new e(n,o,arguments[2])},e.from=function(n,o){return _o(1,arguments)},e.delayedCall=function(n,o,s,a){return new e(o,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:o,onReverseComplete:o,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},e.fromTo=function(n,o,s){return _o(2,arguments)},e.set=function(n,o){return o.duration=0,o.repeatDelay||(o.repeat=0),new e(n,o)},e.killTweensOf=function(n,o,s){return Se.killTweensOf(n,o,s)},e}(wo);Nt(Ie.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});gt("staggerTo,staggerFrom,staggerFromTo",function(r){Ie[r]=function(){var e=new tt,t=tu.call(arguments,0);return t.splice(r==="staggerFromTo"?5:4,0,0),e[r].apply(e,t)}});var bu=function(e,t,i){return e[t]=i},$d=function(e,t,i){return e[t](i)},p0=function(e,t,i,n){return e[t](n.fp,i)},_0=function(e,t,i){return e.setAttribute(t,i)},Ks=function(e,t){return Me(e[t])?$d:Xs(e[t])&&e.setAttribute?_0:bu},jd=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},g0=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},xu=function(e,t){var i=t._pt,n="";if(!e&&t.b)n=t.b;else if(e===1&&t.e)n=t.e;else{for(;i;)n=i.p+(i.m?i.m(i.s+i.c*e):Math.round((i.s+i.c*e)*1e4)/1e4)+n,i=i._next;n+=t.c}t.set(t.t,t.p,n,t)},Su=function(e,t){for(var i=t._pt;i;)i.r(e,i.d),i=i._next},m0=function(e,t,i,n){for(var o=this._pt,s;o;)s=o._next,o.p===n&&o.modifier(e,t,i),o=s},v0=function(e){for(var t=this._pt,i,n;t;)n=t._next,t.p===e&&!t.op||t.op===e?Gs(this,t,"_pt"):t.dep||(i=1),t=n;return!i},y0=function(e,t,i,n){n.mSet(e,t,n.m.call(n.tween,i,n.mt),n)},Eu=function(e){for(var t=e._pt,i,n,o,s;t;){for(i=t._next,n=o;n&&n.pr>t.pr;)n=n._next;(t._prev=n?n._prev:s)?t._prev._next=t:o=t,(t._next=n)?n._prev=t:s=t,t=i}e._pt=o},mt=function(){function r(t,i,n,o,s,a,l,u,c){this.t=i,this.s=o,this.c=s,this.p=n,this.r=a||jd,this.d=l||this,this.set=u||bu,this.pr=c||0,this._next=t,t&&(t._prev=this)}var e=r.prototype;return e.modifier=function(i,n,o){this.mSet=this.mSet||this.set,this.set=y0,this.m=i,this.mt=o,this.tween=n},r}();gt(du+"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(r){return fu[r]=1});It.TweenMax=It.TweenLite=Ie;It.TimelineLite=It.TimelineMax=tt;Se=new tt({sortChildren:!1,defaults:vn,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Ct.stringFilter=gu;var zi=[],Ws={},w0=[],gd=0,b0=0,Gl=function(e){return(Ws[e]||w0).map(function(t){return t()})},ou=function(){var e=Date.now(),t=[];e-gd>2&&(Gl("matchMediaInit"),zi.forEach(function(i){var n=i.queries,o=i.conditions,s,a,l,u;for(a in n)s=_r.matchMedia(n[a]).matches,s&&(l=1),s!==o[a]&&(o[a]=s,u=1);u&&(i.revert(),l&&t.push(i))}),Gl("matchMediaRevert"),t.forEach(function(i){return i.onMatch(i,function(n){return i.add(null,n)})}),gd=e,Gl("matchMedia"))},Kd=function(){function r(t,i){this.selector=i&&ru(i),this.data=[],this._r=[],this.isReverted=!1,this.id=b0++,t&&this.add(t)}var e=r.prototype;return e.add=function(i,n,o){Me(i)&&(o=n,n=i,i=Me);var s=this,a=function(){var u=be,c=s.selector,d;return u&&u!==s&&u.data.push(s),o&&(s.selector=ru(o)),be=s,d=n.apply(s,arguments),Me(d)&&s._r.push(d),be=u,s.selector=c,s.isReverted=!1,d};return s.last=a,i===Me?a(s,function(l){return s.add(null,l)}):i?s[i]=a:a},e.ignore=function(i){var n=be;be=null,i(this),be=n},e.getTweens=function(){var i=[];return this.data.forEach(function(n){return n instanceof r?i.push.apply(i,n.getTweens()):n instanceof Ie&&!(n.parent&&n.parent.data==="nested")&&i.push(n)}),i},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(i,n){var o=this;if(i?function(){for(var a=o.getTweens(),l=o.data.length,u;l--;)u=o.data[l],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(c){return a.splice(a.indexOf(c),1)}));for(a.map(function(c){return{g:c._dur||c._delay||c._sat&&!c._sat.vars.immediateRender?c.globalTime(0):-1/0,t:c}}).sort(function(c,d){return d.g-c.g||-1/0}).forEach(function(c){return c.t.revert(i)}),l=o.data.length;l--;)u=o.data[l],u instanceof tt?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof Ie)&&u.revert&&u.revert(i);o._r.forEach(function(c){return c(i,o)}),o.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),n)for(var s=zi.length;s--;)zi[s].id===this.id&&zi.splice(s,1)},e.revert=function(i){this.kill(i||{})},r}(),x0=function(){function r(t){this.contexts=[],this.scope=t,be&&be.data.push(this)}var e=r.prototype;return e.add=function(i,n,o){mr(i)||(i={matches:i});var s=new Kd(0,o||this.scope),a=s.conditions={},l,u,c;be&&!s.selector&&(s.selector=be.selector),this.contexts.push(s),n=s.add("onMatch",n),s.queries=i;for(u in i)u==="all"?c=1:(l=_r.matchMedia(i[u]),l&&(zi.indexOf(s)<0&&zi.push(s),(a[u]=l.matches)&&(c=1),l.addListener?l.addListener(ou):l.addEventListener("change",ou)));return c&&n(s,function(d){return s.add(null,d)}),this},e.revert=function(i){this.kill(i||{})},e.kill=function(i){this.contexts.forEach(function(n){return n.kill(i,!0)})},r}(),Ys={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];t.forEach(function(n){return Vd(n)})},timeline:function(e){return new tt(e)},getTweensOf:function(e,t){return Se.getTweensOf(e,t)},getProperty:function(e,t,i,n){Ye(e)&&(e=Yt(e)[0]);var o=si(e||{}).get,s=i?Cd:Ad;return i==="native"&&(i=""),e&&(t?s((Et[t]&&Et[t].get||o)(e,t,i,n)):function(a,l,u){return s((Et[a]&&Et[a].get||o)(e,a,l,u))})},quickSetter:function(e,t,i){if(e=Yt(e),e.length>1){var n=e.map(function(c){return ut.quickSetter(c,t,i)}),o=n.length;return function(c){for(var d=o;d--;)n[d](c)}}e=e[0]||{};var s=Et[t],a=si(e),l=a.harness&&(a.harness.aliases||{})[t]||t,u=s?function(c){var d=new s;mn._pt=0,d.init(e,i?c+i:c,mn,0,[e]),d.render(1,d),mn._pt&&Su(1,mn)}:a.set(e,l);return s?u:function(c){return u(e,l,i?c+i:c,a,1)}},quickTo:function(e,t,i){var n,o=ut.to(e,Nt((n={},n[t]="+=0.1",n.paused=!0,n.stagger=0,n),i||{})),s=function(l,u,c){return o.resetTo(t,l,u,c)};return s.tween=o,s},isTweening:function(e){return Se.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Ni(e.ease,vn.ease)),fd(vn,e||{})},config:function(e){return fd(Ct,e||{})},registerEffect:function(e){var t=e.name,i=e.effect,n=e.plugins,o=e.defaults,s=e.extendTimeline;(n||"").split(",").forEach(function(a){return a&&!Et[a]&&!It[a]&&mo(t+" effect requires "+a+" plugin.")}),ql[t]=function(a,l,u){return i(Yt(a),Nt(l||{},o),u)},s&&(tt.prototype[t]=function(a,l,u){return this.add(ql[t](a,mr(l)?l:(u=l)&&{},this),u)})},registerEase:function(e,t){ue[e]=Ni(t)},parseEase:function(e,t){return arguments.length?Ni(e,t):ue},getById:function(e){return Se.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var i=new tt(e),n,o;for(i.smoothChildTiming=At(e.smoothChildTiming),Se.remove(i),i._dp=0,i._time=i._tTime=Se._time,n=Se._first;n;)o=n._next,(t||!(!n._dur&&n instanceof Ie&&n.vars.onComplete===n._targets[0]))&&gr(i,n,n._start-n._delay),n=o;return gr(Se,i,0),i},context:function(e,t){return e?new Kd(e,t):be},matchMedia:function(e){return new x0(e)},matchMediaRefresh:function(){return zi.forEach(function(e){var t=e.conditions,i,n;for(n in t)t[n]&&(t[n]=!1,i=1);i&&e.revert()})||ou()},addEventListener:function(e,t){var i=Ws[e]||(Ws[e]=[]);~i.indexOf(t)||i.push(t)},removeEventListener:function(e,t){var i=Ws[e],n=i&&i.indexOf(t);n>=0&&i.splice(n,1)},utils:{wrap:e0,wrapYoyo:t0,distribute:Dd,random:Nd,snap:Id,normalize:Jm,getUnit:it,clamp:jm,splitColor:Hd,toArray:Yt,selector:ru,mapRange:Fd,pipe:Zm,unitize:Qm,interpolate:r0,shuffle:Rd},install:xd,effects:ql,ticker:Tt,updateRoot:tt.updateRoot,plugins:Et,globalTimeline:Se,core:{PropTween:mt,globals:Sd,Tween:Ie,Timeline:tt,Animation:wo,getCache:si,_removeLinkedListItem:Gs,reverting:function(){return rt},context:function(e){return e&&be&&(be.data.push(e),e._ctx=be),be},suppressOverwrites:function(e){return su=e}}};gt("to,from,fromTo,delayedCall,set,killTweensOf",function(r){return Ys[r]=Ie[r]});Tt.add(tt.updateRoot);mn=Ys.to({},{duration:0});var S0=function(e,t){for(var i=e._pt;i&&i.p!==t&&i.op!==t&&i.fp!==t;)i=i._next;return i},E0=function(e,t){var i=e._targets,n,o,s;for(n in t)for(o=i.length;o--;)s=e._ptLookup[o][n],s&&(s=s.d)&&(s._pt&&(s=S0(s,n)),s&&s.modifier&&s.modifier(t[n],e,i[o],n))},$l=function(e,t){return{name:e,headless:1,rawVars:1,init:function(n,o,s){s._onInit=function(a){var l,u;if(Ye(o)&&(l={},gt(o,function(c){return l[c]=1}),o=l),t){l={};for(u in o)l[u]=t(o[u]);o=l}E0(a,o)}}}},ut=Ys.registerPlugin({name:"attr",init:function(e,t,i,n,o){var s,a,l;this.tween=i;for(s in t)l=e.getAttribute(s)||"",a=this.add(e,"setAttribute",(l||0)+"",t[s],n,o,0,0,s),a.op=s,a.b=l,this._props.push(s)},render:function(e,t){for(var i=t._pt;i;)rt?i.set(i.t,i.p,i.b,i):i.r(e,i.d),i=i._next}},{name:"endArray",headless:1,init:function(e,t){for(var i=t.length;i--;)this.add(e,i,e[i]||0,t[i],0,0,0,0,0,1)}},$l("roundProps",iu),$l("modifiers"),$l("snap",Id))||Ys;Ie.version=tt.version=ut.version="3.13.0";bd=1;au()&&xn();var T0=ue.Power0,A0=ue.Power1,C0=ue.Power2,O0=ue.Power3,k0=ue.Power4,M0=ue.Linear,P0=ue.Quad,L0=ue.Cubic,R0=ue.Quart,D0=ue.Quint,I0=ue.Strong,N0=ue.Elastic,z0=ue.Back,F0=ue.SteppedEase,W0=ue.Bounce,V0=ue.Sine,H0=ue.Expo,B0=ue.Circ;var Zd,ui,Tn,Mu,Yi,q0,Qd,Pu,Y0=function(){return typeof window<"u"},Nr={},qi=180/Math.PI,An=Math.PI/180,En=Math.atan2,Jd=1e8,Lu=/([A-Z])/g,X0=/(left|right|width|margin|padding|x)/i,U0=/[\s,\(]\S/,vr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Au=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},G0=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)},$0=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)},j0=function(e,t){var i=t.s+t.c*e;t.set(t.t,t.p,~~(i+(i<0?-.5:.5))+t.u,t)},ah=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},lh=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},K0=function(e,t,i){return e.style[t]=i},Z0=function(e,t,i){return e.style.setProperty(t,i)},Q0=function(e,t,i){return e._gsap[t]=i},J0=function(e,t,i){return e._gsap.scaleX=e._gsap.scaleY=i},ev=function(e,t,i,n,o){var s=e._gsap;s.scaleX=s.scaleY=i,s.renderTransform(o,s)},tv=function(e,t,i,n,o){var s=e._gsap;s[t]=i,s.renderTransform(o,s)},Ee="transform",Ot=Ee+"Origin",rv=function r(e,t){var i=this,n=this.target,o=n.style,s=n._gsap;if(e in Nr&&o){if(this.tfm=this.tfm||{},e!=="transform")e=vr[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return i.tfm[a]=Ir(n,a)}):this.tfm[e]=s.x?s[e]:Ir(n,e),e===Ot&&(this.tfm.zOrigin=s.zOrigin);else return vr.transform.split(",").forEach(function(a){return r.call(i,a,t)});if(this.props.indexOf(Ee)>=0)return;s.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(Ot,t,"")),e=Ee}(o||t)&&this.props.push(e,t,o[e])},uh=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},iv=function(){var e=this.props,t=this.target,i=t.style,n=t._gsap,o,s;for(o=0;o<e.length;o+=3)e[o+1]?e[o+1]===2?t[e[o]](e[o+2]):t[e[o]]=e[o+2]:e[o+2]?i[e[o]]=e[o+2]:i.removeProperty(e[o].substr(0,2)==="--"?e[o]:e[o].replace(Lu,"-$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||"")),o=Pu(),(!o||!o.isStart)&&!i[Ee]&&(uh(i),n.zOrigin&&i[Ot]&&(i[Ot]+=" "+n.zOrigin+"px",n.zOrigin=0,n.renderTransform()),n.uncache=1)}},ch=function(e,t){var i={target:e,props:[],revert:iv,save:rv};return e._gsap||ut.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(n){return i.save(n)}),i},fh,Cu=function(e,t){var i=ui.createElementNS?ui.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):ui.createElement(e);return i&&i.style?i:ui.createElement(e)},Xt=function r(e,t,i){var n=getComputedStyle(e);return n[t]||n.getPropertyValue(t.replace(Lu,"-$1").toLowerCase())||n.getPropertyValue(t)||!i&&r(e,Cn(t)||t,1)||""},eh="O,Moz,ms,Ms,Webkit".split(","),Cn=function(e,t,i){var n=t||Yi,o=n.style,s=5;if(e in o&&!i)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(eh[s]+e in o););return s<0?null:(s===3?"ms":s>=0?eh[s]:"")+e},Ou=function(){Y0()&&window.document&&(Zd=window,ui=Zd.document,Tn=ui.documentElement,Yi=Cu("div")||{style:{}},q0=Cu("div"),Ee=Cn(Ee),Ot=Ee+"Origin",Yi.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",fh=!!Cn("perspective"),Pu=ut.core.reverting,Mu=1)},th=function(e){var t=e.ownerSVGElement,i=Cu("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=e.cloneNode(!0),o;n.style.display="block",i.appendChild(n),Tn.appendChild(i);try{o=n.getBBox()}catch{}return i.removeChild(n),Tn.removeChild(i),o},rh=function(e,t){for(var i=t.length;i--;)if(e.hasAttribute(t[i]))return e.getAttribute(t[i])},dh=function(e){var t,i;try{t=e.getBBox()}catch{t=th(e),i=1}return t&&(t.width||t.height)||i||(t=th(e)),t&&!t.width&&!t.x&&!t.y?{x:+rh(e,["x","cx","x1"])||0,y:+rh(e,["y","cy","y1"])||0,width:0,height:0}:t},hh=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&dh(e))},Xi=function(e,t){if(t){var i=e.style,n;t in Nr&&t!==Ot&&(t=Ee),i.removeProperty?(n=t.substr(0,2),(n==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),i.removeProperty(n==="--"?t:t.replace(Lu,"-$1").toLowerCase())):i.removeAttribute(t)}},ci=function(e,t,i,n,o,s){var a=new mt(e._pt,t,i,0,1,s?lh:ah);return e._pt=a,a.b=n,a.e=o,e._props.push(i),a},ih={deg:1,rad:1,turn:1},nv={grid:1,flex:1},fi=function r(e,t,i,n){var o=parseFloat(i)||0,s=(i+"").trim().substr((o+"").length)||"px",a=Yi.style,l=X0.test(t),u=e.tagName.toLowerCase()==="svg",c=(u?"client":"offset")+(l?"Width":"Height"),d=100,h=n==="px",f=n==="%",_,p,g,m;if(n===s||!o||ih[n]||ih[s])return o;if(s!=="px"&&!h&&(o=r(e,t,i,"px")),m=e.getCTM&&hh(e),(f||s==="%")&&(Nr[t]||~t.indexOf("adius")))return _=m?e.getBBox()[l?"width":"height"]:e[c],Pe(f?o/_*d:o/100*_);if(a[l?"width":"height"]=d+(h?s:n),p=n!=="rem"&&~t.indexOf("adius")||n==="em"&&e.appendChild&&!u?e:e.parentNode,m&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===ui||!p.appendChild)&&(p=ui.body),g=p._gsap,g&&f&&g.width&&l&&g.time===Tt.time&&!g.uncache)return Pe(o/g.width*d);if(f&&(t==="height"||t==="width")){var v=e.style[t];e.style[t]=d+n,_=e[c],v?e.style[t]=v:Xi(e,t)}else(f||s==="%")&&!nv[Xt(p,"display")]&&(a.position=Xt(e,"position")),p===e&&(a.position="static"),p.appendChild(Yi),_=Yi[c],p.removeChild(Yi),a.position="absolute";return l&&f&&(g=si(p),g.time=Tt.time,g.width=p[c]),Pe(h?_*o/d:_&&o?d/_*o:0)},Ir=function(e,t,i,n){var o;return Mu||Ou(),t in vr&&t!=="transform"&&(t=vr[t],~t.indexOf(",")&&(t=t.split(",")[0])),Nr[t]&&t!=="transform"?(o=Eo(e,n),o=t!=="transformOrigin"?o[t]:o.svg?o.origin:Qs(Xt(e,Ot))+" "+o.zOrigin+"px"):(o=e.style[t],(!o||o==="auto"||n||~(o+"").indexOf("calc("))&&(o=Zs[t]&&Zs[t](e,t,i)||Xt(e,t)||pu(e,t)||(t==="opacity"?1:0))),i&&!~(o+"").trim().indexOf(" ")?fi(e,t,o,i)+i:o},ov=function(e,t,i,n){if(!i||i==="none"){var o=Cn(t,e,1),s=o&&Xt(e,o,1);s&&s!==i?(t=o,i=s):t==="borderColor"&&(i=Xt(e,"borderTopColor"))}var a=new mt(this._pt,e.style,t,0,1,xu),l=0,u=0,c,d,h,f,_,p,g,m,v,w,x,b;if(a.b=i,a.e=n,i+="",n+="",n.substring(0,6)==="var(--"&&(n=Xt(e,n.substring(4,n.indexOf(")")))),n==="auto"&&(p=e.style[t],e.style[t]=n,n=Xt(e,t)||n,p?e.style[t]=p:Xi(e,t)),c=[i,n],gu(c),i=c[0],n=c[1],h=i.match(Fi)||[],b=n.match(Fi)||[],b.length){for(;d=Fi.exec(n);)g=d[0],v=n.substring(l,d.index),_?_=(_+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(_=1),g!==(p=h[u++]||"")&&(f=parseFloat(p)||0,x=p.substr((f+"").length),g.charAt(1)==="="&&(g=Wi(f,g)+x),m=parseFloat(g),w=g.substr((m+"").length),l=Fi.lastIndex-w.length,w||(w=w||Ct.units[t]||x,l===n.length&&(n+=w,a.e+=w)),x!==w&&(f=fi(e,t,p,w)||0),a._pt={_next:a._pt,p:v||u===1?v:",",s:f,c:m-f,m:_&&_<4||t==="zIndex"?Math.round:0});a.c=l<n.length?n.substring(l,n.length):""}else a.r=t==="display"&&n==="none"?lh:ah;return uu.test(n)&&(a.e=0),this._pt=a,a},nh={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},sv=function(e){var t=e.split(" "),i=t[0],n=t[1]||"50%";return(i==="top"||i==="bottom"||n==="left"||n==="right")&&(e=i,i=n,n=e),t[0]=nh[i]||i,t[1]=nh[n]||n,t.join(" ")},av=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var i=t.t,n=i.style,o=t.u,s=i._gsap,a,l,u;if(o==="all"||o===!0)n.cssText="",l=1;else for(o=o.split(","),u=o.length;--u>-1;)a=o[u],Nr[a]&&(l=1,a=a==="transformOrigin"?Ot:Ee),Xi(i,a);l&&(Xi(i,Ee),s&&(s.svg&&i.removeAttribute("transform"),n.scale=n.rotate=n.translate="none",Eo(i,1),s.uncache=1,uh(n)))}},Zs={clearProps:function(e,t,i,n,o){if(o.data!=="isFromStart"){var s=e._pt=new mt(e._pt,t,i,0,0,av);return s.u=n,s.pr=-10,s.tween=o,e._props.push(i),1}}},So=[1,0,0,1,0,0],ph={},_h=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},oh=function(e){var t=Xt(e,Ee);return _h(t)?So:t.substr(7).match(lu).map(Pe)},Ru=function(e,t){var i=e._gsap||si(e),n=e.style,o=oh(e),s,a,l,u;return i.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,o=[l.a,l.b,l.c,l.d,l.e,l.f],o.join(",")==="1,0,0,1,0,0"?So:o):(o===So&&!e.offsetParent&&e!==Tn&&!i.svg&&(l=n.display,n.display="block",s=e.parentNode,(!s||!e.offsetParent&&!e.getBoundingClientRect().width)&&(u=1,a=e.nextElementSibling,Tn.appendChild(e)),o=oh(e),l?n.display=l:Xi(e,"display"),u&&(a?s.insertBefore(e,a):s?s.appendChild(e):Tn.removeChild(e))),t&&o.length>6?[o[0],o[1],o[4],o[5],o[12],o[13]]:o)},ku=function(e,t,i,n,o,s){var a=e._gsap,l=o||Ru(e,!0),u=a.xOrigin||0,c=a.yOrigin||0,d=a.xOffset||0,h=a.yOffset||0,f=l[0],_=l[1],p=l[2],g=l[3],m=l[4],v=l[5],w=t.split(" "),x=parseFloat(w[0])||0,b=parseFloat(w[1])||0,E,S,T,C;i?l!==So&&(S=f*g-_*p)&&(T=x*(g/S)+b*(-p/S)+(p*v-g*m)/S,C=x*(-_/S)+b*(f/S)-(f*v-_*m)/S,x=T,b=C):(E=dh(e),x=E.x+(~w[0].indexOf("%")?x/100*E.width:x),b=E.y+(~(w[1]||w[0]).indexOf("%")?b/100*E.height:b)),n||n!==!1&&a.smooth?(m=x-u,v=b-c,a.xOffset=d+(m*f+v*p)-m,a.yOffset=h+(m*_+v*g)-v):a.xOffset=a.yOffset=0,a.xOrigin=x,a.yOrigin=b,a.smooth=!!n,a.origin=t,a.originIsAbsolute=!!i,e.style[Ot]="0px 0px",s&&(ci(s,a,"xOrigin",u,x),ci(s,a,"yOrigin",c,b),ci(s,a,"xOffset",d,a.xOffset),ci(s,a,"yOffset",h,a.yOffset)),e.setAttribute("data-svg-origin",x+" "+b)},Eo=function(e,t){var i=e._gsap||new mu(e);if("x"in i&&!t&&!i.uncache)return i;var n=e.style,o=i.scaleX<0,s="px",a="deg",l=getComputedStyle(e),u=Xt(e,Ot)||"0",c,d,h,f,_,p,g,m,v,w,x,b,E,S,T,C,O,M,A,P,N,D,H,V,F,R,y,L,Y,K,j,fe;return c=d=h=p=g=m=v=w=x=0,f=_=1,i.svg=!!(e.getCTM&&hh(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(n[Ee]=(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[Ee]!=="none"?l[Ee]:"")),n.scale=n.rotate=n.translate="none"),S=Ru(e,i.svg),i.svg&&(i.uncache?(F=e.getBBox(),u=i.xOrigin-F.x+"px "+(i.yOrigin-F.y)+"px",V=""):V=!t&&e.getAttribute("data-svg-origin"),ku(e,V||u,!!V||i.originIsAbsolute,i.smooth!==!1,S)),b=i.xOrigin||0,E=i.yOrigin||0,S!==So&&(M=S[0],A=S[1],P=S[2],N=S[3],c=D=S[4],d=H=S[5],S.length===6?(f=Math.sqrt(M*M+A*A),_=Math.sqrt(N*N+P*P),p=M||A?En(A,M)*qi:0,v=P||N?En(P,N)*qi+p:0,v&&(_*=Math.abs(Math.cos(v*An))),i.svg&&(c-=b-(b*M+E*P),d-=E-(b*A+E*N))):(fe=S[6],K=S[7],y=S[8],L=S[9],Y=S[10],j=S[11],c=S[12],d=S[13],h=S[14],T=En(fe,Y),g=T*qi,T&&(C=Math.cos(-T),O=Math.sin(-T),V=D*C+y*O,F=H*C+L*O,R=fe*C+Y*O,y=D*-O+y*C,L=H*-O+L*C,Y=fe*-O+Y*C,j=K*-O+j*C,D=V,H=F,fe=R),T=En(-P,Y),m=T*qi,T&&(C=Math.cos(-T),O=Math.sin(-T),V=M*C-y*O,F=A*C-L*O,R=P*C-Y*O,j=N*O+j*C,M=V,A=F,P=R),T=En(A,M),p=T*qi,T&&(C=Math.cos(T),O=Math.sin(T),V=M*C+A*O,F=D*C+H*O,A=A*C-M*O,H=H*C-D*O,M=V,D=F),g&&Math.abs(g)+Math.abs(p)>359.9&&(g=p=0,m=180-m),f=Pe(Math.sqrt(M*M+A*A+P*P)),_=Pe(Math.sqrt(H*H+fe*fe)),T=En(D,H),v=Math.abs(T)>2e-4?T*qi:0,x=j?1/(j<0?-j:j):0),i.svg&&(V=e.getAttribute("transform"),i.forceCSS=e.setAttribute("transform","")||!_h(Xt(e,Ee)),V&&e.setAttribute("transform",V))),Math.abs(v)>90&&Math.abs(v)<270&&(o?(f*=-1,v+=p<=0?180:-180,p+=p<=0?180:-180):(_*=-1,v+=v<=0?180:-180)),t=t||i.uncache,i.x=c-((i.xPercent=c&&(!t&&i.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-c)?-50:0)))?e.offsetWidth*i.xPercent/100:0)+s,i.y=d-((i.yPercent=d&&(!t&&i.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-d)?-50:0)))?e.offsetHeight*i.yPercent/100:0)+s,i.z=h+s,i.scaleX=Pe(f),i.scaleY=Pe(_),i.rotation=Pe(p)+a,i.rotationX=Pe(g)+a,i.rotationY=Pe(m)+a,i.skewX=v+a,i.skewY=w+a,i.transformPerspective=x+s,(i.zOrigin=parseFloat(u.split(" ")[2])||!t&&i.zOrigin||0)&&(n[Ot]=Qs(u)),i.xOffset=i.yOffset=0,i.force3D=Ct.force3D,i.renderTransform=i.svg?uv:fh?gh:lv,i.uncache=0,i},Qs=function(e){return(e=e.split(" "))[0]+" "+e[1]},Tu=function(e,t,i){var n=it(t);return Pe(parseFloat(t)+parseFloat(fi(e,"x",i+"px",n)))+n},lv=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,gh(e,t)},Hi="0deg",xo="0px",Bi=") ",gh=function(e,t){var i=t||this,n=i.xPercent,o=i.yPercent,s=i.x,a=i.y,l=i.z,u=i.rotation,c=i.rotationY,d=i.rotationX,h=i.skewX,f=i.skewY,_=i.scaleX,p=i.scaleY,g=i.transformPerspective,m=i.force3D,v=i.target,w=i.zOrigin,x="",b=m==="auto"&&e&&e!==1||m===!0;if(w&&(d!==Hi||c!==Hi)){var E=parseFloat(c)*An,S=Math.sin(E),T=Math.cos(E),C;E=parseFloat(d)*An,C=Math.cos(E),s=Tu(v,s,S*C*-w),a=Tu(v,a,-Math.sin(E)*-w),l=Tu(v,l,T*C*-w+w)}g!==xo&&(x+="perspective("+g+Bi),(n||o)&&(x+="translate("+n+"%, "+o+"%) "),(b||s!==xo||a!==xo||l!==xo)&&(x+=l!==xo||b?"translate3d("+s+", "+a+", "+l+") ":"translate("+s+", "+a+Bi),u!==Hi&&(x+="rotate("+u+Bi),c!==Hi&&(x+="rotateY("+c+Bi),d!==Hi&&(x+="rotateX("+d+Bi),(h!==Hi||f!==Hi)&&(x+="skew("+h+", "+f+Bi),(_!==1||p!==1)&&(x+="scale("+_+", "+p+Bi),v.style[Ee]=x||"translate(0, 0)"},uv=function(e,t){var i=t||this,n=i.xPercent,o=i.yPercent,s=i.x,a=i.y,l=i.rotation,u=i.skewX,c=i.skewY,d=i.scaleX,h=i.scaleY,f=i.target,_=i.xOrigin,p=i.yOrigin,g=i.xOffset,m=i.yOffset,v=i.forceCSS,w=parseFloat(s),x=parseFloat(a),b,E,S,T,C;l=parseFloat(l),u=parseFloat(u),c=parseFloat(c),c&&(c=parseFloat(c),u+=c,l+=c),l||u?(l*=An,u*=An,b=Math.cos(l)*d,E=Math.sin(l)*d,S=Math.sin(l-u)*-h,T=Math.cos(l-u)*h,u&&(c*=An,C=Math.tan(u-c),C=Math.sqrt(1+C*C),S*=C,T*=C,c&&(C=Math.tan(c),C=Math.sqrt(1+C*C),b*=C,E*=C)),b=Pe(b),E=Pe(E),S=Pe(S),T=Pe(T)):(b=d,T=h,E=S=0),(w&&!~(s+"").indexOf("px")||x&&!~(a+"").indexOf("px"))&&(w=fi(f,"x",s,"px"),x=fi(f,"y",a,"px")),(_||p||g||m)&&(w=Pe(w+_-(_*b+p*S)+g),x=Pe(x+p-(_*E+p*T)+m)),(n||o)&&(C=f.getBBox(),w=Pe(w+n/100*C.width),x=Pe(x+o/100*C.height)),C="matrix("+b+","+E+","+S+","+T+","+w+","+x+")",f.setAttribute("transform",C),v&&(f.style[Ee]=C)},cv=function(e,t,i,n,o){var s=360,a=Ye(o),l=parseFloat(o)*(a&&~o.indexOf("rad")?qi:1),u=l-n,c=n+u+"deg",d,h;return a&&(d=o.split("_")[1],d==="short"&&(u%=s,u!==u%(s/2)&&(u+=u<0?s:-s)),d==="cw"&&u<0?u=(u+s*Jd)%s-~~(u/s)*s:d==="ccw"&&u>0&&(u=(u-s*Jd)%s-~~(u/s)*s)),e._pt=h=new mt(e._pt,t,i,n,u,G0),h.e=c,h.u="deg",e._props.push(i),h},sh=function(e,t){for(var i in t)e[i]=t[i];return e},fv=function(e,t,i){var n=sh({},i._gsap),o="perspective,force3D,transformOrigin,svgOrigin",s=i.style,a,l,u,c,d,h,f,_;n.svg?(u=i.getAttribute("transform"),i.setAttribute("transform",""),s[Ee]=t,a=Eo(i,1),Xi(i,Ee),i.setAttribute("transform",u)):(u=getComputedStyle(i)[Ee],s[Ee]=t,a=Eo(i,1),s[Ee]=u);for(l in Nr)u=n[l],c=a[l],u!==c&&o.indexOf(l)<0&&(f=it(u),_=it(c),d=f!==_?fi(i,l,u,_):parseFloat(u),h=parseFloat(c),e._pt=new mt(e._pt,a,l,d,h-d,Au),e._pt.u=_||0,e._props.push(l));sh(a,n)};gt("padding,margin,Width,Radius",function(r,e){var t="Top",i="Right",n="Bottom",o="Left",s=(e<3?[t,i,n,o]:[t+o,t+i,n+i,n+o]).map(function(a){return e<2?r+a:"border"+a+r});Zs[e>1?"border"+r:r]=function(a,l,u,c,d){var h,f;if(arguments.length<4)return h=s.map(function(_){return Ir(a,_,u)}),f=h.join(" "),f.split(h[0]).length===5?h[0]:f;h=(c+"").split(" "),f={},s.forEach(function(_,p){return f[_]=h[p]=h[p]||h[(p-1)/2|0]}),a.init(l,f,d)}});var Du={name:"css",register:Ou,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,i,n,o){var s=this._props,a=e.style,l=i.vars.startAt,u,c,d,h,f,_,p,g,m,v,w,x,b,E,S,T;Mu||Ou(),this.styles=this.styles||ch(e),T=this.styles.props,this.tween=i;for(p in t)if(p!=="autoRound"&&(c=t[p],!(Et[p]&&yu(p,t,i,n,e,o)))){if(f=typeof c,_=Zs[p],f==="function"&&(c=c.call(i,n,e,o),f=typeof c),f==="string"&&~c.indexOf("random(")&&(c=Sn(c)),_)_(this,e,p,c,i)&&(S=1);else if(p.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(p)+"").trim(),c+="",Rr.lastIndex=0,Rr.test(u)||(g=it(u),m=it(c)),m?g!==m&&(u=fi(e,p,u,m)+m):g&&(c+=g),this.add(a,"setProperty",u,c,n,o,0,0,p),s.push(p),T.push(p,0,a[p]);else if(f!=="undefined"){if(l&&p in l?(u=typeof l[p]=="function"?l[p].call(i,n,e,o):l[p],Ye(u)&&~u.indexOf("random(")&&(u=Sn(u)),it(u+"")||u==="auto"||(u+=Ct.units[p]||it(Ir(e,p))||""),(u+"").charAt(1)==="="&&(u=Ir(e,p))):u=Ir(e,p),h=parseFloat(u),v=f==="string"&&c.charAt(1)==="="&&c.substr(0,2),v&&(c=c.substr(2)),d=parseFloat(c),p in vr&&(p==="autoAlpha"&&(h===1&&Ir(e,"visibility")==="hidden"&&d&&(h=0),T.push("visibility",0,a.visibility),ci(this,a,"visibility",h?"inherit":"hidden",d?"inherit":"hidden",!d)),p!=="scale"&&p!=="transform"&&(p=vr[p],~p.indexOf(",")&&(p=p.split(",")[0]))),w=p in Nr,w){if(this.styles.save(p),f==="string"&&c.substring(0,6)==="var(--"&&(c=Xt(e,c.substring(4,c.indexOf(")"))),d=parseFloat(c)),x||(b=e._gsap,b.renderTransform&&!t.parseTransform||Eo(e,t.parseTransform),E=t.smoothOrigin!==!1&&b.smooth,x=this._pt=new mt(this._pt,a,Ee,0,1,b.renderTransform,b,0,-1),x.dep=1),p==="scale")this._pt=new mt(this._pt,b,"scaleY",b.scaleY,(v?Wi(b.scaleY,v+d):d)-b.scaleY||0,Au),this._pt.u=0,s.push("scaleY",p),p+="X";else if(p==="transformOrigin"){T.push(Ot,0,a[Ot]),c=sv(c),b.svg?ku(e,c,0,E,0,this):(m=parseFloat(c.split(" ")[2])||0,m!==b.zOrigin&&ci(this,b,"zOrigin",b.zOrigin,m),ci(this,a,p,Qs(u),Qs(c)));continue}else if(p==="svgOrigin"){ku(e,c,1,E,0,this);continue}else if(p in ph){cv(this,b,p,h,v?Wi(h,v+c):c);continue}else if(p==="smoothOrigin"){ci(this,b,"smooth",b.smooth,c);continue}else if(p==="force3D"){b[p]=c;continue}else if(p==="transform"){fv(this,c,e);continue}}else p in a||(p=Cn(p)||p);if(w||(d||d===0)&&(h||h===0)&&!U0.test(c)&&p in a)g=(u+"").substr((h+"").length),d||(d=0),m=it(c)||(p in Ct.units?Ct.units[p]:g),g!==m&&(h=fi(e,p,u,m)),this._pt=new mt(this._pt,w?b:a,p,h,(v?Wi(h,v+d):d)-h,!w&&(m==="px"||p==="zIndex")&&t.autoRound!==!1?j0:Au),this._pt.u=m||0,g!==m&&m!=="%"&&(this._pt.b=u,this._pt.r=$0);else if(p in a)ov.call(this,e,p,u,v?v+c:c);else if(p in e)this.add(e,p,u||e[p],v?v+c:c,n,o);else if(p!=="parseTransform"){Us(p,c);continue}w||(p in a?T.push(p,0,a[p]):typeof e[p]=="function"?T.push(p,2,e[p]()):T.push(p,1,u||e[p])),s.push(p)}}S&&Eu(this)},render:function(e,t){if(t.tween._time||!Pu())for(var i=t._pt;i;)i.r(e,i.d),i=i._next;else t.styles.revert()},get:Ir,aliases:vr,getSetter:function(e,t,i){var n=vr[t];return n&&n.indexOf(",")<0&&(t=n),t in Nr&&t!==Ot&&(e._gsap.x||Ir(e,"x"))?i&&Qd===i?t==="scale"?J0:Q0:(Qd=i||{})&&(t==="scale"?ev:tv):e.style&&!Xs(e.style[t])?K0:~t.indexOf("-")?Z0:Ks(e,t)},core:{_removeProperty:Xi,_getMatrix:Ru}};ut.utils.checkPrefix=Cn;ut.core.getStyleSaver=ch;(function(r,e,t,i){var n=gt(r+","+e+","+t,function(o){Nr[o]=1});gt(e,function(o){Ct.units[o]="deg",ph[o]=1}),vr[n[13]]=r+","+e,gt(i,function(o){var s=o.split(":");vr[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");gt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(r){Ct.units[r]="px"});ut.registerPlugin(Du);var I=ut.registerPlugin(Du)||ut,H1=I.core.Tween;function mh(r,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,i.key,i)}}function dv(r,e,t){return e&&mh(r.prototype,e),t&&mh(r,t),r}var nt,ta,hv,zt,di,hi,kn,yh,Ui,Ao,wh,zr,sr,bh,xh=function(){return nt||typeof window<"u"&&(nt=window.gsap)&&nt.registerPlugin&&nt},Sh=1,On=[],ie=[],ar=[],Co=Date.now,Iu=function(e,t){return t},pv=function(){var e=Ao.core,t=e.bridge||{},i=e._scrollers,n=e._proxies;i.push.apply(i,ie),n.push.apply(n,ar),ie=i,ar=n,Iu=function(s,a){return t[s](a)}},Wr=function(e,t){return~ar.indexOf(e)&&ar[ar.indexOf(e)+1][t]},Oo=function(e){return!!~wh.indexOf(e)},yt=function(e,t,i,n,o){return e.addEventListener(t,i,{passive:n!==!1,capture:!!o})},vt=function(e,t,i,n){return e.removeEventListener(t,i,!!n)},Js="scrollLeft",ea="scrollTop",Nu=function(){return zr&&zr.isPressed||ie.cache++},ra=function(e,t){var i=function n(o){if(o||o===0){Sh&&(zt.history.scrollRestoration="manual");var s=zr&&zr.isPressed;o=n.v=Math.round(o)||(zr&&zr.iOS?1:0),e(o),n.cacheID=ie.cache,s&&Iu("ss",o)}else(t||ie.cache!==n.cacheID||Iu("ref"))&&(n.cacheID=ie.cache,n.v=e());return n.v+n.offset};return i.offset=0,e&&i},ct={s:Js,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:ra(function(r){return arguments.length?zt.scrollTo(r,We.sc()):zt.pageXOffset||di[Js]||hi[Js]||kn[Js]||0})},We={s:ea,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:ct,sc:ra(function(r){return arguments.length?zt.scrollTo(ct.sc(),r):zt.pageYOffset||di[ea]||hi[ea]||kn[ea]||0})},wt=function(e,t){return(t&&t._ctx&&t._ctx.selector||nt.utils.toArray)(e)[0]||(typeof e=="string"&&nt.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},_v=function(e,t){for(var i=t.length;i--;)if(t[i]===e||t[i].contains(e))return!0;return!1},Fr=function(e,t){var i=t.s,n=t.sc;Oo(e)&&(e=di.scrollingElement||hi);var o=ie.indexOf(e),s=n===We.sc?1:2;!~o&&(o=ie.push(e)-1),ie[o+s]||yt(e,"scroll",Nu);var a=ie[o+s],l=a||(ie[o+s]=ra(Wr(e,i),!0)||(Oo(e)?n:ra(function(u){return arguments.length?e[i]=u:e[i]})));return l.target=e,a||(l.smooth=nt.getProperty(e,"scrollBehavior")==="smooth"),l},ia=function(e,t,i){var n=e,o=e,s=Co(),a=s,l=t||50,u=Math.max(500,l*3),c=function(_,p){var g=Co();p||g-s>l?(o=n,n=_,a=s,s=g):i?n+=_:n=o+(_-o)/(g-a)*(s-a)},d=function(){o=n=i?0:n,a=s=0},h=function(_){var p=a,g=o,m=Co();return(_||_===0)&&_!==n&&c(_),s===a||m-a>u?0:(n+(i?g:-g))/((i?m:s)-p)*1e3};return{update:c,reset:d,getVelocity:h}},To=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},vh=function(e){var t=Math.max.apply(Math,e),i=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(i)?t:i},Eh=function(){Ao=nt.core.globals().ScrollTrigger,Ao&&Ao.core&&pv()},Th=function(e){return nt=e||xh(),!ta&&nt&&typeof document<"u"&&document.body&&(zt=window,di=document,hi=di.documentElement,kn=di.body,wh=[zt,di,hi,kn],hv=nt.utils.clamp,bh=nt.core.context||function(){},Ui="onpointerenter"in kn?"pointer":"mouse",yh=Le.isTouch=zt.matchMedia&&zt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in zt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,sr=Le.eventTypes=("ontouchstart"in hi?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in hi?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return Sh=0},500),Eh(),ta=1),ta};ct.op=We;ie.cache=0;var Le=function(){function r(t){this.init(t)}var e=r.prototype;return e.init=function(i){ta||Th(nt)||console.warn("Please gsap.registerPlugin(Observer)"),Ao||Eh();var n=i.tolerance,o=i.dragMinimum,s=i.type,a=i.target,l=i.lineHeight,u=i.debounce,c=i.preventDefault,d=i.onStop,h=i.onStopDelay,f=i.ignore,_=i.wheelSpeed,p=i.event,g=i.onDragStart,m=i.onDragEnd,v=i.onDrag,w=i.onPress,x=i.onRelease,b=i.onRight,E=i.onLeft,S=i.onUp,T=i.onDown,C=i.onChangeX,O=i.onChangeY,M=i.onChange,A=i.onToggleX,P=i.onToggleY,N=i.onHover,D=i.onHoverEnd,H=i.onMove,V=i.ignoreCheck,F=i.isNormalizer,R=i.onGestureStart,y=i.onGestureEnd,L=i.onWheel,Y=i.onEnable,K=i.onDisable,j=i.onClick,fe=i.scrollSpeed,W=i.capture,G=i.allowClicks,ce=i.lockAxis,re=i.onLockAxis;this.target=a=wt(a)||hi,this.vars=i,f&&(f=nt.utils.toArray(f)),n=n||1e-9,o=o||0,_=_||1,fe=fe||1,s=s||"wheel,touch,pointer",u=u!==!1,l||(l=parseFloat(zt.getComputedStyle(kn).lineHeight)||22);var oe,Ze,Qe,z,Z,Ce,He,k=this,Lt=0,Tr=0,jr=i.passive||!c&&i.passive!==!1,Oe=Fr(a,ct),Ar=Fr(a,We),Kr=Oe(),Ei=Ar(),Ge=~s.indexOf("touch")&&!~s.indexOf("pointer")&&sr[0]==="pointerdown",Zr=Oo(a),Re=a.ownerDocument||di,Jt=[0,0,0],Ht=[0,0,0],Cr=0,Kn=function(){return Cr=Co()},Ne=function($,de){return(k.event=$)&&f&&_v($.target,f)||de&&Ge&&$.pointerType!=="touch"||V&&V($,de)},hs=function(){k._vx.reset(),k._vy.reset(),Ze.pause(),d&&d(k)},Or=function(){var $=k.deltaX=vh(Jt),de=k.deltaY=vh(Ht),B=Math.abs($)>=n,Q=Math.abs(de)>=n;M&&(B||Q)&&M(k,$,de,Jt,Ht),B&&(b&&k.deltaX>0&&b(k),E&&k.deltaX<0&&E(k),C&&C(k),A&&k.deltaX<0!=Lt<0&&A(k),Lt=k.deltaX,Jt[0]=Jt[1]=Jt[2]=0),Q&&(T&&k.deltaY>0&&T(k),S&&k.deltaY<0&&S(k),O&&O(k),P&&k.deltaY<0!=Tr<0&&P(k),Tr=k.deltaY,Ht[0]=Ht[1]=Ht[2]=0),(z||Qe)&&(H&&H(k),Qe&&(g&&Qe===1&&g(k),v&&v(k),Qe=0),z=!1),Ce&&!(Ce=!1)&&re&&re(k),Z&&(L(k),Z=!1),oe=0},un=function($,de,B){Jt[B]+=$,Ht[B]+=de,k._vx.update($),k._vy.update(de),u?oe||(oe=requestAnimationFrame(Or)):Or()},cn=function($,de){ce&&!He&&(k.axis=He=Math.abs($)>Math.abs(de)?"x":"y",Ce=!0),He!=="y"&&(Jt[2]+=$,k._vx.update($,!0)),He!=="x"&&(Ht[2]+=de,k._vy.update(de,!0)),u?oe||(oe=requestAnimationFrame(Or)):Or()},Qr=function($){if(!Ne($,1)){$=To($,c);var de=$.clientX,B=$.clientY,Q=de-k.x,U=B-k.y,J=k.isDragging;k.x=de,k.y=B,(J||(Q||U)&&(Math.abs(k.startX-de)>=o||Math.abs(k.startY-B)>=o))&&(Qe=J?2:1,J||(k.isDragging=!0),cn(Q,U))}},Ti=k.onPress=function(ee){Ne(ee,1)||ee&&ee.button||(k.axis=He=null,Ze.pause(),k.isPressed=!0,ee=To(ee),Lt=Tr=0,k.startX=k.x=ee.clientX,k.startY=k.y=ee.clientY,k._vx.reset(),k._vy.reset(),yt(F?a:Re,sr[1],Qr,jr,!0),k.deltaX=k.deltaY=0,w&&w(k))},ae=k.onRelease=function(ee){if(!Ne(ee,1)){vt(F?a:Re,sr[1],Qr,!0);var $=!isNaN(k.y-k.startY),de=k.isDragging,B=de&&(Math.abs(k.x-k.startX)>3||Math.abs(k.y-k.startY)>3),Q=To(ee);!B&&$&&(k._vx.reset(),k._vy.reset(),c&&G&&nt.delayedCall(.08,function(){if(Co()-Cr>300&&!ee.defaultPrevented){if(ee.target.click)ee.target.click();else if(Re.createEvent){var U=Re.createEvent("MouseEvents");U.initMouseEvent("click",!0,!0,zt,1,Q.screenX,Q.screenY,Q.clientX,Q.clientY,!1,!1,!1,!1,0,null),ee.target.dispatchEvent(U)}}})),k.isDragging=k.isGesturing=k.isPressed=!1,d&&de&&!F&&Ze.restart(!0),Qe&&Or(),m&&de&&m(k),x&&x(k,B)}},Ai=function($){return $.touches&&$.touches.length>1&&(k.isGesturing=!0)&&R($,k.isDragging)},er=function(){return(k.isGesturing=!1)||y(k)},tr=function($){if(!Ne($)){var de=Oe(),B=Ar();un((de-Kr)*fe,(B-Ei)*fe,1),Kr=de,Ei=B,d&&Ze.restart(!0)}},rr=function($){if(!Ne($)){$=To($,c),L&&(Z=!0);var de=($.deltaMode===1?l:$.deltaMode===2?zt.innerHeight:1)*_;un($.deltaX*de,$.deltaY*de,0),d&&!F&&Ze.restart(!0)}},Ci=function($){if(!Ne($)){var de=$.clientX,B=$.clientY,Q=de-k.x,U=B-k.y;k.x=de,k.y=B,z=!0,d&&Ze.restart(!0),(Q||U)&&cn(Q,U)}},fn=function($){k.event=$,N(k)},kr=function($){k.event=$,D(k)},Zn=function($){return Ne($)||To($,c)&&j(k)};Ze=k._dc=nt.delayedCall(h||.25,hs).pause(),k.deltaX=k.deltaY=0,k._vx=ia(0,50,!0),k._vy=ia(0,50,!0),k.scrollX=Oe,k.scrollY=Ar,k.isDragging=k.isGesturing=k.isPressed=!1,bh(this),k.enable=function(ee){return k.isEnabled||(yt(Zr?Re:a,"scroll",Nu),s.indexOf("scroll")>=0&&yt(Zr?Re:a,"scroll",tr,jr,W),s.indexOf("wheel")>=0&&yt(a,"wheel",rr,jr,W),(s.indexOf("touch")>=0&&yh||s.indexOf("pointer")>=0)&&(yt(a,sr[0],Ti,jr,W),yt(Re,sr[2],ae),yt(Re,sr[3],ae),G&&yt(a,"click",Kn,!0,!0),j&&yt(a,"click",Zn),R&&yt(Re,"gesturestart",Ai),y&&yt(Re,"gestureend",er),N&&yt(a,Ui+"enter",fn),D&&yt(a,Ui+"leave",kr),H&&yt(a,Ui+"move",Ci)),k.isEnabled=!0,k.isDragging=k.isGesturing=k.isPressed=z=Qe=!1,k._vx.reset(),k._vy.reset(),Kr=Oe(),Ei=Ar(),ee&&ee.type&&Ti(ee),Y&&Y(k)),k},k.disable=function(){k.isEnabled&&(On.filter(function(ee){return ee!==k&&Oo(ee.target)}).length||vt(Zr?Re:a,"scroll",Nu),k.isPressed&&(k._vx.reset(),k._vy.reset(),vt(F?a:Re,sr[1],Qr,!0)),vt(Zr?Re:a,"scroll",tr,W),vt(a,"wheel",rr,W),vt(a,sr[0],Ti,W),vt(Re,sr[2],ae),vt(Re,sr[3],ae),vt(a,"click",Kn,!0),vt(a,"click",Zn),vt(Re,"gesturestart",Ai),vt(Re,"gestureend",er),vt(a,Ui+"enter",fn),vt(a,Ui+"leave",kr),vt(a,Ui+"move",Ci),k.isEnabled=k.isPressed=k.isDragging=!1,K&&K(k))},k.kill=k.revert=function(){k.disable();var ee=On.indexOf(k);ee>=0&&On.splice(ee,1),zr===k&&(zr=0)},On.push(k),F&&Oo(a)&&(zr=k),k.enable(p)},dv(r,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),r}();Le.version="3.13.0";Le.create=function(r){return new Le(r)};Le.register=Th;Le.getAll=function(){return On.slice()};Le.getById=function(r){return On.filter(function(e){return e.vars.id===r})[0]};xh()&&nt.registerPlugin(Le);var q,Ln,se,me,Vt,he,Zu,ya,Ho,Io,Mo,na,ft,Sa,Yu,xt,Ah,Ch,Rn,qh,zu,Yh,bt,Xu,Xh,Uh,pi,Uu,Qu,Dn,Ju,wa,Gu,Fu,oa=1,dt=Date.now,Wu=dt(),$t=0,Po=0,Oh=function(e,t,i){var n=Wt(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return i["_"+t+"Clamp"]=n,n?e.substr(6,e.length-7):e},kh=function(e,t){return t&&(!Wt(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},gv=function r(){return Po&&requestAnimationFrame(r)},Mh=function(){return Sa=1},Ph=function(){return Sa=0},yr=function(e){return e},Lo=function(e){return Math.round(e*1e5)/1e5||0},Gh=function(){return typeof window<"u"},$h=function(){return q||Gh()&&(q=window.gsap)&&q.registerPlugin&&q},Qi=function(e){return!!~Zu.indexOf(e)},jh=function(e){return(e==="Height"?Ju:se["inner"+e])||Vt["client"+e]||he["client"+e]},Kh=function(e){return Wr(e,"getBoundingClientRect")||(Qi(e)?function(){return va.width=se.innerWidth,va.height=Ju,va}:function(){return Vr(e)})},mv=function(e,t,i){var n=i.d,o=i.d2,s=i.a;return(s=Wr(e,"getBoundingClientRect"))?function(){return s()[n]}:function(){return(t?jh(o):e["client"+o])||0}},vv=function(e,t){return!t||~ar.indexOf(e)?Kh(e):function(){return va}},wr=function(e,t){var i=t.s,n=t.d2,o=t.d,s=t.a;return Math.max(0,(i="scroll"+n)&&(s=Wr(e,i))?s()-Kh(e)()[o]:Qi(e)?(Vt[i]||he[i])-jh(n):e[i]-e["offset"+n])},sa=function(e,t){for(var i=0;i<Rn.length;i+=3)(!t||~t.indexOf(Rn[i+1]))&&e(Rn[i],Rn[i+1],Rn[i+2])},Wt=function(e){return typeof e=="string"},ht=function(e){return typeof e=="function"},Ro=function(e){return typeof e=="number"},Gi=function(e){return typeof e=="object"},ko=function(e,t,i){return e&&e.progress(t?0:1)&&i&&e.pause()},Vu=function(e,t){if(e.enabled){var i=e._ctx?e._ctx.add(function(){return t(e)}):t(e);i&&i.totalTime&&(e.callbackAnimation=i)}},Mn=Math.abs,Zh="left",Qh="top",ec="right",tc="bottom",ji="width",Ki="height",No="Right",zo="Left",Fo="Top",Wo="Bottom",Ve="padding",Ut="margin",Nn="Width",rc="Height",Xe="px",Gt=function(e){return se.getComputedStyle(e)},yv=function(e){var t=Gt(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative"},Lh=function(e,t){for(var i in t)i in e||(e[i]=t[i]);return e},Vr=function(e,t){var i=t&&Gt(e)[Yu]!=="matrix(1, 0, 0, 1, 0, 0)"&&q.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 i&&i.progress(0).kill(),n},ba=function(e,t){var i=t.d2;return e["offset"+i]||e["client"+i]||0},Jh=function(e){var t=[],i=e.labels,n=e.duration(),o;for(o in i)t.push(i[o]/n);return t},wv=function(e){return function(t){return q.utils.snap(Jh(e),t)}},ic=function(e){var t=q.utils.snap(e),i=Array.isArray(e)&&e.slice(0).sort(function(n,o){return n-o});return i?function(n,o,s){s===void 0&&(s=.001);var a;if(!o)return t(n);if(o>0){for(n-=s,a=0;a<i.length;a++)if(i[a]>=n)return i[a];return i[a-1]}else for(a=i.length,n+=s;a--;)if(i[a]<=n)return i[a];return i[0]}:function(n,o,s){s===void 0&&(s=.001);var a=t(n);return!o||Math.abs(a-n)<s||a-n<0==o<0?a:t(o<0?n-e:n+e)}},bv=function(e){return function(t,i){return ic(Jh(e))(t,i.direction)}},aa=function(e,t,i,n){return i.split(",").forEach(function(o){return e(t,o,n)})},Ke=function(e,t,i,n,o){return e.addEventListener(t,i,{passive:!n,capture:!!o})},je=function(e,t,i,n){return e.removeEventListener(t,i,!!n)},la=function(e,t,i){i=i&&i.wheelHandler,i&&(e(t,"wheel",i),e(t,"touchmove",i))},Rh={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},ua={toggleActions:"play",anticipatePin:0},xa={top:0,left:0,center:.5,bottom:1,right:1},pa=function(e,t){if(Wt(e)){var i=e.indexOf("="),n=~i?+(e.charAt(i-1)+1)*parseFloat(e.substr(i+1)):0;~i&&(e.indexOf("%")>i&&(n*=t/100),e=e.substr(0,i-1)),e=n+(e in xa?xa[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},ca=function(e,t,i,n,o,s,a,l){var u=o.startColor,c=o.endColor,d=o.fontSize,h=o.indent,f=o.fontWeight,_=me.createElement("div"),p=Qi(i)||Wr(i,"pinType")==="fixed",g=e.indexOf("scroller")!==-1,m=p?he:i,v=e.indexOf("start")!==-1,w=v?u:c,x="border-color:"+w+";font-size:"+d+";color:"+w+";font-weight:"+f+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return x+="position:"+((g||l)&&p?"fixed;":"absolute;"),(g||l||!p)&&(x+=(n===We?ec:tc)+":"+(s+parseFloat(h))+"px;"),a&&(x+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),_._isStart=v,_.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),_.style.cssText=x,_.innerText=t||t===0?e+"-"+t:e,m.children[0]?m.insertBefore(_,m.children[0]):m.appendChild(_),_._offset=_["offset"+n.op.d2],_a(_,0,n,v),_},_a=function(e,t,i,n){var o={display:"block"},s=i[n?"os2":"p2"],a=i[n?"p2":"os2"];e._isFlipped=n,o[i.a+"Percent"]=n?-100:0,o[i.a]=n?"1px":0,o["border"+s+Nn]=1,o["border"+a+Nn]=0,o[i.p]=t+"px",q.set(e,o)},ne=[],$u={},Bo,Dh=function(){return dt()-$t>34&&(Bo||(Bo=requestAnimationFrame(Hr)))},Pn=function(){(!bt||!bt.isPressed||bt.startX>he.clientWidth)&&(ie.cache++,bt?Bo||(Bo=requestAnimationFrame(Hr)):Hr(),$t||en("scrollStart"),$t=dt())},Hu=function(){Uh=se.innerWidth,Xh=se.innerHeight},Do=function(e){ie.cache++,(e===!0||!ft&&!Yh&&!me.fullscreenElement&&!me.webkitFullscreenElement&&(!Xu||Uh!==se.innerWidth||Math.abs(se.innerHeight-Xh)>se.innerHeight*.25))&&ya.restart(!0)},Ji={},xv=[],ep=function r(){return je(X,"scrollEnd",r)||$i(!0)},en=function(e){return Ji[e]&&Ji[e].map(function(t){return t()})||xv},Ft=[],tp=function(e){for(var t=0;t<Ft.length;t+=5)(!e||Ft[t+4]&&Ft[t+4].query===e)&&(Ft[t].style.cssText=Ft[t+1],Ft[t].getBBox&&Ft[t].setAttribute("transform",Ft[t+2]||""),Ft[t+3].uncache=1)},nc=function(e,t){var i;for(xt=0;xt<ne.length;xt++)i=ne[xt],i&&(!t||i._ctx===t)&&(e?i.kill(1):i.revert(!0,!0));wa=!0,t&&tp(t),t||en("revert")},rp=function(e,t){ie.cache++,(t||!St)&&ie.forEach(function(i){return ht(i)&&i.cacheID++&&(i.rec=0)}),Wt(e)&&(se.history.scrollRestoration=Qu=e)},St,Zi=0,Ih,Sv=function(){if(Ih!==Zi){var e=Ih=Zi;requestAnimationFrame(function(){return e===Zi&&$i(!0)})}},ip=function(){he.appendChild(Dn),Ju=!bt&&Dn.offsetHeight||se.innerHeight,he.removeChild(Dn)},Nh=function(e){return Ho(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},$i=function(e,t){if(Vt=me.documentElement,he=me.body,Zu=[se,me,Vt,he],$t&&!e&&!wa){Ke(X,"scrollEnd",ep);return}ip(),St=X.isRefreshing=!0,ie.forEach(function(n){return ht(n)&&++n.cacheID&&(n.rec=n())});var i=en("refreshInit");qh&&X.sort(),t||nc(),ie.forEach(function(n){ht(n)&&(n.smooth&&(n.target.style.scrollBehavior="auto"),n(0))}),ne.slice(0).forEach(function(n){return n.refresh()}),wa=!1,ne.forEach(function(n){if(n._subPinOffset&&n.pin){var o=n.vars.horizontal?"offsetWidth":"offsetHeight",s=n.pin[o];n.revert(!0,1),n.adjustPinSpacing(n.pin[o]-s),n.refresh()}}),Gu=1,Nh(!0),ne.forEach(function(n){var o=wr(n.scroller,n._dir),s=n.vars.end==="max"||n._endClamp&&n.end>o,a=n._startClamp&&n.start>=o;(s||a)&&n.setPositions(a?o-1:n.start,s?Math.max(a?o:n.start+1,o):n.end,!0)}),Nh(!1),Gu=0,i.forEach(function(n){return n&&n.render&&n.render(-1)}),ie.forEach(function(n){ht(n)&&(n.smooth&&requestAnimationFrame(function(){return n.target.style.scrollBehavior="smooth"}),n.rec&&n(n.rec))}),rp(Qu,1),ya.pause(),Zi++,St=2,Hr(2),ne.forEach(function(n){return ht(n.vars.onRefresh)&&n.vars.onRefresh(n)}),St=X.isRefreshing=!1,en("refresh")},ju=0,ga=1,Vo,Hr=function(e){if(e===2||!St&&!wa){X.isUpdating=!0,Vo&&Vo.update(0);var t=ne.length,i=dt(),n=i-Wu>=50,o=t&&ne[0].scroll();if(ga=ju>o?-1:1,St||(ju=o),n&&($t&&!Sa&&i-$t>200&&($t=0,en("scrollEnd")),Mo=Wu,Wu=i),ga<0){for(xt=t;xt-- >0;)ne[xt]&&ne[xt].update(0,n);ga=1}else for(xt=0;xt<t;xt++)ne[xt]&&ne[xt].update(0,n);X.isUpdating=!1}Bo=0},Ku=[Zh,Qh,tc,ec,Ut+Wo,Ut+No,Ut+Fo,Ut+zo,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],ma=Ku.concat([ji,Ki,"boxSizing","max"+Nn,"max"+rc,"position",Ut,Ve,Ve+Fo,Ve+No,Ve+Wo,Ve+zo]),Ev=function(e,t,i){In(i);var n=e._gsap;if(n.spacerIsNative)In(n.spacerState);else if(e._gsap.swappedIn){var o=t.parentNode;o&&(o.insertBefore(e,t),o.removeChild(t))}e._gsap.swappedIn=!1},Bu=function(e,t,i,n){if(!e._gsap.swappedIn){for(var o=Ku.length,s=t.style,a=e.style,l;o--;)l=Ku[o],s[l]=i[l];s.position=i.position==="absolute"?"absolute":"relative",i.display==="inline"&&(s.display="inline-block"),a[tc]=a[ec]="auto",s.flexBasis=i.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[ji]=ba(e,ct)+Xe,s[Ki]=ba(e,We)+Xe,s[Ve]=a[Ut]=a[Qh]=a[Zh]="0",In(n),a[ji]=a["max"+Nn]=i[ji],a[Ki]=a["max"+rc]=i[Ki],a[Ve]=i[Ve],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},Tv=/([A-Z])/g,In=function(e){if(e){var t=e.t.style,i=e.length,n=0,o,s;for((e.t._gsap||q.core.getCache(e.t)).uncache=1;n<i;n+=2)s=e[n+1],o=e[n],s?t[o]=s:t[o]&&t.removeProperty(o.replace(Tv,"-$1").toLowerCase())}},fa=function(e){for(var t=ma.length,i=e.style,n=[],o=0;o<t;o++)n.push(ma[o],i[ma[o]]);return n.t=e,n},Av=function(e,t,i){for(var n=[],o=e.length,s=i?8:0,a;s<o;s+=2)a=e[s],n.push(a,a in t?t[a]:e[s+1]);return n.t=e.t,n},va={left:0,top:0},zh=function(e,t,i,n,o,s,a,l,u,c,d,h,f,_){ht(e)&&(e=e(l)),Wt(e)&&e.substr(0,3)==="max"&&(e=h+(e.charAt(4)==="="?pa("0"+e.substr(3),i):0));var p=f?f.time():0,g,m,v;if(f&&f.seek(0),isNaN(e)||(e=+e),Ro(e))f&&(e=q.utils.mapRange(f.scrollTrigger.start,f.scrollTrigger.end,0,h,e)),a&&_a(a,i,n,!0);else{ht(t)&&(t=t(l));var w=(e||"0").split(" "),x,b,E,S;v=wt(t,l)||he,x=Vr(v)||{},(!x||!x.left&&!x.top)&&Gt(v).display==="none"&&(S=v.style.display,v.style.display="block",x=Vr(v),S?v.style.display=S:v.style.removeProperty("display")),b=pa(w[0],x[n.d]),E=pa(w[1]||"0",i),e=x[n.p]-u[n.p]-c+b+o-E,a&&_a(a,E,n,i-E<20||a._isStart&&E>20),i-=i-E}if(_&&(l[_]=e||-.001,e<0&&(e=0)),s){var T=e+i,C=s._isStart;g="scroll"+n.d2,_a(s,T,n,C&&T>20||!C&&(d?Math.max(he[g],Vt[g]):s.parentNode[g])<=T+1),d&&(u=Vr(a),d&&(s.style[n.op.p]=u[n.op.p]-n.op.m-s._offset+Xe))}return f&&v&&(g=Vr(v),f.seek(h),m=Vr(v),f._caScrollDist=g[n.p]-m[n.p],e=e/f._caScrollDist*h),f&&f.seek(p),f?e:Math.round(e)},Cv=/(webkit|moz|length|cssText|inset)/i,Fh=function(e,t,i,n){if(e.parentNode!==t){var o=e.style,s,a;if(t===he){e._stOrig=o.cssText,a=Gt(e);for(s in a)!+s&&!Cv.test(s)&&a[s]&&typeof o[s]=="string"&&s!=="0"&&(o[s]=a[s]);o.top=i,o.left=n}else o.cssText=e._stOrig;q.core.getCache(e).uncache=1,t.appendChild(e)}},np=function(e,t,i){var n=t,o=n;return function(s){var a=Math.round(e());return a!==n&&a!==o&&Math.abs(a-n)>3&&Math.abs(a-o)>3&&(s=a,i&&i()),o=n,n=Math.round(s),n}},da=function(e,t,i){var n={};n[t.p]="+="+i,q.set(e,n)},Wh=function(e,t){var i=Fr(e,t),n="_scroll"+t.p2,o=function s(a,l,u,c,d){var h=s.tween,f=l.onComplete,_={};u=u||i();var p=np(i,u,function(){h.kill(),s.tween=0});return d=c&&d||0,c=c||a-u,h&&h.kill(),l[n]=a,l.inherit=!1,l.modifiers=_,_[n]=function(){return p(u+c*h.ratio+d*h.ratio*h.ratio)},l.onUpdate=function(){ie.cache++,s.tween&&Hr()},l.onComplete=function(){s.tween=0,f&&f.call(h)},h=s.tween=q.to(e,l),h};return e[n]=i,i.wheelHandler=function(){return o.tween&&o.tween.kill()&&(o.tween=0)},Ke(e,"wheel",i.wheelHandler),X.isTouch&&Ke(e,"touchmove",i.wheelHandler),o},X=function(){function r(t,i){Ln||r.register(q)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Uu(this),this.init(t,i)}var e=r.prototype;return e.init=function(i,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Po){this.update=this.refresh=this.kill=yr;return}i=Lh(Wt(i)||Ro(i)||i.nodeType?{trigger:i}:i,ua);var o=i,s=o.onUpdate,a=o.toggleClass,l=o.id,u=o.onToggle,c=o.onRefresh,d=o.scrub,h=o.trigger,f=o.pin,_=o.pinSpacing,p=o.invalidateOnRefresh,g=o.anticipatePin,m=o.onScrubComplete,v=o.onSnapComplete,w=o.once,x=o.snap,b=o.pinReparent,E=o.pinSpacer,S=o.containerAnimation,T=o.fastScrollEnd,C=o.preventOverlaps,O=i.horizontal||i.containerAnimation&&i.horizontal!==!1?ct:We,M=!d&&d!==0,A=wt(i.scroller||se),P=q.core.getCache(A),N=Qi(A),D=("pinType"in i?i.pinType:Wr(A,"pinType")||N&&"fixed")==="fixed",H=[i.onEnter,i.onLeave,i.onEnterBack,i.onLeaveBack],V=M&&i.toggleActions.split(" "),F="markers"in i?i.markers:ua.markers,R=N?0:parseFloat(Gt(A)["border"+O.p2+Nn])||0,y=this,L=i.onRefreshInit&&function(){return i.onRefreshInit(y)},Y=mv(A,N,O),K=vv(A,N),j=0,fe=0,W=0,G=Fr(A,O),ce,re,oe,Ze,Qe,z,Z,Ce,He,k,Lt,Tr,jr,Oe,Ar,Kr,Ei,Ge,Zr,Re,Jt,Ht,Cr,Kn,Ne,hs,Or,un,cn,Qr,Ti,ae,Ai,er,tr,rr,Ci,fn,kr;if(y._startClamp=y._endClamp=!1,y._dir=O,g*=45,y.scroller=A,y.scroll=S?S.time.bind(S):G,Ze=G(),y.vars=i,n=n||i.animation,"refreshPriority"in i&&(qh=1,i.refreshPriority===-9999&&(Vo=y)),P.tweenScroll=P.tweenScroll||{top:Wh(A,We),left:Wh(A,ct)},y.tweenTo=ce=P.tweenScroll[O.p],y.scrubDuration=function(B){Ai=Ro(B)&&B,Ai?ae?ae.duration(B):ae=q.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Ai,paused:!0,onComplete:function(){return m&&m(y)}}):(ae&&ae.progress(1).kill(),ae=0)},n&&(n.vars.lazy=!1,n._initted&&!y.isReverted||n.vars.immediateRender!==!1&&i.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),y.animation=n.pause(),n.scrollTrigger=y,y.scrubDuration(d),Qr=0,l||(l=n.vars.id)),x&&((!Gi(x)||x.push)&&(x={snapTo:x}),"scrollBehavior"in he.style&&q.set(N?[he,Vt]:A,{scrollBehavior:"auto"}),ie.forEach(function(B){return ht(B)&&B.target===(N?me.scrollingElement||Vt:A)&&(B.smooth=!1)}),oe=ht(x.snapTo)?x.snapTo:x.snapTo==="labels"?wv(n):x.snapTo==="labelsDirectional"?bv(n):x.directional!==!1?function(B,Q){return ic(x.snapTo)(B,dt()-fe<500?0:Q.direction)}:q.utils.snap(x.snapTo),er=x.duration||{min:.1,max:2},er=Gi(er)?Io(er.min,er.max):Io(er,er),tr=q.delayedCall(x.delay||Ai/2||.1,function(){var B=G(),Q=dt()-fe<500,U=ce.tween;if((Q||Math.abs(y.getVelocity())<10)&&!U&&!Sa&&j!==B){var J=(B-z)/Oe,$e=n&&!M?n.totalProgress():J,le=Q?0:($e-Ti)/(dt()-Mo)*1e3||0,De=q.utils.clamp(-J,1-J,Mn(le/2)*le/.185),ot=J+(x.inertia===!1?0:De),ke,we,pe=x,ir=pe.onStart,xe=pe.onInterrupt,Rt=pe.onComplete;if(ke=oe(ot,y),Ro(ke)||(ke=ot),we=Math.max(0,Math.round(z+ke*Oe)),B<=Z&&B>=z&&we!==B){if(U&&!U._initted&&U.data<=Mn(we-B))return;x.inertia===!1&&(De=ke-J),ce(we,{duration:er(Mn(Math.max(Mn(ot-$e),Mn(ke-$e))*.185/le/.05||0)),ease:x.ease||"power3",data:Mn(we-B),onInterrupt:function(){return tr.restart(!0)&&xe&&xe(y)},onComplete:function(){y.update(),j=G(),n&&!M&&(ae?ae.resetTo("totalProgress",ke,n._tTime/n._tDur):n.progress(ke)),Qr=Ti=n&&!M?n.totalProgress():y.progress,v&&v(y),Rt&&Rt(y)}},B,De*Oe,we-B-De*Oe),ir&&ir(y,ce.tween)}}else y.isActive&&j!==B&&tr.restart(!0)}).pause()),l&&($u[l]=y),h=y.trigger=wt(h||f!==!0&&f),kr=h&&h._gsap&&h._gsap.stRevert,kr&&(kr=kr(y)),f=f===!0?h:wt(f),Wt(a)&&(a={targets:h,className:a}),f&&(_===!1||_===Ut||(_=!_&&f.parentNode&&f.parentNode.style&&Gt(f.parentNode).display==="flex"?!1:Ve),y.pin=f,re=q.core.getCache(f),re.spacer?Ar=re.pinState:(E&&(E=wt(E),E&&!E.nodeType&&(E=E.current||E.nativeElement),re.spacerIsNative=!!E,E&&(re.spacerState=fa(E))),re.spacer=Ge=E||me.createElement("div"),Ge.classList.add("pin-spacer"),l&&Ge.classList.add("pin-spacer-"+l),re.pinState=Ar=fa(f)),i.force3D!==!1&&q.set(f,{force3D:!0}),y.spacer=Ge=re.spacer,cn=Gt(f),Kn=cn[_+O.os2],Re=q.getProperty(f),Jt=q.quickSetter(f,O.a,Xe),Bu(f,Ge,cn),Ei=fa(f)),F){Tr=Gi(F)?Lh(F,Rh):Rh,k=ca("scroller-start",l,A,O,Tr,0),Lt=ca("scroller-end",l,A,O,Tr,0,k),Zr=k["offset"+O.op.d2];var Zn=wt(Wr(A,"content")||A);Ce=this.markerStart=ca("start",l,Zn,O,Tr,Zr,0,S),He=this.markerEnd=ca("end",l,Zn,O,Tr,Zr,0,S),S&&(fn=q.quickSetter([Ce,He],O.a,Xe)),!D&&!(ar.length&&Wr(A,"fixedMarkers")===!0)&&(yv(N?he:A),q.set([k,Lt],{force3D:!0}),hs=q.quickSetter(k,O.a,Xe),un=q.quickSetter(Lt,O.a,Xe))}if(S){var ee=S.vars.onUpdate,$=S.vars.onUpdateParams;S.eventCallback("onUpdate",function(){y.update(0,0,1),ee&&ee.apply(S,$||[])})}if(y.previous=function(){return ne[ne.indexOf(y)-1]},y.next=function(){return ne[ne.indexOf(y)+1]},y.revert=function(B,Q){if(!Q)return y.kill(!0);var U=B!==!1||!y.enabled,J=ft;U!==y.isReverted&&(U&&(rr=Math.max(G(),y.scroll.rec||0),W=y.progress,Ci=n&&n.progress()),Ce&&[Ce,He,k,Lt].forEach(function($e){return $e.style.display=U?"none":"block"}),U&&(ft=y,y.update(U)),f&&(!b||!y.isActive)&&(U?Ev(f,Ge,Ar):Bu(f,Ge,Gt(f),Ne)),U||y.update(U),ft=J,y.isReverted=U)},y.refresh=function(B,Q,U,J){if(!((ft||!y.enabled)&&!Q)){if(f&&B&&$t){Ke(r,"scrollEnd",ep);return}!St&&L&&L(y),ft=y,ce.tween&&!U&&(ce.tween.kill(),ce.tween=0),ae&&ae.pause(),p&&n&&(n.revert({kill:!1}).invalidate(),n.getChildren&&n.getChildren(!0,!0,!1).forEach(function(Jr){return Jr.vars.immediateRender&&Jr.render(0,!0,!0)})),y.isReverted||y.revert(!0,!0),y._subPinOffset=!1;var $e=Y(),le=K(),De=S?S.duration():wr(A,O),ot=Oe<=.01||!Oe,ke=0,we=J||0,pe=Gi(U)?U.end:i.end,ir=i.endTrigger||h,xe=Gi(U)?U.start:i.start||(i.start===0||!h?0:f?"0 0":"0 100%"),Rt=y.pinnedContainer=i.pinnedContainer&&wt(i.pinnedContainer,y),fr=h&&Math.max(0,ne.indexOf(y))||0,Je=fr,et,st,Oi,ps,at,Be,dr,Ga,Ic,Qn,hr,Jn,_s;for(F&&Gi(U)&&(Jn=q.getProperty(k,O.p),_s=q.getProperty(Lt,O.p));Je-- >0;)Be=ne[Je],Be.end||Be.refresh(0,1)||(ft=y),dr=Be.pin,dr&&(dr===h||dr===f||dr===Rt)&&!Be.isReverted&&(Qn||(Qn=[]),Qn.unshift(Be),Be.revert(!0,!0)),Be!==ne[Je]&&(fr--,Je--);for(ht(xe)&&(xe=xe(y)),xe=Oh(xe,"start",y),z=zh(xe,h,$e,O,G(),Ce,k,y,le,R,D,De,S,y._startClamp&&"_startClamp")||(f?-.001:0),ht(pe)&&(pe=pe(y)),Wt(pe)&&!pe.indexOf("+=")&&(~pe.indexOf(" ")?pe=(Wt(xe)?xe.split(" ")[0]:"")+pe:(ke=pa(pe.substr(2),$e),pe=Wt(xe)?xe:(S?q.utils.mapRange(0,S.duration(),S.scrollTrigger.start,S.scrollTrigger.end,z):z)+ke,ir=h)),pe=Oh(pe,"end",y),Z=Math.max(z,zh(pe||(ir?"100% 0":De),ir,$e,O,G()+ke,He,Lt,y,le,R,D,De,S,y._endClamp&&"_endClamp"))||-.001,ke=0,Je=fr;Je--;)Be=ne[Je],dr=Be.pin,dr&&Be.start-Be._pinPush<=z&&!S&&Be.end>0&&(et=Be.end-(y._startClamp?Math.max(0,Be.start):Be.start),(dr===h&&Be.start-Be._pinPush<z||dr===Rt)&&isNaN(xe)&&(ke+=et*(1-Be.progress)),dr===f&&(we+=et));if(z+=ke,Z+=ke,y._startClamp&&(y._startClamp+=ke),y._endClamp&&!St&&(y._endClamp=Z||-.001,Z=Math.min(Z,wr(A,O))),Oe=Z-z||(z-=.01)&&.001,ot&&(W=q.utils.clamp(0,1,q.utils.normalize(z,Z,rr))),y._pinPush=we,Ce&&ke&&(et={},et[O.a]="+="+ke,Rt&&(et[O.p]="-="+G()),q.set([Ce,He],et)),f&&!(Gu&&y.end>=wr(A,O)))et=Gt(f),ps=O===We,Oi=G(),Ht=parseFloat(Re(O.a))+we,!De&&Z>1&&(hr=(N?me.scrollingElement||Vt:A).style,hr={style:hr,value:hr["overflow"+O.a.toUpperCase()]},N&&Gt(he)["overflow"+O.a.toUpperCase()]!=="scroll"&&(hr.style["overflow"+O.a.toUpperCase()]="scroll")),Bu(f,Ge,et),Ei=fa(f),st=Vr(f,!0),Ga=D&&Fr(A,ps?ct:We)(),_?(Ne=[_+O.os2,Oe+we+Xe],Ne.t=Ge,Je=_===Ve?ba(f,O)+Oe+we:0,Je&&(Ne.push(O.d,Je+Xe),Ge.style.flexBasis!=="auto"&&(Ge.style.flexBasis=Je+Xe)),In(Ne),Rt&&ne.forEach(function(Jr){Jr.pin===Rt&&Jr.vars.pinSpacing!==!1&&(Jr._subPinOffset=!0)}),D&&G(rr)):(Je=ba(f,O),Je&&Ge.style.flexBasis!=="auto"&&(Ge.style.flexBasis=Je+Xe)),D&&(at={top:st.top+(ps?Oi-z:Ga)+Xe,left:st.left+(ps?Ga:Oi-z)+Xe,boxSizing:"border-box",position:"fixed"},at[ji]=at["max"+Nn]=Math.ceil(st.width)+Xe,at[Ki]=at["max"+rc]=Math.ceil(st.height)+Xe,at[Ut]=at[Ut+Fo]=at[Ut+No]=at[Ut+Wo]=at[Ut+zo]="0",at[Ve]=et[Ve],at[Ve+Fo]=et[Ve+Fo],at[Ve+No]=et[Ve+No],at[Ve+Wo]=et[Ve+Wo],at[Ve+zo]=et[Ve+zo],Kr=Av(Ar,at,b),St&&G(0)),n?(Ic=n._initted,zu(1),n.render(n.duration(),!0,!0),Cr=Re(O.a)-Ht+Oe+we,Or=Math.abs(Oe-Cr)>1,D&&Or&&Kr.splice(Kr.length-2,2),n.render(0,!0,!0),Ic||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),zu(0)):Cr=Oe,hr&&(hr.value?hr.style["overflow"+O.a.toUpperCase()]=hr.value:hr.style.removeProperty("overflow-"+O.a));else if(h&&G()&&!S)for(st=h.parentNode;st&&st!==he;)st._pinOffset&&(z-=st._pinOffset,Z-=st._pinOffset),st=st.parentNode;Qn&&Qn.forEach(function(Jr){return Jr.revert(!1,!0)}),y.start=z,y.end=Z,Ze=Qe=St?rr:G(),!S&&!St&&(Ze<rr&&G(rr),y.scroll.rec=0),y.revert(!1,!0),fe=dt(),tr&&(j=-1,tr.restart(!0)),ft=0,n&&M&&(n._initted||Ci)&&n.progress()!==Ci&&n.progress(Ci||0,!0).render(n.time(),!0,!0),(ot||W!==y.progress||S||p||n&&!n._initted)&&(n&&!M&&(n._initted||W||n.vars.immediateRender!==!1)&&n.totalProgress(S&&z<-.001&&!W?q.utils.normalize(z,Z,0):W,!0),y.progress=ot||(Ze-z)/Oe===W?0:W),f&&_&&(Ge._pinOffset=Math.round(y.progress*Cr)),ae&&ae.invalidate(),isNaN(Jn)||(Jn-=q.getProperty(k,O.p),_s-=q.getProperty(Lt,O.p),da(k,O,Jn),da(Ce,O,Jn-(J||0)),da(Lt,O,_s),da(He,O,_s-(J||0))),ot&&!St&&y.update(),c&&!St&&!jr&&(jr=!0,c(y),jr=!1)}},y.getVelocity=function(){return(G()-Qe)/(dt()-Mo)*1e3||0},y.endAnimation=function(){ko(y.callbackAnimation),n&&(ae?ae.progress(1):n.paused()?M||ko(n,y.direction<0,1):ko(n,n.reversed()))},y.labelToScroll=function(B){return n&&n.labels&&(z||y.refresh()||z)+n.labels[B]/n.duration()*Oe||0},y.getTrailing=function(B){var Q=ne.indexOf(y),U=y.direction>0?ne.slice(0,Q).reverse():ne.slice(Q+1);return(Wt(B)?U.filter(function(J){return J.vars.preventOverlaps===B}):U).filter(function(J){return y.direction>0?J.end<=z:J.start>=Z})},y.update=function(B,Q,U){if(!(S&&!U&&!B)){var J=St===!0?rr:y.scroll(),$e=B?0:(J-z)/Oe,le=$e<0?0:$e>1?1:$e||0,De=y.progress,ot,ke,we,pe,ir,xe,Rt,fr;if(Q&&(Qe=Ze,Ze=S?G():J,x&&(Ti=Qr,Qr=n&&!M?n.totalProgress():le)),g&&f&&!ft&&!oa&&$t&&(!le&&z<J+(J-Qe)/(dt()-Mo)*g?le=1e-4:le===1&&Z>J+(J-Qe)/(dt()-Mo)*g&&(le=.9999)),le!==De&&y.enabled){if(ot=y.isActive=!!le&&le<1,ke=!!De&&De<1,xe=ot!==ke,ir=xe||!!le!=!!De,y.direction=le>De?1:-1,y.progress=le,ir&&!ft&&(we=le&&!De?0:le===1?1:De===1?2:3,M&&(pe=!xe&&V[we+1]!=="none"&&V[we+1]||V[we],fr=n&&(pe==="complete"||pe==="reset"||pe in n))),C&&(xe||fr)&&(fr||d||!n)&&(ht(C)?C(y):y.getTrailing(C).forEach(function(Oi){return Oi.endAnimation()})),M||(ae&&!ft&&!oa?(ae._dp._time-ae._start!==ae._time&&ae.render(ae._dp._time-ae._start),ae.resetTo?ae.resetTo("totalProgress",le,n._tTime/n._tDur):(ae.vars.totalProgress=le,ae.invalidate().restart())):n&&n.totalProgress(le,!!(ft&&(fe||B)))),f){if(B&&_&&(Ge.style[_+O.os2]=Kn),!D)Jt(Lo(Ht+Cr*le));else if(ir){if(Rt=!B&&le>De&&Z+1>J&&J+1>=wr(A,O),b)if(!B&&(ot||Rt)){var Je=Vr(f,!0),et=J-z;Fh(f,he,Je.top+(O===We?et:0)+Xe,Je.left+(O===We?0:et)+Xe)}else Fh(f,Ge);In(ot||Rt?Kr:Ei),Or&&le<1&&ot||Jt(Ht+(le===1&&!Rt?Cr:0))}}x&&!ce.tween&&!ft&&!oa&&tr.restart(!0),a&&(xe||w&&le&&(le<1||!Fu))&&Ho(a.targets).forEach(function(Oi){return Oi.classList[ot||w?"add":"remove"](a.className)}),s&&!M&&!B&&s(y),ir&&!ft?(M&&(fr&&(pe==="complete"?n.pause().totalProgress(1):pe==="reset"?n.restart(!0).pause():pe==="restart"?n.restart(!0):n[pe]()),s&&s(y)),(xe||!Fu)&&(u&&xe&&Vu(y,u),H[we]&&Vu(y,H[we]),w&&(le===1?y.kill(!1,1):H[we]=0),xe||(we=le===1?1:3,H[we]&&Vu(y,H[we]))),T&&!ot&&Math.abs(y.getVelocity())>(Ro(T)?T:2500)&&(ko(y.callbackAnimation),ae?ae.progress(1):ko(n,pe==="reverse"?1:!le,1))):M&&s&&!ft&&s(y)}if(un){var st=S?J/S.duration()*(S._caScrollDist||0):J;hs(st+(k._isFlipped?1:0)),un(st)}fn&&fn(-J/S.duration()*(S._caScrollDist||0))}},y.enable=function(B,Q){y.enabled||(y.enabled=!0,Ke(A,"resize",Do),N||Ke(A,"scroll",Pn),L&&Ke(r,"refreshInit",L),B!==!1&&(y.progress=W=0,Ze=Qe=j=G()),Q!==!1&&y.refresh())},y.getTween=function(B){return B&&ce?ce.tween:ae},y.setPositions=function(B,Q,U,J){if(S){var $e=S.scrollTrigger,le=S.duration(),De=$e.end-$e.start;B=$e.start+De*B/le,Q=$e.start+De*Q/le}y.refresh(!1,!1,{start:kh(B,U&&!!y._startClamp),end:kh(Q,U&&!!y._endClamp)},J),y.update()},y.adjustPinSpacing=function(B){if(Ne&&B){var Q=Ne.indexOf(O.d)+1;Ne[Q]=parseFloat(Ne[Q])+B+Xe,Ne[1]=parseFloat(Ne[1])+B+Xe,In(Ne)}},y.disable=function(B,Q){if(y.enabled&&(B!==!1&&y.revert(!0,!0),y.enabled=y.isActive=!1,Q||ae&&ae.pause(),rr=0,re&&(re.uncache=1),L&&je(r,"refreshInit",L),tr&&(tr.pause(),ce.tween&&ce.tween.kill()&&(ce.tween=0)),!N)){for(var U=ne.length;U--;)if(ne[U].scroller===A&&ne[U]!==y)return;je(A,"resize",Do),N||je(A,"scroll",Pn)}},y.kill=function(B,Q){y.disable(B,Q),ae&&!Q&&ae.kill(),l&&delete $u[l];var U=ne.indexOf(y);U>=0&&ne.splice(U,1),U===xt&&ga>0&&xt--,U=0,ne.forEach(function(J){return J.scroller===y.scroller&&(U=1)}),U||St||(y.scroll.rec=0),n&&(n.scrollTrigger=null,B&&n.revert({kill:!1}),Q||n.kill()),Ce&&[Ce,He,k,Lt].forEach(function(J){return J.parentNode&&J.parentNode.removeChild(J)}),Vo===y&&(Vo=0),f&&(re&&(re.uncache=1),U=0,ne.forEach(function(J){return J.pin===f&&U++}),U||(re.spacer=0)),i.onKill&&i.onKill(y)},ne.push(y),y.enable(!1,!1),kr&&kr(y),n&&n.add&&!Oe){var de=y.update;y.update=function(){y.update=de,ie.cache++,z||Z||y.refresh()},q.delayedCall(.01,y.update),Oe=.01,z=Z=0}else y.refresh();f&&Sv()},r.register=function(i){return Ln||(q=i||$h(),Gh()&&window.document&&r.enable(),Ln=Po),Ln},r.defaults=function(i){if(i)for(var n in i)ua[n]=i[n];return ua},r.disable=function(i,n){Po=0,ne.forEach(function(s){return s[n?"kill":"disable"](i)}),je(se,"wheel",Pn),je(me,"scroll",Pn),clearInterval(na),je(me,"touchcancel",yr),je(he,"touchstart",yr),aa(je,me,"pointerdown,touchstart,mousedown",Mh),aa(je,me,"pointerup,touchend,mouseup",Ph),ya.kill(),sa(je);for(var o=0;o<ie.length;o+=3)la(je,ie[o],ie[o+1]),la(je,ie[o],ie[o+2])},r.enable=function(){if(se=window,me=document,Vt=me.documentElement,he=me.body,q&&(Ho=q.utils.toArray,Io=q.utils.clamp,Uu=q.core.context||yr,zu=q.core.suppressOverwrites||yr,Qu=se.history.scrollRestoration||"auto",ju=se.pageYOffset||0,q.core.globals("ScrollTrigger",r),he)){Po=1,Dn=document.createElement("div"),Dn.style.height="100vh",Dn.style.position="absolute",ip(),gv(),Le.register(q),r.isTouch=Le.isTouch,pi=Le.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Xu=Le.isTouch===1,Ke(se,"wheel",Pn),Zu=[se,me,Vt,he],q.matchMedia?(r.matchMedia=function(u){var c=q.matchMedia(),d;for(d in u)c.add(d,u[d]);return c},q.addEventListener("matchMediaInit",function(){return nc()}),q.addEventListener("matchMediaRevert",function(){return tp()}),q.addEventListener("matchMedia",function(){$i(0,1),en("matchMedia")}),q.matchMedia().add("(orientation: portrait)",function(){return Hu(),Hu})):console.warn("Requires GSAP 3.11.0 or later"),Hu(),Ke(me,"scroll",Pn);var i=he.hasAttribute("style"),n=he.style,o=n.borderTopStyle,s=q.core.Animation.prototype,a,l;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),n.borderTopStyle="solid",a=Vr(he),We.m=Math.round(a.top+We.sc())||0,ct.m=Math.round(a.left+ct.sc())||0,o?n.borderTopStyle=o:n.removeProperty("border-top-style"),i||(he.setAttribute("style",""),he.removeAttribute("style")),na=setInterval(Dh,250),q.delayedCall(.5,function(){return oa=0}),Ke(me,"touchcancel",yr),Ke(he,"touchstart",yr),aa(Ke,me,"pointerdown,touchstart,mousedown",Mh),aa(Ke,me,"pointerup,touchend,mouseup",Ph),Yu=q.utils.checkPrefix("transform"),ma.push(Yu),Ln=dt(),ya=q.delayedCall(.2,$i).pause(),Rn=[me,"visibilitychange",function(){var u=se.innerWidth,c=se.innerHeight;me.hidden?(Ah=u,Ch=c):(Ah!==u||Ch!==c)&&Do()},me,"DOMContentLoaded",$i,se,"load",$i,se,"resize",Do],sa(Ke),ne.forEach(function(u){return u.enable(0,1)}),l=0;l<ie.length;l+=3)la(je,ie[l],ie[l+1]),la(je,ie[l],ie[l+2])}},r.config=function(i){"limitCallbacks"in i&&(Fu=!!i.limitCallbacks);var n=i.syncInterval;n&&clearInterval(na)||(na=n)&&setInterval(Dh,n),"ignoreMobileResize"in i&&(Xu=r.isTouch===1&&i.ignoreMobileResize),"autoRefreshEvents"in i&&(sa(je)||sa(Ke,i.autoRefreshEvents||"none"),Yh=(i.autoRefreshEvents+"").indexOf("resize")===-1)},r.scrollerProxy=function(i,n){var o=wt(i),s=ie.indexOf(o),a=Qi(o);~s&&ie.splice(s,a?6:2),n&&(a?ar.unshift(se,n,he,n,Vt,n):ar.unshift(o,n))},r.clearMatchMedia=function(i){ne.forEach(function(n){return n._ctx&&n._ctx.query===i&&n._ctx.kill(!0,!0)})},r.isInViewport=function(i,n,o){var s=(Wt(i)?wt(i):i).getBoundingClientRect(),a=s[o?ji:Ki]*n||0;return o?s.right-a>0&&s.left+a<se.innerWidth:s.bottom-a>0&&s.top+a<se.innerHeight},r.positionInViewport=function(i,n,o){Wt(i)&&(i=wt(i));var s=i.getBoundingClientRect(),a=s[o?ji:Ki],l=n==null?a/2:n in xa?xa[n]*a:~n.indexOf("%")?parseFloat(n)*a/100:parseFloat(n)||0;return o?(s.left+l)/se.innerWidth:(s.top+l)/se.innerHeight},r.killAll=function(i){if(ne.slice(0).forEach(function(o){return o.vars.id!=="ScrollSmoother"&&o.kill()}),i!==!0){var n=Ji.killAll||[];Ji={},n.forEach(function(o){return o()})}},r}();X.version="3.13.0";X.saveStyles=function(r){return r?Ho(r).forEach(function(e){if(e&&e.style){var t=Ft.indexOf(e);t>=0&&Ft.splice(t,5),Ft.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),q.core.getCache(e),Uu())}}):Ft};X.revert=function(r,e){return nc(!r,e)};X.create=function(r,e){return new X(r,e)};X.refresh=function(r){return r?Do(!0):(Ln||X.register())&&$i(!0)};X.update=function(r){return++ie.cache&&Hr(r===!0?2:0)};X.clearScrollMemory=rp;X.maxScroll=function(r,e){return wr(r,e?ct:We)};X.getScrollFunc=function(r,e){return Fr(wt(r),e?ct:We)};X.getById=function(r){return $u[r]};X.getAll=function(){return ne.filter(function(r){return r.vars.id!=="ScrollSmoother"})};X.isScrolling=function(){return!!$t};X.snapDirectional=ic;X.addEventListener=function(r,e){var t=Ji[r]||(Ji[r]=[]);~t.indexOf(e)||t.push(e)};X.removeEventListener=function(r,e){var t=Ji[r],i=t&&t.indexOf(e);i>=0&&t.splice(i,1)};X.batch=function(r,e){var t=[],i={},n=e.interval||.016,o=e.batchMax||1e9,s=function(u,c){var d=[],h=[],f=q.delayedCall(n,function(){c(d,h),d=[],h=[]}).pause();return function(_){d.length||f.restart(!0),d.push(_.trigger),h.push(_),o<=d.length&&f.progress(1)}},a;for(a in e)i[a]=a.substr(0,2)==="on"&&ht(e[a])&&a!=="onRefreshInit"?s(a,e[a]):e[a];return ht(o)&&(o=o(),Ke(X,"refresh",function(){return o=e.batchMax()})),Ho(r).forEach(function(l){var u={};for(a in i)u[a]=i[a];u.trigger=l,t.push(X.create(u))}),t};var Vh=function(e,t,i,n){return t>n?e(n):t<0&&e(0),i>n?(n-t)/(i-t):i<0?t/(t-i):1},qu=function r(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(Le.isTouch?" pinch-zoom":""):"none",e===Vt&&r(he,t)},ha={auto:1,scroll:1},Ov=function(e){var t=e.event,i=e.target,n=e.axis,o=(t.changedTouches?t.changedTouches[0]:t).target,s=o._gsap||q.core.getCache(o),a=dt(),l;if(!s._isScrollT||a-s._isScrollT>2e3){for(;o&&o!==he&&(o.scrollHeight<=o.clientHeight&&o.scrollWidth<=o.clientWidth||!(ha[(l=Gt(o)).overflowY]||ha[l.overflowX]));)o=o.parentNode;s._isScroll=o&&o!==i&&!Qi(o)&&(ha[(l=Gt(o)).overflowY]||ha[l.overflowX]),s._isScrollT=a}(s._isScroll||n==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},op=function(e,t,i,n){return Le.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&Ov,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return i&&Ke(me,Le.eventTypes[0],Bh,!1,!0)},onDisable:function(){return je(me,Le.eventTypes[0],Bh,!0)}})},kv=/(input|label|select|textarea)/i,Hh,Bh=function(e){var t=kv.test(e.target.tagName);(t||Hh)&&(e._gsapAllow=!0,Hh=t)},Mv=function(e){Gi(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,i=t.normalizeScrollX,n=t.momentum,o=t.allowNestedScroll,s=t.onRelease,a,l,u=wt(e.target)||Vt,c=q.core.globals().ScrollSmoother,d=c&&c.get(),h=pi&&(e.content&&wt(e.content)||d&&e.content!==!1&&!d.smooth()&&d.content()),f=Fr(u,We),_=Fr(u,ct),p=1,g=(Le.isTouch&&se.visualViewport?se.visualViewport.scale*se.visualViewport.width:se.outerWidth)/se.innerWidth,m=0,v=ht(n)?function(){return n(a)}:function(){return n||2.8},w,x,b=op(u,e.type,!0,o),E=function(){return x=!1},S=yr,T=yr,C=function(){l=wr(u,We),T=Io(pi?1:0,l),i&&(S=Io(0,wr(u,ct))),w=Zi},O=function(){h._gsap.y=Lo(parseFloat(h._gsap.y)+f.offset)+"px",h.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(h._gsap.y)+", 0, 1)",f.offset=f.cacheID=0},M=function(){if(x){requestAnimationFrame(E);var F=Lo(a.deltaY/2),R=T(f.v-F);if(h&&R!==f.v+f.offset){f.offset=R-f.v;var y=Lo((parseFloat(h&&h._gsap.y)||0)-f.offset);h.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+y+", 0, 1)",h._gsap.y=y+"px",f.cacheID=ie.cache,Hr()}return!0}f.offset&&O(),x=!0},A,P,N,D,H=function(){C(),A.isActive()&&A.vars.scrollY>l&&(f()>l?A.progress(1)&&f(l):A.resetTo("scrollY",l))};return h&&q.set(h,{y:"+=0"}),e.ignoreCheck=function(V){return pi&&V.type==="touchmove"&&M(V)||p>1.05&&V.type!=="touchstart"||a.isGesturing||V.touches&&V.touches.length>1},e.onPress=function(){x=!1;var V=p;p=Lo((se.visualViewport&&se.visualViewport.scale||1)/g),A.pause(),V!==p&&qu(u,p>1.01?!0:i?!1:"x"),P=_(),N=f(),C(),w=Zi},e.onRelease=e.onGestureStart=function(V,F){if(f.offset&&O(),!F)D.restart(!0);else{ie.cache++;var R=v(),y,L;i&&(y=_(),L=y+R*.05*-V.velocityX/.227,R*=Vh(_,y,L,wr(u,ct)),A.vars.scrollX=S(L)),y=f(),L=y+R*.05*-V.velocityY/.227,R*=Vh(f,y,L,wr(u,We)),A.vars.scrollY=T(L),A.invalidate().duration(R).play(.01),(pi&&A.vars.scrollY>=l||y>=l-1)&&q.to({},{onUpdate:H,duration:R})}s&&s(V)},e.onWheel=function(){A._ts&&A.pause(),dt()-m>1e3&&(w=0,m=dt())},e.onChange=function(V,F,R,y,L){if(Zi!==w&&C(),F&&i&&_(S(y[2]===F?P+(V.startX-V.x):_()+F-y[1])),R){f.offset&&O();var Y=L[2]===R,K=Y?N+V.startY-V.y:f()+R-L[1],j=T(K);Y&&K!==j&&(N+=j-K),f(j)}(R||F)&&Hr()},e.onEnable=function(){qu(u,i?!1:"x"),X.addEventListener("refresh",H),Ke(se,"resize",H),f.smooth&&(f.target.style.scrollBehavior="auto",f.smooth=_.smooth=!1),b.enable()},e.onDisable=function(){qu(u,!0),je(se,"resize",H),X.removeEventListener("refresh",H),b.kill()},e.lockAxis=e.lockAxis!==!1,a=new Le(e),a.iOS=pi,pi&&!f()&&f(1),pi&&q.ticker.add(yr),D=a._dc,A=q.to(a,{ease:"power4",paused:!0,inherit:!1,scrollX:i?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:np(f,f(),function(){return A.pause()})},onUpdate:Hr,onComplete:D.vars.onComplete}),a};X.sort=function(r){if(ht(r))return ne.sort(r);var e=se.pageYOffset||0;return X.getAll().forEach(function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+se.innerHeight}),ne.sort(r||function(t,i){return(t.vars.refreshPriority||0)*-1e6+(t.vars.containerAnimation?1e6:t._sortY)-((i.vars.containerAnimation?1e6:i._sortY)+(i.vars.refreshPriority||0)*-1e6)})};X.observe=function(r){return new Le(r)};X.normalizeScroll=function(r){if(typeof r>"u")return bt;if(r===!0&&bt)return bt.enable();if(r===!1){bt&&bt.kill(),bt=r;return}var e=r instanceof Le?r:Mv(r);return bt&&bt.target===e.target&&bt.kill(),Qi(e.target)&&(bt=e),e};X.core={_getVelocityProp:ia,_inputObserver:op,_scrollers:ie,_proxies:ar,bridge:{ss:function(){$t||en("scrollStart"),$t=dt()},ref:function(){return ft}}};$h()&&q.registerPlugin(X);var pt,lp,Br,br,_i,up,zn,Ea,cp=function(){return typeof window<"u"},fp=function(){return pt||cp()&&(pt=window.gsap)&&pt.registerPlugin&&pt},dp=function(e){return typeof e=="string"},sp=function(e){return typeof e=="function"},qo=function(e,t){var i=t==="x"?"Width":"Height",n="scroll"+i,o="client"+i;return e===Br||e===br||e===_i?Math.max(br[n],_i[n])-(Br["inner"+i]||br[o]||_i[o]):e[n]-e["offset"+i]},Yo=function(e,t){var i="scroll"+(t==="x"?"Left":"Top");return e===Br&&(e.pageXOffset!=null?i="page"+t.toUpperCase()+"Offset":e=br[i]!=null?br:_i),function(){return e[i]}},Pv=function(e,t,i,n){if(sp(e)&&(e=e(t,i,n)),typeof e!="object")return dp(e)&&e!=="max"&&e.charAt(1)!=="="?{x:e,y:e}:{y:e};if(e.nodeType)return{y:e,x:e};var o={},s;for(s in e)o[s]=s!=="onAutoKill"&&sp(e[s])?e[s](t,i,n):e[s];return o},hp=function(e,t){if(e=up(e)[0],!e||!e.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var i=e.getBoundingClientRect(),n=!t||t===Br||t===_i,o=n?{top:br.clientTop-(Br.pageYOffset||br.scrollTop||_i.scrollTop||0),left:br.clientLeft-(Br.pageXOffset||br.scrollLeft||_i.scrollLeft||0)}:t.getBoundingClientRect(),s={x:i.left-o.left,y:i.top-o.top};return!n&&t&&(s.x+=Yo(t,"x")(),s.y+=Yo(t,"y")()),s},ap=function(e,t,i,n,o){return!isNaN(e)&&typeof e!="object"?parseFloat(e)-o:dp(e)&&e.charAt(1)==="="?parseFloat(e.substr(2))*(e.charAt(0)==="-"?-1:1)+n-o:e==="max"?qo(t,i)-o:Math.min(qo(t,i),hp(e,t)[i]-o)},oc=function(){pt=fp(),cp()&&pt&&typeof document<"u"&&document.body&&(Br=window,_i=document.body,br=document.documentElement,up=pt.utils.toArray,pt.config({autoKillThreshold:7}),zn=pt.config(),lp=1)},tn={version:"3.13.0",name:"scrollTo",rawVars:1,register:function(e){pt=e,oc()},init:function(e,t,i,n,o){lp||oc();var s=this,a=pt.getProperty(e,"scrollSnapType");s.isWin=e===Br,s.target=e,s.tween=i,t=Pv(t,n,e,o),s.vars=t,s.autoKill=!!("autoKill"in t?t:zn).autoKill,s.getX=Yo(e,"x"),s.getY=Yo(e,"y"),s.x=s.xPrev=s.getX(),s.y=s.yPrev=s.getY(),Ea||(Ea=pt.core.globals().ScrollTrigger),pt.getProperty(e,"scrollBehavior")==="smooth"&&pt.set(e,{scrollBehavior:"auto"}),a&&a!=="none"&&(s.snap=1,s.snapInline=e.style.scrollSnapType,e.style.scrollSnapType="none"),t.x!=null?(s.add(s,"x",s.x,ap(t.x,e,"x",s.x,t.offsetX||0),n,o),s._props.push("scrollTo_x")):s.skipX=1,t.y!=null?(s.add(s,"y",s.y,ap(t.y,e,"y",s.y,t.offsetY||0),n,o),s._props.push("scrollTo_y")):s.skipY=1},render:function(e,t){for(var i=t._pt,n=t.target,o=t.tween,s=t.autoKill,a=t.xPrev,l=t.yPrev,u=t.isWin,c=t.snap,d=t.snapInline,h,f,_,p,g;i;)i.r(e,i.d),i=i._next;h=u||!t.skipX?t.getX():a,f=u||!t.skipY?t.getY():l,_=f-l,p=h-a,g=zn.autoKillThreshold,t.x<0&&(t.x=0),t.y<0&&(t.y=0),s&&(!t.skipX&&(p>g||p<-g)&&h<qo(n,"x")&&(t.skipX=1),!t.skipY&&(_>g||_<-g)&&f<qo(n,"y")&&(t.skipY=1),t.skipX&&t.skipY&&(o.kill(),t.vars.onAutoKill&&t.vars.onAutoKill.apply(o,t.vars.onAutoKillParams||[]))),u?Br.scrollTo(t.skipX?h:t.x,t.skipY?f:t.y):(t.skipY||(n.scrollTop=t.y),t.skipX||(n.scrollLeft=t.x)),c&&(e===1||e===0)&&(f=n.scrollTop,h=n.scrollLeft,d?n.style.scrollSnapType=d:n.style.removeProperty("scroll-snap-type"),n.scrollTop=f+1,n.scrollLeft=h+1,n.scrollTop=f,n.scrollLeft=h),t.xPrev=t.x,t.yPrev=t.y,Ea&&Ea.update()},kill:function(e){var t=e==="scrollTo",i=this._props.indexOf(e);return(t||e==="scrollTo_x")&&(this.skipX=1),(t||e==="scrollTo_y")&&(this.skipY=1),i>-1&&this._props.splice(i,1),!this._props.length}};tn.max=qo;tn.getOffset=hp;tn.buildGetter=Yo;tn.config=function(r){zn||oc()||(zn=pt.config());for(var e in r)zn[e]=r[e]};fp()&&pt.registerPlugin(tn);var Lv=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig;var Rv=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig;var Dv=Math.PI/180,G1=180/Math.PI,Ta=Math.sin,Aa=Math.cos,Uo=Math.abs,Xo=Math.sqrt;var Iv=function(e){return typeof e=="number"};var pp=1e5;var gi=function(e){return Math.round(e*pp)/pp||0};function _p(r,e,t,i,n,o,s){for(var a=r.length,l,u,c,d,h;--a>-1;)for(l=r[a],u=l.length,c=0;c<u;c+=2)d=l[c],h=l[c+1],l[c]=d*e+h*i+o,l[c+1]=d*t+h*n+s;return r._dirty=1,r}function Nv(r,e,t,i,n,o,s,a,l){if(!(r===a&&e===l)){t=Uo(t),i=Uo(i);var u=n%360*Dv,c=Aa(u),d=Ta(u),h=Math.PI,f=h*2,_=(r-a)/2,p=(e-l)/2,g=c*_+d*p,m=-d*_+c*p,v=g*g,w=m*m,x=v/(t*t)+w/(i*i);x>1&&(t=Xo(x)*t,i=Xo(x)*i);var b=t*t,E=i*i,S=(b*E-b*w-E*v)/(b*w+E*v);S<0&&(S=0);var T=(o===s?-1:1)*Xo(S),C=T*(t*m/i),O=T*-(i*g/t),M=(r+a)/2,A=(e+l)/2,P=M+(c*C-d*O),N=A+(d*C+c*O),D=(g-C)/t,H=(m-O)/i,V=(-g-C)/t,F=(-m-O)/i,R=D*D+H*H,y=(H<0?-1:1)*Math.acos(D/Xo(R)),L=(D*F-H*V<0?-1:1)*Math.acos((D*V+H*F)/Xo(R*(V*V+F*F)));isNaN(L)&&(L=h),!s&&L>0?L-=f:s&&L<0&&(L+=f),y%=f,L%=f;var Y=Math.ceil(Uo(L)/(f/4)),K=[],j=L/Y,fe=4/3*Ta(j/2)/(1+Aa(j/2)),W=c*t,G=d*t,ce=d*-i,re=c*i,oe;for(oe=0;oe<Y;oe++)n=y+oe*j,g=Aa(n),m=Ta(n),D=Aa(n+=j),H=Ta(n),K.push(g-fe*m,m+fe*g,D+fe*H,H-fe*D,D,H);for(oe=0;oe<K.length;oe+=2)g=K[oe],m=K[oe+1],K[oe]=g*W+m*ce+P,K[oe+1]=g*G+m*re+N;return K[oe-2]=a,K[oe-1]=l,K}}function gp(r){var e=(r+"").replace(Rv,function(C){var O=+C;return O<1e-4&&O>-1e-4?0:O}).match(Lv)||[],t=[],i=0,n=0,o=2/3,s=e.length,a=0,l="ERROR: malformed path: "+r,u,c,d,h,f,_,p,g,m,v,w,x,b,E,S,T=function(O,M,A,P){v=(A-O)/3,w=(P-M)/3,p.push(O+v,M+w,A-v,P-w,A,P)};if(!r||!isNaN(e[0])||isNaN(e[1]))return console.log(l),t;for(u=0;u<s;u++)if(b=f,isNaN(e[u])?(f=e[u].toUpperCase(),_=f!==e[u]):u--,d=+e[u+1],h=+e[u+2],_&&(d+=i,h+=n),u||(g=d,m=h),f==="M")p&&(p.length<8?t.length-=1:a+=p.length),i=g=d,n=m=h,p=[d,h],t.push(p),u+=2,f="L";else if(f==="C")p||(p=[0,0]),_||(i=n=0),p.push(d,h,i+e[u+3]*1,n+e[u+4]*1,i+=e[u+5]*1,n+=e[u+6]*1),u+=6;else if(f==="S")v=i,w=n,(b==="C"||b==="S")&&(v+=i-p[p.length-4],w+=n-p[p.length-3]),_||(i=n=0),p.push(v,w,d,h,i+=e[u+3]*1,n+=e[u+4]*1),u+=4;else if(f==="Q")v=i+(d-i)*o,w=n+(h-n)*o,_||(i=n=0),i+=e[u+3]*1,n+=e[u+4]*1,p.push(v,w,i+(d-i)*o,n+(h-n)*o,i,n),u+=4;else if(f==="T")v=i-p[p.length-4],w=n-p[p.length-3],p.push(i+v,n+w,d+(i+v*1.5-d)*o,h+(n+w*1.5-h)*o,i=d,n=h),u+=2;else if(f==="H")T(i,n,i=d,n),u+=1;else if(f==="V")T(i,n,i,n=d+(_?n-i:0)),u+=1;else if(f==="L"||f==="Z")f==="Z"&&(d=g,h=m,p.closed=!0),(f==="L"||Uo(i-d)>.5||Uo(n-h)>.5)&&(T(i,n,d,h),f==="L"&&(u+=2)),i=d,n=h;else if(f==="A"){if(E=e[u+4],S=e[u+5],v=e[u+6],w=e[u+7],c=7,E.length>1&&(E.length<3?(w=v,v=S,c--):(w=S,v=E.substr(2),c-=2),S=E.charAt(1),E=E.charAt(0)),x=Nv(i,n,+e[u+1],+e[u+2],+e[u+3],+E,+S,(_?i:0)+v*1,(_?n:0)+w*1),u+=c,x)for(c=0;c<x.length;c++)p.push(x[c]);i=p[p.length-2],n=p[p.length-1]}else console.log(l);return u=p.length,u<6?(t.pop(),u=0):p[0]===p[u-2]&&p[1]===p[u-1]&&(p.closed=!0),t.totalPoints=a+u,t}function mp(r){Iv(r[0])&&(r=[r]);var e="",t=r.length,i,n,o,s;for(n=0;n<t;n++){for(s=r[n],e+="M"+gi(s[0])+","+gi(s[1])+" C",i=s.length,o=2;o<i;o++)e+=gi(s[o++])+","+gi(s[o++])+" "+gi(s[o++])+","+gi(s[o++])+" "+gi(s[o++])+","+gi(s[o])+" ";s.closed&&(e+="z")}return e}var kt,yp,wp=function(){return kt||typeof window<"u"&&(kt=window.gsap)&&kt.registerPlugin&&kt},vp=function(){kt=wp(),kt?(kt.registerEase("_CE",mi.create),yp=1):console.warn("Please gsap.registerPlugin(CustomEase)")},zv=1e20,Ca=function(e){return~~(e*1e3+(e<0?-.5:.5))/1e3},Fv=1,Wv=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/gi,Vv=/[cLlsSaAhHvVtTqQ]/g,Hv=function(e){var t=e.length,i=zv,n;for(n=1;n<t;n+=6)+e[n]<i&&(i=+e[n]);return i},Bv=function(e,t,i){!i&&i!==0&&(i=Math.max(+e[e.length-1],+e[1]));var n=+e[0]*-1,o=-i,s=e.length,a=1/(+e[s-2]+n),l=-t||(Math.abs(+e[s-1]-+e[1])<.01*(+e[s-2]-+e[0])?Hv(e)+o:+e[s-1]+o),u;for(l?l=1/l:l=-a,u=0;u<s;u+=2)e[u]=(+e[u]+n)*a,e[u+1]=(+e[u+1]+o)*l},qv=function r(e,t,i,n,o,s,a,l,u,c,d){var h=(e+i)/2,f=(t+n)/2,_=(i+o)/2,p=(n+s)/2,g=(o+a)/2,m=(s+l)/2,v=(h+_)/2,w=(f+p)/2,x=(_+g)/2,b=(p+m)/2,E=(v+x)/2,S=(w+b)/2,T=a-e,C=l-t,O=Math.abs((i-a)*C-(n-l)*T),M=Math.abs((o-a)*C-(s-l)*T),A;return c||(c=[{x:e,y:t},{x:a,y:l}],d=1),c.splice(d||c.length-1,0,{x:E,y:S}),(O+M)*(O+M)>u*(T*T+C*C)&&(A=c.length,r(e,t,h,f,v,w,E,S,u,c,d),r(E,S,x,b,g,m,a,l,u,c,d+1+(c.length-A))),c},mi=function(){function r(t,i,n){yp||vp(),this.id=t,Fv&&this.setData(i,n)}var e=r.prototype;return e.setData=function(i,n){n=n||{},i=i||"0,0,1,1";var o=i.match(Wv),s=1,a=[],l=[],u=n.precision||1,c=u<=1,d,h,f,_,p,g,m,v,w;if(this.data=i,(Vv.test(i)||~i.indexOf("M")&&i.indexOf("C")<0)&&(o=gp(i)[0]),d=o.length,d===4)o.unshift(0,0),o.push(1,1),d=8;else if((d-2)%6)throw"Invalid CustomEase";for((+o[0]!=0||+o[d-2]!=1)&&Bv(o,n.height,n.originY),this.segment=o,_=2;_<d;_+=6)h={x:+o[_-2],y:+o[_-1]},f={x:+o[_+4],y:+o[_+5]},a.push(h,f),qv(h.x,h.y,+o[_],+o[_+1],+o[_+2],+o[_+3],f.x,f.y,1/(u*2e5),a,a.length-1);for(d=a.length,_=0;_<d;_++)m=a[_],v=a[_-1]||m,(m.x>v.x||v.y!==m.y&&v.x===m.x||m===v)&&m.x<=1?(v.cx=m.x-v.x,v.cy=m.y-v.y,v.n=m,v.nx=m.x,c&&_>1&&Math.abs(v.cy/v.cx-a[_-2].cy/a[_-2].cx)>2&&(c=0),v.cx<s&&(v.cx?s=v.cx:(v.cx=.001,_===d-1&&(v.x-=.001,s=Math.min(s,.001),c=0)))):(a.splice(_--,1),d--);if(d=1/s+1|0,p=1/d,g=0,m=a[0],c){for(_=0;_<d;_++)w=_*p,m.nx<w&&(m=a[++g]),h=m.y+(w-m.x)/m.cx*m.cy,l[_]={x:w,cx:p,y:h,cy:0,nx:9},_&&(l[_-1].cy=h-l[_-1].y);g=a[a.length-1],l[d-1].cy=g.y-h,l[d-1].cx=g.x-l[l.length-1].x}else{for(_=0;_<d;_++)m.nx<_*p&&(m=a[++g]),l[_]=m;g<a.length-1&&(l[_-1]=a[a.length-2])}return this.ease=function(x){var b=l[x*d|0]||l[d-1];return b.nx<x&&(b=b.n),b.y+(x-b.x)/b.cx*b.cy},this.ease.custom=this,this.id&&kt&&kt.registerEase(this.id,this.ease),this},e.getSVGData=function(i){return r.getSVGData(this,i)},r.create=function(i,n,o){return new r(i,n,o).ease},r.register=function(i){kt=i,vp()},r.get=function(i){return kt.parseEase(i)},r.getSVGData=function(i,n){n=n||{};var o=n.width||100,s=n.height||100,a=n.x||0,l=(n.y||0)+s,u=kt.utils.toArray(n.path)[0],c,d,h,f,_,p,g,m,v,w;if(n.invert&&(s=-s,l=0),typeof i=="string"&&(i=kt.parseEase(i)),i.custom&&(i=i.custom),i instanceof r)c=mp(_p([i.segment],o,0,0,-s,a,l));else{for(c=[a,l],g=Math.max(5,(n.precision||1)*200),f=1/g,g+=2,m=5/g,v=Ca(a+f*o),w=Ca(l+i(f)*-s),d=(w-l)/(v-a),h=2;h<g;h++)_=Ca(a+h*f*o),p=Ca(l+i(h*f)*-s),(Math.abs((p-w)/(_-v)-d)>m||h===g-1)&&(c.push(v,w),d=(p-w)/(_-v)),v=_,w=p;c="M"+c.join(",")}return u&&u.setAttribute("d",c),c},r}();mi.version="3.13.0";mi.headless=!0;wp()&&kt.registerPlugin(mi);var Go,Fn,ac,Yv=()=>ac||jt.register(window.gsap),bp=typeof Intl<"u"?new Intl.Segmenter:0,Oa=r=>typeof r=="string"?Oa(document.querySelectorAll(r)):"length"in r?Array.from(r):[r],xp=r=>Oa(r).filter(e=>e instanceof HTMLElement),lc=[],sc=function(){},Xv=/\s+/g,Sp=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"),Ep={left:0,top:0,width:0,height:0},Tp=(r,e)=>{if(e){let t=new Set(r.join("").match(e)||lc),i=r.length,n,o,s,a;if(t.size)for(;--i>-1;){o=r[i];for(s of t)if(s.startsWith(o)&&s.length>o.length){for(n=0,a=o;s.startsWith(a+=r[i+ ++n])&&a.length<s.length;);if(n&&a.length===s.length){r[i]=s,r.splice(i+1,n);break}}}}return r},Ap=r=>window.getComputedStyle(r).display==="inline"&&(r.style.display="inline-block"),Wn=(r,e,t)=>e.insertBefore(typeof r=="string"?document.createTextNode(r):r,t),uc=(r,e,t)=>{let i=e[r+"sClass"]||"",{tag:n="div",aria:o="auto",propIndex:s=!1}=e,a=r==="line"?"block":"inline-block",l=i.indexOf("++")>-1,u=c=>{let d=document.createElement(n),h=t.length+1;return i&&(d.className=i+(l?" "+i+h:"")),s&&d.style.setProperty("--"+r,h+""),o!=="none"&&d.setAttribute("aria-hidden","true"),n!=="span"&&(d.style.position="relative",d.style.display=a),d.textContent=c,t.push(d),d};return l&&(i=i.replace("++","")),u.collection=t,u},Uv=(r,e,t,i)=>{let n=uc("line",t,i),o=window.getComputedStyle(r).textAlign||"left";return(s,a)=>{let l=n("");for(l.style.textAlign=o,r.insertBefore(l,e[s]);s<a;s++)l.appendChild(e[s]);l.normalize()}},Cp=(r,e,t,i,n,o,s,a,l,u)=>{var c;let d=Array.from(r.childNodes),h=0,{wordDelimiter:f,reduceWhiteSpace:_=!0,prepareText:p}=e,g=r.getBoundingClientRect(),m=g,v=!_&&window.getComputedStyle(r).whiteSpace.substring(0,3)==="pre",w=0,x=t.collection,b,E,S,T,C,O,M,A,P,N,D,H,V,F,R,y,L,Y;for(typeof f=="object"?(S=f.delimiter||f,E=f.replaceWith||""):E=f===""?"":f||" ",b=E!==" ";h<d.length;h++)if(T=d[h],T.nodeType===3){for(R=T.textContent||"",_?R=R.replace(Xv," "):v&&(R=R.replace(/\n/g,E+`
6
- `)),p&&(R=p(R,r)),T.textContent=R,C=E||S?R.split(S||E):R.match(a)||lc,L=C[C.length-1],A=b?L.slice(-1)===" ":!L,L||C.pop(),m=g,M=b?C[0].charAt(0)===" ":!C[0],M&&Wn(" ",r,T),C[0]||C.shift(),Tp(C,l),o&&u||(T.textContent=""),P=1;P<=C.length;P++)if(y=C[P-1],!_&&v&&y.charAt(0)===`
7
- `&&((c=T.previousSibling)==null||c.remove(),Wn(document.createElement("br"),r,T),y=y.slice(1)),!_&&y==="")Wn(E,r,T);else if(y===" ")r.insertBefore(document.createTextNode(" "),T);else{if(b&&y.charAt(0)===" "&&Wn(" ",r,T),w&&P===1&&!M&&x.indexOf(w.parentNode)>-1?(O=x[x.length-1],O.appendChild(document.createTextNode(i?"":y))):(O=t(i?"":y),Wn(O,r,T),w&&P===1&&!M&&O.insertBefore(w,O.firstChild)),i)for(D=bp?Tp([...bp.segment(y)].map(K=>K.segment),l):y.match(a)||lc,Y=0;Y<D.length;Y++)O.appendChild(D[Y]===" "?document.createTextNode(" "):i(D[Y]));if(o&&u){if(R=T.textContent=R.substring(y.length+1,R.length),N=O.getBoundingClientRect(),N.top>m.top&&N.left<=m.left){for(H=r.cloneNode(),V=r.childNodes[0];V&&V!==O;)F=V,V=V.nextSibling,H.appendChild(F);r.parentNode.insertBefore(H,r),n&&Ap(H)}m=N}(P<C.length||A)&&Wn(P>=C.length?" ":b&&y.slice(-1)===" "?" "+E:E,r,T)}r.removeChild(T),w=0}else T.nodeType===1&&(s&&s.indexOf(T)>-1?(x.indexOf(T.previousSibling)>-1&&x[x.length-1].appendChild(T),w=T):(Cp(T,e,t,i,n,o,s,a,l,!0),w=0),n&&Ap(T))},Op=class kp{constructor(e,t){this.isSplit=!1,Yv(),this.elements=xp(e),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=t,this._split=()=>this.isSplit&&this.split(this.vars);let i=[],n,o=()=>{let s=i.length,a;for(;s--;){a=i[s];let l=a.element.offsetWidth;if(l!==a.width){a.width=l,this._split();return}}};this._data={orig:i,obs:typeof ResizeObserver<"u"&&new ResizeObserver(()=>{clearTimeout(n),n=setTimeout(o,200)})},sc(this),this.split(t)}split(e){this.isSplit&&this.revert(),this.vars=e=e||this.vars||{};let{type:t="chars,words,lines",aria:i="auto",deepSlice:n=!0,smartWrap:o,onSplit:s,autoSplit:a=!1,specialChars:l,mask:u}=this.vars,c=t.indexOf("lines")>-1,d=t.indexOf("chars")>-1,h=t.indexOf("words")>-1,f=d&&!h&&!c,_=l&&("push"in l?new RegExp("(?:"+l.join("|")+")","gu"):l),p=_?new RegExp(_.source+"|"+Sp.source,"gu"):Sp,g=!!e.ignore&&xp(e.ignore),{orig:m,animTime:v,obs:w}=this._data,x;return(d||h||c)&&(this.elements.forEach((b,E)=>{m[E]={element:b,html:b.innerHTML,ariaL:b.getAttribute("aria-label"),ariaH:b.getAttribute("aria-hidden")},i==="auto"?b.setAttribute("aria-label",(b.textContent||"").trim()):i==="hidden"&&b.setAttribute("aria-hidden","true");let S=[],T=[],C=[],O=d?uc("char",e,S):null,M=uc("word",e,T),A,P,N,D;if(Cp(b,e,M,O,f,n&&(c||f),g,p,_,!1),c){let H=Oa(b.childNodes),V=Uv(b,H,e,C),F,R=[],y=0,L=H.map(K=>K.nodeType===1?K.getBoundingClientRect():Ep),Y=Ep;for(A=0;A<H.length;A++)F=H[A],F.nodeType===1&&(F.nodeName==="BR"?(R.push(F),V(y,A+1),y=A+1,Y=L[y]):(A&&L[A].top>Y.top&&L[A].left<=Y.left&&(V(y,A),y=A),Y=L[A]));y<A&&V(y,A),R.forEach(K=>{var j;return(j=K.parentNode)==null?void 0:j.removeChild(K)})}if(!h){for(A=0;A<T.length;A++)if(P=T[A],d||!P.nextSibling||P.nextSibling.nodeType!==3)if(o&&!c){for(N=document.createElement("span"),N.style.whiteSpace="nowrap";P.firstChild;)N.appendChild(P.firstChild);P.replaceWith(N)}else P.replaceWith(...P.childNodes);else D=P.nextSibling,D&&D.nodeType===3&&(D.textContent=(P.textContent||"")+(D.textContent||""),P.remove());T.length=0,b.normalize()}this.lines.push(...C),this.words.push(...T),this.chars.push(...S)}),u&&this[u]&&this.masks.push(...this[u].map(b=>{let E=b.cloneNode();return b.replaceWith(E),E.appendChild(b),b.className&&(E.className=b.className.replace(/(\b\w+\b)/g,"$1-mask")),E.style.overflow="clip",E}))),this.isSplit=!0,Fn&&(a?Fn.addEventListener("loadingdone",this._split):Fn.status==="loading"&&console.warn("SplitText called before fonts loaded")),(x=s&&s(this))&&x.totalTime&&(this._data.anim=v?x.totalTime(v):x),c&&a&&this.elements.forEach((b,E)=>{m[E].width=b.offsetWidth,w&&w.observe(b)}),this}revert(){var e,t;let{orig:i,anim:n,obs:o}=this._data;return o&&o.disconnect(),i.forEach(({element:s,html:a,ariaL:l,ariaH:u})=>{s.innerHTML=a,l?s.setAttribute("aria-label",l):s.removeAttribute("aria-label"),u?s.setAttribute("aria-hidden",u):s.removeAttribute("aria-hidden")}),this.chars.length=this.words.length=this.lines.length=i.length=this.masks.length=0,this.isSplit=!1,Fn?.removeEventListener("loadingdone",this._split),n&&(this._data.animTime=n.totalTime(),n.revert()),(t=(e=this.vars).onRevert)==null||t.call(e,this),this}static create(e,t){return new kp(e,t)}static register(e){Go=Go||e||window.gsap,Go&&(Oa=Go.utils.toArray,sc=Go.core.context||sc),!ac&&window.innerWidth>0&&(Fn=document.fonts,ac=!0)}};Op.version="3.13.0";var jt=Op;function Mp(r,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,i.key,i)}}function Gv(r,e,t){return e&&Mp(r.prototype,e),t&&Mp(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}var Pp="(prefers-reduced-motion: reduce)",Bn=1,$v=2,Xn=3,Gn=4,ns=5,Ma=6,Da=7,jv={CREATED:Bn,MOUNTED:$v,IDLE:Xn,MOVING:Gn,SCROLLING:ns,DRAGGING:Ma,DESTROYED:Da};function Gr(r){r.length=0}function xi(r,e,t){return Array.prototype.slice.call(r,e,t)}function ve(r){return r.bind.apply(r,[null].concat(xi(arguments,1)))}var Xp=setTimeout,pc=function(){};function Lp(r){return requestAnimationFrame(r)}function Fa(r,e){return typeof e===r}function Ko(r){return!bc(r)&&Fa("object",r)}var wc=Array.isArray,Up=ve(Fa,"function"),yi=ve(Fa,"string"),os=ve(Fa,"undefined");function bc(r){return r===null}function Gp(r){try{return r instanceof(r.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function ss(r){return wc(r)?r:[r]}function Qt(r,e){ss(r).forEach(e)}function xc(r,e){return r.indexOf(e)>-1}function Pa(r,e){return r.push.apply(r,ss(e)),r}function Yr(r,e,t){r&&Qt(e,function(i){i&&r.classList[t?"add":"remove"](i)})}function xr(r,e){Yr(r,yi(e)?e.split(" "):e,!0)}function as(r,e){Qt(e,r.appendChild.bind(r))}function Sc(r,e){Qt(r,function(t){var i=(e||t).parentNode;i&&i.insertBefore(t,e)})}function Zo(r,e){return Gp(r)&&(r.msMatchesSelector||r.matches).call(r,e)}function $p(r,e){var t=r?xi(r.children):[];return e?t.filter(function(i){return Zo(i,e)}):t}function ls(r,e){return e?$p(r,e)[0]:r.firstElementChild}var Qo=Object.keys;function nn(r,e,t){return r&&(t?Qo(r).reverse():Qo(r)).forEach(function(i){i!=="__proto__"&&e(r[i],i)}),r}function Jo(r){return xi(arguments,1).forEach(function(e){nn(e,function(t,i){r[i]=e[i]})}),r}function vi(r){return xi(arguments,1).forEach(function(e){nn(e,function(t,i){wc(t)?r[i]=t.slice():Ko(t)?r[i]=vi({},Ko(r[i])?r[i]:{},t):r[i]=t})}),r}function Rp(r,e){Qt(e||Qo(r),function(t){delete r[t]})}function Sr(r,e){Qt(r,function(t){Qt(e,function(i){t&&t.removeAttribute(i)})})}function te(r,e,t){Ko(e)?nn(e,function(i,n){te(r,n,i)}):Qt(r,function(i){bc(t)||t===""?Sr(i,e):i.setAttribute(e,String(t))})}function qn(r,e,t){var i=document.createElement(r);return e&&(yi(e)?xr(i,e):te(i,e)),t&&as(t,i),i}function lr(r,e,t){if(os(t))return getComputedStyle(r)[e];bc(t)||(r.style[e]=""+t)}function es(r,e){lr(r,"display",e)}function jp(r){r.setActive&&r.setActive()||r.focus({preventScroll:!0})}function ur(r,e){return r.getAttribute(e)}function Dp(r,e){return r&&r.classList.contains(e)}function Kt(r){return r.getBoundingClientRect()}function on(r){Qt(r,function(e){e&&e.parentNode&&e.parentNode.removeChild(e)})}function Kp(r){return ls(new DOMParser().parseFromString(r,"text/html").body)}function qr(r,e){r.preventDefault(),e&&(r.stopPropagation(),r.stopImmediatePropagation())}function Zp(r,e){return r&&r.querySelector(e)}function Ec(r,e){return e?xi(r.querySelectorAll(e)):[]}function Xr(r,e){Yr(r,e,!1)}function _c(r){return r.timeStamp}function rn(r){return yi(r)?r:r?r+"px":""}var us="splide",Tc="data-"+us;function $o(r,e){if(!r)throw new Error("["+us+"] "+(e||""))}var wi=Math.min,Ia=Math.max,Na=Math.floor,ts=Math.ceil,Mt=Math.abs;function Qp(r,e,t){return Mt(r-e)<t}function La(r,e,t,i){var n=wi(e,t),o=Ia(e,t);return i?n<r&&r<o:n<=r&&r<=o}function Vn(r,e,t){var i=wi(e,t),n=Ia(e,t);return wi(Ia(i,r),n)}function gc(r){return+(r>0)-+(r<0)}function mc(r,e){return Qt(e,function(t){r=r.replace("%s",""+t)}),r}function Ac(r){return r<10?"0"+r:""+r}var Ip={};function Kv(r){return""+r+Ac(Ip[r]=(Ip[r]||0)+1)}function Jp(){var r=[];function e(s,a,l,u){n(s,a,function(c,d,h){var f="addEventListener"in c,_=f?c.removeEventListener.bind(c,d,l,u):c.removeListener.bind(c,l);f?c.addEventListener(d,l,u):c.addListener(l),r.push([c,d,h,l,_])})}function t(s,a,l){n(s,a,function(u,c,d){r=r.filter(function(h){return h[0]===u&&h[1]===c&&h[2]===d&&(!l||h[3]===l)?(h[4](),!1):!0})})}function i(s,a,l){var u,c=!0;return typeof CustomEvent=="function"?u=new CustomEvent(a,{bubbles:c,detail:l}):(u=document.createEvent("CustomEvent"),u.initCustomEvent(a,c,!1,l)),s.dispatchEvent(u),u}function n(s,a,l){Qt(s,function(u){u&&Qt(a,function(c){c.split(" ").forEach(function(d){var h=d.split(".");l(u,h[0],h[1])})})})}function o(){r.forEach(function(s){s[4]()}),Gr(r)}return{bind:e,unbind:t,dispatch:i,destroy:o}}var an="mounted",Np="ready",bi="move",cs="moved",e_="click",Zv="active",Qv="inactive",Jv="visible",ey="hidden",Ue="refresh",Pt="updated",rs="resize",Cc="resized",ty="drag",ry="dragging",iy="dragged",Oc="scroll",$n="scrolled",ny="overflow",t_="destroy",oy="arrows:mounted",sy="arrows:updated",ay="pagination:mounted",ly="pagination:updated",r_="navigation:mounted",i_="autoplay:play",uy="autoplay:playing",n_="autoplay:pause",o_="lazyload:loaded",s_="sk",a_="sh",za="ei";function Te(r){var e=r?r.event.bus:document.createDocumentFragment(),t=Jp();function i(o,s){t.bind(e,ss(o).join(" "),function(a){s.apply(s,wc(a.detail)?a.detail:[])})}function n(o){t.dispatch(e,o,xi(arguments,1))}return r&&r.event.on(t_,t.destroy),Jo(t,{bus:e,on:i,off:ve(t.unbind,e),emit:n})}function Wa(r,e,t,i){var n=Date.now,o,s=0,a,l=!0,u=0;function c(){if(!l){if(s=r?wi((n()-o)/r,1):1,t&&t(s),s>=1&&(e(),o=n(),i&&++u>=i))return h();a=Lp(c)}}function d(m){m||_(),o=n()-(m?s*r:0),l=!1,a=Lp(c)}function h(){l=!0}function f(){o=n(),s=0,t&&t(s)}function _(){a&&cancelAnimationFrame(a),s=0,a=0,l=!0}function p(m){r=m}function g(){return l}return{start:d,rewind:f,pause:h,cancel:_,set:p,isPaused:g}}function cy(r){var e=r;function t(n){e=n}function i(n){return xc(ss(n),e)}return{set:t,is:i}}function fy(r,e){var t=Wa(e||0,r,null,1);return function(){t.isPaused()&&t.start()}}function dy(r,e,t){var i=r.state,n=t.breakpoints||{},o=t.reducedMotion||{},s=Jp(),a=[];function l(){var _=t.mediaQuery==="min";Qo(n).sort(function(p,g){return _?+p-+g:+g-+p}).forEach(function(p){c(n[p],"("+(_?"min":"max")+"-width:"+p+"px)")}),c(o,Pp),d()}function u(_){_&&s.destroy()}function c(_,p){var g=matchMedia(p);s.bind(g,"change",d),a.push([_,g])}function d(){var _=i.is(Da),p=t.direction,g=a.reduce(function(m,v){return vi(m,v[1].matches?v[0]:{})},{});Rp(t),f(g),t.destroy?r.destroy(t.destroy==="completely"):_?(u(!0),r.mount()):p!==t.direction&&r.refresh()}function h(_){matchMedia(Pp).matches&&(_?vi(t,o):Rp(t,Qo(o)))}function f(_,p,g){vi(t,_),p&&vi(Object.getPrototypeOf(t),_),(g||!i.is(Bn))&&r.emit(Pt,t)}return{setup:l,destroy:u,reduce:h,set:f}}var Va="Arrow",Ha=Va+"Left",Ba=Va+"Right",l_=Va+"Up",u_=Va+"Down";var zp="rtl",qa="ttb",cc={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[l_,Ba],ArrowRight:[u_,Ha]};function hy(r,e,t){function i(o,s,a){a=a||t.direction;var l=a===zp&&!s?1:a===qa?0:-1;return cc[o]&&cc[o][l]||o.replace(/width|left|right/i,function(u,c){var d=cc[u.toLowerCase()][l]||u;return c>0?d.charAt(0).toUpperCase()+d.slice(1):d})}function n(o){return o*(t.direction===zp?1:-1)}return{resolve:i,orient:n}}var Ur="role",Yn="tabindex",py="disabled",cr="aria-",fs=cr+"controls",c_=cr+"current",Fp=cr+"selected",Zt=cr+"label",kc=cr+"labelledby",f_=cr+"hidden",Mc=cr+"orientation",is=cr+"roledescription",Wp=cr+"live",Vp=cr+"busy",Hp=cr+"atomic",Pc=[Ur,Yn,py,fs,c_,Zt,kc,f_,Mc,is],Er=us+"__",Si="is-",fc=us,Bp=Er+"track",_y=Er+"list",Ya=Er+"slide",d_=Ya+"--clone",gy=Ya+"__container",Lc=Er+"arrows",Xa=Er+"arrow",h_=Xa+"--prev",p_=Xa+"--next",Ua=Er+"pagination",__=Ua+"__page",my=Er+"progress",vy=my+"__bar",Rc=Er+"toggle",Q1=Rc+"__play",J1=Rc+"__pause",yy=Er+"spinner",wy=Er+"sr",by=Si+"initialized",sn=Si+"active",g_=Si+"prev",m_=Si+"next",vc=Si+"visible",yc=Si+"loading",v_=Si+"focus-in",y_=Si+"overflow",xy=[sn,vc,g_,m_,yc,v_,y_],Sy={slide:Ya,clone:d_,arrows:Lc,arrow:Xa,prev:h_,next:p_,pagination:Ua,page:__,spinner:yy};function Ey(r,e){if(Up(r.closest))return r.closest(e);for(var t=r;t&&t.nodeType===1&&!Zo(t,e);)t=t.parentElement;return t}var Ty=5,qp=200,w_="touchstart mousedown",dc="touchmove mousemove",hc="touchend touchcancel mouseup click";function Ay(r,e,t){var i=Te(r),n=i.on,o=i.bind,s=r.root,a=t.i18n,l={},u=[],c=[],d=[],h,f,_;function p(){w(),x(),v()}function g(){n(Ue,m),n(Ue,p),n(Pt,v),o(document,w_+" keydown",function(S){_=S.type==="keydown"},{capture:!0}),o(s,"focusin",function(){Yr(s,v_,!!_)})}function m(S){var T=Pc.concat("style");Gr(u),Xr(s,c),Xr(h,d),Sr([h,f],T),Sr(s,S?T:["style",is])}function v(){Xr(s,c),Xr(h,d),c=E(fc),d=E(Bp),xr(s,c),xr(h,d),te(s,Zt,t.label),te(s,kc,t.labelledby)}function w(){h=b("."+Bp),f=ls(h,"."+_y),$o(h&&f,"A track/list element is missing."),Pa(u,$p(f,"."+Ya+":not(."+d_+")")),nn({arrows:Lc,pagination:Ua,prev:h_,next:p_,bar:vy,toggle:Rc},function(S,T){l[T]=b("."+S)}),Jo(l,{root:s,track:h,list:f,slides:u})}function x(){var S=s.id||Kv(us),T=t.role;s.id=S,h.id=h.id||S+"-track",f.id=f.id||S+"-list",!ur(s,Ur)&&s.tagName!=="SECTION"&&T&&te(s,Ur,T),te(s,is,a.carousel),te(f,Ur,"presentation")}function b(S){var T=Zp(s,S);return T&&Ey(T,"."+fc)===s?T:void 0}function E(S){return[S+"--"+t.type,S+"--"+t.direction,t.drag&&S+"--draggable",t.isNavigation&&S+"--nav",S===fc&&sn]}return Jo(l,{setup:p,mount:g,destroy:m})}var Un="slide",jn="loop",ds="fade";function Cy(r,e,t,i){var n=Te(r),o=n.on,s=n.emit,a=n.bind,l=r.Components,u=r.root,c=r.options,d=c.isNavigation,h=c.updateOnMove,f=c.i18n,_=c.pagination,p=c.slideFocus,g=l.Direction.resolve,m=ur(i,"style"),v=ur(i,Zt),w=t>-1,x=ls(i,"."+gy),b;function E(){w||(i.id=u.id+"-slide"+Ac(e+1),te(i,Ur,_?"tabpanel":"group"),te(i,is,f.slide),te(i,Zt,v||mc(f.slideLabel,[e+1,r.length]))),S()}function S(){a(i,"click",ve(s,e_,F)),a(i,"keydown",ve(s,s_,F)),o([cs,a_,$n],M),o(r_,C),h&&o(bi,O)}function T(){b=!0,n.destroy(),Xr(i,xy),Sr(i,Pc),te(i,"style",m),te(i,Zt,v||"")}function C(){var R=r.splides.map(function(y){var L=y.splide.Components.Slides.getAt(e);return L?L.slide.id:""}).join(" ");te(i,Zt,mc(f.slideX,(w?t:e)+1)),te(i,fs,R),te(i,Ur,p?"button":""),p&&Sr(i,is)}function O(){b||M()}function M(){if(!b){var R=r.index;A(),P(),Yr(i,g_,e===R-1),Yr(i,m_,e===R+1)}}function A(){var R=D();R!==Dp(i,sn)&&(Yr(i,sn,R),te(i,c_,d&&R||""),s(R?Zv:Qv,F))}function P(){var R=H(),y=!R&&(!D()||w);if(r.state.is([Gn,ns])||te(i,f_,y||""),te(Ec(i,c.focusableNodes||""),Yn,y?-1:""),p&&te(i,Yn,y?-1:0),R!==Dp(i,vc)&&(Yr(i,vc,R),s(R?Jv:ey,F)),!R&&document.activeElement===i){var L=l.Slides.getAt(r.index);L&&jp(L.slide)}}function N(R,y,L){lr(L&&x||i,R,y)}function D(){var R=r.index;return R===e||c.cloneStatus&&R===t}function H(){if(r.is(ds))return D();var R=Kt(l.Elements.track),y=Kt(i),L=g("left",!0),Y=g("right",!0);return Na(R[L])<=ts(y[L])&&Na(y[Y])<=ts(R[Y])}function V(R,y){var L=Mt(R-e);return!w&&(c.rewind||r.is(jn))&&(L=wi(L,r.length-L)),L<=y}var F={index:e,slideIndex:t,slide:i,container:x,isClone:w,mount:E,destroy:T,update:M,style:N,isWithin:V};return F}function Oy(r,e,t){var i=Te(r),n=i.on,o=i.emit,s=i.bind,a=e.Elements,l=a.slides,u=a.list,c=[];function d(){h(),n(Ue,f),n(Ue,h)}function h(){l.forEach(function(M,A){p(M,A,-1)})}function f(){b(function(M){M.destroy()}),Gr(c)}function _(){b(function(M){M.update()})}function p(M,A,P){var N=Cy(r,A,P,M);N.mount(),c.push(N),c.sort(function(D,H){return D.index-H.index})}function g(M){return M?E(function(A){return!A.isClone}):c}function m(M){var A=e.Controller,P=A.toIndex(M),N=A.hasFocus()?1:t.perPage;return E(function(D){return La(D.index,P,P+N-1)})}function v(M){return E(M)[0]}function w(M,A){Qt(M,function(P){if(yi(P)&&(P=Kp(P)),Gp(P)){var N=l[A];N?Sc(P,N):as(u,P),xr(P,t.classes.slide),T(P,ve(o,rs))}}),o(Ue)}function x(M){on(E(M).map(function(A){return A.slide})),o(Ue)}function b(M,A){g(A).forEach(M)}function E(M){return c.filter(Up(M)?M:function(A){return yi(M)?Zo(A.slide,M):xc(ss(M),A.index)})}function S(M,A,P){b(function(N){N.style(M,A,P)})}function T(M,A){var P=Ec(M,"img"),N=P.length;N?P.forEach(function(D){s(D,"load error",function(){--N||A()})}):A()}function C(M){return M?l.length:c.length}function O(){return c.length>t.perPage}return{mount:d,destroy:f,update:_,register:p,get:g,getIn:m,getAt:v,add:w,remove:x,forEach:b,filter:E,style:S,getLength:C,isEnough:O}}function ky(r,e,t){var i=Te(r),n=i.on,o=i.bind,s=i.emit,a=e.Slides,l=e.Direction.resolve,u=e.Elements,c=u.root,d=u.track,h=u.list,f=a.getAt,_=a.style,p,g,m;function v(){w(),o(window,"resize load",fy(ve(s,rs))),n([Pt,Ue],w),n(rs,x)}function w(){p=t.direction===qa,lr(c,"maxWidth",rn(t.width)),lr(d,l("paddingLeft"),b(!1)),lr(d,l("paddingRight"),b(!0)),x(!0)}function x(F){var R=Kt(c);(F||g.width!==R.width||g.height!==R.height)&&(lr(d,"height",E()),_(l("marginRight"),rn(t.gap)),_("width",T()),_("height",C(),!0),g=R,s(Cc),m!==(m=V())&&(Yr(c,y_,m),s(ny,m)))}function b(F){var R=t.padding,y=l(F?"right":"left");return R&&rn(R[y]||(Ko(R)?0:R))||"0px"}function E(){var F="";return p&&(F=S(),$o(F,"height or heightRatio is missing."),F="calc("+F+" - "+b(!1)+" - "+b(!0)+")"),F}function S(){return rn(t.height||Kt(h).width*t.heightRatio)}function T(){return t.autoWidth?null:rn(t.fixedWidth)||(p?"":O())}function C(){return rn(t.fixedHeight)||(p?t.autoHeight?null:O():S())}function O(){var F=rn(t.gap);return"calc((100%"+(F&&" + "+F)+")/"+(t.perPage||1)+(F&&" - "+F)+")"}function M(){return Kt(h)[l("width")]}function A(F,R){var y=f(F||0);return y?Kt(y.slide)[l("width")]+(R?0:D()):0}function P(F,R){var y=f(F);if(y){var L=Kt(y.slide)[l("right")],Y=Kt(h)[l("left")];return Mt(L-Y)+(R?0:D())}return 0}function N(F){return P(r.length-1)-P(0)+A(0,F)}function D(){var F=f(0);return F&&parseFloat(lr(F.slide,l("marginRight")))||0}function H(F){return parseFloat(lr(d,l("padding"+(F?"Right":"Left"))))||0}function V(){return r.is(ds)||N(!0)>M()}return{mount:v,resize:x,listSize:M,slideSize:A,sliderSize:N,totalSize:P,getPadding:H,isOverflow:V}}var My=2;function Py(r,e,t){var i=Te(r),n=i.on,o=e.Elements,s=e.Slides,a=e.Direction.resolve,l=[],u;function c(){n(Ue,d),n([Pt,rs],f),(u=g())&&(_(u),e.Layout.resize(!0))}function d(){h(),c()}function h(){on(l),Gr(l),i.destroy()}function f(){var m=g();u!==m&&(u<m||!m)&&i.emit(Ue)}function _(m){var v=s.get().slice(),w=v.length;if(w){for(;v.length<m;)Pa(v,v);Pa(v.slice(-m),v.slice(0,m)).forEach(function(x,b){var E=b<m,S=p(x.slide,b);E?Sc(S,v[0].slide):as(o.list,S),Pa(l,S),s.register(S,b-m+(E?0:w),x.index)})}}function p(m,v){var w=m.cloneNode(!0);return xr(w,t.classes.clone),w.id=r.root.id+"-clone"+Ac(v+1),w}function g(){var m=t.clones;if(!r.is(jn))m=0;else if(os(m)){var v=t[a("fixedWidth")]&&e.Layout.slideSize(0),w=v&&ts(Kt(o.track)[a("width")]/v);m=w||t[a("autoWidth")]&&r.length||t.perPage*My}return m}return{mount:c,destroy:h}}function Ly(r,e,t){var i=Te(r),n=i.on,o=i.emit,s=r.state.set,a=e.Layout,l=a.slideSize,u=a.getPadding,c=a.totalSize,d=a.listSize,h=a.sliderSize,f=e.Direction,_=f.resolve,p=f.orient,g=e.Elements,m=g.list,v=g.track,w;function x(){w=e.Transition,n([an,Cc,Pt,Ue],b)}function b(){e.Controller.isBusy()||(e.Scroll.cancel(),S(r.index),e.Slides.update())}function E(y,L,Y,K){y!==L&&F(y>Y)&&(M(),T(O(N(),y>Y),!0)),s(Gn),o(bi,L,Y,y),w.start(L,function(){s(Xn),o(cs,L,Y,y),K&&K()})}function S(y){T(P(y,!0))}function T(y,L){if(!r.is(ds)){var Y=L?y:C(y);lr(m,"transform","translate"+_("X")+"("+Y+"px)"),y!==Y&&o(a_)}}function C(y){if(r.is(jn)){var L=A(y),Y=L>e.Controller.getEnd(),K=L<0;(K||Y)&&(y=O(y,Y))}return y}function O(y,L){var Y=y-V(L),K=h();return y-=p(K*(ts(Mt(Y)/K)||1))*(L?1:-1),y}function M(){T(N(),!0),w.cancel()}function A(y){for(var L=e.Slides.get(),Y=0,K=1/0,j=0;j<L.length;j++){var fe=L[j].index,W=Mt(P(fe,!0)-y);if(W<=K)K=W,Y=fe;else break}return Y}function P(y,L){var Y=p(c(y-1)-H(y));return L?D(Y):Y}function N(){var y=_("left");return Kt(m)[y]-Kt(v)[y]+p(u(!1))}function D(y){return t.trimSpace&&r.is(Un)&&(y=Vn(y,0,p(h(!0)-d()))),y}function H(y){var L=t.focus;return L==="center"?(d()-l(y,!0))/2:+L*l(y)||0}function V(y){return P(y?e.Controller.getEnd():0,!!t.trimSpace)}function F(y){var L=p(O(N(),y));return y?L>=0:L<=m[_("scrollWidth")]-Kt(v)[_("width")]}function R(y,L){L=os(L)?N():L;var Y=y!==!0&&p(L)<p(V(!1)),K=y!==!1&&p(L)>p(V(!0));return Y||K}return{mount:x,move:E,jump:S,translate:T,shift:O,cancel:M,toIndex:A,toPosition:P,getPosition:N,getLimit:V,exceededLimit:R,reposition:b}}function Ry(r,e,t){var i=Te(r),n=i.on,o=i.emit,s=e.Move,a=s.getPosition,l=s.getLimit,u=s.toPosition,c=e.Slides,d=c.isEnough,h=c.getLength,f=t.omitEnd,_=r.is(jn),p=r.is(Un),g=ve(N,!1),m=ve(N,!0),v=t.start||0,w,x=v,b,E,S;function T(){C(),n([Pt,Ue,za],C),n(Cc,O)}function C(){b=h(!0),E=t.perMove,S=t.perPage,w=F();var W=Vn(v,0,f?w:b-1);W!==v&&(v=W,s.reposition())}function O(){w!==F()&&o(za)}function M(W,G,ce){if(!fe()){var re=P(W),oe=V(re);oe>-1&&(G||oe!==v)&&(Y(oe),s.move(re,oe,x,ce))}}function A(W,G,ce,re){e.Scroll.scroll(W,G,ce,function(){var oe=V(s.toIndex(a()));Y(f?wi(oe,w):oe),re&&re()})}function P(W){var G=v;if(yi(W)){var ce=W.match(/([+\-<>])(\d+)?/)||[],re=ce[1],oe=ce[2];re==="+"||re==="-"?G=D(v+ +(""+re+(+oe||1)),v):re===">"?G=oe?R(+oe):g(!0):re==="<"&&(G=m(!0))}else G=_?W:Vn(W,0,w);return G}function N(W,G){var ce=E||(j()?1:S),re=D(v+ce*(W?-1:1),v,!(E||j()));return re===-1&&p&&!Qp(a(),l(!W),1)?W?0:w:G?re:V(re)}function D(W,G,ce){if(d()||j()){var re=H(W);re!==W&&(G=W,W=re,ce=!1),W<0||W>w?!E&&(La(0,W,G,!0)||La(w,G,W,!0))?W=R(y(W)):_?W=ce?W<0?-(b%S||S):b:W:t.rewind?W=W<0?w:0:W=-1:ce&&W!==G&&(W=R(y(G)+(W<G?-1:1)))}else W=-1;return W}function H(W){if(p&&t.trimSpace==="move"&&W!==v)for(var G=a();G===u(W,!0)&&La(W,0,r.length-1,!t.rewind);)W<v?--W:++W;return W}function V(W){return _?(W+b)%b||0:W}function F(){for(var W=b-(j()||_&&E?1:S);f&&W-- >0;)if(u(b-1,!0)!==u(W,!0)){W++;break}return Vn(W,0,b-1)}function R(W){return Vn(j()?W:S*W,0,w)}function y(W){return j()?wi(W,w):Na((W>=w?b-1:W)/S)}function L(W){var G=s.toIndex(W);return p?Vn(G,0,w):G}function Y(W){W!==v&&(x=v,v=W)}function K(W){return W?x:v}function j(){return!os(t.focus)||t.isNavigation}function fe(){return r.state.is([Gn,ns])&&!!t.waitForTransition}return{mount:T,go:M,scroll:A,getNext:g,getPrev:m,getAdjacent:N,getEnd:F,setIndex:Y,getIndex:K,toIndex:R,toPage:y,toDest:L,hasFocus:j,isBusy:fe}}var Dy="http://www.w3.org/2000/svg",Iy="m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z",ka=40;function Ny(r,e,t){var i=Te(r),n=i.on,o=i.bind,s=i.emit,a=t.classes,l=t.i18n,u=e.Elements,c=e.Controller,d=u.arrows,h=u.track,f=d,_=u.prev,p=u.next,g,m,v={};function w(){b(),n(Pt,x)}function x(){E(),w()}function b(){var A=t.arrows;A&&!(_&&p)&&C(),_&&p&&(Jo(v,{prev:_,next:p}),es(f,A?"":"none"),xr(f,m=Lc+"--"+t.direction),A&&(S(),M(),te([_,p],fs,h.id),s(oy,_,p)))}function E(){i.destroy(),Xr(f,m),g?(on(d?[_,p]:f),_=p=null):Sr([_,p],Pc)}function S(){n([an,cs,Ue,$n,za],M),o(p,"click",ve(T,">")),o(_,"click",ve(T,"<"))}function T(A){c.go(A,!0)}function C(){f=d||qn("div",a.arrows),_=O(!0),p=O(!1),g=!0,as(f,[_,p]),!d&&Sc(f,h)}function O(A){var P='<button class="'+a.arrow+" "+(A?a.prev:a.next)+'" type="button"><svg xmlns="'+Dy+'" viewBox="0 0 '+ka+" "+ka+'" width="'+ka+'" height="'+ka+'" focusable="false"><path d="'+(t.arrowPath||Iy)+'" />';return Kp(P)}function M(){if(_&&p){var A=r.index,P=c.getPrev(),N=c.getNext(),D=P>-1&&A<P?l.last:l.prev,H=N>-1&&A>N?l.first:l.next;_.disabled=P<0,p.disabled=N<0,te(_,Zt,D),te(p,Zt,H),s(sy,_,p,P,N)}}return{arrows:v,mount:w,destroy:E,update:M}}var zy=Tc+"-interval";function Fy(r,e,t){var i=Te(r),n=i.on,o=i.bind,s=i.emit,a=Wa(t.interval,r.go.bind(r,">"),S),l=a.isPaused,u=e.Elements,c=e.Elements,d=c.root,h=c.toggle,f=t.autoplay,_,p,g=f==="pause";function m(){f&&(v(),h&&te(h,fs,u.track.id),g||w(),E())}function v(){t.pauseOnHover&&o(d,"mouseenter mouseleave",function(C){_=C.type==="mouseenter",b()}),t.pauseOnFocus&&o(d,"focusin focusout",function(C){p=C.type==="focusin",b()}),h&&o(h,"click",function(){g?w():x(!0)}),n([bi,Oc,Ue],a.rewind),n(bi,T)}function w(){l()&&e.Slides.isEnough()&&(a.start(!t.resetProgress),p=_=g=!1,E(),s(i_))}function x(C){C===void 0&&(C=!0),g=!!C,E(),l()||(a.pause(),s(n_))}function b(){g||(_||p?x(!1):w())}function E(){h&&(Yr(h,sn,!g),te(h,Zt,t.i18n[g?"play":"pause"]))}function S(C){var O=u.bar;O&&lr(O,"width",C*100+"%"),s(uy,C)}function T(C){var O=e.Slides.getAt(C);a.set(O&&+ur(O.slide,zy)||t.interval)}return{mount:m,destroy:a.cancel,play:w,pause:x,isPaused:l}}function Wy(r,e,t){var i=Te(r),n=i.on;function o(){t.cover&&(n(o_,ve(a,!0)),n([an,Pt,Ue],ve(s,!0)))}function s(l){e.Slides.forEach(function(u){var c=ls(u.container||u.slide,"img");c&&c.src&&a(l,c,u)})}function a(l,u,c){c.style("background",l?'center/cover no-repeat url("'+u.src+'")':"",!0),es(u,l?"none":"")}return{mount:o,destroy:ve(s,!1)}}var Vy=10,Hy=600,By=.6,qy=1.5,Yy=800;function Xy(r,e,t){var i=Te(r),n=i.on,o=i.emit,s=r.state.set,a=e.Move,l=a.getPosition,u=a.getLimit,c=a.exceededLimit,d=a.translate,h=r.is(Un),f,_,p=1;function g(){n(bi,x),n([Pt,Ue],b)}function m(S,T,C,O,M){var A=l();if(x(),C&&(!h||!c())){var P=e.Layout.sliderSize(),N=gc(S)*P*Na(Mt(S)/P)||0;S=a.toPosition(e.Controller.toDest(S%P))+N}var D=Qp(A,S,1);p=1,T=D?0:T||Ia(Mt(S-A)/qy,Yy),_=O,f=Wa(T,v,ve(w,A,S,M),1),s(ns),o(Oc),f.start()}function v(){s(Xn),_&&_(),o($n)}function w(S,T,C,O){var M=l(),A=S+(T-S)*E(O),P=(A-M)*p;d(M+P),h&&!C&&c()&&(p*=By,Mt(P)<Vy&&m(u(c(!0)),Hy,!1,_,!0))}function x(){f&&f.cancel()}function b(){f&&!f.isPaused()&&(x(),v())}function E(S){var T=t.easingFunc;return T?T(S):1-Math.pow(1-S,4)}return{mount:g,destroy:x,scroll:m,cancel:b}}var Hn={passive:!1,capture:!0};function Uy(r,e,t){var i=Te(r),n=i.on,o=i.emit,s=i.bind,a=i.unbind,l=r.state,u=e.Move,c=e.Scroll,d=e.Controller,h=e.Elements.track,f=e.Media.reduce,_=e.Direction,p=_.resolve,g=_.orient,m=u.getPosition,v=u.exceededLimit,w,x,b,E,S,T=!1,C,O,M;function A(){s(h,dc,pc,Hn),s(h,hc,pc,Hn),s(h,w_,N,Hn),s(h,"click",V,{capture:!0}),s(h,"dragstart",qr),n([an,Pt],P)}function P(){var z=t.drag;Qe(!z),E=z==="free"}function N(z){if(C=!1,!O){var Z=oe(z);re(z.target)&&(Z||!z.button)&&(d.isBusy()?qr(z,!0):(M=Z?h:window,S=l.is([Gn,ns]),b=null,s(M,dc,D,Hn),s(M,hc,H,Hn),u.cancel(),c.cancel(),F(z)))}}function D(z){if(l.is(Ma)||(l.set(Ma),o(ty)),z.cancelable)if(S){u.translate(w+ce(j(z)));var Z=fe(z)>qp,Ce=T!==(T=v());(Z||Ce)&&F(z),C=!0,o(ry),qr(z)}else L(z)&&(S=y(z),qr(z))}function H(z){l.is(Ma)&&(l.set(Xn),o(iy)),S&&(R(z),qr(z)),a(M,dc,D),a(M,hc,H),S=!1}function V(z){!O&&C&&qr(z,!0)}function F(z){b=x,x=z,w=m()}function R(z){var Z=Y(z),Ce=K(Z),He=t.rewind&&t.rewindByDrag;f(!1),E?d.scroll(Ce,0,t.snap):r.is(ds)?d.go(g(gc(Z))<0?He?"<":"-":He?">":"+"):r.is(Un)&&T&&He?d.go(v(!0)?">":"<"):d.go(d.toDest(Ce),!0),f(!0)}function y(z){var Z=t.dragMinThreshold,Ce=Ko(Z),He=Ce&&Z.mouse||0,k=(Ce?Z.touch:+Z)||10;return Mt(j(z))>(oe(z)?k:He)}function L(z){return Mt(j(z))>Mt(j(z,!0))}function Y(z){if(r.is(jn)||!T){var Z=fe(z);if(Z&&Z<qp)return j(z)/Z}return 0}function K(z){return m()+gc(z)*wi(Mt(z)*(t.flickPower||600),E?1/0:e.Layout.listSize()*(t.flickMaxPages||1))}function j(z,Z){return G(z,Z)-G(W(z),Z)}function fe(z){return _c(z)-_c(W(z))}function W(z){return x===z&&b||x}function G(z,Z){return(oe(z)?z.changedTouches[0]:z)["page"+p(Z?"Y":"X")]}function ce(z){return z/(T&&r.is(Un)?Ty:1)}function re(z){var Z=t.noDrag;return!Zo(z,"."+__+", ."+Xa)&&(!Z||!Zo(z,Z))}function oe(z){return typeof TouchEvent<"u"&&z instanceof TouchEvent}function Ze(){return S}function Qe(z){O=z}return{mount:A,disable:Qe,isDragging:Ze}}var Gy={Spacebar:" ",Right:Ba,Left:Ha,Up:l_,Down:u_};function Dc(r){return r=yi(r)?r:r.key,Gy[r]||r}var Yp="keydown";function $y(r,e,t){var i=Te(r),n=i.on,o=i.bind,s=i.unbind,a=r.root,l=e.Direction.resolve,u,c;function d(){h(),n(Pt,f),n(Pt,h),n(bi,p)}function h(){var m=t.keyboard;m&&(u=m==="global"?window:a,o(u,Yp,g))}function f(){s(u,Yp)}function _(m){c=m}function p(){var m=c;c=!0,Xp(function(){c=m})}function g(m){if(!c){var v=Dc(m);v===l(Ha)?r.go("<"):v===l(Ba)&&r.go(">")}}return{mount:d,destroy:f,disable:_}}var jo=Tc+"-lazy",Ra=jo+"-srcset",jy="["+jo+"], ["+Ra+"]";function Ky(r,e,t){var i=Te(r),n=i.on,o=i.off,s=i.bind,a=i.emit,l=t.lazyLoad==="sequential",u=[cs,$n],c=[];function d(){t.lazyLoad&&(h(),n(Ue,h))}function h(){Gr(c),f(),l?m():(o(u),n(u,_),_())}function f(){e.Slides.forEach(function(v){Ec(v.slide,jy).forEach(function(w){var x=ur(w,jo),b=ur(w,Ra);if(x!==w.src||b!==w.srcset){var E=t.classes.spinner,S=w.parentElement,T=ls(S,"."+E)||qn("span",E,S);c.push([w,v,T]),w.src||es(w,"none")}})})}function _(){c=c.filter(function(v){var w=t.perPage*((t.preloadPages||1)+1)-1;return v[1].isWithin(r.index,w)?p(v):!0}),c.length||o(u)}function p(v){var w=v[0];xr(v[1].slide,yc),s(w,"load error",ve(g,v)),te(w,"src",ur(w,jo)),te(w,"srcset",ur(w,Ra)),Sr(w,jo),Sr(w,Ra)}function g(v,w){var x=v[0],b=v[1];Xr(b.slide,yc),w.type!=="error"&&(on(v[2]),es(x,""),a(o_,x,b),a(rs)),l&&m()}function m(){c.length&&p(c.shift())}return{mount:d,destroy:ve(Gr,c),check:_}}function Zy(r,e,t){var i=Te(r),n=i.on,o=i.emit,s=i.bind,a=e.Slides,l=e.Elements,u=e.Controller,c=u.hasFocus,d=u.getIndex,h=u.go,f=e.Direction.resolve,_=l.pagination,p=[],g,m;function v(){w(),n([Pt,Ue,za],v);var O=t.pagination;_&&es(_,O?"":"none"),O&&(n([bi,Oc,$n],C),x(),C(),o(ay,{list:g,items:p},T(r.index)))}function w(){g&&(on(_?xi(g.children):g),Xr(g,m),Gr(p),g=null),i.destroy()}function x(){var O=r.length,M=t.classes,A=t.i18n,P=t.perPage,N=c()?u.getEnd()+1:ts(O/P);g=_||qn("ul",M.pagination,l.track.parentElement),xr(g,m=Ua+"--"+S()),te(g,Ur,"tablist"),te(g,Zt,A.select),te(g,Mc,S()===qa?"vertical":"");for(var D=0;D<N;D++){var H=qn("li",null,g),V=qn("button",{class:M.page,type:"button"},H),F=a.getIn(D).map(function(y){return y.slide.id}),R=!c()&&P>1?A.pageX:A.slideX;s(V,"click",ve(b,D)),t.paginationKeyboard&&s(V,"keydown",ve(E,D)),te(H,Ur,"presentation"),te(V,Ur,"tab"),te(V,fs,F.join(" ")),te(V,Zt,mc(R,D+1)),te(V,Yn,-1),p.push({li:H,button:V,page:D})}}function b(O){h(">"+O,!0)}function E(O,M){var A=p.length,P=Dc(M),N=S(),D=-1;P===f(Ba,!1,N)?D=++O%A:P===f(Ha,!1,N)?D=(--O+A)%A:P==="Home"?D=0:P==="End"&&(D=A-1);var H=p[D];H&&(jp(H.button),h(">"+D),qr(M,!0))}function S(){return t.paginationDirection||t.direction}function T(O){return p[u.toPage(O)]}function C(){var O=T(d(!0)),M=T(d());if(O){var A=O.button;Xr(A,sn),Sr(A,Fp),te(A,Yn,-1)}if(M){var P=M.button;xr(P,sn),te(P,Fp,!0),te(P,Yn,"")}o(ly,{list:g,items:p},O,M)}return{items:p,mount:v,destroy:w,getAt:T,update:C}}var Qy=[" ","Enter"];function Jy(r,e,t){var i=t.isNavigation,n=t.slideFocus,o=[];function s(){r.splides.forEach(function(_){_.isParent||(u(r,_.splide),u(_.splide,r))}),i&&c()}function a(){o.forEach(function(_){_.destroy()}),Gr(o)}function l(){a(),s()}function u(_,p){var g=Te(_);g.on(bi,function(m,v,w){p.go(p.is(jn)?w:m)}),o.push(g)}function c(){var _=Te(r),p=_.on;p(e_,h),p(s_,f),p([an,Pt],d),o.push(_),_.emit(r_,r.splides)}function d(){te(e.Elements.list,Mc,t.direction===qa?"vertical":"")}function h(_){r.go(_.index)}function f(_,p){xc(Qy,Dc(p))&&(h(_),qr(p))}return{setup:ve(e.Media.set,{slideFocus:os(n)?i:n},!0),mount:s,destroy:a,remount:l}}function e1(r,e,t){var i=Te(r),n=i.bind,o=0;function s(){t.wheel&&n(e.Elements.track,"wheel",a,Hn)}function a(u){if(u.cancelable){var c=u.deltaY,d=c<0,h=_c(u),f=t.wheelMinThreshold||0,_=t.wheelSleep||0;Mt(c)>f&&h-o>_&&(r.go(d?"<":">"),o=h),l(d)&&qr(u)}}function l(u){return!t.releaseWheel||r.state.is(Gn)||e.Controller.getAdjacent(u)!==-1}return{mount:s}}var t1=90;function r1(r,e,t){var i=Te(r),n=i.on,o=e.Elements.track,s=t.live&&!t.isNavigation,a=qn("span",wy),l=Wa(t1,ve(c,!1));function u(){s&&(h(!e.Autoplay.isPaused()),te(o,Hp,!0),a.textContent="\u2026",n(i_,ve(h,!0)),n(n_,ve(h,!1)),n([cs,$n],ve(c,!0)))}function c(f){te(o,Vp,f),f?(as(o,a),l.start()):(on(a),l.cancel())}function d(){Sr(o,[Wp,Hp,Vp]),on(a)}function h(f){s&&te(o,Wp,f?"off":"polite")}return{mount:u,disable:h,destroy:d}}var i1=Object.freeze({__proto__:null,Media:dy,Direction:hy,Elements:Ay,Slides:Oy,Layout:ky,Clones:Py,Move:Ly,Controller:Ry,Arrows:Ny,Autoplay:Fy,Cover:Wy,Scroll:Xy,Drag:Uy,Keyboard:$y,LazyLoad:Ky,Pagination:Zy,Sync:Jy,Wheel:e1,Live:r1}),n1={prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},o1={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:Sy,i18n:n1,reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function s1(r,e,t){var i=e.Slides;function n(){Te(r).on([an,Ue],o)}function o(){i.forEach(function(a){a.style("transform","translateX(-"+100*a.index+"%)")})}function s(a,l){i.style("transition","opacity "+t.speed+"ms "+t.easing),Xp(l)}return{mount:n,start:s,cancel:pc}}function a1(r,e,t){var i=e.Move,n=e.Controller,o=e.Scroll,s=e.Elements.list,a=ve(lr,s,"transition"),l;function u(){Te(r).bind(s,"transitionend",function(f){f.target===s&&l&&(d(),l())})}function c(f,_){var p=i.toPosition(f,!0),g=i.getPosition(),m=h(f);Mt(p-g)>=1&&m>=1?t.useScroll?o.scroll(p,m,!1,_):(a("transform "+m+"ms "+t.easing),i.translate(p,!0),l=_):(i.jump(f),_())}function d(){a(""),o.cancel()}function h(f){var _=t.rewindSpeed;if(r.is(Un)&&_){var p=n.getIndex(!0),g=n.getEnd();if(p===0&&f>=g||p>=g&&f===0)return _}return t.speed}return{mount:u,start:c,cancel:d}}var l1=function(){function r(t,i){this.event=Te(),this.Components={},this.state=cy(Bn),this.splides=[],this._o={},this._E={};var n=yi(t)?Zp(document,t):t;$o(n,n+" is invalid."),this.root=n,i=vi({label:ur(n,Zt)||"",labelledby:ur(n,kc)||""},o1,r.defaults,i||{});try{vi(i,JSON.parse(ur(n,Tc)))}catch{$o(!1,"Invalid JSON")}this._o=Object.create(vi({},i))}var e=r.prototype;return e.mount=function(i,n){var o=this,s=this.state,a=this.Components;$o(s.is([Bn,Da]),"Already mounted!"),s.set(Bn),this._C=a,this._T=n||this._T||(this.is(ds)?s1:a1),this._E=i||this._E;var l=Jo({},i1,this._E,{Transition:this._T});return nn(l,function(u,c){var d=u(o,a,o._o);a[c]=d,d.setup&&d.setup()}),nn(a,function(u){u.mount&&u.mount()}),this.emit(an),xr(this.root,by),s.set(Xn),this.emit(Np),this},e.sync=function(i){return this.splides.push({splide:i}),i.splides.push({splide:this,isParent:!0}),this.state.is(Xn)&&(this._C.Sync.remount(),i.Components.Sync.remount()),this},e.go=function(i){return this._C.Controller.go(i),this},e.on=function(i,n){return this.event.on(i,n),this},e.off=function(i){return this.event.off(i),this},e.emit=function(i){var n;return(n=this.event).emit.apply(n,[i].concat(xi(arguments,1))),this},e.add=function(i,n){return this._C.Slides.add(i,n),this},e.remove=function(i){return this._C.Slides.remove(i),this},e.is=function(i){return this._o.type===i},e.refresh=function(){return this.emit(Ue),this},e.destroy=function(i){i===void 0&&(i=!0);var n=this.event,o=this.state;return o.is(Bn)?Te(this).on(Np,this.destroy.bind(this,i)):(nn(this._C,function(s){s.destroy&&s.destroy(i)},!0),n.emit(t_),n.destroy(),i&&Gr(this.splides),o.set(Da)),this},Gv(r,[{key:"options",get:function(){return this._o},set:function(i){this._C.Media.set(i,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}]),r}(),$r=l1;$r.defaults={};$r.STATES=jv;I.registerPlugin(X,tn,mi,jt);console.log("SplitText:",typeof jt);console.log("Registered plugins:",I.plugins);function u1(){mi.create("loader","0.83, 0, 0.17, 1"),mi.create("loader2","0.77, 0, 0.175, 1")}var ln;function c1(){window.addEventListener("load",()=>{console.log("[ScrollTrigger] Page fully loaded \u2014 refreshing all triggers"),setTimeout(()=>{X.refresh()},100)})}function f1(){let r=document.querySelector(".contact-modal_main-wrapper"),e=document.querySelector(".contact-modal_content-wrapper");ln=I.timeline({paused:!0}),ln.to(r,{autoAlpha:1,duration:.3,ease:"loader2"}),ln.from(e,{x:"100%",duration:.4,ease:"loader2"},"-=0.2");function t(){document.querySelectorAll("[project-category]").forEach(n=>{n.addEventListener("click",()=>{let o=n.textContent.trim().toLowerCase(),s=document.querySelector(`.contact-modal_main-wrapper input[type="checkbox"][data-name="${o}"]`);s?(s.click(),console.log(`Clicked on checkbox for ${o}`)):console.log(`No checkbox found for ${o}`)})})}t()}function d1(){window.location.search.includes("contact")&&ln&&ln.play()}var Ae=new Is({duration:1.2,easing:r=>Math.min(1,1.001-Math.pow(2,-10*r))});function h1(){Ae.on("scroll",X.update),I.ticker.add(e=>{Ae.raf(e*1e3)}),I.ticker.lagSmoothing(0);function r(e){Ae.raf(e),requestAnimationFrame(r)}requestAnimationFrame(r)}function p1(){let r=[].slice.call(document.querySelectorAll("video.lazyload"));if("IntersectionObserver"in window){let e=new IntersectionObserver(function(t,i){t.forEach(function(n){if(n.isIntersecting){for(let o of n.target.children)o.setAttribute("src",o.getAttribute("data-src"));n.target.load(),n.target.play(),e.unobserve(n.target)}})});r.forEach(function(t){e.observe(t)})}}function _1(){window.addEventListener("pageshow",function(r){r.persisted&&window.location.reload()})}function g1(){function r(){let e=document.querySelector(".w-nav-overlay"),t={attributes:!0,attributeFilter:["style"]},i=function(o,s){for(let a of o)a.type==="attributes"&&a.attributeName==="style"&&(e.style.display==="none"?(document.body.classList.remove("is-scroll-off"),Ae.start()):(document.body.classList.add("is-scroll-off"),Ae.stop()))};new MutationObserver(i).observe(e,t)}r()}function m1(){let r=document.querySelector(".is-footer"),e=document.querySelector("#heroSection")||document.querySelector("#heroSectionCs");r&&e&&I.to(e,{scrollTrigger:{trigger:"#bottomWrapper",start:"top bottom",toggleActions:"restart none none reverse"},autoAlpha:0})}function v1(r){return document.querySelector(r)?!0:(console.warn(`Element ${r} not found - skipping animation`),!1)}function y1(){if(console.log("Initializing basic animations without loader"),typeof Ae<"u")try{Ae.scrollTo(0,{immediate:!0}),Ae.start()}catch(r){console.warn("Lenis initialization failed:",r),window.scrollTo(0,0)}else window.scrollTo(0,0)}function w1(){if(console.log("pageLoadAnimation function called"),![".loader_ract.is-left",".loader_ract.is-right",".loader_wrapper"].every(i=>v1(i))){console.warn("Loader elements not found - skipping loader animation"),y1();return}let t=I.timeline({});console.log("GSAP timeline created"),t.add(function(){if(console.log("First animation step triggered: scrollRestoration and scrollTo"),history.scrollRestoration="manual",typeof Ae<"u"&&Ae.scrollTo)try{Ae.scrollTo(0,{immediate:!0})}catch(i){console.warn("Lenis scrollTo failed, using fallback:",i),window.scrollTo(0,0)}else window.scrollTo(0,0)}).to(".loader_ract.is-left",{delay:.2,duration:.7,x:"100%",ease:"loader2"},">").to(".loader_ract.is-right",{duration:.7,x:"-100%",ease:"loader2"},"<").add(function(){console.log("lenis started"),typeof Ae<"u"&&Ae.start&&Ae.start()},">").to(".loader_wrapper",{display:"none",duration:.1,onComplete:function(){console.log(".loader_wrapper set to display:none")}},">"),console.log("Animation timeline defined"),window.addEventListener("resize",function(){console.log("Window resize event triggered"),setTimeout(function(){document.querySelector(".loader_wrapper")?(console.log("Set .loader_wrapper to display:none on resize"),I.set(".loader_wrapper",{display:"none"})):console.warn("Loader wrapper not found on resize")},50)}),console.log("Resize event listener added")}function b1(){document.querySelectorAll('a:not([/**/href^="#"]):not([href^="javascript:"]):not([href=""]):not([href^="mailto:"]):not([href^="tel:"])').forEach(e=>{e.getAttribute("target")!=="_blank"&&e.addEventListener("click",t=>{t.preventDefault();let i=I.timeline({onComplete:()=>{window.location.href=e.href}});i.to(".unloader_wrapper",{display:"flex",duration:.05}),i.from(".unloader_ract",{duration:.4,height:"0%",ease:"loader2"}),i.play()})})}var x1=document.querySelector(".info-bar"),b_=I.timeline({paused:!0});b_.to(".navbar",{y:"-100%",duration:.2,ease:"loader2"});x1&&b_.to(".button_small.is-navbar",{top:"1.75rem",duration:.2,ease:"loader2"},"<");function S1(){let r=document.querySelectorAll('[wide="customCursor"]'),e=document.querySelector(".custom_cursor");r.forEach(t=>{t.addEventListener("mousedown",function(){e.style.transform="scale3d(0.8, 0.8, 1)"}),t.addEventListener("mouseup",function(){e.style.transform="scale3d(1, 1, 1)"})})}window.heroFixedSections=function(r){I.matchMedia().add("(min-width: 992px)",()=>{document.querySelectorAll(".herofixedsection").forEach((i,n)=>{X.create({trigger:i,start:()=>i.offsetHeight<window.innerHeight?"top top":"bottom bottom",pin:!0,markers:!1,pinSpacing:!1,scrub:3})});let t=document.querySelector(".cover-bg");t&&X.create({trigger:".cover-bg",start:"bottom center+=300",end:"bottom top+=400",scrub:!0,onUpdate:i=>{I.to(t,{opacity:i.progress,overwrite:!0})}})})};window.servicesSliders=function(r){let e={type:"loop",perPage:1,gap:0,arrows:!1,drag:!1,duration:.15,easing:"cubic-bezier(0.83, 0, 0.17, 1)",classes:{pagination:"splide__pagination services-pagination",page:"splide__pagination__page services-page"},breakpoints:{992:{drag:!0,fixedWidth:"90%"},480:{}}},t=new $r(r,e).mount();window.innerWidth>992&&t.on("click",function(){t.go("+1")}),I.from(r,{scrollTrigger:{trigger:r,start:"top bottom",end:"bottom bottom+=15%",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.standardHeaderScrollAnimation=function(){let r=I.timeline({paused:!0}),e=I.timeline({paused:!0});r.to(".navbar_brand.scale",{scale:.25,duration:1}).to(".wideletter",{y:"-150%",duration:1,ease:"loader2",stagger:.1},0),e.to(".navbar_brand.scale",{scale:1,duration:1}).to(".wideletter",{y:"0%",duration:1,ease:"loader2",stagger:.1},0),X.create({start:"top+=100 top",onEnter:()=>{e.pause(0),r.restart()},onLeaveBack:()=>{r.pause(0),e.restart()}})};window.videoInsideText=function(r){let e=r.querySelector('[class*="copy-this"]');r.querySelector('[class*="headline-span"]').appendChild(e)};window.spanVideoMaskAnimation=function(r){I.to(r,{scrollTrigger:{trigger:r,start:"bottom bottom-=5%"},width:0,ease:"loader2",duration:.6})};window.customCursorText=function(r){r.addEventListener("mouseenter",()=>{let e=r.getAttribute("wideCursorText"),t=document.querySelector(".custom_cursor_text");t.innerHTML=e})};window.heroAnimationOnLoad=function(r){console.log("heroAnimationOnLoad function started");let e=sessionStorage.getItem("hasPlayedHeroAnimation");performance.navigation.type===1&&(sessionStorage.removeItem("hasPlayedHeroAnimation"),e=null,console.log("Page reloaded; session flag cleared.")),I.set(".wideletter",{y:"-150%",scale:1}),typeof Ae<"u"?(console.log("Lenis instance found, attempting to scroll to top"),setTimeout(()=>{Ae.scrollTo(0,{duration:0,easing:u=>u}),console.log("Lenis scrollTo action called after delay")},100)):console.log("Lenis instance not found");let t=r.querySelector(".hero_headline_ract-mask"),i=r.querySelector("video.lazyload"),n=I.timeline({}),o=new jt("#heroHeading",{type:"lines",linesClass:"hero-line"}),s=new jt("#heroHeading",{type:"lines",linesClass:"hero-line-mask"});if(document.querySelectorAll(".hero-line").length===0){console.error("GSAP target .hero-line not found.");return}function l(){let u=window.innerWidth<992,c=i.getAttribute("mobile-mp4"),d=i.getAttribute("mobile-webm"),h=i.querySelector('source[type="video/mp4"]'),f=i.querySelector('source[type="video/webm"]');u?(c&&h.setAttribute("data-src",c),d&&f.setAttribute("data-src",d)):(h.setAttribute("data-src",h.getAttribute("data-src").replace("mobile-","")),f.setAttribute("data-src",f.getAttribute("data-src").replace("mobile-","")))}l(),window.addEventListener("resize",l),i&&(i.setAttribute("data-no-autoplay","true"),i.addEventListener("loadeddata",()=>{i.hasAttribute("data-no-autoplay")&&i.pause()})),e?console.log("Skipping initial hero line animations as they have already been played in this session"):(console.log("Initial settings applied to hero lines"),I.set(".navbar_brand_lottie",{opacity:1}),I.set("#heroHeading",{opacity:0}),I.set(".hero-line",{y:"100%"}),n.to(".navbar_brand_lottie",{duration:1.5,onComplete:function(){console.log("Lottie animation completed"),I.to(".navbar_brand_lottie",{opacity:0,duration:.25})}}),n.to("#heroHeading",{opacity:1,duration:.1,ease:"none"},"+=0.1"),n.fromTo(".hero-line",{y:"100%"},{duration:.75,y:"0%",stagger:.2,ease:"loader2"},"<"),n.to("#heroHeading",{opacity:0,duration:.3,ease:"loader2"},"+=1"),sessionStorage.setItem("hasPlayedHeroAnimation","true")),n.to(".preloader",{scaleY:0,display:"none",duration:1,ease:"loader"}),n.fromTo(".wideletter",{y:"-150%",scale:1},{y:"0%",duration:1,ease:"loader2",stagger:.1},"-=0.5").call(()=>{i&&(i.removeAttribute("data-no-autoplay"),i.play())},null,"<"),n.from("#heroBottomWrapper",{opacity:0,duration:1,ease:"loader2"},">-0.4"),console.log("Animation timeline setup completed")};window.briefContact=function(r){let e=document.querySelector(".brief-button"),t=document.querySelector("#bottomWrapperOverlay");if(!e||!t)return;function i(){let n=window.pageYOffset||document.documentElement.scrollTop,o=t.getBoundingClientRect(),s=o.top+n,a=o.bottom+n;n>=s&&n<a?e.style.opacity=0:e.style.opacity=1}window.addEventListener("scroll",i),i(),I.utils.toArray("section").forEach((n,o)=>{X.create({trigger:n,start:"top top",end:"bottom top",toggleClass:{targets:e,className:"scrolled-over",addTriggerCondition:s=>s.direction===-1}})})};window.contactUsHide=function(r){I.to(r,{autoAlpha:0,duration:.15,ease:"loader2",scrollTrigger:{trigger:".contactushide",start:"top center",toggleActions:"play none none reverse"}})};window.caseCategories=function(r){let e=document.querySelectorAll(".summary-title");function t(){e.forEach(i=>{i.style.color=""})}e.forEach(i=>{i.addEventListener("mouseenter",()=>{e.forEach(n=>{I.to(n,{duration:0,color:"var(--wide-gray-400)"})}),I.to(i,{duration:0,color:"var(--wide-black)"})}),i.addEventListener("mouseleave",()=>{setTimeout(()=>{Array.from(e).some(o=>o.matches(":hover"))||t()},0)})})};window.textScroll=function(r){let e=I.timeline({scrollTrigger:{trigger:".stats-content_wrapper",start:"top center+=200"}}),t=new jt("#heroHeading",{type:"lines",linesClass:"hero-line"}),i=new jt("#heroHeading",{type:"lines",linesClass:"hero-line-mask"});if(document.querySelectorAll(".hero-line").length===0){console.error("GSAP target .hero-line not found.");return}I.set(".hero-line",{y:"100%"}),I.set(".hero-line-mask",{y:"100%"});let o=document.querySelectorAll(".reveal-scroll");e.fromTo(o,{y:"100%",opacity:0},{y:"0%",opacity:1,duration:1.2,stagger:.2,ease:"loader2"}),e.fromTo(".hero-line",{y:"100%"},{duration:1.2,y:"0%",stagger:.2,ease:"loader2"},"<"),e.fromTo(".hero-line-mask",{y:"100%"},{duration:1.2,y:"0%",stagger:.2,ease:"loader2"},"<")};window.HoverMaskVideo=function(r){let e=r.querySelectorAll(".hover-title"),t=r.querySelectorAll(".hover-mask"),i=r.querySelectorAll(".hover-trigger");function n(){e.forEach(s=>{s.style.opacity=""})}function o(s){s.querySelectorAll(".bg-video").forEach(l=>{l.style.display=""})}i.forEach((s,a)=>{let l=!1,u=I.fromTo(t[a],{height:"0rem"},{height:"29.6rem",ease:"loader",duration:.5,paused:!0}),c=Array.from(t[a].querySelectorAll(".bg-video")).reverse(),d=I.timeline({paused:!0,repeat:-1});c.forEach((h,f)=>{d.to(h,{display:"none",duration:0,delay:1},f*1)}),s.addEventListener("mouseenter",()=>{l=!0,e[a].style.zIndex=21,u.restart().play(),e.forEach((h,f)=>{f!==a&&I.to(h,{duration:0,opacity:.2})}),I.to(e[a],{duration:0,opacity:1}),u.eventCallback("onComplete",()=>{d.restart().play()})}),s.addEventListener("mouseleave",()=>{l=!1,e[a].style.zIndex="",u.reverse(),d.pause().seek(0),o(t[a]),setTimeout(()=>{Array.from(i).some(f=>f.matches(":hover"))||n()},0)})})};window.animationTest=function(r){I.matchMedia().add("(min-width: 992px)",()=>{let e=r.querySelectorAll(".hover-title"),t=r.querySelectorAll(".hover-mask"),i=r.querySelectorAll(".hover-wrapper");function n(){e.forEach(a=>{a.style.opacity=""})}function o(a){a.querySelectorAll(".bg-video").forEach(u=>{u.style.display=""})}function s(a,l){let u=window.innerWidth,c=window.innerHeight,d=23.75*16,h=17.5*16,_=l.querySelector(".hover-title").getBoundingClientRect(),p,g;do p=Math.max(0,Math.random()*(u-d)),g=Math.max(0,Math.random()*(c-h));while(p<_.right&&p+d>_.left&&g<_.bottom&&g+h>_.top);a.style.left=`${p}px`,a.style.top=`${g}px`}i.forEach((a,l)=>{let u=!1,c=I.fromTo(t[l],{height:"0rem"},{height:"17.5rem",ease:"loader",duration:.4,paused:!0}),d=Array.from(t[l].querySelectorAll(".bg-video")).reverse(),h=I.timeline({paused:!0,repeat:-1});d.forEach((f,_)=>{h.to(f,{display:"block",duration:0},_*.55).to(f,{display:"none",duration:0,delay:.55},_*.55)}),h.to(d,{display:"block",duration:0}),c.eventCallback("onComplete",()=>{u&&h.restart().play()}),a.addEventListener("mouseenter",()=>{u=!0,s(t[l],a),c.restart().play(),e.forEach((f,_)=>{_!==l&&I.to(f,{duration:0,opacity:.2})}),I.to(e[l],{duration:0,opacity:1})}),a.addEventListener("mouseleave",()=>{u=!1,c.reverse(),h.pause().seek(0),o(t[l]),setTimeout(()=>{Array.from(i).some(_=>_.matches(":hover"))||n()},0)})})})};window.animationTest1=function(r){let e=r.querySelectorAll(".hover-title"),t=r.querySelectorAll(".hover-mask"),i=r.querySelectorAll(".hover-wrapper");function n(){e.forEach(a=>{a.style.opacity=""})}function o(a){if(!a)return;a.querySelectorAll(".bg-video").forEach(u=>{I.set(u,{display:"none",x:0,y:0})})}function s(a){if(!a)return;let l=window.innerWidth,u=window.innerHeight,c=23.75*16,d=17.5*16,h=l-c,f=u-d,_=Math.max(0,Math.random()*h),p=Math.max(0,Math.random()*f);a.style.left=`${_}px`,a.style.top=`${p}px`}t.forEach(a=>{a.querySelectorAll(".bg-video").forEach(u=>{I.set(u,{display:"none"})})}),i.forEach((a,l)=>{if(!t[l])return;let u=!1,c=null,d=I.timeline({paused:!0}),h=Array.from(t[l].querySelectorAll(".bg-video"));function f(){h.forEach(_=>s(_))}a.addEventListener("mouseenter",()=>{u=!0,f(),t[l].style.display="flex",e.forEach((g,m)=>{m!==l&&I.to(g,{duration:0,opacity:.2})}),I.to(e[l],{duration:0,opacity:1}),c=I.timeline(),h.forEach((g,m)=>{c.to(g,{display:"inline-block",duration:0,onStart:()=>s(g)},m)}),c.play();let _=h.map(g=>I.quickSetter(g,"x","px")),p=h.map(g=>I.quickSetter(g,"y","px"));a.addEventListener("mousemove",g=>{let{clientX:m,clientY:v}=g,w=window.innerWidth/2,x=window.innerHeight/2,b=(m-w)*.35,E=(v-x)*.35;h.forEach((S,T)=>{I.to(S,{x:b,y:E,delay:T*.1,duration:1,ease:"power2.out",overwrite:"auto"})})})}),a.addEventListener("mouseleave",()=>{u=!1,t[l].style.display="none",o(t[l]),c&&(c.kill(),c=null),d&&(d.kill(),d=I.timeline({paused:!0})),setTimeout(()=>{Array.from(i).some(p=>p.matches(":hover"))||n()},0)})})};window.animationTest2=function(r){let e=r.querySelectorAll(".hover-title"),t=r.querySelectorAll(".hover-mask"),i=r.querySelectorAll(".hover-wrapper");function n(){e.forEach(a=>{a.style.opacity=""})}function o(a){a.querySelectorAll(".bg-video").forEach(u=>{u.style.display=""})}function s(a){let l=window.innerWidth,u=window.innerHeight,c=23.75*16,d=17.5*16,h=l-c,f=u-d,_=Math.max(0,Math.random()*h),p=Math.max(0,Math.random()*f);a.style.left=`${_}px`,a.style.top=`${p}px`}i.forEach((a,l)=>{let u=!1,c=I.fromTo(t[l],{height:"0rem"},{height:"17.5rem",ease:"loader",duration:.5,paused:!0}),d=Array.from(t[l].querySelectorAll(".bg-video")).reverse();function h(){d.forEach(f=>s(f))}a.addEventListener("mouseenter",()=>{u=!0,h(),s(t[l]),c.restart().play(),e.forEach((f,_)=>{_!==l&&I.to(f,{duration:0,opacity:.2})}),I.to(e[l],{duration:0,opacity:1}),c.eventCallback("onComplete",()=>{d.forEach(f=>{I.set(f,{display:"inline-block"})})})}),a.addEventListener("mousemove",f=>{if(!u)return;let{clientX:_,clientY:p}=f,g=window.innerWidth/2,m=window.innerHeight/2,v=(_-g)*1,w=(p-m)*1;d.forEach((x,b)=>{I.to(x,{x:v,y:w,delay:b*.05,duration:.5,ease:"power2.out",overwrite:"auto"})})}),a.addEventListener("mouseleave",()=>{u=!1,c.reverse(),o(t[l]),setTimeout(()=>{Array.from(i).some(_=>_.matches(":hover"))||n()},0)})})};window.animationTest3=function(r){let e=r.querySelectorAll(".hover-title"),t=r.querySelectorAll(".hover-mask"),i=r.querySelectorAll(".hover-wrapper");function n(){e.forEach(a=>{a.style.opacity=""})}function o(a){a.querySelectorAll(".bg-video").forEach(u=>{u.style.display=""})}function s(a,l,u){let h=l-190,f=u-280/2;a.style.left=`${h}px`,a.style.top=`${f}px`}i.forEach((a,l)=>{let u=!1,c=I.fromTo(t[l],{height:"0rem"},{height:"17.5rem",ease:"loader",duration:.5,paused:!0}),d=Array.from(t[l].querySelectorAll(".bg-video")).reverse(),h=I.timeline({paused:!0,repeat:-1});d.forEach((f,_)=>{h.to(f,{display:"none",duration:0,delay:1},_*1)}),a.addEventListener("mouseenter",f=>{u=!0,s(t[l],f.clientX,f.clientY),c.restart().play(),e.forEach((_,p)=>{p!==l&&I.to(_,{duration:0,opacity:.2})}),I.to(e[l],{duration:0,opacity:1}),c.eventCallback("onComplete",()=>{h.restart().play()})}),a.addEventListener("mousemove",f=>{u&&s(t[l],f.clientX,f.clientY)}),a.addEventListener("mouseleave",()=>{u=!1,c.reverse(),h.pause().seek(0),o(t[l]),setTimeout(()=>{Array.from(i).some(_=>_.matches(":hover"))||n()},0)})})};window.animationTest4=function(r){let e=r.querySelectorAll(".h-wrapper"),t=r.querySelectorAll(".hover-mask"),i=r.querySelectorAll(".h-title"),n=380,o=280,s=.7;t.forEach(c=>{c.style.display="none",c.style.position="fixed",c.style.top="0",c.style.left="0",c.style.width="100vw",c.style.height="100vh",c.style.zIndex="999",c.style.pointerEvents="none"});function a(){i.forEach(c=>{c.style.opacity=""})}function l(c){c.querySelectorAll(".bg-video").forEach(h=>{h.style.display="none",h.style.left="",h.style.top="",h.style.position=""})}function u(c,d){let h=d.offsetWidth,f=d.offsetHeight,_=n*s,p=o*s,g=h-_,m=f-p,v=Math.random()*g,w=Math.random()*m;v+n>h&&(v=h-n),w+o>f&&(w=f-o),c.style.left=`${v}px`,c.style.top=`${w}px`,c.style.position="absolute",c.style.width=`${n}px`,c.style.height=`${o}px`,c.style.zIndex="1001",c.style.pointerEvents="none"}e.forEach((c,d)=>{let h=i[d],f=t[d],_=f.querySelectorAll(".bg-video"),p=null,g=!1;_.forEach(m=>{m.style.display="none",m.style.width=`${n}px`,m.style.height=`${o}px`,m.style.position="absolute",m.style.zIndex="1001",m.style.pointerEvents="none"}),c.addEventListener("mouseenter",()=>{g||(g=!0,l(f),f.style.display="block",i.forEach((m,v)=>{m.style.opacity=v===d?"1":"0.2"}),p=I.timeline(),_.forEach((m,v)=>{p.add(()=>{u(m,f)},v),p.to(m,{display:"block",duration:0},v)}),p.play())}),c.addEventListener("mouseleave",()=>{g=!1,p&&(p.kill(),p=null),f.style.display="none",l(f),setTimeout(()=>{Array.from(e).some(v=>v.matches(":hover"))||a()},0)})})};window.pricingInteraction=function(r){window.innerWidth>=992&&X.create({trigger:".tabs-content",start:"top-=48px top",end:"bottom bottom",pin:".tabs-menu",pinSpacing:!1})};window.addEventListener("resize",function(){X.getAll().forEach(r=>r.kill()),window.pricingInteraction()});window.caseStudyInteraction=function(r){let e=r.querySelector(".portfolio_item_image-mask");if(!e){console.error("Mask element not found in:",r);return}let t=I.from(e,{width:"100%",duration:.35,ease:"loader2",paused:!0});X.create({animation:t,trigger:e,start:"top 80%",onEnter:()=>t.play()});let i=r.querySelectorAll(".hovervideo");window.innerWidth>992?i.forEach(n=>{if(!n){console.error("No video element found in:",r);return}n.addEventListener("loadeddata",()=>{n.pause()}),r.addEventListener("mouseenter",o,!1),r.addEventListener("mouseleave",s,!1);function o(){n.play()}function s(){n.pause()}}):i.forEach(n=>{let o=n.getAttribute("poster");n.innerHTML="",n.setAttribute("poster",o),n.load(),n.pause()})};var x_=I.utils.toArray(".panel"),E1=x_.map(r=>X.create({trigger:r,start:"top top"}));x_.forEach((r,e)=>{X.create({trigger:r,start:()=>r.offsetHeight<window.innerHeight?"top top":"bottom bottom",pin:!0,pinSpacing:!1})});X.create({snap:{snapTo:(r,e)=>{let t=E1.map(n=>n.start),i=I.utils.snap(t,e.scroll());return I.utils.normalize(0,X.maxScroll(window),i)},duration:.5}});window.reviewsSlider=function(r){let e=r.querySelector(".splide__slide.reviews_collection_item.is-static").innerHTML,t=r.querySelector(".reviews_collection_item");t.innerHTML=e,t.classList.add("is-static");let i=new $r(r,{type:"slide",fixedWidth:"24.5rem",rewind:!0,focus:0,padding:{left:"2.5rem",right:0},gap:0,omitEnd:!0,arrows:!1,drag:!1,easing:"cubic-bezier(0.83, 0, 0.17, 1)",snap:!0,classes:{pagination:"splide__pagination reviews-pagination",page:"splide__pagination__page reviews-page"},breakpoints:{992:{fixedWidth:"17.438rem",padding:{left:"1.75rem"},drag:"free",snap:!1},480:{fixedWidth:"16.25rem",padding:{left:"1.375rem"}}}}).mount();window.innerWidth>992&&i.on("click",function(){i.go("+1")}),I.from(r,{scrollTrigger:{trigger:r,start:"top bottom",end:"bottom bottom-=15%",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.reviewsSlider=function(r){let e=r.querySelector(".splide__slide.reviews_collection_item.is-static").innerHTML,t=r.querySelector(".reviews_collection_item");t.innerHTML=e,t.classList.add("is-static");let i=new $r(r,{type:"slide",fixedWidth:"24.5rem",rewind:!0,focus:0,padding:{left:"2.5rem",right:0},gap:0,omitEnd:!0,arrows:!1,drag:!1,easing:"cubic-bezier(0.83, 0, 0.17, 1)",snap:!0,classes:{pagination:"splide__pagination reviews-pagination",page:"splide__pagination__page reviews-page"},breakpoints:{992:{fixedWidth:"17.438rem",padding:{left:"1.75rem"},drag:"free",snap:!1},480:{fixedWidth:"16.25rem",padding:{left:"1.375rem"}}}}).mount();window.innerWidth>992&&i.on("click",function(){i.go("+1")}),I.from(r,{scrollTrigger:{trigger:r,start:"top bottom",end:"bottom bottom-=15%",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.factsSlider=function(r){let e=new $r(r,{type:"loop",perPage:1,gap:0,arrows:!1,drag:!1,duration:.15,easing:"cubic-bezier(0.83, 0, 0.17, 1)",classes:{pagination:"splide__pagination facts-pagination",page:"splide__pagination__page facts-page"},breakpoints:{992:{gap:"1.75rem",drag:!0},480:{gap:"1.375rem"}}}).mount();window.innerWidth>992&&e.on("click",function(){e.go("+1")}),r.querySelectorAll(".external_link.is-cursor").forEach(a=>{a.addEventListener("click",()=>{event.stopPropagation()})});function i(a){var l=e.Components.Elements.slides[a],u=l.querySelector("video");u&&u.play()}function n(a){var l=e.Components.Elements.slides;l.forEach(function(u,c){var d=u.querySelector("video");d&&c!==a&&(d.pause(),d.currentTime=0)})}function o(a){I.fromTo([a.querySelector(".is-h4"),a.querySelector(".facts-slide_legend-wrapper"),a.querySelector(".facts-slide_diagram-wrapper"),a.querySelector(".facts-slide_source")],{x:"2rem",opacity:0},{x:"0",opacity:1,stagger:.2,duration:.5,easing:"loader2"})}function s(a){I.set([a.querySelector(".is-h4"),a.querySelector(".facts-slide_legend-wrapper"),a.querySelector(".facts-slide_diagram-wrapper"),a.querySelector(".facts-slide_source")],{x:"2rem",opacity:0})}e.on("move",function(a){i(a);var l=e.Components.Elements.slides[a];o(l)}),e.on("moved",function(a){n(a);var l=e.Components.Elements.slides[a];s(l)})};window.teamSlider=function(r){let e=r.querySelector(".team_collection_list"),t=Array.from(e.children);t.sort(function(){return .5-Math.random()}),t.forEach(function(i){e.appendChild(i)}),new $r(r,{type:"slide",fixedWidth:"20%",padding:{left:"2.5rem",right:0},focus:0,gap:0,pagination:!1,omitEnd:!0,arrows:!1,drag:!0,easing:"cubic-bezier(0.83, 0, 0.17, 1)",snap:!0,classes:{pagination:"splide__pagination facts-pagination",page:"splide__pagination__page facts-page"},breakpoints:{992:{fixedWidth:"40%",padding:{left:"1.75rem"},drag:"free",snap:!1},560:{fixedWidth:"75%",padding:{left:"1.375rem"},drag:"free",snap:!1}}}).mount(),I.from(r,{scrollTrigger:{trigger:r,start:"top bottom",end:"bottom bottom",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.elementPaddingChange=function(r){I.to(r,{paddingLeft:"0rem",paddingRight:"0rem",ease:"linear",scrollTrigger:{trigger:r,start:()=>`top ${window.innerHeight*.9}px`,end:()=>`top ${window.innerHeight*.1}px`,scrub:!0,invalidateOnRefresh:!0}})};window.sectionBgChange=function(r){I.set(r,{backgroundColor:"#fff"}),I.set("#heroNavbarLottie path",{fill:"rgb(21, 21, 21)"});let e=I.timeline({duration:.15,ease:"loader2",scrollTrigger:{trigger:r,start:"top center",end:"bottom top",toggleActions:"play reverse play reverse"}});e.to(["#skills","#portfolio"],{backgroundColor:"#151515"},"<"),e.to(".info-bar_wrapper",{backgroundColor:"#2E2E2E",color:"#fff"},"<"),e.to([".button_small",".button_small_icon",".navbar_brand_svg","#heroNavbarLottie path "],{color:"#fff",fill:"rgb(254, 254, 254)"},"<"),window.innerWidth>992&&e.to(".navbar_menu_link",{color:"#fff",fill:"rgb(254, 254, 254)"},"<")};window.badgeColorChange=function(r){let e=I.timeline({duration:.15,ease:"loader2",scrollTrigger:{trigger:r,start:"top center",end:"bottom center",toggleActions:"play reverse play reverse"}});e.to(".js-color-bg",{fill:"#2E2E2E"},"<"),e.to(".js-color-text",{fill:"#fff"},"<")};window.clientLogosAnimation=function(r){let t=r.querySelectorAll('[class*="item_mask"]'),i=r.querySelectorAll('[class*="image"]');I.from(t,{scrollTrigger:{trigger:t,start:"top bottom-=25%"},width:"0%",duration:.7,ease:"loader2",stagger:.15}),I.from(i,{scrollTrigger:{trigger:t,start:"top bottom-=25%"},opacity:0,delay:.4,duration:.45,ease:"loader2",stagger:.15})};window.heroSpanVideoOnHover=function(r){window.customCursorText(r);let e=I.timeline({paused:!0,ease:"loader2"});e.to(".hero-line-mask",{clipPath:"none",duration:.05},">"),e.to(r,{scale:2,duration:.35},">"),window.innerWidth>992&&(r.addEventListener("mouseenter",()=>{e.timeScale(1).play()}),r.addEventListener("mouseleave",()=>{e.timeScale(2).reverse()}))};window.reelModal=function(){let r=document.querySelectorAll('[wideClick="playReel"]'),e=document.querySelector(".reel-modal"),t=document.getElementById("fullReel");if(!r.length||!e||!t)return;let i=0,n=I.timeline({ease:"loader2",paused:!0});n.to(e,{display:"flex",opacity:0,duration:0}),n.to(e,{opacity:1,duration:.6},">"),window.innerWidth>992?(r.forEach(o=>{o.addEventListener("click",()=>{if(Ae.stop(),n.timeScale(1).play(),i===0)t.canPlayType("video/webm")?t.src="https://widelabco.sfo3.cdn.digitaloceanspaces.com/Widelab-reel.webm":t.src="https://widelabco.sfo3.cdn.digitaloceanspaces.com/Widelab-reel.mp4",t.load();else return;t.play()})}),e.addEventListener("click",()=>{n.timeScale(4).reverse(),t.pause(),Ae.start()}),window.addEventListener("keydown",function(o){o.keyCode===27&&(n.timeScale(4).reverse(),t.pause(),Ae.start())})):(r.forEach(o=>{o.addEventListener("click",()=>{t.canPlayType("video/webm")?t.src="https://widelabco.sfo3.cdn.digitaloceanspaces.com/Widelab-reel.webm":t.src="https://widelabco.sfo3.cdn.digitaloceanspaces.com/Widelab-reel.mp4",t.load(),t.addEventListener("canplaythrough",()=>{t.play()},{once:!0})})}),e.addEventListener("click",()=>{t.pause()}))};window.foundersTooltip=function(r){let e=r.querySelector(".line"),t=r.querySelector(".arrow"),i=I.timeline({paused:!0,ease:"loader2"});i.from(r,{x:"5%",opacity:0,duration:.4}),i.from(e,{drawSVG:"0% 0%",duration:.2},">-0.2"),i.from(t,{drawSVG:"0% 0%",duration:.15}),window.innerWidth>992&&(r.addEventListener("mouseenter",()=>{i.timeScale(1).play()}),r.addEventListener("mouseleave",()=>{i.timeScale(3).reverse()}))};window.clientsMapActions=function(r){let e=I.timeline({scrollTrigger:{trigger:".reviews_map_base",start:"bottom-=160px bottom"}});e.from(".map-point",{duration:1,opacity:0,stagger:.1,ease:"loader2"}),e.from(".map-pin_wrapper",{duration:1,opacity:0,stagger:.1,ease:"loader2"},"0.3"),document.querySelectorAll(".map-pin_wrapper").forEach(function(n){n.addEventListener("mouseenter",function(){let o=this.getAttribute("w-map-pin"),s=document.querySelectorAll(".map_info-collection-item"),a=document.querySelectorAll(".map_info-collection-item[w-map-info='"+o+"']"),l=I.timeline({});l.to(s,{opacity:0,ease:"loader2",duration:.1}),l.to(s,{display:"none",duration:.01}),l.to(a,{display:"block",duration:.01}),l.to(a,{opacity:1,ease:"loader2",duration:.2})})});let i=document.querySelectorAll(".map_info-wrapper");for(let n=0;n<i.length;n++){let o=i[n].getAttribute("href");o&&o.length>3&&(i[n].style.cursor="pointer")}};window.statsHeadlineAnimation=function(){let r=I.timeline({scrollTrigger:{trigger:"#statsKnow",start:"center center",toggleActions:"restart none none reverse",end:"+=500"},pause:"paused",ease:"defaultEase"}),e=new jt("#statsDone",{type:"lines",linesClass:"stats-line"}),t=new jt("#statsDone",{type:"lines",linesClass:"stats-line-mask"});r.to("#statsKnow",{duration:.5,opacity:0,display:"none"},">"),r.from(".stats-line",{duration:.5,opacity:0,y:"100%",stagger:.25})};window.counterUpAnimation=function(){document.querySelectorAll("#counter").forEach(e=>{let t=parseFloat(e.textContent.replace(/,/g,""));I.fromTo(e,{innerHTML:0},{innerHTML:t,duration:2,ease:"power1.inOut",snap:{innerHTML:1},onUpdate:function(){e.textContent=this.targets()[0].innerHTML.toLocaleString()}})})};window.heroSliders=function(r){console.log("Initializing Splide on element:",r);let e={type:"loop",perPage:1,gap:0,arrows:!1,drag:!1,duration:.15,easing:"cubic-bezier(0.83, 0, 0.17, 1)",classes:{pagination:"splide__pagination hero-pagination",page:"splide__pagination__page hero-page"},breakpoints:{992:{drag:!0},480:{}}},t=new $r(r,e).mount();console.log("Splide instance:",t),window.innerWidth>992&&t.on("click",function(){t.go("+1")}),I.from(r,{scrollTrigger:{trigger:r,start:"top bottom",end:"bottom bottom+=15%",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.whatsNext=function(){let r=document.querySelectorAll(".whats-next_links_item.is-case"),e=document.querySelector(".whats-next_links_item.is-all");if(!r.length)return;r.forEach(i=>{let n=i.querySelector(".whats-next_links_item_image_mask"),o=i.querySelector(".whats-next_links_item_image-wrapper");if(!n||!o)return;let s=I.timeline({paused:!0,ease:"loader2"});s.to(o,{opacity:.8,duration:.15}),s.to(n,{width:"0%",duration:.3},">-0."),i.addEventListener("mouseenter",a=>{s.timeScale(1).play(),r.forEach(l=>{l!==a.currentTarget&&I.to(l,{color:"#7A7A7A",duration:.2,ease:"loader2"})})}),i.addEventListener("mouseleave",a=>{s.timeScale(3).reverse(),r.forEach(l=>{l!==a.currentTarget&&I.to(l,{color:"#fff",duration:.1,ease:"loader2"})})})}),e&&(e.addEventListener("mouseenter",()=>{I.to(e,{color:"#fff",duration:.2,ease:"loader2"}),r.forEach(i=>{I.to(i,{color:"#7A7A7A",duration:.2,ease:"loader2"})})}),e.addEventListener("mouseleave",()=>{I.to(e,{color:"#7A7A7A",duration:.2,ease:"loader2"}),r.forEach(i=>{I.to(i,{color:"#fff",duration:.2,ease:"loader2"})})}));let t=document.getElementsByTagName("img");for(let i=0;i<t.length;i++)t[i].removeAttribute("srcset"),t[i].removeAttribute("sizes")};window.csMaskAnimation=function(){document.querySelectorAll(".portfolio_item_image-mask").forEach((e,t)=>{if(t===0)return;let i=I.from(e,{width:"100%",duration:.7,ease:"loader2",paused:!0});X.create({animation:i,trigger:e,start:"top 80%",onEnter:()=>i.play()})})};window.updateScrollTrigger=function(){window.onload=function(){X.update()}};window.blogPostMaskAnimation=function(r){let e=document.querySelector("#heroSection"),t=I.from(".post_main-mask-ract",{left:"0%",ease:"loader2"});X.create({animation:t,trigger:e,start:"top -5%",end:"bottom 50%",scrub:.5})};window.changeCheckboxLabelColor=function(){let r=document.querySelectorAll(".w-checkbox-input"),e=function(t,i){for(let n of t)if(n.type==="attributes"&&n.attributeName==="class"){let o=n.target.classList.contains("w--redirected-checked"),s=n.target.parentElement.querySelector(".form-checkbox_label");o&&s&&!s.classList.contains("is-active")?s.classList.add("is-active"):!o&&s&&s.classList.contains("is-active")&&s.classList.remove("is-active")}};r.forEach(function(t){let i={attributes:!0,attributeFilter:["class"]};new MutationObserver(e).observe(t,i)})};window.openContactModal=function(){ln.play(),document.body.classList.add("is-scroll-off"),Ae.stop()};window.closeContactModal=function(){ln.timeScale(1).reverse(),document.body.classList.remove("is-scroll-off"),Ae.start()};window.closeContactModalOnEsc=function(r){document.addEventListener("keydown",function(e){e.key==="Escape"&&window.closeContactModal()})};window.successMsgAnimation=function(r){let e=I.timeline({}),t=new jt("#successHoooray, #successHeadiline",{type:"lines",linesClass:"hero-line"}),i=new jt("#successHoooray, #successHeadiline",{type:"lines",linesClass:"hero-line-mask"});e.from(".hero-line",{duration:1.2,y:"100%",stagger:.2,ease:"loader2"}),e.to(r,{width:"0%",duration:.6,ease:"loader2"},">-0.5"),e.from("#successParagraph",{opacity:0,duration:.3,ease:"loader2"},">-0.4")};window.formSubmitAnimation=function(r){function e(){let t=document.querySelector(".contact-modal_form-success"),i={attributes:!0,attributeFilter:["style"]};new MutationObserver(function(o,s){o.forEach(function(a){a.target.style.display==="block"&&successMsgAnimation(r)})}).observe(t,i)}e()};window.scrollTriggerRefresh=function(){function r(){X.refresh()}let e=new MutationObserver(r),t=document.querySelector(".section.is-post-body"),i={attributes:!0,childList:!0,subtree:!0};e.observe(t,i)};window.closeInfoBar=function(){let r=I.timeline({});r.to(".info-bar",{height:0,autoAlpha:0,duration:.3,ease:"loader2"}),r.to(".button_small.is-navbar",{top:"1.75rem",duration:.3,ease:"loader2"},"<"),r.to("#heroSection",{paddingTop:"6.5rem",duration:.3,ease:"loader2"},"<")};window.Webflow||=[];window.Webflow.push(()=>{console.log("The new code source is loaded!"),ad(),p1(),Webflow.env("editor")===void 0?(h1(),Ae.start()):(console.log("Editor mode ON"),Ae.destroy()),u1(),_1(),m1(),w1(),b1(),S1(),f1(),d1(),g1(),c1()});})();
5
+ `:""}`,e),setTimeout(()=>{throw r},0)}var bs=!0;function gf(r){let e=bs;bs=!1;let t=r();return bs=e,t}function Li(r,e,t={}){let i;return _t(r,e)(n=>i=n,t),i}function _t(...r){return mf(...r)}var mf=vf;function q_(r){mf=r}function vf(r,e){let t={};il(t,r);let i=[t,...dn(r)],n=typeof e=="function"?Y_(i,e):U_(i,e,r);return B_.bind(null,r,e,n)}function Y_(r,e){return(t=()=>{},{scope:i={},params:n=[]}={})=>{let o=e.apply(uo([i,...r]),n);Ss(t,o)}}var ja={};function X_(r,e){if(ja[r])return ja[r];let t=Object.getPrototypeOf(async function(){}).constructor,i=/^[\n\s]*if.*\(.*\)/.test(r.trim())||/^(let|const)\s/.test(r.trim())?`(async()=>{ ${r} })()`:r,o=(()=>{try{let s=new t(["__self","scope"],`with (scope) { __self.result = ${i} }; __self.finished = true; return __self.result;`);return Object.defineProperty(s,"name",{value:`[Alpine] ${r}`}),s}catch(s){return so(s,e,r),Promise.resolve()}})();return ja[r]=o,o}function U_(r,e,t){let i=X_(e,t);return(n=()=>{},{scope:o={},params:s=[]}={})=>{i.result=void 0,i.finished=!1;let a=uo([o,...r]);if(typeof i=="function"){let l=i(i,a).catch(u=>so(u,t,e));i.finished?(Ss(n,i.result,a,s,t),i.result=void 0):l.then(u=>{Ss(n,u,a,s,t)}).catch(u=>so(u,t,e)).finally(()=>i.result=void 0)}}}function Ss(r,e,t,i,n){if(bs&&typeof e=="function"){let o=e.apply(t,i);o instanceof Promise?o.then(s=>Ss(r,s,t,i)).catch(s=>so(s,n,e)):r(o)}else typeof e=="object"&&e instanceof Promise?e.then(o=>r(o)):r(e)}var El="x-";function gn(r=""){return El+r}function G_(r){El=r}var nl={};function ze(r,e){return nl[r]=e,{before(t){if(!nl[t]){console.warn("Cannot find directive `${directive}`. `${name}` will use the default order of execution");return}let i=Mi.indexOf(t);Mi.splice(i>=0?i:Mi.indexOf("DEFAULT"),0,r)}}}function Tl(r,e,t){if(e=Array.from(e),r._x_virtualDirectives){let o=Object.entries(r._x_virtualDirectives).map(([a,l])=>({name:a,value:l})),s=yf(o);o=o.map(a=>s.find(l=>l.name===a.name)?{name:`x-bind:${a.name}`,value:`"${a.value}"`}:a),e=e.concat(o)}let i={};return e.map(Ef((o,s)=>i[o]=s)).filter(Af).map(K_(i,t)).sort(Z_).map(o=>j_(r,o))}function yf(r){return Array.from(r).map(Ef()).filter(e=>!Af(e))}var ol=!1,ro=new Map,wf=Symbol();function $_(r){ol=!0;let e=Symbol();wf=e,ro.set(e,[]);let t=()=>{for(;ro.get(e).length;)ro.get(e).shift()();ro.delete(e)},i=()=>{ol=!1,t()};r(t),i()}function bf(r){let e=[],t=a=>e.push(a),[i,n]=k_(r);return e.push(n),[{Alpine:co,effect:i,cleanup:t,evaluateLater:_t.bind(_t,r),evaluate:Li.bind(Li,r)},()=>e.forEach(a=>a())]}function j_(r,e){let t=()=>{},i=nl[e.type]||t,[n,o]=bf(r);uf(r,e.original,o);let s=()=>{r._x_ignore||r._x_ignoreSelf||(i.inline&&i.inline(r,e,n),i=i.bind(i,r,e,n),ol?ro.get(wf).push(i):i())};return s.runCleanups=o,s}var xf=(r,e)=>({name:t,value:i})=>(t.startsWith(r)&&(t=t.replace(r,e)),{name:t,value:i}),Sf=r=>r;function Ef(r=()=>{}){return({name:e,value:t})=>{let{name:i,value:n}=Tf.reduce((o,s)=>s(o),{name:e,value:t});return i!==e&&r(i,e),{name:i,value:n}}}var Tf=[];function Al(r){Tf.push(r)}function Af({name:r}){return Cf().test(r)}var Cf=()=>new RegExp(`^${El}([^:^.]+)\\b`);function K_(r,e){return({name:t,value:i})=>{let n=t.match(Cf()),o=t.match(/:([a-zA-Z0-9\-:]+)/),s=t.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],a=e||r[t]||t;return{type:n?n[1]:null,value:o?o[1]:null,modifiers:s.map(l=>l.replace(".","")),expression:i,original:a}}}var sl="DEFAULT",Mi=["ignore","ref","data","id","bind","init","for","model","modelable","transition","show","if",sl,"teleport"];function Z_(r,e){let t=Mi.indexOf(r.type)===-1?sl:r.type,i=Mi.indexOf(e.type)===-1?sl:e.type;return Mi.indexOf(t)-Mi.indexOf(i)}var al=[],Cl=!1;function Ol(r=()=>{}){return queueMicrotask(()=>{Cl||setTimeout(()=>{ll()})}),new Promise(e=>{al.push(()=>{r(),e()})})}function ll(){for(Cl=!1;al.length;)al.shift()()}function Q_(){Cl=!0}function kl(r,e){return Array.isArray(e)?Fc(r,e.join(" ")):typeof e=="object"&&e!==null?J_(r,e):typeof e=="function"?kl(r,e()):Fc(r,e)}function Fc(r,e){let t=o=>o.split(" ").filter(Boolean),i=o=>o.split(" ").filter(s=>!r.classList.contains(s)).filter(Boolean),n=o=>(r.classList.add(...o),()=>{r.classList.remove(...o)});return e=e===!0?e="":e||"",n(i(e))}function J_(r,e){let t=a=>a.split(" ").filter(Boolean),i=Object.entries(e).flatMap(([a,l])=>l?t(a):!1).filter(Boolean),n=Object.entries(e).flatMap(([a,l])=>l?!1:t(a)).filter(Boolean),o=[],s=[];return n.forEach(a=>{r.classList.contains(a)&&(r.classList.remove(a),s.push(a))}),i.forEach(a=>{r.classList.contains(a)||(r.classList.add(a),o.push(a))}),()=>{s.forEach(a=>r.classList.add(a)),o.forEach(a=>r.classList.remove(a))}}function Cs(r,e){return typeof e=="object"&&e!==null?eg(r,e):tg(r,e)}function eg(r,e){let t={};return Object.entries(e).forEach(([i,n])=>{t[i]=r.style[i],i.startsWith("--")||(i=rg(i)),r.style.setProperty(i,n)}),setTimeout(()=>{r.style.length===0&&r.removeAttribute("style")}),()=>{Cs(r,t)}}function tg(r,e){let t=r.getAttribute("style",e);return r.setAttribute("style",e),()=>{r.setAttribute("style",t||"")}}function rg(r){return r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function ul(r,e=()=>{}){let t=!1;return function(){t?e.apply(this,arguments):(t=!0,r.apply(this,arguments))}}ze("transition",(r,{value:e,modifiers:t,expression:i},{evaluate:n})=>{typeof i=="function"&&(i=n(i)),i!==!1&&(!i||typeof i=="boolean"?ng(r,t,e):ig(r,i,e))});function ig(r,e,t){Of(r,kl,""),{enter:n=>{r._x_transition.enter.during=n},"enter-start":n=>{r._x_transition.enter.start=n},"enter-end":n=>{r._x_transition.enter.end=n},leave:n=>{r._x_transition.leave.during=n},"leave-start":n=>{r._x_transition.leave.start=n},"leave-end":n=>{r._x_transition.leave.end=n}}[t](e)}function ng(r,e,t){Of(r,Cs);let i=!e.includes("in")&&!e.includes("out")&&!t,n=i||e.includes("in")||["enter"].includes(t),o=i||e.includes("out")||["leave"].includes(t);e.includes("in")&&!i&&(e=e.filter((m,v)=>v<e.indexOf("out"))),e.includes("out")&&!i&&(e=e.filter((m,v)=>v>e.indexOf("out")));let s=!e.includes("opacity")&&!e.includes("scale"),a=s||e.includes("opacity"),l=s||e.includes("scale"),u=a?0:1,c=l?eo(e,"scale",95)/100:1,d=eo(e,"delay",0)/1e3,h=eo(e,"origin","center"),f="opacity, transform",_=eo(e,"duration",150)/1e3,p=eo(e,"duration",75)/1e3,g="cubic-bezier(0.4, 0.0, 0.2, 1)";n&&(r._x_transition.enter.during={transformOrigin:h,transitionDelay:`${d}s`,transitionProperty:f,transitionDuration:`${_}s`,transitionTimingFunction:g},r._x_transition.enter.start={opacity:u,transform:`scale(${c})`},r._x_transition.enter.end={opacity:1,transform:"scale(1)"}),o&&(r._x_transition.leave.during={transformOrigin:h,transitionDelay:`${d}s`,transitionProperty:f,transitionDuration:`${p}s`,transitionTimingFunction:g},r._x_transition.leave.start={opacity:1,transform:"scale(1)"},r._x_transition.leave.end={opacity:u,transform:`scale(${c})`})}function Of(r,e,t={}){r._x_transition||(r._x_transition={enter:{during:t,start:t,end:t},leave:{during:t,start:t,end:t},in(i=()=>{},n=()=>{}){cl(r,e,{during:this.enter.during,start:this.enter.start,end:this.enter.end},i,n)},out(i=()=>{},n=()=>{}){cl(r,e,{during:this.leave.during,start:this.leave.start,end:this.leave.end},i,n)}})}window.Element.prototype._x_toggleAndCascadeWithTransitions=function(r,e,t,i){let n=document.visibilityState==="visible"?requestAnimationFrame:setTimeout,o=()=>n(t);if(e){r._x_transition&&(r._x_transition.enter||r._x_transition.leave)?r._x_transition.enter&&(Object.entries(r._x_transition.enter.during).length||Object.entries(r._x_transition.enter.start).length||Object.entries(r._x_transition.enter.end).length)?r._x_transition.in(t):o():r._x_transition?r._x_transition.in(t):o();return}r._x_hidePromise=r._x_transition?new Promise((s,a)=>{r._x_transition.out(()=>{},()=>s(i)),r._x_transitioning.beforeCancel(()=>a({isFromCancelledTransition:!0}))}):Promise.resolve(i),queueMicrotask(()=>{let s=kf(r);s?(s._x_hideChildren||(s._x_hideChildren=[]),s._x_hideChildren.push(r)):n(()=>{let a=l=>{let u=Promise.all([l._x_hidePromise,...(l._x_hideChildren||[]).map(a)]).then(([c])=>c());return delete l._x_hidePromise,delete l._x_hideChildren,u};a(r).catch(l=>{if(!l.isFromCancelledTransition)throw l})})})};function kf(r){let e=r.parentNode;if(e)return e._x_hidePromise?e:kf(e)}function cl(r,e,{during:t,start:i,end:n}={},o=()=>{},s=()=>{}){if(r._x_transitioning&&r._x_transitioning.cancel(),Object.keys(t).length===0&&Object.keys(i).length===0&&Object.keys(n).length===0){o(),s();return}let a,l,u;og(r,{start(){a=e(r,i)},during(){l=e(r,t)},before:o,end(){a(),u=e(r,n)},after:s,cleanup(){l(),u()}})}function og(r,e){let t,i,n,o=ul(()=>{qe(()=>{t=!0,i||e.before(),n||(e.end(),ll()),e.after(),r.isConnected&&e.cleanup(),delete r._x_transitioning})});r._x_transitioning={beforeCancels:[],beforeCancel(s){this.beforeCancels.push(s)},cancel:ul(function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();o()}),finish:o},qe(()=>{e.start(),e.during()}),Q_(),requestAnimationFrame(()=>{if(t)return;let s=Number(getComputedStyle(r).transitionDuration.replace(/,.*/,"").replace("s",""))*1e3,a=Number(getComputedStyle(r).transitionDelay.replace(/,.*/,"").replace("s",""))*1e3;s===0&&(s=Number(getComputedStyle(r).animationDuration.replace("s",""))*1e3),qe(()=>{e.before()}),i=!0,requestAnimationFrame(()=>{t||(qe(()=>{e.end()}),ll(),setTimeout(r._x_transitioning.finish,s+a),n=!0)})})}function eo(r,e,t){if(r.indexOf(e)===-1)return t;let i=r[r.indexOf(e)+1];if(!i||e==="scale"&&isNaN(i))return t;if(e==="duration"||e==="delay"){let n=i.match(/([0-9]+)ms/);if(n)return n[1]}return e==="origin"&&["top","right","left","center","bottom"].includes(r[r.indexOf(e)+2])?[i,r[r.indexOf(e)+2]].join(" "):i}var ri=!1;function Os(r,e=()=>{}){return(...t)=>ri?e(...t):r(...t)}function sg(r){return(...e)=>ri&&r(...e)}function ag(r,e){r._x_dataStack&&(e._x_dataStack=r._x_dataStack,e.setAttribute("data-has-alpine-state",!0)),ri=!0,Mf(()=>{Pr(e,(t,i)=>{i(t,()=>{})})}),ri=!1}var fl=!1;function lg(r,e){e._x_dataStack||(e._x_dataStack=r._x_dataStack),ri=!0,fl=!0,Mf(()=>{ug(e)}),ri=!1,fl=!1}function ug(r){let e=!1;Pr(r,(i,n)=>{ti(i,(o,s)=>{if(e&&P_(o))return s();e=!0,n(o,s)})})}function Mf(r){let e=_n;Nc((t,i)=>{let n=e(t);return ao(n),()=>{}}),r(),Nc(e)}function cg(r){return ri?fl?!0:r.hasAttribute("data-has-alpine-state"):!1}function Pf(r,e,t,i=[]){switch(r._x_bindings||(r._x_bindings=pn({})),r._x_bindings[e]=t,e=i.includes("camel")?vg(e):e,e){case"value":fg(r,t);break;case"style":hg(r,t);break;case"class":dg(r,t);break;case"selected":case"checked":pg(r,e,t);break;default:Lf(r,e,t);break}}function fg(r,e){if(r.type==="radio")r.attributes.value===void 0&&(r.value=e),window.fromModel&&(r.checked=Hc(r.value,e));else if(r.type==="checkbox")Number.isInteger(e)?r.value=e:!Array.isArray(e)&&typeof e!="boolean"&&![null,void 0].includes(e)?r.value=String(e):Array.isArray(e)?r.checked=e.some(t=>Hc(t,r.value)):r.checked=!!e;else if(r.tagName==="SELECT")mg(r,e);else{if(r.value===e)return;r.value=e===void 0?"":e}}function dg(r,e){r._x_undoAddedClasses&&r._x_undoAddedClasses(),r._x_undoAddedClasses=kl(r,e)}function hg(r,e){r._x_undoAddedStyles&&r._x_undoAddedStyles(),r._x_undoAddedStyles=Cs(r,e)}function pg(r,e,t){Lf(r,e,t),gg(r,e,t)}function Lf(r,e,t){[null,void 0,!1].includes(t)&&yg(e)?r.removeAttribute(e):(Rf(e)&&(t=e),_g(r,e,t))}function _g(r,e,t){r.getAttribute(e)!=t&&r.setAttribute(e,t)}function gg(r,e,t){r[e]!==t&&(r[e]=t)}function mg(r,e){let t=[].concat(e).map(i=>i+"");Array.from(r.options).forEach(i=>{i.selected=t.includes(i.value)})}function vg(r){return r.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function Hc(r,e){return r==e}function Rf(r){return["disabled","checked","required","readonly","hidden","open","selected","autofocus","itemscope","multiple","novalidate","allowfullscreen","allowpaymentrequest","formnovalidate","autoplay","controls","loop","muted","playsinline","default","ismap","reversed","async","defer","nomodule"].includes(r)}function yg(r){return!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(r)}function wg(r,e,t){return r._x_bindings&&r._x_bindings[e]!==void 0?r._x_bindings[e]:Df(r,e,t)}function bg(r,e,t,i=!0){if(r._x_bindings&&r._x_bindings[e]!==void 0)return r._x_bindings[e];if(r._x_inlineBindings&&r._x_inlineBindings[e]!==void 0){let n=r._x_inlineBindings[e];return n.extract=i,gf(()=>Li(r,n.expression))}return Df(r,e,t)}function Df(r,e,t){let i=r.getAttribute(e);return i===null?typeof t=="function"?t():t:i===""?!0:Rf(e)?!![e,"true"].includes(i):i}function If(r,e){var t;return function(){var i=this,n=arguments,o=function(){t=null,r.apply(i,n)};clearTimeout(t),t=setTimeout(o,e)}}function Nf(r,e){let t;return function(){let i=this,n=arguments;t||(r.apply(i,n),t=!0,setTimeout(()=>t=!1,e))}}function zf({get:r,set:e},{get:t,set:i}){let n=!0,o,s,a,l,u=_n(()=>{let c,d;n?(c=r(),i(JSON.parse(JSON.stringify(c))),d=t(),n=!1):(c=r(),d=t(),a=JSON.stringify(c),l=JSON.stringify(d),a!==o?(d=t(),i(c),d=c):(e(JSON.parse(l??null)),c=d)),o=JSON.stringify(c),s=JSON.stringify(d)});return()=>{ao(u)}}function xg(r){(Array.isArray(r)?r:[r]).forEach(t=>t(co))}var ki={},Vc=!1;function Sg(r,e){if(Vc||(ki=pn(ki),Vc=!0),e===void 0)return ki[r];ki[r]=e,typeof e=="object"&&e!==null&&e.hasOwnProperty("init")&&typeof e.init=="function"&&ki[r].init(),hf(ki[r])}function Eg(){return ki}var Ff={};function Tg(r,e){let t=typeof e!="function"?()=>e:e;return r instanceof Element?Hf(r,t()):(Ff[r]=t,()=>{})}function Ag(r){return Object.entries(Ff).forEach(([e,t])=>{Object.defineProperty(r,e,{get(){return(...i)=>t(...i)}})}),r}function Hf(r,e,t){let i=[];for(;i.length;)i.pop()();let n=Object.entries(e).map(([s,a])=>({name:s,value:a})),o=yf(n);return n=n.map(s=>o.find(a=>a.name===s.name)?{name:`x-bind:${s.name}`,value:`"${s.value}"`}:s),Tl(r,n,t).map(s=>{i.push(s.runCleanups),s()}),()=>{for(;i.length;)i.pop()()}}var Vf={};function Cg(r,e){Vf[r]=e}function Og(r,e){return Object.entries(Vf).forEach(([t,i])=>{Object.defineProperty(r,t,{get(){return(...n)=>i.bind(e)(...n)},enumerable:!1})}),r}var kg={get reactive(){return pn},get release(){return ao},get effect(){return _n},get raw(){return Zc},version:"3.13.1",flushAndStopDeferringMutations:F_,dontAutoEvaluateFunctions:gf,disableEffectScheduling:C_,startObservingMutations:bl,stopObservingMutations:ff,setReactivityEngine:O_,onAttributeRemoved:uf,onAttributesAdded:lf,closestDataStack:dn,skipDuringClone:Os,onlyDuringClone:sg,addRootSelector:tf,addInitSelector:rf,addScopeToNode:lo,deferMutations:z_,mapAttributes:Al,evaluateLater:_t,interceptInit:L_,setEvaluator:q_,mergeProxies:uo,extractProp:bg,findClosest:As,onElRemoved:vl,closestRoot:Ts,destroyTree:ml,interceptor:pf,transition:cl,setStyles:Cs,mutateDom:qe,directive:ze,entangle:zf,throttle:Nf,debounce:If,evaluate:Li,initTree:Pr,nextTick:Ol,prefixed:gn,prefix:G_,plugin:xg,magic:or,store:Sg,start:M_,clone:lg,cloneNode:ag,bound:wg,$data:df,walk:ti,data:Cg,bind:Tg},co=kg;function Wf(r,e){let t=Object.create(null),i=r.split(",");for(let n=0;n<i.length;n++)t[i[n]]=!0;return e?n=>!!t[n.toLowerCase()]:n=>!!t[n]}var Mg="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",T1=Wf(Mg+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),Pg=Object.freeze({}),A1=Object.freeze([]),Lg=Object.prototype.hasOwnProperty,ks=(r,e)=>Lg.call(r,e),Ri=Array.isArray,oo=r=>Bf(r)==="[object Map]",Rg=r=>typeof r=="string",Ml=r=>typeof r=="symbol",Ms=r=>r!==null&&typeof r=="object",Dg=Object.prototype.toString,Bf=r=>Dg.call(r),qf=r=>Bf(r).slice(8,-1),Pl=r=>Rg(r)&&r!=="NaN"&&r[0]!=="-"&&""+parseInt(r,10)===r,Ps=r=>{let e=Object.create(null);return t=>e[t]||(e[t]=r(t))},Ig=/-(\w)/g,C1=Ps(r=>r.replace(Ig,(e,t)=>t?t.toUpperCase():"")),Ng=/\B([A-Z])/g,O1=Ps(r=>r.replace(Ng,"-$1").toLowerCase()),Yf=Ps(r=>r.charAt(0).toUpperCase()+r.slice(1)),k1=Ps(r=>r?`on${Yf(r)}`:""),Xf=(r,e)=>r!==e&&(r===r||e===e),dl=new WeakMap,to=[],pr,Di=Symbol("iterate"),hl=Symbol("Map key iterate");function zg(r){return r&&r._isEffect===!0}function Fg(r,e=Pg){zg(r)&&(r=r.raw);let t=Wg(r,e);return e.lazy||t(),t}function Hg(r){r.active&&(Uf(r),r.options.onStop&&r.options.onStop(),r.active=!1)}var Vg=0;function Wg(r,e){let t=function(){if(!t.active)return r();if(!to.includes(t)){Uf(t);try{return qg(),to.push(t),pr=t,r()}finally{to.pop(),Gf(),pr=to[to.length-1]}}};return t.id=Vg++,t.allowRecurse=!!e.allowRecurse,t._isEffect=!0,t.active=!0,t.raw=r,t.deps=[],t.options=e,t}function Uf(r){let{deps:e}=r;if(e.length){for(let t=0;t<e.length;t++)e[t].delete(r);e.length=0}}var hn=!0,Ll=[];function Bg(){Ll.push(hn),hn=!1}function qg(){Ll.push(hn),hn=!0}function Gf(){let r=Ll.pop();hn=r===void 0?!0:r}function nr(r,e,t){if(!hn||pr===void 0)return;let i=dl.get(r);i||dl.set(r,i=new Map);let n=i.get(t);n||i.set(t,n=new Set),n.has(pr)||(n.add(pr),pr.deps.push(n),pr.options.onTrack&&pr.options.onTrack({effect:pr,target:r,type:e,key:t}))}function ii(r,e,t,i,n,o){let s=dl.get(r);if(!s)return;let a=new Set,l=c=>{c&&c.forEach(d=>{(d!==pr||d.allowRecurse)&&a.add(d)})};if(e==="clear")s.forEach(l);else if(t==="length"&&Ri(r))s.forEach((c,d)=>{(d==="length"||d>=i)&&l(c)});else switch(t!==void 0&&l(s.get(t)),e){case"add":Ri(r)?Pl(t)&&l(s.get("length")):(l(s.get(Di)),oo(r)&&l(s.get(hl)));break;case"delete":Ri(r)||(l(s.get(Di)),oo(r)&&l(s.get(hl)));break;case"set":oo(r)&&l(s.get(Di));break}let u=c=>{c.options.onTrigger&&c.options.onTrigger({effect:c,target:r,key:t,type:e,newValue:i,oldValue:n,oldTarget:o}),c.options.scheduler?c.options.scheduler(c):c()};a.forEach(u)}var Yg=Wf("__proto__,__v_isRef,__isVue"),$f=new Set(Object.getOwnPropertyNames(Symbol).map(r=>Symbol[r]).filter(Ml)),Xg=jf(),Ug=jf(!0),Wc=Gg();function Gg(){let r={};return["includes","indexOf","lastIndexOf"].forEach(e=>{r[e]=function(...t){let i=ye(this);for(let o=0,s=this.length;o<s;o++)nr(i,"get",o+"");let n=i[e](...t);return n===-1||n===!1?i[e](...t.map(ye)):n}}),["push","pop","shift","unshift","splice"].forEach(e=>{r[e]=function(...t){Bg();let i=ye(this)[e].apply(this,t);return Gf(),i}}),r}function jf(r=!1,e=!1){return function(i,n,o){if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_raw"&&o===(r?e?um:Jf:e?lm:Qf).get(i))return i;let s=Ri(i);if(!r&&s&&ks(Wc,n))return Reflect.get(Wc,n,o);let a=Reflect.get(i,n,o);return(Ml(n)?$f.has(n):Yg(n))||(r||nr(i,"get",n),e)?a:pl(a)?!s||!Pl(n)?a.value:a:Ms(a)?r?ed(a):Nl(a):a}}var $g=jg();function jg(r=!1){return function(t,i,n,o){let s=t[i];if(!r&&(n=ye(n),s=ye(s),!Ri(t)&&pl(s)&&!pl(n)))return s.value=n,!0;let a=Ri(t)&&Pl(i)?Number(i)<t.length:ks(t,i),l=Reflect.set(t,i,n,o);return t===ye(o)&&(a?Xf(n,s)&&ii(t,"set",i,n,s):ii(t,"add",i,n)),l}}function Kg(r,e){let t=ks(r,e),i=r[e],n=Reflect.deleteProperty(r,e);return n&&t&&ii(r,"delete",e,void 0,i),n}function Zg(r,e){let t=Reflect.has(r,e);return(!Ml(e)||!$f.has(e))&&nr(r,"has",e),t}function Qg(r){return nr(r,"iterate",Ri(r)?"length":Di),Reflect.ownKeys(r)}var Jg={get:Xg,set:$g,deleteProperty:Kg,has:Zg,ownKeys:Qg},em={get:Ug,set(r,e){return console.warn(`Set operation on key "${String(e)}" failed: target is readonly.`,r),!0},deleteProperty(r,e){return console.warn(`Delete operation on key "${String(e)}" failed: target is readonly.`,r),!0}},Rl=r=>Ms(r)?Nl(r):r,Dl=r=>Ms(r)?ed(r):r,Il=r=>r,Ls=r=>Reflect.getPrototypeOf(r);function gs(r,e,t=!1,i=!1){r=r.__v_raw;let n=ye(r),o=ye(e);e!==o&&!t&&nr(n,"get",e),!t&&nr(n,"get",o);let{has:s}=Ls(n),a=i?Il:t?Dl:Rl;if(s.call(n,e))return a(r.get(e));if(s.call(n,o))return a(r.get(o));r!==n&&r.get(e)}function ms(r,e=!1){let t=this.__v_raw,i=ye(t),n=ye(r);return r!==n&&!e&&nr(i,"has",r),!e&&nr(i,"has",n),r===n?t.has(r):t.has(r)||t.has(n)}function vs(r,e=!1){return r=r.__v_raw,!e&&nr(ye(r),"iterate",Di),Reflect.get(r,"size",r)}function Bc(r){r=ye(r);let e=ye(this);return Ls(e).has.call(e,r)||(e.add(r),ii(e,"add",r,r)),this}function qc(r,e){e=ye(e);let t=ye(this),{has:i,get:n}=Ls(t),o=i.call(t,r);o?Zf(t,i,r):(r=ye(r),o=i.call(t,r));let s=n.call(t,r);return t.set(r,e),o?Xf(e,s)&&ii(t,"set",r,e,s):ii(t,"add",r,e),this}function Yc(r){let e=ye(this),{has:t,get:i}=Ls(e),n=t.call(e,r);n?Zf(e,t,r):(r=ye(r),n=t.call(e,r));let o=i?i.call(e,r):void 0,s=e.delete(r);return n&&ii(e,"delete",r,void 0,o),s}function Xc(){let r=ye(this),e=r.size!==0,t=oo(r)?new Map(r):new Set(r),i=r.clear();return e&&ii(r,"clear",void 0,void 0,t),i}function ys(r,e){return function(i,n){let o=this,s=o.__v_raw,a=ye(s),l=e?Il:r?Dl:Rl;return!r&&nr(a,"iterate",Di),s.forEach((u,c)=>i.call(n,l(u),l(c),o))}}function ws(r,e,t){return function(...i){let n=this.__v_raw,o=ye(n),s=oo(o),a=r==="entries"||r===Symbol.iterator&&s,l=r==="keys"&&s,u=n[r](...i),c=t?Il:e?Dl:Rl;return!e&&nr(o,"iterate",l?hl:Di),{next(){let{value:d,done:h}=u.next();return h?{value:d,done:h}:{value:a?[c(d[0]),c(d[1])]:c(d),done:h}},[Symbol.iterator](){return this}}}}function ei(r){return function(...e){{let t=e[0]?`on key "${e[0]}" `:"";console.warn(`${Yf(r)} operation ${t}failed: target is readonly.`,ye(this))}return r==="delete"?!1:this}}function tm(){let r={get(o){return gs(this,o)},get size(){return vs(this)},has:ms,add:Bc,set:qc,delete:Yc,clear:Xc,forEach:ys(!1,!1)},e={get(o){return gs(this,o,!1,!0)},get size(){return vs(this)},has:ms,add:Bc,set:qc,delete:Yc,clear:Xc,forEach:ys(!1,!0)},t={get(o){return gs(this,o,!0)},get size(){return vs(this,!0)},has(o){return ms.call(this,o,!0)},add:ei("add"),set:ei("set"),delete:ei("delete"),clear:ei("clear"),forEach:ys(!0,!1)},i={get(o){return gs(this,o,!0,!0)},get size(){return vs(this,!0)},has(o){return ms.call(this,o,!0)},add:ei("add"),set:ei("set"),delete:ei("delete"),clear:ei("clear"),forEach:ys(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{r[o]=ws(o,!1,!1),t[o]=ws(o,!0,!1),e[o]=ws(o,!1,!0),i[o]=ws(o,!0,!0)}),[r,t,e,i]}var[rm,im,nm,om]=tm();function Kf(r,e){let t=e?r?om:nm:r?im:rm;return(i,n,o)=>n==="__v_isReactive"?!r:n==="__v_isReadonly"?r:n==="__v_raw"?i:Reflect.get(ks(t,n)&&n in i?t:i,n,o)}var sm={get:Kf(!1,!1)},am={get:Kf(!0,!1)};function Zf(r,e,t){let i=ye(t);if(i!==t&&e.call(r,i)){let n=qf(r);console.warn(`Reactive ${n} contains both the raw and reactive versions of the same object${n==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}var Qf=new WeakMap,lm=new WeakMap,Jf=new WeakMap,um=new WeakMap;function cm(r){switch(r){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function fm(r){return r.__v_skip||!Object.isExtensible(r)?0:cm(qf(r))}function Nl(r){return r&&r.__v_isReadonly?r:td(r,!1,Jg,sm,Qf)}function ed(r){return td(r,!0,em,am,Jf)}function td(r,e,t,i,n){if(!Ms(r))return console.warn(`value cannot be made reactive: ${String(r)}`),r;if(r.__v_raw&&!(e&&r.__v_isReactive))return r;let o=n.get(r);if(o)return o;let s=fm(r);if(s===0)return r;let a=new Proxy(r,s===2?i:t);return n.set(r,a),a}function ye(r){return r&&ye(r.__v_raw)||r}function pl(r){return!!(r&&r.__v_isRef===!0)}or("nextTick",()=>Ol);or("dispatch",r=>io.bind(io,r));or("watch",(r,{evaluateLater:e,effect:t})=>(i,n)=>{let o=e(i),s=!0,a,l=t(()=>o(u=>{JSON.stringify(u),s?a=u:queueMicrotask(()=>{n(u,a),a=u}),s=!1}));r._x_effects.delete(l)});or("store",Eg);or("data",r=>df(r));or("root",r=>Ts(r));or("refs",r=>(r._x_refs_proxy||(r._x_refs_proxy=uo(dm(r))),r._x_refs_proxy));function dm(r){let e=[],t=r;for(;t;)t._x_refs&&e.push(t._x_refs),t=t.parentNode;return e}var Ka={};function rd(r){return Ka[r]||(Ka[r]=0),++Ka[r]}function hm(r,e){return As(r,t=>{if(t._x_ids&&t._x_ids[e])return!0})}function pm(r,e){r._x_ids||(r._x_ids={}),r._x_ids[e]||(r._x_ids[e]=rd(e))}or("id",r=>(e,t=null)=>{let i=hm(r,e),n=i?i._x_ids[e]:rd(e);return t?`${e}-${n}-${t}`:`${e}-${n}`});or("el",r=>r);id("Focus","focus","focus");id("Persist","persist","persist");function id(r,e,t){or(e,i=>Mr(`You can't use [$${e}] without first installing the "${r}" plugin here: https://alpinejs.dev/plugins/${t}`,i))}ze("modelable",(r,{expression:e},{effect:t,evaluateLater:i,cleanup:n})=>{let o=i(e),s=()=>{let c;return o(d=>c=d),c},a=i(`${e} = __placeholder`),l=c=>a(()=>{},{scope:{__placeholder:c}}),u=s();l(u),queueMicrotask(()=>{if(!r._x_model)return;r._x_removeModelListeners.default();let c=r._x_model.get,d=r._x_model.set,h=zf({get(){return c()},set(f){d(f)}},{get(){return s()},set(f){l(f)}});n(h)})});ze("teleport",(r,{modifiers:e,expression:t},{cleanup:i})=>{r.tagName.toLowerCase()!=="template"&&Mr("x-teleport can only be used on a <template> tag",r);let n=Uc(t),o=r.content.cloneNode(!0).firstElementChild;r._x_teleport=o,o._x_teleportBack=r,r.setAttribute("data-teleport-template",!0),o.setAttribute("data-teleport-target",!0),r._x_forwardEvents&&r._x_forwardEvents.forEach(a=>{o.addEventListener(a,l=>{l.stopPropagation(),r.dispatchEvent(new l.constructor(l.type,l))})}),lo(o,{},r);let s=(a,l,u)=>{u.includes("prepend")?l.parentNode.insertBefore(a,l):u.includes("append")?l.parentNode.insertBefore(a,l.nextSibling):l.appendChild(a)};qe(()=>{s(o,n,e),Pr(o),o._x_ignore=!0}),r._x_teleportPutBack=()=>{let a=Uc(t);qe(()=>{s(r._x_teleport,a,e)})},i(()=>o.remove())});var _m=document.createElement("div");function Uc(r){let e=Os(()=>document.querySelector(r),()=>_m)();return e||Mr(`Cannot find x-teleport element for selector: "${r}"`),e}var nd=()=>{};nd.inline=(r,{modifiers:e},{cleanup:t})=>{e.includes("self")?r._x_ignoreSelf=!0:r._x_ignore=!0,t(()=>{e.includes("self")?delete r._x_ignoreSelf:delete r._x_ignore})};ze("ignore",nd);ze("effect",(r,{expression:e},{effect:t})=>t(_t(r,e)));function _l(r,e,t,i){let n=r,o=l=>i(l),s={},a=(l,u)=>c=>u(l,c);if(t.includes("dot")&&(e=gm(e)),t.includes("camel")&&(e=mm(e)),t.includes("passive")&&(s.passive=!0),t.includes("capture")&&(s.capture=!0),t.includes("window")&&(n=window),t.includes("document")&&(n=document),t.includes("debounce")){let l=t[t.indexOf("debounce")+1]||"invalid-wait",u=Es(l.split("ms")[0])?Number(l.split("ms")[0]):250;o=If(o,u)}if(t.includes("throttle")){let l=t[t.indexOf("throttle")+1]||"invalid-wait",u=Es(l.split("ms")[0])?Number(l.split("ms")[0]):250;o=Nf(o,u)}return t.includes("prevent")&&(o=a(o,(l,u)=>{u.preventDefault(),l(u)})),t.includes("stop")&&(o=a(o,(l,u)=>{u.stopPropagation(),l(u)})),t.includes("self")&&(o=a(o,(l,u)=>{u.target===r&&l(u)})),(t.includes("away")||t.includes("outside"))&&(n=document,o=a(o,(l,u)=>{r.contains(u.target)||u.target.isConnected!==!1&&(r.offsetWidth<1&&r.offsetHeight<1||r._x_isShown!==!1&&l(u))})),t.includes("once")&&(o=a(o,(l,u)=>{l(u),n.removeEventListener(e,o,s)})),o=a(o,(l,u)=>{ym(e)&&wm(u,t)||l(u)}),n.addEventListener(e,o,s),()=>{n.removeEventListener(e,o,s)}}function gm(r){return r.replace(/-/g,".")}function mm(r){return r.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function Es(r){return!Array.isArray(r)&&!isNaN(r)}function vm(r){return[" ","_"].includes(r)?r:r.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase()}function ym(r){return["keydown","keyup"].includes(r)}function wm(r,e){let t=e.filter(o=>!["window","document","prevent","stop","once","capture"].includes(o));if(t.includes("debounce")){let o=t.indexOf("debounce");t.splice(o,Es((t[o+1]||"invalid-wait").split("ms")[0])?2:1)}if(t.includes("throttle")){let o=t.indexOf("throttle");t.splice(o,Es((t[o+1]||"invalid-wait").split("ms")[0])?2:1)}if(t.length===0||t.length===1&&Gc(r.key).includes(t[0]))return!1;let n=["ctrl","shift","alt","meta","cmd","super"].filter(o=>t.includes(o));return t=t.filter(o=>!n.includes(o)),!(n.length>0&&n.filter(s=>((s==="cmd"||s==="super")&&(s="meta"),r[`${s}Key`])).length===n.length&&Gc(r.key).includes(t[0]))}function Gc(r){if(!r)return[];r=vm(r);let e={ctrl:"control",slash:"/",space:" ",spacebar:" ",cmd:"meta",esc:"escape",up:"arrow-up",down:"arrow-down",left:"arrow-left",right:"arrow-right",period:".",equal:"=",minus:"-",underscore:"_"};return e[r]=r,Object.keys(e).map(t=>{if(e[t]===r)return t}).filter(t=>t)}ze("model",(r,{modifiers:e,expression:t},{effect:i,cleanup:n})=>{let o=r;e.includes("parent")&&(o=r.parentNode);let s=_t(o,t),a;typeof t=="string"?a=_t(o,`${t} = __placeholder`):typeof t=="function"&&typeof t()=="string"?a=_t(o,`${t()} = __placeholder`):a=()=>{};let l=()=>{let h;return s(f=>h=f),$c(h)?h.get():h},u=h=>{let f;s(_=>f=_),$c(f)?f.set(h):a(()=>{},{scope:{__placeholder:h}})};typeof t=="string"&&r.type==="radio"&&qe(()=>{r.hasAttribute("name")||r.setAttribute("name",t)});var c=r.tagName.toLowerCase()==="select"||["checkbox","radio"].includes(r.type)||e.includes("lazy")?"change":"input";let d=ri?()=>{}:_l(r,c,e,h=>{u(bm(r,e,h,l()))});if(e.includes("fill")&&([null,""].includes(l())||r.type==="checkbox"&&Array.isArray(l()))&&r.dispatchEvent(new Event(c,{})),r._x_removeModelListeners||(r._x_removeModelListeners={}),r._x_removeModelListeners.default=d,n(()=>r._x_removeModelListeners.default()),r.form){let h=_l(r.form,"reset",[],f=>{Ol(()=>r._x_model&&r._x_model.set(r.value))});n(()=>h())}r._x_model={get(){return l()},set(h){u(h)}},r._x_forceModelUpdate=h=>{h===void 0&&typeof t=="string"&&t.match(/\./)&&(h=""),window.fromModel=!0,qe(()=>Pf(r,"value",h)),delete window.fromModel},i(()=>{let h=l();e.includes("unintrusive")&&document.activeElement.isSameNode(r)||r._x_forceModelUpdate(h)})});function bm(r,e,t,i){return qe(()=>{if(t instanceof CustomEvent&&t.detail!==void 0)return t.detail!==null&&t.detail!==void 0?t.detail:t.target.value;if(r.type==="checkbox")if(Array.isArray(i)){let n=e.includes("number")?Za(t.target.value):t.target.value;return t.target.checked?i.concat([n]):i.filter(o=>!xm(o,n))}else return t.target.checked;else{if(r.tagName.toLowerCase()==="select"&&r.multiple)return e.includes("number")?Array.from(t.target.selectedOptions).map(n=>{let o=n.value||n.text;return Za(o)}):Array.from(t.target.selectedOptions).map(n=>n.value||n.text);{let n=t.target.value;return e.includes("number")?Za(n):e.includes("trim")?n.trim():n}}})}function Za(r){let e=r?parseFloat(r):null;return Sm(e)?e:r}function xm(r,e){return r==e}function Sm(r){return!Array.isArray(r)&&!isNaN(r)}function $c(r){return r!==null&&typeof r=="object"&&typeof r.get=="function"&&typeof r.set=="function"}ze("cloak",r=>queueMicrotask(()=>qe(()=>r.removeAttribute(gn("cloak")))));rf(()=>`[${gn("init")}]`);ze("init",Os((r,{expression:e},{evaluate:t})=>typeof e=="string"?!!e.trim()&&t(e,{},!1):t(e,{},!1)));ze("text",(r,{expression:e},{effect:t,evaluateLater:i})=>{let n=i(e);t(()=>{n(o=>{qe(()=>{r.textContent=o})})})});ze("html",(r,{expression:e},{effect:t,evaluateLater:i})=>{let n=i(e);t(()=>{n(o=>{qe(()=>{r.innerHTML=o,r._x_ignoreSelf=!0,Pr(r),delete r._x_ignoreSelf})})})});Al(xf(":",Sf(gn("bind:"))));var od=(r,{value:e,modifiers:t,expression:i,original:n},{effect:o})=>{if(!e){let a={};Ag(a),_t(r,i)(u=>{Hf(r,u,n)},{scope:a});return}if(e==="key")return Em(r,i);if(r._x_inlineBindings&&r._x_inlineBindings[e]&&r._x_inlineBindings[e].extract)return;let s=_t(r,i);o(()=>s(a=>{a===void 0&&typeof i=="string"&&i.match(/\./)&&(a=""),qe(()=>Pf(r,e,a,t))}))};od.inline=(r,{value:e,modifiers:t,expression:i})=>{e&&(r._x_inlineBindings||(r._x_inlineBindings={}),r._x_inlineBindings[e]={expression:i,extract:!1})};ze("bind",od);function Em(r,e){r._x_keyExpression=e}tf(()=>`[${gn("data")}]`);ze("data",(r,{expression:e},{cleanup:t})=>{if(cg(r))return;e=e===""?"{}":e;let i={};il(i,r);let n={};Og(n,i);let o=Li(r,e,{scope:n});(o===void 0||o===!0)&&(o={}),il(o,r);let s=pn(o);hf(s);let a=lo(r,s);s.init&&Li(r,s.init),t(()=>{s.destroy&&Li(r,s.destroy),a()})});ze("show",(r,{modifiers:e,expression:t},{effect:i})=>{let n=_t(r,t);r._x_doHide||(r._x_doHide=()=>{qe(()=>{r.style.setProperty("display","none",e.includes("important")?"important":void 0)})}),r._x_doShow||(r._x_doShow=()=>{qe(()=>{r.style.length===1&&r.style.display==="none"?r.removeAttribute("style"):r.style.removeProperty("display")})});let o=()=>{r._x_doHide(),r._x_isShown=!1},s=()=>{r._x_doShow(),r._x_isShown=!0},a=()=>setTimeout(s),l=ul(d=>d?s():o(),d=>{typeof r._x_toggleAndCascadeWithTransitions=="function"?r._x_toggleAndCascadeWithTransitions(r,d,s,o):d?a():o()}),u,c=!0;i(()=>n(d=>{!c&&d===u||(e.includes("immediate")&&(d?a():o()),l(d),u=d,c=!1)}))});ze("for",(r,{expression:e},{effect:t,cleanup:i})=>{let n=Am(e),o=_t(r,n.items),s=_t(r,r._x_keyExpression||"index");r._x_prevKeys=[],r._x_lookup={},t(()=>Tm(r,n,o,s)),i(()=>{Object.values(r._x_lookup).forEach(a=>a.remove()),delete r._x_prevKeys,delete r._x_lookup})});function Tm(r,e,t,i){let n=s=>typeof s=="object"&&!Array.isArray(s),o=r;t(s=>{Cm(s)&&s>=0&&(s=Array.from(Array(s).keys(),g=>g+1)),s===void 0&&(s=[]);let a=r._x_lookup,l=r._x_prevKeys,u=[],c=[];if(n(s))s=Object.entries(s).map(([g,m])=>{let v=jc(e,m,g,s);i(w=>c.push(w),{scope:{index:g,...v}}),u.push(v)});else for(let g=0;g<s.length;g++){let m=jc(e,s[g],g,s);i(v=>c.push(v),{scope:{index:g,...m}}),u.push(m)}let d=[],h=[],f=[],_=[];for(let g=0;g<l.length;g++){let m=l[g];c.indexOf(m)===-1&&f.push(m)}l=l.filter(g=>!f.includes(g));let p="template";for(let g=0;g<c.length;g++){let m=c[g],v=l.indexOf(m);if(v===-1)l.splice(g,0,m),d.push([p,g]);else if(v!==g){let w=l.splice(g,1)[0],x=l.splice(v-1,1)[0];l.splice(g,0,x),l.splice(v,0,w),h.push([w,x])}else _.push(m);p=m}for(let g=0;g<f.length;g++){let m=f[g];a[m]._x_effects&&a[m]._x_effects.forEach(Kc),a[m].remove(),a[m]=null,delete a[m]}for(let g=0;g<h.length;g++){let[m,v]=h[g],w=a[m],x=a[v],b=document.createElement("div");qe(()=>{x||Mr('x-for ":key" is undefined or invalid',o),x.after(b),w.after(x),x._x_currentIfEl&&x.after(x._x_currentIfEl),b.before(w),w._x_currentIfEl&&w.after(w._x_currentIfEl),b.remove()}),x._x_refreshXForScope(u[c.indexOf(v)])}for(let g=0;g<d.length;g++){let[m,v]=d[g],w=m==="template"?o:a[m];w._x_currentIfEl&&(w=w._x_currentIfEl);let x=u[v],b=c[v],E=document.importNode(o.content,!0).firstElementChild,S=pn(x);lo(E,S,o),E._x_refreshXForScope=T=>{Object.entries(T).forEach(([C,O])=>{S[C]=O})},qe(()=>{w.after(E),Pr(E)}),typeof b=="object"&&Mr("x-for key cannot be an object, it must be a string or an integer",o),a[b]=E}for(let g=0;g<_.length;g++)a[_[g]]._x_refreshXForScope(u[c.indexOf(_[g])]);o._x_prevKeys=c})}function Am(r){let e=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,t=/^\s*\(|\)\s*$/g,i=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,n=r.match(i);if(!n)return;let o={};o.items=n[2].trim();let s=n[1].replace(t,"").trim(),a=s.match(e);return a?(o.item=s.replace(e,"").trim(),o.index=a[1].trim(),a[2]&&(o.collection=a[2].trim())):o.item=s,o}function jc(r,e,t,i){let n={};return/^\[.*\]$/.test(r.item)&&Array.isArray(e)?r.item.replace("[","").replace("]","").split(",").map(s=>s.trim()).forEach((s,a)=>{n[s]=e[a]}):/^\{.*\}$/.test(r.item)&&!Array.isArray(e)&&typeof e=="object"?r.item.replace("{","").replace("}","").split(",").map(s=>s.trim()).forEach(s=>{n[s]=e[s]}):n[r.item]=e,r.index&&(n[r.index]=t),r.collection&&(n[r.collection]=i),n}function Cm(r){return!Array.isArray(r)&&!isNaN(r)}function sd(){}sd.inline=(r,{expression:e},{cleanup:t})=>{let i=Ts(r);i._x_refs||(i._x_refs={}),i._x_refs[e]=r,t(()=>delete i._x_refs[e])};ze("ref",sd);ze("if",(r,{expression:e},{effect:t,cleanup:i})=>{r.tagName.toLowerCase()!=="template"&&Mr("x-if can only be used on a <template> tag",r);let n=_t(r,e),o=()=>{if(r._x_currentIfEl)return r._x_currentIfEl;let a=r.content.cloneNode(!0).firstElementChild;return lo(a,{},r),qe(()=>{r.after(a),Pr(a)}),r._x_currentIfEl=a,r._x_undoIf=()=>{ti(a,l=>{l._x_effects&&l._x_effects.forEach(Kc)}),a.remove(),delete r._x_currentIfEl},a},s=()=>{r._x_undoIf&&(r._x_undoIf(),delete r._x_undoIf)};t(()=>n(a=>{a?o():s()})),i(()=>r._x_undoIf&&r._x_undoIf())});ze("id",(r,{expression:e},{evaluate:t})=>{t(e).forEach(n=>pm(r,n))});Al(xf("@",Sf(gn("on:"))));ze("on",Os((r,{value:e,modifiers:t,expression:i},{cleanup:n})=>{let o=i?_t(r,i):()=>{};r.tagName.toLowerCase()==="template"&&(r._x_forwardEvents||(r._x_forwardEvents=[]),r._x_forwardEvents.includes(e)||r._x_forwardEvents.push(e));let s=_l(r,e,t,a=>{o(()=>{},{scope:{$event:a},params:[a]})});n(()=>s())}));Rs("Collapse","collapse","collapse");Rs("Intersect","intersect","intersect");Rs("Focus","trap","focus");Rs("Mask","mask","mask");function Rs(r,e,t){ze(e,i=>Mr(`You can't use [x-${e}] without first installing the "${r}" plugin here: https://alpinejs.dev/plugins/${t}`,i))}co.setEvaluator(vf);co.setReactivityEngine({reactive:Nl,effect:Fg,release:Hg,raw:ye});var Om=co,zl=Om;function Fl(r){let e=[];for(let t=0;t<r.attributes.length;++t){let i=r.attributes[t];i.name.startsWith("x-")&&e.push(i)}return e}function km(r){let e=document.createElement("template");Fl(r).forEach(i=>{e.setAttribute(i.name,i.value),r.removeAttribute(i.name)}),r.parentNode.insertBefore(e,r),e.content.appendChild(r)}function Mm(r){Fl(r).forEach(t=>{let i=t.name.match(/^(x-[^:]+)(:.+)$/);if(i){let n=null;if(["x-bind","x-on"].includes(i[1])){let o=i[1],s=i[2].substring(1);o==="x-on"&&s.startsWith("update:")&&(o+=":update",s=s.substring(7)),s.includes(":")&&(n=o+":"+s.replace(/:/g,"."))}else n=i[1]+i[2].replace(/:/g,".");n&&(r.setAttribute(n,t.value),r.removeAttribute(t.name))}})}function Pm(r){Fl(r).forEach(t=>{t.name.match(/^x-transition.*(?!(enter|leave))/)&&r.setAttribute(t.name,"")})}function Lm(){document.querySelectorAll("[x-data],[x-data] *").forEach(r=>{Mm(r),Pm(r)}),document.querySelectorAll("[x-data] [x-for], [x-data] [x-if]").forEach(km)}function ad(){window.Alpine=zl,window.Webflow||(window.Webflow=[]),window.Webflow.push(()=>{Lm(),zl.start()})}function ud(r,e,t){return Math.max(r,Math.min(e,t))}var Hl=class{advance(e){if(!this.isRunning)return;let t=!1;if(this.lerp)this.value=function(n,o,s,a){return function(u,c,d){return(1-d)*u+d*c}(n,o,1-Math.exp(-s*a))}(this.value,this.to,60*this.lerp,e),Math.round(this.value)===this.to&&(this.value=this.to,t=!0);else{this.currentTime+=e;let i=ud(0,this.currentTime/this.duration,1);t=i>=1;let n=t?1:this.easing(i);this.value=this.from+(this.to-this.from)*n}t&&this.stop(),this.onUpdate?.(this.value,t)}stop(){this.isRunning=!1}fromTo(e,t,{lerp:i=.1,duration:n=1,easing:o=l=>l,onStart:s,onUpdate:a}){this.from=this.value=e,this.to=t,this.lerp=i,this.duration=n,this.easing=o,this.currentTime=0,this.isRunning=!0,s?.(),this.onUpdate=a}},Vl=class{constructor({wrapper:e,content:t,autoResize:i=!0,debounce:n=250}={}){this.wrapper=e,this.content=t,i&&(this.debouncedResize=function(s,a){let l;return function(){let u=arguments,c=this;clearTimeout(l),l=setTimeout(function(){s.apply(c,u)},a)}}(this.resize,n),this.wrapper===window?window.addEventListener("resize",this.debouncedResize,!1):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),window.removeEventListener("resize",this.debouncedResize,!1)}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{this.wrapper===window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)};onContentResize=()=>{this.wrapper===window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)};get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},Ds=class{constructor(){this.events={}}emit(e,...t){let i=this.events[e]||[];for(let n=0,o=i.length;n<o;n++)i[n](...t)}on(e,t){return this.events[e]?.push(t)||(this.events[e]=[t]),()=>{this.events[e]=this.events[e]?.filter(i=>t!==i)}}off(e,t){this.events[e]=this.events[e]?.filter(i=>t!==i)}destroy(){this.events={}}},ld=100/6,Wl=class{constructor(e,{wheelMultiplier:t=1,touchMultiplier:i=1}){this.element=e,this.wheelMultiplier=t,this.touchMultiplier=i,this.touchStart={x:null,y:null},this.emitter=new Ds,window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,{passive:!1}),this.element.addEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.addEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.addEventListener("touchend",this.onTouchEnd,{passive:!1})}on(e,t){return this.emitter.on(e,t)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel,{passive:!1}),this.element.removeEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.removeEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.removeEventListener("touchend",this.onTouchEnd,{passive:!1})}onTouchStart=e=>{let{clientX:t,clientY:i}=e.targetTouches?e.targetTouches[0]:e;this.touchStart.x=t,this.touchStart.y=i,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:e})};onTouchMove=e=>{let{clientX:t,clientY:i}=e.targetTouches?e.targetTouches[0]:e,n=-(t-this.touchStart.x)*this.touchMultiplier,o=-(i-this.touchStart.y)*this.touchMultiplier;this.touchStart.x=t,this.touchStart.y=i,this.lastDelta={x:n,y:o},this.emitter.emit("scroll",{deltaX:n,deltaY:o,event:e})};onTouchEnd=e=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:e})};onWheel=e=>{let{deltaX:t,deltaY:i,deltaMode:n}=e;t*=n===1?ld:n===2?this.windowWidth:1,i*=n===1?ld:n===2?this.windowHeight:1,t*=this.wheelMultiplier,i*=this.wheelMultiplier,this.emitter.emit("scroll",{deltaX:t,deltaY:i,event:e})};onWindowResize=()=>{this.windowWidth=window.innerWidth,this.windowHeight=window.innerHeight}},Is=class{constructor({wrapper:e=window,content:t=document.documentElement,wheelEventsTarget:i=e,eventsTarget:n=i,smoothWheel:o=!0,syncTouch:s=!1,syncTouchLerp:a=.075,touchInertiaMultiplier:l=35,duration:u,easing:c=x=>Math.min(1,1.001-Math.pow(2,-10*x)),lerp:d=!u&&.1,infinite:h=!1,orientation:f="vertical",gestureOrientation:_="vertical",touchMultiplier:p=1,wheelMultiplier:g=1,autoResize:m=!0,prevent:v=!1,__experimental__naiveDimensions:w=!1}={}){this.__isScrolling=!1,this.__isStopped=!1,this.__isLocked=!1,this.onVirtualScroll=({deltaX:x,deltaY:b,event:E})=>{if(E.ctrlKey)return;let S=E.type.includes("touch"),T=E.type.includes("wheel");if(this.isTouching=E.type==="touchstart"||E.type==="touchmove",this.options.syncTouch&&S&&E.type==="touchstart"&&!this.isStopped&&!this.isLocked)return void this.reset();let C=x===0&&b===0,O=this.options.gestureOrientation==="vertical"&&b===0||this.options.gestureOrientation==="horizontal"&&x===0;if(C||O)return;let M=E.composedPath();M=M.slice(0,M.indexOf(this.rootElement));let A=this.options.prevent;if(M.find(W=>{var V,F,R,y,L;return(typeof A=="function"?A?.(W):A)||((V=W.hasAttribute)===null||V===void 0?void 0:V.call(W,"data-lenis-prevent"))||S&&((F=W.hasAttribute)===null||F===void 0?void 0:F.call(W,"data-lenis-prevent-touch"))||T&&((R=W.hasAttribute)===null||R===void 0?void 0:R.call(W,"data-lenis-prevent-wheel"))||((y=W.classList)===null||y===void 0?void 0:y.contains("lenis"))&&!(!((L=W.classList)===null||L===void 0)&&L.contains("lenis-stopped"))}))return;if(this.isStopped||this.isLocked)return void E.preventDefault();if(!(this.options.syncTouch&&S||this.options.smoothWheel&&T))return this.isScrolling="native",void this.animate.stop();E.preventDefault();let P=b;this.options.gestureOrientation==="both"?P=Math.abs(b)>Math.abs(x)?b:x:this.options.gestureOrientation==="horizontal"&&(P=x);let N=S&&this.options.syncTouch,D=S&&E.type==="touchend"&&Math.abs(P)>5;D&&(P=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+P,Object.assign({programmatic:!1},N?{lerp:D?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}))},this.onNativeScroll=()=>{if(clearTimeout(this.__resetVelocityTimeout),delete this.__resetVelocityTimeout,this.__preventNextNativeScrollEvent)delete this.__preventNextNativeScrollEvent;else if(this.isScrolling===!1||this.isScrolling==="native"){let x=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-x,this.direction=Math.sign(this.animatedScroll-x),this.isScrolling="native",this.emit(),this.velocity!==0&&(this.__resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}},window.lenisVersion="1.1.2",e!==document.documentElement&&e!==document.body||(e=window),this.options={wrapper:e,content:t,wheelEventsTarget:i,eventsTarget:n,smoothWheel:o,syncTouch:s,syncTouchLerp:a,touchInertiaMultiplier:l,duration:u,easing:c,lerp:d,infinite:h,gestureOrientation:_,orientation:f,touchMultiplier:p,wheelMultiplier:g,autoResize:m,prevent:v,__experimental__naiveDimensions:w},this.animate=new Hl,this.emitter=new Ds,this.dimensions=new Vl({wrapper:e,content:t,autoResize:m}),this.updateClassName(),this.userData={},this.time=0,this.velocity=this.lastVelocity=0,this.isLocked=!1,this.isStopped=!1,this.isScrolling=!1,this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.virtualScroll=new Wl(n,{touchMultiplier:p,wheelMultiplier:g}),this.virtualScroll.on("scroll",this.onVirtualScroll)}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName()}on(e,t){return this.emitter.on(e,t)}off(e,t){return this.emitter.off(e,t)}setScroll(e){this.isHorizontal?this.rootElement.scrollLeft=e:this.rootElement.scrollTop=e}resize(){this.dimensions.resize()}emit({userData:e={}}={}){this.userData=e,this.emitter.emit("scroll",this),this.userData={}}reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){this.isStopped&&(this.isStopped=!1,this.reset())}stop(){this.isStopped||(this.isStopped=!0,this.animate.stop(),this.reset())}raf(e){let t=e-(this.time||e);this.time=e,this.animate.advance(.001*t)}scrollTo(e,{offset:t=0,immediate:i=!1,lock:n=!1,duration:o=this.options.duration,easing:s=this.options.easing,lerp:a=!o&&this.options.lerp,onStart:l,onComplete:u,force:c=!1,programmatic:d=!0,userData:h={}}={}){if(!this.isStopped&&!this.isLocked||c){if(["top","left","start"].includes(e))e=0;else if(["bottom","right","end"].includes(e))e=this.limit;else{let f;if(typeof e=="string"?f=document.querySelector(e):e?.nodeType&&(f=e),f){if(this.options.wrapper!==window){let p=this.options.wrapper.getBoundingClientRect();t-=this.isHorizontal?p.left:p.top}let _=f.getBoundingClientRect();e=(this.isHorizontal?_.left:_.top)+this.animatedScroll}}if(typeof e=="number"){if(e+=t,e=Math.round(e),this.options.infinite?d&&(this.targetScroll=this.animatedScroll=this.scroll):e=ud(0,e,this.limit),i)return this.animatedScroll=this.targetScroll=e,this.setScroll(this.scroll),this.reset(),void(u==null||u(this));e!==this.targetScroll&&(d||(this.targetScroll=e),this.animate.fromTo(this.animatedScroll,e,{duration:o,easing:s,lerp:a,onStart:()=>{n&&(this.isLocked=!0),this.isScrolling="smooth",l?.(this)},onUpdate:(f,_)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=f-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=f,this.setScroll(this.scroll),d&&(this.targetScroll=f),_||this.emit({userData:h}),_&&(this.reset(),this.emit({userData:h}),u?.(this),this.__preventNextNativeScrollEvent=!0)}}))}}}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.__experimental__naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){return this.isHorizontal?this.rootElement.scrollLeft:this.rootElement.scrollTop}get scroll(){return this.options.infinite?function(t,i){return(t%i+i)%i}(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return this.limit===0?1:this.scroll/this.limit}get isScrolling(){return this.__isScrolling}set isScrolling(e){this.__isScrolling!==e&&(this.__isScrolling=e,this.updateClassName())}get isStopped(){return this.__isStopped}set isStopped(e){this.__isStopped!==e&&(this.__isStopped=e,this.updateClassName())}get isLocked(){return this.__isLocked}set isLocked(e){this.__isLocked!==e&&(this.__isLocked=e,this.updateClassName())}get isSmooth(){return this.isScrolling==="smooth"}get className(){let e="lenis";return this.isStopped&&(e+=" lenis-stopped"),this.isLocked&&(e+=" lenis-locked"),this.isScrolling&&(e+=" lenis-scrolling"),this.isScrolling==="smooth"&&(e+=" lenis-smooth"),e}updateClassName(){this.cleanUpClassName(),this.rootElement.className=`${this.rootElement.className} ${this.className}`.trim()}cleanUpClassName(){this.rootElement.className=this.rootElement.className.replace(/lenis(-\w+)?/g,"").trim()}};function Lr(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function md(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,r.__proto__=e}var Ct={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},vn={duration:.5,overwrite:!1,delay:0},su,rt,be,qt=1e8,ge=1/qt,jl=Math.PI*2,Rm=jl/4,Dm=0,vd=Math.sqrt,Im=Math.cos,Nm=Math.sin,Ye=function(e){return typeof e=="string"},Me=function(e){return typeof e=="function"},Dr=function(e){return typeof e=="number"},Xs=function(e){return typeof e>"u"},mr=function(e){return typeof e=="object"},At=function(e){return e!==!1},au=function(){return typeof window<"u"},Ns=function(e){return Me(e)||Ye(e)},yd=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},lt=Array.isArray,Kl=/(?:-?\.?\d|\.)+/gi,lu=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Fi=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Bl=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,uu=/[+-]=-?[.\d]+/,wd=/[^,'"\[\]\s]+/gi,zm=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Ee,_r,Zl,cu,It={},Vs={},bd,xd=function(e){return(Vs=yn(e,It))&&ut},Us=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},mo=function(e,t){return!t&&console.warn(e)},Sd=function(e,t){return e&&(It[e]=t)&&Vs&&(Vs[e]=t)||It},vo=function(){return 0},Fm={suppressEvents:!0,isStart:!0,kill:!1},zs={suppressEvents:!0,kill:!1},Hm={suppressEvents:!0},fu={},oi=[],Ql={},Ed,Et={},ql={},cd=30,Fs=[],du="",hu=function(e){var t=e[0],i,n;if(mr(t)||Me(t)||(e=[e]),!(i=(t._gsap||{}).harness)){for(n=Fs.length;n--&&!Fs[n].targetTest(t););i=Fs[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new mu(e[n],i)))||e.splice(n,1);return e},si=function(e){return e._gsap||hu(Yt(e))[0]._gsap},pu=function(e,t,i){return(i=e[t])&&Me(i)?e[t]():Xs(i)&&e.getAttribute&&e.getAttribute(t)||i},gt=function(e,t){return(e=e.split(",")).forEach(t)||e},Pe=function(e){return Math.round(e*1e5)/1e5||0},Fe=function(e){return Math.round(e*1e7)/1e7||0},Hi=function(e,t){var i=t.charAt(0),n=parseFloat(t.substr(2));return e=parseFloat(e),i==="+"?e+n:i==="-"?e-n:i==="*"?e*n:e/n},Vm=function(e,t){for(var i=t.length,n=0;e.indexOf(t[n])<0&&++n<i;);return n<i},Ws=function(){var e=oi.length,t=oi.slice(0),i,n;for(Ql={},oi.length=0,i=0;i<e;i++)n=t[i],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},_u=function(e){return!!(e._initted||e._startAt||e.add)},Td=function(e,t,i,n){oi.length&&!rt&&Ws(),e.render(t,i,n||!!(rt&&t<0&&_u(e))),oi.length&&!rt&&Ws()},Ad=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(wd).length<2?t:Ye(e)?e.trim():e},Cd=function(e){return e},Nt=function(e,t){for(var i in t)i in e||(e[i]=t[i]);return e},Wm=function(e){return function(t,i){for(var n in i)n in t||n==="duration"&&e||n==="ease"||(t[n]=i[n])}},yn=function(e,t){for(var i in t)e[i]=t[i];return e},fd=function r(e,t){for(var i in t)i!=="__proto__"&&i!=="constructor"&&i!=="prototype"&&(e[i]=mr(t[i])?r(e[i]||(e[i]={}),t[i]):t[i]);return e},Bs=function(e,t){var i={},n;for(n in e)n in t||(i[n]=e[n]);return i},po=function(e){var t=e.parent||Ee,i=e.keyframes?Wm(lt(e.keyframes)):Nt;if(At(e.inherit))for(;t;)i(e,t.vars.defaults),t=t.parent||t._dp;return e},Bm=function(e,t){for(var i=e.length,n=i===t.length;n&&i--&&e[i]===t[i];);return i<0},Od=function(e,t,i,n,o){i===void 0&&(i="_first"),n===void 0&&(n="_last");var s=e[n],a;if(o)for(a=t[o];s&&s[o]>a;)s=s._prev;return s?(t._next=s._next,s._next=t):(t._next=e[i],e[i]=t),t._next?t._next._prev=t:e[n]=t,t._prev=s,t.parent=t._dp=e,t},Gs=function(e,t,i,n){i===void 0&&(i="_first"),n===void 0&&(n="_last");var o=t._prev,s=t._next;o?o._next=s:e[i]===t&&(e[i]=s),s?s._prev=o:e[n]===t&&(e[n]=o),t._next=t._prev=t.parent=null},ai=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Ii=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var i=e;i;)i._dirty=1,i=i.parent;return e},qm=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Jl=function(e,t,i,n){return e._startAt&&(rt?e._startAt.revert(zs):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))},Ym=function r(e){return!e||e._ts&&r(e.parent)},dd=function(e){return e._repeat?wn(e._tTime,e=e.duration()+e._rDelay)*e:0},wn=function(e,t){var i=Math.floor(e=Fe(e/t));return e&&i===e?i-1:i},qs=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},$s=function(e){return e._end=Fe(e._start+(e._tDur/Math.abs(e._ts||e._rts||ge)||0))},js=function(e,t){var i=e._dp;return i&&i.smoothChildTiming&&e._ts&&(e._start=Fe(i._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),$s(e),i._dirty||Ii(i,e)),e},kd=function(e,t){var i;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(i=qs(e.rawTime(),t),(!t._dur||bo(0,t.totalDuration(),i)-t._tTime>ge)&&t.render(i,!0)),Ii(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(i=e;i._dp;)i.rawTime()>=0&&i.totalTime(i._tTime),i=i._dp;e._zTime=-ge}},gr=function(e,t,i,n){return t.parent&&ai(t),t._start=Fe((Dr(i)?i:i||e!==Ee?Bt(e,i,t):e._time)+t._delay),t._end=Fe(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Od(e,t,"_first","_last",e._sort?"_start":0),eu(t)||(e._recent=t),n||kd(e,t),e._ts<0&&js(e,e._tTime),e},Md=function(e,t){return(It.ScrollTrigger||Us("scrollTrigger",t))&&It.ScrollTrigger.create(t,e)},Pd=function(e,t,i,n,o){if(wu(e,t,o),!e._initted)return 1;if(!i&&e._pt&&!rt&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Ed!==Tt.frame)return oi.push(e),e._lazy=[o,n],1},Xm=function r(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||r(t))},eu=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},Um=function(e,t,i,n){var o=e.ratio,s=t<0||!t&&(!e._start&&Xm(e)&&!(!e._initted&&eu(e))||(e._ts<0||e._dp._ts<0)&&!eu(e))?0:1,a=e._rDelay,l=0,u,c,d;if(a&&e._repeat&&(l=bo(0,e._tDur,t),c=wn(l,a),e._yoyo&&c&1&&(s=1-s),c!==wn(e._tTime,a)&&(o=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==o||rt||n||e._zTime===ge||!t&&e._zTime){if(!e._initted&&Pd(e,t,n,i,l))return;for(d=e._zTime,e._zTime=t||(i?ge:0),i||(i=t&&!d),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=l,u=e._pt;u;)u.r(s,u.d),u=u._next;t<0&&Jl(e,t,i,!0),e._onUpdate&&!i&&Dt(e,"onUpdate"),l&&e._repeat&&!i&&e.parent&&Dt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===s&&(s&&ai(e,1),!i&&!rt&&(Dt(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},Gm=function(e,t,i){var n;if(i>t)for(n=e._first;n&&n._start<=i;){if(n.data==="isPause"&&n._start>t)return n;n=n._next}else for(n=e._last;n&&n._start>=i;){if(n.data==="isPause"&&n._start<t)return n;n=n._prev}},bn=function(e,t,i,n){var o=e._repeat,s=Fe(t)||0,a=e._tTime/e._tDur;return a&&!n&&(e._time*=s/e._dur),e._dur=s,e._tDur=o?o<0?1e10:Fe(s*(o+1)+e._rDelay*o):s,a>0&&!n&&js(e,e._tTime=e._tDur*a),e.parent&&$s(e),i||Ii(e.parent,e),e},hd=function(e){return e instanceof tt?Ii(e):bn(e,e._dur)},$m={_start:0,endTime:vo,totalDuration:vo},Bt=function r(e,t,i){var n=e.labels,o=e._recent||$m,s=e.duration()>=qt?o.endTime(!1):e._dur,a,l,u;return Ye(t)&&(isNaN(t)||t in n)?(l=t.charAt(0),u=t.substr(-1)==="%",a=t.indexOf("="),l==="<"||l===">"?(a>=0&&(t=t.replace(/=/,"")),(l==="<"?o._start:o.endTime(o._repeat>=0))+(parseFloat(t.substr(1))||0)*(u?(a<0?o:i).totalDuration()/100:1)):a<0?(t in n||(n[t]=s),n[t]):(l=parseFloat(t.charAt(a-1)+t.substr(a+1)),u&&i&&(l=l/100*(lt(i)?i[0]:i).totalDuration()),a>1?r(e,t.substr(0,a-1),i)+l:s+l)):t==null?s:+t},_o=function(e,t,i){var n=Dr(t[1]),o=(n?2:1)+(e<2?0:1),s=t[o],a,l;if(n&&(s.duration=t[1]),s.parent=i,e){for(a=s,l=i;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=At(l.vars.inherit)&&l.parent;s.immediateRender=At(a.immediateRender),e<2?s.runBackwards=1:s.startAt=t[o-1]}return new Ie(t[0],s,t[o+1])},li=function(e,t){return e||e===0?t(e):t},bo=function(e,t,i){return i<e?e:i>t?t:i},it=function(e,t){return!Ye(e)||!(t=zm.exec(e))?"":t[1]},jm=function(e,t,i){return li(i,function(n){return bo(e,t,n)})},tu=[].slice,Ld=function(e,t){return e&&mr(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&mr(e[0]))&&!e.nodeType&&e!==_r},Km=function(e,t,i){return i===void 0&&(i=[]),e.forEach(function(n){var o;return Ye(n)&&!t||Ld(n,1)?(o=i).push.apply(o,Yt(n)):i.push(n)})||i},Yt=function(e,t,i){return be&&!t&&be.selector?be.selector(e):Ye(e)&&!i&&(Zl||!xn())?tu.call((t||cu).querySelectorAll(e),0):lt(e)?Km(e,i):Ld(e)?tu.call(e,0):e?[e]:[]},ru=function(e){return e=Yt(e)[0]||mo("Invalid scope")||{},function(t){var i=e.current||e.nativeElement||e;return Yt(t,i.querySelectorAll?i:i===e?mo("Invalid scope")||cu.createElement("div"):e)}},Rd=function(e){return e.sort(function(){return .5-Math.random()})},Dd=function(e){if(Me(e))return e;var t=mr(e)?e:{each:e},i=Ni(t.ease),n=t.from||0,o=parseFloat(t.base)||0,s={},a=n>0&&n<1,l=isNaN(n)||a,u=t.axis,c=n,d=n;return Ye(n)?c=d={center:.5,edges:.5,end:1}[n]||0:!a&&l&&(c=n[0],d=n[1]),function(h,f,_){var p=(_||t).length,g=s[p],m,v,w,x,b,E,S,T,C;if(!g){if(C=t.grid==="auto"?0:(t.grid||[1,qt])[1],!C){for(S=-qt;S<(S=_[C++].getBoundingClientRect().left)&&C<p;);C<p&&C--}for(g=s[p]=[],m=l?Math.min(C,p)*c-.5:n%C,v=C===qt?0:l?p*d/C-.5:n/C|0,S=0,T=qt,E=0;E<p;E++)w=E%C-m,x=v-(E/C|0),g[E]=b=u?Math.abs(u==="y"?x:w):vd(w*w+x*x),b>S&&(S=b),b<T&&(T=b);n==="random"&&Rd(g),g.max=S-T,g.min=T,g.v=p=(parseFloat(t.amount)||parseFloat(t.each)*(C>p?p-1:u?u==="y"?p/C:C:Math.max(C,p/C))||0)*(n==="edges"?-1:1),g.b=p<0?o-p:o,g.u=it(t.amount||t.each)||0,i=i&&p<0?qd(i):i}return p=(g[h]-g.min)/g.max||0,Fe(g.b+(i?i(p):p)*g.v)+g.u}},iu=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(i){var n=Fe(Math.round(parseFloat(i)/e)*e*t);return(n-n%1)/t+(Dr(i)?0:it(i))}},Id=function(e,t){var i=lt(e),n,o;return!i&&mr(e)&&(n=i=e.radius||qt,e.values?(e=Yt(e.values),(o=!Dr(e[0]))&&(n*=n)):e=iu(e.increment)),li(t,i?Me(e)?function(s){return o=e(s),Math.abs(o-s)<=n?o:s}:function(s){for(var a=parseFloat(o?s.x:s),l=parseFloat(o?s.y:0),u=qt,c=0,d=e.length,h,f;d--;)o?(h=e[d].x-a,f=e[d].y-l,h=h*h+f*f):h=Math.abs(e[d]-a),h<u&&(u=h,c=d);return c=!n||u<=n?e[c]:s,o||c===s||Dr(s)?c:c+it(s)}:iu(e))},Nd=function(e,t,i,n){return li(lt(e)?!t:i===!0?!!(i=0):!n,function(){return lt(e)?e[~~(Math.random()*e.length)]:(i=i||1e-5)&&(n=i<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((e-i/2+Math.random()*(t-e+i*.99))/i)*i*n)/n})},Zm=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return function(n){return t.reduce(function(o,s){return s(o)},n)}},Qm=function(e,t){return function(i){return e(parseFloat(i))+(t||it(i))}},Jm=function(e,t,i){return Fd(e,t,0,1,i)},zd=function(e,t,i){return li(i,function(n){return e[~~t(n)]})},e0=function r(e,t,i){var n=t-e;return lt(e)?zd(e,r(0,e.length),t):li(i,function(o){return(n+(o-e)%n)%n+e})},t0=function r(e,t,i){var n=t-e,o=n*2;return lt(e)?zd(e,r(0,e.length-1),t):li(i,function(s){return s=(o+(s-e)%o)%o||0,e+(s>n?o-s:s)})},Sn=function(e){for(var t=0,i="",n,o,s,a;~(n=e.indexOf("random(",t));)s=e.indexOf(")",n),a=e.charAt(n+7)==="[",o=e.substr(n+7,s-n-7).match(a?wd:Kl),i+=e.substr(t,n-t)+Nd(a?o:+o[0],a?0:+o[1],+o[2]||1e-5),t=s+1;return i+e.substr(t,e.length-t)},Fd=function(e,t,i,n,o){var s=t-e,a=n-i;return li(o,function(l){return i+((l-e)/s*a||0)})},r0=function r(e,t,i,n){var o=isNaN(e+t)?0:function(f){return(1-f)*e+f*t};if(!o){var s=Ye(e),a={},l,u,c,d,h;if(i===!0&&(n=1)&&(i=null),s)e={p:e},t={p:t};else if(lt(e)&&!lt(t)){for(c=[],d=e.length,h=d-2,u=1;u<d;u++)c.push(r(e[u-1],e[u]));d--,o=function(_){_*=d;var p=Math.min(h,~~_);return c[p](_-p)},i=t}else n||(e=yn(lt(e)?[]:{},e));if(!c){for(l in t)vu.call(a,e,l,"get",t[l]);o=function(_){return Su(_,a)||(s?e.p:e)}}}return li(i,o)},pd=function(e,t,i){var n=e.labels,o=qt,s,a,l;for(s in n)a=n[s]-t,a<0==!!i&&a&&o>(a=Math.abs(a))&&(l=s,o=a);return l},Dt=function(e,t,i){var n=e.vars,o=n[t],s=be,a=e._ctx,l,u,c;if(o)return l=n[t+"Params"],u=n.callbackScope||e,i&&oi.length&&Ws(),a&&(be=a),c=l?o.apply(u,l):o.call(u),be=s,c},fo=function(e){return ai(e),e.scrollTrigger&&e.scrollTrigger.kill(!!rt),e.progress()<1&&Dt(e,"onInterrupt"),e},mn,Hd=[],Vd=function(e){if(e)if(e=!e.name&&e.default||e,au()||e.headless){var t=e.name,i=Me(e),n=t&&!i&&e.init?function(){this._props=[]}:e,o={init:vo,render:Su,add:vu,kill:v0,modifier:m0,rawVars:0},s={targetTest:0,get:0,getSetter:Ks,aliases:{},register:0};if(xn(),e!==n){if(Et[t])return;Nt(n,Nt(Bs(e,o),s)),yn(n.prototype,yn(o,Bs(e,s))),Et[n.prop=t]=n,e.targetTest&&(Fs.push(n),fu[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}Sd(t,n),e.register&&e.register(ut,n,mt)}else Hd.push(e)},_e=255,ho={aqua:[0,_e,_e],lime:[0,_e,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,_e],navy:[0,0,128],white:[_e,_e,_e],olive:[128,128,0],yellow:[_e,_e,0],orange:[_e,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[_e,0,0],pink:[_e,192,203],cyan:[0,_e,_e],transparent:[_e,_e,_e,0]},Yl=function(e,t,i){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(i-t)*e*6:e<.5?i:e*3<2?t+(i-t)*(2/3-e)*6:t)*_e+.5|0},Wd=function(e,t,i){var n=e?Dr(e)?[e>>16,e>>8&_e,e&_e]:0:ho.black,o,s,a,l,u,c,d,h,f,_;if(!n){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),ho[e])n=ho[e];else if(e.charAt(0)==="#"){if(e.length<6&&(o=e.charAt(1),s=e.charAt(2),a=e.charAt(3),e="#"+o+o+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&_e,n&_e,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),n=[e>>16,e>>8&_e,e&_e]}else if(e.substr(0,3)==="hsl"){if(n=_=e.match(Kl),!t)l=+n[0]%360/360,u=+n[1]/100,c=+n[2]/100,s=c<=.5?c*(u+1):c+u-c*u,o=c*2-s,n.length>3&&(n[3]*=1),n[0]=Yl(l+1/3,o,s),n[1]=Yl(l,o,s),n[2]=Yl(l-1/3,o,s);else if(~e.indexOf("="))return n=e.match(lu),i&&n.length<4&&(n[3]=1),n}else n=e.match(Kl)||ho.transparent;n=n.map(Number)}return t&&!_&&(o=n[0]/_e,s=n[1]/_e,a=n[2]/_e,d=Math.max(o,s,a),h=Math.min(o,s,a),c=(d+h)/2,d===h?l=u=0:(f=d-h,u=c>.5?f/(2-d-h):f/(d+h),l=d===o?(s-a)/f+(s<a?6:0):d===s?(a-o)/f+2:(o-s)/f+4,l*=60),n[0]=~~(l+.5),n[1]=~~(u*100+.5),n[2]=~~(c*100+.5)),i&&n.length<4&&(n[3]=1),n},Bd=function(e){var t=[],i=[],n=-1;return e.split(Rr).forEach(function(o){var s=o.match(Fi)||[];t.push.apply(t,s),i.push(n+=s.length+1)}),t.c=i,t},_d=function(e,t,i){var n="",o=(e+n).match(Rr),s=t?"hsla(":"rgba(",a=0,l,u,c,d;if(!o)return e;if(o=o.map(function(h){return(h=Wd(h,t,1))&&s+(t?h[0]+","+h[1]+"%,"+h[2]+"%,"+h[3]:h.join(","))+")"}),i&&(c=Bd(e),l=i.c,l.join(n)!==c.c.join(n)))for(u=e.replace(Rr,"1").split(Fi),d=u.length-1;a<d;a++)n+=u[a]+(~l.indexOf(a)?o.shift()||s+"0,0,0,0)":(c.length?c:o.length?o:i).shift());if(!u)for(u=e.split(Rr),d=u.length-1;a<d;a++)n+=u[a]+o[a];return n+u[d]},Rr=function(){var r="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in ho)r+="|"+e+"\\b";return new RegExp(r+")","gi")}(),i0=/hsl[a]?\(/,gu=function(e){var t=e.join(" "),i;if(Rr.lastIndex=0,Rr.test(t))return i=i0.test(t),e[1]=_d(e[1],i),e[0]=_d(e[0],i,Bd(e[1])),!0},yo,Tt=function(){var r=Date.now,e=500,t=33,i=r(),n=i,o=1e3/240,s=o,a=[],l,u,c,d,h,f,_=function p(g){var m=r()-n,v=g===!0,w,x,b,E;if((m>e||m<0)&&(i+=m-t),n+=m,b=n-i,w=b-s,(w>0||v)&&(E=++d.frame,h=b-d.time*1e3,d.time=b=b/1e3,s+=w+(w>=o?4:o-w),x=1),v||(l=u(p)),x)for(f=0;f<a.length;f++)a[f](b,h,E,g)};return d={time:0,frame:0,tick:function(){_(!0)},deltaRatio:function(g){return h/(1e3/(g||60))},wake:function(){bd&&(!Zl&&au()&&(_r=Zl=window,cu=_r.document||{},It.gsap=ut,(_r.gsapVersions||(_r.gsapVersions=[])).push(ut.version),xd(Vs||_r.GreenSockGlobals||!_r.gsap&&_r||{}),Hd.forEach(Vd)),c=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&d.sleep(),u=c||function(g){return setTimeout(g,s-d.time*1e3+1|0)},yo=1,_(2))},sleep:function(){(c?cancelAnimationFrame:clearTimeout)(l),yo=0,u=vo},lagSmoothing:function(g,m){e=g||1/0,t=Math.min(m||33,e)},fps:function(g){o=1e3/(g||240),s=d.time*1e3+o},add:function(g,m,v){var w=m?function(x,b,E,S){g(x,b,E,S),d.remove(w)}:g;return d.remove(g),a[v?"unshift":"push"](w),xn(),w},remove:function(g,m){~(m=a.indexOf(g))&&a.splice(m,1)&&f>=m&&f--},_listeners:a},d}(),xn=function(){return!yo&&Tt.wake()},ue={},n0=/^[\d.\-M][\d.\-,\s]/,o0=/["']/g,s0=function(e){for(var t={},i=e.substr(1,e.length-3).split(":"),n=i[0],o=1,s=i.length,a,l,u;o<s;o++)l=i[o],a=o!==s-1?l.lastIndexOf(","):l.length,u=l.substr(0,a),t[n]=isNaN(u)?u.replace(o0,"").trim():+u,n=l.substr(a+1).trim();return t},a0=function(e){var t=e.indexOf("(")+1,i=e.indexOf(")"),n=e.indexOf("(",t);return e.substring(t,~n&&n<i?e.indexOf(")",i+1):i)},l0=function(e){var t=(e+"").split("("),i=ue[t[0]];return i&&t.length>1&&i.config?i.config.apply(null,~e.indexOf("{")?[s0(t[1])]:a0(e).split(",").map(Ad)):ue._CE&&n0.test(e)?ue._CE("",e):i},qd=function(e){return function(t){return 1-e(1-t)}},Yd=function r(e,t){for(var i=e._first,n;i;)i instanceof tt?r(i,t):i.vars.yoyoEase&&(!i._yoyo||!i._repeat)&&i._yoyo!==t&&(i.timeline?r(i.timeline,t):(n=i._ease,i._ease=i._yEase,i._yEase=n,i._yoyo=t)),i=i._next},Ni=function(e,t){return e&&(Me(e)?e:ue[e]||l0(e))||t},Vi=function(e,t,i,n){i===void 0&&(i=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 o={easeIn:t,easeOut:i,easeInOut:n},s;return gt(e,function(a){ue[a]=It[a]=o,ue[s=a.toLowerCase()]=i;for(var l in o)ue[s+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=ue[a+"."+l]=o[l]}),o},Xd=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},Xl=function r(e,t,i){var n=t>=1?t:1,o=(i||(e?.3:.45))/(t<1?t:1),s=o/jl*(Math.asin(1/n)||0),a=function(c){return c===1?1:n*Math.pow(2,-10*c)*Nm((c-s)*o)+1},l=e==="out"?a:e==="in"?function(u){return 1-a(1-u)}:Xd(a);return o=jl/o,l.config=function(u,c){return r(e,u,c)},l},Ul=function r(e,t){t===void 0&&(t=1.70158);var i=function(s){return s?--s*s*((t+1)*s+t)+1:0},n=e==="out"?i:e==="in"?function(o){return 1-i(1-o)}:Xd(i);return n.config=function(o){return r(e,o)},n};gt("Linear,Quad,Cubic,Quart,Quint,Strong",function(r,e){var t=e<5?e+1:e;Vi(r+",Power"+(t-1),e?function(i){return Math.pow(i,t)}:function(i){return i},function(i){return 1-Math.pow(1-i,t)},function(i){return i<.5?Math.pow(i*2,t)/2:1-Math.pow((1-i)*2,t)/2})});ue.Linear.easeNone=ue.none=ue.Linear.easeIn;Vi("Elastic",Xl("in"),Xl("out"),Xl());(function(r,e){var t=1/e,i=2*t,n=2.5*t,o=function(a){return a<t?r*a*a:a<i?r*Math.pow(a-1.5/e,2)+.75:a<n?r*(a-=2.25/e)*a+.9375:r*Math.pow(a-2.625/e,2)+.984375};Vi("Bounce",function(s){return 1-o(1-s)},o)})(7.5625,2.75);Vi("Expo",function(r){return Math.pow(2,10*(r-1))*r+r*r*r*r*r*r*(1-r)});Vi("Circ",function(r){return-(vd(1-r*r)-1)});Vi("Sine",function(r){return r===1?1:-Im(r*Rm)+1});Vi("Back",Ul("in"),Ul("out"),Ul());ue.SteppedEase=ue.steps=It.SteppedEase={config:function(e,t){e===void 0&&(e=1);var i=1/e,n=e+(t?0:1),o=t?1:0,s=1-ge;return function(a){return((n*bo(0,s,a)|0)+o)*i}}};vn.ease=ue["quad.out"];gt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(r){return du+=r+","+r+"Params,"});var mu=function(e,t){this.id=Dm++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:pu,this.set=t?t.getSetter:Ks},wo=function(){function r(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,bn(this,+t.duration,1,1),this.data=t.data,be&&(this._ctx=be,be.data.push(this)),yo||Tt.wake()}var e=r.prototype;return e.delay=function(i){return i||i===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+i-this._delay),this._delay=i,this):this._delay},e.duration=function(i){return arguments.length?this.totalDuration(this._repeat>0?i+(i+this._rDelay)*this._repeat:i):this.totalDuration()&&this._dur},e.totalDuration=function(i){return arguments.length?(this._dirty=0,bn(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(i,n){if(xn(),!arguments.length)return this._tTime;var o=this._dp;if(o&&o.smoothChildTiming&&this._ts){for(js(this,i),!o._dp||o.parent||kd(o,this);o&&o.parent;)o.parent._time!==o._start+(o._ts>=0?o._tTime/o._ts:(o.totalDuration()-o._tTime)/-o._ts)&&o.totalTime(o._tTime,!0),o=o.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&i<this._tDur||this._ts<0&&i>0||!this._tDur&&!i)&&gr(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!n||this._initted&&Math.abs(this._zTime)===ge||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),Td(this,i,n)),this},e.time=function(i,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+dd(this))%(this._dur+this._rDelay)||(i?this._dur:0),n):this._time},e.totalProgress=function(i,n){return arguments.length?this.totalTime(this.totalDuration()*i,n):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(i,n){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+dd(this),n):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(i,n){var o=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(i-1)*o,n):this._repeat?wn(this._tTime,o)+1:1},e.timeScale=function(i,n){if(!arguments.length)return this._rts===-ge?0:this._rts;if(this._rts===i)return this;var o=this.parent&&this._ts?qs(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-ge?0:this._rts,this.totalTime(bo(-Math.abs(this._delay),this.totalDuration(),o),n!==!1),$s(this),qm(this)},e.paused=function(i){return arguments.length?(this._ps!==i&&(this._ps=i,i?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(xn(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==ge&&(this._tTime-=ge)))),this):this._ps},e.startTime=function(i){if(arguments.length){this._start=i;var n=this.parent||this._dp;return n&&(n._sort||!this.parent)&&gr(n,this,i-this._delay),this}return this._start},e.endTime=function(i){return this._start+(At(i)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(i){var n=this.parent||this._dp;return n?i&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?qs(n.rawTime(i),this):this._tTime:this._tTime},e.revert=function(i){i===void 0&&(i=Hm);var n=rt;return rt=i,_u(this)&&(this.timeline&&this.timeline.revert(i),this.totalTime(-.01,i.suppressEvents)),this.data!=="nested"&&i.kill!==!1&&this.kill(),rt=n,this},e.globalTime=function(i){for(var n=this,o=arguments.length?i:n.rawTime();n;)o=n._start+o/(Math.abs(n._ts)||1),n=n._dp;return!this.parent&&this._sat?this._sat.globalTime(i):o},e.repeat=function(i){return arguments.length?(this._repeat=i===1/0?-2:i,hd(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(i){if(arguments.length){var n=this._time;return this._rDelay=i,hd(this),n?this.time(n):this}return this._rDelay},e.yoyo=function(i){return arguments.length?(this._yoyo=i,this):this._yoyo},e.seek=function(i,n){return this.totalTime(Bt(this,i),At(n))},e.restart=function(i,n){return this.play().totalTime(i?-this._delay:0,At(n)),this._dur||(this._zTime=-ge),this},e.play=function(i,n){return i!=null&&this.seek(i,n),this.reversed(!1).paused(!1)},e.reverse=function(i,n){return i!=null&&this.seek(i||this.totalDuration(),n),this.reversed(!0).paused(!1)},e.pause=function(i,n){return i!=null&&this.seek(i,n),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(i){return arguments.length?(!!i!==this.reversed()&&this.timeScale(-this._rts||(i?-ge:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-ge,this},e.isActive=function(){var i=this.parent||this._dp,n=this._start,o;return!!(!i||this._ts&&this._initted&&i.isActive()&&(o=i.rawTime(!0))>=n&&o<this.endTime(!0)-ge)},e.eventCallback=function(i,n,o){var s=this.vars;return arguments.length>1?(n?(s[i]=n,o&&(s[i+"Params"]=o),i==="onUpdate"&&(this._onUpdate=n)):delete s[i],this):s[i]},e.then=function(i){var n=this;return new Promise(function(o){var s=Me(i)?i:Cd,a=function(){var u=n.then;n.then=null,Me(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?a():n._prom=a})},e.kill=function(){fo(this)},r}();Nt(wo.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:-ge,_prom:0,_ps:!1,_rts:1});var tt=function(r){md(e,r);function e(i,n){var o;return i===void 0&&(i={}),o=r.call(this,i)||this,o.labels={},o.smoothChildTiming=!!i.smoothChildTiming,o.autoRemoveChildren=!!i.autoRemoveChildren,o._sort=At(i.sortChildren),Ee&&gr(i.parent||Ee,Lr(o),n),i.reversed&&o.reverse(),i.paused&&o.paused(!0),i.scrollTrigger&&Md(Lr(o),i.scrollTrigger),o}var t=e.prototype;return t.to=function(n,o,s){return _o(0,arguments,this),this},t.from=function(n,o,s){return _o(1,arguments,this),this},t.fromTo=function(n,o,s,a){return _o(2,arguments,this),this},t.set=function(n,o,s){return o.duration=0,o.parent=this,po(o).repeatDelay||(o.repeat=0),o.immediateRender=!!o.immediateRender,new Ie(n,o,Bt(this,s),1),this},t.call=function(n,o,s){return gr(this,Ie.delayedCall(0,n,o),s)},t.staggerTo=function(n,o,s,a,l,u,c){return s.duration=o,s.stagger=s.stagger||a,s.onComplete=u,s.onCompleteParams=c,s.parent=this,new Ie(n,s,Bt(this,l)),this},t.staggerFrom=function(n,o,s,a,l,u,c){return s.runBackwards=1,po(s).immediateRender=At(s.immediateRender),this.staggerTo(n,o,s,a,l,u,c)},t.staggerFromTo=function(n,o,s,a,l,u,c,d){return a.startAt=s,po(a).immediateRender=At(a.immediateRender),this.staggerTo(n,o,a,l,u,c,d)},t.render=function(n,o,s){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,c=n<=0?0:Fe(n),d=this._zTime<0!=n<0&&(this._initted||!u),h,f,_,p,g,m,v,w,x,b,E,S;if(this!==Ee&&c>l&&n>=0&&(c=l),c!==this._tTime||s||d){if(a!==this._time&&u&&(c+=this._time-a,n+=this._time-a),h=c,x=this._start,w=this._ts,m=!w,d&&(u||(a=this._zTime),(n||!o)&&(this._zTime=n)),this._repeat){if(E=this._yoyo,g=u+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(g*100+n,o,s);if(h=Fe(c%g),c===l?(p=this._repeat,h=u):(b=Fe(c/g),p=~~b,p&&p===b&&(h=u,p--),h>u&&(h=u)),b=wn(this._tTime,g),!a&&this._tTime&&b!==p&&this._tTime-b*g-this._dur<=0&&(b=p),E&&p&1&&(h=u-h,S=1),p!==b&&!this._lock){var T=E&&b&1,C=T===(E&&p&1);if(p<b&&(T=!T),a=T?0:c%u?u:c,this._lock=1,this.render(a||(S?0:Fe(p*g)),o,!u)._lock=0,this._tTime=c,!o&&this.parent&&Dt(this,"onRepeat"),this.vars.repeatRefresh&&!S&&(this.invalidate()._lock=1),a&&a!==this._time||m!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,l=this._tDur,C&&(this._lock=2,a=T?u:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!m)return this;Yd(this,S)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=Gm(this,Fe(a),Fe(h)),v&&(c-=h-(h=v._start))),this._tTime=c,this._time=h,this._act=!w,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,a=0),!a&&c&&!o&&!b&&(Dt(this,"onStart"),this._tTime!==c))return this;if(h>=a&&n>=0)for(f=this._first;f;){if(_=f._next,(f._act||h>=f._start)&&f._ts&&v!==f){if(f.parent!==this)return this.render(n,o,s);if(f.render(f._ts>0?(h-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(h-f._start)*f._ts,o,s),h!==this._time||!this._ts&&!m){v=0,_&&(c+=this._zTime=-ge);break}}f=_}else{f=this._last;for(var O=n<0?n:h;f;){if(_=f._prev,(f._act||O<=f._end)&&f._ts&&v!==f){if(f.parent!==this)return this.render(n,o,s);if(f.render(f._ts>0?(O-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(O-f._start)*f._ts,o,s||rt&&_u(f)),h!==this._time||!this._ts&&!m){v=0,_&&(c+=this._zTime=O?-ge:ge);break}}f=_}}if(v&&!o&&(this.pause(),v.render(h>=a?0:-ge)._zTime=h>=a?1:-1,this._ts))return this._start=x,$s(this),this.render(n,o,s);this._onUpdate&&!o&&Dt(this,"onUpdate",!0),(c===l&&this._tTime>=this.totalDuration()||!c&&a)&&(x===this._start||Math.abs(w)!==Math.abs(this._ts))&&(this._lock||((n||!u)&&(c===l&&this._ts>0||!c&&this._ts<0)&&ai(this,1),!o&&!(n<0&&!a)&&(c||a||!l)&&(Dt(this,c===l&&n>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c<l&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(n,o){var s=this;if(Dr(o)||(o=Bt(this,o,n)),!(n instanceof wo)){if(lt(n))return n.forEach(function(a){return s.add(a,o)}),this;if(Ye(n))return this.addLabel(n,o);if(Me(n))n=Ie.delayedCall(0,n);else return this}return this!==n?gr(this,n,o):this},t.getChildren=function(n,o,s,a){n===void 0&&(n=!0),o===void 0&&(o=!0),s===void 0&&(s=!0),a===void 0&&(a=-qt);for(var l=[],u=this._first;u;)u._start>=a&&(u instanceof Ie?o&&l.push(u):(s&&l.push(u),n&&l.push.apply(l,u.getChildren(!0,o,s)))),u=u._next;return l},t.getById=function(n){for(var o=this.getChildren(1,1,1),s=o.length;s--;)if(o[s].vars.id===n)return o[s]},t.remove=function(n){return Ye(n)?this.removeLabel(n):Me(n)?this.killTweensOf(n):(n.parent===this&&Gs(this,n),n===this._recent&&(this._recent=this._last),Ii(this))},t.totalTime=function(n,o){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Fe(Tt.time-(this._ts>0?n/this._ts:(this.totalDuration()-n)/-this._ts))),r.prototype.totalTime.call(this,n,o),this._forcing=0,this):this._tTime},t.addLabel=function(n,o){return this.labels[n]=Bt(this,o),this},t.removeLabel=function(n){return delete this.labels[n],this},t.addPause=function(n,o,s){var a=Ie.delayedCall(0,o||vo,s);return a.data="isPause",this._hasPause=1,gr(this,a,Bt(this,n))},t.removePause=function(n){var o=this._first;for(n=Bt(this,n);o;)o._start===n&&o.data==="isPause"&&ai(o),o=o._next},t.killTweensOf=function(n,o,s){for(var a=this.getTweensOf(n,s),l=a.length;l--;)ni!==a[l]&&a[l].kill(n,o);return this},t.getTweensOf=function(n,o){for(var s=[],a=Yt(n),l=this._first,u=Dr(o),c;l;)l instanceof Ie?Vm(l._targets,a)&&(u?(!ni||l._initted&&l._ts)&&l.globalTime(0)<=o&&l.globalTime(l.totalDuration())>o:!o||l.isActive())&&s.push(l):(c=l.getTweensOf(a,o)).length&&s.push.apply(s,c),l=l._next;return s},t.tweenTo=function(n,o){o=o||{};var s=this,a=Bt(s,n),l=o,u=l.startAt,c=l.onStart,d=l.onStartParams,h=l.immediateRender,f,_=Ie.to(s,Nt({ease:o.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:o.duration||Math.abs((a-(u&&"time"in u?u.time:s._time))/s.timeScale())||ge,onStart:function(){if(s.pause(),!f){var g=o.duration||Math.abs((a-(u&&"time"in u?u.time:s._time))/s.timeScale());_._dur!==g&&bn(_,g,0,1).render(_._time,!0,!0),f=1}c&&c.apply(_,d||[])}},o));return h?_.render(0):_},t.tweenFromTo=function(n,o,s){return this.tweenTo(o,Nt({startAt:{time:Bt(this,n)}},s))},t.recent=function(){return this._recent},t.nextLabel=function(n){return n===void 0&&(n=this._time),pd(this,Bt(this,n))},t.previousLabel=function(n){return n===void 0&&(n=this._time),pd(this,Bt(this,n),1)},t.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+ge)},t.shiftChildren=function(n,o,s){s===void 0&&(s=0);for(var a=this._first,l=this.labels,u;a;)a._start>=s&&(a._start+=n,a._end+=n),a=a._next;if(o)for(u in l)l[u]>=s&&(l[u]+=n);return Ii(this)},t.invalidate=function(n){var o=this._first;for(this._lock=0;o;)o.invalidate(n),o=o._next;return r.prototype.invalidate.call(this,n)},t.clear=function(n){n===void 0&&(n=!0);for(var o=this._first,s;o;)s=o._next,this.remove(o),o=s;return this._dp&&(this._time=this._tTime=this._pTime=0),n&&(this.labels={}),Ii(this)},t.totalDuration=function(n){var o=0,s=this,a=s._last,l=qt,u,c,d;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-n:n));if(s._dirty){for(d=s.parent;a;)u=a._prev,a._dirty&&a.totalDuration(),c=a._start,c>l&&s._sort&&a._ts&&!s._lock?(s._lock=1,gr(s,a,c-a._delay,1)._lock=0):l=c,c<0&&a._ts&&(o-=c,(!d&&!s._dp||d&&d.smoothChildTiming)&&(s._start+=c/s._ts,s._time-=c,s._tTime-=c),s.shiftChildren(-c,!1,-1/0),l=0),a._end>o&&a._ts&&(o=a._end),a=u;bn(s,s===Ee&&s._time>o?s._time:o,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(n){if(Ee._ts&&(Td(Ee,qs(n,Ee)),Ed=Tt.frame),Tt.frame>=cd){cd+=Ct.autoSleep||120;var o=Ee._first;if((!o||!o._ts)&&Ct.autoSleep&&Tt._listeners.length<2){for(;o&&!o._ts;)o=o._next;o||Tt.sleep()}}},e}(wo);Nt(tt.prototype,{_lock:0,_hasPause:0,_forcing:0});var u0=function(e,t,i,n,o,s,a){var l=new mt(this._pt,e,t,0,1,xu,null,o),u=0,c=0,d,h,f,_,p,g,m,v;for(l.b=i,l.e=n,i+="",n+="",(m=~n.indexOf("random("))&&(n=Sn(n)),s&&(v=[i,n],s(v,e,t),i=v[0],n=v[1]),h=i.match(Bl)||[];d=Bl.exec(n);)_=d[0],p=n.substring(u,d.index),f?f=(f+1)%5:p.substr(-5)==="rgba("&&(f=1),_!==h[c++]&&(g=parseFloat(h[c-1])||0,l._pt={_next:l._pt,p:p||c===1?p:",",s:g,c:_.charAt(1)==="="?Hi(g,_)-g:parseFloat(_)-g,m:f&&f<4?Math.round:0},u=Bl.lastIndex);return l.c=u<n.length?n.substring(u,n.length):"",l.fp=a,(uu.test(n)||m)&&(l.e=0),this._pt=l,l},vu=function(e,t,i,n,o,s,a,l,u,c){Me(n)&&(n=n(o||0,e,s));var d=e[t],h=i!=="get"?i:Me(d)?u?e[t.indexOf("set")||!Me(e["get"+t.substr(3)])?t:"get"+t.substr(3)](u):e[t]():d,f=Me(d)?u?p0:$d:bu,_;if(Ye(n)&&(~n.indexOf("random(")&&(n=Sn(n)),n.charAt(1)==="="&&(_=Hi(h,n)+(it(h)||0),(_||_===0)&&(n=_))),!c||h!==n||nu)return!isNaN(h*n)&&n!==""?(_=new mt(this._pt,e,t,+h||0,n-(h||0),typeof d=="boolean"?g0:jd,0,f),u&&(_.fp=u),a&&_.modifier(a,this,e),this._pt=_):(!d&&!(t in e)&&Us(t,n),u0.call(this,e,t,h,n,f,l||Ct.stringFilter,u))},c0=function(e,t,i,n,o){if(Me(e)&&(e=go(e,o,t,i,n)),!mr(e)||e.style&&e.nodeType||lt(e)||yd(e))return Ye(e)?go(e,o,t,i,n):e;var s={},a;for(a in e)s[a]=go(e[a],o,t,i,n);return s},yu=function(e,t,i,n,o,s){var a,l,u,c;if(Et[e]&&(a=new Et[e]).init(o,a.rawVars?t[e]:c0(t[e],n,o,s,i),i,n,s)!==!1&&(i._pt=l=new mt(i._pt,o,e,0,1,a.render,a,0,a.priority),i!==mn))for(u=i._ptLookup[i._targets.indexOf(o)],c=a._props.length;c--;)u[a._props[c]]=l;return a},ni,nu,wu=function r(e,t,i){var n=e.vars,o=n.ease,s=n.startAt,a=n.immediateRender,l=n.lazy,u=n.onUpdate,c=n.runBackwards,d=n.yoyoEase,h=n.keyframes,f=n.autoRevert,_=e._dur,p=e._startAt,g=e._targets,m=e.parent,v=m&&m.data==="nested"?m.vars.targets:g,w=e._overwrite==="auto"&&!su,x=e.timeline,b,E,S,T,C,O,M,A,P,N,D,W,V;if(x&&(!h||!o)&&(o="none"),e._ease=Ni(o,vn.ease),e._yEase=d?qd(Ni(d===!0?o:d,vn.ease)):0,d&&e._yoyo&&!e._repeat&&(d=e._yEase,e._yEase=e._ease,e._ease=d),e._from=!x&&!!n.runBackwards,!x||h&&!n.stagger){if(A=g[0]?si(g[0]).harness:0,W=A&&n[A.prop],b=Bs(n,fu),p&&(p._zTime<0&&p.progress(1),t<0&&c&&a&&!f?p.render(-1,!0):p.revert(c&&_?zs:Fm),p._lazy=0),s){if(ai(e._startAt=Ie.set(g,Nt({data:"isStart",overwrite:!1,parent:m,immediateRender:!0,lazy:!p&&At(l),startAt:null,delay:0,onUpdate:u&&function(){return Dt(e,"onUpdate")},stagger:0},s))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(rt||!a&&!f)&&e._startAt.revert(zs),a&&_&&t<=0&&i<=0){t&&(e._zTime=t);return}}else if(c&&_&&!p){if(t&&(a=!1),S=Nt({overwrite:!1,data:"isFromStart",lazy:a&&!p&&At(l),immediateRender:a,stagger:0,parent:m},b),W&&(S[A.prop]=W),ai(e._startAt=Ie.set(g,S)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(rt?e._startAt.revert(zs):e._startAt.render(-1,!0)),e._zTime=t,!a)r(e._startAt,ge,ge);else if(!t)return}for(e._pt=e._ptCache=0,l=_&&At(l)||l&&!_,E=0;E<g.length;E++){if(C=g[E],M=C._gsap||hu(g)[E]._gsap,e._ptLookup[E]=N={},Ql[M.id]&&oi.length&&Ws(),D=v===g?E:v.indexOf(C),A&&(P=new A).init(C,W||b,e,D,v)!==!1&&(e._pt=T=new mt(e._pt,C,P.name,0,1,P.render,P,0,P.priority),P._props.forEach(function(F){N[F]=T}),P.priority&&(O=1)),!A||W)for(S in b)Et[S]&&(P=yu(S,b,e,D,C,v))?P.priority&&(O=1):N[S]=T=vu.call(e,C,S,"get",b[S],D,v,0,n.stringFilter);e._op&&e._op[E]&&e.kill(C,e._op[E]),w&&e._pt&&(ni=e,Ee.killTweensOf(C,N,e.globalTime(t)),V=!e.parent,ni=0),e._pt&&l&&(Ql[M.id]=1)}O&&Eu(e),e._onInit&&e._onInit(e)}e._onUpdate=u,e._initted=(!e._op||e._pt)&&!V,h&&t<=0&&x.render(qt,!0,!0)},f0=function(e,t,i,n,o,s,a,l){var u=(e._pt&&e._ptCache||(e._ptCache={}))[t],c,d,h,f;if(!u)for(u=e._ptCache[t]=[],h=e._ptLookup,f=e._targets.length;f--;){if(c=h[f][t],c&&c.d&&c.d._pt)for(c=c.d._pt;c&&c.p!==t&&c.fp!==t;)c=c._next;if(!c)return nu=1,e.vars[t]="+=0",wu(e,a),nu=0,l?mo(t+" not eligible for reset"):1;u.push(c)}for(f=u.length;f--;)d=u[f],c=d._pt||d,c.s=(n||n===0)&&!o?n:c.s+(n||0)+s*c.c,c.c=i-c.s,d.e&&(d.e=Pe(i)+it(d.e)),d.b&&(d.b=c.s+it(d.b))},d0=function(e,t){var i=e[0]?si(e[0]).harness:0,n=i&&i.aliases,o,s,a,l;if(!n)return t;o=yn({},t);for(s in n)if(s in o)for(l=n[s].split(","),a=l.length;a--;)o[l[a]]=o[s];return o},h0=function(e,t,i,n){var o=t.ease||n||"power1.inOut",s,a;if(lt(t))a=i[e]||(i[e]=[]),t.forEach(function(l,u){return a.push({t:u/(t.length-1)*100,v:l,e:o})});else for(s in t)a=i[s]||(i[s]=[]),s==="ease"||a.push({t:parseFloat(e),v:t[s],e:o})},go=function(e,t,i,n,o){return Me(e)?e.call(t,i,n,o):Ye(e)&&~e.indexOf("random(")?Sn(e):e},Ud=du+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Gd={};gt(Ud+",id,stagger,delay,duration,paused,scrollTrigger",function(r){return Gd[r]=1});var Ie=function(r){md(e,r);function e(i,n,o,s){var a;typeof n=="number"&&(o.duration=n,n=o,o=null),a=r.call(this,s?n:po(n))||this;var l=a.vars,u=l.duration,c=l.delay,d=l.immediateRender,h=l.stagger,f=l.overwrite,_=l.keyframes,p=l.defaults,g=l.scrollTrigger,m=l.yoyoEase,v=n.parent||Ee,w=(lt(i)||yd(i)?Dr(i[0]):"length"in n)?[i]:Yt(i),x,b,E,S,T,C,O,M;if(a._targets=w.length?hu(w):mo("GSAP target "+i+" not found. https://gsap.com",!Ct.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=f,_||h||Ns(u)||Ns(c)){if(n=a.vars,x=a.timeline=new tt({data:"nested",defaults:p||{},targets:v&&v.data==="nested"?v.vars.targets:w}),x.kill(),x.parent=x._dp=Lr(a),x._start=0,h||Ns(u)||Ns(c)){if(S=w.length,O=h&&Dd(h),mr(h))for(T in h)~Ud.indexOf(T)&&(M||(M={}),M[T]=h[T]);for(b=0;b<S;b++)E=Bs(n,Gd),E.stagger=0,m&&(E.yoyoEase=m),M&&yn(E,M),C=w[b],E.duration=+go(u,Lr(a),b,C,w),E.delay=(+go(c,Lr(a),b,C,w)||0)-a._delay,!h&&S===1&&E.delay&&(a._delay=c=E.delay,a._start+=c,E.delay=0),x.to(C,E,O?O(b,C,w):0),x._ease=ue.none;x.duration()?u=c=0:a.timeline=0}else if(_){po(Nt(x.vars.defaults,{ease:"none"})),x._ease=Ni(_.ease||n.ease||"none");var A=0,P,N,D;if(lt(_))_.forEach(function(W){return x.to(w,W,">")}),x.duration();else{E={};for(T in _)T==="ease"||T==="easeEach"||h0(T,_[T],E,_.easeEach);for(T in E)for(P=E[T].sort(function(W,V){return W.t-V.t}),A=0,b=0;b<P.length;b++)N=P[b],D={ease:N.e,duration:(N.t-(b?P[b-1].t:0))/100*u},D[T]=N.v,x.to(w,D,A),A+=D.duration;x.duration()<u&&x.to({},{duration:u-x.duration()})}}u||a.duration(u=x.duration())}else a.timeline=0;return f===!0&&!su&&(ni=Lr(a),Ee.killTweensOf(w),ni=0),gr(v,Lr(a),o),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(d||!u&&!_&&a._start===Fe(v._time)&&At(d)&&Ym(Lr(a))&&v.data!=="nested")&&(a._tTime=-ge,a.render(Math.max(0,-c)||0)),g&&Md(Lr(a),g),a}var t=e.prototype;return t.render=function(n,o,s){var a=this._time,l=this._tDur,u=this._dur,c=n<0,d=n>l-ge&&!c?l:n<ge?0:n,h,f,_,p,g,m,v,w,x;if(!u)Um(this,n,o,s);else if(d!==this._tTime||!n||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==c||this._lazy){if(h=d,w=this.timeline,this._repeat){if(p=u+this._rDelay,this._repeat<-1&&c)return this.totalTime(p*100+n,o,s);if(h=Fe(d%p),d===l?(_=this._repeat,h=u):(g=Fe(d/p),_=~~g,_&&_===g?(h=u,_--):h>u&&(h=u)),m=this._yoyo&&_&1,m&&(x=this._yEase,h=u-h),g=wn(this._tTime,p),h===a&&!s&&this._initted&&_===g)return this._tTime=d,this;_!==g&&(w&&this._yEase&&Yd(w,m),this.vars.repeatRefresh&&!m&&!this._lock&&h!==p&&this._initted&&(this._lock=s=1,this.render(Fe(p*_),!0).invalidate()._lock=0))}if(!this._initted){if(Pd(this,c?n:h,s,o,d))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&_!==g))return this;if(u!==this._dur)return this.render(n,o,s)}if(this._tTime=d,this._time=h,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=v=(x||this._ease)(h/u),this._from&&(this.ratio=v=1-v),!a&&d&&!o&&!g&&(Dt(this,"onStart"),this._tTime!==d))return this;for(f=this._pt;f;)f.r(v,f.d),f=f._next;w&&w.render(n<0?n:w._dur*w._ease(h/this._dur),o,s)||this._startAt&&(this._zTime=n),this._onUpdate&&!o&&(c&&Jl(this,n,o,s),Dt(this,"onUpdate")),this._repeat&&_!==g&&this.vars.onRepeat&&!o&&this.parent&&Dt(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(c&&!this._onUpdate&&Jl(this,n,!0,!0),(n||!u)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&ai(this,1),!o&&!(c&&!a)&&(d||a||m)&&(Dt(this,d===l?"onComplete":"onReverseComplete",!0),this._prom&&!(d<l&&this.timeScale()>0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(n){return(!n||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(n),r.prototype.invalidate.call(this,n)},t.resetTo=function(n,o,s,a,l){yo||Tt.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||wu(this,u),c=this._ease(u/this._dur),f0(this,n,o,s,a,c,u,l)?this.resetTo(n,o,s,a,1):(js(this,0),this.parent||Od(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(n,o){if(o===void 0&&(o="all"),!n&&(!o||o==="all"))return this._lazy=this._pt=0,this.parent?fo(this):this.scrollTrigger&&this.scrollTrigger.kill(!!rt),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(n,o,ni&&ni.vars.overwrite!==!0)._first||fo(this),this.parent&&s!==this.timeline.totalDuration()&&bn(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,l=n?Yt(n):a,u=this._ptLookup,c=this._pt,d,h,f,_,p,g,m;if((!o||o==="all")&&Bm(a,l))return o==="all"&&(this._pt=0),fo(this);for(d=this._op=this._op||[],o!=="all"&&(Ye(o)&&(p={},gt(o,function(v){return p[v]=1}),o=p),o=d0(a,o)),m=a.length;m--;)if(~l.indexOf(a[m])){h=u[m],o==="all"?(d[m]=o,_=h,f={}):(f=d[m]=d[m]||{},_=o);for(p in _)g=h&&h[p],g&&((!("kill"in g.d)||g.d.kill(p)===!0)&&Gs(this,g,"_pt"),delete h[p]),f!=="all"&&(f[p]=1)}return this._initted&&!this._pt&&c&&fo(this),this},e.to=function(n,o){return new e(n,o,arguments[2])},e.from=function(n,o){return _o(1,arguments)},e.delayedCall=function(n,o,s,a){return new e(o,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:o,onReverseComplete:o,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},e.fromTo=function(n,o,s){return _o(2,arguments)},e.set=function(n,o){return o.duration=0,o.repeatDelay||(o.repeat=0),new e(n,o)},e.killTweensOf=function(n,o,s){return Ee.killTweensOf(n,o,s)},e}(wo);Nt(Ie.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});gt("staggerTo,staggerFrom,staggerFromTo",function(r){Ie[r]=function(){var e=new tt,t=tu.call(arguments,0);return t.splice(r==="staggerFromTo"?5:4,0,0),e[r].apply(e,t)}});var bu=function(e,t,i){return e[t]=i},$d=function(e,t,i){return e[t](i)},p0=function(e,t,i,n){return e[t](n.fp,i)},_0=function(e,t,i){return e.setAttribute(t,i)},Ks=function(e,t){return Me(e[t])?$d:Xs(e[t])&&e.setAttribute?_0:bu},jd=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},g0=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},xu=function(e,t){var i=t._pt,n="";if(!e&&t.b)n=t.b;else if(e===1&&t.e)n=t.e;else{for(;i;)n=i.p+(i.m?i.m(i.s+i.c*e):Math.round((i.s+i.c*e)*1e4)/1e4)+n,i=i._next;n+=t.c}t.set(t.t,t.p,n,t)},Su=function(e,t){for(var i=t._pt;i;)i.r(e,i.d),i=i._next},m0=function(e,t,i,n){for(var o=this._pt,s;o;)s=o._next,o.p===n&&o.modifier(e,t,i),o=s},v0=function(e){for(var t=this._pt,i,n;t;)n=t._next,t.p===e&&!t.op||t.op===e?Gs(this,t,"_pt"):t.dep||(i=1),t=n;return!i},y0=function(e,t,i,n){n.mSet(e,t,n.m.call(n.tween,i,n.mt),n)},Eu=function(e){for(var t=e._pt,i,n,o,s;t;){for(i=t._next,n=o;n&&n.pr>t.pr;)n=n._next;(t._prev=n?n._prev:s)?t._prev._next=t:o=t,(t._next=n)?n._prev=t:s=t,t=i}e._pt=o},mt=function(){function r(t,i,n,o,s,a,l,u,c){this.t=i,this.s=o,this.c=s,this.p=n,this.r=a||jd,this.d=l||this,this.set=u||bu,this.pr=c||0,this._next=t,t&&(t._prev=this)}var e=r.prototype;return e.modifier=function(i,n,o){this.mSet=this.mSet||this.set,this.set=y0,this.m=i,this.mt=o,this.tween=n},r}();gt(du+"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(r){return fu[r]=1});It.TweenMax=It.TweenLite=Ie;It.TimelineLite=It.TimelineMax=tt;Ee=new tt({sortChildren:!1,defaults:vn,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Ct.stringFilter=gu;var zi=[],Hs={},w0=[],gd=0,b0=0,Gl=function(e){return(Hs[e]||w0).map(function(t){return t()})},ou=function(){var e=Date.now(),t=[];e-gd>2&&(Gl("matchMediaInit"),zi.forEach(function(i){var n=i.queries,o=i.conditions,s,a,l,u;for(a in n)s=_r.matchMedia(n[a]).matches,s&&(l=1),s!==o[a]&&(o[a]=s,u=1);u&&(i.revert(),l&&t.push(i))}),Gl("matchMediaRevert"),t.forEach(function(i){return i.onMatch(i,function(n){return i.add(null,n)})}),gd=e,Gl("matchMedia"))},Kd=function(){function r(t,i){this.selector=i&&ru(i),this.data=[],this._r=[],this.isReverted=!1,this.id=b0++,t&&this.add(t)}var e=r.prototype;return e.add=function(i,n,o){Me(i)&&(o=n,n=i,i=Me);var s=this,a=function(){var u=be,c=s.selector,d;return u&&u!==s&&u.data.push(s),o&&(s.selector=ru(o)),be=s,d=n.apply(s,arguments),Me(d)&&s._r.push(d),be=u,s.selector=c,s.isReverted=!1,d};return s.last=a,i===Me?a(s,function(l){return s.add(null,l)}):i?s[i]=a:a},e.ignore=function(i){var n=be;be=null,i(this),be=n},e.getTweens=function(){var i=[];return this.data.forEach(function(n){return n instanceof r?i.push.apply(i,n.getTweens()):n instanceof Ie&&!(n.parent&&n.parent.data==="nested")&&i.push(n)}),i},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(i,n){var o=this;if(i?function(){for(var a=o.getTweens(),l=o.data.length,u;l--;)u=o.data[l],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(c){return a.splice(a.indexOf(c),1)}));for(a.map(function(c){return{g:c._dur||c._delay||c._sat&&!c._sat.vars.immediateRender?c.globalTime(0):-1/0,t:c}}).sort(function(c,d){return d.g-c.g||-1/0}).forEach(function(c){return c.t.revert(i)}),l=o.data.length;l--;)u=o.data[l],u instanceof tt?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof Ie)&&u.revert&&u.revert(i);o._r.forEach(function(c){return c(i,o)}),o.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),n)for(var s=zi.length;s--;)zi[s].id===this.id&&zi.splice(s,1)},e.revert=function(i){this.kill(i||{})},r}(),x0=function(){function r(t){this.contexts=[],this.scope=t,be&&be.data.push(this)}var e=r.prototype;return e.add=function(i,n,o){mr(i)||(i={matches:i});var s=new Kd(0,o||this.scope),a=s.conditions={},l,u,c;be&&!s.selector&&(s.selector=be.selector),this.contexts.push(s),n=s.add("onMatch",n),s.queries=i;for(u in i)u==="all"?c=1:(l=_r.matchMedia(i[u]),l&&(zi.indexOf(s)<0&&zi.push(s),(a[u]=l.matches)&&(c=1),l.addListener?l.addListener(ou):l.addEventListener("change",ou)));return c&&n(s,function(d){return s.add(null,d)}),this},e.revert=function(i){this.kill(i||{})},e.kill=function(i){this.contexts.forEach(function(n){return n.kill(i,!0)})},r}(),Ys={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];t.forEach(function(n){return Vd(n)})},timeline:function(e){return new tt(e)},getTweensOf:function(e,t){return Ee.getTweensOf(e,t)},getProperty:function(e,t,i,n){Ye(e)&&(e=Yt(e)[0]);var o=si(e||{}).get,s=i?Cd:Ad;return i==="native"&&(i=""),e&&(t?s((Et[t]&&Et[t].get||o)(e,t,i,n)):function(a,l,u){return s((Et[a]&&Et[a].get||o)(e,a,l,u))})},quickSetter:function(e,t,i){if(e=Yt(e),e.length>1){var n=e.map(function(c){return ut.quickSetter(c,t,i)}),o=n.length;return function(c){for(var d=o;d--;)n[d](c)}}e=e[0]||{};var s=Et[t],a=si(e),l=a.harness&&(a.harness.aliases||{})[t]||t,u=s?function(c){var d=new s;mn._pt=0,d.init(e,i?c+i:c,mn,0,[e]),d.render(1,d),mn._pt&&Su(1,mn)}:a.set(e,l);return s?u:function(c){return u(e,l,i?c+i:c,a,1)}},quickTo:function(e,t,i){var n,o=ut.to(e,Nt((n={},n[t]="+=0.1",n.paused=!0,n.stagger=0,n),i||{})),s=function(l,u,c){return o.resetTo(t,l,u,c)};return s.tween=o,s},isTweening:function(e){return Ee.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Ni(e.ease,vn.ease)),fd(vn,e||{})},config:function(e){return fd(Ct,e||{})},registerEffect:function(e){var t=e.name,i=e.effect,n=e.plugins,o=e.defaults,s=e.extendTimeline;(n||"").split(",").forEach(function(a){return a&&!Et[a]&&!It[a]&&mo(t+" effect requires "+a+" plugin.")}),ql[t]=function(a,l,u){return i(Yt(a),Nt(l||{},o),u)},s&&(tt.prototype[t]=function(a,l,u){return this.add(ql[t](a,mr(l)?l:(u=l)&&{},this),u)})},registerEase:function(e,t){ue[e]=Ni(t)},parseEase:function(e,t){return arguments.length?Ni(e,t):ue},getById:function(e){return Ee.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var i=new tt(e),n,o;for(i.smoothChildTiming=At(e.smoothChildTiming),Ee.remove(i),i._dp=0,i._time=i._tTime=Ee._time,n=Ee._first;n;)o=n._next,(t||!(!n._dur&&n instanceof Ie&&n.vars.onComplete===n._targets[0]))&&gr(i,n,n._start-n._delay),n=o;return gr(Ee,i,0),i},context:function(e,t){return e?new Kd(e,t):be},matchMedia:function(e){return new x0(e)},matchMediaRefresh:function(){return zi.forEach(function(e){var t=e.conditions,i,n;for(n in t)t[n]&&(t[n]=!1,i=1);i&&e.revert()})||ou()},addEventListener:function(e,t){var i=Hs[e]||(Hs[e]=[]);~i.indexOf(t)||i.push(t)},removeEventListener:function(e,t){var i=Hs[e],n=i&&i.indexOf(t);n>=0&&i.splice(n,1)},utils:{wrap:e0,wrapYoyo:t0,distribute:Dd,random:Nd,snap:Id,normalize:Jm,getUnit:it,clamp:jm,splitColor:Wd,toArray:Yt,selector:ru,mapRange:Fd,pipe:Zm,unitize:Qm,interpolate:r0,shuffle:Rd},install:xd,effects:ql,ticker:Tt,updateRoot:tt.updateRoot,plugins:Et,globalTimeline:Ee,core:{PropTween:mt,globals:Sd,Tween:Ie,Timeline:tt,Animation:wo,getCache:si,_removeLinkedListItem:Gs,reverting:function(){return rt},context:function(e){return e&&be&&(be.data.push(e),e._ctx=be),be},suppressOverwrites:function(e){return su=e}}};gt("to,from,fromTo,delayedCall,set,killTweensOf",function(r){return Ys[r]=Ie[r]});Tt.add(tt.updateRoot);mn=Ys.to({},{duration:0});var S0=function(e,t){for(var i=e._pt;i&&i.p!==t&&i.op!==t&&i.fp!==t;)i=i._next;return i},E0=function(e,t){var i=e._targets,n,o,s;for(n in t)for(o=i.length;o--;)s=e._ptLookup[o][n],s&&(s=s.d)&&(s._pt&&(s=S0(s,n)),s&&s.modifier&&s.modifier(t[n],e,i[o],n))},$l=function(e,t){return{name:e,headless:1,rawVars:1,init:function(n,o,s){s._onInit=function(a){var l,u;if(Ye(o)&&(l={},gt(o,function(c){return l[c]=1}),o=l),t){l={};for(u in o)l[u]=t(o[u]);o=l}E0(a,o)}}}},ut=Ys.registerPlugin({name:"attr",init:function(e,t,i,n,o){var s,a,l;this.tween=i;for(s in t)l=e.getAttribute(s)||"",a=this.add(e,"setAttribute",(l||0)+"",t[s],n,o,0,0,s),a.op=s,a.b=l,this._props.push(s)},render:function(e,t){for(var i=t._pt;i;)rt?i.set(i.t,i.p,i.b,i):i.r(e,i.d),i=i._next}},{name:"endArray",headless:1,init:function(e,t){for(var i=t.length;i--;)this.add(e,i,e[i]||0,t[i],0,0,0,0,0,1)}},$l("roundProps",iu),$l("modifiers"),$l("snap",Id))||Ys;Ie.version=tt.version=ut.version="3.13.0";bd=1;au()&&xn();var T0=ue.Power0,A0=ue.Power1,C0=ue.Power2,O0=ue.Power3,k0=ue.Power4,M0=ue.Linear,P0=ue.Quad,L0=ue.Cubic,R0=ue.Quart,D0=ue.Quint,I0=ue.Strong,N0=ue.Elastic,z0=ue.Back,F0=ue.SteppedEase,H0=ue.Bounce,V0=ue.Sine,W0=ue.Expo,B0=ue.Circ;var Zd,ui,Tn,Mu,Yi,q0,Qd,Pu,Y0=function(){return typeof window<"u"},Nr={},qi=180/Math.PI,An=Math.PI/180,En=Math.atan2,Jd=1e8,Lu=/([A-Z])/g,X0=/(left|right|width|margin|padding|x)/i,U0=/[\s,\(]\S/,vr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Au=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},G0=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)},$0=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)},j0=function(e,t){var i=t.s+t.c*e;t.set(t.t,t.p,~~(i+(i<0?-.5:.5))+t.u,t)},ah=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},lh=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},K0=function(e,t,i){return e.style[t]=i},Z0=function(e,t,i){return e.style.setProperty(t,i)},Q0=function(e,t,i){return e._gsap[t]=i},J0=function(e,t,i){return e._gsap.scaleX=e._gsap.scaleY=i},ev=function(e,t,i,n,o){var s=e._gsap;s.scaleX=s.scaleY=i,s.renderTransform(o,s)},tv=function(e,t,i,n,o){var s=e._gsap;s[t]=i,s.renderTransform(o,s)},Te="transform",Ot=Te+"Origin",rv=function r(e,t){var i=this,n=this.target,o=n.style,s=n._gsap;if(e in Nr&&o){if(this.tfm=this.tfm||{},e!=="transform")e=vr[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return i.tfm[a]=Ir(n,a)}):this.tfm[e]=s.x?s[e]:Ir(n,e),e===Ot&&(this.tfm.zOrigin=s.zOrigin);else return vr.transform.split(",").forEach(function(a){return r.call(i,a,t)});if(this.props.indexOf(Te)>=0)return;s.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(Ot,t,"")),e=Te}(o||t)&&this.props.push(e,t,o[e])},uh=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},iv=function(){var e=this.props,t=this.target,i=t.style,n=t._gsap,o,s;for(o=0;o<e.length;o+=3)e[o+1]?e[o+1]===2?t[e[o]](e[o+2]):t[e[o]]=e[o+2]:e[o+2]?i[e[o]]=e[o+2]:i.removeProperty(e[o].substr(0,2)==="--"?e[o]:e[o].replace(Lu,"-$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||"")),o=Pu(),(!o||!o.isStart)&&!i[Te]&&(uh(i),n.zOrigin&&i[Ot]&&(i[Ot]+=" "+n.zOrigin+"px",n.zOrigin=0,n.renderTransform()),n.uncache=1)}},ch=function(e,t){var i={target:e,props:[],revert:iv,save:rv};return e._gsap||ut.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(n){return i.save(n)}),i},fh,Cu=function(e,t){var i=ui.createElementNS?ui.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):ui.createElement(e);return i&&i.style?i:ui.createElement(e)},Xt=function r(e,t,i){var n=getComputedStyle(e);return n[t]||n.getPropertyValue(t.replace(Lu,"-$1").toLowerCase())||n.getPropertyValue(t)||!i&&r(e,Cn(t)||t,1)||""},eh="O,Moz,ms,Ms,Webkit".split(","),Cn=function(e,t,i){var n=t||Yi,o=n.style,s=5;if(e in o&&!i)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(eh[s]+e in o););return s<0?null:(s===3?"ms":s>=0?eh[s]:"")+e},Ou=function(){Y0()&&window.document&&(Zd=window,ui=Zd.document,Tn=ui.documentElement,Yi=Cu("div")||{style:{}},q0=Cu("div"),Te=Cn(Te),Ot=Te+"Origin",Yi.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",fh=!!Cn("perspective"),Pu=ut.core.reverting,Mu=1)},th=function(e){var t=e.ownerSVGElement,i=Cu("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=e.cloneNode(!0),o;n.style.display="block",i.appendChild(n),Tn.appendChild(i);try{o=n.getBBox()}catch{}return i.removeChild(n),Tn.removeChild(i),o},rh=function(e,t){for(var i=t.length;i--;)if(e.hasAttribute(t[i]))return e.getAttribute(t[i])},dh=function(e){var t,i;try{t=e.getBBox()}catch{t=th(e),i=1}return t&&(t.width||t.height)||i||(t=th(e)),t&&!t.width&&!t.x&&!t.y?{x:+rh(e,["x","cx","x1"])||0,y:+rh(e,["y","cy","y1"])||0,width:0,height:0}:t},hh=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&dh(e))},Xi=function(e,t){if(t){var i=e.style,n;t in Nr&&t!==Ot&&(t=Te),i.removeProperty?(n=t.substr(0,2),(n==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),i.removeProperty(n==="--"?t:t.replace(Lu,"-$1").toLowerCase())):i.removeAttribute(t)}},ci=function(e,t,i,n,o,s){var a=new mt(e._pt,t,i,0,1,s?lh:ah);return e._pt=a,a.b=n,a.e=o,e._props.push(i),a},ih={deg:1,rad:1,turn:1},nv={grid:1,flex:1},fi=function r(e,t,i,n){var o=parseFloat(i)||0,s=(i+"").trim().substr((o+"").length)||"px",a=Yi.style,l=X0.test(t),u=e.tagName.toLowerCase()==="svg",c=(u?"client":"offset")+(l?"Width":"Height"),d=100,h=n==="px",f=n==="%",_,p,g,m;if(n===s||!o||ih[n]||ih[s])return o;if(s!=="px"&&!h&&(o=r(e,t,i,"px")),m=e.getCTM&&hh(e),(f||s==="%")&&(Nr[t]||~t.indexOf("adius")))return _=m?e.getBBox()[l?"width":"height"]:e[c],Pe(f?o/_*d:o/100*_);if(a[l?"width":"height"]=d+(h?s:n),p=n!=="rem"&&~t.indexOf("adius")||n==="em"&&e.appendChild&&!u?e:e.parentNode,m&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===ui||!p.appendChild)&&(p=ui.body),g=p._gsap,g&&f&&g.width&&l&&g.time===Tt.time&&!g.uncache)return Pe(o/g.width*d);if(f&&(t==="height"||t==="width")){var v=e.style[t];e.style[t]=d+n,_=e[c],v?e.style[t]=v:Xi(e,t)}else(f||s==="%")&&!nv[Xt(p,"display")]&&(a.position=Xt(e,"position")),p===e&&(a.position="static"),p.appendChild(Yi),_=Yi[c],p.removeChild(Yi),a.position="absolute";return l&&f&&(g=si(p),g.time=Tt.time,g.width=p[c]),Pe(h?_*o/d:_&&o?d/_*o:0)},Ir=function(e,t,i,n){var o;return Mu||Ou(),t in vr&&t!=="transform"&&(t=vr[t],~t.indexOf(",")&&(t=t.split(",")[0])),Nr[t]&&t!=="transform"?(o=Eo(e,n),o=t!=="transformOrigin"?o[t]:o.svg?o.origin:Qs(Xt(e,Ot))+" "+o.zOrigin+"px"):(o=e.style[t],(!o||o==="auto"||n||~(o+"").indexOf("calc("))&&(o=Zs[t]&&Zs[t](e,t,i)||Xt(e,t)||pu(e,t)||(t==="opacity"?1:0))),i&&!~(o+"").trim().indexOf(" ")?fi(e,t,o,i)+i:o},ov=function(e,t,i,n){if(!i||i==="none"){var o=Cn(t,e,1),s=o&&Xt(e,o,1);s&&s!==i?(t=o,i=s):t==="borderColor"&&(i=Xt(e,"borderTopColor"))}var a=new mt(this._pt,e.style,t,0,1,xu),l=0,u=0,c,d,h,f,_,p,g,m,v,w,x,b;if(a.b=i,a.e=n,i+="",n+="",n.substring(0,6)==="var(--"&&(n=Xt(e,n.substring(4,n.indexOf(")")))),n==="auto"&&(p=e.style[t],e.style[t]=n,n=Xt(e,t)||n,p?e.style[t]=p:Xi(e,t)),c=[i,n],gu(c),i=c[0],n=c[1],h=i.match(Fi)||[],b=n.match(Fi)||[],b.length){for(;d=Fi.exec(n);)g=d[0],v=n.substring(l,d.index),_?_=(_+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(_=1),g!==(p=h[u++]||"")&&(f=parseFloat(p)||0,x=p.substr((f+"").length),g.charAt(1)==="="&&(g=Hi(f,g)+x),m=parseFloat(g),w=g.substr((m+"").length),l=Fi.lastIndex-w.length,w||(w=w||Ct.units[t]||x,l===n.length&&(n+=w,a.e+=w)),x!==w&&(f=fi(e,t,p,w)||0),a._pt={_next:a._pt,p:v||u===1?v:",",s:f,c:m-f,m:_&&_<4||t==="zIndex"?Math.round:0});a.c=l<n.length?n.substring(l,n.length):""}else a.r=t==="display"&&n==="none"?lh:ah;return uu.test(n)&&(a.e=0),this._pt=a,a},nh={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},sv=function(e){var t=e.split(" "),i=t[0],n=t[1]||"50%";return(i==="top"||i==="bottom"||n==="left"||n==="right")&&(e=i,i=n,n=e),t[0]=nh[i]||i,t[1]=nh[n]||n,t.join(" ")},av=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var i=t.t,n=i.style,o=t.u,s=i._gsap,a,l,u;if(o==="all"||o===!0)n.cssText="",l=1;else for(o=o.split(","),u=o.length;--u>-1;)a=o[u],Nr[a]&&(l=1,a=a==="transformOrigin"?Ot:Te),Xi(i,a);l&&(Xi(i,Te),s&&(s.svg&&i.removeAttribute("transform"),n.scale=n.rotate=n.translate="none",Eo(i,1),s.uncache=1,uh(n)))}},Zs={clearProps:function(e,t,i,n,o){if(o.data!=="isFromStart"){var s=e._pt=new mt(e._pt,t,i,0,0,av);return s.u=n,s.pr=-10,s.tween=o,e._props.push(i),1}}},So=[1,0,0,1,0,0],ph={},_h=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},oh=function(e){var t=Xt(e,Te);return _h(t)?So:t.substr(7).match(lu).map(Pe)},Ru=function(e,t){var i=e._gsap||si(e),n=e.style,o=oh(e),s,a,l,u;return i.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,o=[l.a,l.b,l.c,l.d,l.e,l.f],o.join(",")==="1,0,0,1,0,0"?So:o):(o===So&&!e.offsetParent&&e!==Tn&&!i.svg&&(l=n.display,n.display="block",s=e.parentNode,(!s||!e.offsetParent&&!e.getBoundingClientRect().width)&&(u=1,a=e.nextElementSibling,Tn.appendChild(e)),o=oh(e),l?n.display=l:Xi(e,"display"),u&&(a?s.insertBefore(e,a):s?s.appendChild(e):Tn.removeChild(e))),t&&o.length>6?[o[0],o[1],o[4],o[5],o[12],o[13]]:o)},ku=function(e,t,i,n,o,s){var a=e._gsap,l=o||Ru(e,!0),u=a.xOrigin||0,c=a.yOrigin||0,d=a.xOffset||0,h=a.yOffset||0,f=l[0],_=l[1],p=l[2],g=l[3],m=l[4],v=l[5],w=t.split(" "),x=parseFloat(w[0])||0,b=parseFloat(w[1])||0,E,S,T,C;i?l!==So&&(S=f*g-_*p)&&(T=x*(g/S)+b*(-p/S)+(p*v-g*m)/S,C=x*(-_/S)+b*(f/S)-(f*v-_*m)/S,x=T,b=C):(E=dh(e),x=E.x+(~w[0].indexOf("%")?x/100*E.width:x),b=E.y+(~(w[1]||w[0]).indexOf("%")?b/100*E.height:b)),n||n!==!1&&a.smooth?(m=x-u,v=b-c,a.xOffset=d+(m*f+v*p)-m,a.yOffset=h+(m*_+v*g)-v):a.xOffset=a.yOffset=0,a.xOrigin=x,a.yOrigin=b,a.smooth=!!n,a.origin=t,a.originIsAbsolute=!!i,e.style[Ot]="0px 0px",s&&(ci(s,a,"xOrigin",u,x),ci(s,a,"yOrigin",c,b),ci(s,a,"xOffset",d,a.xOffset),ci(s,a,"yOffset",h,a.yOffset)),e.setAttribute("data-svg-origin",x+" "+b)},Eo=function(e,t){var i=e._gsap||new mu(e);if("x"in i&&!t&&!i.uncache)return i;var n=e.style,o=i.scaleX<0,s="px",a="deg",l=getComputedStyle(e),u=Xt(e,Ot)||"0",c,d,h,f,_,p,g,m,v,w,x,b,E,S,T,C,O,M,A,P,N,D,W,V,F,R,y,L,Y,K,j,fe;return c=d=h=p=g=m=v=w=x=0,f=_=1,i.svg=!!(e.getCTM&&hh(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(n[Te]=(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[Te]!=="none"?l[Te]:"")),n.scale=n.rotate=n.translate="none"),S=Ru(e,i.svg),i.svg&&(i.uncache?(F=e.getBBox(),u=i.xOrigin-F.x+"px "+(i.yOrigin-F.y)+"px",V=""):V=!t&&e.getAttribute("data-svg-origin"),ku(e,V||u,!!V||i.originIsAbsolute,i.smooth!==!1,S)),b=i.xOrigin||0,E=i.yOrigin||0,S!==So&&(M=S[0],A=S[1],P=S[2],N=S[3],c=D=S[4],d=W=S[5],S.length===6?(f=Math.sqrt(M*M+A*A),_=Math.sqrt(N*N+P*P),p=M||A?En(A,M)*qi:0,v=P||N?En(P,N)*qi+p:0,v&&(_*=Math.abs(Math.cos(v*An))),i.svg&&(c-=b-(b*M+E*P),d-=E-(b*A+E*N))):(fe=S[6],K=S[7],y=S[8],L=S[9],Y=S[10],j=S[11],c=S[12],d=S[13],h=S[14],T=En(fe,Y),g=T*qi,T&&(C=Math.cos(-T),O=Math.sin(-T),V=D*C+y*O,F=W*C+L*O,R=fe*C+Y*O,y=D*-O+y*C,L=W*-O+L*C,Y=fe*-O+Y*C,j=K*-O+j*C,D=V,W=F,fe=R),T=En(-P,Y),m=T*qi,T&&(C=Math.cos(-T),O=Math.sin(-T),V=M*C-y*O,F=A*C-L*O,R=P*C-Y*O,j=N*O+j*C,M=V,A=F,P=R),T=En(A,M),p=T*qi,T&&(C=Math.cos(T),O=Math.sin(T),V=M*C+A*O,F=D*C+W*O,A=A*C-M*O,W=W*C-D*O,M=V,D=F),g&&Math.abs(g)+Math.abs(p)>359.9&&(g=p=0,m=180-m),f=Pe(Math.sqrt(M*M+A*A+P*P)),_=Pe(Math.sqrt(W*W+fe*fe)),T=En(D,W),v=Math.abs(T)>2e-4?T*qi:0,x=j?1/(j<0?-j:j):0),i.svg&&(V=e.getAttribute("transform"),i.forceCSS=e.setAttribute("transform","")||!_h(Xt(e,Te)),V&&e.setAttribute("transform",V))),Math.abs(v)>90&&Math.abs(v)<270&&(o?(f*=-1,v+=p<=0?180:-180,p+=p<=0?180:-180):(_*=-1,v+=v<=0?180:-180)),t=t||i.uncache,i.x=c-((i.xPercent=c&&(!t&&i.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-c)?-50:0)))?e.offsetWidth*i.xPercent/100:0)+s,i.y=d-((i.yPercent=d&&(!t&&i.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-d)?-50:0)))?e.offsetHeight*i.yPercent/100:0)+s,i.z=h+s,i.scaleX=Pe(f),i.scaleY=Pe(_),i.rotation=Pe(p)+a,i.rotationX=Pe(g)+a,i.rotationY=Pe(m)+a,i.skewX=v+a,i.skewY=w+a,i.transformPerspective=x+s,(i.zOrigin=parseFloat(u.split(" ")[2])||!t&&i.zOrigin||0)&&(n[Ot]=Qs(u)),i.xOffset=i.yOffset=0,i.force3D=Ct.force3D,i.renderTransform=i.svg?uv:fh?gh:lv,i.uncache=0,i},Qs=function(e){return(e=e.split(" "))[0]+" "+e[1]},Tu=function(e,t,i){var n=it(t);return Pe(parseFloat(t)+parseFloat(fi(e,"x",i+"px",n)))+n},lv=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,gh(e,t)},Wi="0deg",xo="0px",Bi=") ",gh=function(e,t){var i=t||this,n=i.xPercent,o=i.yPercent,s=i.x,a=i.y,l=i.z,u=i.rotation,c=i.rotationY,d=i.rotationX,h=i.skewX,f=i.skewY,_=i.scaleX,p=i.scaleY,g=i.transformPerspective,m=i.force3D,v=i.target,w=i.zOrigin,x="",b=m==="auto"&&e&&e!==1||m===!0;if(w&&(d!==Wi||c!==Wi)){var E=parseFloat(c)*An,S=Math.sin(E),T=Math.cos(E),C;E=parseFloat(d)*An,C=Math.cos(E),s=Tu(v,s,S*C*-w),a=Tu(v,a,-Math.sin(E)*-w),l=Tu(v,l,T*C*-w+w)}g!==xo&&(x+="perspective("+g+Bi),(n||o)&&(x+="translate("+n+"%, "+o+"%) "),(b||s!==xo||a!==xo||l!==xo)&&(x+=l!==xo||b?"translate3d("+s+", "+a+", "+l+") ":"translate("+s+", "+a+Bi),u!==Wi&&(x+="rotate("+u+Bi),c!==Wi&&(x+="rotateY("+c+Bi),d!==Wi&&(x+="rotateX("+d+Bi),(h!==Wi||f!==Wi)&&(x+="skew("+h+", "+f+Bi),(_!==1||p!==1)&&(x+="scale("+_+", "+p+Bi),v.style[Te]=x||"translate(0, 0)"},uv=function(e,t){var i=t||this,n=i.xPercent,o=i.yPercent,s=i.x,a=i.y,l=i.rotation,u=i.skewX,c=i.skewY,d=i.scaleX,h=i.scaleY,f=i.target,_=i.xOrigin,p=i.yOrigin,g=i.xOffset,m=i.yOffset,v=i.forceCSS,w=parseFloat(s),x=parseFloat(a),b,E,S,T,C;l=parseFloat(l),u=parseFloat(u),c=parseFloat(c),c&&(c=parseFloat(c),u+=c,l+=c),l||u?(l*=An,u*=An,b=Math.cos(l)*d,E=Math.sin(l)*d,S=Math.sin(l-u)*-h,T=Math.cos(l-u)*h,u&&(c*=An,C=Math.tan(u-c),C=Math.sqrt(1+C*C),S*=C,T*=C,c&&(C=Math.tan(c),C=Math.sqrt(1+C*C),b*=C,E*=C)),b=Pe(b),E=Pe(E),S=Pe(S),T=Pe(T)):(b=d,T=h,E=S=0),(w&&!~(s+"").indexOf("px")||x&&!~(a+"").indexOf("px"))&&(w=fi(f,"x",s,"px"),x=fi(f,"y",a,"px")),(_||p||g||m)&&(w=Pe(w+_-(_*b+p*S)+g),x=Pe(x+p-(_*E+p*T)+m)),(n||o)&&(C=f.getBBox(),w=Pe(w+n/100*C.width),x=Pe(x+o/100*C.height)),C="matrix("+b+","+E+","+S+","+T+","+w+","+x+")",f.setAttribute("transform",C),v&&(f.style[Te]=C)},cv=function(e,t,i,n,o){var s=360,a=Ye(o),l=parseFloat(o)*(a&&~o.indexOf("rad")?qi:1),u=l-n,c=n+u+"deg",d,h;return a&&(d=o.split("_")[1],d==="short"&&(u%=s,u!==u%(s/2)&&(u+=u<0?s:-s)),d==="cw"&&u<0?u=(u+s*Jd)%s-~~(u/s)*s:d==="ccw"&&u>0&&(u=(u-s*Jd)%s-~~(u/s)*s)),e._pt=h=new mt(e._pt,t,i,n,u,G0),h.e=c,h.u="deg",e._props.push(i),h},sh=function(e,t){for(var i in t)e[i]=t[i];return e},fv=function(e,t,i){var n=sh({},i._gsap),o="perspective,force3D,transformOrigin,svgOrigin",s=i.style,a,l,u,c,d,h,f,_;n.svg?(u=i.getAttribute("transform"),i.setAttribute("transform",""),s[Te]=t,a=Eo(i,1),Xi(i,Te),i.setAttribute("transform",u)):(u=getComputedStyle(i)[Te],s[Te]=t,a=Eo(i,1),s[Te]=u);for(l in Nr)u=n[l],c=a[l],u!==c&&o.indexOf(l)<0&&(f=it(u),_=it(c),d=f!==_?fi(i,l,u,_):parseFloat(u),h=parseFloat(c),e._pt=new mt(e._pt,a,l,d,h-d,Au),e._pt.u=_||0,e._props.push(l));sh(a,n)};gt("padding,margin,Width,Radius",function(r,e){var t="Top",i="Right",n="Bottom",o="Left",s=(e<3?[t,i,n,o]:[t+o,t+i,n+i,n+o]).map(function(a){return e<2?r+a:"border"+a+r});Zs[e>1?"border"+r:r]=function(a,l,u,c,d){var h,f;if(arguments.length<4)return h=s.map(function(_){return Ir(a,_,u)}),f=h.join(" "),f.split(h[0]).length===5?h[0]:f;h=(c+"").split(" "),f={},s.forEach(function(_,p){return f[_]=h[p]=h[p]||h[(p-1)/2|0]}),a.init(l,f,d)}});var Du={name:"css",register:Ou,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,i,n,o){var s=this._props,a=e.style,l=i.vars.startAt,u,c,d,h,f,_,p,g,m,v,w,x,b,E,S,T;Mu||Ou(),this.styles=this.styles||ch(e),T=this.styles.props,this.tween=i;for(p in t)if(p!=="autoRound"&&(c=t[p],!(Et[p]&&yu(p,t,i,n,e,o)))){if(f=typeof c,_=Zs[p],f==="function"&&(c=c.call(i,n,e,o),f=typeof c),f==="string"&&~c.indexOf("random(")&&(c=Sn(c)),_)_(this,e,p,c,i)&&(S=1);else if(p.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(p)+"").trim(),c+="",Rr.lastIndex=0,Rr.test(u)||(g=it(u),m=it(c)),m?g!==m&&(u=fi(e,p,u,m)+m):g&&(c+=g),this.add(a,"setProperty",u,c,n,o,0,0,p),s.push(p),T.push(p,0,a[p]);else if(f!=="undefined"){if(l&&p in l?(u=typeof l[p]=="function"?l[p].call(i,n,e,o):l[p],Ye(u)&&~u.indexOf("random(")&&(u=Sn(u)),it(u+"")||u==="auto"||(u+=Ct.units[p]||it(Ir(e,p))||""),(u+"").charAt(1)==="="&&(u=Ir(e,p))):u=Ir(e,p),h=parseFloat(u),v=f==="string"&&c.charAt(1)==="="&&c.substr(0,2),v&&(c=c.substr(2)),d=parseFloat(c),p in vr&&(p==="autoAlpha"&&(h===1&&Ir(e,"visibility")==="hidden"&&d&&(h=0),T.push("visibility",0,a.visibility),ci(this,a,"visibility",h?"inherit":"hidden",d?"inherit":"hidden",!d)),p!=="scale"&&p!=="transform"&&(p=vr[p],~p.indexOf(",")&&(p=p.split(",")[0]))),w=p in Nr,w){if(this.styles.save(p),f==="string"&&c.substring(0,6)==="var(--"&&(c=Xt(e,c.substring(4,c.indexOf(")"))),d=parseFloat(c)),x||(b=e._gsap,b.renderTransform&&!t.parseTransform||Eo(e,t.parseTransform),E=t.smoothOrigin!==!1&&b.smooth,x=this._pt=new mt(this._pt,a,Te,0,1,b.renderTransform,b,0,-1),x.dep=1),p==="scale")this._pt=new mt(this._pt,b,"scaleY",b.scaleY,(v?Hi(b.scaleY,v+d):d)-b.scaleY||0,Au),this._pt.u=0,s.push("scaleY",p),p+="X";else if(p==="transformOrigin"){T.push(Ot,0,a[Ot]),c=sv(c),b.svg?ku(e,c,0,E,0,this):(m=parseFloat(c.split(" ")[2])||0,m!==b.zOrigin&&ci(this,b,"zOrigin",b.zOrigin,m),ci(this,a,p,Qs(u),Qs(c)));continue}else if(p==="svgOrigin"){ku(e,c,1,E,0,this);continue}else if(p in ph){cv(this,b,p,h,v?Hi(h,v+c):c);continue}else if(p==="smoothOrigin"){ci(this,b,"smooth",b.smooth,c);continue}else if(p==="force3D"){b[p]=c;continue}else if(p==="transform"){fv(this,c,e);continue}}else p in a||(p=Cn(p)||p);if(w||(d||d===0)&&(h||h===0)&&!U0.test(c)&&p in a)g=(u+"").substr((h+"").length),d||(d=0),m=it(c)||(p in Ct.units?Ct.units[p]:g),g!==m&&(h=fi(e,p,u,m)),this._pt=new mt(this._pt,w?b:a,p,h,(v?Hi(h,v+d):d)-h,!w&&(m==="px"||p==="zIndex")&&t.autoRound!==!1?j0:Au),this._pt.u=m||0,g!==m&&m!=="%"&&(this._pt.b=u,this._pt.r=$0);else if(p in a)ov.call(this,e,p,u,v?v+c:c);else if(p in e)this.add(e,p,u||e[p],v?v+c:c,n,o);else if(p!=="parseTransform"){Us(p,c);continue}w||(p in a?T.push(p,0,a[p]):typeof e[p]=="function"?T.push(p,2,e[p]()):T.push(p,1,u||e[p])),s.push(p)}}S&&Eu(this)},render:function(e,t){if(t.tween._time||!Pu())for(var i=t._pt;i;)i.r(e,i.d),i=i._next;else t.styles.revert()},get:Ir,aliases:vr,getSetter:function(e,t,i){var n=vr[t];return n&&n.indexOf(",")<0&&(t=n),t in Nr&&t!==Ot&&(e._gsap.x||Ir(e,"x"))?i&&Qd===i?t==="scale"?J0:Q0:(Qd=i||{})&&(t==="scale"?ev:tv):e.style&&!Xs(e.style[t])?K0:~t.indexOf("-")?Z0:Ks(e,t)},core:{_removeProperty:Xi,_getMatrix:Ru}};ut.utils.checkPrefix=Cn;ut.core.getStyleSaver=ch;(function(r,e,t,i){var n=gt(r+","+e+","+t,function(o){Nr[o]=1});gt(e,function(o){Ct.units[o]="deg",ph[o]=1}),vr[n[13]]=r+","+e,gt(i,function(o){var s=o.split(":");vr[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");gt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(r){Ct.units[r]="px"});ut.registerPlugin(Du);var I=ut.registerPlugin(Du)||ut,W1=I.core.Tween;function mh(r,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,i.key,i)}}function dv(r,e,t){return e&&mh(r.prototype,e),t&&mh(r,t),r}var nt,ta,hv,zt,di,hi,kn,yh,Ui,Ao,wh,zr,sr,bh,xh=function(){return nt||typeof window<"u"&&(nt=window.gsap)&&nt.registerPlugin&&nt},Sh=1,On=[],ie=[],ar=[],Co=Date.now,Iu=function(e,t){return t},pv=function(){var e=Ao.core,t=e.bridge||{},i=e._scrollers,n=e._proxies;i.push.apply(i,ie),n.push.apply(n,ar),ie=i,ar=n,Iu=function(s,a){return t[s](a)}},Hr=function(e,t){return~ar.indexOf(e)&&ar[ar.indexOf(e)+1][t]},Oo=function(e){return!!~wh.indexOf(e)},yt=function(e,t,i,n,o){return e.addEventListener(t,i,{passive:n!==!1,capture:!!o})},vt=function(e,t,i,n){return e.removeEventListener(t,i,!!n)},Js="scrollLeft",ea="scrollTop",Nu=function(){return zr&&zr.isPressed||ie.cache++},ra=function(e,t){var i=function n(o){if(o||o===0){Sh&&(zt.history.scrollRestoration="manual");var s=zr&&zr.isPressed;o=n.v=Math.round(o)||(zr&&zr.iOS?1:0),e(o),n.cacheID=ie.cache,s&&Iu("ss",o)}else(t||ie.cache!==n.cacheID||Iu("ref"))&&(n.cacheID=ie.cache,n.v=e());return n.v+n.offset};return i.offset=0,e&&i},ct={s:Js,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:ra(function(r){return arguments.length?zt.scrollTo(r,He.sc()):zt.pageXOffset||di[Js]||hi[Js]||kn[Js]||0})},He={s:ea,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:ct,sc:ra(function(r){return arguments.length?zt.scrollTo(ct.sc(),r):zt.pageYOffset||di[ea]||hi[ea]||kn[ea]||0})},wt=function(e,t){return(t&&t._ctx&&t._ctx.selector||nt.utils.toArray)(e)[0]||(typeof e=="string"&&nt.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},_v=function(e,t){for(var i=t.length;i--;)if(t[i]===e||t[i].contains(e))return!0;return!1},Fr=function(e,t){var i=t.s,n=t.sc;Oo(e)&&(e=di.scrollingElement||hi);var o=ie.indexOf(e),s=n===He.sc?1:2;!~o&&(o=ie.push(e)-1),ie[o+s]||yt(e,"scroll",Nu);var a=ie[o+s],l=a||(ie[o+s]=ra(Hr(e,i),!0)||(Oo(e)?n:ra(function(u){return arguments.length?e[i]=u:e[i]})));return l.target=e,a||(l.smooth=nt.getProperty(e,"scrollBehavior")==="smooth"),l},ia=function(e,t,i){var n=e,o=e,s=Co(),a=s,l=t||50,u=Math.max(500,l*3),c=function(_,p){var g=Co();p||g-s>l?(o=n,n=_,a=s,s=g):i?n+=_:n=o+(_-o)/(g-a)*(s-a)},d=function(){o=n=i?0:n,a=s=0},h=function(_){var p=a,g=o,m=Co();return(_||_===0)&&_!==n&&c(_),s===a||m-a>u?0:(n+(i?g:-g))/((i?m:s)-p)*1e3};return{update:c,reset:d,getVelocity:h}},To=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},vh=function(e){var t=Math.max.apply(Math,e),i=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(i)?t:i},Eh=function(){Ao=nt.core.globals().ScrollTrigger,Ao&&Ao.core&&pv()},Th=function(e){return nt=e||xh(),!ta&&nt&&typeof document<"u"&&document.body&&(zt=window,di=document,hi=di.documentElement,kn=di.body,wh=[zt,di,hi,kn],hv=nt.utils.clamp,bh=nt.core.context||function(){},Ui="onpointerenter"in kn?"pointer":"mouse",yh=Le.isTouch=zt.matchMedia&&zt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in zt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,sr=Le.eventTypes=("ontouchstart"in hi?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in hi?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return Sh=0},500),Eh(),ta=1),ta};ct.op=He;ie.cache=0;var Le=function(){function r(t){this.init(t)}var e=r.prototype;return e.init=function(i){ta||Th(nt)||console.warn("Please gsap.registerPlugin(Observer)"),Ao||Eh();var n=i.tolerance,o=i.dragMinimum,s=i.type,a=i.target,l=i.lineHeight,u=i.debounce,c=i.preventDefault,d=i.onStop,h=i.onStopDelay,f=i.ignore,_=i.wheelSpeed,p=i.event,g=i.onDragStart,m=i.onDragEnd,v=i.onDrag,w=i.onPress,x=i.onRelease,b=i.onRight,E=i.onLeft,S=i.onUp,T=i.onDown,C=i.onChangeX,O=i.onChangeY,M=i.onChange,A=i.onToggleX,P=i.onToggleY,N=i.onHover,D=i.onHoverEnd,W=i.onMove,V=i.ignoreCheck,F=i.isNormalizer,R=i.onGestureStart,y=i.onGestureEnd,L=i.onWheel,Y=i.onEnable,K=i.onDisable,j=i.onClick,fe=i.scrollSpeed,H=i.capture,G=i.allowClicks,ce=i.lockAxis,re=i.onLockAxis;this.target=a=wt(a)||hi,this.vars=i,f&&(f=nt.utils.toArray(f)),n=n||1e-9,o=o||0,_=_||1,fe=fe||1,s=s||"wheel,touch,pointer",u=u!==!1,l||(l=parseFloat(zt.getComputedStyle(kn).lineHeight)||22);var oe,Ze,Qe,z,Z,Ce,We,k=this,Lt=0,Tr=0,jr=i.passive||!c&&i.passive!==!1,Oe=Fr(a,ct),Ar=Fr(a,He),Kr=Oe(),Ei=Ar(),Ge=~s.indexOf("touch")&&!~s.indexOf("pointer")&&sr[0]==="pointerdown",Zr=Oo(a),Re=a.ownerDocument||di,Jt=[0,0,0],Wt=[0,0,0],Cr=0,Kn=function(){return Cr=Co()},Ne=function($,de){return(k.event=$)&&f&&_v($.target,f)||de&&Ge&&$.pointerType!=="touch"||V&&V($,de)},hs=function(){k._vx.reset(),k._vy.reset(),Ze.pause(),d&&d(k)},Or=function(){var $=k.deltaX=vh(Jt),de=k.deltaY=vh(Wt),B=Math.abs($)>=n,Q=Math.abs(de)>=n;M&&(B||Q)&&M(k,$,de,Jt,Wt),B&&(b&&k.deltaX>0&&b(k),E&&k.deltaX<0&&E(k),C&&C(k),A&&k.deltaX<0!=Lt<0&&A(k),Lt=k.deltaX,Jt[0]=Jt[1]=Jt[2]=0),Q&&(T&&k.deltaY>0&&T(k),S&&k.deltaY<0&&S(k),O&&O(k),P&&k.deltaY<0!=Tr<0&&P(k),Tr=k.deltaY,Wt[0]=Wt[1]=Wt[2]=0),(z||Qe)&&(W&&W(k),Qe&&(g&&Qe===1&&g(k),v&&v(k),Qe=0),z=!1),Ce&&!(Ce=!1)&&re&&re(k),Z&&(L(k),Z=!1),oe=0},un=function($,de,B){Jt[B]+=$,Wt[B]+=de,k._vx.update($),k._vy.update(de),u?oe||(oe=requestAnimationFrame(Or)):Or()},cn=function($,de){ce&&!We&&(k.axis=We=Math.abs($)>Math.abs(de)?"x":"y",Ce=!0),We!=="y"&&(Jt[2]+=$,k._vx.update($,!0)),We!=="x"&&(Wt[2]+=de,k._vy.update(de,!0)),u?oe||(oe=requestAnimationFrame(Or)):Or()},Qr=function($){if(!Ne($,1)){$=To($,c);var de=$.clientX,B=$.clientY,Q=de-k.x,U=B-k.y,J=k.isDragging;k.x=de,k.y=B,(J||(Q||U)&&(Math.abs(k.startX-de)>=o||Math.abs(k.startY-B)>=o))&&(Qe=J?2:1,J||(k.isDragging=!0),cn(Q,U))}},Ti=k.onPress=function(ee){Ne(ee,1)||ee&&ee.button||(k.axis=We=null,Ze.pause(),k.isPressed=!0,ee=To(ee),Lt=Tr=0,k.startX=k.x=ee.clientX,k.startY=k.y=ee.clientY,k._vx.reset(),k._vy.reset(),yt(F?a:Re,sr[1],Qr,jr,!0),k.deltaX=k.deltaY=0,w&&w(k))},ae=k.onRelease=function(ee){if(!Ne(ee,1)){vt(F?a:Re,sr[1],Qr,!0);var $=!isNaN(k.y-k.startY),de=k.isDragging,B=de&&(Math.abs(k.x-k.startX)>3||Math.abs(k.y-k.startY)>3),Q=To(ee);!B&&$&&(k._vx.reset(),k._vy.reset(),c&&G&&nt.delayedCall(.08,function(){if(Co()-Cr>300&&!ee.defaultPrevented){if(ee.target.click)ee.target.click();else if(Re.createEvent){var U=Re.createEvent("MouseEvents");U.initMouseEvent("click",!0,!0,zt,1,Q.screenX,Q.screenY,Q.clientX,Q.clientY,!1,!1,!1,!1,0,null),ee.target.dispatchEvent(U)}}})),k.isDragging=k.isGesturing=k.isPressed=!1,d&&de&&!F&&Ze.restart(!0),Qe&&Or(),m&&de&&m(k),x&&x(k,B)}},Ai=function($){return $.touches&&$.touches.length>1&&(k.isGesturing=!0)&&R($,k.isDragging)},er=function(){return(k.isGesturing=!1)||y(k)},tr=function($){if(!Ne($)){var de=Oe(),B=Ar();un((de-Kr)*fe,(B-Ei)*fe,1),Kr=de,Ei=B,d&&Ze.restart(!0)}},rr=function($){if(!Ne($)){$=To($,c),L&&(Z=!0);var de=($.deltaMode===1?l:$.deltaMode===2?zt.innerHeight:1)*_;un($.deltaX*de,$.deltaY*de,0),d&&!F&&Ze.restart(!0)}},Ci=function($){if(!Ne($)){var de=$.clientX,B=$.clientY,Q=de-k.x,U=B-k.y;k.x=de,k.y=B,z=!0,d&&Ze.restart(!0),(Q||U)&&cn(Q,U)}},fn=function($){k.event=$,N(k)},kr=function($){k.event=$,D(k)},Zn=function($){return Ne($)||To($,c)&&j(k)};Ze=k._dc=nt.delayedCall(h||.25,hs).pause(),k.deltaX=k.deltaY=0,k._vx=ia(0,50,!0),k._vy=ia(0,50,!0),k.scrollX=Oe,k.scrollY=Ar,k.isDragging=k.isGesturing=k.isPressed=!1,bh(this),k.enable=function(ee){return k.isEnabled||(yt(Zr?Re:a,"scroll",Nu),s.indexOf("scroll")>=0&&yt(Zr?Re:a,"scroll",tr,jr,H),s.indexOf("wheel")>=0&&yt(a,"wheel",rr,jr,H),(s.indexOf("touch")>=0&&yh||s.indexOf("pointer")>=0)&&(yt(a,sr[0],Ti,jr,H),yt(Re,sr[2],ae),yt(Re,sr[3],ae),G&&yt(a,"click",Kn,!0,!0),j&&yt(a,"click",Zn),R&&yt(Re,"gesturestart",Ai),y&&yt(Re,"gestureend",er),N&&yt(a,Ui+"enter",fn),D&&yt(a,Ui+"leave",kr),W&&yt(a,Ui+"move",Ci)),k.isEnabled=!0,k.isDragging=k.isGesturing=k.isPressed=z=Qe=!1,k._vx.reset(),k._vy.reset(),Kr=Oe(),Ei=Ar(),ee&&ee.type&&Ti(ee),Y&&Y(k)),k},k.disable=function(){k.isEnabled&&(On.filter(function(ee){return ee!==k&&Oo(ee.target)}).length||vt(Zr?Re:a,"scroll",Nu),k.isPressed&&(k._vx.reset(),k._vy.reset(),vt(F?a:Re,sr[1],Qr,!0)),vt(Zr?Re:a,"scroll",tr,H),vt(a,"wheel",rr,H),vt(a,sr[0],Ti,H),vt(Re,sr[2],ae),vt(Re,sr[3],ae),vt(a,"click",Kn,!0),vt(a,"click",Zn),vt(Re,"gesturestart",Ai),vt(Re,"gestureend",er),vt(a,Ui+"enter",fn),vt(a,Ui+"leave",kr),vt(a,Ui+"move",Ci),k.isEnabled=k.isPressed=k.isDragging=!1,K&&K(k))},k.kill=k.revert=function(){k.disable();var ee=On.indexOf(k);ee>=0&&On.splice(ee,1),zr===k&&(zr=0)},On.push(k),F&&Oo(a)&&(zr=k),k.enable(p)},dv(r,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),r}();Le.version="3.13.0";Le.create=function(r){return new Le(r)};Le.register=Th;Le.getAll=function(){return On.slice()};Le.getById=function(r){return On.filter(function(e){return e.vars.id===r})[0]};xh()&&nt.registerPlugin(Le);var q,Ln,se,me,Vt,he,Zu,ya,Wo,Io,Mo,na,ft,Sa,Yu,xt,Ah,Ch,Rn,qh,zu,Yh,bt,Xu,Xh,Uh,pi,Uu,Qu,Dn,Ju,wa,Gu,Fu,oa=1,dt=Date.now,Hu=dt(),$t=0,Po=0,Oh=function(e,t,i){var n=Ht(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return i["_"+t+"Clamp"]=n,n?e.substr(6,e.length-7):e},kh=function(e,t){return t&&(!Ht(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},gv=function r(){return Po&&requestAnimationFrame(r)},Mh=function(){return Sa=1},Ph=function(){return Sa=0},yr=function(e){return e},Lo=function(e){return Math.round(e*1e5)/1e5||0},Gh=function(){return typeof window<"u"},$h=function(){return q||Gh()&&(q=window.gsap)&&q.registerPlugin&&q},Qi=function(e){return!!~Zu.indexOf(e)},jh=function(e){return(e==="Height"?Ju:se["inner"+e])||Vt["client"+e]||he["client"+e]},Kh=function(e){return Hr(e,"getBoundingClientRect")||(Qi(e)?function(){return va.width=se.innerWidth,va.height=Ju,va}:function(){return Vr(e)})},mv=function(e,t,i){var n=i.d,o=i.d2,s=i.a;return(s=Hr(e,"getBoundingClientRect"))?function(){return s()[n]}:function(){return(t?jh(o):e["client"+o])||0}},vv=function(e,t){return!t||~ar.indexOf(e)?Kh(e):function(){return va}},wr=function(e,t){var i=t.s,n=t.d2,o=t.d,s=t.a;return Math.max(0,(i="scroll"+n)&&(s=Hr(e,i))?s()-Kh(e)()[o]:Qi(e)?(Vt[i]||he[i])-jh(n):e[i]-e["offset"+n])},sa=function(e,t){for(var i=0;i<Rn.length;i+=3)(!t||~t.indexOf(Rn[i+1]))&&e(Rn[i],Rn[i+1],Rn[i+2])},Ht=function(e){return typeof e=="string"},ht=function(e){return typeof e=="function"},Ro=function(e){return typeof e=="number"},Gi=function(e){return typeof e=="object"},ko=function(e,t,i){return e&&e.progress(t?0:1)&&i&&e.pause()},Vu=function(e,t){if(e.enabled){var i=e._ctx?e._ctx.add(function(){return t(e)}):t(e);i&&i.totalTime&&(e.callbackAnimation=i)}},Mn=Math.abs,Zh="left",Qh="top",ec="right",tc="bottom",ji="width",Ki="height",No="Right",zo="Left",Fo="Top",Ho="Bottom",Ve="padding",Ut="margin",Nn="Width",rc="Height",Xe="px",Gt=function(e){return se.getComputedStyle(e)},yv=function(e){var t=Gt(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative"},Lh=function(e,t){for(var i in t)i in e||(e[i]=t[i]);return e},Vr=function(e,t){var i=t&&Gt(e)[Yu]!=="matrix(1, 0, 0, 1, 0, 0)"&&q.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 i&&i.progress(0).kill(),n},ba=function(e,t){var i=t.d2;return e["offset"+i]||e["client"+i]||0},Jh=function(e){var t=[],i=e.labels,n=e.duration(),o;for(o in i)t.push(i[o]/n);return t},wv=function(e){return function(t){return q.utils.snap(Jh(e),t)}},ic=function(e){var t=q.utils.snap(e),i=Array.isArray(e)&&e.slice(0).sort(function(n,o){return n-o});return i?function(n,o,s){s===void 0&&(s=.001);var a;if(!o)return t(n);if(o>0){for(n-=s,a=0;a<i.length;a++)if(i[a]>=n)return i[a];return i[a-1]}else for(a=i.length,n+=s;a--;)if(i[a]<=n)return i[a];return i[0]}:function(n,o,s){s===void 0&&(s=.001);var a=t(n);return!o||Math.abs(a-n)<s||a-n<0==o<0?a:t(o<0?n-e:n+e)}},bv=function(e){return function(t,i){return ic(Jh(e))(t,i.direction)}},aa=function(e,t,i,n){return i.split(",").forEach(function(o){return e(t,o,n)})},Ke=function(e,t,i,n,o){return e.addEventListener(t,i,{passive:!n,capture:!!o})},je=function(e,t,i,n){return e.removeEventListener(t,i,!!n)},la=function(e,t,i){i=i&&i.wheelHandler,i&&(e(t,"wheel",i),e(t,"touchmove",i))},Rh={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},ua={toggleActions:"play",anticipatePin:0},xa={top:0,left:0,center:.5,bottom:1,right:1},pa=function(e,t){if(Ht(e)){var i=e.indexOf("="),n=~i?+(e.charAt(i-1)+1)*parseFloat(e.substr(i+1)):0;~i&&(e.indexOf("%")>i&&(n*=t/100),e=e.substr(0,i-1)),e=n+(e in xa?xa[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},ca=function(e,t,i,n,o,s,a,l){var u=o.startColor,c=o.endColor,d=o.fontSize,h=o.indent,f=o.fontWeight,_=me.createElement("div"),p=Qi(i)||Hr(i,"pinType")==="fixed",g=e.indexOf("scroller")!==-1,m=p?he:i,v=e.indexOf("start")!==-1,w=v?u:c,x="border-color:"+w+";font-size:"+d+";color:"+w+";font-weight:"+f+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return x+="position:"+((g||l)&&p?"fixed;":"absolute;"),(g||l||!p)&&(x+=(n===He?ec:tc)+":"+(s+parseFloat(h))+"px;"),a&&(x+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),_._isStart=v,_.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),_.style.cssText=x,_.innerText=t||t===0?e+"-"+t:e,m.children[0]?m.insertBefore(_,m.children[0]):m.appendChild(_),_._offset=_["offset"+n.op.d2],_a(_,0,n,v),_},_a=function(e,t,i,n){var o={display:"block"},s=i[n?"os2":"p2"],a=i[n?"p2":"os2"];e._isFlipped=n,o[i.a+"Percent"]=n?-100:0,o[i.a]=n?"1px":0,o["border"+s+Nn]=1,o["border"+a+Nn]=0,o[i.p]=t+"px",q.set(e,o)},ne=[],$u={},Bo,Dh=function(){return dt()-$t>34&&(Bo||(Bo=requestAnimationFrame(Wr)))},Pn=function(){(!bt||!bt.isPressed||bt.startX>he.clientWidth)&&(ie.cache++,bt?Bo||(Bo=requestAnimationFrame(Wr)):Wr(),$t||en("scrollStart"),$t=dt())},Wu=function(){Uh=se.innerWidth,Xh=se.innerHeight},Do=function(e){ie.cache++,(e===!0||!ft&&!Yh&&!me.fullscreenElement&&!me.webkitFullscreenElement&&(!Xu||Uh!==se.innerWidth||Math.abs(se.innerHeight-Xh)>se.innerHeight*.25))&&ya.restart(!0)},Ji={},xv=[],ep=function r(){return je(X,"scrollEnd",r)||$i(!0)},en=function(e){return Ji[e]&&Ji[e].map(function(t){return t()})||xv},Ft=[],tp=function(e){for(var t=0;t<Ft.length;t+=5)(!e||Ft[t+4]&&Ft[t+4].query===e)&&(Ft[t].style.cssText=Ft[t+1],Ft[t].getBBox&&Ft[t].setAttribute("transform",Ft[t+2]||""),Ft[t+3].uncache=1)},nc=function(e,t){var i;for(xt=0;xt<ne.length;xt++)i=ne[xt],i&&(!t||i._ctx===t)&&(e?i.kill(1):i.revert(!0,!0));wa=!0,t&&tp(t),t||en("revert")},rp=function(e,t){ie.cache++,(t||!St)&&ie.forEach(function(i){return ht(i)&&i.cacheID++&&(i.rec=0)}),Ht(e)&&(se.history.scrollRestoration=Qu=e)},St,Zi=0,Ih,Sv=function(){if(Ih!==Zi){var e=Ih=Zi;requestAnimationFrame(function(){return e===Zi&&$i(!0)})}},ip=function(){he.appendChild(Dn),Ju=!bt&&Dn.offsetHeight||se.innerHeight,he.removeChild(Dn)},Nh=function(e){return Wo(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},$i=function(e,t){if(Vt=me.documentElement,he=me.body,Zu=[se,me,Vt,he],$t&&!e&&!wa){Ke(X,"scrollEnd",ep);return}ip(),St=X.isRefreshing=!0,ie.forEach(function(n){return ht(n)&&++n.cacheID&&(n.rec=n())});var i=en("refreshInit");qh&&X.sort(),t||nc(),ie.forEach(function(n){ht(n)&&(n.smooth&&(n.target.style.scrollBehavior="auto"),n(0))}),ne.slice(0).forEach(function(n){return n.refresh()}),wa=!1,ne.forEach(function(n){if(n._subPinOffset&&n.pin){var o=n.vars.horizontal?"offsetWidth":"offsetHeight",s=n.pin[o];n.revert(!0,1),n.adjustPinSpacing(n.pin[o]-s),n.refresh()}}),Gu=1,Nh(!0),ne.forEach(function(n){var o=wr(n.scroller,n._dir),s=n.vars.end==="max"||n._endClamp&&n.end>o,a=n._startClamp&&n.start>=o;(s||a)&&n.setPositions(a?o-1:n.start,s?Math.max(a?o:n.start+1,o):n.end,!0)}),Nh(!1),Gu=0,i.forEach(function(n){return n&&n.render&&n.render(-1)}),ie.forEach(function(n){ht(n)&&(n.smooth&&requestAnimationFrame(function(){return n.target.style.scrollBehavior="smooth"}),n.rec&&n(n.rec))}),rp(Qu,1),ya.pause(),Zi++,St=2,Wr(2),ne.forEach(function(n){return ht(n.vars.onRefresh)&&n.vars.onRefresh(n)}),St=X.isRefreshing=!1,en("refresh")},ju=0,ga=1,Vo,Wr=function(e){if(e===2||!St&&!wa){X.isUpdating=!0,Vo&&Vo.update(0);var t=ne.length,i=dt(),n=i-Hu>=50,o=t&&ne[0].scroll();if(ga=ju>o?-1:1,St||(ju=o),n&&($t&&!Sa&&i-$t>200&&($t=0,en("scrollEnd")),Mo=Hu,Hu=i),ga<0){for(xt=t;xt-- >0;)ne[xt]&&ne[xt].update(0,n);ga=1}else for(xt=0;xt<t;xt++)ne[xt]&&ne[xt].update(0,n);X.isUpdating=!1}Bo=0},Ku=[Zh,Qh,tc,ec,Ut+Ho,Ut+No,Ut+Fo,Ut+zo,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],ma=Ku.concat([ji,Ki,"boxSizing","max"+Nn,"max"+rc,"position",Ut,Ve,Ve+Fo,Ve+No,Ve+Ho,Ve+zo]),Ev=function(e,t,i){In(i);var n=e._gsap;if(n.spacerIsNative)In(n.spacerState);else if(e._gsap.swappedIn){var o=t.parentNode;o&&(o.insertBefore(e,t),o.removeChild(t))}e._gsap.swappedIn=!1},Bu=function(e,t,i,n){if(!e._gsap.swappedIn){for(var o=Ku.length,s=t.style,a=e.style,l;o--;)l=Ku[o],s[l]=i[l];s.position=i.position==="absolute"?"absolute":"relative",i.display==="inline"&&(s.display="inline-block"),a[tc]=a[ec]="auto",s.flexBasis=i.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[ji]=ba(e,ct)+Xe,s[Ki]=ba(e,He)+Xe,s[Ve]=a[Ut]=a[Qh]=a[Zh]="0",In(n),a[ji]=a["max"+Nn]=i[ji],a[Ki]=a["max"+rc]=i[Ki],a[Ve]=i[Ve],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},Tv=/([A-Z])/g,In=function(e){if(e){var t=e.t.style,i=e.length,n=0,o,s;for((e.t._gsap||q.core.getCache(e.t)).uncache=1;n<i;n+=2)s=e[n+1],o=e[n],s?t[o]=s:t[o]&&t.removeProperty(o.replace(Tv,"-$1").toLowerCase())}},fa=function(e){for(var t=ma.length,i=e.style,n=[],o=0;o<t;o++)n.push(ma[o],i[ma[o]]);return n.t=e,n},Av=function(e,t,i){for(var n=[],o=e.length,s=i?8:0,a;s<o;s+=2)a=e[s],n.push(a,a in t?t[a]:e[s+1]);return n.t=e.t,n},va={left:0,top:0},zh=function(e,t,i,n,o,s,a,l,u,c,d,h,f,_){ht(e)&&(e=e(l)),Ht(e)&&e.substr(0,3)==="max"&&(e=h+(e.charAt(4)==="="?pa("0"+e.substr(3),i):0));var p=f?f.time():0,g,m,v;if(f&&f.seek(0),isNaN(e)||(e=+e),Ro(e))f&&(e=q.utils.mapRange(f.scrollTrigger.start,f.scrollTrigger.end,0,h,e)),a&&_a(a,i,n,!0);else{ht(t)&&(t=t(l));var w=(e||"0").split(" "),x,b,E,S;v=wt(t,l)||he,x=Vr(v)||{},(!x||!x.left&&!x.top)&&Gt(v).display==="none"&&(S=v.style.display,v.style.display="block",x=Vr(v),S?v.style.display=S:v.style.removeProperty("display")),b=pa(w[0],x[n.d]),E=pa(w[1]||"0",i),e=x[n.p]-u[n.p]-c+b+o-E,a&&_a(a,E,n,i-E<20||a._isStart&&E>20),i-=i-E}if(_&&(l[_]=e||-.001,e<0&&(e=0)),s){var T=e+i,C=s._isStart;g="scroll"+n.d2,_a(s,T,n,C&&T>20||!C&&(d?Math.max(he[g],Vt[g]):s.parentNode[g])<=T+1),d&&(u=Vr(a),d&&(s.style[n.op.p]=u[n.op.p]-n.op.m-s._offset+Xe))}return f&&v&&(g=Vr(v),f.seek(h),m=Vr(v),f._caScrollDist=g[n.p]-m[n.p],e=e/f._caScrollDist*h),f&&f.seek(p),f?e:Math.round(e)},Cv=/(webkit|moz|length|cssText|inset)/i,Fh=function(e,t,i,n){if(e.parentNode!==t){var o=e.style,s,a;if(t===he){e._stOrig=o.cssText,a=Gt(e);for(s in a)!+s&&!Cv.test(s)&&a[s]&&typeof o[s]=="string"&&s!=="0"&&(o[s]=a[s]);o.top=i,o.left=n}else o.cssText=e._stOrig;q.core.getCache(e).uncache=1,t.appendChild(e)}},np=function(e,t,i){var n=t,o=n;return function(s){var a=Math.round(e());return a!==n&&a!==o&&Math.abs(a-n)>3&&Math.abs(a-o)>3&&(s=a,i&&i()),o=n,n=Math.round(s),n}},da=function(e,t,i){var n={};n[t.p]="+="+i,q.set(e,n)},Hh=function(e,t){var i=Fr(e,t),n="_scroll"+t.p2,o=function s(a,l,u,c,d){var h=s.tween,f=l.onComplete,_={};u=u||i();var p=np(i,u,function(){h.kill(),s.tween=0});return d=c&&d||0,c=c||a-u,h&&h.kill(),l[n]=a,l.inherit=!1,l.modifiers=_,_[n]=function(){return p(u+c*h.ratio+d*h.ratio*h.ratio)},l.onUpdate=function(){ie.cache++,s.tween&&Wr()},l.onComplete=function(){s.tween=0,f&&f.call(h)},h=s.tween=q.to(e,l),h};return e[n]=i,i.wheelHandler=function(){return o.tween&&o.tween.kill()&&(o.tween=0)},Ke(e,"wheel",i.wheelHandler),X.isTouch&&Ke(e,"touchmove",i.wheelHandler),o},X=function(){function r(t,i){Ln||r.register(q)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Uu(this),this.init(t,i)}var e=r.prototype;return e.init=function(i,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Po){this.update=this.refresh=this.kill=yr;return}i=Lh(Ht(i)||Ro(i)||i.nodeType?{trigger:i}:i,ua);var o=i,s=o.onUpdate,a=o.toggleClass,l=o.id,u=o.onToggle,c=o.onRefresh,d=o.scrub,h=o.trigger,f=o.pin,_=o.pinSpacing,p=o.invalidateOnRefresh,g=o.anticipatePin,m=o.onScrubComplete,v=o.onSnapComplete,w=o.once,x=o.snap,b=o.pinReparent,E=o.pinSpacer,S=o.containerAnimation,T=o.fastScrollEnd,C=o.preventOverlaps,O=i.horizontal||i.containerAnimation&&i.horizontal!==!1?ct:He,M=!d&&d!==0,A=wt(i.scroller||se),P=q.core.getCache(A),N=Qi(A),D=("pinType"in i?i.pinType:Hr(A,"pinType")||N&&"fixed")==="fixed",W=[i.onEnter,i.onLeave,i.onEnterBack,i.onLeaveBack],V=M&&i.toggleActions.split(" "),F="markers"in i?i.markers:ua.markers,R=N?0:parseFloat(Gt(A)["border"+O.p2+Nn])||0,y=this,L=i.onRefreshInit&&function(){return i.onRefreshInit(y)},Y=mv(A,N,O),K=vv(A,N),j=0,fe=0,H=0,G=Fr(A,O),ce,re,oe,Ze,Qe,z,Z,Ce,We,k,Lt,Tr,jr,Oe,Ar,Kr,Ei,Ge,Zr,Re,Jt,Wt,Cr,Kn,Ne,hs,Or,un,cn,Qr,Ti,ae,Ai,er,tr,rr,Ci,fn,kr;if(y._startClamp=y._endClamp=!1,y._dir=O,g*=45,y.scroller=A,y.scroll=S?S.time.bind(S):G,Ze=G(),y.vars=i,n=n||i.animation,"refreshPriority"in i&&(qh=1,i.refreshPriority===-9999&&(Vo=y)),P.tweenScroll=P.tweenScroll||{top:Hh(A,He),left:Hh(A,ct)},y.tweenTo=ce=P.tweenScroll[O.p],y.scrubDuration=function(B){Ai=Ro(B)&&B,Ai?ae?ae.duration(B):ae=q.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Ai,paused:!0,onComplete:function(){return m&&m(y)}}):(ae&&ae.progress(1).kill(),ae=0)},n&&(n.vars.lazy=!1,n._initted&&!y.isReverted||n.vars.immediateRender!==!1&&i.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),y.animation=n.pause(),n.scrollTrigger=y,y.scrubDuration(d),Qr=0,l||(l=n.vars.id)),x&&((!Gi(x)||x.push)&&(x={snapTo:x}),"scrollBehavior"in he.style&&q.set(N?[he,Vt]:A,{scrollBehavior:"auto"}),ie.forEach(function(B){return ht(B)&&B.target===(N?me.scrollingElement||Vt:A)&&(B.smooth=!1)}),oe=ht(x.snapTo)?x.snapTo:x.snapTo==="labels"?wv(n):x.snapTo==="labelsDirectional"?bv(n):x.directional!==!1?function(B,Q){return ic(x.snapTo)(B,dt()-fe<500?0:Q.direction)}:q.utils.snap(x.snapTo),er=x.duration||{min:.1,max:2},er=Gi(er)?Io(er.min,er.max):Io(er,er),tr=q.delayedCall(x.delay||Ai/2||.1,function(){var B=G(),Q=dt()-fe<500,U=ce.tween;if((Q||Math.abs(y.getVelocity())<10)&&!U&&!Sa&&j!==B){var J=(B-z)/Oe,$e=n&&!M?n.totalProgress():J,le=Q?0:($e-Ti)/(dt()-Mo)*1e3||0,De=q.utils.clamp(-J,1-J,Mn(le/2)*le/.185),ot=J+(x.inertia===!1?0:De),ke,we,pe=x,ir=pe.onStart,Se=pe.onInterrupt,Rt=pe.onComplete;if(ke=oe(ot,y),Ro(ke)||(ke=ot),we=Math.max(0,Math.round(z+ke*Oe)),B<=Z&&B>=z&&we!==B){if(U&&!U._initted&&U.data<=Mn(we-B))return;x.inertia===!1&&(De=ke-J),ce(we,{duration:er(Mn(Math.max(Mn(ot-$e),Mn(ke-$e))*.185/le/.05||0)),ease:x.ease||"power3",data:Mn(we-B),onInterrupt:function(){return tr.restart(!0)&&Se&&Se(y)},onComplete:function(){y.update(),j=G(),n&&!M&&(ae?ae.resetTo("totalProgress",ke,n._tTime/n._tDur):n.progress(ke)),Qr=Ti=n&&!M?n.totalProgress():y.progress,v&&v(y),Rt&&Rt(y)}},B,De*Oe,we-B-De*Oe),ir&&ir(y,ce.tween)}}else y.isActive&&j!==B&&tr.restart(!0)}).pause()),l&&($u[l]=y),h=y.trigger=wt(h||f!==!0&&f),kr=h&&h._gsap&&h._gsap.stRevert,kr&&(kr=kr(y)),f=f===!0?h:wt(f),Ht(a)&&(a={targets:h,className:a}),f&&(_===!1||_===Ut||(_=!_&&f.parentNode&&f.parentNode.style&&Gt(f.parentNode).display==="flex"?!1:Ve),y.pin=f,re=q.core.getCache(f),re.spacer?Ar=re.pinState:(E&&(E=wt(E),E&&!E.nodeType&&(E=E.current||E.nativeElement),re.spacerIsNative=!!E,E&&(re.spacerState=fa(E))),re.spacer=Ge=E||me.createElement("div"),Ge.classList.add("pin-spacer"),l&&Ge.classList.add("pin-spacer-"+l),re.pinState=Ar=fa(f)),i.force3D!==!1&&q.set(f,{force3D:!0}),y.spacer=Ge=re.spacer,cn=Gt(f),Kn=cn[_+O.os2],Re=q.getProperty(f),Jt=q.quickSetter(f,O.a,Xe),Bu(f,Ge,cn),Ei=fa(f)),F){Tr=Gi(F)?Lh(F,Rh):Rh,k=ca("scroller-start",l,A,O,Tr,0),Lt=ca("scroller-end",l,A,O,Tr,0,k),Zr=k["offset"+O.op.d2];var Zn=wt(Hr(A,"content")||A);Ce=this.markerStart=ca("start",l,Zn,O,Tr,Zr,0,S),We=this.markerEnd=ca("end",l,Zn,O,Tr,Zr,0,S),S&&(fn=q.quickSetter([Ce,We],O.a,Xe)),!D&&!(ar.length&&Hr(A,"fixedMarkers")===!0)&&(yv(N?he:A),q.set([k,Lt],{force3D:!0}),hs=q.quickSetter(k,O.a,Xe),un=q.quickSetter(Lt,O.a,Xe))}if(S){var ee=S.vars.onUpdate,$=S.vars.onUpdateParams;S.eventCallback("onUpdate",function(){y.update(0,0,1),ee&&ee.apply(S,$||[])})}if(y.previous=function(){return ne[ne.indexOf(y)-1]},y.next=function(){return ne[ne.indexOf(y)+1]},y.revert=function(B,Q){if(!Q)return y.kill(!0);var U=B!==!1||!y.enabled,J=ft;U!==y.isReverted&&(U&&(rr=Math.max(G(),y.scroll.rec||0),H=y.progress,Ci=n&&n.progress()),Ce&&[Ce,We,k,Lt].forEach(function($e){return $e.style.display=U?"none":"block"}),U&&(ft=y,y.update(U)),f&&(!b||!y.isActive)&&(U?Ev(f,Ge,Ar):Bu(f,Ge,Gt(f),Ne)),U||y.update(U),ft=J,y.isReverted=U)},y.refresh=function(B,Q,U,J){if(!((ft||!y.enabled)&&!Q)){if(f&&B&&$t){Ke(r,"scrollEnd",ep);return}!St&&L&&L(y),ft=y,ce.tween&&!U&&(ce.tween.kill(),ce.tween=0),ae&&ae.pause(),p&&n&&(n.revert({kill:!1}).invalidate(),n.getChildren&&n.getChildren(!0,!0,!1).forEach(function(Jr){return Jr.vars.immediateRender&&Jr.render(0,!0,!0)})),y.isReverted||y.revert(!0,!0),y._subPinOffset=!1;var $e=Y(),le=K(),De=S?S.duration():wr(A,O),ot=Oe<=.01||!Oe,ke=0,we=J||0,pe=Gi(U)?U.end:i.end,ir=i.endTrigger||h,Se=Gi(U)?U.start:i.start||(i.start===0||!h?0:f?"0 0":"0 100%"),Rt=y.pinnedContainer=i.pinnedContainer&&wt(i.pinnedContainer,y),fr=h&&Math.max(0,ne.indexOf(y))||0,Je=fr,et,st,Oi,ps,at,Be,dr,Ga,Ic,Qn,hr,Jn,_s;for(F&&Gi(U)&&(Jn=q.getProperty(k,O.p),_s=q.getProperty(Lt,O.p));Je-- >0;)Be=ne[Je],Be.end||Be.refresh(0,1)||(ft=y),dr=Be.pin,dr&&(dr===h||dr===f||dr===Rt)&&!Be.isReverted&&(Qn||(Qn=[]),Qn.unshift(Be),Be.revert(!0,!0)),Be!==ne[Je]&&(fr--,Je--);for(ht(Se)&&(Se=Se(y)),Se=Oh(Se,"start",y),z=zh(Se,h,$e,O,G(),Ce,k,y,le,R,D,De,S,y._startClamp&&"_startClamp")||(f?-.001:0),ht(pe)&&(pe=pe(y)),Ht(pe)&&!pe.indexOf("+=")&&(~pe.indexOf(" ")?pe=(Ht(Se)?Se.split(" ")[0]:"")+pe:(ke=pa(pe.substr(2),$e),pe=Ht(Se)?Se:(S?q.utils.mapRange(0,S.duration(),S.scrollTrigger.start,S.scrollTrigger.end,z):z)+ke,ir=h)),pe=Oh(pe,"end",y),Z=Math.max(z,zh(pe||(ir?"100% 0":De),ir,$e,O,G()+ke,We,Lt,y,le,R,D,De,S,y._endClamp&&"_endClamp"))||-.001,ke=0,Je=fr;Je--;)Be=ne[Je],dr=Be.pin,dr&&Be.start-Be._pinPush<=z&&!S&&Be.end>0&&(et=Be.end-(y._startClamp?Math.max(0,Be.start):Be.start),(dr===h&&Be.start-Be._pinPush<z||dr===Rt)&&isNaN(Se)&&(ke+=et*(1-Be.progress)),dr===f&&(we+=et));if(z+=ke,Z+=ke,y._startClamp&&(y._startClamp+=ke),y._endClamp&&!St&&(y._endClamp=Z||-.001,Z=Math.min(Z,wr(A,O))),Oe=Z-z||(z-=.01)&&.001,ot&&(H=q.utils.clamp(0,1,q.utils.normalize(z,Z,rr))),y._pinPush=we,Ce&&ke&&(et={},et[O.a]="+="+ke,Rt&&(et[O.p]="-="+G()),q.set([Ce,We],et)),f&&!(Gu&&y.end>=wr(A,O)))et=Gt(f),ps=O===He,Oi=G(),Wt=parseFloat(Re(O.a))+we,!De&&Z>1&&(hr=(N?me.scrollingElement||Vt:A).style,hr={style:hr,value:hr["overflow"+O.a.toUpperCase()]},N&&Gt(he)["overflow"+O.a.toUpperCase()]!=="scroll"&&(hr.style["overflow"+O.a.toUpperCase()]="scroll")),Bu(f,Ge,et),Ei=fa(f),st=Vr(f,!0),Ga=D&&Fr(A,ps?ct:He)(),_?(Ne=[_+O.os2,Oe+we+Xe],Ne.t=Ge,Je=_===Ve?ba(f,O)+Oe+we:0,Je&&(Ne.push(O.d,Je+Xe),Ge.style.flexBasis!=="auto"&&(Ge.style.flexBasis=Je+Xe)),In(Ne),Rt&&ne.forEach(function(Jr){Jr.pin===Rt&&Jr.vars.pinSpacing!==!1&&(Jr._subPinOffset=!0)}),D&&G(rr)):(Je=ba(f,O),Je&&Ge.style.flexBasis!=="auto"&&(Ge.style.flexBasis=Je+Xe)),D&&(at={top:st.top+(ps?Oi-z:Ga)+Xe,left:st.left+(ps?Ga:Oi-z)+Xe,boxSizing:"border-box",position:"fixed"},at[ji]=at["max"+Nn]=Math.ceil(st.width)+Xe,at[Ki]=at["max"+rc]=Math.ceil(st.height)+Xe,at[Ut]=at[Ut+Fo]=at[Ut+No]=at[Ut+Ho]=at[Ut+zo]="0",at[Ve]=et[Ve],at[Ve+Fo]=et[Ve+Fo],at[Ve+No]=et[Ve+No],at[Ve+Ho]=et[Ve+Ho],at[Ve+zo]=et[Ve+zo],Kr=Av(Ar,at,b),St&&G(0)),n?(Ic=n._initted,zu(1),n.render(n.duration(),!0,!0),Cr=Re(O.a)-Wt+Oe+we,Or=Math.abs(Oe-Cr)>1,D&&Or&&Kr.splice(Kr.length-2,2),n.render(0,!0,!0),Ic||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),zu(0)):Cr=Oe,hr&&(hr.value?hr.style["overflow"+O.a.toUpperCase()]=hr.value:hr.style.removeProperty("overflow-"+O.a));else if(h&&G()&&!S)for(st=h.parentNode;st&&st!==he;)st._pinOffset&&(z-=st._pinOffset,Z-=st._pinOffset),st=st.parentNode;Qn&&Qn.forEach(function(Jr){return Jr.revert(!1,!0)}),y.start=z,y.end=Z,Ze=Qe=St?rr:G(),!S&&!St&&(Ze<rr&&G(rr),y.scroll.rec=0),y.revert(!1,!0),fe=dt(),tr&&(j=-1,tr.restart(!0)),ft=0,n&&M&&(n._initted||Ci)&&n.progress()!==Ci&&n.progress(Ci||0,!0).render(n.time(),!0,!0),(ot||H!==y.progress||S||p||n&&!n._initted)&&(n&&!M&&(n._initted||H||n.vars.immediateRender!==!1)&&n.totalProgress(S&&z<-.001&&!H?q.utils.normalize(z,Z,0):H,!0),y.progress=ot||(Ze-z)/Oe===H?0:H),f&&_&&(Ge._pinOffset=Math.round(y.progress*Cr)),ae&&ae.invalidate(),isNaN(Jn)||(Jn-=q.getProperty(k,O.p),_s-=q.getProperty(Lt,O.p),da(k,O,Jn),da(Ce,O,Jn-(J||0)),da(Lt,O,_s),da(We,O,_s-(J||0))),ot&&!St&&y.update(),c&&!St&&!jr&&(jr=!0,c(y),jr=!1)}},y.getVelocity=function(){return(G()-Qe)/(dt()-Mo)*1e3||0},y.endAnimation=function(){ko(y.callbackAnimation),n&&(ae?ae.progress(1):n.paused()?M||ko(n,y.direction<0,1):ko(n,n.reversed()))},y.labelToScroll=function(B){return n&&n.labels&&(z||y.refresh()||z)+n.labels[B]/n.duration()*Oe||0},y.getTrailing=function(B){var Q=ne.indexOf(y),U=y.direction>0?ne.slice(0,Q).reverse():ne.slice(Q+1);return(Ht(B)?U.filter(function(J){return J.vars.preventOverlaps===B}):U).filter(function(J){return y.direction>0?J.end<=z:J.start>=Z})},y.update=function(B,Q,U){if(!(S&&!U&&!B)){var J=St===!0?rr:y.scroll(),$e=B?0:(J-z)/Oe,le=$e<0?0:$e>1?1:$e||0,De=y.progress,ot,ke,we,pe,ir,Se,Rt,fr;if(Q&&(Qe=Ze,Ze=S?G():J,x&&(Ti=Qr,Qr=n&&!M?n.totalProgress():le)),g&&f&&!ft&&!oa&&$t&&(!le&&z<J+(J-Qe)/(dt()-Mo)*g?le=1e-4:le===1&&Z>J+(J-Qe)/(dt()-Mo)*g&&(le=.9999)),le!==De&&y.enabled){if(ot=y.isActive=!!le&&le<1,ke=!!De&&De<1,Se=ot!==ke,ir=Se||!!le!=!!De,y.direction=le>De?1:-1,y.progress=le,ir&&!ft&&(we=le&&!De?0:le===1?1:De===1?2:3,M&&(pe=!Se&&V[we+1]!=="none"&&V[we+1]||V[we],fr=n&&(pe==="complete"||pe==="reset"||pe in n))),C&&(Se||fr)&&(fr||d||!n)&&(ht(C)?C(y):y.getTrailing(C).forEach(function(Oi){return Oi.endAnimation()})),M||(ae&&!ft&&!oa?(ae._dp._time-ae._start!==ae._time&&ae.render(ae._dp._time-ae._start),ae.resetTo?ae.resetTo("totalProgress",le,n._tTime/n._tDur):(ae.vars.totalProgress=le,ae.invalidate().restart())):n&&n.totalProgress(le,!!(ft&&(fe||B)))),f){if(B&&_&&(Ge.style[_+O.os2]=Kn),!D)Jt(Lo(Wt+Cr*le));else if(ir){if(Rt=!B&&le>De&&Z+1>J&&J+1>=wr(A,O),b)if(!B&&(ot||Rt)){var Je=Vr(f,!0),et=J-z;Fh(f,he,Je.top+(O===He?et:0)+Xe,Je.left+(O===He?0:et)+Xe)}else Fh(f,Ge);In(ot||Rt?Kr:Ei),Or&&le<1&&ot||Jt(Wt+(le===1&&!Rt?Cr:0))}}x&&!ce.tween&&!ft&&!oa&&tr.restart(!0),a&&(Se||w&&le&&(le<1||!Fu))&&Wo(a.targets).forEach(function(Oi){return Oi.classList[ot||w?"add":"remove"](a.className)}),s&&!M&&!B&&s(y),ir&&!ft?(M&&(fr&&(pe==="complete"?n.pause().totalProgress(1):pe==="reset"?n.restart(!0).pause():pe==="restart"?n.restart(!0):n[pe]()),s&&s(y)),(Se||!Fu)&&(u&&Se&&Vu(y,u),W[we]&&Vu(y,W[we]),w&&(le===1?y.kill(!1,1):W[we]=0),Se||(we=le===1?1:3,W[we]&&Vu(y,W[we]))),T&&!ot&&Math.abs(y.getVelocity())>(Ro(T)?T:2500)&&(ko(y.callbackAnimation),ae?ae.progress(1):ko(n,pe==="reverse"?1:!le,1))):M&&s&&!ft&&s(y)}if(un){var st=S?J/S.duration()*(S._caScrollDist||0):J;hs(st+(k._isFlipped?1:0)),un(st)}fn&&fn(-J/S.duration()*(S._caScrollDist||0))}},y.enable=function(B,Q){y.enabled||(y.enabled=!0,Ke(A,"resize",Do),N||Ke(A,"scroll",Pn),L&&Ke(r,"refreshInit",L),B!==!1&&(y.progress=H=0,Ze=Qe=j=G()),Q!==!1&&y.refresh())},y.getTween=function(B){return B&&ce?ce.tween:ae},y.setPositions=function(B,Q,U,J){if(S){var $e=S.scrollTrigger,le=S.duration(),De=$e.end-$e.start;B=$e.start+De*B/le,Q=$e.start+De*Q/le}y.refresh(!1,!1,{start:kh(B,U&&!!y._startClamp),end:kh(Q,U&&!!y._endClamp)},J),y.update()},y.adjustPinSpacing=function(B){if(Ne&&B){var Q=Ne.indexOf(O.d)+1;Ne[Q]=parseFloat(Ne[Q])+B+Xe,Ne[1]=parseFloat(Ne[1])+B+Xe,In(Ne)}},y.disable=function(B,Q){if(y.enabled&&(B!==!1&&y.revert(!0,!0),y.enabled=y.isActive=!1,Q||ae&&ae.pause(),rr=0,re&&(re.uncache=1),L&&je(r,"refreshInit",L),tr&&(tr.pause(),ce.tween&&ce.tween.kill()&&(ce.tween=0)),!N)){for(var U=ne.length;U--;)if(ne[U].scroller===A&&ne[U]!==y)return;je(A,"resize",Do),N||je(A,"scroll",Pn)}},y.kill=function(B,Q){y.disable(B,Q),ae&&!Q&&ae.kill(),l&&delete $u[l];var U=ne.indexOf(y);U>=0&&ne.splice(U,1),U===xt&&ga>0&&xt--,U=0,ne.forEach(function(J){return J.scroller===y.scroller&&(U=1)}),U||St||(y.scroll.rec=0),n&&(n.scrollTrigger=null,B&&n.revert({kill:!1}),Q||n.kill()),Ce&&[Ce,We,k,Lt].forEach(function(J){return J.parentNode&&J.parentNode.removeChild(J)}),Vo===y&&(Vo=0),f&&(re&&(re.uncache=1),U=0,ne.forEach(function(J){return J.pin===f&&U++}),U||(re.spacer=0)),i.onKill&&i.onKill(y)},ne.push(y),y.enable(!1,!1),kr&&kr(y),n&&n.add&&!Oe){var de=y.update;y.update=function(){y.update=de,ie.cache++,z||Z||y.refresh()},q.delayedCall(.01,y.update),Oe=.01,z=Z=0}else y.refresh();f&&Sv()},r.register=function(i){return Ln||(q=i||$h(),Gh()&&window.document&&r.enable(),Ln=Po),Ln},r.defaults=function(i){if(i)for(var n in i)ua[n]=i[n];return ua},r.disable=function(i,n){Po=0,ne.forEach(function(s){return s[n?"kill":"disable"](i)}),je(se,"wheel",Pn),je(me,"scroll",Pn),clearInterval(na),je(me,"touchcancel",yr),je(he,"touchstart",yr),aa(je,me,"pointerdown,touchstart,mousedown",Mh),aa(je,me,"pointerup,touchend,mouseup",Ph),ya.kill(),sa(je);for(var o=0;o<ie.length;o+=3)la(je,ie[o],ie[o+1]),la(je,ie[o],ie[o+2])},r.enable=function(){if(se=window,me=document,Vt=me.documentElement,he=me.body,q&&(Wo=q.utils.toArray,Io=q.utils.clamp,Uu=q.core.context||yr,zu=q.core.suppressOverwrites||yr,Qu=se.history.scrollRestoration||"auto",ju=se.pageYOffset||0,q.core.globals("ScrollTrigger",r),he)){Po=1,Dn=document.createElement("div"),Dn.style.height="100vh",Dn.style.position="absolute",ip(),gv(),Le.register(q),r.isTouch=Le.isTouch,pi=Le.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Xu=Le.isTouch===1,Ke(se,"wheel",Pn),Zu=[se,me,Vt,he],q.matchMedia?(r.matchMedia=function(u){var c=q.matchMedia(),d;for(d in u)c.add(d,u[d]);return c},q.addEventListener("matchMediaInit",function(){return nc()}),q.addEventListener("matchMediaRevert",function(){return tp()}),q.addEventListener("matchMedia",function(){$i(0,1),en("matchMedia")}),q.matchMedia().add("(orientation: portrait)",function(){return Wu(),Wu})):console.warn("Requires GSAP 3.11.0 or later"),Wu(),Ke(me,"scroll",Pn);var i=he.hasAttribute("style"),n=he.style,o=n.borderTopStyle,s=q.core.Animation.prototype,a,l;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),n.borderTopStyle="solid",a=Vr(he),He.m=Math.round(a.top+He.sc())||0,ct.m=Math.round(a.left+ct.sc())||0,o?n.borderTopStyle=o:n.removeProperty("border-top-style"),i||(he.setAttribute("style",""),he.removeAttribute("style")),na=setInterval(Dh,250),q.delayedCall(.5,function(){return oa=0}),Ke(me,"touchcancel",yr),Ke(he,"touchstart",yr),aa(Ke,me,"pointerdown,touchstart,mousedown",Mh),aa(Ke,me,"pointerup,touchend,mouseup",Ph),Yu=q.utils.checkPrefix("transform"),ma.push(Yu),Ln=dt(),ya=q.delayedCall(.2,$i).pause(),Rn=[me,"visibilitychange",function(){var u=se.innerWidth,c=se.innerHeight;me.hidden?(Ah=u,Ch=c):(Ah!==u||Ch!==c)&&Do()},me,"DOMContentLoaded",$i,se,"load",$i,se,"resize",Do],sa(Ke),ne.forEach(function(u){return u.enable(0,1)}),l=0;l<ie.length;l+=3)la(je,ie[l],ie[l+1]),la(je,ie[l],ie[l+2])}},r.config=function(i){"limitCallbacks"in i&&(Fu=!!i.limitCallbacks);var n=i.syncInterval;n&&clearInterval(na)||(na=n)&&setInterval(Dh,n),"ignoreMobileResize"in i&&(Xu=r.isTouch===1&&i.ignoreMobileResize),"autoRefreshEvents"in i&&(sa(je)||sa(Ke,i.autoRefreshEvents||"none"),Yh=(i.autoRefreshEvents+"").indexOf("resize")===-1)},r.scrollerProxy=function(i,n){var o=wt(i),s=ie.indexOf(o),a=Qi(o);~s&&ie.splice(s,a?6:2),n&&(a?ar.unshift(se,n,he,n,Vt,n):ar.unshift(o,n))},r.clearMatchMedia=function(i){ne.forEach(function(n){return n._ctx&&n._ctx.query===i&&n._ctx.kill(!0,!0)})},r.isInViewport=function(i,n,o){var s=(Ht(i)?wt(i):i).getBoundingClientRect(),a=s[o?ji:Ki]*n||0;return o?s.right-a>0&&s.left+a<se.innerWidth:s.bottom-a>0&&s.top+a<se.innerHeight},r.positionInViewport=function(i,n,o){Ht(i)&&(i=wt(i));var s=i.getBoundingClientRect(),a=s[o?ji:Ki],l=n==null?a/2:n in xa?xa[n]*a:~n.indexOf("%")?parseFloat(n)*a/100:parseFloat(n)||0;return o?(s.left+l)/se.innerWidth:(s.top+l)/se.innerHeight},r.killAll=function(i){if(ne.slice(0).forEach(function(o){return o.vars.id!=="ScrollSmoother"&&o.kill()}),i!==!0){var n=Ji.killAll||[];Ji={},n.forEach(function(o){return o()})}},r}();X.version="3.13.0";X.saveStyles=function(r){return r?Wo(r).forEach(function(e){if(e&&e.style){var t=Ft.indexOf(e);t>=0&&Ft.splice(t,5),Ft.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),q.core.getCache(e),Uu())}}):Ft};X.revert=function(r,e){return nc(!r,e)};X.create=function(r,e){return new X(r,e)};X.refresh=function(r){return r?Do(!0):(Ln||X.register())&&$i(!0)};X.update=function(r){return++ie.cache&&Wr(r===!0?2:0)};X.clearScrollMemory=rp;X.maxScroll=function(r,e){return wr(r,e?ct:He)};X.getScrollFunc=function(r,e){return Fr(wt(r),e?ct:He)};X.getById=function(r){return $u[r]};X.getAll=function(){return ne.filter(function(r){return r.vars.id!=="ScrollSmoother"})};X.isScrolling=function(){return!!$t};X.snapDirectional=ic;X.addEventListener=function(r,e){var t=Ji[r]||(Ji[r]=[]);~t.indexOf(e)||t.push(e)};X.removeEventListener=function(r,e){var t=Ji[r],i=t&&t.indexOf(e);i>=0&&t.splice(i,1)};X.batch=function(r,e){var t=[],i={},n=e.interval||.016,o=e.batchMax||1e9,s=function(u,c){var d=[],h=[],f=q.delayedCall(n,function(){c(d,h),d=[],h=[]}).pause();return function(_){d.length||f.restart(!0),d.push(_.trigger),h.push(_),o<=d.length&&f.progress(1)}},a;for(a in e)i[a]=a.substr(0,2)==="on"&&ht(e[a])&&a!=="onRefreshInit"?s(a,e[a]):e[a];return ht(o)&&(o=o(),Ke(X,"refresh",function(){return o=e.batchMax()})),Wo(r).forEach(function(l){var u={};for(a in i)u[a]=i[a];u.trigger=l,t.push(X.create(u))}),t};var Vh=function(e,t,i,n){return t>n?e(n):t<0&&e(0),i>n?(n-t)/(i-t):i<0?t/(t-i):1},qu=function r(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(Le.isTouch?" pinch-zoom":""):"none",e===Vt&&r(he,t)},ha={auto:1,scroll:1},Ov=function(e){var t=e.event,i=e.target,n=e.axis,o=(t.changedTouches?t.changedTouches[0]:t).target,s=o._gsap||q.core.getCache(o),a=dt(),l;if(!s._isScrollT||a-s._isScrollT>2e3){for(;o&&o!==he&&(o.scrollHeight<=o.clientHeight&&o.scrollWidth<=o.clientWidth||!(ha[(l=Gt(o)).overflowY]||ha[l.overflowX]));)o=o.parentNode;s._isScroll=o&&o!==i&&!Qi(o)&&(ha[(l=Gt(o)).overflowY]||ha[l.overflowX]),s._isScrollT=a}(s._isScroll||n==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},op=function(e,t,i,n){return Le.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&Ov,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return i&&Ke(me,Le.eventTypes[0],Bh,!1,!0)},onDisable:function(){return je(me,Le.eventTypes[0],Bh,!0)}})},kv=/(input|label|select|textarea)/i,Wh,Bh=function(e){var t=kv.test(e.target.tagName);(t||Wh)&&(e._gsapAllow=!0,Wh=t)},Mv=function(e){Gi(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,i=t.normalizeScrollX,n=t.momentum,o=t.allowNestedScroll,s=t.onRelease,a,l,u=wt(e.target)||Vt,c=q.core.globals().ScrollSmoother,d=c&&c.get(),h=pi&&(e.content&&wt(e.content)||d&&e.content!==!1&&!d.smooth()&&d.content()),f=Fr(u,He),_=Fr(u,ct),p=1,g=(Le.isTouch&&se.visualViewport?se.visualViewport.scale*se.visualViewport.width:se.outerWidth)/se.innerWidth,m=0,v=ht(n)?function(){return n(a)}:function(){return n||2.8},w,x,b=op(u,e.type,!0,o),E=function(){return x=!1},S=yr,T=yr,C=function(){l=wr(u,He),T=Io(pi?1:0,l),i&&(S=Io(0,wr(u,ct))),w=Zi},O=function(){h._gsap.y=Lo(parseFloat(h._gsap.y)+f.offset)+"px",h.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(h._gsap.y)+", 0, 1)",f.offset=f.cacheID=0},M=function(){if(x){requestAnimationFrame(E);var F=Lo(a.deltaY/2),R=T(f.v-F);if(h&&R!==f.v+f.offset){f.offset=R-f.v;var y=Lo((parseFloat(h&&h._gsap.y)||0)-f.offset);h.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+y+", 0, 1)",h._gsap.y=y+"px",f.cacheID=ie.cache,Wr()}return!0}f.offset&&O(),x=!0},A,P,N,D,W=function(){C(),A.isActive()&&A.vars.scrollY>l&&(f()>l?A.progress(1)&&f(l):A.resetTo("scrollY",l))};return h&&q.set(h,{y:"+=0"}),e.ignoreCheck=function(V){return pi&&V.type==="touchmove"&&M(V)||p>1.05&&V.type!=="touchstart"||a.isGesturing||V.touches&&V.touches.length>1},e.onPress=function(){x=!1;var V=p;p=Lo((se.visualViewport&&se.visualViewport.scale||1)/g),A.pause(),V!==p&&qu(u,p>1.01?!0:i?!1:"x"),P=_(),N=f(),C(),w=Zi},e.onRelease=e.onGestureStart=function(V,F){if(f.offset&&O(),!F)D.restart(!0);else{ie.cache++;var R=v(),y,L;i&&(y=_(),L=y+R*.05*-V.velocityX/.227,R*=Vh(_,y,L,wr(u,ct)),A.vars.scrollX=S(L)),y=f(),L=y+R*.05*-V.velocityY/.227,R*=Vh(f,y,L,wr(u,He)),A.vars.scrollY=T(L),A.invalidate().duration(R).play(.01),(pi&&A.vars.scrollY>=l||y>=l-1)&&q.to({},{onUpdate:W,duration:R})}s&&s(V)},e.onWheel=function(){A._ts&&A.pause(),dt()-m>1e3&&(w=0,m=dt())},e.onChange=function(V,F,R,y,L){if(Zi!==w&&C(),F&&i&&_(S(y[2]===F?P+(V.startX-V.x):_()+F-y[1])),R){f.offset&&O();var Y=L[2]===R,K=Y?N+V.startY-V.y:f()+R-L[1],j=T(K);Y&&K!==j&&(N+=j-K),f(j)}(R||F)&&Wr()},e.onEnable=function(){qu(u,i?!1:"x"),X.addEventListener("refresh",W),Ke(se,"resize",W),f.smooth&&(f.target.style.scrollBehavior="auto",f.smooth=_.smooth=!1),b.enable()},e.onDisable=function(){qu(u,!0),je(se,"resize",W),X.removeEventListener("refresh",W),b.kill()},e.lockAxis=e.lockAxis!==!1,a=new Le(e),a.iOS=pi,pi&&!f()&&f(1),pi&&q.ticker.add(yr),D=a._dc,A=q.to(a,{ease:"power4",paused:!0,inherit:!1,scrollX:i?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:np(f,f(),function(){return A.pause()})},onUpdate:Wr,onComplete:D.vars.onComplete}),a};X.sort=function(r){if(ht(r))return ne.sort(r);var e=se.pageYOffset||0;return X.getAll().forEach(function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+se.innerHeight}),ne.sort(r||function(t,i){return(t.vars.refreshPriority||0)*-1e6+(t.vars.containerAnimation?1e6:t._sortY)-((i.vars.containerAnimation?1e6:i._sortY)+(i.vars.refreshPriority||0)*-1e6)})};X.observe=function(r){return new Le(r)};X.normalizeScroll=function(r){if(typeof r>"u")return bt;if(r===!0&&bt)return bt.enable();if(r===!1){bt&&bt.kill(),bt=r;return}var e=r instanceof Le?r:Mv(r);return bt&&bt.target===e.target&&bt.kill(),Qi(e.target)&&(bt=e),e};X.core={_getVelocityProp:ia,_inputObserver:op,_scrollers:ie,_proxies:ar,bridge:{ss:function(){$t||en("scrollStart"),$t=dt()},ref:function(){return ft}}};$h()&&q.registerPlugin(X);var pt,lp,Br,br,_i,up,zn,Ea,cp=function(){return typeof window<"u"},fp=function(){return pt||cp()&&(pt=window.gsap)&&pt.registerPlugin&&pt},dp=function(e){return typeof e=="string"},sp=function(e){return typeof e=="function"},qo=function(e,t){var i=t==="x"?"Width":"Height",n="scroll"+i,o="client"+i;return e===Br||e===br||e===_i?Math.max(br[n],_i[n])-(Br["inner"+i]||br[o]||_i[o]):e[n]-e["offset"+i]},Yo=function(e,t){var i="scroll"+(t==="x"?"Left":"Top");return e===Br&&(e.pageXOffset!=null?i="page"+t.toUpperCase()+"Offset":e=br[i]!=null?br:_i),function(){return e[i]}},Pv=function(e,t,i,n){if(sp(e)&&(e=e(t,i,n)),typeof e!="object")return dp(e)&&e!=="max"&&e.charAt(1)!=="="?{x:e,y:e}:{y:e};if(e.nodeType)return{y:e,x:e};var o={},s;for(s in e)o[s]=s!=="onAutoKill"&&sp(e[s])?e[s](t,i,n):e[s];return o},hp=function(e,t){if(e=up(e)[0],!e||!e.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var i=e.getBoundingClientRect(),n=!t||t===Br||t===_i,o=n?{top:br.clientTop-(Br.pageYOffset||br.scrollTop||_i.scrollTop||0),left:br.clientLeft-(Br.pageXOffset||br.scrollLeft||_i.scrollLeft||0)}:t.getBoundingClientRect(),s={x:i.left-o.left,y:i.top-o.top};return!n&&t&&(s.x+=Yo(t,"x")(),s.y+=Yo(t,"y")()),s},ap=function(e,t,i,n,o){return!isNaN(e)&&typeof e!="object"?parseFloat(e)-o:dp(e)&&e.charAt(1)==="="?parseFloat(e.substr(2))*(e.charAt(0)==="-"?-1:1)+n-o:e==="max"?qo(t,i)-o:Math.min(qo(t,i),hp(e,t)[i]-o)},oc=function(){pt=fp(),cp()&&pt&&typeof document<"u"&&document.body&&(Br=window,_i=document.body,br=document.documentElement,up=pt.utils.toArray,pt.config({autoKillThreshold:7}),zn=pt.config(),lp=1)},tn={version:"3.13.0",name:"scrollTo",rawVars:1,register:function(e){pt=e,oc()},init:function(e,t,i,n,o){lp||oc();var s=this,a=pt.getProperty(e,"scrollSnapType");s.isWin=e===Br,s.target=e,s.tween=i,t=Pv(t,n,e,o),s.vars=t,s.autoKill=!!("autoKill"in t?t:zn).autoKill,s.getX=Yo(e,"x"),s.getY=Yo(e,"y"),s.x=s.xPrev=s.getX(),s.y=s.yPrev=s.getY(),Ea||(Ea=pt.core.globals().ScrollTrigger),pt.getProperty(e,"scrollBehavior")==="smooth"&&pt.set(e,{scrollBehavior:"auto"}),a&&a!=="none"&&(s.snap=1,s.snapInline=e.style.scrollSnapType,e.style.scrollSnapType="none"),t.x!=null?(s.add(s,"x",s.x,ap(t.x,e,"x",s.x,t.offsetX||0),n,o),s._props.push("scrollTo_x")):s.skipX=1,t.y!=null?(s.add(s,"y",s.y,ap(t.y,e,"y",s.y,t.offsetY||0),n,o),s._props.push("scrollTo_y")):s.skipY=1},render:function(e,t){for(var i=t._pt,n=t.target,o=t.tween,s=t.autoKill,a=t.xPrev,l=t.yPrev,u=t.isWin,c=t.snap,d=t.snapInline,h,f,_,p,g;i;)i.r(e,i.d),i=i._next;h=u||!t.skipX?t.getX():a,f=u||!t.skipY?t.getY():l,_=f-l,p=h-a,g=zn.autoKillThreshold,t.x<0&&(t.x=0),t.y<0&&(t.y=0),s&&(!t.skipX&&(p>g||p<-g)&&h<qo(n,"x")&&(t.skipX=1),!t.skipY&&(_>g||_<-g)&&f<qo(n,"y")&&(t.skipY=1),t.skipX&&t.skipY&&(o.kill(),t.vars.onAutoKill&&t.vars.onAutoKill.apply(o,t.vars.onAutoKillParams||[]))),u?Br.scrollTo(t.skipX?h:t.x,t.skipY?f:t.y):(t.skipY||(n.scrollTop=t.y),t.skipX||(n.scrollLeft=t.x)),c&&(e===1||e===0)&&(f=n.scrollTop,h=n.scrollLeft,d?n.style.scrollSnapType=d:n.style.removeProperty("scroll-snap-type"),n.scrollTop=f+1,n.scrollLeft=h+1,n.scrollTop=f,n.scrollLeft=h),t.xPrev=t.x,t.yPrev=t.y,Ea&&Ea.update()},kill:function(e){var t=e==="scrollTo",i=this._props.indexOf(e);return(t||e==="scrollTo_x")&&(this.skipX=1),(t||e==="scrollTo_y")&&(this.skipY=1),i>-1&&this._props.splice(i,1),!this._props.length}};tn.max=qo;tn.getOffset=hp;tn.buildGetter=Yo;tn.config=function(r){zn||oc()||(zn=pt.config());for(var e in r)zn[e]=r[e]};fp()&&pt.registerPlugin(tn);var Lv=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig;var Rv=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig;var Dv=Math.PI/180,G1=180/Math.PI,Ta=Math.sin,Aa=Math.cos,Uo=Math.abs,Xo=Math.sqrt;var Iv=function(e){return typeof e=="number"};var pp=1e5;var gi=function(e){return Math.round(e*pp)/pp||0};function _p(r,e,t,i,n,o,s){for(var a=r.length,l,u,c,d,h;--a>-1;)for(l=r[a],u=l.length,c=0;c<u;c+=2)d=l[c],h=l[c+1],l[c]=d*e+h*i+o,l[c+1]=d*t+h*n+s;return r._dirty=1,r}function Nv(r,e,t,i,n,o,s,a,l){if(!(r===a&&e===l)){t=Uo(t),i=Uo(i);var u=n%360*Dv,c=Aa(u),d=Ta(u),h=Math.PI,f=h*2,_=(r-a)/2,p=(e-l)/2,g=c*_+d*p,m=-d*_+c*p,v=g*g,w=m*m,x=v/(t*t)+w/(i*i);x>1&&(t=Xo(x)*t,i=Xo(x)*i);var b=t*t,E=i*i,S=(b*E-b*w-E*v)/(b*w+E*v);S<0&&(S=0);var T=(o===s?-1:1)*Xo(S),C=T*(t*m/i),O=T*-(i*g/t),M=(r+a)/2,A=(e+l)/2,P=M+(c*C-d*O),N=A+(d*C+c*O),D=(g-C)/t,W=(m-O)/i,V=(-g-C)/t,F=(-m-O)/i,R=D*D+W*W,y=(W<0?-1:1)*Math.acos(D/Xo(R)),L=(D*F-W*V<0?-1:1)*Math.acos((D*V+W*F)/Xo(R*(V*V+F*F)));isNaN(L)&&(L=h),!s&&L>0?L-=f:s&&L<0&&(L+=f),y%=f,L%=f;var Y=Math.ceil(Uo(L)/(f/4)),K=[],j=L/Y,fe=4/3*Ta(j/2)/(1+Aa(j/2)),H=c*t,G=d*t,ce=d*-i,re=c*i,oe;for(oe=0;oe<Y;oe++)n=y+oe*j,g=Aa(n),m=Ta(n),D=Aa(n+=j),W=Ta(n),K.push(g-fe*m,m+fe*g,D+fe*W,W-fe*D,D,W);for(oe=0;oe<K.length;oe+=2)g=K[oe],m=K[oe+1],K[oe]=g*H+m*ce+P,K[oe+1]=g*G+m*re+N;return K[oe-2]=a,K[oe-1]=l,K}}function gp(r){var e=(r+"").replace(Rv,function(C){var O=+C;return O<1e-4&&O>-1e-4?0:O}).match(Lv)||[],t=[],i=0,n=0,o=2/3,s=e.length,a=0,l="ERROR: malformed path: "+r,u,c,d,h,f,_,p,g,m,v,w,x,b,E,S,T=function(O,M,A,P){v=(A-O)/3,w=(P-M)/3,p.push(O+v,M+w,A-v,P-w,A,P)};if(!r||!isNaN(e[0])||isNaN(e[1]))return console.log(l),t;for(u=0;u<s;u++)if(b=f,isNaN(e[u])?(f=e[u].toUpperCase(),_=f!==e[u]):u--,d=+e[u+1],h=+e[u+2],_&&(d+=i,h+=n),u||(g=d,m=h),f==="M")p&&(p.length<8?t.length-=1:a+=p.length),i=g=d,n=m=h,p=[d,h],t.push(p),u+=2,f="L";else if(f==="C")p||(p=[0,0]),_||(i=n=0),p.push(d,h,i+e[u+3]*1,n+e[u+4]*1,i+=e[u+5]*1,n+=e[u+6]*1),u+=6;else if(f==="S")v=i,w=n,(b==="C"||b==="S")&&(v+=i-p[p.length-4],w+=n-p[p.length-3]),_||(i=n=0),p.push(v,w,d,h,i+=e[u+3]*1,n+=e[u+4]*1),u+=4;else if(f==="Q")v=i+(d-i)*o,w=n+(h-n)*o,_||(i=n=0),i+=e[u+3]*1,n+=e[u+4]*1,p.push(v,w,i+(d-i)*o,n+(h-n)*o,i,n),u+=4;else if(f==="T")v=i-p[p.length-4],w=n-p[p.length-3],p.push(i+v,n+w,d+(i+v*1.5-d)*o,h+(n+w*1.5-h)*o,i=d,n=h),u+=2;else if(f==="H")T(i,n,i=d,n),u+=1;else if(f==="V")T(i,n,i,n=d+(_?n-i:0)),u+=1;else if(f==="L"||f==="Z")f==="Z"&&(d=g,h=m,p.closed=!0),(f==="L"||Uo(i-d)>.5||Uo(n-h)>.5)&&(T(i,n,d,h),f==="L"&&(u+=2)),i=d,n=h;else if(f==="A"){if(E=e[u+4],S=e[u+5],v=e[u+6],w=e[u+7],c=7,E.length>1&&(E.length<3?(w=v,v=S,c--):(w=S,v=E.substr(2),c-=2),S=E.charAt(1),E=E.charAt(0)),x=Nv(i,n,+e[u+1],+e[u+2],+e[u+3],+E,+S,(_?i:0)+v*1,(_?n:0)+w*1),u+=c,x)for(c=0;c<x.length;c++)p.push(x[c]);i=p[p.length-2],n=p[p.length-1]}else console.log(l);return u=p.length,u<6?(t.pop(),u=0):p[0]===p[u-2]&&p[1]===p[u-1]&&(p.closed=!0),t.totalPoints=a+u,t}function mp(r){Iv(r[0])&&(r=[r]);var e="",t=r.length,i,n,o,s;for(n=0;n<t;n++){for(s=r[n],e+="M"+gi(s[0])+","+gi(s[1])+" C",i=s.length,o=2;o<i;o++)e+=gi(s[o++])+","+gi(s[o++])+" "+gi(s[o++])+","+gi(s[o++])+" "+gi(s[o++])+","+gi(s[o])+" ";s.closed&&(e+="z")}return e}var kt,yp,wp=function(){return kt||typeof window<"u"&&(kt=window.gsap)&&kt.registerPlugin&&kt},vp=function(){kt=wp(),kt?(kt.registerEase("_CE",mi.create),yp=1):console.warn("Please gsap.registerPlugin(CustomEase)")},zv=1e20,Ca=function(e){return~~(e*1e3+(e<0?-.5:.5))/1e3},Fv=1,Hv=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/gi,Vv=/[cLlsSaAhHvVtTqQ]/g,Wv=function(e){var t=e.length,i=zv,n;for(n=1;n<t;n+=6)+e[n]<i&&(i=+e[n]);return i},Bv=function(e,t,i){!i&&i!==0&&(i=Math.max(+e[e.length-1],+e[1]));var n=+e[0]*-1,o=-i,s=e.length,a=1/(+e[s-2]+n),l=-t||(Math.abs(+e[s-1]-+e[1])<.01*(+e[s-2]-+e[0])?Wv(e)+o:+e[s-1]+o),u;for(l?l=1/l:l=-a,u=0;u<s;u+=2)e[u]=(+e[u]+n)*a,e[u+1]=(+e[u+1]+o)*l},qv=function r(e,t,i,n,o,s,a,l,u,c,d){var h=(e+i)/2,f=(t+n)/2,_=(i+o)/2,p=(n+s)/2,g=(o+a)/2,m=(s+l)/2,v=(h+_)/2,w=(f+p)/2,x=(_+g)/2,b=(p+m)/2,E=(v+x)/2,S=(w+b)/2,T=a-e,C=l-t,O=Math.abs((i-a)*C-(n-l)*T),M=Math.abs((o-a)*C-(s-l)*T),A;return c||(c=[{x:e,y:t},{x:a,y:l}],d=1),c.splice(d||c.length-1,0,{x:E,y:S}),(O+M)*(O+M)>u*(T*T+C*C)&&(A=c.length,r(e,t,h,f,v,w,E,S,u,c,d),r(E,S,x,b,g,m,a,l,u,c,d+1+(c.length-A))),c},mi=function(){function r(t,i,n){yp||vp(),this.id=t,Fv&&this.setData(i,n)}var e=r.prototype;return e.setData=function(i,n){n=n||{},i=i||"0,0,1,1";var o=i.match(Hv),s=1,a=[],l=[],u=n.precision||1,c=u<=1,d,h,f,_,p,g,m,v,w;if(this.data=i,(Vv.test(i)||~i.indexOf("M")&&i.indexOf("C")<0)&&(o=gp(i)[0]),d=o.length,d===4)o.unshift(0,0),o.push(1,1),d=8;else if((d-2)%6)throw"Invalid CustomEase";for((+o[0]!=0||+o[d-2]!=1)&&Bv(o,n.height,n.originY),this.segment=o,_=2;_<d;_+=6)h={x:+o[_-2],y:+o[_-1]},f={x:+o[_+4],y:+o[_+5]},a.push(h,f),qv(h.x,h.y,+o[_],+o[_+1],+o[_+2],+o[_+3],f.x,f.y,1/(u*2e5),a,a.length-1);for(d=a.length,_=0;_<d;_++)m=a[_],v=a[_-1]||m,(m.x>v.x||v.y!==m.y&&v.x===m.x||m===v)&&m.x<=1?(v.cx=m.x-v.x,v.cy=m.y-v.y,v.n=m,v.nx=m.x,c&&_>1&&Math.abs(v.cy/v.cx-a[_-2].cy/a[_-2].cx)>2&&(c=0),v.cx<s&&(v.cx?s=v.cx:(v.cx=.001,_===d-1&&(v.x-=.001,s=Math.min(s,.001),c=0)))):(a.splice(_--,1),d--);if(d=1/s+1|0,p=1/d,g=0,m=a[0],c){for(_=0;_<d;_++)w=_*p,m.nx<w&&(m=a[++g]),h=m.y+(w-m.x)/m.cx*m.cy,l[_]={x:w,cx:p,y:h,cy:0,nx:9},_&&(l[_-1].cy=h-l[_-1].y);g=a[a.length-1],l[d-1].cy=g.y-h,l[d-1].cx=g.x-l[l.length-1].x}else{for(_=0;_<d;_++)m.nx<_*p&&(m=a[++g]),l[_]=m;g<a.length-1&&(l[_-1]=a[a.length-2])}return this.ease=function(x){var b=l[x*d|0]||l[d-1];return b.nx<x&&(b=b.n),b.y+(x-b.x)/b.cx*b.cy},this.ease.custom=this,this.id&&kt&&kt.registerEase(this.id,this.ease),this},e.getSVGData=function(i){return r.getSVGData(this,i)},r.create=function(i,n,o){return new r(i,n,o).ease},r.register=function(i){kt=i,vp()},r.get=function(i){return kt.parseEase(i)},r.getSVGData=function(i,n){n=n||{};var o=n.width||100,s=n.height||100,a=n.x||0,l=(n.y||0)+s,u=kt.utils.toArray(n.path)[0],c,d,h,f,_,p,g,m,v,w;if(n.invert&&(s=-s,l=0),typeof i=="string"&&(i=kt.parseEase(i)),i.custom&&(i=i.custom),i instanceof r)c=mp(_p([i.segment],o,0,0,-s,a,l));else{for(c=[a,l],g=Math.max(5,(n.precision||1)*200),f=1/g,g+=2,m=5/g,v=Ca(a+f*o),w=Ca(l+i(f)*-s),d=(w-l)/(v-a),h=2;h<g;h++)_=Ca(a+h*f*o),p=Ca(l+i(h*f)*-s),(Math.abs((p-w)/(_-v)-d)>m||h===g-1)&&(c.push(v,w),d=(p-w)/(_-v)),v=_,w=p;c="M"+c.join(",")}return u&&u.setAttribute("d",c),c},r}();mi.version="3.13.0";mi.headless=!0;wp()&&kt.registerPlugin(mi);var Go,Fn,ac,Yv=()=>ac||jt.register(window.gsap),bp=typeof Intl<"u"?new Intl.Segmenter:0,Oa=r=>typeof r=="string"?Oa(document.querySelectorAll(r)):"length"in r?Array.from(r):[r],xp=r=>Oa(r).filter(e=>e instanceof HTMLElement),lc=[],sc=function(){},Xv=/\s+/g,Sp=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"),Ep={left:0,top:0,width:0,height:0},Tp=(r,e)=>{if(e){let t=new Set(r.join("").match(e)||lc),i=r.length,n,o,s,a;if(t.size)for(;--i>-1;){o=r[i];for(s of t)if(s.startsWith(o)&&s.length>o.length){for(n=0,a=o;s.startsWith(a+=r[i+ ++n])&&a.length<s.length;);if(n&&a.length===s.length){r[i]=s,r.splice(i+1,n);break}}}}return r},Ap=r=>window.getComputedStyle(r).display==="inline"&&(r.style.display="inline-block"),Hn=(r,e,t)=>e.insertBefore(typeof r=="string"?document.createTextNode(r):r,t),uc=(r,e,t)=>{let i=e[r+"sClass"]||"",{tag:n="div",aria:o="auto",propIndex:s=!1}=e,a=r==="line"?"block":"inline-block",l=i.indexOf("++")>-1,u=c=>{let d=document.createElement(n),h=t.length+1;return i&&(d.className=i+(l?" "+i+h:"")),s&&d.style.setProperty("--"+r,h+""),o!=="none"&&d.setAttribute("aria-hidden","true"),n!=="span"&&(d.style.position="relative",d.style.display=a),d.textContent=c,t.push(d),d};return l&&(i=i.replace("++","")),u.collection=t,u},Uv=(r,e,t,i)=>{let n=uc("line",t,i),o=window.getComputedStyle(r).textAlign||"left";return(s,a)=>{let l=n("");for(l.style.textAlign=o,r.insertBefore(l,e[s]);s<a;s++)l.appendChild(e[s]);l.normalize()}},Cp=(r,e,t,i,n,o,s,a,l,u)=>{var c;let d=Array.from(r.childNodes),h=0,{wordDelimiter:f,reduceWhiteSpace:_=!0,prepareText:p}=e,g=r.getBoundingClientRect(),m=g,v=!_&&window.getComputedStyle(r).whiteSpace.substring(0,3)==="pre",w=0,x=t.collection,b,E,S,T,C,O,M,A,P,N,D,W,V,F,R,y,L,Y;for(typeof f=="object"?(S=f.delimiter||f,E=f.replaceWith||""):E=f===""?"":f||" ",b=E!==" ";h<d.length;h++)if(T=d[h],T.nodeType===3){for(R=T.textContent||"",_?R=R.replace(Xv," "):v&&(R=R.replace(/\n/g,E+`
6
+ `)),p&&(R=p(R,r)),T.textContent=R,C=E||S?R.split(S||E):R.match(a)||lc,L=C[C.length-1],A=b?L.slice(-1)===" ":!L,L||C.pop(),m=g,M=b?C[0].charAt(0)===" ":!C[0],M&&Hn(" ",r,T),C[0]||C.shift(),Tp(C,l),o&&u||(T.textContent=""),P=1;P<=C.length;P++)if(y=C[P-1],!_&&v&&y.charAt(0)===`
7
+ `&&((c=T.previousSibling)==null||c.remove(),Hn(document.createElement("br"),r,T),y=y.slice(1)),!_&&y==="")Hn(E,r,T);else if(y===" ")r.insertBefore(document.createTextNode(" "),T);else{if(b&&y.charAt(0)===" "&&Hn(" ",r,T),w&&P===1&&!M&&x.indexOf(w.parentNode)>-1?(O=x[x.length-1],O.appendChild(document.createTextNode(i?"":y))):(O=t(i?"":y),Hn(O,r,T),w&&P===1&&!M&&O.insertBefore(w,O.firstChild)),i)for(D=bp?Tp([...bp.segment(y)].map(K=>K.segment),l):y.match(a)||lc,Y=0;Y<D.length;Y++)O.appendChild(D[Y]===" "?document.createTextNode(" "):i(D[Y]));if(o&&u){if(R=T.textContent=R.substring(y.length+1,R.length),N=O.getBoundingClientRect(),N.top>m.top&&N.left<=m.left){for(W=r.cloneNode(),V=r.childNodes[0];V&&V!==O;)F=V,V=V.nextSibling,W.appendChild(F);r.parentNode.insertBefore(W,r),n&&Ap(W)}m=N}(P<C.length||A)&&Hn(P>=C.length?" ":b&&y.slice(-1)===" "?" "+E:E,r,T)}r.removeChild(T),w=0}else T.nodeType===1&&(s&&s.indexOf(T)>-1?(x.indexOf(T.previousSibling)>-1&&x[x.length-1].appendChild(T),w=T):(Cp(T,e,t,i,n,o,s,a,l,!0),w=0),n&&Ap(T))},Op=class kp{constructor(e,t){this.isSplit=!1,Yv(),this.elements=xp(e),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=t,this._split=()=>this.isSplit&&this.split(this.vars);let i=[],n,o=()=>{let s=i.length,a;for(;s--;){a=i[s];let l=a.element.offsetWidth;if(l!==a.width){a.width=l,this._split();return}}};this._data={orig:i,obs:typeof ResizeObserver<"u"&&new ResizeObserver(()=>{clearTimeout(n),n=setTimeout(o,200)})},sc(this),this.split(t)}split(e){this.isSplit&&this.revert(),this.vars=e=e||this.vars||{};let{type:t="chars,words,lines",aria:i="auto",deepSlice:n=!0,smartWrap:o,onSplit:s,autoSplit:a=!1,specialChars:l,mask:u}=this.vars,c=t.indexOf("lines")>-1,d=t.indexOf("chars")>-1,h=t.indexOf("words")>-1,f=d&&!h&&!c,_=l&&("push"in l?new RegExp("(?:"+l.join("|")+")","gu"):l),p=_?new RegExp(_.source+"|"+Sp.source,"gu"):Sp,g=!!e.ignore&&xp(e.ignore),{orig:m,animTime:v,obs:w}=this._data,x;return(d||h||c)&&(this.elements.forEach((b,E)=>{m[E]={element:b,html:b.innerHTML,ariaL:b.getAttribute("aria-label"),ariaH:b.getAttribute("aria-hidden")},i==="auto"?b.setAttribute("aria-label",(b.textContent||"").trim()):i==="hidden"&&b.setAttribute("aria-hidden","true");let S=[],T=[],C=[],O=d?uc("char",e,S):null,M=uc("word",e,T),A,P,N,D;if(Cp(b,e,M,O,f,n&&(c||f),g,p,_,!1),c){let W=Oa(b.childNodes),V=Uv(b,W,e,C),F,R=[],y=0,L=W.map(K=>K.nodeType===1?K.getBoundingClientRect():Ep),Y=Ep;for(A=0;A<W.length;A++)F=W[A],F.nodeType===1&&(F.nodeName==="BR"?(R.push(F),V(y,A+1),y=A+1,Y=L[y]):(A&&L[A].top>Y.top&&L[A].left<=Y.left&&(V(y,A),y=A),Y=L[A]));y<A&&V(y,A),R.forEach(K=>{var j;return(j=K.parentNode)==null?void 0:j.removeChild(K)})}if(!h){for(A=0;A<T.length;A++)if(P=T[A],d||!P.nextSibling||P.nextSibling.nodeType!==3)if(o&&!c){for(N=document.createElement("span"),N.style.whiteSpace="nowrap";P.firstChild;)N.appendChild(P.firstChild);P.replaceWith(N)}else P.replaceWith(...P.childNodes);else D=P.nextSibling,D&&D.nodeType===3&&(D.textContent=(P.textContent||"")+(D.textContent||""),P.remove());T.length=0,b.normalize()}this.lines.push(...C),this.words.push(...T),this.chars.push(...S)}),u&&this[u]&&this.masks.push(...this[u].map(b=>{let E=b.cloneNode();return b.replaceWith(E),E.appendChild(b),b.className&&(E.className=b.className.replace(/(\b\w+\b)/g,"$1-mask")),E.style.overflow="clip",E}))),this.isSplit=!0,Fn&&(a?Fn.addEventListener("loadingdone",this._split):Fn.status==="loading"&&console.warn("SplitText called before fonts loaded")),(x=s&&s(this))&&x.totalTime&&(this._data.anim=v?x.totalTime(v):x),c&&a&&this.elements.forEach((b,E)=>{m[E].width=b.offsetWidth,w&&w.observe(b)}),this}revert(){var e,t;let{orig:i,anim:n,obs:o}=this._data;return o&&o.disconnect(),i.forEach(({element:s,html:a,ariaL:l,ariaH:u})=>{s.innerHTML=a,l?s.setAttribute("aria-label",l):s.removeAttribute("aria-label"),u?s.setAttribute("aria-hidden",u):s.removeAttribute("aria-hidden")}),this.chars.length=this.words.length=this.lines.length=i.length=this.masks.length=0,this.isSplit=!1,Fn?.removeEventListener("loadingdone",this._split),n&&(this._data.animTime=n.totalTime(),n.revert()),(t=(e=this.vars).onRevert)==null||t.call(e,this),this}static create(e,t){return new kp(e,t)}static register(e){Go=Go||e||window.gsap,Go&&(Oa=Go.utils.toArray,sc=Go.core.context||sc),!ac&&window.innerWidth>0&&(Fn=document.fonts,ac=!0)}};Op.version="3.13.0";var jt=Op;function Mp(r,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,i.key,i)}}function Gv(r,e,t){return e&&Mp(r.prototype,e),t&&Mp(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}var Pp="(prefers-reduced-motion: reduce)",Bn=1,$v=2,Xn=3,Gn=4,ns=5,Ma=6,Da=7,jv={CREATED:Bn,MOUNTED:$v,IDLE:Xn,MOVING:Gn,SCROLLING:ns,DRAGGING:Ma,DESTROYED:Da};function Gr(r){r.length=0}function xi(r,e,t){return Array.prototype.slice.call(r,e,t)}function ve(r){return r.bind.apply(r,[null].concat(xi(arguments,1)))}var Xp=setTimeout,pc=function(){};function Lp(r){return requestAnimationFrame(r)}function Fa(r,e){return typeof e===r}function Ko(r){return!bc(r)&&Fa("object",r)}var wc=Array.isArray,Up=ve(Fa,"function"),yi=ve(Fa,"string"),os=ve(Fa,"undefined");function bc(r){return r===null}function Gp(r){try{return r instanceof(r.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function ss(r){return wc(r)?r:[r]}function Qt(r,e){ss(r).forEach(e)}function xc(r,e){return r.indexOf(e)>-1}function Pa(r,e){return r.push.apply(r,ss(e)),r}function Yr(r,e,t){r&&Qt(e,function(i){i&&r.classList[t?"add":"remove"](i)})}function xr(r,e){Yr(r,yi(e)?e.split(" "):e,!0)}function as(r,e){Qt(e,r.appendChild.bind(r))}function Sc(r,e){Qt(r,function(t){var i=(e||t).parentNode;i&&i.insertBefore(t,e)})}function Zo(r,e){return Gp(r)&&(r.msMatchesSelector||r.matches).call(r,e)}function $p(r,e){var t=r?xi(r.children):[];return e?t.filter(function(i){return Zo(i,e)}):t}function ls(r,e){return e?$p(r,e)[0]:r.firstElementChild}var Qo=Object.keys;function nn(r,e,t){return r&&(t?Qo(r).reverse():Qo(r)).forEach(function(i){i!=="__proto__"&&e(r[i],i)}),r}function Jo(r){return xi(arguments,1).forEach(function(e){nn(e,function(t,i){r[i]=e[i]})}),r}function vi(r){return xi(arguments,1).forEach(function(e){nn(e,function(t,i){wc(t)?r[i]=t.slice():Ko(t)?r[i]=vi({},Ko(r[i])?r[i]:{},t):r[i]=t})}),r}function Rp(r,e){Qt(e||Qo(r),function(t){delete r[t]})}function Sr(r,e){Qt(r,function(t){Qt(e,function(i){t&&t.removeAttribute(i)})})}function te(r,e,t){Ko(e)?nn(e,function(i,n){te(r,n,i)}):Qt(r,function(i){bc(t)||t===""?Sr(i,e):i.setAttribute(e,String(t))})}function qn(r,e,t){var i=document.createElement(r);return e&&(yi(e)?xr(i,e):te(i,e)),t&&as(t,i),i}function lr(r,e,t){if(os(t))return getComputedStyle(r)[e];bc(t)||(r.style[e]=""+t)}function es(r,e){lr(r,"display",e)}function jp(r){r.setActive&&r.setActive()||r.focus({preventScroll:!0})}function ur(r,e){return r.getAttribute(e)}function Dp(r,e){return r&&r.classList.contains(e)}function Kt(r){return r.getBoundingClientRect()}function on(r){Qt(r,function(e){e&&e.parentNode&&e.parentNode.removeChild(e)})}function Kp(r){return ls(new DOMParser().parseFromString(r,"text/html").body)}function qr(r,e){r.preventDefault(),e&&(r.stopPropagation(),r.stopImmediatePropagation())}function Zp(r,e){return r&&r.querySelector(e)}function Ec(r,e){return e?xi(r.querySelectorAll(e)):[]}function Xr(r,e){Yr(r,e,!1)}function _c(r){return r.timeStamp}function rn(r){return yi(r)?r:r?r+"px":""}var us="splide",Tc="data-"+us;function $o(r,e){if(!r)throw new Error("["+us+"] "+(e||""))}var wi=Math.min,Ia=Math.max,Na=Math.floor,ts=Math.ceil,Mt=Math.abs;function Qp(r,e,t){return Mt(r-e)<t}function La(r,e,t,i){var n=wi(e,t),o=Ia(e,t);return i?n<r&&r<o:n<=r&&r<=o}function Vn(r,e,t){var i=wi(e,t),n=Ia(e,t);return wi(Ia(i,r),n)}function gc(r){return+(r>0)-+(r<0)}function mc(r,e){return Qt(e,function(t){r=r.replace("%s",""+t)}),r}function Ac(r){return r<10?"0"+r:""+r}var Ip={};function Kv(r){return""+r+Ac(Ip[r]=(Ip[r]||0)+1)}function Jp(){var r=[];function e(s,a,l,u){n(s,a,function(c,d,h){var f="addEventListener"in c,_=f?c.removeEventListener.bind(c,d,l,u):c.removeListener.bind(c,l);f?c.addEventListener(d,l,u):c.addListener(l),r.push([c,d,h,l,_])})}function t(s,a,l){n(s,a,function(u,c,d){r=r.filter(function(h){return h[0]===u&&h[1]===c&&h[2]===d&&(!l||h[3]===l)?(h[4](),!1):!0})})}function i(s,a,l){var u,c=!0;return typeof CustomEvent=="function"?u=new CustomEvent(a,{bubbles:c,detail:l}):(u=document.createEvent("CustomEvent"),u.initCustomEvent(a,c,!1,l)),s.dispatchEvent(u),u}function n(s,a,l){Qt(s,function(u){u&&Qt(a,function(c){c.split(" ").forEach(function(d){var h=d.split(".");l(u,h[0],h[1])})})})}function o(){r.forEach(function(s){s[4]()}),Gr(r)}return{bind:e,unbind:t,dispatch:i,destroy:o}}var an="mounted",Np="ready",bi="move",cs="moved",e_="click",Zv="active",Qv="inactive",Jv="visible",ey="hidden",Ue="refresh",Pt="updated",rs="resize",Cc="resized",ty="drag",ry="dragging",iy="dragged",Oc="scroll",$n="scrolled",ny="overflow",t_="destroy",oy="arrows:mounted",sy="arrows:updated",ay="pagination:mounted",ly="pagination:updated",r_="navigation:mounted",i_="autoplay:play",uy="autoplay:playing",n_="autoplay:pause",o_="lazyload:loaded",s_="sk",a_="sh",za="ei";function Ae(r){var e=r?r.event.bus:document.createDocumentFragment(),t=Jp();function i(o,s){t.bind(e,ss(o).join(" "),function(a){s.apply(s,wc(a.detail)?a.detail:[])})}function n(o){t.dispatch(e,o,xi(arguments,1))}return r&&r.event.on(t_,t.destroy),Jo(t,{bus:e,on:i,off:ve(t.unbind,e),emit:n})}function Ha(r,e,t,i){var n=Date.now,o,s=0,a,l=!0,u=0;function c(){if(!l){if(s=r?wi((n()-o)/r,1):1,t&&t(s),s>=1&&(e(),o=n(),i&&++u>=i))return h();a=Lp(c)}}function d(m){m||_(),o=n()-(m?s*r:0),l=!1,a=Lp(c)}function h(){l=!0}function f(){o=n(),s=0,t&&t(s)}function _(){a&&cancelAnimationFrame(a),s=0,a=0,l=!0}function p(m){r=m}function g(){return l}return{start:d,rewind:f,pause:h,cancel:_,set:p,isPaused:g}}function cy(r){var e=r;function t(n){e=n}function i(n){return xc(ss(n),e)}return{set:t,is:i}}function fy(r,e){var t=Ha(e||0,r,null,1);return function(){t.isPaused()&&t.start()}}function dy(r,e,t){var i=r.state,n=t.breakpoints||{},o=t.reducedMotion||{},s=Jp(),a=[];function l(){var _=t.mediaQuery==="min";Qo(n).sort(function(p,g){return _?+p-+g:+g-+p}).forEach(function(p){c(n[p],"("+(_?"min":"max")+"-width:"+p+"px)")}),c(o,Pp),d()}function u(_){_&&s.destroy()}function c(_,p){var g=matchMedia(p);s.bind(g,"change",d),a.push([_,g])}function d(){var _=i.is(Da),p=t.direction,g=a.reduce(function(m,v){return vi(m,v[1].matches?v[0]:{})},{});Rp(t),f(g),t.destroy?r.destroy(t.destroy==="completely"):_?(u(!0),r.mount()):p!==t.direction&&r.refresh()}function h(_){matchMedia(Pp).matches&&(_?vi(t,o):Rp(t,Qo(o)))}function f(_,p,g){vi(t,_),p&&vi(Object.getPrototypeOf(t),_),(g||!i.is(Bn))&&r.emit(Pt,t)}return{setup:l,destroy:u,reduce:h,set:f}}var Va="Arrow",Wa=Va+"Left",Ba=Va+"Right",l_=Va+"Up",u_=Va+"Down";var zp="rtl",qa="ttb",cc={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[l_,Ba],ArrowRight:[u_,Wa]};function hy(r,e,t){function i(o,s,a){a=a||t.direction;var l=a===zp&&!s?1:a===qa?0:-1;return cc[o]&&cc[o][l]||o.replace(/width|left|right/i,function(u,c){var d=cc[u.toLowerCase()][l]||u;return c>0?d.charAt(0).toUpperCase()+d.slice(1):d})}function n(o){return o*(t.direction===zp?1:-1)}return{resolve:i,orient:n}}var Ur="role",Yn="tabindex",py="disabled",cr="aria-",fs=cr+"controls",c_=cr+"current",Fp=cr+"selected",Zt=cr+"label",kc=cr+"labelledby",f_=cr+"hidden",Mc=cr+"orientation",is=cr+"roledescription",Hp=cr+"live",Vp=cr+"busy",Wp=cr+"atomic",Pc=[Ur,Yn,py,fs,c_,Zt,kc,f_,Mc,is],Er=us+"__",Si="is-",fc=us,Bp=Er+"track",_y=Er+"list",Ya=Er+"slide",d_=Ya+"--clone",gy=Ya+"__container",Lc=Er+"arrows",Xa=Er+"arrow",h_=Xa+"--prev",p_=Xa+"--next",Ua=Er+"pagination",__=Ua+"__page",my=Er+"progress",vy=my+"__bar",Rc=Er+"toggle",Q1=Rc+"__play",J1=Rc+"__pause",yy=Er+"spinner",wy=Er+"sr",by=Si+"initialized",sn=Si+"active",g_=Si+"prev",m_=Si+"next",vc=Si+"visible",yc=Si+"loading",v_=Si+"focus-in",y_=Si+"overflow",xy=[sn,vc,g_,m_,yc,v_,y_],Sy={slide:Ya,clone:d_,arrows:Lc,arrow:Xa,prev:h_,next:p_,pagination:Ua,page:__,spinner:yy};function Ey(r,e){if(Up(r.closest))return r.closest(e);for(var t=r;t&&t.nodeType===1&&!Zo(t,e);)t=t.parentElement;return t}var Ty=5,qp=200,w_="touchstart mousedown",dc="touchmove mousemove",hc="touchend touchcancel mouseup click";function Ay(r,e,t){var i=Ae(r),n=i.on,o=i.bind,s=r.root,a=t.i18n,l={},u=[],c=[],d=[],h,f,_;function p(){w(),x(),v()}function g(){n(Ue,m),n(Ue,p),n(Pt,v),o(document,w_+" keydown",function(S){_=S.type==="keydown"},{capture:!0}),o(s,"focusin",function(){Yr(s,v_,!!_)})}function m(S){var T=Pc.concat("style");Gr(u),Xr(s,c),Xr(h,d),Sr([h,f],T),Sr(s,S?T:["style",is])}function v(){Xr(s,c),Xr(h,d),c=E(fc),d=E(Bp),xr(s,c),xr(h,d),te(s,Zt,t.label),te(s,kc,t.labelledby)}function w(){h=b("."+Bp),f=ls(h,"."+_y),$o(h&&f,"A track/list element is missing."),Pa(u,$p(f,"."+Ya+":not(."+d_+")")),nn({arrows:Lc,pagination:Ua,prev:h_,next:p_,bar:vy,toggle:Rc},function(S,T){l[T]=b("."+S)}),Jo(l,{root:s,track:h,list:f,slides:u})}function x(){var S=s.id||Kv(us),T=t.role;s.id=S,h.id=h.id||S+"-track",f.id=f.id||S+"-list",!ur(s,Ur)&&s.tagName!=="SECTION"&&T&&te(s,Ur,T),te(s,is,a.carousel),te(f,Ur,"presentation")}function b(S){var T=Zp(s,S);return T&&Ey(T,"."+fc)===s?T:void 0}function E(S){return[S+"--"+t.type,S+"--"+t.direction,t.drag&&S+"--draggable",t.isNavigation&&S+"--nav",S===fc&&sn]}return Jo(l,{setup:p,mount:g,destroy:m})}var Un="slide",jn="loop",ds="fade";function Cy(r,e,t,i){var n=Ae(r),o=n.on,s=n.emit,a=n.bind,l=r.Components,u=r.root,c=r.options,d=c.isNavigation,h=c.updateOnMove,f=c.i18n,_=c.pagination,p=c.slideFocus,g=l.Direction.resolve,m=ur(i,"style"),v=ur(i,Zt),w=t>-1,x=ls(i,"."+gy),b;function E(){w||(i.id=u.id+"-slide"+Ac(e+1),te(i,Ur,_?"tabpanel":"group"),te(i,is,f.slide),te(i,Zt,v||mc(f.slideLabel,[e+1,r.length]))),S()}function S(){a(i,"click",ve(s,e_,F)),a(i,"keydown",ve(s,s_,F)),o([cs,a_,$n],M),o(r_,C),h&&o(bi,O)}function T(){b=!0,n.destroy(),Xr(i,xy),Sr(i,Pc),te(i,"style",m),te(i,Zt,v||"")}function C(){var R=r.splides.map(function(y){var L=y.splide.Components.Slides.getAt(e);return L?L.slide.id:""}).join(" ");te(i,Zt,mc(f.slideX,(w?t:e)+1)),te(i,fs,R),te(i,Ur,p?"button":""),p&&Sr(i,is)}function O(){b||M()}function M(){if(!b){var R=r.index;A(),P(),Yr(i,g_,e===R-1),Yr(i,m_,e===R+1)}}function A(){var R=D();R!==Dp(i,sn)&&(Yr(i,sn,R),te(i,c_,d&&R||""),s(R?Zv:Qv,F))}function P(){var R=W(),y=!R&&(!D()||w);if(r.state.is([Gn,ns])||te(i,f_,y||""),te(Ec(i,c.focusableNodes||""),Yn,y?-1:""),p&&te(i,Yn,y?-1:0),R!==Dp(i,vc)&&(Yr(i,vc,R),s(R?Jv:ey,F)),!R&&document.activeElement===i){var L=l.Slides.getAt(r.index);L&&jp(L.slide)}}function N(R,y,L){lr(L&&x||i,R,y)}function D(){var R=r.index;return R===e||c.cloneStatus&&R===t}function W(){if(r.is(ds))return D();var R=Kt(l.Elements.track),y=Kt(i),L=g("left",!0),Y=g("right",!0);return Na(R[L])<=ts(y[L])&&Na(y[Y])<=ts(R[Y])}function V(R,y){var L=Mt(R-e);return!w&&(c.rewind||r.is(jn))&&(L=wi(L,r.length-L)),L<=y}var F={index:e,slideIndex:t,slide:i,container:x,isClone:w,mount:E,destroy:T,update:M,style:N,isWithin:V};return F}function Oy(r,e,t){var i=Ae(r),n=i.on,o=i.emit,s=i.bind,a=e.Elements,l=a.slides,u=a.list,c=[];function d(){h(),n(Ue,f),n(Ue,h)}function h(){l.forEach(function(M,A){p(M,A,-1)})}function f(){b(function(M){M.destroy()}),Gr(c)}function _(){b(function(M){M.update()})}function p(M,A,P){var N=Cy(r,A,P,M);N.mount(),c.push(N),c.sort(function(D,W){return D.index-W.index})}function g(M){return M?E(function(A){return!A.isClone}):c}function m(M){var A=e.Controller,P=A.toIndex(M),N=A.hasFocus()?1:t.perPage;return E(function(D){return La(D.index,P,P+N-1)})}function v(M){return E(M)[0]}function w(M,A){Qt(M,function(P){if(yi(P)&&(P=Kp(P)),Gp(P)){var N=l[A];N?Sc(P,N):as(u,P),xr(P,t.classes.slide),T(P,ve(o,rs))}}),o(Ue)}function x(M){on(E(M).map(function(A){return A.slide})),o(Ue)}function b(M,A){g(A).forEach(M)}function E(M){return c.filter(Up(M)?M:function(A){return yi(M)?Zo(A.slide,M):xc(ss(M),A.index)})}function S(M,A,P){b(function(N){N.style(M,A,P)})}function T(M,A){var P=Ec(M,"img"),N=P.length;N?P.forEach(function(D){s(D,"load error",function(){--N||A()})}):A()}function C(M){return M?l.length:c.length}function O(){return c.length>t.perPage}return{mount:d,destroy:f,update:_,register:p,get:g,getIn:m,getAt:v,add:w,remove:x,forEach:b,filter:E,style:S,getLength:C,isEnough:O}}function ky(r,e,t){var i=Ae(r),n=i.on,o=i.bind,s=i.emit,a=e.Slides,l=e.Direction.resolve,u=e.Elements,c=u.root,d=u.track,h=u.list,f=a.getAt,_=a.style,p,g,m;function v(){w(),o(window,"resize load",fy(ve(s,rs))),n([Pt,Ue],w),n(rs,x)}function w(){p=t.direction===qa,lr(c,"maxWidth",rn(t.width)),lr(d,l("paddingLeft"),b(!1)),lr(d,l("paddingRight"),b(!0)),x(!0)}function x(F){var R=Kt(c);(F||g.width!==R.width||g.height!==R.height)&&(lr(d,"height",E()),_(l("marginRight"),rn(t.gap)),_("width",T()),_("height",C(),!0),g=R,s(Cc),m!==(m=V())&&(Yr(c,y_,m),s(ny,m)))}function b(F){var R=t.padding,y=l(F?"right":"left");return R&&rn(R[y]||(Ko(R)?0:R))||"0px"}function E(){var F="";return p&&(F=S(),$o(F,"height or heightRatio is missing."),F="calc("+F+" - "+b(!1)+" - "+b(!0)+")"),F}function S(){return rn(t.height||Kt(h).width*t.heightRatio)}function T(){return t.autoWidth?null:rn(t.fixedWidth)||(p?"":O())}function C(){return rn(t.fixedHeight)||(p?t.autoHeight?null:O():S())}function O(){var F=rn(t.gap);return"calc((100%"+(F&&" + "+F)+")/"+(t.perPage||1)+(F&&" - "+F)+")"}function M(){return Kt(h)[l("width")]}function A(F,R){var y=f(F||0);return y?Kt(y.slide)[l("width")]+(R?0:D()):0}function P(F,R){var y=f(F);if(y){var L=Kt(y.slide)[l("right")],Y=Kt(h)[l("left")];return Mt(L-Y)+(R?0:D())}return 0}function N(F){return P(r.length-1)-P(0)+A(0,F)}function D(){var F=f(0);return F&&parseFloat(lr(F.slide,l("marginRight")))||0}function W(F){return parseFloat(lr(d,l("padding"+(F?"Right":"Left"))))||0}function V(){return r.is(ds)||N(!0)>M()}return{mount:v,resize:x,listSize:M,slideSize:A,sliderSize:N,totalSize:P,getPadding:W,isOverflow:V}}var My=2;function Py(r,e,t){var i=Ae(r),n=i.on,o=e.Elements,s=e.Slides,a=e.Direction.resolve,l=[],u;function c(){n(Ue,d),n([Pt,rs],f),(u=g())&&(_(u),e.Layout.resize(!0))}function d(){h(),c()}function h(){on(l),Gr(l),i.destroy()}function f(){var m=g();u!==m&&(u<m||!m)&&i.emit(Ue)}function _(m){var v=s.get().slice(),w=v.length;if(w){for(;v.length<m;)Pa(v,v);Pa(v.slice(-m),v.slice(0,m)).forEach(function(x,b){var E=b<m,S=p(x.slide,b);E?Sc(S,v[0].slide):as(o.list,S),Pa(l,S),s.register(S,b-m+(E?0:w),x.index)})}}function p(m,v){var w=m.cloneNode(!0);return xr(w,t.classes.clone),w.id=r.root.id+"-clone"+Ac(v+1),w}function g(){var m=t.clones;if(!r.is(jn))m=0;else if(os(m)){var v=t[a("fixedWidth")]&&e.Layout.slideSize(0),w=v&&ts(Kt(o.track)[a("width")]/v);m=w||t[a("autoWidth")]&&r.length||t.perPage*My}return m}return{mount:c,destroy:h}}function Ly(r,e,t){var i=Ae(r),n=i.on,o=i.emit,s=r.state.set,a=e.Layout,l=a.slideSize,u=a.getPadding,c=a.totalSize,d=a.listSize,h=a.sliderSize,f=e.Direction,_=f.resolve,p=f.orient,g=e.Elements,m=g.list,v=g.track,w;function x(){w=e.Transition,n([an,Cc,Pt,Ue],b)}function b(){e.Controller.isBusy()||(e.Scroll.cancel(),S(r.index),e.Slides.update())}function E(y,L,Y,K){y!==L&&F(y>Y)&&(M(),T(O(N(),y>Y),!0)),s(Gn),o(bi,L,Y,y),w.start(L,function(){s(Xn),o(cs,L,Y,y),K&&K()})}function S(y){T(P(y,!0))}function T(y,L){if(!r.is(ds)){var Y=L?y:C(y);lr(m,"transform","translate"+_("X")+"("+Y+"px)"),y!==Y&&o(a_)}}function C(y){if(r.is(jn)){var L=A(y),Y=L>e.Controller.getEnd(),K=L<0;(K||Y)&&(y=O(y,Y))}return y}function O(y,L){var Y=y-V(L),K=h();return y-=p(K*(ts(Mt(Y)/K)||1))*(L?1:-1),y}function M(){T(N(),!0),w.cancel()}function A(y){for(var L=e.Slides.get(),Y=0,K=1/0,j=0;j<L.length;j++){var fe=L[j].index,H=Mt(P(fe,!0)-y);if(H<=K)K=H,Y=fe;else break}return Y}function P(y,L){var Y=p(c(y-1)-W(y));return L?D(Y):Y}function N(){var y=_("left");return Kt(m)[y]-Kt(v)[y]+p(u(!1))}function D(y){return t.trimSpace&&r.is(Un)&&(y=Vn(y,0,p(h(!0)-d()))),y}function W(y){var L=t.focus;return L==="center"?(d()-l(y,!0))/2:+L*l(y)||0}function V(y){return P(y?e.Controller.getEnd():0,!!t.trimSpace)}function F(y){var L=p(O(N(),y));return y?L>=0:L<=m[_("scrollWidth")]-Kt(v)[_("width")]}function R(y,L){L=os(L)?N():L;var Y=y!==!0&&p(L)<p(V(!1)),K=y!==!1&&p(L)>p(V(!0));return Y||K}return{mount:x,move:E,jump:S,translate:T,shift:O,cancel:M,toIndex:A,toPosition:P,getPosition:N,getLimit:V,exceededLimit:R,reposition:b}}function Ry(r,e,t){var i=Ae(r),n=i.on,o=i.emit,s=e.Move,a=s.getPosition,l=s.getLimit,u=s.toPosition,c=e.Slides,d=c.isEnough,h=c.getLength,f=t.omitEnd,_=r.is(jn),p=r.is(Un),g=ve(N,!1),m=ve(N,!0),v=t.start||0,w,x=v,b,E,S;function T(){C(),n([Pt,Ue,za],C),n(Cc,O)}function C(){b=h(!0),E=t.perMove,S=t.perPage,w=F();var H=Vn(v,0,f?w:b-1);H!==v&&(v=H,s.reposition())}function O(){w!==F()&&o(za)}function M(H,G,ce){if(!fe()){var re=P(H),oe=V(re);oe>-1&&(G||oe!==v)&&(Y(oe),s.move(re,oe,x,ce))}}function A(H,G,ce,re){e.Scroll.scroll(H,G,ce,function(){var oe=V(s.toIndex(a()));Y(f?wi(oe,w):oe),re&&re()})}function P(H){var G=v;if(yi(H)){var ce=H.match(/([+\-<>])(\d+)?/)||[],re=ce[1],oe=ce[2];re==="+"||re==="-"?G=D(v+ +(""+re+(+oe||1)),v):re===">"?G=oe?R(+oe):g(!0):re==="<"&&(G=m(!0))}else G=_?H:Vn(H,0,w);return G}function N(H,G){var ce=E||(j()?1:S),re=D(v+ce*(H?-1:1),v,!(E||j()));return re===-1&&p&&!Qp(a(),l(!H),1)?H?0:w:G?re:V(re)}function D(H,G,ce){if(d()||j()){var re=W(H);re!==H&&(G=H,H=re,ce=!1),H<0||H>w?!E&&(La(0,H,G,!0)||La(w,G,H,!0))?H=R(y(H)):_?H=ce?H<0?-(b%S||S):b:H:t.rewind?H=H<0?w:0:H=-1:ce&&H!==G&&(H=R(y(G)+(H<G?-1:1)))}else H=-1;return H}function W(H){if(p&&t.trimSpace==="move"&&H!==v)for(var G=a();G===u(H,!0)&&La(H,0,r.length-1,!t.rewind);)H<v?--H:++H;return H}function V(H){return _?(H+b)%b||0:H}function F(){for(var H=b-(j()||_&&E?1:S);f&&H-- >0;)if(u(b-1,!0)!==u(H,!0)){H++;break}return Vn(H,0,b-1)}function R(H){return Vn(j()?H:S*H,0,w)}function y(H){return j()?wi(H,w):Na((H>=w?b-1:H)/S)}function L(H){var G=s.toIndex(H);return p?Vn(G,0,w):G}function Y(H){H!==v&&(x=v,v=H)}function K(H){return H?x:v}function j(){return!os(t.focus)||t.isNavigation}function fe(){return r.state.is([Gn,ns])&&!!t.waitForTransition}return{mount:T,go:M,scroll:A,getNext:g,getPrev:m,getAdjacent:N,getEnd:F,setIndex:Y,getIndex:K,toIndex:R,toPage:y,toDest:L,hasFocus:j,isBusy:fe}}var Dy="http://www.w3.org/2000/svg",Iy="m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z",ka=40;function Ny(r,e,t){var i=Ae(r),n=i.on,o=i.bind,s=i.emit,a=t.classes,l=t.i18n,u=e.Elements,c=e.Controller,d=u.arrows,h=u.track,f=d,_=u.prev,p=u.next,g,m,v={};function w(){b(),n(Pt,x)}function x(){E(),w()}function b(){var A=t.arrows;A&&!(_&&p)&&C(),_&&p&&(Jo(v,{prev:_,next:p}),es(f,A?"":"none"),xr(f,m=Lc+"--"+t.direction),A&&(S(),M(),te([_,p],fs,h.id),s(oy,_,p)))}function E(){i.destroy(),Xr(f,m),g?(on(d?[_,p]:f),_=p=null):Sr([_,p],Pc)}function S(){n([an,cs,Ue,$n,za],M),o(p,"click",ve(T,">")),o(_,"click",ve(T,"<"))}function T(A){c.go(A,!0)}function C(){f=d||qn("div",a.arrows),_=O(!0),p=O(!1),g=!0,as(f,[_,p]),!d&&Sc(f,h)}function O(A){var P='<button class="'+a.arrow+" "+(A?a.prev:a.next)+'" type="button"><svg xmlns="'+Dy+'" viewBox="0 0 '+ka+" "+ka+'" width="'+ka+'" height="'+ka+'" focusable="false"><path d="'+(t.arrowPath||Iy)+'" />';return Kp(P)}function M(){if(_&&p){var A=r.index,P=c.getPrev(),N=c.getNext(),D=P>-1&&A<P?l.last:l.prev,W=N>-1&&A>N?l.first:l.next;_.disabled=P<0,p.disabled=N<0,te(_,Zt,D),te(p,Zt,W),s(sy,_,p,P,N)}}return{arrows:v,mount:w,destroy:E,update:M}}var zy=Tc+"-interval";function Fy(r,e,t){var i=Ae(r),n=i.on,o=i.bind,s=i.emit,a=Ha(t.interval,r.go.bind(r,">"),S),l=a.isPaused,u=e.Elements,c=e.Elements,d=c.root,h=c.toggle,f=t.autoplay,_,p,g=f==="pause";function m(){f&&(v(),h&&te(h,fs,u.track.id),g||w(),E())}function v(){t.pauseOnHover&&o(d,"mouseenter mouseleave",function(C){_=C.type==="mouseenter",b()}),t.pauseOnFocus&&o(d,"focusin focusout",function(C){p=C.type==="focusin",b()}),h&&o(h,"click",function(){g?w():x(!0)}),n([bi,Oc,Ue],a.rewind),n(bi,T)}function w(){l()&&e.Slides.isEnough()&&(a.start(!t.resetProgress),p=_=g=!1,E(),s(i_))}function x(C){C===void 0&&(C=!0),g=!!C,E(),l()||(a.pause(),s(n_))}function b(){g||(_||p?x(!1):w())}function E(){h&&(Yr(h,sn,!g),te(h,Zt,t.i18n[g?"play":"pause"]))}function S(C){var O=u.bar;O&&lr(O,"width",C*100+"%"),s(uy,C)}function T(C){var O=e.Slides.getAt(C);a.set(O&&+ur(O.slide,zy)||t.interval)}return{mount:m,destroy:a.cancel,play:w,pause:x,isPaused:l}}function Hy(r,e,t){var i=Ae(r),n=i.on;function o(){t.cover&&(n(o_,ve(a,!0)),n([an,Pt,Ue],ve(s,!0)))}function s(l){e.Slides.forEach(function(u){var c=ls(u.container||u.slide,"img");c&&c.src&&a(l,c,u)})}function a(l,u,c){c.style("background",l?'center/cover no-repeat url("'+u.src+'")':"",!0),es(u,l?"none":"")}return{mount:o,destroy:ve(s,!1)}}var Vy=10,Wy=600,By=.6,qy=1.5,Yy=800;function Xy(r,e,t){var i=Ae(r),n=i.on,o=i.emit,s=r.state.set,a=e.Move,l=a.getPosition,u=a.getLimit,c=a.exceededLimit,d=a.translate,h=r.is(Un),f,_,p=1;function g(){n(bi,x),n([Pt,Ue],b)}function m(S,T,C,O,M){var A=l();if(x(),C&&(!h||!c())){var P=e.Layout.sliderSize(),N=gc(S)*P*Na(Mt(S)/P)||0;S=a.toPosition(e.Controller.toDest(S%P))+N}var D=Qp(A,S,1);p=1,T=D?0:T||Ia(Mt(S-A)/qy,Yy),_=O,f=Ha(T,v,ve(w,A,S,M),1),s(ns),o(Oc),f.start()}function v(){s(Xn),_&&_(),o($n)}function w(S,T,C,O){var M=l(),A=S+(T-S)*E(O),P=(A-M)*p;d(M+P),h&&!C&&c()&&(p*=By,Mt(P)<Vy&&m(u(c(!0)),Wy,!1,_,!0))}function x(){f&&f.cancel()}function b(){f&&!f.isPaused()&&(x(),v())}function E(S){var T=t.easingFunc;return T?T(S):1-Math.pow(1-S,4)}return{mount:g,destroy:x,scroll:m,cancel:b}}var Wn={passive:!1,capture:!0};function Uy(r,e,t){var i=Ae(r),n=i.on,o=i.emit,s=i.bind,a=i.unbind,l=r.state,u=e.Move,c=e.Scroll,d=e.Controller,h=e.Elements.track,f=e.Media.reduce,_=e.Direction,p=_.resolve,g=_.orient,m=u.getPosition,v=u.exceededLimit,w,x,b,E,S,T=!1,C,O,M;function A(){s(h,dc,pc,Wn),s(h,hc,pc,Wn),s(h,w_,N,Wn),s(h,"click",V,{capture:!0}),s(h,"dragstart",qr),n([an,Pt],P)}function P(){var z=t.drag;Qe(!z),E=z==="free"}function N(z){if(C=!1,!O){var Z=oe(z);re(z.target)&&(Z||!z.button)&&(d.isBusy()?qr(z,!0):(M=Z?h:window,S=l.is([Gn,ns]),b=null,s(M,dc,D,Wn),s(M,hc,W,Wn),u.cancel(),c.cancel(),F(z)))}}function D(z){if(l.is(Ma)||(l.set(Ma),o(ty)),z.cancelable)if(S){u.translate(w+ce(j(z)));var Z=fe(z)>qp,Ce=T!==(T=v());(Z||Ce)&&F(z),C=!0,o(ry),qr(z)}else L(z)&&(S=y(z),qr(z))}function W(z){l.is(Ma)&&(l.set(Xn),o(iy)),S&&(R(z),qr(z)),a(M,dc,D),a(M,hc,W),S=!1}function V(z){!O&&C&&qr(z,!0)}function F(z){b=x,x=z,w=m()}function R(z){var Z=Y(z),Ce=K(Z),We=t.rewind&&t.rewindByDrag;f(!1),E?d.scroll(Ce,0,t.snap):r.is(ds)?d.go(g(gc(Z))<0?We?"<":"-":We?">":"+"):r.is(Un)&&T&&We?d.go(v(!0)?">":"<"):d.go(d.toDest(Ce),!0),f(!0)}function y(z){var Z=t.dragMinThreshold,Ce=Ko(Z),We=Ce&&Z.mouse||0,k=(Ce?Z.touch:+Z)||10;return Mt(j(z))>(oe(z)?k:We)}function L(z){return Mt(j(z))>Mt(j(z,!0))}function Y(z){if(r.is(jn)||!T){var Z=fe(z);if(Z&&Z<qp)return j(z)/Z}return 0}function K(z){return m()+gc(z)*wi(Mt(z)*(t.flickPower||600),E?1/0:e.Layout.listSize()*(t.flickMaxPages||1))}function j(z,Z){return G(z,Z)-G(H(z),Z)}function fe(z){return _c(z)-_c(H(z))}function H(z){return x===z&&b||x}function G(z,Z){return(oe(z)?z.changedTouches[0]:z)["page"+p(Z?"Y":"X")]}function ce(z){return z/(T&&r.is(Un)?Ty:1)}function re(z){var Z=t.noDrag;return!Zo(z,"."+__+", ."+Xa)&&(!Z||!Zo(z,Z))}function oe(z){return typeof TouchEvent<"u"&&z instanceof TouchEvent}function Ze(){return S}function Qe(z){O=z}return{mount:A,disable:Qe,isDragging:Ze}}var Gy={Spacebar:" ",Right:Ba,Left:Wa,Up:l_,Down:u_};function Dc(r){return r=yi(r)?r:r.key,Gy[r]||r}var Yp="keydown";function $y(r,e,t){var i=Ae(r),n=i.on,o=i.bind,s=i.unbind,a=r.root,l=e.Direction.resolve,u,c;function d(){h(),n(Pt,f),n(Pt,h),n(bi,p)}function h(){var m=t.keyboard;m&&(u=m==="global"?window:a,o(u,Yp,g))}function f(){s(u,Yp)}function _(m){c=m}function p(){var m=c;c=!0,Xp(function(){c=m})}function g(m){if(!c){var v=Dc(m);v===l(Wa)?r.go("<"):v===l(Ba)&&r.go(">")}}return{mount:d,destroy:f,disable:_}}var jo=Tc+"-lazy",Ra=jo+"-srcset",jy="["+jo+"], ["+Ra+"]";function Ky(r,e,t){var i=Ae(r),n=i.on,o=i.off,s=i.bind,a=i.emit,l=t.lazyLoad==="sequential",u=[cs,$n],c=[];function d(){t.lazyLoad&&(h(),n(Ue,h))}function h(){Gr(c),f(),l?m():(o(u),n(u,_),_())}function f(){e.Slides.forEach(function(v){Ec(v.slide,jy).forEach(function(w){var x=ur(w,jo),b=ur(w,Ra);if(x!==w.src||b!==w.srcset){var E=t.classes.spinner,S=w.parentElement,T=ls(S,"."+E)||qn("span",E,S);c.push([w,v,T]),w.src||es(w,"none")}})})}function _(){c=c.filter(function(v){var w=t.perPage*((t.preloadPages||1)+1)-1;return v[1].isWithin(r.index,w)?p(v):!0}),c.length||o(u)}function p(v){var w=v[0];xr(v[1].slide,yc),s(w,"load error",ve(g,v)),te(w,"src",ur(w,jo)),te(w,"srcset",ur(w,Ra)),Sr(w,jo),Sr(w,Ra)}function g(v,w){var x=v[0],b=v[1];Xr(b.slide,yc),w.type!=="error"&&(on(v[2]),es(x,""),a(o_,x,b),a(rs)),l&&m()}function m(){c.length&&p(c.shift())}return{mount:d,destroy:ve(Gr,c),check:_}}function Zy(r,e,t){var i=Ae(r),n=i.on,o=i.emit,s=i.bind,a=e.Slides,l=e.Elements,u=e.Controller,c=u.hasFocus,d=u.getIndex,h=u.go,f=e.Direction.resolve,_=l.pagination,p=[],g,m;function v(){w(),n([Pt,Ue,za],v);var O=t.pagination;_&&es(_,O?"":"none"),O&&(n([bi,Oc,$n],C),x(),C(),o(ay,{list:g,items:p},T(r.index)))}function w(){g&&(on(_?xi(g.children):g),Xr(g,m),Gr(p),g=null),i.destroy()}function x(){var O=r.length,M=t.classes,A=t.i18n,P=t.perPage,N=c()?u.getEnd()+1:ts(O/P);g=_||qn("ul",M.pagination,l.track.parentElement),xr(g,m=Ua+"--"+S()),te(g,Ur,"tablist"),te(g,Zt,A.select),te(g,Mc,S()===qa?"vertical":"");for(var D=0;D<N;D++){var W=qn("li",null,g),V=qn("button",{class:M.page,type:"button"},W),F=a.getIn(D).map(function(y){return y.slide.id}),R=!c()&&P>1?A.pageX:A.slideX;s(V,"click",ve(b,D)),t.paginationKeyboard&&s(V,"keydown",ve(E,D)),te(W,Ur,"presentation"),te(V,Ur,"tab"),te(V,fs,F.join(" ")),te(V,Zt,mc(R,D+1)),te(V,Yn,-1),p.push({li:W,button:V,page:D})}}function b(O){h(">"+O,!0)}function E(O,M){var A=p.length,P=Dc(M),N=S(),D=-1;P===f(Ba,!1,N)?D=++O%A:P===f(Wa,!1,N)?D=(--O+A)%A:P==="Home"?D=0:P==="End"&&(D=A-1);var W=p[D];W&&(jp(W.button),h(">"+D),qr(M,!0))}function S(){return t.paginationDirection||t.direction}function T(O){return p[u.toPage(O)]}function C(){var O=T(d(!0)),M=T(d());if(O){var A=O.button;Xr(A,sn),Sr(A,Fp),te(A,Yn,-1)}if(M){var P=M.button;xr(P,sn),te(P,Fp,!0),te(P,Yn,"")}o(ly,{list:g,items:p},O,M)}return{items:p,mount:v,destroy:w,getAt:T,update:C}}var Qy=[" ","Enter"];function Jy(r,e,t){var i=t.isNavigation,n=t.slideFocus,o=[];function s(){r.splides.forEach(function(_){_.isParent||(u(r,_.splide),u(_.splide,r))}),i&&c()}function a(){o.forEach(function(_){_.destroy()}),Gr(o)}function l(){a(),s()}function u(_,p){var g=Ae(_);g.on(bi,function(m,v,w){p.go(p.is(jn)?w:m)}),o.push(g)}function c(){var _=Ae(r),p=_.on;p(e_,h),p(s_,f),p([an,Pt],d),o.push(_),_.emit(r_,r.splides)}function d(){te(e.Elements.list,Mc,t.direction===qa?"vertical":"")}function h(_){r.go(_.index)}function f(_,p){xc(Qy,Dc(p))&&(h(_),qr(p))}return{setup:ve(e.Media.set,{slideFocus:os(n)?i:n},!0),mount:s,destroy:a,remount:l}}function e1(r,e,t){var i=Ae(r),n=i.bind,o=0;function s(){t.wheel&&n(e.Elements.track,"wheel",a,Wn)}function a(u){if(u.cancelable){var c=u.deltaY,d=c<0,h=_c(u),f=t.wheelMinThreshold||0,_=t.wheelSleep||0;Mt(c)>f&&h-o>_&&(r.go(d?"<":">"),o=h),l(d)&&qr(u)}}function l(u){return!t.releaseWheel||r.state.is(Gn)||e.Controller.getAdjacent(u)!==-1}return{mount:s}}var t1=90;function r1(r,e,t){var i=Ae(r),n=i.on,o=e.Elements.track,s=t.live&&!t.isNavigation,a=qn("span",wy),l=Ha(t1,ve(c,!1));function u(){s&&(h(!e.Autoplay.isPaused()),te(o,Wp,!0),a.textContent="\u2026",n(i_,ve(h,!0)),n(n_,ve(h,!1)),n([cs,$n],ve(c,!0)))}function c(f){te(o,Vp,f),f?(as(o,a),l.start()):(on(a),l.cancel())}function d(){Sr(o,[Hp,Wp,Vp]),on(a)}function h(f){s&&te(o,Hp,f?"off":"polite")}return{mount:u,disable:h,destroy:d}}var i1=Object.freeze({__proto__:null,Media:dy,Direction:hy,Elements:Ay,Slides:Oy,Layout:ky,Clones:Py,Move:Ly,Controller:Ry,Arrows:Ny,Autoplay:Fy,Cover:Hy,Scroll:Xy,Drag:Uy,Keyboard:$y,LazyLoad:Ky,Pagination:Zy,Sync:Jy,Wheel:e1,Live:r1}),n1={prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},o1={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:Sy,i18n:n1,reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function s1(r,e,t){var i=e.Slides;function n(){Ae(r).on([an,Ue],o)}function o(){i.forEach(function(a){a.style("transform","translateX(-"+100*a.index+"%)")})}function s(a,l){i.style("transition","opacity "+t.speed+"ms "+t.easing),Xp(l)}return{mount:n,start:s,cancel:pc}}function a1(r,e,t){var i=e.Move,n=e.Controller,o=e.Scroll,s=e.Elements.list,a=ve(lr,s,"transition"),l;function u(){Ae(r).bind(s,"transitionend",function(f){f.target===s&&l&&(d(),l())})}function c(f,_){var p=i.toPosition(f,!0),g=i.getPosition(),m=h(f);Mt(p-g)>=1&&m>=1?t.useScroll?o.scroll(p,m,!1,_):(a("transform "+m+"ms "+t.easing),i.translate(p,!0),l=_):(i.jump(f),_())}function d(){a(""),o.cancel()}function h(f){var _=t.rewindSpeed;if(r.is(Un)&&_){var p=n.getIndex(!0),g=n.getEnd();if(p===0&&f>=g||p>=g&&f===0)return _}return t.speed}return{mount:u,start:c,cancel:d}}var l1=function(){function r(t,i){this.event=Ae(),this.Components={},this.state=cy(Bn),this.splides=[],this._o={},this._E={};var n=yi(t)?Zp(document,t):t;$o(n,n+" is invalid."),this.root=n,i=vi({label:ur(n,Zt)||"",labelledby:ur(n,kc)||""},o1,r.defaults,i||{});try{vi(i,JSON.parse(ur(n,Tc)))}catch{$o(!1,"Invalid JSON")}this._o=Object.create(vi({},i))}var e=r.prototype;return e.mount=function(i,n){var o=this,s=this.state,a=this.Components;$o(s.is([Bn,Da]),"Already mounted!"),s.set(Bn),this._C=a,this._T=n||this._T||(this.is(ds)?s1:a1),this._E=i||this._E;var l=Jo({},i1,this._E,{Transition:this._T});return nn(l,function(u,c){var d=u(o,a,o._o);a[c]=d,d.setup&&d.setup()}),nn(a,function(u){u.mount&&u.mount()}),this.emit(an),xr(this.root,by),s.set(Xn),this.emit(Np),this},e.sync=function(i){return this.splides.push({splide:i}),i.splides.push({splide:this,isParent:!0}),this.state.is(Xn)&&(this._C.Sync.remount(),i.Components.Sync.remount()),this},e.go=function(i){return this._C.Controller.go(i),this},e.on=function(i,n){return this.event.on(i,n),this},e.off=function(i){return this.event.off(i),this},e.emit=function(i){var n;return(n=this.event).emit.apply(n,[i].concat(xi(arguments,1))),this},e.add=function(i,n){return this._C.Slides.add(i,n),this},e.remove=function(i){return this._C.Slides.remove(i),this},e.is=function(i){return this._o.type===i},e.refresh=function(){return this.emit(Ue),this},e.destroy=function(i){i===void 0&&(i=!0);var n=this.event,o=this.state;return o.is(Bn)?Ae(this).on(Np,this.destroy.bind(this,i)):(nn(this._C,function(s){s.destroy&&s.destroy(i)},!0),n.emit(t_),n.destroy(),i&&Gr(this.splides),o.set(Da)),this},Gv(r,[{key:"options",get:function(){return this._o},set:function(i){this._C.Media.set(i,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}]),r}(),$r=l1;$r.defaults={};$r.STATES=jv;I.registerPlugin(X,tn,mi,jt);console.log("SplitText:",typeof jt);console.log("Registered plugins:",I.plugins);function u1(){mi.create("loader","0.83, 0, 0.17, 1"),mi.create("loader2","0.77, 0, 0.175, 1")}var ln;function c1(){window.addEventListener("load",()=>{console.log("[ScrollTrigger] Page fully loaded \u2014 refreshing all triggers"),setTimeout(()=>{X.refresh(),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&setTimeout(()=>{X.refresh(),console.log("[Safari] Additional ScrollTrigger refresh")},500)},200)}),window.addEventListener("resize",()=>{/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&setTimeout(()=>{X.refresh()},100)})}function f1(){let r=document.querySelector(".contact-modal_main-wrapper"),e=document.querySelector(".contact-modal_content-wrapper");ln=I.timeline({paused:!0}),ln.to(r,{autoAlpha:1,duration:.3,ease:"loader2"}),ln.from(e,{x:"100%",duration:.4,ease:"loader2"},"-=0.2");function t(){document.querySelectorAll("[project-category]").forEach(n=>{n.addEventListener("click",()=>{let o=n.textContent.trim().toLowerCase(),s=document.querySelector(`.contact-modal_main-wrapper input[type="checkbox"][data-name="${o}"]`);s?(s.click(),console.log(`Clicked on checkbox for ${o}`)):console.log(`No checkbox found for ${o}`)})})}t()}function d1(){window.location.search.includes("contact")&&ln&&ln.play()}var xe=new Is({duration:1.2,easing:r=>Math.min(1,1.001-Math.pow(2,-10*r))});function h1(){let r=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);xe.on("scroll",t=>{X.update(),r&&requestAnimationFrame(()=>{X.update()})}),I.ticker.add(t=>{xe.raf(t*1e3)}),I.ticker.lagSmoothing(0);function e(t){xe.raf(t),requestAnimationFrame(e)}requestAnimationFrame(e)}function p1(){let r=[].slice.call(document.querySelectorAll("video.lazyload"));if("IntersectionObserver"in window){let e=new IntersectionObserver(function(t,i){t.forEach(function(n){if(n.isIntersecting){for(let o of n.target.children)o.setAttribute("src",o.getAttribute("data-src"));n.target.load(),n.target.play(),e.unobserve(n.target)}})});r.forEach(function(t){e.observe(t)})}}function _1(){window.addEventListener("pageshow",function(r){r.persisted&&window.location.reload()})}function g1(){function r(){let e=document.querySelector(".w-nav-overlay"),t={attributes:!0,attributeFilter:["style"]},i=function(o,s){for(let a of o)a.type==="attributes"&&a.attributeName==="style"&&(e.style.display==="none"?(document.body.classList.remove("is-scroll-off"),xe.start()):(document.body.classList.add("is-scroll-off"),xe.stop()))};new MutationObserver(i).observe(e,t)}r()}function m1(){let r=document.querySelector(".is-footer"),e=document.querySelector("#heroSection")||document.querySelector("#heroSectionCs");r&&e&&I.to(e,{scrollTrigger:{trigger:"#bottomWrapper",start:"top bottom",toggleActions:"restart none none reverse"},autoAlpha:0})}function v1(r){return document.querySelector(r)?!0:(console.warn(`Element ${r} not found - skipping animation`),!1)}function y1(){if(console.log("Initializing basic animations without loader"),typeof xe<"u")try{xe.scrollTo(0,{immediate:!0}),xe.start()}catch(r){console.warn("Lenis initialization failed:",r),window.scrollTo(0,0)}else window.scrollTo(0,0)}function w1(){if(console.log("pageLoadAnimation function called"),![".loader_ract.is-left",".loader_ract.is-right",".loader_wrapper"].every(i=>v1(i))){console.warn("Loader elements not found - skipping loader animation"),y1();return}let t=I.timeline({});console.log("GSAP timeline created"),t.add(function(){console.log("First animation step triggered: scrollRestoration and scrollTo"),history.scrollRestoration="manual";let i=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);if(typeof xe<"u"&&xe.scrollTo)try{xe.scrollTo(0,{immediate:!0}),i&&setTimeout(()=>{window.scrollTo(0,0),xe.scrollTo(0,{immediate:!0})},50)}catch(n){console.warn("Lenis scrollTo failed, using fallback:",n),window.scrollTo(0,0)}else window.scrollTo(0,0)}).to(".loader_ract.is-left",{delay:.2,duration:.7,x:"100%",ease:"loader2"},">").to(".loader_ract.is-right",{duration:.7,x:"-100%",ease:"loader2"},"<").add(function(){console.log("lenis started"),typeof xe<"u"&&xe.start&&(xe.start(),setTimeout(()=>{X.refresh()},100))},">").to(".loader_wrapper",{display:"none",duration:.1,onComplete:function(){console.log(".loader_wrapper set to display:none")}},">"),console.log("Animation timeline defined"),window.addEventListener("resize",function(){console.log("Window resize event triggered"),setTimeout(function(){document.querySelector(".loader_wrapper")&&(console.log("Set .loader_wrapper to display:none on resize"),I.set(".loader_wrapper",{display:"none"}))},50)})}function b1(){document.querySelectorAll('a:not([/**/href^="#"]):not([href^="javascript:"]):not([href=""]):not([href^="mailto:"]):not([href^="tel:"])').forEach(e=>{e.getAttribute("target")!=="_blank"&&e.addEventListener("click",t=>{t.preventDefault();let i=I.timeline({onComplete:()=>{window.location.href=e.href}});i.to(".unloader_wrapper",{display:"flex",duration:.05}),i.from(".unloader_ract",{duration:.4,height:"0%",ease:"loader2"}),i.play()})})}var x1=document.querySelector(".info-bar"),b_=I.timeline({paused:!0});b_.to(".navbar",{y:"-100%",duration:.2,ease:"loader2"});x1&&b_.to(".button_small.is-navbar",{top:"1.75rem",duration:.2,ease:"loader2"},"<");function S1(){let r=document.querySelectorAll('[wide="customCursor"]'),e=document.querySelector(".custom_cursor");r.forEach(t=>{t.addEventListener("mousedown",function(){e.style.transform="scale3d(0.8, 0.8, 1)"}),t.addEventListener("mouseup",function(){e.style.transform="scale3d(1, 1, 1)"})})}window.heroFixedSections=function(r){I.matchMedia().add("(min-width: 992px)",()=>{document.querySelectorAll(".herofixedsection").forEach((i,n)=>{X.create({trigger:i,start:()=>i.offsetHeight<window.innerHeight?"top top":"bottom bottom",pin:!0,markers:!1,pinSpacing:!1,scrub:3})});let t=document.querySelector(".cover-bg");t&&X.create({trigger:".cover-bg",start:"bottom center+=300",end:"bottom top+=400",scrub:!0,onUpdate:i=>{I.to(t,{opacity:i.progress,overwrite:!0})}})})};window.servicesSliders=function(r){let e={type:"loop",perPage:1,gap:0,arrows:!1,drag:!1,duration:.15,easing:"cubic-bezier(0.83, 0, 0.17, 1)",classes:{pagination:"splide__pagination services-pagination",page:"splide__pagination__page services-page"},breakpoints:{992:{drag:!0,fixedWidth:"90%"},480:{}}},t=new $r(r,e).mount();window.innerWidth>992&&t.on("click",function(){t.go("+1")}),I.from(r,{scrollTrigger:{trigger:r,start:"top bottom",end:"bottom bottom+=15%",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.standardHeaderScrollAnimation=function(){let r=I.timeline({paused:!0}),e=I.timeline({paused:!0});r.to(".navbar_brand.scale",{scale:.25,duration:1}).to(".wideletter",{y:"-150%",duration:1,ease:"loader2",stagger:.1},0),e.to(".navbar_brand.scale",{scale:1,duration:1}).to(".wideletter",{y:"0%",duration:1,ease:"loader2",stagger:.1},0),X.create({start:"top+=100 top",onEnter:()=>{e.pause(0),r.restart()},onLeaveBack:()=>{r.pause(0),e.restart()}})};window.videoInsideText=function(r){let e=r.querySelector('[class*="copy-this"]');r.querySelector('[class*="headline-span"]').appendChild(e)};window.spanVideoMaskAnimation=function(r){I.to(r,{scrollTrigger:{trigger:r,start:"bottom bottom-=5%"},width:0,ease:"loader2",duration:.6})};window.customCursorText=function(r){r.addEventListener("mouseenter",()=>{let e=r.getAttribute("wideCursorText"),t=document.querySelector(".custom_cursor_text");t.innerHTML=e})};window.heroAnimationOnLoad=function(r){console.log("heroAnimationOnLoad function started");let e=sessionStorage.getItem("hasPlayedHeroAnimation");if(performance.navigation.type===1&&(sessionStorage.removeItem("hasPlayedHeroAnimation"),e=null,console.log("Page reloaded; session flag cleared.")),I.set(".wideletter",{y:"-150%",scale:1}),I.set("#heroHeading",{opacity:0}),typeof xe<"u"){console.log("Lenis instance found, attempting to scroll to top");let c=/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?300:100;setTimeout(()=>{xe.scrollTo(0,{duration:0,easing:d=>d}),console.log("Lenis scrollTo action called after delay")},c)}let t=r.querySelector(".hero_headline_ract-mask"),i=r.querySelector("video.lazyload"),n=I.timeline({}),o,s,a;try{if(o=new jt("#heroHeading",{type:"lines",linesClass:"hero-line"}),s=new jt("#heroHeading",{type:"lines",linesClass:"hero-line-mask"}),a=document.querySelectorAll(".hero-line"),a.length===0)throw new Error("SplitText failed to create lines")}catch(u){console.error("SplitText error:",u),a=[document.querySelector("#heroHeading")],a[0]&&a[0].classList.add("hero-line")}if(a.length===0){console.error("GSAP target .hero-line not found.");return}function l(){let u=window.innerWidth<992,c=i.getAttribute("mobile-mp4"),d=i.getAttribute("mobile-webm"),h=i.querySelector('source[type="video/mp4"]'),f=i.querySelector('source[type="video/webm"]');u?(c&&h.setAttribute("data-src",c),d&&f.setAttribute("data-src",d)):(h.setAttribute("data-src",h.getAttribute("data-src").replace("mobile-","")),f.setAttribute("data-src",f.getAttribute("data-src").replace("mobile-","")))}l(),window.addEventListener("resize",l),i&&(i.setAttribute("data-no-autoplay","true"),i.addEventListener("loadeddata",()=>{i.hasAttribute("data-no-autoplay")&&i.pause()})),e?console.log("Skipping initial hero line animations as they have already been played in this session"):(console.log("Initial settings applied to hero lines"),I.set(".navbar_brand_lottie",{opacity:1}),I.set("#heroHeading",{opacity:0}),I.set(".hero-line",{y:"100%"}),n.to(".navbar_brand_lottie",{duration:1.5,onComplete:function(){console.log("Lottie animation completed"),I.to(".navbar_brand_lottie",{opacity:0,duration:.25})}}),n.to("#heroHeading",{opacity:1,duration:.1,ease:"none"},"+=0.1"),n.fromTo(".hero-line",{y:"100%"},{duration:.75,y:"0%",stagger:.2,ease:"loader2"},"<"),n.to("#heroHeading",{opacity:0,duration:.3,ease:"loader2"},"+=1"),sessionStorage.setItem("hasPlayedHeroAnimation","true")),n.to(".preloader",{scaleY:0,display:"none",duration:1,ease:"loader"}),n.fromTo(".wideletter",{y:"-150%",scale:1},{y:"0%",duration:1,ease:"loader2",stagger:.1},"-=0.5").call(()=>{i&&(i.removeAttribute("data-no-autoplay"),i.play())},null,"<"),n.from("#heroBottomWrapper",{opacity:0,duration:1,ease:"loader2"},">-0.4"),console.log("Animation timeline setup completed")};window.briefContact=function(r){let e=document.querySelector(".brief-button"),t=document.querySelector("#bottomWrapperOverlay");if(!e||!t)return;function i(){let n=window.pageYOffset||document.documentElement.scrollTop,o=t.getBoundingClientRect(),s=o.top+n,a=o.bottom+n;n>=s&&n<a?e.style.opacity=0:e.style.opacity=1}window.addEventListener("scroll",i),i(),I.utils.toArray("section").forEach((n,o)=>{X.create({trigger:n,start:"top top",end:"bottom top",toggleClass:{targets:e,className:"scrolled-over",addTriggerCondition:s=>s.direction===-1}})})};window.contactUsHide=function(r){I.to(r,{autoAlpha:0,duration:.15,ease:"loader2",scrollTrigger:{trigger:".contactushide",start:"top center",toggleActions:"play none none reverse"}})};window.caseCategories=function(r){let e=document.querySelectorAll(".summary-title");function t(){e.forEach(i=>{i.style.color=""})}e.forEach(i=>{i.addEventListener("mouseenter",()=>{e.forEach(n=>{I.to(n,{duration:0,color:"var(--wide-gray-400)"})}),I.to(i,{duration:0,color:"var(--wide-black)"})}),i.addEventListener("mouseleave",()=>{setTimeout(()=>{Array.from(e).some(o=>o.matches(":hover"))||t()},0)})})};window.textScroll=function(r){let e=I.timeline({scrollTrigger:{trigger:".stats-content_wrapper",start:"top center+=200"}}),t=new jt("#heroHeading",{type:"lines",linesClass:"hero-line"}),i=new jt("#heroHeading",{type:"lines",linesClass:"hero-line-mask"});if(document.querySelectorAll(".hero-line").length===0){console.error("GSAP target .hero-line not found.");return}I.set(".hero-line",{y:"100%"}),I.set(".hero-line-mask",{y:"100%"});let o=document.querySelectorAll(".reveal-scroll");e.fromTo(o,{y:"100%",opacity:0},{y:"0%",opacity:1,duration:1.2,stagger:.2,ease:"loader2"}),e.fromTo(".hero-line",{y:"100%"},{duration:1.2,y:"0%",stagger:.2,ease:"loader2"},"<"),e.fromTo(".hero-line-mask",{y:"100%"},{duration:1.2,y:"0%",stagger:.2,ease:"loader2"},"<")};window.HoverMaskVideo=function(r){let e=r.querySelectorAll(".hover-title"),t=r.querySelectorAll(".hover-mask"),i=r.querySelectorAll(".hover-trigger");function n(){e.forEach(s=>{s.style.opacity=""})}function o(s){s.querySelectorAll(".bg-video").forEach(l=>{l.style.display=""})}i.forEach((s,a)=>{let l=!1,u=I.fromTo(t[a],{height:"0rem"},{height:"29.6rem",ease:"loader",duration:.5,paused:!0}),c=Array.from(t[a].querySelectorAll(".bg-video")).reverse(),d=I.timeline({paused:!0,repeat:-1});c.forEach((h,f)=>{d.to(h,{display:"none",duration:0,delay:1},f*1)}),s.addEventListener("mouseenter",()=>{l=!0,e[a].style.zIndex=21,u.restart().play(),e.forEach((h,f)=>{f!==a&&I.to(h,{duration:0,opacity:.2})}),I.to(e[a],{duration:0,opacity:1}),u.eventCallback("onComplete",()=>{d.restart().play()})}),s.addEventListener("mouseleave",()=>{l=!1,e[a].style.zIndex="",u.reverse(),d.pause().seek(0),o(t[a]),setTimeout(()=>{Array.from(i).some(f=>f.matches(":hover"))||n()},0)})})};window.animationTest=function(r){I.matchMedia().add("(min-width: 992px)",()=>{let e=r.querySelectorAll(".hover-title"),t=r.querySelectorAll(".hover-mask"),i=r.querySelectorAll(".hover-wrapper");function n(){e.forEach(a=>{a.style.opacity=""})}function o(a){a.querySelectorAll(".bg-video").forEach(u=>{u.style.display=""})}function s(a,l){let u=window.innerWidth,c=window.innerHeight,d=23.75*16,h=17.5*16,_=l.querySelector(".hover-title").getBoundingClientRect(),p,g;do p=Math.max(0,Math.random()*(u-d)),g=Math.max(0,Math.random()*(c-h));while(p<_.right&&p+d>_.left&&g<_.bottom&&g+h>_.top);a.style.left=`${p}px`,a.style.top=`${g}px`}i.forEach((a,l)=>{let u=!1,c=I.fromTo(t[l],{height:"0rem"},{height:"17.5rem",ease:"loader",duration:.4,paused:!0}),d=Array.from(t[l].querySelectorAll(".bg-video")).reverse(),h=I.timeline({paused:!0,repeat:-1});d.forEach((f,_)=>{h.to(f,{display:"block",duration:0},_*.55).to(f,{display:"none",duration:0,delay:.55},_*.55)}),h.to(d,{display:"block",duration:0}),c.eventCallback("onComplete",()=>{u&&h.restart().play()}),a.addEventListener("mouseenter",()=>{u=!0,s(t[l],a),c.restart().play(),e.forEach((f,_)=>{_!==l&&I.to(f,{duration:0,opacity:.2})}),I.to(e[l],{duration:0,opacity:1})}),a.addEventListener("mouseleave",()=>{u=!1,c.reverse(),h.pause().seek(0),o(t[l]),setTimeout(()=>{Array.from(i).some(_=>_.matches(":hover"))||n()},0)})})})};window.animationTest1=function(r){let e=r.querySelectorAll(".hover-title"),t=r.querySelectorAll(".hover-mask"),i=r.querySelectorAll(".hover-wrapper");function n(){e.forEach(a=>{a.style.opacity=""})}function o(a){if(!a)return;a.querySelectorAll(".bg-video").forEach(u=>{I.set(u,{display:"none",x:0,y:0})})}function s(a){if(!a)return;let l=window.innerWidth,u=window.innerHeight,c=23.75*16,d=17.5*16,h=l-c,f=u-d,_=Math.max(0,Math.random()*h),p=Math.max(0,Math.random()*f);a.style.left=`${_}px`,a.style.top=`${p}px`}t.forEach(a=>{a.querySelectorAll(".bg-video").forEach(u=>{I.set(u,{display:"none"})})}),i.forEach((a,l)=>{if(!t[l])return;let u=!1,c=null,d=I.timeline({paused:!0}),h=Array.from(t[l].querySelectorAll(".bg-video"));function f(){h.forEach(_=>s(_))}a.addEventListener("mouseenter",()=>{u=!0,f(),t[l].style.display="flex",e.forEach((g,m)=>{m!==l&&I.to(g,{duration:0,opacity:.2})}),I.to(e[l],{duration:0,opacity:1}),c=I.timeline(),h.forEach((g,m)=>{c.to(g,{display:"inline-block",duration:0,onStart:()=>s(g)},m)}),c.play();let _=h.map(g=>I.quickSetter(g,"x","px")),p=h.map(g=>I.quickSetter(g,"y","px"));a.addEventListener("mousemove",g=>{let{clientX:m,clientY:v}=g,w=window.innerWidth/2,x=window.innerHeight/2,b=(m-w)*.35,E=(v-x)*.35;h.forEach((S,T)=>{I.to(S,{x:b,y:E,delay:T*.1,duration:1,ease:"power2.out",overwrite:"auto"})})})}),a.addEventListener("mouseleave",()=>{u=!1,t[l].style.display="none",o(t[l]),c&&(c.kill(),c=null),d&&(d.kill(),d=I.timeline({paused:!0})),setTimeout(()=>{Array.from(i).some(p=>p.matches(":hover"))||n()},0)})})};window.animationTest2=function(r){let e=r.querySelectorAll(".hover-title"),t=r.querySelectorAll(".hover-mask"),i=r.querySelectorAll(".hover-wrapper");function n(){e.forEach(a=>{a.style.opacity=""})}function o(a){a.querySelectorAll(".bg-video").forEach(u=>{u.style.display=""})}function s(a){let l=window.innerWidth,u=window.innerHeight,c=23.75*16,d=17.5*16,h=l-c,f=u-d,_=Math.max(0,Math.random()*h),p=Math.max(0,Math.random()*f);a.style.left=`${_}px`,a.style.top=`${p}px`}i.forEach((a,l)=>{let u=!1,c=I.fromTo(t[l],{height:"0rem"},{height:"17.5rem",ease:"loader",duration:.5,paused:!0}),d=Array.from(t[l].querySelectorAll(".bg-video")).reverse();function h(){d.forEach(f=>s(f))}a.addEventListener("mouseenter",()=>{u=!0,h(),s(t[l]),c.restart().play(),e.forEach((f,_)=>{_!==l&&I.to(f,{duration:0,opacity:.2})}),I.to(e[l],{duration:0,opacity:1}),c.eventCallback("onComplete",()=>{d.forEach(f=>{I.set(f,{display:"inline-block"})})})}),a.addEventListener("mousemove",f=>{if(!u)return;let{clientX:_,clientY:p}=f,g=window.innerWidth/2,m=window.innerHeight/2,v=(_-g)*1,w=(p-m)*1;d.forEach((x,b)=>{I.to(x,{x:v,y:w,delay:b*.05,duration:.5,ease:"power2.out",overwrite:"auto"})})}),a.addEventListener("mouseleave",()=>{u=!1,c.reverse(),o(t[l]),setTimeout(()=>{Array.from(i).some(_=>_.matches(":hover"))||n()},0)})})};window.animationTest3=function(r){let e=r.querySelectorAll(".hover-title"),t=r.querySelectorAll(".hover-mask"),i=r.querySelectorAll(".hover-wrapper");function n(){e.forEach(a=>{a.style.opacity=""})}function o(a){a.querySelectorAll(".bg-video").forEach(u=>{u.style.display=""})}function s(a,l,u){let h=l-190,f=u-280/2;a.style.left=`${h}px`,a.style.top=`${f}px`}i.forEach((a,l)=>{let u=!1,c=I.fromTo(t[l],{height:"0rem"},{height:"17.5rem",ease:"loader",duration:.5,paused:!0}),d=Array.from(t[l].querySelectorAll(".bg-video")).reverse(),h=I.timeline({paused:!0,repeat:-1});d.forEach((f,_)=>{h.to(f,{display:"none",duration:0,delay:1},_*1)}),a.addEventListener("mouseenter",f=>{u=!0,s(t[l],f.clientX,f.clientY),c.restart().play(),e.forEach((_,p)=>{p!==l&&I.to(_,{duration:0,opacity:.2})}),I.to(e[l],{duration:0,opacity:1}),c.eventCallback("onComplete",()=>{h.restart().play()})}),a.addEventListener("mousemove",f=>{u&&s(t[l],f.clientX,f.clientY)}),a.addEventListener("mouseleave",()=>{u=!1,c.reverse(),h.pause().seek(0),o(t[l]),setTimeout(()=>{Array.from(i).some(_=>_.matches(":hover"))||n()},0)})})};window.animationTest4=function(r){let e=r.querySelectorAll(".h-wrapper"),t=r.querySelectorAll(".hover-mask"),i=r.querySelectorAll(".h-title"),n=380,o=280,s=.7;t.forEach(c=>{c.style.display="none",c.style.position="fixed",c.style.top="0",c.style.left="0",c.style.width="100vw",c.style.height="100vh",c.style.zIndex="999",c.style.pointerEvents="none"});function a(){i.forEach(c=>{c.style.opacity=""})}function l(c){c.querySelectorAll(".bg-video").forEach(h=>{h.style.display="none",h.style.left="",h.style.top="",h.style.position=""})}function u(c,d){let h=d.offsetWidth,f=d.offsetHeight,_=n*s,p=o*s,g=h-_,m=f-p,v=Math.random()*g,w=Math.random()*m;v+n>h&&(v=h-n),w+o>f&&(w=f-o),c.style.left=`${v}px`,c.style.top=`${w}px`,c.style.position="absolute",c.style.width=`${n}px`,c.style.height=`${o}px`,c.style.zIndex="1001",c.style.pointerEvents="none"}e.forEach((c,d)=>{let h=i[d],f=t[d],_=f.querySelectorAll(".bg-video"),p=null,g=!1;_.forEach(m=>{m.style.display="none",m.style.width=`${n}px`,m.style.height=`${o}px`,m.style.position="absolute",m.style.zIndex="1001",m.style.pointerEvents="none"}),c.addEventListener("mouseenter",()=>{g||(g=!0,l(f),f.style.display="block",i.forEach((m,v)=>{m.style.opacity=v===d?"1":"0.2"}),p=I.timeline(),_.forEach((m,v)=>{p.add(()=>{u(m,f)},v),p.to(m,{display:"block",duration:0},v)}),p.play())}),c.addEventListener("mouseleave",()=>{g=!1,p&&(p.kill(),p=null),f.style.display="none",l(f),setTimeout(()=>{Array.from(e).some(v=>v.matches(":hover"))||a()},0)})})};window.pricingInteraction=function(r){window.innerWidth>=992&&X.create({trigger:".tabs-content",start:"top-=48px top",end:"bottom bottom",pin:".tabs-menu",pinSpacing:!1})};window.addEventListener("resize",function(){X.getAll().forEach(r=>r.kill()),window.pricingInteraction()});window.caseStudyInteraction=function(r){let e=r.querySelector(".portfolio_item_image-mask");if(!e){console.error("Mask element not found in:",r);return}let t=I.from(e,{width:"100%",duration:.35,ease:"loader2",paused:!0});X.create({animation:t,trigger:e,start:"top 80%",onEnter:()=>t.play()});let i=r.querySelectorAll(".hovervideo");window.innerWidth>992?i.forEach(n=>{if(!n){console.error("No video element found in:",r);return}n.addEventListener("loadeddata",()=>{n.pause()}),r.addEventListener("mouseenter",o,!1),r.addEventListener("mouseleave",s,!1);function o(){n.play()}function s(){n.pause()}}):i.forEach(n=>{let o=n.getAttribute("poster");n.innerHTML="",n.setAttribute("poster",o),n.load(),n.pause()})};var x_=I.utils.toArray(".panel"),E1=x_.map(r=>X.create({trigger:r,start:"top top"}));x_.forEach((r,e)=>{X.create({trigger:r,start:()=>r.offsetHeight<window.innerHeight?"top top":"bottom bottom",pin:!0,pinSpacing:!1})});X.create({snap:{snapTo:(r,e)=>{let t=E1.map(n=>n.start),i=I.utils.snap(t,e.scroll());return I.utils.normalize(0,X.maxScroll(window),i)},duration:.5}});window.reviewsSlider=function(r){let e=r.querySelector(".splide__slide.reviews_collection_item.is-static").innerHTML,t=r.querySelector(".reviews_collection_item");t.innerHTML=e,t.classList.add("is-static");let i=new $r(r,{type:"slide",fixedWidth:"24.5rem",rewind:!0,focus:0,padding:{left:"2.5rem",right:0},gap:0,omitEnd:!0,arrows:!1,drag:!1,easing:"cubic-bezier(0.83, 0, 0.17, 1)",snap:!0,classes:{pagination:"splide__pagination reviews-pagination",page:"splide__pagination__page reviews-page"},breakpoints:{992:{fixedWidth:"17.438rem",padding:{left:"1.75rem"},drag:"free",snap:!1},480:{fixedWidth:"16.25rem",padding:{left:"1.375rem"}}}}).mount();window.innerWidth>992&&i.on("click",function(){i.go("+1")}),I.from(r,{scrollTrigger:{trigger:r,start:"top bottom",end:"bottom bottom-=15%",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.reviewsSlider=function(r){let e=r.querySelector(".splide__slide.reviews_collection_item.is-static").innerHTML,t=r.querySelector(".reviews_collection_item");t.innerHTML=e,t.classList.add("is-static");let i=new $r(r,{type:"slide",fixedWidth:"24.5rem",rewind:!0,focus:0,padding:{left:"2.5rem",right:0},gap:0,omitEnd:!0,arrows:!1,drag:!1,easing:"cubic-bezier(0.83, 0, 0.17, 1)",snap:!0,classes:{pagination:"splide__pagination reviews-pagination",page:"splide__pagination__page reviews-page"},breakpoints:{992:{fixedWidth:"17.438rem",padding:{left:"1.75rem"},drag:"free",snap:!1},480:{fixedWidth:"16.25rem",padding:{left:"1.375rem"}}}}).mount();window.innerWidth>992&&i.on("click",function(){i.go("+1")}),I.from(r,{scrollTrigger:{trigger:r,start:"top bottom",end:"bottom bottom-=15%",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.factsSlider=function(r){let e=new $r(r,{type:"loop",perPage:1,gap:0,arrows:!1,drag:!1,duration:.15,easing:"cubic-bezier(0.83, 0, 0.17, 1)",classes:{pagination:"splide__pagination facts-pagination",page:"splide__pagination__page facts-page"},breakpoints:{992:{gap:"1.75rem",drag:!0},480:{gap:"1.375rem"}}}).mount();window.innerWidth>992&&e.on("click",function(){e.go("+1")}),r.querySelectorAll(".external_link.is-cursor").forEach(a=>{a.addEventListener("click",()=>{event.stopPropagation()})});function i(a){var l=e.Components.Elements.slides[a],u=l.querySelector("video");u&&u.play()}function n(a){var l=e.Components.Elements.slides;l.forEach(function(u,c){var d=u.querySelector("video");d&&c!==a&&(d.pause(),d.currentTime=0)})}function o(a){I.fromTo([a.querySelector(".is-h4"),a.querySelector(".facts-slide_legend-wrapper"),a.querySelector(".facts-slide_diagram-wrapper"),a.querySelector(".facts-slide_source")],{x:"2rem",opacity:0},{x:"0",opacity:1,stagger:.2,duration:.5,easing:"loader2"})}function s(a){I.set([a.querySelector(".is-h4"),a.querySelector(".facts-slide_legend-wrapper"),a.querySelector(".facts-slide_diagram-wrapper"),a.querySelector(".facts-slide_source")],{x:"2rem",opacity:0})}e.on("move",function(a){i(a);var l=e.Components.Elements.slides[a];o(l)}),e.on("moved",function(a){n(a);var l=e.Components.Elements.slides[a];s(l)})};window.teamSlider=function(r){let e=r.querySelector(".team_collection_list"),t=Array.from(e.children);t.sort(function(){return .5-Math.random()}),t.forEach(function(i){e.appendChild(i)}),new $r(r,{type:"slide",fixedWidth:"20%",padding:{left:"2.5rem",right:0},focus:0,gap:0,pagination:!1,omitEnd:!0,arrows:!1,drag:!0,easing:"cubic-bezier(0.83, 0, 0.17, 1)",snap:!0,classes:{pagination:"splide__pagination facts-pagination",page:"splide__pagination__page facts-page"},breakpoints:{992:{fixedWidth:"40%",padding:{left:"1.75rem"},drag:"free",snap:!1},560:{fixedWidth:"75%",padding:{left:"1.375rem"},drag:"free",snap:!1}}}).mount(),I.from(r,{scrollTrigger:{trigger:r,start:"top bottom",end:"bottom bottom",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.elementPaddingChange=function(r){I.to(r,{paddingLeft:"0rem",paddingRight:"0rem",ease:"linear",scrollTrigger:{trigger:r,start:()=>`top ${window.innerHeight*.9}px`,end:()=>`top ${window.innerHeight*.1}px`,scrub:!0,invalidateOnRefresh:!0}})};window.sectionBgChange=function(r){I.set(r,{backgroundColor:"#fff"}),I.set("#heroNavbarLottie path",{fill:"rgb(21, 21, 21)"});let e=I.timeline({duration:.15,ease:"loader2",scrollTrigger:{trigger:r,start:"top center",end:"bottom top",toggleActions:"play reverse play reverse"}});e.to(["#skills","#portfolio"],{backgroundColor:"#151515"},"<"),e.to(".info-bar_wrapper",{backgroundColor:"#2E2E2E",color:"#fff"},"<"),e.to([".button_small",".button_small_icon",".navbar_brand_svg","#heroNavbarLottie path "],{color:"#fff",fill:"rgb(254, 254, 254)"},"<"),window.innerWidth>992&&e.to(".navbar_menu_link",{color:"#fff",fill:"rgb(254, 254, 254)"},"<")};window.badgeColorChange=function(r){let e=I.timeline({duration:.15,ease:"loader2",scrollTrigger:{trigger:r,start:"top center",end:"bottom center",toggleActions:"play reverse play reverse"}});e.to(".js-color-bg",{fill:"#2E2E2E"},"<"),e.to(".js-color-text",{fill:"#fff"},"<")};window.clientLogosAnimation=function(r){let t=r.querySelectorAll('[class*="item_mask"]'),i=r.querySelectorAll('[class*="image"]');I.from(t,{scrollTrigger:{trigger:t,start:"top bottom-=25%"},width:"0%",duration:.7,ease:"loader2",stagger:.15}),I.from(i,{scrollTrigger:{trigger:t,start:"top bottom-=25%"},opacity:0,delay:.4,duration:.45,ease:"loader2",stagger:.15})};window.heroSpanVideoOnHover=function(r){window.customCursorText(r);let e=I.timeline({paused:!0,ease:"loader2"});e.to(".hero-line-mask",{clipPath:"none",duration:.05},">"),e.to(r,{scale:2,duration:.35},">"),window.innerWidth>992&&(r.addEventListener("mouseenter",()=>{e.timeScale(1).play()}),r.addEventListener("mouseleave",()=>{e.timeScale(2).reverse()}))};window.reelModal=function(){let r=document.querySelectorAll('[wideClick="playReel"]'),e=document.querySelector(".reel-modal"),t=document.getElementById("fullReel");if(!r.length||!e||!t)return;let i=0,n=I.timeline({ease:"loader2",paused:!0});n.to(e,{display:"flex",opacity:0,duration:0}),n.to(e,{opacity:1,duration:.6},">"),window.innerWidth>992?(r.forEach(o=>{o.addEventListener("click",()=>{if(xe.stop(),n.timeScale(1).play(),i===0)t.canPlayType("video/webm")?t.src="https://widelabco.sfo3.cdn.digitaloceanspaces.com/Widelab-reel.webm":t.src="https://widelabco.sfo3.cdn.digitaloceanspaces.com/Widelab-reel.mp4",t.load();else return;t.play()})}),e.addEventListener("click",()=>{n.timeScale(4).reverse(),t.pause(),xe.start()}),window.addEventListener("keydown",function(o){o.keyCode===27&&(n.timeScale(4).reverse(),t.pause(),xe.start())})):(r.forEach(o=>{o.addEventListener("click",()=>{t.canPlayType("video/webm")?t.src="https://widelabco.sfo3.cdn.digitaloceanspaces.com/Widelab-reel.webm":t.src="https://widelabco.sfo3.cdn.digitaloceanspaces.com/Widelab-reel.mp4",t.load(),t.addEventListener("canplaythrough",()=>{t.play()},{once:!0})})}),e.addEventListener("click",()=>{t.pause()}))};window.foundersTooltip=function(r){let e=r.querySelector(".line"),t=r.querySelector(".arrow"),i=I.timeline({paused:!0,ease:"loader2"});i.from(r,{x:"5%",opacity:0,duration:.4}),i.from(e,{drawSVG:"0% 0%",duration:.2},">-0.2"),i.from(t,{drawSVG:"0% 0%",duration:.15}),window.innerWidth>992&&(r.addEventListener("mouseenter",()=>{i.timeScale(1).play()}),r.addEventListener("mouseleave",()=>{i.timeScale(3).reverse()}))};window.clientsMapActions=function(r){let e=I.timeline({scrollTrigger:{trigger:".reviews_map_base",start:"bottom-=160px bottom"}});e.from(".map-point",{duration:1,opacity:0,stagger:.1,ease:"loader2"}),e.from(".map-pin_wrapper",{duration:1,opacity:0,stagger:.1,ease:"loader2"},"0.3"),document.querySelectorAll(".map-pin_wrapper").forEach(function(n){n.addEventListener("mouseenter",function(){let o=this.getAttribute("w-map-pin"),s=document.querySelectorAll(".map_info-collection-item"),a=document.querySelectorAll(".map_info-collection-item[w-map-info='"+o+"']"),l=I.timeline({});l.to(s,{opacity:0,ease:"loader2",duration:.1}),l.to(s,{display:"none",duration:.01}),l.to(a,{display:"block",duration:.01}),l.to(a,{opacity:1,ease:"loader2",duration:.2})})});let i=document.querySelectorAll(".map_info-wrapper");for(let n=0;n<i.length;n++){let o=i[n].getAttribute("href");o&&o.length>3&&(i[n].style.cursor="pointer")}};window.statsHeadlineAnimation=function(){let r=I.timeline({scrollTrigger:{trigger:"#statsKnow",start:"center center",toggleActions:"restart none none reverse",end:"+=500"},pause:"paused",ease:"defaultEase"}),e=new jt("#statsDone",{type:"lines",linesClass:"stats-line"}),t=new jt("#statsDone",{type:"lines",linesClass:"stats-line-mask"});r.to("#statsKnow",{duration:.5,opacity:0,display:"none"},">"),r.from(".stats-line",{duration:.5,opacity:0,y:"100%",stagger:.25})};window.counterUpAnimation=function(){document.querySelectorAll("#counter").forEach(e=>{let t=parseFloat(e.textContent.replace(/,/g,""));I.fromTo(e,{innerHTML:0},{innerHTML:t,duration:2,ease:"power1.inOut",snap:{innerHTML:1},onUpdate:function(){e.textContent=this.targets()[0].innerHTML.toLocaleString()}})})};window.heroSliders=function(r){console.log("Initializing Splide on element:",r);let e={type:"loop",perPage:1,gap:0,arrows:!1,drag:!1,duration:.15,easing:"cubic-bezier(0.83, 0, 0.17, 1)",classes:{pagination:"splide__pagination hero-pagination",page:"splide__pagination__page hero-page"},breakpoints:{992:{drag:!0},480:{}}},t=new $r(r,e).mount();console.log("Splide instance:",t),window.innerWidth>992&&t.on("click",function(){t.go("+1")}),I.from(r,{scrollTrigger:{trigger:r,start:"top bottom",end:"bottom bottom+=15%",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.whatsNext=function(){let r=document.querySelectorAll(".whats-next_links_item.is-case"),e=document.querySelector(".whats-next_links_item.is-all");if(!r.length)return;r.forEach(i=>{let n=i.querySelector(".whats-next_links_item_image_mask"),o=i.querySelector(".whats-next_links_item_image-wrapper");if(!n||!o)return;let s=I.timeline({paused:!0,ease:"loader2"});s.to(o,{opacity:.8,duration:.15}),s.to(n,{width:"0%",duration:.3},">-0."),i.addEventListener("mouseenter",a=>{s.timeScale(1).play(),r.forEach(l=>{l!==a.currentTarget&&I.to(l,{color:"#7A7A7A",duration:.2,ease:"loader2"})})}),i.addEventListener("mouseleave",a=>{s.timeScale(3).reverse(),r.forEach(l=>{l!==a.currentTarget&&I.to(l,{color:"#fff",duration:.1,ease:"loader2"})})})}),e&&(e.addEventListener("mouseenter",()=>{I.to(e,{color:"#fff",duration:.2,ease:"loader2"}),r.forEach(i=>{I.to(i,{color:"#7A7A7A",duration:.2,ease:"loader2"})})}),e.addEventListener("mouseleave",()=>{I.to(e,{color:"#7A7A7A",duration:.2,ease:"loader2"}),r.forEach(i=>{I.to(i,{color:"#fff",duration:.2,ease:"loader2"})})}));let t=document.getElementsByTagName("img");for(let i=0;i<t.length;i++)t[i].removeAttribute("srcset"),t[i].removeAttribute("sizes")};window.csMaskAnimation=function(){document.querySelectorAll(".portfolio_item_image-mask").forEach((e,t)=>{if(t===0)return;let i=I.from(e,{width:"100%",duration:.7,ease:"loader2",paused:!0});X.create({animation:i,trigger:e,start:"top 80%",onEnter:()=>i.play()})})};window.updateScrollTrigger=function(){window.onload=function(){X.update()}};window.blogPostMaskAnimation=function(r){let e=document.querySelector("#heroSection"),t=I.from(".post_main-mask-ract",{left:"0%",ease:"loader2"});X.create({animation:t,trigger:e,start:"top -5%",end:"bottom 50%",scrub:.5})};window.changeCheckboxLabelColor=function(){let r=document.querySelectorAll(".w-checkbox-input"),e=function(t,i){for(let n of t)if(n.type==="attributes"&&n.attributeName==="class"){let o=n.target.classList.contains("w--redirected-checked"),s=n.target.parentElement.querySelector(".form-checkbox_label");o&&s&&!s.classList.contains("is-active")?s.classList.add("is-active"):!o&&s&&s.classList.contains("is-active")&&s.classList.remove("is-active")}};r.forEach(function(t){let i={attributes:!0,attributeFilter:["class"]};new MutationObserver(e).observe(t,i)})};window.openContactModal=function(){ln.play(),document.body.classList.add("is-scroll-off"),xe.stop()};window.closeContactModal=function(){ln.timeScale(1).reverse(),document.body.classList.remove("is-scroll-off"),xe.start()};window.closeContactModalOnEsc=function(r){document.addEventListener("keydown",function(e){e.key==="Escape"&&window.closeContactModal()})};window.successMsgAnimation=function(r){let e=I.timeline({}),t=new jt("#successHoooray, #successHeadiline",{type:"lines",linesClass:"hero-line"}),i=new jt("#successHoooray, #successHeadiline",{type:"lines",linesClass:"hero-line-mask"});e.from(".hero-line",{duration:1.2,y:"100%",stagger:.2,ease:"loader2"}),e.to(r,{width:"0%",duration:.6,ease:"loader2"},">-0.5"),e.from("#successParagraph",{opacity:0,duration:.3,ease:"loader2"},">-0.4")};window.formSubmitAnimation=function(r){function e(){let t=document.querySelector(".contact-modal_form-success"),i={attributes:!0,attributeFilter:["style"]};new MutationObserver(function(o,s){o.forEach(function(a){a.target.style.display==="block"&&successMsgAnimation(r)})}).observe(t,i)}e()};window.scrollTriggerRefresh=function(){function r(){X.refresh()}let e=new MutationObserver(r),t=document.querySelector(".section.is-post-body"),i={attributes:!0,childList:!0,subtree:!0};e.observe(t,i)};window.closeInfoBar=function(){let r=I.timeline({});r.to(".info-bar",{height:0,autoAlpha:0,duration:.3,ease:"loader2"}),r.to(".button_small.is-navbar",{top:"1.75rem",duration:.3,ease:"loader2"},"<"),r.to("#heroSection",{paddingTop:"6.5rem",duration:.3,ease:"loader2"},"<")};window.Webflow||=[];window.Webflow.push(()=>{console.log("The new code source is loaded!"),ad(),p1(),Webflow.env("editor")===void 0?(h1(),xe.start()):(console.log("Editor mode ON"),xe.destroy()),u1(),_1(),m1(),w1(),b1(),S1(),f1(),d1(),g1(),c1()});})();
8
8
  /*! Bundled license information:
9
9
 
10
10
  gsap/gsap-core.js: