@widelab-nc/widelab 1.0.10 → 1.0.11

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 mo=!1,yo=!1,ei=[],xo=-1;function ch(i){hh(i)}function hh(i){ei.includes(i)||ei.push(i),dh()}function Yl(i){let t=ei.indexOf(i);t!==-1&&t>xo&&ei.splice(t,1)}function dh(){!yo&&!mo&&(mo=!0,queueMicrotask(ph))}function ph(){mo=!1,yo=!0;for(let i=0;i<ei.length;i++)ei[i](),xo=i;ei.length=0,xo=-1,yo=!1}var ki,Ri,pn,Xl,vo=!0;function _h(i){vo=!1,i(),vo=!0}function gh(i){ki=i.reactive,pn=i.release,Ri=t=>i.effect(t,{scheduler:e=>{vo?ch(e):e()}}),Xl=i.raw}function El(i){Ri=i}function mh(i){let t=()=>{};return[r=>{let n=Ri(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),pn(n))},n},()=>{t()}]}function fn(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?"),fn(document,"alpine:init"),fn(document,"alpine:initializing"),Yo(),bh(t=>hr(t,Pr)),Fo(t=>Io(t)),Ql((t,e)=>{Uo(t,e).forEach(r=>r())});let i=t=>!os(t.parentElement,!0);Array.from(document.querySelectorAll(Ul())).filter(i).forEach(t=>{hr(t)}),fn(document,"alpine:initialized")}var zo=[],Vl=[];function Wl(){return zo.map(i=>i())}function Ul(){return zo.concat(Vl).map(i=>i())}function Hl(i){zo.push(i)}function ql(i){Vl.push(i)}function os(i,t=!1){return as(i,e=>{if((t?Ul():Wl()).some(n=>e.matches(n)))return!0})}function as(i,t){if(i){if(t(i))return i;if(i._x_teleportBack&&(i=i._x_teleportBack),!!i.parentElement)return as(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)),Uo(r,r.attributes).forEach(s=>s()),r._x_ignore&&n()})})}function Io(i){Pr(i,t=>{Zl(t),wh(t)})}var $l=[],Gl=[],Kl=[];function bh(i){Kl.push(i)}function Fo(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 No=new MutationObserver(Vo),Bo=!1;function Yo(){No.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),Bo=!0}function tu(){Sh(),No.disconnect(),Bo=!1}var cn=[],ho=!1;function Sh(){cn=cn.concat(No.takeRecords()),cn.length&&!ho&&(ho=!0,queueMicrotask(()=>{Th(),ho=!1}))}function Th(){Vo(cn),cn.length=0}function At(i){if(!Bo)return i();tu();let t=i();return Yo(),t}var Xo=!1,is=[];function Ch(){Xo=!0}function Eh(){Xo=!1,Vo(is),is=[]}function Vo(i){if(Xo){is=is.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)),Io(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 gn(Oi(i))}function _n(i,t,e){return i._x_dataStack=[t,...Oi(e||i)],()=>{i._x_dataStack=i._x_dataStack.filter(r=>r!==t)}}function Oi(i){return i._x_dataStack?i._x_dataStack:typeof ShadowRoot=="function"&&i instanceof ShadowRoot?Oi(i.host):i.parentNode?Oi(i.parentNode):[]}function gn(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=>bo(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 bo(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]]={}),bo(i[t[0]],t.slice(1),e)}}var nu={};function He(i,t){nu[i]=t}function wo(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},Fo(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){dn(n,i,t)}}function dn(i,t,e=void 0){Object.assign(i,{el:t,expression:e}),console.warn(`Alpine Expression Error: ${i.message}
1
+ (()=>{var yo=!1,xo=!1,ei=[],vo=-1;function ch(i){hh(i)}function hh(i){ei.includes(i)||ei.push(i),dh()}function Yl(i){let t=ei.indexOf(i);t!==-1&&t>vo&&ei.splice(t,1)}function dh(){!xo&&!yo&&(yo=!0,queueMicrotask(ph))}function ph(){yo=!1,xo=!0;for(let i=0;i<ei.length;i++)ei[i](),vo=i;ei.length=0,vo=-1,xo=!1}var ki,Ri,pn,Xl,bo=!0;function _h(i){bo=!1,i(),bo=!0}function gh(i){ki=i.reactive,pn=i.release,Ri=t=>i.effect(t,{scheduler:e=>{bo?ch(e):e()}}),Xl=i.raw}function El(i){Ri=i}function mh(i){let t=()=>{};return[r=>{let n=Ri(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),pn(n))},n},()=>{t()}]}function fn(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?"),fn(document,"alpine:init"),fn(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=>!os(t.parentElement,!0);Array.from(document.querySelectorAll(Ul())).filter(i).forEach(t=>{hr(t)}),fn(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 os(i,t=!1){return as(i,e=>{if((t?Ul():Wl()).some(n=>e.matches(n)))return!0})}function as(i,t){if(i){if(t(i))return i;if(i._x_teleportBack&&(i=i._x_teleportBack),!!i.parentElement)return as(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 cn=[],po=!1;function Sh(){cn=cn.concat(Bo.takeRecords()),cn.length&&!po&&(po=!0,queueMicrotask(()=>{Th(),po=!1}))}function Th(){Wo(cn),cn.length=0}function At(i){if(!Yo)return i();tu();let t=i();return Xo(),t}var Vo=!1,is=[];function Ch(){Vo=!0}function Eh(){Vo=!1,Wo(is),is=[]}function Wo(i){if(Vo){is=is.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 gn(Oi(i))}function _n(i,t,e){return i._x_dataStack=[t,...Oi(e||i)],()=>{i._x_dataStack=i._x_dataStack.filter(r=>r!==t)}}function Oi(i){return i._x_dataStack?i._x_dataStack:typeof ShadowRoot=="function"&&i instanceof ShadowRoot?Oi(i.host):i.parentNode?Oi(i.parentNode):[]}function gn(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){dn(n,i,t)}}function dn(i,t,e=void 0){Object.assign(i,{el:t,expression:e}),console.warn(`Alpine Expression Error: ${i.message}
2
2
 
3
3
  ${e?'Expression: "'+e+`"
4
4
 
5
- `:""}`,t),setTimeout(()=>{throw i},0)}var rs=!0;function su(i){let t=rs;rs=!1;let e=i();return rs=t,e}function ri(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={};wo(e,i);let r=[e,...Oi(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(gn([r,...i]),n);ns(e,s)}}var po={};function Dh(i,t){if(po[i])return po[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 dn(o,t,i),Promise.resolve()}})();return po[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=gn([s,...i]);if(typeof r=="function"){let l=r(r,a).catch(u=>dn(u,e,t));r.finished?(ns(n,r.result,a,o,e),r.result=void 0):l.then(u=>{ns(n,u,a,o,e)}).catch(u=>dn(u,e,t)).finally(()=>r.result=void 0)}}}function ns(i,t,e,r,n){if(rs&&typeof t=="function"){let s=t.apply(e,r);s instanceof Promise?s.then(o=>ns(i,o,e,r)).catch(o=>dn(o,n,t)):i(s)}else typeof t=="object"&&t instanceof Promise?t.then(s=>i(s)):i(t)}var Wo="x-";function Di(i=""){return Wo+i}function zh(i){Wo=i}var So={};function Et(i,t){return So[i]=t,{before(e){if(!So[e]){console.warn("Cannot find directive `${directive}`. `${name}` will use the default order of execution");return}let r=ti.indexOf(e);ti.splice(r>=0?r:ti.indexOf("DEFAULT"),0,i)}}}function Uo(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 To=!1,un=new Map,uu=Symbol();function Ih(i){To=!0;let t=Symbol();uu=t,un.set(t,[]);let e=()=>{for(;un.get(t).length;)un.get(t).shift()();un.delete(t)},r=()=>{To=!1,e()};i(e),r()}function fu(i){let t=[],e=a=>t.push(a),[r,n]=mh(i);return t.push(n),[{Alpine:mn,effect:r,cleanup:e,evaluateLater:ee.bind(ee,i),evaluate:ri.bind(ri,i)},()=>t.forEach(a=>a())]}function Fh(i,t){let e=()=>{},r=So[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),To?un.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 Ho(i){pu.push(i)}function _u({name:i}){return gu().test(i)}var gu=()=>new RegExp(`^${Wo}([^:^.]+)\\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 Co="DEFAULT",ti=["ignore","ref","data","id","bind","init","for","model","modelable","transition","show","if",Co,"teleport"];function Bh(i,t){let e=ti.indexOf(i.type)===-1?Co:i.type,r=ti.indexOf(t.type)===-1?Co:t.type;return ti.indexOf(e)-ti.indexOf(r)}var Eo=[],qo=!1;function jo(i=()=>{}){return queueMicrotask(()=>{qo||setTimeout(()=>{Mo()})}),new Promise(t=>{Eo.push(()=>{i(),t()})})}function Mo(){for(qo=!1;Eo.length;)Eo.shift()()}function Yh(){qo=!0}function $o(i,t){return Array.isArray(t)?Pl(i,t.join(" ")):typeof t=="object"&&t!==null?Xh(i,t):typeof t=="function"?$o(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 ls(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")}),()=>{ls(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 Po(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,$o,""),{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,ls);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?an(t,"scale",95)/100:1,d=an(t,"delay",0)/1e3,h=an(t,"origin","center"),c="opacity, transform",_=an(t,"duration",150)/1e3,p=an(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=()=>{}){Oo(i,t,{during:this.enter.during,start:this.enter.start,end:this.enter.end},r,n)},out(r=()=>{},n=()=>{}){Oo(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 Oo(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=Po(()=>{At(()=>{e=!0,r||t.before(),n||(t.end(),Mo()),t.after(),i.isConnected&&t.cleanup(),delete i._x_transitioning})});i._x_transitioning={beforeCancels:[],beforeCancel(o){this.beforeCancels.push(o)},cancel:Po(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()}),Mo(),setTimeout(i._x_transitioning.finish,o+a),n=!0)})})}function an(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 us(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 Ao=!1;function Kh(i,t){t._x_dataStack||(t._x_dataStack=i._x_dataStack),Or=!0,Ao=!0,xu(()=>{Qh(t)}),Or=!1,Ao=!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=Ri;El((e,r)=>{let n=t(e);return pn(n),()=>{}}),i(),El(t)}function Jh(i){return Or?Ao?!0:i.hasAttribute("data-has-alpine-state"):!1}function vu(i,t,e,r=[]){switch(i._x_bindings||(i._x_bindings=ki({})),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=$o(i,t)}function ed(i,t){i._x_undoAddedStyles&&i._x_undoAddedStyles(),i._x_undoAddedStyles=ls(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(()=>ri(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=Ri(()=>{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)),f=d)),s=JSON.stringify(f),o=JSON.stringify(d)});return()=>{pn(u)}}function fd(i){(Array.isArray(i)?i:[i]).forEach(e=>e(mn))}var Zr={},Al=!1;function cd(i,t){if(Al||(Zr=ki(Zr),Al=!0),t===void 0)return Zr[i];Zr[i]=t,typeof t=="object"&&t!==null&&t.hasOwnProperty("init")&&typeof t.init=="function"&&Zr[i].init(),ru(Zr[i])}function hd(){return Zr}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),Uo(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 ki},get release(){return pn},get effect(){return Ri},get raw(){return Xl},version:"3.13.1",flushAndStopDeferringMutations:Eh,dontAutoEvaluateFunctions:su,disableEffectScheduling:_h,startObservingMutations:Yo,stopObservingMutations:tu,setReactivityEngine:gh,onAttributeRemoved:Jl,onAttributesAdded:Ql,closestDataStack:Oi,skipDuringClone:us,onlyDuringClone:$h,addRootSelector:Hl,addInitSelector:ql,addScopeToNode:_n,deferMutations:Ch,mapAttributes:Ho,evaluateLater:ee,interceptInit:vh,setEvaluator:kh,mergeProxies:gn,extractProp:ud,findClosest:as,onElRemoved:Fo,closestRoot:os,destroyTree:Io,interceptor:iu,transition:Oo,setStyles:ls,mutateDom:At,directive:Et,entangle:Eu,throttle:Cu,debounce:Tu,evaluate:ri,initTree:hr,nextTick:jo,prefixed:Di,prefix:zh,plugin:fd,magic:He,store:cd,start:yh,clone:Kh,cloneNode:Gh,bound:ld,$data:eu,walk:Pr,data:_d,bind:dd},mn=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",Fg=Au(yd+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),xd=Object.freeze({}),Ng=Object.freeze([]),vd=Object.prototype.hasOwnProperty,fs=(i,t)=>vd.call(i,t),ii=Array.isArray,hn=i=>ku(i)==="[object Map]",bd=i=>typeof i=="string",Go=i=>typeof i=="symbol",cs=i=>i!==null&&typeof i=="object",wd=Object.prototype.toString,ku=i=>wd.call(i),Ru=i=>ku(i).slice(8,-1),Ko=i=>bd(i)&&i!=="NaN"&&i[0]!=="-"&&""+parseInt(i,10)===i,hs=i=>{let t=Object.create(null);return e=>t[e]||(t[e]=i(e))},Sd=/-(\w)/g,Bg=hs(i=>i.replace(Sd,(t,e)=>e?e.toUpperCase():"")),Td=/\B([A-Z])/g,Yg=hs(i=>i.replace(Td,"-$1").toLowerCase()),Du=hs(i=>i.charAt(0).toUpperCase()+i.slice(1)),Xg=hs(i=>i?`on${Du(i)}`:""),Lu=(i,t)=>i!==t&&(i===i||t===t),ko=new WeakMap,ln=[],er,ni=Symbol("iterate"),Ro=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(!ln.includes(e)){zu(e);try{return kd(),ln.push(e),er=e,i()}finally{ln.pop(),Iu(),er=ln[ln.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 Ai=!0,Qo=[];function Ad(){Qo.push(Ai),Ai=!1}function kd(){Qo.push(Ai),Ai=!0}function Iu(){let i=Qo.pop();Ai=i===void 0?!0:i}function Ue(i,t,e){if(!Ai||er===void 0)return;let r=ko.get(i);r||ko.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=ko.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"&&ii(i))o.forEach((f,d)=>{(d==="length"||d>=r)&&l(f)});else switch(e!==void 0&&l(o.get(e)),t){case"add":ii(i)?Ko(e)&&l(o.get("length")):(l(o.get(ni)),hn(i)&&l(o.get(Ro)));break;case"delete":ii(i)||(l(o.get(ni)),hn(i)&&l(o.get(Ro)));break;case"set":hn(i)&&l(o.get(ni));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(Go)),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=ii(r);if(!i&&o&&fs(kl,n))return Reflect.get(kl,n,s);let a=Reflect.get(r,n,s);return(Go(n)?Fu.has(n):Rd(n))||(i||Ue(r,"get",n),t)?a:Do(a)?!o||!Ko(n)?a.value:a:cs(a)?i?Wu(a):ea(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),!ii(e)&&Do(o)&&!Do(n)))return o.value=n,!0;let a=ii(e)&&Ko(r)?Number(r)<e.length:fs(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=fs(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(!Go(t)||!Fu.has(t))&&Ue(i,"has",t),e}function Yd(i){return Ue(i,"iterate",ii(i)?"length":ni),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}},Jo=i=>cs(i)?ea(i):i,Zo=i=>cs(i)?Wu(i):i,ta=i=>i,ds=i=>Reflect.getPrototypeOf(i);function Qn(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}=ds(n),a=r?ta:e?Zo:Jo;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 Jn(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 Zn(i,t=!1){return i=i.__v_raw,!t&&Ue(st(i),"iterate",ni),Reflect.get(i,"size",i)}function Rl(i){i=st(i);let t=st(this);return ds(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}=ds(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}=ds(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=hn(i)?new Map(i):new Set(i),r=i.clear();return t&&Ar(i,"clear",void 0,void 0,e),r}function ts(i,t){return function(r,n){let s=this,o=s.__v_raw,a=st(o),l=t?ta:i?Zo:Jo;return!i&&Ue(a,"iterate",ni),o.forEach((u,f)=>r.call(n,l(u),l(f),s))}}function es(i,t,e){return function(...r){let n=this.__v_raw,s=st(n),o=hn(s),a=i==="entries"||i===Symbol.iterator&&o,l=i==="keys"&&o,u=n[i](...r),f=e?ta:t?Zo:Jo;return!t&&Ue(s,"iterate",l?Ro:ni),{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 Qn(this,s)},get size(){return Zn(this)},has:Jn,add:Rl,set:Dl,delete:Ll,clear:zl,forEach:ts(!1,!1)},t={get(s){return Qn(this,s,!1,!0)},get size(){return Zn(this)},has:Jn,add:Rl,set:Dl,delete:Ll,clear:zl,forEach:ts(!1,!0)},e={get(s){return Qn(this,s,!0)},get size(){return Zn(this,!0)},has(s){return Jn.call(this,s,!0)},add:Mr("add"),set:Mr("set"),delete:Mr("delete"),clear:Mr("clear"),forEach:ts(!0,!1)},r={get(s){return Qn(this,s,!0,!0)},get size(){return Zn(this,!0)},has(s){return Jn.call(this,s,!0)},add:Mr("add"),set:Mr("set"),delete:Mr("delete"),clear:Mr("clear"),forEach:ts(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{i[s]=es(s,!1,!1),e[s]=es(s,!0,!1),t[s]=es(s,!1,!0),r[s]=es(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(fs(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 ea(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(!cs(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 Do(i){return!!(i&&i.__v_isRef===!0)}He("nextTick",()=>jo);He("dispatch",i=>fn.bind(fn,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=>os(i));He("refs",i=>(i._x_refs_proxy||(i._x_refs_proxy=gn(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 _o={};function Hu(i){return _o[i]||(_o[i]=0),++_o[i]}function ep(i,t){return as(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))})}),_n(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=us(()=>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 Lo(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=ss(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=ss(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 ss(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,ss((e[s+1]||"invalid-wait").split("ms")[0])?2:1)}if(e.includes("throttle")){let s=e.indexOf("throttle");e.splice(s,ss((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?()=>{}:Lo(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=Lo(i.form,"reset",[],c=>{jo(()=>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")?go(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 go(s)}):Array.from(e.target.selectedOptions).map(n=>n.value||n.text);{let n=e.target.value;return t.includes("number")?go(n):t.includes("trim")?n.trim():n}}})}function go(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(Di("cloak")))));ql(()=>`[${Di("init")}]`);Et("init",us((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})})})});Ho(cu(":",hu(Di("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(()=>`[${Di("data")}]`);Et("data",(i,{expression:t},{cleanup:e})=>{if(Jh(i))return;t=t===""?"{}":t;let r={};wo(r,i);let n={};gd(n,r);let s=ri(i,t,{scope:n});(s===void 0||s===!0)&&(s={}),wo(s,i);let o=ki(s);ru(o);let a=_n(i,o);o.init&&ri(i,o.init),e(()=>{o.destroy&&ri(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=Po(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=ki(b);_n(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=os(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 _n(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))});Ho(cu("@",hu(Di("on:"))));Et("on",us((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=Lo(i,t,e,a=>{s(()=>{},{scope:{$event:a},params:[a]})});n(()=>o())}));ps("Collapse","collapse","collapse");ps("Intersect","intersect","intersect");ps("Focus","trap","focus");ps("Mask","mask","mask");function ps(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))}mn.setEvaluator(au);mn.setReactivityEngine({reactive:ea,effect:Ed,release:Md,raw:st});var gp=mn,ra=gp;function ia(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");ia(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){ia(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){ia(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=ra,window.Webflow||(window.Webflow=[]),window.Webflow.push(()=>{vp(),ra.start()})}function na(){return na=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},na.apply(this,arguments)}function _s(i,t,e){return Math.max(i,Math.min(t,e))}var sa=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=_s(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?.(),this.onUpdate=a}},oa=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}}},gs=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={}}},aa=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=_s(-100,o,100),a=_s(-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 gs,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})}},ms=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,na({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 sa,this.emitter=new gs,this.dimensions=new oa({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 aa(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=_s(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?.(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:""}},zi={duration:.5,overwrite:!1,delay:0},Ea,Gt,gt,ke=1e8,nt=1/ke,_a=Math.PI*2,bp=_a/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"},Ps=function(t){return typeof t>"u"},ir=function(t){return typeof t=="object"},me=function(t){return t!==!1},Ma=function(){return typeof window<"u"},ys=function(t){return mt(t)||kt(t)},af=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Kt=Array.isArray,ga=/(?:-?\.?\d|\.)+/gi,Pa=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ui=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,la=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Oa=/[+-]=-?[.\d]+/,lf=/[^,'"\[\]\s]+/gi,Cp=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ut,Ae,ma,Aa,Te={},ws={},uf,ff=function(t){return(ws=li(t,Te))&&Qt},Os=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},Ss=function(t,e){return!e&&console.warn(t)},cf=function(t,e){return t&&(Te[t]=e)&&ws&&(ws[t]=e)||Te},Sn=function(){return 0},Ep={suppressEvents:!0,isStart:!0,kill:!1},xs={suppressEvents:!0,kill:!1},Mp={suppressEvents:!0},ka={},Rr=[],ya={},hf,_e={},ua={},Qu=30,vs=[],Ra="",Da=function(t){var e=t[0],r,n;if(ir(e)||mt(e)||(t=[t]),!(r=(e._gsap||{}).harness)){for(n=vs.length;n--&&!vs[n].targetTest(e););r=vs[n]}for(n=t.length;n--;)t[n]&&(t[n]._gsap||(t[n]._gsap=new Ia(t[n],r)))||t.splice(n,1);return t},Dr=function(t){return t._gsap||Da(Re(t))[0]._gsap},La=function(t,e,r){return(r=t[e])&&mt(r)?t[e]():Ps(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},fi=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},Ts=function(){var t=Rr.length,e=Rr.slice(0),r,n;for(ya={},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&&Ts(),t.render(e,r,n||Gt&&e<0&&(t._initted||t._startAt)),Rr.length&&!Gt&&Ts()},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])}},li=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},Cs=function(t,e){var r={},n;for(n in t)n in e||(r[n]=t[n]);return r},vn=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},As=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},si=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},xa=function(t,e,r,n){return t._startAt&&(Gt?t._startAt.revert(xs):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?Ii(t._tTime,t=t.duration()+t._rDelay)*t:0},Ii=function(t,e){var r=Math.floor(t/=e);return t&&r===t?r-1:r},Es=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},ks=function(t){return t._end=Vt(t._start+(t._tDur/Math.abs(t._ts||t._rts||nt)||0))},Rs=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)),ks(t),r._dirty||si(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=Es(t.rawTime(),e),(!e._dur||En(0,e.totalDuration(),r)-e._tTime>nt)&&e.render(r,!0)),si(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),va(e)||(t._recent=e),n||mf(t,e),t._ts<0&&Rs(t,t._tTime),t},yf=function(t,e){return(Te.ScrollTrigger||Os("scrollTrigger",e))&&Te.ScrollTrigger.create(e,t)},xf=function(t,e,r,n,s){if(Ba(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))},va=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&&va(t))||(t._ts<0||t._dp._ts<0)&&!va(t))?0:1,a=t._rDelay,l=0,u,f,d;if(a&&t._repeat&&(l=En(0,t._tDur,e),f=Ii(l,a),t._yoyo&&f&1&&(o=1-o),f!==Ii(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&&xa(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}},Fi=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&&Rs(t,t._tTime=t._tDur*a),t.parent&&ks(t),r||si(t.parent,t),t},tf=function(t){return t instanceof $t?si(t):Fi(t,t._dur)},Ip={_start:0,endTime:Sn,totalDuration:Sn},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},bn=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},En=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 En(t,e,n)})},ba=[].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&&(ma||!Ni())?ba.call((e||Aa).querySelectorAll(t),0):Kt(t)?Np(t,r):vf(t)?ba.call(t,0):t?[t]:[]},wa=function(t){return t=Re(t)[0]||Ss("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return Re(e,r.querySelectorAll?r:r===t?Ss("Invalid scope")||Aa.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=oi(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}},Sa=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=Sa(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)}:Sa(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)})},Bi=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:ga),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=li(Kt(t)?[]:{},t));if(!f){for(l in e)Fa.call(a,t,l,"get",e[l]);s=function(_){return Va(_,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&&Ts(),a&&(gt=a),f=l?s.apply(u,l):s.call(u),gt=o,f},yn=function(t){return Lr(t),t.scrollTrigger&&t.scrollTrigger.kill(!!Gt),t.progress()<1&&De(t,"onInterrupt"),t},Li,Mf=[],Pf=function(t){if(Ma()&&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:Sn,render:Va,add:Fa,kill:o_,modifier:s_,rawVars:0},o={targetTest:0,get:0,getSetter:Ds,aliases:{},register:0};if(Ni(),t!==n){if(_e[e])return;Le(n,Le(Cs(t,s),o)),li(n.prototype,li(s,Cs(t,o))),_e[n.prop=e]=n,t.targetTest&&(vs.push(n),ka[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,xn={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]},fa=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:xn.black,s,o,a,l,u,f,d,h,c,_;if(!n){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),xn[t])n=xn[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(ga),!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]=fa(l+1/3,s,o),n[1]=fa(l,s,o),n[2]=fa(l-1/3,s,o);else if(~t.indexOf("="))return n=t.match(Pa),r&&n.length<4&&(n[3]=1),n}else n=t.match(ga)||xn.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(ui)||[];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(ui),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 xn)i+="|"+t+"\\b";return new RegExp(i+")","gi")}(),Hp=/hsl[a]?\(/,za=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},Tn,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&&(!ma&&Ma()&&(Ae=ma=window,Aa=Ae.document||{},Te.gsap=Qt,(Ae.gsapVersions||(Ae.gsapVersions=[])).push(Qt.version),ff(ws||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)},Tn=1,_(2))},sleep:function(){(f?Ae.cancelAnimationFrame:clearTimeout)(l),Tn=0,u=Sn},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),Ni(),v},remove:function(g,y){~(y=a.indexOf(g))&&a.splice(y,1)&&c>=y&&c--},_listeners:a},d}(),Ni=function(){return!Tn&&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},oi=function(t,e){return t&&(mt(t)?t:j[t]||Kp(t))||e},ci=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}},ca=function i(t,e,r){var n=e>=1?e:1,s=(r||(t?.3:.45))/(e<1?e:1),o=s/_a*(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=_a/s,l.config=function(u,f){return i(t,u,f)},l},ha=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;ci(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;ci("Elastic",ca("in"),ca("out"),ca());(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};ci("Bounce",function(o){return 1-s(1-o)},s)})(7.5625,2.75);ci("Expo",function(i){return i?Math.pow(2,10*(i-1)):0});ci("Circ",function(i){return-(of(1-i*i)-1)});ci("Sine",function(i){return i===1?1:-Sp(i*bp)+1});ci("Back",ha("in"),ha("out"),ha());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*En(0,o,a)|0)+s)*r}}};zi.ease=j["quad.out"];re("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(i){return Ra+=i+","+i+"Params,"});var Ia=function(t,e){this.id=wp++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:La,this.set=e?e.getSetter:Ds},Cn=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,Fi(this,+e.duration,1,1),this.data=e.data,gt&&(this._ctx=gt,gt.data.push(this)),Tn||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,Fi(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(r,n){if(Ni(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(Rs(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?Ii(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?Es(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-nt?0:this._rts,this.totalTime(En(-Math.abs(this._delay),this._tDur,n),!0),ks(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):(Ni(),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?Es(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(){yn(this)},i}();Le(Cn.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 bn(0,arguments,this),this},e.from=function(n,s,o){return bn(1,arguments,this),this},e.fromTo=function(n,s,o,a){return bn(2,arguments,this),this},e.set=function(n,s,o){return s.duration=0,s.parent=this,vn(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,vn(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,vn(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=Ii(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,ks(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 Cn)){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):(As(this,n),n===this._recent&&(this._recent=this._last),si(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||Sn,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&&Fi(_,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 si(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={}),si(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;Fi(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,Es(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}(Cn);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,Xa,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=Bi(n)),o&&(m=[r,n],o(m,t,e),r=m[0],n=m[1]),h=r.match(la)||[];d=la.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)==="="?fi(g,_)-g:parseFloat(_)-g,m:c&&c<4?Math.round:0},u=la.lastIndex);return l.c=u<n.length?n.substring(u,n.length):"",l.fp=a,(Oa.test(n)||y)&&(l.e=0),this._pt=l,l},Fa=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:Ya,_;if(kt(n)&&(~n.indexOf("random(")&&(n=Bi(n)),n.charAt(1)==="="&&(_=fi(h,n)+(Wt(h)||0),(_||_===0)&&(n=_))),!f||h!==n||Ta)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)&&Os(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=wn(t,s,e,r,n)),!ir(t)||t.style&&t.nodeType||Kt(t)||af(t))return kt(t)?wn(t,s,e,r,n):t;var o={},a;for(a in t)o[a]=wn(t[a],s,e,r,n);return o},Na=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!==Li))for(u=r._ptLookup[r._targets.indexOf(s)],f=a._props.length;f--;)u[a._props[f]]=l;return a},kr,Ta,Ba=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"&&!Ea,C=t.timeline,w,M,E,P,R,O,X,z,L,N,D,Y,Z;if(C&&(!_||!s)&&(s="none"),t._ease=oi(s,zi.ease),t._yEase=c?kf(oi(c===!0?s:c,zi.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=Cs(n,ka),y&&(y._zTime<0&&y.progress(1),e<0&&h&&a&&!p?y.render(-1,!0):y.revert(h&&g?xs: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(xs),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(xs):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||Da(m)[M]._gsap,t._ptLookup[M]=N={},ya[X.id]&&Rr.length&&Ts(),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=Na(E,w,t,D,R,b))?L.priority&&(O=1):N[E]=P=Fa.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&&(ya[X.id]=1)}O&&Wa(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 Ta=1,t.vars[e]="+=0",Ba(t,a),Ta=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=li({},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})},wn=function(t,e,r,n,s){return mt(t)?t.call(e,r,n,s):kt(t)&&~t.indexOf("random(")?Bi(t):t},Lf=Ra+"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:vn(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?Da(v):Ss("GSAP target "+r+" not found. https://greensock.com",!ye.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=c,_||h||ys(u)||ys(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||ys(u)||ys(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=Cs(n,zf),C.stagger=0,y&&(C.yoyoEase=y),R&&li(C,R),E=v[S],C.duration=+wn(u,dr(a),S,E,v),C.delay=(+wn(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(_){vn(Le(b.vars.defaults,{ease:"none"})),b._ease=oi(_.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&&!Ea&&(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=Ii(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&&xa(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&&xa(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){Tn||ge.wake(),this._ts||this.play();var l=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Ba(this,l),u=this._ease(l/this._dur),Zp(this,n,s,o,a,u,l)?this.resetTo(n,s,o,a):(Rs(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?yn(this):this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(n,s,kr&&kr.vars.overwrite!==!0)._first||yn(this),this.parent&&o!==this.timeline.totalDuration()&&Fi(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),yn(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)&&As(this,g,"_pt"),delete h[p]),c!=="all"&&(c[p]=1)}return this._initted&&!this._pt&&f&&yn(this),this},t.to=function(n,s){return new t(n,s,arguments[2])},t.from=function(n,s){return bn(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 bn(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}(Cn);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=ba.call(arguments,0);return e.splice(i==="staggerFromTo"?5:4,0,0),t[i].apply(t,e)}});var Ya=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)},Ds=function(t,e){return mt(t[e])?If:Ps(t[e])&&t.setAttribute?i_:Ya},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)},Xa=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)},Va=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?As(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)},Wa=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||Ya,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(Ra+"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 ka[i]=1});Te.TweenMax=Te.TweenLite=wt;Te.TimelineLite=Te.TimelineMax=$t;ut=new $t({sortChildren:!1,defaults:zi,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});ye.stringFilter=za;var ai=[],bs={},l_=[],nf=0,u_=0,da=function(t){return(bs[t]||l_).map(function(e){return e()})},Ca=function(){var t=Date.now(),e=[];t-nf>2&&(da("matchMediaInit"),ai.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))}),da("matchMediaRevert"),e.forEach(function(r){return r.onMatch(r)}),nf=t,da("matchMedia"))},Nf=function(){function i(e,r){this.selector=r&&wa(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=wa(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=ai.length;a--;)ai[a].id===this.id&&ai.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&&(ai.indexOf(o)<0&&ai.push(o),(a[u]=l.matches)&&(f=1),l.addListener?l.addListener(Ca):l.addEventListener("change",Ca)));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}(),Ms={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;Li._pt=0,d.init(t,r?f+r:f,Li,0,[t]),d.render(1,d),Li._pt&&Va(1,Li)}: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,li((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=oi(t.ease,zi.ease)),Ju(zi,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]&&Ss(e+" effect requires "+a+" plugin.")}),ua[e]=function(a,l,u){return r(Re(a),Le(l||{},s),u)},o&&($t.prototype[e]=function(a,l,u){return this.add(ua[e](a,ir(l)?l:(u=l)&&{},this),u)})},registerEase:function(t,e){j[t]=oi(e)},parseEase:function(t,e){return arguments.length?oi(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 ai.forEach(function(t){var e=t.conditions,r,n;for(n in e)e[n]&&(e[n]=!1,r=1);r&&t.revert()})||Ca()},addEventListener:function(t,e){var r=bs[t]||(bs[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=bs[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:wa,mapRange:Ef,pipe:Bp,unitize:Yp,interpolate:Up,shuffle:bf},install:ff,effects:ua,ticker:ge,updateRoot:$t.updateRoot,plugins:_e,globalTimeline:ut,core:{PropTween:ie,globals:cf,Tween:wt,Timeline:$t,Animation:Cn,getCache:Dr,_removeLinkedListItem:As,reverting:function(){return Gt},context:function(t){return t&&gt&&(gt.data.push(t),t._ctx=gt),gt},suppressOverwrites:function(t){return Ea=t}}};re("to,from,fromTo,delayedCall,set,killTweensOf",function(i){return Ms[i]=wt[i]});ge.add($t.updateRoot);Li=Ms.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))},pa=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=Ms.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)}},pa("roundProps",Sa),pa("modifiers"),pa("snap",Sf))||Ms;wt.version=$t.version=Qt.version="3.12.2";uf=1;Ma()&&Ni();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,Xi,Ka,_i,k_,Yf,Qa,R_=function(){return typeof window<"u"},mr={},pi=180/Math.PI,Vi=Math.PI/180,Yi=Math.atan2,Xf=1e8,Ja=/([A-Z])/g,D_=/(left|right|width|margin|padding|x)/i,L_=/[\s,\(]\S/,nr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},qa=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(Ja,"-$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=Qa(),(!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,ja=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(Ja,"-$1").toLowerCase())||n.getPropertyValue(e)||!r&&i(t,Wi(e)||e,1)||""},Vf="O,Moz,ms,Ms,Webkit".split(","),Wi=function(t,e,r){var n=e||_i,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},$a=function(){R_()&&window.document&&(Bf=window,Ir=Bf.document,Xi=Ir.documentElement,_i=ja("div")||{style:{}},k_=ja("div"),ft=Wi(ft),qe=ft+"Origin",_i.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Jf=!!Wi("perspective"),Qa=Qt.core.reverting,Ka=1)},Ua=function i(t){var e=ja("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(Xi.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)),Xi.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=Ua.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===Ua||(e=Ua.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))},Pn=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(Ja,"-$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=_i.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(_i),_=_i[f],p.removeChild(_i),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 Ka||$a(),e in nr&&e!=="transform"&&(e=nr[e],~e.indexOf(",")&&(e=e.split(",")[0])),mr[e]&&e!=="transform"?(s=An(t,n),s=e!=="transformOrigin"?s[e]:s.svg?s.origin:zs(sr(t,qe))+" "+s.zOrigin+"px"):(s=t.style[e],(!s||s==="auto"||n||~(s+"").indexOf("calc("))&&(s=Ls[e]&&Ls[e](t,e,r)||sr(t,e)||La(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=Wi(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,Xa),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],za(f),r=f[0],n=f[1],h=r.match(ui)||[],S=n.match(ui)||[],S.length){for(;d=ui.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=fi(c,g)+b),y=parseFloat(g),v=g.substr((y+"").length),l=ui.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 Oa.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),Pn(r,a);l&&(Pn(r,ft),o&&(o.svg&&r.removeAttribute("transform"),An(r,1),o.uncache=1,Kf(n)))}},Ls={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}}},On=[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)?On:e.substr(7).match(Pa).map(yt)},Za=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"?On:s):(s===On&&!t.offsetParent&&t!==Xi&&!r.svg&&(l=n.display,n.display="block",o=t.parentNode,(!o||!t.offsetParent)&&(u=1,a=t.nextElementSibling,Xi.appendChild(t)),s=qf(t),l?n.display=l:Pn(t,"display"),u&&(a?o.insertBefore(t,a):o?o.appendChild(t):Xi.removeChild(t))),e&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},Ga=function(t,e,r,n,s,o){var a=t._gsap,l=s||Za(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!==On&&(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)},An=function(t,e){var r=t._gsap||new Ia(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=Za(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"),Ga(t,D||u,!!D||r.originIsAbsolute,r.smooth!==!1,w)),S=r.xOrigin||0,C=r.yOrigin||0,w!==On&&(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?Yi(O,R)*pi:0,m=X||z?Yi(X,z)*pi+p:0,m&&(_*=Math.abs(Math.cos(m*Vi))),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=Yi(ht,Rt),g=M*pi,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=Yi(-X,Rt),y=M*pi,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=Yi(O,R),p=M*pi,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=Yi(L,N),m=Math.abs(M)>2e-4?M*pi: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]=zs(u)),r.xOffset=r.yOffset=0,r.force3D=ye.force3D,r.renderTransform=r.svg?Q_:Jf?ic:K_,r.uncache=0,r},zs=function(t){return(t=t.split(" "))[0]+" "+t[1]},Ha=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)},hi="0deg",Mn="0px",di=") ",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!==hi||f!==hi)){var C=parseFloat(f)*Vi,w=Math.sin(C),M=Math.cos(C),E;C=parseFloat(d)*Vi,E=Math.cos(C),o=Ha(m,o,w*E*-v),a=Ha(m,a,-Math.sin(C)*-v),l=Ha(m,l,M*E*-v+v)}g!==Mn&&(b+="perspective("+g+di),(n||s)&&(b+="translate("+n+"%, "+s+"%) "),(S||o!==Mn||a!==Mn||l!==Mn)&&(b+=l!==Mn||S?"translate3d("+o+", "+a+", "+l+") ":"translate("+o+", "+a+di),u!==hi&&(b+="rotate("+u+di),f!==hi&&(b+="rotateY("+f+di),d!==hi&&(b+="rotateX("+d+di),(h!==hi||c!==hi)&&(b+="skew("+h+", "+c+di),(_!==1||p!==1)&&(b+="scale("+_+", "+p+di),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*=Vi,u*=Vi,S=Math.cos(l)*d,C=Math.sin(l)*d,w=Math.sin(l-u)*-h,M=Math.cos(l-u)*h,u&&(f*=Vi,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")?pi: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=An(r,1),Pn(r,ft),r.setAttribute("transform",u)):(u=getComputedStyle(r)[ft],o[ft]=e,a=An(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,qa),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});Ls[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 tl={name:"css",register:$a,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;Ka||$a(),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]&&Na(p,e,r,n,t,s)))){if(c=typeof f,_=Ls[p],c==="function"&&(f=f.call(r,n,t,s),c=typeof f),c==="string"&&~f.indexOf("random(")&&(f=Bi(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=Bi(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||An(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?fi(S.scaleY,m+d):d)-S.scaleY||0,qa),this._pt.u=0,o.push("scaleY",p),p+="X";else if(p==="transformOrigin"){M.push(qe,0,a[qe]),f=$_(f),S.svg?Ga(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,zs(u),zs(f)));continue}else if(p==="svgOrigin"){Ga(t,f,1,C,0,this);continue}else if(p in ec){J_(this,S,p,h,m?fi(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=Wi(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?fi(h,m+d):d)-h,!v&&(y==="px"||p==="zIndex")&&e.autoRound!==!1?F_:qa),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"){Os(p,f);continue}v||(p in a?M.push(p,0,a[p]):M.push(p,1,u||t[p])),o.push(p)}}w&&Wa(this)},render:function(t,e){if(e.tween._time||!Qa())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&&!Ps(t.style[e])?N_:~e.indexOf("-")?B_:Ds(t,e)},core:{_removeProperty:Pn,_getMatrix:Za}};Qt.utils.checkPrefix=Wi;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(tl);var Ui=Qt.registerPlugin(tl)||Qt,Zg=Ui.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,el,eg,Ce,Br,Yr,qi,oc,gi,Rn,ac,yr,je,lc,uc=function(){return Ut||typeof window<"u"&&(Ut=window.gsap)&&Ut.registerPlugin&&Ut},fc=1,Hi=[],V=[],$e=[],Dn=Date.now,rl=function(t,e){return e},rg=function(){var t=Rn.core,e=t.bridge||{},r=t._scrollers,n=t._proxies;r.push.apply(r,V),n.push.apply(n,$e),V=r,$e=n,rl=function(o,a){return e[o](a)}},vr=function(t,e){return~$e.indexOf(t)&&$e[$e.indexOf(t)+1][e]},Ln=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)},Is="scrollLeft",Fs="scrollTop",il=function(){return yr&&yr.isPressed||V.cache++},Ns=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&&rl("ss",s)}else(e||V.cache!==n.cacheID||rl("ref"))&&(n.cacheID=V.cache,n.v=t());return n.v+n.offset};return r.offset=0,t&&r},Jt={s:Is,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Ns(function(i){return arguments.length?Ce.scrollTo(i,Mt.sc()):Ce.pageXOffset||Br[Is]||Yr[Is]||qi[Is]||0})},Mt={s:Fs,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Jt,sc:Ns(function(i){return arguments.length?Ce.scrollTo(Jt.sc(),i):Ce.pageYOffset||Br[Fs]||Yr[Fs]||qi[Fs]||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;Ln(t)&&(t=Br.scrollingElement||Yr);var s=V.indexOf(t),o=n===Mt.sc?1:2;!~s&&(s=V.push(t)-1),V[s+o]||se(t,"scroll",il);var a=V[s+o],l=a||(V[s+o]=Ns(vr(t,r),!0)||(Ln(t)?n:Ns(function(u){return arguments.length?t[r]=u:t[r]})));return l.target=t,a||(l.smooth=Ut.getProperty(t,"scrollBehavior")==="smooth"),l},Bs=function(t,e,r){var n=t,s=t,o=Dn(),a=o,l=e||50,u=Math.max(500,l*3),f=function(_,p){var g=Dn();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=Dn();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}},kn=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(){Rn=Ut.core.globals().ScrollTrigger,Rn&&Rn.core&&rg()},hc=function(t){return Ut=t||uc(),Ut&&typeof document<"u"&&document.body&&(Ce=window,Br=document,Yr=Br.documentElement,qi=Br.body,ac=[Ce,Br,Yr,qi],eg=Ut.utils.clamp,lc=Ut.core.context||function(){},gi="onpointerenter"in qi?"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 Yr?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Yr?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return fc=0},500),cc(),el=1),el};Jt.op=Mt;V.cache=0;var St=function(){function i(e){this.init(e)}var t=i.prototype;return t.init=function(r){el||hc(Ut)||console.warn("Please gsap.registerPlugin(Observer)"),Rn||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)||Yr,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(qi).lineHeight)||22);var pt,he,Ke,J,Tt,de,ve,T=this,be=0,lr=0,Ur=xr(a,Jt),Ct=xr(a,Mt),Hr=Ur(),qr=Ct(),rn=~o.indexOf("touch")&&!~o.indexOf("pointer")&&je[0]==="pointerdown",Bt=Ln(a),vt=a.ownerDocument||Br,Ne=[0,0,0],Be=[0,0,0],jr=0,ur=function(){return jr=Dn()},Qe=function(I,tt){return(T.event=I)&&c&&~c.indexOf(I.target)||tt&&rn&&I.pointerType!=="touch"||D&&D(I,tt)},pe=function(){T._vx.reset(),T._vy.reset(),he.pause(),d&&d(T)},$r=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},Ei=function(I,tt,_t){Ne[_t]+=I,Be[_t]+=tt,T._vx.update(I),T._vy.update(tt),u?pt||(pt=requestAnimationFrame($r)):$r()},Mi=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($r)):$r()},Gr=function(I){if(!Qe(I,1)){I=kn(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),Mi(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=kn(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],Gr,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],Gr,!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=kn(B);!tt&&I&&(T._vx.reset(),T._vy.reset(),f&&dt&&Ut.delayedCall(.08,function(){if(Dn()-jr>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)},Kr=function(){return(T.isGesturing=!1)||x(T)},Ye=function(I){if(!Qe(I)){var tt=Ur(),_t=Ct();Ei((tt-Hr)*ht,(_t-qr)*ht,1),Hr=tt,qr=_t,d&&he.restart(!0)}},Xe=function(I){if(!Qe(I)){I=kn(I,f),q&&(Tt=!0);var tt=(I.deltaMode===1?l:I.deltaMode===2?Ce.innerHeight:1)*_;Ei(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)&&Mi(A,G)}},Qr=function(I){T.event=I,z(T)},Pi=function(I){T.event=I,L(T)},fr=function(I){return Qe(I)||kn(I,f)&&et(T)};he=T._dc=Ut.delayedCall(h||.25,pe).pause(),T.deltaX=T.deltaY=0,T._vx=Bs(0,50,!0),T._vy=Bs(0,50,!0),T.scrollX=Ur,T.scrollY=Ct,T.isDragging=T.isGesturing=T.isPressed=!1,lc(this),T.enable=function(B){return T.isEnabled||(se(Bt?vt:a,"scroll",il),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",Kr),z&&se(a,gi+"enter",Qr),L&&se(a,gi+"leave",Pi),N&&se(a,gi+"move",Ve)),T.isEnabled=!0,B&&B.type&&Cr(B),Rt&&Rt(T)),T},T.disable=function(){T.isEnabled&&(Hi.filter(function(B){return B!==T&&Ln(B.target)}).length||ne(Bt?vt:a,"scroll",il),T.isPressed&&(T._vx.reset(),T._vy.reset(),ne(Y?a:vt,je[1],Gr,!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",Kr),ne(a,gi+"enter",Qr),ne(a,gi+"leave",Pi),ne(a,gi+"move",Ve),T.isEnabled=T.isPressed=T.isDragging=!1,xt&&xt(T))},T.kill=T.revert=function(){T.disable();var B=Hi.indexOf(T);B>=0&&Hi.splice(B,1),yr===T&&(yr=0)},Hi.push(T),Y&&Ln(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 Hi.slice()};St.getById=function(i){return Hi.filter(function(t){return t.vars.id===i})[0]};uc()&&Ut.registerPlugin(St);var k,Gi,$,ct,Ge,ot,Oc,io,no,Qi,Ks,Ys,Zt,oo,cl,ae,dc,pc,Ki,Ac,nl,kc,Ee,Rc,Dc,Lc,Xr,hl,ml,Ji,yl,sl,Xs=1,ue=Date.now,ol=ue(),Fe=0,In=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 In&&requestAnimationFrame(i)},mc=function(){return oo=1},yc=function(){return oo=0},or=function(t){return t},Fn=function(t){return Math.round(t*1e5)/1e5||0},zc=function(){return typeof window<"u"},Ic=function(){return k||zc()&&(k=window.gsap)&&k.registerPlugin&&k},wi=function(t){return!!~Oc.indexOf(t)},Fc=function(t){return(t==="Height"?yl:$["inner"+t])||Ge["client"+t]||ot["client"+t]},Nc=function(t){return vr(t,"getBoundingClientRect")||(wi(t)?function(){return ro.width=$.innerWidth,ro.height=yl,ro}: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 ro}},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]:wi(t)?(Ge[r]||ot[r])-Fc(n):t[r]-t["offset"+n])},Vs=function(t,e){for(var r=0;r<Ki.length;r+=3)(!e||~e.indexOf(Ki[r+1]))&&t(Ki[r],Ki[r+1],Ki[r+2])},Pe=function(t){return typeof t=="string"},fe=function(t){return typeof t=="function"},Qs=function(t){return typeof t=="number"},mi=function(t){return typeof t=="object"},zn=function(t,e,r){return t&&t.progress(e?0:1)&&r&&t.pause()},al=function(t,e){if(t.enabled){var r=e(t);r&&r.totalTime&&(t.callbackAnimation=r)}},ji=Math.abs,Bc="left",Yc="top",xl="right",vl="bottom",xi="width",vi="height",Bn="Right",Yn="Left",Xn="Top",Vn="Bottom",Pt="padding",ze="margin",tn="Width",bl="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)[cl]!=="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},dl=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)}},wl=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 wl(Xc(t))(e,r.direction)}},Ws=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)},Us=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"},Hs={toggleActions:"play",anticipatePin:0},so={top:0,left:0,center:.5,bottom:1,right:1},Js=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 so?so[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},qs=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=wi(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?xl:vl)+":"+(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],Zs(_,0,n,m),_},Zs=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+tn]=1,s["border"+a+tn]=0,s[r.p]=e+"px",k.set(t,s)},W=[],pl={},Un,bc=function(){return ue()-Fe>34&&(Un||(Un=requestAnimationFrame(Sr)))},$i=function(){(!Ee||!Ee.isPressed||Ee.startX>ot.clientWidth)&&(V.cache++,Ee?Un||(Un=requestAnimationFrame(Sr)):Sr(),Fe||Ti("scrollStart"),Fe=ue())},ll=function(){Lc=$.innerWidth,Dc=$.innerHeight},Nn=function(){V.cache++,!Zt&&!kc&&!ct.fullscreenElement&&!ct.webkitFullscreenElement&&(!Rc||Lc!==$.innerWidth||Math.abs($.innerHeight-Dc)>$.innerHeight*.25)&&io.restart(!0)},Si={},ug=[],Vc=function i(){return zt(H,"scrollEnd",i)||yi(!0)},Ti=function(t){return Si[t]&&Si[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)},Sl=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||Ti("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=ml=t)},le,bi=0,wc,fg=function(){if(wc!==bi){var t=wc=bi;requestAnimationFrame(function(){return t===bi&&yi(!0)})}},Hc=function(){ot.appendChild(Ji),yl=Ji.offsetHeight||$.innerHeight,ot.removeChild(Ji)},yi=function(t,e){if(Fe&&!t){It(H,"scrollEnd",Vc);return}Hc(),le=H.isRefreshing=!0,V.forEach(function(n){return fe(n)&&++n.cacheID&&(n.rec=n())});var r=Ti("refreshInit");Ac&&H.sort(),e||Sl(),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(ml,1),io.pause(),bi++,le=2,Sr(2),W.forEach(function(n){return fe(n.vars.onRefresh)&&n.vars.onRefresh(n)}),le=H.isRefreshing=!1,Ti("refresh")},_l=0,to=1,Wn,Sr=function(t){if(!le||t===2){H.isUpdating=!0,Wn&&Wn.update(0);var e=W.length,r=ue(),n=r-ol>=50,s=e&&W[0].scroll();if(to=_l>s?-1:1,le||(_l=s),n&&(Fe&&!oo&&r-Fe>200&&(Fe=0,Ti("scrollEnd")),Ks=ol,ol=r),to<0){for(ae=e;ae-- >0;)W[ae]&&W[ae].update(0,n);to=1}else for(ae=0;ae<e;ae++)W[ae]&&W[ae].update(0,n);H.isUpdating=!1}Un=0},gl=[Bc,Yc,vl,xl,ze+Vn,ze+Bn,ze+Xn,ze+Yn,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],eo=gl.concat([xi,vi,"boxSizing","max"+tn,"max"+bl,"position",ze,Pt,Pt+Xn,Pt+Bn,Pt+Vn,Pt+Yn]),cg=function(t,e,r){Zi(r);var n=t._gsap;if(n.spacerIsNative)Zi(n.spacerState);else if(t._gsap.swappedIn){var s=e.parentNode;s&&(s.insertBefore(t,e),s.removeChild(e))}t._gsap.swappedIn=!1},ul=function(t,e,r,n){if(!t._gsap.swappedIn){for(var s=gl.length,o=e.style,a=t.style,l;s--;)l=gl[s],o[l]=r[l];o.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(o.display="inline-block"),a[vl]=a[xl]="auto",o.flexBasis=r.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[xi]=dl(t,Jt)+Ht,o[vi]=dl(t,Mt)+Ht,o[Pt]=a[ze]=a[Yc]=a[Bc]="0",Zi(n),a[xi]=a["max"+tn]=r[xi],a[vi]=a["max"+bl]=r[vi],a[Pt]=r[Pt],t.parentNode!==e&&(t.parentNode.insertBefore(e,t),e.appendChild(t)),t._gsap.swappedIn=!0}},hg=/([A-Z])/g,Zi=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())}},js=function(t){for(var e=eo.length,r=t.style,n=[],s=0;s<e;s++)n.push(eo[s],r[eo[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},ro={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)==="="?Js("0"+t.substr(3),r):0));var p=c?c.time():0,g,y,m;if(c&&c.seek(0),isNaN(t)||(t=+t),Qs(t))c&&(t=k.utils.mapRange(c.scrollTrigger.start,c.scrollTrigger.end,0,h,t)),a&&Zs(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=Js(v[0],b[n.d]),C=Js(v[1]||"0",r),t=b[n.p]-u[n.p]-f+S+s-C,a&&Zs(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,Zs(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}},$s=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),H.isTouch&&It(t,"touchmove",r.wheelHandler),s},H=function(){function i(e,r){Gi||i.register(k)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),hl(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),!In){this.update=this.refresh=this.kill=or;return}r=xc(Pe(r)||Qs(r)||r.nodeType?{trigger:r}:r,Hs);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=wi(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:Hs.markers,Z=z?0:parseFloat(Ie(O)["border"+P.p2+tn])||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,Ur,Ct,Hr,qr,rn,Bt,vt,Ne,Be,jr,ur,Qe,pe,$r,Ei,Mi,Gr,Cr,Er,K,Kr,Ye,Xe,Ve,Qr,Pi,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&&(Wn=x)),X.tweenScroll=X.tweenScroll||{top:Cc(O,Mt),left:Cc(O,Jt)},x.tweenTo=Nt=X.tweenScroll[P.p],x.scrubDuration=function(A){Kr=Qs(A)&&A,Kr?K?K.duration(A):K=k.to(n,{ease:"expo",totalProgress:"+=0",duration:Kr,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&&((!mi(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 wl(b.snapTo)(A,ue()-ht<500?0:G.direction)}:k.utils.snap(b.snapTo),Ye=b.duration||{min:.1,max:2},Ye=mi(Ye)?Qi(Ye.min,Ye.max):Qi(Ye,Ye),Xe=k.delayedCall(b.delay||Kr/2||.1,function(){var A=dt(),G=ue()-ht<500,F=Nt.tween;if((G||Math.abs(x.getVelocity())<10)&&!F&&!oo&&et!==A){var U=(A-J)/Ct,Lt=n&&!R?n.totalProgress():U,Q=G?0:(Lt-Er)/(ue()-Ks)*1e3||0,bt=k.utils.clamp(-U,1-U,ji(Q/2)*Q/.185),te=U+(b.inertia===!1?0:bt),Yt=Qi(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<=ji(at-A))return;b.inertia===!1&&(bt=Yt-U),Nt(at,{duration:Ye(ji(Math.max(ji(te-Lt),ji(Yt-Lt))*.185/Q/.05||0)),ease:b.ease||"power3",data:ji(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&&(pl[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?Hr=Dt.pinState:(C&&(C=oe(C),C&&!C.nodeType&&(C=C.current||C.nativeElement),Dt.spacerIsNative=!!C,C&&(Dt.spacerState=js(C))),Dt.spacer=Bt=C||ct.createElement("div"),Bt.classList.add("pin-spacer"),l&&Bt.classList.add("pin-spacer-"+l),Dt.pinState=Hr=js(c)),r.force3D!==!1&&k.set(c,{force3D:!0}),x.spacer=Bt=Dt.spacer,Gr=Ie(c),Qe=Gr[_+P.os2],Ne=k.getProperty(c),Be=k.quickSetter(c,P.a,Ht),ul(c,Bt,Gr),rn=js(c)),Y){lr=mi(Y)?xc(Y,vc):vc,T=qs("scroller-start",l,O,P,lr,0),be=qs("scroller-end",l,O,P,lr,0,T),vt=T["offset"+P.op.d2];var B=oe(vr(O,"content")||O);de=this.markerStart=qs("start",l,B,P,lr,vt,0,w),ve=this.markerEnd=qs("end",l,B,P,lr,vt,0,w),w&&(Pi=k.quickSetter([de,ve],P.a,Ht)),!L&&!($e.length&&vr(O,"fixedMarkers")===!0)&&(og(z?ot:O),k.set([T,be],{force3D:!0}),$r=k.quickSetter(T,P.a,Ht),Mi=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,U=Zt;F!==x.isReverted&&(F&&(Ve=Math.max(dt(),x.scroll.rec||0),Ft=x.progress,Qr=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,Hr):ul(c,Bt,Ie(c),pe)),F||x.update(F),Zt=U,x.isReverted=F)},x.refresh=function(A,G,F,U){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=U||0,rt=mi(F)?F.end:r.end,We=r.endTrigger||h,lt=mi(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,Jr,Gn,jt,Ot,Ze,co,Cl,nn,tr,sn,Kn;for(Y&&mi(F)&&(sn=k.getProperty(T,P.p),Kn=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&&(nn||(nn=[]),nn.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=Js(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),Gn=P===Mt,Jr=dt(),jr=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")),ul(c,Bt,Xt),rn=js(c),qt=br(c,!0),co=L&&xr(O,Gn?Jt:Mt)(),_&&(pe=[_+P.os2,Ct+at+Ht],pe.t=Bt,Se=_===Pt?dl(c,P)+Ct+at:0,Se&&pe.push(P.d,Se+Ht),Zi(pe),we&&W.forEach(function(on){on.pin===we&&on.vars.pinSpacing!==!1&&(on._subPinOffset=!0)}),L&&dt(Ve)),L&&(jt={top:qt.top+(Gn?Jr-J:co)+Ht,left:qt.left+(Gn?co:Jr-J)+Ht,boxSizing:"border-box",position:"fixed"},jt[xi]=jt["max"+tn]=Math.ceil(qt.width)+Ht,jt[vi]=jt["max"+bl]=Math.ceil(qt.height)+Ht,jt[ze]=jt[ze+Xn]=jt[ze+Bn]=jt[ze+Vn]=jt[ze+Yn]="0",jt[Pt]=Xt[Pt],jt[Pt+Xn]=Xt[Pt+Xn],jt[Pt+Bn]=Xt[Pt+Bn],jt[Pt+Vn]=Xt[Pt+Vn],jt[Pt+Yn]=Xt[Pt+Yn],qr=dg(Hr,jt,S),le&&dt(0)),n?(Cl=n._initted,nl(1),n.render(n.duration(),!0,!0),ur=Ne(P.a)-jr+Ct+at,Ei=Math.abs(Ct-ur)>1,L&&Ei&&qr.splice(qr.length-2,2),n.render(0,!0,!0),Cl||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),nl(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;nn&&nn.forEach(function(on){return on.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||Qr)&&n.progress()!==Qr&&n.progress(Qr||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(sn)||(sn-=k.getProperty(T,P.p),Kn-=k.getProperty(be,P.p),$s(T,P,sn),$s(de,P,sn-(U||0)),$s(be,P,Kn),$s(ve,P,Kn-(U||0))),te&&!le&&x.update(),f&&!le&&!Ur&&(Ur=!0,f(x),Ur=!1)}},x.getVelocity=function(){return(dt()-Ke)/(ue()-Ks)*1e3||0},x.endAnimation=function(){zn(x.callbackAnimation),n&&(K?K.progress(1):n.paused()?R||zn(n,x.direction<0,1):zn(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(U){return U.vars.preventOverlaps===A}):F).filter(function(U){return x.direction>0?U.end<=J:U.start>=Tt})},x.update=function(A,G,F){if(!(w&&!F&&!A)){var U=le===!0?Ve:x.scroll(),Lt=A?0:(U-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():U,b&&(Er=Cr,Cr=n&&!R?n.totalProgress():Q)),g&&!Q&&c&&!Zt&&!Xs&&Fe&&J<U+(U-Ke)/(ue()-Ks)*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(Jr){return Jr.endAnimation()})),R||(K&&!Zt&&!Xs?(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(Fn(jr+ur*Q));else if(We){if(we=!A&&Q>bt&&Tt+1>U&&U+1>=wr(O,P),S)if(!A&&(te||we)){var Se=br(c,!0),Xt=U-J;Tc(c,ot,Se.top+(P===Mt?Xt:0)+Ht,Se.left+(P===Mt?0:Xt)+Ht)}else Tc(c,Bt);Zi(te||we?qr:rn),Ei&&Q<1&&te||Be(jr+(Q===1&&!we?ur:0))}}b&&!Nt.tween&&!Zt&&!Xs&&Xe.restart(!0),a&&(lt||v&&Q&&(Q<1||!sl))&&no(a.targets).forEach(function(Jr){return Jr.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||!sl)&&(u&&lt&&al(x,u),N[at]&&al(x,N[at]),v&&(Q===1?x.kill(!1,1):N[at]=0),lt||(at=Q===1?1:3,N[at]&&al(x,N[at]))),M&&!te&&Math.abs(x.getVelocity())>(Qs(M)?M:2500)&&(zn(x.callbackAnimation),K?K.progress(1):zn(n,rt==="reverse"?1:!Q,1))):R&&o&&!Zt&&o(x)}if(Mi){var qt=w?U/w.duration()*(w._caScrollDist||0):U;$r(qt+(T._isFlipped?1:0)),Mi(qt)}Pi&&Pi(-U/w.duration()*(w._caScrollDist||0))}},x.enable=function(A,G){x.enabled||(x.enabled=!0,It(O,"resize",Nn),z||It(O,"scroll",$i),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,U){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)},U),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,Zi(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",Nn),z||zt(O,"scroll",$i)}},x.kill=function(A,G){x.disable(A,G),K&&!G&&K.kill(),l&&delete pl[l];var F=W.indexOf(x);F>=0&&W.splice(F,1),F===ae&&to>0&&ae--,F=0,W.forEach(function(U){return U.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(U){return U.parentNode&&U.parentNode.removeChild(U)}),Wn===x&&(Wn=0),c&&(Dt&&(Dt.uncache=1),F=0,W.forEach(function(U){return U.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 Gi||(k=r||Ic(),zc()&&window.document&&i.enable(),Gi=In),Gi},i.defaults=function(r){if(r)for(var n in r)Hs[n]=r[n];return Hs},i.disable=function(r,n){In=0,W.forEach(function(o){return o[n?"kill":"disable"](r)}),zt($,"wheel",$i),zt(ct,"scroll",$i),clearInterval(Ys),zt(ct,"touchcancel",or),zt(ot,"touchstart",or),Ws(zt,ct,"pointerdown,touchstart,mousedown",mc),Ws(zt,ct,"pointerup,touchend,mouseup",yc),io.kill(),Vs(zt);for(var s=0;s<V.length;s+=3)Us(zt,V[s],V[s+1]),Us(zt,V[s],V[s+2])},i.enable=function(){if($=window,ct=document,Ge=ct.documentElement,ot=ct.body,k&&(no=k.utils.toArray,Qi=k.utils.clamp,hl=k.core.context||or,nl=k.core.suppressOverwrites||or,ml=$.history.scrollRestoration||"auto",_l=$.pageYOffset,k.core.globals("ScrollTrigger",i),ot)){In=1,Ji=document.createElement("div"),Ji.style.height="100vh",Ji.style.position="absolute",Hc(),ig(),St.register(k),i.isTouch=St.isTouch,Xr=St.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),It($,"wheel",$i),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 Sl()}),k.addEventListener("matchMediaRevert",function(){return Wc()}),k.addEventListener("matchMedia",function(){yi(0,1),Ti("matchMedia")}),k.matchMedia("(orientation: portrait)",function(){return ll(),ll})):console.warn("Requires GSAP 3.11.0 or later"),ll(),It(ct,"scroll",$i);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"),Ys=setInterval(bc,250),k.delayedCall(.5,function(){return Xs=0}),It(ct,"touchcancel",or),It(ot,"touchstart",or),Ws(It,ct,"pointerdown,touchstart,mousedown",mc),Ws(It,ct,"pointerup,touchend,mouseup",yc),cl=k.utils.checkPrefix("transform"),eo.push(cl),Gi=ue(),io=k.delayedCall(.2,yi).pause(),Ki=[ct,"visibilitychange",function(){var l=$.innerWidth,u=$.innerHeight;ct.hidden?(dc=l,pc=u):(dc!==l||pc!==u)&&Nn()},ct,"DOMContentLoaded",yi,$,"load",yi,$,"resize",Nn],Vs(It),W.forEach(function(l){return l.enable(0,1)}),a=0;a<V.length;a+=3)Us(zt,V[a],V[a+1]),Us(zt,V[a],V[a+2])}},i.config=function(r){"limitCallbacks"in r&&(sl=!!r.limitCallbacks);var n=r.syncInterval;n&&clearInterval(Ys)||(Ys=n)&&setInterval(bc,n),"ignoreMobileResize"in r&&(Rc=i.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(Vs(zt)||Vs(It,r.autoRefreshEvents||"none"),kc=(r.autoRefreshEvents+"").indexOf("resize")===-1)},i.scrollerProxy=function(r,n){var s=oe(r),o=V.indexOf(s),a=wi(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?xi:vi]*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?xi:vi],l=n==null?a/2:n in so?so[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=Si.killAll||[];Si={},n.forEach(function(s){return s()})}},i}();H.version="3.12.2";H.saveStyles=function(i){return i?no(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),hl())}}):Me};H.revert=function(i,t){return Sl(!i,t)};H.create=function(i,t){return new H(i,t)};H.refresh=function(i){return i?Nn():(Gi||H.register())&&yi(!0)};H.update=function(i){return++V.cache&&Sr(i===!0?2:0)};H.clearScrollMemory=Uc;H.maxScroll=function(i,t){return wr(i,t?Jt:Mt)};H.getScrollFunc=function(i,t){return xr(oe(i),t?Jt:Mt)};H.getById=function(i){return pl[i]};H.getAll=function(){return W.filter(function(i){return i.vars.id!=="ScrollSmoother"})};H.isScrolling=function(){return!!Fe};H.snapDirectional=wl;H.addEventListener=function(i,t){var e=Si[i]||(Si[i]=[]);~e.indexOf(t)||e.push(t)};H.removeEventListener=function(i,t){var e=Si[i],r=e&&e.indexOf(t);r>=0&&e.splice(r,1)};H.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(H,"refresh",function(){return s=t.batchMax()})),no(i).forEach(function(l){var u={};for(a in r)u[a]=r[a];u.trigger=l,e.push(H.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},fl=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)},Gs={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||!(Gs[(l=Ie(s)).overflowY]||Gs[l.overflowX]));)s=s.parentNode;o._isScroll=s&&s!==r&&!wi(s)&&(Gs[(l=Ie(s)).overflowY]||Gs[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){mi(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=Xr&&(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=Qi(Xr?1:0,l),r&&(w=Qi(0,wr(u,Jt))),v=bi},P=function(){h._gsap.y=Fn(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=Fn(a.deltaY/2),Z=M(c.v-Y);if(h&&Z!==c.v+c.offset){c.offset=Z-c.v;var x=Fn((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 Xr&&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=Fn(($.visualViewport&&$.visualViewport.scale||1)/g),O.pause(),D!==p&&fl(u,p>1.01?!0:r?!1:"x"),X=_(),z=c(),E(),v=bi},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),(Xr&&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(bi!==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(){fl(u,r?!1:"x"),H.addEventListener("refresh",N),It($,"resize",N),c.smooth&&(c.target.style.scrollBehavior="auto",c.smooth=_.smooth=!1),S.enable()},t.onDisable=function(){fl(u,!0),zt($,"resize",N),H.removeEventListener("refresh",N),S.kill()},t.lockAxis=t.lockAxis!==!1,a=new St(t),a.iOS=Xr,Xr&&!c()&&c(1),Xr&&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};H.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)})};H.observe=function(i){return new St(i)};H.normalizeScroll=function(i){if(typeof i>"u")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(),wi(t.target)&&(Ee=t),t};H.core={_getVelocityProp:Bs,_inputObserver:jc,_scrollers:V,_proxies:$e,bridge:{ss:function(){Fe||Ti("scrollStart"),Fe=ue()},ref:function(){return Zt}}};Ic()&&k.registerPlugin(H);var ce,Qc,Tr,ar,Vr,Jc,Zc,ao,th=function(){return typeof window<"u"},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"},Hn=function(t,e){var r=e==="x"?"Width":"Height",n="scroll"+r,s="client"+r;return t===Tr||t===ar||t===Vr?Math.max(ar[n],Vr[n])-(Tr["inner"+r]||ar[s]||Vr[s]):t[n]-t["offset"+r]},qn=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:Vr),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===Vr,s=n?{top:ar.clientTop-(Tr.pageYOffset||ar.scrollTop||Vr.scrollTop||0),left:ar.clientLeft-(Tr.pageXOffset||ar.scrollLeft||Vr.scrollLeft||0)}:e.getBoundingClientRect(),o={x:r.left-s.left,y:r.top-s.top};return!n&&e&&(o.x+=qn(e,"x")(),o.y+=qn(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"?Hn(e,r)-s:Math.min(Hn(e,r),ih(t,e)[r]-s)},Kc=function(){ce=eh(),th()&&ce&&typeof document<"u"&&document.body&&(Tr=window,Vr=document.body,ar=document.documentElement,Jc=ce.utils.toArray,ce.config({autoKillThreshold:7}),Zc=ce.config(),Qc=1)},en={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=qn(t,"x"),o.getY=qn(t,"y"),o.x=o.xPrev=o.getX(),o.y=o.yPrev=o.getY(),ao||(ao=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<Hn(n,"x")&&(e.skipX=1),!e.skipY&&(_>g||_<-g)&&c<Hn(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,ao&&ao.update()},kill:function(t){var e=t==="scrollTo";(e||t==="scrollTo_x")&&(this.skipX=1),(e||t==="scrollTo_y")&&(this.skipY=1)}};en.max=Hn;en.getOffset=ih;en.buildGetter=qn;eh()&&ce.registerPlugin(en);var xg=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig;var vg=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig;var bg=Math.PI/180,s0=180/Math.PI,lo=Math.sin,uo=Math.cos,$n=Math.abs,jn=Math.sqrt;var wg=function(t){return typeof t=="number"};var nh=1e5;var Wr=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=$n(e),r=$n(r);var u=n%360*bg,f=uo(u),d=lo(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=jn(b)*e,r=jn(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)*jn(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/jn(Z)),q=(L*Y-N*D<0?-1:1)*Math.acos((L*D+N*Y)/jn(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($n(q)/(c/4)),xt=[],et=q/Rt,ht=4/3*lo(et/2)/(1+uo(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=uo(n),y=lo(n),L=uo(n+=et),N=lo(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"||$n(r-d)>.5||$n(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"+Wr(o[0])+","+Wr(o[1])+" C",r=o.length,s=2;s<r;s++)t+=Wr(o[s++])+","+Wr(o[s++])+" "+Wr(o[s++])+","+Wr(o[s++])+" "+Wr(o[s++])+","+Wr(o[s])+" ";o.closed&&(t+="z")}return t}var xe,uh,fh=function(){return xe||typeof window<"u"&&(xe=window.gsap)&&xe.registerPlugin&&xe},lh=function(){xe=fh(),xe?(xe.registerEase("_CE",Ci.create),uh=1):console.warn("Please gsap.registerPlugin(CustomEase)")},Tg=1e20,fo=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},Ci=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=fo(a+c*s),v=fo(l+r(c)*-o),d=(v-l)/(m-a),h=2;h<g;h++)_=fo(a+h*c*s),p=fo(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(Ci);Ci.version="3.12.2";Ui.registerPlugin(H,en,Ci);function kg(){Ci.create("loader","0.83, 0, 0.17, 1"),Ci.create("loader2","0.77, 0, 0.175, 1")}var Tl=new ms({duration:1.2,easing:i=>Math.min(1,1.001-Math.pow(2,-10*i))});function Rg(){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 Dg(){window.addEventListener("pageshow",function(i){i.persisted&&window.location.reload()})}function Lg(){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 zg(){Ui.to("#heroSection",{scrollTrigger:{trigger:"#bottomWrapper",start:"top bottom",toggleActions:"restart none none reverse"},y:"-100%"})}function Ig(){let i=Ui.timeline({});i.add(function(){history.scrollRestoration="manual",Tl.scrollTo(0)}).add(function(){Tl.stop()}),i.to(".loader_ract",{delay:.2,duration:.8,width:0,ease:"loader2"},">"),i.add(function(){Tl.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){Ui.to(i,{scrollTrigger:{trigger:i,start:"bottom bottom-=5%"},width:0,ease:"loader2",duration:.6})};window.Webflow||=[];window.Webflow.push(()=>{console.log("The new code source is loaded!"),Ku(),Rg(),kg(),Dg(),zg(),Ig(),window.innerWidth<992&&Lg()});})();
5
+ `:""}`,t),setTimeout(()=>{throw i},0)}var rs=!0;function su(i){let t=rs;rs=!1;let e=i();return rs=t,e}function ri(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,...Oi(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(gn([r,...i]),n);ns(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 dn(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=gn([s,...i]);if(typeof r=="function"){let l=r(r,a).catch(u=>dn(u,e,t));r.finished?(ns(n,r.result,a,o,e),r.result=void 0):l.then(u=>{ns(n,u,a,o,e)}).catch(u=>dn(u,e,t)).finally(()=>r.result=void 0)}}}function ns(i,t,e,r,n){if(rs&&typeof t=="function"){let s=t.apply(e,r);s instanceof Promise?s.then(o=>ns(i,o,e,r)).catch(o=>dn(o,n,t)):i(s)}else typeof t=="object"&&t instanceof Promise?t.then(s=>i(s)):i(t)}var Uo="x-";function Di(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=ti.indexOf(e);ti.splice(r>=0?r:ti.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,un=new Map,uu=Symbol();function Ih(i){Co=!0;let t=Symbol();uu=t,un.set(t,[]);let e=()=>{for(;un.get(t).length;)un.get(t).shift()();un.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:mn,effect:r,cleanup:e,evaluateLater:ee.bind(ee,i),evaluate:ri.bind(ri,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?un.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",ti=["ignore","ref","data","id","bind","init","for","model","modelable","transition","show","if",Eo,"teleport"];function Bh(i,t){let e=ti.indexOf(i.type)===-1?Eo:i.type,r=ti.indexOf(t.type)===-1?Eo:t.type;return ti.indexOf(e)-ti.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 ls(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")}),()=>{ls(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,ls);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?an(t,"scale",95)/100:1,d=an(t,"delay",0)/1e3,h=an(t,"origin","center"),c="opacity, transform",_=an(t,"duration",150)/1e3,p=an(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 an(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 us(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=Ri;El((e,r)=>{let n=t(e);return pn(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=ki({})),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=ls(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(()=>ri(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=Ri(()=>{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()=>{pn(u)}}function fd(i){(Array.isArray(i)?i:[i]).forEach(e=>e(mn))}var Zr={},Al=!1;function cd(i,t){if(Al||(Zr=ki(Zr),Al=!0),t===void 0)return Zr[i];Zr[i]=t,typeof t=="object"&&t!==null&&t.hasOwnProperty("init")&&typeof t.init=="function"&&Zr[i].init(),ru(Zr[i])}function hd(){return Zr}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 ki},get release(){return pn},get effect(){return Ri},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:Oi,skipDuringClone:us,onlyDuringClone:$h,addRootSelector:Hl,addInitSelector:ql,addScopeToNode:_n,deferMutations:Ch,mapAttributes:qo,evaluateLater:ee,interceptInit:vh,setEvaluator:kh,mergeProxies:gn,extractProp:ud,findClosest:as,onElRemoved:No,closestRoot:os,destroyTree:Fo,interceptor:iu,transition:Ao,setStyles:ls,mutateDom:At,directive:Et,entangle:Eu,throttle:Cu,debounce:Tu,evaluate:ri,initTree:hr,nextTick:$o,prefixed:Di,prefix:zh,plugin:fd,magic:He,store:cd,start:yh,clone:Kh,cloneNode:Gh,bound:ld,$data:eu,walk:Pr,data:_d,bind:dd},mn=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",Fg=Au(yd+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),xd=Object.freeze({}),Ng=Object.freeze([]),vd=Object.prototype.hasOwnProperty,fs=(i,t)=>vd.call(i,t),ii=Array.isArray,hn=i=>ku(i)==="[object Map]",bd=i=>typeof i=="string",Ko=i=>typeof i=="symbol",cs=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,hs=i=>{let t=Object.create(null);return e=>t[e]||(t[e]=i(e))},Sd=/-(\w)/g,Bg=hs(i=>i.replace(Sd,(t,e)=>e?e.toUpperCase():"")),Td=/\B([A-Z])/g,Yg=hs(i=>i.replace(Td,"-$1").toLowerCase()),Du=hs(i=>i.charAt(0).toUpperCase()+i.slice(1)),Xg=hs(i=>i?`on${Du(i)}`:""),Lu=(i,t)=>i!==t&&(i===i||t===t),Ro=new WeakMap,ln=[],er,ni=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(!ln.includes(e)){zu(e);try{return kd(),ln.push(e),er=e,i()}finally{ln.pop(),Iu(),er=ln[ln.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 Ai=!0,Jo=[];function Ad(){Jo.push(Ai),Ai=!1}function kd(){Jo.push(Ai),Ai=!0}function Iu(){let i=Jo.pop();Ai=i===void 0?!0:i}function Ue(i,t,e){if(!Ai||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"&&ii(i))o.forEach((f,d)=>{(d==="length"||d>=r)&&l(f)});else switch(e!==void 0&&l(o.get(e)),t){case"add":ii(i)?Qo(e)&&l(o.get("length")):(l(o.get(ni)),hn(i)&&l(o.get(Do)));break;case"delete":ii(i)||(l(o.get(ni)),hn(i)&&l(o.get(Do)));break;case"set":hn(i)&&l(o.get(ni));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=ii(r);if(!i&&o&&fs(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:cs(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),!ii(e)&&Lo(o)&&!Lo(n)))return o.value=n,!0;let a=ii(e)&&Qo(r)?Number(r)<e.length:fs(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=fs(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",ii(i)?"length":ni),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=>cs(i)?ra(i):i,ta=i=>cs(i)?Wu(i):i,ea=i=>i,ds=i=>Reflect.getPrototypeOf(i);function Qn(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}=ds(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 Jn(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 Zn(i,t=!1){return i=i.__v_raw,!t&&Ue(st(i),"iterate",ni),Reflect.get(i,"size",i)}function Rl(i){i=st(i);let t=st(this);return ds(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}=ds(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}=ds(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=hn(i)?new Map(i):new Set(i),r=i.clear();return t&&Ar(i,"clear",void 0,void 0,e),r}function ts(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",ni),o.forEach((u,f)=>r.call(n,l(u),l(f),s))}}function es(i,t,e){return function(...r){let n=this.__v_raw,s=st(n),o=hn(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:ni),{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 Qn(this,s)},get size(){return Zn(this)},has:Jn,add:Rl,set:Dl,delete:Ll,clear:zl,forEach:ts(!1,!1)},t={get(s){return Qn(this,s,!1,!0)},get size(){return Zn(this)},has:Jn,add:Rl,set:Dl,delete:Ll,clear:zl,forEach:ts(!1,!0)},e={get(s){return Qn(this,s,!0)},get size(){return Zn(this,!0)},has(s){return Jn.call(this,s,!0)},add:Mr("add"),set:Mr("set"),delete:Mr("delete"),clear:Mr("clear"),forEach:ts(!0,!1)},r={get(s){return Qn(this,s,!0,!0)},get size(){return Zn(this,!0)},has(s){return Jn.call(this,s,!0)},add:Mr("add"),set:Mr("set"),delete:Mr("delete"),clear:Mr("clear"),forEach:ts(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{i[s]=es(s,!1,!1),e[s]=es(s,!0,!1),t[s]=es(s,!1,!0),r[s]=es(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(fs(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(!cs(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=>fn.bind(fn,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=>os(i));He("refs",i=>(i._x_refs_proxy||(i._x_refs_proxy=gn(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 as(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))})}),_n(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=us(()=>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=ss(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=ss(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 ss(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,ss((e[s+1]||"invalid-wait").split("ms")[0])?2:1)}if(e.includes("throttle")){let s=e.indexOf("throttle");e.splice(s,ss((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(Di("cloak")))));ql(()=>`[${Di("init")}]`);Et("init",us((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(Di("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(()=>`[${Di("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=ri(i,t,{scope:n});(s===void 0||s===!0)&&(s={}),So(s,i);let o=ki(s);ru(o);let a=_n(i,o);o.init&&ri(i,o.init),e(()=>{o.destroy&&ri(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=ki(b);_n(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=os(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 _n(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(Di("on:"))));Et("on",us((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())}));ps("Collapse","collapse","collapse");ps("Intersect","intersect","intersect");ps("Focus","trap","focus");ps("Mask","mask","mask");function ps(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))}mn.setEvaluator(au);mn.setReactivityEngine({reactive:ra,effect:Ed,release:Md,raw:st});var gp=mn,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 _s(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=_s(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}}},gs=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=_s(-100,o,100),a=_s(-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 gs,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})}},ms=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 gs,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=_s(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:""}},zi={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"},Ps=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"},ys=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,ui=/[-+=.]*\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={},ws={},uf,ff=function(t){return(ws=li(t,Te))&&Qt},Os=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},Ss=function(t,e){return!e&&console.warn(t)},cf=function(t,e){return t&&(Te[t]=e)&&ws&&(ws[t]=e)||Te},Sn=function(){return 0},Ep={suppressEvents:!0,isStart:!0,kill:!1},xs={suppressEvents:!0,kill:!1},Mp={suppressEvents:!0},Ra={},Rr=[],xa={},hf,_e={},fa={},Qu=30,vs=[],Da="",La=function(t){var e=t[0],r,n;if(ir(e)||mt(e)||(t=[t]),!(r=(e._gsap||{}).harness)){for(n=vs.length;n--&&!vs[n].targetTest(e););r=vs[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]():Ps(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},fi=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},Ts=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&&Ts(),t.render(e,r,n||Gt&&e<0&&(t._initted||t._startAt)),Rr.length&&!Gt&&Ts()},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])}},li=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},Cs=function(t,e){var r={},n;for(n in t)n in e||(r[n]=t[n]);return r},vn=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},As=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},si=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(xs):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?Ii(t._tTime,t=t.duration()+t._rDelay)*t:0},Ii=function(t,e){var r=Math.floor(t/=e);return t&&r===t?r-1:r},Es=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},ks=function(t){return t._end=Vt(t._start+(t._tDur/Math.abs(t._ts||t._rts||nt)||0))},Rs=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)),ks(t),r._dirty||si(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=Es(t.rawTime(),e),(!e._dur||En(0,e.totalDuration(),r)-e._tTime>nt)&&e.render(r,!0)),si(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&&Rs(t,t._tTime),t},yf=function(t,e){return(Te.ScrollTrigger||Os("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=En(0,t._tDur,e),f=Ii(l,a),t._yoyo&&f&1&&(o=1-o),f!==Ii(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}},Fi=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&&Rs(t,t._tTime=t._tDur*a),t.parent&&ks(t),r||si(t.parent,t),t},tf=function(t){return t instanceof $t?si(t):Fi(t,t._dur)},Ip={_start:0,endTime:Sn,totalDuration:Sn},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},bn=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},En=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 En(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||!Ni())?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]||Ss("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return Re(e,r.querySelectorAll?r:r===t?Ss("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=oi(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)})},Bi=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=li(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&&Ts(),a&&(gt=a),f=l?s.apply(u,l):s.call(u),gt=o,f},yn=function(t){return Lr(t),t.scrollTrigger&&t.scrollTrigger.kill(!!Gt),t.progress()<1&&De(t,"onInterrupt"),t},Li,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:Sn,render:Wa,add:Na,kill:o_,modifier:s_,rawVars:0},o={targetTest:0,get:0,getSetter:Ds,aliases:{},register:0};if(Ni(),t!==n){if(_e[e])return;Le(n,Le(Cs(t,s),o)),li(n.prototype,li(s,Cs(t,o))),_e[n.prop=e]=n,t.targetTest&&(vs.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,xn={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:xn.black,s,o,a,l,u,f,d,h,c,_;if(!n){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),xn[t])n=xn[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)||xn.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(ui)||[];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(ui),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 xn)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},Tn,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(ws||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)},Tn=1,_(2))},sleep:function(){(f?Ae.cancelAnimationFrame:clearTimeout)(l),Tn=0,u=Sn},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),Ni(),v},remove:function(g,y){~(y=a.indexOf(g))&&a.splice(y,1)&&c>=y&&c--},_listeners:a},d}(),Ni=function(){return!Tn&&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},oi=function(t,e){return t&&(mt(t)?t:j[t]||Kp(t))||e},ci=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;ci(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;ci("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};ci("Bounce",function(o){return 1-s(1-o)},s)})(7.5625,2.75);ci("Expo",function(i){return i?Math.pow(2,10*(i-1)):0});ci("Circ",function(i){return-(of(1-i*i)-1)});ci("Sine",function(i){return i===1?1:-Sp(i*bp)+1});ci("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*En(0,o,a)|0)+s)*r}}};zi.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:Ds},Cn=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,Fi(this,+e.duration,1,1),this.data=e.data,gt&&(this._ctx=gt,gt.data.push(this)),Tn||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,Fi(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(r,n){if(Ni(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(Rs(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?Ii(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?Es(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-nt?0:this._rts,this.totalTime(En(-Math.abs(this._delay),this._tDur,n),!0),ks(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):(Ni(),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?Es(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(){yn(this)},i}();Le(Cn.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 bn(0,arguments,this),this},e.from=function(n,s,o){return bn(1,arguments,this),this},e.fromTo=function(n,s,o,a){return bn(2,arguments,this),this},e.set=function(n,s,o){return s.duration=0,s.parent=this,vn(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,vn(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,vn(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=Ii(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,ks(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 Cn)){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):(As(this,n),n===this._recent&&(this._recent=this._last),si(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||Sn,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&&Fi(_,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 si(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={}),si(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;Fi(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,Es(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}(Cn);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=Bi(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)==="="?fi(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=Bi(n)),n.charAt(1)==="="&&(_=fi(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)&&Os(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=wn(t,s,e,r,n)),!ir(t)||t.style&&t.nodeType||Kt(t)||af(t))return kt(t)?wn(t,s,e,r,n):t;var o={},a;for(a in t)o[a]=wn(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!==Li))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=oi(s,zi.ease),t._yEase=c?kf(oi(c===!0?s:c,zi.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=Cs(n,Ra),y&&(y._zTime<0&&y.progress(1),e<0&&h&&a&&!p?y.render(-1,!0):y.revert(h&&g?xs: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(xs),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(xs):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&&Ts(),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=li({},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})},wn=function(t,e,r,n,s){return mt(t)?t.call(e,r,n,s):kt(t)&&~t.indexOf("random(")?Bi(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:vn(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):Ss("GSAP target "+r+" not found. https://greensock.com",!ye.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=c,_||h||ys(u)||ys(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||ys(u)||ys(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=Cs(n,zf),C.stagger=0,y&&(C.yoyoEase=y),R&&li(C,R),E=v[S],C.duration=+wn(u,dr(a),S,E,v),C.delay=(+wn(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(_){vn(Le(b.vars.defaults,{ease:"none"})),b._ease=oi(_.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=Ii(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){Tn||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):(Rs(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?yn(this):this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(n,s,kr&&kr.vars.overwrite!==!0)._first||yn(this),this.parent&&o!==this.timeline.totalDuration()&&Fi(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),yn(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)&&As(this,g,"_pt"),delete h[p]),c!=="all"&&(c[p]=1)}return this._initted&&!this._pt&&f&&yn(this),this},t.to=function(n,s){return new t(n,s,arguments[2])},t.from=function(n,s){return bn(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 bn(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}(Cn);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)},Ds=function(t,e){return mt(t[e])?If:Ps(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?As(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:zi,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});ye.stringFilter=Ia;var ai=[],bs={},l_=[],nf=0,u_=0,pa=function(t){return(bs[t]||l_).map(function(e){return e()})},Ea=function(){var t=Date.now(),e=[];t-nf>2&&(pa("matchMediaInit"),ai.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=ai.length;a--;)ai[a].id===this.id&&ai.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&&(ai.indexOf(o)<0&&ai.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}(),Ms={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;Li._pt=0,d.init(t,r?f+r:f,Li,0,[t]),d.render(1,d),Li._pt&&Wa(1,Li)}: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,li((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=oi(t.ease,zi.ease)),Ju(zi,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]&&Ss(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]=oi(e)},parseEase:function(t,e){return arguments.length?oi(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 ai.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=bs[t]||(bs[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=bs[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:Cn,getCache:Dr,_removeLinkedListItem:As,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 Ms[i]=wt[i]});ge.add($t.updateRoot);Li=Ms.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=Ms.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))||Ms;wt.version=$t.version=Qt.version="3.12.2";uf=1;Pa()&&Ni();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,Xi,Qa,_i,k_,Yf,Ja,R_=function(){return typeof window!="undefined"},mr={},pi=180/Math.PI,Vi=Math.PI/180,Yi=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,Wi(e)||e,1)||""},Vf="O,Moz,ms,Ms,Webkit".split(","),Wi=function(t,e,r){var n=e||_i,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,Xi=Ir.documentElement,_i=$a("div")||{style:{}},k_=$a("div"),ft=Wi(ft),qe=ft+"Origin",_i.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Jf=!!Wi("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(Xi.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)),Xi.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))},Pn=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=_i.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(_i),_=_i[f],p.removeChild(_i),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=An(t,n),s=e!=="transformOrigin"?s[e]:s.svg?s.origin:zs(sr(t,qe))+" "+s.zOrigin+"px"):(s=t.style[e],(!s||s==="auto"||n||~(s+"").indexOf("calc("))&&(s=Ls[e]&&Ls[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=Wi(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(ui)||[],S=n.match(ui)||[],S.length){for(;d=ui.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=fi(c,g)+b),y=parseFloat(g),v=g.substr((y+"").length),l=ui.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),Pn(r,a);l&&(Pn(r,ft),o&&(o.svg&&r.removeAttribute("transform"),An(r,1),o.uncache=1,Kf(n)))}},Ls={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}}},On=[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)?On: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"?On:s):(s===On&&!t.offsetParent&&t!==Xi&&!r.svg&&(l=n.display,n.display="block",o=t.parentNode,(!o||!t.offsetParent)&&(u=1,a=t.nextElementSibling,Xi.appendChild(t)),s=qf(t),l?n.display=l:Pn(t,"display"),u&&(a?o.insertBefore(t,a):o?o.appendChild(t):Xi.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!==On&&(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)},An=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!==On&&(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?Yi(O,R)*pi:0,m=X||z?Yi(X,z)*pi+p:0,m&&(_*=Math.abs(Math.cos(m*Vi))),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=Yi(ht,Rt),g=M*pi,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=Yi(-X,Rt),y=M*pi,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=Yi(O,R),p=M*pi,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=Yi(L,N),m=Math.abs(M)>2e-4?M*pi: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]=zs(u)),r.xOffset=r.yOffset=0,r.force3D=ye.force3D,r.renderTransform=r.svg?Q_:Jf?ic:K_,r.uncache=0,r},zs=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)},hi="0deg",Mn="0px",di=") ",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!==hi||f!==hi)){var C=parseFloat(f)*Vi,w=Math.sin(C),M=Math.cos(C),E;C=parseFloat(d)*Vi,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!==Mn&&(b+="perspective("+g+di),(n||s)&&(b+="translate("+n+"%, "+s+"%) "),(S||o!==Mn||a!==Mn||l!==Mn)&&(b+=l!==Mn||S?"translate3d("+o+", "+a+", "+l+") ":"translate("+o+", "+a+di),u!==hi&&(b+="rotate("+u+di),f!==hi&&(b+="rotateY("+f+di),d!==hi&&(b+="rotateX("+d+di),(h!==hi||c!==hi)&&(b+="skew("+h+", "+c+di),(_!==1||p!==1)&&(b+="scale("+_+", "+p+di),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*=Vi,u*=Vi,S=Math.cos(l)*d,C=Math.sin(l)*d,w=Math.sin(l-u)*-h,M=Math.cos(l-u)*h,u&&(f*=Vi,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")?pi: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=An(r,1),Pn(r,ft),r.setAttribute("transform",u)):(u=getComputedStyle(r)[ft],o[ft]=e,a=An(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});Ls[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,_=Ls[p],c==="function"&&(f=f.call(r,n,t,s),c=typeof f),c==="string"&&~f.indexOf("random(")&&(f=Bi(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=Bi(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||An(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?fi(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,zs(u),zs(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?fi(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=Wi(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?fi(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"){Os(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&&!Ps(t.style[e])?N_:~e.indexOf("-")?B_:Ds(t,e)},core:{_removeProperty:Pn,_getMatrix:tl}};Qt.utils.checkPrefix=Wi;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 Ui=Qt.registerPlugin(el)||Qt,Zg=Ui.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,Br,Yr,qi,oc,gi,Rn,ac,yr,je,lc,uc=function(){return Ut||typeof window!="undefined"&&(Ut=window.gsap)&&Ut.registerPlugin&&Ut},fc=1,Hi=[],V=[],$e=[],Dn=Date.now,il=function(t,e){return e},rg=function(){var t=Rn.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]},Ln=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)},Is="scrollLeft",Fs="scrollTop",nl=function(){return yr&&yr.isPressed||V.cache++},Ns=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:Is,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Ns(function(i){return arguments.length?Ce.scrollTo(i,Mt.sc()):Ce.pageXOffset||Br[Is]||Yr[Is]||qi[Is]||0})},Mt={s:Fs,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Jt,sc:Ns(function(i){return arguments.length?Ce.scrollTo(Jt.sc(),i):Ce.pageYOffset||Br[Fs]||Yr[Fs]||qi[Fs]||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;Ln(t)&&(t=Br.scrollingElement||Yr);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]=Ns(vr(t,r),!0)||(Ln(t)?n:Ns(function(u){return arguments.length?t[r]=u:t[r]})));return l.target=t,a||(l.smooth=Ut.getProperty(t,"scrollBehavior")==="smooth"),l},Bs=function(t,e,r){var n=t,s=t,o=Dn(),a=o,l=e||50,u=Math.max(500,l*3),f=function(_,p){var g=Dn();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=Dn();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}},kn=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(){Rn=Ut.core.globals().ScrollTrigger,Rn&&Rn.core&&rg()},hc=function(t){return Ut=t||uc(),Ut&&typeof document!="undefined"&&document.body&&(Ce=window,Br=document,Yr=Br.documentElement,qi=Br.body,ac=[Ce,Br,Yr,qi],eg=Ut.utils.clamp,lc=Ut.core.context||function(){},gi="onpointerenter"in qi?"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 Yr?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Yr?"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)"),Rn||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)||Yr,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(qi).lineHeight)||22);var pt,he,Ke,J,Tt,de,ve,T=this,be=0,lr=0,Ur=xr(a,Jt),Ct=xr(a,Mt),Hr=Ur(),qr=Ct(),rn=~o.indexOf("touch")&&!~o.indexOf("pointer")&&je[0]==="pointerdown",Bt=Ln(a),vt=a.ownerDocument||Br,Ne=[0,0,0],Be=[0,0,0],jr=0,ur=function(){return jr=Dn()},Qe=function(I,tt){return(T.event=I)&&c&&~c.indexOf(I.target)||tt&&rn&&I.pointerType!=="touch"||D&&D(I,tt)},pe=function(){T._vx.reset(),T._vy.reset(),he.pause(),d&&d(T)},$r=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},Ei=function(I,tt,_t){Ne[_t]+=I,Be[_t]+=tt,T._vx.update(I),T._vy.update(tt),u?pt||(pt=requestAnimationFrame($r)):$r()},Mi=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($r)):$r()},Gr=function(I){if(!Qe(I,1)){I=kn(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),Mi(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=kn(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],Gr,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],Gr,!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=kn(B);!tt&&I&&(T._vx.reset(),T._vy.reset(),f&&dt&&Ut.delayedCall(.08,function(){if(Dn()-jr>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)},Kr=function(){return(T.isGesturing=!1)||x(T)},Ye=function(I){if(!Qe(I)){var tt=Ur(),_t=Ct();Ei((tt-Hr)*ht,(_t-qr)*ht,1),Hr=tt,qr=_t,d&&he.restart(!0)}},Xe=function(I){if(!Qe(I)){I=kn(I,f),q&&(Tt=!0);var tt=(I.deltaMode===1?l:I.deltaMode===2?Ce.innerHeight:1)*_;Ei(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)&&Mi(A,G)}},Qr=function(I){T.event=I,z(T)},Pi=function(I){T.event=I,L(T)},fr=function(I){return Qe(I)||kn(I,f)&&et(T)};he=T._dc=Ut.delayedCall(h||.25,pe).pause(),T.deltaX=T.deltaY=0,T._vx=Bs(0,50,!0),T._vy=Bs(0,50,!0),T.scrollX=Ur,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",Kr),z&&se(a,gi+"enter",Qr),L&&se(a,gi+"leave",Pi),N&&se(a,gi+"move",Ve)),T.isEnabled=!0,B&&B.type&&Cr(B),Rt&&Rt(T)),T},T.disable=function(){T.isEnabled&&(Hi.filter(function(B){return B!==T&&Ln(B.target)}).length||ne(Bt?vt:a,"scroll",nl),T.isPressed&&(T._vx.reset(),T._vy.reset(),ne(Y?a:vt,je[1],Gr,!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",Kr),ne(a,gi+"enter",Qr),ne(a,gi+"leave",Pi),ne(a,gi+"move",Ve),T.isEnabled=T.isPressed=T.isDragging=!1,xt&&xt(T))},T.kill=T.revert=function(){T.disable();var B=Hi.indexOf(T);B>=0&&Hi.splice(B,1),yr===T&&(yr=0)},Hi.push(T),Y&&Ln(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 Hi.slice()};St.getById=function(i){return Hi.filter(function(t){return t.vars.id===i})[0]};uc()&&Ut.registerPlugin(St);var k,Gi,$,ct,Ge,ot,Oc,io,no,Qi,Ks,Ys,Zt,oo,hl,ae,dc,pc,Ki,Ac,sl,kc,Ee,Rc,Dc,Lc,Xr,dl,yl,Ji,xl,ol,Xs=1,ue=Date.now,al=ue(),Fe=0,In=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 In&&requestAnimationFrame(i)},mc=function(){return oo=1},yc=function(){return oo=0},or=function(t){return t},Fn=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},wi=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")||(wi(t)?function(){return ro.width=$.innerWidth,ro.height=xl,ro}: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 ro}},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]:wi(t)?(Ge[r]||ot[r])-Fc(n):t[r]-t["offset"+n])},Vs=function(t,e){for(var r=0;r<Ki.length;r+=3)(!e||~e.indexOf(Ki[r+1]))&&t(Ki[r],Ki[r+1],Ki[r+2])},Pe=function(t){return typeof t=="string"},fe=function(t){return typeof t=="function"},Qs=function(t){return typeof t=="number"},mi=function(t){return typeof t=="object"},zn=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)}},ji=Math.abs,Bc="left",Yc="top",vl="right",bl="bottom",xi="width",vi="height",Bn="Right",Yn="Left",Xn="Top",Vn="Bottom",Pt="padding",ze="margin",tn="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)}},Ws=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)},Us=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"},Hs={toggleActions:"play",anticipatePin:0},so={top:0,left:0,center:.5,bottom:1,right:1},Js=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 so?so[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},qs=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=wi(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],Zs(_,0,n,m),_},Zs=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+tn]=1,s["border"+a+tn]=0,s[r.p]=e+"px",k.set(t,s)},W=[],_l={},Un,bc=function(){return ue()-Fe>34&&(Un||(Un=requestAnimationFrame(Sr)))},$i=function(){(!Ee||!Ee.isPressed||Ee.startX>ot.clientWidth)&&(V.cache++,Ee?Un||(Un=requestAnimationFrame(Sr)):Sr(),Fe||Ti("scrollStart"),Fe=ue())},ul=function(){Lc=$.innerWidth,Dc=$.innerHeight},Nn=function(){V.cache++,!Zt&&!kc&&!ct.fullscreenElement&&!ct.webkitFullscreenElement&&(!Rc||Lc!==$.innerWidth||Math.abs($.innerHeight-Dc)>$.innerHeight*.25)&&io.restart(!0)},Si={},ug=[],Vc=function i(){return zt(H,"scrollEnd",i)||yi(!0)},Ti=function(t){return Si[t]&&Si[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||Ti("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,bi=0,wc,fg=function(){if(wc!==bi){var t=wc=bi;requestAnimationFrame(function(){return t===bi&&yi(!0)})}},Hc=function(){ot.appendChild(Ji),xl=Ji.offsetHeight||$.innerHeight,ot.removeChild(Ji)},yi=function(t,e){if(Fe&&!t){It(H,"scrollEnd",Vc);return}Hc(),le=H.isRefreshing=!0,V.forEach(function(n){return fe(n)&&++n.cacheID&&(n.rec=n())});var r=Ti("refreshInit");Ac&&H.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),io.pause(),bi++,le=2,Sr(2),W.forEach(function(n){return fe(n.vars.onRefresh)&&n.vars.onRefresh(n)}),le=H.isRefreshing=!1,Ti("refresh")},gl=0,to=1,Wn,Sr=function(t){if(!le||t===2){H.isUpdating=!0,Wn&&Wn.update(0);var e=W.length,r=ue(),n=r-al>=50,s=e&&W[0].scroll();if(to=gl>s?-1:1,le||(gl=s),n&&(Fe&&!oo&&r-Fe>200&&(Fe=0,Ti("scrollEnd")),Ks=al,al=r),to<0){for(ae=e;ae-- >0;)W[ae]&&W[ae].update(0,n);to=1}else for(ae=0;ae<e;ae++)W[ae]&&W[ae].update(0,n);H.isUpdating=!1}Un=0},ml=[Bc,Yc,bl,vl,ze+Vn,ze+Bn,ze+Xn,ze+Yn,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],eo=ml.concat([xi,vi,"boxSizing","max"+tn,"max"+wl,"position",ze,Pt,Pt+Xn,Pt+Bn,Pt+Vn,Pt+Yn]),cg=function(t,e,r){Zi(r);var n=t._gsap;if(n.spacerIsNative)Zi(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[xi]=pl(t,Jt)+Ht,o[vi]=pl(t,Mt)+Ht,o[Pt]=a[ze]=a[Yc]=a[Bc]="0",Zi(n),a[xi]=a["max"+tn]=r[xi],a[vi]=a["max"+wl]=r[vi],a[Pt]=r[Pt],t.parentNode!==e&&(t.parentNode.insertBefore(e,t),e.appendChild(t)),t._gsap.swappedIn=!0}},hg=/([A-Z])/g,Zi=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())}},js=function(t){for(var e=eo.length,r=t.style,n=[],s=0;s<e;s++)n.push(eo[s],r[eo[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},ro={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)==="="?Js("0"+t.substr(3),r):0));var p=c?c.time():0,g,y,m;if(c&&c.seek(0),isNaN(t)||(t=+t),Qs(t))c&&(t=k.utils.mapRange(c.scrollTrigger.start,c.scrollTrigger.end,0,h,t)),a&&Zs(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=Js(v[0],b[n.d]),C=Js(v[1]||"0",r),t=b[n.p]-u[n.p]-f+S+s-C,a&&Zs(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,Zs(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}},$s=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),H.isTouch&&It(t,"touchmove",r.wheelHandler),s},H=function(){function i(e,r){Gi||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),!In){this.update=this.refresh=this.kill=or;return}r=xc(Pe(r)||Qs(r)||r.nodeType?{trigger:r}:r,Hs);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=wi(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:Hs.markers,Z=z?0:parseFloat(Ie(O)["border"+P.p2+tn])||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,Ur,Ct,Hr,qr,rn,Bt,vt,Ne,Be,jr,ur,Qe,pe,$r,Ei,Mi,Gr,Cr,Er,K,Kr,Ye,Xe,Ve,Qr,Pi,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&&(Wn=x)),X.tweenScroll=X.tweenScroll||{top:Cc(O,Mt),left:Cc(O,Jt)},x.tweenTo=Nt=X.tweenScroll[P.p],x.scrubDuration=function(A){Kr=Qs(A)&&A,Kr?K?K.duration(A):K=k.to(n,{ease:"expo",totalProgress:"+=0",duration:Kr,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&&((!mi(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=mi(Ye)?Qi(Ye.min,Ye.max):Qi(Ye,Ye),Xe=k.delayedCall(b.delay||Kr/2||.1,function(){var A=dt(),G=ue()-ht<500,F=Nt.tween;if((G||Math.abs(x.getVelocity())<10)&&!F&&!oo&&et!==A){var U=(A-J)/Ct,Lt=n&&!R?n.totalProgress():U,Q=G?0:(Lt-Er)/(ue()-Ks)*1e3||0,bt=k.utils.clamp(-U,1-U,ji(Q/2)*Q/.185),te=U+(b.inertia===!1?0:bt),Yt=Qi(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<=ji(at-A))return;b.inertia===!1&&(bt=Yt-U),Nt(at,{duration:Ye(ji(Math.max(ji(te-Lt),ji(Yt-Lt))*.185/Q/.05||0)),ease:b.ease||"power3",data:ji(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?Hr=Dt.pinState:(C&&(C=oe(C),C&&!C.nodeType&&(C=C.current||C.nativeElement),Dt.spacerIsNative=!!C,C&&(Dt.spacerState=js(C))),Dt.spacer=Bt=C||ct.createElement("div"),Bt.classList.add("pin-spacer"),l&&Bt.classList.add("pin-spacer-"+l),Dt.pinState=Hr=js(c)),r.force3D!==!1&&k.set(c,{force3D:!0}),x.spacer=Bt=Dt.spacer,Gr=Ie(c),Qe=Gr[_+P.os2],Ne=k.getProperty(c),Be=k.quickSetter(c,P.a,Ht),fl(c,Bt,Gr),rn=js(c)),Y){lr=mi(Y)?xc(Y,vc):vc,T=qs("scroller-start",l,O,P,lr,0),be=qs("scroller-end",l,O,P,lr,0,T),vt=T["offset"+P.op.d2];var B=oe(vr(O,"content")||O);de=this.markerStart=qs("start",l,B,P,lr,vt,0,w),ve=this.markerEnd=qs("end",l,B,P,lr,vt,0,w),w&&(Pi=k.quickSetter([de,ve],P.a,Ht)),!L&&!($e.length&&vr(O,"fixedMarkers")===!0)&&(og(z?ot:O),k.set([T,be],{force3D:!0}),$r=k.quickSetter(T,P.a,Ht),Mi=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,U=Zt;F!==x.isReverted&&(F&&(Ve=Math.max(dt(),x.scroll.rec||0),Ft=x.progress,Qr=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,Hr):fl(c,Bt,Ie(c),pe)),F||x.update(F),Zt=U,x.isReverted=F)},x.refresh=function(A,G,F,U){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=U||0,rt=mi(F)?F.end:r.end,We=r.endTrigger||h,lt=mi(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,Jr,Gn,jt,Ot,Ze,ho,Cl,nn,tr,sn,Kn;for(Y&&mi(F)&&(sn=k.getProperty(T,P.p),Kn=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&&(nn||(nn=[]),nn.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=Js(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),Gn=P===Mt,Jr=dt(),jr=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),rn=js(c),qt=br(c,!0),ho=L&&xr(O,Gn?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),Zi(pe),we&&W.forEach(function(on){on.pin===we&&on.vars.pinSpacing!==!1&&(on._subPinOffset=!0)}),L&&dt(Ve)),L&&(jt={top:qt.top+(Gn?Jr-J:ho)+Ht,left:qt.left+(Gn?ho:Jr-J)+Ht,boxSizing:"border-box",position:"fixed"},jt[xi]=jt["max"+tn]=Math.ceil(qt.width)+Ht,jt[vi]=jt["max"+wl]=Math.ceil(qt.height)+Ht,jt[ze]=jt[ze+Xn]=jt[ze+Bn]=jt[ze+Vn]=jt[ze+Yn]="0",jt[Pt]=Xt[Pt],jt[Pt+Xn]=Xt[Pt+Xn],jt[Pt+Bn]=Xt[Pt+Bn],jt[Pt+Vn]=Xt[Pt+Vn],jt[Pt+Yn]=Xt[Pt+Yn],qr=dg(Hr,jt,S),le&&dt(0)),n?(Cl=n._initted,sl(1),n.render(n.duration(),!0,!0),ur=Ne(P.a)-jr+Ct+at,Ei=Math.abs(Ct-ur)>1,L&&Ei&&qr.splice(qr.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;nn&&nn.forEach(function(on){return on.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||Qr)&&n.progress()!==Qr&&n.progress(Qr||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(sn)||(sn-=k.getProperty(T,P.p),Kn-=k.getProperty(be,P.p),$s(T,P,sn),$s(de,P,sn-(U||0)),$s(be,P,Kn),$s(ve,P,Kn-(U||0))),te&&!le&&x.update(),f&&!le&&!Ur&&(Ur=!0,f(x),Ur=!1)}},x.getVelocity=function(){return(dt()-Ke)/(ue()-Ks)*1e3||0},x.endAnimation=function(){zn(x.callbackAnimation),n&&(K?K.progress(1):n.paused()?R||zn(n,x.direction<0,1):zn(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(U){return U.vars.preventOverlaps===A}):F).filter(function(U){return x.direction>0?U.end<=J:U.start>=Tt})},x.update=function(A,G,F){if(!(w&&!F&&!A)){var U=le===!0?Ve:x.scroll(),Lt=A?0:(U-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():U,b&&(Er=Cr,Cr=n&&!R?n.totalProgress():Q)),g&&!Q&&c&&!Zt&&!Xs&&Fe&&J<U+(U-Ke)/(ue()-Ks)*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(Jr){return Jr.endAnimation()})),R||(K&&!Zt&&!Xs?(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(Fn(jr+ur*Q));else if(We){if(we=!A&&Q>bt&&Tt+1>U&&U+1>=wr(O,P),S)if(!A&&(te||we)){var Se=br(c,!0),Xt=U-J;Tc(c,ot,Se.top+(P===Mt?Xt:0)+Ht,Se.left+(P===Mt?0:Xt)+Ht)}else Tc(c,Bt);Zi(te||we?qr:rn),Ei&&Q<1&&te||Be(jr+(Q===1&&!we?ur:0))}}b&&!Nt.tween&&!Zt&&!Xs&&Xe.restart(!0),a&&(lt||v&&Q&&(Q<1||!ol))&&no(a.targets).forEach(function(Jr){return Jr.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())>(Qs(M)?M:2500)&&(zn(x.callbackAnimation),K?K.progress(1):zn(n,rt==="reverse"?1:!Q,1))):R&&o&&!Zt&&o(x)}if(Mi){var qt=w?U/w.duration()*(w._caScrollDist||0):U;$r(qt+(T._isFlipped?1:0)),Mi(qt)}Pi&&Pi(-U/w.duration()*(w._caScrollDist||0))}},x.enable=function(A,G){x.enabled||(x.enabled=!0,It(O,"resize",Nn),z||It(O,"scroll",$i),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,U){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)},U),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,Zi(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",Nn),z||zt(O,"scroll",$i)}},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&&to>0&&ae--,F=0,W.forEach(function(U){return U.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(U){return U.parentNode&&U.parentNode.removeChild(U)}),Wn===x&&(Wn=0),c&&(Dt&&(Dt.uncache=1),F=0,W.forEach(function(U){return U.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 Gi||(k=r||Ic(),zc()&&window.document&&i.enable(),Gi=In),Gi},i.defaults=function(r){if(r)for(var n in r)Hs[n]=r[n];return Hs},i.disable=function(r,n){In=0,W.forEach(function(o){return o[n?"kill":"disable"](r)}),zt($,"wheel",$i),zt(ct,"scroll",$i),clearInterval(Ys),zt(ct,"touchcancel",or),zt(ot,"touchstart",or),Ws(zt,ct,"pointerdown,touchstart,mousedown",mc),Ws(zt,ct,"pointerup,touchend,mouseup",yc),io.kill(),Vs(zt);for(var s=0;s<V.length;s+=3)Us(zt,V[s],V[s+1]),Us(zt,V[s],V[s+2])},i.enable=function(){if($=window,ct=document,Ge=ct.documentElement,ot=ct.body,k&&(no=k.utils.toArray,Qi=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)){In=1,Ji=document.createElement("div"),Ji.style.height="100vh",Ji.style.position="absolute",Hc(),ig(),St.register(k),i.isTouch=St.isTouch,Xr=St.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),It($,"wheel",$i),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(){yi(0,1),Ti("matchMedia")}),k.matchMedia("(orientation: portrait)",function(){return ul(),ul})):console.warn("Requires GSAP 3.11.0 or later"),ul(),It(ct,"scroll",$i);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"),Ys=setInterval(bc,250),k.delayedCall(.5,function(){return Xs=0}),It(ct,"touchcancel",or),It(ot,"touchstart",or),Ws(It,ct,"pointerdown,touchstart,mousedown",mc),Ws(It,ct,"pointerup,touchend,mouseup",yc),hl=k.utils.checkPrefix("transform"),eo.push(hl),Gi=ue(),io=k.delayedCall(.2,yi).pause(),Ki=[ct,"visibilitychange",function(){var l=$.innerWidth,u=$.innerHeight;ct.hidden?(dc=l,pc=u):(dc!==l||pc!==u)&&Nn()},ct,"DOMContentLoaded",yi,$,"load",yi,$,"resize",Nn],Vs(It),W.forEach(function(l){return l.enable(0,1)}),a=0;a<V.length;a+=3)Us(zt,V[a],V[a+1]),Us(zt,V[a],V[a+2])}},i.config=function(r){"limitCallbacks"in r&&(ol=!!r.limitCallbacks);var n=r.syncInterval;n&&clearInterval(Ys)||(Ys=n)&&setInterval(bc,n),"ignoreMobileResize"in r&&(Rc=i.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(Vs(zt)||Vs(It,r.autoRefreshEvents||"none"),kc=(r.autoRefreshEvents+"").indexOf("resize")===-1)},i.scrollerProxy=function(r,n){var s=oe(r),o=V.indexOf(s),a=wi(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?xi:vi]*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?xi:vi],l=n==null?a/2:n in so?so[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=Si.killAll||[];Si={},n.forEach(function(s){return s()})}},i}();H.version="3.12.2";H.saveStyles=function(i){return i?no(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};H.revert=function(i,t){return Tl(!i,t)};H.create=function(i,t){return new H(i,t)};H.refresh=function(i){return i?Nn():(Gi||H.register())&&yi(!0)};H.update=function(i){return++V.cache&&Sr(i===!0?2:0)};H.clearScrollMemory=Uc;H.maxScroll=function(i,t){return wr(i,t?Jt:Mt)};H.getScrollFunc=function(i,t){return xr(oe(i),t?Jt:Mt)};H.getById=function(i){return _l[i]};H.getAll=function(){return W.filter(function(i){return i.vars.id!=="ScrollSmoother"})};H.isScrolling=function(){return!!Fe};H.snapDirectional=Sl;H.addEventListener=function(i,t){var e=Si[i]||(Si[i]=[]);~e.indexOf(t)||e.push(t)};H.removeEventListener=function(i,t){var e=Si[i],r=e&&e.indexOf(t);r>=0&&e.splice(r,1)};H.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(H,"refresh",function(){return s=t.batchMax()})),no(i).forEach(function(l){var u={};for(a in r)u[a]=r[a];u.trigger=l,e.push(H.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)},Gs={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||!(Gs[(l=Ie(s)).overflowY]||Gs[l.overflowX]));)s=s.parentNode;o._isScroll=s&&s!==r&&!wi(s)&&(Gs[(l=Ie(s)).overflowY]||Gs[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){mi(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=Xr&&(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=Qi(Xr?1:0,l),r&&(w=Qi(0,wr(u,Jt))),v=bi},P=function(){h._gsap.y=Fn(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=Fn(a.deltaY/2),Z=M(c.v-Y);if(h&&Z!==c.v+c.offset){c.offset=Z-c.v;var x=Fn((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 Xr&&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=Fn(($.visualViewport&&$.visualViewport.scale||1)/g),O.pause(),D!==p&&cl(u,p>1.01?!0:r?!1:"x"),X=_(),z=c(),E(),v=bi},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),(Xr&&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(bi!==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"),H.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),H.removeEventListener("refresh",N),S.kill()},t.lockAxis=t.lockAxis!==!1,a=new St(t),a.iOS=Xr,Xr&&!c()&&c(1),Xr&&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};H.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)})};H.observe=function(i){return new St(i)};H.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(),wi(t.target)&&(Ee=t),t};H.core={_getVelocityProp:Bs,_inputObserver:jc,_scrollers:V,_proxies:$e,bridge:{ss:function(){Fe||Ti("scrollStart"),Fe=ue()},ref:function(){return Zt}}};Ic()&&k.registerPlugin(H);var ce,Qc,Tr,ar,Vr,Jc,Zc,ao,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"},Hn=function(t,e){var r=e==="x"?"Width":"Height",n="scroll"+r,s="client"+r;return t===Tr||t===ar||t===Vr?Math.max(ar[n],Vr[n])-(Tr["inner"+r]||ar[s]||Vr[s]):t[n]-t["offset"+r]},qn=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:Vr),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===Vr,s=n?{top:ar.clientTop-(Tr.pageYOffset||ar.scrollTop||Vr.scrollTop||0),left:ar.clientLeft-(Tr.pageXOffset||ar.scrollLeft||Vr.scrollLeft||0)}:e.getBoundingClientRect(),o={x:r.left-s.left,y:r.top-s.top};return!n&&e&&(o.x+=qn(e,"x")(),o.y+=qn(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"?Hn(e,r)-s:Math.min(Hn(e,r),ih(t,e)[r]-s)},Kc=function(){ce=eh(),th()&&ce&&typeof document!="undefined"&&document.body&&(Tr=window,Vr=document.body,ar=document.documentElement,Jc=ce.utils.toArray,ce.config({autoKillThreshold:7}),Zc=ce.config(),Qc=1)},en={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=qn(t,"x"),o.getY=qn(t,"y"),o.x=o.xPrev=o.getX(),o.y=o.yPrev=o.getY(),ao||(ao=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<Hn(n,"x")&&(e.skipX=1),!e.skipY&&(_>g||_<-g)&&c<Hn(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,ao&&ao.update()},kill:function(t){var e=t==="scrollTo";(e||t==="scrollTo_x")&&(this.skipX=1),(e||t==="scrollTo_y")&&(this.skipY=1)}};en.max=Hn;en.getOffset=ih;en.buildGetter=qn;eh()&&ce.registerPlugin(en);var xg=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig;var vg=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig;var bg=Math.PI/180,s0=180/Math.PI,lo=Math.sin,uo=Math.cos,$n=Math.abs,jn=Math.sqrt;var wg=function(t){return typeof t=="number"};var nh=1e5;var Wr=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=$n(e),r=$n(r);var u=n%360*bg,f=uo(u),d=lo(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=jn(b)*e,r=jn(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)*jn(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/jn(Z)),q=(L*Y-N*D<0?-1:1)*Math.acos((L*D+N*Y)/jn(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($n(q)/(c/4)),xt=[],et=q/Rt,ht=4/3*lo(et/2)/(1+uo(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=uo(n),y=lo(n),L=uo(n+=et),N=lo(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"||$n(r-d)>.5||$n(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"+Wr(o[0])+","+Wr(o[1])+" C",r=o.length,s=2;s<r;s++)t+=Wr(o[s++])+","+Wr(o[s++])+" "+Wr(o[s++])+","+Wr(o[s++])+" "+Wr(o[s++])+","+Wr(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",Ci.create),uh=1):console.warn("Please gsap.registerPlugin(CustomEase)")},Tg=1e20,fo=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},Ci=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=fo(a+c*s),v=fo(l+r(c)*-o),d=(v-l)/(m-a),h=2;h<g;h++)_=fo(a+h*c*s),p=fo(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(Ci);Ci.version="3.12.2";Ui.registerPlugin(H,en,Ci);function kg(){Ci.create("loader","0.83, 0, 0.17, 1"),Ci.create("loader2","0.77, 0, 0.175, 1")}var co=new ms({duration:1.2,easing:i=>Math.min(1,1.001-Math.pow(2,-10*i))});function Rg(){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 Dg(){window.addEventListener("pageshow",function(i){i.persisted&&window.location.reload()})}function Lg(){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 zg(){Ui.to("#heroSection",{scrollTrigger:{trigger:"#bottomWrapper",start:"top bottom",toggleActions:"restart none none reverse"},y:"-100%"})}function Ig(){let i=Ui.timeline({});i.add(function(){history.scrollRestoration="manual",co.scrollTo(0)}).add(function(){co.stop()}),i.to(".loader_ract",{delay:.2,duration:.8,width:0,ease:"loader2"},">"),i.add(function(){co.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){Ui.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(),Rg(),co.destroy(),kg(),Dg(),zg(),Ig(),window.innerWidth<992&&Lg()});})();
6
6
  /*! Bundled license information:
7
7
 
8
8
  gsap/gsap-core.js:
@@ -82,4 +82,3 @@ gsap/CustomEase.js:
82
82
  * @author: Jack Doyle, jack@greensock.com
83
83
  *)
84
84
  */
85
- //# sourceMappingURL=index.js.map