@widelab-nc/widelab 1.0.12 → 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 CHANGED
@@ -1,8 +1,8 @@
1
- (()=>{var yo=!1,xo=!1,ii=[],vo=-1;function ch(i){hh(i)}function hh(i){ii.includes(i)||ii.push(i),dh()}function Yl(i){let t=ii.indexOf(i);t!==-1&&t>vo&&ii.splice(t,1)}function dh(){!xo&&!yo&&(yo=!0,queueMicrotask(ph))}function ph(){yo=!1,xo=!0;for(let i=0;i<ii.length;i++)ii[i](),vo=i;ii.length=0,vo=-1,xo=!1}var Di,Li,_n,Xl,bo=!0;function _h(i){bo=!1,i(),bo=!0}function gh(i){Di=i.reactive,_n=i.release,Li=t=>i.effect(t,{scheduler:e=>{bo?ch(e):e()}}),Xl=i.raw}function El(i){Li=i}function mh(i){let t=()=>{};return[r=>{let n=Li(r);return i._x_effects||(i._x_effects=new Set,i._x_runEffects=()=>{i._x_effects.forEach(s=>s())}),i._x_effects.add(n),t=()=>{n!==void 0&&(i._x_effects.delete(n),_n(n))},n},()=>{t()}]}function cn(i,t,e={}){i.dispatchEvent(new CustomEvent(t,{detail:e,bubbles:!0,composed:!0,cancelable:!0}))}function Pr(i,t){if(typeof ShadowRoot=="function"&&i instanceof ShadowRoot){Array.from(i.children).forEach(n=>Pr(n,t));return}let e=!1;if(t(i,()=>e=!0),e)return;let r=i.firstElementChild;for(;r;)Pr(r,t,!1),r=r.nextElementSibling}function cr(i,...t){console.warn(`Alpine Warning: ${i}`,...t)}var Ml=!1;function yh(){Ml&&cr("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),Ml=!0,document.body||cr("Unable to initialize. Trying to load Alpine before `<body>` is available. Did you forget to add `defer` in Alpine's `<script>` tag?"),cn(document,"alpine:init"),cn(document,"alpine:initializing"),Xo(),bh(t=>hr(t,Pr)),No(t=>Fo(t)),Ql((t,e)=>{Ho(t,e).forEach(r=>r())});let i=t=>!as(t.parentElement,!0);Array.from(document.querySelectorAll(Ul())).filter(i).forEach(t=>{hr(t)}),cn(document,"alpine:initialized")}var Io=[],Vl=[];function Wl(){return Io.map(i=>i())}function Ul(){return Io.concat(Vl).map(i=>i())}function Hl(i){Io.push(i)}function ql(i){Vl.push(i)}function as(i,t=!1){return ls(i,e=>{if((t?Ul():Wl()).some(n=>e.matches(n)))return!0})}function ls(i,t){if(i){if(t(i))return i;if(i._x_teleportBack&&(i=i._x_teleportBack),!!i.parentElement)return ls(i.parentElement,t)}}function xh(i){return Wl().some(t=>i.matches(t))}var jl=[];function vh(i){jl.push(i)}function hr(i,t=Pr,e=()=>{}){Ih(()=>{t(i,(r,n)=>{e(r,n),jl.forEach(s=>s(r,n)),Ho(r,r.attributes).forEach(s=>s()),r._x_ignore&&n()})})}function Fo(i){Pr(i,t=>{Zl(t),wh(t)})}var $l=[],Gl=[],Kl=[];function bh(i){Kl.push(i)}function No(i,t){typeof t=="function"?(i._x_cleanups||(i._x_cleanups=[]),i._x_cleanups.push(t)):(t=i,Gl.push(t))}function Ql(i){$l.push(i)}function Jl(i,t,e){i._x_attributeCleanups||(i._x_attributeCleanups={}),i._x_attributeCleanups[t]||(i._x_attributeCleanups[t]=[]),i._x_attributeCleanups[t].push(e)}function Zl(i,t){i._x_attributeCleanups&&Object.entries(i._x_attributeCleanups).forEach(([e,r])=>{(t===void 0||t.includes(e))&&(r.forEach(n=>n()),delete i._x_attributeCleanups[e])})}function wh(i){if(i._x_cleanups)for(;i._x_cleanups.length;)i._x_cleanups.pop()()}var Bo=new MutationObserver(Wo),Yo=!1;function Xo(){Bo.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),Yo=!0}function tu(){Sh(),Bo.disconnect(),Yo=!1}var hn=[],po=!1;function Sh(){hn=hn.concat(Bo.takeRecords()),hn.length&&!po&&(po=!0,queueMicrotask(()=>{Th(),po=!1}))}function Th(){Wo(hn),hn.length=0}function At(i){if(!Yo)return i();tu();let t=i();return Xo(),t}var Vo=!1,ns=[];function Ch(){Vo=!0}function Eh(){Vo=!1,Wo(ns),ns=[]}function Wo(i){if(Vo){ns=ns.concat(i);return}let t=[],e=[],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&&t.push(o)),i[s].removedNodes.forEach(o=>o.nodeType===1&&e.push(o))),i[s].type==="attributes")){let o=i[s].target,a=i[s].attributeName,l=i[s].oldValue,u=()=>{r.has(o)||r.set(o,[]),r.get(o).push({name:a,value:o.getAttribute(a)})},f=()=>{n.has(o)||n.set(o,[]),n.get(o).push(a)};o.hasAttribute(a)&&l===null?u():o.hasAttribute(a)?(f(),u()):f()}n.forEach((s,o)=>{Zl(o,s)}),r.forEach((s,o)=>{$l.forEach(a=>a(o,s))});for(let s of e)t.includes(s)||(Gl.forEach(o=>o(s)),Fo(s));t.forEach(s=>{s._x_ignoreSelf=!0,s._x_ignore=!0});for(let s of t)e.includes(s)||s.isConnected&&(delete s._x_ignoreSelf,delete s._x_ignore,Kl.forEach(o=>o(s)),s._x_ignore=!0,s._x_ignoreSelf=!0);t.forEach(s=>{delete s._x_ignoreSelf,delete s._x_ignore}),t=null,e=null,r=null,n=null}function eu(i){return mn(ki(i))}function gn(i,t,e){return i._x_dataStack=[t,...ki(e||i)],()=>{i._x_dataStack=i._x_dataStack.filter(r=>r!==t)}}function ki(i){return i._x_dataStack?i._x_dataStack:typeof ShadowRoot=="function"&&i instanceof ShadowRoot?ki(i.host):i.parentNode?ki(i.parentNode):[]}function mn(i){return new Proxy({objects:i},Mh)}var Mh={ownKeys({objects:i}){return Array.from(new Set(i.flatMap(t=>Object.keys(t))))},has({objects:i},t){return t==Symbol.unscopables?!1:i.some(e=>Object.prototype.hasOwnProperty.call(e,t))},get({objects:i},t,e){return t=="toJSON"?Ph:Reflect.get(i.find(r=>Object.prototype.hasOwnProperty.call(r,t))||{},t,e)},set({objects:i},t,e){return Reflect.set(i.find(r=>Object.prototype.hasOwnProperty.call(r,t))||i[i.length-1],t,e)}};function Ph(){return Reflect.ownKeys(this).reduce((t,e)=>(t[e]=Reflect.get(this,e),t),{})}function ru(i){let t=r=>typeof r=="object"&&!Array.isArray(r)&&r!==null,e=(r,n="")=>{Object.entries(Object.getOwnPropertyDescriptors(r)).forEach(([s,{value:o,enumerable:a}])=>{if(a===!1||o===void 0)return;let l=n===""?s:`${n}.${s}`;typeof o=="object"&&o!==null&&o._x_interceptor?r[s]=o.initialize(i,l,s):t(o)&&o!==r&&!(o instanceof Element)&&e(o,l)})};return e(i)}function iu(i,t=()=>{}){let e={initialValue:void 0,_x_interceptor:!0,initialize(r,n,s){return i(this.initialValue,()=>Oh(r,n),o=>wo(r,n,o),n,s)}};return t(e),r=>{if(typeof r=="object"&&r!==null&&r._x_interceptor){let n=e.initialize.bind(e);e.initialize=(s,o,a)=>{let l=r.initialize(s,o,a);return e.initialValue=l,n(s,o,a)}}else e.initialValue=r;return e}}function Oh(i,t){return t.split(".").reduce((e,r)=>e[r],i)}function wo(i,t,e){if(typeof t=="string"&&(t=t.split(".")),t.length===1)i[t[0]]=e;else{if(t.length===0)throw error;return i[t[0]]||(i[t[0]]={}),wo(i[t[0]],t.slice(1),e)}}var nu={};function He(i,t){nu[i]=t}function So(i,t){return Object.entries(nu).forEach(([e,r])=>{let n=null;function s(){if(n)return n;{let[o,a]=fu(t);return n={interceptor:iu,...o},No(t,a),n}}Object.defineProperty(i,`$${e}`,{get(){return r(t,s())},enumerable:!1})}),i}function Ah(i,t,e,...r){try{return e(...r)}catch(n){pn(n,i,t)}}function pn(i,t,e=void 0){Object.assign(i,{el:t,expression:e}),console.warn(`Alpine Expression Error: ${i.message}
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
- ${e?'Expression: "'+e+`"
3
+ ${t?'Expression: "'+t+`"
4
4
 
5
- `:""}`,t),setTimeout(()=>{throw i},0)}var is=!0;function su(i){let t=is;is=!1;let e=i();return is=t,e}function ni(i,t,e={}){let r;return ee(i,t)(n=>r=n,e),r}function ee(...i){return ou(...i)}var ou=au;function kh(i){ou=i}function au(i,t){let e={};So(e,i);let r=[e,...ki(i)],n=typeof t=="function"?Rh(r,t):Lh(r,t,i);return Ah.bind(null,i,t,n)}function Rh(i,t){return(e=()=>{},{scope:r={},params:n=[]}={})=>{let s=t.apply(mn([r,...i]),n);ss(e,s)}}var _o={};function Dh(i,t){if(_o[i])return _o[i];let e=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 e(["__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 pn(o,t,i),Promise.resolve()}})();return _o[i]=s,s}function Lh(i,t,e){let r=Dh(t,e);return(n=()=>{},{scope:s={},params:o=[]}={})=>{r.result=void 0,r.finished=!1;let a=mn([s,...i]);if(typeof r=="function"){let l=r(r,a).catch(u=>pn(u,e,t));r.finished?(ss(n,r.result,a,o,e),r.result=void 0):l.then(u=>{ss(n,u,a,o,e)}).catch(u=>pn(u,e,t)).finally(()=>r.result=void 0)}}}function ss(i,t,e,r,n){if(is&&typeof t=="function"){let s=t.apply(e,r);s instanceof Promise?s.then(o=>ss(i,o,e,r)).catch(o=>pn(o,n,t)):i(s)}else typeof t=="object"&&t instanceof Promise?t.then(s=>i(s)):i(t)}var Uo="x-";function zi(i=""){return Uo+i}function zh(i){Uo=i}var To={};function Et(i,t){return To[i]=t,{before(e){if(!To[e]){console.warn("Cannot find directive `${directive}`. `${name}` will use the default order of execution");return}let r=ri.indexOf(e);ri.splice(r>=0?r:ri.indexOf("DEFAULT"),0,i)}}}function Ho(i,t,e){if(t=Array.from(t),i._x_virtualDirectives){let s=Object.entries(i._x_virtualDirectives).map(([a,l])=>({name:a,value:l})),o=lu(s);s=s.map(a=>o.find(l=>l.name===a.name)?{name:`x-bind:${a.name}`,value:`"${a.value}"`}:a),t=t.concat(s)}let r={};return t.map(du((s,o)=>r[s]=o)).filter(_u).map(Nh(r,e)).sort(Bh).map(s=>Fh(i,s))}function lu(i){return Array.from(i).map(du()).filter(t=>!_u(t))}var Co=!1,fn=new Map,uu=Symbol();function Ih(i){Co=!0;let t=Symbol();uu=t,fn.set(t,[]);let e=()=>{for(;fn.get(t).length;)fn.get(t).shift()();fn.delete(t)},r=()=>{Co=!1,e()};i(e),r()}function fu(i){let t=[],e=a=>t.push(a),[r,n]=mh(i);return t.push(n),[{Alpine:yn,effect:r,cleanup:e,evaluateLater:ee.bind(ee,i),evaluate:ni.bind(ni,i)},()=>t.forEach(a=>a())]}function Fh(i,t){let e=()=>{},r=To[t.type]||e,[n,s]=fu(i);Jl(i,t.original,s);let o=()=>{i._x_ignore||i._x_ignoreSelf||(r.inline&&r.inline(i,t,n),r=r.bind(r,i,t,n),Co?fn.get(uu).push(r):r())};return o.runCleanups=s,o}var cu=(i,t)=>({name:e,value:r})=>(e.startsWith(i)&&(e=e.replace(i,t)),{name:e,value:r}),hu=i=>i;function du(i=()=>{}){return({name:t,value:e})=>{let{name:r,value:n}=pu.reduce((s,o)=>o(s),{name:t,value:e});return r!==t&&i(r,t),{name:r,value:n}}}var pu=[];function qo(i){pu.push(i)}function _u({name:i}){return gu().test(i)}var gu=()=>new RegExp(`^${Uo}([^:^.]+)\\b`);function Nh(i,t){return({name:e,value:r})=>{let n=e.match(gu()),s=e.match(/:([a-zA-Z0-9\-:]+)/),o=e.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],a=t||i[e]||e;return{type:n?n[1]:null,value:s?s[1]:null,modifiers:o.map(l=>l.replace(".","")),expression:r,original:a}}}var Eo="DEFAULT",ri=["ignore","ref","data","id","bind","init","for","model","modelable","transition","show","if",Eo,"teleport"];function Bh(i,t){let e=ri.indexOf(i.type)===-1?Eo:i.type,r=ri.indexOf(t.type)===-1?Eo:t.type;return ri.indexOf(e)-ri.indexOf(r)}var Mo=[],jo=!1;function $o(i=()=>{}){return queueMicrotask(()=>{jo||setTimeout(()=>{Po()})}),new Promise(t=>{Mo.push(()=>{i(),t()})})}function Po(){for(jo=!1;Mo.length;)Mo.shift()()}function Yh(){jo=!0}function Go(i,t){return Array.isArray(t)?Pl(i,t.join(" ")):typeof t=="object"&&t!==null?Xh(i,t):typeof t=="function"?Go(i,t()):Pl(i,t)}function Pl(i,t){let e=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 t=t===!0?t="":t||"",n(r(t))}function Xh(i,t){let e=a=>a.split(" ").filter(Boolean),r=Object.entries(t).flatMap(([a,l])=>l?e(a):!1).filter(Boolean),n=Object.entries(t).flatMap(([a,l])=>l?!1:e(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 us(i,t){return typeof t=="object"&&t!==null?Vh(i,t):Wh(i,t)}function Vh(i,t){let e={};return Object.entries(t).forEach(([r,n])=>{e[r]=i.style[r],r.startsWith("--")||(r=Uh(r)),i.style.setProperty(r,n)}),setTimeout(()=>{i.style.length===0&&i.removeAttribute("style")}),()=>{us(i,e)}}function Wh(i,t){let e=i.getAttribute("style",t);return i.setAttribute("style",t),()=>{i.setAttribute("style",e||"")}}function Uh(i){return i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Oo(i,t=()=>{}){let e=!1;return function(){e?t.apply(this,arguments):(e=!0,i.apply(this,arguments))}}Et("transition",(i,{value:t,modifiers:e,expression:r},{evaluate:n})=>{typeof r=="function"&&(r=n(r)),r!==!1&&(!r||typeof r=="boolean"?qh(i,e,t):Hh(i,r,t))});function Hh(i,t,e){mu(i,Go,""),{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}}[e](t)}function qh(i,t,e){mu(i,us);let r=!t.includes("in")&&!t.includes("out")&&!e,n=r||t.includes("in")||["enter"].includes(e),s=r||t.includes("out")||["leave"].includes(e);t.includes("in")&&!r&&(t=t.filter((y,m)=>m<t.indexOf("out"))),t.includes("out")&&!r&&(t=t.filter((y,m)=>m>t.indexOf("out")));let o=!t.includes("opacity")&&!t.includes("scale"),a=o||t.includes("opacity"),l=o||t.includes("scale"),u=a?0:1,f=l?ln(t,"scale",95)/100:1,d=ln(t,"delay",0)/1e3,h=ln(t,"origin","center"),c="opacity, transform",_=ln(t,"duration",150)/1e3,p=ln(t,"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:u,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:u,transform:`scale(${f})`})}function mu(i,t,e={}){i._x_transition||(i._x_transition={enter:{during:e,start:e,end:e},leave:{during:e,start:e,end:e},in(r=()=>{},n=()=>{}){Ao(i,t,{during:this.enter.during,start:this.enter.start,end:this.enter.end},r,n)},out(r=()=>{},n=()=>{}){Ao(i,t,{during:this.leave.during,start:this.leave.start,end:this.leave.end},r,n)}})}window.Element.prototype._x_toggleAndCascadeWithTransitions=function(i,t,e,r){let n=document.visibilityState==="visible"?requestAnimationFrame:setTimeout,s=()=>n(e);if(t){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(e):s():i._x_transition?i._x_transition.in(e):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=yu(i);o?(o._x_hideChildren||(o._x_hideChildren=[]),o._x_hideChildren.push(i)):n(()=>{let a=l=>{let u=Promise.all([l._x_hidePromise,...(l._x_hideChildren||[]).map(a)]).then(([f])=>f());return delete l._x_hidePromise,delete l._x_hideChildren,u};a(i).catch(l=>{if(!l.isFromCancelledTransition)throw l})})})};function yu(i){let t=i.parentNode;if(t)return t._x_hidePromise?t:yu(t)}function Ao(i,t,{during:e,start:r,end:n}={},s=()=>{},o=()=>{}){if(i._x_transitioning&&i._x_transitioning.cancel(),Object.keys(e).length===0&&Object.keys(r).length===0&&Object.keys(n).length===0){s(),o();return}let a,l,u;jh(i,{start(){a=t(i,r)},during(){l=t(i,e)},before:s,end(){a(),u=t(i,n)},after:o,cleanup(){l(),u()}})}function jh(i,t){let e,r,n,s=Oo(()=>{At(()=>{e=!0,r||t.before(),n||(t.end(),Po()),t.after(),i.isConnected&&t.cleanup(),delete i._x_transitioning})});i._x_transitioning={beforeCancels:[],beforeCancel(o){this.beforeCancels.push(o)},cancel:Oo(function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();s()}),finish:s},At(()=>{t.start(),t.during()}),Yh(),requestAnimationFrame(()=>{if(e)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),At(()=>{t.before()}),r=!0,requestAnimationFrame(()=>{e||(At(()=>{t.end()}),Po(),setTimeout(i._x_transitioning.finish,o+a),n=!0)})})}function ln(i,t,e){if(i.indexOf(t)===-1)return e;let r=i[i.indexOf(t)+1];if(!r||t==="scale"&&isNaN(r))return e;if(t==="duration"||t==="delay"){let n=r.match(/([0-9]+)ms/);if(n)return n[1]}return t==="origin"&&["top","right","left","center","bottom"].includes(i[i.indexOf(t)+2])?[r,i[i.indexOf(t)+2]].join(" "):r}var Or=!1;function fs(i,t=()=>{}){return(...e)=>Or?t(...e):i(...e)}function $h(i){return(...t)=>Or&&i(...t)}function Gh(i,t){i._x_dataStack&&(t._x_dataStack=i._x_dataStack,t.setAttribute("data-has-alpine-state",!0)),Or=!0,xu(()=>{hr(t,(e,r)=>{r(e,()=>{})})}),Or=!1}var ko=!1;function Kh(i,t){t._x_dataStack||(t._x_dataStack=i._x_dataStack),Or=!0,ko=!0,xu(()=>{Qh(t)}),Or=!1,ko=!1}function Qh(i){let t=!1;hr(i,(r,n)=>{Pr(r,(s,o)=>{if(t&&xh(s))return o();t=!0,n(s,o)})})}function xu(i){let t=Li;El((e,r)=>{let n=t(e);return _n(n),()=>{}}),i(),El(t)}function Jh(i){return Or?ko?!0:i.hasAttribute("data-has-alpine-state"):!1}function vu(i,t,e,r=[]){switch(i._x_bindings||(i._x_bindings=Di({})),i._x_bindings[t]=e,t=r.includes("camel")?od(t):t,t){case"value":Zh(i,e);break;case"style":ed(i,e);break;case"class":td(i,e);break;case"selected":case"checked":rd(i,t,e);break;default:bu(i,t,e);break}}function Zh(i,t){if(i.type==="radio")i.attributes.value===void 0&&(i.value=t),window.fromModel&&(i.checked=Ol(i.value,t));else if(i.type==="checkbox")Number.isInteger(t)?i.value=t:!Array.isArray(t)&&typeof t!="boolean"&&![null,void 0].includes(t)?i.value=String(t):Array.isArray(t)?i.checked=t.some(e=>Ol(e,i.value)):i.checked=!!t;else if(i.tagName==="SELECT")sd(i,t);else{if(i.value===t)return;i.value=t===void 0?"":t}}function td(i,t){i._x_undoAddedClasses&&i._x_undoAddedClasses(),i._x_undoAddedClasses=Go(i,t)}function ed(i,t){i._x_undoAddedStyles&&i._x_undoAddedStyles(),i._x_undoAddedStyles=us(i,t)}function rd(i,t,e){bu(i,t,e),nd(i,t,e)}function bu(i,t,e){[null,void 0,!1].includes(e)&&ad(t)?i.removeAttribute(t):(wu(t)&&(e=t),id(i,t,e))}function id(i,t,e){i.getAttribute(t)!=e&&i.setAttribute(t,e)}function nd(i,t,e){i[t]!==e&&(i[t]=e)}function sd(i,t){let e=[].concat(t).map(r=>r+"");Array.from(i.options).forEach(r=>{r.selected=e.includes(r.value)})}function od(i){return i.toLowerCase().replace(/-(\w)/g,(t,e)=>e.toUpperCase())}function Ol(i,t){return i==t}function wu(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 ad(i){return!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(i)}function ld(i,t,e){return i._x_bindings&&i._x_bindings[t]!==void 0?i._x_bindings[t]:Su(i,t,e)}function ud(i,t,e,r=!0){if(i._x_bindings&&i._x_bindings[t]!==void 0)return i._x_bindings[t];if(i._x_inlineBindings&&i._x_inlineBindings[t]!==void 0){let n=i._x_inlineBindings[t];return n.extract=r,su(()=>ni(i,n.expression))}return Su(i,t,e)}function Su(i,t,e){let r=i.getAttribute(t);return r===null?typeof e=="function"?e():e:r===""?!0:wu(t)?!![t,"true"].includes(r):r}function Tu(i,t){var e;return function(){var r=this,n=arguments,s=function(){e=null,i.apply(r,n)};clearTimeout(e),e=setTimeout(s,t)}}function Cu(i,t){let e;return function(){let r=this,n=arguments;e||(i.apply(r,n),e=!0,setTimeout(()=>e=!1,t))}}function Eu({get:i,set:t},{get:e,set:r}){let n=!0,s,o,a,l,u=Li(()=>{let f,d;n?(f=i(),r(JSON.parse(JSON.stringify(f))),d=e(),n=!1):(f=i(),d=e(),a=JSON.stringify(f),l=JSON.stringify(d),a!==s?(d=e(),r(f),d=f):(t(JSON.parse(l!=null?l:null)),f=d)),s=JSON.stringify(f),o=JSON.stringify(d)});return()=>{_n(u)}}function fd(i){(Array.isArray(i)?i:[i]).forEach(e=>e(yn))}var ei={},Al=!1;function cd(i,t){if(Al||(ei=Di(ei),Al=!0),t===void 0)return ei[i];ei[i]=t,typeof t=="object"&&t!==null&&t.hasOwnProperty("init")&&typeof t.init=="function"&&ei[i].init(),ru(ei[i])}function hd(){return ei}var Mu={};function dd(i,t){let e=typeof t!="function"?()=>t:t;return i instanceof Element?Pu(i,e()):(Mu[i]=e,()=>{})}function pd(i){return Object.entries(Mu).forEach(([t,e])=>{Object.defineProperty(i,t,{get(){return(...r)=>e(...r)}})}),i}function Pu(i,t,e){let r=[];for(;r.length;)r.pop()();let n=Object.entries(t).map(([o,a])=>({name:o,value:a})),s=lu(n);return n=n.map(o=>s.find(a=>a.name===o.name)?{name:`x-bind:${o.name}`,value:`"${o.value}"`}:o),Ho(i,n,e).map(o=>{r.push(o.runCleanups),o()}),()=>{for(;r.length;)r.pop()()}}var Ou={};function _d(i,t){Ou[i]=t}function gd(i,t){return Object.entries(Ou).forEach(([e,r])=>{Object.defineProperty(i,e,{get(){return(...n)=>r.bind(t)(...n)},enumerable:!1})}),i}var md={get reactive(){return Di},get release(){return _n},get effect(){return Li},get raw(){return Xl},version:"3.13.1",flushAndStopDeferringMutations:Eh,dontAutoEvaluateFunctions:su,disableEffectScheduling:_h,startObservingMutations:Xo,stopObservingMutations:tu,setReactivityEngine:gh,onAttributeRemoved:Jl,onAttributesAdded:Ql,closestDataStack:ki,skipDuringClone:fs,onlyDuringClone:$h,addRootSelector:Hl,addInitSelector:ql,addScopeToNode:gn,deferMutations:Ch,mapAttributes:qo,evaluateLater:ee,interceptInit:vh,setEvaluator:kh,mergeProxies:mn,extractProp:ud,findClosest:ls,onElRemoved:No,closestRoot:as,destroyTree:Fo,interceptor:iu,transition:Ao,setStyles:us,mutateDom:At,directive:Et,entangle:Eu,throttle:Cu,debounce:Tu,evaluate:ni,initTree:hr,nextTick:$o,prefixed:zi,prefix:zh,plugin:fd,magic:He,store:cd,start:yh,clone:Kh,cloneNode:Gh,bound:ld,$data:eu,walk:Pr,data:_d,bind:dd},yn=md;function Au(i,t){let e=Object.create(null),r=i.split(",");for(let n=0;n<r.length;n++)e[r[n]]=!0;return t?n=>!!e[n.toLowerCase()]:n=>!!e[n]}var yd="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ng=Au(yd+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),xd=Object.freeze({}),Bg=Object.freeze([]),vd=Object.prototype.hasOwnProperty,cs=(i,t)=>vd.call(i,t),si=Array.isArray,dn=i=>ku(i)==="[object Map]",bd=i=>typeof i=="string",Ko=i=>typeof i=="symbol",hs=i=>i!==null&&typeof i=="object",wd=Object.prototype.toString,ku=i=>wd.call(i),Ru=i=>ku(i).slice(8,-1),Qo=i=>bd(i)&&i!=="NaN"&&i[0]!=="-"&&""+parseInt(i,10)===i,ds=i=>{let t=Object.create(null);return e=>t[e]||(t[e]=i(e))},Sd=/-(\w)/g,Yg=ds(i=>i.replace(Sd,(t,e)=>e?e.toUpperCase():"")),Td=/\B([A-Z])/g,Xg=ds(i=>i.replace(Td,"-$1").toLowerCase()),Du=ds(i=>i.charAt(0).toUpperCase()+i.slice(1)),Vg=ds(i=>i?`on${Du(i)}`:""),Lu=(i,t)=>i!==t&&(i===i||t===t),Ro=new WeakMap,un=[],er,oi=Symbol("iterate"),Do=Symbol("Map key iterate");function Cd(i){return i&&i._isEffect===!0}function Ed(i,t=xd){Cd(i)&&(i=i.raw);let e=Od(i,t);return t.lazy||e(),e}function Md(i){i.active&&(zu(i),i.options.onStop&&i.options.onStop(),i.active=!1)}var Pd=0;function Od(i,t){let e=function(){if(!e.active)return i();if(!un.includes(e)){zu(e);try{return kd(),un.push(e),er=e,i()}finally{un.pop(),Iu(),er=un[un.length-1]}}};return e.id=Pd++,e.allowRecurse=!!t.allowRecurse,e._isEffect=!0,e.active=!0,e.raw=i,e.deps=[],e.options=t,e}function zu(i){let{deps:t}=i;if(t.length){for(let e=0;e<t.length;e++)t[e].delete(i);t.length=0}}var Ri=!0,Jo=[];function Ad(){Jo.push(Ri),Ri=!1}function kd(){Jo.push(Ri),Ri=!0}function Iu(){let i=Jo.pop();Ri=i===void 0?!0:i}function Ue(i,t,e){if(!Ri||er===void 0)return;let r=Ro.get(i);r||Ro.set(i,r=new Map);let n=r.get(e);n||r.set(e,n=new Set),n.has(er)||(n.add(er),er.deps.push(n),er.options.onTrack&&er.options.onTrack({effect:er,target:i,type:t,key:e}))}function Ar(i,t,e,r,n,s){let o=Ro.get(i);if(!o)return;let a=new Set,l=f=>{f&&f.forEach(d=>{(d!==er||d.allowRecurse)&&a.add(d)})};if(t==="clear")o.forEach(l);else if(e==="length"&&si(i))o.forEach((f,d)=>{(d==="length"||d>=r)&&l(f)});else switch(e!==void 0&&l(o.get(e)),t){case"add":si(i)?Qo(e)&&l(o.get("length")):(l(o.get(oi)),dn(i)&&l(o.get(Do)));break;case"delete":si(i)||(l(o.get(oi)),dn(i)&&l(o.get(Do)));break;case"set":dn(i)&&l(o.get(oi));break}let u=f=>{f.options.onTrigger&&f.options.onTrigger({effect:f,target:i,key:e,type:t,newValue:r,oldValue:n,oldTarget:s}),f.options.scheduler?f.options.scheduler(f):f()};a.forEach(u)}var Rd=Au("__proto__,__v_isRef,__isVue"),Fu=new Set(Object.getOwnPropertyNames(Symbol).map(i=>Symbol[i]).filter(Ko)),Dd=Nu(),Ld=Nu(!0),kl=zd();function zd(){let i={};return["includes","indexOf","lastIndexOf"].forEach(t=>{i[t]=function(...e){let r=st(this);for(let s=0,o=this.length;s<o;s++)Ue(r,"get",s+"");let n=r[t](...e);return n===-1||n===!1?r[t](...e.map(st)):n}}),["push","pop","shift","unshift","splice"].forEach(t=>{i[t]=function(...e){Ad();let r=st(this)[t].apply(this,e);return Iu(),r}}),i}function Nu(i=!1,t=!1){return function(r,n,s){if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_raw"&&s===(i?t?Qd:Vu:t?Kd:Xu).get(r))return r;let o=si(r);if(!i&&o&&cs(kl,n))return Reflect.get(kl,n,s);let a=Reflect.get(r,n,s);return(Ko(n)?Fu.has(n):Rd(n))||(i||Ue(r,"get",n),t)?a:Lo(a)?!o||!Qo(n)?a.value:a:hs(a)?i?Wu(a):ra(a):a}}var Id=Fd();function Fd(i=!1){return function(e,r,n,s){let o=e[r];if(!i&&(n=st(n),o=st(o),!si(e)&&Lo(o)&&!Lo(n)))return o.value=n,!0;let a=si(e)&&Qo(r)?Number(r)<e.length:cs(e,r),l=Reflect.set(e,r,n,s);return e===st(s)&&(a?Lu(n,o)&&Ar(e,"set",r,n,o):Ar(e,"add",r,n)),l}}function Nd(i,t){let e=cs(i,t),r=i[t],n=Reflect.deleteProperty(i,t);return n&&e&&Ar(i,"delete",t,void 0,r),n}function Bd(i,t){let e=Reflect.has(i,t);return(!Ko(t)||!Fu.has(t))&&Ue(i,"has",t),e}function Yd(i){return Ue(i,"iterate",si(i)?"length":oi),Reflect.ownKeys(i)}var Xd={get:Dd,set:Id,deleteProperty:Nd,has:Bd,ownKeys:Yd},Vd={get:Ld,set(i,t){return console.warn(`Set operation on key "${String(t)}" failed: target is readonly.`,i),!0},deleteProperty(i,t){return console.warn(`Delete operation on key "${String(t)}" failed: target is readonly.`,i),!0}},Zo=i=>hs(i)?ra(i):i,ta=i=>hs(i)?Wu(i):i,ea=i=>i,ps=i=>Reflect.getPrototypeOf(i);function Jn(i,t,e=!1,r=!1){i=i.__v_raw;let n=st(i),s=st(t);t!==s&&!e&&Ue(n,"get",t),!e&&Ue(n,"get",s);let{has:o}=ps(n),a=r?ea:e?ta:Zo;if(o.call(n,t))return a(i.get(t));if(o.call(n,s))return a(i.get(s));i!==n&&i.get(t)}function Zn(i,t=!1){let e=this.__v_raw,r=st(e),n=st(i);return i!==n&&!t&&Ue(r,"has",i),!t&&Ue(r,"has",n),i===n?e.has(i):e.has(i)||e.has(n)}function ts(i,t=!1){return i=i.__v_raw,!t&&Ue(st(i),"iterate",oi),Reflect.get(i,"size",i)}function Rl(i){i=st(i);let t=st(this);return ps(t).has.call(t,i)||(t.add(i),Ar(t,"add",i,i)),this}function Dl(i,t){t=st(t);let e=st(this),{has:r,get:n}=ps(e),s=r.call(e,i);s?Yu(e,r,i):(i=st(i),s=r.call(e,i));let o=n.call(e,i);return e.set(i,t),s?Lu(t,o)&&Ar(e,"set",i,t,o):Ar(e,"add",i,t),this}function Ll(i){let t=st(this),{has:e,get:r}=ps(t),n=e.call(t,i);n?Yu(t,e,i):(i=st(i),n=e.call(t,i));let s=r?r.call(t,i):void 0,o=t.delete(i);return n&&Ar(t,"delete",i,void 0,s),o}function zl(){let i=st(this),t=i.size!==0,e=dn(i)?new Map(i):new Set(i),r=i.clear();return t&&Ar(i,"clear",void 0,void 0,e),r}function es(i,t){return function(r,n){let s=this,o=s.__v_raw,a=st(o),l=t?ea:i?ta:Zo;return!i&&Ue(a,"iterate",oi),o.forEach((u,f)=>r.call(n,l(u),l(f),s))}}function rs(i,t,e){return function(...r){let n=this.__v_raw,s=st(n),o=dn(s),a=i==="entries"||i===Symbol.iterator&&o,l=i==="keys"&&o,u=n[i](...r),f=e?ea:t?ta:Zo;return!t&&Ue(s,"iterate",l?Do:oi),{next(){let{value:d,done:h}=u.next();return h?{value:d,done:h}:{value:a?[f(d[0]),f(d[1])]:f(d),done:h}},[Symbol.iterator](){return this}}}}function Mr(i){return function(...t){{let e=t[0]?`on key "${t[0]}" `:"";console.warn(`${Du(i)} operation ${e}failed: target is readonly.`,st(this))}return i==="delete"?!1:this}}function Wd(){let i={get(s){return Jn(this,s)},get size(){return ts(this)},has:Zn,add:Rl,set:Dl,delete:Ll,clear:zl,forEach:es(!1,!1)},t={get(s){return Jn(this,s,!1,!0)},get size(){return ts(this)},has:Zn,add:Rl,set:Dl,delete:Ll,clear:zl,forEach:es(!1,!0)},e={get(s){return Jn(this,s,!0)},get size(){return ts(this,!0)},has(s){return Zn.call(this,s,!0)},add:Mr("add"),set:Mr("set"),delete:Mr("delete"),clear:Mr("clear"),forEach:es(!0,!1)},r={get(s){return Jn(this,s,!0,!0)},get size(){return ts(this,!0)},has(s){return Zn.call(this,s,!0)},add:Mr("add"),set:Mr("set"),delete:Mr("delete"),clear:Mr("clear"),forEach:es(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{i[s]=rs(s,!1,!1),e[s]=rs(s,!0,!1),t[s]=rs(s,!1,!0),r[s]=rs(s,!0,!0)}),[i,e,t,r]}var[Ud,Hd,qd,jd]=Wd();function Bu(i,t){let e=t?i?jd:qd:i?Hd:Ud;return(r,n,s)=>n==="__v_isReactive"?!i:n==="__v_isReadonly"?i:n==="__v_raw"?r:Reflect.get(cs(e,n)&&n in r?e:r,n,s)}var $d={get:Bu(!1,!1)},Gd={get:Bu(!0,!1)};function Yu(i,t,e){let r=st(e);if(r!==e&&t.call(i,r)){let n=Ru(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 Xu=new WeakMap,Kd=new WeakMap,Vu=new WeakMap,Qd=new WeakMap;function Jd(i){switch(i){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Zd(i){return i.__v_skip||!Object.isExtensible(i)?0:Jd(Ru(i))}function ra(i){return i&&i.__v_isReadonly?i:Uu(i,!1,Xd,$d,Xu)}function Wu(i){return Uu(i,!0,Vd,Gd,Vu)}function Uu(i,t,e,r,n){if(!hs(i))return console.warn(`value cannot be made reactive: ${String(i)}`),i;if(i.__v_raw&&!(t&&i.__v_isReactive))return i;let s=n.get(i);if(s)return s;let o=Zd(i);if(o===0)return i;let a=new Proxy(i,o===2?r:e);return n.set(i,a),a}function st(i){return i&&st(i.__v_raw)||i}function Lo(i){return!!(i&&i.__v_isRef===!0)}He("nextTick",()=>$o);He("dispatch",i=>cn.bind(cn,i));He("watch",(i,{evaluateLater:t,effect:e})=>(r,n)=>{let s=t(r),o=!0,a,l=e(()=>s(u=>{JSON.stringify(u),o?a=u:queueMicrotask(()=>{n(u,a),a=u}),o=!1}));i._x_effects.delete(l)});He("store",hd);He("data",i=>eu(i));He("root",i=>as(i));He("refs",i=>(i._x_refs_proxy||(i._x_refs_proxy=mn(tp(i))),i._x_refs_proxy));function tp(i){let t=[],e=i;for(;e;)e._x_refs&&t.push(e._x_refs),e=e.parentNode;return t}var go={};function Hu(i){return go[i]||(go[i]=0),++go[i]}function ep(i,t){return ls(i,e=>{if(e._x_ids&&e._x_ids[t])return!0})}function rp(i,t){i._x_ids||(i._x_ids={}),i._x_ids[t]||(i._x_ids[t]=Hu(t))}He("id",i=>(t,e=null)=>{let r=ep(i,t),n=r?r._x_ids[t]:Hu(t);return e?`${t}-${n}-${e}`:`${t}-${n}`});He("el",i=>i);qu("Focus","focus","focus");qu("Persist","persist","persist");function qu(i,t,e){He(t,r=>cr(`You can't use [$${t}] without first installing the "${i}" plugin here: https://alpinejs.dev/plugins/${e}`,r))}Et("modelable",(i,{expression:t},{effect:e,evaluateLater:r,cleanup:n})=>{let s=r(t),o=()=>{let f;return s(d=>f=d),f},a=r(`${t} = __placeholder`),l=f=>a(()=>{},{scope:{__placeholder:f}}),u=o();l(u),queueMicrotask(()=>{if(!i._x_model)return;i._x_removeModelListeners.default();let f=i._x_model.get,d=i._x_model.set,h=Eu({get(){return f()},set(c){d(c)}},{get(){return o()},set(c){l(c)}});n(h)})});Et("teleport",(i,{modifiers:t,expression:e},{cleanup:r})=>{i.tagName.toLowerCase()!=="template"&&cr("x-teleport can only be used on a <template> tag",i);let n=Il(e),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,l=>{l.stopPropagation(),i.dispatchEvent(new l.constructor(l.type,l))})}),gn(s,{},i);let o=(a,l,u)=>{u.includes("prepend")?l.parentNode.insertBefore(a,l):u.includes("append")?l.parentNode.insertBefore(a,l.nextSibling):l.appendChild(a)};At(()=>{o(s,n,t),hr(s),s._x_ignore=!0}),i._x_teleportPutBack=()=>{let a=Il(e);At(()=>{o(i._x_teleport,a,t)})},r(()=>s.remove())});var ip=document.createElement("div");function Il(i){let t=fs(()=>document.querySelector(i),()=>ip)();return t||cr(`Cannot find x-teleport element for selector: "${i}"`),t}var ju=()=>{};ju.inline=(i,{modifiers:t},{cleanup:e})=>{t.includes("self")?i._x_ignoreSelf=!0:i._x_ignore=!0,e(()=>{t.includes("self")?delete i._x_ignoreSelf:delete i._x_ignore})};Et("ignore",ju);Et("effect",(i,{expression:t},{effect:e})=>e(ee(i,t)));function zo(i,t,e,r){let n=i,s=l=>r(l),o={},a=(l,u)=>f=>u(l,f);if(e.includes("dot")&&(t=np(t)),e.includes("camel")&&(t=sp(t)),e.includes("passive")&&(o.passive=!0),e.includes("capture")&&(o.capture=!0),e.includes("window")&&(n=window),e.includes("document")&&(n=document),e.includes("debounce")){let l=e[e.indexOf("debounce")+1]||"invalid-wait",u=os(l.split("ms")[0])?Number(l.split("ms")[0]):250;s=Tu(s,u)}if(e.includes("throttle")){let l=e[e.indexOf("throttle")+1]||"invalid-wait",u=os(l.split("ms")[0])?Number(l.split("ms")[0]):250;s=Cu(s,u)}return e.includes("prevent")&&(s=a(s,(l,u)=>{u.preventDefault(),l(u)})),e.includes("stop")&&(s=a(s,(l,u)=>{u.stopPropagation(),l(u)})),e.includes("self")&&(s=a(s,(l,u)=>{u.target===i&&l(u)})),(e.includes("away")||e.includes("outside"))&&(n=document,s=a(s,(l,u)=>{i.contains(u.target)||u.target.isConnected!==!1&&(i.offsetWidth<1&&i.offsetHeight<1||i._x_isShown!==!1&&l(u))})),e.includes("once")&&(s=a(s,(l,u)=>{l(u),n.removeEventListener(t,s,o)})),s=a(s,(l,u)=>{ap(t)&&lp(u,e)||l(u)}),n.addEventListener(t,s,o),()=>{n.removeEventListener(t,s,o)}}function np(i){return i.replace(/-/g,".")}function sp(i){return i.toLowerCase().replace(/-(\w)/g,(t,e)=>e.toUpperCase())}function os(i){return!Array.isArray(i)&&!isNaN(i)}function op(i){return[" ","_"].includes(i)?i:i.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase()}function ap(i){return["keydown","keyup"].includes(i)}function lp(i,t){let e=t.filter(s=>!["window","document","prevent","stop","once","capture"].includes(s));if(e.includes("debounce")){let s=e.indexOf("debounce");e.splice(s,os((e[s+1]||"invalid-wait").split("ms")[0])?2:1)}if(e.includes("throttle")){let s=e.indexOf("throttle");e.splice(s,os((e[s+1]||"invalid-wait").split("ms")[0])?2:1)}if(e.length===0||e.length===1&&Fl(i.key).includes(e[0]))return!1;let n=["ctrl","shift","alt","meta","cmd","super"].filter(s=>e.includes(s));return e=e.filter(s=>!n.includes(s)),!(n.length>0&&n.filter(o=>((o==="cmd"||o==="super")&&(o="meta"),i[`${o}Key`])).length===n.length&&Fl(i.key).includes(e[0]))}function Fl(i){if(!i)return[];i=op(i);let t={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 t[i]=i,Object.keys(t).map(e=>{if(t[e]===i)return e}).filter(e=>e)}Et("model",(i,{modifiers:t,expression:e},{effect:r,cleanup:n})=>{let s=i;t.includes("parent")&&(s=i.parentNode);let o=ee(s,e),a;typeof e=="string"?a=ee(s,`${e} = __placeholder`):typeof e=="function"&&typeof e()=="string"?a=ee(s,`${e()} = __placeholder`):a=()=>{};let l=()=>{let h;return o(c=>h=c),Nl(h)?h.get():h},u=h=>{let c;o(_=>c=_),Nl(c)?c.set(h):a(()=>{},{scope:{__placeholder:h}})};typeof e=="string"&&i.type==="radio"&&At(()=>{i.hasAttribute("name")||i.setAttribute("name",e)});var f=i.tagName.toLowerCase()==="select"||["checkbox","radio"].includes(i.type)||t.includes("lazy")?"change":"input";let d=Or?()=>{}:zo(i,f,t,h=>{u(up(i,t,h,l()))});if(t.includes("fill")&&([null,""].includes(l())||i.type==="checkbox"&&Array.isArray(l()))&&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=zo(i.form,"reset",[],c=>{$o(()=>i._x_model&&i._x_model.set(i.value))});n(()=>h())}i._x_model={get(){return l()},set(h){u(h)}},i._x_forceModelUpdate=h=>{h===void 0&&typeof e=="string"&&e.match(/\./)&&(h=""),window.fromModel=!0,At(()=>vu(i,"value",h)),delete window.fromModel},r(()=>{let h=l();t.includes("unintrusive")&&document.activeElement.isSameNode(i)||i._x_forceModelUpdate(h)})});function up(i,t,e,r){return At(()=>{if(e instanceof CustomEvent&&e.detail!==void 0)return e.detail!==null&&e.detail!==void 0?e.detail:e.target.value;if(i.type==="checkbox")if(Array.isArray(r)){let n=t.includes("number")?mo(e.target.value):e.target.value;return e.target.checked?r.concat([n]):r.filter(s=>!fp(s,n))}else return e.target.checked;else{if(i.tagName.toLowerCase()==="select"&&i.multiple)return t.includes("number")?Array.from(e.target.selectedOptions).map(n=>{let s=n.value||n.text;return mo(s)}):Array.from(e.target.selectedOptions).map(n=>n.value||n.text);{let n=e.target.value;return t.includes("number")?mo(n):t.includes("trim")?n.trim():n}}})}function mo(i){let t=i?parseFloat(i):null;return cp(t)?t:i}function fp(i,t){return i==t}function cp(i){return!Array.isArray(i)&&!isNaN(i)}function Nl(i){return i!==null&&typeof i=="object"&&typeof i.get=="function"&&typeof i.set=="function"}Et("cloak",i=>queueMicrotask(()=>At(()=>i.removeAttribute(zi("cloak")))));ql(()=>`[${zi("init")}]`);Et("init",fs((i,{expression:t},{evaluate:e})=>typeof t=="string"?!!t.trim()&&e(t,{},!1):e(t,{},!1)));Et("text",(i,{expression:t},{effect:e,evaluateLater:r})=>{let n=r(t);e(()=>{n(s=>{At(()=>{i.textContent=s})})})});Et("html",(i,{expression:t},{effect:e,evaluateLater:r})=>{let n=r(t);e(()=>{n(s=>{At(()=>{i.innerHTML=s,i._x_ignoreSelf=!0,hr(i),delete i._x_ignoreSelf})})})});qo(cu(":",hu(zi("bind:"))));var $u=(i,{value:t,modifiers:e,expression:r,original:n},{effect:s})=>{if(!t){let a={};pd(a),ee(i,r)(u=>{Pu(i,u,n)},{scope:a});return}if(t==="key")return hp(i,r);if(i._x_inlineBindings&&i._x_inlineBindings[t]&&i._x_inlineBindings[t].extract)return;let o=ee(i,r);s(()=>o(a=>{a===void 0&&typeof r=="string"&&r.match(/\./)&&(a=""),At(()=>vu(i,t,a,e))}))};$u.inline=(i,{value:t,modifiers:e,expression:r})=>{t&&(i._x_inlineBindings||(i._x_inlineBindings={}),i._x_inlineBindings[t]={expression:r,extract:!1})};Et("bind",$u);function hp(i,t){i._x_keyExpression=t}Hl(()=>`[${zi("data")}]`);Et("data",(i,{expression:t},{cleanup:e})=>{if(Jh(i))return;t=t===""?"{}":t;let r={};So(r,i);let n={};gd(n,r);let s=ni(i,t,{scope:n});(s===void 0||s===!0)&&(s={}),So(s,i);let o=Di(s);ru(o);let a=gn(i,o);o.init&&ni(i,o.init),e(()=>{o.destroy&&ni(i,o.destroy),a()})});Et("show",(i,{modifiers:t,expression:e},{effect:r})=>{let n=ee(i,e);i._x_doHide||(i._x_doHide=()=>{At(()=>{i.style.setProperty("display","none",t.includes("important")?"important":void 0)})}),i._x_doShow||(i._x_doShow=()=>{At(()=>{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),l=Oo(d=>d?o():s(),d=>{typeof i._x_toggleAndCascadeWithTransitions=="function"?i._x_toggleAndCascadeWithTransitions(i,d,o,s):d?a():s()}),u,f=!0;r(()=>n(d=>{!f&&d===u||(t.includes("immediate")&&(d?a():s()),l(d),u=d,f=!1)}))});Et("for",(i,{expression:t},{effect:e,cleanup:r})=>{let n=pp(t),s=ee(i,n.items),o=ee(i,i._x_keyExpression||"index");i._x_prevKeys=[],i._x_lookup={},e(()=>dp(i,n,s,o)),r(()=>{Object.values(i._x_lookup).forEach(a=>a.remove()),delete i._x_prevKeys,delete i._x_lookup})});function dp(i,t,e,r){let n=o=>typeof o=="object"&&!Array.isArray(o),s=i;e(o=>{_p(o)&&o>=0&&(o=Array.from(Array(o).keys(),g=>g+1)),o===void 0&&(o=[]);let a=i._x_lookup,l=i._x_prevKeys,u=[],f=[];if(n(o))o=Object.entries(o).map(([g,y])=>{let m=Bl(t,y,g,o);r(v=>f.push(v),{scope:{index:g,...m}}),u.push(m)});else for(let g=0;g<o.length;g++){let y=Bl(t,o[g],g,o);r(m=>f.push(m),{scope:{index:g,...y}}),u.push(y)}let d=[],h=[],c=[],_=[];for(let g=0;g<l.length;g++){let y=l[g];f.indexOf(y)===-1&&c.push(y)}l=l.filter(g=>!c.includes(g));let p="template";for(let g=0;g<f.length;g++){let y=f[g],m=l.indexOf(y);if(m===-1)l.splice(g,0,y),d.push([p,g]);else if(m!==g){let v=l.splice(g,1)[0],b=l.splice(m-1,1)[0];l.splice(g,0,b),l.splice(m,0,v),h.push([v,b])}else _.push(y);p=y}for(let g=0;g<c.length;g++){let y=c[g];a[y]._x_effects&&a[y]._x_effects.forEach(Yl),a[y].remove(),a[y]=null,delete a[y]}for(let g=0;g<h.length;g++){let[y,m]=h[g],v=a[y],b=a[m],S=document.createElement("div");At(()=>{b||cr('x-for ":key" is undefined or invalid',s),b.after(S),v.after(b),b._x_currentIfEl&&b.after(b._x_currentIfEl),S.before(v),v._x_currentIfEl&&v.after(v._x_currentIfEl),S.remove()}),b._x_refreshXForScope(u[f.indexOf(m)])}for(let g=0;g<d.length;g++){let[y,m]=d[g],v=y==="template"?s:a[y];v._x_currentIfEl&&(v=v._x_currentIfEl);let b=u[m],S=f[m],C=document.importNode(s.content,!0).firstElementChild,w=Di(b);gn(C,w,s),C._x_refreshXForScope=M=>{Object.entries(M).forEach(([E,P])=>{w[E]=P})},At(()=>{v.after(C),hr(C)}),typeof S=="object"&&cr("x-for key cannot be an object, it must be a string or an integer",s),a[S]=C}for(let g=0;g<_.length;g++)a[_[g]]._x_refreshXForScope(u[f.indexOf(_[g])]);s._x_prevKeys=f})}function pp(i){let t=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,e=/^\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(e,"").trim(),a=o.match(t);return a?(s.item=o.replace(t,"").trim(),s.index=a[1].trim(),a[2]&&(s.collection=a[2].trim())):s.item=o,s}function Bl(i,t,e,r){let n={};return/^\[.*\]$/.test(i.item)&&Array.isArray(t)?i.item.replace("[","").replace("]","").split(",").map(o=>o.trim()).forEach((o,a)=>{n[o]=t[a]}):/^\{.*\}$/.test(i.item)&&!Array.isArray(t)&&typeof t=="object"?i.item.replace("{","").replace("}","").split(",").map(o=>o.trim()).forEach(o=>{n[o]=t[o]}):n[i.item]=t,i.index&&(n[i.index]=e),i.collection&&(n[i.collection]=r),n}function _p(i){return!Array.isArray(i)&&!isNaN(i)}function Gu(){}Gu.inline=(i,{expression:t},{cleanup:e})=>{let r=as(i);r._x_refs||(r._x_refs={}),r._x_refs[t]=i,e(()=>delete r._x_refs[t])};Et("ref",Gu);Et("if",(i,{expression:t},{effect:e,cleanup:r})=>{i.tagName.toLowerCase()!=="template"&&cr("x-if can only be used on a <template> tag",i);let n=ee(i,t),s=()=>{if(i._x_currentIfEl)return i._x_currentIfEl;let a=i.content.cloneNode(!0).firstElementChild;return gn(a,{},i),At(()=>{i.after(a),hr(a)}),i._x_currentIfEl=a,i._x_undoIf=()=>{Pr(a,l=>{l._x_effects&&l._x_effects.forEach(Yl)}),a.remove(),delete i._x_currentIfEl},a},o=()=>{i._x_undoIf&&(i._x_undoIf(),delete i._x_undoIf)};e(()=>n(a=>{a?s():o()})),r(()=>i._x_undoIf&&i._x_undoIf())});Et("id",(i,{expression:t},{evaluate:e})=>{e(t).forEach(n=>rp(i,n))});qo(cu("@",hu(zi("on:"))));Et("on",fs((i,{value:t,modifiers:e,expression:r},{cleanup:n})=>{let s=r?ee(i,r):()=>{};i.tagName.toLowerCase()==="template"&&(i._x_forwardEvents||(i._x_forwardEvents=[]),i._x_forwardEvents.includes(t)||i._x_forwardEvents.push(t));let o=zo(i,t,e,a=>{s(()=>{},{scope:{$event:a},params:[a]})});n(()=>o())}));_s("Collapse","collapse","collapse");_s("Intersect","intersect","intersect");_s("Focus","trap","focus");_s("Mask","mask","mask");function _s(i,t,e){Et(t,r=>cr(`You can't use [x-${t}] without first installing the "${i}" plugin here: https://alpinejs.dev/plugins/${e}`,r))}yn.setEvaluator(au);yn.setReactivityEngine({reactive:ra,effect:Ed,release:Md,raw:st});var gp=yn,ia=gp;function na(i){let t=[];for(let e=0;e<i.attributes.length;++e){let r=i.attributes[e];r.name.startsWith("x-")&&t.push(r)}return t}function mp(i){let t=document.createElement("template");na(i).forEach(r=>{t.setAttribute(r.name,r.value),i.removeAttribute(r.name)}),i.parentNode.insertBefore(t,i),t.content.appendChild(i)}function yp(i){na(i).forEach(e=>{let r=e.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,e.value),i.removeAttribute(e.name))}})}function xp(i){na(i).forEach(e=>{e.name.match(/^x-transition.*(?!(enter|leave))/)&&i.setAttribute(e.name,"")})}function vp(){document.querySelectorAll("[x-data],[x-data] *").forEach(i=>{yp(i),xp(i)}),document.querySelectorAll("[x-data] [x-for], [x-data] [x-if]").forEach(mp)}function Ku(){window.Alpine=ia,window.Webflow||(window.Webflow=[]),window.Webflow.push(()=>{vp(),ia.start()})}function sa(){return sa=Object.assign?Object.assign.bind():function(i){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[r]=e[r])}return i},sa.apply(this,arguments)}function gs(i,t,e){return Math.max(i,Math.min(t,e))}var oa=class{advance(t){var e;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*t)))*n+o*s),Math.round(this.value)===this.to&&(this.value=this.to,r=!0);else{this.currentTime+=t;let a=gs(0,this.currentTime/this.duration,1);r=a>=1;let l=r?1:this.easing(a);this.value=this.from+(this.to-this.from)*l}var n,s,o;(e=this.onUpdate)==null||e.call(this,this.value,r),r&&this.stop()}stop(){this.isRunning=!1}fromTo(t,e,{lerp:r=.1,duration:n=1,easing:s=l=>l,onStart:o,onUpdate:a}){this.from=this.value=t,this.to=e,this.lerp=r,this.duration=n,this.easing=s,this.currentTime=0,this.isRunning=!0,o==null||o(),this.onUpdate=a}},aa=class{constructor({wrapper:t,content:e,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=t,this.content=e,r){let n=function(s,o){let a;return function(){let l=arguments,u=this;clearTimeout(a),a=setTimeout(function(){s.apply(u,l)},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 t,e;(t=this.wrapperResizeObserver)==null||t.disconnect(),(e=this.contentResizeObserver)==null||e.disconnect()}get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},ms=class{constructor(){this.events={}}emit(t,...e){let r=this.events[t]||[];for(let n=0,s=r.length;n<s;n++)r[n](...e)}on(t,e){var r;return(r=this.events[t])!=null&&r.push(e)||(this.events[t]=[e]),()=>{var n;this.events[t]=(n=this.events[t])==null?void 0:n.filter(s=>e!==s)}}off(t,e){var r;this.events[t]=(r=this.events[t])==null?void 0:r.filter(n=>e!==n)}destroy(){this.events={}}},la=class{constructor(t,{wheelMultiplier:e=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,l=-(o-this.touchStart.x)*this.touchMultiplier,u=-(a-this.touchStart.y)*this.touchMultiplier;this.touchStart.x=o,this.touchStart.y=a,this.lastDelta={x:l,y:u},this.emitter.emit("scroll",{deltaX:l,deltaY:u,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=gs(-100,o,100),a=gs(-100,a,100)),o*=this.wheelMultiplier,a*=this.wheelMultiplier,this.emitter.emit("scroll",{deltaX:o,deltaY:a,event:s})},this.element=t,this.wheelMultiplier=e,this.touchMultiplier=r,this.normalizeWheel=n,this.touchStart={x:null,y:null},this.emitter=new ms,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(t,e){return this.emitter.on(t,e)}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})}},ys=class{constructor({wrapper:t=window,content:e=document.documentElement,wheelEventsTarget:r=t,eventsTarget:n=r,smoothWheel:s=!0,smoothTouch:o=!1,syncTouch:a=!1,syncTouchLerp:l=.1,__iosNoInertiaSyncTouchLerp:u=.4,touchInertiaMultiplier:f=35,duration:d,easing:h=S=>Math.min(1,1.001-Math.pow(2,-10*S)),lerp:c=!d&&.1,infinite:_=!1,orientation:p="vertical",gestureOrientation:g="vertical",touchMultiplier:y=1,wheelMultiplier:m=1,normalizeWheel:v=!1,autoResize:b=!0}={}){this.onVirtualScroll=({deltaX:S,deltaY:C,event:w})=>{if(w.ctrlKey)return;let M=w.type.includes("touch"),E=w.type.includes("wheel");if(this.options.gestureOrientation==="both"&&S===0&&C===0||this.options.gestureOrientation==="vertical"&&C===0||this.options.gestureOrientation==="horizontal"&&S===0||M&&this.options.gestureOrientation==="vertical"&&this.scroll===0&&!this.options.infinite&&C<=0)return;let P=w.composedPath();if(P=P.slice(0,P.indexOf(this.rootElement)),P.find(z=>{var L;return(z.hasAttribute==null?void 0:z.hasAttribute("data-lenis-prevent"))||M&&(z.hasAttribute==null?void 0:z.hasAttribute("data-lenis-prevent-touch"))||E&&(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 w.preventDefault();if(this.isSmooth=(this.options.smoothTouch||this.options.syncTouch)&&M||this.options.smoothWheel&&E,!this.isSmooth)return this.isScrolling=!1,void this.animate.stop();w.preventDefault();let R=C;this.options.gestureOrientation==="both"?R=Math.abs(C)>Math.abs(S)?C:S:this.options.gestureOrientation==="horizontal"&&(R=S);let O=M&&this.options.syncTouch,X=M&&w.type==="touchend"&&Math.abs(R)>1;X&&(R=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+R,sa({programmatic:!1},O&&{lerp:X?this.syncTouchLerp:this.options.__iosNoInertiaSyncTouchLerp}))},this.onScroll=()=>{if(!this.isScrolling){let S=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.velocity=0,this.direction=Math.sign(this.animatedScroll-S),this.emit()}},window.lenisVersion="1.0.27",t!==document.documentElement&&t!==document.body||(t=window),this.options={wrapper:t,content:e,wheelEventsTarget:r,eventsTarget:n,smoothWheel:s,smoothTouch:o,syncTouch:a,syncTouchLerp:l,__iosNoInertiaSyncTouchLerp:u,touchInertiaMultiplier:f,duration:d,easing:h,lerp:c,infinite:_,gestureOrientation:g,orientation:p,touchMultiplier:y,wheelMultiplier:m,normalizeWheel:v,autoResize:b},this.animate=new oa,this.emitter=new ms,this.dimensions=new aa({wrapper:t,content:e,autoResize:b}),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 la(n,{touchMultiplier:y,wheelMultiplier:m,normalizeWheel:v}),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(t,e){return this.emitter.on(t,e)}off(t,e){return this.emitter.off(t,e)}setScroll(t){this.isHorizontal?this.rootElement.scrollLeft=t:this.rootElement.scrollTop=t}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(t){let e=t-(this.time||t);this.time=t,this.animate.advance(.001*e)}scrollTo(t,{offset:e=0,immediate:r=!1,lock:n=!1,duration:s=this.options.duration,easing:o=this.options.easing,lerp:a=!s&&this.options.lerp,onComplete:l=null,force:u=!1,programmatic:f=!0}={}){if(!this.isStopped&&!this.isLocked||u){if(["top","left","start"].includes(t))t=0;else if(["bottom","right","end"].includes(t))t=this.limit;else{var d;let h;if(typeof t=="string"?h=document.querySelector(t):(d=t)!=null&&d.nodeType&&(h=t),h){if(this.options.wrapper!==window){let _=this.options.wrapper.getBoundingClientRect();e-=this.isHorizontal?_.left:_.top}let c=h.getBoundingClientRect();t=(this.isHorizontal?c.left:c.top)+this.animatedScroll}}if(typeof t=="number"){if(t+=e,t=Math.round(t),this.options.infinite?f&&(this.targetScroll=this.animatedScroll=this.scroll):t=gs(0,t,this.limit),r)return this.animatedScroll=this.targetScroll=t,this.setScroll(this.scroll),this.reset(),void(l==null||l(this));if(!f){if(t===this.targetScroll)return;this.targetScroll=t}this.animate.fromTo(this.animatedScroll,t,{duration:s,easing:o,lerp:a,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(),l==null||l(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%(t=this.limit)+t)%t:this.animatedScroll;var t}get progress(){return this.limit===0?1:this.scroll/this.limit}get isSmooth(){return this.__isSmooth}set isSmooth(t){this.__isSmooth!==t&&(this.__isSmooth=t,this.toggleClass("lenis-smooth",t))}get isScrolling(){return this.__isScrolling}set isScrolling(t){this.__isScrolling!==t&&(this.__isScrolling=t,this.toggleClass("lenis-scrolling",t))}get isStopped(){return this.__isStopped}set isStopped(t){this.__isStopped!==t&&(this.__isStopped=t,this.toggleClass("lenis-stopped",t))}get isLocked(){return this.__isLocked}set isLocked(t){this.__isLocked!==t&&(this.__isLocked=t,this.toggleClass("lenis-locked",t))}get className(){let t="lenis";return this.isStopped&&(t+=" lenis-stopped"),this.isLocked&&(t+=" lenis-locked"),this.isScrolling&&(t+=" lenis-scrolling"),this.isSmooth&&(t+=" lenis-smooth"),t}toggleClass(t,e){this.rootElement.classList.toggle(t,e),this.emitter.emit("className change",this)}};function dr(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function sf(i,t){i.prototype=Object.create(t.prototype),i.prototype.constructor=i,i.__proto__=t}var ye={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Fi={duration:.5,overwrite:!1,delay:0},Ma,Gt,gt,ke=1e8,nt=1/ke,ga=Math.PI*2,bp=ga/4,wp=0,of=Math.sqrt,Sp=Math.cos,Tp=Math.sin,kt=function(t){return typeof t=="string"},mt=function(t){return typeof t=="function"},_r=function(t){return typeof t=="number"},Os=function(t){return typeof t=="undefined"},ir=function(t){return typeof t=="object"},me=function(t){return t!==!1},Pa=function(){return typeof window!="undefined"},xs=function(t){return mt(t)||kt(t)},af=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Kt=Array.isArray,ma=/(?:-?\.?\d|\.)+/gi,Oa=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ci=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,ua=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Aa=/[+-]=-?[.\d]+/,lf=/[^,'"\[\]\s]+/gi,Cp=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ut,Ae,ya,ka,Te={},Ss={},uf,ff=function(t){return(Ss=fi(t,Te))&&Qt},As=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},Ts=function(t,e){return!e&&console.warn(t)},cf=function(t,e){return t&&(Te[t]=e)&&Ss&&(Ss[t]=e)||Te},Tn=function(){return 0},Ep={suppressEvents:!0,isStart:!0,kill:!1},vs={suppressEvents:!0,kill:!1},Mp={suppressEvents:!0},Ra={},Rr=[],xa={},hf,_e={},fa={},Qu=30,bs=[],Da="",La=function(t){var e=t[0],r,n;if(ir(e)||mt(e)||(t=[t]),!(r=(e._gsap||{}).harness)){for(n=bs.length;n--&&!bs[n].targetTest(e););r=bs[n]}for(n=t.length;n--;)t[n]&&(t[n]._gsap||(t[n]._gsap=new Fa(t[n],r)))||t.splice(n,1);return t},Dr=function(t){return t._gsap||La(Re(t))[0]._gsap},za=function(t,e,r){return(r=t[e])&&mt(r)?t[e]():Os(r)&&t.getAttribute&&t.getAttribute(e)||r},re=function(t,e){return(t=t.split(",")).forEach(e)||t},yt=function(t){return Math.round(t*1e5)/1e5||0},Vt=function(t){return Math.round(t*1e7)/1e7||0},hi=function(t,e){var r=e.charAt(0),n=parseFloat(e.substr(2));return t=parseFloat(t),r==="+"?t+n:r==="-"?t-n:r==="*"?t*n:t/n},Pp=function(t,e){for(var r=e.length,n=0;t.indexOf(e[n])<0&&++n<r;);return n<r},Cs=function(){var t=Rr.length,e=Rr.slice(0),r,n;for(xa={},Rr.length=0,r=0;r<t;r++)n=e[r],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},df=function(t,e,r,n){Rr.length&&!Gt&&Cs(),t.render(e,r,n||Gt&&e<0&&(t._initted||t._startAt)),Rr.length&&!Gt&&Cs()},pf=function(t){var e=parseFloat(t);return(e||e===0)&&(t+"").match(lf).length<2?e:kt(t)?t.trim():t},_f=function(t){return t},Le=function(t,e){for(var r in e)r in t||(t[r]=e[r]);return t},Op=function(t){return function(e,r){for(var n in r)n in e||n==="duration"&&t||n==="ease"||(e[n]=r[n])}},fi=function(t,e){for(var r in e)t[r]=e[r];return t},Ju=function i(t,e){for(var r in e)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(t[r]=ir(e[r])?i(t[r]||(t[r]={}),e[r]):e[r]);return t},Es=function(t,e){var r={},n;for(n in t)n in e||(r[n]=t[n]);return r},bn=function(t){var e=t.parent||ut,r=t.keyframes?Op(Kt(t.keyframes)):Le;if(me(t.inherit))for(;e;)r(t,e.vars.defaults),e=e.parent||e._dp;return t},Ap=function(t,e){for(var r=t.length,n=r===e.length;n&&r--&&t[r]===e[r];);return r<0},gf=function(t,e,r,n,s){r===void 0&&(r="_first"),n===void 0&&(n="_last");var o=t[n],a;if(s)for(a=e[s];o&&o[s]>a;)o=o._prev;return o?(e._next=o._next,o._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[n]=e,e._prev=o,e.parent=e._dp=t,e},ks=function(t,e,r,n){r===void 0&&(r="_first"),n===void 0&&(n="_last");var s=e._prev,o=e._next;s?s._next=o:t[r]===e&&(t[r]=o),o?o._prev=s:t[n]===e&&(t[n]=s),e._next=e._prev=e.parent=null},Lr=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},ai=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t},kp=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},va=function(t,e,r,n){return t._startAt&&(Gt?t._startAt.revert(vs):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,n))},Rp=function i(t){return!t||t._ts&&i(t.parent)},Zu=function(t){return t._repeat?Ni(t._tTime,t=t.duration()+t._rDelay)*t:0},Ni=function(t,e){var r=Math.floor(t/=e);return t&&r===t?r-1:r},Ms=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Rs=function(t){return t._end=Vt(t._start+(t._tDur/Math.abs(t._ts||t._rts||nt)||0))},Ds=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=Vt(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Rs(t),r._dirty||ai(r,t)),t},mf=function(t,e){var r;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(r=Ms(t.rawTime(),e),(!e._dur||Mn(0,e.totalDuration(),r)-e._tTime>nt)&&e.render(r,!0)),ai(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;t._zTime=-nt}},rr=function(t,e,r,n){return e.parent&&Lr(e),e._start=Vt((_r(r)?r:r||t!==ut?Oe(t,r,e):t._time)+e._delay),e._end=Vt(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),gf(t,e,"_first","_last",t._sort?"_start":0),ba(e)||(t._recent=e),n||mf(t,e),t._ts<0&&Ds(t,t._tTime),t},yf=function(t,e){return(Te.ScrollTrigger||As("scrollTrigger",e))&&Te.ScrollTrigger.create(e,t)},xf=function(t,e,r,n,s){if(Ya(t,e,s),!t._initted)return 1;if(!r&&t._pt&&!Gt&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&hf!==ge.frame)return Rr.push(t),t._lazy=[s,n],1},Dp=function i(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||i(e))},ba=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},Lp=function(t,e,r,n){var s=t.ratio,o=e<0||!e&&(!t._start&&Dp(t)&&!(!t._initted&&ba(t))||(t._ts<0||t._dp._ts<0)&&!ba(t))?0:1,a=t._rDelay,l=0,u,f,d;if(a&&t._repeat&&(l=Mn(0,t._tDur,e),f=Ni(l,a),t._yoyo&&f&1&&(o=1-o),f!==Ni(t._tTime,a)&&(s=1-o,t.vars.repeatRefresh&&t._initted&&t.invalidate())),o!==s||Gt||n||t._zTime===nt||!e&&t._zTime){if(!t._initted&&xf(t,e,n,r,l))return;for(d=t._zTime,t._zTime=e||(r?nt:0),r||(r=e&&!d),t.ratio=o,t._from&&(o=1-o),t._time=0,t._tTime=l,u=t._pt;u;)u.r(o,u.d),u=u._next;e<0&&va(t,e,r,!0),t._onUpdate&&!r&&De(t,"onUpdate"),l&&t._repeat&&!r&&t.parent&&De(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===o&&(o&&Lr(t,1),!r&&!Gt&&(De(t,o?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},zp=function(t,e,r){var n;if(r>e)for(n=t._first;n&&n._start<=r;){if(n.data==="isPause"&&n._start>e)return n;n=n._next}else for(n=t._last;n&&n._start>=r;){if(n.data==="isPause"&&n._start<e)return n;n=n._prev}},Bi=function(t,e,r,n){var s=t._repeat,o=Vt(e)||0,a=t._tTime/t._tDur;return a&&!n&&(t._time*=o/t._dur),t._dur=o,t._tDur=s?s<0?1e10:Vt(o*(s+1)+t._rDelay*s):o,a>0&&!n&&Ds(t,t._tTime=t._tDur*a),t.parent&&Rs(t),r||ai(t.parent,t),t},tf=function(t){return t instanceof $t?ai(t):Bi(t,t._dur)},Ip={_start:0,endTime:Tn,totalDuration:Tn},Oe=function i(t,e,r){var n=t.labels,s=t._recent||Ip,o=t.duration()>=ke?s.endTime(!1):t._dur,a,l,u;return kt(e)&&(isNaN(e)||e in n)?(l=e.charAt(0),u=e.substr(-1)==="%",a=e.indexOf("="),l==="<"||l===">"?(a>=0&&(e=e.replace(/=/,"")),(l==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(e.substr(1))||0)*(u?(a<0?s:r).totalDuration()/100:1)):a<0?(e in n||(n[e]=o),n[e]):(l=parseFloat(e.charAt(a-1)+e.substr(a+1)),u&&r&&(l=l/100*(Kt(r)?r[0]:r).totalDuration()),a>1?i(t,e.substr(0,a-1),r)+l:o+l)):e==null?o:+e},wn=function(t,e,r){var n=_r(e[1]),s=(n?2:1)+(t<2?0:1),o=e[s],a,l;if(n&&(o.duration=e[1]),o.parent=r,t){for(a=o,l=r;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=me(l.vars.inherit)&&l.parent;o.immediateRender=me(a.immediateRender),t<2?o.runBackwards=1:o.startAt=e[s-1]}return new wt(e[0],o,e[s+1])},zr=function(t,e){return t||t===0?e(t):e},Mn=function(t,e,r){return r<t?t:r>e?e:r},Wt=function(t,e){return!kt(t)||!(e=Cp.exec(t))?"":e[1]},Fp=function(t,e,r){return zr(r,function(n){return Mn(t,e,n)})},wa=[].slice,vf=function(t,e){return t&&ir(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&ir(t[0]))&&!t.nodeType&&t!==Ae},Np=function(t,e,r){return r===void 0&&(r=[]),t.forEach(function(n){var s;return kt(n)&&!e||vf(n,1)?(s=r).push.apply(s,Re(n)):r.push(n)})||r},Re=function(t,e,r){return gt&&!e&&gt.selector?gt.selector(t):kt(t)&&!r&&(ya||!Yi())?wa.call((e||ka).querySelectorAll(t),0):Kt(t)?Np(t,r):vf(t)?wa.call(t,0):t?[t]:[]},Sa=function(t){return t=Re(t)[0]||Ts("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return Re(e,r.querySelectorAll?r:r===t?Ts("Invalid scope")||ka.createElement("div"):t)}},bf=function(t){return t.sort(function(){return .5-Math.random()})},wf=function(t){if(mt(t))return t;var e=ir(t)?t:{each:t},r=li(e.ease),n=e.from||0,s=parseFloat(e.base)||0,o={},a=n>0&&n<1,l=isNaN(n)||a,u=e.axis,f=n,d=n;return kt(n)?f=d={center:.5,edges:.5,end:1}[n]||0:!a&&l&&(f=n[0],d=n[1]),function(h,c,_){var p=(_||e).length,g=o[p],y,m,v,b,S,C,w,M,E;if(!g){if(E=e.grid==="auto"?0:(e.grid||[1,ke])[1],!E){for(w=-ke;w<(w=_[E++].getBoundingClientRect().left)&&E<p;);E--}for(g=o[p]=[],y=l?Math.min(E,p)*f-.5:n%E,m=E===ke?0:l?p*d/E-.5:n/E|0,w=0,M=ke,C=0;C<p;C++)v=C%E-y,b=m-(C/E|0),g[C]=S=u?Math.abs(u==="y"?b:v):of(v*v+b*b),S>w&&(w=S),S<M&&(M=S);n==="random"&&bf(g),g.max=w-M,g.min=M,g.v=p=(parseFloat(e.amount)||parseFloat(e.each)*(E>p?p-1:u?u==="y"?p/E:E:Math.max(E,p/E))||0)*(n==="edges"?-1:1),g.b=p<0?s-p:s,g.u=Wt(e.amount||e.each)||0,r=r&&p<0?kf(r):r}return p=(g[h]-g.min)/g.max||0,Vt(g.b+(r?r(p):p)*g.v)+g.u}},Ta=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var n=Vt(Math.round(parseFloat(r)/t)*t*e);return(n-n%1)/e+(_r(r)?0:Wt(r))}},Sf=function(t,e){var r=Kt(t),n,s;return!r&&ir(t)&&(n=r=t.radius||ke,t.values?(t=Re(t.values),(s=!_r(t[0]))&&(n*=n)):t=Ta(t.increment)),zr(e,r?mt(t)?function(o){return s=t(o),Math.abs(s-o)<=n?s:o}:function(o){for(var a=parseFloat(s?o.x:o),l=parseFloat(s?o.y:0),u=ke,f=0,d=t.length,h,c;d--;)s?(h=t[d].x-a,c=t[d].y-l,h=h*h+c*c):h=Math.abs(t[d]-a),h<u&&(u=h,f=d);return f=!n||u<=n?t[f]:o,s||f===o||_r(o)?f:f+Wt(o)}:Ta(t))},Tf=function(t,e,r,n){return zr(Kt(t)?!e:r===!0?!!(r=0):!n,function(){return Kt(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(n=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+r*.99))/r)*r*n)/n})},Bp=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return e.reduce(function(s,o){return o(s)},n)}},Yp=function(t,e){return function(r){return t(parseFloat(r))+(e||Wt(r))}},Xp=function(t,e,r){return Ef(t,e,0,1,r)},Cf=function(t,e,r){return zr(r,function(n){return t[~~e(n)]})},Vp=function i(t,e,r){var n=e-t;return Kt(t)?Cf(t,i(0,t.length),e):zr(r,function(s){return(n+(s-t)%n)%n+t})},Wp=function i(t,e,r){var n=e-t,s=n*2;return Kt(t)?Cf(t,i(0,t.length-1),e):zr(r,function(o){return o=(s+(o-t)%s)%s||0,t+(o>n?s-o:o)})},Xi=function(t){for(var e=0,r="",n,s,o,a;~(n=t.indexOf("random(",e));)o=t.indexOf(")",n),a=t.charAt(n+7)==="[",s=t.substr(n+7,o-n-7).match(a?lf:ma),r+=t.substr(e,n-e)+Tf(a?s:+s[0],a?0:+s[1],+s[2]||1e-5),e=o+1;return r+t.substr(e,t.length-e)},Ef=function(t,e,r,n,s){var o=e-t,a=n-r;return zr(s,function(l){return r+((l-t)/o*a||0)})},Up=function i(t,e,r,n){var s=isNaN(t+e)?0:function(c){return(1-c)*t+c*e};if(!s){var o=kt(t),a={},l,u,f,d,h;if(r===!0&&(n=1)&&(r=null),o)t={p:t},e={p:e};else if(Kt(t)&&!Kt(e)){for(f=[],d=t.length,h=d-2,u=1;u<d;u++)f.push(i(t[u-1],t[u]));d--,s=function(_){_*=d;var p=Math.min(h,~~_);return f[p](_-p)},r=e}else n||(t=fi(Kt(t)?[]:{},t));if(!f){for(l in e)Na.call(a,t,l,"get",e[l]);s=function(_){return Wa(_,a)||(o?t.p:t)}}}return zr(r,s)},ef=function(t,e,r){var n=t.labels,s=ke,o,a,l;for(o in n)a=n[o]-e,a<0==!!r&&a&&s>(a=Math.abs(a))&&(l=o,s=a);return l},De=function(t,e,r){var n=t.vars,s=n[e],o=gt,a=t._ctx,l,u,f;if(s)return l=n[e+"Params"],u=n.callbackScope||t,r&&Rr.length&&Cs(),a&&(gt=a),f=l?s.apply(u,l):s.call(u),gt=o,f},xn=function(t){return Lr(t),t.scrollTrigger&&t.scrollTrigger.kill(!!Gt),t.progress()<1&&De(t,"onInterrupt"),t},Ii,Mf=[],Pf=function(t){if(Pa()&&t){t=!t.name&&t.default||t;var e=t.name,r=mt(t),n=e&&!r&&t.init?function(){this._props=[]}:t,s={init:Tn,render:Wa,add:Na,kill:o_,modifier:s_,rawVars:0},o={targetTest:0,get:0,getSetter:Ls,aliases:{},register:0};if(Yi(),t!==n){if(_e[e])return;Le(n,Le(Es(t,s),o)),fi(n.prototype,fi(s,Es(t,o))),_e[n.prop=e]=n,t.targetTest&&(bs.push(n),Ra[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}cf(e,n),t.register&&t.register(Qt,n,ie)}else t&&Mf.push(t)},it=255,vn={aqua:[0,it,it],lime:[0,it,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,it],navy:[0,0,128],white:[it,it,it],olive:[128,128,0],yellow:[it,it,0],orange:[it,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[it,0,0],pink:[it,192,203],cyan:[0,it,it],transparent:[it,it,it,0]},ca=function(t,e,r){return t+=t<0?1:t>1?-1:0,(t*6<1?e+(r-e)*t*6:t<.5?r:t*3<2?e+(r-e)*(2/3-t)*6:e)*it+.5|0},Of=function(t,e,r){var n=t?_r(t)?[t>>16,t>>8&it,t&it]:0:vn.black,s,o,a,l,u,f,d,h,c,_;if(!n){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),vn[t])n=vn[t];else if(t.charAt(0)==="#"){if(t.length<6&&(s=t.charAt(1),o=t.charAt(2),a=t.charAt(3),t="#"+s+s+o+o+a+a+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return n=parseInt(t.substr(1,6),16),[n>>16,n>>8&it,n&it,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),n=[t>>16,t>>8&it,t&it]}else if(t.substr(0,3)==="hsl"){if(n=_=t.match(ma),!e)l=+n[0]%360/360,u=+n[1]/100,f=+n[2]/100,o=f<=.5?f*(u+1):f+u-f*u,s=f*2-o,n.length>3&&(n[3]*=1),n[0]=ca(l+1/3,s,o),n[1]=ca(l,s,o),n[2]=ca(l-1/3,s,o);else if(~t.indexOf("="))return n=t.match(Oa),r&&n.length<4&&(n[3]=1),n}else n=t.match(ma)||vn.transparent;n=n.map(Number)}return e&&!_&&(s=n[0]/it,o=n[1]/it,a=n[2]/it,d=Math.max(s,o,a),h=Math.min(s,o,a),f=(d+h)/2,d===h?l=u=0:(c=d-h,u=f>.5?c/(2-d-h):c/(d+h),l=d===s?(o-a)/c+(o<a?6:0):d===o?(a-s)/c+2:(s-o)/c+4,l*=60),n[0]=~~(l+.5),n[1]=~~(u*100+.5),n[2]=~~(f*100+.5)),r&&n.length<4&&(n[3]=1),n},Af=function(t){var e=[],r=[],n=-1;return t.split(pr).forEach(function(s){var o=s.match(ci)||[];e.push.apply(e,o),r.push(n+=o.length+1)}),e.c=r,e},rf=function(t,e,r){var n="",s=(t+n).match(pr),o=e?"hsla(":"rgba(",a=0,l,u,f,d;if(!s)return t;if(s=s.map(function(h){return(h=Of(h,e,1))&&o+(e?h[0]+","+h[1]+"%,"+h[2]+"%,"+h[3]:h.join(","))+")"}),r&&(f=Af(t),l=r.c,l.join(n)!==f.c.join(n)))for(u=t.replace(pr,"1").split(ci),d=u.length-1;a<d;a++)n+=u[a]+(~l.indexOf(a)?s.shift()||o+"0,0,0,0)":(f.length?f:s.length?s:r).shift());if(!u)for(u=t.split(pr),d=u.length-1;a<d;a++)n+=u[a]+s[a];return n+u[d]},pr=function(){var i="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",t;for(t in vn)i+="|"+t+"\\b";return new RegExp(i+")","gi")}(),Hp=/hsl[a]?\(/,Ia=function(t){var e=t.join(" "),r;if(pr.lastIndex=0,pr.test(e))return r=Hp.test(e),t[1]=rf(t[1],r),t[0]=rf(t[0],r,Af(t[1])),!0},Cn,ge=function(){var i=Date.now,t=500,e=33,r=i(),n=r,s=1e3/240,o=s,a=[],l,u,f,d,h,c,_=function p(g){var y=i()-n,m=g===!0,v,b,S,C;if(y>t&&(r+=y-e),n+=y,S=n-r,v=S-o,(v>0||m)&&(C=++d.frame,h=S-d.time*1e3,d.time=S=S/1e3,o+=v+(v>=s?4:s-v),b=1),m||(l=u(p)),b)for(c=0;c<a.length;c++)a[c](S,h,C,g)};return d={time:0,frame:0,tick:function(){_(!0)},deltaRatio:function(g){return h/(1e3/(g||60))},wake:function(){uf&&(!ya&&Pa()&&(Ae=ya=window,ka=Ae.document||{},Te.gsap=Qt,(Ae.gsapVersions||(Ae.gsapVersions=[])).push(Qt.version),ff(Ss||Ae.GreenSockGlobals||!Ae.gsap&&Ae||{}),f=Ae.requestAnimationFrame,Mf.forEach(Pf)),l&&d.sleep(),u=f||function(g){return setTimeout(g,o-d.time*1e3+1|0)},Cn=1,_(2))},sleep:function(){(f?Ae.cancelAnimationFrame:clearTimeout)(l),Cn=0,u=Tn},lagSmoothing:function(g,y){t=g||1/0,e=Math.min(y||33,t)},fps:function(g){s=1e3/(g||240),o=d.time*1e3+s},add:function(g,y,m){var v=y?function(b,S,C,w){g(b,S,C,w),d.remove(v)}:g;return d.remove(g),a[m?"unshift":"push"](v),Yi(),v},remove:function(g,y){~(y=a.indexOf(g))&&a.splice(y,1)&&c>=y&&c--},_listeners:a},d}(),Yi=function(){return!Cn&&ge.wake()},j={},qp=/^[\d.\-M][\d.\-,\s]/,jp=/["']/g,$p=function(t){for(var e={},r=t.substr(1,t.length-3).split(":"),n=r[0],s=1,o=r.length,a,l,u;s<o;s++)l=r[s],a=s!==o-1?l.lastIndexOf(","):l.length,u=l.substr(0,a),e[n]=isNaN(u)?u.replace(jp,"").trim():+u,n=l.substr(a+1).trim();return e},Gp=function(t){var e=t.indexOf("(")+1,r=t.indexOf(")"),n=t.indexOf("(",e);return t.substring(e,~n&&n<r?t.indexOf(")",r+1):r)},Kp=function(t){var e=(t+"").split("("),r=j[e[0]];return r&&e.length>1&&r.config?r.config.apply(null,~t.indexOf("{")?[$p(e[1])]:Gp(t).split(",").map(pf)):j._CE&&qp.test(t)?j._CE("",t):r},kf=function(t){return function(e){return 1-t(1-e)}},Rf=function i(t,e){for(var r=t._first,n;r;)r instanceof $t?i(r,e):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==e&&(r.timeline?i(r.timeline,e):(n=r._ease,r._ease=r._yEase,r._yEase=n,r._yoyo=e)),r=r._next},li=function(t,e){return t&&(mt(t)?t:j[t]||Kp(t))||e},di=function(t,e,r,n){r===void 0&&(r=function(l){return 1-e(1-l)}),n===void 0&&(n=function(l){return l<.5?e(l*2)/2:1-e((1-l)*2)/2});var s={easeIn:e,easeOut:r,easeInOut:n},o;return re(t,function(a){j[a]=Te[a]=s,j[o=a.toLowerCase()]=r;for(var l in s)j[o+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=j[a+"."+l]=s[l]}),s},Df=function(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},ha=function i(t,e,r){var n=e>=1?e:1,s=(r||(t?.3:.45))/(e<1?e:1),o=s/ga*(Math.asin(1/n)||0),a=function(f){return f===1?1:n*Math.pow(2,-10*f)*Tp((f-o)*s)+1},l=t==="out"?a:t==="in"?function(u){return 1-a(1-u)}:Df(a);return s=ga/s,l.config=function(u,f){return i(t,u,f)},l},da=function i(t,e){e===void 0&&(e=1.70158);var r=function(o){return o?--o*o*((e+1)*o+e)+1:0},n=t==="out"?r:t==="in"?function(s){return 1-r(1-s)}:Df(r);return n.config=function(s){return i(t,s)},n};re("Linear,Quad,Cubic,Quart,Quint,Strong",function(i,t){var e=t<5?t+1:t;di(i+",Power"+(e-1),t?function(r){return Math.pow(r,e)}:function(r){return r},function(r){return 1-Math.pow(1-r,e)},function(r){return r<.5?Math.pow(r*2,e)/2:1-Math.pow((1-r)*2,e)/2})});j.Linear.easeNone=j.none=j.Linear.easeIn;di("Elastic",ha("in"),ha("out"),ha());(function(i,t){var e=1/t,r=2*e,n=2.5*e,s=function(a){return a<e?i*a*a:a<r?i*Math.pow(a-1.5/t,2)+.75:a<n?i*(a-=2.25/t)*a+.9375:i*Math.pow(a-2.625/t,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-(of(1-i*i)-1)});di("Sine",function(i){return i===1?1:-Sp(i*bp)+1});di("Back",da("in"),da("out"),da());j.SteppedEase=j.steps=Te.SteppedEase={config:function(t,e){t===void 0&&(t=1);var r=1/t,n=t+(e?0:1),s=e?1:0,o=1-nt;return function(a){return((n*Mn(0,o,a)|0)+s)*r}}};Fi.ease=j["quad.out"];re("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(i){return Da+=i+","+i+"Params,"});var Fa=function(t,e){this.id=wp++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:za,this.set=e?e.getSetter:Ls},En=function(){function i(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,Bi(this,+e.duration,1,1),this.data=e.data,gt&&(this._ctx=gt,gt.data.push(this)),Cn||ge.wake()}var t=i.prototype;return t.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},t.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},t.totalDuration=function(r){return arguments.length?(this._dirty=0,Bi(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(r,n){if(Yi(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(Ds(this,r),!s._dp||s.parent||mf(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)&&rr(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!n||this._initted&&Math.abs(this._zTime)===nt||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),df(this,r,n)),this},t.time=function(r,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Zu(this))%(this._dur+this._rDelay)||(r?this._dur:0),n):this._time},t.totalProgress=function(r,n){return arguments.length?this.totalTime(this.totalDuration()*r,n):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},t.progress=function(r,n){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+Zu(this),n):this.duration()?Math.min(1,this._time/this._dur):this.ratio},t.iteration=function(r,n){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*s,n):this._repeat?Ni(this._tTime,s)+1:1},t.timeScale=function(r){if(!arguments.length)return this._rts===-nt?0:this._rts;if(this._rts===r)return this;var n=this.parent&&this._ts?Ms(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-nt?0:this._rts,this.totalTime(Mn(-Math.abs(this._delay),this._tDur,n),!0),Rs(this),kp(this)},t.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)!==nt&&(this._tTime-=nt)))),this):this._ps},t.startTime=function(r){if(arguments.length){this._start=r;var n=this.parent||this._dp;return n&&(n._sort||!this.parent)&&rr(n,this,r-this._delay),this}return this._start},t.endTime=function(r){return this._start+(me(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.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?Ms(n.rawTime(r),this):this._tTime:this._tTime},t.revert=function(r){r===void 0&&(r=Mp);var n=Gt;return Gt=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),Gt=n,this},t.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},t.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,tf(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(r){if(arguments.length){var n=this._time;return this._rDelay=r,tf(this),n?this.time(n):this}return this._rDelay},t.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},t.seek=function(r,n){return this.totalTime(Oe(this,r),me(n))},t.restart=function(r,n){return this.play().totalTime(r?-this._delay:0,me(n))},t.play=function(r,n){return r!=null&&this.seek(r,n),this.reversed(!1).paused(!1)},t.reverse=function(r,n){return r!=null&&this.seek(r||this.totalDuration(),n),this.reversed(!0).paused(!1)},t.pause=function(r,n){return r!=null&&this.seek(r,n),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-nt:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-nt,this},t.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)-nt)},t.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]},t.then=function(r){var n=this;return new Promise(function(s){var o=mt(r)?r:_f,a=function(){var u=n.then;n.then=null,mt(o)&&(o=o(n))&&(o.then||o===n)&&(n.then=u),s(o),n.then=u};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?a():n._prom=a})},t.kill=function(){xn(this)},i}();Le(En.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:-nt,_prom:0,_ps:!1,_rts:1});var $t=function(i){sf(t,i);function t(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=me(r.sortChildren),ut&&rr(r.parent||ut,dr(s),n),r.reversed&&s.reverse(),r.paused&&s.paused(!0),r.scrollTrigger&&yf(dr(s),r.scrollTrigger),s}var e=t.prototype;return e.to=function(n,s,o){return wn(0,arguments,this),this},e.from=function(n,s,o){return wn(1,arguments,this),this},e.fromTo=function(n,s,o,a){return wn(2,arguments,this),this},e.set=function(n,s,o){return s.duration=0,s.parent=this,bn(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new wt(n,s,Oe(this,o),1),this},e.call=function(n,s,o){return rr(this,wt.delayedCall(0,n,s),o)},e.staggerTo=function(n,s,o,a,l,u,f){return o.duration=s,o.stagger=o.stagger||a,o.onComplete=u,o.onCompleteParams=f,o.parent=this,new wt(n,o,Oe(this,l)),this},e.staggerFrom=function(n,s,o,a,l,u,f){return o.runBackwards=1,bn(o).immediateRender=me(o.immediateRender),this.staggerTo(n,s,o,a,l,u,f)},e.staggerFromTo=function(n,s,o,a,l,u,f,d){return a.startAt=o,bn(a).immediateRender=me(a.immediateRender),this.staggerTo(n,s,a,l,u,f,d)},e.render=function(n,s,o){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,f=n<=0?0:Vt(n),d=this._zTime<0!=n<0&&(this._initted||!u),h,c,_,p,g,y,m,v,b,S,C,w;if(this!==ut&&f>l&&n>=0&&(f=l),f!==this._tTime||o||d){if(a!==this._time&&u&&(f+=this._time-a,n+=this._time-a),h=f,b=this._start,v=this._ts,y=!v,d&&(u||(a=this._zTime),(n||!s)&&(this._zTime=n)),this._repeat){if(C=this._yoyo,g=u+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(g*100+n,s,o);if(h=Vt(f%g),f===l?(p=this._repeat,h=u):(p=~~(f/g),p&&p===f/g&&(h=u,p--),h>u&&(h=u)),S=Ni(this._tTime,g),!a&&this._tTime&&S!==p&&this._tTime-S*g-this._dur<=0&&(S=p),C&&p&1&&(h=u-h,w=1),p!==S&&!this._lock){var M=C&&S&1,E=M===(C&&p&1);if(p<S&&(M=!M),a=M?0:f%u?u:f,this._lock=1,this.render(a||(w?0:Vt(p*g)),s,!u)._lock=0,this._tTime=f,!s&&this.parent&&De(this,"onRepeat"),this.vars.repeatRefresh&&!w&&(this.invalidate()._lock=1),a&&a!==this._time||y!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,l=this._tDur,E&&(this._lock=2,a=M?u:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!w&&this.invalidate()),this._lock=0,!this._ts&&!y)return this;Rf(this,w)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(m=zp(this,Vt(a),Vt(h)),m&&(f-=h-(h=m._start))),this._tTime=f,this._time=h,this._act=!v,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,a=0),!a&&h&&!s&&!p&&(De(this,"onStart"),this._tTime!==f))return this;if(h>=a&&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&&!y){m=0,_&&(f+=this._zTime=-nt);break}}c=_}else{c=this._last;for(var P=n<0?n:h;c;){if(_=c._prev,(c._act||P<=c._end)&&c._ts&&m!==c){if(c.parent!==this)return this.render(n,s,o);if(c.render(c._ts>0?(P-c._start)*c._ts:(c._dirty?c.totalDuration():c._tDur)+(P-c._start)*c._ts,s,o||Gt&&(c._initted||c._startAt)),h!==this._time||!this._ts&&!y){m=0,_&&(f+=this._zTime=P?-nt:nt);break}}c=_}}if(m&&!s&&(this.pause(),m.render(h>=a?0:-nt)._zTime=h>=a?1:-1,this._ts))return this._start=b,Rs(this),this.render(n,s,o);this._onUpdate&&!s&&De(this,"onUpdate",!0),(f===l&&this._tTime>=this.totalDuration()||!f&&a)&&(b===this._start||Math.abs(v)!==Math.abs(this._ts))&&(this._lock||((n||!u)&&(f===l&&this._ts>0||!f&&this._ts<0)&&Lr(this,1),!s&&!(n<0&&!a)&&(f||a||!l)&&(De(this,f===l&&n>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(f<l&&this.timeScale()>0)&&this._prom())))}return this},e.add=function(n,s){var o=this;if(_r(s)||(s=Oe(this,s,n)),!(n instanceof En)){if(Kt(n))return n.forEach(function(a){return o.add(a,s)}),this;if(kt(n))return this.addLabel(n,s);if(mt(n))n=wt.delayedCall(0,n);else return this}return this!==n?rr(this,n,s):this},e.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=-ke);for(var l=[],u=this._first;u;)u._start>=a&&(u instanceof wt?s&&l.push(u):(o&&l.push(u),n&&l.push.apply(l,u.getChildren(!0,s,o)))),u=u._next;return l},e.getById=function(n){for(var s=this.getChildren(1,1,1),o=s.length;o--;)if(s[o].vars.id===n)return s[o]},e.remove=function(n){return kt(n)?this.removeLabel(n):mt(n)?this.killTweensOf(n):(ks(this,n),n===this._recent&&(this._recent=this._last),ai(this))},e.totalTime=function(n,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Vt(ge.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},e.addLabel=function(n,s){return this.labels[n]=Oe(this,s),this},e.removeLabel=function(n){return delete this.labels[n],this},e.addPause=function(n,s,o){var a=wt.delayedCall(0,s||Tn,o);return a.data="isPause",this._hasPause=1,rr(this,a,Oe(this,n))},e.removePause=function(n){var s=this._first;for(n=Oe(this,n);s;)s._start===n&&s.data==="isPause"&&Lr(s),s=s._next},e.killTweensOf=function(n,s,o){for(var a=this.getTweensOf(n,o),l=a.length;l--;)kr!==a[l]&&a[l].kill(n,s);return this},e.getTweensOf=function(n,s){for(var o=[],a=Re(n),l=this._first,u=_r(s),f;l;)l instanceof wt?Pp(l._targets,a)&&(u?(!kr||l._initted&&l._ts)&&l.globalTime(0)<=s&&l.globalTime(l.totalDuration())>s:!s||l.isActive())&&o.push(l):(f=l.getTweensOf(a,s)).length&&o.push.apply(o,f),l=l._next;return o},e.tweenTo=function(n,s){s=s||{};var o=this,a=Oe(o,n),l=s,u=l.startAt,f=l.onStart,d=l.onStartParams,h=l.immediateRender,c,_=wt.to(o,Le({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:s.duration||Math.abs((a-(u&&"time"in u?u.time:o._time))/o.timeScale())||nt,onStart:function(){if(o.pause(),!c){var g=s.duration||Math.abs((a-(u&&"time"in u?u.time:o._time))/o.timeScale());_._dur!==g&&Bi(_,g,0,1).render(_._time,!0,!0),c=1}f&&f.apply(_,d||[])}},s));return h?_.render(0):_},e.tweenFromTo=function(n,s,o){return this.tweenTo(s,Le({startAt:{time:Oe(this,n)}},o))},e.recent=function(){return this._recent},e.nextLabel=function(n){return n===void 0&&(n=this._time),ef(this,Oe(this,n))},e.previousLabel=function(n){return n===void 0&&(n=this._time),ef(this,Oe(this,n),1)},e.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+nt)},e.shiftChildren=function(n,s,o){o===void 0&&(o=0);for(var a=this._first,l=this.labels,u;a;)a._start>=o&&(a._start+=n,a._end+=n),a=a._next;if(s)for(u in l)l[u]>=o&&(l[u]+=n);return ai(this)},e.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)},e.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={}),ai(this)},e.totalDuration=function(n){var s=0,o=this,a=o._last,l=ke,u,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;a;)u=a._prev,a._dirty&&a.totalDuration(),f=a._start,f>l&&o._sort&&a._ts&&!o._lock?(o._lock=1,rr(o,a,f-a._delay,1)._lock=0):l=f,f<0&&a._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),l=0),a._end>s&&a._ts&&(s=a._end),a=u;Bi(o,o===ut&&o._time>s?o._time:s,1,1),o._dirty=0}return o._tDur},t.updateRoot=function(n){if(ut._ts&&(df(ut,Ms(n,ut)),hf=ge.frame),ge.frame>=Qu){Qu+=ye.autoSleep||120;var s=ut._first;if((!s||!s._ts)&&ye.autoSleep&&ge._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||ge.sleep()}}},t}(En);Le($t.prototype,{_lock:0,_hasPause:0,_forcing:0});var Qp=function(t,e,r,n,s,o,a){var l=new ie(this._pt,t,e,0,1,Va,null,s),u=0,f=0,d,h,c,_,p,g,y,m;for(l.b=r,l.e=n,r+="",n+="",(y=~n.indexOf("random("))&&(n=Xi(n)),o&&(m=[r,n],o(m,t,e),r=m[0],n=m[1]),h=r.match(ua)||[];d=ua.exec(n);)_=d[0],p=n.substring(u,d.index),c?c=(c+1)%5:p.substr(-5)==="rgba("&&(c=1),_!==h[f++]&&(g=parseFloat(h[f-1])||0,l._pt={_next:l._pt,p:p||f===1?p:",",s:g,c:_.charAt(1)==="="?hi(g,_)-g:parseFloat(_)-g,m:c&&c<4?Math.round:0},u=ua.lastIndex);return l.c=u<n.length?n.substring(u,n.length):"",l.fp=a,(Aa.test(n)||y)&&(l.e=0),this._pt=l,l},Na=function(t,e,r,n,s,o,a,l,u,f){mt(n)&&(n=n(s||0,t,o));var d=t[e],h=r!=="get"?r:mt(d)?u?t[e.indexOf("set")||!mt(t["get"+e.substr(3)])?e:"get"+e.substr(3)](u):t[e]():d,c=mt(d)?u?r_:If:Xa,_;if(kt(n)&&(~n.indexOf("random(")&&(n=Xi(n)),n.charAt(1)==="="&&(_=hi(h,n)+(Wt(h)||0),(_||_===0)&&(n=_))),!f||h!==n||Ca)return!isNaN(h*n)&&n!==""?(_=new ie(this._pt,t,e,+h||0,n-(h||0),typeof d=="boolean"?n_:Ff,0,c),u&&(_.fp=u),a&&_.modifier(a,this,t),this._pt=_):(!d&&!(e in t)&&As(e,n),Qp.call(this,t,e,h,n,c,l||ye.stringFilter,u))},Jp=function(t,e,r,n,s){if(mt(t)&&(t=Sn(t,s,e,r,n)),!ir(t)||t.style&&t.nodeType||Kt(t)||af(t))return kt(t)?Sn(t,s,e,r,n):t;var o={},a;for(a in t)o[a]=Sn(t[a],s,e,r,n);return o},Ba=function(t,e,r,n,s,o){var a,l,u,f;if(_e[t]&&(a=new _e[t]).init(s,a.rawVars?e[t]:Jp(e[t],n,s,o,r),r,n,o)!==!1&&(r._pt=l=new ie(r._pt,s,t,0,1,a.render,a,0,a.priority),r!==Ii))for(u=r._ptLookup[r._targets.indexOf(s)],f=a._props.length;f--;)u[a._props[f]]=l;return a},kr,Ca,Ya=function i(t,e,r){var n=t.vars,s=n.ease,o=n.startAt,a=n.immediateRender,l=n.lazy,u=n.onUpdate,f=n.onUpdateParams,d=n.callbackScope,h=n.runBackwards,c=n.yoyoEase,_=n.keyframes,p=n.autoRevert,g=t._dur,y=t._startAt,m=t._targets,v=t.parent,b=v&&v.data==="nested"?v.vars.targets:m,S=t._overwrite==="auto"&&!Ma,C=t.timeline,w,M,E,P,R,O,X,z,L,N,D,Y,Z;if(C&&(!_||!s)&&(s="none"),t._ease=li(s,Fi.ease),t._yEase=c?kf(li(c===!0?s:c,Fi.ease)):0,c&&t._yoyo&&!t._repeat&&(c=t._yEase,t._yEase=t._ease,t._ease=c),t._from=!C&&!!n.runBackwards,!C||_&&!n.stagger){if(z=m[0]?Dr(m[0]).harness:0,Y=z&&n[z.prop],w=Es(n,Ra),y&&(y._zTime<0&&y.progress(1),e<0&&h&&a&&!p?y.render(-1,!0):y.revert(h&&g?vs:Ep),y._lazy=0),o){if(Lr(t._startAt=wt.set(m,Le({data:"isStart",overwrite:!1,parent:v,immediateRender:!0,lazy:!y&&me(l),startAt:null,delay:0,onUpdate:u,onUpdateParams:f,callbackScope:d,stagger:0},o))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(Gt||!a&&!p)&&t._startAt.revert(vs),a&&g&&e<=0&&r<=0){e&&(t._zTime=e);return}}else if(h&&g&&!y){if(e&&(a=!1),E=Le({overwrite:!1,data:"isFromStart",lazy:a&&!y&&me(l),immediateRender:a,stagger:0,parent:v},w),Y&&(E[z.prop]=Y),Lr(t._startAt=wt.set(m,E)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(Gt?t._startAt.revert(vs):t._startAt.render(-1,!0)),t._zTime=e,!a)i(t._startAt,nt,nt);else if(!e)return}for(t._pt=t._ptCache=0,l=g&&me(l)||l&&!g,M=0;M<m.length;M++){if(R=m[M],X=R._gsap||La(m)[M]._gsap,t._ptLookup[M]=N={},xa[X.id]&&Rr.length&&Cs(),D=b===m?M:b.indexOf(R),z&&(L=new z).init(R,Y||w,t,D,b)!==!1&&(t._pt=P=new ie(t._pt,R,L.name,0,1,L.render,L,0,L.priority),L._props.forEach(function(x){N[x]=P}),L.priority&&(O=1)),!z||Y)for(E in w)_e[E]&&(L=Ba(E,w,t,D,R,b))?L.priority&&(O=1):N[E]=P=Na.call(t,R,E,"get",w[E],D,b,0,n.stringFilter);t._op&&t._op[M]&&t.kill(R,t._op[M]),S&&t._pt&&(kr=t,ut.killTweensOf(R,N,t.globalTime(e)),Z=!t.parent,kr=0),t._pt&&l&&(xa[X.id]=1)}O&&Ua(t),t._onInit&&t._onInit(t)}t._onUpdate=u,t._initted=(!t._op||t._pt)&&!Z,_&&e<=0&&C.render(ke,!0,!0)},Zp=function(t,e,r,n,s,o,a){var l=(t._pt&&t._ptCache||(t._ptCache={}))[e],u,f,d,h;if(!l)for(l=t._ptCache[e]=[],d=t._ptLookup,h=t._targets.length;h--;){if(u=d[h][e],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return Ca=1,t.vars[e]="+=0",Ya(t,a),Ca=0,1;l.push(u)}for(h=l.length;h--;)f=l[h],u=f._pt||f,u.s=(n||n===0)&&!s?n:u.s+(n||0)+o*u.c,u.c=r-u.s,f.e&&(f.e=yt(r)+Wt(f.e)),f.b&&(f.b=u.s+Wt(f.b))},t_=function(t,e){var r=t[0]?Dr(t[0]).harness:0,n=r&&r.aliases,s,o,a,l;if(!n)return e;s=fi({},e);for(o in n)if(o in s)for(l=n[o].split(","),a=l.length;a--;)s[l[a]]=s[o];return s},e_=function(t,e,r,n){var s=e.ease||n||"power1.inOut",o,a;if(Kt(e))a=r[t]||(r[t]=[]),e.forEach(function(l,u){return a.push({t:u/(e.length-1)*100,v:l,e:s})});else for(o in e)a=r[o]||(r[o]=[]),o==="ease"||a.push({t:parseFloat(t),v:e[o],e:s})},Sn=function(t,e,r,n,s){return mt(t)?t.call(e,r,n,s):kt(t)&&~t.indexOf("random(")?Xi(t):t},Lf=Da+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",zf={};re(Lf+",id,stagger,delay,duration,paused,scrollTrigger",function(i){return zf[i]=1});var wt=function(i){sf(t,i);function t(r,n,s,o){var a;typeof n=="number"&&(s.duration=n,n=s,s=null),a=i.call(this,o?n:bn(n))||this;var l=a.vars,u=l.duration,f=l.delay,d=l.immediateRender,h=l.stagger,c=l.overwrite,_=l.keyframes,p=l.defaults,g=l.scrollTrigger,y=l.yoyoEase,m=n.parent||ut,v=(Kt(r)||af(r)?_r(r[0]):"length"in n)?[r]:Re(r),b,S,C,w,M,E,P,R;if(a._targets=v.length?La(v):Ts("GSAP target "+r+" not found. https://greensock.com",!ye.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=c,_||h||xs(u)||xs(f)){if(n=a.vars,b=a.timeline=new $t({data:"nested",defaults:p||{},targets:m&&m.data==="nested"?m.vars.targets:v}),b.kill(),b.parent=b._dp=dr(a),b._start=0,h||xs(u)||xs(f)){if(w=v.length,P=h&&wf(h),ir(h))for(M in h)~Lf.indexOf(M)&&(R||(R={}),R[M]=h[M]);for(S=0;S<w;S++)C=Es(n,zf),C.stagger=0,y&&(C.yoyoEase=y),R&&fi(C,R),E=v[S],C.duration=+Sn(u,dr(a),S,E,v),C.delay=(+Sn(f,dr(a),S,E,v)||0)-a._delay,!h&&w===1&&C.delay&&(a._delay=f=C.delay,a._start+=f,C.delay=0),b.to(E,C,P?P(S,E,v):0),b._ease=j.none;b.duration()?u=f=0:a.timeline=0}else if(_){bn(Le(b.vars.defaults,{ease:"none"})),b._ease=li(_.ease||n.ease||"none");var O=0,X,z,L;if(Kt(_))_.forEach(function(N){return b.to(v,N,">")}),b.duration();else{C={};for(M in _)M==="ease"||M==="easeEach"||e_(M,_[M],C,_.easeEach);for(M in C)for(X=C[M].sort(function(N,D){return N.t-D.t}),O=0,S=0;S<X.length;S++)z=X[S],L={ease:z.e,duration:(z.t-(S?X[S-1].t:0))/100*u},L[M]=z.v,b.to(v,L,O),O+=L.duration;b.duration()<u&&b.to({},{duration:u-b.duration()})}}u||a.duration(u=b.duration())}else a.timeline=0;return c===!0&&!Ma&&(kr=dr(a),ut.killTweensOf(v),kr=0),rr(m,dr(a),s),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(d||!u&&!_&&a._start===Vt(m._time)&&me(d)&&Rp(dr(a))&&m.data!=="nested")&&(a._tTime=-nt,a.render(Math.max(0,-f)||0)),g&&yf(dr(a),g),a}var e=t.prototype;return e.render=function(n,s,o){var a=this._time,l=this._tDur,u=this._dur,f=n<0,d=n>l-nt&&!f?l:n<nt?0:n,h,c,_,p,g,y,m,v,b;if(!u)Lp(this,n,s,o);else if(d!==this._tTime||!n||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==f){if(h=d,v=this.timeline,this._repeat){if(p=u+this._rDelay,this._repeat<-1&&f)return this.totalTime(p*100+n,s,o);if(h=Vt(d%p),d===l?(_=this._repeat,h=u):(_=~~(d/p),_&&_===d/p&&(h=u,_--),h>u&&(h=u)),y=this._yoyo&&_&1,y&&(b=this._yEase,h=u-h),g=Ni(this._tTime,p),h===a&&!o&&this._initted)return this._tTime=d,this;_!==g&&(v&&this._yEase&&Rf(v,y),this.vars.repeatRefresh&&!y&&!this._lock&&(this._lock=o=1,this.render(Vt(p*_),!0).invalidate()._lock=0))}if(!this._initted){if(xf(this,f?n:h,o,s,d))return this._tTime=0,this;if(a!==this._time)return this;if(u!==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=(b||this._ease)(h/u),this._from&&(this.ratio=m=1-m),h&&!a&&!s&&!_&&(De(this,"onStart"),this._tTime!==d))return this;for(c=this._pt;c;)c.r(m,c.d),c=c._next;v&&v.render(n<0?n:!h&&y?-nt:v._dur*v._ease(h/this._dur),s,o)||this._startAt&&(this._zTime=n),this._onUpdate&&!s&&(f&&va(this,n,s,o),De(this,"onUpdate")),this._repeat&&_!==g&&this.vars.onRepeat&&!s&&this.parent&&De(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(f&&!this._onUpdate&&va(this,n,!0,!0),(n||!u)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&Lr(this,1),!s&&!(f&&!a)&&(d||a||y)&&(De(this,d===l?"onComplete":"onReverseComplete",!0),this._prom&&!(d<l&&this.timeScale()>0)&&this._prom()))}return this},e.targets=function(){return this._targets},e.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)},e.resetTo=function(n,s,o,a){Cn||ge.wake(),this._ts||this.play();var l=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Ya(this,l),u=this._ease(l/this._dur),Zp(this,n,s,o,a,u,l)?this.resetTo(n,s,o,a):(Ds(this,0),this.parent||gf(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function(n,s){if(s===void 0&&(s="all"),!n&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?xn(this):this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(n,s,kr&&kr.vars.overwrite!==!0)._first||xn(this),this.parent&&o!==this.timeline.totalDuration()&&Bi(this,this._dur*this.timeline._tDur/o,0,1),this}var a=this._targets,l=n?Re(n):a,u=this._ptLookup,f=this._pt,d,h,c,_,p,g,y;if((!s||s==="all")&&Ap(a,l))return s==="all"&&(this._pt=0),xn(this);for(d=this._op=this._op||[],s!=="all"&&(kt(s)&&(p={},re(s,function(m){return p[m]=1}),s=p),s=t_(a,s)),y=a.length;y--;)if(~l.indexOf(a[y])){h=u[y],s==="all"?(d[y]=s,_=h,c={}):(c=d[y]=d[y]||{},_=s);for(p in _)g=h&&h[p],g&&((!("kill"in g.d)||g.d.kill(p)===!0)&&ks(this,g,"_pt"),delete h[p]),c!=="all"&&(c[p]=1)}return this._initted&&!this._pt&&f&&xn(this),this},t.to=function(n,s){return new t(n,s,arguments[2])},t.from=function(n,s){return wn(1,arguments)},t.delayedCall=function(n,s,o,a){return new t(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:s,onReverseComplete:s,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:a})},t.fromTo=function(n,s,o){return wn(2,arguments)},t.set=function(n,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new t(n,s)},t.killTweensOf=function(n,s,o){return ut.killTweensOf(n,s,o)},t}(En);Le(wt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});re("staggerTo,staggerFrom,staggerFromTo",function(i){wt[i]=function(){var t=new $t,e=wa.call(arguments,0);return e.splice(i==="staggerFromTo"?5:4,0,0),t[i].apply(t,e)}});var Xa=function(t,e,r){return t[e]=r},If=function(t,e,r){return t[e](r)},r_=function(t,e,r,n){return t[e](n.fp,r)},i_=function(t,e,r){return t.setAttribute(e,r)},Ls=function(t,e){return mt(t[e])?If:Os(t[e])&&t.setAttribute?i_:Xa},Ff=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},n_=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},Va=function(t,e){var r=e._pt,n="";if(!t&&e.b)n=e.b;else if(t===1&&e.e)n=e.e;else{for(;r;)n=r.p+(r.m?r.m(r.s+r.c*t):Math.round((r.s+r.c*t)*1e4)/1e4)+n,r=r._next;n+=e.c}e.set(e.t,e.p,n,e)},Wa=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},s_=function(t,e,r,n){for(var s=this._pt,o;s;)o=s._next,s.p===n&&s.modifier(t,e,r),s=o},o_=function(t){for(var e=this._pt,r,n;e;)n=e._next,e.p===t&&!e.op||e.op===t?ks(this,e,"_pt"):e.dep||(r=1),e=n;return!r},a_=function(t,e,r,n){n.mSet(t,e,n.m.call(n.tween,r,n.mt),n)},Ua=function(t){for(var e=t._pt,r,n,s,o;e;){for(r=e._next,n=s;n&&n.pr>e.pr;)n=n._next;(e._prev=n?n._prev:o)?e._prev._next=e:s=e,(e._next=n)?n._prev=e:o=e,e=r}t._pt=s},ie=function(){function i(e,r,n,s,o,a,l,u,f){this.t=r,this.s=s,this.c=o,this.p=n,this.r=a||Ff,this.d=l||this,this.set=u||Xa,this.pr=f||0,this._next=e,e&&(e._prev=this)}var t=i.prototype;return t.modifier=function(r,n,s){this.mSet=this.mSet||this.set,this.set=a_,this.m=r,this.mt=s,this.tween=n},i}();re(Da+"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 Ra[i]=1});Te.TweenMax=Te.TweenLite=wt;Te.TimelineLite=Te.TimelineMax=$t;ut=new $t({sortChildren:!1,defaults:Fi,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});ye.stringFilter=Ia;var ui=[],ws={},l_=[],nf=0,u_=0,pa=function(t){return(ws[t]||l_).map(function(e){return e()})},Ea=function(){var t=Date.now(),e=[];t-nf>2&&(pa("matchMediaInit"),ui.forEach(function(r){var n=r.queries,s=r.conditions,o,a,l,u;for(a in n)o=Ae.matchMedia(n[a]).matches,o&&(l=1),o!==s[a]&&(s[a]=o,u=1);u&&(r.revert(),l&&e.push(r))}),pa("matchMediaRevert"),e.forEach(function(r){return r.onMatch(r)}),nf=t,pa("matchMedia"))},Nf=function(){function i(e,r){this.selector=r&&Sa(r),this.data=[],this._r=[],this.isReverted=!1,this.id=u_++,e&&this.add(e)}var t=i.prototype;return t.add=function(r,n,s){mt(r)&&(s=n,n=r,r=mt);var o=this,a=function(){var u=gt,f=o.selector,d;return u&&u!==o&&u.data.push(o),s&&(o.selector=Sa(s)),gt=o,d=n.apply(o,arguments),mt(d)&&o._r.push(d),gt=u,o.selector=f,o.isReverted=!1,d};return o.last=a,r===mt?a(o):r?o[r]=a:a},t.ignore=function(r){var n=gt;gt=null,r(this),gt=n},t.getTweens=function(){var r=[];return this.data.forEach(function(n){return n instanceof i?r.push.apply(r,n.getTweens()):n instanceof wt&&!(n.parent&&n.parent.data==="nested")&&r.push(n)}),r},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(r,n){var s=this;if(r){var o=this.getTweens();this.data.forEach(function(l){l.data==="isFlip"&&(l.revert(),l.getChildren(!0,!0,!1).forEach(function(u){return o.splice(o.indexOf(u),1)}))}),o.map(function(l){return{g:l.globalTime(0),t:l}}).sort(function(l,u){return u.g-l.g||-1/0}).forEach(function(l){return l.t.revert(r)}),this.data.forEach(function(l){return!(l instanceof wt)&&l.revert&&l.revert(r)}),this._r.forEach(function(l){return l(r,s)}),this.isReverted=!0}else this.data.forEach(function(l){return l.kill&&l.kill()});if(this.clear(),n)for(var a=ui.length;a--;)ui[a].id===this.id&&ui.splice(a,1)},t.revert=function(r){this.kill(r||{})},i}(),f_=function(){function i(e){this.contexts=[],this.scope=e}var t=i.prototype;return t.add=function(r,n,s){ir(r)||(r={matches:r});var o=new Nf(0,s||this.scope),a=o.conditions={},l,u,f;gt&&!o.selector&&(o.selector=gt.selector),this.contexts.push(o),n=o.add("onMatch",n),o.queries=r;for(u in r)u==="all"?f=1:(l=Ae.matchMedia(r[u]),l&&(ui.indexOf(o)<0&&ui.push(o),(a[u]=l.matches)&&(f=1),l.addListener?l.addListener(Ea):l.addEventListener("change",Ea)));return f&&n(o),this},t.revert=function(r){this.kill(r||{})},t.kill=function(r){this.contexts.forEach(function(n){return n.kill(r,!0)})},i}(),Ps={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach(function(n){return Pf(n)})},timeline:function(t){return new $t(t)},getTweensOf:function(t,e){return ut.getTweensOf(t,e)},getProperty:function(t,e,r,n){kt(t)&&(t=Re(t)[0]);var s=Dr(t||{}).get,o=r?_f:pf;return r==="native"&&(r=""),t&&(e?o((_e[e]&&_e[e].get||s)(t,e,r,n)):function(a,l,u){return o((_e[a]&&_e[a].get||s)(t,a,l,u))})},quickSetter:function(t,e,r){if(t=Re(t),t.length>1){var n=t.map(function(f){return Qt.quickSetter(f,e,r)}),s=n.length;return function(f){for(var d=s;d--;)n[d](f)}}t=t[0]||{};var o=_e[e],a=Dr(t),l=a.harness&&(a.harness.aliases||{})[e]||e,u=o?function(f){var d=new o;Ii._pt=0,d.init(t,r?f+r:f,Ii,0,[t]),d.render(1,d),Ii._pt&&Wa(1,Ii)}:a.set(t,l);return o?u:function(f){return u(t,l,r?f+r:f,a,1)}},quickTo:function(t,e,r){var n,s=Qt.to(t,fi((n={},n[e]="+=0.1",n.paused=!0,n),r||{})),o=function(l,u,f){return s.resetTo(e,l,u,f)};return o.tween=s,o},isTweening:function(t){return ut.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=li(t.ease,Fi.ease)),Ju(Fi,t||{})},config:function(t){return Ju(ye,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,n=t.plugins,s=t.defaults,o=t.extendTimeline;(n||"").split(",").forEach(function(a){return a&&!_e[a]&&!Te[a]&&Ts(e+" effect requires "+a+" plugin.")}),fa[e]=function(a,l,u){return r(Re(a),Le(l||{},s),u)},o&&($t.prototype[e]=function(a,l,u){return this.add(fa[e](a,ir(l)?l:(u=l)&&{},this),u)})},registerEase:function(t,e){j[t]=li(e)},parseEase:function(t,e){return arguments.length?li(t,e):j},getById:function(t){return ut.getById(t)},exportRoot:function(t,e){t===void 0&&(t={});var r=new $t(t),n,s;for(r.smoothChildTiming=me(t.smoothChildTiming),ut.remove(r),r._dp=0,r._time=r._tTime=ut._time,n=ut._first;n;)s=n._next,(e||!(!n._dur&&n instanceof wt&&n.vars.onComplete===n._targets[0]))&&rr(r,n,n._start-n._delay),n=s;return rr(ut,r,0),r},context:function(t,e){return t?new Nf(t,e):gt},matchMedia:function(t){return new f_(t)},matchMediaRefresh:function(){return ui.forEach(function(t){var e=t.conditions,r,n;for(n in e)e[n]&&(e[n]=!1,r=1);r&&t.revert()})||Ea()},addEventListener:function(t,e){var r=ws[t]||(ws[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=ws[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},utils:{wrap:Vp,wrapYoyo:Wp,distribute:wf,random:Tf,snap:Sf,normalize:Xp,getUnit:Wt,clamp:Fp,splitColor:Of,toArray:Re,selector:Sa,mapRange:Ef,pipe:Bp,unitize:Yp,interpolate:Up,shuffle:bf},install:ff,effects:fa,ticker:ge,updateRoot:$t.updateRoot,plugins:_e,globalTimeline:ut,core:{PropTween:ie,globals:cf,Tween:wt,Timeline:$t,Animation:En,getCache:Dr,_removeLinkedListItem:ks,reverting:function(){return Gt},context:function(t){return t&&gt&&(gt.data.push(t),t._ctx=gt),gt},suppressOverwrites:function(t){return Ma=t}}};re("to,from,fromTo,delayedCall,set,killTweensOf",function(i){return Ps[i]=wt[i]});ge.add($t.updateRoot);Ii=Ps.to({},{duration:0});var c_=function(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r},h_=function(t,e){var r=t._targets,n,s,o;for(n in e)for(s=r.length;s--;)o=t._ptLookup[s][n],o&&(o=o.d)&&(o._pt&&(o=c_(o,n)),o&&o.modifier&&o.modifier(e[n],t,r[s],n))},_a=function(t,e){return{name:t,rawVars:1,init:function(n,s,o){o._onInit=function(a){var l,u;if(kt(s)&&(l={},re(s,function(f){return l[f]=1}),s=l),e){l={};for(u in s)l[u]=e(s[u]);s=l}h_(a,s)}}}},Qt=Ps.registerPlugin({name:"attr",init:function(t,e,r,n,s){var o,a,l;this.tween=r;for(o in e)l=t.getAttribute(o)||"",a=this.add(t,"setAttribute",(l||0)+"",e[o],n,s,0,0,o),a.op=o,a.b=l,this._props.push(o)},render:function(t,e){for(var r=e._pt;r;)Gt?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next}},{name:"endArray",init:function(t,e){for(var r=e.length;r--;)this.add(t,r,t[r]||0,e[r],0,0,0,0,0,1)}},_a("roundProps",Ta),_a("modifiers"),_a("snap",Sf))||Ps;wt.version=$t.version=Qt.version="3.12.2";uf=1;Pa()&&Yi();var d_=j.Power0,p_=j.Power1,__=j.Power2,g_=j.Power3,m_=j.Power4,y_=j.Linear,x_=j.Quad,v_=j.Cubic,b_=j.Quart,w_=j.Quint,S_=j.Strong,T_=j.Elastic,C_=j.Back,E_=j.SteppedEase,M_=j.Bounce,P_=j.Sine,O_=j.Expo,A_=j.Circ;var Bf,Ir,Wi,Qa,mi,k_,Yf,Ja,R_=function(){return typeof window!="undefined"},mr={},gi=180/Math.PI,Ui=Math.PI/180,Vi=Math.atan2,Xf=1e8,Za=/([A-Z])/g,D_=/(left|right|width|margin|padding|x)/i,L_=/[\s,\(]\S/,nr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},ja=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},z_=function(t,e){return e.set(e.t,e.p,t===1?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},I_=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},F_=function(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)},$f=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},Gf=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},N_=function(t,e,r){return t.style[e]=r},B_=function(t,e,r){return t.style.setProperty(e,r)},Y_=function(t,e,r){return t._gsap[e]=r},X_=function(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r},V_=function(t,e,r,n,s){var o=t._gsap;o.scaleX=o.scaleY=r,o.renderTransform(s,o)},W_=function(t,e,r,n,s){var o=t._gsap;o[e]=r,o.renderTransform(s,o)},ft="transform",qe=ft+"Origin",U_=function i(t,e){var r=this,n=this.target,s=n.style;if(t in mr&&s){if(this.tfm=this.tfm||{},t!=="transform")t=nr[t]||t,~t.indexOf(",")?t.split(",").forEach(function(o){return r.tfm[o]=gr(n,o)}):this.tfm[t]=n._gsap.x?n._gsap[t]:gr(n,t);else return nr.transform.split(",").forEach(function(o){return i.call(r,o,e)});if(this.props.indexOf(ft)>=0)return;n._gsap.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(qe,e,"")),t=ft}(s||e)&&this.props.push(t,e,s[t])},Kf=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},H_=function(){var t=this.props,e=this.target,r=e.style,n=e._gsap,s,o;for(s=0;s<t.length;s+=3)t[s+1]?e[t[s]]=t[s+2]:t[s+2]?r[t[s]]=t[s+2]:r.removeProperty(t[s].substr(0,2)==="--"?t[s]:t[s].replace(Za,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)n[o]=this.tfm[o];n.svg&&(n.renderTransform(),e.setAttribute("data-svg-origin",this.svgo||"")),s=Ja(),(!s||!s.isStart)&&!r[ft]&&(Kf(r),n.uncache=1)}},Qf=function(t,e){var r={target:t,props:[],revert:H_,save:U_};return t._gsap||Qt.core.getCache(t),e&&e.split(",").forEach(function(n){return r.save(n)}),r},Jf,$a=function(t,e){var r=Ir.createElementNS?Ir.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Ir.createElement(t);return r.style?r:Ir.createElement(t)},sr=function i(t,e,r){var n=getComputedStyle(t);return n[e]||n.getPropertyValue(e.replace(Za,"-$1").toLowerCase())||n.getPropertyValue(e)||!r&&i(t,Hi(e)||e,1)||""},Vf="O,Moz,ms,Ms,Webkit".split(","),Hi=function(t,e,r){var n=e||mi,s=n.style,o=5;if(t in s&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);o--&&!(Vf[o]+t in s););return o<0?null:(o===3?"ms":o>=0?Vf[o]:"")+t},Ga=function(){R_()&&window.document&&(Bf=window,Ir=Bf.document,Wi=Ir.documentElement,mi=$a("div")||{style:{}},k_=$a("div"),ft=Hi(ft),qe=ft+"Origin",mi.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Jf=!!Hi("perspective"),Ja=Qt.core.reverting,Qa=1)},Ha=function i(t){var e=$a("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(Wi.appendChild(e),e.appendChild(this),this.style.display="block",t)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)),Wi.removeChild(e),this.style.cssText=s,o},Wf=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},Zf=function(t){var e;try{e=t.getBBox()}catch{e=Ha.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===Ha||(e=Ha.call(t,!0)),e&&!e.width&&!e.x&&!e.y?{x:+Wf(t,["x","cx","x1"])||0,y:+Wf(t,["y","cy","y1"])||0,width:0,height:0}:e},tc=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&Zf(t))},On=function(t,e){if(e){var r=t.style;e in mr&&e!==qe&&(e=ft),r.removeProperty?((e.substr(0,2)==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),r.removeProperty(e.replace(Za,"-$1").toLowerCase())):r.removeAttribute(e)}},Fr=function(t,e,r,n,s,o){var a=new ie(t._pt,e,r,0,1,o?Gf:$f);return t._pt=a,a.b=n,a.e=s,t._props.push(r),a},Uf={deg:1,rad:1,turn:1},q_={grid:1,flex:1},Nr=function i(t,e,r,n){var s=parseFloat(r)||0,o=(r+"").trim().substr((s+"").length)||"px",a=mi.style,l=D_.test(e),u=t.tagName.toLowerCase()==="svg",f=(u?"client":"offset")+(l?"Width":"Height"),d=100,h=n==="px",c=n==="%",_,p,g,y;return n===o||!s||Uf[n]||Uf[o]?s:(o!=="px"&&!h&&(s=i(t,e,r,"px")),y=t.getCTM&&tc(t),(c||o==="%")&&(mr[e]||~e.indexOf("adius"))?(_=y?t.getBBox()[l?"width":"height"]:t[f],yt(c?s/_*d:s/100*_)):(a[l?"width":"height"]=d+(h?o:n),p=~e.indexOf("adius")||n==="em"&&t.appendChild&&!u?t:t.parentNode,y&&(p=(t.ownerSVGElement||{}).parentNode),(!p||p===Ir||!p.appendChild)&&(p=Ir.body),g=p._gsap,g&&c&&g.width&&l&&g.time===ge.time&&!g.uncache?yt(s/g.width*d):((c||o==="%")&&!q_[sr(p,"display")]&&(a.position=sr(t,"position")),p===t&&(a.position="static"),p.appendChild(mi),_=mi[f],p.removeChild(mi),a.position="absolute",l&&c&&(g=Dr(p),g.time=ge.time,g.width=p[f]),yt(h?_*s/d:_&&s?d/_*s:0))))},gr=function(t,e,r,n){var s;return Qa||Ga(),e in nr&&e!=="transform"&&(e=nr[e],~e.indexOf(",")&&(e=e.split(",")[0])),mr[e]&&e!=="transform"?(s=kn(t,n),s=e!=="transformOrigin"?s[e]:s.svg?s.origin:Is(sr(t,qe))+" "+s.zOrigin+"px"):(s=t.style[e],(!s||s==="auto"||n||~(s+"").indexOf("calc("))&&(s=zs[e]&&zs[e](t,e,r)||sr(t,e)||za(t,e)||(e==="opacity"?1:0))),r&&!~(s+"").trim().indexOf(" ")?Nr(t,e,s,r)+r:s},j_=function(t,e,r,n){if(!r||r==="none"){var s=Hi(e,t,1),o=s&&sr(t,s,1);o&&o!==r?(e=s,r=o):e==="borderColor"&&(r=sr(t,"borderTopColor"))}var a=new ie(this._pt,t.style,e,0,1,Va),l=0,u=0,f,d,h,c,_,p,g,y,m,v,b,S;if(a.b=r,a.e=n,r+="",n+="",n==="auto"&&(t.style[e]=n,n=sr(t,e)||n,t.style[e]=r),f=[r,n],Ia(f),r=f[0],n=f[1],h=r.match(ci)||[],S=n.match(ci)||[],S.length){for(;d=ci.exec(n);)g=d[0],m=n.substring(l,d.index),_?_=(_+1)%5:(m.substr(-5)==="rgba("||m.substr(-5)==="hsla(")&&(_=1),g!==(p=h[u++]||"")&&(c=parseFloat(p)||0,b=p.substr((c+"").length),g.charAt(1)==="="&&(g=hi(c,g)+b),y=parseFloat(g),v=g.substr((y+"").length),l=ci.lastIndex-v.length,v||(v=v||ye.units[e]||b,l===n.length&&(n+=v,a.e+=v)),b!==v&&(c=Nr(t,e,p,v)||0),a._pt={_next:a._pt,p:m||u===1?m:",",s:c,c:y-c,m:_&&_<4||e==="zIndex"?Math.round:0});a.c=l<n.length?n.substring(l,n.length):""}else a.r=e==="display"&&n==="none"?Gf:$f;return Aa.test(n)&&(a.e=0),this._pt=a,a},Hf={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},$_=function(t){var e=t.split(" "),r=e[0],n=e[1]||"50%";return(r==="top"||r==="bottom"||n==="left"||n==="right")&&(t=r,r=n,n=t),e[0]=Hf[r]||r,e[1]=Hf[n]||n,e.join(" ")},G_=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r=e.t,n=r.style,s=e.u,o=r._gsap,a,l,u;if(s==="all"||s===!0)n.cssText="",l=1;else for(s=s.split(","),u=s.length;--u>-1;)a=s[u],mr[a]&&(l=1,a=a==="transformOrigin"?qe:ft),On(r,a);l&&(On(r,ft),o&&(o.svg&&r.removeAttribute("transform"),kn(r,1),o.uncache=1,Kf(n)))}},zs={clearProps:function(t,e,r,n,s){if(s.data!=="isFromStart"){var o=t._pt=new ie(t._pt,e,r,0,0,G_);return o.u=n,o.pr=-10,o.tween=s,t._props.push(r),1}}},An=[1,0,0,1,0,0],ec={},rc=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},qf=function(t){var e=sr(t,ft);return rc(e)?An:e.substr(7).match(Oa).map(yt)},tl=function(t,e){var r=t._gsap||Dr(t),n=t.style,s=qf(t),o,a,l,u;return r.svg&&t.getAttribute("transform")?(l=t.transform.baseVal.consolidate().matrix,s=[l.a,l.b,l.c,l.d,l.e,l.f],s.join(",")==="1,0,0,1,0,0"?An:s):(s===An&&!t.offsetParent&&t!==Wi&&!r.svg&&(l=n.display,n.display="block",o=t.parentNode,(!o||!t.offsetParent)&&(u=1,a=t.nextElementSibling,Wi.appendChild(t)),s=qf(t),l?n.display=l:On(t,"display"),u&&(a?o.insertBefore(t,a):o?o.appendChild(t):Wi.removeChild(t))),e&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},Ka=function(t,e,r,n,s,o){var a=t._gsap,l=s||tl(t,!0),u=a.xOrigin||0,f=a.yOrigin||0,d=a.xOffset||0,h=a.yOffset||0,c=l[0],_=l[1],p=l[2],g=l[3],y=l[4],m=l[5],v=e.split(" "),b=parseFloat(v[0])||0,S=parseFloat(v[1])||0,C,w,M,E;r?l!==An&&(w=c*g-_*p)&&(M=b*(g/w)+S*(-p/w)+(p*m-g*y)/w,E=b*(-_/w)+S*(c/w)-(c*m-_*y)/w,b=M,S=E):(C=Zf(t),b=C.x+(~v[0].indexOf("%")?b/100*C.width:b),S=C.y+(~(v[1]||v[0]).indexOf("%")?S/100*C.height:S)),n||n!==!1&&a.smooth?(y=b-u,m=S-f,a.xOffset=d+(y*c+m*p)-y,a.yOffset=h+(y*_+m*g)-m):a.xOffset=a.yOffset=0,a.xOrigin=b,a.yOrigin=S,a.smooth=!!n,a.origin=e,a.originIsAbsolute=!!r,t.style[qe]="0px 0px",o&&(Fr(o,a,"xOrigin",u,b),Fr(o,a,"yOrigin",f,S),Fr(o,a,"xOffset",d,a.xOffset),Fr(o,a,"yOffset",h,a.yOffset)),t.setAttribute("data-svg-origin",b+" "+S)},kn=function(t,e){var r=t._gsap||new Fa(t);if("x"in r&&!e&&!r.uncache)return r;var n=t.style,s=r.scaleX<0,o="px",a="deg",l=getComputedStyle(t),u=sr(t,qe)||"0",f,d,h,c,_,p,g,y,m,v,b,S,C,w,M,E,P,R,O,X,z,L,N,D,Y,Z,x,q,Rt,xt,et,ht;return f=d=h=p=g=y=m=v=b=0,c=_=1,r.svg=!!(t.getCTM&&tc(t)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(n[ft]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[ft]!=="none"?l[ft]:"")),n.scale=n.rotate=n.translate="none"),w=tl(t,r.svg),r.svg&&(r.uncache?(Y=t.getBBox(),u=r.xOrigin-Y.x+"px "+(r.yOrigin-Y.y)+"px",D=""):D=!e&&t.getAttribute("data-svg-origin"),Ka(t,D||u,!!D||r.originIsAbsolute,r.smooth!==!1,w)),S=r.xOrigin||0,C=r.yOrigin||0,w!==An&&(R=w[0],O=w[1],X=w[2],z=w[3],f=L=w[4],d=N=w[5],w.length===6?(c=Math.sqrt(R*R+O*O),_=Math.sqrt(z*z+X*X),p=R||O?Vi(O,R)*gi:0,m=X||z?Vi(X,z)*gi+p:0,m&&(_*=Math.abs(Math.cos(m*Ui))),r.svg&&(f-=S-(S*R+C*X),d-=C-(S*O+C*z))):(ht=w[6],xt=w[7],x=w[8],q=w[9],Rt=w[10],et=w[11],f=w[12],d=w[13],h=w[14],M=Vi(ht,Rt),g=M*gi,M&&(E=Math.cos(-M),P=Math.sin(-M),D=L*E+x*P,Y=N*E+q*P,Z=ht*E+Rt*P,x=L*-P+x*E,q=N*-P+q*E,Rt=ht*-P+Rt*E,et=xt*-P+et*E,L=D,N=Y,ht=Z),M=Vi(-X,Rt),y=M*gi,M&&(E=Math.cos(-M),P=Math.sin(-M),D=R*E-x*P,Y=O*E-q*P,Z=X*E-Rt*P,et=z*P+et*E,R=D,O=Y,X=Z),M=Vi(O,R),p=M*gi,M&&(E=Math.cos(M),P=Math.sin(M),D=R*E+O*P,Y=L*E+N*P,O=O*E-R*P,N=N*E-L*P,R=D,L=Y),g&&Math.abs(g)+Math.abs(p)>359.9&&(g=p=0,y=180-y),c=yt(Math.sqrt(R*R+O*O+X*X)),_=yt(Math.sqrt(N*N+ht*ht)),M=Vi(L,N),m=Math.abs(M)>2e-4?M*gi:0,b=et?1/(et<0?-et:et):0),r.svg&&(D=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!rc(sr(t,ft)),D&&t.setAttribute("transform",D))),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)),e=e||r.uncache,r.x=f-((r.xPercent=f&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-f)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+o,r.y=d-((r.yPercent=d&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-d)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+o,r.z=h+o,r.scaleX=yt(c),r.scaleY=yt(_),r.rotation=yt(p)+a,r.rotationX=yt(g)+a,r.rotationY=yt(y)+a,r.skewX=m+a,r.skewY=v+a,r.transformPerspective=b+o,(r.zOrigin=parseFloat(u.split(" ")[2])||0)&&(n[qe]=Is(u)),r.xOffset=r.yOffset=0,r.force3D=ye.force3D,r.renderTransform=r.svg?Q_:Jf?ic:K_,r.uncache=0,r},Is=function(t){return(t=t.split(" "))[0]+" "+t[1]},qa=function(t,e,r){var n=Wt(e);return yt(parseFloat(e)+parseFloat(Nr(t,"x",r+"px",n)))+n},K_=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,ic(t,e)},pi="0deg",Pn="0px",_i=") ",ic=function(t,e){var r=e||this,n=r.xPercent,s=r.yPercent,o=r.x,a=r.y,l=r.z,u=r.rotation,f=r.rotationY,d=r.rotationX,h=r.skewX,c=r.skewY,_=r.scaleX,p=r.scaleY,g=r.transformPerspective,y=r.force3D,m=r.target,v=r.zOrigin,b="",S=y==="auto"&&t&&t!==1||y===!0;if(v&&(d!==pi||f!==pi)){var C=parseFloat(f)*Ui,w=Math.sin(C),M=Math.cos(C),E;C=parseFloat(d)*Ui,E=Math.cos(C),o=qa(m,o,w*E*-v),a=qa(m,a,-Math.sin(C)*-v),l=qa(m,l,M*E*-v+v)}g!==Pn&&(b+="perspective("+g+_i),(n||s)&&(b+="translate("+n+"%, "+s+"%) "),(S||o!==Pn||a!==Pn||l!==Pn)&&(b+=l!==Pn||S?"translate3d("+o+", "+a+", "+l+") ":"translate("+o+", "+a+_i),u!==pi&&(b+="rotate("+u+_i),f!==pi&&(b+="rotateY("+f+_i),d!==pi&&(b+="rotateX("+d+_i),(h!==pi||c!==pi)&&(b+="skew("+h+", "+c+_i),(_!==1||p!==1)&&(b+="scale("+_+", "+p+_i),m.style[ft]=b||"translate(0, 0)"},Q_=function(t,e){var r=e||this,n=r.xPercent,s=r.yPercent,o=r.x,a=r.y,l=r.rotation,u=r.skewX,f=r.skewY,d=r.scaleX,h=r.scaleY,c=r.target,_=r.xOrigin,p=r.yOrigin,g=r.xOffset,y=r.yOffset,m=r.forceCSS,v=parseFloat(o),b=parseFloat(a),S,C,w,M,E;l=parseFloat(l),u=parseFloat(u),f=parseFloat(f),f&&(f=parseFloat(f),u+=f,l+=f),l||u?(l*=Ui,u*=Ui,S=Math.cos(l)*d,C=Math.sin(l)*d,w=Math.sin(l-u)*-h,M=Math.cos(l-u)*h,u&&(f*=Ui,E=Math.tan(u-f),E=Math.sqrt(1+E*E),w*=E,M*=E,f&&(E=Math.tan(f),E=Math.sqrt(1+E*E),S*=E,C*=E)),S=yt(S),C=yt(C),w=yt(w),M=yt(M)):(S=d,M=h,C=w=0),(v&&!~(o+"").indexOf("px")||b&&!~(a+"").indexOf("px"))&&(v=Nr(c,"x",o,"px"),b=Nr(c,"y",a,"px")),(_||p||g||y)&&(v=yt(v+_-(_*S+p*w)+g),b=yt(b+p-(_*C+p*M)+y)),(n||s)&&(E=c.getBBox(),v=yt(v+n/100*E.width),b=yt(b+s/100*E.height)),E="matrix("+S+","+C+","+w+","+M+","+v+","+b+")",c.setAttribute("transform",E),m&&(c.style[ft]=E)},J_=function(t,e,r,n,s){var o=360,a=kt(s),l=parseFloat(s)*(a&&~s.indexOf("rad")?gi:1),u=l-n,f=n+u+"deg",d,h;return a&&(d=s.split("_")[1],d==="short"&&(u%=o,u!==u%(o/2)&&(u+=u<0?o:-o)),d==="cw"&&u<0?u=(u+o*Xf)%o-~~(u/o)*o:d==="ccw"&&u>0&&(u=(u-o*Xf)%o-~~(u/o)*o)),t._pt=h=new ie(t._pt,e,r,n,u,z_),h.e=f,h.u="deg",t._props.push(r),h},jf=function(t,e){for(var r in e)t[r]=e[r];return t},Z_=function(t,e,r){var n=jf({},r._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=r.style,a,l,u,f,d,h,c,_;n.svg?(u=r.getAttribute("transform"),r.setAttribute("transform",""),o[ft]=e,a=kn(r,1),On(r,ft),r.setAttribute("transform",u)):(u=getComputedStyle(r)[ft],o[ft]=e,a=kn(r,1),o[ft]=u);for(l in mr)u=n[l],f=a[l],u!==f&&s.indexOf(l)<0&&(c=Wt(u),_=Wt(f),d=c!==_?Nr(r,l,u,_):parseFloat(u),h=parseFloat(f),t._pt=new ie(t._pt,a,l,d,h-d,ja),t._pt.u=_||0,t._props.push(l));jf(a,n)};re("padding,margin,Width,Radius",function(i,t){var e="Top",r="Right",n="Bottom",s="Left",o=(t<3?[e,r,n,s]:[e+s,e+r,n+r,n+s]).map(function(a){return t<2?i+a:"border"+a+i});zs[t>1?"border"+i:i]=function(a,l,u,f,d){var h,c;if(arguments.length<4)return h=o.map(function(_){return gr(a,_,u)}),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]}),a.init(l,c,d)}});var el={name:"css",register:Ga,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,n,s){var o=this._props,a=t.style,l=r.vars.startAt,u,f,d,h,c,_,p,g,y,m,v,b,S,C,w,M;Qa||Ga(),this.styles=this.styles||Qf(t),M=this.styles.props,this.tween=r;for(p in e)if(p!=="autoRound"&&(f=e[p],!(_e[p]&&Ba(p,e,r,n,t,s)))){if(c=typeof f,_=zs[p],c==="function"&&(f=f.call(r,n,t,s),c=typeof f),c==="string"&&~f.indexOf("random(")&&(f=Xi(f)),_)_(this,t,p,f,r)&&(w=1);else if(p.substr(0,2)==="--")u=(getComputedStyle(t).getPropertyValue(p)+"").trim(),f+="",pr.lastIndex=0,pr.test(u)||(g=Wt(u),y=Wt(f)),y?g!==y&&(u=Nr(t,p,u,y)+y):g&&(f+=g),this.add(a,"setProperty",u,f,n,s,0,0,p),o.push(p),M.push(p,0,a[p]);else if(c!=="undefined"){if(l&&p in l?(u=typeof l[p]=="function"?l[p].call(r,n,t,s):l[p],kt(u)&&~u.indexOf("random(")&&(u=Xi(u)),Wt(u+"")||(u+=ye.units[p]||Wt(gr(t,p))||""),(u+"").charAt(1)==="="&&(u=gr(t,p))):u=gr(t,p),h=parseFloat(u),m=c==="string"&&f.charAt(1)==="="&&f.substr(0,2),m&&(f=f.substr(2)),d=parseFloat(f),p in nr&&(p==="autoAlpha"&&(h===1&&gr(t,"visibility")==="hidden"&&d&&(h=0),M.push("visibility",0,a.visibility),Fr(this,a,"visibility",h?"inherit":"hidden",d?"inherit":"hidden",!d)),p!=="scale"&&p!=="transform"&&(p=nr[p],~p.indexOf(",")&&(p=p.split(",")[0]))),v=p in mr,v){if(this.styles.save(p),b||(S=t._gsap,S.renderTransform&&!e.parseTransform||kn(t,e.parseTransform),C=e.smoothOrigin!==!1&&S.smooth,b=this._pt=new ie(this._pt,a,ft,0,1,S.renderTransform,S,0,-1),b.dep=1),p==="scale")this._pt=new ie(this._pt,S,"scaleY",S.scaleY,(m?hi(S.scaleY,m+d):d)-S.scaleY||0,ja),this._pt.u=0,o.push("scaleY",p),p+="X";else if(p==="transformOrigin"){M.push(qe,0,a[qe]),f=$_(f),S.svg?Ka(t,f,0,C,0,this):(y=parseFloat(f.split(" ")[2])||0,y!==S.zOrigin&&Fr(this,S,"zOrigin",S.zOrigin,y),Fr(this,a,p,Is(u),Is(f)));continue}else if(p==="svgOrigin"){Ka(t,f,1,C,0,this);continue}else if(p in ec){J_(this,S,p,h,m?hi(h,m+f):f);continue}else if(p==="smoothOrigin"){Fr(this,S,"smooth",S.smooth,f);continue}else if(p==="force3D"){S[p]=f;continue}else if(p==="transform"){Z_(this,f,t);continue}}else p in a||(p=Hi(p)||p);if(v||(d||d===0)&&(h||h===0)&&!L_.test(f)&&p in a)g=(u+"").substr((h+"").length),d||(d=0),y=Wt(f)||(p in ye.units?ye.units[p]:g),g!==y&&(h=Nr(t,p,u,y)),this._pt=new ie(this._pt,v?S:a,p,h,(m?hi(h,m+d):d)-h,!v&&(y==="px"||p==="zIndex")&&e.autoRound!==!1?F_:ja),this._pt.u=y||0,g!==y&&y!=="%"&&(this._pt.b=u,this._pt.r=I_);else if(p in a)j_.call(this,t,p,u,m?m+f:f);else if(p in t)this.add(t,p,u||t[p],m?m+f:f,n,s);else if(p!=="parseTransform"){As(p,f);continue}v||(p in a?M.push(p,0,a[p]):M.push(p,1,u||t[p])),o.push(p)}}w&&Ua(this)},render:function(t,e){if(e.tween._time||!Ja())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:gr,aliases:nr,getSetter:function(t,e,r){var n=nr[e];return n&&n.indexOf(",")<0&&(e=n),e in mr&&e!==qe&&(t._gsap.x||gr(t,"x"))?r&&Yf===r?e==="scale"?X_:Y_:(Yf=r||{})&&(e==="scale"?V_:W_):t.style&&!Os(t.style[e])?N_:~e.indexOf("-")?B_:Ls(t,e)},core:{_removeProperty:On,_getMatrix:tl}};Qt.utils.checkPrefix=Hi;Qt.core.getStyleSaver=Qf;(function(i,t,e,r){var n=re(i+","+t+","+e,function(s){mr[s]=1});re(t,function(s){ye.units[s]="deg",ec[s]=1}),nr[n[13]]=i+","+t,re(r,function(s){var o=s.split(":");nr[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");re("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(i){ye.units[i]="px"});Qt.registerPlugin(el);var Br=Qt.registerPlugin(el)||Qt,t0=Br.core.Tween;function nc(i,t){for(var e=0;e<t.length;e++){var r=t[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(i,r.key,r)}}function tg(i,t,e){return t&&nc(i.prototype,t),e&&nc(i,e),i}var Ut,rl,eg,Ce,Yr,Xr,ji,oc,yi,Dn,ac,yr,je,lc,uc=function(){return Ut||typeof window!="undefined"&&(Ut=window.gsap)&&Ut.registerPlugin&&Ut},fc=1,qi=[],V=[],$e=[],Ln=Date.now,il=function(t,e){return e},rg=function(){var t=Dn.core,e=t.bridge||{},r=t._scrollers,n=t._proxies;r.push.apply(r,V),n.push.apply(n,$e),V=r,$e=n,il=function(o,a){return e[o](a)}},vr=function(t,e){return~$e.indexOf(t)&&$e[$e.indexOf(t)+1][e]},zn=function(t){return!!~ac.indexOf(t)},se=function(t,e,r,n,s){return t.addEventListener(e,r,{passive:!n,capture:!!s})},ne=function(t,e,r,n){return t.removeEventListener(e,r,!!n)},Fs="scrollLeft",Ns="scrollTop",nl=function(){return yr&&yr.isPressed||V.cache++},Bs=function(t,e){var r=function n(s){if(s||s===0){fc&&(Ce.history.scrollRestoration="manual");var o=yr&&yr.isPressed;s=n.v=Math.round(s)||(yr&&yr.iOS?1:0),t(s),n.cacheID=V.cache,o&&il("ss",s)}else(e||V.cache!==n.cacheID||il("ref"))&&(n.cacheID=V.cache,n.v=t());return n.v+n.offset};return r.offset=0,t&&r},Jt={s:Fs,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Bs(function(i){return arguments.length?Ce.scrollTo(i,Mt.sc()):Ce.pageXOffset||Yr[Fs]||Xr[Fs]||ji[Fs]||0})},Mt={s:Ns,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Jt,sc:Bs(function(i){return arguments.length?Ce.scrollTo(Jt.sc(),i):Ce.pageYOffset||Yr[Ns]||Xr[Ns]||ji[Ns]||0})},oe=function(t,e){return(e&&e._ctx&&e._ctx.selector||Ut.utils.toArray)(t)[0]||(typeof t=="string"&&Ut.config().nullTargetWarn!==!1?console.warn("Element not found:",t):null)},xr=function(t,e){var r=e.s,n=e.sc;zn(t)&&(t=Yr.scrollingElement||Xr);var s=V.indexOf(t),o=n===Mt.sc?1:2;!~s&&(s=V.push(t)-1),V[s+o]||se(t,"scroll",nl);var a=V[s+o],l=a||(V[s+o]=Bs(vr(t,r),!0)||(zn(t)?n:Bs(function(u){return arguments.length?t[r]=u:t[r]})));return l.target=t,a||(l.smooth=Ut.getProperty(t,"scrollBehavior")==="smooth"),l},Ys=function(t,e,r){var n=t,s=t,o=Ln(),a=o,l=e||50,u=Math.max(500,l*3),f=function(_,p){var g=Ln();p||g-o>l?(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,y=Ln();return(_||_===0)&&_!==n&&f(_),o===a||y-a>u?0:(n+(r?g:-g))/((r?y:o)-p)*1e3};return{update:f,reset:d,getVelocity:h}},Rn=function(t,e){return e&&!t._gsapAllow&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},sc=function(t){var e=Math.max.apply(Math,t),r=Math.min.apply(Math,t);return Math.abs(e)>=Math.abs(r)?e:r},cc=function(){Dn=Ut.core.globals().ScrollTrigger,Dn&&Dn.core&&rg()},hc=function(t){return Ut=t||uc(),Ut&&typeof document!="undefined"&&document.body&&(Ce=window,Yr=document,Xr=Yr.documentElement,ji=Yr.body,ac=[Ce,Yr,Xr,ji],eg=Ut.utils.clamp,lc=Ut.core.context||function(){},yi="onpointerenter"in ji?"pointer":"mouse",oc=St.isTouch=Ce.matchMedia&&Ce.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Ce||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,je=St.eventTypes=("ontouchstart"in Xr?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Xr?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return fc=0},500),cc(),rl=1),rl};Jt.op=Mt;V.cache=0;var St=function(){function i(e){this.init(e)}var t=i.prototype;return t.init=function(r){rl||hc(Ut)||console.warn("Please gsap.registerPlugin(Observer)"),Dn||cc();var n=r.tolerance,s=r.dragMinimum,o=r.type,a=r.target,l=r.lineHeight,u=r.debounce,f=r.preventDefault,d=r.onStop,h=r.onStopDelay,c=r.ignore,_=r.wheelSpeed,p=r.event,g=r.onDragStart,y=r.onDragEnd,m=r.onDrag,v=r.onPress,b=r.onRelease,S=r.onRight,C=r.onLeft,w=r.onUp,M=r.onDown,E=r.onChangeX,P=r.onChangeY,R=r.onChange,O=r.onToggleX,X=r.onToggleY,z=r.onHover,L=r.onHoverEnd,N=r.onMove,D=r.ignoreCheck,Y=r.isNormalizer,Z=r.onGestureStart,x=r.onGestureEnd,q=r.onWheel,Rt=r.onEnable,xt=r.onDisable,et=r.onClick,ht=r.scrollSpeed,Ft=r.capture,dt=r.allowClicks,Nt=r.lockAxis,Dt=r.onLockAxis;this.target=a=oe(a)||Xr,this.vars=r,c&&(c=Ut.utils.toArray(c)),n=n||1e-9,s=s||0,_=_||1,ht=ht||1,o=o||"wheel,touch,pointer",u=u!==!1,l||(l=parseFloat(Ce.getComputedStyle(ji).lineHeight)||22);var pt,he,Ke,J,Tt,de,ve,T=this,be=0,lr=0,qr=xr(a,Jt),Ct=xr(a,Mt),jr=qr(),$r=Ct(),nn=~o.indexOf("touch")&&!~o.indexOf("pointer")&&je[0]==="pointerdown",Bt=zn(a),vt=a.ownerDocument||Yr,Ne=[0,0,0],Be=[0,0,0],Gr=0,ur=function(){return Gr=Ln()},Qe=function(I,tt){return(T.event=I)&&c&&~c.indexOf(I.target)||tt&&nn&&I.pointerType!=="touch"||D&&D(I,tt)},pe=function(){T._vx.reset(),T._vy.reset(),he.pause(),d&&d(T)},Kr=function(){var I=T.deltaX=sc(Ne),tt=T.deltaY=sc(Be),_t=Math.abs(I)>=n,A=Math.abs(tt)>=n;R&&(_t||A)&&R(T,I,tt,Ne,Be),_t&&(S&&T.deltaX>0&&S(T),C&&T.deltaX<0&&C(T),E&&E(T),O&&T.deltaX<0!=be<0&&O(T),be=T.deltaX,Ne[0]=Ne[1]=Ne[2]=0),A&&(M&&T.deltaY>0&&M(T),w&&T.deltaY<0&&w(T),P&&P(T),X&&T.deltaY<0!=lr<0&&X(T),lr=T.deltaY,Be[0]=Be[1]=Be[2]=0),(J||Ke)&&(N&&N(T),Ke&&(m(T),Ke=!1),J=!1),de&&!(de=!1)&&Dt&&Dt(T),Tt&&(q(T),Tt=!1),pt=0},Pi=function(I,tt,_t){Ne[_t]+=I,Be[_t]+=tt,T._vx.update(I),T._vy.update(tt),u?pt||(pt=requestAnimationFrame(Kr)):Kr()},Oi=function(I,tt){Nt&&!ve&&(T.axis=ve=Math.abs(I)>Math.abs(tt)?"x":"y",de=!0),ve!=="y"&&(Ne[2]+=I,T._vx.update(I,!0)),ve!=="x"&&(Be[2]+=tt,T._vy.update(tt,!0)),u?pt||(pt=requestAnimationFrame(Kr)):Kr()},Qr=function(I){if(!Qe(I,1)){I=Rn(I,f);var tt=I.clientX,_t=I.clientY,A=tt-T.x,G=_t-T.y,F=T.isDragging;T.x=tt,T.y=_t,(F||Math.abs(T.startX-tt)>=s||Math.abs(T.startY-_t)>=s)&&(m&&(Ke=!0),F||(T.isDragging=!0),Oi(A,G),F||g&&g(T))}},Cr=T.onPress=function(B){Qe(B,1)||B&&B.button||(T.axis=ve=null,he.pause(),T.isPressed=!0,B=Rn(B),be=lr=0,T.startX=T.x=B.clientX,T.startY=T.y=B.clientY,T._vx.reset(),T._vy.reset(),se(Y?a:vt,je[1],Qr,f,!0),T.deltaX=T.deltaY=0,v&&v(T))},Er=T.onRelease=function(B){if(!Qe(B,1)){ne(Y?a:vt,je[1],Qr,!0);var I=!isNaN(T.y-T.startY),tt=T.isDragging&&(Math.abs(T.x-T.startX)>3||Math.abs(T.y-T.startY)>3),_t=Rn(B);!tt&&I&&(T._vx.reset(),T._vy.reset(),f&&dt&&Ut.delayedCall(.08,function(){if(Ln()-Gr>300&&!B.defaultPrevented){if(B.target.click)B.target.click();else if(vt.createEvent){var A=vt.createEvent("MouseEvents");A.initMouseEvent("click",!0,!0,Ce,1,_t.screenX,_t.screenY,_t.clientX,_t.clientY,!1,!1,!1,!1,0,null),B.target.dispatchEvent(A)}}})),T.isDragging=T.isGesturing=T.isPressed=!1,d&&!Y&&he.restart(!0),y&&tt&&y(T),b&&b(T,tt)}},K=function(I){return I.touches&&I.touches.length>1&&(T.isGesturing=!0)&&Z(I,T.isDragging)},Jr=function(){return(T.isGesturing=!1)||x(T)},Ye=function(I){if(!Qe(I)){var tt=qr(),_t=Ct();Pi((tt-jr)*ht,(_t-$r)*ht,1),jr=tt,$r=_t,d&&he.restart(!0)}},Xe=function(I){if(!Qe(I)){I=Rn(I,f),q&&(Tt=!0);var tt=(I.deltaMode===1?l:I.deltaMode===2?Ce.innerHeight:1)*_;Pi(I.deltaX*tt,I.deltaY*tt,0),d&&!Y&&he.restart(!0)}},Ve=function(I){if(!Qe(I)){var tt=I.clientX,_t=I.clientY,A=tt-T.x,G=_t-T.y;T.x=tt,T.y=_t,J=!0,(A||G)&&Oi(A,G)}},Zr=function(I){T.event=I,z(T)},Ai=function(I){T.event=I,L(T)},fr=function(I){return Qe(I)||Rn(I,f)&&et(T)};he=T._dc=Ut.delayedCall(h||.25,pe).pause(),T.deltaX=T.deltaY=0,T._vx=Ys(0,50,!0),T._vy=Ys(0,50,!0),T.scrollX=qr,T.scrollY=Ct,T.isDragging=T.isGesturing=T.isPressed=!1,lc(this),T.enable=function(B){return T.isEnabled||(se(Bt?vt:a,"scroll",nl),o.indexOf("scroll")>=0&&se(Bt?vt:a,"scroll",Ye,f,Ft),o.indexOf("wheel")>=0&&se(a,"wheel",Xe,f,Ft),(o.indexOf("touch")>=0&&oc||o.indexOf("pointer")>=0)&&(se(a,je[0],Cr,f,Ft),se(vt,je[2],Er),se(vt,je[3],Er),dt&&se(a,"click",ur,!1,!0),et&&se(a,"click",fr),Z&&se(vt,"gesturestart",K),x&&se(vt,"gestureend",Jr),z&&se(a,yi+"enter",Zr),L&&se(a,yi+"leave",Ai),N&&se(a,yi+"move",Ve)),T.isEnabled=!0,B&&B.type&&Cr(B),Rt&&Rt(T)),T},T.disable=function(){T.isEnabled&&(qi.filter(function(B){return B!==T&&zn(B.target)}).length||ne(Bt?vt:a,"scroll",nl),T.isPressed&&(T._vx.reset(),T._vy.reset(),ne(Y?a:vt,je[1],Qr,!0)),ne(Bt?vt:a,"scroll",Ye,Ft),ne(a,"wheel",Xe,Ft),ne(a,je[0],Cr,Ft),ne(vt,je[2],Er),ne(vt,je[3],Er),ne(a,"click",ur,!0),ne(a,"click",fr),ne(vt,"gesturestart",K),ne(vt,"gestureend",Jr),ne(a,yi+"enter",Zr),ne(a,yi+"leave",Ai),ne(a,yi+"move",Ve),T.isEnabled=T.isPressed=T.isDragging=!1,xt&&xt(T))},T.kill=T.revert=function(){T.disable();var B=qi.indexOf(T);B>=0&&qi.splice(B,1),yr===T&&(yr=0)},qi.push(T),Y&&zn(a)&&(yr=T),T.enable(p)},tg(i,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),i}();St.version="3.12.2";St.create=function(i){return new St(i)};St.register=hc;St.getAll=function(){return qi.slice()};St.getById=function(i){return qi.filter(function(t){return t.vars.id===i})[0]};uc()&&Ut.registerPlugin(St);var k,Ki,$,ct,Ge,ot,Oc,no,so,Ji,Qs,Xs,Zt,ao,hl,ae,dc,pc,Qi,Ac,sl,kc,Ee,Rc,Dc,Lc,Vr,dl,yl,Zi,xl,ol,Vs=1,ue=Date.now,al=ue(),Fe=0,Fn=0,_c=function(t,e,r){var n=Pe(t)&&(t.substr(0,6)==="clamp("||t.indexOf("max")>-1);return r["_"+e+"Clamp"]=n,n?t.substr(6,t.length-7):t},gc=function(t,e){return e&&(!Pe(t)||t.substr(0,6)!=="clamp(")?"clamp("+t+")":t},ig=function i(){return Fn&&requestAnimationFrame(i)},mc=function(){return ao=1},yc=function(){return ao=0},or=function(t){return t},Nn=function(t){return Math.round(t*1e5)/1e5||0},zc=function(){return typeof window!="undefined"},Ic=function(){return k||zc()&&(k=window.gsap)&&k.registerPlugin&&k},Ti=function(t){return!!~Oc.indexOf(t)},Fc=function(t){return(t==="Height"?xl:$["inner"+t])||Ge["client"+t]||ot["client"+t]},Nc=function(t){return vr(t,"getBoundingClientRect")||(Ti(t)?function(){return io.width=$.innerWidth,io.height=xl,io}:function(){return br(t)})},ng=function(t,e,r){var n=r.d,s=r.d2,o=r.a;return(o=vr(t,"getBoundingClientRect"))?function(){return o()[n]}:function(){return(e?Fc(s):t["client"+s])||0}},sg=function(t,e){return!e||~$e.indexOf(t)?Nc(t):function(){return io}},wr=function(t,e){var r=e.s,n=e.d2,s=e.d,o=e.a;return Math.max(0,(r="scroll"+n)&&(o=vr(t,r))?o()-Nc(t)()[s]:Ti(t)?(Ge[r]||ot[r])-Fc(n):t[r]-t["offset"+n])},Ws=function(t,e){for(var r=0;r<Qi.length;r+=3)(!e||~e.indexOf(Qi[r+1]))&&t(Qi[r],Qi[r+1],Qi[r+2])},Pe=function(t){return typeof t=="string"},fe=function(t){return typeof t=="function"},Js=function(t){return typeof t=="number"},xi=function(t){return typeof t=="object"},In=function(t,e,r){return t&&t.progress(e?0:1)&&r&&t.pause()},ll=function(t,e){if(t.enabled){var r=e(t);r&&r.totalTime&&(t.callbackAnimation=r)}},$i=Math.abs,Bc="left",Yc="top",vl="right",bl="bottom",bi="width",wi="height",Yn="Right",Xn="Left",Vn="Top",Wn="Bottom",Pt="padding",ze="margin",en="Width",wl="Height",Ht="px",Ie=function(t){return $.getComputedStyle(t)},og=function(t){var e=Ie(t).position;t.style.position=e==="absolute"||e==="fixed"?e:"relative"},xc=function(t,e){for(var r in e)r in t||(t[r]=e[r]);return t},br=function(t,e){var r=e&&Ie(t)[hl]!=="matrix(1, 0, 0, 1, 0, 0)"&&k.to(t,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=t.getBoundingClientRect();return r&&r.progress(0).kill(),n},pl=function(t,e){var r=e.d2;return t["offset"+r]||t["client"+r]||0},Xc=function(t){var e=[],r=t.labels,n=t.duration(),s;for(s in r)e.push(r[s]/n);return e},ag=function(t){return function(e){return k.utils.snap(Xc(t),e)}},Sl=function(t){var e=k.utils.snap(t),r=Array.isArray(t)&&t.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 e(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=e(n);return!s||Math.abs(a-n)<o||a-n<0==s<0?a:e(s<0?n-t:n+t)}},lg=function(t){return function(e,r){return Sl(Xc(t))(e,r.direction)}},Us=function(t,e,r,n){return r.split(",").forEach(function(s){return t(e,s,n)})},It=function(t,e,r,n,s){return t.addEventListener(e,r,{passive:!n,capture:!!s})},zt=function(t,e,r,n){return t.removeEventListener(e,r,!!n)},Hs=function(t,e,r){r=r&&r.wheelHandler,r&&(t(e,"wheel",r),t(e,"touchmove",r))},vc={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},qs={toggleActions:"play",anticipatePin:0},oo={top:0,left:0,center:.5,bottom:1,right:1},Zs=function(t,e){if(Pe(t)){var r=t.indexOf("="),n=~r?+(t.charAt(r-1)+1)*parseFloat(t.substr(r+1)):0;~r&&(t.indexOf("%")>r&&(n*=e/100),t=t.substr(0,r-1)),t=n+(t in oo?oo[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},js=function(t,e,r,n,s,o,a,l){var u=s.startColor,f=s.endColor,d=s.fontSize,h=s.indent,c=s.fontWeight,_=ct.createElement("div"),p=Ti(r)||vr(r,"pinType")==="fixed",g=t.indexOf("scroller")!==-1,y=p?ot:r,m=t.indexOf("start")!==-1,v=m?u:f,b="border-color:"+v+";font-size:"+d+";color:"+v+";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 b+="position:"+((g||l)&&p?"fixed;":"absolute;"),(g||l||!p)&&(b+=(n===Mt?vl:bl)+":"+(o+parseFloat(h))+"px;"),a&&(b+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),_._isStart=m,_.setAttribute("class","gsap-marker-"+t+(e?" marker-"+e:"")),_.style.cssText=b,_.innerText=e||e===0?t+"-"+e:t,y.children[0]?y.insertBefore(_,y.children[0]):y.appendChild(_),_._offset=_["offset"+n.op.d2],to(_,0,n,m),_},to=function(t,e,r,n){var s={display:"block"},o=r[n?"os2":"p2"],a=r[n?"p2":"os2"];t._isFlipped=n,s[r.a+"Percent"]=n?-100:0,s[r.a]=n?"1px":0,s["border"+o+en]=1,s["border"+a+en]=0,s[r.p]=e+"px",k.set(t,s)},W=[],_l={},Hn,bc=function(){return ue()-Fe>34&&(Hn||(Hn=requestAnimationFrame(Sr)))},Gi=function(){(!Ee||!Ee.isPressed||Ee.startX>ot.clientWidth)&&(V.cache++,Ee?Hn||(Hn=requestAnimationFrame(Sr)):Sr(),Fe||Ei("scrollStart"),Fe=ue())},ul=function(){Lc=$.innerWidth,Dc=$.innerHeight},Bn=function(){V.cache++,!Zt&&!kc&&!ct.fullscreenElement&&!ct.webkitFullscreenElement&&(!Rc||Lc!==$.innerWidth||Math.abs($.innerHeight-Dc)>$.innerHeight*.25)&&no.restart(!0)},Ci={},ug=[],Vc=function i(){return zt(U,"scrollEnd",i)||vi(!0)},Ei=function(t){return Ci[t]&&Ci[t].map(function(e){return e()})||ug},Me=[],Wc=function(t){for(var e=0;e<Me.length;e+=5)(!t||Me[e+4]&&Me[e+4].query===t)&&(Me[e].style.cssText=Me[e+1],Me[e].getBBox&&Me[e].setAttribute("transform",Me[e+2]||""),Me[e+3].uncache=1)},Tl=function(t,e){var r;for(ae=0;ae<W.length;ae++)r=W[ae],r&&(!e||r._ctx===e)&&(t?r.kill(1):r.revert(!0,!0));e&&Wc(e),e||Ei("revert")},Uc=function(t,e){V.cache++,(e||!le)&&V.forEach(function(r){return fe(r)&&r.cacheID++&&(r.rec=0)}),Pe(t)&&($.history.scrollRestoration=yl=t)},le,Si=0,wc,fg=function(){if(wc!==Si){var t=wc=Si;requestAnimationFrame(function(){return t===Si&&vi(!0)})}},Hc=function(){ot.appendChild(Zi),xl=Zi.offsetHeight||$.innerHeight,ot.removeChild(Zi)},vi=function(t,e){if(Fe&&!t){It(U,"scrollEnd",Vc);return}Hc(),le=U.isRefreshing=!0,V.forEach(function(n){return fe(n)&&++n.cacheID&&(n.rec=n())});var r=Ei("refreshInit");Ac&&U.sort(),e||Tl(),V.forEach(function(n){fe(n)&&(n.smooth&&(n.target.style.scrollBehavior="auto"),n(0))}),W.slice(0).forEach(function(n){return n.refresh()}),W.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()}}),W.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)}),V.forEach(function(n){fe(n)&&(n.smooth&&requestAnimationFrame(function(){return n.target.style.scrollBehavior="smooth"}),n.rec&&n(n.rec))}),Uc(yl,1),no.pause(),Si++,le=2,Sr(2),W.forEach(function(n){return fe(n.vars.onRefresh)&&n.vars.onRefresh(n)}),le=U.isRefreshing=!1,Ei("refresh")},gl=0,eo=1,Un,Sr=function(t){if(!le||t===2){U.isUpdating=!0,Un&&Un.update(0);var e=W.length,r=ue(),n=r-al>=50,s=e&&W[0].scroll();if(eo=gl>s?-1:1,le||(gl=s),n&&(Fe&&!ao&&r-Fe>200&&(Fe=0,Ei("scrollEnd")),Qs=al,al=r),eo<0){for(ae=e;ae-- >0;)W[ae]&&W[ae].update(0,n);eo=1}else for(ae=0;ae<e;ae++)W[ae]&&W[ae].update(0,n);U.isUpdating=!1}Hn=0},ml=[Bc,Yc,bl,vl,ze+Wn,ze+Yn,ze+Vn,ze+Xn,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],ro=ml.concat([bi,wi,"boxSizing","max"+en,"max"+wl,"position",ze,Pt,Pt+Vn,Pt+Yn,Pt+Wn,Pt+Xn]),cg=function(t,e,r){tn(r);var n=t._gsap;if(n.spacerIsNative)tn(n.spacerState);else if(t._gsap.swappedIn){var s=e.parentNode;s&&(s.insertBefore(t,e),s.removeChild(e))}t._gsap.swappedIn=!1},fl=function(t,e,r,n){if(!t._gsap.swappedIn){for(var s=ml.length,o=e.style,a=t.style,l;s--;)l=ml[s],o[l]=r[l];o.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(o.display="inline-block"),a[bl]=a[vl]="auto",o.flexBasis=r.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[bi]=pl(t,Jt)+Ht,o[wi]=pl(t,Mt)+Ht,o[Pt]=a[ze]=a[Yc]=a[Bc]="0",tn(n),a[bi]=a["max"+en]=r[bi],a[wi]=a["max"+wl]=r[wi],a[Pt]=r[Pt],t.parentNode!==e&&(t.parentNode.insertBefore(e,t),e.appendChild(t)),t._gsap.swappedIn=!0}},hg=/([A-Z])/g,tn=function(t){if(t){var e=t.t.style,r=t.length,n=0,s,o;for((t.t._gsap||k.core.getCache(t.t)).uncache=1;n<r;n+=2)o=t[n+1],s=t[n],o?e[s]=o:e[s]&&e.removeProperty(s.replace(hg,"-$1").toLowerCase())}},$s=function(t){for(var e=ro.length,r=t.style,n=[],s=0;s<e;s++)n.push(ro[s],r[ro[s]]);return n.t=t,n},dg=function(t,e,r){for(var n=[],s=t.length,o=r?8:0,a;o<s;o+=2)a=t[o],n.push(a,a in e?e[a]:t[o+1]);return n.t=t.t,n},io={left:0,top:0},Sc=function(t,e,r,n,s,o,a,l,u,f,d,h,c,_){fe(t)&&(t=t(l)),Pe(t)&&t.substr(0,3)==="max"&&(t=h+(t.charAt(4)==="="?Zs("0"+t.substr(3),r):0));var p=c?c.time():0,g,y,m;if(c&&c.seek(0),isNaN(t)||(t=+t),Js(t))c&&(t=k.utils.mapRange(c.scrollTrigger.start,c.scrollTrigger.end,0,h,t)),a&&to(a,r,n,!0);else{fe(e)&&(e=e(l));var v=(t||"0").split(" "),b,S,C,w;m=oe(e,l)||ot,b=br(m)||{},(!b||!b.left&&!b.top)&&Ie(m).display==="none"&&(w=m.style.display,m.style.display="block",b=br(m),w?m.style.display=w:m.style.removeProperty("display")),S=Zs(v[0],b[n.d]),C=Zs(v[1]||"0",r),t=b[n.p]-u[n.p]-f+S+s-C,a&&to(a,C,n,r-C<20||a._isStart&&C>20),r-=r-C}if(_&&(l[_]=t||-.001,t<0&&(t=0)),o){var M=t+r,E=o._isStart;g="scroll"+n.d2,to(o,M,n,E&&M>20||!E&&(d?Math.max(ot[g],Ge[g]):o.parentNode[g])<=M+1),d&&(u=br(a),d&&(o.style[n.op.p]=u[n.op.p]-n.op.m-o._offset+Ht))}return c&&m&&(g=br(m),c.seek(h),y=br(m),c._caScrollDist=g[n.p]-y[n.p],t=t/c._caScrollDist*h),c&&c.seek(p),c?t:Math.round(t)},pg=/(webkit|moz|length|cssText|inset)/i,Tc=function(t,e,r,n){if(t.parentNode!==e){var s=t.style,o,a;if(e===ot){t._stOrig=s.cssText,a=Ie(t);for(o in a)!+o&&!pg.test(o)&&a[o]&&typeof s[o]=="string"&&o!=="0"&&(s[o]=a[o]);s.top=r,s.left=n}else s.cssText=t._stOrig;k.core.getCache(t).uncache=1,e.appendChild(t)}},qc=function(t,e,r){var n=e,s=n;return function(o){var a=Math.round(t());return a!==n&&a!==s&&Math.abs(a-n)>3&&Math.abs(a-s)>3&&(o=a,r&&r()),s=n,n=o,o}},Gs=function(t,e,r){var n={};n[e.p]="+="+r,k.set(t,n)},Cc=function(t,e){var r=xr(t,e),n="_scroll"+e.p2,s=function o(a,l,u,f,d){var h=o.tween,c=l.onComplete,_={};u=u||r();var p=qc(r,u,function(){h.kill(),o.tween=0});return d=f&&d||0,f=f||a-u,h&&h.kill(),l[n]=a,l.modifiers=_,_[n]=function(){return p(u+f*h.ratio+d*h.ratio*h.ratio)},l.onUpdate=function(){V.cache++,Sr()},l.onComplete=function(){o.tween=0,c&&c.call(h)},h=o.tween=k.to(t,l),h};return t[n]=r,r.wheelHandler=function(){return s.tween&&s.tween.kill()&&(s.tween=0)},It(t,"wheel",r.wheelHandler),U.isTouch&&It(t,"touchmove",r.wheelHandler),s},U=function(){function i(e,r){Ki||i.register(k)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),dl(this),this.init(e,r)}var t=i.prototype;return t.init=function(r,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Fn){this.update=this.refresh=this.kill=or;return}r=xc(Pe(r)||Js(r)||r.nodeType?{trigger:r}:r,qs);var s=r,o=s.onUpdate,a=s.toggleClass,l=s.id,u=s.onToggle,f=s.onRefresh,d=s.scrub,h=s.trigger,c=s.pin,_=s.pinSpacing,p=s.invalidateOnRefresh,g=s.anticipatePin,y=s.onScrubComplete,m=s.onSnapComplete,v=s.once,b=s.snap,S=s.pinReparent,C=s.pinSpacer,w=s.containerAnimation,M=s.fastScrollEnd,E=s.preventOverlaps,P=r.horizontal||r.containerAnimation&&r.horizontal!==!1?Jt:Mt,R=!d&&d!==0,O=oe(r.scroller||$),X=k.core.getCache(O),z=Ti(O),L=("pinType"in r?r.pinType:vr(O,"pinType")||z&&"fixed")==="fixed",N=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],D=R&&r.toggleActions.split(" "),Y="markers"in r?r.markers:qs.markers,Z=z?0:parseFloat(Ie(O)["border"+P.p2+en])||0,x=this,q=r.onRefreshInit&&function(){return r.onRefreshInit(x)},Rt=ng(O,z,P),xt=sg(O,z),et=0,ht=0,Ft=0,dt=xr(O,P),Nt,Dt,pt,he,Ke,J,Tt,de,ve,T,be,lr,qr,Ct,jr,$r,nn,Bt,vt,Ne,Be,Gr,ur,Qe,pe,Kr,Pi,Oi,Qr,Cr,Er,K,Jr,Ye,Xe,Ve,Zr,Ai,fr;if(x._startClamp=x._endClamp=!1,x._dir=P,g*=45,x.scroller=O,x.scroll=w?w.time.bind(w):dt,he=dt(),x.vars=r,n=n||r.animation,"refreshPriority"in r&&(Ac=1,r.refreshPriority===-9999&&(Un=x)),X.tweenScroll=X.tweenScroll||{top:Cc(O,Mt),left:Cc(O,Jt)},x.tweenTo=Nt=X.tweenScroll[P.p],x.scrubDuration=function(A){Jr=Js(A)&&A,Jr?K?K.duration(A):K=k.to(n,{ease:"expo",totalProgress:"+=0",duration:Jr,paused:!0,onComplete:function(){return y&&y(x)}}):(K&&K.progress(1).kill(),K=0)},n&&(n.vars.lazy=!1,n._initted&&!x.isReverted||n.vars.immediateRender!==!1&&r.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),x.animation=n.pause(),n.scrollTrigger=x,x.scrubDuration(d),Cr=0,l||(l=n.vars.id)),b&&((!xi(b)||b.push)&&(b={snapTo:b}),"scrollBehavior"in ot.style&&k.set(z?[ot,Ge]:O,{scrollBehavior:"auto"}),V.forEach(function(A){return fe(A)&&A.target===(z?ct.scrollingElement||Ge:O)&&(A.smooth=!1)}),pt=fe(b.snapTo)?b.snapTo:b.snapTo==="labels"?ag(n):b.snapTo==="labelsDirectional"?lg(n):b.directional!==!1?function(A,G){return Sl(b.snapTo)(A,ue()-ht<500?0:G.direction)}:k.utils.snap(b.snapTo),Ye=b.duration||{min:.1,max:2},Ye=xi(Ye)?Ji(Ye.min,Ye.max):Ji(Ye,Ye),Xe=k.delayedCall(b.delay||Jr/2||.1,function(){var A=dt(),G=ue()-ht<500,F=Nt.tween;if((G||Math.abs(x.getVelocity())<10)&&!F&&!ao&&et!==A){var H=(A-J)/Ct,Lt=n&&!R?n.totalProgress():H,Q=G?0:(Lt-Er)/(ue()-Qs)*1e3||0,bt=k.utils.clamp(-H,1-H,$i(Q/2)*Q/.185),te=H+(b.inertia===!1?0:bt),Yt=Ji(0,1,pt(te,x)),at=Math.round(J+Yt*Ct),rt=b,We=rt.onStart,lt=rt.onInterrupt,we=rt.onComplete;if(A<=Tt&&A>=J&&at!==A){if(F&&!F._initted&&F.data<=$i(at-A))return;b.inertia===!1&&(bt=Yt-H),Nt(at,{duration:Ye($i(Math.max($i(te-Lt),$i(Yt-Lt))*.185/Q/.05||0)),ease:b.ease||"power3",data:$i(at-A),onInterrupt:function(){return Xe.restart(!0)&&lt&&lt(x)},onComplete:function(){x.update(),et=dt(),Cr=Er=n&&!R?n.totalProgress():x.progress,m&&m(x),we&&we(x)}},A,bt*Ct,at-A-bt*Ct),We&&We(x,Nt.tween)}}else x.isActive&&et!==A&&Xe.restart(!0)}).pause()),l&&(_l[l]=x),h=x.trigger=oe(h||c!==!0&&c),fr=h&&h._gsap&&h._gsap.stRevert,fr&&(fr=fr(x)),c=c===!0?h:oe(c),Pe(a)&&(a={targets:h,className:a}),c&&(_===!1||_===ze||(_=!_&&c.parentNode&&c.parentNode.style&&Ie(c.parentNode).display==="flex"?!1:Pt),x.pin=c,Dt=k.core.getCache(c),Dt.spacer?jr=Dt.pinState:(C&&(C=oe(C),C&&!C.nodeType&&(C=C.current||C.nativeElement),Dt.spacerIsNative=!!C,C&&(Dt.spacerState=$s(C))),Dt.spacer=Bt=C||ct.createElement("div"),Bt.classList.add("pin-spacer"),l&&Bt.classList.add("pin-spacer-"+l),Dt.pinState=jr=$s(c)),r.force3D!==!1&&k.set(c,{force3D:!0}),x.spacer=Bt=Dt.spacer,Qr=Ie(c),Qe=Qr[_+P.os2],Ne=k.getProperty(c),Be=k.quickSetter(c,P.a,Ht),fl(c,Bt,Qr),nn=$s(c)),Y){lr=xi(Y)?xc(Y,vc):vc,T=js("scroller-start",l,O,P,lr,0),be=js("scroller-end",l,O,P,lr,0,T),vt=T["offset"+P.op.d2];var B=oe(vr(O,"content")||O);de=this.markerStart=js("start",l,B,P,lr,vt,0,w),ve=this.markerEnd=js("end",l,B,P,lr,vt,0,w),w&&(Ai=k.quickSetter([de,ve],P.a,Ht)),!L&&!($e.length&&vr(O,"fixedMarkers")===!0)&&(og(z?ot:O),k.set([T,be],{force3D:!0}),Kr=k.quickSetter(T,P.a,Ht),Oi=k.quickSetter(be,P.a,Ht))}if(w){var I=w.vars.onUpdate,tt=w.vars.onUpdateParams;w.eventCallback("onUpdate",function(){x.update(0,0,1),I&&I.apply(w,tt||[])})}if(x.previous=function(){return W[W.indexOf(x)-1]},x.next=function(){return W[W.indexOf(x)+1]},x.revert=function(A,G){if(!G)return x.kill(!0);var F=A!==!1||!x.enabled,H=Zt;F!==x.isReverted&&(F&&(Ve=Math.max(dt(),x.scroll.rec||0),Ft=x.progress,Zr=n&&n.progress()),de&&[de,ve,T,be].forEach(function(Lt){return Lt.style.display=F?"none":"block"}),F&&(Zt=x,x.update(F)),c&&(!S||!x.isActive)&&(F?cg(c,Bt,jr):fl(c,Bt,Ie(c),pe)),F||x.update(F),Zt=H,x.isReverted=F)},x.refresh=function(A,G,F,H){if(!((Zt||!x.enabled)&&!G)){if(c&&A&&Fe){It(i,"scrollEnd",Vc);return}!le&&q&&q(x),Zt=x,Nt.tween&&!F&&(Nt.tween.kill(),Nt.tween=0),K&&K.pause(),p&&n&&n.revert({kill:!1}).invalidate(),x.isReverted||x.revert(!0,!0),x._subPinOffset=!1;var Lt=Rt(),Q=xt(),bt=w?w.duration():wr(O,P),te=Ct<=.01,Yt=0,at=H||0,rt=xi(F)?F.end:r.end,We=r.endTrigger||h,lt=xi(F)?F.start:r.start||(r.start===0||!h?0:c?"0 0":"0 100%"),we=x.pinnedContainer=r.pinnedContainer&&oe(r.pinnedContainer,x),Je=h&&Math.max(0,W.indexOf(x))||0,Se=Je,Xt,qt,ti,Kn,jt,Ot,Ze,ho,Cl,sn,tr,on,Qn;for(Y&&xi(F)&&(on=k.getProperty(T,P.p),Qn=k.getProperty(be,P.p));Se--;)Ot=W[Se],Ot.end||Ot.refresh(0,1)||(Zt=x),Ze=Ot.pin,Ze&&(Ze===h||Ze===c||Ze===we)&&!Ot.isReverted&&(sn||(sn=[]),sn.unshift(Ot),Ot.revert(!0,!0)),Ot!==W[Se]&&(Je--,Se--);for(fe(lt)&&(lt=lt(x)),lt=_c(lt,"start",x),J=Sc(lt,h,Lt,P,dt(),de,T,x,Q,Z,L,bt,w,x._startClamp&&"_startClamp")||(c?-.001:0),fe(rt)&&(rt=rt(x)),Pe(rt)&&!rt.indexOf("+=")&&(~rt.indexOf(" ")?rt=(Pe(lt)?lt.split(" ")[0]:"")+rt:(Yt=Zs(rt.substr(2),Lt),rt=Pe(lt)?lt:(w?k.utils.mapRange(0,w.duration(),w.scrollTrigger.start,w.scrollTrigger.end,J):J)+Yt,We=h)),rt=_c(rt,"end",x),Tt=Math.max(J,Sc(rt||(We?"100% 0":bt),We,Lt,P,dt()+Yt,ve,be,x,Q,Z,L,bt,w,x._endClamp&&"_endClamp"))||-.001,Yt=0,Se=Je;Se--;)Ot=W[Se],Ze=Ot.pin,Ze&&Ot.start-Ot._pinPush<=J&&!w&&Ot.end>0&&(Xt=Ot.end-(x._startClamp?Math.max(0,Ot.start):Ot.start),(Ze===h&&Ot.start-Ot._pinPush<J||Ze===we)&&isNaN(lt)&&(Yt+=Xt*(1-Ot.progress)),Ze===c&&(at+=Xt));if(J+=Yt,Tt+=Yt,x._startClamp&&(x._startClamp+=Yt),x._endClamp&&!le&&(x._endClamp=Tt||-.001,Tt=Math.min(Tt,wr(O,P))),Ct=Tt-J||(J-=.01)&&.001,te&&(Ft=k.utils.clamp(0,1,k.utils.normalize(J,Tt,Ve))),x._pinPush=at,de&&Yt&&(Xt={},Xt[P.a]="+="+Yt,we&&(Xt[P.p]="-="+dt()),k.set([de,ve],Xt)),c)Xt=Ie(c),Kn=P===Mt,ti=dt(),Gr=parseFloat(Ne(P.a))+at,!bt&&Tt>1&&(tr=(z?ct.scrollingElement||Ge:O).style,tr={style:tr,value:tr["overflow"+P.a.toUpperCase()]},z&&Ie(ot)["overflow"+P.a.toUpperCase()]!=="scroll"&&(tr.style["overflow"+P.a.toUpperCase()]="scroll")),fl(c,Bt,Xt),nn=$s(c),qt=br(c,!0),ho=L&&xr(O,Kn?Jt:Mt)(),_&&(pe=[_+P.os2,Ct+at+Ht],pe.t=Bt,Se=_===Pt?pl(c,P)+Ct+at:0,Se&&pe.push(P.d,Se+Ht),tn(pe),we&&W.forEach(function(an){an.pin===we&&an.vars.pinSpacing!==!1&&(an._subPinOffset=!0)}),L&&dt(Ve)),L&&(jt={top:qt.top+(Kn?ti-J:ho)+Ht,left:qt.left+(Kn?ho:ti-J)+Ht,boxSizing:"border-box",position:"fixed"},jt[bi]=jt["max"+en]=Math.ceil(qt.width)+Ht,jt[wi]=jt["max"+wl]=Math.ceil(qt.height)+Ht,jt[ze]=jt[ze+Vn]=jt[ze+Yn]=jt[ze+Wn]=jt[ze+Xn]="0",jt[Pt]=Xt[Pt],jt[Pt+Vn]=Xt[Pt+Vn],jt[Pt+Yn]=Xt[Pt+Yn],jt[Pt+Wn]=Xt[Pt+Wn],jt[Pt+Xn]=Xt[Pt+Xn],$r=dg(jr,jt,S),le&&dt(0)),n?(Cl=n._initted,sl(1),n.render(n.duration(),!0,!0),ur=Ne(P.a)-Gr+Ct+at,Pi=Math.abs(Ct-ur)>1,L&&Pi&&$r.splice($r.length-2,2),n.render(0,!0,!0),Cl||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),sl(0)):ur=Ct,tr&&(tr.value?tr.style["overflow"+P.a.toUpperCase()]=tr.value:tr.style.removeProperty("overflow-"+P.a));else if(h&&dt()&&!w)for(qt=h.parentNode;qt&&qt!==ot;)qt._pinOffset&&(J-=qt._pinOffset,Tt-=qt._pinOffset),qt=qt.parentNode;sn&&sn.forEach(function(an){return an.revert(!1,!0)}),x.start=J,x.end=Tt,he=Ke=le?Ve:dt(),!w&&!le&&(he<Ve&&dt(Ve),x.scroll.rec=0),x.revert(!1,!0),ht=ue(),Xe&&(et=-1,Xe.restart(!0)),Zt=0,n&&R&&(n._initted||Zr)&&n.progress()!==Zr&&n.progress(Zr||0,!0).render(n.time(),!0,!0),(te||Ft!==x.progress||w)&&(n&&!R&&n.totalProgress(w&&J<-.001&&!Ft?k.utils.normalize(J,Tt,0):Ft,!0),x.progress=te||(he-J)/Ct===Ft?0:Ft),c&&_&&(Bt._pinOffset=Math.round(x.progress*ur)),K&&K.invalidate(),isNaN(on)||(on-=k.getProperty(T,P.p),Qn-=k.getProperty(be,P.p),Gs(T,P,on),Gs(de,P,on-(H||0)),Gs(be,P,Qn),Gs(ve,P,Qn-(H||0))),te&&!le&&x.update(),f&&!le&&!qr&&(qr=!0,f(x),qr=!1)}},x.getVelocity=function(){return(dt()-Ke)/(ue()-Qs)*1e3||0},x.endAnimation=function(){In(x.callbackAnimation),n&&(K?K.progress(1):n.paused()?R||In(n,x.direction<0,1):In(n,n.reversed()))},x.labelToScroll=function(A){return n&&n.labels&&(J||x.refresh()||J)+n.labels[A]/n.duration()*Ct||0},x.getTrailing=function(A){var G=W.indexOf(x),F=x.direction>0?W.slice(0,G).reverse():W.slice(G+1);return(Pe(A)?F.filter(function(H){return H.vars.preventOverlaps===A}):F).filter(function(H){return x.direction>0?H.end<=J:H.start>=Tt})},x.update=function(A,G,F){if(!(w&&!F&&!A)){var H=le===!0?Ve:x.scroll(),Lt=A?0:(H-J)/Ct,Q=Lt<0?0:Lt>1?1:Lt||0,bt=x.progress,te,Yt,at,rt,We,lt,we,Je;if(G&&(Ke=he,he=w?dt():H,b&&(Er=Cr,Cr=n&&!R?n.totalProgress():Q)),g&&!Q&&c&&!Zt&&!Vs&&Fe&&J<H+(H-Ke)/(ue()-Qs)*g&&(Q=1e-4),Q!==bt&&x.enabled){if(te=x.isActive=!!Q&&Q<1,Yt=!!bt&&bt<1,lt=te!==Yt,We=lt||!!Q!=!!bt,x.direction=Q>bt?1:-1,x.progress=Q,We&&!Zt&&(at=Q&&!bt?0:Q===1?1:bt===1?2:3,R&&(rt=!lt&&D[at+1]!=="none"&&D[at+1]||D[at],Je=n&&(rt==="complete"||rt==="reset"||rt in n))),E&&(lt||Je)&&(Je||d||!n)&&(fe(E)?E(x):x.getTrailing(E).forEach(function(ti){return ti.endAnimation()})),R||(K&&!Zt&&!Vs?(K._dp._time-K._start!==K._time&&K.render(K._dp._time-K._start),K.resetTo?K.resetTo("totalProgress",Q,n._tTime/n._tDur):(K.vars.totalProgress=Q,K.invalidate().restart())):n&&n.totalProgress(Q,!!(Zt&&(ht||A)))),c){if(A&&_&&(Bt.style[_+P.os2]=Qe),!L)Be(Nn(Gr+ur*Q));else if(We){if(we=!A&&Q>bt&&Tt+1>H&&H+1>=wr(O,P),S)if(!A&&(te||we)){var Se=br(c,!0),Xt=H-J;Tc(c,ot,Se.top+(P===Mt?Xt:0)+Ht,Se.left+(P===Mt?0:Xt)+Ht)}else Tc(c,Bt);tn(te||we?$r:nn),Pi&&Q<1&&te||Be(Gr+(Q===1&&!we?ur:0))}}b&&!Nt.tween&&!Zt&&!Vs&&Xe.restart(!0),a&&(lt||v&&Q&&(Q<1||!ol))&&so(a.targets).forEach(function(ti){return ti.classList[te||v?"add":"remove"](a.className)}),o&&!R&&!A&&o(x),We&&!Zt?(R&&(Je&&(rt==="complete"?n.pause().totalProgress(1):rt==="reset"?n.restart(!0).pause():rt==="restart"?n.restart(!0):n[rt]()),o&&o(x)),(lt||!ol)&&(u&&lt&&ll(x,u),N[at]&&ll(x,N[at]),v&&(Q===1?x.kill(!1,1):N[at]=0),lt||(at=Q===1?1:3,N[at]&&ll(x,N[at]))),M&&!te&&Math.abs(x.getVelocity())>(Js(M)?M:2500)&&(In(x.callbackAnimation),K?K.progress(1):In(n,rt==="reverse"?1:!Q,1))):R&&o&&!Zt&&o(x)}if(Oi){var qt=w?H/w.duration()*(w._caScrollDist||0):H;Kr(qt+(T._isFlipped?1:0)),Oi(qt)}Ai&&Ai(-H/w.duration()*(w._caScrollDist||0))}},x.enable=function(A,G){x.enabled||(x.enabled=!0,It(O,"resize",Bn),z||It(O,"scroll",Gi),q&&It(i,"refreshInit",q),A!==!1&&(x.progress=Ft=0,he=Ke=et=dt()),G!==!1&&x.refresh())},x.getTween=function(A){return A&&Nt?Nt.tween:K},x.setPositions=function(A,G,F,H){if(w){var Lt=w.scrollTrigger,Q=w.duration(),bt=Lt.end-Lt.start;A=Lt.start+bt*A/Q,G=Lt.start+bt*G/Q}x.refresh(!1,!1,{start:gc(A,F&&!!x._startClamp),end:gc(G,F&&!!x._endClamp)},H),x.update()},x.adjustPinSpacing=function(A){if(pe&&A){var G=pe.indexOf(P.d)+1;pe[G]=parseFloat(pe[G])+A+Ht,pe[1]=parseFloat(pe[1])+A+Ht,tn(pe)}},x.disable=function(A,G){if(x.enabled&&(A!==!1&&x.revert(!0,!0),x.enabled=x.isActive=!1,G||K&&K.pause(),Ve=0,Dt&&(Dt.uncache=1),q&&zt(i,"refreshInit",q),Xe&&(Xe.pause(),Nt.tween&&Nt.tween.kill()&&(Nt.tween=0)),!z)){for(var F=W.length;F--;)if(W[F].scroller===O&&W[F]!==x)return;zt(O,"resize",Bn),z||zt(O,"scroll",Gi)}},x.kill=function(A,G){x.disable(A,G),K&&!G&&K.kill(),l&&delete _l[l];var F=W.indexOf(x);F>=0&&W.splice(F,1),F===ae&&eo>0&&ae--,F=0,W.forEach(function(H){return H.scroller===x.scroller&&(F=1)}),F||le||(x.scroll.rec=0),n&&(n.scrollTrigger=null,A&&n.revert({kill:!1}),G||n.kill()),de&&[de,ve,T,be].forEach(function(H){return H.parentNode&&H.parentNode.removeChild(H)}),Un===x&&(Un=0),c&&(Dt&&(Dt.uncache=1),F=0,W.forEach(function(H){return H.pin===c&&F++}),F||(Dt.spacer=0)),r.onKill&&r.onKill(x)},W.push(x),x.enable(!1,!1),fr&&fr(x),n&&n.add&&!Ct){var _t=x.update;x.update=function(){x.update=_t,J||Tt||x.refresh()},k.delayedCall(.01,x.update),Ct=.01,J=Tt=0}else x.refresh();c&&fg()},i.register=function(r){return Ki||(k=r||Ic(),zc()&&window.document&&i.enable(),Ki=Fn),Ki},i.defaults=function(r){if(r)for(var n in r)qs[n]=r[n];return qs},i.disable=function(r,n){Fn=0,W.forEach(function(o){return o[n?"kill":"disable"](r)}),zt($,"wheel",Gi),zt(ct,"scroll",Gi),clearInterval(Xs),zt(ct,"touchcancel",or),zt(ot,"touchstart",or),Us(zt,ct,"pointerdown,touchstart,mousedown",mc),Us(zt,ct,"pointerup,touchend,mouseup",yc),no.kill(),Ws(zt);for(var s=0;s<V.length;s+=3)Hs(zt,V[s],V[s+1]),Hs(zt,V[s],V[s+2])},i.enable=function(){if($=window,ct=document,Ge=ct.documentElement,ot=ct.body,k&&(so=k.utils.toArray,Ji=k.utils.clamp,dl=k.core.context||or,sl=k.core.suppressOverwrites||or,yl=$.history.scrollRestoration||"auto",gl=$.pageYOffset,k.core.globals("ScrollTrigger",i),ot)){Fn=1,Zi=document.createElement("div"),Zi.style.height="100vh",Zi.style.position="absolute",Hc(),ig(),St.register(k),i.isTouch=St.isTouch,Vr=St.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),It($,"wheel",Gi),Oc=[$,ct,Ge,ot],k.matchMedia?(i.matchMedia=function(l){var u=k.matchMedia(),f;for(f in l)u.add(f,l[f]);return u},k.addEventListener("matchMediaInit",function(){return Tl()}),k.addEventListener("matchMediaRevert",function(){return Wc()}),k.addEventListener("matchMedia",function(){vi(0,1),Ei("matchMedia")}),k.matchMedia("(orientation: portrait)",function(){return ul(),ul})):console.warn("Requires GSAP 3.11.0 or later"),ul(),It(ct,"scroll",Gi);var r=ot.style,n=r.borderTopStyle,s=k.core.Animation.prototype,o,a;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),r.borderTopStyle="solid",o=br(ot),Mt.m=Math.round(o.top+Mt.sc())||0,Jt.m=Math.round(o.left+Jt.sc())||0,n?r.borderTopStyle=n:r.removeProperty("border-top-style"),Xs=setInterval(bc,250),k.delayedCall(.5,function(){return Vs=0}),It(ct,"touchcancel",or),It(ot,"touchstart",or),Us(It,ct,"pointerdown,touchstart,mousedown",mc),Us(It,ct,"pointerup,touchend,mouseup",yc),hl=k.utils.checkPrefix("transform"),ro.push(hl),Ki=ue(),no=k.delayedCall(.2,vi).pause(),Qi=[ct,"visibilitychange",function(){var l=$.innerWidth,u=$.innerHeight;ct.hidden?(dc=l,pc=u):(dc!==l||pc!==u)&&Bn()},ct,"DOMContentLoaded",vi,$,"load",vi,$,"resize",Bn],Ws(It),W.forEach(function(l){return l.enable(0,1)}),a=0;a<V.length;a+=3)Hs(zt,V[a],V[a+1]),Hs(zt,V[a],V[a+2])}},i.config=function(r){"limitCallbacks"in r&&(ol=!!r.limitCallbacks);var n=r.syncInterval;n&&clearInterval(Xs)||(Xs=n)&&setInterval(bc,n),"ignoreMobileResize"in r&&(Rc=i.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(Ws(zt)||Ws(It,r.autoRefreshEvents||"none"),kc=(r.autoRefreshEvents+"").indexOf("resize")===-1)},i.scrollerProxy=function(r,n){var s=oe(r),o=V.indexOf(s),a=Ti(s);~o&&V.splice(o,a?6:2),n&&(a?$e.unshift($,n,ot,n,Ge,n):$e.unshift(s,n))},i.clearMatchMedia=function(r){W.forEach(function(n){return n._ctx&&n._ctx.query===r&&n._ctx.kill(!0,!0)})},i.isInViewport=function(r,n,s){var o=(Pe(r)?oe(r):r).getBoundingClientRect(),a=o[s?bi:wi]*n||0;return s?o.right-a>0&&o.left+a<$.innerWidth:o.bottom-a>0&&o.top+a<$.innerHeight},i.positionInViewport=function(r,n,s){Pe(r)&&(r=oe(r));var o=r.getBoundingClientRect(),a=o[s?bi:wi],l=n==null?a/2:n in oo?oo[n]*a:~n.indexOf("%")?parseFloat(n)*a/100:parseFloat(n)||0;return s?(o.left+l)/$.innerWidth:(o.top+l)/$.innerHeight},i.killAll=function(r){if(W.slice(0).forEach(function(s){return s.vars.id!=="ScrollSmoother"&&s.kill()}),r!==!0){var n=Ci.killAll||[];Ci={},n.forEach(function(s){return s()})}},i}();U.version="3.12.2";U.saveStyles=function(i){return i?so(i).forEach(function(t){if(t&&t.style){var e=Me.indexOf(t);e>=0&&Me.splice(e,5),Me.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),k.core.getCache(t),dl())}}):Me};U.revert=function(i,t){return Tl(!i,t)};U.create=function(i,t){return new U(i,t)};U.refresh=function(i){return i?Bn():(Ki||U.register())&&vi(!0)};U.update=function(i){return++V.cache&&Sr(i===!0?2:0)};U.clearScrollMemory=Uc;U.maxScroll=function(i,t){return wr(i,t?Jt:Mt)};U.getScrollFunc=function(i,t){return xr(oe(i),t?Jt:Mt)};U.getById=function(i){return _l[i]};U.getAll=function(){return W.filter(function(i){return i.vars.id!=="ScrollSmoother"})};U.isScrolling=function(){return!!Fe};U.snapDirectional=Sl;U.addEventListener=function(i,t){var e=Ci[i]||(Ci[i]=[]);~e.indexOf(t)||e.push(t)};U.removeEventListener=function(i,t){var e=Ci[i],r=e&&e.indexOf(t);r>=0&&e.splice(r,1)};U.batch=function(i,t){var e=[],r={},n=t.interval||.016,s=t.batchMax||1e9,o=function(u,f){var d=[],h=[],c=k.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)}},a;for(a in t)r[a]=a.substr(0,2)==="on"&&fe(t[a])&&a!=="onRefreshInit"?o(a,t[a]):t[a];return fe(s)&&(s=s(),It(U,"refresh",function(){return s=t.batchMax()})),so(i).forEach(function(l){var u={};for(a in r)u[a]=r[a];u.trigger=l,e.push(U.create(u))}),e};var Ec=function(t,e,r,n){return e>n?t(n):e<0&&t(0),r>n?(n-e)/(r-e):r<0?e/(e-r):1},cl=function i(t,e){e===!0?t.style.removeProperty("touch-action"):t.style.touchAction=e===!0?"auto":e?"pan-"+e+(St.isTouch?" pinch-zoom":""):"none",t===Ge&&i(ot,e)},Ks={auto:1,scroll:1},_g=function(t){var e=t.event,r=t.target,n=t.axis,s=(e.changedTouches?e.changedTouches[0]:e).target,o=s._gsap||k.core.getCache(s),a=ue(),l;if(!o._isScrollT||a-o._isScrollT>2e3){for(;s&&s!==ot&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!(Ks[(l=Ie(s)).overflowY]||Ks[l.overflowX]));)s=s.parentNode;o._isScroll=s&&s!==r&&!Ti(s)&&(Ks[(l=Ie(s)).overflowY]||Ks[l.overflowX]),o._isScrollT=a}(o._isScroll||n==="x")&&(e.stopPropagation(),e._gsapAllow=!0)},jc=function(t,e,r,n){return St.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:e,onWheel:n=n&&_g,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&It(ct,St.eventTypes[0],Pc,!1,!0)},onDisable:function(){return zt(ct,St.eventTypes[0],Pc,!0)}})},gg=/(input|label|select|textarea)/i,Mc,Pc=function(t){var e=gg.test(t.target.tagName);(e||Mc)&&(t._gsapAllow=!0,Mc=e)},mg=function(t){xi(t)||(t={}),t.preventDefault=t.isNormalizer=t.allowClicks=!0,t.type||(t.type="wheel,touch"),t.debounce=!!t.debounce,t.id=t.id||"normalizer";var e=t,r=e.normalizeScrollX,n=e.momentum,s=e.allowNestedScroll,o=e.onRelease,a,l,u=oe(t.target)||Ge,f=k.core.globals().ScrollSmoother,d=f&&f.get(),h=Vr&&(t.content&&oe(t.content)||d&&t.content!==!1&&!d.smooth()&&d.content()),c=xr(u,Mt),_=xr(u,Jt),p=1,g=(St.isTouch&&$.visualViewport?$.visualViewport.scale*$.visualViewport.width:$.outerWidth)/$.innerWidth,y=0,m=fe(n)?function(){return n(a)}:function(){return n||2.8},v,b,S=jc(u,t.type,!0,s),C=function(){return b=!1},w=or,M=or,E=function(){l=wr(u,Mt),M=Ji(Vr?1:0,l),r&&(w=Ji(0,wr(u,Jt))),v=Si},P=function(){h._gsap.y=Nn(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},R=function(){if(b){requestAnimationFrame(C);var Y=Nn(a.deltaY/2),Z=M(c.v-Y);if(h&&Z!==c.v+c.offset){c.offset=Z-c.v;var x=Nn((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, "+x+", 0, 1)",h._gsap.y=x+"px",c.cacheID=V.cache,Sr()}return!0}c.offset&&P(),b=!0},O,X,z,L,N=function(){E(),O.isActive()&&O.vars.scrollY>l&&(c()>l?O.progress(1)&&c(l):O.resetTo("scrollY",l))};return h&&k.set(h,{y:"+=0"}),t.ignoreCheck=function(D){return Vr&&D.type==="touchmove"&&R(D)||p>1.05&&D.type!=="touchstart"||a.isGesturing||D.touches&&D.touches.length>1},t.onPress=function(){b=!1;var D=p;p=Nn(($.visualViewport&&$.visualViewport.scale||1)/g),O.pause(),D!==p&&cl(u,p>1.01?!0:r?!1:"x"),X=_(),z=c(),E(),v=Si},t.onRelease=t.onGestureStart=function(D,Y){if(c.offset&&P(),!Y)L.restart(!0);else{V.cache++;var Z=m(),x,q;r&&(x=_(),q=x+Z*.05*-D.velocityX/.227,Z*=Ec(_,x,q,wr(u,Jt)),O.vars.scrollX=w(q)),x=c(),q=x+Z*.05*-D.velocityY/.227,Z*=Ec(c,x,q,wr(u,Mt)),O.vars.scrollY=M(q),O.invalidate().duration(Z).play(.01),(Vr&&O.vars.scrollY>=l||x>=l-1)&&k.to({},{onUpdate:N,duration:Z})}o&&o(D)},t.onWheel=function(){O._ts&&O.pause(),ue()-y>1e3&&(v=0,y=ue())},t.onChange=function(D,Y,Z,x,q){if(Si!==v&&E(),Y&&r&&_(w(x[2]===Y?X+(D.startX-D.x):_()+Y-x[1])),Z){c.offset&&P();var Rt=q[2]===Z,xt=Rt?z+D.startY-D.y:c()+Z-q[1],et=M(xt);Rt&&xt!==et&&(z+=et-xt),c(et)}(Z||Y)&&Sr()},t.onEnable=function(){cl(u,r?!1:"x"),U.addEventListener("refresh",N),It($,"resize",N),c.smooth&&(c.target.style.scrollBehavior="auto",c.smooth=_.smooth=!1),S.enable()},t.onDisable=function(){cl(u,!0),zt($,"resize",N),U.removeEventListener("refresh",N),S.kill()},t.lockAxis=t.lockAxis!==!1,a=new St(t),a.iOS=Vr,Vr&&!c()&&c(1),Vr&&k.ticker.add(or),L=a._dc,O=k.to(a,{ease:"power4",paused:!0,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:qc(c,c(),function(){return O.pause()})},onUpdate:Sr,onComplete:L.vars.onComplete}),a};U.sort=function(i){return W.sort(i||function(t,e){return(t.vars.refreshPriority||0)*-1e6+t.start-(e.start+(e.vars.refreshPriority||0)*-1e6)})};U.observe=function(i){return new St(i)};U.normalizeScroll=function(i){if(typeof i=="undefined")return Ee;if(i===!0&&Ee)return Ee.enable();if(i===!1)return Ee&&Ee.kill();var t=i instanceof St?i:mg(i);return Ee&&Ee.target===t.target&&Ee.kill(),Ti(t.target)&&(Ee=t),t};U.core={_getVelocityProp:Ys,_inputObserver:jc,_scrollers:V,_proxies:$e,bridge:{ss:function(){Fe||Ei("scrollStart"),Fe=ue()},ref:function(){return Zt}}};Ic()&&k.registerPlugin(U);var ce,Qc,Tr,ar,Wr,Jc,Zc,lo,th=function(){return typeof window!="undefined"},eh=function(){return ce||th()&&(ce=window.gsap)&&ce.registerPlugin&&ce},rh=function(t){return typeof t=="string"},$c=function(t){return typeof t=="function"},qn=function(t,e){var r=e==="x"?"Width":"Height",n="scroll"+r,s="client"+r;return t===Tr||t===ar||t===Wr?Math.max(ar[n],Wr[n])-(Tr["inner"+r]||ar[s]||Wr[s]):t[n]-t["offset"+r]},jn=function(t,e){var r="scroll"+(e==="x"?"Left":"Top");return t===Tr&&(t.pageXOffset!=null?r="page"+e.toUpperCase()+"Offset":t=ar[r]!=null?ar:Wr),function(){return t[r]}},yg=function(t,e,r,n){if($c(t)&&(t=t(e,r,n)),typeof t!="object")return rh(t)&&t!=="max"&&t.charAt(1)!=="="?{x:t,y:t}:{y:t};if(t.nodeType)return{y:t,x:t};var s={},o;for(o in t)s[o]=o!=="onAutoKill"&&$c(t[o])?t[o](e,r,n):t[o];return s},ih=function(t,e){if(t=Jc(t)[0],!t||!t.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var r=t.getBoundingClientRect(),n=!e||e===Tr||e===Wr,s=n?{top:ar.clientTop-(Tr.pageYOffset||ar.scrollTop||Wr.scrollTop||0),left:ar.clientLeft-(Tr.pageXOffset||ar.scrollLeft||Wr.scrollLeft||0)}:e.getBoundingClientRect(),o={x:r.left-s.left,y:r.top-s.top};return!n&&e&&(o.x+=jn(e,"x")(),o.y+=jn(e,"y")()),o},Gc=function(t,e,r,n,s){return!isNaN(t)&&typeof t!="object"?parseFloat(t)-s:rh(t)&&t.charAt(1)==="="?parseFloat(t.substr(2))*(t.charAt(0)==="-"?-1:1)+n-s:t==="max"?qn(e,r)-s:Math.min(qn(e,r),ih(t,e)[r]-s)},Kc=function(){ce=eh(),th()&&ce&&typeof document!="undefined"&&document.body&&(Tr=window,Wr=document.body,ar=document.documentElement,Jc=ce.utils.toArray,ce.config({autoKillThreshold:7}),Zc=ce.config(),Qc=1)},rn={version:"3.12.2",name:"scrollTo",rawVars:1,register:function(t){ce=t,Kc()},init:function(t,e,r,n,s){Qc||Kc();var o=this,a=ce.getProperty(t,"scrollSnapType");o.isWin=t===Tr,o.target=t,o.tween=r,e=yg(e,n,t,s),o.vars=e,o.autoKill=!!e.autoKill,o.getX=jn(t,"x"),o.getY=jn(t,"y"),o.x=o.xPrev=o.getX(),o.y=o.yPrev=o.getY(),lo||(lo=ce.core.globals().ScrollTrigger),ce.getProperty(t,"scrollBehavior")==="smooth"&&ce.set(t,{scrollBehavior:"auto"}),a&&a!=="none"&&(o.snap=1,o.snapInline=t.style.scrollSnapType,t.style.scrollSnapType="none"),e.x!=null?(o.add(o,"x",o.x,Gc(e.x,t,"x",o.x,e.offsetX||0),n,s),o._props.push("scrollTo_x")):o.skipX=1,e.y!=null?(o.add(o,"y",o.y,Gc(e.y,t,"y",o.y,e.offsetY||0),n,s),o._props.push("scrollTo_y")):o.skipY=1},render:function(t,e){for(var r=e._pt,n=e.target,s=e.tween,o=e.autoKill,a=e.xPrev,l=e.yPrev,u=e.isWin,f=e.snap,d=e.snapInline,h,c,_,p,g;r;)r.r(t,r.d),r=r._next;h=u||!e.skipX?e.getX():a,c=u||!e.skipY?e.getY():l,_=c-l,p=h-a,g=Zc.autoKillThreshold,e.x<0&&(e.x=0),e.y<0&&(e.y=0),o&&(!e.skipX&&(p>g||p<-g)&&h<qn(n,"x")&&(e.skipX=1),!e.skipY&&(_>g||_<-g)&&c<qn(n,"y")&&(e.skipY=1),e.skipX&&e.skipY&&(s.kill(),e.vars.onAutoKill&&e.vars.onAutoKill.apply(s,e.vars.onAutoKillParams||[]))),u?Tr.scrollTo(e.skipX?h:e.x,e.skipY?c:e.y):(e.skipY||(n.scrollTop=e.y),e.skipX||(n.scrollLeft=e.x)),f&&(t===1||t===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),e.xPrev=e.x,e.yPrev=e.y,lo&&lo.update()},kill:function(t){var e=t==="scrollTo";(e||t==="scrollTo_x")&&(this.skipX=1),(e||t==="scrollTo_y")&&(this.skipY=1)}};rn.max=qn;rn.getOffset=ih;rn.buildGetter=jn;eh()&&ce.registerPlugin(rn);var xg=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig;var vg=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig;var bg=Math.PI/180,o0=180/Math.PI,uo=Math.sin,fo=Math.cos,Gn=Math.abs,$n=Math.sqrt;var wg=function(t){return typeof t=="number"};var nh=1e5;var Ur=function(t){return Math.round(t*nh)/nh||0};function sh(i,t,e,r,n,s,o){for(var a=i.length,l,u,f,d,h;--a>-1;)for(l=i[a],u=l.length,f=0;f<u;f+=2)d=l[f],h=l[f+1],l[f]=d*t+h*r+s,l[f+1]=d*e+h*n+o;return i._dirty=1,i}function Sg(i,t,e,r,n,s,o,a,l){if(!(i===a&&t===l)){e=Gn(e),r=Gn(r);var u=n%360*bg,f=fo(u),d=uo(u),h=Math.PI,c=h*2,_=(i-a)/2,p=(t-l)/2,g=f*_+d*p,y=-d*_+f*p,m=g*g,v=y*y,b=m/(e*e)+v/(r*r);b>1&&(e=$n(b)*e,r=$n(b)*r);var S=e*e,C=r*r,w=(S*C-S*v-C*m)/(S*v+C*m);w<0&&(w=0);var M=(s===o?-1:1)*$n(w),E=M*(e*y/r),P=M*-(r*g/e),R=(i+a)/2,O=(t+l)/2,X=R+(f*E-d*P),z=O+(d*E+f*P),L=(g-E)/e,N=(y-P)/r,D=(-g-E)/e,Y=(-y-P)/r,Z=L*L+N*N,x=(N<0?-1:1)*Math.acos(L/$n(Z)),q=(L*Y-N*D<0?-1:1)*Math.acos((L*D+N*Y)/$n(Z*(D*D+Y*Y)));isNaN(q)&&(q=h),!o&&q>0?q-=c:o&&q<0&&(q+=c),x%=c,q%=c;var Rt=Math.ceil(Gn(q)/(c/4)),xt=[],et=q/Rt,ht=4/3*uo(et/2)/(1+fo(et/2)),Ft=f*e,dt=d*e,Nt=d*-r,Dt=f*r,pt;for(pt=0;pt<Rt;pt++)n=x+pt*et,g=fo(n),y=uo(n),L=fo(n+=et),N=uo(n),xt.push(g-ht*y,y+ht*g,L+ht*N,N-ht*L,L,N);for(pt=0;pt<xt.length;pt+=2)g=xt[pt],y=xt[pt+1],xt[pt]=g*Ft+y*Nt+X,xt[pt+1]=g*dt+y*Dt+z;return xt[pt-2]=a,xt[pt-1]=l,xt}}function oh(i){var t=(i+"").replace(vg,function(E){var P=+E;return P<1e-4&&P>-1e-4?0:P}).match(xg)||[],e=[],r=0,n=0,s=2/3,o=t.length,a=0,l="ERROR: malformed path: "+i,u,f,d,h,c,_,p,g,y,m,v,b,S,C,w,M=function(P,R,O,X){m=(O-P)/3,v=(X-R)/3,p.push(P+m,R+v,O-m,X-v,O,X)};if(!i||!isNaN(t[0])||isNaN(t[1]))return console.log(l),e;for(u=0;u<o;u++)if(S=c,isNaN(t[u])?(c=t[u].toUpperCase(),_=c!==t[u]):u--,d=+t[u+1],h=+t[u+2],_&&(d+=r,h+=n),u||(g=d,y=h),c==="M")p&&(p.length<8?e.length-=1:a+=p.length),r=g=d,n=y=h,p=[d,h],e.push(p),u+=2,c="L";else if(c==="C")p||(p=[0,0]),_||(r=n=0),p.push(d,h,r+t[u+3]*1,n+t[u+4]*1,r+=t[u+5]*1,n+=t[u+6]*1),u+=6;else if(c==="S")m=r,v=n,(S==="C"||S==="S")&&(m+=r-p[p.length-4],v+=n-p[p.length-3]),_||(r=n=0),p.push(m,v,d,h,r+=t[u+3]*1,n+=t[u+4]*1),u+=4;else if(c==="Q")m=r+(d-r)*s,v=n+(h-n)*s,_||(r=n=0),r+=t[u+3]*1,n+=t[u+4]*1,p.push(m,v,r+(d-r)*s,n+(h-n)*s,r,n),u+=4;else if(c==="T")m=r-p[p.length-4],v=n-p[p.length-3],p.push(r+m,n+v,d+(r+m*1.5-d)*s,h+(n+v*1.5-h)*s,r=d,n=h),u+=2;else if(c==="H")M(r,n,r=d,n),u+=1;else if(c==="V")M(r,n,r,n=d+(_?n-r:0)),u+=1;else if(c==="L"||c==="Z")c==="Z"&&(d=g,h=y,p.closed=!0),(c==="L"||Gn(r-d)>.5||Gn(n-h)>.5)&&(M(r,n,d,h),c==="L"&&(u+=2)),r=d,n=h;else if(c==="A"){if(C=t[u+4],w=t[u+5],m=t[u+6],v=t[u+7],f=7,C.length>1&&(C.length<3?(v=m,m=w,f--):(v=w,m=C.substr(2),f-=2),w=C.charAt(1),C=C.charAt(0)),b=Sg(r,n,+t[u+1],+t[u+2],+t[u+3],+C,+w,(_?r:0)+m*1,(_?n:0)+v*1),u+=f,b)for(f=0;f<b.length;f++)p.push(b[f]);r=p[p.length-2],n=p[p.length-1]}else console.log(l);return u=p.length,u<6?(e.pop(),u=0):p[0]===p[u-2]&&p[1]===p[u-1]&&(p.closed=!0),e.totalPoints=a+u,e}function ah(i){wg(i[0])&&(i=[i]);var t="",e=i.length,r,n,s,o;for(n=0;n<e;n++){for(o=i[n],t+="M"+Ur(o[0])+","+Ur(o[1])+" C",r=o.length,s=2;s<r;s++)t+=Ur(o[s++])+","+Ur(o[s++])+" "+Ur(o[s++])+","+Ur(o[s++])+" "+Ur(o[s++])+","+Ur(o[s])+" ";o.closed&&(t+="z")}return t}var xe,uh,fh=function(){return xe||typeof window!="undefined"&&(xe=window.gsap)&&xe.registerPlugin&&xe},lh=function(){xe=fh(),xe?(xe.registerEase("_CE",Mi.create),uh=1):console.warn("Please gsap.registerPlugin(CustomEase)")},Tg=1e20,co=function(t){return~~(t*1e3+(t<0?-.5:.5))/1e3},Cg=1,Eg=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,Mg=/[cLlsSaAhHvVtTqQ]/g,Pg=function(t){var e=t.length,r=Tg,n;for(n=1;n<e;n+=6)+t[n]<r&&(r=+t[n]);return r},Og=function(t,e,r){!r&&r!==0&&(r=Math.max(+t[t.length-1],+t[1]));var n=+t[0]*-1,s=-r,o=t.length,a=1/(+t[o-2]+n),l=-e||(Math.abs(+t[o-1]-+t[1])<.01*(+t[o-2]-+t[0])?Pg(t)+s:+t[o-1]+s),u;for(l?l=1/l:l=-a,u=0;u<o;u+=2)t[u]=(+t[u]+n)*a,t[u+1]=(+t[u+1]+s)*l},Ag=function i(t,e,r,n,s,o,a,l,u,f,d){var h=(t+r)/2,c=(e+n)/2,_=(r+s)/2,p=(n+o)/2,g=(s+a)/2,y=(o+l)/2,m=(h+_)/2,v=(c+p)/2,b=(_+g)/2,S=(p+y)/2,C=(m+b)/2,w=(v+S)/2,M=a-t,E=l-e,P=Math.abs((r-a)*E-(n-l)*M),R=Math.abs((s-a)*E-(o-l)*M),O;return f||(f=[{x:t,y:e},{x:a,y:l}],d=1),f.splice(d||f.length-1,0,{x:C,y:w}),(P+R)*(P+R)>u*(M*M+E*E)&&(O=f.length,i(t,e,h,c,m,v,C,w,u,f,d),i(C,w,b,S,g,y,a,l,u,f,d+1+(f.length-O))),f},Mi=function(){function i(e,r,n){uh||lh(),this.id=e,Cg&&this.setData(r,n)}var t=i.prototype;return t.setData=function(r,n){n=n||{},r=r||"0,0,1,1";var s=r.match(Eg),o=1,a=[],l=[],u=n.precision||1,f=u<=1,d,h,c,_,p,g,y,m,v;if(this.data=r,(Mg.test(r)||~r.indexOf("M")&&r.indexOf("C")<0)&&(s=oh(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)&&Og(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]},a.push(h,c),Ag(h.x,h.y,+s[_],+s[_+1],+s[_+2],+s[_+3],c.x,c.y,1/(u*2e5),a,a.length-1);for(d=a.length,_=0;_<d;_++)y=a[_],m=a[_-1]||y,(y.x>m.x||m.y!==y.y&&m.x===y.x||y===m)&&y.x<=1?(m.cx=y.x-m.x,m.cy=y.y-m.y,m.n=y,m.nx=y.x,f&&_>1&&Math.abs(m.cy/m.cx-a[_-2].cy/a[_-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)))):(a.splice(_--,1),d--);if(d=1/o+1|0,p=1/d,g=0,y=a[0],f){for(_=0;_<d;_++)v=_*p,y.nx<v&&(y=a[++g]),h=y.y+(v-y.x)/y.cx*y.cy,l[_]={x:v,cx:p,y:h,cy:0,nx:9},_&&(l[_-1].cy=h-l[_-1].y);l[d-1].cy=a[a.length-1].y-h}else{for(_=0;_<d;_++)y.nx<_*p&&(y=a[++g]),l[_]=y;g<a.length-1&&(l[_-1]=a[a.length-2])}return this.ease=function(b){var S=l[b*d|0]||l[d-1];return S.nx<b&&(S=S.n),S.y+(b-S.x)/S.cx*S.cy},this.ease.custom=this,this.id&&xe&&xe.registerEase(this.id,this.ease),this},t.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){xe=r,lh()},i.get=function(r){return xe.parseEase(r)},i.getSVGData=function(r,n){n=n||{};var s=n.width||100,o=n.height||100,a=n.x||0,l=(n.y||0)+o,u=xe.utils.toArray(n.path)[0],f,d,h,c,_,p,g,y,m,v;if(n.invert&&(o=-o,l=0),typeof r=="string"&&(r=xe.parseEase(r)),r.custom&&(r=r.custom),r instanceof i)f=ah(sh([r.segment],s,0,0,-o,a,l));else{for(f=[a,l],g=Math.max(5,(n.precision||1)*200),c=1/g,g+=2,y=5/g,m=co(a+c*s),v=co(l+r(c)*-o),d=(v-l)/(m-a),h=2;h<g;h++)_=co(a+h*c*s),p=co(l+r(h*c)*-o),(Math.abs((p-v)/(_-m)-d)>y||h===g-1)&&(f.push(m,v),d=(p-v)/(_-m)),m=_,v=p;f="M"+f.join(",")}return u&&u.setAttribute("d",f),f},i}();fh()&&xe.registerPlugin(Mi);Mi.version="3.12.2";Br.registerPlugin(U,rn,Mi);function kg(){Mi.create("loader","0.83, 0, 0.17, 1"),Mi.create("loader2","0.77, 0, 0.175, 1")}var Hr=new ys({duration:1.2,easing:i=>Math.min(1,1.001-Math.pow(2,-10*i))});function Rg(){Hr.on("scroll",U.update),Br.ticker.add(t=>{Hr.raf(t*1e3)}),Br.ticker.lagSmoothing(0);function i(t){Hr.raf(t),requestAnimationFrame(i)}requestAnimationFrame(i)}function Dg(){let i=[].slice.call(document.querySelectorAll("video.lazyload"));if("IntersectionObserver"in window){let t=new IntersectionObserver(function(e,r){e.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(),t.unobserve(n.target)}})});i.forEach(function(e){t.observe(e)})}}function Lg(){window.addEventListener("pageshow",function(i){i.persisted&&window.location.reload()})}function zg(){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 Ig(){Br.to("#heroSection",{scrollTrigger:{trigger:"#bottomWrapper",start:"top bottom",toggleActions:"restart none none reverse"},y:"-100%"})}function Fg(){let i=Br.timeline({});i.add(function(){history.scrollRestoration="manual",Hr.scrollTo(0)}).add(function(){Hr.stop()}),i.to(".loader_ract",{delay:.2,duration:.8,width:0,ease:"loader2"},">"),i.add(function(){Hr.start()},">"),i.to(".loader_wrapper",{display:"none",duration:.1},">")}window.videoInsideText=function(i){let t=i.querySelector('[class*="copy-this"]');i.querySelector('[class*="headline-span"]').appendChild(t)};window.spanVideoMaskAnimation=function(i){Br.to(i,{scrollTrigger:{trigger:i,start:"bottom bottom-=5%"},width:0,ease:"loader2",duration:.6})};window.Webflow||(window.Webflow=[]);window.Webflow.push(()=>{console.log("The new code source is loaded!"),Ku(),Dg(),Hr.destroy(),Webflow.env("editor")===void 0&&(Rg(),Hr.start()),kg(),Lg(),Ig(),Fg(),window.innerWidth<992&&zg()});})();
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="&nbsp;":!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?"&#173; ":" ",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:
@@ -81,4 +81,34 @@ gsap/CustomEase.js:
81
81
  * Club GreenSock members, the agreement issued with that membership.
82
82
  * @author: Jack Doyle, jack@greensock.com
83
83
  *)
84
+
85
+ gsap/utils/strings.js:
86
+ (*!
87
+ * strings: 3.12.2
88
+ * https://greensock.com
89
+ *
90
+ * Copyright 2008-2023, GreenSock. All rights reserved.
91
+ * Subject to the terms at https://greensock.com/standard-license or for
92
+ * Club GreenSock members, the agreement issued with that membership.
93
+ * @author: Jack Doyle, jack@greensock.com
94
+ *)
95
+
96
+ gsap/SplitText.js:
97
+ (*!
98
+ * SplitText: 3.12.2
99
+ * https://greensock.com
100
+ *
101
+ * @license Copyright 2008-2023, GreenSock. All rights reserved.
102
+ * Subject to the terms at https://greensock.com/standard-license or for
103
+ * Club GreenSock members, the agreement issued with that membership.
104
+ * @author: Jack Doyle, jack@greensock.com
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
+ *)
84
114
  */