@widelab-nc/widelab 1.0.2 → 1.0.4
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 +1 -6
- package/dist/index.js.map +4 -4
- package/dist/style.css +0 -1
- package/package.json +1 -1
- package/src/index.js +2 -750
package/dist/index.js
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
(()=>{var fg=Object.create;var of=Object.defineProperty;var dg=Object.getOwnPropertyDescriptor;var hg=Object.getOwnPropertyNames;var pg=Object.getPrototypeOf,_g=Object.prototype.hasOwnProperty;var gg=(i,e)=>()=>(e||i((e={exports:{}}).exports,e),e.exports);var mg=(i,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of hg(e))!_g.call(i,n)&&n!==t&&of(i,n,{get:()=>e[n],enumerable:!(r=dg(e,n))||r.enumerable});return i};var vg=(i,e,t)=>(t=i!=null?fg(pg(i)):{},mg(e||!i||!i.__esModule?of(t,"default",{value:i,enumerable:!0}):t,i));var Qp=gg((Cc,Sc)=>{(function(i,e){typeof Cc=="object"&&typeof Sc<"u"?Sc.exports=e():typeof define=="function"&&define.amd?define(e):i.lozad=e()})(Cc,function(){"use strict";var i=typeof document<"u"&&document.documentMode,e={rootMargin:"0px",threshold:0,load:function(s){if(s.nodeName.toLowerCase()==="picture"){var o=s.querySelector("img"),a=!1;o===null&&(o=document.createElement("img"),a=!0),i&&s.getAttribute("data-iesrc")&&(o.src=s.getAttribute("data-iesrc")),s.getAttribute("data-alt")&&(o.alt=s.getAttribute("data-alt")),a&&s.append(o)}if(s.nodeName.toLowerCase()==="video"&&!s.getAttribute("data-src")&&s.children){for(var u=s.children,l=void 0,c=0;c<=u.length-1;c++)(l=u[c].getAttribute("data-src"))&&(u[c].src=l);s.load()}s.getAttribute("data-poster")&&(s.poster=s.getAttribute("data-poster")),s.getAttribute("data-src")&&(s.src=s.getAttribute("data-src")),s.getAttribute("data-srcset")&&s.setAttribute("srcset",s.getAttribute("data-srcset"));var h=",";if(s.getAttribute("data-background-delimiter")&&(h=s.getAttribute("data-background-delimiter")),s.getAttribute("data-background-image"))s.style.backgroundImage="url('"+s.getAttribute("data-background-image").split(h).join("'),url('")+"')";else if(s.getAttribute("data-background-image-set")){var d=s.getAttribute("data-background-image-set").split(h),f=d[0].substr(0,d[0].indexOf(" "))||d[0];f=f.indexOf("url(")===-1?"url("+f+")":f,d.length===1?s.style.backgroundImage=f:s.setAttribute("style",(s.getAttribute("style")||"")+"background-image: "+f+"; background-image: -webkit-image-set("+d+"); background-image: image-set("+d+")")}s.getAttribute("data-toggle-class")&&s.classList.toggle(s.getAttribute("data-toggle-class"))},loaded:function(){}};function t(s){s.setAttribute("data-loaded",!0)}var r=function(s){return s.getAttribute("data-loaded")==="true"},n=function(s){var o=1<arguments.length&&arguments[1]!==void 0?arguments[1]:document;return s instanceof Element?[s]:s instanceof NodeList?s:o.querySelectorAll(s)};return function(){var s,o,a=0<arguments.length&&arguments[0]!==void 0?arguments[0]:".lozad",u=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{},l=Object.assign({},e,u),c=l.root,h=l.rootMargin,d=l.threshold,f=l.load,_=l.loaded,p=void 0;typeof window<"u"&&window.IntersectionObserver&&(p=new IntersectionObserver((s=f,o=_,function(D,x){D.forEach(function(E){(0<E.intersectionRatio||E.isIntersecting)&&(x.unobserve(E.target),r(E.target)||(s(E.target),t(E.target),o(E.target)))})}),{root:c,rootMargin:h,threshold:d}));for(var g,m=n(a,c),v=0;v<m.length;v++)(g=m[v]).getAttribute("data-placeholder-background")&&(g.style.background=g.getAttribute("data-placeholder-background"));return{observe:function(){for(var D=n(a,c),x=0;x<D.length;x++)r(D[x])||(p?p.observe(D[x]):(f(D[x]),t(D[x]),_(D[x])))},triggerLoad:function(D){r(D)||(f(D),t(D),_(D))},observer:p}}})});var pu=!1,_u=!1,ki=[],gu=-1;function Dg(i){yg(i)}function yg(i){ki.includes(i)||ki.push(i),xg()}function yf(i){let e=ki.indexOf(i);e!==-1&&e>gu&&ki.splice(e,1)}function xg(){!_u&&!pu&&(pu=!0,queueMicrotask(bg))}function bg(){pu=!1,_u=!0;for(let i=0;i<ki.length;i++)ki[i](),gu=i;ki.length=0,gu=-1,_u=!1}var mn,vn,fs,xf,mu=!0;function Eg(i){mu=!1,i(),mu=!0}function wg(i){mn=i.reactive,fs=i.release,vn=e=>i.effect(e,{scheduler:t=>{mu?Dg(t):t()}}),xf=i.raw}function af(i){vn=i}function Cg(i){let e=()=>{};return[r=>{let n=vn(r);return i._x_effects||(i._x_effects=new Set,i._x_runEffects=()=>{i._x_effects.forEach(s=>s())}),i._x_effects.add(n),e=()=>{n!==void 0&&(i._x_effects.delete(n),fs(n))},n},()=>{e()}]}function as(i,e,t={}){i.dispatchEvent(new CustomEvent(e,{detail:t,bubbles:!0,composed:!0,cancelable:!0}))}function Qr(i,e){if(typeof ShadowRoot=="function"&&i instanceof ShadowRoot){Array.from(i.children).forEach(n=>Qr(n,e));return}let t=!1;if(e(i,()=>t=!0),t)return;let r=i.firstElementChild;for(;r;)Qr(r,e,!1),r=r.nextElementSibling}function Jr(i,...e){console.warn(`Alpine Warning: ${i}`,...e)}var uf=!1;function Sg(){uf&&Jr("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),uf=!0,document.body||Jr("Unable to initialize. Trying to load Alpine before `<body>` is available. Did you forget to add `defer` in Alpine's `<script>` tag?"),as(document,"alpine:init"),as(document,"alpine:initializing"),Iu(),Fg(e=>Pr(e,Qr)),Lu(e=>ku(e)),Of((e,t)=>{Wu(e,t).forEach(r=>r())});let i=e=>!Fo(e.parentElement,!0);Array.from(document.querySelectorAll(wf())).filter(i).forEach(e=>{Pr(e)}),as(document,"alpine:initialized")}var Mu=[],bf=[];function Ef(){return Mu.map(i=>i())}function wf(){return Mu.concat(bf).map(i=>i())}function Cf(i){Mu.push(i)}function Sf(i){bf.push(i)}function Fo(i,e=!1){return Po(i,t=>{if((e?wf():Ef()).some(n=>t.matches(n)))return!0})}function Po(i,e){if(i){if(e(i))return i;if(i._x_teleportBack&&(i=i._x_teleportBack),!!i.parentElement)return Po(i.parentElement,e)}}function Tg(i){return Ef().some(e=>i.matches(e))}var Tf=[];function Ag(i){Tf.push(i)}function Pr(i,e=Qr,t=()=>{}){Hg(()=>{e(i,(r,n)=>{t(r,n),Tf.forEach(s=>s(r,n)),Wu(r,r.attributes).forEach(s=>s()),r._x_ignore&&n()})})}function ku(i){Qr(i,e=>{kf(e),Pg(e)})}var Af=[],Ff=[],Pf=[];function Fg(i){Pf.push(i)}function Lu(i,e){typeof e=="function"?(i._x_cleanups||(i._x_cleanups=[]),i._x_cleanups.push(e)):(e=i,Ff.push(e))}function Of(i){Af.push(i)}function Mf(i,e,t){i._x_attributeCleanups||(i._x_attributeCleanups={}),i._x_attributeCleanups[e]||(i._x_attributeCleanups[e]=[]),i._x_attributeCleanups[e].push(t)}function kf(i,e){i._x_attributeCleanups&&Object.entries(i._x_attributeCleanups).forEach(([t,r])=>{(e===void 0||e.includes(t))&&(r.forEach(n=>n()),delete i._x_attributeCleanups[t])})}function Pg(i){if(i._x_cleanups)for(;i._x_cleanups.length;)i._x_cleanups.pop()()}var Ru=new MutationObserver(zu),Nu=!1;function Iu(){Ru.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),Nu=!0}function Lf(){Og(),Ru.disconnect(),Nu=!1}var us=[],cu=!1;function Og(){us=us.concat(Ru.takeRecords()),us.length&&!cu&&(cu=!0,queueMicrotask(()=>{Mg(),cu=!1}))}function Mg(){zu(us),us.length=0}function Ye(i){if(!Nu)return i();Lf();let e=i();return Iu(),e}var Bu=!1,So=[];function kg(){Bu=!0}function Lg(){Bu=!1,zu(So),So=[]}function zu(i){if(Bu){So=So.concat(i);return}let e=[],t=[],r=new Map,n=new Map;for(let s=0;s<i.length;s++)if(!i[s].target._x_ignoreMutationObserver&&(i[s].type==="childList"&&(i[s].addedNodes.forEach(o=>o.nodeType===1&&e.push(o)),i[s].removedNodes.forEach(o=>o.nodeType===1&&t.push(o))),i[s].type==="attributes")){let o=i[s].target,a=i[s].attributeName,u=i[s].oldValue,l=()=>{r.has(o)||r.set(o,[]),r.get(o).push({name:a,value:o.getAttribute(a)})},c=()=>{n.has(o)||n.set(o,[]),n.get(o).push(a)};o.hasAttribute(a)&&u===null?l():o.hasAttribute(a)?(c(),l()):c()}n.forEach((s,o)=>{kf(o,s)}),r.forEach((s,o)=>{Af.forEach(a=>a(o,s))});for(let s of t)e.includes(s)||(Ff.forEach(o=>o(s)),ku(s));e.forEach(s=>{s._x_ignoreSelf=!0,s._x_ignore=!0});for(let s of e)t.includes(s)||s.isConnected&&(delete s._x_ignoreSelf,delete s._x_ignore,Pf.forEach(o=>o(s)),s._x_ignore=!0,s._x_ignoreSelf=!0);e.forEach(s=>{delete s._x_ignoreSelf,delete s._x_ignore}),e=null,t=null,r=null,n=null}function Rf(i){return hs(_n(i))}function ds(i,e,t){return i._x_dataStack=[e,..._n(t||i)],()=>{i._x_dataStack=i._x_dataStack.filter(r=>r!==e)}}function _n(i){return i._x_dataStack?i._x_dataStack:typeof ShadowRoot=="function"&&i instanceof ShadowRoot?_n(i.host):i.parentNode?_n(i.parentNode):[]}function hs(i){let e=new Proxy({},{ownKeys:()=>Array.from(new Set(i.flatMap(t=>Object.keys(t)))),has:(t,r)=>i.some(n=>n.hasOwnProperty(r)),get:(t,r)=>(i.find(n=>{if(n.hasOwnProperty(r)){let s=Object.getOwnPropertyDescriptor(n,r);if(s.get&&s.get._x_alreadyBound||s.set&&s.set._x_alreadyBound)return!0;if((s.get||s.set)&&s.enumerable){let o=s.get,a=s.set,u=s;o=o&&o.bind(e),a=a&&a.bind(e),o&&(o._x_alreadyBound=!0),a&&(a._x_alreadyBound=!0),Object.defineProperty(n,r,{...u,get:o,set:a})}return!0}return!1})||{})[r],set:(t,r,n)=>{let s=i.find(o=>o.hasOwnProperty(r));return s?s[r]=n:i[i.length-1][r]=n,!0}});return e}function Nf(i){let e=r=>typeof r=="object"&&!Array.isArray(r)&&r!==null,t=(r,n="")=>{Object.entries(Object.getOwnPropertyDescriptors(r)).forEach(([s,{value:o,enumerable:a}])=>{if(a===!1||o===void 0)return;let u=n===""?s:`${n}.${s}`;typeof o=="object"&&o!==null&&o._x_interceptor?r[s]=o.initialize(i,u,s):e(o)&&o!==r&&!(o instanceof Element)&&t(o,u)})};return t(i)}function If(i,e=()=>{}){let t={initialValue:void 0,_x_interceptor:!0,initialize(r,n,s){return i(this.initialValue,()=>Rg(r,n),o=>vu(r,n,o),n,s)}};return e(t),r=>{if(typeof r=="object"&&r!==null&&r._x_interceptor){let n=t.initialize.bind(t);t.initialize=(s,o,a)=>{let u=r.initialize(s,o,a);return t.initialValue=u,n(s,o,a)}}else t.initialValue=r;return t}}function Rg(i,e){return e.split(".").reduce((t,r)=>t[r],i)}function vu(i,e,t){if(typeof e=="string"&&(e=e.split(".")),e.length===1)i[e[0]]=t;else{if(e.length===0)throw error;return i[e[0]]||(i[e[0]]={}),vu(i[e[0]],e.slice(1),t)}}var Bf={};function ir(i,e){Bf[i]=e}function Du(i,e){return Object.entries(Bf).forEach(([t,r])=>{let n=null;function s(){if(n)return n;{let[o,a]=Gf(e);return n={interceptor:If,...o},Lu(e,a),n}}Object.defineProperty(i,`$${t}`,{get(){return r(e,s())},enumerable:!1})}),i}function Ng(i,e,t,...r){try{return t(...r)}catch(n){cs(n,i,e)}}function cs(i,e,t=void 0){Object.assign(i,{el:e,expression:t}),console.warn(`Alpine Expression Error: ${i.message}
|
|
2
|
-
|
|
3
|
-
${t?'Expression: "'+t+`"
|
|
4
|
-
|
|
5
|
-
`:""}`,e),setTimeout(()=>{throw i},0)}var Co=!0;function zf(i){let e=Co;Co=!1;let t=i();return Co=e,t}function Li(i,e,t={}){let r;return lt(i,e)(n=>r=n,t),r}function lt(...i){return Vf(...i)}var Vf=Wf;function Ig(i){Vf=i}function Wf(i,e){let t={};Du(t,i);let r=[t,..._n(i)],n=typeof e=="function"?Bg(r,e):Vg(r,e,i);return Ng.bind(null,i,e,n)}function Bg(i,e){return(t=()=>{},{scope:r={},params:n=[]}={})=>{let s=e.apply(hs([r,...i]),n);To(t,s)}}var fu={};function zg(i,e){if(fu[i])return fu[i];let t=Object.getPrototypeOf(async function(){}).constructor,r=/^[\n\s]*if.*\(.*\)/.test(i.trim())||/^(let|const)\s/.test(i.trim())?`(async()=>{ ${i} })()`:i,s=(()=>{try{return new t(["__self","scope"],`with (scope) { __self.result = ${r} }; __self.finished = true; return __self.result;`)}catch(o){return cs(o,e,i),Promise.resolve()}})();return fu[i]=s,s}function Vg(i,e,t){let r=zg(e,t);return(n=()=>{},{scope:s={},params:o=[]}={})=>{r.result=void 0,r.finished=!1;let a=hs([s,...i]);if(typeof r=="function"){let u=r(r,a).catch(l=>cs(l,t,e));r.finished?(To(n,r.result,a,o,t),r.result=void 0):u.then(l=>{To(n,l,a,o,t)}).catch(l=>cs(l,t,e)).finally(()=>r.result=void 0)}}}function To(i,e,t,r,n){if(Co&&typeof e=="function"){let s=e.apply(t,r);s instanceof Promise?s.then(o=>To(i,o,t,r)).catch(o=>cs(o,n,e)):i(s)}else typeof e=="object"&&e instanceof Promise?e.then(s=>i(s)):i(e)}var Vu="x-";function Dn(i=""){return Vu+i}function Wg(i){Vu=i}var yu={};function Re(i,e){return yu[i]=e,{before(t){if(!yu[t]){console.warn("Cannot find directive `${directive}`. `${name}` will use the default order of execution");return}let r=Mi.indexOf(t);Mi.splice(r>=0?r:Mi.indexOf("DEFAULT"),0,i)}}}function Wu(i,e,t){if(e=Array.from(e),i._x_virtualDirectives){let s=Object.entries(i._x_virtualDirectives).map(([a,u])=>({name:a,value:u})),o=Hf(s);s=s.map(a=>o.find(u=>u.name===a.name)?{name:`x-bind:${a.name}`,value:`"${a.value}"`}:a),e=e.concat(s)}let r={};return e.map(qf((s,o)=>r[s]=o)).filter($f).map(Gg(r,t)).sort(Ug).map(s=>Yg(i,s))}function Hf(i){return Array.from(i).map(qf()).filter(e=>!$f(e))}var xu=!1,os=new Map,Yf=Symbol();function Hg(i){xu=!0;let e=Symbol();Yf=e,os.set(e,[]);let t=()=>{for(;os.get(e).length;)os.get(e).shift()();os.delete(e)},r=()=>{xu=!1,t()};i(t),r()}function Gf(i){let e=[],t=a=>e.push(a),[r,n]=Cg(i);return e.push(n),[{Alpine:ps,effect:r,cleanup:t,evaluateLater:lt.bind(lt,i),evaluate:Li.bind(Li,i)},()=>e.forEach(a=>a())]}function Yg(i,e){let t=()=>{},r=yu[e.type]||t,[n,s]=Gf(i);Mf(i,e.original,s);let o=()=>{i._x_ignore||i._x_ignoreSelf||(r.inline&&r.inline(i,e,n),r=r.bind(r,i,e,n),xu?os.get(Yf).push(r):r())};return o.runCleanups=s,o}var Uf=(i,e)=>({name:t,value:r})=>(t.startsWith(i)&&(t=t.replace(i,e)),{name:t,value:r}),Xf=i=>i;function qf(i=()=>{}){return({name:e,value:t})=>{let{name:r,value:n}=jf.reduce((s,o)=>o(s),{name:e,value:t});return r!==e&&i(r,e),{name:r,value:n}}}var jf=[];function Hu(i){jf.push(i)}function $f({name:i}){return Kf().test(i)}var Kf=()=>new RegExp(`^${Vu}([^:^.]+)\\b`);function Gg(i,e){return({name:t,value:r})=>{let n=t.match(Kf()),s=t.match(/:([a-zA-Z0-9\-:]+)/),o=t.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],a=e||i[t]||t;return{type:n?n[1]:null,value:s?s[1]:null,modifiers:o.map(u=>u.replace(".","")),expression:r,original:a}}}var bu="DEFAULT",Mi=["ignore","ref","data","id","bind","init","for","model","modelable","transition","show","if",bu,"teleport"];function Ug(i,e){let t=Mi.indexOf(i.type)===-1?bu:i.type,r=Mi.indexOf(e.type)===-1?bu:e.type;return Mi.indexOf(t)-Mi.indexOf(r)}var Eu=[],Yu=!1;function Gu(i=()=>{}){return queueMicrotask(()=>{Yu||setTimeout(()=>{wu()})}),new Promise(e=>{Eu.push(()=>{i(),e()})})}function wu(){for(Yu=!1;Eu.length;)Eu.shift()()}function Xg(){Yu=!0}function Uu(i,e){return Array.isArray(e)?lf(i,e.join(" ")):typeof e=="object"&&e!==null?qg(i,e):typeof e=="function"?Uu(i,e()):lf(i,e)}function lf(i,e){let t=s=>s.split(" ").filter(Boolean),r=s=>s.split(" ").filter(o=>!i.classList.contains(o)).filter(Boolean),n=s=>(i.classList.add(...s),()=>{i.classList.remove(...s)});return e=e===!0?e="":e||"",n(r(e))}function qg(i,e){let t=a=>a.split(" ").filter(Boolean),r=Object.entries(e).flatMap(([a,u])=>u?t(a):!1).filter(Boolean),n=Object.entries(e).flatMap(([a,u])=>u?!1:t(a)).filter(Boolean),s=[],o=[];return n.forEach(a=>{i.classList.contains(a)&&(i.classList.remove(a),o.push(a))}),r.forEach(a=>{i.classList.contains(a)||(i.classList.add(a),s.push(a))}),()=>{o.forEach(a=>i.classList.add(a)),s.forEach(a=>i.classList.remove(a))}}function Oo(i,e){return typeof e=="object"&&e!==null?jg(i,e):$g(i,e)}function jg(i,e){let t={};return Object.entries(e).forEach(([r,n])=>{t[r]=i.style[r],r.startsWith("--")||(r=Kg(r)),i.style.setProperty(r,n)}),setTimeout(()=>{i.style.length===0&&i.removeAttribute("style")}),()=>{Oo(i,t)}}function $g(i,e){let t=i.getAttribute("style",e);return i.setAttribute("style",e),()=>{i.setAttribute("style",t||"")}}function Kg(i){return i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Cu(i,e=()=>{}){let t=!1;return function(){t?e.apply(this,arguments):(t=!0,i.apply(this,arguments))}}Re("transition",(i,{value:e,modifiers:t,expression:r},{evaluate:n})=>{typeof r=="function"&&(r=n(r)),r!==!1&&(!r||typeof r=="boolean"?Qg(i,t,e):Zg(i,r,e))});function Zg(i,e,t){Zf(i,Uu,""),{enter:n=>{i._x_transition.enter.during=n},"enter-start":n=>{i._x_transition.enter.start=n},"enter-end":n=>{i._x_transition.enter.end=n},leave:n=>{i._x_transition.leave.during=n},"leave-start":n=>{i._x_transition.leave.start=n},"leave-end":n=>{i._x_transition.leave.end=n}}[t](e)}function Qg(i,e,t){Zf(i,Oo);let r=!e.includes("in")&&!e.includes("out")&&!t,n=r||e.includes("in")||["enter"].includes(t),s=r||e.includes("out")||["leave"].includes(t);e.includes("in")&&!r&&(e=e.filter((m,v)=>v<e.indexOf("out"))),e.includes("out")&&!r&&(e=e.filter((m,v)=>v>e.indexOf("out")));let o=!e.includes("opacity")&&!e.includes("scale"),a=o||e.includes("opacity"),u=o||e.includes("scale"),l=a?0:1,c=u?ns(e,"scale",95)/100:1,h=ns(e,"delay",0)/1e3,d=ns(e,"origin","center"),f="opacity, transform",_=ns(e,"duration",150)/1e3,p=ns(e,"duration",75)/1e3,g="cubic-bezier(0.4, 0.0, 0.2, 1)";n&&(i._x_transition.enter.during={transformOrigin:d,transitionDelay:`${h}s`,transitionProperty:f,transitionDuration:`${_}s`,transitionTimingFunction:g},i._x_transition.enter.start={opacity:l,transform:`scale(${c})`},i._x_transition.enter.end={opacity:1,transform:"scale(1)"}),s&&(i._x_transition.leave.during={transformOrigin:d,transitionDelay:`${h}s`,transitionProperty:f,transitionDuration:`${p}s`,transitionTimingFunction:g},i._x_transition.leave.start={opacity:1,transform:"scale(1)"},i._x_transition.leave.end={opacity:l,transform:`scale(${c})`})}function Zf(i,e,t={}){i._x_transition||(i._x_transition={enter:{during:t,start:t,end:t},leave:{during:t,start:t,end:t},in(r=()=>{},n=()=>{}){Su(i,e,{during:this.enter.during,start:this.enter.start,end:this.enter.end},r,n)},out(r=()=>{},n=()=>{}){Su(i,e,{during:this.leave.during,start:this.leave.start,end:this.leave.end},r,n)}})}window.Element.prototype._x_toggleAndCascadeWithTransitions=function(i,e,t,r){let n=document.visibilityState==="visible"?requestAnimationFrame:setTimeout,s=()=>n(t);if(e){i._x_transition&&(i._x_transition.enter||i._x_transition.leave)?i._x_transition.enter&&(Object.entries(i._x_transition.enter.during).length||Object.entries(i._x_transition.enter.start).length||Object.entries(i._x_transition.enter.end).length)?i._x_transition.in(t):s():i._x_transition?i._x_transition.in(t):s();return}i._x_hidePromise=i._x_transition?new Promise((o,a)=>{i._x_transition.out(()=>{},()=>o(r)),i._x_transitioning.beforeCancel(()=>a({isFromCancelledTransition:!0}))}):Promise.resolve(r),queueMicrotask(()=>{let o=Qf(i);o?(o._x_hideChildren||(o._x_hideChildren=[]),o._x_hideChildren.push(i)):n(()=>{let a=u=>{let l=Promise.all([u._x_hidePromise,...(u._x_hideChildren||[]).map(a)]).then(([c])=>c());return delete u._x_hidePromise,delete u._x_hideChildren,l};a(i).catch(u=>{if(!u.isFromCancelledTransition)throw u})})})};function Qf(i){let e=i.parentNode;if(e)return e._x_hidePromise?e:Qf(e)}function Su(i,e,{during:t,start:r,end:n}={},s=()=>{},o=()=>{}){if(i._x_transitioning&&i._x_transitioning.cancel(),Object.keys(t).length===0&&Object.keys(r).length===0&&Object.keys(n).length===0){s(),o();return}let a,u,l;Jg(i,{start(){a=e(i,r)},during(){u=e(i,t)},before:s,end(){a(),l=e(i,n)},after:o,cleanup(){u(),l()}})}function Jg(i,e){let t,r,n,s=Cu(()=>{Ye(()=>{t=!0,r||e.before(),n||(e.end(),wu()),e.after(),i.isConnected&&e.cleanup(),delete i._x_transitioning})});i._x_transitioning={beforeCancels:[],beforeCancel(o){this.beforeCancels.push(o)},cancel:Cu(function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();s()}),finish:s},Ye(()=>{e.start(),e.during()}),Xg(),requestAnimationFrame(()=>{if(t)return;let o=Number(getComputedStyle(i).transitionDuration.replace(/,.*/,"").replace("s",""))*1e3,a=Number(getComputedStyle(i).transitionDelay.replace(/,.*/,"").replace("s",""))*1e3;o===0&&(o=Number(getComputedStyle(i).animationDuration.replace("s",""))*1e3),Ye(()=>{e.before()}),r=!0,requestAnimationFrame(()=>{t||(Ye(()=>{e.end()}),wu(),setTimeout(i._x_transitioning.finish,o+a),n=!0)})})}function ns(i,e,t){if(i.indexOf(e)===-1)return t;let r=i[i.indexOf(e)+1];if(!r||e==="scale"&&isNaN(r))return t;if(e==="duration"||e==="delay"){let n=r.match(/([0-9]+)ms/);if(n)return n[1]}return e==="origin"&&["top","right","left","center","bottom"].includes(i[i.indexOf(e)+2])?[r,i[i.indexOf(e)+2]].join(" "):r}var ei=!1;function Mo(i,e=()=>{}){return(...t)=>ei?e(...t):i(...t)}function e0(i){return(...e)=>ei&&i(...e)}function t0(i,e){i._x_dataStack&&(e._x_dataStack=i._x_dataStack,e.setAttribute("data-has-alpine-state",!0)),ei=!0,Jf(()=>{Pr(e,(t,r)=>{r(t,()=>{})})}),ei=!1}var Tu=!1;function r0(i,e){e._x_dataStack||(e._x_dataStack=i._x_dataStack),ei=!0,Tu=!0,Jf(()=>{i0(e)}),ei=!1,Tu=!1}function i0(i){let e=!1;Pr(i,(r,n)=>{Qr(r,(s,o)=>{if(e&&Tg(s))return o();e=!0,n(s,o)})})}function Jf(i){let e=vn;af((t,r)=>{let n=e(t);return fs(n),()=>{}}),i(),af(e)}function n0(i){return ei?Tu?!0:i.hasAttribute("data-has-alpine-state"):!1}function ed(i,e,t,r=[]){switch(i._x_bindings||(i._x_bindings=mn({})),i._x_bindings[e]=t,e=r.includes("camel")?d0(e):e,e){case"value":s0(i,t);break;case"style":a0(i,t);break;case"class":o0(i,t);break;case"selected":case"checked":u0(i,e,t);break;default:td(i,e,t);break}}function s0(i,e){if(i.type==="radio")i.attributes.value===void 0&&(i.value=e),window.fromModel&&(i.checked=cf(i.value,e));else if(i.type==="checkbox")Number.isInteger(e)?i.value=e:!Array.isArray(e)&&typeof e!="boolean"&&![null,void 0].includes(e)?i.value=String(e):Array.isArray(e)?i.checked=e.some(t=>cf(t,i.value)):i.checked=!!e;else if(i.tagName==="SELECT")f0(i,e);else{if(i.value===e)return;i.value=e===void 0?"":e}}function o0(i,e){i._x_undoAddedClasses&&i._x_undoAddedClasses(),i._x_undoAddedClasses=Uu(i,e)}function a0(i,e){i._x_undoAddedStyles&&i._x_undoAddedStyles(),i._x_undoAddedStyles=Oo(i,e)}function u0(i,e,t){td(i,e,t),c0(i,e,t)}function td(i,e,t){[null,void 0,!1].includes(t)&&h0(e)?i.removeAttribute(e):(rd(e)&&(t=e),l0(i,e,t))}function l0(i,e,t){i.getAttribute(e)!=t&&i.setAttribute(e,t)}function c0(i,e,t){i[e]!==t&&(i[e]=t)}function f0(i,e){let t=[].concat(e).map(r=>r+"");Array.from(i.options).forEach(r=>{r.selected=t.includes(r.value)})}function d0(i){return i.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function cf(i,e){return i==e}function rd(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 h0(i){return!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(i)}function p0(i,e,t){return i._x_bindings&&i._x_bindings[e]!==void 0?i._x_bindings[e]:id(i,e,t)}function _0(i,e,t,r=!0){if(i._x_bindings&&i._x_bindings[e]!==void 0)return i._x_bindings[e];if(i._x_inlineBindings&&i._x_inlineBindings[e]!==void 0){let n=i._x_inlineBindings[e];return n.extract=r,zf(()=>Li(i,n.expression))}return id(i,e,t)}function id(i,e,t){let r=i.getAttribute(e);return r===null?typeof t=="function"?t():t:r===""?!0:rd(e)?!![e,"true"].includes(r):r}function nd(i,e){var t;return function(){var r=this,n=arguments,s=function(){t=null,i.apply(r,n)};clearTimeout(t),t=setTimeout(s,e)}}function sd(i,e){let t;return function(){let r=this,n=arguments;t||(i.apply(r,n),t=!0,setTimeout(()=>t=!1,e))}}function od({get:i,set:e},{get:t,set:r}){let n=!0,s,o,a,u,l=vn(()=>{let c,h;n?(c=i(),r(JSON.parse(JSON.stringify(c))),h=t(),n=!1):(c=i(),h=t(),a=JSON.stringify(c),u=JSON.stringify(h),a!==s?(h=t(),r(c),h=c):(e(JSON.parse(u??null)),c=h)),s=JSON.stringify(c),o=JSON.stringify(h)});return()=>{fs(l)}}function g0(i){(Array.isArray(i)?i:[i]).forEach(t=>t(ps))}var Oi={},ff=!1;function m0(i,e){if(ff||(Oi=mn(Oi),ff=!0),e===void 0)return Oi[i];Oi[i]=e,typeof e=="object"&&e!==null&&e.hasOwnProperty("init")&&typeof e.init=="function"&&Oi[i].init(),Nf(Oi[i])}function v0(){return Oi}var ad={};function D0(i,e){let t=typeof e!="function"?()=>e:e;return i instanceof Element?ud(i,t()):(ad[i]=t,()=>{})}function y0(i){return Object.entries(ad).forEach(([e,t])=>{Object.defineProperty(i,e,{get(){return(...r)=>t(...r)}})}),i}function ud(i,e,t){let r=[];for(;r.length;)r.pop()();let n=Object.entries(e).map(([o,a])=>({name:o,value:a})),s=Hf(n);return n=n.map(o=>s.find(a=>a.name===o.name)?{name:`x-bind:${o.name}`,value:`"${o.value}"`}:o),Wu(i,n,t).map(o=>{r.push(o.runCleanups),o()}),()=>{for(;r.length;)r.pop()()}}var ld={};function x0(i,e){ld[i]=e}function b0(i,e){return Object.entries(ld).forEach(([t,r])=>{Object.defineProperty(i,t,{get(){return(...n)=>r.bind(e)(...n)},enumerable:!1})}),i}var E0={get reactive(){return mn},get release(){return fs},get effect(){return vn},get raw(){return xf},version:"3.13.0",flushAndStopDeferringMutations:Lg,dontAutoEvaluateFunctions:zf,disableEffectScheduling:Eg,startObservingMutations:Iu,stopObservingMutations:Lf,setReactivityEngine:wg,onAttributeRemoved:Mf,onAttributesAdded:Of,closestDataStack:_n,skipDuringClone:Mo,onlyDuringClone:e0,addRootSelector:Cf,addInitSelector:Sf,addScopeToNode:ds,deferMutations:kg,mapAttributes:Hu,evaluateLater:lt,interceptInit:Ag,setEvaluator:Ig,mergeProxies:hs,extractProp:_0,findClosest:Po,onElRemoved:Lu,closestRoot:Fo,destroyTree:ku,interceptor:If,transition:Su,setStyles:Oo,mutateDom:Ye,directive:Re,entangle:od,throttle:sd,debounce:nd,evaluate:Li,initTree:Pr,nextTick:Gu,prefixed:Dn,prefix:Wg,plugin:g0,magic:ir,store:m0,start:Sg,clone:r0,cloneNode:t0,bound:p0,$data:Rf,walk:Qr,data:x0,bind:D0},ps=E0;function cd(i,e){let t=Object.create(null),r=i.split(",");for(let n=0;n<r.length;n++)t[r[n]]=!0;return e?n=>!!t[n.toLowerCase()]:n=>!!t[n]}var w0="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",L1=cd(w0+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),C0=Object.freeze({}),R1=Object.freeze([]),S0=Object.prototype.hasOwnProperty,ko=(i,e)=>S0.call(i,e),Ri=Array.isArray,ls=i=>fd(i)==="[object Map]",T0=i=>typeof i=="string",Xu=i=>typeof i=="symbol",Lo=i=>i!==null&&typeof i=="object",A0=Object.prototype.toString,fd=i=>A0.call(i),dd=i=>fd(i).slice(8,-1),qu=i=>T0(i)&&i!=="NaN"&&i[0]!=="-"&&""+parseInt(i,10)===i,Ro=i=>{let e=Object.create(null);return t=>e[t]||(e[t]=i(t))},F0=/-(\w)/g,N1=Ro(i=>i.replace(F0,(e,t)=>t?t.toUpperCase():"")),P0=/\B([A-Z])/g,I1=Ro(i=>i.replace(P0,"-$1").toLowerCase()),hd=Ro(i=>i.charAt(0).toUpperCase()+i.slice(1)),B1=Ro(i=>i?`on${hd(i)}`:""),pd=(i,e)=>i!==e&&(i===i||e===e),Au=new WeakMap,ss=[],_r,Ni=Symbol("iterate"),Fu=Symbol("Map key iterate");function O0(i){return i&&i._isEffect===!0}function M0(i,e=C0){O0(i)&&(i=i.raw);let t=R0(i,e);return e.lazy||t(),t}function k0(i){i.active&&(_d(i),i.options.onStop&&i.options.onStop(),i.active=!1)}var L0=0;function R0(i,e){let t=function(){if(!t.active)return i();if(!ss.includes(t)){_d(t);try{return I0(),ss.push(t),_r=t,i()}finally{ss.pop(),gd(),_r=ss[ss.length-1]}}};return t.id=L0++,t.allowRecurse=!!e.allowRecurse,t._isEffect=!0,t.active=!0,t.raw=i,t.deps=[],t.options=e,t}function _d(i){let{deps:e}=i;if(e.length){for(let t=0;t<e.length;t++)e[t].delete(i);e.length=0}}var gn=!0,ju=[];function N0(){ju.push(gn),gn=!1}function I0(){ju.push(gn),gn=!0}function gd(){let i=ju.pop();gn=i===void 0?!0:i}function rr(i,e,t){if(!gn||_r===void 0)return;let r=Au.get(i);r||Au.set(i,r=new Map);let n=r.get(t);n||r.set(t,n=new Set),n.has(_r)||(n.add(_r),_r.deps.push(n),_r.options.onTrack&&_r.options.onTrack({effect:_r,target:i,type:e,key:t}))}function ti(i,e,t,r,n,s){let o=Au.get(i);if(!o)return;let a=new Set,u=c=>{c&&c.forEach(h=>{(h!==_r||h.allowRecurse)&&a.add(h)})};if(e==="clear")o.forEach(u);else if(t==="length"&&Ri(i))o.forEach((c,h)=>{(h==="length"||h>=r)&&u(c)});else switch(t!==void 0&&u(o.get(t)),e){case"add":Ri(i)?qu(t)&&u(o.get("length")):(u(o.get(Ni)),ls(i)&&u(o.get(Fu)));break;case"delete":Ri(i)||(u(o.get(Ni)),ls(i)&&u(o.get(Fu)));break;case"set":ls(i)&&u(o.get(Ni));break}let l=c=>{c.options.onTrigger&&c.options.onTrigger({effect:c,target:i,key:t,type:e,newValue:r,oldValue:n,oldTarget:s}),c.options.scheduler?c.options.scheduler(c):c()};a.forEach(l)}var B0=cd("__proto__,__v_isRef,__isVue"),md=new Set(Object.getOwnPropertyNames(Symbol).map(i=>Symbol[i]).filter(Xu)),z0=vd(),V0=vd(!0),df=W0();function W0(){let i={};return["includes","indexOf","lastIndexOf"].forEach(e=>{i[e]=function(...t){let r=me(this);for(let s=0,o=this.length;s<o;s++)rr(r,"get",s+"");let n=r[e](...t);return n===-1||n===!1?r[e](...t.map(me)):n}}),["push","pop","shift","unshift","splice"].forEach(e=>{i[e]=function(...t){N0();let r=me(this)[e].apply(this,t);return gd(),r}}),i}function vd(i=!1,e=!1){return function(r,n,s){if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_raw"&&s===(i?e?im:bd:e?rm:xd).get(r))return r;let o=Ri(r);if(!i&&o&&ko(df,n))return Reflect.get(df,n,s);let a=Reflect.get(r,n,s);return(Xu(n)?md.has(n):B0(n))||(i||rr(r,"get",n),e)?a:Pu(a)?!o||!qu(n)?a.value:a:Lo(a)?i?Ed(a):Qu(a):a}}var H0=Y0();function Y0(i=!1){return function(t,r,n,s){let o=t[r];if(!i&&(n=me(n),o=me(o),!Ri(t)&&Pu(o)&&!Pu(n)))return o.value=n,!0;let a=Ri(t)&&qu(r)?Number(r)<t.length:ko(t,r),u=Reflect.set(t,r,n,s);return t===me(s)&&(a?pd(n,o)&&ti(t,"set",r,n,o):ti(t,"add",r,n)),u}}function G0(i,e){let t=ko(i,e),r=i[e],n=Reflect.deleteProperty(i,e);return n&&t&&ti(i,"delete",e,void 0,r),n}function U0(i,e){let t=Reflect.has(i,e);return(!Xu(e)||!md.has(e))&&rr(i,"has",e),t}function X0(i){return rr(i,"iterate",Ri(i)?"length":Ni),Reflect.ownKeys(i)}var q0={get:z0,set:H0,deleteProperty:G0,has:U0,ownKeys:X0},j0={get:V0,set(i,e){return console.warn(`Set operation on key "${String(e)}" failed: target is readonly.`,i),!0},deleteProperty(i,e){return console.warn(`Delete operation on key "${String(e)}" failed: target is readonly.`,i),!0}},$u=i=>Lo(i)?Qu(i):i,Ku=i=>Lo(i)?Ed(i):i,Zu=i=>i,No=i=>Reflect.getPrototypeOf(i);function yo(i,e,t=!1,r=!1){i=i.__v_raw;let n=me(i),s=me(e);e!==s&&!t&&rr(n,"get",e),!t&&rr(n,"get",s);let{has:o}=No(n),a=r?Zu:t?Ku:$u;if(o.call(n,e))return a(i.get(e));if(o.call(n,s))return a(i.get(s));i!==n&&i.get(e)}function xo(i,e=!1){let t=this.__v_raw,r=me(t),n=me(i);return i!==n&&!e&&rr(r,"has",i),!e&&rr(r,"has",n),i===n?t.has(i):t.has(i)||t.has(n)}function bo(i,e=!1){return i=i.__v_raw,!e&&rr(me(i),"iterate",Ni),Reflect.get(i,"size",i)}function hf(i){i=me(i);let e=me(this);return No(e).has.call(e,i)||(e.add(i),ti(e,"add",i,i)),this}function pf(i,e){e=me(e);let t=me(this),{has:r,get:n}=No(t),s=r.call(t,i);s?yd(t,r,i):(i=me(i),s=r.call(t,i));let o=n.call(t,i);return t.set(i,e),s?pd(e,o)&&ti(t,"set",i,e,o):ti(t,"add",i,e),this}function _f(i){let e=me(this),{has:t,get:r}=No(e),n=t.call(e,i);n?yd(e,t,i):(i=me(i),n=t.call(e,i));let s=r?r.call(e,i):void 0,o=e.delete(i);return n&&ti(e,"delete",i,void 0,s),o}function gf(){let i=me(this),e=i.size!==0,t=ls(i)?new Map(i):new Set(i),r=i.clear();return e&&ti(i,"clear",void 0,void 0,t),r}function Eo(i,e){return function(r,n){let s=this,o=s.__v_raw,a=me(o),u=e?Zu:i?Ku:$u;return!i&&rr(a,"iterate",Ni),o.forEach((l,c)=>r.call(n,u(l),u(c),s))}}function wo(i,e,t){return function(...r){let n=this.__v_raw,s=me(n),o=ls(s),a=i==="entries"||i===Symbol.iterator&&o,u=i==="keys"&&o,l=n[i](...r),c=t?Zu:e?Ku:$u;return!e&&rr(s,"iterate",u?Fu:Ni),{next(){let{value:h,done:d}=l.next();return d?{value:h,done:d}:{value:a?[c(h[0]),c(h[1])]:c(h),done:d}},[Symbol.iterator](){return this}}}}function Zr(i){return function(...e){{let t=e[0]?`on key "${e[0]}" `:"";console.warn(`${hd(i)} operation ${t}failed: target is readonly.`,me(this))}return i==="delete"?!1:this}}function $0(){let i={get(s){return yo(this,s)},get size(){return bo(this)},has:xo,add:hf,set:pf,delete:_f,clear:gf,forEach:Eo(!1,!1)},e={get(s){return yo(this,s,!1,!0)},get size(){return bo(this)},has:xo,add:hf,set:pf,delete:_f,clear:gf,forEach:Eo(!1,!0)},t={get(s){return yo(this,s,!0)},get size(){return bo(this,!0)},has(s){return xo.call(this,s,!0)},add:Zr("add"),set:Zr("set"),delete:Zr("delete"),clear:Zr("clear"),forEach:Eo(!0,!1)},r={get(s){return yo(this,s,!0,!0)},get size(){return bo(this,!0)},has(s){return xo.call(this,s,!0)},add:Zr("add"),set:Zr("set"),delete:Zr("delete"),clear:Zr("clear"),forEach:Eo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{i[s]=wo(s,!1,!1),t[s]=wo(s,!0,!1),e[s]=wo(s,!1,!0),r[s]=wo(s,!0,!0)}),[i,t,e,r]}var[K0,Z0,Q0,J0]=$0();function Dd(i,e){let t=e?i?J0:Q0:i?Z0:K0;return(r,n,s)=>n==="__v_isReactive"?!i:n==="__v_isReadonly"?i:n==="__v_raw"?r:Reflect.get(ko(t,n)&&n in r?t:r,n,s)}var em={get:Dd(!1,!1)},tm={get:Dd(!0,!1)};function yd(i,e,t){let r=me(t);if(r!==t&&e.call(i,r)){let n=dd(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 xd=new WeakMap,rm=new WeakMap,bd=new WeakMap,im=new WeakMap;function nm(i){switch(i){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function sm(i){return i.__v_skip||!Object.isExtensible(i)?0:nm(dd(i))}function Qu(i){return i&&i.__v_isReadonly?i:wd(i,!1,q0,em,xd)}function Ed(i){return wd(i,!0,j0,tm,bd)}function wd(i,e,t,r,n){if(!Lo(i))return console.warn(`value cannot be made reactive: ${String(i)}`),i;if(i.__v_raw&&!(e&&i.__v_isReactive))return i;let s=n.get(i);if(s)return s;let o=sm(i);if(o===0)return i;let a=new Proxy(i,o===2?r:t);return n.set(i,a),a}function me(i){return i&&me(i.__v_raw)||i}function Pu(i){return!!(i&&i.__v_isRef===!0)}ir("nextTick",()=>Gu);ir("dispatch",i=>as.bind(as,i));ir("watch",(i,{evaluateLater:e,effect:t})=>(r,n)=>{let s=e(r),o=!0,a,u=t(()=>s(l=>{JSON.stringify(l),o?a=l:queueMicrotask(()=>{n(l,a),a=l}),o=!1}));i._x_effects.delete(u)});ir("store",v0);ir("data",i=>Rf(i));ir("root",i=>Fo(i));ir("refs",i=>(i._x_refs_proxy||(i._x_refs_proxy=hs(om(i))),i._x_refs_proxy));function om(i){let e=[],t=i;for(;t;)t._x_refs&&e.push(t._x_refs),t=t.parentNode;return e}var du={};function Cd(i){return du[i]||(du[i]=0),++du[i]}function am(i,e){return Po(i,t=>{if(t._x_ids&&t._x_ids[e])return!0})}function um(i,e){i._x_ids||(i._x_ids={}),i._x_ids[e]||(i._x_ids[e]=Cd(e))}ir("id",i=>(e,t=null)=>{let r=am(i,e),n=r?r._x_ids[e]:Cd(e);return t?`${e}-${n}-${t}`:`${e}-${n}`});ir("el",i=>i);Sd("Focus","focus","focus");Sd("Persist","persist","persist");function Sd(i,e,t){ir(e,r=>Jr(`You can't use [$${directiveName}] without first installing the "${i}" plugin here: https://alpinejs.dev/plugins/${t}`,r))}Re("modelable",(i,{expression:e},{effect:t,evaluateLater:r,cleanup:n})=>{let s=r(e),o=()=>{let c;return s(h=>c=h),c},a=r(`${e} = __placeholder`),u=c=>a(()=>{},{scope:{__placeholder:c}}),l=o();u(l),queueMicrotask(()=>{if(!i._x_model)return;i._x_removeModelListeners.default();let c=i._x_model.get,h=i._x_model.set,d=od({get(){return c()},set(f){h(f)}},{get(){return o()},set(f){u(f)}});n(d)})});var lm=document.createElement("div");Re("teleport",(i,{modifiers:e,expression:t},{cleanup:r})=>{i.tagName.toLowerCase()!=="template"&&Jr("x-teleport can only be used on a <template> tag",i);let n=Mo(()=>document.querySelector(t),()=>lm)();n||Jr(`Cannot find x-teleport element for selector: "${t}"`);let s=i.content.cloneNode(!0).firstElementChild;i._x_teleport=s,s._x_teleportBack=i,i._x_forwardEvents&&i._x_forwardEvents.forEach(o=>{s.addEventListener(o,a=>{a.stopPropagation(),i.dispatchEvent(new a.constructor(a.type,a))})}),ds(s,{},i),Ye(()=>{e.includes("prepend")?n.parentNode.insertBefore(s,n):e.includes("append")?n.parentNode.insertBefore(s,n.nextSibling):n.appendChild(s),Pr(s),s._x_ignore=!0}),r(()=>s.remove())});var Td=()=>{};Td.inline=(i,{modifiers:e},{cleanup:t})=>{e.includes("self")?i._x_ignoreSelf=!0:i._x_ignore=!0,t(()=>{e.includes("self")?delete i._x_ignoreSelf:delete i._x_ignore})};Re("ignore",Td);Re("effect",(i,{expression:e},{effect:t})=>t(lt(i,e)));function Ou(i,e,t,r){let n=i,s=u=>r(u),o={},a=(u,l)=>c=>l(u,c);if(t.includes("dot")&&(e=cm(e)),t.includes("camel")&&(e=fm(e)),t.includes("passive")&&(o.passive=!0),t.includes("capture")&&(o.capture=!0),t.includes("window")&&(n=window),t.includes("document")&&(n=document),t.includes("debounce")){let u=t[t.indexOf("debounce")+1]||"invalid-wait",l=Ao(u.split("ms")[0])?Number(u.split("ms")[0]):250;s=nd(s,l)}if(t.includes("throttle")){let u=t[t.indexOf("throttle")+1]||"invalid-wait",l=Ao(u.split("ms")[0])?Number(u.split("ms")[0]):250;s=sd(s,l)}return t.includes("prevent")&&(s=a(s,(u,l)=>{l.preventDefault(),u(l)})),t.includes("stop")&&(s=a(s,(u,l)=>{l.stopPropagation(),u(l)})),t.includes("self")&&(s=a(s,(u,l)=>{l.target===i&&u(l)})),(t.includes("away")||t.includes("outside"))&&(n=document,s=a(s,(u,l)=>{i.contains(l.target)||l.target.isConnected!==!1&&(i.offsetWidth<1&&i.offsetHeight<1||i._x_isShown!==!1&&u(l))})),t.includes("once")&&(s=a(s,(u,l)=>{u(l),n.removeEventListener(e,s,o)})),s=a(s,(u,l)=>{hm(e)&&pm(l,t)||u(l)}),n.addEventListener(e,s,o),()=>{n.removeEventListener(e,s,o)}}function cm(i){return i.replace(/-/g,".")}function fm(i){return i.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function Ao(i){return!Array.isArray(i)&&!isNaN(i)}function dm(i){return[" ","_"].includes(i)?i:i.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase()}function hm(i){return["keydown","keyup"].includes(i)}function pm(i,e){let t=e.filter(s=>!["window","document","prevent","stop","once","capture"].includes(s));if(t.includes("debounce")){let s=t.indexOf("debounce");t.splice(s,Ao((t[s+1]||"invalid-wait").split("ms")[0])?2:1)}if(t.includes("throttle")){let s=t.indexOf("throttle");t.splice(s,Ao((t[s+1]||"invalid-wait").split("ms")[0])?2:1)}if(t.length===0||t.length===1&&mf(i.key).includes(t[0]))return!1;let n=["ctrl","shift","alt","meta","cmd","super"].filter(s=>t.includes(s));return t=t.filter(s=>!n.includes(s)),!(n.length>0&&n.filter(o=>((o==="cmd"||o==="super")&&(o="meta"),i[`${o}Key`])).length===n.length&&mf(i.key).includes(t[0]))}function mf(i){if(!i)return[];i=dm(i);let e={ctrl:"control",slash:"/",space:" ",spacebar:" ",cmd:"meta",esc:"escape",up:"arrow-up",down:"arrow-down",left:"arrow-left",right:"arrow-right",period:".",equal:"=",minus:"-",underscore:"_"};return e[i]=i,Object.keys(e).map(t=>{if(e[t]===i)return t}).filter(t=>t)}Re("model",(i,{modifiers:e,expression:t},{effect:r,cleanup:n})=>{let s=i;e.includes("parent")&&(s=i.parentNode);let o=lt(s,t),a;typeof t=="string"?a=lt(s,`${t} = __placeholder`):typeof t=="function"&&typeof t()=="string"?a=lt(s,`${t()} = __placeholder`):a=()=>{};let u=()=>{let d;return o(f=>d=f),vf(d)?d.get():d},l=d=>{let f;o(_=>f=_),vf(f)?f.set(d):a(()=>{},{scope:{__placeholder:d}})};typeof t=="string"&&i.type==="radio"&&Ye(()=>{i.hasAttribute("name")||i.setAttribute("name",t)});var c=i.tagName.toLowerCase()==="select"||["checkbox","radio"].includes(i.type)||e.includes("lazy")?"change":"input";let h=ei?()=>{}:Ou(i,c,e,d=>{l(_m(i,e,d,u()))});if(e.includes("fill")&&([null,""].includes(u())||i.type==="checkbox"&&Array.isArray(u()))&&i.dispatchEvent(new Event(c,{})),i._x_removeModelListeners||(i._x_removeModelListeners={}),i._x_removeModelListeners.default=h,n(()=>i._x_removeModelListeners.default()),i.form){let d=Ou(i.form,"reset",[],f=>{Gu(()=>i._x_model&&i._x_model.set(i.value))});n(()=>d())}i._x_model={get(){return u()},set(d){l(d)}},i._x_forceModelUpdate=d=>{d===void 0&&typeof t=="string"&&t.match(/\./)&&(d=""),window.fromModel=!0,Ye(()=>ed(i,"value",d)),delete window.fromModel},r(()=>{let d=u();e.includes("unintrusive")&&document.activeElement.isSameNode(i)||i._x_forceModelUpdate(d)})});function _m(i,e,t,r){return Ye(()=>{if(t instanceof CustomEvent&&t.detail!==void 0)return t.detail??t.target.value;if(i.type==="checkbox")if(Array.isArray(r)){let n=e.includes("number")?hu(t.target.value):t.target.value;return t.target.checked?r.concat([n]):r.filter(s=>!gm(s,n))}else return t.target.checked;else{if(i.tagName.toLowerCase()==="select"&&i.multiple)return e.includes("number")?Array.from(t.target.selectedOptions).map(n=>{let s=n.value||n.text;return hu(s)}):Array.from(t.target.selectedOptions).map(n=>n.value||n.text);{let n=t.target.value;return e.includes("number")?hu(n):e.includes("trim")?n.trim():n}}})}function hu(i){let e=i?parseFloat(i):null;return mm(e)?e:i}function gm(i,e){return i==e}function mm(i){return!Array.isArray(i)&&!isNaN(i)}function vf(i){return i!==null&&typeof i=="object"&&typeof i.get=="function"&&typeof i.set=="function"}Re("cloak",i=>queueMicrotask(()=>Ye(()=>i.removeAttribute(Dn("cloak")))));Sf(()=>`[${Dn("init")}]`);Re("init",Mo((i,{expression:e},{evaluate:t})=>typeof e=="string"?!!e.trim()&&t(e,{},!1):t(e,{},!1)));Re("text",(i,{expression:e},{effect:t,evaluateLater:r})=>{let n=r(e);t(()=>{n(s=>{Ye(()=>{i.textContent=s})})})});Re("html",(i,{expression:e},{effect:t,evaluateLater:r})=>{let n=r(e);t(()=>{n(s=>{Ye(()=>{i.innerHTML=s,i._x_ignoreSelf=!0,Pr(i),delete i._x_ignoreSelf})})})});Hu(Uf(":",Xf(Dn("bind:"))));var Ad=(i,{value:e,modifiers:t,expression:r,original:n},{effect:s})=>{if(!e){let a={};y0(a),lt(i,r)(l=>{ud(i,l,n)},{scope:a});return}if(e==="key")return vm(i,r);if(i._x_inlineBindings&&i._x_inlineBindings[e]&&i._x_inlineBindings[e].extract)return;let o=lt(i,r);s(()=>o(a=>{a===void 0&&typeof r=="string"&&r.match(/\./)&&(a=""),Ye(()=>ed(i,e,a,t))}))};Ad.inline=(i,{value:e,modifiers:t,expression:r})=>{e&&(i._x_inlineBindings||(i._x_inlineBindings={}),i._x_inlineBindings[e]={expression:r,extract:!1})};Re("bind",Ad);function vm(i,e){i._x_keyExpression=e}Cf(()=>`[${Dn("data")}]`);Re("data",(i,{expression:e},{cleanup:t})=>{if(n0(i))return;e=e===""?"{}":e;let r={};Du(r,i);let n={};b0(n,r);let s=Li(i,e,{scope:n});(s===void 0||s===!0)&&(s={}),Du(s,i);let o=mn(s);Nf(o);let a=ds(i,o);o.init&&Li(i,o.init),t(()=>{o.destroy&&Li(i,o.destroy),a()})});Re("show",(i,{modifiers:e,expression:t},{effect:r})=>{let n=lt(i,t);i._x_doHide||(i._x_doHide=()=>{Ye(()=>{i.style.setProperty("display","none",e.includes("important")?"important":void 0)})}),i._x_doShow||(i._x_doShow=()=>{Ye(()=>{i.style.length===1&&i.style.display==="none"?i.removeAttribute("style"):i.style.removeProperty("display")})});let s=()=>{i._x_doHide(),i._x_isShown=!1},o=()=>{i._x_doShow(),i._x_isShown=!0},a=()=>setTimeout(o),u=Cu(h=>h?o():s(),h=>{typeof i._x_toggleAndCascadeWithTransitions=="function"?i._x_toggleAndCascadeWithTransitions(i,h,o,s):h?a():s()}),l,c=!0;r(()=>n(h=>{!c&&h===l||(e.includes("immediate")&&(h?a():s()),u(h),l=h,c=!1)}))});Re("for",(i,{expression:e},{effect:t,cleanup:r})=>{let n=ym(e),s=lt(i,n.items),o=lt(i,i._x_keyExpression||"index");i._x_prevKeys=[],i._x_lookup={},t(()=>Dm(i,n,s,o)),r(()=>{Object.values(i._x_lookup).forEach(a=>a.remove()),delete i._x_prevKeys,delete i._x_lookup})});function Dm(i,e,t,r){let n=o=>typeof o=="object"&&!Array.isArray(o),s=i;t(o=>{xm(o)&&o>=0&&(o=Array.from(Array(o).keys(),g=>g+1)),o===void 0&&(o=[]);let a=i._x_lookup,u=i._x_prevKeys,l=[],c=[];if(n(o))o=Object.entries(o).map(([g,m])=>{let v=Df(e,m,g,o);r(D=>c.push(D),{scope:{index:g,...v}}),l.push(v)});else for(let g=0;g<o.length;g++){let m=Df(e,o[g],g,o);r(v=>c.push(v),{scope:{index:g,...m}}),l.push(m)}let h=[],d=[],f=[],_=[];for(let g=0;g<u.length;g++){let m=u[g];c.indexOf(m)===-1&&f.push(m)}u=u.filter(g=>!f.includes(g));let p="template";for(let g=0;g<c.length;g++){let m=c[g],v=u.indexOf(m);if(v===-1)u.splice(g,0,m),h.push([p,g]);else if(v!==g){let D=u.splice(g,1)[0],x=u.splice(v-1,1)[0];u.splice(g,0,x),u.splice(v,0,D),d.push([D,x])}else _.push(m);p=m}for(let g=0;g<f.length;g++){let m=f[g];a[m]._x_effects&&a[m]._x_effects.forEach(yf),a[m].remove(),a[m]=null,delete a[m]}for(let g=0;g<d.length;g++){let[m,v]=d[g],D=a[m],x=a[v],E=document.createElement("div");Ye(()=>{x||Jr('x-for ":key" is undefined or invalid',s),x.after(E),D.after(x),x._x_currentIfEl&&x.after(x._x_currentIfEl),E.before(D),D._x_currentIfEl&&D.after(D._x_currentIfEl),E.remove()}),x._x_refreshXForScope(l[c.indexOf(v)])}for(let g=0;g<h.length;g++){let[m,v]=h[g],D=m==="template"?s:a[m];D._x_currentIfEl&&(D=D._x_currentIfEl);let x=l[v],E=c[v],w=document.importNode(s.content,!0).firstElementChild,b=mn(x);ds(w,b,s),w._x_refreshXForScope=C=>{Object.entries(C).forEach(([A,S])=>{b[A]=S})},Ye(()=>{D.after(w),Pr(w)}),typeof E=="object"&&Jr("x-for key cannot be an object, it must be a string or an integer",s),a[E]=w}for(let g=0;g<_.length;g++)a[_[g]]._x_refreshXForScope(l[c.indexOf(_[g])]);s._x_prevKeys=c})}function ym(i){let e=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,t=/^\s*\(|\)\s*$/g,r=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,n=i.match(r);if(!n)return;let s={};s.items=n[2].trim();let o=n[1].replace(t,"").trim(),a=o.match(e);return a?(s.item=o.replace(e,"").trim(),s.index=a[1].trim(),a[2]&&(s.collection=a[2].trim())):s.item=o,s}function Df(i,e,t,r){let n={};return/^\[.*\]$/.test(i.item)&&Array.isArray(e)?i.item.replace("[","").replace("]","").split(",").map(o=>o.trim()).forEach((o,a)=>{n[o]=e[a]}):/^\{.*\}$/.test(i.item)&&!Array.isArray(e)&&typeof e=="object"?i.item.replace("{","").replace("}","").split(",").map(o=>o.trim()).forEach(o=>{n[o]=e[o]}):n[i.item]=e,i.index&&(n[i.index]=t),i.collection&&(n[i.collection]=r),n}function xm(i){return!Array.isArray(i)&&!isNaN(i)}function Fd(){}Fd.inline=(i,{expression:e},{cleanup:t})=>{let r=Fo(i);r._x_refs||(r._x_refs={}),r._x_refs[e]=i,t(()=>delete r._x_refs[e])};Re("ref",Fd);Re("if",(i,{expression:e},{effect:t,cleanup:r})=>{let n=lt(i,e),s=()=>{if(i._x_currentIfEl)return i._x_currentIfEl;let a=i.content.cloneNode(!0).firstElementChild;return ds(a,{},i),Ye(()=>{i.after(a),Pr(a)}),i._x_currentIfEl=a,i._x_undoIf=()=>{Qr(a,u=>{u._x_effects&&u._x_effects.forEach(yf)}),a.remove(),delete i._x_currentIfEl},a},o=()=>{i._x_undoIf&&(i._x_undoIf(),delete i._x_undoIf)};t(()=>n(a=>{a?s():o()})),r(()=>i._x_undoIf&&i._x_undoIf())});Re("id",(i,{expression:e},{evaluate:t})=>{t(e).forEach(n=>um(i,n))});Hu(Uf("@",Xf(Dn("on:"))));Re("on",Mo((i,{value:e,modifiers:t,expression:r},{cleanup:n})=>{let s=r?lt(i,r):()=>{};i.tagName.toLowerCase()==="template"&&(i._x_forwardEvents||(i._x_forwardEvents=[]),i._x_forwardEvents.includes(e)||i._x_forwardEvents.push(e));let o=Ou(i,e,t,a=>{s(()=>{},{scope:{$event:a},params:[a]})});n(()=>o())}));Io("Collapse","collapse","collapse");Io("Intersect","intersect","intersect");Io("Focus","trap","focus");Io("Mask","mask","mask");function Io(i,e,t){Re(e,r=>Jr(`You can't use [x-${e}] without first installing the "${i}" plugin here: https://alpinejs.dev/plugins/${t}`,r))}ps.setEvaluator(Wf);ps.setReactivityEngine({reactive:Qu,effect:M0,release:k0,raw:me});var bm=ps,Ju=bm;function el(i){let e=[];for(let t=0;t<i.attributes.length;++t){let r=i.attributes[t];r.name.startsWith("x-")&&e.push(r)}return e}function Em(i){let e=document.createElement("template");el(i).forEach(r=>{e.setAttribute(r.name,r.value),i.removeAttribute(r.name)}),i.parentNode.insertBefore(e,i),e.content.appendChild(i)}function wm(i){el(i).forEach(t=>{let r=t.name.match(/^(x-[^:]+)(:.+)$/);if(r){let n=null;if(["x-bind","x-on"].includes(r[1])){let s=r[1],o=r[2].substring(1);s==="x-on"&&o.startsWith("update:")&&(s+=":update",o=o.substring(7)),o.includes(":")&&(n=s+":"+o.replace(/:/g,"."))}else n=r[1]+r[2].replace(/:/g,".");n&&(i.setAttribute(n,t.value),i.removeAttribute(t.name))}})}function Cm(i){el(i).forEach(t=>{t.name.match(/^x-transition.*(?!(enter|leave))/)&&i.setAttribute(t.name,"")})}function Sm(){document.querySelectorAll("[x-data],[x-data] *").forEach(i=>{wm(i),Cm(i)}),document.querySelectorAll("[x-data] [x-for], [x-data] [x-if]").forEach(Em)}function Pd(){window.Alpine=Ju,window.Webflow||(window.Webflow=[]),window.Webflow.push(()=>{Sm(),Ju.start()})}function tl(){return tl=Object.assign?Object.assign.bind():function(i){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(i[r]=t[r])}return i},tl.apply(this,arguments)}function Bo(i,e,t){return Math.max(i,Math.min(e,t))}var rl=class{advance(e){var t;if(!this.isRunning)return;let r=!1;if(this.lerp)this.value=(n=this.value,s=this.to,(1-(o=1-Math.exp(-60*this.lerp*e)))*n+o*s),Math.round(this.value)===this.to&&(this.value=this.to,r=!0);else{this.currentTime+=e;let a=Bo(0,this.currentTime/this.duration,1);r=a>=1;let u=r?1:this.easing(a);this.value=this.from+(this.to-this.from)*u}var n,s,o;(t=this.onUpdate)==null||t.call(this,this.value,r),r&&this.stop()}stop(){this.isRunning=!1}fromTo(e,t,{lerp:r=.1,duration:n=1,easing:s=u=>u,onStart:o,onUpdate:a}){this.from=this.value=e,this.to=t,this.lerp=r,this.duration=n,this.easing=s,this.currentTime=0,this.isRunning=!0,o?.(),this.onUpdate=a}},il=class{constructor({wrapper:e,content:t,autoResize:r=!0}={}){if(this.resize=()=>{this.onWrapperResize(),this.onContentResize()},this.onWrapperResize=()=>{this.wrapper===window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)},this.onContentResize=()=>{this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth},this.wrapper=e,this.content=t,r){let n=function(s,o){let a;return function(){let u=arguments,l=this;clearTimeout(a),a=setTimeout(function(){s.apply(l,u)},250)}}(this.resize);this.wrapper!==window&&(this.wrapperResizeObserver=new ResizeObserver(n),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(n),this.contentResizeObserver.observe(this.content)}this.resize()}destroy(){var e,t;(e=this.wrapperResizeObserver)==null||e.disconnect(),(t=this.contentResizeObserver)==null||t.disconnect()}get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},zo=class{constructor(){this.events={}}emit(e,...t){let r=this.events[e]||[];for(let n=0,s=r.length;n<s;n++)r[n](...t)}on(e,t){var r;return(r=this.events[e])!=null&&r.push(t)||(this.events[e]=[t]),()=>{var n;this.events[e]=(n=this.events[e])==null?void 0:n.filter(s=>t!==s)}}off(e,t){var r;this.events[e]=(r=this.events[e])==null?void 0:r.filter(n=>t!==n)}destroy(){this.events={}}},nl=class{constructor(e,{wheelMultiplier:t=1,touchMultiplier:r=2,normalizeWheel:n=!1}){this.onTouchStart=s=>{let{clientX:o,clientY:a}=s.targetTouches?s.targetTouches[0]:s;this.touchStart.x=o,this.touchStart.y=a,this.lastDelta={x:0,y:0}},this.onTouchMove=s=>{let{clientX:o,clientY:a}=s.targetTouches?s.targetTouches[0]:s,u=-(o-this.touchStart.x)*this.touchMultiplier,l=-(a-this.touchStart.y)*this.touchMultiplier;this.touchStart.x=o,this.touchStart.y=a,this.lastDelta={x:u,y:l},this.emitter.emit("scroll",{deltaX:u,deltaY:l,event:s})},this.onTouchEnd=s=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:s})},this.onWheel=s=>{let{deltaX:o,deltaY:a}=s;this.normalizeWheel&&(o=Bo(-100,o,100),a=Bo(-100,a,100)),o*=this.wheelMultiplier,a*=this.wheelMultiplier,this.emitter.emit("scroll",{deltaX:o,deltaY:a,event:s})},this.element=e,this.wheelMultiplier=t,this.touchMultiplier=r,this.normalizeWheel=n,this.touchStart={x:null,y:null},this.emitter=new zo,this.element.addEventListener("wheel",this.onWheel,{passive:!1}),this.element.addEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.addEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.addEventListener("touchend",this.onTouchEnd,{passive:!1})}on(e,t){return this.emitter.on(e,t)}destroy(){this.emitter.destroy(),this.element.removeEventListener("wheel",this.onWheel,{passive:!1}),this.element.removeEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.removeEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.removeEventListener("touchend",this.onTouchEnd,{passive:!1})}},Vo=class{constructor({wrapper:e=window,content:t=document.documentElement,wheelEventsTarget:r=e,smoothWheel:n=!0,smoothTouch:s=!1,syncTouch:o=!1,syncTouchLerp:a=.1,__iosNoInertiaSyncTouchLerp:u=.4,touchInertiaMultiplier:l=35,duration:c,easing:h=x=>Math.min(1,1.001-Math.pow(2,-10*x)),lerp:d=c&&.1,infinite:f=!1,orientation:_="vertical",gestureOrientation:p="vertical",touchMultiplier:g=1,wheelMultiplier:m=1,normalizeWheel:v=!1,autoResize:D=!0}={}){this.onVirtualScroll=({deltaX:x,deltaY:E,event:w})=>{if(w.ctrlKey)return;let b=w.type.includes("touch"),C=w.type.includes("wheel");if(this.options.gestureOrientation==="both"&&x===0&&E===0||this.options.gestureOrientation==="vertical"&&E===0||this.options.gestureOrientation==="horizontal"&&x===0||b&&this.options.gestureOrientation==="vertical"&&this.scroll===0&&!this.options.infinite&&E<=0)return;let A=w.composedPath();if(A=A.slice(0,A.indexOf(this.rootElement)),A.find(M=>{var V;return(M.hasAttribute==null?void 0:M.hasAttribute("data-lenis-prevent"))||b&&(M.hasAttribute==null?void 0:M.hasAttribute("data-lenis-prevent-touch"))||C&&(M.hasAttribute==null?void 0:M.hasAttribute("data-lenis-prevent-wheel"))||((V=M.classList)==null?void 0:V.contains("lenis"))}))return;if(this.isStopped||this.isLocked)return void w.preventDefault();if(this.isSmooth=(this.options.smoothTouch||this.options.syncTouch)&&b||this.options.smoothWheel&&C,!this.isSmooth)return this.isScrolling=!1,void this.animate.stop();w.preventDefault();let S=E;this.options.gestureOrientation==="both"?S=Math.abs(E)>Math.abs(x)?E:x:this.options.gestureOrientation==="horizontal"&&(S=x);let P=b&&this.options.syncTouch,F=b&&w.type==="touchend"&&Math.abs(S)>1;F&&(S=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+S,tl({programmatic:!1},P&&{lerp:F?this.syncTouchLerp:this.options.__iosNoInertiaSyncTouchLerp}))},this.onScroll=()=>{if(!this.isScrolling){let x=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.velocity=0,this.direction=Math.sign(this.animatedScroll-x),this.emit()}},window.lenisVersion="1.0.25",e!==document.documentElement&&e!==document.body||(e=window),this.options={wrapper:e,content:t,wheelEventsTarget:r,smoothWheel:n,smoothTouch:s,syncTouch:o,syncTouchLerp:a,__iosNoInertiaSyncTouchLerp:u,touchInertiaMultiplier:l,duration:c,easing:h,lerp:d,infinite:f,gestureOrientation:p,orientation:_,touchMultiplier:g,wheelMultiplier:m,normalizeWheel:v,autoResize:D},this.animate=new rl,this.emitter=new zo,this.dimensions=new il({wrapper:e,content:t,autoResize:D}),this.toggleClass("lenis",!0),this.velocity=0,this.isStopped=!1,this.isSmooth=n||s,this.isScrolling=!1,this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onScroll,{passive:!1}),this.virtualScroll=new nl(r,{touchMultiplier:g,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)}on(e,t){return this.emitter.on(e,t)}off(e,t){return this.emitter.off(e,t)}setScroll(e){this.isHorizontal?this.rootElement.scrollLeft=e:this.rootElement.scrollTop=e}resize(){this.dimensions.resize()}emit(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.velocity=0,this.animate.stop()}start(){this.isStopped=!1,this.reset()}stop(){this.isStopped=!0,this.animate.stop(),this.reset()}raf(e){let t=e-(this.time||e);this.time=e,this.animate.advance(.001*t)}scrollTo(e,{offset:t=0,immediate:r=!1,lock:n=!1,duration:s=this.options.duration,easing:o=this.options.easing,lerp:a=!s&&this.options.lerp,onComplete:u=null,force:l=!1,programmatic:c=!0}={}){if(!this.isStopped||l){if(["top","left","start"].includes(e))e=0;else if(["bottom","right","end"].includes(e))e=this.limit;else{var h;let d;if(typeof e=="string"?d=document.querySelector(e):(h=e)!=null&&h.nodeType&&(d=e),d){if(this.options.wrapper!==window){let _=this.options.wrapper.getBoundingClientRect();t-=this.isHorizontal?_.left:_.top}let f=d.getBoundingClientRect();e=(this.isHorizontal?f.left:f.top)+this.animatedScroll}}if(typeof e=="number"){if(e+=t,e=Math.round(e),this.options.infinite?c&&(this.targetScroll=this.animatedScroll=this.scroll):e=Bo(0,e,this.limit),r)return this.animatedScroll=this.targetScroll=e,this.setScroll(this.scroll),this.reset(),this.emit(),void(u==null||u(this));if(!c){if(e===this.targetScroll)return;this.targetScroll=e}this.animate.fromTo(this.animatedScroll,e,{duration:s,easing:o,lerp:a,onStart:()=>{n&&(this.isLocked=!0),this.isScrolling=!0},onUpdate:(d,f)=>{this.isScrolling=!0,this.velocity=d-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=d,this.setScroll(this.scroll),c&&(this.targetScroll=d),f||this.emit(),f&&requestAnimationFrame(()=>{this.isScrolling=!1,this.velocity=0,n&&(this.isLocked=!1),this.emit(),u?.(this)})}})}}}get rootElement(){return this.options.wrapper===window?this.options.content:this.options.wrapper}get limit(){return this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){return this.isHorizontal?this.rootElement.scrollLeft:this.rootElement.scrollTop}get scroll(){return this.options.infinite?(this.animatedScroll%(e=this.limit)+e)%e:this.animatedScroll;var e}get progress(){return this.limit===0?1:this.scroll/this.limit}get isSmooth(){return this.__isSmooth}set isSmooth(e){this.__isSmooth!==e&&(this.__isSmooth=e,this.toggleClass("lenis-smooth",e))}get isScrolling(){return this.__isScrolling}set isScrolling(e){this.__isScrolling!==e&&(this.__isScrolling=e,this.toggleClass("lenis-scrolling",e))}get isStopped(){return this.__isStopped}set isStopped(e){this.__isStopped!==e&&(this.__isStopped=e,this.toggleClass("lenis-stopped",e))}get className(){let e="lenis";return this.isStopped&&(e+=" lenis-stopped"),this.isScrolling&&(e+=" lenis-scrolling"),this.isSmooth&&(e+=" lenis-smooth"),e}toggleClass(e,t){this.rootElement.classList.toggle(e,t),this.emitter.emit("className change",this)}};function Or(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function Bd(i,e){i.prototype=Object.create(e.prototype),i.prototype.constructor=i,i.__proto__=e}var wt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},xn={duration:.5,overwrite:!1,delay:0},El,it,Te,Vt=1e8,_e=1/Vt,dl=Math.PI*2,Tm=dl/4,Am=0,zd=Math.sqrt,Fm=Math.cos,Pm=Math.sin,Ve=function(e){return typeof e=="string"},Ae=function(e){return typeof e=="function"},kr=function(e){return typeof e=="number"},Zo=function(e){return typeof e>"u"},mr=function(e){return typeof e=="object"},Et=function(e){return e!==!1},wl=function(){return typeof window<"u"},Wo=function(e){return Ae(e)||Ve(e)},Vd=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},nt=Array.isArray,hl=/(?:-?\.?\d|\.)+/gi,Cl=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Wi=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,sl=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Sl=/[+-]=-?[.\d]+/,Wd=/[^,'"\[\]\s]+/gi,Om=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,xe,zt,pl,Tl,kt={},Uo={},Hd,Yd=function(e){return(Uo=Vi(e,kt))&&st},Qo=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},Xo=function(e,t){return!t&&console.warn(e)},Gd=function(e,t){return e&&(kt[e]=t)&&Uo&&(Uo[e]=t)||kt},ys=function(){return 0},Mm={suppressEvents:!0,isStart:!0,kill:!1},Ho={suppressEvents:!0,kill:!1},km={suppressEvents:!0},Al={},ii=[],_l={},Ud,xt={},ol={},Od=30,Yo=[],Fl="",Pl=function(e){var t=e[0],r,n;if(mr(t)||Ae(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(n=Yo.length;n--&&!Yo[n].targetTest(t););r=Yo[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new kl(e[n],r)))||e.splice(n,1);return e},ni=function(e){return e._gsap||Pl(Wt(e))[0]._gsap},Ol=function(e,t,r){return(r=e[t])&&Ae(r)?e[t]():Zo(r)&&e.getAttribute&&e.getAttribute(t)||r},ct=function(e,t){return(e=e.split(",")).forEach(t)||e},Fe=function(e){return Math.round(e*1e5)/1e5||0},$e=function(e){return Math.round(e*1e7)/1e7||0},Hi=function(e,t){var r=t.charAt(0),n=parseFloat(t.substr(2));return e=parseFloat(e),r==="+"?e+n:r==="-"?e-n:r==="*"?e*n:e/n},Lm=function(e,t){for(var r=t.length,n=0;e.indexOf(t[n])<0&&++n<r;);return n<r},qo=function(){var e=ii.length,t=ii.slice(0),r,n;for(_l={},ii.length=0,r=0;r<e;r++)n=t[r],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},Xd=function(e,t,r,n){ii.length&&!it&&qo(),e.render(t,r,n||it&&t<0&&(e._initted||e._startAt)),ii.length&&!it&&qo()},qd=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(Wd).length<2?t:Ve(e)?e.trim():e},jd=function(e){return e},Yt=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},Rm=function(e){return function(t,r){for(var n in r)n in t||n==="duration"&&e||n==="ease"||(t[n]=r[n])}},Vi=function(e,t){for(var r in t)e[r]=t[r];return e},Md=function i(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=mr(t[r])?i(e[r]||(e[r]={}),t[r]):t[r]);return e},jo=function(e,t){var r={},n;for(n in e)n in t||(r[n]=e[n]);return r},ms=function(e){var t=e.parent||xe,r=e.keyframes?Rm(nt(e.keyframes)):Yt;if(Et(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},Nm=function(e,t){for(var r=e.length,n=r===t.length;n&&r--&&e[r]===t[r];);return r<0},$d=function(e,t,r,n,s){r===void 0&&(r="_first"),n===void 0&&(n="_last");var o=e[n],a;if(s)for(a=t[s];o&&o[s]>a;)o=o._prev;return o?(t._next=o._next,o._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[n]=t,t._prev=o,t.parent=t._dp=e,t},Jo=function(e,t,r,n){r===void 0&&(r="_first"),n===void 0&&(n="_last");var s=t._prev,o=t._next;s?s._next=o:e[r]===t&&(e[r]=o),o?o._prev=s:e[n]===t&&(e[n]=s),t._next=t._prev=t.parent=null},si=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Ii=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},Im=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},gl=function(e,t,r,n){return e._startAt&&(it?e._startAt.revert(Ho):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))},Bm=function i(e){return!e||e._ts&&i(e.parent)},kd=function(e){return e._repeat?bn(e._tTime,e=e.duration()+e._rDelay)*e:0},bn=function(e,t){var r=Math.floor(e/=t);return e&&r===e?r-1:r},$o=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},ea=function(e){return e._end=$e(e._start+(e._tDur/Math.abs(e._ts||e._rts||_e)||0))},ta=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=$e(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),ea(e),r._dirty||Ii(r,e)),e},Kd=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=$o(e.rawTime(),t),(!t._dur||Es(0,t.totalDuration(),r)-t._tTime>_e)&&t.render(r,!0)),Ii(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-_e}},gr=function(e,t,r,n){return t.parent&&si(t),t._start=$e((kr(r)?r:r||e!==xe?Bt(e,r,t):e._time)+t._delay),t._end=$e(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),$d(e,t,"_first","_last",e._sort?"_start":0),ml(t)||(e._recent=t),n||Kd(e,t),e._ts<0&&ta(e,e._tTime),e},Zd=function(e,t){return(kt.ScrollTrigger||Qo("scrollTrigger",t))&&kt.ScrollTrigger.create(t,e)},Qd=function(e,t,r,n,s){if(Nl(e,t,s),!e._initted)return 1;if(!r&&e._pt&&!it&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Ud!==bt.frame)return ii.push(e),e._lazy=[s,n],1},zm=function i(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||i(t))},ml=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},Vm=function(e,t,r,n){var s=e.ratio,o=t<0||!t&&(!e._start&&zm(e)&&!(!e._initted&&ml(e))||(e._ts<0||e._dp._ts<0)&&!ml(e))?0:1,a=e._rDelay,u=0,l,c,h;if(a&&e._repeat&&(u=Es(0,e._tDur,t),c=bn(u,a),e._yoyo&&c&1&&(o=1-o),c!==bn(e._tTime,a)&&(s=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==s||it||n||e._zTime===_e||!t&&e._zTime){if(!e._initted&&Qd(e,t,n,r,u))return;for(h=e._zTime,e._zTime=t||(r?_e:0),r||(r=t&&!h),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=u,l=e._pt;l;)l.r(o,l.d),l=l._next;t<0&&gl(e,t,r,!0),e._onUpdate&&!r&&Ht(e,"onUpdate"),u&&e._repeat&&!r&&e.parent&&Ht(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===o&&(o&&si(e,1),!r&&!it&&(Ht(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},Wm=function(e,t,r){var n;if(r>t)for(n=e._first;n&&n._start<=r;){if(n.data==="isPause"&&n._start>t)return n;n=n._next}else for(n=e._last;n&&n._start>=r;){if(n.data==="isPause"&&n._start<t)return n;n=n._prev}},En=function(e,t,r,n){var s=e._repeat,o=$e(t)||0,a=e._tTime/e._tDur;return a&&!n&&(e._time*=o/e._dur),e._dur=o,e._tDur=s?s<0?1e10:$e(o*(s+1)+e._rDelay*s):o,a>0&&!n&&ta(e,e._tTime=e._tDur*a),e.parent&&ea(e),r||Ii(e.parent,e),e},Ld=function(e){return e instanceof rt?Ii(e):En(e,e._dur)},Hm={_start:0,endTime:ys,totalDuration:ys},Bt=function i(e,t,r){var n=e.labels,s=e._recent||Hm,o=e.duration()>=Vt?s.endTime(!1):e._dur,a,u,l;return Ve(t)&&(isNaN(t)||t in n)?(u=t.charAt(0),l=t.substr(-1)==="%",a=t.indexOf("="),u==="<"||u===">"?(a>=0&&(t=t.replace(/=/,"")),(u==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(t.substr(1))||0)*(l?(a<0?s:r).totalDuration()/100:1)):a<0?(t in n||(n[t]=o),n[t]):(u=parseFloat(t.charAt(a-1)+t.substr(a+1)),l&&r&&(u=u/100*(nt(r)?r[0]:r).totalDuration()),a>1?i(e,t.substr(0,a-1),r)+u:o+u)):t==null?o:+t},vs=function(e,t,r){var n=kr(t[1]),s=(n?2:1)+(e<2?0:1),o=t[s],a,u;if(n&&(o.duration=t[1]),o.parent=r,e){for(a=o,u=r;u&&!("immediateRender"in a);)a=u.vars.defaults||{},u=Et(u.vars.inherit)&&u.parent;o.immediateRender=Et(a.immediateRender),e<2?o.runBackwards=1:o.startAt=t[s-1]}return new Me(t[0],o,t[s+1])},oi=function(e,t){return e||e===0?t(e):t},Es=function(e,t,r){return r<e?e:r>t?t:r},Ke=function(e,t){return!Ve(e)||!(t=Om.exec(e))?"":t[1]},Ym=function(e,t,r){return oi(r,function(n){return Es(e,t,n)})},vl=[].slice,Jd=function(e,t){return e&&mr(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&mr(e[0]))&&!e.nodeType&&e!==zt},Gm=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(n){var s;return Ve(n)&&!t||Jd(n,1)?(s=r).push.apply(s,Wt(n)):r.push(n)})||r},Wt=function(e,t,r){return Te&&!t&&Te.selector?Te.selector(e):Ve(e)&&!r&&(pl||!wn())?vl.call((t||Tl).querySelectorAll(e),0):nt(e)?Gm(e,r):Jd(e)?vl.call(e,0):e?[e]:[]},Dl=function(e){return e=Wt(e)[0]||Xo("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return Wt(t,r.querySelectorAll?r:r===e?Xo("Invalid scope")||Tl.createElement("div"):e)}},eh=function(e){return e.sort(function(){return .5-Math.random()})},th=function(e){if(Ae(e))return e;var t=mr(e)?e:{each:e},r=Bi(t.ease),n=t.from||0,s=parseFloat(t.base)||0,o={},a=n>0&&n<1,u=isNaN(n)||a,l=t.axis,c=n,h=n;return Ve(n)?c=h={center:.5,edges:.5,end:1}[n]||0:!a&&u&&(c=n[0],h=n[1]),function(d,f,_){var p=(_||t).length,g=o[p],m,v,D,x,E,w,b,C,A;if(!g){if(A=t.grid==="auto"?0:(t.grid||[1,Vt])[1],!A){for(b=-Vt;b<(b=_[A++].getBoundingClientRect().left)&&A<p;);A--}for(g=o[p]=[],m=u?Math.min(A,p)*c-.5:n%A,v=A===Vt?0:u?p*h/A-.5:n/A|0,b=0,C=Vt,w=0;w<p;w++)D=w%A-m,x=v-(w/A|0),g[w]=E=l?Math.abs(l==="y"?x:D):zd(D*D+x*x),E>b&&(b=E),E<C&&(C=E);n==="random"&&eh(g),g.max=b-C,g.min=C,g.v=p=(parseFloat(t.amount)||parseFloat(t.each)*(A>p?p-1:l?l==="y"?p/A:A:Math.max(A,p/A))||0)*(n==="edges"?-1:1),g.b=p<0?s-p:s,g.u=Ke(t.amount||t.each)||0,r=r&&p<0?ch(r):r}return p=(g[d]-g.min)/g.max||0,$e(g.b+(r?r(p):p)*g.v)+g.u}},yl=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var n=$e(Math.round(parseFloat(r)/e)*e*t);return(n-n%1)/t+(kr(r)?0:Ke(r))}},rh=function(e,t){var r=nt(e),n,s;return!r&&mr(e)&&(n=r=e.radius||Vt,e.values?(e=Wt(e.values),(s=!kr(e[0]))&&(n*=n)):e=yl(e.increment)),oi(t,r?Ae(e)?function(o){return s=e(o),Math.abs(s-o)<=n?s:o}:function(o){for(var a=parseFloat(s?o.x:o),u=parseFloat(s?o.y:0),l=Vt,c=0,h=e.length,d,f;h--;)s?(d=e[h].x-a,f=e[h].y-u,d=d*d+f*f):d=Math.abs(e[h]-a),d<l&&(l=d,c=h);return c=!n||l<=n?e[c]:o,s||c===o||kr(o)?c:c+Ke(o)}:yl(e))},ih=function(e,t,r,n){return oi(nt(e)?!t:r===!0?!!(r=0):!n,function(){return nt(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(n=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(t-e+r*.99))/r)*r*n)/n})},Um=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return t.reduce(function(s,o){return o(s)},n)}},Xm=function(e,t){return function(r){return e(parseFloat(r))+(t||Ke(r))}},qm=function(e,t,r){return sh(e,t,0,1,r)},nh=function(e,t,r){return oi(r,function(n){return e[~~t(n)]})},jm=function i(e,t,r){var n=t-e;return nt(e)?nh(e,i(0,e.length),t):oi(r,function(s){return(n+(s-e)%n)%n+e})},$m=function i(e,t,r){var n=t-e,s=n*2;return nt(e)?nh(e,i(0,e.length-1),t):oi(r,function(o){return o=(s+(o-e)%s)%s||0,e+(o>n?s-o:o)})},Cn=function(e){for(var t=0,r="",n,s,o,a;~(n=e.indexOf("random(",t));)o=e.indexOf(")",n),a=e.charAt(n+7)==="[",s=e.substr(n+7,o-n-7).match(a?Wd:hl),r+=e.substr(t,n-t)+ih(a?s:+s[0],a?0:+s[1],+s[2]||1e-5),t=o+1;return r+e.substr(t,e.length-t)},sh=function(e,t,r,n,s){var o=t-e,a=n-r;return oi(s,function(u){return r+((u-e)/o*a||0)})},Km=function i(e,t,r,n){var s=isNaN(e+t)?0:function(f){return(1-f)*e+f*t};if(!s){var o=Ve(e),a={},u,l,c,h,d;if(r===!0&&(n=1)&&(r=null),o)e={p:e},t={p:t};else if(nt(e)&&!nt(t)){for(c=[],h=e.length,d=h-2,l=1;l<h;l++)c.push(i(e[l-1],e[l]));h--,s=function(_){_*=h;var p=Math.min(d,~~_);return c[p](_-p)},r=t}else n||(e=Vi(nt(e)?[]:{},e));if(!c){for(u in t)Ll.call(a,e,u,"get",t[u]);s=function(_){return zl(_,a)||(o?e.p:e)}}}return oi(r,s)},Rd=function(e,t,r){var n=e.labels,s=Vt,o,a,u;for(o in n)a=n[o]-t,a<0==!!r&&a&&s>(a=Math.abs(a))&&(u=o,s=a);return u},Ht=function(e,t,r){var n=e.vars,s=n[t],o=Te,a=e._ctx,u,l,c;if(s)return u=n[t+"Params"],l=n.callbackScope||e,r&&ii.length&&qo(),a&&(Te=a),c=u?s.apply(l,u):s.call(l),Te=o,c},_s=function(e){return si(e),e.scrollTrigger&&e.scrollTrigger.kill(!!it),e.progress()<1&&Ht(e,"onInterrupt"),e},yn,oh=[],ah=function(e){if(wl()&&e){e=!e.name&&e.default||e;var t=e.name,r=Ae(e),n=t&&!r&&e.init?function(){this._props=[]}:e,s={init:ys,render:zl,add:Ll,kill:dv,modifier:fv,rawVars:0},o={targetTest:0,get:0,getSetter:ra,aliases:{},register:0};if(wn(),e!==n){if(xt[t])return;Yt(n,Yt(jo(e,s),o)),Vi(n.prototype,Vi(s,jo(e,o))),xt[n.prop=t]=n,e.targetTest&&(Yo.push(n),Al[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}Gd(t,n),e.register&&e.register(st,n,ft)}else e&&oh.push(e)},pe=255,gs={aqua:[0,pe,pe],lime:[0,pe,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,pe],navy:[0,0,128],white:[pe,pe,pe],olive:[128,128,0],yellow:[pe,pe,0],orange:[pe,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[pe,0,0],pink:[pe,192,203],cyan:[0,pe,pe],transparent:[pe,pe,pe,0]},al=function(e,t,r){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(r-t)*e*6:e<.5?r:e*3<2?t+(r-t)*(2/3-e)*6:t)*pe+.5|0},uh=function(e,t,r){var n=e?kr(e)?[e>>16,e>>8&pe,e&pe]:0:gs.black,s,o,a,u,l,c,h,d,f,_;if(!n){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),gs[e])n=gs[e];else if(e.charAt(0)==="#"){if(e.length<6&&(s=e.charAt(1),o=e.charAt(2),a=e.charAt(3),e="#"+s+s+o+o+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return n=parseInt(e.substr(1,6),16),[n>>16,n>>8&pe,n&pe,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),n=[e>>16,e>>8&pe,e&pe]}else if(e.substr(0,3)==="hsl"){if(n=_=e.match(hl),!t)u=+n[0]%360/360,l=+n[1]/100,c=+n[2]/100,o=c<=.5?c*(l+1):c+l-c*l,s=c*2-o,n.length>3&&(n[3]*=1),n[0]=al(u+1/3,s,o),n[1]=al(u,s,o),n[2]=al(u-1/3,s,o);else if(~e.indexOf("="))return n=e.match(Cl),r&&n.length<4&&(n[3]=1),n}else n=e.match(hl)||gs.transparent;n=n.map(Number)}return t&&!_&&(s=n[0]/pe,o=n[1]/pe,a=n[2]/pe,h=Math.max(s,o,a),d=Math.min(s,o,a),c=(h+d)/2,h===d?u=l=0:(f=h-d,l=c>.5?f/(2-h-d):f/(h+d),u=h===s?(o-a)/f+(o<a?6:0):h===o?(a-s)/f+2:(s-o)/f+4,u*=60),n[0]=~~(u+.5),n[1]=~~(l*100+.5),n[2]=~~(c*100+.5)),r&&n.length<4&&(n[3]=1),n},lh=function(e){var t=[],r=[],n=-1;return e.split(Mr).forEach(function(s){var o=s.match(Wi)||[];t.push.apply(t,o),r.push(n+=o.length+1)}),t.c=r,t},Nd=function(e,t,r){var n="",s=(e+n).match(Mr),o=t?"hsla(":"rgba(",a=0,u,l,c,h;if(!s)return e;if(s=s.map(function(d){return(d=uh(d,t,1))&&o+(t?d[0]+","+d[1]+"%,"+d[2]+"%,"+d[3]:d.join(","))+")"}),r&&(c=lh(e),u=r.c,u.join(n)!==c.c.join(n)))for(l=e.replace(Mr,"1").split(Wi),h=l.length-1;a<h;a++)n+=l[a]+(~u.indexOf(a)?s.shift()||o+"0,0,0,0)":(c.length?c:s.length?s:r).shift());if(!l)for(l=e.split(Mr),h=l.length-1;a<h;a++)n+=l[a]+s[a];return n+l[h]},Mr=function(){var i="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in gs)i+="|"+e+"\\b";return new RegExp(i+")","gi")}(),Zm=/hsl[a]?\(/,Ml=function(e){var t=e.join(" "),r;if(Mr.lastIndex=0,Mr.test(t))return r=Zm.test(t),e[1]=Nd(e[1],r),e[0]=Nd(e[0],r,lh(e[1])),!0},xs,bt=function(){var i=Date.now,e=500,t=33,r=i(),n=r,s=1e3/240,o=s,a=[],u,l,c,h,d,f,_=function p(g){var m=i()-n,v=g===!0,D,x,E,w;if(m>e&&(r+=m-t),n+=m,E=n-r,D=E-o,(D>0||v)&&(w=++h.frame,d=E-h.time*1e3,h.time=E=E/1e3,o+=D+(D>=s?4:s-D),x=1),v||(u=l(p)),x)for(f=0;f<a.length;f++)a[f](E,d,w,g)};return h={time:0,frame:0,tick:function(){_(!0)},deltaRatio:function(g){return d/(1e3/(g||60))},wake:function(){Hd&&(!pl&&wl()&&(zt=pl=window,Tl=zt.document||{},kt.gsap=st,(zt.gsapVersions||(zt.gsapVersions=[])).push(st.version),Yd(Uo||zt.GreenSockGlobals||!zt.gsap&&zt||{}),c=zt.requestAnimationFrame,oh.forEach(ah)),u&&h.sleep(),l=c||function(g){return setTimeout(g,o-h.time*1e3+1|0)},xs=1,_(2))},sleep:function(){(c?zt.cancelAnimationFrame:clearTimeout)(u),xs=0,l=ys},lagSmoothing:function(g,m){e=g||1/0,t=Math.min(m||33,e)},fps:function(g){s=1e3/(g||240),o=h.time*1e3+s},add:function(g,m,v){var D=m?function(x,E,w,b){g(x,E,w,b),h.remove(D)}:g;return h.remove(g),a[v?"unshift":"push"](D),wn(),D},remove:function(g,m){~(m=a.indexOf(g))&&a.splice(m,1)&&f>=m&&f--},_listeners:a},h}(),wn=function(){return!xs&&bt.wake()},se={},Qm=/^[\d.\-M][\d.\-,\s]/,Jm=/["']/g,ev=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),n=r[0],s=1,o=r.length,a,u,l;s<o;s++)u=r[s],a=s!==o-1?u.lastIndexOf(","):u.length,l=u.substr(0,a),t[n]=isNaN(l)?l.replace(Jm,"").trim():+l,n=u.substr(a+1).trim();return t},tv=function(e){var t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.indexOf("(",t);return e.substring(t,~n&&n<r?e.indexOf(")",r+1):r)},rv=function(e){var t=(e+"").split("("),r=se[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[ev(t[1])]:tv(e).split(",").map(qd)):se._CE&&Qm.test(e)?se._CE("",e):r},ch=function(e){return function(t){return 1-e(1-t)}},fh=function i(e,t){for(var r=e._first,n;r;)r instanceof rt?i(r,t):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==t&&(r.timeline?i(r.timeline,t):(n=r._ease,r._ease=r._yEase,r._yEase=n,r._yoyo=t)),r=r._next},Bi=function(e,t){return e&&(Ae(e)?e:se[e]||rv(e))||t},Yi=function(e,t,r,n){r===void 0&&(r=function(u){return 1-t(1-u)}),n===void 0&&(n=function(u){return u<.5?t(u*2)/2:1-t((1-u)*2)/2});var s={easeIn:t,easeOut:r,easeInOut:n},o;return ct(e,function(a){se[a]=kt[a]=s,se[o=a.toLowerCase()]=r;for(var u in s)se[o+(u==="easeIn"?".in":u==="easeOut"?".out":".inOut")]=se[a+"."+u]=s[u]}),s},dh=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},ul=function i(e,t,r){var n=t>=1?t:1,s=(r||(e?.3:.45))/(t<1?t:1),o=s/dl*(Math.asin(1/n)||0),a=function(c){return c===1?1:n*Math.pow(2,-10*c)*Pm((c-o)*s)+1},u=e==="out"?a:e==="in"?function(l){return 1-a(1-l)}:dh(a);return s=dl/s,u.config=function(l,c){return i(e,l,c)},u},ll=function i(e,t){t===void 0&&(t=1.70158);var r=function(o){return o?--o*o*((t+1)*o+t)+1:0},n=e==="out"?r:e==="in"?function(s){return 1-r(1-s)}:dh(r);return n.config=function(s){return i(e,s)},n};ct("Linear,Quad,Cubic,Quart,Quint,Strong",function(i,e){var t=e<5?e+1:e;Yi(i+",Power"+(t-1),e?function(r){return Math.pow(r,t)}:function(r){return r},function(r){return 1-Math.pow(1-r,t)},function(r){return r<.5?Math.pow(r*2,t)/2:1-Math.pow((1-r)*2,t)/2})});se.Linear.easeNone=se.none=se.Linear.easeIn;Yi("Elastic",ul("in"),ul("out"),ul());(function(i,e){var t=1/e,r=2*t,n=2.5*t,s=function(a){return a<t?i*a*a:a<r?i*Math.pow(a-1.5/e,2)+.75:a<n?i*(a-=2.25/e)*a+.9375:i*Math.pow(a-2.625/e,2)+.984375};Yi("Bounce",function(o){return 1-s(1-o)},s)})(7.5625,2.75);Yi("Expo",function(i){return i?Math.pow(2,10*(i-1)):0});Yi("Circ",function(i){return-(zd(1-i*i)-1)});Yi("Sine",function(i){return i===1?1:-Fm(i*Tm)+1});Yi("Back",ll("in"),ll("out"),ll());se.SteppedEase=se.steps=kt.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,n=e+(t?0:1),s=t?1:0,o=1-_e;return function(a){return((n*Es(0,o,a)|0)+s)*r}}};xn.ease=se["quad.out"];ct("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(i){return Fl+=i+","+i+"Params,"});var kl=function(e,t){this.id=Am++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:Ol,this.set=t?t.getSetter:ra},bs=function(){function i(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,En(this,+t.duration,1,1),this.data=t.data,Te&&(this._ctx=Te,Te.data.push(this)),xs||bt.wake()}var e=i.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,En(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,n){if(wn(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(ta(this,r),!s._dp||s.parent||Kd(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)&&gr(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!n||this._initted&&Math.abs(this._zTime)===_e||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),Xd(this,r,n)),this},e.time=function(r,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+kd(this))%(this._dur+this._rDelay)||(r?this._dur:0),n):this._time},e.totalProgress=function(r,n){return arguments.length?this.totalTime(this.totalDuration()*r,n):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},e.progress=function(r,n){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+kd(this),n):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(r,n){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*s,n):this._repeat?bn(this._tTime,s)+1:1},e.timeScale=function(r){if(!arguments.length)return this._rts===-_e?0:this._rts;if(this._rts===r)return this;var n=this.parent&&this._ts?$o(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-_e?0:this._rts,this.totalTime(Es(-Math.abs(this._delay),this._tDur,n),!0),ea(this),Im(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(wn(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==_e&&(this._tTime-=_e)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var n=this.parent||this._dp;return n&&(n._sort||!this.parent)&&gr(n,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(Et(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var n=this.parent||this._dp;return n?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?$o(n.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=km);var n=it;return it=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),it=n,this},e.globalTime=function(r){for(var n=this,s=arguments.length?r:n.rawTime();n;)s=n._start+s/(n._ts||1),n=n._dp;return!this.parent&&this._sat?this._sat.vars.immediateRender?-1/0:this._sat.globalTime(r):s},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,Ld(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var n=this._time;return this._rDelay=r,Ld(this),n?this.time(n):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,n){return this.totalTime(Bt(this,r),Et(n))},e.restart=function(r,n){return this.play().totalTime(r?-this._delay:0,Et(n))},e.play=function(r,n){return r!=null&&this.seek(r,n),this.reversed(!1).paused(!1)},e.reverse=function(r,n){return r!=null&&this.seek(r||this.totalDuration(),n),this.reversed(!0).paused(!1)},e.pause=function(r,n){return r!=null&&this.seek(r,n),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-_e:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-_e,this},e.isActive=function(){var r=this.parent||this._dp,n=this._start,s;return!!(!r||this._ts&&this._initted&&r.isActive()&&(s=r.rawTime(!0))>=n&&s<this.endTime(!0)-_e)},e.eventCallback=function(r,n,s){var o=this.vars;return arguments.length>1?(n?(o[r]=n,s&&(o[r+"Params"]=s),r==="onUpdate"&&(this._onUpdate=n)):delete o[r],this):o[r]},e.then=function(r){var n=this;return new Promise(function(s){var o=Ae(r)?r:jd,a=function(){var l=n.then;n.then=null,Ae(o)&&(o=o(n))&&(o.then||o===n)&&(n.then=l),s(o),n.then=l};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?a():n._prom=a})},e.kill=function(){_s(this)},i}();Yt(bs.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-_e,_prom:0,_ps:!1,_rts:1});var rt=function(i){Bd(e,i);function e(r,n){var s;return r===void 0&&(r={}),s=i.call(this,r)||this,s.labels={},s.smoothChildTiming=!!r.smoothChildTiming,s.autoRemoveChildren=!!r.autoRemoveChildren,s._sort=Et(r.sortChildren),xe&&gr(r.parent||xe,Or(s),n),r.reversed&&s.reverse(),r.paused&&s.paused(!0),r.scrollTrigger&&Zd(Or(s),r.scrollTrigger),s}var t=e.prototype;return t.to=function(n,s,o){return vs(0,arguments,this),this},t.from=function(n,s,o){return vs(1,arguments,this),this},t.fromTo=function(n,s,o,a){return vs(2,arguments,this),this},t.set=function(n,s,o){return s.duration=0,s.parent=this,ms(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new Me(n,s,Bt(this,o),1),this},t.call=function(n,s,o){return gr(this,Me.delayedCall(0,n,s),o)},t.staggerTo=function(n,s,o,a,u,l,c){return o.duration=s,o.stagger=o.stagger||a,o.onComplete=l,o.onCompleteParams=c,o.parent=this,new Me(n,o,Bt(this,u)),this},t.staggerFrom=function(n,s,o,a,u,l,c){return o.runBackwards=1,ms(o).immediateRender=Et(o.immediateRender),this.staggerTo(n,s,o,a,u,l,c)},t.staggerFromTo=function(n,s,o,a,u,l,c,h){return a.startAt=o,ms(a).immediateRender=Et(a.immediateRender),this.staggerTo(n,s,a,u,l,c,h)},t.render=function(n,s,o){var a=this._time,u=this._dirty?this.totalDuration():this._tDur,l=this._dur,c=n<=0?0:$e(n),h=this._zTime<0!=n<0&&(this._initted||!l),d,f,_,p,g,m,v,D,x,E,w,b;if(this!==xe&&c>u&&n>=0&&(c=u),c!==this._tTime||o||h){if(a!==this._time&&l&&(c+=this._time-a,n+=this._time-a),d=c,x=this._start,D=this._ts,m=!D,h&&(l||(a=this._zTime),(n||!s)&&(this._zTime=n)),this._repeat){if(w=this._yoyo,g=l+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(g*100+n,s,o);if(d=$e(c%g),c===u?(p=this._repeat,d=l):(p=~~(c/g),p&&p===c/g&&(d=l,p--),d>l&&(d=l)),E=bn(this._tTime,g),!a&&this._tTime&&E!==p&&this._tTime-E*g-this._dur<=0&&(E=p),w&&p&1&&(d=l-d,b=1),p!==E&&!this._lock){var C=w&&E&1,A=C===(w&&p&1);if(p<E&&(C=!C),a=C?0:c%l?l:c,this._lock=1,this.render(a||(b?0:$e(p*g)),s,!l)._lock=0,this._tTime=c,!s&&this.parent&&Ht(this,"onRepeat"),this.vars.repeatRefresh&&!b&&(this.invalidate()._lock=1),a&&a!==this._time||m!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(l=this._dur,u=this._tDur,A&&(this._lock=2,a=C?l:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!b&&this.invalidate()),this._lock=0,!this._ts&&!m)return this;fh(this,b)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=Wm(this,$e(a),$e(d)),v&&(c-=d-(d=v._start))),this._tTime=c,this._time=d,this._act=!D,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,a=0),!a&&d&&!s&&!p&&(Ht(this,"onStart"),this._tTime!==c))return this;if(d>=a&&n>=0)for(f=this._first;f;){if(_=f._next,(f._act||d>=f._start)&&f._ts&&v!==f){if(f.parent!==this)return this.render(n,s,o);if(f.render(f._ts>0?(d-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(d-f._start)*f._ts,s,o),d!==this._time||!this._ts&&!m){v=0,_&&(c+=this._zTime=-_e);break}}f=_}else{f=this._last;for(var S=n<0?n:d;f;){if(_=f._prev,(f._act||S<=f._end)&&f._ts&&v!==f){if(f.parent!==this)return this.render(n,s,o);if(f.render(f._ts>0?(S-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(S-f._start)*f._ts,s,o||it&&(f._initted||f._startAt)),d!==this._time||!this._ts&&!m){v=0,_&&(c+=this._zTime=S?-_e:_e);break}}f=_}}if(v&&!s&&(this.pause(),v.render(d>=a?0:-_e)._zTime=d>=a?1:-1,this._ts))return this._start=x,ea(this),this.render(n,s,o);this._onUpdate&&!s&&Ht(this,"onUpdate",!0),(c===u&&this._tTime>=this.totalDuration()||!c&&a)&&(x===this._start||Math.abs(D)!==Math.abs(this._ts))&&(this._lock||((n||!l)&&(c===u&&this._ts>0||!c&&this._ts<0)&&si(this,1),!s&&!(n<0&&!a)&&(c||a||!u)&&(Ht(this,c===u&&n>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c<u&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(n,s){var o=this;if(kr(s)||(s=Bt(this,s,n)),!(n instanceof bs)){if(nt(n))return n.forEach(function(a){return o.add(a,s)}),this;if(Ve(n))return this.addLabel(n,s);if(Ae(n))n=Me.delayedCall(0,n);else return this}return this!==n?gr(this,n,s):this},t.getChildren=function(n,s,o,a){n===void 0&&(n=!0),s===void 0&&(s=!0),o===void 0&&(o=!0),a===void 0&&(a=-Vt);for(var u=[],l=this._first;l;)l._start>=a&&(l instanceof Me?s&&u.push(l):(o&&u.push(l),n&&u.push.apply(u,l.getChildren(!0,s,o)))),l=l._next;return u},t.getById=function(n){for(var s=this.getChildren(1,1,1),o=s.length;o--;)if(s[o].vars.id===n)return s[o]},t.remove=function(n){return Ve(n)?this.removeLabel(n):Ae(n)?this.killTweensOf(n):(Jo(this,n),n===this._recent&&(this._recent=this._last),Ii(this))},t.totalTime=function(n,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=$e(bt.time-(this._ts>0?n/this._ts:(this.totalDuration()-n)/-this._ts))),i.prototype.totalTime.call(this,n,s),this._forcing=0,this):this._tTime},t.addLabel=function(n,s){return this.labels[n]=Bt(this,s),this},t.removeLabel=function(n){return delete this.labels[n],this},t.addPause=function(n,s,o){var a=Me.delayedCall(0,s||ys,o);return a.data="isPause",this._hasPause=1,gr(this,a,Bt(this,n))},t.removePause=function(n){var s=this._first;for(n=Bt(this,n);s;)s._start===n&&s.data==="isPause"&&si(s),s=s._next},t.killTweensOf=function(n,s,o){for(var a=this.getTweensOf(n,o),u=a.length;u--;)ri!==a[u]&&a[u].kill(n,s);return this},t.getTweensOf=function(n,s){for(var o=[],a=Wt(n),u=this._first,l=kr(s),c;u;)u instanceof Me?Lm(u._targets,a)&&(l?(!ri||u._initted&&u._ts)&&u.globalTime(0)<=s&&u.globalTime(u.totalDuration())>s:!s||u.isActive())&&o.push(u):(c=u.getTweensOf(a,s)).length&&o.push.apply(o,c),u=u._next;return o},t.tweenTo=function(n,s){s=s||{};var o=this,a=Bt(o,n),u=s,l=u.startAt,c=u.onStart,h=u.onStartParams,d=u.immediateRender,f,_=Me.to(o,Yt({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:s.duration||Math.abs((a-(l&&"time"in l?l.time:o._time))/o.timeScale())||_e,onStart:function(){if(o.pause(),!f){var g=s.duration||Math.abs((a-(l&&"time"in l?l.time:o._time))/o.timeScale());_._dur!==g&&En(_,g,0,1).render(_._time,!0,!0),f=1}c&&c.apply(_,h||[])}},s));return d?_.render(0):_},t.tweenFromTo=function(n,s,o){return this.tweenTo(s,Yt({startAt:{time:Bt(this,n)}},o))},t.recent=function(){return this._recent},t.nextLabel=function(n){return n===void 0&&(n=this._time),Rd(this,Bt(this,n))},t.previousLabel=function(n){return n===void 0&&(n=this._time),Rd(this,Bt(this,n),1)},t.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+_e)},t.shiftChildren=function(n,s,o){o===void 0&&(o=0);for(var a=this._first,u=this.labels,l;a;)a._start>=o&&(a._start+=n,a._end+=n),a=a._next;if(s)for(l in u)u[l]>=o&&(u[l]+=n);return Ii(this)},t.invalidate=function(n){var s=this._first;for(this._lock=0;s;)s.invalidate(n),s=s._next;return i.prototype.invalidate.call(this,n)},t.clear=function(n){n===void 0&&(n=!0);for(var s=this._first,o;s;)o=s._next,this.remove(s),s=o;return this._dp&&(this._time=this._tTime=this._pTime=0),n&&(this.labels={}),Ii(this)},t.totalDuration=function(n){var s=0,o=this,a=o._last,u=Vt,l,c,h;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-n:n));if(o._dirty){for(h=o.parent;a;)l=a._prev,a._dirty&&a.totalDuration(),c=a._start,c>u&&o._sort&&a._ts&&!o._lock?(o._lock=1,gr(o,a,c-a._delay,1)._lock=0):u=c,c<0&&a._ts&&(s-=c,(!h&&!o._dp||h&&h.smoothChildTiming)&&(o._start+=c/o._ts,o._time-=c,o._tTime-=c),o.shiftChildren(-c,!1,-1/0),u=0),a._end>s&&a._ts&&(s=a._end),a=l;En(o,o===xe&&o._time>s?o._time:s,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(n){if(xe._ts&&(Xd(xe,$o(n,xe)),Ud=bt.frame),bt.frame>=Od){Od+=wt.autoSleep||120;var s=xe._first;if((!s||!s._ts)&&wt.autoSleep&&bt._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||bt.sleep()}}},e}(bs);Yt(rt.prototype,{_lock:0,_hasPause:0,_forcing:0});var iv=function(e,t,r,n,s,o,a){var u=new ft(this._pt,e,t,0,1,Bl,null,s),l=0,c=0,h,d,f,_,p,g,m,v;for(u.b=r,u.e=n,r+="",n+="",(m=~n.indexOf("random("))&&(n=Cn(n)),o&&(v=[r,n],o(v,e,t),r=v[0],n=v[1]),d=r.match(sl)||[];h=sl.exec(n);)_=h[0],p=n.substring(l,h.index),f?f=(f+1)%5:p.substr(-5)==="rgba("&&(f=1),_!==d[c++]&&(g=parseFloat(d[c-1])||0,u._pt={_next:u._pt,p:p||c===1?p:",",s:g,c:_.charAt(1)==="="?Hi(g,_)-g:parseFloat(_)-g,m:f&&f<4?Math.round:0},l=sl.lastIndex);return u.c=l<n.length?n.substring(l,n.length):"",u.fp=a,(Sl.test(n)||m)&&(u.e=0),this._pt=u,u},Ll=function(e,t,r,n,s,o,a,u,l,c){Ae(n)&&(n=n(s||0,e,o));var h=e[t],d=r!=="get"?r:Ae(h)?l?e[t.indexOf("set")||!Ae(e["get"+t.substr(3)])?t:"get"+t.substr(3)](l):e[t]():h,f=Ae(h)?l?uv:_h:Il,_;if(Ve(n)&&(~n.indexOf("random(")&&(n=Cn(n)),n.charAt(1)==="="&&(_=Hi(d,n)+(Ke(d)||0),(_||_===0)&&(n=_))),!c||d!==n||xl)return!isNaN(d*n)&&n!==""?(_=new ft(this._pt,e,t,+d||0,n-(d||0),typeof h=="boolean"?cv:gh,0,f),l&&(_.fp=l),a&&_.modifier(a,this,e),this._pt=_):(!h&&!(t in e)&&Qo(t,n),iv.call(this,e,t,d,n,f,u||wt.stringFilter,l))},nv=function(e,t,r,n,s){if(Ae(e)&&(e=Ds(e,s,t,r,n)),!mr(e)||e.style&&e.nodeType||nt(e)||Vd(e))return Ve(e)?Ds(e,s,t,r,n):e;var o={},a;for(a in e)o[a]=Ds(e[a],s,t,r,n);return o},Rl=function(e,t,r,n,s,o){var a,u,l,c;if(xt[e]&&(a=new xt[e]).init(s,a.rawVars?t[e]:nv(t[e],n,s,o,r),r,n,o)!==!1&&(r._pt=u=new ft(r._pt,s,e,0,1,a.render,a,0,a.priority),r!==yn))for(l=r._ptLookup[r._targets.indexOf(s)],c=a._props.length;c--;)l[a._props[c]]=u;return a},ri,xl,Nl=function i(e,t,r){var n=e.vars,s=n.ease,o=n.startAt,a=n.immediateRender,u=n.lazy,l=n.onUpdate,c=n.onUpdateParams,h=n.callbackScope,d=n.runBackwards,f=n.yoyoEase,_=n.keyframes,p=n.autoRevert,g=e._dur,m=e._startAt,v=e._targets,D=e.parent,x=D&&D.data==="nested"?D.vars.targets:v,E=e._overwrite==="auto"&&!El,w=e.timeline,b,C,A,S,P,F,M,V,B,R,L,N,T;if(w&&(!_||!s)&&(s="none"),e._ease=Bi(s,xn.ease),e._yEase=f?ch(Bi(f===!0?s:f,xn.ease)):0,f&&e._yoyo&&!e._repeat&&(f=e._yEase,e._yEase=e._ease,e._ease=f),e._from=!w&&!!n.runBackwards,!w||_&&!n.stagger){if(V=v[0]?ni(v[0]).harness:0,N=V&&n[V.prop],b=jo(n,Al),m&&(m._zTime<0&&m.progress(1),t<0&&d&&a&&!p?m.render(-1,!0):m.revert(d&&g?Ho:Mm),m._lazy=0),o){if(si(e._startAt=Me.set(v,Yt({data:"isStart",overwrite:!1,parent:D,immediateRender:!0,lazy:!m&&Et(u),startAt:null,delay:0,onUpdate:l,onUpdateParams:c,callbackScope:h,stagger:0},o))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(it||!a&&!p)&&e._startAt.revert(Ho),a&&g&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(d&&g&&!m){if(t&&(a=!1),A=Yt({overwrite:!1,data:"isFromStart",lazy:a&&!m&&Et(u),immediateRender:a,stagger:0,parent:D},b),N&&(A[V.prop]=N),si(e._startAt=Me.set(v,A)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(it?e._startAt.revert(Ho):e._startAt.render(-1,!0)),e._zTime=t,!a)i(e._startAt,_e,_e);else if(!t)return}for(e._pt=e._ptCache=0,u=g&&Et(u)||u&&!g,C=0;C<v.length;C++){if(P=v[C],M=P._gsap||Pl(v)[C]._gsap,e._ptLookup[C]=R={},_l[M.id]&&ii.length&&qo(),L=x===v?C:x.indexOf(P),V&&(B=new V).init(P,N||b,e,L,x)!==!1&&(e._pt=S=new ft(e._pt,P,B.name,0,1,B.render,B,0,B.priority),B._props.forEach(function(y){R[y]=S}),B.priority&&(F=1)),!V||N)for(A in b)xt[A]&&(B=Rl(A,b,e,L,P,x))?B.priority&&(F=1):R[A]=S=Ll.call(e,P,A,"get",b[A],L,x,0,n.stringFilter);e._op&&e._op[C]&&e.kill(P,e._op[C]),E&&e._pt&&(ri=e,xe.killTweensOf(P,R,e.globalTime(t)),T=!e.parent,ri=0),e._pt&&u&&(_l[M.id]=1)}F&&Vl(e),e._onInit&&e._onInit(e)}e._onUpdate=l,e._initted=(!e._op||e._pt)&&!T,_&&t<=0&&w.render(Vt,!0,!0)},sv=function(e,t,r,n,s,o,a){var u=(e._pt&&e._ptCache||(e._ptCache={}))[t],l,c,h,d;if(!u)for(u=e._ptCache[t]=[],h=e._ptLookup,d=e._targets.length;d--;){if(l=h[d][t],l&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==t&&l.fp!==t;)l=l._next;if(!l)return xl=1,e.vars[t]="+=0",Nl(e,a),xl=0,1;u.push(l)}for(d=u.length;d--;)c=u[d],l=c._pt||c,l.s=(n||n===0)&&!s?n:l.s+(n||0)+o*l.c,l.c=r-l.s,c.e&&(c.e=Fe(r)+Ke(c.e)),c.b&&(c.b=l.s+Ke(c.b))},ov=function(e,t){var r=e[0]?ni(e[0]).harness:0,n=r&&r.aliases,s,o,a,u;if(!n)return t;s=Vi({},t);for(o in n)if(o in s)for(u=n[o].split(","),a=u.length;a--;)s[u[a]]=s[o];return s},av=function(e,t,r,n){var s=t.ease||n||"power1.inOut",o,a;if(nt(t))a=r[e]||(r[e]=[]),t.forEach(function(u,l){return a.push({t:l/(t.length-1)*100,v:u,e:s})});else for(o in t)a=r[o]||(r[o]=[]),o==="ease"||a.push({t:parseFloat(e),v:t[o],e:s})},Ds=function(e,t,r,n,s){return Ae(e)?e.call(t,r,n,s):Ve(e)&&~e.indexOf("random(")?Cn(e):e},hh=Fl+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",ph={};ct(hh+",id,stagger,delay,duration,paused,scrollTrigger",function(i){return ph[i]=1});var Me=function(i){Bd(e,i);function e(r,n,s,o){var a;typeof n=="number"&&(s.duration=n,n=s,s=null),a=i.call(this,o?n:ms(n))||this;var u=a.vars,l=u.duration,c=u.delay,h=u.immediateRender,d=u.stagger,f=u.overwrite,_=u.keyframes,p=u.defaults,g=u.scrollTrigger,m=u.yoyoEase,v=n.parent||xe,D=(nt(r)||Vd(r)?kr(r[0]):"length"in n)?[r]:Wt(r),x,E,w,b,C,A,S,P;if(a._targets=D.length?Pl(D):Xo("GSAP target "+r+" not found. https://greensock.com",!wt.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=f,_||d||Wo(l)||Wo(c)){if(n=a.vars,x=a.timeline=new rt({data:"nested",defaults:p||{},targets:v&&v.data==="nested"?v.vars.targets:D}),x.kill(),x.parent=x._dp=Or(a),x._start=0,d||Wo(l)||Wo(c)){if(b=D.length,S=d&&th(d),mr(d))for(C in d)~hh.indexOf(C)&&(P||(P={}),P[C]=d[C]);for(E=0;E<b;E++)w=jo(n,ph),w.stagger=0,m&&(w.yoyoEase=m),P&&Vi(w,P),A=D[E],w.duration=+Ds(l,Or(a),E,A,D),w.delay=(+Ds(c,Or(a),E,A,D)||0)-a._delay,!d&&b===1&&w.delay&&(a._delay=c=w.delay,a._start+=c,w.delay=0),x.to(A,w,S?S(E,A,D):0),x._ease=se.none;x.duration()?l=c=0:a.timeline=0}else if(_){ms(Yt(x.vars.defaults,{ease:"none"})),x._ease=Bi(_.ease||n.ease||"none");var F=0,M,V,B;if(nt(_))_.forEach(function(R){return x.to(D,R,">")}),x.duration();else{w={};for(C in _)C==="ease"||C==="easeEach"||av(C,_[C],w,_.easeEach);for(C in w)for(M=w[C].sort(function(R,L){return R.t-L.t}),F=0,E=0;E<M.length;E++)V=M[E],B={ease:V.e,duration:(V.t-(E?M[E-1].t:0))/100*l},B[C]=V.v,x.to(D,B,F),F+=B.duration;x.duration()<l&&x.to({},{duration:l-x.duration()})}}l||a.duration(l=x.duration())}else a.timeline=0;return f===!0&&!El&&(ri=Or(a),xe.killTweensOf(D),ri=0),gr(v,Or(a),s),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(h||!l&&!_&&a._start===$e(v._time)&&Et(h)&&Bm(Or(a))&&v.data!=="nested")&&(a._tTime=-_e,a.render(Math.max(0,-c)||0)),g&&Zd(Or(a),g),a}var t=e.prototype;return t.render=function(n,s,o){var a=this._time,u=this._tDur,l=this._dur,c=n<0,h=n>u-_e&&!c?u:n<_e?0:n,d,f,_,p,g,m,v,D,x;if(!l)Vm(this,n,s,o);else if(h!==this._tTime||!n||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==c){if(d=h,D=this.timeline,this._repeat){if(p=l+this._rDelay,this._repeat<-1&&c)return this.totalTime(p*100+n,s,o);if(d=$e(h%p),h===u?(_=this._repeat,d=l):(_=~~(h/p),_&&_===h/p&&(d=l,_--),d>l&&(d=l)),m=this._yoyo&&_&1,m&&(x=this._yEase,d=l-d),g=bn(this._tTime,p),d===a&&!o&&this._initted)return this._tTime=h,this;_!==g&&(D&&this._yEase&&fh(D,m),this.vars.repeatRefresh&&!m&&!this._lock&&(this._lock=o=1,this.render($e(p*_),!0).invalidate()._lock=0))}if(!this._initted){if(Qd(this,c?n:d,o,s,h))return this._tTime=0,this;if(a!==this._time)return this;if(l!==this._dur)return this.render(n,s,o)}if(this._tTime=h,this._time=d,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=v=(x||this._ease)(d/l),this._from&&(this.ratio=v=1-v),d&&!a&&!s&&!_&&(Ht(this,"onStart"),this._tTime!==h))return this;for(f=this._pt;f;)f.r(v,f.d),f=f._next;D&&D.render(n<0?n:!d&&m?-_e:D._dur*D._ease(d/this._dur),s,o)||this._startAt&&(this._zTime=n),this._onUpdate&&!s&&(c&&gl(this,n,s,o),Ht(this,"onUpdate")),this._repeat&&_!==g&&this.vars.onRepeat&&!s&&this.parent&&Ht(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(c&&!this._onUpdate&&gl(this,n,!0,!0),(n||!l)&&(h===this._tDur&&this._ts>0||!h&&this._ts<0)&&si(this,1),!s&&!(c&&!a)&&(h||a||m)&&(Ht(this,h===u?"onComplete":"onReverseComplete",!0),this._prom&&!(h<u&&this.timeScale()>0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(n){return(!n||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(n),i.prototype.invalidate.call(this,n)},t.resetTo=function(n,s,o,a){xs||bt.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),l;return this._initted||Nl(this,u),l=this._ease(u/this._dur),sv(this,n,s,o,a,l,u)?this.resetTo(n,s,o,a):(ta(this,0),this.parent||$d(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(n,s){if(s===void 0&&(s="all"),!n&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?_s(this):this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(n,s,ri&&ri.vars.overwrite!==!0)._first||_s(this),this.parent&&o!==this.timeline.totalDuration()&&En(this,this._dur*this.timeline._tDur/o,0,1),this}var a=this._targets,u=n?Wt(n):a,l=this._ptLookup,c=this._pt,h,d,f,_,p,g,m;if((!s||s==="all")&&Nm(a,u))return s==="all"&&(this._pt=0),_s(this);for(h=this._op=this._op||[],s!=="all"&&(Ve(s)&&(p={},ct(s,function(v){return p[v]=1}),s=p),s=ov(a,s)),m=a.length;m--;)if(~u.indexOf(a[m])){d=l[m],s==="all"?(h[m]=s,_=d,f={}):(f=h[m]=h[m]||{},_=s);for(p in _)g=d&&d[p],g&&((!("kill"in g.d)||g.d.kill(p)===!0)&&Jo(this,g,"_pt"),delete d[p]),f!=="all"&&(f[p]=1)}return this._initted&&!this._pt&&c&&_s(this),this},e.to=function(n,s){return new e(n,s,arguments[2])},e.from=function(n,s){return vs(1,arguments)},e.delayedCall=function(n,s,o,a){return new e(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:s,onReverseComplete:s,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:a})},e.fromTo=function(n,s,o){return vs(2,arguments)},e.set=function(n,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new e(n,s)},e.killTweensOf=function(n,s,o){return xe.killTweensOf(n,s,o)},e}(bs);Yt(Me.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});ct("staggerTo,staggerFrom,staggerFromTo",function(i){Me[i]=function(){var e=new rt,t=vl.call(arguments,0);return t.splice(i==="staggerFromTo"?5:4,0,0),e[i].apply(e,t)}});var Il=function(e,t,r){return e[t]=r},_h=function(e,t,r){return e[t](r)},uv=function(e,t,r,n){return e[t](n.fp,r)},lv=function(e,t,r){return e.setAttribute(t,r)},ra=function(e,t){return Ae(e[t])?_h:Zo(e[t])&&e.setAttribute?lv:Il},gh=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},cv=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Bl=function(e,t){var r=t._pt,n="";if(!e&&t.b)n=t.b;else if(e===1&&t.e)n=t.e;else{for(;r;)n=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+n,r=r._next;n+=t.c}t.set(t.t,t.p,n,t)},zl=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},fv=function(e,t,r,n){for(var s=this._pt,o;s;)o=s._next,s.p===n&&s.modifier(e,t,r),s=o},dv=function(e){for(var t=this._pt,r,n;t;)n=t._next,t.p===e&&!t.op||t.op===e?Jo(this,t,"_pt"):t.dep||(r=1),t=n;return!r},hv=function(e,t,r,n){n.mSet(e,t,n.m.call(n.tween,r,n.mt),n)},Vl=function(e){for(var t=e._pt,r,n,s,o;t;){for(r=t._next,n=s;n&&n.pr>t.pr;)n=n._next;(t._prev=n?n._prev:o)?t._prev._next=t:s=t,(t._next=n)?n._prev=t:o=t,t=r}e._pt=s},ft=function(){function i(t,r,n,s,o,a,u,l,c){this.t=r,this.s=s,this.c=o,this.p=n,this.r=a||gh,this.d=u||this,this.set=l||Il,this.pr=c||0,this._next=t,t&&(t._prev=this)}var e=i.prototype;return e.modifier=function(r,n,s){this.mSet=this.mSet||this.set,this.set=hv,this.m=r,this.mt=s,this.tween=n},i}();ct(Fl+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(i){return Al[i]=1});kt.TweenMax=kt.TweenLite=Me;kt.TimelineLite=kt.TimelineMax=rt;xe=new rt({sortChildren:!1,defaults:xn,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});wt.stringFilter=Ml;var zi=[],Go={},pv=[],Id=0,_v=0,cl=function(e){return(Go[e]||pv).map(function(t){return t()})},bl=function(){var e=Date.now(),t=[];e-Id>2&&(cl("matchMediaInit"),zi.forEach(function(r){var n=r.queries,s=r.conditions,o,a,u,l;for(a in n)o=zt.matchMedia(n[a]).matches,o&&(u=1),o!==s[a]&&(s[a]=o,l=1);l&&(r.revert(),u&&t.push(r))}),cl("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r)}),Id=e,cl("matchMedia"))},mh=function(){function i(t,r){this.selector=r&&Dl(r),this.data=[],this._r=[],this.isReverted=!1,this.id=_v++,t&&this.add(t)}var e=i.prototype;return e.add=function(r,n,s){Ae(r)&&(s=n,n=r,r=Ae);var o=this,a=function(){var l=Te,c=o.selector,h;return l&&l!==o&&l.data.push(o),s&&(o.selector=Dl(s)),Te=o,h=n.apply(o,arguments),Ae(h)&&o._r.push(h),Te=l,o.selector=c,o.isReverted=!1,h};return o.last=a,r===Ae?a(o):r?o[r]=a:a},e.ignore=function(r){var n=Te;Te=null,r(this),Te=n},e.getTweens=function(){var r=[];return this.data.forEach(function(n){return n instanceof i?r.push.apply(r,n.getTweens()):n instanceof Me&&!(n.parent&&n.parent.data==="nested")&&r.push(n)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,n){var s=this;if(r){var o=this.getTweens();this.data.forEach(function(u){u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(l){return o.splice(o.indexOf(l),1)}))}),o.map(function(u){return{g:u.globalTime(0),t:u}}).sort(function(u,l){return l.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),this.data.forEach(function(u){return!(u instanceof Me)&&u.revert&&u.revert(r)}),this._r.forEach(function(u){return u(r,s)}),this.isReverted=!0}else this.data.forEach(function(u){return u.kill&&u.kill()});if(this.clear(),n)for(var a=zi.length;a--;)zi[a].id===this.id&&zi.splice(a,1)},e.revert=function(r){this.kill(r||{})},i}(),gv=function(){function i(t){this.contexts=[],this.scope=t}var e=i.prototype;return e.add=function(r,n,s){mr(r)||(r={matches:r});var o=new mh(0,s||this.scope),a=o.conditions={},u,l,c;Te&&!o.selector&&(o.selector=Te.selector),this.contexts.push(o),n=o.add("onMatch",n),o.queries=r;for(l in r)l==="all"?c=1:(u=zt.matchMedia(r[l]),u&&(zi.indexOf(o)<0&&zi.push(o),(a[l]=u.matches)&&(c=1),u.addListener?u.addListener(bl):u.addEventListener("change",bl)));return c&&n(o),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(n){return n.kill(r,!0)})},i}(),Ko={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(function(n){return ah(n)})},timeline:function(e){return new rt(e)},getTweensOf:function(e,t){return xe.getTweensOf(e,t)},getProperty:function(e,t,r,n){Ve(e)&&(e=Wt(e)[0]);var s=ni(e||{}).get,o=r?jd:qd;return r==="native"&&(r=""),e&&(t?o((xt[t]&&xt[t].get||s)(e,t,r,n)):function(a,u,l){return o((xt[a]&&xt[a].get||s)(e,a,u,l))})},quickSetter:function(e,t,r){if(e=Wt(e),e.length>1){var n=e.map(function(c){return st.quickSetter(c,t,r)}),s=n.length;return function(c){for(var h=s;h--;)n[h](c)}}e=e[0]||{};var o=xt[t],a=ni(e),u=a.harness&&(a.harness.aliases||{})[t]||t,l=o?function(c){var h=new o;yn._pt=0,h.init(e,r?c+r:c,yn,0,[e]),h.render(1,h),yn._pt&&zl(1,yn)}:a.set(e,u);return o?l:function(c){return l(e,u,r?c+r:c,a,1)}},quickTo:function(e,t,r){var n,s=st.to(e,Vi((n={},n[t]="+=0.1",n.paused=!0,n),r||{})),o=function(u,l,c){return s.resetTo(t,u,l,c)};return o.tween=s,o},isTweening:function(e){return xe.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Bi(e.ease,xn.ease)),Md(xn,e||{})},config:function(e){return Md(wt,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,n=e.plugins,s=e.defaults,o=e.extendTimeline;(n||"").split(",").forEach(function(a){return a&&!xt[a]&&!kt[a]&&Xo(t+" effect requires "+a+" plugin.")}),ol[t]=function(a,u,l){return r(Wt(a),Yt(u||{},s),l)},o&&(rt.prototype[t]=function(a,u,l){return this.add(ol[t](a,mr(u)?u:(l=u)&&{},this),l)})},registerEase:function(e,t){se[e]=Bi(t)},parseEase:function(e,t){return arguments.length?Bi(e,t):se},getById:function(e){return xe.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new rt(e),n,s;for(r.smoothChildTiming=Et(e.smoothChildTiming),xe.remove(r),r._dp=0,r._time=r._tTime=xe._time,n=xe._first;n;)s=n._next,(t||!(!n._dur&&n instanceof Me&&n.vars.onComplete===n._targets[0]))&&gr(r,n,n._start-n._delay),n=s;return gr(xe,r,0),r},context:function(e,t){return e?new mh(e,t):Te},matchMedia:function(e){return new gv(e)},matchMediaRefresh:function(){return zi.forEach(function(e){var t=e.conditions,r,n;for(n in t)t[n]&&(t[n]=!1,r=1);r&&e.revert()})||bl()},addEventListener:function(e,t){var r=Go[e]||(Go[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=Go[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},utils:{wrap:jm,wrapYoyo:$m,distribute:th,random:ih,snap:rh,normalize:qm,getUnit:Ke,clamp:Ym,splitColor:uh,toArray:Wt,selector:Dl,mapRange:sh,pipe:Um,unitize:Xm,interpolate:Km,shuffle:eh},install:Yd,effects:ol,ticker:bt,updateRoot:rt.updateRoot,plugins:xt,globalTimeline:xe,core:{PropTween:ft,globals:Gd,Tween:Me,Timeline:rt,Animation:bs,getCache:ni,_removeLinkedListItem:Jo,reverting:function(){return it},context:function(e){return e&&Te&&(Te.data.push(e),e._ctx=Te),Te},suppressOverwrites:function(e){return El=e}}};ct("to,from,fromTo,delayedCall,set,killTweensOf",function(i){return Ko[i]=Me[i]});bt.add(rt.updateRoot);yn=Ko.to({},{duration:0});var mv=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},vv=function(e,t){var r=e._targets,n,s,o;for(n in t)for(s=r.length;s--;)o=e._ptLookup[s][n],o&&(o=o.d)&&(o._pt&&(o=mv(o,n)),o&&o.modifier&&o.modifier(t[n],e,r[s],n))},fl=function(e,t){return{name:e,rawVars:1,init:function(n,s,o){o._onInit=function(a){var u,l;if(Ve(s)&&(u={},ct(s,function(c){return u[c]=1}),s=u),t){u={};for(l in s)u[l]=t(s[l]);s=u}vv(a,s)}}}},st=Ko.registerPlugin({name:"attr",init:function(e,t,r,n,s){var o,a,u;this.tween=r;for(o in t)u=e.getAttribute(o)||"",a=this.add(e,"setAttribute",(u||0)+"",t[o],n,s,0,0,o),a.op=o,a.b=u,this._props.push(o)},render:function(e,t){for(var r=t._pt;r;)it?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",init:function(e,t){for(var r=t.length;r--;)this.add(e,r,e[r]||0,t[r],0,0,0,0,0,1)}},fl("roundProps",yl),fl("modifiers"),fl("snap",rh))||Ko;Me.version=rt.version=st.version="3.12.2";Hd=1;wl()&&wn();var Dv=se.Power0,yv=se.Power1,xv=se.Power2,bv=se.Power3,Ev=se.Power4,wv=se.Linear,Cv=se.Quad,Sv=se.Cubic,Tv=se.Quart,Av=se.Quint,Fv=se.Strong,Pv=se.Elastic,Ov=se.Back,Mv=se.SteppedEase,kv=se.Bounce,Lv=se.Sine,Rv=se.Expo,Nv=se.Circ;var vh,ai,Tn,ql,qi,Iv,Dh,jl,Bv=function(){return typeof window<"u"},Rr={},Xi=180/Math.PI,An=Math.PI/180,Sn=Math.atan2,yh=1e8,$l=/([A-Z])/g,zv=/(left|right|width|margin|padding|x)/i,Vv=/[\s,\(]\S/,vr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Yl=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Wv=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Hv=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},Yv=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},Th=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Ah=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},Gv=function(e,t,r){return e.style[t]=r},Uv=function(e,t,r){return e.style.setProperty(t,r)},Xv=function(e,t,r){return e._gsap[t]=r},qv=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},jv=function(e,t,r,n,s){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(s,o)},$v=function(e,t,r,n,s){var o=e._gsap;o[t]=r,o.renderTransform(s,o)},be="transform",nr=be+"Origin",Kv=function i(e,t){var r=this,n=this.target,s=n.style;if(e in Rr&&s){if(this.tfm=this.tfm||{},e!=="transform")e=vr[e]||e,~e.indexOf(",")?e.split(",").forEach(function(o){return r.tfm[o]=Lr(n,o)}):this.tfm[e]=n._gsap.x?n._gsap[e]:Lr(n,e);else return vr.transform.split(",").forEach(function(o){return i.call(r,o,t)});if(this.props.indexOf(be)>=0)return;n._gsap.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(nr,t,"")),e=be}(s||t)&&this.props.push(e,t,s[e])},Fh=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Zv=function(){var e=this.props,t=this.target,r=t.style,n=t._gsap,s,o;for(s=0;s<e.length;s+=3)e[s+1]?t[e[s]]=e[s+2]:e[s+2]?r[e[s]]=e[s+2]:r.removeProperty(e[s].substr(0,2)==="--"?e[s]:e[s].replace($l,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)n[o]=this.tfm[o];n.svg&&(n.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),s=jl(),(!s||!s.isStart)&&!r[be]&&(Fh(r),n.uncache=1)}},Ph=function(e,t){var r={target:e,props:[],revert:Zv,save:Kv};return e._gsap||st.core.getCache(e),t&&t.split(",").forEach(function(n){return r.save(n)}),r},Oh,Gl=function(e,t){var r=ai.createElementNS?ai.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):ai.createElement(e);return r.style?r:ai.createElement(e)},Dr=function i(e,t,r){var n=getComputedStyle(e);return n[t]||n.getPropertyValue(t.replace($l,"-$1").toLowerCase())||n.getPropertyValue(t)||!r&&i(e,Fn(t)||t,1)||""},xh="O,Moz,ms,Ms,Webkit".split(","),Fn=function(e,t,r){var n=t||qi,s=n.style,o=5;if(e in s&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(xh[o]+e in s););return o<0?null:(o===3?"ms":o>=0?xh[o]:"")+e},Ul=function(){Bv()&&window.document&&(vh=window,ai=vh.document,Tn=ai.documentElement,qi=Gl("div")||{style:{}},Iv=Gl("div"),be=Fn(be),nr=be+"Origin",qi.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Oh=!!Fn("perspective"),jl=st.core.reverting,ql=1)},Wl=function i(e){var t=Gl("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(Tn.appendChild(t),t.appendChild(this),this.style.display="block",e)try{o=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=i}catch{}else this._gsapBBox&&(o=this._gsapBBox());return r&&(n?r.insertBefore(this,n):r.appendChild(this)),Tn.removeChild(t),this.style.cssText=s,o},bh=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},Mh=function(e){var t;try{t=e.getBBox()}catch{t=Wl.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===Wl||(t=Wl.call(e,!0)),t&&!t.width&&!t.x&&!t.y?{x:+bh(e,["x","cx","x1"])||0,y:+bh(e,["y","cy","y1"])||0,width:0,height:0}:t},kh=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Mh(e))},Cs=function(e,t){if(t){var r=e.style;t in Rr&&t!==nr&&(t=be),r.removeProperty?((t.substr(0,2)==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(t.replace($l,"-$1").toLowerCase())):r.removeAttribute(t)}},ui=function(e,t,r,n,s,o){var a=new ft(e._pt,t,r,0,1,o?Ah:Th);return e._pt=a,a.b=n,a.e=s,e._props.push(r),a},Eh={deg:1,rad:1,turn:1},Qv={grid:1,flex:1},li=function i(e,t,r,n){var s=parseFloat(r)||0,o=(r+"").trim().substr((s+"").length)||"px",a=qi.style,u=zv.test(t),l=e.tagName.toLowerCase()==="svg",c=(l?"client":"offset")+(u?"Width":"Height"),h=100,d=n==="px",f=n==="%",_,p,g,m;return n===o||!s||Eh[n]||Eh[o]?s:(o!=="px"&&!d&&(s=i(e,t,r,"px")),m=e.getCTM&&kh(e),(f||o==="%")&&(Rr[t]||~t.indexOf("adius"))?(_=m?e.getBBox()[u?"width":"height"]:e[c],Fe(f?s/_*h:s/100*_)):(a[u?"width":"height"]=h+(d?o:n),p=~t.indexOf("adius")||n==="em"&&e.appendChild&&!l?e:e.parentNode,m&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===ai||!p.appendChild)&&(p=ai.body),g=p._gsap,g&&f&&g.width&&u&&g.time===bt.time&&!g.uncache?Fe(s/g.width*h):((f||o==="%")&&!Qv[Dr(p,"display")]&&(a.position=Dr(e,"position")),p===e&&(a.position="static"),p.appendChild(qi),_=qi[c],p.removeChild(qi),a.position="absolute",u&&f&&(g=ni(p),g.time=bt.time,g.width=p[c]),Fe(d?_*s/h:_&&s?h/_*s:0))))},Lr=function(e,t,r,n){var s;return ql||Ul(),t in vr&&t!=="transform"&&(t=vr[t],~t.indexOf(",")&&(t=t.split(",")[0])),Rr[t]&&t!=="transform"?(s=Ts(e,n),s=t!=="transformOrigin"?s[t]:s.svg?s.origin:na(Dr(e,nr))+" "+s.zOrigin+"px"):(s=e.style[t],(!s||s==="auto"||n||~(s+"").indexOf("calc("))&&(s=ia[t]&&ia[t](e,t,r)||Dr(e,t)||Ol(e,t)||(t==="opacity"?1:0))),r&&!~(s+"").trim().indexOf(" ")?li(e,t,s,r)+r:s},Jv=function(e,t,r,n){if(!r||r==="none"){var s=Fn(t,e,1),o=s&&Dr(e,s,1);o&&o!==r?(t=s,r=o):t==="borderColor"&&(r=Dr(e,"borderTopColor"))}var a=new ft(this._pt,e.style,t,0,1,Bl),u=0,l=0,c,h,d,f,_,p,g,m,v,D,x,E;if(a.b=r,a.e=n,r+="",n+="",n==="auto"&&(e.style[t]=n,n=Dr(e,t)||n,e.style[t]=r),c=[r,n],Ml(c),r=c[0],n=c[1],d=r.match(Wi)||[],E=n.match(Wi)||[],E.length){for(;h=Wi.exec(n);)g=h[0],v=n.substring(u,h.index),_?_=(_+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(_=1),g!==(p=d[l++]||"")&&(f=parseFloat(p)||0,x=p.substr((f+"").length),g.charAt(1)==="="&&(g=Hi(f,g)+x),m=parseFloat(g),D=g.substr((m+"").length),u=Wi.lastIndex-D.length,D||(D=D||wt.units[t]||x,u===n.length&&(n+=D,a.e+=D)),x!==D&&(f=li(e,t,p,D)||0),a._pt={_next:a._pt,p:v||l===1?v:",",s:f,c:m-f,m:_&&_<4||t==="zIndex"?Math.round:0});a.c=u<n.length?n.substring(u,n.length):""}else a.r=t==="display"&&n==="none"?Ah:Th;return Sl.test(n)&&(a.e=0),this._pt=a,a},wh={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},eD=function(e){var t=e.split(" "),r=t[0],n=t[1]||"50%";return(r==="top"||r==="bottom"||n==="left"||n==="right")&&(e=r,r=n,n=e),t[0]=wh[r]||r,t[1]=wh[n]||n,t.join(" ")},tD=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,n=r.style,s=t.u,o=r._gsap,a,u,l;if(s==="all"||s===!0)n.cssText="",u=1;else for(s=s.split(","),l=s.length;--l>-1;)a=s[l],Rr[a]&&(u=1,a=a==="transformOrigin"?nr:be),Cs(r,a);u&&(Cs(r,be),o&&(o.svg&&r.removeAttribute("transform"),Ts(r,1),o.uncache=1,Fh(n)))}},ia={clearProps:function(e,t,r,n,s){if(s.data!=="isFromStart"){var o=e._pt=new ft(e._pt,t,r,0,0,tD);return o.u=n,o.pr=-10,o.tween=s,e._props.push(r),1}}},Ss=[1,0,0,1,0,0],Lh={},Rh=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},Ch=function(e){var t=Dr(e,be);return Rh(t)?Ss:t.substr(7).match(Cl).map(Fe)},Kl=function(e,t){var r=e._gsap||ni(e),n=e.style,s=Ch(e),o,a,u,l;return r.svg&&e.getAttribute("transform")?(u=e.transform.baseVal.consolidate().matrix,s=[u.a,u.b,u.c,u.d,u.e,u.f],s.join(",")==="1,0,0,1,0,0"?Ss:s):(s===Ss&&!e.offsetParent&&e!==Tn&&!r.svg&&(u=n.display,n.display="block",o=e.parentNode,(!o||!e.offsetParent)&&(l=1,a=e.nextElementSibling,Tn.appendChild(e)),s=Ch(e),u?n.display=u:Cs(e,"display"),l&&(a?o.insertBefore(e,a):o?o.appendChild(e):Tn.removeChild(e))),t&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},Xl=function(e,t,r,n,s,o){var a=e._gsap,u=s||Kl(e,!0),l=a.xOrigin||0,c=a.yOrigin||0,h=a.xOffset||0,d=a.yOffset||0,f=u[0],_=u[1],p=u[2],g=u[3],m=u[4],v=u[5],D=t.split(" "),x=parseFloat(D[0])||0,E=parseFloat(D[1])||0,w,b,C,A;r?u!==Ss&&(b=f*g-_*p)&&(C=x*(g/b)+E*(-p/b)+(p*v-g*m)/b,A=x*(-_/b)+E*(f/b)-(f*v-_*m)/b,x=C,E=A):(w=Mh(e),x=w.x+(~D[0].indexOf("%")?x/100*w.width:x),E=w.y+(~(D[1]||D[0]).indexOf("%")?E/100*w.height:E)),n||n!==!1&&a.smooth?(m=x-l,v=E-c,a.xOffset=h+(m*f+v*p)-m,a.yOffset=d+(m*_+v*g)-v):a.xOffset=a.yOffset=0,a.xOrigin=x,a.yOrigin=E,a.smooth=!!n,a.origin=t,a.originIsAbsolute=!!r,e.style[nr]="0px 0px",o&&(ui(o,a,"xOrigin",l,x),ui(o,a,"yOrigin",c,E),ui(o,a,"xOffset",h,a.xOffset),ui(o,a,"yOffset",d,a.yOffset)),e.setAttribute("data-svg-origin",x+" "+E)},Ts=function(e,t){var r=e._gsap||new kl(e);if("x"in r&&!t&&!r.uncache)return r;var n=e.style,s=r.scaleX<0,o="px",a="deg",u=getComputedStyle(e),l=Dr(e,nr)||"0",c,h,d,f,_,p,g,m,v,D,x,E,w,b,C,A,S,P,F,M,V,B,R,L,N,T,y,k,G,Z,U,X;return c=h=d=p=g=m=v=D=x=0,f=_=1,r.svg=!!(e.getCTM&&kh(e)),u.translate&&((u.translate!=="none"||u.scale!=="none"||u.rotate!=="none")&&(n[be]=(u.translate!=="none"?"translate3d("+(u.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(u.rotate!=="none"?"rotate("+u.rotate+") ":"")+(u.scale!=="none"?"scale("+u.scale.split(" ").join(",")+") ":"")+(u[be]!=="none"?u[be]:"")),n.scale=n.rotate=n.translate="none"),b=Kl(e,r.svg),r.svg&&(r.uncache?(N=e.getBBox(),l=r.xOrigin-N.x+"px "+(r.yOrigin-N.y)+"px",L=""):L=!t&&e.getAttribute("data-svg-origin"),Xl(e,L||l,!!L||r.originIsAbsolute,r.smooth!==!1,b)),E=r.xOrigin||0,w=r.yOrigin||0,b!==Ss&&(P=b[0],F=b[1],M=b[2],V=b[3],c=B=b[4],h=R=b[5],b.length===6?(f=Math.sqrt(P*P+F*F),_=Math.sqrt(V*V+M*M),p=P||F?Sn(F,P)*Xi:0,v=M||V?Sn(M,V)*Xi+p:0,v&&(_*=Math.abs(Math.cos(v*An))),r.svg&&(c-=E-(E*P+w*M),h-=w-(E*F+w*V))):(X=b[6],Z=b[7],y=b[8],k=b[9],G=b[10],U=b[11],c=b[12],h=b[13],d=b[14],C=Sn(X,G),g=C*Xi,C&&(A=Math.cos(-C),S=Math.sin(-C),L=B*A+y*S,N=R*A+k*S,T=X*A+G*S,y=B*-S+y*A,k=R*-S+k*A,G=X*-S+G*A,U=Z*-S+U*A,B=L,R=N,X=T),C=Sn(-M,G),m=C*Xi,C&&(A=Math.cos(-C),S=Math.sin(-C),L=P*A-y*S,N=F*A-k*S,T=M*A-G*S,U=V*S+U*A,P=L,F=N,M=T),C=Sn(F,P),p=C*Xi,C&&(A=Math.cos(C),S=Math.sin(C),L=P*A+F*S,N=B*A+R*S,F=F*A-P*S,R=R*A-B*S,P=L,B=N),g&&Math.abs(g)+Math.abs(p)>359.9&&(g=p=0,m=180-m),f=Fe(Math.sqrt(P*P+F*F+M*M)),_=Fe(Math.sqrt(R*R+X*X)),C=Sn(B,R),v=Math.abs(C)>2e-4?C*Xi:0,x=U?1/(U<0?-U:U):0),r.svg&&(L=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!Rh(Dr(e,be)),L&&e.setAttribute("transform",L))),Math.abs(v)>90&&Math.abs(v)<270&&(s?(f*=-1,v+=p<=0?180:-180,p+=p<=0?180:-180):(_*=-1,v+=v<=0?180:-180)),t=t||r.uncache,r.x=c-((r.xPercent=c&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-c)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+o,r.y=h-((r.yPercent=h&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-h)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+o,r.z=d+o,r.scaleX=Fe(f),r.scaleY=Fe(_),r.rotation=Fe(p)+a,r.rotationX=Fe(g)+a,r.rotationY=Fe(m)+a,r.skewX=v+a,r.skewY=D+a,r.transformPerspective=x+o,(r.zOrigin=parseFloat(l.split(" ")[2])||0)&&(n[nr]=na(l)),r.xOffset=r.yOffset=0,r.force3D=wt.force3D,r.renderTransform=r.svg?iD:Oh?Nh:rD,r.uncache=0,r},na=function(e){return(e=e.split(" "))[0]+" "+e[1]},Hl=function(e,t,r){var n=Ke(t);return Fe(parseFloat(t)+parseFloat(li(e,"x",r+"px",n)))+n},rD=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,Nh(e,t)},Gi="0deg",ws="0px",Ui=") ",Nh=function(e,t){var r=t||this,n=r.xPercent,s=r.yPercent,o=r.x,a=r.y,u=r.z,l=r.rotation,c=r.rotationY,h=r.rotationX,d=r.skewX,f=r.skewY,_=r.scaleX,p=r.scaleY,g=r.transformPerspective,m=r.force3D,v=r.target,D=r.zOrigin,x="",E=m==="auto"&&e&&e!==1||m===!0;if(D&&(h!==Gi||c!==Gi)){var w=parseFloat(c)*An,b=Math.sin(w),C=Math.cos(w),A;w=parseFloat(h)*An,A=Math.cos(w),o=Hl(v,o,b*A*-D),a=Hl(v,a,-Math.sin(w)*-D),u=Hl(v,u,C*A*-D+D)}g!==ws&&(x+="perspective("+g+Ui),(n||s)&&(x+="translate("+n+"%, "+s+"%) "),(E||o!==ws||a!==ws||u!==ws)&&(x+=u!==ws||E?"translate3d("+o+", "+a+", "+u+") ":"translate("+o+", "+a+Ui),l!==Gi&&(x+="rotate("+l+Ui),c!==Gi&&(x+="rotateY("+c+Ui),h!==Gi&&(x+="rotateX("+h+Ui),(d!==Gi||f!==Gi)&&(x+="skew("+d+", "+f+Ui),(_!==1||p!==1)&&(x+="scale("+_+", "+p+Ui),v.style[be]=x||"translate(0, 0)"},iD=function(e,t){var r=t||this,n=r.xPercent,s=r.yPercent,o=r.x,a=r.y,u=r.rotation,l=r.skewX,c=r.skewY,h=r.scaleX,d=r.scaleY,f=r.target,_=r.xOrigin,p=r.yOrigin,g=r.xOffset,m=r.yOffset,v=r.forceCSS,D=parseFloat(o),x=parseFloat(a),E,w,b,C,A;u=parseFloat(u),l=parseFloat(l),c=parseFloat(c),c&&(c=parseFloat(c),l+=c,u+=c),u||l?(u*=An,l*=An,E=Math.cos(u)*h,w=Math.sin(u)*h,b=Math.sin(u-l)*-d,C=Math.cos(u-l)*d,l&&(c*=An,A=Math.tan(l-c),A=Math.sqrt(1+A*A),b*=A,C*=A,c&&(A=Math.tan(c),A=Math.sqrt(1+A*A),E*=A,w*=A)),E=Fe(E),w=Fe(w),b=Fe(b),C=Fe(C)):(E=h,C=d,w=b=0),(D&&!~(o+"").indexOf("px")||x&&!~(a+"").indexOf("px"))&&(D=li(f,"x",o,"px"),x=li(f,"y",a,"px")),(_||p||g||m)&&(D=Fe(D+_-(_*E+p*b)+g),x=Fe(x+p-(_*w+p*C)+m)),(n||s)&&(A=f.getBBox(),D=Fe(D+n/100*A.width),x=Fe(x+s/100*A.height)),A="matrix("+E+","+w+","+b+","+C+","+D+","+x+")",f.setAttribute("transform",A),v&&(f.style[be]=A)},nD=function(e,t,r,n,s){var o=360,a=Ve(s),u=parseFloat(s)*(a&&~s.indexOf("rad")?Xi:1),l=u-n,c=n+l+"deg",h,d;return a&&(h=s.split("_")[1],h==="short"&&(l%=o,l!==l%(o/2)&&(l+=l<0?o:-o)),h==="cw"&&l<0?l=(l+o*yh)%o-~~(l/o)*o:h==="ccw"&&l>0&&(l=(l-o*yh)%o-~~(l/o)*o)),e._pt=d=new ft(e._pt,t,r,n,l,Wv),d.e=c,d.u="deg",e._props.push(r),d},Sh=function(e,t){for(var r in t)e[r]=t[r];return e},sD=function(e,t,r){var n=Sh({},r._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=r.style,a,u,l,c,h,d,f,_;n.svg?(l=r.getAttribute("transform"),r.setAttribute("transform",""),o[be]=t,a=Ts(r,1),Cs(r,be),r.setAttribute("transform",l)):(l=getComputedStyle(r)[be],o[be]=t,a=Ts(r,1),o[be]=l);for(u in Rr)l=n[u],c=a[u],l!==c&&s.indexOf(u)<0&&(f=Ke(l),_=Ke(c),h=f!==_?li(r,u,l,_):parseFloat(l),d=parseFloat(c),e._pt=new ft(e._pt,a,u,h,d-h,Yl),e._pt.u=_||0,e._props.push(u));Sh(a,n)};ct("padding,margin,Width,Radius",function(i,e){var t="Top",r="Right",n="Bottom",s="Left",o=(e<3?[t,r,n,s]:[t+s,t+r,n+r,n+s]).map(function(a){return e<2?i+a:"border"+a+i});ia[e>1?"border"+i:i]=function(a,u,l,c,h){var d,f;if(arguments.length<4)return d=o.map(function(_){return Lr(a,_,l)}),f=d.join(" "),f.split(d[0]).length===5?d[0]:f;d=(c+"").split(" "),f={},o.forEach(function(_,p){return f[_]=d[p]=d[p]||d[(p-1)/2|0]}),a.init(u,f,h)}});var Zl={name:"css",register:Ul,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,n,s){var o=this._props,a=e.style,u=r.vars.startAt,l,c,h,d,f,_,p,g,m,v,D,x,E,w,b,C;ql||Ul(),this.styles=this.styles||Ph(e),C=this.styles.props,this.tween=r;for(p in t)if(p!=="autoRound"&&(c=t[p],!(xt[p]&&Rl(p,t,r,n,e,s)))){if(f=typeof c,_=ia[p],f==="function"&&(c=c.call(r,n,e,s),f=typeof c),f==="string"&&~c.indexOf("random(")&&(c=Cn(c)),_)_(this,e,p,c,r)&&(b=1);else if(p.substr(0,2)==="--")l=(getComputedStyle(e).getPropertyValue(p)+"").trim(),c+="",Mr.lastIndex=0,Mr.test(l)||(g=Ke(l),m=Ke(c)),m?g!==m&&(l=li(e,p,l,m)+m):g&&(c+=g),this.add(a,"setProperty",l,c,n,s,0,0,p),o.push(p),C.push(p,0,a[p]);else if(f!=="undefined"){if(u&&p in u?(l=typeof u[p]=="function"?u[p].call(r,n,e,s):u[p],Ve(l)&&~l.indexOf("random(")&&(l=Cn(l)),Ke(l+"")||(l+=wt.units[p]||Ke(Lr(e,p))||""),(l+"").charAt(1)==="="&&(l=Lr(e,p))):l=Lr(e,p),d=parseFloat(l),v=f==="string"&&c.charAt(1)==="="&&c.substr(0,2),v&&(c=c.substr(2)),h=parseFloat(c),p in vr&&(p==="autoAlpha"&&(d===1&&Lr(e,"visibility")==="hidden"&&h&&(d=0),C.push("visibility",0,a.visibility),ui(this,a,"visibility",d?"inherit":"hidden",h?"inherit":"hidden",!h)),p!=="scale"&&p!=="transform"&&(p=vr[p],~p.indexOf(",")&&(p=p.split(",")[0]))),D=p in Rr,D){if(this.styles.save(p),x||(E=e._gsap,E.renderTransform&&!t.parseTransform||Ts(e,t.parseTransform),w=t.smoothOrigin!==!1&&E.smooth,x=this._pt=new ft(this._pt,a,be,0,1,E.renderTransform,E,0,-1),x.dep=1),p==="scale")this._pt=new ft(this._pt,E,"scaleY",E.scaleY,(v?Hi(E.scaleY,v+h):h)-E.scaleY||0,Yl),this._pt.u=0,o.push("scaleY",p),p+="X";else if(p==="transformOrigin"){C.push(nr,0,a[nr]),c=eD(c),E.svg?Xl(e,c,0,w,0,this):(m=parseFloat(c.split(" ")[2])||0,m!==E.zOrigin&&ui(this,E,"zOrigin",E.zOrigin,m),ui(this,a,p,na(l),na(c)));continue}else if(p==="svgOrigin"){Xl(e,c,1,w,0,this);continue}else if(p in Lh){nD(this,E,p,d,v?Hi(d,v+c):c);continue}else if(p==="smoothOrigin"){ui(this,E,"smooth",E.smooth,c);continue}else if(p==="force3D"){E[p]=c;continue}else if(p==="transform"){sD(this,c,e);continue}}else p in a||(p=Fn(p)||p);if(D||(h||h===0)&&(d||d===0)&&!Vv.test(c)&&p in a)g=(l+"").substr((d+"").length),h||(h=0),m=Ke(c)||(p in wt.units?wt.units[p]:g),g!==m&&(d=li(e,p,l,m)),this._pt=new ft(this._pt,D?E:a,p,d,(v?Hi(d,v+h):h)-d,!D&&(m==="px"||p==="zIndex")&&t.autoRound!==!1?Yv:Yl),this._pt.u=m||0,g!==m&&m!=="%"&&(this._pt.b=l,this._pt.r=Hv);else if(p in a)Jv.call(this,e,p,l,v?v+c:c);else if(p in e)this.add(e,p,l||e[p],v?v+c:c,n,s);else if(p!=="parseTransform"){Qo(p,c);continue}D||(p in a?C.push(p,0,a[p]):C.push(p,1,l||e[p])),o.push(p)}}b&&Vl(this)},render:function(e,t){if(t.tween._time||!jl())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:Lr,aliases:vr,getSetter:function(e,t,r){var n=vr[t];return n&&n.indexOf(",")<0&&(t=n),t in Rr&&t!==nr&&(e._gsap.x||Lr(e,"x"))?r&&Dh===r?t==="scale"?qv:Xv:(Dh=r||{})&&(t==="scale"?jv:$v):e.style&&!Zo(e.style[t])?Gv:~t.indexOf("-")?Uv:ra(e,t)},core:{_removeProperty:Cs,_getMatrix:Kl}};st.utils.checkPrefix=Fn;st.core.getStyleSaver=Ph;(function(i,e,t,r){var n=ct(i+","+e+","+t,function(s){Rr[s]=1});ct(e,function(s){wt.units[s]="deg",Lh[s]=1}),vr[n[13]]=i+","+e,ct(r,function(s){var o=s.split(":");vr[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");ct("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(i){wt.units[i]="px"});st.registerPlugin(Zl);var oe=st.registerPlugin(Zl)||st,K1=oe.core.Tween;var oD=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig;var aD=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig;var uD=Math.PI/180,Q1=180/Math.PI,sa=Math.sin,oa=Math.cos,Fs=Math.abs,As=Math.sqrt;var lD=function(e){return typeof e=="number"};var Ih=1e5;var ci=function(e){return Math.round(e*Ih)/Ih||0};function Bh(i,e,t,r,n,s,o){for(var a=i.length,u,l,c,h,d;--a>-1;)for(u=i[a],l=u.length,c=0;c<l;c+=2)h=u[c],d=u[c+1],u[c]=h*e+d*r+s,u[c+1]=h*t+d*n+o;return i._dirty=1,i}function cD(i,e,t,r,n,s,o,a,u){if(!(i===a&&e===u)){t=Fs(t),r=Fs(r);var l=n%360*uD,c=oa(l),h=sa(l),d=Math.PI,f=d*2,_=(i-a)/2,p=(e-u)/2,g=c*_+h*p,m=-h*_+c*p,v=g*g,D=m*m,x=v/(t*t)+D/(r*r);x>1&&(t=As(x)*t,r=As(x)*r);var E=t*t,w=r*r,b=(E*w-E*D-w*v)/(E*D+w*v);b<0&&(b=0);var C=(s===o?-1:1)*As(b),A=C*(t*m/r),S=C*-(r*g/t),P=(i+a)/2,F=(e+u)/2,M=P+(c*A-h*S),V=F+(h*A+c*S),B=(g-A)/t,R=(m-S)/r,L=(-g-A)/t,N=(-m-S)/r,T=B*B+R*R,y=(R<0?-1:1)*Math.acos(B/As(T)),k=(B*N-R*L<0?-1:1)*Math.acos((B*L+R*N)/As(T*(L*L+N*N)));isNaN(k)&&(k=d),!o&&k>0?k-=f:o&&k<0&&(k+=f),y%=f,k%=f;var G=Math.ceil(Fs(k)/(f/4)),Z=[],U=k/G,X=4/3*sa(U/2)/(1+oa(U/2)),I=c*t,Y=h*t,fe=h*-r,ee=c*r,te;for(te=0;te<G;te++)n=y+te*U,g=oa(n),m=sa(n),B=oa(n+=U),R=sa(n),Z.push(g-X*m,m+X*g,B+X*R,R-X*B,B,R);for(te=0;te<Z.length;te+=2)g=Z[te],m=Z[te+1],Z[te]=g*I+m*fe+M,Z[te+1]=g*Y+m*ee+V;return Z[te-2]=a,Z[te-1]=u,Z}}function zh(i){var e=(i+"").replace(aD,function(A){var S=+A;return S<1e-4&&S>-1e-4?0:S}).match(oD)||[],t=[],r=0,n=0,s=2/3,o=e.length,a=0,u="ERROR: malformed path: "+i,l,c,h,d,f,_,p,g,m,v,D,x,E,w,b,C=function(S,P,F,M){v=(F-S)/3,D=(M-P)/3,p.push(S+v,P+D,F-v,M-D,F,M)};if(!i||!isNaN(e[0])||isNaN(e[1]))return console.log(u),t;for(l=0;l<o;l++)if(E=f,isNaN(e[l])?(f=e[l].toUpperCase(),_=f!==e[l]):l--,h=+e[l+1],d=+e[l+2],_&&(h+=r,d+=n),l||(g=h,m=d),f==="M")p&&(p.length<8?t.length-=1:a+=p.length),r=g=h,n=m=d,p=[h,d],t.push(p),l+=2,f="L";else if(f==="C")p||(p=[0,0]),_||(r=n=0),p.push(h,d,r+e[l+3]*1,n+e[l+4]*1,r+=e[l+5]*1,n+=e[l+6]*1),l+=6;else if(f==="S")v=r,D=n,(E==="C"||E==="S")&&(v+=r-p[p.length-4],D+=n-p[p.length-3]),_||(r=n=0),p.push(v,D,h,d,r+=e[l+3]*1,n+=e[l+4]*1),l+=4;else if(f==="Q")v=r+(h-r)*s,D=n+(d-n)*s,_||(r=n=0),r+=e[l+3]*1,n+=e[l+4]*1,p.push(v,D,r+(h-r)*s,n+(d-n)*s,r,n),l+=4;else if(f==="T")v=r-p[p.length-4],D=n-p[p.length-3],p.push(r+v,n+D,h+(r+v*1.5-h)*s,d+(n+D*1.5-d)*s,r=h,n=d),l+=2;else if(f==="H")C(r,n,r=h,n),l+=1;else if(f==="V")C(r,n,r,n=h+(_?n-r:0)),l+=1;else if(f==="L"||f==="Z")f==="Z"&&(h=g,d=m,p.closed=!0),(f==="L"||Fs(r-h)>.5||Fs(n-d)>.5)&&(C(r,n,h,d),f==="L"&&(l+=2)),r=h,n=d;else if(f==="A"){if(w=e[l+4],b=e[l+5],v=e[l+6],D=e[l+7],c=7,w.length>1&&(w.length<3?(D=v,v=b,c--):(D=b,v=w.substr(2),c-=2),b=w.charAt(1),w=w.charAt(0)),x=cD(r,n,+e[l+1],+e[l+2],+e[l+3],+w,+b,(_?r:0)+v*1,(_?n:0)+D*1),l+=c,x)for(c=0;c<x.length;c++)p.push(x[c]);r=p[p.length-2],n=p[p.length-1]}else console.log(u);return l=p.length,l<6?(t.pop(),l=0):p[0]===p[l-2]&&p[1]===p[l-1]&&(p.closed=!0),t.totalPoints=a+l,t}function Vh(i){lD(i[0])&&(i=[i]);var e="",t=i.length,r,n,s,o;for(n=0;n<t;n++){for(o=i[n],e+="M"+ci(o[0])+","+ci(o[1])+" C",r=o.length,s=2;s<r;s++)e+=ci(o[s++])+","+ci(o[s++])+" "+ci(o[s++])+","+ci(o[s++])+" "+ci(o[s++])+","+ci(o[s])+" ";o.closed&&(e+="z")}return e}var Ct,Hh,Yh=function(){return Ct||typeof window<"u"&&(Ct=window.gsap)&&Ct.registerPlugin&&Ct},Wh=function(){Ct=Yh(),Ct?(Ct.registerEase("_CE",ji.create),Hh=1):console.warn("Please gsap.registerPlugin(CustomEase)")},fD=1e20,aa=function(e){return~~(e*1e3+(e<0?-.5:.5))/1e3},dD=1,hD=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,pD=/[cLlsSaAhHvVtTqQ]/g,_D=function(e){var t=e.length,r=fD,n;for(n=1;n<t;n+=6)+e[n]<r&&(r=+e[n]);return r},gD=function(e,t,r){!r&&r!==0&&(r=Math.max(+e[e.length-1],+e[1]));var n=+e[0]*-1,s=-r,o=e.length,a=1/(+e[o-2]+n),u=-t||(Math.abs(+e[o-1]-+e[1])<.01*(+e[o-2]-+e[0])?_D(e)+s:+e[o-1]+s),l;for(u?u=1/u:u=-a,l=0;l<o;l+=2)e[l]=(+e[l]+n)*a,e[l+1]=(+e[l+1]+s)*u},mD=function i(e,t,r,n,s,o,a,u,l,c,h){var d=(e+r)/2,f=(t+n)/2,_=(r+s)/2,p=(n+o)/2,g=(s+a)/2,m=(o+u)/2,v=(d+_)/2,D=(f+p)/2,x=(_+g)/2,E=(p+m)/2,w=(v+x)/2,b=(D+E)/2,C=a-e,A=u-t,S=Math.abs((r-a)*A-(n-u)*C),P=Math.abs((s-a)*A-(o-u)*C),F;return c||(c=[{x:e,y:t},{x:a,y:u}],h=1),c.splice(h||c.length-1,0,{x:w,y:b}),(S+P)*(S+P)>l*(C*C+A*A)&&(F=c.length,i(e,t,d,f,v,D,w,b,l,c,h),i(w,b,x,E,g,m,a,u,l,c,h+1+(c.length-F))),c},ji=function(){function i(t,r,n){Hh||Wh(),this.id=t,dD&&this.setData(r,n)}var e=i.prototype;return e.setData=function(r,n){n=n||{},r=r||"0,0,1,1";var s=r.match(hD),o=1,a=[],u=[],l=n.precision||1,c=l<=1,h,d,f,_,p,g,m,v,D;if(this.data=r,(pD.test(r)||~r.indexOf("M")&&r.indexOf("C")<0)&&(s=zh(r)[0]),h=s.length,h===4)s.unshift(0,0),s.push(1,1),h=8;else if((h-2)%6)throw"Invalid CustomEase";for((+s[0]!=0||+s[h-2]!=1)&&gD(s,n.height,n.originY),this.segment=s,_=2;_<h;_+=6)d={x:+s[_-2],y:+s[_-1]},f={x:+s[_+4],y:+s[_+5]},a.push(d,f),mD(d.x,d.y,+s[_],+s[_+1],+s[_+2],+s[_+3],f.x,f.y,1/(l*2e5),a,a.length-1);for(h=a.length,_=0;_<h;_++)m=a[_],v=a[_-1]||m,(m.x>v.x||v.y!==m.y&&v.x===m.x||m===v)&&m.x<=1?(v.cx=m.x-v.x,v.cy=m.y-v.y,v.n=m,v.nx=m.x,c&&_>1&&Math.abs(v.cy/v.cx-a[_-2].cy/a[_-2].cx)>2&&(c=0),v.cx<o&&(v.cx?o=v.cx:(v.cx=.001,_===h-1&&(v.x-=.001,o=Math.min(o,.001),c=0)))):(a.splice(_--,1),h--);if(h=1/o+1|0,p=1/h,g=0,m=a[0],c){for(_=0;_<h;_++)D=_*p,m.nx<D&&(m=a[++g]),d=m.y+(D-m.x)/m.cx*m.cy,u[_]={x:D,cx:p,y:d,cy:0,nx:9},_&&(u[_-1].cy=d-u[_-1].y);u[h-1].cy=a[a.length-1].y-d}else{for(_=0;_<h;_++)m.nx<_*p&&(m=a[++g]),u[_]=m;g<a.length-1&&(u[_-1]=a[a.length-2])}return this.ease=function(x){var E=u[x*h|0]||u[h-1];return E.nx<x&&(E=E.n),E.y+(x-E.x)/E.cx*E.cy},this.ease.custom=this,this.id&&Ct&&Ct.registerEase(this.id,this.ease),this},e.getSVGData=function(r){return i.getSVGData(this,r)},i.create=function(r,n,s){return new i(r,n,s).ease},i.register=function(r){Ct=r,Wh()},i.get=function(r){return Ct.parseEase(r)},i.getSVGData=function(r,n){n=n||{};var s=n.width||100,o=n.height||100,a=n.x||0,u=(n.y||0)+o,l=Ct.utils.toArray(n.path)[0],c,h,d,f,_,p,g,m,v,D;if(n.invert&&(o=-o,u=0),typeof r=="string"&&(r=Ct.parseEase(r)),r.custom&&(r=r.custom),r instanceof i)c=Vh(Bh([r.segment],s,0,0,-o,a,u));else{for(c=[a,u],g=Math.max(5,(n.precision||1)*200),f=1/g,g+=2,m=5/g,v=aa(a+f*s),D=aa(u+r(f)*-o),h=(D-u)/(v-a),d=2;d<g;d++)_=aa(a+d*f*s),p=aa(u+r(d*f)*-o),(Math.abs((p-D)/(_-v)-h)>m||d===g-1)&&(c.push(v,D),h=(p-D)/(_-v)),v=_,D=p;c="M"+c.join(",")}return l&&l.setAttribute("d",c),c},i}();Yh()&&Ct.registerPlugin(ji);ji.version="3.12.2";var dt,qh,Nr,yr,fi,jh,$h,ua,Kh=function(){return typeof window<"u"},Zh=function(){return dt||Kh()&&(dt=window.gsap)&&dt.registerPlugin&&dt},Qh=function(e){return typeof e=="string"},Gh=function(e){return typeof e=="function"},Ps=function(e,t){var r=t==="x"?"Width":"Height",n="scroll"+r,s="client"+r;return e===Nr||e===yr||e===fi?Math.max(yr[n],fi[n])-(Nr["inner"+r]||yr[s]||fi[s]):e[n]-e["offset"+r]},Os=function(e,t){var r="scroll"+(t==="x"?"Left":"Top");return e===Nr&&(e.pageXOffset!=null?r="page"+t.toUpperCase()+"Offset":e=yr[r]!=null?yr:fi),function(){return e[r]}},vD=function(e,t,r,n){if(Gh(e)&&(e=e(t,r,n)),typeof e!="object")return Qh(e)&&e!=="max"&&e.charAt(1)!=="="?{x:e,y:e}:{y:e};if(e.nodeType)return{y:e,x:e};var s={},o;for(o in e)s[o]=o!=="onAutoKill"&&Gh(e[o])?e[o](t,r,n):e[o];return s},Jh=function(e,t){if(e=jh(e)[0],!e||!e.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var r=e.getBoundingClientRect(),n=!t||t===Nr||t===fi,s=n?{top:yr.clientTop-(Nr.pageYOffset||yr.scrollTop||fi.scrollTop||0),left:yr.clientLeft-(Nr.pageXOffset||yr.scrollLeft||fi.scrollLeft||0)}:t.getBoundingClientRect(),o={x:r.left-s.left,y:r.top-s.top};return!n&&t&&(o.x+=Os(t,"x")(),o.y+=Os(t,"y")()),o},Uh=function(e,t,r,n,s){return!isNaN(e)&&typeof e!="object"?parseFloat(e)-s:Qh(e)&&e.charAt(1)==="="?parseFloat(e.substr(2))*(e.charAt(0)==="-"?-1:1)+n-s:e==="max"?Ps(t,r)-s:Math.min(Ps(t,r),Jh(e,t)[r]-s)},Xh=function(){dt=Zh(),Kh()&&dt&&typeof document<"u"&&document.body&&(Nr=window,fi=document.body,yr=document.documentElement,jh=dt.utils.toArray,dt.config({autoKillThreshold:7}),$h=dt.config(),qh=1)},Pn={version:"3.12.2",name:"scrollTo",rawVars:1,register:function(e){dt=e,Xh()},init:function(e,t,r,n,s){qh||Xh();var o=this,a=dt.getProperty(e,"scrollSnapType");o.isWin=e===Nr,o.target=e,o.tween=r,t=vD(t,n,e,s),o.vars=t,o.autoKill=!!t.autoKill,o.getX=Os(e,"x"),o.getY=Os(e,"y"),o.x=o.xPrev=o.getX(),o.y=o.yPrev=o.getY(),ua||(ua=dt.core.globals().ScrollTrigger),dt.getProperty(e,"scrollBehavior")==="smooth"&&dt.set(e,{scrollBehavior:"auto"}),a&&a!=="none"&&(o.snap=1,o.snapInline=e.style.scrollSnapType,e.style.scrollSnapType="none"),t.x!=null?(o.add(o,"x",o.x,Uh(t.x,e,"x",o.x,t.offsetX||0),n,s),o._props.push("scrollTo_x")):o.skipX=1,t.y!=null?(o.add(o,"y",o.y,Uh(t.y,e,"y",o.y,t.offsetY||0),n,s),o._props.push("scrollTo_y")):o.skipY=1},render:function(e,t){for(var r=t._pt,n=t.target,s=t.tween,o=t.autoKill,a=t.xPrev,u=t.yPrev,l=t.isWin,c=t.snap,h=t.snapInline,d,f,_,p,g;r;)r.r(e,r.d),r=r._next;d=l||!t.skipX?t.getX():a,f=l||!t.skipY?t.getY():u,_=f-u,p=d-a,g=$h.autoKillThreshold,t.x<0&&(t.x=0),t.y<0&&(t.y=0),o&&(!t.skipX&&(p>g||p<-g)&&d<Ps(n,"x")&&(t.skipX=1),!t.skipY&&(_>g||_<-g)&&f<Ps(n,"y")&&(t.skipY=1),t.skipX&&t.skipY&&(s.kill(),t.vars.onAutoKill&&t.vars.onAutoKill.apply(s,t.vars.onAutoKillParams||[]))),l?Nr.scrollTo(t.skipX?d:t.x,t.skipY?f:t.y):(t.skipY||(n.scrollTop=t.y),t.skipX||(n.scrollLeft=t.x)),c&&(e===1||e===0)&&(f=n.scrollTop,d=n.scrollLeft,h?n.style.scrollSnapType=h:n.style.removeProperty("scroll-snap-type"),n.scrollTop=f+1,n.scrollLeft=d+1,n.scrollTop=f,n.scrollLeft=d),t.xPrev=t.x,t.yPrev=t.y,ua&&ua.update()},kill:function(e){var t=e==="scrollTo";(t||e==="scrollTo_x")&&(this.skipX=1),(t||e==="scrollTo_y")&&(this.skipY=1)}};Pn.max=Ps;Pn.getOffset=Jh;Pn.buildGetter=Os;Zh()&&dt.registerPlugin(Pn);function ep(i,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(i,r.key,r)}}function DD(i,e,t){return e&&ep(i.prototype,e),t&&ep(i,t),i}var Ze,Ql,yD,Lt,di,hi,Mn,rp,$i,ks,ip,Ir,sr,np,sp=function(){return Ze||typeof window<"u"&&(Ze=window.gsap)&&Ze.registerPlugin&&Ze},op=1,On=[],re=[],or=[],Ls=Date.now,Jl=function(e,t){return t},xD=function(){var e=ks.core,t=e.bridge||{},r=e._scrollers,n=e._proxies;r.push.apply(r,re),n.push.apply(n,or),re=r,or=n,Jl=function(o,a){return t[o](a)}},zr=function(e,t){return~or.indexOf(e)&&or[or.indexOf(e)+1][t]},Rs=function(e){return!!~ip.indexOf(e)},pt=function(e,t,r,n,s){return e.addEventListener(t,r,{passive:!n,capture:!!s})},ht=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},la="scrollLeft",ca="scrollTop",ec=function(){return Ir&&Ir.isPressed||re.cache++},fa=function(e,t){var r=function n(s){if(s||s===0){op&&(Lt.history.scrollRestoration="manual");var o=Ir&&Ir.isPressed;s=n.v=Math.round(s)||(Ir&&Ir.iOS?1:0),e(s),n.cacheID=re.cache,o&&Jl("ss",s)}else(t||re.cache!==n.cacheID||Jl("ref"))&&(n.cacheID=re.cache,n.v=e());return n.v+n.offset};return r.offset=0,e&&r},ot={s:la,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:fa(function(i){return arguments.length?Lt.scrollTo(i,Ne.sc()):Lt.pageXOffset||di[la]||hi[la]||Mn[la]||0})},Ne={s:ca,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:ot,sc:fa(function(i){return arguments.length?Lt.scrollTo(ot.sc(),i):Lt.pageYOffset||di[ca]||hi[ca]||Mn[ca]||0})},_t=function(e,t){return(t&&t._ctx&&t._ctx.selector||Ze.utils.toArray)(e)[0]||(typeof e=="string"&&Ze.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},Br=function(e,t){var r=t.s,n=t.sc;Rs(e)&&(e=di.scrollingElement||hi);var s=re.indexOf(e),o=n===Ne.sc?1:2;!~s&&(s=re.push(e)-1),re[s+o]||pt(e,"scroll",ec);var a=re[s+o],u=a||(re[s+o]=fa(zr(e,r),!0)||(Rs(e)?n:fa(function(l){return arguments.length?e[r]=l:e[r]})));return u.target=e,a||(u.smooth=Ze.getProperty(e,"scrollBehavior")==="smooth"),u},da=function(e,t,r){var n=e,s=e,o=Ls(),a=o,u=t||50,l=Math.max(500,u*3),c=function(_,p){var g=Ls();p||g-o>u?(s=n,n=_,a=o,o=g):r?n+=_:n=s+(_-s)/(g-a)*(o-a)},h=function(){s=n=r?0:n,a=o=0},d=function(_){var p=a,g=s,m=Ls();return(_||_===0)&&_!==n&&c(_),o===a||m-a>l?0:(n+(r?g:-g))/((r?m:o)-p)*1e3};return{update:c,reset:h,getVelocity:d}},Ms=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},tp=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},ap=function(){ks=Ze.core.globals().ScrollTrigger,ks&&ks.core&&xD()},up=function(e){return Ze=e||sp(),Ze&&typeof document<"u"&&document.body&&(Lt=window,di=document,hi=di.documentElement,Mn=di.body,ip=[Lt,di,hi,Mn],yD=Ze.utils.clamp,np=Ze.core.context||function(){},$i="onpointerenter"in Mn?"pointer":"mouse",rp=ke.isTouch=Lt.matchMedia&&Lt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Lt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,sr=ke.eventTypes=("ontouchstart"in hi?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in hi?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return op=0},500),ap(),Ql=1),Ql};ot.op=Ne;re.cache=0;var ke=function(){function i(t){this.init(t)}var e=i.prototype;return e.init=function(r){Ql||up(Ze)||console.warn("Please gsap.registerPlugin(Observer)"),ks||ap();var n=r.tolerance,s=r.dragMinimum,o=r.type,a=r.target,u=r.lineHeight,l=r.debounce,c=r.preventDefault,h=r.onStop,d=r.onStopDelay,f=r.ignore,_=r.wheelSpeed,p=r.event,g=r.onDragStart,m=r.onDragEnd,v=r.onDrag,D=r.onPress,x=r.onRelease,E=r.onRight,w=r.onLeft,b=r.onUp,C=r.onDown,A=r.onChangeX,S=r.onChangeY,P=r.onChange,F=r.onToggleX,M=r.onToggleY,V=r.onHover,B=r.onHoverEnd,R=r.onMove,L=r.ignoreCheck,N=r.isNormalizer,T=r.onGestureStart,y=r.onGestureEnd,k=r.onWheel,G=r.onEnable,Z=r.onDisable,U=r.onClick,X=r.scrollSpeed,I=r.capture,Y=r.allowClicks,fe=r.lockAxis,ee=r.onLockAxis;this.target=a=_t(a)||hi,this.vars=r,f&&(f=Ze.utils.toArray(f)),n=n||1e-9,s=s||0,_=_||1,X=X||1,o=o||"wheel,touch,pointer",l=l!==!1,u||(u=parseFloat(Lt.getComputedStyle(Mn).lineHeight)||22);var te,Je,Ft,z,$,Ce,Be,O=this,Pt=0,Tr=0,bi=Br(a,ot),Le=Br(a,Ne),Ei=bi(),wi=Le(),es=~o.indexOf("touch")&&!~o.indexOf("pointer")&&sr[0]==="pointerdown",Xe=Rs(a),Pe=a.ownerDocument||di,Kt=[0,0,0],Zt=[0,0,0],Ci=0,Ar=function(){return Ci=Ls()},fr=function(q,de){return(O.event=q)&&f&&~f.indexOf(q.target)||de&&es&&q.pointerType!=="touch"||L&&L(q,de)},yt=function(){O._vx.reset(),O._vy.reset(),Je.pause(),h&&h(O)},Si=function(){var q=O.deltaX=tp(Kt),de=O.deltaY=tp(Zt),Se=Math.abs(q)>=n,W=Math.abs(de)>=n;P&&(Se||W)&&P(O,q,de,Kt,Zt),Se&&(E&&O.deltaX>0&&E(O),w&&O.deltaX<0&&w(O),A&&A(O),F&&O.deltaX<0!=Pt<0&&F(O),Pt=O.deltaX,Kt[0]=Kt[1]=Kt[2]=0),W&&(C&&O.deltaY>0&&C(O),b&&O.deltaY<0&&b(O),S&&S(O),M&&O.deltaY<0!=Tr<0&&M(O),Tr=O.deltaY,Zt[0]=Zt[1]=Zt[2]=0),(z||Ft)&&(R&&R(O),Ft&&(v(O),Ft=!1),z=!1),Ce&&!(Ce=!1)&&ee&&ee(O),$&&(k(O),$=!1),te=0},dn=function(q,de,Se){Kt[Se]+=q,Zt[Se]+=de,O._vx.update(q),O._vy.update(de),l?te||(te=requestAnimationFrame(Si)):Si()},hn=function(q,de){fe&&!Be&&(O.axis=Be=Math.abs(q)>Math.abs(de)?"x":"y",Ce=!0),Be!=="y"&&(Kt[2]+=q,O._vx.update(q,!0)),Be!=="x"&&(Zt[2]+=de,O._vy.update(de,!0)),l?te||(te=requestAnimationFrame(Si)):Si()},Ti=function(q){if(!fr(q,1)){q=Ms(q,c);var de=q.clientX,Se=q.clientY,W=de-O.x,ue=Se-O.y,j=O.isDragging;O.x=de,O.y=Se,(j||Math.abs(O.startX-de)>=s||Math.abs(O.startY-Se)>=s)&&(v&&(Ft=!0),j||(O.isDragging=!0),hn(W,ue),j||g&&g(O))}},$r=O.onPress=function(K){fr(K,1)||K&&K.button||(O.axis=Be=null,Je.pause(),O.isPressed=!0,K=Ms(K),Pt=Tr=0,O.startX=O.x=K.clientX,O.startY=O.y=K.clientY,O._vx.reset(),O._vy.reset(),pt(N?a:Pe,sr[1],Ti,c,!0),O.deltaX=O.deltaY=0,D&&D(O))},Kr=O.onRelease=function(K){if(!fr(K,1)){ht(N?a:Pe,sr[1],Ti,!0);var q=!isNaN(O.y-O.startY),de=O.isDragging&&(Math.abs(O.x-O.startX)>3||Math.abs(O.y-O.startY)>3),Se=Ms(K);!de&&q&&(O._vx.reset(),O._vy.reset(),c&&Y&&Ze.delayedCall(.08,function(){if(Ls()-Ci>300&&!K.defaultPrevented){if(K.target.click)K.target.click();else if(Pe.createEvent){var W=Pe.createEvent("MouseEvents");W.initMouseEvent("click",!0,!0,Lt,1,Se.screenX,Se.screenY,Se.clientX,Se.clientY,!1,!1,!1,!1,0,null),K.target.dispatchEvent(W)}}})),O.isDragging=O.isGesturing=O.isPressed=!1,h&&!N&&Je.restart(!0),m&&de&&m(O),x&&x(O,de)}},le=function(q){return q.touches&&q.touches.length>1&&(O.isGesturing=!0)&&T(q,O.isDragging)},Ai=function(){return(O.isGesturing=!1)||y(O)},Qt=function(q){if(!fr(q)){var de=bi(),Se=Le();dn((de-Ei)*X,(Se-wi)*X,1),Ei=de,wi=Se,h&&Je.restart(!0)}},Jt=function(q){if(!fr(q)){q=Ms(q,c),k&&($=!0);var de=(q.deltaMode===1?u:q.deltaMode===2?Lt.innerHeight:1)*_;dn(q.deltaX*de,q.deltaY*de,0),h&&!N&&Je.restart(!0)}},er=function(q){if(!fr(q)){var de=q.clientX,Se=q.clientY,W=de-O.x,ue=Se-O.y;O.x=de,O.y=Se,z=!0,(W||ue)&&hn(W,ue)}},Fi=function(q){O.event=q,V(O)},pn=function(q){O.event=q,B(O)},Fr=function(q){return fr(q)||Ms(q,c)&&U(O)};Je=O._dc=Ze.delayedCall(d||.25,yt).pause(),O.deltaX=O.deltaY=0,O._vx=da(0,50,!0),O._vy=da(0,50,!0),O.scrollX=bi,O.scrollY=Le,O.isDragging=O.isGesturing=O.isPressed=!1,np(this),O.enable=function(K){return O.isEnabled||(pt(Xe?Pe:a,"scroll",ec),o.indexOf("scroll")>=0&&pt(Xe?Pe:a,"scroll",Qt,c,I),o.indexOf("wheel")>=0&&pt(a,"wheel",Jt,c,I),(o.indexOf("touch")>=0&&rp||o.indexOf("pointer")>=0)&&(pt(a,sr[0],$r,c,I),pt(Pe,sr[2],Kr),pt(Pe,sr[3],Kr),Y&&pt(a,"click",Ar,!1,!0),U&&pt(a,"click",Fr),T&&pt(Pe,"gesturestart",le),y&&pt(Pe,"gestureend",Ai),V&&pt(a,$i+"enter",Fi),B&&pt(a,$i+"leave",pn),R&&pt(a,$i+"move",er)),O.isEnabled=!0,K&&K.type&&$r(K),G&&G(O)),O},O.disable=function(){O.isEnabled&&(On.filter(function(K){return K!==O&&Rs(K.target)}).length||ht(Xe?Pe:a,"scroll",ec),O.isPressed&&(O._vx.reset(),O._vy.reset(),ht(N?a:Pe,sr[1],Ti,!0)),ht(Xe?Pe:a,"scroll",Qt,I),ht(a,"wheel",Jt,I),ht(a,sr[0],$r,I),ht(Pe,sr[2],Kr),ht(Pe,sr[3],Kr),ht(a,"click",Ar,!0),ht(a,"click",Fr),ht(Pe,"gesturestart",le),ht(Pe,"gestureend",Ai),ht(a,$i+"enter",Fi),ht(a,$i+"leave",pn),ht(a,$i+"move",er),O.isEnabled=O.isPressed=O.isDragging=!1,Z&&Z(O))},O.kill=O.revert=function(){O.disable();var K=On.indexOf(O);K>=0&&On.splice(K,1),Ir===O&&(Ir=0)},On.push(O),N&&Rs(a)&&(Ir=O),O.enable(p)},DD(i,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),i}();ke.version="3.12.2";ke.create=function(i){return new ke(i)};ke.register=up;ke.getAll=function(){return On.slice()};ke.getById=function(i){return On.filter(function(e){return e.vars.id===i})[0]};sp()&&Ze.registerPlugin(ke);var H,Rn,ae,Ee,ar,ve,Cp,Pa,Oa,In,Ea,ha,at,ka,uc,gt,lp,cp,Nn,Sp,tc,Tp,Rt,Ap,Fp,Pp,pi,lc,pc,Bn,_c,rc,pa=1,vt=Date.now,ic=vt(),Xt=0,Is=0,fp=function(e,t,r){var n=It(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=n,n?e.substr(6,e.length-7):e},dp=function(e,t){return t&&(!It(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},bD=function i(){return Is&&requestAnimationFrame(i)},hp=function(){return ka=1},pp=function(){return ka=0},xr=function(e){return e},Bs=function(e){return Math.round(e*1e5)/1e5||0},Op=function(){return typeof window<"u"},Mp=function(){return H||Op()&&(H=window.gsap)&&H.registerPlugin&&H},tn=function(e){return!!~Cp.indexOf(e)},kp=function(e){return(e==="Height"?_c:ae["inner"+e])||ar["client"+e]||ve["client"+e]},Lp=function(e){return zr(e,"getBoundingClientRect")||(tn(e)?function(){return Fa.width=ae.innerWidth,Fa.height=_c,Fa}:function(){return Vr(e)})},ED=function(e,t,r){var n=r.d,s=r.d2,o=r.a;return(o=zr(e,"getBoundingClientRect"))?function(){return o()[n]}:function(){return(t?kp(s):e["client"+s])||0}},wD=function(e,t){return!t||~or.indexOf(e)?Lp(e):function(){return Fa}},Wr=function(e,t){var r=t.s,n=t.d2,s=t.d,o=t.a;return Math.max(0,(r="scroll"+n)&&(o=zr(e,r))?o()-Lp(e)()[s]:tn(e)?(ar[r]||ve[r])-kp(n):e[r]-e["offset"+n])},_a=function(e,t){for(var r=0;r<Nn.length;r+=3)(!t||~t.indexOf(Nn[r+1]))&&e(Nn[r],Nn[r+1],Nn[r+2])},It=function(e){return typeof e=="string"},Dt=function(e){return typeof e=="function"},wa=function(e){return typeof e=="number"},Ki=function(e){return typeof e=="object"},Ns=function(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()},nc=function(e,t){if(e.enabled){var r=t(e);r&&r.totalTime&&(e.callbackAnimation=r)}},kn=Math.abs,Rp="left",Np="top",gc="right",mc="bottom",Qi="width",Ji="height",Vs="Right",Ws="Left",Hs="Top",Ys="Bottom",Ie="padding",Gt="margin",Vn="Width",vc="Height",Qe="px",Ut=function(e){return ae.getComputedStyle(e)},CD=function(e){var t=Ut(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative"},_p=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},Vr=function(e,t){var r=t&&Ut(e)[uc]!=="matrix(1, 0, 0, 1, 0, 0)"&&H.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=e.getBoundingClientRect();return r&&r.progress(0).kill(),n},cc=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},Ip=function(e){var t=[],r=e.labels,n=e.duration(),s;for(s in r)t.push(r[s]/n);return t},SD=function(e){return function(t){return H.utils.snap(Ip(e),t)}},Dc=function(e){var t=H.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(n,s){return n-s});return r?function(n,s,o){o===void 0&&(o=.001);var a;if(!s)return t(n);if(s>0){for(n-=o,a=0;a<r.length;a++)if(r[a]>=n)return r[a];return r[a-1]}else for(a=r.length,n+=o;a--;)if(r[a]<=n)return r[a];return r[0]}:function(n,s,o){o===void 0&&(o=.001);var a=t(n);return!s||Math.abs(a-n)<o||a-n<0==s<0?a:t(s<0?n-e:n+e)}},TD=function(e){return function(t,r){return Dc(Ip(e))(t,r.direction)}},ga=function(e,t,r,n){return r.split(",").forEach(function(s){return e(t,s,n)})},Ue=function(e,t,r,n,s){return e.addEventListener(t,r,{passive:!n,capture:!!s})},Ge=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},ma=function(e,t,r){r=r&&r.wheelHandler,r&&(e(t,"wheel",r),e(t,"touchmove",r))},gp={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},va={toggleActions:"play",anticipatePin:0},Ma={top:0,left:0,center:.5,bottom:1,right:1},Ca=function(e,t){if(It(e)){var r=e.indexOf("="),n=~r?+(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(n*=t/100),e=e.substr(0,r-1)),e=n+(e in Ma?Ma[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},Da=function(e,t,r,n,s,o,a,u){var l=s.startColor,c=s.endColor,h=s.fontSize,d=s.indent,f=s.fontWeight,_=Ee.createElement("div"),p=tn(r)||zr(r,"pinType")==="fixed",g=e.indexOf("scroller")!==-1,m=p?ve:r,v=e.indexOf("start")!==-1,D=v?l:c,x="border-color:"+D+";font-size:"+h+";color:"+D+";font-weight:"+f+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return x+="position:"+((g||u)&&p?"fixed;":"absolute;"),(g||u||!p)&&(x+=(n===Ne?gc:mc)+":"+(o+parseFloat(d))+"px;"),a&&(x+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),_._isStart=v,_.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),_.style.cssText=x,_.innerText=t||t===0?e+"-"+t:e,m.children[0]?m.insertBefore(_,m.children[0]):m.appendChild(_),_._offset=_["offset"+n.op.d2],Sa(_,0,n,v),_},Sa=function(e,t,r,n){var s={display:"block"},o=r[n?"os2":"p2"],a=r[n?"p2":"os2"];e._isFlipped=n,s[r.a+"Percent"]=n?-100:0,s[r.a]=n?"1px":0,s["border"+o+Vn]=1,s["border"+a+Vn]=0,s[r.p]=t+"px",H.set(e,s)},ie=[],fc={},Us,mp=function(){return vt()-Xt>34&&(Us||(Us=requestAnimationFrame(Hr)))},Ln=function(){(!Rt||!Rt.isPressed||Rt.startX>ve.clientWidth)&&(re.cache++,Rt?Us||(Us=requestAnimationFrame(Hr)):Hr(),Xt||nn("scrollStart"),Xt=vt())},sc=function(){Pp=ae.innerWidth,Fp=ae.innerHeight},zs=function(){re.cache++,!at&&!Tp&&!Ee.fullscreenElement&&!Ee.webkitFullscreenElement&&(!Ap||Pp!==ae.innerWidth||Math.abs(ae.innerHeight-Fp)>ae.innerHeight*.25)&&Pa.restart(!0)},rn={},AD=[],Bp=function i(){return Ge(J,"scrollEnd",i)||Zi(!0)},nn=function(e){return rn[e]&&rn[e].map(function(t){return t()})||AD},Nt=[],zp=function(e){for(var t=0;t<Nt.length;t+=5)(!e||Nt[t+4]&&Nt[t+4].query===e)&&(Nt[t].style.cssText=Nt[t+1],Nt[t].getBBox&&Nt[t].setAttribute("transform",Nt[t+2]||""),Nt[t+3].uncache=1)},yc=function(e,t){var r;for(gt=0;gt<ie.length;gt++)r=ie[gt],r&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));t&&zp(t),t||nn("revert")},Vp=function(e,t){re.cache++,(t||!mt)&&re.forEach(function(r){return Dt(r)&&r.cacheID++&&(r.rec=0)}),It(e)&&(ae.history.scrollRestoration=pc=e)},mt,en=0,vp,FD=function(){if(vp!==en){var e=vp=en;requestAnimationFrame(function(){return e===en&&Zi(!0)})}},Wp=function(){ve.appendChild(Bn),_c=Bn.offsetHeight||ae.innerHeight,ve.removeChild(Bn)},Zi=function(e,t){if(Xt&&!e){Ue(J,"scrollEnd",Bp);return}Wp(),mt=J.isRefreshing=!0,re.forEach(function(n){return Dt(n)&&++n.cacheID&&(n.rec=n())});var r=nn("refreshInit");Sp&&J.sort(),t||yc(),re.forEach(function(n){Dt(n)&&(n.smooth&&(n.target.style.scrollBehavior="auto"),n(0))}),ie.slice(0).forEach(function(n){return n.refresh()}),ie.forEach(function(n,s){if(n._subPinOffset&&n.pin){var o=n.vars.horizontal?"offsetWidth":"offsetHeight",a=n.pin[o];n.revert(!0,1),n.adjustPinSpacing(n.pin[o]-a),n.refresh()}}),ie.forEach(function(n){var s=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)}),re.forEach(function(n){Dt(n)&&(n.smooth&&requestAnimationFrame(function(){return n.target.style.scrollBehavior="smooth"}),n.rec&&n(n.rec))}),Vp(pc,1),Pa.pause(),en++,mt=2,Hr(2),ie.forEach(function(n){return Dt(n.vars.onRefresh)&&n.vars.onRefresh(n)}),mt=J.isRefreshing=!1,nn("refresh")},dc=0,Ta=1,Gs,Hr=function(e){if(!mt||e===2){J.isUpdating=!0,Gs&&Gs.update(0);var t=ie.length,r=vt(),n=r-ic>=50,s=t&&ie[0].scroll();if(Ta=dc>s?-1:1,mt||(dc=s),n&&(Xt&&!ka&&r-Xt>200&&(Xt=0,nn("scrollEnd")),Ea=ic,ic=r),Ta<0){for(gt=t;gt-- >0;)ie[gt]&&ie[gt].update(0,n);Ta=1}else for(gt=0;gt<t;gt++)ie[gt]&&ie[gt].update(0,n);J.isUpdating=!1}Us=0},hc=[Rp,Np,mc,gc,Gt+Ys,Gt+Vs,Gt+Hs,Gt+Ws,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Aa=hc.concat([Qi,Ji,"boxSizing","max"+Vn,"max"+vc,"position",Gt,Ie,Ie+Hs,Ie+Vs,Ie+Ys,Ie+Ws]),PD=function(e,t,r){zn(r);var n=e._gsap;if(n.spacerIsNative)zn(n.spacerState);else if(e._gsap.swappedIn){var s=t.parentNode;s&&(s.insertBefore(e,t),s.removeChild(t))}e._gsap.swappedIn=!1},oc=function(e,t,r,n){if(!e._gsap.swappedIn){for(var s=hc.length,o=t.style,a=e.style,u;s--;)u=hc[s],o[u]=r[u];o.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(o.display="inline-block"),a[mc]=a[gc]="auto",o.flexBasis=r.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[Qi]=cc(e,ot)+Qe,o[Ji]=cc(e,Ne)+Qe,o[Ie]=a[Gt]=a[Np]=a[Rp]="0",zn(n),a[Qi]=a["max"+Vn]=r[Qi],a[Ji]=a["max"+vc]=r[Ji],a[Ie]=r[Ie],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},OD=/([A-Z])/g,zn=function(e){if(e){var t=e.t.style,r=e.length,n=0,s,o;for((e.t._gsap||H.core.getCache(e.t)).uncache=1;n<r;n+=2)o=e[n+1],s=e[n],o?t[s]=o:t[s]&&t.removeProperty(s.replace(OD,"-$1").toLowerCase())}},ya=function(e){for(var t=Aa.length,r=e.style,n=[],s=0;s<t;s++)n.push(Aa[s],r[Aa[s]]);return n.t=e,n},MD=function(e,t,r){for(var n=[],s=e.length,o=r?8:0,a;o<s;o+=2)a=e[o],n.push(a,a in t?t[a]:e[o+1]);return n.t=e.t,n},Fa={left:0,top:0},Dp=function(e,t,r,n,s,o,a,u,l,c,h,d,f,_){Dt(e)&&(e=e(u)),It(e)&&e.substr(0,3)==="max"&&(e=d+(e.charAt(4)==="="?Ca("0"+e.substr(3),r):0));var p=f?f.time():0,g,m,v;if(f&&f.seek(0),isNaN(e)||(e=+e),wa(e))f&&(e=H.utils.mapRange(f.scrollTrigger.start,f.scrollTrigger.end,0,d,e)),a&&Sa(a,r,n,!0);else{Dt(t)&&(t=t(u));var D=(e||"0").split(" "),x,E,w,b;v=_t(t,u)||ve,x=Vr(v)||{},(!x||!x.left&&!x.top)&&Ut(v).display==="none"&&(b=v.style.display,v.style.display="block",x=Vr(v),b?v.style.display=b:v.style.removeProperty("display")),E=Ca(D[0],x[n.d]),w=Ca(D[1]||"0",r),e=x[n.p]-l[n.p]-c+E+s-w,a&&Sa(a,w,n,r-w<20||a._isStart&&w>20),r-=r-w}if(_&&(u[_]=e||-.001,e<0&&(e=0)),o){var C=e+r,A=o._isStart;g="scroll"+n.d2,Sa(o,C,n,A&&C>20||!A&&(h?Math.max(ve[g],ar[g]):o.parentNode[g])<=C+1),h&&(l=Vr(a),h&&(o.style[n.op.p]=l[n.op.p]-n.op.m-o._offset+Qe))}return f&&v&&(g=Vr(v),f.seek(d),m=Vr(v),f._caScrollDist=g[n.p]-m[n.p],e=e/f._caScrollDist*d),f&&f.seek(p),f?e:Math.round(e)},kD=/(webkit|moz|length|cssText|inset)/i,yp=function(e,t,r,n){if(e.parentNode!==t){var s=e.style,o,a;if(t===ve){e._stOrig=s.cssText,a=Ut(e);for(o in a)!+o&&!kD.test(o)&&a[o]&&typeof s[o]=="string"&&o!=="0"&&(s[o]=a[o]);s.top=r,s.left=n}else s.cssText=e._stOrig;H.core.getCache(e).uncache=1,t.appendChild(e)}},Hp=function(e,t,r){var n=t,s=n;return function(o){var a=Math.round(e());return a!==n&&a!==s&&Math.abs(a-n)>3&&Math.abs(a-s)>3&&(o=a,r&&r()),s=n,n=o,o}},xa=function(e,t,r){var n={};n[t.p]="+="+r,H.set(e,n)},xp=function(e,t){var r=Br(e,t),n="_scroll"+t.p2,s=function o(a,u,l,c,h){var d=o.tween,f=u.onComplete,_={};l=l||r();var p=Hp(r,l,function(){d.kill(),o.tween=0});return h=c&&h||0,c=c||a-l,d&&d.kill(),u[n]=a,u.modifiers=_,_[n]=function(){return p(l+c*d.ratio+h*d.ratio*d.ratio)},u.onUpdate=function(){re.cache++,Hr()},u.onComplete=function(){o.tween=0,f&&f.call(d)},d=o.tween=H.to(e,u),d};return e[n]=r,r.wheelHandler=function(){return s.tween&&s.tween.kill()&&(s.tween=0)},Ue(e,"wheel",r.wheelHandler),J.isTouch&&Ue(e,"touchmove",r.wheelHandler),s},J=function(){function i(t,r){Rn||i.register(H)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),lc(this),this.init(t,r)}var e=i.prototype;return e.init=function(r,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Is){this.update=this.refresh=this.kill=xr;return}r=_p(It(r)||wa(r)||r.nodeType?{trigger:r}:r,va);var s=r,o=s.onUpdate,a=s.toggleClass,u=s.id,l=s.onToggle,c=s.onRefresh,h=s.scrub,d=s.trigger,f=s.pin,_=s.pinSpacing,p=s.invalidateOnRefresh,g=s.anticipatePin,m=s.onScrubComplete,v=s.onSnapComplete,D=s.once,x=s.snap,E=s.pinReparent,w=s.pinSpacer,b=s.containerAnimation,C=s.fastScrollEnd,A=s.preventOverlaps,S=r.horizontal||r.containerAnimation&&r.horizontal!==!1?ot:Ne,P=!h&&h!==0,F=_t(r.scroller||ae),M=H.core.getCache(F),V=tn(F),B=("pinType"in r?r.pinType:zr(F,"pinType")||V&&"fixed")==="fixed",R=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],L=P&&r.toggleActions.split(" "),N="markers"in r?r.markers:va.markers,T=V?0:parseFloat(Ut(F)["border"+S.p2+Vn])||0,y=this,k=r.onRefreshInit&&function(){return r.onRefreshInit(y)},G=ED(F,V,S),Z=wD(F,V),U=0,X=0,I=0,Y=Br(F,S),fe,ee,te,Je,Ft,z,$,Ce,Be,O,Pt,Tr,bi,Le,Ei,wi,es,Xe,Pe,Kt,Zt,Ci,Ar,fr,yt,Si,dn,hn,Ti,$r,Kr,le,Ai,Qt,Jt,er,Fi,pn,Fr;if(y._startClamp=y._endClamp=!1,y._dir=S,g*=45,y.scroller=F,y.scroll=b?b.time.bind(b):Y,Je=Y(),y.vars=r,n=n||r.animation,"refreshPriority"in r&&(Sp=1,r.refreshPriority===-9999&&(Gs=y)),M.tweenScroll=M.tweenScroll||{top:xp(F,Ne),left:xp(F,ot)},y.tweenTo=fe=M.tweenScroll[S.p],y.scrubDuration=function(W){Ai=wa(W)&&W,Ai?le?le.duration(W):le=H.to(n,{ease:"expo",totalProgress:"+=0",duration:Ai,paused:!0,onComplete:function(){return m&&m(y)}}):(le&&le.progress(1).kill(),le=0)},n&&(n.vars.lazy=!1,n._initted&&!y.isReverted||n.vars.immediateRender!==!1&&r.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),y.animation=n.pause(),n.scrollTrigger=y,y.scrubDuration(h),$r=0,u||(u=n.vars.id)),x&&((!Ki(x)||x.push)&&(x={snapTo:x}),"scrollBehavior"in ve.style&&H.set(V?[ve,ar]:F,{scrollBehavior:"auto"}),re.forEach(function(W){return Dt(W)&&W.target===(V?Ee.scrollingElement||ar:F)&&(W.smooth=!1)}),te=Dt(x.snapTo)?x.snapTo:x.snapTo==="labels"?SD(n):x.snapTo==="labelsDirectional"?TD(n):x.directional!==!1?function(W,ue){return Dc(x.snapTo)(W,vt()-X<500?0:ue.direction)}:H.utils.snap(x.snapTo),Qt=x.duration||{min:.1,max:2},Qt=Ki(Qt)?In(Qt.min,Qt.max):In(Qt,Qt),Jt=H.delayedCall(x.delay||Ai/2||.1,function(){var W=Y(),ue=vt()-X<500,j=fe.tween;if((ue||Math.abs(y.getVelocity())<10)&&!j&&!ka&&U!==W){var ne=(W-z)/Le,He=n&&!P?n.totalProgress():ne,ce=ue?0:(He-Kr)/(vt()-Ea)*1e3||0,Oe=H.utils.clamp(-ne,1-ne,kn(ce/2)*ce/.185),ut=ne+(x.inertia===!1?0:Oe),qe=In(0,1,te(ut,y)),De=Math.round(z+qe*Le),he=x,tr=he.onStart,ye=he.onInterrupt,Ot=he.onComplete;if(W<=$&&W>=z&&De!==W){if(j&&!j._initted&&j.data<=kn(De-W))return;x.inertia===!1&&(Oe=qe-ne),fe(De,{duration:Qt(kn(Math.max(kn(ut-He),kn(qe-He))*.185/ce/.05||0)),ease:x.ease||"power3",data:kn(De-W),onInterrupt:function(){return Jt.restart(!0)&&ye&&ye(y)},onComplete:function(){y.update(),U=Y(),$r=Kr=n&&!P?n.totalProgress():y.progress,v&&v(y),Ot&&Ot(y)}},W,Oe*Le,De-W-Oe*Le),tr&&tr(y,fe.tween)}}else y.isActive&&U!==W&&Jt.restart(!0)}).pause()),u&&(fc[u]=y),d=y.trigger=_t(d||f!==!0&&f),Fr=d&&d._gsap&&d._gsap.stRevert,Fr&&(Fr=Fr(y)),f=f===!0?d:_t(f),It(a)&&(a={targets:d,className:a}),f&&(_===!1||_===Gt||(_=!_&&f.parentNode&&f.parentNode.style&&Ut(f.parentNode).display==="flex"?!1:Ie),y.pin=f,ee=H.core.getCache(f),ee.spacer?Ei=ee.pinState:(w&&(w=_t(w),w&&!w.nodeType&&(w=w.current||w.nativeElement),ee.spacerIsNative=!!w,w&&(ee.spacerState=ya(w))),ee.spacer=Xe=w||Ee.createElement("div"),Xe.classList.add("pin-spacer"),u&&Xe.classList.add("pin-spacer-"+u),ee.pinState=Ei=ya(f)),r.force3D!==!1&&H.set(f,{force3D:!0}),y.spacer=Xe=ee.spacer,Ti=Ut(f),fr=Ti[_+S.os2],Kt=H.getProperty(f),Zt=H.quickSetter(f,S.a,Qe),oc(f,Xe,Ti),es=ya(f)),N){Tr=Ki(N)?_p(N,gp):gp,O=Da("scroller-start",u,F,S,Tr,0),Pt=Da("scroller-end",u,F,S,Tr,0,O),Pe=O["offset"+S.op.d2];var K=_t(zr(F,"content")||F);Ce=this.markerStart=Da("start",u,K,S,Tr,Pe,0,b),Be=this.markerEnd=Da("end",u,K,S,Tr,Pe,0,b),b&&(pn=H.quickSetter([Ce,Be],S.a,Qe)),!B&&!(or.length&&zr(F,"fixedMarkers")===!0)&&(CD(V?ve:F),H.set([O,Pt],{force3D:!0}),Si=H.quickSetter(O,S.a,Qe),hn=H.quickSetter(Pt,S.a,Qe))}if(b){var q=b.vars.onUpdate,de=b.vars.onUpdateParams;b.eventCallback("onUpdate",function(){y.update(0,0,1),q&&q.apply(b,de||[])})}if(y.previous=function(){return ie[ie.indexOf(y)-1]},y.next=function(){return ie[ie.indexOf(y)+1]},y.revert=function(W,ue){if(!ue)return y.kill(!0);var j=W!==!1||!y.enabled,ne=at;j!==y.isReverted&&(j&&(er=Math.max(Y(),y.scroll.rec||0),I=y.progress,Fi=n&&n.progress()),Ce&&[Ce,Be,O,Pt].forEach(function(He){return He.style.display=j?"none":"block"}),j&&(at=y,y.update(j)),f&&(!E||!y.isActive)&&(j?PD(f,Xe,Ei):oc(f,Xe,Ut(f),yt)),j||y.update(j),at=ne,y.isReverted=j)},y.refresh=function(W,ue,j,ne){if(!((at||!y.enabled)&&!ue)){if(f&&W&&Xt){Ue(i,"scrollEnd",Bp);return}!mt&&k&&k(y),at=y,fe.tween&&!j&&(fe.tween.kill(),fe.tween=0),le&&le.pause(),p&&n&&n.revert({kill:!1}).invalidate(),y.isReverted||y.revert(!0,!0),y._subPinOffset=!1;var He=G(),ce=Z(),Oe=b?b.duration():Wr(F,S),ut=Le<=.01,qe=0,De=ne||0,he=Ki(j)?j.end:r.end,tr=r.endTrigger||d,ye=Ki(j)?j.start:r.start||(r.start===0||!d?0:f?"0 0":"0 100%"),Ot=y.pinnedContainer=r.pinnedContainer&&_t(r.pinnedContainer,y),dr=d&&Math.max(0,ie.indexOf(y))||0,Mt=dr,je,et,Pi,vo,tt,ze,hr,lu,sf,ts,pr,rs,Do;for(N&&Ki(j)&&(rs=H.getProperty(O,S.p),Do=H.getProperty(Pt,S.p));Mt--;)ze=ie[Mt],ze.end||ze.refresh(0,1)||(at=y),hr=ze.pin,hr&&(hr===d||hr===f||hr===Ot)&&!ze.isReverted&&(ts||(ts=[]),ts.unshift(ze),ze.revert(!0,!0)),ze!==ie[Mt]&&(dr--,Mt--);for(Dt(ye)&&(ye=ye(y)),ye=fp(ye,"start",y),z=Dp(ye,d,He,S,Y(),Ce,O,y,ce,T,B,Oe,b,y._startClamp&&"_startClamp")||(f?-.001:0),Dt(he)&&(he=he(y)),It(he)&&!he.indexOf("+=")&&(~he.indexOf(" ")?he=(It(ye)?ye.split(" ")[0]:"")+he:(qe=Ca(he.substr(2),He),he=It(ye)?ye:(b?H.utils.mapRange(0,b.duration(),b.scrollTrigger.start,b.scrollTrigger.end,z):z)+qe,tr=d)),he=fp(he,"end",y),$=Math.max(z,Dp(he||(tr?"100% 0":Oe),tr,He,S,Y()+qe,Be,Pt,y,ce,T,B,Oe,b,y._endClamp&&"_endClamp"))||-.001,qe=0,Mt=dr;Mt--;)ze=ie[Mt],hr=ze.pin,hr&&ze.start-ze._pinPush<=z&&!b&&ze.end>0&&(je=ze.end-(y._startClamp?Math.max(0,ze.start):ze.start),(hr===d&&ze.start-ze._pinPush<z||hr===Ot)&&isNaN(ye)&&(qe+=je*(1-ze.progress)),hr===f&&(De+=je));if(z+=qe,$+=qe,y._startClamp&&(y._startClamp+=qe),y._endClamp&&!mt&&(y._endClamp=$||-.001,$=Math.min($,Wr(F,S))),Le=$-z||(z-=.01)&&.001,ut&&(I=H.utils.clamp(0,1,H.utils.normalize(z,$,er))),y._pinPush=De,Ce&&qe&&(je={},je[S.a]="+="+qe,Ot&&(je[S.p]="-="+Y()),H.set([Ce,Be],je)),f)je=Ut(f),vo=S===Ne,Pi=Y(),Ci=parseFloat(Kt(S.a))+De,!Oe&&$>1&&(pr=(V?Ee.scrollingElement||ar:F).style,pr={style:pr,value:pr["overflow"+S.a.toUpperCase()]},V&&Ut(ve)["overflow"+S.a.toUpperCase()]!=="scroll"&&(pr.style["overflow"+S.a.toUpperCase()]="scroll")),oc(f,Xe,je),es=ya(f),et=Vr(f,!0),lu=B&&Br(F,vo?ot:Ne)(),_&&(yt=[_+S.os2,Le+De+Qe],yt.t=Xe,Mt=_===Ie?cc(f,S)+Le+De:0,Mt&&yt.push(S.d,Mt+Qe),zn(yt),Ot&&ie.forEach(function(is){is.pin===Ot&&is.vars.pinSpacing!==!1&&(is._subPinOffset=!0)}),B&&Y(er)),B&&(tt={top:et.top+(vo?Pi-z:lu)+Qe,left:et.left+(vo?lu:Pi-z)+Qe,boxSizing:"border-box",position:"fixed"},tt[Qi]=tt["max"+Vn]=Math.ceil(et.width)+Qe,tt[Ji]=tt["max"+vc]=Math.ceil(et.height)+Qe,tt[Gt]=tt[Gt+Hs]=tt[Gt+Vs]=tt[Gt+Ys]=tt[Gt+Ws]="0",tt[Ie]=je[Ie],tt[Ie+Hs]=je[Ie+Hs],tt[Ie+Vs]=je[Ie+Vs],tt[Ie+Ys]=je[Ie+Ys],tt[Ie+Ws]=je[Ie+Ws],wi=MD(Ei,tt,E),mt&&Y(0)),n?(sf=n._initted,tc(1),n.render(n.duration(),!0,!0),Ar=Kt(S.a)-Ci+Le+De,dn=Math.abs(Le-Ar)>1,B&&dn&&wi.splice(wi.length-2,2),n.render(0,!0,!0),sf||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),tc(0)):Ar=Le,pr&&(pr.value?pr.style["overflow"+S.a.toUpperCase()]=pr.value:pr.style.removeProperty("overflow-"+S.a));else if(d&&Y()&&!b)for(et=d.parentNode;et&&et!==ve;)et._pinOffset&&(z-=et._pinOffset,$-=et._pinOffset),et=et.parentNode;ts&&ts.forEach(function(is){return is.revert(!1,!0)}),y.start=z,y.end=$,Je=Ft=mt?er:Y(),!b&&!mt&&(Je<er&&Y(er),y.scroll.rec=0),y.revert(!1,!0),X=vt(),Jt&&(U=-1,Jt.restart(!0)),at=0,n&&P&&(n._initted||Fi)&&n.progress()!==Fi&&n.progress(Fi||0,!0).render(n.time(),!0,!0),(ut||I!==y.progress||b)&&(n&&!P&&n.totalProgress(b&&z<-.001&&!I?H.utils.normalize(z,$,0):I,!0),y.progress=ut||(Je-z)/Le===I?0:I),f&&_&&(Xe._pinOffset=Math.round(y.progress*Ar)),le&&le.invalidate(),isNaN(rs)||(rs-=H.getProperty(O,S.p),Do-=H.getProperty(Pt,S.p),xa(O,S,rs),xa(Ce,S,rs-(ne||0)),xa(Pt,S,Do),xa(Be,S,Do-(ne||0))),ut&&!mt&&y.update(),c&&!mt&&!bi&&(bi=!0,c(y),bi=!1)}},y.getVelocity=function(){return(Y()-Ft)/(vt()-Ea)*1e3||0},y.endAnimation=function(){Ns(y.callbackAnimation),n&&(le?le.progress(1):n.paused()?P||Ns(n,y.direction<0,1):Ns(n,n.reversed()))},y.labelToScroll=function(W){return n&&n.labels&&(z||y.refresh()||z)+n.labels[W]/n.duration()*Le||0},y.getTrailing=function(W){var ue=ie.indexOf(y),j=y.direction>0?ie.slice(0,ue).reverse():ie.slice(ue+1);return(It(W)?j.filter(function(ne){return ne.vars.preventOverlaps===W}):j).filter(function(ne){return y.direction>0?ne.end<=z:ne.start>=$})},y.update=function(W,ue,j){if(!(b&&!j&&!W)){var ne=mt===!0?er:y.scroll(),He=W?0:(ne-z)/Le,ce=He<0?0:He>1?1:He||0,Oe=y.progress,ut,qe,De,he,tr,ye,Ot,dr;if(ue&&(Ft=Je,Je=b?Y():ne,x&&(Kr=$r,$r=n&&!P?n.totalProgress():ce)),g&&!ce&&f&&!at&&!pa&&Xt&&z<ne+(ne-Ft)/(vt()-Ea)*g&&(ce=1e-4),ce!==Oe&&y.enabled){if(ut=y.isActive=!!ce&&ce<1,qe=!!Oe&&Oe<1,ye=ut!==qe,tr=ye||!!ce!=!!Oe,y.direction=ce>Oe?1:-1,y.progress=ce,tr&&!at&&(De=ce&&!Oe?0:ce===1?1:Oe===1?2:3,P&&(he=!ye&&L[De+1]!=="none"&&L[De+1]||L[De],dr=n&&(he==="complete"||he==="reset"||he in n))),A&&(ye||dr)&&(dr||h||!n)&&(Dt(A)?A(y):y.getTrailing(A).forEach(function(Pi){return Pi.endAnimation()})),P||(le&&!at&&!pa?(le._dp._time-le._start!==le._time&&le.render(le._dp._time-le._start),le.resetTo?le.resetTo("totalProgress",ce,n._tTime/n._tDur):(le.vars.totalProgress=ce,le.invalidate().restart())):n&&n.totalProgress(ce,!!(at&&(X||W)))),f){if(W&&_&&(Xe.style[_+S.os2]=fr),!B)Zt(Bs(Ci+Ar*ce));else if(tr){if(Ot=!W&&ce>Oe&&$+1>ne&&ne+1>=Wr(F,S),E)if(!W&&(ut||Ot)){var Mt=Vr(f,!0),je=ne-z;yp(f,ve,Mt.top+(S===Ne?je:0)+Qe,Mt.left+(S===Ne?0:je)+Qe)}else yp(f,Xe);zn(ut||Ot?wi:es),dn&&ce<1&&ut||Zt(Ci+(ce===1&&!Ot?Ar:0))}}x&&!fe.tween&&!at&&!pa&&Jt.restart(!0),a&&(ye||D&&ce&&(ce<1||!rc))&&Oa(a.targets).forEach(function(Pi){return Pi.classList[ut||D?"add":"remove"](a.className)}),o&&!P&&!W&&o(y),tr&&!at?(P&&(dr&&(he==="complete"?n.pause().totalProgress(1):he==="reset"?n.restart(!0).pause():he==="restart"?n.restart(!0):n[he]()),o&&o(y)),(ye||!rc)&&(l&&ye&&nc(y,l),R[De]&&nc(y,R[De]),D&&(ce===1?y.kill(!1,1):R[De]=0),ye||(De=ce===1?1:3,R[De]&&nc(y,R[De]))),C&&!ut&&Math.abs(y.getVelocity())>(wa(C)?C:2500)&&(Ns(y.callbackAnimation),le?le.progress(1):Ns(n,he==="reverse"?1:!ce,1))):P&&o&&!at&&o(y)}if(hn){var et=b?ne/b.duration()*(b._caScrollDist||0):ne;Si(et+(O._isFlipped?1:0)),hn(et)}pn&&pn(-ne/b.duration()*(b._caScrollDist||0))}},y.enable=function(W,ue){y.enabled||(y.enabled=!0,Ue(F,"resize",zs),V||Ue(F,"scroll",Ln),k&&Ue(i,"refreshInit",k),W!==!1&&(y.progress=I=0,Je=Ft=U=Y()),ue!==!1&&y.refresh())},y.getTween=function(W){return W&&fe?fe.tween:le},y.setPositions=function(W,ue,j,ne){if(b){var He=b.scrollTrigger,ce=b.duration(),Oe=He.end-He.start;W=He.start+Oe*W/ce,ue=He.start+Oe*ue/ce}y.refresh(!1,!1,{start:dp(W,j&&!!y._startClamp),end:dp(ue,j&&!!y._endClamp)},ne),y.update()},y.adjustPinSpacing=function(W){if(yt&&W){var ue=yt.indexOf(S.d)+1;yt[ue]=parseFloat(yt[ue])+W+Qe,yt[1]=parseFloat(yt[1])+W+Qe,zn(yt)}},y.disable=function(W,ue){if(y.enabled&&(W!==!1&&y.revert(!0,!0),y.enabled=y.isActive=!1,ue||le&&le.pause(),er=0,ee&&(ee.uncache=1),k&&Ge(i,"refreshInit",k),Jt&&(Jt.pause(),fe.tween&&fe.tween.kill()&&(fe.tween=0)),!V)){for(var j=ie.length;j--;)if(ie[j].scroller===F&&ie[j]!==y)return;Ge(F,"resize",zs),V||Ge(F,"scroll",Ln)}},y.kill=function(W,ue){y.disable(W,ue),le&&!ue&&le.kill(),u&&delete fc[u];var j=ie.indexOf(y);j>=0&&ie.splice(j,1),j===gt&&Ta>0&>--,j=0,ie.forEach(function(ne){return ne.scroller===y.scroller&&(j=1)}),j||mt||(y.scroll.rec=0),n&&(n.scrollTrigger=null,W&&n.revert({kill:!1}),ue||n.kill()),Ce&&[Ce,Be,O,Pt].forEach(function(ne){return ne.parentNode&&ne.parentNode.removeChild(ne)}),Gs===y&&(Gs=0),f&&(ee&&(ee.uncache=1),j=0,ie.forEach(function(ne){return ne.pin===f&&j++}),j||(ee.spacer=0)),r.onKill&&r.onKill(y)},ie.push(y),y.enable(!1,!1),Fr&&Fr(y),n&&n.add&&!Le){var Se=y.update;y.update=function(){y.update=Se,z||$||y.refresh()},H.delayedCall(.01,y.update),Le=.01,z=$=0}else y.refresh();f&&FD()},i.register=function(r){return Rn||(H=r||Mp(),Op()&&window.document&&i.enable(),Rn=Is),Rn},i.defaults=function(r){if(r)for(var n in r)va[n]=r[n];return va},i.disable=function(r,n){Is=0,ie.forEach(function(o){return o[n?"kill":"disable"](r)}),Ge(ae,"wheel",Ln),Ge(Ee,"scroll",Ln),clearInterval(ha),Ge(Ee,"touchcancel",xr),Ge(ve,"touchstart",xr),ga(Ge,Ee,"pointerdown,touchstart,mousedown",hp),ga(Ge,Ee,"pointerup,touchend,mouseup",pp),Pa.kill(),_a(Ge);for(var s=0;s<re.length;s+=3)ma(Ge,re[s],re[s+1]),ma(Ge,re[s],re[s+2])},i.enable=function(){if(ae=window,Ee=document,ar=Ee.documentElement,ve=Ee.body,H&&(Oa=H.utils.toArray,In=H.utils.clamp,lc=H.core.context||xr,tc=H.core.suppressOverwrites||xr,pc=ae.history.scrollRestoration||"auto",dc=ae.pageYOffset,H.core.globals("ScrollTrigger",i),ve)){Is=1,Bn=document.createElement("div"),Bn.style.height="100vh",Bn.style.position="absolute",Wp(),bD(),ke.register(H),i.isTouch=ke.isTouch,pi=ke.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Ue(ae,"wheel",Ln),Cp=[ae,Ee,ar,ve],H.matchMedia?(i.matchMedia=function(u){var l=H.matchMedia(),c;for(c in u)l.add(c,u[c]);return l},H.addEventListener("matchMediaInit",function(){return yc()}),H.addEventListener("matchMediaRevert",function(){return zp()}),H.addEventListener("matchMedia",function(){Zi(0,1),nn("matchMedia")}),H.matchMedia("(orientation: portrait)",function(){return sc(),sc})):console.warn("Requires GSAP 3.11.0 or later"),sc(),Ue(Ee,"scroll",Ln);var r=ve.style,n=r.borderTopStyle,s=H.core.Animation.prototype,o,a;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),r.borderTopStyle="solid",o=Vr(ve),Ne.m=Math.round(o.top+Ne.sc())||0,ot.m=Math.round(o.left+ot.sc())||0,n?r.borderTopStyle=n:r.removeProperty("border-top-style"),ha=setInterval(mp,250),H.delayedCall(.5,function(){return pa=0}),Ue(Ee,"touchcancel",xr),Ue(ve,"touchstart",xr),ga(Ue,Ee,"pointerdown,touchstart,mousedown",hp),ga(Ue,Ee,"pointerup,touchend,mouseup",pp),uc=H.utils.checkPrefix("transform"),Aa.push(uc),Rn=vt(),Pa=H.delayedCall(.2,Zi).pause(),Nn=[Ee,"visibilitychange",function(){var u=ae.innerWidth,l=ae.innerHeight;Ee.hidden?(lp=u,cp=l):(lp!==u||cp!==l)&&zs()},Ee,"DOMContentLoaded",Zi,ae,"load",Zi,ae,"resize",zs],_a(Ue),ie.forEach(function(u){return u.enable(0,1)}),a=0;a<re.length;a+=3)ma(Ge,re[a],re[a+1]),ma(Ge,re[a],re[a+2])}},i.config=function(r){"limitCallbacks"in r&&(rc=!!r.limitCallbacks);var n=r.syncInterval;n&&clearInterval(ha)||(ha=n)&&setInterval(mp,n),"ignoreMobileResize"in r&&(Ap=i.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(_a(Ge)||_a(Ue,r.autoRefreshEvents||"none"),Tp=(r.autoRefreshEvents+"").indexOf("resize")===-1)},i.scrollerProxy=function(r,n){var s=_t(r),o=re.indexOf(s),a=tn(s);~o&&re.splice(o,a?6:2),n&&(a?or.unshift(ae,n,ve,n,ar,n):or.unshift(s,n))},i.clearMatchMedia=function(r){ie.forEach(function(n){return n._ctx&&n._ctx.query===r&&n._ctx.kill(!0,!0)})},i.isInViewport=function(r,n,s){var o=(It(r)?_t(r):r).getBoundingClientRect(),a=o[s?Qi:Ji]*n||0;return s?o.right-a>0&&o.left+a<ae.innerWidth:o.bottom-a>0&&o.top+a<ae.innerHeight},i.positionInViewport=function(r,n,s){It(r)&&(r=_t(r));var o=r.getBoundingClientRect(),a=o[s?Qi:Ji],u=n==null?a/2:n in Ma?Ma[n]*a:~n.indexOf("%")?parseFloat(n)*a/100:parseFloat(n)||0;return s?(o.left+u)/ae.innerWidth:(o.top+u)/ae.innerHeight},i.killAll=function(r){if(ie.slice(0).forEach(function(s){return s.vars.id!=="ScrollSmoother"&&s.kill()}),r!==!0){var n=rn.killAll||[];rn={},n.forEach(function(s){return s()})}},i}();J.version="3.12.2";J.saveStyles=function(i){return i?Oa(i).forEach(function(e){if(e&&e.style){var t=Nt.indexOf(e);t>=0&&Nt.splice(t,5),Nt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),H.core.getCache(e),lc())}}):Nt};J.revert=function(i,e){return yc(!i,e)};J.create=function(i,e){return new J(i,e)};J.refresh=function(i){return i?zs():(Rn||J.register())&&Zi(!0)};J.update=function(i){return++re.cache&&Hr(i===!0?2:0)};J.clearScrollMemory=Vp;J.maxScroll=function(i,e){return Wr(i,e?ot:Ne)};J.getScrollFunc=function(i,e){return Br(_t(i),e?ot:Ne)};J.getById=function(i){return fc[i]};J.getAll=function(){return ie.filter(function(i){return i.vars.id!=="ScrollSmoother"})};J.isScrolling=function(){return!!Xt};J.snapDirectional=Dc;J.addEventListener=function(i,e){var t=rn[i]||(rn[i]=[]);~t.indexOf(e)||t.push(e)};J.removeEventListener=function(i,e){var t=rn[i],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)};J.batch=function(i,e){var t=[],r={},n=e.interval||.016,s=e.batchMax||1e9,o=function(l,c){var h=[],d=[],f=H.delayedCall(n,function(){c(h,d),h=[],d=[]}).pause();return function(_){h.length||f.restart(!0),h.push(_.trigger),d.push(_),s<=h.length&&f.progress(1)}},a;for(a in e)r[a]=a.substr(0,2)==="on"&&Dt(e[a])&&a!=="onRefreshInit"?o(a,e[a]):e[a];return Dt(s)&&(s=s(),Ue(J,"refresh",function(){return s=e.batchMax()})),Oa(i).forEach(function(u){var l={};for(a in r)l[a]=r[a];l.trigger=u,t.push(J.create(l))}),t};var bp=function(e,t,r,n){return t>n?e(n):t<0&&e(0),r>n?(n-t)/(r-t):r<0?t/(t-r):1},ac=function i(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(ke.isTouch?" pinch-zoom":""):"none",e===ar&&i(ve,t)},ba={auto:1,scroll:1},LD=function(e){var t=e.event,r=e.target,n=e.axis,s=(t.changedTouches?t.changedTouches[0]:t).target,o=s._gsap||H.core.getCache(s),a=vt(),u;if(!o._isScrollT||a-o._isScrollT>2e3){for(;s&&s!==ve&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!(ba[(u=Ut(s)).overflowY]||ba[u.overflowX]));)s=s.parentNode;o._isScroll=s&&s!==r&&!tn(s)&&(ba[(u=Ut(s)).overflowY]||ba[u.overflowX]),o._isScrollT=a}(o._isScroll||n==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},Yp=function(e,t,r,n){return ke.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&LD,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&Ue(Ee,ke.eventTypes[0],wp,!1,!0)},onDisable:function(){return Ge(Ee,ke.eventTypes[0],wp,!0)}})},RD=/(input|label|select|textarea)/i,Ep,wp=function(e){var t=RD.test(e.target.tagName);(t||Ep)&&(e._gsapAllow=!0,Ep=t)},ND=function(e){Ki(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t=e,r=t.normalizeScrollX,n=t.momentum,s=t.allowNestedScroll,o=t.onRelease,a,u,l=_t(e.target)||ar,c=H.core.globals().ScrollSmoother,h=c&&c.get(),d=pi&&(e.content&&_t(e.content)||h&&e.content!==!1&&!h.smooth()&&h.content()),f=Br(l,Ne),_=Br(l,ot),p=1,g=(ke.isTouch&&ae.visualViewport?ae.visualViewport.scale*ae.visualViewport.width:ae.outerWidth)/ae.innerWidth,m=0,v=Dt(n)?function(){return n(a)}:function(){return n||2.8},D,x,E=Yp(l,e.type,!0,s),w=function(){return x=!1},b=xr,C=xr,A=function(){u=Wr(l,Ne),C=In(pi?1:0,u),r&&(b=In(0,Wr(l,ot))),D=en},S=function(){d._gsap.y=Bs(parseFloat(d._gsap.y)+f.offset)+"px",d.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(d._gsap.y)+", 0, 1)",f.offset=f.cacheID=0},P=function(){if(x){requestAnimationFrame(w);var N=Bs(a.deltaY/2),T=C(f.v-N);if(d&&T!==f.v+f.offset){f.offset=T-f.v;var y=Bs((parseFloat(d&&d._gsap.y)||0)-f.offset);d.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+y+", 0, 1)",d._gsap.y=y+"px",f.cacheID=re.cache,Hr()}return!0}f.offset&&S(),x=!0},F,M,V,B,R=function(){A(),F.isActive()&&F.vars.scrollY>u&&(f()>u?F.progress(1)&&f(u):F.resetTo("scrollY",u))};return d&&H.set(d,{y:"+=0"}),e.ignoreCheck=function(L){return pi&&L.type==="touchmove"&&P(L)||p>1.05&&L.type!=="touchstart"||a.isGesturing||L.touches&&L.touches.length>1},e.onPress=function(){x=!1;var L=p;p=Bs((ae.visualViewport&&ae.visualViewport.scale||1)/g),F.pause(),L!==p&&ac(l,p>1.01?!0:r?!1:"x"),M=_(),V=f(),A(),D=en},e.onRelease=e.onGestureStart=function(L,N){if(f.offset&&S(),!N)B.restart(!0);else{re.cache++;var T=v(),y,k;r&&(y=_(),k=y+T*.05*-L.velocityX/.227,T*=bp(_,y,k,Wr(l,ot)),F.vars.scrollX=b(k)),y=f(),k=y+T*.05*-L.velocityY/.227,T*=bp(f,y,k,Wr(l,Ne)),F.vars.scrollY=C(k),F.invalidate().duration(T).play(.01),(pi&&F.vars.scrollY>=u||y>=u-1)&&H.to({},{onUpdate:R,duration:T})}o&&o(L)},e.onWheel=function(){F._ts&&F.pause(),vt()-m>1e3&&(D=0,m=vt())},e.onChange=function(L,N,T,y,k){if(en!==D&&A(),N&&r&&_(b(y[2]===N?M+(L.startX-L.x):_()+N-y[1])),T){f.offset&&S();var G=k[2]===T,Z=G?V+L.startY-L.y:f()+T-k[1],U=C(Z);G&&Z!==U&&(V+=U-Z),f(U)}(T||N)&&Hr()},e.onEnable=function(){ac(l,r?!1:"x"),J.addEventListener("refresh",R),Ue(ae,"resize",R),f.smooth&&(f.target.style.scrollBehavior="auto",f.smooth=_.smooth=!1),E.enable()},e.onDisable=function(){ac(l,!0),Ge(ae,"resize",R),J.removeEventListener("refresh",R),E.kill()},e.lockAxis=e.lockAxis!==!1,a=new ke(e),a.iOS=pi,pi&&!f()&&f(1),pi&&H.ticker.add(xr),B=a._dc,F=H.to(a,{ease:"power4",paused:!0,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Hp(f,f(),function(){return F.pause()})},onUpdate:Hr,onComplete:B.vars.onComplete}),a};J.sort=function(i){return ie.sort(i||function(e,t){return(e.vars.refreshPriority||0)*-1e6+e.start-(t.start+(t.vars.refreshPriority||0)*-1e6)})};J.observe=function(i){return new ke(i)};J.normalizeScroll=function(i){if(typeof i>"u")return Rt;if(i===!0&&Rt)return Rt.enable();if(i===!1)return Rt&&Rt.kill();var e=i instanceof ke?i:ND(i);return Rt&&Rt.target===e.target&&Rt.kill(),tn(e.target)&&(Rt=e),e};J.core={_getVelocityProp:da,_inputObserver:Yp,_scrollers:re,_proxies:or,bridge:{ss:function(){Xt||nn("scrollStart"),Xt=vt()},ref:function(){return at}}};Mp()&&H.registerPlugin(J);var Gp=/([\uD800-\uDBFF][\uDC00-\uDFFF](?:[\u200D\uFE0F][\uD800-\uDBFF][\uDC00-\uDFFF]){2,}|\uD83D\uDC69(?:\u200D(?:(?:\uD83D\uDC69\u200D)?\uD83D\uDC67|(?:\uD83D\uDC69\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]\uFE0F|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC6F\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3C-\uDD3E\uDDD6-\uDDDF])\u200D[\u2640\u2642]\uFE0F|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F\u200D[\u2640\u2642]|(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642])\uFE0F|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\uD83D\uDC69\u200D[\u2695\u2696\u2708]|\uD83D\uDC68(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708]))\uFE0F|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83D\uDC69\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|\uD83D\uDC68(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]))|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDD1-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\u200D(?:(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDD1-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])?|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDEEB\uDEEC\uDEF4-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267B\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])\uFE0F)/;function xc(i){var e=i.nodeType,t="";if(e===1||e===9||e===11){if(typeof i.textContent=="string")return i.textContent;for(i=i.firstChild;i;i=i.nextSibling)t+=xc(i)}else if(e===3||e===4)return i.nodeValue;return t}var Wn,Ec,qp,Xs,jp,La,ID=/(?:\r|\n|\t\t)/g,BD=/(?:\s\s+)/g,$p=function(e){Wn=document,Ec=window,Xs=Xs||e||Ec.gsap||console.warn("Please gsap.registerPlugin(SplitText)"),Xs&&(La=Xs.utils.toArray,jp=Xs.core.context||function(){},qp=1)},zD=1,Kp=function(e){return Ec.getComputedStyle(e)},wc=function(e){return e.position==="absolute"||e.absolute===!0},VD=function(e,t){for(var r=t.length,n;--r>-1;)if(n=t[r],e.substr(0,n.length)===n)return n.length},WD=" style='position:relative;display:inline-block;'",Up=function(e,t){e===void 0&&(e="");var r=~e.indexOf("++"),n=1;return r&&(e=e.split("++").join("")),function(){return"<"+t+WD+(e?" class='"+e+(r?n++:"")+"'>":">")}},Zp=function i(e,t,r){var n=e.nodeType;if(n===1||n===9||n===11)for(e=e.firstChild;e;e=e.nextSibling)i(e,t,r);else(n===3||n===4)&&(e.nodeValue=e.nodeValue.split(t).join(r))},bc=function(e,t){for(var r=t.length;--r>-1;)e.push(t[r])},Xp=function(e,t,r){for(var n;e&&e!==t;){if(n=e._next||e.nextSibling,n)return n.textContent.charAt(0)===r;e=e.parentNode||e._parent}},HD=function i(e){var t=La(e.childNodes),r=t.length,n,s;for(n=0;n<r;n++)s=t[n],s._isSplit?i(s):n&&s.previousSibling&&s.previousSibling.nodeType===3?(s.previousSibling.nodeValue+=s.nodeType===3?s.nodeValue:s.firstChild.nodeValue,e.removeChild(s)):s.nodeType!==3&&(e.insertBefore(s.firstChild,s),e.removeChild(s))},br=function(e,t){return parseFloat(t[e])||0},YD=function(e,t,r,n,s,o,a){var u=Kp(e),l=br("paddingLeft",u),c=-999,h=br("borderBottomWidth",u)+br("borderTopWidth",u),d=br("borderLeftWidth",u)+br("borderRightWidth",u),f=br("paddingTop",u)+br("paddingBottom",u),_=br("paddingLeft",u)+br("paddingRight",u),p=br("fontSize",u)*(t.lineThreshold||.2),g=u.textAlign,m=[],v=[],D=[],x=t.wordDelimiter||" ",E=t.tag?t.tag:t.span?"span":"div",w=t.type||t.split||"chars,words,lines",b=s&&~w.indexOf("lines")?[]:null,C=~w.indexOf("words"),A=~w.indexOf("chars"),S=wc(t),P=t.linesClass,F=~(P||"").indexOf("++"),M=[],V=u.display==="flex",B=e.style.display,R,L,N,T,y,k,G,Z,U,X,I,Y;for(F&&(P=P.split("++").join("")),V&&(e.style.display="block"),L=e.getElementsByTagName("*"),N=L.length,y=[],R=0;R<N;R++)y[R]=L[R];if(b||S)for(R=0;R<N;R++)T=y[R],k=T.parentNode===e,(k||S||A&&!C)&&(Y=T.offsetTop,b&&k&&Math.abs(Y-c)>p&&(T.nodeName!=="BR"||R===0)&&(G=[],b.push(G),c=Y),S&&(T._x=T.offsetLeft,T._y=Y,T._w=T.offsetWidth,T._h=T.offsetHeight),b&&((T._isSplit&&k||!A&&k||C&&k||!C&&T.parentNode.parentNode===e&&!T.parentNode._isSplit)&&(G.push(T),T._x-=l,Xp(T,e,x)&&(T._wordEnd=!0)),T.nodeName==="BR"&&(T.nextSibling&&T.nextSibling.nodeName==="BR"||R===0)&&b.push([])));for(R=0;R<N;R++){if(T=y[R],k=T.parentNode===e,T.nodeName==="BR"){b||S?(T.parentNode&&T.parentNode.removeChild(T),y.splice(R--,1),N--):C||e.appendChild(T);continue}if(S&&(U=T.style,!C&&!k&&(T._x+=T.parentNode._x,T._y+=T.parentNode._y),U.left=T._x+"px",U.top=T._y+"px",U.position="absolute",U.display="block",U.width=T._w+1+"px",U.height=T._h+"px"),!C&&A)if(T._isSplit)for(T._next=L=T.nextSibling,T.parentNode.appendChild(T);L&&L.nodeType===3&&L.textContent===" ";)T._next=L.nextSibling,T.parentNode.appendChild(L),L=L.nextSibling;else T.parentNode._isSplit?(T._parent=T.parentNode,!T.previousSibling&&T.firstChild&&(T.firstChild._isFirst=!0),T.nextSibling&&T.nextSibling.textContent===" "&&!T.nextSibling.nextSibling&&M.push(T.nextSibling),T._next=T.nextSibling&&T.nextSibling._isFirst?null:T.nextSibling,T.parentNode.removeChild(T),y.splice(R--,1),N--):k||(Y=!T.nextSibling&&Xp(T.parentNode,e,x),T.parentNode._parent&&T.parentNode._parent.appendChild(T),Y&&T.parentNode.appendChild(Wn.createTextNode(" ")),E==="span"&&(T.style.display="inline"),m.push(T));else T.parentNode._isSplit&&!T._isSplit&&T.innerHTML!==""?v.push(T):A&&!T._isSplit&&(E==="span"&&(T.style.display="inline"),m.push(T))}for(R=M.length;--R>-1;)M[R].parentNode.removeChild(M[R]);if(b){for(S&&(X=Wn.createElement(E),e.appendChild(X),I=X.offsetWidth+"px",Y=X.offsetParent===e?0:e.offsetLeft,e.removeChild(X)),U=e.style.cssText,e.style.cssText="display:none;";e.firstChild;)e.removeChild(e.firstChild);for(Z=x===" "&&(!S||!C&&!A),R=0;R<b.length;R++){for(G=b[R],X=Wn.createElement(E),X.style.cssText="display:block;text-align:"+g+";position:"+(S?"absolute;":"relative;"),P&&(X.className=P+(F?R+1:"")),D.push(X),N=G.length,L=0;L<N;L++)G[L].nodeName!=="BR"&&(T=G[L],X.appendChild(T),Z&&T._wordEnd&&X.appendChild(Wn.createTextNode(" ")),S&&(L===0&&(X.style.top=T._y+"px",X.style.left=l+Y+"px"),T.style.top="0px",Y&&(T.style.left=T._x-Y+"px")));N===0?X.innerHTML=" ":!C&&!A&&(HD(X),Zp(X,String.fromCharCode(160)," ")),S&&(X.style.width=I,X.style.height=T._h+"px"),e.appendChild(X)}e.style.cssText=U}S&&(a>e.clientHeight&&(e.style.height=a-f+"px",e.clientHeight<a&&(e.style.height=a+h+"px")),o>e.clientWidth&&(e.style.width=o-_+"px",e.clientWidth<o&&(e.style.width=o+d+"px"))),V&&(B?e.style.display=B:e.style.removeProperty("display")),bc(r,m),C&&bc(n,v),bc(s,D)},GD=function(e,t,r,n){var s=t.tag?t.tag:t.span?"span":"div",o=t.type||t.split||"chars,words,lines",a=~o.indexOf("chars"),u=wc(t),l=t.wordDelimiter||" ",c=l!==" "?"":u?"­ ":" ",h="</"+s+">",d=1,f=t.specialChars?typeof t.specialChars=="function"?t.specialChars:VD:null,_,p,g,m,v,D,x,E,w=Wn.createElement("div"),b=e.parentNode;for(b.insertBefore(w,e),w.textContent=e.nodeValue,b.removeChild(e),e=w,_=xc(e),x=_.indexOf("<")!==-1,t.reduceWhiteSpace!==!1&&(_=_.replace(BD," ").replace(ID,"")),x&&(_=_.split("<").join("{{LT}}")),v=_.length,p=(_.charAt(0)===" "?c:"")+r(),g=0;g<v;g++)if(D=_.charAt(g),f&&(E=f(_.substr(g),t.specialChars)))D=_.substr(g,E||1),p+=a&&D!==" "?n()+D+"</"+s+">":D,g+=E-1;else if(D===l&&_.charAt(g-1)!==l&&g){for(p+=d?h:"",d=0;_.charAt(g+1)===l;)p+=c,g++;g===v-1?p+=c:_.charAt(g+1)!==")"&&(p+=c+r(),d=1)}else D==="{"&&_.substr(g,6)==="{{LT}}"?(p+=a?n()+"{{LT}}</"+s+">":"{{LT}}",g+=5):D.charCodeAt(0)>=55296&&D.charCodeAt(0)<=56319||_.charCodeAt(g+1)>=65024&&_.charCodeAt(g+1)<=65039?(m=((_.substr(g,12).split(Gp)||[])[1]||"").length||2,p+=a&&D!==" "?n()+_.substr(g,m)+"</"+s+">":_.substr(g,m),g+=m-1):p+=a&&D!==" "?n()+D+"</"+s+">":D;e.outerHTML=p+(d?h:""),x&&Zp(b,"{{LT}}","<")},UD=function i(e,t,r,n){var s=La(e.childNodes),o=s.length,a=wc(t),u,l;if(e.nodeType!==3||o>1){for(t.absolute=!1,u=0;u<o;u++)l=s[u],l._next=l._isFirst=l._parent=l._wordEnd=null,(l.nodeType!==3||/\S+/.test(l.nodeValue))&&(a&&l.nodeType!==3&&Kp(l).display==="inline"&&(l.style.display="inline-block",l.style.position="relative"),l._isSplit=!0,i(l,t,r,n));t.absolute=a,e._isSplit=!0;return}GD(e,t,r,n)},_i=function(){function i(t,r){qp||$p(),this.elements=La(t),this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=r||{},jp(this),zD&&this.split(r)}var e=i.prototype;return e.split=function(r){this.isSplit&&this.revert(),this.vars=r=r||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var n=this.elements.length,s=r.tag?r.tag:r.span?"span":"div",o=Up(r.wordsClass,s),a=Up(r.charsClass,s),u,l,c;--n>-1;)c=this.elements[n],this._originals[n]=c.innerHTML,u=c.clientHeight,l=c.clientWidth,UD(c,r,o,a),YD(c,r,this.chars,this.words,this.lines,l,u);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this},e.revert=function(){var r=this._originals;if(!r)throw"revert() call wasn't scoped properly.";return this.elements.forEach(function(n,s){return n.innerHTML=r[s]}),this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},i.create=function(r,n){return new i(r,n)},i}();_i.version="3.12.2";_i.register=$p;var ng=vg(Qp(),1);function Jp(i,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(i,r.key,r)}}function XD(i,e,t){return e&&Jp(i.prototype,e),t&&Jp(i,t),Object.defineProperty(i,"prototype",{writable:!1}),i}var e_="(prefers-reduced-motion: reduce)",Gn=1,qD=2,qn=3,$n=4,io=5,Na=6,Va=7,jD={CREATED:Gn,MOUNTED:qD,IDLE:qn,MOVING:$n,SCROLLING:io,DRAGGING:Na,DESTROYED:Va};function qr(i){i.length=0}function yi(i,e,t){return Array.prototype.slice.call(i,e,t)}function ge(i){return i.bind.apply(i,[null].concat(yi(arguments,1)))}var p_=setTimeout,Oc=function(){};function t_(i){return requestAnimationFrame(i)}function Ga(i,e){return typeof e===i}function $s(i){return!Bc(i)&&Ga("object",i)}var Ic=Array.isArray,__=ge(Ga,"function"),mi=ge(Ga,"string"),no=ge(Ga,"undefined");function Bc(i){return i===null}function g_(i){try{return i instanceof(i.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function so(i){return Ic(i)?i:[i]}function $t(i,e){so(i).forEach(e)}function zc(i,e){return i.indexOf(e)>-1}function Ia(i,e){return i.push.apply(i,so(e)),i}function Gr(i,e,t){i&&$t(e,function(r){r&&i.classList[t?"add":"remove"](r)})}function Er(i,e){Gr(i,mi(e)?e.split(" "):e,!0)}function oo(i,e){$t(e,i.appendChild.bind(i))}function Vc(i,e){$t(i,function(t){var r=(e||t).parentNode;r&&r.insertBefore(t,e)})}function Ks(i,e){return g_(i)&&(i.msMatchesSelector||i.matches).call(i,e)}function m_(i,e){var t=i?yi(i.children):[];return e?t.filter(function(r){return Ks(r,e)}):t}function ao(i,e){return e?m_(i,e)[0]:i.firstElementChild}var Zs=Object.keys;function on(i,e,t){return i&&(t?Zs(i).reverse():Zs(i)).forEach(function(r){r!=="__proto__"&&e(i[r],r)}),i}function Qs(i){return yi(arguments,1).forEach(function(e){on(e,function(t,r){i[r]=e[r]})}),i}function gi(i){return yi(arguments,1).forEach(function(e){on(e,function(t,r){Ic(t)?i[r]=t.slice():$s(t)?i[r]=gi({},$s(i[r])?i[r]:{},t):i[r]=t})}),i}function r_(i,e){$t(e||Zs(i),function(t){delete i[t]})}function wr(i,e){$t(i,function(t){$t(e,function(r){t&&t.removeAttribute(r)})})}function Q(i,e,t){$s(e)?on(e,function(r,n){Q(i,n,r)}):$t(i,function(r){Bc(t)||t===""?wr(r,e):r.setAttribute(e,String(t))})}function Un(i,e,t){var r=document.createElement(i);return e&&(mi(e)?Er(r,e):Q(r,e)),t&&oo(t,r),r}function ur(i,e,t){if(no(t))return getComputedStyle(i)[e];Bc(t)||(i.style[e]=""+t)}function Js(i,e){ur(i,"display",e)}function v_(i){i.setActive&&i.setActive()||i.focus({preventScroll:!0})}function lr(i,e){return i.getAttribute(e)}function i_(i,e){return i&&i.classList.contains(e)}function qt(i){return i.getBoundingClientRect()}function an(i){$t(i,function(e){e&&e.parentNode&&e.parentNode.removeChild(e)})}function D_(i){return ao(new DOMParser().parseFromString(i,"text/html").body)}function Yr(i,e){i.preventDefault(),e&&(i.stopPropagation(),i.stopImmediatePropagation())}function y_(i,e){return i&&i.querySelector(e)}function Wc(i,e){return e?yi(i.querySelectorAll(e)):[]}function Ur(i,e){Gr(i,e,!1)}function Mc(i){return i.timeStamp}function sn(i){return mi(i)?i:i?i+"px":""}var uo="splide",Hc="data-"+uo;function qs(i,e){if(!i)throw new Error("["+uo+"] "+(e||""))}var vi=Math.min,Wa=Math.max,Ha=Math.floor,eo=Math.ceil,St=Math.abs;function x_(i,e,t){return St(i-e)<t}function Ba(i,e,t,r){var n=vi(e,t),s=Wa(e,t);return r?n<i&&i<s:n<=i&&i<=s}function Hn(i,e,t){var r=vi(e,t),n=Wa(e,t);return vi(Wa(r,i),n)}function kc(i){return+(i>0)-+(i<0)}function Lc(i,e){return $t(e,function(t){i=i.replace("%s",""+t)}),i}function Yc(i){return i<10?"0"+i:""+i}var n_={};function $D(i){return""+i+Yc(n_[i]=(n_[i]||0)+1)}function b_(){var i=[];function e(o,a,u,l){n(o,a,function(c,h,d){var f="addEventListener"in c,_=f?c.removeEventListener.bind(c,h,u,l):c.removeListener.bind(c,u);f?c.addEventListener(h,u,l):c.addListener(u),i.push([c,h,d,u,_])})}function t(o,a,u){n(o,a,function(l,c,h){i=i.filter(function(d){return d[0]===l&&d[1]===c&&d[2]===h&&(!u||d[3]===u)?(d[4](),!1):!0})})}function r(o,a,u){var l,c=!0;return typeof CustomEvent=="function"?l=new CustomEvent(a,{bubbles:c,detail:u}):(l=document.createEvent("CustomEvent"),l.initCustomEvent(a,c,!1,u)),o.dispatchEvent(l),l}function n(o,a,u){$t(o,function(l){l&&$t(a,function(c){c.split(" ").forEach(function(h){var d=h.split(".");u(l,d[0],d[1])})})})}function s(){i.forEach(function(o){o[4]()}),qr(i)}return{bind:e,unbind:t,dispatch:r,destroy:s}}var ln="mounted",s_="ready",Di="move",lo="moved",E_="click",KD="active",ZD="inactive",QD="visible",JD="hidden",We="refresh",Tt="updated",to="resize",Gc="resized",ey="drag",ty="dragging",ry="dragged",Uc="scroll",Kn="scrolled",iy="overflow",w_="destroy",ny="arrows:mounted",sy="arrows:updated",oy="pagination:mounted",ay="pagination:updated",C_="navigation:mounted",S_="autoplay:play",uy="autoplay:playing",T_="autoplay:pause",A_="lazyload:loaded",F_="sk",P_="sh",Ya="ei";function we(i){var e=i?i.event.bus:document.createDocumentFragment(),t=b_();function r(s,o){t.bind(e,so(s).join(" "),function(a){o.apply(o,Ic(a.detail)?a.detail:[])})}function n(s){t.dispatch(e,s,yi(arguments,1))}return i&&i.event.on(w_,t.destroy),Qs(t,{bus:e,on:r,off:ge(t.unbind,e),emit:n})}function Ua(i,e,t,r){var n=Date.now,s,o=0,a,u=!0,l=0;function c(){if(!u){if(o=i?vi((n()-s)/i,1):1,t&&t(o),o>=1&&(e(),s=n(),r&&++l>=r))return d();a=t_(c)}}function h(m){m||_(),s=n()-(m?o*i:0),u=!1,a=t_(c)}function d(){u=!0}function f(){s=n(),o=0,t&&t(o)}function _(){a&&cancelAnimationFrame(a),o=0,a=0,u=!0}function p(m){i=m}function g(){return u}return{start:h,rewind:f,pause:d,cancel:_,set:p,isPaused:g}}function ly(i){var e=i;function t(n){e=n}function r(n){return zc(so(n),e)}return{set:t,is:r}}function cy(i,e){var t=Ua(e||0,i,null,1);return function(){t.isPaused()&&t.start()}}function fy(i,e,t){var r=i.state,n=t.breakpoints||{},s=t.reducedMotion||{},o=b_(),a=[];function u(){var _=t.mediaQuery==="min";Zs(n).sort(function(p,g){return _?+p-+g:+g-+p}).forEach(function(p){c(n[p],"("+(_?"min":"max")+"-width:"+p+"px)")}),c(s,e_),h()}function l(_){_&&o.destroy()}function c(_,p){var g=matchMedia(p);o.bind(g,"change",h),a.push([_,g])}function h(){var _=r.is(Va),p=t.direction,g=a.reduce(function(m,v){return gi(m,v[1].matches?v[0]:{})},{});r_(t),f(g),t.destroy?i.destroy(t.destroy==="completely"):_?(l(!0),i.mount()):p!==t.direction&&i.refresh()}function d(_){matchMedia(e_).matches&&(_?gi(t,s):r_(t,Zs(s)))}function f(_,p,g){gi(t,_),p&&gi(Object.getPrototypeOf(t),_),(g||!r.is(Gn))&&i.emit(Tt,t)}return{setup:u,destroy:l,reduce:d,set:f}}var Xa="Arrow",qa=Xa+"Left",ja=Xa+"Right",O_=Xa+"Up",M_=Xa+"Down";var o_="rtl",$a="ttb",Tc={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[O_,ja],ArrowRight:[M_,qa]};function dy(i,e,t){function r(s,o,a){a=a||t.direction;var u=a===o_&&!o?1:a===$a?0:-1;return Tc[s]&&Tc[s][u]||s.replace(/width|left|right/i,function(l,c){var h=Tc[l.toLowerCase()][u]||l;return c>0?h.charAt(0).toUpperCase()+h.slice(1):h})}function n(s){return s*(t.direction===o_?1:-1)}return{resolve:r,orient:n}}var Xr="role",Xn="tabindex",hy="disabled",cr="aria-",co=cr+"controls",k_=cr+"current",a_=cr+"selected",jt=cr+"label",Xc=cr+"labelledby",L_=cr+"hidden",qc=cr+"orientation",ro=cr+"roledescription",u_=cr+"live",l_=cr+"busy",c_=cr+"atomic",jc=[Xr,Xn,hy,co,k_,jt,Xc,L_,qc,ro],Cr=uo+"__",xi="is-",Ac=uo,f_=Cr+"track",py=Cr+"list",Ka=Cr+"slide",R_=Ka+"--clone",_y=Ka+"__container",$c=Cr+"arrows",Za=Cr+"arrow",N_=Za+"--prev",I_=Za+"--next",Qa=Cr+"pagination",B_=Qa+"__page",gy=Cr+"progress",my=gy+"__bar",Kc=Cr+"toggle",lx=Kc+"__play",cx=Kc+"__pause",vy=Cr+"spinner",Dy=Cr+"sr",yy=xi+"initialized",un=xi+"active",z_=xi+"prev",V_=xi+"next",Rc=xi+"visible",Nc=xi+"loading",W_=xi+"focus-in",H_=xi+"overflow",xy=[un,Rc,z_,V_,Nc,W_,H_],by={slide:Ka,clone:R_,arrows:$c,arrow:Za,prev:N_,next:I_,pagination:Qa,page:B_,spinner:vy};function Ey(i,e){if(__(i.closest))return i.closest(e);for(var t=i;t&&t.nodeType===1&&!Ks(t,e);)t=t.parentElement;return t}var wy=5,d_=200,Y_="touchstart mousedown",Fc="touchmove mousemove",Pc="touchend touchcancel mouseup click";function Cy(i,e,t){var r=we(i),n=r.on,s=r.bind,o=i.root,a=t.i18n,u={},l=[],c=[],h=[],d,f,_;function p(){D(),x(),v()}function g(){n(We,m),n(We,p),n(Tt,v),s(document,Y_+" keydown",function(b){_=b.type==="keydown"},{capture:!0}),s(o,"focusin",function(){Gr(o,W_,!!_)})}function m(b){var C=jc.concat("style");qr(l),Ur(o,c),Ur(d,h),wr([d,f],C),wr(o,b?C:["style",ro])}function v(){Ur(o,c),Ur(d,h),c=w(Ac),h=w(f_),Er(o,c),Er(d,h),Q(o,jt,t.label),Q(o,Xc,t.labelledby)}function D(){d=E("."+f_),f=ao(d,"."+py),qs(d&&f,"A track/list element is missing."),Ia(l,m_(f,"."+Ka+":not(."+R_+")")),on({arrows:$c,pagination:Qa,prev:N_,next:I_,bar:my,toggle:Kc},function(b,C){u[C]=E("."+b)}),Qs(u,{root:o,track:d,list:f,slides:l})}function x(){var b=o.id||$D(uo),C=t.role;o.id=b,d.id=d.id||b+"-track",f.id=f.id||b+"-list",!lr(o,Xr)&&o.tagName!=="SECTION"&&C&&Q(o,Xr,C),Q(o,ro,a.carousel),Q(f,Xr,"presentation")}function E(b){var C=y_(o,b);return C&&Ey(C,"."+Ac)===o?C:void 0}function w(b){return[b+"--"+t.type,b+"--"+t.direction,t.drag&&b+"--draggable",t.isNavigation&&b+"--nav",b===Ac&&un]}return Qs(u,{setup:p,mount:g,destroy:m})}var jn="slide",Zn="loop",fo="fade";function Sy(i,e,t,r){var n=we(i),s=n.on,o=n.emit,a=n.bind,u=i.Components,l=i.root,c=i.options,h=c.isNavigation,d=c.updateOnMove,f=c.i18n,_=c.pagination,p=c.slideFocus,g=u.Direction.resolve,m=lr(r,"style"),v=lr(r,jt),D=t>-1,x=ao(r,"."+_y),E;function w(){D||(r.id=l.id+"-slide"+Yc(e+1),Q(r,Xr,_?"tabpanel":"group"),Q(r,ro,f.slide),Q(r,jt,v||Lc(f.slideLabel,[e+1,i.length]))),b()}function b(){a(r,"click",ge(o,E_,N)),a(r,"keydown",ge(o,F_,N)),s([lo,P_,Kn],P),s(C_,A),d&&s(Di,S)}function C(){E=!0,n.destroy(),Ur(r,xy),wr(r,jc),Q(r,"style",m),Q(r,jt,v||"")}function A(){var T=i.splides.map(function(y){var k=y.splide.Components.Slides.getAt(e);return k?k.slide.id:""}).join(" ");Q(r,jt,Lc(f.slideX,(D?t:e)+1)),Q(r,co,T),Q(r,Xr,p?"button":""),p&&wr(r,ro)}function S(){E||P()}function P(){if(!E){var T=i.index;F(),M(),Gr(r,z_,e===T-1),Gr(r,V_,e===T+1)}}function F(){var T=B();T!==i_(r,un)&&(Gr(r,un,T),Q(r,k_,h&&T||""),o(T?KD:ZD,N))}function M(){var T=R(),y=!T&&(!B()||D);if(i.state.is([$n,io])||Q(r,L_,y||""),Q(Wc(r,c.focusableNodes||""),Xn,y?-1:""),p&&Q(r,Xn,y?-1:0),T!==i_(r,Rc)&&(Gr(r,Rc,T),o(T?QD:JD,N)),!T&&document.activeElement===r){var k=u.Slides.getAt(i.index);k&&v_(k.slide)}}function V(T,y,k){ur(k&&x||r,T,y)}function B(){var T=i.index;return T===e||c.cloneStatus&&T===t}function R(){if(i.is(fo))return B();var T=qt(u.Elements.track),y=qt(r),k=g("left",!0),G=g("right",!0);return Ha(T[k])<=eo(y[k])&&Ha(y[G])<=eo(T[G])}function L(T,y){var k=St(T-e);return!D&&(c.rewind||i.is(Zn))&&(k=vi(k,i.length-k)),k<=y}var N={index:e,slideIndex:t,slide:r,container:x,isClone:D,mount:w,destroy:C,update:P,style:V,isWithin:L};return N}function Ty(i,e,t){var r=we(i),n=r.on,s=r.emit,o=r.bind,a=e.Elements,u=a.slides,l=a.list,c=[];function h(){d(),n(We,f),n(We,d)}function d(){u.forEach(function(P,F){p(P,F,-1)})}function f(){E(function(P){P.destroy()}),qr(c)}function _(){E(function(P){P.update()})}function p(P,F,M){var V=Sy(i,F,M,P);V.mount(),c.push(V),c.sort(function(B,R){return B.index-R.index})}function g(P){return P?w(function(F){return!F.isClone}):c}function m(P){var F=e.Controller,M=F.toIndex(P),V=F.hasFocus()?1:t.perPage;return w(function(B){return Ba(B.index,M,M+V-1)})}function v(P){return w(P)[0]}function D(P,F){$t(P,function(M){if(mi(M)&&(M=D_(M)),g_(M)){var V=u[F];V?Vc(M,V):oo(l,M),Er(M,t.classes.slide),C(M,ge(s,to))}}),s(We)}function x(P){an(w(P).map(function(F){return F.slide})),s(We)}function E(P,F){g(F).forEach(P)}function w(P){return c.filter(__(P)?P:function(F){return mi(P)?Ks(F.slide,P):zc(so(P),F.index)})}function b(P,F,M){E(function(V){V.style(P,F,M)})}function C(P,F){var M=Wc(P,"img"),V=M.length;V?M.forEach(function(B){o(B,"load error",function(){--V||F()})}):F()}function A(P){return P?u.length:c.length}function S(){return c.length>t.perPage}return{mount:h,destroy:f,update:_,register:p,get:g,getIn:m,getAt:v,add:D,remove:x,forEach:E,filter:w,style:b,getLength:A,isEnough:S}}function Ay(i,e,t){var r=we(i),n=r.on,s=r.bind,o=r.emit,a=e.Slides,u=e.Direction.resolve,l=e.Elements,c=l.root,h=l.track,d=l.list,f=a.getAt,_=a.style,p,g,m;function v(){D(),s(window,"resize load",cy(ge(o,to))),n([Tt,We],D),n(to,x)}function D(){p=t.direction===$a,ur(c,"maxWidth",sn(t.width)),ur(h,u("paddingLeft"),E(!1)),ur(h,u("paddingRight"),E(!0)),x(!0)}function x(N){var T=qt(c);(N||g.width!==T.width||g.height!==T.height)&&(ur(h,"height",w()),_(u("marginRight"),sn(t.gap)),_("width",C()),_("height",A(),!0),g=T,o(Gc),m!==(m=L())&&(Gr(c,H_,m),o(iy,m)))}function E(N){var T=t.padding,y=u(N?"right":"left");return T&&sn(T[y]||($s(T)?0:T))||"0px"}function w(){var N="";return p&&(N=b(),qs(N,"height or heightRatio is missing."),N="calc("+N+" - "+E(!1)+" - "+E(!0)+")"),N}function b(){return sn(t.height||qt(d).width*t.heightRatio)}function C(){return t.autoWidth?null:sn(t.fixedWidth)||(p?"":S())}function A(){return sn(t.fixedHeight)||(p?t.autoHeight?null:S():b())}function S(){var N=sn(t.gap);return"calc((100%"+(N&&" + "+N)+")/"+(t.perPage||1)+(N&&" - "+N)+")"}function P(){return qt(d)[u("width")]}function F(N,T){var y=f(N||0);return y?qt(y.slide)[u("width")]+(T?0:B()):0}function M(N,T){var y=f(N);if(y){var k=qt(y.slide)[u("right")],G=qt(d)[u("left")];return St(k-G)+(T?0:B())}return 0}function V(N){return M(i.length-1)-M(0)+F(0,N)}function B(){var N=f(0);return N&&parseFloat(ur(N.slide,u("marginRight")))||0}function R(N){return parseFloat(ur(h,u("padding"+(N?"Right":"Left"))))||0}function L(){return i.is(fo)||V(!0)>P()}return{mount:v,resize:x,listSize:P,slideSize:F,sliderSize:V,totalSize:M,getPadding:R,isOverflow:L}}var Fy=2;function Py(i,e,t){var r=we(i),n=r.on,s=e.Elements,o=e.Slides,a=e.Direction.resolve,u=[],l;function c(){n(We,h),n([Tt,to],f),(l=g())&&(_(l),e.Layout.resize(!0))}function h(){d(),c()}function d(){an(u),qr(u),r.destroy()}function f(){var m=g();l!==m&&(l<m||!m)&&r.emit(We)}function _(m){var v=o.get().slice(),D=v.length;if(D){for(;v.length<m;)Ia(v,v);Ia(v.slice(-m),v.slice(0,m)).forEach(function(x,E){var w=E<m,b=p(x.slide,E);w?Vc(b,v[0].slide):oo(s.list,b),Ia(u,b),o.register(b,E-m+(w?0:D),x.index)})}}function p(m,v){var D=m.cloneNode(!0);return Er(D,t.classes.clone),D.id=i.root.id+"-clone"+Yc(v+1),D}function g(){var m=t.clones;if(!i.is(Zn))m=0;else if(no(m)){var v=t[a("fixedWidth")]&&e.Layout.slideSize(0),D=v&&eo(qt(s.track)[a("width")]/v);m=D||t[a("autoWidth")]&&i.length||t.perPage*Fy}return m}return{mount:c,destroy:d}}function Oy(i,e,t){var r=we(i),n=r.on,s=r.emit,o=i.state.set,a=e.Layout,u=a.slideSize,l=a.getPadding,c=a.totalSize,h=a.listSize,d=a.sliderSize,f=e.Direction,_=f.resolve,p=f.orient,g=e.Elements,m=g.list,v=g.track,D;function x(){D=e.Transition,n([ln,Gc,Tt,We],E)}function E(){e.Controller.isBusy()||(e.Scroll.cancel(),b(i.index),e.Slides.update())}function w(y,k,G,Z){y!==k&&N(y>G)&&(P(),C(S(V(),y>G),!0)),o($n),s(Di,k,G,y),D.start(k,function(){o(qn),s(lo,k,G,y),Z&&Z()})}function b(y){C(M(y,!0))}function C(y,k){if(!i.is(fo)){var G=k?y:A(y);ur(m,"transform","translate"+_("X")+"("+G+"px)"),y!==G&&s(P_)}}function A(y){if(i.is(Zn)){var k=F(y),G=k>e.Controller.getEnd(),Z=k<0;(Z||G)&&(y=S(y,G))}return y}function S(y,k){var G=y-L(k),Z=d();return y-=p(Z*(eo(St(G)/Z)||1))*(k?1:-1),y}function P(){C(V(),!0),D.cancel()}function F(y){for(var k=e.Slides.get(),G=0,Z=1/0,U=0;U<k.length;U++){var X=k[U].index,I=St(M(X,!0)-y);if(I<=Z)Z=I,G=X;else break}return G}function M(y,k){var G=p(c(y-1)-R(y));return k?B(G):G}function V(){var y=_("left");return qt(m)[y]-qt(v)[y]+p(l(!1))}function B(y){return t.trimSpace&&i.is(jn)&&(y=Hn(y,0,p(d(!0)-h()))),y}function R(y){var k=t.focus;return k==="center"?(h()-u(y,!0))/2:+k*u(y)||0}function L(y){return M(y?e.Controller.getEnd():0,!!t.trimSpace)}function N(y){var k=p(S(V(),y));return y?k>=0:k<=m[_("scrollWidth")]-qt(v)[_("width")]}function T(y,k){k=no(k)?V():k;var G=y!==!0&&p(k)<p(L(!1)),Z=y!==!1&&p(k)>p(L(!0));return G||Z}return{mount:x,move:w,jump:b,translate:C,shift:S,cancel:P,toIndex:F,toPosition:M,getPosition:V,getLimit:L,exceededLimit:T,reposition:E}}function My(i,e,t){var r=we(i),n=r.on,s=r.emit,o=e.Move,a=o.getPosition,u=o.getLimit,l=o.toPosition,c=e.Slides,h=c.isEnough,d=c.getLength,f=t.omitEnd,_=i.is(Zn),p=i.is(jn),g=ge(V,!1),m=ge(V,!0),v=t.start||0,D,x=v,E,w,b;function C(){A(),n([Tt,We,Ya],A),n(Gc,S)}function A(){E=d(!0),w=t.perMove,b=t.perPage,D=N();var I=Hn(v,0,f?D:E-1);I!==v&&(v=I,o.reposition())}function S(){D!==N()&&s(Ya)}function P(I,Y,fe){if(!X()){var ee=M(I),te=L(ee);te>-1&&(Y||te!==v)&&(G(te),o.move(ee,te,x,fe))}}function F(I,Y,fe,ee){e.Scroll.scroll(I,Y,fe,function(){var te=L(o.toIndex(a()));G(f?vi(te,D):te),ee&&ee()})}function M(I){var Y=v;if(mi(I)){var fe=I.match(/([+\-<>])(\d+)?/)||[],ee=fe[1],te=fe[2];ee==="+"||ee==="-"?Y=B(v+ +(""+ee+(+te||1)),v):ee===">"?Y=te?T(+te):g(!0):ee==="<"&&(Y=m(!0))}else Y=_?I:Hn(I,0,D);return Y}function V(I,Y){var fe=w||(U()?1:b),ee=B(v+fe*(I?-1:1),v,!(w||U()));return ee===-1&&p&&!x_(a(),u(!I),1)?I?0:D:Y?ee:L(ee)}function B(I,Y,fe){if(h()||U()){var ee=R(I);ee!==I&&(Y=I,I=ee,fe=!1),I<0||I>D?!w&&(Ba(0,I,Y,!0)||Ba(D,Y,I,!0))?I=T(y(I)):_?I=fe?I<0?-(E%b||b):E:I:t.rewind?I=I<0?D:0:I=-1:fe&&I!==Y&&(I=T(y(Y)+(I<Y?-1:1)))}else I=-1;return I}function R(I){if(p&&t.trimSpace==="move"&&I!==v)for(var Y=a();Y===l(I,!0)&&Ba(I,0,i.length-1,!t.rewind);)I<v?--I:++I;return I}function L(I){return _?(I+E)%E||0:I}function N(){for(var I=E-(U()||_&&w?1:b);f&&I-- >0;)if(l(E-1,!0)!==l(I,!0)){I++;break}return Hn(I,0,E-1)}function T(I){return Hn(U()?I:b*I,0,D)}function y(I){return U()?vi(I,D):Ha((I>=D?E-1:I)/b)}function k(I){var Y=o.toIndex(I);return p?Hn(Y,0,D):Y}function G(I){I!==v&&(x=v,v=I)}function Z(I){return I?x:v}function U(){return!no(t.focus)||t.isNavigation}function X(){return i.state.is([$n,io])&&!!t.waitForTransition}return{mount:C,go:P,scroll:F,getNext:g,getPrev:m,getAdjacent:V,getEnd:N,setIndex:G,getIndex:Z,toIndex:T,toPage:y,toDest:k,hasFocus:U,isBusy:X}}var ky="http://www.w3.org/2000/svg",Ly="m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z",Ra=40;function Ry(i,e,t){var r=we(i),n=r.on,s=r.bind,o=r.emit,a=t.classes,u=t.i18n,l=e.Elements,c=e.Controller,h=l.arrows,d=l.track,f=h,_=l.prev,p=l.next,g,m,v={};function D(){E(),n(Tt,x)}function x(){w(),D()}function E(){var F=t.arrows;F&&!(_&&p)&&A(),_&&p&&(Qs(v,{prev:_,next:p}),Js(f,F?"":"none"),Er(f,m=$c+"--"+t.direction),F&&(b(),P(),Q([_,p],co,d.id),o(ny,_,p)))}function w(){r.destroy(),Ur(f,m),g?(an(h?[_,p]:f),_=p=null):wr([_,p],jc)}function b(){n([ln,lo,We,Kn,Ya],P),s(p,"click",ge(C,">")),s(_,"click",ge(C,"<"))}function C(F){c.go(F,!0)}function A(){f=h||Un("div",a.arrows),_=S(!0),p=S(!1),g=!0,oo(f,[_,p]),!h&&Vc(f,d)}function S(F){var M='<button class="'+a.arrow+" "+(F?a.prev:a.next)+'" type="button"><svg xmlns="'+ky+'" viewBox="0 0 '+Ra+" "+Ra+'" width="'+Ra+'" height="'+Ra+'" focusable="false"><path d="'+(t.arrowPath||Ly)+'" />';return D_(M)}function P(){if(_&&p){var F=i.index,M=c.getPrev(),V=c.getNext(),B=M>-1&&F<M?u.last:u.prev,R=V>-1&&F>V?u.first:u.next;_.disabled=M<0,p.disabled=V<0,Q(_,jt,B),Q(p,jt,R),o(sy,_,p,M,V)}}return{arrows:v,mount:D,destroy:w,update:P}}var Ny=Hc+"-interval";function Iy(i,e,t){var r=we(i),n=r.on,s=r.bind,o=r.emit,a=Ua(t.interval,i.go.bind(i,">"),b),u=a.isPaused,l=e.Elements,c=e.Elements,h=c.root,d=c.toggle,f=t.autoplay,_,p,g=f==="pause";function m(){f&&(v(),d&&Q(d,co,l.track.id),g||D(),w())}function v(){t.pauseOnHover&&s(h,"mouseenter mouseleave",function(A){_=A.type==="mouseenter",E()}),t.pauseOnFocus&&s(h,"focusin focusout",function(A){p=A.type==="focusin",E()}),d&&s(d,"click",function(){g?D():x(!0)}),n([Di,Uc,We],a.rewind),n(Di,C)}function D(){u()&&e.Slides.isEnough()&&(a.start(!t.resetProgress),p=_=g=!1,w(),o(S_))}function x(A){A===void 0&&(A=!0),g=!!A,w(),u()||(a.pause(),o(T_))}function E(){g||(_||p?x(!1):D())}function w(){d&&(Gr(d,un,!g),Q(d,jt,t.i18n[g?"play":"pause"]))}function b(A){var S=l.bar;S&&ur(S,"width",A*100+"%"),o(uy,A)}function C(A){var S=e.Slides.getAt(A);a.set(S&&+lr(S.slide,Ny)||t.interval)}return{mount:m,destroy:a.cancel,play:D,pause:x,isPaused:u}}function By(i,e,t){var r=we(i),n=r.on;function s(){t.cover&&(n(A_,ge(a,!0)),n([ln,Tt,We],ge(o,!0)))}function o(u){e.Slides.forEach(function(l){var c=ao(l.container||l.slide,"img");c&&c.src&&a(u,c,l)})}function a(u,l,c){c.style("background",u?'center/cover no-repeat url("'+l.src+'")':"",!0),Js(l,u?"none":"")}return{mount:s,destroy:ge(o,!1)}}var zy=10,Vy=600,Wy=.6,Hy=1.5,Yy=800;function Gy(i,e,t){var r=we(i),n=r.on,s=r.emit,o=i.state.set,a=e.Move,u=a.getPosition,l=a.getLimit,c=a.exceededLimit,h=a.translate,d=i.is(jn),f,_,p=1;function g(){n(Di,x),n([Tt,We],E)}function m(b,C,A,S,P){var F=u();if(x(),A&&(!d||!c())){var M=e.Layout.sliderSize(),V=kc(b)*M*Ha(St(b)/M)||0;b=a.toPosition(e.Controller.toDest(b%M))+V}var B=x_(F,b,1);p=1,C=B?0:C||Wa(St(b-F)/Hy,Yy),_=S,f=Ua(C,v,ge(D,F,b,P),1),o(io),s(Uc),f.start()}function v(){o(qn),_&&_(),s(Kn)}function D(b,C,A,S){var P=u(),F=b+(C-b)*w(S),M=(F-P)*p;h(P+M),d&&!A&&c()&&(p*=Wy,St(M)<zy&&m(l(c(!0)),Vy,!1,_,!0))}function x(){f&&f.cancel()}function E(){f&&!f.isPaused()&&(x(),v())}function w(b){var C=t.easingFunc;return C?C(b):1-Math.pow(1-b,4)}return{mount:g,destroy:x,scroll:m,cancel:E}}var Yn={passive:!1,capture:!0};function Uy(i,e,t){var r=we(i),n=r.on,s=r.emit,o=r.bind,a=r.unbind,u=i.state,l=e.Move,c=e.Scroll,h=e.Controller,d=e.Elements.track,f=e.Media.reduce,_=e.Direction,p=_.resolve,g=_.orient,m=l.getPosition,v=l.exceededLimit,D,x,E,w,b,C=!1,A,S,P;function F(){o(d,Fc,Oc,Yn),o(d,Pc,Oc,Yn),o(d,Y_,V,Yn),o(d,"click",L,{capture:!0}),o(d,"dragstart",Yr),n([ln,Tt],M)}function M(){var z=t.drag;Ft(!z),w=z==="free"}function V(z){if(A=!1,!S){var $=te(z);ee(z.target)&&($||!z.button)&&(h.isBusy()?Yr(z,!0):(P=$?d:window,b=u.is([$n,io]),E=null,o(P,Fc,B,Yn),o(P,Pc,R,Yn),l.cancel(),c.cancel(),N(z)))}}function B(z){if(u.is(Na)||(u.set(Na),s(ey)),z.cancelable)if(b){l.translate(D+fe(U(z)));var $=X(z)>d_,Ce=C!==(C=v());($||Ce)&&N(z),A=!0,s(ty),Yr(z)}else k(z)&&(b=y(z),Yr(z))}function R(z){u.is(Na)&&(u.set(qn),s(ry)),b&&(T(z),Yr(z)),a(P,Fc,B),a(P,Pc,R),b=!1}function L(z){!S&&A&&Yr(z,!0)}function N(z){E=x,x=z,D=m()}function T(z){var $=G(z),Ce=Z($),Be=t.rewind&&t.rewindByDrag;f(!1),w?h.scroll(Ce,0,t.snap):i.is(fo)?h.go(g(kc($))<0?Be?"<":"-":Be?">":"+"):i.is(jn)&&C&&Be?h.go(v(!0)?">":"<"):h.go(h.toDest(Ce),!0),f(!0)}function y(z){var $=t.dragMinThreshold,Ce=$s($),Be=Ce&&$.mouse||0,O=(Ce?$.touch:+$)||10;return St(U(z))>(te(z)?O:Be)}function k(z){return St(U(z))>St(U(z,!0))}function G(z){if(i.is(Zn)||!C){var $=X(z);if($&&$<d_)return U(z)/$}return 0}function Z(z){return m()+kc(z)*vi(St(z)*(t.flickPower||600),w?1/0:e.Layout.listSize()*(t.flickMaxPages||1))}function U(z,$){return Y(z,$)-Y(I(z),$)}function X(z){return Mc(z)-Mc(I(z))}function I(z){return x===z&&E||x}function Y(z,$){return(te(z)?z.changedTouches[0]:z)["page"+p($?"Y":"X")]}function fe(z){return z/(C&&i.is(jn)?wy:1)}function ee(z){var $=t.noDrag;return!Ks(z,"."+B_+", ."+Za)&&(!$||!Ks(z,$))}function te(z){return typeof TouchEvent<"u"&&z instanceof TouchEvent}function Je(){return b}function Ft(z){S=z}return{mount:F,disable:Ft,isDragging:Je}}var Xy={Spacebar:" ",Right:ja,Left:qa,Up:O_,Down:M_};function Zc(i){return i=mi(i)?i:i.key,Xy[i]||i}var h_="keydown";function qy(i,e,t){var r=we(i),n=r.on,s=r.bind,o=r.unbind,a=i.root,u=e.Direction.resolve,l,c;function h(){d(),n(Tt,f),n(Tt,d),n(Di,p)}function d(){var m=t.keyboard;m&&(l=m==="global"?window:a,s(l,h_,g))}function f(){o(l,h_)}function _(m){c=m}function p(){var m=c;c=!0,p_(function(){c=m})}function g(m){if(!c){var v=Zc(m);v===u(qa)?i.go("<"):v===u(ja)&&i.go(">")}}return{mount:h,destroy:f,disable:_}}var js=Hc+"-lazy",za=js+"-srcset",jy="["+js+"], ["+za+"]";function $y(i,e,t){var r=we(i),n=r.on,s=r.off,o=r.bind,a=r.emit,u=t.lazyLoad==="sequential",l=[lo,Kn],c=[];function h(){t.lazyLoad&&(d(),n(We,d))}function d(){qr(c),f(),u?m():(s(l),n(l,_),_())}function f(){e.Slides.forEach(function(v){Wc(v.slide,jy).forEach(function(D){var x=lr(D,js),E=lr(D,za);if(x!==D.src||E!==D.srcset){var w=t.classes.spinner,b=D.parentElement,C=ao(b,"."+w)||Un("span",w,b);c.push([D,v,C]),D.src||Js(D,"none")}})})}function _(){c=c.filter(function(v){var D=t.perPage*((t.preloadPages||1)+1)-1;return v[1].isWithin(i.index,D)?p(v):!0}),c.length||s(l)}function p(v){var D=v[0];Er(v[1].slide,Nc),o(D,"load error",ge(g,v)),Q(D,"src",lr(D,js)),Q(D,"srcset",lr(D,za)),wr(D,js),wr(D,za)}function g(v,D){var x=v[0],E=v[1];Ur(E.slide,Nc),D.type!=="error"&&(an(v[2]),Js(x,""),a(A_,x,E),a(to)),u&&m()}function m(){c.length&&p(c.shift())}return{mount:h,destroy:ge(qr,c),check:_}}function Ky(i,e,t){var r=we(i),n=r.on,s=r.emit,o=r.bind,a=e.Slides,u=e.Elements,l=e.Controller,c=l.hasFocus,h=l.getIndex,d=l.go,f=e.Direction.resolve,_=u.pagination,p=[],g,m;function v(){D(),n([Tt,We,Ya],v);var S=t.pagination;_&&Js(_,S?"":"none"),S&&(n([Di,Uc,Kn],A),x(),A(),s(oy,{list:g,items:p},C(i.index)))}function D(){g&&(an(_?yi(g.children):g),Ur(g,m),qr(p),g=null),r.destroy()}function x(){var S=i.length,P=t.classes,F=t.i18n,M=t.perPage,V=c()?l.getEnd()+1:eo(S/M);g=_||Un("ul",P.pagination,u.track.parentElement),Er(g,m=Qa+"--"+b()),Q(g,Xr,"tablist"),Q(g,jt,F.select),Q(g,qc,b()===$a?"vertical":"");for(var B=0;B<V;B++){var R=Un("li",null,g),L=Un("button",{class:P.page,type:"button"},R),N=a.getIn(B).map(function(y){return y.slide.id}),T=!c()&&M>1?F.pageX:F.slideX;o(L,"click",ge(E,B)),t.paginationKeyboard&&o(L,"keydown",ge(w,B)),Q(R,Xr,"presentation"),Q(L,Xr,"tab"),Q(L,co,N.join(" ")),Q(L,jt,Lc(T,B+1)),Q(L,Xn,-1),p.push({li:R,button:L,page:B})}}function E(S){d(">"+S,!0)}function w(S,P){var F=p.length,M=Zc(P),V=b(),B=-1;M===f(ja,!1,V)?B=++S%F:M===f(qa,!1,V)?B=(--S+F)%F:M==="Home"?B=0:M==="End"&&(B=F-1);var R=p[B];R&&(v_(R.button),d(">"+B),Yr(P,!0))}function b(){return t.paginationDirection||t.direction}function C(S){return p[l.toPage(S)]}function A(){var S=C(h(!0)),P=C(h());if(S){var F=S.button;Ur(F,un),wr(F,a_),Q(F,Xn,-1)}if(P){var M=P.button;Er(M,un),Q(M,a_,!0),Q(M,Xn,"")}s(ay,{list:g,items:p},S,P)}return{items:p,mount:v,destroy:D,getAt:C,update:A}}var Zy=[" ","Enter"];function Qy(i,e,t){var r=t.isNavigation,n=t.slideFocus,s=[];function o(){i.splides.forEach(function(_){_.isParent||(l(i,_.splide),l(_.splide,i))}),r&&c()}function a(){s.forEach(function(_){_.destroy()}),qr(s)}function u(){a(),o()}function l(_,p){var g=we(_);g.on(Di,function(m,v,D){p.go(p.is(Zn)?D:m)}),s.push(g)}function c(){var _=we(i),p=_.on;p(E_,d),p(F_,f),p([ln,Tt],h),s.push(_),_.emit(C_,i.splides)}function h(){Q(e.Elements.list,qc,t.direction===$a?"vertical":"")}function d(_){i.go(_.index)}function f(_,p){zc(Zy,Zc(p))&&(d(_),Yr(p))}return{setup:ge(e.Media.set,{slideFocus:no(n)?r:n},!0),mount:o,destroy:a,remount:u}}function Jy(i,e,t){var r=we(i),n=r.bind,s=0;function o(){t.wheel&&n(e.Elements.track,"wheel",a,Yn)}function a(l){if(l.cancelable){var c=l.deltaY,h=c<0,d=Mc(l),f=t.wheelMinThreshold||0,_=t.wheelSleep||0;St(c)>f&&d-s>_&&(i.go(h?"<":">"),s=d),u(h)&&Yr(l)}}function u(l){return!t.releaseWheel||i.state.is($n)||e.Controller.getAdjacent(l)!==-1}return{mount:o}}var e1=90;function t1(i,e,t){var r=we(i),n=r.on,s=e.Elements.track,o=t.live&&!t.isNavigation,a=Un("span",Dy),u=Ua(e1,ge(c,!1));function l(){o&&(d(!e.Autoplay.isPaused()),Q(s,c_,!0),a.textContent="\u2026",n(S_,ge(d,!0)),n(T_,ge(d,!1)),n([lo,Kn],ge(c,!0)))}function c(f){Q(s,l_,f),f?(oo(s,a),u.start()):(an(a),u.cancel())}function h(){wr(s,[u_,c_,l_]),an(a)}function d(f){o&&Q(s,u_,f?"off":"polite")}return{mount:l,disable:d,destroy:h}}var r1=Object.freeze({__proto__:null,Media:fy,Direction:dy,Elements:Cy,Slides:Ty,Layout:Ay,Clones:Py,Move:Oy,Controller:My,Arrows:Ry,Autoplay:Iy,Cover:By,Scroll:Gy,Drag:Uy,Keyboard:qy,LazyLoad:$y,Pagination:Ky,Sync:Qy,Wheel:Jy,Live:t1}),i1={prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},n1={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:by,i18n:i1,reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function s1(i,e,t){var r=e.Slides;function n(){we(i).on([ln,We],s)}function s(){r.forEach(function(a){a.style("transform","translateX(-"+100*a.index+"%)")})}function o(a,u){r.style("transition","opacity "+t.speed+"ms "+t.easing),p_(u)}return{mount:n,start:o,cancel:Oc}}function o1(i,e,t){var r=e.Move,n=e.Controller,s=e.Scroll,o=e.Elements.list,a=ge(ur,o,"transition"),u;function l(){we(i).bind(o,"transitionend",function(f){f.target===o&&u&&(h(),u())})}function c(f,_){var p=r.toPosition(f,!0),g=r.getPosition(),m=d(f);St(p-g)>=1&&m>=1?t.useScroll?s.scroll(p,m,!1,_):(a("transform "+m+"ms "+t.easing),r.translate(p,!0),u=_):(r.jump(f),_())}function h(){a(""),s.cancel()}function d(f){var _=t.rewindSpeed;if(i.is(jn)&&_){var p=n.getIndex(!0),g=n.getEnd();if(p===0&&f>=g||p>=g&&f===0)return _}return t.speed}return{mount:l,start:c,cancel:h}}var a1=function(){function i(t,r){this.event=we(),this.Components={},this.state=ly(Gn),this.splides=[],this._o={},this._E={};var n=mi(t)?y_(document,t):t;qs(n,n+" is invalid."),this.root=n,r=gi({label:lr(n,jt)||"",labelledby:lr(n,Xc)||""},n1,i.defaults,r||{});try{gi(r,JSON.parse(lr(n,Hc)))}catch{qs(!1,"Invalid JSON")}this._o=Object.create(gi({},r))}var e=i.prototype;return e.mount=function(r,n){var s=this,o=this.state,a=this.Components;qs(o.is([Gn,Va]),"Already mounted!"),o.set(Gn),this._C=a,this._T=n||this._T||(this.is(fo)?s1:o1),this._E=r||this._E;var u=Qs({},r1,this._E,{Transition:this._T});return on(u,function(l,c){var h=l(s,a,s._o);a[c]=h,h.setup&&h.setup()}),on(a,function(l){l.mount&&l.mount()}),this.emit(ln),Er(this.root,yy),o.set(qn),this.emit(s_),this},e.sync=function(r){return this.splides.push({splide:r}),r.splides.push({splide:this,isParent:!0}),this.state.is(qn)&&(this._C.Sync.remount(),r.Components.Sync.remount()),this},e.go=function(r){return this._C.Controller.go(r),this},e.on=function(r,n){return this.event.on(r,n),this},e.off=function(r){return this.event.off(r),this},e.emit=function(r){var n;return(n=this.event).emit.apply(n,[r].concat(yi(arguments,1))),this},e.add=function(r,n){return this._C.Slides.add(r,n),this},e.remove=function(r){return this._C.Slides.remove(r),this},e.is=function(r){return this._o.type===r},e.refresh=function(){return this.emit(We),this},e.destroy=function(r){r===void 0&&(r=!0);var n=this.event,s=this.state;return s.is(Gn)?we(this).on(s_,this.destroy.bind(this,r)):(on(this._C,function(o){o.destroy&&o.destroy(r)},!0),n.emit(w_),n.destroy(),r&&qr(this.splides),s.set(Va)),this},XD(i,[{key:"options",get:function(){return this._o},set:function(r){this._C.Media.set(r,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}]),i}(),Qn=a1;Qn.defaults={};Qn.STATES=jD;var Sr,ef,u1,ru,K_,Z_,G_,Jc,Q_,J_=function(){return typeof window<"u"},eg=function(){return Sr||J_()&&(Sr=window.gsap)&&Sr.registerPlugin&&Sr},l1=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,Qc={rect:["width","height"],circle:["r","r"],ellipse:["rx","ry"],line:["x2","y2"]},cn=function(e){return Math.round(e*1e4)/1e4},jr=function(e){return parseFloat(e)||0},U_=function(e,t){var r=jr(e);return~e.indexOf("%")?r/100*t:r},Ja=function(e,t){return jr(e.getAttribute(t))},eu=Math.sqrt,X_=function(e,t,r,n,s,o){return eu(Math.pow((jr(r)-jr(e))*s,2)+Math.pow((jr(n)-jr(t))*o,2))},q_=function(e){return console.warn(e)},tg=function(e){return e.getAttribute("vector-effect")==="non-scaling-stroke"},c1=1,f1=function(e,t,r){var n=e.indexOf(" "),s,o;return n<0?(s=r!==void 0?r+"":e,o=e):(s=e.substr(0,n),o=e.substr(n+1)),s=U_(s,t),o=U_(o,t),s>o?[o,s]:[s,o]},tu=function(e){if(e=ef(e)[0],!e)return 0;var t=e.tagName.toLowerCase(),r=e.style,n=1,s=1,o,a,u,l,c,h,d;tg(e)&&(s=e.getScreenCTM(),n=eu(s.a*s.a+s.b*s.b),s=eu(s.d*s.d+s.c*s.c));try{a=e.getBBox()}catch{q_("Some browsers won't measure invisible elements (like display:none or masks inside defs).")}var f=a||{x:0,y:0,width:0,height:0},_=f.x,p=f.y,g=f.width,m=f.height;if((!a||!g&&!m)&&Qc[t]&&(g=Ja(e,Qc[t][0]),m=Ja(e,Qc[t][1]),t!=="rect"&&t!=="line"&&(g*=2,m*=2),t==="line"&&(_=Ja(e,"x1"),p=Ja(e,"y1"),g=Math.abs(g-_),m=Math.abs(m-p))),t==="path")l=r.strokeDasharray,r.strokeDasharray="none",o=e.getTotalLength()||0,cn(n)!==cn(s)&&!G_&&(G_=1)&&q_("Warning: <path> length cannot be measured when vector-effect is non-scaling-stroke and the element isn't proportionally scaled."),o*=(n+s)/2,r.strokeDasharray=l;else if(t==="rect")o=g*2*n+m*2*s;else if(t==="line")o=X_(_,p,_+g,p+m,n,s);else if(t==="polyline"||t==="polygon")for(u=e.getAttribute("points").match(l1)||[],t==="polygon"&&u.push(u[0],u[1]),o=0,c=2;c<u.length;c+=2)o+=X_(u[c-2],u[c-1],u[c],u[c+1],n,s)||0;else(t==="circle"||t==="ellipse")&&(h=g/2*n,d=m/2*s,o=Math.PI*(3*(h+d)-eu((3*h+d)*(h+3*d))));return o||0},j_=function(e,t){if(e=ef(e)[0],!e)return[0,0];t||(t=tu(e)+1);var r=ru.getComputedStyle(e),n=r.strokeDasharray||"",s=jr(r.strokeDashoffset),o=n.indexOf(",");return o<0&&(o=n.indexOf(" ")),n=o<0?t:jr(n.substr(0,o)),n>t&&(n=t),[-s||0,n-s||0]},$_=function(){J_()&&(u1=document,ru=window,Z_=Sr=eg(),ef=Sr.utils.toArray,Jc=Sr.core.getStyleSaver,Q_=Sr.core.reverting||function(){},K_=((ru.navigator||{}).userAgent||"").indexOf("Edge")!==-1)},tf={version:"3.12.2",name:"drawSVG",register:function(e){Sr=e,$_()},init:function(e,t,r,n,s){if(!e.getBBox)return!1;Z_||$_();var o=tu(e),a,u,l;return this.styles=Jc&&Jc(e,"strokeDashoffset,strokeDasharray,strokeMiterlimit"),this.tween=r,this._style=e.style,this._target=e,t+""=="true"?t="0 100%":t?(t+"").indexOf(" ")===-1&&(t="0 "+t):t="0 0",a=j_(e,o),u=f1(t,o,a[0]),this._length=cn(o),this._dash=cn(a[1]-a[0]),this._offset=cn(-a[0]),this._dashPT=this.add(this,"_dash",this._dash,cn(u[1]-u[0]),0,0,0,0,0,1),this._offsetPT=this.add(this,"_offset",this._offset,cn(-u[0]),0,0,0,0,0,1),K_&&(l=ru.getComputedStyle(e),l.strokeLinecap!==l.strokeLinejoin&&(u=jr(l.strokeMiterlimit),this.add(e.style,"strokeMiterlimit",u,u+.01))),this._live=tg(e)||~(t+"").indexOf("live"),this._nowrap=~(t+"").indexOf("nowrap"),this._props.push("drawSVG"),c1},render:function(e,t){if(t.tween._time||!Q_()){var r=t._pt,n=t._style,s,o,a,u;if(r){for(t._live&&(s=tu(t._target),s!==t._length&&(o=s/t._length,t._length=s,t._offsetPT&&(t._offsetPT.s*=o,t._offsetPT.c*=o),t._dashPT?(t._dashPT.s*=o,t._dashPT.c*=o):t._dash*=o));r;)r.r(e,r.d),r=r._next;a=t._dash||e&&e!==1&&1e-4||0,s=t._length-a+.1,u=t._offset,a&&u&&a+Math.abs(u%t._length)>t._length-.2&&(u+=u<0?.1:-.1)&&(s+=.1),n.strokeDashoffset=a?u:u+.001,n.strokeDasharray=s<.2?"none":a?a+"px,"+(t._nowrap?999999:s)+"px":"0px, 999999px"}}else t.styles.revert()},getLength:tu,getPosition:j_};eg()&&Sr.registerPlugin(tf);oe.registerPlugin(tf,J,_i,ji,Pn);var fn=new Vo({duration:1.2,easing:i=>Math.min(1,1.001-Math.pow(2,-10*i))});function d1(){function i(e){fn.raf(e),requestAnimationFrame(i)}requestAnimationFrame(i)}function h1(){(0,ng.default)("img, video:not(#fullReel)",{loaded:function(e){}}).observe()}function p1(){ji.create("loader","0.83, 0, 0.17, 1"),ji.create("loader2","0.77, 0, 0.175, 1")}function _1(){window.addEventListener("pageshow",function(i){i.persisted&&window.location.reload()})}var Jn=oe.timeline({});Jn.add(function(){history.scrollRestoration="manual",oe.to(window,{duration:.05,scrollTo:0}),fn.scrollTo(0)});Jn.add(function(){fn.stop()},">");Jn.to(".loader_ract",{delay:.2,duration:.8,width:0,ease:"loader2"},">");Jn.add(function(){fn.start()},">");Jn.to(".loader_wrapper",{display:"none",duration:.1},">");function g1(){document.querySelectorAll('a:not([href^="#"]):not([href^="javascript:"]):not([href=""]):not([href^="mailto:"]):not([href^="tel:"])').forEach(e=>{e.getAttribute("target")!=="_blank"&&e.addEventListener("click",t=>{t.preventDefault();let r=oe.timeline({onComplete:()=>{window.location.href=e.href}});r.to(".unloader_wrapper",{display:"flex",duration:.05}),r.from(".unloader_ract",{duration:.4,width:"0%",ease:"loader2"}),r.play()})})}function m1(){window.addEventListener("resize",function(){setTimeout(function(){oe.set(".loader_wrapper",{display:"none"})},50)})}function v1(){oe.to("#heroSection",{scrollTrigger:{trigger:"#bottomWrapper",start:"top bottom",toggleActions:"restart none none reverse"},y:"-100%"})}function D1(){let i=document.querySelectorAll('[wide="customCursor"]'),e=document.querySelector(".custom_cursor");i.forEach(t=>{t.addEventListener("mousedown",function(){e.style.transform="scale3d(0.8, 0.8, 1)"}),t.addEventListener("mouseup",function(){e.style.transform="scale3d(1, 1, 1)"})})}function y1(){document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll("[wideCursorText]").forEach(function(e){e.addEventListener("mouseenter",()=>{let t=e.getAttribute("wideCursorText"),r=document.querySelector(".custom_cursor_text");r.innerHTML=t})})})}var rg=oe.from(".navbar",{y:"-100%",paused:!0,duration:.2,ease:"loader2"}).progress(1);function x1(){J.create({start:"top top",endTrigger:".bottom-wrapper",end:"bottom top+=100px",onUpdate:i=>{i.direction===-1?rg.play():rg.reverse()}})}var go=oe.timeline({}),bx=new _i("#homeHeroHeading",{type:"lines",linesClass:"hero-line"}),Ex=new _i("#homeHeroHeading",{type:"lines",linesClass:"hero-line-mask"});go.add(Jn.play());go.from(".navbar",{opacity:0,duration:.6,ease:"loader2"});go.from(".hero-line",{duration:1.2,y:"100%",stagger:.2,ease:"loader2"},">-0.5");go.to(".hero_headline_ract-mask",{width:"0%",duration:.6,ease:"loader2"},">-0.6");go.from("#heroSubtitle",{opacity:0,duration:1,ease:"loader2"},">-0.4");var sg=oe.timeline({scrollTrigger:{trigger:"#statsKnow",start:"center center",toggleActions:"restart none none reverse",end:"+=500"},pause:"paused",ease:"defaultEase"}),wx=new _i("#statsDone",{type:"lines",linesClass:"stats-line"}),Cx=new _i("#statsDone",{type:"lines",linesClass:"stats-line-mask"});sg.to("#statsKnow",{duration:.5,opacity:0,display:"none"},">");sg.from(".stats-line",{duration:.5,opacity:0,y:"100%",stagger:.25});var b1=document.querySelector(".hero_headline-span.copy-this"),E1=document.querySelector(".hero_headline-span");E1.appendChild(b1);var w1=document.querySelector(".reviews_headline-span.copy-this"),C1=document.querySelector(".reviews_headline-span");C1.appendChild(w1);var S1=document.querySelector(".start_headline-span.copy-this"),T1=document.querySelector(".start_headline-span");T1.appendChild(S1);var A1=document.querySelectorAll(".portfolio_item_image-mask");A1.forEach(i=>{let e=oe.from(i,{width:"100%",duration:.72,ease:"loader2",paused:!0});J.create({animation:e,trigger:i,start:"top 80%",onEnter:()=>e.play()})});var F1=document.querySelector(".splide__slide.reviews_collection_item.is-static").innerHTML,og=document.querySelector(".reviews_collection_item");og.innerHTML=F1;og.classList.add("is-static");new Qn("#reviewsSlider",{type:"slide",fixedWidth:"24.5rem",focus:0,padding:{left:"2.5rem",right:0},gap:0,omitEnd:!0,arrows:!1,drag:!0,easing:"cubic-bezier(0.83, 0, 0.17, 1)",snap:!0,classes:{pagination:"splide__pagination reviews-pagination",page:"splide__pagination__page reviews-page"},breakpoints:{992:{fixedWidth:"17.438rem",padding:{left:"1.75rem"},drag:"free",snap:!1},480:{fixedWidth:"16.25rem",padding:{left:"1.375rem"},drag:"free",snap:!1}}}).mount();var rf=new Qn("#factsSlider",{type:"loop",perPage:1,gap:0,arrows:!1,drag:!1,duration:.15,easing:"cubic-bezier(0.83, 0, 0.17, 1)",classes:{pagination:"splide__pagination facts-pagination",page:"splide__pagination__page facts-page"},breakpoints:{992:{gap:"1.75rem",drag:!0},480:{gap:"1.375rem"}}}).mount();window.innerWidth>992&&rf.on("click",function(){rf.go("+1")});var P1=document.querySelectorAll(".external_link.is-cursor");P1.forEach(i=>{i.addEventListener("click",()=>{event.stopPropagation()})});rf.on("move ",i=>{i===0?document.querySelector(".facts-slide_diagram-trigger.is-0").click():i===1?document.querySelector(".facts-slide_diagram-trigger.is-1").click():i===2&&document.querySelector(".facts-slide_diagram-trigger.is-2").click()});J.create({trigger:".section.is-facts",start:"top bottom",once:!0,onToggle:()=>{document.querySelector(".facts-slide_diagram-trigger.is-0").click()}});new Qn("#teamSlider",{type:"slide",fixedWidth:"20%",padding:{left:"2.5rem",right:0},focus:0,gap:0,pagination:!1,omitEnd:!0,arrows:!1,drag:!0,easing:"cubic-bezier(0.83, 0, 0.17, 1)",snap:!0,classes:{pagination:"splide__pagination facts-pagination",page:"splide__pagination__page facts-page"},breakpoints:{992:{fixedWidth:"40%",padding:{left:"1.75rem"},drag:"free",snap:!1},560:{fixedWidth:"75%",padding:{left:"1.375rem"},drag:"free",snap:!1}}}).mount();oe.to("#reelPrevSection",{scrollTrigger:{trigger:"#reelPrevSection",start:"top bottom",end:"top top",toggleActions:"restart none none reverse",scrub:1},paddingLeft:"0rem",paddingRight:"0rem",ease:"linear"});oe.to(".team_big-image_wrapper",{scrollTrigger:{trigger:".team_big-image_wrapper",start:"top bottom",end:"top top",toggleActions:"restart none none reverse",scrub:1},paddingLeft:"0rem",paddingRight:"0rem",ease:"linear"});window.addEventListener("load",function(){if(oe.set(".section.is-skills",{backgroundColor:"#fff"}),oe.set("#heroNavbarLottie path",{fill:"rgb(21, 21, 21)"}),window.innerWidth>992){let i=oe.timeline({duration:.2,ease:"loader2",scrollTrigger:{trigger:".section.is-skills",start:"top bottom",end:"bottom top",toggleActions:"restart reverse restart reverse"}});i.to(["#skills","#portfolio"],{backgroundColor:"#151515"}),i.to([".navbar_menu_link",".button_small",".button_small_icon",".navbar_brand_svg","#heroNavbarLottie path "],{color:"#fff",fill:"rgb(254, 254, 254)"},"<")}else{let i=oe.timeline({duration:.2,ease:"loader2",scrollTrigger:{trigger:".section.is-skills",start:"top bottom",end:"bottom top",toggleActions:"restart reverse restart reverse"}});i.to(["#skills","#portfolio"],{backgroundColor:"#151515"}),i.to([".button_small",".button_small_icon",".navbar_brand_svg","#heroNavbarLottie path "],{color:"#fff",fill:"rgb(254, 254, 254)"},"<")}});oe.to(".reviews_headline_ract-mask",{scrollTrigger:{trigger:".reviews_headline_ract-mask",start:"bottom bottom-=5%"},width:0,ease:"loader2",duration:.6});oe.to(".start_headline_ract-mask",{scrollTrigger:{trigger:".start_headline_ract-mask",start:"bottom bottom-=5%"},width:0,ease:"loader2",duration:.6});var mo=oe.timeline({paused:!0});mo.fromTo("#startPath1",{drawSVG:"50%"},{drawSVG:"0% 100%",duration:1,ease:"loader"});mo.from("#startIcon1",{opacity:0,duration:.3,ease:"loader"},"<0.1");mo.from("#stepPoint1",{opacity:0,duration:.4,ease:"loader"},.8);mo.from("#startGradientMask",{height:"0px",opacity:0,duration:.6,ease:"loader"},"-=0.8");var su=oe.timeline({paused:!0});su.fromTo("#startPath2",{drawSVG:"50%"},{drawSVG:"0% 100%",duration:1,ease:"loader"});su.from("#startIcon2",{opacity:0,duration:.3,ease:"loader"},"<0.1");su.from("#stepPoint2",{opacity:0,duration:.4,ease:"loader"},.8);var ou=oe.timeline({paused:!0});ou.fromTo("#startPath3",{drawSVG:"50%"},{drawSVG:"0% 100%",duration:1,ease:"loader"});ou.from("#startIcon3",{opacity:0,duration:.3,ease:"loader"},"<0.1");ou.from("#stepPoint3",{opacity:0,duration:.4,ease:"loader"},.8);var au=oe.timeline({paused:!0});au.fromTo("#startPath4",{drawSVG:"50%"},{drawSVG:"0% 100%",duration:1,ease:"loader"});au.from("#startIcon4",{opacity:0,duration:.3,ease:"loader"},"<0.1");au.from("#stepPoint4",{opacity:0,duration:.4,ease:"loader"},.8);var uu=oe.timeline({scrollTrigger:{trigger:".section.is-start",start:"bottom 110%",end:"+=500"}});uu.add(mo.play());uu.add(su.play(),"-=0.4");uu.add(ou.play(),"-=0.4");uu.add(au.play(),"-=0.4");document.addEventListener("DOMContentLoaded",()=>{window.innerWidth>992?document.querySelectorAll(".portfolio_item_image-wrapper").forEach(e=>{let t=e.getElementsByTagName("video"),r=t.length>0?t[0]:null;if(!r)return;r.addEventListener("loadeddata",()=>{r.pause()}),e.addEventListener("mouseenter",n,!1),e.addEventListener("mouseleave",s,!1);function n(){r.play()}function s(){r.pause()}}):document.querySelectorAll(".background-video video").forEach(e=>{let t=e.getAttribute("poster");e.innerHTML="",e.setAttribute("poster",t),e.load(),e.pause()})});var ag=document.querySelector(".team_collection_list"),ug=Array.from(ag.children);ug.sort(function(){return .5-Math.random()});ug.forEach(function(i){ag.appendChild(i)});var lg=.15;oe.from(".clients_collection_item_mask",{scrollTrigger:{trigger:".clients_collection_item_mask",start:"top bottom-=25%"},width:"0%",duration:.7,ease:"loader2",stagger:lg});oe.from(".clients_item_image",{scrollTrigger:{trigger:".clients_collection_item_mask",start:"top bottom-=25%"},opacity:0,delay:.4,duration:.6,ease:"loader2",stagger:lg});oe.from(".splide.is-reviews",{scrollTrigger:{trigger:".splide.is-reviews",start:"top bottom",end:"bottom bottom-=15%",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"});oe.from(".splide.is-team",{scrollTrigger:{trigger:".splide.is-team",start:"top bottom",end:"bottom bottom",scrub:1,once:!0},x:"10%",opacity:0,ease:"linear"});var po=oe.timeline({paused:!0,ease:"loader2"});po.from(".team_big-image_person-wrapper.is-m",{x:"5%",opacity:0,duration:.4});po.from("#m-line",{drawSVG:"0% 0%",duration:.2},">-0.2");po.from("#m-arrow",{drawSVG:"0% 0%",duration:.15});document.addEventListener("DOMContentLoaded",()=>{if(window.innerWidth>992){let i=document.querySelector(".team_big-image_trigger.is-m");i.addEventListener("mouseenter",()=>{po.timeScale(1).play()}),i.addEventListener("mouseleave",()=>{po.timeScale(3).reverse()})}});var _o=oe.timeline({paused:!0,ease:"loader2"});_o.from(".team_big-image_person-wrapper.is-k",{x:"5%",opacity:0,duration:.4});_o.from("#k-line",{drawSVG:"0% 0%",duration:.25},">-0.2");_o.from("#k-arrow",{drawSVG:"0% 0%",duration:.15});document.addEventListener("DOMContentLoaded",()=>{if(window.innerWidth>992){let i=document.querySelector(".team_big-image_trigger.is-k");i.addEventListener("mouseenter",()=>{_o.timeScale(1).play()}),i.addEventListener("mouseleave",()=>{_o.timeScale(3).reverse()})}});var nf=document.querySelector(".hero_headline-span"),iu=oe.timeline({paused:!0,ease:"loader2"});iu.to(".hero-line-mask",{clipPath:"none",duration:.05},">");iu.to(nf,{scale:2,duration:.35},">");document.addEventListener("DOMContentLoaded",()=>{window.innerWidth>992&&(nf.addEventListener("mouseenter",()=>{iu.timeScale(1).play()}),nf.addEventListener("mouseleave",()=>{iu.timeScale(2).reverse()}))});var ig=document.querySelectorAll('[wideClick="playReel"]'),nu=document.querySelector(".reel-modal"),At=document.getElementById("fullReel"),O1=0,ho=oe.timeline({ease:"loader2",paused:!0});ho.to(nu,{display:"flex",opacity:0,duration:0});ho.to(nu,{opacity:1,duration:.6},">");window.innerWidth>992?(ig.forEach(i=>{i.addEventListener("click",()=>{if(fn.stop(),ho.timeScale(1).play(),O1===0)At.canPlayType("video/webm")?At.src="https://widelabco.sfo3.cdn.digitaloceanspaces.com/Widelab-reel.webm":At.src="https://widelabco.sfo3.cdn.digitaloceanspaces.com/Widelab-reel.mp4",At.load();else return;At.play()})}),nu.addEventListener("click",()=>{ho.timeScale(4).reverse(),At.pause(),fn.start()}),window.addEventListener("keydown",function(i){i.keyCode===27&&(ho.timeScale(4).reverse(),At.pause(),fn.start())})):(ig.forEach(i=>{i.addEventListener("click",()=>{At.canPlayType("video/webm")?At.src="https://widelabco.sfo3.cdn.digitaloceanspaces.com/Widelab-reel.webm":At.src="https://widelabco.sfo3.cdn.digitaloceanspaces.com/Widelab-reel.mp4",At.load(),At.addEventListener("canplaythrough",()=>{At.play()},{once:!0})})}),nu.addEventListener("click",()=>{At.pause()}));var cg=oe.timeline({scrollTrigger:{trigger:".reviews_map_base",start:"bottom-=160px bottom"}});cg.from(".map-point",{duration:1,opacity:0,stagger:.1,ease:"loader2"});cg.from(".map-pin_wrapper",{duration:1,opacity:0,stagger:.1,ease:"loader2"},"0.3");var M1=document.querySelectorAll(".map-pin_wrapper");M1.forEach(function(i){i.addEventListener("mouseenter",function(){let e=this.getAttribute("w-map-pin"),t=document.querySelectorAll(".map_info-collection-item"),r=document.querySelectorAll(".map_info-collection-item[w-map-info='"+e+"']"),n=oe.timeline({});n.to(t,{opacity:0,ease:"loader2",duration:.1}),n.to(t,{display:"none",duration:.01}),n.to(r,{display:"block",duration:.01}),n.to(r,{opacity:1,ease:"loader2",duration:.2})})});document.addEventListener("DOMContentLoaded",i=>{let e=document.querySelectorAll(".map_info-wrapper");for(let t=0;t<e.length;t++){let r=e[t].getAttribute("href");r&&r.length>3&&(e[t].style.cursor="pointer")}});window.Webflow||=[];window.Webflow.push(()=>{Pd(),d1(),p1(),h1(),_1(),g1(),m1(),v1(),D1(),y1(),x1()});})();
|
|
1
|
+
(()=>{var Oh=Object.create;var el=Object.defineProperty;var kh=Object.getOwnPropertyDescriptor;var Mh=Object.getOwnPropertyNames;var Lh=Object.getPrototypeOf,Rh=Object.prototype.hasOwnProperty;var Nh=(s,t)=>()=>(t||s((t={exports:{}}).exports,t),t.exports);var Bh=(s,t,e,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Mh(t))!Rh.call(s,i)&&i!==e&&el(s,i,{get:()=>t[i],enumerable:!(r=kh(t,i))||r.enumerable});return s};var Ih=(s,t,e)=>(e=s!=null?Oh(Lh(s)):{},Bh(t||!s||!s.__esModule?el(e,"default",{value:s,enumerable:!0}):e,s));var Sc=Nh((xa,Sa)=>{(function(s,t){typeof xa=="object"&&typeof Sa!="undefined"?Sa.exports=t():typeof define=="function"&&define.amd?define(t):s.lozad=t()})(xa,function(){"use strict";var s=typeof document!="undefined"&&document.documentMode,t={rootMargin:"0px",threshold:0,load:function(n){if(n.nodeName.toLowerCase()==="picture"){var o=n.querySelector("img"),u=!1;o===null&&(o=document.createElement("img"),u=!0),s&&n.getAttribute("data-iesrc")&&(o.src=n.getAttribute("data-iesrc")),n.getAttribute("data-alt")&&(o.alt=n.getAttribute("data-alt")),u&&n.append(o)}if(n.nodeName.toLowerCase()==="video"&&!n.getAttribute("data-src")&&n.children){for(var a=n.children,l=void 0,f=0;f<=a.length-1;f++)(l=a[f].getAttribute("data-src"))&&(a[f].src=l);n.load()}n.getAttribute("data-poster")&&(n.poster=n.getAttribute("data-poster")),n.getAttribute("data-src")&&(n.src=n.getAttribute("data-src")),n.getAttribute("data-srcset")&&n.setAttribute("srcset",n.getAttribute("data-srcset"));var _=",";if(n.getAttribute("data-background-delimiter")&&(_=n.getAttribute("data-background-delimiter")),n.getAttribute("data-background-image"))n.style.backgroundImage="url('"+n.getAttribute("data-background-image").split(_).join("'),url('")+"')";else if(n.getAttribute("data-background-image-set")){var d=n.getAttribute("data-background-image-set").split(_),c=d[0].substr(0,d[0].indexOf(" "))||d[0];c=c.indexOf("url(")===-1?"url("+c+")":c,d.length===1?n.style.backgroundImage=c:n.setAttribute("style",(n.getAttribute("style")||"")+"background-image: "+c+"; background-image: -webkit-image-set("+d+"); background-image: image-set("+d+")")}n.getAttribute("data-toggle-class")&&n.classList.toggle(n.getAttribute("data-toggle-class"))},loaded:function(){}};function e(n){n.setAttribute("data-loaded",!0)}var r=function(n){return n.getAttribute("data-loaded")==="true"},i=function(n){var o=1<arguments.length&&arguments[1]!==void 0?arguments[1]:document;return n instanceof Element?[n]:n instanceof NodeList?n:o.querySelectorAll(n)};return function(){var n,o,u=0<arguments.length&&arguments[0]!==void 0?arguments[0]:".lozad",a=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{},l=Object.assign({},t,a),f=l.root,_=l.rootMargin,d=l.threshold,c=l.load,p=l.loaded,h=void 0;typeof window!="undefined"&&window.IntersectionObserver&&(h=new IntersectionObserver((n=c,o=p,function(m,C){m.forEach(function(x){(0<x.intersectionRatio||x.isIntersecting)&&(C.unobserve(x.target),r(x.target)||(n(x.target),e(x.target),o(x.target)))})}),{root:f,rootMargin:_,threshold:d}));for(var g,v=i(u,f),D=0;D<v.length;D++)(g=v[D]).getAttribute("data-placeholder-background")&&(g.style.background=g.getAttribute("data-placeholder-background"));return{observe:function(){for(var m=i(u,f),C=0;C<m.length;C++)r(m[C])||(h?h.observe(m[C]):(c(m[C]),e(m[C]),p(m[C])))},triggerLoad:function(m){r(m)||(c(m),e(m),p(m))},observer:h}}})});function Jo(){return Jo=Object.assign?Object.assign.bind():function(s){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(s[r]=e[r])}return s},Jo.apply(this,arguments)}function Os(s,t,e){return Math.max(s,Math.min(t,e))}var tu=class{advance(t){var e;if(!this.isRunning)return;let r=!1;if(this.lerp)this.value=(i=this.value,n=this.to,(1-(o=1-Math.exp(-60*this.lerp*t)))*i+o*n),Math.round(this.value)===this.to&&(this.value=this.to,r=!0);else{this.currentTime+=t;let u=Os(0,this.currentTime/this.duration,1);r=u>=1;let a=r?1:this.easing(u);this.value=this.from+(this.to-this.from)*a}var i,n,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:i=1,easing:n=a=>a,onStart:o,onUpdate:u}){this.from=this.value=t,this.to=e,this.lerp=r,this.duration=i,this.easing=n,this.currentTime=0,this.isRunning=!0,o==null||o(),this.onUpdate=u}},eu=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 i=function(n,o){let u;return function(){let a=arguments,l=this;clearTimeout(u),u=setTimeout(function(){n.apply(l,a)},250)}}(this.resize);this.wrapper!==window&&(this.wrapperResizeObserver=new ResizeObserver(i),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(i),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}}},ks=class{constructor(){this.events={}}emit(t,...e){let r=this.events[t]||[];for(let i=0,n=r.length;i<n;i++)r[i](...e)}on(t,e){var r;return(r=this.events[t])!=null&&r.push(e)||(this.events[t]=[e]),()=>{var i;this.events[t]=(i=this.events[t])==null?void 0:i.filter(n=>e!==n)}}off(t,e){var r;this.events[t]=(r=this.events[t])==null?void 0:r.filter(i=>e!==i)}destroy(){this.events={}}},ru=class{constructor(t,{wheelMultiplier:e=1,touchMultiplier:r=2,normalizeWheel:i=!1}){this.onTouchStart=n=>{let{clientX:o,clientY:u}=n.targetTouches?n.targetTouches[0]:n;this.touchStart.x=o,this.touchStart.y=u,this.lastDelta={x:0,y:0}},this.onTouchMove=n=>{let{clientX:o,clientY:u}=n.targetTouches?n.targetTouches[0]:n,a=-(o-this.touchStart.x)*this.touchMultiplier,l=-(u-this.touchStart.y)*this.touchMultiplier;this.touchStart.x=o,this.touchStart.y=u,this.lastDelta={x:a,y:l},this.emitter.emit("scroll",{deltaX:a,deltaY:l,event:n})},this.onTouchEnd=n=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:n})},this.onWheel=n=>{let{deltaX:o,deltaY:u}=n;this.normalizeWheel&&(o=Os(-100,o,100),u=Os(-100,u,100)),o*=this.wheelMultiplier,u*=this.wheelMultiplier,this.emitter.emit("scroll",{deltaX:o,deltaY:u,event:n})},this.element=t,this.wheelMultiplier=e,this.touchMultiplier=r,this.normalizeWheel=i,this.touchStart={x:null,y:null},this.emitter=new ks,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,smoothWheel:i=!0,smoothTouch:n=!1,syncTouch:o=!1,syncTouchLerp:u=.1,__iosNoInertiaSyncTouchLerp:a=.4,touchInertiaMultiplier:l=35,duration:f,easing:_=C=>Math.min(1,1.001-Math.pow(2,-10*C)),lerp:d=f&&.1,infinite:c=!1,orientation:p="vertical",gestureOrientation:h="vertical",touchMultiplier:g=1,wheelMultiplier:v=1,normalizeWheel:D=!1,autoResize:m=!0}={}){this.onVirtualScroll=({deltaX:C,deltaY:x,event:b})=>{if(b.ctrlKey)return;let E=b.type.includes("touch"),S=b.type.includes("wheel");if(this.options.gestureOrientation==="both"&&C===0&&x===0||this.options.gestureOrientation==="vertical"&&x===0||this.options.gestureOrientation==="horizontal"&&C===0||E&&this.options.gestureOrientation==="vertical"&&this.scroll===0&&!this.options.infinite&&x<=0)return;let A=b.composedPath();if(A=A.slice(0,A.indexOf(this.rootElement)),A.find(k=>{var V;return(k.hasAttribute==null?void 0:k.hasAttribute("data-lenis-prevent"))||E&&(k.hasAttribute==null?void 0:k.hasAttribute("data-lenis-prevent-touch"))||S&&(k.hasAttribute==null?void 0:k.hasAttribute("data-lenis-prevent-wheel"))||((V=k.classList)==null?void 0:V.contains("lenis"))}))return;if(this.isStopped||this.isLocked)return void b.preventDefault();if(this.isSmooth=(this.options.smoothTouch||this.options.syncTouch)&&E||this.options.smoothWheel&&S,!this.isSmooth)return this.isScrolling=!1,void this.animate.stop();b.preventDefault();let T=x;this.options.gestureOrientation==="both"?T=Math.abs(x)>Math.abs(C)?x:C:this.options.gestureOrientation==="horizontal"&&(T=C);let P=E&&this.options.syncTouch,F=E&&b.type==="touchend"&&Math.abs(T)>1;F&&(T=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+T,Jo({programmatic:!1},P&&{lerp:F?this.syncTouchLerp:this.options.__iosNoInertiaSyncTouchLerp}))},this.onScroll=()=>{if(!this.isScrolling){let C=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.velocity=0,this.direction=Math.sign(this.animatedScroll-C),this.emit()}},window.lenisVersion="1.0.25",t!==document.documentElement&&t!==document.body||(t=window),this.options={wrapper:t,content:e,wheelEventsTarget:r,smoothWheel:i,smoothTouch:n,syncTouch:o,syncTouchLerp:u,__iosNoInertiaSyncTouchLerp:a,touchInertiaMultiplier:l,duration:f,easing:_,lerp:d,infinite:c,gestureOrientation:h,orientation:p,touchMultiplier:g,wheelMultiplier:v,normalizeWheel:D,autoResize:m},this.animate=new tu,this.emitter=new ks,this.dimensions=new eu({wrapper:t,content:e,autoResize:m}),this.toggleClass("lenis",!0),this.velocity=0,this.isStopped=!1,this.isSmooth=i||n,this.isScrolling=!1,this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onScroll,{passive:!1}),this.virtualScroll=new ru(r,{touchMultiplier:g,wheelMultiplier:v,normalizeWheel:D}),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)}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:i=!1,duration:n=this.options.duration,easing:o=this.options.easing,lerp:u=!n&&this.options.lerp,onComplete:a=null,force:l=!1,programmatic:f=!0}={}){if(!this.isStopped||l){if(["top","left","start"].includes(t))t=0;else if(["bottom","right","end"].includes(t))t=this.limit;else{var _;let d;if(typeof t=="string"?d=document.querySelector(t):(_=t)!=null&&_.nodeType&&(d=t),d){if(this.options.wrapper!==window){let p=this.options.wrapper.getBoundingClientRect();e-=this.isHorizontal?p.left:p.top}let c=d.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=Os(0,t,this.limit),r)return this.animatedScroll=this.targetScroll=t,this.setScroll(this.scroll),this.reset(),this.emit(),void(a==null||a(this));if(!f){if(t===this.targetScroll)return;this.targetScroll=t}this.animate.fromTo(this.animatedScroll,t,{duration:n,easing:o,lerp:u,onStart:()=>{i&&(this.isLocked=!0),this.isScrolling=!0},onUpdate:(d,c)=>{this.isScrolling=!0,this.velocity=d-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=d,this.setScroll(this.scroll),f&&(this.targetScroll=d),c||this.emit(),c&&requestAnimationFrame(()=>{this.isScrolling=!1,this.velocity=0,i&&(this.isLocked=!1),this.emit(),a==null||a(this)})}})}}}get rootElement(){return this.options.wrapper===window?this.options.content:this.options.wrapper}get limit(){return this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){return this.isHorizontal?this.rootElement.scrollLeft:this.rootElement.scrollTop}get scroll(){return this.options.infinite?(this.animatedScroll%(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 className(){let t="lenis";return this.isStopped&&(t+=" lenis-stopped"),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 Cr(s){if(s===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}function ll(s,t){s.prototype=Object.create(t.prototype),s.prototype.constructor=s,s.__proto__=t}var me={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},qi={duration:.5,overwrite:!1,delay:0},Eu,Jt,bt,Le=1e8,pt=1/Le,fu=Math.PI*2,zh=fu/4,Vh=0,fl=Math.sqrt,Wh=Math.cos,Yh=Math.sin,Bt=function(t){return typeof t=="string"},wt=function(t){return typeof t=="function"},Sr=function(t){return typeof t=="number"},Gs=function(t){return typeof t=="undefined"},ar=function(t){return typeof t=="object"},ve=function(t){return t!==!1},Cu=function(){return typeof window!="undefined"},Ls=function(t){return wt(t)||Bt(t)},cl=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},te=Array.isArray,cu=/(?:-?\.?\d|\.)+/gi,xu=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,yi=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,iu=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Su=/[+-]=-?[.\d]+/,hl=/[^,'"\[\]\s]+/gi,Xh=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,mt,Me,hu,bu,Te={},Is={},dl,pl=function(t){return(Is=mi(t,Te))&&ee},Hs=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},zs=function(t,e){return!e&&console.warn(t)},_l=function(t,e){return t&&(Te[t]=e)&&Is&&(Is[t]=e)||Te},Nn=function(){return 0},Gh={suppressEvents:!0,isStart:!0,kill:!1},Rs={suppressEvents:!0,kill:!1},Hh={suppressEvents:!0},wu={},Xr=[],du={},gl,ge={},nu={},rl=30,Ns=[],Tu="",Au=function(t){var e=t[0],r,i;if(ar(e)||wt(e)||(t=[t]),!(r=(e._gsap||{}).harness)){for(i=Ns.length;i--&&!Ns[i].targetTest(e););r=Ns[i]}for(i=t.length;i--;)t[i]&&(t[i]._gsap||(t[i]._gsap=new Ou(t[i],r)))||t.splice(i,1);return t},Gr=function(t){return t._gsap||Au(Re(t))[0]._gsap},Fu=function(t,e,r){return(r=t[e])&&wt(r)?t[e]():Gs(r)&&t.getAttribute&&t.getAttribute(e)||r},se=function(t,e){return(t=t.split(",")).forEach(e)||t},Tt=function(t){return Math.round(t*1e5)/1e5||0},Ht=function(t){return Math.round(t*1e7)/1e7||0},Ei=function(t,e){var r=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),r==="+"?t+i:r==="-"?t-i:r==="*"?t*i:t/i},Uh=function(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++i<r;);return i<r},Vs=function(){var t=Xr.length,e=Xr.slice(0),r,i;for(du={},Xr.length=0,r=0;r<t;r++)i=e[r],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},Dl=function(t,e,r,i){Xr.length&&!Jt&&Vs(),t.render(e,r,i||Jt&&e<0&&(t._initted||t._startAt)),Xr.length&&!Jt&&Vs()},vl=function(t){var e=parseFloat(t);return(e||e===0)&&(t+"").match(hl).length<2?e:Bt(t)?t.trim():t},ml=function(t){return t},Be=function(t,e){for(var r in e)r in t||(t[r]=e[r]);return t},qh=function(t){return function(e,r){for(var i in r)i in e||i==="duration"&&t||i==="ease"||(e[i]=r[i])}},mi=function(t,e){for(var r in e)t[r]=e[r];return t},il=function s(t,e){for(var r in e)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(t[r]=ar(e[r])?s(t[r]||(t[r]={}),e[r]):e[r]);return t},Ws=function(t,e){var r={},i;for(i in t)i in e||(r[i]=t[i]);return r},Mn=function(t){var e=t.parent||mt,r=t.keyframes?qh(te(t.keyframes)):Be;if(ve(t.inherit))for(;e;)r(t,e.vars.defaults),e=e.parent||e._dp;return t},jh=function(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0},yl=function(t,e,r,i,n){r===void 0&&(r="_first"),i===void 0&&(i="_last");var o=t[i],u;if(n)for(u=e[n];o&&o[n]>u;)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[i]=e,e._prev=o,e.parent=e._dp=t,e},Us=function(t,e,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var n=e._prev,o=e._next;n?n._next=o:t[r]===e&&(t[r]=o),o?o._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null},Hr=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},gi=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},Kh=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},pu=function(t,e,r,i){return t._startAt&&(Jt?t._startAt.revert(Rs):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))},$h=function s(t){return!t||t._ts&&s(t.parent)},nl=function(t){return t._repeat?ji(t._tTime,t=t.duration()+t._rDelay)*t:0},ji=function(t,e){var r=Math.floor(t/=e);return t&&r===t?r-1:r},Ys=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},qs=function(t){return t._end=Ht(t._start+(t._tDur/Math.abs(t._ts||t._rts||pt)||0))},js=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=Ht(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),qs(t),r._dirty||gi(r,t)),t},El=function(t,e){var r;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(r=Ys(t.rawTime(),e),(!e._dur||zn(0,e.totalDuration(),r)-e._tTime>pt)&&e.render(r,!0)),gi(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=-pt}},ur=function(t,e,r,i){return e.parent&&Hr(e),e._start=Ht((Sr(r)?r:r||t!==mt?ke(t,r,e):t._time)+e._delay),e._end=Ht(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),yl(t,e,"_first","_last",t._sort?"_start":0),_u(e)||(t._recent=e),i||El(t,e),t._ts<0&&js(t,t._tTime),t},Cl=function(t,e){return(Te.ScrollTrigger||Hs("scrollTrigger",e))&&Te.ScrollTrigger.create(e,t)},xl=function(t,e,r,i,n){if(Lu(t,e,n),!t._initted)return 1;if(!r&&t._pt&&!Jt&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&gl!==De.frame)return Xr.push(t),t._lazy=[n,i],1},Zh=function s(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||s(e))},_u=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},Qh=function(t,e,r,i){var n=t.ratio,o=e<0||!e&&(!t._start&&Zh(t)&&!(!t._initted&&_u(t))||(t._ts<0||t._dp._ts<0)&&!_u(t))?0:1,u=t._rDelay,a=0,l,f,_;if(u&&t._repeat&&(a=zn(0,t._tDur,e),f=ji(a,u),t._yoyo&&f&1&&(o=1-o),f!==ji(t._tTime,u)&&(n=1-o,t.vars.repeatRefresh&&t._initted&&t.invalidate())),o!==n||Jt||i||t._zTime===pt||!e&&t._zTime){if(!t._initted&&xl(t,e,i,r,a))return;for(_=t._zTime,t._zTime=e||(r?pt:0),r||(r=e&&!_),t.ratio=o,t._from&&(o=1-o),t._time=0,t._tTime=a,l=t._pt;l;)l.r(o,l.d),l=l._next;e<0&&pu(t,e,r,!0),t._onUpdate&&!r&&Ne(t,"onUpdate"),a&&t._repeat&&!r&&t.parent&&Ne(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===o&&(o&&Hr(t,1),!r&&!Jt&&(Ne(t,o?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},Jh=function(t,e,r){var i;if(r>e)for(i=t._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start<e)return i;i=i._prev}},Ki=function(t,e,r,i){var n=t._repeat,o=Ht(e)||0,u=t._tTime/t._tDur;return u&&!i&&(t._time*=o/t._dur),t._dur=o,t._tDur=n?n<0?1e10:Ht(o*(n+1)+t._rDelay*n):o,u>0&&!i&&js(t,t._tTime=t._tDur*u),t.parent&&qs(t),r||gi(t.parent,t),t},sl=function(t){return t instanceof Qt?gi(t):Ki(t,t._dur)},td={_start:0,endTime:Nn,totalDuration:Nn},ke=function s(t,e,r){var i=t.labels,n=t._recent||td,o=t.duration()>=Le?n.endTime(!1):t._dur,u,a,l;return Bt(e)&&(isNaN(e)||e in i)?(a=e.charAt(0),l=e.substr(-1)==="%",u=e.indexOf("="),a==="<"||a===">"?(u>=0&&(e=e.replace(/=/,"")),(a==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(e.substr(1))||0)*(l?(u<0?n:r).totalDuration()/100:1)):u<0?(e in i||(i[e]=o),i[e]):(a=parseFloat(e.charAt(u-1)+e.substr(u+1)),l&&r&&(a=a/100*(te(r)?r[0]:r).totalDuration()),u>1?s(t,e.substr(0,u-1),r)+a:o+a)):e==null?o:+e},Ln=function(t,e,r){var i=Sr(e[1]),n=(i?2:1)+(t<2?0:1),o=e[n],u,a;if(i&&(o.duration=e[1]),o.parent=r,t){for(u=o,a=r;a&&!("immediateRender"in u);)u=a.vars.defaults||{},a=ve(a.vars.inherit)&&a.parent;o.immediateRender=ve(u.immediateRender),t<2?o.runBackwards=1:o.startAt=e[n-1]}return new Pt(e[0],o,e[n+1])},Ur=function(t,e){return t||t===0?e(t):e},zn=function(t,e,r){return r<t?t:r>e?e:r},Ut=function(t,e){return!Bt(t)||!(e=Xh.exec(t))?"":e[1]},ed=function(t,e,r){return Ur(r,function(i){return zn(t,e,i)})},gu=[].slice,Sl=function(t,e){return t&&ar(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&ar(t[0]))&&!t.nodeType&&t!==Me},rd=function(t,e,r){return r===void 0&&(r=[]),t.forEach(function(i){var n;return Bt(i)&&!e||Sl(i,1)?(n=r).push.apply(n,Re(i)):r.push(i)})||r},Re=function(t,e,r){return bt&&!e&&bt.selector?bt.selector(t):Bt(t)&&!r&&(hu||!$i())?gu.call((e||bu).querySelectorAll(t),0):te(t)?rd(t,r):Sl(t)?gu.call(t,0):t?[t]:[]},Du=function(t){return t=Re(t)[0]||zs("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return Re(e,r.querySelectorAll?r:r===t?zs("Invalid scope")||bu.createElement("div"):t)}},bl=function(t){return t.sort(function(){return .5-Math.random()})},wl=function(t){if(wt(t))return t;var e=ar(t)?t:{each:t},r=Di(e.ease),i=e.from||0,n=parseFloat(e.base)||0,o={},u=i>0&&i<1,a=isNaN(i)||u,l=e.axis,f=i,_=i;return Bt(i)?f=_={center:.5,edges:.5,end:1}[i]||0:!u&&a&&(f=i[0],_=i[1]),function(d,c,p){var h=(p||e).length,g=o[h],v,D,m,C,x,b,E,S,A;if(!g){if(A=e.grid==="auto"?0:(e.grid||[1,Le])[1],!A){for(E=-Le;E<(E=p[A++].getBoundingClientRect().left)&&A<h;);A--}for(g=o[h]=[],v=a?Math.min(A,h)*f-.5:i%A,D=A===Le?0:a?h*_/A-.5:i/A|0,E=0,S=Le,b=0;b<h;b++)m=b%A-v,C=D-(b/A|0),g[b]=x=l?Math.abs(l==="y"?C:m):fl(m*m+C*C),x>E&&(E=x),x<S&&(S=x);i==="random"&&bl(g),g.max=E-S,g.min=S,g.v=h=(parseFloat(e.amount)||parseFloat(e.each)*(A>h?h-1:l?l==="y"?h/A:A:Math.max(A,h/A))||0)*(i==="edges"?-1:1),g.b=h<0?n-h:n,g.u=Ut(e.amount||e.each)||0,r=r&&h<0?Rl(r):r}return h=(g[d]-g.min)/g.max||0,Ht(g.b+(r?r(h):h)*g.v)+g.u}},vu=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var i=Ht(Math.round(parseFloat(r)/t)*t*e);return(i-i%1)/e+(Sr(r)?0:Ut(r))}},Tl=function(t,e){var r=te(t),i,n;return!r&&ar(t)&&(i=r=t.radius||Le,t.values?(t=Re(t.values),(n=!Sr(t[0]))&&(i*=i)):t=vu(t.increment)),Ur(e,r?wt(t)?function(o){return n=t(o),Math.abs(n-o)<=i?n:o}:function(o){for(var u=parseFloat(n?o.x:o),a=parseFloat(n?o.y:0),l=Le,f=0,_=t.length,d,c;_--;)n?(d=t[_].x-u,c=t[_].y-a,d=d*d+c*c):d=Math.abs(t[_]-u),d<l&&(l=d,f=_);return f=!i||l<=i?t[f]:o,n||f===o||Sr(o)?f:f+Ut(o)}:vu(t))},Al=function(t,e,r,i){return Ur(te(t)?!e:r===!0?!!(r=0):!i,function(){return te(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+r*.99))/r)*r*i)/i})},id=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(i){return e.reduce(function(n,o){return o(n)},i)}},nd=function(t,e){return function(r){return t(parseFloat(r))+(e||Ut(r))}},sd=function(t,e,r){return Pl(t,e,0,1,r)},Fl=function(t,e,r){return Ur(r,function(i){return t[~~e(i)]})},od=function s(t,e,r){var i=e-t;return te(t)?Fl(t,s(0,t.length),e):Ur(r,function(n){return(i+(n-t)%i)%i+t})},ud=function s(t,e,r){var i=e-t,n=i*2;return te(t)?Fl(t,s(0,t.length-1),e):Ur(r,function(o){return o=(n+(o-t)%n)%n||0,t+(o>i?n-o:o)})},Zi=function(t){for(var e=0,r="",i,n,o,u;~(i=t.indexOf("random(",e));)o=t.indexOf(")",i),u=t.charAt(i+7)==="[",n=t.substr(i+7,o-i-7).match(u?hl:cu),r+=t.substr(e,i-e)+Al(u?n:+n[0],u?0:+n[1],+n[2]||1e-5),e=o+1;return r+t.substr(e,t.length-e)},Pl=function(t,e,r,i,n){var o=e-t,u=i-r;return Ur(n,function(a){return r+((a-t)/o*u||0)})},ad=function s(t,e,r,i){var n=isNaN(t+e)?0:function(c){return(1-c)*t+c*e};if(!n){var o=Bt(t),u={},a,l,f,_,d;if(r===!0&&(i=1)&&(r=null),o)t={p:t},e={p:e};else if(te(t)&&!te(e)){for(f=[],_=t.length,d=_-2,l=1;l<_;l++)f.push(s(t[l-1],t[l]));_--,n=function(p){p*=_;var h=Math.min(d,~~p);return f[h](p-h)},r=e}else i||(t=mi(te(t)?[]:{},t));if(!f){for(a in e)ku.call(u,t,a,"get",e[a]);n=function(p){return Bu(p,u)||(o?t.p:t)}}}return Ur(r,n)},ol=function(t,e,r){var i=t.labels,n=Le,o,u,a;for(o in i)u=i[o]-e,u<0==!!r&&u&&n>(u=Math.abs(u))&&(a=o,n=u);return a},Ne=function(t,e,r){var i=t.vars,n=i[e],o=bt,u=t._ctx,a,l,f;if(n)return a=i[e+"Params"],l=i.callbackScope||t,r&&Xr.length&&Vs(),u&&(bt=u),f=a?n.apply(l,a):n.call(l),bt=o,f},On=function(t){return Hr(t),t.scrollTrigger&&t.scrollTrigger.kill(!!Jt),t.progress()<1&&Ne(t,"onInterrupt"),t},Ui,Ol=[],kl=function(t){if(Cu()&&t){t=!t.name&&t.default||t;var e=t.name,r=wt(t),i=e&&!r&&t.init?function(){this._props=[]}:t,n={init:Nn,render:Bu,add:ku,kill:Sd,modifier:xd,rawVars:0},o={targetTest:0,get:0,getSetter:Ks,aliases:{},register:0};if($i(),t!==i){if(ge[e])return;Be(i,Be(Ws(t,n),o)),mi(i.prototype,mi(n,Ws(t,o))),ge[i.prop=e]=i,t.targetTest&&(Ns.push(i),wu[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}_l(e,i),t.register&&t.register(ee,i,oe)}else t&&Ol.push(t)},dt=255,kn={aqua:[0,dt,dt],lime:[0,dt,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,dt],navy:[0,0,128],white:[dt,dt,dt],olive:[128,128,0],yellow:[dt,dt,0],orange:[dt,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[dt,0,0],pink:[dt,192,203],cyan:[0,dt,dt],transparent:[dt,dt,dt,0]},su=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)*dt+.5|0},Ml=function(t,e,r){var i=t?Sr(t)?[t>>16,t>>8&dt,t&dt]:0:kn.black,n,o,u,a,l,f,_,d,c,p;if(!i){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),kn[t])i=kn[t];else if(t.charAt(0)==="#"){if(t.length<6&&(n=t.charAt(1),o=t.charAt(2),u=t.charAt(3),t="#"+n+n+o+o+u+u+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return i=parseInt(t.substr(1,6),16),[i>>16,i>>8&dt,i&dt,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),i=[t>>16,t>>8&dt,t&dt]}else if(t.substr(0,3)==="hsl"){if(i=p=t.match(cu),!e)a=+i[0]%360/360,l=+i[1]/100,f=+i[2]/100,o=f<=.5?f*(l+1):f+l-f*l,n=f*2-o,i.length>3&&(i[3]*=1),i[0]=su(a+1/3,n,o),i[1]=su(a,n,o),i[2]=su(a-1/3,n,o);else if(~t.indexOf("="))return i=t.match(xu),r&&i.length<4&&(i[3]=1),i}else i=t.match(cu)||kn.transparent;i=i.map(Number)}return e&&!p&&(n=i[0]/dt,o=i[1]/dt,u=i[2]/dt,_=Math.max(n,o,u),d=Math.min(n,o,u),f=(_+d)/2,_===d?a=l=0:(c=_-d,l=f>.5?c/(2-_-d):c/(_+d),a=_===n?(o-u)/c+(o<u?6:0):_===o?(u-n)/c+2:(n-o)/c+4,a*=60),i[0]=~~(a+.5),i[1]=~~(l*100+.5),i[2]=~~(f*100+.5)),r&&i.length<4&&(i[3]=1),i},Ll=function(t){var e=[],r=[],i=-1;return t.split(xr).forEach(function(n){var o=n.match(yi)||[];e.push.apply(e,o),r.push(i+=o.length+1)}),e.c=r,e},ul=function(t,e,r){var i="",n=(t+i).match(xr),o=e?"hsla(":"rgba(",u=0,a,l,f,_;if(!n)return t;if(n=n.map(function(d){return(d=Ml(d,e,1))&&o+(e?d[0]+","+d[1]+"%,"+d[2]+"%,"+d[3]:d.join(","))+")"}),r&&(f=Ll(t),a=r.c,a.join(i)!==f.c.join(i)))for(l=t.replace(xr,"1").split(yi),_=l.length-1;u<_;u++)i+=l[u]+(~a.indexOf(u)?n.shift()||o+"0,0,0,0)":(f.length?f:n.length?n:r).shift());if(!l)for(l=t.split(xr),_=l.length-1;u<_;u++)i+=l[u]+n[u];return i+l[_]},xr=function(){var s="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",t;for(t in kn)s+="|"+t+"\\b";return new RegExp(s+")","gi")}(),ld=/hsl[a]?\(/,Pu=function(t){var e=t.join(" "),r;if(xr.lastIndex=0,xr.test(e))return r=ld.test(e),t[1]=ul(t[1],r),t[0]=ul(t[0],r,Ll(t[1])),!0},Bn,De=function(){var s=Date.now,t=500,e=33,r=s(),i=r,n=1e3/240,o=n,u=[],a,l,f,_,d,c,p=function h(g){var v=s()-i,D=g===!0,m,C,x,b;if(v>t&&(r+=v-e),i+=v,x=i-r,m=x-o,(m>0||D)&&(b=++_.frame,d=x-_.time*1e3,_.time=x=x/1e3,o+=m+(m>=n?4:n-m),C=1),D||(a=l(h)),C)for(c=0;c<u.length;c++)u[c](x,d,b,g)};return _={time:0,frame:0,tick:function(){p(!0)},deltaRatio:function(g){return d/(1e3/(g||60))},wake:function(){dl&&(!hu&&Cu()&&(Me=hu=window,bu=Me.document||{},Te.gsap=ee,(Me.gsapVersions||(Me.gsapVersions=[])).push(ee.version),pl(Is||Me.GreenSockGlobals||!Me.gsap&&Me||{}),f=Me.requestAnimationFrame,Ol.forEach(kl)),a&&_.sleep(),l=f||function(g){return setTimeout(g,o-_.time*1e3+1|0)},Bn=1,p(2))},sleep:function(){(f?Me.cancelAnimationFrame:clearTimeout)(a),Bn=0,l=Nn},lagSmoothing:function(g,v){t=g||1/0,e=Math.min(v||33,t)},fps:function(g){n=1e3/(g||240),o=_.time*1e3+n},add:function(g,v,D){var m=v?function(C,x,b,E){g(C,x,b,E),_.remove(m)}:g;return _.remove(g),u[D?"unshift":"push"](m),$i(),m},remove:function(g,v){~(v=u.indexOf(g))&&u.splice(v,1)&&c>=v&&c--},_listeners:u},_}(),$i=function(){return!Bn&&De.wake()},st={},fd=/^[\d.\-M][\d.\-,\s]/,cd=/["']/g,hd=function(t){for(var e={},r=t.substr(1,t.length-3).split(":"),i=r[0],n=1,o=r.length,u,a,l;n<o;n++)a=r[n],u=n!==o-1?a.lastIndexOf(","):a.length,l=a.substr(0,u),e[i]=isNaN(l)?l.replace(cd,"").trim():+l,i=a.substr(u+1).trim();return e},dd=function(t){var e=t.indexOf("(")+1,r=t.indexOf(")"),i=t.indexOf("(",e);return t.substring(e,~i&&i<r?t.indexOf(")",r+1):r)},pd=function(t){var e=(t+"").split("("),r=st[e[0]];return r&&e.length>1&&r.config?r.config.apply(null,~t.indexOf("{")?[hd(e[1])]:dd(t).split(",").map(vl)):st._CE&&fd.test(t)?st._CE("",t):r},Rl=function(t){return function(e){return 1-t(1-e)}},Nl=function s(t,e){for(var r=t._first,i;r;)r instanceof Qt?s(r,e):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==e&&(r.timeline?s(r.timeline,e):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=e)),r=r._next},Di=function(t,e){return t&&(wt(t)?t:st[t]||pd(t))||e},Ci=function(t,e,r,i){r===void 0&&(r=function(a){return 1-e(1-a)}),i===void 0&&(i=function(a){return a<.5?e(a*2)/2:1-e((1-a)*2)/2});var n={easeIn:e,easeOut:r,easeInOut:i},o;return se(t,function(u){st[u]=Te[u]=n,st[o=u.toLowerCase()]=r;for(var a in n)st[o+(a==="easeIn"?".in":a==="easeOut"?".out":".inOut")]=st[u+"."+a]=n[a]}),n},Bl=function(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},ou=function s(t,e,r){var i=e>=1?e:1,n=(r||(t?.3:.45))/(e<1?e:1),o=n/fu*(Math.asin(1/i)||0),u=function(f){return f===1?1:i*Math.pow(2,-10*f)*Yh((f-o)*n)+1},a=t==="out"?u:t==="in"?function(l){return 1-u(1-l)}:Bl(u);return n=fu/n,a.config=function(l,f){return s(t,l,f)},a},uu=function s(t,e){e===void 0&&(e=1.70158);var r=function(o){return o?--o*o*((e+1)*o+e)+1:0},i=t==="out"?r:t==="in"?function(n){return 1-r(1-n)}:Bl(r);return i.config=function(n){return s(t,n)},i};se("Linear,Quad,Cubic,Quart,Quint,Strong",function(s,t){var e=t<5?t+1:t;Ci(s+",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})});st.Linear.easeNone=st.none=st.Linear.easeIn;Ci("Elastic",ou("in"),ou("out"),ou());(function(s,t){var e=1/t,r=2*e,i=2.5*e,n=function(u){return u<e?s*u*u:u<r?s*Math.pow(u-1.5/t,2)+.75:u<i?s*(u-=2.25/t)*u+.9375:s*Math.pow(u-2.625/t,2)+.984375};Ci("Bounce",function(o){return 1-n(1-o)},n)})(7.5625,2.75);Ci("Expo",function(s){return s?Math.pow(2,10*(s-1)):0});Ci("Circ",function(s){return-(fl(1-s*s)-1)});Ci("Sine",function(s){return s===1?1:-Wh(s*zh)+1});Ci("Back",uu("in"),uu("out"),uu());st.SteppedEase=st.steps=Te.SteppedEase={config:function(t,e){t===void 0&&(t=1);var r=1/t,i=t+(e?0:1),n=e?1:0,o=1-pt;return function(u){return((i*zn(0,o,u)|0)+n)*r}}};qi.ease=st["quad.out"];se("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(s){return Tu+=s+","+s+"Params,"});var Ou=function(t,e){this.id=Vh++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:Fu,this.set=e?e.getSetter:Ks},In=function(){function s(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,Ki(this,+e.duration,1,1),this.data=e.data,bt&&(this._ctx=bt,bt.data.push(this)),Bn||De.wake()}var t=s.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,Ki(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(r,i){if($i(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(js(this,r),!n._dp||n.parent||El(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&ur(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===pt||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),Dl(this,r,i)),this},t.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+nl(this))%(this._dur+this._rDelay)||(r?this._dur:0),i):this._time},t.totalProgress=function(r,i){return arguments.length?this.totalTime(this.totalDuration()*r,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},t.progress=function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+nl(this),i):this.duration()?Math.min(1,this._time/this._dur):this.ratio},t.iteration=function(r,i){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*n,i):this._repeat?ji(this._tTime,n)+1:1},t.timeScale=function(r){if(!arguments.length)return this._rts===-pt?0:this._rts;if(this._rts===r)return this;var i=this.parent&&this._ts?Ys(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-pt?0:this._rts,this.totalTime(zn(-Math.abs(this._delay),this._tDur,i),!0),qs(this),Kh(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):($i(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==pt&&(this._tTime-=pt)))),this):this._ps},t.startTime=function(r){if(arguments.length){this._start=r;var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&ur(i,this,r-this._delay),this}return this._start},t.endTime=function(r){return this._start+(ve(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(r){var i=this.parent||this._dp;return i?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ys(i.rawTime(r),this):this._tTime:this._tTime},t.revert=function(r){r===void 0&&(r=Hh);var i=Jt;return Jt=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),Jt=i,this},t.globalTime=function(r){for(var i=this,n=arguments.length?r:i.rawTime();i;)n=i._start+n/(i._ts||1),i=i._dp;return!this.parent&&this._sat?this._sat.vars.immediateRender?-1/0:this._sat.globalTime(r):n},t.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,sl(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,sl(this),i?this.time(i):this}return this._rDelay},t.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},t.seek=function(r,i){return this.totalTime(ke(this,r),ve(i))},t.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,ve(i))},t.play=function(r,i){return r!=null&&this.seek(r,i),this.reversed(!1).paused(!1)},t.reverse=function(r,i){return r!=null&&this.seek(r||this.totalDuration(),i),this.reversed(!0).paused(!1)},t.pause=function(r,i){return r!=null&&this.seek(r,i),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?-pt:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-pt,this},t.isActive=function(){var r=this.parent||this._dp,i=this._start,n;return!!(!r||this._ts&&this._initted&&r.isActive()&&(n=r.rawTime(!0))>=i&&n<this.endTime(!0)-pt)},t.eventCallback=function(r,i,n){var o=this.vars;return arguments.length>1?(i?(o[r]=i,n&&(o[r+"Params"]=n),r==="onUpdate"&&(this._onUpdate=i)):delete o[r],this):o[r]},t.then=function(r){var i=this;return new Promise(function(n){var o=wt(r)?r:ml,u=function(){var l=i.then;i.then=null,wt(o)&&(o=o(i))&&(o.then||o===i)&&(i.then=l),n(o),i.then=l};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?u():i._prom=u})},t.kill=function(){On(this)},s}();Be(In.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:-pt,_prom:0,_ps:!1,_rts:1});var Qt=function(s){ll(t,s);function t(r,i){var n;return r===void 0&&(r={}),n=s.call(this,r)||this,n.labels={},n.smoothChildTiming=!!r.smoothChildTiming,n.autoRemoveChildren=!!r.autoRemoveChildren,n._sort=ve(r.sortChildren),mt&&ur(r.parent||mt,Cr(n),i),r.reversed&&n.reverse(),r.paused&&n.paused(!0),r.scrollTrigger&&Cl(Cr(n),r.scrollTrigger),n}var e=t.prototype;return e.to=function(i,n,o){return Ln(0,arguments,this),this},e.from=function(i,n,o){return Ln(1,arguments,this),this},e.fromTo=function(i,n,o,u){return Ln(2,arguments,this),this},e.set=function(i,n,o){return n.duration=0,n.parent=this,Mn(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new Pt(i,n,ke(this,o),1),this},e.call=function(i,n,o){return ur(this,Pt.delayedCall(0,i,n),o)},e.staggerTo=function(i,n,o,u,a,l,f){return o.duration=n,o.stagger=o.stagger||u,o.onComplete=l,o.onCompleteParams=f,o.parent=this,new Pt(i,o,ke(this,a)),this},e.staggerFrom=function(i,n,o,u,a,l,f){return o.runBackwards=1,Mn(o).immediateRender=ve(o.immediateRender),this.staggerTo(i,n,o,u,a,l,f)},e.staggerFromTo=function(i,n,o,u,a,l,f,_){return u.startAt=o,Mn(u).immediateRender=ve(u.immediateRender),this.staggerTo(i,n,u,a,l,f,_)},e.render=function(i,n,o){var u=this._time,a=this._dirty?this.totalDuration():this._tDur,l=this._dur,f=i<=0?0:Ht(i),_=this._zTime<0!=i<0&&(this._initted||!l),d,c,p,h,g,v,D,m,C,x,b,E;if(this!==mt&&f>a&&i>=0&&(f=a),f!==this._tTime||o||_){if(u!==this._time&&l&&(f+=this._time-u,i+=this._time-u),d=f,C=this._start,m=this._ts,v=!m,_&&(l||(u=this._zTime),(i||!n)&&(this._zTime=i)),this._repeat){if(b=this._yoyo,g=l+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(g*100+i,n,o);if(d=Ht(f%g),f===a?(h=this._repeat,d=l):(h=~~(f/g),h&&h===f/g&&(d=l,h--),d>l&&(d=l)),x=ji(this._tTime,g),!u&&this._tTime&&x!==h&&this._tTime-x*g-this._dur<=0&&(x=h),b&&h&1&&(d=l-d,E=1),h!==x&&!this._lock){var S=b&&x&1,A=S===(b&&h&1);if(h<x&&(S=!S),u=S?0:f%l?l:f,this._lock=1,this.render(u||(E?0:Ht(h*g)),n,!l)._lock=0,this._tTime=f,!n&&this.parent&&Ne(this,"onRepeat"),this.vars.repeatRefresh&&!E&&(this.invalidate()._lock=1),u&&u!==this._time||v!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(l=this._dur,a=this._tDur,A&&(this._lock=2,u=S?l:-1e-4,this.render(u,!0),this.vars.repeatRefresh&&!E&&this.invalidate()),this._lock=0,!this._ts&&!v)return this;Nl(this,E)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(D=Jh(this,Ht(u),Ht(d)),D&&(f-=d-(d=D._start))),this._tTime=f,this._time=d,this._act=!m,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,u=0),!u&&d&&!n&&!h&&(Ne(this,"onStart"),this._tTime!==f))return this;if(d>=u&&i>=0)for(c=this._first;c;){if(p=c._next,(c._act||d>=c._start)&&c._ts&&D!==c){if(c.parent!==this)return this.render(i,n,o);if(c.render(c._ts>0?(d-c._start)*c._ts:(c._dirty?c.totalDuration():c._tDur)+(d-c._start)*c._ts,n,o),d!==this._time||!this._ts&&!v){D=0,p&&(f+=this._zTime=-pt);break}}c=p}else{c=this._last;for(var T=i<0?i:d;c;){if(p=c._prev,(c._act||T<=c._end)&&c._ts&&D!==c){if(c.parent!==this)return this.render(i,n,o);if(c.render(c._ts>0?(T-c._start)*c._ts:(c._dirty?c.totalDuration():c._tDur)+(T-c._start)*c._ts,n,o||Jt&&(c._initted||c._startAt)),d!==this._time||!this._ts&&!v){D=0,p&&(f+=this._zTime=T?-pt:pt);break}}c=p}}if(D&&!n&&(this.pause(),D.render(d>=u?0:-pt)._zTime=d>=u?1:-1,this._ts))return this._start=C,qs(this),this.render(i,n,o);this._onUpdate&&!n&&Ne(this,"onUpdate",!0),(f===a&&this._tTime>=this.totalDuration()||!f&&u)&&(C===this._start||Math.abs(m)!==Math.abs(this._ts))&&(this._lock||((i||!l)&&(f===a&&this._ts>0||!f&&this._ts<0)&&Hr(this,1),!n&&!(i<0&&!u)&&(f||u||!a)&&(Ne(this,f===a&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(f<a&&this.timeScale()>0)&&this._prom())))}return this},e.add=function(i,n){var o=this;if(Sr(n)||(n=ke(this,n,i)),!(i instanceof In)){if(te(i))return i.forEach(function(u){return o.add(u,n)}),this;if(Bt(i))return this.addLabel(i,n);if(wt(i))i=Pt.delayedCall(0,i);else return this}return this!==i?ur(this,i,n):this},e.getChildren=function(i,n,o,u){i===void 0&&(i=!0),n===void 0&&(n=!0),o===void 0&&(o=!0),u===void 0&&(u=-Le);for(var a=[],l=this._first;l;)l._start>=u&&(l instanceof Pt?n&&a.push(l):(o&&a.push(l),i&&a.push.apply(a,l.getChildren(!0,n,o)))),l=l._next;return a},e.getById=function(i){for(var n=this.getChildren(1,1,1),o=n.length;o--;)if(n[o].vars.id===i)return n[o]},e.remove=function(i){return Bt(i)?this.removeLabel(i):wt(i)?this.killTweensOf(i):(Us(this,i),i===this._recent&&(this._recent=this._last),gi(this))},e.totalTime=function(i,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Ht(De.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),s.prototype.totalTime.call(this,i,n),this._forcing=0,this):this._tTime},e.addLabel=function(i,n){return this.labels[i]=ke(this,n),this},e.removeLabel=function(i){return delete this.labels[i],this},e.addPause=function(i,n,o){var u=Pt.delayedCall(0,n||Nn,o);return u.data="isPause",this._hasPause=1,ur(this,u,ke(this,i))},e.removePause=function(i){var n=this._first;for(i=ke(this,i);n;)n._start===i&&n.data==="isPause"&&Hr(n),n=n._next},e.killTweensOf=function(i,n,o){for(var u=this.getTweensOf(i,o),a=u.length;a--;)Yr!==u[a]&&u[a].kill(i,n);return this},e.getTweensOf=function(i,n){for(var o=[],u=Re(i),a=this._first,l=Sr(n),f;a;)a instanceof Pt?Uh(a._targets,u)&&(l?(!Yr||a._initted&&a._ts)&&a.globalTime(0)<=n&&a.globalTime(a.totalDuration())>n:!n||a.isActive())&&o.push(a):(f=a.getTweensOf(u,n)).length&&o.push.apply(o,f),a=a._next;return o},e.tweenTo=function(i,n){n=n||{};var o=this,u=ke(o,i),a=n,l=a.startAt,f=a.onStart,_=a.onStartParams,d=a.immediateRender,c,p=Pt.to(o,Be({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:u,overwrite:"auto",duration:n.duration||Math.abs((u-(l&&"time"in l?l.time:o._time))/o.timeScale())||pt,onStart:function(){if(o.pause(),!c){var g=n.duration||Math.abs((u-(l&&"time"in l?l.time:o._time))/o.timeScale());p._dur!==g&&Ki(p,g,0,1).render(p._time,!0,!0),c=1}f&&f.apply(p,_||[])}},n));return d?p.render(0):p},e.tweenFromTo=function(i,n,o){return this.tweenTo(n,Be({startAt:{time:ke(this,i)}},o))},e.recent=function(){return this._recent},e.nextLabel=function(i){return i===void 0&&(i=this._time),ol(this,ke(this,i))},e.previousLabel=function(i){return i===void 0&&(i=this._time),ol(this,ke(this,i),1)},e.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+pt)},e.shiftChildren=function(i,n,o){o===void 0&&(o=0);for(var u=this._first,a=this.labels,l;u;)u._start>=o&&(u._start+=i,u._end+=i),u=u._next;if(n)for(l in a)a[l]>=o&&(a[l]+=i);return gi(this)},e.invalidate=function(i){var n=this._first;for(this._lock=0;n;)n.invalidate(i),n=n._next;return s.prototype.invalidate.call(this,i)},e.clear=function(i){i===void 0&&(i=!0);for(var n=this._first,o;n;)o=n._next,this.remove(n),n=o;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),gi(this)},e.totalDuration=function(i){var n=0,o=this,u=o._last,a=Le,l,f,_;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-i:i));if(o._dirty){for(_=o.parent;u;)l=u._prev,u._dirty&&u.totalDuration(),f=u._start,f>a&&o._sort&&u._ts&&!o._lock?(o._lock=1,ur(o,u,f-u._delay,1)._lock=0):a=f,f<0&&u._ts&&(n-=f,(!_&&!o._dp||_&&_.smoothChildTiming)&&(o._start+=f/o._ts,o._time-=f,o._tTime-=f),o.shiftChildren(-f,!1,-1/0),a=0),u._end>n&&u._ts&&(n=u._end),u=l;Ki(o,o===mt&&o._time>n?o._time:n,1,1),o._dirty=0}return o._tDur},t.updateRoot=function(i){if(mt._ts&&(Dl(mt,Ys(i,mt)),gl=De.frame),De.frame>=rl){rl+=me.autoSleep||120;var n=mt._first;if((!n||!n._ts)&&me.autoSleep&&De._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||De.sleep()}}},t}(In);Be(Qt.prototype,{_lock:0,_hasPause:0,_forcing:0});var _d=function(t,e,r,i,n,o,u){var a=new oe(this._pt,t,e,0,1,Nu,null,n),l=0,f=0,_,d,c,p,h,g,v,D;for(a.b=r,a.e=i,r+="",i+="",(v=~i.indexOf("random("))&&(i=Zi(i)),o&&(D=[r,i],o(D,t,e),r=D[0],i=D[1]),d=r.match(iu)||[];_=iu.exec(i);)p=_[0],h=i.substring(l,_.index),c?c=(c+1)%5:h.substr(-5)==="rgba("&&(c=1),p!==d[f++]&&(g=parseFloat(d[f-1])||0,a._pt={_next:a._pt,p:h||f===1?h:",",s:g,c:p.charAt(1)==="="?Ei(g,p)-g:parseFloat(p)-g,m:c&&c<4?Math.round:0},l=iu.lastIndex);return a.c=l<i.length?i.substring(l,i.length):"",a.fp=u,(Su.test(i)||v)&&(a.e=0),this._pt=a,a},ku=function(t,e,r,i,n,o,u,a,l,f){wt(i)&&(i=i(n||0,t,o));var _=t[e],d=r!=="get"?r:wt(_)?l?t[e.indexOf("set")||!wt(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():_,c=wt(_)?l?yd:Vl:Ru,p;if(Bt(i)&&(~i.indexOf("random(")&&(i=Zi(i)),i.charAt(1)==="="&&(p=Ei(d,i)+(Ut(d)||0),(p||p===0)&&(i=p))),!f||d!==i||mu)return!isNaN(d*i)&&i!==""?(p=new oe(this._pt,t,e,+d||0,i-(d||0),typeof _=="boolean"?Cd:Wl,0,c),l&&(p.fp=l),u&&p.modifier(u,this,t),this._pt=p):(!_&&!(e in t)&&Hs(e,i),_d.call(this,t,e,d,i,c,a||me.stringFilter,l))},gd=function(t,e,r,i,n){if(wt(t)&&(t=Rn(t,n,e,r,i)),!ar(t)||t.style&&t.nodeType||te(t)||cl(t))return Bt(t)?Rn(t,n,e,r,i):t;var o={},u;for(u in t)o[u]=Rn(t[u],n,e,r,i);return o},Mu=function(t,e,r,i,n,o){var u,a,l,f;if(ge[t]&&(u=new ge[t]).init(n,u.rawVars?e[t]:gd(e[t],i,n,o,r),r,i,o)!==!1&&(r._pt=a=new oe(r._pt,n,t,0,1,u.render,u,0,u.priority),r!==Ui))for(l=r._ptLookup[r._targets.indexOf(n)],f=u._props.length;f--;)l[u._props[f]]=a;return u},Yr,mu,Lu=function s(t,e,r){var i=t.vars,n=i.ease,o=i.startAt,u=i.immediateRender,a=i.lazy,l=i.onUpdate,f=i.onUpdateParams,_=i.callbackScope,d=i.runBackwards,c=i.yoyoEase,p=i.keyframes,h=i.autoRevert,g=t._dur,v=t._startAt,D=t._targets,m=t.parent,C=m&&m.data==="nested"?m.vars.targets:D,x=t._overwrite==="auto"&&!Eu,b=t.timeline,E,S,A,T,P,F,k,V,I,R,L,N,w;if(b&&(!p||!n)&&(n="none"),t._ease=Di(n,qi.ease),t._yEase=c?Rl(Di(c===!0?n:c,qi.ease)):0,c&&t._yoyo&&!t._repeat&&(c=t._yEase,t._yEase=t._ease,t._ease=c),t._from=!b&&!!i.runBackwards,!b||p&&!i.stagger){if(V=D[0]?Gr(D[0]).harness:0,N=V&&i[V.prop],E=Ws(i,wu),v&&(v._zTime<0&&v.progress(1),e<0&&d&&u&&!h?v.render(-1,!0):v.revert(d&&g?Rs:Gh),v._lazy=0),o){if(Hr(t._startAt=Pt.set(D,Be({data:"isStart",overwrite:!1,parent:m,immediateRender:!0,lazy:!v&&ve(a),startAt:null,delay:0,onUpdate:l,onUpdateParams:f,callbackScope:_,stagger:0},o))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(Jt||!u&&!h)&&t._startAt.revert(Rs),u&&g&&e<=0&&r<=0){e&&(t._zTime=e);return}}else if(d&&g&&!v){if(e&&(u=!1),A=Be({overwrite:!1,data:"isFromStart",lazy:u&&!v&&ve(a),immediateRender:u,stagger:0,parent:m},E),N&&(A[V.prop]=N),Hr(t._startAt=Pt.set(D,A)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(Jt?t._startAt.revert(Rs):t._startAt.render(-1,!0)),t._zTime=e,!u)s(t._startAt,pt,pt);else if(!e)return}for(t._pt=t._ptCache=0,a=g&&ve(a)||a&&!g,S=0;S<D.length;S++){if(P=D[S],k=P._gsap||Au(D)[S]._gsap,t._ptLookup[S]=R={},du[k.id]&&Xr.length&&Vs(),L=C===D?S:C.indexOf(P),V&&(I=new V).init(P,N||E,t,L,C)!==!1&&(t._pt=T=new oe(t._pt,P,I.name,0,1,I.render,I,0,I.priority),I._props.forEach(function(y){R[y]=T}),I.priority&&(F=1)),!V||N)for(A in E)ge[A]&&(I=Mu(A,E,t,L,P,C))?I.priority&&(F=1):R[A]=T=ku.call(t,P,A,"get",E[A],L,C,0,i.stringFilter);t._op&&t._op[S]&&t.kill(P,t._op[S]),x&&t._pt&&(Yr=t,mt.killTweensOf(P,R,t.globalTime(e)),w=!t.parent,Yr=0),t._pt&&a&&(du[k.id]=1)}F&&Iu(t),t._onInit&&t._onInit(t)}t._onUpdate=l,t._initted=(!t._op||t._pt)&&!w,p&&e<=0&&b.render(Le,!0,!0)},Dd=function(t,e,r,i,n,o,u){var a=(t._pt&&t._ptCache||(t._ptCache={}))[e],l,f,_,d;if(!a)for(a=t._ptCache[e]=[],_=t._ptLookup,d=t._targets.length;d--;){if(l=_[d][e],l&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==e&&l.fp!==e;)l=l._next;if(!l)return mu=1,t.vars[e]="+=0",Lu(t,u),mu=0,1;a.push(l)}for(d=a.length;d--;)f=a[d],l=f._pt||f,l.s=(i||i===0)&&!n?i:l.s+(i||0)+o*l.c,l.c=r-l.s,f.e&&(f.e=Tt(r)+Ut(f.e)),f.b&&(f.b=l.s+Ut(f.b))},vd=function(t,e){var r=t[0]?Gr(t[0]).harness:0,i=r&&r.aliases,n,o,u,a;if(!i)return e;n=mi({},e);for(o in i)if(o in n)for(a=i[o].split(","),u=a.length;u--;)n[a[u]]=n[o];return n},md=function(t,e,r,i){var n=e.ease||i||"power1.inOut",o,u;if(te(e))u=r[t]||(r[t]=[]),e.forEach(function(a,l){return u.push({t:l/(e.length-1)*100,v:a,e:n})});else for(o in e)u=r[o]||(r[o]=[]),o==="ease"||u.push({t:parseFloat(t),v:e[o],e:n})},Rn=function(t,e,r,i,n){return wt(t)?t.call(e,r,i,n):Bt(t)&&~t.indexOf("random(")?Zi(t):t},Il=Tu+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",zl={};se(Il+",id,stagger,delay,duration,paused,scrollTrigger",function(s){return zl[s]=1});var Pt=function(s){ll(t,s);function t(r,i,n,o){var u;typeof i=="number"&&(n.duration=i,i=n,n=null),u=s.call(this,o?i:Mn(i))||this;var a=u.vars,l=a.duration,f=a.delay,_=a.immediateRender,d=a.stagger,c=a.overwrite,p=a.keyframes,h=a.defaults,g=a.scrollTrigger,v=a.yoyoEase,D=i.parent||mt,m=(te(r)||cl(r)?Sr(r[0]):"length"in i)?[r]:Re(r),C,x,b,E,S,A,T,P;if(u._targets=m.length?Au(m):zs("GSAP target "+r+" not found. https://greensock.com",!me.nullTargetWarn)||[],u._ptLookup=[],u._overwrite=c,p||d||Ls(l)||Ls(f)){if(i=u.vars,C=u.timeline=new Qt({data:"nested",defaults:h||{},targets:D&&D.data==="nested"?D.vars.targets:m}),C.kill(),C.parent=C._dp=Cr(u),C._start=0,d||Ls(l)||Ls(f)){if(E=m.length,T=d&&wl(d),ar(d))for(S in d)~Il.indexOf(S)&&(P||(P={}),P[S]=d[S]);for(x=0;x<E;x++)b=Ws(i,zl),b.stagger=0,v&&(b.yoyoEase=v),P&&mi(b,P),A=m[x],b.duration=+Rn(l,Cr(u),x,A,m),b.delay=(+Rn(f,Cr(u),x,A,m)||0)-u._delay,!d&&E===1&&b.delay&&(u._delay=f=b.delay,u._start+=f,b.delay=0),C.to(A,b,T?T(x,A,m):0),C._ease=st.none;C.duration()?l=f=0:u.timeline=0}else if(p){Mn(Be(C.vars.defaults,{ease:"none"})),C._ease=Di(p.ease||i.ease||"none");var F=0,k,V,I;if(te(p))p.forEach(function(R){return C.to(m,R,">")}),C.duration();else{b={};for(S in p)S==="ease"||S==="easeEach"||md(S,p[S],b,p.easeEach);for(S in b)for(k=b[S].sort(function(R,L){return R.t-L.t}),F=0,x=0;x<k.length;x++)V=k[x],I={ease:V.e,duration:(V.t-(x?k[x-1].t:0))/100*l},I[S]=V.v,C.to(m,I,F),F+=I.duration;C.duration()<l&&C.to({},{duration:l-C.duration()})}}l||u.duration(l=C.duration())}else u.timeline=0;return c===!0&&!Eu&&(Yr=Cr(u),mt.killTweensOf(m),Yr=0),ur(D,Cr(u),n),i.reversed&&u.reverse(),i.paused&&u.paused(!0),(_||!l&&!p&&u._start===Ht(D._time)&&ve(_)&&$h(Cr(u))&&D.data!=="nested")&&(u._tTime=-pt,u.render(Math.max(0,-f)||0)),g&&Cl(Cr(u),g),u}var e=t.prototype;return e.render=function(i,n,o){var u=this._time,a=this._tDur,l=this._dur,f=i<0,_=i>a-pt&&!f?a:i<pt?0:i,d,c,p,h,g,v,D,m,C;if(!l)Qh(this,i,n,o);else if(_!==this._tTime||!i||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==f){if(d=_,m=this.timeline,this._repeat){if(h=l+this._rDelay,this._repeat<-1&&f)return this.totalTime(h*100+i,n,o);if(d=Ht(_%h),_===a?(p=this._repeat,d=l):(p=~~(_/h),p&&p===_/h&&(d=l,p--),d>l&&(d=l)),v=this._yoyo&&p&1,v&&(C=this._yEase,d=l-d),g=ji(this._tTime,h),d===u&&!o&&this._initted)return this._tTime=_,this;p!==g&&(m&&this._yEase&&Nl(m,v),this.vars.repeatRefresh&&!v&&!this._lock&&(this._lock=o=1,this.render(Ht(h*p),!0).invalidate()._lock=0))}if(!this._initted){if(xl(this,f?i:d,o,n,_))return this._tTime=0,this;if(u!==this._time)return this;if(l!==this._dur)return this.render(i,n,o)}if(this._tTime=_,this._time=d,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=D=(C||this._ease)(d/l),this._from&&(this.ratio=D=1-D),d&&!u&&!n&&!p&&(Ne(this,"onStart"),this._tTime!==_))return this;for(c=this._pt;c;)c.r(D,c.d),c=c._next;m&&m.render(i<0?i:!d&&v?-pt:m._dur*m._ease(d/this._dur),n,o)||this._startAt&&(this._zTime=i),this._onUpdate&&!n&&(f&&pu(this,i,n,o),Ne(this,"onUpdate")),this._repeat&&p!==g&&this.vars.onRepeat&&!n&&this.parent&&Ne(this,"onRepeat"),(_===this._tDur||!_)&&this._tTime===_&&(f&&!this._onUpdate&&pu(this,i,!0,!0),(i||!l)&&(_===this._tDur&&this._ts>0||!_&&this._ts<0)&&Hr(this,1),!n&&!(f&&!u)&&(_||u||v)&&(Ne(this,_===a?"onComplete":"onReverseComplete",!0),this._prom&&!(_<a&&this.timeScale()>0)&&this._prom()))}return this},e.targets=function(){return this._targets},e.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),s.prototype.invalidate.call(this,i)},e.resetTo=function(i,n,o,u){Bn||De.wake(),this._ts||this.play();var a=Math.min(this._dur,(this._dp._time-this._start)*this._ts),l;return this._initted||Lu(this,a),l=this._ease(a/this._dur),Dd(this,i,n,o,u,l,a)?this.resetTo(i,n,o,u):(js(this,0),this.parent||yl(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function(i,n){if(n===void 0&&(n="all"),!i&&(!n||n==="all"))return this._lazy=this._pt=0,this.parent?On(this):this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(i,n,Yr&&Yr.vars.overwrite!==!0)._first||On(this),this.parent&&o!==this.timeline.totalDuration()&&Ki(this,this._dur*this.timeline._tDur/o,0,1),this}var u=this._targets,a=i?Re(i):u,l=this._ptLookup,f=this._pt,_,d,c,p,h,g,v;if((!n||n==="all")&&jh(u,a))return n==="all"&&(this._pt=0),On(this);for(_=this._op=this._op||[],n!=="all"&&(Bt(n)&&(h={},se(n,function(D){return h[D]=1}),n=h),n=vd(u,n)),v=u.length;v--;)if(~a.indexOf(u[v])){d=l[v],n==="all"?(_[v]=n,p=d,c={}):(c=_[v]=_[v]||{},p=n);for(h in p)g=d&&d[h],g&&((!("kill"in g.d)||g.d.kill(h)===!0)&&Us(this,g,"_pt"),delete d[h]),c!=="all"&&(c[h]=1)}return this._initted&&!this._pt&&f&&On(this),this},t.to=function(i,n){return new t(i,n,arguments[2])},t.from=function(i,n){return Ln(1,arguments)},t.delayedCall=function(i,n,o,u){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:n,onReverseComplete:n,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:u})},t.fromTo=function(i,n,o){return Ln(2,arguments)},t.set=function(i,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(i,n)},t.killTweensOf=function(i,n,o){return mt.killTweensOf(i,n,o)},t}(In);Be(Pt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});se("staggerTo,staggerFrom,staggerFromTo",function(s){Pt[s]=function(){var t=new Qt,e=gu.call(arguments,0);return e.splice(s==="staggerFromTo"?5:4,0,0),t[s].apply(t,e)}});var Ru=function(t,e,r){return t[e]=r},Vl=function(t,e,r){return t[e](r)},yd=function(t,e,r,i){return t[e](i.fp,r)},Ed=function(t,e,r){return t.setAttribute(e,r)},Ks=function(t,e){return wt(t[e])?Vl:Gs(t[e])&&t.setAttribute?Ed:Ru},Wl=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},Cd=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},Nu=function(t,e){var r=e._pt,i="";if(!t&&e.b)i=e.b;else if(t===1&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round((r.s+r.c*t)*1e4)/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},Bu=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},xd=function(t,e,r,i){for(var n=this._pt,o;n;)o=n._next,n.p===i&&n.modifier(t,e,r),n=o},Sd=function(t){for(var e=this._pt,r,i;e;)i=e._next,e.p===t&&!e.op||e.op===t?Us(this,e,"_pt"):e.dep||(r=1),e=i;return!r},bd=function(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)},Iu=function(t){for(var e=t._pt,r,i,n,o;e;){for(r=e._next,i=n;i&&i.pr>e.pr;)i=i._next;(e._prev=i?i._prev:o)?e._prev._next=e:n=e,(e._next=i)?i._prev=e:o=e,e=r}t._pt=n},oe=function(){function s(e,r,i,n,o,u,a,l,f){this.t=r,this.s=n,this.c=o,this.p=i,this.r=u||Wl,this.d=a||this,this.set=l||Ru,this.pr=f||0,this._next=e,e&&(e._prev=this)}var t=s.prototype;return t.modifier=function(r,i,n){this.mSet=this.mSet||this.set,this.set=bd,this.m=r,this.mt=n,this.tween=i},s}();se(Tu+"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(s){return wu[s]=1});Te.TweenMax=Te.TweenLite=Pt;Te.TimelineLite=Te.TimelineMax=Qt;mt=new Qt({sortChildren:!1,defaults:qi,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});me.stringFilter=Pu;var vi=[],Bs={},wd=[],al=0,Td=0,au=function(t){return(Bs[t]||wd).map(function(e){return e()})},yu=function(){var t=Date.now(),e=[];t-al>2&&(au("matchMediaInit"),vi.forEach(function(r){var i=r.queries,n=r.conditions,o,u,a,l;for(u in i)o=Me.matchMedia(i[u]).matches,o&&(a=1),o!==n[u]&&(n[u]=o,l=1);l&&(r.revert(),a&&e.push(r))}),au("matchMediaRevert"),e.forEach(function(r){return r.onMatch(r)}),al=t,au("matchMedia"))},Yl=function(){function s(e,r){this.selector=r&&Du(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Td++,e&&this.add(e)}var t=s.prototype;return t.add=function(r,i,n){wt(r)&&(n=i,i=r,r=wt);var o=this,u=function(){var l=bt,f=o.selector,_;return l&&l!==o&&l.data.push(o),n&&(o.selector=Du(n)),bt=o,_=i.apply(o,arguments),wt(_)&&o._r.push(_),bt=l,o.selector=f,o.isReverted=!1,_};return o.last=u,r===wt?u(o):r?o[r]=u:u},t.ignore=function(r){var i=bt;bt=null,r(this),bt=i},t.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof s?r.push.apply(r,i.getTweens()):i instanceof Pt&&!(i.parent&&i.parent.data==="nested")&&r.push(i)}),r},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(r,i){var n=this;if(r){var o=this.getTweens();this.data.forEach(function(a){a.data==="isFlip"&&(a.revert(),a.getChildren(!0,!0,!1).forEach(function(l){return o.splice(o.indexOf(l),1)}))}),o.map(function(a){return{g:a.globalTime(0),t:a}}).sort(function(a,l){return l.g-a.g||-1/0}).forEach(function(a){return a.t.revert(r)}),this.data.forEach(function(a){return!(a instanceof Pt)&&a.revert&&a.revert(r)}),this._r.forEach(function(a){return a(r,n)}),this.isReverted=!0}else this.data.forEach(function(a){return a.kill&&a.kill()});if(this.clear(),i)for(var u=vi.length;u--;)vi[u].id===this.id&&vi.splice(u,1)},t.revert=function(r){this.kill(r||{})},s}(),Ad=function(){function s(e){this.contexts=[],this.scope=e}var t=s.prototype;return t.add=function(r,i,n){ar(r)||(r={matches:r});var o=new Yl(0,n||this.scope),u=o.conditions={},a,l,f;bt&&!o.selector&&(o.selector=bt.selector),this.contexts.push(o),i=o.add("onMatch",i),o.queries=r;for(l in r)l==="all"?f=1:(a=Me.matchMedia(r[l]),a&&(vi.indexOf(o)<0&&vi.push(o),(u[l]=a.matches)&&(f=1),a.addListener?a.addListener(yu):a.addEventListener("change",yu)));return f&&i(o),this},t.revert=function(r){this.kill(r||{})},t.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},s}(),Xs={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach(function(i){return kl(i)})},timeline:function(t){return new Qt(t)},getTweensOf:function(t,e){return mt.getTweensOf(t,e)},getProperty:function(t,e,r,i){Bt(t)&&(t=Re(t)[0]);var n=Gr(t||{}).get,o=r?ml:vl;return r==="native"&&(r=""),t&&(e?o((ge[e]&&ge[e].get||n)(t,e,r,i)):function(u,a,l){return o((ge[u]&&ge[u].get||n)(t,u,a,l))})},quickSetter:function(t,e,r){if(t=Re(t),t.length>1){var i=t.map(function(f){return ee.quickSetter(f,e,r)}),n=i.length;return function(f){for(var _=n;_--;)i[_](f)}}t=t[0]||{};var o=ge[e],u=Gr(t),a=u.harness&&(u.harness.aliases||{})[e]||e,l=o?function(f){var _=new o;Ui._pt=0,_.init(t,r?f+r:f,Ui,0,[t]),_.render(1,_),Ui._pt&&Bu(1,Ui)}:u.set(t,a);return o?l:function(f){return l(t,a,r?f+r:f,u,1)}},quickTo:function(t,e,r){var i,n=ee.to(t,mi((i={},i[e]="+=0.1",i.paused=!0,i),r||{})),o=function(a,l,f){return n.resetTo(e,a,l,f)};return o.tween=n,o},isTweening:function(t){return mt.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Di(t.ease,qi.ease)),il(qi,t||{})},config:function(t){return il(me,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,i=t.plugins,n=t.defaults,o=t.extendTimeline;(i||"").split(",").forEach(function(u){return u&&!ge[u]&&!Te[u]&&zs(e+" effect requires "+u+" plugin.")}),nu[e]=function(u,a,l){return r(Re(u),Be(a||{},n),l)},o&&(Qt.prototype[e]=function(u,a,l){return this.add(nu[e](u,ar(a)?a:(l=a)&&{},this),l)})},registerEase:function(t,e){st[t]=Di(e)},parseEase:function(t,e){return arguments.length?Di(t,e):st},getById:function(t){return mt.getById(t)},exportRoot:function(t,e){t===void 0&&(t={});var r=new Qt(t),i,n;for(r.smoothChildTiming=ve(t.smoothChildTiming),mt.remove(r),r._dp=0,r._time=r._tTime=mt._time,i=mt._first;i;)n=i._next,(e||!(!i._dur&&i instanceof Pt&&i.vars.onComplete===i._targets[0]))&&ur(r,i,i._start-i._delay),i=n;return ur(mt,r,0),r},context:function(t,e){return t?new Yl(t,e):bt},matchMedia:function(t){return new Ad(t)},matchMediaRefresh:function(){return vi.forEach(function(t){var e=t.conditions,r,i;for(i in e)e[i]&&(e[i]=!1,r=1);r&&t.revert()})||yu()},addEventListener:function(t,e){var r=Bs[t]||(Bs[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=Bs[t],i=r&&r.indexOf(e);i>=0&&r.splice(i,1)},utils:{wrap:od,wrapYoyo:ud,distribute:wl,random:Al,snap:Tl,normalize:sd,getUnit:Ut,clamp:ed,splitColor:Ml,toArray:Re,selector:Du,mapRange:Pl,pipe:id,unitize:nd,interpolate:ad,shuffle:bl},install:pl,effects:nu,ticker:De,updateRoot:Qt.updateRoot,plugins:ge,globalTimeline:mt,core:{PropTween:oe,globals:_l,Tween:Pt,Timeline:Qt,Animation:In,getCache:Gr,_removeLinkedListItem:Us,reverting:function(){return Jt},context:function(t){return t&&bt&&(bt.data.push(t),t._ctx=bt),bt},suppressOverwrites:function(t){return Eu=t}}};se("to,from,fromTo,delayedCall,set,killTweensOf",function(s){return Xs[s]=Pt[s]});De.add(Qt.updateRoot);Ui=Xs.to({},{duration:0});var Fd=function(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r},Pd=function(t,e){var r=t._targets,i,n,o;for(i in e)for(n=r.length;n--;)o=t._ptLookup[n][i],o&&(o=o.d)&&(o._pt&&(o=Fd(o,i)),o&&o.modifier&&o.modifier(e[i],t,r[n],i))},lu=function(t,e){return{name:t,rawVars:1,init:function(i,n,o){o._onInit=function(u){var a,l;if(Bt(n)&&(a={},se(n,function(f){return a[f]=1}),n=a),e){a={};for(l in n)a[l]=e(n[l]);n=a}Pd(u,n)}}}},ee=Xs.registerPlugin({name:"attr",init:function(t,e,r,i,n){var o,u,a;this.tween=r;for(o in e)a=t.getAttribute(o)||"",u=this.add(t,"setAttribute",(a||0)+"",e[o],i,n,0,0,o),u.op=o,u.b=a,this._props.push(o)},render:function(t,e){for(var r=e._pt;r;)Jt?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)}},lu("roundProps",vu),lu("modifiers"),lu("snap",Tl))||Xs;Pt.version=Qt.version=ee.version="3.12.2";dl=1;Cu()&&$i();var Od=st.Power0,kd=st.Power1,Md=st.Power2,Ld=st.Power3,Rd=st.Power4,Nd=st.Linear,Bd=st.Quad,Id=st.Cubic,zd=st.Quart,Vd=st.Quint,Wd=st.Strong,Yd=st.Elastic,Xd=st.Back,Gd=st.SteppedEase,Hd=st.Bounce,Ud=st.Sine,qd=st.Expo,jd=st.Circ;var Xl,qr,Ji,Hu,wi,Kd,Gl,Uu,$d=function(){return typeof window!="undefined"},wr={},bi=180/Math.PI,tn=Math.PI/180,Qi=Math.atan2,Hl=1e8,qu=/([A-Z])/g,Zd=/(left|right|width|margin|padding|x)/i,Qd=/[\s,\(]\S/,lr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Wu=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},Jd=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)},tp=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)},ep=function(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)},Ql=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},Jl=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},rp=function(t,e,r){return t.style[e]=r},ip=function(t,e,r){return t.style.setProperty(e,r)},np=function(t,e,r){return t._gsap[e]=r},sp=function(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r},op=function(t,e,r,i,n){var o=t._gsap;o.scaleX=o.scaleY=r,o.renderTransform(n,o)},up=function(t,e,r,i,n){var o=t._gsap;o[e]=r,o.renderTransform(n,o)},yt="transform",$e=yt+"Origin",ap=function s(t,e){var r=this,i=this.target,n=i.style;if(t in wr&&n){if(this.tfm=this.tfm||{},t!=="transform")t=lr[t]||t,~t.indexOf(",")?t.split(",").forEach(function(o){return r.tfm[o]=br(i,o)}):this.tfm[t]=i._gsap.x?i._gsap[t]:br(i,t);else return lr.transform.split(",").forEach(function(o){return s.call(r,o,e)});if(this.props.indexOf(yt)>=0)return;i._gsap.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push($e,e,"")),t=yt}(n||e)&&this.props.push(t,e,n[t])},tf=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},lp=function(){var t=this.props,e=this.target,r=e.style,i=e._gsap,n,o;for(n=0;n<t.length;n+=3)t[n+1]?e[t[n]]=t[n+2]:t[n+2]?r[t[n]]=t[n+2]:r.removeProperty(t[n].substr(0,2)==="--"?t[n]:t[n].replace(qu,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)i[o]=this.tfm[o];i.svg&&(i.renderTransform(),e.setAttribute("data-svg-origin",this.svgo||"")),n=Uu(),(!n||!n.isStart)&&!r[yt]&&(tf(r),i.uncache=1)}},ef=function(t,e){var r={target:t,props:[],revert:lp,save:ap};return t._gsap||ee.core.getCache(t),e&&e.split(",").forEach(function(i){return r.save(i)}),r},rf,Yu=function(t,e){var r=qr.createElementNS?qr.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):qr.createElement(t);return r.style?r:qr.createElement(t)},fr=function s(t,e,r){var i=getComputedStyle(t);return i[e]||i.getPropertyValue(e.replace(qu,"-$1").toLowerCase())||i.getPropertyValue(e)||!r&&s(t,en(e)||e,1)||""},Ul="O,Moz,ms,Ms,Webkit".split(","),en=function(t,e,r){var i=e||wi,n=i.style,o=5;if(t in n&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);o--&&!(Ul[o]+t in n););return o<0?null:(o===3?"ms":o>=0?Ul[o]:"")+t},Xu=function(){$d()&&window.document&&(Xl=window,qr=Xl.document,Ji=qr.documentElement,wi=Yu("div")||{style:{}},Kd=Yu("div"),yt=en(yt),$e=yt+"Origin",wi.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",rf=!!en("perspective"),Uu=ee.core.reverting,Hu=1)},zu=function s(t){var e=Yu("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,i=this.nextSibling,n=this.style.cssText,o;if(Ji.appendChild(e),e.appendChild(this),this.style.display="block",t)try{o=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=s}catch{}else this._gsapBBox&&(o=this._gsapBBox());return r&&(i?r.insertBefore(this,i):r.appendChild(this)),Ji.removeChild(e),this.style.cssText=n,o},ql=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},nf=function(t){var e;try{e=t.getBBox()}catch{e=zu.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===zu||(e=zu.call(t,!0)),e&&!e.width&&!e.x&&!e.y?{x:+ql(t,["x","cx","x1"])||0,y:+ql(t,["y","cy","y1"])||0,width:0,height:0}:e},sf=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&nf(t))},Wn=function(t,e){if(e){var r=t.style;e in wr&&e!==$e&&(e=yt),r.removeProperty?((e.substr(0,2)==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),r.removeProperty(e.replace(qu,"-$1").toLowerCase())):r.removeAttribute(e)}},jr=function(t,e,r,i,n,o){var u=new oe(t._pt,e,r,0,1,o?Jl:Ql);return t._pt=u,u.b=i,u.e=n,t._props.push(r),u},jl={deg:1,rad:1,turn:1},fp={grid:1,flex:1},Kr=function s(t,e,r,i){var n=parseFloat(r)||0,o=(r+"").trim().substr((n+"").length)||"px",u=wi.style,a=Zd.test(e),l=t.tagName.toLowerCase()==="svg",f=(l?"client":"offset")+(a?"Width":"Height"),_=100,d=i==="px",c=i==="%",p,h,g,v;return i===o||!n||jl[i]||jl[o]?n:(o!=="px"&&!d&&(n=s(t,e,r,"px")),v=t.getCTM&&sf(t),(c||o==="%")&&(wr[e]||~e.indexOf("adius"))?(p=v?t.getBBox()[a?"width":"height"]:t[f],Tt(c?n/p*_:n/100*p)):(u[a?"width":"height"]=_+(d?o:i),h=~e.indexOf("adius")||i==="em"&&t.appendChild&&!l?t:t.parentNode,v&&(h=(t.ownerSVGElement||{}).parentNode),(!h||h===qr||!h.appendChild)&&(h=qr.body),g=h._gsap,g&&c&&g.width&&a&&g.time===De.time&&!g.uncache?Tt(n/g.width*_):((c||o==="%")&&!fp[fr(h,"display")]&&(u.position=fr(t,"position")),h===t&&(u.position="static"),h.appendChild(wi),p=wi[f],h.removeChild(wi),u.position="absolute",a&&c&&(g=Gr(h),g.time=De.time,g.width=h[f]),Tt(d?p*n/_:p&&n?_/p*n:0))))},br=function(t,e,r,i){var n;return Hu||Xu(),e in lr&&e!=="transform"&&(e=lr[e],~e.indexOf(",")&&(e=e.split(",")[0])),wr[e]&&e!=="transform"?(n=Xn(t,i),n=e!=="transformOrigin"?n[e]:n.svg?n.origin:Zs(fr(t,$e))+" "+n.zOrigin+"px"):(n=t.style[e],(!n||n==="auto"||i||~(n+"").indexOf("calc("))&&(n=$s[e]&&$s[e](t,e,r)||fr(t,e)||Fu(t,e)||(e==="opacity"?1:0))),r&&!~(n+"").trim().indexOf(" ")?Kr(t,e,n,r)+r:n},cp=function(t,e,r,i){if(!r||r==="none"){var n=en(e,t,1),o=n&&fr(t,n,1);o&&o!==r?(e=n,r=o):e==="borderColor"&&(r=fr(t,"borderTopColor"))}var u=new oe(this._pt,t.style,e,0,1,Nu),a=0,l=0,f,_,d,c,p,h,g,v,D,m,C,x;if(u.b=r,u.e=i,r+="",i+="",i==="auto"&&(t.style[e]=i,i=fr(t,e)||i,t.style[e]=r),f=[r,i],Pu(f),r=f[0],i=f[1],d=r.match(yi)||[],x=i.match(yi)||[],x.length){for(;_=yi.exec(i);)g=_[0],D=i.substring(a,_.index),p?p=(p+1)%5:(D.substr(-5)==="rgba("||D.substr(-5)==="hsla(")&&(p=1),g!==(h=d[l++]||"")&&(c=parseFloat(h)||0,C=h.substr((c+"").length),g.charAt(1)==="="&&(g=Ei(c,g)+C),v=parseFloat(g),m=g.substr((v+"").length),a=yi.lastIndex-m.length,m||(m=m||me.units[e]||C,a===i.length&&(i+=m,u.e+=m)),C!==m&&(c=Kr(t,e,h,m)||0),u._pt={_next:u._pt,p:D||l===1?D:",",s:c,c:v-c,m:p&&p<4||e==="zIndex"?Math.round:0});u.c=a<i.length?i.substring(a,i.length):""}else u.r=e==="display"&&i==="none"?Jl:Ql;return Su.test(i)&&(u.e=0),this._pt=u,u},Kl={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},hp=function(t){var e=t.split(" "),r=e[0],i=e[1]||"50%";return(r==="top"||r==="bottom"||i==="left"||i==="right")&&(t=r,r=i,i=t),e[0]=Kl[r]||r,e[1]=Kl[i]||i,e.join(" ")},dp=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r=e.t,i=r.style,n=e.u,o=r._gsap,u,a,l;if(n==="all"||n===!0)i.cssText="",a=1;else for(n=n.split(","),l=n.length;--l>-1;)u=n[l],wr[u]&&(a=1,u=u==="transformOrigin"?$e:yt),Wn(r,u);a&&(Wn(r,yt),o&&(o.svg&&r.removeAttribute("transform"),Xn(r,1),o.uncache=1,tf(i)))}},$s={clearProps:function(t,e,r,i,n){if(n.data!=="isFromStart"){var o=t._pt=new oe(t._pt,e,r,0,0,dp);return o.u=i,o.pr=-10,o.tween=n,t._props.push(r),1}}},Yn=[1,0,0,1,0,0],of={},uf=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},$l=function(t){var e=fr(t,yt);return uf(e)?Yn:e.substr(7).match(xu).map(Tt)},ju=function(t,e){var r=t._gsap||Gr(t),i=t.style,n=$l(t),o,u,a,l;return r.svg&&t.getAttribute("transform")?(a=t.transform.baseVal.consolidate().matrix,n=[a.a,a.b,a.c,a.d,a.e,a.f],n.join(",")==="1,0,0,1,0,0"?Yn:n):(n===Yn&&!t.offsetParent&&t!==Ji&&!r.svg&&(a=i.display,i.display="block",o=t.parentNode,(!o||!t.offsetParent)&&(l=1,u=t.nextElementSibling,Ji.appendChild(t)),n=$l(t),a?i.display=a:Wn(t,"display"),l&&(u?o.insertBefore(t,u):o?o.appendChild(t):Ji.removeChild(t))),e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},Gu=function(t,e,r,i,n,o){var u=t._gsap,a=n||ju(t,!0),l=u.xOrigin||0,f=u.yOrigin||0,_=u.xOffset||0,d=u.yOffset||0,c=a[0],p=a[1],h=a[2],g=a[3],v=a[4],D=a[5],m=e.split(" "),C=parseFloat(m[0])||0,x=parseFloat(m[1])||0,b,E,S,A;r?a!==Yn&&(E=c*g-p*h)&&(S=C*(g/E)+x*(-h/E)+(h*D-g*v)/E,A=C*(-p/E)+x*(c/E)-(c*D-p*v)/E,C=S,x=A):(b=nf(t),C=b.x+(~m[0].indexOf("%")?C/100*b.width:C),x=b.y+(~(m[1]||m[0]).indexOf("%")?x/100*b.height:x)),i||i!==!1&&u.smooth?(v=C-l,D=x-f,u.xOffset=_+(v*c+D*h)-v,u.yOffset=d+(v*p+D*g)-D):u.xOffset=u.yOffset=0,u.xOrigin=C,u.yOrigin=x,u.smooth=!!i,u.origin=e,u.originIsAbsolute=!!r,t.style[$e]="0px 0px",o&&(jr(o,u,"xOrigin",l,C),jr(o,u,"yOrigin",f,x),jr(o,u,"xOffset",_,u.xOffset),jr(o,u,"yOffset",d,u.yOffset)),t.setAttribute("data-svg-origin",C+" "+x)},Xn=function(t,e){var r=t._gsap||new Ou(t);if("x"in r&&!e&&!r.uncache)return r;var i=t.style,n=r.scaleX<0,o="px",u="deg",a=getComputedStyle(t),l=fr(t,$e)||"0",f,_,d,c,p,h,g,v,D,m,C,x,b,E,S,A,T,P,F,k,V,I,R,L,N,w,y,M,G,Z,H,U;return f=_=d=h=g=v=D=m=C=0,c=p=1,r.svg=!!(t.getCTM&&sf(t)),a.translate&&((a.translate!=="none"||a.scale!=="none"||a.rotate!=="none")&&(i[yt]=(a.translate!=="none"?"translate3d("+(a.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(a.rotate!=="none"?"rotate("+a.rotate+") ":"")+(a.scale!=="none"?"scale("+a.scale.split(" ").join(",")+") ":"")+(a[yt]!=="none"?a[yt]:"")),i.scale=i.rotate=i.translate="none"),E=ju(t,r.svg),r.svg&&(r.uncache?(N=t.getBBox(),l=r.xOrigin-N.x+"px "+(r.yOrigin-N.y)+"px",L=""):L=!e&&t.getAttribute("data-svg-origin"),Gu(t,L||l,!!L||r.originIsAbsolute,r.smooth!==!1,E)),x=r.xOrigin||0,b=r.yOrigin||0,E!==Yn&&(P=E[0],F=E[1],k=E[2],V=E[3],f=I=E[4],_=R=E[5],E.length===6?(c=Math.sqrt(P*P+F*F),p=Math.sqrt(V*V+k*k),h=P||F?Qi(F,P)*bi:0,D=k||V?Qi(k,V)*bi+h:0,D&&(p*=Math.abs(Math.cos(D*tn))),r.svg&&(f-=x-(x*P+b*k),_-=b-(x*F+b*V))):(U=E[6],Z=E[7],y=E[8],M=E[9],G=E[10],H=E[11],f=E[12],_=E[13],d=E[14],S=Qi(U,G),g=S*bi,S&&(A=Math.cos(-S),T=Math.sin(-S),L=I*A+y*T,N=R*A+M*T,w=U*A+G*T,y=I*-T+y*A,M=R*-T+M*A,G=U*-T+G*A,H=Z*-T+H*A,I=L,R=N,U=w),S=Qi(-k,G),v=S*bi,S&&(A=Math.cos(-S),T=Math.sin(-S),L=P*A-y*T,N=F*A-M*T,w=k*A-G*T,H=V*T+H*A,P=L,F=N,k=w),S=Qi(F,P),h=S*bi,S&&(A=Math.cos(S),T=Math.sin(S),L=P*A+F*T,N=I*A+R*T,F=F*A-P*T,R=R*A-I*T,P=L,I=N),g&&Math.abs(g)+Math.abs(h)>359.9&&(g=h=0,v=180-v),c=Tt(Math.sqrt(P*P+F*F+k*k)),p=Tt(Math.sqrt(R*R+U*U)),S=Qi(I,R),D=Math.abs(S)>2e-4?S*bi:0,C=H?1/(H<0?-H:H):0),r.svg&&(L=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!uf(fr(t,yt)),L&&t.setAttribute("transform",L))),Math.abs(D)>90&&Math.abs(D)<270&&(n?(c*=-1,D+=h<=0?180:-180,h+=h<=0?180:-180):(p*=-1,D+=D<=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=_-((r.yPercent=_&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-_)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+o,r.z=d+o,r.scaleX=Tt(c),r.scaleY=Tt(p),r.rotation=Tt(h)+u,r.rotationX=Tt(g)+u,r.rotationY=Tt(v)+u,r.skewX=D+u,r.skewY=m+u,r.transformPerspective=C+o,(r.zOrigin=parseFloat(l.split(" ")[2])||0)&&(i[$e]=Zs(l)),r.xOffset=r.yOffset=0,r.force3D=me.force3D,r.renderTransform=r.svg?_p:rf?af:pp,r.uncache=0,r},Zs=function(t){return(t=t.split(" "))[0]+" "+t[1]},Vu=function(t,e,r){var i=Ut(e);return Tt(parseFloat(e)+parseFloat(Kr(t,"x",r+"px",i)))+i},pp=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,af(t,e)},xi="0deg",Vn="0px",Si=") ",af=function(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,o=r.x,u=r.y,a=r.z,l=r.rotation,f=r.rotationY,_=r.rotationX,d=r.skewX,c=r.skewY,p=r.scaleX,h=r.scaleY,g=r.transformPerspective,v=r.force3D,D=r.target,m=r.zOrigin,C="",x=v==="auto"&&t&&t!==1||v===!0;if(m&&(_!==xi||f!==xi)){var b=parseFloat(f)*tn,E=Math.sin(b),S=Math.cos(b),A;b=parseFloat(_)*tn,A=Math.cos(b),o=Vu(D,o,E*A*-m),u=Vu(D,u,-Math.sin(b)*-m),a=Vu(D,a,S*A*-m+m)}g!==Vn&&(C+="perspective("+g+Si),(i||n)&&(C+="translate("+i+"%, "+n+"%) "),(x||o!==Vn||u!==Vn||a!==Vn)&&(C+=a!==Vn||x?"translate3d("+o+", "+u+", "+a+") ":"translate("+o+", "+u+Si),l!==xi&&(C+="rotate("+l+Si),f!==xi&&(C+="rotateY("+f+Si),_!==xi&&(C+="rotateX("+_+Si),(d!==xi||c!==xi)&&(C+="skew("+d+", "+c+Si),(p!==1||h!==1)&&(C+="scale("+p+", "+h+Si),D.style[yt]=C||"translate(0, 0)"},_p=function(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,o=r.x,u=r.y,a=r.rotation,l=r.skewX,f=r.skewY,_=r.scaleX,d=r.scaleY,c=r.target,p=r.xOrigin,h=r.yOrigin,g=r.xOffset,v=r.yOffset,D=r.forceCSS,m=parseFloat(o),C=parseFloat(u),x,b,E,S,A;a=parseFloat(a),l=parseFloat(l),f=parseFloat(f),f&&(f=parseFloat(f),l+=f,a+=f),a||l?(a*=tn,l*=tn,x=Math.cos(a)*_,b=Math.sin(a)*_,E=Math.sin(a-l)*-d,S=Math.cos(a-l)*d,l&&(f*=tn,A=Math.tan(l-f),A=Math.sqrt(1+A*A),E*=A,S*=A,f&&(A=Math.tan(f),A=Math.sqrt(1+A*A),x*=A,b*=A)),x=Tt(x),b=Tt(b),E=Tt(E),S=Tt(S)):(x=_,S=d,b=E=0),(m&&!~(o+"").indexOf("px")||C&&!~(u+"").indexOf("px"))&&(m=Kr(c,"x",o,"px"),C=Kr(c,"y",u,"px")),(p||h||g||v)&&(m=Tt(m+p-(p*x+h*E)+g),C=Tt(C+h-(p*b+h*S)+v)),(i||n)&&(A=c.getBBox(),m=Tt(m+i/100*A.width),C=Tt(C+n/100*A.height)),A="matrix("+x+","+b+","+E+","+S+","+m+","+C+")",c.setAttribute("transform",A),D&&(c.style[yt]=A)},gp=function(t,e,r,i,n){var o=360,u=Bt(n),a=parseFloat(n)*(u&&~n.indexOf("rad")?bi:1),l=a-i,f=i+l+"deg",_,d;return u&&(_=n.split("_")[1],_==="short"&&(l%=o,l!==l%(o/2)&&(l+=l<0?o:-o)),_==="cw"&&l<0?l=(l+o*Hl)%o-~~(l/o)*o:_==="ccw"&&l>0&&(l=(l-o*Hl)%o-~~(l/o)*o)),t._pt=d=new oe(t._pt,e,r,i,l,Jd),d.e=f,d.u="deg",t._props.push(r),d},Zl=function(t,e){for(var r in e)t[r]=e[r];return t},Dp=function(t,e,r){var i=Zl({},r._gsap),n="perspective,force3D,transformOrigin,svgOrigin",o=r.style,u,a,l,f,_,d,c,p;i.svg?(l=r.getAttribute("transform"),r.setAttribute("transform",""),o[yt]=e,u=Xn(r,1),Wn(r,yt),r.setAttribute("transform",l)):(l=getComputedStyle(r)[yt],o[yt]=e,u=Xn(r,1),o[yt]=l);for(a in wr)l=i[a],f=u[a],l!==f&&n.indexOf(a)<0&&(c=Ut(l),p=Ut(f),_=c!==p?Kr(r,a,l,p):parseFloat(l),d=parseFloat(f),t._pt=new oe(t._pt,u,a,_,d-_,Wu),t._pt.u=p||0,t._props.push(a));Zl(u,i)};se("padding,margin,Width,Radius",function(s,t){var e="Top",r="Right",i="Bottom",n="Left",o=(t<3?[e,r,i,n]:[e+n,e+r,i+r,i+n]).map(function(u){return t<2?s+u:"border"+u+s});$s[t>1?"border"+s:s]=function(u,a,l,f,_){var d,c;if(arguments.length<4)return d=o.map(function(p){return br(u,p,l)}),c=d.join(" "),c.split(d[0]).length===5?d[0]:c;d=(f+"").split(" "),c={},o.forEach(function(p,h){return c[p]=d[h]=d[h]||d[(h-1)/2|0]}),u.init(a,c,_)}});var Ku={name:"css",register:Xu,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,i,n){var o=this._props,u=t.style,a=r.vars.startAt,l,f,_,d,c,p,h,g,v,D,m,C,x,b,E,S;Hu||Xu(),this.styles=this.styles||ef(t),S=this.styles.props,this.tween=r;for(h in e)if(h!=="autoRound"&&(f=e[h],!(ge[h]&&Mu(h,e,r,i,t,n)))){if(c=typeof f,p=$s[h],c==="function"&&(f=f.call(r,i,t,n),c=typeof f),c==="string"&&~f.indexOf("random(")&&(f=Zi(f)),p)p(this,t,h,f,r)&&(E=1);else if(h.substr(0,2)==="--")l=(getComputedStyle(t).getPropertyValue(h)+"").trim(),f+="",xr.lastIndex=0,xr.test(l)||(g=Ut(l),v=Ut(f)),v?g!==v&&(l=Kr(t,h,l,v)+v):g&&(f+=g),this.add(u,"setProperty",l,f,i,n,0,0,h),o.push(h),S.push(h,0,u[h]);else if(c!=="undefined"){if(a&&h in a?(l=typeof a[h]=="function"?a[h].call(r,i,t,n):a[h],Bt(l)&&~l.indexOf("random(")&&(l=Zi(l)),Ut(l+"")||(l+=me.units[h]||Ut(br(t,h))||""),(l+"").charAt(1)==="="&&(l=br(t,h))):l=br(t,h),d=parseFloat(l),D=c==="string"&&f.charAt(1)==="="&&f.substr(0,2),D&&(f=f.substr(2)),_=parseFloat(f),h in lr&&(h==="autoAlpha"&&(d===1&&br(t,"visibility")==="hidden"&&_&&(d=0),S.push("visibility",0,u.visibility),jr(this,u,"visibility",d?"inherit":"hidden",_?"inherit":"hidden",!_)),h!=="scale"&&h!=="transform"&&(h=lr[h],~h.indexOf(",")&&(h=h.split(",")[0]))),m=h in wr,m){if(this.styles.save(h),C||(x=t._gsap,x.renderTransform&&!e.parseTransform||Xn(t,e.parseTransform),b=e.smoothOrigin!==!1&&x.smooth,C=this._pt=new oe(this._pt,u,yt,0,1,x.renderTransform,x,0,-1),C.dep=1),h==="scale")this._pt=new oe(this._pt,x,"scaleY",x.scaleY,(D?Ei(x.scaleY,D+_):_)-x.scaleY||0,Wu),this._pt.u=0,o.push("scaleY",h),h+="X";else if(h==="transformOrigin"){S.push($e,0,u[$e]),f=hp(f),x.svg?Gu(t,f,0,b,0,this):(v=parseFloat(f.split(" ")[2])||0,v!==x.zOrigin&&jr(this,x,"zOrigin",x.zOrigin,v),jr(this,u,h,Zs(l),Zs(f)));continue}else if(h==="svgOrigin"){Gu(t,f,1,b,0,this);continue}else if(h in of){gp(this,x,h,d,D?Ei(d,D+f):f);continue}else if(h==="smoothOrigin"){jr(this,x,"smooth",x.smooth,f);continue}else if(h==="force3D"){x[h]=f;continue}else if(h==="transform"){Dp(this,f,t);continue}}else h in u||(h=en(h)||h);if(m||(_||_===0)&&(d||d===0)&&!Qd.test(f)&&h in u)g=(l+"").substr((d+"").length),_||(_=0),v=Ut(f)||(h in me.units?me.units[h]:g),g!==v&&(d=Kr(t,h,l,v)),this._pt=new oe(this._pt,m?x:u,h,d,(D?Ei(d,D+_):_)-d,!m&&(v==="px"||h==="zIndex")&&e.autoRound!==!1?ep:Wu),this._pt.u=v||0,g!==v&&v!=="%"&&(this._pt.b=l,this._pt.r=tp);else if(h in u)cp.call(this,t,h,l,D?D+f:f);else if(h in t)this.add(t,h,l||t[h],D?D+f:f,i,n);else if(h!=="parseTransform"){Hs(h,f);continue}m||(h in u?S.push(h,0,u[h]):S.push(h,1,l||t[h])),o.push(h)}}E&&Iu(this)},render:function(t,e){if(e.tween._time||!Uu())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:br,aliases:lr,getSetter:function(t,e,r){var i=lr[e];return i&&i.indexOf(",")<0&&(e=i),e in wr&&e!==$e&&(t._gsap.x||br(t,"x"))?r&&Gl===r?e==="scale"?sp:np:(Gl=r||{})&&(e==="scale"?op:up):t.style&&!Gs(t.style[e])?rp:~e.indexOf("-")?ip:Ks(t,e)},core:{_removeProperty:Wn,_getMatrix:ju}};ee.utils.checkPrefix=en;ee.core.getStyleSaver=ef;(function(s,t,e,r){var i=se(s+","+t+","+e,function(n){wr[n]=1});se(t,function(n){me.units[n]="deg",of[n]=1}),lr[i[13]]=s+","+t,se(r,function(n){var o=n.split(":");lr[o[1]]=i[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");se("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(s){me.units[s]="px"});ee.registerPlugin(Ku);var cr=ee.registerPlugin(Ku)||ee,X0=cr.core.Tween;var vp=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig;var mp=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig;var yp=Math.PI/180,H0=180/Math.PI,Qs=Math.sin,Js=Math.cos,Hn=Math.abs,Gn=Math.sqrt;var Ep=function(t){return typeof t=="number"};var lf=1e5;var $r=function(t){return Math.round(t*lf)/lf||0};function ff(s,t,e,r,i,n,o){for(var u=s.length,a,l,f,_,d;--u>-1;)for(a=s[u],l=a.length,f=0;f<l;f+=2)_=a[f],d=a[f+1],a[f]=_*t+d*r+n,a[f+1]=_*e+d*i+o;return s._dirty=1,s}function Cp(s,t,e,r,i,n,o,u,a){if(!(s===u&&t===a)){e=Hn(e),r=Hn(r);var l=i%360*yp,f=Js(l),_=Qs(l),d=Math.PI,c=d*2,p=(s-u)/2,h=(t-a)/2,g=f*p+_*h,v=-_*p+f*h,D=g*g,m=v*v,C=D/(e*e)+m/(r*r);C>1&&(e=Gn(C)*e,r=Gn(C)*r);var x=e*e,b=r*r,E=(x*b-x*m-b*D)/(x*m+b*D);E<0&&(E=0);var S=(n===o?-1:1)*Gn(E),A=S*(e*v/r),T=S*-(r*g/e),P=(s+u)/2,F=(t+a)/2,k=P+(f*A-_*T),V=F+(_*A+f*T),I=(g-A)/e,R=(v-T)/r,L=(-g-A)/e,N=(-v-T)/r,w=I*I+R*R,y=(R<0?-1:1)*Math.acos(I/Gn(w)),M=(I*N-R*L<0?-1:1)*Math.acos((I*L+R*N)/Gn(w*(L*L+N*N)));isNaN(M)&&(M=d),!o&&M>0?M-=c:o&&M<0&&(M+=c),y%=c,M%=c;var G=Math.ceil(Hn(M)/(c/4)),Z=[],H=M/G,U=4/3*Qs(H/2)/(1+Js(H/2)),B=f*e,X=_*e,ft=_*-r,J=f*r,tt;for(tt=0;tt<G;tt++)i=y+tt*H,g=Js(i),v=Qs(i),I=Js(i+=H),R=Qs(i),Z.push(g-U*v,v+U*g,I+U*R,R-U*I,I,R);for(tt=0;tt<Z.length;tt+=2)g=Z[tt],v=Z[tt+1],Z[tt]=g*B+v*ft+k,Z[tt+1]=g*X+v*J+V;return Z[tt-2]=u,Z[tt-1]=a,Z}}function cf(s){var t=(s+"").replace(mp,function(A){var T=+A;return T<1e-4&&T>-1e-4?0:T}).match(vp)||[],e=[],r=0,i=0,n=2/3,o=t.length,u=0,a="ERROR: malformed path: "+s,l,f,_,d,c,p,h,g,v,D,m,C,x,b,E,S=function(T,P,F,k){D=(F-T)/3,m=(k-P)/3,h.push(T+D,P+m,F-D,k-m,F,k)};if(!s||!isNaN(t[0])||isNaN(t[1]))return console.log(a),e;for(l=0;l<o;l++)if(x=c,isNaN(t[l])?(c=t[l].toUpperCase(),p=c!==t[l]):l--,_=+t[l+1],d=+t[l+2],p&&(_+=r,d+=i),l||(g=_,v=d),c==="M")h&&(h.length<8?e.length-=1:u+=h.length),r=g=_,i=v=d,h=[_,d],e.push(h),l+=2,c="L";else if(c==="C")h||(h=[0,0]),p||(r=i=0),h.push(_,d,r+t[l+3]*1,i+t[l+4]*1,r+=t[l+5]*1,i+=t[l+6]*1),l+=6;else if(c==="S")D=r,m=i,(x==="C"||x==="S")&&(D+=r-h[h.length-4],m+=i-h[h.length-3]),p||(r=i=0),h.push(D,m,_,d,r+=t[l+3]*1,i+=t[l+4]*1),l+=4;else if(c==="Q")D=r+(_-r)*n,m=i+(d-i)*n,p||(r=i=0),r+=t[l+3]*1,i+=t[l+4]*1,h.push(D,m,r+(_-r)*n,i+(d-i)*n,r,i),l+=4;else if(c==="T")D=r-h[h.length-4],m=i-h[h.length-3],h.push(r+D,i+m,_+(r+D*1.5-_)*n,d+(i+m*1.5-d)*n,r=_,i=d),l+=2;else if(c==="H")S(r,i,r=_,i),l+=1;else if(c==="V")S(r,i,r,i=_+(p?i-r:0)),l+=1;else if(c==="L"||c==="Z")c==="Z"&&(_=g,d=v,h.closed=!0),(c==="L"||Hn(r-_)>.5||Hn(i-d)>.5)&&(S(r,i,_,d),c==="L"&&(l+=2)),r=_,i=d;else if(c==="A"){if(b=t[l+4],E=t[l+5],D=t[l+6],m=t[l+7],f=7,b.length>1&&(b.length<3?(m=D,D=E,f--):(m=E,D=b.substr(2),f-=2),E=b.charAt(1),b=b.charAt(0)),C=Cp(r,i,+t[l+1],+t[l+2],+t[l+3],+b,+E,(p?r:0)+D*1,(p?i:0)+m*1),l+=f,C)for(f=0;f<C.length;f++)h.push(C[f]);r=h[h.length-2],i=h[h.length-1]}else console.log(a);return l=h.length,l<6?(e.pop(),l=0):h[0]===h[l-2]&&h[1]===h[l-1]&&(h.closed=!0),e.totalPoints=u+l,e}function hf(s){Ep(s[0])&&(s=[s]);var t="",e=s.length,r,i,n,o;for(i=0;i<e;i++){for(o=s[i],t+="M"+$r(o[0])+","+$r(o[1])+" C",r=o.length,n=2;n<r;n++)t+=$r(o[n++])+","+$r(o[n++])+" "+$r(o[n++])+","+$r(o[n++])+" "+$r(o[n++])+","+$r(o[n])+" ";o.closed&&(t+="z")}return t}var ye,pf,_f=function(){return ye||typeof window!="undefined"&&(ye=window.gsap)&&ye.registerPlugin&&ye},df=function(){ye=_f(),ye?(ye.registerEase("_CE",Ti.create),pf=1):console.warn("Please gsap.registerPlugin(CustomEase)")},xp=1e20,to=function(t){return~~(t*1e3+(t<0?-.5:.5))/1e3},Sp=1,bp=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,wp=/[cLlsSaAhHvVtTqQ]/g,Tp=function(t){var e=t.length,r=xp,i;for(i=1;i<e;i+=6)+t[i]<r&&(r=+t[i]);return r},Ap=function(t,e,r){!r&&r!==0&&(r=Math.max(+t[t.length-1],+t[1]));var i=+t[0]*-1,n=-r,o=t.length,u=1/(+t[o-2]+i),a=-e||(Math.abs(+t[o-1]-+t[1])<.01*(+t[o-2]-+t[0])?Tp(t)+n:+t[o-1]+n),l;for(a?a=1/a:a=-u,l=0;l<o;l+=2)t[l]=(+t[l]+i)*u,t[l+1]=(+t[l+1]+n)*a},Fp=function s(t,e,r,i,n,o,u,a,l,f,_){var d=(t+r)/2,c=(e+i)/2,p=(r+n)/2,h=(i+o)/2,g=(n+u)/2,v=(o+a)/2,D=(d+p)/2,m=(c+h)/2,C=(p+g)/2,x=(h+v)/2,b=(D+C)/2,E=(m+x)/2,S=u-t,A=a-e,T=Math.abs((r-u)*A-(i-a)*S),P=Math.abs((n-u)*A-(o-a)*S),F;return f||(f=[{x:t,y:e},{x:u,y:a}],_=1),f.splice(_||f.length-1,0,{x:b,y:E}),(T+P)*(T+P)>l*(S*S+A*A)&&(F=f.length,s(t,e,d,c,D,m,b,E,l,f,_),s(b,E,C,x,g,v,u,a,l,f,_+1+(f.length-F))),f},Ti=function(){function s(e,r,i){pf||df(),this.id=e,Sp&&this.setData(r,i)}var t=s.prototype;return t.setData=function(r,i){i=i||{},r=r||"0,0,1,1";var n=r.match(bp),o=1,u=[],a=[],l=i.precision||1,f=l<=1,_,d,c,p,h,g,v,D,m;if(this.data=r,(wp.test(r)||~r.indexOf("M")&&r.indexOf("C")<0)&&(n=cf(r)[0]),_=n.length,_===4)n.unshift(0,0),n.push(1,1),_=8;else if((_-2)%6)throw"Invalid CustomEase";for((+n[0]!=0||+n[_-2]!=1)&&Ap(n,i.height,i.originY),this.segment=n,p=2;p<_;p+=6)d={x:+n[p-2],y:+n[p-1]},c={x:+n[p+4],y:+n[p+5]},u.push(d,c),Fp(d.x,d.y,+n[p],+n[p+1],+n[p+2],+n[p+3],c.x,c.y,1/(l*2e5),u,u.length-1);for(_=u.length,p=0;p<_;p++)v=u[p],D=u[p-1]||v,(v.x>D.x||D.y!==v.y&&D.x===v.x||v===D)&&v.x<=1?(D.cx=v.x-D.x,D.cy=v.y-D.y,D.n=v,D.nx=v.x,f&&p>1&&Math.abs(D.cy/D.cx-u[p-2].cy/u[p-2].cx)>2&&(f=0),D.cx<o&&(D.cx?o=D.cx:(D.cx=.001,p===_-1&&(D.x-=.001,o=Math.min(o,.001),f=0)))):(u.splice(p--,1),_--);if(_=1/o+1|0,h=1/_,g=0,v=u[0],f){for(p=0;p<_;p++)m=p*h,v.nx<m&&(v=u[++g]),d=v.y+(m-v.x)/v.cx*v.cy,a[p]={x:m,cx:h,y:d,cy:0,nx:9},p&&(a[p-1].cy=d-a[p-1].y);a[_-1].cy=u[u.length-1].y-d}else{for(p=0;p<_;p++)v.nx<p*h&&(v=u[++g]),a[p]=v;g<u.length-1&&(a[p-1]=u[u.length-2])}return this.ease=function(C){var x=a[C*_|0]||a[_-1];return x.nx<C&&(x=x.n),x.y+(C-x.x)/x.cx*x.cy},this.ease.custom=this,this.id&&ye&&ye.registerEase(this.id,this.ease),this},t.getSVGData=function(r){return s.getSVGData(this,r)},s.create=function(r,i,n){return new s(r,i,n).ease},s.register=function(r){ye=r,df()},s.get=function(r){return ye.parseEase(r)},s.getSVGData=function(r,i){i=i||{};var n=i.width||100,o=i.height||100,u=i.x||0,a=(i.y||0)+o,l=ye.utils.toArray(i.path)[0],f,_,d,c,p,h,g,v,D,m;if(i.invert&&(o=-o,a=0),typeof r=="string"&&(r=ye.parseEase(r)),r.custom&&(r=r.custom),r instanceof s)f=hf(ff([r.segment],n,0,0,-o,u,a));else{for(f=[u,a],g=Math.max(5,(i.precision||1)*200),c=1/g,g+=2,v=5/g,D=to(u+c*n),m=to(a+r(c)*-o),_=(m-a)/(D-u),d=2;d<g;d++)p=to(u+d*c*n),h=to(a+r(d*c)*-o),(Math.abs((h-m)/(p-D)-_)>v||d===g-1)&&(f.push(D,m),_=(h-m)/(p-D)),D=p,m=h;f="M"+f.join(",")}return l&&l.setAttribute("d",f),f},s}();_f()&&ye.registerPlugin(Ti);Ti.version="3.12.2";var ue,mf,Tr,hr,Zr,yf,Ef,eo,Cf=function(){return typeof window!="undefined"},xf=function(){return ue||Cf()&&(ue=window.gsap)&&ue.registerPlugin&&ue},Sf=function(t){return typeof t=="string"},gf=function(t){return typeof t=="function"},Un=function(t,e){var r=e==="x"?"Width":"Height",i="scroll"+r,n="client"+r;return t===Tr||t===hr||t===Zr?Math.max(hr[i],Zr[i])-(Tr["inner"+r]||hr[n]||Zr[n]):t[i]-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=hr[r]!=null?hr:Zr),function(){return t[r]}},Pp=function(t,e,r,i){if(gf(t)&&(t=t(e,r,i)),typeof t!="object")return Sf(t)&&t!=="max"&&t.charAt(1)!=="="?{x:t,y:t}:{y:t};if(t.nodeType)return{y:t,x:t};var n={},o;for(o in t)n[o]=o!=="onAutoKill"&&gf(t[o])?t[o](e,r,i):t[o];return n},bf=function(t,e){if(t=yf(t)[0],!t||!t.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var r=t.getBoundingClientRect(),i=!e||e===Tr||e===Zr,n=i?{top:hr.clientTop-(Tr.pageYOffset||hr.scrollTop||Zr.scrollTop||0),left:hr.clientLeft-(Tr.pageXOffset||hr.scrollLeft||Zr.scrollLeft||0)}:e.getBoundingClientRect(),o={x:r.left-n.left,y:r.top-n.top};return!i&&e&&(o.x+=qn(e,"x")(),o.y+=qn(e,"y")()),o},Df=function(t,e,r,i,n){return!isNaN(t)&&typeof t!="object"?parseFloat(t)-n:Sf(t)&&t.charAt(1)==="="?parseFloat(t.substr(2))*(t.charAt(0)==="-"?-1:1)+i-n:t==="max"?Un(e,r)-n:Math.min(Un(e,r),bf(t,e)[r]-n)},vf=function(){ue=xf(),Cf()&&ue&&typeof document!="undefined"&&document.body&&(Tr=window,Zr=document.body,hr=document.documentElement,yf=ue.utils.toArray,ue.config({autoKillThreshold:7}),Ef=ue.config(),mf=1)},rn={version:"3.12.2",name:"scrollTo",rawVars:1,register:function(t){ue=t,vf()},init:function(t,e,r,i,n){mf||vf();var o=this,u=ue.getProperty(t,"scrollSnapType");o.isWin=t===Tr,o.target=t,o.tween=r,e=Pp(e,i,t,n),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(),eo||(eo=ue.core.globals().ScrollTrigger),ue.getProperty(t,"scrollBehavior")==="smooth"&&ue.set(t,{scrollBehavior:"auto"}),u&&u!=="none"&&(o.snap=1,o.snapInline=t.style.scrollSnapType,t.style.scrollSnapType="none"),e.x!=null?(o.add(o,"x",o.x,Df(e.x,t,"x",o.x,e.offsetX||0),i,n),o._props.push("scrollTo_x")):o.skipX=1,e.y!=null?(o.add(o,"y",o.y,Df(e.y,t,"y",o.y,e.offsetY||0),i,n),o._props.push("scrollTo_y")):o.skipY=1},render:function(t,e){for(var r=e._pt,i=e.target,n=e.tween,o=e.autoKill,u=e.xPrev,a=e.yPrev,l=e.isWin,f=e.snap,_=e.snapInline,d,c,p,h,g;r;)r.r(t,r.d),r=r._next;d=l||!e.skipX?e.getX():u,c=l||!e.skipY?e.getY():a,p=c-a,h=d-u,g=Ef.autoKillThreshold,e.x<0&&(e.x=0),e.y<0&&(e.y=0),o&&(!e.skipX&&(h>g||h<-g)&&d<Un(i,"x")&&(e.skipX=1),!e.skipY&&(p>g||p<-g)&&c<Un(i,"y")&&(e.skipY=1),e.skipX&&e.skipY&&(n.kill(),e.vars.onAutoKill&&e.vars.onAutoKill.apply(n,e.vars.onAutoKillParams||[]))),l?Tr.scrollTo(e.skipX?d:e.x,e.skipY?c:e.y):(e.skipY||(i.scrollTop=e.y),e.skipX||(i.scrollLeft=e.x)),f&&(t===1||t===0)&&(c=i.scrollTop,d=i.scrollLeft,_?i.style.scrollSnapType=_:i.style.removeProperty("scroll-snap-type"),i.scrollTop=c+1,i.scrollLeft=d+1,i.scrollTop=c,i.scrollLeft=d),e.xPrev=e.x,e.yPrev=e.y,eo&&eo.update()},kill:function(t){var e=t==="scrollTo";(e||t==="scrollTo_x")&&(this.skipX=1),(e||t==="scrollTo_y")&&(this.skipY=1)}};rn.max=Un;rn.getOffset=bf;rn.buildGetter=qn;xf()&&ue.registerPlugin(rn);function wf(s,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(s,r.key,r)}}function Op(s,t,e){return t&&wf(s.prototype,t),e&&wf(s,e),s}var qt,$u,kp,Ae,Qr,Jr,sn,Af,Ai,Kn,Ff,Ar,Ze,Pf,Of=function(){return qt||typeof window!="undefined"&&(qt=window.gsap)&&qt.registerPlugin&&qt},kf=1,nn=[],et=[],Qe=[],$n=Date.now,Zu=function(t,e){return e},Mp=function(){var t=Kn.core,e=t.bridge||{},r=t._scrollers,i=t._proxies;r.push.apply(r,et),i.push.apply(i,Qe),et=r,Qe=i,Zu=function(o,u){return e[o](u)}},Pr=function(t,e){return~Qe.indexOf(t)&&Qe[Qe.indexOf(t)+1][e]},Zn=function(t){return!!~Ff.indexOf(t)},le=function(t,e,r,i,n){return t.addEventListener(e,r,{passive:!i,capture:!!n})},ae=function(t,e,r,i){return t.removeEventListener(e,r,!!i)},ro="scrollLeft",io="scrollTop",Qu=function(){return Ar&&Ar.isPressed||et.cache++},no=function(t,e){var r=function i(n){if(n||n===0){kf&&(Ae.history.scrollRestoration="manual");var o=Ar&&Ar.isPressed;n=i.v=Math.round(n)||(Ar&&Ar.iOS?1:0),t(n),i.cacheID=et.cache,o&&Zu("ss",n)}else(e||et.cache!==i.cacheID||Zu("ref"))&&(i.cacheID=et.cache,i.v=t());return i.v+i.offset};return r.offset=0,t&&r},re={s:ro,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:no(function(s){return arguments.length?Ae.scrollTo(s,Mt.sc()):Ae.pageXOffset||Qr[ro]||Jr[ro]||sn[ro]||0})},Mt={s:io,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:re,sc:no(function(s){return arguments.length?Ae.scrollTo(re.sc(),s):Ae.pageYOffset||Qr[io]||Jr[io]||sn[io]||0})},fe=function(t,e){return(e&&e._ctx&&e._ctx.selector||qt.utils.toArray)(t)[0]||(typeof t=="string"&&qt.config().nullTargetWarn!==!1?console.warn("Element not found:",t):null)},Fr=function(t,e){var r=e.s,i=e.sc;Zn(t)&&(t=Qr.scrollingElement||Jr);var n=et.indexOf(t),o=i===Mt.sc?1:2;!~n&&(n=et.push(t)-1),et[n+o]||le(t,"scroll",Qu);var u=et[n+o],a=u||(et[n+o]=no(Pr(t,r),!0)||(Zn(t)?i:no(function(l){return arguments.length?t[r]=l:t[r]})));return a.target=t,u||(a.smooth=qt.getProperty(t,"scrollBehavior")==="smooth"),a},so=function(t,e,r){var i=t,n=t,o=$n(),u=o,a=e||50,l=Math.max(500,a*3),f=function(p,h){var g=$n();h||g-o>a?(n=i,i=p,u=o,o=g):r?i+=p:i=n+(p-n)/(g-u)*(o-u)},_=function(){n=i=r?0:i,u=o=0},d=function(p){var h=u,g=n,v=$n();return(p||p===0)&&p!==i&&f(p),o===u||v-u>l?0:(i+(r?g:-g))/((r?v:o)-h)*1e3};return{update:f,reset:_,getVelocity:d}},jn=function(t,e){return e&&!t._gsapAllow&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},Tf=function(t){var e=Math.max.apply(Math,t),r=Math.min.apply(Math,t);return Math.abs(e)>=Math.abs(r)?e:r},Mf=function(){Kn=qt.core.globals().ScrollTrigger,Kn&&Kn.core&&Mp()},Lf=function(t){return qt=t||Of(),qt&&typeof document!="undefined"&&document.body&&(Ae=window,Qr=document,Jr=Qr.documentElement,sn=Qr.body,Ff=[Ae,Qr,Jr,sn],kp=qt.utils.clamp,Pf=qt.core.context||function(){},Ai="onpointerenter"in sn?"pointer":"mouse",Af=Ot.isTouch=Ae.matchMedia&&Ae.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Ae||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Ze=Ot.eventTypes=("ontouchstart"in Jr?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Jr?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return kf=0},500),Mf(),$u=1),$u};re.op=Mt;et.cache=0;var Ot=function(){function s(e){this.init(e)}var t=s.prototype;return t.init=function(r){$u||Lf(qt)||console.warn("Please gsap.registerPlugin(Observer)"),Kn||Mf();var i=r.tolerance,n=r.dragMinimum,o=r.type,u=r.target,a=r.lineHeight,l=r.debounce,f=r.preventDefault,_=r.onStop,d=r.onStopDelay,c=r.ignore,p=r.wheelSpeed,h=r.event,g=r.onDragStart,v=r.onDragEnd,D=r.onDrag,m=r.onPress,C=r.onRelease,x=r.onRight,b=r.onLeft,E=r.onUp,S=r.onDown,A=r.onChangeX,T=r.onChangeY,P=r.onChange,F=r.onToggleX,k=r.onToggleY,V=r.onHover,I=r.onHoverEnd,R=r.onMove,L=r.ignoreCheck,N=r.isNormalizer,w=r.onGestureStart,y=r.onGestureEnd,M=r.onWheel,G=r.onEnable,Z=r.onDisable,H=r.onClick,U=r.scrollSpeed,B=r.capture,X=r.allowClicks,ft=r.lockAxis,J=r.onLockAxis;this.target=u=fe(u)||Jr,this.vars=r,c&&(c=qt.utils.toArray(c)),i=i||1e-9,n=n||0,p=p||1,U=U||1,o=o||"wheel,touch,pointer",l=l!==!1,a||(a=parseFloat(Ae.getComputedStyle(sn).lineHeight)||22);var tt,Kt,xe,z,K,xt,Rt,O=this,Se=0,mr=0,ui=Fr(u,re),kt=Fr(u,Mt),ai=ui(),li=kt(),Tn=~o.indexOf("touch")&&!~o.indexOf("pointer")&&Ze[0]==="pointerdown",Yt=Zn(u),At=u.ownerDocument||Qr,Ge=[0,0,0],He=[0,0,0],fi=0,yr=function(){return fi=$n()},ir=function(q,ct){return(O.event=q)&&c&&~c.indexOf(q.target)||ct&&Tn&&q.pointerType!=="touch"||L&&L(q,ct)},_e=function(){O._vx.reset(),O._vy.reset(),Kt.pause(),_&&_(O)},ci=function(){var q=O.deltaX=Tf(Ge),ct=O.deltaY=Tf(He),St=Math.abs(q)>=i,W=Math.abs(ct)>=i;P&&(St||W)&&P(O,q,ct,Ge,He),St&&(x&&O.deltaX>0&&x(O),b&&O.deltaX<0&&b(O),A&&A(O),F&&O.deltaX<0!=Se<0&&F(O),Se=O.deltaX,Ge[0]=Ge[1]=Ge[2]=0),W&&(S&&O.deltaY>0&&S(O),E&&O.deltaY<0&&E(O),T&&T(O),k&&O.deltaY<0!=mr<0&&k(O),mr=O.deltaY,He[0]=He[1]=He[2]=0),(z||xe)&&(R&&R(O),xe&&(D(O),xe=!1),z=!1),xt&&!(xt=!1)&&J&&J(O),K&&(M(O),K=!1),tt=0},Xi=function(q,ct,St){Ge[St]+=q,He[St]+=ct,O._vx.update(q),O._vy.update(ct),l?tt||(tt=requestAnimationFrame(ci)):ci()},Gi=function(q,ct){ft&&!Rt&&(O.axis=Rt=Math.abs(q)>Math.abs(ct)?"x":"y",xt=!0),Rt!=="y"&&(Ge[2]+=q,O._vx.update(q,!0)),Rt!=="x"&&(He[2]+=ct,O._vy.update(ct,!0)),l?tt||(tt=requestAnimationFrame(ci)):ci()},hi=function(q){if(!ir(q,1)){q=jn(q,f);var ct=q.clientX,St=q.clientY,W=ct-O.x,ut=St-O.y,j=O.isDragging;O.x=ct,O.y=St,(j||Math.abs(O.startX-ct)>=n||Math.abs(O.startY-St)>=n)&&(D&&(xe=!0),j||(O.isDragging=!0),Gi(W,ut),j||g&&g(O))}},Vr=O.onPress=function($){ir($,1)||$&&$.button||(O.axis=Rt=null,Kt.pause(),O.isPressed=!0,$=jn($),Se=mr=0,O.startX=O.x=$.clientX,O.startY=O.y=$.clientY,O._vx.reset(),O._vy.reset(),le(N?u:At,Ze[1],hi,f,!0),O.deltaX=O.deltaY=0,m&&m(O))},Wr=O.onRelease=function($){if(!ir($,1)){ae(N?u:At,Ze[1],hi,!0);var q=!isNaN(O.y-O.startY),ct=O.isDragging&&(Math.abs(O.x-O.startX)>3||Math.abs(O.y-O.startY)>3),St=jn($);!ct&&q&&(O._vx.reset(),O._vy.reset(),f&&X&&qt.delayedCall(.08,function(){if($n()-fi>300&&!$.defaultPrevented){if($.target.click)$.target.click();else if(At.createEvent){var W=At.createEvent("MouseEvents");W.initMouseEvent("click",!0,!0,Ae,1,St.screenX,St.screenY,St.clientX,St.clientY,!1,!1,!1,!1,0,null),$.target.dispatchEvent(W)}}})),O.isDragging=O.isGesturing=O.isPressed=!1,_&&!N&&Kt.restart(!0),v&&ct&&v(O),C&&C(O,ct)}},at=function(q){return q.touches&&q.touches.length>1&&(O.isGesturing=!0)&&w(q,O.isDragging)},di=function(){return(O.isGesturing=!1)||y(O)},Ue=function(q){if(!ir(q)){var ct=ui(),St=kt();Xi((ct-ai)*U,(St-li)*U,1),ai=ct,li=St,_&&Kt.restart(!0)}},qe=function(q){if(!ir(q)){q=jn(q,f),M&&(K=!0);var ct=(q.deltaMode===1?a:q.deltaMode===2?Ae.innerHeight:1)*p;Xi(q.deltaX*ct,q.deltaY*ct,0),_&&!N&&Kt.restart(!0)}},je=function(q){if(!ir(q)){var ct=q.clientX,St=q.clientY,W=ct-O.x,ut=St-O.y;O.x=ct,O.y=St,z=!0,(W||ut)&&Gi(W,ut)}},pi=function(q){O.event=q,V(O)},Hi=function(q){O.event=q,I(O)},Er=function(q){return ir(q)||jn(q,f)&&H(O)};Kt=O._dc=qt.delayedCall(d||.25,_e).pause(),O.deltaX=O.deltaY=0,O._vx=so(0,50,!0),O._vy=so(0,50,!0),O.scrollX=ui,O.scrollY=kt,O.isDragging=O.isGesturing=O.isPressed=!1,Pf(this),O.enable=function($){return O.isEnabled||(le(Yt?At:u,"scroll",Qu),o.indexOf("scroll")>=0&&le(Yt?At:u,"scroll",Ue,f,B),o.indexOf("wheel")>=0&&le(u,"wheel",qe,f,B),(o.indexOf("touch")>=0&&Af||o.indexOf("pointer")>=0)&&(le(u,Ze[0],Vr,f,B),le(At,Ze[2],Wr),le(At,Ze[3],Wr),X&&le(u,"click",yr,!1,!0),H&&le(u,"click",Er),w&&le(At,"gesturestart",at),y&&le(At,"gestureend",di),V&&le(u,Ai+"enter",pi),I&&le(u,Ai+"leave",Hi),R&&le(u,Ai+"move",je)),O.isEnabled=!0,$&&$.type&&Vr($),G&&G(O)),O},O.disable=function(){O.isEnabled&&(nn.filter(function($){return $!==O&&Zn($.target)}).length||ae(Yt?At:u,"scroll",Qu),O.isPressed&&(O._vx.reset(),O._vy.reset(),ae(N?u:At,Ze[1],hi,!0)),ae(Yt?At:u,"scroll",Ue,B),ae(u,"wheel",qe,B),ae(u,Ze[0],Vr,B),ae(At,Ze[2],Wr),ae(At,Ze[3],Wr),ae(u,"click",yr,!0),ae(u,"click",Er),ae(At,"gesturestart",at),ae(At,"gestureend",di),ae(u,Ai+"enter",pi),ae(u,Ai+"leave",Hi),ae(u,Ai+"move",je),O.isEnabled=O.isPressed=O.isDragging=!1,Z&&Z(O))},O.kill=O.revert=function(){O.disable();var $=nn.indexOf(O);$>=0&&nn.splice($,1),Ar===O&&(Ar=0)},nn.push(O),N&&Zn(u)&&(Ar=O),O.enable(h)},Op(s,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),s}();Ot.version="3.12.2";Ot.create=function(s){return new Ot(s)};Ot.register=Lf;Ot.getAll=function(){return nn.slice()};Ot.getById=function(s){return nn.filter(function(t){return t.vars.id===s})[0]};Of()&&qt.registerPlugin(Ot);var Y,an,ot,Et,Je,gt,Zf,So,bo,fn,Do,oo,ie,To,oa,ce,Rf,Nf,ln,Qf,Ju,Jf,Fe,tc,ec,rc,ti,ua,ha,cn,da,ta,uo=1,de=Date.now,ea=de(),Ve=0,Jn=0,Bf=function(t,e,r){var i=Oe(t)&&(t.substr(0,6)==="clamp("||t.indexOf("max")>-1);return r["_"+e+"Clamp"]=i,i?t.substr(6,t.length-7):t},If=function(t,e){return e&&(!Oe(t)||t.substr(0,6)!=="clamp(")?"clamp("+t+")":t},Lp=function s(){return Jn&&requestAnimationFrame(s)},zf=function(){return To=1},Vf=function(){return To=0},dr=function(t){return t},ts=function(t){return Math.round(t*1e5)/1e5||0},ic=function(){return typeof window!="undefined"},nc=function(){return Y||ic()&&(Y=window.gsap)&&Y.registerPlugin&&Y},Li=function(t){return!!~Zf.indexOf(t)},sc=function(t){return(t==="Height"?da:ot["inner"+t])||Je["client"+t]||gt["client"+t]},oc=function(t){return Pr(t,"getBoundingClientRect")||(Li(t)?function(){return xo.width=ot.innerWidth,xo.height=da,xo}:function(){return Or(t)})},Rp=function(t,e,r){var i=r.d,n=r.d2,o=r.a;return(o=Pr(t,"getBoundingClientRect"))?function(){return o()[i]}:function(){return(e?sc(n):t["client"+n])||0}},Np=function(t,e){return!e||~Qe.indexOf(t)?oc(t):function(){return xo}},kr=function(t,e){var r=e.s,i=e.d2,n=e.d,o=e.a;return Math.max(0,(r="scroll"+i)&&(o=Pr(t,r))?o()-oc(t)()[n]:Li(t)?(Je[r]||gt[r])-sc(i):t[r]-t["offset"+i])},ao=function(t,e){for(var r=0;r<ln.length;r+=3)(!e||~e.indexOf(ln[r+1]))&&t(ln[r],ln[r+1],ln[r+2])},Oe=function(t){return typeof t=="string"},pe=function(t){return typeof t=="function"},vo=function(t){return typeof t=="number"},Fi=function(t){return typeof t=="object"},Qn=function(t,e,r){return t&&t.progress(e?0:1)&&r&&t.pause()},ra=function(t,e){if(t.enabled){var r=e(t);r&&r.totalTime&&(t.callbackAnimation=r)}},on=Math.abs,uc="left",ac="top",pa="right",_a="bottom",Oi="width",ki="height",rs="Right",is="Left",ns="Top",ss="Bottom",Lt="padding",Ie="margin",dn="Width",ga="Height",jt="px",ze=function(t){return ot.getComputedStyle(t)},Bp=function(t){var e=ze(t).position;t.style.position=e==="absolute"||e==="fixed"?e:"relative"},Wf=function(t,e){for(var r in e)r in t||(t[r]=e[r]);return t},Or=function(t,e){var r=e&&ze(t)[oa]!=="matrix(1, 0, 0, 1, 0, 0)"&&Y.to(t,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),i=t.getBoundingClientRect();return r&&r.progress(0).kill(),i},aa=function(t,e){var r=e.d2;return t["offset"+r]||t["client"+r]||0},lc=function(t){var e=[],r=t.labels,i=t.duration(),n;for(n in r)e.push(r[n]/i);return e},Ip=function(t){return function(e){return Y.utils.snap(lc(t),e)}},Da=function(t){var e=Y.utils.snap(t),r=Array.isArray(t)&&t.slice(0).sort(function(i,n){return i-n});return r?function(i,n,o){o===void 0&&(o=.001);var u;if(!n)return e(i);if(n>0){for(i-=o,u=0;u<r.length;u++)if(r[u]>=i)return r[u];return r[u-1]}else for(u=r.length,i+=o;u--;)if(r[u]<=i)return r[u];return r[0]}:function(i,n,o){o===void 0&&(o=.001);var u=e(i);return!n||Math.abs(u-i)<o||u-i<0==n<0?u:e(n<0?i-t:i+t)}},zp=function(t){return function(e,r){return Da(lc(t))(e,r.direction)}},lo=function(t,e,r,i){return r.split(",").forEach(function(n){return t(e,n,i)})},Wt=function(t,e,r,i,n){return t.addEventListener(e,r,{passive:!i,capture:!!n})},Vt=function(t,e,r,i){return t.removeEventListener(e,r,!!i)},fo=function(t,e,r){r=r&&r.wheelHandler,r&&(t(e,"wheel",r),t(e,"touchmove",r))},Yf={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},co={toggleActions:"play",anticipatePin:0},wo={top:0,left:0,center:.5,bottom:1,right:1},mo=function(t,e){if(Oe(t)){var r=t.indexOf("="),i=~r?+(t.charAt(r-1)+1)*parseFloat(t.substr(r+1)):0;~r&&(t.indexOf("%")>r&&(i*=e/100),t=t.substr(0,r-1)),t=i+(t in wo?wo[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},ho=function(t,e,r,i,n,o,u,a){var l=n.startColor,f=n.endColor,_=n.fontSize,d=n.indent,c=n.fontWeight,p=Et.createElement("div"),h=Li(r)||Pr(r,"pinType")==="fixed",g=t.indexOf("scroller")!==-1,v=h?gt:r,D=t.indexOf("start")!==-1,m=D?l:f,C="border-color:"+m+";font-size:"+_+";color:"+m+";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 C+="position:"+((g||a)&&h?"fixed;":"absolute;"),(g||a||!h)&&(C+=(i===Mt?pa:_a)+":"+(o+parseFloat(d))+"px;"),u&&(C+="box-sizing:border-box;text-align:left;width:"+u.offsetWidth+"px;"),p._isStart=D,p.setAttribute("class","gsap-marker-"+t+(e?" marker-"+e:"")),p.style.cssText=C,p.innerText=e||e===0?t+"-"+e:t,v.children[0]?v.insertBefore(p,v.children[0]):v.appendChild(p),p._offset=p["offset"+i.op.d2],yo(p,0,i,D),p},yo=function(t,e,r,i){var n={display:"block"},o=r[i?"os2":"p2"],u=r[i?"p2":"os2"];t._isFlipped=i,n[r.a+"Percent"]=i?-100:0,n[r.a]=i?"1px":0,n["border"+o+dn]=1,n["border"+u+dn]=0,n[r.p]=e+"px",Y.set(t,n)},rt=[],la={},us,Xf=function(){return de()-Ve>34&&(us||(us=requestAnimationFrame(Mr)))},un=function(){(!Fe||!Fe.isPressed||Fe.startX>gt.clientWidth)&&(et.cache++,Fe?us||(us=requestAnimationFrame(Mr)):Mr(),Ve||Ni("scrollStart"),Ve=de())},ia=function(){rc=ot.innerWidth,ec=ot.innerHeight},es=function(){et.cache++,!ie&&!Jf&&!Et.fullscreenElement&&!Et.webkitFullscreenElement&&(!tc||rc!==ot.innerWidth||Math.abs(ot.innerHeight-ec)>ot.innerHeight*.25)&&So.restart(!0)},Ri={},Vp=[],fc=function s(){return Vt(it,"scrollEnd",s)||Pi(!0)},Ni=function(t){return Ri[t]&&Ri[t].map(function(e){return e()})||Vp},Pe=[],cc=function(t){for(var e=0;e<Pe.length;e+=5)(!t||Pe[e+4]&&Pe[e+4].query===t)&&(Pe[e].style.cssText=Pe[e+1],Pe[e].getBBox&&Pe[e].setAttribute("transform",Pe[e+2]||""),Pe[e+3].uncache=1)},va=function(t,e){var r;for(ce=0;ce<rt.length;ce++)r=rt[ce],r&&(!e||r._ctx===e)&&(t?r.kill(1):r.revert(!0,!0));e&&cc(e),e||Ni("revert")},hc=function(t,e){et.cache++,(e||!he)&&et.forEach(function(r){return pe(r)&&r.cacheID++&&(r.rec=0)}),Oe(t)&&(ot.history.scrollRestoration=ha=t)},he,Mi=0,Gf,Wp=function(){if(Gf!==Mi){var t=Gf=Mi;requestAnimationFrame(function(){return t===Mi&&Pi(!0)})}},dc=function(){gt.appendChild(cn),da=cn.offsetHeight||ot.innerHeight,gt.removeChild(cn)},Pi=function(t,e){if(Ve&&!t){Wt(it,"scrollEnd",fc);return}dc(),he=it.isRefreshing=!0,et.forEach(function(i){return pe(i)&&++i.cacheID&&(i.rec=i())});var r=Ni("refreshInit");Qf&&it.sort(),e||va(),et.forEach(function(i){pe(i)&&(i.smooth&&(i.target.style.scrollBehavior="auto"),i(0))}),rt.slice(0).forEach(function(i){return i.refresh()}),rt.forEach(function(i,n){if(i._subPinOffset&&i.pin){var o=i.vars.horizontal?"offsetWidth":"offsetHeight",u=i.pin[o];i.revert(!0,1),i.adjustPinSpacing(i.pin[o]-u),i.refresh()}}),rt.forEach(function(i){var n=kr(i.scroller,i._dir);(i.vars.end==="max"||i._endClamp&&i.end>n)&&i.setPositions(i.start,Math.max(i.start+1,n),!0)}),r.forEach(function(i){return i&&i.render&&i.render(-1)}),et.forEach(function(i){pe(i)&&(i.smooth&&requestAnimationFrame(function(){return i.target.style.scrollBehavior="smooth"}),i.rec&&i(i.rec))}),hc(ha,1),So.pause(),Mi++,he=2,Mr(2),rt.forEach(function(i){return pe(i.vars.onRefresh)&&i.vars.onRefresh(i)}),he=it.isRefreshing=!1,Ni("refresh")},fa=0,Eo=1,os,Mr=function(t){if(!he||t===2){it.isUpdating=!0,os&&os.update(0);var e=rt.length,r=de(),i=r-ea>=50,n=e&&rt[0].scroll();if(Eo=fa>n?-1:1,he||(fa=n),i&&(Ve&&!To&&r-Ve>200&&(Ve=0,Ni("scrollEnd")),Do=ea,ea=r),Eo<0){for(ce=e;ce-- >0;)rt[ce]&&rt[ce].update(0,i);Eo=1}else for(ce=0;ce<e;ce++)rt[ce]&&rt[ce].update(0,i);it.isUpdating=!1}us=0},ca=[uc,ac,_a,pa,Ie+ss,Ie+rs,Ie+ns,Ie+is,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Co=ca.concat([Oi,ki,"boxSizing","max"+dn,"max"+ga,"position",Ie,Lt,Lt+ns,Lt+rs,Lt+ss,Lt+is]),Yp=function(t,e,r){hn(r);var i=t._gsap;if(i.spacerIsNative)hn(i.spacerState);else if(t._gsap.swappedIn){var n=e.parentNode;n&&(n.insertBefore(t,e),n.removeChild(e))}t._gsap.swappedIn=!1},na=function(t,e,r,i){if(!t._gsap.swappedIn){for(var n=ca.length,o=e.style,u=t.style,a;n--;)a=ca[n],o[a]=r[a];o.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(o.display="inline-block"),u[_a]=u[pa]="auto",o.flexBasis=r.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[Oi]=aa(t,re)+jt,o[ki]=aa(t,Mt)+jt,o[Lt]=u[Ie]=u[ac]=u[uc]="0",hn(i),u[Oi]=u["max"+dn]=r[Oi],u[ki]=u["max"+ga]=r[ki],u[Lt]=r[Lt],t.parentNode!==e&&(t.parentNode.insertBefore(e,t),e.appendChild(t)),t._gsap.swappedIn=!0}},Xp=/([A-Z])/g,hn=function(t){if(t){var e=t.t.style,r=t.length,i=0,n,o;for((t.t._gsap||Y.core.getCache(t.t)).uncache=1;i<r;i+=2)o=t[i+1],n=t[i],o?e[n]=o:e[n]&&e.removeProperty(n.replace(Xp,"-$1").toLowerCase())}},po=function(t){for(var e=Co.length,r=t.style,i=[],n=0;n<e;n++)i.push(Co[n],r[Co[n]]);return i.t=t,i},Gp=function(t,e,r){for(var i=[],n=t.length,o=r?8:0,u;o<n;o+=2)u=t[o],i.push(u,u in e?e[u]:t[o+1]);return i.t=t.t,i},xo={left:0,top:0},Hf=function(t,e,r,i,n,o,u,a,l,f,_,d,c,p){pe(t)&&(t=t(a)),Oe(t)&&t.substr(0,3)==="max"&&(t=d+(t.charAt(4)==="="?mo("0"+t.substr(3),r):0));var h=c?c.time():0,g,v,D;if(c&&c.seek(0),isNaN(t)||(t=+t),vo(t))c&&(t=Y.utils.mapRange(c.scrollTrigger.start,c.scrollTrigger.end,0,d,t)),u&&yo(u,r,i,!0);else{pe(e)&&(e=e(a));var m=(t||"0").split(" "),C,x,b,E;D=fe(e,a)||gt,C=Or(D)||{},(!C||!C.left&&!C.top)&&ze(D).display==="none"&&(E=D.style.display,D.style.display="block",C=Or(D),E?D.style.display=E:D.style.removeProperty("display")),x=mo(m[0],C[i.d]),b=mo(m[1]||"0",r),t=C[i.p]-l[i.p]-f+x+n-b,u&&yo(u,b,i,r-b<20||u._isStart&&b>20),r-=r-b}if(p&&(a[p]=t||-.001,t<0&&(t=0)),o){var S=t+r,A=o._isStart;g="scroll"+i.d2,yo(o,S,i,A&&S>20||!A&&(_?Math.max(gt[g],Je[g]):o.parentNode[g])<=S+1),_&&(l=Or(u),_&&(o.style[i.op.p]=l[i.op.p]-i.op.m-o._offset+jt))}return c&&D&&(g=Or(D),c.seek(d),v=Or(D),c._caScrollDist=g[i.p]-v[i.p],t=t/c._caScrollDist*d),c&&c.seek(h),c?t:Math.round(t)},Hp=/(webkit|moz|length|cssText|inset)/i,Uf=function(t,e,r,i){if(t.parentNode!==e){var n=t.style,o,u;if(e===gt){t._stOrig=n.cssText,u=ze(t);for(o in u)!+o&&!Hp.test(o)&&u[o]&&typeof n[o]=="string"&&o!=="0"&&(n[o]=u[o]);n.top=r,n.left=i}else n.cssText=t._stOrig;Y.core.getCache(t).uncache=1,e.appendChild(t)}},pc=function(t,e,r){var i=e,n=i;return function(o){var u=Math.round(t());return u!==i&&u!==n&&Math.abs(u-i)>3&&Math.abs(u-n)>3&&(o=u,r&&r()),n=i,i=o,o}},_o=function(t,e,r){var i={};i[e.p]="+="+r,Y.set(t,i)},qf=function(t,e){var r=Fr(t,e),i="_scroll"+e.p2,n=function o(u,a,l,f,_){var d=o.tween,c=a.onComplete,p={};l=l||r();var h=pc(r,l,function(){d.kill(),o.tween=0});return _=f&&_||0,f=f||u-l,d&&d.kill(),a[i]=u,a.modifiers=p,p[i]=function(){return h(l+f*d.ratio+_*d.ratio*d.ratio)},a.onUpdate=function(){et.cache++,Mr()},a.onComplete=function(){o.tween=0,c&&c.call(d)},d=o.tween=Y.to(t,a),d};return t[i]=r,r.wheelHandler=function(){return n.tween&&n.tween.kill()&&(n.tween=0)},Wt(t,"wheel",r.wheelHandler),it.isTouch&&Wt(t,"touchmove",r.wheelHandler),n},it=function(){function s(e,r){an||s.register(Y)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),ua(this),this.init(e,r)}var t=s.prototype;return t.init=function(r,i){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Jn){this.update=this.refresh=this.kill=dr;return}r=Wf(Oe(r)||vo(r)||r.nodeType?{trigger:r}:r,co);var n=r,o=n.onUpdate,u=n.toggleClass,a=n.id,l=n.onToggle,f=n.onRefresh,_=n.scrub,d=n.trigger,c=n.pin,p=n.pinSpacing,h=n.invalidateOnRefresh,g=n.anticipatePin,v=n.onScrubComplete,D=n.onSnapComplete,m=n.once,C=n.snap,x=n.pinReparent,b=n.pinSpacer,E=n.containerAnimation,S=n.fastScrollEnd,A=n.preventOverlaps,T=r.horizontal||r.containerAnimation&&r.horizontal!==!1?re:Mt,P=!_&&_!==0,F=fe(r.scroller||ot),k=Y.core.getCache(F),V=Li(F),I=("pinType"in r?r.pinType:Pr(F,"pinType")||V&&"fixed")==="fixed",R=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],L=P&&r.toggleActions.split(" "),N="markers"in r?r.markers:co.markers,w=V?0:parseFloat(ze(F)["border"+T.p2+dn])||0,y=this,M=r.onRefreshInit&&function(){return r.onRefreshInit(y)},G=Rp(F,V,T),Z=Np(F,V),H=0,U=0,B=0,X=Fr(F,T),ft,J,tt,Kt,xe,z,K,xt,Rt,O,Se,mr,ui,kt,ai,li,Tn,Yt,At,Ge,He,fi,yr,ir,_e,ci,Xi,Gi,hi,Vr,Wr,at,di,Ue,qe,je,pi,Hi,Er;if(y._startClamp=y._endClamp=!1,y._dir=T,g*=45,y.scroller=F,y.scroll=E?E.time.bind(E):X,Kt=X(),y.vars=r,i=i||r.animation,"refreshPriority"in r&&(Qf=1,r.refreshPriority===-9999&&(os=y)),k.tweenScroll=k.tweenScroll||{top:qf(F,Mt),left:qf(F,re)},y.tweenTo=ft=k.tweenScroll[T.p],y.scrubDuration=function(W){di=vo(W)&&W,di?at?at.duration(W):at=Y.to(i,{ease:"expo",totalProgress:"+=0",duration:di,paused:!0,onComplete:function(){return v&&v(y)}}):(at&&at.progress(1).kill(),at=0)},i&&(i.vars.lazy=!1,i._initted&&!y.isReverted||i.vars.immediateRender!==!1&&r.immediateRender!==!1&&i.duration()&&i.render(0,!0,!0),y.animation=i.pause(),i.scrollTrigger=y,y.scrubDuration(_),Vr=0,a||(a=i.vars.id)),C&&((!Fi(C)||C.push)&&(C={snapTo:C}),"scrollBehavior"in gt.style&&Y.set(V?[gt,Je]:F,{scrollBehavior:"auto"}),et.forEach(function(W){return pe(W)&&W.target===(V?Et.scrollingElement||Je:F)&&(W.smooth=!1)}),tt=pe(C.snapTo)?C.snapTo:C.snapTo==="labels"?Ip(i):C.snapTo==="labelsDirectional"?zp(i):C.directional!==!1?function(W,ut){return Da(C.snapTo)(W,de()-U<500?0:ut.direction)}:Y.utils.snap(C.snapTo),Ue=C.duration||{min:.1,max:2},Ue=Fi(Ue)?fn(Ue.min,Ue.max):fn(Ue,Ue),qe=Y.delayedCall(C.delay||di/2||.1,function(){var W=X(),ut=de()-U<500,j=ft.tween;if((ut||Math.abs(y.getVelocity())<10)&&!j&&!To&&H!==W){var nt=(W-z)/kt,zt=i&&!P?i.totalProgress():nt,lt=ut?0:(zt-Wr)/(de()-Do)*1e3||0,Ft=Y.utils.clamp(-nt,1-nt,on(lt/2)*lt/.185),ne=nt+(C.inertia===!1?0:Ft),Xt=fn(0,1,tt(ne,y)),Dt=Math.round(z+Xt*kt),ht=C,Ke=ht.onStart,vt=ht.onInterrupt,be=ht.onComplete;if(W<=K&&W>=z&&Dt!==W){if(j&&!j._initted&&j.data<=on(Dt-W))return;C.inertia===!1&&(Ft=Xt-nt),ft(Dt,{duration:Ue(on(Math.max(on(ne-zt),on(Xt-zt))*.185/lt/.05||0)),ease:C.ease||"power3",data:on(Dt-W),onInterrupt:function(){return qe.restart(!0)&&vt&&vt(y)},onComplete:function(){y.update(),H=X(),Vr=Wr=i&&!P?i.totalProgress():y.progress,D&&D(y),be&&be(y)}},W,Ft*kt,Dt-W-Ft*kt),Ke&&Ke(y,ft.tween)}}else y.isActive&&H!==W&&qe.restart(!0)}).pause()),a&&(la[a]=y),d=y.trigger=fe(d||c!==!0&&c),Er=d&&d._gsap&&d._gsap.stRevert,Er&&(Er=Er(y)),c=c===!0?d:fe(c),Oe(u)&&(u={targets:d,className:u}),c&&(p===!1||p===Ie||(p=!p&&c.parentNode&&c.parentNode.style&&ze(c.parentNode).display==="flex"?!1:Lt),y.pin=c,J=Y.core.getCache(c),J.spacer?ai=J.pinState:(b&&(b=fe(b),b&&!b.nodeType&&(b=b.current||b.nativeElement),J.spacerIsNative=!!b,b&&(J.spacerState=po(b))),J.spacer=Yt=b||Et.createElement("div"),Yt.classList.add("pin-spacer"),a&&Yt.classList.add("pin-spacer-"+a),J.pinState=ai=po(c)),r.force3D!==!1&&Y.set(c,{force3D:!0}),y.spacer=Yt=J.spacer,hi=ze(c),ir=hi[p+T.os2],Ge=Y.getProperty(c),He=Y.quickSetter(c,T.a,jt),na(c,Yt,hi),Tn=po(c)),N){mr=Fi(N)?Wf(N,Yf):Yf,O=ho("scroller-start",a,F,T,mr,0),Se=ho("scroller-end",a,F,T,mr,0,O),At=O["offset"+T.op.d2];var $=fe(Pr(F,"content")||F);xt=this.markerStart=ho("start",a,$,T,mr,At,0,E),Rt=this.markerEnd=ho("end",a,$,T,mr,At,0,E),E&&(Hi=Y.quickSetter([xt,Rt],T.a,jt)),!I&&!(Qe.length&&Pr(F,"fixedMarkers")===!0)&&(Bp(V?gt:F),Y.set([O,Se],{force3D:!0}),ci=Y.quickSetter(O,T.a,jt),Gi=Y.quickSetter(Se,T.a,jt))}if(E){var q=E.vars.onUpdate,ct=E.vars.onUpdateParams;E.eventCallback("onUpdate",function(){y.update(0,0,1),q&&q.apply(E,ct||[])})}if(y.previous=function(){return rt[rt.indexOf(y)-1]},y.next=function(){return rt[rt.indexOf(y)+1]},y.revert=function(W,ut){if(!ut)return y.kill(!0);var j=W!==!1||!y.enabled,nt=ie;j!==y.isReverted&&(j&&(je=Math.max(X(),y.scroll.rec||0),B=y.progress,pi=i&&i.progress()),xt&&[xt,Rt,O,Se].forEach(function(zt){return zt.style.display=j?"none":"block"}),j&&(ie=y,y.update(j)),c&&(!x||!y.isActive)&&(j?Yp(c,Yt,ai):na(c,Yt,ze(c),_e)),j||y.update(j),ie=nt,y.isReverted=j)},y.refresh=function(W,ut,j,nt){if(!((ie||!y.enabled)&&!ut)){if(c&&W&&Ve){Wt(s,"scrollEnd",fc);return}!he&&M&&M(y),ie=y,ft.tween&&!j&&(ft.tween.kill(),ft.tween=0),at&&at.pause(),h&&i&&i.revert({kill:!1}).invalidate(),y.isReverted||y.revert(!0,!0),y._subPinOffset=!1;var zt=G(),lt=Z(),Ft=E?E.duration():kr(F,T),ne=kt<=.01,Xt=0,Dt=nt||0,ht=Fi(j)?j.end:r.end,Ke=r.endTrigger||d,vt=Fi(j)?j.start:r.start||(r.start===0||!d?0:c?"0 0":"0 100%"),be=y.pinnedContainer=r.pinnedContainer&&fe(r.pinnedContainer,y),nr=d&&Math.max(0,rt.indexOf(y))||0,we=nr,Gt,$t,_i,Fs,Zt,Nt,sr,Qo,tl,An,or,Fn,Ps;for(N&&Fi(j)&&(Fn=Y.getProperty(O,T.p),Ps=Y.getProperty(Se,T.p));we--;)Nt=rt[we],Nt.end||Nt.refresh(0,1)||(ie=y),sr=Nt.pin,sr&&(sr===d||sr===c||sr===be)&&!Nt.isReverted&&(An||(An=[]),An.unshift(Nt),Nt.revert(!0,!0)),Nt!==rt[we]&&(nr--,we--);for(pe(vt)&&(vt=vt(y)),vt=Bf(vt,"start",y),z=Hf(vt,d,zt,T,X(),xt,O,y,lt,w,I,Ft,E,y._startClamp&&"_startClamp")||(c?-.001:0),pe(ht)&&(ht=ht(y)),Oe(ht)&&!ht.indexOf("+=")&&(~ht.indexOf(" ")?ht=(Oe(vt)?vt.split(" ")[0]:"")+ht:(Xt=mo(ht.substr(2),zt),ht=Oe(vt)?vt:(E?Y.utils.mapRange(0,E.duration(),E.scrollTrigger.start,E.scrollTrigger.end,z):z)+Xt,Ke=d)),ht=Bf(ht,"end",y),K=Math.max(z,Hf(ht||(Ke?"100% 0":Ft),Ke,zt,T,X()+Xt,Rt,Se,y,lt,w,I,Ft,E,y._endClamp&&"_endClamp"))||-.001,Xt=0,we=nr;we--;)Nt=rt[we],sr=Nt.pin,sr&&Nt.start-Nt._pinPush<=z&&!E&&Nt.end>0&&(Gt=Nt.end-(y._startClamp?Math.max(0,Nt.start):Nt.start),(sr===d&&Nt.start-Nt._pinPush<z||sr===be)&&isNaN(vt)&&(Xt+=Gt*(1-Nt.progress)),sr===c&&(Dt+=Gt));if(z+=Xt,K+=Xt,y._startClamp&&(y._startClamp+=Xt),y._endClamp&&!he&&(y._endClamp=K||-.001,K=Math.min(K,kr(F,T))),kt=K-z||(z-=.01)&&.001,ne&&(B=Y.utils.clamp(0,1,Y.utils.normalize(z,K,je))),y._pinPush=Dt,xt&&Xt&&(Gt={},Gt[T.a]="+="+Xt,be&&(Gt[T.p]="-="+X()),Y.set([xt,Rt],Gt)),c)Gt=ze(c),Fs=T===Mt,_i=X(),fi=parseFloat(Ge(T.a))+Dt,!Ft&&K>1&&(or=(V?Et.scrollingElement||Je:F).style,or={style:or,value:or["overflow"+T.a.toUpperCase()]},V&&ze(gt)["overflow"+T.a.toUpperCase()]!=="scroll"&&(or.style["overflow"+T.a.toUpperCase()]="scroll")),na(c,Yt,Gt),Tn=po(c),$t=Or(c,!0),Qo=I&&Fr(F,Fs?re:Mt)(),p&&(_e=[p+T.os2,kt+Dt+jt],_e.t=Yt,we=p===Lt?aa(c,T)+kt+Dt:0,we&&_e.push(T.d,we+jt),hn(_e),be&&rt.forEach(function(Pn){Pn.pin===be&&Pn.vars.pinSpacing!==!1&&(Pn._subPinOffset=!0)}),I&&X(je)),I&&(Zt={top:$t.top+(Fs?_i-z:Qo)+jt,left:$t.left+(Fs?Qo:_i-z)+jt,boxSizing:"border-box",position:"fixed"},Zt[Oi]=Zt["max"+dn]=Math.ceil($t.width)+jt,Zt[ki]=Zt["max"+ga]=Math.ceil($t.height)+jt,Zt[Ie]=Zt[Ie+ns]=Zt[Ie+rs]=Zt[Ie+ss]=Zt[Ie+is]="0",Zt[Lt]=Gt[Lt],Zt[Lt+ns]=Gt[Lt+ns],Zt[Lt+rs]=Gt[Lt+rs],Zt[Lt+ss]=Gt[Lt+ss],Zt[Lt+is]=Gt[Lt+is],li=Gp(ai,Zt,x),he&&X(0)),i?(tl=i._initted,Ju(1),i.render(i.duration(),!0,!0),yr=Ge(T.a)-fi+kt+Dt,Xi=Math.abs(kt-yr)>1,I&&Xi&&li.splice(li.length-2,2),i.render(0,!0,!0),tl||i.invalidate(!0),i.parent||i.totalTime(i.totalTime()),Ju(0)):yr=kt,or&&(or.value?or.style["overflow"+T.a.toUpperCase()]=or.value:or.style.removeProperty("overflow-"+T.a));else if(d&&X()&&!E)for($t=d.parentNode;$t&&$t!==gt;)$t._pinOffset&&(z-=$t._pinOffset,K-=$t._pinOffset),$t=$t.parentNode;An&&An.forEach(function(Pn){return Pn.revert(!1,!0)}),y.start=z,y.end=K,Kt=xe=he?je:X(),!E&&!he&&(Kt<je&&X(je),y.scroll.rec=0),y.revert(!1,!0),U=de(),qe&&(H=-1,qe.restart(!0)),ie=0,i&&P&&(i._initted||pi)&&i.progress()!==pi&&i.progress(pi||0,!0).render(i.time(),!0,!0),(ne||B!==y.progress||E)&&(i&&!P&&i.totalProgress(E&&z<-.001&&!B?Y.utils.normalize(z,K,0):B,!0),y.progress=ne||(Kt-z)/kt===B?0:B),c&&p&&(Yt._pinOffset=Math.round(y.progress*yr)),at&&at.invalidate(),isNaN(Fn)||(Fn-=Y.getProperty(O,T.p),Ps-=Y.getProperty(Se,T.p),_o(O,T,Fn),_o(xt,T,Fn-(nt||0)),_o(Se,T,Ps),_o(Rt,T,Ps-(nt||0))),ne&&!he&&y.update(),f&&!he&&!ui&&(ui=!0,f(y),ui=!1)}},y.getVelocity=function(){return(X()-xe)/(de()-Do)*1e3||0},y.endAnimation=function(){Qn(y.callbackAnimation),i&&(at?at.progress(1):i.paused()?P||Qn(i,y.direction<0,1):Qn(i,i.reversed()))},y.labelToScroll=function(W){return i&&i.labels&&(z||y.refresh()||z)+i.labels[W]/i.duration()*kt||0},y.getTrailing=function(W){var ut=rt.indexOf(y),j=y.direction>0?rt.slice(0,ut).reverse():rt.slice(ut+1);return(Oe(W)?j.filter(function(nt){return nt.vars.preventOverlaps===W}):j).filter(function(nt){return y.direction>0?nt.end<=z:nt.start>=K})},y.update=function(W,ut,j){if(!(E&&!j&&!W)){var nt=he===!0?je:y.scroll(),zt=W?0:(nt-z)/kt,lt=zt<0?0:zt>1?1:zt||0,Ft=y.progress,ne,Xt,Dt,ht,Ke,vt,be,nr;if(ut&&(xe=Kt,Kt=E?X():nt,C&&(Wr=Vr,Vr=i&&!P?i.totalProgress():lt)),g&&!lt&&c&&!ie&&!uo&&Ve&&z<nt+(nt-xe)/(de()-Do)*g&&(lt=1e-4),lt!==Ft&&y.enabled){if(ne=y.isActive=!!lt&<<1,Xt=!!Ft&&Ft<1,vt=ne!==Xt,Ke=vt||!!lt!=!!Ft,y.direction=lt>Ft?1:-1,y.progress=lt,Ke&&!ie&&(Dt=lt&&!Ft?0:lt===1?1:Ft===1?2:3,P&&(ht=!vt&&L[Dt+1]!=="none"&&L[Dt+1]||L[Dt],nr=i&&(ht==="complete"||ht==="reset"||ht in i))),A&&(vt||nr)&&(nr||_||!i)&&(pe(A)?A(y):y.getTrailing(A).forEach(function(_i){return _i.endAnimation()})),P||(at&&!ie&&!uo?(at._dp._time-at._start!==at._time&&at.render(at._dp._time-at._start),at.resetTo?at.resetTo("totalProgress",lt,i._tTime/i._tDur):(at.vars.totalProgress=lt,at.invalidate().restart())):i&&i.totalProgress(lt,!!(ie&&(U||W)))),c){if(W&&p&&(Yt.style[p+T.os2]=ir),!I)He(ts(fi+yr*lt));else if(Ke){if(be=!W&<>Ft&&K+1>nt&&nt+1>=kr(F,T),x)if(!W&&(ne||be)){var we=Or(c,!0),Gt=nt-z;Uf(c,gt,we.top+(T===Mt?Gt:0)+jt,we.left+(T===Mt?0:Gt)+jt)}else Uf(c,Yt);hn(ne||be?li:Tn),Xi&<<1&&ne||He(fi+(lt===1&&!be?yr:0))}}C&&!ft.tween&&!ie&&!uo&&qe.restart(!0),u&&(vt||m&<&&(lt<1||!ta))&&bo(u.targets).forEach(function(_i){return _i.classList[ne||m?"add":"remove"](u.className)}),o&&!P&&!W&&o(y),Ke&&!ie?(P&&(nr&&(ht==="complete"?i.pause().totalProgress(1):ht==="reset"?i.restart(!0).pause():ht==="restart"?i.restart(!0):i[ht]()),o&&o(y)),(vt||!ta)&&(l&&vt&&ra(y,l),R[Dt]&&ra(y,R[Dt]),m&&(lt===1?y.kill(!1,1):R[Dt]=0),vt||(Dt=lt===1?1:3,R[Dt]&&ra(y,R[Dt]))),S&&!ne&&Math.abs(y.getVelocity())>(vo(S)?S:2500)&&(Qn(y.callbackAnimation),at?at.progress(1):Qn(i,ht==="reverse"?1:!lt,1))):P&&o&&!ie&&o(y)}if(Gi){var $t=E?nt/E.duration()*(E._caScrollDist||0):nt;ci($t+(O._isFlipped?1:0)),Gi($t)}Hi&&Hi(-nt/E.duration()*(E._caScrollDist||0))}},y.enable=function(W,ut){y.enabled||(y.enabled=!0,Wt(F,"resize",es),V||Wt(F,"scroll",un),M&&Wt(s,"refreshInit",M),W!==!1&&(y.progress=B=0,Kt=xe=H=X()),ut!==!1&&y.refresh())},y.getTween=function(W){return W&&ft?ft.tween:at},y.setPositions=function(W,ut,j,nt){if(E){var zt=E.scrollTrigger,lt=E.duration(),Ft=zt.end-zt.start;W=zt.start+Ft*W/lt,ut=zt.start+Ft*ut/lt}y.refresh(!1,!1,{start:If(W,j&&!!y._startClamp),end:If(ut,j&&!!y._endClamp)},nt),y.update()},y.adjustPinSpacing=function(W){if(_e&&W){var ut=_e.indexOf(T.d)+1;_e[ut]=parseFloat(_e[ut])+W+jt,_e[1]=parseFloat(_e[1])+W+jt,hn(_e)}},y.disable=function(W,ut){if(y.enabled&&(W!==!1&&y.revert(!0,!0),y.enabled=y.isActive=!1,ut||at&&at.pause(),je=0,J&&(J.uncache=1),M&&Vt(s,"refreshInit",M),qe&&(qe.pause(),ft.tween&&ft.tween.kill()&&(ft.tween=0)),!V)){for(var j=rt.length;j--;)if(rt[j].scroller===F&&rt[j]!==y)return;Vt(F,"resize",es),V||Vt(F,"scroll",un)}},y.kill=function(W,ut){y.disable(W,ut),at&&!ut&&at.kill(),a&&delete la[a];var j=rt.indexOf(y);j>=0&&rt.splice(j,1),j===ce&&Eo>0&&ce--,j=0,rt.forEach(function(nt){return nt.scroller===y.scroller&&(j=1)}),j||he||(y.scroll.rec=0),i&&(i.scrollTrigger=null,W&&i.revert({kill:!1}),ut||i.kill()),xt&&[xt,Rt,O,Se].forEach(function(nt){return nt.parentNode&&nt.parentNode.removeChild(nt)}),os===y&&(os=0),c&&(J&&(J.uncache=1),j=0,rt.forEach(function(nt){return nt.pin===c&&j++}),j||(J.spacer=0)),r.onKill&&r.onKill(y)},rt.push(y),y.enable(!1,!1),Er&&Er(y),i&&i.add&&!kt){var St=y.update;y.update=function(){y.update=St,z||K||y.refresh()},Y.delayedCall(.01,y.update),kt=.01,z=K=0}else y.refresh();c&&Wp()},s.register=function(r){return an||(Y=r||nc(),ic()&&window.document&&s.enable(),an=Jn),an},s.defaults=function(r){if(r)for(var i in r)co[i]=r[i];return co},s.disable=function(r,i){Jn=0,rt.forEach(function(o){return o[i?"kill":"disable"](r)}),Vt(ot,"wheel",un),Vt(Et,"scroll",un),clearInterval(oo),Vt(Et,"touchcancel",dr),Vt(gt,"touchstart",dr),lo(Vt,Et,"pointerdown,touchstart,mousedown",zf),lo(Vt,Et,"pointerup,touchend,mouseup",Vf),So.kill(),ao(Vt);for(var n=0;n<et.length;n+=3)fo(Vt,et[n],et[n+1]),fo(Vt,et[n],et[n+2])},s.enable=function(){if(ot=window,Et=document,Je=Et.documentElement,gt=Et.body,Y&&(bo=Y.utils.toArray,fn=Y.utils.clamp,ua=Y.core.context||dr,Ju=Y.core.suppressOverwrites||dr,ha=ot.history.scrollRestoration||"auto",fa=ot.pageYOffset,Y.core.globals("ScrollTrigger",s),gt)){Jn=1,cn=document.createElement("div"),cn.style.height="100vh",cn.style.position="absolute",dc(),Lp(),Ot.register(Y),s.isTouch=Ot.isTouch,ti=Ot.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Wt(ot,"wheel",un),Zf=[ot,Et,Je,gt],Y.matchMedia?(s.matchMedia=function(a){var l=Y.matchMedia(),f;for(f in a)l.add(f,a[f]);return l},Y.addEventListener("matchMediaInit",function(){return va()}),Y.addEventListener("matchMediaRevert",function(){return cc()}),Y.addEventListener("matchMedia",function(){Pi(0,1),Ni("matchMedia")}),Y.matchMedia("(orientation: portrait)",function(){return ia(),ia})):console.warn("Requires GSAP 3.11.0 or later"),ia(),Wt(Et,"scroll",un);var r=gt.style,i=r.borderTopStyle,n=Y.core.Animation.prototype,o,u;for(n.revert||Object.defineProperty(n,"revert",{value:function(){return this.time(-.01,!0)}}),r.borderTopStyle="solid",o=Or(gt),Mt.m=Math.round(o.top+Mt.sc())||0,re.m=Math.round(o.left+re.sc())||0,i?r.borderTopStyle=i:r.removeProperty("border-top-style"),oo=setInterval(Xf,250),Y.delayedCall(.5,function(){return uo=0}),Wt(Et,"touchcancel",dr),Wt(gt,"touchstart",dr),lo(Wt,Et,"pointerdown,touchstart,mousedown",zf),lo(Wt,Et,"pointerup,touchend,mouseup",Vf),oa=Y.utils.checkPrefix("transform"),Co.push(oa),an=de(),So=Y.delayedCall(.2,Pi).pause(),ln=[Et,"visibilitychange",function(){var a=ot.innerWidth,l=ot.innerHeight;Et.hidden?(Rf=a,Nf=l):(Rf!==a||Nf!==l)&&es()},Et,"DOMContentLoaded",Pi,ot,"load",Pi,ot,"resize",es],ao(Wt),rt.forEach(function(a){return a.enable(0,1)}),u=0;u<et.length;u+=3)fo(Vt,et[u],et[u+1]),fo(Vt,et[u],et[u+2])}},s.config=function(r){"limitCallbacks"in r&&(ta=!!r.limitCallbacks);var i=r.syncInterval;i&&clearInterval(oo)||(oo=i)&&setInterval(Xf,i),"ignoreMobileResize"in r&&(tc=s.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(ao(Vt)||ao(Wt,r.autoRefreshEvents||"none"),Jf=(r.autoRefreshEvents+"").indexOf("resize")===-1)},s.scrollerProxy=function(r,i){var n=fe(r),o=et.indexOf(n),u=Li(n);~o&&et.splice(o,u?6:2),i&&(u?Qe.unshift(ot,i,gt,i,Je,i):Qe.unshift(n,i))},s.clearMatchMedia=function(r){rt.forEach(function(i){return i._ctx&&i._ctx.query===r&&i._ctx.kill(!0,!0)})},s.isInViewport=function(r,i,n){var o=(Oe(r)?fe(r):r).getBoundingClientRect(),u=o[n?Oi:ki]*i||0;return n?o.right-u>0&&o.left+u<ot.innerWidth:o.bottom-u>0&&o.top+u<ot.innerHeight},s.positionInViewport=function(r,i,n){Oe(r)&&(r=fe(r));var o=r.getBoundingClientRect(),u=o[n?Oi:ki],a=i==null?u/2:i in wo?wo[i]*u:~i.indexOf("%")?parseFloat(i)*u/100:parseFloat(i)||0;return n?(o.left+a)/ot.innerWidth:(o.top+a)/ot.innerHeight},s.killAll=function(r){if(rt.slice(0).forEach(function(n){return n.vars.id!=="ScrollSmoother"&&n.kill()}),r!==!0){var i=Ri.killAll||[];Ri={},i.forEach(function(n){return n()})}},s}();it.version="3.12.2";it.saveStyles=function(s){return s?bo(s).forEach(function(t){if(t&&t.style){var e=Pe.indexOf(t);e>=0&&Pe.splice(e,5),Pe.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),Y.core.getCache(t),ua())}}):Pe};it.revert=function(s,t){return va(!s,t)};it.create=function(s,t){return new it(s,t)};it.refresh=function(s){return s?es():(an||it.register())&&Pi(!0)};it.update=function(s){return++et.cache&&Mr(s===!0?2:0)};it.clearScrollMemory=hc;it.maxScroll=function(s,t){return kr(s,t?re:Mt)};it.getScrollFunc=function(s,t){return Fr(fe(s),t?re:Mt)};it.getById=function(s){return la[s]};it.getAll=function(){return rt.filter(function(s){return s.vars.id!=="ScrollSmoother"})};it.isScrolling=function(){return!!Ve};it.snapDirectional=Da;it.addEventListener=function(s,t){var e=Ri[s]||(Ri[s]=[]);~e.indexOf(t)||e.push(t)};it.removeEventListener=function(s,t){var e=Ri[s],r=e&&e.indexOf(t);r>=0&&e.splice(r,1)};it.batch=function(s,t){var e=[],r={},i=t.interval||.016,n=t.batchMax||1e9,o=function(l,f){var _=[],d=[],c=Y.delayedCall(i,function(){f(_,d),_=[],d=[]}).pause();return function(p){_.length||c.restart(!0),_.push(p.trigger),d.push(p),n<=_.length&&c.progress(1)}},u;for(u in t)r[u]=u.substr(0,2)==="on"&&pe(t[u])&&u!=="onRefreshInit"?o(u,t[u]):t[u];return pe(n)&&(n=n(),Wt(it,"refresh",function(){return n=t.batchMax()})),bo(s).forEach(function(a){var l={};for(u in r)l[u]=r[u];l.trigger=a,e.push(it.create(l))}),e};var jf=function(t,e,r,i){return e>i?t(i):e<0&&t(0),r>i?(i-e)/(r-e):r<0?e/(e-r):1},sa=function s(t,e){e===!0?t.style.removeProperty("touch-action"):t.style.touchAction=e===!0?"auto":e?"pan-"+e+(Ot.isTouch?" pinch-zoom":""):"none",t===Je&&s(gt,e)},go={auto:1,scroll:1},Up=function(t){var e=t.event,r=t.target,i=t.axis,n=(e.changedTouches?e.changedTouches[0]:e).target,o=n._gsap||Y.core.getCache(n),u=de(),a;if(!o._isScrollT||u-o._isScrollT>2e3){for(;n&&n!==gt&&(n.scrollHeight<=n.clientHeight&&n.scrollWidth<=n.clientWidth||!(go[(a=ze(n)).overflowY]||go[a.overflowX]));)n=n.parentNode;o._isScroll=n&&n!==r&&!Li(n)&&(go[(a=ze(n)).overflowY]||go[a.overflowX]),o._isScrollT=u}(o._isScroll||i==="x")&&(e.stopPropagation(),e._gsapAllow=!0)},_c=function(t,e,r,i){return Ot.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:e,onWheel:i=i&&Up,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return r&&Wt(Et,Ot.eventTypes[0],$f,!1,!0)},onDisable:function(){return Vt(Et,Ot.eventTypes[0],$f,!0)}})},qp=/(input|label|select|textarea)/i,Kf,$f=function(t){var e=qp.test(t.target.tagName);(e||Kf)&&(t._gsapAllow=!0,Kf=e)},jp=function(t){Fi(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,i=e.momentum,n=e.allowNestedScroll,o=e.onRelease,u,a,l=fe(t.target)||Je,f=Y.core.globals().ScrollSmoother,_=f&&f.get(),d=ti&&(t.content&&fe(t.content)||_&&t.content!==!1&&!_.smooth()&&_.content()),c=Fr(l,Mt),p=Fr(l,re),h=1,g=(Ot.isTouch&&ot.visualViewport?ot.visualViewport.scale*ot.visualViewport.width:ot.outerWidth)/ot.innerWidth,v=0,D=pe(i)?function(){return i(u)}:function(){return i||2.8},m,C,x=_c(l,t.type,!0,n),b=function(){return C=!1},E=dr,S=dr,A=function(){a=kr(l,Mt),S=fn(ti?1:0,a),r&&(E=fn(0,kr(l,re))),m=Mi},T=function(){d._gsap.y=ts(parseFloat(d._gsap.y)+c.offset)+"px",d.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(d._gsap.y)+", 0, 1)",c.offset=c.cacheID=0},P=function(){if(C){requestAnimationFrame(b);var N=ts(u.deltaY/2),w=S(c.v-N);if(d&&w!==c.v+c.offset){c.offset=w-c.v;var y=ts((parseFloat(d&&d._gsap.y)||0)-c.offset);d.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+y+", 0, 1)",d._gsap.y=y+"px",c.cacheID=et.cache,Mr()}return!0}c.offset&&T(),C=!0},F,k,V,I,R=function(){A(),F.isActive()&&F.vars.scrollY>a&&(c()>a?F.progress(1)&&c(a):F.resetTo("scrollY",a))};return d&&Y.set(d,{y:"+=0"}),t.ignoreCheck=function(L){return ti&&L.type==="touchmove"&&P(L)||h>1.05&&L.type!=="touchstart"||u.isGesturing||L.touches&&L.touches.length>1},t.onPress=function(){C=!1;var L=h;h=ts((ot.visualViewport&&ot.visualViewport.scale||1)/g),F.pause(),L!==h&&sa(l,h>1.01?!0:r?!1:"x"),k=p(),V=c(),A(),m=Mi},t.onRelease=t.onGestureStart=function(L,N){if(c.offset&&T(),!N)I.restart(!0);else{et.cache++;var w=D(),y,M;r&&(y=p(),M=y+w*.05*-L.velocityX/.227,w*=jf(p,y,M,kr(l,re)),F.vars.scrollX=E(M)),y=c(),M=y+w*.05*-L.velocityY/.227,w*=jf(c,y,M,kr(l,Mt)),F.vars.scrollY=S(M),F.invalidate().duration(w).play(.01),(ti&&F.vars.scrollY>=a||y>=a-1)&&Y.to({},{onUpdate:R,duration:w})}o&&o(L)},t.onWheel=function(){F._ts&&F.pause(),de()-v>1e3&&(m=0,v=de())},t.onChange=function(L,N,w,y,M){if(Mi!==m&&A(),N&&r&&p(E(y[2]===N?k+(L.startX-L.x):p()+N-y[1])),w){c.offset&&T();var G=M[2]===w,Z=G?V+L.startY-L.y:c()+w-M[1],H=S(Z);G&&Z!==H&&(V+=H-Z),c(H)}(w||N)&&Mr()},t.onEnable=function(){sa(l,r?!1:"x"),it.addEventListener("refresh",R),Wt(ot,"resize",R),c.smooth&&(c.target.style.scrollBehavior="auto",c.smooth=p.smooth=!1),x.enable()},t.onDisable=function(){sa(l,!0),Vt(ot,"resize",R),it.removeEventListener("refresh",R),x.kill()},t.lockAxis=t.lockAxis!==!1,u=new Ot(t),u.iOS=ti,ti&&!c()&&c(1),ti&&Y.ticker.add(dr),I=u._dc,F=Y.to(u,{ease:"power4",paused:!0,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:pc(c,c(),function(){return F.pause()})},onUpdate:Mr,onComplete:I.vars.onComplete}),u};it.sort=function(s){return rt.sort(s||function(t,e){return(t.vars.refreshPriority||0)*-1e6+t.start-(e.start+(e.vars.refreshPriority||0)*-1e6)})};it.observe=function(s){return new Ot(s)};it.normalizeScroll=function(s){if(typeof s=="undefined")return Fe;if(s===!0&&Fe)return Fe.enable();if(s===!1)return Fe&&Fe.kill();var t=s instanceof Ot?s:jp(s);return Fe&&Fe.target===t.target&&Fe.kill(),Li(t.target)&&(Fe=t),t};it.core={_getVelocityProp:so,_inputObserver:_c,_scrollers:et,_proxies:Qe,bridge:{ss:function(){Ve||Ni("scrollStart"),Ve=de()},ref:function(){return ie}}};nc()&&Y.registerPlugin(it);var gc=/([\uD800-\uDBFF][\uDC00-\uDFFF](?:[\u200D\uFE0F][\uD800-\uDBFF][\uDC00-\uDFFF]){2,}|\uD83D\uDC69(?:\u200D(?:(?:\uD83D\uDC69\u200D)?\uD83D\uDC67|(?:\uD83D\uDC69\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]\uFE0F|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC6F\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3C-\uDD3E\uDDD6-\uDDDF])\u200D[\u2640\u2642]\uFE0F|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F\u200D[\u2640\u2642]|(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642])\uFE0F|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\uD83D\uDC69\u200D[\u2695\u2696\u2708]|\uD83D\uDC68(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708]))\uFE0F|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83D\uDC69\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|\uD83D\uDC68(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]))|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDD1-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\u200D(?:(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDD1-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])?|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDEEB\uDEEC\uDEF4-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267B\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])\uFE0F)/;function ma(s){var t=s.nodeType,e="";if(t===1||t===9||t===11){if(typeof s.textContent=="string")return s.textContent;for(s=s.firstChild;s;s=s.nextSibling)e+=ma(s)}else if(t===3||t===4)return s.nodeValue;return e}var pn,Ea,mc,as,yc,Ao,Kp=/(?:\r|\n|\t\t)/g,$p=/(?:\s\s+)/g,Ec=function(t){pn=document,Ea=window,as=as||t||Ea.gsap||console.warn("Please gsap.registerPlugin(SplitText)"),as&&(Ao=as.utils.toArray,yc=as.core.context||function(){},mc=1)},Zp=1,Cc=function(t){return Ea.getComputedStyle(t)},Ca=function(t){return t.position==="absolute"||t.absolute===!0},Qp=function(t,e){for(var r=e.length,i;--r>-1;)if(i=e[r],t.substr(0,i.length)===i)return i.length},Jp=" style='position:relative;display:inline-block;'",Dc=function(t,e){t===void 0&&(t="");var r=~t.indexOf("++"),i=1;return r&&(t=t.split("++").join("")),function(){return"<"+e+Jp+(t?" class='"+t+(r?i++:"")+"'>":">")}},xc=function s(t,e,r){var i=t.nodeType;if(i===1||i===9||i===11)for(t=t.firstChild;t;t=t.nextSibling)s(t,e,r);else(i===3||i===4)&&(t.nodeValue=t.nodeValue.split(e).join(r))},ya=function(t,e){for(var r=e.length;--r>-1;)t.push(e[r])},vc=function(t,e,r){for(var i;t&&t!==e;){if(i=t._next||t.nextSibling,i)return i.textContent.charAt(0)===r;t=t.parentNode||t._parent}},t_=function s(t){var e=Ao(t.childNodes),r=e.length,i,n;for(i=0;i<r;i++)n=e[i],n._isSplit?s(n):i&&n.previousSibling&&n.previousSibling.nodeType===3?(n.previousSibling.nodeValue+=n.nodeType===3?n.nodeValue:n.firstChild.nodeValue,t.removeChild(n)):n.nodeType!==3&&(t.insertBefore(n.firstChild,n),t.removeChild(n))},pr=function(t,e){return parseFloat(e[t])||0},e_=function(t,e,r,i,n,o,u){var a=Cc(t),l=pr("paddingLeft",a),f=-999,_=pr("borderBottomWidth",a)+pr("borderTopWidth",a),d=pr("borderLeftWidth",a)+pr("borderRightWidth",a),c=pr("paddingTop",a)+pr("paddingBottom",a),p=pr("paddingLeft",a)+pr("paddingRight",a),h=pr("fontSize",a)*(e.lineThreshold||.2),g=a.textAlign,v=[],D=[],m=[],C=e.wordDelimiter||" ",x=e.tag?e.tag:e.span?"span":"div",b=e.type||e.split||"chars,words,lines",E=n&&~b.indexOf("lines")?[]:null,S=~b.indexOf("words"),A=~b.indexOf("chars"),T=Ca(e),P=e.linesClass,F=~(P||"").indexOf("++"),k=[],V=a.display==="flex",I=t.style.display,R,L,N,w,y,M,G,Z,H,U,B,X;for(F&&(P=P.split("++").join("")),V&&(t.style.display="block"),L=t.getElementsByTagName("*"),N=L.length,y=[],R=0;R<N;R++)y[R]=L[R];if(E||T)for(R=0;R<N;R++)w=y[R],M=w.parentNode===t,(M||T||A&&!S)&&(X=w.offsetTop,E&&M&&Math.abs(X-f)>h&&(w.nodeName!=="BR"||R===0)&&(G=[],E.push(G),f=X),T&&(w._x=w.offsetLeft,w._y=X,w._w=w.offsetWidth,w._h=w.offsetHeight),E&&((w._isSplit&&M||!A&&M||S&&M||!S&&w.parentNode.parentNode===t&&!w.parentNode._isSplit)&&(G.push(w),w._x-=l,vc(w,t,C)&&(w._wordEnd=!0)),w.nodeName==="BR"&&(w.nextSibling&&w.nextSibling.nodeName==="BR"||R===0)&&E.push([])));for(R=0;R<N;R++){if(w=y[R],M=w.parentNode===t,w.nodeName==="BR"){E||T?(w.parentNode&&w.parentNode.removeChild(w),y.splice(R--,1),N--):S||t.appendChild(w);continue}if(T&&(H=w.style,!S&&!M&&(w._x+=w.parentNode._x,w._y+=w.parentNode._y),H.left=w._x+"px",H.top=w._y+"px",H.position="absolute",H.display="block",H.width=w._w+1+"px",H.height=w._h+"px"),!S&&A)if(w._isSplit)for(w._next=L=w.nextSibling,w.parentNode.appendChild(w);L&&L.nodeType===3&&L.textContent===" ";)w._next=L.nextSibling,w.parentNode.appendChild(L),L=L.nextSibling;else w.parentNode._isSplit?(w._parent=w.parentNode,!w.previousSibling&&w.firstChild&&(w.firstChild._isFirst=!0),w.nextSibling&&w.nextSibling.textContent===" "&&!w.nextSibling.nextSibling&&k.push(w.nextSibling),w._next=w.nextSibling&&w.nextSibling._isFirst?null:w.nextSibling,w.parentNode.removeChild(w),y.splice(R--,1),N--):M||(X=!w.nextSibling&&vc(w.parentNode,t,C),w.parentNode._parent&&w.parentNode._parent.appendChild(w),X&&w.parentNode.appendChild(pn.createTextNode(" ")),x==="span"&&(w.style.display="inline"),v.push(w));else w.parentNode._isSplit&&!w._isSplit&&w.innerHTML!==""?D.push(w):A&&!w._isSplit&&(x==="span"&&(w.style.display="inline"),v.push(w))}for(R=k.length;--R>-1;)k[R].parentNode.removeChild(k[R]);if(E){for(T&&(U=pn.createElement(x),t.appendChild(U),B=U.offsetWidth+"px",X=U.offsetParent===t?0:t.offsetLeft,t.removeChild(U)),H=t.style.cssText,t.style.cssText="display:none;";t.firstChild;)t.removeChild(t.firstChild);for(Z=C===" "&&(!T||!S&&!A),R=0;R<E.length;R++){for(G=E[R],U=pn.createElement(x),U.style.cssText="display:block;text-align:"+g+";position:"+(T?"absolute;":"relative;"),P&&(U.className=P+(F?R+1:"")),m.push(U),N=G.length,L=0;L<N;L++)G[L].nodeName!=="BR"&&(w=G[L],U.appendChild(w),Z&&w._wordEnd&&U.appendChild(pn.createTextNode(" ")),T&&(L===0&&(U.style.top=w._y+"px",U.style.left=l+X+"px"),w.style.top="0px",X&&(w.style.left=w._x-X+"px")));N===0?U.innerHTML=" ":!S&&!A&&(t_(U),xc(U,String.fromCharCode(160)," ")),T&&(U.style.width=B,U.style.height=w._h+"px"),t.appendChild(U)}t.style.cssText=H}T&&(u>t.clientHeight&&(t.style.height=u-c+"px",t.clientHeight<u&&(t.style.height=u+_+"px")),o>t.clientWidth&&(t.style.width=o-p+"px",t.clientWidth<o&&(t.style.width=o+d+"px"))),V&&(I?t.style.display=I:t.style.removeProperty("display")),ya(r,v),S&&ya(i,D),ya(n,m)},r_=function(t,e,r,i){var n=e.tag?e.tag:e.span?"span":"div",o=e.type||e.split||"chars,words,lines",u=~o.indexOf("chars"),a=Ca(e),l=e.wordDelimiter||" ",f=l!==" "?"":a?"­ ":" ",_="</"+n+">",d=1,c=e.specialChars?typeof e.specialChars=="function"?e.specialChars:Qp:null,p,h,g,v,D,m,C,x,b=pn.createElement("div"),E=t.parentNode;for(E.insertBefore(b,t),b.textContent=t.nodeValue,E.removeChild(t),t=b,p=ma(t),C=p.indexOf("<")!==-1,e.reduceWhiteSpace!==!1&&(p=p.replace($p," ").replace(Kp,"")),C&&(p=p.split("<").join("{{LT}}")),D=p.length,h=(p.charAt(0)===" "?f:"")+r(),g=0;g<D;g++)if(m=p.charAt(g),c&&(x=c(p.substr(g),e.specialChars)))m=p.substr(g,x||1),h+=u&&m!==" "?i()+m+"</"+n+">":m,g+=x-1;else if(m===l&&p.charAt(g-1)!==l&&g){for(h+=d?_:"",d=0;p.charAt(g+1)===l;)h+=f,g++;g===D-1?h+=f:p.charAt(g+1)!==")"&&(h+=f+r(),d=1)}else m==="{"&&p.substr(g,6)==="{{LT}}"?(h+=u?i()+"{{LT}}</"+n+">":"{{LT}}",g+=5):m.charCodeAt(0)>=55296&&m.charCodeAt(0)<=56319||p.charCodeAt(g+1)>=65024&&p.charCodeAt(g+1)<=65039?(v=((p.substr(g,12).split(gc)||[])[1]||"").length||2,h+=u&&m!==" "?i()+p.substr(g,v)+"</"+n+">":p.substr(g,v),g+=v-1):h+=u&&m!==" "?i()+m+"</"+n+">":m;t.outerHTML=h+(d?_:""),C&&xc(E,"{{LT}}","<")},i_=function s(t,e,r,i){var n=Ao(t.childNodes),o=n.length,u=Ca(e),a,l;if(t.nodeType!==3||o>1){for(e.absolute=!1,a=0;a<o;a++)l=n[a],l._next=l._isFirst=l._parent=l._wordEnd=null,(l.nodeType!==3||/\S+/.test(l.nodeValue))&&(u&&l.nodeType!==3&&Cc(l).display==="inline"&&(l.style.display="inline-block",l.style.position="relative"),l._isSplit=!0,s(l,e,r,i));e.absolute=u,t._isSplit=!0;return}r_(t,e,r,i)},_n=function(){function s(e,r){mc||Ec(),this.elements=Ao(e),this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=r||{},yc(this),Zp&&this.split(r)}var t=s.prototype;return t.split=function(r){this.isSplit&&this.revert(),this.vars=r=r||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var i=this.elements.length,n=r.tag?r.tag:r.span?"span":"div",o=Dc(r.wordsClass,n),u=Dc(r.charsClass,n),a,l,f;--i>-1;)f=this.elements[i],this._originals[i]=f.innerHTML,a=f.clientHeight,l=f.clientWidth,i_(f,r,o,u),e_(f,r,this.chars,this.words,this.lines,l,a);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this},t.revert=function(){var r=this._originals;if(!r)throw"revert() call wasn't scoped properly.";return this.elements.forEach(function(i,n){return i.innerHTML=r[n]}),this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},s.create=function(r,i){return new s(r,i)},s}();_n.version="3.12.2";_n.register=Ec;var Ph=Ih(Sc(),1);function bc(s,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(s,r.key,r)}}function n_(s,t,e){return t&&bc(s.prototype,t),e&&bc(s,e),Object.defineProperty(s,"prototype",{writable:!1}),s}var wc="(prefers-reduced-motion: reduce)",vn=1,s_=2,En=3,xn=4,ms=5,Po=6,Lo=7,o_={CREATED:vn,MOUNTED:s_,IDLE:En,MOVING:xn,SCROLLING:ms,DRAGGING:Po,DESTROYED:Lo};function Ir(s){s.length=0}function si(s,t,e){return Array.prototype.slice.call(s,t,e)}function _t(s){return s.bind.apply(s,[null].concat(si(arguments,1)))}var Vc=setTimeout,Fa=function(){};function Tc(s){return requestAnimationFrame(s)}function Io(s,t){return typeof t===s}function cs(s){return!Na(s)&&Io("object",s)}var Ra=Array.isArray,Wc=_t(Io,"function"),ri=_t(Io,"string"),ys=_t(Io,"undefined");function Na(s){return s===null}function Yc(s){try{return s instanceof(s.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function Es(s){return Ra(s)?s:[s]}function Xe(s,t){Es(s).forEach(t)}function Ba(s,t){return s.indexOf(t)>-1}function Oo(s,t){return s.push.apply(s,Es(t)),s}function Rr(s,t,e){s&&Xe(t,function(r){r&&s.classList[e?"add":"remove"](r)})}function _r(s,t){Rr(s,ri(t)?t.split(" "):t,!0)}function Cs(s,t){Xe(t,s.appendChild.bind(s))}function Ia(s,t){Xe(s,function(e){var r=(t||e).parentNode;r&&r.insertBefore(e,t)})}function hs(s,t){return Yc(s)&&(s.msMatchesSelector||s.matches).call(s,t)}function Xc(s,t){var e=s?si(s.children):[];return t?e.filter(function(r){return hs(r,t)}):e}function xs(s,t){return t?Xc(s,t)[0]:s.firstElementChild}var ds=Object.keys;function Ii(s,t,e){return s&&(e?ds(s).reverse():ds(s)).forEach(function(r){r!=="__proto__"&&t(s[r],r)}),s}function ps(s){return si(arguments,1).forEach(function(t){Ii(t,function(e,r){s[r]=t[r]})}),s}function ei(s){return si(arguments,1).forEach(function(t){Ii(t,function(e,r){Ra(e)?s[r]=e.slice():cs(e)?s[r]=ei({},cs(s[r])?s[r]:{},e):s[r]=e})}),s}function Ac(s,t){Xe(t||ds(s),function(e){delete s[e]})}function gr(s,t){Xe(s,function(e){Xe(t,function(r){e&&e.removeAttribute(r)})})}function Q(s,t,e){cs(t)?Ii(t,function(r,i){Q(s,i,r)}):Xe(s,function(r){Na(e)||e===""?gr(r,t):r.setAttribute(t,String(e))})}function mn(s,t,e){var r=document.createElement(s);return t&&(ri(t)?_r(r,t):Q(r,t)),e&&Cs(e,r),r}function tr(s,t,e){if(ys(e))return getComputedStyle(s)[t];Na(e)||(s.style[t]=""+e)}function _s(s,t){tr(s,"display",t)}function Gc(s){s.setActive&&s.setActive()||s.focus({preventScroll:!0})}function er(s,t){return s.getAttribute(t)}function Fc(s,t){return s&&s.classList.contains(t)}function We(s){return s.getBoundingClientRect()}function zi(s){Xe(s,function(t){t&&t.parentNode&&t.parentNode.removeChild(t)})}function Hc(s){return xs(new DOMParser().parseFromString(s,"text/html").body)}function Lr(s,t){s.preventDefault(),t&&(s.stopPropagation(),s.stopImmediatePropagation())}function Uc(s,t){return s&&s.querySelector(t)}function za(s,t){return t?si(s.querySelectorAll(t)):[]}function Nr(s,t){Rr(s,t,!1)}function Pa(s){return s.timeStamp}function Bi(s){return ri(s)?s:s?s+"px":""}var Ss="splide",Va="data-"+Ss;function ls(s,t){if(!s)throw new Error("["+Ss+"] "+(t||""))}var ii=Math.min,Ro=Math.max,No=Math.floor,gs=Math.ceil,Ee=Math.abs;function qc(s,t,e){return Ee(s-t)<e}function ko(s,t,e,r){var i=ii(t,e),n=Ro(t,e);return r?i<s&&s<n:i<=s&&s<=n}function gn(s,t,e){var r=ii(t,e),i=Ro(t,e);return ii(Ro(r,s),i)}function Oa(s){return+(s>0)-+(s<0)}function ka(s,t){return Xe(t,function(e){s=s.replace("%s",""+e)}),s}function Wa(s){return s<10?"0"+s:""+s}var Pc={};function u_(s){return""+s+Wa(Pc[s]=(Pc[s]||0)+1)}function jc(){var s=[];function t(o,u,a,l){i(o,u,function(f,_,d){var c="addEventListener"in f,p=c?f.removeEventListener.bind(f,_,a,l):f.removeListener.bind(f,a);c?f.addEventListener(_,a,l):f.addListener(a),s.push([f,_,d,a,p])})}function e(o,u,a){i(o,u,function(l,f,_){s=s.filter(function(d){return d[0]===l&&d[1]===f&&d[2]===_&&(!a||d[3]===a)?(d[4](),!1):!0})})}function r(o,u,a){var l,f=!0;return typeof CustomEvent=="function"?l=new CustomEvent(u,{bubbles:f,detail:a}):(l=document.createEvent("CustomEvent"),l.initCustomEvent(u,f,!1,a)),o.dispatchEvent(l),l}function i(o,u,a){Xe(o,function(l){l&&Xe(u,function(f){f.split(" ").forEach(function(_){var d=_.split(".");a(l,d[0],d[1])})})})}function n(){s.forEach(function(o){o[4]()}),Ir(s)}return{bind:t,unbind:e,dispatch:r,destroy:n}}var Wi="mounted",Oc="ready",ni="move",bs="moved",Kc="click",a_="active",l_="inactive",f_="visible",c_="hidden",It="refresh",Ce="updated",Ds="resize",Ya="resized",h_="drag",d_="dragging",p_="dragged",Xa="scroll",Sn="scrolled",__="overflow",$c="destroy",g_="arrows:mounted",D_="arrows:updated",v_="pagination:mounted",m_="pagination:updated",Zc="navigation:mounted",Qc="autoplay:play",y_="autoplay:playing",Jc="autoplay:pause",th="lazyload:loaded",eh="sk",rh="sh",Bo="ei";function Ct(s){var t=s?s.event.bus:document.createDocumentFragment(),e=jc();function r(n,o){e.bind(t,Es(n).join(" "),function(u){o.apply(o,Ra(u.detail)?u.detail:[])})}function i(n){e.dispatch(t,n,si(arguments,1))}return s&&s.event.on($c,e.destroy),ps(e,{bus:t,on:r,off:_t(e.unbind,t),emit:i})}function zo(s,t,e,r){var i=Date.now,n,o=0,u,a=!0,l=0;function f(){if(!a){if(o=s?ii((i()-n)/s,1):1,e&&e(o),o>=1&&(t(),n=i(),r&&++l>=r))return d();u=Tc(f)}}function _(v){v||p(),n=i()-(v?o*s:0),a=!1,u=Tc(f)}function d(){a=!0}function c(){n=i(),o=0,e&&e(o)}function p(){u&&cancelAnimationFrame(u),o=0,u=0,a=!0}function h(v){s=v}function g(){return a}return{start:_,rewind:c,pause:d,cancel:p,set:h,isPaused:g}}function E_(s){var t=s;function e(i){t=i}function r(i){return Ba(Es(i),t)}return{set:e,is:r}}function C_(s,t){var e=zo(t||0,s,null,1);return function(){e.isPaused()&&e.start()}}function x_(s,t,e){var r=s.state,i=e.breakpoints||{},n=e.reducedMotion||{},o=jc(),u=[];function a(){var p=e.mediaQuery==="min";ds(i).sort(function(h,g){return p?+h-+g:+g-+h}).forEach(function(h){f(i[h],"("+(p?"min":"max")+"-width:"+h+"px)")}),f(n,wc),_()}function l(p){p&&o.destroy()}function f(p,h){var g=matchMedia(h);o.bind(g,"change",_),u.push([p,g])}function _(){var p=r.is(Lo),h=e.direction,g=u.reduce(function(v,D){return ei(v,D[1].matches?D[0]:{})},{});Ac(e),c(g),e.destroy?s.destroy(e.destroy==="completely"):p?(l(!0),s.mount()):h!==e.direction&&s.refresh()}function d(p){matchMedia(wc).matches&&(p?ei(e,n):Ac(e,ds(n)))}function c(p,h,g){ei(e,p),h&&ei(Object.getPrototypeOf(e),p),(g||!r.is(vn))&&s.emit(Ce,e)}return{setup:a,destroy:l,reduce:d,set:c}}var Vo="Arrow",Wo=Vo+"Left",Yo=Vo+"Right",ih=Vo+"Up",nh=Vo+"Down";var kc="rtl",Xo="ttb",ba={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[ih,Yo],ArrowRight:[nh,Wo]};function S_(s,t,e){function r(n,o,u){u=u||e.direction;var a=u===kc&&!o?1:u===Xo?0:-1;return ba[n]&&ba[n][a]||n.replace(/width|left|right/i,function(l,f){var _=ba[l.toLowerCase()][a]||l;return f>0?_.charAt(0).toUpperCase()+_.slice(1):_})}function i(n){return n*(e.direction===kc?1:-1)}return{resolve:r,orient:i}}var Br="role",yn="tabindex",b_="disabled",rr="aria-",ws=rr+"controls",sh=rr+"current",Mc=rr+"selected",Ye=rr+"label",Ga=rr+"labelledby",oh=rr+"hidden",Ha=rr+"orientation",vs=rr+"roledescription",Lc=rr+"live",Rc=rr+"busy",Nc=rr+"atomic",Ua=[Br,yn,b_,ws,sh,Ye,Ga,oh,Ha,vs],Dr=Ss+"__",oi="is-",wa=Ss,Bc=Dr+"track",w_=Dr+"list",Go=Dr+"slide",uh=Go+"--clone",T_=Go+"__container",qa=Dr+"arrows",Ho=Dr+"arrow",ah=Ho+"--prev",lh=Ho+"--next",Uo=Dr+"pagination",fh=Uo+"__page",A_=Dr+"progress",F_=A_+"__bar",ja=Dr+"toggle",rg=ja+"__play",ig=ja+"__pause",P_=Dr+"spinner",O_=Dr+"sr",k_=oi+"initialized",Vi=oi+"active",ch=oi+"prev",hh=oi+"next",Ma=oi+"visible",La=oi+"loading",dh=oi+"focus-in",ph=oi+"overflow",M_=[Vi,Ma,ch,hh,La,dh,ph],L_={slide:Go,clone:uh,arrows:qa,arrow:Ho,prev:ah,next:lh,pagination:Uo,page:fh,spinner:P_};function R_(s,t){if(Wc(s.closest))return s.closest(t);for(var e=s;e&&e.nodeType===1&&!hs(e,t);)e=e.parentElement;return e}var N_=5,Ic=200,_h="touchstart mousedown",Ta="touchmove mousemove",Aa="touchend touchcancel mouseup click";function B_(s,t,e){var r=Ct(s),i=r.on,n=r.bind,o=s.root,u=e.i18n,a={},l=[],f=[],_=[],d,c,p;function h(){m(),C(),D()}function g(){i(It,v),i(It,h),i(Ce,D),n(document,_h+" keydown",function(E){p=E.type==="keydown"},{capture:!0}),n(o,"focusin",function(){Rr(o,dh,!!p)})}function v(E){var S=Ua.concat("style");Ir(l),Nr(o,f),Nr(d,_),gr([d,c],S),gr(o,E?S:["style",vs])}function D(){Nr(o,f),Nr(d,_),f=b(wa),_=b(Bc),_r(o,f),_r(d,_),Q(o,Ye,e.label),Q(o,Ga,e.labelledby)}function m(){d=x("."+Bc),c=xs(d,"."+w_),ls(d&&c,"A track/list element is missing."),Oo(l,Xc(c,"."+Go+":not(."+uh+")")),Ii({arrows:qa,pagination:Uo,prev:ah,next:lh,bar:F_,toggle:ja},function(E,S){a[S]=x("."+E)}),ps(a,{root:o,track:d,list:c,slides:l})}function C(){var E=o.id||u_(Ss),S=e.role;o.id=E,d.id=d.id||E+"-track",c.id=c.id||E+"-list",!er(o,Br)&&o.tagName!=="SECTION"&&S&&Q(o,Br,S),Q(o,vs,u.carousel),Q(c,Br,"presentation")}function x(E){var S=Uc(o,E);return S&&R_(S,"."+wa)===o?S:void 0}function b(E){return[E+"--"+e.type,E+"--"+e.direction,e.drag&&E+"--draggable",e.isNavigation&&E+"--nav",E===wa&&Vi]}return ps(a,{setup:h,mount:g,destroy:v})}var Cn="slide",bn="loop",Ts="fade";function I_(s,t,e,r){var i=Ct(s),n=i.on,o=i.emit,u=i.bind,a=s.Components,l=s.root,f=s.options,_=f.isNavigation,d=f.updateOnMove,c=f.i18n,p=f.pagination,h=f.slideFocus,g=a.Direction.resolve,v=er(r,"style"),D=er(r,Ye),m=e>-1,C=xs(r,"."+T_),x;function b(){m||(r.id=l.id+"-slide"+Wa(t+1),Q(r,Br,p?"tabpanel":"group"),Q(r,vs,c.slide),Q(r,Ye,D||ka(c.slideLabel,[t+1,s.length]))),E()}function E(){u(r,"click",_t(o,Kc,N)),u(r,"keydown",_t(o,eh,N)),n([bs,rh,Sn],P),n(Zc,A),d&&n(ni,T)}function S(){x=!0,i.destroy(),Nr(r,M_),gr(r,Ua),Q(r,"style",v),Q(r,Ye,D||"")}function A(){var w=s.splides.map(function(y){var M=y.splide.Components.Slides.getAt(t);return M?M.slide.id:""}).join(" ");Q(r,Ye,ka(c.slideX,(m?e:t)+1)),Q(r,ws,w),Q(r,Br,h?"button":""),h&&gr(r,vs)}function T(){x||P()}function P(){if(!x){var w=s.index;F(),k(),Rr(r,ch,t===w-1),Rr(r,hh,t===w+1)}}function F(){var w=I();w!==Fc(r,Vi)&&(Rr(r,Vi,w),Q(r,sh,_&&w||""),o(w?a_:l_,N))}function k(){var w=R(),y=!w&&(!I()||m);if(s.state.is([xn,ms])||Q(r,oh,y||""),Q(za(r,f.focusableNodes||""),yn,y?-1:""),h&&Q(r,yn,y?-1:0),w!==Fc(r,Ma)&&(Rr(r,Ma,w),o(w?f_:c_,N)),!w&&document.activeElement===r){var M=a.Slides.getAt(s.index);M&&Gc(M.slide)}}function V(w,y,M){tr(M&&C||r,w,y)}function I(){var w=s.index;return w===t||f.cloneStatus&&w===e}function R(){if(s.is(Ts))return I();var w=We(a.Elements.track),y=We(r),M=g("left",!0),G=g("right",!0);return No(w[M])<=gs(y[M])&&No(y[G])<=gs(w[G])}function L(w,y){var M=Ee(w-t);return!m&&(f.rewind||s.is(bn))&&(M=ii(M,s.length-M)),M<=y}var N={index:t,slideIndex:e,slide:r,container:C,isClone:m,mount:b,destroy:S,update:P,style:V,isWithin:L};return N}function z_(s,t,e){var r=Ct(s),i=r.on,n=r.emit,o=r.bind,u=t.Elements,a=u.slides,l=u.list,f=[];function _(){d(),i(It,c),i(It,d)}function d(){a.forEach(function(P,F){h(P,F,-1)})}function c(){x(function(P){P.destroy()}),Ir(f)}function p(){x(function(P){P.update()})}function h(P,F,k){var V=I_(s,F,k,P);V.mount(),f.push(V),f.sort(function(I,R){return I.index-R.index})}function g(P){return P?b(function(F){return!F.isClone}):f}function v(P){var F=t.Controller,k=F.toIndex(P),V=F.hasFocus()?1:e.perPage;return b(function(I){return ko(I.index,k,k+V-1)})}function D(P){return b(P)[0]}function m(P,F){Xe(P,function(k){if(ri(k)&&(k=Hc(k)),Yc(k)){var V=a[F];V?Ia(k,V):Cs(l,k),_r(k,e.classes.slide),S(k,_t(n,Ds))}}),n(It)}function C(P){zi(b(P).map(function(F){return F.slide})),n(It)}function x(P,F){g(F).forEach(P)}function b(P){return f.filter(Wc(P)?P:function(F){return ri(P)?hs(F.slide,P):Ba(Es(P),F.index)})}function E(P,F,k){x(function(V){V.style(P,F,k)})}function S(P,F){var k=za(P,"img"),V=k.length;V?k.forEach(function(I){o(I,"load error",function(){--V||F()})}):F()}function A(P){return P?a.length:f.length}function T(){return f.length>e.perPage}return{mount:_,destroy:c,update:p,register:h,get:g,getIn:v,getAt:D,add:m,remove:C,forEach:x,filter:b,style:E,getLength:A,isEnough:T}}function V_(s,t,e){var r=Ct(s),i=r.on,n=r.bind,o=r.emit,u=t.Slides,a=t.Direction.resolve,l=t.Elements,f=l.root,_=l.track,d=l.list,c=u.getAt,p=u.style,h,g,v;function D(){m(),n(window,"resize load",C_(_t(o,Ds))),i([Ce,It],m),i(Ds,C)}function m(){h=e.direction===Xo,tr(f,"maxWidth",Bi(e.width)),tr(_,a("paddingLeft"),x(!1)),tr(_,a("paddingRight"),x(!0)),C(!0)}function C(N){var w=We(f);(N||g.width!==w.width||g.height!==w.height)&&(tr(_,"height",b()),p(a("marginRight"),Bi(e.gap)),p("width",S()),p("height",A(),!0),g=w,o(Ya),v!==(v=L())&&(Rr(f,ph,v),o(__,v)))}function x(N){var w=e.padding,y=a(N?"right":"left");return w&&Bi(w[y]||(cs(w)?0:w))||"0px"}function b(){var N="";return h&&(N=E(),ls(N,"height or heightRatio is missing."),N="calc("+N+" - "+x(!1)+" - "+x(!0)+")"),N}function E(){return Bi(e.height||We(d).width*e.heightRatio)}function S(){return e.autoWidth?null:Bi(e.fixedWidth)||(h?"":T())}function A(){return Bi(e.fixedHeight)||(h?e.autoHeight?null:T():E())}function T(){var N=Bi(e.gap);return"calc((100%"+(N&&" + "+N)+")/"+(e.perPage||1)+(N&&" - "+N)+")"}function P(){return We(d)[a("width")]}function F(N,w){var y=c(N||0);return y?We(y.slide)[a("width")]+(w?0:I()):0}function k(N,w){var y=c(N);if(y){var M=We(y.slide)[a("right")],G=We(d)[a("left")];return Ee(M-G)+(w?0:I())}return 0}function V(N){return k(s.length-1)-k(0)+F(0,N)}function I(){var N=c(0);return N&&parseFloat(tr(N.slide,a("marginRight")))||0}function R(N){return parseFloat(tr(_,a("padding"+(N?"Right":"Left"))))||0}function L(){return s.is(Ts)||V(!0)>P()}return{mount:D,resize:C,listSize:P,slideSize:F,sliderSize:V,totalSize:k,getPadding:R,isOverflow:L}}var W_=2;function Y_(s,t,e){var r=Ct(s),i=r.on,n=t.Elements,o=t.Slides,u=t.Direction.resolve,a=[],l;function f(){i(It,_),i([Ce,Ds],c),(l=g())&&(p(l),t.Layout.resize(!0))}function _(){d(),f()}function d(){zi(a),Ir(a),r.destroy()}function c(){var v=g();l!==v&&(l<v||!v)&&r.emit(It)}function p(v){var D=o.get().slice(),m=D.length;if(m){for(;D.length<v;)Oo(D,D);Oo(D.slice(-v),D.slice(0,v)).forEach(function(C,x){var b=x<v,E=h(C.slide,x);b?Ia(E,D[0].slide):Cs(n.list,E),Oo(a,E),o.register(E,x-v+(b?0:m),C.index)})}}function h(v,D){var m=v.cloneNode(!0);return _r(m,e.classes.clone),m.id=s.root.id+"-clone"+Wa(D+1),m}function g(){var v=e.clones;if(!s.is(bn))v=0;else if(ys(v)){var D=e[u("fixedWidth")]&&t.Layout.slideSize(0),m=D&&gs(We(n.track)[u("width")]/D);v=m||e[u("autoWidth")]&&s.length||e.perPage*W_}return v}return{mount:f,destroy:d}}function X_(s,t,e){var r=Ct(s),i=r.on,n=r.emit,o=s.state.set,u=t.Layout,a=u.slideSize,l=u.getPadding,f=u.totalSize,_=u.listSize,d=u.sliderSize,c=t.Direction,p=c.resolve,h=c.orient,g=t.Elements,v=g.list,D=g.track,m;function C(){m=t.Transition,i([Wi,Ya,Ce,It],x)}function x(){t.Controller.isBusy()||(t.Scroll.cancel(),E(s.index),t.Slides.update())}function b(y,M,G,Z){y!==M&&N(y>G)&&(P(),S(T(V(),y>G),!0)),o(xn),n(ni,M,G,y),m.start(M,function(){o(En),n(bs,M,G,y),Z&&Z()})}function E(y){S(k(y,!0))}function S(y,M){if(!s.is(Ts)){var G=M?y:A(y);tr(v,"transform","translate"+p("X")+"("+G+"px)"),y!==G&&n(rh)}}function A(y){if(s.is(bn)){var M=F(y),G=M>t.Controller.getEnd(),Z=M<0;(Z||G)&&(y=T(y,G))}return y}function T(y,M){var G=y-L(M),Z=d();return y-=h(Z*(gs(Ee(G)/Z)||1))*(M?1:-1),y}function P(){S(V(),!0),m.cancel()}function F(y){for(var M=t.Slides.get(),G=0,Z=1/0,H=0;H<M.length;H++){var U=M[H].index,B=Ee(k(U,!0)-y);if(B<=Z)Z=B,G=U;else break}return G}function k(y,M){var G=h(f(y-1)-R(y));return M?I(G):G}function V(){var y=p("left");return We(v)[y]-We(D)[y]+h(l(!1))}function I(y){return e.trimSpace&&s.is(Cn)&&(y=gn(y,0,h(d(!0)-_()))),y}function R(y){var M=e.focus;return M==="center"?(_()-a(y,!0))/2:+M*a(y)||0}function L(y){return k(y?t.Controller.getEnd():0,!!e.trimSpace)}function N(y){var M=h(T(V(),y));return y?M>=0:M<=v[p("scrollWidth")]-We(D)[p("width")]}function w(y,M){M=ys(M)?V():M;var G=y!==!0&&h(M)<h(L(!1)),Z=y!==!1&&h(M)>h(L(!0));return G||Z}return{mount:C,move:b,jump:E,translate:S,shift:T,cancel:P,toIndex:F,toPosition:k,getPosition:V,getLimit:L,exceededLimit:w,reposition:x}}function G_(s,t,e){var r=Ct(s),i=r.on,n=r.emit,o=t.Move,u=o.getPosition,a=o.getLimit,l=o.toPosition,f=t.Slides,_=f.isEnough,d=f.getLength,c=e.omitEnd,p=s.is(bn),h=s.is(Cn),g=_t(V,!1),v=_t(V,!0),D=e.start||0,m,C=D,x,b,E;function S(){A(),i([Ce,It,Bo],A),i(Ya,T)}function A(){x=d(!0),b=e.perMove,E=e.perPage,m=N();var B=gn(D,0,c?m:x-1);B!==D&&(D=B,o.reposition())}function T(){m!==N()&&n(Bo)}function P(B,X,ft){if(!U()){var J=k(B),tt=L(J);tt>-1&&(X||tt!==D)&&(G(tt),o.move(J,tt,C,ft))}}function F(B,X,ft,J){t.Scroll.scroll(B,X,ft,function(){var tt=L(o.toIndex(u()));G(c?ii(tt,m):tt),J&&J()})}function k(B){var X=D;if(ri(B)){var ft=B.match(/([+\-<>])(\d+)?/)||[],J=ft[1],tt=ft[2];J==="+"||J==="-"?X=I(D+ +(""+J+(+tt||1)),D):J===">"?X=tt?w(+tt):g(!0):J==="<"&&(X=v(!0))}else X=p?B:gn(B,0,m);return X}function V(B,X){var ft=b||(H()?1:E),J=I(D+ft*(B?-1:1),D,!(b||H()));return J===-1&&h&&!qc(u(),a(!B),1)?B?0:m:X?J:L(J)}function I(B,X,ft){if(_()||H()){var J=R(B);J!==B&&(X=B,B=J,ft=!1),B<0||B>m?!b&&(ko(0,B,X,!0)||ko(m,X,B,!0))?B=w(y(B)):p?B=ft?B<0?-(x%E||E):x:B:e.rewind?B=B<0?m:0:B=-1:ft&&B!==X&&(B=w(y(X)+(B<X?-1:1)))}else B=-1;return B}function R(B){if(h&&e.trimSpace==="move"&&B!==D)for(var X=u();X===l(B,!0)&&ko(B,0,s.length-1,!e.rewind);)B<D?--B:++B;return B}function L(B){return p?(B+x)%x||0:B}function N(){for(var B=x-(H()||p&&b?1:E);c&&B-- >0;)if(l(x-1,!0)!==l(B,!0)){B++;break}return gn(B,0,x-1)}function w(B){return gn(H()?B:E*B,0,m)}function y(B){return H()?ii(B,m):No((B>=m?x-1:B)/E)}function M(B){var X=o.toIndex(B);return h?gn(X,0,m):X}function G(B){B!==D&&(C=D,D=B)}function Z(B){return B?C:D}function H(){return!ys(e.focus)||e.isNavigation}function U(){return s.state.is([xn,ms])&&!!e.waitForTransition}return{mount:S,go:P,scroll:F,getNext:g,getPrev:v,getAdjacent:V,getEnd:N,setIndex:G,getIndex:Z,toIndex:w,toPage:y,toDest:M,hasFocus:H,isBusy:U}}var H_="http://www.w3.org/2000/svg",U_="m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z",Fo=40;function q_(s,t,e){var r=Ct(s),i=r.on,n=r.bind,o=r.emit,u=e.classes,a=e.i18n,l=t.Elements,f=t.Controller,_=l.arrows,d=l.track,c=_,p=l.prev,h=l.next,g,v,D={};function m(){x(),i(Ce,C)}function C(){b(),m()}function x(){var F=e.arrows;F&&!(p&&h)&&A(),p&&h&&(ps(D,{prev:p,next:h}),_s(c,F?"":"none"),_r(c,v=qa+"--"+e.direction),F&&(E(),P(),Q([p,h],ws,d.id),o(g_,p,h)))}function b(){r.destroy(),Nr(c,v),g?(zi(_?[p,h]:c),p=h=null):gr([p,h],Ua)}function E(){i([Wi,bs,It,Sn,Bo],P),n(h,"click",_t(S,">")),n(p,"click",_t(S,"<"))}function S(F){f.go(F,!0)}function A(){c=_||mn("div",u.arrows),p=T(!0),h=T(!1),g=!0,Cs(c,[p,h]),!_&&Ia(c,d)}function T(F){var k='<button class="'+u.arrow+" "+(F?u.prev:u.next)+'" type="button"><svg xmlns="'+H_+'" viewBox="0 0 '+Fo+" "+Fo+'" width="'+Fo+'" height="'+Fo+'" focusable="false"><path d="'+(e.arrowPath||U_)+'" />';return Hc(k)}function P(){if(p&&h){var F=s.index,k=f.getPrev(),V=f.getNext(),I=k>-1&&F<k?a.last:a.prev,R=V>-1&&F>V?a.first:a.next;p.disabled=k<0,h.disabled=V<0,Q(p,Ye,I),Q(h,Ye,R),o(D_,p,h,k,V)}}return{arrows:D,mount:m,destroy:b,update:P}}var j_=Va+"-interval";function K_(s,t,e){var r=Ct(s),i=r.on,n=r.bind,o=r.emit,u=zo(e.interval,s.go.bind(s,">"),E),a=u.isPaused,l=t.Elements,f=t.Elements,_=f.root,d=f.toggle,c=e.autoplay,p,h,g=c==="pause";function v(){c&&(D(),d&&Q(d,ws,l.track.id),g||m(),b())}function D(){e.pauseOnHover&&n(_,"mouseenter mouseleave",function(A){p=A.type==="mouseenter",x()}),e.pauseOnFocus&&n(_,"focusin focusout",function(A){h=A.type==="focusin",x()}),d&&n(d,"click",function(){g?m():C(!0)}),i([ni,Xa,It],u.rewind),i(ni,S)}function m(){a()&&t.Slides.isEnough()&&(u.start(!e.resetProgress),h=p=g=!1,b(),o(Qc))}function C(A){A===void 0&&(A=!0),g=!!A,b(),a()||(u.pause(),o(Jc))}function x(){g||(p||h?C(!1):m())}function b(){d&&(Rr(d,Vi,!g),Q(d,Ye,e.i18n[g?"play":"pause"]))}function E(A){var T=l.bar;T&&tr(T,"width",A*100+"%"),o(y_,A)}function S(A){var T=t.Slides.getAt(A);u.set(T&&+er(T.slide,j_)||e.interval)}return{mount:v,destroy:u.cancel,play:m,pause:C,isPaused:a}}function $_(s,t,e){var r=Ct(s),i=r.on;function n(){e.cover&&(i(th,_t(u,!0)),i([Wi,Ce,It],_t(o,!0)))}function o(a){t.Slides.forEach(function(l){var f=xs(l.container||l.slide,"img");f&&f.src&&u(a,f,l)})}function u(a,l,f){f.style("background",a?'center/cover no-repeat url("'+l.src+'")':"",!0),_s(l,a?"none":"")}return{mount:n,destroy:_t(o,!1)}}var Z_=10,Q_=600,J_=.6,t0=1.5,e0=800;function r0(s,t,e){var r=Ct(s),i=r.on,n=r.emit,o=s.state.set,u=t.Move,a=u.getPosition,l=u.getLimit,f=u.exceededLimit,_=u.translate,d=s.is(Cn),c,p,h=1;function g(){i(ni,C),i([Ce,It],x)}function v(E,S,A,T,P){var F=a();if(C(),A&&(!d||!f())){var k=t.Layout.sliderSize(),V=Oa(E)*k*No(Ee(E)/k)||0;E=u.toPosition(t.Controller.toDest(E%k))+V}var I=qc(F,E,1);h=1,S=I?0:S||Ro(Ee(E-F)/t0,e0),p=T,c=zo(S,D,_t(m,F,E,P),1),o(ms),n(Xa),c.start()}function D(){o(En),p&&p(),n(Sn)}function m(E,S,A,T){var P=a(),F=E+(S-E)*b(T),k=(F-P)*h;_(P+k),d&&!A&&f()&&(h*=J_,Ee(k)<Z_&&v(l(f(!0)),Q_,!1,p,!0))}function C(){c&&c.cancel()}function x(){c&&!c.isPaused()&&(C(),D())}function b(E){var S=e.easingFunc;return S?S(E):1-Math.pow(1-E,4)}return{mount:g,destroy:C,scroll:v,cancel:x}}var Dn={passive:!1,capture:!0};function i0(s,t,e){var r=Ct(s),i=r.on,n=r.emit,o=r.bind,u=r.unbind,a=s.state,l=t.Move,f=t.Scroll,_=t.Controller,d=t.Elements.track,c=t.Media.reduce,p=t.Direction,h=p.resolve,g=p.orient,v=l.getPosition,D=l.exceededLimit,m,C,x,b,E,S=!1,A,T,P;function F(){o(d,Ta,Fa,Dn),o(d,Aa,Fa,Dn),o(d,_h,V,Dn),o(d,"click",L,{capture:!0}),o(d,"dragstart",Lr),i([Wi,Ce],k)}function k(){var z=e.drag;xe(!z),b=z==="free"}function V(z){if(A=!1,!T){var K=tt(z);J(z.target)&&(K||!z.button)&&(_.isBusy()?Lr(z,!0):(P=K?d:window,E=a.is([xn,ms]),x=null,o(P,Ta,I,Dn),o(P,Aa,R,Dn),l.cancel(),f.cancel(),N(z)))}}function I(z){if(a.is(Po)||(a.set(Po),n(h_)),z.cancelable)if(E){l.translate(m+ft(H(z)));var K=U(z)>Ic,xt=S!==(S=D());(K||xt)&&N(z),A=!0,n(d_),Lr(z)}else M(z)&&(E=y(z),Lr(z))}function R(z){a.is(Po)&&(a.set(En),n(p_)),E&&(w(z),Lr(z)),u(P,Ta,I),u(P,Aa,R),E=!1}function L(z){!T&&A&&Lr(z,!0)}function N(z){x=C,C=z,m=v()}function w(z){var K=G(z),xt=Z(K),Rt=e.rewind&&e.rewindByDrag;c(!1),b?_.scroll(xt,0,e.snap):s.is(Ts)?_.go(g(Oa(K))<0?Rt?"<":"-":Rt?">":"+"):s.is(Cn)&&S&&Rt?_.go(D(!0)?">":"<"):_.go(_.toDest(xt),!0),c(!0)}function y(z){var K=e.dragMinThreshold,xt=cs(K),Rt=xt&&K.mouse||0,O=(xt?K.touch:+K)||10;return Ee(H(z))>(tt(z)?O:Rt)}function M(z){return Ee(H(z))>Ee(H(z,!0))}function G(z){if(s.is(bn)||!S){var K=U(z);if(K&&K<Ic)return H(z)/K}return 0}function Z(z){return v()+Oa(z)*ii(Ee(z)*(e.flickPower||600),b?1/0:t.Layout.listSize()*(e.flickMaxPages||1))}function H(z,K){return X(z,K)-X(B(z),K)}function U(z){return Pa(z)-Pa(B(z))}function B(z){return C===z&&x||C}function X(z,K){return(tt(z)?z.changedTouches[0]:z)["page"+h(K?"Y":"X")]}function ft(z){return z/(S&&s.is(Cn)?N_:1)}function J(z){var K=e.noDrag;return!hs(z,"."+fh+", ."+Ho)&&(!K||!hs(z,K))}function tt(z){return typeof TouchEvent!="undefined"&&z instanceof TouchEvent}function Kt(){return E}function xe(z){T=z}return{mount:F,disable:xe,isDragging:Kt}}var n0={Spacebar:" ",Right:Yo,Left:Wo,Up:ih,Down:nh};function Ka(s){return s=ri(s)?s:s.key,n0[s]||s}var zc="keydown";function s0(s,t,e){var r=Ct(s),i=r.on,n=r.bind,o=r.unbind,u=s.root,a=t.Direction.resolve,l,f;function _(){d(),i(Ce,c),i(Ce,d),i(ni,h)}function d(){var v=e.keyboard;v&&(l=v==="global"?window:u,n(l,zc,g))}function c(){o(l,zc)}function p(v){f=v}function h(){var v=f;f=!0,Vc(function(){f=v})}function g(v){if(!f){var D=Ka(v);D===a(Wo)?s.go("<"):D===a(Yo)&&s.go(">")}}return{mount:_,destroy:c,disable:p}}var fs=Va+"-lazy",Mo=fs+"-srcset",o0="["+fs+"], ["+Mo+"]";function u0(s,t,e){var r=Ct(s),i=r.on,n=r.off,o=r.bind,u=r.emit,a=e.lazyLoad==="sequential",l=[bs,Sn],f=[];function _(){e.lazyLoad&&(d(),i(It,d))}function d(){Ir(f),c(),a?v():(n(l),i(l,p),p())}function c(){t.Slides.forEach(function(D){za(D.slide,o0).forEach(function(m){var C=er(m,fs),x=er(m,Mo);if(C!==m.src||x!==m.srcset){var b=e.classes.spinner,E=m.parentElement,S=xs(E,"."+b)||mn("span",b,E);f.push([m,D,S]),m.src||_s(m,"none")}})})}function p(){f=f.filter(function(D){var m=e.perPage*((e.preloadPages||1)+1)-1;return D[1].isWithin(s.index,m)?h(D):!0}),f.length||n(l)}function h(D){var m=D[0];_r(D[1].slide,La),o(m,"load error",_t(g,D)),Q(m,"src",er(m,fs)),Q(m,"srcset",er(m,Mo)),gr(m,fs),gr(m,Mo)}function g(D,m){var C=D[0],x=D[1];Nr(x.slide,La),m.type!=="error"&&(zi(D[2]),_s(C,""),u(th,C,x),u(Ds)),a&&v()}function v(){f.length&&h(f.shift())}return{mount:_,destroy:_t(Ir,f),check:p}}function a0(s,t,e){var r=Ct(s),i=r.on,n=r.emit,o=r.bind,u=t.Slides,a=t.Elements,l=t.Controller,f=l.hasFocus,_=l.getIndex,d=l.go,c=t.Direction.resolve,p=a.pagination,h=[],g,v;function D(){m(),i([Ce,It,Bo],D);var T=e.pagination;p&&_s(p,T?"":"none"),T&&(i([ni,Xa,Sn],A),C(),A(),n(v_,{list:g,items:h},S(s.index)))}function m(){g&&(zi(p?si(g.children):g),Nr(g,v),Ir(h),g=null),r.destroy()}function C(){var T=s.length,P=e.classes,F=e.i18n,k=e.perPage,V=f()?l.getEnd()+1:gs(T/k);g=p||mn("ul",P.pagination,a.track.parentElement),_r(g,v=Uo+"--"+E()),Q(g,Br,"tablist"),Q(g,Ye,F.select),Q(g,Ha,E()===Xo?"vertical":"");for(var I=0;I<V;I++){var R=mn("li",null,g),L=mn("button",{class:P.page,type:"button"},R),N=u.getIn(I).map(function(y){return y.slide.id}),w=!f()&&k>1?F.pageX:F.slideX;o(L,"click",_t(x,I)),e.paginationKeyboard&&o(L,"keydown",_t(b,I)),Q(R,Br,"presentation"),Q(L,Br,"tab"),Q(L,ws,N.join(" ")),Q(L,Ye,ka(w,I+1)),Q(L,yn,-1),h.push({li:R,button:L,page:I})}}function x(T){d(">"+T,!0)}function b(T,P){var F=h.length,k=Ka(P),V=E(),I=-1;k===c(Yo,!1,V)?I=++T%F:k===c(Wo,!1,V)?I=(--T+F)%F:k==="Home"?I=0:k==="End"&&(I=F-1);var R=h[I];R&&(Gc(R.button),d(">"+I),Lr(P,!0))}function E(){return e.paginationDirection||e.direction}function S(T){return h[l.toPage(T)]}function A(){var T=S(_(!0)),P=S(_());if(T){var F=T.button;Nr(F,Vi),gr(F,Mc),Q(F,yn,-1)}if(P){var k=P.button;_r(k,Vi),Q(k,Mc,!0),Q(k,yn,"")}n(m_,{list:g,items:h},T,P)}return{items:h,mount:D,destroy:m,getAt:S,update:A}}var l0=[" ","Enter"];function f0(s,t,e){var r=e.isNavigation,i=e.slideFocus,n=[];function o(){s.splides.forEach(function(p){p.isParent||(l(s,p.splide),l(p.splide,s))}),r&&f()}function u(){n.forEach(function(p){p.destroy()}),Ir(n)}function a(){u(),o()}function l(p,h){var g=Ct(p);g.on(ni,function(v,D,m){h.go(h.is(bn)?m:v)}),n.push(g)}function f(){var p=Ct(s),h=p.on;h(Kc,d),h(eh,c),h([Wi,Ce],_),n.push(p),p.emit(Zc,s.splides)}function _(){Q(t.Elements.list,Ha,e.direction===Xo?"vertical":"")}function d(p){s.go(p.index)}function c(p,h){Ba(l0,Ka(h))&&(d(p),Lr(h))}return{setup:_t(t.Media.set,{slideFocus:ys(i)?r:i},!0),mount:o,destroy:u,remount:a}}function c0(s,t,e){var r=Ct(s),i=r.bind,n=0;function o(){e.wheel&&i(t.Elements.track,"wheel",u,Dn)}function u(l){if(l.cancelable){var f=l.deltaY,_=f<0,d=Pa(l),c=e.wheelMinThreshold||0,p=e.wheelSleep||0;Ee(f)>c&&d-n>p&&(s.go(_?"<":">"),n=d),a(_)&&Lr(l)}}function a(l){return!e.releaseWheel||s.state.is(xn)||t.Controller.getAdjacent(l)!==-1}return{mount:o}}var h0=90;function d0(s,t,e){var r=Ct(s),i=r.on,n=t.Elements.track,o=e.live&&!e.isNavigation,u=mn("span",O_),a=zo(h0,_t(f,!1));function l(){o&&(d(!t.Autoplay.isPaused()),Q(n,Nc,!0),u.textContent="\u2026",i(Qc,_t(d,!0)),i(Jc,_t(d,!1)),i([bs,Sn],_t(f,!0)))}function f(c){Q(n,Rc,c),c?(Cs(n,u),a.start()):(zi(u),a.cancel())}function _(){gr(n,[Lc,Nc,Rc]),zi(u)}function d(c){o&&Q(n,Lc,c?"off":"polite")}return{mount:l,disable:d,destroy:_}}var p0=Object.freeze({__proto__:null,Media:x_,Direction:S_,Elements:B_,Slides:z_,Layout:V_,Clones:Y_,Move:X_,Controller:G_,Arrows:q_,Autoplay:K_,Cover:$_,Scroll:r0,Drag:i0,Keyboard:s0,LazyLoad:u0,Pagination:a0,Sync:f0,Wheel:c0,Live:d0}),_0={prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},g0={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:L_,i18n:_0,reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function D0(s,t,e){var r=t.Slides;function i(){Ct(s).on([Wi,It],n)}function n(){r.forEach(function(u){u.style("transform","translateX(-"+100*u.index+"%)")})}function o(u,a){r.style("transition","opacity "+e.speed+"ms "+e.easing),Vc(a)}return{mount:i,start:o,cancel:Fa}}function v0(s,t,e){var r=t.Move,i=t.Controller,n=t.Scroll,o=t.Elements.list,u=_t(tr,o,"transition"),a;function l(){Ct(s).bind(o,"transitionend",function(c){c.target===o&&a&&(_(),a())})}function f(c,p){var h=r.toPosition(c,!0),g=r.getPosition(),v=d(c);Ee(h-g)>=1&&v>=1?e.useScroll?n.scroll(h,v,!1,p):(u("transform "+v+"ms "+e.easing),r.translate(h,!0),a=p):(r.jump(c),p())}function _(){u(""),n.cancel()}function d(c){var p=e.rewindSpeed;if(s.is(Cn)&&p){var h=i.getIndex(!0),g=i.getEnd();if(h===0&&c>=g||h>=g&&c===0)return p}return e.speed}return{mount:l,start:f,cancel:_}}var m0=function(){function s(e,r){this.event=Ct(),this.Components={},this.state=E_(vn),this.splides=[],this._o={},this._E={};var i=ri(e)?Uc(document,e):e;ls(i,i+" is invalid."),this.root=i,r=ei({label:er(i,Ye)||"",labelledby:er(i,Ga)||""},g0,s.defaults,r||{});try{ei(r,JSON.parse(er(i,Va)))}catch{ls(!1,"Invalid JSON")}this._o=Object.create(ei({},r))}var t=s.prototype;return t.mount=function(r,i){var n=this,o=this.state,u=this.Components;ls(o.is([vn,Lo]),"Already mounted!"),o.set(vn),this._C=u,this._T=i||this._T||(this.is(Ts)?D0:v0),this._E=r||this._E;var a=ps({},p0,this._E,{Transition:this._T});return Ii(a,function(l,f){var _=l(n,u,n._o);u[f]=_,_.setup&&_.setup()}),Ii(u,function(l){l.mount&&l.mount()}),this.emit(Wi),_r(this.root,k_),o.set(En),this.emit(Oc),this},t.sync=function(r){return this.splides.push({splide:r}),r.splides.push({splide:this,isParent:!0}),this.state.is(En)&&(this._C.Sync.remount(),r.Components.Sync.remount()),this},t.go=function(r){return this._C.Controller.go(r),this},t.on=function(r,i){return this.event.on(r,i),this},t.off=function(r){return this.event.off(r),this},t.emit=function(r){var i;return(i=this.event).emit.apply(i,[r].concat(si(arguments,1))),this},t.add=function(r,i){return this._C.Slides.add(r,i),this},t.remove=function(r){return this._C.Slides.remove(r),this},t.is=function(r){return this._o.type===r},t.refresh=function(){return this.emit(It),this},t.destroy=function(r){r===void 0&&(r=!0);var i=this.event,n=this.state;return n.is(vn)?Ct(this).on(Oc,this.destroy.bind(this,r)):(Ii(this._C,function(o){o.destroy&&o.destroy(r)},!0),i.emit($c),i.destroy(),r&&Ir(this.splides),n.set(Lo)),this},n_(s,[{key:"options",get:function(){return this._o},set:function(r){this._C.Media.set(r,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}]),s}(),gh=m0;gh.defaults={};gh.STATES=o_;var vr,Qa,y0,$o,xh,Sh,Dh,Za,bh,wh=function(){return typeof window!="undefined"},Th=function(){return vr||wh()&&(vr=window.gsap)&&vr.registerPlugin&&vr},E0=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,$a={rect:["width","height"],circle:["r","r"],ellipse:["rx","ry"],line:["x2","y2"]},Yi=function(t){return Math.round(t*1e4)/1e4},zr=function(t){return parseFloat(t)||0},vh=function(t,e){var r=zr(t);return~t.indexOf("%")?r/100*e:r},qo=function(t,e){return zr(t.getAttribute(e))},jo=Math.sqrt,mh=function(t,e,r,i,n,o){return jo(Math.pow((zr(r)-zr(t))*n,2)+Math.pow((zr(i)-zr(e))*o,2))},yh=function(t){return console.warn(t)},Ah=function(t){return t.getAttribute("vector-effect")==="non-scaling-stroke"},C0=1,x0=function(t,e,r){var i=t.indexOf(" "),n,o;return i<0?(n=r!==void 0?r+"":t,o=t):(n=t.substr(0,i),o=t.substr(i+1)),n=vh(n,e),o=vh(o,e),n>o?[o,n]:[n,o]},Ko=function(t){if(t=Qa(t)[0],!t)return 0;var e=t.tagName.toLowerCase(),r=t.style,i=1,n=1,o,u,a,l,f,_,d;Ah(t)&&(n=t.getScreenCTM(),i=jo(n.a*n.a+n.b*n.b),n=jo(n.d*n.d+n.c*n.c));try{u=t.getBBox()}catch{yh("Some browsers won't measure invisible elements (like display:none or masks inside defs).")}var c=u||{x:0,y:0,width:0,height:0},p=c.x,h=c.y,g=c.width,v=c.height;if((!u||!g&&!v)&&$a[e]&&(g=qo(t,$a[e][0]),v=qo(t,$a[e][1]),e!=="rect"&&e!=="line"&&(g*=2,v*=2),e==="line"&&(p=qo(t,"x1"),h=qo(t,"y1"),g=Math.abs(g-p),v=Math.abs(v-h))),e==="path")l=r.strokeDasharray,r.strokeDasharray="none",o=t.getTotalLength()||0,Yi(i)!==Yi(n)&&!Dh&&(Dh=1)&&yh("Warning: <path> length cannot be measured when vector-effect is non-scaling-stroke and the element isn't proportionally scaled."),o*=(i+n)/2,r.strokeDasharray=l;else if(e==="rect")o=g*2*i+v*2*n;else if(e==="line")o=mh(p,h,p+g,h+v,i,n);else if(e==="polyline"||e==="polygon")for(a=t.getAttribute("points").match(E0)||[],e==="polygon"&&a.push(a[0],a[1]),o=0,f=2;f<a.length;f+=2)o+=mh(a[f-2],a[f-1],a[f],a[f+1],i,n)||0;else(e==="circle"||e==="ellipse")&&(_=g/2*i,d=v/2*n,o=Math.PI*(3*(_+d)-jo((3*_+d)*(_+3*d))));return o||0},Eh=function(t,e){if(t=Qa(t)[0],!t)return[0,0];e||(e=Ko(t)+1);var r=$o.getComputedStyle(t),i=r.strokeDasharray||"",n=zr(r.strokeDashoffset),o=i.indexOf(",");return o<0&&(o=i.indexOf(" ")),i=o<0?e:zr(i.substr(0,o)),i>e&&(i=e),[-n||0,i-n||0]},Ch=function(){wh()&&(y0=document,$o=window,Sh=vr=Th(),Qa=vr.utils.toArray,Za=vr.core.getStyleSaver,bh=vr.core.reverting||function(){},xh=(($o.navigator||{}).userAgent||"").indexOf("Edge")!==-1)},Ja={version:"3.12.2",name:"drawSVG",register:function(t){vr=t,Ch()},init:function(t,e,r,i,n){if(!t.getBBox)return!1;Sh||Ch();var o=Ko(t),u,a,l;return this.styles=Za&&Za(t,"strokeDashoffset,strokeDasharray,strokeMiterlimit"),this.tween=r,this._style=t.style,this._target=t,e+""=="true"?e="0 100%":e?(e+"").indexOf(" ")===-1&&(e="0 "+e):e="0 0",u=Eh(t,o),a=x0(e,o,u[0]),this._length=Yi(o),this._dash=Yi(u[1]-u[0]),this._offset=Yi(-u[0]),this._dashPT=this.add(this,"_dash",this._dash,Yi(a[1]-a[0]),0,0,0,0,0,1),this._offsetPT=this.add(this,"_offset",this._offset,Yi(-a[0]),0,0,0,0,0,1),xh&&(l=$o.getComputedStyle(t),l.strokeLinecap!==l.strokeLinejoin&&(a=zr(l.strokeMiterlimit),this.add(t.style,"strokeMiterlimit",a,a+.01))),this._live=Ah(t)||~(e+"").indexOf("live"),this._nowrap=~(e+"").indexOf("nowrap"),this._props.push("drawSVG"),C0},render:function(t,e){if(e.tween._time||!bh()){var r=e._pt,i=e._style,n,o,u,a;if(r){for(e._live&&(n=Ko(e._target),n!==e._length&&(o=n/e._length,e._length=n,e._offsetPT&&(e._offsetPT.s*=o,e._offsetPT.c*=o),e._dashPT?(e._dashPT.s*=o,e._dashPT.c*=o):e._dash*=o));r;)r.r(t,r.d),r=r._next;u=e._dash||t&&t!==1&&1e-4||0,n=e._length-u+.1,a=e._offset,u&&a&&u+Math.abs(a%e._length)>e._length-.2&&(a+=a<0?.1:-.1)&&(n+=.1),i.strokeDashoffset=u?a:a+.001,i.strokeDasharray=n<.2?"none":u?u+"px,"+(e._nowrap?999999:n)+"px":"0px, 999999px"}}else e.styles.revert()},getLength:Ko,getPosition:Eh};Th()&&vr.registerPlugin(Ja);cr.registerPlugin(Ja,it,_n,Ti,rn);var Zo=new Ms({duration:1.2,easing:s=>Math.min(1,1.001-Math.pow(2,-10*s))});function S0(){function s(t){Zo.raf(t),requestAnimationFrame(s)}requestAnimationFrame(s)}function b0(){(0,Ph.default)("img, video:not(#fullReel)",{loaded:function(t){}}).observe()}function w0(){Ti.create("loader","0.83, 0, 0.17, 1"),Ti.create("loader2","0.77, 0, 0.175, 1")}function T0(){window.addEventListener("pageshow",function(s){s.persisted&&window.location.reload()})}var wn=cr.timeline({});wn.add(function(){history.scrollRestoration="manual",cr.to(window,{duration:.05,scrollTo:0}),Zo.scrollTo(0)});wn.add(function(){Zo.stop()},">");wn.to(".loader_ract",{delay:.2,duration:.8,width:0,ease:"loader2"},">");wn.add(function(){Zo.start()},">");wn.to(".loader_wrapper",{display:"none",duration:.1},">");function A0(){document.querySelectorAll('a:not([href^="#"]):not([href^="javascript:"]):not([href=""]):not([href^="mailto:"]):not([href^="tel:"])').forEach(t=>{t.getAttribute("target")!=="_blank"&&t.addEventListener("click",e=>{e.preventDefault();let r=cr.timeline({onComplete:()=>{window.location.href=t.href}});r.to(".unloader_wrapper",{display:"flex",duration:.05}),r.from(".unloader_ract",{duration:.4,width:"0%",ease:"loader2"}),r.play()})})}function F0(){window.addEventListener("resize",function(){setTimeout(function(){cr.set(".loader_wrapper",{display:"none"})},50)})}function P0(){cr.to("#heroSection",{scrollTrigger:{trigger:"#bottomWrapper",start:"top bottom",toggleActions:"restart none none reverse"},y:"-100%"})}function O0(){let s=document.querySelectorAll('[wide="customCursor"]'),t=document.querySelector(".custom_cursor");s.forEach(e=>{e.addEventListener("mousedown",function(){t.style.transform="scale3d(0.8, 0.8, 1)"}),e.addEventListener("mouseup",function(){t.style.transform="scale3d(1, 1, 1)"})})}function k0(){document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll("[wideCursorText]").forEach(function(t){t.addEventListener("mouseenter",()=>{let e=t.getAttribute("wideCursorText"),r=document.querySelector(".custom_cursor_text");r.innerHTML=e})})})}var Fh=cr.from(".navbar",{y:"-100%",paused:!0,duration:.2,ease:"loader2"}).progress(1);function M0(){it.create({start:"top top",endTrigger:".bottom-wrapper",end:"bottom top+=100px",onUpdate:s=>{s.direction===-1?Fh.play():Fh.reverse()}})}var As=cr.timeline({}),_g=new _n("#homeHeroHeading",{type:"lines",linesClass:"hero-line"}),gg=new _n("#homeHeroHeading",{type:"lines",linesClass:"hero-line-mask"});As.add(wn.play());As.from(".navbar",{opacity:0,duration:.6,ease:"loader2"});As.from(".hero-line",{duration:1.2,y:"100%",stagger:.2,ease:"loader2"},">-0.5");As.to(".hero_headline_ract-mask",{width:"0%",duration:.6,ease:"loader2"},">-0.6");As.from("#heroSubtitle",{opacity:0,duration:1,ease:"loader2"},">-0.4");window.Webflow||(window.Webflow=[]);window.Webflow.push(()=>{S0(),w0(),b0(),T0(),A0(),F0(),P0(),O0(),k0(),M0()});})();
|
|
6
2
|
/*! Bundled license information:
|
|
7
3
|
|
|
8
4
|
lozad/dist/lozad.min.js:
|
|
@@ -128,4 +124,3 @@ lozad/dist/lozad.min.js:
|
|
|
128
124
|
* @author: Jack Doyle, jack@greensock.com
|
|
129
125
|
*)
|
|
130
126
|
*/
|
|
131
|
-
//# sourceMappingURL=index.js.map
|