@widelab-nc/widehue 1.0.26 → 1.0.28
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 +2 -2
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
- package/src/index.js +152 -139
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
(()=>{var Za=!1,Qa=!1,Fi=[],Ja=-1;function w_(i){
|
|
1
|
+
(()=>{var Za=!1,Qa=!1,Fi=[],Ja=-1;function w_(i){b_(i)}function b_(i){Fi.includes(i)||Fi.push(i),E_()}function Gc(i){let e=Fi.indexOf(i);e!==-1&&e>Ja&&Fi.splice(e,1)}function E_(){!Qa&&!Za&&(Za=!0,queueMicrotask(x_))}function x_(){Za=!1,Qa=!0;for(let i=0;i<Fi.length;i++)Fi[i](),Ja=i;Fi.length=0,Ja=-1,Qa=!1}var hn,pn,oo,$c,eu=!0;function S_(i){eu=!1,i(),eu=!0}function C_(i){hn=i.reactive,oo=i.release,pn=e=>i.effect(e,{scheduler:t=>{eu?w_(t):t()}}),$c=i.raw}function Pc(i){pn=i}function T_(i){let e=()=>{};return[r=>{let n=pn(r);return i._x_effects||(i._x_effects=new Set,i._x_runEffects=()=>{i._x_effects.forEach(o=>o())}),i._x_effects.add(n),e=()=>{n!==void 0&&(i._x_effects.delete(n),oo(n))},n},()=>{e()}]}function to(i,e,t={}){i.dispatchEvent(new CustomEvent(e,{detail:t,bubbles:!0,composed:!0,cancelable:!0}))}function ei(i,e){if(typeof ShadowRoot=="function"&&i instanceof ShadowRoot){Array.from(i.children).forEach(n=>ei(n,e));return}let t=!1;if(e(i,()=>t=!0),t)return;let r=i.firstElementChild;for(;r;)ei(r,e,!1),r=r.nextElementSibling}function Fr(i,...e){console.warn(`Alpine Warning: ${i}`,...e)}var Lc=!1;function A_(){Lc&&Fr("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),Lc=!0,document.body||Fr("Unable to initialize. Trying to load Alpine before `<body>` is available. Did you forget to add `defer` in Alpine's `<script>` tag?"),to(document,"alpine:init"),to(document,"alpine:initializing"),yu(),M_(e=>Or(e,ei)),mu(e=>gu(e)),of((e,t)=>{xu(e,t).forEach(r=>r())});let i=e=>!xs(e.parentElement,!0);Array.from(document.querySelectorAll(Zc())).filter(i).forEach(e=>{Or(e)}),to(document,"alpine:initialized")}var _u=[],jc=[];function Kc(){return _u.map(i=>i())}function Zc(){return _u.concat(jc).map(i=>i())}function Qc(i){_u.push(i)}function Jc(i){jc.push(i)}function xs(i,e=!1){return Ss(i,t=>{if((e?Zc():Kc()).some(n=>t.matches(n)))return!0})}function Ss(i,e){if(i){if(e(i))return i;if(i._x_teleportBack&&(i=i._x_teleportBack),!!i.parentElement)return Ss(i.parentElement,e)}}function F_(i){return Kc().some(e=>i.matches(e))}var ef=[];function O_(i){ef.push(i)}function Or(i,e=ei,t=()=>{}){U_(()=>{e(i,(r,n)=>{t(r,n),ef.forEach(o=>o(r,n)),xu(r,r.attributes).forEach(o=>o()),r._x_ignore&&n()})})}function gu(i){ei(i,e=>{af(e),k_(e)})}var tf=[],rf=[],nf=[];function M_(i){nf.push(i)}function mu(i,e){typeof e=="function"?(i._x_cleanups||(i._x_cleanups=[]),i._x_cleanups.push(e)):(e=i,rf.push(e))}function of(i){tf.push(i)}function sf(i,e,t){i._x_attributeCleanups||(i._x_attributeCleanups={}),i._x_attributeCleanups[e]||(i._x_attributeCleanups[e]=[]),i._x_attributeCleanups[e].push(t)}function af(i,e){i._x_attributeCleanups&&Object.entries(i._x_attributeCleanups).forEach(([t,r])=>{(e===void 0||e.includes(t))&&(r.forEach(n=>n()),delete i._x_attributeCleanups[t])})}function k_(i){if(i._x_cleanups)for(;i._x_cleanups.length;)i._x_cleanups.pop()()}var vu=new MutationObserver(bu),Du=!1;function yu(){vu.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),Du=!0}function uf(){P_(),vu.disconnect(),Du=!1}var ro=[],Ga=!1;function P_(){ro=ro.concat(vu.takeRecords()),ro.length&&!Ga&&(Ga=!0,queueMicrotask(()=>{L_(),Ga=!1}))}function L_(){bu(ro),ro.length=0}function He(i){if(!Du)return i();uf();let e=i();return yu(),e}var wu=!1,ws=[];function R_(){wu=!0}function N_(){wu=!1,bu(ws),ws=[]}function bu(i){if(wu){ws=ws.concat(i);return}let e=[],t=[],r=new Map,n=new Map;for(let o=0;o<i.length;o++)if(!i[o].target._x_ignoreMutationObserver&&(i[o].type==="childList"&&(i[o].addedNodes.forEach(s=>s.nodeType===1&&e.push(s)),i[o].removedNodes.forEach(s=>s.nodeType===1&&t.push(s))),i[o].type==="attributes")){let s=i[o].target,a=i[o].attributeName,u=i[o].oldValue,l=()=>{r.has(s)||r.set(s,[]),r.get(s).push({name:a,value:s.getAttribute(a)})},c=()=>{n.has(s)||n.set(s,[]),n.get(s).push(a)};s.hasAttribute(a)&&u===null?l():s.hasAttribute(a)?(c(),l()):c()}n.forEach((o,s)=>{af(s,o)}),r.forEach((o,s)=>{tf.forEach(a=>a(s,o))});for(let o of t)e.includes(o)||(rf.forEach(s=>s(o)),gu(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,nf.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,r=null,n=null}function lf(i){return ao(fn(i))}function so(i,e,t){return i._x_dataStack=[e,...fn(t||i)],()=>{i._x_dataStack=i._x_dataStack.filter(r=>r!==e)}}function fn(i){return i._x_dataStack?i._x_dataStack:typeof ShadowRoot=="function"&&i instanceof ShadowRoot?fn(i.host):i.parentNode?fn(i.parentNode):[]}function ao(i){return new Proxy({objects:i},I_)}var I_={ownKeys({objects:i}){return Array.from(new Set(i.flatMap(e=>Object.keys(e))))},has({objects:i},e){return e==Symbol.unscopables?!1:i.some(t=>Object.prototype.hasOwnProperty.call(t,e))},get({objects:i},e,t){return e=="toJSON"?B_:Reflect.get(i.find(r=>Object.prototype.hasOwnProperty.call(r,e))||{},e,t)},set({objects:i},e,t){return Reflect.set(i.find(r=>Object.prototype.hasOwnProperty.call(r,e))||i[i.length-1],e,t)}};function B_(){return Reflect.ownKeys(this).reduce((e,t)=>(e[t]=Reflect.get(this,t),e),{})}function cf(i){let e=r=>typeof r=="object"&&!Array.isArray(r)&&r!==null,t=(r,n="")=>{Object.entries(Object.getOwnPropertyDescriptors(r)).forEach(([o,{value:s,enumerable:a}])=>{if(a===!1||s===void 0)return;let u=n===""?o:`${n}.${o}`;typeof s=="object"&&s!==null&&s._x_interceptor?r[o]=s.initialize(i,u,o):e(s)&&s!==r&&!(s instanceof Element)&&t(s,u)})};return t(i)}function ff(i,e=()=>{}){let t={initialValue:void 0,_x_interceptor:!0,initialize(r,n,o){return i(this.initialValue,()=>z_(r,n),s=>tu(r,n,s),n,o)}};return e(t),r=>{if(typeof r=="object"&&r!==null&&r._x_interceptor){let n=t.initialize.bind(t);t.initialize=(o,s,a)=>{let u=r.initialize(o,s,a);return t.initialValue=u,n(o,s,a)}}else t.initialValue=r;return t}}function z_(i,e){return e.split(".").reduce((t,r)=>t[r],i)}function tu(i,e,t){if(typeof e=="string"&&(e=e.split(".")),e.length===1)i[e[0]]=t;else{if(e.length===0)throw error;return i[e[0]]||(i[e[0]]={}),tu(i[e[0]],e.slice(1),t)}}var df={};function ir(i,e){df[i]=e}function ru(i,e){return Object.entries(df).forEach(([t,r])=>{let n=null;function o(){if(n)return n;{let[s,a]=vf(e);return n={interceptor:ff,...s},mu(e,a),n}}Object.defineProperty(i,`$${t}`,{get(){return r(e,o())},enumerable:!1})}),i}function V_(i,e,t,...r){try{return t(...r)}catch(n){no(n,i,e)}}function no(i,e,t=void 0){Object.assign(i,{el:e,expression:t}),console.warn(`Alpine Expression Error: ${i.message}
|
|
2
2
|
|
|
3
3
|
${t?'Expression: "'+t+`"
|
|
4
4
|
|
|
5
|
-
`:""}`,e),setTimeout(()=>{throw i},0)}var ys=!0;function hf(i){let e=ys;ys=!1;let t=i();return ys=e,t}function Oi(i,e,t={}){let r;return ft(i,e)(n=>r=n,t),r}function ft(...i){return pf(...i)}var pf=_f;function H_(i){pf=i}function _f(i,e){let t={};ru(t,i);let r=[t,...fn(i)],n=typeof e=="function"?W_(r,e):Y_(r,e,i);return V_.bind(null,i,e,n)}function W_(i,e){return(t=()=>{},{scope:r={},params:n=[]}={})=>{let o=e.apply(ao([r,...i]),n);Es(t,o)}}var $a={};function q_(i,e){if($a[i])return $a[i];let t=Object.getPrototypeOf(async function(){}).constructor,r=/^[\n\s]*if.*\(.*\)/.test(i.trim())||/^(let|const)\s/.test(i.trim())?`(async()=>{ ${i} })()`:i,o=(()=>{try{let s=new t(["__self","scope"],`with (scope) { __self.result = ${r} }; __self.finished = true; return __self.result;`);return Object.defineProperty(s,"name",{value:`[Alpine] ${i}`}),s}catch(s){return no(s,e,i),Promise.resolve()}})();return $a[i]=o,o}function Y_(i,e,t){let r=q_(e,t);return(n=()=>{},{scope:o={},params:s=[]}={})=>{r.result=void 0,r.finished=!1;let a=ao([o,...i]);if(typeof r=="function"){let u=r(r,a).catch(l=>no(l,t,e));r.finished?(Es(n,r.result,a,s,t),r.result=void 0):u.then(l=>{Es(n,l,a,s,t)}).catch(l=>no(l,t,e)).finally(()=>r.result=void 0)}}}function Es(i,e,t,r,n){if(ys&&typeof e=="function"){let o=e.apply(t,r);o instanceof Promise?o.then(s=>Es(i,s,t,r)).catch(s=>no(s,n,e)):i(o)}else typeof e=="object"&&e instanceof Promise?e.then(o=>i(o)):i(e)}var bu="x-";function _n(i=""){return bu+i}function X_(i){bu=i}var iu={};function Ne(i,e){return iu[i]=e,{before(t){if(!iu[t]){console.warn("Cannot find directive `${directive}`. `${name}` will use the default order of execution");return}let r=Ai.indexOf(t);Ai.splice(r>=0?r:Ai.indexOf("DEFAULT"),0,i)}}}function xu(i,e,t){if(e=Array.from(e),i._x_virtualDirectives){let o=Object.entries(i._x_virtualDirectives).map(([a,u])=>({name:a,value:u})),s=gf(o);o=o.map(a=>s.find(u=>u.name===a.name)?{name:`x-bind:${a.name}`,value:`"${a.value}"`}:a),e=e.concat(o)}let r={};return e.map(wf((o,s)=>r[o]=s)).filter(bf).map($_(r,t)).sort(j_).map(o=>G_(i,o))}function gf(i){return Array.from(i).map(wf()).filter(e=>!bf(e))}var nu=!1,eo=new Map,mf=Symbol();function U_(i){nu=!0;let e=Symbol();mf=e,eo.set(e,[]);let t=()=>{for(;eo.get(e).length;)eo.get(e).shift()();eo.delete(e)},r=()=>{nu=!1,t()};i(t),r()}function vf(i){let e=[],t=a=>e.push(a),[r,n]=T_(i);return e.push(n),[{Alpine:uo,effect:r,cleanup:t,evaluateLater:ft.bind(ft,i),evaluate:Oi.bind(Oi,i)},()=>e.forEach(a=>a())]}function G_(i,e){let t=()=>{},r=iu[e.type]||t,[n,o]=vf(i);sf(i,e.original,o);let s=()=>{i._x_ignore||i._x_ignoreSelf||(r.inline&&r.inline(i,e,n),r=r.bind(r,i,e,n),nu?eo.get(mf).push(r):r())};return s.runCleanups=o,s}var Df=(i,e)=>({name:t,value:r})=>(t.startsWith(i)&&(t=t.replace(i,e)),{name:t,value:r}),yf=i=>i;function wf(i=()=>{}){return({name:e,value:t})=>{let{name:r,value:n}=Ef.reduce((o,s)=>s(o),{name:e,value:t});return r!==e&&i(r,e),{name:r,value:n}}}var Ef=[];function Su(i){Ef.push(i)}function bf({name:i}){return xf().test(i)}var xf=()=>new RegExp(`^${bu}([^:^.]+)\\b`);function $_(i,e){return({name:t,value:r})=>{let n=t.match(xf()),o=t.match(/:([a-zA-Z0-9\-:]+)/),s=t.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],a=e||i[t]||t;return{type:n?n[1]:null,value:o?o[1]:null,modifiers:s.map(u=>u.replace(".","")),expression:r,original:a}}}var ou="DEFAULT",Ai=["ignore","ref","data","id","bind","init","for","model","modelable","transition","show","if",ou,"teleport"];function j_(i,e){let t=Ai.indexOf(i.type)===-1?ou:i.type,r=Ai.indexOf(e.type)===-1?ou:e.type;return Ai.indexOf(t)-Ai.indexOf(r)}var su=[],Cu=!1;function Tu(i=()=>{}){return queueMicrotask(()=>{Cu||setTimeout(()=>{au()})}),new Promise(e=>{su.push(()=>{i(),e()})})}function au(){for(Cu=!1;su.length;)su.shift()()}function K_(){Cu=!0}function Au(i,e){return Array.isArray(e)?Rc(i,e.join(" ")):typeof e=="object"&&e!==null?Z_(i,e):typeof e=="function"?Au(i,e()):Rc(i,e)}function Rc(i,e){let t=o=>o.split(" ").filter(Boolean),r=o=>o.split(" ").filter(s=>!i.classList.contains(s)).filter(Boolean),n=o=>(i.classList.add(...o),()=>{i.classList.remove(...o)});return e=e===!0?e="":e||"",n(r(e))}function Z_(i,e){let t=a=>a.split(" ").filter(Boolean),r=Object.entries(e).flatMap(([a,u])=>u?t(a):!1).filter(Boolean),n=Object.entries(e).flatMap(([a,u])=>u?!1:t(a)).filter(Boolean),o=[],s=[];return n.forEach(a=>{i.classList.contains(a)&&(i.classList.remove(a),s.push(a))}),r.forEach(a=>{i.classList.contains(a)||(i.classList.add(a),o.push(a))}),()=>{s.forEach(a=>i.classList.add(a)),o.forEach(a=>i.classList.remove(a))}}function Cs(i,e){return typeof e=="object"&&e!==null?Q_(i,e):J_(i,e)}function Q_(i,e){let t={};return Object.entries(e).forEach(([r,n])=>{t[r]=i.style[r],r.startsWith("--")||(r=eg(r)),i.style.setProperty(r,n)}),setTimeout(()=>{i.style.length===0&&i.removeAttribute("style")}),()=>{Cs(i,t)}}function J_(i,e){let t=i.getAttribute("style",e);return i.setAttribute("style",e),()=>{i.setAttribute("style",t||"")}}function eg(i){return i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function uu(i,e=()=>{}){let t=!1;return function(){t?e.apply(this,arguments):(t=!0,i.apply(this,arguments))}}Ne("transition",(i,{value:e,modifiers:t,expression:r},{evaluate:n})=>{typeof r=="function"&&(r=n(r)),r!==!1&&(!r||typeof r=="boolean"?rg(i,t,e):tg(i,r,e))});function tg(i,e,t){Sf(i,Au,""),{enter:n=>{i._x_transition.enter.during=n},"enter-start":n=>{i._x_transition.enter.start=n},"enter-end":n=>{i._x_transition.enter.end=n},leave:n=>{i._x_transition.leave.during=n},"leave-start":n=>{i._x_transition.leave.start=n},"leave-end":n=>{i._x_transition.leave.end=n}}[t](e)}function rg(i,e,t){Sf(i,Cs);let r=!e.includes("in")&&!e.includes("out")&&!t,n=r||e.includes("in")||["enter"].includes(t),o=r||e.includes("out")||["leave"].includes(t);e.includes("in")&&!r&&(e=e.filter((m,v)=>v<e.indexOf("out"))),e.includes("out")&&!r&&(e=e.filter((m,v)=>v>e.indexOf("out")));let s=!e.includes("opacity")&&!e.includes("scale"),a=s||e.includes("opacity"),u=s||e.includes("scale"),l=a?0:1,c=u?Qn(e,"scale",95)/100:1,d=Qn(e,"delay",0)/1e3,p=Qn(e,"origin","center"),f="opacity, transform",_=Qn(e,"duration",150)/1e3,h=Qn(e,"duration",75)/1e3,g="cubic-bezier(0.4, 0.0, 0.2, 1)";n&&(i._x_transition.enter.during={transformOrigin:p,transitionDelay:`${d}s`,transitionProperty:f,transitionDuration:`${_}s`,transitionTimingFunction:g},i._x_transition.enter.start={opacity:l,transform:`scale(${c})`},i._x_transition.enter.end={opacity:1,transform:"scale(1)"}),o&&(i._x_transition.leave.during={transformOrigin:p,transitionDelay:`${d}s`,transitionProperty:f,transitionDuration:`${h}s`,transitionTimingFunction:g},i._x_transition.leave.start={opacity:1,transform:"scale(1)"},i._x_transition.leave.end={opacity:l,transform:`scale(${c})`})}function Sf(i,e,t={}){i._x_transition||(i._x_transition={enter:{during:t,start:t,end:t},leave:{during:t,start:t,end:t},in(r=()=>{},n=()=>{}){lu(i,e,{during:this.enter.during,start:this.enter.start,end:this.enter.end},r,n)},out(r=()=>{},n=()=>{}){lu(i,e,{during:this.leave.during,start:this.leave.start,end:this.leave.end},r,n)}})}window.Element.prototype._x_toggleAndCascadeWithTransitions=function(i,e,t,r){let n=document.visibilityState==="visible"?requestAnimationFrame:setTimeout,o=()=>n(t);if(e){i._x_transition&&(i._x_transition.enter||i._x_transition.leave)?i._x_transition.enter&&(Object.entries(i._x_transition.enter.during).length||Object.entries(i._x_transition.enter.start).length||Object.entries(i._x_transition.enter.end).length)?i._x_transition.in(t):o():i._x_transition?i._x_transition.in(t):o();return}i._x_hidePromise=i._x_transition?new Promise((s,a)=>{i._x_transition.out(()=>{},()=>s(r)),i._x_transitioning.beforeCancel(()=>a({isFromCancelledTransition:!0}))}):Promise.resolve(r),queueMicrotask(()=>{let s=Cf(i);s?(s._x_hideChildren||(s._x_hideChildren=[]),s._x_hideChildren.push(i)):n(()=>{let a=u=>{let l=Promise.all([u._x_hidePromise,...(u._x_hideChildren||[]).map(a)]).then(([c])=>c());return delete u._x_hidePromise,delete u._x_hideChildren,l};a(i).catch(u=>{if(!u.isFromCancelledTransition)throw u})})})};function Cf(i){let e=i.parentNode;if(e)return e._x_hidePromise?e:Cf(e)}function lu(i,e,{during:t,start:r,end:n}={},o=()=>{},s=()=>{}){if(i._x_transitioning&&i._x_transitioning.cancel(),Object.keys(t).length===0&&Object.keys(r).length===0&&Object.keys(n).length===0){o(),s();return}let a,u,l;ig(i,{start(){a=e(i,r)},during(){u=e(i,t)},before:o,end(){a(),l=e(i,n)},after:s,cleanup(){u(),l()}})}function ig(i,e){let t,r,n,o=uu(()=>{He(()=>{t=!0,r||e.before(),n||(e.end(),au()),e.after(),i.isConnected&&e.cleanup(),delete i._x_transitioning})});i._x_transitioning={beforeCancels:[],beforeCancel(s){this.beforeCancels.push(s)},cancel:uu(function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();o()}),finish:o},He(()=>{e.start(),e.during()}),K_(),requestAnimationFrame(()=>{if(t)return;let s=Number(getComputedStyle(i).transitionDuration.replace(/,.*/,"").replace("s",""))*1e3,a=Number(getComputedStyle(i).transitionDelay.replace(/,.*/,"").replace("s",""))*1e3;s===0&&(s=Number(getComputedStyle(i).animationDuration.replace("s",""))*1e3),He(()=>{e.before()}),r=!0,requestAnimationFrame(()=>{t||(He(()=>{e.end()}),au(),setTimeout(i._x_transitioning.finish,s+a),n=!0)})})}function Qn(i,e,t){if(i.indexOf(e)===-1)return t;let r=i[i.indexOf(e)+1];if(!r||e==="scale"&&isNaN(r))return t;if(e==="duration"||e==="delay"){let n=r.match(/([0-9]+)ms/);if(n)return n[1]}return e==="origin"&&["top","right","left","center","bottom"].includes(i[i.indexOf(e)+2])?[r,i[i.indexOf(e)+2]].join(" "):r}var ti=!1;function Ts(i,e=()=>{}){return(...t)=>ti?e(...t):i(...t)}function ng(i){return(...e)=>ti&&i(...e)}function og(i,e){i._x_dataStack&&(e._x_dataStack=i._x_dataStack,e.setAttribute("data-has-alpine-state",!0)),ti=!0,Tf(()=>{Or(e,(t,r)=>{r(t,()=>{})})}),ti=!1}var cu=!1;function sg(i,e){e._x_dataStack||(e._x_dataStack=i._x_dataStack),ti=!0,cu=!0,Tf(()=>{ag(e)}),ti=!1,cu=!1}function ag(i){let e=!1;Or(i,(r,n)=>{ei(r,(o,s)=>{if(e&&F_(o))return s();e=!0,n(o,s)})})}function Tf(i){let e=pn;Pc((t,r)=>{let n=e(t);return oo(n),()=>{}}),i(),Pc(e)}function ug(i){return ti?cu?!0:i.hasAttribute("data-has-alpine-state"):!1}function Af(i,e,t,r=[]){switch(i._x_bindings||(i._x_bindings=hn({})),i._x_bindings[e]=t,e=r.includes("camel")?gg(e):e,e){case"value":lg(i,t);break;case"style":fg(i,t);break;case"class":cg(i,t);break;case"selected":case"checked":dg(i,e,t);break;default:Ff(i,e,t);break}}function lg(i,e){if(i.type==="radio")i.attributes.value===void 0&&(i.value=e),window.fromModel&&(i.checked=Nc(i.value,e));else if(i.type==="checkbox")Number.isInteger(e)?i.value=e:!Array.isArray(e)&&typeof e!="boolean"&&![null,void 0].includes(e)?i.value=String(e):Array.isArray(e)?i.checked=e.some(t=>Nc(t,i.value)):i.checked=!!e;else if(i.tagName==="SELECT")_g(i,e);else{if(i.value===e)return;i.value=e===void 0?"":e}}function cg(i,e){i._x_undoAddedClasses&&i._x_undoAddedClasses(),i._x_undoAddedClasses=Au(i,e)}function fg(i,e){i._x_undoAddedStyles&&i._x_undoAddedStyles(),i._x_undoAddedStyles=Cs(i,e)}function dg(i,e,t){Ff(i,e,t),pg(i,e,t)}function Ff(i,e,t){[null,void 0,!1].includes(t)&&mg(e)?i.removeAttribute(e):(Of(e)&&(t=e),hg(i,e,t))}function hg(i,e,t){i.getAttribute(e)!=t&&i.setAttribute(e,t)}function pg(i,e,t){i[e]!==t&&(i[e]=t)}function _g(i,e){let t=[].concat(e).map(r=>r+"");Array.from(i.options).forEach(r=>{r.selected=t.includes(r.value)})}function gg(i){return i.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function Nc(i,e){return i==e}function Of(i){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(i)}function mg(i){return!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(i)}function vg(i,e,t){return i._x_bindings&&i._x_bindings[e]!==void 0?i._x_bindings[e]:Mf(i,e,t)}function Dg(i,e,t,r=!0){if(i._x_bindings&&i._x_bindings[e]!==void 0)return i._x_bindings[e];if(i._x_inlineBindings&&i._x_inlineBindings[e]!==void 0){let n=i._x_inlineBindings[e];return n.extract=r,hf(()=>Oi(i,n.expression))}return Mf(i,e,t)}function Mf(i,e,t){let r=i.getAttribute(e);return r===null?typeof t=="function"?t():t:r===""?!0:Of(e)?!![e,"true"].includes(r):r}function kf(i,e){var t;return function(){var r=this,n=arguments,o=function(){t=null,i.apply(r,n)};clearTimeout(t),t=setTimeout(o,e)}}function Pf(i,e){let t;return function(){let r=this,n=arguments;t||(i.apply(r,n),t=!0,setTimeout(()=>t=!1,e))}}function Lf({get:i,set:e},{get:t,set:r}){let n=!0,o,s,a,u,l=pn(()=>{let c,d;n?(c=i(),r(JSON.parse(JSON.stringify(c))),d=t(),n=!1):(c=i(),d=t(),a=JSON.stringify(c),u=JSON.stringify(d),a!==o?(d=t(),r(c),d=c):(e(JSON.parse(u??null)),c=d)),o=JSON.stringify(c),s=JSON.stringify(d)});return()=>{oo(l)}}function yg(i){(Array.isArray(i)?i:[i]).forEach(t=>t(uo))}var Ti={},Ic=!1;function wg(i,e){if(Ic||(Ti=hn(Ti),Ic=!0),e===void 0)return Ti[i];Ti[i]=e,typeof e=="object"&&e!==null&&e.hasOwnProperty("init")&&typeof e.init=="function"&&Ti[i].init(),cf(Ti[i])}function Eg(){return Ti}var Rf={};function bg(i,e){let t=typeof e!="function"?()=>e:e;return i instanceof Element?Nf(i,t()):(Rf[i]=t,()=>{})}function xg(i){return Object.entries(Rf).forEach(([e,t])=>{Object.defineProperty(i,e,{get(){return(...r)=>t(...r)}})}),i}function Nf(i,e,t){let r=[];for(;r.length;)r.pop()();let n=Object.entries(e).map(([s,a])=>({name:s,value:a})),o=gf(n);return n=n.map(s=>o.find(a=>a.name===s.name)?{name:`x-bind:${s.name}`,value:`"${s.value}"`}:s),xu(i,n,t).map(s=>{r.push(s.runCleanups),s()}),()=>{for(;r.length;)r.pop()()}}var If={};function Sg(i,e){If[i]=e}function Cg(i,e){return Object.entries(If).forEach(([t,r])=>{Object.defineProperty(i,t,{get(){return(...n)=>r.bind(e)(...n)},enumerable:!1})}),i}var Tg={get reactive(){return hn},get release(){return oo},get effect(){return pn},get raw(){return $c},version:"3.13.1",flushAndStopDeferringMutations:N_,dontAutoEvaluateFunctions:hf,disableEffectScheduling:S_,startObservingMutations:yu,stopObservingMutations:uf,setReactivityEngine:C_,onAttributeRemoved:sf,onAttributesAdded:of,closestDataStack:fn,skipDuringClone:Ts,onlyDuringClone:ng,addRootSelector:Qc,addInitSelector:Jc,addScopeToNode:so,deferMutations:R_,mapAttributes:Su,evaluateLater:ft,interceptInit:O_,setEvaluator:H_,mergeProxies:ao,extractProp:Dg,findClosest:Ss,onElRemoved:mu,closestRoot:xs,destroyTree:gu,interceptor:ff,transition:lu,setStyles:Cs,mutateDom:He,directive:Ne,entangle:Lf,throttle:Pf,debounce:kf,evaluate:Oi,initTree:Or,nextTick:Tu,prefixed:_n,prefix:X_,plugin:yg,magic:ir,store:wg,start:A_,clone:sg,cloneNode:og,bound:vg,$data:lf,walk:ei,data:Sg,bind:bg},uo=Tg;function Bf(i,e){let t=Object.create(null),r=i.split(",");for(let n=0;n<r.length;n++)t[r[n]]=!0;return e?n=>!!t[n.toLowerCase()]:n=>!!t[n]}var Ag="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",xy=Bf(Ag+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),Fg=Object.freeze({}),Sy=Object.freeze([]),Og=Object.prototype.hasOwnProperty,As=(i,e)=>Og.call(i,e),Mi=Array.isArray,io=i=>zf(i)==="[object Map]",Mg=i=>typeof i=="string",Fu=i=>typeof i=="symbol",Fs=i=>i!==null&&typeof i=="object",kg=Object.prototype.toString,zf=i=>kg.call(i),Vf=i=>zf(i).slice(8,-1),Ou=i=>Mg(i)&&i!=="NaN"&&i[0]!=="-"&&""+parseInt(i,10)===i,Os=i=>{let e=Object.create(null);return t=>e[t]||(e[t]=i(t))},Pg=/-(\w)/g,Cy=Os(i=>i.replace(Pg,(e,t)=>t?t.toUpperCase():"")),Lg=/\B([A-Z])/g,Ty=Os(i=>i.replace(Lg,"-$1").toLowerCase()),Hf=Os(i=>i.charAt(0).toUpperCase()+i.slice(1)),Ay=Os(i=>i?`on${Hf(i)}`:""),Wf=(i,e)=>i!==e&&(i===i||e===e),fu=new WeakMap,Jn=[],hr,ki=Symbol("iterate"),du=Symbol("Map key iterate");function Rg(i){return i&&i._isEffect===!0}function Ng(i,e=Fg){Rg(i)&&(i=i.raw);let t=zg(i,e);return e.lazy||t(),t}function Ig(i){i.active&&(qf(i),i.options.onStop&&i.options.onStop(),i.active=!1)}var Bg=0;function zg(i,e){let t=function(){if(!t.active)return i();if(!Jn.includes(t)){qf(t);try{return Hg(),Jn.push(t),hr=t,i()}finally{Jn.pop(),Yf(),hr=Jn[Jn.length-1]}}};return t.id=Bg++,t.allowRecurse=!!e.allowRecurse,t._isEffect=!0,t.active=!0,t.raw=i,t.deps=[],t.options=e,t}function qf(i){let{deps:e}=i;if(e.length){for(let t=0;t<e.length;t++)e[t].delete(i);e.length=0}}var dn=!0,Mu=[];function Vg(){Mu.push(dn),dn=!1}function Hg(){Mu.push(dn),dn=!0}function Yf(){let i=Mu.pop();dn=i===void 0?!0:i}function rr(i,e,t){if(!dn||hr===void 0)return;let r=fu.get(i);r||fu.set(i,r=new Map);let n=r.get(t);n||r.set(t,n=new Set),n.has(hr)||(n.add(hr),hr.deps.push(n),hr.options.onTrack&&hr.options.onTrack({effect:hr,target:i,type:e,key:t}))}function ri(i,e,t,r,n,o){let s=fu.get(i);if(!s)return;let a=new Set,u=c=>{c&&c.forEach(d=>{(d!==hr||d.allowRecurse)&&a.add(d)})};if(e==="clear")s.forEach(u);else if(t==="length"&&Mi(i))s.forEach((c,d)=>{(d==="length"||d>=r)&&u(c)});else switch(t!==void 0&&u(s.get(t)),e){case"add":Mi(i)?Ou(t)&&u(s.get("length")):(u(s.get(ki)),io(i)&&u(s.get(du)));break;case"delete":Mi(i)||(u(s.get(ki)),io(i)&&u(s.get(du)));break;case"set":io(i)&&u(s.get(ki));break}let l=c=>{c.options.onTrigger&&c.options.onTrigger({effect:c,target:i,key:t,type:e,newValue:r,oldValue:n,oldTarget:o}),c.options.scheduler?c.options.scheduler(c):c()};a.forEach(l)}var Wg=Bf("__proto__,__v_isRef,__isVue"),Xf=new Set(Object.getOwnPropertyNames(Symbol).map(i=>Symbol[i]).filter(Fu)),qg=Uf(),Yg=Uf(!0),Bc=Xg();function Xg(){let i={};return["includes","indexOf","lastIndexOf"].forEach(e=>{i[e]=function(...t){let r=me(this);for(let o=0,s=this.length;o<s;o++)rr(r,"get",o+"");let n=r[e](...t);return n===-1||n===!1?r[e](...t.map(me)):n}}),["push","pop","shift","unshift","splice"].forEach(e=>{i[e]=function(...t){Vg();let r=me(this)[e].apply(this,t);return Yf(),r}}),i}function Uf(i=!1,e=!1){return function(r,n,o){if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_raw"&&o===(i?e?a0:Kf:e?s0:jf).get(r))return r;let s=Mi(r);if(!i&&s&&As(Bc,n))return Reflect.get(Bc,n,o);let a=Reflect.get(r,n,o);return(Fu(n)?Xf.has(n):Wg(n))||(i||rr(r,"get",n),e)?a:hu(a)?!s||!Ou(n)?a.value:a:Fs(a)?i?Zf(a):Ru(a):a}}var Ug=Gg();function Gg(i=!1){return function(t,r,n,o){let s=t[r];if(!i&&(n=me(n),s=me(s),!Mi(t)&&hu(s)&&!hu(n)))return s.value=n,!0;let a=Mi(t)&&Ou(r)?Number(r)<t.length:As(t,r),u=Reflect.set(t,r,n,o);return t===me(o)&&(a?Wf(n,s)&&ri(t,"set",r,n,s):ri(t,"add",r,n)),u}}function $g(i,e){let t=As(i,e),r=i[e],n=Reflect.deleteProperty(i,e);return n&&t&&ri(i,"delete",e,void 0,r),n}function jg(i,e){let t=Reflect.has(i,e);return(!Fu(e)||!Xf.has(e))&&rr(i,"has",e),t}function Kg(i){return rr(i,"iterate",Mi(i)?"length":ki),Reflect.ownKeys(i)}var Zg={get:qg,set:Ug,deleteProperty:$g,has:jg,ownKeys:Kg},Qg={get:Yg,set(i,e){return console.warn(`Set operation on key "${String(e)}" failed: target is readonly.`,i),!0},deleteProperty(i,e){return console.warn(`Delete operation on key "${String(e)}" failed: target is readonly.`,i),!0}},ku=i=>Fs(i)?Ru(i):i,Pu=i=>Fs(i)?Zf(i):i,Lu=i=>i,Ms=i=>Reflect.getPrototypeOf(i);function _s(i,e,t=!1,r=!1){i=i.__v_raw;let n=me(i),o=me(e);e!==o&&!t&&rr(n,"get",e),!t&&rr(n,"get",o);let{has:s}=Ms(n),a=r?Lu:t?Pu:ku;if(s.call(n,e))return a(i.get(e));if(s.call(n,o))return a(i.get(o));i!==n&&i.get(e)}function gs(i,e=!1){let t=this.__v_raw,r=me(t),n=me(i);return i!==n&&!e&&rr(r,"has",i),!e&&rr(r,"has",n),i===n?t.has(i):t.has(i)||t.has(n)}function ms(i,e=!1){return i=i.__v_raw,!e&&rr(me(i),"iterate",ki),Reflect.get(i,"size",i)}function zc(i){i=me(i);let e=me(this);return Ms(e).has.call(e,i)||(e.add(i),ri(e,"add",i,i)),this}function Vc(i,e){e=me(e);let t=me(this),{has:r,get:n}=Ms(t),o=r.call(t,i);o?$f(t,r,i):(i=me(i),o=r.call(t,i));let s=n.call(t,i);return t.set(i,e),o?Wf(e,s)&&ri(t,"set",i,e,s):ri(t,"add",i,e),this}function Hc(i){let e=me(this),{has:t,get:r}=Ms(e),n=t.call(e,i);n?$f(e,t,i):(i=me(i),n=t.call(e,i));let o=r?r.call(e,i):void 0,s=e.delete(i);return n&&ri(e,"delete",i,void 0,o),s}function Wc(){let i=me(this),e=i.size!==0,t=io(i)?new Map(i):new Set(i),r=i.clear();return e&&ri(i,"clear",void 0,void 0,t),r}function vs(i,e){return function(r,n){let o=this,s=o.__v_raw,a=me(s),u=e?Lu:i?Pu:ku;return!i&&rr(a,"iterate",ki),s.forEach((l,c)=>r.call(n,u(l),u(c),o))}}function Ds(i,e,t){return function(...r){let n=this.__v_raw,o=me(n),s=io(o),a=i==="entries"||i===Symbol.iterator&&s,u=i==="keys"&&s,l=n[i](...r),c=t?Lu:e?Pu:ku;return!e&&rr(o,"iterate",u?du:ki),{next(){let{value:d,done:p}=l.next();return p?{value:d,done:p}:{value:a?[c(d[0]),c(d[1])]:c(d),done:p}},[Symbol.iterator](){return this}}}}function Jr(i){return function(...e){{let t=e[0]?`on key "${e[0]}" `:"";console.warn(`${Hf(i)} operation ${t}failed: target is readonly.`,me(this))}return i==="delete"?!1:this}}function Jg(){let i={get(o){return _s(this,o)},get size(){return ms(this)},has:gs,add:zc,set:Vc,delete:Hc,clear:Wc,forEach:vs(!1,!1)},e={get(o){return _s(this,o,!1,!0)},get size(){return ms(this)},has:gs,add:zc,set:Vc,delete:Hc,clear:Wc,forEach:vs(!1,!0)},t={get(o){return _s(this,o,!0)},get size(){return ms(this,!0)},has(o){return gs.call(this,o,!0)},add:Jr("add"),set:Jr("set"),delete:Jr("delete"),clear:Jr("clear"),forEach:vs(!0,!1)},r={get(o){return _s(this,o,!0,!0)},get size(){return ms(this,!0)},has(o){return gs.call(this,o,!0)},add:Jr("add"),set:Jr("set"),delete:Jr("delete"),clear:Jr("clear"),forEach:vs(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{i[o]=Ds(o,!1,!1),t[o]=Ds(o,!0,!1),e[o]=Ds(o,!1,!0),r[o]=Ds(o,!0,!0)}),[i,t,e,r]}var[e0,t0,r0,i0]=Jg();function Gf(i,e){let t=e?i?i0:r0:i?t0:e0;return(r,n,o)=>n==="__v_isReactive"?!i:n==="__v_isReadonly"?i:n==="__v_raw"?r:Reflect.get(As(t,n)&&n in r?t:r,n,o)}var n0={get:Gf(!1,!1)},o0={get:Gf(!0,!1)};function $f(i,e,t){let r=me(t);if(r!==t&&e.call(i,r)){let n=Vf(i);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 jf=new WeakMap,s0=new WeakMap,Kf=new WeakMap,a0=new WeakMap;function u0(i){switch(i){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function l0(i){return i.__v_skip||!Object.isExtensible(i)?0:u0(Vf(i))}function Ru(i){return i&&i.__v_isReadonly?i:Qf(i,!1,Zg,n0,jf)}function Zf(i){return Qf(i,!0,Qg,o0,Kf)}function Qf(i,e,t,r,n){if(!Fs(i))return console.warn(`value cannot be made reactive: ${String(i)}`),i;if(i.__v_raw&&!(e&&i.__v_isReactive))return i;let o=n.get(i);if(o)return o;let s=l0(i);if(s===0)return i;let a=new Proxy(i,s===2?r:t);return n.set(i,a),a}function me(i){return i&&me(i.__v_raw)||i}function hu(i){return!!(i&&i.__v_isRef===!0)}ir("nextTick",()=>Tu);ir("dispatch",i=>to.bind(to,i));ir("watch",(i,{evaluateLater:e,effect:t})=>(r,n)=>{let o=e(r),s=!0,a,u=t(()=>o(l=>{JSON.stringify(l),s?a=l:queueMicrotask(()=>{n(l,a),a=l}),s=!1}));i._x_effects.delete(u)});ir("store",Eg);ir("data",i=>lf(i));ir("root",i=>xs(i));ir("refs",i=>(i._x_refs_proxy||(i._x_refs_proxy=ao(c0(i))),i._x_refs_proxy));function c0(i){let e=[],t=i;for(;t;)t._x_refs&&e.push(t._x_refs),t=t.parentNode;return e}var ja={};function Jf(i){return ja[i]||(ja[i]=0),++ja[i]}function f0(i,e){return Ss(i,t=>{if(t._x_ids&&t._x_ids[e])return!0})}function d0(i,e){i._x_ids||(i._x_ids={}),i._x_ids[e]||(i._x_ids[e]=Jf(e))}ir("id",i=>(e,t=null)=>{let r=f0(i,e),n=r?r._x_ids[e]:Jf(e);return t?`${e}-${n}-${t}`:`${e}-${n}`});ir("el",i=>i);ed("Focus","focus","focus");ed("Persist","persist","persist");function ed(i,e,t){ir(e,r=>Fr(`You can't use [$${e}] without first installing the "${i}" plugin here: https://alpinejs.dev/plugins/${t}`,r))}Ne("modelable",(i,{expression:e},{effect:t,evaluateLater:r,cleanup:n})=>{let o=r(e),s=()=>{let c;return o(d=>c=d),c},a=r(`${e} = __placeholder`),u=c=>a(()=>{},{scope:{__placeholder:c}}),l=s();u(l),queueMicrotask(()=>{if(!i._x_model)return;i._x_removeModelListeners.default();let c=i._x_model.get,d=i._x_model.set,p=Lf({get(){return c()},set(f){d(f)}},{get(){return s()},set(f){u(f)}});n(p)})});Ne("teleport",(i,{modifiers:e,expression:t},{cleanup:r})=>{i.tagName.toLowerCase()!=="template"&&Fr("x-teleport can only be used on a <template> tag",i);let n=qc(t),o=i.content.cloneNode(!0).firstElementChild;i._x_teleport=o,o._x_teleportBack=i,i.setAttribute("data-teleport-template",!0),o.setAttribute("data-teleport-target",!0),i._x_forwardEvents&&i._x_forwardEvents.forEach(a=>{o.addEventListener(a,u=>{u.stopPropagation(),i.dispatchEvent(new u.constructor(u.type,u))})}),so(o,{},i);let s=(a,u,l)=>{l.includes("prepend")?u.parentNode.insertBefore(a,u):l.includes("append")?u.parentNode.insertBefore(a,u.nextSibling):u.appendChild(a)};He(()=>{s(o,n,e),Or(o),o._x_ignore=!0}),i._x_teleportPutBack=()=>{let a=qc(t);He(()=>{s(i._x_teleport,a,e)})},r(()=>o.remove())});var h0=document.createElement("div");function qc(i){let e=Ts(()=>document.querySelector(i),()=>h0)();return e||Fr(`Cannot find x-teleport element for selector: "${i}"`),e}var td=()=>{};td.inline=(i,{modifiers:e},{cleanup:t})=>{e.includes("self")?i._x_ignoreSelf=!0:i._x_ignore=!0,t(()=>{e.includes("self")?delete i._x_ignoreSelf:delete i._x_ignore})};Ne("ignore",td);Ne("effect",(i,{expression:e},{effect:t})=>t(ft(i,e)));function pu(i,e,t,r){let n=i,o=u=>r(u),s={},a=(u,l)=>c=>l(u,c);if(t.includes("dot")&&(e=p0(e)),t.includes("camel")&&(e=_0(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 u=t[t.indexOf("debounce")+1]||"invalid-wait",l=bs(u.split("ms")[0])?Number(u.split("ms")[0]):250;o=kf(o,l)}if(t.includes("throttle")){let u=t[t.indexOf("throttle")+1]||"invalid-wait",l=bs(u.split("ms")[0])?Number(u.split("ms")[0]):250;o=Pf(o,l)}return t.includes("prevent")&&(o=a(o,(u,l)=>{l.preventDefault(),u(l)})),t.includes("stop")&&(o=a(o,(u,l)=>{l.stopPropagation(),u(l)})),t.includes("self")&&(o=a(o,(u,l)=>{l.target===i&&u(l)})),(t.includes("away")||t.includes("outside"))&&(n=document,o=a(o,(u,l)=>{i.contains(l.target)||l.target.isConnected!==!1&&(i.offsetWidth<1&&i.offsetHeight<1||i._x_isShown!==!1&&u(l))})),t.includes("once")&&(o=a(o,(u,l)=>{u(l),n.removeEventListener(e,o,s)})),o=a(o,(u,l)=>{m0(e)&&v0(l,t)||u(l)}),n.addEventListener(e,o,s),()=>{n.removeEventListener(e,o,s)}}function p0(i){return i.replace(/-/g,".")}function _0(i){return i.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function bs(i){return!Array.isArray(i)&&!isNaN(i)}function g0(i){return[" ","_"].includes(i)?i:i.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase()}function m0(i){return["keydown","keyup"].includes(i)}function v0(i,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,bs((t[o+1]||"invalid-wait").split("ms")[0])?2:1)}if(t.includes("throttle")){let o=t.indexOf("throttle");t.splice(o,bs((t[o+1]||"invalid-wait").split("ms")[0])?2:1)}if(t.length===0||t.length===1&&Yc(i.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"),i[`${s}Key`])).length===n.length&&Yc(i.key).includes(t[0]))}function Yc(i){if(!i)return[];i=g0(i);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[i]=i,Object.keys(e).map(t=>{if(e[t]===i)return t}).filter(t=>t)}Ne("model",(i,{modifiers:e,expression:t},{effect:r,cleanup:n})=>{let o=i;e.includes("parent")&&(o=i.parentNode);let s=ft(o,t),a;typeof t=="string"?a=ft(o,`${t} = __placeholder`):typeof t=="function"&&typeof t()=="string"?a=ft(o,`${t()} = __placeholder`):a=()=>{};let u=()=>{let p;return s(f=>p=f),Xc(p)?p.get():p},l=p=>{let f;s(_=>f=_),Xc(f)?f.set(p):a(()=>{},{scope:{__placeholder:p}})};typeof t=="string"&&i.type==="radio"&&He(()=>{i.hasAttribute("name")||i.setAttribute("name",t)});var c=i.tagName.toLowerCase()==="select"||["checkbox","radio"].includes(i.type)||e.includes("lazy")?"change":"input";let d=ti?()=>{}:pu(i,c,e,p=>{l(D0(i,e,p,u()))});if(e.includes("fill")&&([null,""].includes(u())||i.type==="checkbox"&&Array.isArray(u()))&&i.dispatchEvent(new Event(c,{})),i._x_removeModelListeners||(i._x_removeModelListeners={}),i._x_removeModelListeners.default=d,n(()=>i._x_removeModelListeners.default()),i.form){let p=pu(i.form,"reset",[],f=>{Tu(()=>i._x_model&&i._x_model.set(i.value))});n(()=>p())}i._x_model={get(){return u()},set(p){l(p)}},i._x_forceModelUpdate=p=>{p===void 0&&typeof t=="string"&&t.match(/\./)&&(p=""),window.fromModel=!0,He(()=>Af(i,"value",p)),delete window.fromModel},r(()=>{let p=u();e.includes("unintrusive")&&document.activeElement.isSameNode(i)||i._x_forceModelUpdate(p)})});function D0(i,e,t,r){return He(()=>{if(t instanceof CustomEvent&&t.detail!==void 0)return t.detail!==null&&t.detail!==void 0?t.detail:t.target.value;if(i.type==="checkbox")if(Array.isArray(r)){let n=e.includes("number")?Ka(t.target.value):t.target.value;return t.target.checked?r.concat([n]):r.filter(o=>!y0(o,n))}else return t.target.checked;else{if(i.tagName.toLowerCase()==="select"&&i.multiple)return e.includes("number")?Array.from(t.target.selectedOptions).map(n=>{let o=n.value||n.text;return Ka(o)}):Array.from(t.target.selectedOptions).map(n=>n.value||n.text);{let n=t.target.value;return e.includes("number")?Ka(n):e.includes("trim")?n.trim():n}}})}function Ka(i){let e=i?parseFloat(i):null;return w0(e)?e:i}function y0(i,e){return i==e}function w0(i){return!Array.isArray(i)&&!isNaN(i)}function Xc(i){return i!==null&&typeof i=="object"&&typeof i.get=="function"&&typeof i.set=="function"}Ne("cloak",i=>queueMicrotask(()=>He(()=>i.removeAttribute(_n("cloak")))));Jc(()=>`[${_n("init")}]`);Ne("init",Ts((i,{expression:e},{evaluate:t})=>typeof e=="string"?!!e.trim()&&t(e,{},!1):t(e,{},!1)));Ne("text",(i,{expression:e},{effect:t,evaluateLater:r})=>{let n=r(e);t(()=>{n(o=>{He(()=>{i.textContent=o})})})});Ne("html",(i,{expression:e},{effect:t,evaluateLater:r})=>{let n=r(e);t(()=>{n(o=>{He(()=>{i.innerHTML=o,i._x_ignoreSelf=!0,Or(i),delete i._x_ignoreSelf})})})});Su(Df(":",yf(_n("bind:"))));var rd=(i,{value:e,modifiers:t,expression:r,original:n},{effect:o})=>{if(!e){let a={};xg(a),ft(i,r)(l=>{Nf(i,l,n)},{scope:a});return}if(e==="key")return E0(i,r);if(i._x_inlineBindings&&i._x_inlineBindings[e]&&i._x_inlineBindings[e].extract)return;let s=ft(i,r);o(()=>s(a=>{a===void 0&&typeof r=="string"&&r.match(/\./)&&(a=""),He(()=>Af(i,e,a,t))}))};rd.inline=(i,{value:e,modifiers:t,expression:r})=>{e&&(i._x_inlineBindings||(i._x_inlineBindings={}),i._x_inlineBindings[e]={expression:r,extract:!1})};Ne("bind",rd);function E0(i,e){i._x_keyExpression=e}Qc(()=>`[${_n("data")}]`);Ne("data",(i,{expression:e},{cleanup:t})=>{if(ug(i))return;e=e===""?"{}":e;let r={};ru(r,i);let n={};Cg(n,r);let o=Oi(i,e,{scope:n});(o===void 0||o===!0)&&(o={}),ru(o,i);let s=hn(o);cf(s);let a=so(i,s);s.init&&Oi(i,s.init),t(()=>{s.destroy&&Oi(i,s.destroy),a()})});Ne("show",(i,{modifiers:e,expression:t},{effect:r})=>{let n=ft(i,t);i._x_doHide||(i._x_doHide=()=>{He(()=>{i.style.setProperty("display","none",e.includes("important")?"important":void 0)})}),i._x_doShow||(i._x_doShow=()=>{He(()=>{i.style.length===1&&i.style.display==="none"?i.removeAttribute("style"):i.style.removeProperty("display")})});let o=()=>{i._x_doHide(),i._x_isShown=!1},s=()=>{i._x_doShow(),i._x_isShown=!0},a=()=>setTimeout(s),u=uu(d=>d?s():o(),d=>{typeof i._x_toggleAndCascadeWithTransitions=="function"?i._x_toggleAndCascadeWithTransitions(i,d,s,o):d?a():o()}),l,c=!0;r(()=>n(d=>{!c&&d===l||(e.includes("immediate")&&(d?a():o()),u(d),l=d,c=!1)}))});Ne("for",(i,{expression:e},{effect:t,cleanup:r})=>{let n=x0(e),o=ft(i,n.items),s=ft(i,i._x_keyExpression||"index");i._x_prevKeys=[],i._x_lookup={},t(()=>b0(i,n,o,s)),r(()=>{Object.values(i._x_lookup).forEach(a=>a.remove()),delete i._x_prevKeys,delete i._x_lookup})});function b0(i,e,t,r){let n=s=>typeof s=="object"&&!Array.isArray(s),o=i;t(s=>{S0(s)&&s>=0&&(s=Array.from(Array(s).keys(),g=>g+1)),s===void 0&&(s=[]);let a=i._x_lookup,u=i._x_prevKeys,l=[],c=[];if(n(s))s=Object.entries(s).map(([g,m])=>{let v=Uc(e,m,g,s);r(y=>c.push(y),{scope:{index:g,...v}}),l.push(v)});else for(let g=0;g<s.length;g++){let m=Uc(e,s[g],g,s);r(v=>c.push(v),{scope:{index:g,...m}}),l.push(m)}let d=[],p=[],f=[],_=[];for(let g=0;g<u.length;g++){let m=u[g];c.indexOf(m)===-1&&f.push(m)}u=u.filter(g=>!f.includes(g));let h="template";for(let g=0;g<c.length;g++){let m=c[g],v=u.indexOf(m);if(v===-1)u.splice(g,0,m),d.push([h,g]);else if(v!==g){let y=u.splice(g,1)[0],w=u.splice(v-1,1)[0];u.splice(g,0,w),u.splice(v,0,y),p.push([y,w])}else _.push(m);h=m}for(let g=0;g<f.length;g++){let m=f[g];a[m]._x_effects&&a[m]._x_effects.forEach(Gc),a[m].remove(),a[m]=null,delete a[m]}for(let g=0;g<p.length;g++){let[m,v]=p[g],y=a[m],w=a[v],b=document.createElement("div");He(()=>{w||Fr('x-for ":key" is undefined or invalid',o),w.after(b),y.after(w),w._x_currentIfEl&&w.after(w._x_currentIfEl),b.before(y),y._x_currentIfEl&&y.after(y._x_currentIfEl),b.remove()}),w._x_refreshXForScope(l[c.indexOf(v)])}for(let g=0;g<d.length;g++){let[m,v]=d[g],y=m==="template"?o:a[m];y._x_currentIfEl&&(y=y._x_currentIfEl);let w=l[v],b=c[v],x=document.importNode(o.content,!0).firstElementChild,E=hn(w);so(x,E,o),x._x_refreshXForScope=S=>{Object.entries(S).forEach(([A,C])=>{E[A]=C})},He(()=>{y.after(x),Or(x)}),typeof b=="object"&&Fr("x-for key cannot be an object, it must be a string or an integer",o),a[b]=x}for(let g=0;g<_.length;g++)a[_[g]]._x_refreshXForScope(l[c.indexOf(_[g])]);o._x_prevKeys=c})}function x0(i){let e=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,t=/^\s*\(|\)\s*$/g,r=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,n=i.match(r);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 Uc(i,e,t,r){let n={};return/^\[.*\]$/.test(i.item)&&Array.isArray(e)?i.item.replace("[","").replace("]","").split(",").map(s=>s.trim()).forEach((s,a)=>{n[s]=e[a]}):/^\{.*\}$/.test(i.item)&&!Array.isArray(e)&&typeof e=="object"?i.item.replace("{","").replace("}","").split(",").map(s=>s.trim()).forEach(s=>{n[s]=e[s]}):n[i.item]=e,i.index&&(n[i.index]=t),i.collection&&(n[i.collection]=r),n}function S0(i){return!Array.isArray(i)&&!isNaN(i)}function id(){}id.inline=(i,{expression:e},{cleanup:t})=>{let r=xs(i);r._x_refs||(r._x_refs={}),r._x_refs[e]=i,t(()=>delete r._x_refs[e])};Ne("ref",id);Ne("if",(i,{expression:e},{effect:t,cleanup:r})=>{i.tagName.toLowerCase()!=="template"&&Fr("x-if can only be used on a <template> tag",i);let n=ft(i,e),o=()=>{if(i._x_currentIfEl)return i._x_currentIfEl;let a=i.content.cloneNode(!0).firstElementChild;return so(a,{},i),He(()=>{i.after(a),Or(a)}),i._x_currentIfEl=a,i._x_undoIf=()=>{ei(a,u=>{u._x_effects&&u._x_effects.forEach(Gc)}),a.remove(),delete i._x_currentIfEl},a},s=()=>{i._x_undoIf&&(i._x_undoIf(),delete i._x_undoIf)};t(()=>n(a=>{a?o():s()})),r(()=>i._x_undoIf&&i._x_undoIf())});Ne("id",(i,{expression:e},{evaluate:t})=>{t(e).forEach(n=>d0(i,n))});Su(Df("@",yf(_n("on:"))));Ne("on",Ts((i,{value:e,modifiers:t,expression:r},{cleanup:n})=>{let o=r?ft(i,r):()=>{};i.tagName.toLowerCase()==="template"&&(i._x_forwardEvents||(i._x_forwardEvents=[]),i._x_forwardEvents.includes(e)||i._x_forwardEvents.push(e));let s=pu(i,e,t,a=>{o(()=>{},{scope:{$event:a},params:[a]})});n(()=>s())}));ks("Collapse","collapse","collapse");ks("Intersect","intersect","intersect");ks("Focus","trap","focus");ks("Mask","mask","mask");function ks(i,e,t){Ne(e,r=>Fr(`You can't use [x-${e}] without first installing the "${i}" plugin here: https://alpinejs.dev/plugins/${t}`,r))}uo.setEvaluator(_f);uo.setReactivityEngine({reactive:Ru,effect:Ng,release:Ig,raw:me});var C0=uo,Nu=C0;function Iu(i){let e=[];for(let t=0;t<i.attributes.length;++t){let r=i.attributes[t];r.name.startsWith("x-")&&e.push(r)}return e}function T0(i){let e=document.createElement("template");Iu(i).forEach(r=>{e.setAttribute(r.name,r.value),i.removeAttribute(r.name)}),i.parentNode.insertBefore(e,i),e.content.appendChild(i)}function A0(i){Iu(i).forEach(t=>{let r=t.name.match(/^(x-[^:]+)(:.+)$/);if(r){let n=null;if(["x-bind","x-on"].includes(r[1])){let o=r[1],s=r[2].substring(1);o==="x-on"&&s.startsWith("update:")&&(o+=":update",s=s.substring(7)),s.includes(":")&&(n=o+":"+s.replace(/:/g,"."))}else n=r[1]+r[2].replace(/:/g,".");n&&(i.setAttribute(n,t.value),i.removeAttribute(t.name))}})}function F0(i){Iu(i).forEach(t=>{t.name.match(/^x-transition.*(?!(enter|leave))/)&&i.setAttribute(t.name,"")})}function O0(){document.querySelectorAll("[x-data],[x-data] *").forEach(i=>{A0(i),F0(i)}),document.querySelectorAll("[x-data] [x-for], [x-data] [x-if]").forEach(T0)}function nd(){window.Alpine=Nu,window.Webflow||(window.Webflow=[]),window.Webflow.push(()=>{O0(),Nu.start()})}function sd(i,e,t){return Math.max(i,Math.min(e,t))}var Bu=class{advance(e){if(!this.isRunning)return;let t=!1;if(this.lerp)this.value=function(n,o,s,a){return function(l,c,d){return(1-d)*l+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 r=sd(0,this.currentTime/this.duration,1);t=r>=1;let n=t?1:this.easing(r);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:r=.1,duration:n=1,easing:o=u=>u,onStart:s,onUpdate:a}){this.from=this.value=e,this.to=t,this.lerp=r,this.duration=n,this.easing=o,this.currentTime=0,this.isRunning=!0,s?.(),this.onUpdate=a}},zu=class{constructor({wrapper:e,content:t,autoResize:r=!0,debounce:n=250}={}){this.wrapper=e,this.content=t,r&&(this.debouncedResize=function(s,a){let u;return function(){let l=arguments,c=this;clearTimeout(u),u=setTimeout(function(){s.apply(c,l)},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}}},Ps=class{constructor(){this.events={}}emit(e,...t){let r=this.events[e]||[];for(let n=0,o=r.length;n<o;n++)r[n](...t)}on(e,t){return this.events[e]?.push(t)||(this.events[e]=[t]),()=>{this.events[e]=this.events[e]?.filter(r=>t!==r)}}off(e,t){this.events[e]=this.events[e]?.filter(r=>t!==r)}destroy(){this.events={}}},od=100/6,Vu=class{constructor(e,{wheelMultiplier:t=1,touchMultiplier:r=1}){this.element=e,this.wheelMultiplier=t,this.touchMultiplier=r,this.touchStart={x:null,y:null},this.emitter=new Ps,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:r}=e.targetTouches?e.targetTouches[0]:e;this.touchStart.x=t,this.touchStart.y=r,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:e})};onTouchMove=e=>{let{clientX:t,clientY:r}=e.targetTouches?e.targetTouches[0]:e,n=-(t-this.touchStart.x)*this.touchMultiplier,o=-(r-this.touchStart.y)*this.touchMultiplier;this.touchStart.x=t,this.touchStart.y=r,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:r,deltaMode:n}=e;t*=n===1?od:n===2?this.windowWidth:1,r*=n===1?od:n===2?this.windowHeight:1,t*=this.wheelMultiplier,r*=this.wheelMultiplier,this.emitter.emit("scroll",{deltaX:t,deltaY:r,event:e})};onWindowResize=()=>{this.windowWidth=window.innerWidth,this.windowHeight=window.innerHeight}},Ls=class{constructor({wrapper:e=window,content:t=document.documentElement,wheelEventsTarget:r=e,eventsTarget:n=r,smoothWheel:o=!0,syncTouch:s=!1,syncTouchLerp:a=.075,touchInertiaMultiplier:u=35,duration:l,easing:c=w=>Math.min(1,1.001-Math.pow(2,-10*w)),lerp:d=!l&&.1,infinite:p=!1,orientation:f="vertical",gestureOrientation:_="vertical",touchMultiplier:h=1,wheelMultiplier:g=1,autoResize:m=!0,prevent:v=!1,__experimental__naiveDimensions:y=!1}={}){this.__isScrolling=!1,this.__isStopped=!1,this.__isLocked=!1,this.onVirtualScroll=({deltaX:w,deltaY:b,event:x})=>{if(x.ctrlKey)return;let E=x.type.includes("touch"),S=x.type.includes("wheel");if(this.isTouching=x.type==="touchstart"||x.type==="touchmove",this.options.syncTouch&&E&&x.type==="touchstart"&&!this.isStopped&&!this.isLocked)return void this.reset();let A=w===0&&b===0,C=this.options.gestureOrientation==="vertical"&&b===0||this.options.gestureOrientation==="horizontal"&&w===0;if(A||C)return;let O=x.composedPath();O=O.slice(0,O.indexOf(this.rootElement));let F=this.options.prevent;if(O.find(P=>{var R,N,T,D,L;return(typeof F=="function"?F?.(P):F)||((R=P.hasAttribute)===null||R===void 0?void 0:R.call(P,"data-lenis-prevent"))||E&&((N=P.hasAttribute)===null||N===void 0?void 0:N.call(P,"data-lenis-prevent-touch"))||S&&((T=P.hasAttribute)===null||T===void 0?void 0:T.call(P,"data-lenis-prevent-wheel"))||((D=P.classList)===null||D===void 0?void 0:D.contains("lenis"))&&!(!((L=P.classList)===null||L===void 0)&&L.contains("lenis-stopped"))}))return;if(this.isStopped||this.isLocked)return void x.preventDefault();if(!(this.options.syncTouch&&E||this.options.smoothWheel&&S))return this.isScrolling="native",void this.animate.stop();x.preventDefault();let k=b;this.options.gestureOrientation==="both"?k=Math.abs(b)>Math.abs(w)?b:w:this.options.gestureOrientation==="horizontal"&&(k=w);let H=E&&this.options.syncTouch,z=E&&x.type==="touchend"&&Math.abs(k)>5;z&&(k=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+k,Object.assign({programmatic:!1},H?{lerp:z?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 w=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-w,this.direction=Math.sign(this.animatedScroll-w),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:r,eventsTarget:n,smoothWheel:o,syncTouch:s,syncTouchLerp:a,touchInertiaMultiplier:u,duration:l,easing:c,lerp:d,infinite:p,gestureOrientation:_,orientation:f,touchMultiplier:h,wheelMultiplier:g,autoResize:m,prevent:v,__experimental__naiveDimensions:y},this.animate=new Bu,this.emitter=new Ps,this.dimensions=new zu({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 Vu(n,{touchMultiplier:h,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:r=!1,lock:n=!1,duration:o=this.options.duration,easing:s=this.options.easing,lerp:a=!o&&this.options.lerp,onStart:u,onComplete:l,force:c=!1,programmatic:d=!0,userData:p={}}={}){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 h=this.options.wrapper.getBoundingClientRect();t-=this.isHorizontal?h.left:h.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=sd(0,e,this.limit),r)return this.animatedScroll=this.targetScroll=e,this.setScroll(this.scroll),this.reset(),void(l==null||l(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",u?.(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:p}),_&&(this.reset(),this.emit({userData:p}),l?.(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,r){return(t%r+r)%r}(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 Mr(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function pd(i,e){i.prototype=Object.create(e.prototype),i.prototype.constructor=i,i.__proto__=e}var Ct={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},mn={duration:.5,overwrite:!1,delay:0},ol,ot,ye,Ht=1e8,_e=1/Ht,$u=Math.PI*2,M0=$u/4,k0=0,_d=Math.sqrt,P0=Math.cos,L0=Math.sin,We=function(e){return typeof e=="string"},Ae=function(e){return typeof e=="function"},Pr=function(e){return typeof e=="number"},Ys=function(e){return typeof e>"u"},gr=function(e){return typeof e=="object"},St=function(e){return e!==!1},sl=function(){return typeof window<"u"},Rs=function(e){return Ae(e)||We(e)},gd=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},st=Array.isArray,ju=/(?:-?\.?\d|\.)+/gi,al=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Ii=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Hu=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,ul=/[+-]=-?[.\d]+/,md=/[^,'"\[\]\s]+/gi,R0=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Ee,pr,Ku,ll,Rt={},zs={},vd,Dd=function(e){return(zs=Ni(e,Rt))&&at},Xs=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},_o=function(e,t){return!t&&console.warn(e)},yd=function(e,t){return e&&(Rt[e]=t)&&zs&&(zs[e]=t)||Rt},go=function(){return 0},N0={suppressEvents:!0,isStart:!0,kill:!1},Ns={suppressEvents:!0,kill:!1},I0={suppressEvents:!0},cl={},ni=[],Zu={},wd,bt={},Wu={},ad=30,Is=[],fl="",dl=function(e){var t=e[0],r,n;if(gr(t)||Ae(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(n=Is.length;n--&&!Is[n].targetTest(t););r=Is[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new _l(e[n],r)))||e.splice(n,1);return e},oi=function(e){return e._gsap||dl(Wt(e))[0]._gsap},hl=function(e,t,r){return(r=e[t])&&Ae(r)?e[t]():Ys(r)&&e.getAttribute&&e.getAttribute(t)||r},dt=function(e,t){return(e=e.split(",")).forEach(t)||e},Fe=function(e){return Math.round(e*1e5)/1e5||0},Ge=function(e){return Math.round(e*1e7)/1e7||0},Bi=function(e,t){var r=t.charAt(0),n=parseFloat(t.substr(2));return e=parseFloat(e),r==="+"?e+n:r==="-"?e-n:r==="*"?e*n:e/n},B0=function(e,t){for(var r=t.length,n=0;e.indexOf(t[n])<0&&++n<r;);return n<r},Vs=function(){var e=ni.length,t=ni.slice(0),r,n;for(Zu={},ni.length=0,r=0;r<e;r++)n=t[r],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},Ed=function(e,t,r,n){ni.length&&!ot&&Vs(),e.render(t,r,n||ot&&t<0&&(e._initted||e._startAt)),ni.length&&!ot&&Vs()},bd=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(md).length<2?t:We(e)?e.trim():e},xd=function(e){return e},qt=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},z0=function(e){return function(t,r){for(var n in r)n in t||n==="duration"&&e||n==="ease"||(t[n]=r[n])}},Ni=function(e,t){for(var r in t)e[r]=t[r];return e},ud=function i(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=gr(t[r])?i(e[r]||(e[r]={}),t[r]):t[r]);return e},Hs=function(e,t){var r={},n;for(n in e)n in t||(r[n]=e[n]);return r},fo=function(e){var t=e.parent||Ee,r=e.keyframes?z0(st(e.keyframes)):qt;if(St(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},V0=function(e,t){for(var r=e.length,n=r===t.length;n&&r--&&e[r]===t[r];);return r<0},Sd=function(e,t,r,n,o){r===void 0&&(r="_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[r],e[r]=t),t._next?t._next._prev=t:e[n]=t,t._prev=s,t.parent=t._dp=e,t},Us=function(e,t,r,n){r===void 0&&(r="_first"),n===void 0&&(n="_last");var o=t._prev,s=t._next;o?o._next=s:e[r]===t&&(e[r]=s),s?s._prev=o:e[n]===t&&(e[n]=o),t._next=t._prev=t.parent=null},si=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Pi=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},H0=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Qu=function(e,t,r,n){return e._startAt&&(ot?e._startAt.revert(Ns):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))},W0=function i(e){return!e||e._ts&&i(e.parent)},ld=function(e){return e._repeat?vn(e._tTime,e=e.duration()+e._rDelay)*e:0},vn=function(e,t){var r=Math.floor(e/=t);return e&&r===e?r-1:r},Ws=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Gs=function(e){return e._end=Ge(e._start+(e._tDur/Math.abs(e._ts||e._rts||_e)||0))},$s=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Ge(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Gs(e),r._dirty||Pi(r,e)),e},Cd=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=Ws(e.rawTime(),t),(!t._dur||Do(0,t.totalDuration(),r)-t._tTime>_e)&&t.render(r,!0)),Pi(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-_e}},_r=function(e,t,r,n){return t.parent&&si(t),t._start=Ge((Pr(r)?r:r||e!==Ee?Vt(e,r,t):e._time)+t._delay),t._end=Ge(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Sd(e,t,"_first","_last",e._sort?"_start":0),Ju(t)||(e._recent=t),n||Cd(e,t),e._ts<0&&$s(e,e._tTime),e},Td=function(e,t){return(Rt.ScrollTrigger||Xs("scrollTrigger",t))&&Rt.ScrollTrigger.create(t,e)},Ad=function(e,t,r,n,o){if(vl(e,t,o),!e._initted)return 1;if(!r&&e._pt&&!ot&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&wd!==xt.frame)return ni.push(e),e._lazy=[o,n],1},q0=function i(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||i(t))},Ju=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},Y0=function(e,t,r,n){var o=e.ratio,s=t<0||!t&&(!e._start&&q0(e)&&!(!e._initted&&Ju(e))||(e._ts<0||e._dp._ts<0)&&!Ju(e))?0:1,a=e._rDelay,u=0,l,c,d;if(a&&e._repeat&&(u=Do(0,e._tDur,t),c=vn(u,a),e._yoyo&&c&1&&(s=1-s),c!==vn(e._tTime,a)&&(o=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==o||ot||n||e._zTime===_e||!t&&e._zTime){if(!e._initted&&Ad(e,t,n,r,u))return;for(d=e._zTime,e._zTime=t||(r?_e:0),r||(r=t&&!d),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=u,l=e._pt;l;)l.r(s,l.d),l=l._next;t<0&&Qu(e,t,r,!0),e._onUpdate&&!r&&Lt(e,"onUpdate"),u&&e._repeat&&!r&&e.parent&&Lt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===s&&(s&&si(e,1),!r&&!ot&&(Lt(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},X0=function(e,t,r){var n;if(r>t)for(n=e._first;n&&n._start<=r;){if(n.data==="isPause"&&n._start>t)return n;n=n._next}else for(n=e._last;n&&n._start>=r;){if(n.data==="isPause"&&n._start<t)return n;n=n._prev}},Dn=function(e,t,r,n){var o=e._repeat,s=Ge(t)||0,a=e._tTime/e._tDur;return a&&!n&&(e._time*=s/e._dur),e._dur=s,e._tDur=o?o<0?1e10:Ge(s*(o+1)+e._rDelay*o):s,a>0&&!n&&$s(e,e._tTime=e._tDur*a),e.parent&&Gs(e),r||Pi(e.parent,e),e},cd=function(e){return e instanceof Je?Pi(e):Dn(e,e._dur)},U0={_start:0,endTime:go,totalDuration:go},Vt=function i(e,t,r){var n=e.labels,o=e._recent||U0,s=e.duration()>=Ht?o.endTime(!1):e._dur,a,u,l;return We(t)&&(isNaN(t)||t in n)?(u=t.charAt(0),l=t.substr(-1)==="%",a=t.indexOf("="),u==="<"||u===">"?(a>=0&&(t=t.replace(/=/,"")),(u==="<"?o._start:o.endTime(o._repeat>=0))+(parseFloat(t.substr(1))||0)*(l?(a<0?o:r).totalDuration()/100:1)):a<0?(t in n||(n[t]=s),n[t]):(u=parseFloat(t.charAt(a-1)+t.substr(a+1)),l&&r&&(u=u/100*(st(r)?r[0]:r).totalDuration()),a>1?i(e,t.substr(0,a-1),r)+u:s+u)):t==null?s:+t},ho=function(e,t,r){var n=Pr(t[1]),o=(n?2:1)+(e<2?0:1),s=t[o],a,u;if(n&&(s.duration=t[1]),s.parent=r,e){for(a=s,u=r;u&&!("immediateRender"in a);)a=u.vars.defaults||{},u=St(u.vars.inherit)&&u.parent;s.immediateRender=St(a.immediateRender),e<2?s.runBackwards=1:s.startAt=t[o-1]}return new Pe(t[0],s,t[o+1])},ai=function(e,t){return e||e===0?t(e):t},Do=function(e,t,r){return r<e?e:r>t?t:r},et=function(e,t){return!We(e)||!(t=R0.exec(e))?"":t[1]},G0=function(e,t,r){return ai(r,function(n){return Do(e,t,n)})},el=[].slice,Fd=function(e,t){return e&&gr(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&gr(e[0]))&&!e.nodeType&&e!==pr},$0=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(n){var o;return We(n)&&!t||Fd(n,1)?(o=r).push.apply(o,Wt(n)):r.push(n)})||r},Wt=function(e,t,r){return ye&&!t&&ye.selector?ye.selector(e):We(e)&&!r&&(Ku||!yn())?el.call((t||ll).querySelectorAll(e),0):st(e)?$0(e,r):Fd(e)?el.call(e,0):e?[e]:[]},tl=function(e){return e=Wt(e)[0]||_o("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return Wt(t,r.querySelectorAll?r:r===e?_o("Invalid scope")||ll.createElement("div"):e)}},Od=function(e){return e.sort(function(){return .5-Math.random()})},Md=function(e){if(Ae(e))return e;var t=gr(e)?e:{each:e},r=Li(t.ease),n=t.from||0,o=parseFloat(t.base)||0,s={},a=n>0&&n<1,u=isNaN(n)||a,l=t.axis,c=n,d=n;return We(n)?c=d={center:.5,edges:.5,end:1}[n]||0:!a&&u&&(c=n[0],d=n[1]),function(p,f,_){var h=(_||t).length,g=s[h],m,v,y,w,b,x,E,S,A;if(!g){if(A=t.grid==="auto"?0:(t.grid||[1,Ht])[1],!A){for(E=-Ht;E<(E=_[A++].getBoundingClientRect().left)&&A<h;);A<h&&A--}for(g=s[h]=[],m=u?Math.min(A,h)*c-.5:n%A,v=A===Ht?0:u?h*d/A-.5:n/A|0,E=0,S=Ht,x=0;x<h;x++)y=x%A-m,w=v-(x/A|0),g[x]=b=l?Math.abs(l==="y"?w:y):_d(y*y+w*w),b>E&&(E=b),b<S&&(S=b);n==="random"&&Od(g),g.max=E-S,g.min=S,g.v=h=(parseFloat(t.amount)||parseFloat(t.each)*(A>h?h-1:l?l==="y"?h/A:A:Math.max(A,h/A))||0)*(n==="edges"?-1:1),g.b=h<0?o-h:o,g.u=et(t.amount||t.each)||0,r=r&&h<0?Vd(r):r}return h=(g[p]-g.min)/g.max||0,Ge(g.b+(r?r(h):h)*g.v)+g.u}},rl=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var n=Ge(Math.round(parseFloat(r)/e)*e*t);return(n-n%1)/t+(Pr(r)?0:et(r))}},kd=function(e,t){var r=st(e),n,o;return!r&&gr(e)&&(n=r=e.radius||Ht,e.values?(e=Wt(e.values),(o=!Pr(e[0]))&&(n*=n)):e=rl(e.increment)),ai(t,r?Ae(e)?function(s){return o=e(s),Math.abs(o-s)<=n?o:s}:function(s){for(var a=parseFloat(o?s.x:s),u=parseFloat(o?s.y:0),l=Ht,c=0,d=e.length,p,f;d--;)o?(p=e[d].x-a,f=e[d].y-u,p=p*p+f*f):p=Math.abs(e[d]-a),p<l&&(l=p,c=d);return c=!n||l<=n?e[c]:s,o||c===s||Pr(s)?c:c+et(s)}:rl(e))},Pd=function(e,t,r,n){return ai(st(e)?!t:r===!0?!!(r=0):!n,function(){return st(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(n=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(t-e+r*.99))/r)*r*n)/n})},j0=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return t.reduce(function(o,s){return s(o)},n)}},K0=function(e,t){return function(r){return e(parseFloat(r))+(t||et(r))}},Z0=function(e,t,r){return Rd(e,t,0,1,r)},Ld=function(e,t,r){return ai(r,function(n){return e[~~t(n)]})},Q0=function i(e,t,r){var n=t-e;return st(e)?Ld(e,i(0,e.length),t):ai(r,function(o){return(n+(o-e)%n)%n+e})},J0=function i(e,t,r){var n=t-e,o=n*2;return st(e)?Ld(e,i(0,e.length-1),t):ai(r,function(s){return s=(o+(s-e)%o)%o||0,e+(s>n?o-s:s)})},wn=function(e){for(var t=0,r="",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?md:ju),r+=e.substr(t,n-t)+Pd(a?o:+o[0],a?0:+o[1],+o[2]||1e-5),t=s+1;return r+e.substr(t,e.length-t)},Rd=function(e,t,r,n,o){var s=t-e,a=n-r;return ai(o,function(u){return r+((u-e)/s*a||0)})},em=function i(e,t,r,n){var o=isNaN(e+t)?0:function(f){return(1-f)*e+f*t};if(!o){var s=We(e),a={},u,l,c,d,p;if(r===!0&&(n=1)&&(r=null),s)e={p:e},t={p:t};else if(st(e)&&!st(t)){for(c=[],d=e.length,p=d-2,l=1;l<d;l++)c.push(i(e[l-1],e[l]));d--,o=function(_){_*=d;var h=Math.min(p,~~_);return c[h](_-h)},r=t}else n||(e=Ni(st(e)?[]:{},e));if(!c){for(u in t)gl.call(a,e,u,"get",t[u]);o=function(_){return wl(_,a)||(s?e.p:e)}}}return ai(r,o)},fd=function(e,t,r){var n=e.labels,o=Ht,s,a,u;for(s in n)a=n[s]-t,a<0==!!r&&a&&o>(a=Math.abs(a))&&(u=s,o=a);return u},Lt=function(e,t,r){var n=e.vars,o=n[t],s=ye,a=e._ctx,u,l,c;if(o)return u=n[t+"Params"],l=n.callbackScope||e,r&&ni.length&&Vs(),a&&(ye=a),c=u?o.apply(l,u):o.call(l),ye=s,c},lo=function(e){return si(e),e.scrollTrigger&&e.scrollTrigger.kill(!!ot),e.progress()<1&&Lt(e,"onInterrupt"),e},gn,Nd=[],Id=function(e){if(e)if(e=!e.name&&e.default||e,sl()||e.headless){var t=e.name,r=Ae(e),n=t&&!r&&e.init?function(){this._props=[]}:e,o={init:go,render:wl,add:gl,kill:gm,modifier:_m,rawVars:0},s={targetTest:0,get:0,getSetter:js,aliases:{},register:0};if(yn(),e!==n){if(bt[t])return;qt(n,qt(Hs(e,o),s)),Ni(n.prototype,Ni(o,Hs(e,s))),bt[n.prop=t]=n,e.targetTest&&(Is.push(n),cl[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}yd(t,n),e.register&&e.register(at,n,ht)}else Nd.push(e)},pe=255,co={aqua:[0,pe,pe],lime:[0,pe,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,pe],navy:[0,0,128],white:[pe,pe,pe],olive:[128,128,0],yellow:[pe,pe,0],orange:[pe,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[pe,0,0],pink:[pe,192,203],cyan:[0,pe,pe],transparent:[pe,pe,pe,0]},qu=function(e,t,r){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(r-t)*e*6:e<.5?r:e*3<2?t+(r-t)*(2/3-e)*6:t)*pe+.5|0},Bd=function(e,t,r){var n=e?Pr(e)?[e>>16,e>>8&pe,e&pe]:0:co.black,o,s,a,u,l,c,d,p,f,_;if(!n){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),co[e])n=co[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&pe,n&pe,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),n=[e>>16,e>>8&pe,e&pe]}else if(e.substr(0,3)==="hsl"){if(n=_=e.match(ju),!t)u=+n[0]%360/360,l=+n[1]/100,c=+n[2]/100,s=c<=.5?c*(l+1):c+l-c*l,o=c*2-s,n.length>3&&(n[3]*=1),n[0]=qu(u+1/3,o,s),n[1]=qu(u,o,s),n[2]=qu(u-1/3,o,s);else if(~e.indexOf("="))return n=e.match(al),r&&n.length<4&&(n[3]=1),n}else n=e.match(ju)||co.transparent;n=n.map(Number)}return t&&!_&&(o=n[0]/pe,s=n[1]/pe,a=n[2]/pe,d=Math.max(o,s,a),p=Math.min(o,s,a),c=(d+p)/2,d===p?u=l=0:(f=d-p,l=c>.5?f/(2-d-p):f/(d+p),u=d===o?(s-a)/f+(s<a?6:0):d===s?(a-o)/f+2:(o-s)/f+4,u*=60),n[0]=~~(u+.5),n[1]=~~(l*100+.5),n[2]=~~(c*100+.5)),r&&n.length<4&&(n[3]=1),n},zd=function(e){var t=[],r=[],n=-1;return e.split(kr).forEach(function(o){var s=o.match(Ii)||[];t.push.apply(t,s),r.push(n+=s.length+1)}),t.c=r,t},dd=function(e,t,r){var n="",o=(e+n).match(kr),s=t?"hsla(":"rgba(",a=0,u,l,c,d;if(!o)return e;if(o=o.map(function(p){return(p=Bd(p,t,1))&&s+(t?p[0]+","+p[1]+"%,"+p[2]+"%,"+p[3]:p.join(","))+")"}),r&&(c=zd(e),u=r.c,u.join(n)!==c.c.join(n)))for(l=e.replace(kr,"1").split(Ii),d=l.length-1;a<d;a++)n+=l[a]+(~u.indexOf(a)?o.shift()||s+"0,0,0,0)":(c.length?c:o.length?o:r).shift());if(!l)for(l=e.split(kr),d=l.length-1;a<d;a++)n+=l[a]+o[a];return n+l[d]},kr=function(){var i="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in co)i+="|"+e+"\\b";return new RegExp(i+")","gi")}(),tm=/hsl[a]?\(/,pl=function(e){var t=e.join(" "),r;if(kr.lastIndex=0,kr.test(t))return r=tm.test(t),e[1]=dd(e[1],r),e[0]=dd(e[0],r,zd(e[1])),!0},mo,xt=function(){var i=Date.now,e=500,t=33,r=i(),n=r,o=1e3/240,s=o,a=[],u,l,c,d,p,f,_=function h(g){var m=i()-n,v=g===!0,y,w,b,x;if((m>e||m<0)&&(r+=m-t),n+=m,b=n-r,y=b-s,(y>0||v)&&(x=++d.frame,p=b-d.time*1e3,d.time=b=b/1e3,s+=y+(y>=o?4:o-y),w=1),v||(u=l(h)),w)for(f=0;f<a.length;f++)a[f](b,p,x,g)};return d={time:0,frame:0,tick:function(){_(!0)},deltaRatio:function(g){return p/(1e3/(g||60))},wake:function(){vd&&(!Ku&&sl()&&(pr=Ku=window,ll=pr.document||{},Rt.gsap=at,(pr.gsapVersions||(pr.gsapVersions=[])).push(at.version),Dd(zs||pr.GreenSockGlobals||!pr.gsap&&pr||{}),Nd.forEach(Id)),c=typeof requestAnimationFrame<"u"&&requestAnimationFrame,u&&d.sleep(),l=c||function(g){return setTimeout(g,s-d.time*1e3+1|0)},mo=1,_(2))},sleep:function(){(c?cancelAnimationFrame:clearTimeout)(u),mo=0,l=go},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 y=m?function(w,b,x,E){g(w,b,x,E),d.remove(y)}:g;return d.remove(g),a[v?"unshift":"push"](y),yn(),y},remove:function(g,m){~(m=a.indexOf(g))&&a.splice(m,1)&&f>=m&&f--},_listeners:a},d}(),yn=function(){return!mo&&xt.wake()},le={},rm=/^[\d.\-M][\d.\-,\s]/,im=/["']/g,nm=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),n=r[0],o=1,s=r.length,a,u,l;o<s;o++)u=r[o],a=o!==s-1?u.lastIndexOf(","):u.length,l=u.substr(0,a),t[n]=isNaN(l)?l.replace(im,"").trim():+l,n=u.substr(a+1).trim();return t},om=function(e){var t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.indexOf("(",t);return e.substring(t,~n&&n<r?e.indexOf(")",r+1):r)},sm=function(e){var t=(e+"").split("("),r=le[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[nm(t[1])]:om(e).split(",").map(bd)):le._CE&&rm.test(e)?le._CE("",e):r},Vd=function(e){return function(t){return 1-e(1-t)}},Hd=function i(e,t){for(var r=e._first,n;r;)r instanceof Je?i(r,t):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==t&&(r.timeline?i(r.timeline,t):(n=r._ease,r._ease=r._yEase,r._yEase=n,r._yoyo=t)),r=r._next},Li=function(e,t){return e&&(Ae(e)?e:le[e]||sm(e))||t},zi=function(e,t,r,n){r===void 0&&(r=function(u){return 1-t(1-u)}),n===void 0&&(n=function(u){return u<.5?t(u*2)/2:1-t((1-u)*2)/2});var o={easeIn:t,easeOut:r,easeInOut:n},s;return dt(e,function(a){le[a]=Rt[a]=o,le[s=a.toLowerCase()]=r;for(var u in o)le[s+(u==="easeIn"?".in":u==="easeOut"?".out":".inOut")]=le[a+"."+u]=o[u]}),o},Wd=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},Yu=function i(e,t,r){var n=t>=1?t:1,o=(r||(e?.3:.45))/(t<1?t:1),s=o/$u*(Math.asin(1/n)||0),a=function(c){return c===1?1:n*Math.pow(2,-10*c)*L0((c-s)*o)+1},u=e==="out"?a:e==="in"?function(l){return 1-a(1-l)}:Wd(a);return o=$u/o,u.config=function(l,c){return i(e,l,c)},u},Xu=function i(e,t){t===void 0&&(t=1.70158);var r=function(s){return s?--s*s*((t+1)*s+t)+1:0},n=e==="out"?r:e==="in"?function(o){return 1-r(1-o)}:Wd(r);return n.config=function(o){return i(e,o)},n};dt("Linear,Quad,Cubic,Quart,Quint,Strong",function(i,e){var t=e<5?e+1:e;zi(i+",Power"+(t-1),e?function(r){return Math.pow(r,t)}:function(r){return r},function(r){return 1-Math.pow(1-r,t)},function(r){return r<.5?Math.pow(r*2,t)/2:1-Math.pow((1-r)*2,t)/2})});le.Linear.easeNone=le.none=le.Linear.easeIn;zi("Elastic",Yu("in"),Yu("out"),Yu());(function(i,e){var t=1/e,r=2*t,n=2.5*t,o=function(a){return a<t?i*a*a:a<r?i*Math.pow(a-1.5/e,2)+.75:a<n?i*(a-=2.25/e)*a+.9375:i*Math.pow(a-2.625/e,2)+.984375};zi("Bounce",function(s){return 1-o(1-s)},o)})(7.5625,2.75);zi("Expo",function(i){return i?Math.pow(2,10*(i-1)):0});zi("Circ",function(i){return-(_d(1-i*i)-1)});zi("Sine",function(i){return i===1?1:-P0(i*M0)+1});zi("Back",Xu("in"),Xu("out"),Xu());le.SteppedEase=le.steps=Rt.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,n=e+(t?0:1),o=t?1:0,s=1-_e;return function(a){return((n*Do(0,s,a)|0)+o)*r}}};mn.ease=le["quad.out"];dt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(i){return fl+=i+","+i+"Params,"});var _l=function(e,t){this.id=k0++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:hl,this.set=t?t.getSetter:js},vo=function(){function i(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Dn(this,+t.duration,1,1),this.data=t.data,ye&&(this._ctx=ye,ye.data.push(this)),mo||xt.wake()}var e=i.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,Dn(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,n){if(yn(),!arguments.length)return this._tTime;var o=this._dp;if(o&&o.smoothChildTiming&&this._ts){for($s(this,r),!o._dp||o.parent||Cd(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&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&_r(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!n||this._initted&&Math.abs(this._zTime)===_e||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),Ed(this,r,n)),this},e.time=function(r,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+ld(this))%(this._dur+this._rDelay)||(r?this._dur:0),n):this._time},e.totalProgress=function(r,n){return arguments.length?this.totalTime(this.totalDuration()*r,n):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},e.progress=function(r,n){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+ld(this),n):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,n){var o=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*o,n):this._repeat?vn(this._tTime,o)+1:1},e.timeScale=function(r,n){if(!arguments.length)return this._rts===-_e?0:this._rts;if(this._rts===r)return this;var o=this.parent&&this._ts?Ws(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-_e?0:this._rts,this.totalTime(Do(-Math.abs(this._delay),this._tDur,o),n!==!1),Gs(this),H0(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(yn(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==_e&&(this._tTime-=_e)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var n=this.parent||this._dp;return n&&(n._sort||!this.parent)&&_r(n,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(St(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var n=this.parent||this._dp;return n?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ws(n.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=I0);var n=ot;return ot=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),ot=n,this},e.globalTime=function(r){for(var n=this,o=arguments.length?r:n.rawTime();n;)o=n._start+o/(Math.abs(n._ts)||1),n=n._dp;return!this.parent&&this._sat?this._sat.globalTime(r):o},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,cd(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var n=this._time;return this._rDelay=r,cd(this),n?this.time(n):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,n){return this.totalTime(Vt(this,r),St(n))},e.restart=function(r,n){return this.play().totalTime(r?-this._delay:0,St(n))},e.play=function(r,n){return r!=null&&this.seek(r,n),this.reversed(!1).paused(!1)},e.reverse=function(r,n){return r!=null&&this.seek(r||this.totalDuration(),n),this.reversed(!0).paused(!1)},e.pause=function(r,n){return r!=null&&this.seek(r,n),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-_e:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-_e,this},e.isActive=function(){var r=this.parent||this._dp,n=this._start,o;return!!(!r||this._ts&&this._initted&&r.isActive()&&(o=r.rawTime(!0))>=n&&o<this.endTime(!0)-_e)},e.eventCallback=function(r,n,o){var s=this.vars;return arguments.length>1?(n?(s[r]=n,o&&(s[r+"Params"]=o),r==="onUpdate"&&(this._onUpdate=n)):delete s[r],this):s[r]},e.then=function(r){var n=this;return new Promise(function(o){var s=Ae(r)?r:xd,a=function(){var l=n.then;n.then=null,Ae(s)&&(s=s(n))&&(s.then||s===n)&&(n.then=l),o(s),n.then=l};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?a():n._prom=a})},e.kill=function(){lo(this)},i}();qt(vo.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:-_e,_prom:0,_ps:!1,_rts:1});var Je=function(i){pd(e,i);function e(r,n){var o;return r===void 0&&(r={}),o=i.call(this,r)||this,o.labels={},o.smoothChildTiming=!!r.smoothChildTiming,o.autoRemoveChildren=!!r.autoRemoveChildren,o._sort=St(r.sortChildren),Ee&&_r(r.parent||Ee,Mr(o),n),r.reversed&&o.reverse(),r.paused&&o.paused(!0),r.scrollTrigger&&Td(Mr(o),r.scrollTrigger),o}var t=e.prototype;return t.to=function(n,o,s){return ho(0,arguments,this),this},t.from=function(n,o,s){return ho(1,arguments,this),this},t.fromTo=function(n,o,s,a){return ho(2,arguments,this),this},t.set=function(n,o,s){return o.duration=0,o.parent=this,fo(o).repeatDelay||(o.repeat=0),o.immediateRender=!!o.immediateRender,new Pe(n,o,Vt(this,s),1),this},t.call=function(n,o,s){return _r(this,Pe.delayedCall(0,n,o),s)},t.staggerTo=function(n,o,s,a,u,l,c){return s.duration=o,s.stagger=s.stagger||a,s.onComplete=l,s.onCompleteParams=c,s.parent=this,new Pe(n,s,Vt(this,u)),this},t.staggerFrom=function(n,o,s,a,u,l,c){return s.runBackwards=1,fo(s).immediateRender=St(s.immediateRender),this.staggerTo(n,o,s,a,u,l,c)},t.staggerFromTo=function(n,o,s,a,u,l,c,d){return a.startAt=s,fo(a).immediateRender=St(a.immediateRender),this.staggerTo(n,o,a,u,l,c,d)},t.render=function(n,o,s){var a=this._time,u=this._dirty?this.totalDuration():this._tDur,l=this._dur,c=n<=0?0:Ge(n),d=this._zTime<0!=n<0&&(this._initted||!l),p,f,_,h,g,m,v,y,w,b,x,E;if(this!==Ee&&c>u&&n>=0&&(c=u),c!==this._tTime||s||d){if(a!==this._time&&l&&(c+=this._time-a,n+=this._time-a),p=c,w=this._start,y=this._ts,m=!y,d&&(l||(a=this._zTime),(n||!o)&&(this._zTime=n)),this._repeat){if(x=this._yoyo,g=l+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(g*100+n,o,s);if(p=Ge(c%g),c===u?(h=this._repeat,p=l):(h=~~(c/g),h&&h===c/g&&(p=l,h--),p>l&&(p=l)),b=vn(this._tTime,g),!a&&this._tTime&&b!==h&&this._tTime-b*g-this._dur<=0&&(b=h),x&&h&1&&(p=l-p,E=1),h!==b&&!this._lock){var S=x&&b&1,A=S===(x&&h&1);if(h<b&&(S=!S),a=S?0:c%l?l:c,this._lock=1,this.render(a||(E?0:Ge(h*g)),o,!l)._lock=0,this._tTime=c,!o&&this.parent&&Lt(this,"onRepeat"),this.vars.repeatRefresh&&!E&&(this.invalidate()._lock=1),a&&a!==this._time||m!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(l=this._dur,u=this._tDur,A&&(this._lock=2,a=S?l:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!E&&this.invalidate()),this._lock=0,!this._ts&&!m)return this;Hd(this,E)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=X0(this,Ge(a),Ge(p)),v&&(c-=p-(p=v._start))),this._tTime=c,this._time=p,this._act=!y,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,a=0),!a&&p&&!o&&!h&&(Lt(this,"onStart"),this._tTime!==c))return this;if(p>=a&&n>=0)for(f=this._first;f;){if(_=f._next,(f._act||p>=f._start)&&f._ts&&v!==f){if(f.parent!==this)return this.render(n,o,s);if(f.render(f._ts>0?(p-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(p-f._start)*f._ts,o,s),p!==this._time||!this._ts&&!m){v=0,_&&(c+=this._zTime=-_e);break}}f=_}else{f=this._last;for(var C=n<0?n:p;f;){if(_=f._prev,(f._act||C<=f._end)&&f._ts&&v!==f){if(f.parent!==this)return this.render(n,o,s);if(f.render(f._ts>0?(C-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(C-f._start)*f._ts,o,s||ot&&(f._initted||f._startAt)),p!==this._time||!this._ts&&!m){v=0,_&&(c+=this._zTime=C?-_e:_e);break}}f=_}}if(v&&!o&&(this.pause(),v.render(p>=a?0:-_e)._zTime=p>=a?1:-1,this._ts))return this._start=w,Gs(this),this.render(n,o,s);this._onUpdate&&!o&&Lt(this,"onUpdate",!0),(c===u&&this._tTime>=this.totalDuration()||!c&&a)&&(w===this._start||Math.abs(y)!==Math.abs(this._ts))&&(this._lock||((n||!l)&&(c===u&&this._ts>0||!c&&this._ts<0)&&si(this,1),!o&&!(n<0&&!a)&&(c||a||!u)&&(Lt(this,c===u&&n>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c<u&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(n,o){var s=this;if(Pr(o)||(o=Vt(this,o,n)),!(n instanceof vo)){if(st(n))return n.forEach(function(a){return s.add(a,o)}),this;if(We(n))return this.addLabel(n,o);if(Ae(n))n=Pe.delayedCall(0,n);else return this}return this!==n?_r(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=-Ht);for(var u=[],l=this._first;l;)l._start>=a&&(l instanceof Pe?o&&u.push(l):(s&&u.push(l),n&&u.push.apply(u,l.getChildren(!0,o,s)))),l=l._next;return u},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 We(n)?this.removeLabel(n):Ae(n)?this.killTweensOf(n):(Us(this,n),n===this._recent&&(this._recent=this._last),Pi(this))},t.totalTime=function(n,o){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Ge(xt.time-(this._ts>0?n/this._ts:(this.totalDuration()-n)/-this._ts))),i.prototype.totalTime.call(this,n,o),this._forcing=0,this):this._tTime},t.addLabel=function(n,o){return this.labels[n]=Vt(this,o),this},t.removeLabel=function(n){return delete this.labels[n],this},t.addPause=function(n,o,s){var a=Pe.delayedCall(0,o||go,s);return a.data="isPause",this._hasPause=1,_r(this,a,Vt(this,n))},t.removePause=function(n){var o=this._first;for(n=Vt(this,n);o;)o._start===n&&o.data==="isPause"&&si(o),o=o._next},t.killTweensOf=function(n,o,s){for(var a=this.getTweensOf(n,s),u=a.length;u--;)ii!==a[u]&&a[u].kill(n,o);return this},t.getTweensOf=function(n,o){for(var s=[],a=Wt(n),u=this._first,l=Pr(o),c;u;)u instanceof Pe?B0(u._targets,a)&&(l?(!ii||u._initted&&u._ts)&&u.globalTime(0)<=o&&u.globalTime(u.totalDuration())>o:!o||u.isActive())&&s.push(u):(c=u.getTweensOf(a,o)).length&&s.push.apply(s,c),u=u._next;return s},t.tweenTo=function(n,o){o=o||{};var s=this,a=Vt(s,n),u=o,l=u.startAt,c=u.onStart,d=u.onStartParams,p=u.immediateRender,f,_=Pe.to(s,qt({ease:o.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:o.duration||Math.abs((a-(l&&"time"in l?l.time:s._time))/s.timeScale())||_e,onStart:function(){if(s.pause(),!f){var g=o.duration||Math.abs((a-(l&&"time"in l?l.time:s._time))/s.timeScale());_._dur!==g&&Dn(_,g,0,1).render(_._time,!0,!0),f=1}c&&c.apply(_,d||[])}},o));return p?_.render(0):_},t.tweenFromTo=function(n,o,s){return this.tweenTo(o,qt({startAt:{time:Vt(this,n)}},s))},t.recent=function(){return this._recent},t.nextLabel=function(n){return n===void 0&&(n=this._time),fd(this,Vt(this,n))},t.previousLabel=function(n){return n===void 0&&(n=this._time),fd(this,Vt(this,n),1)},t.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+_e)},t.shiftChildren=function(n,o,s){s===void 0&&(s=0);for(var a=this._first,u=this.labels,l;a;)a._start>=s&&(a._start+=n,a._end+=n),a=a._next;if(o)for(l in u)u[l]>=s&&(u[l]+=n);return Pi(this)},t.invalidate=function(n){var o=this._first;for(this._lock=0;o;)o.invalidate(n),o=o._next;return i.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={}),Pi(this)},t.totalDuration=function(n){var o=0,s=this,a=s._last,u=Ht,l,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;)l=a._prev,a._dirty&&a.totalDuration(),c=a._start,c>u&&s._sort&&a._ts&&!s._lock?(s._lock=1,_r(s,a,c-a._delay,1)._lock=0):u=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),u=0),a._end>o&&a._ts&&(o=a._end),a=l;Dn(s,s===Ee&&s._time>o?s._time:o,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(n){if(Ee._ts&&(Ed(Ee,Ws(n,Ee)),wd=xt.frame),xt.frame>=ad){ad+=Ct.autoSleep||120;var o=Ee._first;if((!o||!o._ts)&&Ct.autoSleep&&xt._listeners.length<2){for(;o&&!o._ts;)o=o._next;o||xt.sleep()}}},e}(vo);qt(Je.prototype,{_lock:0,_hasPause:0,_forcing:0});var am=function(e,t,r,n,o,s,a){var u=new ht(this._pt,e,t,0,1,yl,null,o),l=0,c=0,d,p,f,_,h,g,m,v;for(u.b=r,u.e=n,r+="",n+="",(m=~n.indexOf("random("))&&(n=wn(n)),s&&(v=[r,n],s(v,e,t),r=v[0],n=v[1]),p=r.match(Hu)||[];d=Hu.exec(n);)_=d[0],h=n.substring(l,d.index),f?f=(f+1)%5:h.substr(-5)==="rgba("&&(f=1),_!==p[c++]&&(g=parseFloat(p[c-1])||0,u._pt={_next:u._pt,p:h||c===1?h:",",s:g,c:_.charAt(1)==="="?Bi(g,_)-g:parseFloat(_)-g,m:f&&f<4?Math.round:0},l=Hu.lastIndex);return u.c=l<n.length?n.substring(l,n.length):"",u.fp=a,(ul.test(n)||m)&&(u.e=0),this._pt=u,u},gl=function(e,t,r,n,o,s,a,u,l,c){Ae(n)&&(n=n(o||0,e,s));var d=e[t],p=r!=="get"?r:Ae(d)?l?e[t.indexOf("set")||!Ae(e["get"+t.substr(3)])?t:"get"+t.substr(3)](l):e[t]():d,f=Ae(d)?l?dm:Xd:Dl,_;if(We(n)&&(~n.indexOf("random(")&&(n=wn(n)),n.charAt(1)==="="&&(_=Bi(p,n)+(et(p)||0),(_||_===0)&&(n=_))),!c||p!==n||il)return!isNaN(p*n)&&n!==""?(_=new ht(this._pt,e,t,+p||0,n-(p||0),typeof d=="boolean"?pm:Ud,0,f),l&&(_.fp=l),a&&_.modifier(a,this,e),this._pt=_):(!d&&!(t in e)&&Xs(t,n),am.call(this,e,t,p,n,f,u||Ct.stringFilter,l))},um=function(e,t,r,n,o){if(Ae(e)&&(e=po(e,o,t,r,n)),!gr(e)||e.style&&e.nodeType||st(e)||gd(e))return We(e)?po(e,o,t,r,n):e;var s={},a;for(a in e)s[a]=po(e[a],o,t,r,n);return s},ml=function(e,t,r,n,o,s){var a,u,l,c;if(bt[e]&&(a=new bt[e]).init(o,a.rawVars?t[e]:um(t[e],n,o,s,r),r,n,s)!==!1&&(r._pt=u=new ht(r._pt,o,e,0,1,a.render,a,0,a.priority),r!==gn))for(l=r._ptLookup[r._targets.indexOf(o)],c=a._props.length;c--;)l[a._props[c]]=u;return a},ii,il,vl=function i(e,t,r){var n=e.vars,o=n.ease,s=n.startAt,a=n.immediateRender,u=n.lazy,l=n.onUpdate,c=n.runBackwards,d=n.yoyoEase,p=n.keyframes,f=n.autoRevert,_=e._dur,h=e._startAt,g=e._targets,m=e.parent,v=m&&m.data==="nested"?m.vars.targets:g,y=e._overwrite==="auto"&&!ol,w=e.timeline,b,x,E,S,A,C,O,F,k,H,z,P,R;if(w&&(!p||!o)&&(o="none"),e._ease=Li(o,mn.ease),e._yEase=d?Vd(Li(d===!0?o:d,mn.ease)):0,d&&e._yoyo&&!e._repeat&&(d=e._yEase,e._yEase=e._ease,e._ease=d),e._from=!w&&!!n.runBackwards,!w||p&&!n.stagger){if(F=g[0]?oi(g[0]).harness:0,P=F&&n[F.prop],b=Hs(n,cl),h&&(h._zTime<0&&h.progress(1),t<0&&c&&a&&!f?h.render(-1,!0):h.revert(c&&_?Ns:N0),h._lazy=0),s){if(si(e._startAt=Pe.set(g,qt({data:"isStart",overwrite:!1,parent:m,immediateRender:!0,lazy:!h&&St(u),startAt:null,delay:0,onUpdate:l&&function(){return Lt(e,"onUpdate")},stagger:0},s))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(ot||!a&&!f)&&e._startAt.revert(Ns),a&&_&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(c&&_&&!h){if(t&&(a=!1),E=qt({overwrite:!1,data:"isFromStart",lazy:a&&!h&&St(u),immediateRender:a,stagger:0,parent:m},b),P&&(E[F.prop]=P),si(e._startAt=Pe.set(g,E)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(ot?e._startAt.revert(Ns):e._startAt.render(-1,!0)),e._zTime=t,!a)i(e._startAt,_e,_e);else if(!t)return}for(e._pt=e._ptCache=0,u=_&&St(u)||u&&!_,x=0;x<g.length;x++){if(A=g[x],O=A._gsap||dl(g)[x]._gsap,e._ptLookup[x]=H={},Zu[O.id]&&ni.length&&Vs(),z=v===g?x:v.indexOf(A),F&&(k=new F).init(A,P||b,e,z,v)!==!1&&(e._pt=S=new ht(e._pt,A,k.name,0,1,k.render,k,0,k.priority),k._props.forEach(function(N){H[N]=S}),k.priority&&(C=1)),!F||P)for(E in b)bt[E]&&(k=ml(E,b,e,z,A,v))?k.priority&&(C=1):H[E]=S=gl.call(e,A,E,"get",b[E],z,v,0,n.stringFilter);e._op&&e._op[x]&&e.kill(A,e._op[x]),y&&e._pt&&(ii=e,Ee.killTweensOf(A,H,e.globalTime(t)),R=!e.parent,ii=0),e._pt&&u&&(Zu[O.id]=1)}C&&El(e),e._onInit&&e._onInit(e)}e._onUpdate=l,e._initted=(!e._op||e._pt)&&!R,p&&t<=0&&w.render(Ht,!0,!0)},lm=function(e,t,r,n,o,s,a,u){var l=(e._pt&&e._ptCache||(e._ptCache={}))[t],c,d,p,f;if(!l)for(l=e._ptCache[t]=[],p=e._ptLookup,f=e._targets.length;f--;){if(c=p[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 il=1,e.vars[t]="+=0",vl(e,a),il=0,u?_o(t+" not eligible for reset"):1;l.push(c)}for(f=l.length;f--;)d=l[f],c=d._pt||d,c.s=(n||n===0)&&!o?n:c.s+(n||0)+s*c.c,c.c=r-c.s,d.e&&(d.e=Fe(r)+et(d.e)),d.b&&(d.b=c.s+et(d.b))},cm=function(e,t){var r=e[0]?oi(e[0]).harness:0,n=r&&r.aliases,o,s,a,u;if(!n)return t;o=Ni({},t);for(s in n)if(s in o)for(u=n[s].split(","),a=u.length;a--;)o[u[a]]=o[s];return o},fm=function(e,t,r,n){var o=t.ease||n||"power1.inOut",s,a;if(st(t))a=r[e]||(r[e]=[]),t.forEach(function(u,l){return a.push({t:l/(t.length-1)*100,v:u,e:o})});else for(s in t)a=r[s]||(r[s]=[]),s==="ease"||a.push({t:parseFloat(e),v:t[s],e:o})},po=function(e,t,r,n,o){return Ae(e)?e.call(t,r,n,o):We(e)&&~e.indexOf("random(")?wn(e):e},qd=fl+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Yd={};dt(qd+",id,stagger,delay,duration,paused,scrollTrigger",function(i){return Yd[i]=1});var Pe=function(i){pd(e,i);function e(r,n,o,s){var a;typeof n=="number"&&(o.duration=n,n=o,o=null),a=i.call(this,s?n:fo(n))||this;var u=a.vars,l=u.duration,c=u.delay,d=u.immediateRender,p=u.stagger,f=u.overwrite,_=u.keyframes,h=u.defaults,g=u.scrollTrigger,m=u.yoyoEase,v=n.parent||Ee,y=(st(r)||gd(r)?Pr(r[0]):"length"in n)?[r]:Wt(r),w,b,x,E,S,A,C,O;if(a._targets=y.length?dl(y):_o("GSAP target "+r+" not found. https://gsap.com",!Ct.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=f,_||p||Rs(l)||Rs(c)){if(n=a.vars,w=a.timeline=new Je({data:"nested",defaults:h||{},targets:v&&v.data==="nested"?v.vars.targets:y}),w.kill(),w.parent=w._dp=Mr(a),w._start=0,p||Rs(l)||Rs(c)){if(E=y.length,C=p&&Md(p),gr(p))for(S in p)~qd.indexOf(S)&&(O||(O={}),O[S]=p[S]);for(b=0;b<E;b++)x=Hs(n,Yd),x.stagger=0,m&&(x.yoyoEase=m),O&&Ni(x,O),A=y[b],x.duration=+po(l,Mr(a),b,A,y),x.delay=(+po(c,Mr(a),b,A,y)||0)-a._delay,!p&&E===1&&x.delay&&(a._delay=c=x.delay,a._start+=c,x.delay=0),w.to(A,x,C?C(b,A,y):0),w._ease=le.none;w.duration()?l=c=0:a.timeline=0}else if(_){fo(qt(w.vars.defaults,{ease:"none"})),w._ease=Li(_.ease||n.ease||"none");var F=0,k,H,z;if(st(_))_.forEach(function(P){return w.to(y,P,">")}),w.duration();else{x={};for(S in _)S==="ease"||S==="easeEach"||fm(S,_[S],x,_.easeEach);for(S in x)for(k=x[S].sort(function(P,R){return P.t-R.t}),F=0,b=0;b<k.length;b++)H=k[b],z={ease:H.e,duration:(H.t-(b?k[b-1].t:0))/100*l},z[S]=H.v,w.to(y,z,F),F+=z.duration;w.duration()<l&&w.to({},{duration:l-w.duration()})}}l||a.duration(l=w.duration())}else a.timeline=0;return f===!0&&!ol&&(ii=Mr(a),Ee.killTweensOf(y),ii=0),_r(v,Mr(a),o),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(d||!l&&!_&&a._start===Ge(v._time)&&St(d)&&W0(Mr(a))&&v.data!=="nested")&&(a._tTime=-_e,a.render(Math.max(0,-c)||0)),g&&Td(Mr(a),g),a}var t=e.prototype;return t.render=function(n,o,s){var a=this._time,u=this._tDur,l=this._dur,c=n<0,d=n>u-_e&&!c?u:n<_e?0:n,p,f,_,h,g,m,v,y,w;if(!l)Y0(this,n,o,s);else if(d!==this._tTime||!n||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==c){if(p=d,y=this.timeline,this._repeat){if(h=l+this._rDelay,this._repeat<-1&&c)return this.totalTime(h*100+n,o,s);if(p=Ge(d%h),d===u?(_=this._repeat,p=l):(_=~~(d/h),_&&_===Ge(d/h)&&(p=l,_--),p>l&&(p=l)),m=this._yoyo&&_&1,m&&(w=this._yEase,p=l-p),g=vn(this._tTime,h),p===a&&!s&&this._initted&&_===g)return this._tTime=d,this;_!==g&&(y&&this._yEase&&Hd(y,m),this.vars.repeatRefresh&&!m&&!this._lock&&this._time!==h&&this._initted&&(this._lock=s=1,this.render(Ge(h*_),!0).invalidate()._lock=0))}if(!this._initted){if(Ad(this,c?n:p,s,o,d))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&_!==g))return this;if(l!==this._dur)return this.render(n,o,s)}if(this._tTime=d,this._time=p,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=v=(w||this._ease)(p/l),this._from&&(this.ratio=v=1-v),p&&!a&&!o&&!_&&(Lt(this,"onStart"),this._tTime!==d))return this;for(f=this._pt;f;)f.r(v,f.d),f=f._next;y&&y.render(n<0?n:y._dur*y._ease(p/this._dur),o,s)||this._startAt&&(this._zTime=n),this._onUpdate&&!o&&(c&&Qu(this,n,o,s),Lt(this,"onUpdate")),this._repeat&&_!==g&&this.vars.onRepeat&&!o&&this.parent&&Lt(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(c&&!this._onUpdate&&Qu(this,n,!0,!0),(n||!l)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&si(this,1),!o&&!(c&&!a)&&(d||a||m)&&(Lt(this,d===u?"onComplete":"onReverseComplete",!0),this._prom&&!(d<u&&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),i.prototype.invalidate.call(this,n)},t.resetTo=function(n,o,s,a,u){mo||xt.wake(),this._ts||this.play();var l=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||vl(this,l),c=this._ease(l/this._dur),lm(this,n,o,s,a,c,l,u)?this.resetTo(n,o,s,a,1):($s(this,0),this.parent||Sd(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?lo(this):this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(n,o,ii&&ii.vars.overwrite!==!0)._first||lo(this),this.parent&&s!==this.timeline.totalDuration()&&Dn(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,u=n?Wt(n):a,l=this._ptLookup,c=this._pt,d,p,f,_,h,g,m;if((!o||o==="all")&&V0(a,u))return o==="all"&&(this._pt=0),lo(this);for(d=this._op=this._op||[],o!=="all"&&(We(o)&&(h={},dt(o,function(v){return h[v]=1}),o=h),o=cm(a,o)),m=a.length;m--;)if(~u.indexOf(a[m])){p=l[m],o==="all"?(d[m]=o,_=p,f={}):(f=d[m]=d[m]||{},_=o);for(h in _)g=p&&p[h],g&&((!("kill"in g.d)||g.d.kill(h)===!0)&&Us(this,g,"_pt"),delete p[h]),f!=="all"&&(f[h]=1)}return this._initted&&!this._pt&&c&&lo(this),this},e.to=function(n,o){return new e(n,o,arguments[2])},e.from=function(n,o){return ho(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 ho(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}(vo);qt(Pe.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});dt("staggerTo,staggerFrom,staggerFromTo",function(i){Pe[i]=function(){var e=new Je,t=el.call(arguments,0);return t.splice(i==="staggerFromTo"?5:4,0,0),e[i].apply(e,t)}});var Dl=function(e,t,r){return e[t]=r},Xd=function(e,t,r){return e[t](r)},dm=function(e,t,r,n){return e[t](n.fp,r)},hm=function(e,t,r){return e.setAttribute(t,r)},js=function(e,t){return Ae(e[t])?Xd:Ys(e[t])&&e.setAttribute?hm:Dl},Ud=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},pm=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},yl=function(e,t){var r=t._pt,n="";if(!e&&t.b)n=t.b;else if(e===1&&t.e)n=t.e;else{for(;r;)n=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+n,r=r._next;n+=t.c}t.set(t.t,t.p,n,t)},wl=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},_m=function(e,t,r,n){for(var o=this._pt,s;o;)s=o._next,o.p===n&&o.modifier(e,t,r),o=s},gm=function(e){for(var t=this._pt,r,n;t;)n=t._next,t.p===e&&!t.op||t.op===e?Us(this,t,"_pt"):t.dep||(r=1),t=n;return!r},mm=function(e,t,r,n){n.mSet(e,t,n.m.call(n.tween,r,n.mt),n)},El=function(e){for(var t=e._pt,r,n,o,s;t;){for(r=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=r}e._pt=o},ht=function(){function i(t,r,n,o,s,a,u,l,c){this.t=r,this.s=o,this.c=s,this.p=n,this.r=a||Ud,this.d=u||this,this.set=l||Dl,this.pr=c||0,this._next=t,t&&(t._prev=this)}var e=i.prototype;return e.modifier=function(r,n,o){this.mSet=this.mSet||this.set,this.set=mm,this.m=r,this.mt=o,this.tween=n},i}();dt(fl+"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(i){return cl[i]=1});Rt.TweenMax=Rt.TweenLite=Pe;Rt.TimelineLite=Rt.TimelineMax=Je;Ee=new Je({sortChildren:!1,defaults:mn,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Ct.stringFilter=pl;var Ri=[],Bs={},vm=[],hd=0,Dm=0,Uu=function(e){return(Bs[e]||vm).map(function(t){return t()})},nl=function(){var e=Date.now(),t=[];e-hd>2&&(Uu("matchMediaInit"),Ri.forEach(function(r){var n=r.queries,o=r.conditions,s,a,u,l;for(a in n)s=pr.matchMedia(n[a]).matches,s&&(u=1),s!==o[a]&&(o[a]=s,l=1);l&&(r.revert(),u&&t.push(r))}),Uu("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(n){return r.add(null,n)})}),hd=e,Uu("matchMedia"))},Gd=function(){function i(t,r){this.selector=r&&tl(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Dm++,t&&this.add(t)}var e=i.prototype;return e.add=function(r,n,o){Ae(r)&&(o=n,n=r,r=Ae);var s=this,a=function(){var l=ye,c=s.selector,d;return l&&l!==s&&l.data.push(s),o&&(s.selector=tl(o)),ye=s,d=n.apply(s,arguments),Ae(d)&&s._r.push(d),ye=l,s.selector=c,s.isReverted=!1,d};return s.last=a,r===Ae?a(s,function(u){return s.add(null,u)}):r?s[r]=a:a},e.ignore=function(r){var n=ye;ye=null,r(this),ye=n},e.getTweens=function(){var r=[];return this.data.forEach(function(n){return n instanceof i?r.push.apply(r,n.getTweens()):n instanceof Pe&&!(n.parent&&n.parent.data==="nested")&&r.push(n)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,n){var o=this;if(r?function(){for(var a=o.getTweens(),u=o.data.length,l;u--;)l=o.data[u],l.data==="isFlip"&&(l.revert(),l.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(r)}),u=o.data.length;u--;)l=o.data[u],l instanceof Je?l.data!=="nested"&&(l.scrollTrigger&&l.scrollTrigger.revert(),l.kill()):!(l instanceof Pe)&&l.revert&&l.revert(r);o._r.forEach(function(c){return c(r,o)}),o.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),n)for(var s=Ri.length;s--;)Ri[s].id===this.id&&Ri.splice(s,1)},e.revert=function(r){this.kill(r||{})},i}(),ym=function(){function i(t){this.contexts=[],this.scope=t,ye&&ye.data.push(this)}var e=i.prototype;return e.add=function(r,n,o){gr(r)||(r={matches:r});var s=new Gd(0,o||this.scope),a=s.conditions={},u,l,c;ye&&!s.selector&&(s.selector=ye.selector),this.contexts.push(s),n=s.add("onMatch",n),s.queries=r;for(l in r)l==="all"?c=1:(u=pr.matchMedia(r[l]),u&&(Ri.indexOf(s)<0&&Ri.push(s),(a[l]=u.matches)&&(c=1),u.addListener?u.addListener(nl):u.addEventListener("change",nl)));return c&&n(s,function(d){return s.add(null,d)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(n){return n.kill(r,!0)})},i}(),qs={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(function(n){return Id(n)})},timeline:function(e){return new Je(e)},getTweensOf:function(e,t){return Ee.getTweensOf(e,t)},getProperty:function(e,t,r,n){We(e)&&(e=Wt(e)[0]);var o=oi(e||{}).get,s=r?xd:bd;return r==="native"&&(r=""),e&&(t?s((bt[t]&&bt[t].get||o)(e,t,r,n)):function(a,u,l){return s((bt[a]&&bt[a].get||o)(e,a,u,l))})},quickSetter:function(e,t,r){if(e=Wt(e),e.length>1){var n=e.map(function(c){return at.quickSetter(c,t,r)}),o=n.length;return function(c){for(var d=o;d--;)n[d](c)}}e=e[0]||{};var s=bt[t],a=oi(e),u=a.harness&&(a.harness.aliases||{})[t]||t,l=s?function(c){var d=new s;gn._pt=0,d.init(e,r?c+r:c,gn,0,[e]),d.render(1,d),gn._pt&&wl(1,gn)}:a.set(e,u);return s?l:function(c){return l(e,u,r?c+r:c,a,1)}},quickTo:function(e,t,r){var n,o=at.to(e,Ni((n={},n[t]="+=0.1",n.paused=!0,n),r||{})),s=function(u,l,c){return o.resetTo(t,u,l,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=Li(e.ease,mn.ease)),ud(mn,e||{})},config:function(e){return ud(Ct,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,n=e.plugins,o=e.defaults,s=e.extendTimeline;(n||"").split(",").forEach(function(a){return a&&!bt[a]&&!Rt[a]&&_o(t+" effect requires "+a+" plugin.")}),Wu[t]=function(a,u,l){return r(Wt(a),qt(u||{},o),l)},s&&(Je.prototype[t]=function(a,u,l){return this.add(Wu[t](a,gr(u)?u:(l=u)&&{},this),l)})},registerEase:function(e,t){le[e]=Li(t)},parseEase:function(e,t){return arguments.length?Li(e,t):le},getById:function(e){return Ee.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new Je(e),n,o;for(r.smoothChildTiming=St(e.smoothChildTiming),Ee.remove(r),r._dp=0,r._time=r._tTime=Ee._time,n=Ee._first;n;)o=n._next,(t||!(!n._dur&&n instanceof Pe&&n.vars.onComplete===n._targets[0]))&&_r(r,n,n._start-n._delay),n=o;return _r(Ee,r,0),r},context:function(e,t){return e?new Gd(e,t):ye},matchMedia:function(e){return new ym(e)},matchMediaRefresh:function(){return Ri.forEach(function(e){var t=e.conditions,r,n;for(n in t)t[n]&&(t[n]=!1,r=1);r&&e.revert()})||nl()},addEventListener:function(e,t){var r=Bs[e]||(Bs[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=Bs[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},utils:{wrap:Q0,wrapYoyo:J0,distribute:Md,random:Pd,snap:kd,normalize:Z0,getUnit:et,clamp:G0,splitColor:Bd,toArray:Wt,selector:tl,mapRange:Rd,pipe:j0,unitize:K0,interpolate:em,shuffle:Od},install:Dd,effects:Wu,ticker:xt,updateRoot:Je.updateRoot,plugins:bt,globalTimeline:Ee,core:{PropTween:ht,globals:yd,Tween:Pe,Timeline:Je,Animation:vo,getCache:oi,_removeLinkedListItem:Us,reverting:function(){return ot},context:function(e){return e&&ye&&(ye.data.push(e),e._ctx=ye),ye},suppressOverwrites:function(e){return ol=e}}};dt("to,from,fromTo,delayedCall,set,killTweensOf",function(i){return qs[i]=Pe[i]});xt.add(Je.updateRoot);gn=qs.to({},{duration:0});var wm=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},Em=function(e,t){var r=e._targets,n,o,s;for(n in t)for(o=r.length;o--;)s=e._ptLookup[o][n],s&&(s=s.d)&&(s._pt&&(s=wm(s,n)),s&&s.modifier&&s.modifier(t[n],e,r[o],n))},Gu=function(e,t){return{name:e,rawVars:1,init:function(n,o,s){s._onInit=function(a){var u,l;if(We(o)&&(u={},dt(o,function(c){return u[c]=1}),o=u),t){u={};for(l in o)u[l]=t(o[l]);o=u}Em(a,o)}}}},at=qs.registerPlugin({name:"attr",init:function(e,t,r,n,o){var s,a,u;this.tween=r;for(s in t)u=e.getAttribute(s)||"",a=this.add(e,"setAttribute",(u||0)+"",t[s],n,o,0,0,s),a.op=s,a.b=u,this._props.push(s)},render:function(e,t){for(var r=t._pt;r;)ot?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",init:function(e,t){for(var r=t.length;r--;)this.add(e,r,e[r]||0,t[r],0,0,0,0,0,1)}},Gu("roundProps",rl),Gu("modifiers"),Gu("snap",kd))||qs;Pe.version=Je.version=at.version="3.12.5";vd=1;sl()&&yn();var bm=le.Power0,xm=le.Power1,Sm=le.Power2,Cm=le.Power3,Tm=le.Power4,Am=le.Linear,Fm=le.Quad,Om=le.Cubic,Mm=le.Quart,km=le.Quint,Pm=le.Strong,Lm=le.Elastic,Rm=le.Back,Nm=le.SteppedEase,Im=le.Bounce,Bm=le.Sine,zm=le.Expo,Vm=le.Circ;var $d,ui,bn,Fl,qi,Hm,jd,Ol,Wm=function(){return typeof window<"u"},Rr={},Wi=180/Math.PI,xn=Math.PI/180,En=Math.atan2,Kd=1e8,Ml=/([A-Z])/g,qm=/(left|right|width|margin|padding|x)/i,Ym=/[\s,\(]\S/,mr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Sl=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Xm=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)},Um=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)},Gm=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},ih=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},nh=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},$m=function(e,t,r){return e.style[t]=r},jm=function(e,t,r){return e.style.setProperty(t,r)},Km=function(e,t,r){return e._gsap[t]=r},Zm=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},Qm=function(e,t,r,n,o){var s=e._gsap;s.scaleX=s.scaleY=r,s.renderTransform(o,s)},Jm=function(e,t,r,n,o){var s=e._gsap;s[t]=r,s.renderTransform(o,s)},be="transform",Tt=be+"Origin",ev=function i(e,t){var r=this,n=this.target,o=n.style,s=n._gsap;if(e in Rr&&o){if(this.tfm=this.tfm||{},e!=="transform")e=mr[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return r.tfm[a]=Lr(n,a)}):this.tfm[e]=s.x?s[e]:Lr(n,e),e===Tt&&(this.tfm.zOrigin=s.zOrigin);else return mr.transform.split(",").forEach(function(a){return i.call(r,a,t)});if(this.props.indexOf(be)>=0)return;s.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(Tt,t,"")),e=be}(o||t)&&this.props.push(e,t,o[e])},oh=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},tv=function(){var e=this.props,t=this.target,r=t.style,n=t._gsap,o,s;for(o=0;o<e.length;o+=3)e[o+1]?t[e[o]]=e[o+2]:e[o+2]?r[e[o]]=e[o+2]:r.removeProperty(e[o].substr(0,2)==="--"?e[o]:e[o].replace(Ml,"-$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=Ol(),(!o||!o.isStart)&&!r[be]&&(oh(r),n.zOrigin&&r[Tt]&&(r[Tt]+=" "+n.zOrigin+"px",n.zOrigin=0,n.renderTransform()),n.uncache=1)}},sh=function(e,t){var r={target:e,props:[],revert:tv,save:ev};return e._gsap||at.core.getCache(e),t&&t.split(",").forEach(function(n){return r.save(n)}),r},ah,Cl=function(e,t){var r=ui.createElementNS?ui.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):ui.createElement(e);return r&&r.style?r:ui.createElement(e)},vr=function i(e,t,r){var n=getComputedStyle(e);return n[t]||n.getPropertyValue(t.replace(Ml,"-$1").toLowerCase())||n.getPropertyValue(t)||!r&&i(e,Sn(t)||t,1)||""},Zd="O,Moz,ms,Ms,Webkit".split(","),Sn=function(e,t,r){var n=t||qi,o=n.style,s=5;if(e in o&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(Zd[s]+e in o););return s<0?null:(s===3?"ms":s>=0?Zd[s]:"")+e},Tl=function(){Wm()&&window.document&&($d=window,ui=$d.document,bn=ui.documentElement,qi=Cl("div")||{style:{}},Hm=Cl("div"),be=Sn(be),Tt=be+"Origin",qi.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",ah=!!Sn("perspective"),Ol=at.core.reverting,Fl=1)},bl=function i(e){var t=Cl("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,n=this.nextSibling,o=this.style.cssText,s;if(bn.appendChild(t),t.appendChild(this),this.style.display="block",e)try{s=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=i}catch{}else this._gsapBBox&&(s=this._gsapBBox());return r&&(n?r.insertBefore(this,n):r.appendChild(this)),bn.removeChild(t),this.style.cssText=o,s},Qd=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},uh=function(e){var t;try{t=e.getBBox()}catch{t=bl.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===bl||(t=bl.call(e,!0)),t&&!t.width&&!t.x&&!t.y?{x:+Qd(e,["x","cx","x1"])||0,y:+Qd(e,["y","cy","y1"])||0,width:0,height:0}:t},lh=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&uh(e))},Yi=function(e,t){if(t){var r=e.style,n;t in Rr&&t!==Tt&&(t=be),r.removeProperty?(n=t.substr(0,2),(n==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(n==="--"?t:t.replace(Ml,"-$1").toLowerCase())):r.removeAttribute(t)}},li=function(e,t,r,n,o,s){var a=new ht(e._pt,t,r,0,1,s?nh:ih);return e._pt=a,a.b=n,a.e=o,e._props.push(r),a},Jd={deg:1,rad:1,turn:1},rv={grid:1,flex:1},ci=function i(e,t,r,n){var o=parseFloat(r)||0,s=(r+"").trim().substr((o+"").length)||"px",a=qi.style,u=qm.test(t),l=e.tagName.toLowerCase()==="svg",c=(l?"client":"offset")+(u?"Width":"Height"),d=100,p=n==="px",f=n==="%",_,h,g,m;if(n===s||!o||Jd[n]||Jd[s])return o;if(s!=="px"&&!p&&(o=i(e,t,r,"px")),m=e.getCTM&&lh(e),(f||s==="%")&&(Rr[t]||~t.indexOf("adius")))return _=m?e.getBBox()[u?"width":"height"]:e[c],Fe(f?o/_*d:o/100*_);if(a[u?"width":"height"]=d+(p?s:n),h=~t.indexOf("adius")||n==="em"&&e.appendChild&&!l?e:e.parentNode,m&&(h=(e.ownerSVGElement||{}).parentNode),(!h||h===ui||!h.appendChild)&&(h=ui.body),g=h._gsap,g&&f&&g.width&&u&&g.time===xt.time&&!g.uncache)return Fe(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:Yi(e,t)}else(f||s==="%")&&!rv[vr(h,"display")]&&(a.position=vr(e,"position")),h===e&&(a.position="static"),h.appendChild(qi),_=qi[c],h.removeChild(qi),a.position="absolute";return u&&f&&(g=oi(h),g.time=xt.time,g.width=h[c]),Fe(p?_*o/d:_&&o?d/_*o:0)},Lr=function(e,t,r,n){var o;return Fl||Tl(),t in mr&&t!=="transform"&&(t=mr[t],~t.indexOf(",")&&(t=t.split(",")[0])),Rr[t]&&t!=="transform"?(o=Eo(e,n),o=t!=="transformOrigin"?o[t]:o.svg?o.origin:Zs(vr(e,Tt))+" "+o.zOrigin+"px"):(o=e.style[t],(!o||o==="auto"||n||~(o+"").indexOf("calc("))&&(o=Ks[t]&&Ks[t](e,t,r)||vr(e,t)||hl(e,t)||(t==="opacity"?1:0))),r&&!~(o+"").trim().indexOf(" ")?ci(e,t,o,r)+r:o},iv=function(e,t,r,n){if(!r||r==="none"){var o=Sn(t,e,1),s=o&&vr(e,o,1);s&&s!==r?(t=o,r=s):t==="borderColor"&&(r=vr(e,"borderTopColor"))}var a=new ht(this._pt,e.style,t,0,1,yl),u=0,l=0,c,d,p,f,_,h,g,m,v,y,w,b;if(a.b=r,a.e=n,r+="",n+="",n==="auto"&&(h=e.style[t],e.style[t]=n,n=vr(e,t)||n,h?e.style[t]=h:Yi(e,t)),c=[r,n],pl(c),r=c[0],n=c[1],p=r.match(Ii)||[],b=n.match(Ii)||[],b.length){for(;d=Ii.exec(n);)g=d[0],v=n.substring(u,d.index),_?_=(_+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(_=1),g!==(h=p[l++]||"")&&(f=parseFloat(h)||0,w=h.substr((f+"").length),g.charAt(1)==="="&&(g=Bi(f,g)+w),m=parseFloat(g),y=g.substr((m+"").length),u=Ii.lastIndex-y.length,y||(y=y||Ct.units[t]||w,u===n.length&&(n+=y,a.e+=y)),w!==y&&(f=ci(e,t,h,y)||0),a._pt={_next:a._pt,p:v||l===1?v:",",s:f,c:m-f,m:_&&_<4||t==="zIndex"?Math.round:0});a.c=u<n.length?n.substring(u,n.length):""}else a.r=t==="display"&&n==="none"?nh:ih;return ul.test(n)&&(a.e=0),this._pt=a,a},eh={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},nv=function(e){var t=e.split(" "),r=t[0],n=t[1]||"50%";return(r==="top"||r==="bottom"||n==="left"||n==="right")&&(e=r,r=n,n=e),t[0]=eh[r]||r,t[1]=eh[n]||n,t.join(" ")},ov=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,n=r.style,o=t.u,s=r._gsap,a,u,l;if(o==="all"||o===!0)n.cssText="",u=1;else for(o=o.split(","),l=o.length;--l>-1;)a=o[l],Rr[a]&&(u=1,a=a==="transformOrigin"?Tt:be),Yi(r,a);u&&(Yi(r,be),s&&(s.svg&&r.removeAttribute("transform"),Eo(r,1),s.uncache=1,oh(n)))}},Ks={clearProps:function(e,t,r,n,o){if(o.data!=="isFromStart"){var s=e._pt=new ht(e._pt,t,r,0,0,ov);return s.u=n,s.pr=-10,s.tween=o,e._props.push(r),1}}},wo=[1,0,0,1,0,0],ch={},fh=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},th=function(e){var t=vr(e,be);return fh(t)?wo:t.substr(7).match(al).map(Fe)},kl=function(e,t){var r=e._gsap||oi(e),n=e.style,o=th(e),s,a,u,l;return r.svg&&e.getAttribute("transform")?(u=e.transform.baseVal.consolidate().matrix,o=[u.a,u.b,u.c,u.d,u.e,u.f],o.join(",")==="1,0,0,1,0,0"?wo:o):(o===wo&&!e.offsetParent&&e!==bn&&!r.svg&&(u=n.display,n.display="block",s=e.parentNode,(!s||!e.offsetParent)&&(l=1,a=e.nextElementSibling,bn.appendChild(e)),o=th(e),u?n.display=u:Yi(e,"display"),l&&(a?s.insertBefore(e,a):s?s.appendChild(e):bn.removeChild(e))),t&&o.length>6?[o[0],o[1],o[4],o[5],o[12],o[13]]:o)},Al=function(e,t,r,n,o,s){var a=e._gsap,u=o||kl(e,!0),l=a.xOrigin||0,c=a.yOrigin||0,d=a.xOffset||0,p=a.yOffset||0,f=u[0],_=u[1],h=u[2],g=u[3],m=u[4],v=u[5],y=t.split(" "),w=parseFloat(y[0])||0,b=parseFloat(y[1])||0,x,E,S,A;r?u!==wo&&(E=f*g-_*h)&&(S=w*(g/E)+b*(-h/E)+(h*v-g*m)/E,A=w*(-_/E)+b*(f/E)-(f*v-_*m)/E,w=S,b=A):(x=uh(e),w=x.x+(~y[0].indexOf("%")?w/100*x.width:w),b=x.y+(~(y[1]||y[0]).indexOf("%")?b/100*x.height:b)),n||n!==!1&&a.smooth?(m=w-l,v=b-c,a.xOffset=d+(m*f+v*h)-m,a.yOffset=p+(m*_+v*g)-v):a.xOffset=a.yOffset=0,a.xOrigin=w,a.yOrigin=b,a.smooth=!!n,a.origin=t,a.originIsAbsolute=!!r,e.style[Tt]="0px 0px",s&&(li(s,a,"xOrigin",l,w),li(s,a,"yOrigin",c,b),li(s,a,"xOffset",d,a.xOffset),li(s,a,"yOffset",p,a.yOffset)),e.setAttribute("data-svg-origin",w+" "+b)},Eo=function(e,t){var r=e._gsap||new _l(e);if("x"in r&&!t&&!r.uncache)return r;var n=e.style,o=r.scaleX<0,s="px",a="deg",u=getComputedStyle(e),l=vr(e,Tt)||"0",c,d,p,f,_,h,g,m,v,y,w,b,x,E,S,A,C,O,F,k,H,z,P,R,N,T,D,L,X,te,U,G;return c=d=p=h=g=m=v=y=w=0,f=_=1,r.svg=!!(e.getCTM&&lh(e)),u.translate&&((u.translate!=="none"||u.scale!=="none"||u.rotate!=="none")&&(n[be]=(u.translate!=="none"?"translate3d("+(u.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(u.rotate!=="none"?"rotate("+u.rotate+") ":"")+(u.scale!=="none"?"scale("+u.scale.split(" ").join(",")+") ":"")+(u[be]!=="none"?u[be]:"")),n.scale=n.rotate=n.translate="none"),E=kl(e,r.svg),r.svg&&(r.uncache?(N=e.getBBox(),l=r.xOrigin-N.x+"px "+(r.yOrigin-N.y)+"px",R=""):R=!t&&e.getAttribute("data-svg-origin"),Al(e,R||l,!!R||r.originIsAbsolute,r.smooth!==!1,E)),b=r.xOrigin||0,x=r.yOrigin||0,E!==wo&&(O=E[0],F=E[1],k=E[2],H=E[3],c=z=E[4],d=P=E[5],E.length===6?(f=Math.sqrt(O*O+F*F),_=Math.sqrt(H*H+k*k),h=O||F?En(F,O)*Wi:0,v=k||H?En(k,H)*Wi+h:0,v&&(_*=Math.abs(Math.cos(v*xn))),r.svg&&(c-=b-(b*O+x*k),d-=x-(b*F+x*H))):(G=E[6],te=E[7],D=E[8],L=E[9],X=E[10],U=E[11],c=E[12],d=E[13],p=E[14],S=En(G,X),g=S*Wi,S&&(A=Math.cos(-S),C=Math.sin(-S),R=z*A+D*C,N=P*A+L*C,T=G*A+X*C,D=z*-C+D*A,L=P*-C+L*A,X=G*-C+X*A,U=te*-C+U*A,z=R,P=N,G=T),S=En(-k,X),m=S*Wi,S&&(A=Math.cos(-S),C=Math.sin(-S),R=O*A-D*C,N=F*A-L*C,T=k*A-X*C,U=H*C+U*A,O=R,F=N,k=T),S=En(F,O),h=S*Wi,S&&(A=Math.cos(S),C=Math.sin(S),R=O*A+F*C,N=z*A+P*C,F=F*A-O*C,P=P*A-z*C,O=R,z=N),g&&Math.abs(g)+Math.abs(h)>359.9&&(g=h=0,m=180-m),f=Fe(Math.sqrt(O*O+F*F+k*k)),_=Fe(Math.sqrt(P*P+G*G)),S=En(z,P),v=Math.abs(S)>2e-4?S*Wi:0,w=U?1/(U<0?-U:U):0),r.svg&&(R=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!fh(vr(e,be)),R&&e.setAttribute("transform",R))),Math.abs(v)>90&&Math.abs(v)<270&&(o?(f*=-1,v+=h<=0?180:-180,h+=h<=0?180:-180):(_*=-1,v+=v<=0?180:-180)),t=t||r.uncache,r.x=c-((r.xPercent=c&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-c)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+s,r.y=d-((r.yPercent=d&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-d)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+s,r.z=p+s,r.scaleX=Fe(f),r.scaleY=Fe(_),r.rotation=Fe(h)+a,r.rotationX=Fe(g)+a,r.rotationY=Fe(m)+a,r.skewX=v+a,r.skewY=y+a,r.transformPerspective=w+s,(r.zOrigin=parseFloat(l.split(" ")[2])||!t&&r.zOrigin||0)&&(n[Tt]=Zs(l)),r.xOffset=r.yOffset=0,r.force3D=Ct.force3D,r.renderTransform=r.svg?av:ah?dh:sv,r.uncache=0,r},Zs=function(e){return(e=e.split(" "))[0]+" "+e[1]},xl=function(e,t,r){var n=et(t);return Fe(parseFloat(t)+parseFloat(ci(e,"x",r+"px",n)))+n},sv=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,dh(e,t)},Vi="0deg",yo="0px",Hi=") ",dh=function(e,t){var r=t||this,n=r.xPercent,o=r.yPercent,s=r.x,a=r.y,u=r.z,l=r.rotation,c=r.rotationY,d=r.rotationX,p=r.skewX,f=r.skewY,_=r.scaleX,h=r.scaleY,g=r.transformPerspective,m=r.force3D,v=r.target,y=r.zOrigin,w="",b=m==="auto"&&e&&e!==1||m===!0;if(y&&(d!==Vi||c!==Vi)){var x=parseFloat(c)*xn,E=Math.sin(x),S=Math.cos(x),A;x=parseFloat(d)*xn,A=Math.cos(x),s=xl(v,s,E*A*-y),a=xl(v,a,-Math.sin(x)*-y),u=xl(v,u,S*A*-y+y)}g!==yo&&(w+="perspective("+g+Hi),(n||o)&&(w+="translate("+n+"%, "+o+"%) "),(b||s!==yo||a!==yo||u!==yo)&&(w+=u!==yo||b?"translate3d("+s+", "+a+", "+u+") ":"translate("+s+", "+a+Hi),l!==Vi&&(w+="rotate("+l+Hi),c!==Vi&&(w+="rotateY("+c+Hi),d!==Vi&&(w+="rotateX("+d+Hi),(p!==Vi||f!==Vi)&&(w+="skew("+p+", "+f+Hi),(_!==1||h!==1)&&(w+="scale("+_+", "+h+Hi),v.style[be]=w||"translate(0, 0)"},av=function(e,t){var r=t||this,n=r.xPercent,o=r.yPercent,s=r.x,a=r.y,u=r.rotation,l=r.skewX,c=r.skewY,d=r.scaleX,p=r.scaleY,f=r.target,_=r.xOrigin,h=r.yOrigin,g=r.xOffset,m=r.yOffset,v=r.forceCSS,y=parseFloat(s),w=parseFloat(a),b,x,E,S,A;u=parseFloat(u),l=parseFloat(l),c=parseFloat(c),c&&(c=parseFloat(c),l+=c,u+=c),u||l?(u*=xn,l*=xn,b=Math.cos(u)*d,x=Math.sin(u)*d,E=Math.sin(u-l)*-p,S=Math.cos(u-l)*p,l&&(c*=xn,A=Math.tan(l-c),A=Math.sqrt(1+A*A),E*=A,S*=A,c&&(A=Math.tan(c),A=Math.sqrt(1+A*A),b*=A,x*=A)),b=Fe(b),x=Fe(x),E=Fe(E),S=Fe(S)):(b=d,S=p,x=E=0),(y&&!~(s+"").indexOf("px")||w&&!~(a+"").indexOf("px"))&&(y=ci(f,"x",s,"px"),w=ci(f,"y",a,"px")),(_||h||g||m)&&(y=Fe(y+_-(_*b+h*E)+g),w=Fe(w+h-(_*x+h*S)+m)),(n||o)&&(A=f.getBBox(),y=Fe(y+n/100*A.width),w=Fe(w+o/100*A.height)),A="matrix("+b+","+x+","+E+","+S+","+y+","+w+")",f.setAttribute("transform",A),v&&(f.style[be]=A)},uv=function(e,t,r,n,o){var s=360,a=We(o),u=parseFloat(o)*(a&&~o.indexOf("rad")?Wi:1),l=u-n,c=n+l+"deg",d,p;return a&&(d=o.split("_")[1],d==="short"&&(l%=s,l!==l%(s/2)&&(l+=l<0?s:-s)),d==="cw"&&l<0?l=(l+s*Kd)%s-~~(l/s)*s:d==="ccw"&&l>0&&(l=(l-s*Kd)%s-~~(l/s)*s)),e._pt=p=new ht(e._pt,t,r,n,l,Xm),p.e=c,p.u="deg",e._props.push(r),p},rh=function(e,t){for(var r in t)e[r]=t[r];return e},lv=function(e,t,r){var n=rh({},r._gsap),o="perspective,force3D,transformOrigin,svgOrigin",s=r.style,a,u,l,c,d,p,f,_;n.svg?(l=r.getAttribute("transform"),r.setAttribute("transform",""),s[be]=t,a=Eo(r,1),Yi(r,be),r.setAttribute("transform",l)):(l=getComputedStyle(r)[be],s[be]=t,a=Eo(r,1),s[be]=l);for(u in Rr)l=n[u],c=a[u],l!==c&&o.indexOf(u)<0&&(f=et(l),_=et(c),d=f!==_?ci(r,u,l,_):parseFloat(l),p=parseFloat(c),e._pt=new ht(e._pt,a,u,d,p-d,Sl),e._pt.u=_||0,e._props.push(u));rh(a,n)};dt("padding,margin,Width,Radius",function(i,e){var t="Top",r="Right",n="Bottom",o="Left",s=(e<3?[t,r,n,o]:[t+o,t+r,n+r,n+o]).map(function(a){return e<2?i+a:"border"+a+i});Ks[e>1?"border"+i:i]=function(a,u,l,c,d){var p,f;if(arguments.length<4)return p=s.map(function(_){return Lr(a,_,l)}),f=p.join(" "),f.split(p[0]).length===5?p[0]:f;p=(c+"").split(" "),f={},s.forEach(function(_,h){return f[_]=p[h]=p[h]||p[(h-1)/2|0]}),a.init(u,f,d)}});var Pl={name:"css",register:Tl,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,n,o){var s=this._props,a=e.style,u=r.vars.startAt,l,c,d,p,f,_,h,g,m,v,y,w,b,x,E,S;Fl||Tl(),this.styles=this.styles||sh(e),S=this.styles.props,this.tween=r;for(h in t)if(h!=="autoRound"&&(c=t[h],!(bt[h]&&ml(h,t,r,n,e,o)))){if(f=typeof c,_=Ks[h],f==="function"&&(c=c.call(r,n,e,o),f=typeof c),f==="string"&&~c.indexOf("random(")&&(c=wn(c)),_)_(this,e,h,c,r)&&(E=1);else if(h.substr(0,2)==="--")l=(getComputedStyle(e).getPropertyValue(h)+"").trim(),c+="",kr.lastIndex=0,kr.test(l)||(g=et(l),m=et(c)),m?g!==m&&(l=ci(e,h,l,m)+m):g&&(c+=g),this.add(a,"setProperty",l,c,n,o,0,0,h),s.push(h),S.push(h,0,a[h]);else if(f!=="undefined"){if(u&&h in u?(l=typeof u[h]=="function"?u[h].call(r,n,e,o):u[h],We(l)&&~l.indexOf("random(")&&(l=wn(l)),et(l+"")||l==="auto"||(l+=Ct.units[h]||et(Lr(e,h))||""),(l+"").charAt(1)==="="&&(l=Lr(e,h))):l=Lr(e,h),p=parseFloat(l),v=f==="string"&&c.charAt(1)==="="&&c.substr(0,2),v&&(c=c.substr(2)),d=parseFloat(c),h in mr&&(h==="autoAlpha"&&(p===1&&Lr(e,"visibility")==="hidden"&&d&&(p=0),S.push("visibility",0,a.visibility),li(this,a,"visibility",p?"inherit":"hidden",d?"inherit":"hidden",!d)),h!=="scale"&&h!=="transform"&&(h=mr[h],~h.indexOf(",")&&(h=h.split(",")[0]))),y=h in Rr,y){if(this.styles.save(h),w||(b=e._gsap,b.renderTransform&&!t.parseTransform||Eo(e,t.parseTransform),x=t.smoothOrigin!==!1&&b.smooth,w=this._pt=new ht(this._pt,a,be,0,1,b.renderTransform,b,0,-1),w.dep=1),h==="scale")this._pt=new ht(this._pt,b,"scaleY",b.scaleY,(v?Bi(b.scaleY,v+d):d)-b.scaleY||0,Sl),this._pt.u=0,s.push("scaleY",h),h+="X";else if(h==="transformOrigin"){S.push(Tt,0,a[Tt]),c=nv(c),b.svg?Al(e,c,0,x,0,this):(m=parseFloat(c.split(" ")[2])||0,m!==b.zOrigin&&li(this,b,"zOrigin",b.zOrigin,m),li(this,a,h,Zs(l),Zs(c)));continue}else if(h==="svgOrigin"){Al(e,c,1,x,0,this);continue}else if(h in ch){uv(this,b,h,p,v?Bi(p,v+c):c);continue}else if(h==="smoothOrigin"){li(this,b,"smooth",b.smooth,c);continue}else if(h==="force3D"){b[h]=c;continue}else if(h==="transform"){lv(this,c,e);continue}}else h in a||(h=Sn(h)||h);if(y||(d||d===0)&&(p||p===0)&&!Ym.test(c)&&h in a)g=(l+"").substr((p+"").length),d||(d=0),m=et(c)||(h in Ct.units?Ct.units[h]:g),g!==m&&(p=ci(e,h,l,m)),this._pt=new ht(this._pt,y?b:a,h,p,(v?Bi(p,v+d):d)-p,!y&&(m==="px"||h==="zIndex")&&t.autoRound!==!1?Gm:Sl),this._pt.u=m||0,g!==m&&m!=="%"&&(this._pt.b=l,this._pt.r=Um);else if(h in a)iv.call(this,e,h,l,v?v+c:c);else if(h in e)this.add(e,h,l||e[h],v?v+c:c,n,o);else if(h!=="parseTransform"){Xs(h,c);continue}y||(h in a?S.push(h,0,a[h]):S.push(h,1,l||e[h])),s.push(h)}}E&&El(this)},render:function(e,t){if(t.tween._time||!Ol())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:Lr,aliases:mr,getSetter:function(e,t,r){var n=mr[t];return n&&n.indexOf(",")<0&&(t=n),t in Rr&&t!==Tt&&(e._gsap.x||Lr(e,"x"))?r&&jd===r?t==="scale"?Zm:Km:(jd=r||{})&&(t==="scale"?Qm:Jm):e.style&&!Ys(e.style[t])?$m:~t.indexOf("-")?jm:js(e,t)},core:{_removeProperty:Yi,_getMatrix:kl}};at.utils.checkPrefix=Sn;at.core.getStyleSaver=sh;(function(i,e,t,r){var n=dt(i+","+e+","+t,function(o){Rr[o]=1});dt(e,function(o){Ct.units[o]="deg",ch[o]=1}),mr[n[13]]=i+","+e,dt(r,function(o){var s=o.split(":");mr[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");dt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(i){Ct.units[i]="px"});at.registerPlugin(Pl);var V=at.registerPlugin(Pl)||at,Vy=V.core.Tween;function hh(i,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(i,r.key,r)}}function cv(i,e,t){return e&&hh(i.prototype,e),t&&hh(i,t),i}var tt,ea,fv,Nt,fi,di,Tn,_h,Xi,xo,gh,Nr,nr,mh,vh=function(){return tt||typeof window<"u"&&(tt=window.gsap)&&tt.registerPlugin&&tt},Dh=1,Cn=[],oe=[],or=[],So=Date.now,Ll=function(e,t){return t},dv=function(){var e=xo.core,t=e.bridge||{},r=e._scrollers,n=e._proxies;r.push.apply(r,oe),n.push.apply(n,or),oe=r,or=n,Ll=function(s,a){return t[s](a)}},Br=function(e,t){return~or.indexOf(e)&&or[or.indexOf(e)+1][t]},Co=function(e){return!!~gh.indexOf(e)},_t=function(e,t,r,n,o){return e.addEventListener(t,r,{passive:n!==!1,capture:!!o})},pt=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},Qs="scrollLeft",Js="scrollTop",Rl=function(){return Nr&&Nr.isPressed||oe.cache++},ta=function(e,t){var r=function n(o){if(o||o===0){Dh&&(Nt.history.scrollRestoration="manual");var s=Nr&&Nr.isPressed;o=n.v=Math.round(o)||(Nr&&Nr.iOS?1:0),e(o),n.cacheID=oe.cache,s&&Ll("ss",o)}else(t||oe.cache!==n.cacheID||Ll("ref"))&&(n.cacheID=oe.cache,n.v=e());return n.v+n.offset};return r.offset=0,e&&r},ut={s:Qs,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:ta(function(i){return arguments.length?Nt.scrollTo(i,Ie.sc()):Nt.pageXOffset||fi[Qs]||di[Qs]||Tn[Qs]||0})},Ie={s:Js,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:ut,sc:ta(function(i){return arguments.length?Nt.scrollTo(ut.sc(),i):Nt.pageYOffset||fi[Js]||di[Js]||Tn[Js]||0})},gt=function(e,t){return(t&&t._ctx&&t._ctx.selector||tt.utils.toArray)(e)[0]||(typeof e=="string"&&tt.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},Ir=function(e,t){var r=t.s,n=t.sc;Co(e)&&(e=fi.scrollingElement||di);var o=oe.indexOf(e),s=n===Ie.sc?1:2;!~o&&(o=oe.push(e)-1),oe[o+s]||_t(e,"scroll",Rl);var a=oe[o+s],u=a||(oe[o+s]=ta(Br(e,r),!0)||(Co(e)?n:ta(function(l){return arguments.length?e[r]=l:e[r]})));return u.target=e,a||(u.smooth=tt.getProperty(e,"scrollBehavior")==="smooth"),u},ra=function(e,t,r){var n=e,o=e,s=So(),a=s,u=t||50,l=Math.max(500,u*3),c=function(_,h){var g=So();h||g-s>u?(o=n,n=_,a=s,s=g):r?n+=_:n=o+(_-o)/(g-a)*(s-a)},d=function(){o=n=r?0:n,a=s=0},p=function(_){var h=a,g=o,m=So();return(_||_===0)&&_!==n&&c(_),s===a||m-a>l?0:(n+(r?g:-g))/((r?m:s)-h)*1e3};return{update:c,reset:d,getVelocity:p}},bo=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},ph=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},yh=function(){xo=tt.core.globals().ScrollTrigger,xo&&xo.core&&dv()},wh=function(e){return tt=e||vh(),!ea&&tt&&typeof document<"u"&&document.body&&(Nt=window,fi=document,di=fi.documentElement,Tn=fi.body,gh=[Nt,fi,di,Tn],fv=tt.utils.clamp,mh=tt.core.context||function(){},Xi="onpointerenter"in Tn?"pointer":"mouse",_h=Oe.isTouch=Nt.matchMedia&&Nt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Nt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,nr=Oe.eventTypes=("ontouchstart"in di?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in di?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return Dh=0},500),yh(),ea=1),ea};ut.op=Ie;oe.cache=0;var Oe=function(){function i(t){this.init(t)}var e=i.prototype;return e.init=function(r){ea||wh(tt)||console.warn("Please gsap.registerPlugin(Observer)"),xo||yh();var n=r.tolerance,o=r.dragMinimum,s=r.type,a=r.target,u=r.lineHeight,l=r.debounce,c=r.preventDefault,d=r.onStop,p=r.onStopDelay,f=r.ignore,_=r.wheelSpeed,h=r.event,g=r.onDragStart,m=r.onDragEnd,v=r.onDrag,y=r.onPress,w=r.onRelease,b=r.onRight,x=r.onLeft,E=r.onUp,S=r.onDown,A=r.onChangeX,C=r.onChangeY,O=r.onChange,F=r.onToggleX,k=r.onToggleY,H=r.onHover,z=r.onHoverEnd,P=r.onMove,R=r.ignoreCheck,N=r.isNormalizer,T=r.onGestureStart,D=r.onGestureEnd,L=r.onWheel,X=r.onEnable,te=r.onDisable,U=r.onClick,G=r.scrollSpeed,I=r.capture,Y=r.allowClicks,fe=r.lockAxis,ie=r.onLockAxis;this.target=a=gt(a)||di,this.vars=r,f&&(f=tt.utils.toArray(f)),n=n||1e-9,o=o||0,_=_||1,G=G||1,s=s||"wheel,touch,pointer",l=l!==!1,u||(u=parseFloat(Nt.getComputedStyle(Tn).lineHeight)||22);var ne,Ke,Et,B,Z,Ce,ze,M=this,kt=0,Cr=0,$r=r.passive||!c,Le=Ir(a,ut),jr=Ir(a,Ie),Ei=Le(),an=jr(),Xe=~s.indexOf("touch")&&!~s.indexOf("pointer")&&nr[0]==="pointerdown",Kr=Co(a),Me=a.ownerDocument||fi,Zt=[0,0,0],zt=[0,0,0],Tr=0,Gn=function(){return Tr=So()},Re=function(K,de){return(M.event=K)&&f&&~f.indexOf(K.target)||de&&Xe&&K.pointerType!=="touch"||R&&R(K,de)},ds=function(){M._vx.reset(),M._vy.reset(),Ke.pause(),d&&d(M)},Zr=function(){var K=M.deltaX=ph(Zt),de=M.deltaY=ph(zt),W=Math.abs(K)>=n,ee=Math.abs(de)>=n;O&&(W||ee)&&O(M,K,de,Zt,zt),W&&(b&&M.deltaX>0&&b(M),x&&M.deltaX<0&&x(M),A&&A(M),F&&M.deltaX<0!=kt<0&&F(M),kt=M.deltaX,Zt[0]=Zt[1]=Zt[2]=0),ee&&(S&&M.deltaY>0&&S(M),E&&M.deltaY<0&&E(M),C&&C(M),k&&M.deltaY<0!=Cr<0&&k(M),Cr=M.deltaY,zt[0]=zt[1]=zt[2]=0),(B||Et)&&(P&&P(M),Et&&(v(M),Et=!1),B=!1),Ce&&!(Ce=!1)&&ie&&ie(M),Z&&(L(M),Z=!1),ne=0},un=function(K,de,W){Zt[W]+=K,zt[W]+=de,M._vx.update(K),M._vy.update(de),l?ne||(ne=requestAnimationFrame(Zr)):Zr()},ln=function(K,de){fe&&!ze&&(M.axis=ze=Math.abs(K)>Math.abs(de)?"x":"y",Ce=!0),ze!=="y"&&(Zt[2]+=K,M._vx.update(K,!0)),ze!=="x"&&(zt[2]+=de,M._vy.update(de,!0)),l?ne||(ne=requestAnimationFrame(Zr)):Zr()},Qr=function(K){if(!Re(K,1)){K=bo(K,c);var de=K.clientX,W=K.clientY,ee=de-M.x,$=W-M.y,Q=M.isDragging;M.x=de,M.y=W,(Q||Math.abs(M.startX-de)>=o||Math.abs(M.startY-W)>=o)&&(v&&(Et=!0),Q||(M.isDragging=!0),ln(ee,$),Q||g&&g(M))}},bi=M.onPress=function(J){Re(J,1)||J&&J.button||(M.axis=ze=null,Ke.pause(),M.isPressed=!0,J=bo(J),kt=Cr=0,M.startX=M.x=J.clientX,M.startY=M.y=J.clientY,M._vx.reset(),M._vy.reset(),_t(N?a:Me,nr[1],Qr,$r,!0),M.deltaX=M.deltaY=0,y&&y(M))},ae=M.onRelease=function(J){if(!Re(J,1)){pt(N?a:Me,nr[1],Qr,!0);var K=!isNaN(M.y-M.startY),de=M.isDragging,W=de&&(Math.abs(M.x-M.startX)>3||Math.abs(M.y-M.startY)>3),ee=bo(J);!W&&K&&(M._vx.reset(),M._vy.reset(),c&&Y&&tt.delayedCall(.08,function(){if(So()-Tr>300&&!J.defaultPrevented){if(J.target.click)J.target.click();else if(Me.createEvent){var $=Me.createEvent("MouseEvents");$.initMouseEvent("click",!0,!0,Nt,1,ee.screenX,ee.screenY,ee.clientX,ee.clientY,!1,!1,!1,!1,0,null),J.target.dispatchEvent($)}}})),M.isDragging=M.isGesturing=M.isPressed=!1,d&&de&&!N&&Ke.restart(!0),m&&de&&m(M),w&&w(M,W)}},xi=function(K){return K.touches&&K.touches.length>1&&(M.isGesturing=!0)&&T(K,M.isDragging)},Qt=function(){return(M.isGesturing=!1)||D(M)},Jt=function(K){if(!Re(K)){var de=Le(),W=jr();un((de-Ei)*G,(W-an)*G,1),Ei=de,an=W,d&&Ke.restart(!0)}},er=function(K){if(!Re(K)){K=bo(K,c),L&&(Z=!0);var de=(K.deltaMode===1?u:K.deltaMode===2?Nt.innerHeight:1)*_;un(K.deltaX*de,K.deltaY*de,0),d&&!N&&Ke.restart(!0)}},Si=function(K){if(!Re(K)){var de=K.clientX,W=K.clientY,ee=de-M.x,$=W-M.y;M.x=de,M.y=W,B=!0,d&&Ke.restart(!0),(ee||$)&&ln(ee,$)}},cn=function(K){M.event=K,H(M)},Ar=function(K){M.event=K,z(M)},$n=function(K){return Re(K)||bo(K,c)&&U(M)};Ke=M._dc=tt.delayedCall(p||.25,ds).pause(),M.deltaX=M.deltaY=0,M._vx=ra(0,50,!0),M._vy=ra(0,50,!0),M.scrollX=Le,M.scrollY=jr,M.isDragging=M.isGesturing=M.isPressed=!1,mh(this),M.enable=function(J){return M.isEnabled||(_t(Kr?Me:a,"scroll",Rl),s.indexOf("scroll")>=0&&_t(Kr?Me:a,"scroll",Jt,$r,I),s.indexOf("wheel")>=0&&_t(a,"wheel",er,$r,I),(s.indexOf("touch")>=0&&_h||s.indexOf("pointer")>=0)&&(_t(a,nr[0],bi,$r,I),_t(Me,nr[2],ae),_t(Me,nr[3],ae),Y&&_t(a,"click",Gn,!0,!0),U&&_t(a,"click",$n),T&&_t(Me,"gesturestart",xi),D&&_t(Me,"gestureend",Qt),H&&_t(a,Xi+"enter",cn),z&&_t(a,Xi+"leave",Ar),P&&_t(a,Xi+"move",Si)),M.isEnabled=!0,J&&J.type&&bi(J),X&&X(M)),M},M.disable=function(){M.isEnabled&&(Cn.filter(function(J){return J!==M&&Co(J.target)}).length||pt(Kr?Me:a,"scroll",Rl),M.isPressed&&(M._vx.reset(),M._vy.reset(),pt(N?a:Me,nr[1],Qr,!0)),pt(Kr?Me:a,"scroll",Jt,I),pt(a,"wheel",er,I),pt(a,nr[0],bi,I),pt(Me,nr[2],ae),pt(Me,nr[3],ae),pt(a,"click",Gn,!0),pt(a,"click",$n),pt(Me,"gesturestart",xi),pt(Me,"gestureend",Qt),pt(a,Xi+"enter",cn),pt(a,Xi+"leave",Ar),pt(a,Xi+"move",Si),M.isEnabled=M.isPressed=M.isDragging=!1,te&&te(M))},M.kill=M.revert=function(){M.disable();var J=Cn.indexOf(M);J>=0&&Cn.splice(J,1),Nr===M&&(Nr=0)},Cn.push(M),N&&Co(a)&&(Nr=M),M.enable(h)},cv(i,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),i}();Oe.version="3.12.5";Oe.create=function(i){return new Oe(i)};Oe.register=wh;Oe.getAll=function(){return Cn.slice()};Oe.getById=function(i){return Cn.filter(function(e){return e.vars.id===i})[0]};vh()&&tt.registerPlugin(Oe);var q,On,ce,xe,sr,ve,zh,va,zo,Po,Ao,ia,lt,Ea,ql,vt,Eh,bh,Mn,Vh,Nl,Hh,mt,Yl,Wh,qh,hi,Xl,Kl,kn,Zl,Da,Ul,Il,na=1,ct=Date.now,Bl=ct(),Ut=0,Fo=0,xh=function(e,t,r){var n=Bt(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=n,n?e.substr(6,e.length-7):e},Sh=function(e,t){return t&&(!Bt(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},hv=function i(){return Fo&&requestAnimationFrame(i)},Ch=function(){return Ea=1},Th=function(){return Ea=0},Dr=function(e){return e},Oo=function(e){return Math.round(e*1e5)/1e5||0},Yh=function(){return typeof window<"u"},Xh=function(){return q||Yh()&&(q=window.gsap)&&q.registerPlugin&&q},Zi=function(e){return!!~zh.indexOf(e)},Uh=function(e){return(e==="Height"?Zl:ce["inner"+e])||sr["client"+e]||ve["client"+e]},Gh=function(e){return Br(e,"getBoundingClientRect")||(Zi(e)?function(){return ma.width=ce.innerWidth,ma.height=Zl,ma}:function(){return zr(e)})},pv=function(e,t,r){var n=r.d,o=r.d2,s=r.a;return(s=Br(e,"getBoundingClientRect"))?function(){return s()[n]}:function(){return(t?Uh(o):e["client"+o])||0}},_v=function(e,t){return!t||~or.indexOf(e)?Gh(e):function(){return ma}},yr=function(e,t){var r=t.s,n=t.d2,o=t.d,s=t.a;return Math.max(0,(r="scroll"+n)&&(s=Br(e,r))?s()-Gh(e)()[o]:Zi(e)?(sr[r]||ve[r])-Uh(n):e[r]-e["offset"+n])},oa=function(e,t){for(var r=0;r<Mn.length;r+=3)(!t||~t.indexOf(Mn[r+1]))&&e(Mn[r],Mn[r+1],Mn[r+2])},Bt=function(e){return typeof e=="string"},yt=function(e){return typeof e=="function"},Mo=function(e){return typeof e=="number"},Ui=function(e){return typeof e=="object"},To=function(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()},zl=function(e,t){if(e.enabled){var r=e._ctx?e._ctx.add(function(){return t(e)}):t(e);r&&r.totalTime&&(e.callbackAnimation=r)}},An=Math.abs,$h="left",jh="top",Ql="right",Jl="bottom",$i="width",ji="height",Lo="Right",Ro="Left",No="Top",Io="Bottom",Be="padding",Yt="margin",Ln="Width",ec="Height",qe="px",Xt=function(e){return ce.getComputedStyle(e)},gv=function(e){var t=Xt(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative"},Ah=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},zr=function(e,t){var r=t&&Xt(e)[ql]!=="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 r&&r.progress(0).kill(),n},ya=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},Kh=function(e){var t=[],r=e.labels,n=e.duration(),o;for(o in r)t.push(r[o]/n);return t},mv=function(e){return function(t){return q.utils.snap(Kh(e),t)}},tc=function(e){var t=q.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(n,o){return n-o});return r?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<r.length;a++)if(r[a]>=n)return r[a];return r[a-1]}else for(a=r.length,n+=s;a--;)if(r[a]<=n)return r[a];return r[0]}:function(n,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)}},vv=function(e){return function(t,r){return tc(Kh(e))(t,r.direction)}},sa=function(e,t,r,n){return r.split(",").forEach(function(o){return e(t,o,n)})},je=function(e,t,r,n,o){return e.addEventListener(t,r,{passive:!n,capture:!!o})},$e=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},aa=function(e,t,r){r=r&&r.wheelHandler,r&&(e(t,"wheel",r),e(t,"touchmove",r))},Fh={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},ua={toggleActions:"play",anticipatePin:0},wa={top:0,left:0,center:.5,bottom:1,right:1},ha=function(e,t){if(Bt(e)){var r=e.indexOf("="),n=~r?+(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(n*=t/100),e=e.substr(0,r-1)),e=n+(e in wa?wa[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},la=function(e,t,r,n,o,s,a,u){var l=o.startColor,c=o.endColor,d=o.fontSize,p=o.indent,f=o.fontWeight,_=xe.createElement("div"),h=Zi(r)||Br(r,"pinType")==="fixed",g=e.indexOf("scroller")!==-1,m=h?ve:r,v=e.indexOf("start")!==-1,y=v?l:c,w="border-color:"+y+";font-size:"+d+";color:"+y+";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 w+="position:"+((g||u)&&h?"fixed;":"absolute;"),(g||u||!h)&&(w+=(n===Ie?Ql:Jl)+":"+(s+parseFloat(p))+"px;"),a&&(w+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),_._isStart=v,_.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),_.style.cssText=w,_.innerText=t||t===0?e+"-"+t:e,m.children[0]?m.insertBefore(_,m.children[0]):m.appendChild(_),_._offset=_["offset"+n.op.d2],pa(_,0,n,v),_},pa=function(e,t,r,n){var o={display:"block"},s=r[n?"os2":"p2"],a=r[n?"p2":"os2"];e._isFlipped=n,o[r.a+"Percent"]=n?-100:0,o[r.a]=n?"1px":0,o["border"+s+Ln]=1,o["border"+a+Ln]=0,o[r.p]=t+"px",q.set(e,o)},se=[],Gl={},Vo,Oh=function(){return ct()-Ut>34&&(Vo||(Vo=requestAnimationFrame(Vr)))},Fn=function(){(!mt||!mt.isPressed||mt.startX>ve.clientWidth)&&(oe.cache++,mt?Vo||(Vo=requestAnimationFrame(Vr)):Vr(),Ut||Ji("scrollStart"),Ut=ct())},Vl=function(){qh=ce.innerWidth,Wh=ce.innerHeight},ko=function(){oe.cache++,!lt&&!Hh&&!xe.fullscreenElement&&!xe.webkitFullscreenElement&&(!Yl||qh!==ce.innerWidth||Math.abs(ce.innerHeight-Wh)>ce.innerHeight*.25)&&va.restart(!0)},Qi={},Dv=[],Zh=function i(){return $e(j,"scrollEnd",i)||Gi(!0)},Ji=function(e){return Qi[e]&&Qi[e].map(function(t){return t()})||Dv},It=[],Qh=function(e){for(var t=0;t<It.length;t+=5)(!e||It[t+4]&&It[t+4].query===e)&&(It[t].style.cssText=It[t+1],It[t].getBBox&&It[t].setAttribute("transform",It[t+2]||""),It[t+3].uncache=1)},rc=function(e,t){var r;for(vt=0;vt<se.length;vt++)r=se[vt],r&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));Da=!0,t&&Qh(t),t||Ji("revert")},Jh=function(e,t){oe.cache++,(t||!Dt)&&oe.forEach(function(r){return yt(r)&&r.cacheID++&&(r.rec=0)}),Bt(e)&&(ce.history.scrollRestoration=Kl=e)},Dt,Ki=0,Mh,yv=function(){if(Mh!==Ki){var e=Mh=Ki;requestAnimationFrame(function(){return e===Ki&&Gi(!0)})}},ep=function(){ve.appendChild(kn),Zl=!mt&&kn.offsetHeight||ce.innerHeight,ve.removeChild(kn)},kh=function(e){return zo(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},Gi=function(e,t){if(Ut&&!e&&!Da){je(j,"scrollEnd",Zh);return}ep(),Dt=j.isRefreshing=!0,oe.forEach(function(n){return yt(n)&&++n.cacheID&&(n.rec=n())});var r=Ji("refreshInit");Vh&&j.sort(),t||rc(),oe.forEach(function(n){yt(n)&&(n.smooth&&(n.target.style.scrollBehavior="auto"),n(0))}),se.slice(0).forEach(function(n){return n.refresh()}),Da=!1,se.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()}}),Ul=1,kh(!0),se.forEach(function(n){var o=yr(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)}),kh(!1),Ul=0,r.forEach(function(n){return n&&n.render&&n.render(-1)}),oe.forEach(function(n){yt(n)&&(n.smooth&&requestAnimationFrame(function(){return n.target.style.scrollBehavior="smooth"}),n.rec&&n(n.rec))}),Jh(Kl,1),va.pause(),Ki++,Dt=2,Vr(2),se.forEach(function(n){return yt(n.vars.onRefresh)&&n.vars.onRefresh(n)}),Dt=j.isRefreshing=!1,Ji("refresh")},$l=0,_a=1,Bo,Vr=function(e){if(e===2||!Dt&&!Da){j.isUpdating=!0,Bo&&Bo.update(0);var t=se.length,r=ct(),n=r-Bl>=50,o=t&&se[0].scroll();if(_a=$l>o?-1:1,Dt||($l=o),n&&(Ut&&!Ea&&r-Ut>200&&(Ut=0,Ji("scrollEnd")),Ao=Bl,Bl=r),_a<0){for(vt=t;vt-- >0;)se[vt]&&se[vt].update(0,n);_a=1}else for(vt=0;vt<t;vt++)se[vt]&&se[vt].update(0,n);j.isUpdating=!1}Vo=0},jl=[$h,jh,Jl,Ql,Yt+Io,Yt+Lo,Yt+No,Yt+Ro,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],ga=jl.concat([$i,ji,"boxSizing","max"+Ln,"max"+ec,"position",Yt,Be,Be+No,Be+Lo,Be+Io,Be+Ro]),wv=function(e,t,r){Pn(r);var n=e._gsap;if(n.spacerIsNative)Pn(n.spacerState);else if(e._gsap.swappedIn){var o=t.parentNode;o&&(o.insertBefore(e,t),o.removeChild(t))}e._gsap.swappedIn=!1},Hl=function(e,t,r,n){if(!e._gsap.swappedIn){for(var o=jl.length,s=t.style,a=e.style,u;o--;)u=jl[o],s[u]=r[u];s.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(s.display="inline-block"),a[Jl]=a[Ql]="auto",s.flexBasis=r.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[$i]=ya(e,ut)+qe,s[ji]=ya(e,Ie)+qe,s[Be]=a[Yt]=a[jh]=a[$h]="0",Pn(n),a[$i]=a["max"+Ln]=r[$i],a[ji]=a["max"+ec]=r[ji],a[Be]=r[Be],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},Ev=/([A-Z])/g,Pn=function(e){if(e){var t=e.t.style,r=e.length,n=0,o,s;for((e.t._gsap||q.core.getCache(e.t)).uncache=1;n<r;n+=2)s=e[n+1],o=e[n],s?t[o]=s:t[o]&&t.removeProperty(o.replace(Ev,"-$1").toLowerCase())}},ca=function(e){for(var t=ga.length,r=e.style,n=[],o=0;o<t;o++)n.push(ga[o],r[ga[o]]);return n.t=e,n},bv=function(e,t,r){for(var n=[],o=e.length,s=r?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},ma={left:0,top:0},Ph=function(e,t,r,n,o,s,a,u,l,c,d,p,f,_){yt(e)&&(e=e(u)),Bt(e)&&e.substr(0,3)==="max"&&(e=p+(e.charAt(4)==="="?ha("0"+e.substr(3),r):0));var h=f?f.time():0,g,m,v;if(f&&f.seek(0),isNaN(e)||(e=+e),Mo(e))f&&(e=q.utils.mapRange(f.scrollTrigger.start,f.scrollTrigger.end,0,p,e)),a&&pa(a,r,n,!0);else{yt(t)&&(t=t(u));var y=(e||"0").split(" "),w,b,x,E;v=gt(t,u)||ve,w=zr(v)||{},(!w||!w.left&&!w.top)&&Xt(v).display==="none"&&(E=v.style.display,v.style.display="block",w=zr(v),E?v.style.display=E:v.style.removeProperty("display")),b=ha(y[0],w[n.d]),x=ha(y[1]||"0",r),e=w[n.p]-l[n.p]-c+b+o-x,a&&pa(a,x,n,r-x<20||a._isStart&&x>20),r-=r-x}if(_&&(u[_]=e||-.001,e<0&&(e=0)),s){var S=e+r,A=s._isStart;g="scroll"+n.d2,pa(s,S,n,A&&S>20||!A&&(d?Math.max(ve[g],sr[g]):s.parentNode[g])<=S+1),d&&(l=zr(a),d&&(s.style[n.op.p]=l[n.op.p]-n.op.m-s._offset+qe))}return f&&v&&(g=zr(v),f.seek(p),m=zr(v),f._caScrollDist=g[n.p]-m[n.p],e=e/f._caScrollDist*p),f&&f.seek(h),f?e:Math.round(e)},xv=/(webkit|moz|length|cssText|inset)/i,Lh=function(e,t,r,n){if(e.parentNode!==t){var o=e.style,s,a;if(t===ve){e._stOrig=o.cssText,a=Xt(e);for(s in a)!+s&&!xv.test(s)&&a[s]&&typeof o[s]=="string"&&s!=="0"&&(o[s]=a[s]);o.top=r,o.left=n}else o.cssText=e._stOrig;q.core.getCache(e).uncache=1,t.appendChild(e)}},tp=function(e,t,r){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,r&&r()),o=n,n=s,s}},fa=function(e,t,r){var n={};n[t.p]="+="+r,q.set(e,n)},Rh=function(e,t){var r=Ir(e,t),n="_scroll"+t.p2,o=function s(a,u,l,c,d){var p=s.tween,f=u.onComplete,_={};l=l||r();var h=tp(r,l,function(){p.kill(),s.tween=0});return d=c&&d||0,c=c||a-l,p&&p.kill(),u[n]=a,u.inherit=!1,u.modifiers=_,_[n]=function(){return h(l+c*p.ratio+d*p.ratio*p.ratio)},u.onUpdate=function(){oe.cache++,s.tween&&Vr()},u.onComplete=function(){s.tween=0,f&&f.call(p)},p=s.tween=q.to(e,u),p};return e[n]=r,r.wheelHandler=function(){return o.tween&&o.tween.kill()&&(o.tween=0)},je(e,"wheel",r.wheelHandler),j.isTouch&&je(e,"touchmove",r.wheelHandler),o},j=function(){function i(t,r){On||i.register(q)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Xl(this),this.init(t,r)}var e=i.prototype;return e.init=function(r,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Fo){this.update=this.refresh=this.kill=Dr;return}r=Ah(Bt(r)||Mo(r)||r.nodeType?{trigger:r}:r,ua);var o=r,s=o.onUpdate,a=o.toggleClass,u=o.id,l=o.onToggle,c=o.onRefresh,d=o.scrub,p=o.trigger,f=o.pin,_=o.pinSpacing,h=o.invalidateOnRefresh,g=o.anticipatePin,m=o.onScrubComplete,v=o.onSnapComplete,y=o.once,w=o.snap,b=o.pinReparent,x=o.pinSpacer,E=o.containerAnimation,S=o.fastScrollEnd,A=o.preventOverlaps,C=r.horizontal||r.containerAnimation&&r.horizontal!==!1?ut:Ie,O=!d&&d!==0,F=gt(r.scroller||ce),k=q.core.getCache(F),H=Zi(F),z=("pinType"in r?r.pinType:Br(F,"pinType")||H&&"fixed")==="fixed",P=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],R=O&&r.toggleActions.split(" "),N="markers"in r?r.markers:ua.markers,T=H?0:parseFloat(Xt(F)["border"+C.p2+Ln])||0,D=this,L=r.onRefreshInit&&function(){return r.onRefreshInit(D)},X=pv(F,H,C),te=_v(F,H),U=0,G=0,I=0,Y=Ir(F,C),fe,ie,ne,Ke,Et,B,Z,Ce,ze,M,kt,Cr,$r,Le,jr,Ei,an,Xe,Kr,Me,Zt,zt,Tr,Gn,Re,ds,Zr,un,ln,Qr,bi,ae,xi,Qt,Jt,er,Si,cn,Ar;if(D._startClamp=D._endClamp=!1,D._dir=C,g*=45,D.scroller=F,D.scroll=E?E.time.bind(E):Y,Ke=Y(),D.vars=r,n=n||r.animation,"refreshPriority"in r&&(Vh=1,r.refreshPriority===-9999&&(Bo=D)),k.tweenScroll=k.tweenScroll||{top:Rh(F,Ie),left:Rh(F,ut)},D.tweenTo=fe=k.tweenScroll[C.p],D.scrubDuration=function(W){xi=Mo(W)&&W,xi?ae?ae.duration(W):ae=q.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:xi,paused:!0,onComplete:function(){return m&&m(D)}}):(ae&&ae.progress(1).kill(),ae=0)},n&&(n.vars.lazy=!1,n._initted&&!D.isReverted||n.vars.immediateRender!==!1&&r.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),D.animation=n.pause(),n.scrollTrigger=D,D.scrubDuration(d),Qr=0,u||(u=n.vars.id)),w&&((!Ui(w)||w.push)&&(w={snapTo:w}),"scrollBehavior"in ve.style&&q.set(H?[ve,sr]:F,{scrollBehavior:"auto"}),oe.forEach(function(W){return yt(W)&&W.target===(H?xe.scrollingElement||sr:F)&&(W.smooth=!1)}),ne=yt(w.snapTo)?w.snapTo:w.snapTo==="labels"?mv(n):w.snapTo==="labelsDirectional"?vv(n):w.directional!==!1?function(W,ee){return tc(w.snapTo)(W,ct()-G<500?0:ee.direction)}:q.utils.snap(w.snapTo),Qt=w.duration||{min:.1,max:2},Qt=Ui(Qt)?Po(Qt.min,Qt.max):Po(Qt,Qt),Jt=q.delayedCall(w.delay||xi/2||.1,function(){var W=Y(),ee=ct()-G<500,$=fe.tween;if((ee||Math.abs(D.getVelocity())<10)&&!$&&!Ea&&U!==W){var Q=(W-B)/Le,Ue=n&&!O?n.totalProgress():Q,ue=ee?0:(Ue-bi)/(ct()-Ao)*1e3||0,ke=q.utils.clamp(-Q,1-Q,An(ue/2)*ue/.185),rt=Q+(w.inertia===!1?0:ke),Te,De,he=w,tr=he.onStart,we=he.onInterrupt,Pt=he.onComplete;if(Te=ne(rt,D),Mo(Te)||(Te=rt),De=Math.round(B+Te*Le),W<=Z&&W>=B&&De!==W){if($&&!$._initted&&$.data<=An(De-W))return;w.inertia===!1&&(ke=Te-Q),fe(De,{duration:Qt(An(Math.max(An(rt-Ue),An(Te-Ue))*.185/ue/.05||0)),ease:w.ease||"power3",data:An(De-W),onInterrupt:function(){return Jt.restart(!0)&&we&&we(D)},onComplete:function(){D.update(),U=Y(),n&&(ae?ae.resetTo("totalProgress",Te,n._tTime/n._tDur):n.progress(Te)),Qr=bi=n&&!O?n.totalProgress():D.progress,v&&v(D),Pt&&Pt(D)}},W,ke*Le,De-W-ke*Le),tr&&tr(D,fe.tween)}}else D.isActive&&U!==W&&Jt.restart(!0)}).pause()),u&&(Gl[u]=D),p=D.trigger=gt(p||f!==!0&&f),Ar=p&&p._gsap&&p._gsap.stRevert,Ar&&(Ar=Ar(D)),f=f===!0?p:gt(f),Bt(a)&&(a={targets:p,className:a}),f&&(_===!1||_===Yt||(_=!_&&f.parentNode&&f.parentNode.style&&Xt(f.parentNode).display==="flex"?!1:Be),D.pin=f,ie=q.core.getCache(f),ie.spacer?jr=ie.pinState:(x&&(x=gt(x),x&&!x.nodeType&&(x=x.current||x.nativeElement),ie.spacerIsNative=!!x,x&&(ie.spacerState=ca(x))),ie.spacer=Xe=x||xe.createElement("div"),Xe.classList.add("pin-spacer"),u&&Xe.classList.add("pin-spacer-"+u),ie.pinState=jr=ca(f)),r.force3D!==!1&&q.set(f,{force3D:!0}),D.spacer=Xe=ie.spacer,ln=Xt(f),Gn=ln[_+C.os2],Me=q.getProperty(f),Zt=q.quickSetter(f,C.a,qe),Hl(f,Xe,ln),an=ca(f)),N){Cr=Ui(N)?Ah(N,Fh):Fh,M=la("scroller-start",u,F,C,Cr,0),kt=la("scroller-end",u,F,C,Cr,0,M),Kr=M["offset"+C.op.d2];var $n=gt(Br(F,"content")||F);Ce=this.markerStart=la("start",u,$n,C,Cr,Kr,0,E),ze=this.markerEnd=la("end",u,$n,C,Cr,Kr,0,E),E&&(cn=q.quickSetter([Ce,ze],C.a,qe)),!z&&!(or.length&&Br(F,"fixedMarkers")===!0)&&(gv(H?ve:F),q.set([M,kt],{force3D:!0}),ds=q.quickSetter(M,C.a,qe),un=q.quickSetter(kt,C.a,qe))}if(E){var J=E.vars.onUpdate,K=E.vars.onUpdateParams;E.eventCallback("onUpdate",function(){D.update(0,0,1),J&&J.apply(E,K||[])})}if(D.previous=function(){return se[se.indexOf(D)-1]},D.next=function(){return se[se.indexOf(D)+1]},D.revert=function(W,ee){if(!ee)return D.kill(!0);var $=W!==!1||!D.enabled,Q=lt;$!==D.isReverted&&($&&(er=Math.max(Y(),D.scroll.rec||0),I=D.progress,Si=n&&n.progress()),Ce&&[Ce,ze,M,kt].forEach(function(Ue){return Ue.style.display=$?"none":"block"}),$&&(lt=D,D.update($)),f&&(!b||!D.isActive)&&($?wv(f,Xe,jr):Hl(f,Xe,Xt(f),Re)),$||D.update($),lt=Q,D.isReverted=$)},D.refresh=function(W,ee,$,Q){if(!((lt||!D.enabled)&&!ee)){if(f&&W&&Ut){je(i,"scrollEnd",Zh);return}!Dt&&L&&L(D),lt=D,fe.tween&&!$&&(fe.tween.kill(),fe.tween=0),ae&&ae.pause(),h&&n&&n.revert({kill:!1}).invalidate(),D.isReverted||D.revert(!0,!0),D._subPinOffset=!1;var Ue=X(),ue=te(),ke=E?E.duration():yr(F,C),rt=Le<=.01,Te=0,De=Q||0,he=Ui($)?$.end:r.end,tr=r.endTrigger||p,we=Ui($)?$.start:r.start||(r.start===0||!p?0:f?"0 0":"0 100%"),Pt=D.pinnedContainer=r.pinnedContainer&>(r.pinnedContainer,D),cr=p&&Math.max(0,se.indexOf(D))||0,Ze=cr,Qe,it,Ci,hs,nt,Ve,fr,Ua,kc,jn,dr,Kn,ps;for(N&&Ui($)&&(Kn=q.getProperty(M,C.p),ps=q.getProperty(kt,C.p));Ze--;)Ve=se[Ze],Ve.end||Ve.refresh(0,1)||(lt=D),fr=Ve.pin,fr&&(fr===p||fr===f||fr===Pt)&&!Ve.isReverted&&(jn||(jn=[]),jn.unshift(Ve),Ve.revert(!0,!0)),Ve!==se[Ze]&&(cr--,Ze--);for(yt(we)&&(we=we(D)),we=xh(we,"start",D),B=Ph(we,p,Ue,C,Y(),Ce,M,D,ue,T,z,ke,E,D._startClamp&&"_startClamp")||(f?-.001:0),yt(he)&&(he=he(D)),Bt(he)&&!he.indexOf("+=")&&(~he.indexOf(" ")?he=(Bt(we)?we.split(" ")[0]:"")+he:(Te=ha(he.substr(2),Ue),he=Bt(we)?we:(E?q.utils.mapRange(0,E.duration(),E.scrollTrigger.start,E.scrollTrigger.end,B):B)+Te,tr=p)),he=xh(he,"end",D),Z=Math.max(B,Ph(he||(tr?"100% 0":ke),tr,Ue,C,Y()+Te,ze,kt,D,ue,T,z,ke,E,D._endClamp&&"_endClamp"))||-.001,Te=0,Ze=cr;Ze--;)Ve=se[Ze],fr=Ve.pin,fr&&Ve.start-Ve._pinPush<=B&&!E&&Ve.end>0&&(Qe=Ve.end-(D._startClamp?Math.max(0,Ve.start):Ve.start),(fr===p&&Ve.start-Ve._pinPush<B||fr===Pt)&&isNaN(we)&&(Te+=Qe*(1-Ve.progress)),fr===f&&(De+=Qe));if(B+=Te,Z+=Te,D._startClamp&&(D._startClamp+=Te),D._endClamp&&!Dt&&(D._endClamp=Z||-.001,Z=Math.min(Z,yr(F,C))),Le=Z-B||(B-=.01)&&.001,rt&&(I=q.utils.clamp(0,1,q.utils.normalize(B,Z,er))),D._pinPush=De,Ce&&Te&&(Qe={},Qe[C.a]="+="+Te,Pt&&(Qe[C.p]="-="+Y()),q.set([Ce,ze],Qe)),f&&!(Ul&&D.end>=yr(F,C)))Qe=Xt(f),hs=C===Ie,Ci=Y(),zt=parseFloat(Me(C.a))+De,!ke&&Z>1&&(dr=(H?xe.scrollingElement||sr:F).style,dr={style:dr,value:dr["overflow"+C.a.toUpperCase()]},H&&Xt(ve)["overflow"+C.a.toUpperCase()]!=="scroll"&&(dr.style["overflow"+C.a.toUpperCase()]="scroll")),Hl(f,Xe,Qe),an=ca(f),it=zr(f,!0),Ua=z&&Ir(F,hs?ut:Ie)(),_?(Re=[_+C.os2,Le+De+qe],Re.t=Xe,Ze=_===Be?ya(f,C)+Le+De:0,Ze&&(Re.push(C.d,Ze+qe),Xe.style.flexBasis!=="auto"&&(Xe.style.flexBasis=Ze+qe)),Pn(Re),Pt&&se.forEach(function(Zn){Zn.pin===Pt&&Zn.vars.pinSpacing!==!1&&(Zn._subPinOffset=!0)}),z&&Y(er)):(Ze=ya(f,C),Ze&&Xe.style.flexBasis!=="auto"&&(Xe.style.flexBasis=Ze+qe)),z&&(nt={top:it.top+(hs?Ci-B:Ua)+qe,left:it.left+(hs?Ua:Ci-B)+qe,boxSizing:"border-box",position:"fixed"},nt[$i]=nt["max"+Ln]=Math.ceil(it.width)+qe,nt[ji]=nt["max"+ec]=Math.ceil(it.height)+qe,nt[Yt]=nt[Yt+No]=nt[Yt+Lo]=nt[Yt+Io]=nt[Yt+Ro]="0",nt[Be]=Qe[Be],nt[Be+No]=Qe[Be+No],nt[Be+Lo]=Qe[Be+Lo],nt[Be+Io]=Qe[Be+Io],nt[Be+Ro]=Qe[Be+Ro],Ei=bv(jr,nt,b),Dt&&Y(0)),n?(kc=n._initted,Nl(1),n.render(n.duration(),!0,!0),Tr=Me(C.a)-zt+Le+De,Zr=Math.abs(Le-Tr)>1,z&&Zr&&Ei.splice(Ei.length-2,2),n.render(0,!0,!0),kc||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),Nl(0)):Tr=Le,dr&&(dr.value?dr.style["overflow"+C.a.toUpperCase()]=dr.value:dr.style.removeProperty("overflow-"+C.a));else if(p&&Y()&&!E)for(it=p.parentNode;it&&it!==ve;)it._pinOffset&&(B-=it._pinOffset,Z-=it._pinOffset),it=it.parentNode;jn&&jn.forEach(function(Zn){return Zn.revert(!1,!0)}),D.start=B,D.end=Z,Ke=Et=Dt?er:Y(),!E&&!Dt&&(Ke<er&&Y(er),D.scroll.rec=0),D.revert(!1,!0),G=ct(),Jt&&(U=-1,Jt.restart(!0)),lt=0,n&&O&&(n._initted||Si)&&n.progress()!==Si&&n.progress(Si||0,!0).render(n.time(),!0,!0),(rt||I!==D.progress||E||h)&&(n&&!O&&n.totalProgress(E&&B<-.001&&!I?q.utils.normalize(B,Z,0):I,!0),D.progress=rt||(Ke-B)/Le===I?0:I),f&&_&&(Xe._pinOffset=Math.round(D.progress*Tr)),ae&&ae.invalidate(),isNaN(Kn)||(Kn-=q.getProperty(M,C.p),ps-=q.getProperty(kt,C.p),fa(M,C,Kn),fa(Ce,C,Kn-(Q||0)),fa(kt,C,ps),fa(ze,C,ps-(Q||0))),rt&&!Dt&&D.update(),c&&!Dt&&!$r&&($r=!0,c(D),$r=!1)}},D.getVelocity=function(){return(Y()-Et)/(ct()-Ao)*1e3||0},D.endAnimation=function(){To(D.callbackAnimation),n&&(ae?ae.progress(1):n.paused()?O||To(n,D.direction<0,1):To(n,n.reversed()))},D.labelToScroll=function(W){return n&&n.labels&&(B||D.refresh()||B)+n.labels[W]/n.duration()*Le||0},D.getTrailing=function(W){var ee=se.indexOf(D),$=D.direction>0?se.slice(0,ee).reverse():se.slice(ee+1);return(Bt(W)?$.filter(function(Q){return Q.vars.preventOverlaps===W}):$).filter(function(Q){return D.direction>0?Q.end<=B:Q.start>=Z})},D.update=function(W,ee,$){if(!(E&&!$&&!W)){var Q=Dt===!0?er:D.scroll(),Ue=W?0:(Q-B)/Le,ue=Ue<0?0:Ue>1?1:Ue||0,ke=D.progress,rt,Te,De,he,tr,we,Pt,cr;if(ee&&(Et=Ke,Ke=E?Y():Q,w&&(bi=Qr,Qr=n&&!O?n.totalProgress():ue)),g&&f&&!lt&&!na&&Ut&&(!ue&&B<Q+(Q-Et)/(ct()-Ao)*g?ue=1e-4:ue===1&&Z>Q+(Q-Et)/(ct()-Ao)*g&&(ue=.9999)),ue!==ke&&D.enabled){if(rt=D.isActive=!!ue&&ue<1,Te=!!ke&&ke<1,we=rt!==Te,tr=we||!!ue!=!!ke,D.direction=ue>ke?1:-1,D.progress=ue,tr&&!lt&&(De=ue&&!ke?0:ue===1?1:ke===1?2:3,O&&(he=!we&&R[De+1]!=="none"&&R[De+1]||R[De],cr=n&&(he==="complete"||he==="reset"||he in n))),A&&(we||cr)&&(cr||d||!n)&&(yt(A)?A(D):D.getTrailing(A).forEach(function(Ci){return Ci.endAnimation()})),O||(ae&&!lt&&!na?(ae._dp._time-ae._start!==ae._time&&ae.render(ae._dp._time-ae._start),ae.resetTo?ae.resetTo("totalProgress",ue,n._tTime/n._tDur):(ae.vars.totalProgress=ue,ae.invalidate().restart())):n&&n.totalProgress(ue,!!(lt&&(G||W)))),f){if(W&&_&&(Xe.style[_+C.os2]=Gn),!z)Zt(Oo(zt+Tr*ue));else if(tr){if(Pt=!W&&ue>ke&&Z+1>Q&&Q+1>=yr(F,C),b)if(!W&&(rt||Pt)){var Ze=zr(f,!0),Qe=Q-B;Lh(f,ve,Ze.top+(C===Ie?Qe:0)+qe,Ze.left+(C===Ie?0:Qe)+qe)}else Lh(f,Xe);Pn(rt||Pt?Ei:an),Zr&&ue<1&&rt||Zt(zt+(ue===1&&!Pt?Tr:0))}}w&&!fe.tween&&!lt&&!na&&Jt.restart(!0),a&&(we||y&&ue&&(ue<1||!Il))&&zo(a.targets).forEach(function(Ci){return Ci.classList[rt||y?"add":"remove"](a.className)}),s&&!O&&!W&&s(D),tr&&!lt?(O&&(cr&&(he==="complete"?n.pause().totalProgress(1):he==="reset"?n.restart(!0).pause():he==="restart"?n.restart(!0):n[he]()),s&&s(D)),(we||!Il)&&(l&&we&&zl(D,l),P[De]&&zl(D,P[De]),y&&(ue===1?D.kill(!1,1):P[De]=0),we||(De=ue===1?1:3,P[De]&&zl(D,P[De]))),S&&!rt&&Math.abs(D.getVelocity())>(Mo(S)?S:2500)&&(To(D.callbackAnimation),ae?ae.progress(1):To(n,he==="reverse"?1:!ue,1))):O&&s&&!lt&&s(D)}if(un){var it=E?Q/E.duration()*(E._caScrollDist||0):Q;ds(it+(M._isFlipped?1:0)),un(it)}cn&&cn(-Q/E.duration()*(E._caScrollDist||0))}},D.enable=function(W,ee){D.enabled||(D.enabled=!0,je(F,"resize",ko),H||je(F,"scroll",Fn),L&&je(i,"refreshInit",L),W!==!1&&(D.progress=I=0,Ke=Et=U=Y()),ee!==!1&&D.refresh())},D.getTween=function(W){return W&&fe?fe.tween:ae},D.setPositions=function(W,ee,$,Q){if(E){var Ue=E.scrollTrigger,ue=E.duration(),ke=Ue.end-Ue.start;W=Ue.start+ke*W/ue,ee=Ue.start+ke*ee/ue}D.refresh(!1,!1,{start:Sh(W,$&&!!D._startClamp),end:Sh(ee,$&&!!D._endClamp)},Q),D.update()},D.adjustPinSpacing=function(W){if(Re&&W){var ee=Re.indexOf(C.d)+1;Re[ee]=parseFloat(Re[ee])+W+qe,Re[1]=parseFloat(Re[1])+W+qe,Pn(Re)}},D.disable=function(W,ee){if(D.enabled&&(W!==!1&&D.revert(!0,!0),D.enabled=D.isActive=!1,ee||ae&&ae.pause(),er=0,ie&&(ie.uncache=1),L&&$e(i,"refreshInit",L),Jt&&(Jt.pause(),fe.tween&&fe.tween.kill()&&(fe.tween=0)),!H)){for(var $=se.length;$--;)if(se[$].scroller===F&&se[$]!==D)return;$e(F,"resize",ko),H||$e(F,"scroll",Fn)}},D.kill=function(W,ee){D.disable(W,ee),ae&&!ee&&ae.kill(),u&&delete Gl[u];var $=se.indexOf(D);$>=0&&se.splice($,1),$===vt&&_a>0&&vt--,$=0,se.forEach(function(Q){return Q.scroller===D.scroller&&($=1)}),$||Dt||(D.scroll.rec=0),n&&(n.scrollTrigger=null,W&&n.revert({kill:!1}),ee||n.kill()),Ce&&[Ce,ze,M,kt].forEach(function(Q){return Q.parentNode&&Q.parentNode.removeChild(Q)}),Bo===D&&(Bo=0),f&&(ie&&(ie.uncache=1),$=0,se.forEach(function(Q){return Q.pin===f&&$++}),$||(ie.spacer=0)),r.onKill&&r.onKill(D)},se.push(D),D.enable(!1,!1),Ar&&Ar(D),n&&n.add&&!Le){var de=D.update;D.update=function(){D.update=de,B||Z||D.refresh()},q.delayedCall(.01,D.update),Le=.01,B=Z=0}else D.refresh();f&&yv()},i.register=function(r){return On||(q=r||Xh(),Yh()&&window.document&&i.enable(),On=Fo),On},i.defaults=function(r){if(r)for(var n in r)ua[n]=r[n];return ua},i.disable=function(r,n){Fo=0,se.forEach(function(s){return s[n?"kill":"disable"](r)}),$e(ce,"wheel",Fn),$e(xe,"scroll",Fn),clearInterval(ia),$e(xe,"touchcancel",Dr),$e(ve,"touchstart",Dr),sa($e,xe,"pointerdown,touchstart,mousedown",Ch),sa($e,xe,"pointerup,touchend,mouseup",Th),va.kill(),oa($e);for(var o=0;o<oe.length;o+=3)aa($e,oe[o],oe[o+1]),aa($e,oe[o],oe[o+2])},i.enable=function(){if(ce=window,xe=document,sr=xe.documentElement,ve=xe.body,q&&(zo=q.utils.toArray,Po=q.utils.clamp,Xl=q.core.context||Dr,Nl=q.core.suppressOverwrites||Dr,Kl=ce.history.scrollRestoration||"auto",$l=ce.pageYOffset,q.core.globals("ScrollTrigger",i),ve)){Fo=1,kn=document.createElement("div"),kn.style.height="100vh",kn.style.position="absolute",ep(),hv(),Oe.register(q),i.isTouch=Oe.isTouch,hi=Oe.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Yl=Oe.isTouch===1,je(ce,"wheel",Fn),zh=[ce,xe,sr,ve],q.matchMedia?(i.matchMedia=function(u){var l=q.matchMedia(),c;for(c in u)l.add(c,u[c]);return l},q.addEventListener("matchMediaInit",function(){return rc()}),q.addEventListener("matchMediaRevert",function(){return Qh()}),q.addEventListener("matchMedia",function(){Gi(0,1),Ji("matchMedia")}),q.matchMedia("(orientation: portrait)",function(){return Vl(),Vl})):console.warn("Requires GSAP 3.11.0 or later"),Vl(),je(xe,"scroll",Fn);var r=ve.style,n=r.borderTopStyle,o=q.core.Animation.prototype,s,a;for(o.revert||Object.defineProperty(o,"revert",{value:function(){return this.time(-.01,!0)}}),r.borderTopStyle="solid",s=zr(ve),Ie.m=Math.round(s.top+Ie.sc())||0,ut.m=Math.round(s.left+ut.sc())||0,n?r.borderTopStyle=n:r.removeProperty("border-top-style"),ia=setInterval(Oh,250),q.delayedCall(.5,function(){return na=0}),je(xe,"touchcancel",Dr),je(ve,"touchstart",Dr),sa(je,xe,"pointerdown,touchstart,mousedown",Ch),sa(je,xe,"pointerup,touchend,mouseup",Th),ql=q.utils.checkPrefix("transform"),ga.push(ql),On=ct(),va=q.delayedCall(.2,Gi).pause(),Mn=[xe,"visibilitychange",function(){var u=ce.innerWidth,l=ce.innerHeight;xe.hidden?(Eh=u,bh=l):(Eh!==u||bh!==l)&&ko()},xe,"DOMContentLoaded",Gi,ce,"load",Gi,ce,"resize",ko],oa(je),se.forEach(function(u){return u.enable(0,1)}),a=0;a<oe.length;a+=3)aa($e,oe[a],oe[a+1]),aa($e,oe[a],oe[a+2])}},i.config=function(r){"limitCallbacks"in r&&(Il=!!r.limitCallbacks);var n=r.syncInterval;n&&clearInterval(ia)||(ia=n)&&setInterval(Oh,n),"ignoreMobileResize"in r&&(Yl=i.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(oa($e)||oa(je,r.autoRefreshEvents||"none"),Hh=(r.autoRefreshEvents+"").indexOf("resize")===-1)},i.scrollerProxy=function(r,n){var o=gt(r),s=oe.indexOf(o),a=Zi(o);~s&&oe.splice(s,a?6:2),n&&(a?or.unshift(ce,n,ve,n,sr,n):or.unshift(o,n))},i.clearMatchMedia=function(r){se.forEach(function(n){return n._ctx&&n._ctx.query===r&&n._ctx.kill(!0,!0)})},i.isInViewport=function(r,n,o){var s=(Bt(r)?gt(r):r).getBoundingClientRect(),a=s[o?$i:ji]*n||0;return o?s.right-a>0&&s.left+a<ce.innerWidth:s.bottom-a>0&&s.top+a<ce.innerHeight},i.positionInViewport=function(r,n,o){Bt(r)&&(r=gt(r));var s=r.getBoundingClientRect(),a=s[o?$i:ji],u=n==null?a/2:n in wa?wa[n]*a:~n.indexOf("%")?parseFloat(n)*a/100:parseFloat(n)||0;return o?(s.left+u)/ce.innerWidth:(s.top+u)/ce.innerHeight},i.killAll=function(r){if(se.slice(0).forEach(function(o){return o.vars.id!=="ScrollSmoother"&&o.kill()}),r!==!0){var n=Qi.killAll||[];Qi={},n.forEach(function(o){return o()})}},i}();j.version="3.12.5";j.saveStyles=function(i){return i?zo(i).forEach(function(e){if(e&&e.style){var t=It.indexOf(e);t>=0&&It.splice(t,5),It.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),q.core.getCache(e),Xl())}}):It};j.revert=function(i,e){return rc(!i,e)};j.create=function(i,e){return new j(i,e)};j.refresh=function(i){return i?ko():(On||j.register())&&Gi(!0)};j.update=function(i){return++oe.cache&&Vr(i===!0?2:0)};j.clearScrollMemory=Jh;j.maxScroll=function(i,e){return yr(i,e?ut:Ie)};j.getScrollFunc=function(i,e){return Ir(gt(i),e?ut:Ie)};j.getById=function(i){return Gl[i]};j.getAll=function(){return se.filter(function(i){return i.vars.id!=="ScrollSmoother"})};j.isScrolling=function(){return!!Ut};j.snapDirectional=tc;j.addEventListener=function(i,e){var t=Qi[i]||(Qi[i]=[]);~t.indexOf(e)||t.push(e)};j.removeEventListener=function(i,e){var t=Qi[i],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)};j.batch=function(i,e){var t=[],r={},n=e.interval||.016,o=e.batchMax||1e9,s=function(l,c){var d=[],p=[],f=q.delayedCall(n,function(){c(d,p),d=[],p=[]}).pause();return function(_){d.length||f.restart(!0),d.push(_.trigger),p.push(_),o<=d.length&&f.progress(1)}},a;for(a in e)r[a]=a.substr(0,2)==="on"&&yt(e[a])&&a!=="onRefreshInit"?s(a,e[a]):e[a];return yt(o)&&(o=o(),je(j,"refresh",function(){return o=e.batchMax()})),zo(i).forEach(function(u){var l={};for(a in r)l[a]=r[a];l.trigger=u,t.push(j.create(l))}),t};var Nh=function(e,t,r,n){return t>n?e(n):t<0&&e(0),r>n?(n-t)/(r-t):r<0?t/(t-r):1},Wl=function i(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(Oe.isTouch?" pinch-zoom":""):"none",e===sr&&i(ve,t)},da={auto:1,scroll:1},Sv=function(e){var t=e.event,r=e.target,n=e.axis,o=(t.changedTouches?t.changedTouches[0]:t).target,s=o._gsap||q.core.getCache(o),a=ct(),u;if(!s._isScrollT||a-s._isScrollT>2e3){for(;o&&o!==ve&&(o.scrollHeight<=o.clientHeight&&o.scrollWidth<=o.clientWidth||!(da[(u=Xt(o)).overflowY]||da[u.overflowX]));)o=o.parentNode;s._isScroll=o&&o!==r&&!Zi(o)&&(da[(u=Xt(o)).overflowY]||da[u.overflowX]),s._isScrollT=a}(s._isScroll||n==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},rp=function(e,t,r,n){return Oe.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&Sv,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&je(xe,Oe.eventTypes[0],Bh,!1,!0)},onDisable:function(){return $e(xe,Oe.eventTypes[0],Bh,!0)}})},Cv=/(input|label|select|textarea)/i,Ih,Bh=function(e){var t=Cv.test(e.target.tagName);(t||Ih)&&(e._gsapAllow=!0,Ih=t)},Tv=function(e){Ui(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t=e,r=t.normalizeScrollX,n=t.momentum,o=t.allowNestedScroll,s=t.onRelease,a,u,l=gt(e.target)||sr,c=q.core.globals().ScrollSmoother,d=c&&c.get(),p=hi&&(e.content&>(e.content)||d&&e.content!==!1&&!d.smooth()&&d.content()),f=Ir(l,Ie),_=Ir(l,ut),h=1,g=(Oe.isTouch&&ce.visualViewport?ce.visualViewport.scale*ce.visualViewport.width:ce.outerWidth)/ce.innerWidth,m=0,v=yt(n)?function(){return n(a)}:function(){return n||2.8},y,w,b=rp(l,e.type,!0,o),x=function(){return w=!1},E=Dr,S=Dr,A=function(){u=yr(l,Ie),S=Po(hi?1:0,u),r&&(E=Po(0,yr(l,ut))),y=Ki},C=function(){p._gsap.y=Oo(parseFloat(p._gsap.y)+f.offset)+"px",p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(p._gsap.y)+", 0, 1)",f.offset=f.cacheID=0},O=function(){if(w){requestAnimationFrame(x);var N=Oo(a.deltaY/2),T=S(f.v-N);if(p&&T!==f.v+f.offset){f.offset=T-f.v;var D=Oo((parseFloat(p&&p._gsap.y)||0)-f.offset);p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+D+", 0, 1)",p._gsap.y=D+"px",f.cacheID=oe.cache,Vr()}return!0}f.offset&&C(),w=!0},F,k,H,z,P=function(){A(),F.isActive()&&F.vars.scrollY>u&&(f()>u?F.progress(1)&&f(u):F.resetTo("scrollY",u))};return p&&q.set(p,{y:"+=0"}),e.ignoreCheck=function(R){return hi&&R.type==="touchmove"&&O(R)||h>1.05&&R.type!=="touchstart"||a.isGesturing||R.touches&&R.touches.length>1},e.onPress=function(){w=!1;var R=h;h=Oo((ce.visualViewport&&ce.visualViewport.scale||1)/g),F.pause(),R!==h&&Wl(l,h>1.01?!0:r?!1:"x"),k=_(),H=f(),A(),y=Ki},e.onRelease=e.onGestureStart=function(R,N){if(f.offset&&C(),!N)z.restart(!0);else{oe.cache++;var T=v(),D,L;r&&(D=_(),L=D+T*.05*-R.velocityX/.227,T*=Nh(_,D,L,yr(l,ut)),F.vars.scrollX=E(L)),D=f(),L=D+T*.05*-R.velocityY/.227,T*=Nh(f,D,L,yr(l,Ie)),F.vars.scrollY=S(L),F.invalidate().duration(T).play(.01),(hi&&F.vars.scrollY>=u||D>=u-1)&&q.to({},{onUpdate:P,duration:T})}s&&s(R)},e.onWheel=function(){F._ts&&F.pause(),ct()-m>1e3&&(y=0,m=ct())},e.onChange=function(R,N,T,D,L){if(Ki!==y&&A(),N&&r&&_(E(D[2]===N?k+(R.startX-R.x):_()+N-D[1])),T){f.offset&&C();var X=L[2]===T,te=X?H+R.startY-R.y:f()+T-L[1],U=S(te);X&&te!==U&&(H+=U-te),f(U)}(T||N)&&Vr()},e.onEnable=function(){Wl(l,r?!1:"x"),j.addEventListener("refresh",P),je(ce,"resize",P),f.smooth&&(f.target.style.scrollBehavior="auto",f.smooth=_.smooth=!1),b.enable()},e.onDisable=function(){Wl(l,!0),$e(ce,"resize",P),j.removeEventListener("refresh",P),b.kill()},e.lockAxis=e.lockAxis!==!1,a=new Oe(e),a.iOS=hi,hi&&!f()&&f(1),hi&&q.ticker.add(Dr),z=a._dc,F=q.to(a,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:tp(f,f(),function(){return F.pause()})},onUpdate:Vr,onComplete:z.vars.onComplete}),a};j.sort=function(i){return se.sort(i||function(e,t){return(e.vars.refreshPriority||0)*-1e6+e.start-(t.start+(t.vars.refreshPriority||0)*-1e6)})};j.observe=function(i){return new Oe(i)};j.normalizeScroll=function(i){if(typeof i>"u")return mt;if(i===!0&&mt)return mt.enable();if(i===!1){mt&&mt.kill(),mt=i;return}var e=i instanceof Oe?i:Tv(i);return mt&&mt.target===e.target&&mt.kill(),Zi(e.target)&&(mt=e),e};j.core={_getVelocityProp:ra,_inputObserver:rp,_scrollers:oe,_proxies:or,bridge:{ss:function(){Ut||Ji("scrollStart"),Ut=ct()},ref:function(){return lt}}};Xh()&&q.registerPlugin(j);var wt,sp,Hr,wr,pi,ap,up,ba,lp=function(){return typeof window<"u"},cp=function(){return wt||lp()&&(wt=window.gsap)&&wt.registerPlugin&&wt},fp=function(e){return typeof e=="string"},ip=function(e){return typeof e=="function"},Ho=function(e,t){var r=t==="x"?"Width":"Height",n="scroll"+r,o="client"+r;return e===Hr||e===wr||e===pi?Math.max(wr[n],pi[n])-(Hr["inner"+r]||wr[o]||pi[o]):e[n]-e["offset"+r]},Wo=function(e,t){var r="scroll"+(t==="x"?"Left":"Top");return e===Hr&&(e.pageXOffset!=null?r="page"+t.toUpperCase()+"Offset":e=wr[r]!=null?wr:pi),function(){return e[r]}},Av=function(e,t,r,n){if(ip(e)&&(e=e(t,r,n)),typeof e!="object")return fp(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"&&ip(e[s])?e[s](t,r,n):e[s];return o},dp=function(e,t){if(e=ap(e)[0],!e||!e.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var r=e.getBoundingClientRect(),n=!t||t===Hr||t===pi,o=n?{top:wr.clientTop-(Hr.pageYOffset||wr.scrollTop||pi.scrollTop||0),left:wr.clientLeft-(Hr.pageXOffset||wr.scrollLeft||pi.scrollLeft||0)}:t.getBoundingClientRect(),s={x:r.left-o.left,y:r.top-o.top};return!n&&t&&(s.x+=Wo(t,"x")(),s.y+=Wo(t,"y")()),s},np=function(e,t,r,n,o){return!isNaN(e)&&typeof e!="object"?parseFloat(e)-o:fp(e)&&e.charAt(1)==="="?parseFloat(e.substr(2))*(e.charAt(0)==="-"?-1:1)+n-o:e==="max"?Ho(t,r)-o:Math.min(Ho(t,r),dp(e,t)[r]-o)},op=function(){wt=cp(),lp()&&wt&&typeof document<"u"&&document.body&&(Hr=window,pi=document.body,wr=document.documentElement,ap=wt.utils.toArray,wt.config({autoKillThreshold:7}),up=wt.config(),sp=1)},Rn={version:"3.12.5",name:"scrollTo",rawVars:1,register:function(e){wt=e,op()},init:function(e,t,r,n,o){sp||op();var s=this,a=wt.getProperty(e,"scrollSnapType");s.isWin=e===Hr,s.target=e,s.tween=r,t=Av(t,n,e,o),s.vars=t,s.autoKill=!!t.autoKill,s.getX=Wo(e,"x"),s.getY=Wo(e,"y"),s.x=s.xPrev=s.getX(),s.y=s.yPrev=s.getY(),ba||(ba=wt.core.globals().ScrollTrigger),wt.getProperty(e,"scrollBehavior")==="smooth"&&wt.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,np(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,np(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 r=t._pt,n=t.target,o=t.tween,s=t.autoKill,a=t.xPrev,u=t.yPrev,l=t.isWin,c=t.snap,d=t.snapInline,p,f,_,h,g;r;)r.r(e,r.d),r=r._next;p=l||!t.skipX?t.getX():a,f=l||!t.skipY?t.getY():u,_=f-u,h=p-a,g=up.autoKillThreshold,t.x<0&&(t.x=0),t.y<0&&(t.y=0),s&&(!t.skipX&&(h>g||h<-g)&&p<Ho(n,"x")&&(t.skipX=1),!t.skipY&&(_>g||_<-g)&&f<Ho(n,"y")&&(t.skipY=1),t.skipX&&t.skipY&&(o.kill(),t.vars.onAutoKill&&t.vars.onAutoKill.apply(o,t.vars.onAutoKillParams||[]))),l?Hr.scrollTo(t.skipX?p: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,p=n.scrollLeft,d?n.style.scrollSnapType=d:n.style.removeProperty("scroll-snap-type"),n.scrollTop=f+1,n.scrollLeft=p+1,n.scrollTop=f,n.scrollLeft=p),t.xPrev=t.x,t.yPrev=t.y,ba&&ba.update()},kill:function(e){var t=e==="scrollTo",r=this._props.indexOf(e);return(t||e==="scrollTo_x")&&(this.skipX=1),(t||e==="scrollTo_y")&&(this.skipY=1),r>-1&&this._props.splice(r,1),!this._props.length}};Rn.max=Ho;Rn.getOffset=dp;Rn.buildGetter=Wo;cp()&&wt.registerPlugin(Rn);var Fv=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig;var Ov=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig;var Mv=Math.PI/180,Uy=180/Math.PI,xa=Math.sin,Sa=Math.cos,Yo=Math.abs,qo=Math.sqrt;var kv=function(e){return typeof e=="number"};var hp=1e5;var _i=function(e){return Math.round(e*hp)/hp||0};function pp(i,e,t,r,n,o,s){for(var a=i.length,u,l,c,d,p;--a>-1;)for(u=i[a],l=u.length,c=0;c<l;c+=2)d=u[c],p=u[c+1],u[c]=d*e+p*r+o,u[c+1]=d*t+p*n+s;return i._dirty=1,i}function Pv(i,e,t,r,n,o,s,a,u){if(!(i===a&&e===u)){t=Yo(t),r=Yo(r);var l=n%360*Mv,c=Sa(l),d=xa(l),p=Math.PI,f=p*2,_=(i-a)/2,h=(e-u)/2,g=c*_+d*h,m=-d*_+c*h,v=g*g,y=m*m,w=v/(t*t)+y/(r*r);w>1&&(t=qo(w)*t,r=qo(w)*r);var b=t*t,x=r*r,E=(b*x-b*y-x*v)/(b*y+x*v);E<0&&(E=0);var S=(o===s?-1:1)*qo(E),A=S*(t*m/r),C=S*-(r*g/t),O=(i+a)/2,F=(e+u)/2,k=O+(c*A-d*C),H=F+(d*A+c*C),z=(g-A)/t,P=(m-C)/r,R=(-g-A)/t,N=(-m-C)/r,T=z*z+P*P,D=(P<0?-1:1)*Math.acos(z/qo(T)),L=(z*N-P*R<0?-1:1)*Math.acos((z*R+P*N)/qo(T*(R*R+N*N)));isNaN(L)&&(L=p),!s&&L>0?L-=f:s&&L<0&&(L+=f),D%=f,L%=f;var X=Math.ceil(Yo(L)/(f/4)),te=[],U=L/X,G=4/3*xa(U/2)/(1+Sa(U/2)),I=c*t,Y=d*t,fe=d*-r,ie=c*r,ne;for(ne=0;ne<X;ne++)n=D+ne*U,g=Sa(n),m=xa(n),z=Sa(n+=U),P=xa(n),te.push(g-G*m,m+G*g,z+G*P,P-G*z,z,P);for(ne=0;ne<te.length;ne+=2)g=te[ne],m=te[ne+1],te[ne]=g*I+m*fe+k,te[ne+1]=g*Y+m*ie+H;return te[ne-2]=a,te[ne-1]=u,te}}function _p(i){var e=(i+"").replace(Ov,function(A){var C=+A;return C<1e-4&&C>-1e-4?0:C}).match(Fv)||[],t=[],r=0,n=0,o=2/3,s=e.length,a=0,u="ERROR: malformed path: "+i,l,c,d,p,f,_,h,g,m,v,y,w,b,x,E,S=function(C,O,F,k){v=(F-C)/3,y=(k-O)/3,h.push(C+v,O+y,F-v,k-y,F,k)};if(!i||!isNaN(e[0])||isNaN(e[1]))return console.log(u),t;for(l=0;l<s;l++)if(b=f,isNaN(e[l])?(f=e[l].toUpperCase(),_=f!==e[l]):l--,d=+e[l+1],p=+e[l+2],_&&(d+=r,p+=n),l||(g=d,m=p),f==="M")h&&(h.length<8?t.length-=1:a+=h.length),r=g=d,n=m=p,h=[d,p],t.push(h),l+=2,f="L";else if(f==="C")h||(h=[0,0]),_||(r=n=0),h.push(d,p,r+e[l+3]*1,n+e[l+4]*1,r+=e[l+5]*1,n+=e[l+6]*1),l+=6;else if(f==="S")v=r,y=n,(b==="C"||b==="S")&&(v+=r-h[h.length-4],y+=n-h[h.length-3]),_||(r=n=0),h.push(v,y,d,p,r+=e[l+3]*1,n+=e[l+4]*1),l+=4;else if(f==="Q")v=r+(d-r)*o,y=n+(p-n)*o,_||(r=n=0),r+=e[l+3]*1,n+=e[l+4]*1,h.push(v,y,r+(d-r)*o,n+(p-n)*o,r,n),l+=4;else if(f==="T")v=r-h[h.length-4],y=n-h[h.length-3],h.push(r+v,n+y,d+(r+v*1.5-d)*o,p+(n+y*1.5-p)*o,r=d,n=p),l+=2;else if(f==="H")S(r,n,r=d,n),l+=1;else if(f==="V")S(r,n,r,n=d+(_?n-r:0)),l+=1;else if(f==="L"||f==="Z")f==="Z"&&(d=g,p=m,h.closed=!0),(f==="L"||Yo(r-d)>.5||Yo(n-p)>.5)&&(S(r,n,d,p),f==="L"&&(l+=2)),r=d,n=p;else if(f==="A"){if(x=e[l+4],E=e[l+5],v=e[l+6],y=e[l+7],c=7,x.length>1&&(x.length<3?(y=v,v=E,c--):(y=E,v=x.substr(2),c-=2),E=x.charAt(1),x=x.charAt(0)),w=Pv(r,n,+e[l+1],+e[l+2],+e[l+3],+x,+E,(_?r:0)+v*1,(_?n:0)+y*1),l+=c,w)for(c=0;c<w.length;c++)h.push(w[c]);r=h[h.length-2],n=h[h.length-1]}else console.log(u);return l=h.length,l<6?(t.pop(),l=0):h[0]===h[l-2]&&h[1]===h[l-1]&&(h.closed=!0),t.totalPoints=a+l,t}function gp(i){kv(i[0])&&(i=[i]);var e="",t=i.length,r,n,o,s;for(n=0;n<t;n++){for(s=i[n],e+="M"+_i(s[0])+","+_i(s[1])+" C",r=s.length,o=2;o<r;o++)e+=_i(s[o++])+","+_i(s[o++])+" "+_i(s[o++])+","+_i(s[o++])+" "+_i(s[o++])+","+_i(s[o])+" ";s.closed&&(e+="z")}return e}var At,vp,Dp=function(){return At||typeof window<"u"&&(At=window.gsap)&&At.registerPlugin&&At},mp=function(){At=Dp(),At?(At.registerEase("_CE",en.create),vp=1):console.warn("Please gsap.registerPlugin(CustomEase)")},Lv=1e20,Ca=function(e){return~~(e*1e3+(e<0?-.5:.5))/1e3},Rv=1,Nv=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/gi,Iv=/[cLlsSaAhHvVtTqQ]/g,Bv=function(e){var t=e.length,r=Lv,n;for(n=1;n<t;n+=6)+e[n]<r&&(r=+e[n]);return r},zv=function(e,t,r){!r&&r!==0&&(r=Math.max(+e[e.length-1],+e[1]));var n=+e[0]*-1,o=-r,s=e.length,a=1/(+e[s-2]+n),u=-t||(Math.abs(+e[s-1]-+e[1])<.01*(+e[s-2]-+e[0])?Bv(e)+o:+e[s-1]+o),l;for(u?u=1/u:u=-a,l=0;l<s;l+=2)e[l]=(+e[l]+n)*a,e[l+1]=(+e[l+1]+o)*u},Vv=function i(e,t,r,n,o,s,a,u,l,c,d){var p=(e+r)/2,f=(t+n)/2,_=(r+o)/2,h=(n+s)/2,g=(o+a)/2,m=(s+u)/2,v=(p+_)/2,y=(f+h)/2,w=(_+g)/2,b=(h+m)/2,x=(v+w)/2,E=(y+b)/2,S=a-e,A=u-t,C=Math.abs((r-a)*A-(n-u)*S),O=Math.abs((o-a)*A-(s-u)*S),F;return c||(c=[{x:e,y:t},{x:a,y:u}],d=1),c.splice(d||c.length-1,0,{x,y:E}),(C+O)*(C+O)>l*(S*S+A*A)&&(F=c.length,i(e,t,p,f,v,y,x,E,l,c,d),i(x,E,w,b,g,m,a,u,l,c,d+1+(c.length-F))),c},en=function(){function i(t,r,n){vp||mp(),this.id=t,Rv&&this.setData(r,n)}var e=i.prototype;return e.setData=function(r,n){n=n||{},r=r||"0,0,1,1";var o=r.match(Nv),s=1,a=[],u=[],l=n.precision||1,c=l<=1,d,p,f,_,h,g,m,v,y;if(this.data=r,(Iv.test(r)||~r.indexOf("M")&&r.indexOf("C")<0)&&(o=_p(r)[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)&&zv(o,n.height,n.originY),this.segment=o,_=2;_<d;_+=6)p={x:+o[_-2],y:+o[_-1]},f={x:+o[_+4],y:+o[_+5]},a.push(p,f),Vv(p.x,p.y,+o[_],+o[_+1],+o[_+2],+o[_+3],f.x,f.y,1/(l*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,h=1/d,g=0,m=a[0],c){for(_=0;_<d;_++)y=_*h,m.nx<y&&(m=a[++g]),p=m.y+(y-m.x)/m.cx*m.cy,u[_]={x:y,cx:h,y:p,cy:0,nx:9},_&&(u[_-1].cy=p-u[_-1].y);u[d-1].cy=a[a.length-1].y-p}else{for(_=0;_<d;_++)m.nx<_*h&&(m=a[++g]),u[_]=m;g<a.length-1&&(u[_-1]=a[a.length-2])}return this.ease=function(w){var b=u[w*d|0]||u[d-1];return b.nx<w&&(b=b.n),b.y+(w-b.x)/b.cx*b.cy},this.ease.custom=this,this.id&&At&&At.registerEase(this.id,this.ease),this},e.getSVGData=function(r){return i.getSVGData(this,r)},i.create=function(r,n,o){return new i(r,n,o).ease},i.register=function(r){At=r,mp()},i.get=function(r){return At.parseEase(r)},i.getSVGData=function(r,n){n=n||{};var o=n.width||100,s=n.height||100,a=n.x||0,u=(n.y||0)+s,l=At.utils.toArray(n.path)[0],c,d,p,f,_,h,g,m,v,y;if(n.invert&&(s=-s,u=0),typeof r=="string"&&(r=At.parseEase(r)),r.custom&&(r=r.custom),r instanceof i)c=gp(pp([r.segment],o,0,0,-s,a,u));else{for(c=[a,u],g=Math.max(5,(n.precision||1)*200),f=1/g,g+=2,m=5/g,v=Ca(a+f*o),y=Ca(u+r(f)*-s),d=(y-u)/(v-a),p=2;p<g;p++)_=Ca(a+p*f*o),h=Ca(u+r(p*f)*-s),(Math.abs((h-y)/(_-v)-d)>m||p===g-1)&&(c.push(v,y),d=(h-y)/(_-v)),v=_,y=h;c="M"+c.join(",")}return l&&l.setAttribute("d",c),c},i}();Dp()&&At.registerPlugin(en);en.version="3.12.5";var yp=/([\uD800-\uDBFF][\uDC00-\uDFFF](?:[\u200D\uFE0F][\uD800-\uDBFF][\uDC00-\uDFFF]){2,}|\uD83D\uDC69(?:\u200D(?:(?:\uD83D\uDC69\u200D)?\uD83D\uDC67|(?:\uD83D\uDC69\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]\uFE0F|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC6F\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3C-\uDD3E\uDDD6-\uDDDF])\u200D[\u2640\u2642]\uFE0F|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F\u200D[\u2640\u2642]|(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642])\uFE0F|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\uD83D\uDC69\u200D[\u2695\u2696\u2708]|\uD83D\uDC68(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708]))\uFE0F|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83D\uDC69\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|\uD83D\uDC68(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]))|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDD1-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\u200D(?:(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDD1-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])?|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDEEB\uDEEC\uDEF4-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267B\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])\uFE0F)/;function ic(i){var e=i.nodeType,t="";if(e===1||e===9||e===11){if(typeof i.textContent=="string")return i.textContent;for(i=i.firstChild;i;i=i.nextSibling)t+=ic(i)}else if(e===3||e===4)return i.nodeValue;return t}var Nn,oc,bp,Xo,xp,Ta,Hv=/(?:\r|\n|\t\t)/g,Wv=/(?:\s\s+)/g,qv=String.fromCharCode(160),Sp=function(e){Nn=document,oc=window,Xo=Xo||e||oc.gsap||console.warn("Please gsap.registerPlugin(SplitText)"),Xo&&(Ta=Xo.utils.toArray,xp=Xo.core.context||function(){},bp=1)},Yv=1,Cp=function(e){return oc.getComputedStyle(e)},sc=function(e){return e.position==="absolute"||e.absolute===!0},Xv=function(e,t){for(var r=t.length,n;--r>-1;)if(n=t[r],e.substr(0,n.length)===n)return n.length},Uv=" style='position:relative;display:inline-block;'",wp=function(e,t){e===void 0&&(e="");var r=~e.indexOf("++"),n=1;return r&&(e=e.split("++").join("")),function(){return"<"+t+Uv+(e?" class='"+e+(r?n++:"")+"'>":">")}},Tp=function i(e,t,r){var n=e.nodeType;if(n===1||n===9||n===11)for(e=e.firstChild;e;e=e.nextSibling)i(e,t,r);else(n===3||n===4)&&(e.nodeValue=e.nodeValue.split(t).join(r))},nc=function(e,t){for(var r=t.length;--r>-1;)e.push(t[r])},Ep=function(e,t,r){for(var n;e&&e!==t;){if(n=e._next||e.nextSibling,n)return n.textContent.charAt(0)===r;e=e.parentNode||e._parent}},Gv=function i(e){var t=Ta(e.childNodes),r=t.length,n,o;for(n=0;n<r;n++)o=t[n],o._isSplit?i(o):n&&o.previousSibling&&o.previousSibling.nodeType===3?(o.previousSibling.nodeValue+=o.nodeType===3?o.nodeValue:o.firstChild.nodeValue,e.removeChild(o)):o.nodeType!==3&&(e.insertBefore(o.firstChild,o),e.removeChild(o))},Er=function(e,t){return parseFloat(t[e])||0},$v=function(e,t,r,n,o,s,a){var u=Cp(e),l=Er("paddingLeft",u),c=-999,d=Er("borderBottomWidth",u)+Er("borderTopWidth",u),p=Er("borderLeftWidth",u)+Er("borderRightWidth",u),f=Er("paddingTop",u)+Er("paddingBottom",u),_=Er("paddingLeft",u)+Er("paddingRight",u),h=Er("fontSize",u)*(t.lineThreshold||.2),g=u.textAlign,m=[],v=[],y=[],w=t.wordDelimiter||" ",b=t.tag?t.tag:t.span?"span":"div",x=t.type||t.split||"chars,words,lines",E=o&&~x.indexOf("lines")?[]:null,S=~x.indexOf("words"),A=~x.indexOf("chars"),C=sc(t),O=t.linesClass,F=~(O||"").indexOf("++"),k=[],H=u.display==="flex",z=e.style.display,P,R,N,T,D,L,X,te,U,G,I,Y;for(F&&(O=O.split("++").join("")),H&&(e.style.display="block"),R=e.getElementsByTagName("*"),N=R.length,D=[],P=0;P<N;P++)D[P]=R[P];if(E||C)for(P=0;P<N;P++)T=D[P],L=T.parentNode===e,(L||C||A&&!S)&&(Y=T.offsetTop,E&&L&&Math.abs(Y-c)>h&&(T.nodeName!=="BR"||P===0)&&(X=[],E.push(X),c=Y),C&&(T._x=T.offsetLeft,T._y=Y,T._w=T.offsetWidth,T._h=T.offsetHeight),E&&((T._isSplit&&L||!A&&L||S&&L||!S&&T.parentNode.parentNode===e&&!T.parentNode._isSplit)&&(X.push(T),T._x-=l,Ep(T,e,w)&&(T._wordEnd=!0)),T.nodeName==="BR"&&(T.nextSibling&&T.nextSibling.nodeName==="BR"||P===0)&&E.push([])));for(P=0;P<N;P++){if(T=D[P],L=T.parentNode===e,T.nodeName==="BR"){E||C?(T.parentNode&&T.parentNode.removeChild(T),D.splice(P--,1),N--):S||e.appendChild(T);continue}if(C&&(U=T.style,!S&&!L&&(T._x+=T.parentNode._x,T._y+=T.parentNode._y),U.left=T._x+"px",U.top=T._y+"px",U.position="absolute",U.display="block",U.width=T._w+1+"px",U.height=T._h+"px"),!S&&A)if(T._isSplit)for(T._next=R=T.nextSibling,T.parentNode.appendChild(T);R&&R.nodeType===3&&R.textContent===" ";)T._next=R.nextSibling,T.parentNode.appendChild(R),R=R.nextSibling;else T.parentNode._isSplit?(T._parent=T.parentNode,!T.previousSibling&&T.firstChild&&(T.firstChild._isFirst=!0),T.nextSibling&&T.nextSibling.textContent===" "&&!T.nextSibling.nextSibling&&k.push(T.nextSibling),T._next=T.nextSibling&&T.nextSibling._isFirst?null:T.nextSibling,T.parentNode.removeChild(T),D.splice(P--,1),N--):L||(Y=!T.nextSibling&&Ep(T.parentNode,e,w),T.parentNode._parent&&T.parentNode._parent.appendChild(T),Y&&T.parentNode.appendChild(Nn.createTextNode(" ")),b==="span"&&(T.style.display="inline"),m.push(T));else T.parentNode._isSplit&&!T._isSplit&&T.innerHTML!==""?v.push(T):A&&!T._isSplit&&(b==="span"&&(T.style.display="inline"),m.push(T))}for(P=k.length;--P>-1;)k[P].parentNode.removeChild(k[P]);if(E){for(C&&(G=Nn.createElement(b),e.appendChild(G),I=G.offsetWidth+"px",Y=G.offsetParent===e?0:e.offsetLeft,e.removeChild(G)),U=e.style.cssText,e.style.cssText="display:none;";e.firstChild;)e.removeChild(e.firstChild);for(te=w===" "&&(!C||!S&&!A),P=0;P<E.length;P++){for(X=E[P],G=Nn.createElement(b),G.style.cssText="display:block;text-align:"+g+";position:"+(C?"absolute;":"relative;"),O&&(G.className=O+(F?P+1:"")),y.push(G),N=X.length,R=0;R<N;R++)X[R].nodeName!=="BR"&&(T=X[R],G.appendChild(T),te&&T._wordEnd&&G.appendChild(Nn.createTextNode(" ")),C&&(R===0&&(G.style.top=T._y+"px",G.style.left=l+Y+"px"),T.style.top="0px",Y&&(T.style.left=T._x-Y+"px")));N===0?G.innerHTML=" ":!S&&!A&&(Gv(G),Tp(G,String.fromCharCode(160)," ")),C&&(G.style.width=I,G.style.height=T._h+"px"),e.appendChild(G)}e.style.cssText=U}C&&(a>e.clientHeight&&(e.style.height=a-f+"px",e.clientHeight<a&&(e.style.height=a+d+"px")),s>e.clientWidth&&(e.style.width=s-_+"px",e.clientWidth<s&&(e.style.width=s+p+"px"))),H&&(z?e.style.display=z:e.style.removeProperty("display")),nc(r,m),S&&nc(n,v),nc(o,y)},jv=function(e,t,r,n){var o=t.tag?t.tag:t.span?"span":"div",s=t.type||t.split||"chars,words,lines",a=~s.indexOf("chars"),u=sc(t),l=t.wordDelimiter||" ",c=function(C){return C===l||C===qv&&l===" "},d=l!==" "?"":u?"­ ":" ",p="</"+o+">",f=1,_=t.specialChars?typeof t.specialChars=="function"?t.specialChars:Xv:null,h,g,m,v,y,w,b,x,E=Nn.createElement("div"),S=e.parentNode;for(S.insertBefore(E,e),E.textContent=e.nodeValue,S.removeChild(e),e=E,h=ic(e),b=h.indexOf("<")!==-1,t.reduceWhiteSpace!==!1&&(h=h.replace(Wv," ").replace(Hv,"")),b&&(h=h.split("<").join("{{LT}}")),y=h.length,g=(h.charAt(0)===" "?d:"")+r(),m=0;m<y;m++)if(w=h.charAt(m),_&&(x=_(h.substr(m),t.specialChars)))w=h.substr(m,x||1),g+=a&&w!==" "?n()+w+"</"+o+">":w,m+=x-1;else if(c(w)&&!c(h.charAt(m-1))&&m){for(g+=f?p:"",f=0;c(h.charAt(m+1));)g+=d,m++;m===y-1?g+=d:h.charAt(m+1)!==")"&&(g+=d+r(),f=1)}else w==="{"&&h.substr(m,6)==="{{LT}}"?(g+=a?n()+"{{LT}}</"+o+">":"{{LT}}",m+=5):w.charCodeAt(0)>=55296&&w.charCodeAt(0)<=56319||h.charCodeAt(m+1)>=65024&&h.charCodeAt(m+1)<=65039?(v=((h.substr(m,12).split(yp)||[])[1]||"").length||2,g+=a&&w!==" "?n()+h.substr(m,v)+"</"+o+">":h.substr(m,v),m+=v-1):g+=a&&w!==" "?n()+w+"</"+o+">":w;e.outerHTML=g+(f?p:""),b&&Tp(S,"{{LT}}","<")},Kv=function i(e,t,r,n){var o=Ta(e.childNodes),s=o.length,a=sc(t),u,l;if(e.nodeType!==3||s>1){for(t.absolute=!1,u=0;u<s;u++)l=o[u],l._next=l._isFirst=l._parent=l._wordEnd=null,(l.nodeType!==3||/\S+/.test(l.nodeValue))&&(a&&l.nodeType!==3&&Cp(l).display==="inline"&&(l.style.display="inline-block",l.style.position="relative"),l._isSplit=!0,i(l,t,r,n));t.absolute=a,e._isSplit=!0;return}jv(e,t,r,n)},Gt=function(){function i(t,r){bp||Sp(),this.elements=Ta(t),this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=r||{},xp(this),Yv&&this.split(r)}var e=i.prototype;return e.split=function(r){this.isSplit&&this.revert(),this.vars=r=r||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var n=this.elements.length,o=r.tag?r.tag:r.span?"span":"div",s=wp(r.wordsClass,o),a=wp(r.charsClass,o),u,l,c;--n>-1;)c=this.elements[n],this._originals[n]={html:c.innerHTML,style:c.getAttribute("style")},u=c.clientHeight,l=c.clientWidth,Kv(c,r,s,a),$v(c,r,this.chars,this.words,this.lines,l,u);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this},e.revert=function(){var r=this._originals;if(!r)throw"revert() call wasn't scoped properly.";return this.elements.forEach(function(n,o){n.innerHTML=r[o].html,n.setAttribute("style",r[o].style)}),this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},i.create=function(r,n){return new i(r,n)},i}();Gt.version="3.12.5";Gt.register=Sp;function Ap(i,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(i,r.key,r)}}function Zv(i,e,t){return e&&Ap(i.prototype,e),t&&Ap(i,t),Object.defineProperty(i,"prototype",{writable:!1}),i}var Fp="(prefers-reduced-motion: reduce)",zn=1,Qv=2,Wn=3,Yn=4,rs=5,Fa=6,Pa=7,Jv={CREATED:zn,MOUNTED:Qv,IDLE:Wn,MOVING:Yn,SCROLLING:rs,DRAGGING:Fa,DESTROYED:Pa};function Ur(i){i.length=0}function yi(i,e,t){return Array.prototype.slice.call(i,e,t)}function ge(i){return i.bind.apply(i,[null].concat(yi(arguments,1)))}var qp=setTimeout,fc=function(){};function Op(i){return requestAnimationFrame(i)}function Ia(i,e){return typeof e===i}function $o(i){return!vc(i)&&Ia("object",i)}var mc=Array.isArray,Yp=ge(Ia,"function"),mi=ge(Ia,"string"),is=ge(Ia,"undefined");function vc(i){return i===null}function Xp(i){try{return i instanceof(i.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function ns(i){return mc(i)?i:[i]}function Kt(i,e){ns(i).forEach(e)}function Dc(i,e){return i.indexOf(e)>-1}function Oa(i,e){return i.push.apply(i,ns(e)),i}function qr(i,e,t){i&&Kt(e,function(r){r&&i.classList[t?"add":"remove"](r)})}function br(i,e){qr(i,mi(e)?e.split(" "):e,!0)}function os(i,e){Kt(e,i.appendChild.bind(i))}function yc(i,e){Kt(i,function(t){var r=(e||t).parentNode;r&&r.insertBefore(t,e)})}function jo(i,e){return Xp(i)&&(i.msMatchesSelector||i.matches).call(i,e)}function Up(i,e){var t=i?yi(i.children):[];return e?t.filter(function(r){return jo(r,e)}):t}function ss(i,e){return e?Up(i,e)[0]:i.firstElementChild}var Ko=Object.keys;function rn(i,e,t){return i&&(t?Ko(i).reverse():Ko(i)).forEach(function(r){r!=="__proto__"&&e(i[r],r)}),i}function Zo(i){return yi(arguments,1).forEach(function(e){rn(e,function(t,r){i[r]=e[r]})}),i}function gi(i){return yi(arguments,1).forEach(function(e){rn(e,function(t,r){mc(t)?i[r]=t.slice():$o(t)?i[r]=gi({},$o(i[r])?i[r]:{},t):i[r]=t})}),i}function Mp(i,e){Kt(e||Ko(i),function(t){delete i[t]})}function xr(i,e){Kt(i,function(t){Kt(e,function(r){t&&t.removeAttribute(r)})})}function re(i,e,t){$o(e)?rn(e,function(r,n){re(i,n,r)}):Kt(i,function(r){vc(t)||t===""?xr(r,e):r.setAttribute(e,String(t))})}function Vn(i,e,t){var r=document.createElement(i);return e&&(mi(e)?br(r,e):re(r,e)),t&&os(t,r),r}function ar(i,e,t){if(is(t))return getComputedStyle(i)[e];vc(t)||(i.style[e]=""+t)}function Qo(i,e){ar(i,"display",e)}function Gp(i){i.setActive&&i.setActive()||i.focus({preventScroll:!0})}function ur(i,e){return i.getAttribute(e)}function kp(i,e){return i&&i.classList.contains(e)}function $t(i){return i.getBoundingClientRect()}function nn(i){Kt(i,function(e){e&&e.parentNode&&e.parentNode.removeChild(e)})}function $p(i){return ss(new DOMParser().parseFromString(i,"text/html").body)}function Wr(i,e){i.preventDefault(),e&&(i.stopPropagation(),i.stopImmediatePropagation())}function jp(i,e){return i&&i.querySelector(e)}function wc(i,e){return e?yi(i.querySelectorAll(e)):[]}function Yr(i,e){qr(i,e,!1)}function dc(i){return i.timeStamp}function tn(i){return mi(i)?i:i?i+"px":""}var as="splide",Ec="data-"+as;function Uo(i,e){if(!i)throw new Error("["+as+"] "+(e||""))}var vi=Math.min,La=Math.max,Ra=Math.floor,Jo=Math.ceil,Ft=Math.abs;function Kp(i,e,t){return Ft(i-e)<t}function Ma(i,e,t,r){var n=vi(e,t),o=La(e,t);return r?n<i&&i<o:n<=i&&i<=o}function In(i,e,t){var r=vi(e,t),n=La(e,t);return vi(La(r,i),n)}function hc(i){return+(i>0)-+(i<0)}function pc(i,e){return Kt(e,function(t){i=i.replace("%s",""+t)}),i}function bc(i){return i<10?"0"+i:""+i}var Pp={};function eD(i){return""+i+bc(Pp[i]=(Pp[i]||0)+1)}function Zp(){var i=[];function e(s,a,u,l){n(s,a,function(c,d,p){var f="addEventListener"in c,_=f?c.removeEventListener.bind(c,d,u,l):c.removeListener.bind(c,u);f?c.addEventListener(d,u,l):c.addListener(u),i.push([c,d,p,u,_])})}function t(s,a,u){n(s,a,function(l,c,d){i=i.filter(function(p){return p[0]===l&&p[1]===c&&p[2]===d&&(!u||p[3]===u)?(p[4](),!1):!0})})}function r(s,a,u){var l,c=!0;return typeof CustomEvent=="function"?l=new CustomEvent(a,{bubbles:c,detail:u}):(l=document.createEvent("CustomEvent"),l.initCustomEvent(a,c,!1,u)),s.dispatchEvent(l),l}function n(s,a,u){Kt(s,function(l){l&&Kt(a,function(c){c.split(" ").forEach(function(d){var p=d.split(".");u(l,p[0],p[1])})})})}function o(){i.forEach(function(s){s[4]()}),Ur(i)}return{bind:e,unbind:t,dispatch:r,destroy:o}}var sn="mounted",Lp="ready",Di="move",us="moved",Qp="click",tD="active",rD="inactive",iD="visible",nD="hidden",Ye="refresh",Ot="updated",es="resize",xc="resized",oD="drag",sD="dragging",aD="dragged",Sc="scroll",Xn="scrolled",uD="overflow",Jp="destroy",lD="arrows:mounted",cD="arrows:updated",fD="pagination:mounted",dD="pagination:updated",e_="navigation:mounted",t_="autoplay:play",hD="autoplay:playing",r_="autoplay:pause",i_="lazyload:loaded",n_="sk",o_="sh",Na="ei";function Se(i){var e=i?i.event.bus:document.createDocumentFragment(),t=Zp();function r(o,s){t.bind(e,ns(o).join(" "),function(a){s.apply(s,mc(a.detail)?a.detail:[])})}function n(o){t.dispatch(e,o,yi(arguments,1))}return i&&i.event.on(Jp,t.destroy),Zo(t,{bus:e,on:r,off:ge(t.unbind,e),emit:n})}function Ba(i,e,t,r){var n=Date.now,o,s=0,a,u=!0,l=0;function c(){if(!u){if(s=i?vi((n()-o)/i,1):1,t&&t(s),s>=1&&(e(),o=n(),r&&++l>=r))return p();a=Op(c)}}function d(m){m||_(),o=n()-(m?s*i:0),u=!1,a=Op(c)}function p(){u=!0}function f(){o=n(),s=0,t&&t(s)}function _(){a&&cancelAnimationFrame(a),s=0,a=0,u=!0}function h(m){i=m}function g(){return u}return{start:d,rewind:f,pause:p,cancel:_,set:h,isPaused:g}}function pD(i){var e=i;function t(n){e=n}function r(n){return Dc(ns(n),e)}return{set:t,is:r}}function _D(i,e){var t=Ba(e||0,i,null,1);return function(){t.isPaused()&&t.start()}}function gD(i,e,t){var r=i.state,n=t.breakpoints||{},o=t.reducedMotion||{},s=Zp(),a=[];function u(){var _=t.mediaQuery==="min";Ko(n).sort(function(h,g){return _?+h-+g:+g-+h}).forEach(function(h){c(n[h],"("+(_?"min":"max")+"-width:"+h+"px)")}),c(o,Fp),d()}function l(_){_&&s.destroy()}function c(_,h){var g=matchMedia(h);s.bind(g,"change",d),a.push([_,g])}function d(){var _=r.is(Pa),h=t.direction,g=a.reduce(function(m,v){return gi(m,v[1].matches?v[0]:{})},{});Mp(t),f(g),t.destroy?i.destroy(t.destroy==="completely"):_?(l(!0),i.mount()):h!==t.direction&&i.refresh()}function p(_){matchMedia(Fp).matches&&(_?gi(t,o):Mp(t,Ko(o)))}function f(_,h,g){gi(t,_),h&&gi(Object.getPrototypeOf(t),_),(g||!r.is(zn))&&i.emit(Ot,t)}return{setup:u,destroy:l,reduce:p,set:f}}var za="Arrow",Va=za+"Left",Ha=za+"Right",s_=za+"Up",a_=za+"Down";var Rp="rtl",Wa="ttb",ac={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[s_,Ha],ArrowRight:[a_,Va]};function mD(i,e,t){function r(o,s,a){a=a||t.direction;var u=a===Rp&&!s?1:a===Wa?0:-1;return ac[o]&&ac[o][u]||o.replace(/width|left|right/i,function(l,c){var d=ac[l.toLowerCase()][u]||l;return c>0?d.charAt(0).toUpperCase()+d.slice(1):d})}function n(o){return o*(t.direction===Rp?1:-1)}return{resolve:r,orient:n}}var Xr="role",Hn="tabindex",vD="disabled",lr="aria-",ls=lr+"controls",u_=lr+"current",Np=lr+"selected",jt=lr+"label",Cc=lr+"labelledby",l_=lr+"hidden",Tc=lr+"orientation",ts=lr+"roledescription",Ip=lr+"live",Bp=lr+"busy",zp=lr+"atomic",Ac=[Xr,Hn,vD,ls,u_,jt,Cc,l_,Tc,ts],Sr=as+"__",wi="is-",uc=as,Vp=Sr+"track",DD=Sr+"list",qa=Sr+"slide",c_=qa+"--clone",yD=qa+"__container",Fc=Sr+"arrows",Ya=Sr+"arrow",f_=Ya+"--prev",d_=Ya+"--next",Xa=Sr+"pagination",h_=Xa+"__page",wD=Sr+"progress",ED=wD+"__bar",Oc=Sr+"toggle",Jy=Oc+"__play",e1=Oc+"__pause",bD=Sr+"spinner",xD=Sr+"sr",SD=wi+"initialized",on=wi+"active",p_=wi+"prev",__=wi+"next",_c=wi+"visible",gc=wi+"loading",g_=wi+"focus-in",m_=wi+"overflow",CD=[on,_c,p_,__,gc,g_,m_],TD={slide:qa,clone:c_,arrows:Fc,arrow:Ya,prev:f_,next:d_,pagination:Xa,page:h_,spinner:bD};function AD(i,e){if(Yp(i.closest))return i.closest(e);for(var t=i;t&&t.nodeType===1&&!jo(t,e);)t=t.parentElement;return t}var FD=5,Hp=200,v_="touchstart mousedown",lc="touchmove mousemove",cc="touchend touchcancel mouseup click";function OD(i,e,t){var r=Se(i),n=r.on,o=r.bind,s=i.root,a=t.i18n,u={},l=[],c=[],d=[],p,f,_;function h(){y(),w(),v()}function g(){n(Ye,m),n(Ye,h),n(Ot,v),o(document,v_+" keydown",function(E){_=E.type==="keydown"},{capture:!0}),o(s,"focusin",function(){qr(s,g_,!!_)})}function m(E){var S=Ac.concat("style");Ur(l),Yr(s,c),Yr(p,d),xr([p,f],S),xr(s,E?S:["style",ts])}function v(){Yr(s,c),Yr(p,d),c=x(uc),d=x(Vp),br(s,c),br(p,d),re(s,jt,t.label),re(s,Cc,t.labelledby)}function y(){p=b("."+Vp),f=ss(p,"."+DD),Uo(p&&f,"A track/list element is missing."),Oa(l,Up(f,"."+qa+":not(."+c_+")")),rn({arrows:Fc,pagination:Xa,prev:f_,next:d_,bar:ED,toggle:Oc},function(E,S){u[S]=b("."+E)}),Zo(u,{root:s,track:p,list:f,slides:l})}function w(){var E=s.id||eD(as),S=t.role;s.id=E,p.id=p.id||E+"-track",f.id=f.id||E+"-list",!ur(s,Xr)&&s.tagName!=="SECTION"&&S&&re(s,Xr,S),re(s,ts,a.carousel),re(f,Xr,"presentation")}function b(E){var S=jp(s,E);return S&&AD(S,"."+uc)===s?S:void 0}function x(E){return[E+"--"+t.type,E+"--"+t.direction,t.drag&&E+"--draggable",t.isNavigation&&E+"--nav",E===uc&&on]}return Zo(u,{setup:h,mount:g,destroy:m})}var qn="slide",Un="loop",cs="fade";function MD(i,e,t,r){var n=Se(i),o=n.on,s=n.emit,a=n.bind,u=i.Components,l=i.root,c=i.options,d=c.isNavigation,p=c.updateOnMove,f=c.i18n,_=c.pagination,h=c.slideFocus,g=u.Direction.resolve,m=ur(r,"style"),v=ur(r,jt),y=t>-1,w=ss(r,"."+yD),b;function x(){y||(r.id=l.id+"-slide"+bc(e+1),re(r,Xr,_?"tabpanel":"group"),re(r,ts,f.slide),re(r,jt,v||pc(f.slideLabel,[e+1,i.length]))),E()}function E(){a(r,"click",ge(s,Qp,N)),a(r,"keydown",ge(s,n_,N)),o([us,o_,Xn],O),o(e_,A),p&&o(Di,C)}function S(){b=!0,n.destroy(),Yr(r,CD),xr(r,Ac),re(r,"style",m),re(r,jt,v||"")}function A(){var T=i.splides.map(function(D){var L=D.splide.Components.Slides.getAt(e);return L?L.slide.id:""}).join(" ");re(r,jt,pc(f.slideX,(y?t:e)+1)),re(r,ls,T),re(r,Xr,h?"button":""),h&&xr(r,ts)}function C(){b||O()}function O(){if(!b){var T=i.index;F(),k(),qr(r,p_,e===T-1),qr(r,__,e===T+1)}}function F(){var T=z();T!==kp(r,on)&&(qr(r,on,T),re(r,u_,d&&T||""),s(T?tD:rD,N))}function k(){var T=P(),D=!T&&(!z()||y);if(i.state.is([Yn,rs])||re(r,l_,D||""),re(wc(r,c.focusableNodes||""),Hn,D?-1:""),h&&re(r,Hn,D?-1:0),T!==kp(r,_c)&&(qr(r,_c,T),s(T?iD:nD,N)),!T&&document.activeElement===r){var L=u.Slides.getAt(i.index);L&&Gp(L.slide)}}function H(T,D,L){ar(L&&w||r,T,D)}function z(){var T=i.index;return T===e||c.cloneStatus&&T===t}function P(){if(i.is(cs))return z();var T=$t(u.Elements.track),D=$t(r),L=g("left",!0),X=g("right",!0);return Ra(T[L])<=Jo(D[L])&&Ra(D[X])<=Jo(T[X])}function R(T,D){var L=Ft(T-e);return!y&&(c.rewind||i.is(Un))&&(L=vi(L,i.length-L)),L<=D}var N={index:e,slideIndex:t,slide:r,container:w,isClone:y,mount:x,destroy:S,update:O,style:H,isWithin:R};return N}function kD(i,e,t){var r=Se(i),n=r.on,o=r.emit,s=r.bind,a=e.Elements,u=a.slides,l=a.list,c=[];function d(){p(),n(Ye,f),n(Ye,p)}function p(){u.forEach(function(O,F){h(O,F,-1)})}function f(){b(function(O){O.destroy()}),Ur(c)}function _(){b(function(O){O.update()})}function h(O,F,k){var H=MD(i,F,k,O);H.mount(),c.push(H),c.sort(function(z,P){return z.index-P.index})}function g(O){return O?x(function(F){return!F.isClone}):c}function m(O){var F=e.Controller,k=F.toIndex(O),H=F.hasFocus()?1:t.perPage;return x(function(z){return Ma(z.index,k,k+H-1)})}function v(O){return x(O)[0]}function y(O,F){Kt(O,function(k){if(mi(k)&&(k=$p(k)),Xp(k)){var H=u[F];H?yc(k,H):os(l,k),br(k,t.classes.slide),S(k,ge(o,es))}}),o(Ye)}function w(O){nn(x(O).map(function(F){return F.slide})),o(Ye)}function b(O,F){g(F).forEach(O)}function x(O){return c.filter(Yp(O)?O:function(F){return mi(O)?jo(F.slide,O):Dc(ns(O),F.index)})}function E(O,F,k){b(function(H){H.style(O,F,k)})}function S(O,F){var k=wc(O,"img"),H=k.length;H?k.forEach(function(z){s(z,"load error",function(){--H||F()})}):F()}function A(O){return O?u.length:c.length}function C(){return c.length>t.perPage}return{mount:d,destroy:f,update:_,register:h,get:g,getIn:m,getAt:v,add:y,remove:w,forEach:b,filter:x,style:E,getLength:A,isEnough:C}}function PD(i,e,t){var r=Se(i),n=r.on,o=r.bind,s=r.emit,a=e.Slides,u=e.Direction.resolve,l=e.Elements,c=l.root,d=l.track,p=l.list,f=a.getAt,_=a.style,h,g,m;function v(){y(),o(window,"resize load",_D(ge(s,es))),n([Ot,Ye],y),n(es,w)}function y(){h=t.direction===Wa,ar(c,"maxWidth",tn(t.width)),ar(d,u("paddingLeft"),b(!1)),ar(d,u("paddingRight"),b(!0)),w(!0)}function w(N){var T=$t(c);(N||g.width!==T.width||g.height!==T.height)&&(ar(d,"height",x()),_(u("marginRight"),tn(t.gap)),_("width",S()),_("height",A(),!0),g=T,s(xc),m!==(m=R())&&(qr(c,m_,m),s(uD,m)))}function b(N){var T=t.padding,D=u(N?"right":"left");return T&&tn(T[D]||($o(T)?0:T))||"0px"}function x(){var N="";return h&&(N=E(),Uo(N,"height or heightRatio is missing."),N="calc("+N+" - "+b(!1)+" - "+b(!0)+")"),N}function E(){return tn(t.height||$t(p).width*t.heightRatio)}function S(){return t.autoWidth?null:tn(t.fixedWidth)||(h?"":C())}function A(){return tn(t.fixedHeight)||(h?t.autoHeight?null:C():E())}function C(){var N=tn(t.gap);return"calc((100%"+(N&&" + "+N)+")/"+(t.perPage||1)+(N&&" - "+N)+")"}function O(){return $t(p)[u("width")]}function F(N,T){var D=f(N||0);return D?$t(D.slide)[u("width")]+(T?0:z()):0}function k(N,T){var D=f(N);if(D){var L=$t(D.slide)[u("right")],X=$t(p)[u("left")];return Ft(L-X)+(T?0:z())}return 0}function H(N){return k(i.length-1)-k(0)+F(0,N)}function z(){var N=f(0);return N&&parseFloat(ar(N.slide,u("marginRight")))||0}function P(N){return parseFloat(ar(d,u("padding"+(N?"Right":"Left"))))||0}function R(){return i.is(cs)||H(!0)>O()}return{mount:v,resize:w,listSize:O,slideSize:F,sliderSize:H,totalSize:k,getPadding:P,isOverflow:R}}var LD=2;function RD(i,e,t){var r=Se(i),n=r.on,o=e.Elements,s=e.Slides,a=e.Direction.resolve,u=[],l;function c(){n(Ye,d),n([Ot,es],f),(l=g())&&(_(l),e.Layout.resize(!0))}function d(){p(),c()}function p(){nn(u),Ur(u),r.destroy()}function f(){var m=g();l!==m&&(l<m||!m)&&r.emit(Ye)}function _(m){var v=s.get().slice(),y=v.length;if(y){for(;v.length<m;)Oa(v,v);Oa(v.slice(-m),v.slice(0,m)).forEach(function(w,b){var x=b<m,E=h(w.slide,b);x?yc(E,v[0].slide):os(o.list,E),Oa(u,E),s.register(E,b-m+(x?0:y),w.index)})}}function h(m,v){var y=m.cloneNode(!0);return br(y,t.classes.clone),y.id=i.root.id+"-clone"+bc(v+1),y}function g(){var m=t.clones;if(!i.is(Un))m=0;else if(is(m)){var v=t[a("fixedWidth")]&&e.Layout.slideSize(0),y=v&&Jo($t(o.track)[a("width")]/v);m=y||t[a("autoWidth")]&&i.length||t.perPage*LD}return m}return{mount:c,destroy:p}}function ND(i,e,t){var r=Se(i),n=r.on,o=r.emit,s=i.state.set,a=e.Layout,u=a.slideSize,l=a.getPadding,c=a.totalSize,d=a.listSize,p=a.sliderSize,f=e.Direction,_=f.resolve,h=f.orient,g=e.Elements,m=g.list,v=g.track,y;function w(){y=e.Transition,n([sn,xc,Ot,Ye],b)}function b(){e.Controller.isBusy()||(e.Scroll.cancel(),E(i.index),e.Slides.update())}function x(D,L,X,te){D!==L&&N(D>X)&&(O(),S(C(H(),D>X),!0)),s(Yn),o(Di,L,X,D),y.start(L,function(){s(Wn),o(us,L,X,D),te&&te()})}function E(D){S(k(D,!0))}function S(D,L){if(!i.is(cs)){var X=L?D:A(D);ar(m,"transform","translate"+_("X")+"("+X+"px)"),D!==X&&o(o_)}}function A(D){if(i.is(Un)){var L=F(D),X=L>e.Controller.getEnd(),te=L<0;(te||X)&&(D=C(D,X))}return D}function C(D,L){var X=D-R(L),te=p();return D-=h(te*(Jo(Ft(X)/te)||1))*(L?1:-1),D}function O(){S(H(),!0),y.cancel()}function F(D){for(var L=e.Slides.get(),X=0,te=1/0,U=0;U<L.length;U++){var G=L[U].index,I=Ft(k(G,!0)-D);if(I<=te)te=I,X=G;else break}return X}function k(D,L){var X=h(c(D-1)-P(D));return L?z(X):X}function H(){var D=_("left");return $t(m)[D]-$t(v)[D]+h(l(!1))}function z(D){return t.trimSpace&&i.is(qn)&&(D=In(D,0,h(p(!0)-d()))),D}function P(D){var L=t.focus;return L==="center"?(d()-u(D,!0))/2:+L*u(D)||0}function R(D){return k(D?e.Controller.getEnd():0,!!t.trimSpace)}function N(D){var L=h(C(H(),D));return D?L>=0:L<=m[_("scrollWidth")]-$t(v)[_("width")]}function T(D,L){L=is(L)?H():L;var X=D!==!0&&h(L)<h(R(!1)),te=D!==!1&&h(L)>h(R(!0));return X||te}return{mount:w,move:x,jump:E,translate:S,shift:C,cancel:O,toIndex:F,toPosition:k,getPosition:H,getLimit:R,exceededLimit:T,reposition:b}}function ID(i,e,t){var r=Se(i),n=r.on,o=r.emit,s=e.Move,a=s.getPosition,u=s.getLimit,l=s.toPosition,c=e.Slides,d=c.isEnough,p=c.getLength,f=t.omitEnd,_=i.is(Un),h=i.is(qn),g=ge(H,!1),m=ge(H,!0),v=t.start||0,y,w=v,b,x,E;function S(){A(),n([Ot,Ye,Na],A),n(xc,C)}function A(){b=p(!0),x=t.perMove,E=t.perPage,y=N();var I=In(v,0,f?y:b-1);I!==v&&(v=I,s.reposition())}function C(){y!==N()&&o(Na)}function O(I,Y,fe){if(!G()){var ie=k(I),ne=R(ie);ne>-1&&(Y||ne!==v)&&(X(ne),s.move(ie,ne,w,fe))}}function F(I,Y,fe,ie){e.Scroll.scroll(I,Y,fe,function(){var ne=R(s.toIndex(a()));X(f?vi(ne,y):ne),ie&&ie()})}function k(I){var Y=v;if(mi(I)){var fe=I.match(/([+\-<>])(\d+)?/)||[],ie=fe[1],ne=fe[2];ie==="+"||ie==="-"?Y=z(v+ +(""+ie+(+ne||1)),v):ie===">"?Y=ne?T(+ne):g(!0):ie==="<"&&(Y=m(!0))}else Y=_?I:In(I,0,y);return Y}function H(I,Y){var fe=x||(U()?1:E),ie=z(v+fe*(I?-1:1),v,!(x||U()));return ie===-1&&h&&!Kp(a(),u(!I),1)?I?0:y:Y?ie:R(ie)}function z(I,Y,fe){if(d()||U()){var ie=P(I);ie!==I&&(Y=I,I=ie,fe=!1),I<0||I>y?!x&&(Ma(0,I,Y,!0)||Ma(y,Y,I,!0))?I=T(D(I)):_?I=fe?I<0?-(b%E||E):b:I:t.rewind?I=I<0?y:0:I=-1:fe&&I!==Y&&(I=T(D(Y)+(I<Y?-1:1)))}else I=-1;return I}function P(I){if(h&&t.trimSpace==="move"&&I!==v)for(var Y=a();Y===l(I,!0)&&Ma(I,0,i.length-1,!t.rewind);)I<v?--I:++I;return I}function R(I){return _?(I+b)%b||0:I}function N(){for(var I=b-(U()||_&&x?1:E);f&&I-- >0;)if(l(b-1,!0)!==l(I,!0)){I++;break}return In(I,0,b-1)}function T(I){return In(U()?I:E*I,0,y)}function D(I){return U()?vi(I,y):Ra((I>=y?b-1:I)/E)}function L(I){var Y=s.toIndex(I);return h?In(Y,0,y):Y}function X(I){I!==v&&(w=v,v=I)}function te(I){return I?w:v}function U(){return!is(t.focus)||t.isNavigation}function G(){return i.state.is([Yn,rs])&&!!t.waitForTransition}return{mount:S,go:O,scroll:F,getNext:g,getPrev:m,getAdjacent:H,getEnd:N,setIndex:X,getIndex:te,toIndex:T,toPage:D,toDest:L,hasFocus:U,isBusy:G}}var BD="http://www.w3.org/2000/svg",zD="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",Aa=40;function VD(i,e,t){var r=Se(i),n=r.on,o=r.bind,s=r.emit,a=t.classes,u=t.i18n,l=e.Elements,c=e.Controller,d=l.arrows,p=l.track,f=d,_=l.prev,h=l.next,g,m,v={};function y(){b(),n(Ot,w)}function w(){x(),y()}function b(){var F=t.arrows;F&&!(_&&h)&&A(),_&&h&&(Zo(v,{prev:_,next:h}),Qo(f,F?"":"none"),br(f,m=Fc+"--"+t.direction),F&&(E(),O(),re([_,h],ls,p.id),s(lD,_,h)))}function x(){r.destroy(),Yr(f,m),g?(nn(d?[_,h]:f),_=h=null):xr([_,h],Ac)}function E(){n([sn,us,Ye,Xn,Na],O),o(h,"click",ge(S,">")),o(_,"click",ge(S,"<"))}function S(F){c.go(F,!0)}function A(){f=d||Vn("div",a.arrows),_=C(!0),h=C(!1),g=!0,os(f,[_,h]),!d&&yc(f,p)}function C(F){var k='<button class="'+a.arrow+" "+(F?a.prev:a.next)+'" type="button"><svg xmlns="'+BD+'" viewBox="0 0 '+Aa+" "+Aa+'" width="'+Aa+'" height="'+Aa+'" focusable="false"><path d="'+(t.arrowPath||zD)+'" />';return $p(k)}function O(){if(_&&h){var F=i.index,k=c.getPrev(),H=c.getNext(),z=k>-1&&F<k?u.last:u.prev,P=H>-1&&F>H?u.first:u.next;_.disabled=k<0,h.disabled=H<0,re(_,jt,z),re(h,jt,P),s(cD,_,h,k,H)}}return{arrows:v,mount:y,destroy:x,update:O}}var HD=Ec+"-interval";function WD(i,e,t){var r=Se(i),n=r.on,o=r.bind,s=r.emit,a=Ba(t.interval,i.go.bind(i,">"),E),u=a.isPaused,l=e.Elements,c=e.Elements,d=c.root,p=c.toggle,f=t.autoplay,_,h,g=f==="pause";function m(){f&&(v(),p&&re(p,ls,l.track.id),g||y(),x())}function v(){t.pauseOnHover&&o(d,"mouseenter mouseleave",function(A){_=A.type==="mouseenter",b()}),t.pauseOnFocus&&o(d,"focusin focusout",function(A){h=A.type==="focusin",b()}),p&&o(p,"click",function(){g?y():w(!0)}),n([Di,Sc,Ye],a.rewind),n(Di,S)}function y(){u()&&e.Slides.isEnough()&&(a.start(!t.resetProgress),h=_=g=!1,x(),s(t_))}function w(A){A===void 0&&(A=!0),g=!!A,x(),u()||(a.pause(),s(r_))}function b(){g||(_||h?w(!1):y())}function x(){p&&(qr(p,on,!g),re(p,jt,t.i18n[g?"play":"pause"]))}function E(A){var C=l.bar;C&&ar(C,"width",A*100+"%"),s(hD,A)}function S(A){var C=e.Slides.getAt(A);a.set(C&&+ur(C.slide,HD)||t.interval)}return{mount:m,destroy:a.cancel,play:y,pause:w,isPaused:u}}function qD(i,e,t){var r=Se(i),n=r.on;function o(){t.cover&&(n(i_,ge(a,!0)),n([sn,Ot,Ye],ge(s,!0)))}function s(u){e.Slides.forEach(function(l){var c=ss(l.container||l.slide,"img");c&&c.src&&a(u,c,l)})}function a(u,l,c){c.style("background",u?'center/cover no-repeat url("'+l.src+'")':"",!0),Qo(l,u?"none":"")}return{mount:o,destroy:ge(s,!1)}}var YD=10,XD=600,UD=.6,GD=1.5,$D=800;function jD(i,e,t){var r=Se(i),n=r.on,o=r.emit,s=i.state.set,a=e.Move,u=a.getPosition,l=a.getLimit,c=a.exceededLimit,d=a.translate,p=i.is(qn),f,_,h=1;function g(){n(Di,w),n([Ot,Ye],b)}function m(E,S,A,C,O){var F=u();if(w(),A&&(!p||!c())){var k=e.Layout.sliderSize(),H=hc(E)*k*Ra(Ft(E)/k)||0;E=a.toPosition(e.Controller.toDest(E%k))+H}var z=Kp(F,E,1);h=1,S=z?0:S||La(Ft(E-F)/GD,$D),_=C,f=Ba(S,v,ge(y,F,E,O),1),s(rs),o(Sc),f.start()}function v(){s(Wn),_&&_(),o(Xn)}function y(E,S,A,C){var O=u(),F=E+(S-E)*x(C),k=(F-O)*h;d(O+k),p&&!A&&c()&&(h*=UD,Ft(k)<YD&&m(l(c(!0)),XD,!1,_,!0))}function w(){f&&f.cancel()}function b(){f&&!f.isPaused()&&(w(),v())}function x(E){var S=t.easingFunc;return S?S(E):1-Math.pow(1-E,4)}return{mount:g,destroy:w,scroll:m,cancel:b}}var Bn={passive:!1,capture:!0};function KD(i,e,t){var r=Se(i),n=r.on,o=r.emit,s=r.bind,a=r.unbind,u=i.state,l=e.Move,c=e.Scroll,d=e.Controller,p=e.Elements.track,f=e.Media.reduce,_=e.Direction,h=_.resolve,g=_.orient,m=l.getPosition,v=l.exceededLimit,y,w,b,x,E,S=!1,A,C,O;function F(){s(p,lc,fc,Bn),s(p,cc,fc,Bn),s(p,v_,H,Bn),s(p,"click",R,{capture:!0}),s(p,"dragstart",Wr),n([sn,Ot],k)}function k(){var B=t.drag;Et(!B),x=B==="free"}function H(B){if(A=!1,!C){var Z=ne(B);ie(B.target)&&(Z||!B.button)&&(d.isBusy()?Wr(B,!0):(O=Z?p:window,E=u.is([Yn,rs]),b=null,s(O,lc,z,Bn),s(O,cc,P,Bn),l.cancel(),c.cancel(),N(B)))}}function z(B){if(u.is(Fa)||(u.set(Fa),o(oD)),B.cancelable)if(E){l.translate(y+fe(U(B)));var Z=G(B)>Hp,Ce=S!==(S=v());(Z||Ce)&&N(B),A=!0,o(sD),Wr(B)}else L(B)&&(E=D(B),Wr(B))}function P(B){u.is(Fa)&&(u.set(Wn),o(aD)),E&&(T(B),Wr(B)),a(O,lc,z),a(O,cc,P),E=!1}function R(B){!C&&A&&Wr(B,!0)}function N(B){b=w,w=B,y=m()}function T(B){var Z=X(B),Ce=te(Z),ze=t.rewind&&t.rewindByDrag;f(!1),x?d.scroll(Ce,0,t.snap):i.is(cs)?d.go(g(hc(Z))<0?ze?"<":"-":ze?">":"+"):i.is(qn)&&S&&ze?d.go(v(!0)?">":"<"):d.go(d.toDest(Ce),!0),f(!0)}function D(B){var Z=t.dragMinThreshold,Ce=$o(Z),ze=Ce&&Z.mouse||0,M=(Ce?Z.touch:+Z)||10;return Ft(U(B))>(ne(B)?M:ze)}function L(B){return Ft(U(B))>Ft(U(B,!0))}function X(B){if(i.is(Un)||!S){var Z=G(B);if(Z&&Z<Hp)return U(B)/Z}return 0}function te(B){return m()+hc(B)*vi(Ft(B)*(t.flickPower||600),x?1/0:e.Layout.listSize()*(t.flickMaxPages||1))}function U(B,Z){return Y(B,Z)-Y(I(B),Z)}function G(B){return dc(B)-dc(I(B))}function I(B){return w===B&&b||w}function Y(B,Z){return(ne(B)?B.changedTouches[0]:B)["page"+h(Z?"Y":"X")]}function fe(B){return B/(S&&i.is(qn)?FD:1)}function ie(B){var Z=t.noDrag;return!jo(B,"."+h_+", ."+Ya)&&(!Z||!jo(B,Z))}function ne(B){return typeof TouchEvent<"u"&&B instanceof TouchEvent}function Ke(){return E}function Et(B){C=B}return{mount:F,disable:Et,isDragging:Ke}}var ZD={Spacebar:" ",Right:Ha,Left:Va,Up:s_,Down:a_};function Mc(i){return i=mi(i)?i:i.key,ZD[i]||i}var Wp="keydown";function QD(i,e,t){var r=Se(i),n=r.on,o=r.bind,s=r.unbind,a=i.root,u=e.Direction.resolve,l,c;function d(){p(),n(Ot,f),n(Ot,p),n(Di,h)}function p(){var m=t.keyboard;m&&(l=m==="global"?window:a,o(l,Wp,g))}function f(){s(l,Wp)}function _(m){c=m}function h(){var m=c;c=!0,qp(function(){c=m})}function g(m){if(!c){var v=Mc(m);v===u(Va)?i.go("<"):v===u(Ha)&&i.go(">")}}return{mount:d,destroy:f,disable:_}}var Go=Ec+"-lazy",ka=Go+"-srcset",JD="["+Go+"], ["+ka+"]";function ey(i,e,t){var r=Se(i),n=r.on,o=r.off,s=r.bind,a=r.emit,u=t.lazyLoad==="sequential",l=[us,Xn],c=[];function d(){t.lazyLoad&&(p(),n(Ye,p))}function p(){Ur(c),f(),u?m():(o(l),n(l,_),_())}function f(){e.Slides.forEach(function(v){wc(v.slide,JD).forEach(function(y){var w=ur(y,Go),b=ur(y,ka);if(w!==y.src||b!==y.srcset){var x=t.classes.spinner,E=y.parentElement,S=ss(E,"."+x)||Vn("span",x,E);c.push([y,v,S]),y.src||Qo(y,"none")}})})}function _(){c=c.filter(function(v){var y=t.perPage*((t.preloadPages||1)+1)-1;return v[1].isWithin(i.index,y)?h(v):!0}),c.length||o(l)}function h(v){var y=v[0];br(v[1].slide,gc),s(y,"load error",ge(g,v)),re(y,"src",ur(y,Go)),re(y,"srcset",ur(y,ka)),xr(y,Go),xr(y,ka)}function g(v,y){var w=v[0],b=v[1];Yr(b.slide,gc),y.type!=="error"&&(nn(v[2]),Qo(w,""),a(i_,w,b),a(es)),u&&m()}function m(){c.length&&h(c.shift())}return{mount:d,destroy:ge(Ur,c),check:_}}function ty(i,e,t){var r=Se(i),n=r.on,o=r.emit,s=r.bind,a=e.Slides,u=e.Elements,l=e.Controller,c=l.hasFocus,d=l.getIndex,p=l.go,f=e.Direction.resolve,_=u.pagination,h=[],g,m;function v(){y(),n([Ot,Ye,Na],v);var C=t.pagination;_&&Qo(_,C?"":"none"),C&&(n([Di,Sc,Xn],A),w(),A(),o(fD,{list:g,items:h},S(i.index)))}function y(){g&&(nn(_?yi(g.children):g),Yr(g,m),Ur(h),g=null),r.destroy()}function w(){var C=i.length,O=t.classes,F=t.i18n,k=t.perPage,H=c()?l.getEnd()+1:Jo(C/k);g=_||Vn("ul",O.pagination,u.track.parentElement),br(g,m=Xa+"--"+E()),re(g,Xr,"tablist"),re(g,jt,F.select),re(g,Tc,E()===Wa?"vertical":"");for(var z=0;z<H;z++){var P=Vn("li",null,g),R=Vn("button",{class:O.page,type:"button"},P),N=a.getIn(z).map(function(D){return D.slide.id}),T=!c()&&k>1?F.pageX:F.slideX;s(R,"click",ge(b,z)),t.paginationKeyboard&&s(R,"keydown",ge(x,z)),re(P,Xr,"presentation"),re(R,Xr,"tab"),re(R,ls,N.join(" ")),re(R,jt,pc(T,z+1)),re(R,Hn,-1),h.push({li:P,button:R,page:z})}}function b(C){p(">"+C,!0)}function x(C,O){var F=h.length,k=Mc(O),H=E(),z=-1;k===f(Ha,!1,H)?z=++C%F:k===f(Va,!1,H)?z=(--C+F)%F:k==="Home"?z=0:k==="End"&&(z=F-1);var P=h[z];P&&(Gp(P.button),p(">"+z),Wr(O,!0))}function E(){return t.paginationDirection||t.direction}function S(C){return h[l.toPage(C)]}function A(){var C=S(d(!0)),O=S(d());if(C){var F=C.button;Yr(F,on),xr(F,Np),re(F,Hn,-1)}if(O){var k=O.button;br(k,on),re(k,Np,!0),re(k,Hn,"")}o(dD,{list:g,items:h},C,O)}return{items:h,mount:v,destroy:y,getAt:S,update:A}}var ry=[" ","Enter"];function iy(i,e,t){var r=t.isNavigation,n=t.slideFocus,o=[];function s(){i.splides.forEach(function(_){_.isParent||(l(i,_.splide),l(_.splide,i))}),r&&c()}function a(){o.forEach(function(_){_.destroy()}),Ur(o)}function u(){a(),s()}function l(_,h){var g=Se(_);g.on(Di,function(m,v,y){h.go(h.is(Un)?y:m)}),o.push(g)}function c(){var _=Se(i),h=_.on;h(Qp,p),h(n_,f),h([sn,Ot],d),o.push(_),_.emit(e_,i.splides)}function d(){re(e.Elements.list,Tc,t.direction===Wa?"vertical":"")}function p(_){i.go(_.index)}function f(_,h){Dc(ry,Mc(h))&&(p(_),Wr(h))}return{setup:ge(e.Media.set,{slideFocus:is(n)?r:n},!0),mount:s,destroy:a,remount:u}}function ny(i,e,t){var r=Se(i),n=r.bind,o=0;function s(){t.wheel&&n(e.Elements.track,"wheel",a,Bn)}function a(l){if(l.cancelable){var c=l.deltaY,d=c<0,p=dc(l),f=t.wheelMinThreshold||0,_=t.wheelSleep||0;Ft(c)>f&&p-o>_&&(i.go(d?"<":">"),o=p),u(d)&&Wr(l)}}function u(l){return!t.releaseWheel||i.state.is(Yn)||e.Controller.getAdjacent(l)!==-1}return{mount:s}}var oy=90;function sy(i,e,t){var r=Se(i),n=r.on,o=e.Elements.track,s=t.live&&!t.isNavigation,a=Vn("span",xD),u=Ba(oy,ge(c,!1));function l(){s&&(p(!e.Autoplay.isPaused()),re(o,zp,!0),a.textContent="\u2026",n(t_,ge(p,!0)),n(r_,ge(p,!1)),n([us,Xn],ge(c,!0)))}function c(f){re(o,Bp,f),f?(os(o,a),u.start()):(nn(a),u.cancel())}function d(){xr(o,[Ip,zp,Bp]),nn(a)}function p(f){s&&re(o,Ip,f?"off":"polite")}return{mount:l,disable:p,destroy:d}}var ay=Object.freeze({__proto__:null,Media:gD,Direction:mD,Elements:OD,Slides:kD,Layout:PD,Clones:RD,Move:ND,Controller:ID,Arrows:VD,Autoplay:WD,Cover:qD,Scroll:jD,Drag:KD,Keyboard:QD,LazyLoad:ey,Pagination:ty,Sync:iy,Wheel:ny,Live:sy}),uy={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"},ly={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:TD,i18n:uy,reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function cy(i,e,t){var r=e.Slides;function n(){Se(i).on([sn,Ye],o)}function o(){r.forEach(function(a){a.style("transform","translateX(-"+100*a.index+"%)")})}function s(a,u){r.style("transition","opacity "+t.speed+"ms "+t.easing),qp(u)}return{mount:n,start:s,cancel:fc}}function fy(i,e,t){var r=e.Move,n=e.Controller,o=e.Scroll,s=e.Elements.list,a=ge(ar,s,"transition"),u;function l(){Se(i).bind(s,"transitionend",function(f){f.target===s&&u&&(d(),u())})}function c(f,_){var h=r.toPosition(f,!0),g=r.getPosition(),m=p(f);Ft(h-g)>=1&&m>=1?t.useScroll?o.scroll(h,m,!1,_):(a("transform "+m+"ms "+t.easing),r.translate(h,!0),u=_):(r.jump(f),_())}function d(){a(""),o.cancel()}function p(f){var _=t.rewindSpeed;if(i.is(qn)&&_){var h=n.getIndex(!0),g=n.getEnd();if(h===0&&f>=g||h>=g&&f===0)return _}return t.speed}return{mount:l,start:c,cancel:d}}var dy=function(){function i(t,r){this.event=Se(),this.Components={},this.state=pD(zn),this.splides=[],this._o={},this._E={};var n=mi(t)?jp(document,t):t;Uo(n,n+" is invalid."),this.root=n,r=gi({label:ur(n,jt)||"",labelledby:ur(n,Cc)||""},ly,i.defaults,r||{});try{gi(r,JSON.parse(ur(n,Ec)))}catch{Uo(!1,"Invalid JSON")}this._o=Object.create(gi({},r))}var e=i.prototype;return e.mount=function(r,n){var o=this,s=this.state,a=this.Components;Uo(s.is([zn,Pa]),"Already mounted!"),s.set(zn),this._C=a,this._T=n||this._T||(this.is(cs)?cy:fy),this._E=r||this._E;var u=Zo({},ay,this._E,{Transition:this._T});return rn(u,function(l,c){var d=l(o,a,o._o);a[c]=d,d.setup&&d.setup()}),rn(a,function(l){l.mount&&l.mount()}),this.emit(sn),br(this.root,SD),s.set(Wn),this.emit(Lp),this},e.sync=function(r){return this.splides.push({splide:r}),r.splides.push({splide:this,isParent:!0}),this.state.is(Wn)&&(this._C.Sync.remount(),r.Components.Sync.remount()),this},e.go=function(r){return this._C.Controller.go(r),this},e.on=function(r,n){return this.event.on(r,n),this},e.off=function(r){return this.event.off(r),this},e.emit=function(r){var n;return(n=this.event).emit.apply(n,[r].concat(yi(arguments,1))),this},e.add=function(r,n){return this._C.Slides.add(r,n),this},e.remove=function(r){return this._C.Slides.remove(r),this},e.is=function(r){return this._o.type===r},e.refresh=function(){return this.emit(Ye),this},e.destroy=function(r){r===void 0&&(r=!0);var n=this.event,o=this.state;return o.is(zn)?Se(this).on(Lp,this.destroy.bind(this,r)):(rn(this._C,function(s){s.destroy&&s.destroy(r)},!0),n.emit(Jp),n.destroy(),r&&Ur(this.splides),o.set(Pa)),this},Zv(i,[{key:"options",get:function(){return this._o},set:function(r){this._C.Media.set(r,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}]),i}(),Gr=dy;Gr.defaults={};Gr.STATES=Jv;V.registerPlugin(j,Rn,en,Gt);function hy(){en.create("loader","0.83, 0, 0.17, 1"),en.create("loader2","0.77, 0, 0.175, 1")}var fs;function py(){let i=document.querySelector(".contact-modal_main-wrapper"),e=document.querySelector(".contact-modal_content-wrapper");fs=V.timeline({paused:!0}),fs.to(i,{autoAlpha:1,duration:.3,ease:"loader2"}),fs.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()}var Mt=new Ls({duration:1.2,easing:i=>Math.min(1,1.001-Math.pow(2,-10*i))});function _y(){Mt.on("scroll",j.update),V.ticker.add(e=>{Mt.raf(e*1e3)}),V.ticker.lagSmoothing(0);function i(e){Mt.raf(e),requestAnimationFrame(i)}requestAnimationFrame(i)}function gy(){let i=[].slice.call(document.querySelectorAll("video.lazyload"));if("IntersectionObserver"in window){let e=new IntersectionObserver(function(t,r){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)}})});i.forEach(function(t){e.observe(t)})}}function my(){window.addEventListener("pageshow",function(i){i.persisted&&window.location.reload()})}function vy(){function i(){let e=document.querySelector(".w-nav-overlay"),t={attributes:!0,attributeFilter:["style"]},r=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"),Mt.start()):(document.body.classList.add("is-scroll-off"),Mt.stop()))};new MutationObserver(r).observe(e,t)}i()}function Dy(){document.querySelector(".is-footer")&&V.to("#heroSection",{scrollTrigger:{trigger:"#bottomWrapper",start:"top bottom",toggleActions:"restart none none reverse"},autoAlpha:0})}function yy(){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 r=V.timeline({onComplete:()=>{window.location.href=e.href}});r.to(".unloader_wrapper",{display:"flex",duration:.05}),r.from(".unloader_ract",{duration:.4,width:"0%",ease:"loader2"}),r.play()})})}var wy=document.querySelector(".info-bar"),D_=V.timeline({paused:!0});D_.to(".navbar",{y:"-100%",duration:.2,ease:"loader2"});wy&&D_.to(".button_small.is-navbar",{top:"1.75rem",duration:.2,ease:"loader2"},"<");function Ey(){let i=document.querySelectorAll('[wide="customCursor"]'),e=document.querySelector(".custom_cursor");i.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(i){document.querySelectorAll(".herofixedsection").forEach((r,n)=>{j.create({trigger:r,start:()=>r.offsetHeight<window.innerHeight?"top top":"bottom bottom",pin:!0,markers:!1,pinSpacing:!1,scrub:3})});let t=document.querySelector(".cover-bg");t&&j.create({trigger:".cover-bg",start:"bottom center+=300",end:"bottom top+=400",scrub:!0,onUpdate:r=>{V.to(t,{opacity:r.progress,overwrite:!0})}})};window.servicesSliders=function(i){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 Gr(i,e).mount();window.innerWidth>992&&t.on("click",function(){t.go("+1")}),V.from(i,{scrollTrigger:{trigger:i,start:"top bottom",end:"bottom bottom+=15%",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.standardHeaderScrollAnimation=function(){let i=V.timeline({paused:!0}),e=V.timeline({paused:!0});i.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),j.create({start:"top+=100 top",onEnter:()=>{e.pause(0),i.restart()},onLeaveBack:()=>{i.pause(0),e.restart()}})};window.videoInsideText=function(i){let e=i.querySelector('[class*="copy-this"]');i.querySelector('[class*="headline-span"]').appendChild(e)};window.spanVideoMaskAnimation=function(i){V.to(i,{scrollTrigger:{trigger:i,start:"bottom bottom-=5%"},width:0,ease:"loader2",duration:.6})};window.customCursorText=function(i){i.addEventListener("mouseenter",()=>{let e=i.getAttribute("wideCursorText"),t=document.querySelector(".custom_cursor_text");t.innerHTML=e})};window.heroAnimationOnLoad=function(i){console.log("heroAnimationOnLoad function started"),V.set(".wideletter",{y:"-150%",scale:1}),typeof Mt<"u"?(console.log("Lenis instance found, attempting to scroll to top"),setTimeout(()=>{Mt.scrollTo(0,{duration:0,easing:a=>a}),console.log("Lenis scrollTo action called after delay")},100)):console.log("Lenis instance not found");let e=i.querySelector(".hero_headline_ract-mask"),t=i.querySelector("video"),r=V.timeline({}),n=new Gt("#heroHeading",{type:"lines",linesClass:"hero-line"}),o=new Gt("#heroHeading",{type:"lines",linesClass:"hero-line-mask"});if(document.querySelectorAll(".hero-line").length===0){console.error("GSAP target .hero-line not found.");return}console.log("Initial settings applied to hero lines"),V.set("#heroHeading",{opacity:0}),V.set(".hero-line",{y:"100%"}),r.to(".navbar_brand_lottie",{duration:1.5,progress:1,onComplete:function(){console.log("Lottie animation completed"),V.to(".navbar_brand_lottie",{opacity:0,duration:.25})}}),r.to("#heroHeading",{opacity:1,duration:.1,ease:"none"},"+=0.1"),r.fromTo(".hero-line",{y:"100%"},{duration:.75,y:"0%",stagger:.2,ease:"loader2"},"<"),r.to("#heroHeading",{opacity:0,duration:.3,ease:"loader2"},"+=1"),r.to(".preloader",{scaleY:0,display:"none",duration:1,ease:"loader"}),r.fromTo(".wideletter",{y:"-150%",scale:1},{y:"0%",duration:1,ease:"loader2",stagger:.1},"-=0.5"),r.call(()=>{t&&(console.log("Playing video"),t.play())},null,">"),r.from("#heroBottomWrapper",{opacity:0,duration:1,ease:"loader2"},">-0.4"),console.log("Animation timeline setup completed")};window.briefContact=function(i){let e=document.querySelector(".brief-button"),t=document.querySelector("#bottomWrapperOverlay");function r(){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",r),r(),V.utils.toArray("section").forEach((n,o)=>{j.create({trigger:n,start:"top top",end:"bottom top",toggleClass:{targets:e,className:"scrolled-over",addTriggerCondition:s=>s.direction===-1}})})};window.contactUsHide=function(i){V.to(i,{autoAlpha:0,duration:.15,ease:"loader2",scrollTrigger:{trigger:".contactushide",start:"top center",toggleActions:"play none none reverse"}})};window.caseCategories=function(i){let e=document.querySelectorAll(".summary-title");function t(){e.forEach(r=>{r.style.color=""})}e.forEach(r=>{r.addEventListener("mouseenter",()=>{e.forEach(n=>{V.to(n,{duration:0,color:"var(--wide-gray-400)"})}),V.to(r,{duration:0,color:"var(--wide-black)"})}),r.addEventListener("mouseleave",()=>{setTimeout(()=>{Array.from(e).some(o=>o.matches(":hover"))||t()},0)})})};window.textScroll=function(i){let e=V.timeline({scrollTrigger:{trigger:".stats-content_wrapper",start:"top center+=200"}}),t=new Gt("#heroHeading",{type:"lines",linesClass:"hero-line"}),r=new Gt("#heroHeading",{type:"lines",linesClass:"hero-line-mask"});if(document.querySelectorAll(".hero-line").length===0){console.error("GSAP target .hero-line not found.");return}V.set(".hero-line",{y:"100%"}),V.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(i){let e=i.querySelectorAll(".hover-title"),t=i.querySelectorAll(".hover-mask"),r=i.querySelectorAll(".hover-trigger");function n(){e.forEach(s=>{s.style.opacity=""})}function o(s){s.querySelectorAll(".bg-video").forEach(u=>{u.style.display=""})}r.forEach((s,a)=>{let u=!1,l=V.fromTo(t[a],{height:"0rem"},{height:"29.6rem",ease:"loader",duration:.5,paused:!0}),c=Array.from(t[a].querySelectorAll(".bg-video")).reverse(),d=V.timeline({paused:!0,repeat:-1});c.forEach((p,f)=>{d.to(p,{display:"none",duration:0,delay:1},f*1)}),s.addEventListener("mouseenter",()=>{u=!0,e[a].style.zIndex=21,l.restart().play(),e.forEach((p,f)=>{f!==a&&V.to(p,{duration:0,opacity:.2})}),V.to(e[a],{duration:0,opacity:1}),l.eventCallback("onComplete",()=>{d.restart().play()})}),s.addEventListener("mouseleave",()=>{u=!1,e[a].style.zIndex="",l.reverse(),d.pause().seek(0),o(t[a]),setTimeout(()=>{Array.from(r).some(f=>f.matches(":hover"))||n()},0)})})};window.animationTest=function(i){let e=i.querySelectorAll(".hover-title"),t=i.querySelectorAll(".hover-mask"),r=i.querySelectorAll(".hover-wrapper");function n(){e.forEach(a=>{a.style.opacity=""})}function o(a){a.querySelectorAll(".bg-video").forEach(l=>{l.style.display=""})}function s(a,u){let l=window.innerWidth,c=window.innerHeight,d=23.75*16,p=17.5*16,_=u.querySelector(".hover-title").getBoundingClientRect(),h,g;do h=Math.max(0,Math.random()*(l-d)),g=Math.max(0,Math.random()*(c-p));while(h<_.right&&h+d>_.left&&g<_.bottom&&g+p>_.top);a.style.left=`${h}px`,a.style.top=`${g}px`}r.forEach((a,u)=>{let l=!1,c=V.fromTo(t[u],{height:"0rem"},{height:"17.5rem",ease:"loader",duration:.4,paused:!0}),d=Array.from(t[u].querySelectorAll(".bg-video")).reverse(),p=V.timeline({paused:!0,repeat:-1});d.forEach((f,_)=>{p.to(f,{display:"block",duration:0},_*.65).to(f,{display:"none",duration:0,delay:.65},_*.65)}),p.to(d,{display:"block",duration:0}),c.eventCallback("onComplete",()=>{l&&p.restart().play()}),a.addEventListener("mouseenter",()=>{l=!0,s(t[u],a),c.restart().play(),e.forEach((f,_)=>{_!==u&&V.to(f,{duration:0,opacity:.2})}),V.to(e[u],{duration:0,opacity:1})}),a.addEventListener("mouseleave",()=>{l=!1,c.reverse(),p.pause().seek(0),o(t[u]),setTimeout(()=>{Array.from(r).some(_=>_.matches(":hover"))||n()},0)})})};window.animationTest1=function(i){let e=i.querySelectorAll(".hover-title"),t=i.querySelectorAll(".hover-mask"),r=i.querySelectorAll(".hover-wrapper");function n(){e.forEach(a=>{a.style.opacity=""})}function o(a){if(!a)return;a.querySelectorAll(".bg-video").forEach(l=>{V.set(l,{display:"none",x:0,y:0})})}function s(a){if(!a)return;let u=window.innerWidth,l=window.innerHeight,c=23.75*16,d=17.5*16,p=u-c,f=l-d,_=Math.max(0,Math.random()*p),h=Math.max(0,Math.random()*f);a.style.left=`${_}px`,a.style.top=`${h}px`}t.forEach(a=>{a.querySelectorAll(".bg-video").forEach(l=>{V.set(l,{display:"none"})})}),r.forEach((a,u)=>{if(!t[u])return;let l=!1,c=null,d=V.timeline({paused:!0}),p=Array.from(t[u].querySelectorAll(".bg-video"));function f(){p.forEach(_=>s(_))}a.addEventListener("mouseenter",()=>{l=!0,f(),t[u].style.display="flex",e.forEach((g,m)=>{m!==u&&V.to(g,{duration:0,opacity:.2})}),V.to(e[u],{duration:0,opacity:1}),c=V.timeline(),p.forEach((g,m)=>{c.to(g,{display:"inline-block",duration:0,onStart:()=>s(g)},m)}),c.play();let _=p.map(g=>V.quickSetter(g,"x","px")),h=p.map(g=>V.quickSetter(g,"y","px"));a.addEventListener("mousemove",g=>{let{clientX:m,clientY:v}=g,y=window.innerWidth/2,w=window.innerHeight/2,b=(m-y)*.35,x=(v-w)*.35;p.forEach((E,S)=>{V.to(E,{x:b,y:x,delay:S*.1,duration:1,ease:"power2.out",overwrite:"auto"})})})}),a.addEventListener("mouseleave",()=>{l=!1,t[u].style.display="none",o(t[u]),c&&(c.kill(),c=null),d&&(d.kill(),d=V.timeline({paused:!0})),setTimeout(()=>{Array.from(r).some(h=>h.matches(":hover"))||n()},0)})})};window.animationTest2=function(i){let e=i.querySelectorAll(".hover-title"),t=i.querySelectorAll(".hover-mask"),r=i.querySelectorAll(".hover-wrapper");function n(){e.forEach(a=>{a.style.opacity=""})}function o(a){a.querySelectorAll(".bg-video").forEach(l=>{l.style.display=""})}function s(a){let u=window.innerWidth,l=window.innerHeight,c=23.75*16,d=17.5*16,p=u-c,f=l-d,_=Math.max(0,Math.random()*p),h=Math.max(0,Math.random()*f);a.style.left=`${_}px`,a.style.top=`${h}px`}r.forEach((a,u)=>{let l=!1,c=V.fromTo(t[u],{height:"0rem"},{height:"17.5rem",ease:"loader",duration:.5,paused:!0}),d=Array.from(t[u].querySelectorAll(".bg-video")).reverse();function p(){d.forEach(f=>s(f))}a.addEventListener("mouseenter",()=>{l=!0,p(),s(t[u]),c.restart().play(),e.forEach((f,_)=>{_!==u&&V.to(f,{duration:0,opacity:.2})}),V.to(e[u],{duration:0,opacity:1}),c.eventCallback("onComplete",()=>{d.forEach(f=>{V.set(f,{display:"inline-block"})})})}),a.addEventListener("mousemove",f=>{if(!l)return;let{clientX:_,clientY:h}=f,g=window.innerWidth/2,m=window.innerHeight/2,v=(_-g)*1,y=(h-m)*1;d.forEach((w,b)=>{V.to(w,{x:v,y,delay:b*.05,duration:.5,ease:"power2.out",overwrite:"auto"})})}),a.addEventListener("mouseleave",()=>{l=!1,c.reverse(),o(t[u]),setTimeout(()=>{Array.from(r).some(_=>_.matches(":hover"))||n()},0)})})};window.animationTest3=function(i){let e=i.querySelectorAll(".hover-title"),t=i.querySelectorAll(".hover-mask"),r=i.querySelectorAll(".hover-wrapper");function n(){e.forEach(a=>{a.style.opacity=""})}function o(a){a.querySelectorAll(".bg-video").forEach(l=>{l.style.display=""})}function s(a,u,l){let p=u-190,f=l-280/2;a.style.left=`${p}px`,a.style.top=`${f}px`}r.forEach((a,u)=>{let l=!1,c=V.fromTo(t[u],{height:"0rem"},{height:"17.5rem",ease:"loader",duration:.5,paused:!0}),d=Array.from(t[u].querySelectorAll(".bg-video")).reverse(),p=V.timeline({paused:!0,repeat:-1});d.forEach((f,_)=>{p.to(f,{display:"none",duration:0,delay:1},_*1)}),a.addEventListener("mouseenter",f=>{l=!0,s(t[u],f.clientX,f.clientY),c.restart().play(),e.forEach((_,h)=>{h!==u&&V.to(_,{duration:0,opacity:.2})}),V.to(e[u],{duration:0,opacity:1}),c.eventCallback("onComplete",()=>{p.restart().play()})}),a.addEventListener("mousemove",f=>{l&&s(t[u],f.clientX,f.clientY)}),a.addEventListener("mouseleave",()=>{l=!1,c.reverse(),p.pause().seek(0),o(t[u]),setTimeout(()=>{Array.from(r).some(_=>_.matches(":hover"))||n()},0)})})};window.caseStudyInteraction=function(i){let e=i.querySelector(".portfolio_item_image-mask");if(!e){console.error("Mask element not found in:",i);return}let t=V.from(e,{width:"100%",duration:.35,ease:"loader2",paused:!0});j.create({animation:t,trigger:e,start:"top 80%",onEnter:()=>t.play()});let r=i.getElementsByTagName("video");if(window.innerWidth>992){let o=function(){n.play()},s=function(){n.pause(),n.currentTime=0,n.load()},n=r.length>0?r[0]:null;if(!n){console.error("No video element found in:",i);return}n.addEventListener("loadeddata",()=>{n.pause()}),i.addEventListener("mouseenter",o,!1),i.addEventListener("mouseleave",s,!1)}else Array.from(r).forEach(n=>{let o=n.getAttribute("poster");n.innerHTML="",n.setAttribute("poster",o),n.load(),n.pause()})};var y_=V.utils.toArray(".panel"),by=y_.map(i=>j.create({trigger:i,start:"top top"}));y_.forEach((i,e)=>{j.create({trigger:i,start:()=>i.offsetHeight<window.innerHeight?"top top":"bottom bottom",pin:!0,pinSpacing:!1})});j.create({snap:{snapTo:(i,e)=>{let t=by.map(n=>n.start),r=V.utils.snap(t,e.scroll());return V.utils.normalize(0,j.maxScroll(window),r)},duration:.5}});window.reviewsSlider=function(i){let e=i.querySelector(".splide__slide.reviews_collection_item.is-static").innerHTML,t=i.querySelector(".reviews_collection_item");t.innerHTML=e,t.classList.add("is-static");let r=new Gr(i,{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&&r.on("click",function(){r.go("+1")}),V.from(i,{scrollTrigger:{trigger:i,start:"top bottom",end:"bottom bottom-=15%",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.reviewsSlider=function(i){let e=i.querySelector(".splide__slide.reviews_collection_item.is-static").innerHTML,t=i.querySelector(".reviews_collection_item");t.innerHTML=e,t.classList.add("is-static");let r=new Gr(i,{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&&r.on("click",function(){r.go("+1")}),V.from(i,{scrollTrigger:{trigger:i,start:"top bottom",end:"bottom bottom-=15%",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.factsSlider=function(i){let e=new Gr(i,{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")}),i.querySelectorAll(".external_link.is-cursor").forEach(a=>{a.addEventListener("click",()=>{event.stopPropagation()})});function r(a){var u=e.Components.Elements.slides[a],l=u.querySelector("video");l&&l.play()}function n(a){var u=e.Components.Elements.slides;u.forEach(function(l,c){var d=l.querySelector("video");d&&c!==a&&(d.pause(),d.currentTime=0)})}function o(a){V.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){V.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){r(a);var u=e.Components.Elements.slides[a];o(u)}),e.on("moved",function(a){n(a);var u=e.Components.Elements.slides[a];s(u)})};window.teamSlider=function(i){let e=i.querySelector(".team_collection_list"),t=Array.from(e.children);t.sort(function(){return .5-Math.random()}),t.forEach(function(r){e.appendChild(r)}),new Gr(i,{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(),V.from(i,{scrollTrigger:{trigger:i,start:"top bottom",end:"bottom bottom",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.elementPaddingChange=function(i){V.to(i,{scrollTrigger:{trigger:i,start:"top bottom",end:"top top",toggleActions:"restart none none reverse",scrub:1},paddingLeft:"0rem",paddingRight:"0rem",ease:"linear"})};window.sectionBgChange=function(i){V.set(i,{backgroundColor:"#fff"}),V.set("#heroNavbarLottie path",{fill:"rgb(21, 21, 21)"});let e=V.timeline({duration:.15,ease:"loader2",scrollTrigger:{trigger:i,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(i){let e=V.timeline({duration:.15,ease:"loader2",scrollTrigger:{trigger:i,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(i){let t=i.querySelectorAll('[class*="item_mask"]'),r=i.querySelectorAll('[class*="image"]');V.from(t,{scrollTrigger:{trigger:t,start:"top bottom-=25%"},width:"0%",duration:.7,ease:"loader2",stagger:.15}),V.from(r,{scrollTrigger:{trigger:t,start:"top bottom-=25%"},opacity:0,delay:.4,duration:.45,ease:"loader2",stagger:.15})};window.heroSpanVideoOnHover=function(i){window.customCursorText(i);let e=V.timeline({paused:!0,ease:"loader2"});e.to(".hero-line-mask",{clipPath:"none",duration:.05},">"),e.to(i,{scale:2,duration:.35},">"),window.innerWidth>992&&(i.addEventListener("mouseenter",()=>{e.timeScale(1).play()}),i.addEventListener("mouseleave",()=>{e.timeScale(2).reverse()}))};window.reelModal=function(){let i=document.querySelectorAll('[wideClick="playReel"]'),e=document.querySelector(".reel-modal"),t=document.getElementById("fullReel"),r=0,n=V.timeline({ease:"loader2",paused:!0});n.to(e,{display:"flex",opacity:0,duration:0}),n.to(e,{opacity:1,duration:.6},">"),window.innerWidth>992?(i.forEach(o=>{o.addEventListener("click",()=>{if(Mt.stop(),n.timeScale(1).play(),r===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(),Mt.start()}),window.addEventListener("keydown",function(o){o.keyCode===27&&(n.timeScale(4).reverse(),t.pause(),Mt.start())})):(i.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(i){let e=i.querySelector(".line"),t=i.querySelector(".arrow"),r=V.timeline({paused:!0,ease:"loader2"});r.from(i,{x:"5%",opacity:0,duration:.4}),r.from(e,{drawSVG:"0% 0%",duration:.2},">-0.2"),r.from(t,{drawSVG:"0% 0%",duration:.15}),window.innerWidth>992&&(i.addEventListener("mouseenter",()=>{r.timeScale(1).play()}),i.addEventListener("mouseleave",()=>{r.timeScale(3).reverse()}))};window.clientsMapActions=function(i){let e=V.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+"']"),u=V.timeline({});u.to(s,{opacity:0,ease:"loader2",duration:.1}),u.to(s,{display:"none",duration:.01}),u.to(a,{display:"block",duration:.01}),u.to(a,{opacity:1,ease:"loader2",duration:.2})})});let r=document.querySelectorAll(".map_info-wrapper");for(let n=0;n<r.length;n++){let o=r[n].getAttribute("href");o&&o.length>3&&(r[n].style.cursor="pointer")}};window.statsHeadlineAnimation=function(){let i=V.timeline({scrollTrigger:{trigger:"#statsKnow",start:"center center",toggleActions:"restart none none reverse",end:"+=500"},pause:"paused",ease:"defaultEase"}),e=new Gt("#statsDone",{type:"lines",linesClass:"stats-line"}),t=new Gt("#statsDone",{type:"lines",linesClass:"stats-line-mask"});i.to("#statsKnow",{duration:.5,opacity:0,display:"none"},">"),i.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,""));V.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(i){console.log("Initializing Splide on element:",i);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 Gr(i,e).mount();console.log("Splide instance:",t),window.innerWidth>992&&t.on("click",function(){t.go("+1")}),V.from(i,{scrollTrigger:{trigger:i,start:"top bottom",end:"bottom bottom+=15%",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.whatsNext=function(){let i=document.querySelectorAll(".whats-next_links_item.is-case"),e=document.querySelector(".whats-next_links_item.is-all");i.forEach(r=>{let n=r.querySelector(".whats-next_links_item_image_mask"),o=r.querySelector(".whats-next_links_item_image-wrapper"),s=V.timeline({paused:!0,ease:"loader2"});s.to(o,{opacity:.8,duration:.15}),s.to(n,{width:"0%",duration:.3},">-0."),r.addEventListener("mouseenter",()=>{s.timeScale(1).play(),i.forEach(a=>{a!==event.target&&V.to(a,{color:"#7A7A7A",duration:.2,ease:"loader2"})})}),r.addEventListener("mouseleave",()=>{s.timeScale(3).reverse(),i.forEach(a=>{a!==event.target&&V.to(a,{color:"#fff",duration:.1,ease:"loader2"})})})}),e.addEventListener("mouseenter",()=>{V.to(e,{color:"#fff",duration:.2,ease:"loader2"}),i.forEach(r=>{V.to(r,{color:"#7A7A7A",duration:.2,ease:"loader2"})})}),e.addEventListener("mouseleave",()=>{V.to(e,{color:"#7A7A7A",duration:.2,ease:"loader2"}),i.forEach(r=>{V.to(r,{color:"#fff",duration:.2,ease:"loader2"})})});for(var t=0;t<document.getElementsByTagName("img").length;t++)document.getElementsByTagName("img")[t].srcset="";for(var t=0;t<document.getElementsByTagName("img").length;t++)document.getElementsByTagName("img")[t].sizes=""};window.csMaskAnimation=function(){document.querySelectorAll(".portfolio_item_image-mask").forEach((e,t)=>{if(t===0)return;let r=V.from(e,{width:"100%",duration:.7,ease:"loader2",paused:!0});j.create({animation:r,trigger:e,start:"top 80%",onEnter:()=>r.play()})})};window.updateScrollTrigger=function(){window.onload=function(){j.update()}};window.blogPostMaskAnimation=function(i){let e=document.querySelector("#heroSection"),t=V.from(".post_main-mask-ract",{left:"0%",ease:"loader2"});j.create({animation:t,trigger:e,start:"top -5%",end:"bottom 50%",scrub:.5})};window.changeCheckboxLabelColor=function(){let i=document.querySelectorAll(".w-checkbox-input"),e=function(t,r){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")}};i.forEach(function(t){let r={attributes:!0,attributeFilter:["class"]};new MutationObserver(e).observe(t,r)})};window.openContactModal=function(){fs.play(),document.body.classList.add("is-scroll-off"),Mt.stop()};window.closeContactModal=function(){fs.timeScale(1).reverse(),document.body.classList.remove("is-scroll-off"),Mt.start()};window.closeContactModalOnEsc=function(i){document.addEventListener("keydown",function(e){e.key==="Escape"&&window.closeContactModal()})};window.successMsgAnimation=function(i){let e=V.timeline({}),t=new Gt("#successHoooray, #successHeadiline",{type:"lines",linesClass:"hero-line"}),r=new Gt("#successHoooray, #successHeadiline",{type:"lines",linesClass:"hero-line-mask"});e.from(".hero-line",{duration:1.2,y:"100%",stagger:.2,ease:"loader2"}),e.to(i,{width:"0%",duration:.6,ease:"loader2"},">-0.5"),e.from("#successParagraph",{opacity:0,duration:.3,ease:"loader2"},">-0.4")};window.formSubmitAnimation=function(i){function e(){let t=document.querySelector(".contact-modal_form-success"),r={attributes:!0,attributeFilter:["style"]};new MutationObserver(function(o,s){o.forEach(function(a){a.target.style.display==="block"&&successMsgAnimation(i)})}).observe(t,r)}e()};window.scrollTriggerRefresh=function(){function i(){j.refresh()}let e=new MutationObserver(i),t=document.querySelector(".section.is-post-body"),r={attributes:!0,childList:!0,subtree:!0};e.observe(t,r)};window.closeInfoBar=function(){let i=V.timeline({});i.to(".info-bar",{height:0,autoAlpha:0,duration:.3,ease:"loader2"}),i.to(".button_small.is-navbar",{top:"1.75rem",duration:.3,ease:"loader2"},"<"),i.to("#heroSection",{paddingTop:"6.5rem",duration:.3,ease:"loader2"},"<")};window.Webflow||=[];window.Webflow.push(()=>{console.log("The new code source is loaded!"),nd(),gy(),Webflow.env("editor")===void 0?(_y(),Mt.start()):(console.log("Editor mode ON"),Mt.destroy()),hy(),my(),Dy(),yy(),Ey(),py(),vy()});})();
|
|
5
|
+
`:""}`,e),setTimeout(()=>{throw i},0)}var ys=!0;function hf(i){let e=ys;ys=!1;let t=i();return ys=e,t}function Oi(i,e,t={}){let r;return ft(i,e)(n=>r=n,t),r}function ft(...i){return pf(...i)}var pf=_f;function H_(i){pf=i}function _f(i,e){let t={};ru(t,i);let r=[t,...fn(i)],n=typeof e=="function"?W_(r,e):Y_(r,e,i);return V_.bind(null,i,e,n)}function W_(i,e){return(t=()=>{},{scope:r={},params:n=[]}={})=>{let o=e.apply(ao([r,...i]),n);bs(t,o)}}var $a={};function q_(i,e){if($a[i])return $a[i];let t=Object.getPrototypeOf(async function(){}).constructor,r=/^[\n\s]*if.*\(.*\)/.test(i.trim())||/^(let|const)\s/.test(i.trim())?`(async()=>{ ${i} })()`:i,o=(()=>{try{let s=new t(["__self","scope"],`with (scope) { __self.result = ${r} }; __self.finished = true; return __self.result;`);return Object.defineProperty(s,"name",{value:`[Alpine] ${i}`}),s}catch(s){return no(s,e,i),Promise.resolve()}})();return $a[i]=o,o}function Y_(i,e,t){let r=q_(e,t);return(n=()=>{},{scope:o={},params:s=[]}={})=>{r.result=void 0,r.finished=!1;let a=ao([o,...i]);if(typeof r=="function"){let u=r(r,a).catch(l=>no(l,t,e));r.finished?(bs(n,r.result,a,s,t),r.result=void 0):u.then(l=>{bs(n,l,a,s,t)}).catch(l=>no(l,t,e)).finally(()=>r.result=void 0)}}}function bs(i,e,t,r,n){if(ys&&typeof e=="function"){let o=e.apply(t,r);o instanceof Promise?o.then(s=>bs(i,s,t,r)).catch(s=>no(s,n,e)):i(o)}else typeof e=="object"&&e instanceof Promise?e.then(o=>i(o)):i(e)}var Eu="x-";function _n(i=""){return Eu+i}function X_(i){Eu=i}var iu={};function Ne(i,e){return iu[i]=e,{before(t){if(!iu[t]){console.warn("Cannot find directive `${directive}`. `${name}` will use the default order of execution");return}let r=Ai.indexOf(t);Ai.splice(r>=0?r:Ai.indexOf("DEFAULT"),0,i)}}}function xu(i,e,t){if(e=Array.from(e),i._x_virtualDirectives){let o=Object.entries(i._x_virtualDirectives).map(([a,u])=>({name:a,value:u})),s=gf(o);o=o.map(a=>s.find(u=>u.name===a.name)?{name:`x-bind:${a.name}`,value:`"${a.value}"`}:a),e=e.concat(o)}let r={};return e.map(wf((o,s)=>r[o]=s)).filter(Ef).map($_(r,t)).sort(j_).map(o=>G_(i,o))}function gf(i){return Array.from(i).map(wf()).filter(e=>!Ef(e))}var nu=!1,eo=new Map,mf=Symbol();function U_(i){nu=!0;let e=Symbol();mf=e,eo.set(e,[]);let t=()=>{for(;eo.get(e).length;)eo.get(e).shift()();eo.delete(e)},r=()=>{nu=!1,t()};i(t),r()}function vf(i){let e=[],t=a=>e.push(a),[r,n]=T_(i);return e.push(n),[{Alpine:uo,effect:r,cleanup:t,evaluateLater:ft.bind(ft,i),evaluate:Oi.bind(Oi,i)},()=>e.forEach(a=>a())]}function G_(i,e){let t=()=>{},r=iu[e.type]||t,[n,o]=vf(i);sf(i,e.original,o);let s=()=>{i._x_ignore||i._x_ignoreSelf||(r.inline&&r.inline(i,e,n),r=r.bind(r,i,e,n),nu?eo.get(mf).push(r):r())};return s.runCleanups=o,s}var Df=(i,e)=>({name:t,value:r})=>(t.startsWith(i)&&(t=t.replace(i,e)),{name:t,value:r}),yf=i=>i;function wf(i=()=>{}){return({name:e,value:t})=>{let{name:r,value:n}=bf.reduce((o,s)=>s(o),{name:e,value:t});return r!==e&&i(r,e),{name:r,value:n}}}var bf=[];function Su(i){bf.push(i)}function Ef({name:i}){return xf().test(i)}var xf=()=>new RegExp(`^${Eu}([^:^.]+)\\b`);function $_(i,e){return({name:t,value:r})=>{let n=t.match(xf()),o=t.match(/:([a-zA-Z0-9\-:]+)/),s=t.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],a=e||i[t]||t;return{type:n?n[1]:null,value:o?o[1]:null,modifiers:s.map(u=>u.replace(".","")),expression:r,original:a}}}var ou="DEFAULT",Ai=["ignore","ref","data","id","bind","init","for","model","modelable","transition","show","if",ou,"teleport"];function j_(i,e){let t=Ai.indexOf(i.type)===-1?ou:i.type,r=Ai.indexOf(e.type)===-1?ou:e.type;return Ai.indexOf(t)-Ai.indexOf(r)}var su=[],Cu=!1;function Tu(i=()=>{}){return queueMicrotask(()=>{Cu||setTimeout(()=>{au()})}),new Promise(e=>{su.push(()=>{i(),e()})})}function au(){for(Cu=!1;su.length;)su.shift()()}function K_(){Cu=!0}function Au(i,e){return Array.isArray(e)?Rc(i,e.join(" ")):typeof e=="object"&&e!==null?Z_(i,e):typeof e=="function"?Au(i,e()):Rc(i,e)}function Rc(i,e){let t=o=>o.split(" ").filter(Boolean),r=o=>o.split(" ").filter(s=>!i.classList.contains(s)).filter(Boolean),n=o=>(i.classList.add(...o),()=>{i.classList.remove(...o)});return e=e===!0?e="":e||"",n(r(e))}function Z_(i,e){let t=a=>a.split(" ").filter(Boolean),r=Object.entries(e).flatMap(([a,u])=>u?t(a):!1).filter(Boolean),n=Object.entries(e).flatMap(([a,u])=>u?!1:t(a)).filter(Boolean),o=[],s=[];return n.forEach(a=>{i.classList.contains(a)&&(i.classList.remove(a),s.push(a))}),r.forEach(a=>{i.classList.contains(a)||(i.classList.add(a),o.push(a))}),()=>{s.forEach(a=>i.classList.add(a)),o.forEach(a=>i.classList.remove(a))}}function Cs(i,e){return typeof e=="object"&&e!==null?Q_(i,e):J_(i,e)}function Q_(i,e){let t={};return Object.entries(e).forEach(([r,n])=>{t[r]=i.style[r],r.startsWith("--")||(r=eg(r)),i.style.setProperty(r,n)}),setTimeout(()=>{i.style.length===0&&i.removeAttribute("style")}),()=>{Cs(i,t)}}function J_(i,e){let t=i.getAttribute("style",e);return i.setAttribute("style",e),()=>{i.setAttribute("style",t||"")}}function eg(i){return i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function uu(i,e=()=>{}){let t=!1;return function(){t?e.apply(this,arguments):(t=!0,i.apply(this,arguments))}}Ne("transition",(i,{value:e,modifiers:t,expression:r},{evaluate:n})=>{typeof r=="function"&&(r=n(r)),r!==!1&&(!r||typeof r=="boolean"?rg(i,t,e):tg(i,r,e))});function tg(i,e,t){Sf(i,Au,""),{enter:n=>{i._x_transition.enter.during=n},"enter-start":n=>{i._x_transition.enter.start=n},"enter-end":n=>{i._x_transition.enter.end=n},leave:n=>{i._x_transition.leave.during=n},"leave-start":n=>{i._x_transition.leave.start=n},"leave-end":n=>{i._x_transition.leave.end=n}}[t](e)}function rg(i,e,t){Sf(i,Cs);let r=!e.includes("in")&&!e.includes("out")&&!t,n=r||e.includes("in")||["enter"].includes(t),o=r||e.includes("out")||["leave"].includes(t);e.includes("in")&&!r&&(e=e.filter((m,v)=>v<e.indexOf("out"))),e.includes("out")&&!r&&(e=e.filter((m,v)=>v>e.indexOf("out")));let s=!e.includes("opacity")&&!e.includes("scale"),a=s||e.includes("opacity"),u=s||e.includes("scale"),l=a?0:1,c=u?Qn(e,"scale",95)/100:1,d=Qn(e,"delay",0)/1e3,p=Qn(e,"origin","center"),f="opacity, transform",_=Qn(e,"duration",150)/1e3,h=Qn(e,"duration",75)/1e3,g="cubic-bezier(0.4, 0.0, 0.2, 1)";n&&(i._x_transition.enter.during={transformOrigin:p,transitionDelay:`${d}s`,transitionProperty:f,transitionDuration:`${_}s`,transitionTimingFunction:g},i._x_transition.enter.start={opacity:l,transform:`scale(${c})`},i._x_transition.enter.end={opacity:1,transform:"scale(1)"}),o&&(i._x_transition.leave.during={transformOrigin:p,transitionDelay:`${d}s`,transitionProperty:f,transitionDuration:`${h}s`,transitionTimingFunction:g},i._x_transition.leave.start={opacity:1,transform:"scale(1)"},i._x_transition.leave.end={opacity:l,transform:`scale(${c})`})}function Sf(i,e,t={}){i._x_transition||(i._x_transition={enter:{during:t,start:t,end:t},leave:{during:t,start:t,end:t},in(r=()=>{},n=()=>{}){lu(i,e,{during:this.enter.during,start:this.enter.start,end:this.enter.end},r,n)},out(r=()=>{},n=()=>{}){lu(i,e,{during:this.leave.during,start:this.leave.start,end:this.leave.end},r,n)}})}window.Element.prototype._x_toggleAndCascadeWithTransitions=function(i,e,t,r){let n=document.visibilityState==="visible"?requestAnimationFrame:setTimeout,o=()=>n(t);if(e){i._x_transition&&(i._x_transition.enter||i._x_transition.leave)?i._x_transition.enter&&(Object.entries(i._x_transition.enter.during).length||Object.entries(i._x_transition.enter.start).length||Object.entries(i._x_transition.enter.end).length)?i._x_transition.in(t):o():i._x_transition?i._x_transition.in(t):o();return}i._x_hidePromise=i._x_transition?new Promise((s,a)=>{i._x_transition.out(()=>{},()=>s(r)),i._x_transitioning.beforeCancel(()=>a({isFromCancelledTransition:!0}))}):Promise.resolve(r),queueMicrotask(()=>{let s=Cf(i);s?(s._x_hideChildren||(s._x_hideChildren=[]),s._x_hideChildren.push(i)):n(()=>{let a=u=>{let l=Promise.all([u._x_hidePromise,...(u._x_hideChildren||[]).map(a)]).then(([c])=>c());return delete u._x_hidePromise,delete u._x_hideChildren,l};a(i).catch(u=>{if(!u.isFromCancelledTransition)throw u})})})};function Cf(i){let e=i.parentNode;if(e)return e._x_hidePromise?e:Cf(e)}function lu(i,e,{during:t,start:r,end:n}={},o=()=>{},s=()=>{}){if(i._x_transitioning&&i._x_transitioning.cancel(),Object.keys(t).length===0&&Object.keys(r).length===0&&Object.keys(n).length===0){o(),s();return}let a,u,l;ig(i,{start(){a=e(i,r)},during(){u=e(i,t)},before:o,end(){a(),l=e(i,n)},after:s,cleanup(){u(),l()}})}function ig(i,e){let t,r,n,o=uu(()=>{He(()=>{t=!0,r||e.before(),n||(e.end(),au()),e.after(),i.isConnected&&e.cleanup(),delete i._x_transitioning})});i._x_transitioning={beforeCancels:[],beforeCancel(s){this.beforeCancels.push(s)},cancel:uu(function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();o()}),finish:o},He(()=>{e.start(),e.during()}),K_(),requestAnimationFrame(()=>{if(t)return;let s=Number(getComputedStyle(i).transitionDuration.replace(/,.*/,"").replace("s",""))*1e3,a=Number(getComputedStyle(i).transitionDelay.replace(/,.*/,"").replace("s",""))*1e3;s===0&&(s=Number(getComputedStyle(i).animationDuration.replace("s",""))*1e3),He(()=>{e.before()}),r=!0,requestAnimationFrame(()=>{t||(He(()=>{e.end()}),au(),setTimeout(i._x_transitioning.finish,s+a),n=!0)})})}function Qn(i,e,t){if(i.indexOf(e)===-1)return t;let r=i[i.indexOf(e)+1];if(!r||e==="scale"&&isNaN(r))return t;if(e==="duration"||e==="delay"){let n=r.match(/([0-9]+)ms/);if(n)return n[1]}return e==="origin"&&["top","right","left","center","bottom"].includes(i[i.indexOf(e)+2])?[r,i[i.indexOf(e)+2]].join(" "):r}var ti=!1;function Ts(i,e=()=>{}){return(...t)=>ti?e(...t):i(...t)}function ng(i){return(...e)=>ti&&i(...e)}function og(i,e){i._x_dataStack&&(e._x_dataStack=i._x_dataStack,e.setAttribute("data-has-alpine-state",!0)),ti=!0,Tf(()=>{Or(e,(t,r)=>{r(t,()=>{})})}),ti=!1}var cu=!1;function sg(i,e){e._x_dataStack||(e._x_dataStack=i._x_dataStack),ti=!0,cu=!0,Tf(()=>{ag(e)}),ti=!1,cu=!1}function ag(i){let e=!1;Or(i,(r,n)=>{ei(r,(o,s)=>{if(e&&F_(o))return s();e=!0,n(o,s)})})}function Tf(i){let e=pn;Pc((t,r)=>{let n=e(t);return oo(n),()=>{}}),i(),Pc(e)}function ug(i){return ti?cu?!0:i.hasAttribute("data-has-alpine-state"):!1}function Af(i,e,t,r=[]){switch(i._x_bindings||(i._x_bindings=hn({})),i._x_bindings[e]=t,e=r.includes("camel")?gg(e):e,e){case"value":lg(i,t);break;case"style":fg(i,t);break;case"class":cg(i,t);break;case"selected":case"checked":dg(i,e,t);break;default:Ff(i,e,t);break}}function lg(i,e){if(i.type==="radio")i.attributes.value===void 0&&(i.value=e),window.fromModel&&(i.checked=Nc(i.value,e));else if(i.type==="checkbox")Number.isInteger(e)?i.value=e:!Array.isArray(e)&&typeof e!="boolean"&&![null,void 0].includes(e)?i.value=String(e):Array.isArray(e)?i.checked=e.some(t=>Nc(t,i.value)):i.checked=!!e;else if(i.tagName==="SELECT")_g(i,e);else{if(i.value===e)return;i.value=e===void 0?"":e}}function cg(i,e){i._x_undoAddedClasses&&i._x_undoAddedClasses(),i._x_undoAddedClasses=Au(i,e)}function fg(i,e){i._x_undoAddedStyles&&i._x_undoAddedStyles(),i._x_undoAddedStyles=Cs(i,e)}function dg(i,e,t){Ff(i,e,t),pg(i,e,t)}function Ff(i,e,t){[null,void 0,!1].includes(t)&&mg(e)?i.removeAttribute(e):(Of(e)&&(t=e),hg(i,e,t))}function hg(i,e,t){i.getAttribute(e)!=t&&i.setAttribute(e,t)}function pg(i,e,t){i[e]!==t&&(i[e]=t)}function _g(i,e){let t=[].concat(e).map(r=>r+"");Array.from(i.options).forEach(r=>{r.selected=t.includes(r.value)})}function gg(i){return i.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function Nc(i,e){return i==e}function Of(i){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(i)}function mg(i){return!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(i)}function vg(i,e,t){return i._x_bindings&&i._x_bindings[e]!==void 0?i._x_bindings[e]:Mf(i,e,t)}function Dg(i,e,t,r=!0){if(i._x_bindings&&i._x_bindings[e]!==void 0)return i._x_bindings[e];if(i._x_inlineBindings&&i._x_inlineBindings[e]!==void 0){let n=i._x_inlineBindings[e];return n.extract=r,hf(()=>Oi(i,n.expression))}return Mf(i,e,t)}function Mf(i,e,t){let r=i.getAttribute(e);return r===null?typeof t=="function"?t():t:r===""?!0:Of(e)?!![e,"true"].includes(r):r}function kf(i,e){var t;return function(){var r=this,n=arguments,o=function(){t=null,i.apply(r,n)};clearTimeout(t),t=setTimeout(o,e)}}function Pf(i,e){let t;return function(){let r=this,n=arguments;t||(i.apply(r,n),t=!0,setTimeout(()=>t=!1,e))}}function Lf({get:i,set:e},{get:t,set:r}){let n=!0,o,s,a,u,l=pn(()=>{let c,d;n?(c=i(),r(JSON.parse(JSON.stringify(c))),d=t(),n=!1):(c=i(),d=t(),a=JSON.stringify(c),u=JSON.stringify(d),a!==o?(d=t(),r(c),d=c):(e(JSON.parse(u??null)),c=d)),o=JSON.stringify(c),s=JSON.stringify(d)});return()=>{oo(l)}}function yg(i){(Array.isArray(i)?i:[i]).forEach(t=>t(uo))}var Ti={},Ic=!1;function wg(i,e){if(Ic||(Ti=hn(Ti),Ic=!0),e===void 0)return Ti[i];Ti[i]=e,typeof e=="object"&&e!==null&&e.hasOwnProperty("init")&&typeof e.init=="function"&&Ti[i].init(),cf(Ti[i])}function bg(){return Ti}var Rf={};function Eg(i,e){let t=typeof e!="function"?()=>e:e;return i instanceof Element?Nf(i,t()):(Rf[i]=t,()=>{})}function xg(i){return Object.entries(Rf).forEach(([e,t])=>{Object.defineProperty(i,e,{get(){return(...r)=>t(...r)}})}),i}function Nf(i,e,t){let r=[];for(;r.length;)r.pop()();let n=Object.entries(e).map(([s,a])=>({name:s,value:a})),o=gf(n);return n=n.map(s=>o.find(a=>a.name===s.name)?{name:`x-bind:${s.name}`,value:`"${s.value}"`}:s),xu(i,n,t).map(s=>{r.push(s.runCleanups),s()}),()=>{for(;r.length;)r.pop()()}}var If={};function Sg(i,e){If[i]=e}function Cg(i,e){return Object.entries(If).forEach(([t,r])=>{Object.defineProperty(i,t,{get(){return(...n)=>r.bind(e)(...n)},enumerable:!1})}),i}var Tg={get reactive(){return hn},get release(){return oo},get effect(){return pn},get raw(){return $c},version:"3.13.1",flushAndStopDeferringMutations:N_,dontAutoEvaluateFunctions:hf,disableEffectScheduling:S_,startObservingMutations:yu,stopObservingMutations:uf,setReactivityEngine:C_,onAttributeRemoved:sf,onAttributesAdded:of,closestDataStack:fn,skipDuringClone:Ts,onlyDuringClone:ng,addRootSelector:Qc,addInitSelector:Jc,addScopeToNode:so,deferMutations:R_,mapAttributes:Su,evaluateLater:ft,interceptInit:O_,setEvaluator:H_,mergeProxies:ao,extractProp:Dg,findClosest:Ss,onElRemoved:mu,closestRoot:xs,destroyTree:gu,interceptor:ff,transition:lu,setStyles:Cs,mutateDom:He,directive:Ne,entangle:Lf,throttle:Pf,debounce:kf,evaluate:Oi,initTree:Or,nextTick:Tu,prefixed:_n,prefix:X_,plugin:yg,magic:ir,store:wg,start:A_,clone:sg,cloneNode:og,bound:vg,$data:lf,walk:ei,data:Sg,bind:Eg},uo=Tg;function Bf(i,e){let t=Object.create(null),r=i.split(",");for(let n=0;n<r.length;n++)t[r[n]]=!0;return e?n=>!!t[n.toLowerCase()]:n=>!!t[n]}var Ag="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",xy=Bf(Ag+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),Fg=Object.freeze({}),Sy=Object.freeze([]),Og=Object.prototype.hasOwnProperty,As=(i,e)=>Og.call(i,e),Mi=Array.isArray,io=i=>zf(i)==="[object Map]",Mg=i=>typeof i=="string",Fu=i=>typeof i=="symbol",Fs=i=>i!==null&&typeof i=="object",kg=Object.prototype.toString,zf=i=>kg.call(i),Vf=i=>zf(i).slice(8,-1),Ou=i=>Mg(i)&&i!=="NaN"&&i[0]!=="-"&&""+parseInt(i,10)===i,Os=i=>{let e=Object.create(null);return t=>e[t]||(e[t]=i(t))},Pg=/-(\w)/g,Cy=Os(i=>i.replace(Pg,(e,t)=>t?t.toUpperCase():"")),Lg=/\B([A-Z])/g,Ty=Os(i=>i.replace(Lg,"-$1").toLowerCase()),Hf=Os(i=>i.charAt(0).toUpperCase()+i.slice(1)),Ay=Os(i=>i?`on${Hf(i)}`:""),Wf=(i,e)=>i!==e&&(i===i||e===e),fu=new WeakMap,Jn=[],hr,ki=Symbol("iterate"),du=Symbol("Map key iterate");function Rg(i){return i&&i._isEffect===!0}function Ng(i,e=Fg){Rg(i)&&(i=i.raw);let t=zg(i,e);return e.lazy||t(),t}function Ig(i){i.active&&(qf(i),i.options.onStop&&i.options.onStop(),i.active=!1)}var Bg=0;function zg(i,e){let t=function(){if(!t.active)return i();if(!Jn.includes(t)){qf(t);try{return Hg(),Jn.push(t),hr=t,i()}finally{Jn.pop(),Yf(),hr=Jn[Jn.length-1]}}};return t.id=Bg++,t.allowRecurse=!!e.allowRecurse,t._isEffect=!0,t.active=!0,t.raw=i,t.deps=[],t.options=e,t}function qf(i){let{deps:e}=i;if(e.length){for(let t=0;t<e.length;t++)e[t].delete(i);e.length=0}}var dn=!0,Mu=[];function Vg(){Mu.push(dn),dn=!1}function Hg(){Mu.push(dn),dn=!0}function Yf(){let i=Mu.pop();dn=i===void 0?!0:i}function rr(i,e,t){if(!dn||hr===void 0)return;let r=fu.get(i);r||fu.set(i,r=new Map);let n=r.get(t);n||r.set(t,n=new Set),n.has(hr)||(n.add(hr),hr.deps.push(n),hr.options.onTrack&&hr.options.onTrack({effect:hr,target:i,type:e,key:t}))}function ri(i,e,t,r,n,o){let s=fu.get(i);if(!s)return;let a=new Set,u=c=>{c&&c.forEach(d=>{(d!==hr||d.allowRecurse)&&a.add(d)})};if(e==="clear")s.forEach(u);else if(t==="length"&&Mi(i))s.forEach((c,d)=>{(d==="length"||d>=r)&&u(c)});else switch(t!==void 0&&u(s.get(t)),e){case"add":Mi(i)?Ou(t)&&u(s.get("length")):(u(s.get(ki)),io(i)&&u(s.get(du)));break;case"delete":Mi(i)||(u(s.get(ki)),io(i)&&u(s.get(du)));break;case"set":io(i)&&u(s.get(ki));break}let l=c=>{c.options.onTrigger&&c.options.onTrigger({effect:c,target:i,key:t,type:e,newValue:r,oldValue:n,oldTarget:o}),c.options.scheduler?c.options.scheduler(c):c()};a.forEach(l)}var Wg=Bf("__proto__,__v_isRef,__isVue"),Xf=new Set(Object.getOwnPropertyNames(Symbol).map(i=>Symbol[i]).filter(Fu)),qg=Uf(),Yg=Uf(!0),Bc=Xg();function Xg(){let i={};return["includes","indexOf","lastIndexOf"].forEach(e=>{i[e]=function(...t){let r=me(this);for(let o=0,s=this.length;o<s;o++)rr(r,"get",o+"");let n=r[e](...t);return n===-1||n===!1?r[e](...t.map(me)):n}}),["push","pop","shift","unshift","splice"].forEach(e=>{i[e]=function(...t){Vg();let r=me(this)[e].apply(this,t);return Yf(),r}}),i}function Uf(i=!1,e=!1){return function(r,n,o){if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_raw"&&o===(i?e?a0:Kf:e?s0:jf).get(r))return r;let s=Mi(r);if(!i&&s&&As(Bc,n))return Reflect.get(Bc,n,o);let a=Reflect.get(r,n,o);return(Fu(n)?Xf.has(n):Wg(n))||(i||rr(r,"get",n),e)?a:hu(a)?!s||!Ou(n)?a.value:a:Fs(a)?i?Zf(a):Ru(a):a}}var Ug=Gg();function Gg(i=!1){return function(t,r,n,o){let s=t[r];if(!i&&(n=me(n),s=me(s),!Mi(t)&&hu(s)&&!hu(n)))return s.value=n,!0;let a=Mi(t)&&Ou(r)?Number(r)<t.length:As(t,r),u=Reflect.set(t,r,n,o);return t===me(o)&&(a?Wf(n,s)&&ri(t,"set",r,n,s):ri(t,"add",r,n)),u}}function $g(i,e){let t=As(i,e),r=i[e],n=Reflect.deleteProperty(i,e);return n&&t&&ri(i,"delete",e,void 0,r),n}function jg(i,e){let t=Reflect.has(i,e);return(!Fu(e)||!Xf.has(e))&&rr(i,"has",e),t}function Kg(i){return rr(i,"iterate",Mi(i)?"length":ki),Reflect.ownKeys(i)}var Zg={get:qg,set:Ug,deleteProperty:$g,has:jg,ownKeys:Kg},Qg={get:Yg,set(i,e){return console.warn(`Set operation on key "${String(e)}" failed: target is readonly.`,i),!0},deleteProperty(i,e){return console.warn(`Delete operation on key "${String(e)}" failed: target is readonly.`,i),!0}},ku=i=>Fs(i)?Ru(i):i,Pu=i=>Fs(i)?Zf(i):i,Lu=i=>i,Ms=i=>Reflect.getPrototypeOf(i);function _s(i,e,t=!1,r=!1){i=i.__v_raw;let n=me(i),o=me(e);e!==o&&!t&&rr(n,"get",e),!t&&rr(n,"get",o);let{has:s}=Ms(n),a=r?Lu:t?Pu:ku;if(s.call(n,e))return a(i.get(e));if(s.call(n,o))return a(i.get(o));i!==n&&i.get(e)}function gs(i,e=!1){let t=this.__v_raw,r=me(t),n=me(i);return i!==n&&!e&&rr(r,"has",i),!e&&rr(r,"has",n),i===n?t.has(i):t.has(i)||t.has(n)}function ms(i,e=!1){return i=i.__v_raw,!e&&rr(me(i),"iterate",ki),Reflect.get(i,"size",i)}function zc(i){i=me(i);let e=me(this);return Ms(e).has.call(e,i)||(e.add(i),ri(e,"add",i,i)),this}function Vc(i,e){e=me(e);let t=me(this),{has:r,get:n}=Ms(t),o=r.call(t,i);o?$f(t,r,i):(i=me(i),o=r.call(t,i));let s=n.call(t,i);return t.set(i,e),o?Wf(e,s)&&ri(t,"set",i,e,s):ri(t,"add",i,e),this}function Hc(i){let e=me(this),{has:t,get:r}=Ms(e),n=t.call(e,i);n?$f(e,t,i):(i=me(i),n=t.call(e,i));let o=r?r.call(e,i):void 0,s=e.delete(i);return n&&ri(e,"delete",i,void 0,o),s}function Wc(){let i=me(this),e=i.size!==0,t=io(i)?new Map(i):new Set(i),r=i.clear();return e&&ri(i,"clear",void 0,void 0,t),r}function vs(i,e){return function(r,n){let o=this,s=o.__v_raw,a=me(s),u=e?Lu:i?Pu:ku;return!i&&rr(a,"iterate",ki),s.forEach((l,c)=>r.call(n,u(l),u(c),o))}}function Ds(i,e,t){return function(...r){let n=this.__v_raw,o=me(n),s=io(o),a=i==="entries"||i===Symbol.iterator&&s,u=i==="keys"&&s,l=n[i](...r),c=t?Lu:e?Pu:ku;return!e&&rr(o,"iterate",u?du:ki),{next(){let{value:d,done:p}=l.next();return p?{value:d,done:p}:{value:a?[c(d[0]),c(d[1])]:c(d),done:p}},[Symbol.iterator](){return this}}}}function Jr(i){return function(...e){{let t=e[0]?`on key "${e[0]}" `:"";console.warn(`${Hf(i)} operation ${t}failed: target is readonly.`,me(this))}return i==="delete"?!1:this}}function Jg(){let i={get(o){return _s(this,o)},get size(){return ms(this)},has:gs,add:zc,set:Vc,delete:Hc,clear:Wc,forEach:vs(!1,!1)},e={get(o){return _s(this,o,!1,!0)},get size(){return ms(this)},has:gs,add:zc,set:Vc,delete:Hc,clear:Wc,forEach:vs(!1,!0)},t={get(o){return _s(this,o,!0)},get size(){return ms(this,!0)},has(o){return gs.call(this,o,!0)},add:Jr("add"),set:Jr("set"),delete:Jr("delete"),clear:Jr("clear"),forEach:vs(!0,!1)},r={get(o){return _s(this,o,!0,!0)},get size(){return ms(this,!0)},has(o){return gs.call(this,o,!0)},add:Jr("add"),set:Jr("set"),delete:Jr("delete"),clear:Jr("clear"),forEach:vs(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{i[o]=Ds(o,!1,!1),t[o]=Ds(o,!0,!1),e[o]=Ds(o,!1,!0),r[o]=Ds(o,!0,!0)}),[i,t,e,r]}var[e0,t0,r0,i0]=Jg();function Gf(i,e){let t=e?i?i0:r0:i?t0:e0;return(r,n,o)=>n==="__v_isReactive"?!i:n==="__v_isReadonly"?i:n==="__v_raw"?r:Reflect.get(As(t,n)&&n in r?t:r,n,o)}var n0={get:Gf(!1,!1)},o0={get:Gf(!0,!1)};function $f(i,e,t){let r=me(t);if(r!==t&&e.call(i,r)){let n=Vf(i);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 jf=new WeakMap,s0=new WeakMap,Kf=new WeakMap,a0=new WeakMap;function u0(i){switch(i){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function l0(i){return i.__v_skip||!Object.isExtensible(i)?0:u0(Vf(i))}function Ru(i){return i&&i.__v_isReadonly?i:Qf(i,!1,Zg,n0,jf)}function Zf(i){return Qf(i,!0,Qg,o0,Kf)}function Qf(i,e,t,r,n){if(!Fs(i))return console.warn(`value cannot be made reactive: ${String(i)}`),i;if(i.__v_raw&&!(e&&i.__v_isReactive))return i;let o=n.get(i);if(o)return o;let s=l0(i);if(s===0)return i;let a=new Proxy(i,s===2?r:t);return n.set(i,a),a}function me(i){return i&&me(i.__v_raw)||i}function hu(i){return!!(i&&i.__v_isRef===!0)}ir("nextTick",()=>Tu);ir("dispatch",i=>to.bind(to,i));ir("watch",(i,{evaluateLater:e,effect:t})=>(r,n)=>{let o=e(r),s=!0,a,u=t(()=>o(l=>{JSON.stringify(l),s?a=l:queueMicrotask(()=>{n(l,a),a=l}),s=!1}));i._x_effects.delete(u)});ir("store",bg);ir("data",i=>lf(i));ir("root",i=>xs(i));ir("refs",i=>(i._x_refs_proxy||(i._x_refs_proxy=ao(c0(i))),i._x_refs_proxy));function c0(i){let e=[],t=i;for(;t;)t._x_refs&&e.push(t._x_refs),t=t.parentNode;return e}var ja={};function Jf(i){return ja[i]||(ja[i]=0),++ja[i]}function f0(i,e){return Ss(i,t=>{if(t._x_ids&&t._x_ids[e])return!0})}function d0(i,e){i._x_ids||(i._x_ids={}),i._x_ids[e]||(i._x_ids[e]=Jf(e))}ir("id",i=>(e,t=null)=>{let r=f0(i,e),n=r?r._x_ids[e]:Jf(e);return t?`${e}-${n}-${t}`:`${e}-${n}`});ir("el",i=>i);ed("Focus","focus","focus");ed("Persist","persist","persist");function ed(i,e,t){ir(e,r=>Fr(`You can't use [$${e}] without first installing the "${i}" plugin here: https://alpinejs.dev/plugins/${t}`,r))}Ne("modelable",(i,{expression:e},{effect:t,evaluateLater:r,cleanup:n})=>{let o=r(e),s=()=>{let c;return o(d=>c=d),c},a=r(`${e} = __placeholder`),u=c=>a(()=>{},{scope:{__placeholder:c}}),l=s();u(l),queueMicrotask(()=>{if(!i._x_model)return;i._x_removeModelListeners.default();let c=i._x_model.get,d=i._x_model.set,p=Lf({get(){return c()},set(f){d(f)}},{get(){return s()},set(f){u(f)}});n(p)})});Ne("teleport",(i,{modifiers:e,expression:t},{cleanup:r})=>{i.tagName.toLowerCase()!=="template"&&Fr("x-teleport can only be used on a <template> tag",i);let n=qc(t),o=i.content.cloneNode(!0).firstElementChild;i._x_teleport=o,o._x_teleportBack=i,i.setAttribute("data-teleport-template",!0),o.setAttribute("data-teleport-target",!0),i._x_forwardEvents&&i._x_forwardEvents.forEach(a=>{o.addEventListener(a,u=>{u.stopPropagation(),i.dispatchEvent(new u.constructor(u.type,u))})}),so(o,{},i);let s=(a,u,l)=>{l.includes("prepend")?u.parentNode.insertBefore(a,u):l.includes("append")?u.parentNode.insertBefore(a,u.nextSibling):u.appendChild(a)};He(()=>{s(o,n,e),Or(o),o._x_ignore=!0}),i._x_teleportPutBack=()=>{let a=qc(t);He(()=>{s(i._x_teleport,a,e)})},r(()=>o.remove())});var h0=document.createElement("div");function qc(i){let e=Ts(()=>document.querySelector(i),()=>h0)();return e||Fr(`Cannot find x-teleport element for selector: "${i}"`),e}var td=()=>{};td.inline=(i,{modifiers:e},{cleanup:t})=>{e.includes("self")?i._x_ignoreSelf=!0:i._x_ignore=!0,t(()=>{e.includes("self")?delete i._x_ignoreSelf:delete i._x_ignore})};Ne("ignore",td);Ne("effect",(i,{expression:e},{effect:t})=>t(ft(i,e)));function pu(i,e,t,r){let n=i,o=u=>r(u),s={},a=(u,l)=>c=>l(u,c);if(t.includes("dot")&&(e=p0(e)),t.includes("camel")&&(e=_0(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 u=t[t.indexOf("debounce")+1]||"invalid-wait",l=Es(u.split("ms")[0])?Number(u.split("ms")[0]):250;o=kf(o,l)}if(t.includes("throttle")){let u=t[t.indexOf("throttle")+1]||"invalid-wait",l=Es(u.split("ms")[0])?Number(u.split("ms")[0]):250;o=Pf(o,l)}return t.includes("prevent")&&(o=a(o,(u,l)=>{l.preventDefault(),u(l)})),t.includes("stop")&&(o=a(o,(u,l)=>{l.stopPropagation(),u(l)})),t.includes("self")&&(o=a(o,(u,l)=>{l.target===i&&u(l)})),(t.includes("away")||t.includes("outside"))&&(n=document,o=a(o,(u,l)=>{i.contains(l.target)||l.target.isConnected!==!1&&(i.offsetWidth<1&&i.offsetHeight<1||i._x_isShown!==!1&&u(l))})),t.includes("once")&&(o=a(o,(u,l)=>{u(l),n.removeEventListener(e,o,s)})),o=a(o,(u,l)=>{m0(e)&&v0(l,t)||u(l)}),n.addEventListener(e,o,s),()=>{n.removeEventListener(e,o,s)}}function p0(i){return i.replace(/-/g,".")}function _0(i){return i.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function Es(i){return!Array.isArray(i)&&!isNaN(i)}function g0(i){return[" ","_"].includes(i)?i:i.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase()}function m0(i){return["keydown","keyup"].includes(i)}function v0(i,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&&Yc(i.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"),i[`${s}Key`])).length===n.length&&Yc(i.key).includes(t[0]))}function Yc(i){if(!i)return[];i=g0(i);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[i]=i,Object.keys(e).map(t=>{if(e[t]===i)return t}).filter(t=>t)}Ne("model",(i,{modifiers:e,expression:t},{effect:r,cleanup:n})=>{let o=i;e.includes("parent")&&(o=i.parentNode);let s=ft(o,t),a;typeof t=="string"?a=ft(o,`${t} = __placeholder`):typeof t=="function"&&typeof t()=="string"?a=ft(o,`${t()} = __placeholder`):a=()=>{};let u=()=>{let p;return s(f=>p=f),Xc(p)?p.get():p},l=p=>{let f;s(_=>f=_),Xc(f)?f.set(p):a(()=>{},{scope:{__placeholder:p}})};typeof t=="string"&&i.type==="radio"&&He(()=>{i.hasAttribute("name")||i.setAttribute("name",t)});var c=i.tagName.toLowerCase()==="select"||["checkbox","radio"].includes(i.type)||e.includes("lazy")?"change":"input";let d=ti?()=>{}:pu(i,c,e,p=>{l(D0(i,e,p,u()))});if(e.includes("fill")&&([null,""].includes(u())||i.type==="checkbox"&&Array.isArray(u()))&&i.dispatchEvent(new Event(c,{})),i._x_removeModelListeners||(i._x_removeModelListeners={}),i._x_removeModelListeners.default=d,n(()=>i._x_removeModelListeners.default()),i.form){let p=pu(i.form,"reset",[],f=>{Tu(()=>i._x_model&&i._x_model.set(i.value))});n(()=>p())}i._x_model={get(){return u()},set(p){l(p)}},i._x_forceModelUpdate=p=>{p===void 0&&typeof t=="string"&&t.match(/\./)&&(p=""),window.fromModel=!0,He(()=>Af(i,"value",p)),delete window.fromModel},r(()=>{let p=u();e.includes("unintrusive")&&document.activeElement.isSameNode(i)||i._x_forceModelUpdate(p)})});function D0(i,e,t,r){return He(()=>{if(t instanceof CustomEvent&&t.detail!==void 0)return t.detail!==null&&t.detail!==void 0?t.detail:t.target.value;if(i.type==="checkbox")if(Array.isArray(r)){let n=e.includes("number")?Ka(t.target.value):t.target.value;return t.target.checked?r.concat([n]):r.filter(o=>!y0(o,n))}else return t.target.checked;else{if(i.tagName.toLowerCase()==="select"&&i.multiple)return e.includes("number")?Array.from(t.target.selectedOptions).map(n=>{let o=n.value||n.text;return Ka(o)}):Array.from(t.target.selectedOptions).map(n=>n.value||n.text);{let n=t.target.value;return e.includes("number")?Ka(n):e.includes("trim")?n.trim():n}}})}function Ka(i){let e=i?parseFloat(i):null;return w0(e)?e:i}function y0(i,e){return i==e}function w0(i){return!Array.isArray(i)&&!isNaN(i)}function Xc(i){return i!==null&&typeof i=="object"&&typeof i.get=="function"&&typeof i.set=="function"}Ne("cloak",i=>queueMicrotask(()=>He(()=>i.removeAttribute(_n("cloak")))));Jc(()=>`[${_n("init")}]`);Ne("init",Ts((i,{expression:e},{evaluate:t})=>typeof e=="string"?!!e.trim()&&t(e,{},!1):t(e,{},!1)));Ne("text",(i,{expression:e},{effect:t,evaluateLater:r})=>{let n=r(e);t(()=>{n(o=>{He(()=>{i.textContent=o})})})});Ne("html",(i,{expression:e},{effect:t,evaluateLater:r})=>{let n=r(e);t(()=>{n(o=>{He(()=>{i.innerHTML=o,i._x_ignoreSelf=!0,Or(i),delete i._x_ignoreSelf})})})});Su(Df(":",yf(_n("bind:"))));var rd=(i,{value:e,modifiers:t,expression:r,original:n},{effect:o})=>{if(!e){let a={};xg(a),ft(i,r)(l=>{Nf(i,l,n)},{scope:a});return}if(e==="key")return b0(i,r);if(i._x_inlineBindings&&i._x_inlineBindings[e]&&i._x_inlineBindings[e].extract)return;let s=ft(i,r);o(()=>s(a=>{a===void 0&&typeof r=="string"&&r.match(/\./)&&(a=""),He(()=>Af(i,e,a,t))}))};rd.inline=(i,{value:e,modifiers:t,expression:r})=>{e&&(i._x_inlineBindings||(i._x_inlineBindings={}),i._x_inlineBindings[e]={expression:r,extract:!1})};Ne("bind",rd);function b0(i,e){i._x_keyExpression=e}Qc(()=>`[${_n("data")}]`);Ne("data",(i,{expression:e},{cleanup:t})=>{if(ug(i))return;e=e===""?"{}":e;let r={};ru(r,i);let n={};Cg(n,r);let o=Oi(i,e,{scope:n});(o===void 0||o===!0)&&(o={}),ru(o,i);let s=hn(o);cf(s);let a=so(i,s);s.init&&Oi(i,s.init),t(()=>{s.destroy&&Oi(i,s.destroy),a()})});Ne("show",(i,{modifiers:e,expression:t},{effect:r})=>{let n=ft(i,t);i._x_doHide||(i._x_doHide=()=>{He(()=>{i.style.setProperty("display","none",e.includes("important")?"important":void 0)})}),i._x_doShow||(i._x_doShow=()=>{He(()=>{i.style.length===1&&i.style.display==="none"?i.removeAttribute("style"):i.style.removeProperty("display")})});let o=()=>{i._x_doHide(),i._x_isShown=!1},s=()=>{i._x_doShow(),i._x_isShown=!0},a=()=>setTimeout(s),u=uu(d=>d?s():o(),d=>{typeof i._x_toggleAndCascadeWithTransitions=="function"?i._x_toggleAndCascadeWithTransitions(i,d,s,o):d?a():o()}),l,c=!0;r(()=>n(d=>{!c&&d===l||(e.includes("immediate")&&(d?a():o()),u(d),l=d,c=!1)}))});Ne("for",(i,{expression:e},{effect:t,cleanup:r})=>{let n=x0(e),o=ft(i,n.items),s=ft(i,i._x_keyExpression||"index");i._x_prevKeys=[],i._x_lookup={},t(()=>E0(i,n,o,s)),r(()=>{Object.values(i._x_lookup).forEach(a=>a.remove()),delete i._x_prevKeys,delete i._x_lookup})});function E0(i,e,t,r){let n=s=>typeof s=="object"&&!Array.isArray(s),o=i;t(s=>{S0(s)&&s>=0&&(s=Array.from(Array(s).keys(),g=>g+1)),s===void 0&&(s=[]);let a=i._x_lookup,u=i._x_prevKeys,l=[],c=[];if(n(s))s=Object.entries(s).map(([g,m])=>{let v=Uc(e,m,g,s);r(y=>c.push(y),{scope:{index:g,...v}}),l.push(v)});else for(let g=0;g<s.length;g++){let m=Uc(e,s[g],g,s);r(v=>c.push(v),{scope:{index:g,...m}}),l.push(m)}let d=[],p=[],f=[],_=[];for(let g=0;g<u.length;g++){let m=u[g];c.indexOf(m)===-1&&f.push(m)}u=u.filter(g=>!f.includes(g));let h="template";for(let g=0;g<c.length;g++){let m=c[g],v=u.indexOf(m);if(v===-1)u.splice(g,0,m),d.push([h,g]);else if(v!==g){let y=u.splice(g,1)[0],w=u.splice(v-1,1)[0];u.splice(g,0,w),u.splice(v,0,y),p.push([y,w])}else _.push(m);h=m}for(let g=0;g<f.length;g++){let m=f[g];a[m]._x_effects&&a[m]._x_effects.forEach(Gc),a[m].remove(),a[m]=null,delete a[m]}for(let g=0;g<p.length;g++){let[m,v]=p[g],y=a[m],w=a[v],E=document.createElement("div");He(()=>{w||Fr('x-for ":key" is undefined or invalid',o),w.after(E),y.after(w),w._x_currentIfEl&&w.after(w._x_currentIfEl),E.before(y),y._x_currentIfEl&&y.after(y._x_currentIfEl),E.remove()}),w._x_refreshXForScope(l[c.indexOf(v)])}for(let g=0;g<d.length;g++){let[m,v]=d[g],y=m==="template"?o:a[m];y._x_currentIfEl&&(y=y._x_currentIfEl);let w=l[v],E=c[v],x=document.importNode(o.content,!0).firstElementChild,b=hn(w);so(x,b,o),x._x_refreshXForScope=S=>{Object.entries(S).forEach(([A,C])=>{b[A]=C})},He(()=>{y.after(x),Or(x)}),typeof E=="object"&&Fr("x-for key cannot be an object, it must be a string or an integer",o),a[E]=x}for(let g=0;g<_.length;g++)a[_[g]]._x_refreshXForScope(l[c.indexOf(_[g])]);o._x_prevKeys=c})}function x0(i){let e=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,t=/^\s*\(|\)\s*$/g,r=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,n=i.match(r);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 Uc(i,e,t,r){let n={};return/^\[.*\]$/.test(i.item)&&Array.isArray(e)?i.item.replace("[","").replace("]","").split(",").map(s=>s.trim()).forEach((s,a)=>{n[s]=e[a]}):/^\{.*\}$/.test(i.item)&&!Array.isArray(e)&&typeof e=="object"?i.item.replace("{","").replace("}","").split(",").map(s=>s.trim()).forEach(s=>{n[s]=e[s]}):n[i.item]=e,i.index&&(n[i.index]=t),i.collection&&(n[i.collection]=r),n}function S0(i){return!Array.isArray(i)&&!isNaN(i)}function id(){}id.inline=(i,{expression:e},{cleanup:t})=>{let r=xs(i);r._x_refs||(r._x_refs={}),r._x_refs[e]=i,t(()=>delete r._x_refs[e])};Ne("ref",id);Ne("if",(i,{expression:e},{effect:t,cleanup:r})=>{i.tagName.toLowerCase()!=="template"&&Fr("x-if can only be used on a <template> tag",i);let n=ft(i,e),o=()=>{if(i._x_currentIfEl)return i._x_currentIfEl;let a=i.content.cloneNode(!0).firstElementChild;return so(a,{},i),He(()=>{i.after(a),Or(a)}),i._x_currentIfEl=a,i._x_undoIf=()=>{ei(a,u=>{u._x_effects&&u._x_effects.forEach(Gc)}),a.remove(),delete i._x_currentIfEl},a},s=()=>{i._x_undoIf&&(i._x_undoIf(),delete i._x_undoIf)};t(()=>n(a=>{a?o():s()})),r(()=>i._x_undoIf&&i._x_undoIf())});Ne("id",(i,{expression:e},{evaluate:t})=>{t(e).forEach(n=>d0(i,n))});Su(Df("@",yf(_n("on:"))));Ne("on",Ts((i,{value:e,modifiers:t,expression:r},{cleanup:n})=>{let o=r?ft(i,r):()=>{};i.tagName.toLowerCase()==="template"&&(i._x_forwardEvents||(i._x_forwardEvents=[]),i._x_forwardEvents.includes(e)||i._x_forwardEvents.push(e));let s=pu(i,e,t,a=>{o(()=>{},{scope:{$event:a},params:[a]})});n(()=>s())}));ks("Collapse","collapse","collapse");ks("Intersect","intersect","intersect");ks("Focus","trap","focus");ks("Mask","mask","mask");function ks(i,e,t){Ne(e,r=>Fr(`You can't use [x-${e}] without first installing the "${i}" plugin here: https://alpinejs.dev/plugins/${t}`,r))}uo.setEvaluator(_f);uo.setReactivityEngine({reactive:Ru,effect:Ng,release:Ig,raw:me});var C0=uo,Nu=C0;function Iu(i){let e=[];for(let t=0;t<i.attributes.length;++t){let r=i.attributes[t];r.name.startsWith("x-")&&e.push(r)}return e}function T0(i){let e=document.createElement("template");Iu(i).forEach(r=>{e.setAttribute(r.name,r.value),i.removeAttribute(r.name)}),i.parentNode.insertBefore(e,i),e.content.appendChild(i)}function A0(i){Iu(i).forEach(t=>{let r=t.name.match(/^(x-[^:]+)(:.+)$/);if(r){let n=null;if(["x-bind","x-on"].includes(r[1])){let o=r[1],s=r[2].substring(1);o==="x-on"&&s.startsWith("update:")&&(o+=":update",s=s.substring(7)),s.includes(":")&&(n=o+":"+s.replace(/:/g,"."))}else n=r[1]+r[2].replace(/:/g,".");n&&(i.setAttribute(n,t.value),i.removeAttribute(t.name))}})}function F0(i){Iu(i).forEach(t=>{t.name.match(/^x-transition.*(?!(enter|leave))/)&&i.setAttribute(t.name,"")})}function O0(){document.querySelectorAll("[x-data],[x-data] *").forEach(i=>{A0(i),F0(i)}),document.querySelectorAll("[x-data] [x-for], [x-data] [x-if]").forEach(T0)}function nd(){window.Alpine=Nu,window.Webflow||(window.Webflow=[]),window.Webflow.push(()=>{O0(),Nu.start()})}function sd(i,e,t){return Math.max(i,Math.min(e,t))}var Bu=class{advance(e){if(!this.isRunning)return;let t=!1;if(this.lerp)this.value=function(n,o,s,a){return function(l,c,d){return(1-d)*l+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 r=sd(0,this.currentTime/this.duration,1);t=r>=1;let n=t?1:this.easing(r);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:r=.1,duration:n=1,easing:o=u=>u,onStart:s,onUpdate:a}){this.from=this.value=e,this.to=t,this.lerp=r,this.duration=n,this.easing=o,this.currentTime=0,this.isRunning=!0,s?.(),this.onUpdate=a}},zu=class{constructor({wrapper:e,content:t,autoResize:r=!0,debounce:n=250}={}){this.wrapper=e,this.content=t,r&&(this.debouncedResize=function(s,a){let u;return function(){let l=arguments,c=this;clearTimeout(u),u=setTimeout(function(){s.apply(c,l)},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}}},Ps=class{constructor(){this.events={}}emit(e,...t){let r=this.events[e]||[];for(let n=0,o=r.length;n<o;n++)r[n](...t)}on(e,t){return this.events[e]?.push(t)||(this.events[e]=[t]),()=>{this.events[e]=this.events[e]?.filter(r=>t!==r)}}off(e,t){this.events[e]=this.events[e]?.filter(r=>t!==r)}destroy(){this.events={}}},od=100/6,Vu=class{constructor(e,{wheelMultiplier:t=1,touchMultiplier:r=1}){this.element=e,this.wheelMultiplier=t,this.touchMultiplier=r,this.touchStart={x:null,y:null},this.emitter=new Ps,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:r}=e.targetTouches?e.targetTouches[0]:e;this.touchStart.x=t,this.touchStart.y=r,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:e})};onTouchMove=e=>{let{clientX:t,clientY:r}=e.targetTouches?e.targetTouches[0]:e,n=-(t-this.touchStart.x)*this.touchMultiplier,o=-(r-this.touchStart.y)*this.touchMultiplier;this.touchStart.x=t,this.touchStart.y=r,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:r,deltaMode:n}=e;t*=n===1?od:n===2?this.windowWidth:1,r*=n===1?od:n===2?this.windowHeight:1,t*=this.wheelMultiplier,r*=this.wheelMultiplier,this.emitter.emit("scroll",{deltaX:t,deltaY:r,event:e})};onWindowResize=()=>{this.windowWidth=window.innerWidth,this.windowHeight=window.innerHeight}},Ls=class{constructor({wrapper:e=window,content:t=document.documentElement,wheelEventsTarget:r=e,eventsTarget:n=r,smoothWheel:o=!0,syncTouch:s=!1,syncTouchLerp:a=.075,touchInertiaMultiplier:u=35,duration:l,easing:c=w=>Math.min(1,1.001-Math.pow(2,-10*w)),lerp:d=!l&&.1,infinite:p=!1,orientation:f="vertical",gestureOrientation:_="vertical",touchMultiplier:h=1,wheelMultiplier:g=1,autoResize:m=!0,prevent:v=!1,__experimental__naiveDimensions:y=!1}={}){this.__isScrolling=!1,this.__isStopped=!1,this.__isLocked=!1,this.onVirtualScroll=({deltaX:w,deltaY:E,event:x})=>{if(x.ctrlKey)return;let b=x.type.includes("touch"),S=x.type.includes("wheel");if(this.isTouching=x.type==="touchstart"||x.type==="touchmove",this.options.syncTouch&&b&&x.type==="touchstart"&&!this.isStopped&&!this.isLocked)return void this.reset();let A=w===0&&E===0,C=this.options.gestureOrientation==="vertical"&&E===0||this.options.gestureOrientation==="horizontal"&&w===0;if(A||C)return;let O=x.composedPath();O=O.slice(0,O.indexOf(this.rootElement));let F=this.options.prevent;if(O.find(P=>{var R,N,T,D,L;return(typeof F=="function"?F?.(P):F)||((R=P.hasAttribute)===null||R===void 0?void 0:R.call(P,"data-lenis-prevent"))||b&&((N=P.hasAttribute)===null||N===void 0?void 0:N.call(P,"data-lenis-prevent-touch"))||S&&((T=P.hasAttribute)===null||T===void 0?void 0:T.call(P,"data-lenis-prevent-wheel"))||((D=P.classList)===null||D===void 0?void 0:D.contains("lenis"))&&!(!((L=P.classList)===null||L===void 0)&&L.contains("lenis-stopped"))}))return;if(this.isStopped||this.isLocked)return void x.preventDefault();if(!(this.options.syncTouch&&b||this.options.smoothWheel&&S))return this.isScrolling="native",void this.animate.stop();x.preventDefault();let k=E;this.options.gestureOrientation==="both"?k=Math.abs(E)>Math.abs(w)?E:w:this.options.gestureOrientation==="horizontal"&&(k=w);let H=b&&this.options.syncTouch,z=b&&x.type==="touchend"&&Math.abs(k)>5;z&&(k=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+k,Object.assign({programmatic:!1},H?{lerp:z?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 w=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-w,this.direction=Math.sign(this.animatedScroll-w),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:r,eventsTarget:n,smoothWheel:o,syncTouch:s,syncTouchLerp:a,touchInertiaMultiplier:u,duration:l,easing:c,lerp:d,infinite:p,gestureOrientation:_,orientation:f,touchMultiplier:h,wheelMultiplier:g,autoResize:m,prevent:v,__experimental__naiveDimensions:y},this.animate=new Bu,this.emitter=new Ps,this.dimensions=new zu({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 Vu(n,{touchMultiplier:h,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:r=!1,lock:n=!1,duration:o=this.options.duration,easing:s=this.options.easing,lerp:a=!o&&this.options.lerp,onStart:u,onComplete:l,force:c=!1,programmatic:d=!0,userData:p={}}={}){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 h=this.options.wrapper.getBoundingClientRect();t-=this.isHorizontal?h.left:h.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=sd(0,e,this.limit),r)return this.animatedScroll=this.targetScroll=e,this.setScroll(this.scroll),this.reset(),void(l==null||l(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",u?.(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:p}),_&&(this.reset(),this.emit({userData:p}),l?.(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,r){return(t%r+r)%r}(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 Mr(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function pd(i,e){i.prototype=Object.create(e.prototype),i.prototype.constructor=i,i.__proto__=e}var Ct={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},mn={duration:.5,overwrite:!1,delay:0},ol,ot,ye,Ht=1e8,_e=1/Ht,$u=Math.PI*2,M0=$u/4,k0=0,_d=Math.sqrt,P0=Math.cos,L0=Math.sin,We=function(e){return typeof e=="string"},Ae=function(e){return typeof e=="function"},Pr=function(e){return typeof e=="number"},Ys=function(e){return typeof e>"u"},gr=function(e){return typeof e=="object"},St=function(e){return e!==!1},sl=function(){return typeof window<"u"},Rs=function(e){return Ae(e)||We(e)},gd=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},st=Array.isArray,ju=/(?:-?\.?\d|\.)+/gi,al=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Ii=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Hu=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,ul=/[+-]=-?[.\d]+/,md=/[^,'"\[\]\s]+/gi,R0=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,be,pr,Ku,ll,Rt={},zs={},vd,Dd=function(e){return(zs=Ni(e,Rt))&&at},Xs=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},_o=function(e,t){return!t&&console.warn(e)},yd=function(e,t){return e&&(Rt[e]=t)&&zs&&(zs[e]=t)||Rt},go=function(){return 0},N0={suppressEvents:!0,isStart:!0,kill:!1},Ns={suppressEvents:!0,kill:!1},I0={suppressEvents:!0},cl={},ni=[],Zu={},wd,Et={},Wu={},ad=30,Is=[],fl="",dl=function(e){var t=e[0],r,n;if(gr(t)||Ae(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(n=Is.length;n--&&!Is[n].targetTest(t););r=Is[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new _l(e[n],r)))||e.splice(n,1);return e},oi=function(e){return e._gsap||dl(Wt(e))[0]._gsap},hl=function(e,t,r){return(r=e[t])&&Ae(r)?e[t]():Ys(r)&&e.getAttribute&&e.getAttribute(t)||r},dt=function(e,t){return(e=e.split(",")).forEach(t)||e},Fe=function(e){return Math.round(e*1e5)/1e5||0},Ge=function(e){return Math.round(e*1e7)/1e7||0},Bi=function(e,t){var r=t.charAt(0),n=parseFloat(t.substr(2));return e=parseFloat(e),r==="+"?e+n:r==="-"?e-n:r==="*"?e*n:e/n},B0=function(e,t){for(var r=t.length,n=0;e.indexOf(t[n])<0&&++n<r;);return n<r},Vs=function(){var e=ni.length,t=ni.slice(0),r,n;for(Zu={},ni.length=0,r=0;r<e;r++)n=t[r],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},bd=function(e,t,r,n){ni.length&&!ot&&Vs(),e.render(t,r,n||ot&&t<0&&(e._initted||e._startAt)),ni.length&&!ot&&Vs()},Ed=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(md).length<2?t:We(e)?e.trim():e},xd=function(e){return e},qt=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},z0=function(e){return function(t,r){for(var n in r)n in t||n==="duration"&&e||n==="ease"||(t[n]=r[n])}},Ni=function(e,t){for(var r in t)e[r]=t[r];return e},ud=function i(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=gr(t[r])?i(e[r]||(e[r]={}),t[r]):t[r]);return e},Hs=function(e,t){var r={},n;for(n in e)n in t||(r[n]=e[n]);return r},fo=function(e){var t=e.parent||be,r=e.keyframes?z0(st(e.keyframes)):qt;if(St(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},V0=function(e,t){for(var r=e.length,n=r===t.length;n&&r--&&e[r]===t[r];);return r<0},Sd=function(e,t,r,n,o){r===void 0&&(r="_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[r],e[r]=t),t._next?t._next._prev=t:e[n]=t,t._prev=s,t.parent=t._dp=e,t},Us=function(e,t,r,n){r===void 0&&(r="_first"),n===void 0&&(n="_last");var o=t._prev,s=t._next;o?o._next=s:e[r]===t&&(e[r]=s),s?s._prev=o:e[n]===t&&(e[n]=o),t._next=t._prev=t.parent=null},si=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Pi=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},H0=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Qu=function(e,t,r,n){return e._startAt&&(ot?e._startAt.revert(Ns):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))},W0=function i(e){return!e||e._ts&&i(e.parent)},ld=function(e){return e._repeat?vn(e._tTime,e=e.duration()+e._rDelay)*e:0},vn=function(e,t){var r=Math.floor(e/=t);return e&&r===e?r-1:r},Ws=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Gs=function(e){return e._end=Ge(e._start+(e._tDur/Math.abs(e._ts||e._rts||_e)||0))},$s=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Ge(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Gs(e),r._dirty||Pi(r,e)),e},Cd=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=Ws(e.rawTime(),t),(!t._dur||Do(0,t.totalDuration(),r)-t._tTime>_e)&&t.render(r,!0)),Pi(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-_e}},_r=function(e,t,r,n){return t.parent&&si(t),t._start=Ge((Pr(r)?r:r||e!==be?Vt(e,r,t):e._time)+t._delay),t._end=Ge(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Sd(e,t,"_first","_last",e._sort?"_start":0),Ju(t)||(e._recent=t),n||Cd(e,t),e._ts<0&&$s(e,e._tTime),e},Td=function(e,t){return(Rt.ScrollTrigger||Xs("scrollTrigger",t))&&Rt.ScrollTrigger.create(t,e)},Ad=function(e,t,r,n,o){if(vl(e,t,o),!e._initted)return 1;if(!r&&e._pt&&!ot&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&wd!==xt.frame)return ni.push(e),e._lazy=[o,n],1},q0=function i(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||i(t))},Ju=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},Y0=function(e,t,r,n){var o=e.ratio,s=t<0||!t&&(!e._start&&q0(e)&&!(!e._initted&&Ju(e))||(e._ts<0||e._dp._ts<0)&&!Ju(e))?0:1,a=e._rDelay,u=0,l,c,d;if(a&&e._repeat&&(u=Do(0,e._tDur,t),c=vn(u,a),e._yoyo&&c&1&&(s=1-s),c!==vn(e._tTime,a)&&(o=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==o||ot||n||e._zTime===_e||!t&&e._zTime){if(!e._initted&&Ad(e,t,n,r,u))return;for(d=e._zTime,e._zTime=t||(r?_e:0),r||(r=t&&!d),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=u,l=e._pt;l;)l.r(s,l.d),l=l._next;t<0&&Qu(e,t,r,!0),e._onUpdate&&!r&&Lt(e,"onUpdate"),u&&e._repeat&&!r&&e.parent&&Lt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===s&&(s&&si(e,1),!r&&!ot&&(Lt(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},X0=function(e,t,r){var n;if(r>t)for(n=e._first;n&&n._start<=r;){if(n.data==="isPause"&&n._start>t)return n;n=n._next}else for(n=e._last;n&&n._start>=r;){if(n.data==="isPause"&&n._start<t)return n;n=n._prev}},Dn=function(e,t,r,n){var o=e._repeat,s=Ge(t)||0,a=e._tTime/e._tDur;return a&&!n&&(e._time*=s/e._dur),e._dur=s,e._tDur=o?o<0?1e10:Ge(s*(o+1)+e._rDelay*o):s,a>0&&!n&&$s(e,e._tTime=e._tDur*a),e.parent&&Gs(e),r||Pi(e.parent,e),e},cd=function(e){return e instanceof Je?Pi(e):Dn(e,e._dur)},U0={_start:0,endTime:go,totalDuration:go},Vt=function i(e,t,r){var n=e.labels,o=e._recent||U0,s=e.duration()>=Ht?o.endTime(!1):e._dur,a,u,l;return We(t)&&(isNaN(t)||t in n)?(u=t.charAt(0),l=t.substr(-1)==="%",a=t.indexOf("="),u==="<"||u===">"?(a>=0&&(t=t.replace(/=/,"")),(u==="<"?o._start:o.endTime(o._repeat>=0))+(parseFloat(t.substr(1))||0)*(l?(a<0?o:r).totalDuration()/100:1)):a<0?(t in n||(n[t]=s),n[t]):(u=parseFloat(t.charAt(a-1)+t.substr(a+1)),l&&r&&(u=u/100*(st(r)?r[0]:r).totalDuration()),a>1?i(e,t.substr(0,a-1),r)+u:s+u)):t==null?s:+t},ho=function(e,t,r){var n=Pr(t[1]),o=(n?2:1)+(e<2?0:1),s=t[o],a,u;if(n&&(s.duration=t[1]),s.parent=r,e){for(a=s,u=r;u&&!("immediateRender"in a);)a=u.vars.defaults||{},u=St(u.vars.inherit)&&u.parent;s.immediateRender=St(a.immediateRender),e<2?s.runBackwards=1:s.startAt=t[o-1]}return new Pe(t[0],s,t[o+1])},ai=function(e,t){return e||e===0?t(e):t},Do=function(e,t,r){return r<e?e:r>t?t:r},et=function(e,t){return!We(e)||!(t=R0.exec(e))?"":t[1]},G0=function(e,t,r){return ai(r,function(n){return Do(e,t,n)})},el=[].slice,Fd=function(e,t){return e&&gr(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&gr(e[0]))&&!e.nodeType&&e!==pr},$0=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(n){var o;return We(n)&&!t||Fd(n,1)?(o=r).push.apply(o,Wt(n)):r.push(n)})||r},Wt=function(e,t,r){return ye&&!t&&ye.selector?ye.selector(e):We(e)&&!r&&(Ku||!yn())?el.call((t||ll).querySelectorAll(e),0):st(e)?$0(e,r):Fd(e)?el.call(e,0):e?[e]:[]},tl=function(e){return e=Wt(e)[0]||_o("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return Wt(t,r.querySelectorAll?r:r===e?_o("Invalid scope")||ll.createElement("div"):e)}},Od=function(e){return e.sort(function(){return .5-Math.random()})},Md=function(e){if(Ae(e))return e;var t=gr(e)?e:{each:e},r=Li(t.ease),n=t.from||0,o=parseFloat(t.base)||0,s={},a=n>0&&n<1,u=isNaN(n)||a,l=t.axis,c=n,d=n;return We(n)?c=d={center:.5,edges:.5,end:1}[n]||0:!a&&u&&(c=n[0],d=n[1]),function(p,f,_){var h=(_||t).length,g=s[h],m,v,y,w,E,x,b,S,A;if(!g){if(A=t.grid==="auto"?0:(t.grid||[1,Ht])[1],!A){for(b=-Ht;b<(b=_[A++].getBoundingClientRect().left)&&A<h;);A<h&&A--}for(g=s[h]=[],m=u?Math.min(A,h)*c-.5:n%A,v=A===Ht?0:u?h*d/A-.5:n/A|0,b=0,S=Ht,x=0;x<h;x++)y=x%A-m,w=v-(x/A|0),g[x]=E=l?Math.abs(l==="y"?w:y):_d(y*y+w*w),E>b&&(b=E),E<S&&(S=E);n==="random"&&Od(g),g.max=b-S,g.min=S,g.v=h=(parseFloat(t.amount)||parseFloat(t.each)*(A>h?h-1:l?l==="y"?h/A:A:Math.max(A,h/A))||0)*(n==="edges"?-1:1),g.b=h<0?o-h:o,g.u=et(t.amount||t.each)||0,r=r&&h<0?Vd(r):r}return h=(g[p]-g.min)/g.max||0,Ge(g.b+(r?r(h):h)*g.v)+g.u}},rl=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var n=Ge(Math.round(parseFloat(r)/e)*e*t);return(n-n%1)/t+(Pr(r)?0:et(r))}},kd=function(e,t){var r=st(e),n,o;return!r&&gr(e)&&(n=r=e.radius||Ht,e.values?(e=Wt(e.values),(o=!Pr(e[0]))&&(n*=n)):e=rl(e.increment)),ai(t,r?Ae(e)?function(s){return o=e(s),Math.abs(o-s)<=n?o:s}:function(s){for(var a=parseFloat(o?s.x:s),u=parseFloat(o?s.y:0),l=Ht,c=0,d=e.length,p,f;d--;)o?(p=e[d].x-a,f=e[d].y-u,p=p*p+f*f):p=Math.abs(e[d]-a),p<l&&(l=p,c=d);return c=!n||l<=n?e[c]:s,o||c===s||Pr(s)?c:c+et(s)}:rl(e))},Pd=function(e,t,r,n){return ai(st(e)?!t:r===!0?!!(r=0):!n,function(){return st(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(n=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(t-e+r*.99))/r)*r*n)/n})},j0=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return t.reduce(function(o,s){return s(o)},n)}},K0=function(e,t){return function(r){return e(parseFloat(r))+(t||et(r))}},Z0=function(e,t,r){return Rd(e,t,0,1,r)},Ld=function(e,t,r){return ai(r,function(n){return e[~~t(n)]})},Q0=function i(e,t,r){var n=t-e;return st(e)?Ld(e,i(0,e.length),t):ai(r,function(o){return(n+(o-e)%n)%n+e})},J0=function i(e,t,r){var n=t-e,o=n*2;return st(e)?Ld(e,i(0,e.length-1),t):ai(r,function(s){return s=(o+(s-e)%o)%o||0,e+(s>n?o-s:s)})},wn=function(e){for(var t=0,r="",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?md:ju),r+=e.substr(t,n-t)+Pd(a?o:+o[0],a?0:+o[1],+o[2]||1e-5),t=s+1;return r+e.substr(t,e.length-t)},Rd=function(e,t,r,n,o){var s=t-e,a=n-r;return ai(o,function(u){return r+((u-e)/s*a||0)})},em=function i(e,t,r,n){var o=isNaN(e+t)?0:function(f){return(1-f)*e+f*t};if(!o){var s=We(e),a={},u,l,c,d,p;if(r===!0&&(n=1)&&(r=null),s)e={p:e},t={p:t};else if(st(e)&&!st(t)){for(c=[],d=e.length,p=d-2,l=1;l<d;l++)c.push(i(e[l-1],e[l]));d--,o=function(_){_*=d;var h=Math.min(p,~~_);return c[h](_-h)},r=t}else n||(e=Ni(st(e)?[]:{},e));if(!c){for(u in t)gl.call(a,e,u,"get",t[u]);o=function(_){return wl(_,a)||(s?e.p:e)}}}return ai(r,o)},fd=function(e,t,r){var n=e.labels,o=Ht,s,a,u;for(s in n)a=n[s]-t,a<0==!!r&&a&&o>(a=Math.abs(a))&&(u=s,o=a);return u},Lt=function(e,t,r){var n=e.vars,o=n[t],s=ye,a=e._ctx,u,l,c;if(o)return u=n[t+"Params"],l=n.callbackScope||e,r&&ni.length&&Vs(),a&&(ye=a),c=u?o.apply(l,u):o.call(l),ye=s,c},lo=function(e){return si(e),e.scrollTrigger&&e.scrollTrigger.kill(!!ot),e.progress()<1&&Lt(e,"onInterrupt"),e},gn,Nd=[],Id=function(e){if(e)if(e=!e.name&&e.default||e,sl()||e.headless){var t=e.name,r=Ae(e),n=t&&!r&&e.init?function(){this._props=[]}:e,o={init:go,render:wl,add:gl,kill:gm,modifier:_m,rawVars:0},s={targetTest:0,get:0,getSetter:js,aliases:{},register:0};if(yn(),e!==n){if(Et[t])return;qt(n,qt(Hs(e,o),s)),Ni(n.prototype,Ni(o,Hs(e,s))),Et[n.prop=t]=n,e.targetTest&&(Is.push(n),cl[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}yd(t,n),e.register&&e.register(at,n,ht)}else Nd.push(e)},pe=255,co={aqua:[0,pe,pe],lime:[0,pe,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,pe],navy:[0,0,128],white:[pe,pe,pe],olive:[128,128,0],yellow:[pe,pe,0],orange:[pe,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[pe,0,0],pink:[pe,192,203],cyan:[0,pe,pe],transparent:[pe,pe,pe,0]},qu=function(e,t,r){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(r-t)*e*6:e<.5?r:e*3<2?t+(r-t)*(2/3-e)*6:t)*pe+.5|0},Bd=function(e,t,r){var n=e?Pr(e)?[e>>16,e>>8&pe,e&pe]:0:co.black,o,s,a,u,l,c,d,p,f,_;if(!n){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),co[e])n=co[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&pe,n&pe,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),n=[e>>16,e>>8&pe,e&pe]}else if(e.substr(0,3)==="hsl"){if(n=_=e.match(ju),!t)u=+n[0]%360/360,l=+n[1]/100,c=+n[2]/100,s=c<=.5?c*(l+1):c+l-c*l,o=c*2-s,n.length>3&&(n[3]*=1),n[0]=qu(u+1/3,o,s),n[1]=qu(u,o,s),n[2]=qu(u-1/3,o,s);else if(~e.indexOf("="))return n=e.match(al),r&&n.length<4&&(n[3]=1),n}else n=e.match(ju)||co.transparent;n=n.map(Number)}return t&&!_&&(o=n[0]/pe,s=n[1]/pe,a=n[2]/pe,d=Math.max(o,s,a),p=Math.min(o,s,a),c=(d+p)/2,d===p?u=l=0:(f=d-p,l=c>.5?f/(2-d-p):f/(d+p),u=d===o?(s-a)/f+(s<a?6:0):d===s?(a-o)/f+2:(o-s)/f+4,u*=60),n[0]=~~(u+.5),n[1]=~~(l*100+.5),n[2]=~~(c*100+.5)),r&&n.length<4&&(n[3]=1),n},zd=function(e){var t=[],r=[],n=-1;return e.split(kr).forEach(function(o){var s=o.match(Ii)||[];t.push.apply(t,s),r.push(n+=s.length+1)}),t.c=r,t},dd=function(e,t,r){var n="",o=(e+n).match(kr),s=t?"hsla(":"rgba(",a=0,u,l,c,d;if(!o)return e;if(o=o.map(function(p){return(p=Bd(p,t,1))&&s+(t?p[0]+","+p[1]+"%,"+p[2]+"%,"+p[3]:p.join(","))+")"}),r&&(c=zd(e),u=r.c,u.join(n)!==c.c.join(n)))for(l=e.replace(kr,"1").split(Ii),d=l.length-1;a<d;a++)n+=l[a]+(~u.indexOf(a)?o.shift()||s+"0,0,0,0)":(c.length?c:o.length?o:r).shift());if(!l)for(l=e.split(kr),d=l.length-1;a<d;a++)n+=l[a]+o[a];return n+l[d]},kr=function(){var i="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in co)i+="|"+e+"\\b";return new RegExp(i+")","gi")}(),tm=/hsl[a]?\(/,pl=function(e){var t=e.join(" "),r;if(kr.lastIndex=0,kr.test(t))return r=tm.test(t),e[1]=dd(e[1],r),e[0]=dd(e[0],r,zd(e[1])),!0},mo,xt=function(){var i=Date.now,e=500,t=33,r=i(),n=r,o=1e3/240,s=o,a=[],u,l,c,d,p,f,_=function h(g){var m=i()-n,v=g===!0,y,w,E,x;if((m>e||m<0)&&(r+=m-t),n+=m,E=n-r,y=E-s,(y>0||v)&&(x=++d.frame,p=E-d.time*1e3,d.time=E=E/1e3,s+=y+(y>=o?4:o-y),w=1),v||(u=l(h)),w)for(f=0;f<a.length;f++)a[f](E,p,x,g)};return d={time:0,frame:0,tick:function(){_(!0)},deltaRatio:function(g){return p/(1e3/(g||60))},wake:function(){vd&&(!Ku&&sl()&&(pr=Ku=window,ll=pr.document||{},Rt.gsap=at,(pr.gsapVersions||(pr.gsapVersions=[])).push(at.version),Dd(zs||pr.GreenSockGlobals||!pr.gsap&&pr||{}),Nd.forEach(Id)),c=typeof requestAnimationFrame<"u"&&requestAnimationFrame,u&&d.sleep(),l=c||function(g){return setTimeout(g,s-d.time*1e3+1|0)},mo=1,_(2))},sleep:function(){(c?cancelAnimationFrame:clearTimeout)(u),mo=0,l=go},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 y=m?function(w,E,x,b){g(w,E,x,b),d.remove(y)}:g;return d.remove(g),a[v?"unshift":"push"](y),yn(),y},remove:function(g,m){~(m=a.indexOf(g))&&a.splice(m,1)&&f>=m&&f--},_listeners:a},d}(),yn=function(){return!mo&&xt.wake()},le={},rm=/^[\d.\-M][\d.\-,\s]/,im=/["']/g,nm=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),n=r[0],o=1,s=r.length,a,u,l;o<s;o++)u=r[o],a=o!==s-1?u.lastIndexOf(","):u.length,l=u.substr(0,a),t[n]=isNaN(l)?l.replace(im,"").trim():+l,n=u.substr(a+1).trim();return t},om=function(e){var t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.indexOf("(",t);return e.substring(t,~n&&n<r?e.indexOf(")",r+1):r)},sm=function(e){var t=(e+"").split("("),r=le[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[nm(t[1])]:om(e).split(",").map(Ed)):le._CE&&rm.test(e)?le._CE("",e):r},Vd=function(e){return function(t){return 1-e(1-t)}},Hd=function i(e,t){for(var r=e._first,n;r;)r instanceof Je?i(r,t):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==t&&(r.timeline?i(r.timeline,t):(n=r._ease,r._ease=r._yEase,r._yEase=n,r._yoyo=t)),r=r._next},Li=function(e,t){return e&&(Ae(e)?e:le[e]||sm(e))||t},zi=function(e,t,r,n){r===void 0&&(r=function(u){return 1-t(1-u)}),n===void 0&&(n=function(u){return u<.5?t(u*2)/2:1-t((1-u)*2)/2});var o={easeIn:t,easeOut:r,easeInOut:n},s;return dt(e,function(a){le[a]=Rt[a]=o,le[s=a.toLowerCase()]=r;for(var u in o)le[s+(u==="easeIn"?".in":u==="easeOut"?".out":".inOut")]=le[a+"."+u]=o[u]}),o},Wd=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},Yu=function i(e,t,r){var n=t>=1?t:1,o=(r||(e?.3:.45))/(t<1?t:1),s=o/$u*(Math.asin(1/n)||0),a=function(c){return c===1?1:n*Math.pow(2,-10*c)*L0((c-s)*o)+1},u=e==="out"?a:e==="in"?function(l){return 1-a(1-l)}:Wd(a);return o=$u/o,u.config=function(l,c){return i(e,l,c)},u},Xu=function i(e,t){t===void 0&&(t=1.70158);var r=function(s){return s?--s*s*((t+1)*s+t)+1:0},n=e==="out"?r:e==="in"?function(o){return 1-r(1-o)}:Wd(r);return n.config=function(o){return i(e,o)},n};dt("Linear,Quad,Cubic,Quart,Quint,Strong",function(i,e){var t=e<5?e+1:e;zi(i+",Power"+(t-1),e?function(r){return Math.pow(r,t)}:function(r){return r},function(r){return 1-Math.pow(1-r,t)},function(r){return r<.5?Math.pow(r*2,t)/2:1-Math.pow((1-r)*2,t)/2})});le.Linear.easeNone=le.none=le.Linear.easeIn;zi("Elastic",Yu("in"),Yu("out"),Yu());(function(i,e){var t=1/e,r=2*t,n=2.5*t,o=function(a){return a<t?i*a*a:a<r?i*Math.pow(a-1.5/e,2)+.75:a<n?i*(a-=2.25/e)*a+.9375:i*Math.pow(a-2.625/e,2)+.984375};zi("Bounce",function(s){return 1-o(1-s)},o)})(7.5625,2.75);zi("Expo",function(i){return i?Math.pow(2,10*(i-1)):0});zi("Circ",function(i){return-(_d(1-i*i)-1)});zi("Sine",function(i){return i===1?1:-P0(i*M0)+1});zi("Back",Xu("in"),Xu("out"),Xu());le.SteppedEase=le.steps=Rt.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,n=e+(t?0:1),o=t?1:0,s=1-_e;return function(a){return((n*Do(0,s,a)|0)+o)*r}}};mn.ease=le["quad.out"];dt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(i){return fl+=i+","+i+"Params,"});var _l=function(e,t){this.id=k0++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:hl,this.set=t?t.getSetter:js},vo=function(){function i(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Dn(this,+t.duration,1,1),this.data=t.data,ye&&(this._ctx=ye,ye.data.push(this)),mo||xt.wake()}var e=i.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,Dn(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,n){if(yn(),!arguments.length)return this._tTime;var o=this._dp;if(o&&o.smoothChildTiming&&this._ts){for($s(this,r),!o._dp||o.parent||Cd(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&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&_r(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!n||this._initted&&Math.abs(this._zTime)===_e||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),bd(this,r,n)),this},e.time=function(r,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+ld(this))%(this._dur+this._rDelay)||(r?this._dur:0),n):this._time},e.totalProgress=function(r,n){return arguments.length?this.totalTime(this.totalDuration()*r,n):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},e.progress=function(r,n){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+ld(this),n):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,n){var o=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*o,n):this._repeat?vn(this._tTime,o)+1:1},e.timeScale=function(r,n){if(!arguments.length)return this._rts===-_e?0:this._rts;if(this._rts===r)return this;var o=this.parent&&this._ts?Ws(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-_e?0:this._rts,this.totalTime(Do(-Math.abs(this._delay),this._tDur,o),n!==!1),Gs(this),H0(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(yn(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==_e&&(this._tTime-=_e)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var n=this.parent||this._dp;return n&&(n._sort||!this.parent)&&_r(n,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(St(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var n=this.parent||this._dp;return n?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ws(n.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=I0);var n=ot;return ot=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),ot=n,this},e.globalTime=function(r){for(var n=this,o=arguments.length?r:n.rawTime();n;)o=n._start+o/(Math.abs(n._ts)||1),n=n._dp;return!this.parent&&this._sat?this._sat.globalTime(r):o},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,cd(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var n=this._time;return this._rDelay=r,cd(this),n?this.time(n):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,n){return this.totalTime(Vt(this,r),St(n))},e.restart=function(r,n){return this.play().totalTime(r?-this._delay:0,St(n))},e.play=function(r,n){return r!=null&&this.seek(r,n),this.reversed(!1).paused(!1)},e.reverse=function(r,n){return r!=null&&this.seek(r||this.totalDuration(),n),this.reversed(!0).paused(!1)},e.pause=function(r,n){return r!=null&&this.seek(r,n),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-_e:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-_e,this},e.isActive=function(){var r=this.parent||this._dp,n=this._start,o;return!!(!r||this._ts&&this._initted&&r.isActive()&&(o=r.rawTime(!0))>=n&&o<this.endTime(!0)-_e)},e.eventCallback=function(r,n,o){var s=this.vars;return arguments.length>1?(n?(s[r]=n,o&&(s[r+"Params"]=o),r==="onUpdate"&&(this._onUpdate=n)):delete s[r],this):s[r]},e.then=function(r){var n=this;return new Promise(function(o){var s=Ae(r)?r:xd,a=function(){var l=n.then;n.then=null,Ae(s)&&(s=s(n))&&(s.then||s===n)&&(n.then=l),o(s),n.then=l};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?a():n._prom=a})},e.kill=function(){lo(this)},i}();qt(vo.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:-_e,_prom:0,_ps:!1,_rts:1});var Je=function(i){pd(e,i);function e(r,n){var o;return r===void 0&&(r={}),o=i.call(this,r)||this,o.labels={},o.smoothChildTiming=!!r.smoothChildTiming,o.autoRemoveChildren=!!r.autoRemoveChildren,o._sort=St(r.sortChildren),be&&_r(r.parent||be,Mr(o),n),r.reversed&&o.reverse(),r.paused&&o.paused(!0),r.scrollTrigger&&Td(Mr(o),r.scrollTrigger),o}var t=e.prototype;return t.to=function(n,o,s){return ho(0,arguments,this),this},t.from=function(n,o,s){return ho(1,arguments,this),this},t.fromTo=function(n,o,s,a){return ho(2,arguments,this),this},t.set=function(n,o,s){return o.duration=0,o.parent=this,fo(o).repeatDelay||(o.repeat=0),o.immediateRender=!!o.immediateRender,new Pe(n,o,Vt(this,s),1),this},t.call=function(n,o,s){return _r(this,Pe.delayedCall(0,n,o),s)},t.staggerTo=function(n,o,s,a,u,l,c){return s.duration=o,s.stagger=s.stagger||a,s.onComplete=l,s.onCompleteParams=c,s.parent=this,new Pe(n,s,Vt(this,u)),this},t.staggerFrom=function(n,o,s,a,u,l,c){return s.runBackwards=1,fo(s).immediateRender=St(s.immediateRender),this.staggerTo(n,o,s,a,u,l,c)},t.staggerFromTo=function(n,o,s,a,u,l,c,d){return a.startAt=s,fo(a).immediateRender=St(a.immediateRender),this.staggerTo(n,o,a,u,l,c,d)},t.render=function(n,o,s){var a=this._time,u=this._dirty?this.totalDuration():this._tDur,l=this._dur,c=n<=0?0:Ge(n),d=this._zTime<0!=n<0&&(this._initted||!l),p,f,_,h,g,m,v,y,w,E,x,b;if(this!==be&&c>u&&n>=0&&(c=u),c!==this._tTime||s||d){if(a!==this._time&&l&&(c+=this._time-a,n+=this._time-a),p=c,w=this._start,y=this._ts,m=!y,d&&(l||(a=this._zTime),(n||!o)&&(this._zTime=n)),this._repeat){if(x=this._yoyo,g=l+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(g*100+n,o,s);if(p=Ge(c%g),c===u?(h=this._repeat,p=l):(h=~~(c/g),h&&h===c/g&&(p=l,h--),p>l&&(p=l)),E=vn(this._tTime,g),!a&&this._tTime&&E!==h&&this._tTime-E*g-this._dur<=0&&(E=h),x&&h&1&&(p=l-p,b=1),h!==E&&!this._lock){var S=x&&E&1,A=S===(x&&h&1);if(h<E&&(S=!S),a=S?0:c%l?l:c,this._lock=1,this.render(a||(b?0:Ge(h*g)),o,!l)._lock=0,this._tTime=c,!o&&this.parent&&Lt(this,"onRepeat"),this.vars.repeatRefresh&&!b&&(this.invalidate()._lock=1),a&&a!==this._time||m!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(l=this._dur,u=this._tDur,A&&(this._lock=2,a=S?l:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!b&&this.invalidate()),this._lock=0,!this._ts&&!m)return this;Hd(this,b)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=X0(this,Ge(a),Ge(p)),v&&(c-=p-(p=v._start))),this._tTime=c,this._time=p,this._act=!y,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,a=0),!a&&p&&!o&&!h&&(Lt(this,"onStart"),this._tTime!==c))return this;if(p>=a&&n>=0)for(f=this._first;f;){if(_=f._next,(f._act||p>=f._start)&&f._ts&&v!==f){if(f.parent!==this)return this.render(n,o,s);if(f.render(f._ts>0?(p-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(p-f._start)*f._ts,o,s),p!==this._time||!this._ts&&!m){v=0,_&&(c+=this._zTime=-_e);break}}f=_}else{f=this._last;for(var C=n<0?n:p;f;){if(_=f._prev,(f._act||C<=f._end)&&f._ts&&v!==f){if(f.parent!==this)return this.render(n,o,s);if(f.render(f._ts>0?(C-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(C-f._start)*f._ts,o,s||ot&&(f._initted||f._startAt)),p!==this._time||!this._ts&&!m){v=0,_&&(c+=this._zTime=C?-_e:_e);break}}f=_}}if(v&&!o&&(this.pause(),v.render(p>=a?0:-_e)._zTime=p>=a?1:-1,this._ts))return this._start=w,Gs(this),this.render(n,o,s);this._onUpdate&&!o&&Lt(this,"onUpdate",!0),(c===u&&this._tTime>=this.totalDuration()||!c&&a)&&(w===this._start||Math.abs(y)!==Math.abs(this._ts))&&(this._lock||((n||!l)&&(c===u&&this._ts>0||!c&&this._ts<0)&&si(this,1),!o&&!(n<0&&!a)&&(c||a||!u)&&(Lt(this,c===u&&n>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c<u&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(n,o){var s=this;if(Pr(o)||(o=Vt(this,o,n)),!(n instanceof vo)){if(st(n))return n.forEach(function(a){return s.add(a,o)}),this;if(We(n))return this.addLabel(n,o);if(Ae(n))n=Pe.delayedCall(0,n);else return this}return this!==n?_r(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=-Ht);for(var u=[],l=this._first;l;)l._start>=a&&(l instanceof Pe?o&&u.push(l):(s&&u.push(l),n&&u.push.apply(u,l.getChildren(!0,o,s)))),l=l._next;return u},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 We(n)?this.removeLabel(n):Ae(n)?this.killTweensOf(n):(Us(this,n),n===this._recent&&(this._recent=this._last),Pi(this))},t.totalTime=function(n,o){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Ge(xt.time-(this._ts>0?n/this._ts:(this.totalDuration()-n)/-this._ts))),i.prototype.totalTime.call(this,n,o),this._forcing=0,this):this._tTime},t.addLabel=function(n,o){return this.labels[n]=Vt(this,o),this},t.removeLabel=function(n){return delete this.labels[n],this},t.addPause=function(n,o,s){var a=Pe.delayedCall(0,o||go,s);return a.data="isPause",this._hasPause=1,_r(this,a,Vt(this,n))},t.removePause=function(n){var o=this._first;for(n=Vt(this,n);o;)o._start===n&&o.data==="isPause"&&si(o),o=o._next},t.killTweensOf=function(n,o,s){for(var a=this.getTweensOf(n,s),u=a.length;u--;)ii!==a[u]&&a[u].kill(n,o);return this},t.getTweensOf=function(n,o){for(var s=[],a=Wt(n),u=this._first,l=Pr(o),c;u;)u instanceof Pe?B0(u._targets,a)&&(l?(!ii||u._initted&&u._ts)&&u.globalTime(0)<=o&&u.globalTime(u.totalDuration())>o:!o||u.isActive())&&s.push(u):(c=u.getTweensOf(a,o)).length&&s.push.apply(s,c),u=u._next;return s},t.tweenTo=function(n,o){o=o||{};var s=this,a=Vt(s,n),u=o,l=u.startAt,c=u.onStart,d=u.onStartParams,p=u.immediateRender,f,_=Pe.to(s,qt({ease:o.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:o.duration||Math.abs((a-(l&&"time"in l?l.time:s._time))/s.timeScale())||_e,onStart:function(){if(s.pause(),!f){var g=o.duration||Math.abs((a-(l&&"time"in l?l.time:s._time))/s.timeScale());_._dur!==g&&Dn(_,g,0,1).render(_._time,!0,!0),f=1}c&&c.apply(_,d||[])}},o));return p?_.render(0):_},t.tweenFromTo=function(n,o,s){return this.tweenTo(o,qt({startAt:{time:Vt(this,n)}},s))},t.recent=function(){return this._recent},t.nextLabel=function(n){return n===void 0&&(n=this._time),fd(this,Vt(this,n))},t.previousLabel=function(n){return n===void 0&&(n=this._time),fd(this,Vt(this,n),1)},t.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+_e)},t.shiftChildren=function(n,o,s){s===void 0&&(s=0);for(var a=this._first,u=this.labels,l;a;)a._start>=s&&(a._start+=n,a._end+=n),a=a._next;if(o)for(l in u)u[l]>=s&&(u[l]+=n);return Pi(this)},t.invalidate=function(n){var o=this._first;for(this._lock=0;o;)o.invalidate(n),o=o._next;return i.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={}),Pi(this)},t.totalDuration=function(n){var o=0,s=this,a=s._last,u=Ht,l,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;)l=a._prev,a._dirty&&a.totalDuration(),c=a._start,c>u&&s._sort&&a._ts&&!s._lock?(s._lock=1,_r(s,a,c-a._delay,1)._lock=0):u=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),u=0),a._end>o&&a._ts&&(o=a._end),a=l;Dn(s,s===be&&s._time>o?s._time:o,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(n){if(be._ts&&(bd(be,Ws(n,be)),wd=xt.frame),xt.frame>=ad){ad+=Ct.autoSleep||120;var o=be._first;if((!o||!o._ts)&&Ct.autoSleep&&xt._listeners.length<2){for(;o&&!o._ts;)o=o._next;o||xt.sleep()}}},e}(vo);qt(Je.prototype,{_lock:0,_hasPause:0,_forcing:0});var am=function(e,t,r,n,o,s,a){var u=new ht(this._pt,e,t,0,1,yl,null,o),l=0,c=0,d,p,f,_,h,g,m,v;for(u.b=r,u.e=n,r+="",n+="",(m=~n.indexOf("random("))&&(n=wn(n)),s&&(v=[r,n],s(v,e,t),r=v[0],n=v[1]),p=r.match(Hu)||[];d=Hu.exec(n);)_=d[0],h=n.substring(l,d.index),f?f=(f+1)%5:h.substr(-5)==="rgba("&&(f=1),_!==p[c++]&&(g=parseFloat(p[c-1])||0,u._pt={_next:u._pt,p:h||c===1?h:",",s:g,c:_.charAt(1)==="="?Bi(g,_)-g:parseFloat(_)-g,m:f&&f<4?Math.round:0},l=Hu.lastIndex);return u.c=l<n.length?n.substring(l,n.length):"",u.fp=a,(ul.test(n)||m)&&(u.e=0),this._pt=u,u},gl=function(e,t,r,n,o,s,a,u,l,c){Ae(n)&&(n=n(o||0,e,s));var d=e[t],p=r!=="get"?r:Ae(d)?l?e[t.indexOf("set")||!Ae(e["get"+t.substr(3)])?t:"get"+t.substr(3)](l):e[t]():d,f=Ae(d)?l?dm:Xd:Dl,_;if(We(n)&&(~n.indexOf("random(")&&(n=wn(n)),n.charAt(1)==="="&&(_=Bi(p,n)+(et(p)||0),(_||_===0)&&(n=_))),!c||p!==n||il)return!isNaN(p*n)&&n!==""?(_=new ht(this._pt,e,t,+p||0,n-(p||0),typeof d=="boolean"?pm:Ud,0,f),l&&(_.fp=l),a&&_.modifier(a,this,e),this._pt=_):(!d&&!(t in e)&&Xs(t,n),am.call(this,e,t,p,n,f,u||Ct.stringFilter,l))},um=function(e,t,r,n,o){if(Ae(e)&&(e=po(e,o,t,r,n)),!gr(e)||e.style&&e.nodeType||st(e)||gd(e))return We(e)?po(e,o,t,r,n):e;var s={},a;for(a in e)s[a]=po(e[a],o,t,r,n);return s},ml=function(e,t,r,n,o,s){var a,u,l,c;if(Et[e]&&(a=new Et[e]).init(o,a.rawVars?t[e]:um(t[e],n,o,s,r),r,n,s)!==!1&&(r._pt=u=new ht(r._pt,o,e,0,1,a.render,a,0,a.priority),r!==gn))for(l=r._ptLookup[r._targets.indexOf(o)],c=a._props.length;c--;)l[a._props[c]]=u;return a},ii,il,vl=function i(e,t,r){var n=e.vars,o=n.ease,s=n.startAt,a=n.immediateRender,u=n.lazy,l=n.onUpdate,c=n.runBackwards,d=n.yoyoEase,p=n.keyframes,f=n.autoRevert,_=e._dur,h=e._startAt,g=e._targets,m=e.parent,v=m&&m.data==="nested"?m.vars.targets:g,y=e._overwrite==="auto"&&!ol,w=e.timeline,E,x,b,S,A,C,O,F,k,H,z,P,R;if(w&&(!p||!o)&&(o="none"),e._ease=Li(o,mn.ease),e._yEase=d?Vd(Li(d===!0?o:d,mn.ease)):0,d&&e._yoyo&&!e._repeat&&(d=e._yEase,e._yEase=e._ease,e._ease=d),e._from=!w&&!!n.runBackwards,!w||p&&!n.stagger){if(F=g[0]?oi(g[0]).harness:0,P=F&&n[F.prop],E=Hs(n,cl),h&&(h._zTime<0&&h.progress(1),t<0&&c&&a&&!f?h.render(-1,!0):h.revert(c&&_?Ns:N0),h._lazy=0),s){if(si(e._startAt=Pe.set(g,qt({data:"isStart",overwrite:!1,parent:m,immediateRender:!0,lazy:!h&&St(u),startAt:null,delay:0,onUpdate:l&&function(){return Lt(e,"onUpdate")},stagger:0},s))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(ot||!a&&!f)&&e._startAt.revert(Ns),a&&_&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(c&&_&&!h){if(t&&(a=!1),b=qt({overwrite:!1,data:"isFromStart",lazy:a&&!h&&St(u),immediateRender:a,stagger:0,parent:m},E),P&&(b[F.prop]=P),si(e._startAt=Pe.set(g,b)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(ot?e._startAt.revert(Ns):e._startAt.render(-1,!0)),e._zTime=t,!a)i(e._startAt,_e,_e);else if(!t)return}for(e._pt=e._ptCache=0,u=_&&St(u)||u&&!_,x=0;x<g.length;x++){if(A=g[x],O=A._gsap||dl(g)[x]._gsap,e._ptLookup[x]=H={},Zu[O.id]&&ni.length&&Vs(),z=v===g?x:v.indexOf(A),F&&(k=new F).init(A,P||E,e,z,v)!==!1&&(e._pt=S=new ht(e._pt,A,k.name,0,1,k.render,k,0,k.priority),k._props.forEach(function(N){H[N]=S}),k.priority&&(C=1)),!F||P)for(b in E)Et[b]&&(k=ml(b,E,e,z,A,v))?k.priority&&(C=1):H[b]=S=gl.call(e,A,b,"get",E[b],z,v,0,n.stringFilter);e._op&&e._op[x]&&e.kill(A,e._op[x]),y&&e._pt&&(ii=e,be.killTweensOf(A,H,e.globalTime(t)),R=!e.parent,ii=0),e._pt&&u&&(Zu[O.id]=1)}C&&bl(e),e._onInit&&e._onInit(e)}e._onUpdate=l,e._initted=(!e._op||e._pt)&&!R,p&&t<=0&&w.render(Ht,!0,!0)},lm=function(e,t,r,n,o,s,a,u){var l=(e._pt&&e._ptCache||(e._ptCache={}))[t],c,d,p,f;if(!l)for(l=e._ptCache[t]=[],p=e._ptLookup,f=e._targets.length;f--;){if(c=p[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 il=1,e.vars[t]="+=0",vl(e,a),il=0,u?_o(t+" not eligible for reset"):1;l.push(c)}for(f=l.length;f--;)d=l[f],c=d._pt||d,c.s=(n||n===0)&&!o?n:c.s+(n||0)+s*c.c,c.c=r-c.s,d.e&&(d.e=Fe(r)+et(d.e)),d.b&&(d.b=c.s+et(d.b))},cm=function(e,t){var r=e[0]?oi(e[0]).harness:0,n=r&&r.aliases,o,s,a,u;if(!n)return t;o=Ni({},t);for(s in n)if(s in o)for(u=n[s].split(","),a=u.length;a--;)o[u[a]]=o[s];return o},fm=function(e,t,r,n){var o=t.ease||n||"power1.inOut",s,a;if(st(t))a=r[e]||(r[e]=[]),t.forEach(function(u,l){return a.push({t:l/(t.length-1)*100,v:u,e:o})});else for(s in t)a=r[s]||(r[s]=[]),s==="ease"||a.push({t:parseFloat(e),v:t[s],e:o})},po=function(e,t,r,n,o){return Ae(e)?e.call(t,r,n,o):We(e)&&~e.indexOf("random(")?wn(e):e},qd=fl+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Yd={};dt(qd+",id,stagger,delay,duration,paused,scrollTrigger",function(i){return Yd[i]=1});var Pe=function(i){pd(e,i);function e(r,n,o,s){var a;typeof n=="number"&&(o.duration=n,n=o,o=null),a=i.call(this,s?n:fo(n))||this;var u=a.vars,l=u.duration,c=u.delay,d=u.immediateRender,p=u.stagger,f=u.overwrite,_=u.keyframes,h=u.defaults,g=u.scrollTrigger,m=u.yoyoEase,v=n.parent||be,y=(st(r)||gd(r)?Pr(r[0]):"length"in n)?[r]:Wt(r),w,E,x,b,S,A,C,O;if(a._targets=y.length?dl(y):_o("GSAP target "+r+" not found. https://gsap.com",!Ct.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=f,_||p||Rs(l)||Rs(c)){if(n=a.vars,w=a.timeline=new Je({data:"nested",defaults:h||{},targets:v&&v.data==="nested"?v.vars.targets:y}),w.kill(),w.parent=w._dp=Mr(a),w._start=0,p||Rs(l)||Rs(c)){if(b=y.length,C=p&&Md(p),gr(p))for(S in p)~qd.indexOf(S)&&(O||(O={}),O[S]=p[S]);for(E=0;E<b;E++)x=Hs(n,Yd),x.stagger=0,m&&(x.yoyoEase=m),O&&Ni(x,O),A=y[E],x.duration=+po(l,Mr(a),E,A,y),x.delay=(+po(c,Mr(a),E,A,y)||0)-a._delay,!p&&b===1&&x.delay&&(a._delay=c=x.delay,a._start+=c,x.delay=0),w.to(A,x,C?C(E,A,y):0),w._ease=le.none;w.duration()?l=c=0:a.timeline=0}else if(_){fo(qt(w.vars.defaults,{ease:"none"})),w._ease=Li(_.ease||n.ease||"none");var F=0,k,H,z;if(st(_))_.forEach(function(P){return w.to(y,P,">")}),w.duration();else{x={};for(S in _)S==="ease"||S==="easeEach"||fm(S,_[S],x,_.easeEach);for(S in x)for(k=x[S].sort(function(P,R){return P.t-R.t}),F=0,E=0;E<k.length;E++)H=k[E],z={ease:H.e,duration:(H.t-(E?k[E-1].t:0))/100*l},z[S]=H.v,w.to(y,z,F),F+=z.duration;w.duration()<l&&w.to({},{duration:l-w.duration()})}}l||a.duration(l=w.duration())}else a.timeline=0;return f===!0&&!ol&&(ii=Mr(a),be.killTweensOf(y),ii=0),_r(v,Mr(a),o),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(d||!l&&!_&&a._start===Ge(v._time)&&St(d)&&W0(Mr(a))&&v.data!=="nested")&&(a._tTime=-_e,a.render(Math.max(0,-c)||0)),g&&Td(Mr(a),g),a}var t=e.prototype;return t.render=function(n,o,s){var a=this._time,u=this._tDur,l=this._dur,c=n<0,d=n>u-_e&&!c?u:n<_e?0:n,p,f,_,h,g,m,v,y,w;if(!l)Y0(this,n,o,s);else if(d!==this._tTime||!n||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==c){if(p=d,y=this.timeline,this._repeat){if(h=l+this._rDelay,this._repeat<-1&&c)return this.totalTime(h*100+n,o,s);if(p=Ge(d%h),d===u?(_=this._repeat,p=l):(_=~~(d/h),_&&_===Ge(d/h)&&(p=l,_--),p>l&&(p=l)),m=this._yoyo&&_&1,m&&(w=this._yEase,p=l-p),g=vn(this._tTime,h),p===a&&!s&&this._initted&&_===g)return this._tTime=d,this;_!==g&&(y&&this._yEase&&Hd(y,m),this.vars.repeatRefresh&&!m&&!this._lock&&this._time!==h&&this._initted&&(this._lock=s=1,this.render(Ge(h*_),!0).invalidate()._lock=0))}if(!this._initted){if(Ad(this,c?n:p,s,o,d))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&_!==g))return this;if(l!==this._dur)return this.render(n,o,s)}if(this._tTime=d,this._time=p,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=v=(w||this._ease)(p/l),this._from&&(this.ratio=v=1-v),p&&!a&&!o&&!_&&(Lt(this,"onStart"),this._tTime!==d))return this;for(f=this._pt;f;)f.r(v,f.d),f=f._next;y&&y.render(n<0?n:y._dur*y._ease(p/this._dur),o,s)||this._startAt&&(this._zTime=n),this._onUpdate&&!o&&(c&&Qu(this,n,o,s),Lt(this,"onUpdate")),this._repeat&&_!==g&&this.vars.onRepeat&&!o&&this.parent&&Lt(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(c&&!this._onUpdate&&Qu(this,n,!0,!0),(n||!l)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&si(this,1),!o&&!(c&&!a)&&(d||a||m)&&(Lt(this,d===u?"onComplete":"onReverseComplete",!0),this._prom&&!(d<u&&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),i.prototype.invalidate.call(this,n)},t.resetTo=function(n,o,s,a,u){mo||xt.wake(),this._ts||this.play();var l=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||vl(this,l),c=this._ease(l/this._dur),lm(this,n,o,s,a,c,l,u)?this.resetTo(n,o,s,a,1):($s(this,0),this.parent||Sd(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?lo(this):this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(n,o,ii&&ii.vars.overwrite!==!0)._first||lo(this),this.parent&&s!==this.timeline.totalDuration()&&Dn(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,u=n?Wt(n):a,l=this._ptLookup,c=this._pt,d,p,f,_,h,g,m;if((!o||o==="all")&&V0(a,u))return o==="all"&&(this._pt=0),lo(this);for(d=this._op=this._op||[],o!=="all"&&(We(o)&&(h={},dt(o,function(v){return h[v]=1}),o=h),o=cm(a,o)),m=a.length;m--;)if(~u.indexOf(a[m])){p=l[m],o==="all"?(d[m]=o,_=p,f={}):(f=d[m]=d[m]||{},_=o);for(h in _)g=p&&p[h],g&&((!("kill"in g.d)||g.d.kill(h)===!0)&&Us(this,g,"_pt"),delete p[h]),f!=="all"&&(f[h]=1)}return this._initted&&!this._pt&&c&&lo(this),this},e.to=function(n,o){return new e(n,o,arguments[2])},e.from=function(n,o){return ho(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 ho(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 be.killTweensOf(n,o,s)},e}(vo);qt(Pe.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});dt("staggerTo,staggerFrom,staggerFromTo",function(i){Pe[i]=function(){var e=new Je,t=el.call(arguments,0);return t.splice(i==="staggerFromTo"?5:4,0,0),e[i].apply(e,t)}});var Dl=function(e,t,r){return e[t]=r},Xd=function(e,t,r){return e[t](r)},dm=function(e,t,r,n){return e[t](n.fp,r)},hm=function(e,t,r){return e.setAttribute(t,r)},js=function(e,t){return Ae(e[t])?Xd:Ys(e[t])&&e.setAttribute?hm:Dl},Ud=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},pm=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},yl=function(e,t){var r=t._pt,n="";if(!e&&t.b)n=t.b;else if(e===1&&t.e)n=t.e;else{for(;r;)n=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+n,r=r._next;n+=t.c}t.set(t.t,t.p,n,t)},wl=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},_m=function(e,t,r,n){for(var o=this._pt,s;o;)s=o._next,o.p===n&&o.modifier(e,t,r),o=s},gm=function(e){for(var t=this._pt,r,n;t;)n=t._next,t.p===e&&!t.op||t.op===e?Us(this,t,"_pt"):t.dep||(r=1),t=n;return!r},mm=function(e,t,r,n){n.mSet(e,t,n.m.call(n.tween,r,n.mt),n)},bl=function(e){for(var t=e._pt,r,n,o,s;t;){for(r=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=r}e._pt=o},ht=function(){function i(t,r,n,o,s,a,u,l,c){this.t=r,this.s=o,this.c=s,this.p=n,this.r=a||Ud,this.d=u||this,this.set=l||Dl,this.pr=c||0,this._next=t,t&&(t._prev=this)}var e=i.prototype;return e.modifier=function(r,n,o){this.mSet=this.mSet||this.set,this.set=mm,this.m=r,this.mt=o,this.tween=n},i}();dt(fl+"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(i){return cl[i]=1});Rt.TweenMax=Rt.TweenLite=Pe;Rt.TimelineLite=Rt.TimelineMax=Je;be=new Je({sortChildren:!1,defaults:mn,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Ct.stringFilter=pl;var Ri=[],Bs={},vm=[],hd=0,Dm=0,Uu=function(e){return(Bs[e]||vm).map(function(t){return t()})},nl=function(){var e=Date.now(),t=[];e-hd>2&&(Uu("matchMediaInit"),Ri.forEach(function(r){var n=r.queries,o=r.conditions,s,a,u,l;for(a in n)s=pr.matchMedia(n[a]).matches,s&&(u=1),s!==o[a]&&(o[a]=s,l=1);l&&(r.revert(),u&&t.push(r))}),Uu("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(n){return r.add(null,n)})}),hd=e,Uu("matchMedia"))},Gd=function(){function i(t,r){this.selector=r&&tl(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Dm++,t&&this.add(t)}var e=i.prototype;return e.add=function(r,n,o){Ae(r)&&(o=n,n=r,r=Ae);var s=this,a=function(){var l=ye,c=s.selector,d;return l&&l!==s&&l.data.push(s),o&&(s.selector=tl(o)),ye=s,d=n.apply(s,arguments),Ae(d)&&s._r.push(d),ye=l,s.selector=c,s.isReverted=!1,d};return s.last=a,r===Ae?a(s,function(u){return s.add(null,u)}):r?s[r]=a:a},e.ignore=function(r){var n=ye;ye=null,r(this),ye=n},e.getTweens=function(){var r=[];return this.data.forEach(function(n){return n instanceof i?r.push.apply(r,n.getTweens()):n instanceof Pe&&!(n.parent&&n.parent.data==="nested")&&r.push(n)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,n){var o=this;if(r?function(){for(var a=o.getTweens(),u=o.data.length,l;u--;)l=o.data[u],l.data==="isFlip"&&(l.revert(),l.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(r)}),u=o.data.length;u--;)l=o.data[u],l instanceof Je?l.data!=="nested"&&(l.scrollTrigger&&l.scrollTrigger.revert(),l.kill()):!(l instanceof Pe)&&l.revert&&l.revert(r);o._r.forEach(function(c){return c(r,o)}),o.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),n)for(var s=Ri.length;s--;)Ri[s].id===this.id&&Ri.splice(s,1)},e.revert=function(r){this.kill(r||{})},i}(),ym=function(){function i(t){this.contexts=[],this.scope=t,ye&&ye.data.push(this)}var e=i.prototype;return e.add=function(r,n,o){gr(r)||(r={matches:r});var s=new Gd(0,o||this.scope),a=s.conditions={},u,l,c;ye&&!s.selector&&(s.selector=ye.selector),this.contexts.push(s),n=s.add("onMatch",n),s.queries=r;for(l in r)l==="all"?c=1:(u=pr.matchMedia(r[l]),u&&(Ri.indexOf(s)<0&&Ri.push(s),(a[l]=u.matches)&&(c=1),u.addListener?u.addListener(nl):u.addEventListener("change",nl)));return c&&n(s,function(d){return s.add(null,d)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(n){return n.kill(r,!0)})},i}(),qs={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(function(n){return Id(n)})},timeline:function(e){return new Je(e)},getTweensOf:function(e,t){return be.getTweensOf(e,t)},getProperty:function(e,t,r,n){We(e)&&(e=Wt(e)[0]);var o=oi(e||{}).get,s=r?xd:Ed;return r==="native"&&(r=""),e&&(t?s((Et[t]&&Et[t].get||o)(e,t,r,n)):function(a,u,l){return s((Et[a]&&Et[a].get||o)(e,a,u,l))})},quickSetter:function(e,t,r){if(e=Wt(e),e.length>1){var n=e.map(function(c){return at.quickSetter(c,t,r)}),o=n.length;return function(c){for(var d=o;d--;)n[d](c)}}e=e[0]||{};var s=Et[t],a=oi(e),u=a.harness&&(a.harness.aliases||{})[t]||t,l=s?function(c){var d=new s;gn._pt=0,d.init(e,r?c+r:c,gn,0,[e]),d.render(1,d),gn._pt&&wl(1,gn)}:a.set(e,u);return s?l:function(c){return l(e,u,r?c+r:c,a,1)}},quickTo:function(e,t,r){var n,o=at.to(e,Ni((n={},n[t]="+=0.1",n.paused=!0,n),r||{})),s=function(u,l,c){return o.resetTo(t,u,l,c)};return s.tween=o,s},isTweening:function(e){return be.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Li(e.ease,mn.ease)),ud(mn,e||{})},config:function(e){return ud(Ct,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,n=e.plugins,o=e.defaults,s=e.extendTimeline;(n||"").split(",").forEach(function(a){return a&&!Et[a]&&!Rt[a]&&_o(t+" effect requires "+a+" plugin.")}),Wu[t]=function(a,u,l){return r(Wt(a),qt(u||{},o),l)},s&&(Je.prototype[t]=function(a,u,l){return this.add(Wu[t](a,gr(u)?u:(l=u)&&{},this),l)})},registerEase:function(e,t){le[e]=Li(t)},parseEase:function(e,t){return arguments.length?Li(e,t):le},getById:function(e){return be.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new Je(e),n,o;for(r.smoothChildTiming=St(e.smoothChildTiming),be.remove(r),r._dp=0,r._time=r._tTime=be._time,n=be._first;n;)o=n._next,(t||!(!n._dur&&n instanceof Pe&&n.vars.onComplete===n._targets[0]))&&_r(r,n,n._start-n._delay),n=o;return _r(be,r,0),r},context:function(e,t){return e?new Gd(e,t):ye},matchMedia:function(e){return new ym(e)},matchMediaRefresh:function(){return Ri.forEach(function(e){var t=e.conditions,r,n;for(n in t)t[n]&&(t[n]=!1,r=1);r&&e.revert()})||nl()},addEventListener:function(e,t){var r=Bs[e]||(Bs[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=Bs[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},utils:{wrap:Q0,wrapYoyo:J0,distribute:Md,random:Pd,snap:kd,normalize:Z0,getUnit:et,clamp:G0,splitColor:Bd,toArray:Wt,selector:tl,mapRange:Rd,pipe:j0,unitize:K0,interpolate:em,shuffle:Od},install:Dd,effects:Wu,ticker:xt,updateRoot:Je.updateRoot,plugins:Et,globalTimeline:be,core:{PropTween:ht,globals:yd,Tween:Pe,Timeline:Je,Animation:vo,getCache:oi,_removeLinkedListItem:Us,reverting:function(){return ot},context:function(e){return e&&ye&&(ye.data.push(e),e._ctx=ye),ye},suppressOverwrites:function(e){return ol=e}}};dt("to,from,fromTo,delayedCall,set,killTweensOf",function(i){return qs[i]=Pe[i]});xt.add(Je.updateRoot);gn=qs.to({},{duration:0});var wm=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},bm=function(e,t){var r=e._targets,n,o,s;for(n in t)for(o=r.length;o--;)s=e._ptLookup[o][n],s&&(s=s.d)&&(s._pt&&(s=wm(s,n)),s&&s.modifier&&s.modifier(t[n],e,r[o],n))},Gu=function(e,t){return{name:e,rawVars:1,init:function(n,o,s){s._onInit=function(a){var u,l;if(We(o)&&(u={},dt(o,function(c){return u[c]=1}),o=u),t){u={};for(l in o)u[l]=t(o[l]);o=u}bm(a,o)}}}},at=qs.registerPlugin({name:"attr",init:function(e,t,r,n,o){var s,a,u;this.tween=r;for(s in t)u=e.getAttribute(s)||"",a=this.add(e,"setAttribute",(u||0)+"",t[s],n,o,0,0,s),a.op=s,a.b=u,this._props.push(s)},render:function(e,t){for(var r=t._pt;r;)ot?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",init:function(e,t){for(var r=t.length;r--;)this.add(e,r,e[r]||0,t[r],0,0,0,0,0,1)}},Gu("roundProps",rl),Gu("modifiers"),Gu("snap",kd))||qs;Pe.version=Je.version=at.version="3.12.5";vd=1;sl()&&yn();var Em=le.Power0,xm=le.Power1,Sm=le.Power2,Cm=le.Power3,Tm=le.Power4,Am=le.Linear,Fm=le.Quad,Om=le.Cubic,Mm=le.Quart,km=le.Quint,Pm=le.Strong,Lm=le.Elastic,Rm=le.Back,Nm=le.SteppedEase,Im=le.Bounce,Bm=le.Sine,zm=le.Expo,Vm=le.Circ;var $d,ui,En,Fl,qi,Hm,jd,Ol,Wm=function(){return typeof window<"u"},Rr={},Wi=180/Math.PI,xn=Math.PI/180,bn=Math.atan2,Kd=1e8,Ml=/([A-Z])/g,qm=/(left|right|width|margin|padding|x)/i,Ym=/[\s,\(]\S/,mr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Sl=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Xm=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)},Um=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)},Gm=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},ih=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},nh=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},$m=function(e,t,r){return e.style[t]=r},jm=function(e,t,r){return e.style.setProperty(t,r)},Km=function(e,t,r){return e._gsap[t]=r},Zm=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},Qm=function(e,t,r,n,o){var s=e._gsap;s.scaleX=s.scaleY=r,s.renderTransform(o,s)},Jm=function(e,t,r,n,o){var s=e._gsap;s[t]=r,s.renderTransform(o,s)},Ee="transform",Tt=Ee+"Origin",ev=function i(e,t){var r=this,n=this.target,o=n.style,s=n._gsap;if(e in Rr&&o){if(this.tfm=this.tfm||{},e!=="transform")e=mr[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return r.tfm[a]=Lr(n,a)}):this.tfm[e]=s.x?s[e]:Lr(n,e),e===Tt&&(this.tfm.zOrigin=s.zOrigin);else return mr.transform.split(",").forEach(function(a){return i.call(r,a,t)});if(this.props.indexOf(Ee)>=0)return;s.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(Tt,t,"")),e=Ee}(o||t)&&this.props.push(e,t,o[e])},oh=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},tv=function(){var e=this.props,t=this.target,r=t.style,n=t._gsap,o,s;for(o=0;o<e.length;o+=3)e[o+1]?t[e[o]]=e[o+2]:e[o+2]?r[e[o]]=e[o+2]:r.removeProperty(e[o].substr(0,2)==="--"?e[o]:e[o].replace(Ml,"-$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=Ol(),(!o||!o.isStart)&&!r[Ee]&&(oh(r),n.zOrigin&&r[Tt]&&(r[Tt]+=" "+n.zOrigin+"px",n.zOrigin=0,n.renderTransform()),n.uncache=1)}},sh=function(e,t){var r={target:e,props:[],revert:tv,save:ev};return e._gsap||at.core.getCache(e),t&&t.split(",").forEach(function(n){return r.save(n)}),r},ah,Cl=function(e,t){var r=ui.createElementNS?ui.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):ui.createElement(e);return r&&r.style?r:ui.createElement(e)},vr=function i(e,t,r){var n=getComputedStyle(e);return n[t]||n.getPropertyValue(t.replace(Ml,"-$1").toLowerCase())||n.getPropertyValue(t)||!r&&i(e,Sn(t)||t,1)||""},Zd="O,Moz,ms,Ms,Webkit".split(","),Sn=function(e,t,r){var n=t||qi,o=n.style,s=5;if(e in o&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(Zd[s]+e in o););return s<0?null:(s===3?"ms":s>=0?Zd[s]:"")+e},Tl=function(){Wm()&&window.document&&($d=window,ui=$d.document,En=ui.documentElement,qi=Cl("div")||{style:{}},Hm=Cl("div"),Ee=Sn(Ee),Tt=Ee+"Origin",qi.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",ah=!!Sn("perspective"),Ol=at.core.reverting,Fl=1)},El=function i(e){var t=Cl("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,n=this.nextSibling,o=this.style.cssText,s;if(En.appendChild(t),t.appendChild(this),this.style.display="block",e)try{s=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=i}catch{}else this._gsapBBox&&(s=this._gsapBBox());return r&&(n?r.insertBefore(this,n):r.appendChild(this)),En.removeChild(t),this.style.cssText=o,s},Qd=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},uh=function(e){var t;try{t=e.getBBox()}catch{t=El.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===El||(t=El.call(e,!0)),t&&!t.width&&!t.x&&!t.y?{x:+Qd(e,["x","cx","x1"])||0,y:+Qd(e,["y","cy","y1"])||0,width:0,height:0}:t},lh=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&uh(e))},Yi=function(e,t){if(t){var r=e.style,n;t in Rr&&t!==Tt&&(t=Ee),r.removeProperty?(n=t.substr(0,2),(n==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(n==="--"?t:t.replace(Ml,"-$1").toLowerCase())):r.removeAttribute(t)}},li=function(e,t,r,n,o,s){var a=new ht(e._pt,t,r,0,1,s?nh:ih);return e._pt=a,a.b=n,a.e=o,e._props.push(r),a},Jd={deg:1,rad:1,turn:1},rv={grid:1,flex:1},ci=function i(e,t,r,n){var o=parseFloat(r)||0,s=(r+"").trim().substr((o+"").length)||"px",a=qi.style,u=qm.test(t),l=e.tagName.toLowerCase()==="svg",c=(l?"client":"offset")+(u?"Width":"Height"),d=100,p=n==="px",f=n==="%",_,h,g,m;if(n===s||!o||Jd[n]||Jd[s])return o;if(s!=="px"&&!p&&(o=i(e,t,r,"px")),m=e.getCTM&&lh(e),(f||s==="%")&&(Rr[t]||~t.indexOf("adius")))return _=m?e.getBBox()[u?"width":"height"]:e[c],Fe(f?o/_*d:o/100*_);if(a[u?"width":"height"]=d+(p?s:n),h=~t.indexOf("adius")||n==="em"&&e.appendChild&&!l?e:e.parentNode,m&&(h=(e.ownerSVGElement||{}).parentNode),(!h||h===ui||!h.appendChild)&&(h=ui.body),g=h._gsap,g&&f&&g.width&&u&&g.time===xt.time&&!g.uncache)return Fe(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:Yi(e,t)}else(f||s==="%")&&!rv[vr(h,"display")]&&(a.position=vr(e,"position")),h===e&&(a.position="static"),h.appendChild(qi),_=qi[c],h.removeChild(qi),a.position="absolute";return u&&f&&(g=oi(h),g.time=xt.time,g.width=h[c]),Fe(p?_*o/d:_&&o?d/_*o:0)},Lr=function(e,t,r,n){var o;return Fl||Tl(),t in mr&&t!=="transform"&&(t=mr[t],~t.indexOf(",")&&(t=t.split(",")[0])),Rr[t]&&t!=="transform"?(o=bo(e,n),o=t!=="transformOrigin"?o[t]:o.svg?o.origin:Zs(vr(e,Tt))+" "+o.zOrigin+"px"):(o=e.style[t],(!o||o==="auto"||n||~(o+"").indexOf("calc("))&&(o=Ks[t]&&Ks[t](e,t,r)||vr(e,t)||hl(e,t)||(t==="opacity"?1:0))),r&&!~(o+"").trim().indexOf(" ")?ci(e,t,o,r)+r:o},iv=function(e,t,r,n){if(!r||r==="none"){var o=Sn(t,e,1),s=o&&vr(e,o,1);s&&s!==r?(t=o,r=s):t==="borderColor"&&(r=vr(e,"borderTopColor"))}var a=new ht(this._pt,e.style,t,0,1,yl),u=0,l=0,c,d,p,f,_,h,g,m,v,y,w,E;if(a.b=r,a.e=n,r+="",n+="",n==="auto"&&(h=e.style[t],e.style[t]=n,n=vr(e,t)||n,h?e.style[t]=h:Yi(e,t)),c=[r,n],pl(c),r=c[0],n=c[1],p=r.match(Ii)||[],E=n.match(Ii)||[],E.length){for(;d=Ii.exec(n);)g=d[0],v=n.substring(u,d.index),_?_=(_+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(_=1),g!==(h=p[l++]||"")&&(f=parseFloat(h)||0,w=h.substr((f+"").length),g.charAt(1)==="="&&(g=Bi(f,g)+w),m=parseFloat(g),y=g.substr((m+"").length),u=Ii.lastIndex-y.length,y||(y=y||Ct.units[t]||w,u===n.length&&(n+=y,a.e+=y)),w!==y&&(f=ci(e,t,h,y)||0),a._pt={_next:a._pt,p:v||l===1?v:",",s:f,c:m-f,m:_&&_<4||t==="zIndex"?Math.round:0});a.c=u<n.length?n.substring(u,n.length):""}else a.r=t==="display"&&n==="none"?nh:ih;return ul.test(n)&&(a.e=0),this._pt=a,a},eh={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},nv=function(e){var t=e.split(" "),r=t[0],n=t[1]||"50%";return(r==="top"||r==="bottom"||n==="left"||n==="right")&&(e=r,r=n,n=e),t[0]=eh[r]||r,t[1]=eh[n]||n,t.join(" ")},ov=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,n=r.style,o=t.u,s=r._gsap,a,u,l;if(o==="all"||o===!0)n.cssText="",u=1;else for(o=o.split(","),l=o.length;--l>-1;)a=o[l],Rr[a]&&(u=1,a=a==="transformOrigin"?Tt:Ee),Yi(r,a);u&&(Yi(r,Ee),s&&(s.svg&&r.removeAttribute("transform"),bo(r,1),s.uncache=1,oh(n)))}},Ks={clearProps:function(e,t,r,n,o){if(o.data!=="isFromStart"){var s=e._pt=new ht(e._pt,t,r,0,0,ov);return s.u=n,s.pr=-10,s.tween=o,e._props.push(r),1}}},wo=[1,0,0,1,0,0],ch={},fh=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},th=function(e){var t=vr(e,Ee);return fh(t)?wo:t.substr(7).match(al).map(Fe)},kl=function(e,t){var r=e._gsap||oi(e),n=e.style,o=th(e),s,a,u,l;return r.svg&&e.getAttribute("transform")?(u=e.transform.baseVal.consolidate().matrix,o=[u.a,u.b,u.c,u.d,u.e,u.f],o.join(",")==="1,0,0,1,0,0"?wo:o):(o===wo&&!e.offsetParent&&e!==En&&!r.svg&&(u=n.display,n.display="block",s=e.parentNode,(!s||!e.offsetParent)&&(l=1,a=e.nextElementSibling,En.appendChild(e)),o=th(e),u?n.display=u:Yi(e,"display"),l&&(a?s.insertBefore(e,a):s?s.appendChild(e):En.removeChild(e))),t&&o.length>6?[o[0],o[1],o[4],o[5],o[12],o[13]]:o)},Al=function(e,t,r,n,o,s){var a=e._gsap,u=o||kl(e,!0),l=a.xOrigin||0,c=a.yOrigin||0,d=a.xOffset||0,p=a.yOffset||0,f=u[0],_=u[1],h=u[2],g=u[3],m=u[4],v=u[5],y=t.split(" "),w=parseFloat(y[0])||0,E=parseFloat(y[1])||0,x,b,S,A;r?u!==wo&&(b=f*g-_*h)&&(S=w*(g/b)+E*(-h/b)+(h*v-g*m)/b,A=w*(-_/b)+E*(f/b)-(f*v-_*m)/b,w=S,E=A):(x=uh(e),w=x.x+(~y[0].indexOf("%")?w/100*x.width:w),E=x.y+(~(y[1]||y[0]).indexOf("%")?E/100*x.height:E)),n||n!==!1&&a.smooth?(m=w-l,v=E-c,a.xOffset=d+(m*f+v*h)-m,a.yOffset=p+(m*_+v*g)-v):a.xOffset=a.yOffset=0,a.xOrigin=w,a.yOrigin=E,a.smooth=!!n,a.origin=t,a.originIsAbsolute=!!r,e.style[Tt]="0px 0px",s&&(li(s,a,"xOrigin",l,w),li(s,a,"yOrigin",c,E),li(s,a,"xOffset",d,a.xOffset),li(s,a,"yOffset",p,a.yOffset)),e.setAttribute("data-svg-origin",w+" "+E)},bo=function(e,t){var r=e._gsap||new _l(e);if("x"in r&&!t&&!r.uncache)return r;var n=e.style,o=r.scaleX<0,s="px",a="deg",u=getComputedStyle(e),l=vr(e,Tt)||"0",c,d,p,f,_,h,g,m,v,y,w,E,x,b,S,A,C,O,F,k,H,z,P,R,N,T,D,L,X,te,U,G;return c=d=p=h=g=m=v=y=w=0,f=_=1,r.svg=!!(e.getCTM&&lh(e)),u.translate&&((u.translate!=="none"||u.scale!=="none"||u.rotate!=="none")&&(n[Ee]=(u.translate!=="none"?"translate3d("+(u.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(u.rotate!=="none"?"rotate("+u.rotate+") ":"")+(u.scale!=="none"?"scale("+u.scale.split(" ").join(",")+") ":"")+(u[Ee]!=="none"?u[Ee]:"")),n.scale=n.rotate=n.translate="none"),b=kl(e,r.svg),r.svg&&(r.uncache?(N=e.getBBox(),l=r.xOrigin-N.x+"px "+(r.yOrigin-N.y)+"px",R=""):R=!t&&e.getAttribute("data-svg-origin"),Al(e,R||l,!!R||r.originIsAbsolute,r.smooth!==!1,b)),E=r.xOrigin||0,x=r.yOrigin||0,b!==wo&&(O=b[0],F=b[1],k=b[2],H=b[3],c=z=b[4],d=P=b[5],b.length===6?(f=Math.sqrt(O*O+F*F),_=Math.sqrt(H*H+k*k),h=O||F?bn(F,O)*Wi:0,v=k||H?bn(k,H)*Wi+h:0,v&&(_*=Math.abs(Math.cos(v*xn))),r.svg&&(c-=E-(E*O+x*k),d-=x-(E*F+x*H))):(G=b[6],te=b[7],D=b[8],L=b[9],X=b[10],U=b[11],c=b[12],d=b[13],p=b[14],S=bn(G,X),g=S*Wi,S&&(A=Math.cos(-S),C=Math.sin(-S),R=z*A+D*C,N=P*A+L*C,T=G*A+X*C,D=z*-C+D*A,L=P*-C+L*A,X=G*-C+X*A,U=te*-C+U*A,z=R,P=N,G=T),S=bn(-k,X),m=S*Wi,S&&(A=Math.cos(-S),C=Math.sin(-S),R=O*A-D*C,N=F*A-L*C,T=k*A-X*C,U=H*C+U*A,O=R,F=N,k=T),S=bn(F,O),h=S*Wi,S&&(A=Math.cos(S),C=Math.sin(S),R=O*A+F*C,N=z*A+P*C,F=F*A-O*C,P=P*A-z*C,O=R,z=N),g&&Math.abs(g)+Math.abs(h)>359.9&&(g=h=0,m=180-m),f=Fe(Math.sqrt(O*O+F*F+k*k)),_=Fe(Math.sqrt(P*P+G*G)),S=bn(z,P),v=Math.abs(S)>2e-4?S*Wi:0,w=U?1/(U<0?-U:U):0),r.svg&&(R=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!fh(vr(e,Ee)),R&&e.setAttribute("transform",R))),Math.abs(v)>90&&Math.abs(v)<270&&(o?(f*=-1,v+=h<=0?180:-180,h+=h<=0?180:-180):(_*=-1,v+=v<=0?180:-180)),t=t||r.uncache,r.x=c-((r.xPercent=c&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-c)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+s,r.y=d-((r.yPercent=d&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-d)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+s,r.z=p+s,r.scaleX=Fe(f),r.scaleY=Fe(_),r.rotation=Fe(h)+a,r.rotationX=Fe(g)+a,r.rotationY=Fe(m)+a,r.skewX=v+a,r.skewY=y+a,r.transformPerspective=w+s,(r.zOrigin=parseFloat(l.split(" ")[2])||!t&&r.zOrigin||0)&&(n[Tt]=Zs(l)),r.xOffset=r.yOffset=0,r.force3D=Ct.force3D,r.renderTransform=r.svg?av:ah?dh:sv,r.uncache=0,r},Zs=function(e){return(e=e.split(" "))[0]+" "+e[1]},xl=function(e,t,r){var n=et(t);return Fe(parseFloat(t)+parseFloat(ci(e,"x",r+"px",n)))+n},sv=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,dh(e,t)},Vi="0deg",yo="0px",Hi=") ",dh=function(e,t){var r=t||this,n=r.xPercent,o=r.yPercent,s=r.x,a=r.y,u=r.z,l=r.rotation,c=r.rotationY,d=r.rotationX,p=r.skewX,f=r.skewY,_=r.scaleX,h=r.scaleY,g=r.transformPerspective,m=r.force3D,v=r.target,y=r.zOrigin,w="",E=m==="auto"&&e&&e!==1||m===!0;if(y&&(d!==Vi||c!==Vi)){var x=parseFloat(c)*xn,b=Math.sin(x),S=Math.cos(x),A;x=parseFloat(d)*xn,A=Math.cos(x),s=xl(v,s,b*A*-y),a=xl(v,a,-Math.sin(x)*-y),u=xl(v,u,S*A*-y+y)}g!==yo&&(w+="perspective("+g+Hi),(n||o)&&(w+="translate("+n+"%, "+o+"%) "),(E||s!==yo||a!==yo||u!==yo)&&(w+=u!==yo||E?"translate3d("+s+", "+a+", "+u+") ":"translate("+s+", "+a+Hi),l!==Vi&&(w+="rotate("+l+Hi),c!==Vi&&(w+="rotateY("+c+Hi),d!==Vi&&(w+="rotateX("+d+Hi),(p!==Vi||f!==Vi)&&(w+="skew("+p+", "+f+Hi),(_!==1||h!==1)&&(w+="scale("+_+", "+h+Hi),v.style[Ee]=w||"translate(0, 0)"},av=function(e,t){var r=t||this,n=r.xPercent,o=r.yPercent,s=r.x,a=r.y,u=r.rotation,l=r.skewX,c=r.skewY,d=r.scaleX,p=r.scaleY,f=r.target,_=r.xOrigin,h=r.yOrigin,g=r.xOffset,m=r.yOffset,v=r.forceCSS,y=parseFloat(s),w=parseFloat(a),E,x,b,S,A;u=parseFloat(u),l=parseFloat(l),c=parseFloat(c),c&&(c=parseFloat(c),l+=c,u+=c),u||l?(u*=xn,l*=xn,E=Math.cos(u)*d,x=Math.sin(u)*d,b=Math.sin(u-l)*-p,S=Math.cos(u-l)*p,l&&(c*=xn,A=Math.tan(l-c),A=Math.sqrt(1+A*A),b*=A,S*=A,c&&(A=Math.tan(c),A=Math.sqrt(1+A*A),E*=A,x*=A)),E=Fe(E),x=Fe(x),b=Fe(b),S=Fe(S)):(E=d,S=p,x=b=0),(y&&!~(s+"").indexOf("px")||w&&!~(a+"").indexOf("px"))&&(y=ci(f,"x",s,"px"),w=ci(f,"y",a,"px")),(_||h||g||m)&&(y=Fe(y+_-(_*E+h*b)+g),w=Fe(w+h-(_*x+h*S)+m)),(n||o)&&(A=f.getBBox(),y=Fe(y+n/100*A.width),w=Fe(w+o/100*A.height)),A="matrix("+E+","+x+","+b+","+S+","+y+","+w+")",f.setAttribute("transform",A),v&&(f.style[Ee]=A)},uv=function(e,t,r,n,o){var s=360,a=We(o),u=parseFloat(o)*(a&&~o.indexOf("rad")?Wi:1),l=u-n,c=n+l+"deg",d,p;return a&&(d=o.split("_")[1],d==="short"&&(l%=s,l!==l%(s/2)&&(l+=l<0?s:-s)),d==="cw"&&l<0?l=(l+s*Kd)%s-~~(l/s)*s:d==="ccw"&&l>0&&(l=(l-s*Kd)%s-~~(l/s)*s)),e._pt=p=new ht(e._pt,t,r,n,l,Xm),p.e=c,p.u="deg",e._props.push(r),p},rh=function(e,t){for(var r in t)e[r]=t[r];return e},lv=function(e,t,r){var n=rh({},r._gsap),o="perspective,force3D,transformOrigin,svgOrigin",s=r.style,a,u,l,c,d,p,f,_;n.svg?(l=r.getAttribute("transform"),r.setAttribute("transform",""),s[Ee]=t,a=bo(r,1),Yi(r,Ee),r.setAttribute("transform",l)):(l=getComputedStyle(r)[Ee],s[Ee]=t,a=bo(r,1),s[Ee]=l);for(u in Rr)l=n[u],c=a[u],l!==c&&o.indexOf(u)<0&&(f=et(l),_=et(c),d=f!==_?ci(r,u,l,_):parseFloat(l),p=parseFloat(c),e._pt=new ht(e._pt,a,u,d,p-d,Sl),e._pt.u=_||0,e._props.push(u));rh(a,n)};dt("padding,margin,Width,Radius",function(i,e){var t="Top",r="Right",n="Bottom",o="Left",s=(e<3?[t,r,n,o]:[t+o,t+r,n+r,n+o]).map(function(a){return e<2?i+a:"border"+a+i});Ks[e>1?"border"+i:i]=function(a,u,l,c,d){var p,f;if(arguments.length<4)return p=s.map(function(_){return Lr(a,_,l)}),f=p.join(" "),f.split(p[0]).length===5?p[0]:f;p=(c+"").split(" "),f={},s.forEach(function(_,h){return f[_]=p[h]=p[h]||p[(h-1)/2|0]}),a.init(u,f,d)}});var Pl={name:"css",register:Tl,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,n,o){var s=this._props,a=e.style,u=r.vars.startAt,l,c,d,p,f,_,h,g,m,v,y,w,E,x,b,S;Fl||Tl(),this.styles=this.styles||sh(e),S=this.styles.props,this.tween=r;for(h in t)if(h!=="autoRound"&&(c=t[h],!(Et[h]&&ml(h,t,r,n,e,o)))){if(f=typeof c,_=Ks[h],f==="function"&&(c=c.call(r,n,e,o),f=typeof c),f==="string"&&~c.indexOf("random(")&&(c=wn(c)),_)_(this,e,h,c,r)&&(b=1);else if(h.substr(0,2)==="--")l=(getComputedStyle(e).getPropertyValue(h)+"").trim(),c+="",kr.lastIndex=0,kr.test(l)||(g=et(l),m=et(c)),m?g!==m&&(l=ci(e,h,l,m)+m):g&&(c+=g),this.add(a,"setProperty",l,c,n,o,0,0,h),s.push(h),S.push(h,0,a[h]);else if(f!=="undefined"){if(u&&h in u?(l=typeof u[h]=="function"?u[h].call(r,n,e,o):u[h],We(l)&&~l.indexOf("random(")&&(l=wn(l)),et(l+"")||l==="auto"||(l+=Ct.units[h]||et(Lr(e,h))||""),(l+"").charAt(1)==="="&&(l=Lr(e,h))):l=Lr(e,h),p=parseFloat(l),v=f==="string"&&c.charAt(1)==="="&&c.substr(0,2),v&&(c=c.substr(2)),d=parseFloat(c),h in mr&&(h==="autoAlpha"&&(p===1&&Lr(e,"visibility")==="hidden"&&d&&(p=0),S.push("visibility",0,a.visibility),li(this,a,"visibility",p?"inherit":"hidden",d?"inherit":"hidden",!d)),h!=="scale"&&h!=="transform"&&(h=mr[h],~h.indexOf(",")&&(h=h.split(",")[0]))),y=h in Rr,y){if(this.styles.save(h),w||(E=e._gsap,E.renderTransform&&!t.parseTransform||bo(e,t.parseTransform),x=t.smoothOrigin!==!1&&E.smooth,w=this._pt=new ht(this._pt,a,Ee,0,1,E.renderTransform,E,0,-1),w.dep=1),h==="scale")this._pt=new ht(this._pt,E,"scaleY",E.scaleY,(v?Bi(E.scaleY,v+d):d)-E.scaleY||0,Sl),this._pt.u=0,s.push("scaleY",h),h+="X";else if(h==="transformOrigin"){S.push(Tt,0,a[Tt]),c=nv(c),E.svg?Al(e,c,0,x,0,this):(m=parseFloat(c.split(" ")[2])||0,m!==E.zOrigin&&li(this,E,"zOrigin",E.zOrigin,m),li(this,a,h,Zs(l),Zs(c)));continue}else if(h==="svgOrigin"){Al(e,c,1,x,0,this);continue}else if(h in ch){uv(this,E,h,p,v?Bi(p,v+c):c);continue}else if(h==="smoothOrigin"){li(this,E,"smooth",E.smooth,c);continue}else if(h==="force3D"){E[h]=c;continue}else if(h==="transform"){lv(this,c,e);continue}}else h in a||(h=Sn(h)||h);if(y||(d||d===0)&&(p||p===0)&&!Ym.test(c)&&h in a)g=(l+"").substr((p+"").length),d||(d=0),m=et(c)||(h in Ct.units?Ct.units[h]:g),g!==m&&(p=ci(e,h,l,m)),this._pt=new ht(this._pt,y?E:a,h,p,(v?Bi(p,v+d):d)-p,!y&&(m==="px"||h==="zIndex")&&t.autoRound!==!1?Gm:Sl),this._pt.u=m||0,g!==m&&m!=="%"&&(this._pt.b=l,this._pt.r=Um);else if(h in a)iv.call(this,e,h,l,v?v+c:c);else if(h in e)this.add(e,h,l||e[h],v?v+c:c,n,o);else if(h!=="parseTransform"){Xs(h,c);continue}y||(h in a?S.push(h,0,a[h]):S.push(h,1,l||e[h])),s.push(h)}}b&&bl(this)},render:function(e,t){if(t.tween._time||!Ol())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:Lr,aliases:mr,getSetter:function(e,t,r){var n=mr[t];return n&&n.indexOf(",")<0&&(t=n),t in Rr&&t!==Tt&&(e._gsap.x||Lr(e,"x"))?r&&jd===r?t==="scale"?Zm:Km:(jd=r||{})&&(t==="scale"?Qm:Jm):e.style&&!Ys(e.style[t])?$m:~t.indexOf("-")?jm:js(e,t)},core:{_removeProperty:Yi,_getMatrix:kl}};at.utils.checkPrefix=Sn;at.core.getStyleSaver=sh;(function(i,e,t,r){var n=dt(i+","+e+","+t,function(o){Rr[o]=1});dt(e,function(o){Ct.units[o]="deg",ch[o]=1}),mr[n[13]]=i+","+e,dt(r,function(o){var s=o.split(":");mr[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");dt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(i){Ct.units[i]="px"});at.registerPlugin(Pl);var V=at.registerPlugin(Pl)||at,Vy=V.core.Tween;function hh(i,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(i,r.key,r)}}function cv(i,e,t){return e&&hh(i.prototype,e),t&&hh(i,t),i}var tt,ea,fv,Nt,fi,di,Tn,_h,Xi,xo,gh,Nr,nr,mh,vh=function(){return tt||typeof window<"u"&&(tt=window.gsap)&&tt.registerPlugin&&tt},Dh=1,Cn=[],oe=[],or=[],So=Date.now,Ll=function(e,t){return t},dv=function(){var e=xo.core,t=e.bridge||{},r=e._scrollers,n=e._proxies;r.push.apply(r,oe),n.push.apply(n,or),oe=r,or=n,Ll=function(s,a){return t[s](a)}},Br=function(e,t){return~or.indexOf(e)&&or[or.indexOf(e)+1][t]},Co=function(e){return!!~gh.indexOf(e)},_t=function(e,t,r,n,o){return e.addEventListener(t,r,{passive:n!==!1,capture:!!o})},pt=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},Qs="scrollLeft",Js="scrollTop",Rl=function(){return Nr&&Nr.isPressed||oe.cache++},ta=function(e,t){var r=function n(o){if(o||o===0){Dh&&(Nt.history.scrollRestoration="manual");var s=Nr&&Nr.isPressed;o=n.v=Math.round(o)||(Nr&&Nr.iOS?1:0),e(o),n.cacheID=oe.cache,s&&Ll("ss",o)}else(t||oe.cache!==n.cacheID||Ll("ref"))&&(n.cacheID=oe.cache,n.v=e());return n.v+n.offset};return r.offset=0,e&&r},ut={s:Qs,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:ta(function(i){return arguments.length?Nt.scrollTo(i,Ie.sc()):Nt.pageXOffset||fi[Qs]||di[Qs]||Tn[Qs]||0})},Ie={s:Js,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:ut,sc:ta(function(i){return arguments.length?Nt.scrollTo(ut.sc(),i):Nt.pageYOffset||fi[Js]||di[Js]||Tn[Js]||0})},gt=function(e,t){return(t&&t._ctx&&t._ctx.selector||tt.utils.toArray)(e)[0]||(typeof e=="string"&&tt.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},Ir=function(e,t){var r=t.s,n=t.sc;Co(e)&&(e=fi.scrollingElement||di);var o=oe.indexOf(e),s=n===Ie.sc?1:2;!~o&&(o=oe.push(e)-1),oe[o+s]||_t(e,"scroll",Rl);var a=oe[o+s],u=a||(oe[o+s]=ta(Br(e,r),!0)||(Co(e)?n:ta(function(l){return arguments.length?e[r]=l:e[r]})));return u.target=e,a||(u.smooth=tt.getProperty(e,"scrollBehavior")==="smooth"),u},ra=function(e,t,r){var n=e,o=e,s=So(),a=s,u=t||50,l=Math.max(500,u*3),c=function(_,h){var g=So();h||g-s>u?(o=n,n=_,a=s,s=g):r?n+=_:n=o+(_-o)/(g-a)*(s-a)},d=function(){o=n=r?0:n,a=s=0},p=function(_){var h=a,g=o,m=So();return(_||_===0)&&_!==n&&c(_),s===a||m-a>l?0:(n+(r?g:-g))/((r?m:s)-h)*1e3};return{update:c,reset:d,getVelocity:p}},Eo=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},ph=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},yh=function(){xo=tt.core.globals().ScrollTrigger,xo&&xo.core&&dv()},wh=function(e){return tt=e||vh(),!ea&&tt&&typeof document<"u"&&document.body&&(Nt=window,fi=document,di=fi.documentElement,Tn=fi.body,gh=[Nt,fi,di,Tn],fv=tt.utils.clamp,mh=tt.core.context||function(){},Xi="onpointerenter"in Tn?"pointer":"mouse",_h=Oe.isTouch=Nt.matchMedia&&Nt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Nt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,nr=Oe.eventTypes=("ontouchstart"in di?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in di?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return Dh=0},500),yh(),ea=1),ea};ut.op=Ie;oe.cache=0;var Oe=function(){function i(t){this.init(t)}var e=i.prototype;return e.init=function(r){ea||wh(tt)||console.warn("Please gsap.registerPlugin(Observer)"),xo||yh();var n=r.tolerance,o=r.dragMinimum,s=r.type,a=r.target,u=r.lineHeight,l=r.debounce,c=r.preventDefault,d=r.onStop,p=r.onStopDelay,f=r.ignore,_=r.wheelSpeed,h=r.event,g=r.onDragStart,m=r.onDragEnd,v=r.onDrag,y=r.onPress,w=r.onRelease,E=r.onRight,x=r.onLeft,b=r.onUp,S=r.onDown,A=r.onChangeX,C=r.onChangeY,O=r.onChange,F=r.onToggleX,k=r.onToggleY,H=r.onHover,z=r.onHoverEnd,P=r.onMove,R=r.ignoreCheck,N=r.isNormalizer,T=r.onGestureStart,D=r.onGestureEnd,L=r.onWheel,X=r.onEnable,te=r.onDisable,U=r.onClick,G=r.scrollSpeed,I=r.capture,Y=r.allowClicks,fe=r.lockAxis,ie=r.onLockAxis;this.target=a=gt(a)||di,this.vars=r,f&&(f=tt.utils.toArray(f)),n=n||1e-9,o=o||0,_=_||1,G=G||1,s=s||"wheel,touch,pointer",l=l!==!1,u||(u=parseFloat(Nt.getComputedStyle(Tn).lineHeight)||22);var ne,Ke,bt,B,Z,Ce,ze,M=this,kt=0,Cr=0,$r=r.passive||!c,Le=Ir(a,ut),jr=Ir(a,Ie),bi=Le(),an=jr(),Xe=~s.indexOf("touch")&&!~s.indexOf("pointer")&&nr[0]==="pointerdown",Kr=Co(a),Me=a.ownerDocument||fi,Zt=[0,0,0],zt=[0,0,0],Tr=0,Gn=function(){return Tr=So()},Re=function(K,de){return(M.event=K)&&f&&~f.indexOf(K.target)||de&&Xe&&K.pointerType!=="touch"||R&&R(K,de)},ds=function(){M._vx.reset(),M._vy.reset(),Ke.pause(),d&&d(M)},Zr=function(){var K=M.deltaX=ph(Zt),de=M.deltaY=ph(zt),W=Math.abs(K)>=n,ee=Math.abs(de)>=n;O&&(W||ee)&&O(M,K,de,Zt,zt),W&&(E&&M.deltaX>0&&E(M),x&&M.deltaX<0&&x(M),A&&A(M),F&&M.deltaX<0!=kt<0&&F(M),kt=M.deltaX,Zt[0]=Zt[1]=Zt[2]=0),ee&&(S&&M.deltaY>0&&S(M),b&&M.deltaY<0&&b(M),C&&C(M),k&&M.deltaY<0!=Cr<0&&k(M),Cr=M.deltaY,zt[0]=zt[1]=zt[2]=0),(B||bt)&&(P&&P(M),bt&&(v(M),bt=!1),B=!1),Ce&&!(Ce=!1)&&ie&&ie(M),Z&&(L(M),Z=!1),ne=0},un=function(K,de,W){Zt[W]+=K,zt[W]+=de,M._vx.update(K),M._vy.update(de),l?ne||(ne=requestAnimationFrame(Zr)):Zr()},ln=function(K,de){fe&&!ze&&(M.axis=ze=Math.abs(K)>Math.abs(de)?"x":"y",Ce=!0),ze!=="y"&&(Zt[2]+=K,M._vx.update(K,!0)),ze!=="x"&&(zt[2]+=de,M._vy.update(de,!0)),l?ne||(ne=requestAnimationFrame(Zr)):Zr()},Qr=function(K){if(!Re(K,1)){K=Eo(K,c);var de=K.clientX,W=K.clientY,ee=de-M.x,$=W-M.y,Q=M.isDragging;M.x=de,M.y=W,(Q||Math.abs(M.startX-de)>=o||Math.abs(M.startY-W)>=o)&&(v&&(bt=!0),Q||(M.isDragging=!0),ln(ee,$),Q||g&&g(M))}},Ei=M.onPress=function(J){Re(J,1)||J&&J.button||(M.axis=ze=null,Ke.pause(),M.isPressed=!0,J=Eo(J),kt=Cr=0,M.startX=M.x=J.clientX,M.startY=M.y=J.clientY,M._vx.reset(),M._vy.reset(),_t(N?a:Me,nr[1],Qr,$r,!0),M.deltaX=M.deltaY=0,y&&y(M))},ae=M.onRelease=function(J){if(!Re(J,1)){pt(N?a:Me,nr[1],Qr,!0);var K=!isNaN(M.y-M.startY),de=M.isDragging,W=de&&(Math.abs(M.x-M.startX)>3||Math.abs(M.y-M.startY)>3),ee=Eo(J);!W&&K&&(M._vx.reset(),M._vy.reset(),c&&Y&&tt.delayedCall(.08,function(){if(So()-Tr>300&&!J.defaultPrevented){if(J.target.click)J.target.click();else if(Me.createEvent){var $=Me.createEvent("MouseEvents");$.initMouseEvent("click",!0,!0,Nt,1,ee.screenX,ee.screenY,ee.clientX,ee.clientY,!1,!1,!1,!1,0,null),J.target.dispatchEvent($)}}})),M.isDragging=M.isGesturing=M.isPressed=!1,d&&de&&!N&&Ke.restart(!0),m&&de&&m(M),w&&w(M,W)}},xi=function(K){return K.touches&&K.touches.length>1&&(M.isGesturing=!0)&&T(K,M.isDragging)},Qt=function(){return(M.isGesturing=!1)||D(M)},Jt=function(K){if(!Re(K)){var de=Le(),W=jr();un((de-bi)*G,(W-an)*G,1),bi=de,an=W,d&&Ke.restart(!0)}},er=function(K){if(!Re(K)){K=Eo(K,c),L&&(Z=!0);var de=(K.deltaMode===1?u:K.deltaMode===2?Nt.innerHeight:1)*_;un(K.deltaX*de,K.deltaY*de,0),d&&!N&&Ke.restart(!0)}},Si=function(K){if(!Re(K)){var de=K.clientX,W=K.clientY,ee=de-M.x,$=W-M.y;M.x=de,M.y=W,B=!0,d&&Ke.restart(!0),(ee||$)&&ln(ee,$)}},cn=function(K){M.event=K,H(M)},Ar=function(K){M.event=K,z(M)},$n=function(K){return Re(K)||Eo(K,c)&&U(M)};Ke=M._dc=tt.delayedCall(p||.25,ds).pause(),M.deltaX=M.deltaY=0,M._vx=ra(0,50,!0),M._vy=ra(0,50,!0),M.scrollX=Le,M.scrollY=jr,M.isDragging=M.isGesturing=M.isPressed=!1,mh(this),M.enable=function(J){return M.isEnabled||(_t(Kr?Me:a,"scroll",Rl),s.indexOf("scroll")>=0&&_t(Kr?Me:a,"scroll",Jt,$r,I),s.indexOf("wheel")>=0&&_t(a,"wheel",er,$r,I),(s.indexOf("touch")>=0&&_h||s.indexOf("pointer")>=0)&&(_t(a,nr[0],Ei,$r,I),_t(Me,nr[2],ae),_t(Me,nr[3],ae),Y&&_t(a,"click",Gn,!0,!0),U&&_t(a,"click",$n),T&&_t(Me,"gesturestart",xi),D&&_t(Me,"gestureend",Qt),H&&_t(a,Xi+"enter",cn),z&&_t(a,Xi+"leave",Ar),P&&_t(a,Xi+"move",Si)),M.isEnabled=!0,J&&J.type&&Ei(J),X&&X(M)),M},M.disable=function(){M.isEnabled&&(Cn.filter(function(J){return J!==M&&Co(J.target)}).length||pt(Kr?Me:a,"scroll",Rl),M.isPressed&&(M._vx.reset(),M._vy.reset(),pt(N?a:Me,nr[1],Qr,!0)),pt(Kr?Me:a,"scroll",Jt,I),pt(a,"wheel",er,I),pt(a,nr[0],Ei,I),pt(Me,nr[2],ae),pt(Me,nr[3],ae),pt(a,"click",Gn,!0),pt(a,"click",$n),pt(Me,"gesturestart",xi),pt(Me,"gestureend",Qt),pt(a,Xi+"enter",cn),pt(a,Xi+"leave",Ar),pt(a,Xi+"move",Si),M.isEnabled=M.isPressed=M.isDragging=!1,te&&te(M))},M.kill=M.revert=function(){M.disable();var J=Cn.indexOf(M);J>=0&&Cn.splice(J,1),Nr===M&&(Nr=0)},Cn.push(M),N&&Co(a)&&(Nr=M),M.enable(h)},cv(i,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),i}();Oe.version="3.12.5";Oe.create=function(i){return new Oe(i)};Oe.register=wh;Oe.getAll=function(){return Cn.slice()};Oe.getById=function(i){return Cn.filter(function(e){return e.vars.id===i})[0]};vh()&&tt.registerPlugin(Oe);var q,On,ce,xe,sr,ve,zh,va,zo,Po,Ao,ia,lt,ba,ql,vt,bh,Eh,Mn,Vh,Nl,Hh,mt,Yl,Wh,qh,hi,Xl,Kl,kn,Zl,Da,Ul,Il,na=1,ct=Date.now,Bl=ct(),Ut=0,Fo=0,xh=function(e,t,r){var n=Bt(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=n,n?e.substr(6,e.length-7):e},Sh=function(e,t){return t&&(!Bt(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},hv=function i(){return Fo&&requestAnimationFrame(i)},Ch=function(){return ba=1},Th=function(){return ba=0},Dr=function(e){return e},Oo=function(e){return Math.round(e*1e5)/1e5||0},Yh=function(){return typeof window<"u"},Xh=function(){return q||Yh()&&(q=window.gsap)&&q.registerPlugin&&q},Zi=function(e){return!!~zh.indexOf(e)},Uh=function(e){return(e==="Height"?Zl:ce["inner"+e])||sr["client"+e]||ve["client"+e]},Gh=function(e){return Br(e,"getBoundingClientRect")||(Zi(e)?function(){return ma.width=ce.innerWidth,ma.height=Zl,ma}:function(){return zr(e)})},pv=function(e,t,r){var n=r.d,o=r.d2,s=r.a;return(s=Br(e,"getBoundingClientRect"))?function(){return s()[n]}:function(){return(t?Uh(o):e["client"+o])||0}},_v=function(e,t){return!t||~or.indexOf(e)?Gh(e):function(){return ma}},yr=function(e,t){var r=t.s,n=t.d2,o=t.d,s=t.a;return Math.max(0,(r="scroll"+n)&&(s=Br(e,r))?s()-Gh(e)()[o]:Zi(e)?(sr[r]||ve[r])-Uh(n):e[r]-e["offset"+n])},oa=function(e,t){for(var r=0;r<Mn.length;r+=3)(!t||~t.indexOf(Mn[r+1]))&&e(Mn[r],Mn[r+1],Mn[r+2])},Bt=function(e){return typeof e=="string"},yt=function(e){return typeof e=="function"},Mo=function(e){return typeof e=="number"},Ui=function(e){return typeof e=="object"},To=function(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()},zl=function(e,t){if(e.enabled){var r=e._ctx?e._ctx.add(function(){return t(e)}):t(e);r&&r.totalTime&&(e.callbackAnimation=r)}},An=Math.abs,$h="left",jh="top",Ql="right",Jl="bottom",$i="width",ji="height",Lo="Right",Ro="Left",No="Top",Io="Bottom",Be="padding",Yt="margin",Ln="Width",ec="Height",qe="px",Xt=function(e){return ce.getComputedStyle(e)},gv=function(e){var t=Xt(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative"},Ah=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},zr=function(e,t){var r=t&&Xt(e)[ql]!=="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 r&&r.progress(0).kill(),n},ya=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},Kh=function(e){var t=[],r=e.labels,n=e.duration(),o;for(o in r)t.push(r[o]/n);return t},mv=function(e){return function(t){return q.utils.snap(Kh(e),t)}},tc=function(e){var t=q.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(n,o){return n-o});return r?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<r.length;a++)if(r[a]>=n)return r[a];return r[a-1]}else for(a=r.length,n+=s;a--;)if(r[a]<=n)return r[a];return r[0]}:function(n,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)}},vv=function(e){return function(t,r){return tc(Kh(e))(t,r.direction)}},sa=function(e,t,r,n){return r.split(",").forEach(function(o){return e(t,o,n)})},je=function(e,t,r,n,o){return e.addEventListener(t,r,{passive:!n,capture:!!o})},$e=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},aa=function(e,t,r){r=r&&r.wheelHandler,r&&(e(t,"wheel",r),e(t,"touchmove",r))},Fh={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},ua={toggleActions:"play",anticipatePin:0},wa={top:0,left:0,center:.5,bottom:1,right:1},ha=function(e,t){if(Bt(e)){var r=e.indexOf("="),n=~r?+(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(n*=t/100),e=e.substr(0,r-1)),e=n+(e in wa?wa[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},la=function(e,t,r,n,o,s,a,u){var l=o.startColor,c=o.endColor,d=o.fontSize,p=o.indent,f=o.fontWeight,_=xe.createElement("div"),h=Zi(r)||Br(r,"pinType")==="fixed",g=e.indexOf("scroller")!==-1,m=h?ve:r,v=e.indexOf("start")!==-1,y=v?l:c,w="border-color:"+y+";font-size:"+d+";color:"+y+";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 w+="position:"+((g||u)&&h?"fixed;":"absolute;"),(g||u||!h)&&(w+=(n===Ie?Ql:Jl)+":"+(s+parseFloat(p))+"px;"),a&&(w+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),_._isStart=v,_.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),_.style.cssText=w,_.innerText=t||t===0?e+"-"+t:e,m.children[0]?m.insertBefore(_,m.children[0]):m.appendChild(_),_._offset=_["offset"+n.op.d2],pa(_,0,n,v),_},pa=function(e,t,r,n){var o={display:"block"},s=r[n?"os2":"p2"],a=r[n?"p2":"os2"];e._isFlipped=n,o[r.a+"Percent"]=n?-100:0,o[r.a]=n?"1px":0,o["border"+s+Ln]=1,o["border"+a+Ln]=0,o[r.p]=t+"px",q.set(e,o)},se=[],Gl={},Vo,Oh=function(){return ct()-Ut>34&&(Vo||(Vo=requestAnimationFrame(Vr)))},Fn=function(){(!mt||!mt.isPressed||mt.startX>ve.clientWidth)&&(oe.cache++,mt?Vo||(Vo=requestAnimationFrame(Vr)):Vr(),Ut||Ji("scrollStart"),Ut=ct())},Vl=function(){qh=ce.innerWidth,Wh=ce.innerHeight},ko=function(){oe.cache++,!lt&&!Hh&&!xe.fullscreenElement&&!xe.webkitFullscreenElement&&(!Yl||qh!==ce.innerWidth||Math.abs(ce.innerHeight-Wh)>ce.innerHeight*.25)&&va.restart(!0)},Qi={},Dv=[],Zh=function i(){return $e(j,"scrollEnd",i)||Gi(!0)},Ji=function(e){return Qi[e]&&Qi[e].map(function(t){return t()})||Dv},It=[],Qh=function(e){for(var t=0;t<It.length;t+=5)(!e||It[t+4]&&It[t+4].query===e)&&(It[t].style.cssText=It[t+1],It[t].getBBox&&It[t].setAttribute("transform",It[t+2]||""),It[t+3].uncache=1)},rc=function(e,t){var r;for(vt=0;vt<se.length;vt++)r=se[vt],r&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));Da=!0,t&&Qh(t),t||Ji("revert")},Jh=function(e,t){oe.cache++,(t||!Dt)&&oe.forEach(function(r){return yt(r)&&r.cacheID++&&(r.rec=0)}),Bt(e)&&(ce.history.scrollRestoration=Kl=e)},Dt,Ki=0,Mh,yv=function(){if(Mh!==Ki){var e=Mh=Ki;requestAnimationFrame(function(){return e===Ki&&Gi(!0)})}},ep=function(){ve.appendChild(kn),Zl=!mt&&kn.offsetHeight||ce.innerHeight,ve.removeChild(kn)},kh=function(e){return zo(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},Gi=function(e,t){if(Ut&&!e&&!Da){je(j,"scrollEnd",Zh);return}ep(),Dt=j.isRefreshing=!0,oe.forEach(function(n){return yt(n)&&++n.cacheID&&(n.rec=n())});var r=Ji("refreshInit");Vh&&j.sort(),t||rc(),oe.forEach(function(n){yt(n)&&(n.smooth&&(n.target.style.scrollBehavior="auto"),n(0))}),se.slice(0).forEach(function(n){return n.refresh()}),Da=!1,se.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()}}),Ul=1,kh(!0),se.forEach(function(n){var o=yr(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)}),kh(!1),Ul=0,r.forEach(function(n){return n&&n.render&&n.render(-1)}),oe.forEach(function(n){yt(n)&&(n.smooth&&requestAnimationFrame(function(){return n.target.style.scrollBehavior="smooth"}),n.rec&&n(n.rec))}),Jh(Kl,1),va.pause(),Ki++,Dt=2,Vr(2),se.forEach(function(n){return yt(n.vars.onRefresh)&&n.vars.onRefresh(n)}),Dt=j.isRefreshing=!1,Ji("refresh")},$l=0,_a=1,Bo,Vr=function(e){if(e===2||!Dt&&!Da){j.isUpdating=!0,Bo&&Bo.update(0);var t=se.length,r=ct(),n=r-Bl>=50,o=t&&se[0].scroll();if(_a=$l>o?-1:1,Dt||($l=o),n&&(Ut&&!ba&&r-Ut>200&&(Ut=0,Ji("scrollEnd")),Ao=Bl,Bl=r),_a<0){for(vt=t;vt-- >0;)se[vt]&&se[vt].update(0,n);_a=1}else for(vt=0;vt<t;vt++)se[vt]&&se[vt].update(0,n);j.isUpdating=!1}Vo=0},jl=[$h,jh,Jl,Ql,Yt+Io,Yt+Lo,Yt+No,Yt+Ro,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],ga=jl.concat([$i,ji,"boxSizing","max"+Ln,"max"+ec,"position",Yt,Be,Be+No,Be+Lo,Be+Io,Be+Ro]),wv=function(e,t,r){Pn(r);var n=e._gsap;if(n.spacerIsNative)Pn(n.spacerState);else if(e._gsap.swappedIn){var o=t.parentNode;o&&(o.insertBefore(e,t),o.removeChild(t))}e._gsap.swappedIn=!1},Hl=function(e,t,r,n){if(!e._gsap.swappedIn){for(var o=jl.length,s=t.style,a=e.style,u;o--;)u=jl[o],s[u]=r[u];s.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(s.display="inline-block"),a[Jl]=a[Ql]="auto",s.flexBasis=r.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[$i]=ya(e,ut)+qe,s[ji]=ya(e,Ie)+qe,s[Be]=a[Yt]=a[jh]=a[$h]="0",Pn(n),a[$i]=a["max"+Ln]=r[$i],a[ji]=a["max"+ec]=r[ji],a[Be]=r[Be],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},bv=/([A-Z])/g,Pn=function(e){if(e){var t=e.t.style,r=e.length,n=0,o,s;for((e.t._gsap||q.core.getCache(e.t)).uncache=1;n<r;n+=2)s=e[n+1],o=e[n],s?t[o]=s:t[o]&&t.removeProperty(o.replace(bv,"-$1").toLowerCase())}},ca=function(e){for(var t=ga.length,r=e.style,n=[],o=0;o<t;o++)n.push(ga[o],r[ga[o]]);return n.t=e,n},Ev=function(e,t,r){for(var n=[],o=e.length,s=r?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},ma={left:0,top:0},Ph=function(e,t,r,n,o,s,a,u,l,c,d,p,f,_){yt(e)&&(e=e(u)),Bt(e)&&e.substr(0,3)==="max"&&(e=p+(e.charAt(4)==="="?ha("0"+e.substr(3),r):0));var h=f?f.time():0,g,m,v;if(f&&f.seek(0),isNaN(e)||(e=+e),Mo(e))f&&(e=q.utils.mapRange(f.scrollTrigger.start,f.scrollTrigger.end,0,p,e)),a&&pa(a,r,n,!0);else{yt(t)&&(t=t(u));var y=(e||"0").split(" "),w,E,x,b;v=gt(t,u)||ve,w=zr(v)||{},(!w||!w.left&&!w.top)&&Xt(v).display==="none"&&(b=v.style.display,v.style.display="block",w=zr(v),b?v.style.display=b:v.style.removeProperty("display")),E=ha(y[0],w[n.d]),x=ha(y[1]||"0",r),e=w[n.p]-l[n.p]-c+E+o-x,a&&pa(a,x,n,r-x<20||a._isStart&&x>20),r-=r-x}if(_&&(u[_]=e||-.001,e<0&&(e=0)),s){var S=e+r,A=s._isStart;g="scroll"+n.d2,pa(s,S,n,A&&S>20||!A&&(d?Math.max(ve[g],sr[g]):s.parentNode[g])<=S+1),d&&(l=zr(a),d&&(s.style[n.op.p]=l[n.op.p]-n.op.m-s._offset+qe))}return f&&v&&(g=zr(v),f.seek(p),m=zr(v),f._caScrollDist=g[n.p]-m[n.p],e=e/f._caScrollDist*p),f&&f.seek(h),f?e:Math.round(e)},xv=/(webkit|moz|length|cssText|inset)/i,Lh=function(e,t,r,n){if(e.parentNode!==t){var o=e.style,s,a;if(t===ve){e._stOrig=o.cssText,a=Xt(e);for(s in a)!+s&&!xv.test(s)&&a[s]&&typeof o[s]=="string"&&s!=="0"&&(o[s]=a[s]);o.top=r,o.left=n}else o.cssText=e._stOrig;q.core.getCache(e).uncache=1,t.appendChild(e)}},tp=function(e,t,r){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,r&&r()),o=n,n=s,s}},fa=function(e,t,r){var n={};n[t.p]="+="+r,q.set(e,n)},Rh=function(e,t){var r=Ir(e,t),n="_scroll"+t.p2,o=function s(a,u,l,c,d){var p=s.tween,f=u.onComplete,_={};l=l||r();var h=tp(r,l,function(){p.kill(),s.tween=0});return d=c&&d||0,c=c||a-l,p&&p.kill(),u[n]=a,u.inherit=!1,u.modifiers=_,_[n]=function(){return h(l+c*p.ratio+d*p.ratio*p.ratio)},u.onUpdate=function(){oe.cache++,s.tween&&Vr()},u.onComplete=function(){s.tween=0,f&&f.call(p)},p=s.tween=q.to(e,u),p};return e[n]=r,r.wheelHandler=function(){return o.tween&&o.tween.kill()&&(o.tween=0)},je(e,"wheel",r.wheelHandler),j.isTouch&&je(e,"touchmove",r.wheelHandler),o},j=function(){function i(t,r){On||i.register(q)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Xl(this),this.init(t,r)}var e=i.prototype;return e.init=function(r,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Fo){this.update=this.refresh=this.kill=Dr;return}r=Ah(Bt(r)||Mo(r)||r.nodeType?{trigger:r}:r,ua);var o=r,s=o.onUpdate,a=o.toggleClass,u=o.id,l=o.onToggle,c=o.onRefresh,d=o.scrub,p=o.trigger,f=o.pin,_=o.pinSpacing,h=o.invalidateOnRefresh,g=o.anticipatePin,m=o.onScrubComplete,v=o.onSnapComplete,y=o.once,w=o.snap,E=o.pinReparent,x=o.pinSpacer,b=o.containerAnimation,S=o.fastScrollEnd,A=o.preventOverlaps,C=r.horizontal||r.containerAnimation&&r.horizontal!==!1?ut:Ie,O=!d&&d!==0,F=gt(r.scroller||ce),k=q.core.getCache(F),H=Zi(F),z=("pinType"in r?r.pinType:Br(F,"pinType")||H&&"fixed")==="fixed",P=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],R=O&&r.toggleActions.split(" "),N="markers"in r?r.markers:ua.markers,T=H?0:parseFloat(Xt(F)["border"+C.p2+Ln])||0,D=this,L=r.onRefreshInit&&function(){return r.onRefreshInit(D)},X=pv(F,H,C),te=_v(F,H),U=0,G=0,I=0,Y=Ir(F,C),fe,ie,ne,Ke,bt,B,Z,Ce,ze,M,kt,Cr,$r,Le,jr,bi,an,Xe,Kr,Me,Zt,zt,Tr,Gn,Re,ds,Zr,un,ln,Qr,Ei,ae,xi,Qt,Jt,er,Si,cn,Ar;if(D._startClamp=D._endClamp=!1,D._dir=C,g*=45,D.scroller=F,D.scroll=b?b.time.bind(b):Y,Ke=Y(),D.vars=r,n=n||r.animation,"refreshPriority"in r&&(Vh=1,r.refreshPriority===-9999&&(Bo=D)),k.tweenScroll=k.tweenScroll||{top:Rh(F,Ie),left:Rh(F,ut)},D.tweenTo=fe=k.tweenScroll[C.p],D.scrubDuration=function(W){xi=Mo(W)&&W,xi?ae?ae.duration(W):ae=q.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:xi,paused:!0,onComplete:function(){return m&&m(D)}}):(ae&&ae.progress(1).kill(),ae=0)},n&&(n.vars.lazy=!1,n._initted&&!D.isReverted||n.vars.immediateRender!==!1&&r.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),D.animation=n.pause(),n.scrollTrigger=D,D.scrubDuration(d),Qr=0,u||(u=n.vars.id)),w&&((!Ui(w)||w.push)&&(w={snapTo:w}),"scrollBehavior"in ve.style&&q.set(H?[ve,sr]:F,{scrollBehavior:"auto"}),oe.forEach(function(W){return yt(W)&&W.target===(H?xe.scrollingElement||sr:F)&&(W.smooth=!1)}),ne=yt(w.snapTo)?w.snapTo:w.snapTo==="labels"?mv(n):w.snapTo==="labelsDirectional"?vv(n):w.directional!==!1?function(W,ee){return tc(w.snapTo)(W,ct()-G<500?0:ee.direction)}:q.utils.snap(w.snapTo),Qt=w.duration||{min:.1,max:2},Qt=Ui(Qt)?Po(Qt.min,Qt.max):Po(Qt,Qt),Jt=q.delayedCall(w.delay||xi/2||.1,function(){var W=Y(),ee=ct()-G<500,$=fe.tween;if((ee||Math.abs(D.getVelocity())<10)&&!$&&!ba&&U!==W){var Q=(W-B)/Le,Ue=n&&!O?n.totalProgress():Q,ue=ee?0:(Ue-Ei)/(ct()-Ao)*1e3||0,ke=q.utils.clamp(-Q,1-Q,An(ue/2)*ue/.185),rt=Q+(w.inertia===!1?0:ke),Te,De,he=w,tr=he.onStart,we=he.onInterrupt,Pt=he.onComplete;if(Te=ne(rt,D),Mo(Te)||(Te=rt),De=Math.round(B+Te*Le),W<=Z&&W>=B&&De!==W){if($&&!$._initted&&$.data<=An(De-W))return;w.inertia===!1&&(ke=Te-Q),fe(De,{duration:Qt(An(Math.max(An(rt-Ue),An(Te-Ue))*.185/ue/.05||0)),ease:w.ease||"power3",data:An(De-W),onInterrupt:function(){return Jt.restart(!0)&&we&&we(D)},onComplete:function(){D.update(),U=Y(),n&&(ae?ae.resetTo("totalProgress",Te,n._tTime/n._tDur):n.progress(Te)),Qr=Ei=n&&!O?n.totalProgress():D.progress,v&&v(D),Pt&&Pt(D)}},W,ke*Le,De-W-ke*Le),tr&&tr(D,fe.tween)}}else D.isActive&&U!==W&&Jt.restart(!0)}).pause()),u&&(Gl[u]=D),p=D.trigger=gt(p||f!==!0&&f),Ar=p&&p._gsap&&p._gsap.stRevert,Ar&&(Ar=Ar(D)),f=f===!0?p:gt(f),Bt(a)&&(a={targets:p,className:a}),f&&(_===!1||_===Yt||(_=!_&&f.parentNode&&f.parentNode.style&&Xt(f.parentNode).display==="flex"?!1:Be),D.pin=f,ie=q.core.getCache(f),ie.spacer?jr=ie.pinState:(x&&(x=gt(x),x&&!x.nodeType&&(x=x.current||x.nativeElement),ie.spacerIsNative=!!x,x&&(ie.spacerState=ca(x))),ie.spacer=Xe=x||xe.createElement("div"),Xe.classList.add("pin-spacer"),u&&Xe.classList.add("pin-spacer-"+u),ie.pinState=jr=ca(f)),r.force3D!==!1&&q.set(f,{force3D:!0}),D.spacer=Xe=ie.spacer,ln=Xt(f),Gn=ln[_+C.os2],Me=q.getProperty(f),Zt=q.quickSetter(f,C.a,qe),Hl(f,Xe,ln),an=ca(f)),N){Cr=Ui(N)?Ah(N,Fh):Fh,M=la("scroller-start",u,F,C,Cr,0),kt=la("scroller-end",u,F,C,Cr,0,M),Kr=M["offset"+C.op.d2];var $n=gt(Br(F,"content")||F);Ce=this.markerStart=la("start",u,$n,C,Cr,Kr,0,b),ze=this.markerEnd=la("end",u,$n,C,Cr,Kr,0,b),b&&(cn=q.quickSetter([Ce,ze],C.a,qe)),!z&&!(or.length&&Br(F,"fixedMarkers")===!0)&&(gv(H?ve:F),q.set([M,kt],{force3D:!0}),ds=q.quickSetter(M,C.a,qe),un=q.quickSetter(kt,C.a,qe))}if(b){var J=b.vars.onUpdate,K=b.vars.onUpdateParams;b.eventCallback("onUpdate",function(){D.update(0,0,1),J&&J.apply(b,K||[])})}if(D.previous=function(){return se[se.indexOf(D)-1]},D.next=function(){return se[se.indexOf(D)+1]},D.revert=function(W,ee){if(!ee)return D.kill(!0);var $=W!==!1||!D.enabled,Q=lt;$!==D.isReverted&&($&&(er=Math.max(Y(),D.scroll.rec||0),I=D.progress,Si=n&&n.progress()),Ce&&[Ce,ze,M,kt].forEach(function(Ue){return Ue.style.display=$?"none":"block"}),$&&(lt=D,D.update($)),f&&(!E||!D.isActive)&&($?wv(f,Xe,jr):Hl(f,Xe,Xt(f),Re)),$||D.update($),lt=Q,D.isReverted=$)},D.refresh=function(W,ee,$,Q){if(!((lt||!D.enabled)&&!ee)){if(f&&W&&Ut){je(i,"scrollEnd",Zh);return}!Dt&&L&&L(D),lt=D,fe.tween&&!$&&(fe.tween.kill(),fe.tween=0),ae&&ae.pause(),h&&n&&n.revert({kill:!1}).invalidate(),D.isReverted||D.revert(!0,!0),D._subPinOffset=!1;var Ue=X(),ue=te(),ke=b?b.duration():yr(F,C),rt=Le<=.01,Te=0,De=Q||0,he=Ui($)?$.end:r.end,tr=r.endTrigger||p,we=Ui($)?$.start:r.start||(r.start===0||!p?0:f?"0 0":"0 100%"),Pt=D.pinnedContainer=r.pinnedContainer&>(r.pinnedContainer,D),cr=p&&Math.max(0,se.indexOf(D))||0,Ze=cr,Qe,it,Ci,hs,nt,Ve,fr,Ua,kc,jn,dr,Kn,ps;for(N&&Ui($)&&(Kn=q.getProperty(M,C.p),ps=q.getProperty(kt,C.p));Ze--;)Ve=se[Ze],Ve.end||Ve.refresh(0,1)||(lt=D),fr=Ve.pin,fr&&(fr===p||fr===f||fr===Pt)&&!Ve.isReverted&&(jn||(jn=[]),jn.unshift(Ve),Ve.revert(!0,!0)),Ve!==se[Ze]&&(cr--,Ze--);for(yt(we)&&(we=we(D)),we=xh(we,"start",D),B=Ph(we,p,Ue,C,Y(),Ce,M,D,ue,T,z,ke,b,D._startClamp&&"_startClamp")||(f?-.001:0),yt(he)&&(he=he(D)),Bt(he)&&!he.indexOf("+=")&&(~he.indexOf(" ")?he=(Bt(we)?we.split(" ")[0]:"")+he:(Te=ha(he.substr(2),Ue),he=Bt(we)?we:(b?q.utils.mapRange(0,b.duration(),b.scrollTrigger.start,b.scrollTrigger.end,B):B)+Te,tr=p)),he=xh(he,"end",D),Z=Math.max(B,Ph(he||(tr?"100% 0":ke),tr,Ue,C,Y()+Te,ze,kt,D,ue,T,z,ke,b,D._endClamp&&"_endClamp"))||-.001,Te=0,Ze=cr;Ze--;)Ve=se[Ze],fr=Ve.pin,fr&&Ve.start-Ve._pinPush<=B&&!b&&Ve.end>0&&(Qe=Ve.end-(D._startClamp?Math.max(0,Ve.start):Ve.start),(fr===p&&Ve.start-Ve._pinPush<B||fr===Pt)&&isNaN(we)&&(Te+=Qe*(1-Ve.progress)),fr===f&&(De+=Qe));if(B+=Te,Z+=Te,D._startClamp&&(D._startClamp+=Te),D._endClamp&&!Dt&&(D._endClamp=Z||-.001,Z=Math.min(Z,yr(F,C))),Le=Z-B||(B-=.01)&&.001,rt&&(I=q.utils.clamp(0,1,q.utils.normalize(B,Z,er))),D._pinPush=De,Ce&&Te&&(Qe={},Qe[C.a]="+="+Te,Pt&&(Qe[C.p]="-="+Y()),q.set([Ce,ze],Qe)),f&&!(Ul&&D.end>=yr(F,C)))Qe=Xt(f),hs=C===Ie,Ci=Y(),zt=parseFloat(Me(C.a))+De,!ke&&Z>1&&(dr=(H?xe.scrollingElement||sr:F).style,dr={style:dr,value:dr["overflow"+C.a.toUpperCase()]},H&&Xt(ve)["overflow"+C.a.toUpperCase()]!=="scroll"&&(dr.style["overflow"+C.a.toUpperCase()]="scroll")),Hl(f,Xe,Qe),an=ca(f),it=zr(f,!0),Ua=z&&Ir(F,hs?ut:Ie)(),_?(Re=[_+C.os2,Le+De+qe],Re.t=Xe,Ze=_===Be?ya(f,C)+Le+De:0,Ze&&(Re.push(C.d,Ze+qe),Xe.style.flexBasis!=="auto"&&(Xe.style.flexBasis=Ze+qe)),Pn(Re),Pt&&se.forEach(function(Zn){Zn.pin===Pt&&Zn.vars.pinSpacing!==!1&&(Zn._subPinOffset=!0)}),z&&Y(er)):(Ze=ya(f,C),Ze&&Xe.style.flexBasis!=="auto"&&(Xe.style.flexBasis=Ze+qe)),z&&(nt={top:it.top+(hs?Ci-B:Ua)+qe,left:it.left+(hs?Ua:Ci-B)+qe,boxSizing:"border-box",position:"fixed"},nt[$i]=nt["max"+Ln]=Math.ceil(it.width)+qe,nt[ji]=nt["max"+ec]=Math.ceil(it.height)+qe,nt[Yt]=nt[Yt+No]=nt[Yt+Lo]=nt[Yt+Io]=nt[Yt+Ro]="0",nt[Be]=Qe[Be],nt[Be+No]=Qe[Be+No],nt[Be+Lo]=Qe[Be+Lo],nt[Be+Io]=Qe[Be+Io],nt[Be+Ro]=Qe[Be+Ro],bi=Ev(jr,nt,E),Dt&&Y(0)),n?(kc=n._initted,Nl(1),n.render(n.duration(),!0,!0),Tr=Me(C.a)-zt+Le+De,Zr=Math.abs(Le-Tr)>1,z&&Zr&&bi.splice(bi.length-2,2),n.render(0,!0,!0),kc||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),Nl(0)):Tr=Le,dr&&(dr.value?dr.style["overflow"+C.a.toUpperCase()]=dr.value:dr.style.removeProperty("overflow-"+C.a));else if(p&&Y()&&!b)for(it=p.parentNode;it&&it!==ve;)it._pinOffset&&(B-=it._pinOffset,Z-=it._pinOffset),it=it.parentNode;jn&&jn.forEach(function(Zn){return Zn.revert(!1,!0)}),D.start=B,D.end=Z,Ke=bt=Dt?er:Y(),!b&&!Dt&&(Ke<er&&Y(er),D.scroll.rec=0),D.revert(!1,!0),G=ct(),Jt&&(U=-1,Jt.restart(!0)),lt=0,n&&O&&(n._initted||Si)&&n.progress()!==Si&&n.progress(Si||0,!0).render(n.time(),!0,!0),(rt||I!==D.progress||b||h)&&(n&&!O&&n.totalProgress(b&&B<-.001&&!I?q.utils.normalize(B,Z,0):I,!0),D.progress=rt||(Ke-B)/Le===I?0:I),f&&_&&(Xe._pinOffset=Math.round(D.progress*Tr)),ae&&ae.invalidate(),isNaN(Kn)||(Kn-=q.getProperty(M,C.p),ps-=q.getProperty(kt,C.p),fa(M,C,Kn),fa(Ce,C,Kn-(Q||0)),fa(kt,C,ps),fa(ze,C,ps-(Q||0))),rt&&!Dt&&D.update(),c&&!Dt&&!$r&&($r=!0,c(D),$r=!1)}},D.getVelocity=function(){return(Y()-bt)/(ct()-Ao)*1e3||0},D.endAnimation=function(){To(D.callbackAnimation),n&&(ae?ae.progress(1):n.paused()?O||To(n,D.direction<0,1):To(n,n.reversed()))},D.labelToScroll=function(W){return n&&n.labels&&(B||D.refresh()||B)+n.labels[W]/n.duration()*Le||0},D.getTrailing=function(W){var ee=se.indexOf(D),$=D.direction>0?se.slice(0,ee).reverse():se.slice(ee+1);return(Bt(W)?$.filter(function(Q){return Q.vars.preventOverlaps===W}):$).filter(function(Q){return D.direction>0?Q.end<=B:Q.start>=Z})},D.update=function(W,ee,$){if(!(b&&!$&&!W)){var Q=Dt===!0?er:D.scroll(),Ue=W?0:(Q-B)/Le,ue=Ue<0?0:Ue>1?1:Ue||0,ke=D.progress,rt,Te,De,he,tr,we,Pt,cr;if(ee&&(bt=Ke,Ke=b?Y():Q,w&&(Ei=Qr,Qr=n&&!O?n.totalProgress():ue)),g&&f&&!lt&&!na&&Ut&&(!ue&&B<Q+(Q-bt)/(ct()-Ao)*g?ue=1e-4:ue===1&&Z>Q+(Q-bt)/(ct()-Ao)*g&&(ue=.9999)),ue!==ke&&D.enabled){if(rt=D.isActive=!!ue&&ue<1,Te=!!ke&&ke<1,we=rt!==Te,tr=we||!!ue!=!!ke,D.direction=ue>ke?1:-1,D.progress=ue,tr&&!lt&&(De=ue&&!ke?0:ue===1?1:ke===1?2:3,O&&(he=!we&&R[De+1]!=="none"&&R[De+1]||R[De],cr=n&&(he==="complete"||he==="reset"||he in n))),A&&(we||cr)&&(cr||d||!n)&&(yt(A)?A(D):D.getTrailing(A).forEach(function(Ci){return Ci.endAnimation()})),O||(ae&&!lt&&!na?(ae._dp._time-ae._start!==ae._time&&ae.render(ae._dp._time-ae._start),ae.resetTo?ae.resetTo("totalProgress",ue,n._tTime/n._tDur):(ae.vars.totalProgress=ue,ae.invalidate().restart())):n&&n.totalProgress(ue,!!(lt&&(G||W)))),f){if(W&&_&&(Xe.style[_+C.os2]=Gn),!z)Zt(Oo(zt+Tr*ue));else if(tr){if(Pt=!W&&ue>ke&&Z+1>Q&&Q+1>=yr(F,C),E)if(!W&&(rt||Pt)){var Ze=zr(f,!0),Qe=Q-B;Lh(f,ve,Ze.top+(C===Ie?Qe:0)+qe,Ze.left+(C===Ie?0:Qe)+qe)}else Lh(f,Xe);Pn(rt||Pt?bi:an),Zr&&ue<1&&rt||Zt(zt+(ue===1&&!Pt?Tr:0))}}w&&!fe.tween&&!lt&&!na&&Jt.restart(!0),a&&(we||y&&ue&&(ue<1||!Il))&&zo(a.targets).forEach(function(Ci){return Ci.classList[rt||y?"add":"remove"](a.className)}),s&&!O&&!W&&s(D),tr&&!lt?(O&&(cr&&(he==="complete"?n.pause().totalProgress(1):he==="reset"?n.restart(!0).pause():he==="restart"?n.restart(!0):n[he]()),s&&s(D)),(we||!Il)&&(l&&we&&zl(D,l),P[De]&&zl(D,P[De]),y&&(ue===1?D.kill(!1,1):P[De]=0),we||(De=ue===1?1:3,P[De]&&zl(D,P[De]))),S&&!rt&&Math.abs(D.getVelocity())>(Mo(S)?S:2500)&&(To(D.callbackAnimation),ae?ae.progress(1):To(n,he==="reverse"?1:!ue,1))):O&&s&&!lt&&s(D)}if(un){var it=b?Q/b.duration()*(b._caScrollDist||0):Q;ds(it+(M._isFlipped?1:0)),un(it)}cn&&cn(-Q/b.duration()*(b._caScrollDist||0))}},D.enable=function(W,ee){D.enabled||(D.enabled=!0,je(F,"resize",ko),H||je(F,"scroll",Fn),L&&je(i,"refreshInit",L),W!==!1&&(D.progress=I=0,Ke=bt=U=Y()),ee!==!1&&D.refresh())},D.getTween=function(W){return W&&fe?fe.tween:ae},D.setPositions=function(W,ee,$,Q){if(b){var Ue=b.scrollTrigger,ue=b.duration(),ke=Ue.end-Ue.start;W=Ue.start+ke*W/ue,ee=Ue.start+ke*ee/ue}D.refresh(!1,!1,{start:Sh(W,$&&!!D._startClamp),end:Sh(ee,$&&!!D._endClamp)},Q),D.update()},D.adjustPinSpacing=function(W){if(Re&&W){var ee=Re.indexOf(C.d)+1;Re[ee]=parseFloat(Re[ee])+W+qe,Re[1]=parseFloat(Re[1])+W+qe,Pn(Re)}},D.disable=function(W,ee){if(D.enabled&&(W!==!1&&D.revert(!0,!0),D.enabled=D.isActive=!1,ee||ae&&ae.pause(),er=0,ie&&(ie.uncache=1),L&&$e(i,"refreshInit",L),Jt&&(Jt.pause(),fe.tween&&fe.tween.kill()&&(fe.tween=0)),!H)){for(var $=se.length;$--;)if(se[$].scroller===F&&se[$]!==D)return;$e(F,"resize",ko),H||$e(F,"scroll",Fn)}},D.kill=function(W,ee){D.disable(W,ee),ae&&!ee&&ae.kill(),u&&delete Gl[u];var $=se.indexOf(D);$>=0&&se.splice($,1),$===vt&&_a>0&&vt--,$=0,se.forEach(function(Q){return Q.scroller===D.scroller&&($=1)}),$||Dt||(D.scroll.rec=0),n&&(n.scrollTrigger=null,W&&n.revert({kill:!1}),ee||n.kill()),Ce&&[Ce,ze,M,kt].forEach(function(Q){return Q.parentNode&&Q.parentNode.removeChild(Q)}),Bo===D&&(Bo=0),f&&(ie&&(ie.uncache=1),$=0,se.forEach(function(Q){return Q.pin===f&&$++}),$||(ie.spacer=0)),r.onKill&&r.onKill(D)},se.push(D),D.enable(!1,!1),Ar&&Ar(D),n&&n.add&&!Le){var de=D.update;D.update=function(){D.update=de,B||Z||D.refresh()},q.delayedCall(.01,D.update),Le=.01,B=Z=0}else D.refresh();f&&yv()},i.register=function(r){return On||(q=r||Xh(),Yh()&&window.document&&i.enable(),On=Fo),On},i.defaults=function(r){if(r)for(var n in r)ua[n]=r[n];return ua},i.disable=function(r,n){Fo=0,se.forEach(function(s){return s[n?"kill":"disable"](r)}),$e(ce,"wheel",Fn),$e(xe,"scroll",Fn),clearInterval(ia),$e(xe,"touchcancel",Dr),$e(ve,"touchstart",Dr),sa($e,xe,"pointerdown,touchstart,mousedown",Ch),sa($e,xe,"pointerup,touchend,mouseup",Th),va.kill(),oa($e);for(var o=0;o<oe.length;o+=3)aa($e,oe[o],oe[o+1]),aa($e,oe[o],oe[o+2])},i.enable=function(){if(ce=window,xe=document,sr=xe.documentElement,ve=xe.body,q&&(zo=q.utils.toArray,Po=q.utils.clamp,Xl=q.core.context||Dr,Nl=q.core.suppressOverwrites||Dr,Kl=ce.history.scrollRestoration||"auto",$l=ce.pageYOffset,q.core.globals("ScrollTrigger",i),ve)){Fo=1,kn=document.createElement("div"),kn.style.height="100vh",kn.style.position="absolute",ep(),hv(),Oe.register(q),i.isTouch=Oe.isTouch,hi=Oe.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Yl=Oe.isTouch===1,je(ce,"wheel",Fn),zh=[ce,xe,sr,ve],q.matchMedia?(i.matchMedia=function(u){var l=q.matchMedia(),c;for(c in u)l.add(c,u[c]);return l},q.addEventListener("matchMediaInit",function(){return rc()}),q.addEventListener("matchMediaRevert",function(){return Qh()}),q.addEventListener("matchMedia",function(){Gi(0,1),Ji("matchMedia")}),q.matchMedia("(orientation: portrait)",function(){return Vl(),Vl})):console.warn("Requires GSAP 3.11.0 or later"),Vl(),je(xe,"scroll",Fn);var r=ve.style,n=r.borderTopStyle,o=q.core.Animation.prototype,s,a;for(o.revert||Object.defineProperty(o,"revert",{value:function(){return this.time(-.01,!0)}}),r.borderTopStyle="solid",s=zr(ve),Ie.m=Math.round(s.top+Ie.sc())||0,ut.m=Math.round(s.left+ut.sc())||0,n?r.borderTopStyle=n:r.removeProperty("border-top-style"),ia=setInterval(Oh,250),q.delayedCall(.5,function(){return na=0}),je(xe,"touchcancel",Dr),je(ve,"touchstart",Dr),sa(je,xe,"pointerdown,touchstart,mousedown",Ch),sa(je,xe,"pointerup,touchend,mouseup",Th),ql=q.utils.checkPrefix("transform"),ga.push(ql),On=ct(),va=q.delayedCall(.2,Gi).pause(),Mn=[xe,"visibilitychange",function(){var u=ce.innerWidth,l=ce.innerHeight;xe.hidden?(bh=u,Eh=l):(bh!==u||Eh!==l)&&ko()},xe,"DOMContentLoaded",Gi,ce,"load",Gi,ce,"resize",ko],oa(je),se.forEach(function(u){return u.enable(0,1)}),a=0;a<oe.length;a+=3)aa($e,oe[a],oe[a+1]),aa($e,oe[a],oe[a+2])}},i.config=function(r){"limitCallbacks"in r&&(Il=!!r.limitCallbacks);var n=r.syncInterval;n&&clearInterval(ia)||(ia=n)&&setInterval(Oh,n),"ignoreMobileResize"in r&&(Yl=i.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(oa($e)||oa(je,r.autoRefreshEvents||"none"),Hh=(r.autoRefreshEvents+"").indexOf("resize")===-1)},i.scrollerProxy=function(r,n){var o=gt(r),s=oe.indexOf(o),a=Zi(o);~s&&oe.splice(s,a?6:2),n&&(a?or.unshift(ce,n,ve,n,sr,n):or.unshift(o,n))},i.clearMatchMedia=function(r){se.forEach(function(n){return n._ctx&&n._ctx.query===r&&n._ctx.kill(!0,!0)})},i.isInViewport=function(r,n,o){var s=(Bt(r)?gt(r):r).getBoundingClientRect(),a=s[o?$i:ji]*n||0;return o?s.right-a>0&&s.left+a<ce.innerWidth:s.bottom-a>0&&s.top+a<ce.innerHeight},i.positionInViewport=function(r,n,o){Bt(r)&&(r=gt(r));var s=r.getBoundingClientRect(),a=s[o?$i:ji],u=n==null?a/2:n in wa?wa[n]*a:~n.indexOf("%")?parseFloat(n)*a/100:parseFloat(n)||0;return o?(s.left+u)/ce.innerWidth:(s.top+u)/ce.innerHeight},i.killAll=function(r){if(se.slice(0).forEach(function(o){return o.vars.id!=="ScrollSmoother"&&o.kill()}),r!==!0){var n=Qi.killAll||[];Qi={},n.forEach(function(o){return o()})}},i}();j.version="3.12.5";j.saveStyles=function(i){return i?zo(i).forEach(function(e){if(e&&e.style){var t=It.indexOf(e);t>=0&&It.splice(t,5),It.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),q.core.getCache(e),Xl())}}):It};j.revert=function(i,e){return rc(!i,e)};j.create=function(i,e){return new j(i,e)};j.refresh=function(i){return i?ko():(On||j.register())&&Gi(!0)};j.update=function(i){return++oe.cache&&Vr(i===!0?2:0)};j.clearScrollMemory=Jh;j.maxScroll=function(i,e){return yr(i,e?ut:Ie)};j.getScrollFunc=function(i,e){return Ir(gt(i),e?ut:Ie)};j.getById=function(i){return Gl[i]};j.getAll=function(){return se.filter(function(i){return i.vars.id!=="ScrollSmoother"})};j.isScrolling=function(){return!!Ut};j.snapDirectional=tc;j.addEventListener=function(i,e){var t=Qi[i]||(Qi[i]=[]);~t.indexOf(e)||t.push(e)};j.removeEventListener=function(i,e){var t=Qi[i],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)};j.batch=function(i,e){var t=[],r={},n=e.interval||.016,o=e.batchMax||1e9,s=function(l,c){var d=[],p=[],f=q.delayedCall(n,function(){c(d,p),d=[],p=[]}).pause();return function(_){d.length||f.restart(!0),d.push(_.trigger),p.push(_),o<=d.length&&f.progress(1)}},a;for(a in e)r[a]=a.substr(0,2)==="on"&&yt(e[a])&&a!=="onRefreshInit"?s(a,e[a]):e[a];return yt(o)&&(o=o(),je(j,"refresh",function(){return o=e.batchMax()})),zo(i).forEach(function(u){var l={};for(a in r)l[a]=r[a];l.trigger=u,t.push(j.create(l))}),t};var Nh=function(e,t,r,n){return t>n?e(n):t<0&&e(0),r>n?(n-t)/(r-t):r<0?t/(t-r):1},Wl=function i(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(Oe.isTouch?" pinch-zoom":""):"none",e===sr&&i(ve,t)},da={auto:1,scroll:1},Sv=function(e){var t=e.event,r=e.target,n=e.axis,o=(t.changedTouches?t.changedTouches[0]:t).target,s=o._gsap||q.core.getCache(o),a=ct(),u;if(!s._isScrollT||a-s._isScrollT>2e3){for(;o&&o!==ve&&(o.scrollHeight<=o.clientHeight&&o.scrollWidth<=o.clientWidth||!(da[(u=Xt(o)).overflowY]||da[u.overflowX]));)o=o.parentNode;s._isScroll=o&&o!==r&&!Zi(o)&&(da[(u=Xt(o)).overflowY]||da[u.overflowX]),s._isScrollT=a}(s._isScroll||n==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},rp=function(e,t,r,n){return Oe.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&Sv,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&je(xe,Oe.eventTypes[0],Bh,!1,!0)},onDisable:function(){return $e(xe,Oe.eventTypes[0],Bh,!0)}})},Cv=/(input|label|select|textarea)/i,Ih,Bh=function(e){var t=Cv.test(e.target.tagName);(t||Ih)&&(e._gsapAllow=!0,Ih=t)},Tv=function(e){Ui(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t=e,r=t.normalizeScrollX,n=t.momentum,o=t.allowNestedScroll,s=t.onRelease,a,u,l=gt(e.target)||sr,c=q.core.globals().ScrollSmoother,d=c&&c.get(),p=hi&&(e.content&>(e.content)||d&&e.content!==!1&&!d.smooth()&&d.content()),f=Ir(l,Ie),_=Ir(l,ut),h=1,g=(Oe.isTouch&&ce.visualViewport?ce.visualViewport.scale*ce.visualViewport.width:ce.outerWidth)/ce.innerWidth,m=0,v=yt(n)?function(){return n(a)}:function(){return n||2.8},y,w,E=rp(l,e.type,!0,o),x=function(){return w=!1},b=Dr,S=Dr,A=function(){u=yr(l,Ie),S=Po(hi?1:0,u),r&&(b=Po(0,yr(l,ut))),y=Ki},C=function(){p._gsap.y=Oo(parseFloat(p._gsap.y)+f.offset)+"px",p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(p._gsap.y)+", 0, 1)",f.offset=f.cacheID=0},O=function(){if(w){requestAnimationFrame(x);var N=Oo(a.deltaY/2),T=S(f.v-N);if(p&&T!==f.v+f.offset){f.offset=T-f.v;var D=Oo((parseFloat(p&&p._gsap.y)||0)-f.offset);p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+D+", 0, 1)",p._gsap.y=D+"px",f.cacheID=oe.cache,Vr()}return!0}f.offset&&C(),w=!0},F,k,H,z,P=function(){A(),F.isActive()&&F.vars.scrollY>u&&(f()>u?F.progress(1)&&f(u):F.resetTo("scrollY",u))};return p&&q.set(p,{y:"+=0"}),e.ignoreCheck=function(R){return hi&&R.type==="touchmove"&&O(R)||h>1.05&&R.type!=="touchstart"||a.isGesturing||R.touches&&R.touches.length>1},e.onPress=function(){w=!1;var R=h;h=Oo((ce.visualViewport&&ce.visualViewport.scale||1)/g),F.pause(),R!==h&&Wl(l,h>1.01?!0:r?!1:"x"),k=_(),H=f(),A(),y=Ki},e.onRelease=e.onGestureStart=function(R,N){if(f.offset&&C(),!N)z.restart(!0);else{oe.cache++;var T=v(),D,L;r&&(D=_(),L=D+T*.05*-R.velocityX/.227,T*=Nh(_,D,L,yr(l,ut)),F.vars.scrollX=b(L)),D=f(),L=D+T*.05*-R.velocityY/.227,T*=Nh(f,D,L,yr(l,Ie)),F.vars.scrollY=S(L),F.invalidate().duration(T).play(.01),(hi&&F.vars.scrollY>=u||D>=u-1)&&q.to({},{onUpdate:P,duration:T})}s&&s(R)},e.onWheel=function(){F._ts&&F.pause(),ct()-m>1e3&&(y=0,m=ct())},e.onChange=function(R,N,T,D,L){if(Ki!==y&&A(),N&&r&&_(b(D[2]===N?k+(R.startX-R.x):_()+N-D[1])),T){f.offset&&C();var X=L[2]===T,te=X?H+R.startY-R.y:f()+T-L[1],U=S(te);X&&te!==U&&(H+=U-te),f(U)}(T||N)&&Vr()},e.onEnable=function(){Wl(l,r?!1:"x"),j.addEventListener("refresh",P),je(ce,"resize",P),f.smooth&&(f.target.style.scrollBehavior="auto",f.smooth=_.smooth=!1),E.enable()},e.onDisable=function(){Wl(l,!0),$e(ce,"resize",P),j.removeEventListener("refresh",P),E.kill()},e.lockAxis=e.lockAxis!==!1,a=new Oe(e),a.iOS=hi,hi&&!f()&&f(1),hi&&q.ticker.add(Dr),z=a._dc,F=q.to(a,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:tp(f,f(),function(){return F.pause()})},onUpdate:Vr,onComplete:z.vars.onComplete}),a};j.sort=function(i){return se.sort(i||function(e,t){return(e.vars.refreshPriority||0)*-1e6+e.start-(t.start+(t.vars.refreshPriority||0)*-1e6)})};j.observe=function(i){return new Oe(i)};j.normalizeScroll=function(i){if(typeof i>"u")return mt;if(i===!0&&mt)return mt.enable();if(i===!1){mt&&mt.kill(),mt=i;return}var e=i instanceof Oe?i:Tv(i);return mt&&mt.target===e.target&&mt.kill(),Zi(e.target)&&(mt=e),e};j.core={_getVelocityProp:ra,_inputObserver:rp,_scrollers:oe,_proxies:or,bridge:{ss:function(){Ut||Ji("scrollStart"),Ut=ct()},ref:function(){return lt}}};Xh()&&q.registerPlugin(j);var wt,sp,Hr,wr,pi,ap,up,Ea,lp=function(){return typeof window<"u"},cp=function(){return wt||lp()&&(wt=window.gsap)&&wt.registerPlugin&&wt},fp=function(e){return typeof e=="string"},ip=function(e){return typeof e=="function"},Ho=function(e,t){var r=t==="x"?"Width":"Height",n="scroll"+r,o="client"+r;return e===Hr||e===wr||e===pi?Math.max(wr[n],pi[n])-(Hr["inner"+r]||wr[o]||pi[o]):e[n]-e["offset"+r]},Wo=function(e,t){var r="scroll"+(t==="x"?"Left":"Top");return e===Hr&&(e.pageXOffset!=null?r="page"+t.toUpperCase()+"Offset":e=wr[r]!=null?wr:pi),function(){return e[r]}},Av=function(e,t,r,n){if(ip(e)&&(e=e(t,r,n)),typeof e!="object")return fp(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"&&ip(e[s])?e[s](t,r,n):e[s];return o},dp=function(e,t){if(e=ap(e)[0],!e||!e.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var r=e.getBoundingClientRect(),n=!t||t===Hr||t===pi,o=n?{top:wr.clientTop-(Hr.pageYOffset||wr.scrollTop||pi.scrollTop||0),left:wr.clientLeft-(Hr.pageXOffset||wr.scrollLeft||pi.scrollLeft||0)}:t.getBoundingClientRect(),s={x:r.left-o.left,y:r.top-o.top};return!n&&t&&(s.x+=Wo(t,"x")(),s.y+=Wo(t,"y")()),s},np=function(e,t,r,n,o){return!isNaN(e)&&typeof e!="object"?parseFloat(e)-o:fp(e)&&e.charAt(1)==="="?parseFloat(e.substr(2))*(e.charAt(0)==="-"?-1:1)+n-o:e==="max"?Ho(t,r)-o:Math.min(Ho(t,r),dp(e,t)[r]-o)},op=function(){wt=cp(),lp()&&wt&&typeof document<"u"&&document.body&&(Hr=window,pi=document.body,wr=document.documentElement,ap=wt.utils.toArray,wt.config({autoKillThreshold:7}),up=wt.config(),sp=1)},Rn={version:"3.12.5",name:"scrollTo",rawVars:1,register:function(e){wt=e,op()},init:function(e,t,r,n,o){sp||op();var s=this,a=wt.getProperty(e,"scrollSnapType");s.isWin=e===Hr,s.target=e,s.tween=r,t=Av(t,n,e,o),s.vars=t,s.autoKill=!!t.autoKill,s.getX=Wo(e,"x"),s.getY=Wo(e,"y"),s.x=s.xPrev=s.getX(),s.y=s.yPrev=s.getY(),Ea||(Ea=wt.core.globals().ScrollTrigger),wt.getProperty(e,"scrollBehavior")==="smooth"&&wt.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,np(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,np(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 r=t._pt,n=t.target,o=t.tween,s=t.autoKill,a=t.xPrev,u=t.yPrev,l=t.isWin,c=t.snap,d=t.snapInline,p,f,_,h,g;r;)r.r(e,r.d),r=r._next;p=l||!t.skipX?t.getX():a,f=l||!t.skipY?t.getY():u,_=f-u,h=p-a,g=up.autoKillThreshold,t.x<0&&(t.x=0),t.y<0&&(t.y=0),s&&(!t.skipX&&(h>g||h<-g)&&p<Ho(n,"x")&&(t.skipX=1),!t.skipY&&(_>g||_<-g)&&f<Ho(n,"y")&&(t.skipY=1),t.skipX&&t.skipY&&(o.kill(),t.vars.onAutoKill&&t.vars.onAutoKill.apply(o,t.vars.onAutoKillParams||[]))),l?Hr.scrollTo(t.skipX?p: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,p=n.scrollLeft,d?n.style.scrollSnapType=d:n.style.removeProperty("scroll-snap-type"),n.scrollTop=f+1,n.scrollLeft=p+1,n.scrollTop=f,n.scrollLeft=p),t.xPrev=t.x,t.yPrev=t.y,Ea&&Ea.update()},kill:function(e){var t=e==="scrollTo",r=this._props.indexOf(e);return(t||e==="scrollTo_x")&&(this.skipX=1),(t||e==="scrollTo_y")&&(this.skipY=1),r>-1&&this._props.splice(r,1),!this._props.length}};Rn.max=Ho;Rn.getOffset=dp;Rn.buildGetter=Wo;cp()&&wt.registerPlugin(Rn);var Fv=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig;var Ov=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig;var Mv=Math.PI/180,Uy=180/Math.PI,xa=Math.sin,Sa=Math.cos,Yo=Math.abs,qo=Math.sqrt;var kv=function(e){return typeof e=="number"};var hp=1e5;var _i=function(e){return Math.round(e*hp)/hp||0};function pp(i,e,t,r,n,o,s){for(var a=i.length,u,l,c,d,p;--a>-1;)for(u=i[a],l=u.length,c=0;c<l;c+=2)d=u[c],p=u[c+1],u[c]=d*e+p*r+o,u[c+1]=d*t+p*n+s;return i._dirty=1,i}function Pv(i,e,t,r,n,o,s,a,u){if(!(i===a&&e===u)){t=Yo(t),r=Yo(r);var l=n%360*Mv,c=Sa(l),d=xa(l),p=Math.PI,f=p*2,_=(i-a)/2,h=(e-u)/2,g=c*_+d*h,m=-d*_+c*h,v=g*g,y=m*m,w=v/(t*t)+y/(r*r);w>1&&(t=qo(w)*t,r=qo(w)*r);var E=t*t,x=r*r,b=(E*x-E*y-x*v)/(E*y+x*v);b<0&&(b=0);var S=(o===s?-1:1)*qo(b),A=S*(t*m/r),C=S*-(r*g/t),O=(i+a)/2,F=(e+u)/2,k=O+(c*A-d*C),H=F+(d*A+c*C),z=(g-A)/t,P=(m-C)/r,R=(-g-A)/t,N=(-m-C)/r,T=z*z+P*P,D=(P<0?-1:1)*Math.acos(z/qo(T)),L=(z*N-P*R<0?-1:1)*Math.acos((z*R+P*N)/qo(T*(R*R+N*N)));isNaN(L)&&(L=p),!s&&L>0?L-=f:s&&L<0&&(L+=f),D%=f,L%=f;var X=Math.ceil(Yo(L)/(f/4)),te=[],U=L/X,G=4/3*xa(U/2)/(1+Sa(U/2)),I=c*t,Y=d*t,fe=d*-r,ie=c*r,ne;for(ne=0;ne<X;ne++)n=D+ne*U,g=Sa(n),m=xa(n),z=Sa(n+=U),P=xa(n),te.push(g-G*m,m+G*g,z+G*P,P-G*z,z,P);for(ne=0;ne<te.length;ne+=2)g=te[ne],m=te[ne+1],te[ne]=g*I+m*fe+k,te[ne+1]=g*Y+m*ie+H;return te[ne-2]=a,te[ne-1]=u,te}}function _p(i){var e=(i+"").replace(Ov,function(A){var C=+A;return C<1e-4&&C>-1e-4?0:C}).match(Fv)||[],t=[],r=0,n=0,o=2/3,s=e.length,a=0,u="ERROR: malformed path: "+i,l,c,d,p,f,_,h,g,m,v,y,w,E,x,b,S=function(C,O,F,k){v=(F-C)/3,y=(k-O)/3,h.push(C+v,O+y,F-v,k-y,F,k)};if(!i||!isNaN(e[0])||isNaN(e[1]))return console.log(u),t;for(l=0;l<s;l++)if(E=f,isNaN(e[l])?(f=e[l].toUpperCase(),_=f!==e[l]):l--,d=+e[l+1],p=+e[l+2],_&&(d+=r,p+=n),l||(g=d,m=p),f==="M")h&&(h.length<8?t.length-=1:a+=h.length),r=g=d,n=m=p,h=[d,p],t.push(h),l+=2,f="L";else if(f==="C")h||(h=[0,0]),_||(r=n=0),h.push(d,p,r+e[l+3]*1,n+e[l+4]*1,r+=e[l+5]*1,n+=e[l+6]*1),l+=6;else if(f==="S")v=r,y=n,(E==="C"||E==="S")&&(v+=r-h[h.length-4],y+=n-h[h.length-3]),_||(r=n=0),h.push(v,y,d,p,r+=e[l+3]*1,n+=e[l+4]*1),l+=4;else if(f==="Q")v=r+(d-r)*o,y=n+(p-n)*o,_||(r=n=0),r+=e[l+3]*1,n+=e[l+4]*1,h.push(v,y,r+(d-r)*o,n+(p-n)*o,r,n),l+=4;else if(f==="T")v=r-h[h.length-4],y=n-h[h.length-3],h.push(r+v,n+y,d+(r+v*1.5-d)*o,p+(n+y*1.5-p)*o,r=d,n=p),l+=2;else if(f==="H")S(r,n,r=d,n),l+=1;else if(f==="V")S(r,n,r,n=d+(_?n-r:0)),l+=1;else if(f==="L"||f==="Z")f==="Z"&&(d=g,p=m,h.closed=!0),(f==="L"||Yo(r-d)>.5||Yo(n-p)>.5)&&(S(r,n,d,p),f==="L"&&(l+=2)),r=d,n=p;else if(f==="A"){if(x=e[l+4],b=e[l+5],v=e[l+6],y=e[l+7],c=7,x.length>1&&(x.length<3?(y=v,v=b,c--):(y=b,v=x.substr(2),c-=2),b=x.charAt(1),x=x.charAt(0)),w=Pv(r,n,+e[l+1],+e[l+2],+e[l+3],+x,+b,(_?r:0)+v*1,(_?n:0)+y*1),l+=c,w)for(c=0;c<w.length;c++)h.push(w[c]);r=h[h.length-2],n=h[h.length-1]}else console.log(u);return l=h.length,l<6?(t.pop(),l=0):h[0]===h[l-2]&&h[1]===h[l-1]&&(h.closed=!0),t.totalPoints=a+l,t}function gp(i){kv(i[0])&&(i=[i]);var e="",t=i.length,r,n,o,s;for(n=0;n<t;n++){for(s=i[n],e+="M"+_i(s[0])+","+_i(s[1])+" C",r=s.length,o=2;o<r;o++)e+=_i(s[o++])+","+_i(s[o++])+" "+_i(s[o++])+","+_i(s[o++])+" "+_i(s[o++])+","+_i(s[o])+" ";s.closed&&(e+="z")}return e}var At,vp,Dp=function(){return At||typeof window<"u"&&(At=window.gsap)&&At.registerPlugin&&At},mp=function(){At=Dp(),At?(At.registerEase("_CE",en.create),vp=1):console.warn("Please gsap.registerPlugin(CustomEase)")},Lv=1e20,Ca=function(e){return~~(e*1e3+(e<0?-.5:.5))/1e3},Rv=1,Nv=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/gi,Iv=/[cLlsSaAhHvVtTqQ]/g,Bv=function(e){var t=e.length,r=Lv,n;for(n=1;n<t;n+=6)+e[n]<r&&(r=+e[n]);return r},zv=function(e,t,r){!r&&r!==0&&(r=Math.max(+e[e.length-1],+e[1]));var n=+e[0]*-1,o=-r,s=e.length,a=1/(+e[s-2]+n),u=-t||(Math.abs(+e[s-1]-+e[1])<.01*(+e[s-2]-+e[0])?Bv(e)+o:+e[s-1]+o),l;for(u?u=1/u:u=-a,l=0;l<s;l+=2)e[l]=(+e[l]+n)*a,e[l+1]=(+e[l+1]+o)*u},Vv=function i(e,t,r,n,o,s,a,u,l,c,d){var p=(e+r)/2,f=(t+n)/2,_=(r+o)/2,h=(n+s)/2,g=(o+a)/2,m=(s+u)/2,v=(p+_)/2,y=(f+h)/2,w=(_+g)/2,E=(h+m)/2,x=(v+w)/2,b=(y+E)/2,S=a-e,A=u-t,C=Math.abs((r-a)*A-(n-u)*S),O=Math.abs((o-a)*A-(s-u)*S),F;return c||(c=[{x:e,y:t},{x:a,y:u}],d=1),c.splice(d||c.length-1,0,{x,y:b}),(C+O)*(C+O)>l*(S*S+A*A)&&(F=c.length,i(e,t,p,f,v,y,x,b,l,c,d),i(x,b,w,E,g,m,a,u,l,c,d+1+(c.length-F))),c},en=function(){function i(t,r,n){vp||mp(),this.id=t,Rv&&this.setData(r,n)}var e=i.prototype;return e.setData=function(r,n){n=n||{},r=r||"0,0,1,1";var o=r.match(Nv),s=1,a=[],u=[],l=n.precision||1,c=l<=1,d,p,f,_,h,g,m,v,y;if(this.data=r,(Iv.test(r)||~r.indexOf("M")&&r.indexOf("C")<0)&&(o=_p(r)[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)&&zv(o,n.height,n.originY),this.segment=o,_=2;_<d;_+=6)p={x:+o[_-2],y:+o[_-1]},f={x:+o[_+4],y:+o[_+5]},a.push(p,f),Vv(p.x,p.y,+o[_],+o[_+1],+o[_+2],+o[_+3],f.x,f.y,1/(l*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,h=1/d,g=0,m=a[0],c){for(_=0;_<d;_++)y=_*h,m.nx<y&&(m=a[++g]),p=m.y+(y-m.x)/m.cx*m.cy,u[_]={x:y,cx:h,y:p,cy:0,nx:9},_&&(u[_-1].cy=p-u[_-1].y);u[d-1].cy=a[a.length-1].y-p}else{for(_=0;_<d;_++)m.nx<_*h&&(m=a[++g]),u[_]=m;g<a.length-1&&(u[_-1]=a[a.length-2])}return this.ease=function(w){var E=u[w*d|0]||u[d-1];return E.nx<w&&(E=E.n),E.y+(w-E.x)/E.cx*E.cy},this.ease.custom=this,this.id&&At&&At.registerEase(this.id,this.ease),this},e.getSVGData=function(r){return i.getSVGData(this,r)},i.create=function(r,n,o){return new i(r,n,o).ease},i.register=function(r){At=r,mp()},i.get=function(r){return At.parseEase(r)},i.getSVGData=function(r,n){n=n||{};var o=n.width||100,s=n.height||100,a=n.x||0,u=(n.y||0)+s,l=At.utils.toArray(n.path)[0],c,d,p,f,_,h,g,m,v,y;if(n.invert&&(s=-s,u=0),typeof r=="string"&&(r=At.parseEase(r)),r.custom&&(r=r.custom),r instanceof i)c=gp(pp([r.segment],o,0,0,-s,a,u));else{for(c=[a,u],g=Math.max(5,(n.precision||1)*200),f=1/g,g+=2,m=5/g,v=Ca(a+f*o),y=Ca(u+r(f)*-s),d=(y-u)/(v-a),p=2;p<g;p++)_=Ca(a+p*f*o),h=Ca(u+r(p*f)*-s),(Math.abs((h-y)/(_-v)-d)>m||p===g-1)&&(c.push(v,y),d=(h-y)/(_-v)),v=_,y=h;c="M"+c.join(",")}return l&&l.setAttribute("d",c),c},i}();Dp()&&At.registerPlugin(en);en.version="3.12.5";var yp=/([\uD800-\uDBFF][\uDC00-\uDFFF](?:[\u200D\uFE0F][\uD800-\uDBFF][\uDC00-\uDFFF]){2,}|\uD83D\uDC69(?:\u200D(?:(?:\uD83D\uDC69\u200D)?\uD83D\uDC67|(?:\uD83D\uDC69\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]\uFE0F|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC6F\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3C-\uDD3E\uDDD6-\uDDDF])\u200D[\u2640\u2642]\uFE0F|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F\u200D[\u2640\u2642]|(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642])\uFE0F|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\uD83D\uDC69\u200D[\u2695\u2696\u2708]|\uD83D\uDC68(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708]))\uFE0F|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83D\uDC69\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|\uD83D\uDC68(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]))|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDD1-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\u200D(?:(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDD1-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])?|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDEEB\uDEEC\uDEF4-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267B\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])\uFE0F)/;function ic(i){var e=i.nodeType,t="";if(e===1||e===9||e===11){if(typeof i.textContent=="string")return i.textContent;for(i=i.firstChild;i;i=i.nextSibling)t+=ic(i)}else if(e===3||e===4)return i.nodeValue;return t}var Nn,oc,Ep,Xo,xp,Ta,Hv=/(?:\r|\n|\t\t)/g,Wv=/(?:\s\s+)/g,qv=String.fromCharCode(160),Sp=function(e){Nn=document,oc=window,Xo=Xo||e||oc.gsap||console.warn("Please gsap.registerPlugin(SplitText)"),Xo&&(Ta=Xo.utils.toArray,xp=Xo.core.context||function(){},Ep=1)},Yv=1,Cp=function(e){return oc.getComputedStyle(e)},sc=function(e){return e.position==="absolute"||e.absolute===!0},Xv=function(e,t){for(var r=t.length,n;--r>-1;)if(n=t[r],e.substr(0,n.length)===n)return n.length},Uv=" style='position:relative;display:inline-block;'",wp=function(e,t){e===void 0&&(e="");var r=~e.indexOf("++"),n=1;return r&&(e=e.split("++").join("")),function(){return"<"+t+Uv+(e?" class='"+e+(r?n++:"")+"'>":">")}},Tp=function i(e,t,r){var n=e.nodeType;if(n===1||n===9||n===11)for(e=e.firstChild;e;e=e.nextSibling)i(e,t,r);else(n===3||n===4)&&(e.nodeValue=e.nodeValue.split(t).join(r))},nc=function(e,t){for(var r=t.length;--r>-1;)e.push(t[r])},bp=function(e,t,r){for(var n;e&&e!==t;){if(n=e._next||e.nextSibling,n)return n.textContent.charAt(0)===r;e=e.parentNode||e._parent}},Gv=function i(e){var t=Ta(e.childNodes),r=t.length,n,o;for(n=0;n<r;n++)o=t[n],o._isSplit?i(o):n&&o.previousSibling&&o.previousSibling.nodeType===3?(o.previousSibling.nodeValue+=o.nodeType===3?o.nodeValue:o.firstChild.nodeValue,e.removeChild(o)):o.nodeType!==3&&(e.insertBefore(o.firstChild,o),e.removeChild(o))},br=function(e,t){return parseFloat(t[e])||0},$v=function(e,t,r,n,o,s,a){var u=Cp(e),l=br("paddingLeft",u),c=-999,d=br("borderBottomWidth",u)+br("borderTopWidth",u),p=br("borderLeftWidth",u)+br("borderRightWidth",u),f=br("paddingTop",u)+br("paddingBottom",u),_=br("paddingLeft",u)+br("paddingRight",u),h=br("fontSize",u)*(t.lineThreshold||.2),g=u.textAlign,m=[],v=[],y=[],w=t.wordDelimiter||" ",E=t.tag?t.tag:t.span?"span":"div",x=t.type||t.split||"chars,words,lines",b=o&&~x.indexOf("lines")?[]:null,S=~x.indexOf("words"),A=~x.indexOf("chars"),C=sc(t),O=t.linesClass,F=~(O||"").indexOf("++"),k=[],H=u.display==="flex",z=e.style.display,P,R,N,T,D,L,X,te,U,G,I,Y;for(F&&(O=O.split("++").join("")),H&&(e.style.display="block"),R=e.getElementsByTagName("*"),N=R.length,D=[],P=0;P<N;P++)D[P]=R[P];if(b||C)for(P=0;P<N;P++)T=D[P],L=T.parentNode===e,(L||C||A&&!S)&&(Y=T.offsetTop,b&&L&&Math.abs(Y-c)>h&&(T.nodeName!=="BR"||P===0)&&(X=[],b.push(X),c=Y),C&&(T._x=T.offsetLeft,T._y=Y,T._w=T.offsetWidth,T._h=T.offsetHeight),b&&((T._isSplit&&L||!A&&L||S&&L||!S&&T.parentNode.parentNode===e&&!T.parentNode._isSplit)&&(X.push(T),T._x-=l,bp(T,e,w)&&(T._wordEnd=!0)),T.nodeName==="BR"&&(T.nextSibling&&T.nextSibling.nodeName==="BR"||P===0)&&b.push([])));for(P=0;P<N;P++){if(T=D[P],L=T.parentNode===e,T.nodeName==="BR"){b||C?(T.parentNode&&T.parentNode.removeChild(T),D.splice(P--,1),N--):S||e.appendChild(T);continue}if(C&&(U=T.style,!S&&!L&&(T._x+=T.parentNode._x,T._y+=T.parentNode._y),U.left=T._x+"px",U.top=T._y+"px",U.position="absolute",U.display="block",U.width=T._w+1+"px",U.height=T._h+"px"),!S&&A)if(T._isSplit)for(T._next=R=T.nextSibling,T.parentNode.appendChild(T);R&&R.nodeType===3&&R.textContent===" ";)T._next=R.nextSibling,T.parentNode.appendChild(R),R=R.nextSibling;else T.parentNode._isSplit?(T._parent=T.parentNode,!T.previousSibling&&T.firstChild&&(T.firstChild._isFirst=!0),T.nextSibling&&T.nextSibling.textContent===" "&&!T.nextSibling.nextSibling&&k.push(T.nextSibling),T._next=T.nextSibling&&T.nextSibling._isFirst?null:T.nextSibling,T.parentNode.removeChild(T),D.splice(P--,1),N--):L||(Y=!T.nextSibling&&bp(T.parentNode,e,w),T.parentNode._parent&&T.parentNode._parent.appendChild(T),Y&&T.parentNode.appendChild(Nn.createTextNode(" ")),E==="span"&&(T.style.display="inline"),m.push(T));else T.parentNode._isSplit&&!T._isSplit&&T.innerHTML!==""?v.push(T):A&&!T._isSplit&&(E==="span"&&(T.style.display="inline"),m.push(T))}for(P=k.length;--P>-1;)k[P].parentNode.removeChild(k[P]);if(b){for(C&&(G=Nn.createElement(E),e.appendChild(G),I=G.offsetWidth+"px",Y=G.offsetParent===e?0:e.offsetLeft,e.removeChild(G)),U=e.style.cssText,e.style.cssText="display:none;";e.firstChild;)e.removeChild(e.firstChild);for(te=w===" "&&(!C||!S&&!A),P=0;P<b.length;P++){for(X=b[P],G=Nn.createElement(E),G.style.cssText="display:block;text-align:"+g+";position:"+(C?"absolute;":"relative;"),O&&(G.className=O+(F?P+1:"")),y.push(G),N=X.length,R=0;R<N;R++)X[R].nodeName!=="BR"&&(T=X[R],G.appendChild(T),te&&T._wordEnd&&G.appendChild(Nn.createTextNode(" ")),C&&(R===0&&(G.style.top=T._y+"px",G.style.left=l+Y+"px"),T.style.top="0px",Y&&(T.style.left=T._x-Y+"px")));N===0?G.innerHTML=" ":!S&&!A&&(Gv(G),Tp(G,String.fromCharCode(160)," ")),C&&(G.style.width=I,G.style.height=T._h+"px"),e.appendChild(G)}e.style.cssText=U}C&&(a>e.clientHeight&&(e.style.height=a-f+"px",e.clientHeight<a&&(e.style.height=a+d+"px")),s>e.clientWidth&&(e.style.width=s-_+"px",e.clientWidth<s&&(e.style.width=s+p+"px"))),H&&(z?e.style.display=z:e.style.removeProperty("display")),nc(r,m),S&&nc(n,v),nc(o,y)},jv=function(e,t,r,n){var o=t.tag?t.tag:t.span?"span":"div",s=t.type||t.split||"chars,words,lines",a=~s.indexOf("chars"),u=sc(t),l=t.wordDelimiter||" ",c=function(C){return C===l||C===qv&&l===" "},d=l!==" "?"":u?"­ ":" ",p="</"+o+">",f=1,_=t.specialChars?typeof t.specialChars=="function"?t.specialChars:Xv:null,h,g,m,v,y,w,E,x,b=Nn.createElement("div"),S=e.parentNode;for(S.insertBefore(b,e),b.textContent=e.nodeValue,S.removeChild(e),e=b,h=ic(e),E=h.indexOf("<")!==-1,t.reduceWhiteSpace!==!1&&(h=h.replace(Wv," ").replace(Hv,"")),E&&(h=h.split("<").join("{{LT}}")),y=h.length,g=(h.charAt(0)===" "?d:"")+r(),m=0;m<y;m++)if(w=h.charAt(m),_&&(x=_(h.substr(m),t.specialChars)))w=h.substr(m,x||1),g+=a&&w!==" "?n()+w+"</"+o+">":w,m+=x-1;else if(c(w)&&!c(h.charAt(m-1))&&m){for(g+=f?p:"",f=0;c(h.charAt(m+1));)g+=d,m++;m===y-1?g+=d:h.charAt(m+1)!==")"&&(g+=d+r(),f=1)}else w==="{"&&h.substr(m,6)==="{{LT}}"?(g+=a?n()+"{{LT}}</"+o+">":"{{LT}}",m+=5):w.charCodeAt(0)>=55296&&w.charCodeAt(0)<=56319||h.charCodeAt(m+1)>=65024&&h.charCodeAt(m+1)<=65039?(v=((h.substr(m,12).split(yp)||[])[1]||"").length||2,g+=a&&w!==" "?n()+h.substr(m,v)+"</"+o+">":h.substr(m,v),m+=v-1):g+=a&&w!==" "?n()+w+"</"+o+">":w;e.outerHTML=g+(f?p:""),E&&Tp(S,"{{LT}}","<")},Kv=function i(e,t,r,n){var o=Ta(e.childNodes),s=o.length,a=sc(t),u,l;if(e.nodeType!==3||s>1){for(t.absolute=!1,u=0;u<s;u++)l=o[u],l._next=l._isFirst=l._parent=l._wordEnd=null,(l.nodeType!==3||/\S+/.test(l.nodeValue))&&(a&&l.nodeType!==3&&Cp(l).display==="inline"&&(l.style.display="inline-block",l.style.position="relative"),l._isSplit=!0,i(l,t,r,n));t.absolute=a,e._isSplit=!0;return}jv(e,t,r,n)},Gt=function(){function i(t,r){Ep||Sp(),this.elements=Ta(t),this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=r||{},xp(this),Yv&&this.split(r)}var e=i.prototype;return e.split=function(r){this.isSplit&&this.revert(),this.vars=r=r||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var n=this.elements.length,o=r.tag?r.tag:r.span?"span":"div",s=wp(r.wordsClass,o),a=wp(r.charsClass,o),u,l,c;--n>-1;)c=this.elements[n],this._originals[n]={html:c.innerHTML,style:c.getAttribute("style")},u=c.clientHeight,l=c.clientWidth,Kv(c,r,s,a),$v(c,r,this.chars,this.words,this.lines,l,u);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this},e.revert=function(){var r=this._originals;if(!r)throw"revert() call wasn't scoped properly.";return this.elements.forEach(function(n,o){n.innerHTML=r[o].html,n.setAttribute("style",r[o].style)}),this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},i.create=function(r,n){return new i(r,n)},i}();Gt.version="3.12.5";Gt.register=Sp;function Ap(i,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(i,r.key,r)}}function Zv(i,e,t){return e&&Ap(i.prototype,e),t&&Ap(i,t),Object.defineProperty(i,"prototype",{writable:!1}),i}var Fp="(prefers-reduced-motion: reduce)",zn=1,Qv=2,Wn=3,Yn=4,rs=5,Fa=6,Pa=7,Jv={CREATED:zn,MOUNTED:Qv,IDLE:Wn,MOVING:Yn,SCROLLING:rs,DRAGGING:Fa,DESTROYED:Pa};function Ur(i){i.length=0}function yi(i,e,t){return Array.prototype.slice.call(i,e,t)}function ge(i){return i.bind.apply(i,[null].concat(yi(arguments,1)))}var qp=setTimeout,fc=function(){};function Op(i){return requestAnimationFrame(i)}function Ia(i,e){return typeof e===i}function $o(i){return!vc(i)&&Ia("object",i)}var mc=Array.isArray,Yp=ge(Ia,"function"),mi=ge(Ia,"string"),is=ge(Ia,"undefined");function vc(i){return i===null}function Xp(i){try{return i instanceof(i.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function ns(i){return mc(i)?i:[i]}function Kt(i,e){ns(i).forEach(e)}function Dc(i,e){return i.indexOf(e)>-1}function Oa(i,e){return i.push.apply(i,ns(e)),i}function qr(i,e,t){i&&Kt(e,function(r){r&&i.classList[t?"add":"remove"](r)})}function Er(i,e){qr(i,mi(e)?e.split(" "):e,!0)}function os(i,e){Kt(e,i.appendChild.bind(i))}function yc(i,e){Kt(i,function(t){var r=(e||t).parentNode;r&&r.insertBefore(t,e)})}function jo(i,e){return Xp(i)&&(i.msMatchesSelector||i.matches).call(i,e)}function Up(i,e){var t=i?yi(i.children):[];return e?t.filter(function(r){return jo(r,e)}):t}function ss(i,e){return e?Up(i,e)[0]:i.firstElementChild}var Ko=Object.keys;function rn(i,e,t){return i&&(t?Ko(i).reverse():Ko(i)).forEach(function(r){r!=="__proto__"&&e(i[r],r)}),i}function Zo(i){return yi(arguments,1).forEach(function(e){rn(e,function(t,r){i[r]=e[r]})}),i}function gi(i){return yi(arguments,1).forEach(function(e){rn(e,function(t,r){mc(t)?i[r]=t.slice():$o(t)?i[r]=gi({},$o(i[r])?i[r]:{},t):i[r]=t})}),i}function Mp(i,e){Kt(e||Ko(i),function(t){delete i[t]})}function xr(i,e){Kt(i,function(t){Kt(e,function(r){t&&t.removeAttribute(r)})})}function re(i,e,t){$o(e)?rn(e,function(r,n){re(i,n,r)}):Kt(i,function(r){vc(t)||t===""?xr(r,e):r.setAttribute(e,String(t))})}function Vn(i,e,t){var r=document.createElement(i);return e&&(mi(e)?Er(r,e):re(r,e)),t&&os(t,r),r}function ar(i,e,t){if(is(t))return getComputedStyle(i)[e];vc(t)||(i.style[e]=""+t)}function Qo(i,e){ar(i,"display",e)}function Gp(i){i.setActive&&i.setActive()||i.focus({preventScroll:!0})}function ur(i,e){return i.getAttribute(e)}function kp(i,e){return i&&i.classList.contains(e)}function $t(i){return i.getBoundingClientRect()}function nn(i){Kt(i,function(e){e&&e.parentNode&&e.parentNode.removeChild(e)})}function $p(i){return ss(new DOMParser().parseFromString(i,"text/html").body)}function Wr(i,e){i.preventDefault(),e&&(i.stopPropagation(),i.stopImmediatePropagation())}function jp(i,e){return i&&i.querySelector(e)}function wc(i,e){return e?yi(i.querySelectorAll(e)):[]}function Yr(i,e){qr(i,e,!1)}function dc(i){return i.timeStamp}function tn(i){return mi(i)?i:i?i+"px":""}var as="splide",bc="data-"+as;function Uo(i,e){if(!i)throw new Error("["+as+"] "+(e||""))}var vi=Math.min,La=Math.max,Ra=Math.floor,Jo=Math.ceil,Ft=Math.abs;function Kp(i,e,t){return Ft(i-e)<t}function Ma(i,e,t,r){var n=vi(e,t),o=La(e,t);return r?n<i&&i<o:n<=i&&i<=o}function In(i,e,t){var r=vi(e,t),n=La(e,t);return vi(La(r,i),n)}function hc(i){return+(i>0)-+(i<0)}function pc(i,e){return Kt(e,function(t){i=i.replace("%s",""+t)}),i}function Ec(i){return i<10?"0"+i:""+i}var Pp={};function eD(i){return""+i+Ec(Pp[i]=(Pp[i]||0)+1)}function Zp(){var i=[];function e(s,a,u,l){n(s,a,function(c,d,p){var f="addEventListener"in c,_=f?c.removeEventListener.bind(c,d,u,l):c.removeListener.bind(c,u);f?c.addEventListener(d,u,l):c.addListener(u),i.push([c,d,p,u,_])})}function t(s,a,u){n(s,a,function(l,c,d){i=i.filter(function(p){return p[0]===l&&p[1]===c&&p[2]===d&&(!u||p[3]===u)?(p[4](),!1):!0})})}function r(s,a,u){var l,c=!0;return typeof CustomEvent=="function"?l=new CustomEvent(a,{bubbles:c,detail:u}):(l=document.createEvent("CustomEvent"),l.initCustomEvent(a,c,!1,u)),s.dispatchEvent(l),l}function n(s,a,u){Kt(s,function(l){l&&Kt(a,function(c){c.split(" ").forEach(function(d){var p=d.split(".");u(l,p[0],p[1])})})})}function o(){i.forEach(function(s){s[4]()}),Ur(i)}return{bind:e,unbind:t,dispatch:r,destroy:o}}var sn="mounted",Lp="ready",Di="move",us="moved",Qp="click",tD="active",rD="inactive",iD="visible",nD="hidden",Ye="refresh",Ot="updated",es="resize",xc="resized",oD="drag",sD="dragging",aD="dragged",Sc="scroll",Xn="scrolled",uD="overflow",Jp="destroy",lD="arrows:mounted",cD="arrows:updated",fD="pagination:mounted",dD="pagination:updated",e_="navigation:mounted",t_="autoplay:play",hD="autoplay:playing",r_="autoplay:pause",i_="lazyload:loaded",n_="sk",o_="sh",Na="ei";function Se(i){var e=i?i.event.bus:document.createDocumentFragment(),t=Zp();function r(o,s){t.bind(e,ns(o).join(" "),function(a){s.apply(s,mc(a.detail)?a.detail:[])})}function n(o){t.dispatch(e,o,yi(arguments,1))}return i&&i.event.on(Jp,t.destroy),Zo(t,{bus:e,on:r,off:ge(t.unbind,e),emit:n})}function Ba(i,e,t,r){var n=Date.now,o,s=0,a,u=!0,l=0;function c(){if(!u){if(s=i?vi((n()-o)/i,1):1,t&&t(s),s>=1&&(e(),o=n(),r&&++l>=r))return p();a=Op(c)}}function d(m){m||_(),o=n()-(m?s*i:0),u=!1,a=Op(c)}function p(){u=!0}function f(){o=n(),s=0,t&&t(s)}function _(){a&&cancelAnimationFrame(a),s=0,a=0,u=!0}function h(m){i=m}function g(){return u}return{start:d,rewind:f,pause:p,cancel:_,set:h,isPaused:g}}function pD(i){var e=i;function t(n){e=n}function r(n){return Dc(ns(n),e)}return{set:t,is:r}}function _D(i,e){var t=Ba(e||0,i,null,1);return function(){t.isPaused()&&t.start()}}function gD(i,e,t){var r=i.state,n=t.breakpoints||{},o=t.reducedMotion||{},s=Zp(),a=[];function u(){var _=t.mediaQuery==="min";Ko(n).sort(function(h,g){return _?+h-+g:+g-+h}).forEach(function(h){c(n[h],"("+(_?"min":"max")+"-width:"+h+"px)")}),c(o,Fp),d()}function l(_){_&&s.destroy()}function c(_,h){var g=matchMedia(h);s.bind(g,"change",d),a.push([_,g])}function d(){var _=r.is(Pa),h=t.direction,g=a.reduce(function(m,v){return gi(m,v[1].matches?v[0]:{})},{});Mp(t),f(g),t.destroy?i.destroy(t.destroy==="completely"):_?(l(!0),i.mount()):h!==t.direction&&i.refresh()}function p(_){matchMedia(Fp).matches&&(_?gi(t,o):Mp(t,Ko(o)))}function f(_,h,g){gi(t,_),h&&gi(Object.getPrototypeOf(t),_),(g||!r.is(zn))&&i.emit(Ot,t)}return{setup:u,destroy:l,reduce:p,set:f}}var za="Arrow",Va=za+"Left",Ha=za+"Right",s_=za+"Up",a_=za+"Down";var Rp="rtl",Wa="ttb",ac={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[s_,Ha],ArrowRight:[a_,Va]};function mD(i,e,t){function r(o,s,a){a=a||t.direction;var u=a===Rp&&!s?1:a===Wa?0:-1;return ac[o]&&ac[o][u]||o.replace(/width|left|right/i,function(l,c){var d=ac[l.toLowerCase()][u]||l;return c>0?d.charAt(0).toUpperCase()+d.slice(1):d})}function n(o){return o*(t.direction===Rp?1:-1)}return{resolve:r,orient:n}}var Xr="role",Hn="tabindex",vD="disabled",lr="aria-",ls=lr+"controls",u_=lr+"current",Np=lr+"selected",jt=lr+"label",Cc=lr+"labelledby",l_=lr+"hidden",Tc=lr+"orientation",ts=lr+"roledescription",Ip=lr+"live",Bp=lr+"busy",zp=lr+"atomic",Ac=[Xr,Hn,vD,ls,u_,jt,Cc,l_,Tc,ts],Sr=as+"__",wi="is-",uc=as,Vp=Sr+"track",DD=Sr+"list",qa=Sr+"slide",c_=qa+"--clone",yD=qa+"__container",Fc=Sr+"arrows",Ya=Sr+"arrow",f_=Ya+"--prev",d_=Ya+"--next",Xa=Sr+"pagination",h_=Xa+"__page",wD=Sr+"progress",bD=wD+"__bar",Oc=Sr+"toggle",Jy=Oc+"__play",e1=Oc+"__pause",ED=Sr+"spinner",xD=Sr+"sr",SD=wi+"initialized",on=wi+"active",p_=wi+"prev",__=wi+"next",_c=wi+"visible",gc=wi+"loading",g_=wi+"focus-in",m_=wi+"overflow",CD=[on,_c,p_,__,gc,g_,m_],TD={slide:qa,clone:c_,arrows:Fc,arrow:Ya,prev:f_,next:d_,pagination:Xa,page:h_,spinner:ED};function AD(i,e){if(Yp(i.closest))return i.closest(e);for(var t=i;t&&t.nodeType===1&&!jo(t,e);)t=t.parentElement;return t}var FD=5,Hp=200,v_="touchstart mousedown",lc="touchmove mousemove",cc="touchend touchcancel mouseup click";function OD(i,e,t){var r=Se(i),n=r.on,o=r.bind,s=i.root,a=t.i18n,u={},l=[],c=[],d=[],p,f,_;function h(){y(),w(),v()}function g(){n(Ye,m),n(Ye,h),n(Ot,v),o(document,v_+" keydown",function(b){_=b.type==="keydown"},{capture:!0}),o(s,"focusin",function(){qr(s,g_,!!_)})}function m(b){var S=Ac.concat("style");Ur(l),Yr(s,c),Yr(p,d),xr([p,f],S),xr(s,b?S:["style",ts])}function v(){Yr(s,c),Yr(p,d),c=x(uc),d=x(Vp),Er(s,c),Er(p,d),re(s,jt,t.label),re(s,Cc,t.labelledby)}function y(){p=E("."+Vp),f=ss(p,"."+DD),Uo(p&&f,"A track/list element is missing."),Oa(l,Up(f,"."+qa+":not(."+c_+")")),rn({arrows:Fc,pagination:Xa,prev:f_,next:d_,bar:bD,toggle:Oc},function(b,S){u[S]=E("."+b)}),Zo(u,{root:s,track:p,list:f,slides:l})}function w(){var b=s.id||eD(as),S=t.role;s.id=b,p.id=p.id||b+"-track",f.id=f.id||b+"-list",!ur(s,Xr)&&s.tagName!=="SECTION"&&S&&re(s,Xr,S),re(s,ts,a.carousel),re(f,Xr,"presentation")}function E(b){var S=jp(s,b);return S&&AD(S,"."+uc)===s?S:void 0}function x(b){return[b+"--"+t.type,b+"--"+t.direction,t.drag&&b+"--draggable",t.isNavigation&&b+"--nav",b===uc&&on]}return Zo(u,{setup:h,mount:g,destroy:m})}var qn="slide",Un="loop",cs="fade";function MD(i,e,t,r){var n=Se(i),o=n.on,s=n.emit,a=n.bind,u=i.Components,l=i.root,c=i.options,d=c.isNavigation,p=c.updateOnMove,f=c.i18n,_=c.pagination,h=c.slideFocus,g=u.Direction.resolve,m=ur(r,"style"),v=ur(r,jt),y=t>-1,w=ss(r,"."+yD),E;function x(){y||(r.id=l.id+"-slide"+Ec(e+1),re(r,Xr,_?"tabpanel":"group"),re(r,ts,f.slide),re(r,jt,v||pc(f.slideLabel,[e+1,i.length]))),b()}function b(){a(r,"click",ge(s,Qp,N)),a(r,"keydown",ge(s,n_,N)),o([us,o_,Xn],O),o(e_,A),p&&o(Di,C)}function S(){E=!0,n.destroy(),Yr(r,CD),xr(r,Ac),re(r,"style",m),re(r,jt,v||"")}function A(){var T=i.splides.map(function(D){var L=D.splide.Components.Slides.getAt(e);return L?L.slide.id:""}).join(" ");re(r,jt,pc(f.slideX,(y?t:e)+1)),re(r,ls,T),re(r,Xr,h?"button":""),h&&xr(r,ts)}function C(){E||O()}function O(){if(!E){var T=i.index;F(),k(),qr(r,p_,e===T-1),qr(r,__,e===T+1)}}function F(){var T=z();T!==kp(r,on)&&(qr(r,on,T),re(r,u_,d&&T||""),s(T?tD:rD,N))}function k(){var T=P(),D=!T&&(!z()||y);if(i.state.is([Yn,rs])||re(r,l_,D||""),re(wc(r,c.focusableNodes||""),Hn,D?-1:""),h&&re(r,Hn,D?-1:0),T!==kp(r,_c)&&(qr(r,_c,T),s(T?iD:nD,N)),!T&&document.activeElement===r){var L=u.Slides.getAt(i.index);L&&Gp(L.slide)}}function H(T,D,L){ar(L&&w||r,T,D)}function z(){var T=i.index;return T===e||c.cloneStatus&&T===t}function P(){if(i.is(cs))return z();var T=$t(u.Elements.track),D=$t(r),L=g("left",!0),X=g("right",!0);return Ra(T[L])<=Jo(D[L])&&Ra(D[X])<=Jo(T[X])}function R(T,D){var L=Ft(T-e);return!y&&(c.rewind||i.is(Un))&&(L=vi(L,i.length-L)),L<=D}var N={index:e,slideIndex:t,slide:r,container:w,isClone:y,mount:x,destroy:S,update:O,style:H,isWithin:R};return N}function kD(i,e,t){var r=Se(i),n=r.on,o=r.emit,s=r.bind,a=e.Elements,u=a.slides,l=a.list,c=[];function d(){p(),n(Ye,f),n(Ye,p)}function p(){u.forEach(function(O,F){h(O,F,-1)})}function f(){E(function(O){O.destroy()}),Ur(c)}function _(){E(function(O){O.update()})}function h(O,F,k){var H=MD(i,F,k,O);H.mount(),c.push(H),c.sort(function(z,P){return z.index-P.index})}function g(O){return O?x(function(F){return!F.isClone}):c}function m(O){var F=e.Controller,k=F.toIndex(O),H=F.hasFocus()?1:t.perPage;return x(function(z){return Ma(z.index,k,k+H-1)})}function v(O){return x(O)[0]}function y(O,F){Kt(O,function(k){if(mi(k)&&(k=$p(k)),Xp(k)){var H=u[F];H?yc(k,H):os(l,k),Er(k,t.classes.slide),S(k,ge(o,es))}}),o(Ye)}function w(O){nn(x(O).map(function(F){return F.slide})),o(Ye)}function E(O,F){g(F).forEach(O)}function x(O){return c.filter(Yp(O)?O:function(F){return mi(O)?jo(F.slide,O):Dc(ns(O),F.index)})}function b(O,F,k){E(function(H){H.style(O,F,k)})}function S(O,F){var k=wc(O,"img"),H=k.length;H?k.forEach(function(z){s(z,"load error",function(){--H||F()})}):F()}function A(O){return O?u.length:c.length}function C(){return c.length>t.perPage}return{mount:d,destroy:f,update:_,register:h,get:g,getIn:m,getAt:v,add:y,remove:w,forEach:E,filter:x,style:b,getLength:A,isEnough:C}}function PD(i,e,t){var r=Se(i),n=r.on,o=r.bind,s=r.emit,a=e.Slides,u=e.Direction.resolve,l=e.Elements,c=l.root,d=l.track,p=l.list,f=a.getAt,_=a.style,h,g,m;function v(){y(),o(window,"resize load",_D(ge(s,es))),n([Ot,Ye],y),n(es,w)}function y(){h=t.direction===Wa,ar(c,"maxWidth",tn(t.width)),ar(d,u("paddingLeft"),E(!1)),ar(d,u("paddingRight"),E(!0)),w(!0)}function w(N){var T=$t(c);(N||g.width!==T.width||g.height!==T.height)&&(ar(d,"height",x()),_(u("marginRight"),tn(t.gap)),_("width",S()),_("height",A(),!0),g=T,s(xc),m!==(m=R())&&(qr(c,m_,m),s(uD,m)))}function E(N){var T=t.padding,D=u(N?"right":"left");return T&&tn(T[D]||($o(T)?0:T))||"0px"}function x(){var N="";return h&&(N=b(),Uo(N,"height or heightRatio is missing."),N="calc("+N+" - "+E(!1)+" - "+E(!0)+")"),N}function b(){return tn(t.height||$t(p).width*t.heightRatio)}function S(){return t.autoWidth?null:tn(t.fixedWidth)||(h?"":C())}function A(){return tn(t.fixedHeight)||(h?t.autoHeight?null:C():b())}function C(){var N=tn(t.gap);return"calc((100%"+(N&&" + "+N)+")/"+(t.perPage||1)+(N&&" - "+N)+")"}function O(){return $t(p)[u("width")]}function F(N,T){var D=f(N||0);return D?$t(D.slide)[u("width")]+(T?0:z()):0}function k(N,T){var D=f(N);if(D){var L=$t(D.slide)[u("right")],X=$t(p)[u("left")];return Ft(L-X)+(T?0:z())}return 0}function H(N){return k(i.length-1)-k(0)+F(0,N)}function z(){var N=f(0);return N&&parseFloat(ar(N.slide,u("marginRight")))||0}function P(N){return parseFloat(ar(d,u("padding"+(N?"Right":"Left"))))||0}function R(){return i.is(cs)||H(!0)>O()}return{mount:v,resize:w,listSize:O,slideSize:F,sliderSize:H,totalSize:k,getPadding:P,isOverflow:R}}var LD=2;function RD(i,e,t){var r=Se(i),n=r.on,o=e.Elements,s=e.Slides,a=e.Direction.resolve,u=[],l;function c(){n(Ye,d),n([Ot,es],f),(l=g())&&(_(l),e.Layout.resize(!0))}function d(){p(),c()}function p(){nn(u),Ur(u),r.destroy()}function f(){var m=g();l!==m&&(l<m||!m)&&r.emit(Ye)}function _(m){var v=s.get().slice(),y=v.length;if(y){for(;v.length<m;)Oa(v,v);Oa(v.slice(-m),v.slice(0,m)).forEach(function(w,E){var x=E<m,b=h(w.slide,E);x?yc(b,v[0].slide):os(o.list,b),Oa(u,b),s.register(b,E-m+(x?0:y),w.index)})}}function h(m,v){var y=m.cloneNode(!0);return Er(y,t.classes.clone),y.id=i.root.id+"-clone"+Ec(v+1),y}function g(){var m=t.clones;if(!i.is(Un))m=0;else if(is(m)){var v=t[a("fixedWidth")]&&e.Layout.slideSize(0),y=v&&Jo($t(o.track)[a("width")]/v);m=y||t[a("autoWidth")]&&i.length||t.perPage*LD}return m}return{mount:c,destroy:p}}function ND(i,e,t){var r=Se(i),n=r.on,o=r.emit,s=i.state.set,a=e.Layout,u=a.slideSize,l=a.getPadding,c=a.totalSize,d=a.listSize,p=a.sliderSize,f=e.Direction,_=f.resolve,h=f.orient,g=e.Elements,m=g.list,v=g.track,y;function w(){y=e.Transition,n([sn,xc,Ot,Ye],E)}function E(){e.Controller.isBusy()||(e.Scroll.cancel(),b(i.index),e.Slides.update())}function x(D,L,X,te){D!==L&&N(D>X)&&(O(),S(C(H(),D>X),!0)),s(Yn),o(Di,L,X,D),y.start(L,function(){s(Wn),o(us,L,X,D),te&&te()})}function b(D){S(k(D,!0))}function S(D,L){if(!i.is(cs)){var X=L?D:A(D);ar(m,"transform","translate"+_("X")+"("+X+"px)"),D!==X&&o(o_)}}function A(D){if(i.is(Un)){var L=F(D),X=L>e.Controller.getEnd(),te=L<0;(te||X)&&(D=C(D,X))}return D}function C(D,L){var X=D-R(L),te=p();return D-=h(te*(Jo(Ft(X)/te)||1))*(L?1:-1),D}function O(){S(H(),!0),y.cancel()}function F(D){for(var L=e.Slides.get(),X=0,te=1/0,U=0;U<L.length;U++){var G=L[U].index,I=Ft(k(G,!0)-D);if(I<=te)te=I,X=G;else break}return X}function k(D,L){var X=h(c(D-1)-P(D));return L?z(X):X}function H(){var D=_("left");return $t(m)[D]-$t(v)[D]+h(l(!1))}function z(D){return t.trimSpace&&i.is(qn)&&(D=In(D,0,h(p(!0)-d()))),D}function P(D){var L=t.focus;return L==="center"?(d()-u(D,!0))/2:+L*u(D)||0}function R(D){return k(D?e.Controller.getEnd():0,!!t.trimSpace)}function N(D){var L=h(C(H(),D));return D?L>=0:L<=m[_("scrollWidth")]-$t(v)[_("width")]}function T(D,L){L=is(L)?H():L;var X=D!==!0&&h(L)<h(R(!1)),te=D!==!1&&h(L)>h(R(!0));return X||te}return{mount:w,move:x,jump:b,translate:S,shift:C,cancel:O,toIndex:F,toPosition:k,getPosition:H,getLimit:R,exceededLimit:T,reposition:E}}function ID(i,e,t){var r=Se(i),n=r.on,o=r.emit,s=e.Move,a=s.getPosition,u=s.getLimit,l=s.toPosition,c=e.Slides,d=c.isEnough,p=c.getLength,f=t.omitEnd,_=i.is(Un),h=i.is(qn),g=ge(H,!1),m=ge(H,!0),v=t.start||0,y,w=v,E,x,b;function S(){A(),n([Ot,Ye,Na],A),n(xc,C)}function A(){E=p(!0),x=t.perMove,b=t.perPage,y=N();var I=In(v,0,f?y:E-1);I!==v&&(v=I,s.reposition())}function C(){y!==N()&&o(Na)}function O(I,Y,fe){if(!G()){var ie=k(I),ne=R(ie);ne>-1&&(Y||ne!==v)&&(X(ne),s.move(ie,ne,w,fe))}}function F(I,Y,fe,ie){e.Scroll.scroll(I,Y,fe,function(){var ne=R(s.toIndex(a()));X(f?vi(ne,y):ne),ie&&ie()})}function k(I){var Y=v;if(mi(I)){var fe=I.match(/([+\-<>])(\d+)?/)||[],ie=fe[1],ne=fe[2];ie==="+"||ie==="-"?Y=z(v+ +(""+ie+(+ne||1)),v):ie===">"?Y=ne?T(+ne):g(!0):ie==="<"&&(Y=m(!0))}else Y=_?I:In(I,0,y);return Y}function H(I,Y){var fe=x||(U()?1:b),ie=z(v+fe*(I?-1:1),v,!(x||U()));return ie===-1&&h&&!Kp(a(),u(!I),1)?I?0:y:Y?ie:R(ie)}function z(I,Y,fe){if(d()||U()){var ie=P(I);ie!==I&&(Y=I,I=ie,fe=!1),I<0||I>y?!x&&(Ma(0,I,Y,!0)||Ma(y,Y,I,!0))?I=T(D(I)):_?I=fe?I<0?-(E%b||b):E:I:t.rewind?I=I<0?y:0:I=-1:fe&&I!==Y&&(I=T(D(Y)+(I<Y?-1:1)))}else I=-1;return I}function P(I){if(h&&t.trimSpace==="move"&&I!==v)for(var Y=a();Y===l(I,!0)&&Ma(I,0,i.length-1,!t.rewind);)I<v?--I:++I;return I}function R(I){return _?(I+E)%E||0:I}function N(){for(var I=E-(U()||_&&x?1:b);f&&I-- >0;)if(l(E-1,!0)!==l(I,!0)){I++;break}return In(I,0,E-1)}function T(I){return In(U()?I:b*I,0,y)}function D(I){return U()?vi(I,y):Ra((I>=y?E-1:I)/b)}function L(I){var Y=s.toIndex(I);return h?In(Y,0,y):Y}function X(I){I!==v&&(w=v,v=I)}function te(I){return I?w:v}function U(){return!is(t.focus)||t.isNavigation}function G(){return i.state.is([Yn,rs])&&!!t.waitForTransition}return{mount:S,go:O,scroll:F,getNext:g,getPrev:m,getAdjacent:H,getEnd:N,setIndex:X,getIndex:te,toIndex:T,toPage:D,toDest:L,hasFocus:U,isBusy:G}}var BD="http://www.w3.org/2000/svg",zD="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",Aa=40;function VD(i,e,t){var r=Se(i),n=r.on,o=r.bind,s=r.emit,a=t.classes,u=t.i18n,l=e.Elements,c=e.Controller,d=l.arrows,p=l.track,f=d,_=l.prev,h=l.next,g,m,v={};function y(){E(),n(Ot,w)}function w(){x(),y()}function E(){var F=t.arrows;F&&!(_&&h)&&A(),_&&h&&(Zo(v,{prev:_,next:h}),Qo(f,F?"":"none"),Er(f,m=Fc+"--"+t.direction),F&&(b(),O(),re([_,h],ls,p.id),s(lD,_,h)))}function x(){r.destroy(),Yr(f,m),g?(nn(d?[_,h]:f),_=h=null):xr([_,h],Ac)}function b(){n([sn,us,Ye,Xn,Na],O),o(h,"click",ge(S,">")),o(_,"click",ge(S,"<"))}function S(F){c.go(F,!0)}function A(){f=d||Vn("div",a.arrows),_=C(!0),h=C(!1),g=!0,os(f,[_,h]),!d&&yc(f,p)}function C(F){var k='<button class="'+a.arrow+" "+(F?a.prev:a.next)+'" type="button"><svg xmlns="'+BD+'" viewBox="0 0 '+Aa+" "+Aa+'" width="'+Aa+'" height="'+Aa+'" focusable="false"><path d="'+(t.arrowPath||zD)+'" />';return $p(k)}function O(){if(_&&h){var F=i.index,k=c.getPrev(),H=c.getNext(),z=k>-1&&F<k?u.last:u.prev,P=H>-1&&F>H?u.first:u.next;_.disabled=k<0,h.disabled=H<0,re(_,jt,z),re(h,jt,P),s(cD,_,h,k,H)}}return{arrows:v,mount:y,destroy:x,update:O}}var HD=bc+"-interval";function WD(i,e,t){var r=Se(i),n=r.on,o=r.bind,s=r.emit,a=Ba(t.interval,i.go.bind(i,">"),b),u=a.isPaused,l=e.Elements,c=e.Elements,d=c.root,p=c.toggle,f=t.autoplay,_,h,g=f==="pause";function m(){f&&(v(),p&&re(p,ls,l.track.id),g||y(),x())}function v(){t.pauseOnHover&&o(d,"mouseenter mouseleave",function(A){_=A.type==="mouseenter",E()}),t.pauseOnFocus&&o(d,"focusin focusout",function(A){h=A.type==="focusin",E()}),p&&o(p,"click",function(){g?y():w(!0)}),n([Di,Sc,Ye],a.rewind),n(Di,S)}function y(){u()&&e.Slides.isEnough()&&(a.start(!t.resetProgress),h=_=g=!1,x(),s(t_))}function w(A){A===void 0&&(A=!0),g=!!A,x(),u()||(a.pause(),s(r_))}function E(){g||(_||h?w(!1):y())}function x(){p&&(qr(p,on,!g),re(p,jt,t.i18n[g?"play":"pause"]))}function b(A){var C=l.bar;C&&ar(C,"width",A*100+"%"),s(hD,A)}function S(A){var C=e.Slides.getAt(A);a.set(C&&+ur(C.slide,HD)||t.interval)}return{mount:m,destroy:a.cancel,play:y,pause:w,isPaused:u}}function qD(i,e,t){var r=Se(i),n=r.on;function o(){t.cover&&(n(i_,ge(a,!0)),n([sn,Ot,Ye],ge(s,!0)))}function s(u){e.Slides.forEach(function(l){var c=ss(l.container||l.slide,"img");c&&c.src&&a(u,c,l)})}function a(u,l,c){c.style("background",u?'center/cover no-repeat url("'+l.src+'")':"",!0),Qo(l,u?"none":"")}return{mount:o,destroy:ge(s,!1)}}var YD=10,XD=600,UD=.6,GD=1.5,$D=800;function jD(i,e,t){var r=Se(i),n=r.on,o=r.emit,s=i.state.set,a=e.Move,u=a.getPosition,l=a.getLimit,c=a.exceededLimit,d=a.translate,p=i.is(qn),f,_,h=1;function g(){n(Di,w),n([Ot,Ye],E)}function m(b,S,A,C,O){var F=u();if(w(),A&&(!p||!c())){var k=e.Layout.sliderSize(),H=hc(b)*k*Ra(Ft(b)/k)||0;b=a.toPosition(e.Controller.toDest(b%k))+H}var z=Kp(F,b,1);h=1,S=z?0:S||La(Ft(b-F)/GD,$D),_=C,f=Ba(S,v,ge(y,F,b,O),1),s(rs),o(Sc),f.start()}function v(){s(Wn),_&&_(),o(Xn)}function y(b,S,A,C){var O=u(),F=b+(S-b)*x(C),k=(F-O)*h;d(O+k),p&&!A&&c()&&(h*=UD,Ft(k)<YD&&m(l(c(!0)),XD,!1,_,!0))}function w(){f&&f.cancel()}function E(){f&&!f.isPaused()&&(w(),v())}function x(b){var S=t.easingFunc;return S?S(b):1-Math.pow(1-b,4)}return{mount:g,destroy:w,scroll:m,cancel:E}}var Bn={passive:!1,capture:!0};function KD(i,e,t){var r=Se(i),n=r.on,o=r.emit,s=r.bind,a=r.unbind,u=i.state,l=e.Move,c=e.Scroll,d=e.Controller,p=e.Elements.track,f=e.Media.reduce,_=e.Direction,h=_.resolve,g=_.orient,m=l.getPosition,v=l.exceededLimit,y,w,E,x,b,S=!1,A,C,O;function F(){s(p,lc,fc,Bn),s(p,cc,fc,Bn),s(p,v_,H,Bn),s(p,"click",R,{capture:!0}),s(p,"dragstart",Wr),n([sn,Ot],k)}function k(){var B=t.drag;bt(!B),x=B==="free"}function H(B){if(A=!1,!C){var Z=ne(B);ie(B.target)&&(Z||!B.button)&&(d.isBusy()?Wr(B,!0):(O=Z?p:window,b=u.is([Yn,rs]),E=null,s(O,lc,z,Bn),s(O,cc,P,Bn),l.cancel(),c.cancel(),N(B)))}}function z(B){if(u.is(Fa)||(u.set(Fa),o(oD)),B.cancelable)if(b){l.translate(y+fe(U(B)));var Z=G(B)>Hp,Ce=S!==(S=v());(Z||Ce)&&N(B),A=!0,o(sD),Wr(B)}else L(B)&&(b=D(B),Wr(B))}function P(B){u.is(Fa)&&(u.set(Wn),o(aD)),b&&(T(B),Wr(B)),a(O,lc,z),a(O,cc,P),b=!1}function R(B){!C&&A&&Wr(B,!0)}function N(B){E=w,w=B,y=m()}function T(B){var Z=X(B),Ce=te(Z),ze=t.rewind&&t.rewindByDrag;f(!1),x?d.scroll(Ce,0,t.snap):i.is(cs)?d.go(g(hc(Z))<0?ze?"<":"-":ze?">":"+"):i.is(qn)&&S&&ze?d.go(v(!0)?">":"<"):d.go(d.toDest(Ce),!0),f(!0)}function D(B){var Z=t.dragMinThreshold,Ce=$o(Z),ze=Ce&&Z.mouse||0,M=(Ce?Z.touch:+Z)||10;return Ft(U(B))>(ne(B)?M:ze)}function L(B){return Ft(U(B))>Ft(U(B,!0))}function X(B){if(i.is(Un)||!S){var Z=G(B);if(Z&&Z<Hp)return U(B)/Z}return 0}function te(B){return m()+hc(B)*vi(Ft(B)*(t.flickPower||600),x?1/0:e.Layout.listSize()*(t.flickMaxPages||1))}function U(B,Z){return Y(B,Z)-Y(I(B),Z)}function G(B){return dc(B)-dc(I(B))}function I(B){return w===B&&E||w}function Y(B,Z){return(ne(B)?B.changedTouches[0]:B)["page"+h(Z?"Y":"X")]}function fe(B){return B/(S&&i.is(qn)?FD:1)}function ie(B){var Z=t.noDrag;return!jo(B,"."+h_+", ."+Ya)&&(!Z||!jo(B,Z))}function ne(B){return typeof TouchEvent<"u"&&B instanceof TouchEvent}function Ke(){return b}function bt(B){C=B}return{mount:F,disable:bt,isDragging:Ke}}var ZD={Spacebar:" ",Right:Ha,Left:Va,Up:s_,Down:a_};function Mc(i){return i=mi(i)?i:i.key,ZD[i]||i}var Wp="keydown";function QD(i,e,t){var r=Se(i),n=r.on,o=r.bind,s=r.unbind,a=i.root,u=e.Direction.resolve,l,c;function d(){p(),n(Ot,f),n(Ot,p),n(Di,h)}function p(){var m=t.keyboard;m&&(l=m==="global"?window:a,o(l,Wp,g))}function f(){s(l,Wp)}function _(m){c=m}function h(){var m=c;c=!0,qp(function(){c=m})}function g(m){if(!c){var v=Mc(m);v===u(Va)?i.go("<"):v===u(Ha)&&i.go(">")}}return{mount:d,destroy:f,disable:_}}var Go=bc+"-lazy",ka=Go+"-srcset",JD="["+Go+"], ["+ka+"]";function ey(i,e,t){var r=Se(i),n=r.on,o=r.off,s=r.bind,a=r.emit,u=t.lazyLoad==="sequential",l=[us,Xn],c=[];function d(){t.lazyLoad&&(p(),n(Ye,p))}function p(){Ur(c),f(),u?m():(o(l),n(l,_),_())}function f(){e.Slides.forEach(function(v){wc(v.slide,JD).forEach(function(y){var w=ur(y,Go),E=ur(y,ka);if(w!==y.src||E!==y.srcset){var x=t.classes.spinner,b=y.parentElement,S=ss(b,"."+x)||Vn("span",x,b);c.push([y,v,S]),y.src||Qo(y,"none")}})})}function _(){c=c.filter(function(v){var y=t.perPage*((t.preloadPages||1)+1)-1;return v[1].isWithin(i.index,y)?h(v):!0}),c.length||o(l)}function h(v){var y=v[0];Er(v[1].slide,gc),s(y,"load error",ge(g,v)),re(y,"src",ur(y,Go)),re(y,"srcset",ur(y,ka)),xr(y,Go),xr(y,ka)}function g(v,y){var w=v[0],E=v[1];Yr(E.slide,gc),y.type!=="error"&&(nn(v[2]),Qo(w,""),a(i_,w,E),a(es)),u&&m()}function m(){c.length&&h(c.shift())}return{mount:d,destroy:ge(Ur,c),check:_}}function ty(i,e,t){var r=Se(i),n=r.on,o=r.emit,s=r.bind,a=e.Slides,u=e.Elements,l=e.Controller,c=l.hasFocus,d=l.getIndex,p=l.go,f=e.Direction.resolve,_=u.pagination,h=[],g,m;function v(){y(),n([Ot,Ye,Na],v);var C=t.pagination;_&&Qo(_,C?"":"none"),C&&(n([Di,Sc,Xn],A),w(),A(),o(fD,{list:g,items:h},S(i.index)))}function y(){g&&(nn(_?yi(g.children):g),Yr(g,m),Ur(h),g=null),r.destroy()}function w(){var C=i.length,O=t.classes,F=t.i18n,k=t.perPage,H=c()?l.getEnd()+1:Jo(C/k);g=_||Vn("ul",O.pagination,u.track.parentElement),Er(g,m=Xa+"--"+b()),re(g,Xr,"tablist"),re(g,jt,F.select),re(g,Tc,b()===Wa?"vertical":"");for(var z=0;z<H;z++){var P=Vn("li",null,g),R=Vn("button",{class:O.page,type:"button"},P),N=a.getIn(z).map(function(D){return D.slide.id}),T=!c()&&k>1?F.pageX:F.slideX;s(R,"click",ge(E,z)),t.paginationKeyboard&&s(R,"keydown",ge(x,z)),re(P,Xr,"presentation"),re(R,Xr,"tab"),re(R,ls,N.join(" ")),re(R,jt,pc(T,z+1)),re(R,Hn,-1),h.push({li:P,button:R,page:z})}}function E(C){p(">"+C,!0)}function x(C,O){var F=h.length,k=Mc(O),H=b(),z=-1;k===f(Ha,!1,H)?z=++C%F:k===f(Va,!1,H)?z=(--C+F)%F:k==="Home"?z=0:k==="End"&&(z=F-1);var P=h[z];P&&(Gp(P.button),p(">"+z),Wr(O,!0))}function b(){return t.paginationDirection||t.direction}function S(C){return h[l.toPage(C)]}function A(){var C=S(d(!0)),O=S(d());if(C){var F=C.button;Yr(F,on),xr(F,Np),re(F,Hn,-1)}if(O){var k=O.button;Er(k,on),re(k,Np,!0),re(k,Hn,"")}o(dD,{list:g,items:h},C,O)}return{items:h,mount:v,destroy:y,getAt:S,update:A}}var ry=[" ","Enter"];function iy(i,e,t){var r=t.isNavigation,n=t.slideFocus,o=[];function s(){i.splides.forEach(function(_){_.isParent||(l(i,_.splide),l(_.splide,i))}),r&&c()}function a(){o.forEach(function(_){_.destroy()}),Ur(o)}function u(){a(),s()}function l(_,h){var g=Se(_);g.on(Di,function(m,v,y){h.go(h.is(Un)?y:m)}),o.push(g)}function c(){var _=Se(i),h=_.on;h(Qp,p),h(n_,f),h([sn,Ot],d),o.push(_),_.emit(e_,i.splides)}function d(){re(e.Elements.list,Tc,t.direction===Wa?"vertical":"")}function p(_){i.go(_.index)}function f(_,h){Dc(ry,Mc(h))&&(p(_),Wr(h))}return{setup:ge(e.Media.set,{slideFocus:is(n)?r:n},!0),mount:s,destroy:a,remount:u}}function ny(i,e,t){var r=Se(i),n=r.bind,o=0;function s(){t.wheel&&n(e.Elements.track,"wheel",a,Bn)}function a(l){if(l.cancelable){var c=l.deltaY,d=c<0,p=dc(l),f=t.wheelMinThreshold||0,_=t.wheelSleep||0;Ft(c)>f&&p-o>_&&(i.go(d?"<":">"),o=p),u(d)&&Wr(l)}}function u(l){return!t.releaseWheel||i.state.is(Yn)||e.Controller.getAdjacent(l)!==-1}return{mount:s}}var oy=90;function sy(i,e,t){var r=Se(i),n=r.on,o=e.Elements.track,s=t.live&&!t.isNavigation,a=Vn("span",xD),u=Ba(oy,ge(c,!1));function l(){s&&(p(!e.Autoplay.isPaused()),re(o,zp,!0),a.textContent="\u2026",n(t_,ge(p,!0)),n(r_,ge(p,!1)),n([us,Xn],ge(c,!0)))}function c(f){re(o,Bp,f),f?(os(o,a),u.start()):(nn(a),u.cancel())}function d(){xr(o,[Ip,zp,Bp]),nn(a)}function p(f){s&&re(o,Ip,f?"off":"polite")}return{mount:l,disable:p,destroy:d}}var ay=Object.freeze({__proto__:null,Media:gD,Direction:mD,Elements:OD,Slides:kD,Layout:PD,Clones:RD,Move:ND,Controller:ID,Arrows:VD,Autoplay:WD,Cover:qD,Scroll:jD,Drag:KD,Keyboard:QD,LazyLoad:ey,Pagination:ty,Sync:iy,Wheel:ny,Live:sy}),uy={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"},ly={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:TD,i18n:uy,reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function cy(i,e,t){var r=e.Slides;function n(){Se(i).on([sn,Ye],o)}function o(){r.forEach(function(a){a.style("transform","translateX(-"+100*a.index+"%)")})}function s(a,u){r.style("transition","opacity "+t.speed+"ms "+t.easing),qp(u)}return{mount:n,start:s,cancel:fc}}function fy(i,e,t){var r=e.Move,n=e.Controller,o=e.Scroll,s=e.Elements.list,a=ge(ar,s,"transition"),u;function l(){Se(i).bind(s,"transitionend",function(f){f.target===s&&u&&(d(),u())})}function c(f,_){var h=r.toPosition(f,!0),g=r.getPosition(),m=p(f);Ft(h-g)>=1&&m>=1?t.useScroll?o.scroll(h,m,!1,_):(a("transform "+m+"ms "+t.easing),r.translate(h,!0),u=_):(r.jump(f),_())}function d(){a(""),o.cancel()}function p(f){var _=t.rewindSpeed;if(i.is(qn)&&_){var h=n.getIndex(!0),g=n.getEnd();if(h===0&&f>=g||h>=g&&f===0)return _}return t.speed}return{mount:l,start:c,cancel:d}}var dy=function(){function i(t,r){this.event=Se(),this.Components={},this.state=pD(zn),this.splides=[],this._o={},this._E={};var n=mi(t)?jp(document,t):t;Uo(n,n+" is invalid."),this.root=n,r=gi({label:ur(n,jt)||"",labelledby:ur(n,Cc)||""},ly,i.defaults,r||{});try{gi(r,JSON.parse(ur(n,bc)))}catch{Uo(!1,"Invalid JSON")}this._o=Object.create(gi({},r))}var e=i.prototype;return e.mount=function(r,n){var o=this,s=this.state,a=this.Components;Uo(s.is([zn,Pa]),"Already mounted!"),s.set(zn),this._C=a,this._T=n||this._T||(this.is(cs)?cy:fy),this._E=r||this._E;var u=Zo({},ay,this._E,{Transition:this._T});return rn(u,function(l,c){var d=l(o,a,o._o);a[c]=d,d.setup&&d.setup()}),rn(a,function(l){l.mount&&l.mount()}),this.emit(sn),Er(this.root,SD),s.set(Wn),this.emit(Lp),this},e.sync=function(r){return this.splides.push({splide:r}),r.splides.push({splide:this,isParent:!0}),this.state.is(Wn)&&(this._C.Sync.remount(),r.Components.Sync.remount()),this},e.go=function(r){return this._C.Controller.go(r),this},e.on=function(r,n){return this.event.on(r,n),this},e.off=function(r){return this.event.off(r),this},e.emit=function(r){var n;return(n=this.event).emit.apply(n,[r].concat(yi(arguments,1))),this},e.add=function(r,n){return this._C.Slides.add(r,n),this},e.remove=function(r){return this._C.Slides.remove(r),this},e.is=function(r){return this._o.type===r},e.refresh=function(){return this.emit(Ye),this},e.destroy=function(r){r===void 0&&(r=!0);var n=this.event,o=this.state;return o.is(zn)?Se(this).on(Lp,this.destroy.bind(this,r)):(rn(this._C,function(s){s.destroy&&s.destroy(r)},!0),n.emit(Jp),n.destroy(),r&&Ur(this.splides),o.set(Pa)),this},Zv(i,[{key:"options",get:function(){return this._o},set:function(r){this._C.Media.set(r,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}]),i}(),Gr=dy;Gr.defaults={};Gr.STATES=Jv;V.registerPlugin(j,Rn,en,Gt);function hy(){en.create("loader","0.83, 0, 0.17, 1"),en.create("loader2","0.77, 0, 0.175, 1")}var fs;function py(){let i=document.querySelector(".contact-modal_main-wrapper"),e=document.querySelector(".contact-modal_content-wrapper");fs=V.timeline({paused:!0}),fs.to(i,{autoAlpha:1,duration:.3,ease:"loader2"}),fs.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()}var Mt=new Ls({duration:1.2,easing:i=>Math.min(1,1.001-Math.pow(2,-10*i))});function _y(){Mt.on("scroll",j.update),V.ticker.add(e=>{Mt.raf(e*1e3)}),V.ticker.lagSmoothing(0);function i(e){Mt.raf(e),requestAnimationFrame(i)}requestAnimationFrame(i)}function gy(){let i=[].slice.call(document.querySelectorAll("video.lazyload"));if("IntersectionObserver"in window){let e=new IntersectionObserver(function(t,r){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)}})});i.forEach(function(t){e.observe(t)})}}function my(){window.addEventListener("pageshow",function(i){i.persisted&&window.location.reload()})}function vy(){function i(){let e=document.querySelector(".w-nav-overlay"),t={attributes:!0,attributeFilter:["style"]},r=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"),Mt.start()):(document.body.classList.add("is-scroll-off"),Mt.stop()))};new MutationObserver(r).observe(e,t)}i()}function Dy(){document.querySelector(".is-footer")&&V.to("#heroSection",{scrollTrigger:{trigger:"#bottomWrapper",start:"top bottom",toggleActions:"restart none none reverse"},autoAlpha:0})}function yy(){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 r=V.timeline({onComplete:()=>{window.location.href=e.href}});r.to(".unloader_wrapper",{display:"flex",duration:.05}),r.from(".unloader_ract",{duration:.4,width:"0%",ease:"loader2"}),r.play()})})}var wy=document.querySelector(".info-bar"),D_=V.timeline({paused:!0});D_.to(".navbar",{y:"-100%",duration:.2,ease:"loader2"});wy&&D_.to(".button_small.is-navbar",{top:"1.75rem",duration:.2,ease:"loader2"},"<");function by(){let i=document.querySelectorAll('[wide="customCursor"]'),e=document.querySelector(".custom_cursor");i.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(i){V.matchMedia().add("(min-width: 992px)",()=>{document.querySelectorAll(".herofixedsection").forEach((r,n)=>{j.create({trigger:r,start:()=>r.offsetHeight<window.innerHeight?"top top":"bottom bottom",pin:!0,markers:!1,pinSpacing:!1,scrub:3})});let t=document.querySelector(".cover-bg");t&&j.create({trigger:".cover-bg",start:"bottom center+=300",end:"bottom top+=400",scrub:!0,onUpdate:r=>{V.to(t,{opacity:r.progress,overwrite:!0})}})})};window.servicesSliders=function(i){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 Gr(i,e).mount();window.innerWidth>992&&t.on("click",function(){t.go("+1")}),V.from(i,{scrollTrigger:{trigger:i,start:"top bottom",end:"bottom bottom+=15%",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.standardHeaderScrollAnimation=function(){let i=V.timeline({paused:!0}),e=V.timeline({paused:!0});i.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),j.create({start:"top+=100 top",onEnter:()=>{e.pause(0),i.restart()},onLeaveBack:()=>{i.pause(0),e.restart()}})};window.videoInsideText=function(i){let e=i.querySelector('[class*="copy-this"]');i.querySelector('[class*="headline-span"]').appendChild(e)};window.spanVideoMaskAnimation=function(i){V.to(i,{scrollTrigger:{trigger:i,start:"bottom bottom-=5%"},width:0,ease:"loader2",duration:.6})};window.customCursorText=function(i){i.addEventListener("mouseenter",()=>{let e=i.getAttribute("wideCursorText"),t=document.querySelector(".custom_cursor_text");t.innerHTML=e})};window.heroAnimationOnLoad=function(i){console.log("heroAnimationOnLoad function started"),V.set(".wideletter",{y:"-150%",scale:1}),typeof Mt<"u"?(console.log("Lenis instance found, attempting to scroll to top"),setTimeout(()=>{Mt.scrollTo(0,{duration:0,easing:a=>a}),console.log("Lenis scrollTo action called after delay")},100)):console.log("Lenis instance not found");let e=i.querySelector(".hero_headline_ract-mask"),t=i.querySelector("video"),r=V.timeline({}),n=new Gt("#heroHeading",{type:"lines",linesClass:"hero-line"}),o=new Gt("#heroHeading",{type:"lines",linesClass:"hero-line-mask"});if(document.querySelectorAll(".hero-line").length===0){console.error("GSAP target .hero-line not found.");return}console.log("Initial settings applied to hero lines"),V.set("#heroHeading",{opacity:0}),V.set(".hero-line",{y:"100%"}),r.to(".navbar_brand_lottie",{duration:1.5,progress:1,onComplete:function(){console.log("Lottie animation completed"),V.to(".navbar_brand_lottie",{opacity:0,duration:.25})}}),r.to("#heroHeading",{opacity:1,duration:.1,ease:"none"},"+=0.1"),r.fromTo(".hero-line",{y:"100%"},{duration:.75,y:"0%",stagger:.2,ease:"loader2"},"<"),r.to("#heroHeading",{opacity:0,duration:.3,ease:"loader2"},"+=1"),r.to(".preloader",{scaleY:0,display:"none",duration:1,ease:"loader"}),r.fromTo(".wideletter",{y:"-150%",scale:1},{y:"0%",duration:1,ease:"loader2",stagger:.1},"-=0.5"),r.call(()=>{t&&(console.log("Playing video"),t.play())},null,">"),r.from("#heroBottomWrapper",{opacity:0,duration:1,ease:"loader2"},">-0.4"),console.log("Animation timeline setup completed")};window.briefContact=function(i){let e=document.querySelector(".brief-button"),t=document.querySelector("#bottomWrapperOverlay");function r(){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",r),r(),V.utils.toArray("section").forEach((n,o)=>{j.create({trigger:n,start:"top top",end:"bottom top",toggleClass:{targets:e,className:"scrolled-over",addTriggerCondition:s=>s.direction===-1}})})};window.contactUsHide=function(i){V.to(i,{autoAlpha:0,duration:.15,ease:"loader2",scrollTrigger:{trigger:".contactushide",start:"top center",toggleActions:"play none none reverse"}})};window.caseCategories=function(i){let e=document.querySelectorAll(".summary-title");function t(){e.forEach(r=>{r.style.color=""})}e.forEach(r=>{r.addEventListener("mouseenter",()=>{e.forEach(n=>{V.to(n,{duration:0,color:"var(--wide-gray-400)"})}),V.to(r,{duration:0,color:"var(--wide-black)"})}),r.addEventListener("mouseleave",()=>{setTimeout(()=>{Array.from(e).some(o=>o.matches(":hover"))||t()},0)})})};window.textScroll=function(i){let e=V.timeline({scrollTrigger:{trigger:".stats-content_wrapper",start:"top center+=200"}}),t=new Gt("#heroHeading",{type:"lines",linesClass:"hero-line"}),r=new Gt("#heroHeading",{type:"lines",linesClass:"hero-line-mask"});if(document.querySelectorAll(".hero-line").length===0){console.error("GSAP target .hero-line not found.");return}V.set(".hero-line",{y:"100%"}),V.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(i){let e=i.querySelectorAll(".hover-title"),t=i.querySelectorAll(".hover-mask"),r=i.querySelectorAll(".hover-trigger");function n(){e.forEach(s=>{s.style.opacity=""})}function o(s){s.querySelectorAll(".bg-video").forEach(u=>{u.style.display=""})}r.forEach((s,a)=>{let u=!1,l=V.fromTo(t[a],{height:"0rem"},{height:"29.6rem",ease:"loader",duration:.5,paused:!0}),c=Array.from(t[a].querySelectorAll(".bg-video")).reverse(),d=V.timeline({paused:!0,repeat:-1});c.forEach((p,f)=>{d.to(p,{display:"none",duration:0,delay:1},f*1)}),s.addEventListener("mouseenter",()=>{u=!0,e[a].style.zIndex=21,l.restart().play(),e.forEach((p,f)=>{f!==a&&V.to(p,{duration:0,opacity:.2})}),V.to(e[a],{duration:0,opacity:1}),l.eventCallback("onComplete",()=>{d.restart().play()})}),s.addEventListener("mouseleave",()=>{u=!1,e[a].style.zIndex="",l.reverse(),d.pause().seek(0),o(t[a]),setTimeout(()=>{Array.from(r).some(f=>f.matches(":hover"))||n()},0)})})};window.animationTest=function(i){V.matchMedia().add("(min-width: 992px)",()=>{let e=i.querySelectorAll(".hover-title"),t=i.querySelectorAll(".hover-mask"),r=i.querySelectorAll(".hover-wrapper");function n(){e.forEach(a=>{a.style.opacity=""})}function o(a){a.querySelectorAll(".bg-video").forEach(l=>{l.style.display=""})}function s(a,u){let l=window.innerWidth,c=window.innerHeight,d=23.75*16,p=17.5*16,_=u.querySelector(".hover-title").getBoundingClientRect(),h,g;do h=Math.max(0,Math.random()*(l-d)),g=Math.max(0,Math.random()*(c-p));while(h<_.right&&h+d>_.left&&g<_.bottom&&g+p>_.top);a.style.left=`${h}px`,a.style.top=`${g}px`}r.forEach((a,u)=>{let l=!1,c=V.fromTo(t[u],{height:"0rem"},{height:"17.5rem",ease:"loader",duration:.4,paused:!0}),d=Array.from(t[u].querySelectorAll(".bg-video")).reverse(),p=V.timeline({paused:!0,repeat:-1});d.forEach((f,_)=>{p.to(f,{display:"block",duration:0},_*.55).to(f,{display:"none",duration:0,delay:.55},_*.55)}),p.to(d,{display:"block",duration:0}),c.eventCallback("onComplete",()=>{l&&p.restart().play()}),a.addEventListener("mouseenter",()=>{l=!0,s(t[u],a),c.restart().play(),e.forEach((f,_)=>{_!==u&&V.to(f,{duration:0,opacity:.2})}),V.to(e[u],{duration:0,opacity:1})}),a.addEventListener("mouseleave",()=>{l=!1,c.reverse(),p.pause().seek(0),o(t[u]),setTimeout(()=>{Array.from(r).some(_=>_.matches(":hover"))||n()},0)})})})};window.animationTest1=function(i){let e=i.querySelectorAll(".hover-title"),t=i.querySelectorAll(".hover-mask"),r=i.querySelectorAll(".hover-wrapper");function n(){e.forEach(a=>{a.style.opacity=""})}function o(a){if(!a)return;a.querySelectorAll(".bg-video").forEach(l=>{V.set(l,{display:"none",x:0,y:0})})}function s(a){if(!a)return;let u=window.innerWidth,l=window.innerHeight,c=23.75*16,d=17.5*16,p=u-c,f=l-d,_=Math.max(0,Math.random()*p),h=Math.max(0,Math.random()*f);a.style.left=`${_}px`,a.style.top=`${h}px`}t.forEach(a=>{a.querySelectorAll(".bg-video").forEach(l=>{V.set(l,{display:"none"})})}),r.forEach((a,u)=>{if(!t[u])return;let l=!1,c=null,d=V.timeline({paused:!0}),p=Array.from(t[u].querySelectorAll(".bg-video"));function f(){p.forEach(_=>s(_))}a.addEventListener("mouseenter",()=>{l=!0,f(),t[u].style.display="flex",e.forEach((g,m)=>{m!==u&&V.to(g,{duration:0,opacity:.2})}),V.to(e[u],{duration:0,opacity:1}),c=V.timeline(),p.forEach((g,m)=>{c.to(g,{display:"inline-block",duration:0,onStart:()=>s(g)},m)}),c.play();let _=p.map(g=>V.quickSetter(g,"x","px")),h=p.map(g=>V.quickSetter(g,"y","px"));a.addEventListener("mousemove",g=>{let{clientX:m,clientY:v}=g,y=window.innerWidth/2,w=window.innerHeight/2,E=(m-y)*.35,x=(v-w)*.35;p.forEach((b,S)=>{V.to(b,{x:E,y:x,delay:S*.1,duration:1,ease:"power2.out",overwrite:"auto"})})})}),a.addEventListener("mouseleave",()=>{l=!1,t[u].style.display="none",o(t[u]),c&&(c.kill(),c=null),d&&(d.kill(),d=V.timeline({paused:!0})),setTimeout(()=>{Array.from(r).some(h=>h.matches(":hover"))||n()},0)})})};window.animationTest2=function(i){let e=i.querySelectorAll(".hover-title"),t=i.querySelectorAll(".hover-mask"),r=i.querySelectorAll(".hover-wrapper");function n(){e.forEach(a=>{a.style.opacity=""})}function o(a){a.querySelectorAll(".bg-video").forEach(l=>{l.style.display=""})}function s(a){let u=window.innerWidth,l=window.innerHeight,c=23.75*16,d=17.5*16,p=u-c,f=l-d,_=Math.max(0,Math.random()*p),h=Math.max(0,Math.random()*f);a.style.left=`${_}px`,a.style.top=`${h}px`}r.forEach((a,u)=>{let l=!1,c=V.fromTo(t[u],{height:"0rem"},{height:"17.5rem",ease:"loader",duration:.5,paused:!0}),d=Array.from(t[u].querySelectorAll(".bg-video")).reverse();function p(){d.forEach(f=>s(f))}a.addEventListener("mouseenter",()=>{l=!0,p(),s(t[u]),c.restart().play(),e.forEach((f,_)=>{_!==u&&V.to(f,{duration:0,opacity:.2})}),V.to(e[u],{duration:0,opacity:1}),c.eventCallback("onComplete",()=>{d.forEach(f=>{V.set(f,{display:"inline-block"})})})}),a.addEventListener("mousemove",f=>{if(!l)return;let{clientX:_,clientY:h}=f,g=window.innerWidth/2,m=window.innerHeight/2,v=(_-g)*1,y=(h-m)*1;d.forEach((w,E)=>{V.to(w,{x:v,y,delay:E*.05,duration:.5,ease:"power2.out",overwrite:"auto"})})}),a.addEventListener("mouseleave",()=>{l=!1,c.reverse(),o(t[u]),setTimeout(()=>{Array.from(r).some(_=>_.matches(":hover"))||n()},0)})})};window.animationTest3=function(i){let e=i.querySelectorAll(".hover-title"),t=i.querySelectorAll(".hover-mask"),r=i.querySelectorAll(".hover-wrapper");function n(){e.forEach(a=>{a.style.opacity=""})}function o(a){a.querySelectorAll(".bg-video").forEach(l=>{l.style.display=""})}function s(a,u,l){let p=u-190,f=l-280/2;a.style.left=`${p}px`,a.style.top=`${f}px`}r.forEach((a,u)=>{let l=!1,c=V.fromTo(t[u],{height:"0rem"},{height:"17.5rem",ease:"loader",duration:.5,paused:!0}),d=Array.from(t[u].querySelectorAll(".bg-video")).reverse(),p=V.timeline({paused:!0,repeat:-1});d.forEach((f,_)=>{p.to(f,{display:"none",duration:0,delay:1},_*1)}),a.addEventListener("mouseenter",f=>{l=!0,s(t[u],f.clientX,f.clientY),c.restart().play(),e.forEach((_,h)=>{h!==u&&V.to(_,{duration:0,opacity:.2})}),V.to(e[u],{duration:0,opacity:1}),c.eventCallback("onComplete",()=>{p.restart().play()})}),a.addEventListener("mousemove",f=>{l&&s(t[u],f.clientX,f.clientY)}),a.addEventListener("mouseleave",()=>{l=!1,c.reverse(),p.pause().seek(0),o(t[u]),setTimeout(()=>{Array.from(r).some(_=>_.matches(":hover"))||n()},0)})})};window.caseStudyInteraction=function(i){let e=i.querySelector(".portfolio_item_image-mask");if(!e){console.error("Mask element not found in:",i);return}let t=V.from(e,{width:"100%",duration:.35,ease:"loader2",paused:!0});j.create({animation:t,trigger:e,start:"top 80%",onEnter:()=>t.play()});let r=i.querySelectorAll(".hovervideo");window.innerWidth>992?r.forEach(n=>{if(!n){console.error("No video element found in:",i);return}n.addEventListener("loadeddata",()=>{n.pause()}),i.addEventListener("mouseenter",o,!1),i.addEventListener("mouseleave",s,!1);function o(){n.play()}function s(){n.pause()}}):r.forEach(n=>{let o=n.getAttribute("poster");n.innerHTML="",n.setAttribute("poster",o),n.load(),n.pause()})};var y_=V.utils.toArray(".panel"),Ey=y_.map(i=>j.create({trigger:i,start:"top top"}));y_.forEach((i,e)=>{j.create({trigger:i,start:()=>i.offsetHeight<window.innerHeight?"top top":"bottom bottom",pin:!0,pinSpacing:!1})});j.create({snap:{snapTo:(i,e)=>{let t=Ey.map(n=>n.start),r=V.utils.snap(t,e.scroll());return V.utils.normalize(0,j.maxScroll(window),r)},duration:.5}});window.reviewsSlider=function(i){let e=i.querySelector(".splide__slide.reviews_collection_item.is-static").innerHTML,t=i.querySelector(".reviews_collection_item");t.innerHTML=e,t.classList.add("is-static");let r=new Gr(i,{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&&r.on("click",function(){r.go("+1")}),V.from(i,{scrollTrigger:{trigger:i,start:"top bottom",end:"bottom bottom-=15%",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.reviewsSlider=function(i){let e=i.querySelector(".splide__slide.reviews_collection_item.is-static").innerHTML,t=i.querySelector(".reviews_collection_item");t.innerHTML=e,t.classList.add("is-static");let r=new Gr(i,{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&&r.on("click",function(){r.go("+1")}),V.from(i,{scrollTrigger:{trigger:i,start:"top bottom",end:"bottom bottom-=15%",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.factsSlider=function(i){let e=new Gr(i,{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")}),i.querySelectorAll(".external_link.is-cursor").forEach(a=>{a.addEventListener("click",()=>{event.stopPropagation()})});function r(a){var u=e.Components.Elements.slides[a],l=u.querySelector("video");l&&l.play()}function n(a){var u=e.Components.Elements.slides;u.forEach(function(l,c){var d=l.querySelector("video");d&&c!==a&&(d.pause(),d.currentTime=0)})}function o(a){V.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){V.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){r(a);var u=e.Components.Elements.slides[a];o(u)}),e.on("moved",function(a){n(a);var u=e.Components.Elements.slides[a];s(u)})};window.teamSlider=function(i){let e=i.querySelector(".team_collection_list"),t=Array.from(e.children);t.sort(function(){return .5-Math.random()}),t.forEach(function(r){e.appendChild(r)}),new Gr(i,{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(),V.from(i,{scrollTrigger:{trigger:i,start:"top bottom",end:"bottom bottom",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.elementPaddingChange=function(i){V.to(i,{scrollTrigger:{trigger:i,start:"top bottom",end:"top top",toggleActions:"restart none none reverse",scrub:1},paddingLeft:"0rem",paddingRight:"0rem",ease:"linear"})};window.sectionBgChange=function(i){V.set(i,{backgroundColor:"#fff"}),V.set("#heroNavbarLottie path",{fill:"rgb(21, 21, 21)"});let e=V.timeline({duration:.15,ease:"loader2",scrollTrigger:{trigger:i,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(i){let e=V.timeline({duration:.15,ease:"loader2",scrollTrigger:{trigger:i,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(i){let t=i.querySelectorAll('[class*="item_mask"]'),r=i.querySelectorAll('[class*="image"]');V.from(t,{scrollTrigger:{trigger:t,start:"top bottom-=25%"},width:"0%",duration:.7,ease:"loader2",stagger:.15}),V.from(r,{scrollTrigger:{trigger:t,start:"top bottom-=25%"},opacity:0,delay:.4,duration:.45,ease:"loader2",stagger:.15})};window.heroSpanVideoOnHover=function(i){window.customCursorText(i);let e=V.timeline({paused:!0,ease:"loader2"});e.to(".hero-line-mask",{clipPath:"none",duration:.05},">"),e.to(i,{scale:2,duration:.35},">"),window.innerWidth>992&&(i.addEventListener("mouseenter",()=>{e.timeScale(1).play()}),i.addEventListener("mouseleave",()=>{e.timeScale(2).reverse()}))};window.reelModal=function(){let i=document.querySelectorAll('[wideClick="playReel"]'),e=document.querySelector(".reel-modal"),t=document.getElementById("fullReel"),r=0,n=V.timeline({ease:"loader2",paused:!0});n.to(e,{display:"flex",opacity:0,duration:0}),n.to(e,{opacity:1,duration:.6},">"),window.innerWidth>992?(i.forEach(o=>{o.addEventListener("click",()=>{if(Mt.stop(),n.timeScale(1).play(),r===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(),Mt.start()}),window.addEventListener("keydown",function(o){o.keyCode===27&&(n.timeScale(4).reverse(),t.pause(),Mt.start())})):(i.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(i){let e=i.querySelector(".line"),t=i.querySelector(".arrow"),r=V.timeline({paused:!0,ease:"loader2"});r.from(i,{x:"5%",opacity:0,duration:.4}),r.from(e,{drawSVG:"0% 0%",duration:.2},">-0.2"),r.from(t,{drawSVG:"0% 0%",duration:.15}),window.innerWidth>992&&(i.addEventListener("mouseenter",()=>{r.timeScale(1).play()}),i.addEventListener("mouseleave",()=>{r.timeScale(3).reverse()}))};window.clientsMapActions=function(i){let e=V.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+"']"),u=V.timeline({});u.to(s,{opacity:0,ease:"loader2",duration:.1}),u.to(s,{display:"none",duration:.01}),u.to(a,{display:"block",duration:.01}),u.to(a,{opacity:1,ease:"loader2",duration:.2})})});let r=document.querySelectorAll(".map_info-wrapper");for(let n=0;n<r.length;n++){let o=r[n].getAttribute("href");o&&o.length>3&&(r[n].style.cursor="pointer")}};window.statsHeadlineAnimation=function(){let i=V.timeline({scrollTrigger:{trigger:"#statsKnow",start:"center center",toggleActions:"restart none none reverse",end:"+=500"},pause:"paused",ease:"defaultEase"}),e=new Gt("#statsDone",{type:"lines",linesClass:"stats-line"}),t=new Gt("#statsDone",{type:"lines",linesClass:"stats-line-mask"});i.to("#statsKnow",{duration:.5,opacity:0,display:"none"},">"),i.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,""));V.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(i){console.log("Initializing Splide on element:",i);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 Gr(i,e).mount();console.log("Splide instance:",t),window.innerWidth>992&&t.on("click",function(){t.go("+1")}),V.from(i,{scrollTrigger:{trigger:i,start:"top bottom",end:"bottom bottom+=15%",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"})};window.whatsNext=function(){let i=document.querySelectorAll(".whats-next_links_item.is-case"),e=document.querySelector(".whats-next_links_item.is-all");i.forEach(r=>{let n=r.querySelector(".whats-next_links_item_image_mask"),o=r.querySelector(".whats-next_links_item_image-wrapper"),s=V.timeline({paused:!0,ease:"loader2"});s.to(o,{opacity:.8,duration:.15}),s.to(n,{width:"0%",duration:.3},">-0."),r.addEventListener("mouseenter",()=>{s.timeScale(1).play(),i.forEach(a=>{a!==event.target&&V.to(a,{color:"#7A7A7A",duration:.2,ease:"loader2"})})}),r.addEventListener("mouseleave",()=>{s.timeScale(3).reverse(),i.forEach(a=>{a!==event.target&&V.to(a,{color:"#fff",duration:.1,ease:"loader2"})})})}),e.addEventListener("mouseenter",()=>{V.to(e,{color:"#fff",duration:.2,ease:"loader2"}),i.forEach(r=>{V.to(r,{color:"#7A7A7A",duration:.2,ease:"loader2"})})}),e.addEventListener("mouseleave",()=>{V.to(e,{color:"#7A7A7A",duration:.2,ease:"loader2"}),i.forEach(r=>{V.to(r,{color:"#fff",duration:.2,ease:"loader2"})})});for(var t=0;t<document.getElementsByTagName("img").length;t++)document.getElementsByTagName("img")[t].srcset="";for(var t=0;t<document.getElementsByTagName("img").length;t++)document.getElementsByTagName("img")[t].sizes=""};window.csMaskAnimation=function(){document.querySelectorAll(".portfolio_item_image-mask").forEach((e,t)=>{if(t===0)return;let r=V.from(e,{width:"100%",duration:.7,ease:"loader2",paused:!0});j.create({animation:r,trigger:e,start:"top 80%",onEnter:()=>r.play()})})};window.updateScrollTrigger=function(){window.onload=function(){j.update()}};window.blogPostMaskAnimation=function(i){let e=document.querySelector("#heroSection"),t=V.from(".post_main-mask-ract",{left:"0%",ease:"loader2"});j.create({animation:t,trigger:e,start:"top -5%",end:"bottom 50%",scrub:.5})};window.changeCheckboxLabelColor=function(){let i=document.querySelectorAll(".w-checkbox-input"),e=function(t,r){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")}};i.forEach(function(t){let r={attributes:!0,attributeFilter:["class"]};new MutationObserver(e).observe(t,r)})};window.openContactModal=function(){fs.play(),document.body.classList.add("is-scroll-off"),Mt.stop()};window.closeContactModal=function(){fs.timeScale(1).reverse(),document.body.classList.remove("is-scroll-off"),Mt.start()};window.closeContactModalOnEsc=function(i){document.addEventListener("keydown",function(e){e.key==="Escape"&&window.closeContactModal()})};window.successMsgAnimation=function(i){let e=V.timeline({}),t=new Gt("#successHoooray, #successHeadiline",{type:"lines",linesClass:"hero-line"}),r=new Gt("#successHoooray, #successHeadiline",{type:"lines",linesClass:"hero-line-mask"});e.from(".hero-line",{duration:1.2,y:"100%",stagger:.2,ease:"loader2"}),e.to(i,{width:"0%",duration:.6,ease:"loader2"},">-0.5"),e.from("#successParagraph",{opacity:0,duration:.3,ease:"loader2"},">-0.4")};window.formSubmitAnimation=function(i){function e(){let t=document.querySelector(".contact-modal_form-success"),r={attributes:!0,attributeFilter:["style"]};new MutationObserver(function(o,s){o.forEach(function(a){a.target.style.display==="block"&&successMsgAnimation(i)})}).observe(t,r)}e()};window.scrollTriggerRefresh=function(){function i(){j.refresh()}let e=new MutationObserver(i),t=document.querySelector(".section.is-post-body"),r={attributes:!0,childList:!0,subtree:!0};e.observe(t,r)};window.closeInfoBar=function(){let i=V.timeline({});i.to(".info-bar",{height:0,autoAlpha:0,duration:.3,ease:"loader2"}),i.to(".button_small.is-navbar",{top:"1.75rem",duration:.3,ease:"loader2"},"<"),i.to("#heroSection",{paddingTop:"6.5rem",duration:.3,ease:"loader2"},"<")};window.Webflow||=[];window.Webflow.push(()=>{console.log("The new code source is loaded!"),nd(),gy(),Webflow.env("editor")===void 0?(_y(),Mt.start()):(console.log("Editor mode ON"),Mt.destroy()),hy(),my(),Dy(),yy(),by(),py(),vy()});})();
|
|
6
6
|
/*! Bundled license information:
|
|
7
7
|
|
|
8
8
|
gsap/gsap-core.js:
|