"use strict";(()=>{var Uu=Object.create;var So=Object.defineProperty;var ju=Object.getOwnPropertyDescriptor;var Vu=Object.getOwnPropertyNames;var Gu=Object.getPrototypeOf,$u=Object.prototype.hasOwnProperty;var Qu=(a,e,t)=>e in a?So(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var la=(a,e)=>()=>(e||a((e={exports:{}}).exports,e),e.exports);var Ku=(a,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Vu(e))!$u.call(a,i)&&i!==t&&So(a,i,{get:()=>e[i],enumerable:!(r=ju(e,i))||r.enumerable});return a};var ua=(a,e,t)=>(t=a!=null?Uu(Gu(a)):{},Ku(e||!a||!a.__esModule?So(t,"default",{value:a,enumerable:!0}):t,a));var xr=(a,e,t)=>Qu(a,typeof e!="symbol"?e+"":e,t);var ca=la((To,Eo)=>{(function(a,e){typeof To=="object"&&typeof Eo<"u"?Eo.exports=e():typeof define=="function"&&define.amd?define(e):(a||self).barba=e()})(To,function(){function a(b,m){for(var h=0;h"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function s(b,m,h){return s=o()?Reflect.construct.bind():function(p,w,P){var N=[null];N.push.apply(N,w);var z=new(Function.bind.apply(p,N));return P&&n(z,P.prototype),z},s.apply(null,arguments)}function l(b){var m=typeof Map=="function"?new Map:void 0;return l=function(h){if(h===null||Function.toString.call(h).indexOf("[native code]")===-1)return h;if(typeof h!="function")throw new TypeError("Super expression must either be null or a function");if(m!==void 0){if(m.has(h))return m.get(h);m.set(h,p)}function p(){return s(h,arguments,i(this).constructor)}return p.prototype=Object.create(h.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),n(p,h)},l(b)}function u(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}var c,d=function(){this.before=void 0,this.beforeLeave=void 0,this.leave=void 0,this.afterLeave=void 0,this.beforeEnter=void 0,this.enter=void 0,this.afterEnter=void 0,this.after=void 0};(function(b){b[b.off=0]="off",b[b.error=1]="error",b[b.warning=2]="warning",b[b.info=3]="info",b[b.debug=4]="debug"})(c||(c={}));var g=c.off,f=function(){function b(h){this.t=void 0,this.t=h}b.getLevel=function(){return g},b.setLevel=function(h){return g=c[h]};var m=b.prototype;return m.error=function(){this.i(console.error,c.error,[].slice.call(arguments))},m.warn=function(){this.i(console.warn,c.warning,[].slice.call(arguments))},m.info=function(){this.i(console.info,c.info,[].slice.call(arguments))},m.debug=function(){this.i(console.log,c.debug,[].slice.call(arguments))},m.i=function(h,p,w){p<=b.getLevel()&&h.apply(console,["["+this.t+"] "].concat(w))},b}();function v(b){return b.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function _(b){return b&&b.sensitive?"":"i"}var y={container:"container",history:"history",namespace:"namespace",prefix:"data-barba",prevent:"prevent",wrapper:"wrapper"},T=function(){function b(){this.o=y,this.u=void 0,this.h={after:null,before:null,parent:null}}var m=b.prototype;return m.toString=function(h){return h.outerHTML},m.toDocument=function(h){return this.u||(this.u=new DOMParser),this.u.parseFromString(h,"text/html")},m.toElement=function(h){var p=document.createElement("div");return p.innerHTML=h,p},m.getHtml=function(h){return h===void 0&&(h=document),this.toString(h.documentElement)},m.getWrapper=function(h){return h===void 0&&(h=document),h.querySelector("["+this.o.prefix+'="'+this.o.wrapper+'"]')},m.getContainer=function(h){return h===void 0&&(h=document),h.querySelector("["+this.o.prefix+'="'+this.o.container+'"]')},m.removeContainer=function(h){document.body.contains(h)&&(this.v(h),h.parentNode.removeChild(h))},m.addContainer=function(h,p){var w=this.getContainer()||this.h.before;w?this.l(h,w):this.h.after?this.h.after.parentNode.insertBefore(h,this.h.after):this.h.parent?this.h.parent.appendChild(h):p.appendChild(h)},m.getSibling=function(){return this.h},m.getNamespace=function(h){h===void 0&&(h=document);var p=h.querySelector("["+this.o.prefix+"-"+this.o.namespace+"]");return p?p.getAttribute(this.o.prefix+"-"+this.o.namespace):null},m.getHref=function(h){if(h.tagName&&h.tagName.toLowerCase()==="a"){if(typeof h.href=="string")return h.href;var p=h.getAttribute("href")||h.getAttribute("xlink:href");if(p)return this.resolveUrl(p.baseVal||p)}return null},m.resolveUrl=function(){var h=[].slice.call(arguments).length;if(h===0)throw new Error("resolveUrl requires at least one argument; got none.");var p=document.createElement("base");if(p.href=arguments[0],h===1)return p.href;var w=document.getElementsByTagName("head")[0];w.insertBefore(p,w.firstChild);for(var P,N=document.createElement("a"),z=1;z1?h>0?"forward":"back":h===0?"popstate":h>0?"back":"forward"},e(b,[{key:"current",get:function(){return this.m[this.P]}},{key:"previous",get:function(){return this.P<1?null:this.m[this.P-1]}},{key:"size",get:function(){return this.m.length}}]),b}(),S=new M,E=function(b,m){try{var h=function(){if(!m.next.html)return Promise.resolve(b).then(function(p){var w=m.next;if(p){var P=C.toElement(p.html);w.namespace=C.getNamespace(P),w.container=C.getContainer(P),w.url=p.url,w.html=p.html,S.update({ns:w.namespace});var N=C.toDocument(p.html);document.title=N.title}})}();return Promise.resolve(h&&h.then?h.then(function(){}):void 0)}catch(p){return Promise.reject(p)}},O=function b(m,h,p){return m instanceof RegExp?function(w,P){if(!P)return w;for(var N=/\((?:\?<(.*?)>)?(?!\?)/g,z=0,L=N.exec(w.source);L;)P.push({name:L[1]||z++,prefix:"",suffix:"",modifier:"",pattern:""}),L=N.exec(w.source);return w}(m,h):Array.isArray(m)?function(w,P,N){var z=w.map(function(L){return b(L,P,N).source});return new RegExp("(?:".concat(z.join("|"),")"),_(N))}(m,h,p):function(w,P,N){return function(z,L,H){H===void 0&&(H={});for(var pe=H.strict,ge=pe!==void 0&&pe,B=H.start,xe=B===void 0||B,ne=H.end,ue=ne===void 0||ne,be=H.encode,_e=be===void 0?function(Z){return Z}:be,Ve=H.delimiter,G=Ve===void 0?"/#?":Ve,qe=H.endsWith,Ye="[".concat(v(qe===void 0?"":qe),"]|$"),Re="[".concat(v(G),"]"),Se=xe?"^":"",Ge=0,Je=z;Ge-1:U===void 0;ge||(Se+="(?:".concat(Re,"(?=").concat(Ye,"))?")),q||(Se+="(?=".concat(Re,"|").concat(Ye,")"))}return new RegExp(Se,_(H))}(function(z,L){L===void 0&&(L={});for(var H=function(W){for(var Y=[],U=0;U=48&&oe<=57||oe>=65&&oe<=90||oe>=97&&oe<=122||oe===95))break;ee+=W[me++]}if(!ee)throw new TypeError("Missing parameter name at ".concat(U));Y.push({type:"NAME",index:U,value:ee}),U=me}else Y.push({type:"CLOSE",index:U,value:W[U++]});else Y.push({type:"OPEN",index:U,value:W[U++]});else Y.push({type:"ESCAPED_CHAR",index:U++,value:W[U++]});else Y.push({type:"MODIFIER",index:U,value:W[U++]})}return Y.push({type:"END",index:U,value:""}),Y}(z),pe=L.prefixes,ge=pe===void 0?"./":pe,B="[^".concat(v(L.delimiter||"/#?"),"]+?"),xe=[],ne=0,ue=0,be="",_e=function(W){if(ue=0&&(w=P.slice(z+1),P=P.slice(0,z));var L=P.indexOf("?");return L>=0&&(N=j(P.slice(L+1)),P=P.slice(0,L)),{hash:w,path:P,port:m,query:N}},j=function(b){return b.split("&").reduce(function(m,h){var p=h.split("=");return m[p[0]]=p[1],m},{})},I=function(b){return b===void 0&&(b=window.location.href),b.replace(/(\/#.*|\/|#.*)$/,"")},ie={__proto__:null,getHref:function(){return window.location.href},getAbsoluteHref:function(b,m){return m===void 0&&(m=document.baseURI),new URL(b,m).href},getOrigin:F,getPort:R,getPath:function(b){return b===void 0&&(b=window.location.href),D(b).path},getQuery:function(b,m){return m===void 0&&(m=!1),m?JSON.stringify(D(b).query):D(b).query},getHash:function(b){return D(b).hash},parse:D,parseQuery:j,clean:I};function K(b,m,h,p,w){return m===void 0&&(m=2e3),new Promise(function(P,N){var z=new XMLHttpRequest;z.onreadystatechange=function(){if(z.readyState===XMLHttpRequest.DONE){if(z.status===200){var L=z.responseURL!==""&&z.responseURL!==b?z.responseURL:b;P({html:z.responseText,url:t({href:L},D(L))}),p.update(b,{status:"fulfilled",target:L})}else if(z.status){var H={status:z.status,statusText:z.statusText};h(b,H),N(H),p.update(b,{status:"rejected"})}}},z.ontimeout=function(){var L=new Error("Timeout error ["+m+"]");h(b,L),N(L),p.update(b,{status:"rejected"})},z.onerror=function(){var L=new Error("Fetch error");h(b,L),N(L),p.update(b,{status:"rejected"})},z.open("GET",b),z.timeout=m,z.setRequestHeader("Accept","text/html,application/xhtml+xml,application/xml"),z.setRequestHeader("x-barba","yes"),w.all().forEach(function(L,H){z.setRequestHeader(H,L)}),z.send()})}function le(b){return!!b&&(typeof b=="object"||typeof b=="function")&&typeof b.then=="function"}function J(b,m){return m===void 0&&(m={}),function(){var h=arguments,p=!1,w=new Promise(function(P,N){m.async=function(){return p=!0,function(L,H){L?N(L):P(H)}};var z=b.apply(m,[].slice.call(h));p||(le(z)?z.then(P,N):P(z))});return w}}var Q=function(b){function m(){var p;return(p=b.call(this)||this).logger=new f("@barba/core"),p.all=["ready","page","reset","currentAdded","currentRemoved","nextAdded","nextRemoved","beforeOnce","once","afterOnce","before","beforeLeave","leave","afterLeave","beforeEnter","enter","afterEnter","after"],p.registered=new Map,p.init(),p}r(m,b);var h=m.prototype;return h.init=function(){var p=this;this.registered.clear(),this.all.forEach(function(w){p[w]||(p[w]=function(P,N){p.registered.has(w)||p.registered.set(w,new Set),p.registered.get(w).add({ctx:N||{},fn:P})})})},h.do=function(p){var w=arguments,P=this;if(this.registered.has(p)){var N=Promise.resolve();return this.registered.get(p).forEach(function(z){N=N.then(function(){return J(z.fn,z.ctx).apply(void 0,[].slice.call(w,1))})}),N.catch(function(z){P.logger.debug("Hook error ["+p+"]"),P.logger.error(z)})}return Promise.resolve()},h.clear=function(){var p=this;this.all.forEach(function(w){delete p[w]}),this.init()},h.help=function(){this.logger.info("Available hooks: "+this.all.join(","));var p=[];this.registered.forEach(function(w,P){return p.push(P)}),this.logger.info("Registered hooks: "+p.join(","))},m}(d),te=new Q,ye=function(){function b(m){if(this.k=void 0,this.O=[],typeof m=="boolean")this.k=m;else{var h=Array.isArray(m)?m:[m];this.O=h.map(function(p){return O(p)})}}return b.prototype.checkHref=function(m){if(typeof this.k=="boolean")return this.k;var h=D(m).path;return this.O.some(function(p){return p.exec(h)!==null})},b}(),x=function(b){function m(p){var w;return(w=b.call(this,p)||this).T=new Map,w}r(m,b);var h=m.prototype;return h.set=function(p,w,P,N,z){return this.T.set(p,{action:P,request:w,status:N,target:z??p}),{action:P,request:w,status:N,target:z}},h.get=function(p){return this.T.get(p)},h.getRequest=function(p){return this.T.get(p).request},h.getAction=function(p){return this.T.get(p).action},h.getStatus=function(p){return this.T.get(p).status},h.getTarget=function(p){return this.T.get(p).target},h.has=function(p){return!this.checkHref(p)&&this.T.has(p)},h.delete=function(p){return this.T.delete(p)},h.update=function(p,w){var P=t({},this.T.get(p),w);return this.T.set(p,P),P},m}(ye),Te=function(){function b(){this.A=new Map}var m=b.prototype;return m.set=function(h,p){return this.A.set(h,p),{name:p}},m.get=function(h){return this.A.get(h)},m.all=function(){return this.A},m.has=function(h){return this.A.has(h)},m.delete=function(h){return this.A.delete(h)},m.clear=function(){return this.A.clear()},b}(),lt=function(){return!window.history.pushState},Yt=function(b){return!b.el||!b.href},Ae=function(b){var m=b.event;return m.which>1||m.metaKey||m.ctrlKey||m.shiftKey||m.altKey},Ze=function(b){var m=b.el;return m.hasAttribute("target")&&m.target==="_blank"},nt=function(b){var m=b.el;return m.protocol!==void 0&&window.location.protocol!==m.protocol||m.hostname!==void 0&&window.location.hostname!==m.hostname},Fe=function(b){var m=b.el;return m.port!==void 0&&R()!==R(m.href)},ut=function(b){var m=b.el;return m.getAttribute&&typeof m.getAttribute("download")=="string"},ot=function(b){return b.el.hasAttribute(y.prefix+"-"+y.prevent)},cr=function(b){return!!b.el.closest("["+y.prefix+"-"+y.prevent+'="all"]')},ct=function(b){var m=b.href;return I(m)===I()&&R(m)===R()},mt=function(b){function m(p){var w;return(w=b.call(this,p)||this).suite=[],w.tests=new Map,w.init(),w}r(m,b);var h=m.prototype;return h.init=function(){this.add("pushState",lt),this.add("exists",Yt),this.add("newTab",Ae),this.add("blank",Ze),this.add("corsDomain",nt),this.add("corsPort",Fe),this.add("download",ut),this.add("preventSelf",ot),this.add("preventAll",cr),this.add("sameUrl",ct,!1)},h.add=function(p,w,P){P===void 0&&(P=!0),this.tests.set(p,w),P&&this.suite.push(p)},h.run=function(p,w,P,N){return this.tests.get(p)({el:w,event:P,href:N})},h.checkLink=function(p,w,P){var N=this;return this.suite.some(function(z){return N.run(z,p,w,P)})},m}(ye),de=function(b){function m(h,p){var w;return p===void 0&&(p="Barba error"),(w=b.call.apply(b,[this].concat([].slice.call(arguments,2)))||this).error=void 0,w.label=void 0,w.error=h,w.label=p,Error.captureStackTrace&&Error.captureStackTrace(u(w),m),w.name="BarbaError",w}return r(m,b),m}(l(Error)),Le=function(){function b(h){h===void 0&&(h=[]),this.logger=new f("@barba/core"),this.all=[],this.page=[],this.once=[],this.j=[{name:"namespace",type:"strings"},{name:"custom",type:"function"}],h&&(this.all=this.all.concat(h)),this.update()}var m=b.prototype;return m.add=function(h,p){h==="rule"?this.j.splice(p.position||0,0,p.value):this.all.push(p),this.update()},m.resolve=function(h,p){var w=this;p===void 0&&(p={});var P=p.once?this.once:this.page;P=P.filter(p.self?function(B){return B.name&&B.name==="self"}:function(B){return!B.name||B.name!=="self"});var N=new Map,z=P.find(function(B){var xe=!0,ne={};return p.self&&B.name==="self"?(N.set(B,ne),!0):(w.j.reverse().forEach(function(ue){xe&&(xe=w.M(B,ue,h,ne),B.from&&B.to&&(xe=w.M(B,ue,h,ne,"from")&&w.M(B,ue,h,ne,"to")),B.from&&!B.to&&(xe=w.M(B,ue,h,ne,"from")),!B.from&&B.to&&(xe=w.M(B,ue,h,ne,"to")))}),N.set(B,ne),xe)}),L=N.get(z),H=[];if(H.push(p.once?"once":"page"),p.self&&H.push("self"),L){var pe,ge=[z];Object.keys(L).length>0&&ge.push(L),(pe=this.logger).info.apply(pe,["Transition found ["+H.join(",")+"]"].concat(ge))}else this.logger.info("No transition found ["+H.join(",")+"]");return z},m.update=function(){var h=this;this.all=this.all.map(function(p){return h.N(p)}).sort(function(p,w){return p.priority-w.priority}).reverse().map(function(p){return delete p.priority,p}),this.page=this.all.filter(function(p){return p.leave!==void 0||p.enter!==void 0}),this.once=this.all.filter(function(p){return p.once!==void 0})},m.M=function(h,p,w,P,N){var z=!0,L=!1,H=h,pe=p.name,ge=pe,B=pe,xe=pe,ne=N?H[N]:H,ue=N==="to"?w.next:w.current;if(N?ne&&ne[pe]:ne[pe]){switch(p.type){case"strings":default:var be=Array.isArray(ne[ge])?ne[ge]:[ne[ge]];ue[ge]&&be.indexOf(ue[ge])!==-1&&(L=!0),be.indexOf(ue[ge])===-1&&(z=!1);break;case"object":var _e=Array.isArray(ne[B])?ne[B]:[ne[B]];ue[B]?(ue[B].name&&_e.indexOf(ue[B].name)!==-1&&(L=!0),_e.indexOf(ue[B].name)===-1&&(z=!1)):z=!1;break;case"function":ne[xe](w)?L=!0:z=!1}L&&(N?(P[N]=P[N]||{},P[N][pe]=H[N][pe]):P[pe]=H[pe])}return z},m.S=function(h,p,w){var P=0;return(h[p]||h.from&&h.from[p]||h.to&&h.to[p])&&(P+=Math.pow(10,w),h.from&&h.from[p]&&(P+=1),h.to&&h.to[p]&&(P+=2)),P},m.N=function(h){var p=this;h.priority=0;var w=0;return this.j.forEach(function(P,N){w+=p.S(h,P.name,N+1)}),h.priority=w,h},b}();function je(b,m){try{var h=b()}catch(p){return m(p)}return h&&h.then?h.then(void 0,m):h}var Ct=function(){function b(h){h===void 0&&(h=[]),this.logger=new f("@barba/core"),this.store=void 0,this.C=!1,this.store=new Le(h)}var m=b.prototype;return m.get=function(h,p){return this.store.resolve(h,p)},m.doOnce=function(h){var p=h.data,w=h.transition;try{var P=function(){N.C=!1},N=this,z=w||{};N.C=!0;var L=je(function(){return Promise.resolve(N.L("beforeOnce",p,z)).then(function(){return Promise.resolve(N.once(p,z)).then(function(){return Promise.resolve(N.L("afterOnce",p,z)).then(function(){})})})},function(H){N.C=!1,N.logger.debug("Transition error [before/after/once]"),N.logger.error(H)});return Promise.resolve(L&&L.then?L.then(P):P())}catch(H){return Promise.reject(H)}},m.doPage=function(h){var p=h.data,w=h.transition,P=h.page,N=h.wrapper;try{var z=function(B){L.C=!1},L=this,H=w||{},pe=H.sync===!0||!1;L.C=!0;var ge=je(function(){function B(){return Promise.resolve(L.L("before",p,H)).then(function(){function ne(be){return Promise.resolve(L.remove(p)).then(function(){return Promise.resolve(L.L("after",p,H)).then(function(){})})}var ue=function(){if(pe)return je(function(){return Promise.resolve(L.add(p,N)).then(function(){return Promise.resolve(L.L("beforeLeave",p,H)).then(function(){return Promise.resolve(L.L("beforeEnter",p,H)).then(function(){return Promise.resolve(Promise.all([L.leave(p,H),L.enter(p,H)])).then(function(){return Promise.resolve(L.L("afterLeave",p,H)).then(function(){return Promise.resolve(L.L("afterEnter",p,H)).then(function(){})})})})})})},function(G){if(L.H(G))throw new de(G,"Transition error [sync]")});var be=function(G){return je(function(){var qe=function(){if(_e!==!1)return Promise.resolve(L.add(p,N)).then(function(){return Promise.resolve(L.L("beforeEnter",p,H)).then(function(){return Promise.resolve(L.enter(p,H,_e)).then(function(){return Promise.resolve(L.L("afterEnter",p,H)).then(function(){})})})})}();if(qe&&qe.then)return qe.then(function(){})},function(qe){if(L.H(qe))throw new de(qe,"Transition error [before/after/enter]")})},_e=!1,Ve=je(function(){return Promise.resolve(L.L("beforeLeave",p,H)).then(function(){return Promise.resolve(Promise.all([L.leave(p,H),E(P,p)]).then(function(G){return G[0]})).then(function(G){return _e=G,Promise.resolve(L.L("afterLeave",p,H)).then(function(){})})})},function(G){if(L.H(G))throw new de(G,"Transition error [before/after/leave]")});return Ve&&Ve.then?Ve.then(be):be()}();return ue&&ue.then?ue.then(ne):ne()})}var xe=function(){if(pe)return Promise.resolve(E(P,p)).then(function(){})}();return xe&&xe.then?xe.then(B):B()},function(B){throw L.C=!1,B.name&&B.name==="BarbaError"?(L.logger.debug(B.label),L.logger.error(B.error),B):(L.logger.debug("Transition error [page]"),L.logger.error(B),B)});return Promise.resolve(ge&&ge.then?ge.then(z):z())}catch(B){return Promise.reject(B)}},m.once=function(h,p){try{return Promise.resolve(te.do("once",h,p)).then(function(){return p.once?J(p.once,p)(h):Promise.resolve()})}catch(w){return Promise.reject(w)}},m.leave=function(h,p){try{return Promise.resolve(te.do("leave",h,p)).then(function(){return p.leave?J(p.leave,p)(h):Promise.resolve()})}catch(w){return Promise.reject(w)}},m.enter=function(h,p,w){try{return Promise.resolve(te.do("enter",h,p)).then(function(){return p.enter?J(p.enter,p)(h,w):Promise.resolve()})}catch(P){return Promise.reject(P)}},m.add=function(h,p){try{return C.addContainer(h.next.container,p),te.do("nextAdded",h),Promise.resolve()}catch(w){return Promise.reject(w)}},m.remove=function(h){try{return C.removeContainer(h.current.container),te.do("currentRemoved",h),Promise.resolve()}catch(p){return Promise.reject(p)}},m.H=function(h){return h.message?!/Timeout error|Fetch error/.test(h.message):!h.status},m.L=function(h,p,w){try{return Promise.resolve(te.do(h,p,w)).then(function(){return w[h]?J(w[h],w)(p):Promise.resolve()})}catch(P){return Promise.reject(P)}},e(b,[{key:"isRunning",get:function(){return this.C},set:function(h){this.C=h}},{key:"hasOnce",get:function(){return this.store.once.length>0}},{key:"hasSelf",get:function(){return this.store.all.some(function(h){return h.name==="self"})}},{key:"shouldWait",get:function(){return this.store.all.some(function(h){return h.to&&!h.to.route||h.sync})}}]),b}(),k=function(){function b(m){var h=this;this.names=["beforeLeave","afterLeave","beforeEnter","afterEnter"],this.byNamespace=new Map,m.length!==0&&(m.forEach(function(p){h.byNamespace.set(p.namespace,p)}),this.names.forEach(function(p){te[p](h._(p))}))}return b.prototype._=function(m){var h=this;return function(p){var w=m.match(/enter/i)?p.next:p.current,P=h.byNamespace.get(w.namespace);return P&&P[m]?J(P[m],P)(p):Promise.resolve()}},b}();Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(b){var m=this;do{if(m.matches(b))return m;m=m.parentElement||m.parentNode}while(m!==null&&m.nodeType===1);return null});var kt={container:null,html:"",namespace:"",url:{hash:"",href:"",path:"",port:null,query:{}}},or=function(){function b(){this.version="2.10.3",this.schemaPage=kt,this.Logger=f,this.logger=new f("@barba/core"),this.plugins=[],this.timeout=void 0,this.cacheIgnore=void 0,this.cacheFirstPage=void 0,this.prefetchIgnore=void 0,this.preventRunning=void 0,this.hooks=te,this.cache=void 0,this.headers=void 0,this.prevent=void 0,this.transitions=void 0,this.views=void 0,this.dom=C,this.helpers=A,this.history=S,this.request=K,this.url=ie,this.D=void 0,this.B=void 0,this.q=void 0,this.F=void 0}var m=b.prototype;return m.use=function(h,p){var w=this.plugins;w.indexOf(h)>-1?this.logger.warn("Plugin ["+h.name+"] already installed."):typeof h.install=="function"?(h.install(this,p),w.push(h)):this.logger.warn("Plugin ["+h.name+'] has no "install" method.')},m.init=function(h){var p=h===void 0?{}:h,w=p.transitions,P=w===void 0?[]:w,N=p.views,z=N===void 0?[]:N,L=p.schema,H=L===void 0?y:L,pe=p.requestError,ge=p.timeout,B=ge===void 0?2e3:ge,xe=p.cacheIgnore,ne=xe!==void 0&&xe,ue=p.cacheFirstPage,be=ue!==void 0&&ue,_e=p.prefetchIgnore,Ve=_e!==void 0&&_e,G=p.preventRunning,qe=G!==void 0&&G,Ye=p.prevent,Re=Ye===void 0?null:Ye,Se=p.debug,Ge=p.logLevel;if(f.setLevel((Se!==void 0&&Se)===!0?"debug":Ge===void 0?"off":Ge),this.logger.info(this.version),Object.keys(H).forEach(function(et){y[et]&&(y[et]=H[et])}),this.B=pe,this.timeout=B,this.cacheIgnore=ne,this.cacheFirstPage=be,this.prefetchIgnore=Ve,this.preventRunning=qe,this.q=this.dom.getWrapper(),!this.q)throw new Error("[@barba/core] No Barba wrapper found");this.I();var Je=this.data.current;if(!Je.container)throw new Error("[@barba/core] No Barba container found");if(this.cache=new x(ne),this.headers=new Te,this.prevent=new mt(Ve),this.transitions=new Ct(P),this.views=new k(z),Re!==null){if(typeof Re!="function")throw new Error("[@barba/core] Prevent should be a function");this.prevent.add("preventCustom",Re)}this.history.init(Je.url.href,Je.namespace),be&&this.cache.set(Je.url.href,Promise.resolve({html:Je.html,url:Je.url}),"init","fulfilled"),this.U=this.U.bind(this),this.$=this.$.bind(this),this.X=this.X.bind(this),this.G(),this.plugins.forEach(function(et){return et.init()});var ae=this.data;ae.trigger="barba",ae.next=ae.current,ae.current=t({},this.schemaPage),this.hooks.do("ready",ae),this.once(ae),this.I()},m.destroy=function(){this.I(),this.J(),this.history.clear(),this.hooks.clear(),this.plugins=[]},m.force=function(h){window.location.assign(h)},m.go=function(h,p,w){var P;if(p===void 0&&(p="barba"),this.F=null,this.transitions.isRunning)this.force(h);else if(!(P=p==="popstate"?this.history.current&&this.url.getPath(this.history.current.url)===this.url.getPath(h)&&this.url.getQuery(this.history.current.url,!0)===this.url.getQuery(h,!0):this.prevent.run("sameUrl",null,null,h))||this.transitions.hasSelf)return p=this.history.change(this.cache.has(h)?this.cache.get(h).target:h,p,w),w&&(w.stopPropagation(),w.preventDefault()),this.page(h,p,w??void 0,P)},m.once=function(h){try{var p=this;return Promise.resolve(p.hooks.do("beforeEnter",h)).then(function(){function w(){return Promise.resolve(p.hooks.do("afterEnter",h)).then(function(){})}var P=function(){if(p.transitions.hasOnce){var N=p.transitions.get(h,{once:!0});return Promise.resolve(p.transitions.doOnce({transition:N,data:h})).then(function(){})}}();return P&&P.then?P.then(w):w()})}catch(w){return Promise.reject(w)}},m.page=function(h,p,w,P){try{var N,z=function(){var ge=L.data;return Promise.resolve(L.hooks.do("page",ge)).then(function(){var B=function(xe,ne){try{var ue=(be=L.transitions.get(ge,{once:!1,self:P}),Promise.resolve(L.transitions.doPage({data:ge,page:N,transition:be,wrapper:L.q})).then(function(){L.I()}))}catch{return ne()}var be;return ue&&ue.then?ue.then(void 0,ne):ue}(0,function(){f.getLevel()===0&&L.force(ge.next.url.href)});if(B&&B.then)return B.then(function(){})})},L=this;if(L.data.next.url=t({href:h},L.url.parse(h)),L.data.trigger=p,L.data.event=w,L.cache.has(h))N=L.cache.update(h,{action:"click"}).request;else{var H=L.request(h,L.timeout,L.onRequestError.bind(L,p),L.cache,L.headers);H.then(function(ge){ge.url.href!==h&&L.history.add(ge.url.href,p,"replace")}),N=L.cache.set(h,H,"click","pending").request}var pe=function(){if(L.transitions.shouldWait)return Promise.resolve(E(N,L.data)).then(function(){})}();return Promise.resolve(pe&&pe.then?pe.then(z):z())}catch(ge){return Promise.reject(ge)}},m.onRequestError=function(h){this.transitions.isRunning=!1;var p=[].slice.call(arguments,1),w=p[0],P=p[1],N=this.cache.getAction(w);return this.cache.delete(w),this.B&&this.B(h,N,w,P)===!1||N==="click"&&this.force(w),!1},m.prefetch=function(h){var p=this;h=this.url.getAbsoluteHref(h),this.cache.has(h)||this.cache.set(h,this.request(h,this.timeout,this.onRequestError.bind(this,"barba"),this.cache,this.headers).catch(function(w){p.logger.error(w)}),"prefetch","pending")},m.G=function(){this.prefetchIgnore!==!0&&(document.addEventListener("mouseover",this.U),document.addEventListener("touchstart",this.U)),document.addEventListener("click",this.$),window.addEventListener("popstate",this.X)},m.J=function(){this.prefetchIgnore!==!0&&(document.removeEventListener("mouseover",this.U),document.removeEventListener("touchstart",this.U)),document.removeEventListener("click",this.$),window.removeEventListener("popstate",this.X)},m.U=function(h){var p=this,w=this.W(h);if(w){var P=this.url.getAbsoluteHref(this.dom.getHref(w));this.prevent.checkHref(P)||this.cache.has(P)||this.cache.set(P,this.request(P,this.timeout,this.onRequestError.bind(this,w),this.cache,this.headers).catch(function(N){p.logger.error(N)}),"enter","pending")}},m.$=function(h){var p=this.W(h);if(p){if(this.transitions.isRunning&&this.preventRunning)return h.preventDefault(),void h.stopPropagation();this.F=h,this.go(this.dom.getHref(p),p,h)}},m.X=function(h){this.go(this.url.getHref(),"popstate",h)},m.W=function(h){for(var p=h.target;p&&!this.dom.getHref(p);)p=p.parentNode;if(p&&!this.prevent.checkLink(p,h,this.dom.getHref(p)))return p},m.I=function(){var h=this.url.getHref(),p={container:this.dom.getContainer(),html:this.dom.getHtml(),namespace:this.dom.getNamespace(),url:t({href:h},this.url.parse(h))};this.D={current:p,event:void 0,next:t({},this.schemaPage),trigger:void 0},this.hooks.do("reset",this.data)},e(b,[{key:"data",get:function(){return this.D}},{key:"wrapper",get:function(){return this.q}}]),b}();return new or})});var wu=la(($s,Qs)=>{(function(a,e){typeof $s=="object"&&typeof Qs<"u"?Qs.exports=e():typeof define=="function"&&define.amd?define(e):(a||self).barbaPrefetch=e()})($s,function(){var a=window.requestIdleCallback||function(e){var t=Date.now();return setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)};return new(function(){function e(){this.name="@barba/prefetch",this.version="2.2.0",this.barba=void 0,this.logger=void 0,this.observer=void 0,this.root=void 0,this.timeout=void 0,this.limit=void 0,this.toPrefetch=new Set}var t=e.prototype;return t.install=function(r,i){var n=i===void 0?{}:i,o=n.root,s=o===void 0?document.body:o,l=n.timeout,u=l===void 0?2e3:l,c=n.limit,d=c===void 0?0:c;this.logger=new r.Logger(this.name),this.logger.info(this.version),this.barba=r,this.root=s,this.timeout=u,this.limit=d},t.init=function(){var r=this;this.barba.prefetchIgnore?this.logger.warn("barba.prefetchIgnore is enabled"):this.barba.cacheIgnore?this.logger.warn("barba.cacheIgnore is enabled"):(this.observer=new IntersectionObserver(function(i){i.forEach(function(n){if(n.isIntersecting){var o=n.target,s=r.barba.url.getAbsoluteHref(r.barba.dom.getHref(o));r.toPrefetch.has(s)&&(r.observer.unobserve(o),r.barba.cache.has(s)?r.barba.cache.update(s,{action:"prefetch"}):r.barba.cache.set(s,r.barba.request(s,r.barba.timeout,r.barba.onRequestError.bind(r.barba,"barba"),r.barba.cache,r.barba.headers).catch(function(l){r.logger.error(l)}),"prefetch","pending"))}})}),this.observe(),this.barba.hooks.after(this.observe,this))},t.observe=function(){var r=this;a(function(){var i=Array.from(r.root.querySelectorAll("a"));r.limit>0&&(i=i.slice(0,r.limit)),i.forEach(function(n){var o=n,s=r.barba.dom.getHref(o);r.barba.cache.has(s)||r.barba.prevent.checkHref(s)||r.barba.prevent.checkLink(o,{},s)||(r.observer.observe(n),r.toPrefetch.add(s))})},{timeout:this.timeout})},e}())})});var vi=ua(ca(),1);function ha(a,e,t){return Math.max(a,Math.min(e,t))}var Po=class{advance(e){if(!this.isRunning)return;let t=!1;if(this.lerp)this.value=(r=this.value,i=this.to,n=60*this.lerp,o=e,function(s,l,u){return(1-u)*s+u*l}(r,i,1-Math.exp(-n*o))),Math.round(this.value)===this.to&&(this.value=this.to,t=!0);else{this.currentTime+=e;let s=ha(0,this.currentTime/this.duration,1);t=s>=1;let l=t?1:this.easing(s);this.value=this.from+(this.to-this.from)*l}var r,i,n,o;this.onUpdate?.(this.value,t),t&&this.stop()}stop(){this.isRunning=!1}fromTo(e,t,{lerp:r=.1,duration:i=1,easing:n=l=>l,onStart:o,onUpdate:s}){this.from=this.value=e,this.to=t,this.lerp=r,this.duration=i,this.easing=n,this.currentTime=0,this.isRunning=!0,o?.(),this.onUpdate=s}},Co=class{constructor({wrapper:e,content:t,autoResize:r=!0,debounce:i=250}={}){xr(this,"resize",()=>{this.onWrapperResize(),this.onContentResize()});xr(this,"onWrapperResize",()=>{this.wrapper===window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)});xr(this,"onContentResize",()=>{this.wrapper===window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)});this.wrapper=e,this.content=t,r&&(this.debouncedResize=function(n,o){let s;return function(){let l=arguments,u=this;clearTimeout(s),s=setTimeout(function(){n.apply(u,l)},o)}}(this.resize,i),this.wrapper===window?window.addEventListener("resize",this.debouncedResize,!1):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),window.removeEventListener("resize",this.debouncedResize,!1)}get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},Sn=class{constructor(){this.events={}}emit(e,...t){let r=this.events[e]||[];for(let i=0,n=r.length;i{this.events[e]=this.events[e]?.filter(r=>t!==r)}}off(e,t){this.events[e]=this.events[e]?.filter(r=>t!==r)}destroy(){this.events={}}},fa=100/6,ko=class{constructor(e,{wheelMultiplier:t=1,touchMultiplier:r=1}){xr(this,"onTouchStart",e=>{let{clientX:t,clientY:r}=e.targetTouches?e.targetTouches[0]:e;this.touchStart.x=t,this.touchStart.y=r,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:e})});xr(this,"onTouchMove",e=>{let{clientX:t,clientY:r}=e.targetTouches?e.targetTouches[0]:e,i=-(t-this.touchStart.x)*this.touchMultiplier,n=-(r-this.touchStart.y)*this.touchMultiplier;this.touchStart.x=t,this.touchStart.y=r,this.lastDelta={x:i,y:n},this.emitter.emit("scroll",{deltaX:i,deltaY:n,event:e})});xr(this,"onTouchEnd",e=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:e})});xr(this,"onWheel",e=>{let{deltaX:t,deltaY:r,deltaMode:i}=e;t*=i===1?fa:i===2?this.windowWidth:1,r*=i===1?fa:i===2?this.windowHeight:1,t*=this.wheelMultiplier,r*=this.wheelMultiplier,this.emitter.emit("scroll",{deltaX:t,deltaY:r,event:e})});xr(this,"onWindowResize",()=>{this.windowWidth=window.innerWidth,this.windowHeight=window.innerHeight});this.element=e,this.wheelMultiplier=t,this.touchMultiplier=r,this.touchStart={x:null,y:null},this.emitter=new Sn,window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,{passive:!1}),this.element.addEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.addEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.addEventListener("touchend",this.onTouchEnd,{passive:!1})}on(e,t){return this.emitter.on(e,t)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel,{passive:!1}),this.element.removeEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.removeEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.removeEventListener("touchend",this.onTouchEnd,{passive:!1})}},Tn=class{constructor({wrapper:e=window,content:t=document.documentElement,wheelEventsTarget:r=e,eventsTarget:i=r,smoothWheel:n=!0,syncTouch:o=!1,syncTouchLerp:s=.075,touchInertiaMultiplier:l=35,duration:u,easing:c=M=>Math.min(1,1.001-Math.pow(2,-10*M)),lerp:d=!u&&.1,infinite:g=!1,orientation:f="vertical",gestureOrientation:v="vertical",touchMultiplier:_=1,wheelMultiplier:y=1,autoResize:T=!0,__experimental__naiveDimensions:C=!1}={}){this.__isSmooth=!1,this.__isScrolling=!1,this.__isStopped=!1,this.__isLocked=!1,this.onVirtualScroll=({deltaX:M,deltaY:S,event:E})=>{if(E.ctrlKey)return;let O=E.type.includes("touch"),A=E.type.includes("wheel");if(this.options.syncTouch&&O&&E.type==="touchstart"&&!this.isStopped&&!this.isLocked)return void this.reset();let F=M===0&&S===0,R=this.options.gestureOrientation==="vertical"&&S===0||this.options.gestureOrientation==="horizontal"&&M===0;if(F||R)return;let D=E.composedPath();if(D=D.slice(0,D.indexOf(this.rootElement)),D.find(K=>{var le,J,Q,te,ye;return((le=K.hasAttribute)===null||le===void 0?void 0:le.call(K,"data-lenis-prevent"))||O&&((J=K.hasAttribute)===null||J===void 0?void 0:J.call(K,"data-lenis-prevent-touch"))||A&&((Q=K.hasAttribute)===null||Q===void 0?void 0:Q.call(K,"data-lenis-prevent-wheel"))||((te=K.classList)===null||te===void 0?void 0:te.contains("lenis"))&&!(!((ye=K.classList)===null||ye===void 0)&&ye.contains("lenis-stopped"))}))return;if(this.isStopped||this.isLocked)return void E.preventDefault();if(this.isSmooth=this.options.syncTouch&&O||this.options.smoothWheel&&A,!this.isSmooth)return this.isScrolling=!1,void this.animate.stop();E.preventDefault();let j=S;this.options.gestureOrientation==="both"?j=Math.abs(S)>Math.abs(M)?S:M:this.options.gestureOrientation==="horizontal"&&(j=M);let I=O&&this.options.syncTouch,ie=O&&E.type==="touchend"&&Math.abs(j)>5;ie&&(j=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+j,Object.assign({programmatic:!1},I?{lerp:ie?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}))},this.onNativeScroll=()=>{if(!this.__preventNextScrollEvent&&!this.isScrolling){let M=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.velocity=0,this.direction=Math.sign(this.animatedScroll-M),this.emit()}},window.lenisVersion="1.0.42",e!==document.documentElement&&e!==document.body||(e=window),this.options={wrapper:e,content:t,wheelEventsTarget:r,eventsTarget:i,smoothWheel:n,syncTouch:o,syncTouchLerp:s,touchInertiaMultiplier:l,duration:u,easing:c,lerp:d,infinite:g,gestureOrientation:v,orientation:f,touchMultiplier:_,wheelMultiplier:y,autoResize:T,__experimental__naiveDimensions:C},this.animate=new Po,this.emitter=new Sn,this.dimensions=new Co({wrapper:e,content:t,autoResize:T}),this.toggleClassName("lenis",!0),this.velocity=0,this.isLocked=!1,this.isStopped=!1,this.isSmooth=o||n,this.isScrolling=!1,this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.virtualScroll=new ko(i,{touchMultiplier:_,wheelMultiplier:y}),this.virtualScroll.on("scroll",this.onVirtualScroll)}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.virtualScroll.destroy(),this.dimensions.destroy(),this.toggleClassName("lenis",!1),this.toggleClassName("lenis-smooth",!1),this.toggleClassName("lenis-scrolling",!1),this.toggleClassName("lenis-stopped",!1),this.toggleClassName("lenis-locked",!1)}on(e,t){return this.emitter.on(e,t)}off(e,t){return this.emitter.off(e,t)}setScroll(e){this.isHorizontal?this.rootElement.scrollLeft=e:this.rootElement.scrollTop=e}resize(){this.dimensions.resize()}emit(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.velocity=0,this.animate.stop()}start(){this.isStopped&&(this.isStopped=!1,this.reset())}stop(){this.isStopped||(this.isStopped=!0,this.animate.stop(),this.reset())}raf(e){let t=e-(this.time||e);this.time=e,this.animate.advance(.001*t)}scrollTo(e,{offset:t=0,immediate:r=!1,lock:i=!1,duration:n=this.options.duration,easing:o=this.options.easing,lerp:s=!n&&this.options.lerp,onComplete:l,force:u=!1,programmatic:c=!0}={}){if(!this.isStopped&&!this.isLocked||u){if(["top","left","start"].includes(e))e=0;else if(["bottom","right","end"].includes(e))e=this.limit;else{let d;if(typeof e=="string"?d=document.querySelector(e):e?.nodeType&&(d=e),d){if(this.options.wrapper!==window){let f=this.options.wrapper.getBoundingClientRect();t-=this.isHorizontal?f.left:f.top}let g=d.getBoundingClientRect();e=(this.isHorizontal?g.left:g.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=ha(0,e,this.limit),r)return this.animatedScroll=this.targetScroll=e,this.setScroll(this.scroll),this.reset(),void(l==null||l(this));if(!c){if(e===this.targetScroll)return;this.targetScroll=e}this.animate.fromTo(this.animatedScroll,e,{duration:n,easing:o,lerp:s,onStart:()=>{i&&(this.isLocked=!0),this.isScrolling=!0},onUpdate:(d,g)=>{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),g||this.emit(),g&&(this.reset(),this.emit(),l?.(this),this.__preventNextScrollEvent=!0,requestAnimationFrame(()=>{delete this.__preventNextScrollEvent}))}})}}}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.__experimental__naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){return this.isHorizontal?this.rootElement.scrollLeft:this.rootElement.scrollTop}get scroll(){return this.options.infinite?(e=this.animatedScroll,t=this.limit,(e%t+t)%t):this.animatedScroll;var e,t}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.toggleClassName("lenis-smooth",e))}get isScrolling(){return this.__isScrolling}set isScrolling(e){this.__isScrolling!==e&&(this.__isScrolling=e,this.toggleClassName("lenis-scrolling",e))}get isStopped(){return this.__isStopped}set isStopped(e){this.__isStopped!==e&&(this.__isStopped=e,this.toggleClassName("lenis-stopped",e))}get isLocked(){return this.__isLocked}set isLocked(e){this.__isLocked!==e&&(this.__isLocked=e,this.toggleClassName("lenis-locked",e))}get className(){let e="lenis";return this.isStopped&&(e+=" lenis-stopped"),this.isLocked&&(e+=" lenis-locked"),this.isScrolling&&(e+=" lenis-scrolling"),this.isSmooth&&(e+=" lenis-smooth"),e}toggleClassName(e,t){this.rootElement.classList.toggle(e,t),this.emitter.emit("className change",this)}};function Sr(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function ba(a,e){a.prototype=Object.create(e.prototype),a.prototype.constructor=a,a.__proto__=e}var Bt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},bi={duration:.5,overwrite:!1,delay:0},Vo,pt,Me,Jt=1e8,Ce=1/Jt,No=Math.PI*2,Zu=No/4,Ju=0,wa=Math.sqrt,ec=Math.cos,tc=Math.sin,rt=function(e){return typeof e=="string"},We=function(e){return typeof e=="function"},Er=function(e){return typeof e=="number"},Dn=function(e){return typeof e>"u"},_r=function(e){return typeof e=="object"},Wt=function(e){return e!==!1},Go=function(){return typeof window<"u"},En=function(e){return We(e)||rt(e)},xa=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},wt=Array.isArray,Fo=/(?:-?\.?\d|\.)+/gi,$o=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Kr=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Ao=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Qo=/[+-]=-?[.\d]+/,Sa=/[^,'"\[\]\s]+/gi,rc=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ze,pr,qo,Ko,jt={},An={},Ta,Ea=function(e){return(An=wi(e,jt))&&xt},zn=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},Vi=function(e,t){return!t&&console.warn(e)},Pa=function(e,t){return e&&(jt[e]=t)&&An&&(An[e]=t)||jt},Gi=function(){return 0},ic={suppressEvents:!0,isStart:!0,kill:!1},Pn={suppressEvents:!0,kill:!1},nc={suppressEvents:!0},Zo={},Nr=[],Io={},Ca,qt={},Oo={},da=30,Cn=[],Jo="",es=function(e){var t=e[0],r,i;if(_r(t)||We(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(i=Cn.length;i--&&!Cn[i].targetTest(t););r=Cn[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new ns(e[i],r)))||e.splice(i,1);return e},Fr=function(e){return e._gsap||es(er(e))[0]._gsap},ts=function(e,t,r){return(r=e[t])&&We(r)?e[t]():Dn(r)&&e.getAttribute&&e.getAttribute(t)||r},At=function(e,t){return(e=e.split(",")).forEach(t)||e},Be=function(e){return Math.round(e*1e5)/1e5||0},$e=function(e){return Math.round(e*1e7)/1e7||0},Zr=function(e,t){var r=t.charAt(0),i=parseFloat(t.substr(2));return e=parseFloat(e),r==="+"?e+i:r==="-"?e-i:r==="*"?e*i:e/i},oc=function(e,t){for(var r=t.length,i=0;e.indexOf(t[i])<0&&++is;)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[i]=t,t._prev=o,t.parent=t._dp=e,t},Nn=function(e,t,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var n=t._prev,o=t._next;n?n._next=o:e[r]===t&&(e[r]=o),o?o._prev=n:e[i]===t&&(e[i]=n),t._next=t._prev=t.parent=null},qr=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Gr=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},lc=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Wo=function(e,t,r,i){return e._startAt&&(pt?e._startAt.revert(Pn):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,i))},uc=function a(e){return!e||e._ts&&a(e.parent)},ga=function(e){return e._repeat?xi(e._tTime,e=e.duration()+e._rDelay)*e:0},xi=function(e,t){var r=Math.floor(e=$e(e/t));return e&&r===e?r-1:r},Ln=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Fn=function(e){return e._end=$e(e._start+(e._tDur/Math.abs(e._ts||e._rts||Ce)||0))},qn=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)),Fn(e),r._dirty||Gr(r,e)),e},La=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._startCe)&&t.render(r,!0)),Gr(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-Ce}},gr=function(e,t,r,i){return t.parent&&qr(t),t._start=$e((Er(r)?r:r||e!==ze?Zt(e,r,t):e._time)+t._delay),t._end=$e(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Ma(e,t,"_first","_last",e._sort?"_start":0),Bo(t)||(e._recent=t),i||La(e,t),e._ts<0&&qn(e,e._tTime),e},Ra=function(e,t){return(jt.ScrollTrigger||zn("scrollTrigger",t))&&jt.ScrollTrigger.create(t,e)},Da=function(e,t,r,i,n){if(as(e,t,n),!e._initted)return 1;if(!r&&e._pt&&!pt&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Ca!==It.frame)return Nr.push(e),e._lazy=[n,i],1},cc=function a(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||a(t))},Bo=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},fc=function(e,t,r,i){var n=e.ratio,o=t<0||!t&&(!e._start&&cc(e)&&!(!e._initted&&Bo(e))||(e._ts<0||e._dp._ts<0)&&!Bo(e))?0:1,s=e._rDelay,l=0,u,c,d;if(s&&e._repeat&&(l=Ki(0,e._tDur,t),c=xi(l,s),e._yoyo&&c&1&&(o=1-o),c!==xi(e._tTime,s)&&(n=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==n||pt||i||e._zTime===Ce||!t&&e._zTime){if(!e._initted&&Da(e,t,i,r,l))return;for(d=e._zTime,e._zTime=t||(r?Ce:0),r||(r=t&&!d),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=l,u=e._pt;u;)u.r(o,u.d),u=u._next;t<0&&Wo(e,t,r,!0),e._onUpdate&&!r&&Ut(e,"onUpdate"),l&&e._repeat&&!r&&e.parent&&Ut(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===o&&(o&&qr(e,1),!r&&!pt&&(Ut(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},hc=function(e,t,r){var i;if(r>t)for(i=e._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>t)return i;i=i._next}else for(i=e._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start0&&!i&&qn(e,e._tTime=e._tDur*s),e.parent&&Fn(e),r||Gr(e.parent,e),e},_a=function(e){return e instanceof dt?Gr(e):Si(e,e._dur)},dc={_start:0,endTime:Gi,totalDuration:Gi},Zt=function a(e,t,r){var i=e.labels,n=e._recent||dc,o=e.duration()>=Jt?n.endTime(!1):e._dur,s,l,u;return rt(t)&&(isNaN(t)||t in i)?(l=t.charAt(0),u=t.substr(-1)==="%",s=t.indexOf("="),l==="<"||l===">"?(s>=0&&(t=t.replace(/=/,"")),(l==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(t.substr(1))||0)*(u?(s<0?n:r).totalDuration()/100:1)):s<0?(t in i||(i[t]=o),i[t]):(l=parseFloat(t.charAt(s-1)+t.substr(s+1)),u&&r&&(l=l/100*(wt(r)?r[0]:r).totalDuration()),s>1?a(e,t.substr(0,s-1),r)+l:o+l)):t==null?o:+t},Ui=function(e,t,r){var i=Er(t[1]),n=(i?2:1)+(e<2?0:1),o=t[n],s,l;if(i&&(o.duration=t[1]),o.parent=r,e){for(s=o,l=r;l&&!("immediateRender"in s);)s=l.vars.defaults||{},l=Wt(l.vars.inherit)&&l.parent;o.immediateRender=Wt(s.immediateRender),e<2?o.runBackwards=1:o.startAt=t[n-1]}return new Ue(t[0],o,t[n+1])},Ir=function(e,t){return e||e===0?t(e):t},Ki=function(e,t,r){return rt?t:r},gt=function(e,t){return!rt(e)||!(t=rc.exec(e))?"":t[1]},pc=function(e,t,r){return Ir(r,function(i){return Ki(e,t,i)})},Ho=[].slice,za=function(e,t){return e&&_r(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&_r(e[0]))&&!e.nodeType&&e!==pr},gc=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(i){var n;return rt(i)&&!t||za(i,1)?(n=r).push.apply(n,er(i)):r.push(i)})||r},er=function(e,t,r){return Me&&!t&&Me.selector?Me.selector(e):rt(e)&&!r&&(qo||!Ti())?Ho.call((t||Ko).querySelectorAll(e),0):wt(e)?gc(e,r):za(e)?Ho.call(e,0):e?[e]:[]},Yo=function(e){return e=er(e)[0]||Vi("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return er(t,r.querySelectorAll?r:r===e?Vi("Invalid scope")||Ko.createElement("div"):e)}},Na=function(e){return e.sort(function(){return .5-Math.random()})},Fa=function(e){if(We(e))return e;var t=_r(e)?e:{each:e},r=$r(t.ease),i=t.from||0,n=parseFloat(t.base)||0,o={},s=i>0&&i<1,l=isNaN(i)||s,u=t.axis,c=i,d=i;return rt(i)?c=d={center:.5,edges:.5,end:1}[i]||0:!s&&l&&(c=i[0],d=i[1]),function(g,f,v){var _=(v||t).length,y=o[_],T,C,M,S,E,O,A,F,R;if(!y){if(R=t.grid==="auto"?0:(t.grid||[1,Jt])[1],!R){for(A=-Jt;A<(A=v[R++].getBoundingClientRect().left)&&R<_;);R<_&&R--}for(y=o[_]=[],T=l?Math.min(R,_)*c-.5:i%R,C=R===Jt?0:l?_*d/R-.5:i/R|0,A=0,F=Jt,O=0;O<_;O++)M=O%R-T,S=C-(O/R|0),y[O]=E=u?Math.abs(u==="y"?S:M):wa(M*M+S*S),E>A&&(A=E),E_?_-1:u?u==="y"?_/R:R:Math.max(R,_/R))||0)*(i==="edges"?-1:1),y.b=_<0?n-_:n,y.u=gt(t.amount||t.each)||0,r=r&&_<0?ja(r):r}return _=(y[g]-y.min)/y.max||0,$e(y.b+(r?r(_):_)*y.v)+y.u}},Xo=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var i=$e(Math.round(parseFloat(r)/e)*e*t);return(i-i%1)/t+(Er(r)?0:gt(r))}},qa=function(e,t){var r=wt(e),i,n;return!r&&_r(e)&&(i=r=e.radius||Jt,e.values?(e=er(e.values),(n=!Er(e[0]))&&(i*=i)):e=Xo(e.increment)),Ir(t,r?We(e)?function(o){return n=e(o),Math.abs(n-o)<=i?n:o}:function(o){for(var s=parseFloat(n?o.x:o),l=parseFloat(n?o.y:0),u=Jt,c=0,d=e.length,g,f;d--;)n?(g=e[d].x-s,f=e[d].y-l,g=g*g+f*f):g=Math.abs(e[d]-s),gi?n-o:o)})},Ei=function(e){for(var t=0,r="",i,n,o,s;~(i=e.indexOf("random(",t));)o=e.indexOf(")",i),s=e.charAt(i+7)==="[",n=e.substr(i+7,o-i-7).match(s?Sa:Fo),r+=e.substr(t,i-t)+Ia(s?n:+n[0],s?0:+n[1],+n[2]||1e-5),t=o+1;return r+e.substr(t,e.length-t)},Ba=function(e,t,r,i,n){var o=t-e,s=i-r;return Ir(n,function(l){return r+((l-e)/o*s||0)})},wc=function a(e,t,r,i){var n=isNaN(e+t)?0:function(f){return(1-f)*e+f*t};if(!n){var o=rt(e),s={},l,u,c,d,g;if(r===!0&&(i=1)&&(r=null),o)e={p:e},t={p:t};else if(wt(e)&&!wt(t)){for(c=[],d=e.length,g=d-2,u=1;u(s=Math.abs(s))&&(l=o,n=s);return l},Ut=function(e,t,r){var i=e.vars,n=i[t],o=Me,s=e._ctx,l,u,c;if(n)return l=i[t+"Params"],u=i.callbackScope||e,r&&Nr.length&&On(),s&&(Me=s),c=l?n.apply(u,l):n.call(u),Me=o,c},Hi=function(e){return qr(e),e.scrollTrigger&&e.scrollTrigger.kill(!!pt),e.progress()<1&&Ut(e,"onInterrupt"),e},yi,Ha=[],Ya=function(e){if(e)if(e=!e.name&&e.default||e,Go()||e.headless){var t=e.name,r=We(e),i=t&&!r&&e.init?function(){this._props=[]}:e,n={init:Gi,render:cs,add:os,kill:Fc,modifier:Nc,rawVars:0},o={targetTest:0,get:0,getSetter:In,aliases:{},register:0};if(Ti(),e!==i){if(qt[t])return;Vt(i,Vt(Mn(e,n),o)),wi(i.prototype,wi(n,Mn(e,o))),qt[i.prop=t]=i,e.targetTest&&(Cn.push(i),Zo[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}Pa(t,i),e.register&&e.register(xt,i,Ot)}else Ha.push(e)},Pe=255,Yi={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]},Mo=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},Xa=function(e,t,r){var i=e?Er(e)?[e>>16,e>>8&Pe,e&Pe]:0:Yi.black,n,o,s,l,u,c,d,g,f,v;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Yi[e])i=Yi[e];else if(e.charAt(0)==="#"){if(e.length<6&&(n=e.charAt(1),o=e.charAt(2),s=e.charAt(3),e="#"+n+n+o+o+s+s+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&Pe,i&Pe,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&Pe,e&Pe]}else if(e.substr(0,3)==="hsl"){if(i=v=e.match(Fo),!t)l=+i[0]%360/360,u=+i[1]/100,c=+i[2]/100,o=c<=.5?c*(u+1):c+u-c*u,n=c*2-o,i.length>3&&(i[3]*=1),i[0]=Mo(l+1/3,n,o),i[1]=Mo(l,n,o),i[2]=Mo(l-1/3,n,o);else if(~e.indexOf("="))return i=e.match($o),r&&i.length<4&&(i[3]=1),i}else i=e.match(Fo)||Yi.transparent;i=i.map(Number)}return t&&!v&&(n=i[0]/Pe,o=i[1]/Pe,s=i[2]/Pe,d=Math.max(n,o,s),g=Math.min(n,o,s),c=(d+g)/2,d===g?l=u=0:(f=d-g,u=c>.5?f/(2-d-g):f/(d+g),l=d===n?(o-s)/f+(oe||T<0)&&(r+=T-t),i+=T,E=i-r,M=E-o,(M>0||C)&&(O=++d.frame,g=E-d.time*1e3,d.time=E=E/1e3,o+=M+(M>=n?4:n-M),S=1),C||(l=u(_)),S)for(f=0;f=T&&f--},_listeners:s},d}(),Ti=function(){return!$i&&It.wake()},ve={},Sc=/^[\d.\-M][\d.\-,\s]/,Tc=/["']/g,Ec=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),i=r[0],n=1,o=r.length,s,l,u;n1&&r.config?r.config.apply(null,~e.indexOf("{")?[Ec(t[1])]:Pc(e).split(",").map(Aa)):ve._CE&&Sc.test(e)?ve._CE("",e):r},ja=function(e){return function(t){return 1-e(1-t)}},Va=function a(e,t){for(var r=e._first,i;r;)r instanceof dt?a(r,t):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==t&&(r.timeline?a(r.timeline,t):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=t)),r=r._next},$r=function(e,t){return e&&(We(e)?e:ve[e]||Cc(e))||t},Jr=function(e,t,r,i){r===void 0&&(r=function(l){return 1-t(1-l)}),i===void 0&&(i=function(l){return l<.5?t(l*2)/2:1-t((1-l)*2)/2});var n={easeIn:t,easeOut:r,easeInOut:i},o;return At(e,function(s){ve[s]=jt[s]=n,ve[o=s.toLowerCase()]=r;for(var l in n)ve[o+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=ve[s+"."+l]=n[l]}),n},Ga=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},Lo=function a(e,t,r){var i=t>=1?t:1,n=(r||(e?.3:.45))/(t<1?t:1),o=n/No*(Math.asin(1/i)||0),s=function(c){return c===1?1:i*Math.pow(2,-10*c)*tc((c-o)*n)+1},l=e==="out"?s:e==="in"?function(u){return 1-s(1-u)}:Ga(s);return n=No/n,l.config=function(u,c){return a(e,u,c)},l},Ro=function a(e,t){t===void 0&&(t=1.70158);var r=function(o){return o?--o*o*((t+1)*o+t)+1:0},i=e==="out"?r:e==="in"?function(n){return 1-r(1-n)}:Ga(r);return i.config=function(n){return a(e,n)},i};At("Linear,Quad,Cubic,Quart,Quint,Strong",function(a,e){var t=e<5?e+1:e;Jr(a+",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})});ve.Linear.easeNone=ve.none=ve.Linear.easeIn;Jr("Elastic",Lo("in"),Lo("out"),Lo());(function(a,e){var t=1/e,r=2*t,i=2.5*t,n=function(s){return s0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,Si(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,i){if(Ti(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(qn(this,r),!n._dp||n.parent||La(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&&r0||!this._tDur&&!r)&&gr(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===Ce||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),ka(this,r,i)),this},e.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+ga(this))%(this._dur+this._rDelay)||(r?this._dur:0),i):this._time},e.totalProgress=function(r,i){return arguments.length?this.totalTime(this.totalDuration()*r,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+ga(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,i){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*n,i):this._repeat?xi(this._tTime,n)+1:1},e.timeScale=function(r,i){if(!arguments.length)return this._rts===-Ce?0:this._rts;if(this._rts===r)return this;var n=this.parent&&this._ts?Ln(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-Ce?0:this._rts,this.totalTime(Ki(-Math.abs(this._delay),this.totalDuration(),n),i!==!1),Fn(this),lc(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):(Ti(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==Ce&&(this._tTime-=Ce)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&gr(i,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(Wt(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.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?Ln(i.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=nc);var i=pt;return pt=r,rs(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),pt=i,this},e.globalTime=function(r){for(var i=this,n=arguments.length?r:i.rawTime();i;)n=i._start+n/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(r):n},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,_a(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,_a(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,i){return this.totalTime(Zt(this,r),Wt(i))},e.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,Wt(i)),this._dur||(this._zTime=-Ce),this},e.play=function(r,i){return r!=null&&this.seek(r,i),this.reversed(!1).paused(!1)},e.reverse=function(r,i){return r!=null&&this.seek(r||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(r,i){return r!=null&&this.seek(r,i),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?-Ce:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-Ce,this},e.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&&n1?(i?(o[r]=i,n&&(o[r+"Params"]=n),r==="onUpdate"&&(this._onUpdate=i)):delete o[r],this):o[r]},e.then=function(r){var i=this;return new Promise(function(n){var o=We(r)?r:Oa,s=function(){var u=i.then;i.then=null,We(o)&&(o=o(i))&&(o.then||o===i)&&(i.then=u),n(o),i.then=u};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?s():i._prom=s})},e.kill=function(){Hi(this)},a}();Vt(Qi.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:-Ce,_prom:0,_ps:!1,_rts:1});var dt=function(a){ba(e,a);function e(r,i){var n;return r===void 0&&(r={}),n=a.call(this,r)||this,n.labels={},n.smoothChildTiming=!!r.smoothChildTiming,n.autoRemoveChildren=!!r.autoRemoveChildren,n._sort=Wt(r.sortChildren),ze&&gr(r.parent||ze,Sr(n),i),r.reversed&&n.reverse(),r.paused&&n.paused(!0),r.scrollTrigger&&Ra(Sr(n),r.scrollTrigger),n}var t=e.prototype;return t.to=function(i,n,o){return Ui(0,arguments,this),this},t.from=function(i,n,o){return Ui(1,arguments,this),this},t.fromTo=function(i,n,o,s){return Ui(2,arguments,this),this},t.set=function(i,n,o){return n.duration=0,n.parent=this,Xi(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new Ue(i,n,Zt(this,o),1),this},t.call=function(i,n,o){return gr(this,Ue.delayedCall(0,i,n),o)},t.staggerTo=function(i,n,o,s,l,u,c){return o.duration=n,o.stagger=o.stagger||s,o.onComplete=u,o.onCompleteParams=c,o.parent=this,new Ue(i,o,Zt(this,l)),this},t.staggerFrom=function(i,n,o,s,l,u,c){return o.runBackwards=1,Xi(o).immediateRender=Wt(o.immediateRender),this.staggerTo(i,n,o,s,l,u,c)},t.staggerFromTo=function(i,n,o,s,l,u,c,d){return s.startAt=o,Xi(s).immediateRender=Wt(s.immediateRender),this.staggerTo(i,n,s,l,u,c,d)},t.render=function(i,n,o){var s=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,c=i<=0?0:$e(i),d=this._zTime<0!=i<0&&(this._initted||!u),g,f,v,_,y,T,C,M,S,E,O,A;if(this!==ze&&c>l&&i>=0&&(c=l),c!==this._tTime||o||d){if(s!==this._time&&u&&(c+=this._time-s,i+=this._time-s),g=c,S=this._start,M=this._ts,T=!M,d&&(u||(s=this._zTime),(i||!n)&&(this._zTime=i)),this._repeat){if(O=this._yoyo,y=u+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(y*100+i,n,o);if(g=$e(c%y),c===l?(_=this._repeat,g=u):(E=$e(c/y),_=~~E,_&&_===E&&(g=u,_--),g>u&&(g=u)),E=xi(this._tTime,y),!s&&this._tTime&&E!==_&&this._tTime-E*y-this._dur<=0&&(E=_),O&&_&1&&(g=u-g,A=1),_!==E&&!this._lock){var F=O&&E&1,R=F===(O&&_&1);if(_=s&&i>=0)for(f=this._first;f;){if(v=f._next,(f._act||g>=f._start)&&f._ts&&C!==f){if(f.parent!==this)return this.render(i,n,o);if(f.render(f._ts>0?(g-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(g-f._start)*f._ts,n,o),g!==this._time||!this._ts&&!T){C=0,v&&(c+=this._zTime=-Ce);break}}f=v}else{f=this._last;for(var D=i<0?i:g;f;){if(v=f._prev,(f._act||D<=f._end)&&f._ts&&C!==f){if(f.parent!==this)return this.render(i,n,o);if(f.render(f._ts>0?(D-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(D-f._start)*f._ts,n,o||pt&&rs(f)),g!==this._time||!this._ts&&!T){C=0,v&&(c+=this._zTime=D?-Ce:Ce);break}}f=v}}if(C&&!n&&(this.pause(),C.render(g>=s?0:-Ce)._zTime=g>=s?1:-1,this._ts))return this._start=S,Fn(this),this.render(i,n,o);this._onUpdate&&!n&&Ut(this,"onUpdate",!0),(c===l&&this._tTime>=this.totalDuration()||!c&&s)&&(S===this._start||Math.abs(M)!==Math.abs(this._ts))&&(this._lock||((i||!u)&&(c===l&&this._ts>0||!c&&this._ts<0)&&qr(this,1),!n&&!(i<0&&!s)&&(c||s||!l)&&(Ut(this,c===l&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c0)&&this._prom())))}return this},t.add=function(i,n){var o=this;if(Er(n)||(n=Zt(this,n,i)),!(i instanceof Qi)){if(wt(i))return i.forEach(function(s){return o.add(s,n)}),this;if(rt(i))return this.addLabel(i,n);if(We(i))i=Ue.delayedCall(0,i);else return this}return this!==i?gr(this,i,n):this},t.getChildren=function(i,n,o,s){i===void 0&&(i=!0),n===void 0&&(n=!0),o===void 0&&(o=!0),s===void 0&&(s=-Jt);for(var l=[],u=this._first;u;)u._start>=s&&(u instanceof Ue?n&&l.push(u):(o&&l.push(u),i&&l.push.apply(l,u.getChildren(!0,n,o)))),u=u._next;return l},t.getById=function(i){for(var n=this.getChildren(1,1,1),o=n.length;o--;)if(n[o].vars.id===i)return n[o]},t.remove=function(i){return rt(i)?this.removeLabel(i):We(i)?this.killTweensOf(i):(i.parent===this&&Nn(this,i),i===this._recent&&(this._recent=this._last),Gr(this))},t.totalTime=function(i,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=$e(It.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),a.prototype.totalTime.call(this,i,n),this._forcing=0,this):this._tTime},t.addLabel=function(i,n){return this.labels[i]=Zt(this,n),this},t.removeLabel=function(i){return delete this.labels[i],this},t.addPause=function(i,n,o){var s=Ue.delayedCall(0,n||Gi,o);return s.data="isPause",this._hasPause=1,gr(this,s,Zt(this,i))},t.removePause=function(i){var n=this._first;for(i=Zt(this,i);n;)n._start===i&&n.data==="isPause"&&qr(n),n=n._next},t.killTweensOf=function(i,n,o){for(var s=this.getTweensOf(i,o),l=s.length;l--;)zr!==s[l]&&s[l].kill(i,n);return this},t.getTweensOf=function(i,n){for(var o=[],s=er(i),l=this._first,u=Er(n),c;l;)l instanceof Ue?oc(l._targets,s)&&(u?(!zr||l._initted&&l._ts)&&l.globalTime(0)<=n&&l.globalTime(l.totalDuration())>n:!n||l.isActive())&&o.push(l):(c=l.getTweensOf(s,n)).length&&o.push.apply(o,c),l=l._next;return o},t.tweenTo=function(i,n){n=n||{};var o=this,s=Zt(o,i),l=n,u=l.startAt,c=l.onStart,d=l.onStartParams,g=l.immediateRender,f,v=Ue.to(o,Vt({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:s,overwrite:"auto",duration:n.duration||Math.abs((s-(u&&"time"in u?u.time:o._time))/o.timeScale())||Ce,onStart:function(){if(o.pause(),!f){var y=n.duration||Math.abs((s-(u&&"time"in u?u.time:o._time))/o.timeScale());v._dur!==y&&Si(v,y,0,1).render(v._time,!0,!0),f=1}c&&c.apply(v,d||[])}},n));return g?v.render(0):v},t.tweenFromTo=function(i,n,o){return this.tweenTo(n,Vt({startAt:{time:Zt(this,i)}},o))},t.recent=function(){return this._recent},t.nextLabel=function(i){return i===void 0&&(i=this._time),ma(this,Zt(this,i))},t.previousLabel=function(i){return i===void 0&&(i=this._time),ma(this,Zt(this,i),1)},t.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+Ce)},t.shiftChildren=function(i,n,o){o===void 0&&(o=0);for(var s=this._first,l=this.labels,u;s;)s._start>=o&&(s._start+=i,s._end+=i),s=s._next;if(n)for(u in l)l[u]>=o&&(l[u]+=i);return Gr(this)},t.invalidate=function(i){var n=this._first;for(this._lock=0;n;)n.invalidate(i),n=n._next;return a.prototype.invalidate.call(this,i)},t.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={}),Gr(this)},t.totalDuration=function(i){var n=0,o=this,s=o._last,l=Jt,u,c,d;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-i:i));if(o._dirty){for(d=o.parent;s;)u=s._prev,s._dirty&&s.totalDuration(),c=s._start,c>l&&o._sort&&s._ts&&!o._lock?(o._lock=1,gr(o,s,c-s._delay,1)._lock=0):l=c,c<0&&s._ts&&(n-=c,(!d&&!o._dp||d&&d.smoothChildTiming)&&(o._start+=c/o._ts,o._time-=c,o._tTime-=c),o.shiftChildren(-c,!1,-1/0),l=0),s._end>n&&s._ts&&(n=s._end),s=u;Si(o,o===ze&&o._time>n?o._time:n,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(i){if(ze._ts&&(ka(ze,Ln(i,ze)),Ca=It.frame),It.frame>=da){da+=Bt.autoSleep||120;var n=ze._first;if((!n||!n._ts)&&Bt.autoSleep&&It._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||It.sleep()}}},e}(Qi);Vt(dt.prototype,{_lock:0,_hasPause:0,_forcing:0});var kc=function(e,t,r,i,n,o,s){var l=new Ot(this._pt,e,t,0,1,us,null,n),u=0,c=0,d,g,f,v,_,y,T,C;for(l.b=r,l.e=i,r+="",i+="",(T=~i.indexOf("random("))&&(i=Ei(i)),o&&(C=[r,i],o(C,e,t),r=C[0],i=C[1]),g=r.match(Ao)||[];d=Ao.exec(i);)v=d[0],_=i.substring(u,d.index),f?f=(f+1)%5:_.substr(-5)==="rgba("&&(f=1),v!==g[c++]&&(y=parseFloat(g[c-1])||0,l._pt={_next:l._pt,p:_||c===1?_:",",s:y,c:v.charAt(1)==="="?Zr(y,v)-y:parseFloat(v)-y,m:f&&f<4?Math.round:0},u=Ao.lastIndex);return l.c=u")}),S.duration();else{O={};for(F in v)F==="ease"||F==="easeEach"||Lc(F,v[F],O,v.easeEach);for(F in O)for(ie=O[F].sort(function(J,Q){return J.t-Q.t}),I=0,E=0;El-Ce&&!c?l:iu&&(g=u)),T=this._yoyo&&v&1,T&&(S=this._yEase,g=u-g),y=xi(this._tTime,_),g===s&&!o&&this._initted&&v===y)return this._tTime=d,this;v!==y&&(M&&this._yEase&&Va(M,T),this.vars.repeatRefresh&&!T&&!this._lock&&g!==_&&this._initted&&(this._lock=o=1,this.render($e(_*v),!0).invalidate()._lock=0))}if(!this._initted){if(Da(this,c?i:g,o,n,d))return this._tTime=0,this;if(s!==this._time&&!(o&&this.vars.repeatRefresh&&v!==y))return this;if(u!==this._dur)return this.render(i,n,o)}if(this._tTime=d,this._time=g,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=C=(S||this._ease)(g/u),this._from&&(this.ratio=C=1-C),!s&&d&&!n&&!y&&(Ut(this,"onStart"),this._tTime!==d))return this;for(f=this._pt;f;)f.r(C,f.d),f=f._next;M&&M.render(i<0?i:M._dur*M._ease(g/this._dur),n,o)||this._startAt&&(this._zTime=i),this._onUpdate&&!n&&(c&&Wo(this,i,n,o),Ut(this,"onUpdate")),this._repeat&&v!==y&&this.vars.onRepeat&&!n&&this.parent&&Ut(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(c&&!this._onUpdate&&Wo(this,i,!0,!0),(i||!u)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&qr(this,1),!n&&!(c&&!s)&&(d||s||T)&&(Ut(this,d===l?"onComplete":"onReverseComplete",!0),this._prom&&!(d0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.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),a.prototype.invalidate.call(this,i)},t.resetTo=function(i,n,o,s,l){$i||It.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||as(this,u),c=this._ease(u/this._dur),Oc(this,i,n,o,s,c,u,l)?this.resetTo(i,n,o,s,1):(qn(this,0),this.parent||Ma(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(i,n){if(n===void 0&&(n="all"),!i&&(!n||n==="all"))return this._lazy=this._pt=0,this.parent?Hi(this):this.scrollTrigger&&this.scrollTrigger.kill(!!pt),this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(i,n,zr&&zr.vars.overwrite!==!0)._first||Hi(this),this.parent&&o!==this.timeline.totalDuration()&&Si(this,this._dur*this.timeline._tDur/o,0,1),this}var s=this._targets,l=i?er(i):s,u=this._ptLookup,c=this._pt,d,g,f,v,_,y,T;if((!n||n==="all")&&ac(s,l))return n==="all"&&(this._pt=0),Hi(this);for(d=this._op=this._op||[],n!=="all"&&(rt(n)&&(_={},At(n,function(C){return _[C]=1}),n=_),n=Mc(s,n)),T=s.length;T--;)if(~l.indexOf(s[T])){g=u[T],n==="all"?(d[T]=n,v=g,f={}):(f=d[T]=d[T]||{},v=n);for(_ in v)y=g&&g[_],y&&((!("kill"in y.d)||y.d.kill(_)===!0)&&Nn(this,y,"_pt"),delete g[_]),f!=="all"&&(f[_]=1)}return this._initted&&!this._pt&&c&&Hi(this),this},e.to=function(i,n){return new e(i,n,arguments[2])},e.from=function(i,n){return Ui(1,arguments)},e.delayedCall=function(i,n,o,s){return new e(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:n,onReverseComplete:n,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:s})},e.fromTo=function(i,n,o){return Ui(2,arguments)},e.set=function(i,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new e(i,n)},e.killTweensOf=function(i,n,o){return ze.killTweensOf(i,n,o)},e}(Qi);Vt(Ue.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});At("staggerTo,staggerFrom,staggerFromTo",function(a){Ue[a]=function(){var e=new dt,t=Ho.call(arguments,0);return t.splice(a==="staggerFromTo"?5:4,0,0),e[a].apply(e,t)}});var ls=function(e,t,r){return e[t]=r},Ka=function(e,t,r){return e[t](r)},Rc=function(e,t,r,i){return e[t](i.fp,r)},Dc=function(e,t,r){return e.setAttribute(t,r)},In=function(e,t){return We(e[t])?Ka:Dn(e[t])&&e.setAttribute?Dc:ls},Za=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},zc=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},us=function(e,t){var r=t._pt,i="";if(!e&&t.b)i=t.b;else if(e===1&&t.e)i=t.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+i,r=r._next;i+=t.c}t.set(t.t,t.p,i,t)},cs=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},Nc=function(e,t,r,i){for(var n=this._pt,o;n;)o=n._next,n.p===i&&n.modifier(e,t,r),n=o},Fc=function(e){for(var t=this._pt,r,i;t;)i=t._next,t.p===e&&!t.op||t.op===e?Nn(this,t,"_pt"):t.dep||(r=1),t=i;return!r},qc=function(e,t,r,i){i.mSet(e,t,i.m.call(i.tween,r,i.mt),i)},fs=function(e){for(var t=e._pt,r,i,n,o;t;){for(r=t._next,i=n;i&&i.pr>t.pr;)i=i._next;(t._prev=i?i._prev:o)?t._prev._next=t:n=t,(t._next=i)?i._prev=t:o=t,t=r}e._pt=n},Ot=function(){function a(t,r,i,n,o,s,l,u,c){this.t=r,this.s=n,this.c=o,this.p=i,this.r=s||Za,this.d=l||this,this.set=u||ls,this.pr=c||0,this._next=t,t&&(t._prev=this)}var e=a.prototype;return e.modifier=function(r,i,n){this.mSet=this.mSet||this.set,this.set=qc,this.m=r,this.mt=n,this.tween=i},a}();At(Jo+"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(a){return Zo[a]=1});jt.TweenMax=jt.TweenLite=Ue;jt.TimelineLite=jt.TimelineMax=dt;ze=new dt({sortChildren:!1,defaults:bi,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Bt.stringFilter=is;var Qr=[],kn={},Ic=[],ya=0,Wc=0,Do=function(e){return(kn[e]||Ic).map(function(t){return t()})},jo=function(){var e=Date.now(),t=[];e-ya>2&&(Do("matchMediaInit"),Qr.forEach(function(r){var i=r.queries,n=r.conditions,o,s,l,u;for(s in i)o=pr.matchMedia(i[s]).matches,o&&(l=1),o!==n[s]&&(n[s]=o,u=1);u&&(r.revert(),l&&t.push(r))}),Do("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(i){return r.add(null,i)})}),ya=e,Do("matchMedia"))},Ja=function(){function a(t,r){this.selector=r&&Yo(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Wc++,t&&this.add(t)}var e=a.prototype;return e.add=function(r,i,n){We(r)&&(n=i,i=r,r=We);var o=this,s=function(){var u=Me,c=o.selector,d;return u&&u!==o&&u.data.push(o),n&&(o.selector=Yo(n)),Me=o,d=i.apply(o,arguments),We(d)&&o._r.push(d),Me=u,o.selector=c,o.isReverted=!1,d};return o.last=s,r===We?s(o,function(l){return o.add(null,l)}):r?o[r]=s:s},e.ignore=function(r){var i=Me;Me=null,r(this),Me=i},e.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof a?r.push.apply(r,i.getTweens()):i instanceof Ue&&!(i.parent&&i.parent.data==="nested")&&r.push(i)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,i){var n=this;if(r?function(){for(var s=n.getTweens(),l=n.data.length,u;l--;)u=n.data[l],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(c){return s.splice(s.indexOf(c),1)}));for(s.map(function(c){return{g:c._dur||c._delay||c._sat&&!c._sat.vars.immediateRender?c.globalTime(0):-1/0,t:c}}).sort(function(c,d){return d.g-c.g||-1/0}).forEach(function(c){return c.t.revert(r)}),l=n.data.length;l--;)u=n.data[l],u instanceof dt?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof Ue)&&u.revert&&u.revert(r);n._r.forEach(function(c){return c(r,n)}),n.isReverted=!0}():this.data.forEach(function(s){return s.kill&&s.kill()}),this.clear(),i)for(var o=Qr.length;o--;)Qr[o].id===this.id&&Qr.splice(o,1)},e.revert=function(r){this.kill(r||{})},a}(),Bc=function(){function a(t){this.contexts=[],this.scope=t,Me&&Me.data.push(this)}var e=a.prototype;return e.add=function(r,i,n){_r(r)||(r={matches:r});var o=new Ja(0,n||this.scope),s=o.conditions={},l,u,c;Me&&!o.selector&&(o.selector=Me.selector),this.contexts.push(o),i=o.add("onMatch",i),o.queries=r;for(u in r)u==="all"?c=1:(l=pr.matchMedia(r[u]),l&&(Qr.indexOf(o)<0&&Qr.push(o),(s[u]=l.matches)&&(c=1),l.addListener?l.addListener(jo):l.addEventListener("change",jo)));return c&&i(o,function(d){return o.add(null,d)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},a}(),Rn={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),r=0;r1){var i=e.map(function(c){return xt.quickSetter(c,t,r)}),n=i.length;return function(c){for(var d=n;d--;)i[d](c)}}e=e[0]||{};var o=qt[t],s=Fr(e),l=s.harness&&(s.harness.aliases||{})[t]||t,u=o?function(c){var d=new o;yi._pt=0,d.init(e,r?c+r:c,yi,0,[e]),d.render(1,d),yi._pt&&cs(1,yi)}:s.set(e,l);return o?u:function(c){return u(e,l,r?c+r:c,s,1)}},quickTo:function(e,t,r){var i,n=xt.to(e,Vt((i={},i[t]="+=0.1",i.paused=!0,i.stagger=0,i),r||{})),o=function(l,u,c){return n.resetTo(t,l,u,c)};return o.tween=n,o},isTweening:function(e){return ze.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=$r(e.ease,bi.ease)),pa(bi,e||{})},config:function(e){return pa(Bt,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,i=e.plugins,n=e.defaults,o=e.extendTimeline;(i||"").split(",").forEach(function(s){return s&&!qt[s]&&!jt[s]&&Vi(t+" effect requires "+s+" plugin.")}),Oo[t]=function(s,l,u){return r(er(s),Vt(l||{},n),u)},o&&(dt.prototype[t]=function(s,l,u){return this.add(Oo[t](s,_r(l)?l:(u=l)&&{},this),u)})},registerEase:function(e,t){ve[e]=$r(t)},parseEase:function(e,t){return arguments.length?$r(e,t):ve},getById:function(e){return ze.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new dt(e),i,n;for(r.smoothChildTiming=Wt(e.smoothChildTiming),ze.remove(r),r._dp=0,r._time=r._tTime=ze._time,i=ze._first;i;)n=i._next,(t||!(!i._dur&&i instanceof Ue&&i.vars.onComplete===i._targets[0]))&&gr(r,i,i._start-i._delay),i=n;return gr(ze,r,0),r},context:function(e,t){return e?new Ja(e,t):Me},matchMedia:function(e){return new Bc(e)},matchMediaRefresh:function(){return Qr.forEach(function(e){var t=e.conditions,r,i;for(i in t)t[i]&&(t[i]=!1,r=1);r&&e.revert()})||jo()},addEventListener:function(e,t){var r=kn[e]||(kn[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=kn[e],i=r&&r.indexOf(t);i>=0&&r.splice(i,1)},utils:{wrap:yc,wrapYoyo:bc,distribute:Fa,random:Ia,snap:qa,normalize:vc,getUnit:gt,clamp:pc,splitColor:Xa,toArray:er,selector:Yo,mapRange:Ba,pipe:_c,unitize:mc,interpolate:wc,shuffle:Na},install:Ea,effects:Oo,ticker:It,updateRoot:dt.updateRoot,plugins:qt,globalTimeline:ze,core:{PropTween:Ot,globals:Pa,Tween:Ue,Timeline:dt,Animation:Qi,getCache:Fr,_removeLinkedListItem:Nn,reverting:function(){return pt},context:function(e){return e&&Me&&(Me.data.push(e),e._ctx=Me),Me},suppressOverwrites:function(e){return Vo=e}}};At("to,from,fromTo,delayedCall,set,killTweensOf",function(a){return Rn[a]=Ue[a]});It.add(dt.updateRoot);yi=Rn.to({},{duration:0});var Hc=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},Yc=function(e,t){var r=e._targets,i,n,o;for(i in t)for(n=r.length;n--;)o=e._ptLookup[n][i],o&&(o=o.d)&&(o._pt&&(o=Hc(o,i)),o&&o.modifier&&o.modifier(t[i],e,r[n],i))},zo=function(e,t){return{name:e,headless:1,rawVars:1,init:function(i,n,o){o._onInit=function(s){var l,u;if(rt(n)&&(l={},At(n,function(c){return l[c]=1}),n=l),t){l={};for(u in n)l[u]=t(n[u]);n=l}Yc(s,n)}}}},xt=Rn.registerPlugin({name:"attr",init:function(e,t,r,i,n){var o,s,l;this.tween=r;for(o in t)l=e.getAttribute(o)||"",s=this.add(e,"setAttribute",(l||0)+"",t[o],i,n,0,0,o),s.op=o,s.b=l,this._props.push(o)},render:function(e,t){for(var r=t._pt;r;)pt?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",headless:1,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)}},zo("roundProps",Xo),zo("modifiers"),zo("snap",qa))||Rn;Ue.version=dt.version=xt.version="3.13.0";Ta=1;Go()&&Ti();var Xc=ve.Power0,Uc=ve.Power1,jc=ve.Power2,Vc=ve.Power3,Gc=ve.Power4,$c=ve.Linear,Qc=ve.Quad,Kc=ve.Cubic,Zc=ve.Quart,Jc=ve.Quint,ef=ve.Strong,tf=ve.Elastic,rf=ve.Back,nf=ve.SteppedEase,of=ve.Bounce,sf=ve.Sine,af=ve.Expo,lf=ve.Circ;var el,Wr,Ci,ms,ii,uf,tl,vs,cf=function(){return typeof window<"u"},Cr={},ri=180/Math.PI,ki=Math.PI/180,Pi=Math.atan2,rl=1e8,ys=/([A-Z])/g,ff=/(left|right|width|margin|padding|x)/i,hf=/[\s,\(]\S/,mr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},ds=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},df=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)},pf=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)},gf=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},cl=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},fl=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},_f=function(e,t,r){return e.style[t]=r},mf=function(e,t,r){return e.style.setProperty(t,r)},vf=function(e,t,r){return e._gsap[t]=r},yf=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},bf=function(e,t,r,i,n){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(n,o)},wf=function(e,t,r,i,n){var o=e._gsap;o[t]=r,o.renderTransform(n,o)},Ne="transform",Ht=Ne+"Origin",xf=function a(e,t){var r=this,i=this.target,n=i.style,o=i._gsap;if(e in Cr&&n){if(this.tfm=this.tfm||{},e!=="transform")e=mr[e]||e,~e.indexOf(",")?e.split(",").forEach(function(s){return r.tfm[s]=Pr(i,s)}):this.tfm[e]=o.x?o[e]:Pr(i,e),e===Ht&&(this.tfm.zOrigin=o.zOrigin);else return mr.transform.split(",").forEach(function(s){return a.call(r,s,t)});if(this.props.indexOf(Ne)>=0)return;o.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(Ht,t,"")),e=Ne}(n||t)&&this.props.push(e,t,n[e])},hl=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Sf=function(){var e=this.props,t=this.target,r=t.style,i=t._gsap,n,o;for(n=0;n=0?il[o]:"")+e},gs=function(){cf()&&window.document&&(el=window,Wr=el.document,Ci=Wr.documentElement,ii=ps("div")||{style:{}},uf=ps("div"),Ne=Ai(Ne),Ht=Ne+"Origin",ii.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",pl=!!Ai("perspective"),vs=xt.core.reverting,ms=1)},nl=function(e){var t=e.ownerSVGElement,r=ps("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),n;i.style.display="block",r.appendChild(i),Ci.appendChild(r);try{n=i.getBBox()}catch{}return r.removeChild(i),Ci.removeChild(r),n},ol=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},gl=function(e){var t,r;try{t=e.getBBox()}catch{t=nl(e),r=1}return t&&(t.width||t.height)||r||(t=nl(e)),t&&!t.width&&!t.x&&!t.y?{x:+ol(e,["x","cx","x1"])||0,y:+ol(e,["y","cy","y1"])||0,width:0,height:0}:t},_l=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&gl(e))},ni=function(e,t){if(t){var r=e.style,i;t in Cr&&t!==Ht&&(t=Ne),r.removeProperty?(i=t.substr(0,2),(i==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(i==="--"?t:t.replace(ys,"-$1").toLowerCase())):r.removeAttribute(t)}},Br=function(e,t,r,i,n,o){var s=new Ot(e._pt,t,r,0,1,o?fl:cl);return e._pt=s,s.b=i,s.e=n,e._props.push(r),s},sl={deg:1,rad:1,turn:1},Tf={grid:1,flex:1},Hr=function a(e,t,r,i){var n=parseFloat(r)||0,o=(r+"").trim().substr((n+"").length)||"px",s=ii.style,l=ff.test(t),u=e.tagName.toLowerCase()==="svg",c=(u?"client":"offset")+(l?"Width":"Height"),d=100,g=i==="px",f=i==="%",v,_,y,T;if(i===o||!n||sl[i]||sl[o])return n;if(o!=="px"&&!g&&(n=a(e,t,r,"px")),T=e.getCTM&&_l(e),(f||o==="%")&&(Cr[t]||~t.indexOf("adius")))return v=T?e.getBBox()[l?"width":"height"]:e[c],Be(f?n/v*d:n/100*v);if(s[l?"width":"height"]=d+(g?o:i),_=i!=="rem"&&~t.indexOf("adius")||i==="em"&&e.appendChild&&!u?e:e.parentNode,T&&(_=(e.ownerSVGElement||{}).parentNode),(!_||_===Wr||!_.appendChild)&&(_=Wr.body),y=_._gsap,y&&f&&y.width&&l&&y.time===It.time&&!y.uncache)return Be(n/y.width*d);if(f&&(t==="height"||t==="width")){var C=e.style[t];e.style[t]=d+i,v=e[c],C?e.style[t]=C:ni(e,t)}else(f||o==="%")&&!Tf[tr(_,"display")]&&(s.position=tr(e,"position")),_===e&&(s.position="static"),_.appendChild(ii),v=ii[c],_.removeChild(ii),s.position="absolute";return l&&f&&(y=Fr(_),y.time=It.time,y.width=_[c]),Be(g?v*n/d:v&&n?d/v*n:0)},Pr=function(e,t,r,i){var n;return ms||gs(),t in mr&&t!=="transform"&&(t=mr[t],~t.indexOf(",")&&(t=t.split(",")[0])),Cr[t]&&t!=="transform"?(n=en(e,i),n=t!=="transformOrigin"?n[t]:n.svg?n.origin:Bn(tr(e,Ht))+" "+n.zOrigin+"px"):(n=e.style[t],(!n||n==="auto"||i||~(n+"").indexOf("calc("))&&(n=Wn[t]&&Wn[t](e,t,r)||tr(e,t)||ts(e,t)||(t==="opacity"?1:0))),r&&!~(n+"").trim().indexOf(" ")?Hr(e,t,n,r)+r:n},Ef=function(e,t,r,i){if(!r||r==="none"){var n=Ai(t,e,1),o=n&&tr(e,n,1);o&&o!==r?(t=n,r=o):t==="borderColor"&&(r=tr(e,"borderTopColor"))}var s=new Ot(this._pt,e.style,t,0,1,us),l=0,u=0,c,d,g,f,v,_,y,T,C,M,S,E;if(s.b=r,s.e=i,r+="",i+="",i.substring(0,6)==="var(--"&&(i=tr(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(_=e.style[t],e.style[t]=i,i=tr(e,t)||i,_?e.style[t]=_:ni(e,t)),c=[r,i],is(c),r=c[0],i=c[1],g=r.match(Kr)||[],E=i.match(Kr)||[],E.length){for(;d=Kr.exec(i);)y=d[0],C=i.substring(l,d.index),v?v=(v+1)%5:(C.substr(-5)==="rgba("||C.substr(-5)==="hsla(")&&(v=1),y!==(_=g[u++]||"")&&(f=parseFloat(_)||0,S=_.substr((f+"").length),y.charAt(1)==="="&&(y=Zr(f,y)+S),T=parseFloat(y),M=y.substr((T+"").length),l=Kr.lastIndex-M.length,M||(M=M||Bt.units[t]||S,l===i.length&&(i+=M,s.e+=M)),S!==M&&(f=Hr(e,t,_,M)||0),s._pt={_next:s._pt,p:C||u===1?C:",",s:f,c:T-f,m:v&&v<4||t==="zIndex"?Math.round:0});s.c=l-1;)s=n[u],Cr[s]&&(l=1,s=s==="transformOrigin"?Ht:Ne),ni(r,s);l&&(ni(r,Ne),o&&(o.svg&&r.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",en(r,1),o.uncache=1,hl(i)))}},Wn={clearProps:function(e,t,r,i,n){if(n.data!=="isFromStart"){var o=e._pt=new Ot(e._pt,t,r,0,0,Cf);return o.u=i,o.pr=-10,o.tween=n,e._props.push(r),1}}},Ji=[1,0,0,1,0,0],ml={},vl=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},ll=function(e){var t=tr(e,Ne);return vl(t)?Ji:t.substr(7).match($o).map(Be)},bs=function(e,t){var r=e._gsap||Fr(e),i=e.style,n=ll(e),o,s,l,u;return r.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,n=[l.a,l.b,l.c,l.d,l.e,l.f],n.join(",")==="1,0,0,1,0,0"?Ji:n):(n===Ji&&!e.offsetParent&&e!==Ci&&!r.svg&&(l=i.display,i.display="block",o=e.parentNode,(!o||!e.offsetParent&&!e.getBoundingClientRect().width)&&(u=1,s=e.nextElementSibling,Ci.appendChild(e)),n=ll(e),l?i.display=l:ni(e,"display"),u&&(s?o.insertBefore(e,s):o?o.appendChild(e):Ci.removeChild(e))),t&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},_s=function(e,t,r,i,n,o){var s=e._gsap,l=n||bs(e,!0),u=s.xOrigin||0,c=s.yOrigin||0,d=s.xOffset||0,g=s.yOffset||0,f=l[0],v=l[1],_=l[2],y=l[3],T=l[4],C=l[5],M=t.split(" "),S=parseFloat(M[0])||0,E=parseFloat(M[1])||0,O,A,F,R;r?l!==Ji&&(A=f*y-v*_)&&(F=S*(y/A)+E*(-_/A)+(_*C-y*T)/A,R=S*(-v/A)+E*(f/A)-(f*C-v*T)/A,S=F,E=R):(O=gl(e),S=O.x+(~M[0].indexOf("%")?S/100*O.width:S),E=O.y+(~(M[1]||M[0]).indexOf("%")?E/100*O.height:E)),i||i!==!1&&s.smooth?(T=S-u,C=E-c,s.xOffset=d+(T*f+C*_)-T,s.yOffset=g+(T*v+C*y)-C):s.xOffset=s.yOffset=0,s.xOrigin=S,s.yOrigin=E,s.smooth=!!i,s.origin=t,s.originIsAbsolute=!!r,e.style[Ht]="0px 0px",o&&(Br(o,s,"xOrigin",u,S),Br(o,s,"yOrigin",c,E),Br(o,s,"xOffset",d,s.xOffset),Br(o,s,"yOffset",g,s.yOffset)),e.setAttribute("data-svg-origin",S+" "+E)},en=function(e,t){var r=e._gsap||new ns(e);if("x"in r&&!t&&!r.uncache)return r;var i=e.style,n=r.scaleX<0,o="px",s="deg",l=getComputedStyle(e),u=tr(e,Ht)||"0",c,d,g,f,v,_,y,T,C,M,S,E,O,A,F,R,D,j,I,ie,K,le,J,Q,te,ye,x,Te,lt,Yt,Ae,Ze;return c=d=g=_=y=T=C=M=S=0,f=v=1,r.svg=!!(e.getCTM&&_l(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[Ne]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[Ne]!=="none"?l[Ne]:"")),i.scale=i.rotate=i.translate="none"),A=bs(e,r.svg),r.svg&&(r.uncache?(te=e.getBBox(),u=r.xOrigin-te.x+"px "+(r.yOrigin-te.y)+"px",Q=""):Q=!t&&e.getAttribute("data-svg-origin"),_s(e,Q||u,!!Q||r.originIsAbsolute,r.smooth!==!1,A)),E=r.xOrigin||0,O=r.yOrigin||0,A!==Ji&&(j=A[0],I=A[1],ie=A[2],K=A[3],c=le=A[4],d=J=A[5],A.length===6?(f=Math.sqrt(j*j+I*I),v=Math.sqrt(K*K+ie*ie),_=j||I?Pi(I,j)*ri:0,C=ie||K?Pi(ie,K)*ri+_:0,C&&(v*=Math.abs(Math.cos(C*ki))),r.svg&&(c-=E-(E*j+O*ie),d-=O-(E*I+O*K))):(Ze=A[6],Yt=A[7],x=A[8],Te=A[9],lt=A[10],Ae=A[11],c=A[12],d=A[13],g=A[14],F=Pi(Ze,lt),y=F*ri,F&&(R=Math.cos(-F),D=Math.sin(-F),Q=le*R+x*D,te=J*R+Te*D,ye=Ze*R+lt*D,x=le*-D+x*R,Te=J*-D+Te*R,lt=Ze*-D+lt*R,Ae=Yt*-D+Ae*R,le=Q,J=te,Ze=ye),F=Pi(-ie,lt),T=F*ri,F&&(R=Math.cos(-F),D=Math.sin(-F),Q=j*R-x*D,te=I*R-Te*D,ye=ie*R-lt*D,Ae=K*D+Ae*R,j=Q,I=te,ie=ye),F=Pi(I,j),_=F*ri,F&&(R=Math.cos(F),D=Math.sin(F),Q=j*R+I*D,te=le*R+J*D,I=I*R-j*D,J=J*R-le*D,j=Q,le=te),y&&Math.abs(y)+Math.abs(_)>359.9&&(y=_=0,T=180-T),f=Be(Math.sqrt(j*j+I*I+ie*ie)),v=Be(Math.sqrt(J*J+Ze*Ze)),F=Pi(le,J),C=Math.abs(F)>2e-4?F*ri:0,S=Ae?1/(Ae<0?-Ae:Ae):0),r.svg&&(Q=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!vl(tr(e,Ne)),Q&&e.setAttribute("transform",Q))),Math.abs(C)>90&&Math.abs(C)<270&&(n?(f*=-1,C+=_<=0?180:-180,_+=_<=0?180:-180):(v*=-1,C+=C<=0?180:-180)),t=t||r.uncache,r.x=c-((r.xPercent=c&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-c)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+o,r.y=d-((r.yPercent=d&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-d)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+o,r.z=g+o,r.scaleX=Be(f),r.scaleY=Be(v),r.rotation=Be(_)+s,r.rotationX=Be(y)+s,r.rotationY=Be(T)+s,r.skewX=C+s,r.skewY=M+s,r.transformPerspective=S+o,(r.zOrigin=parseFloat(u.split(" ")[2])||!t&&r.zOrigin||0)&&(i[Ht]=Bn(u)),r.xOffset=r.yOffset=0,r.force3D=Bt.force3D,r.renderTransform=r.svg?Af:pl?yl:kf,r.uncache=0,r},Bn=function(e){return(e=e.split(" "))[0]+" "+e[1]},hs=function(e,t,r){var i=gt(t);return Be(parseFloat(t)+parseFloat(Hr(e,"x",r+"px",i)))+i},kf=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,yl(e,t)},ei="0deg",Zi="0px",ti=") ",yl=function(e,t){var r=t||this,i=r.xPercent,n=r.yPercent,o=r.x,s=r.y,l=r.z,u=r.rotation,c=r.rotationY,d=r.rotationX,g=r.skewX,f=r.skewY,v=r.scaleX,_=r.scaleY,y=r.transformPerspective,T=r.force3D,C=r.target,M=r.zOrigin,S="",E=T==="auto"&&e&&e!==1||T===!0;if(M&&(d!==ei||c!==ei)){var O=parseFloat(c)*ki,A=Math.sin(O),F=Math.cos(O),R;O=parseFloat(d)*ki,R=Math.cos(O),o=hs(C,o,A*R*-M),s=hs(C,s,-Math.sin(O)*-M),l=hs(C,l,F*R*-M+M)}y!==Zi&&(S+="perspective("+y+ti),(i||n)&&(S+="translate("+i+"%, "+n+"%) "),(E||o!==Zi||s!==Zi||l!==Zi)&&(S+=l!==Zi||E?"translate3d("+o+", "+s+", "+l+") ":"translate("+o+", "+s+ti),u!==ei&&(S+="rotate("+u+ti),c!==ei&&(S+="rotateY("+c+ti),d!==ei&&(S+="rotateX("+d+ti),(g!==ei||f!==ei)&&(S+="skew("+g+", "+f+ti),(v!==1||_!==1)&&(S+="scale("+v+", "+_+ti),C.style[Ne]=S||"translate(0, 0)"},Af=function(e,t){var r=t||this,i=r.xPercent,n=r.yPercent,o=r.x,s=r.y,l=r.rotation,u=r.skewX,c=r.skewY,d=r.scaleX,g=r.scaleY,f=r.target,v=r.xOrigin,_=r.yOrigin,y=r.xOffset,T=r.yOffset,C=r.forceCSS,M=parseFloat(o),S=parseFloat(s),E,O,A,F,R;l=parseFloat(l),u=parseFloat(u),c=parseFloat(c),c&&(c=parseFloat(c),u+=c,l+=c),l||u?(l*=ki,u*=ki,E=Math.cos(l)*d,O=Math.sin(l)*d,A=Math.sin(l-u)*-g,F=Math.cos(l-u)*g,u&&(c*=ki,R=Math.tan(u-c),R=Math.sqrt(1+R*R),A*=R,F*=R,c&&(R=Math.tan(c),R=Math.sqrt(1+R*R),E*=R,O*=R)),E=Be(E),O=Be(O),A=Be(A),F=Be(F)):(E=d,F=g,O=A=0),(M&&!~(o+"").indexOf("px")||S&&!~(s+"").indexOf("px"))&&(M=Hr(f,"x",o,"px"),S=Hr(f,"y",s,"px")),(v||_||y||T)&&(M=Be(M+v-(v*E+_*A)+y),S=Be(S+_-(v*O+_*F)+T)),(i||n)&&(R=f.getBBox(),M=Be(M+i/100*R.width),S=Be(S+n/100*R.height)),R="matrix("+E+","+O+","+A+","+F+","+M+","+S+")",f.setAttribute("transform",R),C&&(f.style[Ne]=R)},Of=function(e,t,r,i,n){var o=360,s=rt(n),l=parseFloat(n)*(s&&~n.indexOf("rad")?ri:1),u=l-i,c=i+u+"deg",d,g;return s&&(d=n.split("_")[1],d==="short"&&(u%=o,u!==u%(o/2)&&(u+=u<0?o:-o)),d==="cw"&&u<0?u=(u+o*rl)%o-~~(u/o)*o:d==="ccw"&&u>0&&(u=(u-o*rl)%o-~~(u/o)*o)),e._pt=g=new Ot(e._pt,t,r,i,u,df),g.e=c,g.u="deg",e._props.push(r),g},ul=function(e,t){for(var r in t)e[r]=t[r];return e},Mf=function(e,t,r){var i=ul({},r._gsap),n="perspective,force3D,transformOrigin,svgOrigin",o=r.style,s,l,u,c,d,g,f,v;i.svg?(u=r.getAttribute("transform"),r.setAttribute("transform",""),o[Ne]=t,s=en(r,1),ni(r,Ne),r.setAttribute("transform",u)):(u=getComputedStyle(r)[Ne],o[Ne]=t,s=en(r,1),o[Ne]=u);for(l in Cr)u=i[l],c=s[l],u!==c&&n.indexOf(l)<0&&(f=gt(u),v=gt(c),d=f!==v?Hr(r,l,u,v):parseFloat(u),g=parseFloat(c),e._pt=new Ot(e._pt,s,l,d,g-d,ds),e._pt.u=v||0,e._props.push(l));ul(s,i)};At("padding,margin,Width,Radius",function(a,e){var t="Top",r="Right",i="Bottom",n="Left",o=(e<3?[t,r,i,n]:[t+n,t+r,i+r,i+n]).map(function(s){return e<2?a+s:"border"+s+a});Wn[e>1?"border"+a:a]=function(s,l,u,c,d){var g,f;if(arguments.length<4)return g=o.map(function(v){return Pr(s,v,u)}),f=g.join(" "),f.split(g[0]).length===5?g[0]:f;g=(c+"").split(" "),f={},o.forEach(function(v,_){return f[v]=g[_]=g[_]||g[(_-1)/2|0]}),s.init(l,f,d)}});var ws={name:"css",register:gs,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,i,n){var o=this._props,s=e.style,l=r.vars.startAt,u,c,d,g,f,v,_,y,T,C,M,S,E,O,A,F;ms||gs(),this.styles=this.styles||dl(e),F=this.styles.props,this.tween=r;for(_ in t)if(_!=="autoRound"&&(c=t[_],!(qt[_]&&ss(_,t,r,i,e,n)))){if(f=typeof c,v=Wn[_],f==="function"&&(c=c.call(r,i,e,n),f=typeof c),f==="string"&&~c.indexOf("random(")&&(c=Ei(c)),v)v(this,e,_,c,r)&&(A=1);else if(_.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(_)+"").trim(),c+="",Tr.lastIndex=0,Tr.test(u)||(y=gt(u),T=gt(c)),T?y!==T&&(u=Hr(e,_,u,T)+T):y&&(c+=y),this.add(s,"setProperty",u,c,i,n,0,0,_),o.push(_),F.push(_,0,s[_]);else if(f!=="undefined"){if(l&&_ in l?(u=typeof l[_]=="function"?l[_].call(r,i,e,n):l[_],rt(u)&&~u.indexOf("random(")&&(u=Ei(u)),gt(u+"")||u==="auto"||(u+=Bt.units[_]||gt(Pr(e,_))||""),(u+"").charAt(1)==="="&&(u=Pr(e,_))):u=Pr(e,_),g=parseFloat(u),C=f==="string"&&c.charAt(1)==="="&&c.substr(0,2),C&&(c=c.substr(2)),d=parseFloat(c),_ in mr&&(_==="autoAlpha"&&(g===1&&Pr(e,"visibility")==="hidden"&&d&&(g=0),F.push("visibility",0,s.visibility),Br(this,s,"visibility",g?"inherit":"hidden",d?"inherit":"hidden",!d)),_!=="scale"&&_!=="transform"&&(_=mr[_],~_.indexOf(",")&&(_=_.split(",")[0]))),M=_ in Cr,M){if(this.styles.save(_),f==="string"&&c.substring(0,6)==="var(--"&&(c=tr(e,c.substring(4,c.indexOf(")"))),d=parseFloat(c)),S||(E=e._gsap,E.renderTransform&&!t.parseTransform||en(e,t.parseTransform),O=t.smoothOrigin!==!1&&E.smooth,S=this._pt=new Ot(this._pt,s,Ne,0,1,E.renderTransform,E,0,-1),S.dep=1),_==="scale")this._pt=new Ot(this._pt,E,"scaleY",E.scaleY,(C?Zr(E.scaleY,C+d):d)-E.scaleY||0,ds),this._pt.u=0,o.push("scaleY",_),_+="X";else if(_==="transformOrigin"){F.push(Ht,0,s[Ht]),c=Pf(c),E.svg?_s(e,c,0,O,0,this):(T=parseFloat(c.split(" ")[2])||0,T!==E.zOrigin&&Br(this,E,"zOrigin",E.zOrigin,T),Br(this,s,_,Bn(u),Bn(c)));continue}else if(_==="svgOrigin"){_s(e,c,1,O,0,this);continue}else if(_ in ml){Of(this,E,_,g,C?Zr(g,C+c):c);continue}else if(_==="smoothOrigin"){Br(this,E,"smooth",E.smooth,c);continue}else if(_==="force3D"){E[_]=c;continue}else if(_==="transform"){Mf(this,c,e);continue}}else _ in s||(_=Ai(_)||_);if(M||(d||d===0)&&(g||g===0)&&!hf.test(c)&&_ in s)y=(u+"").substr((g+"").length),d||(d=0),T=gt(c)||(_ in Bt.units?Bt.units[_]:y),y!==T&&(g=Hr(e,_,u,T)),this._pt=new Ot(this._pt,M?E:s,_,g,(C?Zr(g,C+d):d)-g,!M&&(T==="px"||_==="zIndex")&&t.autoRound!==!1?gf:ds),this._pt.u=T||0,y!==T&&T!=="%"&&(this._pt.b=u,this._pt.r=pf);else if(_ in s)Ef.call(this,e,_,u,C?C+c:c);else if(_ in e)this.add(e,_,u||e[_],C?C+c:c,i,n);else if(_!=="parseTransform"){zn(_,c);continue}M||(_ in s?F.push(_,0,s[_]):typeof e[_]=="function"?F.push(_,2,e[_]()):F.push(_,1,u||e[_])),o.push(_)}}A&&fs(this)},render:function(e,t){if(t.tween._time||!vs())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:Pr,aliases:mr,getSetter:function(e,t,r){var i=mr[t];return i&&i.indexOf(",")<0&&(t=i),t in Cr&&t!==Ht&&(e._gsap.x||Pr(e,"x"))?r&&tl===r?t==="scale"?yf:vf:(tl=r||{})&&(t==="scale"?bf:wf):e.style&&!Dn(e.style[t])?_f:~t.indexOf("-")?mf:In(e,t)},core:{_removeProperty:ni,_getMatrix:bs}};xt.utils.checkPrefix=Ai;xt.core.getStyleSaver=dl;(function(a,e,t,r){var i=At(a+","+e+","+t,function(n){Cr[n]=1});At(e,function(n){Bt.units[n]="deg",ml[n]=1}),mr[i[13]]=a+","+e,At(r,function(n){var o=n.split(":");mr[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");At("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(a){Bt.units[a]="px"});xt.registerPlugin(ws);var se=xt.registerPlugin(ws)||xt,Jh=se.core.Tween;function bl(a,e){for(var t=0;tl?(n=i,i=v,s=o,o=y):r?i+=v:i=n+(v-n)/(y-s)*(o-s)},d=function(){n=i=r?0:i,s=o=0},g=function(v){var _=s,y=n,T=nn();return(v||v===0)&&v!==i&&c(v),o===s||T-s>u?0:(i+(r?y:-y))/((r?T:o)-_)*1e3};return{update:c,reset:d,getVelocity:g}},tn=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},wl=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},Cl=function(){rn=_t.core.globals().ScrollTrigger,rn&&rn.core&&Df()},kl=function(e){return _t=e||El(),!Xn&&_t&&typeof document<"u"&&document.body&&(Gt=window,Yr=document,Xr=Yr.documentElement,Mi=Yr.body,Sl=[Gt,Yr,Xr,Mi],Rf=_t.utils.clamp,Tl=_t.core.context||function(){},oi="onpointerenter"in Mi?"pointer":"mouse",xl=He.isTouch=Gt.matchMedia&&Gt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Gt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,ar=He.eventTypes=("ontouchstart"in Xr?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Xr?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return Pl=0},500),Cl(),Xn=1),Xn};St.op=Qe;ce.cache=0;var He=function(){function a(t){this.init(t)}var e=a.prototype;return e.init=function(r){Xn||kl(_t)||console.warn("Please gsap.registerPlugin(Observer)"),rn||Cl();var i=r.tolerance,n=r.dragMinimum,o=r.type,s=r.target,l=r.lineHeight,u=r.debounce,c=r.preventDefault,d=r.onStop,g=r.onStopDelay,f=r.ignore,v=r.wheelSpeed,_=r.event,y=r.onDragStart,T=r.onDragEnd,C=r.onDrag,M=r.onPress,S=r.onRelease,E=r.onRight,O=r.onLeft,A=r.onUp,F=r.onDown,R=r.onChangeX,D=r.onChangeY,j=r.onChange,I=r.onToggleX,ie=r.onToggleY,K=r.onHover,le=r.onHoverEnd,J=r.onMove,Q=r.ignoreCheck,te=r.isNormalizer,ye=r.onGestureStart,x=r.onGestureEnd,Te=r.onWheel,lt=r.onEnable,Yt=r.onDisable,Ae=r.onClick,Ze=r.scrollSpeed,nt=r.capture,Fe=r.allowClicks,ut=r.lockAxis,ot=r.onLockAxis;this.target=s=Rt(s)||Xr,this.vars=r,f&&(f=_t.utils.toArray(f)),i=i||1e-9,n=n||0,v=v||1,Ze=Ze||1,o=o||"wheel,touch,pointer",u=u!==!1,l||(l=parseFloat(Gt.getComputedStyle(Mi).lineHeight)||22);var cr,ct,mt,de,Le,je,Ct,k=this,kt=0,or=0,b=r.passive||!c&&r.passive!==!1,m=Ar(s,St),h=Ar(s,Qe),p=m(),w=h(),P=~o.indexOf("touch")&&!~o.indexOf("pointer")&&ar[0]==="pointerdown",N=on(s),z=s.ownerDocument||Yr,L=[0,0,0],H=[0,0,0],pe=0,ge=function(){return pe=nn()},B=function(Y,U){return(k.event=Y)&&f&&zf(Y.target,f)||U&&P&&Y.pointerType!=="touch"||Q&&Q(Y,U)},xe=function(){k._vx.reset(),k._vy.reset(),ct.pause(),d&&d(k)},ne=function(){var Y=k.deltaX=wl(L),U=k.deltaY=wl(H),q=Math.abs(Y)>=i,Z=Math.abs(U)>=i;j&&(q||Z)&&j(k,Y,U,L,H),q&&(E&&k.deltaX>0&&E(k),O&&k.deltaX<0&&O(k),R&&R(k),I&&k.deltaX<0!=kt<0&&I(k),kt=k.deltaX,L[0]=L[1]=L[2]=0),Z&&(F&&k.deltaY>0&&F(k),A&&k.deltaY<0&&A(k),D&&D(k),ie&&k.deltaY<0!=or<0&&ie(k),or=k.deltaY,H[0]=H[1]=H[2]=0),(de||mt)&&(J&&J(k),mt&&(y&&mt===1&&y(k),C&&C(k),mt=0),de=!1),je&&!(je=!1)&&ot&&ot(k),Le&&(Te(k),Le=!1),cr=0},ue=function(Y,U,q){L[q]+=Y,H[q]+=U,k._vx.update(Y),k._vy.update(U),u?cr||(cr=requestAnimationFrame(ne)):ne()},be=function(Y,U){ut&&!Ct&&(k.axis=Ct=Math.abs(Y)>Math.abs(U)?"x":"y",je=!0),Ct!=="y"&&(L[2]+=Y,k._vx.update(Y,!0)),Ct!=="x"&&(H[2]+=U,k._vy.update(U,!0)),u?cr||(cr=requestAnimationFrame(ne)):ne()},_e=function(Y){if(!B(Y,1)){Y=tn(Y,c);var U=Y.clientX,q=Y.clientY,Z=U-k.x,V=q-k.y,ee=k.isDragging;k.x=U,k.y=q,(ee||(Z||V)&&(Math.abs(k.startX-U)>=n||Math.abs(k.startY-q)>=n))&&(mt=ee?2:1,ee||(k.isDragging=!0),be(Z,V))}},Ve=k.onPress=function(W){B(W,1)||W&&W.button||(k.axis=Ct=null,ct.pause(),k.isPressed=!0,W=tn(W),kt=or=0,k.startX=k.x=W.clientX,k.startY=k.y=W.clientY,k._vx.reset(),k._vy.reset(),Lt(te?s:z,ar[1],_e,b,!0),k.deltaX=k.deltaY=0,M&&M(k))},G=k.onRelease=function(W){if(!B(W,1)){Mt(te?s:z,ar[1],_e,!0);var Y=!isNaN(k.y-k.startY),U=k.isDragging,q=U&&(Math.abs(k.x-k.startX)>3||Math.abs(k.y-k.startY)>3),Z=tn(W);!q&&Y&&(k._vx.reset(),k._vy.reset(),c&&Fe&&_t.delayedCall(.08,function(){if(nn()-pe>300&&!W.defaultPrevented){if(W.target.click)W.target.click();else if(z.createEvent){var V=z.createEvent("MouseEvents");V.initMouseEvent("click",!0,!0,Gt,1,Z.screenX,Z.screenY,Z.clientX,Z.clientY,!1,!1,!1,!1,0,null),W.target.dispatchEvent(V)}}})),k.isDragging=k.isGesturing=k.isPressed=!1,d&&U&&!te&&ct.restart(!0),mt&&ne(),T&&U&&T(k),S&&S(k,q)}},qe=function(Y){return Y.touches&&Y.touches.length>1&&(k.isGesturing=!0)&&ye(Y,k.isDragging)},Ye=function(){return(k.isGesturing=!1)||x(k)},Re=function(Y){if(!B(Y)){var U=m(),q=h();ue((U-p)*Ze,(q-w)*Ze,1),p=U,w=q,d&&ct.restart(!0)}},Se=function(Y){if(!B(Y)){Y=tn(Y,c),Te&&(Le=!0);var U=(Y.deltaMode===1?l:Y.deltaMode===2?Gt.innerHeight:1)*v;ue(Y.deltaX*U,Y.deltaY*U,0),d&&!te&&ct.restart(!0)}},Ge=function(Y){if(!B(Y)){var U=Y.clientX,q=Y.clientY,Z=U-k.x,V=q-k.y;k.x=U,k.y=q,de=!0,d&&ct.restart(!0),(Z||V)&&be(Z,V)}},Je=function(Y){k.event=Y,K(k)},ae=function(Y){k.event=Y,le(k)},et=function(Y){return B(Y)||tn(Y,c)&&Ae(k)};ct=k._dc=_t.delayedCall(g||.25,xe).pause(),k.deltaX=k.deltaY=0,k._vx=jn(0,50,!0),k._vy=jn(0,50,!0),k.scrollX=m,k.scrollY=h,k.isDragging=k.isGesturing=k.isPressed=!1,Tl(this),k.enable=function(W){return k.isEnabled||(Lt(N?z:s,"scroll",Ss),o.indexOf("scroll")>=0&&Lt(N?z:s,"scroll",Re,b,nt),o.indexOf("wheel")>=0&&Lt(s,"wheel",Se,b,nt),(o.indexOf("touch")>=0&&xl||o.indexOf("pointer")>=0)&&(Lt(s,ar[0],Ve,b,nt),Lt(z,ar[2],G),Lt(z,ar[3],G),Fe&&Lt(s,"click",ge,!0,!0),Ae&&Lt(s,"click",et),ye&&Lt(z,"gesturestart",qe),x&&Lt(z,"gestureend",Ye),K&&Lt(s,oi+"enter",Je),le&&Lt(s,oi+"leave",ae),J&&Lt(s,oi+"move",Ge)),k.isEnabled=!0,k.isDragging=k.isGesturing=k.isPressed=de=mt=!1,k._vx.reset(),k._vy.reset(),p=m(),w=h(),W&&W.type&&Ve(W),lt&<(k)),k},k.disable=function(){k.isEnabled&&(Oi.filter(function(W){return W!==k&&on(W.target)}).length||Mt(N?z:s,"scroll",Ss),k.isPressed&&(k._vx.reset(),k._vy.reset(),Mt(te?s:z,ar[1],_e,!0)),Mt(N?z:s,"scroll",Re,nt),Mt(s,"wheel",Se,nt),Mt(s,ar[0],Ve,nt),Mt(z,ar[2],G),Mt(z,ar[3],G),Mt(s,"click",ge,!0),Mt(s,"click",et),Mt(z,"gesturestart",qe),Mt(z,"gestureend",Ye),Mt(s,oi+"enter",Je),Mt(s,oi+"leave",ae),Mt(s,oi+"move",Ge),k.isEnabled=k.isPressed=k.isDragging=!1,Yt&&Yt(k))},k.kill=k.revert=function(){k.disable();var W=Oi.indexOf(k);W>=0&&Oi.splice(W,1),kr===k&&(kr=0)},Oi.push(k),te&&on(s)&&(kr=k),k.enable(_)},Lf(a,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),a}();He.version="3.13.0";He.create=function(a){return new He(a)};He.register=kl;He.getAll=function(){return Oi.slice()};He.getById=function(a){return Oi.filter(function(e){return e.vars.id===a})[0]};El()&&_t.registerPlugin(He);var X,Di,he,ke,Kt,we,qs,lo,vn,hn,an,Vn,Tt,ho,Ms,zt,Al,Ol,zi,jl,Ts,Vl,Dt,Ls,Gl,$l,Ur,Rs,Is,Ni,Ws,uo,Ds,Es,Gn=1,Et=Date.now,Ps=Et(),nr=0,ln=0,Ml=function(e,t,r){var i=Qt(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=i,i?e.substr(6,e.length-7):e},Ll=function(e,t){return t&&(!Qt(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},Nf=function a(){return ln&&requestAnimationFrame(a)},Rl=function(){return ho=1},Dl=function(){return ho=0},vr=function(e){return e},un=function(e){return Math.round(e*1e5)/1e5||0},Ql=function(){return typeof window<"u"},Kl=function(){return X||Ql()&&(X=window.gsap)&&X.registerPlugin&&X},fi=function(e){return!!~qs.indexOf(e)},Zl=function(e){return(e==="Height"?Ws:he["inner"+e])||Kt["client"+e]||we["client"+e]},Jl=function(e){return Or(e,"getBoundingClientRect")||(fi(e)?function(){return ao.width=he.innerWidth,ao.height=Ws,ao}:function(){return Mr(e)})},Ff=function(e,t,r){var i=r.d,n=r.d2,o=r.a;return(o=Or(e,"getBoundingClientRect"))?function(){return o()[i]}:function(){return(t?Zl(n):e["client"+n])||0}},qf=function(e,t){return!t||~lr.indexOf(e)?Jl(e):function(){return ao}},yr=function(e,t){var r=t.s,i=t.d2,n=t.d,o=t.a;return Math.max(0,(r="scroll"+i)&&(o=Or(e,r))?o()-Jl(e)()[n]:fi(e)?(Kt[r]||we[r])-Zl(i):e[r]-e["offset"+i])},$n=function(e,t){for(var r=0;r0){for(i-=o,s=0;s=i)return r[s];return r[s-1]}else for(s=r.length,i+=o;s--;)if(r[s]<=i)return r[s];return r[0]}:function(i,n,o){o===void 0&&(o=.001);var s=t(i);return!n||Math.abs(s-i)r&&(i*=t/100),e=e.substr(0,r-1)),e=i+(e in fo?fo[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},Jn=function(e,t,r,i,n,o,s,l){var u=n.startColor,c=n.endColor,d=n.fontSize,g=n.indent,f=n.fontWeight,v=ke.createElement("div"),_=fi(r)||Or(r,"pinType")==="fixed",y=e.indexOf("scroller")!==-1,T=_?we:r,C=e.indexOf("start")!==-1,M=C?u:c,S="border-color:"+M+";font-size:"+d+";color:"+M+";font-weight:"+f+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return S+="position:"+((y||l)&&_?"fixed;":"absolute;"),(y||l||!_)&&(S+=(i===Qe?Bs:Hs)+":"+(o+parseFloat(g))+"px;"),s&&(S+="box-sizing:border-box;text-align:left;width:"+s.offsetWidth+"px;"),v._isStart=C,v.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),v.style.cssText=S,v.innerText=t||t===0?e+"-"+t:e,T.children[0]?T.insertBefore(v,T.children[0]):T.appendChild(v),v._offset=v["offset"+i.op.d2],no(v,0,i,C),v},no=function(e,t,r,i){var n={display:"block"},o=r[i?"os2":"p2"],s=r[i?"p2":"os2"];e._isFlipped=i,n[r.a+"Percent"]=i?-100:0,n[r.a]=i?"1px":0,n["border"+o+qi]=1,n["border"+s+qi]=0,n[r.p]=t+"px",X.set(e,n)},fe=[],zs={},yn,Fl=function(){return Et()-nr>34&&(yn||(yn=requestAnimationFrame(Lr)))},Ri=function(){(!Dt||!Dt.isPressed||Dt.startX>we.clientWidth)&&(ce.cache++,Dt?yn||(yn=requestAnimationFrame(Lr)):Lr(),nr||di("scrollStart"),nr=Et())},ks=function(){$l=he.innerWidth,Gl=he.innerHeight},fn=function(e){ce.cache++,(e===!0||!Tt&&!Vl&&!ke.fullscreenElement&&!ke.webkitFullscreenElement&&(!Ls||$l!==he.innerWidth||Math.abs(he.innerHeight-Gl)>he.innerHeight*.25))&&lo.restart(!0)},hi={},Hf=[],iu=function a(){return st(re,"scrollEnd",a)||ai(!0)},di=function(e){return hi[e]&&hi[e].map(function(t){return t()})||Hf},$t=[],nu=function(e){for(var t=0;t<$t.length;t+=5)(!e||$t[t+4]&&$t[t+4].query===e)&&($t[t].style.cssText=$t[t+1],$t[t].getBBox&&$t[t].setAttribute("transform",$t[t+2]||""),$t[t+3].uncache=1)},Us=function(e,t){var r;for(zt=0;ztn,s=i._startClamp&&i.start>=n;(o||s)&&i.setPositions(s?n-1:i.start,o?Math.max(s?n:i.start+1,n):i.end,!0)}),Il(!1),Ds=0,r.forEach(function(i){return i&&i.render&&i.render(-1)}),ce.forEach(function(i){Pt(i)&&(i.smooth&&requestAnimationFrame(function(){return i.target.style.scrollBehavior="smooth"}),i.rec&&i(i.rec))}),ou(Is,1),lo.pause(),ci++,Nt=2,Lr(2),fe.forEach(function(i){return Pt(i.vars.onRefresh)&&i.vars.onRefresh(i)}),Nt=re.isRefreshing=!1,di("refresh")},Ns=0,oo=1,mn,Lr=function(e){if(e===2||!Nt&&!uo){re.isUpdating=!0,mn&&mn.update(0);var t=fe.length,r=Et(),i=r-Ps>=50,n=t&&fe[0].scroll();if(oo=Ns>n?-1:1,Nt||(Ns=n),i&&(nr&&!ho&&r-nr>200&&(nr=0,di("scrollEnd")),an=Ps,Ps=r),oo<0){for(zt=t;zt-- >0;)fe[zt]&&fe[zt].update(0,i);oo=1}else for(zt=0;zt20),r-=r-O}if(v&&(l[v]=e||-.001,e<0&&(e=0)),o){var F=e+r,R=o._isStart;y="scroll"+i.d2,no(o,F,i,R&&F>20||!R&&(d?Math.max(we[y],Kt[y]):o.parentNode[y])<=F+1),d&&(u=Mr(s),d&&(o.style[i.op.p]=u[i.op.p]-i.op.m-o._offset+it))}return f&&C&&(y=Mr(C),f.seek(g),T=Mr(C),f._caScrollDist=y[i.p]-T[i.p],e=e/f._caScrollDist*g),f&&f.seek(_),f?e:Math.round(e)},Vf=/(webkit|moz|length|cssText|inset)/i,Bl=function(e,t,r,i){if(e.parentNode!==t){var n=e.style,o,s;if(t===we){e._stOrig=n.cssText,s=ir(e);for(o in s)!+o&&!Vf.test(o)&&s[o]&&typeof n[o]=="string"&&o!=="0"&&(n[o]=s[o]);n.top=r,n.left=i}else n.cssText=e._stOrig;X.core.getCache(e).uncache=1,t.appendChild(e)}},au=function(e,t,r){var i=t,n=i;return function(o){var s=Math.round(e());return s!==i&&s!==n&&Math.abs(s-i)>3&&Math.abs(s-n)>3&&(o=s,r&&r()),n=i,i=Math.round(o),i}},to=function(e,t,r){var i={};i[t.p]="+="+r,X.set(e,i)},Hl=function(e,t){var r=Ar(e,t),i="_scroll"+t.p2,n=function o(s,l,u,c,d){var g=o.tween,f=l.onComplete,v={};u=u||r();var _=au(r,u,function(){g.kill(),o.tween=0});return d=c&&d||0,c=c||s-u,g&&g.kill(),l[i]=s,l.inherit=!1,l.modifiers=v,v[i]=function(){return _(u+c*g.ratio+d*g.ratio*g.ratio)},l.onUpdate=function(){ce.cache++,o.tween&&Lr()},l.onComplete=function(){o.tween=0,f&&f.call(g)},g=o.tween=X.to(e,l),g};return e[i]=r,r.wheelHandler=function(){return n.tween&&n.tween.kill()&&(n.tween=0)},at(e,"wheel",r.wheelHandler),re.isTouch&&at(e,"touchmove",r.wheelHandler),n},re=function(){function a(t,r){Di||a.register(X)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Rs(this),this.init(t,r)}var e=a.prototype;return e.init=function(r,i){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!ln){this.update=this.refresh=this.kill=vr;return}r=zl(Qt(r)||cn(r)||r.nodeType?{trigger:r}:r,Zn);var n=r,o=n.onUpdate,s=n.toggleClass,l=n.id,u=n.onToggle,c=n.onRefresh,d=n.scrub,g=n.trigger,f=n.pin,v=n.pinSpacing,_=n.invalidateOnRefresh,y=n.anticipatePin,T=n.onScrubComplete,C=n.onSnapComplete,M=n.once,S=n.snap,E=n.pinReparent,O=n.pinSpacer,A=n.containerAnimation,F=n.fastScrollEnd,R=n.preventOverlaps,D=r.horizontal||r.containerAnimation&&r.horizontal!==!1?St:Qe,j=!d&&d!==0,I=Rt(r.scroller||he),ie=X.core.getCache(I),K=fi(I),le=("pinType"in r?r.pinType:Or(I,"pinType")||K&&"fixed")==="fixed",J=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],Q=j&&r.toggleActions.split(" "),te="markers"in r?r.markers:Zn.markers,ye=K?0:parseFloat(ir(I)["border"+D.p2+qi])||0,x=this,Te=r.onRefreshInit&&function(){return r.onRefreshInit(x)},lt=Ff(I,K,D),Yt=qf(I,K),Ae=0,Ze=0,nt=0,Fe=Ar(I,D),ut,ot,cr,ct,mt,de,Le,je,Ct,k,kt,or,b,m,h,p,w,P,N,z,L,H,pe,ge,B,xe,ne,ue,be,_e,Ve,G,qe,Ye,Re,Se,Ge,Je,ae;if(x._startClamp=x._endClamp=!1,x._dir=D,y*=45,x.scroller=I,x.scroll=A?A.time.bind(A):Fe,ct=Fe(),x.vars=r,i=i||r.animation,"refreshPriority"in r&&(jl=1,r.refreshPriority===-9999&&(mn=x)),ie.tweenScroll=ie.tweenScroll||{top:Hl(I,Qe),left:Hl(I,St)},x.tweenTo=ut=ie.tweenScroll[D.p],x.scrubDuration=function(q){qe=cn(q)&&q,qe?G?G.duration(q):G=X.to(i,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:qe,paused:!0,onComplete:function(){return T&&T(x)}}):(G&&G.progress(1).kill(),G=0)},i&&(i.vars.lazy=!1,i._initted&&!x.isReverted||i.vars.immediateRender!==!1&&r.immediateRender!==!1&&i.duration()&&i.render(0,!0,!0),x.animation=i.pause(),i.scrollTrigger=x,x.scrubDuration(d),_e=0,l||(l=i.vars.id)),S&&((!si(S)||S.push)&&(S={snapTo:S}),"scrollBehavior"in we.style&&X.set(K?[we,Kt]:I,{scrollBehavior:"auto"}),ce.forEach(function(q){return Pt(q)&&q.target===(K?ke.scrollingElement||Kt:I)&&(q.smooth=!1)}),cr=Pt(S.snapTo)?S.snapTo:S.snapTo==="labels"?Wf(i):S.snapTo==="labelsDirectional"?Bf(i):S.directional!==!1?function(q,Z){return Xs(S.snapTo)(q,Et()-Ze<500?0:Z.direction)}:X.utils.snap(S.snapTo),Ye=S.duration||{min:.1,max:2},Ye=si(Ye)?hn(Ye.min,Ye.max):hn(Ye,Ye),Re=X.delayedCall(S.delay||qe/2||.1,function(){var q=Fe(),Z=Et()-Ze<500,V=ut.tween;if((Z||Math.abs(x.getVelocity())<10)&&!V&&!ho&&Ae!==q){var ee=(q-de)/m,me=i&&!j?i.totalProgress():ee,oe=Z?0:(me-Ve)/(Et()-an)*1e3||0,Xe=X.utils.clamp(-ee,1-ee,Li(oe/2)*oe/.185),vt=ee+(S.inertia===!1?0:Xe),Ie,Oe,Ee=S,sr=Ee.onStart,De=Ee.onInterrupt,Xt=Ee.onComplete;if(Ie=cr(vt,x),cn(Ie)||(Ie=vt),Oe=Math.max(0,Math.round(de+Ie*m)),q<=Le&&q>=de&&Oe!==q){if(V&&!V._initted&&V.data<=Li(Oe-q))return;S.inertia===!1&&(Xe=Ie-ee),ut(Oe,{duration:Ye(Li(Math.max(Li(vt-me),Li(Ie-me))*.185/oe/.05||0)),ease:S.ease||"power3",data:Li(Oe-q),onInterrupt:function(){return Re.restart(!0)&&De&&De(x)},onComplete:function(){x.update(),Ae=Fe(),i&&!j&&(G?G.resetTo("totalProgress",Ie,i._tTime/i._tDur):i.progress(Ie)),_e=Ve=i&&!j?i.totalProgress():x.progress,C&&C(x),Xt&&Xt(x)}},q,Xe*m,Oe-q-Xe*m),sr&&sr(x,ut.tween)}}else x.isActive&&Ae!==q&&Re.restart(!0)}).pause()),l&&(zs[l]=x),g=x.trigger=Rt(g||f!==!0&&f),ae=g&&g._gsap&&g._gsap.stRevert,ae&&(ae=ae(x)),f=f===!0?g:Rt(f),Qt(s)&&(s={targets:g,className:s}),f&&(v===!1||v===rr||(v=!v&&f.parentNode&&f.parentNode.style&&ir(f.parentNode).display==="flex"?!1:Ke),x.pin=f,ot=X.core.getCache(f),ot.spacer?h=ot.pinState:(O&&(O=Rt(O),O&&!O.nodeType&&(O=O.current||O.nativeElement),ot.spacerIsNative=!!O,O&&(ot.spacerState=eo(O))),ot.spacer=P=O||ke.createElement("div"),P.classList.add("pin-spacer"),l&&P.classList.add("pin-spacer-"+l),ot.pinState=h=eo(f)),r.force3D!==!1&&X.set(f,{force3D:!0}),x.spacer=P=ot.spacer,be=ir(f),ge=be[v+D.os2],z=X.getProperty(f),L=X.quickSetter(f,D.a,it),As(f,P,be),w=eo(f)),te){or=si(te)?zl(te,Nl):Nl,k=Jn("scroller-start",l,I,D,or,0),kt=Jn("scroller-end",l,I,D,or,0,k),N=k["offset"+D.op.d2];var et=Rt(Or(I,"content")||I);je=this.markerStart=Jn("start",l,et,D,or,N,0,A),Ct=this.markerEnd=Jn("end",l,et,D,or,N,0,A),A&&(Je=X.quickSetter([je,Ct],D.a,it)),!le&&!(lr.length&&Or(I,"fixedMarkers")===!0)&&(If(K?we:I),X.set([k,kt],{force3D:!0}),xe=X.quickSetter(k,D.a,it),ue=X.quickSetter(kt,D.a,it))}if(A){var W=A.vars.onUpdate,Y=A.vars.onUpdateParams;A.eventCallback("onUpdate",function(){x.update(0,0,1),W&&W.apply(A,Y||[])})}if(x.previous=function(){return fe[fe.indexOf(x)-1]},x.next=function(){return fe[fe.indexOf(x)+1]},x.revert=function(q,Z){if(!Z)return x.kill(!0);var V=q!==!1||!x.enabled,ee=Tt;V!==x.isReverted&&(V&&(Se=Math.max(Fe(),x.scroll.rec||0),nt=x.progress,Ge=i&&i.progress()),je&&[je,Ct,k,kt].forEach(function(me){return me.style.display=V?"none":"block"}),V&&(Tt=x,x.update(V)),f&&(!E||!x.isActive)&&(V?Xf(f,P,h):As(f,P,ir(f),B)),V||x.update(V),Tt=ee,x.isReverted=V)},x.refresh=function(q,Z,V,ee){if(!((Tt||!x.enabled)&&!Z)){if(f&&q&&nr){at(a,"scrollEnd",iu);return}!Nt&&Te&&Te(x),Tt=x,ut.tween&&!V&&(ut.tween.kill(),ut.tween=0),G&&G.pause(),_&&i&&(i.revert({kill:!1}).invalidate(),i.getChildren&&i.getChildren(!0,!0,!1).forEach(function(Dr){return Dr.vars.immediateRender&&Dr.render(0,!0,!0)})),x.isReverted||x.revert(!0,!0),x._subPinOffset=!1;var me=lt(),oe=Yt(),Xe=A?A.duration():yr(I,D),vt=m<=.01||!m,Ie=0,Oe=ee||0,Ee=si(V)?V.end:r.end,sr=r.endTrigger||g,De=si(V)?V.start:r.start||(r.start===0||!g?0:f?"0 0":"0 100%"),Xt=x.pinnedContainer=r.pinnedContainer&&Rt(r.pinnedContainer,x),fr=g&&Math.max(0,fe.indexOf(x))||0,ft=fr,ht,yt,Vr,wn,bt,tt,hr,xo,aa,Wi,dr,Bi,xn;for(te&&si(V)&&(Bi=X.getProperty(k,D.p),xn=X.getProperty(kt,D.p));ft-- >0;)tt=fe[ft],tt.end||tt.refresh(0,1)||(Tt=x),hr=tt.pin,hr&&(hr===g||hr===f||hr===Xt)&&!tt.isReverted&&(Wi||(Wi=[]),Wi.unshift(tt),tt.revert(!0,!0)),tt!==fe[ft]&&(fr--,ft--);for(Pt(De)&&(De=De(x)),De=Ml(De,"start",x),de=Wl(De,g,me,D,Fe(),je,k,x,oe,ye,le,Xe,A,x._startClamp&&"_startClamp")||(f?-.001:0),Pt(Ee)&&(Ee=Ee(x)),Qt(Ee)&&!Ee.indexOf("+=")&&(~Ee.indexOf(" ")?Ee=(Qt(De)?De.split(" ")[0]:"")+Ee:(Ie=io(Ee.substr(2),me),Ee=Qt(De)?De:(A?X.utils.mapRange(0,A.duration(),A.scrollTrigger.start,A.scrollTrigger.end,de):de)+Ie,sr=g)),Ee=Ml(Ee,"end",x),Le=Math.max(de,Wl(Ee||(sr?"100% 0":Xe),sr,me,D,Fe()+Ie,Ct,kt,x,oe,ye,le,Xe,A,x._endClamp&&"_endClamp"))||-.001,Ie=0,ft=fr;ft--;)tt=fe[ft],hr=tt.pin,hr&&tt.start-tt._pinPush<=de&&!A&&tt.end>0&&(ht=tt.end-(x._startClamp?Math.max(0,tt.start):tt.start),(hr===g&&tt.start-tt._pinPush=yr(I,D)))ht=ir(f),wn=D===Qe,Vr=Fe(),H=parseFloat(z(D.a))+Oe,!Xe&&Le>1&&(dr=(K?ke.scrollingElement||Kt:I).style,dr={style:dr,value:dr["overflow"+D.a.toUpperCase()]},K&&ir(we)["overflow"+D.a.toUpperCase()]!=="scroll"&&(dr.style["overflow"+D.a.toUpperCase()]="scroll")),As(f,P,ht),w=eo(f),yt=Mr(f,!0),xo=le&&Ar(I,wn?St:Qe)(),v?(B=[v+D.os2,m+Oe+it],B.t=P,ft=v===Ke?co(f,D)+m+Oe:0,ft&&(B.push(D.d,ft+it),P.style.flexBasis!=="auto"&&(P.style.flexBasis=ft+it)),Fi(B),Xt&&fe.forEach(function(Dr){Dr.pin===Xt&&Dr.vars.pinSpacing!==!1&&(Dr._subPinOffset=!0)}),le&&Fe(Se)):(ft=co(f,D),ft&&P.style.flexBasis!=="auto"&&(P.style.flexBasis=ft+it)),le&&(bt={top:yt.top+(wn?Vr-de:xo)+it,left:yt.left+(wn?xo:Vr-de)+it,boxSizing:"border-box",position:"fixed"},bt[li]=bt["max"+qi]=Math.ceil(yt.width)+it,bt[ui]=bt["max"+Ys]=Math.ceil(yt.height)+it,bt[rr]=bt[rr+gn]=bt[rr+dn]=bt[rr+_n]=bt[rr+pn]="0",bt[Ke]=ht[Ke],bt[Ke+gn]=ht[Ke+gn],bt[Ke+dn]=ht[Ke+dn],bt[Ke+_n]=ht[Ke+_n],bt[Ke+pn]=ht[Ke+pn],p=jf(h,bt,E),Nt&&Fe(0)),i?(aa=i._initted,Ts(1),i.render(i.duration(),!0,!0),pe=z(D.a)-H+m+Oe,ne=Math.abs(m-pe)>1,le&&ne&&p.splice(p.length-2,2),i.render(0,!0,!0),aa||i.invalidate(!0),i.parent||i.totalTime(i.totalTime()),Ts(0)):pe=m,dr&&(dr.value?dr.style["overflow"+D.a.toUpperCase()]=dr.value:dr.style.removeProperty("overflow-"+D.a));else if(g&&Fe()&&!A)for(yt=g.parentNode;yt&&yt!==we;)yt._pinOffset&&(de-=yt._pinOffset,Le-=yt._pinOffset),yt=yt.parentNode;Wi&&Wi.forEach(function(Dr){return Dr.revert(!1,!0)}),x.start=de,x.end=Le,ct=mt=Nt?Se:Fe(),!A&&!Nt&&(ct0?fe.slice(0,Z).reverse():fe.slice(Z+1);return(Qt(q)?V.filter(function(ee){return ee.vars.preventOverlaps===q}):V).filter(function(ee){return x.direction>0?ee.end<=de:ee.start>=Le})},x.update=function(q,Z,V){if(!(A&&!V&&!q)){var ee=Nt===!0?Se:x.scroll(),me=q?0:(ee-de)/m,oe=me<0?0:me>1?1:me||0,Xe=x.progress,vt,Ie,Oe,Ee,sr,De,Xt,fr;if(Z&&(mt=ct,ct=A?Fe():ee,S&&(Ve=_e,_e=i&&!j?i.totalProgress():oe)),y&&f&&!Tt&&!Gn&&nr&&(!oe&&deee+(ee-mt)/(Et()-an)*y&&(oe=.9999)),oe!==Xe&&x.enabled){if(vt=x.isActive=!!oe&&oe<1,Ie=!!Xe&&Xe<1,De=vt!==Ie,sr=De||!!oe!=!!Xe,x.direction=oe>Xe?1:-1,x.progress=oe,sr&&!Tt&&(Oe=oe&&!Xe?0:oe===1?1:Xe===1?2:3,j&&(Ee=!De&&Q[Oe+1]!=="none"&&Q[Oe+1]||Q[Oe],fr=i&&(Ee==="complete"||Ee==="reset"||Ee in i))),R&&(De||fr)&&(fr||d||!i)&&(Pt(R)?R(x):x.getTrailing(R).forEach(function(Vr){return Vr.endAnimation()})),j||(G&&!Tt&&!Gn?(G._dp._time-G._start!==G._time&&G.render(G._dp._time-G._start),G.resetTo?G.resetTo("totalProgress",oe,i._tTime/i._tDur):(G.vars.totalProgress=oe,G.invalidate().restart())):i&&i.totalProgress(oe,!!(Tt&&(Ze||q)))),f){if(q&&v&&(P.style[v+D.os2]=ge),!le)L(un(H+pe*oe));else if(sr){if(Xt=!q&&oe>Xe&&Le+1>ee&&ee+1>=yr(I,D),E)if(!q&&(vt||Xt)){var ft=Mr(f,!0),ht=ee-de;Bl(f,we,ft.top+(D===Qe?ht:0)+it,ft.left+(D===Qe?0:ht)+it)}else Bl(f,P);Fi(vt||Xt?p:w),ne&&oe<1&&vt||L(H+(oe===1&&!Xt?pe:0))}}S&&!ut.tween&&!Tt&&!Gn&&Re.restart(!0),s&&(De||M&&oe&&(oe<1||!Es))&&vn(s.targets).forEach(function(Vr){return Vr.classList[vt||M?"add":"remove"](s.className)}),o&&!j&&!q&&o(x),sr&&!Tt?(j&&(fr&&(Ee==="complete"?i.pause().totalProgress(1):Ee==="reset"?i.restart(!0).pause():Ee==="restart"?i.restart(!0):i[Ee]()),o&&o(x)),(De||!Es)&&(u&&De&&Cs(x,u),J[Oe]&&Cs(x,J[Oe]),M&&(oe===1?x.kill(!1,1):J[Oe]=0),De||(Oe=oe===1?1:3,J[Oe]&&Cs(x,J[Oe]))),F&&!vt&&Math.abs(x.getVelocity())>(cn(F)?F:2500)&&(sn(x.callbackAnimation),G?G.progress(1):sn(i,Ee==="reverse"?1:!oe,1))):j&&o&&!Tt&&o(x)}if(ue){var yt=A?ee/A.duration()*(A._caScrollDist||0):ee;xe(yt+(k._isFlipped?1:0)),ue(yt)}Je&&Je(-ee/A.duration()*(A._caScrollDist||0))}},x.enable=function(q,Z){x.enabled||(x.enabled=!0,at(I,"resize",fn),K||at(I,"scroll",Ri),Te&&at(a,"refreshInit",Te),q!==!1&&(x.progress=nt=0,ct=mt=Ae=Fe()),Z!==!1&&x.refresh())},x.getTween=function(q){return q&&ut?ut.tween:G},x.setPositions=function(q,Z,V,ee){if(A){var me=A.scrollTrigger,oe=A.duration(),Xe=me.end-me.start;q=me.start+Xe*q/oe,Z=me.start+Xe*Z/oe}x.refresh(!1,!1,{start:Ll(q,V&&!!x._startClamp),end:Ll(Z,V&&!!x._endClamp)},ee),x.update()},x.adjustPinSpacing=function(q){if(B&&q){var Z=B.indexOf(D.d)+1;B[Z]=parseFloat(B[Z])+q+it,B[1]=parseFloat(B[1])+q+it,Fi(B)}},x.disable=function(q,Z){if(x.enabled&&(q!==!1&&x.revert(!0,!0),x.enabled=x.isActive=!1,Z||G&&G.pause(),Se=0,ot&&(ot.uncache=1),Te&&st(a,"refreshInit",Te),Re&&(Re.pause(),ut.tween&&ut.tween.kill()&&(ut.tween=0)),!K)){for(var V=fe.length;V--;)if(fe[V].scroller===I&&fe[V]!==x)return;st(I,"resize",fn),K||st(I,"scroll",Ri)}},x.kill=function(q,Z){x.disable(q,Z),G&&!Z&&G.kill(),l&&delete zs[l];var V=fe.indexOf(x);V>=0&&fe.splice(V,1),V===zt&&oo>0&&zt--,V=0,fe.forEach(function(ee){return ee.scroller===x.scroller&&(V=1)}),V||Nt||(x.scroll.rec=0),i&&(i.scrollTrigger=null,q&&i.revert({kill:!1}),Z||i.kill()),je&&[je,Ct,k,kt].forEach(function(ee){return ee.parentNode&&ee.parentNode.removeChild(ee)}),mn===x&&(mn=0),f&&(ot&&(ot.uncache=1),V=0,fe.forEach(function(ee){return ee.pin===f&&V++}),V||(ot.spacer=0)),r.onKill&&r.onKill(x)},fe.push(x),x.enable(!1,!1),ae&&ae(x),i&&i.add&&!m){var U=x.update;x.update=function(){x.update=U,ce.cache++,de||Le||x.refresh()},X.delayedCall(.01,x.update),m=.01,de=Le=0}else x.refresh();f&&Yf()},a.register=function(r){return Di||(X=r||Kl(),Ql()&&window.document&&a.enable(),Di=ln),Di},a.defaults=function(r){if(r)for(var i in r)Zn[i]=r[i];return Zn},a.disable=function(r,i){ln=0,fe.forEach(function(o){return o[i?"kill":"disable"](r)}),st(he,"wheel",Ri),st(ke,"scroll",Ri),clearInterval(Vn),st(ke,"touchcancel",vr),st(we,"touchstart",vr),Qn(st,ke,"pointerdown,touchstart,mousedown",Rl),Qn(st,ke,"pointerup,touchend,mouseup",Dl),lo.kill(),$n(st);for(var n=0;n0&&o.left+s0&&o.top+s=0&&$t.splice(t,5),$t.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),X.core.getCache(e),Rs())}}):$t};re.revert=function(a,e){return Us(!a,e)};re.create=function(a,e){return new re(a,e)};re.refresh=function(a){return a?fn(!0):(Di||re.register())&&ai(!0)};re.update=function(a){return++ce.cache&&Lr(a===!0?2:0)};re.clearScrollMemory=ou;re.maxScroll=function(a,e){return yr(a,e?St:Qe)};re.getScrollFunc=function(a,e){return Ar(Rt(a),e?St:Qe)};re.getById=function(a){return zs[a]};re.getAll=function(){return fe.filter(function(a){return a.vars.id!=="ScrollSmoother"})};re.isScrolling=function(){return!!nr};re.snapDirectional=Xs;re.addEventListener=function(a,e){var t=hi[a]||(hi[a]=[]);~t.indexOf(e)||t.push(e)};re.removeEventListener=function(a,e){var t=hi[a],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)};re.batch=function(a,e){var t=[],r={},i=e.interval||.016,n=e.batchMax||1e9,o=function(u,c){var d=[],g=[],f=X.delayedCall(i,function(){c(d,g),d=[],g=[]}).pause();return function(v){d.length||f.restart(!0),d.push(v.trigger),g.push(v),n<=d.length&&f.progress(1)}},s;for(s in e)r[s]=s.substr(0,2)==="on"&&Pt(e[s])&&s!=="onRefreshInit"?o(s,e[s]):e[s];return Pt(n)&&(n=n(),at(re,"refresh",function(){return n=e.batchMax()})),vn(a).forEach(function(l){var u={};for(s in r)u[s]=r[s];u.trigger=l,t.push(re.create(u))}),t};var Yl=function(e,t,r,i){return t>i?e(i):t<0&&e(0),r>i?(i-t)/(r-t):r<0?t/(t-r):1},Os=function a(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(He.isTouch?" pinch-zoom":""):"none",e===Kt&&a(we,t)},ro={auto:1,scroll:1},Gf=function(e){var t=e.event,r=e.target,i=e.axis,n=(t.changedTouches?t.changedTouches[0]:t).target,o=n._gsap||X.core.getCache(n),s=Et(),l;if(!o._isScrollT||s-o._isScrollT>2e3){for(;n&&n!==we&&(n.scrollHeight<=n.clientHeight&&n.scrollWidth<=n.clientWidth||!(ro[(l=ir(n)).overflowY]||ro[l.overflowX]));)n=n.parentNode;o._isScroll=n&&n!==r&&!fi(n)&&(ro[(l=ir(n)).overflowY]||ro[l.overflowX]),o._isScrollT=s}(o._isScroll||i==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},lu=function(e,t,r,i){return He.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:i=i&&Gf,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return r&&at(ke,He.eventTypes[0],Ul,!1,!0)},onDisable:function(){return st(ke,He.eventTypes[0],Ul,!0)}})},$f=/(input|label|select|textarea)/i,Xl,Ul=function(e){var t=$f.test(e.target.tagName);(t||Xl)&&(e._gsapAllow=!0,Xl=t)},Qf=function(e){si(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,i=t.momentum,n=t.allowNestedScroll,o=t.onRelease,s,l,u=Rt(e.target)||Kt,c=X.core.globals().ScrollSmoother,d=c&&c.get(),g=Ur&&(e.content&&Rt(e.content)||d&&e.content!==!1&&!d.smooth()&&d.content()),f=Ar(u,Qe),v=Ar(u,St),_=1,y=(He.isTouch&&he.visualViewport?he.visualViewport.scale*he.visualViewport.width:he.outerWidth)/he.innerWidth,T=0,C=Pt(i)?function(){return i(s)}:function(){return i||2.8},M,S,E=lu(u,e.type,!0,n),O=function(){return S=!1},A=vr,F=vr,R=function(){l=yr(u,Qe),F=hn(Ur?1:0,l),r&&(A=hn(0,yr(u,St))),M=ci},D=function(){g._gsap.y=un(parseFloat(g._gsap.y)+f.offset)+"px",g.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(g._gsap.y)+", 0, 1)",f.offset=f.cacheID=0},j=function(){if(S){requestAnimationFrame(O);var te=un(s.deltaY/2),ye=F(f.v-te);if(g&&ye!==f.v+f.offset){f.offset=ye-f.v;var x=un((parseFloat(g&&g._gsap.y)||0)-f.offset);g.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+x+", 0, 1)",g._gsap.y=x+"px",f.cacheID=ce.cache,Lr()}return!0}f.offset&&D(),S=!0},I,ie,K,le,J=function(){R(),I.isActive()&&I.vars.scrollY>l&&(f()>l?I.progress(1)&&f(l):I.resetTo("scrollY",l))};return g&&X.set(g,{y:"+=0"}),e.ignoreCheck=function(Q){return Ur&&Q.type==="touchmove"&&j(Q)||_>1.05&&Q.type!=="touchstart"||s.isGesturing||Q.touches&&Q.touches.length>1},e.onPress=function(){S=!1;var Q=_;_=un((he.visualViewport&&he.visualViewport.scale||1)/y),I.pause(),Q!==_&&Os(u,_>1.01?!0:r?!1:"x"),ie=v(),K=f(),R(),M=ci},e.onRelease=e.onGestureStart=function(Q,te){if(f.offset&&D(),!te)le.restart(!0);else{ce.cache++;var ye=C(),x,Te;r&&(x=v(),Te=x+ye*.05*-Q.velocityX/.227,ye*=Yl(v,x,Te,yr(u,St)),I.vars.scrollX=A(Te)),x=f(),Te=x+ye*.05*-Q.velocityY/.227,ye*=Yl(f,x,Te,yr(u,Qe)),I.vars.scrollY=F(Te),I.invalidate().duration(ye).play(.01),(Ur&&I.vars.scrollY>=l||x>=l-1)&&X.to({},{onUpdate:J,duration:ye})}o&&o(Q)},e.onWheel=function(){I._ts&&I.pause(),Et()-T>1e3&&(M=0,T=Et())},e.onChange=function(Q,te,ye,x,Te){if(ci!==M&&R(),te&&r&&v(A(x[2]===te?ie+(Q.startX-Q.x):v()+te-x[1])),ye){f.offset&&D();var lt=Te[2]===ye,Yt=lt?K+Q.startY-Q.y:f()+ye-Te[1],Ae=F(Yt);lt&&Yt!==Ae&&(K+=Ae-Yt),f(Ae)}(ye||te)&&Lr()},e.onEnable=function(){Os(u,r?!1:"x"),re.addEventListener("refresh",J),at(he,"resize",J),f.smooth&&(f.target.style.scrollBehavior="auto",f.smooth=v.smooth=!1),E.enable()},e.onDisable=function(){Os(u,!0),st(he,"resize",J),re.removeEventListener("refresh",J),E.kill()},e.lockAxis=e.lockAxis!==!1,s=new He(e),s.iOS=Ur,Ur&&!f()&&f(1),Ur&&X.ticker.add(vr),le=s._dc,I=X.to(s,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:au(f,f(),function(){return I.pause()})},onUpdate:Lr,onComplete:le.vars.onComplete}),s};re.sort=function(a){if(Pt(a))return fe.sort(a);var e=he.pageYOffset||0;return re.getAll().forEach(function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+he.innerHeight}),fe.sort(a||function(t,r){return(t.vars.refreshPriority||0)*-1e6+(t.vars.containerAnimation?1e6:t._sortY)-((r.vars.containerAnimation?1e6:r._sortY)+(r.vars.refreshPriority||0)*-1e6)})};re.observe=function(a){return new He(a)};re.normalizeScroll=function(a){if(typeof a>"u")return Dt;if(a===!0&&Dt)return Dt.enable();if(a===!1){Dt&&Dt.kill(),Dt=a;return}var e=a instanceof He?a:Qf(a);return Dt&&Dt.target===e.target&&Dt.kill(),fi(e.target)&&(Dt=e),e};re.core={_getVelocityProp:jn,_inputObserver:lu,_scrollers:ce,_proxies:lr,bridge:{ss:function(){nr||di("scrollStart"),nr=Et()},ref:function(){return Tt}}};Kl()&&X.registerPlugin(re);var br,Gs,Kf,mo,gu,_u,uu,Vs,mu,vu=function(){return typeof window<"u"},yu=function(){return br||vu()&&(br=window.gsap)&&br.registerPlugin&&br},Zf=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,js={rect:["width","height"],circle:["r","r"],ellipse:["rx","ry"],line:["x2","y2"]},pi=function(e){return Math.round(e*1e4)/1e4},Rr=function(e){return parseFloat(e)||0},cu=function(e,t){var r=Rr(e);return~e.indexOf("%")?r/100*t:r},po=function(e,t){return Rr(e.getAttribute(t))},go=Math.sqrt,fu=function(e,t,r,i,n,o){return go(Math.pow((Rr(r)-Rr(e))*n,2)+Math.pow((Rr(i)-Rr(t))*o,2))},hu=function(e){return console.warn(e)},bu=function(e){return e.getAttribute("vector-effect")==="non-scaling-stroke"},Jf=1,eh=function(e,t,r){var i=e.indexOf(" "),n,o;return i<0?(n=r!==void 0?r+"":e,o=e):(n=e.substr(0,i),o=e.substr(i+1)),n=cu(n,t),o=cu(o,t),n>o?[o,n]:[n,o]},_o=function(e){if(e=Gs(e)[0],!e)return 0;var t=e.tagName.toLowerCase(),r=e.style,i=1,n=1,o,s,l,u,c,d,g;bu(e)&&(n=e.getScreenCTM(),i=go(n.a*n.a+n.b*n.b),n=go(n.d*n.d+n.c*n.c));try{s=e.getBBox()}catch{hu("Some browsers won't measure invisible elements (like display:none or masks inside defs).")}var f=s||{x:0,y:0,width:0,height:0},v=f.x,_=f.y,y=f.width,T=f.height;if((!s||!y&&!T)&&js[t]&&(y=po(e,js[t][0]),T=po(e,js[t][1]),t!=="rect"&&t!=="line"&&(y*=2,T*=2),t==="line"&&(v=po(e,"x1"),_=po(e,"y1"),y=Math.abs(y-v),T=Math.abs(T-_))),t==="path")u=r.strokeDasharray,r.strokeDasharray="none",o=e.getTotalLength()||0,pi(i)!==pi(n)&&!uu&&(uu=1)&&hu("Warning: length cannot be measured when vector-effect is non-scaling-stroke and the element isn't proportionally scaled."),o*=(i+n)/2,r.strokeDasharray=u;else if(t==="rect")o=y*2*i+T*2*n;else if(t==="line")o=fu(v,_,v+y,_+T,i,n);else if(t==="polyline"||t==="polygon")for(l=e.getAttribute("points").match(Zf)||[],t==="polygon"&&l.push(l[0],l[1]),o=0,c=2;ct&&(i=t),[-n||0,i-n||0]},pu=function(){vu()&&(Kf=document,mo=window,_u=br=yu(),Gs=br.utils.toArray,Vs=br.core.getStyleSaver,mu=br.core.reverting||function(){},gu=((mo.navigator||{}).userAgent||"").indexOf("Edge")!==-1)},vo={version:"3.13.0",name:"drawSVG",register:function(e){br=e,pu()},init:function(e,t,r,i,n){if(!e.getBBox)return!1;_u||pu();var o=_o(e),s,l,u;return this.styles=Vs&&Vs(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",s=du(e,o),l=eh(t,o,s[0]),this._length=pi(o),this._dash=pi(s[1]-s[0]),this._offset=pi(-s[0]),this._dashPT=this.add(this,"_dash",this._dash,pi(l[1]-l[0]),0,0,0,0,0,1),this._offsetPT=this.add(this,"_offset",this._offset,pi(-l[0]),0,0,0,0,0,1),gu&&(u=mo.getComputedStyle(e),u.strokeLinecap!==u.strokeLinejoin&&(l=Rr(u.strokeMiterlimit),this.add(e.style,"strokeMiterlimit",l,l+.01))),this._live=bu(e)||~(t+"").indexOf("live"),this._nowrap=~(t+"").indexOf("nowrap"),this._props.push("drawSVG"),Jf},render:function(e,t){if(t.tween._time||!mu()){var r=t._pt,i=t._style,n,o,s,l;if(r){for(t._live&&(n=_o(t._target),n!==t._length&&(o=n/t._length,t._length=n,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;s=t._dash||e&&e!==1&&1e-4||0,n=t._length-s+.1,l=t._offset,s&&l&&s+Math.abs(l%t._length)>t._length-.05&&(l+=l<0?.005:-.005)&&(n+=.005),i.strokeDashoffset=s?l:l+.001,i.strokeDasharray=n<.1?"none":s?s+"px,"+(t._nowrap?999999:n)+"px":"0px, 999999px"}}else t.styles.revert()},getLength:_o,getPosition:du};yu()&&br.registerPlugin(vo);var Hu=ua(wu(),1);(function(){function a(){for(var r=arguments.length,i=0;i"u"||!(Symbol.iterator in Object(a)))){var t=[],r=!0,i=!1,n=void 0;try{for(var o=a[Symbol.iterator](),s;!(r=(s=o.next()).done)&&(t.push(s.value),!(e&&t.length===e));r=!0);}catch(l){i=!0,n=l}finally{try{!r&&o.return!=null&&o.return()}finally{if(i)throw n}}return t}}function ku(a,e){if(a){if(typeof a=="string")return Ks(a,e);var t=Object.prototype.toString.call(a).slice(8,-1);if(t==="Object"&&a.constructor&&(t=a.constructor.name),t==="Map"||t==="Set")return Array.from(a);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Ks(a,e)}}function Ks(a,e){(e==null||e>a.length)&&(e=a.length);for(var t=0,r=new Array(e);t0&&arguments[0]!==void 0?arguments[0]:{},e=gi(a),t;return e.types!==void 0?t=e.types:e.split!==void 0&&(t=e.split),t!==void 0&&(e.types=(bn(t)||ta(t)?String(t):"").split(",").map(function(r){return String(r).trim()}).filter(function(r){return/((line)|(word)|(char))/i.test(r)})),(e.absolute||e.position)&&(e.absolute=e.absolute||/absolute/.test(a.position)),e}function ra(a){var e=bn(a)||ta(a)?String(a):"";return{none:!e,lines:/line/i.test(e),words:/word/i.test(e),chars:/char/i.test(e)}}function wo(a){return a!==null&&typeof a=="object"}function uh(a){return wo(a)&&/^(1|3|11)$/.test(a.nodeType)}function ch(a){return typeof a=="number"&&a>-1&&a%1===0}function fh(a){return wo(a)&&ch(a.length)}function mi(a){return ta(a)?a:a==null?[]:fh(a)?Array.prototype.slice.call(a):[a]}function Pu(a){var e=a;return bn(a)&&(/^(#[a-z]\w+)$/.test(a.trim())?e=document.getElementById(a.trim().slice(1)):e=document.querySelectorAll(a)),mi(e).reduce(function(t,r){return[].concat(Ft(t),Ft(mi(r).filter(uh)))},[])}var hh=Object.entries,bo="_splittype",ur={},dh=0;function wr(a,e,t){if(!wo(a))return console.warn("[data.set] owner is not an object"),null;var r=a[bo]||(a[bo]=++dh),i=ur[r]||(ur[r]={});return t===void 0?e&&Object.getPrototypeOf(e)===Object.prototype&&(ur[r]=Eu(Eu({},i),e)):e!==void 0&&(i[e]=t),t}function _i(a,e){var t=wo(a)?a[bo]:null,r=t&&ur[t]||{};return e===void 0?r:r[e]}function Au(a){var e=a&&a[bo];e&&(delete a[e],delete ur[e])}function ph(){Object.keys(ur).forEach(function(a){delete ur[a]})}function gh(){hh(ur).forEach(function(a){var e=Cu(a,2),t=e[0],r=e[1],i=r.isRoot,n=r.isSplit;(!i||!n)&&(ur[t]=null,delete ur[t])})}function _h(a){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:" ",t=a?String(a):"";return t.trim().replace(/\s+/g," ").split(e)}var ia="\\ud800-\\udfff",Ou="\\u0300-\\u036f\\ufe20-\\ufe23",Mu="\\u20d0-\\u20f0",Lu="\\ufe0e\\ufe0f",mh="[".concat(ia,"]"),Zs="[".concat(Ou).concat(Mu,"]"),Js="\\ud83c[\\udffb-\\udfff]",vh="(?:".concat(Zs,"|").concat(Js,")"),Ru="[^".concat(ia,"]"),Du="(?:\\ud83c[\\udde6-\\uddff]){2}",zu="[\\ud800-\\udbff][\\udc00-\\udfff]",Nu="\\u200d",Fu="".concat(vh,"?"),qu="[".concat(Lu,"]?"),yh="(?:"+Nu+"(?:"+[Ru,Du,zu].join("|")+")"+qu+Fu+")*",bh=qu+Fu+yh,wh="(?:".concat(["".concat(Ru).concat(Zs,"?"),Zs,Du,zu,mh].join("|"),` )`),xh=RegExp("".concat(Js,"(?=").concat(Js,")|").concat(wh).concat(bh),"g"),Sh=[Nu,ia,Ou,Mu,Lu],Th=RegExp("[".concat(Sh.join(""),"]"));function Eh(a){return a.split("")}function Iu(a){return Th.test(a)}function Ph(a){return a.match(xh)||[]}function Ch(a){return Iu(a)?Ph(a):Eh(a)}function kh(a){return a==null?"":String(a)}function Ah(a){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return a=kh(a),a&&bn(a)&&!e&&Iu(a)?Ch(a):a.split(e)}function ea(a,e){var t=document.createElement(a);return e&&Object.keys(e).forEach(function(r){var i=e[r],n=bn(i)?i.trim():i;n===null||n===""||(r==="children"?t.append.apply(t,Ft(mi(n))):t.setAttribute(r,n))}),t}var na={splitClass:"",lineClass:"line",wordClass:"word",charClass:"char",types:["lines","words","chars"],absolute:!1,tagName:"div"};function Oh(a,e){e=gi(na,e);var t=ra(e.types),r=e.tagName,i=a.nodeValue,n=document.createDocumentFragment(),o=[],s=[];return/^\s/.test(i)&&n.append(" "),o=_h(i).reduce(function(l,u,c,d){var g,f;return t.chars&&(f=Ah(u).map(function(v){var _=ea(r,{class:"".concat(e.splitClass," ").concat(e.charClass),style:"display: inline-block;",children:v});return wr(_,"isChar",!0),s=[].concat(Ft(s),[_]),_})),t.words||t.lines?(g=ea(r,{class:"".concat(e.wordClass," ").concat(e.splitClass),style:"display: inline-block; ".concat(t.words&&e.absolute?"position: relative;":""),children:t.chars?f:u}),wr(g,{isWord:!0,isWordStart:!0,isWordEnd:!0}),n.appendChild(g)):f.forEach(function(v){n.appendChild(v)}),c=M)&&(l=R,o.push(s=[])),s.push(S)),e.absolute&&wr(S,{top:R,left:D,width:A,height:F}))}),f&&f.removeChild(a),r.lines&&(g=o.map(function(S){var E=ea(i,{class:"".concat(e.splitClass," ").concat(e.lineClass),style:"display: block; text-align: ".concat(T,"; width: 100%;")});wr(E,"isLine",!0);var O={height:0,top:1e4};return _.appendChild(E),S.forEach(function(A,F,R){var D=_i(A),j=D.isWordEnd,I=D.top,ie=D.height,K=R[F+1];O.height=Math.max(O.height,ie),O.top=Math.min(O.top,I),E.appendChild(A),j&&_i(K).isWordStart&&E.append(" ")}),e.absolute&&wr(E,{height:O.height,top:O.top}),E}),r.words||Bu(_),a.replaceChildren(_)),e.absolute&&(a.style.width="".concat(a.style.width||c,"px"),a.style.height="".concat(u,"px"),mi(n).forEach(function(S){var E=_i(S),O=E.isLine,A=E.top,F=E.left,R=E.width,D=E.height,j=_i(S.parentElement),I=!O&&j.isLine;S.style.top="".concat(I?A-j.top:A,"px"),S.style.left=O?"".concat(d.left,"px"):"".concat(F-(I?d.left:0),"px"),S.style.height="".concat(D,"px"),S.style.width=O?"".concat(d.width,"px"):"".concat(R,"px"),S.style.position="absolute"})),f&&(v?f.insertBefore(a,v):f.appendChild(a)),g}var Ii=gi(na,{}),oa=function(){Su(a,null,[{key:"clearData",value:function(){ph()}},{key:"setDefaults",value:function(t){return Ii=gi(Ii,yo(t)),na}},{key:"revert",value:function(t){Pu(t).forEach(function(r){var i=_i(r),n=i.isSplit,o=i.html,s=i.cssWidth,l=i.cssHeight;n&&(r.innerHTML=o,r.style.width=s||"",r.style.height=l||"",Au(r))})}},{key:"create",value:function(t,r){return new a(t,r)}},{key:"data",get:function(){return ur}},{key:"defaults",get:function(){return Ii},set:function(t){Ii=gi(Ii,yo(t))}}]);function a(e,t){th(this,a),this.isSplit=!1,this.settings=gi(Ii,yo(t)),this.elements=Pu(e),this.split()}return Su(a,[{key:"split",value:function(t){var r=this;this.revert(),this.elements.forEach(function(o){wr(o,"html",o.innerHTML)}),this.lines=[],this.words=[],this.chars=[];var i=[window.pageXOffset,window.pageYOffset];t!==void 0&&(this.settings=gi(this.settings,yo(t)));var n=ra(this.settings.types);n.none||(this.elements.forEach(function(o){wr(o,"isRoot",!0);var s=Wu(o,r.settings),l=s.words,u=s.chars;r.words=[].concat(Ft(r.words),Ft(l)),r.chars=[].concat(Ft(r.chars),Ft(u))}),this.elements.forEach(function(o){if(n.lines||r.settings.absolute){var s=Rh(o,r.settings,i);r.lines=[].concat(Ft(r.lines),Ft(s))}}),this.isSplit=!0,window.scrollTo(i[0],i[1]),gh())}},{key:"revert",value:function(){this.isSplit&&(this.lines=null,this.words=null,this.chars=null,this.isSplit=!1),a.revert(this.elements)}}]),a}();se.registerPlugin(re,vo);var jr;se.config({nullTargetWarn:!1});se.defaults({ease:"customBezier"});var Dh=document.documentElement,zh=document.querySelector('[data-barba="wrapper"]');vi.default.use(Hu.default,{root:zh,timeout:500,limit:0});function Nh(a){let e=$(new DOMParser().parseFromString(a.next.html,"text/html")).find("html");$("html").attr("data-wf-page",e.attr("data-wf-page")),window.Webflow&&window.Webflow.destroy(),window.Webflow&&window.Webflow.ready(),$(".w--current").removeClass("w--current"),$("a").each(function(){$(this).attr("href")===window.location.pathname&&$(this).addClass("w--current")})}function sa(a,e){return new Promise((t,r)=>{let i=document.createElement("script");i.src=a,i.onload=t,i.onerror=r,(e===void 0||document.querySelector(e))&&document.querySelector('[data-barba="container"]').appendChild(i)})}function Yu(){jr=new Tn({duration:1.2,easing:e=>e===1?1:1-Math.pow(2,-10*e),direction:"vertical",gestureDirection:"vertical",smooth:!0,smoothTouch:!1,touchMultiplier:2,wheelMultiplier:1,precision:.1});function a(e){jr.raf(e),requestAnimationFrame(a)}requestAnimationFrame(a)}function Fh(){sa("https://cdn.jsdelivr.net/npm/@finsweet/attributes-cmsload@1/cmsload.js","[fs-cmsload-element]"),sa("https://cdn.jsdelivr.net/npm/@finsweet/attributes-cmsfilter@1/cmsfilter.js","[fs-cmsfilter-element]")}function qh(){"scrollRestoration"in history&&(history.scrollRestoration="manual");let a=t=>se.from(t,{duration:.6,opacity:0,ease:"none",clearProps:"all",onStart:()=>{window.scrollTo({top:0,behavior:"instant"}),jr.destroy(),Yu(),re.refresh()}}),e=t=>se.to(t,{opacity:0,duration:.6,ease:"none",clearProps:"all"});vi.default.init({prevent:({el:t})=>t.hasAttribute("data-barba-prevent"),transitions:[{name:"default-transition",async leave(t){await e(t.current.container)},enter(t){a(t.next.container)}}]}),vi.default.hooks.before(()=>{jr.destroy(),document.querySelector("[audio-player_play-btn]")&&isSpeaking&&document.querySelector("[audio-player_play-btn]").click()}),vi.default.hooks.enter(t=>{Nh(t)}),vi.default.hooks.afterLeave(()=>{document.documentElement.classList.remove("ready")}),vi.default.hooks.after(()=>{document.documentElement.classList.add("ready"),jr.start(),Xu()})}function Ih(){let a=window.innerWidth;function e(){document.querySelectorAll("[data-split-type]").forEach(function(r){let i=new oa(r,{types:r.getAttribute("data-split-type")}),n=r.getAttribute("data-split-type");n==="lines"&&i[n].forEach(o=>{let s=document.createElement("div");s.classList.add(n+"-wrap"),o.parentNode.appendChild(s),s.appendChild(o)})})}e(),window.addEventListener("resize",function(){window.innerWidth!==a&&e(),a=window.innerWidth})}function Xu(){document.fonts.ready.then(()=>{Ih(),Wh()}),Bh(),Fh(),Hh()}document.addEventListener("DOMContentLoaded",()=>{Webflow.env("editor")===void 0?(qh(),Yu()):se.to("body",{duration:.6,opacity:1,ease:"none"}),window.scrollTo(0,0),Dh.classList.add("once","ready"),Xu()});window.addEventListener("orientationchange",()=>{window.location.reload()});function Wh(){let a={duration:.75,ease:"customBezier"};function e(n,o,s){n.forEach(l=>{se.fromTo(l,o.from,{...o.to,scrollTrigger:{trigger:l,...s}})})}function t(){let n=document.querySelectorAll("[anim-stagger]:not([modal] [anim-stagger])");n.length!==0&&n.forEach(o=>{let s=o.getAttribute("anim-stagger"),l=o.querySelectorAll(s);l.length!==0&&(se.set(l,{y:o.getAttribute("from-y")||"0.5rem",opacity:0}),re.batch(l,{onEnter:u=>{se.to(u,{autoAlpha:1,duration:o.getAttribute("data-duration")||a.duration,y:"0rem",opacity:1,stagger:{from:o.getAttribute("stagger-from")||"start",each:o.getAttribute("stagger-amount")||.1},ease:o.getAttribute("data-easing")||a.ease,scrollTrigger:{trigger:o,start:o.getAttribute("scrollTrigger-start")||"top 95%",markers:o.getAttribute("anim-markers")||!1},delay:o.getAttribute("data-delay")||.25,clearProps:"all"})}}))})}function r(){let n=document.querySelectorAll("[anim-element]:not([modal] [anim-element]), .anim-element:not([modal] .anim-element), .w-pagination-next:not([modal] .w-pagination-next)");n.length!==0&&n.forEach(o=>{let s={y:o.getAttribute("from-y")||"0.75rem",x:o.getAttribute("from-x")||0,opacity:0},l={y:"0%",x:"0%",opacity:1,duration:o.getAttribute("data-duration")||a.duration,ease:o.getAttribute("data-easing")||a.ease,delay:o.getAttribute("data-delay")||.25,clearProps:"all"};e([o],{from:s,to:l},{start:"top 97%"})})}function i(){if(window.innerWidth<=768)return;let n=document.querySelectorAll("[parallax-element]");n.length!==0&&e(n,{from:{y:"-10%",scale:1.1},to:{y:"10%",scale:1.1}},{start:"top bottom",end:"bottom -50%",scrub:.2})}t(),r(),i(),(()=>{let n=document.querySelectorAll('[data-split-type= "chars, words"]');n.length&&n.forEach(o=>{se.from(o.querySelectorAll(".char"),{duration:.65,x:-10,ease:"power2.out",scrollTrigger:o,opacity:0,stagger:.025,delay:o.getAttribute("data-delay")||.25})})})(),(()=>{let n=document.querySelectorAll('[data-split-type= "lines"]');n.length&&n.forEach(o=>{se.from(o.querySelectorAll(".line"),{duration:1,y:"100%",ease:"power2.out",scrollTrigger:o,stagger:.125,delay:o.getAttribute("data-delay")||.25})})})()}function Bh(){document.querySelector(".swiper .swiper-slide")&&sa("https://cdnjs.cloudflare.com/ajax/libs/Swiper/11.0.5/swiper-bundle.min.js").then(()=>{if(document.querySelector("[multi-img-slider] .swiper-slide")){let l=function(u,c,d){let f=u.slides[c],v=f.querySelector("img")?f.querySelector("img").getAttribute("alt"):"";n&&(c===0?n.setAttribute("disable",""):n.removeAttribute("disable")),o&&(c===d-1?o.setAttribute("disable",""):o.removeAttribute("disable")),t&&(t.innerHTML=c+1<10?"0"+(c+1):c+1),r&&(r.innerHTML=d<10?"0"+d:d),i&&(i.innerHTML=v)};var a=l;let e=document.querySelector("[multi-img-slider]");if(!e)return;let t=e.querySelector(".current-index"),r=e.querySelector(".total-slides"),i=e.querySelector("[slide-desc-text]"),n=e.querySelector("[swiper-prev-btn]"),o=e.querySelector("[swiper-next-btn]"),s=new Swiper("[multi-img-slider] .swiper",{slidesPerView:"auto",allowTouchMove:!0,spaceBetween:10,speed:700,navigation:{nextEl:"[multi-img-slider] [swiper-next-btn]",prevEl:"[multi-img-slider] [swiper-prev-btn]"},on:{init:function(){l(this,this.realIndex,this.slides.length)},slideChange:function(){l(this,this.realIndex,this.slides.length)}}})}}).catch(a=>{console.error("Error loading Swiper:",a)})}function Hh(){(()=>{let o=document.querySelectorAll(".filter-dropdown");o.length&&(o.forEach(s=>{s.querySelector(".dropdown-head").addEventListener("click",u=>{u.stopPropagation(),s.classList.toggle("open")})}),document.addEventListener("click",s=>{o.forEach(l=>{l.contains(s.target)||l.classList.remove("open")})}))})(),(()=>{let o=document.querySelector(".nav"),s=o.querySelector(".menu-btn");!o||!s||s.addEventListener("click",()=>{console.log(s),o.classList.toggle("open")})})();function a(){let o=document.querySelectorAll("[mirror-trigger-btn]");o.length!==0&&o.forEach(s=>{let l=s.getAttribute("mirror-trigger-btn");if(!l){console.warn("mirror-trigger-btn attribute is empty:",s);return}let u=document.querySelector(l);if(!u){console.warn("No element matches",l);return}s.addEventListener("click",c=>{c.preventDefault(),u.click(),console.log("Mirrored click to",u)})})}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",a):a(),(()=>{if(window.innerWidth<767)return;let o=document.querySelectorAll('a[open-modal="offerings"]'),s=document.querySelector("#offerings-modal");if(!o.length||!s)return;let l=s.querySelectorAll("[close-modal]");if(!l.length)return;let u=se.timeline({paused:!0});u.set(s,{display:"block",opacity:0}).to(s,{opacity:1,duration:.35,ease:"power2.out"}).from(s.querySelector(".sidebar.for-nav"),{duration:.35,xPercent:-100,ease:"power2.out",delay:.2},"<").from(s.querySelector(".mega-menu-body"),{duration:.5,xPercent:-180,ease:"power2.out"},"<");let c=se.timeline({paused:!0});c.to(s.querySelector(".consultation-panel"),{duration:.35,xPercent:100,ease:"power2.out"}).to(s,{opacity:0,duration:.35,ease:"power2.out",delay:.2},"<").set(s,{display:"none"}),o.forEach(function(d){d.addEventListener("click",function(g){g.preventDefault(),u.restart()})}),l.forEach(d=>{d.addEventListener("click",function(){c.restart()})})})(),(()=>{let o=document.querySelectorAll('a[modal="book-consultation"]'),s=document.querySelector("[consultation-modal]");if(!o.length||!s)return;let l=s.querySelectorAll("[close-modal]");if(!l.length)return;let u=se.timeline({paused:!0});u.set(s,{display:"block",opacity:0}).to(s,{opacity:1,duration:.35,ease:"power2.out"}).from(s.querySelector(".consultation-panel"),{duration:.35,xPercent:100,ease:"power2.out",delay:.2,onComplete:()=>{jr.stop()}},"<");let c=se.timeline({paused:!0});c.to(s.querySelector(".consultation-panel"),{duration:.35,xPercent:100,ease:"power2.out"}).to(s,{opacity:0,duration:.35,ease:"power2.out",delay:.2,onStart:()=>{jr.start()}},"<").set(s,{display:"none"}),o.forEach(function(d){d.addEventListener("click",function(g){g.preventDefault(),u.restart()})}),l.forEach(d=>{d.addEventListener("click",function(){c.restart()})})})(),(()=>{let o=document.querySelector("#section-feature");if(!o||window.innerWidth<768)return;se.registerPlugin(vo,re);let s=o.querySelector("[draw-svg-circle]"),l=o.querySelectorAll("#features-list .feature-block"),u=o.querySelectorAll("[feature-titles]"),c=o.querySelectorAll("[side-no]");se.set(s,{drawSVG:"0%"}),se.set(l,{opacity:.25}),se.set(u,{autoAlpha:0}),u[0]&&se.set(u[0],{autoAlpha:1});let d=g=>{c.forEach((f,v)=>{se.to(f,{backgroundColor:v===g?"#B3C8E3":"#142944",color:v===g?"#142944":"#667992",duration:.2})}),l.forEach((f,v)=>{se.to(f,{opacity:v===g?1:.5,duration:.2})}),u.forEach((f,v)=>{se.to(f,{autoAlpha:v===g?1:0,duration:.2})})};l.forEach((g,f)=>{let v=`${f*25}%`;se.to(s,{drawSVG:v,ease:"power1.inOut",immediateRender:!1,scrollTrigger:{trigger:g,start:"top 60%",toggleActions:"play none none reverse",onEnter:()=>d(f),onEnterBack:()=>d(f)}})})})(),(()=>{let o=document.querySelector("#section-feature");if(!o||window.innerWidth>767)return;let s=o.querySelector("#features-list");s&&se.fromTo(s,{xPercent:0},{xPercent:-66.7,ease:"linear",scrollTrigger:{trigger:o,start:"top top",end:"bottom bottom",scrub:1}})})(),(()=>{let o=document.querySelectorAll("[img-slide]");o.length&&o.forEach(s=>{se.from(s,{yPercent:100,scale:.85,duration:.5,ease:"power2.out",scrollTrigger:{trigger:s}})})})(),(()=>{let o=document.querySelectorAll("[update-color]");o.length&&o.forEach(s=>{se.to(s,{color:s.getAttribute("update-color"),duration:1.2,delay:s.getAttribute("data-delay")||.5,ease:"power2.out",scrollTrigger:{trigger:s}})})})(),(()=>{let o=document.querySelectorAll("[border-vertical]");o.length&&o.forEach(s=>{se.set(s,{height:0}),se.to(s,{height:"100%",duration:1.2,ease:"power2.out",delay:s.getAttribute("data-delay")||.5,scrollTrigger:{trigger:s}})})})(),(()=>{let o=document.querySelectorAll("[border-horizontal]");o.length&&o.forEach(s=>{se.set(s,{width:0}),se.to(s,{width:"100%",duration:1.2,delay:s.getAttribute("data-delay")||.5,ease:"power2.out",scrollTrigger:{trigger:s}})})})(),(()=>{function o(u,c,d,g){re.create({trigger:u,start:"top 80%",onEnter:()=>{se.to({count:c},{count:d,delay:g?parseFloat(g):0,duration:2,ease:"expo.out",onUpdate:function(){u.innerText=Math.round(this.targets()[0].count)}})},once:!0})}let s=document.querySelectorAll("[count-up]");if(!s.length)return;s.forEach(u=>{let c=u.textContent.trim(),d=/^([\$\£\€]?)(\d+(?:\.\d+)?)(.*)$/,g=c.match(d);if(g){let f=g[1],v=g[2],_=g[3];u.innerHTML=`${f}${v}${_}`}}),document.querySelectorAll("[count-up] [number]").forEach(u=>{let c=parseInt(u.innerHTML,10),d=u.getAttribute("data-delay")||0;u.innerHTML="0",o(u,0,c,d)})})(),(()=>{let o=document.querySelectorAll("[scroll-highlight]");o.length&&o.forEach(s=>{let l=s.getAttribute("scroll-highlight"),u=getComputedStyle(document.documentElement).getPropertyValue(l).trim(),c=getComputedStyle(s).color,d=new oa(s,{types:["chars","words"]});se.fromTo(d.chars,{color:c},{scrollTrigger:{trigger:s,start:"top 100%",end:"top 10%",scrub:!0,markers:!1},color:u,stagger:.05})})})(),(()=>{let o={allowInput:!0,clickOpens:!0,disableMobile:!0};flatpickr("#datePicker",{...o,dateFormat:"Y-m-d",altInput:!0,altFormat:"F j, Y",enableTime:!1,onReady:s=>{s.altInput.setAttribute("placeholder","July 1, 2025")}}),flatpickr("#timePicker",{...o,noCalendar:!0,enableTime:!0,time_24hr:!0,dateFormat:"H:i",minuteIncrement:5,onReady:s=>{s.input.setAttribute("placeholder","HH:MM")}})})(),(()=>{let o=document.querySelector("[sidebar-nav='sticky']"),s=se.utils.toArray("[section-theme]");if(o&&s.length>0&&window.innerWidth>768){let u=function(c){o.classList.remove("light","dark","navy","whatever-else"),o.classList.add(c)};var l=u;console.log("HELLO"),s.forEach(c=>{let d=c.getAttribute("section-theme");re.create({trigger:c,start:"top 300",end:"bottom 300",onEnter:()=>u(d),onEnterBack:()=>u(d)})})}})(),e();function e(){let o=document.querySelectorAll("[accordion]");o.length&&o.forEach((s,l)=>{let u=s.getAttribute("accordion"),c=u==="mobile",d=u==="on-hover";if(c&&window.innerWidth>768)return;let g=s.querySelector("[accordion-head]"),f=s.querySelector("[accordion-body]");if(!g||!f)return;se.set(f,{height:"0px",opacity:0});let v="accordion";g.id||(g.id=`${v}-head-${l}`),f.id||(f.id=`${v}-body-${l}`),g.tagName.toLowerCase()!=="button"&&(g.setAttribute("role","button"),g.setAttribute("tabindex","0")),g.setAttribute("aria-controls",f.id),g.setAttribute("aria-expanded","false"),f.setAttribute("role","region"),f.setAttribute("aria-labelledby",g.id),f.setAttribute("aria-hidden","true");let _=()=>{T(s),s.classList.add("open"),g.setAttribute("aria-expanded","true"),f.setAttribute("aria-hidden","false"),se.to(f,{height:"auto",opacity:1,duration:.5,ease:"expo.inOut"})},y=()=>{s.classList.remove("open"),g.setAttribute("aria-expanded","false"),f.setAttribute("aria-hidden","true"),se.to(f,{height:"0px",opacity:0,duration:.5,ease:"expo.inOut"})},T=C=>{o.forEach(M=>{if(M===C||M.getAttribute("accordion")==="mobile"&&window.innerWidth>768)return;let O=M.querySelector("[accordion-head]"),A=M.querySelector("[accordion-body]");!O||!A||(M.classList.remove("open"),O.setAttribute("aria-expanded","false"),A.setAttribute("aria-hidden","true"),se.to(A,{height:"0px",opacity:0,duration:.5,ease:"expo.inOut"}))})};(!d||window.innerWidth<=768)&&(g.addEventListener("click",()=>{s.classList.contains("open")||_()}),g.tagName.toLowerCase()!=="button"&&g.addEventListener("keydown",C=>{(C.key==="Enter"||C.key===" ")&&(C.preventDefault(),g.click())})),d&&window.innerWidth>768&&s.addEventListener("mouseenter",()=>{s.classList.contains("open")||_()}),l===0&&(!d||window.innerWidth<=768)&&_()})}t();function t(){let o=document.querySelectorAll("[section-tab]");if(!o.length)return;let s=!1,l=(c,d)=>{se.to(c,{opacity:0,y:"2rem",stagger:.05,duration:.35,ease:"power3.in",onComplete:d})},u=c=>{se.fromTo(c,{opacity:0,y:"1rem"},{opacity:1,y:"0rem",stagger:.05,duration:.35,ease:"power3.out",onComplete:function(){jr.resize(),re.refresh(),s=!1}})};o.forEach(c=>{let d=Array.from(c.querySelectorAll("[tab-btn]")),g=Array.from(c.querySelectorAll("[tab-content]"));if(g.forEach((_,y)=>{_.querySelector(".w-dyn-empty")&&(_.classList.add("hide"),c.querySelector(`[tab-btn="${_.getAttribute("tab-content")}"]`)&&c.querySelector(`[tab-btn="${_.getAttribute("tab-content")}"]`).classList.add("hide"))}),d.every(_=>_.classList.contains("hide"))||!d.length||!g.length)return;let v=_=>{if(_.classList.contains("active")||s)return;s=!0;let y=_.getAttribute("tab-btn"),T=c.querySelector("[tab-content].active"),C=g.find(E=>E.getAttribute("tab-content")===y);if(!C){s=!1;return}let M=T?.querySelectorAll('.w-dyn-item[role="listitem"], [tab-content-item]')||[],S=C.querySelectorAll('.w-dyn-item[role="listitem"], [tab-content-item]')||[];l(M,()=>{T&&T.classList.remove("active"),C.classList.add("active"),u(S)}),d.forEach(E=>E.classList.remove("active")),_.classList.add("active")};if(d.length>0){let _;if(c.hasAttribute("active-tab"))_=c.getAttribute("active-tab")-1;else if(c.hasAttribute("tab-active-medium")){let y=c.querySelector(`[tab-btn="${c.getAttribute("tab-active-medium")}"]`);y&&!y.classList.contains("hide")&&(_=d.findIndex(T=>T===y))}if((_===void 0||d[_]?.classList.contains("hide"))&&(_=d.findIndex(y=>!y.classList.contains("hide"))),_>=0&&d[_]){d.forEach(T=>T.classList.remove("active")),g.forEach(T=>T.classList.remove("active")),d[_].classList.add("active");let y=g.find(T=>T.getAttribute("tab-content")===d[_].getAttribute("tab-btn"));y&&y.classList.add("active")}else{let y=d.find(T=>!T.classList.contains("hide"));if(y){y.classList.add("active");let T=g.find(C=>C.getAttribute("tab-content")===y.getAttribute("tab-btn"));T&&T.classList.add("active")}}}d.forEach(_=>_.addEventListener("click",()=>v(_)))})}(()=>{let o=document.querySelectorAll(".w-pagination-next , .w-pagination-previous");o.length&&o.forEach(s=>s.setAttribute("data-barba-prevent",""))})(),r();function r(){if(window.innerWidth>767)return;let o=document.querySelectorAll("[dropdown]");o.length<1||o.forEach(s=>{s.querySelector("[dropdown-head]").addEventListener("click",()=>{console.log("HELLO"),s.classList.contains("open")?s.classList.remove("open"):(o.forEach(d=>d.classList.remove("open")),s.classList.add("open"))});let u=s.querySelector("[dropdown-body]"),c=u.clientHeight;s.style.setProperty("--body-height",c+"px"),u.style.height="0px"})}function i(o,s,l){let u="";if(l){let c=new Date;c.setTime(c.getTime()+l*24*60*60*1e3),u="; expires="+c.toUTCString()}document.cookie=o+"="+encodeURIComponent(s)+u+"; path=/"}function n(o){let s=document.cookie.match(new RegExp("(^| )"+o+"=([^;]+)"));return s?decodeURIComponent(s[2]):null}(()=>{let o=document.querySelector("form#brochure-form");if(!o)return;let s=document.querySelector("#brochure-modal");if(!s)return;let l=!1;function u(){if(l||n("brochure_formSubmit"))return;let d=window.scrollY,g=document.documentElement.scrollHeight,f=window.innerHeight;d/(g-f)*100>=70&&(s.classList.add("open"),console.log("modal opened"),l=!0,window.removeEventListener("scroll",u))}n("brochure_formSubmit")||window.addEventListener("scroll",u),o.addEventListener("submit",function(){i("brochure_formSubmit","true",7)});let c=s.querySelectorAll("[close-modal]");c.length&&c.forEach(d=>{d.addEventListener("click",function(){s.classList.remove("open"),i("brochure_formSubmit","true",7)})})})()}})(); /*! Bundled license information: gsap/gsap-core.js: (*! * GSAP 3.13.0 * https://gsap.com * * @license Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com *) gsap/CSSPlugin.js: (*! * CSSPlugin 3.13.0 * https://gsap.com * * Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com *) gsap/Observer.js: (*! * Observer 3.13.0 * https://gsap.com * * @license Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com *) gsap/ScrollTrigger.js: (*! * ScrollTrigger 3.13.0 * https://gsap.com * * @license Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com *) gsap/DrawSVGPlugin.js: (*! * DrawSVGPlugin 3.13.0 * https://gsap.com * * @license Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com *) */