@widelab-nc/widelab 1.0.13 → 1.0.14
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 +10 -2
- package/dist/index.js.map +4 -4
- package/dist/style.css +1 -1
- package/dist/style.css.map +2 -2
- package/package.json +2 -1
- package/src/index.js +129 -0
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
(()=>{var
|
|
1
|
+
(()=>{var ja=!1,$a=!1,Fi=[],Ka=-1;function g_(i){D_(i)}function D_(i){Fi.includes(i)||Fi.push(i),v_()}function Xc(i){let e=Fi.indexOf(i);e!==-1&&e>Ka&&Fi.splice(e,1)}function v_(){!$a&&!ja&&(ja=!0,queueMicrotask(m_))}function m_(){ja=!1,$a=!0;for(let i=0;i<Fi.length;i++)Fi[i](),Ka=i;Fi.length=0,Ka=-1,$a=!1}var hn,dn,os,Gc,Za=!0;function y_(i){Za=!1,i(),Za=!0}function x_(i){hn=i.reactive,os=i.release,dn=e=>i.effect(e,{scheduler:t=>{Za?g_(t):t()}}),Gc=i.raw}function Pc(i){dn=i}function E_(i){let e=()=>{};return[r=>{let n=dn(r);return i._x_effects||(i._x_effects=new Set,i._x_runEffects=()=>{i._x_effects.forEach(s=>s())}),i._x_effects.add(n),e=()=>{n!==void 0&&(i._x_effects.delete(n),os(n))},n},()=>{e()}]}function rs(i,e,t={}){i.dispatchEvent(new CustomEvent(e,{detail:t,bubbles:!0,composed:!0,cancelable:!0}))}function Kr(i,e){if(typeof ShadowRoot=="function"&&i instanceof ShadowRoot){Array.from(i.children).forEach(n=>Kr(n,e));return}let t=!1;if(e(i,()=>t=!0),t)return;let r=i.firstElementChild;for(;r;)Kr(r,e,!1),r=r.nextElementSibling}function Ar(i,...e){console.warn(`Alpine Warning: ${i}`,...e)}var Mc=!1;function b_(){Mc&&Ar("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),Mc=!0,document.body||Ar("Unable to initialize. Trying to load Alpine before `<body>` is available. Did you forget to add `defer` in Alpine's `<script>` tag?"),rs(document,"alpine:init"),rs(document,"alpine:initializing"),Du(),S_(e=>Fr(e,Kr)),pu(e=>du(e)),rf((e,t)=>{xu(e,t).forEach(r=>r())});let i=e=>!mo(e.parentElement,!0);Array.from(document.querySelectorAll($c())).filter(i).forEach(e=>{Fr(e)}),rs(document,"alpine:initialized")}var hu=[],qc=[];function jc(){return hu.map(i=>i())}function $c(){return hu.concat(qc).map(i=>i())}function Kc(i){hu.push(i)}function Zc(i){qc.push(i)}function mo(i,e=!1){return yo(i,t=>{if((e?$c():jc()).some(n=>t.matches(n)))return!0})}function yo(i,e){if(i){if(e(i))return i;if(i._x_teleportBack&&(i=i._x_teleportBack),!!i.parentElement)return yo(i.parentElement,e)}}function C_(i){return jc().some(e=>i.matches(e))}var Qc=[];function w_(i){Qc.push(i)}function Fr(i,e=Kr,t=()=>{}){W_(()=>{e(i,(r,n)=>{t(r,n),Qc.forEach(s=>s(r,n)),xu(r,r.attributes).forEach(s=>s()),r._x_ignore&&n()})})}function du(i){Kr(i,e=>{sf(e),T_(e)})}var Jc=[],ef=[],tf=[];function S_(i){tf.push(i)}function pu(i,e){typeof e=="function"?(i._x_cleanups||(i._x_cleanups=[]),i._x_cleanups.push(e)):(e=i,ef.push(e))}function rf(i){Jc.push(i)}function nf(i,e,t){i._x_attributeCleanups||(i._x_attributeCleanups={}),i._x_attributeCleanups[e]||(i._x_attributeCleanups[e]=[]),i._x_attributeCleanups[e].push(t)}function sf(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 T_(i){if(i._x_cleanups)for(;i._x_cleanups.length;)i._x_cleanups.pop()()}var _u=new MutationObserver(mu),gu=!1;function Du(){_u.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),gu=!0}function of(){A_(),_u.disconnect(),gu=!1}var is=[],Ua=!1;function A_(){is=is.concat(_u.takeRecords()),is.length&&!Ua&&(Ua=!0,queueMicrotask(()=>{F_(),Ua=!1}))}function F_(){mu(is),is.length=0}function ze(i){if(!gu)return i();of();let e=i();return Du(),e}var vu=!1,go=[];function O_(){vu=!0}function P_(){vu=!1,mu(go),go=[]}function mu(i){if(vu){go=go.concat(i);return}let e=[],t=[],r=new Map,n=new Map;for(let s=0;s<i.length;s++)if(!i[s].target._x_ignoreMutationObserver&&(i[s].type==="childList"&&(i[s].addedNodes.forEach(o=>o.nodeType===1&&e.push(o)),i[s].removedNodes.forEach(o=>o.nodeType===1&&t.push(o))),i[s].type==="attributes")){let o=i[s].target,a=i[s].attributeName,u=i[s].oldValue,l=()=>{r.has(o)||r.set(o,[]),r.get(o).push({name:a,value:o.getAttribute(a)})},c=()=>{n.has(o)||n.set(o,[]),n.get(o).push(a)};o.hasAttribute(a)&&u===null?l():o.hasAttribute(a)?(c(),l()):c()}n.forEach((s,o)=>{sf(o,s)}),r.forEach((s,o)=>{Jc.forEach(a=>a(o,s))});for(let s of t)e.includes(s)||(ef.forEach(o=>o(s)),du(s));e.forEach(s=>{s._x_ignoreSelf=!0,s._x_ignore=!0});for(let s of e)t.includes(s)||s.isConnected&&(delete s._x_ignoreSelf,delete s._x_ignore,tf.forEach(o=>o(s)),s._x_ignore=!0,s._x_ignoreSelf=!0);e.forEach(s=>{delete s._x_ignoreSelf,delete s._x_ignore}),e=null,t=null,r=null,n=null}function af(i){return us(cn(i))}function as(i,e,t){return i._x_dataStack=[e,...cn(t||i)],()=>{i._x_dataStack=i._x_dataStack.filter(r=>r!==e)}}function cn(i){return i._x_dataStack?i._x_dataStack:typeof ShadowRoot=="function"&&i instanceof ShadowRoot?cn(i.host):i.parentNode?cn(i.parentNode):[]}function us(i){return new Proxy({objects:i},M_)}var M_={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"?R_: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 R_(){return Reflect.ownKeys(this).reduce((e,t)=>(e[t]=Reflect.get(this,t),e),{})}function uf(i){let e=r=>typeof r=="object"&&!Array.isArray(r)&&r!==null,t=(r,n="")=>{Object.entries(Object.getOwnPropertyDescriptors(r)).forEach(([s,{value:o,enumerable:a}])=>{if(a===!1||o===void 0)return;let u=n===""?s:`${n}.${s}`;typeof o=="object"&&o!==null&&o._x_interceptor?r[s]=o.initialize(i,u,s):e(o)&&o!==r&&!(o instanceof Element)&&t(o,u)})};return t(i)}function lf(i,e=()=>{}){let t={initialValue:void 0,_x_interceptor:!0,initialize(r,n,s){return i(this.initialValue,()=>k_(r,n),o=>Qa(r,n,o),n,s)}};return e(t),r=>{if(typeof r=="object"&&r!==null&&r._x_interceptor){let n=t.initialize.bind(t);t.initialize=(s,o,a)=>{let u=r.initialize(s,o,a);return t.initialValue=u,n(s,o,a)}}else t.initialValue=r;return t}}function k_(i,e){return e.split(".").reduce((t,r)=>t[r],i)}function Qa(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]]={}),Qa(i[e[0]],e.slice(1),t)}}var cf={};function rr(i,e){cf[i]=e}function Ja(i,e){return Object.entries(cf).forEach(([t,r])=>{let n=null;function s(){if(n)return n;{let[o,a]=gf(e);return n={interceptor:lf,...o},pu(e,a),n}}Object.defineProperty(i,`$${t}`,{get(){return r(e,s())},enumerable:!1})}),i}function L_(i,e,t,...r){try{return t(...r)}catch(n){ss(n,i,e)}}function ss(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 us=!0;function pl(i){let e=us;us=!1;let t=i();return us=e,t}function ni(i,e,t={}){let r;return tt(i,e)(n=>r=n,t),r}function tt(...i){return _l(...i)}var _l=gl;function Gh(i){_l=i}function gl(i,e){let t={};Fo(t,i);let r=[t,...Pi(i)],n=typeof e=="function"?Kh(r,e):Jh(r,e,i);return $h.bind(null,i,e,n)}function Kh(i,e){return(t=()=>{},{scope:r={},params:n=[]}={})=>{let s=e.apply(xn([r,...i]),n);ls(t,s)}}var xo={};function Qh(i,e){if(xo[i])return xo[i];let t=Object.getPrototypeOf(async function(){}).constructor,r=/^[\n\s]*if.*\(.*\)/.test(i.trim())||/^(let|const)\s/.test(i.trim())?`(async()=>{ ${i} })()`:i,s=(()=>{try{let o=new t(["__self","scope"],`with (scope) { __self.result = ${r} }; __self.finished = true; return __self.result;`);return Object.defineProperty(o,"name",{value:`[Alpine] ${i}`}),o}catch(o){return Dn(o,e,i),Promise.resolve()}})();return xo[i]=s,s}function Jh(i,e,t){let r=Qh(e,t);return(n=()=>{},{scope:s={},params:o=[]}={})=>{r.result=void 0,r.finished=!1;let u=xn([s,...i]);if(typeof r=="function"){let a=r(r,u).catch(l=>Dn(l,t,e));r.finished?(ls(n,r.result,u,o,t),r.result=void 0):a.then(l=>{ls(n,l,u,o,t)}).catch(l=>Dn(l,t,e)).finally(()=>r.result=void 0)}}}function ls(i,e,t,r,n){if(us&&typeof e=="function"){let s=e.apply(t,r);s instanceof Promise?s.then(o=>ls(i,o,t,r)).catch(o=>Dn(o,n,e)):i(s)}else typeof e=="object"&&e instanceof Promise?e.then(s=>i(s)):i(e)}var Go="x-";function Li(i=""){return Go+i}function Zh(i){Go=i}var Ao={};function Fe(i,e){return Ao[i]=e,{before(t){if(!Ao[t]){console.warn("Cannot find directive `${directive}`. `${name}` will use the default order of execution");return}let r=ri.indexOf(t);ri.splice(r>=0?r:ri.indexOf("DEFAULT"),0,i)}}}function Ko(i,e,t){if(e=Array.from(e),i._x_virtualDirectives){let s=Object.entries(i._x_virtualDirectives).map(([u,a])=>({name:u,value:a})),o=Dl(s);s=s.map(u=>o.find(a=>a.name===u.name)?{name:`x-bind:${u.name}`,value:`"${u.value}"`}:u),e=e.concat(s)}let r={};return e.map(Cl((s,o)=>r[s]=o)).filter(wl).map(rd(r,t)).sort(id).map(s=>td(i,s))}function Dl(i){return Array.from(i).map(Cl()).filter(e=>!wl(e))}var Mo=!1,dn=new Map,ml=Symbol();function ed(i){Mo=!0;let e=Symbol();ml=e,dn.set(e,[]);let t=()=>{for(;dn.get(e).length;)dn.get(e).shift()();dn.delete(e)},r=()=>{Mo=!1,t()};i(t),r()}function yl(i){let e=[],t=u=>e.push(u),[r,n]=Bh(i);return e.push(n),[{Alpine:vn,effect:r,cleanup:t,evaluateLater:tt.bind(tt,i),evaluate:ni.bind(ni,i)},()=>e.forEach(u=>u())]}function td(i,e){let t=()=>{},r=Ao[e.type]||t,[n,s]=yl(i);ul(i,e.original,s);let o=()=>{i._x_ignore||i._x_ignoreSelf||(r.inline&&r.inline(i,e,n),r=r.bind(r,i,e,n),Mo?dn.get(ml).push(r):r())};return o.runCleanups=s,o}var xl=(i,e)=>({name:t,value:r})=>(t.startsWith(i)&&(t=t.replace(i,e)),{name:t,value:r}),vl=i=>i;function Cl(i=()=>{}){return({name:e,value:t})=>{let{name:r,value:n}=bl.reduce((s,o)=>o(s),{name:e,value:t});return r!==e&&i(r,e),{name:r,value:n}}}var bl=[];function Qo(i){bl.push(i)}function wl({name:i}){return El().test(i)}var El=()=>new RegExp(`^${Go}([^:^.]+)\\b`);function rd(i,e){return({name:t,value:r})=>{let n=t.match(El()),s=t.match(/:([a-zA-Z0-9\-:]+)/),o=t.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],u=e||i[t]||t;return{type:n?n[1]:null,value:s?s[1]:null,modifiers:o.map(a=>a.replace(".","")),expression:r,original:u}}}var Oo="DEFAULT",ri=["ignore","ref","data","id","bind","init","for","model","modelable","transition","show","if",Oo,"teleport"];function id(i,e){let t=ri.indexOf(i.type)===-1?Oo:i.type,r=ri.indexOf(e.type)===-1?Oo:e.type;return ri.indexOf(t)-ri.indexOf(r)}var Po=[],Jo=!1;function Zo(i=()=>{}){return queueMicrotask(()=>{Jo||setTimeout(()=>{ko()})}),new Promise(e=>{Po.push(()=>{i(),e()})})}function ko(){for(Jo=!1;Po.length;)Po.shift()()}function nd(){Jo=!0}function eu(i,e){return Array.isArray(e)?za(i,e.join(" ")):typeof e=="object"&&e!==null?sd(i,e):typeof e=="function"?eu(i,e()):za(i,e)}function za(i,e){let t=s=>s.split(" ").filter(Boolean),r=s=>s.split(" ").filter(o=>!i.classList.contains(o)).filter(Boolean),n=s=>(i.classList.add(...s),()=>{i.classList.remove(...s)});return e=e===!0?e="":e||"",n(r(e))}function sd(i,e){let t=u=>u.split(" ").filter(Boolean),r=Object.entries(e).flatMap(([u,a])=>a?t(u):!1).filter(Boolean),n=Object.entries(e).flatMap(([u,a])=>a?!1:t(u)).filter(Boolean),s=[],o=[];return n.forEach(u=>{i.classList.contains(u)&&(i.classList.remove(u),o.push(u))}),r.forEach(u=>{i.classList.contains(u)||(i.classList.add(u),s.push(u))}),()=>{o.forEach(u=>i.classList.add(u)),s.forEach(u=>i.classList.remove(u))}}function ds(i,e){return typeof e=="object"&&e!==null?od(i,e):ud(i,e)}function od(i,e){let t={};return Object.entries(e).forEach(([r,n])=>{t[r]=i.style[r],r.startsWith("--")||(r=ad(r)),i.style.setProperty(r,n)}),setTimeout(()=>{i.style.length===0&&i.removeAttribute("style")}),()=>{ds(i,t)}}function ud(i,e){let t=i.getAttribute("style",e);return i.setAttribute("style",e),()=>{i.setAttribute("style",t||"")}}function ad(i){return i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Ro(i,e=()=>{}){let t=!1;return function(){t?e.apply(this,arguments):(t=!0,i.apply(this,arguments))}}Fe("transition",(i,{value:e,modifiers:t,expression:r},{evaluate:n})=>{typeof r=="function"&&(r=n(r)),r!==!1&&(!r||typeof r=="boolean"?fd(i,t,e):ld(i,r,e))});function ld(i,e,t){Sl(i,eu,""),{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 fd(i,e,t){Sl(i,ds);let r=!e.includes("in")&&!e.includes("out")&&!t,n=r||e.includes("in")||["enter"].includes(t),s=r||e.includes("out")||["leave"].includes(t);e.includes("in")&&!r&&(e=e.filter((D,m)=>m<e.indexOf("out"))),e.includes("out")&&!r&&(e=e.filter((D,m)=>m>e.indexOf("out")));let o=!e.includes("opacity")&&!e.includes("scale"),u=o||e.includes("opacity"),a=o||e.includes("scale"),l=u?0:1,f=a?cn(e,"scale",95)/100:1,d=cn(e,"delay",0)/1e3,h=cn(e,"origin","center"),c="opacity, transform",_=cn(e,"duration",150)/1e3,p=cn(e,"duration",75)/1e3,g="cubic-bezier(0.4, 0.0, 0.2, 1)";n&&(i._x_transition.enter.during={transformOrigin:h,transitionDelay:`${d}s`,transitionProperty:c,transitionDuration:`${_}s`,transitionTimingFunction:g},i._x_transition.enter.start={opacity:l,transform:`scale(${f})`},i._x_transition.enter.end={opacity:1,transform:"scale(1)"}),s&&(i._x_transition.leave.during={transformOrigin:h,transitionDelay:`${d}s`,transitionProperty:c,transitionDuration:`${p}s`,transitionTimingFunction:g},i._x_transition.leave.start={opacity:1,transform:"scale(1)"},i._x_transition.leave.end={opacity:l,transform:`scale(${f})`})}function Sl(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=()=>{}){Bo(i,e,{during:this.enter.during,start:this.enter.start,end:this.enter.end},r,n)},out(r=()=>{},n=()=>{}){Bo(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,s=()=>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):s():i._x_transition?i._x_transition.in(t):s();return}i._x_hidePromise=i._x_transition?new Promise((o,u)=>{i._x_transition.out(()=>{},()=>o(r)),i._x_transitioning.beforeCancel(()=>u({isFromCancelledTransition:!0}))}):Promise.resolve(r),queueMicrotask(()=>{let o=Tl(i);o?(o._x_hideChildren||(o._x_hideChildren=[]),o._x_hideChildren.push(i)):n(()=>{let u=a=>{let l=Promise.all([a._x_hidePromise,...(a._x_hideChildren||[]).map(u)]).then(([f])=>f());return delete a._x_hidePromise,delete a._x_hideChildren,l};u(i).catch(a=>{if(!a.isFromCancelledTransition)throw a})})})};function Tl(i){let e=i.parentNode;if(e)return e._x_hidePromise?e:Tl(e)}function Bo(i,e,{during:t,start:r,end:n}={},s=()=>{},o=()=>{}){if(i._x_transitioning&&i._x_transitioning.cancel(),Object.keys(t).length===0&&Object.keys(r).length===0&&Object.keys(n).length===0){s(),o();return}let u,a,l;cd(i,{start(){u=e(i,r)},during(){a=e(i,t)},before:s,end(){u(),l=e(i,n)},after:o,cleanup(){a(),l()}})}function cd(i,e){let t,r,n,s=Ro(()=>{Pe(()=>{t=!0,r||e.before(),n||(e.end(),ko()),e.after(),i.isConnected&&e.cleanup(),delete i._x_transitioning})});i._x_transitioning={beforeCancels:[],beforeCancel(o){this.beforeCancels.push(o)},cancel:Ro(function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();s()}),finish:s},Pe(()=>{e.start(),e.during()}),nd(),requestAnimationFrame(()=>{if(t)return;let o=Number(getComputedStyle(i).transitionDuration.replace(/,.*/,"").replace("s",""))*1e3,u=Number(getComputedStyle(i).transitionDelay.replace(/,.*/,"").replace("s",""))*1e3;o===0&&(o=Number(getComputedStyle(i).animationDuration.replace("s",""))*1e3),Pe(()=>{e.before()}),r=!0,requestAnimationFrame(()=>{t||(Pe(()=>{e.end()}),ko(),setTimeout(i._x_transitioning.finish,o+u),n=!0)})})}function cn(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 Or=!1;function ps(i,e=()=>{}){return(...t)=>Or?e(...t):i(...t)}function hd(i){return(...e)=>Or&&i(...e)}function dd(i,e){i._x_dataStack&&(e._x_dataStack=i._x_dataStack,e.setAttribute("data-has-alpine-state",!0)),Or=!0,Fl(()=>{pr(e,(t,r)=>{r(t,()=>{})})}),Or=!1}var Lo=!1;function pd(i,e){e._x_dataStack||(e._x_dataStack=i._x_dataStack),Or=!0,Lo=!0,Fl(()=>{_d(e)}),Or=!1,Lo=!1}function _d(i){let e=!1;pr(i,(r,n)=>{Mr(r,(s,o)=>{if(e&&zh(s))return o();e=!0,n(s,o)})})}function Fl(i){let e=Bi;Ba((t,r)=>{let n=e(t);return mn(n),()=>{}}),i(),Ba(e)}function gd(i){return Or?Lo?!0:i.hasAttribute("data-has-alpine-state"):!1}function Al(i,e,t,r=[]){switch(i._x_bindings||(i._x_bindings=Ri({})),i._x_bindings[e]=t,e=r.includes("camel")?wd(e):e,e){case"value":Dd(i,t);break;case"style":yd(i,t);break;case"class":md(i,t);break;case"selected":case"checked":xd(i,e,t);break;default:Ml(i,e,t);break}}function Dd(i,e){if(i.type==="radio")i.attributes.value===void 0&&(i.value=e),window.fromModel&&(i.checked=Na(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=>Na(t,i.value)):i.checked=!!e;else if(i.tagName==="SELECT")bd(i,e);else{if(i.value===e)return;i.value=e===void 0?"":e}}function md(i,e){i._x_undoAddedClasses&&i._x_undoAddedClasses(),i._x_undoAddedClasses=eu(i,e)}function yd(i,e){i._x_undoAddedStyles&&i._x_undoAddedStyles(),i._x_undoAddedStyles=ds(i,e)}function xd(i,e,t){Ml(i,e,t),Cd(i,e,t)}function Ml(i,e,t){[null,void 0,!1].includes(t)&&Ed(e)?i.removeAttribute(e):(Ol(e)&&(t=e),vd(i,e,t))}function vd(i,e,t){i.getAttribute(e)!=t&&i.setAttribute(e,t)}function Cd(i,e,t){i[e]!==t&&(i[e]=t)}function bd(i,e){let t=[].concat(e).map(r=>r+"");Array.from(i.options).forEach(r=>{r.selected=t.includes(r.value)})}function wd(i){return i.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function Na(i,e){return i==e}function Ol(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 Ed(i){return!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(i)}function Sd(i,e,t){return i._x_bindings&&i._x_bindings[e]!==void 0?i._x_bindings[e]:Pl(i,e,t)}function Td(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,pl(()=>ni(i,n.expression))}return Pl(i,e,t)}function Pl(i,e,t){let r=i.getAttribute(e);return r===null?typeof t=="function"?t():t:r===""?!0:Ol(e)?!![e,"true"].includes(r):r}function kl(i,e){var t;return function(){var r=this,n=arguments,s=function(){t=null,i.apply(r,n)};clearTimeout(t),t=setTimeout(s,e)}}function Rl(i,e){let t;return function(){let r=this,n=arguments;t||(i.apply(r,n),t=!0,setTimeout(()=>t=!1,e))}}function Bl({get:i,set:e},{get:t,set:r}){let n=!0,s,o,u,a,l=Bi(()=>{let f,d;n?(f=i(),r(JSON.parse(JSON.stringify(f))),d=t(),n=!1):(f=i(),d=t(),u=JSON.stringify(f),a=JSON.stringify(d),u!==s?(d=t(),r(f),d=f):(e(JSON.parse(a!=null?a:null)),f=d)),s=JSON.stringify(f),o=JSON.stringify(d)});return()=>{mn(l)}}function Fd(i){(Array.isArray(i)?i:[i]).forEach(t=>t(vn))}var ti={},Ia=!1;function Ad(i,e){if(Ia||(ti=Ri(ti),Ia=!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(),cl(ti[i])}function Md(){return ti}var Ll={};function Od(i,e){let t=typeof e!="function"?()=>e:e;return i instanceof Element?zl(i,t()):(Ll[i]=t,()=>{})}function Pd(i){return Object.entries(Ll).forEach(([e,t])=>{Object.defineProperty(i,e,{get(){return(...r)=>t(...r)}})}),i}function zl(i,e,t){let r=[];for(;r.length;)r.pop()();let n=Object.entries(e).map(([o,u])=>({name:o,value:u})),s=Dl(n);return n=n.map(o=>s.find(u=>u.name===o.name)?{name:`x-bind:${o.name}`,value:`"${o.value}"`}:o),Ko(i,n,t).map(o=>{r.push(o.runCleanups),o()}),()=>{for(;r.length;)r.pop()()}}var Nl={};function kd(i,e){Nl[i]=e}function Rd(i,e){return Object.entries(Nl).forEach(([t,r])=>{Object.defineProperty(i,t,{get(){return(...n)=>r.bind(e)(...n)},enumerable:!1})}),i}var Bd={get reactive(){return Ri},get release(){return mn},get effect(){return Bi},get raw(){return Ka},version:"3.13.1",flushAndStopDeferringMutations:Hh,dontAutoEvaluateFunctions:pl,disableEffectScheduling:kh,startObservingMutations:Uo,stopObservingMutations:ll,setReactivityEngine:Rh,onAttributeRemoved:ul,onAttributesAdded:ol,closestDataStack:Pi,skipDuringClone:ps,onlyDuringClone:hd,addRootSelector:el,addInitSelector:tl,addScopeToNode:yn,deferMutations:Xh,mapAttributes:Qo,evaluateLater:tt,interceptInit:Nh,setEvaluator:Gh,mergeProxies:xn,extractProp:Td,findClosest:hs,onElRemoved:Xo,closestRoot:cs,destroyTree:Vo,interceptor:hl,transition:Bo,setStyles:ds,mutateDom:Pe,directive:Fe,entangle:Bl,throttle:Rl,debounce:kl,evaluate:ni,initTree:pr,nextTick:Zo,prefixed:Li,prefix:Zh,plugin:Fd,magic:Ut,store:Ad,start:Lh,clone:pd,cloneNode:dd,bound:Sd,$data:fl,walk:Mr,data:kd,bind:Od},vn=Bd;function Il(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 Ld="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",hg=Il(Ld+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),zd=Object.freeze({}),dg=Object.freeze([]),Nd=Object.prototype.hasOwnProperty,_s=(i,e)=>Nd.call(i,e),si=Array.isArray,gn=i=>Wl(i)==="[object Map]",Id=i=>typeof i=="string",tu=i=>typeof i=="symbol",gs=i=>i!==null&&typeof i=="object",Wd=Object.prototype.toString,Wl=i=>Wd.call(i),Yl=i=>Wl(i).slice(8,-1),ru=i=>Id(i)&&i!=="NaN"&&i[0]!=="-"&&""+parseInt(i,10)===i,Ds=i=>{let e=Object.create(null);return t=>e[t]||(e[t]=i(t))},Yd=/-(\w)/g,pg=Ds(i=>i.replace(Yd,(e,t)=>t?t.toUpperCase():"")),Vd=/\B([A-Z])/g,_g=Ds(i=>i.replace(Vd,"-$1").toLowerCase()),Vl=Ds(i=>i.charAt(0).toUpperCase()+i.slice(1)),gg=Ds(i=>i?`on${Vl(i)}`:""),Xl=(i,e)=>i!==e&&(i===i||e===e),zo=new WeakMap,hn=[],rr,oi=Symbol("iterate"),No=Symbol("Map key iterate");function Xd(i){return i&&i._isEffect===!0}function Hd(i,e=zd){Xd(i)&&(i=i.raw);let t=qd(i,e);return e.lazy||t(),t}function jd(i){i.active&&(Hl(i),i.options.onStop&&i.options.onStop(),i.active=!1)}var Ud=0;function qd(i,e){let t=function(){if(!t.active)return i();if(!hn.includes(t)){Hl(t);try{return Gd(),hn.push(t),rr=t,i()}finally{hn.pop(),jl(),rr=hn[hn.length-1]}}};return t.id=Ud++,t.allowRecurse=!!e.allowRecurse,t._isEffect=!0,t.active=!0,t.raw=i,t.deps=[],t.options=e,t}function Hl(i){let{deps:e}=i;if(e.length){for(let t=0;t<e.length;t++)e[t].delete(i);e.length=0}}var ki=!0,iu=[];function $d(){iu.push(ki),ki=!1}function Gd(){iu.push(ki),ki=!0}function jl(){let i=iu.pop();ki=i===void 0?!0:i}function jt(i,e,t){if(!ki||rr===void 0)return;let r=zo.get(i);r||zo.set(i,r=new Map);let n=r.get(t);n||r.set(t,n=new Set),n.has(rr)||(n.add(rr),rr.deps.push(n),rr.options.onTrack&&rr.options.onTrack({effect:rr,target:i,type:e,key:t}))}function Pr(i,e,t,r,n,s){let o=zo.get(i);if(!o)return;let u=new Set,a=f=>{f&&f.forEach(d=>{(d!==rr||d.allowRecurse)&&u.add(d)})};if(e==="clear")o.forEach(a);else if(t==="length"&&si(i))o.forEach((f,d)=>{(d==="length"||d>=r)&&a(f)});else switch(t!==void 0&&a(o.get(t)),e){case"add":si(i)?ru(t)&&a(o.get("length")):(a(o.get(oi)),gn(i)&&a(o.get(No)));break;case"delete":si(i)||(a(o.get(oi)),gn(i)&&a(o.get(No)));break;case"set":gn(i)&&a(o.get(oi));break}let l=f=>{f.options.onTrigger&&f.options.onTrigger({effect:f,target:i,key:t,type:e,newValue:r,oldValue:n,oldTarget:s}),f.options.scheduler?f.options.scheduler(f):f()};u.forEach(l)}var Kd=Il("__proto__,__v_isRef,__isVue"),Ul=new Set(Object.getOwnPropertyNames(Symbol).map(i=>Symbol[i]).filter(tu)),Qd=ql(),Jd=ql(!0),Wa=Zd();function Zd(){let i={};return["includes","indexOf","lastIndexOf"].forEach(e=>{i[e]=function(...t){let r=ae(this);for(let s=0,o=this.length;s<o;s++)jt(r,"get",s+"");let n=r[e](...t);return n===-1||n===!1?r[e](...t.map(ae)):n}}),["push","pop","shift","unshift","splice"].forEach(e=>{i[e]=function(...t){$d();let r=ae(this)[e].apply(this,t);return jl(),r}}),i}function ql(i=!1,e=!1){return function(r,n,s){if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_raw"&&s===(i?e?_p:Ql:e?pp:Kl).get(r))return r;let o=si(r);if(!i&&o&&_s(Wa,n))return Reflect.get(Wa,n,s);let u=Reflect.get(r,n,s);return(tu(n)?Ul.has(n):Kd(n))||(i||jt(r,"get",n),e)?u:Io(u)?!o||!ru(n)?u.value:u:gs(u)?i?Jl(u):uu(u):u}}var ep=tp();function tp(i=!1){return function(t,r,n,s){let o=t[r];if(!i&&(n=ae(n),o=ae(o),!si(t)&&Io(o)&&!Io(n)))return o.value=n,!0;let u=si(t)&&ru(r)?Number(r)<t.length:_s(t,r),a=Reflect.set(t,r,n,s);return t===ae(s)&&(u?Xl(n,o)&&Pr(t,"set",r,n,o):Pr(t,"add",r,n)),a}}function rp(i,e){let t=_s(i,e),r=i[e],n=Reflect.deleteProperty(i,e);return n&&t&&Pr(i,"delete",e,void 0,r),n}function ip(i,e){let t=Reflect.has(i,e);return(!tu(e)||!Ul.has(e))&&jt(i,"has",e),t}function np(i){return jt(i,"iterate",si(i)?"length":oi),Reflect.ownKeys(i)}var sp={get:Qd,set:ep,deleteProperty:rp,has:ip,ownKeys:np},op={get:Jd,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}},nu=i=>gs(i)?uu(i):i,su=i=>gs(i)?Jl(i):i,ou=i=>i,ms=i=>Reflect.getPrototypeOf(i);function rs(i,e,t=!1,r=!1){i=i.__v_raw;let n=ae(i),s=ae(e);e!==s&&!t&&jt(n,"get",e),!t&&jt(n,"get",s);let{has:o}=ms(n),u=r?ou:t?su:nu;if(o.call(n,e))return u(i.get(e));if(o.call(n,s))return u(i.get(s));i!==n&&i.get(e)}function is(i,e=!1){let t=this.__v_raw,r=ae(t),n=ae(i);return i!==n&&!e&&jt(r,"has",i),!e&&jt(r,"has",n),i===n?t.has(i):t.has(i)||t.has(n)}function ns(i,e=!1){return i=i.__v_raw,!e&&jt(ae(i),"iterate",oi),Reflect.get(i,"size",i)}function Ya(i){i=ae(i);let e=ae(this);return ms(e).has.call(e,i)||(e.add(i),Pr(e,"add",i,i)),this}function Va(i,e){e=ae(e);let t=ae(this),{has:r,get:n}=ms(t),s=r.call(t,i);s?Gl(t,r,i):(i=ae(i),s=r.call(t,i));let o=n.call(t,i);return t.set(i,e),s?Xl(e,o)&&Pr(t,"set",i,e,o):Pr(t,"add",i,e),this}function Xa(i){let e=ae(this),{has:t,get:r}=ms(e),n=t.call(e,i);n?Gl(e,t,i):(i=ae(i),n=t.call(e,i));let s=r?r.call(e,i):void 0,o=e.delete(i);return n&&Pr(e,"delete",i,void 0,s),o}function Ha(){let i=ae(this),e=i.size!==0,t=gn(i)?new Map(i):new Set(i),r=i.clear();return e&&Pr(i,"clear",void 0,void 0,t),r}function ss(i,e){return function(r,n){let s=this,o=s.__v_raw,u=ae(o),a=e?ou:i?su:nu;return!i&&jt(u,"iterate",oi),o.forEach((l,f)=>r.call(n,a(l),a(f),s))}}function os(i,e,t){return function(...r){let n=this.__v_raw,s=ae(n),o=gn(s),u=i==="entries"||i===Symbol.iterator&&o,a=i==="keys"&&o,l=n[i](...r),f=t?ou:e?su:nu;return!e&&jt(s,"iterate",a?No:oi),{next(){let{value:d,done:h}=l.next();return h?{value:d,done:h}:{value:u?[f(d[0]),f(d[1])]:f(d),done:h}},[Symbol.iterator](){return this}}}}function Ar(i){return function(...e){{let t=e[0]?`on key "${e[0]}" `:"";console.warn(`${Vl(i)} operation ${t}failed: target is readonly.`,ae(this))}return i==="delete"?!1:this}}function up(){let i={get(s){return rs(this,s)},get size(){return ns(this)},has:is,add:Ya,set:Va,delete:Xa,clear:Ha,forEach:ss(!1,!1)},e={get(s){return rs(this,s,!1,!0)},get size(){return ns(this)},has:is,add:Ya,set:Va,delete:Xa,clear:Ha,forEach:ss(!1,!0)},t={get(s){return rs(this,s,!0)},get size(){return ns(this,!0)},has(s){return is.call(this,s,!0)},add:Ar("add"),set:Ar("set"),delete:Ar("delete"),clear:Ar("clear"),forEach:ss(!0,!1)},r={get(s){return rs(this,s,!0,!0)},get size(){return ns(this,!0)},has(s){return is.call(this,s,!0)},add:Ar("add"),set:Ar("set"),delete:Ar("delete"),clear:Ar("clear"),forEach:ss(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{i[s]=os(s,!1,!1),t[s]=os(s,!0,!1),e[s]=os(s,!1,!0),r[s]=os(s,!0,!0)}),[i,t,e,r]}var[ap,lp,fp,cp]=up();function $l(i,e){let t=e?i?cp:fp:i?lp:ap;return(r,n,s)=>n==="__v_isReactive"?!i:n==="__v_isReadonly"?i:n==="__v_raw"?r:Reflect.get(_s(t,n)&&n in r?t:r,n,s)}var hp={get:$l(!1,!1)},dp={get:$l(!0,!1)};function Gl(i,e,t){let r=ae(t);if(r!==t&&e.call(i,r)){let n=Yl(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 Kl=new WeakMap,pp=new WeakMap,Ql=new WeakMap,_p=new WeakMap;function gp(i){switch(i){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Dp(i){return i.__v_skip||!Object.isExtensible(i)?0:gp(Yl(i))}function uu(i){return i&&i.__v_isReadonly?i:Zl(i,!1,sp,hp,Kl)}function Jl(i){return Zl(i,!0,op,dp,Ql)}function Zl(i,e,t,r,n){if(!gs(i))return console.warn(`value cannot be made reactive: ${String(i)}`),i;if(i.__v_raw&&!(e&&i.__v_isReactive))return i;let s=n.get(i);if(s)return s;let o=Dp(i);if(o===0)return i;let u=new Proxy(i,o===2?r:t);return n.set(i,u),u}function ae(i){return i&&ae(i.__v_raw)||i}function Io(i){return!!(i&&i.__v_isRef===!0)}Ut("nextTick",()=>Zo);Ut("dispatch",i=>pn.bind(pn,i));Ut("watch",(i,{evaluateLater:e,effect:t})=>(r,n)=>{let s=e(r),o=!0,u,a=t(()=>s(l=>{JSON.stringify(l),o?u=l:queueMicrotask(()=>{n(l,u),u=l}),o=!1}));i._x_effects.delete(a)});Ut("store",Md);Ut("data",i=>fl(i));Ut("root",i=>cs(i));Ut("refs",i=>(i._x_refs_proxy||(i._x_refs_proxy=xn(mp(i))),i._x_refs_proxy));function mp(i){let e=[],t=i;for(;t;)t._x_refs&&e.push(t._x_refs),t=t.parentNode;return e}var vo={};function ef(i){return vo[i]||(vo[i]=0),++vo[i]}function yp(i,e){return hs(i,t=>{if(t._x_ids&&t._x_ids[e])return!0})}function xp(i,e){i._x_ids||(i._x_ids={}),i._x_ids[e]||(i._x_ids[e]=ef(e))}Ut("id",i=>(e,t=null)=>{let r=yp(i,e),n=r?r._x_ids[e]:ef(e);return t?`${e}-${n}-${t}`:`${e}-${n}`});Ut("el",i=>i);tf("Focus","focus","focus");tf("Persist","persist","persist");function tf(i,e,t){Ut(e,r=>dr(`You can't use [$${e}] without first installing the "${i}" plugin here: https://alpinejs.dev/plugins/${t}`,r))}Fe("modelable",(i,{expression:e},{effect:t,evaluateLater:r,cleanup:n})=>{let s=r(e),o=()=>{let f;return s(d=>f=d),f},u=r(`${e} = __placeholder`),a=f=>u(()=>{},{scope:{__placeholder:f}}),l=o();a(l),queueMicrotask(()=>{if(!i._x_model)return;i._x_removeModelListeners.default();let f=i._x_model.get,d=i._x_model.set,h=Bl({get(){return f()},set(c){d(c)}},{get(){return o()},set(c){a(c)}});n(h)})});Fe("teleport",(i,{modifiers:e,expression:t},{cleanup:r})=>{i.tagName.toLowerCase()!=="template"&&dr("x-teleport can only be used on a <template> tag",i);let n=ja(t),s=i.content.cloneNode(!0).firstElementChild;i._x_teleport=s,s._x_teleportBack=i,i.setAttribute("data-teleport-template",!0),s.setAttribute("data-teleport-target",!0),i._x_forwardEvents&&i._x_forwardEvents.forEach(u=>{s.addEventListener(u,a=>{a.stopPropagation(),i.dispatchEvent(new a.constructor(a.type,a))})}),yn(s,{},i);let o=(u,a,l)=>{l.includes("prepend")?a.parentNode.insertBefore(u,a):l.includes("append")?a.parentNode.insertBefore(u,a.nextSibling):a.appendChild(u)};Pe(()=>{o(s,n,e),pr(s),s._x_ignore=!0}),i._x_teleportPutBack=()=>{let u=ja(t);Pe(()=>{o(i._x_teleport,u,e)})},r(()=>s.remove())});var vp=document.createElement("div");function ja(i){let e=ps(()=>document.querySelector(i),()=>vp)();return e||dr(`Cannot find x-teleport element for selector: "${i}"`),e}var rf=()=>{};rf.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})};Fe("ignore",rf);Fe("effect",(i,{expression:e},{effect:t})=>t(tt(i,e)));function Wo(i,e,t,r){let n=i,s=a=>r(a),o={},u=(a,l)=>f=>l(a,f);if(t.includes("dot")&&(e=Cp(e)),t.includes("camel")&&(e=bp(e)),t.includes("passive")&&(o.passive=!0),t.includes("capture")&&(o.capture=!0),t.includes("window")&&(n=window),t.includes("document")&&(n=document),t.includes("debounce")){let a=t[t.indexOf("debounce")+1]||"invalid-wait",l=fs(a.split("ms")[0])?Number(a.split("ms")[0]):250;s=kl(s,l)}if(t.includes("throttle")){let a=t[t.indexOf("throttle")+1]||"invalid-wait",l=fs(a.split("ms")[0])?Number(a.split("ms")[0]):250;s=Rl(s,l)}return t.includes("prevent")&&(s=u(s,(a,l)=>{l.preventDefault(),a(l)})),t.includes("stop")&&(s=u(s,(a,l)=>{l.stopPropagation(),a(l)})),t.includes("self")&&(s=u(s,(a,l)=>{l.target===i&&a(l)})),(t.includes("away")||t.includes("outside"))&&(n=document,s=u(s,(a,l)=>{i.contains(l.target)||l.target.isConnected!==!1&&(i.offsetWidth<1&&i.offsetHeight<1||i._x_isShown!==!1&&a(l))})),t.includes("once")&&(s=u(s,(a,l)=>{a(l),n.removeEventListener(e,s,o)})),s=u(s,(a,l)=>{Ep(e)&&Sp(l,t)||a(l)}),n.addEventListener(e,s,o),()=>{n.removeEventListener(e,s,o)}}function Cp(i){return i.replace(/-/g,".")}function bp(i){return i.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function fs(i){return!Array.isArray(i)&&!isNaN(i)}function wp(i){return[" ","_"].includes(i)?i:i.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase()}function Ep(i){return["keydown","keyup"].includes(i)}function Sp(i,e){let t=e.filter(s=>!["window","document","prevent","stop","once","capture"].includes(s));if(t.includes("debounce")){let s=t.indexOf("debounce");t.splice(s,fs((t[s+1]||"invalid-wait").split("ms")[0])?2:1)}if(t.includes("throttle")){let s=t.indexOf("throttle");t.splice(s,fs((t[s+1]||"invalid-wait").split("ms")[0])?2:1)}if(t.length===0||t.length===1&&Ua(i.key).includes(t[0]))return!1;let n=["ctrl","shift","alt","meta","cmd","super"].filter(s=>t.includes(s));return t=t.filter(s=>!n.includes(s)),!(n.length>0&&n.filter(o=>((o==="cmd"||o==="super")&&(o="meta"),i[`${o}Key`])).length===n.length&&Ua(i.key).includes(t[0]))}function Ua(i){if(!i)return[];i=wp(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)}Fe("model",(i,{modifiers:e,expression:t},{effect:r,cleanup:n})=>{let s=i;e.includes("parent")&&(s=i.parentNode);let o=tt(s,t),u;typeof t=="string"?u=tt(s,`${t} = __placeholder`):typeof t=="function"&&typeof t()=="string"?u=tt(s,`${t()} = __placeholder`):u=()=>{};let a=()=>{let h;return o(c=>h=c),qa(h)?h.get():h},l=h=>{let c;o(_=>c=_),qa(c)?c.set(h):u(()=>{},{scope:{__placeholder:h}})};typeof t=="string"&&i.type==="radio"&&Pe(()=>{i.hasAttribute("name")||i.setAttribute("name",t)});var f=i.tagName.toLowerCase()==="select"||["checkbox","radio"].includes(i.type)||e.includes("lazy")?"change":"input";let d=Or?()=>{}:Wo(i,f,e,h=>{l(Tp(i,e,h,a()))});if(e.includes("fill")&&([null,""].includes(a())||i.type==="checkbox"&&Array.isArray(a()))&&i.dispatchEvent(new Event(f,{})),i._x_removeModelListeners||(i._x_removeModelListeners={}),i._x_removeModelListeners.default=d,n(()=>i._x_removeModelListeners.default()),i.form){let h=Wo(i.form,"reset",[],c=>{Zo(()=>i._x_model&&i._x_model.set(i.value))});n(()=>h())}i._x_model={get(){return a()},set(h){l(h)}},i._x_forceModelUpdate=h=>{h===void 0&&typeof t=="string"&&t.match(/\./)&&(h=""),window.fromModel=!0,Pe(()=>Al(i,"value",h)),delete window.fromModel},r(()=>{let h=a();e.includes("unintrusive")&&document.activeElement.isSameNode(i)||i._x_forceModelUpdate(h)})});function Tp(i,e,t,r){return Pe(()=>{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")?Co(t.target.value):t.target.value;return t.target.checked?r.concat([n]):r.filter(s=>!Fp(s,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 s=n.value||n.text;return Co(s)}):Array.from(t.target.selectedOptions).map(n=>n.value||n.text);{let n=t.target.value;return e.includes("number")?Co(n):e.includes("trim")?n.trim():n}}})}function Co(i){let e=i?parseFloat(i):null;return Ap(e)?e:i}function Fp(i,e){return i==e}function Ap(i){return!Array.isArray(i)&&!isNaN(i)}function qa(i){return i!==null&&typeof i=="object"&&typeof i.get=="function"&&typeof i.set=="function"}Fe("cloak",i=>queueMicrotask(()=>Pe(()=>i.removeAttribute(Li("cloak")))));tl(()=>`[${Li("init")}]`);Fe("init",ps((i,{expression:e},{evaluate:t})=>typeof e=="string"?!!e.trim()&&t(e,{},!1):t(e,{},!1)));Fe("text",(i,{expression:e},{effect:t,evaluateLater:r})=>{let n=r(e);t(()=>{n(s=>{Pe(()=>{i.textContent=s})})})});Fe("html",(i,{expression:e},{effect:t,evaluateLater:r})=>{let n=r(e);t(()=>{n(s=>{Pe(()=>{i.innerHTML=s,i._x_ignoreSelf=!0,pr(i),delete i._x_ignoreSelf})})})});Qo(xl(":",vl(Li("bind:"))));var nf=(i,{value:e,modifiers:t,expression:r,original:n},{effect:s})=>{if(!e){let u={};Pd(u),tt(i,r)(l=>{zl(i,l,n)},{scope:u});return}if(e==="key")return Mp(i,r);if(i._x_inlineBindings&&i._x_inlineBindings[e]&&i._x_inlineBindings[e].extract)return;let o=tt(i,r);s(()=>o(u=>{u===void 0&&typeof r=="string"&&r.match(/\./)&&(u=""),Pe(()=>Al(i,e,u,t))}))};nf.inline=(i,{value:e,modifiers:t,expression:r})=>{e&&(i._x_inlineBindings||(i._x_inlineBindings={}),i._x_inlineBindings[e]={expression:r,extract:!1})};Fe("bind",nf);function Mp(i,e){i._x_keyExpression=e}el(()=>`[${Li("data")}]`);Fe("data",(i,{expression:e},{cleanup:t})=>{if(gd(i))return;e=e===""?"{}":e;let r={};Fo(r,i);let n={};Rd(n,r);let s=ni(i,e,{scope:n});(s===void 0||s===!0)&&(s={}),Fo(s,i);let o=Ri(s);cl(o);let u=yn(i,o);o.init&&ni(i,o.init),t(()=>{o.destroy&&ni(i,o.destroy),u()})});Fe("show",(i,{modifiers:e,expression:t},{effect:r})=>{let n=tt(i,t);i._x_doHide||(i._x_doHide=()=>{Pe(()=>{i.style.setProperty("display","none",e.includes("important")?"important":void 0)})}),i._x_doShow||(i._x_doShow=()=>{Pe(()=>{i.style.length===1&&i.style.display==="none"?i.removeAttribute("style"):i.style.removeProperty("display")})});let s=()=>{i._x_doHide(),i._x_isShown=!1},o=()=>{i._x_doShow(),i._x_isShown=!0},u=()=>setTimeout(o),a=Ro(d=>d?o():s(),d=>{typeof i._x_toggleAndCascadeWithTransitions=="function"?i._x_toggleAndCascadeWithTransitions(i,d,o,s):d?u():s()}),l,f=!0;r(()=>n(d=>{!f&&d===l||(e.includes("immediate")&&(d?u():s()),a(d),l=d,f=!1)}))});Fe("for",(i,{expression:e},{effect:t,cleanup:r})=>{let n=Pp(e),s=tt(i,n.items),o=tt(i,i._x_keyExpression||"index");i._x_prevKeys=[],i._x_lookup={},t(()=>Op(i,n,s,o)),r(()=>{Object.values(i._x_lookup).forEach(u=>u.remove()),delete i._x_prevKeys,delete i._x_lookup})});function Op(i,e,t,r){let n=o=>typeof o=="object"&&!Array.isArray(o),s=i;t(o=>{kp(o)&&o>=0&&(o=Array.from(Array(o).keys(),g=>g+1)),o===void 0&&(o=[]);let u=i._x_lookup,a=i._x_prevKeys,l=[],f=[];if(n(o))o=Object.entries(o).map(([g,D])=>{let m=$a(e,D,g,o);r(x=>f.push(x),{scope:{index:g,...m}}),l.push(m)});else for(let g=0;g<o.length;g++){let D=$a(e,o[g],g,o);r(m=>f.push(m),{scope:{index:g,...D}}),l.push(D)}let d=[],h=[],c=[],_=[];for(let g=0;g<a.length;g++){let D=a[g];f.indexOf(D)===-1&&c.push(D)}a=a.filter(g=>!c.includes(g));let p="template";for(let g=0;g<f.length;g++){let D=f[g],m=a.indexOf(D);if(m===-1)a.splice(g,0,D),d.push([p,g]);else if(m!==g){let x=a.splice(g,1)[0],v=a.splice(m-1,1)[0];a.splice(g,0,v),a.splice(m,0,x),h.push([x,v])}else _.push(D);p=D}for(let g=0;g<c.length;g++){let D=c[g];u[D]._x_effects&&u[D]._x_effects.forEach(Ga),u[D].remove(),u[D]=null,delete u[D]}for(let g=0;g<h.length;g++){let[D,m]=h[g],x=u[D],v=u[m],b=document.createElement("div");Pe(()=>{v||dr('x-for ":key" is undefined or invalid',s),v.after(b),x.after(v),v._x_currentIfEl&&v.after(v._x_currentIfEl),b.before(x),x._x_currentIfEl&&x.after(x._x_currentIfEl),b.remove()}),v._x_refreshXForScope(l[f.indexOf(m)])}for(let g=0;g<d.length;g++){let[D,m]=d[g],x=D==="template"?s:u[D];x._x_currentIfEl&&(x=x._x_currentIfEl);let v=l[m],b=f[m],w=document.importNode(s.content,!0).firstElementChild,C=Ri(v);yn(w,C,s),w._x_refreshXForScope=T=>{Object.entries(T).forEach(([S,F])=>{C[S]=F})},Pe(()=>{x.after(w),pr(w)}),typeof b=="object"&&dr("x-for key cannot be an object, it must be a string or an integer",s),u[b]=w}for(let g=0;g<_.length;g++)u[_[g]]._x_refreshXForScope(l[f.indexOf(_[g])]);s._x_prevKeys=f})}function Pp(i){let e=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,t=/^\s*\(|\)\s*$/g,r=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,n=i.match(r);if(!n)return;let s={};s.items=n[2].trim();let o=n[1].replace(t,"").trim(),u=o.match(e);return u?(s.item=o.replace(e,"").trim(),s.index=u[1].trim(),u[2]&&(s.collection=u[2].trim())):s.item=o,s}function $a(i,e,t,r){let n={};return/^\[.*\]$/.test(i.item)&&Array.isArray(e)?i.item.replace("[","").replace("]","").split(",").map(o=>o.trim()).forEach((o,u)=>{n[o]=e[u]}):/^\{.*\}$/.test(i.item)&&!Array.isArray(e)&&typeof e=="object"?i.item.replace("{","").replace("}","").split(",").map(o=>o.trim()).forEach(o=>{n[o]=e[o]}):n[i.item]=e,i.index&&(n[i.index]=t),i.collection&&(n[i.collection]=r),n}function kp(i){return!Array.isArray(i)&&!isNaN(i)}function sf(){}sf.inline=(i,{expression:e},{cleanup:t})=>{let r=cs(i);r._x_refs||(r._x_refs={}),r._x_refs[e]=i,t(()=>delete r._x_refs[e])};Fe("ref",sf);Fe("if",(i,{expression:e},{effect:t,cleanup:r})=>{i.tagName.toLowerCase()!=="template"&&dr("x-if can only be used on a <template> tag",i);let n=tt(i,e),s=()=>{if(i._x_currentIfEl)return i._x_currentIfEl;let u=i.content.cloneNode(!0).firstElementChild;return yn(u,{},i),Pe(()=>{i.after(u),pr(u)}),i._x_currentIfEl=u,i._x_undoIf=()=>{Mr(u,a=>{a._x_effects&&a._x_effects.forEach(Ga)}),u.remove(),delete i._x_currentIfEl},u},o=()=>{i._x_undoIf&&(i._x_undoIf(),delete i._x_undoIf)};t(()=>n(u=>{u?s():o()})),r(()=>i._x_undoIf&&i._x_undoIf())});Fe("id",(i,{expression:e},{evaluate:t})=>{t(e).forEach(n=>xp(i,n))});Qo(xl("@",vl(Li("on:"))));Fe("on",ps((i,{value:e,modifiers:t,expression:r},{cleanup:n})=>{let s=r?tt(i,r):()=>{};i.tagName.toLowerCase()==="template"&&(i._x_forwardEvents||(i._x_forwardEvents=[]),i._x_forwardEvents.includes(e)||i._x_forwardEvents.push(e));let o=Wo(i,e,t,u=>{s(()=>{},{scope:{$event:u},params:[u]})});n(()=>o())}));ys("Collapse","collapse","collapse");ys("Intersect","intersect","intersect");ys("Focus","trap","focus");ys("Mask","mask","mask");function ys(i,e,t){Fe(e,r=>dr(`You can't use [x-${e}] without first installing the "${i}" plugin here: https://alpinejs.dev/plugins/${t}`,r))}vn.setEvaluator(gl);vn.setReactivityEngine({reactive:uu,effect:Hd,release:jd,raw:ae});var Rp=vn,au=Rp;function lu(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 Bp(i){let e=document.createElement("template");lu(i).forEach(r=>{e.setAttribute(r.name,r.value),i.removeAttribute(r.name)}),i.parentNode.insertBefore(e,i),e.content.appendChild(i)}function Lp(i){lu(i).forEach(t=>{let r=t.name.match(/^(x-[^:]+)(:.+)$/);if(r){let n=null;if(["x-bind","x-on"].includes(r[1])){let s=r[1],o=r[2].substring(1);s==="x-on"&&o.startsWith("update:")&&(s+=":update",o=o.substring(7)),o.includes(":")&&(n=s+":"+o.replace(/:/g,"."))}else n=r[1]+r[2].replace(/:/g,".");n&&(i.setAttribute(n,t.value),i.removeAttribute(t.name))}})}function zp(i){lu(i).forEach(t=>{t.name.match(/^x-transition.*(?!(enter|leave))/)&&i.setAttribute(t.name,"")})}function Np(){document.querySelectorAll("[x-data],[x-data] *").forEach(i=>{Lp(i),zp(i)}),document.querySelectorAll("[x-data] [x-for], [x-data] [x-if]").forEach(Bp)}function of(){window.Alpine=au,window.Webflow||(window.Webflow=[]),window.Webflow.push(()=>{Np(),au.start()})}function fu(){return fu=Object.assign?Object.assign.bind():function(i){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(i[r]=t[r])}return i},fu.apply(this,arguments)}function xs(i,e,t){return Math.max(i,Math.min(e,t))}var cu=class{advance(e){var t;if(!this.isRunning)return;let r=!1;if(this.lerp)this.value=(n=this.value,s=this.to,(1-(o=1-Math.exp(-60*this.lerp*e)))*n+o*s),Math.round(this.value)===this.to&&(this.value=this.to,r=!0);else{this.currentTime+=e;let u=xs(0,this.currentTime/this.duration,1);r=u>=1;let a=r?1:this.easing(u);this.value=this.from+(this.to-this.from)*a}var n,s,o;(t=this.onUpdate)==null||t.call(this,this.value,r),r&&this.stop()}stop(){this.isRunning=!1}fromTo(e,t,{lerp:r=.1,duration:n=1,easing:s=a=>a,onStart:o,onUpdate:u}){this.from=this.value=e,this.to=t,this.lerp=r,this.duration=n,this.easing=s,this.currentTime=0,this.isRunning=!0,o==null||o(),this.onUpdate=u}},hu=class{constructor({wrapper:e,content:t,autoResize:r=!0}={}){if(this.resize=()=>{this.onWrapperResize(),this.onContentResize()},this.onWrapperResize=()=>{this.wrapper===window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)},this.onContentResize=()=>{this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth},this.wrapper=e,this.content=t,r){let n=function(s,o){let u;return function(){let a=arguments,l=this;clearTimeout(u),u=setTimeout(function(){s.apply(l,a)},250)}}(this.resize);this.wrapper!==window&&(this.wrapperResizeObserver=new ResizeObserver(n),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(n),this.contentResizeObserver.observe(this.content)}this.resize()}destroy(){var e,t;(e=this.wrapperResizeObserver)==null||e.disconnect(),(t=this.contentResizeObserver)==null||t.disconnect()}get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},vs=class{constructor(){this.events={}}emit(e,...t){let r=this.events[e]||[];for(let n=0,s=r.length;n<s;n++)r[n](...t)}on(e,t){var r;return(r=this.events[e])!=null&&r.push(t)||(this.events[e]=[t]),()=>{var n;this.events[e]=(n=this.events[e])==null?void 0:n.filter(s=>t!==s)}}off(e,t){var r;this.events[e]=(r=this.events[e])==null?void 0:r.filter(n=>t!==n)}destroy(){this.events={}}},du=class{constructor(e,{wheelMultiplier:t=1,touchMultiplier:r=2,normalizeWheel:n=!1}){this.onTouchStart=s=>{let{clientX:o,clientY:u}=s.targetTouches?s.targetTouches[0]:s;this.touchStart.x=o,this.touchStart.y=u,this.lastDelta={x:0,y:0}},this.onTouchMove=s=>{let{clientX:o,clientY:u}=s.targetTouches?s.targetTouches[0]:s,a=-(o-this.touchStart.x)*this.touchMultiplier,l=-(u-this.touchStart.y)*this.touchMultiplier;this.touchStart.x=o,this.touchStart.y=u,this.lastDelta={x:a,y:l},this.emitter.emit("scroll",{deltaX:a,deltaY:l,event:s})},this.onTouchEnd=s=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:s})},this.onWheel=s=>{let{deltaX:o,deltaY:u}=s;this.normalizeWheel&&(o=xs(-100,o,100),u=xs(-100,u,100)),o*=this.wheelMultiplier,u*=this.wheelMultiplier,this.emitter.emit("scroll",{deltaX:o,deltaY:u,event:s})},this.element=e,this.wheelMultiplier=t,this.touchMultiplier=r,this.normalizeWheel=n,this.touchStart={x:null,y:null},this.emitter=new vs,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(),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})}},Cs=class{constructor({wrapper:e=window,content:t=document.documentElement,wheelEventsTarget:r=e,eventsTarget:n=r,smoothWheel:s=!0,smoothTouch:o=!1,syncTouch:u=!1,syncTouchLerp:a=.1,__iosNoInertiaSyncTouchLerp:l=.4,touchInertiaMultiplier:f=35,duration:d,easing:h=b=>Math.min(1,1.001-Math.pow(2,-10*b)),lerp:c=!d&&.1,infinite:_=!1,orientation:p="vertical",gestureOrientation:g="vertical",touchMultiplier:D=1,wheelMultiplier:m=1,normalizeWheel:x=!1,autoResize:v=!0}={}){this.onVirtualScroll=({deltaX:b,deltaY:w,event:C})=>{if(C.ctrlKey)return;let T=C.type.includes("touch"),S=C.type.includes("wheel");if(this.options.gestureOrientation==="both"&&b===0&&w===0||this.options.gestureOrientation==="vertical"&&w===0||this.options.gestureOrientation==="horizontal"&&b===0||T&&this.options.gestureOrientation==="vertical"&&this.scroll===0&&!this.options.infinite&&w<=0)return;let F=C.composedPath();if(F=F.slice(0,F.indexOf(this.rootElement)),F.find(z=>{var L;return(z.hasAttribute==null?void 0:z.hasAttribute("data-lenis-prevent"))||T&&(z.hasAttribute==null?void 0:z.hasAttribute("data-lenis-prevent-touch"))||S&&(z.hasAttribute==null?void 0:z.hasAttribute("data-lenis-prevent-wheel"))||((L=z.classList)==null?void 0:L.contains("lenis"))}))return;if(this.isStopped||this.isLocked)return void C.preventDefault();if(this.isSmooth=(this.options.smoothTouch||this.options.syncTouch)&&T||this.options.smoothWheel&&S,!this.isSmooth)return this.isScrolling=!1,void this.animate.stop();C.preventDefault();let k=w;this.options.gestureOrientation==="both"?k=Math.abs(w)>Math.abs(b)?w:b:this.options.gestureOrientation==="horizontal"&&(k=b);let M=T&&this.options.syncTouch,V=T&&C.type==="touchend"&&Math.abs(k)>1;V&&(k=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+k,fu({programmatic:!1},M&&{lerp:V?this.syncTouchLerp:this.options.__iosNoInertiaSyncTouchLerp}))},this.onScroll=()=>{if(!this.isScrolling){let b=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.velocity=0,this.direction=Math.sign(this.animatedScroll-b),this.emit()}},window.lenisVersion="1.0.27",e!==document.documentElement&&e!==document.body||(e=window),this.options={wrapper:e,content:t,wheelEventsTarget:r,eventsTarget:n,smoothWheel:s,smoothTouch:o,syncTouch:u,syncTouchLerp:a,__iosNoInertiaSyncTouchLerp:l,touchInertiaMultiplier:f,duration:d,easing:h,lerp:c,infinite:_,gestureOrientation:g,orientation:p,touchMultiplier:D,wheelMultiplier:m,normalizeWheel:x,autoResize:v},this.animate=new cu,this.emitter=new vs,this.dimensions=new hu({wrapper:e,content:t,autoResize:v}),this.toggleClass("lenis",!0),this.velocity=0,this.isLocked=!1,this.isStopped=!1,this.isSmooth=u||s||o,this.isScrolling=!1,this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onScroll,{passive:!1}),this.virtualScroll=new du(n,{touchMultiplier:D,wheelMultiplier:m,normalizeWheel:x}),this.virtualScroll.on("scroll",this.onVirtualScroll)}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onScroll,{passive:!1}),this.virtualScroll.destroy(),this.dimensions.destroy(),this.toggleClass("lenis",!1),this.toggleClass("lenis-smooth",!1),this.toggleClass("lenis-scrolling",!1),this.toggleClass("lenis-stopped",!1),this.toggleClass("lenis-locked",!1)}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(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.velocity=0,this.animate.stop()}start(){this.isStopped=!1,this.reset()}stop(){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:s=this.options.duration,easing:o=this.options.easing,lerp:u=!s&&this.options.lerp,onComplete:a=null,force:l=!1,programmatic:f=!0}={}){if(!this.isStopped&&!this.isLocked||l){if(["top","left","start"].includes(e))e=0;else if(["bottom","right","end"].includes(e))e=this.limit;else{var d;let h;if(typeof e=="string"?h=document.querySelector(e):(d=e)!=null&&d.nodeType&&(h=e),h){if(this.options.wrapper!==window){let _=this.options.wrapper.getBoundingClientRect();t-=this.isHorizontal?_.left:_.top}let c=h.getBoundingClientRect();e=(this.isHorizontal?c.left:c.top)+this.animatedScroll}}if(typeof e=="number"){if(e+=t,e=Math.round(e),this.options.infinite?f&&(this.targetScroll=this.animatedScroll=this.scroll):e=xs(0,e,this.limit),r)return this.animatedScroll=this.targetScroll=e,this.setScroll(this.scroll),this.reset(),void(a==null||a(this));if(!f){if(e===this.targetScroll)return;this.targetScroll=e}this.animate.fromTo(this.animatedScroll,e,{duration:s,easing:o,lerp:u,onStart:()=>{n&&(this.isLocked=!0),this.isScrolling=!0},onUpdate:(h,c)=>{this.isScrolling=!0,this.velocity=h-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=h,this.setScroll(this.scroll),f&&(this.targetScroll=h),c||this.emit(),c&&requestAnimationFrame(()=>{this.reset(),this.emit(),a==null||a(this)})}})}}}get rootElement(){return this.options.wrapper===window?this.options.content:this.options.wrapper}get limit(){return 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?(this.animatedScroll%(e=this.limit)+e)%e:this.animatedScroll;var e}get progress(){return this.limit===0?1:this.scroll/this.limit}get isSmooth(){return this.__isSmooth}set isSmooth(e){this.__isSmooth!==e&&(this.__isSmooth=e,this.toggleClass("lenis-smooth",e))}get isScrolling(){return this.__isScrolling}set isScrolling(e){this.__isScrolling!==e&&(this.__isScrolling=e,this.toggleClass("lenis-scrolling",e))}get isStopped(){return this.__isStopped}set isStopped(e){this.__isStopped!==e&&(this.__isStopped=e,this.toggleClass("lenis-stopped",e))}get isLocked(){return this.__isLocked}set isLocked(e){this.__isLocked!==e&&(this.__isLocked=e,this.toggleClass("lenis-locked",e))}get className(){let e="lenis";return this.isStopped&&(e+=" lenis-stopped"),this.isLocked&&(e+=" lenis-locked"),this.isScrolling&&(e+=" lenis-scrolling"),this.isSmooth&&(e+=" lenis-smooth"),e}toggleClass(e,t){this.rootElement.classList.toggle(e,t),this.emitter.emit("className change",this)}};function _r(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function pf(i,e){i.prototype=Object.create(e.prototype),i.prototype.constructor=i,i.__proto__=e}var mt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Ni={duration:.5,overwrite:!1,delay:0},Pu,Ge,me,Pt=1e8,oe=1/Pt,vu=Math.PI*2,Ip=vu/4,Wp=0,_f=Math.sqrt,Yp=Math.cos,Vp=Math.sin,ke=function(e){return typeof e=="string"},ye=function(e){return typeof e=="function"},Dr=function(e){return typeof e=="number"},ks=function(e){return typeof e=="undefined"},nr=function(e){return typeof e=="object"},Dt=function(e){return e!==!1},ku=function(){return typeof window!="undefined"},bs=function(e){return ye(e)||ke(e)},gf=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Ke=Array.isArray,Cu=/(?:-?\.?\d|\.)+/gi,Ru=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ci=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,pu=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Bu=/[+-]=-?[.\d]+/,Df=/[^,'"\[\]\s]+/gi,Xp=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,de,Ot,bu,Lu,wt={},Ts={},mf,yf=function(e){return(Ts=fi(e,wt))&&Qe},Rs=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},Fs=function(e,t){return!t&&console.warn(e)},xf=function(e,t){return e&&(wt[e]=t)&&Ts&&(Ts[e]=t)||wt},Tn=function(){return 0},Hp={suppressEvents:!0,isStart:!0,kill:!1},ws={suppressEvents:!0,kill:!1},jp={suppressEvents:!0},zu={},Rr=[],wu={},vf,_t={},_u={},uf=30,Es=[],Nu="",Iu=function(e){var t=e[0],r,n;if(nr(t)||ye(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(n=Es.length;n--&&!Es[n].targetTest(t););r=Es[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new Vu(e[n],r)))||e.splice(n,1);return e},Br=function(e){return e._gsap||Iu(kt(e))[0]._gsap},Wu=function(e,t,r){return(r=e[t])&&ye(r)?e[t]():ks(r)&&e.getAttribute&&e.getAttribute(t)||r},rt=function(e,t){return(e=e.split(",")).forEach(t)||e},xe=function(e){return Math.round(e*1e5)/1e5||0},Ve=function(e){return Math.round(e*1e7)/1e7||0},hi=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},Up=function(e,t){for(var r=t.length,n=0;e.indexOf(t[n])<0&&++n<r;);return n<r},As=function(){var e=Rr.length,t=Rr.slice(0),r,n;for(wu={},Rr.length=0,r=0;r<e;r++)n=t[r],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},Cf=function(e,t,r,n){Rr.length&&!Ge&&As(),e.render(t,r,n||Ge&&t<0&&(e._initted||e._startAt)),Rr.length&&!Ge&&As()},bf=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(Df).length<2?t:ke(e)?e.trim():e},wf=function(e){return e},Bt=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},qp=function(e){return function(t,r){for(var n in r)n in t||n==="duration"&&e||n==="ease"||(t[n]=r[n])}},fi=function(e,t){for(var r in t)e[r]=t[r];return e},af=function i(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=nr(t[r])?i(e[r]||(e[r]={}),t[r]):t[r]);return e},Ms=function(e,t){var r={},n;for(n in e)n in t||(r[n]=e[n]);return r},wn=function(e){var t=e.parent||de,r=e.keyframes?qp(Ke(e.keyframes)):Bt;if(Dt(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},$p=function(e,t){for(var r=e.length,n=r===t.length;n&&r--&&e[r]===t[r];);return r<0},Ef=function(e,t,r,n,s){r===void 0&&(r="_first"),n===void 0&&(n="_last");var o=e[n],u;if(s)for(u=t[s];o&&o[s]>u;)o=o._prev;return o?(t._next=o._next,o._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[n]=t,t._prev=o,t.parent=t._dp=e,t},Bs=function(e,t,r,n){r===void 0&&(r="_first"),n===void 0&&(n="_last");var s=t._prev,o=t._next;s?s._next=o:e[r]===t&&(e[r]=o),o?o._prev=s:e[n]===t&&(e[n]=s),t._next=t._prev=t.parent=null},Lr=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},ui=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},Gp=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Eu=function(e,t,r,n){return e._startAt&&(Ge?e._startAt.revert(ws):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))},Kp=function i(e){return!e||e._ts&&i(e.parent)},lf=function(e){return e._repeat?Ii(e._tTime,e=e.duration()+e._rDelay)*e:0},Ii=function(e,t){var r=Math.floor(e/=t);return e&&r===e?r-1:r},Os=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Ls=function(e){return e._end=Ve(e._start+(e._tDur/Math.abs(e._ts||e._rts||oe)||0))},zs=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Ve(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Ls(e),r._dirty||ui(r,e)),e},Sf=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=Os(e.rawTime(),t),(!t._dur||Mn(0,t.totalDuration(),r)-t._tTime>oe)&&t.render(r,!0)),ui(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=-oe}},ir=function(e,t,r,n){return t.parent&&Lr(t),t._start=Ve((Dr(r)?r:r||e!==de?Mt(e,r,t):e._time)+t._delay),t._end=Ve(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Ef(e,t,"_first","_last",e._sort?"_start":0),Su(t)||(e._recent=t),n||Sf(e,t),e._ts<0&&zs(e,e._tTime),e},Tf=function(e,t){return(wt.ScrollTrigger||Rs("scrollTrigger",t))&&wt.ScrollTrigger.create(t,e)},Ff=function(e,t,r,n,s){if(ju(e,t,s),!e._initted)return 1;if(!r&&e._pt&&!Ge&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&vf!==gt.frame)return Rr.push(e),e._lazy=[s,n],1},Qp=function i(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||i(t))},Su=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},Jp=function(e,t,r,n){var s=e.ratio,o=t<0||!t&&(!e._start&&Qp(e)&&!(!e._initted&&Su(e))||(e._ts<0||e._dp._ts<0)&&!Su(e))?0:1,u=e._rDelay,a=0,l,f,d;if(u&&e._repeat&&(a=Mn(0,e._tDur,t),f=Ii(a,u),e._yoyo&&f&1&&(o=1-o),f!==Ii(e._tTime,u)&&(s=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==s||Ge||n||e._zTime===oe||!t&&e._zTime){if(!e._initted&&Ff(e,t,n,r,a))return;for(d=e._zTime,e._zTime=t||(r?oe:0),r||(r=t&&!d),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=a,l=e._pt;l;)l.r(o,l.d),l=l._next;t<0&&Eu(e,t,r,!0),e._onUpdate&&!r&&Rt(e,"onUpdate"),a&&e._repeat&&!r&&e.parent&&Rt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===o&&(o&&Lr(e,1),!r&&!Ge&&(Rt(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},Zp=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}},Wi=function(e,t,r,n){var s=e._repeat,o=Ve(t)||0,u=e._tTime/e._tDur;return u&&!n&&(e._time*=o/e._dur),e._dur=o,e._tDur=s?s<0?1e10:Ve(o*(s+1)+e._rDelay*s):o,u>0&&!n&&zs(e,e._tTime=e._tDur*u),e.parent&&Ls(e),r||ui(e.parent,e),e},ff=function(e){return e instanceof $e?ui(e):Wi(e,e._dur)},e_={_start:0,endTime:Tn,totalDuration:Tn},Mt=function i(e,t,r){var n=e.labels,s=e._recent||e_,o=e.duration()>=Pt?s.endTime(!1):e._dur,u,a,l;return ke(t)&&(isNaN(t)||t in n)?(a=t.charAt(0),l=t.substr(-1)==="%",u=t.indexOf("="),a==="<"||a===">"?(u>=0&&(t=t.replace(/=/,"")),(a==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(t.substr(1))||0)*(l?(u<0?s:r).totalDuration()/100:1)):u<0?(t in n||(n[t]=o),n[t]):(a=parseFloat(t.charAt(u-1)+t.substr(u+1)),l&&r&&(a=a/100*(Ke(r)?r[0]:r).totalDuration()),u>1?i(e,t.substr(0,u-1),r)+a:o+a)):t==null?o:+t},En=function(e,t,r){var n=Dr(t[1]),s=(n?2:1)+(e<2?0:1),o=t[s],u,a;if(n&&(o.duration=t[1]),o.parent=r,e){for(u=o,a=r;a&&!("immediateRender"in u);)u=a.vars.defaults||{},a=Dt(a.vars.inherit)&&a.parent;o.immediateRender=Dt(u.immediateRender),e<2?o.runBackwards=1:o.startAt=t[s-1]}return new be(t[0],o,t[s+1])},zr=function(e,t){return e||e===0?t(e):t},Mn=function(e,t,r){return r<e?e:r>t?t:r},Xe=function(e,t){return!ke(e)||!(t=Xp.exec(e))?"":t[1]},t_=function(e,t,r){return zr(r,function(n){return Mn(e,t,n)})},Tu=[].slice,Af=function(e,t){return e&&nr(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&nr(e[0]))&&!e.nodeType&&e!==Ot},r_=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(n){var s;return ke(n)&&!t||Af(n,1)?(s=r).push.apply(s,kt(n)):r.push(n)})||r},kt=function(e,t,r){return me&&!t&&me.selector?me.selector(e):ke(e)&&!r&&(bu||!Yi())?Tu.call((t||Lu).querySelectorAll(e),0):Ke(e)?r_(e,r):Af(e)?Tu.call(e,0):e?[e]:[]},Fu=function(e){return e=kt(e)[0]||Fs("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return kt(t,r.querySelectorAll?r:r===e?Fs("Invalid scope")||Lu.createElement("div"):e)}},Mf=function(e){return e.sort(function(){return .5-Math.random()})},Of=function(e){if(ye(e))return e;var t=nr(e)?e:{each:e},r=ai(t.ease),n=t.from||0,s=parseFloat(t.base)||0,o={},u=n>0&&n<1,a=isNaN(n)||u,l=t.axis,f=n,d=n;return ke(n)?f=d={center:.5,edges:.5,end:1}[n]||0:!u&&a&&(f=n[0],d=n[1]),function(h,c,_){var p=(_||t).length,g=o[p],D,m,x,v,b,w,C,T,S;if(!g){if(S=t.grid==="auto"?0:(t.grid||[1,Pt])[1],!S){for(C=-Pt;C<(C=_[S++].getBoundingClientRect().left)&&S<p;);S--}for(g=o[p]=[],D=a?Math.min(S,p)*f-.5:n%S,m=S===Pt?0:a?p*d/S-.5:n/S|0,C=0,T=Pt,w=0;w<p;w++)x=w%S-D,v=m-(w/S|0),g[w]=b=l?Math.abs(l==="y"?v:x):_f(x*x+v*v),b>C&&(C=b),b<T&&(T=b);n==="random"&&Mf(g),g.max=C-T,g.min=T,g.v=p=(parseFloat(t.amount)||parseFloat(t.each)*(S>p?p-1:l?l==="y"?p/S:S:Math.max(S,p/S))||0)*(n==="edges"?-1:1),g.b=p<0?s-p:s,g.u=Xe(t.amount||t.each)||0,r=r&&p<0?Wf(r):r}return p=(g[h]-g.min)/g.max||0,Ve(g.b+(r?r(p):p)*g.v)+g.u}},Au=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var n=Ve(Math.round(parseFloat(r)/e)*e*t);return(n-n%1)/t+(Dr(r)?0:Xe(r))}},Pf=function(e,t){var r=Ke(e),n,s;return!r&&nr(e)&&(n=r=e.radius||Pt,e.values?(e=kt(e.values),(s=!Dr(e[0]))&&(n*=n)):e=Au(e.increment)),zr(t,r?ye(e)?function(o){return s=e(o),Math.abs(s-o)<=n?s:o}:function(o){for(var u=parseFloat(s?o.x:o),a=parseFloat(s?o.y:0),l=Pt,f=0,d=e.length,h,c;d--;)s?(h=e[d].x-u,c=e[d].y-a,h=h*h+c*c):h=Math.abs(e[d]-u),h<l&&(l=h,f=d);return f=!n||l<=n?e[f]:o,s||f===o||Dr(o)?f:f+Xe(o)}:Au(e))},kf=function(e,t,r,n){return zr(Ke(e)?!t:r===!0?!!(r=0):!n,function(){return Ke(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(n=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(t-e+r*.99))/r)*r*n)/n})},i_=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(s,o){return o(s)},n)}},n_=function(e,t){return function(r){return e(parseFloat(r))+(t||Xe(r))}},s_=function(e,t,r){return Bf(e,t,0,1,r)},Rf=function(e,t,r){return zr(r,function(n){return e[~~t(n)]})},o_=function i(e,t,r){var n=t-e;return Ke(e)?Rf(e,i(0,e.length),t):zr(r,function(s){return(n+(s-e)%n)%n+e})},u_=function i(e,t,r){var n=t-e,s=n*2;return Ke(e)?Rf(e,i(0,e.length-1),t):zr(r,function(o){return o=(s+(o-e)%s)%s||0,e+(o>n?s-o:o)})},Vi=function(e){for(var t=0,r="",n,s,o,u;~(n=e.indexOf("random(",t));)o=e.indexOf(")",n),u=e.charAt(n+7)==="[",s=e.substr(n+7,o-n-7).match(u?Df:Cu),r+=e.substr(t,n-t)+kf(u?s:+s[0],u?0:+s[1],+s[2]||1e-5),t=o+1;return r+e.substr(t,e.length-t)},Bf=function(e,t,r,n,s){var o=t-e,u=n-r;return zr(s,function(a){return r+((a-e)/o*u||0)})},a_=function i(e,t,r,n){var s=isNaN(e+t)?0:function(c){return(1-c)*e+c*t};if(!s){var o=ke(e),u={},a,l,f,d,h;if(r===!0&&(n=1)&&(r=null),o)e={p:e},t={p:t};else if(Ke(e)&&!Ke(t)){for(f=[],d=e.length,h=d-2,l=1;l<d;l++)f.push(i(e[l-1],e[l]));d--,s=function(_){_*=d;var p=Math.min(h,~~_);return f[p](_-p)},r=t}else n||(e=fi(Ke(e)?[]:{},e));if(!f){for(a in t)Xu.call(u,e,a,"get",t[a]);s=function(_){return $u(_,u)||(o?e.p:e)}}}return zr(r,s)},cf=function(e,t,r){var n=e.labels,s=Pt,o,u,a;for(o in n)u=n[o]-t,u<0==!!r&&u&&s>(u=Math.abs(u))&&(a=o,s=u);return a},Rt=function(e,t,r){var n=e.vars,s=n[t],o=me,u=e._ctx,a,l,f;if(s)return a=n[t+"Params"],l=n.callbackScope||e,r&&Rr.length&&As(),u&&(me=u),f=a?s.apply(l,a):s.call(l),me=o,f},Cn=function(e){return Lr(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Ge),e.progress()<1&&Rt(e,"onInterrupt"),e},zi,Lf=[],zf=function(e){if(ku()&&e){e=!e.name&&e.default||e;var t=e.name,r=ye(e),n=t&&!r&&e.init?function(){this._props=[]}:e,s={init:Tn,render:$u,add:Xu,kill:w_,modifier:b_,rawVars:0},o={targetTest:0,get:0,getSetter:Ns,aliases:{},register:0};if(Yi(),e!==n){if(_t[t])return;Bt(n,Bt(Ms(e,s),o)),fi(n.prototype,fi(s,Ms(e,o))),_t[n.prop=t]=n,e.targetTest&&(Es.push(n),zu[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}xf(t,n),e.register&&e.register(Qe,n,it)}else e&&Lf.push(e)},se=255,bn={aqua:[0,se,se],lime:[0,se,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,se],navy:[0,0,128],white:[se,se,se],olive:[128,128,0],yellow:[se,se,0],orange:[se,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[se,0,0],pink:[se,192,203],cyan:[0,se,se],transparent:[se,se,se,0]},gu=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)*se+.5|0},Nf=function(e,t,r){var n=e?Dr(e)?[e>>16,e>>8&se,e&se]:0:bn.black,s,o,u,a,l,f,d,h,c,_;if(!n){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),bn[e])n=bn[e];else if(e.charAt(0)==="#"){if(e.length<6&&(s=e.charAt(1),o=e.charAt(2),u=e.charAt(3),e="#"+s+s+o+o+u+u+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return n=parseInt(e.substr(1,6),16),[n>>16,n>>8&se,n&se,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),n=[e>>16,e>>8&se,e&se]}else if(e.substr(0,3)==="hsl"){if(n=_=e.match(Cu),!t)a=+n[0]%360/360,l=+n[1]/100,f=+n[2]/100,o=f<=.5?f*(l+1):f+l-f*l,s=f*2-o,n.length>3&&(n[3]*=1),n[0]=gu(a+1/3,s,o),n[1]=gu(a,s,o),n[2]=gu(a-1/3,s,o);else if(~e.indexOf("="))return n=e.match(Ru),r&&n.length<4&&(n[3]=1),n}else n=e.match(Cu)||bn.transparent;n=n.map(Number)}return t&&!_&&(s=n[0]/se,o=n[1]/se,u=n[2]/se,d=Math.max(s,o,u),h=Math.min(s,o,u),f=(d+h)/2,d===h?a=l=0:(c=d-h,l=f>.5?c/(2-d-h):c/(d+h),a=d===s?(o-u)/c+(o<u?6:0):d===o?(u-s)/c+2:(s-o)/c+4,a*=60),n[0]=~~(a+.5),n[1]=~~(l*100+.5),n[2]=~~(f*100+.5)),r&&n.length<4&&(n[3]=1),n},If=function(e){var t=[],r=[],n=-1;return e.split(gr).forEach(function(s){var o=s.match(ci)||[];t.push.apply(t,o),r.push(n+=o.length+1)}),t.c=r,t},hf=function(e,t,r){var n="",s=(e+n).match(gr),o=t?"hsla(":"rgba(",u=0,a,l,f,d;if(!s)return e;if(s=s.map(function(h){return(h=Nf(h,t,1))&&o+(t?h[0]+","+h[1]+"%,"+h[2]+"%,"+h[3]:h.join(","))+")"}),r&&(f=If(e),a=r.c,a.join(n)!==f.c.join(n)))for(l=e.replace(gr,"1").split(ci),d=l.length-1;u<d;u++)n+=l[u]+(~a.indexOf(u)?s.shift()||o+"0,0,0,0)":(f.length?f:s.length?s:r).shift());if(!l)for(l=e.split(gr),d=l.length-1;u<d;u++)n+=l[u]+s[u];return n+l[d]},gr=function(){var i="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in bn)i+="|"+e+"\\b";return new RegExp(i+")","gi")}(),l_=/hsl[a]?\(/,Yu=function(e){var t=e.join(" "),r;if(gr.lastIndex=0,gr.test(t))return r=l_.test(t),e[1]=hf(e[1],r),e[0]=hf(e[0],r,If(e[1])),!0},Fn,gt=function(){var i=Date.now,e=500,t=33,r=i(),n=r,s=1e3/240,o=s,u=[],a,l,f,d,h,c,_=function p(g){var D=i()-n,m=g===!0,x,v,b,w;if(D>e&&(r+=D-t),n+=D,b=n-r,x=b-o,(x>0||m)&&(w=++d.frame,h=b-d.time*1e3,d.time=b=b/1e3,o+=x+(x>=s?4:s-x),v=1),m||(a=l(p)),v)for(c=0;c<u.length;c++)u[c](b,h,w,g)};return d={time:0,frame:0,tick:function(){_(!0)},deltaRatio:function(g){return h/(1e3/(g||60))},wake:function(){mf&&(!bu&&ku()&&(Ot=bu=window,Lu=Ot.document||{},wt.gsap=Qe,(Ot.gsapVersions||(Ot.gsapVersions=[])).push(Qe.version),yf(Ts||Ot.GreenSockGlobals||!Ot.gsap&&Ot||{}),f=Ot.requestAnimationFrame,Lf.forEach(zf)),a&&d.sleep(),l=f||function(g){return setTimeout(g,o-d.time*1e3+1|0)},Fn=1,_(2))},sleep:function(){(f?Ot.cancelAnimationFrame:clearTimeout)(a),Fn=0,l=Tn},lagSmoothing:function(g,D){e=g||1/0,t=Math.min(D||33,e)},fps:function(g){s=1e3/(g||240),o=d.time*1e3+s},add:function(g,D,m){var x=D?function(v,b,w,C){g(v,b,w,C),d.remove(x)}:g;return d.remove(g),u[m?"unshift":"push"](x),Yi(),x},remove:function(g,D){~(D=u.indexOf(g))&&u.splice(D,1)&&c>=D&&c--},_listeners:u},d}(),Yi=function(){return!Fn&>.wake()},K={},f_=/^[\d.\-M][\d.\-,\s]/,c_=/["']/g,h_=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),n=r[0],s=1,o=r.length,u,a,l;s<o;s++)a=r[s],u=s!==o-1?a.lastIndexOf(","):a.length,l=a.substr(0,u),t[n]=isNaN(l)?l.replace(c_,"").trim():+l,n=a.substr(u+1).trim();return t},d_=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)},p_=function(e){var t=(e+"").split("("),r=K[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[h_(t[1])]:d_(e).split(",").map(bf)):K._CE&&f_.test(e)?K._CE("",e):r},Wf=function(e){return function(t){return 1-e(1-t)}},Yf=function i(e,t){for(var r=e._first,n;r;)r instanceof $e?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},ai=function(e,t){return e&&(ye(e)?e:K[e]||p_(e))||t},di=function(e,t,r,n){r===void 0&&(r=function(a){return 1-t(1-a)}),n===void 0&&(n=function(a){return a<.5?t(a*2)/2:1-t((1-a)*2)/2});var s={easeIn:t,easeOut:r,easeInOut:n},o;return rt(e,function(u){K[u]=wt[u]=s,K[o=u.toLowerCase()]=r;for(var a in s)K[o+(a==="easeIn"?".in":a==="easeOut"?".out":".inOut")]=K[u+"."+a]=s[a]}),s},Vf=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},Du=function i(e,t,r){var n=t>=1?t:1,s=(r||(e?.3:.45))/(t<1?t:1),o=s/vu*(Math.asin(1/n)||0),u=function(f){return f===1?1:n*Math.pow(2,-10*f)*Vp((f-o)*s)+1},a=e==="out"?u:e==="in"?function(l){return 1-u(1-l)}:Vf(u);return s=vu/s,a.config=function(l,f){return i(e,l,f)},a},mu=function i(e,t){t===void 0&&(t=1.70158);var r=function(o){return o?--o*o*((t+1)*o+t)+1:0},n=e==="out"?r:e==="in"?function(s){return 1-r(1-s)}:Vf(r);return n.config=function(s){return i(e,s)},n};rt("Linear,Quad,Cubic,Quart,Quint,Strong",function(i,e){var t=e<5?e+1:e;di(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})});K.Linear.easeNone=K.none=K.Linear.easeIn;di("Elastic",Du("in"),Du("out"),Du());(function(i,e){var t=1/e,r=2*t,n=2.5*t,s=function(u){return u<t?i*u*u:u<r?i*Math.pow(u-1.5/e,2)+.75:u<n?i*(u-=2.25/e)*u+.9375:i*Math.pow(u-2.625/e,2)+.984375};di("Bounce",function(o){return 1-s(1-o)},s)})(7.5625,2.75);di("Expo",function(i){return i?Math.pow(2,10*(i-1)):0});di("Circ",function(i){return-(_f(1-i*i)-1)});di("Sine",function(i){return i===1?1:-Yp(i*Ip)+1});di("Back",mu("in"),mu("out"),mu());K.SteppedEase=K.steps=wt.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,n=e+(t?0:1),s=t?1:0,o=1-oe;return function(u){return((n*Mn(0,o,u)|0)+s)*r}}};Ni.ease=K["quad.out"];rt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(i){return Nu+=i+","+i+"Params,"});var Vu=function(e,t){this.id=Wp++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:Wu,this.set=t?t.getSetter:Ns},An=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,Wi(this,+t.duration,1,1),this.data=t.data,me&&(this._ctx=me,me.data.push(this)),Fn||gt.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,Wi(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,n){if(Yi(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(zs(this,r),!s._dp||s.parent||Sf(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&ir(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!n||this._initted&&Math.abs(this._zTime)===oe||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),Cf(this,r,n)),this},e.time=function(r,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+lf(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.ratio},e.progress=function(r,n){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+lf(this),n):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(r,n){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*s,n):this._repeat?Ii(this._tTime,s)+1:1},e.timeScale=function(r){if(!arguments.length)return this._rts===-oe?0:this._rts;if(this._rts===r)return this;var n=this.parent&&this._ts?Os(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-oe?0:this._rts,this.totalTime(Mn(-Math.abs(this._delay),this._tDur,n),!0),Ls(this),Gp(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):(Yi(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==oe&&(this._tTime-=oe)))),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)&&ir(n,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(Dt(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?Os(n.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=jp);var n=Ge;return Ge=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),Ge=n,this},e.globalTime=function(r){for(var n=this,s=arguments.length?r:n.rawTime();n;)s=n._start+s/(n._ts||1),n=n._dp;return!this.parent&&this._sat?this._sat.vars.immediateRender?-1/0:this._sat.globalTime(r):s},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,ff(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var n=this._time;return this._rDelay=r,ff(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(Mt(this,r),Dt(n))},e.restart=function(r,n){return this.play().totalTime(r?-this._delay:0,Dt(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?-oe:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-oe,this},e.isActive=function(){var r=this.parent||this._dp,n=this._start,s;return!!(!r||this._ts&&this._initted&&r.isActive()&&(s=r.rawTime(!0))>=n&&s<this.endTime(!0)-oe)},e.eventCallback=function(r,n,s){var o=this.vars;return arguments.length>1?(n?(o[r]=n,s&&(o[r+"Params"]=s),r==="onUpdate"&&(this._onUpdate=n)):delete o[r],this):o[r]},e.then=function(r){var n=this;return new Promise(function(s){var o=ye(r)?r:wf,u=function(){var l=n.then;n.then=null,ye(o)&&(o=o(n))&&(o.then||o===n)&&(n.then=l),s(o),n.then=l};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?u():n._prom=u})},e.kill=function(){Cn(this)},i}();Bt(An.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:-oe,_prom:0,_ps:!1,_rts:1});var $e=function(i){pf(e,i);function e(r,n){var s;return r===void 0&&(r={}),s=i.call(this,r)||this,s.labels={},s.smoothChildTiming=!!r.smoothChildTiming,s.autoRemoveChildren=!!r.autoRemoveChildren,s._sort=Dt(r.sortChildren),de&&ir(r.parent||de,_r(s),n),r.reversed&&s.reverse(),r.paused&&s.paused(!0),r.scrollTrigger&&Tf(_r(s),r.scrollTrigger),s}var t=e.prototype;return t.to=function(n,s,o){return En(0,arguments,this),this},t.from=function(n,s,o){return En(1,arguments,this),this},t.fromTo=function(n,s,o,u){return En(2,arguments,this),this},t.set=function(n,s,o){return s.duration=0,s.parent=this,wn(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new be(n,s,Mt(this,o),1),this},t.call=function(n,s,o){return ir(this,be.delayedCall(0,n,s),o)},t.staggerTo=function(n,s,o,u,a,l,f){return o.duration=s,o.stagger=o.stagger||u,o.onComplete=l,o.onCompleteParams=f,o.parent=this,new be(n,o,Mt(this,a)),this},t.staggerFrom=function(n,s,o,u,a,l,f){return o.runBackwards=1,wn(o).immediateRender=Dt(o.immediateRender),this.staggerTo(n,s,o,u,a,l,f)},t.staggerFromTo=function(n,s,o,u,a,l,f,d){return u.startAt=o,wn(u).immediateRender=Dt(u.immediateRender),this.staggerTo(n,s,u,a,l,f,d)},t.render=function(n,s,o){var u=this._time,a=this._dirty?this.totalDuration():this._tDur,l=this._dur,f=n<=0?0:Ve(n),d=this._zTime<0!=n<0&&(this._initted||!l),h,c,_,p,g,D,m,x,v,b,w,C;if(this!==de&&f>a&&n>=0&&(f=a),f!==this._tTime||o||d){if(u!==this._time&&l&&(f+=this._time-u,n+=this._time-u),h=f,v=this._start,x=this._ts,D=!x,d&&(l||(u=this._zTime),(n||!s)&&(this._zTime=n)),this._repeat){if(w=this._yoyo,g=l+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(g*100+n,s,o);if(h=Ve(f%g),f===a?(p=this._repeat,h=l):(p=~~(f/g),p&&p===f/g&&(h=l,p--),h>l&&(h=l)),b=Ii(this._tTime,g),!u&&this._tTime&&b!==p&&this._tTime-b*g-this._dur<=0&&(b=p),w&&p&1&&(h=l-h,C=1),p!==b&&!this._lock){var T=w&&b&1,S=T===(w&&p&1);if(p<b&&(T=!T),u=T?0:f%l?l:f,this._lock=1,this.render(u||(C?0:Ve(p*g)),s,!l)._lock=0,this._tTime=f,!s&&this.parent&&Rt(this,"onRepeat"),this.vars.repeatRefresh&&!C&&(this.invalidate()._lock=1),u&&u!==this._time||D!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(l=this._dur,a=this._tDur,S&&(this._lock=2,u=T?l:-1e-4,this.render(u,!0),this.vars.repeatRefresh&&!C&&this.invalidate()),this._lock=0,!this._ts&&!D)return this;Yf(this,C)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(m=Zp(this,Ve(u),Ve(h)),m&&(f-=h-(h=m._start))),this._tTime=f,this._time=h,this._act=!x,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,u=0),!u&&h&&!s&&!p&&(Rt(this,"onStart"),this._tTime!==f))return this;if(h>=u&&n>=0)for(c=this._first;c;){if(_=c._next,(c._act||h>=c._start)&&c._ts&&m!==c){if(c.parent!==this)return this.render(n,s,o);if(c.render(c._ts>0?(h-c._start)*c._ts:(c._dirty?c.totalDuration():c._tDur)+(h-c._start)*c._ts,s,o),h!==this._time||!this._ts&&!D){m=0,_&&(f+=this._zTime=-oe);break}}c=_}else{c=this._last;for(var F=n<0?n:h;c;){if(_=c._prev,(c._act||F<=c._end)&&c._ts&&m!==c){if(c.parent!==this)return this.render(n,s,o);if(c.render(c._ts>0?(F-c._start)*c._ts:(c._dirty?c.totalDuration():c._tDur)+(F-c._start)*c._ts,s,o||Ge&&(c._initted||c._startAt)),h!==this._time||!this._ts&&!D){m=0,_&&(f+=this._zTime=F?-oe:oe);break}}c=_}}if(m&&!s&&(this.pause(),m.render(h>=u?0:-oe)._zTime=h>=u?1:-1,this._ts))return this._start=v,Ls(this),this.render(n,s,o);this._onUpdate&&!s&&Rt(this,"onUpdate",!0),(f===a&&this._tTime>=this.totalDuration()||!f&&u)&&(v===this._start||Math.abs(x)!==Math.abs(this._ts))&&(this._lock||((n||!l)&&(f===a&&this._ts>0||!f&&this._ts<0)&&Lr(this,1),!s&&!(n<0&&!u)&&(f||u||!a)&&(Rt(this,f===a&&n>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(f<a&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(n,s){var o=this;if(Dr(s)||(s=Mt(this,s,n)),!(n instanceof An)){if(Ke(n))return n.forEach(function(u){return o.add(u,s)}),this;if(ke(n))return this.addLabel(n,s);if(ye(n))n=be.delayedCall(0,n);else return this}return this!==n?ir(this,n,s):this},t.getChildren=function(n,s,o,u){n===void 0&&(n=!0),s===void 0&&(s=!0),o===void 0&&(o=!0),u===void 0&&(u=-Pt);for(var a=[],l=this._first;l;)l._start>=u&&(l instanceof be?s&&a.push(l):(o&&a.push(l),n&&a.push.apply(a,l.getChildren(!0,s,o)))),l=l._next;return a},t.getById=function(n){for(var s=this.getChildren(1,1,1),o=s.length;o--;)if(s[o].vars.id===n)return s[o]},t.remove=function(n){return ke(n)?this.removeLabel(n):ye(n)?this.killTweensOf(n):(Bs(this,n),n===this._recent&&(this._recent=this._last),ui(this))},t.totalTime=function(n,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Ve(gt.time-(this._ts>0?n/this._ts:(this.totalDuration()-n)/-this._ts))),i.prototype.totalTime.call(this,n,s),this._forcing=0,this):this._tTime},t.addLabel=function(n,s){return this.labels[n]=Mt(this,s),this},t.removeLabel=function(n){return delete this.labels[n],this},t.addPause=function(n,s,o){var u=be.delayedCall(0,s||Tn,o);return u.data="isPause",this._hasPause=1,ir(this,u,Mt(this,n))},t.removePause=function(n){var s=this._first;for(n=Mt(this,n);s;)s._start===n&&s.data==="isPause"&&Lr(s),s=s._next},t.killTweensOf=function(n,s,o){for(var u=this.getTweensOf(n,o),a=u.length;a--;)kr!==u[a]&&u[a].kill(n,s);return this},t.getTweensOf=function(n,s){for(var o=[],u=kt(n),a=this._first,l=Dr(s),f;a;)a instanceof be?Up(a._targets,u)&&(l?(!kr||a._initted&&a._ts)&&a.globalTime(0)<=s&&a.globalTime(a.totalDuration())>s:!s||a.isActive())&&o.push(a):(f=a.getTweensOf(u,s)).length&&o.push.apply(o,f),a=a._next;return o},t.tweenTo=function(n,s){s=s||{};var o=this,u=Mt(o,n),a=s,l=a.startAt,f=a.onStart,d=a.onStartParams,h=a.immediateRender,c,_=be.to(o,Bt({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:u,overwrite:"auto",duration:s.duration||Math.abs((u-(l&&"time"in l?l.time:o._time))/o.timeScale())||oe,onStart:function(){if(o.pause(),!c){var g=s.duration||Math.abs((u-(l&&"time"in l?l.time:o._time))/o.timeScale());_._dur!==g&&Wi(_,g,0,1).render(_._time,!0,!0),c=1}f&&f.apply(_,d||[])}},s));return h?_.render(0):_},t.tweenFromTo=function(n,s,o){return this.tweenTo(s,Bt({startAt:{time:Mt(this,n)}},o))},t.recent=function(){return this._recent},t.nextLabel=function(n){return n===void 0&&(n=this._time),cf(this,Mt(this,n))},t.previousLabel=function(n){return n===void 0&&(n=this._time),cf(this,Mt(this,n),1)},t.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+oe)},t.shiftChildren=function(n,s,o){o===void 0&&(o=0);for(var u=this._first,a=this.labels,l;u;)u._start>=o&&(u._start+=n,u._end+=n),u=u._next;if(s)for(l in a)a[l]>=o&&(a[l]+=n);return ui(this)},t.invalidate=function(n){var s=this._first;for(this._lock=0;s;)s.invalidate(n),s=s._next;return i.prototype.invalidate.call(this,n)},t.clear=function(n){n===void 0&&(n=!0);for(var s=this._first,o;s;)o=s._next,this.remove(s),s=o;return this._dp&&(this._time=this._tTime=this._pTime=0),n&&(this.labels={}),ui(this)},t.totalDuration=function(n){var s=0,o=this,u=o._last,a=Pt,l,f,d;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-n:n));if(o._dirty){for(d=o.parent;u;)l=u._prev,u._dirty&&u.totalDuration(),f=u._start,f>a&&o._sort&&u._ts&&!o._lock?(o._lock=1,ir(o,u,f-u._delay,1)._lock=0):a=f,f<0&&u._ts&&(s-=f,(!d&&!o._dp||d&&d.smoothChildTiming)&&(o._start+=f/o._ts,o._time-=f,o._tTime-=f),o.shiftChildren(-f,!1,-1/0),a=0),u._end>s&&u._ts&&(s=u._end),u=l;Wi(o,o===de&&o._time>s?o._time:s,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(n){if(de._ts&&(Cf(de,Os(n,de)),vf=gt.frame),gt.frame>=uf){uf+=mt.autoSleep||120;var s=de._first;if((!s||!s._ts)&&mt.autoSleep&>._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||gt.sleep()}}},e}(An);Bt($e.prototype,{_lock:0,_hasPause:0,_forcing:0});var __=function(e,t,r,n,s,o,u){var a=new it(this._pt,e,t,0,1,qu,null,s),l=0,f=0,d,h,c,_,p,g,D,m;for(a.b=r,a.e=n,r+="",n+="",(D=~n.indexOf("random("))&&(n=Vi(n)),o&&(m=[r,n],o(m,e,t),r=m[0],n=m[1]),h=r.match(pu)||[];d=pu.exec(n);)_=d[0],p=n.substring(l,d.index),c?c=(c+1)%5:p.substr(-5)==="rgba("&&(c=1),_!==h[f++]&&(g=parseFloat(h[f-1])||0,a._pt={_next:a._pt,p:p||f===1?p:",",s:g,c:_.charAt(1)==="="?hi(g,_)-g:parseFloat(_)-g,m:c&&c<4?Math.round:0},l=pu.lastIndex);return a.c=l<n.length?n.substring(l,n.length):"",a.fp=u,(Bu.test(n)||D)&&(a.e=0),this._pt=a,a},Xu=function(e,t,r,n,s,o,u,a,l,f){ye(n)&&(n=n(s||0,e,o));var d=e[t],h=r!=="get"?r:ye(d)?l?e[t.indexOf("set")||!ye(e["get"+t.substr(3)])?t:"get"+t.substr(3)](l):e[t]():d,c=ye(d)?l?x_:jf:Uu,_;if(ke(n)&&(~n.indexOf("random(")&&(n=Vi(n)),n.charAt(1)==="="&&(_=hi(h,n)+(Xe(h)||0),(_||_===0)&&(n=_))),!f||h!==n||Mu)return!isNaN(h*n)&&n!==""?(_=new it(this._pt,e,t,+h||0,n-(h||0),typeof d=="boolean"?C_:Uf,0,c),l&&(_.fp=l),u&&_.modifier(u,this,e),this._pt=_):(!d&&!(t in e)&&Rs(t,n),__.call(this,e,t,h,n,c,a||mt.stringFilter,l))},g_=function(e,t,r,n,s){if(ye(e)&&(e=Sn(e,s,t,r,n)),!nr(e)||e.style&&e.nodeType||Ke(e)||gf(e))return ke(e)?Sn(e,s,t,r,n):e;var o={},u;for(u in e)o[u]=Sn(e[u],s,t,r,n);return o},Hu=function(e,t,r,n,s,o){var u,a,l,f;if(_t[e]&&(u=new _t[e]).init(s,u.rawVars?t[e]:g_(t[e],n,s,o,r),r,n,o)!==!1&&(r._pt=a=new it(r._pt,s,e,0,1,u.render,u,0,u.priority),r!==zi))for(l=r._ptLookup[r._targets.indexOf(s)],f=u._props.length;f--;)l[u._props[f]]=a;return u},kr,Mu,ju=function i(e,t,r){var n=e.vars,s=n.ease,o=n.startAt,u=n.immediateRender,a=n.lazy,l=n.onUpdate,f=n.onUpdateParams,d=n.callbackScope,h=n.runBackwards,c=n.yoyoEase,_=n.keyframes,p=n.autoRevert,g=e._dur,D=e._startAt,m=e._targets,x=e.parent,v=x&&x.data==="nested"?x.vars.targets:m,b=e._overwrite==="auto"&&!Pu,w=e.timeline,C,T,S,F,k,M,V,z,L,O,P,N,A;if(w&&(!_||!s)&&(s="none"),e._ease=ai(s,Ni.ease),e._yEase=c?Wf(ai(c===!0?s:c,Ni.ease)):0,c&&e._yoyo&&!e._repeat&&(c=e._yEase,e._yEase=e._ease,e._ease=c),e._from=!w&&!!n.runBackwards,!w||_&&!n.stagger){if(z=m[0]?Br(m[0]).harness:0,N=z&&n[z.prop],C=Ms(n,zu),D&&(D._zTime<0&&D.progress(1),t<0&&h&&u&&!p?D.render(-1,!0):D.revert(h&&g?ws:Hp),D._lazy=0),o){if(Lr(e._startAt=be.set(m,Bt({data:"isStart",overwrite:!1,parent:x,immediateRender:!0,lazy:!D&&Dt(a),startAt:null,delay:0,onUpdate:l,onUpdateParams:f,callbackScope:d,stagger:0},o))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(Ge||!u&&!p)&&e._startAt.revert(ws),u&&g&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(h&&g&&!D){if(t&&(u=!1),S=Bt({overwrite:!1,data:"isFromStart",lazy:u&&!D&&Dt(a),immediateRender:u,stagger:0,parent:x},C),N&&(S[z.prop]=N),Lr(e._startAt=be.set(m,S)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(Ge?e._startAt.revert(ws):e._startAt.render(-1,!0)),e._zTime=t,!u)i(e._startAt,oe,oe);else if(!t)return}for(e._pt=e._ptCache=0,a=g&&Dt(a)||a&&!g,T=0;T<m.length;T++){if(k=m[T],V=k._gsap||Iu(m)[T]._gsap,e._ptLookup[T]=O={},wu[V.id]&&Rr.length&&As(),P=v===m?T:v.indexOf(k),z&&(L=new z).init(k,N||C,e,P,v)!==!1&&(e._pt=F=new it(e._pt,k,L.name,0,1,L.render,L,0,L.priority),L._props.forEach(function(y){O[y]=F}),L.priority&&(M=1)),!z||N)for(S in C)_t[S]&&(L=Hu(S,C,e,P,k,v))?L.priority&&(M=1):O[S]=F=Xu.call(e,k,S,"get",C[S],P,v,0,n.stringFilter);e._op&&e._op[T]&&e.kill(k,e._op[T]),b&&e._pt&&(kr=e,de.killTweensOf(k,O,e.globalTime(t)),A=!e.parent,kr=0),e._pt&&a&&(wu[V.id]=1)}M&&Gu(e),e._onInit&&e._onInit(e)}e._onUpdate=l,e._initted=(!e._op||e._pt)&&!A,_&&t<=0&&w.render(Pt,!0,!0)},D_=function(e,t,r,n,s,o,u){var a=(e._pt&&e._ptCache||(e._ptCache={}))[t],l,f,d,h;if(!a)for(a=e._ptCache[t]=[],d=e._ptLookup,h=e._targets.length;h--;){if(l=d[h][t],l&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==t&&l.fp!==t;)l=l._next;if(!l)return Mu=1,e.vars[t]="+=0",ju(e,u),Mu=0,1;a.push(l)}for(h=a.length;h--;)f=a[h],l=f._pt||f,l.s=(n||n===0)&&!s?n:l.s+(n||0)+o*l.c,l.c=r-l.s,f.e&&(f.e=xe(r)+Xe(f.e)),f.b&&(f.b=l.s+Xe(f.b))},m_=function(e,t){var r=e[0]?Br(e[0]).harness:0,n=r&&r.aliases,s,o,u,a;if(!n)return t;s=fi({},t);for(o in n)if(o in s)for(a=n[o].split(","),u=a.length;u--;)s[a[u]]=s[o];return s},y_=function(e,t,r,n){var s=t.ease||n||"power1.inOut",o,u;if(Ke(t))u=r[e]||(r[e]=[]),t.forEach(function(a,l){return u.push({t:l/(t.length-1)*100,v:a,e:s})});else for(o in t)u=r[o]||(r[o]=[]),o==="ease"||u.push({t:parseFloat(e),v:t[o],e:s})},Sn=function(e,t,r,n,s){return ye(e)?e.call(t,r,n,s):ke(e)&&~e.indexOf("random(")?Vi(e):e},Xf=Nu+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Hf={};rt(Xf+",id,stagger,delay,duration,paused,scrollTrigger",function(i){return Hf[i]=1});var be=function(i){pf(e,i);function e(r,n,s,o){var u;typeof n=="number"&&(s.duration=n,n=s,s=null),u=i.call(this,o?n:wn(n))||this;var a=u.vars,l=a.duration,f=a.delay,d=a.immediateRender,h=a.stagger,c=a.overwrite,_=a.keyframes,p=a.defaults,g=a.scrollTrigger,D=a.yoyoEase,m=n.parent||de,x=(Ke(r)||gf(r)?Dr(r[0]):"length"in n)?[r]:kt(r),v,b,w,C,T,S,F,k;if(u._targets=x.length?Iu(x):Fs("GSAP target "+r+" not found. https://greensock.com",!mt.nullTargetWarn)||[],u._ptLookup=[],u._overwrite=c,_||h||bs(l)||bs(f)){if(n=u.vars,v=u.timeline=new $e({data:"nested",defaults:p||{},targets:m&&m.data==="nested"?m.vars.targets:x}),v.kill(),v.parent=v._dp=_r(u),v._start=0,h||bs(l)||bs(f)){if(C=x.length,F=h&&Of(h),nr(h))for(T in h)~Xf.indexOf(T)&&(k||(k={}),k[T]=h[T]);for(b=0;b<C;b++)w=Ms(n,Hf),w.stagger=0,D&&(w.yoyoEase=D),k&&fi(w,k),S=x[b],w.duration=+Sn(l,_r(u),b,S,x),w.delay=(+Sn(f,_r(u),b,S,x)||0)-u._delay,!h&&C===1&&w.delay&&(u._delay=f=w.delay,u._start+=f,w.delay=0),v.to(S,w,F?F(b,S,x):0),v._ease=K.none;v.duration()?l=f=0:u.timeline=0}else if(_){wn(Bt(v.vars.defaults,{ease:"none"})),v._ease=ai(_.ease||n.ease||"none");var M=0,V,z,L;if(Ke(_))_.forEach(function(O){return v.to(x,O,">")}),v.duration();else{w={};for(T in _)T==="ease"||T==="easeEach"||y_(T,_[T],w,_.easeEach);for(T in w)for(V=w[T].sort(function(O,P){return O.t-P.t}),M=0,b=0;b<V.length;b++)z=V[b],L={ease:z.e,duration:(z.t-(b?V[b-1].t:0))/100*l},L[T]=z.v,v.to(x,L,M),M+=L.duration;v.duration()<l&&v.to({},{duration:l-v.duration()})}}l||u.duration(l=v.duration())}else u.timeline=0;return c===!0&&!Pu&&(kr=_r(u),de.killTweensOf(x),kr=0),ir(m,_r(u),s),n.reversed&&u.reverse(),n.paused&&u.paused(!0),(d||!l&&!_&&u._start===Ve(m._time)&&Dt(d)&&Kp(_r(u))&&m.data!=="nested")&&(u._tTime=-oe,u.render(Math.max(0,-f)||0)),g&&Tf(_r(u),g),u}var t=e.prototype;return t.render=function(n,s,o){var u=this._time,a=this._tDur,l=this._dur,f=n<0,d=n>a-oe&&!f?a:n<oe?0:n,h,c,_,p,g,D,m,x,v;if(!l)Jp(this,n,s,o);else if(d!==this._tTime||!n||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==f){if(h=d,x=this.timeline,this._repeat){if(p=l+this._rDelay,this._repeat<-1&&f)return this.totalTime(p*100+n,s,o);if(h=Ve(d%p),d===a?(_=this._repeat,h=l):(_=~~(d/p),_&&_===d/p&&(h=l,_--),h>l&&(h=l)),D=this._yoyo&&_&1,D&&(v=this._yEase,h=l-h),g=Ii(this._tTime,p),h===u&&!o&&this._initted)return this._tTime=d,this;_!==g&&(x&&this._yEase&&Yf(x,D),this.vars.repeatRefresh&&!D&&!this._lock&&(this._lock=o=1,this.render(Ve(p*_),!0).invalidate()._lock=0))}if(!this._initted){if(Ff(this,f?n:h,o,s,d))return this._tTime=0,this;if(u!==this._time)return this;if(l!==this._dur)return this.render(n,s,o)}if(this._tTime=d,this._time=h,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=m=(v||this._ease)(h/l),this._from&&(this.ratio=m=1-m),h&&!u&&!s&&!_&&(Rt(this,"onStart"),this._tTime!==d))return this;for(c=this._pt;c;)c.r(m,c.d),c=c._next;x&&x.render(n<0?n:!h&&D?-oe:x._dur*x._ease(h/this._dur),s,o)||this._startAt&&(this._zTime=n),this._onUpdate&&!s&&(f&&Eu(this,n,s,o),Rt(this,"onUpdate")),this._repeat&&_!==g&&this.vars.onRepeat&&!s&&this.parent&&Rt(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(f&&!this._onUpdate&&Eu(this,n,!0,!0),(n||!l)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&Lr(this,1),!s&&!(f&&!u)&&(d||u||D)&&(Rt(this,d===a?"onComplete":"onReverseComplete",!0),this._prom&&!(d<a&&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,s,o,u){Fn||gt.wake(),this._ts||this.play();var a=Math.min(this._dur,(this._dp._time-this._start)*this._ts),l;return this._initted||ju(this,a),l=this._ease(a/this._dur),D_(this,n,s,o,u,l,a)?this.resetTo(n,s,o,u):(zs(this,0),this.parent||Ef(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(n,s){if(s===void 0&&(s="all"),!n&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?Cn(this):this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(n,s,kr&&kr.vars.overwrite!==!0)._first||Cn(this),this.parent&&o!==this.timeline.totalDuration()&&Wi(this,this._dur*this.timeline._tDur/o,0,1),this}var u=this._targets,a=n?kt(n):u,l=this._ptLookup,f=this._pt,d,h,c,_,p,g,D;if((!s||s==="all")&&$p(u,a))return s==="all"&&(this._pt=0),Cn(this);for(d=this._op=this._op||[],s!=="all"&&(ke(s)&&(p={},rt(s,function(m){return p[m]=1}),s=p),s=m_(u,s)),D=u.length;D--;)if(~a.indexOf(u[D])){h=l[D],s==="all"?(d[D]=s,_=h,c={}):(c=d[D]=d[D]||{},_=s);for(p in _)g=h&&h[p],g&&((!("kill"in g.d)||g.d.kill(p)===!0)&&Bs(this,g,"_pt"),delete h[p]),c!=="all"&&(c[p]=1)}return this._initted&&!this._pt&&f&&Cn(this),this},e.to=function(n,s){return new e(n,s,arguments[2])},e.from=function(n,s){return En(1,arguments)},e.delayedCall=function(n,s,o,u){return new e(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:s,onReverseComplete:s,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:u})},e.fromTo=function(n,s,o){return En(2,arguments)},e.set=function(n,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new e(n,s)},e.killTweensOf=function(n,s,o){return de.killTweensOf(n,s,o)},e}(An);Bt(be.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});rt("staggerTo,staggerFrom,staggerFromTo",function(i){be[i]=function(){var e=new $e,t=Tu.call(arguments,0);return t.splice(i==="staggerFromTo"?5:4,0,0),e[i].apply(e,t)}});var Uu=function(e,t,r){return e[t]=r},jf=function(e,t,r){return e[t](r)},x_=function(e,t,r,n){return e[t](n.fp,r)},v_=function(e,t,r){return e.setAttribute(t,r)},Ns=function(e,t){return ye(e[t])?jf:ks(e[t])&&e.setAttribute?v_:Uu},Uf=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},C_=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},qu=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)},$u=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},b_=function(e,t,r,n){for(var s=this._pt,o;s;)o=s._next,s.p===n&&s.modifier(e,t,r),s=o},w_=function(e){for(var t=this._pt,r,n;t;)n=t._next,t.p===e&&!t.op||t.op===e?Bs(this,t,"_pt"):t.dep||(r=1),t=n;return!r},E_=function(e,t,r,n){n.mSet(e,t,n.m.call(n.tween,r,n.mt),n)},Gu=function(e){for(var t=e._pt,r,n,s,o;t;){for(r=t._next,n=s;n&&n.pr>t.pr;)n=n._next;(t._prev=n?n._prev:o)?t._prev._next=t:s=t,(t._next=n)?n._prev=t:o=t,t=r}e._pt=s},it=function(){function i(t,r,n,s,o,u,a,l,f){this.t=r,this.s=s,this.c=o,this.p=n,this.r=u||Uf,this.d=a||this,this.set=l||Uu,this.pr=f||0,this._next=t,t&&(t._prev=this)}var e=i.prototype;return e.modifier=function(r,n,s){this.mSet=this.mSet||this.set,this.set=E_,this.m=r,this.mt=s,this.tween=n},i}();rt(Nu+"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 zu[i]=1});wt.TweenMax=wt.TweenLite=be;wt.TimelineLite=wt.TimelineMax=$e;de=new $e({sortChildren:!1,defaults:Ni,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});mt.stringFilter=Yu;var li=[],Ss={},S_=[],df=0,T_=0,yu=function(e){return(Ss[e]||S_).map(function(t){return t()})},Ou=function(){var e=Date.now(),t=[];e-df>2&&(yu("matchMediaInit"),li.forEach(function(r){var n=r.queries,s=r.conditions,o,u,a,l;for(u in n)o=Ot.matchMedia(n[u]).matches,o&&(a=1),o!==s[u]&&(s[u]=o,l=1);l&&(r.revert(),a&&t.push(r))}),yu("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r)}),df=e,yu("matchMedia"))},qf=function(){function i(t,r){this.selector=r&&Fu(r),this.data=[],this._r=[],this.isReverted=!1,this.id=T_++,t&&this.add(t)}var e=i.prototype;return e.add=function(r,n,s){ye(r)&&(s=n,n=r,r=ye);var o=this,u=function(){var l=me,f=o.selector,d;return l&&l!==o&&l.data.push(o),s&&(o.selector=Fu(s)),me=o,d=n.apply(o,arguments),ye(d)&&o._r.push(d),me=l,o.selector=f,o.isReverted=!1,d};return o.last=u,r===ye?u(o):r?o[r]=u:u},e.ignore=function(r){var n=me;me=null,r(this),me=n},e.getTweens=function(){var r=[];return this.data.forEach(function(n){return n instanceof i?r.push.apply(r,n.getTweens()):n instanceof be&&!(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 s=this;if(r){var o=this.getTweens();this.data.forEach(function(a){a.data==="isFlip"&&(a.revert(),a.getChildren(!0,!0,!1).forEach(function(l){return o.splice(o.indexOf(l),1)}))}),o.map(function(a){return{g:a.globalTime(0),t:a}}).sort(function(a,l){return l.g-a.g||-1/0}).forEach(function(a){return a.t.revert(r)}),this.data.forEach(function(a){return!(a instanceof be)&&a.revert&&a.revert(r)}),this._r.forEach(function(a){return a(r,s)}),this.isReverted=!0}else this.data.forEach(function(a){return a.kill&&a.kill()});if(this.clear(),n)for(var u=li.length;u--;)li[u].id===this.id&&li.splice(u,1)},e.revert=function(r){this.kill(r||{})},i}(),F_=function(){function i(t){this.contexts=[],this.scope=t}var e=i.prototype;return e.add=function(r,n,s){nr(r)||(r={matches:r});var o=new qf(0,s||this.scope),u=o.conditions={},a,l,f;me&&!o.selector&&(o.selector=me.selector),this.contexts.push(o),n=o.add("onMatch",n),o.queries=r;for(l in r)l==="all"?f=1:(a=Ot.matchMedia(r[l]),a&&(li.indexOf(o)<0&&li.push(o),(u[l]=a.matches)&&(f=1),a.addListener?a.addListener(Ou):a.addEventListener("change",Ou)));return f&&n(o),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(n){return n.kill(r,!0)})},i}(),Ps={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 zf(n)})},timeline:function(e){return new $e(e)},getTweensOf:function(e,t){return de.getTweensOf(e,t)},getProperty:function(e,t,r,n){ke(e)&&(e=kt(e)[0]);var s=Br(e||{}).get,o=r?wf:bf;return r==="native"&&(r=""),e&&(t?o((_t[t]&&_t[t].get||s)(e,t,r,n)):function(u,a,l){return o((_t[u]&&_t[u].get||s)(e,u,a,l))})},quickSetter:function(e,t,r){if(e=kt(e),e.length>1){var n=e.map(function(f){return Qe.quickSetter(f,t,r)}),s=n.length;return function(f){for(var d=s;d--;)n[d](f)}}e=e[0]||{};var o=_t[t],u=Br(e),a=u.harness&&(u.harness.aliases||{})[t]||t,l=o?function(f){var d=new o;zi._pt=0,d.init(e,r?f+r:f,zi,0,[e]),d.render(1,d),zi._pt&&$u(1,zi)}:u.set(e,a);return o?l:function(f){return l(e,a,r?f+r:f,u,1)}},quickTo:function(e,t,r){var n,s=Qe.to(e,fi((n={},n[t]="+=0.1",n.paused=!0,n),r||{})),o=function(a,l,f){return s.resetTo(t,a,l,f)};return o.tween=s,o},isTweening:function(e){return de.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=ai(e.ease,Ni.ease)),af(Ni,e||{})},config:function(e){return af(mt,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,n=e.plugins,s=e.defaults,o=e.extendTimeline;(n||"").split(",").forEach(function(u){return u&&!_t[u]&&!wt[u]&&Fs(t+" effect requires "+u+" plugin.")}),_u[t]=function(u,a,l){return r(kt(u),Bt(a||{},s),l)},o&&($e.prototype[t]=function(u,a,l){return this.add(_u[t](u,nr(a)?a:(l=a)&&{},this),l)})},registerEase:function(e,t){K[e]=ai(t)},parseEase:function(e,t){return arguments.length?ai(e,t):K},getById:function(e){return de.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new $e(e),n,s;for(r.smoothChildTiming=Dt(e.smoothChildTiming),de.remove(r),r._dp=0,r._time=r._tTime=de._time,n=de._first;n;)s=n._next,(t||!(!n._dur&&n instanceof be&&n.vars.onComplete===n._targets[0]))&&ir(r,n,n._start-n._delay),n=s;return ir(de,r,0),r},context:function(e,t){return e?new qf(e,t):me},matchMedia:function(e){return new F_(e)},matchMediaRefresh:function(){return li.forEach(function(e){var t=e.conditions,r,n;for(n in t)t[n]&&(t[n]=!1,r=1);r&&e.revert()})||Ou()},addEventListener:function(e,t){var r=Ss[e]||(Ss[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=Ss[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},utils:{wrap:o_,wrapYoyo:u_,distribute:Of,random:kf,snap:Pf,normalize:s_,getUnit:Xe,clamp:t_,splitColor:Nf,toArray:kt,selector:Fu,mapRange:Bf,pipe:i_,unitize:n_,interpolate:a_,shuffle:Mf},install:yf,effects:_u,ticker:gt,updateRoot:$e.updateRoot,plugins:_t,globalTimeline:de,core:{PropTween:it,globals:xf,Tween:be,Timeline:$e,Animation:An,getCache:Br,_removeLinkedListItem:Bs,reverting:function(){return Ge},context:function(e){return e&&me&&(me.data.push(e),e._ctx=me),me},suppressOverwrites:function(e){return Pu=e}}};rt("to,from,fromTo,delayedCall,set,killTweensOf",function(i){return Ps[i]=be[i]});gt.add($e.updateRoot);zi=Ps.to({},{duration:0});var A_=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},M_=function(e,t){var r=e._targets,n,s,o;for(n in t)for(s=r.length;s--;)o=e._ptLookup[s][n],o&&(o=o.d)&&(o._pt&&(o=A_(o,n)),o&&o.modifier&&o.modifier(t[n],e,r[s],n))},xu=function(e,t){return{name:e,rawVars:1,init:function(n,s,o){o._onInit=function(u){var a,l;if(ke(s)&&(a={},rt(s,function(f){return a[f]=1}),s=a),t){a={};for(l in s)a[l]=t(s[l]);s=a}M_(u,s)}}}},Qe=Ps.registerPlugin({name:"attr",init:function(e,t,r,n,s){var o,u,a;this.tween=r;for(o in t)a=e.getAttribute(o)||"",u=this.add(e,"setAttribute",(a||0)+"",t[o],n,s,0,0,o),u.op=o,u.b=a,this._props.push(o)},render:function(e,t){for(var r=t._pt;r;)Ge?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)}},xu("roundProps",Au),xu("modifiers"),xu("snap",Pf))||Ps;be.version=$e.version=Qe.version="3.12.2";mf=1;ku()&&Yi();var O_=K.Power0,P_=K.Power1,k_=K.Power2,R_=K.Power3,B_=K.Power4,L_=K.Linear,z_=K.Quad,N_=K.Cubic,I_=K.Quart,W_=K.Quint,Y_=K.Strong,V_=K.Elastic,X_=K.Back,H_=K.SteppedEase,j_=K.Bounce,U_=K.Sine,q_=K.Expo,$_=K.Circ;var $f,Nr,Hi,ra,Di,G_,Gf,ia,K_=function(){return typeof window!="undefined"},yr={},gi=180/Math.PI,ji=Math.PI/180,Xi=Math.atan2,Kf=1e8,na=/([A-Z])/g,Q_=/(left|right|width|margin|padding|x)/i,J_=/[\s,\(]\S/,sr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Ju=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Z_=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)},e0=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)},t0=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},ic=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},nc=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},r0=function(e,t,r){return e.style[t]=r},i0=function(e,t,r){return e.style.setProperty(t,r)},n0=function(e,t,r){return e._gsap[t]=r},s0=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},o0=function(e,t,r,n,s){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(s,o)},u0=function(e,t,r,n,s){var o=e._gsap;o[t]=r,o.renderTransform(s,o)},pe="transform",qt=pe+"Origin",a0=function i(e,t){var r=this,n=this.target,s=n.style;if(e in yr&&s){if(this.tfm=this.tfm||{},e!=="transform")e=sr[e]||e,~e.indexOf(",")?e.split(",").forEach(function(o){return r.tfm[o]=mr(n,o)}):this.tfm[e]=n._gsap.x?n._gsap[e]:mr(n,e);else return sr.transform.split(",").forEach(function(o){return i.call(r,o,t)});if(this.props.indexOf(pe)>=0)return;n._gsap.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(qt,t,"")),e=pe}(s||t)&&this.props.push(e,t,s[e])},sc=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},l0=function(){var e=this.props,t=this.target,r=t.style,n=t._gsap,s,o;for(s=0;s<e.length;s+=3)e[s+1]?t[e[s]]=e[s+2]:e[s+2]?r[e[s]]=e[s+2]:r.removeProperty(e[s].substr(0,2)==="--"?e[s]:e[s].replace(na,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)n[o]=this.tfm[o];n.svg&&(n.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),s=ia(),(!s||!s.isStart)&&!r[pe]&&(sc(r),n.uncache=1)}},oc=function(e,t){var r={target:e,props:[],revert:l0,save:a0};return e._gsap||Qe.core.getCache(e),t&&t.split(",").forEach(function(n){return r.save(n)}),r},uc,Zu=function(e,t){var r=Nr.createElementNS?Nr.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Nr.createElement(e);return r.style?r:Nr.createElement(e)},or=function i(e,t,r){var n=getComputedStyle(e);return n[t]||n.getPropertyValue(t.replace(na,"-$1").toLowerCase())||n.getPropertyValue(t)||!r&&i(e,Ui(t)||t,1)||""},Qf="O,Moz,ms,Ms,Webkit".split(","),Ui=function(e,t,r){var n=t||Di,s=n.style,o=5;if(e in s&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(Qf[o]+e in s););return o<0?null:(o===3?"ms":o>=0?Qf[o]:"")+e},ea=function(){K_()&&window.document&&($f=window,Nr=$f.document,Hi=Nr.documentElement,Di=Zu("div")||{style:{}},G_=Zu("div"),pe=Ui(pe),qt=pe+"Origin",Di.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",uc=!!Ui("perspective"),ia=Qe.core.reverting,ra=1)},Ku=function i(e){var t=Zu("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,n=this.nextSibling,s=this.style.cssText,o;if(Hi.appendChild(t),t.appendChild(this),this.style.display="block",e)try{o=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=i}catch{}else this._gsapBBox&&(o=this._gsapBBox());return r&&(n?r.insertBefore(this,n):r.appendChild(this)),Hi.removeChild(t),this.style.cssText=s,o},Jf=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},ac=function(e){var t;try{t=e.getBBox()}catch{t=Ku.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===Ku||(t=Ku.call(e,!0)),t&&!t.width&&!t.x&&!t.y?{x:+Jf(e,["x","cx","x1"])||0,y:+Jf(e,["y","cy","y1"])||0,width:0,height:0}:t},lc=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&ac(e))},Pn=function(e,t){if(t){var r=e.style;t in yr&&t!==qt&&(t=pe),r.removeProperty?((t.substr(0,2)==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(t.replace(na,"-$1").toLowerCase())):r.removeAttribute(t)}},Ir=function(e,t,r,n,s,o){var u=new it(e._pt,t,r,0,1,o?nc:ic);return e._pt=u,u.b=n,u.e=s,e._props.push(r),u},Zf={deg:1,rad:1,turn:1},f0={grid:1,flex:1},Wr=function i(e,t,r,n){var s=parseFloat(r)||0,o=(r+"").trim().substr((s+"").length)||"px",u=Di.style,a=Q_.test(t),l=e.tagName.toLowerCase()==="svg",f=(l?"client":"offset")+(a?"Width":"Height"),d=100,h=n==="px",c=n==="%",_,p,g,D;return n===o||!s||Zf[n]||Zf[o]?s:(o!=="px"&&!h&&(s=i(e,t,r,"px")),D=e.getCTM&&lc(e),(c||o==="%")&&(yr[t]||~t.indexOf("adius"))?(_=D?e.getBBox()[a?"width":"height"]:e[f],xe(c?s/_*d:s/100*_)):(u[a?"width":"height"]=d+(h?o:n),p=~t.indexOf("adius")||n==="em"&&e.appendChild&&!l?e:e.parentNode,D&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===Nr||!p.appendChild)&&(p=Nr.body),g=p._gsap,g&&c&&g.width&&a&&g.time===gt.time&&!g.uncache?xe(s/g.width*d):((c||o==="%")&&!f0[or(p,"display")]&&(u.position=or(e,"position")),p===e&&(u.position="static"),p.appendChild(Di),_=Di[f],p.removeChild(Di),u.position="absolute",a&&c&&(g=Br(p),g.time=gt.time,g.width=p[f]),xe(h?_*s/d:_&&s?d/_*s:0))))},mr=function(e,t,r,n){var s;return ra||ea(),t in sr&&t!=="transform"&&(t=sr[t],~t.indexOf(",")&&(t=t.split(",")[0])),yr[t]&&t!=="transform"?(s=Rn(e,n),s=t!=="transformOrigin"?s[t]:s.svg?s.origin:Ws(or(e,qt))+" "+s.zOrigin+"px"):(s=e.style[t],(!s||s==="auto"||n||~(s+"").indexOf("calc("))&&(s=Is[t]&&Is[t](e,t,r)||or(e,t)||Wu(e,t)||(t==="opacity"?1:0))),r&&!~(s+"").trim().indexOf(" ")?Wr(e,t,s,r)+r:s},c0=function(e,t,r,n){if(!r||r==="none"){var s=Ui(t,e,1),o=s&&or(e,s,1);o&&o!==r?(t=s,r=o):t==="borderColor"&&(r=or(e,"borderTopColor"))}var u=new it(this._pt,e.style,t,0,1,qu),a=0,l=0,f,d,h,c,_,p,g,D,m,x,v,b;if(u.b=r,u.e=n,r+="",n+="",n==="auto"&&(e.style[t]=n,n=or(e,t)||n,e.style[t]=r),f=[r,n],Yu(f),r=f[0],n=f[1],h=r.match(ci)||[],b=n.match(ci)||[],b.length){for(;d=ci.exec(n);)g=d[0],m=n.substring(a,d.index),_?_=(_+1)%5:(m.substr(-5)==="rgba("||m.substr(-5)==="hsla(")&&(_=1),g!==(p=h[l++]||"")&&(c=parseFloat(p)||0,v=p.substr((c+"").length),g.charAt(1)==="="&&(g=hi(c,g)+v),D=parseFloat(g),x=g.substr((D+"").length),a=ci.lastIndex-x.length,x||(x=x||mt.units[t]||v,a===n.length&&(n+=x,u.e+=x)),v!==x&&(c=Wr(e,t,p,x)||0),u._pt={_next:u._pt,p:m||l===1?m:",",s:c,c:D-c,m:_&&_<4||t==="zIndex"?Math.round:0});u.c=a<n.length?n.substring(a,n.length):""}else u.r=t==="display"&&n==="none"?nc:ic;return Bu.test(n)&&(u.e=0),this._pt=u,u},ec={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},h0=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]=ec[r]||r,t[1]=ec[n]||n,t.join(" ")},d0=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,n=r.style,s=t.u,o=r._gsap,u,a,l;if(s==="all"||s===!0)n.cssText="",a=1;else for(s=s.split(","),l=s.length;--l>-1;)u=s[l],yr[u]&&(a=1,u=u==="transformOrigin"?qt:pe),Pn(r,u);a&&(Pn(r,pe),o&&(o.svg&&r.removeAttribute("transform"),Rn(r,1),o.uncache=1,sc(n)))}},Is={clearProps:function(e,t,r,n,s){if(s.data!=="isFromStart"){var o=e._pt=new it(e._pt,t,r,0,0,d0);return o.u=n,o.pr=-10,o.tween=s,e._props.push(r),1}}},kn=[1,0,0,1,0,0],fc={},cc=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},tc=function(e){var t=or(e,pe);return cc(t)?kn:t.substr(7).match(Ru).map(xe)},sa=function(e,t){var r=e._gsap||Br(e),n=e.style,s=tc(e),o,u,a,l;return r.svg&&e.getAttribute("transform")?(a=e.transform.baseVal.consolidate().matrix,s=[a.a,a.b,a.c,a.d,a.e,a.f],s.join(",")==="1,0,0,1,0,0"?kn:s):(s===kn&&!e.offsetParent&&e!==Hi&&!r.svg&&(a=n.display,n.display="block",o=e.parentNode,(!o||!e.offsetParent)&&(l=1,u=e.nextElementSibling,Hi.appendChild(e)),s=tc(e),a?n.display=a:Pn(e,"display"),l&&(u?o.insertBefore(e,u):o?o.appendChild(e):Hi.removeChild(e))),t&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},ta=function(e,t,r,n,s,o){var u=e._gsap,a=s||sa(e,!0),l=u.xOrigin||0,f=u.yOrigin||0,d=u.xOffset||0,h=u.yOffset||0,c=a[0],_=a[1],p=a[2],g=a[3],D=a[4],m=a[5],x=t.split(" "),v=parseFloat(x[0])||0,b=parseFloat(x[1])||0,w,C,T,S;r?a!==kn&&(C=c*g-_*p)&&(T=v*(g/C)+b*(-p/C)+(p*m-g*D)/C,S=v*(-_/C)+b*(c/C)-(c*m-_*D)/C,v=T,b=S):(w=ac(e),v=w.x+(~x[0].indexOf("%")?v/100*w.width:v),b=w.y+(~(x[1]||x[0]).indexOf("%")?b/100*w.height:b)),n||n!==!1&&u.smooth?(D=v-l,m=b-f,u.xOffset=d+(D*c+m*p)-D,u.yOffset=h+(D*_+m*g)-m):u.xOffset=u.yOffset=0,u.xOrigin=v,u.yOrigin=b,u.smooth=!!n,u.origin=t,u.originIsAbsolute=!!r,e.style[qt]="0px 0px",o&&(Ir(o,u,"xOrigin",l,v),Ir(o,u,"yOrigin",f,b),Ir(o,u,"xOffset",d,u.xOffset),Ir(o,u,"yOffset",h,u.yOffset)),e.setAttribute("data-svg-origin",v+" "+b)},Rn=function(e,t){var r=e._gsap||new Vu(e);if("x"in r&&!t&&!r.uncache)return r;var n=e.style,s=r.scaleX<0,o="px",u="deg",a=getComputedStyle(e),l=or(e,qt)||"0",f,d,h,c,_,p,g,D,m,x,v,b,w,C,T,S,F,k,M,V,z,L,O,P,N,A,y,Y,ue,fe,$,X;return f=d=h=p=g=D=m=x=v=0,c=_=1,r.svg=!!(e.getCTM&&lc(e)),a.translate&&((a.translate!=="none"||a.scale!=="none"||a.rotate!=="none")&&(n[pe]=(a.translate!=="none"?"translate3d("+(a.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(a.rotate!=="none"?"rotate("+a.rotate+") ":"")+(a.scale!=="none"?"scale("+a.scale.split(" ").join(",")+") ":"")+(a[pe]!=="none"?a[pe]:"")),n.scale=n.rotate=n.translate="none"),C=sa(e,r.svg),r.svg&&(r.uncache?(N=e.getBBox(),l=r.xOrigin-N.x+"px "+(r.yOrigin-N.y)+"px",P=""):P=!t&&e.getAttribute("data-svg-origin"),ta(e,P||l,!!P||r.originIsAbsolute,r.smooth!==!1,C)),b=r.xOrigin||0,w=r.yOrigin||0,C!==kn&&(k=C[0],M=C[1],V=C[2],z=C[3],f=L=C[4],d=O=C[5],C.length===6?(c=Math.sqrt(k*k+M*M),_=Math.sqrt(z*z+V*V),p=k||M?Xi(M,k)*gi:0,m=V||z?Xi(V,z)*gi+p:0,m&&(_*=Math.abs(Math.cos(m*ji))),r.svg&&(f-=b-(b*k+w*V),d-=w-(b*M+w*z))):(X=C[6],fe=C[7],y=C[8],Y=C[9],ue=C[10],$=C[11],f=C[12],d=C[13],h=C[14],T=Xi(X,ue),g=T*gi,T&&(S=Math.cos(-T),F=Math.sin(-T),P=L*S+y*F,N=O*S+Y*F,A=X*S+ue*F,y=L*-F+y*S,Y=O*-F+Y*S,ue=X*-F+ue*S,$=fe*-F+$*S,L=P,O=N,X=A),T=Xi(-V,ue),D=T*gi,T&&(S=Math.cos(-T),F=Math.sin(-T),P=k*S-y*F,N=M*S-Y*F,A=V*S-ue*F,$=z*F+$*S,k=P,M=N,V=A),T=Xi(M,k),p=T*gi,T&&(S=Math.cos(T),F=Math.sin(T),P=k*S+M*F,N=L*S+O*F,M=M*S-k*F,O=O*S-L*F,k=P,L=N),g&&Math.abs(g)+Math.abs(p)>359.9&&(g=p=0,D=180-D),c=xe(Math.sqrt(k*k+M*M+V*V)),_=xe(Math.sqrt(O*O+X*X)),T=Xi(L,O),m=Math.abs(T)>2e-4?T*gi:0,v=$?1/($<0?-$:$):0),r.svg&&(P=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!cc(or(e,pe)),P&&e.setAttribute("transform",P))),Math.abs(m)>90&&Math.abs(m)<270&&(s?(c*=-1,m+=p<=0?180:-180,p+=p<=0?180:-180):(_*=-1,m+=m<=0?180:-180)),t=t||r.uncache,r.x=f-((r.xPercent=f&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-f)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+o,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)+o,r.z=h+o,r.scaleX=xe(c),r.scaleY=xe(_),r.rotation=xe(p)+u,r.rotationX=xe(g)+u,r.rotationY=xe(D)+u,r.skewX=m+u,r.skewY=x+u,r.transformPerspective=v+o,(r.zOrigin=parseFloat(l.split(" ")[2])||0)&&(n[qt]=Ws(l)),r.xOffset=r.yOffset=0,r.force3D=mt.force3D,r.renderTransform=r.svg?_0:uc?hc:p0,r.uncache=0,r},Ws=function(e){return(e=e.split(" "))[0]+" "+e[1]},Qu=function(e,t,r){var n=Xe(t);return xe(parseFloat(t)+parseFloat(Wr(e,"x",r+"px",n)))+n},p0=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,hc(e,t)},pi="0deg",On="0px",_i=") ",hc=function(e,t){var r=t||this,n=r.xPercent,s=r.yPercent,o=r.x,u=r.y,a=r.z,l=r.rotation,f=r.rotationY,d=r.rotationX,h=r.skewX,c=r.skewY,_=r.scaleX,p=r.scaleY,g=r.transformPerspective,D=r.force3D,m=r.target,x=r.zOrigin,v="",b=D==="auto"&&e&&e!==1||D===!0;if(x&&(d!==pi||f!==pi)){var w=parseFloat(f)*ji,C=Math.sin(w),T=Math.cos(w),S;w=parseFloat(d)*ji,S=Math.cos(w),o=Qu(m,o,C*S*-x),u=Qu(m,u,-Math.sin(w)*-x),a=Qu(m,a,T*S*-x+x)}g!==On&&(v+="perspective("+g+_i),(n||s)&&(v+="translate("+n+"%, "+s+"%) "),(b||o!==On||u!==On||a!==On)&&(v+=a!==On||b?"translate3d("+o+", "+u+", "+a+") ":"translate("+o+", "+u+_i),l!==pi&&(v+="rotate("+l+_i),f!==pi&&(v+="rotateY("+f+_i),d!==pi&&(v+="rotateX("+d+_i),(h!==pi||c!==pi)&&(v+="skew("+h+", "+c+_i),(_!==1||p!==1)&&(v+="scale("+_+", "+p+_i),m.style[pe]=v||"translate(0, 0)"},_0=function(e,t){var r=t||this,n=r.xPercent,s=r.yPercent,o=r.x,u=r.y,a=r.rotation,l=r.skewX,f=r.skewY,d=r.scaleX,h=r.scaleY,c=r.target,_=r.xOrigin,p=r.yOrigin,g=r.xOffset,D=r.yOffset,m=r.forceCSS,x=parseFloat(o),v=parseFloat(u),b,w,C,T,S;a=parseFloat(a),l=parseFloat(l),f=parseFloat(f),f&&(f=parseFloat(f),l+=f,a+=f),a||l?(a*=ji,l*=ji,b=Math.cos(a)*d,w=Math.sin(a)*d,C=Math.sin(a-l)*-h,T=Math.cos(a-l)*h,l&&(f*=ji,S=Math.tan(l-f),S=Math.sqrt(1+S*S),C*=S,T*=S,f&&(S=Math.tan(f),S=Math.sqrt(1+S*S),b*=S,w*=S)),b=xe(b),w=xe(w),C=xe(C),T=xe(T)):(b=d,T=h,w=C=0),(x&&!~(o+"").indexOf("px")||v&&!~(u+"").indexOf("px"))&&(x=Wr(c,"x",o,"px"),v=Wr(c,"y",u,"px")),(_||p||g||D)&&(x=xe(x+_-(_*b+p*C)+g),v=xe(v+p-(_*w+p*T)+D)),(n||s)&&(S=c.getBBox(),x=xe(x+n/100*S.width),v=xe(v+s/100*S.height)),S="matrix("+b+","+w+","+C+","+T+","+x+","+v+")",c.setAttribute("transform",S),m&&(c.style[pe]=S)},g0=function(e,t,r,n,s){var o=360,u=ke(s),a=parseFloat(s)*(u&&~s.indexOf("rad")?gi:1),l=a-n,f=n+l+"deg",d,h;return u&&(d=s.split("_")[1],d==="short"&&(l%=o,l!==l%(o/2)&&(l+=l<0?o:-o)),d==="cw"&&l<0?l=(l+o*Kf)%o-~~(l/o)*o:d==="ccw"&&l>0&&(l=(l-o*Kf)%o-~~(l/o)*o)),e._pt=h=new it(e._pt,t,r,n,l,Z_),h.e=f,h.u="deg",e._props.push(r),h},rc=function(e,t){for(var r in t)e[r]=t[r];return e},D0=function(e,t,r){var n=rc({},r._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=r.style,u,a,l,f,d,h,c,_;n.svg?(l=r.getAttribute("transform"),r.setAttribute("transform",""),o[pe]=t,u=Rn(r,1),Pn(r,pe),r.setAttribute("transform",l)):(l=getComputedStyle(r)[pe],o[pe]=t,u=Rn(r,1),o[pe]=l);for(a in yr)l=n[a],f=u[a],l!==f&&s.indexOf(a)<0&&(c=Xe(l),_=Xe(f),d=c!==_?Wr(r,a,l,_):parseFloat(l),h=parseFloat(f),e._pt=new it(e._pt,u,a,d,h-d,Ju),e._pt.u=_||0,e._props.push(a));rc(u,n)};rt("padding,margin,Width,Radius",function(i,e){var t="Top",r="Right",n="Bottom",s="Left",o=(e<3?[t,r,n,s]:[t+s,t+r,n+r,n+s]).map(function(u){return e<2?i+u:"border"+u+i});Is[e>1?"border"+i:i]=function(u,a,l,f,d){var h,c;if(arguments.length<4)return h=o.map(function(_){return mr(u,_,l)}),c=h.join(" "),c.split(h[0]).length===5?h[0]:c;h=(f+"").split(" "),c={},o.forEach(function(_,p){return c[_]=h[p]=h[p]||h[(p-1)/2|0]}),u.init(a,c,d)}});var oa={name:"css",register:ea,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,n,s){var o=this._props,u=e.style,a=r.vars.startAt,l,f,d,h,c,_,p,g,D,m,x,v,b,w,C,T;ra||ea(),this.styles=this.styles||oc(e),T=this.styles.props,this.tween=r;for(p in t)if(p!=="autoRound"&&(f=t[p],!(_t[p]&&Hu(p,t,r,n,e,s)))){if(c=typeof f,_=Is[p],c==="function"&&(f=f.call(r,n,e,s),c=typeof f),c==="string"&&~f.indexOf("random(")&&(f=Vi(f)),_)_(this,e,p,f,r)&&(C=1);else if(p.substr(0,2)==="--")l=(getComputedStyle(e).getPropertyValue(p)+"").trim(),f+="",gr.lastIndex=0,gr.test(l)||(g=Xe(l),D=Xe(f)),D?g!==D&&(l=Wr(e,p,l,D)+D):g&&(f+=g),this.add(u,"setProperty",l,f,n,s,0,0,p),o.push(p),T.push(p,0,u[p]);else if(c!=="undefined"){if(a&&p in a?(l=typeof a[p]=="function"?a[p].call(r,n,e,s):a[p],ke(l)&&~l.indexOf("random(")&&(l=Vi(l)),Xe(l+"")||(l+=mt.units[p]||Xe(mr(e,p))||""),(l+"").charAt(1)==="="&&(l=mr(e,p))):l=mr(e,p),h=parseFloat(l),m=c==="string"&&f.charAt(1)==="="&&f.substr(0,2),m&&(f=f.substr(2)),d=parseFloat(f),p in sr&&(p==="autoAlpha"&&(h===1&&mr(e,"visibility")==="hidden"&&d&&(h=0),T.push("visibility",0,u.visibility),Ir(this,u,"visibility",h?"inherit":"hidden",d?"inherit":"hidden",!d)),p!=="scale"&&p!=="transform"&&(p=sr[p],~p.indexOf(",")&&(p=p.split(",")[0]))),x=p in yr,x){if(this.styles.save(p),v||(b=e._gsap,b.renderTransform&&!t.parseTransform||Rn(e,t.parseTransform),w=t.smoothOrigin!==!1&&b.smooth,v=this._pt=new it(this._pt,u,pe,0,1,b.renderTransform,b,0,-1),v.dep=1),p==="scale")this._pt=new it(this._pt,b,"scaleY",b.scaleY,(m?hi(b.scaleY,m+d):d)-b.scaleY||0,Ju),this._pt.u=0,o.push("scaleY",p),p+="X";else if(p==="transformOrigin"){T.push(qt,0,u[qt]),f=h0(f),b.svg?ta(e,f,0,w,0,this):(D=parseFloat(f.split(" ")[2])||0,D!==b.zOrigin&&Ir(this,b,"zOrigin",b.zOrigin,D),Ir(this,u,p,Ws(l),Ws(f)));continue}else if(p==="svgOrigin"){ta(e,f,1,w,0,this);continue}else if(p in fc){g0(this,b,p,h,m?hi(h,m+f):f);continue}else if(p==="smoothOrigin"){Ir(this,b,"smooth",b.smooth,f);continue}else if(p==="force3D"){b[p]=f;continue}else if(p==="transform"){D0(this,f,e);continue}}else p in u||(p=Ui(p)||p);if(x||(d||d===0)&&(h||h===0)&&!J_.test(f)&&p in u)g=(l+"").substr((h+"").length),d||(d=0),D=Xe(f)||(p in mt.units?mt.units[p]:g),g!==D&&(h=Wr(e,p,l,D)),this._pt=new it(this._pt,x?b:u,p,h,(m?hi(h,m+d):d)-h,!x&&(D==="px"||p==="zIndex")&&t.autoRound!==!1?t0:Ju),this._pt.u=D||0,g!==D&&D!=="%"&&(this._pt.b=l,this._pt.r=e0);else if(p in u)c0.call(this,e,p,l,m?m+f:f);else if(p in e)this.add(e,p,l||e[p],m?m+f:f,n,s);else if(p!=="parseTransform"){Rs(p,f);continue}x||(p in u?T.push(p,0,u[p]):T.push(p,1,l||e[p])),o.push(p)}}C&&Gu(this)},render:function(e,t){if(t.tween._time||!ia())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:mr,aliases:sr,getSetter:function(e,t,r){var n=sr[t];return n&&n.indexOf(",")<0&&(t=n),t in yr&&t!==qt&&(e._gsap.x||mr(e,"x"))?r&&Gf===r?t==="scale"?s0:n0:(Gf=r||{})&&(t==="scale"?o0:u0):e.style&&!ks(e.style[t])?r0:~t.indexOf("-")?i0:Ns(e,t)},core:{_removeProperty:Pn,_getMatrix:sa}};Qe.utils.checkPrefix=Ui;Qe.core.getStyleSaver=oc;(function(i,e,t,r){var n=rt(i+","+e+","+t,function(s){yr[s]=1});rt(e,function(s){mt.units[s]="deg",fc[s]=1}),sr[n[13]]=i+","+e,rt(r,function(s){var o=s.split(":");sr[o[1]]=n[o[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");rt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(i){mt.units[i]="px"});Qe.registerPlugin(oa);var Et=Qe.registerPlugin(oa)||Qe,Fg=Et.core.Tween;function dc(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 m0(i,e,t){return e&&dc(i.prototype,e),t&&dc(i,t),i}var He,ua,y0,St,Yr,Vr,$i,_c,mi,Ln,gc,xr,$t,Dc,mc=function(){return He||typeof window!="undefined"&&(He=window.gsap)&&He.registerPlugin&&He},yc=1,qi=[],U=[],Gt=[],zn=Date.now,aa=function(e,t){return t},x0=function(){var e=Ln.core,t=e.bridge||{},r=e._scrollers,n=e._proxies;r.push.apply(r,U),n.push.apply(n,Gt),U=r,Gt=n,aa=function(o,u){return t[o](u)}},Cr=function(e,t){return~Gt.indexOf(e)&&Gt[Gt.indexOf(e)+1][t]},Nn=function(e){return!!~gc.indexOf(e)},st=function(e,t,r,n,s){return e.addEventListener(t,r,{passive:!n,capture:!!s})},nt=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},Ys="scrollLeft",Vs="scrollTop",la=function(){return xr&&xr.isPressed||U.cache++},Xs=function(e,t){var r=function n(s){if(s||s===0){yc&&(St.history.scrollRestoration="manual");var o=xr&&xr.isPressed;s=n.v=Math.round(s)||(xr&&xr.iOS?1:0),e(s),n.cacheID=U.cache,o&&aa("ss",s)}else(t||U.cache!==n.cacheID||aa("ref"))&&(n.cacheID=U.cache,n.v=e());return n.v+n.offset};return r.offset=0,e&&r},Je={s:Ys,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Xs(function(i){return arguments.length?St.scrollTo(i,Ae.sc()):St.pageXOffset||Yr[Ys]||Vr[Ys]||$i[Ys]||0})},Ae={s:Vs,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Je,sc:Xs(function(i){return arguments.length?St.scrollTo(Je.sc(),i):St.pageYOffset||Yr[Vs]||Vr[Vs]||$i[Vs]||0})},ot=function(e,t){return(t&&t._ctx&&t._ctx.selector||He.utils.toArray)(e)[0]||(typeof e=="string"&&He.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},vr=function(e,t){var r=t.s,n=t.sc;Nn(e)&&(e=Yr.scrollingElement||Vr);var s=U.indexOf(e),o=n===Ae.sc?1:2;!~s&&(s=U.push(e)-1),U[s+o]||st(e,"scroll",la);var u=U[s+o],a=u||(U[s+o]=Xs(Cr(e,r),!0)||(Nn(e)?n:Xs(function(l){return arguments.length?e[r]=l:e[r]})));return a.target=e,u||(a.smooth=He.getProperty(e,"scrollBehavior")==="smooth"),a},Hs=function(e,t,r){var n=e,s=e,o=zn(),u=o,a=t||50,l=Math.max(500,a*3),f=function(_,p){var g=zn();p||g-o>a?(s=n,n=_,u=o,o=g):r?n+=_:n=s+(_-s)/(g-u)*(o-u)},d=function(){s=n=r?0:n,u=o=0},h=function(_){var p=u,g=s,D=zn();return(_||_===0)&&_!==n&&f(_),o===u||D-u>l?0:(n+(r?g:-g))/((r?D:o)-p)*1e3};return{update:f,reset:d,getVelocity:h}},Bn=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},pc=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},xc=function(){Ln=He.core.globals().ScrollTrigger,Ln&&Ln.core&&x0()},vc=function(e){return He=e||mc(),He&&typeof document!="undefined"&&document.body&&(St=window,Yr=document,Vr=Yr.documentElement,$i=Yr.body,gc=[St,Yr,Vr,$i],y0=He.utils.clamp,Dc=He.core.context||function(){},mi="onpointerenter"in $i?"pointer":"mouse",_c=we.isTouch=St.matchMedia&&St.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in St||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,$t=we.eventTypes=("ontouchstart"in Vr?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Vr?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return yc=0},500),xc(),ua=1),ua};Je.op=Ae;U.cache=0;var we=function(){function i(t){this.init(t)}var e=i.prototype;return e.init=function(r){ua||vc(He)||console.warn("Please gsap.registerPlugin(Observer)"),Ln||xc();var n=r.tolerance,s=r.dragMinimum,o=r.type,u=r.target,a=r.lineHeight,l=r.debounce,f=r.preventDefault,d=r.onStop,h=r.onStopDelay,c=r.ignore,_=r.wheelSpeed,p=r.event,g=r.onDragStart,D=r.onDragEnd,m=r.onDrag,x=r.onPress,v=r.onRelease,b=r.onRight,w=r.onLeft,C=r.onUp,T=r.onDown,S=r.onChangeX,F=r.onChangeY,k=r.onChange,M=r.onToggleX,V=r.onToggleY,z=r.onHover,L=r.onHoverEnd,O=r.onMove,P=r.ignoreCheck,N=r.isNormalizer,A=r.onGestureStart,y=r.onGestureEnd,Y=r.onWheel,ue=r.onEnable,fe=r.onDisable,$=r.onClick,X=r.scrollSpeed,Ee=r.capture,Z=r.allowClicks,Ne=r.lockAxis,Re=r.onLockAxis;this.target=u=ot(u)||Vr,this.vars=r,c&&(c=He.utils.toArray(c)),n=n||1e-9,s=s||0,_=_||1,X=X||1,o=o||"wheel,touch,pointer",l=l!==!1,a||(a=parseFloat(St.getComputedStyle($i).lineHeight)||22);var ge,ht,Qt,re,Se,dt,xt,E=this,vt=0,fr=0,Ur=vr(u,Je),Te=vr(u,Ae),qr=Ur(),$r=Te(),un=~o.indexOf("touch")&&!~o.indexOf("pointer")&&$t[0]==="pointerdown",Ie=Nn(u),ve=u.ownerDocument||Yr,It=[0,0,0],Wt=[0,0,0],Gr=0,cr=function(){return Gr=zn()},Jt=function(I,ie){return(E.event=I)&&c&&~c.indexOf(I.target)||ie&&un&&I.pointerType!=="touch"||P&&P(I,ie)},pt=function(){E._vx.reset(),E._vy.reset(),ht.pause(),d&&d(E)},Kr=function(){var I=E.deltaX=pc(It),ie=E.deltaY=pc(Wt),De=Math.abs(I)>=n,R=Math.abs(ie)>=n;k&&(De||R)&&k(E,I,ie,It,Wt),De&&(b&&E.deltaX>0&&b(E),w&&E.deltaX<0&&w(E),S&&S(E),M&&E.deltaX<0!=vt<0&&M(E),vt=E.deltaX,It[0]=It[1]=It[2]=0),R&&(T&&E.deltaY>0&&T(E),C&&E.deltaY<0&&C(E),F&&F(E),V&&E.deltaY<0!=fr<0&&V(E),fr=E.deltaY,Wt[0]=Wt[1]=Wt[2]=0),(re||Qt)&&(O&&O(E),Qt&&(m(E),Qt=!1),re=!1),dt&&!(dt=!1)&&Re&&Re(E),Se&&(Y(E),Se=!1),ge=0},Ai=function(I,ie,De){It[De]+=I,Wt[De]+=ie,E._vx.update(I),E._vy.update(ie),l?ge||(ge=requestAnimationFrame(Kr)):Kr()},Mi=function(I,ie){Ne&&!xt&&(E.axis=xt=Math.abs(I)>Math.abs(ie)?"x":"y",dt=!0),xt!=="y"&&(It[2]+=I,E._vx.update(I,!0)),xt!=="x"&&(Wt[2]+=ie,E._vy.update(ie,!0)),l?ge||(ge=requestAnimationFrame(Kr)):Kr()},Qr=function(I){if(!Jt(I,1)){I=Bn(I,f);var ie=I.clientX,De=I.clientY,R=ie-E.x,J=De-E.y,W=E.isDragging;E.x=ie,E.y=De,(W||Math.abs(E.startX-ie)>=s||Math.abs(E.startY-De)>=s)&&(m&&(Qt=!0),W||(E.isDragging=!0),Mi(R,J),W||g&&g(E))}},Tr=E.onPress=function(H){Jt(H,1)||H&&H.button||(E.axis=xt=null,ht.pause(),E.isPressed=!0,H=Bn(H),vt=fr=0,E.startX=E.x=H.clientX,E.startY=E.y=H.clientY,E._vx.reset(),E._vy.reset(),st(N?u:ve,$t[1],Qr,f,!0),E.deltaX=E.deltaY=0,x&&x(E))},Fr=E.onRelease=function(H){if(!Jt(H,1)){nt(N?u:ve,$t[1],Qr,!0);var I=!isNaN(E.y-E.startY),ie=E.isDragging&&(Math.abs(E.x-E.startX)>3||Math.abs(E.y-E.startY)>3),De=Bn(H);!ie&&I&&(E._vx.reset(),E._vy.reset(),f&&Z&&He.delayedCall(.08,function(){if(zn()-Gr>300&&!H.defaultPrevented){if(H.target.click)H.target.click();else if(ve.createEvent){var R=ve.createEvent("MouseEvents");R.initMouseEvent("click",!0,!0,St,1,De.screenX,De.screenY,De.clientX,De.clientY,!1,!1,!1,!1,0,null),H.target.dispatchEvent(R)}}})),E.isDragging=E.isGesturing=E.isPressed=!1,d&&!N&&ht.restart(!0),D&&ie&&D(E),v&&v(E,ie)}},ee=function(I){return I.touches&&I.touches.length>1&&(E.isGesturing=!0)&&A(I,E.isDragging)},Jr=function(){return(E.isGesturing=!1)||y(E)},Yt=function(I){if(!Jt(I)){var ie=Ur(),De=Te();Ai((ie-qr)*X,(De-$r)*X,1),qr=ie,$r=De,d&&ht.restart(!0)}},Vt=function(I){if(!Jt(I)){I=Bn(I,f),Y&&(Se=!0);var ie=(I.deltaMode===1?a:I.deltaMode===2?St.innerHeight:1)*_;Ai(I.deltaX*ie,I.deltaY*ie,0),d&&!N&&ht.restart(!0)}},Xt=function(I){if(!Jt(I)){var ie=I.clientX,De=I.clientY,R=ie-E.x,J=De-E.y;E.x=ie,E.y=De,re=!0,(R||J)&&Mi(R,J)}},Zr=function(I){E.event=I,z(E)},Oi=function(I){E.event=I,L(E)},hr=function(I){return Jt(I)||Bn(I,f)&&$(E)};ht=E._dc=He.delayedCall(h||.25,pt).pause(),E.deltaX=E.deltaY=0,E._vx=Hs(0,50,!0),E._vy=Hs(0,50,!0),E.scrollX=Ur,E.scrollY=Te,E.isDragging=E.isGesturing=E.isPressed=!1,Dc(this),E.enable=function(H){return E.isEnabled||(st(Ie?ve:u,"scroll",la),o.indexOf("scroll")>=0&&st(Ie?ve:u,"scroll",Yt,f,Ee),o.indexOf("wheel")>=0&&st(u,"wheel",Vt,f,Ee),(o.indexOf("touch")>=0&&_c||o.indexOf("pointer")>=0)&&(st(u,$t[0],Tr,f,Ee),st(ve,$t[2],Fr),st(ve,$t[3],Fr),Z&&st(u,"click",cr,!1,!0),$&&st(u,"click",hr),A&&st(ve,"gesturestart",ee),y&&st(ve,"gestureend",Jr),z&&st(u,mi+"enter",Zr),L&&st(u,mi+"leave",Oi),O&&st(u,mi+"move",Xt)),E.isEnabled=!0,H&&H.type&&Tr(H),ue&&ue(E)),E},E.disable=function(){E.isEnabled&&(qi.filter(function(H){return H!==E&&Nn(H.target)}).length||nt(Ie?ve:u,"scroll",la),E.isPressed&&(E._vx.reset(),E._vy.reset(),nt(N?u:ve,$t[1],Qr,!0)),nt(Ie?ve:u,"scroll",Yt,Ee),nt(u,"wheel",Vt,Ee),nt(u,$t[0],Tr,Ee),nt(ve,$t[2],Fr),nt(ve,$t[3],Fr),nt(u,"click",cr,!0),nt(u,"click",hr),nt(ve,"gesturestart",ee),nt(ve,"gestureend",Jr),nt(u,mi+"enter",Zr),nt(u,mi+"leave",Oi),nt(u,mi+"move",Xt),E.isEnabled=E.isPressed=E.isDragging=!1,fe&&fe(E))},E.kill=E.revert=function(){E.disable();var H=qi.indexOf(E);H>=0&&qi.splice(H,1),xr===E&&(xr=0)},qi.push(E),N&&Nn(u)&&(xr=E),E.enable(p)},m0(i,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),i}();we.version="3.12.2";we.create=function(i){return new we(i)};we.register=vc;we.getAll=function(){return qi.slice()};we.getById=function(i){return qi.filter(function(e){return e.vars.id===i})[0]};mc()&&He.registerPlugin(we);var B,Qi,Q,_e,Kt,le,Nc,ao,lo,Zi,to,js,Ze,co,Da,ut,Cc,bc,Ji,Ic,fa,Wc,Tt,Yc,Vc,Xc,Xr,ma,ba,en,wa,ca,Us=1,lt=Date.now,ha=lt(),Nt=0,Wn=0,wc=function(e,t,r){var n=At(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=n,n?e.substr(6,e.length-7):e},Ec=function(e,t){return t&&(!At(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},v0=function i(){return Wn&&requestAnimationFrame(i)},Sc=function(){return co=1},Tc=function(){return co=0},ur=function(e){return e},Yn=function(e){return Math.round(e*1e5)/1e5||0},Hc=function(){return typeof window!="undefined"},jc=function(){return B||Hc()&&(B=window.gsap)&&B.registerPlugin&&B},wi=function(e){return!!~Nc.indexOf(e)},Uc=function(e){return(e==="Height"?wa:Q["inner"+e])||Kt["client"+e]||le["client"+e]},qc=function(e){return Cr(e,"getBoundingClientRect")||(wi(e)?function(){return uo.width=Q.innerWidth,uo.height=wa,uo}:function(){return br(e)})},C0=function(e,t,r){var n=r.d,s=r.d2,o=r.a;return(o=Cr(e,"getBoundingClientRect"))?function(){return o()[n]}:function(){return(t?Uc(s):e["client"+s])||0}},b0=function(e,t){return!t||~Gt.indexOf(e)?qc(e):function(){return uo}},wr=function(e,t){var r=t.s,n=t.d2,s=t.d,o=t.a;return Math.max(0,(r="scroll"+n)&&(o=Cr(e,r))?o()-qc(e)()[s]:wi(e)?(Kt[r]||le[r])-Uc(n):e[r]-e["offset"+n])},qs=function(e,t){for(var r=0;r<Ji.length;r+=3)(!t||~t.indexOf(Ji[r+1]))&&e(Ji[r],Ji[r+1],Ji[r+2])},At=function(e){return typeof e=="string"},ft=function(e){return typeof e=="function"},ro=function(e){return typeof e=="number"},yi=function(e){return typeof e=="object"},In=function(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()},da=function(e,t){if(e.enabled){var r=t(e);r&&r.totalTime&&(e.callbackAnimation=r)}},Gi=Math.abs,$c="left",Gc="top",Ea="right",Sa="bottom",vi="width",Ci="height",Xn="Right",Hn="Left",jn="Top",Un="Bottom",Me="padding",Lt="margin",rn="Width",Ta="Height",je="px",zt=function(e){return Q.getComputedStyle(e)},w0=function(e){var t=zt(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative"},Fc=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},br=function(e,t){var r=t&&zt(e)[Da]!=="matrix(1, 0, 0, 1, 0, 0)"&&B.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},Kc=function(e){var t=[],r=e.labels,n=e.duration(),s;for(s in r)t.push(r[s]/n);return t},E0=function(e){return function(t){return B.utils.snap(Kc(e),t)}},Fa=function(e){var t=B.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(n,s){return n-s});return r?function(n,s,o){o===void 0&&(o=.001);var u;if(!s)return t(n);if(s>0){for(n-=o,u=0;u<r.length;u++)if(r[u]>=n)return r[u];return r[u-1]}else for(u=r.length,n+=o;u--;)if(r[u]<=n)return r[u];return r[0]}:function(n,s,o){o===void 0&&(o=.001);var u=t(n);return!s||Math.abs(u-n)<o||u-n<0==s<0?u:t(s<0?n-e:n+e)}},S0=function(e){return function(t,r){return Fa(Kc(e))(t,r.direction)}},$s=function(e,t,r,n){return r.split(",").forEach(function(s){return e(t,s,n)})},ze=function(e,t,r,n,s){return e.addEventListener(t,r,{passive:!n,capture:!!s})},Le=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},Gs=function(e,t,r){r=r&&r.wheelHandler,r&&(e(t,"wheel",r),e(t,"touchmove",r))},Ac={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Ks={toggleActions:"play",anticipatePin:0},fo={top:0,left:0,center:.5,bottom:1,right:1},io=function(e,t){if(At(e)){var r=e.indexOf("="),n=~r?+(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(n*=t/100),e=e.substr(0,r-1)),e=n+(e in fo?fo[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},Qs=function(e,t,r,n,s,o,u,a){var l=s.startColor,f=s.endColor,d=s.fontSize,h=s.indent,c=s.fontWeight,_=_e.createElement("div"),p=wi(r)||Cr(r,"pinType")==="fixed",g=e.indexOf("scroller")!==-1,D=p?le:r,m=e.indexOf("start")!==-1,x=m?l:f,v="border-color:"+x+";font-size:"+d+";color:"+x+";font-weight:"+c+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return v+="position:"+((g||a)&&p?"fixed;":"absolute;"),(g||a||!p)&&(v+=(n===Ae?Ea:Sa)+":"+(o+parseFloat(h))+"px;"),u&&(v+="box-sizing:border-box;text-align:left;width:"+u.offsetWidth+"px;"),_._isStart=m,_.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),_.style.cssText=v,_.innerText=t||t===0?e+"-"+t:e,D.children[0]?D.insertBefore(_,D.children[0]):D.appendChild(_),_._offset=_["offset"+n.op.d2],no(_,0,n,m),_},no=function(e,t,r,n){var s={display:"block"},o=r[n?"os2":"p2"],u=r[n?"p2":"os2"];e._isFlipped=n,s[r.a+"Percent"]=n?-100:0,s[r.a]=n?"1px":0,s["border"+o+rn]=1,s["border"+u+rn]=0,s[r.p]=t+"px",B.set(e,s)},q=[],xa={},$n,Mc=function(){return lt()-Nt>34&&($n||($n=requestAnimationFrame(Er)))},Ki=function(){(!Tt||!Tt.isPressed||Tt.startX>le.clientWidth)&&(U.cache++,Tt?$n||($n=requestAnimationFrame(Er)):Er(),Nt||Si("scrollStart"),Nt=lt())},pa=function(){Xc=Q.innerWidth,Vc=Q.innerHeight},Vn=function(){U.cache++,!Ze&&!Wc&&!_e.fullscreenElement&&!_e.webkitFullscreenElement&&(!Yc||Xc!==Q.innerWidth||Math.abs(Q.innerHeight-Vc)>Q.innerHeight*.25)&&ao.restart(!0)},Ei={},T0=[],Qc=function i(){return Le(j,"scrollEnd",i)||xi(!0)},Si=function(e){return Ei[e]&&Ei[e].map(function(t){return t()})||T0},Ft=[],Jc=function(e){for(var t=0;t<Ft.length;t+=5)(!e||Ft[t+4]&&Ft[t+4].query===e)&&(Ft[t].style.cssText=Ft[t+1],Ft[t].getBBox&&Ft[t].setAttribute("transform",Ft[t+2]||""),Ft[t+3].uncache=1)},Aa=function(e,t){var r;for(ut=0;ut<q.length;ut++)r=q[ut],r&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));t&&Jc(t),t||Si("revert")},Zc=function(e,t){U.cache++,(t||!at)&&U.forEach(function(r){return ft(r)&&r.cacheID++&&(r.rec=0)}),At(e)&&(Q.history.scrollRestoration=ba=e)},at,bi=0,Oc,F0=function(){if(Oc!==bi){var e=Oc=bi;requestAnimationFrame(function(){return e===bi&&xi(!0)})}},eh=function(){le.appendChild(en),wa=en.offsetHeight||Q.innerHeight,le.removeChild(en)},xi=function(e,t){if(Nt&&!e){ze(j,"scrollEnd",Qc);return}eh(),at=j.isRefreshing=!0,U.forEach(function(n){return ft(n)&&++n.cacheID&&(n.rec=n())});var r=Si("refreshInit");Ic&&j.sort(),t||Aa(),U.forEach(function(n){ft(n)&&(n.smooth&&(n.target.style.scrollBehavior="auto"),n(0))}),q.slice(0).forEach(function(n){return n.refresh()}),q.forEach(function(n,s){if(n._subPinOffset&&n.pin){var o=n.vars.horizontal?"offsetWidth":"offsetHeight",u=n.pin[o];n.revert(!0,1),n.adjustPinSpacing(n.pin[o]-u),n.refresh()}}),q.forEach(function(n){var s=wr(n.scroller,n._dir);(n.vars.end==="max"||n._endClamp&&n.end>s)&&n.setPositions(n.start,Math.max(n.start+1,s),!0)}),r.forEach(function(n){return n&&n.render&&n.render(-1)}),U.forEach(function(n){ft(n)&&(n.smooth&&requestAnimationFrame(function(){return n.target.style.scrollBehavior="smooth"}),n.rec&&n(n.rec))}),Zc(ba,1),ao.pause(),bi++,at=2,Er(2),q.forEach(function(n){return ft(n.vars.onRefresh)&&n.vars.onRefresh(n)}),at=j.isRefreshing=!1,Si("refresh")},va=0,so=1,qn,Er=function(e){if(!at||e===2){j.isUpdating=!0,qn&&qn.update(0);var t=q.length,r=lt(),n=r-ha>=50,s=t&&q[0].scroll();if(so=va>s?-1:1,at||(va=s),n&&(Nt&&!co&&r-Nt>200&&(Nt=0,Si("scrollEnd")),to=ha,ha=r),so<0){for(ut=t;ut-- >0;)q[ut]&&q[ut].update(0,n);so=1}else for(ut=0;ut<t;ut++)q[ut]&&q[ut].update(0,n);j.isUpdating=!1}$n=0},Ca=[$c,Gc,Sa,Ea,Lt+Un,Lt+Xn,Lt+jn,Lt+Hn,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],oo=Ca.concat([vi,Ci,"boxSizing","max"+rn,"max"+Ta,"position",Lt,Me,Me+jn,Me+Xn,Me+Un,Me+Hn]),A0=function(e,t,r){tn(r);var n=e._gsap;if(n.spacerIsNative)tn(n.spacerState);else if(e._gsap.swappedIn){var s=t.parentNode;s&&(s.insertBefore(e,t),s.removeChild(t))}e._gsap.swappedIn=!1},_a=function(e,t,r,n){if(!e._gsap.swappedIn){for(var s=Ca.length,o=t.style,u=e.style,a;s--;)a=Ca[s],o[a]=r[a];o.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(o.display="inline-block"),u[Sa]=u[Ea]="auto",o.flexBasis=r.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[vi]=ya(e,Je)+je,o[Ci]=ya(e,Ae)+je,o[Me]=u[Lt]=u[Gc]=u[$c]="0",tn(n),u[vi]=u["max"+rn]=r[vi],u[Ci]=u["max"+Ta]=r[Ci],u[Me]=r[Me],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},M0=/([A-Z])/g,tn=function(e){if(e){var t=e.t.style,r=e.length,n=0,s,o;for((e.t._gsap||B.core.getCache(e.t)).uncache=1;n<r;n+=2)o=e[n+1],s=e[n],o?t[s]=o:t[s]&&t.removeProperty(s.replace(M0,"-$1").toLowerCase())}},Js=function(e){for(var t=oo.length,r=e.style,n=[],s=0;s<t;s++)n.push(oo[s],r[oo[s]]);return n.t=e,n},O0=function(e,t,r){for(var n=[],s=e.length,o=r?8:0,u;o<s;o+=2)u=e[o],n.push(u,u in t?t[u]:e[o+1]);return n.t=e.t,n},uo={left:0,top:0},Pc=function(e,t,r,n,s,o,u,a,l,f,d,h,c,_){ft(e)&&(e=e(a)),At(e)&&e.substr(0,3)==="max"&&(e=h+(e.charAt(4)==="="?io("0"+e.substr(3),r):0));var p=c?c.time():0,g,D,m;if(c&&c.seek(0),isNaN(e)||(e=+e),ro(e))c&&(e=B.utils.mapRange(c.scrollTrigger.start,c.scrollTrigger.end,0,h,e)),u&&no(u,r,n,!0);else{ft(t)&&(t=t(a));var x=(e||"0").split(" "),v,b,w,C;m=ot(t,a)||le,v=br(m)||{},(!v||!v.left&&!v.top)&&zt(m).display==="none"&&(C=m.style.display,m.style.display="block",v=br(m),C?m.style.display=C:m.style.removeProperty("display")),b=io(x[0],v[n.d]),w=io(x[1]||"0",r),e=v[n.p]-l[n.p]-f+b+s-w,u&&no(u,w,n,r-w<20||u._isStart&&w>20),r-=r-w}if(_&&(a[_]=e||-.001,e<0&&(e=0)),o){var T=e+r,S=o._isStart;g="scroll"+n.d2,no(o,T,n,S&&T>20||!S&&(d?Math.max(le[g],Kt[g]):o.parentNode[g])<=T+1),d&&(l=br(u),d&&(o.style[n.op.p]=l[n.op.p]-n.op.m-o._offset+je))}return c&&m&&(g=br(m),c.seek(h),D=br(m),c._caScrollDist=g[n.p]-D[n.p],e=e/c._caScrollDist*h),c&&c.seek(p),c?e:Math.round(e)},P0=/(webkit|moz|length|cssText|inset)/i,kc=function(e,t,r,n){if(e.parentNode!==t){var s=e.style,o,u;if(t===le){e._stOrig=s.cssText,u=zt(e);for(o in u)!+o&&!P0.test(o)&&u[o]&&typeof s[o]=="string"&&o!=="0"&&(s[o]=u[o]);s.top=r,s.left=n}else s.cssText=e._stOrig;B.core.getCache(e).uncache=1,t.appendChild(e)}},th=function(e,t,r){var n=t,s=n;return function(o){var u=Math.round(e());return u!==n&&u!==s&&Math.abs(u-n)>3&&Math.abs(u-s)>3&&(o=u,r&&r()),s=n,n=o,o}},Zs=function(e,t,r){var n={};n[t.p]="+="+r,B.set(e,n)},Rc=function(e,t){var r=vr(e,t),n="_scroll"+t.p2,s=function o(u,a,l,f,d){var h=o.tween,c=a.onComplete,_={};l=l||r();var p=th(r,l,function(){h.kill(),o.tween=0});return d=f&&d||0,f=f||u-l,h&&h.kill(),a[n]=u,a.modifiers=_,_[n]=function(){return p(l+f*h.ratio+d*h.ratio*h.ratio)},a.onUpdate=function(){U.cache++,Er()},a.onComplete=function(){o.tween=0,c&&c.call(h)},h=o.tween=B.to(e,a),h};return e[n]=r,r.wheelHandler=function(){return s.tween&&s.tween.kill()&&(s.tween=0)},ze(e,"wheel",r.wheelHandler),j.isTouch&&ze(e,"touchmove",r.wheelHandler),s},j=function(){function i(t,r){Qi||i.register(B)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),ma(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),!Wn){this.update=this.refresh=this.kill=ur;return}r=Fc(At(r)||ro(r)||r.nodeType?{trigger:r}:r,Ks);var s=r,o=s.onUpdate,u=s.toggleClass,a=s.id,l=s.onToggle,f=s.onRefresh,d=s.scrub,h=s.trigger,c=s.pin,_=s.pinSpacing,p=s.invalidateOnRefresh,g=s.anticipatePin,D=s.onScrubComplete,m=s.onSnapComplete,x=s.once,v=s.snap,b=s.pinReparent,w=s.pinSpacer,C=s.containerAnimation,T=s.fastScrollEnd,S=s.preventOverlaps,F=r.horizontal||r.containerAnimation&&r.horizontal!==!1?Je:Ae,k=!d&&d!==0,M=ot(r.scroller||Q),V=B.core.getCache(M),z=wi(M),L=("pinType"in r?r.pinType:Cr(M,"pinType")||z&&"fixed")==="fixed",O=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],P=k&&r.toggleActions.split(" "),N="markers"in r?r.markers:Ks.markers,A=z?0:parseFloat(zt(M)["border"+F.p2+rn])||0,y=this,Y=r.onRefreshInit&&function(){return r.onRefreshInit(y)},ue=C0(M,z,F),fe=b0(M,z),$=0,X=0,Ee=0,Z=vr(M,F),Ne,Re,ge,ht,Qt,re,Se,dt,xt,E,vt,fr,Ur,Te,qr,$r,un,Ie,ve,It,Wt,Gr,cr,Jt,pt,Kr,Ai,Mi,Qr,Tr,Fr,ee,Jr,Yt,Vt,Xt,Zr,Oi,hr;if(y._startClamp=y._endClamp=!1,y._dir=F,g*=45,y.scroller=M,y.scroll=C?C.time.bind(C):Z,ht=Z(),y.vars=r,n=n||r.animation,"refreshPriority"in r&&(Ic=1,r.refreshPriority===-9999&&(qn=y)),V.tweenScroll=V.tweenScroll||{top:Rc(M,Ae),left:Rc(M,Je)},y.tweenTo=Ne=V.tweenScroll[F.p],y.scrubDuration=function(R){Jr=ro(R)&&R,Jr?ee?ee.duration(R):ee=B.to(n,{ease:"expo",totalProgress:"+=0",duration:Jr,paused:!0,onComplete:function(){return D&&D(y)}}):(ee&&ee.progress(1).kill(),ee=0)},n&&(n.vars.lazy=!1,n._initted&&!y.isReverted||n.vars.immediateRender!==!1&&r.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),y.animation=n.pause(),n.scrollTrigger=y,y.scrubDuration(d),Tr=0,a||(a=n.vars.id)),v&&((!yi(v)||v.push)&&(v={snapTo:v}),"scrollBehavior"in le.style&&B.set(z?[le,Kt]:M,{scrollBehavior:"auto"}),U.forEach(function(R){return ft(R)&&R.target===(z?_e.scrollingElement||Kt:M)&&(R.smooth=!1)}),ge=ft(v.snapTo)?v.snapTo:v.snapTo==="labels"?E0(n):v.snapTo==="labelsDirectional"?S0(n):v.directional!==!1?function(R,J){return Fa(v.snapTo)(R,lt()-X<500?0:J.direction)}:B.utils.snap(v.snapTo),Yt=v.duration||{min:.1,max:2},Yt=yi(Yt)?Zi(Yt.min,Yt.max):Zi(Yt,Yt),Vt=B.delayedCall(v.delay||Jr/2||.1,function(){var R=Z(),J=lt()-X<500,W=Ne.tween;if((J||Math.abs(y.getVelocity())<10)&&!W&&!co&&$!==R){var G=(R-re)/Te,Be=n&&!k?n.totalProgress():G,te=J?0:(Be-Fr)/(lt()-to)*1e3||0,Ce=B.utils.clamp(-G,1-G,Gi(te/2)*te/.185),et=G+(v.inertia===!1?0:Ce),We=Zi(0,1,ge(et,y)),ce=Math.round(re+We*Te),ne=v,Ht=ne.onStart,he=ne.onInterrupt,Ct=ne.onComplete;if(R<=Se&&R>=re&&ce!==R){if(W&&!W._initted&&W.data<=Gi(ce-R))return;v.inertia===!1&&(Ce=We-G),Ne(ce,{duration:Yt(Gi(Math.max(Gi(et-Be),Gi(We-Be))*.185/te/.05||0)),ease:v.ease||"power3",data:Gi(ce-R),onInterrupt:function(){return Vt.restart(!0)&&he&&he(y)},onComplete:function(){y.update(),$=Z(),Tr=Fr=n&&!k?n.totalProgress():y.progress,m&&m(y),Ct&&Ct(y)}},R,Ce*Te,ce-R-Ce*Te),Ht&&Ht(y,Ne.tween)}}else y.isActive&&$!==R&&Vt.restart(!0)}).pause()),a&&(xa[a]=y),h=y.trigger=ot(h||c!==!0&&c),hr=h&&h._gsap&&h._gsap.stRevert,hr&&(hr=hr(y)),c=c===!0?h:ot(c),At(u)&&(u={targets:h,className:u}),c&&(_===!1||_===Lt||(_=!_&&c.parentNode&&c.parentNode.style&&zt(c.parentNode).display==="flex"?!1:Me),y.pin=c,Re=B.core.getCache(c),Re.spacer?qr=Re.pinState:(w&&(w=ot(w),w&&!w.nodeType&&(w=w.current||w.nativeElement),Re.spacerIsNative=!!w,w&&(Re.spacerState=Js(w))),Re.spacer=Ie=w||_e.createElement("div"),Ie.classList.add("pin-spacer"),a&&Ie.classList.add("pin-spacer-"+a),Re.pinState=qr=Js(c)),r.force3D!==!1&&B.set(c,{force3D:!0}),y.spacer=Ie=Re.spacer,Qr=zt(c),Jt=Qr[_+F.os2],It=B.getProperty(c),Wt=B.quickSetter(c,F.a,je),_a(c,Ie,Qr),un=Js(c)),N){fr=yi(N)?Fc(N,Ac):Ac,E=Qs("scroller-start",a,M,F,fr,0),vt=Qs("scroller-end",a,M,F,fr,0,E),ve=E["offset"+F.op.d2];var H=ot(Cr(M,"content")||M);dt=this.markerStart=Qs("start",a,H,F,fr,ve,0,C),xt=this.markerEnd=Qs("end",a,H,F,fr,ve,0,C),C&&(Oi=B.quickSetter([dt,xt],F.a,je)),!L&&!(Gt.length&&Cr(M,"fixedMarkers")===!0)&&(w0(z?le:M),B.set([E,vt],{force3D:!0}),Kr=B.quickSetter(E,F.a,je),Mi=B.quickSetter(vt,F.a,je))}if(C){var I=C.vars.onUpdate,ie=C.vars.onUpdateParams;C.eventCallback("onUpdate",function(){y.update(0,0,1),I&&I.apply(C,ie||[])})}if(y.previous=function(){return q[q.indexOf(y)-1]},y.next=function(){return q[q.indexOf(y)+1]},y.revert=function(R,J){if(!J)return y.kill(!0);var W=R!==!1||!y.enabled,G=Ze;W!==y.isReverted&&(W&&(Xt=Math.max(Z(),y.scroll.rec||0),Ee=y.progress,Zr=n&&n.progress()),dt&&[dt,xt,E,vt].forEach(function(Be){return Be.style.display=W?"none":"block"}),W&&(Ze=y,y.update(W)),c&&(!b||!y.isActive)&&(W?A0(c,Ie,qr):_a(c,Ie,zt(c),pt)),W||y.update(W),Ze=G,y.isReverted=W)},y.refresh=function(R,J,W,G){if(!((Ze||!y.enabled)&&!J)){if(c&&R&&Nt){ze(i,"scrollEnd",Qc);return}!at&&Y&&Y(y),Ze=y,Ne.tween&&!W&&(Ne.tween.kill(),Ne.tween=0),ee&&ee.pause(),p&&n&&n.revert({kill:!1}).invalidate(),y.isReverted||y.revert(!0,!0),y._subPinOffset=!1;var Be=ue(),te=fe(),Ce=C?C.duration():wr(M,F),et=Te<=.01,We=0,ce=G||0,ne=yi(W)?W.end:r.end,Ht=r.endTrigger||h,he=yi(W)?W.start:r.start||(r.start===0||!h?0:c?"0 0":"0 100%"),Ct=y.pinnedContainer=r.pinnedContainer&&ot(r.pinnedContainer,y),Zt=h&&Math.max(0,q.indexOf(y))||0,bt=Zt,Ye,Ue,ei,es,qe,Oe,er,mo,Ra,an,tr,ln,ts;for(N&&yi(W)&&(ln=B.getProperty(E,F.p),ts=B.getProperty(vt,F.p));bt--;)Oe=q[bt],Oe.end||Oe.refresh(0,1)||(Ze=y),er=Oe.pin,er&&(er===h||er===c||er===Ct)&&!Oe.isReverted&&(an||(an=[]),an.unshift(Oe),Oe.revert(!0,!0)),Oe!==q[bt]&&(Zt--,bt--);for(ft(he)&&(he=he(y)),he=wc(he,"start",y),re=Pc(he,h,Be,F,Z(),dt,E,y,te,A,L,Ce,C,y._startClamp&&"_startClamp")||(c?-.001:0),ft(ne)&&(ne=ne(y)),At(ne)&&!ne.indexOf("+=")&&(~ne.indexOf(" ")?ne=(At(he)?he.split(" ")[0]:"")+ne:(We=io(ne.substr(2),Be),ne=At(he)?he:(C?B.utils.mapRange(0,C.duration(),C.scrollTrigger.start,C.scrollTrigger.end,re):re)+We,Ht=h)),ne=wc(ne,"end",y),Se=Math.max(re,Pc(ne||(Ht?"100% 0":Ce),Ht,Be,F,Z()+We,xt,vt,y,te,A,L,Ce,C,y._endClamp&&"_endClamp"))||-.001,We=0,bt=Zt;bt--;)Oe=q[bt],er=Oe.pin,er&&Oe.start-Oe._pinPush<=re&&!C&&Oe.end>0&&(Ye=Oe.end-(y._startClamp?Math.max(0,Oe.start):Oe.start),(er===h&&Oe.start-Oe._pinPush<re||er===Ct)&&isNaN(he)&&(We+=Ye*(1-Oe.progress)),er===c&&(ce+=Ye));if(re+=We,Se+=We,y._startClamp&&(y._startClamp+=We),y._endClamp&&!at&&(y._endClamp=Se||-.001,Se=Math.min(Se,wr(M,F))),Te=Se-re||(re-=.01)&&.001,et&&(Ee=B.utils.clamp(0,1,B.utils.normalize(re,Se,Xt))),y._pinPush=ce,dt&&We&&(Ye={},Ye[F.a]="+="+We,Ct&&(Ye[F.p]="-="+Z()),B.set([dt,xt],Ye)),c)Ye=zt(c),es=F===Ae,ei=Z(),Gr=parseFloat(It(F.a))+ce,!Ce&&Se>1&&(tr=(z?_e.scrollingElement||Kt:M).style,tr={style:tr,value:tr["overflow"+F.a.toUpperCase()]},z&&zt(le)["overflow"+F.a.toUpperCase()]!=="scroll"&&(tr.style["overflow"+F.a.toUpperCase()]="scroll")),_a(c,Ie,Ye),un=Js(c),Ue=br(c,!0),mo=L&&vr(M,es?Je:Ae)(),_&&(pt=[_+F.os2,Te+ce+je],pt.t=Ie,bt=_===Me?ya(c,F)+Te+ce:0,bt&&pt.push(F.d,bt+je),tn(pt),Ct&&q.forEach(function(fn){fn.pin===Ct&&fn.vars.pinSpacing!==!1&&(fn._subPinOffset=!0)}),L&&Z(Xt)),L&&(qe={top:Ue.top+(es?ei-re:mo)+je,left:Ue.left+(es?mo:ei-re)+je,boxSizing:"border-box",position:"fixed"},qe[vi]=qe["max"+rn]=Math.ceil(Ue.width)+je,qe[Ci]=qe["max"+Ta]=Math.ceil(Ue.height)+je,qe[Lt]=qe[Lt+jn]=qe[Lt+Xn]=qe[Lt+Un]=qe[Lt+Hn]="0",qe[Me]=Ye[Me],qe[Me+jn]=Ye[Me+jn],qe[Me+Xn]=Ye[Me+Xn],qe[Me+Un]=Ye[Me+Un],qe[Me+Hn]=Ye[Me+Hn],$r=O0(qr,qe,b),at&&Z(0)),n?(Ra=n._initted,fa(1),n.render(n.duration(),!0,!0),cr=It(F.a)-Gr+Te+ce,Ai=Math.abs(Te-cr)>1,L&&Ai&&$r.splice($r.length-2,2),n.render(0,!0,!0),Ra||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),fa(0)):cr=Te,tr&&(tr.value?tr.style["overflow"+F.a.toUpperCase()]=tr.value:tr.style.removeProperty("overflow-"+F.a));else if(h&&Z()&&!C)for(Ue=h.parentNode;Ue&&Ue!==le;)Ue._pinOffset&&(re-=Ue._pinOffset,Se-=Ue._pinOffset),Ue=Ue.parentNode;an&&an.forEach(function(fn){return fn.revert(!1,!0)}),y.start=re,y.end=Se,ht=Qt=at?Xt:Z(),!C&&!at&&(ht<Xt&&Z(Xt),y.scroll.rec=0),y.revert(!1,!0),X=lt(),Vt&&($=-1,Vt.restart(!0)),Ze=0,n&&k&&(n._initted||Zr)&&n.progress()!==Zr&&n.progress(Zr||0,!0).render(n.time(),!0,!0),(et||Ee!==y.progress||C)&&(n&&!k&&n.totalProgress(C&&re<-.001&&!Ee?B.utils.normalize(re,Se,0):Ee,!0),y.progress=et||(ht-re)/Te===Ee?0:Ee),c&&_&&(Ie._pinOffset=Math.round(y.progress*cr)),ee&&ee.invalidate(),isNaN(ln)||(ln-=B.getProperty(E,F.p),ts-=B.getProperty(vt,F.p),Zs(E,F,ln),Zs(dt,F,ln-(G||0)),Zs(vt,F,ts),Zs(xt,F,ts-(G||0))),et&&!at&&y.update(),f&&!at&&!Ur&&(Ur=!0,f(y),Ur=!1)}},y.getVelocity=function(){return(Z()-Qt)/(lt()-to)*1e3||0},y.endAnimation=function(){In(y.callbackAnimation),n&&(ee?ee.progress(1):n.paused()?k||In(n,y.direction<0,1):In(n,n.reversed()))},y.labelToScroll=function(R){return n&&n.labels&&(re||y.refresh()||re)+n.labels[R]/n.duration()*Te||0},y.getTrailing=function(R){var J=q.indexOf(y),W=y.direction>0?q.slice(0,J).reverse():q.slice(J+1);return(At(R)?W.filter(function(G){return G.vars.preventOverlaps===R}):W).filter(function(G){return y.direction>0?G.end<=re:G.start>=Se})},y.update=function(R,J,W){if(!(C&&!W&&!R)){var G=at===!0?Xt:y.scroll(),Be=R?0:(G-re)/Te,te=Be<0?0:Be>1?1:Be||0,Ce=y.progress,et,We,ce,ne,Ht,he,Ct,Zt;if(J&&(Qt=ht,ht=C?Z():G,v&&(Fr=Tr,Tr=n&&!k?n.totalProgress():te)),g&&!te&&c&&!Ze&&!Us&&Nt&&re<G+(G-Qt)/(lt()-to)*g&&(te=1e-4),te!==Ce&&y.enabled){if(et=y.isActive=!!te&&te<1,We=!!Ce&&Ce<1,he=et!==We,Ht=he||!!te!=!!Ce,y.direction=te>Ce?1:-1,y.progress=te,Ht&&!Ze&&(ce=te&&!Ce?0:te===1?1:Ce===1?2:3,k&&(ne=!he&&P[ce+1]!=="none"&&P[ce+1]||P[ce],Zt=n&&(ne==="complete"||ne==="reset"||ne in n))),S&&(he||Zt)&&(Zt||d||!n)&&(ft(S)?S(y):y.getTrailing(S).forEach(function(ei){return ei.endAnimation()})),k||(ee&&!Ze&&!Us?(ee._dp._time-ee._start!==ee._time&&ee.render(ee._dp._time-ee._start),ee.resetTo?ee.resetTo("totalProgress",te,n._tTime/n._tDur):(ee.vars.totalProgress=te,ee.invalidate().restart())):n&&n.totalProgress(te,!!(Ze&&(X||R)))),c){if(R&&_&&(Ie.style[_+F.os2]=Jt),!L)Wt(Yn(Gr+cr*te));else if(Ht){if(Ct=!R&&te>Ce&&Se+1>G&&G+1>=wr(M,F),b)if(!R&&(et||Ct)){var bt=br(c,!0),Ye=G-re;kc(c,le,bt.top+(F===Ae?Ye:0)+je,bt.left+(F===Ae?0:Ye)+je)}else kc(c,Ie);tn(et||Ct?$r:un),Ai&&te<1&&et||Wt(Gr+(te===1&&!Ct?cr:0))}}v&&!Ne.tween&&!Ze&&!Us&&Vt.restart(!0),u&&(he||x&&te&&(te<1||!ca))&&lo(u.targets).forEach(function(ei){return ei.classList[et||x?"add":"remove"](u.className)}),o&&!k&&!R&&o(y),Ht&&!Ze?(k&&(Zt&&(ne==="complete"?n.pause().totalProgress(1):ne==="reset"?n.restart(!0).pause():ne==="restart"?n.restart(!0):n[ne]()),o&&o(y)),(he||!ca)&&(l&&he&&da(y,l),O[ce]&&da(y,O[ce]),x&&(te===1?y.kill(!1,1):O[ce]=0),he||(ce=te===1?1:3,O[ce]&&da(y,O[ce]))),T&&!et&&Math.abs(y.getVelocity())>(ro(T)?T:2500)&&(In(y.callbackAnimation),ee?ee.progress(1):In(n,ne==="reverse"?1:!te,1))):k&&o&&!Ze&&o(y)}if(Mi){var Ue=C?G/C.duration()*(C._caScrollDist||0):G;Kr(Ue+(E._isFlipped?1:0)),Mi(Ue)}Oi&&Oi(-G/C.duration()*(C._caScrollDist||0))}},y.enable=function(R,J){y.enabled||(y.enabled=!0,ze(M,"resize",Vn),z||ze(M,"scroll",Ki),Y&&ze(i,"refreshInit",Y),R!==!1&&(y.progress=Ee=0,ht=Qt=$=Z()),J!==!1&&y.refresh())},y.getTween=function(R){return R&&Ne?Ne.tween:ee},y.setPositions=function(R,J,W,G){if(C){var Be=C.scrollTrigger,te=C.duration(),Ce=Be.end-Be.start;R=Be.start+Ce*R/te,J=Be.start+Ce*J/te}y.refresh(!1,!1,{start:Ec(R,W&&!!y._startClamp),end:Ec(J,W&&!!y._endClamp)},G),y.update()},y.adjustPinSpacing=function(R){if(pt&&R){var J=pt.indexOf(F.d)+1;pt[J]=parseFloat(pt[J])+R+je,pt[1]=parseFloat(pt[1])+R+je,tn(pt)}},y.disable=function(R,J){if(y.enabled&&(R!==!1&&y.revert(!0,!0),y.enabled=y.isActive=!1,J||ee&&ee.pause(),Xt=0,Re&&(Re.uncache=1),Y&&Le(i,"refreshInit",Y),Vt&&(Vt.pause(),Ne.tween&&Ne.tween.kill()&&(Ne.tween=0)),!z)){for(var W=q.length;W--;)if(q[W].scroller===M&&q[W]!==y)return;Le(M,"resize",Vn),z||Le(M,"scroll",Ki)}},y.kill=function(R,J){y.disable(R,J),ee&&!J&&ee.kill(),a&&delete xa[a];var W=q.indexOf(y);W>=0&&q.splice(W,1),W===ut&&so>0&&ut--,W=0,q.forEach(function(G){return G.scroller===y.scroller&&(W=1)}),W||at||(y.scroll.rec=0),n&&(n.scrollTrigger=null,R&&n.revert({kill:!1}),J||n.kill()),dt&&[dt,xt,E,vt].forEach(function(G){return G.parentNode&&G.parentNode.removeChild(G)}),qn===y&&(qn=0),c&&(Re&&(Re.uncache=1),W=0,q.forEach(function(G){return G.pin===c&&W++}),W||(Re.spacer=0)),r.onKill&&r.onKill(y)},q.push(y),y.enable(!1,!1),hr&&hr(y),n&&n.add&&!Te){var De=y.update;y.update=function(){y.update=De,re||Se||y.refresh()},B.delayedCall(.01,y.update),Te=.01,re=Se=0}else y.refresh();c&&F0()},i.register=function(r){return Qi||(B=r||jc(),Hc()&&window.document&&i.enable(),Qi=Wn),Qi},i.defaults=function(r){if(r)for(var n in r)Ks[n]=r[n];return Ks},i.disable=function(r,n){Wn=0,q.forEach(function(o){return o[n?"kill":"disable"](r)}),Le(Q,"wheel",Ki),Le(_e,"scroll",Ki),clearInterval(js),Le(_e,"touchcancel",ur),Le(le,"touchstart",ur),$s(Le,_e,"pointerdown,touchstart,mousedown",Sc),$s(Le,_e,"pointerup,touchend,mouseup",Tc),ao.kill(),qs(Le);for(var s=0;s<U.length;s+=3)Gs(Le,U[s],U[s+1]),Gs(Le,U[s],U[s+2])},i.enable=function(){if(Q=window,_e=document,Kt=_e.documentElement,le=_e.body,B&&(lo=B.utils.toArray,Zi=B.utils.clamp,ma=B.core.context||ur,fa=B.core.suppressOverwrites||ur,ba=Q.history.scrollRestoration||"auto",va=Q.pageYOffset,B.core.globals("ScrollTrigger",i),le)){Wn=1,en=document.createElement("div"),en.style.height="100vh",en.style.position="absolute",eh(),v0(),we.register(B),i.isTouch=we.isTouch,Xr=we.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),ze(Q,"wheel",Ki),Nc=[Q,_e,Kt,le],B.matchMedia?(i.matchMedia=function(a){var l=B.matchMedia(),f;for(f in a)l.add(f,a[f]);return l},B.addEventListener("matchMediaInit",function(){return Aa()}),B.addEventListener("matchMediaRevert",function(){return Jc()}),B.addEventListener("matchMedia",function(){xi(0,1),Si("matchMedia")}),B.matchMedia("(orientation: portrait)",function(){return pa(),pa})):console.warn("Requires GSAP 3.11.0 or later"),pa(),ze(_e,"scroll",Ki);var r=le.style,n=r.borderTopStyle,s=B.core.Animation.prototype,o,u;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),r.borderTopStyle="solid",o=br(le),Ae.m=Math.round(o.top+Ae.sc())||0,Je.m=Math.round(o.left+Je.sc())||0,n?r.borderTopStyle=n:r.removeProperty("border-top-style"),js=setInterval(Mc,250),B.delayedCall(.5,function(){return Us=0}),ze(_e,"touchcancel",ur),ze(le,"touchstart",ur),$s(ze,_e,"pointerdown,touchstart,mousedown",Sc),$s(ze,_e,"pointerup,touchend,mouseup",Tc),Da=B.utils.checkPrefix("transform"),oo.push(Da),Qi=lt(),ao=B.delayedCall(.2,xi).pause(),Ji=[_e,"visibilitychange",function(){var a=Q.innerWidth,l=Q.innerHeight;_e.hidden?(Cc=a,bc=l):(Cc!==a||bc!==l)&&Vn()},_e,"DOMContentLoaded",xi,Q,"load",xi,Q,"resize",Vn],qs(ze),q.forEach(function(a){return a.enable(0,1)}),u=0;u<U.length;u+=3)Gs(Le,U[u],U[u+1]),Gs(Le,U[u],U[u+2])}},i.config=function(r){"limitCallbacks"in r&&(ca=!!r.limitCallbacks);var n=r.syncInterval;n&&clearInterval(js)||(js=n)&&setInterval(Mc,n),"ignoreMobileResize"in r&&(Yc=i.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(qs(Le)||qs(ze,r.autoRefreshEvents||"none"),Wc=(r.autoRefreshEvents+"").indexOf("resize")===-1)},i.scrollerProxy=function(r,n){var s=ot(r),o=U.indexOf(s),u=wi(s);~o&&U.splice(o,u?6:2),n&&(u?Gt.unshift(Q,n,le,n,Kt,n):Gt.unshift(s,n))},i.clearMatchMedia=function(r){q.forEach(function(n){return n._ctx&&n._ctx.query===r&&n._ctx.kill(!0,!0)})},i.isInViewport=function(r,n,s){var o=(At(r)?ot(r):r).getBoundingClientRect(),u=o[s?vi:Ci]*n||0;return s?o.right-u>0&&o.left+u<Q.innerWidth:o.bottom-u>0&&o.top+u<Q.innerHeight},i.positionInViewport=function(r,n,s){At(r)&&(r=ot(r));var o=r.getBoundingClientRect(),u=o[s?vi:Ci],a=n==null?u/2:n in fo?fo[n]*u:~n.indexOf("%")?parseFloat(n)*u/100:parseFloat(n)||0;return s?(o.left+a)/Q.innerWidth:(o.top+a)/Q.innerHeight},i.killAll=function(r){if(q.slice(0).forEach(function(s){return s.vars.id!=="ScrollSmoother"&&s.kill()}),r!==!0){var n=Ei.killAll||[];Ei={},n.forEach(function(s){return s()})}},i}();j.version="3.12.2";j.saveStyles=function(i){return i?lo(i).forEach(function(e){if(e&&e.style){var t=Ft.indexOf(e);t>=0&&Ft.splice(t,5),Ft.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),B.core.getCache(e),ma())}}):Ft};j.revert=function(i,e){return Aa(!i,e)};j.create=function(i,e){return new j(i,e)};j.refresh=function(i){return i?Vn():(Qi||j.register())&&xi(!0)};j.update=function(i){return++U.cache&&Er(i===!0?2:0)};j.clearScrollMemory=Zc;j.maxScroll=function(i,e){return wr(i,e?Je:Ae)};j.getScrollFunc=function(i,e){return vr(ot(i),e?Je:Ae)};j.getById=function(i){return xa[i]};j.getAll=function(){return q.filter(function(i){return i.vars.id!=="ScrollSmoother"})};j.isScrolling=function(){return!!Nt};j.snapDirectional=Fa;j.addEventListener=function(i,e){var t=Ei[i]||(Ei[i]=[]);~t.indexOf(e)||t.push(e)};j.removeEventListener=function(i,e){var t=Ei[i],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)};j.batch=function(i,e){var t=[],r={},n=e.interval||.016,s=e.batchMax||1e9,o=function(l,f){var d=[],h=[],c=B.delayedCall(n,function(){f(d,h),d=[],h=[]}).pause();return function(_){d.length||c.restart(!0),d.push(_.trigger),h.push(_),s<=d.length&&c.progress(1)}},u;for(u in e)r[u]=u.substr(0,2)==="on"&&ft(e[u])&&u!=="onRefreshInit"?o(u,e[u]):e[u];return ft(s)&&(s=s(),ze(j,"refresh",function(){return s=e.batchMax()})),lo(i).forEach(function(a){var l={};for(u in r)l[u]=r[u];l.trigger=a,t.push(j.create(l))}),t};var Bc=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},ga=function i(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(we.isTouch?" pinch-zoom":""):"none",e===Kt&&i(le,t)},eo={auto:1,scroll:1},k0=function(e){var t=e.event,r=e.target,n=e.axis,s=(t.changedTouches?t.changedTouches[0]:t).target,o=s._gsap||B.core.getCache(s),u=lt(),a;if(!o._isScrollT||u-o._isScrollT>2e3){for(;s&&s!==le&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!(eo[(a=zt(s)).overflowY]||eo[a.overflowX]));)s=s.parentNode;o._isScroll=s&&s!==r&&!wi(s)&&(eo[(a=zt(s)).overflowY]||eo[a.overflowX]),o._isScrollT=u}(o._isScroll||n==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},rh=function(e,t,r,n){return we.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&k0,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&ze(_e,we.eventTypes[0],zc,!1,!0)},onDisable:function(){return Le(_e,we.eventTypes[0],zc,!0)}})},R0=/(input|label|select|textarea)/i,Lc,zc=function(e){var t=R0.test(e.target.tagName);(t||Lc)&&(e._gsapAllow=!0,Lc=t)},B0=function(e){yi(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,s=t.allowNestedScroll,o=t.onRelease,u,a,l=ot(e.target)||Kt,f=B.core.globals().ScrollSmoother,d=f&&f.get(),h=Xr&&(e.content&&ot(e.content)||d&&e.content!==!1&&!d.smooth()&&d.content()),c=vr(l,Ae),_=vr(l,Je),p=1,g=(we.isTouch&&Q.visualViewport?Q.visualViewport.scale*Q.visualViewport.width:Q.outerWidth)/Q.innerWidth,D=0,m=ft(n)?function(){return n(u)}:function(){return n||2.8},x,v,b=rh(l,e.type,!0,s),w=function(){return v=!1},C=ur,T=ur,S=function(){a=wr(l,Ae),T=Zi(Xr?1:0,a),r&&(C=Zi(0,wr(l,Je))),x=bi},F=function(){h._gsap.y=Yn(parseFloat(h._gsap.y)+c.offset)+"px",h.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(h._gsap.y)+", 0, 1)",c.offset=c.cacheID=0},k=function(){if(v){requestAnimationFrame(w);var N=Yn(u.deltaY/2),A=T(c.v-N);if(h&&A!==c.v+c.offset){c.offset=A-c.v;var y=Yn((parseFloat(h&&h._gsap.y)||0)-c.offset);h.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+y+", 0, 1)",h._gsap.y=y+"px",c.cacheID=U.cache,Er()}return!0}c.offset&&F(),v=!0},M,V,z,L,O=function(){S(),M.isActive()&&M.vars.scrollY>a&&(c()>a?M.progress(1)&&c(a):M.resetTo("scrollY",a))};return h&&B.set(h,{y:"+=0"}),e.ignoreCheck=function(P){return Xr&&P.type==="touchmove"&&k(P)||p>1.05&&P.type!=="touchstart"||u.isGesturing||P.touches&&P.touches.length>1},e.onPress=function(){v=!1;var P=p;p=Yn((Q.visualViewport&&Q.visualViewport.scale||1)/g),M.pause(),P!==p&&ga(l,p>1.01?!0:r?!1:"x"),V=_(),z=c(),S(),x=bi},e.onRelease=e.onGestureStart=function(P,N){if(c.offset&&F(),!N)L.restart(!0);else{U.cache++;var A=m(),y,Y;r&&(y=_(),Y=y+A*.05*-P.velocityX/.227,A*=Bc(_,y,Y,wr(l,Je)),M.vars.scrollX=C(Y)),y=c(),Y=y+A*.05*-P.velocityY/.227,A*=Bc(c,y,Y,wr(l,Ae)),M.vars.scrollY=T(Y),M.invalidate().duration(A).play(.01),(Xr&&M.vars.scrollY>=a||y>=a-1)&&B.to({},{onUpdate:O,duration:A})}o&&o(P)},e.onWheel=function(){M._ts&&M.pause(),lt()-D>1e3&&(x=0,D=lt())},e.onChange=function(P,N,A,y,Y){if(bi!==x&&S(),N&&r&&_(C(y[2]===N?V+(P.startX-P.x):_()+N-y[1])),A){c.offset&&F();var ue=Y[2]===A,fe=ue?z+P.startY-P.y:c()+A-Y[1],$=T(fe);ue&&fe!==$&&(z+=$-fe),c($)}(A||N)&&Er()},e.onEnable=function(){ga(l,r?!1:"x"),j.addEventListener("refresh",O),ze(Q,"resize",O),c.smooth&&(c.target.style.scrollBehavior="auto",c.smooth=_.smooth=!1),b.enable()},e.onDisable=function(){ga(l,!0),Le(Q,"resize",O),j.removeEventListener("refresh",O),b.kill()},e.lockAxis=e.lockAxis!==!1,u=new we(e),u.iOS=Xr,Xr&&!c()&&c(1),Xr&&B.ticker.add(ur),L=u._dc,M=B.to(u,{ease:"power4",paused:!0,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:th(c,c(),function(){return M.pause()})},onUpdate:Er,onComplete:L.vars.onComplete}),u};j.sort=function(i){return q.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 we(i)};j.normalizeScroll=function(i){if(typeof i=="undefined")return Tt;if(i===!0&&Tt)return Tt.enable();if(i===!1)return Tt&&Tt.kill();var e=i instanceof we?i:B0(i);return Tt&&Tt.target===e.target&&Tt.kill(),wi(e.target)&&(Tt=e),e};j.core={_getVelocityProp:Hs,_inputObserver:rh,_scrollers:U,_proxies:Gt,bridge:{ss:function(){Nt||Si("scrollStart"),Nt=lt()},ref:function(){return Ze}}};jc()&&B.registerPlugin(j);var ct,oh,Sr,ar,Hr,uh,ah,ho,lh=function(){return typeof window!="undefined"},fh=function(){return ct||lh()&&(ct=window.gsap)&&ct.registerPlugin&&ct},ch=function(e){return typeof e=="string"},ih=function(e){return typeof e=="function"},Gn=function(e,t){var r=t==="x"?"Width":"Height",n="scroll"+r,s="client"+r;return e===Sr||e===ar||e===Hr?Math.max(ar[n],Hr[n])-(Sr["inner"+r]||ar[s]||Hr[s]):e[n]-e["offset"+r]},Kn=function(e,t){var r="scroll"+(t==="x"?"Left":"Top");return e===Sr&&(e.pageXOffset!=null?r="page"+t.toUpperCase()+"Offset":e=ar[r]!=null?ar:Hr),function(){return e[r]}},L0=function(e,t,r,n){if(ih(e)&&(e=e(t,r,n)),typeof e!="object")return ch(e)&&e!=="max"&&e.charAt(1)!=="="?{x:e,y:e}:{y:e};if(e.nodeType)return{y:e,x:e};var s={},o;for(o in e)s[o]=o!=="onAutoKill"&&ih(e[o])?e[o](t,r,n):e[o];return s},hh=function(e,t){if(e=uh(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===Sr||t===Hr,s=n?{top:ar.clientTop-(Sr.pageYOffset||ar.scrollTop||Hr.scrollTop||0),left:ar.clientLeft-(Sr.pageXOffset||ar.scrollLeft||Hr.scrollLeft||0)}:t.getBoundingClientRect(),o={x:r.left-s.left,y:r.top-s.top};return!n&&t&&(o.x+=Kn(t,"x")(),o.y+=Kn(t,"y")()),o},nh=function(e,t,r,n,s){return!isNaN(e)&&typeof e!="object"?parseFloat(e)-s:ch(e)&&e.charAt(1)==="="?parseFloat(e.substr(2))*(e.charAt(0)==="-"?-1:1)+n-s:e==="max"?Gn(t,r)-s:Math.min(Gn(t,r),hh(e,t)[r]-s)},sh=function(){ct=fh(),lh()&&ct&&typeof document!="undefined"&&document.body&&(Sr=window,Hr=document.body,ar=document.documentElement,uh=ct.utils.toArray,ct.config({autoKillThreshold:7}),ah=ct.config(),oh=1)},nn={version:"3.12.2",name:"scrollTo",rawVars:1,register:function(e){ct=e,sh()},init:function(e,t,r,n,s){oh||sh();var o=this,u=ct.getProperty(e,"scrollSnapType");o.isWin=e===Sr,o.target=e,o.tween=r,t=L0(t,n,e,s),o.vars=t,o.autoKill=!!t.autoKill,o.getX=Kn(e,"x"),o.getY=Kn(e,"y"),o.x=o.xPrev=o.getX(),o.y=o.yPrev=o.getY(),ho||(ho=ct.core.globals().ScrollTrigger),ct.getProperty(e,"scrollBehavior")==="smooth"&&ct.set(e,{scrollBehavior:"auto"}),u&&u!=="none"&&(o.snap=1,o.snapInline=e.style.scrollSnapType,e.style.scrollSnapType="none"),t.x!=null?(o.add(o,"x",o.x,nh(t.x,e,"x",o.x,t.offsetX||0),n,s),o._props.push("scrollTo_x")):o.skipX=1,t.y!=null?(o.add(o,"y",o.y,nh(t.y,e,"y",o.y,t.offsetY||0),n,s),o._props.push("scrollTo_y")):o.skipY=1},render:function(e,t){for(var r=t._pt,n=t.target,s=t.tween,o=t.autoKill,u=t.xPrev,a=t.yPrev,l=t.isWin,f=t.snap,d=t.snapInline,h,c,_,p,g;r;)r.r(e,r.d),r=r._next;h=l||!t.skipX?t.getX():u,c=l||!t.skipY?t.getY():a,_=c-a,p=h-u,g=ah.autoKillThreshold,t.x<0&&(t.x=0),t.y<0&&(t.y=0),o&&(!t.skipX&&(p>g||p<-g)&&h<Gn(n,"x")&&(t.skipX=1),!t.skipY&&(_>g||_<-g)&&c<Gn(n,"y")&&(t.skipY=1),t.skipX&&t.skipY&&(s.kill(),t.vars.onAutoKill&&t.vars.onAutoKill.apply(s,t.vars.onAutoKillParams||[]))),l?Sr.scrollTo(t.skipX?h:t.x,t.skipY?c:t.y):(t.skipY||(n.scrollTop=t.y),t.skipX||(n.scrollLeft=t.x)),f&&(e===1||e===0)&&(c=n.scrollTop,h=n.scrollLeft,d?n.style.scrollSnapType=d:n.style.removeProperty("scroll-snap-type"),n.scrollTop=c+1,n.scrollLeft=h+1,n.scrollTop=c,n.scrollLeft=h),t.xPrev=t.x,t.yPrev=t.y,ho&&ho.update()},kill:function(e){var t=e==="scrollTo";(t||e==="scrollTo_x")&&(this.skipX=1),(t||e==="scrollTo_y")&&(this.skipY=1)}};nn.max=Gn;nn.getOffset=hh;nn.buildGetter=Kn;fh()&&ct.registerPlugin(nn);var z0=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig;var N0=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig;var I0=Math.PI/180,Rg=180/Math.PI,po=Math.sin,_o=Math.cos,Jn=Math.abs,Qn=Math.sqrt;var W0=function(e){return typeof e=="number"};var dh=1e5;var jr=function(e){return Math.round(e*dh)/dh||0};function ph(i,e,t,r,n,s,o){for(var u=i.length,a,l,f,d,h;--u>-1;)for(a=i[u],l=a.length,f=0;f<l;f+=2)d=a[f],h=a[f+1],a[f]=d*e+h*r+s,a[f+1]=d*t+h*n+o;return i._dirty=1,i}function Y0(i,e,t,r,n,s,o,u,a){if(!(i===u&&e===a)){t=Jn(t),r=Jn(r);var l=n%360*I0,f=_o(l),d=po(l),h=Math.PI,c=h*2,_=(i-u)/2,p=(e-a)/2,g=f*_+d*p,D=-d*_+f*p,m=g*g,x=D*D,v=m/(t*t)+x/(r*r);v>1&&(t=Qn(v)*t,r=Qn(v)*r);var b=t*t,w=r*r,C=(b*w-b*x-w*m)/(b*x+w*m);C<0&&(C=0);var T=(s===o?-1:1)*Qn(C),S=T*(t*D/r),F=T*-(r*g/t),k=(i+u)/2,M=(e+a)/2,V=k+(f*S-d*F),z=M+(d*S+f*F),L=(g-S)/t,O=(D-F)/r,P=(-g-S)/t,N=(-D-F)/r,A=L*L+O*O,y=(O<0?-1:1)*Math.acos(L/Qn(A)),Y=(L*N-O*P<0?-1:1)*Math.acos((L*P+O*N)/Qn(A*(P*P+N*N)));isNaN(Y)&&(Y=h),!o&&Y>0?Y-=c:o&&Y<0&&(Y+=c),y%=c,Y%=c;var ue=Math.ceil(Jn(Y)/(c/4)),fe=[],$=Y/ue,X=4/3*po($/2)/(1+_o($/2)),Ee=f*t,Z=d*t,Ne=d*-r,Re=f*r,ge;for(ge=0;ge<ue;ge++)n=y+ge*$,g=_o(n),D=po(n),L=_o(n+=$),O=po(n),fe.push(g-X*D,D+X*g,L+X*O,O-X*L,L,O);for(ge=0;ge<fe.length;ge+=2)g=fe[ge],D=fe[ge+1],fe[ge]=g*Ee+D*Ne+V,fe[ge+1]=g*Z+D*Re+z;return fe[ge-2]=u,fe[ge-1]=a,fe}}function _h(i){var e=(i+"").replace(N0,function(S){var F=+S;return F<1e-4&&F>-1e-4?0:F}).match(z0)||[],t=[],r=0,n=0,s=2/3,o=e.length,u=0,a="ERROR: malformed path: "+i,l,f,d,h,c,_,p,g,D,m,x,v,b,w,C,T=function(F,k,M,V){m=(M-F)/3,x=(V-k)/3,p.push(F+m,k+x,M-m,V-x,M,V)};if(!i||!isNaN(e[0])||isNaN(e[1]))return console.log(a),t;for(l=0;l<o;l++)if(b=c,isNaN(e[l])?(c=e[l].toUpperCase(),_=c!==e[l]):l--,d=+e[l+1],h=+e[l+2],_&&(d+=r,h+=n),l||(g=d,D=h),c==="M")p&&(p.length<8?t.length-=1:u+=p.length),r=g=d,n=D=h,p=[d,h],t.push(p),l+=2,c="L";else if(c==="C")p||(p=[0,0]),_||(r=n=0),p.push(d,h,r+e[l+3]*1,n+e[l+4]*1,r+=e[l+5]*1,n+=e[l+6]*1),l+=6;else if(c==="S")m=r,x=n,(b==="C"||b==="S")&&(m+=r-p[p.length-4],x+=n-p[p.length-3]),_||(r=n=0),p.push(m,x,d,h,r+=e[l+3]*1,n+=e[l+4]*1),l+=4;else if(c==="Q")m=r+(d-r)*s,x=n+(h-n)*s,_||(r=n=0),r+=e[l+3]*1,n+=e[l+4]*1,p.push(m,x,r+(d-r)*s,n+(h-n)*s,r,n),l+=4;else if(c==="T")m=r-p[p.length-4],x=n-p[p.length-3],p.push(r+m,n+x,d+(r+m*1.5-d)*s,h+(n+x*1.5-h)*s,r=d,n=h),l+=2;else if(c==="H")T(r,n,r=d,n),l+=1;else if(c==="V")T(r,n,r,n=d+(_?n-r:0)),l+=1;else if(c==="L"||c==="Z")c==="Z"&&(d=g,h=D,p.closed=!0),(c==="L"||Jn(r-d)>.5||Jn(n-h)>.5)&&(T(r,n,d,h),c==="L"&&(l+=2)),r=d,n=h;else if(c==="A"){if(w=e[l+4],C=e[l+5],m=e[l+6],x=e[l+7],f=7,w.length>1&&(w.length<3?(x=m,m=C,f--):(x=C,m=w.substr(2),f-=2),C=w.charAt(1),w=w.charAt(0)),v=Y0(r,n,+e[l+1],+e[l+2],+e[l+3],+w,+C,(_?r:0)+m*1,(_?n:0)+x*1),l+=f,v)for(f=0;f<v.length;f++)p.push(v[f]);r=p[p.length-2],n=p[p.length-1]}else console.log(a);return l=p.length,l<6?(t.pop(),l=0):p[0]===p[l-2]&&p[1]===p[l-1]&&(p.closed=!0),t.totalPoints=u+l,t}function gh(i){W0(i[0])&&(i=[i]);var e="",t=i.length,r,n,s,o;for(n=0;n<t;n++){for(o=i[n],e+="M"+jr(o[0])+","+jr(o[1])+" C",r=o.length,s=2;s<r;s++)e+=jr(o[s++])+","+jr(o[s++])+" "+jr(o[s++])+","+jr(o[s++])+" "+jr(o[s++])+","+jr(o[s])+" ";o.closed&&(e+="z")}return e}var yt,mh,yh=function(){return yt||typeof window!="undefined"&&(yt=window.gsap)&&yt.registerPlugin&&yt},Dh=function(){yt=yh(),yt?(yt.registerEase("_CE",Ti.create),mh=1):console.warn("Please gsap.registerPlugin(CustomEase)")},V0=1e20,go=function(e){return~~(e*1e3+(e<0?-.5:.5))/1e3},X0=1,H0=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,j0=/[cLlsSaAhHvVtTqQ]/g,U0=function(e){var t=e.length,r=V0,n;for(n=1;n<t;n+=6)+e[n]<r&&(r=+e[n]);return r},q0=function(e,t,r){!r&&r!==0&&(r=Math.max(+e[e.length-1],+e[1]));var n=+e[0]*-1,s=-r,o=e.length,u=1/(+e[o-2]+n),a=-t||(Math.abs(+e[o-1]-+e[1])<.01*(+e[o-2]-+e[0])?U0(e)+s:+e[o-1]+s),l;for(a?a=1/a:a=-u,l=0;l<o;l+=2)e[l]=(+e[l]+n)*u,e[l+1]=(+e[l+1]+s)*a},$0=function i(e,t,r,n,s,o,u,a,l,f,d){var h=(e+r)/2,c=(t+n)/2,_=(r+s)/2,p=(n+o)/2,g=(s+u)/2,D=(o+a)/2,m=(h+_)/2,x=(c+p)/2,v=(_+g)/2,b=(p+D)/2,w=(m+v)/2,C=(x+b)/2,T=u-e,S=a-t,F=Math.abs((r-u)*S-(n-a)*T),k=Math.abs((s-u)*S-(o-a)*T),M;return f||(f=[{x:e,y:t},{x:u,y:a}],d=1),f.splice(d||f.length-1,0,{x:w,y:C}),(F+k)*(F+k)>l*(T*T+S*S)&&(M=f.length,i(e,t,h,c,m,x,w,C,l,f,d),i(w,C,v,b,g,D,u,a,l,f,d+1+(f.length-M))),f},Ti=function(){function i(t,r,n){mh||Dh(),this.id=t,X0&&this.setData(r,n)}var e=i.prototype;return e.setData=function(r,n){n=n||{},r=r||"0,0,1,1";var s=r.match(H0),o=1,u=[],a=[],l=n.precision||1,f=l<=1,d,h,c,_,p,g,D,m,x;if(this.data=r,(j0.test(r)||~r.indexOf("M")&&r.indexOf("C")<0)&&(s=_h(r)[0]),d=s.length,d===4)s.unshift(0,0),s.push(1,1),d=8;else if((d-2)%6)throw"Invalid CustomEase";for((+s[0]!=0||+s[d-2]!=1)&&q0(s,n.height,n.originY),this.segment=s,_=2;_<d;_+=6)h={x:+s[_-2],y:+s[_-1]},c={x:+s[_+4],y:+s[_+5]},u.push(h,c),$0(h.x,h.y,+s[_],+s[_+1],+s[_+2],+s[_+3],c.x,c.y,1/(l*2e5),u,u.length-1);for(d=u.length,_=0;_<d;_++)D=u[_],m=u[_-1]||D,(D.x>m.x||m.y!==D.y&&m.x===D.x||D===m)&&D.x<=1?(m.cx=D.x-m.x,m.cy=D.y-m.y,m.n=D,m.nx=D.x,f&&_>1&&Math.abs(m.cy/m.cx-u[_-2].cy/u[_-2].cx)>2&&(f=0),m.cx<o&&(m.cx?o=m.cx:(m.cx=.001,_===d-1&&(m.x-=.001,o=Math.min(o,.001),f=0)))):(u.splice(_--,1),d--);if(d=1/o+1|0,p=1/d,g=0,D=u[0],f){for(_=0;_<d;_++)x=_*p,D.nx<x&&(D=u[++g]),h=D.y+(x-D.x)/D.cx*D.cy,a[_]={x,cx:p,y:h,cy:0,nx:9},_&&(a[_-1].cy=h-a[_-1].y);a[d-1].cy=u[u.length-1].y-h}else{for(_=0;_<d;_++)D.nx<_*p&&(D=u[++g]),a[_]=D;g<u.length-1&&(a[_-1]=u[u.length-2])}return this.ease=function(v){var b=a[v*d|0]||a[d-1];return b.nx<v&&(b=b.n),b.y+(v-b.x)/b.cx*b.cy},this.ease.custom=this,this.id&&yt&&yt.registerEase(this.id,this.ease),this},e.getSVGData=function(r){return i.getSVGData(this,r)},i.create=function(r,n,s){return new i(r,n,s).ease},i.register=function(r){yt=r,Dh()},i.get=function(r){return yt.parseEase(r)},i.getSVGData=function(r,n){n=n||{};var s=n.width||100,o=n.height||100,u=n.x||0,a=(n.y||0)+o,l=yt.utils.toArray(n.path)[0],f,d,h,c,_,p,g,D,m,x;if(n.invert&&(o=-o,a=0),typeof r=="string"&&(r=yt.parseEase(r)),r.custom&&(r=r.custom),r instanceof i)f=gh(ph([r.segment],s,0,0,-o,u,a));else{for(f=[u,a],g=Math.max(5,(n.precision||1)*200),c=1/g,g+=2,D=5/g,m=go(u+c*s),x=go(a+r(c)*-o),d=(x-a)/(m-u),h=2;h<g;h++)_=go(u+h*c*s),p=go(a+r(h*c)*-o),(Math.abs((p-x)/(_-m)-d)>D||h===g-1)&&(f.push(m,x),d=(p-x)/(_-m)),m=_,x=p;f="M"+f.join(",")}return l&&l.setAttribute("d",f),f},i}();yh()&&yt.registerPlugin(Ti);Ti.version="3.12.2";var xh=/([\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 Ma(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+=Ma(i)}else if(e===3||e===4)return i.nodeValue;return t}var sn,Pa,bh,Zn,wh,Do,G0=/(?:\r|\n|\t\t)/g,K0=/(?:\s\s+)/g,Eh=function(e){sn=document,Pa=window,Zn=Zn||e||Pa.gsap||console.warn("Please gsap.registerPlugin(SplitText)"),Zn&&(Do=Zn.utils.toArray,wh=Zn.core.context||function(){},bh=1)},Q0=1,Sh=function(e){return Pa.getComputedStyle(e)},ka=function(e){return e.position==="absolute"||e.absolute===!0},J0=function(e,t){for(var r=t.length,n;--r>-1;)if(n=t[r],e.substr(0,n.length)===n)return n.length},Z0=" style='position:relative;display:inline-block;'",vh=function(e,t){e===void 0&&(e="");var r=~e.indexOf("++"),n=1;return r&&(e=e.split("++").join("")),function(){return"<"+t+Z0+(e?" class='"+e+(r?n++:"")+"'>":">")}},Th=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))},Oa=function(e,t){for(var r=t.length;--r>-1;)e.push(t[r])},Ch=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}},eg=function i(e){var t=Do(e.childNodes),r=t.length,n,s;for(n=0;n<r;n++)s=t[n],s._isSplit?i(s):n&&s.previousSibling&&s.previousSibling.nodeType===3?(s.previousSibling.nodeValue+=s.nodeType===3?s.nodeValue:s.firstChild.nodeValue,e.removeChild(s)):s.nodeType!==3&&(e.insertBefore(s.firstChild,s),e.removeChild(s))},lr=function(e,t){return parseFloat(t[e])||0},tg=function(e,t,r,n,s,o,u){var a=Sh(e),l=lr("paddingLeft",a),f=-999,d=lr("borderBottomWidth",a)+lr("borderTopWidth",a),h=lr("borderLeftWidth",a)+lr("borderRightWidth",a),c=lr("paddingTop",a)+lr("paddingBottom",a),_=lr("paddingLeft",a)+lr("paddingRight",a),p=lr("fontSize",a)*(t.lineThreshold||.2),g=a.textAlign,D=[],m=[],x=[],v=t.wordDelimiter||" ",b=t.tag?t.tag:t.span?"span":"div",w=t.type||t.split||"chars,words,lines",C=s&&~w.indexOf("lines")?[]:null,T=~w.indexOf("words"),S=~w.indexOf("chars"),F=ka(t),k=t.linesClass,M=~(k||"").indexOf("++"),V=[],z=a.display==="flex",L=e.style.display,O,P,N,A,y,Y,ue,fe,$,X,Ee,Z;for(M&&(k=k.split("++").join("")),z&&(e.style.display="block"),P=e.getElementsByTagName("*"),N=P.length,y=[],O=0;O<N;O++)y[O]=P[O];if(C||F)for(O=0;O<N;O++)A=y[O],Y=A.parentNode===e,(Y||F||S&&!T)&&(Z=A.offsetTop,C&&Y&&Math.abs(Z-f)>p&&(A.nodeName!=="BR"||O===0)&&(ue=[],C.push(ue),f=Z),F&&(A._x=A.offsetLeft,A._y=Z,A._w=A.offsetWidth,A._h=A.offsetHeight),C&&((A._isSplit&&Y||!S&&Y||T&&Y||!T&&A.parentNode.parentNode===e&&!A.parentNode._isSplit)&&(ue.push(A),A._x-=l,Ch(A,e,v)&&(A._wordEnd=!0)),A.nodeName==="BR"&&(A.nextSibling&&A.nextSibling.nodeName==="BR"||O===0)&&C.push([])));for(O=0;O<N;O++){if(A=y[O],Y=A.parentNode===e,A.nodeName==="BR"){C||F?(A.parentNode&&A.parentNode.removeChild(A),y.splice(O--,1),N--):T||e.appendChild(A);continue}if(F&&($=A.style,!T&&!Y&&(A._x+=A.parentNode._x,A._y+=A.parentNode._y),$.left=A._x+"px",$.top=A._y+"px",$.position="absolute",$.display="block",$.width=A._w+1+"px",$.height=A._h+"px"),!T&&S)if(A._isSplit)for(A._next=P=A.nextSibling,A.parentNode.appendChild(A);P&&P.nodeType===3&&P.textContent===" ";)A._next=P.nextSibling,A.parentNode.appendChild(P),P=P.nextSibling;else A.parentNode._isSplit?(A._parent=A.parentNode,!A.previousSibling&&A.firstChild&&(A.firstChild._isFirst=!0),A.nextSibling&&A.nextSibling.textContent===" "&&!A.nextSibling.nextSibling&&V.push(A.nextSibling),A._next=A.nextSibling&&A.nextSibling._isFirst?null:A.nextSibling,A.parentNode.removeChild(A),y.splice(O--,1),N--):Y||(Z=!A.nextSibling&&Ch(A.parentNode,e,v),A.parentNode._parent&&A.parentNode._parent.appendChild(A),Z&&A.parentNode.appendChild(sn.createTextNode(" ")),b==="span"&&(A.style.display="inline"),D.push(A));else A.parentNode._isSplit&&!A._isSplit&&A.innerHTML!==""?m.push(A):S&&!A._isSplit&&(b==="span"&&(A.style.display="inline"),D.push(A))}for(O=V.length;--O>-1;)V[O].parentNode.removeChild(V[O]);if(C){for(F&&(X=sn.createElement(b),e.appendChild(X),Ee=X.offsetWidth+"px",Z=X.offsetParent===e?0:e.offsetLeft,e.removeChild(X)),$=e.style.cssText,e.style.cssText="display:none;";e.firstChild;)e.removeChild(e.firstChild);for(fe=v===" "&&(!F||!T&&!S),O=0;O<C.length;O++){for(ue=C[O],X=sn.createElement(b),X.style.cssText="display:block;text-align:"+g+";position:"+(F?"absolute;":"relative;"),k&&(X.className=k+(M?O+1:"")),x.push(X),N=ue.length,P=0;P<N;P++)ue[P].nodeName!=="BR"&&(A=ue[P],X.appendChild(A),fe&&A._wordEnd&&X.appendChild(sn.createTextNode(" ")),F&&(P===0&&(X.style.top=A._y+"px",X.style.left=l+Z+"px"),A.style.top="0px",Z&&(A.style.left=A._x-Z+"px")));N===0?X.innerHTML=" ":!T&&!S&&(eg(X),Th(X,String.fromCharCode(160)," ")),F&&(X.style.width=Ee,X.style.height=A._h+"px"),e.appendChild(X)}e.style.cssText=$}F&&(u>e.clientHeight&&(e.style.height=u-c+"px",e.clientHeight<u&&(e.style.height=u+d+"px")),o>e.clientWidth&&(e.style.width=o-_+"px",e.clientWidth<o&&(e.style.width=o+h+"px"))),z&&(L?e.style.display=L:e.style.removeProperty("display")),Oa(r,D),T&&Oa(n,m),Oa(s,x)},rg=function(e,t,r,n){var s=t.tag?t.tag:t.span?"span":"div",o=t.type||t.split||"chars,words,lines",u=~o.indexOf("chars"),a=ka(t),l=t.wordDelimiter||" ",f=l!==" "?"":a?"­ ":" ",d="</"+s+">",h=1,c=t.specialChars?typeof t.specialChars=="function"?t.specialChars:J0:null,_,p,g,D,m,x,v,b,w=sn.createElement("div"),C=e.parentNode;for(C.insertBefore(w,e),w.textContent=e.nodeValue,C.removeChild(e),e=w,_=Ma(e),v=_.indexOf("<")!==-1,t.reduceWhiteSpace!==!1&&(_=_.replace(K0," ").replace(G0,"")),v&&(_=_.split("<").join("{{LT}}")),m=_.length,p=(_.charAt(0)===" "?f:"")+r(),g=0;g<m;g++)if(x=_.charAt(g),c&&(b=c(_.substr(g),t.specialChars)))x=_.substr(g,b||1),p+=u&&x!==" "?n()+x+"</"+s+">":x,g+=b-1;else if(x===l&&_.charAt(g-1)!==l&&g){for(p+=h?d:"",h=0;_.charAt(g+1)===l;)p+=f,g++;g===m-1?p+=f:_.charAt(g+1)!==")"&&(p+=f+r(),h=1)}else x==="{"&&_.substr(g,6)==="{{LT}}"?(p+=u?n()+"{{LT}}</"+s+">":"{{LT}}",g+=5):x.charCodeAt(0)>=55296&&x.charCodeAt(0)<=56319||_.charCodeAt(g+1)>=65024&&_.charCodeAt(g+1)<=65039?(D=((_.substr(g,12).split(xh)||[])[1]||"").length||2,p+=u&&x!==" "?n()+_.substr(g,D)+"</"+s+">":_.substr(g,D),g+=D-1):p+=u&&x!==" "?n()+x+"</"+s+">":x;e.outerHTML=p+(h?d:""),v&&Th(C,"{{LT}}","<")},ig=function i(e,t,r,n){var s=Do(e.childNodes),o=s.length,u=ka(t),a,l;if(e.nodeType!==3||o>1){for(t.absolute=!1,a=0;a<o;a++)l=s[a],l._next=l._isFirst=l._parent=l._wordEnd=null,(l.nodeType!==3||/\S+/.test(l.nodeValue))&&(u&&l.nodeType!==3&&Sh(l).display==="inline"&&(l.style.display="inline-block",l.style.position="relative"),l._isSplit=!0,i(l,t,r,n));t.absolute=u,e._isSplit=!0;return}rg(e,t,r,n)},on=function(){function i(t,r){bh||Eh(),this.elements=Do(t),this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=r||{},wh(this),Q0&&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,s=r.tag?r.tag:r.span?"span":"div",o=vh(r.wordsClass,s),u=vh(r.charsClass,s),a,l,f;--n>-1;)f=this.elements[n],this._originals[n]=f.innerHTML,a=f.clientHeight,l=f.clientWidth,ig(f,r,o,u),tg(f,r,this.chars,this.words,this.lines,l,a);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,s){return n.innerHTML=r[s]}),this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},i.create=function(r,n){return new i(r,n)},i}();on.version="3.12.2";on.register=Eh;Et.registerPlugin(j,nn,Ti,on);function ng(){Ti.create("loader","0.83, 0, 0.17, 1"),Ti.create("loader2","0.77, 0, 0.175, 1")}var Fi=new Cs({duration:1.2,easing:i=>Math.min(1,1.001-Math.pow(2,-10*i))});function sg(){Fi.on("scroll",j.update),Et.ticker.add(e=>{Fi.raf(e*1e3)}),Et.ticker.lagSmoothing(0);function i(e){Fi.raf(e),requestAnimationFrame(i)}requestAnimationFrame(i)}function og(){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 s of n.target.children)s.setAttribute("src",s.getAttribute("data-src"));n.target.load(),n.target.play(),e.unobserve(n.target)}})});i.forEach(function(t){e.observe(t)})}}function ug(){window.addEventListener("pageshow",function(i){i.persisted&&window.location.reload()})}function ag(){let i=document.createElement("script");i.src="https://cdn.jsdelivr.net/npm/@finsweet/attributes-scrolldisable@1/scrolldisable.js",i.defer=!0,document.head.appendChild(i)}function lg(){Et.to("#heroSection",{scrollTrigger:{trigger:"#bottomWrapper",start:"top bottom",toggleActions:"restart none none reverse"},y:"-100%"})}function fg(){let i=Et.timeline({});i.add(function(){history.scrollRestoration="manual",Fi.scrollTo(0)}),i.to(".loader_ract",{delay:.2,duration:.8,width:0,ease:"loader2"},">"),i.add(function(){Fi.start()},">"),i.to(".loader_wrapper",{display:"none",duration:.1},">"),window.addEventListener("resize",function(){setTimeout(function(){Et.set(".loader_wrapper",{display:"none"})},50)})}function cg(){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=Et.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 Fh=Et.from(".navbar",{y:"-100%",paused:!0,duration:.2,ease:"loader2"}).progress(1);window.standardHeaderScrollAnimation=function(){j.create({start:"top top",endTrigger:".bottom-wrapper",end:"bottom top+=100px",onUpdate:i=>{i.direction===-1?Fh.play():Fh.reverse()}})};window.videoInsideText=function(i){let e=i.querySelector('[class*="copy-this"]');i.querySelector('[class*="headline-span"]').appendChild(e)};window.spanVideoMaskAnimation=function(i){Et.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){let e=i.querySelector(".hero_headline_ract-mask"),t=Et.timeline({}),r=new on("#heroHeading",{type:"lines",linesClass:"hero-line"}),n=new on("#heroHeading",{type:"lines",linesClass:"hero-line-mask"});t.from(".navbar",{opacity:0,duration:.6,ease:"loader2"},">+0.4"),t.from(".hero-line",{duration:1.2,y:"100%",stagger:.2,ease:"loader2"},">-0.5"),e&&t.to(".hero_headline_ract-mask",{width:"0%",duration:.6,ease:"loader2"},">-0.6"),t.from("#heroBottomWrapper",{opacity:0,duration:1,ease:"loader2"},">-0.4")};window.caseStudyMaskAnimation=function(i){let e=i.querySelector(".portfolio_item_image-mask"),t=Et.from(e,{width:"100%",duration:.35,ease:"loader2",paused:!0});j.create({animation:t,trigger:e,start:"top 80%",onEnter:()=>t.play()})};window.reviewsSlider=function(i){};window.Webflow||(window.Webflow=[]);window.Webflow.push(()=>{console.log("The new code source is loaded!"),of(),og(),Webflow.env("editor")===void 0?(sg(),Fi.start()):(console.log("Editor mode ON"),Fi.destroy()),ng(),ug(),lg(),fg(),cg(),window.innerWidth<992&&ag()});})();
|
|
5
|
+
`:""}`,e),setTimeout(()=>{throw i},0)}var _o=!0;function ff(i){let e=_o;_o=!1;let t=i();return _o=e,t}function Oi(i,e,t={}){let r;return ut(i,e)(n=>r=n,t),r}function ut(...i){return hf(...i)}var hf=df;function I_(i){hf=i}function df(i,e){let t={};Ja(t,i);let r=[t,...cn(i)],n=typeof e=="function"?N_(r,e):z_(r,e,i);return L_.bind(null,i,e,n)}function N_(i,e){return(t=()=>{},{scope:r={},params:n=[]}={})=>{let s=e.apply(us([r,...i]),n);Do(t,s)}}var Xa={};function B_(i,e){if(Xa[i])return Xa[i];let t=Object.getPrototypeOf(async function(){}).constructor,r=/^[\n\s]*if.*\(.*\)/.test(i.trim())||/^(let|const)\s/.test(i.trim())?`(async()=>{ ${i} })()`:i,s=(()=>{try{let o=new t(["__self","scope"],`with (scope) { __self.result = ${r} }; __self.finished = true; return __self.result;`);return Object.defineProperty(o,"name",{value:`[Alpine] ${i}`}),o}catch(o){return ss(o,e,i),Promise.resolve()}})();return Xa[i]=s,s}function z_(i,e,t){let r=B_(e,t);return(n=()=>{},{scope:s={},params:o=[]}={})=>{r.result=void 0,r.finished=!1;let a=us([s,...i]);if(typeof r=="function"){let u=r(r,a).catch(l=>ss(l,t,e));r.finished?(Do(n,r.result,a,o,t),r.result=void 0):u.then(l=>{Do(n,l,a,o,t)}).catch(l=>ss(l,t,e)).finally(()=>r.result=void 0)}}}function Do(i,e,t,r,n){if(_o&&typeof e=="function"){let s=e.apply(t,r);s instanceof Promise?s.then(o=>Do(i,o,t,r)).catch(o=>ss(o,n,e)):i(s)}else typeof e=="object"&&e instanceof Promise?e.then(s=>i(s)):i(e)}var yu="x-";function pn(i=""){return yu+i}function V_(i){yu=i}var eu={};function ke(i,e){return eu[i]=e,{before(t){if(!eu[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 s=Object.entries(i._x_virtualDirectives).map(([a,u])=>({name:a,value:u})),o=pf(s);s=s.map(a=>o.find(u=>u.name===a.name)?{name:`x-bind:${a.name}`,value:`"${a.value}"`}:a),e=e.concat(s)}let r={};return e.map(mf((s,o)=>r[s]=o)).filter(xf).map(H_(r,t)).sort(U_).map(s=>Y_(i,s))}function pf(i){return Array.from(i).map(mf()).filter(e=>!xf(e))}var tu=!1,ts=new Map,_f=Symbol();function W_(i){tu=!0;let e=Symbol();_f=e,ts.set(e,[]);let t=()=>{for(;ts.get(e).length;)ts.get(e).shift()();ts.delete(e)},r=()=>{tu=!1,t()};i(t),r()}function gf(i){let e=[],t=a=>e.push(a),[r,n]=E_(i);return e.push(n),[{Alpine:ls,effect:r,cleanup:t,evaluateLater:ut.bind(ut,i),evaluate:Oi.bind(Oi,i)},()=>e.forEach(a=>a())]}function Y_(i,e){let t=()=>{},r=eu[e.type]||t,[n,s]=gf(i);nf(i,e.original,s);let o=()=>{i._x_ignore||i._x_ignoreSelf||(r.inline&&r.inline(i,e,n),r=r.bind(r,i,e,n),tu?ts.get(_f).push(r):r())};return o.runCleanups=s,o}var Df=(i,e)=>({name:t,value:r})=>(t.startsWith(i)&&(t=t.replace(i,e)),{name:t,value:r}),vf=i=>i;function mf(i=()=>{}){return({name:e,value:t})=>{let{name:r,value:n}=yf.reduce((s,o)=>o(s),{name:e,value:t});return r!==e&&i(r,e),{name:r,value:n}}}var yf=[];function Eu(i){yf.push(i)}function xf({name:i}){return Ef().test(i)}var Ef=()=>new RegExp(`^${yu}([^:^.]+)\\b`);function H_(i,e){return({name:t,value:r})=>{let n=t.match(Ef()),s=t.match(/:([a-zA-Z0-9\-:]+)/),o=t.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],a=e||i[t]||t;return{type:n?n[1]:null,value:s?s[1]:null,modifiers:o.map(u=>u.replace(".","")),expression:r,original:a}}}var ru="DEFAULT",Ai=["ignore","ref","data","id","bind","init","for","model","modelable","transition","show","if",ru,"teleport"];function U_(i,e){let t=Ai.indexOf(i.type)===-1?ru:i.type,r=Ai.indexOf(e.type)===-1?ru:e.type;return Ai.indexOf(t)-Ai.indexOf(r)}var iu=[],bu=!1;function Cu(i=()=>{}){return queueMicrotask(()=>{bu||setTimeout(()=>{nu()})}),new Promise(e=>{iu.push(()=>{i(),e()})})}function nu(){for(bu=!1;iu.length;)iu.shift()()}function X_(){bu=!0}function wu(i,e){return Array.isArray(e)?Rc(i,e.join(" ")):typeof e=="object"&&e!==null?G_(i,e):typeof e=="function"?wu(i,e()):Rc(i,e)}function Rc(i,e){let t=s=>s.split(" ").filter(Boolean),r=s=>s.split(" ").filter(o=>!i.classList.contains(o)).filter(Boolean),n=s=>(i.classList.add(...s),()=>{i.classList.remove(...s)});return e=e===!0?e="":e||"",n(r(e))}function G_(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),s=[],o=[];return n.forEach(a=>{i.classList.contains(a)&&(i.classList.remove(a),o.push(a))}),r.forEach(a=>{i.classList.contains(a)||(i.classList.add(a),s.push(a))}),()=>{o.forEach(a=>i.classList.add(a)),s.forEach(a=>i.classList.remove(a))}}function xo(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=$_(r)),i.style.setProperty(r,n)}),setTimeout(()=>{i.style.length===0&&i.removeAttribute("style")}),()=>{xo(i,t)}}function j_(i,e){let t=i.getAttribute("style",e);return i.setAttribute("style",e),()=>{i.setAttribute("style",t||"")}}function $_(i){return i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function su(i,e=()=>{}){let t=!1;return function(){t?e.apply(this,arguments):(t=!0,i.apply(this,arguments))}}ke("transition",(i,{value:e,modifiers:t,expression:r},{evaluate:n})=>{typeof r=="function"&&(r=n(r)),r!==!1&&(!r||typeof r=="boolean"?Z_(i,t,e):K_(i,r,e))});function K_(i,e,t){bf(i,wu,""),{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 Z_(i,e,t){bf(i,xo);let r=!e.includes("in")&&!e.includes("out")&&!t,n=r||e.includes("in")||["enter"].includes(t),s=r||e.includes("out")||["leave"].includes(t);e.includes("in")&&!r&&(e=e.filter((v,D)=>D<e.indexOf("out"))),e.includes("out")&&!r&&(e=e.filter((v,D)=>D>e.indexOf("out")));let o=!e.includes("opacity")&&!e.includes("scale"),a=o||e.includes("opacity"),u=o||e.includes("scale"),l=a?0:1,c=u?Jn(e,"scale",95)/100:1,d=Jn(e,"delay",0)/1e3,h=Jn(e,"origin","center"),f="opacity, transform",_=Jn(e,"duration",150)/1e3,p=Jn(e,"duration",75)/1e3,g="cubic-bezier(0.4, 0.0, 0.2, 1)";n&&(i._x_transition.enter.during={transformOrigin:h,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)"}),s&&(i._x_transition.leave.during={transformOrigin:h,transitionDelay:`${d}s`,transitionProperty:f,transitionDuration:`${p}s`,transitionTimingFunction:g},i._x_transition.leave.start={opacity:1,transform:"scale(1)"},i._x_transition.leave.end={opacity:l,transform:`scale(${c})`})}function bf(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=()=>{}){ou(i,e,{during:this.enter.during,start:this.enter.start,end:this.enter.end},r,n)},out(r=()=>{},n=()=>{}){ou(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,s=()=>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):s():i._x_transition?i._x_transition.in(t):s();return}i._x_hidePromise=i._x_transition?new Promise((o,a)=>{i._x_transition.out(()=>{},()=>o(r)),i._x_transitioning.beforeCancel(()=>a({isFromCancelledTransition:!0}))}):Promise.resolve(r),queueMicrotask(()=>{let o=Cf(i);o?(o._x_hideChildren||(o._x_hideChildren=[]),o._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 ou(i,e,{during:t,start:r,end:n}={},s=()=>{},o=()=>{}){if(i._x_transitioning&&i._x_transitioning.cancel(),Object.keys(t).length===0&&Object.keys(r).length===0&&Object.keys(n).length===0){s(),o();return}let a,u,l;Q_(i,{start(){a=e(i,r)},during(){u=e(i,t)},before:s,end(){a(),l=e(i,n)},after:o,cleanup(){u(),l()}})}function Q_(i,e){let t,r,n,s=su(()=>{ze(()=>{t=!0,r||e.before(),n||(e.end(),nu()),e.after(),i.isConnected&&e.cleanup(),delete i._x_transitioning})});i._x_transitioning={beforeCancels:[],beforeCancel(o){this.beforeCancels.push(o)},cancel:su(function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();s()}),finish:s},ze(()=>{e.start(),e.during()}),X_(),requestAnimationFrame(()=>{if(t)return;let o=Number(getComputedStyle(i).transitionDuration.replace(/,.*/,"").replace("s",""))*1e3,a=Number(getComputedStyle(i).transitionDelay.replace(/,.*/,"").replace("s",""))*1e3;o===0&&(o=Number(getComputedStyle(i).animationDuration.replace("s",""))*1e3),ze(()=>{e.before()}),r=!0,requestAnimationFrame(()=>{t||(ze(()=>{e.end()}),nu(),setTimeout(i._x_transitioning.finish,o+a),n=!0)})})}function Jn(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 Zr=!1;function Eo(i,e=()=>{}){return(...t)=>Zr?e(...t):i(...t)}function J_(i){return(...e)=>Zr&&i(...e)}function eg(i,e){i._x_dataStack&&(e._x_dataStack=i._x_dataStack,e.setAttribute("data-has-alpine-state",!0)),Zr=!0,wf(()=>{Fr(e,(t,r)=>{r(t,()=>{})})}),Zr=!1}var au=!1;function tg(i,e){e._x_dataStack||(e._x_dataStack=i._x_dataStack),Zr=!0,au=!0,wf(()=>{rg(e)}),Zr=!1,au=!1}function rg(i){let e=!1;Fr(i,(r,n)=>{Kr(r,(s,o)=>{if(e&&C_(s))return o();e=!0,n(s,o)})})}function wf(i){let e=dn;Pc((t,r)=>{let n=e(t);return os(n),()=>{}}),i(),Pc(e)}function ig(i){return Zr?au?!0:i.hasAttribute("data-has-alpine-state"):!1}function Sf(i,e,t,r=[]){switch(i._x_bindings||(i._x_bindings=hn({})),i._x_bindings[e]=t,e=r.includes("camel")?fg(e):e,e){case"value":ng(i,t);break;case"style":og(i,t);break;case"class":sg(i,t);break;case"selected":case"checked":ag(i,e,t);break;default:Tf(i,e,t);break}}function ng(i,e){if(i.type==="radio")i.attributes.value===void 0&&(i.value=e),window.fromModel&&(i.checked=kc(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=>kc(t,i.value)):i.checked=!!e;else if(i.tagName==="SELECT")cg(i,e);else{if(i.value===e)return;i.value=e===void 0?"":e}}function sg(i,e){i._x_undoAddedClasses&&i._x_undoAddedClasses(),i._x_undoAddedClasses=wu(i,e)}function og(i,e){i._x_undoAddedStyles&&i._x_undoAddedStyles(),i._x_undoAddedStyles=xo(i,e)}function ag(i,e,t){Tf(i,e,t),lg(i,e,t)}function Tf(i,e,t){[null,void 0,!1].includes(t)&&hg(e)?i.removeAttribute(e):(Af(e)&&(t=e),ug(i,e,t))}function ug(i,e,t){i.getAttribute(e)!=t&&i.setAttribute(e,t)}function lg(i,e,t){i[e]!==t&&(i[e]=t)}function cg(i,e){let t=[].concat(e).map(r=>r+"");Array.from(i.options).forEach(r=>{r.selected=t.includes(r.value)})}function fg(i){return i.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function kc(i,e){return i==e}function Af(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 hg(i){return!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(i)}function dg(i,e,t){return i._x_bindings&&i._x_bindings[e]!==void 0?i._x_bindings[e]:Ff(i,e,t)}function pg(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,ff(()=>Oi(i,n.expression))}return Ff(i,e,t)}function Ff(i,e,t){let r=i.getAttribute(e);return r===null?typeof t=="function"?t():t:r===""?!0:Af(e)?!![e,"true"].includes(r):r}function Of(i,e){var t;return function(){var r=this,n=arguments,s=function(){t=null,i.apply(r,n)};clearTimeout(t),t=setTimeout(s,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 Mf({get:i,set:e},{get:t,set:r}){let n=!0,s,o,a,u,l=dn(()=>{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!==s?(d=t(),r(c),d=c):(e(JSON.parse(u!=null?u:null)),c=d)),s=JSON.stringify(c),o=JSON.stringify(d)});return()=>{os(l)}}function _g(i){(Array.isArray(i)?i:[i]).forEach(t=>t(ls))}var Ti={},Lc=!1;function gg(i,e){if(Lc||(Ti=hn(Ti),Lc=!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(),uf(Ti[i])}function Dg(){return Ti}var Rf={};function vg(i,e){let t=typeof e!="function"?()=>e:e;return i instanceof Element?kf(i,t()):(Rf[i]=t,()=>{})}function mg(i){return Object.entries(Rf).forEach(([e,t])=>{Object.defineProperty(i,e,{get(){return(...r)=>t(...r)}})}),i}function kf(i,e,t){let r=[];for(;r.length;)r.pop()();let n=Object.entries(e).map(([o,a])=>({name:o,value:a})),s=pf(n);return n=n.map(o=>s.find(a=>a.name===o.name)?{name:`x-bind:${o.name}`,value:`"${o.value}"`}:o),xu(i,n,t).map(o=>{r.push(o.runCleanups),o()}),()=>{for(;r.length;)r.pop()()}}var Lf={};function yg(i,e){Lf[i]=e}function xg(i,e){return Object.entries(Lf).forEach(([t,r])=>{Object.defineProperty(i,t,{get(){return(...n)=>r.bind(e)(...n)},enumerable:!1})}),i}var Eg={get reactive(){return hn},get release(){return os},get effect(){return dn},get raw(){return Gc},version:"3.13.1",flushAndStopDeferringMutations:P_,dontAutoEvaluateFunctions:ff,disableEffectScheduling:y_,startObservingMutations:Du,stopObservingMutations:of,setReactivityEngine:x_,onAttributeRemoved:nf,onAttributesAdded:rf,closestDataStack:cn,skipDuringClone:Eo,onlyDuringClone:J_,addRootSelector:Kc,addInitSelector:Zc,addScopeToNode:as,deferMutations:O_,mapAttributes:Eu,evaluateLater:ut,interceptInit:w_,setEvaluator:I_,mergeProxies:us,extractProp:pg,findClosest:yo,onElRemoved:pu,closestRoot:mo,destroyTree:du,interceptor:lf,transition:ou,setStyles:xo,mutateDom:ze,directive:ke,entangle:Mf,throttle:Pf,debounce:Of,evaluate:Oi,initTree:Fr,nextTick:Cu,prefixed:pn,prefix:V_,plugin:_g,magic:rr,store:gg,start:b_,clone:tg,cloneNode:eg,bound:dg,$data:af,walk:Kr,data:yg,bind:vg},ls=Eg;function If(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 bg="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",g1=If(bg+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),Cg=Object.freeze({}),D1=Object.freeze([]),wg=Object.prototype.hasOwnProperty,bo=(i,e)=>wg.call(i,e),Pi=Array.isArray,ns=i=>Nf(i)==="[object Map]",Sg=i=>typeof i=="string",Su=i=>typeof i=="symbol",Co=i=>i!==null&&typeof i=="object",Tg=Object.prototype.toString,Nf=i=>Tg.call(i),Bf=i=>Nf(i).slice(8,-1),Tu=i=>Sg(i)&&i!=="NaN"&&i[0]!=="-"&&""+parseInt(i,10)===i,wo=i=>{let e=Object.create(null);return t=>e[t]||(e[t]=i(t))},Ag=/-(\w)/g,v1=wo(i=>i.replace(Ag,(e,t)=>t?t.toUpperCase():"")),Fg=/\B([A-Z])/g,m1=wo(i=>i.replace(Fg,"-$1").toLowerCase()),zf=wo(i=>i.charAt(0).toUpperCase()+i.slice(1)),y1=wo(i=>i?`on${zf(i)}`:""),Vf=(i,e)=>i!==e&&(i===i||e===e),uu=new WeakMap,es=[],pr,Mi=Symbol("iterate"),lu=Symbol("Map key iterate");function Og(i){return i&&i._isEffect===!0}function Pg(i,e=Cg){Og(i)&&(i=i.raw);let t=kg(i,e);return e.lazy||t(),t}function Mg(i){i.active&&(Wf(i),i.options.onStop&&i.options.onStop(),i.active=!1)}var Rg=0;function kg(i,e){let t=function(){if(!t.active)return i();if(!es.includes(t)){Wf(t);try{return Ig(),es.push(t),pr=t,i()}finally{es.pop(),Yf(),pr=es[es.length-1]}}};return t.id=Rg++,t.allowRecurse=!!e.allowRecurse,t._isEffect=!0,t.active=!0,t.raw=i,t.deps=[],t.options=e,t}function Wf(i){let{deps:e}=i;if(e.length){for(let t=0;t<e.length;t++)e[t].delete(i);e.length=0}}var fn=!0,Au=[];function Lg(){Au.push(fn),fn=!1}function Ig(){Au.push(fn),fn=!0}function Yf(){let i=Au.pop();fn=i===void 0?!0:i}function tr(i,e,t){if(!fn||pr===void 0)return;let r=uu.get(i);r||uu.set(i,r=new Map);let n=r.get(t);n||r.set(t,n=new Set),n.has(pr)||(n.add(pr),pr.deps.push(n),pr.options.onTrack&&pr.options.onTrack({effect:pr,target:i,type:e,key:t}))}function Qr(i,e,t,r,n,s){let o=uu.get(i);if(!o)return;let a=new Set,u=c=>{c&&c.forEach(d=>{(d!==pr||d.allowRecurse)&&a.add(d)})};if(e==="clear")o.forEach(u);else if(t==="length"&&Pi(i))o.forEach((c,d)=>{(d==="length"||d>=r)&&u(c)});else switch(t!==void 0&&u(o.get(t)),e){case"add":Pi(i)?Tu(t)&&u(o.get("length")):(u(o.get(Mi)),ns(i)&&u(o.get(lu)));break;case"delete":Pi(i)||(u(o.get(Mi)),ns(i)&&u(o.get(lu)));break;case"set":ns(i)&&u(o.get(Mi));break}let l=c=>{c.options.onTrigger&&c.options.onTrigger({effect:c,target:i,key:t,type:e,newValue:r,oldValue:n,oldTarget:s}),c.options.scheduler?c.options.scheduler(c):c()};a.forEach(l)}var Ng=If("__proto__,__v_isRef,__isVue"),Hf=new Set(Object.getOwnPropertyNames(Symbol).map(i=>Symbol[i]).filter(Su)),Bg=Uf(),zg=Uf(!0),Ic=Vg();function Vg(){let i={};return["includes","indexOf","lastIndexOf"].forEach(e=>{i[e]=function(...t){let r=ge(this);for(let s=0,o=this.length;s<o;s++)tr(r,"get",s+"");let n=r[e](...t);return n===-1||n===!1?r[e](...t.map(ge)):n}}),["push","pop","shift","unshift","splice"].forEach(e=>{i[e]=function(...t){Lg();let r=ge(this)[e].apply(this,t);return Yf(),r}}),i}function Uf(i=!1,e=!1){return function(r,n,s){if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_raw"&&s===(i?e?r0:jf:e?t0:qf).get(r))return r;let o=Pi(r);if(!i&&o&&bo(Ic,n))return Reflect.get(Ic,n,s);let a=Reflect.get(r,n,s);return(Su(n)?Hf.has(n):Ng(n))||(i||tr(r,"get",n),e)?a:cu(a)?!o||!Tu(n)?a.value:a:Co(a)?i?$f(a):Mu(a):a}}var Wg=Yg();function Yg(i=!1){return function(t,r,n,s){let o=t[r];if(!i&&(n=ge(n),o=ge(o),!Pi(t)&&cu(o)&&!cu(n)))return o.value=n,!0;let a=Pi(t)&&Tu(r)?Number(r)<t.length:bo(t,r),u=Reflect.set(t,r,n,s);return t===ge(s)&&(a?Vf(n,o)&&Qr(t,"set",r,n,o):Qr(t,"add",r,n)),u}}function Hg(i,e){let t=bo(i,e),r=i[e],n=Reflect.deleteProperty(i,e);return n&&t&&Qr(i,"delete",e,void 0,r),n}function Ug(i,e){let t=Reflect.has(i,e);return(!Su(e)||!Hf.has(e))&&tr(i,"has",e),t}function Xg(i){return tr(i,"iterate",Pi(i)?"length":Mi),Reflect.ownKeys(i)}var Gg={get:Bg,set:Wg,deleteProperty:Hg,has:Ug,ownKeys:Xg},qg={get:zg,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}},Fu=i=>Co(i)?Mu(i):i,Ou=i=>Co(i)?$f(i):i,Pu=i=>i,So=i=>Reflect.getPrototypeOf(i);function lo(i,e,t=!1,r=!1){i=i.__v_raw;let n=ge(i),s=ge(e);e!==s&&!t&&tr(n,"get",e),!t&&tr(n,"get",s);let{has:o}=So(n),a=r?Pu:t?Ou:Fu;if(o.call(n,e))return a(i.get(e));if(o.call(n,s))return a(i.get(s));i!==n&&i.get(e)}function co(i,e=!1){let t=this.__v_raw,r=ge(t),n=ge(i);return i!==n&&!e&&tr(r,"has",i),!e&&tr(r,"has",n),i===n?t.has(i):t.has(i)||t.has(n)}function fo(i,e=!1){return i=i.__v_raw,!e&&tr(ge(i),"iterate",Mi),Reflect.get(i,"size",i)}function Nc(i){i=ge(i);let e=ge(this);return So(e).has.call(e,i)||(e.add(i),Qr(e,"add",i,i)),this}function Bc(i,e){e=ge(e);let t=ge(this),{has:r,get:n}=So(t),s=r.call(t,i);s?Gf(t,r,i):(i=ge(i),s=r.call(t,i));let o=n.call(t,i);return t.set(i,e),s?Vf(e,o)&&Qr(t,"set",i,e,o):Qr(t,"add",i,e),this}function zc(i){let e=ge(this),{has:t,get:r}=So(e),n=t.call(e,i);n?Gf(e,t,i):(i=ge(i),n=t.call(e,i));let s=r?r.call(e,i):void 0,o=e.delete(i);return n&&Qr(e,"delete",i,void 0,s),o}function Vc(){let i=ge(this),e=i.size!==0,t=ns(i)?new Map(i):new Set(i),r=i.clear();return e&&Qr(i,"clear",void 0,void 0,t),r}function ho(i,e){return function(r,n){let s=this,o=s.__v_raw,a=ge(o),u=e?Pu:i?Ou:Fu;return!i&&tr(a,"iterate",Mi),o.forEach((l,c)=>r.call(n,u(l),u(c),s))}}function po(i,e,t){return function(...r){let n=this.__v_raw,s=ge(n),o=ns(s),a=i==="entries"||i===Symbol.iterator&&o,u=i==="keys"&&o,l=n[i](...r),c=t?Pu:e?Ou:Fu;return!e&&tr(s,"iterate",u?lu:Mi),{next(){let{value:d,done:h}=l.next();return h?{value:d,done:h}:{value:a?[c(d[0]),c(d[1])]:c(d),done:h}},[Symbol.iterator](){return this}}}}function $r(i){return function(...e){{let t=e[0]?`on key "${e[0]}" `:"";console.warn(`${zf(i)} operation ${t}failed: target is readonly.`,ge(this))}return i==="delete"?!1:this}}function jg(){let i={get(s){return lo(this,s)},get size(){return fo(this)},has:co,add:Nc,set:Bc,delete:zc,clear:Vc,forEach:ho(!1,!1)},e={get(s){return lo(this,s,!1,!0)},get size(){return fo(this)},has:co,add:Nc,set:Bc,delete:zc,clear:Vc,forEach:ho(!1,!0)},t={get(s){return lo(this,s,!0)},get size(){return fo(this,!0)},has(s){return co.call(this,s,!0)},add:$r("add"),set:$r("set"),delete:$r("delete"),clear:$r("clear"),forEach:ho(!0,!1)},r={get(s){return lo(this,s,!0,!0)},get size(){return fo(this,!0)},has(s){return co.call(this,s,!0)},add:$r("add"),set:$r("set"),delete:$r("delete"),clear:$r("clear"),forEach:ho(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{i[s]=po(s,!1,!1),t[s]=po(s,!0,!1),e[s]=po(s,!1,!0),r[s]=po(s,!0,!0)}),[i,t,e,r]}var[$g,Kg,Zg,Qg]=jg();function Xf(i,e){let t=e?i?Qg:Zg:i?Kg:$g;return(r,n,s)=>n==="__v_isReactive"?!i:n==="__v_isReadonly"?i:n==="__v_raw"?r:Reflect.get(bo(t,n)&&n in r?t:r,n,s)}var Jg={get:Xf(!1,!1)},e0={get:Xf(!0,!1)};function Gf(i,e,t){let r=ge(t);if(r!==t&&e.call(i,r)){let n=Bf(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 qf=new WeakMap,t0=new WeakMap,jf=new WeakMap,r0=new WeakMap;function i0(i){switch(i){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function n0(i){return i.__v_skip||!Object.isExtensible(i)?0:i0(Bf(i))}function Mu(i){return i&&i.__v_isReadonly?i:Kf(i,!1,Gg,Jg,qf)}function $f(i){return Kf(i,!0,qg,e0,jf)}function Kf(i,e,t,r,n){if(!Co(i))return console.warn(`value cannot be made reactive: ${String(i)}`),i;if(i.__v_raw&&!(e&&i.__v_isReactive))return i;let s=n.get(i);if(s)return s;let o=n0(i);if(o===0)return i;let a=new Proxy(i,o===2?r:t);return n.set(i,a),a}function ge(i){return i&&ge(i.__v_raw)||i}function cu(i){return!!(i&&i.__v_isRef===!0)}rr("nextTick",()=>Cu);rr("dispatch",i=>rs.bind(rs,i));rr("watch",(i,{evaluateLater:e,effect:t})=>(r,n)=>{let s=e(r),o=!0,a,u=t(()=>s(l=>{JSON.stringify(l),o?a=l:queueMicrotask(()=>{n(l,a),a=l}),o=!1}));i._x_effects.delete(u)});rr("store",Dg);rr("data",i=>af(i));rr("root",i=>mo(i));rr("refs",i=>(i._x_refs_proxy||(i._x_refs_proxy=us(s0(i))),i._x_refs_proxy));function s0(i){let e=[],t=i;for(;t;)t._x_refs&&e.push(t._x_refs),t=t.parentNode;return e}var Ga={};function Zf(i){return Ga[i]||(Ga[i]=0),++Ga[i]}function o0(i,e){return yo(i,t=>{if(t._x_ids&&t._x_ids[e])return!0})}function a0(i,e){i._x_ids||(i._x_ids={}),i._x_ids[e]||(i._x_ids[e]=Zf(e))}rr("id",i=>(e,t=null)=>{let r=o0(i,e),n=r?r._x_ids[e]:Zf(e);return t?`${e}-${n}-${t}`:`${e}-${n}`});rr("el",i=>i);Qf("Focus","focus","focus");Qf("Persist","persist","persist");function Qf(i,e,t){rr(e,r=>Ar(`You can't use [$${e}] without first installing the "${i}" plugin here: https://alpinejs.dev/plugins/${t}`,r))}ke("modelable",(i,{expression:e},{effect:t,evaluateLater:r,cleanup:n})=>{let s=r(e),o=()=>{let c;return s(d=>c=d),c},a=r(`${e} = __placeholder`),u=c=>a(()=>{},{scope:{__placeholder:c}}),l=o();u(l),queueMicrotask(()=>{if(!i._x_model)return;i._x_removeModelListeners.default();let c=i._x_model.get,d=i._x_model.set,h=Mf({get(){return c()},set(f){d(f)}},{get(){return o()},set(f){u(f)}});n(h)})});ke("teleport",(i,{modifiers:e,expression:t},{cleanup:r})=>{i.tagName.toLowerCase()!=="template"&&Ar("x-teleport can only be used on a <template> tag",i);let n=Wc(t),s=i.content.cloneNode(!0).firstElementChild;i._x_teleport=s,s._x_teleportBack=i,i.setAttribute("data-teleport-template",!0),s.setAttribute("data-teleport-target",!0),i._x_forwardEvents&&i._x_forwardEvents.forEach(a=>{s.addEventListener(a,u=>{u.stopPropagation(),i.dispatchEvent(new u.constructor(u.type,u))})}),as(s,{},i);let o=(a,u,l)=>{l.includes("prepend")?u.parentNode.insertBefore(a,u):l.includes("append")?u.parentNode.insertBefore(a,u.nextSibling):u.appendChild(a)};ze(()=>{o(s,n,e),Fr(s),s._x_ignore=!0}),i._x_teleportPutBack=()=>{let a=Wc(t);ze(()=>{o(i._x_teleport,a,e)})},r(()=>s.remove())});var u0=document.createElement("div");function Wc(i){let e=Eo(()=>document.querySelector(i),()=>u0)();return e||Ar(`Cannot find x-teleport element for selector: "${i}"`),e}var Jf=()=>{};Jf.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})};ke("ignore",Jf);ke("effect",(i,{expression:e},{effect:t})=>t(ut(i,e)));function fu(i,e,t,r){let n=i,s=u=>r(u),o={},a=(u,l)=>c=>l(u,c);if(t.includes("dot")&&(e=l0(e)),t.includes("camel")&&(e=c0(e)),t.includes("passive")&&(o.passive=!0),t.includes("capture")&&(o.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=vo(u.split("ms")[0])?Number(u.split("ms")[0]):250;s=Of(s,l)}if(t.includes("throttle")){let u=t[t.indexOf("throttle")+1]||"invalid-wait",l=vo(u.split("ms")[0])?Number(u.split("ms")[0]):250;s=Pf(s,l)}return t.includes("prevent")&&(s=a(s,(u,l)=>{l.preventDefault(),u(l)})),t.includes("stop")&&(s=a(s,(u,l)=>{l.stopPropagation(),u(l)})),t.includes("self")&&(s=a(s,(u,l)=>{l.target===i&&u(l)})),(t.includes("away")||t.includes("outside"))&&(n=document,s=a(s,(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")&&(s=a(s,(u,l)=>{u(l),n.removeEventListener(e,s,o)})),s=a(s,(u,l)=>{h0(e)&&d0(l,t)||u(l)}),n.addEventListener(e,s,o),()=>{n.removeEventListener(e,s,o)}}function l0(i){return i.replace(/-/g,".")}function c0(i){return i.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function vo(i){return!Array.isArray(i)&&!isNaN(i)}function f0(i){return[" ","_"].includes(i)?i:i.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase()}function h0(i){return["keydown","keyup"].includes(i)}function d0(i,e){let t=e.filter(s=>!["window","document","prevent","stop","once","capture"].includes(s));if(t.includes("debounce")){let s=t.indexOf("debounce");t.splice(s,vo((t[s+1]||"invalid-wait").split("ms")[0])?2:1)}if(t.includes("throttle")){let s=t.indexOf("throttle");t.splice(s,vo((t[s+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(s=>t.includes(s));return t=t.filter(s=>!n.includes(s)),!(n.length>0&&n.filter(o=>((o==="cmd"||o==="super")&&(o="meta"),i[`${o}Key`])).length===n.length&&Yc(i.key).includes(t[0]))}function Yc(i){if(!i)return[];i=f0(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)}ke("model",(i,{modifiers:e,expression:t},{effect:r,cleanup:n})=>{let s=i;e.includes("parent")&&(s=i.parentNode);let o=ut(s,t),a;typeof t=="string"?a=ut(s,`${t} = __placeholder`):typeof t=="function"&&typeof t()=="string"?a=ut(s,`${t()} = __placeholder`):a=()=>{};let u=()=>{let h;return o(f=>h=f),Hc(h)?h.get():h},l=h=>{let f;o(_=>f=_),Hc(f)?f.set(h):a(()=>{},{scope:{__placeholder:h}})};typeof t=="string"&&i.type==="radio"&&ze(()=>{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=Zr?()=>{}:fu(i,c,e,h=>{l(p0(i,e,h,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 h=fu(i.form,"reset",[],f=>{Cu(()=>i._x_model&&i._x_model.set(i.value))});n(()=>h())}i._x_model={get(){return u()},set(h){l(h)}},i._x_forceModelUpdate=h=>{h===void 0&&typeof t=="string"&&t.match(/\./)&&(h=""),window.fromModel=!0,ze(()=>Sf(i,"value",h)),delete window.fromModel},r(()=>{let h=u();e.includes("unintrusive")&&document.activeElement.isSameNode(i)||i._x_forceModelUpdate(h)})});function p0(i,e,t,r){return ze(()=>{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")?qa(t.target.value):t.target.value;return t.target.checked?r.concat([n]):r.filter(s=>!_0(s,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 s=n.value||n.text;return qa(s)}):Array.from(t.target.selectedOptions).map(n=>n.value||n.text);{let n=t.target.value;return e.includes("number")?qa(n):e.includes("trim")?n.trim():n}}})}function qa(i){let e=i?parseFloat(i):null;return g0(e)?e:i}function _0(i,e){return i==e}function g0(i){return!Array.isArray(i)&&!isNaN(i)}function Hc(i){return i!==null&&typeof i=="object"&&typeof i.get=="function"&&typeof i.set=="function"}ke("cloak",i=>queueMicrotask(()=>ze(()=>i.removeAttribute(pn("cloak")))));Zc(()=>`[${pn("init")}]`);ke("init",Eo((i,{expression:e},{evaluate:t})=>typeof e=="string"?!!e.trim()&&t(e,{},!1):t(e,{},!1)));ke("text",(i,{expression:e},{effect:t,evaluateLater:r})=>{let n=r(e);t(()=>{n(s=>{ze(()=>{i.textContent=s})})})});ke("html",(i,{expression:e},{effect:t,evaluateLater:r})=>{let n=r(e);t(()=>{n(s=>{ze(()=>{i.innerHTML=s,i._x_ignoreSelf=!0,Fr(i),delete i._x_ignoreSelf})})})});Eu(Df(":",vf(pn("bind:"))));var eh=(i,{value:e,modifiers:t,expression:r,original:n},{effect:s})=>{if(!e){let a={};mg(a),ut(i,r)(l=>{kf(i,l,n)},{scope:a});return}if(e==="key")return D0(i,r);if(i._x_inlineBindings&&i._x_inlineBindings[e]&&i._x_inlineBindings[e].extract)return;let o=ut(i,r);s(()=>o(a=>{a===void 0&&typeof r=="string"&&r.match(/\./)&&(a=""),ze(()=>Sf(i,e,a,t))}))};eh.inline=(i,{value:e,modifiers:t,expression:r})=>{e&&(i._x_inlineBindings||(i._x_inlineBindings={}),i._x_inlineBindings[e]={expression:r,extract:!1})};ke("bind",eh);function D0(i,e){i._x_keyExpression=e}Kc(()=>`[${pn("data")}]`);ke("data",(i,{expression:e},{cleanup:t})=>{if(ig(i))return;e=e===""?"{}":e;let r={};Ja(r,i);let n={};xg(n,r);let s=Oi(i,e,{scope:n});(s===void 0||s===!0)&&(s={}),Ja(s,i);let o=hn(s);uf(o);let a=as(i,o);o.init&&Oi(i,o.init),t(()=>{o.destroy&&Oi(i,o.destroy),a()})});ke("show",(i,{modifiers:e,expression:t},{effect:r})=>{let n=ut(i,t);i._x_doHide||(i._x_doHide=()=>{ze(()=>{i.style.setProperty("display","none",e.includes("important")?"important":void 0)})}),i._x_doShow||(i._x_doShow=()=>{ze(()=>{i.style.length===1&&i.style.display==="none"?i.removeAttribute("style"):i.style.removeProperty("display")})});let s=()=>{i._x_doHide(),i._x_isShown=!1},o=()=>{i._x_doShow(),i._x_isShown=!0},a=()=>setTimeout(o),u=su(d=>d?o():s(),d=>{typeof i._x_toggleAndCascadeWithTransitions=="function"?i._x_toggleAndCascadeWithTransitions(i,d,o,s):d?a():s()}),l,c=!0;r(()=>n(d=>{!c&&d===l||(e.includes("immediate")&&(d?a():s()),u(d),l=d,c=!1)}))});ke("for",(i,{expression:e},{effect:t,cleanup:r})=>{let n=m0(e),s=ut(i,n.items),o=ut(i,i._x_keyExpression||"index");i._x_prevKeys=[],i._x_lookup={},t(()=>v0(i,n,s,o)),r(()=>{Object.values(i._x_lookup).forEach(a=>a.remove()),delete i._x_prevKeys,delete i._x_lookup})});function v0(i,e,t,r){let n=o=>typeof o=="object"&&!Array.isArray(o),s=i;t(o=>{y0(o)&&o>=0&&(o=Array.from(Array(o).keys(),g=>g+1)),o===void 0&&(o=[]);let a=i._x_lookup,u=i._x_prevKeys,l=[],c=[];if(n(o))o=Object.entries(o).map(([g,v])=>{let D=Uc(e,v,g,o);r(m=>c.push(m),{scope:{index:g,...D}}),l.push(D)});else for(let g=0;g<o.length;g++){let v=Uc(e,o[g],g,o);r(D=>c.push(D),{scope:{index:g,...v}}),l.push(v)}let d=[],h=[],f=[],_=[];for(let g=0;g<u.length;g++){let v=u[g];c.indexOf(v)===-1&&f.push(v)}u=u.filter(g=>!f.includes(g));let p="template";for(let g=0;g<c.length;g++){let v=c[g],D=u.indexOf(v);if(D===-1)u.splice(g,0,v),d.push([p,g]);else if(D!==g){let m=u.splice(g,1)[0],E=u.splice(D-1,1)[0];u.splice(g,0,E),u.splice(D,0,m),h.push([m,E])}else _.push(v);p=v}for(let g=0;g<f.length;g++){let v=f[g];a[v]._x_effects&&a[v]._x_effects.forEach(Xc),a[v].remove(),a[v]=null,delete a[v]}for(let g=0;g<h.length;g++){let[v,D]=h[g],m=a[v],E=a[D],b=document.createElement("div");ze(()=>{E||Ar('x-for ":key" is undefined or invalid',s),E.after(b),m.after(E),E._x_currentIfEl&&E.after(E._x_currentIfEl),b.before(m),m._x_currentIfEl&&m.after(m._x_currentIfEl),b.remove()}),E._x_refreshXForScope(l[c.indexOf(D)])}for(let g=0;g<d.length;g++){let[v,D]=d[g],m=v==="template"?s:a[v];m._x_currentIfEl&&(m=m._x_currentIfEl);let E=l[D],b=c[D],w=document.importNode(s.content,!0).firstElementChild,x=hn(E);as(w,x,s),w._x_refreshXForScope=C=>{Object.entries(C).forEach(([A,S])=>{x[A]=S})},ze(()=>{m.after(w),Fr(w)}),typeof b=="object"&&Ar("x-for key cannot be an object, it must be a string or an integer",s),a[b]=w}for(let g=0;g<_.length;g++)a[_[g]]._x_refreshXForScope(l[c.indexOf(_[g])]);s._x_prevKeys=c})}function m0(i){let e=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,t=/^\s*\(|\)\s*$/g,r=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,n=i.match(r);if(!n)return;let s={};s.items=n[2].trim();let o=n[1].replace(t,"").trim(),a=o.match(e);return a?(s.item=o.replace(e,"").trim(),s.index=a[1].trim(),a[2]&&(s.collection=a[2].trim())):s.item=o,s}function Uc(i,e,t,r){let n={};return/^\[.*\]$/.test(i.item)&&Array.isArray(e)?i.item.replace("[","").replace("]","").split(",").map(o=>o.trim()).forEach((o,a)=>{n[o]=e[a]}):/^\{.*\}$/.test(i.item)&&!Array.isArray(e)&&typeof e=="object"?i.item.replace("{","").replace("}","").split(",").map(o=>o.trim()).forEach(o=>{n[o]=e[o]}):n[i.item]=e,i.index&&(n[i.index]=t),i.collection&&(n[i.collection]=r),n}function y0(i){return!Array.isArray(i)&&!isNaN(i)}function th(){}th.inline=(i,{expression:e},{cleanup:t})=>{let r=mo(i);r._x_refs||(r._x_refs={}),r._x_refs[e]=i,t(()=>delete r._x_refs[e])};ke("ref",th);ke("if",(i,{expression:e},{effect:t,cleanup:r})=>{i.tagName.toLowerCase()!=="template"&&Ar("x-if can only be used on a <template> tag",i);let n=ut(i,e),s=()=>{if(i._x_currentIfEl)return i._x_currentIfEl;let a=i.content.cloneNode(!0).firstElementChild;return as(a,{},i),ze(()=>{i.after(a),Fr(a)}),i._x_currentIfEl=a,i._x_undoIf=()=>{Kr(a,u=>{u._x_effects&&u._x_effects.forEach(Xc)}),a.remove(),delete i._x_currentIfEl},a},o=()=>{i._x_undoIf&&(i._x_undoIf(),delete i._x_undoIf)};t(()=>n(a=>{a?s():o()})),r(()=>i._x_undoIf&&i._x_undoIf())});ke("id",(i,{expression:e},{evaluate:t})=>{t(e).forEach(n=>a0(i,n))});Eu(Df("@",vf(pn("on:"))));ke("on",Eo((i,{value:e,modifiers:t,expression:r},{cleanup:n})=>{let s=r?ut(i,r):()=>{};i.tagName.toLowerCase()==="template"&&(i._x_forwardEvents||(i._x_forwardEvents=[]),i._x_forwardEvents.includes(e)||i._x_forwardEvents.push(e));let o=fu(i,e,t,a=>{s(()=>{},{scope:{$event:a},params:[a]})});n(()=>o())}));To("Collapse","collapse","collapse");To("Intersect","intersect","intersect");To("Focus","trap","focus");To("Mask","mask","mask");function To(i,e,t){ke(e,r=>Ar(`You can't use [x-${e}] without first installing the "${i}" plugin here: https://alpinejs.dev/plugins/${t}`,r))}ls.setEvaluator(df);ls.setReactivityEngine({reactive:Mu,effect:Pg,release:Mg,raw:ge});var x0=ls,Ru=x0;function ku(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 E0(i){let e=document.createElement("template");ku(i).forEach(r=>{e.setAttribute(r.name,r.value),i.removeAttribute(r.name)}),i.parentNode.insertBefore(e,i),e.content.appendChild(i)}function b0(i){ku(i).forEach(t=>{let r=t.name.match(/^(x-[^:]+)(:.+)$/);if(r){let n=null;if(["x-bind","x-on"].includes(r[1])){let s=r[1],o=r[2].substring(1);s==="x-on"&&o.startsWith("update:")&&(s+=":update",o=o.substring(7)),o.includes(":")&&(n=s+":"+o.replace(/:/g,"."))}else n=r[1]+r[2].replace(/:/g,".");n&&(i.setAttribute(n,t.value),i.removeAttribute(t.name))}})}function C0(i){ku(i).forEach(t=>{t.name.match(/^x-transition.*(?!(enter|leave))/)&&i.setAttribute(t.name,"")})}function w0(){document.querySelectorAll("[x-data],[x-data] *").forEach(i=>{b0(i),C0(i)}),document.querySelectorAll("[x-data] [x-for], [x-data] [x-if]").forEach(E0)}function rh(){window.Alpine=Ru,window.Webflow||(window.Webflow=[]),window.Webflow.push(()=>{w0(),Ru.start()})}function Lu(){return Lu=Object.assign?Object.assign.bind():function(i){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(i[r]=t[r])}return i},Lu.apply(this,arguments)}function Ao(i,e,t){return Math.max(i,Math.min(e,t))}var Iu=class{advance(e){var t;if(!this.isRunning)return;let r=!1;if(this.lerp)this.value=(n=this.value,s=this.to,(1-(o=1-Math.exp(-60*this.lerp*e)))*n+o*s),Math.round(this.value)===this.to&&(this.value=this.to,r=!0);else{this.currentTime+=e;let a=Ao(0,this.currentTime/this.duration,1);r=a>=1;let u=r?1:this.easing(a);this.value=this.from+(this.to-this.from)*u}var n,s,o;(t=this.onUpdate)==null||t.call(this,this.value,r),r&&this.stop()}stop(){this.isRunning=!1}fromTo(e,t,{lerp:r=.1,duration:n=1,easing:s=u=>u,onStart:o,onUpdate:a}){this.from=this.value=e,this.to=t,this.lerp=r,this.duration=n,this.easing=s,this.currentTime=0,this.isRunning=!0,o==null||o(),this.onUpdate=a}},Nu=class{constructor({wrapper:e,content:t,autoResize:r=!0}={}){if(this.resize=()=>{this.onWrapperResize(),this.onContentResize()},this.onWrapperResize=()=>{this.wrapper===window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)},this.onContentResize=()=>{this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth},this.wrapper=e,this.content=t,r){let n=function(s,o){let a;return function(){let u=arguments,l=this;clearTimeout(a),a=setTimeout(function(){s.apply(l,u)},250)}}(this.resize);this.wrapper!==window&&(this.wrapperResizeObserver=new ResizeObserver(n),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(n),this.contentResizeObserver.observe(this.content)}this.resize()}destroy(){var e,t;(e=this.wrapperResizeObserver)==null||e.disconnect(),(t=this.contentResizeObserver)==null||t.disconnect()}get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},Fo=class{constructor(){this.events={}}emit(e,...t){let r=this.events[e]||[];for(let n=0,s=r.length;n<s;n++)r[n](...t)}on(e,t){var r;return(r=this.events[e])!=null&&r.push(t)||(this.events[e]=[t]),()=>{var n;this.events[e]=(n=this.events[e])==null?void 0:n.filter(s=>t!==s)}}off(e,t){var r;this.events[e]=(r=this.events[e])==null?void 0:r.filter(n=>t!==n)}destroy(){this.events={}}},Bu=class{constructor(e,{wheelMultiplier:t=1,touchMultiplier:r=2,normalizeWheel:n=!1}){this.onTouchStart=s=>{let{clientX:o,clientY:a}=s.targetTouches?s.targetTouches[0]:s;this.touchStart.x=o,this.touchStart.y=a,this.lastDelta={x:0,y:0}},this.onTouchMove=s=>{let{clientX:o,clientY:a}=s.targetTouches?s.targetTouches[0]:s,u=-(o-this.touchStart.x)*this.touchMultiplier,l=-(a-this.touchStart.y)*this.touchMultiplier;this.touchStart.x=o,this.touchStart.y=a,this.lastDelta={x:u,y:l},this.emitter.emit("scroll",{deltaX:u,deltaY:l,event:s})},this.onTouchEnd=s=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:s})},this.onWheel=s=>{let{deltaX:o,deltaY:a}=s;this.normalizeWheel&&(o=Ao(-100,o,100),a=Ao(-100,a,100)),o*=this.wheelMultiplier,a*=this.wheelMultiplier,this.emitter.emit("scroll",{deltaX:o,deltaY:a,event:s})},this.element=e,this.wheelMultiplier=t,this.touchMultiplier=r,this.normalizeWheel=n,this.touchStart={x:null,y:null},this.emitter=new Fo,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(),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})}},Oo=class{constructor({wrapper:e=window,content:t=document.documentElement,wheelEventsTarget:r=e,eventsTarget:n=r,smoothWheel:s=!0,smoothTouch:o=!1,syncTouch:a=!1,syncTouchLerp:u=.1,__iosNoInertiaSyncTouchLerp:l=.4,touchInertiaMultiplier:c=35,duration:d,easing:h=b=>Math.min(1,1.001-Math.pow(2,-10*b)),lerp:f=!d&&.1,infinite:_=!1,orientation:p="vertical",gestureOrientation:g="vertical",touchMultiplier:v=1,wheelMultiplier:D=1,normalizeWheel:m=!1,autoResize:E=!0}={}){this.onVirtualScroll=({deltaX:b,deltaY:w,event:x})=>{if(x.ctrlKey)return;let C=x.type.includes("touch"),A=x.type.includes("wheel");if(this.options.gestureOrientation==="both"&&b===0&&w===0||this.options.gestureOrientation==="vertical"&&w===0||this.options.gestureOrientation==="horizontal"&&b===0||C&&this.options.gestureOrientation==="vertical"&&this.scroll===0&&!this.options.infinite&&w<=0)return;let S=x.composedPath();if(S=S.slice(0,S.indexOf(this.rootElement)),S.find(L=>{var I;return(L.hasAttribute==null?void 0:L.hasAttribute("data-lenis-prevent"))||C&&(L.hasAttribute==null?void 0:L.hasAttribute("data-lenis-prevent-touch"))||A&&(L.hasAttribute==null?void 0:L.hasAttribute("data-lenis-prevent-wheel"))||((I=L.classList)==null?void 0:I.contains("lenis"))}))return;if(this.isStopped||this.isLocked)return void x.preventDefault();if(this.isSmooth=(this.options.smoothTouch||this.options.syncTouch)&&C||this.options.smoothWheel&&A,!this.isSmooth)return this.isScrolling=!1,void this.animate.stop();x.preventDefault();let O=w;this.options.gestureOrientation==="both"?O=Math.abs(w)>Math.abs(b)?w:b:this.options.gestureOrientation==="horizontal"&&(O=b);let F=C&&this.options.syncTouch,M=C&&x.type==="touchend"&&Math.abs(O)>1;M&&(O=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+O,Lu({programmatic:!1},F&&{lerp:M?this.syncTouchLerp:this.options.__iosNoInertiaSyncTouchLerp}))},this.onScroll=()=>{if(!this.isScrolling){let b=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.velocity=0,this.direction=Math.sign(this.animatedScroll-b),this.emit()}},window.lenisVersion="1.0.27",e!==document.documentElement&&e!==document.body||(e=window),this.options={wrapper:e,content:t,wheelEventsTarget:r,eventsTarget:n,smoothWheel:s,smoothTouch:o,syncTouch:a,syncTouchLerp:u,__iosNoInertiaSyncTouchLerp:l,touchInertiaMultiplier:c,duration:d,easing:h,lerp:f,infinite:_,gestureOrientation:g,orientation:p,touchMultiplier:v,wheelMultiplier:D,normalizeWheel:m,autoResize:E},this.animate=new Iu,this.emitter=new Fo,this.dimensions=new Nu({wrapper:e,content:t,autoResize:E}),this.toggleClass("lenis",!0),this.velocity=0,this.isLocked=!1,this.isStopped=!1,this.isSmooth=a||s||o,this.isScrolling=!1,this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onScroll,{passive:!1}),this.virtualScroll=new Bu(n,{touchMultiplier:v,wheelMultiplier:D,normalizeWheel:m}),this.virtualScroll.on("scroll",this.onVirtualScroll)}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onScroll,{passive:!1}),this.virtualScroll.destroy(),this.dimensions.destroy(),this.toggleClass("lenis",!1),this.toggleClass("lenis-smooth",!1),this.toggleClass("lenis-scrolling",!1),this.toggleClass("lenis-stopped",!1),this.toggleClass("lenis-locked",!1)}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(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.velocity=0,this.animate.stop()}start(){this.isStopped=!1,this.reset()}stop(){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:s=this.options.duration,easing:o=this.options.easing,lerp:a=!s&&this.options.lerp,onComplete:u=null,force:l=!1,programmatic:c=!0}={}){if(!this.isStopped&&!this.isLocked||l){if(["top","left","start"].includes(e))e=0;else if(["bottom","right","end"].includes(e))e=this.limit;else{var d;let h;if(typeof e=="string"?h=document.querySelector(e):(d=e)!=null&&d.nodeType&&(h=e),h){if(this.options.wrapper!==window){let _=this.options.wrapper.getBoundingClientRect();t-=this.isHorizontal?_.left:_.top}let f=h.getBoundingClientRect();e=(this.isHorizontal?f.left:f.top)+this.animatedScroll}}if(typeof e=="number"){if(e+=t,e=Math.round(e),this.options.infinite?c&&(this.targetScroll=this.animatedScroll=this.scroll):e=Ao(0,e,this.limit),r)return this.animatedScroll=this.targetScroll=e,this.setScroll(this.scroll),this.reset(),void(u==null||u(this));if(!c){if(e===this.targetScroll)return;this.targetScroll=e}this.animate.fromTo(this.animatedScroll,e,{duration:s,easing:o,lerp:a,onStart:()=>{n&&(this.isLocked=!0),this.isScrolling=!0},onUpdate:(h,f)=>{this.isScrolling=!0,this.velocity=h-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=h,this.setScroll(this.scroll),c&&(this.targetScroll=h),f||this.emit(),f&&requestAnimationFrame(()=>{this.reset(),this.emit(),u==null||u(this)})}})}}}get rootElement(){return this.options.wrapper===window?this.options.content:this.options.wrapper}get limit(){return 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?(this.animatedScroll%(e=this.limit)+e)%e:this.animatedScroll;var e}get progress(){return this.limit===0?1:this.scroll/this.limit}get isSmooth(){return this.__isSmooth}set isSmooth(e){this.__isSmooth!==e&&(this.__isSmooth=e,this.toggleClass("lenis-smooth",e))}get isScrolling(){return this.__isScrolling}set isScrolling(e){this.__isScrolling!==e&&(this.__isScrolling=e,this.toggleClass("lenis-scrolling",e))}get isStopped(){return this.__isStopped}set isStopped(e){this.__isStopped!==e&&(this.__isStopped=e,this.toggleClass("lenis-stopped",e))}get isLocked(){return this.__isLocked}set isLocked(e){this.__isLocked!==e&&(this.__isLocked=e,this.toggleClass("lenis-locked",e))}get className(){let e="lenis";return this.isStopped&&(e+=" lenis-stopped"),this.isLocked&&(e+=" lenis-locked"),this.isScrolling&&(e+=" lenis-scrolling"),this.isSmooth&&(e+=" lenis-smooth"),e}toggleClass(e,t){this.rootElement.classList.toggle(e,t),this.emitter.emit("className change",this)}};function Or(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function ch(i,e){i.prototype=Object.create(e.prototype),i.prototype.constructor=i,i.__proto__=e}var bt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},gn={duration:.5,overwrite:!1,delay:0},il,rt,Se,zt=1e8,pe=1/zt,Gu=Math.PI*2,S0=Gu/4,T0=0,fh=Math.sqrt,A0=Math.cos,F0=Math.sin,Ve=function(e){return typeof e=="string"},Te=function(e){return typeof e=="function"},Mr=function(e){return typeof e=="number"},Wo=function(e){return typeof e=="undefined"},gr=function(e){return typeof e=="object"},Et=function(e){return e!==!1},nl=function(){return typeof window!="undefined"},Po=function(e){return Te(e)||Ve(e)},hh=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},it=Array.isArray,qu=/(?:-?\.?\d|\.)+/gi,sl=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Ni=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,zu=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,ol=/[+-]=-?[.\d]+/,dh=/[^,'"\[\]\s]+/gi,O0=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ye,Bt,ju,al,Mt={},Lo={},ph,_h=function(e){return(Lo=Ii(e,Mt))&&nt},Yo=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},Io=function(e,t){return!t&&console.warn(e)},gh=function(e,t){return e&&(Mt[e]=t)&&Lo&&(Lo[e]=t)||Mt},_s=function(){return 0},P0={suppressEvents:!0,isStart:!0,kill:!1},Mo={suppressEvents:!0,kill:!1},M0={suppressEvents:!0},ul={},ei=[],$u={},Dh,yt={},Vu={},ih=30,Ro=[],ll="",cl=function(e){var t=e[0],r,n;if(gr(t)||Te(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(n=Ro.length;n--&&!Ro[n].targetTest(t););r=Ro[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new dl(e[n],r)))||e.splice(n,1);return e},ti=function(e){return e._gsap||cl(Vt(e))[0]._gsap},fl=function(e,t,r){return(r=e[t])&&Te(r)?e[t]():Wo(r)&&e.getAttribute&&e.getAttribute(t)||r},lt=function(e,t){return(e=e.split(",")).forEach(t)||e},Ae=function(e){return Math.round(e*1e5)/1e5||0},je=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},R0=function(e,t){for(var r=t.length,n=0;e.indexOf(t[n])<0&&++n<r;);return n<r},No=function(){var e=ei.length,t=ei.slice(0),r,n;for($u={},ei.length=0,r=0;r<e;r++)n=t[r],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},vh=function(e,t,r,n){ei.length&&!rt&&No(),e.render(t,r,n||rt&&t<0&&(e._initted||e._startAt)),ei.length&&!rt&&No()},mh=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(dh).length<2?t:Ve(e)?e.trim():e},yh=function(e){return e},Yt=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},k0=function(e){return function(t,r){for(var n in r)n in t||n==="duration"&&e||n==="ease"||(t[n]=r[n])}},Ii=function(e,t){for(var r in t)e[r]=t[r];return e},nh=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},Bo=function(e,t){var r={},n;for(n in e)n in t||(r[n]=e[n]);return r},hs=function(e){var t=e.parent||ye,r=e.keyframes?k0(it(e.keyframes)):Yt;if(Et(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},L0=function(e,t){for(var r=e.length,n=r===t.length;n&&r--&&e[r]===t[r];);return r<0},xh=function(e,t,r,n,s){r===void 0&&(r="_first"),n===void 0&&(n="_last");var o=e[n],a;if(s)for(a=t[s];o&&o[s]>a;)o=o._prev;return o?(t._next=o._next,o._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[n]=t,t._prev=o,t.parent=t._dp=e,t},Ho=function(e,t,r,n){r===void 0&&(r="_first"),n===void 0&&(n="_last");var s=t._prev,o=t._next;s?s._next=o:e[r]===t&&(e[r]=o),o?o._prev=s:e[n]===t&&(e[n]=s),t._next=t._prev=t.parent=null},ri=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Ri=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},I0=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Ku=function(e,t,r,n){return e._startAt&&(rt?e._startAt.revert(Mo):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))},N0=function i(e){return!e||e._ts&&i(e.parent)},sh=function(e){return e._repeat?Dn(e._tTime,e=e.duration()+e._rDelay)*e:0},Dn=function(e,t){var r=Math.floor(e/=t);return e&&r===e?r-1:r},zo=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Uo=function(e){return e._end=je(e._start+(e._tDur/Math.abs(e._ts||e._rts||pe)||0))},Xo=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=je(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Uo(e),r._dirty||Ri(r,e)),e},Eh=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=zo(e.rawTime(),t),(!t._dur||vs(0,t.totalDuration(),r)-t._tTime>pe)&&t.render(r,!0)),Ri(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=-pe}},_r=function(e,t,r,n){return t.parent&&ri(t),t._start=je((Mr(r)?r:r||e!==ye?Nt(e,r,t):e._time)+t._delay),t._end=je(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),xh(e,t,"_first","_last",e._sort?"_start":0),Zu(t)||(e._recent=t),n||Eh(e,t),e._ts<0&&Xo(e,e._tTime),e},bh=function(e,t){return(Mt.ScrollTrigger||Yo("scrollTrigger",t))&&Mt.ScrollTrigger.create(t,e)},Ch=function(e,t,r,n,s){if(gl(e,t,s),!e._initted)return 1;if(!r&&e._pt&&!rt&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Dh!==xt.frame)return ei.push(e),e._lazy=[s,n],1},B0=function i(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||i(t))},Zu=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},z0=function(e,t,r,n){var s=e.ratio,o=t<0||!t&&(!e._start&&B0(e)&&!(!e._initted&&Zu(e))||(e._ts<0||e._dp._ts<0)&&!Zu(e))?0:1,a=e._rDelay,u=0,l,c,d;if(a&&e._repeat&&(u=vs(0,e._tDur,t),c=Dn(u,a),e._yoyo&&c&1&&(o=1-o),c!==Dn(e._tTime,a)&&(s=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==s||rt||n||e._zTime===pe||!t&&e._zTime){if(!e._initted&&Ch(e,t,n,r,u))return;for(d=e._zTime,e._zTime=t||(r?pe:0),r||(r=t&&!d),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=u,l=e._pt;l;)l.r(o,l.d),l=l._next;t<0&&Ku(e,t,r,!0),e._onUpdate&&!r&&Wt(e,"onUpdate"),u&&e._repeat&&!r&&e.parent&&Wt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===o&&(o&&ri(e,1),!r&&!rt&&(Wt(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},V0=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}},vn=function(e,t,r,n){var s=e._repeat,o=je(t)||0,a=e._tTime/e._tDur;return a&&!n&&(e._time*=o/e._dur),e._dur=o,e._tDur=s?s<0?1e10:je(o*(s+1)+e._rDelay*s):o,a>0&&!n&&Xo(e,e._tTime=e._tDur*a),e.parent&&Uo(e),r||Ri(e.parent,e),e},oh=function(e){return e instanceof tt?Ri(e):vn(e,e._dur)},W0={_start:0,endTime:_s,totalDuration:_s},Nt=function i(e,t,r){var n=e.labels,s=e._recent||W0,o=e.duration()>=zt?s.endTime(!1):e._dur,a,u,l;return Ve(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==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(t.substr(1))||0)*(l?(a<0?s:r).totalDuration()/100:1)):a<0?(t in n||(n[t]=o),n[t]):(u=parseFloat(t.charAt(a-1)+t.substr(a+1)),l&&r&&(u=u/100*(it(r)?r[0]:r).totalDuration()),a>1?i(e,t.substr(0,a-1),r)+u:o+u)):t==null?o:+t},ds=function(e,t,r){var n=Mr(t[1]),s=(n?2:1)+(e<2?0:1),o=t[s],a,u;if(n&&(o.duration=t[1]),o.parent=r,e){for(a=o,u=r;u&&!("immediateRender"in a);)a=u.vars.defaults||{},u=Et(u.vars.inherit)&&u.parent;o.immediateRender=Et(a.immediateRender),e<2?o.runBackwards=1:o.startAt=t[s-1]}return new Pe(t[0],o,t[s+1])},ii=function(e,t){return e||e===0?t(e):t},vs=function(e,t,r){return r<e?e:r>t?t:r},$e=function(e,t){return!Ve(e)||!(t=O0.exec(e))?"":t[1]},Y0=function(e,t,r){return ii(r,function(n){return vs(e,t,n)})},Qu=[].slice,wh=function(e,t){return e&&gr(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&gr(e[0]))&&!e.nodeType&&e!==Bt},H0=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(n){var s;return Ve(n)&&!t||wh(n,1)?(s=r).push.apply(s,Vt(n)):r.push(n)})||r},Vt=function(e,t,r){return Se&&!t&&Se.selector?Se.selector(e):Ve(e)&&!r&&(ju||!mn())?Qu.call((t||al).querySelectorAll(e),0):it(e)?H0(e,r):wh(e)?Qu.call(e,0):e?[e]:[]},Ju=function(e){return e=Vt(e)[0]||Io("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return Vt(t,r.querySelectorAll?r:r===e?Io("Invalid scope")||al.createElement("div"):e)}},Sh=function(e){return e.sort(function(){return .5-Math.random()})},Th=function(e){if(Te(e))return e;var t=gr(e)?e:{each:e},r=ki(t.ease),n=t.from||0,s=parseFloat(t.base)||0,o={},a=n>0&&n<1,u=isNaN(n)||a,l=t.axis,c=n,d=n;return Ve(n)?c=d={center:.5,edges:.5,end:1}[n]||0:!a&&u&&(c=n[0],d=n[1]),function(h,f,_){var p=(_||t).length,g=o[p],v,D,m,E,b,w,x,C,A;if(!g){if(A=t.grid==="auto"?0:(t.grid||[1,zt])[1],!A){for(x=-zt;x<(x=_[A++].getBoundingClientRect().left)&&A<p;);A--}for(g=o[p]=[],v=u?Math.min(A,p)*c-.5:n%A,D=A===zt?0:u?p*d/A-.5:n/A|0,x=0,C=zt,w=0;w<p;w++)m=w%A-v,E=D-(w/A|0),g[w]=b=l?Math.abs(l==="y"?E:m):fh(m*m+E*E),b>x&&(x=b),b<C&&(C=b);n==="random"&&Sh(g),g.max=x-C,g.min=C,g.v=p=(parseFloat(t.amount)||parseFloat(t.each)*(A>p?p-1:l?l==="y"?p/A:A:Math.max(A,p/A))||0)*(n==="edges"?-1:1),g.b=p<0?s-p:s,g.u=$e(t.amount||t.each)||0,r=r&&p<0?Ih(r):r}return p=(g[h]-g.min)/g.max||0,je(g.b+(r?r(p):p)*g.v)+g.u}},el=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var n=je(Math.round(parseFloat(r)/e)*e*t);return(n-n%1)/t+(Mr(r)?0:$e(r))}},Ah=function(e,t){var r=it(e),n,s;return!r&&gr(e)&&(n=r=e.radius||zt,e.values?(e=Vt(e.values),(s=!Mr(e[0]))&&(n*=n)):e=el(e.increment)),ii(t,r?Te(e)?function(o){return s=e(o),Math.abs(s-o)<=n?s:o}:function(o){for(var a=parseFloat(s?o.x:o),u=parseFloat(s?o.y:0),l=zt,c=0,d=e.length,h,f;d--;)s?(h=e[d].x-a,f=e[d].y-u,h=h*h+f*f):h=Math.abs(e[d]-a),h<l&&(l=h,c=d);return c=!n||l<=n?e[c]:o,s||c===o||Mr(o)?c:c+$e(o)}:el(e))},Fh=function(e,t,r,n){return ii(it(e)?!t:r===!0?!!(r=0):!n,function(){return it(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})},U0=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(s,o){return o(s)},n)}},X0=function(e,t){return function(r){return e(parseFloat(r))+(t||$e(r))}},G0=function(e,t,r){return Ph(e,t,0,1,r)},Oh=function(e,t,r){return ii(r,function(n){return e[~~t(n)]})},q0=function i(e,t,r){var n=t-e;return it(e)?Oh(e,i(0,e.length),t):ii(r,function(s){return(n+(s-e)%n)%n+e})},j0=function i(e,t,r){var n=t-e,s=n*2;return it(e)?Oh(e,i(0,e.length-1),t):ii(r,function(o){return o=(s+(o-e)%s)%s||0,e+(o>n?s-o:o)})},yn=function(e){for(var t=0,r="",n,s,o,a;~(n=e.indexOf("random(",t));)o=e.indexOf(")",n),a=e.charAt(n+7)==="[",s=e.substr(n+7,o-n-7).match(a?dh:qu),r+=e.substr(t,n-t)+Fh(a?s:+s[0],a?0:+s[1],+s[2]||1e-5),t=o+1;return r+e.substr(t,e.length-t)},Ph=function(e,t,r,n,s){var o=t-e,a=n-r;return ii(s,function(u){return r+((u-e)/o*a||0)})},$0=function i(e,t,r,n){var s=isNaN(e+t)?0:function(f){return(1-f)*e+f*t};if(!s){var o=Ve(e),a={},u,l,c,d,h;if(r===!0&&(n=1)&&(r=null),o)e={p:e},t={p:t};else if(it(e)&&!it(t)){for(c=[],d=e.length,h=d-2,l=1;l<d;l++)c.push(i(e[l-1],e[l]));d--,s=function(_){_*=d;var p=Math.min(h,~~_);return c[p](_-p)},r=t}else n||(e=Ii(it(e)?[]:{},e));if(!c){for(u in t)pl.call(a,e,u,"get",t[u]);s=function(_){return ml(_,a)||(o?e.p:e)}}}return ii(r,s)},ah=function(e,t,r){var n=e.labels,s=zt,o,a,u;for(o in n)a=n[o]-t,a<0==!!r&&a&&s>(a=Math.abs(a))&&(u=o,s=a);return u},Wt=function(e,t,r){var n=e.vars,s=n[t],o=Se,a=e._ctx,u,l,c;if(s)return u=n[t+"Params"],l=n.callbackScope||e,r&&ei.length&&No(),a&&(Se=a),c=u?s.apply(l,u):s.call(l),Se=o,c},cs=function(e){return ri(e),e.scrollTrigger&&e.scrollTrigger.kill(!!rt),e.progress()<1&&Wt(e,"onInterrupt"),e},_n,Mh=[],Rh=function(e){if(nl()&&e){e=!e.name&&e.default||e;var t=e.name,r=Te(e),n=t&&!r&&e.init?function(){this._props=[]}:e,s={init:_s,render:ml,add:pl,kill:fD,modifier:cD,rawVars:0},o={targetTest:0,get:0,getSetter:Go,aliases:{},register:0};if(mn(),e!==n){if(yt[t])return;Yt(n,Yt(Bo(e,s),o)),Ii(n.prototype,Ii(s,Bo(e,o))),yt[n.prop=t]=n,e.targetTest&&(Ro.push(n),ul[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}gh(t,n),e.register&&e.register(nt,n,ct)}else e&&Mh.push(e)},de=255,fs={aqua:[0,de,de],lime:[0,de,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,de],navy:[0,0,128],white:[de,de,de],olive:[128,128,0],yellow:[de,de,0],orange:[de,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[de,0,0],pink:[de,192,203],cyan:[0,de,de],transparent:[de,de,de,0]},Wu=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)*de+.5|0},kh=function(e,t,r){var n=e?Mr(e)?[e>>16,e>>8&de,e&de]:0:fs.black,s,o,a,u,l,c,d,h,f,_;if(!n){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),fs[e])n=fs[e];else if(e.charAt(0)==="#"){if(e.length<6&&(s=e.charAt(1),o=e.charAt(2),a=e.charAt(3),e="#"+s+s+o+o+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&de,n&de,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),n=[e>>16,e>>8&de,e&de]}else if(e.substr(0,3)==="hsl"){if(n=_=e.match(qu),!t)u=+n[0]%360/360,l=+n[1]/100,c=+n[2]/100,o=c<=.5?c*(l+1):c+l-c*l,s=c*2-o,n.length>3&&(n[3]*=1),n[0]=Wu(u+1/3,s,o),n[1]=Wu(u,s,o),n[2]=Wu(u-1/3,s,o);else if(~e.indexOf("="))return n=e.match(sl),r&&n.length<4&&(n[3]=1),n}else n=e.match(qu)||fs.transparent;n=n.map(Number)}return t&&!_&&(s=n[0]/de,o=n[1]/de,a=n[2]/de,d=Math.max(s,o,a),h=Math.min(s,o,a),c=(d+h)/2,d===h?u=l=0:(f=d-h,l=c>.5?f/(2-d-h):f/(d+h),u=d===s?(o-a)/f+(o<a?6:0):d===o?(a-s)/f+2:(s-o)/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},Lh=function(e){var t=[],r=[],n=-1;return e.split(Pr).forEach(function(s){var o=s.match(Ni)||[];t.push.apply(t,o),r.push(n+=o.length+1)}),t.c=r,t},uh=function(e,t,r){var n="",s=(e+n).match(Pr),o=t?"hsla(":"rgba(",a=0,u,l,c,d;if(!s)return e;if(s=s.map(function(h){return(h=kh(h,t,1))&&o+(t?h[0]+","+h[1]+"%,"+h[2]+"%,"+h[3]:h.join(","))+")"}),r&&(c=Lh(e),u=r.c,u.join(n)!==c.c.join(n)))for(l=e.replace(Pr,"1").split(Ni),d=l.length-1;a<d;a++)n+=l[a]+(~u.indexOf(a)?s.shift()||o+"0,0,0,0)":(c.length?c:s.length?s:r).shift());if(!l)for(l=e.split(Pr),d=l.length-1;a<d;a++)n+=l[a]+s[a];return n+l[d]},Pr=function(){var i="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in fs)i+="|"+e+"\\b";return new RegExp(i+")","gi")}(),K0=/hsl[a]?\(/,hl=function(e){var t=e.join(" "),r;if(Pr.lastIndex=0,Pr.test(t))return r=K0.test(t),e[1]=uh(e[1],r),e[0]=uh(e[0],r,Lh(e[1])),!0},gs,xt=function(){var i=Date.now,e=500,t=33,r=i(),n=r,s=1e3/240,o=s,a=[],u,l,c,d,h,f,_=function p(g){var v=i()-n,D=g===!0,m,E,b,w;if(v>e&&(r+=v-t),n+=v,b=n-r,m=b-o,(m>0||D)&&(w=++d.frame,h=b-d.time*1e3,d.time=b=b/1e3,o+=m+(m>=s?4:s-m),E=1),D||(u=l(p)),E)for(f=0;f<a.length;f++)a[f](b,h,w,g)};return d={time:0,frame:0,tick:function(){_(!0)},deltaRatio:function(g){return h/(1e3/(g||60))},wake:function(){ph&&(!ju&&nl()&&(Bt=ju=window,al=Bt.document||{},Mt.gsap=nt,(Bt.gsapVersions||(Bt.gsapVersions=[])).push(nt.version),_h(Lo||Bt.GreenSockGlobals||!Bt.gsap&&Bt||{}),c=Bt.requestAnimationFrame,Mh.forEach(Rh)),u&&d.sleep(),l=c||function(g){return setTimeout(g,o-d.time*1e3+1|0)},gs=1,_(2))},sleep:function(){(c?Bt.cancelAnimationFrame:clearTimeout)(u),gs=0,l=_s},lagSmoothing:function(g,v){e=g||1/0,t=Math.min(v||33,e)},fps:function(g){s=1e3/(g||240),o=d.time*1e3+s},add:function(g,v,D){var m=v?function(E,b,w,x){g(E,b,w,x),d.remove(m)}:g;return d.remove(g),a[D?"unshift":"push"](m),mn(),m},remove:function(g,v){~(v=a.indexOf(g))&&a.splice(v,1)&&f>=v&&f--},_listeners:a},d}(),mn=function(){return!gs&&xt.wake()},se={},Z0=/^[\d.\-M][\d.\-,\s]/,Q0=/["']/g,J0=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),n=r[0],s=1,o=r.length,a,u,l;s<o;s++)u=r[s],a=s!==o-1?u.lastIndexOf(","):u.length,l=u.substr(0,a),t[n]=isNaN(l)?l.replace(Q0,"").trim():+l,n=u.substr(a+1).trim();return t},eD=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)},tD=function(e){var t=(e+"").split("("),r=se[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[J0(t[1])]:eD(e).split(",").map(mh)):se._CE&&Z0.test(e)?se._CE("",e):r},Ih=function(e){return function(t){return 1-e(1-t)}},Nh=function i(e,t){for(var r=e._first,n;r;)r instanceof tt?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},ki=function(e,t){return e&&(Te(e)?e:se[e]||tD(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 s={easeIn:t,easeOut:r,easeInOut:n},o;return lt(e,function(a){se[a]=Mt[a]=s,se[o=a.toLowerCase()]=r;for(var u in s)se[o+(u==="easeIn"?".in":u==="easeOut"?".out":".inOut")]=se[a+"."+u]=s[u]}),s},Bh=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,s=(r||(e?.3:.45))/(t<1?t:1),o=s/Gu*(Math.asin(1/n)||0),a=function(c){return c===1?1:n*Math.pow(2,-10*c)*F0((c-o)*s)+1},u=e==="out"?a:e==="in"?function(l){return 1-a(1-l)}:Bh(a);return s=Gu/s,u.config=function(l,c){return i(e,l,c)},u},Hu=function i(e,t){t===void 0&&(t=1.70158);var r=function(o){return o?--o*o*((t+1)*o+t)+1:0},n=e==="out"?r:e==="in"?function(s){return 1-r(1-s)}:Bh(r);return n.config=function(s){return i(e,s)},n};lt("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})});se.Linear.easeNone=se.none=se.Linear.easeIn;zi("Elastic",Yu("in"),Yu("out"),Yu());(function(i,e){var t=1/e,r=2*t,n=2.5*t,s=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(o){return 1-s(1-o)},s)})(7.5625,2.75);zi("Expo",function(i){return i?Math.pow(2,10*(i-1)):0});zi("Circ",function(i){return-(fh(1-i*i)-1)});zi("Sine",function(i){return i===1?1:-A0(i*S0)+1});zi("Back",Hu("in"),Hu("out"),Hu());se.SteppedEase=se.steps=Mt.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,n=e+(t?0:1),s=t?1:0,o=1-pe;return function(a){return((n*vs(0,o,a)|0)+s)*r}}};gn.ease=se["quad.out"];lt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(i){return ll+=i+","+i+"Params,"});var dl=function(e,t){this.id=T0++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:fl,this.set=t?t.getSetter:Go},Ds=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,vn(this,+t.duration,1,1),this.data=t.data,Se&&(this._ctx=Se,Se.data.push(this)),gs||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,vn(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,n){if(mn(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(Xo(this,r),!s._dp||s.parent||Eh(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.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)===pe||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),vh(this,r,n)),this},e.time=function(r,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+sh(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.ratio},e.progress=function(r,n){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+sh(this),n):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(r,n){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*s,n):this._repeat?Dn(this._tTime,s)+1:1},e.timeScale=function(r){if(!arguments.length)return this._rts===-pe?0:this._rts;if(this._rts===r)return this;var n=this.parent&&this._ts?zo(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-pe?0:this._rts,this.totalTime(vs(-Math.abs(this._delay),this._tDur,n),!0),Uo(this),I0(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):(mn(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==pe&&(this._tTime-=pe)))),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+(Et(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?zo(n.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=M0);var n=rt;return rt=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),rt=n,this},e.globalTime=function(r){for(var n=this,s=arguments.length?r:n.rawTime();n;)s=n._start+s/(n._ts||1),n=n._dp;return!this.parent&&this._sat?this._sat.vars.immediateRender?-1/0:this._sat.globalTime(r):s},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,oh(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var n=this._time;return this._rDelay=r,oh(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(Nt(this,r),Et(n))},e.restart=function(r,n){return this.play().totalTime(r?-this._delay:0,Et(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?-pe:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-pe,this},e.isActive=function(){var r=this.parent||this._dp,n=this._start,s;return!!(!r||this._ts&&this._initted&&r.isActive()&&(s=r.rawTime(!0))>=n&&s<this.endTime(!0)-pe)},e.eventCallback=function(r,n,s){var o=this.vars;return arguments.length>1?(n?(o[r]=n,s&&(o[r+"Params"]=s),r==="onUpdate"&&(this._onUpdate=n)):delete o[r],this):o[r]},e.then=function(r){var n=this;return new Promise(function(s){var o=Te(r)?r:yh,a=function(){var l=n.then;n.then=null,Te(o)&&(o=o(n))&&(o.then||o===n)&&(n.then=l),s(o),n.then=l};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?a():n._prom=a})},e.kill=function(){cs(this)},i}();Yt(Ds.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:-pe,_prom:0,_ps:!1,_rts:1});var tt=function(i){ch(e,i);function e(r,n){var s;return r===void 0&&(r={}),s=i.call(this,r)||this,s.labels={},s.smoothChildTiming=!!r.smoothChildTiming,s.autoRemoveChildren=!!r.autoRemoveChildren,s._sort=Et(r.sortChildren),ye&&_r(r.parent||ye,Or(s),n),r.reversed&&s.reverse(),r.paused&&s.paused(!0),r.scrollTrigger&&bh(Or(s),r.scrollTrigger),s}var t=e.prototype;return t.to=function(n,s,o){return ds(0,arguments,this),this},t.from=function(n,s,o){return ds(1,arguments,this),this},t.fromTo=function(n,s,o,a){return ds(2,arguments,this),this},t.set=function(n,s,o){return s.duration=0,s.parent=this,hs(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new Pe(n,s,Nt(this,o),1),this},t.call=function(n,s,o){return _r(this,Pe.delayedCall(0,n,s),o)},t.staggerTo=function(n,s,o,a,u,l,c){return o.duration=s,o.stagger=o.stagger||a,o.onComplete=l,o.onCompleteParams=c,o.parent=this,new Pe(n,o,Nt(this,u)),this},t.staggerFrom=function(n,s,o,a,u,l,c){return o.runBackwards=1,hs(o).immediateRender=Et(o.immediateRender),this.staggerTo(n,s,o,a,u,l,c)},t.staggerFromTo=function(n,s,o,a,u,l,c,d){return a.startAt=o,hs(a).immediateRender=Et(a.immediateRender),this.staggerTo(n,s,a,u,l,c,d)},t.render=function(n,s,o){var a=this._time,u=this._dirty?this.totalDuration():this._tDur,l=this._dur,c=n<=0?0:je(n),d=this._zTime<0!=n<0&&(this._initted||!l),h,f,_,p,g,v,D,m,E,b,w,x;if(this!==ye&&c>u&&n>=0&&(c=u),c!==this._tTime||o||d){if(a!==this._time&&l&&(c+=this._time-a,n+=this._time-a),h=c,E=this._start,m=this._ts,v=!m,d&&(l||(a=this._zTime),(n||!s)&&(this._zTime=n)),this._repeat){if(w=this._yoyo,g=l+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(g*100+n,s,o);if(h=je(c%g),c===u?(p=this._repeat,h=l):(p=~~(c/g),p&&p===c/g&&(h=l,p--),h>l&&(h=l)),b=Dn(this._tTime,g),!a&&this._tTime&&b!==p&&this._tTime-b*g-this._dur<=0&&(b=p),w&&p&1&&(h=l-h,x=1),p!==b&&!this._lock){var C=w&&b&1,A=C===(w&&p&1);if(p<b&&(C=!C),a=C?0:c%l?l:c,this._lock=1,this.render(a||(x?0:je(p*g)),s,!l)._lock=0,this._tTime=c,!s&&this.parent&&Wt(this,"onRepeat"),this.vars.repeatRefresh&&!x&&(this.invalidate()._lock=1),a&&a!==this._time||v!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(l=this._dur,u=this._tDur,A&&(this._lock=2,a=C?l:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!x&&this.invalidate()),this._lock=0,!this._ts&&!v)return this;Nh(this,x)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(D=V0(this,je(a),je(h)),D&&(c-=h-(h=D._start))),this._tTime=c,this._time=h,this._act=!m,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,a=0),!a&&h&&!s&&!p&&(Wt(this,"onStart"),this._tTime!==c))return this;if(h>=a&&n>=0)for(f=this._first;f;){if(_=f._next,(f._act||h>=f._start)&&f._ts&&D!==f){if(f.parent!==this)return this.render(n,s,o);if(f.render(f._ts>0?(h-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(h-f._start)*f._ts,s,o),h!==this._time||!this._ts&&!v){D=0,_&&(c+=this._zTime=-pe);break}}f=_}else{f=this._last;for(var S=n<0?n:h;f;){if(_=f._prev,(f._act||S<=f._end)&&f._ts&&D!==f){if(f.parent!==this)return this.render(n,s,o);if(f.render(f._ts>0?(S-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(S-f._start)*f._ts,s,o||rt&&(f._initted||f._startAt)),h!==this._time||!this._ts&&!v){D=0,_&&(c+=this._zTime=S?-pe:pe);break}}f=_}}if(D&&!s&&(this.pause(),D.render(h>=a?0:-pe)._zTime=h>=a?1:-1,this._ts))return this._start=E,Uo(this),this.render(n,s,o);this._onUpdate&&!s&&Wt(this,"onUpdate",!0),(c===u&&this._tTime>=this.totalDuration()||!c&&a)&&(E===this._start||Math.abs(m)!==Math.abs(this._ts))&&(this._lock||((n||!l)&&(c===u&&this._ts>0||!c&&this._ts<0)&&ri(this,1),!s&&!(n<0&&!a)&&(c||a||!u)&&(Wt(this,c===u&&n>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c<u&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(n,s){var o=this;if(Mr(s)||(s=Nt(this,s,n)),!(n instanceof Ds)){if(it(n))return n.forEach(function(a){return o.add(a,s)}),this;if(Ve(n))return this.addLabel(n,s);if(Te(n))n=Pe.delayedCall(0,n);else return this}return this!==n?_r(this,n,s):this},t.getChildren=function(n,s,o,a){n===void 0&&(n=!0),s===void 0&&(s=!0),o===void 0&&(o=!0),a===void 0&&(a=-zt);for(var u=[],l=this._first;l;)l._start>=a&&(l instanceof Pe?s&&u.push(l):(o&&u.push(l),n&&u.push.apply(u,l.getChildren(!0,s,o)))),l=l._next;return u},t.getById=function(n){for(var s=this.getChildren(1,1,1),o=s.length;o--;)if(s[o].vars.id===n)return s[o]},t.remove=function(n){return Ve(n)?this.removeLabel(n):Te(n)?this.killTweensOf(n):(Ho(this,n),n===this._recent&&(this._recent=this._last),Ri(this))},t.totalTime=function(n,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=je(xt.time-(this._ts>0?n/this._ts:(this.totalDuration()-n)/-this._ts))),i.prototype.totalTime.call(this,n,s),this._forcing=0,this):this._tTime},t.addLabel=function(n,s){return this.labels[n]=Nt(this,s),this},t.removeLabel=function(n){return delete this.labels[n],this},t.addPause=function(n,s,o){var a=Pe.delayedCall(0,s||_s,o);return a.data="isPause",this._hasPause=1,_r(this,a,Nt(this,n))},t.removePause=function(n){var s=this._first;for(n=Nt(this,n);s;)s._start===n&&s.data==="isPause"&&ri(s),s=s._next},t.killTweensOf=function(n,s,o){for(var a=this.getTweensOf(n,o),u=a.length;u--;)Jr!==a[u]&&a[u].kill(n,s);return this},t.getTweensOf=function(n,s){for(var o=[],a=Vt(n),u=this._first,l=Mr(s),c;u;)u instanceof Pe?R0(u._targets,a)&&(l?(!Jr||u._initted&&u._ts)&&u.globalTime(0)<=s&&u.globalTime(u.totalDuration())>s:!s||u.isActive())&&o.push(u):(c=u.getTweensOf(a,s)).length&&o.push.apply(o,c),u=u._next;return o},t.tweenTo=function(n,s){s=s||{};var o=this,a=Nt(o,n),u=s,l=u.startAt,c=u.onStart,d=u.onStartParams,h=u.immediateRender,f,_=Pe.to(o,Yt({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:s.duration||Math.abs((a-(l&&"time"in l?l.time:o._time))/o.timeScale())||pe,onStart:function(){if(o.pause(),!f){var g=s.duration||Math.abs((a-(l&&"time"in l?l.time:o._time))/o.timeScale());_._dur!==g&&vn(_,g,0,1).render(_._time,!0,!0),f=1}c&&c.apply(_,d||[])}},s));return h?_.render(0):_},t.tweenFromTo=function(n,s,o){return this.tweenTo(s,Yt({startAt:{time:Nt(this,n)}},o))},t.recent=function(){return this._recent},t.nextLabel=function(n){return n===void 0&&(n=this._time),ah(this,Nt(this,n))},t.previousLabel=function(n){return n===void 0&&(n=this._time),ah(this,Nt(this,n),1)},t.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+pe)},t.shiftChildren=function(n,s,o){o===void 0&&(o=0);for(var a=this._first,u=this.labels,l;a;)a._start>=o&&(a._start+=n,a._end+=n),a=a._next;if(s)for(l in u)u[l]>=o&&(u[l]+=n);return Ri(this)},t.invalidate=function(n){var s=this._first;for(this._lock=0;s;)s.invalidate(n),s=s._next;return i.prototype.invalidate.call(this,n)},t.clear=function(n){n===void 0&&(n=!0);for(var s=this._first,o;s;)o=s._next,this.remove(s),s=o;return this._dp&&(this._time=this._tTime=this._pTime=0),n&&(this.labels={}),Ri(this)},t.totalDuration=function(n){var s=0,o=this,a=o._last,u=zt,l,c,d;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-n:n));if(o._dirty){for(d=o.parent;a;)l=a._prev,a._dirty&&a.totalDuration(),c=a._start,c>u&&o._sort&&a._ts&&!o._lock?(o._lock=1,_r(o,a,c-a._delay,1)._lock=0):u=c,c<0&&a._ts&&(s-=c,(!d&&!o._dp||d&&d.smoothChildTiming)&&(o._start+=c/o._ts,o._time-=c,o._tTime-=c),o.shiftChildren(-c,!1,-1/0),u=0),a._end>s&&a._ts&&(s=a._end),a=l;vn(o,o===ye&&o._time>s?o._time:s,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(n){if(ye._ts&&(vh(ye,zo(n,ye)),Dh=xt.frame),xt.frame>=ih){ih+=bt.autoSleep||120;var s=ye._first;if((!s||!s._ts)&&bt.autoSleep&&xt._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||xt.sleep()}}},e}(Ds);Yt(tt.prototype,{_lock:0,_hasPause:0,_forcing:0});var rD=function(e,t,r,n,s,o,a){var u=new ct(this._pt,e,t,0,1,vl,null,s),l=0,c=0,d,h,f,_,p,g,v,D;for(u.b=r,u.e=n,r+="",n+="",(v=~n.indexOf("random("))&&(n=yn(n)),o&&(D=[r,n],o(D,e,t),r=D[0],n=D[1]),h=r.match(zu)||[];d=zu.exec(n);)_=d[0],p=n.substring(l,d.index),f?f=(f+1)%5:p.substr(-5)==="rgba("&&(f=1),_!==h[c++]&&(g=parseFloat(h[c-1])||0,u._pt={_next:u._pt,p:p||c===1?p:",",s:g,c:_.charAt(1)==="="?Bi(g,_)-g:parseFloat(_)-g,m:f&&f<4?Math.round:0},l=zu.lastIndex);return u.c=l<n.length?n.substring(l,n.length):"",u.fp=a,(ol.test(n)||v)&&(u.e=0),this._pt=u,u},pl=function(e,t,r,n,s,o,a,u,l,c){Te(n)&&(n=n(s||0,e,o));var d=e[t],h=r!=="get"?r:Te(d)?l?e[t.indexOf("set")||!Te(e["get"+t.substr(3)])?t:"get"+t.substr(3)](l):e[t]():d,f=Te(d)?l?aD:Wh:Dl,_;if(Ve(n)&&(~n.indexOf("random(")&&(n=yn(n)),n.charAt(1)==="="&&(_=Bi(h,n)+($e(h)||0),(_||_===0)&&(n=_))),!c||h!==n||tl)return!isNaN(h*n)&&n!==""?(_=new ct(this._pt,e,t,+h||0,n-(h||0),typeof d=="boolean"?lD:Yh,0,f),l&&(_.fp=l),a&&_.modifier(a,this,e),this._pt=_):(!d&&!(t in e)&&Yo(t,n),rD.call(this,e,t,h,n,f,u||bt.stringFilter,l))},iD=function(e,t,r,n,s){if(Te(e)&&(e=ps(e,s,t,r,n)),!gr(e)||e.style&&e.nodeType||it(e)||hh(e))return Ve(e)?ps(e,s,t,r,n):e;var o={},a;for(a in e)o[a]=ps(e[a],s,t,r,n);return o},_l=function(e,t,r,n,s,o){var a,u,l,c;if(yt[e]&&(a=new yt[e]).init(s,a.rawVars?t[e]:iD(t[e],n,s,o,r),r,n,o)!==!1&&(r._pt=u=new ct(r._pt,s,e,0,1,a.render,a,0,a.priority),r!==_n))for(l=r._ptLookup[r._targets.indexOf(s)],c=a._props.length;c--;)l[a._props[c]]=u;return a},Jr,tl,gl=function i(e,t,r){var n=e.vars,s=n.ease,o=n.startAt,a=n.immediateRender,u=n.lazy,l=n.onUpdate,c=n.onUpdateParams,d=n.callbackScope,h=n.runBackwards,f=n.yoyoEase,_=n.keyframes,p=n.autoRevert,g=e._dur,v=e._startAt,D=e._targets,m=e.parent,E=m&&m.data==="nested"?m.vars.targets:D,b=e._overwrite==="auto"&&!il,w=e.timeline,x,C,A,S,O,F,M,L,I,N,k,B,T;if(w&&(!_||!s)&&(s="none"),e._ease=ki(s,gn.ease),e._yEase=f?Ih(ki(f===!0?s:f,gn.ease)):0,f&&e._yoyo&&!e._repeat&&(f=e._yEase,e._yEase=e._ease,e._ease=f),e._from=!w&&!!n.runBackwards,!w||_&&!n.stagger){if(L=D[0]?ti(D[0]).harness:0,B=L&&n[L.prop],x=Bo(n,ul),v&&(v._zTime<0&&v.progress(1),t<0&&h&&a&&!p?v.render(-1,!0):v.revert(h&&g?Mo:P0),v._lazy=0),o){if(ri(e._startAt=Pe.set(D,Yt({data:"isStart",overwrite:!1,parent:m,immediateRender:!0,lazy:!v&&Et(u),startAt:null,delay:0,onUpdate:l,onUpdateParams:c,callbackScope:d,stagger:0},o))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(rt||!a&&!p)&&e._startAt.revert(Mo),a&&g&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(h&&g&&!v){if(t&&(a=!1),A=Yt({overwrite:!1,data:"isFromStart",lazy:a&&!v&&Et(u),immediateRender:a,stagger:0,parent:m},x),B&&(A[L.prop]=B),ri(e._startAt=Pe.set(D,A)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(rt?e._startAt.revert(Mo):e._startAt.render(-1,!0)),e._zTime=t,!a)i(e._startAt,pe,pe);else if(!t)return}for(e._pt=e._ptCache=0,u=g&&Et(u)||u&&!g,C=0;C<D.length;C++){if(O=D[C],M=O._gsap||cl(D)[C]._gsap,e._ptLookup[C]=N={},$u[M.id]&&ei.length&&No(),k=E===D?C:E.indexOf(O),L&&(I=new L).init(O,B||x,e,k,E)!==!1&&(e._pt=S=new ct(e._pt,O,I.name,0,1,I.render,I,0,I.priority),I._props.forEach(function(y){N[y]=S}),I.priority&&(F=1)),!L||B)for(A in x)yt[A]&&(I=_l(A,x,e,k,O,E))?I.priority&&(F=1):N[A]=S=pl.call(e,O,A,"get",x[A],k,E,0,n.stringFilter);e._op&&e._op[C]&&e.kill(O,e._op[C]),b&&e._pt&&(Jr=e,ye.killTweensOf(O,N,e.globalTime(t)),T=!e.parent,Jr=0),e._pt&&u&&($u[M.id]=1)}F&&yl(e),e._onInit&&e._onInit(e)}e._onUpdate=l,e._initted=(!e._op||e._pt)&&!T,_&&t<=0&&w.render(zt,!0,!0)},nD=function(e,t,r,n,s,o,a){var u=(e._pt&&e._ptCache||(e._ptCache={}))[t],l,c,d,h;if(!u)for(u=e._ptCache[t]=[],d=e._ptLookup,h=e._targets.length;h--;){if(l=d[h][t],l&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==t&&l.fp!==t;)l=l._next;if(!l)return tl=1,e.vars[t]="+=0",gl(e,a),tl=0,1;u.push(l)}for(h=u.length;h--;)c=u[h],l=c._pt||c,l.s=(n||n===0)&&!s?n:l.s+(n||0)+o*l.c,l.c=r-l.s,c.e&&(c.e=Ae(r)+$e(c.e)),c.b&&(c.b=l.s+$e(c.b))},sD=function(e,t){var r=e[0]?ti(e[0]).harness:0,n=r&&r.aliases,s,o,a,u;if(!n)return t;s=Ii({},t);for(o in n)if(o in s)for(u=n[o].split(","),a=u.length;a--;)s[u[a]]=s[o];return s},oD=function(e,t,r,n){var s=t.ease||n||"power1.inOut",o,a;if(it(t))a=r[e]||(r[e]=[]),t.forEach(function(u,l){return a.push({t:l/(t.length-1)*100,v:u,e:s})});else for(o in t)a=r[o]||(r[o]=[]),o==="ease"||a.push({t:parseFloat(e),v:t[o],e:s})},ps=function(e,t,r,n,s){return Te(e)?e.call(t,r,n,s):Ve(e)&&~e.indexOf("random(")?yn(e):e},zh=ll+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Vh={};lt(zh+",id,stagger,delay,duration,paused,scrollTrigger",function(i){return Vh[i]=1});var Pe=function(i){ch(e,i);function e(r,n,s,o){var a;typeof n=="number"&&(s.duration=n,n=s,s=null),a=i.call(this,o?n:hs(n))||this;var u=a.vars,l=u.duration,c=u.delay,d=u.immediateRender,h=u.stagger,f=u.overwrite,_=u.keyframes,p=u.defaults,g=u.scrollTrigger,v=u.yoyoEase,D=n.parent||ye,m=(it(r)||hh(r)?Mr(r[0]):"length"in n)?[r]:Vt(r),E,b,w,x,C,A,S,O;if(a._targets=m.length?cl(m):Io("GSAP target "+r+" not found. https://greensock.com",!bt.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=f,_||h||Po(l)||Po(c)){if(n=a.vars,E=a.timeline=new tt({data:"nested",defaults:p||{},targets:D&&D.data==="nested"?D.vars.targets:m}),E.kill(),E.parent=E._dp=Or(a),E._start=0,h||Po(l)||Po(c)){if(x=m.length,S=h&&Th(h),gr(h))for(C in h)~zh.indexOf(C)&&(O||(O={}),O[C]=h[C]);for(b=0;b<x;b++)w=Bo(n,Vh),w.stagger=0,v&&(w.yoyoEase=v),O&&Ii(w,O),A=m[b],w.duration=+ps(l,Or(a),b,A,m),w.delay=(+ps(c,Or(a),b,A,m)||0)-a._delay,!h&&x===1&&w.delay&&(a._delay=c=w.delay,a._start+=c,w.delay=0),E.to(A,w,S?S(b,A,m):0),E._ease=se.none;E.duration()?l=c=0:a.timeline=0}else if(_){hs(Yt(E.vars.defaults,{ease:"none"})),E._ease=ki(_.ease||n.ease||"none");var F=0,M,L,I;if(it(_))_.forEach(function(N){return E.to(m,N,">")}),E.duration();else{w={};for(C in _)C==="ease"||C==="easeEach"||oD(C,_[C],w,_.easeEach);for(C in w)for(M=w[C].sort(function(N,k){return N.t-k.t}),F=0,b=0;b<M.length;b++)L=M[b],I={ease:L.e,duration:(L.t-(b?M[b-1].t:0))/100*l},I[C]=L.v,E.to(m,I,F),F+=I.duration;E.duration()<l&&E.to({},{duration:l-E.duration()})}}l||a.duration(l=E.duration())}else a.timeline=0;return f===!0&&!il&&(Jr=Or(a),ye.killTweensOf(m),Jr=0),_r(D,Or(a),s),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(d||!l&&!_&&a._start===je(D._time)&&Et(d)&&N0(Or(a))&&D.data!=="nested")&&(a._tTime=-pe,a.render(Math.max(0,-c)||0)),g&&bh(Or(a),g),a}var t=e.prototype;return t.render=function(n,s,o){var a=this._time,u=this._tDur,l=this._dur,c=n<0,d=n>u-pe&&!c?u:n<pe?0:n,h,f,_,p,g,v,D,m,E;if(!l)z0(this,n,s,o);else if(d!==this._tTime||!n||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==c){if(h=d,m=this.timeline,this._repeat){if(p=l+this._rDelay,this._repeat<-1&&c)return this.totalTime(p*100+n,s,o);if(h=je(d%p),d===u?(_=this._repeat,h=l):(_=~~(d/p),_&&_===d/p&&(h=l,_--),h>l&&(h=l)),v=this._yoyo&&_&1,v&&(E=this._yEase,h=l-h),g=Dn(this._tTime,p),h===a&&!o&&this._initted)return this._tTime=d,this;_!==g&&(m&&this._yEase&&Nh(m,v),this.vars.repeatRefresh&&!v&&!this._lock&&(this._lock=o=1,this.render(je(p*_),!0).invalidate()._lock=0))}if(!this._initted){if(Ch(this,c?n:h,o,s,d))return this._tTime=0,this;if(a!==this._time)return this;if(l!==this._dur)return this.render(n,s,o)}if(this._tTime=d,this._time=h,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=D=(E||this._ease)(h/l),this._from&&(this.ratio=D=1-D),h&&!a&&!s&&!_&&(Wt(this,"onStart"),this._tTime!==d))return this;for(f=this._pt;f;)f.r(D,f.d),f=f._next;m&&m.render(n<0?n:!h&&v?-pe:m._dur*m._ease(h/this._dur),s,o)||this._startAt&&(this._zTime=n),this._onUpdate&&!s&&(c&&Ku(this,n,s,o),Wt(this,"onUpdate")),this._repeat&&_!==g&&this.vars.onRepeat&&!s&&this.parent&&Wt(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(c&&!this._onUpdate&&Ku(this,n,!0,!0),(n||!l)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&ri(this,1),!s&&!(c&&!a)&&(d||a||v)&&(Wt(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,s,o,a){gs||xt.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),l;return this._initted||gl(this,u),l=this._ease(u/this._dur),nD(this,n,s,o,a,l,u)?this.resetTo(n,s,o,a):(Xo(this,0),this.parent||xh(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(n,s){if(s===void 0&&(s="all"),!n&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?cs(this):this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(n,s,Jr&&Jr.vars.overwrite!==!0)._first||cs(this),this.parent&&o!==this.timeline.totalDuration()&&vn(this,this._dur*this.timeline._tDur/o,0,1),this}var a=this._targets,u=n?Vt(n):a,l=this._ptLookup,c=this._pt,d,h,f,_,p,g,v;if((!s||s==="all")&&L0(a,u))return s==="all"&&(this._pt=0),cs(this);for(d=this._op=this._op||[],s!=="all"&&(Ve(s)&&(p={},lt(s,function(D){return p[D]=1}),s=p),s=sD(a,s)),v=a.length;v--;)if(~u.indexOf(a[v])){h=l[v],s==="all"?(d[v]=s,_=h,f={}):(f=d[v]=d[v]||{},_=s);for(p in _)g=h&&h[p],g&&((!("kill"in g.d)||g.d.kill(p)===!0)&&Ho(this,g,"_pt"),delete h[p]),f!=="all"&&(f[p]=1)}return this._initted&&!this._pt&&c&&cs(this),this},e.to=function(n,s){return new e(n,s,arguments[2])},e.from=function(n,s){return ds(1,arguments)},e.delayedCall=function(n,s,o,a){return new e(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:s,onReverseComplete:s,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:a})},e.fromTo=function(n,s,o){return ds(2,arguments)},e.set=function(n,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new e(n,s)},e.killTweensOf=function(n,s,o){return ye.killTweensOf(n,s,o)},e}(Ds);Yt(Pe.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});lt("staggerTo,staggerFrom,staggerFromTo",function(i){Pe[i]=function(){var e=new tt,t=Qu.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},Wh=function(e,t,r){return e[t](r)},aD=function(e,t,r,n){return e[t](n.fp,r)},uD=function(e,t,r){return e.setAttribute(t,r)},Go=function(e,t){return Te(e[t])?Wh:Wo(e[t])&&e.setAttribute?uD:Dl},Yh=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},lD=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},vl=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)},ml=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},cD=function(e,t,r,n){for(var s=this._pt,o;s;)o=s._next,s.p===n&&s.modifier(e,t,r),s=o},fD=function(e){for(var t=this._pt,r,n;t;)n=t._next,t.p===e&&!t.op||t.op===e?Ho(this,t,"_pt"):t.dep||(r=1),t=n;return!r},hD=function(e,t,r,n){n.mSet(e,t,n.m.call(n.tween,r,n.mt),n)},yl=function(e){for(var t=e._pt,r,n,s,o;t;){for(r=t._next,n=s;n&&n.pr>t.pr;)n=n._next;(t._prev=n?n._prev:o)?t._prev._next=t:s=t,(t._next=n)?n._prev=t:o=t,t=r}e._pt=s},ct=function(){function i(t,r,n,s,o,a,u,l,c){this.t=r,this.s=s,this.c=o,this.p=n,this.r=a||Yh,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,s){this.mSet=this.mSet||this.set,this.set=hD,this.m=r,this.mt=s,this.tween=n},i}();lt(ll+"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 ul[i]=1});Mt.TweenMax=Mt.TweenLite=Pe;Mt.TimelineLite=Mt.TimelineMax=tt;ye=new tt({sortChildren:!1,defaults:gn,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});bt.stringFilter=hl;var Li=[],ko={},dD=[],lh=0,pD=0,Uu=function(e){return(ko[e]||dD).map(function(t){return t()})},rl=function(){var e=Date.now(),t=[];e-lh>2&&(Uu("matchMediaInit"),Li.forEach(function(r){var n=r.queries,s=r.conditions,o,a,u,l;for(a in n)o=Bt.matchMedia(n[a]).matches,o&&(u=1),o!==s[a]&&(s[a]=o,l=1);l&&(r.revert(),u&&t.push(r))}),Uu("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r)}),lh=e,Uu("matchMedia"))},Hh=function(){function i(t,r){this.selector=r&&Ju(r),this.data=[],this._r=[],this.isReverted=!1,this.id=pD++,t&&this.add(t)}var e=i.prototype;return e.add=function(r,n,s){Te(r)&&(s=n,n=r,r=Te);var o=this,a=function(){var l=Se,c=o.selector,d;return l&&l!==o&&l.data.push(o),s&&(o.selector=Ju(s)),Se=o,d=n.apply(o,arguments),Te(d)&&o._r.push(d),Se=l,o.selector=c,o.isReverted=!1,d};return o.last=a,r===Te?a(o):r?o[r]=a:a},e.ignore=function(r){var n=Se;Se=null,r(this),Se=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 s=this;if(r){var o=this.getTweens();this.data.forEach(function(u){u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(l){return o.splice(o.indexOf(l),1)}))}),o.map(function(u){return{g:u.globalTime(0),t:u}}).sort(function(u,l){return l.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),this.data.forEach(function(u){return!(u instanceof Pe)&&u.revert&&u.revert(r)}),this._r.forEach(function(u){return u(r,s)}),this.isReverted=!0}else this.data.forEach(function(u){return u.kill&&u.kill()});if(this.clear(),n)for(var a=Li.length;a--;)Li[a].id===this.id&&Li.splice(a,1)},e.revert=function(r){this.kill(r||{})},i}(),_D=function(){function i(t){this.contexts=[],this.scope=t}var e=i.prototype;return e.add=function(r,n,s){gr(r)||(r={matches:r});var o=new Hh(0,s||this.scope),a=o.conditions={},u,l,c;Se&&!o.selector&&(o.selector=Se.selector),this.contexts.push(o),n=o.add("onMatch",n),o.queries=r;for(l in r)l==="all"?c=1:(u=Bt.matchMedia(r[l]),u&&(Li.indexOf(o)<0&&Li.push(o),(a[l]=u.matches)&&(c=1),u.addListener?u.addListener(rl):u.addEventListener("change",rl)));return c&&n(o),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(n){return n.kill(r,!0)})},i}(),Vo={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 Rh(n)})},timeline:function(e){return new tt(e)},getTweensOf:function(e,t){return ye.getTweensOf(e,t)},getProperty:function(e,t,r,n){Ve(e)&&(e=Vt(e)[0]);var s=ti(e||{}).get,o=r?yh:mh;return r==="native"&&(r=""),e&&(t?o((yt[t]&&yt[t].get||s)(e,t,r,n)):function(a,u,l){return o((yt[a]&&yt[a].get||s)(e,a,u,l))})},quickSetter:function(e,t,r){if(e=Vt(e),e.length>1){var n=e.map(function(c){return nt.quickSetter(c,t,r)}),s=n.length;return function(c){for(var d=s;d--;)n[d](c)}}e=e[0]||{};var o=yt[t],a=ti(e),u=a.harness&&(a.harness.aliases||{})[t]||t,l=o?function(c){var d=new o;_n._pt=0,d.init(e,r?c+r:c,_n,0,[e]),d.render(1,d),_n._pt&&ml(1,_n)}:a.set(e,u);return o?l:function(c){return l(e,u,r?c+r:c,a,1)}},quickTo:function(e,t,r){var n,s=nt.to(e,Ii((n={},n[t]="+=0.1",n.paused=!0,n),r||{})),o=function(u,l,c){return s.resetTo(t,u,l,c)};return o.tween=s,o},isTweening:function(e){return ye.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=ki(e.ease,gn.ease)),nh(gn,e||{})},config:function(e){return nh(bt,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,n=e.plugins,s=e.defaults,o=e.extendTimeline;(n||"").split(",").forEach(function(a){return a&&!yt[a]&&!Mt[a]&&Io(t+" effect requires "+a+" plugin.")}),Vu[t]=function(a,u,l){return r(Vt(a),Yt(u||{},s),l)},o&&(tt.prototype[t]=function(a,u,l){return this.add(Vu[t](a,gr(u)?u:(l=u)&&{},this),l)})},registerEase:function(e,t){se[e]=ki(t)},parseEase:function(e,t){return arguments.length?ki(e,t):se},getById:function(e){return ye.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new tt(e),n,s;for(r.smoothChildTiming=Et(e.smoothChildTiming),ye.remove(r),r._dp=0,r._time=r._tTime=ye._time,n=ye._first;n;)s=n._next,(t||!(!n._dur&&n instanceof Pe&&n.vars.onComplete===n._targets[0]))&&_r(r,n,n._start-n._delay),n=s;return _r(ye,r,0),r},context:function(e,t){return e?new Hh(e,t):Se},matchMedia:function(e){return new _D(e)},matchMediaRefresh:function(){return Li.forEach(function(e){var t=e.conditions,r,n;for(n in t)t[n]&&(t[n]=!1,r=1);r&&e.revert()})||rl()},addEventListener:function(e,t){var r=ko[e]||(ko[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=ko[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},utils:{wrap:q0,wrapYoyo:j0,distribute:Th,random:Fh,snap:Ah,normalize:G0,getUnit:$e,clamp:Y0,splitColor:kh,toArray:Vt,selector:Ju,mapRange:Ph,pipe:U0,unitize:X0,interpolate:$0,shuffle:Sh},install:_h,effects:Vu,ticker:xt,updateRoot:tt.updateRoot,plugins:yt,globalTimeline:ye,core:{PropTween:ct,globals:gh,Tween:Pe,Timeline:tt,Animation:Ds,getCache:ti,_removeLinkedListItem:Ho,reverting:function(){return rt},context:function(e){return e&&Se&&(Se.data.push(e),e._ctx=Se),Se},suppressOverwrites:function(e){return il=e}}};lt("to,from,fromTo,delayedCall,set,killTweensOf",function(i){return Vo[i]=Pe[i]});xt.add(tt.updateRoot);_n=Vo.to({},{duration:0});var gD=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},DD=function(e,t){var r=e._targets,n,s,o;for(n in t)for(s=r.length;s--;)o=e._ptLookup[s][n],o&&(o=o.d)&&(o._pt&&(o=gD(o,n)),o&&o.modifier&&o.modifier(t[n],e,r[s],n))},Xu=function(e,t){return{name:e,rawVars:1,init:function(n,s,o){o._onInit=function(a){var u,l;if(Ve(s)&&(u={},lt(s,function(c){return u[c]=1}),s=u),t){u={};for(l in s)u[l]=t(s[l]);s=u}DD(a,s)}}}},nt=Vo.registerPlugin({name:"attr",init:function(e,t,r,n,s){var o,a,u;this.tween=r;for(o in t)u=e.getAttribute(o)||"",a=this.add(e,"setAttribute",(u||0)+"",t[o],n,s,0,0,o),a.op=o,a.b=u,this._props.push(o)},render:function(e,t){for(var r=t._pt;r;)rt?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)}},Xu("roundProps",el),Xu("modifiers"),Xu("snap",Ah))||Vo;Pe.version=tt.version=nt.version="3.12.2";ph=1;nl()&&mn();var vD=se.Power0,mD=se.Power1,yD=se.Power2,xD=se.Power3,ED=se.Power4,bD=se.Linear,CD=se.Quad,wD=se.Cubic,SD=se.Quart,TD=se.Quint,AD=se.Strong,FD=se.Elastic,OD=se.Back,PD=se.SteppedEase,MD=se.Bounce,RD=se.Sine,kD=se.Expo,LD=se.Circ;var Uh,ni,En,Tl,Hi,ID,Xh,Al,ND=function(){return typeof window!="undefined"},kr={},Yi=180/Math.PI,bn=Math.PI/180,xn=Math.atan2,Gh=1e8,Fl=/([A-Z])/g,BD=/(left|right|width|margin|padding|x)/i,zD=/[\s,\(]\S/,Dr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},bl=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},VD=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)},WD=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},YD=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},Jh=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},ed=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},HD=function(e,t,r){return e.style[t]=r},UD=function(e,t,r){return e.style.setProperty(t,r)},XD=function(e,t,r){return e._gsap[t]=r},GD=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},qD=function(e,t,r,n,s){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(s,o)},jD=function(e,t,r,n,s){var o=e._gsap;o[t]=r,o.renderTransform(s,o)},xe="transform",ir=xe+"Origin",$D=function i(e,t){var r=this,n=this.target,s=n.style;if(e in kr&&s){if(this.tfm=this.tfm||{},e!=="transform")e=Dr[e]||e,~e.indexOf(",")?e.split(",").forEach(function(o){return r.tfm[o]=Rr(n,o)}):this.tfm[e]=n._gsap.x?n._gsap[e]:Rr(n,e);else return Dr.transform.split(",").forEach(function(o){return i.call(r,o,t)});if(this.props.indexOf(xe)>=0)return;n._gsap.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(ir,t,"")),e=xe}(s||t)&&this.props.push(e,t,s[e])},td=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},KD=function(){var e=this.props,t=this.target,r=t.style,n=t._gsap,s,o;for(s=0;s<e.length;s+=3)e[s+1]?t[e[s]]=e[s+2]:e[s+2]?r[e[s]]=e[s+2]:r.removeProperty(e[s].substr(0,2)==="--"?e[s]:e[s].replace(Fl,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)n[o]=this.tfm[o];n.svg&&(n.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),s=Al(),(!s||!s.isStart)&&!r[xe]&&(td(r),n.uncache=1)}},rd=function(e,t){var r={target:e,props:[],revert:KD,save:$D};return e._gsap||nt.core.getCache(e),t&&t.split(",").forEach(function(n){return r.save(n)}),r},id,Cl=function(e,t){var r=ni.createElementNS?ni.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):ni.createElement(e);return r.style?r:ni.createElement(e)},vr=function i(e,t,r){var n=getComputedStyle(e);return n[t]||n.getPropertyValue(t.replace(Fl,"-$1").toLowerCase())||n.getPropertyValue(t)||!r&&i(e,Cn(t)||t,1)||""},qh="O,Moz,ms,Ms,Webkit".split(","),Cn=function(e,t,r){var n=t||Hi,s=n.style,o=5;if(e in s&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(qh[o]+e in s););return o<0?null:(o===3?"ms":o>=0?qh[o]:"")+e},wl=function(){ND()&&window.document&&(Uh=window,ni=Uh.document,En=ni.documentElement,Hi=Cl("div")||{style:{}},ID=Cl("div"),xe=Cn(xe),ir=xe+"Origin",Hi.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",id=!!Cn("perspective"),Al=nt.core.reverting,Tl=1)},xl=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,s=this.style.cssText,o;if(En.appendChild(t),t.appendChild(this),this.style.display="block",e)try{o=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=i}catch{}else this._gsapBBox&&(o=this._gsapBBox());return r&&(n?r.insertBefore(this,n):r.appendChild(this)),En.removeChild(t),this.style.cssText=s,o},jh=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},nd=function(e){var t;try{t=e.getBBox()}catch{t=xl.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===xl||(t=xl.call(e,!0)),t&&!t.width&&!t.x&&!t.y?{x:+jh(e,["x","cx","x1"])||0,y:+jh(e,["y","cy","y1"])||0,width:0,height:0}:t},sd=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&nd(e))},ys=function(e,t){if(t){var r=e.style;t in kr&&t!==ir&&(t=xe),r.removeProperty?((t.substr(0,2)==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(t.replace(Fl,"-$1").toLowerCase())):r.removeAttribute(t)}},si=function(e,t,r,n,s,o){var a=new ct(e._pt,t,r,0,1,o?ed:Jh);return e._pt=a,a.b=n,a.e=s,e._props.push(r),a},$h={deg:1,rad:1,turn:1},ZD={grid:1,flex:1},oi=function i(e,t,r,n){var s=parseFloat(r)||0,o=(r+"").trim().substr((s+"").length)||"px",a=Hi.style,u=BD.test(t),l=e.tagName.toLowerCase()==="svg",c=(l?"client":"offset")+(u?"Width":"Height"),d=100,h=n==="px",f=n==="%",_,p,g,v;return n===o||!s||$h[n]||$h[o]?s:(o!=="px"&&!h&&(s=i(e,t,r,"px")),v=e.getCTM&&sd(e),(f||o==="%")&&(kr[t]||~t.indexOf("adius"))?(_=v?e.getBBox()[u?"width":"height"]:e[c],Ae(f?s/_*d:s/100*_)):(a[u?"width":"height"]=d+(h?o:n),p=~t.indexOf("adius")||n==="em"&&e.appendChild&&!l?e:e.parentNode,v&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===ni||!p.appendChild)&&(p=ni.body),g=p._gsap,g&&f&&g.width&&u&&g.time===xt.time&&!g.uncache?Ae(s/g.width*d):((f||o==="%")&&!ZD[vr(p,"display")]&&(a.position=vr(e,"position")),p===e&&(a.position="static"),p.appendChild(Hi),_=Hi[c],p.removeChild(Hi),a.position="absolute",u&&f&&(g=ti(p),g.time=xt.time,g.width=p[c]),Ae(h?_*s/d:_&&s?d/_*s:0))))},Rr=function(e,t,r,n){var s;return Tl||wl(),t in Dr&&t!=="transform"&&(t=Dr[t],~t.indexOf(",")&&(t=t.split(",")[0])),kr[t]&&t!=="transform"?(s=Es(e,n),s=t!=="transformOrigin"?s[t]:s.svg?s.origin:jo(vr(e,ir))+" "+s.zOrigin+"px"):(s=e.style[t],(!s||s==="auto"||n||~(s+"").indexOf("calc("))&&(s=qo[t]&&qo[t](e,t,r)||vr(e,t)||fl(e,t)||(t==="opacity"?1:0))),r&&!~(s+"").trim().indexOf(" ")?oi(e,t,s,r)+r:s},QD=function(e,t,r,n){if(!r||r==="none"){var s=Cn(t,e,1),o=s&&vr(e,s,1);o&&o!==r?(t=s,r=o):t==="borderColor"&&(r=vr(e,"borderTopColor"))}var a=new ct(this._pt,e.style,t,0,1,vl),u=0,l=0,c,d,h,f,_,p,g,v,D,m,E,b;if(a.b=r,a.e=n,r+="",n+="",n==="auto"&&(e.style[t]=n,n=vr(e,t)||n,e.style[t]=r),c=[r,n],hl(c),r=c[0],n=c[1],h=r.match(Ni)||[],b=n.match(Ni)||[],b.length){for(;d=Ni.exec(n);)g=d[0],D=n.substring(u,d.index),_?_=(_+1)%5:(D.substr(-5)==="rgba("||D.substr(-5)==="hsla(")&&(_=1),g!==(p=h[l++]||"")&&(f=parseFloat(p)||0,E=p.substr((f+"").length),g.charAt(1)==="="&&(g=Bi(f,g)+E),v=parseFloat(g),m=g.substr((v+"").length),u=Ni.lastIndex-m.length,m||(m=m||bt.units[t]||E,u===n.length&&(n+=m,a.e+=m)),E!==m&&(f=oi(e,t,p,m)||0),a._pt={_next:a._pt,p:D||l===1?D:",",s:f,c:v-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"?ed:Jh;return ol.test(n)&&(a.e=0),this._pt=a,a},Kh={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},JD=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]=Kh[r]||r,t[1]=Kh[n]||n,t.join(" ")},ev=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,n=r.style,s=t.u,o=r._gsap,a,u,l;if(s==="all"||s===!0)n.cssText="",u=1;else for(s=s.split(","),l=s.length;--l>-1;)a=s[l],kr[a]&&(u=1,a=a==="transformOrigin"?ir:xe),ys(r,a);u&&(ys(r,xe),o&&(o.svg&&r.removeAttribute("transform"),Es(r,1),o.uncache=1,td(n)))}},qo={clearProps:function(e,t,r,n,s){if(s.data!=="isFromStart"){var o=e._pt=new ct(e._pt,t,r,0,0,ev);return o.u=n,o.pr=-10,o.tween=s,e._props.push(r),1}}},xs=[1,0,0,1,0,0],od={},ad=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},Zh=function(e){var t=vr(e,xe);return ad(t)?xs:t.substr(7).match(sl).map(Ae)},Ol=function(e,t){var r=e._gsap||ti(e),n=e.style,s=Zh(e),o,a,u,l;return r.svg&&e.getAttribute("transform")?(u=e.transform.baseVal.consolidate().matrix,s=[u.a,u.b,u.c,u.d,u.e,u.f],s.join(",")==="1,0,0,1,0,0"?xs:s):(s===xs&&!e.offsetParent&&e!==En&&!r.svg&&(u=n.display,n.display="block",o=e.parentNode,(!o||!e.offsetParent)&&(l=1,a=e.nextElementSibling,En.appendChild(e)),s=Zh(e),u?n.display=u:ys(e,"display"),l&&(a?o.insertBefore(e,a):o?o.appendChild(e):En.removeChild(e))),t&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},Sl=function(e,t,r,n,s,o){var a=e._gsap,u=s||Ol(e,!0),l=a.xOrigin||0,c=a.yOrigin||0,d=a.xOffset||0,h=a.yOffset||0,f=u[0],_=u[1],p=u[2],g=u[3],v=u[4],D=u[5],m=t.split(" "),E=parseFloat(m[0])||0,b=parseFloat(m[1])||0,w,x,C,A;r?u!==xs&&(x=f*g-_*p)&&(C=E*(g/x)+b*(-p/x)+(p*D-g*v)/x,A=E*(-_/x)+b*(f/x)-(f*D-_*v)/x,E=C,b=A):(w=nd(e),E=w.x+(~m[0].indexOf("%")?E/100*w.width:E),b=w.y+(~(m[1]||m[0]).indexOf("%")?b/100*w.height:b)),n||n!==!1&&a.smooth?(v=E-l,D=b-c,a.xOffset=d+(v*f+D*p)-v,a.yOffset=h+(v*_+D*g)-D):a.xOffset=a.yOffset=0,a.xOrigin=E,a.yOrigin=b,a.smooth=!!n,a.origin=t,a.originIsAbsolute=!!r,e.style[ir]="0px 0px",o&&(si(o,a,"xOrigin",l,E),si(o,a,"yOrigin",c,b),si(o,a,"xOffset",d,a.xOffset),si(o,a,"yOffset",h,a.yOffset)),e.setAttribute("data-svg-origin",E+" "+b)},Es=function(e,t){var r=e._gsap||new dl(e);if("x"in r&&!t&&!r.uncache)return r;var n=e.style,s=r.scaleX<0,o="px",a="deg",u=getComputedStyle(e),l=vr(e,ir)||"0",c,d,h,f,_,p,g,v,D,m,E,b,w,x,C,A,S,O,F,M,L,I,N,k,B,T,y,R,U,Z,X,G;return c=d=h=p=g=v=D=m=E=0,f=_=1,r.svg=!!(e.getCTM&&sd(e)),u.translate&&((u.translate!=="none"||u.scale!=="none"||u.rotate!=="none")&&(n[xe]=(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[xe]!=="none"?u[xe]:"")),n.scale=n.rotate=n.translate="none"),x=Ol(e,r.svg),r.svg&&(r.uncache?(B=e.getBBox(),l=r.xOrigin-B.x+"px "+(r.yOrigin-B.y)+"px",k=""):k=!t&&e.getAttribute("data-svg-origin"),Sl(e,k||l,!!k||r.originIsAbsolute,r.smooth!==!1,x)),b=r.xOrigin||0,w=r.yOrigin||0,x!==xs&&(O=x[0],F=x[1],M=x[2],L=x[3],c=I=x[4],d=N=x[5],x.length===6?(f=Math.sqrt(O*O+F*F),_=Math.sqrt(L*L+M*M),p=O||F?xn(F,O)*Yi:0,D=M||L?xn(M,L)*Yi+p:0,D&&(_*=Math.abs(Math.cos(D*bn))),r.svg&&(c-=b-(b*O+w*M),d-=w-(b*F+w*L))):(G=x[6],Z=x[7],y=x[8],R=x[9],U=x[10],X=x[11],c=x[12],d=x[13],h=x[14],C=xn(G,U),g=C*Yi,C&&(A=Math.cos(-C),S=Math.sin(-C),k=I*A+y*S,B=N*A+R*S,T=G*A+U*S,y=I*-S+y*A,R=N*-S+R*A,U=G*-S+U*A,X=Z*-S+X*A,I=k,N=B,G=T),C=xn(-M,U),v=C*Yi,C&&(A=Math.cos(-C),S=Math.sin(-C),k=O*A-y*S,B=F*A-R*S,T=M*A-U*S,X=L*S+X*A,O=k,F=B,M=T),C=xn(F,O),p=C*Yi,C&&(A=Math.cos(C),S=Math.sin(C),k=O*A+F*S,B=I*A+N*S,F=F*A-O*S,N=N*A-I*S,O=k,I=B),g&&Math.abs(g)+Math.abs(p)>359.9&&(g=p=0,v=180-v),f=Ae(Math.sqrt(O*O+F*F+M*M)),_=Ae(Math.sqrt(N*N+G*G)),C=xn(I,N),D=Math.abs(C)>2e-4?C*Yi:0,E=X?1/(X<0?-X:X):0),r.svg&&(k=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!ad(vr(e,xe)),k&&e.setAttribute("transform",k))),Math.abs(D)>90&&Math.abs(D)<270&&(s?(f*=-1,D+=p<=0?180:-180,p+=p<=0?180:-180):(_*=-1,D+=D<=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)+o,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)+o,r.z=h+o,r.scaleX=Ae(f),r.scaleY=Ae(_),r.rotation=Ae(p)+a,r.rotationX=Ae(g)+a,r.rotationY=Ae(v)+a,r.skewX=D+a,r.skewY=m+a,r.transformPerspective=E+o,(r.zOrigin=parseFloat(l.split(" ")[2])||0)&&(n[ir]=jo(l)),r.xOffset=r.yOffset=0,r.force3D=bt.force3D,r.renderTransform=r.svg?rv:id?ud:tv,r.uncache=0,r},jo=function(e){return(e=e.split(" "))[0]+" "+e[1]},El=function(e,t,r){var n=$e(t);return Ae(parseFloat(t)+parseFloat(oi(e,"x",r+"px",n)))+n},tv=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,ud(e,t)},Vi="0deg",ms="0px",Wi=") ",ud=function(e,t){var r=t||this,n=r.xPercent,s=r.yPercent,o=r.x,a=r.y,u=r.z,l=r.rotation,c=r.rotationY,d=r.rotationX,h=r.skewX,f=r.skewY,_=r.scaleX,p=r.scaleY,g=r.transformPerspective,v=r.force3D,D=r.target,m=r.zOrigin,E="",b=v==="auto"&&e&&e!==1||v===!0;if(m&&(d!==Vi||c!==Vi)){var w=parseFloat(c)*bn,x=Math.sin(w),C=Math.cos(w),A;w=parseFloat(d)*bn,A=Math.cos(w),o=El(D,o,x*A*-m),a=El(D,a,-Math.sin(w)*-m),u=El(D,u,C*A*-m+m)}g!==ms&&(E+="perspective("+g+Wi),(n||s)&&(E+="translate("+n+"%, "+s+"%) "),(b||o!==ms||a!==ms||u!==ms)&&(E+=u!==ms||b?"translate3d("+o+", "+a+", "+u+") ":"translate("+o+", "+a+Wi),l!==Vi&&(E+="rotate("+l+Wi),c!==Vi&&(E+="rotateY("+c+Wi),d!==Vi&&(E+="rotateX("+d+Wi),(h!==Vi||f!==Vi)&&(E+="skew("+h+", "+f+Wi),(_!==1||p!==1)&&(E+="scale("+_+", "+p+Wi),D.style[xe]=E||"translate(0, 0)"},rv=function(e,t){var r=t||this,n=r.xPercent,s=r.yPercent,o=r.x,a=r.y,u=r.rotation,l=r.skewX,c=r.skewY,d=r.scaleX,h=r.scaleY,f=r.target,_=r.xOrigin,p=r.yOrigin,g=r.xOffset,v=r.yOffset,D=r.forceCSS,m=parseFloat(o),E=parseFloat(a),b,w,x,C,A;u=parseFloat(u),l=parseFloat(l),c=parseFloat(c),c&&(c=parseFloat(c),l+=c,u+=c),u||l?(u*=bn,l*=bn,b=Math.cos(u)*d,w=Math.sin(u)*d,x=Math.sin(u-l)*-h,C=Math.cos(u-l)*h,l&&(c*=bn,A=Math.tan(l-c),A=Math.sqrt(1+A*A),x*=A,C*=A,c&&(A=Math.tan(c),A=Math.sqrt(1+A*A),b*=A,w*=A)),b=Ae(b),w=Ae(w),x=Ae(x),C=Ae(C)):(b=d,C=h,w=x=0),(m&&!~(o+"").indexOf("px")||E&&!~(a+"").indexOf("px"))&&(m=oi(f,"x",o,"px"),E=oi(f,"y",a,"px")),(_||p||g||v)&&(m=Ae(m+_-(_*b+p*x)+g),E=Ae(E+p-(_*w+p*C)+v)),(n||s)&&(A=f.getBBox(),m=Ae(m+n/100*A.width),E=Ae(E+s/100*A.height)),A="matrix("+b+","+w+","+x+","+C+","+m+","+E+")",f.setAttribute("transform",A),D&&(f.style[xe]=A)},iv=function(e,t,r,n,s){var o=360,a=Ve(s),u=parseFloat(s)*(a&&~s.indexOf("rad")?Yi:1),l=u-n,c=n+l+"deg",d,h;return a&&(d=s.split("_")[1],d==="short"&&(l%=o,l!==l%(o/2)&&(l+=l<0?o:-o)),d==="cw"&&l<0?l=(l+o*Gh)%o-~~(l/o)*o:d==="ccw"&&l>0&&(l=(l-o*Gh)%o-~~(l/o)*o)),e._pt=h=new ct(e._pt,t,r,n,l,VD),h.e=c,h.u="deg",e._props.push(r),h},Qh=function(e,t){for(var r in t)e[r]=t[r];return e},nv=function(e,t,r){var n=Qh({},r._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=r.style,a,u,l,c,d,h,f,_;n.svg?(l=r.getAttribute("transform"),r.setAttribute("transform",""),o[xe]=t,a=Es(r,1),ys(r,xe),r.setAttribute("transform",l)):(l=getComputedStyle(r)[xe],o[xe]=t,a=Es(r,1),o[xe]=l);for(u in kr)l=n[u],c=a[u],l!==c&&s.indexOf(u)<0&&(f=$e(l),_=$e(c),d=f!==_?oi(r,u,l,_):parseFloat(l),h=parseFloat(c),e._pt=new ct(e._pt,a,u,d,h-d,bl),e._pt.u=_||0,e._props.push(u));Qh(a,n)};lt("padding,margin,Width,Radius",function(i,e){var t="Top",r="Right",n="Bottom",s="Left",o=(e<3?[t,r,n,s]:[t+s,t+r,n+r,n+s]).map(function(a){return e<2?i+a:"border"+a+i});qo[e>1?"border"+i:i]=function(a,u,l,c,d){var h,f;if(arguments.length<4)return h=o.map(function(_){return Rr(a,_,l)}),f=h.join(" "),f.split(h[0]).length===5?h[0]:f;h=(c+"").split(" "),f={},o.forEach(function(_,p){return f[_]=h[p]=h[p]||h[(p-1)/2|0]}),a.init(u,f,d)}});var Pl={name:"css",register:wl,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,n,s){var o=this._props,a=e.style,u=r.vars.startAt,l,c,d,h,f,_,p,g,v,D,m,E,b,w,x,C;Tl||wl(),this.styles=this.styles||rd(e),C=this.styles.props,this.tween=r;for(p in t)if(p!=="autoRound"&&(c=t[p],!(yt[p]&&_l(p,t,r,n,e,s)))){if(f=typeof c,_=qo[p],f==="function"&&(c=c.call(r,n,e,s),f=typeof c),f==="string"&&~c.indexOf("random(")&&(c=yn(c)),_)_(this,e,p,c,r)&&(x=1);else if(p.substr(0,2)==="--")l=(getComputedStyle(e).getPropertyValue(p)+"").trim(),c+="",Pr.lastIndex=0,Pr.test(l)||(g=$e(l),v=$e(c)),v?g!==v&&(l=oi(e,p,l,v)+v):g&&(c+=g),this.add(a,"setProperty",l,c,n,s,0,0,p),o.push(p),C.push(p,0,a[p]);else if(f!=="undefined"){if(u&&p in u?(l=typeof u[p]=="function"?u[p].call(r,n,e,s):u[p],Ve(l)&&~l.indexOf("random(")&&(l=yn(l)),$e(l+"")||(l+=bt.units[p]||$e(Rr(e,p))||""),(l+"").charAt(1)==="="&&(l=Rr(e,p))):l=Rr(e,p),h=parseFloat(l),D=f==="string"&&c.charAt(1)==="="&&c.substr(0,2),D&&(c=c.substr(2)),d=parseFloat(c),p in Dr&&(p==="autoAlpha"&&(h===1&&Rr(e,"visibility")==="hidden"&&d&&(h=0),C.push("visibility",0,a.visibility),si(this,a,"visibility",h?"inherit":"hidden",d?"inherit":"hidden",!d)),p!=="scale"&&p!=="transform"&&(p=Dr[p],~p.indexOf(",")&&(p=p.split(",")[0]))),m=p in kr,m){if(this.styles.save(p),E||(b=e._gsap,b.renderTransform&&!t.parseTransform||Es(e,t.parseTransform),w=t.smoothOrigin!==!1&&b.smooth,E=this._pt=new ct(this._pt,a,xe,0,1,b.renderTransform,b,0,-1),E.dep=1),p==="scale")this._pt=new ct(this._pt,b,"scaleY",b.scaleY,(D?Bi(b.scaleY,D+d):d)-b.scaleY||0,bl),this._pt.u=0,o.push("scaleY",p),p+="X";else if(p==="transformOrigin"){C.push(ir,0,a[ir]),c=JD(c),b.svg?Sl(e,c,0,w,0,this):(v=parseFloat(c.split(" ")[2])||0,v!==b.zOrigin&&si(this,b,"zOrigin",b.zOrigin,v),si(this,a,p,jo(l),jo(c)));continue}else if(p==="svgOrigin"){Sl(e,c,1,w,0,this);continue}else if(p in od){iv(this,b,p,h,D?Bi(h,D+c):c);continue}else if(p==="smoothOrigin"){si(this,b,"smooth",b.smooth,c);continue}else if(p==="force3D"){b[p]=c;continue}else if(p==="transform"){nv(this,c,e);continue}}else p in a||(p=Cn(p)||p);if(m||(d||d===0)&&(h||h===0)&&!zD.test(c)&&p in a)g=(l+"").substr((h+"").length),d||(d=0),v=$e(c)||(p in bt.units?bt.units[p]:g),g!==v&&(h=oi(e,p,l,v)),this._pt=new ct(this._pt,m?b:a,p,h,(D?Bi(h,D+d):d)-h,!m&&(v==="px"||p==="zIndex")&&t.autoRound!==!1?YD:bl),this._pt.u=v||0,g!==v&&v!=="%"&&(this._pt.b=l,this._pt.r=WD);else if(p in a)QD.call(this,e,p,l,D?D+c:c);else if(p in e)this.add(e,p,l||e[p],D?D+c:c,n,s);else if(p!=="parseTransform"){Yo(p,c);continue}m||(p in a?C.push(p,0,a[p]):C.push(p,1,l||e[p])),o.push(p)}}x&&yl(this)},render:function(e,t){if(t.tween._time||!Al())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:Rr,aliases:Dr,getSetter:function(e,t,r){var n=Dr[t];return n&&n.indexOf(",")<0&&(t=n),t in kr&&t!==ir&&(e._gsap.x||Rr(e,"x"))?r&&Xh===r?t==="scale"?GD:XD:(Xh=r||{})&&(t==="scale"?qD:jD):e.style&&!Wo(e.style[t])?HD:~t.indexOf("-")?UD:Go(e,t)},core:{_removeProperty:ys,_getMatrix:Ol}};nt.utils.checkPrefix=Cn;nt.core.getStyleSaver=rd;(function(i,e,t,r){var n=lt(i+","+e+","+t,function(s){kr[s]=1});lt(e,function(s){bt.units[s]="deg",od[s]=1}),Dr[n[13]]=i+","+e,lt(r,function(s){var o=s.split(":");Dr[o[1]]=n[o[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");lt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(i){bt.units[i]="px"});nt.registerPlugin(Pl);var Ct=nt.registerPlugin(Pl)||nt,M1=Ct.core.Tween;function ld(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 sv(i,e,t){return e&&ld(i.prototype,e),t&&ld(i,t),i}var Ke,Ml,ov,Rt,ai,ui,Sn,fd,Ui,Cs,hd,Lr,nr,dd,pd=function(){return Ke||typeof window!="undefined"&&(Ke=window.gsap)&&Ke.registerPlugin&&Ke},_d=1,wn=[],re=[],sr=[],ws=Date.now,Rl=function(e,t){return t},av=function(){var e=Cs.core,t=e.bridge||{},r=e._scrollers,n=e._proxies;r.push.apply(r,re),n.push.apply(n,sr),re=r,sr=n,Rl=function(o,a){return t[o](a)}},Nr=function(e,t){return~sr.indexOf(e)&&sr[sr.indexOf(e)+1][t]},Ss=function(e){return!!~hd.indexOf(e)},ht=function(e,t,r,n,s){return e.addEventListener(t,r,{passive:!n,capture:!!s})},ft=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},$o="scrollLeft",Ko="scrollTop",kl=function(){return Lr&&Lr.isPressed||re.cache++},Zo=function(e,t){var r=function n(s){if(s||s===0){_d&&(Rt.history.scrollRestoration="manual");var o=Lr&&Lr.isPressed;s=n.v=Math.round(s)||(Lr&&Lr.iOS?1:0),e(s),n.cacheID=re.cache,o&&Rl("ss",s)}else(t||re.cache!==n.cacheID||Rl("ref"))&&(n.cacheID=re.cache,n.v=e());return n.v+n.offset};return r.offset=0,e&&r},st={s:$o,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Zo(function(i){return arguments.length?Rt.scrollTo(i,Le.sc()):Rt.pageXOffset||ai[$o]||ui[$o]||Sn[$o]||0})},Le={s:Ko,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:st,sc:Zo(function(i){return arguments.length?Rt.scrollTo(st.sc(),i):Rt.pageYOffset||ai[Ko]||ui[Ko]||Sn[Ko]||0})},dt=function(e,t){return(t&&t._ctx&&t._ctx.selector||Ke.utils.toArray)(e)[0]||(typeof e=="string"&&Ke.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},Ir=function(e,t){var r=t.s,n=t.sc;Ss(e)&&(e=ai.scrollingElement||ui);var s=re.indexOf(e),o=n===Le.sc?1:2;!~s&&(s=re.push(e)-1),re[s+o]||ht(e,"scroll",kl);var a=re[s+o],u=a||(re[s+o]=Zo(Nr(e,r),!0)||(Ss(e)?n:Zo(function(l){return arguments.length?e[r]=l:e[r]})));return u.target=e,a||(u.smooth=Ke.getProperty(e,"scrollBehavior")==="smooth"),u},Qo=function(e,t,r){var n=e,s=e,o=ws(),a=o,u=t||50,l=Math.max(500,u*3),c=function(_,p){var g=ws();p||g-o>u?(s=n,n=_,a=o,o=g):r?n+=_:n=s+(_-s)/(g-a)*(o-a)},d=function(){s=n=r?0:n,a=o=0},h=function(_){var p=a,g=s,v=ws();return(_||_===0)&&_!==n&&c(_),o===a||v-a>l?0:(n+(r?g:-g))/((r?v:o)-p)*1e3};return{update:c,reset:d,getVelocity:h}},bs=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},cd=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},gd=function(){Cs=Ke.core.globals().ScrollTrigger,Cs&&Cs.core&&av()},Dd=function(e){return Ke=e||pd(),Ke&&typeof document!="undefined"&&document.body&&(Rt=window,ai=document,ui=ai.documentElement,Sn=ai.body,hd=[Rt,ai,ui,Sn],ov=Ke.utils.clamp,dd=Ke.core.context||function(){},Ui="onpointerenter"in Sn?"pointer":"mouse",fd=Me.isTouch=Rt.matchMedia&&Rt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Rt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,nr=Me.eventTypes=("ontouchstart"in ui?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in ui?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return _d=0},500),gd(),Ml=1),Ml};st.op=Le;re.cache=0;var Me=function(){function i(t){this.init(t)}var e=i.prototype;return e.init=function(r){Ml||Dd(Ke)||console.warn("Please gsap.registerPlugin(Observer)"),Cs||gd();var n=r.tolerance,s=r.dragMinimum,o=r.type,a=r.target,u=r.lineHeight,l=r.debounce,c=r.preventDefault,d=r.onStop,h=r.onStopDelay,f=r.ignore,_=r.wheelSpeed,p=r.event,g=r.onDragStart,v=r.onDragEnd,D=r.onDrag,m=r.onPress,E=r.onRelease,b=r.onRight,w=r.onLeft,x=r.onUp,C=r.onDown,A=r.onChangeX,S=r.onChangeY,O=r.onChange,F=r.onToggleX,M=r.onToggleY,L=r.onHover,I=r.onHoverEnd,N=r.onMove,k=r.ignoreCheck,B=r.isNormalizer,T=r.onGestureStart,y=r.onGestureEnd,R=r.onWheel,U=r.onEnable,Z=r.onDisable,X=r.onClick,G=r.scrollSpeed,z=r.capture,H=r.allowClicks,ce=r.lockAxis,ee=r.onLockAxis;this.target=a=dt(a)||ui,this.vars=r,f&&(f=Ke.utils.toArray(f)),n=n||1e-9,s=s||0,_=_||1,G=G||1,o=o||"wheel,touch,pointer",l=l!==!1,u||(u=parseFloat(Rt.getComputedStyle(Sn).lineHeight)||22);var te,Qe,At,V,$,Ce,Ne,P=this,Ft=0,wr=0,vi=Ir(a,st),Re=Ir(a,Le),mi=vi(),yi=Re(),$n=~o.indexOf("touch")&&!~o.indexOf("pointer")&&nr[0]==="pointerdown",Xe=Ss(a),Fe=a.ownerDocument||ai,$t=[0,0,0],Kt=[0,0,0],xi=0,Sr=function(){return xi=ws()},cr=function(q,fe){return(P.event=q)&&f&&~f.indexOf(q.target)||fe&&$n&&q.pointerType!=="touch"||k&&k(q,fe)},mt=function(){P._vx.reset(),P._vy.reset(),Qe.pause(),d&&d(P)},Ei=function(){var q=P.deltaX=cd($t),fe=P.deltaY=cd(Kt),we=Math.abs(q)>=n,W=Math.abs(fe)>=n;O&&(we||W)&&O(P,q,fe,$t,Kt),we&&(b&&P.deltaX>0&&b(P),w&&P.deltaX<0&&w(P),A&&A(P),F&&P.deltaX<0!=Ft<0&&F(P),Ft=P.deltaX,$t[0]=$t[1]=$t[2]=0),W&&(C&&P.deltaY>0&&C(P),x&&P.deltaY<0&&x(P),S&&S(P),M&&P.deltaY<0!=wr<0&&M(P),wr=P.deltaY,Kt[0]=Kt[1]=Kt[2]=0),(V||At)&&(N&&N(P),At&&(D(P),At=!1),V=!1),Ce&&!(Ce=!1)&&ee&&ee(P),$&&(R(P),$=!1),te=0},an=function(q,fe,we){$t[we]+=q,Kt[we]+=fe,P._vx.update(q),P._vy.update(fe),l?te||(te=requestAnimationFrame(Ei)):Ei()},un=function(q,fe){ce&&!Ne&&(P.axis=Ne=Math.abs(q)>Math.abs(fe)?"x":"y",Ce=!0),Ne!=="y"&&($t[2]+=q,P._vx.update(q,!0)),Ne!=="x"&&(Kt[2]+=fe,P._vy.update(fe,!0)),l?te||(te=requestAnimationFrame(Ei)):Ei()},bi=function(q){if(!cr(q,1)){q=bs(q,c);var fe=q.clientX,we=q.clientY,W=fe-P.x,ae=we-P.y,j=P.isDragging;P.x=fe,P.y=we,(j||Math.abs(P.startX-fe)>=s||Math.abs(P.startY-we)>=s)&&(D&&(At=!0),j||(P.isDragging=!0),un(W,ae),j||g&&g(P))}},qr=P.onPress=function(K){cr(K,1)||K&&K.button||(P.axis=Ne=null,Qe.pause(),P.isPressed=!0,K=bs(K),Ft=wr=0,P.startX=P.x=K.clientX,P.startY=P.y=K.clientY,P._vx.reset(),P._vy.reset(),ht(B?a:Fe,nr[1],bi,c,!0),P.deltaX=P.deltaY=0,m&&m(P))},jr=P.onRelease=function(K){if(!cr(K,1)){ft(B?a:Fe,nr[1],bi,!0);var q=!isNaN(P.y-P.startY),fe=P.isDragging&&(Math.abs(P.x-P.startX)>3||Math.abs(P.y-P.startY)>3),we=bs(K);!fe&&q&&(P._vx.reset(),P._vy.reset(),c&&H&&Ke.delayedCall(.08,function(){if(ws()-xi>300&&!K.defaultPrevented){if(K.target.click)K.target.click();else if(Fe.createEvent){var W=Fe.createEvent("MouseEvents");W.initMouseEvent("click",!0,!0,Rt,1,we.screenX,we.screenY,we.clientX,we.clientY,!1,!1,!1,!1,0,null),K.target.dispatchEvent(W)}}})),P.isDragging=P.isGesturing=P.isPressed=!1,d&&!B&&Qe.restart(!0),v&&fe&&v(P),E&&E(P,fe)}},ue=function(q){return q.touches&&q.touches.length>1&&(P.isGesturing=!0)&&T(q,P.isDragging)},Ci=function(){return(P.isGesturing=!1)||y(P)},Zt=function(q){if(!cr(q)){var fe=vi(),we=Re();an((fe-mi)*G,(we-yi)*G,1),mi=fe,yi=we,d&&Qe.restart(!0)}},Qt=function(q){if(!cr(q)){q=bs(q,c),R&&($=!0);var fe=(q.deltaMode===1?u:q.deltaMode===2?Rt.innerHeight:1)*_;an(q.deltaX*fe,q.deltaY*fe,0),d&&!B&&Qe.restart(!0)}},Jt=function(q){if(!cr(q)){var fe=q.clientX,we=q.clientY,W=fe-P.x,ae=we-P.y;P.x=fe,P.y=we,V=!0,(W||ae)&&un(W,ae)}},wi=function(q){P.event=q,L(P)},ln=function(q){P.event=q,I(P)},Tr=function(q){return cr(q)||bs(q,c)&&X(P)};Qe=P._dc=Ke.delayedCall(h||.25,mt).pause(),P.deltaX=P.deltaY=0,P._vx=Qo(0,50,!0),P._vy=Qo(0,50,!0),P.scrollX=vi,P.scrollY=Re,P.isDragging=P.isGesturing=P.isPressed=!1,dd(this),P.enable=function(K){return P.isEnabled||(ht(Xe?Fe:a,"scroll",kl),o.indexOf("scroll")>=0&&ht(Xe?Fe:a,"scroll",Zt,c,z),o.indexOf("wheel")>=0&&ht(a,"wheel",Qt,c,z),(o.indexOf("touch")>=0&&fd||o.indexOf("pointer")>=0)&&(ht(a,nr[0],qr,c,z),ht(Fe,nr[2],jr),ht(Fe,nr[3],jr),H&&ht(a,"click",Sr,!1,!0),X&&ht(a,"click",Tr),T&&ht(Fe,"gesturestart",ue),y&&ht(Fe,"gestureend",Ci),L&&ht(a,Ui+"enter",wi),I&&ht(a,Ui+"leave",ln),N&&ht(a,Ui+"move",Jt)),P.isEnabled=!0,K&&K.type&&qr(K),U&&U(P)),P},P.disable=function(){P.isEnabled&&(wn.filter(function(K){return K!==P&&Ss(K.target)}).length||ft(Xe?Fe:a,"scroll",kl),P.isPressed&&(P._vx.reset(),P._vy.reset(),ft(B?a:Fe,nr[1],bi,!0)),ft(Xe?Fe:a,"scroll",Zt,z),ft(a,"wheel",Qt,z),ft(a,nr[0],qr,z),ft(Fe,nr[2],jr),ft(Fe,nr[3],jr),ft(a,"click",Sr,!0),ft(a,"click",Tr),ft(Fe,"gesturestart",ue),ft(Fe,"gestureend",Ci),ft(a,Ui+"enter",wi),ft(a,Ui+"leave",ln),ft(a,Ui+"move",Jt),P.isEnabled=P.isPressed=P.isDragging=!1,Z&&Z(P))},P.kill=P.revert=function(){P.disable();var K=wn.indexOf(P);K>=0&&wn.splice(K,1),Lr===P&&(Lr=0)},wn.push(P),B&&Ss(a)&&(Lr=P),P.enable(p)},sv(i,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),i}();Me.version="3.12.2";Me.create=function(i){return new Me(i)};Me.register=Dd;Me.getAll=function(){return wn.slice()};Me.getById=function(i){return wn.filter(function(e){return e.vars.id===i})[0]};pd()&&Ke.registerPlugin(Me);var Y,Fn,oe,Ee,or,De,kd,ga,Da,Pn,la,Jo,ot,ma,Yl,pt,vd,md,On,Ld,Ll,Id,kt,Nd,Bd,zd,li,Hl,jl,Mn,$l,Il,ea=1,gt=Date.now,Nl=gt(),Xt=0,As=0,yd=function(e,t,r){var n=It(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=n,n?e.substr(6,e.length-7):e},xd=function(e,t){return t&&(!It(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},uv=function i(){return As&&requestAnimationFrame(i)},Ed=function(){return ma=1},bd=function(){return ma=0},mr=function(e){return e},Fs=function(e){return Math.round(e*1e5)/1e5||0},Vd=function(){return typeof window!="undefined"},Wd=function(){return Y||Vd()&&(Y=window.gsap)&&Y.registerPlugin&&Y},Ki=function(e){return!!~kd.indexOf(e)},Yd=function(e){return(e==="Height"?$l:oe["inner"+e])||or["client"+e]||De["client"+e]},Hd=function(e){return Nr(e,"getBoundingClientRect")||(Ki(e)?function(){return _a.width=oe.innerWidth,_a.height=$l,_a}:function(){return Br(e)})},lv=function(e,t,r){var n=r.d,s=r.d2,o=r.a;return(o=Nr(e,"getBoundingClientRect"))?function(){return o()[n]}:function(){return(t?Yd(s):e["client"+s])||0}},cv=function(e,t){return!t||~sr.indexOf(e)?Hd(e):function(){return _a}},zr=function(e,t){var r=t.s,n=t.d2,s=t.d,o=t.a;return Math.max(0,(r="scroll"+n)&&(o=Nr(e,r))?o()-Hd(e)()[s]:Ki(e)?(or[r]||De[r])-Yd(n):e[r]-e["offset"+n])},ta=function(e,t){for(var r=0;r<On.length;r+=3)(!t||~t.indexOf(On[r+1]))&&e(On[r],On[r+1],On[r+2])},It=function(e){return typeof e=="string"},Dt=function(e){return typeof e=="function"},ca=function(e){return typeof e=="number"},Xi=function(e){return typeof e=="object"},Ts=function(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()},Bl=function(e,t){if(e.enabled){var r=t(e);r&&r.totalTime&&(e.callbackAnimation=r)}},Tn=Math.abs,Ud="left",Xd="top",Kl="right",Zl="bottom",qi="width",ji="height",Ps="Right",Ms="Left",Rs="Top",ks="Bottom",Ie="padding",Ht="margin",kn="Width",Ql="Height",Ze="px",Ut=function(e){return oe.getComputedStyle(e)},fv=function(e){var t=Ut(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative"},Cd=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},Br=function(e,t){var r=t&&Ut(e)[Yl]!=="matrix(1, 0, 0, 1, 0, 0)"&&Y.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},Ul=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},Gd=function(e){var t=[],r=e.labels,n=e.duration(),s;for(s in r)t.push(r[s]/n);return t},hv=function(e){return function(t){return Y.utils.snap(Gd(e),t)}},Jl=function(e){var t=Y.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(n,s){return n-s});return r?function(n,s,o){o===void 0&&(o=.001);var a;if(!s)return t(n);if(s>0){for(n-=o,a=0;a<r.length;a++)if(r[a]>=n)return r[a];return r[a-1]}else for(a=r.length,n+=o;a--;)if(r[a]<=n)return r[a];return r[0]}:function(n,s,o){o===void 0&&(o=.001);var a=t(n);return!s||Math.abs(a-n)<o||a-n<0==s<0?a:t(s<0?n-e:n+e)}},dv=function(e){return function(t,r){return Jl(Gd(e))(t,r.direction)}},ra=function(e,t,r,n){return r.split(",").forEach(function(s){return e(t,s,n)})},Ue=function(e,t,r,n,s){return e.addEventListener(t,r,{passive:!n,capture:!!s})},He=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},ia=function(e,t,r){r=r&&r.wheelHandler,r&&(e(t,"wheel",r),e(t,"touchmove",r))},wd={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},na={toggleActions:"play",anticipatePin:0},va={top:0,left:0,center:.5,bottom:1,right:1},fa=function(e,t){if(It(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 va?va[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},sa=function(e,t,r,n,s,o,a,u){var l=s.startColor,c=s.endColor,d=s.fontSize,h=s.indent,f=s.fontWeight,_=Ee.createElement("div"),p=Ki(r)||Nr(r,"pinType")==="fixed",g=e.indexOf("scroller")!==-1,v=p?De:r,D=e.indexOf("start")!==-1,m=D?l:c,E="border-color:"+m+";font-size:"+d+";color:"+m+";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 E+="position:"+((g||u)&&p?"fixed;":"absolute;"),(g||u||!p)&&(E+=(n===Le?Kl:Zl)+":"+(o+parseFloat(h))+"px;"),a&&(E+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),_._isStart=D,_.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),_.style.cssText=E,_.innerText=t||t===0?e+"-"+t:e,v.children[0]?v.insertBefore(_,v.children[0]):v.appendChild(_),_._offset=_["offset"+n.op.d2],ha(_,0,n,D),_},ha=function(e,t,r,n){var s={display:"block"},o=r[n?"os2":"p2"],a=r[n?"p2":"os2"];e._isFlipped=n,s[r.a+"Percent"]=n?-100:0,s[r.a]=n?"1px":0,s["border"+o+kn]=1,s["border"+a+kn]=0,s[r.p]=t+"px",Y.set(e,s)},ie=[],Xl={},Is,Sd=function(){return gt()-Xt>34&&(Is||(Is=requestAnimationFrame(Vr)))},An=function(){(!kt||!kt.isPressed||kt.startX>De.clientWidth)&&(re.cache++,kt?Is||(Is=requestAnimationFrame(Vr)):Vr(),Xt||Qi("scrollStart"),Xt=gt())},zl=function(){zd=oe.innerWidth,Bd=oe.innerHeight},Os=function(){re.cache++,!ot&&!Id&&!Ee.fullscreenElement&&!Ee.webkitFullscreenElement&&(!Nd||zd!==oe.innerWidth||Math.abs(oe.innerHeight-Bd)>oe.innerHeight*.25)&&ga.restart(!0)},Zi={},pv=[],qd=function i(){return He(J,"scrollEnd",i)||Gi(!0)},Qi=function(e){return Zi[e]&&Zi[e].map(function(t){return t()})||pv},Lt=[],jd=function(e){for(var t=0;t<Lt.length;t+=5)(!e||Lt[t+4]&&Lt[t+4].query===e)&&(Lt[t].style.cssText=Lt[t+1],Lt[t].getBBox&&Lt[t].setAttribute("transform",Lt[t+2]||""),Lt[t+3].uncache=1)},ec=function(e,t){var r;for(pt=0;pt<ie.length;pt++)r=ie[pt],r&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));t&&jd(t),t||Qi("revert")},$d=function(e,t){re.cache++,(t||!_t)&&re.forEach(function(r){return Dt(r)&&r.cacheID++&&(r.rec=0)}),It(e)&&(oe.history.scrollRestoration=jl=e)},_t,$i=0,Td,_v=function(){if(Td!==$i){var e=Td=$i;requestAnimationFrame(function(){return e===$i&&Gi(!0)})}},Kd=function(){De.appendChild(Mn),$l=Mn.offsetHeight||oe.innerHeight,De.removeChild(Mn)},Gi=function(e,t){if(Xt&&!e){Ue(J,"scrollEnd",qd);return}Kd(),_t=J.isRefreshing=!0,re.forEach(function(n){return Dt(n)&&++n.cacheID&&(n.rec=n())});var r=Qi("refreshInit");Ld&&J.sort(),t||ec(),re.forEach(function(n){Dt(n)&&(n.smooth&&(n.target.style.scrollBehavior="auto"),n(0))}),ie.slice(0).forEach(function(n){return n.refresh()}),ie.forEach(function(n,s){if(n._subPinOffset&&n.pin){var o=n.vars.horizontal?"offsetWidth":"offsetHeight",a=n.pin[o];n.revert(!0,1),n.adjustPinSpacing(n.pin[o]-a),n.refresh()}}),ie.forEach(function(n){var s=zr(n.scroller,n._dir);(n.vars.end==="max"||n._endClamp&&n.end>s)&&n.setPositions(n.start,Math.max(n.start+1,s),!0)}),r.forEach(function(n){return n&&n.render&&n.render(-1)}),re.forEach(function(n){Dt(n)&&(n.smooth&&requestAnimationFrame(function(){return n.target.style.scrollBehavior="smooth"}),n.rec&&n(n.rec))}),$d(jl,1),ga.pause(),$i++,_t=2,Vr(2),ie.forEach(function(n){return Dt(n.vars.onRefresh)&&n.vars.onRefresh(n)}),_t=J.isRefreshing=!1,Qi("refresh")},Gl=0,da=1,Ls,Vr=function(e){if(!_t||e===2){J.isUpdating=!0,Ls&&Ls.update(0);var t=ie.length,r=gt(),n=r-Nl>=50,s=t&&ie[0].scroll();if(da=Gl>s?-1:1,_t||(Gl=s),n&&(Xt&&!ma&&r-Xt>200&&(Xt=0,Qi("scrollEnd")),la=Nl,Nl=r),da<0){for(pt=t;pt-- >0;)ie[pt]&&ie[pt].update(0,n);da=1}else for(pt=0;pt<t;pt++)ie[pt]&&ie[pt].update(0,n);J.isUpdating=!1}Is=0},ql=[Ud,Xd,Zl,Kl,Ht+ks,Ht+Ps,Ht+Rs,Ht+Ms,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],pa=ql.concat([qi,ji,"boxSizing","max"+kn,"max"+Ql,"position",Ht,Ie,Ie+Rs,Ie+Ps,Ie+ks,Ie+Ms]),gv=function(e,t,r){Rn(r);var n=e._gsap;if(n.spacerIsNative)Rn(n.spacerState);else if(e._gsap.swappedIn){var s=t.parentNode;s&&(s.insertBefore(e,t),s.removeChild(t))}e._gsap.swappedIn=!1},Vl=function(e,t,r,n){if(!e._gsap.swappedIn){for(var s=ql.length,o=t.style,a=e.style,u;s--;)u=ql[s],o[u]=r[u];o.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(o.display="inline-block"),a[Zl]=a[Kl]="auto",o.flexBasis=r.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[qi]=Ul(e,st)+Ze,o[ji]=Ul(e,Le)+Ze,o[Ie]=a[Ht]=a[Xd]=a[Ud]="0",Rn(n),a[qi]=a["max"+kn]=r[qi],a[ji]=a["max"+Ql]=r[ji],a[Ie]=r[Ie],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},Dv=/([A-Z])/g,Rn=function(e){if(e){var t=e.t.style,r=e.length,n=0,s,o;for((e.t._gsap||Y.core.getCache(e.t)).uncache=1;n<r;n+=2)o=e[n+1],s=e[n],o?t[s]=o:t[s]&&t.removeProperty(s.replace(Dv,"-$1").toLowerCase())}},oa=function(e){for(var t=pa.length,r=e.style,n=[],s=0;s<t;s++)n.push(pa[s],r[pa[s]]);return n.t=e,n},vv=function(e,t,r){for(var n=[],s=e.length,o=r?8:0,a;o<s;o+=2)a=e[o],n.push(a,a in t?t[a]:e[o+1]);return n.t=e.t,n},_a={left:0,top:0},Ad=function(e,t,r,n,s,o,a,u,l,c,d,h,f,_){Dt(e)&&(e=e(u)),It(e)&&e.substr(0,3)==="max"&&(e=h+(e.charAt(4)==="="?fa("0"+e.substr(3),r):0));var p=f?f.time():0,g,v,D;if(f&&f.seek(0),isNaN(e)||(e=+e),ca(e))f&&(e=Y.utils.mapRange(f.scrollTrigger.start,f.scrollTrigger.end,0,h,e)),a&&ha(a,r,n,!0);else{Dt(t)&&(t=t(u));var m=(e||"0").split(" "),E,b,w,x;D=dt(t,u)||De,E=Br(D)||{},(!E||!E.left&&!E.top)&&Ut(D).display==="none"&&(x=D.style.display,D.style.display="block",E=Br(D),x?D.style.display=x:D.style.removeProperty("display")),b=fa(m[0],E[n.d]),w=fa(m[1]||"0",r),e=E[n.p]-l[n.p]-c+b+s-w,a&&ha(a,w,n,r-w<20||a._isStart&&w>20),r-=r-w}if(_&&(u[_]=e||-.001,e<0&&(e=0)),o){var C=e+r,A=o._isStart;g="scroll"+n.d2,ha(o,C,n,A&&C>20||!A&&(d?Math.max(De[g],or[g]):o.parentNode[g])<=C+1),d&&(l=Br(a),d&&(o.style[n.op.p]=l[n.op.p]-n.op.m-o._offset+Ze))}return f&&D&&(g=Br(D),f.seek(h),v=Br(D),f._caScrollDist=g[n.p]-v[n.p],e=e/f._caScrollDist*h),f&&f.seek(p),f?e:Math.round(e)},mv=/(webkit|moz|length|cssText|inset)/i,Fd=function(e,t,r,n){if(e.parentNode!==t){var s=e.style,o,a;if(t===De){e._stOrig=s.cssText,a=Ut(e);for(o in a)!+o&&!mv.test(o)&&a[o]&&typeof s[o]=="string"&&o!=="0"&&(s[o]=a[o]);s.top=r,s.left=n}else s.cssText=e._stOrig;Y.core.getCache(e).uncache=1,t.appendChild(e)}},Zd=function(e,t,r){var n=t,s=n;return function(o){var a=Math.round(e());return a!==n&&a!==s&&Math.abs(a-n)>3&&Math.abs(a-s)>3&&(o=a,r&&r()),s=n,n=o,o}},aa=function(e,t,r){var n={};n[t.p]="+="+r,Y.set(e,n)},Od=function(e,t){var r=Ir(e,t),n="_scroll"+t.p2,s=function o(a,u,l,c,d){var h=o.tween,f=u.onComplete,_={};l=l||r();var p=Zd(r,l,function(){h.kill(),o.tween=0});return d=c&&d||0,c=c||a-l,h&&h.kill(),u[n]=a,u.modifiers=_,_[n]=function(){return p(l+c*h.ratio+d*h.ratio*h.ratio)},u.onUpdate=function(){re.cache++,Vr()},u.onComplete=function(){o.tween=0,f&&f.call(h)},h=o.tween=Y.to(e,u),h};return e[n]=r,r.wheelHandler=function(){return s.tween&&s.tween.kill()&&(s.tween=0)},Ue(e,"wheel",r.wheelHandler),J.isTouch&&Ue(e,"touchmove",r.wheelHandler),s},J=function(){function i(t,r){Fn||i.register(Y)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Hl(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),!As){this.update=this.refresh=this.kill=mr;return}r=Cd(It(r)||ca(r)||r.nodeType?{trigger:r}:r,na);var s=r,o=s.onUpdate,a=s.toggleClass,u=s.id,l=s.onToggle,c=s.onRefresh,d=s.scrub,h=s.trigger,f=s.pin,_=s.pinSpacing,p=s.invalidateOnRefresh,g=s.anticipatePin,v=s.onScrubComplete,D=s.onSnapComplete,m=s.once,E=s.snap,b=s.pinReparent,w=s.pinSpacer,x=s.containerAnimation,C=s.fastScrollEnd,A=s.preventOverlaps,S=r.horizontal||r.containerAnimation&&r.horizontal!==!1?st:Le,O=!d&&d!==0,F=dt(r.scroller||oe),M=Y.core.getCache(F),L=Ki(F),I=("pinType"in r?r.pinType:Nr(F,"pinType")||L&&"fixed")==="fixed",N=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],k=O&&r.toggleActions.split(" "),B="markers"in r?r.markers:na.markers,T=L?0:parseFloat(Ut(F)["border"+S.p2+kn])||0,y=this,R=r.onRefreshInit&&function(){return r.onRefreshInit(y)},U=lv(F,L,S),Z=cv(F,L),X=0,G=0,z=0,H=Ir(F,S),ce,ee,te,Qe,At,V,$,Ce,Ne,P,Ft,wr,vi,Re,mi,yi,$n,Xe,Fe,$t,Kt,xi,Sr,cr,mt,Ei,an,un,bi,qr,jr,ue,Ci,Zt,Qt,Jt,wi,ln,Tr;if(y._startClamp=y._endClamp=!1,y._dir=S,g*=45,y.scroller=F,y.scroll=x?x.time.bind(x):H,Qe=H(),y.vars=r,n=n||r.animation,"refreshPriority"in r&&(Ld=1,r.refreshPriority===-9999&&(Ls=y)),M.tweenScroll=M.tweenScroll||{top:Od(F,Le),left:Od(F,st)},y.tweenTo=ce=M.tweenScroll[S.p],y.scrubDuration=function(W){Ci=ca(W)&&W,Ci?ue?ue.duration(W):ue=Y.to(n,{ease:"expo",totalProgress:"+=0",duration:Ci,paused:!0,onComplete:function(){return v&&v(y)}}):(ue&&ue.progress(1).kill(),ue=0)},n&&(n.vars.lazy=!1,n._initted&&!y.isReverted||n.vars.immediateRender!==!1&&r.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),y.animation=n.pause(),n.scrollTrigger=y,y.scrubDuration(d),qr=0,u||(u=n.vars.id)),E&&((!Xi(E)||E.push)&&(E={snapTo:E}),"scrollBehavior"in De.style&&Y.set(L?[De,or]:F,{scrollBehavior:"auto"}),re.forEach(function(W){return Dt(W)&&W.target===(L?Ee.scrollingElement||or:F)&&(W.smooth=!1)}),te=Dt(E.snapTo)?E.snapTo:E.snapTo==="labels"?hv(n):E.snapTo==="labelsDirectional"?dv(n):E.directional!==!1?function(W,ae){return Jl(E.snapTo)(W,gt()-G<500?0:ae.direction)}:Y.utils.snap(E.snapTo),Zt=E.duration||{min:.1,max:2},Zt=Xi(Zt)?Pn(Zt.min,Zt.max):Pn(Zt,Zt),Qt=Y.delayedCall(E.delay||Ci/2||.1,function(){var W=H(),ae=gt()-G<500,j=ce.tween;if((ae||Math.abs(y.getVelocity())<10)&&!j&&!ma&&X!==W){var ne=(W-V)/Re,Ye=n&&!O?n.totalProgress():ne,le=ae?0:(Ye-jr)/(gt()-la)*1e3||0,Oe=Y.utils.clamp(-ne,1-ne,Tn(le/2)*le/.185),at=ne+(E.inertia===!1?0:Oe),Ge=Pn(0,1,te(at,y)),ve=Math.round(V+Ge*Re),he=E,er=he.onStart,me=he.onInterrupt,Ot=he.onComplete;if(W<=$&&W>=V&&ve!==W){if(j&&!j._initted&&j.data<=Tn(ve-W))return;E.inertia===!1&&(Oe=Ge-ne),ce(ve,{duration:Zt(Tn(Math.max(Tn(at-Ye),Tn(Ge-Ye))*.185/le/.05||0)),ease:E.ease||"power3",data:Tn(ve-W),onInterrupt:function(){return Qt.restart(!0)&&me&&me(y)},onComplete:function(){y.update(),X=H(),qr=jr=n&&!O?n.totalProgress():y.progress,D&&D(y),Ot&&Ot(y)}},W,Oe*Re,ve-W-Oe*Re),er&&er(y,ce.tween)}}else y.isActive&&X!==W&&Qt.restart(!0)}).pause()),u&&(Xl[u]=y),h=y.trigger=dt(h||f!==!0&&f),Tr=h&&h._gsap&&h._gsap.stRevert,Tr&&(Tr=Tr(y)),f=f===!0?h:dt(f),It(a)&&(a={targets:h,className:a}),f&&(_===!1||_===Ht||(_=!_&&f.parentNode&&f.parentNode.style&&Ut(f.parentNode).display==="flex"?!1:Ie),y.pin=f,ee=Y.core.getCache(f),ee.spacer?mi=ee.pinState:(w&&(w=dt(w),w&&!w.nodeType&&(w=w.current||w.nativeElement),ee.spacerIsNative=!!w,w&&(ee.spacerState=oa(w))),ee.spacer=Xe=w||Ee.createElement("div"),Xe.classList.add("pin-spacer"),u&&Xe.classList.add("pin-spacer-"+u),ee.pinState=mi=oa(f)),r.force3D!==!1&&Y.set(f,{force3D:!0}),y.spacer=Xe=ee.spacer,bi=Ut(f),cr=bi[_+S.os2],$t=Y.getProperty(f),Kt=Y.quickSetter(f,S.a,Ze),Vl(f,Xe,bi),$n=oa(f)),B){wr=Xi(B)?Cd(B,wd):wd,P=sa("scroller-start",u,F,S,wr,0),Ft=sa("scroller-end",u,F,S,wr,0,P),Fe=P["offset"+S.op.d2];var K=dt(Nr(F,"content")||F);Ce=this.markerStart=sa("start",u,K,S,wr,Fe,0,x),Ne=this.markerEnd=sa("end",u,K,S,wr,Fe,0,x),x&&(ln=Y.quickSetter([Ce,Ne],S.a,Ze)),!I&&!(sr.length&&Nr(F,"fixedMarkers")===!0)&&(fv(L?De:F),Y.set([P,Ft],{force3D:!0}),Ei=Y.quickSetter(P,S.a,Ze),un=Y.quickSetter(Ft,S.a,Ze))}if(x){var q=x.vars.onUpdate,fe=x.vars.onUpdateParams;x.eventCallback("onUpdate",function(){y.update(0,0,1),q&&q.apply(x,fe||[])})}if(y.previous=function(){return ie[ie.indexOf(y)-1]},y.next=function(){return ie[ie.indexOf(y)+1]},y.revert=function(W,ae){if(!ae)return y.kill(!0);var j=W!==!1||!y.enabled,ne=ot;j!==y.isReverted&&(j&&(Jt=Math.max(H(),y.scroll.rec||0),z=y.progress,wi=n&&n.progress()),Ce&&[Ce,Ne,P,Ft].forEach(function(Ye){return Ye.style.display=j?"none":"block"}),j&&(ot=y,y.update(j)),f&&(!b||!y.isActive)&&(j?gv(f,Xe,mi):Vl(f,Xe,Ut(f),mt)),j||y.update(j),ot=ne,y.isReverted=j)},y.refresh=function(W,ae,j,ne){if(!((ot||!y.enabled)&&!ae)){if(f&&W&&Xt){Ue(i,"scrollEnd",qd);return}!_t&&R&&R(y),ot=y,ce.tween&&!j&&(ce.tween.kill(),ce.tween=0),ue&&ue.pause(),p&&n&&n.revert({kill:!1}).invalidate(),y.isReverted||y.revert(!0,!0),y._subPinOffset=!1;var Ye=U(),le=Z(),Oe=x?x.duration():zr(F,S),at=Re<=.01,Ge=0,ve=ne||0,he=Xi(j)?j.end:r.end,er=r.endTrigger||h,me=Xi(j)?j.start:r.start||(r.start===0||!h?0:f?"0 0":"0 100%"),Ot=y.pinnedContainer=r.pinnedContainer&&dt(r.pinnedContainer,y),fr=h&&Math.max(0,ie.indexOf(y))||0,Pt=fr,qe,Je,Si,ao,et,Be,hr,Ha,Oc,Kn,dr,Zn,uo;for(B&&Xi(j)&&(Zn=Y.getProperty(P,S.p),uo=Y.getProperty(Ft,S.p));Pt--;)Be=ie[Pt],Be.end||Be.refresh(0,1)||(ot=y),hr=Be.pin,hr&&(hr===h||hr===f||hr===Ot)&&!Be.isReverted&&(Kn||(Kn=[]),Kn.unshift(Be),Be.revert(!0,!0)),Be!==ie[Pt]&&(fr--,Pt--);for(Dt(me)&&(me=me(y)),me=yd(me,"start",y),V=Ad(me,h,Ye,S,H(),Ce,P,y,le,T,I,Oe,x,y._startClamp&&"_startClamp")||(f?-.001:0),Dt(he)&&(he=he(y)),It(he)&&!he.indexOf("+=")&&(~he.indexOf(" ")?he=(It(me)?me.split(" ")[0]:"")+he:(Ge=fa(he.substr(2),Ye),he=It(me)?me:(x?Y.utils.mapRange(0,x.duration(),x.scrollTrigger.start,x.scrollTrigger.end,V):V)+Ge,er=h)),he=yd(he,"end",y),$=Math.max(V,Ad(he||(er?"100% 0":Oe),er,Ye,S,H()+Ge,Ne,Ft,y,le,T,I,Oe,x,y._endClamp&&"_endClamp"))||-.001,Ge=0,Pt=fr;Pt--;)Be=ie[Pt],hr=Be.pin,hr&&Be.start-Be._pinPush<=V&&!x&&Be.end>0&&(qe=Be.end-(y._startClamp?Math.max(0,Be.start):Be.start),(hr===h&&Be.start-Be._pinPush<V||hr===Ot)&&isNaN(me)&&(Ge+=qe*(1-Be.progress)),hr===f&&(ve+=qe));if(V+=Ge,$+=Ge,y._startClamp&&(y._startClamp+=Ge),y._endClamp&&!_t&&(y._endClamp=$||-.001,$=Math.min($,zr(F,S))),Re=$-V||(V-=.01)&&.001,at&&(z=Y.utils.clamp(0,1,Y.utils.normalize(V,$,Jt))),y._pinPush=ve,Ce&&Ge&&(qe={},qe[S.a]="+="+Ge,Ot&&(qe[S.p]="-="+H()),Y.set([Ce,Ne],qe)),f)qe=Ut(f),ao=S===Le,Si=H(),xi=parseFloat($t(S.a))+ve,!Oe&&$>1&&(dr=(L?Ee.scrollingElement||or:F).style,dr={style:dr,value:dr["overflow"+S.a.toUpperCase()]},L&&Ut(De)["overflow"+S.a.toUpperCase()]!=="scroll"&&(dr.style["overflow"+S.a.toUpperCase()]="scroll")),Vl(f,Xe,qe),$n=oa(f),Je=Br(f,!0),Ha=I&&Ir(F,ao?st:Le)(),_&&(mt=[_+S.os2,Re+ve+Ze],mt.t=Xe,Pt=_===Ie?Ul(f,S)+Re+ve:0,Pt&&mt.push(S.d,Pt+Ze),Rn(mt),Ot&&ie.forEach(function(Qn){Qn.pin===Ot&&Qn.vars.pinSpacing!==!1&&(Qn._subPinOffset=!0)}),I&&H(Jt)),I&&(et={top:Je.top+(ao?Si-V:Ha)+Ze,left:Je.left+(ao?Ha:Si-V)+Ze,boxSizing:"border-box",position:"fixed"},et[qi]=et["max"+kn]=Math.ceil(Je.width)+Ze,et[ji]=et["max"+Ql]=Math.ceil(Je.height)+Ze,et[Ht]=et[Ht+Rs]=et[Ht+Ps]=et[Ht+ks]=et[Ht+Ms]="0",et[Ie]=qe[Ie],et[Ie+Rs]=qe[Ie+Rs],et[Ie+Ps]=qe[Ie+Ps],et[Ie+ks]=qe[Ie+ks],et[Ie+Ms]=qe[Ie+Ms],yi=vv(mi,et,b),_t&&H(0)),n?(Oc=n._initted,Ll(1),n.render(n.duration(),!0,!0),Sr=$t(S.a)-xi+Re+ve,an=Math.abs(Re-Sr)>1,I&&an&&yi.splice(yi.length-2,2),n.render(0,!0,!0),Oc||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),Ll(0)):Sr=Re,dr&&(dr.value?dr.style["overflow"+S.a.toUpperCase()]=dr.value:dr.style.removeProperty("overflow-"+S.a));else if(h&&H()&&!x)for(Je=h.parentNode;Je&&Je!==De;)Je._pinOffset&&(V-=Je._pinOffset,$-=Je._pinOffset),Je=Je.parentNode;Kn&&Kn.forEach(function(Qn){return Qn.revert(!1,!0)}),y.start=V,y.end=$,Qe=At=_t?Jt:H(),!x&&!_t&&(Qe<Jt&&H(Jt),y.scroll.rec=0),y.revert(!1,!0),G=gt(),Qt&&(X=-1,Qt.restart(!0)),ot=0,n&&O&&(n._initted||wi)&&n.progress()!==wi&&n.progress(wi||0,!0).render(n.time(),!0,!0),(at||z!==y.progress||x)&&(n&&!O&&n.totalProgress(x&&V<-.001&&!z?Y.utils.normalize(V,$,0):z,!0),y.progress=at||(Qe-V)/Re===z?0:z),f&&_&&(Xe._pinOffset=Math.round(y.progress*Sr)),ue&&ue.invalidate(),isNaN(Zn)||(Zn-=Y.getProperty(P,S.p),uo-=Y.getProperty(Ft,S.p),aa(P,S,Zn),aa(Ce,S,Zn-(ne||0)),aa(Ft,S,uo),aa(Ne,S,uo-(ne||0))),at&&!_t&&y.update(),c&&!_t&&!vi&&(vi=!0,c(y),vi=!1)}},y.getVelocity=function(){return(H()-At)/(gt()-la)*1e3||0},y.endAnimation=function(){Ts(y.callbackAnimation),n&&(ue?ue.progress(1):n.paused()?O||Ts(n,y.direction<0,1):Ts(n,n.reversed()))},y.labelToScroll=function(W){return n&&n.labels&&(V||y.refresh()||V)+n.labels[W]/n.duration()*Re||0},y.getTrailing=function(W){var ae=ie.indexOf(y),j=y.direction>0?ie.slice(0,ae).reverse():ie.slice(ae+1);return(It(W)?j.filter(function(ne){return ne.vars.preventOverlaps===W}):j).filter(function(ne){return y.direction>0?ne.end<=V:ne.start>=$})},y.update=function(W,ae,j){if(!(x&&!j&&!W)){var ne=_t===!0?Jt:y.scroll(),Ye=W?0:(ne-V)/Re,le=Ye<0?0:Ye>1?1:Ye||0,Oe=y.progress,at,Ge,ve,he,er,me,Ot,fr;if(ae&&(At=Qe,Qe=x?H():ne,E&&(jr=qr,qr=n&&!O?n.totalProgress():le)),g&&!le&&f&&!ot&&!ea&&Xt&&V<ne+(ne-At)/(gt()-la)*g&&(le=1e-4),le!==Oe&&y.enabled){if(at=y.isActive=!!le&&le<1,Ge=!!Oe&&Oe<1,me=at!==Ge,er=me||!!le!=!!Oe,y.direction=le>Oe?1:-1,y.progress=le,er&&!ot&&(ve=le&&!Oe?0:le===1?1:Oe===1?2:3,O&&(he=!me&&k[ve+1]!=="none"&&k[ve+1]||k[ve],fr=n&&(he==="complete"||he==="reset"||he in n))),A&&(me||fr)&&(fr||d||!n)&&(Dt(A)?A(y):y.getTrailing(A).forEach(function(Si){return Si.endAnimation()})),O||(ue&&!ot&&!ea?(ue._dp._time-ue._start!==ue._time&&ue.render(ue._dp._time-ue._start),ue.resetTo?ue.resetTo("totalProgress",le,n._tTime/n._tDur):(ue.vars.totalProgress=le,ue.invalidate().restart())):n&&n.totalProgress(le,!!(ot&&(G||W)))),f){if(W&&_&&(Xe.style[_+S.os2]=cr),!I)Kt(Fs(xi+Sr*le));else if(er){if(Ot=!W&&le>Oe&&$+1>ne&&ne+1>=zr(F,S),b)if(!W&&(at||Ot)){var Pt=Br(f,!0),qe=ne-V;Fd(f,De,Pt.top+(S===Le?qe:0)+Ze,Pt.left+(S===Le?0:qe)+Ze)}else Fd(f,Xe);Rn(at||Ot?yi:$n),an&&le<1&&at||Kt(xi+(le===1&&!Ot?Sr:0))}}E&&!ce.tween&&!ot&&!ea&&Qt.restart(!0),a&&(me||m&&le&&(le<1||!Il))&&Da(a.targets).forEach(function(Si){return Si.classList[at||m?"add":"remove"](a.className)}),o&&!O&&!W&&o(y),er&&!ot?(O&&(fr&&(he==="complete"?n.pause().totalProgress(1):he==="reset"?n.restart(!0).pause():he==="restart"?n.restart(!0):n[he]()),o&&o(y)),(me||!Il)&&(l&&me&&Bl(y,l),N[ve]&&Bl(y,N[ve]),m&&(le===1?y.kill(!1,1):N[ve]=0),me||(ve=le===1?1:3,N[ve]&&Bl(y,N[ve]))),C&&!at&&Math.abs(y.getVelocity())>(ca(C)?C:2500)&&(Ts(y.callbackAnimation),ue?ue.progress(1):Ts(n,he==="reverse"?1:!le,1))):O&&o&&!ot&&o(y)}if(un){var Je=x?ne/x.duration()*(x._caScrollDist||0):ne;Ei(Je+(P._isFlipped?1:0)),un(Je)}ln&&ln(-ne/x.duration()*(x._caScrollDist||0))}},y.enable=function(W,ae){y.enabled||(y.enabled=!0,Ue(F,"resize",Os),L||Ue(F,"scroll",An),R&&Ue(i,"refreshInit",R),W!==!1&&(y.progress=z=0,Qe=At=X=H()),ae!==!1&&y.refresh())},y.getTween=function(W){return W&&ce?ce.tween:ue},y.setPositions=function(W,ae,j,ne){if(x){var Ye=x.scrollTrigger,le=x.duration(),Oe=Ye.end-Ye.start;W=Ye.start+Oe*W/le,ae=Ye.start+Oe*ae/le}y.refresh(!1,!1,{start:xd(W,j&&!!y._startClamp),end:xd(ae,j&&!!y._endClamp)},ne),y.update()},y.adjustPinSpacing=function(W){if(mt&&W){var ae=mt.indexOf(S.d)+1;mt[ae]=parseFloat(mt[ae])+W+Ze,mt[1]=parseFloat(mt[1])+W+Ze,Rn(mt)}},y.disable=function(W,ae){if(y.enabled&&(W!==!1&&y.revert(!0,!0),y.enabled=y.isActive=!1,ae||ue&&ue.pause(),Jt=0,ee&&(ee.uncache=1),R&&He(i,"refreshInit",R),Qt&&(Qt.pause(),ce.tween&&ce.tween.kill()&&(ce.tween=0)),!L)){for(var j=ie.length;j--;)if(ie[j].scroller===F&&ie[j]!==y)return;He(F,"resize",Os),L||He(F,"scroll",An)}},y.kill=function(W,ae){y.disable(W,ae),ue&&!ae&&ue.kill(),u&&delete Xl[u];var j=ie.indexOf(y);j>=0&&ie.splice(j,1),j===pt&&da>0&&pt--,j=0,ie.forEach(function(ne){return ne.scroller===y.scroller&&(j=1)}),j||_t||(y.scroll.rec=0),n&&(n.scrollTrigger=null,W&&n.revert({kill:!1}),ae||n.kill()),Ce&&[Ce,Ne,P,Ft].forEach(function(ne){return ne.parentNode&&ne.parentNode.removeChild(ne)}),Ls===y&&(Ls=0),f&&(ee&&(ee.uncache=1),j=0,ie.forEach(function(ne){return ne.pin===f&&j++}),j||(ee.spacer=0)),r.onKill&&r.onKill(y)},ie.push(y),y.enable(!1,!1),Tr&&Tr(y),n&&n.add&&!Re){var we=y.update;y.update=function(){y.update=we,V||$||y.refresh()},Y.delayedCall(.01,y.update),Re=.01,V=$=0}else y.refresh();f&&_v()},i.register=function(r){return Fn||(Y=r||Wd(),Vd()&&window.document&&i.enable(),Fn=As),Fn},i.defaults=function(r){if(r)for(var n in r)na[n]=r[n];return na},i.disable=function(r,n){As=0,ie.forEach(function(o){return o[n?"kill":"disable"](r)}),He(oe,"wheel",An),He(Ee,"scroll",An),clearInterval(Jo),He(Ee,"touchcancel",mr),He(De,"touchstart",mr),ra(He,Ee,"pointerdown,touchstart,mousedown",Ed),ra(He,Ee,"pointerup,touchend,mouseup",bd),ga.kill(),ta(He);for(var s=0;s<re.length;s+=3)ia(He,re[s],re[s+1]),ia(He,re[s],re[s+2])},i.enable=function(){if(oe=window,Ee=document,or=Ee.documentElement,De=Ee.body,Y&&(Da=Y.utils.toArray,Pn=Y.utils.clamp,Hl=Y.core.context||mr,Ll=Y.core.suppressOverwrites||mr,jl=oe.history.scrollRestoration||"auto",Gl=oe.pageYOffset,Y.core.globals("ScrollTrigger",i),De)){As=1,Mn=document.createElement("div"),Mn.style.height="100vh",Mn.style.position="absolute",Kd(),uv(),Me.register(Y),i.isTouch=Me.isTouch,li=Me.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Ue(oe,"wheel",An),kd=[oe,Ee,or,De],Y.matchMedia?(i.matchMedia=function(u){var l=Y.matchMedia(),c;for(c in u)l.add(c,u[c]);return l},Y.addEventListener("matchMediaInit",function(){return ec()}),Y.addEventListener("matchMediaRevert",function(){return jd()}),Y.addEventListener("matchMedia",function(){Gi(0,1),Qi("matchMedia")}),Y.matchMedia("(orientation: portrait)",function(){return zl(),zl})):console.warn("Requires GSAP 3.11.0 or later"),zl(),Ue(Ee,"scroll",An);var r=De.style,n=r.borderTopStyle,s=Y.core.Animation.prototype,o,a;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),r.borderTopStyle="solid",o=Br(De),Le.m=Math.round(o.top+Le.sc())||0,st.m=Math.round(o.left+st.sc())||0,n?r.borderTopStyle=n:r.removeProperty("border-top-style"),Jo=setInterval(Sd,250),Y.delayedCall(.5,function(){return ea=0}),Ue(Ee,"touchcancel",mr),Ue(De,"touchstart",mr),ra(Ue,Ee,"pointerdown,touchstart,mousedown",Ed),ra(Ue,Ee,"pointerup,touchend,mouseup",bd),Yl=Y.utils.checkPrefix("transform"),pa.push(Yl),Fn=gt(),ga=Y.delayedCall(.2,Gi).pause(),On=[Ee,"visibilitychange",function(){var u=oe.innerWidth,l=oe.innerHeight;Ee.hidden?(vd=u,md=l):(vd!==u||md!==l)&&Os()},Ee,"DOMContentLoaded",Gi,oe,"load",Gi,oe,"resize",Os],ta(Ue),ie.forEach(function(u){return u.enable(0,1)}),a=0;a<re.length;a+=3)ia(He,re[a],re[a+1]),ia(He,re[a],re[a+2])}},i.config=function(r){"limitCallbacks"in r&&(Il=!!r.limitCallbacks);var n=r.syncInterval;n&&clearInterval(Jo)||(Jo=n)&&setInterval(Sd,n),"ignoreMobileResize"in r&&(Nd=i.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(ta(He)||ta(Ue,r.autoRefreshEvents||"none"),Id=(r.autoRefreshEvents+"").indexOf("resize")===-1)},i.scrollerProxy=function(r,n){var s=dt(r),o=re.indexOf(s),a=Ki(s);~o&&re.splice(o,a?6:2),n&&(a?sr.unshift(oe,n,De,n,or,n):sr.unshift(s,n))},i.clearMatchMedia=function(r){ie.forEach(function(n){return n._ctx&&n._ctx.query===r&&n._ctx.kill(!0,!0)})},i.isInViewport=function(r,n,s){var o=(It(r)?dt(r):r).getBoundingClientRect(),a=o[s?qi:ji]*n||0;return s?o.right-a>0&&o.left+a<oe.innerWidth:o.bottom-a>0&&o.top+a<oe.innerHeight},i.positionInViewport=function(r,n,s){It(r)&&(r=dt(r));var o=r.getBoundingClientRect(),a=o[s?qi:ji],u=n==null?a/2:n in va?va[n]*a:~n.indexOf("%")?parseFloat(n)*a/100:parseFloat(n)||0;return s?(o.left+u)/oe.innerWidth:(o.top+u)/oe.innerHeight},i.killAll=function(r){if(ie.slice(0).forEach(function(s){return s.vars.id!=="ScrollSmoother"&&s.kill()}),r!==!0){var n=Zi.killAll||[];Zi={},n.forEach(function(s){return s()})}},i}();J.version="3.12.2";J.saveStyles=function(i){return i?Da(i).forEach(function(e){if(e&&e.style){var t=Lt.indexOf(e);t>=0&&Lt.splice(t,5),Lt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),Y.core.getCache(e),Hl())}}):Lt};J.revert=function(i,e){return ec(!i,e)};J.create=function(i,e){return new J(i,e)};J.refresh=function(i){return i?Os():(Fn||J.register())&&Gi(!0)};J.update=function(i){return++re.cache&&Vr(i===!0?2:0)};J.clearScrollMemory=$d;J.maxScroll=function(i,e){return zr(i,e?st:Le)};J.getScrollFunc=function(i,e){return Ir(dt(i),e?st:Le)};J.getById=function(i){return Xl[i]};J.getAll=function(){return ie.filter(function(i){return i.vars.id!=="ScrollSmoother"})};J.isScrolling=function(){return!!Xt};J.snapDirectional=Jl;J.addEventListener=function(i,e){var t=Zi[i]||(Zi[i]=[]);~t.indexOf(e)||t.push(e)};J.removeEventListener=function(i,e){var t=Zi[i],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)};J.batch=function(i,e){var t=[],r={},n=e.interval||.016,s=e.batchMax||1e9,o=function(l,c){var d=[],h=[],f=Y.delayedCall(n,function(){c(d,h),d=[],h=[]}).pause();return function(_){d.length||f.restart(!0),d.push(_.trigger),h.push(_),s<=d.length&&f.progress(1)}},a;for(a in e)r[a]=a.substr(0,2)==="on"&&Dt(e[a])&&a!=="onRefreshInit"?o(a,e[a]):e[a];return Dt(s)&&(s=s(),Ue(J,"refresh",function(){return s=e.batchMax()})),Da(i).forEach(function(u){var l={};for(a in r)l[a]=r[a];l.trigger=u,t.push(J.create(l))}),t};var Pd=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+(Me.isTouch?" pinch-zoom":""):"none",e===or&&i(De,t)},ua={auto:1,scroll:1},yv=function(e){var t=e.event,r=e.target,n=e.axis,s=(t.changedTouches?t.changedTouches[0]:t).target,o=s._gsap||Y.core.getCache(s),a=gt(),u;if(!o._isScrollT||a-o._isScrollT>2e3){for(;s&&s!==De&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!(ua[(u=Ut(s)).overflowY]||ua[u.overflowX]));)s=s.parentNode;o._isScroll=s&&s!==r&&!Ki(s)&&(ua[(u=Ut(s)).overflowY]||ua[u.overflowX]),o._isScrollT=a}(o._isScroll||n==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},Qd=function(e,t,r,n){return Me.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&yv,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&Ue(Ee,Me.eventTypes[0],Rd,!1,!0)},onDisable:function(){return He(Ee,Me.eventTypes[0],Rd,!0)}})},xv=/(input|label|select|textarea)/i,Md,Rd=function(e){var t=xv.test(e.target.tagName);(t||Md)&&(e._gsapAllow=!0,Md=t)},Ev=function(e){Xi(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,s=t.allowNestedScroll,o=t.onRelease,a,u,l=dt(e.target)||or,c=Y.core.globals().ScrollSmoother,d=c&&c.get(),h=li&&(e.content&&dt(e.content)||d&&e.content!==!1&&!d.smooth()&&d.content()),f=Ir(l,Le),_=Ir(l,st),p=1,g=(Me.isTouch&&oe.visualViewport?oe.visualViewport.scale*oe.visualViewport.width:oe.outerWidth)/oe.innerWidth,v=0,D=Dt(n)?function(){return n(a)}:function(){return n||2.8},m,E,b=Qd(l,e.type,!0,s),w=function(){return E=!1},x=mr,C=mr,A=function(){u=zr(l,Le),C=Pn(li?1:0,u),r&&(x=Pn(0,zr(l,st))),m=$i},S=function(){h._gsap.y=Fs(parseFloat(h._gsap.y)+f.offset)+"px",h.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(h._gsap.y)+", 0, 1)",f.offset=f.cacheID=0},O=function(){if(E){requestAnimationFrame(w);var B=Fs(a.deltaY/2),T=C(f.v-B);if(h&&T!==f.v+f.offset){f.offset=T-f.v;var y=Fs((parseFloat(h&&h._gsap.y)||0)-f.offset);h.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+y+", 0, 1)",h._gsap.y=y+"px",f.cacheID=re.cache,Vr()}return!0}f.offset&&S(),E=!0},F,M,L,I,N=function(){A(),F.isActive()&&F.vars.scrollY>u&&(f()>u?F.progress(1)&&f(u):F.resetTo("scrollY",u))};return h&&Y.set(h,{y:"+=0"}),e.ignoreCheck=function(k){return li&&k.type==="touchmove"&&O(k)||p>1.05&&k.type!=="touchstart"||a.isGesturing||k.touches&&k.touches.length>1},e.onPress=function(){E=!1;var k=p;p=Fs((oe.visualViewport&&oe.visualViewport.scale||1)/g),F.pause(),k!==p&&Wl(l,p>1.01?!0:r?!1:"x"),M=_(),L=f(),A(),m=$i},e.onRelease=e.onGestureStart=function(k,B){if(f.offset&&S(),!B)I.restart(!0);else{re.cache++;var T=D(),y,R;r&&(y=_(),R=y+T*.05*-k.velocityX/.227,T*=Pd(_,y,R,zr(l,st)),F.vars.scrollX=x(R)),y=f(),R=y+T*.05*-k.velocityY/.227,T*=Pd(f,y,R,zr(l,Le)),F.vars.scrollY=C(R),F.invalidate().duration(T).play(.01),(li&&F.vars.scrollY>=u||y>=u-1)&&Y.to({},{onUpdate:N,duration:T})}o&&o(k)},e.onWheel=function(){F._ts&&F.pause(),gt()-v>1e3&&(m=0,v=gt())},e.onChange=function(k,B,T,y,R){if($i!==m&&A(),B&&r&&_(x(y[2]===B?M+(k.startX-k.x):_()+B-y[1])),T){f.offset&&S();var U=R[2]===T,Z=U?L+k.startY-k.y:f()+T-R[1],X=C(Z);U&&Z!==X&&(L+=X-Z),f(X)}(T||B)&&Vr()},e.onEnable=function(){Wl(l,r?!1:"x"),J.addEventListener("refresh",N),Ue(oe,"resize",N),f.smooth&&(f.target.style.scrollBehavior="auto",f.smooth=_.smooth=!1),b.enable()},e.onDisable=function(){Wl(l,!0),He(oe,"resize",N),J.removeEventListener("refresh",N),b.kill()},e.lockAxis=e.lockAxis!==!1,a=new Me(e),a.iOS=li,li&&!f()&&f(1),li&&Y.ticker.add(mr),I=a._dc,F=Y.to(a,{ease:"power4",paused:!0,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Zd(f,f(),function(){return F.pause()})},onUpdate:Vr,onComplete:I.vars.onComplete}),a};J.sort=function(i){return ie.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 Me(i)};J.normalizeScroll=function(i){if(typeof i=="undefined")return kt;if(i===!0&&kt)return kt.enable();if(i===!1)return kt&&kt.kill();var e=i instanceof Me?i:Ev(i);return kt&&kt.target===e.target&&kt.kill(),Ki(e.target)&&(kt=e),e};J.core={_getVelocityProp:Qo,_inputObserver:Qd,_scrollers:re,_proxies:sr,bridge:{ss:function(){Xt||Qi("scrollStart"),Xt=gt()},ref:function(){return ot}}};Wd()&&Y.registerPlugin(J);var vt,rp,Wr,yr,ci,ip,np,ya,sp=function(){return typeof window!="undefined"},op=function(){return vt||sp()&&(vt=window.gsap)&&vt.registerPlugin&&vt},ap=function(e){return typeof e=="string"},Jd=function(e){return typeof e=="function"},Ns=function(e,t){var r=t==="x"?"Width":"Height",n="scroll"+r,s="client"+r;return e===Wr||e===yr||e===ci?Math.max(yr[n],ci[n])-(Wr["inner"+r]||yr[s]||ci[s]):e[n]-e["offset"+r]},Bs=function(e,t){var r="scroll"+(t==="x"?"Left":"Top");return e===Wr&&(e.pageXOffset!=null?r="page"+t.toUpperCase()+"Offset":e=yr[r]!=null?yr:ci),function(){return e[r]}},bv=function(e,t,r,n){if(Jd(e)&&(e=e(t,r,n)),typeof e!="object")return ap(e)&&e!=="max"&&e.charAt(1)!=="="?{x:e,y:e}:{y:e};if(e.nodeType)return{y:e,x:e};var s={},o;for(o in e)s[o]=o!=="onAutoKill"&&Jd(e[o])?e[o](t,r,n):e[o];return s},up=function(e,t){if(e=ip(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===Wr||t===ci,s=n?{top:yr.clientTop-(Wr.pageYOffset||yr.scrollTop||ci.scrollTop||0),left:yr.clientLeft-(Wr.pageXOffset||yr.scrollLeft||ci.scrollLeft||0)}:t.getBoundingClientRect(),o={x:r.left-s.left,y:r.top-s.top};return!n&&t&&(o.x+=Bs(t,"x")(),o.y+=Bs(t,"y")()),o},ep=function(e,t,r,n,s){return!isNaN(e)&&typeof e!="object"?parseFloat(e)-s:ap(e)&&e.charAt(1)==="="?parseFloat(e.substr(2))*(e.charAt(0)==="-"?-1:1)+n-s:e==="max"?Ns(t,r)-s:Math.min(Ns(t,r),up(e,t)[r]-s)},tp=function(){vt=op(),sp()&&vt&&typeof document!="undefined"&&document.body&&(Wr=window,ci=document.body,yr=document.documentElement,ip=vt.utils.toArray,vt.config({autoKillThreshold:7}),np=vt.config(),rp=1)},Ln={version:"3.12.2",name:"scrollTo",rawVars:1,register:function(e){vt=e,tp()},init:function(e,t,r,n,s){rp||tp();var o=this,a=vt.getProperty(e,"scrollSnapType");o.isWin=e===Wr,o.target=e,o.tween=r,t=bv(t,n,e,s),o.vars=t,o.autoKill=!!t.autoKill,o.getX=Bs(e,"x"),o.getY=Bs(e,"y"),o.x=o.xPrev=o.getX(),o.y=o.yPrev=o.getY(),ya||(ya=vt.core.globals().ScrollTrigger),vt.getProperty(e,"scrollBehavior")==="smooth"&&vt.set(e,{scrollBehavior:"auto"}),a&&a!=="none"&&(o.snap=1,o.snapInline=e.style.scrollSnapType,e.style.scrollSnapType="none"),t.x!=null?(o.add(o,"x",o.x,ep(t.x,e,"x",o.x,t.offsetX||0),n,s),o._props.push("scrollTo_x")):o.skipX=1,t.y!=null?(o.add(o,"y",o.y,ep(t.y,e,"y",o.y,t.offsetY||0),n,s),o._props.push("scrollTo_y")):o.skipY=1},render:function(e,t){for(var r=t._pt,n=t.target,s=t.tween,o=t.autoKill,a=t.xPrev,u=t.yPrev,l=t.isWin,c=t.snap,d=t.snapInline,h,f,_,p,g;r;)r.r(e,r.d),r=r._next;h=l||!t.skipX?t.getX():a,f=l||!t.skipY?t.getY():u,_=f-u,p=h-a,g=np.autoKillThreshold,t.x<0&&(t.x=0),t.y<0&&(t.y=0),o&&(!t.skipX&&(p>g||p<-g)&&h<Ns(n,"x")&&(t.skipX=1),!t.skipY&&(_>g||_<-g)&&f<Ns(n,"y")&&(t.skipY=1),t.skipX&&t.skipY&&(s.kill(),t.vars.onAutoKill&&t.vars.onAutoKill.apply(s,t.vars.onAutoKillParams||[]))),l?Wr.scrollTo(t.skipX?h:t.x,t.skipY?f:t.y):(t.skipY||(n.scrollTop=t.y),t.skipX||(n.scrollLeft=t.x)),c&&(e===1||e===0)&&(f=n.scrollTop,h=n.scrollLeft,d?n.style.scrollSnapType=d:n.style.removeProperty("scroll-snap-type"),n.scrollTop=f+1,n.scrollLeft=h+1,n.scrollTop=f,n.scrollLeft=h),t.xPrev=t.x,t.yPrev=t.y,ya&&ya.update()},kill:function(e){var t=e==="scrollTo";(t||e==="scrollTo_x")&&(this.skipX=1),(t||e==="scrollTo_y")&&(this.skipY=1)}};Ln.max=Ns;Ln.getOffset=up;Ln.buildGetter=Bs;op()&&vt.registerPlugin(Ln);var Cv=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig;var wv=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig;var Sv=Math.PI/180,B1=180/Math.PI,xa=Math.sin,Ea=Math.cos,Vs=Math.abs,zs=Math.sqrt;var Tv=function(e){return typeof e=="number"};var lp=1e5;var fi=function(e){return Math.round(e*lp)/lp||0};function cp(i,e,t,r,n,s,o){for(var a=i.length,u,l,c,d,h;--a>-1;)for(u=i[a],l=u.length,c=0;c<l;c+=2)d=u[c],h=u[c+1],u[c]=d*e+h*r+s,u[c+1]=d*t+h*n+o;return i._dirty=1,i}function Av(i,e,t,r,n,s,o,a,u){if(!(i===a&&e===u)){t=Vs(t),r=Vs(r);var l=n%360*Sv,c=Ea(l),d=xa(l),h=Math.PI,f=h*2,_=(i-a)/2,p=(e-u)/2,g=c*_+d*p,v=-d*_+c*p,D=g*g,m=v*v,E=D/(t*t)+m/(r*r);E>1&&(t=zs(E)*t,r=zs(E)*r);var b=t*t,w=r*r,x=(b*w-b*m-w*D)/(b*m+w*D);x<0&&(x=0);var C=(s===o?-1:1)*zs(x),A=C*(t*v/r),S=C*-(r*g/t),O=(i+a)/2,F=(e+u)/2,M=O+(c*A-d*S),L=F+(d*A+c*S),I=(g-A)/t,N=(v-S)/r,k=(-g-A)/t,B=(-v-S)/r,T=I*I+N*N,y=(N<0?-1:1)*Math.acos(I/zs(T)),R=(I*B-N*k<0?-1:1)*Math.acos((I*k+N*B)/zs(T*(k*k+B*B)));isNaN(R)&&(R=h),!o&&R>0?R-=f:o&&R<0&&(R+=f),y%=f,R%=f;var U=Math.ceil(Vs(R)/(f/4)),Z=[],X=R/U,G=4/3*xa(X/2)/(1+Ea(X/2)),z=c*t,H=d*t,ce=d*-r,ee=c*r,te;for(te=0;te<U;te++)n=y+te*X,g=Ea(n),v=xa(n),I=Ea(n+=X),N=xa(n),Z.push(g-G*v,v+G*g,I+G*N,N-G*I,I,N);for(te=0;te<Z.length;te+=2)g=Z[te],v=Z[te+1],Z[te]=g*z+v*ce+M,Z[te+1]=g*H+v*ee+L;return Z[te-2]=a,Z[te-1]=u,Z}}function fp(i){var e=(i+"").replace(wv,function(A){var S=+A;return S<1e-4&&S>-1e-4?0:S}).match(Cv)||[],t=[],r=0,n=0,s=2/3,o=e.length,a=0,u="ERROR: malformed path: "+i,l,c,d,h,f,_,p,g,v,D,m,E,b,w,x,C=function(S,O,F,M){D=(F-S)/3,m=(M-O)/3,p.push(S+D,O+m,F-D,M-m,F,M)};if(!i||!isNaN(e[0])||isNaN(e[1]))return console.log(u),t;for(l=0;l<o;l++)if(b=f,isNaN(e[l])?(f=e[l].toUpperCase(),_=f!==e[l]):l--,d=+e[l+1],h=+e[l+2],_&&(d+=r,h+=n),l||(g=d,v=h),f==="M")p&&(p.length<8?t.length-=1:a+=p.length),r=g=d,n=v=h,p=[d,h],t.push(p),l+=2,f="L";else if(f==="C")p||(p=[0,0]),_||(r=n=0),p.push(d,h,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")D=r,m=n,(b==="C"||b==="S")&&(D+=r-p[p.length-4],m+=n-p[p.length-3]),_||(r=n=0),p.push(D,m,d,h,r+=e[l+3]*1,n+=e[l+4]*1),l+=4;else if(f==="Q")D=r+(d-r)*s,m=n+(h-n)*s,_||(r=n=0),r+=e[l+3]*1,n+=e[l+4]*1,p.push(D,m,r+(d-r)*s,n+(h-n)*s,r,n),l+=4;else if(f==="T")D=r-p[p.length-4],m=n-p[p.length-3],p.push(r+D,n+m,d+(r+D*1.5-d)*s,h+(n+m*1.5-h)*s,r=d,n=h),l+=2;else if(f==="H")C(r,n,r=d,n),l+=1;else if(f==="V")C(r,n,r,n=d+(_?n-r:0)),l+=1;else if(f==="L"||f==="Z")f==="Z"&&(d=g,h=v,p.closed=!0),(f==="L"||Vs(r-d)>.5||Vs(n-h)>.5)&&(C(r,n,d,h),f==="L"&&(l+=2)),r=d,n=h;else if(f==="A"){if(w=e[l+4],x=e[l+5],D=e[l+6],m=e[l+7],c=7,w.length>1&&(w.length<3?(m=D,D=x,c--):(m=x,D=w.substr(2),c-=2),x=w.charAt(1),w=w.charAt(0)),E=Av(r,n,+e[l+1],+e[l+2],+e[l+3],+w,+x,(_?r:0)+D*1,(_?n:0)+m*1),l+=c,E)for(c=0;c<E.length;c++)p.push(E[c]);r=p[p.length-2],n=p[p.length-1]}else console.log(u);return l=p.length,l<6?(t.pop(),l=0):p[0]===p[l-2]&&p[1]===p[l-1]&&(p.closed=!0),t.totalPoints=a+l,t}function hp(i){Tv(i[0])&&(i=[i]);var e="",t=i.length,r,n,s,o;for(n=0;n<t;n++){for(o=i[n],e+="M"+fi(o[0])+","+fi(o[1])+" C",r=o.length,s=2;s<r;s++)e+=fi(o[s++])+","+fi(o[s++])+" "+fi(o[s++])+","+fi(o[s++])+" "+fi(o[s++])+","+fi(o[s])+" ";o.closed&&(e+="z")}return e}var wt,pp,_p=function(){return wt||typeof window!="undefined"&&(wt=window.gsap)&&wt.registerPlugin&&wt},dp=function(){wt=_p(),wt?(wt.registerEase("_CE",Ji.create),pp=1):console.warn("Please gsap.registerPlugin(CustomEase)")},Fv=1e20,ba=function(e){return~~(e*1e3+(e<0?-.5:.5))/1e3},Ov=1,Pv=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,Mv=/[cLlsSaAhHvVtTqQ]/g,Rv=function(e){var t=e.length,r=Fv,n;for(n=1;n<t;n+=6)+e[n]<r&&(r=+e[n]);return r},kv=function(e,t,r){!r&&r!==0&&(r=Math.max(+e[e.length-1],+e[1]));var n=+e[0]*-1,s=-r,o=e.length,a=1/(+e[o-2]+n),u=-t||(Math.abs(+e[o-1]-+e[1])<.01*(+e[o-2]-+e[0])?Rv(e)+s:+e[o-1]+s),l;for(u?u=1/u:u=-a,l=0;l<o;l+=2)e[l]=(+e[l]+n)*a,e[l+1]=(+e[l+1]+s)*u},Lv=function i(e,t,r,n,s,o,a,u,l,c,d){var h=(e+r)/2,f=(t+n)/2,_=(r+s)/2,p=(n+o)/2,g=(s+a)/2,v=(o+u)/2,D=(h+_)/2,m=(f+p)/2,E=(_+g)/2,b=(p+v)/2,w=(D+E)/2,x=(m+b)/2,C=a-e,A=u-t,S=Math.abs((r-a)*A-(n-u)*C),O=Math.abs((s-a)*A-(o-u)*C),F;return c||(c=[{x:e,y:t},{x:a,y:u}],d=1),c.splice(d||c.length-1,0,{x:w,y:x}),(S+O)*(S+O)>l*(C*C+A*A)&&(F=c.length,i(e,t,h,f,D,m,w,x,l,c,d),i(w,x,E,b,g,v,a,u,l,c,d+1+(c.length-F))),c},Ji=function(){function i(t,r,n){pp||dp(),this.id=t,Ov&&this.setData(r,n)}var e=i.prototype;return e.setData=function(r,n){n=n||{},r=r||"0,0,1,1";var s=r.match(Pv),o=1,a=[],u=[],l=n.precision||1,c=l<=1,d,h,f,_,p,g,v,D,m;if(this.data=r,(Mv.test(r)||~r.indexOf("M")&&r.indexOf("C")<0)&&(s=fp(r)[0]),d=s.length,d===4)s.unshift(0,0),s.push(1,1),d=8;else if((d-2)%6)throw"Invalid CustomEase";for((+s[0]!=0||+s[d-2]!=1)&&kv(s,n.height,n.originY),this.segment=s,_=2;_<d;_+=6)h={x:+s[_-2],y:+s[_-1]},f={x:+s[_+4],y:+s[_+5]},a.push(h,f),Lv(h.x,h.y,+s[_],+s[_+1],+s[_+2],+s[_+3],f.x,f.y,1/(l*2e5),a,a.length-1);for(d=a.length,_=0;_<d;_++)v=a[_],D=a[_-1]||v,(v.x>D.x||D.y!==v.y&&D.x===v.x||v===D)&&v.x<=1?(D.cx=v.x-D.x,D.cy=v.y-D.y,D.n=v,D.nx=v.x,c&&_>1&&Math.abs(D.cy/D.cx-a[_-2].cy/a[_-2].cx)>2&&(c=0),D.cx<o&&(D.cx?o=D.cx:(D.cx=.001,_===d-1&&(D.x-=.001,o=Math.min(o,.001),c=0)))):(a.splice(_--,1),d--);if(d=1/o+1|0,p=1/d,g=0,v=a[0],c){for(_=0;_<d;_++)m=_*p,v.nx<m&&(v=a[++g]),h=v.y+(m-v.x)/v.cx*v.cy,u[_]={x:m,cx:p,y:h,cy:0,nx:9},_&&(u[_-1].cy=h-u[_-1].y);u[d-1].cy=a[a.length-1].y-h}else{for(_=0;_<d;_++)v.nx<_*p&&(v=a[++g]),u[_]=v;g<a.length-1&&(u[_-1]=a[a.length-2])}return this.ease=function(E){var b=u[E*d|0]||u[d-1];return b.nx<E&&(b=b.n),b.y+(E-b.x)/b.cx*b.cy},this.ease.custom=this,this.id&&wt&&wt.registerEase(this.id,this.ease),this},e.getSVGData=function(r){return i.getSVGData(this,r)},i.create=function(r,n,s){return new i(r,n,s).ease},i.register=function(r){wt=r,dp()},i.get=function(r){return wt.parseEase(r)},i.getSVGData=function(r,n){n=n||{};var s=n.width||100,o=n.height||100,a=n.x||0,u=(n.y||0)+o,l=wt.utils.toArray(n.path)[0],c,d,h,f,_,p,g,v,D,m;if(n.invert&&(o=-o,u=0),typeof r=="string"&&(r=wt.parseEase(r)),r.custom&&(r=r.custom),r instanceof i)c=hp(cp([r.segment],s,0,0,-o,a,u));else{for(c=[a,u],g=Math.max(5,(n.precision||1)*200),f=1/g,g+=2,v=5/g,D=ba(a+f*s),m=ba(u+r(f)*-o),d=(m-u)/(D-a),h=2;h<g;h++)_=ba(a+h*f*s),p=ba(u+r(h*f)*-o),(Math.abs((p-m)/(_-D)-d)>v||h===g-1)&&(c.push(D,m),d=(p-m)/(_-D)),D=_,m=p;c="M"+c.join(",")}return l&&l.setAttribute("d",c),c},i}();_p()&&wt.registerPlugin(Ji);Ji.version="3.12.2";var gp=/([\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 tc(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+=tc(i)}else if(e===3||e===4)return i.nodeValue;return t}var In,ic,mp,Ws,yp,Ca,Iv=/(?:\r|\n|\t\t)/g,Nv=/(?:\s\s+)/g,xp=function(e){In=document,ic=window,Ws=Ws||e||ic.gsap||console.warn("Please gsap.registerPlugin(SplitText)"),Ws&&(Ca=Ws.utils.toArray,yp=Ws.core.context||function(){},mp=1)},Bv=1,Ep=function(e){return ic.getComputedStyle(e)},nc=function(e){return e.position==="absolute"||e.absolute===!0},zv=function(e,t){for(var r=t.length,n;--r>-1;)if(n=t[r],e.substr(0,n.length)===n)return n.length},Vv=" style='position:relative;display:inline-block;'",Dp=function(e,t){e===void 0&&(e="");var r=~e.indexOf("++"),n=1;return r&&(e=e.split("++").join("")),function(){return"<"+t+Vv+(e?" class='"+e+(r?n++:"")+"'>":">")}},bp=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))},rc=function(e,t){for(var r=t.length;--r>-1;)e.push(t[r])},vp=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}},Wv=function i(e){var t=Ca(e.childNodes),r=t.length,n,s;for(n=0;n<r;n++)s=t[n],s._isSplit?i(s):n&&s.previousSibling&&s.previousSibling.nodeType===3?(s.previousSibling.nodeValue+=s.nodeType===3?s.nodeValue:s.firstChild.nodeValue,e.removeChild(s)):s.nodeType!==3&&(e.insertBefore(s.firstChild,s),e.removeChild(s))},xr=function(e,t){return parseFloat(t[e])||0},Yv=function(e,t,r,n,s,o,a){var u=Ep(e),l=xr("paddingLeft",u),c=-999,d=xr("borderBottomWidth",u)+xr("borderTopWidth",u),h=xr("borderLeftWidth",u)+xr("borderRightWidth",u),f=xr("paddingTop",u)+xr("paddingBottom",u),_=xr("paddingLeft",u)+xr("paddingRight",u),p=xr("fontSize",u)*(t.lineThreshold||.2),g=u.textAlign,v=[],D=[],m=[],E=t.wordDelimiter||" ",b=t.tag?t.tag:t.span?"span":"div",w=t.type||t.split||"chars,words,lines",x=s&&~w.indexOf("lines")?[]:null,C=~w.indexOf("words"),A=~w.indexOf("chars"),S=nc(t),O=t.linesClass,F=~(O||"").indexOf("++"),M=[],L=u.display==="flex",I=e.style.display,N,k,B,T,y,R,U,Z,X,G,z,H;for(F&&(O=O.split("++").join("")),L&&(e.style.display="block"),k=e.getElementsByTagName("*"),B=k.length,y=[],N=0;N<B;N++)y[N]=k[N];if(x||S)for(N=0;N<B;N++)T=y[N],R=T.parentNode===e,(R||S||A&&!C)&&(H=T.offsetTop,x&&R&&Math.abs(H-c)>p&&(T.nodeName!=="BR"||N===0)&&(U=[],x.push(U),c=H),S&&(T._x=T.offsetLeft,T._y=H,T._w=T.offsetWidth,T._h=T.offsetHeight),x&&((T._isSplit&&R||!A&&R||C&&R||!C&&T.parentNode.parentNode===e&&!T.parentNode._isSplit)&&(U.push(T),T._x-=l,vp(T,e,E)&&(T._wordEnd=!0)),T.nodeName==="BR"&&(T.nextSibling&&T.nextSibling.nodeName==="BR"||N===0)&&x.push([])));for(N=0;N<B;N++){if(T=y[N],R=T.parentNode===e,T.nodeName==="BR"){x||S?(T.parentNode&&T.parentNode.removeChild(T),y.splice(N--,1),B--):C||e.appendChild(T);continue}if(S&&(X=T.style,!C&&!R&&(T._x+=T.parentNode._x,T._y+=T.parentNode._y),X.left=T._x+"px",X.top=T._y+"px",X.position="absolute",X.display="block",X.width=T._w+1+"px",X.height=T._h+"px"),!C&&A)if(T._isSplit)for(T._next=k=T.nextSibling,T.parentNode.appendChild(T);k&&k.nodeType===3&&k.textContent===" ";)T._next=k.nextSibling,T.parentNode.appendChild(k),k=k.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&&M.push(T.nextSibling),T._next=T.nextSibling&&T.nextSibling._isFirst?null:T.nextSibling,T.parentNode.removeChild(T),y.splice(N--,1),B--):R||(H=!T.nextSibling&&vp(T.parentNode,e,E),T.parentNode._parent&&T.parentNode._parent.appendChild(T),H&&T.parentNode.appendChild(In.createTextNode(" ")),b==="span"&&(T.style.display="inline"),v.push(T));else T.parentNode._isSplit&&!T._isSplit&&T.innerHTML!==""?D.push(T):A&&!T._isSplit&&(b==="span"&&(T.style.display="inline"),v.push(T))}for(N=M.length;--N>-1;)M[N].parentNode.removeChild(M[N]);if(x){for(S&&(G=In.createElement(b),e.appendChild(G),z=G.offsetWidth+"px",H=G.offsetParent===e?0:e.offsetLeft,e.removeChild(G)),X=e.style.cssText,e.style.cssText="display:none;";e.firstChild;)e.removeChild(e.firstChild);for(Z=E===" "&&(!S||!C&&!A),N=0;N<x.length;N++){for(U=x[N],G=In.createElement(b),G.style.cssText="display:block;text-align:"+g+";position:"+(S?"absolute;":"relative;"),O&&(G.className=O+(F?N+1:"")),m.push(G),B=U.length,k=0;k<B;k++)U[k].nodeName!=="BR"&&(T=U[k],G.appendChild(T),Z&&T._wordEnd&&G.appendChild(In.createTextNode(" ")),S&&(k===0&&(G.style.top=T._y+"px",G.style.left=l+H+"px"),T.style.top="0px",H&&(T.style.left=T._x-H+"px")));B===0?G.innerHTML=" ":!C&&!A&&(Wv(G),bp(G,String.fromCharCode(160)," ")),S&&(G.style.width=z,G.style.height=T._h+"px"),e.appendChild(G)}e.style.cssText=X}S&&(a>e.clientHeight&&(e.style.height=a-f+"px",e.clientHeight<a&&(e.style.height=a+d+"px")),o>e.clientWidth&&(e.style.width=o-_+"px",e.clientWidth<o&&(e.style.width=o+h+"px"))),L&&(I?e.style.display=I:e.style.removeProperty("display")),rc(r,v),C&&rc(n,D),rc(s,m)},Hv=function(e,t,r,n){var s=t.tag?t.tag:t.span?"span":"div",o=t.type||t.split||"chars,words,lines",a=~o.indexOf("chars"),u=nc(t),l=t.wordDelimiter||" ",c=l!==" "?"":u?"­ ":" ",d="</"+s+">",h=1,f=t.specialChars?typeof t.specialChars=="function"?t.specialChars:zv:null,_,p,g,v,D,m,E,b,w=In.createElement("div"),x=e.parentNode;for(x.insertBefore(w,e),w.textContent=e.nodeValue,x.removeChild(e),e=w,_=tc(e),E=_.indexOf("<")!==-1,t.reduceWhiteSpace!==!1&&(_=_.replace(Nv," ").replace(Iv,"")),E&&(_=_.split("<").join("{{LT}}")),D=_.length,p=(_.charAt(0)===" "?c:"")+r(),g=0;g<D;g++)if(m=_.charAt(g),f&&(b=f(_.substr(g),t.specialChars)))m=_.substr(g,b||1),p+=a&&m!==" "?n()+m+"</"+s+">":m,g+=b-1;else if(m===l&&_.charAt(g-1)!==l&&g){for(p+=h?d:"",h=0;_.charAt(g+1)===l;)p+=c,g++;g===D-1?p+=c:_.charAt(g+1)!==")"&&(p+=c+r(),h=1)}else m==="{"&&_.substr(g,6)==="{{LT}}"?(p+=a?n()+"{{LT}}</"+s+">":"{{LT}}",g+=5):m.charCodeAt(0)>=55296&&m.charCodeAt(0)<=56319||_.charCodeAt(g+1)>=65024&&_.charCodeAt(g+1)<=65039?(v=((_.substr(g,12).split(gp)||[])[1]||"").length||2,p+=a&&m!==" "?n()+_.substr(g,v)+"</"+s+">":_.substr(g,v),g+=v-1):p+=a&&m!==" "?n()+m+"</"+s+">":m;e.outerHTML=p+(h?d:""),E&&bp(x,"{{LT}}","<")},Uv=function i(e,t,r,n){var s=Ca(e.childNodes),o=s.length,a=nc(t),u,l;if(e.nodeType!==3||o>1){for(t.absolute=!1,u=0;u<o;u++)l=s[u],l._next=l._isFirst=l._parent=l._wordEnd=null,(l.nodeType!==3||/\S+/.test(l.nodeValue))&&(a&&l.nodeType!==3&&Ep(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}Hv(e,t,r,n)},Nn=function(){function i(t,r){mp||xp(),this.elements=Ca(t),this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=r||{},yp(this),Bv&&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,s=r.tag?r.tag:r.span?"span":"div",o=Dp(r.wordsClass,s),a=Dp(r.charsClass,s),u,l,c;--n>-1;)c=this.elements[n],this._originals[n]=c.innerHTML,u=c.clientHeight,l=c.clientWidth,Uv(c,r,o,a),Yv(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,s){return n.innerHTML=r[s]}),this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},i.create=function(r,n){return new i(r,n)},i}();Nn.version="3.12.2";Nn.register=xp;function Cp(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 Xv(i,e,t){return e&&Cp(i.prototype,e),t&&Cp(i,t),Object.defineProperty(i,"prototype",{writable:!1}),i}var wp="(prefers-reduced-motion: reduce)",Vn=1,Gv=2,Hn=3,Xn=4,Qs=5,Sa=6,Oa=7,qv={CREATED:Vn,MOUNTED:Gv,IDLE:Hn,MOVING:Xn,SCROLLING:Qs,DRAGGING:Sa,DESTROYED:Oa};function Gr(i){i.length=0}function gi(i,e,t){return Array.prototype.slice.call(i,e,t)}function _e(i){return i.bind.apply(i,[null].concat(gi(arguments,1)))}var zp=setTimeout,lc=function(){};function Sp(i){return requestAnimationFrame(i)}function ka(i,e){return typeof e===i}function Us(i){return!gc(i)&&ka("object",i)}var _c=Array.isArray,Vp=_e(ka,"function"),di=_e(ka,"string"),Js=_e(ka,"undefined");function gc(i){return i===null}function Wp(i){try{return i instanceof(i.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function eo(i){return _c(i)?i:[i]}function jt(i,e){eo(i).forEach(e)}function Dc(i,e){return i.indexOf(e)>-1}function Ta(i,e){return i.push.apply(i,eo(e)),i}function Hr(i,e,t){i&&jt(e,function(r){r&&i.classList[t?"add":"remove"](r)})}function Er(i,e){Hr(i,di(e)?e.split(" "):e,!0)}function to(i,e){jt(e,i.appendChild.bind(i))}function vc(i,e){jt(i,function(t){var r=(e||t).parentNode;r&&r.insertBefore(t,e)})}function Xs(i,e){return Wp(i)&&(i.msMatchesSelector||i.matches).call(i,e)}function Yp(i,e){var t=i?gi(i.children):[];return e?t.filter(function(r){return Xs(r,e)}):t}function ro(i,e){return e?Yp(i,e)[0]:i.firstElementChild}var Gs=Object.keys;function tn(i,e,t){return i&&(t?Gs(i).reverse():Gs(i)).forEach(function(r){r!=="__proto__"&&e(i[r],r)}),i}function qs(i){return gi(arguments,1).forEach(function(e){tn(e,function(t,r){i[r]=e[r]})}),i}function hi(i){return gi(arguments,1).forEach(function(e){tn(e,function(t,r){_c(t)?i[r]=t.slice():Us(t)?i[r]=hi({},Us(i[r])?i[r]:{},t):i[r]=t})}),i}function Tp(i,e){jt(e||Gs(i),function(t){delete i[t]})}function br(i,e){jt(i,function(t){jt(e,function(r){t&&t.removeAttribute(r)})})}function Q(i,e,t){Us(e)?tn(e,function(r,n){Q(i,n,r)}):jt(i,function(r){gc(t)||t===""?br(r,e):r.setAttribute(e,String(t))})}function Wn(i,e,t){var r=document.createElement(i);return e&&(di(e)?Er(r,e):Q(r,e)),t&&to(t,r),r}function ar(i,e,t){if(Js(t))return getComputedStyle(i)[e];gc(t)||(i.style[e]=""+t)}function js(i,e){ar(i,"display",e)}function Hp(i){i.setActive&&i.setActive()||i.focus({preventScroll:!0})}function ur(i,e){return i.getAttribute(e)}function Ap(i,e){return i&&i.classList.contains(e)}function Gt(i){return i.getBoundingClientRect()}function rn(i){jt(i,function(e){e&&e.parentNode&&e.parentNode.removeChild(e)})}function Up(i){return ro(new DOMParser().parseFromString(i,"text/html").body)}function Yr(i,e){i.preventDefault(),e&&(i.stopPropagation(),i.stopImmediatePropagation())}function Xp(i,e){return i&&i.querySelector(e)}function mc(i,e){return e?gi(i.querySelectorAll(e)):[]}function Ur(i,e){Hr(i,e,!1)}function cc(i){return i.timeStamp}function en(i){return di(i)?i:i?i+"px":""}var io="splide",yc="data-"+io;function Ys(i,e){if(!i)throw new Error("["+io+"] "+(e||""))}var pi=Math.min,Pa=Math.max,Ma=Math.floor,$s=Math.ceil,St=Math.abs;function Gp(i,e,t){return St(i-e)<t}function Aa(i,e,t,r){var n=pi(e,t),s=Pa(e,t);return r?n<i&&i<s:n<=i&&i<=s}function Bn(i,e,t){var r=pi(e,t),n=Pa(e,t);return pi(Pa(r,i),n)}function fc(i){return+(i>0)-+(i<0)}function hc(i,e){return jt(e,function(t){i=i.replace("%s",""+t)}),i}function xc(i){return i<10?"0"+i:""+i}var Fp={};function jv(i){return""+i+xc(Fp[i]=(Fp[i]||0)+1)}function qp(){var i=[];function e(o,a,u,l){n(o,a,function(c,d,h){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,h,u,_])})}function t(o,a,u){n(o,a,function(l,c,d){i=i.filter(function(h){return h[0]===l&&h[1]===c&&h[2]===d&&(!u||h[3]===u)?(h[4](),!1):!0})})}function r(o,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)),o.dispatchEvent(l),l}function n(o,a,u){jt(o,function(l){l&&jt(a,function(c){c.split(" ").forEach(function(d){var h=d.split(".");u(l,h[0],h[1])})})})}function s(){i.forEach(function(o){o[4]()}),Gr(i)}return{bind:e,unbind:t,dispatch:r,destroy:s}}var sn="mounted",Op="ready",_i="move",no="moved",jp="click",$v="active",Kv="inactive",Zv="visible",Qv="hidden",We="refresh",Tt="updated",Ks="resize",Ec="resized",Jv="drag",em="dragging",tm="dragged",bc="scroll",Gn="scrolled",rm="overflow",$p="destroy",im="arrows:mounted",nm="arrows:updated",sm="pagination:mounted",om="pagination:updated",Kp="navigation:mounted",Zp="autoplay:play",am="autoplay:playing",Qp="autoplay:pause",Jp="lazyload:loaded",e_="sk",t_="sh",Ra="ei";function be(i){var e=i?i.event.bus:document.createDocumentFragment(),t=qp();function r(s,o){t.bind(e,eo(s).join(" "),function(a){o.apply(o,_c(a.detail)?a.detail:[])})}function n(s){t.dispatch(e,s,gi(arguments,1))}return i&&i.event.on($p,t.destroy),qs(t,{bus:e,on:r,off:_e(t.unbind,e),emit:n})}function La(i,e,t,r){var n=Date.now,s,o=0,a,u=!0,l=0;function c(){if(!u){if(o=i?pi((n()-s)/i,1):1,t&&t(o),o>=1&&(e(),s=n(),r&&++l>=r))return h();a=Sp(c)}}function d(v){v||_(),s=n()-(v?o*i:0),u=!1,a=Sp(c)}function h(){u=!0}function f(){s=n(),o=0,t&&t(o)}function _(){a&&cancelAnimationFrame(a),o=0,a=0,u=!0}function p(v){i=v}function g(){return u}return{start:d,rewind:f,pause:h,cancel:_,set:p,isPaused:g}}function um(i){var e=i;function t(n){e=n}function r(n){return Dc(eo(n),e)}return{set:t,is:r}}function lm(i,e){var t=La(e||0,i,null,1);return function(){t.isPaused()&&t.start()}}function cm(i,e,t){var r=i.state,n=t.breakpoints||{},s=t.reducedMotion||{},o=qp(),a=[];function u(){var _=t.mediaQuery==="min";Gs(n).sort(function(p,g){return _?+p-+g:+g-+p}).forEach(function(p){c(n[p],"("+(_?"min":"max")+"-width:"+p+"px)")}),c(s,wp),d()}function l(_){_&&o.destroy()}function c(_,p){var g=matchMedia(p);o.bind(g,"change",d),a.push([_,g])}function d(){var _=r.is(Oa),p=t.direction,g=a.reduce(function(v,D){return hi(v,D[1].matches?D[0]:{})},{});Tp(t),f(g),t.destroy?i.destroy(t.destroy==="completely"):_?(l(!0),i.mount()):p!==t.direction&&i.refresh()}function h(_){matchMedia(wp).matches&&(_?hi(t,s):Tp(t,Gs(s)))}function f(_,p,g){hi(t,_),p&&hi(Object.getPrototypeOf(t),_),(g||!r.is(Vn))&&i.emit(Tt,t)}return{setup:u,destroy:l,reduce:h,set:f}}var Ia="Arrow",Na=Ia+"Left",Ba=Ia+"Right",r_=Ia+"Up",i_=Ia+"Down";var Pp="rtl",za="ttb",sc={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[r_,Ba],ArrowRight:[i_,Na]};function fm(i,e,t){function r(s,o,a){a=a||t.direction;var u=a===Pp&&!o?1:a===za?0:-1;return sc[s]&&sc[s][u]||s.replace(/width|left|right/i,function(l,c){var d=sc[l.toLowerCase()][u]||l;return c>0?d.charAt(0).toUpperCase()+d.slice(1):d})}function n(s){return s*(t.direction===Pp?1:-1)}return{resolve:r,orient:n}}var Xr="role",Yn="tabindex",hm="disabled",lr="aria-",so=lr+"controls",n_=lr+"current",Mp=lr+"selected",qt=lr+"label",Cc=lr+"labelledby",s_=lr+"hidden",wc=lr+"orientation",Zs=lr+"roledescription",Rp=lr+"live",kp=lr+"busy",Lp=lr+"atomic",Sc=[Xr,Yn,hm,so,n_,qt,Cc,s_,wc,Zs],Cr=io+"__",Di="is-",oc=io,Ip=Cr+"track",dm=Cr+"list",Va=Cr+"slide",o_=Va+"--clone",pm=Va+"__container",Tc=Cr+"arrows",Wa=Cr+"arrow",a_=Wa+"--prev",u_=Wa+"--next",Ya=Cr+"pagination",l_=Ya+"__page",_m=Cr+"progress",gm=_m+"__bar",Ac=Cr+"toggle",X1=Ac+"__play",G1=Ac+"__pause",Dm=Cr+"spinner",vm=Cr+"sr",mm=Di+"initialized",nn=Di+"active",c_=Di+"prev",f_=Di+"next",dc=Di+"visible",pc=Di+"loading",h_=Di+"focus-in",d_=Di+"overflow",ym=[nn,dc,c_,f_,pc,h_,d_],xm={slide:Va,clone:o_,arrows:Tc,arrow:Wa,prev:a_,next:u_,pagination:Ya,page:l_,spinner:Dm};function Em(i,e){if(Vp(i.closest))return i.closest(e);for(var t=i;t&&t.nodeType===1&&!Xs(t,e);)t=t.parentElement;return t}var bm=5,Np=200,p_="touchstart mousedown",ac="touchmove mousemove",uc="touchend touchcancel mouseup click";function Cm(i,e,t){var r=be(i),n=r.on,s=r.bind,o=i.root,a=t.i18n,u={},l=[],c=[],d=[],h,f,_;function p(){m(),E(),D()}function g(){n(We,v),n(We,p),n(Tt,D),s(document,p_+" keydown",function(x){_=x.type==="keydown"},{capture:!0}),s(o,"focusin",function(){Hr(o,h_,!!_)})}function v(x){var C=Sc.concat("style");Gr(l),Ur(o,c),Ur(h,d),br([h,f],C),br(o,x?C:["style",Zs])}function D(){Ur(o,c),Ur(h,d),c=w(oc),d=w(Ip),Er(o,c),Er(h,d),Q(o,qt,t.label),Q(o,Cc,t.labelledby)}function m(){h=b("."+Ip),f=ro(h,"."+dm),Ys(h&&f,"A track/list element is missing."),Ta(l,Yp(f,"."+Va+":not(."+o_+")")),tn({arrows:Tc,pagination:Ya,prev:a_,next:u_,bar:gm,toggle:Ac},function(x,C){u[C]=b("."+x)}),qs(u,{root:o,track:h,list:f,slides:l})}function E(){var x=o.id||jv(io),C=t.role;o.id=x,h.id=h.id||x+"-track",f.id=f.id||x+"-list",!ur(o,Xr)&&o.tagName!=="SECTION"&&C&&Q(o,Xr,C),Q(o,Zs,a.carousel),Q(f,Xr,"presentation")}function b(x){var C=Xp(o,x);return C&&Em(C,"."+oc)===o?C:void 0}function w(x){return[x+"--"+t.type,x+"--"+t.direction,t.drag&&x+"--draggable",t.isNavigation&&x+"--nav",x===oc&&nn]}return qs(u,{setup:p,mount:g,destroy:v})}var Un="slide",qn="loop",oo="fade";function wm(i,e,t,r){var n=be(i),s=n.on,o=n.emit,a=n.bind,u=i.Components,l=i.root,c=i.options,d=c.isNavigation,h=c.updateOnMove,f=c.i18n,_=c.pagination,p=c.slideFocus,g=u.Direction.resolve,v=ur(r,"style"),D=ur(r,qt),m=t>-1,E=ro(r,"."+pm),b;function w(){m||(r.id=l.id+"-slide"+xc(e+1),Q(r,Xr,_?"tabpanel":"group"),Q(r,Zs,f.slide),Q(r,qt,D||hc(f.slideLabel,[e+1,i.length]))),x()}function x(){a(r,"click",_e(o,jp,B)),a(r,"keydown",_e(o,e_,B)),s([no,t_,Gn],O),s(Kp,A),h&&s(_i,S)}function C(){b=!0,n.destroy(),Ur(r,ym),br(r,Sc),Q(r,"style",v),Q(r,qt,D||"")}function A(){var T=i.splides.map(function(y){var R=y.splide.Components.Slides.getAt(e);return R?R.slide.id:""}).join(" ");Q(r,qt,hc(f.slideX,(m?t:e)+1)),Q(r,so,T),Q(r,Xr,p?"button":""),p&&br(r,Zs)}function S(){b||O()}function O(){if(!b){var T=i.index;F(),M(),Hr(r,c_,e===T-1),Hr(r,f_,e===T+1)}}function F(){var T=I();T!==Ap(r,nn)&&(Hr(r,nn,T),Q(r,n_,d&&T||""),o(T?$v:Kv,B))}function M(){var T=N(),y=!T&&(!I()||m);if(i.state.is([Xn,Qs])||Q(r,s_,y||""),Q(mc(r,c.focusableNodes||""),Yn,y?-1:""),p&&Q(r,Yn,y?-1:0),T!==Ap(r,dc)&&(Hr(r,dc,T),o(T?Zv:Qv,B)),!T&&document.activeElement===r){var R=u.Slides.getAt(i.index);R&&Hp(R.slide)}}function L(T,y,R){ar(R&&E||r,T,y)}function I(){var T=i.index;return T===e||c.cloneStatus&&T===t}function N(){if(i.is(oo))return I();var T=Gt(u.Elements.track),y=Gt(r),R=g("left",!0),U=g("right",!0);return Ma(T[R])<=$s(y[R])&&Ma(y[U])<=$s(T[U])}function k(T,y){var R=St(T-e);return!m&&(c.rewind||i.is(qn))&&(R=pi(R,i.length-R)),R<=y}var B={index:e,slideIndex:t,slide:r,container:E,isClone:m,mount:w,destroy:C,update:O,style:L,isWithin:k};return B}function Sm(i,e,t){var r=be(i),n=r.on,s=r.emit,o=r.bind,a=e.Elements,u=a.slides,l=a.list,c=[];function d(){h(),n(We,f),n(We,h)}function h(){u.forEach(function(O,F){p(O,F,-1)})}function f(){b(function(O){O.destroy()}),Gr(c)}function _(){b(function(O){O.update()})}function p(O,F,M){var L=wm(i,F,M,O);L.mount(),c.push(L),c.sort(function(I,N){return I.index-N.index})}function g(O){return O?w(function(F){return!F.isClone}):c}function v(O){var F=e.Controller,M=F.toIndex(O),L=F.hasFocus()?1:t.perPage;return w(function(I){return Aa(I.index,M,M+L-1)})}function D(O){return w(O)[0]}function m(O,F){jt(O,function(M){if(di(M)&&(M=Up(M)),Wp(M)){var L=u[F];L?vc(M,L):to(l,M),Er(M,t.classes.slide),C(M,_e(s,Ks))}}),s(We)}function E(O){rn(w(O).map(function(F){return F.slide})),s(We)}function b(O,F){g(F).forEach(O)}function w(O){return c.filter(Vp(O)?O:function(F){return di(O)?Xs(F.slide,O):Dc(eo(O),F.index)})}function x(O,F,M){b(function(L){L.style(O,F,M)})}function C(O,F){var M=mc(O,"img"),L=M.length;L?M.forEach(function(I){o(I,"load error",function(){--L||F()})}):F()}function A(O){return O?u.length:c.length}function S(){return c.length>t.perPage}return{mount:d,destroy:f,update:_,register:p,get:g,getIn:v,getAt:D,add:m,remove:E,forEach:b,filter:w,style:x,getLength:A,isEnough:S}}function Tm(i,e,t){var r=be(i),n=r.on,s=r.bind,o=r.emit,a=e.Slides,u=e.Direction.resolve,l=e.Elements,c=l.root,d=l.track,h=l.list,f=a.getAt,_=a.style,p,g,v;function D(){m(),s(window,"resize load",lm(_e(o,Ks))),n([Tt,We],m),n(Ks,E)}function m(){p=t.direction===za,ar(c,"maxWidth",en(t.width)),ar(d,u("paddingLeft"),b(!1)),ar(d,u("paddingRight"),b(!0)),E(!0)}function E(B){var T=Gt(c);(B||g.width!==T.width||g.height!==T.height)&&(ar(d,"height",w()),_(u("marginRight"),en(t.gap)),_("width",C()),_("height",A(),!0),g=T,o(Ec),v!==(v=k())&&(Hr(c,d_,v),o(rm,v)))}function b(B){var T=t.padding,y=u(B?"right":"left");return T&&en(T[y]||(Us(T)?0:T))||"0px"}function w(){var B="";return p&&(B=x(),Ys(B,"height or heightRatio is missing."),B="calc("+B+" - "+b(!1)+" - "+b(!0)+")"),B}function x(){return en(t.height||Gt(h).width*t.heightRatio)}function C(){return t.autoWidth?null:en(t.fixedWidth)||(p?"":S())}function A(){return en(t.fixedHeight)||(p?t.autoHeight?null:S():x())}function S(){var B=en(t.gap);return"calc((100%"+(B&&" + "+B)+")/"+(t.perPage||1)+(B&&" - "+B)+")"}function O(){return Gt(h)[u("width")]}function F(B,T){var y=f(B||0);return y?Gt(y.slide)[u("width")]+(T?0:I()):0}function M(B,T){var y=f(B);if(y){var R=Gt(y.slide)[u("right")],U=Gt(h)[u("left")];return St(R-U)+(T?0:I())}return 0}function L(B){return M(i.length-1)-M(0)+F(0,B)}function I(){var B=f(0);return B&&parseFloat(ar(B.slide,u("marginRight")))||0}function N(B){return parseFloat(ar(d,u("padding"+(B?"Right":"Left"))))||0}function k(){return i.is(oo)||L(!0)>O()}return{mount:D,resize:E,listSize:O,slideSize:F,sliderSize:L,totalSize:M,getPadding:N,isOverflow:k}}var Am=2;function Fm(i,e,t){var r=be(i),n=r.on,s=e.Elements,o=e.Slides,a=e.Direction.resolve,u=[],l;function c(){n(We,d),n([Tt,Ks],f),(l=g())&&(_(l),e.Layout.resize(!0))}function d(){h(),c()}function h(){rn(u),Gr(u),r.destroy()}function f(){var v=g();l!==v&&(l<v||!v)&&r.emit(We)}function _(v){var D=o.get().slice(),m=D.length;if(m){for(;D.length<v;)Ta(D,D);Ta(D.slice(-v),D.slice(0,v)).forEach(function(E,b){var w=b<v,x=p(E.slide,b);w?vc(x,D[0].slide):to(s.list,x),Ta(u,x),o.register(x,b-v+(w?0:m),E.index)})}}function p(v,D){var m=v.cloneNode(!0);return Er(m,t.classes.clone),m.id=i.root.id+"-clone"+xc(D+1),m}function g(){var v=t.clones;if(!i.is(qn))v=0;else if(Js(v)){var D=t[a("fixedWidth")]&&e.Layout.slideSize(0),m=D&&$s(Gt(s.track)[a("width")]/D);v=m||t[a("autoWidth")]&&i.length||t.perPage*Am}return v}return{mount:c,destroy:h}}function Om(i,e,t){var r=be(i),n=r.on,s=r.emit,o=i.state.set,a=e.Layout,u=a.slideSize,l=a.getPadding,c=a.totalSize,d=a.listSize,h=a.sliderSize,f=e.Direction,_=f.resolve,p=f.orient,g=e.Elements,v=g.list,D=g.track,m;function E(){m=e.Transition,n([sn,Ec,Tt,We],b)}function b(){e.Controller.isBusy()||(e.Scroll.cancel(),x(i.index),e.Slides.update())}function w(y,R,U,Z){y!==R&&B(y>U)&&(O(),C(S(L(),y>U),!0)),o(Xn),s(_i,R,U,y),m.start(R,function(){o(Hn),s(no,R,U,y),Z&&Z()})}function x(y){C(M(y,!0))}function C(y,R){if(!i.is(oo)){var U=R?y:A(y);ar(v,"transform","translate"+_("X")+"("+U+"px)"),y!==U&&s(t_)}}function A(y){if(i.is(qn)){var R=F(y),U=R>e.Controller.getEnd(),Z=R<0;(Z||U)&&(y=S(y,U))}return y}function S(y,R){var U=y-k(R),Z=h();return y-=p(Z*($s(St(U)/Z)||1))*(R?1:-1),y}function O(){C(L(),!0),m.cancel()}function F(y){for(var R=e.Slides.get(),U=0,Z=1/0,X=0;X<R.length;X++){var G=R[X].index,z=St(M(G,!0)-y);if(z<=Z)Z=z,U=G;else break}return U}function M(y,R){var U=p(c(y-1)-N(y));return R?I(U):U}function L(){var y=_("left");return Gt(v)[y]-Gt(D)[y]+p(l(!1))}function I(y){return t.trimSpace&&i.is(Un)&&(y=Bn(y,0,p(h(!0)-d()))),y}function N(y){var R=t.focus;return R==="center"?(d()-u(y,!0))/2:+R*u(y)||0}function k(y){return M(y?e.Controller.getEnd():0,!!t.trimSpace)}function B(y){var R=p(S(L(),y));return y?R>=0:R<=v[_("scrollWidth")]-Gt(D)[_("width")]}function T(y,R){R=Js(R)?L():R;var U=y!==!0&&p(R)<p(k(!1)),Z=y!==!1&&p(R)>p(k(!0));return U||Z}return{mount:E,move:w,jump:x,translate:C,shift:S,cancel:O,toIndex:F,toPosition:M,getPosition:L,getLimit:k,exceededLimit:T,reposition:b}}function Pm(i,e,t){var r=be(i),n=r.on,s=r.emit,o=e.Move,a=o.getPosition,u=o.getLimit,l=o.toPosition,c=e.Slides,d=c.isEnough,h=c.getLength,f=t.omitEnd,_=i.is(qn),p=i.is(Un),g=_e(L,!1),v=_e(L,!0),D=t.start||0,m,E=D,b,w,x;function C(){A(),n([Tt,We,Ra],A),n(Ec,S)}function A(){b=h(!0),w=t.perMove,x=t.perPage,m=B();var z=Bn(D,0,f?m:b-1);z!==D&&(D=z,o.reposition())}function S(){m!==B()&&s(Ra)}function O(z,H,ce){if(!G()){var ee=M(z),te=k(ee);te>-1&&(H||te!==D)&&(U(te),o.move(ee,te,E,ce))}}function F(z,H,ce,ee){e.Scroll.scroll(z,H,ce,function(){var te=k(o.toIndex(a()));U(f?pi(te,m):te),ee&&ee()})}function M(z){var H=D;if(di(z)){var ce=z.match(/([+\-<>])(\d+)?/)||[],ee=ce[1],te=ce[2];ee==="+"||ee==="-"?H=I(D+ +(""+ee+(+te||1)),D):ee===">"?H=te?T(+te):g(!0):ee==="<"&&(H=v(!0))}else H=_?z:Bn(z,0,m);return H}function L(z,H){var ce=w||(X()?1:x),ee=I(D+ce*(z?-1:1),D,!(w||X()));return ee===-1&&p&&!Gp(a(),u(!z),1)?z?0:m:H?ee:k(ee)}function I(z,H,ce){if(d()||X()){var ee=N(z);ee!==z&&(H=z,z=ee,ce=!1),z<0||z>m?!w&&(Aa(0,z,H,!0)||Aa(m,H,z,!0))?z=T(y(z)):_?z=ce?z<0?-(b%x||x):b:z:t.rewind?z=z<0?m:0:z=-1:ce&&z!==H&&(z=T(y(H)+(z<H?-1:1)))}else z=-1;return z}function N(z){if(p&&t.trimSpace==="move"&&z!==D)for(var H=a();H===l(z,!0)&&Aa(z,0,i.length-1,!t.rewind);)z<D?--z:++z;return z}function k(z){return _?(z+b)%b||0:z}function B(){for(var z=b-(X()||_&&w?1:x);f&&z-- >0;)if(l(b-1,!0)!==l(z,!0)){z++;break}return Bn(z,0,b-1)}function T(z){return Bn(X()?z:x*z,0,m)}function y(z){return X()?pi(z,m):Ma((z>=m?b-1:z)/x)}function R(z){var H=o.toIndex(z);return p?Bn(H,0,m):H}function U(z){z!==D&&(E=D,D=z)}function Z(z){return z?E:D}function X(){return!Js(t.focus)||t.isNavigation}function G(){return i.state.is([Xn,Qs])&&!!t.waitForTransition}return{mount:C,go:O,scroll:F,getNext:g,getPrev:v,getAdjacent:L,getEnd:B,setIndex:U,getIndex:Z,toIndex:T,toPage:y,toDest:R,hasFocus:X,isBusy:G}}var Mm="http://www.w3.org/2000/svg",Rm="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",wa=40;function km(i,e,t){var r=be(i),n=r.on,s=r.bind,o=r.emit,a=t.classes,u=t.i18n,l=e.Elements,c=e.Controller,d=l.arrows,h=l.track,f=d,_=l.prev,p=l.next,g,v,D={};function m(){b(),n(Tt,E)}function E(){w(),m()}function b(){var F=t.arrows;F&&!(_&&p)&&A(),_&&p&&(qs(D,{prev:_,next:p}),js(f,F?"":"none"),Er(f,v=Tc+"--"+t.direction),F&&(x(),O(),Q([_,p],so,h.id),o(im,_,p)))}function w(){r.destroy(),Ur(f,v),g?(rn(d?[_,p]:f),_=p=null):br([_,p],Sc)}function x(){n([sn,no,We,Gn,Ra],O),s(p,"click",_e(C,">")),s(_,"click",_e(C,"<"))}function C(F){c.go(F,!0)}function A(){f=d||Wn("div",a.arrows),_=S(!0),p=S(!1),g=!0,to(f,[_,p]),!d&&vc(f,h)}function S(F){var M='<button class="'+a.arrow+" "+(F?a.prev:a.next)+'" type="button"><svg xmlns="'+Mm+'" viewBox="0 0 '+wa+" "+wa+'" width="'+wa+'" height="'+wa+'" focusable="false"><path d="'+(t.arrowPath||Rm)+'" />';return Up(M)}function O(){if(_&&p){var F=i.index,M=c.getPrev(),L=c.getNext(),I=M>-1&&F<M?u.last:u.prev,N=L>-1&&F>L?u.first:u.next;_.disabled=M<0,p.disabled=L<0,Q(_,qt,I),Q(p,qt,N),o(nm,_,p,M,L)}}return{arrows:D,mount:m,destroy:w,update:O}}var Lm=yc+"-interval";function Im(i,e,t){var r=be(i),n=r.on,s=r.bind,o=r.emit,a=La(t.interval,i.go.bind(i,">"),x),u=a.isPaused,l=e.Elements,c=e.Elements,d=c.root,h=c.toggle,f=t.autoplay,_,p,g=f==="pause";function v(){f&&(D(),h&&Q(h,so,l.track.id),g||m(),w())}function D(){t.pauseOnHover&&s(d,"mouseenter mouseleave",function(A){_=A.type==="mouseenter",b()}),t.pauseOnFocus&&s(d,"focusin focusout",function(A){p=A.type==="focusin",b()}),h&&s(h,"click",function(){g?m():E(!0)}),n([_i,bc,We],a.rewind),n(_i,C)}function m(){u()&&e.Slides.isEnough()&&(a.start(!t.resetProgress),p=_=g=!1,w(),o(Zp))}function E(A){A===void 0&&(A=!0),g=!!A,w(),u()||(a.pause(),o(Qp))}function b(){g||(_||p?E(!1):m())}function w(){h&&(Hr(h,nn,!g),Q(h,qt,t.i18n[g?"play":"pause"]))}function x(A){var S=l.bar;S&&ar(S,"width",A*100+"%"),o(am,A)}function C(A){var S=e.Slides.getAt(A);a.set(S&&+ur(S.slide,Lm)||t.interval)}return{mount:v,destroy:a.cancel,play:m,pause:E,isPaused:u}}function Nm(i,e,t){var r=be(i),n=r.on;function s(){t.cover&&(n(Jp,_e(a,!0)),n([sn,Tt,We],_e(o,!0)))}function o(u){e.Slides.forEach(function(l){var c=ro(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),js(l,u?"none":"")}return{mount:s,destroy:_e(o,!1)}}var Bm=10,zm=600,Vm=.6,Wm=1.5,Ym=800;function Hm(i,e,t){var r=be(i),n=r.on,s=r.emit,o=i.state.set,a=e.Move,u=a.getPosition,l=a.getLimit,c=a.exceededLimit,d=a.translate,h=i.is(Un),f,_,p=1;function g(){n(_i,E),n([Tt,We],b)}function v(x,C,A,S,O){var F=u();if(E(),A&&(!h||!c())){var M=e.Layout.sliderSize(),L=fc(x)*M*Ma(St(x)/M)||0;x=a.toPosition(e.Controller.toDest(x%M))+L}var I=Gp(F,x,1);p=1,C=I?0:C||Pa(St(x-F)/Wm,Ym),_=S,f=La(C,D,_e(m,F,x,O),1),o(Qs),s(bc),f.start()}function D(){o(Hn),_&&_(),s(Gn)}function m(x,C,A,S){var O=u(),F=x+(C-x)*w(S),M=(F-O)*p;d(O+M),h&&!A&&c()&&(p*=Vm,St(M)<Bm&&v(l(c(!0)),zm,!1,_,!0))}function E(){f&&f.cancel()}function b(){f&&!f.isPaused()&&(E(),D())}function w(x){var C=t.easingFunc;return C?C(x):1-Math.pow(1-x,4)}return{mount:g,destroy:E,scroll:v,cancel:b}}var zn={passive:!1,capture:!0};function Um(i,e,t){var r=be(i),n=r.on,s=r.emit,o=r.bind,a=r.unbind,u=i.state,l=e.Move,c=e.Scroll,d=e.Controller,h=e.Elements.track,f=e.Media.reduce,_=e.Direction,p=_.resolve,g=_.orient,v=l.getPosition,D=l.exceededLimit,m,E,b,w,x,C=!1,A,S,O;function F(){o(h,ac,lc,zn),o(h,uc,lc,zn),o(h,p_,L,zn),o(h,"click",k,{capture:!0}),o(h,"dragstart",Yr),n([sn,Tt],M)}function M(){var V=t.drag;At(!V),w=V==="free"}function L(V){if(A=!1,!S){var $=te(V);ee(V.target)&&($||!V.button)&&(d.isBusy()?Yr(V,!0):(O=$?h:window,x=u.is([Xn,Qs]),b=null,o(O,ac,I,zn),o(O,uc,N,zn),l.cancel(),c.cancel(),B(V)))}}function I(V){if(u.is(Sa)||(u.set(Sa),s(Jv)),V.cancelable)if(x){l.translate(m+ce(X(V)));var $=G(V)>Np,Ce=C!==(C=D());($||Ce)&&B(V),A=!0,s(em),Yr(V)}else R(V)&&(x=y(V),Yr(V))}function N(V){u.is(Sa)&&(u.set(Hn),s(tm)),x&&(T(V),Yr(V)),a(O,ac,I),a(O,uc,N),x=!1}function k(V){!S&&A&&Yr(V,!0)}function B(V){b=E,E=V,m=v()}function T(V){var $=U(V),Ce=Z($),Ne=t.rewind&&t.rewindByDrag;f(!1),w?d.scroll(Ce,0,t.snap):i.is(oo)?d.go(g(fc($))<0?Ne?"<":"-":Ne?">":"+"):i.is(Un)&&C&&Ne?d.go(D(!0)?">":"<"):d.go(d.toDest(Ce),!0),f(!0)}function y(V){var $=t.dragMinThreshold,Ce=Us($),Ne=Ce&&$.mouse||0,P=(Ce?$.touch:+$)||10;return St(X(V))>(te(V)?P:Ne)}function R(V){return St(X(V))>St(X(V,!0))}function U(V){if(i.is(qn)||!C){var $=G(V);if($&&$<Np)return X(V)/$}return 0}function Z(V){return v()+fc(V)*pi(St(V)*(t.flickPower||600),w?1/0:e.Layout.listSize()*(t.flickMaxPages||1))}function X(V,$){return H(V,$)-H(z(V),$)}function G(V){return cc(V)-cc(z(V))}function z(V){return E===V&&b||E}function H(V,$){return(te(V)?V.changedTouches[0]:V)["page"+p($?"Y":"X")]}function ce(V){return V/(C&&i.is(Un)?bm:1)}function ee(V){var $=t.noDrag;return!Xs(V,"."+l_+", ."+Wa)&&(!$||!Xs(V,$))}function te(V){return typeof TouchEvent!="undefined"&&V instanceof TouchEvent}function Qe(){return x}function At(V){S=V}return{mount:F,disable:At,isDragging:Qe}}var Xm={Spacebar:" ",Right:Ba,Left:Na,Up:r_,Down:i_};function Fc(i){return i=di(i)?i:i.key,Xm[i]||i}var Bp="keydown";function Gm(i,e,t){var r=be(i),n=r.on,s=r.bind,o=r.unbind,a=i.root,u=e.Direction.resolve,l,c;function d(){h(),n(Tt,f),n(Tt,h),n(_i,p)}function h(){var v=t.keyboard;v&&(l=v==="global"?window:a,s(l,Bp,g))}function f(){o(l,Bp)}function _(v){c=v}function p(){var v=c;c=!0,zp(function(){c=v})}function g(v){if(!c){var D=Fc(v);D===u(Na)?i.go("<"):D===u(Ba)&&i.go(">")}}return{mount:d,destroy:f,disable:_}}var Hs=yc+"-lazy",Fa=Hs+"-srcset",qm="["+Hs+"], ["+Fa+"]";function jm(i,e,t){var r=be(i),n=r.on,s=r.off,o=r.bind,a=r.emit,u=t.lazyLoad==="sequential",l=[no,Gn],c=[];function d(){t.lazyLoad&&(h(),n(We,h))}function h(){Gr(c),f(),u?v():(s(l),n(l,_),_())}function f(){e.Slides.forEach(function(D){mc(D.slide,qm).forEach(function(m){var E=ur(m,Hs),b=ur(m,Fa);if(E!==m.src||b!==m.srcset){var w=t.classes.spinner,x=m.parentElement,C=ro(x,"."+w)||Wn("span",w,x);c.push([m,D,C]),m.src||js(m,"none")}})})}function _(){c=c.filter(function(D){var m=t.perPage*((t.preloadPages||1)+1)-1;return D[1].isWithin(i.index,m)?p(D):!0}),c.length||s(l)}function p(D){var m=D[0];Er(D[1].slide,pc),o(m,"load error",_e(g,D)),Q(m,"src",ur(m,Hs)),Q(m,"srcset",ur(m,Fa)),br(m,Hs),br(m,Fa)}function g(D,m){var E=D[0],b=D[1];Ur(b.slide,pc),m.type!=="error"&&(rn(D[2]),js(E,""),a(Jp,E,b),a(Ks)),u&&v()}function v(){c.length&&p(c.shift())}return{mount:d,destroy:_e(Gr,c),check:_}}function $m(i,e,t){var r=be(i),n=r.on,s=r.emit,o=r.bind,a=e.Slides,u=e.Elements,l=e.Controller,c=l.hasFocus,d=l.getIndex,h=l.go,f=e.Direction.resolve,_=u.pagination,p=[],g,v;function D(){m(),n([Tt,We,Ra],D);var S=t.pagination;_&&js(_,S?"":"none"),S&&(n([_i,bc,Gn],A),E(),A(),s(sm,{list:g,items:p},C(i.index)))}function m(){g&&(rn(_?gi(g.children):g),Ur(g,v),Gr(p),g=null),r.destroy()}function E(){var S=i.length,O=t.classes,F=t.i18n,M=t.perPage,L=c()?l.getEnd()+1:$s(S/M);g=_||Wn("ul",O.pagination,u.track.parentElement),Er(g,v=Ya+"--"+x()),Q(g,Xr,"tablist"),Q(g,qt,F.select),Q(g,wc,x()===za?"vertical":"");for(var I=0;I<L;I++){var N=Wn("li",null,g),k=Wn("button",{class:O.page,type:"button"},N),B=a.getIn(I).map(function(y){return y.slide.id}),T=!c()&&M>1?F.pageX:F.slideX;o(k,"click",_e(b,I)),t.paginationKeyboard&&o(k,"keydown",_e(w,I)),Q(N,Xr,"presentation"),Q(k,Xr,"tab"),Q(k,so,B.join(" ")),Q(k,qt,hc(T,I+1)),Q(k,Yn,-1),p.push({li:N,button:k,page:I})}}function b(S){h(">"+S,!0)}function w(S,O){var F=p.length,M=Fc(O),L=x(),I=-1;M===f(Ba,!1,L)?I=++S%F:M===f(Na,!1,L)?I=(--S+F)%F:M==="Home"?I=0:M==="End"&&(I=F-1);var N=p[I];N&&(Hp(N.button),h(">"+I),Yr(O,!0))}function x(){return t.paginationDirection||t.direction}function C(S){return p[l.toPage(S)]}function A(){var S=C(d(!0)),O=C(d());if(S){var F=S.button;Ur(F,nn),br(F,Mp),Q(F,Yn,-1)}if(O){var M=O.button;Er(M,nn),Q(M,Mp,!0),Q(M,Yn,"")}s(om,{list:g,items:p},S,O)}return{items:p,mount:D,destroy:m,getAt:C,update:A}}var Km=[" ","Enter"];function Zm(i,e,t){var r=t.isNavigation,n=t.slideFocus,s=[];function o(){i.splides.forEach(function(_){_.isParent||(l(i,_.splide),l(_.splide,i))}),r&&c()}function a(){s.forEach(function(_){_.destroy()}),Gr(s)}function u(){a(),o()}function l(_,p){var g=be(_);g.on(_i,function(v,D,m){p.go(p.is(qn)?m:v)}),s.push(g)}function c(){var _=be(i),p=_.on;p(jp,h),p(e_,f),p([sn,Tt],d),s.push(_),_.emit(Kp,i.splides)}function d(){Q(e.Elements.list,wc,t.direction===za?"vertical":"")}function h(_){i.go(_.index)}function f(_,p){Dc(Km,Fc(p))&&(h(_),Yr(p))}return{setup:_e(e.Media.set,{slideFocus:Js(n)?r:n},!0),mount:o,destroy:a,remount:u}}function Qm(i,e,t){var r=be(i),n=r.bind,s=0;function o(){t.wheel&&n(e.Elements.track,"wheel",a,zn)}function a(l){if(l.cancelable){var c=l.deltaY,d=c<0,h=cc(l),f=t.wheelMinThreshold||0,_=t.wheelSleep||0;St(c)>f&&h-s>_&&(i.go(d?"<":">"),s=h),u(d)&&Yr(l)}}function u(l){return!t.releaseWheel||i.state.is(Xn)||e.Controller.getAdjacent(l)!==-1}return{mount:o}}var Jm=90;function e1(i,e,t){var r=be(i),n=r.on,s=e.Elements.track,o=t.live&&!t.isNavigation,a=Wn("span",vm),u=La(Jm,_e(c,!1));function l(){o&&(h(!e.Autoplay.isPaused()),Q(s,Lp,!0),a.textContent="\u2026",n(Zp,_e(h,!0)),n(Qp,_e(h,!1)),n([no,Gn],_e(c,!0)))}function c(f){Q(s,kp,f),f?(to(s,a),u.start()):(rn(a),u.cancel())}function d(){br(s,[Rp,Lp,kp]),rn(a)}function h(f){o&&Q(s,Rp,f?"off":"polite")}return{mount:l,disable:h,destroy:d}}var t1=Object.freeze({__proto__:null,Media:cm,Direction:fm,Elements:Cm,Slides:Sm,Layout:Tm,Clones:Fm,Move:Om,Controller:Pm,Arrows:km,Autoplay:Im,Cover:Nm,Scroll:Hm,Drag:Um,Keyboard:Gm,LazyLoad:jm,Pagination:$m,Sync:Zm,Wheel:Qm,Live:e1}),r1={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"},i1={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:xm,i18n:r1,reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function n1(i,e,t){var r=e.Slides;function n(){be(i).on([sn,We],s)}function s(){r.forEach(function(a){a.style("transform","translateX(-"+100*a.index+"%)")})}function o(a,u){r.style("transition","opacity "+t.speed+"ms "+t.easing),zp(u)}return{mount:n,start:o,cancel:lc}}function s1(i,e,t){var r=e.Move,n=e.Controller,s=e.Scroll,o=e.Elements.list,a=_e(ar,o,"transition"),u;function l(){be(i).bind(o,"transitionend",function(f){f.target===o&&u&&(d(),u())})}function c(f,_){var p=r.toPosition(f,!0),g=r.getPosition(),v=h(f);St(p-g)>=1&&v>=1?t.useScroll?s.scroll(p,v,!1,_):(a("transform "+v+"ms "+t.easing),r.translate(p,!0),u=_):(r.jump(f),_())}function d(){a(""),s.cancel()}function h(f){var _=t.rewindSpeed;if(i.is(Un)&&_){var p=n.getIndex(!0),g=n.getEnd();if(p===0&&f>=g||p>=g&&f===0)return _}return t.speed}return{mount:l,start:c,cancel:d}}var o1=function(){function i(t,r){this.event=be(),this.Components={},this.state=um(Vn),this.splides=[],this._o={},this._E={};var n=di(t)?Xp(document,t):t;Ys(n,n+" is invalid."),this.root=n,r=hi({label:ur(n,qt)||"",labelledby:ur(n,Cc)||""},i1,i.defaults,r||{});try{hi(r,JSON.parse(ur(n,yc)))}catch{Ys(!1,"Invalid JSON")}this._o=Object.create(hi({},r))}var e=i.prototype;return e.mount=function(r,n){var s=this,o=this.state,a=this.Components;Ys(o.is([Vn,Oa]),"Already mounted!"),o.set(Vn),this._C=a,this._T=n||this._T||(this.is(oo)?n1:s1),this._E=r||this._E;var u=qs({},t1,this._E,{Transition:this._T});return tn(u,function(l,c){var d=l(s,a,s._o);a[c]=d,d.setup&&d.setup()}),tn(a,function(l){l.mount&&l.mount()}),this.emit(sn),Er(this.root,mm),o.set(Hn),this.emit(Op),this},e.sync=function(r){return this.splides.push({splide:r}),r.splides.push({splide:this,isParent:!0}),this.state.is(Hn)&&(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(gi(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(We),this},e.destroy=function(r){r===void 0&&(r=!0);var n=this.event,s=this.state;return s.is(Vn)?be(this).on(Op,this.destroy.bind(this,r)):(tn(this._C,function(o){o.destroy&&o.destroy(r)},!0),n.emit($p),n.destroy(),r&&Gr(this.splides),s.set(Oa)),this},Xv(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}(),jn=o1;jn.defaults={};jn.STATES=qv;Ct.registerPlugin(J,Ln,Ji,Nn);function a1(){Ji.create("loader","0.83, 0, 0.17, 1"),Ji.create("loader2","0.77, 0, 0.175, 1")}var on=new Oo({duration:1.2,easing:i=>Math.min(1,1.001-Math.pow(2,-10*i))});function u1(){on.on("scroll",J.update),Ct.ticker.add(e=>{on.raf(e*1e3)}),Ct.ticker.lagSmoothing(0);function i(e){on.raf(e),requestAnimationFrame(i)}requestAnimationFrame(i)}function l1(){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 s of n.target.children)s.setAttribute("src",s.getAttribute("data-src"));n.target.load(),n.target.play(),e.unobserve(n.target)}})});i.forEach(function(t){e.observe(t)})}}function c1(){window.addEventListener("pageshow",function(i){i.persisted&&window.location.reload()})}function f1(){let i=document.createElement("script");i.src="https://cdn.jsdelivr.net/npm/@finsweet/attributes-scrolldisable@1/scrolldisable.js",i.defer=!0,document.head.appendChild(i)}function h1(){Ct.to("#heroSection",{scrollTrigger:{trigger:"#bottomWrapper",start:"top bottom",toggleActions:"restart none none reverse"},y:"-100%"})}function d1(){let i=Ct.timeline({});i.add(function(){history.scrollRestoration="manual",on.scrollTo(0)}),i.to(".loader_ract",{delay:.2,duration:.8,width:0,ease:"loader2"},">"),i.add(function(){on.start()},">"),i.to(".loader_wrapper",{display:"none",duration:.1},">"),window.addEventListener("resize",function(){setTimeout(function(){Ct.set(".loader_wrapper",{display:"none"})},50)})}function p1(){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=Ct.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 __=Ct.from(".navbar",{y:"-100%",paused:!0,duration:.2,ease:"loader2"}).progress(1);function _1(){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.standardHeaderScrollAnimation=function(){J.create({start:"top top",endTrigger:".bottom-wrapper",end:"bottom top+=100px",onUpdate:i=>{i.direction===-1?__.play():__.reverse()}})};window.videoInsideText=function(i){let e=i.querySelector('[class*="copy-this"]');i.querySelector('[class*="headline-span"]').appendChild(e)};window.spanVideoMaskAnimation=function(i){Ct.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){let e=i.querySelector(".hero_headline_ract-mask"),t=Ct.timeline({}),r=new Nn("#heroHeading",{type:"lines",linesClass:"hero-line"}),n=new Nn("#heroHeading",{type:"lines",linesClass:"hero-line-mask"});t.from(".navbar",{opacity:0,duration:.6,ease:"loader2"},">+0.4"),t.from(".hero-line",{duration:1.2,y:"100%",stagger:.2,ease:"loader2"},">-0.5"),e&&t.to(".hero_headline_ract-mask",{width:"0%",duration:.6,ease:"loader2"},">-0.6"),t.from("#heroBottomWrapper",{opacity:0,duration:1,ease:"loader2"},">-0.4")};window.caseStudyMaskAnimation=function(i){let e=i.querySelector(".portfolio_item_image-mask"),t=Ct.from(e,{width:"100%",duration:.35,ease:"loader2",paused:!0});J.create({animation:t,trigger:e,start:"top 80%",onEnter:()=>t.play()})};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 jn(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")})};window.factsSlider=function(i){let e=new jn(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(r=>{r.addEventListener("click",()=>{event.stopPropagation()})})};window.teamSlider=function(i){new jn(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()};window.elementPaddingChange=function(i){Ct.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.Webflow||(window.Webflow=[]);window.Webflow.push(()=>{console.log("The new code source is loaded!"),rh(),l1(),Webflow.env("editor")===void 0?(u1(),on.start()):(console.log("Editor mode ON"),on.destroy()),a1(),c1(),h1(),d1(),p1(),_1(),window.innerWidth<992&&f1()});})();
|
|
6
6
|
/*! Bundled license information:
|
|
7
7
|
|
|
8
8
|
gsap/gsap-core.js:
|
|
@@ -103,4 +103,12 @@ gsap/SplitText.js:
|
|
|
103
103
|
* Club GreenSock members, the agreement issued with that membership.
|
|
104
104
|
* @author: Jack Doyle, jack@greensock.com
|
|
105
105
|
*)
|
|
106
|
+
|
|
107
|
+
@splidejs/splide/dist/js/splide.esm.js:
|
|
108
|
+
(*!
|
|
109
|
+
* Splide.js
|
|
110
|
+
* Version : 4.1.4
|
|
111
|
+
* License : MIT
|
|
112
|
+
* Copyright: 2022 Naotoshi Fujita
|
|
113
|
+
*)
|
|
106
114
|
*/
|