const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/default-C7fv36P8.js","assets/IconYT-O3eOVIgc.js","assets/default-BAoiPdZC.css","assets/example-D4cWMhSw.js","assets/ButtonToggle-FoO0Iy-J.js","assets/ButtonToggle-DnnmHfKA.css","assets/example-DDLPA9LR.css","assets/partners-0X69ZU_D.js","assets/HeroHeader-y61UIIw5.js","assets/HeroHeader-ChWlqZrM.css","assets/partners-cDCeitHL.css","assets/people-Cwg6lJfP.js","assets/PeopleGridList-BL0a_lWa.js","assets/PeopleGridList-Bftw6DXe.css","assets/people-B1k-KUvO.css","assets/perspectives-C9uLzzFG.js","assets/perspectives-LFIeKJ26.css","assets/programs-C3KlhtS6.js","assets/programs-4mGPX_Fm.css"])))=>i.map(i=>d[i]);
var hE=Object.defineProperty;var pE=(t,e,n)=>e in t?hE(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var Oe=(t,e,n)=>pE(t,typeof e!="symbol"?e+"":e,n);function mE(t,e){for(var n=0;n<e.length;n++){const r=e[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in t)){const s=Object.getOwnPropertyDescriptor(r,i);s&&Object.defineProperty(t,i,s.get?s:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();/*!
* shared v10.0.8
* (c) 2025 kazuya kawaguchi
* Released under the MIT License.
*/function gE(t,e){typeof console<"u"&&(console.warn("[intlify] "+t),e&&console.warn(e.stack))}const Xf=typeof window<"u",Mo=(t,e=!1)=>e?Symbol.for(t):Symbol(t),_E=(t,e,n)=>vE({l:t,k:e,s:n}),vE=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),qn=t=>typeof t=="number"&&isFinite(t),yE=t=>jm(t)==="[object Date]",Qf=t=>jm(t)==="[object RegExp]",Ld=t=>Bt(t)&&Object.keys(t).length===0,ar=Object.assign,bE=Object.create,an=(t=null)=>bE(t);let B_;const Um=()=>B_||(B_=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:an());function V_(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function U_(t){return t.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function wE(t){return t=t.replace(/(\w+)\s*=\s*"([^"]*)"/g,(r,i,s)=>`${i}="${U_(s)}"`),t=t.replace(/(\w+)\s*=\s*'([^']*)'/g,(r,i,s)=>`${i}='${U_(s)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(t)&&(t=t.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(r=>{t=t.replace(r,"$1javascript:")}),t}const SE=Object.prototype.hasOwnProperty;function ji(t,e){return SE.call(t,e)}const Jn=Array.isArray,An=t=>typeof t=="function",nt=t=>typeof t=="string",kn=t=>typeof t=="boolean",qt=t=>t!==null&&typeof t=="object",TE=t=>qt(t)&&An(t.then)&&An(t.catch),b1=Object.prototype.toString,jm=t=>b1.call(t),Bt=t=>jm(t)==="[object Object]",AE=t=>t==null?"":Jn(t)||Bt(t)&&t.toString===b1?JSON.stringify(t,null,2):String(t);function Wm(t,e=""){return t.reduce((n,r,i)=>i===0?n+r:n+e+r,"")}const Kc=t=>!qt(t)||Jn(t);function kf(t,e){if(Kc(t)||Kc(e))throw new Error("Invalid value");const n=[{src:t,des:e}];for(;n.length;){const{src:r,des:i}=n.pop();Object.keys(r).forEach(s=>{s!=="__proto__"&&(qt(r[s])&&!qt(i[s])&&(i[s]=Array.isArray(r[s])?[]:an()),Kc(i[s])||Kc(r[s])?i[s]=r[s]:n.push({src:r[s],des:i[s]}))})}}/*!
* message-compiler v10.0.8
* (c) 2025 kazuya kawaguchi
* Released under the MIT License.
*/function EE(t,e,n){return{line:t,column:e,offset:n}}function Sp(t,e,n){return{start:t,end:e}}const rn={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},kE=17;function Od(t,e,n={}){const{domain:r,messages:i,args:s}=n,o=t,a=new SyntaxError(String(o));return a.code=t,e&&(a.location=e),a.domain=r,a}function RE(t){throw t}const xs=" ",CE="\r",Mr=`
`,xE="\u2028",PE="\u2029";function IE(t){const e=t;let n=0,r=1,i=1,s=0;const o=$=>e[$]===CE&&e[$+1]===Mr,a=$=>e[$]===Mr,u=$=>e[$]===PE,c=$=>e[$]===xE,d=$=>o($)||a($)||u($)||c($),l=()=>n,f=()=>r,h=()=>i,g=()=>s,p=$=>o($)||u($)||c($)?Mr:e[$],b=()=>p(n),y=()=>p(n+s);function S(){return s=0,d(n)&&(r++,i=0),o(n)&&n++,n++,i++,e[n]}function E(){return o(n+s)&&s++,s++,e[n+s]}function T(){n=0,r=1,i=1,s=0}function k($=0){s=$}function M(){const $=n+s;for(;$!==n;)S();s=0}return{index:l,line:f,column:h,peekOffset:g,charAt:p,currentChar:b,currentPeek:y,next:S,peek:E,reset:T,resetPeek:k,skipToPeek:M}}const io=void 0,LE=".",j_="'",OE="tokenizer";function ME(t,e={}){const n=e.location!==!1,r=IE(t),i=()=>r.index(),s=()=>EE(r.line(),r.column(),r.index()),o=s(),a=i(),u={currentType:13,offset:a,startLoc:o,endLoc:o,lastType:13,lastOffset:a,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},c=()=>u,{onError:d}=e;function l(V,C,D,...Z){const fe=c();if(C.column+=D,C.offset+=D,d){const de=n?Sp(fe.startLoc,C):null,ne=Od(V,de,{domain:OE,args:Z});d(ne)}}function f(V,C,D){V.endLoc=s(),V.currentType=C;const Z={type:C};return n&&(Z.loc=Sp(V.startLoc,V.endLoc)),D!=null&&(Z.value=D),Z}const h=V=>f(V,13);function g(V,C){return V.currentChar()===C?(V.next(),C):(l(rn.EXPECTED_TOKEN,s(),0,C),"")}function p(V){let C="";for(;V.currentPeek()===xs||V.currentPeek()===Mr;)C+=V.currentPeek(),V.peek();return C}function b(V){const C=p(V);return V.skipToPeek(),C}function y(V){if(V===io)return!1;const C=V.charCodeAt(0);return C>=97&&C<=122||C>=65&&C<=90||C===95}function S(V){if(V===io)return!1;const C=V.charCodeAt(0);return C>=48&&C<=57}function E(V,C){const{currentType:D}=C;if(D!==2)return!1;p(V);const Z=y(V.currentPeek());return V.resetPeek(),Z}function T(V,C){const{currentType:D}=C;if(D!==2)return!1;p(V);const Z=V.currentPeek()==="-"?V.peek():V.currentPeek(),fe=S(Z);return V.resetPeek(),fe}function k(V,C){const{currentType:D}=C;if(D!==2)return!1;p(V);const Z=V.currentPeek()===j_;return V.resetPeek(),Z}function M(V,C){const{currentType:D}=C;if(D!==7)return!1;p(V);const Z=V.currentPeek()===".";return V.resetPeek(),Z}function $(V,C){const{currentType:D}=C;if(D!==8)return!1;p(V);const Z=y(V.currentPeek());return V.resetPeek(),Z}function H(V,C){const{currentType:D}=C;if(!(D===7||D===11))return!1;p(V);const Z=V.currentPeek()===":";return V.resetPeek(),Z}function O(V,C){const{currentType:D}=C;if(D!==9)return!1;const Z=()=>{const de=V.currentPeek();return de==="{"?y(V.peek()):de==="@"||de==="|"||de===":"||de==="."||de===xs||!de?!1:de===Mr?(V.peek(),Z()):re(V,!1)},fe=Z();return V.resetPeek(),fe}function F(V){p(V);const C=V.currentPeek()==="|";return V.resetPeek(),C}function re(V,C=!0){const D=(fe=!1,de="")=>{const ne=V.currentPeek();return ne==="{"||ne==="@"||!ne?fe:ne==="|"?!(de===xs||de===Mr):ne===xs?(V.peek(),D(!0,xs)):ne===Mr?(V.peek(),D(!0,Mr)):!0},Z=D();return C&&V.resetPeek(),Z}function N(V,C){const D=V.currentChar();return D===io?io:C(D)?(V.next(),D):null}function P(V){const C=V.charCodeAt(0);return C>=97&&C<=122||C>=65&&C<=90||C>=48&&C<=57||C===95||C===36}function z(V){return N(V,P)}function Q(V){const C=V.charCodeAt(0);return C>=97&&C<=122||C>=65&&C<=90||C>=48&&C<=57||C===95||C===36||C===45}function B(V){return N(V,Q)}function G(V){const C=V.charCodeAt(0);return C>=48&&C<=57}function ie(V){return N(V,G)}function ae(V){const C=V.charCodeAt(0);return C>=48&&C<=57||C>=65&&C<=70||C>=97&&C<=102}function X(V){return N(V,ae)}function pe(V){let C="",D="";for(;C=ie(V);)D+=C;return D}function Ee(V){let C="";for(;;){const D=V.currentChar();if(D==="{"||D==="}"||D==="@"||D==="|"||!D)break;if(D===xs||D===Mr)if(re(V))C+=D,V.next();else{if(F(V))break;C+=D,V.next()}else C+=D,V.next()}return C}function ke(V){b(V);let C="",D="";for(;C=B(V);)D+=C;return V.currentChar()===io&&l(rn.UNTERMINATED_CLOSING_BRACE,s(),0),D}function Re(V){b(V);let C="";return V.currentChar()==="-"?(V.next(),C+=`-${pe(V)}`):C+=pe(V),V.currentChar()===io&&l(rn.UNTERMINATED_CLOSING_BRACE,s(),0),C}function ye(V){return V!==j_&&V!==Mr}function we(V){b(V),g(V,"'");let C="",D="";for(;C=N(V,ye);)C==="\\"?D+=se(V):D+=C;const Z=V.currentChar();return Z===Mr||Z===io?(l(rn.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),Z===Mr&&(V.next(),g(V,"'")),D):(g(V,"'"),D)}function se(V){const C=V.currentChar();switch(C){case"\\":case"'":return V.next(),`\\${C}`;case"u":return le(V,C,4);case"U":return le(V,C,6);default:return l(rn.UNKNOWN_ESCAPE_SEQUENCE,s(),0,C),""}}function le(V,C,D){g(V,C);let Z="";for(let fe=0;fe<D;fe++){const de=X(V);if(!de){l(rn.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${C}${Z}${V.currentChar()}`);break}Z+=de}return`\\${C}${Z}`}function he(V){return V!=="{"&&V!=="}"&&V!==xs&&V!==Mr}function Te(V){b(V);let C="",D="";for(;C=N(V,he);)D+=C;return D}function Le(V){let C="",D="";for(;C=z(V);)D+=C;return D}function W(V){const C=D=>{const Z=V.currentChar();return Z==="{"||Z==="@"||Z==="|"||Z==="("||Z===")"||!Z||Z===xs?D:(D+=Z,V.next(),C(D))};return C("")}function L(V){b(V);const C=g(V,"|");return b(V),C}function q(V,C){let D=null;switch(V.currentChar()){case"{":return C.braceNest>=1&&l(rn.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),V.next(),D=f(C,2,"{"),b(V),C.braceNest++,D;case"}":return C.braceNest>0&&C.currentType===2&&l(rn.EMPTY_PLACEHOLDER,s(),0),V.next(),D=f(C,3,"}"),C.braceNest--,C.braceNest>0&&b(V),C.inLinked&&C.braceNest===0&&(C.inLinked=!1),D;case"@":return C.braceNest>0&&l(rn.UNTERMINATED_CLOSING_BRACE,s(),0),D=ee(V,C)||h(C),C.braceNest=0,D;default:{let fe=!0,de=!0,ne=!0;if(F(V))return C.braceNest>0&&l(rn.UNTERMINATED_CLOSING_BRACE,s(),0),D=f(C,1,L(V)),C.braceNest=0,C.inLinked=!1,D;if(C.braceNest>0&&(C.currentType===4||C.currentType===5||C.currentType===6))return l(rn.UNTERMINATED_CLOSING_BRACE,s(),0),C.braceNest=0,K(V,C);if(fe=E(V,C))return D=f(C,4,ke(V)),b(V),D;if(de=T(V,C))return D=f(C,5,Re(V)),b(V),D;if(ne=k(V,C))return D=f(C,6,we(V)),b(V),D;if(!fe&&!de&&!ne)return D=f(C,12,Te(V)),l(rn.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,D.value),b(V),D;break}}return D}function ee(V,C){const{currentType:D}=C;let Z=null;const fe=V.currentChar();switch((D===7||D===8||D===11||D===9)&&(fe===Mr||fe===xs)&&l(rn.INVALID_LINKED_FORMAT,s(),0),fe){case"@":return V.next(),Z=f(C,7,"@"),C.inLinked=!0,Z;case".":return b(V),V.next(),f(C,8,".");case":":return b(V),V.next(),f(C,9,":");default:return F(V)?(Z=f(C,1,L(V)),C.braceNest=0,C.inLinked=!1,Z):M(V,C)||H(V,C)?(b(V),ee(V,C)):$(V,C)?(b(V),f(C,11,Le(V))):O(V,C)?(b(V),fe==="{"?q(V,C)||Z:f(C,10,W(V))):(D===7&&l(rn.INVALID_LINKED_FORMAT,s(),0),C.braceNest=0,C.inLinked=!1,K(V,C))}}function K(V,C){let D={type:13};if(C.braceNest>0)return q(V,C)||h(C);if(C.inLinked)return ee(V,C)||h(C);switch(V.currentChar()){case"{":return q(V,C)||h(C);case"}":return l(rn.UNBALANCED_CLOSING_BRACE,s(),0),V.next(),f(C,3,"}");case"@":return ee(V,C)||h(C);default:{if(F(V))return D=f(C,1,L(V)),C.braceNest=0,C.inLinked=!1,D;if(re(V))return f(C,0,Ee(V));break}}return D}function x(){const{currentType:V,offset:C,startLoc:D,endLoc:Z}=u;return u.lastType=V,u.lastOffset=C,u.lastStartLoc=D,u.lastEndLoc=Z,u.offset=i(),u.startLoc=s(),r.currentChar()===io?f(u,13):K(r,u)}return{nextToken:x,currentOffset:i,currentPosition:s,context:c}}const FE="parser",DE=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function NE(t,e,n){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(e||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function $E(t={}){const e=t.location!==!1,{onError:n}=t;function r(y,S,E,T,...k){const M=y.currentPosition();if(M.offset+=T,M.column+=T,n){const $=e?Sp(E,M):null,H=Od(S,$,{domain:FE,args:k});n(H)}}function i(y,S,E){const T={type:y};return e&&(T.start=S,T.end=S,T.loc={start:E,end:E}),T}function s(y,S,E,T){e&&(y.end=S,y.loc&&(y.loc.end=E))}function o(y,S){const E=y.context(),T=i(3,E.offset,E.startLoc);return T.value=S,s(T,y.currentOffset(),y.currentPosition()),T}function a(y,S){const E=y.context(),{lastOffset:T,lastStartLoc:k}=E,M=i(5,T,k);return M.index=parseInt(S,10),y.nextToken(),s(M,y.currentOffset(),y.currentPosition()),M}function u(y,S){const E=y.context(),{lastOffset:T,lastStartLoc:k}=E,M=i(4,T,k);return M.key=S,y.nextToken(),s(M,y.currentOffset(),y.currentPosition()),M}function c(y,S){const E=y.context(),{lastOffset:T,lastStartLoc:k}=E,M=i(9,T,k);return M.value=S.replace(DE,NE),y.nextToken(),s(M,y.currentOffset(),y.currentPosition()),M}function d(y){const S=y.nextToken(),E=y.context(),{lastOffset:T,lastStartLoc:k}=E,M=i(8,T,k);return S.type!==11?(r(y,rn.UNEXPECTED_EMPTY_LINKED_MODIFIER,E.lastStartLoc,0),M.value="",s(M,T,k),{nextConsumeToken:S,node:M}):(S.value==null&&r(y,rn.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,is(S)),M.value=S.value||"",s(M,y.currentOffset(),y.currentPosition()),{node:M})}function l(y,S){const E=y.context(),T=i(7,E.offset,E.startLoc);return T.value=S,s(T,y.currentOffset(),y.currentPosition()),T}function f(y){const S=y.context(),E=i(6,S.offset,S.startLoc);let T=y.nextToken();if(T.type===8){const k=d(y);E.modifier=k.node,T=k.nextConsumeToken||y.nextToken()}switch(T.type!==9&&r(y,rn.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,is(T)),T=y.nextToken(),T.type===2&&(T=y.nextToken()),T.type){case 10:T.value==null&&r(y,rn.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,is(T)),E.key=l(y,T.value||"");break;case 4:T.value==null&&r(y,rn.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,is(T)),E.key=u(y,T.value||"");break;case 5:T.value==null&&r(y,rn.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,is(T)),E.key=a(y,T.value||"");break;case 6:T.value==null&&r(y,rn.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,is(T)),E.key=c(y,T.value||"");break;default:{r(y,rn.UNEXPECTED_EMPTY_LINKED_KEY,S.lastStartLoc,0);const k=y.context(),M=i(7,k.offset,k.startLoc);return M.value="",s(M,k.offset,k.startLoc),E.key=M,s(E,k.offset,k.startLoc),{nextConsumeToken:T,node:E}}}return s(E,y.currentOffset(),y.currentPosition()),{node:E}}function h(y){const S=y.context(),E=S.currentType===1?y.currentOffset():S.offset,T=S.currentType===1?S.endLoc:S.startLoc,k=i(2,E,T);k.items=[];let M=null;do{const O=M||y.nextToken();switch(M=null,O.type){case 0:O.value==null&&r(y,rn.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,is(O)),k.items.push(o(y,O.value||""));break;case 5:O.value==null&&r(y,rn.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,is(O)),k.items.push(a(y,O.value||""));break;case 4:O.value==null&&r(y,rn.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,is(O)),k.items.push(u(y,O.value||""));break;case 6:O.value==null&&r(y,rn.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,is(O)),k.items.push(c(y,O.value||""));break;case 7:{const F=f(y);k.items.push(F.node),M=F.nextConsumeToken||null;break}}}while(S.currentType!==13&&S.currentType!==1);const $=S.currentType===1?S.lastOffset:y.currentOffset(),H=S.currentType===1?S.lastEndLoc:y.currentPosition();return s(k,$,H),k}function g(y,S,E,T){const k=y.context();let M=T.items.length===0;const $=i(1,S,E);$.cases=[],$.cases.push(T);do{const H=h(y);M||(M=H.items.length===0),$.cases.push(H)}while(k.currentType!==13);return M&&r(y,rn.MUST_HAVE_MESSAGES_IN_PLURAL,E,0),s($,y.currentOffset(),y.currentPosition()),$}function p(y){const S=y.context(),{offset:E,startLoc:T}=S,k=h(y);return S.currentType===13?k:g(y,E,T,k)}function b(y){const S=ME(y,ar({},t)),E=S.context(),T=i(0,E.offset,E.startLoc);return e&&T.loc&&(T.loc.source=y),T.body=p(S),t.onCacheKey&&(T.cacheKey=t.onCacheKey(y)),E.currentType!==13&&r(S,rn.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,y[E.offset]||""),s(T,S.currentOffset(),S.currentPosition()),T}return{parse:b}}function is(t){if(t.type===13)return"EOF";const e=(t.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"…":e}function HE(t,e={}){const n={ast:t,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function W_(t,e){for(let n=0;n<t.length;n++)zm(t[n],e)}function zm(t,e){switch(t.type){case 1:W_(t.cases,e),e.helper("plural");break;case 2:W_(t.items,e);break;case 6:{zm(t.key,e),e.helper("linked"),e.helper("type");break}case 5:e.helper("interpolate"),e.helper("list");break;case 4:e.helper("interpolate"),e.helper("named");break}}function BE(t,e={}){const n=HE(t);n.helper("normalize"),t.body&&zm(t.body,n);const r=n.context();t.helpers=Array.from(r.helpers)}function VE(t){const e=t.body;return e.type===2?z_(e):e.cases.forEach(n=>z_(n)),t}function z_(t){if(t.items.length===1){const e=t.items[0];(e.type===3||e.type===9)&&(t.static=e.value,delete e.value)}else{const e=[];for(let n=0;n<t.items.length;n++){const r=t.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;e.push(r.value)}if(e.length===t.items.length){t.static=Wm(e);for(let n=0;n<t.items.length;n++){const r=t.items[n];(r.type===3||r.type===9)&&delete r.value}}}}function qa(t){switch(t.t=t.type,t.type){case 0:{const e=t;qa(e.body),e.b=e.body,delete e.body;break}case 1:{const e=t,n=e.cases;for(let r=0;r<n.length;r++)qa(n[r]);e.c=n,delete e.cases;break}case 2:{const e=t,n=e.items;for(let r=0;r<n.length;r++)qa(n[r]);e.i=n,delete e.items,e.static&&(e.s=e.static,delete e.static);break}case 3:case 9:case 8:case 7:{const e=t;e.value&&(e.v=e.value,delete e.value);break}case 6:{const e=t;qa(e.key),e.k=e.key,delete e.key,e.modifier&&(qa(e.modifier),e.m=e.modifier,delete e.modifier);break}case 5:{const e=t;e.i=e.index,delete e.index;break}case 4:{const e=t;e.k=e.key,delete e.key;break}}delete t.type}function UE(t,e){const{filename:n,breakLineCode:r,needIndent:i}=e,s=e.location!==!1,o={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:i,indentLevel:0};s&&t.loc&&(o.source=t.loc.source);const a=()=>o;function u(p,b){o.code+=p}function c(p,b=!0){const y=b?r:"";u(i?y+" ".repeat(p):y)}function d(p=!0){const b=++o.indentLevel;p&&c(b)}function l(p=!0){const b=--o.indentLevel;p&&c(b)}function f(){c(o.indentLevel)}return{context:a,push:u,indent:d,deindent:l,newline:f,helper:p=>`_${p}`,needIndent:()=>o.needIndent}}function jE(t,e){const{helper:n}=t;t.push(`${n("linked")}(`),vl(t,e.key),e.modifier?(t.push(", "),vl(t,e.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function WE(t,e){const{helper:n,needIndent:r}=t;t.push(`${n("normalize")}([`),t.indent(r());const i=e.items.length;for(let s=0;s<i&&(vl(t,e.items[s]),s!==i-1);s++)t.push(", ");t.deindent(r()),t.push("])")}function zE(t,e){const{helper:n,needIndent:r}=t;if(e.cases.length>1){t.push(`${n("plural")}([`),t.indent(r());const i=e.cases.length;for(let s=0;s<i&&(vl(t,e.cases[s]),s!==i-1);s++)t.push(", ");t.deindent(r()),t.push("])")}}function GE(t,e){e.body?vl(t,e.body):t.push("null")}function vl(t,e){const{helper:n}=t;switch(e.type){case 0:GE(t,e);break;case 1:zE(t,e);break;case 2:WE(t,e);break;case 6:jE(t,e);break;case 8:t.push(JSON.stringify(e.value),e);break;case 7:t.push(JSON.stringify(e.value),e);break;case 5:t.push(`${n("interpolate")}(${n("list")}(${e.index}))`,e);break;case 4:t.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(e.key)}))`,e);break;case 9:t.push(JSON.stringify(e.value),e);break;case 3:t.push(JSON.stringify(e.value),e);break}}const qE=(t,e={})=>{const n=nt(e.mode)?e.mode:"normal",r=nt(e.filename)?e.filename:"message.intl";e.sourceMap;const i=e.breakLineCode!=null?e.breakLineCode:n==="arrow"?";":`
`,s=e.needIndent?e.needIndent:n!=="arrow",o=t.helpers||[],a=UE(t,{filename:r,breakLineCode:i,needIndent:s});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(s),o.length>0&&(a.push(`const { ${Wm(o.map(d=>`${d}: _${d}`),", ")} } = ctx`),a.newline()),a.push("return "),vl(a,t),a.deindent(s),a.push("}"),delete t.helpers;const{code:u,map:c}=a.context();return{ast:t,code:u,map:c?c.toJSON():void 0}};function YE(t,e={}){const n=ar({},e),r=!!n.jit,i=!!n.minify,s=n.optimize==null?!0:n.optimize,a=$E(n).parse(t);return r?(s&&VE(a),i&&qa(a),{ast:a,code:""}):(BE(a,n),qE(a,n))}/*!
* core-base v10.0.8
* (c) 2025 kazuya kawaguchi
* Released under the MIT License.
*/function KE(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Um().__INTLIFY_PROD_DEVTOOLS__=!1)}function vs(t){return qt(t)&&Gm(t)===0&&(ji(t,"b")||ji(t,"body"))}const w1=["b","body"];function XE(t){return Fo(t,w1)}const S1=["c","cases"];function QE(t){return Fo(t,S1,[])}const T1=["s","static"];function JE(t){return Fo(t,T1)}const A1=["i","items"];function ZE(t){return Fo(t,A1,[])}const E1=["t","type"];function Gm(t){return Fo(t,E1)}const k1=["v","value"];function Xc(t,e){const n=Fo(t,k1);if(n!=null)return n;throw zu(e)}const R1=["m","modifier"];function ek(t){return Fo(t,R1)}const C1=["k","key"];function tk(t){const e=Fo(t,C1);if(e)return e;throw zu(6)}function Fo(t,e,n){for(let r=0;r<e.length;r++){const i=e[r];if(ji(t,i)&&t[i]!=null)return t[i]}return n}const x1=[...w1,...S1,...T1,...A1,...C1,...R1,...k1,...E1];function zu(t){return new Error(`unhandled node type: ${t}`)}function xh(t){return n=>nk(n,t)}function nk(t,e){const n=XE(e);if(n==null)throw zu(0);if(Gm(n)===1){const s=QE(n);return t.plural(s.reduce((o,a)=>[...o,G_(t,a)],[]))}else return G_(t,n)}function G_(t,e){const n=JE(e);if(n!=null)return t.type==="text"?n:t.normalize([n]);{const r=ZE(e).reduce((i,s)=>[...i,Tp(t,s)],[]);return t.normalize(r)}}function Tp(t,e){const n=Gm(e);switch(n){case 3:return Xc(e,n);case 9:return Xc(e,n);case 4:{const r=e;if(ji(r,"k")&&r.k)return t.interpolate(t.named(r.k));if(ji(r,"key")&&r.key)return t.interpolate(t.named(r.key));throw zu(n)}case 5:{const r=e;if(ji(r,"i")&&qn(r.i))return t.interpolate(t.list(r.i));if(ji(r,"index")&&qn(r.index))return t.interpolate(t.list(r.index));throw zu(n)}case 6:{const r=e,i=ek(r),s=tk(r);return t.linked(Tp(t,s),i?Tp(t,i):void 0,t.type)}case 7:return Xc(e,n);case 8:return Xc(e,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const rk=t=>t;let Qc=an();function ik(t,e={}){let n=!1;const r=e.onError||RE;return e.onError=i=>{n=!0,r(i)},{...YE(t,e),detectError:n}}function sk(t,e){if(nt(t)){kn(e.warnHtmlMessage)&&e.warnHtmlMessage;const r=(e.onCacheKey||rk)(t),i=Qc[r];if(i)return i;const{ast:s,detectError:o}=ik(t,{...e,location:!1,jit:!0}),a=xh(s);return o?a:Qc[r]=a}else{const n=t.cacheKey;if(n){const r=Qc[n];return r||(Qc[n]=xh(t))}else return xh(t)}}let Gu=null;function ok(t){Gu=t}function ak(t,e,n){Gu&&Gu.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:e,meta:n})}const lk=uk("function:translate");function uk(t){return e=>Gu&&Gu.emit(t,e)}const js={INVALID_ARGUMENT:kE,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},ck=24;function Ws(t){return Od(t,null,void 0)}function qm(t,e){return e.locale!=null?q_(e.locale):q_(t.locale)}let Ph;function q_(t){if(nt(t))return t;if(An(t)){if(t.resolvedOnce&&Ph!=null)return Ph;if(t.constructor.name==="Function"){const e=t();if(TE(e))throw Ws(js.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Ph=e}else throw Ws(js.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Ws(js.NOT_SUPPORT_LOCALE_TYPE)}function fk(t,e,n){return[...new Set([n,...Jn(e)?e:qt(e)?Object.keys(e):nt(e)?[e]:[n]])]}function P1(t,e,n){const r=nt(n)?n:Jf,i=t;i.__localeChainCache||(i.__localeChainCache=new Map);let s=i.__localeChainCache.get(r);if(!s){s=[];let o=[n];for(;Jn(o);)o=Y_(s,o,e);const a=Jn(e)||!Bt(e)?e:e.default?e.default:null;o=nt(a)?[a]:a,Jn(o)&&Y_(s,o,!1),i.__localeChainCache.set(r,s)}return s}function Y_(t,e,n){let r=!0;for(let i=0;i<e.length&&kn(r);i++){const s=e[i];nt(s)&&(r=dk(t,e[i],n))}return r}function dk(t,e,n){let r;const i=e.split("-");do{const s=i.join("-");r=hk(t,s,n),i.splice(-1,1)}while(i.length&&r===!0);return r}function hk(t,e,n){let r=!1;if(!t.includes(e)&&(r=!0,e)){r=e[e.length-1]!=="!";const i=e.replace(/!/g,"");t.push(i),(Jn(n)||Bt(n))&&n[i]&&(r=n[i])}return r}const Do=[];Do[0]={w:[0],i:[3,0],"[":[4],o:[7]};Do[1]={w:[1],".":[2],"[":[4],o:[7]};Do[2]={w:[2],i:[3,0],0:[3,0]};Do[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Do[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Do[5]={"'":[4,0],o:8,l:[5,0]};Do[6]={'"':[4,0],o:8,l:[6,0]};const pk=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function mk(t){return pk.test(t)}function gk(t){const e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e===n&&(e===34||e===39)?t.slice(1,-1):t}function _k(t){if(t==null)return"o";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function vk(t){const e=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:mk(e)?gk(e):"*"+e}function yk(t){const e=[];let n=-1,r=0,i=0,s,o,a,u,c,d,l;const f=[];f[0]=()=>{o===void 0?o=a:o+=a},f[1]=()=>{o!==void 0&&(e.push(o),o=void 0)},f[2]=()=>{f[0](),i++},f[3]=()=>{if(i>0)i--,r=4,f[0]();else{if(i=0,o===void 0||(o=vk(o),o===!1))return!1;f[1]()}};function h(){const g=t[n+1];if(r===5&&g==="'"||r===6&&g==='"')return n++,a="\\"+g,f[0](),!0}for(;r!==null;)if(n++,s=t[n],!(s==="\\"&&h())){if(u=_k(s),l=Do[r],c=l[u]||l.l||8,c===8||(r=c[0],c[1]!==void 0&&(d=f[c[1]],d&&(a=s,d()===!1))))return;if(r===7)return e}}const K_=new Map;function bk(t,e){return qt(t)?t[e]:null}function wk(t,e){if(!qt(t))return null;let n=K_.get(e);if(n||(n=yk(e),n&&K_.set(e,n)),!n)return null;const r=n.length;let i=t,s=0;for(;s<r;){const o=n[s];if(x1.includes(o)&&vs(i))return null;const a=i[o];if(a===void 0||An(i))return null;i=a,s++}return i}const Sk="10.0.8",Md=-1,Jf="en-US",X_="",Q_=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function Tk(){return{upper:(t,e)=>e==="text"&&nt(t)?t.toUpperCase():e==="vnode"&&qt(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,e)=>e==="text"&&nt(t)?t.toLowerCase():e==="vnode"&&qt(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,e)=>e==="text"&&nt(t)?Q_(t):e==="vnode"&&qt(t)&&"__v_isVNode"in t?Q_(t.children):t}}let I1;function Ak(t){I1=t}let L1;function Ek(t){L1=t}let O1;function kk(t){O1=t}let M1=null;const Rk=t=>{M1=t},Ck=()=>M1;let F1=null;const J_=t=>{F1=t},xk=()=>F1;let Z_=0;function Pk(t={}){const e=An(t.onWarn)?t.onWarn:gE,n=nt(t.version)?t.version:Sk,r=nt(t.locale)||An(t.locale)?t.locale:Jf,i=An(r)?Jf:r,s=Jn(t.fallbackLocale)||Bt(t.fallbackLocale)||nt(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:i,o=Bt(t.messages)?t.messages:Ih(i),a=Bt(t.datetimeFormats)?t.datetimeFormats:Ih(i),u=Bt(t.numberFormats)?t.numberFormats:Ih(i),c=ar(an(),t.modifiers,Tk()),d=t.pluralRules||an(),l=An(t.missing)?t.missing:null,f=kn(t.missingWarn)||Qf(t.missingWarn)?t.missingWarn:!0,h=kn(t.fallbackWarn)||Qf(t.fallbackWarn)?t.fallbackWarn:!0,g=!!t.fallbackFormat,p=!!t.unresolving,b=An(t.postTranslation)?t.postTranslation:null,y=Bt(t.processor)?t.processor:null,S=kn(t.warnHtmlMessage)?t.warnHtmlMessage:!0,E=!!t.escapeParameter,T=An(t.messageCompiler)?t.messageCompiler:I1,k=An(t.messageResolver)?t.messageResolver:L1||bk,M=An(t.localeFallbacker)?t.localeFallbacker:O1||fk,$=qt(t.fallbackContext)?t.fallbackContext:void 0,H=t,O=qt(H.__datetimeFormatters)?H.__datetimeFormatters:new Map,F=qt(H.__numberFormatters)?H.__numberFormatters:new Map,re=qt(H.__meta)?H.__meta:{};Z_++;const N={version:n,cid:Z_,locale:r,fallbackLocale:s,messages:o,modifiers:c,pluralRules:d,missing:l,missingWarn:f,fallbackWarn:h,fallbackFormat:g,unresolving:p,postTranslation:b,processor:y,warnHtmlMessage:S,escapeParameter:E,messageCompiler:T,messageResolver:k,localeFallbacker:M,fallbackContext:$,onWarn:e,__meta:re};return N.datetimeFormats=a,N.numberFormats=u,N.__datetimeFormatters=O,N.__numberFormatters=F,__INTLIFY_PROD_DEVTOOLS__&&ak(N,n,re),N}const Ih=t=>({[t]:an()});function Ym(t,e,n,r,i){const{missing:s,onWarn:o}=t;if(s!==null){const a=s(t,n,e,i);return nt(a)?a:e}else return e}function Jl(t,e,n){const r=t;r.__localeChainCache=new Map,t.localeFallbacker(t,n,e)}function Ik(t,e){return t===e?!1:t.split("-")[0]===e.split("-")[0]}function Lk(t,e){const n=e.indexOf(t);if(n===-1)return!1;for(let r=n+1;r<e.length;r++)if(Ik(t,e[r]))return!0;return!1}function ev(t,...e){const{datetimeFormats:n,unresolving:r,fallbackLocale:i,onWarn:s,localeFallbacker:o}=t,{__datetimeFormatters:a}=t,[u,c,d,l]=Ap(...e),f=kn(d.missingWarn)?d.missingWarn:t.missingWarn;kn(d.fallbackWarn)?d.fallbackWarn:t.fallbackWarn;const h=!!d.part,g=qm(t,d),p=o(t,i,g);if(!nt(u)||u==="")return new Intl.DateTimeFormat(g,l).format(c);let b={},y,S=null;const E="datetime format";for(let M=0;M<p.length&&(y=p[M],b=n[y]||{},S=b[u],!Bt(S));M++)Ym(t,u,y,f,E);if(!Bt(S)||!nt(y))return r?Md:u;let T=`${y}__${u}`;Ld(l)||(T=`${T}__${JSON.stringify(l)}`);let k=a.get(T);return k||(k=new Intl.DateTimeFormat(y,ar({},S,l)),a.set(T,k)),h?k.formatToParts(c):k.format(c)}const D1=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Ap(...t){const[e,n,r,i]=t,s=an();let o=an(),a;if(nt(e)){const u=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!u)throw Ws(js.INVALID_ISO_DATE_ARGUMENT);const c=u[3]?u[3].trim().startsWith("T")?`${u[1].trim()}${u[3].trim()}`:`${u[1].trim()}T${u[3].trim()}`:u[1].trim();a=new Date(c);try{a.toISOString()}catch{throw Ws(js.INVALID_ISO_DATE_ARGUMENT)}}else if(yE(e)){if(isNaN(e.getTime()))throw Ws(js.INVALID_DATE_ARGUMENT);a=e}else if(qn(e))a=e;else throw Ws(js.INVALID_ARGUMENT);return nt(n)?s.key=n:Bt(n)&&Object.keys(n).forEach(u=>{D1.includes(u)?o[u]=n[u]:s[u]=n[u]}),nt(r)?s.locale=r:Bt(r)&&(o=r),Bt(i)&&(o=i),[s.key||"",a,s,o]}function tv(t,e,n){const r=t;for(const i in n){const s=`${e}__${i}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function nv(t,...e){const{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:s,localeFallbacker:o}=t,{__numberFormatters:a}=t,[u,c,d,l]=Ep(...e),f=kn(d.missingWarn)?d.missingWarn:t.missingWarn;kn(d.fallbackWarn)?d.fallbackWarn:t.fallbackWarn;const h=!!d.part,g=qm(t,d),p=o(t,i,g);if(!nt(u)||u==="")return new Intl.NumberFormat(g,l).format(c);let b={},y,S=null;const E="number format";for(let M=0;M<p.length&&(y=p[M],b=n[y]||{},S=b[u],!Bt(S));M++)Ym(t,u,y,f,E);if(!Bt(S)||!nt(y))return r?Md:u;let T=`${y}__${u}`;Ld(l)||(T=`${T}__${JSON.stringify(l)}`);let k=a.get(T);return k||(k=new Intl.NumberFormat(y,ar({},S,l)),a.set(T,k)),h?k.formatToParts(c):k.format(c)}const N1=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Ep(...t){const[e,n,r,i]=t,s=an();let o=an();if(!qn(e))throw Ws(js.INVALID_ARGUMENT);const a=e;return nt(n)?s.key=n:Bt(n)&&Object.keys(n).forEach(u=>{N1.includes(u)?o[u]=n[u]:s[u]=n[u]}),nt(r)?s.locale=r:Bt(r)&&(o=r),Bt(i)&&(o=i),[s.key||"",a,s,o]}function rv(t,e,n){const r=t;for(const i in n){const s=`${e}__${i}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}const Ok=t=>t,Mk=t=>"",Fk="text",Dk=t=>t.length===0?"":Wm(t),Nk=AE;function iv(t,e){return t=Math.abs(t),e===2?t?t>1?1:0:1:t?Math.min(t,2):0}function $k(t){const e=qn(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(qn(t.named.count)||qn(t.named.n))?qn(t.named.count)?t.named.count:qn(t.named.n)?t.named.n:e:e}function Hk(t,e){e.count||(e.count=t),e.n||(e.n=t)}function Bk(t={}){const e=t.locale,n=$k(t),r=qt(t.pluralRules)&&nt(e)&&An(t.pluralRules[e])?t.pluralRules[e]:iv,i=qt(t.pluralRules)&&nt(e)&&An(t.pluralRules[e])?iv:void 0,s=y=>y[r(n,y.length,i)],o=t.list||[],a=y=>o[y],u=t.named||an();qn(t.pluralIndex)&&Hk(n,u);const c=y=>u[y];function d(y,S){const E=An(t.messages)?t.messages(y,!!S):qt(t.messages)?t.messages[y]:!1;return E||(t.parent?t.parent.message(y):Mk)}const l=y=>t.modifiers?t.modifiers[y]:Ok,f=Bt(t.processor)&&An(t.processor.normalize)?t.processor.normalize:Dk,h=Bt(t.processor)&&An(t.processor.interpolate)?t.processor.interpolate:Nk,g=Bt(t.processor)&&nt(t.processor.type)?t.processor.type:Fk,b={list:a,named:c,plural:s,linked:(y,...S)=>{const[E,T]=S;let k="text",M="";S.length===1?qt(E)?(M=E.modifier||M,k=E.type||k):nt(E)&&(M=E||M):S.length===2&&(nt(E)&&(M=E||M),nt(T)&&(k=T||k));const $=d(y,!0)(b),H=k==="vnode"&&Jn($)&&M?$[0]:$;return M?l(M)(H,k):H},message:d,type:g,interpolate:h,normalize:f,values:ar(an(),o,u)};return b}const sv=()=>"",Ri=t=>An(t);function ov(t,...e){const{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:s,fallbackLocale:o,messages:a}=t,[u,c]=kp(...e),d=kn(c.missingWarn)?c.missingWarn:t.missingWarn,l=kn(c.fallbackWarn)?c.fallbackWarn:t.fallbackWarn,f=kn(c.escapeParameter)?c.escapeParameter:t.escapeParameter,h=!!c.resolvedMessage,g=nt(c.default)||kn(c.default)?kn(c.default)?s?u:()=>u:c.default:n?s?u:()=>u:null,p=n||g!=null&&(nt(g)||An(g)),b=qm(t,c);f&&Vk(c);let[y,S,E]=h?[u,b,a[b]||an()]:$1(t,u,b,o,l,d),T=y,k=u;if(!h&&!(nt(T)||vs(T)||Ri(T))&&p&&(T=g,k=T),!h&&(!(nt(T)||vs(T)||Ri(T))||!nt(S)))return i?Md:u;let M=!1;const $=()=>{M=!0},H=Ri(T)?T:H1(t,u,S,T,k,$);if(M)return T;const O=Wk(t,S,E,c),F=Bk(O),re=Uk(t,H,F);let N=r?r(re,u):re;if(f&&nt(N)&&(N=wE(N)),__INTLIFY_PROD_DEVTOOLS__){const P={timestamp:Date.now(),key:nt(u)?u:Ri(T)?T.key:"",locale:S||(Ri(T)?T.locale:""),format:nt(T)?T:Ri(T)?T.source:"",message:N};P.meta=ar({},t.__meta,Ck()||{}),lk(P)}return N}function Vk(t){Jn(t.list)?t.list=t.list.map(e=>nt(e)?V_(e):e):qt(t.named)&&Object.keys(t.named).forEach(e=>{nt(t.named[e])&&(t.named[e]=V_(t.named[e]))})}function $1(t,e,n,r,i,s){const{messages:o,onWarn:a,messageResolver:u,localeFallbacker:c}=t,d=c(t,r,n);let l=an(),f,h=null;const g="translate";for(let p=0;p<d.length&&(f=d[p],l=o[f]||an(),(h=u(l,e))===null&&(h=l[e]),!(nt(h)||vs(h)||Ri(h)));p++)if(!Lk(f,d)){const b=Ym(t,e,f,s,g);b!==e&&(h=b)}return[h,f,l]}function H1(t,e,n,r,i,s){const{messageCompiler:o,warnHtmlMessage:a}=t;if(Ri(r)){const c=r;return c.locale=c.locale||n,c.key=c.key||e,c}if(o==null){const c=(()=>r);return c.locale=n,c.key=e,c}const u=o(r,jk(t,n,i,r,a,s));return u.locale=n,u.key=e,u.source=r,u}function Uk(t,e,n){return e(n)}function kp(...t){const[e,n,r]=t,i=an();if(!nt(e)&&!qn(e)&&!Ri(e)&&!vs(e))throw Ws(js.INVALID_ARGUMENT);const s=qn(e)?String(e):(Ri(e),e);return qn(n)?i.plural=n:nt(n)?i.default=n:Bt(n)&&!Ld(n)?i.named=n:Jn(n)&&(i.list=n),qn(r)?i.plural=r:nt(r)?i.default=r:Bt(r)&&ar(i,r),[s,i]}function jk(t,e,n,r,i,s){return{locale:e,key:n,warnHtmlMessage:i,onError:o=>{throw s&&s(o),o},onCacheKey:o=>_E(e,n,o)}}function Wk(t,e,n,r){const{modifiers:i,pluralRules:s,messageResolver:o,fallbackLocale:a,fallbackWarn:u,missingWarn:c,fallbackContext:d}=t,f={locale:e,modifiers:i,pluralRules:s,messages:(h,g)=>{let p=o(n,h);if(p==null&&(d||g)){const[,,b]=$1(d||t,h,e,a,u,c);p=o(b,h)}if(nt(p)||vs(p)){let b=!1;const S=H1(t,h,e,p,h,()=>{b=!0});return b?sv:S}else return Ri(p)?p:sv}};return t.processor&&(f.processor=t.processor),r.list&&(f.list=r.list),r.named&&(f.named=r.named),qn(r.plural)&&(f.pluralIndex=r.plural),f}KE();/**
* @vue/shared v3.5.22
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Km(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const fn={},sl=[],ys=()=>{},B1=()=>!1,Fd=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Xm=t=>t.startsWith("onUpdate:"),lr=Object.assign,Qm=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},zk=Object.prototype.hasOwnProperty,en=(t,e)=>zk.call(t,e),dt=Array.isArray,ol=t=>Dd(t)==="[object Map]",V1=t=>Dd(t)==="[object Set]",mt=t=>typeof t=="function",Cn=t=>typeof t=="string",no=t=>typeof t=="symbol",dn=t=>t!==null&&typeof t=="object",U1=t=>(dn(t)||mt(t))&&mt(t.then)&&mt(t.catch),j1=Object.prototype.toString,Dd=t=>j1.call(t),Gk=t=>Dd(t).slice(8,-1),W1=t=>Dd(t)==="[object Object]",Jm=t=>Cn(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Su=Km(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Nd=t=>{const e=Object.create(null);return(n=>e[n]||(e[n]=t(n)))},qk=/-\w/g,Ni=Nd(t=>t.replace(qk,e=>e.slice(1).toUpperCase())),Yk=/\B([A-Z])/g,xa=Nd(t=>t.replace(Yk,"-$1").toLowerCase()),$d=Nd(t=>t.charAt(0).toUpperCase()+t.slice(1)),Lh=Nd(t=>t?`on${$d(t)}`:""),Ao=(t,e)=>!Object.is(t,e),Rf=(t,...e)=>{for(let n=0;n<t.length;n++)t[n](...e)},z1=(t,e,n,r=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:r,value:n})},Rp=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Kk=t=>{const e=Cn(t)?Number(t):NaN;return isNaN(e)?t:e};let av;const Hd=()=>av||(av=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Zm(t){if(dt(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],i=Cn(r)?Zk(r):Zm(r);if(i)for(const s in i)e[s]=i[s]}return e}else if(Cn(t)||dn(t))return t}const Xk=/;(?![^(]*\))/g,Qk=/:([^]+)/,Jk=/\/\*[^]*?\*\//g;function Zk(t){const e={};return t.replace(Jk,"").split(Xk).forEach(n=>{if(n){const r=n.split(Qk);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function ot(t){let e="";if(Cn(t))e=t;else if(dt(t))for(let n=0;n<t.length;n++){const r=ot(t[n]);r&&(e+=r+" ")}else if(dn(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}const eR="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",tR=Km(eR);function G1(t){return!!t||t===""}const q1=t=>!!(t&&t.__v_isRef===!0),ze=t=>Cn(t)?t:t==null?"":dt(t)||dn(t)&&(t.toString===j1||!mt(t.toString))?q1(t)?ze(t.value):JSON.stringify(t,Y1,2):String(t),Y1=(t,e)=>q1(e)?Y1(t,e.value):ol(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,i],s)=>(n[Oh(r,s)+" =>"]=i,n),{})}:V1(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>Oh(n))}:no(e)?Oh(e):dn(e)&&!dt(e)&&!W1(e)?String(e):e,Oh=(t,e="")=>{var n;return no(t)?`Symbol(${(n=t.description)!=null?n:e})`:t};/**
* @vue/reactivity v3.5.22
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let br;class K1{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=br,!e&&br&&(this.index=(br.scopes||(br.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].pause();for(e=0,n=this.effects.length;e<n;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].resume();for(e=0,n=this.effects.length;e<n;e++)this.effects[e].resume()}}run(e){if(this._active){const n=br;try{return br=this,e()}finally{br=n}}}on(){++this._on===1&&(this.prevScope=br,br=this)}off(){this._on>0&&--this._on===0&&(br=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function eg(t){return new K1(t)}function X1(){return br}function nR(t,e=!1){br&&br.cleanups.push(t)}let mn;const Mh=new WeakSet;class Q1{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,br&&br.active&&br.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Mh.has(this)&&(Mh.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Z1(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,lv(this),eb(this);const e=mn,n=Wi;mn=this,Wi=!0;try{return this.fn()}finally{tb(this),mn=e,Wi=n,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)rg(e);this.deps=this.depsTail=void 0,lv(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Mh.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Cp(this)&&this.run()}get dirty(){return Cp(this)}}let J1=0,Tu,Au;function Z1(t,e=!1){if(t.flags|=8,e){t.next=Au,Au=t;return}t.next=Tu,Tu=t}function tg(){J1++}function ng(){if(--J1>0)return;if(Au){let e=Au;for(Au=void 0;e;){const n=e.next;e.next=void 0,e.flags&=-9,e=n}}let t;for(;Tu;){let e=Tu;for(Tu=void 0;e;){const n=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(r){t||(t=r)}e=n}}if(t)throw t}function eb(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function tb(t){let e,n=t.depsTail,r=n;for(;r;){const i=r.prevDep;r.version===-1?(r===n&&(n=i),rg(r),rR(r)):e=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}t.deps=e,t.depsTail=n}function Cp(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(nb(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function nb(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===qu)||(t.globalVersion=qu,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!Cp(t))))return;t.flags|=2;const e=t.dep,n=mn,r=Wi;mn=t,Wi=!0;try{eb(t);const i=t.fn(t._value);(e.version===0||Ao(i,t._value))&&(t.flags|=128,t._value=i,e.version++)}catch(i){throw e.version++,i}finally{mn=n,Wi=r,tb(t),t.flags&=-3}}function rg(t,e=!1){const{dep:n,prevSub:r,nextSub:i}=t;if(r&&(r.nextSub=i,t.prevSub=void 0),i&&(i.prevSub=r,t.nextSub=void 0),n.subs===t&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)rg(s,!0)}!e&&!--n.sc&&n.map&&n.map.delete(n.key)}function rR(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let Wi=!0;const rb=[];function Qs(){rb.push(Wi),Wi=!1}function Js(){const t=rb.pop();Wi=t===void 0?!0:t}function lv(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const n=mn;mn=void 0;try{e()}finally{mn=n}}}let qu=0;class iR{constructor(e,n){this.sub=e,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class ig{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!mn||!Wi||mn===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==mn)n=this.activeLink=new iR(mn,this),mn.deps?(n.prevDep=mn.depsTail,mn.depsTail.nextDep=n,mn.depsTail=n):mn.deps=mn.depsTail=n,ib(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=mn.depsTail,n.nextDep=void 0,mn.depsTail.nextDep=n,mn.depsTail=n,mn.deps===n&&(mn.deps=r)}return n}trigger(e){this.version++,qu++,this.notify(e)}notify(e){tg();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ng()}}}function ib(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let r=e.deps;r;r=r.nextDep)ib(r)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const Zf=new WeakMap,ua=Symbol(""),xp=Symbol(""),Yu=Symbol("");function Sr(t,e,n){if(Wi&&mn){let r=Zf.get(t);r||Zf.set(t,r=new Map);let i=r.get(n);i||(r.set(n,i=new ig),i.map=r,i.key=n),i.track()}}function Bs(t,e,n,r,i,s){const o=Zf.get(t);if(!o){qu++;return}const a=u=>{u&&u.trigger()};if(tg(),e==="clear")o.forEach(a);else{const u=dt(t),c=u&&Jm(n);if(u&&n==="length"){const d=Number(r);o.forEach((l,f)=>{(f==="length"||f===Yu||!no(f)&&f>=d)&&a(l)})}else switch((n!==void 0||o.has(void 0))&&a(o.get(n)),c&&a(o.get(Yu)),e){case"add":u?c&&a(o.get("length")):(a(o.get(ua)),ol(t)&&a(o.get(xp)));break;case"delete":u||(a(o.get(ua)),ol(t)&&a(o.get(xp)));break;case"set":ol(t)&&a(o.get(ua));break}}ng()}function sR(t,e){const n=Zf.get(t);return n&&n.get(e)}function Ba(t){const e=Ht(t);return e===t?e:(Sr(e,"iterate",Yu),Fi(t)?e:e.map(fr))}function Bd(t){return Sr(t=Ht(t),"iterate",Yu),t}const oR={__proto__:null,[Symbol.iterator](){return Fh(this,Symbol.iterator,fr)},concat(...t){return Ba(this).concat(...t.map(e=>dt(e)?Ba(e):e))},entries(){return Fh(this,"entries",t=>(t[1]=fr(t[1]),t))},every(t,e){return Ps(this,"every",t,e,void 0,arguments)},filter(t,e){return Ps(this,"filter",t,e,n=>n.map(fr),arguments)},find(t,e){return Ps(this,"find",t,e,fr,arguments)},findIndex(t,e){return Ps(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return Ps(this,"findLast",t,e,fr,arguments)},findLastIndex(t,e){return Ps(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return Ps(this,"forEach",t,e,void 0,arguments)},includes(...t){return Dh(this,"includes",t)},indexOf(...t){return Dh(this,"indexOf",t)},join(t){return Ba(this).join(t)},lastIndexOf(...t){return Dh(this,"lastIndexOf",t)},map(t,e){return Ps(this,"map",t,e,void 0,arguments)},pop(){return Zl(this,"pop")},push(...t){return Zl(this,"push",t)},reduce(t,...e){return uv(this,"reduce",t,e)},reduceRight(t,...e){return uv(this,"reduceRight",t,e)},shift(){return Zl(this,"shift")},some(t,e){return Ps(this,"some",t,e,void 0,arguments)},splice(...t){return Zl(this,"splice",t)},toReversed(){return Ba(this).toReversed()},toSorted(t){return Ba(this).toSorted(t)},toSpliced(...t){return Ba(this).toSpliced(...t)},unshift(...t){return Zl(this,"unshift",t)},values(){return Fh(this,"values",fr)}};function Fh(t,e,n){const r=Bd(t),i=r[e]();return r!==t&&!Fi(t)&&(i._next=i.next,i.next=()=>{const s=i._next();return s.done||(s.value=n(s.value)),s}),i}const aR=Array.prototype;function Ps(t,e,n,r,i,s){const o=Bd(t),a=o!==t&&!Fi(t),u=o[e];if(u!==aR[e]){const l=u.apply(t,s);return a?fr(l):l}let c=n;o!==t&&(a?c=function(l,f){return n.call(this,fr(l),f,t)}:n.length>2&&(c=function(l,f){return n.call(this,l,f,t)}));const d=u.call(o,c,r);return a&&i?i(d):d}function uv(t,e,n,r){const i=Bd(t);let s=n;return i!==t&&(Fi(t)?n.length>3&&(s=function(o,a,u){return n.call(this,o,a,u,t)}):s=function(o,a,u){return n.call(this,o,fr(a),u,t)}),i[e](s,...r)}function Dh(t,e,n){const r=Ht(t);Sr(r,"iterate",Yu);const i=r[e](...n);return(i===-1||i===!1)&&ag(n[0])?(n[0]=Ht(n[0]),r[e](...n)):i}function Zl(t,e,n=[]){Qs(),tg();const r=Ht(t)[e].apply(t,n);return ng(),Js(),r}const lR=Km("__proto__,__v_isRef,__isVue"),sb=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(no));function uR(t){no(t)||(t=String(t));const e=Ht(this);return Sr(e,"has",t),e.hasOwnProperty(t)}class ob{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,r){if(n==="__v_skip")return e.__v_skip;const i=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(i?s?yR:cb:s?ub:lb).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(r)?e:void 0;const o=dt(e);if(!i){let u;if(o&&(u=oR[n]))return u;if(n==="hasOwnProperty")return uR}const a=Reflect.get(e,n,yn(e)?e:r);if((no(n)?sb.has(n):lR(n))||(i||Sr(e,"get",n),s))return a;if(yn(a)){const u=o&&Jm(n)?a:a.value;return i&&dn(u)?Ip(u):u}return dn(a)?i?Ip(a):Pa(a):a}}class ab extends ob{constructor(e=!1){super(!1,e)}set(e,n,r,i){let s=e[n];if(!this._isShallow){const u=Zs(s);if(!Fi(r)&&!Zs(r)&&(s=Ht(s),r=Ht(r)),!dt(e)&&yn(s)&&!yn(r))return u||(s.value=r),!0}const o=dt(e)&&Jm(n)?Number(n)<e.length:en(e,n),a=Reflect.set(e,n,r,yn(e)?e:i);return e===Ht(i)&&(o?Ao(r,s)&&Bs(e,"set",n,r):Bs(e,"add",n,r)),a}deleteProperty(e,n){const r=en(e,n);e[n];const i=Reflect.deleteProperty(e,n);return i&&r&&Bs(e,"delete",n,void 0),i}has(e,n){const r=Reflect.has(e,n);return(!no(n)||!sb.has(n))&&Sr(e,"has",n),r}ownKeys(e){return Sr(e,"iterate",dt(e)?"length":ua),Reflect.ownKeys(e)}}class cR extends ob{constructor(e=!1){super(!0,e)}set(e,n){return!0}deleteProperty(e,n){return!0}}const fR=new ab,dR=new cR,hR=new ab(!0);const Pp=t=>t,Jc=t=>Reflect.getPrototypeOf(t);function pR(t,e,n){return function(...r){const i=this.__v_raw,s=Ht(i),o=ol(s),a=t==="entries"||t===Symbol.iterator&&o,u=t==="keys"&&o,c=i[t](...r),d=n?Pp:e?ed:fr;return!e&&Sr(s,"iterate",u?xp:ua),{next(){const{value:l,done:f}=c.next();return f?{value:l,done:f}:{value:a?[d(l[0]),d(l[1])]:d(l),done:f}},[Symbol.iterator](){return this}}}}function Zc(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function mR(t,e){const n={get(i){const s=this.__v_raw,o=Ht(s),a=Ht(i);t||(Ao(i,a)&&Sr(o,"get",i),Sr(o,"get",a));const{has:u}=Jc(o),c=e?Pp:t?ed:fr;if(u.call(o,i))return c(s.get(i));if(u.call(o,a))return c(s.get(a));s!==o&&s.get(i)},get size(){const i=this.__v_raw;return!t&&Sr(Ht(i),"iterate",ua),i.size},has(i){const s=this.__v_raw,o=Ht(s),a=Ht(i);return t||(Ao(i,a)&&Sr(o,"has",i),Sr(o,"has",a)),i===a?s.has(i):s.has(i)||s.has(a)},forEach(i,s){const o=this,a=o.__v_raw,u=Ht(a),c=e?Pp:t?ed:fr;return!t&&Sr(u,"iterate",ua),a.forEach((d,l)=>i.call(s,c(d),c(l),o))}};return lr(n,t?{add:Zc("add"),set:Zc("set"),delete:Zc("delete"),clear:Zc("clear")}:{add(i){!e&&!Fi(i)&&!Zs(i)&&(i=Ht(i));const s=Ht(this);return Jc(s).has.call(s,i)||(s.add(i),Bs(s,"add",i,i)),this},set(i,s){!e&&!Fi(s)&&!Zs(s)&&(s=Ht(s));const o=Ht(this),{has:a,get:u}=Jc(o);let c=a.call(o,i);c||(i=Ht(i),c=a.call(o,i));const d=u.call(o,i);return o.set(i,s),c?Ao(s,d)&&Bs(o,"set",i,s):Bs(o,"add",i,s),this},delete(i){const s=Ht(this),{has:o,get:a}=Jc(s);let u=o.call(s,i);u||(i=Ht(i),u=o.call(s,i)),a&&a.call(s,i);const c=s.delete(i);return u&&Bs(s,"delete",i,void 0),c},clear(){const i=Ht(this),s=i.size!==0,o=i.clear();return s&&Bs(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=pR(i,t,e)}),n}function sg(t,e){const n=mR(t,e);return(r,i,s)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?r:Reflect.get(en(n,i)&&i in r?n:r,i,s)}const gR={get:sg(!1,!1)},_R={get:sg(!1,!0)},vR={get:sg(!0,!1)};const lb=new WeakMap,ub=new WeakMap,cb=new WeakMap,yR=new WeakMap;function bR(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function wR(t){return t.__v_skip||!Object.isExtensible(t)?0:bR(Gk(t))}function Pa(t){return Zs(t)?t:og(t,!1,fR,gR,lb)}function fb(t){return og(t,!1,hR,_R,ub)}function Ip(t){return og(t,!0,dR,vR,cb)}function og(t,e,n,r,i){if(!dn(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const s=wR(t);if(s===0)return t;const o=i.get(t);if(o)return o;const a=new Proxy(t,s===2?r:n);return i.set(t,a),a}function Ys(t){return Zs(t)?Ys(t.__v_raw):!!(t&&t.__v_isReactive)}function Zs(t){return!!(t&&t.__v_isReadonly)}function Fi(t){return!!(t&&t.__v_isShallow)}function ag(t){return t?!!t.__v_raw:!1}function Ht(t){const e=t&&t.__v_raw;return e?Ht(e):t}function lg(t){return!en(t,"__v_skip")&&Object.isExtensible(t)&&z1(t,"__v_skip",!0),t}const fr=t=>dn(t)?Pa(t):t,ed=t=>dn(t)?Ip(t):t;function yn(t){return t?t.__v_isRef===!0:!1}function j(t){return db(t,!1)}function ba(t){return db(t,!0)}function db(t,e){return yn(t)?t:new SR(t,e)}class SR{constructor(e,n){this.dep=new ig,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?e:Ht(e),this._value=n?e:fr(e),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(e){const n=this._rawValue,r=this.__v_isShallow||Fi(e)||Zs(e);e=r?e:Ht(e),Ao(e,n)&&(this._rawValue=e,this._value=r?e:fr(e),this.dep.trigger())}}function _e(t){return yn(t)?t.value:t}function TR(t){return mt(t)?t():_e(t)}const AR={get:(t,e,n)=>e==="__v_raw"?t:_e(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const i=t[e];return yn(i)&&!yn(n)?(i.value=n,!0):Reflect.set(t,e,n,r)}};function hb(t){return Ys(t)?t:new Proxy(t,AR)}function pb(t){const e=dt(t)?new Array(t.length):{};for(const n in t)e[n]=mb(t,n);return e}class ER{constructor(e,n,r){this._object=e,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return sR(Ht(this._object),this._key)}}class kR{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function RR(t,e,n){return yn(t)?t:mt(t)?new kR(t):dn(t)&&arguments.length>1?mb(t,e,n):j(t)}function mb(t,e,n){const r=t[e];return yn(r)?r:new ER(t,e,n)}class CR{constructor(e,n,r){this.fn=e,this.setter=n,this._value=void 0,this.dep=new ig(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=qu-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&mn!==this)return Z1(this,!0),!0}get value(){const e=this.dep.track();return nb(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function xR(t,e,n=!1){let r,i;return mt(t)?r=t:(r=t.get,i=t.set),new CR(r,i,n)}const ef={},td=new WeakMap;let Jo;function PR(t,e=!1,n=Jo){if(n){let r=td.get(n);r||td.set(n,r=[]),r.push(t)}}function IR(t,e,n=fn){const{immediate:r,deep:i,once:s,scheduler:o,augmentJob:a,call:u}=n,c=T=>i?T:Fi(T)||i===!1||i===0?Vs(T,1):Vs(T);let d,l,f,h,g=!1,p=!1;if(yn(t)?(l=()=>t.value,g=Fi(t)):Ys(t)?(l=()=>c(t),g=!0):dt(t)?(p=!0,g=t.some(T=>Ys(T)||Fi(T)),l=()=>t.map(T=>{if(yn(T))return T.value;if(Ys(T))return c(T);if(mt(T))return u?u(T,2):T()})):mt(t)?e?l=u?()=>u(t,2):t:l=()=>{if(f){Qs();try{f()}finally{Js()}}const T=Jo;Jo=d;try{return u?u(t,3,[h]):t(h)}finally{Jo=T}}:l=ys,e&&i){const T=l,k=i===!0?1/0:i;l=()=>Vs(T(),k)}const b=X1(),y=()=>{d.stop(),b&&b.active&&Qm(b.effects,d)};if(s&&e){const T=e;e=(...k)=>{T(...k),y()}}let S=p?new Array(t.length).fill(ef):ef;const E=T=>{if(!(!(d.flags&1)||!d.dirty&&!T))if(e){const k=d.run();if(i||g||(p?k.some((M,$)=>Ao(M,S[$])):Ao(k,S))){f&&f();const M=Jo;Jo=d;try{const $=[k,S===ef?void 0:p&&S[0]===ef?[]:S,h];S=k,u?u(e,3,$):e(...$)}finally{Jo=M}}}else d.run()};return a&&a(E),d=new Q1(l),d.scheduler=o?()=>o(E,!1):E,h=T=>PR(T,!1,d),f=d.onStop=()=>{const T=td.get(d);if(T){if(u)u(T,4);else for(const k of T)k();td.delete(d)}},e?r?E(!0):S=d.run():o?o(E.bind(null,!0),!0):d.run(),y.pause=d.pause.bind(d),y.resume=d.resume.bind(d),y.stop=y,y}function Vs(t,e=1/0,n){if(e<=0||!dn(t)||t.__v_skip||(n=n||new Map,(n.get(t)||0)>=e))return t;if(n.set(t,e),e--,yn(t))Vs(t.value,e,n);else if(dt(t))for(let r=0;r<t.length;r++)Vs(t[r],e,n);else if(V1(t)||ol(t))t.forEach(r=>{Vs(r,e,n)});else if(W1(t)){for(const r in t)Vs(t[r],e,n);for(const r of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,r)&&Vs(t[r],e,n)}return t}/**
* @vue/runtime-core v3.5.22
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function vc(t,e,n,r){try{return r?t(...r):t()}catch(i){Vd(i,e,n)}}function Gi(t,e,n,r){if(mt(t)){const i=vc(t,e,n,r);return i&&U1(i)&&i.catch(s=>{Vd(s,e,n)}),i}if(dt(t)){const i=[];for(let s=0;s<t.length;s++)i.push(Gi(t[s],e,n,r));return i}}function Vd(t,e,n,r=!0){const i=e?e.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:o}=e&&e.appContext.config||fn;if(e){let a=e.parent;const u=e.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const d=a.ec;if(d){for(let l=0;l<d.length;l++)if(d[l](t,u,c)===!1)return}a=a.parent}if(s){Qs(),vc(s,null,10,[t,u,c]),Js();return}}LR(t,n,i,r,o)}function LR(t,e,n,r=!0,i=!1){if(i)throw t;console.error(t)}const Br=[];let as=-1;const al=[];let ho=null,Ya=0;const gb=Promise.resolve();let nd=null;function Mt(t){const e=nd||gb;return t?e.then(this?t.bind(this):t):e}function OR(t){let e=as+1,n=Br.length;for(;e<n;){const r=e+n>>>1,i=Br[r],s=Ku(i);s<t||s===t&&i.flags&2?e=r+1:n=r}return e}function ug(t){if(!(t.flags&1)){const e=Ku(t),n=Br[Br.length-1];!n||!(t.flags&2)&&e>=Ku(n)?Br.push(t):Br.splice(OR(e),0,t),t.flags|=1,_b()}}function _b(){nd||(nd=gb.then(yb))}function MR(t){dt(t)?al.push(...t):ho&&t.id===-1?ho.splice(Ya+1,0,t):t.flags&1||(al.push(t),t.flags|=1),_b()}function cv(t,e,n=as+1){for(;n<Br.length;n++){const r=Br[n];if(r&&r.flags&2){if(t&&r.id!==t.uid)continue;Br.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function vb(t){if(al.length){const e=[...new Set(al)].sort((n,r)=>Ku(n)-Ku(r));if(al.length=0,ho){ho.push(...e);return}for(ho=e,Ya=0;Ya<ho.length;Ya++){const n=ho[Ya];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}ho=null,Ya=0}}const Ku=t=>t.id==null?t.flags&2?-1:1/0:t.id;function yb(t){try{for(as=0;as<Br.length;as++){const e=Br[as];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),vc(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;as<Br.length;as++){const e=Br[as];e&&(e.flags&=-2)}as=-1,Br.length=0,vb(),nd=null,(Br.length||al.length)&&yb()}}let dr=null,bb=null;function rd(t){const e=dr;return dr=t,bb=t&&t.type.__scopeId||null,e}function $i(t,e=dr,n){if(!e||t._n)return t;const r=(...i)=>{r._d&&od(-1);const s=rd(e);let o;try{o=t(...i)}finally{rd(s),r._d&&od(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function FR(t,e){if(dr===null)return t;const n=Gd(dr),r=t.dirs||(t.dirs=[]);for(let i=0;i<e.length;i++){let[s,o,a,u=fn]=e[i];s&&(mt(s)&&(s={mounted:s,updated:s}),s.deep&&Vs(o),r.push({dir:s,instance:n,value:o,oldValue:void 0,arg:a,modifiers:u}))}return t}function Go(t,e,n,r){const i=t.dirs,s=e&&e.dirs;for(let o=0;o<i.length;o++){const a=i[o];s&&(a.oldValue=s[o].value);let u=a.dir[r];u&&(Qs(),Gi(u,n,8,[t.el,a,t,e]),Js())}}const wb=Symbol("_vte"),Sb=t=>t.__isTeleport,Eu=t=>t&&(t.disabled||t.disabled===""),fv=t=>t&&(t.defer||t.defer===""),dv=t=>typeof SVGElement<"u"&&t instanceof SVGElement,hv=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,Lp=(t,e)=>{const n=t&&t.to;return Cn(n)?e?e(n):null:n},Tb={name:"Teleport",__isTeleport:!0,process(t,e,n,r,i,s,o,a,u,c){const{mc:d,pc:l,pbc:f,o:{insert:h,querySelector:g,createText:p,createComment:b}}=c,y=Eu(e.props);let{shapeFlag:S,children:E,dynamicChildren:T}=e;if(t==null){const k=e.el=p(""),M=e.anchor=p("");h(k,n,r),h(M,n,r);const $=(O,F)=>{S&16&&d(E,O,F,i,s,o,a,u)},H=()=>{const O=e.target=Lp(e.props,g),F=Ab(O,e,p,h);O&&(o!=="svg"&&dv(O)?o="svg":o!=="mathml"&&hv(O)&&(o="mathml"),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(O),y||($(O,F),Cf(e,!1)))};y&&($(n,M),Cf(e,!0)),fv(e.props)?(e.el.__isMounted=!1,Fr(()=>{H(),delete e.el.__isMounted},s)):H()}else{if(fv(e.props)&&t.el.__isMounted===!1){Fr(()=>{Tb.process(t,e,n,r,i,s,o,a,u,c)},s);return}e.el=t.el,e.targetStart=t.targetStart;const k=e.anchor=t.anchor,M=e.target=t.target,$=e.targetAnchor=t.targetAnchor,H=Eu(t.props),O=H?n:M,F=H?k:$;if(o==="svg"||dv(M)?o="svg":(o==="mathml"||hv(M))&&(o="mathml"),T?(f(t.dynamicChildren,T,O,i,s,o,a),hg(t,e,!0)):u||l(t,e,O,F,i,s,o,a,!1),y)H?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):tf(e,n,k,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const re=e.target=Lp(e.props,g);re&&tf(e,re,null,c,0)}else H&&tf(e,M,$,c,1);Cf(e,y)}},remove(t,e,n,{um:r,o:{remove:i}},s){const{shapeFlag:o,children:a,anchor:u,targetStart:c,targetAnchor:d,target:l,props:f}=t;if(l&&(i(c),i(d)),s&&i(u),o&16){const h=s||!Eu(f);for(let g=0;g<a.length;g++){const p=a[g];r(p,e,n,h,!!p.dynamicChildren)}}},move:tf,hydrate:DR};function tf(t,e,n,{o:{insert:r},m:i},s=2){s===0&&r(t.targetAnchor,e,n);const{el:o,anchor:a,shapeFlag:u,children:c,props:d}=t,l=s===2;if(l&&r(o,e,n),(!l||Eu(d))&&u&16)for(let f=0;f<c.length;f++)i(c[f],e,n,2);l&&r(a,e,n)}function DR(t,e,n,r,i,s,{o:{nextSibling:o,parentNode:a,querySelector:u,insert:c,createText:d}},l){function f(p,b,y,S){b.anchor=l(o(p),b,a(p),n,r,i,s),b.targetStart=y,b.targetAnchor=S}const h=e.target=Lp(e.props,u),g=Eu(e.props);if(h){const p=h._lpa||h.firstChild;if(e.shapeFlag&16)if(g)f(t,e,p,p&&o(p));else{e.anchor=o(t);let b=p;for(;b;){if(b&&b.nodeType===8){if(b.data==="teleport start anchor")e.targetStart=b;else if(b.data==="teleport anchor"){e.targetAnchor=b,h._lpa=e.targetAnchor&&o(e.targetAnchor);break}}b=o(b)}e.targetAnchor||Ab(h,e,d,c),l(p&&o(p),e,h,n,r,i,s)}Cf(e,g)}else g&&e.shapeFlag&16&&f(t,e,t,o(t));return e.anchor&&o(e.anchor)}const NR=Tb;function Cf(t,e){const n=t.ctx;if(n&&n.ut){let r,i;for(e?(r=t.el,i=t.anchor):(r=t.targetStart,i=t.targetAnchor);r&&r!==i;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function Ab(t,e,n,r){const i=e.targetStart=n(""),s=e.targetAnchor=n("");return i[wb]=s,t&&(r(i,t),r(s,t)),s}const Ns=Symbol("_leaveCb"),nf=Symbol("_enterCb");function $R(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return kt(()=>{t.isMounted=!0}),yc(()=>{t.isUnmounting=!0}),t}const Ai=[Function,Array],Eb={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ai,onEnter:Ai,onAfterEnter:Ai,onEnterCancelled:Ai,onBeforeLeave:Ai,onLeave:Ai,onAfterLeave:Ai,onLeaveCancelled:Ai,onBeforeAppear:Ai,onAppear:Ai,onAfterAppear:Ai,onAppearCancelled:Ai},kb=t=>{const e=t.subTree;return e.component?kb(e.component):e},HR={name:"BaseTransition",props:Eb,setup(t,{slots:e}){const n=No(),r=$R();return()=>{const i=e.default&&xb(e.default(),!0);if(!i||!i.length)return;const s=Rb(i),o=Ht(t),{mode:a}=o;if(r.isLeaving)return Nh(s);const u=pv(s);if(!u)return Nh(s);let c=Op(u,o,r,n,l=>c=l);u.type!==Tr&&Xu(u,c);let d=n.subTree&&pv(n.subTree);if(d&&d.type!==Tr&&!ra(d,u)&&kb(n).type!==Tr){let l=Op(d,o,r,n);if(Xu(d,l),a==="out-in"&&u.type!==Tr)return r.isLeaving=!0,l.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete l.afterLeave,d=void 0},Nh(s);a==="in-out"&&u.type!==Tr?l.delayLeave=(f,h,g)=>{const p=Cb(r,d);p[String(d.key)]=d,f[Ns]=()=>{h(),f[Ns]=void 0,delete c.delayedLeave,d=void 0},c.delayedLeave=()=>{g(),delete c.delayedLeave,d=void 0}}:d=void 0}else d&&(d=void 0);return s}}};function Rb(t){let e=t[0];if(t.length>1){for(const n of t)if(n.type!==Tr){e=n;break}}return e}const BR=HR;function Cb(t,e){const{leavingVNodes:n}=t;let r=n.get(e.type);return r||(r=Object.create(null),n.set(e.type,r)),r}function Op(t,e,n,r,i){const{appear:s,mode:o,persisted:a=!1,onBeforeEnter:u,onEnter:c,onAfterEnter:d,onEnterCancelled:l,onBeforeLeave:f,onLeave:h,onAfterLeave:g,onLeaveCancelled:p,onBeforeAppear:b,onAppear:y,onAfterAppear:S,onAppearCancelled:E}=e,T=String(t.key),k=Cb(n,t),M=(O,F)=>{O&&Gi(O,r,9,F)},$=(O,F)=>{const re=F[1];M(O,F),dt(O)?O.every(N=>N.length<=1)&&re():O.length<=1&&re()},H={mode:o,persisted:a,beforeEnter(O){let F=u;if(!n.isMounted)if(s)F=b||u;else return;O[Ns]&&O[Ns](!0);const re=k[T];re&&ra(t,re)&&re.el[Ns]&&re.el[Ns](),M(F,[O])},enter(O){let F=c,re=d,N=l;if(!n.isMounted)if(s)F=y||c,re=S||d,N=E||l;else return;let P=!1;const z=O[nf]=Q=>{P||(P=!0,Q?M(N,[O]):M(re,[O]),H.delayedLeave&&H.delayedLeave(),O[nf]=void 0)};F?$(F,[O,z]):z()},leave(O,F){const re=String(t.key);if(O[nf]&&O[nf](!0),n.isUnmounting)return F();M(f,[O]);let N=!1;const P=O[Ns]=z=>{N||(N=!0,F(),z?M(p,[O]):M(g,[O]),O[Ns]=void 0,k[re]===t&&delete k[re])};k[re]=t,h?$(h,[O,P]):P()},clone(O){const F=Op(O,e,n,r,i);return i&&i(F),F}};return H}function Nh(t){if(Ud(t))return t=xo(t),t.children=null,t}function pv(t){if(!Ud(t))return Sb(t.type)&&t.children?Rb(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:n}=t;if(n){if(e&16)return n[0];if(e&32&&mt(n.default))return n.default()}}function Xu(t,e){t.shapeFlag&6&&t.component?(t.transition=e,Xu(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function xb(t,e=!1,n){let r=[],i=0;for(let s=0;s<t.length;s++){let o=t[s];const a=n==null?o.key:String(n)+String(o.key!=null?o.key:s);o.type===Qe?(o.patchFlag&128&&i++,r=r.concat(xb(o.children,e,a))):(e||o.type!==Tr)&&r.push(a!=null?xo(o,{key:a}):o)}if(i>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}function Ss(t,e){return mt(t)?lr({name:t.name},e,{setup:t}):t}function Pb(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}const id=new WeakMap;function ku(t,e,n,r,i=!1){if(dt(t)){t.forEach((g,p)=>ku(g,e&&(dt(e)?e[p]:e),n,r,i));return}if(ll(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&ku(t,e,n,r.component.subTree);return}const s=r.shapeFlag&4?Gd(r.component):r.el,o=i?null:s,{i:a,r:u}=t,c=e&&e.r,d=a.refs===fn?a.refs={}:a.refs,l=a.setupState,f=Ht(l),h=l===fn?B1:g=>en(f,g);if(c!=null&&c!==u){if(mv(e),Cn(c))d[c]=null,h(c)&&(l[c]=null);else if(yn(c)){c.value=null;const g=e;g.k&&(d[g.k]=null)}}if(mt(u))vc(u,a,12,[o,d]);else{const g=Cn(u),p=yn(u);if(g||p){const b=()=>{if(t.f){const y=g?h(u)?l[u]:d[u]:u.value;if(i)dt(y)&&Qm(y,s);else if(dt(y))y.includes(s)||y.push(s);else if(g)d[u]=[s],h(u)&&(l[u]=d[u]);else{const S=[s];u.value=S,t.k&&(d[t.k]=S)}}else g?(d[u]=o,h(u)&&(l[u]=o)):p&&(u.value=o,t.k&&(d[t.k]=o))};if(o){const y=()=>{b(),id.delete(t)};y.id=-1,id.set(t,y),Fr(y,n)}else mv(t),b()}}}function mv(t){const e=id.get(t);e&&(e.flags|=8,id.delete(t))}Hd().requestIdleCallback;Hd().cancelIdleCallback;const ll=t=>!!t.type.__asyncLoader,Ud=t=>t.type.__isKeepAlive;function Ib(t,e){Ob(t,"a",e)}function Lb(t,e){Ob(t,"da",e)}function Ob(t,e,n=Ar){const r=t.__wdc||(t.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(jd(e,r,n),n){let i=n.parent;for(;i&&i.parent;)Ud(i.parent.vnode)&&VR(r,e,n,i),i=i.parent}}function VR(t,e,n,r){const i=jd(e,t,r,!0);Vt(()=>{Qm(r[e],i)},n)}function jd(t,e,n=Ar,r=!1){if(n){const i=n[t]||(n[t]=[]),s=e.__weh||(e.__weh=(...o)=>{Qs();const a=Tc(n),u=Gi(e,n,t,o);return a(),Js(),u});return r?i.unshift(s):i.push(s),s}}const ro=t=>(e,n=Ar)=>{(!ec||t==="sp")&&jd(t,(...r)=>e(...r),n)},Wd=ro("bm"),kt=ro("m"),UR=ro("bu"),Mb=ro("u"),yc=ro("bum"),Vt=ro("um"),bc=ro("sp"),jR=ro("rtg"),WR=ro("rtc");function zR(t,e=Ar){jd("ec",t,e)}const Fb="components";function cg(t,e){return Nb(Fb,t,!0,e)||t}const Db=Symbol.for("v-ndc");function Il(t){return Cn(t)?Nb(Fb,t,!1)||t:t||Db}function Nb(t,e,n=!0,r=!1){const i=dr||Ar;if(i){const s=i.type;{const a=IC(s,!1);if(a&&(a===e||a===Ni(e)||a===$d(Ni(e))))return s}const o=gv(i[t]||s[t],e)||gv(i.appContext[t],e);return!o&&r?s:o}}function gv(t,e){return t&&(t[e]||t[Ni(e)]||t[$d(Ni(e))])}function ut(t,e,n,r){let i;const s=n,o=dt(t);if(o||Cn(t)){const a=o&&Ys(t);let u=!1,c=!1;a&&(u=!Fi(t),c=Zs(t),t=Bd(t)),i=new Array(t.length);for(let d=0,l=t.length;d<l;d++)i[d]=e(u?c?ed(fr(t[d])):fr(t[d]):t[d],d,void 0,s)}else if(typeof t=="number"){i=new Array(t);for(let a=0;a<t;a++)i[a]=e(a+1,a,void 0,s)}else if(dn(t))if(t[Symbol.iterator])i=Array.from(t,(a,u)=>e(a,u,void 0,s));else{const a=Object.keys(t);i=new Array(a.length);for(let u=0,c=a.length;u<c;u++){const d=a[u];i[u]=e(t[d],d,u,s)}}else i=[];return i}function $s(t,e,n={},r,i){if(dr.ce||dr.parent&&ll(dr.parent)&&dr.parent.ce){const c=Object.keys(n).length>0;return ue(),tn(Qe,null,[je("slot",n,r)],c?-2:64)}let s=t[e];s&&s._c&&(s._d=!1),ue();const o=s&&$b(s(n)),a=n.key||o&&o.key,u=tn(Qe,{key:(a&&!no(a)?a:`_${e}`)+(!o&&r?"_fb":"")},o||[],o&&t._===1?64:-2);return!i&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),s&&s._c&&(s._d=!0),u}function $b(t){return t.some(e=>Ju(e)?!(e.type===Tr||e.type===Qe&&!$b(e.children)):!0)?t:null}const Mp=t=>t?iw(t)?Gd(t):Mp(t.parent):null,Ru=lr(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Mp(t.parent),$root:t=>Mp(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>Bb(t),$forceUpdate:t=>t.f||(t.f=()=>{ug(t.update)}),$nextTick:t=>t.n||(t.n=Mt.bind(t.proxy)),$watch:t=>dC.bind(t)}),$h=(t,e)=>t!==fn&&!t.__isScriptSetup&&en(t,e),GR={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:s,accessCache:o,type:a,appContext:u}=t;let c;if(e[0]!=="$"){const h=o[e];if(h!==void 0)switch(h){case 1:return r[e];case 2:return i[e];case 4:return n[e];case 3:return s[e]}else{if($h(r,e))return o[e]=1,r[e];if(i!==fn&&en(i,e))return o[e]=2,i[e];if((c=t.propsOptions[0])&&en(c,e))return o[e]=3,s[e];if(n!==fn&&en(n,e))return o[e]=4,n[e];Fp&&(o[e]=0)}}const d=Ru[e];let l,f;if(d)return e==="$attrs"&&Sr(t.attrs,"get",""),d(t);if((l=a.__cssModules)&&(l=l[e]))return l;if(n!==fn&&en(n,e))return o[e]=4,n[e];if(f=u.config.globalProperties,en(f,e))return f[e]},set({_:t},e,n){const{data:r,setupState:i,ctx:s}=t;return $h(i,e)?(i[e]=n,!0):r!==fn&&en(r,e)?(r[e]=n,!0):en(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(s[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:i,propsOptions:s,type:o}},a){let u,c;return!!(n[a]||t!==fn&&a[0]!=="$"&&en(t,a)||$h(e,a)||(u=s[0])&&en(u,a)||en(r,a)||en(Ru,a)||en(i.config.globalProperties,a)||(c=o.__cssModules)&&c[a])},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:en(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function _v(t){return dt(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let Fp=!0;function qR(t){const e=Bb(t),n=t.proxy,r=t.ctx;Fp=!1,e.beforeCreate&&vv(e.beforeCreate,t,"bc");const{data:i,computed:s,methods:o,watch:a,provide:u,inject:c,created:d,beforeMount:l,mounted:f,beforeUpdate:h,updated:g,activated:p,deactivated:b,beforeDestroy:y,beforeUnmount:S,destroyed:E,unmounted:T,render:k,renderTracked:M,renderTriggered:$,errorCaptured:H,serverPrefetch:O,expose:F,inheritAttrs:re,components:N,directives:P,filters:z}=e;if(c&&YR(c,r,null),o)for(const G in o){const ie=o[G];mt(ie)&&(r[G]=ie.bind(n))}if(i){const G=i.call(n,n);dn(G)&&(t.data=Pa(G))}if(Fp=!0,s)for(const G in s){const ie=s[G],ae=mt(ie)?ie.bind(n,n):mt(ie.get)?ie.get.bind(n,n):ys,X=!mt(ie)&&mt(ie.set)?ie.set.bind(n):ys,pe=Ie({get:ae,set:X});Object.defineProperty(r,G,{enumerable:!0,configurable:!0,get:()=>pe.value,set:Ee=>pe.value=Ee})}if(a)for(const G in a)Hb(a[G],r,n,G);if(u){const G=mt(u)?u.call(n):u;Reflect.ownKeys(G).forEach(ie=>{xf(ie,G[ie])})}d&&vv(d,t,"c");function B(G,ie){dt(ie)?ie.forEach(ae=>G(ae.bind(n))):ie&&G(ie.bind(n))}if(B(Wd,l),B(kt,f),B(UR,h),B(Mb,g),B(Ib,p),B(Lb,b),B(zR,H),B(WR,M),B(jR,$),B(yc,S),B(Vt,T),B(bc,O),dt(F))if(F.length){const G=t.exposed||(t.exposed={});F.forEach(ie=>{Object.defineProperty(G,ie,{get:()=>n[ie],set:ae=>n[ie]=ae,enumerable:!0})})}else t.exposed||(t.exposed={});k&&t.render===ys&&(t.render=k),re!=null&&(t.inheritAttrs=re),N&&(t.components=N),P&&(t.directives=P),O&&Pb(t)}function YR(t,e,n=ys){dt(t)&&(t=Dp(t));for(const r in t){const i=t[r];let s;dn(i)?"default"in i?s=Kr(i.from||r,i.default,!0):s=Kr(i.from||r):s=Kr(i),yn(s)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):e[r]=s}}function vv(t,e,n){Gi(dt(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function Hb(t,e,n,r){let i=r.includes(".")?Jb(n,r):()=>n[r];if(Cn(t)){const s=e[t];mt(s)&&Ve(i,s)}else if(mt(t))Ve(i,t.bind(n));else if(dn(t))if(dt(t))t.forEach(s=>Hb(s,e,n,r));else{const s=mt(t.handler)?t.handler.bind(n):e[t.handler];mt(s)&&Ve(i,s,t)}}function Bb(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=t.appContext,a=s.get(e);let u;return a?u=a:!i.length&&!n&&!r?u=e:(u={},i.length&&i.forEach(c=>sd(u,c,o,!0)),sd(u,e,o)),dn(e)&&s.set(e,u),u}function sd(t,e,n,r=!1){const{mixins:i,extends:s}=e;s&&sd(t,s,n,!0),i&&i.forEach(o=>sd(t,o,n,!0));for(const o in e)if(!(r&&o==="expose")){const a=KR[o]||n&&n[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const KR={data:yv,props:bv,emits:bv,methods:hu,computed:hu,beforeCreate:Ir,created:Ir,beforeMount:Ir,mounted:Ir,beforeUpdate:Ir,updated:Ir,beforeDestroy:Ir,beforeUnmount:Ir,destroyed:Ir,unmounted:Ir,activated:Ir,deactivated:Ir,errorCaptured:Ir,serverPrefetch:Ir,components:hu,directives:hu,watch:QR,provide:yv,inject:XR};function yv(t,e){return e?t?function(){return lr(mt(t)?t.call(this,this):t,mt(e)?e.call(this,this):e)}:e:t}function XR(t,e){return hu(Dp(t),Dp(e))}function Dp(t){if(dt(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Ir(t,e){return t?[...new Set([].concat(t,e))]:e}function hu(t,e){return t?lr(Object.create(null),t,e):e}function bv(t,e){return t?dt(t)&&dt(e)?[...new Set([...t,...e])]:lr(Object.create(null),_v(t),_v(e??{})):e}function QR(t,e){if(!t)return e;if(!e)return t;const n=lr(Object.create(null),t);for(const r in e)n[r]=Ir(t[r],e[r]);return n}function Vb(){return{app:null,config:{isNativeTag:B1,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let JR=0;function ZR(t,e){return function(r,i=null){mt(r)||(r=lr({},r)),i!=null&&!dn(i)&&(i=null);const s=Vb(),o=new WeakSet,a=[];let u=!1;const c=s.app={_uid:JR++,_component:r,_props:i,_container:null,_context:s,_instance:null,version:OC,get config(){return s.config},set config(d){},use(d,...l){return o.has(d)||(d&&mt(d.install)?(o.add(d),d.install(c,...l)):mt(d)&&(o.add(d),d(c,...l))),c},mixin(d){return s.mixins.includes(d)||s.mixins.push(d),c},component(d,l){return l?(s.components[d]=l,c):s.components[d]},directive(d,l){return l?(s.directives[d]=l,c):s.directives[d]},mount(d,l,f){if(!u){const h=c._ceVNode||je(r,i);return h.appContext=s,f===!0?f="svg":f===!1&&(f=void 0),t(h,d,f),u=!0,c._container=d,d.__vue_app__=c,Gd(h.component)}},onUnmount(d){a.push(d)},unmount(){u&&(Gi(a,c._instance,16),t(null,c._container),delete c._container.__vue_app__)},provide(d,l){return s.provides[d]=l,c},runWithContext(d){const l=ca;ca=c;try{return d()}finally{ca=l}}};return c}}let ca=null;function xf(t,e){if(Ar){let n=Ar.provides;const r=Ar.parent&&Ar.parent.provides;r===n&&(n=Ar.provides=Object.create(r)),n[t]=e}}function Kr(t,e,n=!1){const r=No();if(r||ca){let i=ca?ca._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&t in i)return i[t];if(arguments.length>1)return n&&mt(e)?e.call(r&&r.proxy):e}}function Ub(){return!!(No()||ca)}const jb={},Wb=()=>Object.create(jb),zb=t=>Object.getPrototypeOf(t)===jb;function eC(t,e,n,r=!1){const i={},s=Wb();t.propsDefaults=Object.create(null),Gb(t,e,i,s);for(const o in t.propsOptions[0])o in i||(i[o]=void 0);n?t.props=r?i:fb(i):t.type.props?t.props=i:t.props=s,t.attrs=s}function tC(t,e,n,r){const{props:i,attrs:s,vnode:{patchFlag:o}}=t,a=Ht(i),[u]=t.propsOptions;let c=!1;if((r||o>0)&&!(o&16)){if(o&8){const d=t.vnode.dynamicProps;for(let l=0;l<d.length;l++){let f=d[l];if(zd(t.emitsOptions,f))continue;const h=e[f];if(u)if(en(s,f))h!==s[f]&&(s[f]=h,c=!0);else{const g=Ni(f);i[g]=Np(u,a,g,h,t,!1)}else h!==s[f]&&(s[f]=h,c=!0)}}}else{Gb(t,e,i,s)&&(c=!0);let d;for(const l in a)(!e||!en(e,l)&&((d=xa(l))===l||!en(e,d)))&&(u?n&&(n[l]!==void 0||n[d]!==void 0)&&(i[l]=Np(u,a,l,void 0,t,!0)):delete i[l]);if(s!==a)for(const l in s)(!e||!en(e,l))&&(delete s[l],c=!0)}c&&Bs(t.attrs,"set","")}function Gb(t,e,n,r){const[i,s]=t.propsOptions;let o=!1,a;if(e)for(let u in e){if(Su(u))continue;const c=e[u];let d;i&&en(i,d=Ni(u))?!s||!s.includes(d)?n[d]=c:(a||(a={}))[d]=c:zd(t.emitsOptions,u)||(!(u in r)||c!==r[u])&&(r[u]=c,o=!0)}if(s){const u=Ht(n),c=a||fn;for(let d=0;d<s.length;d++){const l=s[d];n[l]=Np(i,u,l,c[l],t,!en(c,l))}}return o}function Np(t,e,n,r,i,s){const o=t[n];if(o!=null){const a=en(o,"default");if(a&&r===void 0){const u=o.default;if(o.type!==Function&&!o.skipFactory&&mt(u)){const{propsDefaults:c}=i;if(n in c)r=c[n];else{const d=Tc(i);r=c[n]=u.call(null,e),d()}}else r=u;i.ce&&i.ce._setProp(n,r)}o[0]&&(s&&!a?r=!1:o[1]&&(r===""||r===xa(n))&&(r=!0))}return r}const nC=new WeakMap;function qb(t,e,n=!1){const r=n?nC:e.propsCache,i=r.get(t);if(i)return i;const s=t.props,o={},a=[];let u=!1;if(!mt(t)){const d=l=>{u=!0;const[f,h]=qb(l,e,!0);lr(o,f),h&&a.push(...h)};!n&&e.mixins.length&&e.mixins.forEach(d),t.extends&&d(t.extends),t.mixins&&t.mixins.forEach(d)}if(!s&&!u)return dn(t)&&r.set(t,sl),sl;if(dt(s))for(let d=0;d<s.length;d++){const l=Ni(s[d]);wv(l)&&(o[l]=fn)}else if(s)for(const d in s){const l=Ni(d);if(wv(l)){const f=s[d],h=o[l]=dt(f)||mt(f)?{type:f}:lr({},f),g=h.type;let p=!1,b=!0;if(dt(g))for(let y=0;y<g.length;++y){const S=g[y],E=mt(S)&&S.name;if(E==="Boolean"){p=!0;break}else E==="String"&&(b=!1)}else p=mt(g)&&g.name==="Boolean";h[0]=p,h[1]=b,(p||en(h,"default"))&&a.push(l)}}const c=[o,a];return dn(t)&&r.set(t,c),c}function wv(t){return t[0]!=="$"&&!Su(t)}const fg=t=>t==="_"||t==="_ctx"||t==="$stable",dg=t=>dt(t)?t.map(fs):[fs(t)],rC=(t,e,n)=>{if(e._n)return e;const r=$i((...i)=>dg(e(...i)),n);return r._c=!1,r},Yb=(t,e,n)=>{const r=t._ctx;for(const i in t){if(fg(i))continue;const s=t[i];if(mt(s))e[i]=rC(i,s,r);else if(s!=null){const o=dg(s);e[i]=()=>o}}},Kb=(t,e)=>{const n=dg(e);t.slots.default=()=>n},Xb=(t,e,n)=>{for(const r in e)(n||!fg(r))&&(t[r]=e[r])},iC=(t,e,n)=>{const r=t.slots=Wb();if(t.vnode.shapeFlag&32){const i=e._;i?(Xb(r,e,n),n&&z1(r,"_",i,!0)):Yb(e,r)}else e&&Kb(t,e)},sC=(t,e,n)=>{const{vnode:r,slots:i}=t;let s=!0,o=fn;if(r.shapeFlag&32){const a=e._;a?n&&a===1?s=!1:Xb(i,e,n):(s=!e.$stable,Yb(e,i)),o=e}else e&&(Kb(t,e),o={default:1});if(s)for(const a in i)!fg(a)&&o[a]==null&&delete i[a]},Fr=bC;function oC(t){return aC(t)}function aC(t,e){const n=Hd();n.__VUE__=!0;const{insert:r,remove:i,patchProp:s,createElement:o,createText:a,createComment:u,setText:c,setElementText:d,parentNode:l,nextSibling:f,setScopeId:h=ys,insertStaticContent:g}=t,p=(W,L,q,ee=null,K=null,x=null,V=void 0,C=null,D=!!L.dynamicChildren)=>{if(W===L)return;W&&!ra(W,L)&&(ee=se(W),Ee(W,K,x,!0),W=null),L.patchFlag===-2&&(D=!1,L.dynamicChildren=null);const{type:Z,ref:fe,shapeFlag:de}=L;switch(Z){case Sc:b(W,L,q,ee);break;case Tr:y(W,L,q,ee);break;case Pf:W==null&&S(L,q,ee,V);break;case Qe:N(W,L,q,ee,K,x,V,C,D);break;default:de&1?k(W,L,q,ee,K,x,V,C,D):de&6?P(W,L,q,ee,K,x,V,C,D):(de&64||de&128)&&Z.process(W,L,q,ee,K,x,V,C,D,Te)}fe!=null&&K?ku(fe,W&&W.ref,x,L||W,!L):fe==null&&W&&W.ref!=null&&ku(W.ref,null,x,W,!0)},b=(W,L,q,ee)=>{if(W==null)r(L.el=a(L.children),q,ee);else{const K=L.el=W.el;L.children!==W.children&&c(K,L.children)}},y=(W,L,q,ee)=>{W==null?r(L.el=u(L.children||""),q,ee):L.el=W.el},S=(W,L,q,ee)=>{[W.el,W.anchor]=g(W.children,L,q,ee,W.el,W.anchor)},E=({el:W,anchor:L},q,ee)=>{let K;for(;W&&W!==L;)K=f(W),r(W,q,ee),W=K;r(L,q,ee)},T=({el:W,anchor:L})=>{let q;for(;W&&W!==L;)q=f(W),i(W),W=q;i(L)},k=(W,L,q,ee,K,x,V,C,D)=>{L.type==="svg"?V="svg":L.type==="math"&&(V="mathml"),W==null?M(L,q,ee,K,x,V,C,D):O(W,L,K,x,V,C,D)},M=(W,L,q,ee,K,x,V,C)=>{let D,Z;const{props:fe,shapeFlag:de,transition:ne,dirs:ce}=W;if(D=W.el=o(W.type,x,fe&&fe.is,fe),de&8?d(D,W.children):de&16&&H(W.children,D,null,ee,K,Hh(W,x),V,C),ce&&Go(W,null,ee,"created"),$(D,W,W.scopeId,V,ee),fe){for(const _ in fe)_!=="value"&&!Su(_)&&s(D,_,null,fe[_],x,ee);"value"in fe&&s(D,"value",null,fe.value,x),(Z=fe.onVnodeBeforeMount)&&ss(Z,ee,W)}ce&&Go(W,null,ee,"beforeMount");const R=lC(K,ne);R&&ne.beforeEnter(D),r(D,L,q),((Z=fe&&fe.onVnodeMounted)||R||ce)&&Fr(()=>{Z&&ss(Z,ee,W),R&&ne.enter(D),ce&&Go(W,null,ee,"mounted")},K)},$=(W,L,q,ee,K)=>{if(q&&h(W,q),ee)for(let x=0;x<ee.length;x++)h(W,ee[x]);if(K){let x=K.subTree;if(L===x||ew(x.type)&&(x.ssContent===L||x.ssFallback===L)){const V=K.vnode;$(W,V,V.scopeId,V.slotScopeIds,K.parent)}}},H=(W,L,q,ee,K,x,V,C,D=0)=>{for(let Z=D;Z<W.length;Z++){const fe=W[Z]=C?po(W[Z]):fs(W[Z]);p(null,fe,L,q,ee,K,x,V,C)}},O=(W,L,q,ee,K,x,V)=>{const C=L.el=W.el;let{patchFlag:D,dynamicChildren:Z,dirs:fe}=L;D|=W.patchFlag&16;const de=W.props||fn,ne=L.props||fn;let ce;if(q&&qo(q,!1),(ce=ne.onVnodeBeforeUpdate)&&ss(ce,q,L,W),fe&&Go(L,W,q,"beforeUpdate"),q&&qo(q,!0),(de.innerHTML&&ne.innerHTML==null||de.textContent&&ne.textContent==null)&&d(C,""),Z?F(W.dynamicChildren,Z,C,q,ee,Hh(L,K),x):V||ie(W,L,C,null,q,ee,Hh(L,K),x,!1),D>0){if(D&16)re(C,de,ne,q,K);else if(D&2&&de.class!==ne.class&&s(C,"class",null,ne.class,K),D&4&&s(C,"style",de.style,ne.style,K),D&8){const R=L.dynamicProps;for(let _=0;_<R.length;_++){const w=R[_],U=de[w],oe=ne[w];(oe!==U||w==="value")&&s(C,w,U,oe,K,q)}}D&1&&W.children!==L.children&&d(C,L.children)}else!V&&Z==null&&re(C,de,ne,q,K);((ce=ne.onVnodeUpdated)||fe)&&Fr(()=>{ce&&ss(ce,q,L,W),fe&&Go(L,W,q,"updated")},ee)},F=(W,L,q,ee,K,x,V)=>{for(let C=0;C<L.length;C++){const D=W[C],Z=L[C],fe=D.el&&(D.type===Qe||!ra(D,Z)||D.shapeFlag&198)?l(D.el):q;p(D,Z,fe,null,ee,K,x,V,!0)}},re=(W,L,q,ee,K)=>{if(L!==q){if(L!==fn)for(const x in L)!Su(x)&&!(x in q)&&s(W,x,L[x],null,K,ee);for(const x in q){if(Su(x))continue;const V=q[x],C=L[x];V!==C&&x!=="value"&&s(W,x,C,V,K,ee)}"value"in q&&s(W,"value",L.value,q.value,K)}},N=(W,L,q,ee,K,x,V,C,D)=>{const Z=L.el=W?W.el:a(""),fe=L.anchor=W?W.anchor:a("");let{patchFlag:de,dynamicChildren:ne,slotScopeIds:ce}=L;ce&&(C=C?C.concat(ce):ce),W==null?(r(Z,q,ee),r(fe,q,ee),H(L.children||[],q,fe,K,x,V,C,D)):de>0&&de&64&&ne&&W.dynamicChildren?(F(W.dynamicChildren,ne,q,K,x,V,C),(L.key!=null||K&&L===K.subTree)&&hg(W,L,!0)):ie(W,L,q,fe,K,x,V,C,D)},P=(W,L,q,ee,K,x,V,C,D)=>{L.slotScopeIds=C,W==null?L.shapeFlag&512?K.ctx.activate(L,q,ee,V,D):z(L,q,ee,K,x,V,D):Q(W,L,D)},z=(W,L,q,ee,K,x,V)=>{const C=W.component=kC(W,ee,K);if(Ud(W)&&(C.ctx.renderer=Te),RC(C,!1,V),C.asyncDep){if(K&&K.registerDep(C,B,V),!W.el){const D=C.subTree=je(Tr);y(null,D,L,q),W.placeholder=D.el}}else B(C,W,L,q,K,x,V)},Q=(W,L,q)=>{const ee=L.component=W.component;if(vC(W,L,q))if(ee.asyncDep&&!ee.asyncResolved){G(ee,L,q);return}else ee.next=L,ee.update();else L.el=W.el,ee.vnode=L},B=(W,L,q,ee,K,x,V)=>{const C=()=>{if(W.isMounted){let{next:de,bu:ne,u:ce,parent:R,vnode:_}=W;{const be=Qb(W);if(be){de&&(de.el=_.el,G(W,de,V)),be.asyncDep.then(()=>{W.isUnmounted||C()});return}}let w=de,U;qo(W,!1),de?(de.el=_.el,G(W,de,V)):de=_,ne&&Rf(ne),(U=de.props&&de.props.onVnodeBeforeUpdate)&&ss(U,R,de,_),qo(W,!0);const oe=Tv(W),Ae=W.subTree;W.subTree=oe,p(Ae,oe,l(Ae.el),se(Ae),W,K,x),de.el=oe.el,w===null&&yC(W,oe.el),ce&&Fr(ce,K),(U=de.props&&de.props.onVnodeUpdated)&&Fr(()=>ss(U,R,de,_),K)}else{let de;const{el:ne,props:ce}=L,{bm:R,m:_,parent:w,root:U,type:oe}=W,Ae=ll(L);qo(W,!1),R&&Rf(R),!Ae&&(de=ce&&ce.onVnodeBeforeMount)&&ss(de,w,L),qo(W,!0);{U.ce&&U.ce._def.shadowRoot!==!1&&U.ce._injectChildStyle(oe);const be=W.subTree=Tv(W);p(null,be,q,ee,W,K,x),L.el=be.el}if(_&&Fr(_,K),!Ae&&(de=ce&&ce.onVnodeMounted)){const be=L;Fr(()=>ss(de,w,be),K)}(L.shapeFlag&256||w&&ll(w.vnode)&&w.vnode.shapeFlag&256)&&W.a&&Fr(W.a,K),W.isMounted=!0,L=q=ee=null}};W.scope.on();const D=W.effect=new Q1(C);W.scope.off();const Z=W.update=D.run.bind(D),fe=W.job=D.runIfDirty.bind(D);fe.i=W,fe.id=W.uid,D.scheduler=()=>ug(fe),qo(W,!0),Z()},G=(W,L,q)=>{L.component=W;const ee=W.vnode.props;W.vnode=L,W.next=null,tC(W,L.props,ee,q),sC(W,L.children,q),Qs(),cv(W),Js()},ie=(W,L,q,ee,K,x,V,C,D=!1)=>{const Z=W&&W.children,fe=W?W.shapeFlag:0,de=L.children,{patchFlag:ne,shapeFlag:ce}=L;if(ne>0){if(ne&128){X(Z,de,q,ee,K,x,V,C,D);return}else if(ne&256){ae(Z,de,q,ee,K,x,V,C,D);return}}ce&8?(fe&16&&we(Z,K,x),de!==Z&&d(q,de)):fe&16?ce&16?X(Z,de,q,ee,K,x,V,C,D):we(Z,K,x,!0):(fe&8&&d(q,""),ce&16&&H(de,q,ee,K,x,V,C,D))},ae=(W,L,q,ee,K,x,V,C,D)=>{W=W||sl,L=L||sl;const Z=W.length,fe=L.length,de=Math.min(Z,fe);let ne;for(ne=0;ne<de;ne++){const ce=L[ne]=D?po(L[ne]):fs(L[ne]);p(W[ne],ce,q,null,K,x,V,C,D)}Z>fe?we(W,K,x,!0,!1,de):H(L,q,ee,K,x,V,C,D,de)},X=(W,L,q,ee,K,x,V,C,D)=>{let Z=0;const fe=L.length;let de=W.length-1,ne=fe-1;for(;Z<=de&&Z<=ne;){const ce=W[Z],R=L[Z]=D?po(L[Z]):fs(L[Z]);if(ra(ce,R))p(ce,R,q,null,K,x,V,C,D);else break;Z++}for(;Z<=de&&Z<=ne;){const ce=W[de],R=L[ne]=D?po(L[ne]):fs(L[ne]);if(ra(ce,R))p(ce,R,q,null,K,x,V,C,D);else break;de--,ne--}if(Z>de){if(Z<=ne){const ce=ne+1,R=ce<fe?L[ce].el:ee;for(;Z<=ne;)p(null,L[Z]=D?po(L[Z]):fs(L[Z]),q,R,K,x,V,C,D),Z++}}else if(Z>ne)for(;Z<=de;)Ee(W[Z],K,x,!0),Z++;else{const ce=Z,R=Z,_=new Map;for(Z=R;Z<=ne;Z++){const $e=L[Z]=D?po(L[Z]):fs(L[Z]);$e.key!=null&&_.set($e.key,Z)}let w,U=0;const oe=ne-R+1;let Ae=!1,be=0;const qe=new Array(oe);for(Z=0;Z<oe;Z++)qe[Z]=0;for(Z=ce;Z<=de;Z++){const $e=W[Z];if(U>=oe){Ee($e,K,x,!0);continue}let rt;if($e.key!=null)rt=_.get($e.key);else for(w=R;w<=ne;w++)if(qe[w-R]===0&&ra($e,L[w])){rt=w;break}rt===void 0?Ee($e,K,x,!0):(qe[rt-R]=Z+1,rt>=be?be=rt:Ae=!0,p($e,L[rt],q,null,K,x,V,C,D),U++)}const Xe=Ae?uC(qe):sl;for(w=Xe.length-1,Z=oe-1;Z>=0;Z--){const $e=R+Z,rt=L[$e],at=L[$e+1],Rt=$e+1<fe?at.el||at.placeholder:ee;qe[Z]===0?p(null,rt,q,Rt,K,x,V,C,D):Ae&&(w<0||Z!==Xe[w]?pe(rt,q,Rt,2):w--)}}},pe=(W,L,q,ee,K=null)=>{const{el:x,type:V,transition:C,children:D,shapeFlag:Z}=W;if(Z&6){pe(W.component.subTree,L,q,ee);return}if(Z&128){W.suspense.move(L,q,ee);return}if(Z&64){V.move(W,L,q,Te);return}if(V===Qe){r(x,L,q);for(let de=0;de<D.length;de++)pe(D[de],L,q,ee);r(W.anchor,L,q);return}if(V===Pf){E(W,L,q);return}if(ee!==2&&Z&1&&C)if(ee===0)C.beforeEnter(x),r(x,L,q),Fr(()=>C.enter(x),K);else{const{leave:de,delayLeave:ne,afterLeave:ce}=C,R=()=>{W.ctx.isUnmounted?i(x):r(x,L,q)},_=()=>{x._isLeaving&&x[Ns](!0),de(x,()=>{R(),ce&&ce()})};ne?ne(x,R,_):_()}else r(x,L,q)},Ee=(W,L,q,ee=!1,K=!1)=>{const{type:x,props:V,ref:C,children:D,dynamicChildren:Z,shapeFlag:fe,patchFlag:de,dirs:ne,cacheIndex:ce}=W;if(de===-2&&(K=!1),C!=null&&(Qs(),ku(C,null,q,W,!0),Js()),ce!=null&&(L.renderCache[ce]=void 0),fe&256){L.ctx.deactivate(W);return}const R=fe&1&&ne,_=!ll(W);let w;if(_&&(w=V&&V.onVnodeBeforeUnmount)&&ss(w,L,W),fe&6)ye(W.component,q,ee);else{if(fe&128){W.suspense.unmount(q,ee);return}R&&Go(W,null,L,"beforeUnmount"),fe&64?W.type.remove(W,L,q,Te,ee):Z&&!Z.hasOnce&&(x!==Qe||de>0&&de&64)?we(Z,L,q,!1,!0):(x===Qe&&de&384||!K&&fe&16)&&we(D,L,q),ee&&ke(W)}(_&&(w=V&&V.onVnodeUnmounted)||R)&&Fr(()=>{w&&ss(w,L,W),R&&Go(W,null,L,"unmounted")},q)},ke=W=>{const{type:L,el:q,anchor:ee,transition:K}=W;if(L===Qe){Re(q,ee);return}if(L===Pf){T(W);return}const x=()=>{i(q),K&&!K.persisted&&K.afterLeave&&K.afterLeave()};if(W.shapeFlag&1&&K&&!K.persisted){const{leave:V,delayLeave:C}=K,D=()=>V(q,x);C?C(W.el,x,D):D()}else x()},Re=(W,L)=>{let q;for(;W!==L;)q=f(W),i(W),W=q;i(L)},ye=(W,L,q)=>{const{bum:ee,scope:K,job:x,subTree:V,um:C,m:D,a:Z}=W;Sv(D),Sv(Z),ee&&Rf(ee),K.stop(),x&&(x.flags|=8,Ee(V,W,L,q)),C&&Fr(C,L),Fr(()=>{W.isUnmounted=!0},L)},we=(W,L,q,ee=!1,K=!1,x=0)=>{for(let V=x;V<W.length;V++)Ee(W[V],L,q,ee,K)},se=W=>{if(W.shapeFlag&6)return se(W.component.subTree);if(W.shapeFlag&128)return W.suspense.next();const L=f(W.anchor||W.el),q=L&&L[wb];return q?f(q):L};let le=!1;const he=(W,L,q)=>{W==null?L._vnode&&Ee(L._vnode,null,null,!0):p(L._vnode||null,W,L,null,null,null,q),L._vnode=W,le||(le=!0,cv(),vb(),le=!1)},Te={p,um:Ee,m:pe,r:ke,mt:z,mc:H,pc:ie,pbc:F,n:se,o:t};return{render:he,hydrate:void 0,createApp:ZR(he)}}function Hh({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function qo({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function lC(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function hg(t,e,n=!1){const r=t.children,i=e.children;if(dt(r)&&dt(i))for(let s=0;s<r.length;s++){const o=r[s];let a=i[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[s]=po(i[s]),a.el=o.el),!n&&a.patchFlag!==-2&&hg(o,a)),a.type===Sc&&a.patchFlag!==-1&&(a.el=o.el),a.type===Tr&&!a.el&&(a.el=o.el)}}function uC(t){const e=t.slice(),n=[0];let r,i,s,o,a;const u=t.length;for(r=0;r<u;r++){const c=t[r];if(c!==0){if(i=n[n.length-1],t[i]<c){e[r]=i,n.push(r);continue}for(s=0,o=n.length-1;s<o;)a=s+o>>1,t[n[a]]<c?s=a+1:o=a;c<t[n[s]]&&(s>0&&(e[r]=n[s-1]),n[s]=r)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=e[o];return n}function Qb(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Qb(e)}function Sv(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}const cC=Symbol.for("v-scx"),fC=()=>Kr(cC);function wc(t,e){return pg(t,null,e)}function Ve(t,e,n){return pg(t,e,n)}function pg(t,e,n=fn){const{immediate:r,deep:i,flush:s,once:o}=n,a=lr({},n),u=e&&r||!e&&s!=="post";let c;if(ec){if(s==="sync"){const h=fC();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!u){const h=()=>{};return h.stop=ys,h.resume=ys,h.pause=ys,h}}const d=Ar;a.call=(h,g,p)=>Gi(h,d,g,p);let l=!1;s==="post"?a.scheduler=h=>{Fr(h,d&&d.suspense)}:s!=="sync"&&(l=!0,a.scheduler=(h,g)=>{g?h():ug(h)}),a.augmentJob=h=>{e&&(h.flags|=4),l&&(h.flags|=2,d&&(h.id=d.uid,h.i=d))};const f=IR(t,e,a);return ec&&(c?c.push(f):u&&f()),f}function dC(t,e,n){const r=this.proxy,i=Cn(t)?t.includes(".")?Jb(r,t):()=>r[t]:t.bind(r,r);let s;mt(e)?s=e:(s=e.handler,n=e);const o=Tc(this),a=pg(i,s.bind(r),n);return o(),a}function Jb(t,e){const n=e.split(".");return()=>{let r=t;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}const hC=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Ni(e)}Modifiers`]||t[`${xa(e)}Modifiers`];function pC(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||fn;let i=n;const s=e.startsWith("update:"),o=s&&hC(r,e.slice(7));o&&(o.trim&&(i=n.map(d=>Cn(d)?d.trim():d)),o.number&&(i=n.map(Rp)));let a,u=r[a=Lh(e)]||r[a=Lh(Ni(e))];!u&&s&&(u=r[a=Lh(xa(e))]),u&&Gi(u,t,6,i);const c=r[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Gi(c,t,6,i)}}const mC=new WeakMap;function Zb(t,e,n=!1){const r=n?mC:e.emitsCache,i=r.get(t);if(i!==void 0)return i;const s=t.emits;let o={},a=!1;if(!mt(t)){const u=c=>{const d=Zb(c,e,!0);d&&(a=!0,lr(o,d))};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}return!s&&!a?(dn(t)&&r.set(t,null),null):(dt(s)?s.forEach(u=>o[u]=null):lr(o,s),dn(t)&&r.set(t,o),o)}function zd(t,e){return!t||!Fd(e)?!1:(e=e.slice(2).replace(/Once$/,""),en(t,e[0].toLowerCase()+e.slice(1))||en(t,xa(e))||en(t,e))}function Tv(t){const{type:e,vnode:n,proxy:r,withProxy:i,propsOptions:[s],slots:o,attrs:a,emit:u,render:c,renderCache:d,props:l,data:f,setupState:h,ctx:g,inheritAttrs:p}=t,b=rd(t);let y,S;try{if(n.shapeFlag&4){const T=i||r,k=T;y=fs(c.call(k,T,d,l,h,f,g)),S=a}else{const T=e;y=fs(T.length>1?T(l,{attrs:a,slots:o,emit:u}):T(l,null)),S=e.props?a:gC(a)}}catch(T){Cu.length=0,Vd(T,t,1),y=je(Tr)}let E=y;if(S&&p!==!1){const T=Object.keys(S),{shapeFlag:k}=E;T.length&&k&7&&(s&&T.some(Xm)&&(S=_C(S,s)),E=xo(E,S,!1,!0))}return n.dirs&&(E=xo(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&Xu(E,n.transition),y=E,rd(b),y}const gC=t=>{let e;for(const n in t)(n==="class"||n==="style"||Fd(n))&&((e||(e={}))[n]=t[n]);return e},_C=(t,e)=>{const n={};for(const r in t)(!Xm(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function vC(t,e,n){const{props:r,children:i,component:s}=t,{props:o,children:a,patchFlag:u}=e,c=s.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return r?Av(r,o,c):!!o;if(u&8){const d=e.dynamicProps;for(let l=0;l<d.length;l++){const f=d[l];if(o[f]!==r[f]&&!zd(c,f))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:r===o?!1:r?o?Av(r,o,c):!0:!!o;return!1}function Av(t,e,n){const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!0;for(let i=0;i<r.length;i++){const s=r[i];if(e[s]!==t[s]&&!zd(n,s))return!0}return!1}function yC({vnode:t,parent:e},n){for(;e;){const r=e.subTree;if(r.suspense&&r.suspense.activeBranch===t&&(r.el=t.el),r===t)(t=e.vnode).el=n,e=e.parent;else break}}const ew=t=>t.__isSuspense;function bC(t,e){e&&e.pendingBranch?dt(t)?e.effects.push(...t):e.effects.push(t):MR(t)}const Qe=Symbol.for("v-fgt"),Sc=Symbol.for("v-txt"),Tr=Symbol.for("v-cmt"),Pf=Symbol.for("v-stc"),Cu=[];let hi=null;function ue(t=!1){Cu.push(hi=t?null:[])}function wC(){Cu.pop(),hi=Cu[Cu.length-1]||null}let Qu=1;function od(t,e=!1){Qu+=t,t<0&&hi&&e&&(hi.hasOnce=!0)}function tw(t){return t.dynamicChildren=Qu>0?hi||sl:null,wC(),Qu>0&&hi&&hi.push(t),t}function me(t,e,n,r,i,s){return tw(J(t,e,n,r,i,s,!0))}function tn(t,e,n,r,i){return tw(je(t,e,n,r,i,!0))}function Ju(t){return t?t.__v_isVNode===!0:!1}function ra(t,e){return t.type===e.type&&t.key===e.key}const nw=({key:t})=>t??null,If=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?Cn(t)||yn(t)||mt(t)?{i:dr,r:t,k:e,f:!!n}:t:null);function J(t,e=null,n=null,r=0,i=null,s=t===Qe?0:1,o=!1,a=!1){const u={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&nw(e),ref:e&&If(e),scopeId:bb,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:dr};return a?(mg(u,n),s&128&&t.normalize(u)):n&&(u.shapeFlag|=Cn(n)?8:16),Qu>0&&!o&&hi&&(u.patchFlag>0||s&6)&&u.patchFlag!==32&&hi.push(u),u}const je=SC;function SC(t,e=null,n=null,r=0,i=null,s=!1){if((!t||t===Db)&&(t=Tr),Ju(t)){const a=xo(t,e,!0);return n&&mg(a,n),Qu>0&&!s&&hi&&(a.shapeFlag&6?hi[hi.indexOf(t)]=a:hi.push(a)),a.patchFlag=-2,a}if(LC(t)&&(t=t.__vccOpts),e){e=TC(e);let{class:a,style:u}=e;a&&!Cn(a)&&(e.class=ot(a)),dn(u)&&(ag(u)&&!dt(u)&&(u=lr({},u)),e.style=Zm(u))}const o=Cn(t)?1:ew(t)?128:Sb(t)?64:dn(t)?4:mt(t)?2:0;return J(t,e,n,r,i,o,s,!0)}function TC(t){return t?ag(t)||zb(t)?lr({},t):t:null}function xo(t,e,n=!1,r=!1){const{props:i,ref:s,patchFlag:o,children:a,transition:u}=t,c=e?rw(i||{},e):i,d={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&nw(c),ref:e&&e.ref?n&&s?dt(s)?s.concat(If(e)):[s,If(e)]:If(e):s,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Qe?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:u,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&xo(t.ssContent),ssFallback:t.ssFallback&&xo(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return u&&r&&Xu(d,u.clone(d)),d}function Zu(t=" ",e=0){return je(Sc,null,t,e)}function _H(t,e){const n=je(Pf,null,t);return n.staticCount=e,n}function bt(t="",e=!1){return e?(ue(),tn(Tr,null,t)):je(Tr,null,t)}function fs(t){return t==null||typeof t=="boolean"?je(Tr):dt(t)?je(Qe,null,t.slice()):Ju(t)?po(t):je(Sc,null,String(t))}function po(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:xo(t)}function mg(t,e){let n=0;const{shapeFlag:r}=t;if(e==null)e=null;else if(dt(e))n=16;else if(typeof e=="object")if(r&65){const i=e.default;i&&(i._c&&(i._d=!1),mg(t,i()),i._c&&(i._d=!0));return}else{n=32;const i=e._;!i&&!zb(e)?e._ctx=dr:i===3&&dr&&(dr.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else mt(e)?(e={default:e,_ctx:dr},n=32):(e=String(e),r&64?(n=16,e=[Zu(e)]):n=8);t.children=e,t.shapeFlag|=n}function rw(...t){const e={};for(let n=0;n<t.length;n++){const r=t[n];for(const i in r)if(i==="class")e.class!==r.class&&(e.class=ot([e.class,r.class]));else if(i==="style")e.style=Zm([e.style,r.style]);else if(Fd(i)){const s=e[i],o=r[i];o&&s!==o&&!(dt(s)&&s.includes(o))&&(e[i]=s?[].concat(s,o):o)}else i!==""&&(e[i]=r[i])}return e}function ss(t,e,n,r=null){Gi(t,e,7,[n,r])}const AC=Vb();let EC=0;function kC(t,e,n){const r=t.type,i=(e?e.appContext:t.appContext)||AC,s={uid:EC++,vnode:t,type:r,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new K1(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(i.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:qb(r,i),emitsOptions:Zb(r,i),emit:null,emitted:null,propsDefaults:fn,inheritAttrs:r.inheritAttrs,ctx:fn,data:fn,props:fn,attrs:fn,slots:fn,refs:fn,setupState:fn,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=e?e.root:s,s.emit=pC.bind(null,s),t.ce&&t.ce(s),s}let Ar=null;const No=()=>Ar||dr;let ad,$p;{const t=Hd(),e=(n,r)=>{let i;return(i=t[n])||(i=t[n]=[]),i.push(r),s=>{i.length>1?i.forEach(o=>o(s)):i[0](s)}};ad=e("__VUE_INSTANCE_SETTERS__",n=>Ar=n),$p=e("__VUE_SSR_SETTERS__",n=>ec=n)}const Tc=t=>{const e=Ar;return ad(t),t.scope.on(),()=>{t.scope.off(),ad(e)}},Ev=()=>{Ar&&Ar.scope.off(),ad(null)};function iw(t){return t.vnode.shapeFlag&4}let ec=!1;function RC(t,e=!1,n=!1){e&&$p(e);const{props:r,children:i}=t.vnode,s=iw(t);eC(t,r,s,e),iC(t,i,n||e);const o=s?CC(t,e):void 0;return e&&$p(!1),o}function CC(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,GR);const{setup:r}=n;if(r){Qs();const i=t.setupContext=r.length>1?PC(t):null,s=Tc(t),o=vc(r,t,0,[t.props,i]),a=U1(o);if(Js(),s(),(a||t.sp)&&!ll(t)&&Pb(t),a){if(o.then(Ev,Ev),e)return o.then(u=>{kv(t,u)}).catch(u=>{Vd(u,t,0)});t.asyncDep=o}else kv(t,o)}else sw(t)}function kv(t,e,n){mt(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:dn(e)&&(t.setupState=hb(e)),sw(t)}function sw(t,e,n){const r=t.type;t.render||(t.render=r.render||ys);{const i=Tc(t);Qs();try{qR(t)}finally{Js(),i()}}}const xC={get(t,e){return Sr(t,"get",""),t[e]}};function PC(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,xC),slots:t.slots,emit:t.emit,expose:e}}function Gd(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(hb(lg(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Ru)return Ru[n](t)},has(e,n){return n in e||n in Ru}})):t.proxy}function IC(t,e=!0){return mt(t)?t.displayName||t.name:t.name||e&&t.__name}function LC(t){return mt(t)&&"__vccOpts"in t}const Ie=(t,e)=>xR(t,e,ec);function Ac(t,e,n){try{od(-1);const r=arguments.length;return r===2?dn(e)&&!dt(e)?Ju(e)?je(t,null,[e]):je(t,e):je(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Ju(n)&&(n=[n]),je(t,e,n))}finally{od(1)}}const OC="3.5.22";/**
* @vue/runtime-dom v3.5.22
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Hp;const Rv=typeof window<"u"&&window.trustedTypes;if(Rv)try{Hp=Rv.createPolicy("vue",{createHTML:t=>t})}catch{}const ow=Hp?t=>Hp.createHTML(t):t=>t,MC="http://www.w3.org/2000/svg",FC="http://www.w3.org/1998/Math/MathML",Ms=typeof document<"u"?document:null,Cv=Ms&&Ms.createElement("template"),DC={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const i=e==="svg"?Ms.createElementNS(MC,t):e==="mathml"?Ms.createElementNS(FC,t):n?Ms.createElement(t,{is:n}):Ms.createElement(t);return t==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:t=>Ms.createTextNode(t),createComment:t=>Ms.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Ms.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,i,s){const o=n?n.previousSibling:e.lastChild;if(i&&(i===s||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),n),!(i===s||!(i=i.nextSibling)););else{Cv.innerHTML=ow(r==="svg"?`<svg>${t}</svg>`:r==="mathml"?`<math>${t}</math>`:t);const a=Cv.content;if(r==="svg"||r==="mathml"){const u=a.firstChild;for(;u.firstChild;)a.appendChild(u.firstChild);a.removeChild(u)}e.insertBefore(a,n)}return[o?o.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},so="transition",eu="animation",tc=Symbol("_vtc"),aw={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},NC=lr({},Eb,aw),$C=t=>(t.displayName="Transition",t.props=NC,t),vH=$C((t,{slots:e})=>Ac(BR,HC(t),e)),Yo=(t,e=[])=>{dt(t)?t.forEach(n=>n(...e)):t&&t(...e)},xv=t=>t?dt(t)?t.some(e=>e.length>1):t.length>1:!1;function HC(t){const e={};for(const N in t)N in aw||(e[N]=t[N]);if(t.css===!1)return e;const{name:n="v",type:r,duration:i,enterFromClass:s=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:u=s,appearActiveClass:c=o,appearToClass:d=a,leaveFromClass:l=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=t,g=BC(i),p=g&&g[0],b=g&&g[1],{onBeforeEnter:y,onEnter:S,onEnterCancelled:E,onLeave:T,onLeaveCancelled:k,onBeforeAppear:M=y,onAppear:$=S,onAppearCancelled:H=E}=e,O=(N,P,z,Q)=>{N._enterCancelled=Q,Ko(N,P?d:a),Ko(N,P?c:o),z&&z()},F=(N,P)=>{N._isLeaving=!1,Ko(N,l),Ko(N,h),Ko(N,f),P&&P()},re=N=>(P,z)=>{const Q=N?$:S,B=()=>O(P,N,z);Yo(Q,[P,B]),Pv(()=>{Ko(P,N?u:s),Is(P,N?d:a),xv(Q)||Iv(P,r,p,B)})};return lr(e,{onBeforeEnter(N){Yo(y,[N]),Is(N,s),Is(N,o)},onBeforeAppear(N){Yo(M,[N]),Is(N,u),Is(N,c)},onEnter:re(!1),onAppear:re(!0),onLeave(N,P){N._isLeaving=!0;const z=()=>F(N,P);Is(N,l),N._enterCancelled?(Is(N,f),Mv(N)):(Mv(N),Is(N,f)),Pv(()=>{N._isLeaving&&(Ko(N,l),Is(N,h),xv(T)||Iv(N,r,b,z))}),Yo(T,[N,z])},onEnterCancelled(N){O(N,!1,void 0,!0),Yo(E,[N])},onAppearCancelled(N){O(N,!0,void 0,!0),Yo(H,[N])},onLeaveCancelled(N){F(N),Yo(k,[N])}})}function BC(t){if(t==null)return null;if(dn(t))return[Bh(t.enter),Bh(t.leave)];{const e=Bh(t);return[e,e]}}function Bh(t){return Kk(t)}function Is(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[tc]||(t[tc]=new Set)).add(e)}function Ko(t,e){e.split(/\s+/).forEach(r=>r&&t.classList.remove(r));const n=t[tc];n&&(n.delete(e),n.size||(t[tc]=void 0))}function Pv(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let VC=0;function Iv(t,e,n,r){const i=t._endId=++VC,s=()=>{i===t._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:o,timeout:a,propCount:u}=UC(t,e);if(!o)return r();const c=o+"end";let d=0;const l=()=>{t.removeEventListener(c,f),s()},f=h=>{h.target===t&&++d>=u&&l()};setTimeout(()=>{d<u&&l()},a+1),t.addEventListener(c,f)}function UC(t,e){const n=window.getComputedStyle(t),r=g=>(n[g]||"").split(", "),i=r(`${so}Delay`),s=r(`${so}Duration`),o=Lv(i,s),a=r(`${eu}Delay`),u=r(`${eu}Duration`),c=Lv(a,u);let d=null,l=0,f=0;e===so?o>0&&(d=so,l=o,f=s.length):e===eu?c>0&&(d=eu,l=c,f=u.length):(l=Math.max(o,c),d=l>0?o>c?so:eu:null,f=d?d===so?s.length:u.length:0);const h=d===so&&/\b(?:transform|all)(?:,|$)/.test(r(`${so}Property`).toString());return{type:d,timeout:l,propCount:f,hasTransform:h}}function Lv(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,r)=>Ov(n)+Ov(t[r])))}function Ov(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function Mv(t){return(t?t.ownerDocument:document).body.offsetHeight}function jC(t,e,n){const r=t[tc];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const ld=Symbol("_vod"),lw=Symbol("_vsh"),WC={name:"show",beforeMount(t,{value:e},{transition:n}){t[ld]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):tu(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:r}){!e!=!n&&(r?e?(r.beforeEnter(t),tu(t,!0),r.enter(t)):r.leave(t,()=>{tu(t,!1)}):tu(t,e))},beforeUnmount(t,{value:e}){tu(t,e)}};function tu(t,e){t.style.display=e?t[ld]:"none",t[lw]=!e}const zC=Symbol(""),GC=/(?:^|;)\s*display\s*:/;function qC(t,e,n){const r=t.style,i=Cn(n);let s=!1;if(n&&!i){if(e)if(Cn(e))for(const o of e.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&Lf(r,a,"")}else for(const o in e)n[o]==null&&Lf(r,o,"");for(const o in n)o==="display"&&(s=!0),Lf(r,o,n[o])}else if(i){if(e!==n){const o=r[zC];o&&(n+=";"+o),r.cssText=n,s=GC.test(n)}}else e&&t.removeAttribute("style");ld in t&&(t[ld]=s?r.display:"",t[lw]&&(r.display="none"))}const Fv=/\s*!important$/;function Lf(t,e,n){if(dt(n))n.forEach(r=>Lf(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=YC(t,e);Fv.test(n)?t.setProperty(xa(r),n.replace(Fv,""),"important"):t[r]=n}}const Dv=["Webkit","Moz","ms"],Vh={};function YC(t,e){const n=Vh[e];if(n)return n;let r=Ni(e);if(r!=="filter"&&r in t)return Vh[e]=r;r=$d(r);for(let i=0;i<Dv.length;i++){const s=Dv[i]+r;if(s in t)return Vh[e]=s}return e}const Nv="http://www.w3.org/1999/xlink";function $v(t,e,n,r,i,s=tR(e)){r&&e.startsWith("xlink:")?n==null?t.removeAttributeNS(Nv,e.slice(6,e.length)):t.setAttributeNS(Nv,e,n):n==null||s&&!G1(n)?t.removeAttribute(e):t.setAttribute(e,s?"":no(n)?String(n):n)}function Hv(t,e,n,r,i){if(e==="innerHTML"||e==="textContent"){n!=null&&(t[e]=e==="innerHTML"?ow(n):n);return}const s=t.tagName;if(e==="value"&&s!=="PROGRESS"&&!s.includes("-")){const a=s==="OPTION"?t.getAttribute("value")||"":t.value,u=n==null?t.type==="checkbox"?"on":"":String(n);(a!==u||!("_value"in t))&&(t.value=u),n==null&&t.removeAttribute(e),t._value=n;return}let o=!1;if(n===""||n==null){const a=typeof t[e];a==="boolean"?n=G1(n):n==null&&a==="string"?(n="",o=!0):a==="number"&&(n=0,o=!0)}try{t[e]=n}catch{}o&&t.removeAttribute(i||e)}function Ka(t,e,n,r){t.addEventListener(e,n,r)}function KC(t,e,n,r){t.removeEventListener(e,n,r)}const Bv=Symbol("_vei");function XC(t,e,n,r,i=null){const s=t[Bv]||(t[Bv]={}),o=s[e];if(r&&o)o.value=r;else{const[a,u]=QC(e);if(r){const c=s[e]=ex(r,i);Ka(t,a,c,u)}else o&&(KC(t,a,o,u),s[e]=void 0)}}const Vv=/(?:Once|Passive|Capture)$/;function QC(t){let e;if(Vv.test(t)){e={};let r;for(;r=t.match(Vv);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):xa(t.slice(2)),e]}let Uh=0;const JC=Promise.resolve(),ZC=()=>Uh||(JC.then(()=>Uh=0),Uh=Date.now());function ex(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Gi(tx(r,n.value),e,5,[r])};return n.value=t,n.attached=ZC(),n}function tx(t,e){if(dt(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(r=>i=>!i._stopped&&r&&r(i))}else return e}const Uv=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,nx=(t,e,n,r,i,s)=>{const o=i==="svg";e==="class"?jC(t,r,o):e==="style"?qC(t,n,r):Fd(e)?Xm(e)||XC(t,e,n,r,s):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):rx(t,e,r,o))?(Hv(t,e,r),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&$v(t,e,r,o,s,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!Cn(r))?Hv(t,Ni(e),r,s,e):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),$v(t,e,r,o))};function rx(t,e,n,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in t&&Uv(e)&&mt(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const i=t.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Uv(e)&&Cn(n)?!1:e in t}const jv=t=>{const e=t.props["onUpdate:modelValue"]||!1;return dt(e)?n=>Rf(e,n):e};function ix(t){t.target.composing=!0}function Wv(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const jh=Symbol("_assign"),yH={created(t,{modifiers:{lazy:e,trim:n,number:r}},i){t[jh]=jv(i);const s=r||i.props&&i.props.type==="number";Ka(t,e?"change":"input",o=>{if(o.target.composing)return;let a=t.value;n&&(a=a.trim()),s&&(a=Rp(a)),t[jh](a)}),n&&Ka(t,"change",()=>{t.value=t.value.trim()}),e||(Ka(t,"compositionstart",ix),Ka(t,"compositionend",Wv),Ka(t,"change",Wv))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:r,trim:i,number:s}},o){if(t[jh]=jv(o),t.composing)return;const a=(s||t.type==="number")&&!/^0\d/.test(t.value)?Rp(t.value):t.value,u=e??"";a!==u&&(document.activeElement===t&&t.type!=="range"&&(r&&e===n||i&&t.value.trim()===u)||(t.value=u))}},sx=["ctrl","shift","alt","meta"],ox={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>sx.some(n=>t[`${n}Key`]&&!e.includes(n))},zv=(t,e)=>{const n=t._withMods||(t._withMods={}),r=e.join(".");return n[r]||(n[r]=((i,...s)=>{for(let o=0;o<e.length;o++){const a=ox[e[o]];if(a&&a(i,e))return}return t(i,...s)}))},ax=lr({patchProp:nx},DC);let Gv;function lx(){return Gv||(Gv=oC(ax))}const ux=((...t)=>{const e=lx().createApp(...t),{mount:n}=e;return e.mount=r=>{const i=fx(r);if(!i)return;const s=e._component;!mt(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,cx(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e});function cx(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function fx(t){return Cn(t)?document.querySelector(t):t}/*!
* vue-i18n v10.0.8
* (c) 2025 kazuya kawaguchi
* Released under the MIT License.
*/const dx="10.0.8";function hx(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Um().__INTLIFY_PROD_DEVTOOLS__=!1)}const Hi={UNEXPECTED_RETURN_TYPE:ck,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function qi(t,...e){return Od(t,null,void 0)}const Bp=Mo("__translateVNode"),Vp=Mo("__datetimeParts"),Up=Mo("__numberParts"),px=Mo("__setPluralRules"),mx=Mo("__injectWithOption"),jp=Mo("__dispose");function nc(t){if(!qt(t)||vs(t))return t;for(const e in t)if(ji(t,e))if(!e.includes("."))qt(t[e])&&nc(t[e]);else{const n=e.split("."),r=n.length-1;let i=t,s=!1;for(let o=0;o<r;o++){if(n[o]==="__proto__")throw new Error(`unsafe key: ${n[o]}`);if(n[o]in i||(i[n[o]]=an()),!qt(i[n[o]])){s=!0;break}i=i[n[o]]}if(s||(vs(i)?x1.includes(n[r])||delete t[e]:(i[n[r]]=t[e],delete t[e])),!vs(i)){const o=i[n[r]];qt(o)&&nc(o)}}return t}function uw(t,e){const{messages:n,__i18n:r,messageResolver:i,flatJson:s}=e,o=Bt(n)?n:Jn(r)?an():{[t]:an()};if(Jn(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:u,resource:c}=a;u?(o[u]=o[u]||an(),kf(c,o[u])):kf(c,o)}else nt(a)&&kf(JSON.parse(a),o)}),i==null&&s)for(const a in o)ji(o,a)&&nc(o[a]);return o}function cw(t){return t.type}function gx(t,e,n){let r=qt(e.messages)?e.messages:an();"__i18nGlobal"in n&&(r=uw(t.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);i.length&&i.forEach(s=>{t.mergeLocaleMessage(s,r[s])});{if(qt(e.datetimeFormats)){const s=Object.keys(e.datetimeFormats);s.length&&s.forEach(o=>{t.mergeDateTimeFormat(o,e.datetimeFormats[o])})}if(qt(e.numberFormats)){const s=Object.keys(e.numberFormats);s.length&&s.forEach(o=>{t.mergeNumberFormat(o,e.numberFormats[o])})}}}function qv(t){return je(Sc,null,t,0)}const Yv="__INTLIFY_META__",Kv=()=>[],_x=()=>!1;let Xv=0;function Qv(t){return((e,n,r,i)=>t(n,r,No()||void 0,i))}const vx=()=>{const t=No();let e=null;return t&&(e=cw(t)[Yv])?{[Yv]:e}:null};function fw(t={}){const{__root:e,__injectWithOption:n}=t,r=e===void 0,i=t.flatJson,s=Xf?j:ba;let o=kn(t.inheritLocale)?t.inheritLocale:!0;const a=s(e&&o?e.locale.value:nt(t.locale)?t.locale:Jf),u=s(e&&o?e.fallbackLocale.value:nt(t.fallbackLocale)||Jn(t.fallbackLocale)||Bt(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:a.value),c=s(uw(a.value,t)),d=s(Bt(t.datetimeFormats)?t.datetimeFormats:{[a.value]:{}}),l=s(Bt(t.numberFormats)?t.numberFormats:{[a.value]:{}});let f=e?e.missingWarn:kn(t.missingWarn)||Qf(t.missingWarn)?t.missingWarn:!0,h=e?e.fallbackWarn:kn(t.fallbackWarn)||Qf(t.fallbackWarn)?t.fallbackWarn:!0,g=e?e.fallbackRoot:kn(t.fallbackRoot)?t.fallbackRoot:!0,p=!!t.fallbackFormat,b=An(t.missing)?t.missing:null,y=An(t.missing)?Qv(t.missing):null,S=An(t.postTranslation)?t.postTranslation:null,E=e?e.warnHtmlMessage:kn(t.warnHtmlMessage)?t.warnHtmlMessage:!0,T=!!t.escapeParameter;const k=e?e.modifiers:Bt(t.modifiers)?t.modifiers:{};let M=t.pluralRules||e&&e.pluralRules,$;$=(()=>{r&&J_(null);const ne={version:dx,locale:a.value,fallbackLocale:u.value,messages:c.value,modifiers:k,pluralRules:M,missing:y===null?void 0:y,missingWarn:f,fallbackWarn:h,fallbackFormat:p,unresolving:!0,postTranslation:S===null?void 0:S,warnHtmlMessage:E,escapeParameter:T,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};ne.datetimeFormats=d.value,ne.numberFormats=l.value,ne.__datetimeFormatters=Bt($)?$.__datetimeFormatters:void 0,ne.__numberFormatters=Bt($)?$.__numberFormatters:void 0;const ce=Pk(ne);return r&&J_(ce),ce})(),Jl($,a.value,u.value);function O(){return[a.value,u.value,c.value,d.value,l.value]}const F=Ie({get:()=>a.value,set:ne=>{a.value=ne,$.locale=a.value}}),re=Ie({get:()=>u.value,set:ne=>{u.value=ne,$.fallbackLocale=u.value,Jl($,a.value,ne)}}),N=Ie(()=>c.value),P=Ie(()=>d.value),z=Ie(()=>l.value);function Q(){return An(S)?S:null}function B(ne){S=ne,$.postTranslation=ne}function G(){return b}function ie(ne){ne!==null&&(y=Qv(ne)),b=ne,$.missing=y}const ae=(ne,ce,R,_,w,U)=>{O();let oe;try{__INTLIFY_PROD_DEVTOOLS__,r||($.fallbackContext=e?xk():void 0),oe=ne($)}finally{__INTLIFY_PROD_DEVTOOLS__,r||($.fallbackContext=void 0)}if(R!=="translate exists"&&qn(oe)&&oe===Md||R==="translate exists"&&!oe){const[Ae,be]=ce();return e&&g?_(e):w(Ae)}else{if(U(oe))return oe;throw qi(Hi.UNEXPECTED_RETURN_TYPE)}};function X(...ne){return ae(ce=>Reflect.apply(ov,null,[ce,...ne]),()=>kp(...ne),"translate",ce=>Reflect.apply(ce.t,ce,[...ne]),ce=>ce,ce=>nt(ce))}function pe(...ne){const[ce,R,_]=ne;if(_&&!qt(_))throw qi(Hi.INVALID_ARGUMENT);return X(ce,R,ar({resolvedMessage:!0},_||{}))}function Ee(...ne){return ae(ce=>Reflect.apply(ev,null,[ce,...ne]),()=>Ap(...ne),"datetime format",ce=>Reflect.apply(ce.d,ce,[...ne]),()=>X_,ce=>nt(ce))}function ke(...ne){return ae(ce=>Reflect.apply(nv,null,[ce,...ne]),()=>Ep(...ne),"number format",ce=>Reflect.apply(ce.n,ce,[...ne]),()=>X_,ce=>nt(ce))}function Re(ne){return ne.map(ce=>nt(ce)||qn(ce)||kn(ce)?qv(String(ce)):ce)}const we={normalize:Re,interpolate:ne=>ne,type:"vnode"};function se(...ne){return ae(ce=>{let R;const _=ce;try{_.processor=we,R=Reflect.apply(ov,null,[_,...ne])}finally{_.processor=null}return R},()=>kp(...ne),"translate",ce=>ce[Bp](...ne),ce=>[qv(ce)],ce=>Jn(ce))}function le(...ne){return ae(ce=>Reflect.apply(nv,null,[ce,...ne]),()=>Ep(...ne),"number format",ce=>ce[Up](...ne),Kv,ce=>nt(ce)||Jn(ce))}function he(...ne){return ae(ce=>Reflect.apply(ev,null,[ce,...ne]),()=>Ap(...ne),"datetime format",ce=>ce[Vp](...ne),Kv,ce=>nt(ce)||Jn(ce))}function Te(ne){M=ne,$.pluralRules=M}function Le(ne,ce){return ae(()=>{if(!ne)return!1;const R=nt(ce)?ce:a.value,_=q(R),w=$.messageResolver(_,ne);return vs(w)||Ri(w)||nt(w)},()=>[ne],"translate exists",R=>Reflect.apply(R.te,R,[ne,ce]),_x,R=>kn(R))}function W(ne){let ce=null;const R=P1($,u.value,a.value);for(let _=0;_<R.length;_++){const w=c.value[R[_]]||{},U=$.messageResolver(w,ne);if(U!=null){ce=U;break}}return ce}function L(ne){const ce=W(ne);return ce??(e?e.tm(ne)||{}:{})}function q(ne){return c.value[ne]||{}}function ee(ne,ce){if(i){const R={[ne]:ce};for(const _ in R)ji(R,_)&&nc(R[_]);ce=R[ne]}c.value[ne]=ce,$.messages=c.value}function K(ne,ce){c.value[ne]=c.value[ne]||{};const R={[ne]:ce};if(i)for(const _ in R)ji(R,_)&&nc(R[_]);ce=R[ne],kf(ce,c.value[ne]),$.messages=c.value}function x(ne){return d.value[ne]||{}}function V(ne,ce){d.value[ne]=ce,$.datetimeFormats=d.value,tv($,ne,ce)}function C(ne,ce){d.value[ne]=ar(d.value[ne]||{},ce),$.datetimeFormats=d.value,tv($,ne,ce)}function D(ne){return l.value[ne]||{}}function Z(ne,ce){l.value[ne]=ce,$.numberFormats=l.value,rv($,ne,ce)}function fe(ne,ce){l.value[ne]=ar(l.value[ne]||{},ce),$.numberFormats=l.value,rv($,ne,ce)}Xv++,e&&Xf&&(Ve(e.locale,ne=>{o&&(a.value=ne,$.locale=ne,Jl($,a.value,u.value))}),Ve(e.fallbackLocale,ne=>{o&&(u.value=ne,$.fallbackLocale=ne,Jl($,a.value,u.value))}));const de={id:Xv,locale:F,fallbackLocale:re,get inheritLocale(){return o},set inheritLocale(ne){o=ne,ne&&e&&(a.value=e.locale.value,u.value=e.fallbackLocale.value,Jl($,a.value,u.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:N,get modifiers(){return k},get pluralRules(){return M||{}},get isGlobal(){return r},get missingWarn(){return f},set missingWarn(ne){f=ne,$.missingWarn=f},get fallbackWarn(){return h},set fallbackWarn(ne){h=ne,$.fallbackWarn=h},get fallbackRoot(){return g},set fallbackRoot(ne){g=ne},get fallbackFormat(){return p},set fallbackFormat(ne){p=ne,$.fallbackFormat=p},get warnHtmlMessage(){return E},set warnHtmlMessage(ne){E=ne,$.warnHtmlMessage=ne},get escapeParameter(){return T},set escapeParameter(ne){T=ne,$.escapeParameter=ne},t:X,getLocaleMessage:q,setLocaleMessage:ee,mergeLocaleMessage:K,getPostTranslationHandler:Q,setPostTranslationHandler:B,getMissingHandler:G,setMissingHandler:ie,[px]:Te};return de.datetimeFormats=P,de.numberFormats=z,de.rt=pe,de.te=Le,de.tm=L,de.d=Ee,de.n=ke,de.getDateTimeFormat=x,de.setDateTimeFormat=V,de.mergeDateTimeFormat=C,de.getNumberFormat=D,de.setNumberFormat=Z,de.mergeNumberFormat=fe,de[mx]=n,de[Bp]=se,de[Vp]=he,de[Up]=le,de}const gg={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function yx({slots:t},e){return e.length===1&&e[0]==="default"?(t.default?t.default():[]).reduce((r,i)=>[...r,...i.type===Qe?i.children:[i]],[]):e.reduce((n,r)=>{const i=t[r];return i&&(n[r]=i()),n},an())}function dw(){return Qe}const bx=Ss({name:"i18n-t",props:ar({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>qn(t)||!isNaN(t)}},gg),setup(t,e){const{slots:n,attrs:r}=e,i=t.i18n||_g({useScope:t.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(l=>l!=="_"),o=an();t.locale&&(o.locale=t.locale),t.plural!==void 0&&(o.plural=nt(t.plural)?+t.plural:t.plural);const a=yx(e,s),u=i[Bp](t.keypath,a,o),c=ar(an(),r),d=nt(t.tag)||qt(t.tag)?t.tag:dw();return Ac(d,c,u)}}}),Jv=bx;function wx(t){return Jn(t)&&!nt(t[0])}function hw(t,e,n,r){const{slots:i,attrs:s}=e;return()=>{const o={part:!0};let a=an();t.locale&&(o.locale=t.locale),nt(t.format)?o.key=t.format:qt(t.format)&&(nt(t.format.key)&&(o.key=t.format.key),a=Object.keys(t.format).reduce((f,h)=>n.includes(h)?ar(an(),f,{[h]:t.format[h]}):f,an()));const u=r(t.value,o,a);let c=[o.key];Jn(u)?c=u.map((f,h)=>{const g=i[f.type],p=g?g({[f.type]:f.value,index:h,parts:u}):[f.value];return wx(p)&&(p[0].key=`${f.type}-${h}`),p}):nt(u)&&(c=[u]);const d=ar(an(),s),l=nt(t.tag)||qt(t.tag)?t.tag:dw();return Ac(l,d,c)}}const Sx=Ss({name:"i18n-n",props:ar({value:{type:Number,required:!0},format:{type:[String,Object]}},gg),setup(t,e){const n=t.i18n||_g({useScope:t.scope,__useComponent:!0});return hw(t,e,N1,(...r)=>n[Up](...r))}}),Zv=Sx,Tx=Ss({name:"i18n-d",props:ar({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},gg),setup(t,e){const n=t.i18n||_g({useScope:t.scope,__useComponent:!0});return hw(t,e,D1,(...r)=>n[Vp](...r))}}),e0=Tx;function Ax(t,e){const n=t;if(t.mode==="composition")return n.__getInstance(e)||t.global;{const r=n.__getInstance(e);return r!=null?r.__composer:t.global.__composer}}function Ex(t){const e=o=>{const{instance:a,value:u}=o;if(!a||!a.$)throw qi(Hi.UNEXPECTED_ERROR);const c=Ax(t,a.$),d=t0(u);return[Reflect.apply(c.t,c,[...n0(d)]),c]};return{created:(o,a)=>{const[u,c]=e(a);Xf&&t.global===c&&(o.__i18nWatcher=Ve(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),o.__composer=c,o.textContent=u},unmounted:o=>{Xf&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:a})=>{if(o.__composer){const u=o.__composer,c=t0(a);o.textContent=Reflect.apply(u.t,u,[...n0(c)])}},getSSRProps:o=>{const[a]=e(o);return{textContent:a}}}}function t0(t){if(nt(t))return{path:t};if(Bt(t)){if(!("path"in t))throw qi(Hi.REQUIRED_VALUE,"path");return t}else throw qi(Hi.INVALID_VALUE)}function n0(t){const{path:e,locale:n,args:r,choice:i,plural:s}=t,o={},a=r||{};return nt(n)&&(o.locale=n),qn(i)&&(o.plural=i),qn(s)&&(o.plural=s),[e,a,o]}function kx(t,e,...n){const r=Bt(n[0])?n[0]:{};(kn(r.globalInstall)?r.globalInstall:!0)&&([Jv.name,"I18nT"].forEach(s=>t.component(s,Jv)),[Zv.name,"I18nN"].forEach(s=>t.component(s,Zv)),[e0.name,"I18nD"].forEach(s=>t.component(s,e0))),t.directive("t",Ex(e))}const Rx=Mo("global-vue-i18n");function Cx(t={},e){const n=kn(t.globalInjection)?t.globalInjection:!0,r=new Map,[i,s]=xx(t),o=Mo("");function a(l){return r.get(l)||null}function u(l,f){r.set(l,f)}function c(l){r.delete(l)}const d={get mode(){return"composition"},async install(l,...f){if(l.__VUE_I18N_SYMBOL__=o,l.provide(l.__VUE_I18N_SYMBOL__,d),Bt(f[0])){const p=f[0];d.__composerExtend=p.__composerExtend,d.__vueI18nExtend=p.__vueI18nExtend}let h=null;n&&(h=Nx(l,d.global)),kx(l,d,...f);const g=l.unmount;l.unmount=()=>{h&&h(),d.dispose(),g()}},get global(){return s},dispose(){i.stop()},__instances:r,__getInstance:a,__setInstance:u,__deleteInstance:c};return d}function _g(t={}){const e=No();if(e==null)throw qi(Hi.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw qi(Hi.NOT_INSTALLED);const n=Px(e),r=Lx(n),i=cw(e),s=Ix(t,i);if(s==="global")return gx(r,t,i),r;if(s==="parent"){let u=Ox(n,e,t.__useComponent);return u==null&&(u=r),u}const o=n;let a=o.__getInstance(e);if(a==null){const u=ar({},t);"__i18n"in i&&(u.__i18n=i.__i18n),r&&(u.__root=r),a=fw(u),o.__composerExtend&&(a[jp]=o.__composerExtend(a)),Fx(o,e,a),o.__setInstance(e,a)}return a}function xx(t,e,n){const r=eg(),i=r.run(()=>fw(t));if(i==null)throw qi(Hi.UNEXPECTED_ERROR);return[r,i]}function Px(t){const e=Kr(t.isCE?Rx:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw qi(t.isCE?Hi.NOT_INSTALLED_WITH_PROVIDE:Hi.UNEXPECTED_ERROR);return e}function Ix(t,e){return Ld(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function Lx(t){return t.mode==="composition"?t.global:t.global.__composer}function Ox(t,e,n=!1){let r=null;const i=e.root;let s=Mx(e,n);for(;s!=null;){const o=t;if(t.mode==="composition"&&(r=o.__getInstance(s)),r!=null||i===s)break;s=s.parent}return r}function Mx(t,e=!1){return t==null?null:e&&t.vnode.ctx||t.parent}function Fx(t,e,n){kt(()=>{},e),Vt(()=>{const r=n;t.__deleteInstance(e);const i=r[jp];i&&(i(),delete r[jp])},e)}const Dx=["locale","fallbackLocale","availableLocales"],r0=["t","rt","d","n","tm","te"];function Nx(t,e){const n=Object.create(null);return Dx.forEach(i=>{const s=Object.getOwnPropertyDescriptor(e,i);if(!s)throw qi(Hi.UNEXPECTED_ERROR);const o=yn(s.value)?{get(){return s.value.value},set(a){s.value.value=a}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,i,o)}),t.config.globalProperties.$i18n=n,r0.forEach(i=>{const s=Object.getOwnPropertyDescriptor(e,i);if(!s||!s.value)throw qi(Hi.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${i}`,s)}),()=>{delete t.config.globalProperties.$i18n,r0.forEach(i=>{delete t.config.globalProperties[`$${i}`]})}}hx();Ak(sk);Ek(wk);kk(P1);if(__INTLIFY_PROD_DEVTOOLS__){const t=Um();t.__INTLIFY__=!0,ok(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const $x=Object.fromEntries(Object.entries(Object.assign({})).map(([t,e])=>{const n=t.endsWith(".yaml");return[t.slice(14,n?-5:-4),e.default]})),Hx=({app:t})=>{const e=Cx({locale:"en",messages:$x});t.use(e)},Bx=Object.freeze(Object.defineProperty({__proto__:null,install:Hx},Symbol.toStringTag,{value:"Module"}));/*!
* pinia v2.3.1
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/let pw;const qd=t=>pw=t,mw=Symbol();function Wp(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var xu;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(xu||(xu={}));function Vx(){const t=eg(!0),e=t.run(()=>j({}));let n=[],r=[];const i=lg({install(s){qd(i),i._a=s,s.provide(mw,i),s.config.globalProperties.$pinia=i,r.forEach(o=>n.push(o)),r=[]},use(s){return this._a?n.push(s):r.push(s),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return i}const gw=()=>{};function i0(t,e,n,r=gw){t.push(e);const i=()=>{const s=t.indexOf(e);s>-1&&(t.splice(s,1),r())};return!n&&X1()&&nR(i),i}function Va(t,...e){t.slice().forEach(n=>{n(...e)})}const Ux=t=>t(),s0=Symbol(),Wh=Symbol();function zp(t,e){t instanceof Map&&e instanceof Map?e.forEach((n,r)=>t.set(r,n)):t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const n in e){if(!e.hasOwnProperty(n))continue;const r=e[n],i=t[n];Wp(i)&&Wp(r)&&t.hasOwnProperty(n)&&!yn(r)&&!Ys(r)?t[n]=zp(i,r):t[n]=r}return t}const jx=Symbol();function Wx(t){return!Wp(t)||!t.hasOwnProperty(jx)}const{assign:co}=Object;function zx(t){return!!(yn(t)&&t.effect)}function Gx(t,e,n,r){const{state:i,actions:s,getters:o}=e,a=n.state.value[t];let u;function c(){a||(n.state.value[t]=i?i():{});const d=pb(n.state.value[t]);return co(d,s,Object.keys(o||{}).reduce((l,f)=>(l[f]=lg(Ie(()=>{qd(n);const h=n._s.get(t);return o[f].call(h,h)})),l),{}))}return u=_w(t,c,e,n,r,!0),u}function _w(t,e,n={},r,i,s){let o;const a=co({actions:{}},n),u={deep:!0};let c,d,l=[],f=[],h;const g=r.state.value[t];!s&&!g&&(r.state.value[t]={}),j({});let p;function b(H){let O;c=d=!1,typeof H=="function"?(H(r.state.value[t]),O={type:xu.patchFunction,storeId:t,events:h}):(zp(r.state.value[t],H),O={type:xu.patchObject,payload:H,storeId:t,events:h});const F=p=Symbol();Mt().then(()=>{p===F&&(c=!0)}),d=!0,Va(l,O,r.state.value[t])}const y=s?function(){const{state:O}=n,F=O?O():{};this.$patch(re=>{co(re,F)})}:gw;function S(){o.stop(),l=[],f=[],r._s.delete(t)}const E=(H,O="")=>{if(s0 in H)return H[Wh]=O,H;const F=function(){qd(r);const re=Array.from(arguments),N=[],P=[];function z(G){N.push(G)}function Q(G){P.push(G)}Va(f,{args:re,name:F[Wh],store:k,after:z,onError:Q});let B;try{B=H.apply(this&&this.$id===t?this:k,re)}catch(G){throw Va(P,G),G}return B instanceof Promise?B.then(G=>(Va(N,G),G)).catch(G=>(Va(P,G),Promise.reject(G))):(Va(N,B),B)};return F[s0]=!0,F[Wh]=O,F},T={_p:r,$id:t,$onAction:i0.bind(null,f),$patch:b,$reset:y,$subscribe(H,O={}){const F=i0(l,H,O.detached,()=>re()),re=o.run(()=>Ve(()=>r.state.value[t],N=>{(O.flush==="sync"?d:c)&&H({storeId:t,type:xu.direct,events:h},N)},co({},u,O)));return F},$dispose:S},k=Pa(T);r._s.set(t,k);const $=(r._a&&r._a.runWithContext||Ux)(()=>r._e.run(()=>(o=eg()).run(()=>e({action:E}))));for(const H in $){const O=$[H];if(yn(O)&&!zx(O)||Ys(O))s||(g&&Wx(O)&&(yn(O)?O.value=g[H]:zp(O,g[H])),r.state.value[t][H]=O);else if(typeof O=="function"){const F=E(O,H);$[H]=F,a.actions[H]=O}}return co(k,$),co(Ht(k),$),Object.defineProperty(k,"$state",{get:()=>r.state.value[t],set:H=>{b(O=>{co(O,H)})}}),r._p.forEach(H=>{co(k,o.run(()=>H({store:k,app:r._a,pinia:r,options:a})))}),g&&s&&n.hydrate&&n.hydrate(k.$state,g),c=!0,d=!0,k}/*! #__NO_SIDE_EFFECTS__ */function Ec(t,e,n){let r,i;const s=typeof e=="function";typeof t=="string"?(r=t,i=s?n:e):(i=t,r=t.id);function o(a,u){const c=Ub();return a=a||(c?Kr(mw,null):null),a&&qd(a),a=pw,a._s.has(r)||(s?_w(r,e,i,a):Gx(r,i,a)),a._s.get(r)}return o.$id=r,o}function vw(t){{const e=Ht(t),n={};for(const r in e){const i=e[r];i.effect?n[r]=Ie({get:()=>t[r],set(s){t[r]=s}}):(yn(i)||Ys(i))&&(n[r]=RR(t,r))}return n}}const qx=({isClient:t,initialState:e,app:n})=>{const r=Vx();n.use(r),t?r.state.value=e.pinia||{}:e.pinia=r.state.value},Yx=Object.freeze(Object.defineProperty({__proto__:null,install:qx},Symbol.toStringTag,{value:"Module"}));/*!
* vue-router v4.6.3
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/const Xa=typeof document<"u";function yw(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Kx(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&yw(t.default)}const Jt=Object.assign;function zh(t,e){const n={};for(const r in e){const i=e[r];n[r]=Yi(i)?i.map(t):t(i)}return n}const Pu=()=>{},Yi=Array.isArray;function o0(t,e){const n={};for(const r in t)n[r]=r in e?e[r]:t[r];return n}const bw=/#/g,Xx=/&/g,Qx=/\//g,Jx=/=/g,Zx=/\?/g,ww=/\+/g,e2=/%5B/g,t2=/%5D/g,Sw=/%5E/g,n2=/%60/g,Tw=/%7B/g,r2=/%7C/g,Aw=/%7D/g,i2=/%20/g;function vg(t){return t==null?"":encodeURI(""+t).replace(r2,"|").replace(e2,"[").replace(t2,"]")}function s2(t){return vg(t).replace(Tw,"{").replace(Aw,"}").replace(Sw,"^")}function Gp(t){return vg(t).replace(ww,"%2B").replace(i2,"+").replace(bw,"%23").replace(Xx,"%26").replace(n2,"`").replace(Tw,"{").replace(Aw,"}").replace(Sw,"^")}function o2(t){return Gp(t).replace(Jx,"%3D")}function a2(t){return vg(t).replace(bw,"%23").replace(Zx,"%3F")}function l2(t){return a2(t).replace(Qx,"%2F")}function rc(t){if(t==null)return null;try{return decodeURIComponent(""+t)}catch{}return""+t}const u2=/\/$/,c2=t=>t.replace(u2,"");function Gh(t,e,n="/"){let r,i={},s="",o="";const a=e.indexOf("#");let u=e.indexOf("?");return u=a>=0&&u>a?-1:u,u>=0&&(r=e.slice(0,u),s=e.slice(u,a>0?a:e.length),i=t(s.slice(1))),a>=0&&(r=r||e.slice(0,a),o=e.slice(a,e.length)),r=p2(r??e,n),{fullPath:r+s+o,path:r,query:i,hash:rc(o)}}function f2(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function a0(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function d2(t,e,n){const r=e.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&yl(e.matched[r],n.matched[i])&&Ew(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function yl(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function Ew(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!h2(t[n],e[n]))return!1;return!0}function h2(t,e){return Yi(t)?l0(t,e):Yi(e)?l0(e,t):t===e}function l0(t,e){return Yi(e)?t.length===e.length&&t.every((n,r)=>n===e[r]):t.length===1&&t[0]===e}function p2(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),r=t.split("/"),i=r[r.length-1];(i===".."||i===".")&&r.push("");let s=n.length-1,o,a;for(o=0;o<r.length;o++)if(a=r[o],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(o).join("/")}const oo={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let qp=(function(t){return t.pop="pop",t.push="push",t})({}),qh=(function(t){return t.back="back",t.forward="forward",t.unknown="",t})({});function m2(t){if(!t)if(Xa){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),c2(t)}const g2=/^[^#]+#/;function _2(t,e){return t.replace(g2,"#")+e}function v2(t,e){const n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{behavior:e.behavior,left:r.left-n.left-(e.left||0),top:r.top-n.top-(e.top||0)}}const Yd=()=>({left:window.scrollX,top:window.scrollY});function y2(t){let e;if("el"in t){const n=t.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;e=v2(i,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function u0(t,e){return(history.state?history.state.position-e:-1)+t}const Yp=new Map;function b2(t,e){Yp.set(t,e)}function w2(t){const e=Yp.get(t);return Yp.delete(t),e}function S2(t){return typeof t=="string"||t&&typeof t=="object"}function kw(t){return typeof t=="string"||typeof t=="symbol"}let On=(function(t){return t[t.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",t[t.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",t[t.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",t[t.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",t[t.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",t})({});const Rw=Symbol("");On.MATCHER_NOT_FOUND+"",On.NAVIGATION_GUARD_REDIRECT+"",On.NAVIGATION_ABORTED+"",On.NAVIGATION_CANCELLED+"",On.NAVIGATION_DUPLICATED+"";function bl(t,e){return Jt(new Error,{type:t,[Rw]:!0},e)}function Ls(t,e){return t instanceof Error&&Rw in t&&(e==null||!!(t.type&e))}const T2=["params","query","hash"];function A2(t){if(typeof t=="string")return t;if(t.path!=null)return t.path;const e={};for(const n of T2)n in t&&(e[n]=t[n]);return JSON.stringify(e,null,2)}function E2(t){const e={};if(t===""||t==="?")return e;const n=(t[0]==="?"?t.slice(1):t).split("&");for(let r=0;r<n.length;++r){const i=n[r].replace(ww," "),s=i.indexOf("="),o=rc(s<0?i:i.slice(0,s)),a=s<0?null:rc(i.slice(s+1));if(o in e){let u=e[o];Yi(u)||(u=e[o]=[u]),u.push(a)}else e[o]=a}return e}function c0(t){let e="";for(let n in t){const r=t[n];if(n=o2(n),r==null){r!==void 0&&(e+=(e.length?"&":"")+n);continue}(Yi(r)?r.map(i=>i&&Gp(i)):[r&&Gp(r)]).forEach(i=>{i!==void 0&&(e+=(e.length?"&":"")+n,i!=null&&(e+="="+i))})}return e}function k2(t){const e={};for(const n in t){const r=t[n];r!==void 0&&(e[n]=Yi(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return e}const R2=Symbol(""),f0=Symbol(""),Kd=Symbol(""),yg=Symbol(""),Kp=Symbol("");function nu(){let t=[];function e(r){return t.push(r),()=>{const i=t.indexOf(r);i>-1&&t.splice(i,1)}}function n(){t=[]}return{add:e,list:()=>t.slice(),reset:n}}function mo(t,e,n,r,i,s=o=>o()){const o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((a,u)=>{const c=f=>{f===!1?u(bl(On.NAVIGATION_ABORTED,{from:n,to:e})):f instanceof Error?u(f):S2(f)?u(bl(On.NAVIGATION_GUARD_REDIRECT,{from:e,to:f})):(o&&r.enterCallbacks[i]===o&&typeof f=="function"&&o.push(f),a())},d=s(()=>t.call(r&&r.instances[i],e,n,c));let l=Promise.resolve(d);t.length<3&&(l=l.then(c)),l.catch(f=>u(f))})}function Yh(t,e,n,r,i=s=>s()){const s=[];for(const o of t)for(const a in o.components){let u=o.components[a];if(!(e!=="beforeRouteEnter"&&!o.instances[a]))if(yw(u)){const c=(u.__vccOpts||u)[e];c&&s.push(mo(c,n,r,o,a,i))}else{let c=u();s.push(()=>c.then(d=>{if(!d)throw new Error(`Couldn't resolve component "${a}" at "${o.path}"`);const l=Kx(d)?d.default:d;o.mods[a]=d,o.components[a]=l;const f=(l.__vccOpts||l)[e];return f&&mo(f,n,r,o,a,i)()}))}}return s}function C2(t,e){const n=[],r=[],i=[],s=Math.max(e.matched.length,t.matched.length);for(let o=0;o<s;o++){const a=e.matched[o];a&&(t.matched.find(c=>yl(c,a))?r.push(a):n.push(a));const u=t.matched[o];u&&(e.matched.find(c=>yl(c,u))||i.push(u))}return[n,r,i]}/*!
* vue-router v4.6.3
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/let x2=()=>location.protocol+"//"+location.host;function Cw(t,e){const{pathname:n,search:r,hash:i}=e,s=t.indexOf("#");if(s>-1){let o=i.includes(t.slice(s))?t.slice(s).length:1,a=i.slice(o);return a[0]!=="/"&&(a="/"+a),a0(a,"")}return a0(n,t)+r+i}function P2(t,e,n,r){let i=[],s=[],o=null;const a=({state:f})=>{const h=Cw(t,location),g=n.value,p=e.value;let b=0;if(f){if(n.value=h,e.value=f,o&&o===g){o=null;return}b=p?f.position-p.position:0}else r(h);i.forEach(y=>{y(n.value,g,{delta:b,type:qp.pop,direction:b?b>0?qh.forward:qh.back:qh.unknown})})};function u(){o=n.value}function c(f){i.push(f);const h=()=>{const g=i.indexOf(f);g>-1&&i.splice(g,1)};return s.push(h),h}function d(){if(document.visibilityState==="hidden"){const{history:f}=window;if(!f.state)return;f.replaceState(Jt({},f.state,{scroll:Yd()}),"")}}function l(){for(const f of s)f();s=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",d),document.removeEventListener("visibilitychange",d)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",d),document.addEventListener("visibilitychange",d),{pauseListeners:u,listen:c,destroy:l}}function d0(t,e,n,r=!1,i=!1){return{back:t,current:e,forward:n,replaced:r,position:window.history.length,scroll:i?Yd():null}}function I2(t){const{history:e,location:n}=window,r={value:Cw(t,n)},i={value:e.state};i.value||s(r.value,{back:null,current:r.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function s(u,c,d){const l=t.indexOf("#"),f=l>-1?(n.host&&document.querySelector("base")?t:t.slice(l))+u:x2()+t+u;try{e[d?"replaceState":"pushState"](c,"",f),i.value=c}catch(h){console.error(h),n[d?"replace":"assign"](f)}}function o(u,c){s(u,Jt({},e.state,d0(i.value.back,u,i.value.forward,!0),c,{position:i.value.position}),!0),r.value=u}function a(u,c){const d=Jt({},i.value,e.state,{forward:u,scroll:Yd()});s(d.current,d,!0),s(u,Jt({},d0(r.value,u,null),{position:d.position+1},c),!1),r.value=u}return{location:r,state:i,push:a,replace:o}}function L2(t){t=m2(t);const e=I2(t),n=P2(t,e.state,e.location,e.replace);function r(s,o=!0){o||n.pauseListeners(),history.go(s)}const i=Jt({location:"",base:t,go:r,createHref:_2.bind(null,t)},e,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>e.state.value}),i}let sa=(function(t){return t[t.Static=0]="Static",t[t.Param=1]="Param",t[t.Group=2]="Group",t})({});var Kn=(function(t){return t[t.Static=0]="Static",t[t.Param=1]="Param",t[t.ParamRegExp=2]="ParamRegExp",t[t.ParamRegExpEnd=3]="ParamRegExpEnd",t[t.EscapeNext=4]="EscapeNext",t})(Kn||{});const O2={type:sa.Static,value:""},M2=/[a-zA-Z0-9_]/;function F2(t){if(!t)return[[]];if(t==="/")return[[O2]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=Kn.Static,r=n;const i=[];let s;function o(){s&&i.push(s),s=[]}let a=0,u,c="",d="";function l(){c&&(n===Kn.Static?s.push({type:sa.Static,value:c}):n===Kn.Param||n===Kn.ParamRegExp||n===Kn.ParamRegExpEnd?(s.length>1&&(u==="*"||u==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:sa.Param,value:c,regexp:d,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):e("Invalid state to consume buffer"),c="")}function f(){c+=u}for(;a<t.length;){if(u=t[a++],u==="\\"&&n!==Kn.ParamRegExp){r=n,n=Kn.EscapeNext;continue}switch(n){case Kn.Static:u==="/"?(c&&l(),o()):u===":"?(l(),n=Kn.Param):f();break;case Kn.EscapeNext:f(),n=r;break;case Kn.Param:u==="("?n=Kn.ParamRegExp:M2.test(u)?f():(l(),n=Kn.Static,u!=="*"&&u!=="?"&&u!=="+"&&a--);break;case Kn.ParamRegExp:u===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+u:n=Kn.ParamRegExpEnd:d+=u;break;case Kn.ParamRegExpEnd:l(),n=Kn.Static,u!=="*"&&u!=="?"&&u!=="+"&&a--,d="";break;default:e("Unknown state");break}}return n===Kn.ParamRegExp&&e(`Unfinished custom RegExp for param "${c}"`),l(),o(),i}const h0="[^/]+?",D2={sensitive:!1,strict:!1,start:!0,end:!0};var Dr=(function(t){return t[t._multiplier=10]="_multiplier",t[t.Root=90]="Root",t[t.Segment=40]="Segment",t[t.SubSegment=30]="SubSegment",t[t.Static=40]="Static",t[t.Dynamic=20]="Dynamic",t[t.BonusCustomRegExp=10]="BonusCustomRegExp",t[t.BonusWildcard=-50]="BonusWildcard",t[t.BonusRepeatable=-20]="BonusRepeatable",t[t.BonusOptional=-8]="BonusOptional",t[t.BonusStrict=.7000000000000001]="BonusStrict",t[t.BonusCaseSensitive=.25]="BonusCaseSensitive",t})(Dr||{});const N2=/[.+*?^${}()[\]/\\]/g;function $2(t,e){const n=Jt({},D2,e),r=[];let i=n.start?"^":"";const s=[];for(const c of t){const d=c.length?[]:[Dr.Root];n.strict&&!c.length&&(i+="/");for(let l=0;l<c.length;l++){const f=c[l];let h=Dr.Segment+(n.sensitive?Dr.BonusCaseSensitive:0);if(f.type===sa.Static)l||(i+="/"),i+=f.value.replace(N2,"\\$&"),h+=Dr.Static;else if(f.type===sa.Param){const{value:g,repeatable:p,optional:b,regexp:y}=f;s.push({name:g,repeatable:p,optional:b});const S=y||h0;if(S!==h0){h+=Dr.BonusCustomRegExp;try{`${S}`}catch(T){throw new Error(`Invalid custom RegExp for param "${g}" (${S}): `+T.message)}}let E=p?`((?:${S})(?:/(?:${S}))*)`:`(${S})`;l||(E=b&&c.length<2?`(?:/${E})`:"/"+E),b&&(E+="?"),i+=E,h+=Dr.Dynamic,b&&(h+=Dr.BonusOptional),p&&(h+=Dr.BonusRepeatable),S===".*"&&(h+=Dr.BonusWildcard)}d.push(h)}r.push(d)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=Dr.BonusStrict}n.strict||(i+="/?"),n.end?i+="$":n.strict&&!i.endsWith("/")&&(i+="(?:/|$)");const o=new RegExp(i,n.sensitive?"":"i");function a(c){const d=c.match(o),l={};if(!d)return null;for(let f=1;f<d.length;f++){const h=d[f]||"",g=s[f-1];l[g.name]=h&&g.repeatable?h.split("/"):h}return l}function u(c){let d="",l=!1;for(const f of t){(!l||!d.endsWith("/"))&&(d+="/"),l=!1;for(const h of f)if(h.type===sa.Static)d+=h.value;else if(h.type===sa.Param){const{value:g,repeatable:p,optional:b}=h,y=g in c?c[g]:"";if(Yi(y)&&!p)throw new Error(`Provided param "${g}" is an array but it is not repeatable (* or + modifiers)`);const S=Yi(y)?y.join("/"):y;if(!S)if(b)f.length<2&&(d.endsWith("/")?d=d.slice(0,-1):l=!0);else throw new Error(`Missing required param "${g}"`);d+=S}}return d||"/"}return{re:o,score:r,keys:s,parse:a,stringify:u}}function H2(t,e){let n=0;for(;n<t.length&&n<e.length;){const r=e[n]-t[n];if(r)return r;n++}return t.length<e.length?t.length===1&&t[0]===Dr.Static+Dr.Segment?-1:1:t.length>e.length?e.length===1&&e[0]===Dr.Static+Dr.Segment?1:-1:0}function xw(t,e){let n=0;const r=t.score,i=e.score;for(;n<r.length&&n<i.length;){const s=H2(r[n],i[n]);if(s)return s;n++}if(Math.abs(i.length-r.length)===1){if(p0(r))return 1;if(p0(i))return-1}return i.length-r.length}function p0(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const B2={strict:!1,end:!0,sensitive:!1};function V2(t,e,n){const r=$2(F2(t.path),n),i=Jt(r,{record:t,parent:e,children:[],alias:[]});return e&&!i.record.aliasOf==!e.record.aliasOf&&e.children.push(i),i}function U2(t,e){const n=[],r=new Map;e=o0(B2,e);function i(l){return r.get(l)}function s(l,f,h){const g=!h,p=g0(l);p.aliasOf=h&&h.record;const b=o0(e,l),y=[p];if("alias"in l){const T=typeof l.alias=="string"?[l.alias]:l.alias;for(const k of T)y.push(g0(Jt({},p,{components:h?h.record.components:p.components,path:k,aliasOf:h?h.record:p})))}let S,E;for(const T of y){const{path:k}=T;if(f&&k[0]!=="/"){const M=f.record.path,$=M[M.length-1]==="/"?"":"/";T.path=f.record.path+(k&&$+k)}if(S=V2(T,f,b),h?h.alias.push(S):(E=E||S,E!==S&&E.alias.push(S),g&&l.name&&!_0(S)&&o(l.name)),Pw(S)&&u(S),p.children){const M=p.children;for(let $=0;$<M.length;$++)s(M[$],S,h&&h.children[$])}h=h||S}return E?()=>{o(E)}:Pu}function o(l){if(kw(l)){const f=r.get(l);f&&(r.delete(l),n.splice(n.indexOf(f),1),f.children.forEach(o),f.alias.forEach(o))}else{const f=n.indexOf(l);f>-1&&(n.splice(f,1),l.record.name&&r.delete(l.record.name),l.children.forEach(o),l.alias.forEach(o))}}function a(){return n}function u(l){const f=z2(l,n);n.splice(f,0,l),l.record.name&&!_0(l)&&r.set(l.record.name,l)}function c(l,f){let h,g={},p,b;if("name"in l&&l.name){if(h=r.get(l.name),!h)throw bl(On.MATCHER_NOT_FOUND,{location:l});b=h.record.name,g=Jt(m0(f.params,h.keys.filter(E=>!E.optional).concat(h.parent?h.parent.keys.filter(E=>E.optional):[]).map(E=>E.name)),l.params&&m0(l.params,h.keys.map(E=>E.name))),p=h.stringify(g)}else if(l.path!=null)p=l.path,h=n.find(E=>E.re.test(p)),h&&(g=h.parse(p),b=h.record.name);else{if(h=f.name?r.get(f.name):n.find(E=>E.re.test(f.path)),!h)throw bl(On.MATCHER_NOT_FOUND,{location:l,currentLocation:f});b=h.record.name,g=Jt({},f.params,l.params),p=h.stringify(g)}const y=[];let S=h;for(;S;)y.unshift(S.record),S=S.parent;return{name:b,path:p,params:g,matched:y,meta:W2(y)}}t.forEach(l=>s(l));function d(){n.length=0,r.clear()}return{addRoute:s,resolve:c,removeRoute:o,clearRoutes:d,getRoutes:a,getRecordMatcher:i}}function m0(t,e){const n={};for(const r of e)r in t&&(n[r]=t[r]);return n}function g0(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:j2(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function j2(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const r in t.components)e[r]=typeof n=="object"?n[r]:n;return e}function _0(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function W2(t){return t.reduce((e,n)=>Jt(e,n.meta),{})}function z2(t,e){let n=0,r=e.length;for(;n!==r;){const s=n+r>>1;xw(t,e[s])<0?r=s:n=s+1}const i=G2(t);return i&&(r=e.lastIndexOf(i,r-1)),r}function G2(t){let e=t;for(;e=e.parent;)if(Pw(e)&&xw(t,e)===0)return e}function Pw({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function v0(t){const e=Kr(Kd),n=Kr(yg),r=Ie(()=>{const u=_e(t.to);return e.resolve(u)}),i=Ie(()=>{const{matched:u}=r.value,{length:c}=u,d=u[c-1],l=n.matched;if(!d||!l.length)return-1;const f=l.findIndex(yl.bind(null,d));if(f>-1)return f;const h=y0(u[c-2]);return c>1&&y0(d)===h&&l[l.length-1].path!==h?l.findIndex(yl.bind(null,u[c-2])):f}),s=Ie(()=>i.value>-1&&Q2(n.params,r.value.params)),o=Ie(()=>i.value>-1&&i.value===n.matched.length-1&&Ew(n.params,r.value.params));function a(u={}){if(X2(u)){const c=e[_e(t.replace)?"replace":"push"](_e(t.to)).catch(Pu);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:r,href:Ie(()=>r.value.href),isActive:s,isExactActive:o,navigate:a}}function q2(t){return t.length===1?t[0]:t}const Y2=Ss({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:v0,setup(t,{slots:e}){const n=Pa(v0(t)),{options:r}=Kr(Kd),i=Ie(()=>({[b0(t.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[b0(t.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=e.default&&q2(e.default(n));return t.custom?s:Ac("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},s)}}}),K2=Y2;function X2(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function Q2(t,e){for(const n in e){const r=e[n],i=t[n];if(typeof r=="string"){if(r!==i)return!1}else if(!Yi(i)||i.length!==r.length||r.some((s,o)=>s!==i[o]))return!1}return!0}function y0(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const b0=(t,e,n)=>t??e??n,J2=Ss({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const r=Kr(Kp),i=Ie(()=>t.route||r.value),s=Kr(f0,0),o=Ie(()=>{let c=_e(s);const{matched:d}=i.value;let l;for(;(l=d[c])&&!l.components;)c++;return c}),a=Ie(()=>i.value.matched[o.value]);xf(f0,Ie(()=>o.value+1)),xf(R2,a),xf(Kp,i);const u=j();return Ve(()=>[u.value,a.value,t.name],([c,d,l],[f,h,g])=>{d&&(d.instances[l]=c,h&&h!==d&&c&&c===f&&(d.leaveGuards.size||(d.leaveGuards=h.leaveGuards),d.updateGuards.size||(d.updateGuards=h.updateGuards))),c&&d&&(!h||!yl(d,h)||!f)&&(d.enterCallbacks[l]||[]).forEach(p=>p(c))},{flush:"post"}),()=>{const c=i.value,d=t.name,l=a.value,f=l&&l.components[d];if(!f)return w0(n.default,{Component:f,route:c});const h=l.props[d],g=h?h===!0?c.params:typeof h=="function"?h(c):h:null,b=Ac(f,Jt({},g,e,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(l.instances[d]=null)},ref:u}));return w0(n.default,{Component:b,route:c})||b}}});function w0(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const Z2=J2;function eP(t){const e=U2(t.routes,t),n=t.parseQuery||E2,r=t.stringifyQuery||c0,i=t.history,s=nu(),o=nu(),a=nu(),u=ba(oo);let c=oo;Xa&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=zh.bind(null,se=>""+se),l=zh.bind(null,l2),f=zh.bind(null,rc);function h(se,le){let he,Te;return kw(se)?(he=e.getRecordMatcher(se),Te=le):Te=se,e.addRoute(Te,he)}function g(se){const le=e.getRecordMatcher(se);le&&e.removeRoute(le)}function p(){return e.getRoutes().map(se=>se.record)}function b(se){return!!e.getRecordMatcher(se)}function y(se,le){if(le=Jt({},le||u.value),typeof se=="string"){const q=Gh(n,se,le.path),ee=e.resolve({path:q.path},le),K=i.createHref(q.fullPath);return Jt(q,ee,{params:f(ee.params),hash:rc(q.hash),redirectedFrom:void 0,href:K})}let he;if(se.path!=null)he=Jt({},se,{path:Gh(n,se.path,le.path).path});else{const q=Jt({},se.params);for(const ee in q)q[ee]==null&&delete q[ee];he=Jt({},se,{params:l(q)}),le.params=l(le.params)}const Te=e.resolve(he,le),Le=se.hash||"";Te.params=d(f(Te.params));const W=f2(r,Jt({},se,{hash:s2(Le),path:Te.path})),L=i.createHref(W);return Jt({fullPath:W,hash:Le,query:r===c0?k2(se.query):se.query||{}},Te,{redirectedFrom:void 0,href:L})}function S(se){return typeof se=="string"?Gh(n,se,u.value.path):Jt({},se)}function E(se,le){if(c!==se)return bl(On.NAVIGATION_CANCELLED,{from:le,to:se})}function T(se){return $(se)}function k(se){return T(Jt(S(se),{replace:!0}))}function M(se,le){const he=se.matched[se.matched.length-1];if(he&&he.redirect){const{redirect:Te}=he;let Le=typeof Te=="function"?Te(se,le):Te;return typeof Le=="string"&&(Le=Le.includes("?")||Le.includes("#")?Le=S(Le):{path:Le},Le.params={}),Jt({query:se.query,hash:se.hash,params:Le.path!=null?{}:se.params},Le)}}function $(se,le){const he=c=y(se),Te=u.value,Le=se.state,W=se.force,L=se.replace===!0,q=M(he,Te);if(q)return $(Jt(S(q),{state:typeof q=="object"?Jt({},Le,q.state):Le,force:W,replace:L}),le||he);const ee=he;ee.redirectedFrom=le;let K;return!W&&d2(r,Te,he)&&(K=bl(On.NAVIGATION_DUPLICATED,{to:ee,from:Te}),pe(Te,Te,!0,!1)),(K?Promise.resolve(K):F(ee,Te)).catch(x=>Ls(x)?Ls(x,On.NAVIGATION_GUARD_REDIRECT)?x:X(x):ie(x,ee,Te)).then(x=>{if(x){if(Ls(x,On.NAVIGATION_GUARD_REDIRECT))return $(Jt({replace:L},S(x.to),{state:typeof x.to=="object"?Jt({},Le,x.to.state):Le,force:W}),le||ee)}else x=N(ee,Te,!0,L,Le);return re(ee,Te,x),x})}function H(se,le){const he=E(se,le);return he?Promise.reject(he):Promise.resolve()}function O(se){const le=Re.values().next().value;return le&&typeof le.runWithContext=="function"?le.runWithContext(se):se()}function F(se,le){let he;const[Te,Le,W]=C2(se,le);he=Yh(Te.reverse(),"beforeRouteLeave",se,le);for(const q of Te)q.leaveGuards.forEach(ee=>{he.push(mo(ee,se,le))});const L=H.bind(null,se,le);return he.push(L),we(he).then(()=>{he=[];for(const q of s.list())he.push(mo(q,se,le));return he.push(L),we(he)}).then(()=>{he=Yh(Le,"beforeRouteUpdate",se,le);for(const q of Le)q.updateGuards.forEach(ee=>{he.push(mo(ee,se,le))});return he.push(L),we(he)}).then(()=>{he=[];for(const q of W)if(q.beforeEnter)if(Yi(q.beforeEnter))for(const ee of q.beforeEnter)he.push(mo(ee,se,le));else he.push(mo(q.beforeEnter,se,le));return he.push(L),we(he)}).then(()=>(se.matched.forEach(q=>q.enterCallbacks={}),he=Yh(W,"beforeRouteEnter",se,le,O),he.push(L),we(he))).then(()=>{he=[];for(const q of o.list())he.push(mo(q,se,le));return he.push(L),we(he)}).catch(q=>Ls(q,On.NAVIGATION_CANCELLED)?q:Promise.reject(q))}function re(se,le,he){a.list().forEach(Te=>O(()=>Te(se,le,he)))}function N(se,le,he,Te,Le){const W=E(se,le);if(W)return W;const L=le===oo,q=Xa?history.state:{};he&&(Te||L?i.replace(se.fullPath,Jt({scroll:L&&q&&q.scroll},Le)):i.push(se.fullPath,Le)),u.value=se,pe(se,le,he,L),X()}let P;function z(){P||(P=i.listen((se,le,he)=>{if(!ye.listening)return;const Te=y(se),Le=M(Te,ye.currentRoute.value);if(Le){$(Jt(Le,{replace:!0,force:!0}),Te).catch(Pu);return}c=Te;const W=u.value;Xa&&b2(u0(W.fullPath,he.delta),Yd()),F(Te,W).catch(L=>Ls(L,On.NAVIGATION_ABORTED|On.NAVIGATION_CANCELLED)?L:Ls(L,On.NAVIGATION_GUARD_REDIRECT)?($(Jt(S(L.to),{force:!0}),Te).then(q=>{Ls(q,On.NAVIGATION_ABORTED|On.NAVIGATION_DUPLICATED)&&!he.delta&&he.type===qp.pop&&i.go(-1,!1)}).catch(Pu),Promise.reject()):(he.delta&&i.go(-he.delta,!1),ie(L,Te,W))).then(L=>{L=L||N(Te,W,!1),L&&(he.delta&&!Ls(L,On.NAVIGATION_CANCELLED)?i.go(-he.delta,!1):he.type===qp.pop&&Ls(L,On.NAVIGATION_ABORTED|On.NAVIGATION_DUPLICATED)&&i.go(-1,!1)),re(Te,W,L)}).catch(Pu)}))}let Q=nu(),B=nu(),G;function ie(se,le,he){X(se);const Te=B.list();return Te.length?Te.forEach(Le=>Le(se,le,he)):console.error(se),Promise.reject(se)}function ae(){return G&&u.value!==oo?Promise.resolve():new Promise((se,le)=>{Q.add([se,le])})}function X(se){return G||(G=!se,z(),Q.list().forEach(([le,he])=>se?he(se):le()),Q.reset()),se}function pe(se,le,he,Te){const{scrollBehavior:Le}=t;if(!Xa||!Le)return Promise.resolve();const W=!he&&w2(u0(se.fullPath,0))||(Te||!he)&&history.state&&history.state.scroll||null;return Mt().then(()=>Le(se,le,W)).then(L=>L&&y2(L)).catch(L=>ie(L,se,le))}const Ee=se=>i.go(se);let ke;const Re=new Set,ye={currentRoute:u,listening:!0,addRoute:h,removeRoute:g,clearRoutes:e.clearRoutes,hasRoute:b,getRoutes:p,resolve:y,options:t,push:T,replace:k,go:Ee,back:()=>Ee(-1),forward:()=>Ee(1),beforeEach:s.add,beforeResolve:o.add,afterEach:a.add,onError:B.add,isReady:ae,install(se){se.component("RouterLink",K2),se.component("RouterView",Z2),se.config.globalProperties.$router=ye,Object.defineProperty(se.config.globalProperties,"$route",{enumerable:!0,get:()=>_e(u)}),Xa&&!ke&&u.value===oo&&(ke=!0,T(i.location).catch(Te=>{}));const le={};for(const Te in oo)Object.defineProperty(le,Te,{get:()=>u.value[Te],enumerable:!0});se.provide(Kd,ye),se.provide(yg,fb(le)),se.provide(Kp,u);const he=se.unmount;Re.add(se),se.unmount=function(){Re.delete(se),Re.size<1&&(c=oo,P&&P(),P=null,u.value=oo,ke=!1,G=!1),he()}}};function we(se){return se.reduce((le,he)=>le.then(()=>O(he)),Promise.resolve())}return ye}function Ll(){return Kr(Kd)}function Ol(t){return Kr(yg)}const tP=["href","rel","target"],Iw={__name:"AppLink",props:{to:{type:String,required:!0},rel:{type:String,default:null},target:{type:String,default:null},params:{type:String,default:null}},setup(t){const e=Ol(),n=t,r=u=>typeof u=="string"&&(u.startsWith("http")||u.startsWith("mailto:")||u.startsWith("tel:")),i=Ie(()=>r(n.to)||n.target==="_blank"||n.to.includes("tel:")||n.to.includes("mailto:")),s=Ie(()=>typeof n.target=="string"?n.target:i.value?"_blank":"_self"),o=()=>{typeof window<"u"&&e.fullPath===n.to&&window.location.reload()},a=Ie(()=>n.params?n.to+n.params:n.to);return(u,c)=>{const d=cg("router-link");return _e(i)?(ue(),me("a",{key:0,href:_e(a),rel:t.rel,target:_e(s),"c-cursor":"no-custom",class:"link"},[$s(u.$slots,"default")],8,tP)):(ue(),tn(d,{key:1,to:_e(a),"c-cursor":"no-custom",class:"link",onClick:o},{default:$i(()=>[$s(u.$slots,"default")]),_:3},8,["to"]))}}},nP=!0,_i=()=>typeof window<"u",rP=()=>typeof document<"u"&&!!document.body,Lw=!_i(),iP=()=>_i(),wa=_i()?window.navigator.userAgent:"",sP=_i()?window.location.href:"",Ow=_i()?window.location.search:"",oP=_i()?window.safari:!1,bg=_i()?navigator.vendor:"",S0=_i()?navigator.platform:"",wg=_i()?navigator.maxTouchPoints:0,aP=wg>1,Yn=wa.toLowerCase(),lP=new URLSearchParams(Ow),uP=Yn.includes("mac"),cP=Yn.includes("windows"),Mw=/apple/i.test(bg)||oP,fP=/firefox/.test(Yn),dP=/edge\/\d+/.test(wa),hP=Yn.includes("trident")&&wa.includes("rv:11"),Sg=/(iphone|ipod)/.test(Yn),Tg=/(ipad)/.test(Yn)||S0==="iPad"||!Sg&&/MacIntel/.test(S0)&&wg>0,kc=Sg||Tg,Ag=/(android)/.test(Yn),Xd=Tg||/(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i.test(Yn),Qd=kc||Xd||Ag,Jd=!Qd,pP=Qd&&!Xd,mP=Qd&&!Xd,gP=!kc&&Mw&&!wg,Eg=/fban\/messengerforios/.test(Yn)||/fb_iab\/messenger/.test(Yn),Fw=!1,_P=/(fban|fbav)/.test(Yn)&&!Eg&&!Fw,vP=/instagram/.test(Yn),yP=/micromessenger/.test(Yn),bP=/weibo/.test(Yn),wP=/ucbrowser/.test(Yn),SP=/samsung/.test(Yn),TP=/(crios|fxios|opios|mercury|ucbrowser|fbav|fban|instagram)/.test(Yn),AP=/(opera|ucbrowser|samsung|fbav|fban|instagram)/.test(Yn),EP=kc&&!TP,kP=kc&&/crios/.test(Yn),RP=Ag&&!AP&&/chrome/.test(Yn)&&!Eg,CP=Jd&&/Chrome/.test(wa)&&/Google Inc/.test(bg)&&!/Edg/.test(wa),xP=Jd&&/Chrome/.test(wa)&&/Google Inc/.test(bg)&&/Edg/.test(wa),PP=!1,IP="https://graphql.kontent.ai/",LP="null",Dw="4bb91847-d552-009a-ce6f-52272156c6c2",OP=!1,MP=IP+Dw,FP="https://videos.breakthroughenergy.org/breakthroughenergy/video/fetch/w_1308/q_auto/g_auto/ar_16:9/c_fill/",DP="",NP="https://videos.breakthroughenergy.org/",$P=2,HP=_i()?Math.min(window.devicePixelRatio||1,$P):1,BP=async function(){},lt={get hasDocument(){return rP()},get hasWindow(){return _i()},get isClient(){return iP()},window:_i()?window:{},isSSR:Lw,touchScreen:aP,mobile:Qd,tablet:Xd,desktop:Jd,phone:pP,mac:uP,windows:cP,href:sP,queryString:Ow,urlParams:lP,pixelRatio:HP,ios:kc,iphone:Sg,ipad:Tg,android:Ag,learnMobile:mP,facebook_video_ad:Fw,facebook:_P,messenger:Eg,instagram:vP,wechat:yP,weibo:bP,ucbrowser:wP,samsung:SP,edge:dP,ie11:hP,safari:Mw,ios_safari:EP,ios_chrome:kP,desktop_safari:gP,desktop_chrome:CP,desktop_edge:xP,webp:()=>nP,android_chrome:RP,firefox:fP,init:BP,localhost:PP,graphQLURL:MP,kontentAPIKey:LP,kontentEnvID:Dw,usePreview:OP,cloudinaryVideoURL:FP,cloudinaryAssetURL:DP,videoPrefix:NP};function VP(){if(!_i)return;const t=Lw?null:document.querySelector("html"),e={};for(const n in lt)t&<[n]===!0&&t.classList.add(e[n]||n)}VP();function Fs(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nw(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}/*!
* 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
*/var gi={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},wl={duration:.5,overwrite:!1,delay:0},kg,pr,wn,Pi=1e8,cn=1/Pi,Xp=Math.PI*2,UP=Xp/4,jP=0,$w=Math.sqrt,WP=Math.cos,zP=Math.sin,ur=function(e){return typeof e=="string"},Mn=function(e){return typeof e=="function"},eo=function(e){return typeof e=="number"},Rg=function(e){return typeof e>"u"},ws=function(e){return typeof e=="object"},Xr=function(e){return e!==!1},Cg=function(){return typeof window<"u"},rf=function(e){return Mn(e)||ur(e)},Hw=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},xr=Array.isArray,Qp=/(?:-?\.?\d|\.)+/gi,Bw=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,nl=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Kh=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Vw=/[+-]=-?[.\d]+/,Uw=/[^,'"\[\]\s]+/gi,GP=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,En,us,Jp,xg,vi={},ud={},jw,Ww=function(e){return(ud=Sl(e,vi))&&ni},Pg=function(e,n){return console.warn("Invalid property",e,"set to",n,"Missing plugin? gsap.registerPlugin()")},ic=function(e,n){return!n&&console.warn(e)},zw=function(e,n){return e&&(vi[e]=n)&&ud&&(ud[e]=n)||vi},sc=function(){return 0},qP={suppressEvents:!0,isStart:!0,kill:!1},Of={suppressEvents:!0,kill:!1},YP={suppressEvents:!0},Ig={},Eo=[],Zp={},Gw,ui={},Xh={},T0=30,Mf=[],Lg="",Og=function(e){var n=e[0],r,i;if(ws(n)||Mn(n)||(e=[e]),!(r=(n._gsap||{}).harness)){for(i=Mf.length;i--&&!Mf[i].targetTest(n););r=Mf[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new gS(e[i],r)))||e.splice(i,1);return e},fa=function(e){return e._gsap||Og(Ii(e))[0]._gsap},qw=function(e,n,r){return(r=e[n])&&Mn(r)?e[n]():Rg(r)&&e.getAttribute&&e.getAttribute(n)||r},Qr=function(e,n){return(e=e.split(",")).forEach(n)||e},$n=function(e){return Math.round(e*1e5)/1e5||0},zn=function(e){return Math.round(e*1e7)/1e7||0},ul=function(e,n){var r=n.charAt(0),i=parseFloat(n.substr(2));return e=parseFloat(e),r==="+"?e+i:r==="-"?e-i:r==="*"?e*i:e/i},KP=function(e,n){for(var r=n.length,i=0;e.indexOf(n[i])<0&&++i<r;);return i<r},cd=function(){var e=Eo.length,n=Eo.slice(0),r,i;for(Zp={},Eo.length=0,r=0;r<e;r++)i=n[r],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},Mg=function(e){return!!(e._initted||e._startAt||e.add)},Yw=function(e,n,r,i){Eo.length&&!pr&&cd(),e.render(n,r,!!(pr&&n<0&&Mg(e))),Eo.length&&!pr&&cd()},Kw=function(e){var n=parseFloat(e);return(n||n===0)&&(e+"").match(Uw).length<2?n:ur(e)?e.trim():e},Xw=function(e){return e},yi=function(e,n){for(var r in n)r in e||(e[r]=n[r]);return e},XP=function(e){return function(n,r){for(var i in r)i in n||i==="duration"&&e||i==="ease"||(n[i]=r[i])}},Sl=function(e,n){for(var r in n)e[r]=n[r];return e},A0=function t(e,n){for(var r in n)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=ws(n[r])?t(e[r]||(e[r]={}),n[r]):n[r]);return e},fd=function(e,n){var r={},i;for(i in e)i in n||(r[i]=e[i]);return r},Iu=function(e){var n=e.parent||En,r=e.keyframes?XP(xr(e.keyframes)):yi;if(Xr(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},QP=function(e,n){for(var r=e.length,i=r===n.length;i&&r--&&e[r]===n[r];);return r<0},Qw=function(e,n,r,i,s){var o=e[i],a;if(s)for(a=n[s];o&&o[s]>a;)o=o._prev;return o?(n._next=o._next,o._next=n):(n._next=e[r],e[r]=n),n._next?n._next._prev=n:e[i]=n,n._prev=o,n.parent=n._dp=e,n},Zd=function(e,n,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var s=n._prev,o=n._next;s?s._next=o:e[r]===n&&(e[r]=o),o?o._prev=s:e[i]===n&&(e[i]=s),n._next=n._prev=n.parent=null},Po=function(e,n){e.parent&&(!n||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},da=function(e,n){if(e&&(!n||n._end>e._dur||n._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},JP=function(e){for(var n=e.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return e},em=function(e,n,r,i){return e._startAt&&(pr?e._startAt.revert(Of):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(n,!0,i))},ZP=function t(e){return!e||e._ts&&t(e.parent)},E0=function(e){return e._repeat?Tl(e._tTime,e=e.duration()+e._rDelay)*e:0},Tl=function(e,n){var r=Math.floor(e=zn(e/n));return e&&r===e?r-1:r},dd=function(e,n){return(e-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},eh=function(e){return e._end=zn(e._start+(e._tDur/Math.abs(e._ts||e._rts||cn)||0))},th=function(e,n){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=zn(r._time-(e._ts>0?n/e._ts:((e._dirty?e.totalDuration():e._tDur)-n)/-e._ts)),eh(e),r._dirty||da(r,e)),e},Jw=function(e,n){var r;if((n._time||!n._dur&&n._initted||n._start<e._time&&(n._dur||!n.add))&&(r=dd(e.rawTime(),n),(!n._dur||Rc(0,n.totalDuration(),r)-n._tTime>cn)&&n.render(r,!0)),da(e,n)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-cn}},hs=function(e,n,r,i){return n.parent&&Po(n),n._start=zn((eo(r)?r:r||e!==En?ki(e,r,n):e._time)+n._delay),n._end=zn(n._start+(n.totalDuration()/Math.abs(n.timeScale())||0)),Qw(e,n,"_first","_last",e._sort?"_start":0),tm(n)||(e._recent=n),i||Jw(e,n),e._ts<0&&th(e,e._tTime),e},Zw=function(e,n){return(vi.ScrollTrigger||Pg("scrollTrigger",n))&&vi.ScrollTrigger.create(n,e)},eS=function(e,n,r,i,s){if(Dg(e,n,s),!e._initted)return 1;if(!r&&e._pt&&!pr&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Gw!==fi.frame)return Eo.push(e),e._lazy=[s,i],1},eI=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},tm=function(e){var n=e.data;return n==="isFromStart"||n==="isStart"},tI=function(e,n,r,i){var s=e.ratio,o=n<0||!n&&(!e._start&&eI(e)&&!(!e._initted&&tm(e))||(e._ts<0||e._dp._ts<0)&&!tm(e))?0:1,a=e._rDelay,u=0,c,d,l;if(a&&e._repeat&&(u=Rc(0,e._tDur,n),d=Tl(u,a),e._yoyo&&d&1&&(o=1-o),d!==Tl(e._tTime,a)&&(s=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==s||pr||i||e._zTime===cn||!n&&e._zTime){if(!e._initted&&eS(e,n,i,r,u))return;for(l=e._zTime,e._zTime=n||(r?cn:0),r||(r=n&&!l),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=u,c=e._pt;c;)c.r(o,c.d),c=c._next;n<0&&em(e,n,r,!0),e._onUpdate&&!r&&pi(e,"onUpdate"),u&&e._repeat&&!r&&e.parent&&pi(e,"onRepeat"),(n>=e._tDur||n<0)&&e.ratio===o&&(o&&Po(e,1),!r&&!pr&&(pi(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=n)},nI=function(e,n,r){var i;if(r>n)for(i=e._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>n)return i;i=i._next}else for(i=e._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start<n)return i;i=i._prev}},Al=function(e,n,r,i){var s=e._repeat,o=zn(n)||0,a=e._tTime/e._tDur;return a&&!i&&(e._time*=o/e._dur),e._dur=o,e._tDur=s?s<0?1e10:zn(o*(s+1)+e._rDelay*s):o,a>0&&!i&&th(e,e._tTime=e._tDur*a),e.parent&&eh(e),r||da(e.parent,e),e},k0=function(e){return e instanceof Vr?da(e):Al(e,e._dur)},rI={_start:0,endTime:sc,totalDuration:sc},ki=function t(e,n,r){var i=e.labels,s=e._recent||rI,o=e.duration()>=Pi?s.endTime(!1):e._dur,a,u,c;return ur(n)&&(isNaN(n)||n in i)?(u=n.charAt(0),c=n.substr(-1)==="%",a=n.indexOf("="),u==="<"||u===">"?(a>=0&&(n=n.replace(/=/,"")),(u==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(n.substr(1))||0)*(c?(a<0?s:r).totalDuration()/100:1)):a<0?(n in i||(i[n]=o),i[n]):(u=parseFloat(n.charAt(a-1)+n.substr(a+1)),c&&r&&(u=u/100*(xr(r)?r[0]:r).totalDuration()),a>1?t(e,n.substr(0,a-1),r)+u:o+u)):n==null?o:+n},Lu=function(e,n,r){var i=eo(n[1]),s=(i?2:1)+(e<2?0:1),o=n[s],a,u;if(i&&(o.duration=n[1]),o.parent=r,e){for(a=o,u=r;u&&!("immediateRender"in a);)a=u.vars.defaults||{},u=Xr(u.vars.inherit)&&u.parent;o.immediateRender=Xr(a.immediateRender),e<2?o.runBackwards=1:o.startAt=n[s-1]}return new Wn(n[0],o,n[s+1])},$o=function(e,n){return e||e===0?n(e):n},Rc=function(e,n,r){return r<e?e:r>n?n:r},Er=function(e,n){return!ur(e)||!(n=GP.exec(e))?"":n[1]},iI=function(e,n,r){return $o(r,function(i){return Rc(e,n,i)})},nm=[].slice,tS=function(e,n){return e&&ws(e)&&"length"in e&&(!n&&!e.length||e.length-1 in e&&ws(e[0]))&&!e.nodeType&&e!==us},sI=function(e,n,r){return r===void 0&&(r=[]),e.forEach(function(i){var s;return ur(i)&&!n||tS(i,1)?(s=r).push.apply(s,Ii(i)):r.push(i)})||r},Ii=function(e,n,r){return wn&&!n&&wn.selector?wn.selector(e):ur(e)&&!r&&(Jp||!El())?nm.call((n||xg).querySelectorAll(e),0):xr(e)?sI(e,r):tS(e)?nm.call(e,0):e?[e]:[]},rm=function(e){return e=Ii(e)[0]||ic("Invalid scope")||{},function(n){var r=e.current||e.nativeElement||e;return Ii(n,r.querySelectorAll?r:r===e?ic("Invalid scope")||xg.createElement("div"):e)}},nS=function(e){return e.sort(function(){return .5-Math.random()})},rS=function(e){if(Mn(e))return e;var n=ws(e)?e:{each:e},r=ha(n.ease),i=n.from||0,s=parseFloat(n.base)||0,o={},a=i>0&&i<1,u=isNaN(i)||a,c=n.axis,d=i,l=i;return ur(i)?d=l={center:.5,edges:.5,end:1}[i]||0:!a&&u&&(d=i[0],l=i[1]),function(f,h,g){var p=(g||n).length,b=o[p],y,S,E,T,k,M,$,H,O;if(!b){if(O=n.grid==="auto"?0:(n.grid||[1,Pi])[1],!O){for($=-Pi;$<($=g[O++].getBoundingClientRect().left)&&O<p;);O<p&&O--}for(b=o[p]=[],y=u?Math.min(O,p)*d-.5:i%O,S=O===Pi?0:u?p*l/O-.5:i/O|0,$=0,H=Pi,M=0;M<p;M++)E=M%O-y,T=S-(M/O|0),b[M]=k=c?Math.abs(c==="y"?T:E):$w(E*E+T*T),k>$&&($=k),k<H&&(H=k);i==="random"&&nS(b),b.max=$-H,b.min=H,b.v=p=(parseFloat(n.amount)||parseFloat(n.each)*(O>p?p-1:c?c==="y"?p/O:O:Math.max(O,p/O))||0)*(i==="edges"?-1:1),b.b=p<0?s-p:s,b.u=Er(n.amount||n.each)||0,r=r&&p<0?hS(r):r}return p=(b[f]-b.min)/b.max||0,zn(b.b+(r?r(p):p)*b.v)+b.u}},im=function(e){var n=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var i=zn(Math.round(parseFloat(r)/e)*e*n);return(i-i%1)/n+(eo(r)?0:Er(r))}},iS=function(e,n){var r=xr(e),i,s;return!r&&ws(e)&&(i=r=e.radius||Pi,e.values?(e=Ii(e.values),(s=!eo(e[0]))&&(i*=i)):e=im(e.increment)),$o(n,r?Mn(e)?function(o){return s=e(o),Math.abs(s-o)<=i?s:o}:function(o){for(var a=parseFloat(s?o.x:o),u=parseFloat(s?o.y:0),c=Pi,d=0,l=e.length,f,h;l--;)s?(f=e[l].x-a,h=e[l].y-u,f=f*f+h*h):f=Math.abs(e[l]-a),f<c&&(c=f,d=l);return d=!i||c<=i?e[d]:o,s||d===o||eo(o)?d:d+Er(o)}:im(e))},sS=function(e,n,r,i){return $o(xr(e)?!n:r===!0?!!(r=0):!i,function(){return xr(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(n-e+r*.99))/r)*r*i)/i})},oI=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return function(i){return n.reduce(function(s,o){return o(s)},i)}},aI=function(e,n){return function(r){return e(parseFloat(r))+(n||Er(r))}},lI=function(e,n,r){return aS(e,n,0,1,r)},oS=function(e,n,r){return $o(r,function(i){return e[~~n(i)]})},uI=function t(e,n,r){var i=n-e;return xr(e)?oS(e,t(0,e.length),n):$o(r,function(s){return(i+(s-e)%i)%i+e})},cI=function t(e,n,r){var i=n-e,s=i*2;return xr(e)?oS(e,t(0,e.length-1),n):$o(r,function(o){return o=(s+(o-e)%s)%s||0,e+(o>i?s-o:o)})},oc=function(e){for(var n=0,r="",i,s,o,a;~(i=e.indexOf("random(",n));)o=e.indexOf(")",i),a=e.charAt(i+7)==="[",s=e.substr(i+7,o-i-7).match(a?Uw:Qp),r+=e.substr(n,i-n)+sS(a?s:+s[0],a?0:+s[1],+s[2]||1e-5),n=o+1;return r+e.substr(n,e.length-n)},aS=function(e,n,r,i,s){var o=n-e,a=i-r;return $o(s,function(u){return r+((u-e)/o*a||0)})},fI=function t(e,n,r,i){var s=isNaN(e+n)?0:function(h){return(1-h)*e+h*n};if(!s){var o=ur(e),a={},u,c,d,l,f;if(r===!0&&(i=1)&&(r=null),o)e={p:e},n={p:n};else if(xr(e)&&!xr(n)){for(d=[],l=e.length,f=l-2,c=1;c<l;c++)d.push(t(e[c-1],e[c]));l--,s=function(g){g*=l;var p=Math.min(f,~~g);return d[p](g-p)},r=n}else i||(e=Sl(xr(e)?[]:{},e));if(!d){for(u in n)Fg.call(a,e,u,"get",n[u]);s=function(g){return Hg(g,a)||(o?e.p:e)}}}return $o(r,s)},R0=function(e,n,r){var i=e.labels,s=Pi,o,a,u;for(o in i)a=i[o]-n,a<0==!!r&&a&&s>(a=Math.abs(a))&&(u=o,s=a);return u},pi=function(e,n,r){var i=e.vars,s=i[n],o=wn,a=e._ctx,u,c,d;if(s)return u=i[n+"Params"],c=i.callbackScope||e,r&&Eo.length&&cd(),a&&(wn=a),d=u?s.apply(c,u):s.call(c),wn=o,d},pu=function(e){return Po(e),e.scrollTrigger&&e.scrollTrigger.kill(!!pr),e.progress()<1&&pi(e,"onInterrupt"),e},rl,lS=[],uS=function(e){if(e)if(e=!e.name&&e.default||e,Cg()||e.headless){var n=e.name,r=Mn(e),i=n&&!r&&e.init?function(){this._props=[]}:e,s={init:sc,render:Hg,add:Fg,kill:RI,modifier:kI,rawVars:0},o={targetTest:0,get:0,getSetter:$g,aliases:{},register:0};if(El(),e!==i){if(ui[n])return;yi(i,yi(fd(e,s),o)),Sl(i.prototype,Sl(s,fd(e,o))),ui[i.prop=n]=i,e.targetTest&&(Mf.push(i),Ig[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}zw(n,i),e.register&&e.register(ni,i,Jr)}else lS.push(e)},un=255,mu={aqua:[0,un,un],lime:[0,un,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,un],navy:[0,0,128],white:[un,un,un],olive:[128,128,0],yellow:[un,un,0],orange:[un,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[un,0,0],pink:[un,192,203],cyan:[0,un,un],transparent:[un,un,un,0]},Qh=function(e,n,r){return e+=e<0?1:e>1?-1:0,(e*6<1?n+(r-n)*e*6:e<.5?r:e*3<2?n+(r-n)*(2/3-e)*6:n)*un+.5|0},cS=function(e,n,r){var i=e?eo(e)?[e>>16,e>>8&un,e&un]:0:mu.black,s,o,a,u,c,d,l,f,h,g;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),mu[e])i=mu[e];else if(e.charAt(0)==="#"){if(e.length<6&&(s=e.charAt(1),o=e.charAt(2),a=e.charAt(3),e="#"+s+s+o+o+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&un,i&un,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&un,e&un]}else if(e.substr(0,3)==="hsl"){if(i=g=e.match(Qp),!n)u=+i[0]%360/360,c=+i[1]/100,d=+i[2]/100,o=d<=.5?d*(c+1):d+c-d*c,s=d*2-o,i.length>3&&(i[3]*=1),i[0]=Qh(u+1/3,s,o),i[1]=Qh(u,s,o),i[2]=Qh(u-1/3,s,o);else if(~e.indexOf("="))return i=e.match(Bw),r&&i.length<4&&(i[3]=1),i}else i=e.match(Qp)||mu.transparent;i=i.map(Number)}return n&&!g&&(s=i[0]/un,o=i[1]/un,a=i[2]/un,l=Math.max(s,o,a),f=Math.min(s,o,a),d=(l+f)/2,l===f?u=c=0:(h=l-f,c=d>.5?h/(2-l-f):h/(l+f),u=l===s?(o-a)/h+(o<a?6:0):l===o?(a-s)/h+2:(s-o)/h+4,u*=60),i[0]=~~(u+.5),i[1]=~~(c*100+.5),i[2]=~~(d*100+.5)),r&&i.length<4&&(i[3]=1),i},fS=function(e){var n=[],r=[],i=-1;return e.split(ko).forEach(function(s){var o=s.match(nl)||[];n.push.apply(n,o),r.push(i+=o.length+1)}),n.c=r,n},C0=function(e,n,r){var i="",s=(e+i).match(ko),o=n?"hsla(":"rgba(",a=0,u,c,d,l;if(!s)return e;if(s=s.map(function(f){return(f=cS(f,n,1))&&o+(n?f[0]+","+f[1]+"%,"+f[2]+"%,"+f[3]:f.join(","))+")"}),r&&(d=fS(e),u=r.c,u.join(i)!==d.c.join(i)))for(c=e.replace(ko,"1").split(nl),l=c.length-1;a<l;a++)i+=c[a]+(~u.indexOf(a)?s.shift()||o+"0,0,0,0)":(d.length?d:s.length?s:r).shift());if(!c)for(c=e.split(ko),l=c.length-1;a<l;a++)i+=c[a]+s[a];return i+c[l]},ko=(function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in mu)t+="|"+e+"\\b";return new RegExp(t+")","gi")})(),dI=/hsl[a]?\(/,dS=function(e){var n=e.join(" "),r;if(ko.lastIndex=0,ko.test(n))return r=dI.test(n),e[1]=C0(e[1],r),e[0]=C0(e[0],r,fS(e[1])),!0},ac,fi=(function(){var t=Date.now,e=500,n=33,r=t(),i=r,s=1e3/240,o=s,a=[],u,c,d,l,f,h,g=function p(b){var y=t()-i,S=b===!0,E,T,k,M;if((y>e||y<0)&&(r+=y-n),i+=y,k=i-r,E=k-o,(E>0||S)&&(M=++l.frame,f=k-l.time*1e3,l.time=k=k/1e3,o+=E+(E>=s?4:s-E),T=1),S||(u=c(p)),T)for(h=0;h<a.length;h++)a[h](k,f,M,b)};return l={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(b){return f/(1e3/(b||60))},wake:function(){jw&&(!Jp&&Cg()&&(us=Jp=window,xg=us.document||{},vi.gsap=ni,(us.gsapVersions||(us.gsapVersions=[])).push(ni.version),Ww(ud||us.GreenSockGlobals||!us.gsap&&us||{}),lS.forEach(uS)),d=typeof requestAnimationFrame<"u"&&requestAnimationFrame,u&&l.sleep(),c=d||function(b){return setTimeout(b,o-l.time*1e3+1|0)},ac=1,g(2))},sleep:function(){(d?cancelAnimationFrame:clearTimeout)(u),ac=0,c=sc},lagSmoothing:function(b,y){e=b||1/0,n=Math.min(y||33,e)},fps:function(b){s=1e3/(b||240),o=l.time*1e3+s},add:function(b,y,S){var E=y?function(T,k,M,$){b(T,k,M,$),l.remove(E)}:b;return l.remove(b),a[S?"unshift":"push"](E),El(),E},remove:function(b,y){~(y=a.indexOf(b))&&a.splice(y,1)&&h>=y&&h--},_listeners:a},l})(),El=function(){return!ac&&fi.wake()},Dt={},hI=/^[\d.\-M][\d.\-,\s]/,pI=/["']/g,mI=function(e){for(var n={},r=e.substr(1,e.length-3).split(":"),i=r[0],s=1,o=r.length,a,u,c;s<o;s++)u=r[s],a=s!==o-1?u.lastIndexOf(","):u.length,c=u.substr(0,a),n[i]=isNaN(c)?c.replace(pI,"").trim():+c,i=u.substr(a+1).trim();return n},gI=function(e){var n=e.indexOf("(")+1,r=e.indexOf(")"),i=e.indexOf("(",n);return e.substring(n,~i&&i<r?e.indexOf(")",r+1):r)},_I=function(e){var n=(e+"").split("("),r=Dt[n[0]];return r&&n.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[mI(n[1])]:gI(e).split(",").map(Kw)):Dt._CE&&hI.test(e)?Dt._CE("",e):r},hS=function(e){return function(n){return 1-e(1-n)}},pS=function t(e,n){for(var r=e._first,i;r;)r instanceof Vr?t(r,n):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==n&&(r.timeline?t(r.timeline,n):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=n)),r=r._next},ha=function(e,n){return e&&(Mn(e)?e:Dt[e]||_I(e))||n},Ia=function(e,n,r,i){r===void 0&&(r=function(u){return 1-n(1-u)}),i===void 0&&(i=function(u){return u<.5?n(u*2)/2:1-n((1-u)*2)/2});var s={easeIn:n,easeOut:r,easeInOut:i},o;return Qr(e,function(a){Dt[a]=vi[a]=s,Dt[o=a.toLowerCase()]=r;for(var u in s)Dt[o+(u==="easeIn"?".in":u==="easeOut"?".out":".inOut")]=Dt[a+"."+u]=s[u]}),s},mS=function(e){return function(n){return n<.5?(1-e(1-n*2))/2:.5+e((n-.5)*2)/2}},Jh=function t(e,n,r){var i=n>=1?n:1,s=(r||(e?.3:.45))/(n<1?n:1),o=s/Xp*(Math.asin(1/i)||0),a=function(d){return d===1?1:i*Math.pow(2,-10*d)*zP((d-o)*s)+1},u=e==="out"?a:e==="in"?function(c){return 1-a(1-c)}:mS(a);return s=Xp/s,u.config=function(c,d){return t(e,c,d)},u},Zh=function t(e,n){n===void 0&&(n=1.70158);var r=function(o){return o?--o*o*((n+1)*o+n)+1:0},i=e==="out"?r:e==="in"?function(s){return 1-r(1-s)}:mS(r);return i.config=function(s){return t(e,s)},i};Qr("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var n=e<5?e+1:e;Ia(t+",Power"+(n-1),e?function(r){return Math.pow(r,n)}:function(r){return r},function(r){return 1-Math.pow(1-r,n)},function(r){return r<.5?Math.pow(r*2,n)/2:1-Math.pow((1-r)*2,n)/2})});Dt.Linear.easeNone=Dt.none=Dt.Linear.easeIn;Ia("Elastic",Jh("in"),Jh("out"),Jh());(function(t,e){var n=1/e,r=2*n,i=2.5*n,s=function(a){return a<n?t*a*a:a<r?t*Math.pow(a-1.5/e,2)+.75:a<i?t*(a-=2.25/e)*a+.9375:t*Math.pow(a-2.625/e,2)+.984375};Ia("Bounce",function(o){return 1-s(1-o)},s)})(7.5625,2.75);Ia("Expo",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)});Ia("Circ",function(t){return-($w(1-t*t)-1)});Ia("Sine",function(t){return t===1?1:-WP(t*UP)+1});Ia("Back",Zh("in"),Zh("out"),Zh());Dt.SteppedEase=Dt.steps=vi.SteppedEase={config:function(e,n){e===void 0&&(e=1);var r=1/e,i=e+(n?0:1),s=n?1:0,o=1-cn;return function(a){return((i*Rc(0,o,a)|0)+s)*r}}};wl.ease=Dt["quad.out"];Qr("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return Lg+=t+","+t+"Params,"});var gS=function(e,n){this.id=jP++,e._gsap=this,this.target=e,this.harness=n,this.get=n?n.get:qw,this.set=n?n.getSetter:$g},lc=(function(){function t(n){this.vars=n,this._delay=+n.delay||0,(this._repeat=n.repeat===1/0?-2:n.repeat||0)&&(this._rDelay=n.repeatDelay||0,this._yoyo=!!n.yoyo||!!n.yoyoEase),this._ts=1,Al(this,+n.duration,1,1),this.data=n.data,wn&&(this._ctx=wn,wn.data.push(this)),ac||fi.wake()}var e=t.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,Al(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,i){if(El(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(th(this,r),!s._dp||s.parent||Jw(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&hs(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===cn||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),Yw(this,r,i)),this},e.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+E0(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)+E0(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,i){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*s,i):this._repeat?Tl(this._tTime,s)+1:1},e.timeScale=function(r,i){if(!arguments.length)return this._rts===-cn?0:this._rts;if(this._rts===r)return this;var s=this.parent&&this._ts?dd(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-cn?0:this._rts,this.totalTime(Rc(-Math.abs(this._delay),this.totalDuration(),s),i!==!1),eh(this),JP(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):(El(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==cn&&(this._tTime-=cn)))),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)&&hs(i,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(Xr(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?dd(i.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=YP);var i=pr;return pr=r,Mg(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),pr=i,this},e.globalTime=function(r){for(var i=this,s=arguments.length?r:i.rawTime();i;)s=i._start+s/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(r):s},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,k0(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,k0(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(ki(this,r),Xr(i))},e.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,Xr(i)),this._dur||(this._zTime=-cn),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?-cn:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-cn,this},e.isActive=function(){var r=this.parent||this._dp,i=this._start,s;return!!(!r||this._ts&&this._initted&&r.isActive()&&(s=r.rawTime(!0))>=i&&s<this.endTime(!0)-cn)},e.eventCallback=function(r,i,s){var o=this.vars;return arguments.length>1?(i?(o[r]=i,s&&(o[r+"Params"]=s),r==="onUpdate"&&(this._onUpdate=i)):delete o[r],this):o[r]},e.then=function(r){var i=this;return new Promise(function(s){var o=Mn(r)?r:Xw,a=function(){var c=i.then;i.then=null,Mn(o)&&(o=o(i))&&(o.then||o===i)&&(i.then=c),s(o),i.then=c};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?a():i._prom=a})},e.kill=function(){pu(this)},t})();yi(lc.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:-cn,_prom:0,_ps:!1,_rts:1});var Vr=(function(t){Nw(e,t);function e(r,i){var s;return r===void 0&&(r={}),s=t.call(this,r)||this,s.labels={},s.smoothChildTiming=!!r.smoothChildTiming,s.autoRemoveChildren=!!r.autoRemoveChildren,s._sort=Xr(r.sortChildren),En&&hs(r.parent||En,Fs(s),i),r.reversed&&s.reverse(),r.paused&&s.paused(!0),r.scrollTrigger&&Zw(Fs(s),r.scrollTrigger),s}var n=e.prototype;return n.to=function(i,s,o){return Lu(0,arguments,this),this},n.from=function(i,s,o){return Lu(1,arguments,this),this},n.fromTo=function(i,s,o,a){return Lu(2,arguments,this),this},n.set=function(i,s,o){return s.duration=0,s.parent=this,Iu(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new Wn(i,s,ki(this,o),1),this},n.call=function(i,s,o){return hs(this,Wn.delayedCall(0,i,s),o)},n.staggerTo=function(i,s,o,a,u,c,d){return o.duration=s,o.stagger=o.stagger||a,o.onComplete=c,o.onCompleteParams=d,o.parent=this,new Wn(i,o,ki(this,u)),this},n.staggerFrom=function(i,s,o,a,u,c,d){return o.runBackwards=1,Iu(o).immediateRender=Xr(o.immediateRender),this.staggerTo(i,s,o,a,u,c,d)},n.staggerFromTo=function(i,s,o,a,u,c,d,l){return a.startAt=o,Iu(a).immediateRender=Xr(a.immediateRender),this.staggerTo(i,s,a,u,c,d,l)},n.render=function(i,s,o){var a=this._time,u=this._dirty?this.totalDuration():this._tDur,c=this._dur,d=i<=0?0:zn(i),l=this._zTime<0!=i<0&&(this._initted||!c),f,h,g,p,b,y,S,E,T,k,M,$;if(this!==En&&d>u&&i>=0&&(d=u),d!==this._tTime||o||l){if(a!==this._time&&c&&(d+=this._time-a,i+=this._time-a),f=d,T=this._start,E=this._ts,y=!E,l&&(c||(a=this._zTime),(i||!s)&&(this._zTime=i)),this._repeat){if(M=this._yoyo,b=c+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(b*100+i,s,o);if(f=zn(d%b),d===u?(p=this._repeat,f=c):(k=zn(d/b),p=~~k,p&&p===k&&(f=c,p--),f>c&&(f=c)),k=Tl(this._tTime,b),!a&&this._tTime&&k!==p&&this._tTime-k*b-this._dur<=0&&(k=p),M&&p&1&&(f=c-f,$=1),p!==k&&!this._lock){var H=M&&k&1,O=H===(M&&p&1);if(p<k&&(H=!H),a=H?0:d%c?c:d,this._lock=1,this.render(a||($?0:zn(p*b)),s,!c)._lock=0,this._tTime=d,!s&&this.parent&&pi(this,"onRepeat"),this.vars.repeatRefresh&&!$&&(this.invalidate()._lock=1),a&&a!==this._time||y!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(c=this._dur,u=this._tDur,O&&(this._lock=2,a=H?c:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!$&&this.invalidate()),this._lock=0,!this._ts&&!y)return this;pS(this,$)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(S=nI(this,zn(a),zn(f)),S&&(d-=f-(f=S._start))),this._tTime=d,this._time=f,this._act=!E,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,a=0),!a&&d&&!s&&!k&&(pi(this,"onStart"),this._tTime!==d))return this;if(f>=a&&i>=0)for(h=this._first;h;){if(g=h._next,(h._act||f>=h._start)&&h._ts&&S!==h){if(h.parent!==this)return this.render(i,s,o);if(h.render(h._ts>0?(f-h._start)*h._ts:(h._dirty?h.totalDuration():h._tDur)+(f-h._start)*h._ts,s,o),f!==this._time||!this._ts&&!y){S=0,g&&(d+=this._zTime=-cn);break}}h=g}else{h=this._last;for(var F=i<0?i:f;h;){if(g=h._prev,(h._act||F<=h._end)&&h._ts&&S!==h){if(h.parent!==this)return this.render(i,s,o);if(h.render(h._ts>0?(F-h._start)*h._ts:(h._dirty?h.totalDuration():h._tDur)+(F-h._start)*h._ts,s,o||pr&&Mg(h)),f!==this._time||!this._ts&&!y){S=0,g&&(d+=this._zTime=F?-cn:cn);break}}h=g}}if(S&&!s&&(this.pause(),S.render(f>=a?0:-cn)._zTime=f>=a?1:-1,this._ts))return this._start=T,eh(this),this.render(i,s,o);this._onUpdate&&!s&&pi(this,"onUpdate",!0),(d===u&&this._tTime>=this.totalDuration()||!d&&a)&&(T===this._start||Math.abs(E)!==Math.abs(this._ts))&&(this._lock||((i||!c)&&(d===u&&this._ts>0||!d&&this._ts<0)&&Po(this,1),!s&&!(i<0&&!a)&&(d||a||!u)&&(pi(this,d===u&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(d<u&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(i,s){var o=this;if(eo(s)||(s=ki(this,s,i)),!(i instanceof lc)){if(xr(i))return i.forEach(function(a){return o.add(a,s)}),this;if(ur(i))return this.addLabel(i,s);if(Mn(i))i=Wn.delayedCall(0,i);else return this}return this!==i?hs(this,i,s):this},n.getChildren=function(i,s,o,a){i===void 0&&(i=!0),s===void 0&&(s=!0),o===void 0&&(o=!0),a===void 0&&(a=-Pi);for(var u=[],c=this._first;c;)c._start>=a&&(c instanceof Wn?s&&u.push(c):(o&&u.push(c),i&&u.push.apply(u,c.getChildren(!0,s,o)))),c=c._next;return u},n.getById=function(i){for(var s=this.getChildren(1,1,1),o=s.length;o--;)if(s[o].vars.id===i)return s[o]},n.remove=function(i){return ur(i)?this.removeLabel(i):Mn(i)?this.killTweensOf(i):(i.parent===this&&Zd(this,i),i===this._recent&&(this._recent=this._last),da(this))},n.totalTime=function(i,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=zn(fi.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),t.prototype.totalTime.call(this,i,s),this._forcing=0,this):this._tTime},n.addLabel=function(i,s){return this.labels[i]=ki(this,s),this},n.removeLabel=function(i){return delete this.labels[i],this},n.addPause=function(i,s,o){var a=Wn.delayedCall(0,s||sc,o);return a.data="isPause",this._hasPause=1,hs(this,a,ki(this,i))},n.removePause=function(i){var s=this._first;for(i=ki(this,i);s;)s._start===i&&s.data==="isPause"&&Po(s),s=s._next},n.killTweensOf=function(i,s,o){for(var a=this.getTweensOf(i,o),u=a.length;u--;)_o!==a[u]&&a[u].kill(i,s);return this},n.getTweensOf=function(i,s){for(var o=[],a=Ii(i),u=this._first,c=eo(s),d;u;)u instanceof Wn?KP(u._targets,a)&&(c?(!_o||u._initted&&u._ts)&&u.globalTime(0)<=s&&u.globalTime(u.totalDuration())>s:!s||u.isActive())&&o.push(u):(d=u.getTweensOf(a,s)).length&&o.push.apply(o,d),u=u._next;return o},n.tweenTo=function(i,s){s=s||{};var o=this,a=ki(o,i),u=s,c=u.startAt,d=u.onStart,l=u.onStartParams,f=u.immediateRender,h,g=Wn.to(o,yi({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:s.duration||Math.abs((a-(c&&"time"in c?c.time:o._time))/o.timeScale())||cn,onStart:function(){if(o.pause(),!h){var b=s.duration||Math.abs((a-(c&&"time"in c?c.time:o._time))/o.timeScale());g._dur!==b&&Al(g,b,0,1).render(g._time,!0,!0),h=1}d&&d.apply(g,l||[])}},s));return f?g.render(0):g},n.tweenFromTo=function(i,s,o){return this.tweenTo(s,yi({startAt:{time:ki(this,i)}},o))},n.recent=function(){return this._recent},n.nextLabel=function(i){return i===void 0&&(i=this._time),R0(this,ki(this,i))},n.previousLabel=function(i){return i===void 0&&(i=this._time),R0(this,ki(this,i),1)},n.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+cn)},n.shiftChildren=function(i,s,o){o===void 0&&(o=0);for(var a=this._first,u=this.labels,c;a;)a._start>=o&&(a._start+=i,a._end+=i),a=a._next;if(s)for(c in u)u[c]>=o&&(u[c]+=i);return da(this)},n.invalidate=function(i){var s=this._first;for(this._lock=0;s;)s.invalidate(i),s=s._next;return t.prototype.invalidate.call(this,i)},n.clear=function(i){i===void 0&&(i=!0);for(var s=this._first,o;s;)o=s._next,this.remove(s),s=o;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),da(this)},n.totalDuration=function(i){var s=0,o=this,a=o._last,u=Pi,c,d,l;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-i:i));if(o._dirty){for(l=o.parent;a;)c=a._prev,a._dirty&&a.totalDuration(),d=a._start,d>u&&o._sort&&a._ts&&!o._lock?(o._lock=1,hs(o,a,d-a._delay,1)._lock=0):u=d,d<0&&a._ts&&(s-=d,(!l&&!o._dp||l&&l.smoothChildTiming)&&(o._start+=d/o._ts,o._time-=d,o._tTime-=d),o.shiftChildren(-d,!1,-1/0),u=0),a._end>s&&a._ts&&(s=a._end),a=c;Al(o,o===En&&o._time>s?o._time:s,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(i){if(En._ts&&(Yw(En,dd(i,En)),Gw=fi.frame),fi.frame>=T0){T0+=gi.autoSleep||120;var s=En._first;if((!s||!s._ts)&&gi.autoSleep&&fi._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||fi.sleep()}}},e})(lc);yi(Vr.prototype,{_lock:0,_hasPause:0,_forcing:0});var vI=function(e,n,r,i,s,o,a){var u=new Jr(this._pt,e,n,0,1,SS,null,s),c=0,d=0,l,f,h,g,p,b,y,S;for(u.b=r,u.e=i,r+="",i+="",(y=~i.indexOf("random("))&&(i=oc(i)),o&&(S=[r,i],o(S,e,n),r=S[0],i=S[1]),f=r.match(Kh)||[];l=Kh.exec(i);)g=l[0],p=i.substring(c,l.index),h?h=(h+1)%5:p.substr(-5)==="rgba("&&(h=1),g!==f[d++]&&(b=parseFloat(f[d-1])||0,u._pt={_next:u._pt,p:p||d===1?p:",",s:b,c:g.charAt(1)==="="?ul(b,g)-b:parseFloat(g)-b,m:h&&h<4?Math.round:0},c=Kh.lastIndex);return u.c=c<i.length?i.substring(c,i.length):"",u.fp=a,(Vw.test(i)||y)&&(u.e=0),this._pt=u,u},Fg=function(e,n,r,i,s,o,a,u,c,d){Mn(i)&&(i=i(s||0,e,o));var l=e[n],f=r!=="get"?r:Mn(l)?c?e[n.indexOf("set")||!Mn(e["get"+n.substr(3)])?n:"get"+n.substr(3)](c):e[n]():l,h=Mn(l)?c?TI:bS:Ng,g;if(ur(i)&&(~i.indexOf("random(")&&(i=oc(i)),i.charAt(1)==="="&&(g=ul(f,i)+(Er(f)||0),(g||g===0)&&(i=g))),!d||f!==i||sm)return!isNaN(f*i)&&i!==""?(g=new Jr(this._pt,e,n,+f||0,i-(f||0),typeof l=="boolean"?EI:wS,0,h),c&&(g.fp=c),a&&g.modifier(a,this,e),this._pt=g):(!l&&!(n in e)&&Pg(n,i),vI.call(this,e,n,f,i,h,u||gi.stringFilter,c))},yI=function(e,n,r,i,s){if(Mn(e)&&(e=Ou(e,s,n,r,i)),!ws(e)||e.style&&e.nodeType||xr(e)||Hw(e))return ur(e)?Ou(e,s,n,r,i):e;var o={},a;for(a in e)o[a]=Ou(e[a],s,n,r,i);return o},_S=function(e,n,r,i,s,o){var a,u,c,d;if(ui[e]&&(a=new ui[e]).init(s,a.rawVars?n[e]:yI(n[e],i,s,o,r),r,i,o)!==!1&&(r._pt=u=new Jr(r._pt,s,e,0,1,a.render,a,0,a.priority),r!==rl))for(c=r._ptLookup[r._targets.indexOf(s)],d=a._props.length;d--;)c[a._props[d]]=u;return a},_o,sm,Dg=function t(e,n,r){var i=e.vars,s=i.ease,o=i.startAt,a=i.immediateRender,u=i.lazy,c=i.onUpdate,d=i.runBackwards,l=i.yoyoEase,f=i.keyframes,h=i.autoRevert,g=e._dur,p=e._startAt,b=e._targets,y=e.parent,S=y&&y.data==="nested"?y.vars.targets:b,E=e._overwrite==="auto"&&!kg,T=e.timeline,k,M,$,H,O,F,re,N,P,z,Q,B,G;if(T&&(!f||!s)&&(s="none"),e._ease=ha(s,wl.ease),e._yEase=l?hS(ha(l===!0?s:l,wl.ease)):0,l&&e._yoyo&&!e._repeat&&(l=e._yEase,e._yEase=e._ease,e._ease=l),e._from=!T&&!!i.runBackwards,!T||f&&!i.stagger){if(N=b[0]?fa(b[0]).harness:0,B=N&&i[N.prop],k=fd(i,Ig),p&&(p._zTime<0&&p.progress(1),n<0&&d&&a&&!h?p.render(-1,!0):p.revert(d&&g?Of:qP),p._lazy=0),o){if(Po(e._startAt=Wn.set(b,yi({data:"isStart",overwrite:!1,parent:y,immediateRender:!0,lazy:!p&&Xr(u),startAt:null,delay:0,onUpdate:c&&function(){return pi(e,"onUpdate")},stagger:0},o))),e._startAt._dp=0,e._startAt._sat=e,n<0&&(pr||!a&&!h)&&e._startAt.revert(Of),a&&g&&n<=0&&r<=0){n&&(e._zTime=n);return}}else if(d&&g&&!p){if(n&&(a=!1),$=yi({overwrite:!1,data:"isFromStart",lazy:a&&!p&&Xr(u),immediateRender:a,stagger:0,parent:y},k),B&&($[N.prop]=B),Po(e._startAt=Wn.set(b,$)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(pr?e._startAt.revert(Of):e._startAt.render(-1,!0)),e._zTime=n,!a)t(e._startAt,cn,cn);else if(!n)return}for(e._pt=e._ptCache=0,u=g&&Xr(u)||u&&!g,M=0;M<b.length;M++){if(O=b[M],re=O._gsap||Og(b)[M]._gsap,e._ptLookup[M]=z={},Zp[re.id]&&Eo.length&&cd(),Q=S===b?M:S.indexOf(O),N&&(P=new N).init(O,B||k,e,Q,S)!==!1&&(e._pt=H=new Jr(e._pt,O,P.name,0,1,P.render,P,0,P.priority),P._props.forEach(function(ie){z[ie]=H}),P.priority&&(F=1)),!N||B)for($ in k)ui[$]&&(P=_S($,k,e,Q,O,S))?P.priority&&(F=1):z[$]=H=Fg.call(e,O,$,"get",k[$],Q,S,0,i.stringFilter);e._op&&e._op[M]&&e.kill(O,e._op[M]),E&&e._pt&&(_o=e,En.killTweensOf(O,z,e.globalTime(n)),G=!e.parent,_o=0),e._pt&&u&&(Zp[re.id]=1)}F&&TS(e),e._onInit&&e._onInit(e)}e._onUpdate=c,e._initted=(!e._op||e._pt)&&!G,f&&n<=0&&T.render(Pi,!0,!0)},bI=function(e,n,r,i,s,o,a,u){var c=(e._pt&&e._ptCache||(e._ptCache={}))[n],d,l,f,h;if(!c)for(c=e._ptCache[n]=[],f=e._ptLookup,h=e._targets.length;h--;){if(d=f[h][n],d&&d.d&&d.d._pt)for(d=d.d._pt;d&&d.p!==n&&d.fp!==n;)d=d._next;if(!d)return sm=1,e.vars[n]="+=0",Dg(e,a),sm=0,u?ic(n+" not eligible for reset"):1;c.push(d)}for(h=c.length;h--;)l=c[h],d=l._pt||l,d.s=(i||i===0)&&!s?i:d.s+(i||0)+o*d.c,d.c=r-d.s,l.e&&(l.e=$n(r)+Er(l.e)),l.b&&(l.b=d.s+Er(l.b))},wI=function(e,n){var r=e[0]?fa(e[0]).harness:0,i=r&&r.aliases,s,o,a,u;if(!i)return n;s=Sl({},n);for(o in i)if(o in s)for(u=i[o].split(","),a=u.length;a--;)s[u[a]]=s[o];return s},SI=function(e,n,r,i){var s=n.ease||i||"power1.inOut",o,a;if(xr(n))a=r[e]||(r[e]=[]),n.forEach(function(u,c){return a.push({t:c/(n.length-1)*100,v:u,e:s})});else for(o in n)a=r[o]||(r[o]=[]),o==="ease"||a.push({t:parseFloat(e),v:n[o],e:s})},Ou=function(e,n,r,i,s){return Mn(e)?e.call(n,r,i,s):ur(e)&&~e.indexOf("random(")?oc(e):e},vS=Lg+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",yS={};Qr(vS+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return yS[t]=1});var Wn=(function(t){Nw(e,t);function e(r,i,s,o){var a;typeof i=="number"&&(s.duration=i,i=s,s=null),a=t.call(this,o?i:Iu(i))||this;var u=a.vars,c=u.duration,d=u.delay,l=u.immediateRender,f=u.stagger,h=u.overwrite,g=u.keyframes,p=u.defaults,b=u.scrollTrigger,y=u.yoyoEase,S=i.parent||En,E=(xr(r)||Hw(r)?eo(r[0]):"length"in i)?[r]:Ii(r),T,k,M,$,H,O,F,re;if(a._targets=E.length?Og(E):ic("GSAP target "+r+" not found. https://gsap.com",!gi.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=h,g||f||rf(c)||rf(d)){if(i=a.vars,T=a.timeline=new Vr({data:"nested",defaults:p||{},targets:S&&S.data==="nested"?S.vars.targets:E}),T.kill(),T.parent=T._dp=Fs(a),T._start=0,f||rf(c)||rf(d)){if($=E.length,F=f&&rS(f),ws(f))for(H in f)~vS.indexOf(H)&&(re||(re={}),re[H]=f[H]);for(k=0;k<$;k++)M=fd(i,yS),M.stagger=0,y&&(M.yoyoEase=y),re&&Sl(M,re),O=E[k],M.duration=+Ou(c,Fs(a),k,O,E),M.delay=(+Ou(d,Fs(a),k,O,E)||0)-a._delay,!f&&$===1&&M.delay&&(a._delay=d=M.delay,a._start+=d,M.delay=0),T.to(O,M,F?F(k,O,E):0),T._ease=Dt.none;T.duration()?c=d=0:a.timeline=0}else if(g){Iu(yi(T.vars.defaults,{ease:"none"})),T._ease=ha(g.ease||i.ease||"none");var N=0,P,z,Q;if(xr(g))g.forEach(function(B){return T.to(E,B,">")}),T.duration();else{M={};for(H in g)H==="ease"||H==="easeEach"||SI(H,g[H],M,g.easeEach);for(H in M)for(P=M[H].sort(function(B,G){return B.t-G.t}),N=0,k=0;k<P.length;k++)z=P[k],Q={ease:z.e,duration:(z.t-(k?P[k-1].t:0))/100*c},Q[H]=z.v,T.to(E,Q,N),N+=Q.duration;T.duration()<c&&T.to({},{duration:c-T.duration()})}}c||a.duration(c=T.duration())}else a.timeline=0;return h===!0&&!kg&&(_o=Fs(a),En.killTweensOf(E),_o=0),hs(S,Fs(a),s),i.reversed&&a.reverse(),i.paused&&a.paused(!0),(l||!c&&!g&&a._start===zn(S._time)&&Xr(l)&&ZP(Fs(a))&&S.data!=="nested")&&(a._tTime=-cn,a.render(Math.max(0,-d)||0)),b&&Zw(Fs(a),b),a}var n=e.prototype;return n.render=function(i,s,o){var a=this._time,u=this._tDur,c=this._dur,d=i<0,l=i>u-cn&&!d?u:i<cn?0:i,f,h,g,p,b,y,S,E,T;if(!c)tI(this,i,s,o);else if(l!==this._tTime||!i||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==d||this._lazy){if(f=l,E=this.timeline,this._repeat){if(p=c+this._rDelay,this._repeat<-1&&d)return this.totalTime(p*100+i,s,o);if(f=zn(l%p),l===u?(g=this._repeat,f=c):(b=zn(l/p),g=~~b,g&&g===b?(f=c,g--):f>c&&(f=c)),y=this._yoyo&&g&1,y&&(T=this._yEase,f=c-f),b=Tl(this._tTime,p),f===a&&!o&&this._initted&&g===b)return this._tTime=l,this;g!==b&&(E&&this._yEase&&pS(E,y),this.vars.repeatRefresh&&!y&&!this._lock&&f!==p&&this._initted&&(this._lock=o=1,this.render(zn(p*g),!0).invalidate()._lock=0))}if(!this._initted){if(eS(this,d?i:f,o,s,l))return this._tTime=0,this;if(a!==this._time&&!(o&&this.vars.repeatRefresh&&g!==b))return this;if(c!==this._dur)return this.render(i,s,o)}if(this._tTime=l,this._time=f,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=S=(T||this._ease)(f/c),this._from&&(this.ratio=S=1-S),!a&&l&&!s&&!b&&(pi(this,"onStart"),this._tTime!==l))return this;for(h=this._pt;h;)h.r(S,h.d),h=h._next;E&&E.render(i<0?i:E._dur*E._ease(f/this._dur),s,o)||this._startAt&&(this._zTime=i),this._onUpdate&&!s&&(d&&em(this,i,s,o),pi(this,"onUpdate")),this._repeat&&g!==b&&this.vars.onRepeat&&!s&&this.parent&&pi(this,"onRepeat"),(l===this._tDur||!l)&&this._tTime===l&&(d&&!this._onUpdate&&em(this,i,!0,!0),(i||!c)&&(l===this._tDur&&this._ts>0||!l&&this._ts<0)&&Po(this,1),!s&&!(d&&!a)&&(l||a||y)&&(pi(this,l===u?"onComplete":"onReverseComplete",!0),this._prom&&!(l<u&&this.timeScale()>0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.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),t.prototype.invalidate.call(this,i)},n.resetTo=function(i,s,o,a,u){ac||fi.wake(),this._ts||this.play();var c=Math.min(this._dur,(this._dp._time-this._start)*this._ts),d;return this._initted||Dg(this,c),d=this._ease(c/this._dur),bI(this,i,s,o,a,d,c,u)?this.resetTo(i,s,o,a,1):(th(this,0),this.parent||Qw(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(i,s){if(s===void 0&&(s="all"),!i&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?pu(this):this.scrollTrigger&&this.scrollTrigger.kill(!!pr),this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(i,s,_o&&_o.vars.overwrite!==!0)._first||pu(this),this.parent&&o!==this.timeline.totalDuration()&&Al(this,this._dur*this.timeline._tDur/o,0,1),this}var a=this._targets,u=i?Ii(i):a,c=this._ptLookup,d=this._pt,l,f,h,g,p,b,y;if((!s||s==="all")&&QP(a,u))return s==="all"&&(this._pt=0),pu(this);for(l=this._op=this._op||[],s!=="all"&&(ur(s)&&(p={},Qr(s,function(S){return p[S]=1}),s=p),s=wI(a,s)),y=a.length;y--;)if(~u.indexOf(a[y])){f=c[y],s==="all"?(l[y]=s,g=f,h={}):(h=l[y]=l[y]||{},g=s);for(p in g)b=f&&f[p],b&&((!("kill"in b.d)||b.d.kill(p)===!0)&&Zd(this,b,"_pt"),delete f[p]),h!=="all"&&(h[p]=1)}return this._initted&&!this._pt&&d&&pu(this),this},e.to=function(i,s){return new e(i,s,arguments[2])},e.from=function(i,s){return Lu(1,arguments)},e.delayedCall=function(i,s,o,a){return new e(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:s,onReverseComplete:s,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:a})},e.fromTo=function(i,s,o){return Lu(2,arguments)},e.set=function(i,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new e(i,s)},e.killTweensOf=function(i,s,o){return En.killTweensOf(i,s,o)},e})(lc);yi(Wn.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Qr("staggerTo,staggerFrom,staggerFromTo",function(t){Wn[t]=function(){var e=new Vr,n=nm.call(arguments,0);return n.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,n)}});var Ng=function(e,n,r){return e[n]=r},bS=function(e,n,r){return e[n](r)},TI=function(e,n,r,i){return e[n](i.fp,r)},AI=function(e,n,r){return e.setAttribute(n,r)},$g=function(e,n){return Mn(e[n])?bS:Rg(e[n])&&e.setAttribute?AI:Ng},wS=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e6)/1e6,n)},EI=function(e,n){return n.set(n.t,n.p,!!(n.s+n.c*e),n)},SS=function(e,n){var r=n._pt,i="";if(!e&&n.b)i=n.b;else if(e===1&&n.e)i=n.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+=n.c}n.set(n.t,n.p,i,n)},Hg=function(e,n){for(var r=n._pt;r;)r.r(e,r.d),r=r._next},kI=function(e,n,r,i){for(var s=this._pt,o;s;)o=s._next,s.p===i&&s.modifier(e,n,r),s=o},RI=function(e){for(var n=this._pt,r,i;n;)i=n._next,n.p===e&&!n.op||n.op===e?Zd(this,n,"_pt"):n.dep||(r=1),n=i;return!r},CI=function(e,n,r,i){i.mSet(e,n,i.m.call(i.tween,r,i.mt),i)},TS=function(e){for(var n=e._pt,r,i,s,o;n;){for(r=n._next,i=s;i&&i.pr>n.pr;)i=i._next;(n._prev=i?i._prev:o)?n._prev._next=n:s=n,(n._next=i)?i._prev=n:o=n,n=r}e._pt=s},Jr=(function(){function t(n,r,i,s,o,a,u,c,d){this.t=r,this.s=s,this.c=o,this.p=i,this.r=a||wS,this.d=u||this,this.set=c||Ng,this.pr=d||0,this._next=n,n&&(n._prev=this)}var e=t.prototype;return e.modifier=function(r,i,s){this.mSet=this.mSet||this.set,this.set=CI,this.m=r,this.mt=s,this.tween=i},t})();Qr(Lg+"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(t){return Ig[t]=1});vi.TweenMax=vi.TweenLite=Wn;vi.TimelineLite=vi.TimelineMax=Vr;En=new Vr({sortChildren:!1,defaults:wl,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});gi.stringFilter=dS;var pa=[],Ff={},xI=[],x0=0,PI=0,ep=function(e){return(Ff[e]||xI).map(function(n){return n()})},om=function(){var e=Date.now(),n=[];e-x0>2&&(ep("matchMediaInit"),pa.forEach(function(r){var i=r.queries,s=r.conditions,o,a,u,c;for(a in i)o=us.matchMedia(i[a]).matches,o&&(u=1),o!==s[a]&&(s[a]=o,c=1);c&&(r.revert(),u&&n.push(r))}),ep("matchMediaRevert"),n.forEach(function(r){return r.onMatch(r,function(i){return r.add(null,i)})}),x0=e,ep("matchMedia"))},AS=(function(){function t(n,r){this.selector=r&&rm(r),this.data=[],this._r=[],this.isReverted=!1,this.id=PI++,n&&this.add(n)}var e=t.prototype;return e.add=function(r,i,s){Mn(r)&&(s=i,i=r,r=Mn);var o=this,a=function(){var c=wn,d=o.selector,l;return c&&c!==o&&c.data.push(o),s&&(o.selector=rm(s)),wn=o,l=i.apply(o,arguments),Mn(l)&&o._r.push(l),wn=c,o.selector=d,o.isReverted=!1,l};return o.last=a,r===Mn?a(o,function(u){return o.add(null,u)}):r?o[r]=a:a},e.ignore=function(r){var i=wn;wn=null,r(this),wn=i},e.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof t?r.push.apply(r,i.getTweens()):i instanceof Wn&&!(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 s=this;if(r?(function(){for(var a=s.getTweens(),u=s.data.length,c;u--;)c=s.data[u],c.data==="isFlip"&&(c.revert(),c.getChildren(!0,!0,!1).forEach(function(d){return a.splice(a.indexOf(d),1)}));for(a.map(function(d){return{g:d._dur||d._delay||d._sat&&!d._sat.vars.immediateRender?d.globalTime(0):-1/0,t:d}}).sort(function(d,l){return l.g-d.g||-1/0}).forEach(function(d){return d.t.revert(r)}),u=s.data.length;u--;)c=s.data[u],c instanceof Vr?c.data!=="nested"&&(c.scrollTrigger&&c.scrollTrigger.revert(),c.kill()):!(c instanceof Wn)&&c.revert&&c.revert(r);s._r.forEach(function(d){return d(r,s)}),s.isReverted=!0})():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),i)for(var o=pa.length;o--;)pa[o].id===this.id&&pa.splice(o,1)},e.revert=function(r){this.kill(r||{})},t})(),II=(function(){function t(n){this.contexts=[],this.scope=n,wn&&wn.data.push(this)}var e=t.prototype;return e.add=function(r,i,s){ws(r)||(r={matches:r});var o=new AS(0,s||this.scope),a=o.conditions={},u,c,d;wn&&!o.selector&&(o.selector=wn.selector),this.contexts.push(o),i=o.add("onMatch",i),o.queries=r;for(c in r)c==="all"?d=1:(u=us.matchMedia(r[c]),u&&(pa.indexOf(o)<0&&pa.push(o),(a[c]=u.matches)&&(d=1),u.addListener?u.addListener(om):u.addEventListener("change",om)));return d&&i(o,function(l){return o.add(null,l)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},t})(),hd={registerPlugin:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];n.forEach(function(i){return uS(i)})},timeline:function(e){return new Vr(e)},getTweensOf:function(e,n){return En.getTweensOf(e,n)},getProperty:function(e,n,r,i){ur(e)&&(e=Ii(e)[0]);var s=fa(e||{}).get,o=r?Xw:Kw;return r==="native"&&(r=""),e&&(n?o((ui[n]&&ui[n].get||s)(e,n,r,i)):function(a,u,c){return o((ui[a]&&ui[a].get||s)(e,a,u,c))})},quickSetter:function(e,n,r){if(e=Ii(e),e.length>1){var i=e.map(function(d){return ni.quickSetter(d,n,r)}),s=i.length;return function(d){for(var l=s;l--;)i[l](d)}}e=e[0]||{};var o=ui[n],a=fa(e),u=a.harness&&(a.harness.aliases||{})[n]||n,c=o?function(d){var l=new o;rl._pt=0,l.init(e,r?d+r:d,rl,0,[e]),l.render(1,l),rl._pt&&Hg(1,rl)}:a.set(e,u);return o?c:function(d){return c(e,u,r?d+r:d,a,1)}},quickTo:function(e,n,r){var i,s=ni.to(e,yi((i={},i[n]="+=0.1",i.paused=!0,i.stagger=0,i),r||{})),o=function(u,c,d){return s.resetTo(n,u,c,d)};return o.tween=s,o},isTweening:function(e){return En.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=ha(e.ease,wl.ease)),A0(wl,e||{})},config:function(e){return A0(gi,e||{})},registerEffect:function(e){var n=e.name,r=e.effect,i=e.plugins,s=e.defaults,o=e.extendTimeline;(i||"").split(",").forEach(function(a){return a&&!ui[a]&&!vi[a]&&ic(n+" effect requires "+a+" plugin.")}),Xh[n]=function(a,u,c){return r(Ii(a),yi(u||{},s),c)},o&&(Vr.prototype[n]=function(a,u,c){return this.add(Xh[n](a,ws(u)?u:(c=u)&&{},this),c)})},registerEase:function(e,n){Dt[e]=ha(n)},parseEase:function(e,n){return arguments.length?ha(e,n):Dt},getById:function(e){return En.getById(e)},exportRoot:function(e,n){e===void 0&&(e={});var r=new Vr(e),i,s;for(r.smoothChildTiming=Xr(e.smoothChildTiming),En.remove(r),r._dp=0,r._time=r._tTime=En._time,i=En._first;i;)s=i._next,(n||!(!i._dur&&i instanceof Wn&&i.vars.onComplete===i._targets[0]))&&hs(r,i,i._start-i._delay),i=s;return hs(En,r,0),r},context:function(e,n){return e?new AS(e,n):wn},matchMedia:function(e){return new II(e)},matchMediaRefresh:function(){return pa.forEach(function(e){var n=e.conditions,r,i;for(i in n)n[i]&&(n[i]=!1,r=1);r&&e.revert()})||om()},addEventListener:function(e,n){var r=Ff[e]||(Ff[e]=[]);~r.indexOf(n)||r.push(n)},removeEventListener:function(e,n){var r=Ff[e],i=r&&r.indexOf(n);i>=0&&r.splice(i,1)},utils:{wrap:uI,wrapYoyo:cI,distribute:rS,random:sS,snap:iS,normalize:lI,getUnit:Er,clamp:iI,splitColor:cS,toArray:Ii,selector:rm,mapRange:aS,pipe:oI,unitize:aI,interpolate:fI,shuffle:nS},install:Ww,effects:Xh,ticker:fi,updateRoot:Vr.updateRoot,plugins:ui,globalTimeline:En,core:{PropTween:Jr,globals:zw,Tween:Wn,Timeline:Vr,Animation:lc,getCache:fa,_removeLinkedListItem:Zd,reverting:function(){return pr},context:function(e){return e&&wn&&(wn.data.push(e),e._ctx=wn),wn},suppressOverwrites:function(e){return kg=e}}};Qr("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return hd[t]=Wn[t]});fi.add(Vr.updateRoot);rl=hd.to({},{duration:0});var LI=function(e,n){for(var r=e._pt;r&&r.p!==n&&r.op!==n&&r.fp!==n;)r=r._next;return r},OI=function(e,n){var r=e._targets,i,s,o;for(i in n)for(s=r.length;s--;)o=e._ptLookup[s][i],o&&(o=o.d)&&(o._pt&&(o=LI(o,i)),o&&o.modifier&&o.modifier(n[i],e,r[s],i))},tp=function(e,n){return{name:e,headless:1,rawVars:1,init:function(i,s,o){o._onInit=function(a){var u,c;if(ur(s)&&(u={},Qr(s,function(d){return u[d]=1}),s=u),n){u={};for(c in s)u[c]=n(s[c]);s=u}OI(a,s)}}}},ni=hd.registerPlugin({name:"attr",init:function(e,n,r,i,s){var o,a,u;this.tween=r;for(o in n)u=e.getAttribute(o)||"",a=this.add(e,"setAttribute",(u||0)+"",n[o],i,s,0,0,o),a.op=o,a.b=u,this._props.push(o)},render:function(e,n){for(var r=n._pt;r;)pr?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",headless:1,init:function(e,n){for(var r=n.length;r--;)this.add(e,r,e[r]||0,n[r],0,0,0,0,0,1)}},tp("roundProps",im),tp("modifiers"),tp("snap",iS))||hd;Wn.version=Vr.version=ni.version="3.13.0";jw=1;Cg()&&El();Dt.Power0;Dt.Power1;Dt.Power2;Dt.Power3;Dt.Power4;Dt.Linear;Dt.Quad;Dt.Cubic;Dt.Quart;Dt.Quint;Dt.Strong;Dt.Elastic;Dt.Back;Dt.SteppedEase;Dt.Bounce;Dt.Sine;Dt.Expo;Dt.Circ;/*!
* 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
*/var P0,vo,cl,Bg,oa,I0,Vg,MI=function(){return typeof window<"u"},to={},Zo=180/Math.PI,fl=Math.PI/180,Ua=Math.atan2,L0=1e8,Ug=/([A-Z])/g,FI=/(left|right|width|margin|padding|x)/i,DI=/[\s,\(]\S/,ps={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},am=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},NI=function(e,n){return n.set(n.t,n.p,e===1?n.e:Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},$I=function(e,n){return n.set(n.t,n.p,e?Math.round((n.s+n.c*e)*1e4)/1e4+n.u:n.b,n)},HI=function(e,n){var r=n.s+n.c*e;n.set(n.t,n.p,~~(r+(r<0?-.5:.5))+n.u,n)},ES=function(e,n){return n.set(n.t,n.p,e?n.e:n.b,n)},kS=function(e,n){return n.set(n.t,n.p,e!==1?n.b:n.e,n)},BI=function(e,n,r){return e.style[n]=r},VI=function(e,n,r){return e.style.setProperty(n,r)},UI=function(e,n,r){return e._gsap[n]=r},jI=function(e,n,r){return e._gsap.scaleX=e._gsap.scaleY=r},WI=function(e,n,r,i,s){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(s,o)},zI=function(e,n,r,i,s){var o=e._gsap;o[n]=r,o.renderTransform(s,o)},Rn="transform",Zr=Rn+"Origin",GI=function t(e,n){var r=this,i=this.target,s=i.style,o=i._gsap;if(e in to&&s){if(this.tfm=this.tfm||{},e!=="transform")e=ps[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return r.tfm[a]=Hs(i,a)}):this.tfm[e]=o.x?o[e]:Hs(i,e),e===Zr&&(this.tfm.zOrigin=o.zOrigin);else return ps.transform.split(",").forEach(function(a){return t.call(r,a,n)});if(this.props.indexOf(Rn)>=0)return;o.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(Zr,n,"")),e=Rn}(s||n)&&this.props.push(e,n,s[e])},RS=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},qI=function(){var e=this.props,n=this.target,r=n.style,i=n._gsap,s,o;for(s=0;s<e.length;s+=3)e[s+1]?e[s+1]===2?n[e[s]](e[s+2]):n[e[s]]=e[s+2]:e[s+2]?r[e[s]]=e[s+2]:r.removeProperty(e[s].substr(0,2)==="--"?e[s]:e[s].replace(Ug,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)i[o]=this.tfm[o];i.svg&&(i.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),s=Vg(),(!s||!s.isStart)&&!r[Rn]&&(RS(r),i.zOrigin&&r[Zr]&&(r[Zr]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},CS=function(e,n){var r={target:e,props:[],revert:qI,save:GI};return e._gsap||ni.core.getCache(e),n&&e.style&&e.nodeType&&n.split(",").forEach(function(i){return r.save(i)}),r},xS,lm=function(e,n){var r=vo.createElementNS?vo.createElementNS((n||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):vo.createElement(e);return r&&r.style?r:vo.createElement(e)},Li=function t(e,n,r){var i=getComputedStyle(e);return i[n]||i.getPropertyValue(n.replace(Ug,"-$1").toLowerCase())||i.getPropertyValue(n)||!r&&t(e,kl(n)||n,1)||""},O0="O,Moz,ms,Ms,Webkit".split(","),kl=function(e,n,r){var i=n||oa,s=i.style,o=5;if(e in s&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(O0[o]+e in s););return o<0?null:(o===3?"ms":o>=0?O0[o]:"")+e},um=function(){MI()&&window.document&&(P0=window,vo=P0.document,cl=vo.documentElement,oa=lm("div")||{style:{}},lm("div"),Rn=kl(Rn),Zr=Rn+"Origin",oa.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",xS=!!kl("perspective"),Vg=ni.core.reverting,Bg=1)},M0=function(e){var n=e.ownerSVGElement,r=lm("svg",n&&n.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),s;i.style.display="block",r.appendChild(i),cl.appendChild(r);try{s=i.getBBox()}catch{}return r.removeChild(i),cl.removeChild(r),s},F0=function(e,n){for(var r=n.length;r--;)if(e.hasAttribute(n[r]))return e.getAttribute(n[r])},PS=function(e){var n,r;try{n=e.getBBox()}catch{n=M0(e),r=1}return n&&(n.width||n.height)||r||(n=M0(e)),n&&!n.width&&!n.x&&!n.y?{x:+F0(e,["x","cx","x1"])||0,y:+F0(e,["y","cy","y1"])||0,width:0,height:0}:n},IS=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&PS(e))},Sa=function(e,n){if(n){var r=e.style,i;n in to&&n!==Zr&&(n=Rn),r.removeProperty?(i=n.substr(0,2),(i==="ms"||n.substr(0,6)==="webkit")&&(n="-"+n),r.removeProperty(i==="--"?n:n.replace(Ug,"-$1").toLowerCase())):r.removeAttribute(n)}},yo=function(e,n,r,i,s,o){var a=new Jr(e._pt,n,r,0,1,o?kS:ES);return e._pt=a,a.b=i,a.e=s,e._props.push(r),a},D0={deg:1,rad:1,turn:1},YI={grid:1,flex:1},Io=function t(e,n,r,i){var s=parseFloat(r)||0,o=(r+"").trim().substr((s+"").length)||"px",a=oa.style,u=FI.test(n),c=e.tagName.toLowerCase()==="svg",d=(c?"client":"offset")+(u?"Width":"Height"),l=100,f=i==="px",h=i==="%",g,p,b,y;if(i===o||!s||D0[i]||D0[o])return s;if(o!=="px"&&!f&&(s=t(e,n,r,"px")),y=e.getCTM&&IS(e),(h||o==="%")&&(to[n]||~n.indexOf("adius")))return g=y?e.getBBox()[u?"width":"height"]:e[d],$n(h?s/g*l:s/100*g);if(a[u?"width":"height"]=l+(f?o:i),p=i!=="rem"&&~n.indexOf("adius")||i==="em"&&e.appendChild&&!c?e:e.parentNode,y&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===vo||!p.appendChild)&&(p=vo.body),b=p._gsap,b&&h&&b.width&&u&&b.time===fi.time&&!b.uncache)return $n(s/b.width*l);if(h&&(n==="height"||n==="width")){var S=e.style[n];e.style[n]=l+i,g=e[d],S?e.style[n]=S:Sa(e,n)}else(h||o==="%")&&!YI[Li(p,"display")]&&(a.position=Li(e,"position")),p===e&&(a.position="static"),p.appendChild(oa),g=oa[d],p.removeChild(oa),a.position="absolute";return u&&h&&(b=fa(p),b.time=fi.time,b.width=p[d]),$n(f?g*s/l:g&&s?l/g*s:0)},Hs=function(e,n,r,i){var s;return Bg||um(),n in ps&&n!=="transform"&&(n=ps[n],~n.indexOf(",")&&(n=n.split(",")[0])),to[n]&&n!=="transform"?(s=cc(e,i),s=n!=="transformOrigin"?s[n]:s.svg?s.origin:md(Li(e,Zr))+" "+s.zOrigin+"px"):(s=e.style[n],(!s||s==="auto"||i||~(s+"").indexOf("calc("))&&(s=pd[n]&&pd[n](e,n,r)||Li(e,n)||qw(e,n)||(n==="opacity"?1:0))),r&&!~(s+"").trim().indexOf(" ")?Io(e,n,s,r)+r:s},KI=function(e,n,r,i){if(!r||r==="none"){var s=kl(n,e,1),o=s&&Li(e,s,1);o&&o!==r?(n=s,r=o):n==="borderColor"&&(r=Li(e,"borderTopColor"))}var a=new Jr(this._pt,e.style,n,0,1,SS),u=0,c=0,d,l,f,h,g,p,b,y,S,E,T,k;if(a.b=r,a.e=i,r+="",i+="",i.substring(0,6)==="var(--"&&(i=Li(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(p=e.style[n],e.style[n]=i,i=Li(e,n)||i,p?e.style[n]=p:Sa(e,n)),d=[r,i],dS(d),r=d[0],i=d[1],f=r.match(nl)||[],k=i.match(nl)||[],k.length){for(;l=nl.exec(i);)b=l[0],S=i.substring(u,l.index),g?g=(g+1)%5:(S.substr(-5)==="rgba("||S.substr(-5)==="hsla(")&&(g=1),b!==(p=f[c++]||"")&&(h=parseFloat(p)||0,T=p.substr((h+"").length),b.charAt(1)==="="&&(b=ul(h,b)+T),y=parseFloat(b),E=b.substr((y+"").length),u=nl.lastIndex-E.length,E||(E=E||gi.units[n]||T,u===i.length&&(i+=E,a.e+=E)),T!==E&&(h=Io(e,n,p,E)||0),a._pt={_next:a._pt,p:S||c===1?S:",",s:h,c:y-h,m:g&&g<4||n==="zIndex"?Math.round:0});a.c=u<i.length?i.substring(u,i.length):""}else a.r=n==="display"&&i==="none"?kS:ES;return Vw.test(i)&&(a.e=0),this._pt=a,a},N0={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},XI=function(e){var n=e.split(" "),r=n[0],i=n[1]||"50%";return(r==="top"||r==="bottom"||i==="left"||i==="right")&&(e=r,r=i,i=e),n[0]=N0[r]||r,n[1]=N0[i]||i,n.join(" ")},QI=function(e,n){if(n.tween&&n.tween._time===n.tween._dur){var r=n.t,i=r.style,s=n.u,o=r._gsap,a,u,c;if(s==="all"||s===!0)i.cssText="",u=1;else for(s=s.split(","),c=s.length;--c>-1;)a=s[c],to[a]&&(u=1,a=a==="transformOrigin"?Zr:Rn),Sa(r,a);u&&(Sa(r,Rn),o&&(o.svg&&r.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",cc(r,1),o.uncache=1,RS(i)))}},pd={clearProps:function(e,n,r,i,s){if(s.data!=="isFromStart"){var o=e._pt=new Jr(e._pt,n,r,0,0,QI);return o.u=i,o.pr=-10,o.tween=s,e._props.push(r),1}}},uc=[1,0,0,1,0,0],LS={},OS=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},$0=function(e){var n=Li(e,Rn);return OS(n)?uc:n.substr(7).match(Bw).map($n)},jg=function(e,n){var r=e._gsap||fa(e),i=e.style,s=$0(e),o,a,u,c;return r.svg&&e.getAttribute("transform")?(u=e.transform.baseVal.consolidate().matrix,s=[u.a,u.b,u.c,u.d,u.e,u.f],s.join(",")==="1,0,0,1,0,0"?uc:s):(s===uc&&!e.offsetParent&&e!==cl&&!r.svg&&(u=i.display,i.display="block",o=e.parentNode,(!o||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,a=e.nextElementSibling,cl.appendChild(e)),s=$0(e),u?i.display=u:Sa(e,"display"),c&&(a?o.insertBefore(e,a):o?o.appendChild(e):cl.removeChild(e))),n&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},cm=function(e,n,r,i,s,o){var a=e._gsap,u=s||jg(e,!0),c=a.xOrigin||0,d=a.yOrigin||0,l=a.xOffset||0,f=a.yOffset||0,h=u[0],g=u[1],p=u[2],b=u[3],y=u[4],S=u[5],E=n.split(" "),T=parseFloat(E[0])||0,k=parseFloat(E[1])||0,M,$,H,O;r?u!==uc&&($=h*b-g*p)&&(H=T*(b/$)+k*(-p/$)+(p*S-b*y)/$,O=T*(-g/$)+k*(h/$)-(h*S-g*y)/$,T=H,k=O):(M=PS(e),T=M.x+(~E[0].indexOf("%")?T/100*M.width:T),k=M.y+(~(E[1]||E[0]).indexOf("%")?k/100*M.height:k)),i||i!==!1&&a.smooth?(y=T-c,S=k-d,a.xOffset=l+(y*h+S*p)-y,a.yOffset=f+(y*g+S*b)-S):a.xOffset=a.yOffset=0,a.xOrigin=T,a.yOrigin=k,a.smooth=!!i,a.origin=n,a.originIsAbsolute=!!r,e.style[Zr]="0px 0px",o&&(yo(o,a,"xOrigin",c,T),yo(o,a,"yOrigin",d,k),yo(o,a,"xOffset",l,a.xOffset),yo(o,a,"yOffset",f,a.yOffset)),e.setAttribute("data-svg-origin",T+" "+k)},cc=function(e,n){var r=e._gsap||new gS(e);if("x"in r&&!n&&!r.uncache)return r;var i=e.style,s=r.scaleX<0,o="px",a="deg",u=getComputedStyle(e),c=Li(e,Zr)||"0",d,l,f,h,g,p,b,y,S,E,T,k,M,$,H,O,F,re,N,P,z,Q,B,G,ie,ae,X,pe,Ee,ke,Re,ye;return d=l=f=p=b=y=S=E=T=0,h=g=1,r.svg=!!(e.getCTM&&IS(e)),u.translate&&((u.translate!=="none"||u.scale!=="none"||u.rotate!=="none")&&(i[Rn]=(u.translate!=="none"?"translate3d("+(u.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(u.rotate!=="none"?"rotate("+u.rotate+") ":"")+(u.scale!=="none"?"scale("+u.scale.split(" ").join(",")+") ":"")+(u[Rn]!=="none"?u[Rn]:"")),i.scale=i.rotate=i.translate="none"),$=jg(e,r.svg),r.svg&&(r.uncache?(ie=e.getBBox(),c=r.xOrigin-ie.x+"px "+(r.yOrigin-ie.y)+"px",G=""):G=!n&&e.getAttribute("data-svg-origin"),cm(e,G||c,!!G||r.originIsAbsolute,r.smooth!==!1,$)),k=r.xOrigin||0,M=r.yOrigin||0,$!==uc&&(re=$[0],N=$[1],P=$[2],z=$[3],d=Q=$[4],l=B=$[5],$.length===6?(h=Math.sqrt(re*re+N*N),g=Math.sqrt(z*z+P*P),p=re||N?Ua(N,re)*Zo:0,S=P||z?Ua(P,z)*Zo+p:0,S&&(g*=Math.abs(Math.cos(S*fl))),r.svg&&(d-=k-(k*re+M*P),l-=M-(k*N+M*z))):(ye=$[6],ke=$[7],X=$[8],pe=$[9],Ee=$[10],Re=$[11],d=$[12],l=$[13],f=$[14],H=Ua(ye,Ee),b=H*Zo,H&&(O=Math.cos(-H),F=Math.sin(-H),G=Q*O+X*F,ie=B*O+pe*F,ae=ye*O+Ee*F,X=Q*-F+X*O,pe=B*-F+pe*O,Ee=ye*-F+Ee*O,Re=ke*-F+Re*O,Q=G,B=ie,ye=ae),H=Ua(-P,Ee),y=H*Zo,H&&(O=Math.cos(-H),F=Math.sin(-H),G=re*O-X*F,ie=N*O-pe*F,ae=P*O-Ee*F,Re=z*F+Re*O,re=G,N=ie,P=ae),H=Ua(N,re),p=H*Zo,H&&(O=Math.cos(H),F=Math.sin(H),G=re*O+N*F,ie=Q*O+B*F,N=N*O-re*F,B=B*O-Q*F,re=G,Q=ie),b&&Math.abs(b)+Math.abs(p)>359.9&&(b=p=0,y=180-y),h=$n(Math.sqrt(re*re+N*N+P*P)),g=$n(Math.sqrt(B*B+ye*ye)),H=Ua(Q,B),S=Math.abs(H)>2e-4?H*Zo:0,T=Re?1/(Re<0?-Re:Re):0),r.svg&&(G=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!OS(Li(e,Rn)),G&&e.setAttribute("transform",G))),Math.abs(S)>90&&Math.abs(S)<270&&(s?(h*=-1,S+=p<=0?180:-180,p+=p<=0?180:-180):(g*=-1,S+=S<=0?180:-180)),n=n||r.uncache,r.x=d-((r.xPercent=d&&(!n&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-d)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+o,r.y=l-((r.yPercent=l&&(!n&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-l)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+o,r.z=f+o,r.scaleX=$n(h),r.scaleY=$n(g),r.rotation=$n(p)+a,r.rotationX=$n(b)+a,r.rotationY=$n(y)+a,r.skewX=S+a,r.skewY=E+a,r.transformPerspective=T+o,(r.zOrigin=parseFloat(c.split(" ")[2])||!n&&r.zOrigin||0)&&(i[Zr]=md(c)),r.xOffset=r.yOffset=0,r.force3D=gi.force3D,r.renderTransform=r.svg?ZI:xS?MS:JI,r.uncache=0,r},md=function(e){return(e=e.split(" "))[0]+" "+e[1]},np=function(e,n,r){var i=Er(n);return $n(parseFloat(n)+parseFloat(Io(e,"x",r+"px",i)))+i},JI=function(e,n){n.z="0px",n.rotationY=n.rotationX="0deg",n.force3D=0,MS(e,n)},Xo="0deg",ru="0px",Qo=") ",MS=function(e,n){var r=n||this,i=r.xPercent,s=r.yPercent,o=r.x,a=r.y,u=r.z,c=r.rotation,d=r.rotationY,l=r.rotationX,f=r.skewX,h=r.skewY,g=r.scaleX,p=r.scaleY,b=r.transformPerspective,y=r.force3D,S=r.target,E=r.zOrigin,T="",k=y==="auto"&&e&&e!==1||y===!0;if(E&&(l!==Xo||d!==Xo)){var M=parseFloat(d)*fl,$=Math.sin(M),H=Math.cos(M),O;M=parseFloat(l)*fl,O=Math.cos(M),o=np(S,o,$*O*-E),a=np(S,a,-Math.sin(M)*-E),u=np(S,u,H*O*-E+E)}b!==ru&&(T+="perspective("+b+Qo),(i||s)&&(T+="translate("+i+"%, "+s+"%) "),(k||o!==ru||a!==ru||u!==ru)&&(T+=u!==ru||k?"translate3d("+o+", "+a+", "+u+") ":"translate("+o+", "+a+Qo),c!==Xo&&(T+="rotate("+c+Qo),d!==Xo&&(T+="rotateY("+d+Qo),l!==Xo&&(T+="rotateX("+l+Qo),(f!==Xo||h!==Xo)&&(T+="skew("+f+", "+h+Qo),(g!==1||p!==1)&&(T+="scale("+g+", "+p+Qo),S.style[Rn]=T||"translate(0, 0)"},ZI=function(e,n){var r=n||this,i=r.xPercent,s=r.yPercent,o=r.x,a=r.y,u=r.rotation,c=r.skewX,d=r.skewY,l=r.scaleX,f=r.scaleY,h=r.target,g=r.xOrigin,p=r.yOrigin,b=r.xOffset,y=r.yOffset,S=r.forceCSS,E=parseFloat(o),T=parseFloat(a),k,M,$,H,O;u=parseFloat(u),c=parseFloat(c),d=parseFloat(d),d&&(d=parseFloat(d),c+=d,u+=d),u||c?(u*=fl,c*=fl,k=Math.cos(u)*l,M=Math.sin(u)*l,$=Math.sin(u-c)*-f,H=Math.cos(u-c)*f,c&&(d*=fl,O=Math.tan(c-d),O=Math.sqrt(1+O*O),$*=O,H*=O,d&&(O=Math.tan(d),O=Math.sqrt(1+O*O),k*=O,M*=O)),k=$n(k),M=$n(M),$=$n($),H=$n(H)):(k=l,H=f,M=$=0),(E&&!~(o+"").indexOf("px")||T&&!~(a+"").indexOf("px"))&&(E=Io(h,"x",o,"px"),T=Io(h,"y",a,"px")),(g||p||b||y)&&(E=$n(E+g-(g*k+p*$)+b),T=$n(T+p-(g*M+p*H)+y)),(i||s)&&(O=h.getBBox(),E=$n(E+i/100*O.width),T=$n(T+s/100*O.height)),O="matrix("+k+","+M+","+$+","+H+","+E+","+T+")",h.setAttribute("transform",O),S&&(h.style[Rn]=O)},eL=function(e,n,r,i,s){var o=360,a=ur(s),u=parseFloat(s)*(a&&~s.indexOf("rad")?Zo:1),c=u-i,d=i+c+"deg",l,f;return a&&(l=s.split("_")[1],l==="short"&&(c%=o,c!==c%(o/2)&&(c+=c<0?o:-o)),l==="cw"&&c<0?c=(c+o*L0)%o-~~(c/o)*o:l==="ccw"&&c>0&&(c=(c-o*L0)%o-~~(c/o)*o)),e._pt=f=new Jr(e._pt,n,r,i,c,NI),f.e=d,f.u="deg",e._props.push(r),f},H0=function(e,n){for(var r in n)e[r]=n[r];return e},tL=function(e,n,r){var i=H0({},r._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=r.style,a,u,c,d,l,f,h,g;i.svg?(c=r.getAttribute("transform"),r.setAttribute("transform",""),o[Rn]=n,a=cc(r,1),Sa(r,Rn),r.setAttribute("transform",c)):(c=getComputedStyle(r)[Rn],o[Rn]=n,a=cc(r,1),o[Rn]=c);for(u in to)c=i[u],d=a[u],c!==d&&s.indexOf(u)<0&&(h=Er(c),g=Er(d),l=h!==g?Io(r,u,c,g):parseFloat(c),f=parseFloat(d),e._pt=new Jr(e._pt,a,u,l,f-l,am),e._pt.u=g||0,e._props.push(u));H0(a,i)};Qr("padding,margin,Width,Radius",function(t,e){var n="Top",r="Right",i="Bottom",s="Left",o=(e<3?[n,r,i,s]:[n+s,n+r,i+r,i+s]).map(function(a){return e<2?t+a:"border"+a+t});pd[e>1?"border"+t:t]=function(a,u,c,d,l){var f,h;if(arguments.length<4)return f=o.map(function(g){return Hs(a,g,c)}),h=f.join(" "),h.split(f[0]).length===5?f[0]:h;f=(d+"").split(" "),h={},o.forEach(function(g,p){return h[g]=f[p]=f[p]||f[(p-1)/2|0]}),a.init(u,h,l)}});var FS={name:"css",register:um,targetTest:function(e){return e.style&&e.nodeType},init:function(e,n,r,i,s){var o=this._props,a=e.style,u=r.vars.startAt,c,d,l,f,h,g,p,b,y,S,E,T,k,M,$,H;Bg||um(),this.styles=this.styles||CS(e),H=this.styles.props,this.tween=r;for(p in n)if(p!=="autoRound"&&(d=n[p],!(ui[p]&&_S(p,n,r,i,e,s)))){if(h=typeof d,g=pd[p],h==="function"&&(d=d.call(r,i,e,s),h=typeof d),h==="string"&&~d.indexOf("random(")&&(d=oc(d)),g)g(this,e,p,d,r)&&($=1);else if(p.substr(0,2)==="--")c=(getComputedStyle(e).getPropertyValue(p)+"").trim(),d+="",ko.lastIndex=0,ko.test(c)||(b=Er(c),y=Er(d)),y?b!==y&&(c=Io(e,p,c,y)+y):b&&(d+=b),this.add(a,"setProperty",c,d,i,s,0,0,p),o.push(p),H.push(p,0,a[p]);else if(h!=="undefined"){if(u&&p in u?(c=typeof u[p]=="function"?u[p].call(r,i,e,s):u[p],ur(c)&&~c.indexOf("random(")&&(c=oc(c)),Er(c+"")||c==="auto"||(c+=gi.units[p]||Er(Hs(e,p))||""),(c+"").charAt(1)==="="&&(c=Hs(e,p))):c=Hs(e,p),f=parseFloat(c),S=h==="string"&&d.charAt(1)==="="&&d.substr(0,2),S&&(d=d.substr(2)),l=parseFloat(d),p in ps&&(p==="autoAlpha"&&(f===1&&Hs(e,"visibility")==="hidden"&&l&&(f=0),H.push("visibility",0,a.visibility),yo(this,a,"visibility",f?"inherit":"hidden",l?"inherit":"hidden",!l)),p!=="scale"&&p!=="transform"&&(p=ps[p],~p.indexOf(",")&&(p=p.split(",")[0]))),E=p in to,E){if(this.styles.save(p),h==="string"&&d.substring(0,6)==="var(--"&&(d=Li(e,d.substring(4,d.indexOf(")"))),l=parseFloat(d)),T||(k=e._gsap,k.renderTransform&&!n.parseTransform||cc(e,n.parseTransform),M=n.smoothOrigin!==!1&&k.smooth,T=this._pt=new Jr(this._pt,a,Rn,0,1,k.renderTransform,k,0,-1),T.dep=1),p==="scale")this._pt=new Jr(this._pt,k,"scaleY",k.scaleY,(S?ul(k.scaleY,S+l):l)-k.scaleY||0,am),this._pt.u=0,o.push("scaleY",p),p+="X";else if(p==="transformOrigin"){H.push(Zr,0,a[Zr]),d=XI(d),k.svg?cm(e,d,0,M,0,this):(y=parseFloat(d.split(" ")[2])||0,y!==k.zOrigin&&yo(this,k,"zOrigin",k.zOrigin,y),yo(this,a,p,md(c),md(d)));continue}else if(p==="svgOrigin"){cm(e,d,1,M,0,this);continue}else if(p in LS){eL(this,k,p,f,S?ul(f,S+d):d);continue}else if(p==="smoothOrigin"){yo(this,k,"smooth",k.smooth,d);continue}else if(p==="force3D"){k[p]=d;continue}else if(p==="transform"){tL(this,d,e);continue}}else p in a||(p=kl(p)||p);if(E||(l||l===0)&&(f||f===0)&&!DI.test(d)&&p in a)b=(c+"").substr((f+"").length),l||(l=0),y=Er(d)||(p in gi.units?gi.units[p]:b),b!==y&&(f=Io(e,p,c,y)),this._pt=new Jr(this._pt,E?k:a,p,f,(S?ul(f,S+l):l)-f,!E&&(y==="px"||p==="zIndex")&&n.autoRound!==!1?HI:am),this._pt.u=y||0,b!==y&&y!=="%"&&(this._pt.b=c,this._pt.r=$I);else if(p in a)KI.call(this,e,p,c,S?S+d:d);else if(p in e)this.add(e,p,c||e[p],S?S+d:d,i,s);else if(p!=="parseTransform"){Pg(p,d);continue}E||(p in a?H.push(p,0,a[p]):typeof e[p]=="function"?H.push(p,2,e[p]()):H.push(p,1,c||e[p])),o.push(p)}}$&&TS(this)},render:function(e,n){if(n.tween._time||!Vg())for(var r=n._pt;r;)r.r(e,r.d),r=r._next;else n.styles.revert()},get:Hs,aliases:ps,getSetter:function(e,n,r){var i=ps[n];return i&&i.indexOf(",")<0&&(n=i),n in to&&n!==Zr&&(e._gsap.x||Hs(e,"x"))?r&&I0===r?n==="scale"?jI:UI:(I0=r||{})&&(n==="scale"?WI:zI):e.style&&!Rg(e.style[n])?BI:~n.indexOf("-")?VI:$g(e,n)},core:{_removeProperty:Sa,_getMatrix:jg}};ni.utils.checkPrefix=kl;ni.core.getStyleSaver=CS;(function(t,e,n,r){var i=Qr(t+","+e+","+n,function(s){to[s]=1});Qr(e,function(s){gi.units[s]="deg",LS[s]=1}),ps[i[13]]=t+","+e,Qr(r,function(s){var o=s.split(":");ps[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");Qr("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){gi.units[t]="px"});ni.registerPlugin(FS);var Un=ni.registerPlugin(FS)||ni;Un.core.Tween;/*!
* CSSRulePlugin 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
*/var bo,fm,Df,gd,DS=function(){return typeof window<"u"},NS=function(){return bo||DS()&&(bo=window.gsap)&&bo.registerPlugin&&bo},B0=function(){return fm||($S(),gd||console.warn("Please gsap.registerPlugin(CSSPlugin, CSSRulePlugin)")),fm},$S=function(e){bo=e||NS(),DS()&&(Df=document),bo&&(gd=bo.plugins.css,gd&&(fm=1))},dm={version:"3.13.0",name:"cssRule",init:function(e,n,r,i,s){if(!B0()||typeof e.cssText>"u")return!1;var o=e._gsProxy=e._gsProxy||Df.createElement("div");this.ss=e,this.style=o.style,o.style.cssText=e.cssText,gd.prototype.init.call(this,o,n,r,i,s)},render:function(e,n){for(var r=n._pt,i=n.style,s=n.ss,o;r;)r.r(e,r.d),r=r._next;for(o=i.length;--o>-1;)s[i[o]]=i[i[o]]},getRule:function(e){B0();var n=Df.all?"rules":"cssRules",r=Df.styleSheets,i=r.length,s=e.charAt(0)===":",o,a,u,c;for(e=(s?"":",")+e.split("::").join(":").toLowerCase()+",",s&&(c=[]);i--;){try{if(a=r[i][n],!a)continue;o=a.length}catch(d){console.warn(d);continue}for(;--o>-1;)if(u=a[o],u.selectorText&&(","+u.selectorText.split("::").join(":").toLowerCase()+",").indexOf(e)!==-1)if(s)c.push(u.style);else return u.style}return c},register:$S};NS()&&bo.registerPlugin(dm);/*!
* paths 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
*/var nL=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig,rL=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig,iL=Math.PI/180,sf=Math.sin,of=Math.cos,Mu=Math.abs,iu=Math.sqrt,sL=function(e){return typeof e=="number"},V0=1e5,ao=function(e){return Math.round(e*V0)/V0||0};function oL(t,e,n,r,i,s,o){for(var a=t.length,u,c,d,l,f;--a>-1;)for(u=t[a],c=u.length,d=0;d<c;d+=2)l=u[d],f=u[d+1],u[d]=l*e+f*r+s,u[d+1]=l*n+f*i+o;return t._dirty=1,t}function aL(t,e,n,r,i,s,o,a,u){if(!(t===a&&e===u)){n=Mu(n),r=Mu(r);var c=i%360*iL,d=of(c),l=sf(c),f=Math.PI,h=f*2,g=(t-a)/2,p=(e-u)/2,b=d*g+l*p,y=-l*g+d*p,S=b*b,E=y*y,T=S/(n*n)+E/(r*r);T>1&&(n=iu(T)*n,r=iu(T)*r);var k=n*n,M=r*r,$=(k*M-k*E-M*S)/(k*E+M*S);$<0&&($=0);var H=(s===o?-1:1)*iu($),O=H*(n*y/r),F=H*-(r*b/n),re=(t+a)/2,N=(e+u)/2,P=re+(d*O-l*F),z=N+(l*O+d*F),Q=(b-O)/n,B=(y-F)/r,G=(-b-O)/n,ie=(-y-F)/r,ae=Q*Q+B*B,X=(B<0?-1:1)*Math.acos(Q/iu(ae)),pe=(Q*ie-B*G<0?-1:1)*Math.acos((Q*G+B*ie)/iu(ae*(G*G+ie*ie)));isNaN(pe)&&(pe=f),!o&&pe>0?pe-=h:o&&pe<0&&(pe+=h),X%=h,pe%=h;var Ee=Math.ceil(Mu(pe)/(h/4)),ke=[],Re=pe/Ee,ye=4/3*sf(Re/2)/(1+of(Re/2)),we=d*n,se=l*n,le=l*-r,he=d*r,Te;for(Te=0;Te<Ee;Te++)i=X+Te*Re,b=of(i),y=sf(i),Q=of(i+=Re),B=sf(i),ke.push(b-ye*y,y+ye*b,Q+ye*B,B-ye*Q,Q,B);for(Te=0;Te<ke.length;Te+=2)b=ke[Te],y=ke[Te+1],ke[Te]=b*we+y*le+P,ke[Te+1]=b*se+y*he+z;return ke[Te-2]=a,ke[Te-1]=u,ke}}function lL(t){var e=(t+"").replace(rL,function(O){var F=+O;return F<1e-4&&F>-1e-4?0:F}).match(nL)||[],n=[],r=0,i=0,s=2/3,o=e.length,a=0,u="ERROR: malformed path: "+t,c,d,l,f,h,g,p,b,y,S,E,T,k,M,$,H=function(F,re,N,P){S=(N-F)/3,E=(P-re)/3,p.push(F+S,re+E,N-S,P-E,N,P)};if(!t||!isNaN(e[0])||isNaN(e[1]))return n;for(c=0;c<o;c++)if(k=h,isNaN(e[c])?(h=e[c].toUpperCase(),g=h!==e[c]):c--,l=+e[c+1],f=+e[c+2],g&&(l+=r,f+=i),c||(b=l,y=f),h==="M")p&&(p.length<8?n.length-=1:a+=p.length),r=b=l,i=y=f,p=[l,f],n.push(p),c+=2,h="L";else if(h==="C")p||(p=[0,0]),g||(r=i=0),p.push(l,f,r+e[c+3]*1,i+e[c+4]*1,r+=e[c+5]*1,i+=e[c+6]*1),c+=6;else if(h==="S")S=r,E=i,(k==="C"||k==="S")&&(S+=r-p[p.length-4],E+=i-p[p.length-3]),g||(r=i=0),p.push(S,E,l,f,r+=e[c+3]*1,i+=e[c+4]*1),c+=4;else if(h==="Q")S=r+(l-r)*s,E=i+(f-i)*s,g||(r=i=0),r+=e[c+3]*1,i+=e[c+4]*1,p.push(S,E,r+(l-r)*s,i+(f-i)*s,r,i),c+=4;else if(h==="T")S=r-p[p.length-4],E=i-p[p.length-3],p.push(r+S,i+E,l+(r+S*1.5-l)*s,f+(i+E*1.5-f)*s,r=l,i=f),c+=2;else if(h==="H")H(r,i,r=l,i),c+=1;else if(h==="V")H(r,i,r,i=l+(g?i-r:0)),c+=1;else if(h==="L"||h==="Z")h==="Z"&&(l=b,f=y,p.closed=!0),(h==="L"||Mu(r-l)>.5||Mu(i-f)>.5)&&(H(r,i,l,f),h==="L"&&(c+=2)),r=l,i=f;else if(h==="A"){if(M=e[c+4],$=e[c+5],S=e[c+6],E=e[c+7],d=7,M.length>1&&(M.length<3?(E=S,S=$,d--):(E=$,S=M.substr(2),d-=2),$=M.charAt(1),M=M.charAt(0)),T=aL(r,i,+e[c+1],+e[c+2],+e[c+3],+M,+$,(g?r:0)+S*1,(g?i:0)+E*1),c+=d,T)for(d=0;d<T.length;d++)p.push(T[d]);r=p[p.length-2],i=p[p.length-1]}return c=p.length,c<6?(n.pop(),c=0):p[0]===p[c-2]&&p[1]===p[c-1]&&(p.closed=!0),n.totalPoints=a+c,n}function uL(t){sL(t[0])&&(t=[t]);var e="",n=t.length,r,i,s,o;for(i=0;i<n;i++){for(o=t[i],e+="M"+ao(o[0])+","+ao(o[1])+" C",r=o.length,s=2;s<r;s++)e+=ao(o[s++])+","+ao(o[s++])+" "+ao(o[s++])+","+ao(o[s++])+" "+ao(o[s++])+","+ao(o[s])+" ";o.closed&&(e+="z")}return e}/*!
* CustomEase 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
*/var Yr,HS,BS=function(){return Yr||typeof window<"u"&&(Yr=window.gsap)&&Yr.registerPlugin&&Yr},U0=function(){Yr=BS(),Yr?(Yr.registerEase("_CE",Rl.create),HS=1):console.warn("Please gsap.registerPlugin(CustomEase)")},cL=1e20,af=function(e){return~~(e*1e3+(e<0?-.5:.5))/1e3},fL=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/gi,dL=/[cLlsSaAhHvVtTqQ]/g,hL=function(e){var n=e.length,r=cL,i;for(i=1;i<n;i+=6)+e[i]<r&&(r=+e[i]);return r},pL=function(e,n,r){!r&&r!==0&&(r=Math.max(+e[e.length-1],+e[1]));var i=+e[0]*-1,s=-r,o=e.length,a=1/(+e[o-2]+i),u=-n||(Math.abs(+e[o-1]-+e[1])<.01*(+e[o-2]-+e[0])?hL(e)+s:+e[o-1]+s),c;for(u?u=1/u:u=-a,c=0;c<o;c+=2)e[c]=(+e[c]+i)*a,e[c+1]=(+e[c+1]+s)*u},mL=function t(e,n,r,i,s,o,a,u,c,d,l){var f=(e+r)/2,h=(n+i)/2,g=(r+s)/2,p=(i+o)/2,b=(s+a)/2,y=(o+u)/2,S=(f+g)/2,E=(h+p)/2,T=(g+b)/2,k=(p+y)/2,M=(S+T)/2,$=(E+k)/2,H=a-e,O=u-n,F=Math.abs((r-a)*O-(i-u)*H),re=Math.abs((s-a)*O-(o-u)*H),N;return d||(d=[{x:e,y:n},{x:a,y:u}],l=1),d.splice(l||d.length-1,0,{x:M,y:$}),(F+re)*(F+re)>c*(H*H+O*O)&&(N=d.length,t(e,n,f,h,S,E,M,$,c,d,l),t(M,$,T,k,b,y,a,u,c,d,l+1+(d.length-N))),d},Rl=(function(){function t(n,r,i){HS||U0(),this.id=n,this.setData(r,i)}var e=t.prototype;return e.setData=function(r,i){i=i||{},r=r||"0,0,1,1";var s=r.match(fL),o=1,a=[],u=[],c=i.precision||1,d=c<=1,l,f,h,g,p,b,y,S,E;if(this.data=r,(dL.test(r)||~r.indexOf("M")&&r.indexOf("C")<0)&&(s=lL(r)[0]),l=s.length,l===4)s.unshift(0,0),s.push(1,1),l=8;else if((l-2)%6)throw"Invalid CustomEase";for((+s[0]!=0||+s[l-2]!=1)&&pL(s,i.height,i.originY),this.segment=s,g=2;g<l;g+=6)f={x:+s[g-2],y:+s[g-1]},h={x:+s[g+4],y:+s[g+5]},a.push(f,h),mL(f.x,f.y,+s[g],+s[g+1],+s[g+2],+s[g+3],h.x,h.y,1/(c*2e5),a,a.length-1);for(l=a.length,g=0;g<l;g++)y=a[g],S=a[g-1]||y,(y.x>S.x||S.y!==y.y&&S.x===y.x||y===S)&&y.x<=1?(S.cx=y.x-S.x,S.cy=y.y-S.y,S.n=y,S.nx=y.x,d&&g>1&&Math.abs(S.cy/S.cx-a[g-2].cy/a[g-2].cx)>2&&(d=0),S.cx<o&&(S.cx?o=S.cx:(S.cx=.001,g===l-1&&(S.x-=.001,o=Math.min(o,.001),d=0)))):(a.splice(g--,1),l--);if(l=1/o+1|0,p=1/l,b=0,y=a[0],d){for(g=0;g<l;g++)E=g*p,y.nx<E&&(y=a[++b]),f=y.y+(E-y.x)/y.cx*y.cy,u[g]={x:E,cx:p,y:f,cy:0,nx:9},g&&(u[g-1].cy=f-u[g-1].y);b=a[a.length-1],u[l-1].cy=b.y-f,u[l-1].cx=b.x-u[u.length-1].x}else{for(g=0;g<l;g++)y.nx<g*p&&(y=a[++b]),u[g]=y;b<a.length-1&&(u[g-1]=a[a.length-2])}return this.ease=function(T){var k=u[T*l|0]||u[l-1];return k.nx<T&&(k=k.n),k.y+(T-k.x)/k.cx*k.cy},this.ease.custom=this,this.id&&Yr&&Yr.registerEase(this.id,this.ease),this},e.getSVGData=function(r){return t.getSVGData(this,r)},t.create=function(r,i,s){return new t(r,i,s).ease},t.register=function(r){Yr=r,U0()},t.get=function(r){return Yr.parseEase(r)},t.getSVGData=function(r,i){i=i||{};var s=i.width||100,o=i.height||100,a=i.x||0,u=(i.y||0)+o,c=Yr.utils.toArray(i.path)[0],d,l,f,h,g,p,b,y,S,E;if(i.invert&&(o=-o,u=0),typeof r=="string"&&(r=Yr.parseEase(r)),r.custom&&(r=r.custom),r instanceof t)d=uL(oL([r.segment],s,0,0,-o,a,u));else{for(d=[a,u],b=Math.max(5,(i.precision||1)*200),h=1/b,b+=2,y=5/b,S=af(a+h*s),E=af(u+r(h)*-o),l=(E-u)/(S-a),f=2;f<b;f++)g=af(a+f*h*s),p=af(u+r(f*h)*-o),(Math.abs((p-E)/(g-S)-l)>y||f===b-1)&&(d.push(S,E),l=(p-E)/(g-S)),S=g,E=p;d="M"+d.join(",")}return c&&c.setAttribute("d",d),d},t})();Rl.version="3.13.0";Rl.headless=!0;BS()&&Yr.registerPlugin(Rl);/*!
* SplitText 3.13.0
* https://gsap.com
*
* @license Copyright 2025, GreenSock. All rights reserved. Subject to the terms at https://gsap.com/standard-license.
* @author: Jack Doyle
*/let su,ja,hm,gL=()=>hm||gm.register(window.gsap),j0=typeof Intl<"u"?new Intl.Segmenter:0,_d=t=>typeof t=="string"?_d(document.querySelectorAll(t)):"length"in t?Array.from(t):[t],W0=t=>_d(t).filter(e=>e instanceof HTMLElement),pm=[],rp=function(){},_L=/\s+/g,z0=new RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.","gu"),G0={left:0,top:0,width:0,height:0},q0=(t,e)=>{if(e){let n=new Set(t.join("").match(e)||pm),r=t.length,i,s,o,a;if(n.size)for(;--r>-1;){s=t[r];for(o of n)if(o.startsWith(s)&&o.length>s.length){for(i=0,a=s;o.startsWith(a+=t[r+ ++i])&&a.length<o.length;);if(i&&a.length===o.length){t[r]=o,t.splice(r+1,i);break}}}}return t},Y0=t=>window.getComputedStyle(t).display==="inline"&&(t.style.display="inline-block"),Wa=(t,e,n)=>e.insertBefore(typeof t=="string"?document.createTextNode(t):t,n),mm=(t,e,n)=>{let r=e[t+"sClass"]||"",{tag:i="div",aria:s="auto",propIndex:o=!1}=e,a=t==="line"?"block":"inline-block",u=r.indexOf("++")>-1,c=d=>{let l=document.createElement(i),f=n.length+1;return r&&(l.className=r+(u?" "+r+f:"")),o&&l.style.setProperty("--"+t,f+""),s!=="none"&&l.setAttribute("aria-hidden","true"),i!=="span"&&(l.style.position="relative",l.style.display=a),l.textContent=d,n.push(l),l};return u&&(r=r.replace("++","")),c.collection=n,c},vL=(t,e,n,r)=>{let i=mm("line",n,r),s=window.getComputedStyle(t).textAlign||"left";return(o,a)=>{let u=i("");for(u.style.textAlign=s,t.insertBefore(u,e[o]);o<a;o++)u.appendChild(e[o]);u.normalize()}},VS=(t,e,n,r,i,s,o,a,u,c)=>{var d;let l=Array.from(t.childNodes),f=0,{wordDelimiter:h,reduceWhiteSpace:g=!0,prepareText:p}=e,b=t.getBoundingClientRect(),y=b,S=!g&&window.getComputedStyle(t).whiteSpace.substring(0,3)==="pre",E=0,T=n.collection,k,M,$,H,O,F,re,N,P,z,Q,B,G,ie,ae,X,pe,Ee;for(typeof h=="object"?($=h.delimiter||h,M=h.replaceWith||""):M=h===""?"":h||" ",k=M!==" ";f<l.length;f++)if(H=l[f],H.nodeType===3){for(ae=H.textContent||"",g?ae=ae.replace(_L," "):S&&(ae=ae.replace(/\n/g,M+`
`)),p&&(ae=p(ae,t)),H.textContent=ae,O=M||$?ae.split($||M):ae.match(a)||pm,pe=O[O.length-1],N=k?pe.slice(-1)===" ":!pe,pe||O.pop(),y=b,re=k?O[0].charAt(0)===" ":!O[0],re&&Wa(" ",t,H),O[0]||O.shift(),q0(O,u),s&&c||(H.textContent=""),P=1;P<=O.length;P++)if(X=O[P-1],!g&&S&&X.charAt(0)===`
`&&((d=H.previousSibling)==null||d.remove(),Wa(document.createElement("br"),t,H),X=X.slice(1)),!g&&X==="")Wa(M,t,H);else if(X===" ")t.insertBefore(document.createTextNode(" "),H);else{if(k&&X.charAt(0)===" "&&Wa(" ",t,H),E&&P===1&&!re&&T.indexOf(E.parentNode)>-1?(F=T[T.length-1],F.appendChild(document.createTextNode(r?"":X))):(F=n(r?"":X),Wa(F,t,H),E&&P===1&&!re&&F.insertBefore(E,F.firstChild)),r)for(Q=j0?q0([...j0.segment(X)].map(ke=>ke.segment),u):X.match(a)||pm,Ee=0;Ee<Q.length;Ee++)F.appendChild(Q[Ee]===" "?document.createTextNode(" "):r(Q[Ee]));if(s&&c){if(ae=H.textContent=ae.substring(X.length+1,ae.length),z=F.getBoundingClientRect(),z.top>y.top&&z.left<=y.left){for(B=t.cloneNode(),G=t.childNodes[0];G&&G!==F;)ie=G,G=G.nextSibling,B.appendChild(ie);t.parentNode.insertBefore(B,t),i&&Y0(B)}y=z}(P<O.length||N)&&Wa(P>=O.length?" ":k&&X.slice(-1)===" "?" "+M:M,t,H)}t.removeChild(H),E=0}else H.nodeType===1&&(o&&o.indexOf(H)>-1?(T.indexOf(H.previousSibling)>-1&&T[T.length-1].appendChild(H),E=H):(VS(H,e,n,r,i,s,o,a,u,!0),E=0),i&&Y0(H))};const US=class jS{constructor(e,n){this.isSplit=!1,gL(),this.elements=W0(e),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=n,this._split=()=>this.isSplit&&this.split(this.vars);let r=[],i,s=()=>{let o=r.length,a;for(;o--;){a=r[o];let u=a.element.offsetWidth;if(u!==a.width){a.width=u,this._split();return}}};this._data={orig:r,obs:typeof ResizeObserver<"u"&&new ResizeObserver(()=>{clearTimeout(i),i=setTimeout(s,200)})},rp(this),this.split(n)}split(e){this.isSplit&&this.revert(),this.vars=e=e||this.vars||{};let{type:n="chars,words,lines",aria:r="auto",deepSlice:i=!0,smartWrap:s,onSplit:o,autoSplit:a=!1,specialChars:u,mask:c}=this.vars,d=n.indexOf("lines")>-1,l=n.indexOf("chars")>-1,f=n.indexOf("words")>-1,h=l&&!f&&!d,g=u&&("push"in u?new RegExp("(?:"+u.join("|")+")","gu"):u),p=g?new RegExp(g.source+"|"+z0.source,"gu"):z0,b=!!e.ignore&&W0(e.ignore),{orig:y,animTime:S,obs:E}=this._data,T;return(l||f||d)&&(this.elements.forEach((k,M)=>{y[M]={element:k,html:k.innerHTML,ariaL:k.getAttribute("aria-label"),ariaH:k.getAttribute("aria-hidden")},r==="auto"?k.setAttribute("aria-label",(k.textContent||"").trim()):r==="hidden"&&k.setAttribute("aria-hidden","true");let $=[],H=[],O=[],F=l?mm("char",e,$):null,re=mm("word",e,H),N,P,z,Q;if(VS(k,e,re,F,h,i&&(d||h),b,p,g,!1),d){let B=_d(k.childNodes),G=vL(k,B,e,O),ie,ae=[],X=0,pe=B.map(ke=>ke.nodeType===1?ke.getBoundingClientRect():G0),Ee=G0;for(N=0;N<B.length;N++)ie=B[N],ie.nodeType===1&&(ie.nodeName==="BR"?(ae.push(ie),G(X,N+1),X=N+1,Ee=pe[X]):(N&&pe[N].top>Ee.top&&pe[N].left<=Ee.left&&(G(X,N),X=N),Ee=pe[N]));X<N&&G(X,N),ae.forEach(ke=>{var Re;return(Re=ke.parentNode)==null?void 0:Re.removeChild(ke)})}if(!f){for(N=0;N<H.length;N++)if(P=H[N],l||!P.nextSibling||P.nextSibling.nodeType!==3)if(s&&!d){for(z=document.createElement("span"),z.style.whiteSpace="nowrap";P.firstChild;)z.appendChild(P.firstChild);P.replaceWith(z)}else P.replaceWith(...P.childNodes);else Q=P.nextSibling,Q&&Q.nodeType===3&&(Q.textContent=(P.textContent||"")+(Q.textContent||""),P.remove());H.length=0,k.normalize()}this.lines.push(...O),this.words.push(...H),this.chars.push(...$)}),c&&this[c]&&this.masks.push(...this[c].map(k=>{let M=k.cloneNode();return k.replaceWith(M),M.appendChild(k),k.className&&(M.className=k.className.replace(/(\b\w+\b)/g,"$1-mask")),M.style.overflow="clip",M}))),this.isSplit=!0,ja&&(a?ja.addEventListener("loadingdone",this._split):ja.status==="loading"&&console.warn("SplitText called before fonts loaded")),(T=o&&o(this))&&T.totalTime&&(this._data.anim=S?T.totalTime(S):T),d&&a&&this.elements.forEach((k,M)=>{y[M].width=k.offsetWidth,E&&E.observe(k)}),this}revert(){var e,n;let{orig:r,anim:i,obs:s}=this._data;return s&&s.disconnect(),r.forEach(({element:o,html:a,ariaL:u,ariaH:c})=>{o.innerHTML=a,u?o.setAttribute("aria-label",u):o.removeAttribute("aria-label"),c?o.setAttribute("aria-hidden",c):o.removeAttribute("aria-hidden")}),this.chars.length=this.words.length=this.lines.length=r.length=this.masks.length=0,this.isSplit=!1,ja==null||ja.removeEventListener("loadingdone",this._split),i&&(this._data.animTime=i.totalTime(),i.revert()),(n=(e=this.vars).onRevert)==null||n.call(e,this),this}static create(e,n){return new jS(e,n)}static register(e){su=su||e||window.gsap,su&&(_d=su.utils.toArray,rp=su.core.context||rp),!hm&&window.innerWidth>0&&(ja=document.fonts,hm=!0)}};US.version="3.13.0";let gm=US;function yL(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function bL(t,e,n){return e&&yL(t.prototype,e),t}/*!
* 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
*/var hr,Nf,di,wo,So,dl,WS,ea,Fu,zS,zs,Ui,GS,qS=function(){return hr||typeof window<"u"&&(hr=window.gsap)&&hr.registerPlugin&&hr},YS=1,il=[],Pt=[],bs=[],Du=Date.now,_m=function(e,n){return n},wL=function(){var e=Fu.core,n=e.bridge||{},r=e._scrollers,i=e._proxies;r.push.apply(r,Pt),i.push.apply(i,bs),Pt=r,bs=i,_m=function(o,a){return n[o](a)}},Ro=function(e,n){return~bs.indexOf(e)&&bs[bs.indexOf(e)+1][n]},Nu=function(e){return!!~zS.indexOf(e)},Lr=function(e,n,r,i,s){return e.addEventListener(n,r,{passive:i!==!1,capture:!!s})},Pr=function(e,n,r,i){return e.removeEventListener(n,r,!!i)},lf="scrollLeft",uf="scrollTop",vm=function(){return zs&&zs.isPressed||Pt.cache++},vd=function(e,n){var r=function i(s){if(s||s===0){YS&&(di.history.scrollRestoration="manual");var o=zs&&zs.isPressed;s=i.v=Math.round(s)||(zs&&zs.iOS?1:0),e(s),i.cacheID=Pt.cache,o&&_m("ss",s)}else(n||Pt.cache!==i.cacheID||_m("ref"))&&(i.cacheID=Pt.cache,i.v=e());return i.v+i.offset};return r.offset=0,e&&r},Ur={s:lf,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:vd(function(t){return arguments.length?di.scrollTo(t,Qn.sc()):di.pageXOffset||wo[lf]||So[lf]||dl[lf]||0})},Qn={s:uf,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Ur,sc:vd(function(t){return arguments.length?di.scrollTo(Ur.sc(),t):di.pageYOffset||wo[uf]||So[uf]||dl[uf]||0})},qr=function(e,n){return(n&&n._ctx&&n._ctx.selector||hr.utils.toArray)(e)[0]||(typeof e=="string"&&hr.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},SL=function(e,n){for(var r=n.length;r--;)if(n[r]===e||n[r].contains(e))return!0;return!1},Lo=function(e,n){var r=n.s,i=n.sc;Nu(e)&&(e=wo.scrollingElement||So);var s=Pt.indexOf(e),o=i===Qn.sc?1:2;!~s&&(s=Pt.push(e)-1),Pt[s+o]||Lr(e,"scroll",vm);var a=Pt[s+o],u=a||(Pt[s+o]=vd(Ro(e,r),!0)||(Nu(e)?i:vd(function(c){return arguments.length?e[r]=c:e[r]})));return u.target=e,a||(u.smooth=hr.getProperty(e,"scrollBehavior")==="smooth"),u},ym=function(e,n,r){var i=e,s=e,o=Du(),a=o,u=n||50,c=Math.max(500,u*3),d=function(g,p){var b=Du();p||b-o>u?(s=i,i=g,a=o,o=b):r?i+=g:i=s+(g-s)/(b-a)*(o-a)},l=function(){s=i=r?0:i,a=o=0},f=function(g){var p=a,b=s,y=Du();return(g||g===0)&&g!==i&&d(g),o===a||y-a>c?0:(i+(r?b:-b))/((r?y:o)-p)*1e3};return{update:d,reset:l,getVelocity:f}},ou=function(e,n){return n&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},K0=function(e){var n=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(n)>=Math.abs(r)?n:r},KS=function(){Fu=hr.core.globals().ScrollTrigger,Fu&&Fu.core&&wL()},XS=function(e){return hr=e||qS(),!Nf&&hr&&typeof document<"u"&&document.body&&(di=window,wo=document,So=wo.documentElement,dl=wo.body,zS=[di,wo,So,dl],hr.utils.clamp,GS=hr.core.context||function(){},ea="onpointerenter"in dl?"pointer":"mouse",WS=Hn.isTouch=di.matchMedia&&di.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in di||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Ui=Hn.eventTypes=("ontouchstart"in So?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in So?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return YS=0},500),KS(),Nf=1),Nf};Ur.op=Qn;Pt.cache=0;var Hn=(function(){function t(n){this.init(n)}var e=t.prototype;return e.init=function(r){Nf||XS(hr)||console.warn("Please gsap.registerPlugin(Observer)"),Fu||KS();var i=r.tolerance,s=r.dragMinimum,o=r.type,a=r.target,u=r.lineHeight,c=r.debounce,d=r.preventDefault,l=r.onStop,f=r.onStopDelay,h=r.ignore,g=r.wheelSpeed,p=r.event,b=r.onDragStart,y=r.onDragEnd,S=r.onDrag,E=r.onPress,T=r.onRelease,k=r.onRight,M=r.onLeft,$=r.onUp,H=r.onDown,O=r.onChangeX,F=r.onChangeY,re=r.onChange,N=r.onToggleX,P=r.onToggleY,z=r.onHover,Q=r.onHoverEnd,B=r.onMove,G=r.ignoreCheck,ie=r.isNormalizer,ae=r.onGestureStart,X=r.onGestureEnd,pe=r.onWheel,Ee=r.onEnable,ke=r.onDisable,Re=r.onClick,ye=r.scrollSpeed,we=r.capture,se=r.allowClicks,le=r.lockAxis,he=r.onLockAxis;this.target=a=qr(a)||So,this.vars=r,h&&(h=hr.utils.toArray(h)),i=i||1e-9,s=s||0,g=g||1,ye=ye||1,o=o||"wheel,touch,pointer",c=c!==!1,u||(u=parseFloat(di.getComputedStyle(dl).lineHeight)||22);var Te,Le,W,L,q,ee,K,x=this,V=0,C=0,D=r.passive||!d&&r.passive!==!1,Z=Lo(a,Ur),fe=Lo(a,Qn),de=Z(),ne=fe(),ce=~o.indexOf("touch")&&!~o.indexOf("pointer")&&Ui[0]==="pointerdown",R=Nu(a),_=a.ownerDocument||wo,w=[0,0,0],U=[0,0,0],oe=0,Ae=function(){return oe=Du()},be=function(Be,vt){return(x.event=Be)&&h&&SL(Be.target,h)||vt&&ce&&Be.pointerType!=="touch"||G&&G(Be,vt)},qe=function(){x._vx.reset(),x._vy.reset(),Le.pause(),l&&l(x)},Xe=function(){var Be=x.deltaX=K0(w),vt=x.deltaY=K0(U),Ge=Math.abs(Be)>=i,ct=Math.abs(vt)>=i;re&&(Ge||ct)&&re(x,Be,vt,w,U),Ge&&(k&&x.deltaX>0&&k(x),M&&x.deltaX<0&&M(x),O&&O(x),N&&x.deltaX<0!=V<0&&N(x),V=x.deltaX,w[0]=w[1]=w[2]=0),ct&&(H&&x.deltaY>0&&H(x),$&&x.deltaY<0&&$(x),F&&F(x),P&&x.deltaY<0!=C<0&&P(x),C=x.deltaY,U[0]=U[1]=U[2]=0),(L||W)&&(B&&B(x),W&&(b&&W===1&&b(x),S&&S(x),W=0),L=!1),ee&&!(ee=!1)&&he&&he(x),q&&(pe(x),q=!1),Te=0},$e=function(Be,vt,Ge){w[Ge]+=Be,U[Ge]+=vt,x._vx.update(Be),x._vy.update(vt),c?Te||(Te=requestAnimationFrame(Xe)):Xe()},rt=function(Be,vt){le&&!K&&(x.axis=K=Math.abs(Be)>Math.abs(vt)?"x":"y",ee=!0),K!=="y"&&(w[2]+=Be,x._vx.update(Be,!0)),K!=="x"&&(U[2]+=vt,x._vy.update(vt,!0)),c?Te||(Te=requestAnimationFrame(Xe)):Xe()},at=function(Be){if(!be(Be,1)){Be=ou(Be,d);var vt=Be.clientX,Ge=Be.clientY,ct=vt-x.x,st=Ge-x.y,ft=x.isDragging;x.x=vt,x.y=Ge,(ft||(ct||st)&&(Math.abs(x.startX-vt)>=s||Math.abs(x.startY-Ge)>=s))&&(W=ft?2:1,ft||(x.isDragging=!0),rt(ct,st))}},Rt=x.onPress=function(He){be(He,1)||He&&He.button||(x.axis=K=null,Le.pause(),x.isPressed=!0,He=ou(He),V=C=0,x.startX=x.x=He.clientX,x.startY=x.y=He.clientY,x._vx.reset(),x._vy.reset(),Lr(ie?a:_,Ui[1],at,D,!0),x.deltaX=x.deltaY=0,E&&E(x))},Ye=x.onRelease=function(He){if(!be(He,1)){Pr(ie?a:_,Ui[1],at,!0);var Be=!isNaN(x.y-x.startY),vt=x.isDragging,Ge=vt&&(Math.abs(x.x-x.startX)>3||Math.abs(x.y-x.startY)>3),ct=ou(He);!Ge&&Be&&(x._vx.reset(),x._vy.reset(),d&&se&&hr.delayedCall(.08,function(){if(Du()-oe>300&&!He.defaultPrevented){if(He.target.click)He.target.click();else if(_.createEvent){var st=_.createEvent("MouseEvents");st.initMouseEvent("click",!0,!0,di,1,ct.screenX,ct.screenY,ct.clientX,ct.clientY,!1,!1,!1,!1,0,null),He.target.dispatchEvent(st)}}})),x.isDragging=x.isGesturing=x.isPressed=!1,l&&vt&&!ie&&Le.restart(!0),W&&Xe(),y&&vt&&y(x),T&&T(x,Ge)}},Yt=function(Be){return Be.touches&&Be.touches.length>1&&(x.isGesturing=!0)&&ae(Be,x.isDragging)},Ct=function(){return(x.isGesturing=!1)||X(x)},ht=function(Be){if(!be(Be)){var vt=Z(),Ge=fe();$e((vt-de)*ye,(Ge-ne)*ye,1),de=vt,ne=Ge,l&&Le.restart(!0)}},At=function(Be){if(!be(Be)){Be=ou(Be,d),pe&&(q=!0);var vt=(Be.deltaMode===1?u:Be.deltaMode===2?di.innerHeight:1)*g;$e(Be.deltaX*vt,Be.deltaY*vt,0),l&&!ie&&Le.restart(!0)}},hn=function(Be){if(!be(Be)){var vt=Be.clientX,Ge=Be.clientY,ct=vt-x.x,st=Ge-x.y;x.x=vt,x.y=Ge,L=!0,l&&Le.restart(!0),(ct||st)&&rt(ct,st)}},Bn=function(Be){x.event=Be,z(x)},nn=function(Be){x.event=Be,Q(x)},Pn=function(Be){return be(Be)||ou(Be,d)&&Re(x)};Le=x._dc=hr.delayedCall(f||.25,qe).pause(),x.deltaX=x.deltaY=0,x._vx=ym(0,50,!0),x._vy=ym(0,50,!0),x.scrollX=Z,x.scrollY=fe,x.isDragging=x.isGesturing=x.isPressed=!1,GS(this),x.enable=function(He){return x.isEnabled||(Lr(R?_:a,"scroll",vm),o.indexOf("scroll")>=0&&Lr(R?_:a,"scroll",ht,D,we),o.indexOf("wheel")>=0&&Lr(a,"wheel",At,D,we),(o.indexOf("touch")>=0&&WS||o.indexOf("pointer")>=0)&&(Lr(a,Ui[0],Rt,D,we),Lr(_,Ui[2],Ye),Lr(_,Ui[3],Ye),se&&Lr(a,"click",Ae,!0,!0),Re&&Lr(a,"click",Pn),ae&&Lr(_,"gesturestart",Yt),X&&Lr(_,"gestureend",Ct),z&&Lr(a,ea+"enter",Bn),Q&&Lr(a,ea+"leave",nn),B&&Lr(a,ea+"move",hn)),x.isEnabled=!0,x.isDragging=x.isGesturing=x.isPressed=L=W=!1,x._vx.reset(),x._vy.reset(),de=Z(),ne=fe(),He&&He.type&&Rt(He),Ee&&Ee(x)),x},x.disable=function(){x.isEnabled&&(il.filter(function(He){return He!==x&&Nu(He.target)}).length||Pr(R?_:a,"scroll",vm),x.isPressed&&(x._vx.reset(),x._vy.reset(),Pr(ie?a:_,Ui[1],at,!0)),Pr(R?_:a,"scroll",ht,we),Pr(a,"wheel",At,we),Pr(a,Ui[0],Rt,we),Pr(_,Ui[2],Ye),Pr(_,Ui[3],Ye),Pr(a,"click",Ae,!0),Pr(a,"click",Pn),Pr(_,"gesturestart",Yt),Pr(_,"gestureend",Ct),Pr(a,ea+"enter",Bn),Pr(a,ea+"leave",nn),Pr(a,ea+"move",hn),x.isEnabled=x.isPressed=x.isDragging=!1,ke&&ke(x))},x.kill=x.revert=function(){x.disable();var He=il.indexOf(x);He>=0&&il.splice(He,1),zs===x&&(zs=0)},il.push(x),ie&&Nu(a)&&(zs=x),x.enable(p)},bL(t,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),t})();Hn.version="3.13.0";Hn.create=function(t){return new Hn(t)};Hn.register=XS;Hn.getAll=function(){return il.slice()};Hn.getById=function(t){return il.filter(function(e){return e.vars.id===t})[0]};qS()&&hr.registerPlugin(Hn);/*!
* 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
*/var tt,Qa,xt,pn,ci,Zt,Wg,yd,fc,$u,gu,cf,yr,nh,bm,$r,X0,Q0,Ja,QS,ip,JS,Nr,wm,ZS,eT,fo,Sm,zg,hl,Gg,bd,Tm,sp,ff=1,wr=Date.now,op=wr(),Di=0,_u=0,J0=function(e,n,r){var i=li(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+n+"Clamp"]=i,i?e.substr(6,e.length-7):e},Z0=function(e,n){return n&&(!li(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},TL=function t(){return _u&&requestAnimationFrame(t)},ey=function(){return nh=1},ty=function(){return nh=0},cs=function(e){return e},vu=function(e){return Math.round(e*1e5)/1e5||0},tT=function(){return typeof window<"u"},nT=function(){return tt||tT()&&(tt=window.gsap)&&tt.registerPlugin&&tt},Ta=function(e){return!!~Wg.indexOf(e)},rT=function(e){return(e==="Height"?Gg:xt["inner"+e])||ci["client"+e]||Zt["client"+e]},iT=function(e){return Ro(e,"getBoundingClientRect")||(Ta(e)?function(){return Uf.width=xt.innerWidth,Uf.height=Gg,Uf}:function(){return Us(e)})},AL=function(e,n,r){var i=r.d,s=r.d2,o=r.a;return(o=Ro(e,"getBoundingClientRect"))?function(){return o()[i]}:function(){return(n?rT(s):e["client"+s])||0}},EL=function(e,n){return!n||~bs.indexOf(e)?iT(e):function(){return Uf}},ms=function(e,n){var r=n.s,i=n.d2,s=n.d,o=n.a;return Math.max(0,(r="scroll"+i)&&(o=Ro(e,r))?o()-iT(e)()[s]:Ta(e)?(ci[r]||Zt[r])-rT(i):e[r]-e["offset"+i])},df=function(e,n){for(var r=0;r<Ja.length;r+=3)(!n||~n.indexOf(Ja[r+1]))&&e(Ja[r],Ja[r+1],Ja[r+2])},li=function(e){return typeof e=="string"},kr=function(e){return typeof e=="function"},yu=function(e){return typeof e=="number"},ta=function(e){return typeof e=="object"},au=function(e,n,r){return e&&e.progress(n?0:1)&&r&&e.pause()},ap=function(e,n){if(e.enabled){var r=e._ctx?e._ctx.add(function(){return n(e)}):n(e);r&&r.totalTime&&(e.callbackAnimation=r)}},za=Math.abs,sT="left",oT="top",qg="right",Yg="bottom",ma="width",ga="height",Hu="Right",Bu="Left",Vu="Top",Uu="Bottom",jn="padding",Ci="margin",Cl="Width",Kg="Height",Xn="px",xi=function(e){return xt.getComputedStyle(e)},kL=function(e){var n=xi(e).position;e.style.position=n==="absolute"||n==="fixed"?n:"relative"},ny=function(e,n){for(var r in n)r in e||(e[r]=n[r]);return e},Us=function(e,n){var r=n&&xi(e)[bm]!=="matrix(1, 0, 0, 1, 0, 0)"&&tt.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),i=e.getBoundingClientRect();return r&&r.progress(0).kill(),i},wd=function(e,n){var r=n.d2;return e["offset"+r]||e["client"+r]||0},aT=function(e){var n=[],r=e.labels,i=e.duration(),s;for(s in r)n.push(r[s]/i);return n},RL=function(e){return function(n){return tt.utils.snap(aT(e),n)}},Xg=function(e){var n=tt.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(i,s){return i-s});return r?function(i,s,o){o===void 0&&(o=.001);var a;if(!s)return n(i);if(s>0){for(i-=o,a=0;a<r.length;a++)if(r[a]>=i)return r[a];return r[a-1]}else for(a=r.length,i+=o;a--;)if(r[a]<=i)return r[a];return r[0]}:function(i,s,o){o===void 0&&(o=.001);var a=n(i);return!s||Math.abs(a-i)<o||a-i<0==s<0?a:n(s<0?i-e:i+e)}},CL=function(e){return function(n,r){return Xg(aT(e))(n,r.direction)}},hf=function(e,n,r,i){return r.split(",").forEach(function(s){return e(n,s,i)})},sr=function(e,n,r,i,s){return e.addEventListener(n,r,{passive:!i,capture:!!s})},ir=function(e,n,r,i){return e.removeEventListener(n,r,!!i)},pf=function(e,n,r){r=r&&r.wheelHandler,r&&(e(n,"wheel",r),e(n,"touchmove",r))},ry={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},mf={toggleActions:"play",anticipatePin:0},Sd={top:0,left:0,center:.5,bottom:1,right:1},$f=function(e,n){if(li(e)){var r=e.indexOf("="),i=~r?+(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(i*=n/100),e=e.substr(0,r-1)),e=i+(e in Sd?Sd[e]*n:~e.indexOf("%")?parseFloat(e)*n/100:parseFloat(e)||0)}return e},gf=function(e,n,r,i,s,o,a,u){var c=s.startColor,d=s.endColor,l=s.fontSize,f=s.indent,h=s.fontWeight,g=pn.createElement("div"),p=Ta(r)||Ro(r,"pinType")==="fixed",b=e.indexOf("scroller")!==-1,y=p?Zt:r,S=e.indexOf("start")!==-1,E=S?c:d,T="border-color:"+E+";font-size:"+l+";color:"+E+";font-weight:"+h+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return T+="position:"+((b||u)&&p?"fixed;":"absolute;"),(b||u||!p)&&(T+=(i===Qn?qg:Yg)+":"+(o+parseFloat(f))+"px;"),a&&(T+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),g._isStart=S,g.setAttribute("class","gsap-marker-"+e+(n?" marker-"+n:"")),g.style.cssText=T,g.innerText=n||n===0?e+"-"+n:e,y.children[0]?y.insertBefore(g,y.children[0]):y.appendChild(g),g._offset=g["offset"+i.op.d2],Hf(g,0,i,S),g},Hf=function(e,n,r,i){var s={display:"block"},o=r[i?"os2":"p2"],a=r[i?"p2":"os2"];e._isFlipped=i,s[r.a+"Percent"]=i?-100:0,s[r.a]=i?"1px":0,s["border"+o+Cl]=1,s["border"+a+Cl]=0,s[r.p]=n+"px",tt.set(e,s)},Et=[],Am={},dc,iy=function(){return wr()-Di>34&&(dc||(dc=requestAnimationFrame(Ks)))},Ga=function(){(!Nr||!Nr.isPressed||Nr.startX>Zt.clientWidth)&&(Pt.cache++,Nr?dc||(dc=requestAnimationFrame(Ks)):Ks(),Di||Ea("scrollStart"),Di=wr())},lp=function(){eT=xt.innerWidth,ZS=xt.innerHeight},bu=function(e){Pt.cache++,(e===!0||!yr&&!JS&&!pn.fullscreenElement&&!pn.webkitFullscreenElement&&(!wm||eT!==xt.innerWidth||Math.abs(xt.innerHeight-ZS)>xt.innerHeight*.25))&&yd.restart(!0)},Aa={},xL=[],lT=function t(){return ir(It,"scrollEnd",t)||aa(!0)},Ea=function(e){return Aa[e]&&Aa[e].map(function(n){return n()})||xL},ai=[],uT=function(e){for(var n=0;n<ai.length;n+=5)(!e||ai[n+4]&&ai[n+4].query===e)&&(ai[n].style.cssText=ai[n+1],ai[n].getBBox&&ai[n].setAttribute("transform",ai[n+2]||""),ai[n+3].uncache=1)},Qg=function(e,n){var r;for($r=0;$r<Et.length;$r++)r=Et[$r],r&&(!n||r._ctx===n)&&(e?r.kill(1):r.revert(!0,!0));bd=!0,n&&uT(n),n||Ea("revert")},cT=function(e,n){Pt.cache++,(n||!Hr)&&Pt.forEach(function(r){return kr(r)&&r.cacheID++&&(r.rec=0)}),li(e)&&(xt.history.scrollRestoration=zg=e)},Hr,_a=0,sy,PL=function(){if(sy!==_a){var e=sy=_a;requestAnimationFrame(function(){return e===_a&&aa(!0)})}},fT=function(){Zt.appendChild(hl),Gg=!Nr&&hl.offsetHeight||xt.innerHeight,Zt.removeChild(hl)},oy=function(e){return fc(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(n){return n.style.display=e?"none":"block"})},aa=function(e,n){if(ci=pn.documentElement,Zt=pn.body,Wg=[xt,pn,ci,Zt],Di&&!e&&!bd){sr(It,"scrollEnd",lT);return}fT(),Hr=It.isRefreshing=!0,Pt.forEach(function(i){return kr(i)&&++i.cacheID&&(i.rec=i())});var r=Ea("refreshInit");QS&&It.sort(),n||Qg(),Pt.forEach(function(i){kr(i)&&(i.smooth&&(i.target.style.scrollBehavior="auto"),i(0))}),Et.slice(0).forEach(function(i){return i.refresh()}),bd=!1,Et.forEach(function(i){if(i._subPinOffset&&i.pin){var s=i.vars.horizontal?"offsetWidth":"offsetHeight",o=i.pin[s];i.revert(!0,1),i.adjustPinSpacing(i.pin[s]-o),i.refresh()}}),Tm=1,oy(!0),Et.forEach(function(i){var s=ms(i.scroller,i._dir),o=i.vars.end==="max"||i._endClamp&&i.end>s,a=i._startClamp&&i.start>=s;(o||a)&&i.setPositions(a?s-1:i.start,o?Math.max(a?s:i.start+1,s):i.end,!0)}),oy(!1),Tm=0,r.forEach(function(i){return i&&i.render&&i.render(-1)}),Pt.forEach(function(i){kr(i)&&(i.smooth&&requestAnimationFrame(function(){return i.target.style.scrollBehavior="smooth"}),i.rec&&i(i.rec))}),cT(zg,1),yd.pause(),_a++,Hr=2,Ks(2),Et.forEach(function(i){return kr(i.vars.onRefresh)&&i.vars.onRefresh(i)}),Hr=It.isRefreshing=!1,Ea("refresh")},Em=0,Bf=1,ju,Ks=function(e){if(e===2||!Hr&&!bd){It.isUpdating=!0,ju&&ju.update(0);var n=Et.length,r=wr(),i=r-op>=50,s=n&&Et[0].scroll();if(Bf=Em>s?-1:1,Hr||(Em=s),i&&(Di&&!nh&&r-Di>200&&(Di=0,Ea("scrollEnd")),gu=op,op=r),Bf<0){for($r=n;$r-- >0;)Et[$r]&&Et[$r].update(0,i);Bf=1}else for($r=0;$r<n;$r++)Et[$r]&&Et[$r].update(0,i);It.isUpdating=!1}dc=0},km=[sT,oT,Yg,qg,Ci+Uu,Ci+Hu,Ci+Vu,Ci+Bu,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Vf=km.concat([ma,ga,"boxSizing","max"+Cl,"max"+Kg,"position",Ci,jn,jn+Vu,jn+Hu,jn+Uu,jn+Bu]),IL=function(e,n,r){pl(r);var i=e._gsap;if(i.spacerIsNative)pl(i.spacerState);else if(e._gsap.swappedIn){var s=n.parentNode;s&&(s.insertBefore(e,n),s.removeChild(n))}e._gsap.swappedIn=!1},up=function(e,n,r,i){if(!e._gsap.swappedIn){for(var s=km.length,o=n.style,a=e.style,u;s--;)u=km[s],o[u]=r[u];o.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(o.display="inline-block"),a[Yg]=a[qg]="auto",o.flexBasis=r.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[ma]=wd(e,Ur)+Xn,o[ga]=wd(e,Qn)+Xn,o[jn]=a[Ci]=a[oT]=a[sT]="0",pl(i),a[ma]=a["max"+Cl]=r[ma],a[ga]=a["max"+Kg]=r[ga],a[jn]=r[jn],e.parentNode!==n&&(e.parentNode.insertBefore(n,e),n.appendChild(e)),e._gsap.swappedIn=!0}},LL=/([A-Z])/g,pl=function(e){if(e){var n=e.t.style,r=e.length,i=0,s,o;for((e.t._gsap||tt.core.getCache(e.t)).uncache=1;i<r;i+=2)o=e[i+1],s=e[i],o?n[s]=o:n[s]&&n.removeProperty(s.replace(LL,"-$1").toLowerCase())}},_f=function(e){for(var n=Vf.length,r=e.style,i=[],s=0;s<n;s++)i.push(Vf[s],r[Vf[s]]);return i.t=e,i},OL=function(e,n,r){for(var i=[],s=e.length,o=r?8:0,a;o<s;o+=2)a=e[o],i.push(a,a in n?n[a]:e[o+1]);return i.t=e.t,i},Uf={left:0,top:0},ay=function(e,n,r,i,s,o,a,u,c,d,l,f,h,g){kr(e)&&(e=e(u)),li(e)&&e.substr(0,3)==="max"&&(e=f+(e.charAt(4)==="="?$f("0"+e.substr(3),r):0));var p=h?h.time():0,b,y,S;if(h&&h.seek(0),isNaN(e)||(e=+e),yu(e))h&&(e=tt.utils.mapRange(h.scrollTrigger.start,h.scrollTrigger.end,0,f,e)),a&&Hf(a,r,i,!0);else{kr(n)&&(n=n(u));var E=(e||"0").split(" "),T,k,M,$;S=qr(n,u)||Zt,T=Us(S)||{},(!T||!T.left&&!T.top)&&xi(S).display==="none"&&($=S.style.display,S.style.display="block",T=Us(S),$?S.style.display=$:S.style.removeProperty("display")),k=$f(E[0],T[i.d]),M=$f(E[1]||"0",r),e=T[i.p]-c[i.p]-d+k+s-M,a&&Hf(a,M,i,r-M<20||a._isStart&&M>20),r-=r-M}if(g&&(u[g]=e||-.001,e<0&&(e=0)),o){var H=e+r,O=o._isStart;b="scroll"+i.d2,Hf(o,H,i,O&&H>20||!O&&(l?Math.max(Zt[b],ci[b]):o.parentNode[b])<=H+1),l&&(c=Us(a),l&&(o.style[i.op.p]=c[i.op.p]-i.op.m-o._offset+Xn))}return h&&S&&(b=Us(S),h.seek(f),y=Us(S),h._caScrollDist=b[i.p]-y[i.p],e=e/h._caScrollDist*f),h&&h.seek(p),h?e:Math.round(e)},ML=/(webkit|moz|length|cssText|inset)/i,ly=function(e,n,r,i){if(e.parentNode!==n){var s=e.style,o,a;if(n===Zt){e._stOrig=s.cssText,a=xi(e);for(o in a)!+o&&!ML.test(o)&&a[o]&&typeof s[o]=="string"&&o!=="0"&&(s[o]=a[o]);s.top=r,s.left=i}else s.cssText=e._stOrig;tt.core.getCache(e).uncache=1,n.appendChild(e)}},dT=function(e,n,r){var i=n,s=i;return function(o){var a=Math.round(e());return a!==i&&a!==s&&Math.abs(a-i)>3&&Math.abs(a-s)>3&&(o=a,r&&r()),s=i,i=Math.round(o),i}},vf=function(e,n,r){var i={};i[n.p]="+="+r,tt.set(e,i)},uy=function(e,n){var r=Lo(e,n),i="_scroll"+n.p2,s=function o(a,u,c,d,l){var f=o.tween,h=u.onComplete,g={};c=c||r();var p=dT(r,c,function(){f.kill(),o.tween=0});return l=d&&l||0,d=d||a-c,f&&f.kill(),u[i]=a,u.inherit=!1,u.modifiers=g,g[i]=function(){return p(c+d*f.ratio+l*f.ratio*f.ratio)},u.onUpdate=function(){Pt.cache++,o.tween&&Ks()},u.onComplete=function(){o.tween=0,h&&h.call(f)},f=o.tween=tt.to(e,u),f};return e[i]=r,r.wheelHandler=function(){return s.tween&&s.tween.kill()&&(s.tween=0)},sr(e,"wheel",r.wheelHandler),It.isTouch&&sr(e,"touchmove",r.wheelHandler),s},It=(function(){function t(n,r){Qa||t.register(tt)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Sm(this),this.init(n,r)}var e=t.prototype;return e.init=function(r,i){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!_u){this.update=this.refresh=this.kill=cs;return}r=ny(li(r)||yu(r)||r.nodeType?{trigger:r}:r,mf);var s=r,o=s.onUpdate,a=s.toggleClass,u=s.id,c=s.onToggle,d=s.onRefresh,l=s.scrub,f=s.trigger,h=s.pin,g=s.pinSpacing,p=s.invalidateOnRefresh,b=s.anticipatePin,y=s.onScrubComplete,S=s.onSnapComplete,E=s.once,T=s.snap,k=s.pinReparent,M=s.pinSpacer,$=s.containerAnimation,H=s.fastScrollEnd,O=s.preventOverlaps,F=r.horizontal||r.containerAnimation&&r.horizontal!==!1?Ur:Qn,re=!l&&l!==0,N=qr(r.scroller||xt),P=tt.core.getCache(N),z=Ta(N),Q=("pinType"in r?r.pinType:Ro(N,"pinType")||z&&"fixed")==="fixed",B=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],G=re&&r.toggleActions.split(" "),ie="markers"in r?r.markers:mf.markers,ae=z?0:parseFloat(xi(N)["border"+F.p2+Cl])||0,X=this,pe=r.onRefreshInit&&function(){return r.onRefreshInit(X)},Ee=AL(N,z,F),ke=EL(N,z),Re=0,ye=0,we=0,se=Lo(N,F),le,he,Te,Le,W,L,q,ee,K,x,V,C,D,Z,fe,de,ne,ce,R,_,w,U,oe,Ae,be,qe,Xe,$e,rt,at,Rt,Ye,Yt,Ct,ht,At,hn,Bn,nn;if(X._startClamp=X._endClamp=!1,X._dir=F,b*=45,X.scroller=N,X.scroll=$?$.time.bind($):se,Le=se(),X.vars=r,i=i||r.animation,"refreshPriority"in r&&(QS=1,r.refreshPriority===-9999&&(ju=X)),P.tweenScroll=P.tweenScroll||{top:uy(N,Qn),left:uy(N,Ur)},X.tweenTo=le=P.tweenScroll[F.p],X.scrubDuration=function(Ge){Yt=yu(Ge)&&Ge,Yt?Ye?Ye.duration(Ge):Ye=tt.to(i,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Yt,paused:!0,onComplete:function(){return y&&y(X)}}):(Ye&&Ye.progress(1).kill(),Ye=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(l),at=0,u||(u=i.vars.id)),T&&((!ta(T)||T.push)&&(T={snapTo:T}),"scrollBehavior"in Zt.style&&tt.set(z?[Zt,ci]:N,{scrollBehavior:"auto"}),Pt.forEach(function(Ge){return kr(Ge)&&Ge.target===(z?pn.scrollingElement||ci:N)&&(Ge.smooth=!1)}),Te=kr(T.snapTo)?T.snapTo:T.snapTo==="labels"?RL(i):T.snapTo==="labelsDirectional"?CL(i):T.directional!==!1?function(Ge,ct){return Xg(T.snapTo)(Ge,wr()-ye<500?0:ct.direction)}:tt.utils.snap(T.snapTo),Ct=T.duration||{min:.1,max:2},Ct=ta(Ct)?$u(Ct.min,Ct.max):$u(Ct,Ct),ht=tt.delayedCall(T.delay||Yt/2||.1,function(){var Ge=se(),ct=wr()-ye<500,st=le.tween;if((ct||Math.abs(X.getVelocity())<10)&&!st&&!nh&&Re!==Ge){var ft=(Ge-L)/Z,Dn=i&&!re?i.totalProgress():ft,De=ct?0:(Dn-Rt)/(wr()-gu)*1e3||0,_n=tt.utils.clamp(-ft,1-ft,za(De/2)*De/.185),Zn=ft+(T.inertia===!1?0:_n),bn,Ut,Kt=T,Wr=Kt.onStart,sn=Kt.onInterrupt,_r=Kt.onComplete;if(bn=Te(Zn,X),yu(bn)||(bn=Zn),Ut=Math.max(0,Math.round(L+bn*Z)),Ge<=q&&Ge>=L&&Ut!==Ge){if(st&&!st._initted&&st.data<=za(Ut-Ge))return;T.inertia===!1&&(_n=bn-ft),le(Ut,{duration:Ct(za(Math.max(za(Zn-Dn),za(bn-Dn))*.185/De/.05||0)),ease:T.ease||"power3",data:za(Ut-Ge),onInterrupt:function(){return ht.restart(!0)&&sn&&sn(X)},onComplete:function(){X.update(),Re=se(),i&&!re&&(Ye?Ye.resetTo("totalProgress",bn,i._tTime/i._tDur):i.progress(bn)),at=Rt=i&&!re?i.totalProgress():X.progress,S&&S(X),_r&&_r(X)}},Ge,_n*Z,Ut-Ge-_n*Z),Wr&&Wr(X,le.tween)}}else X.isActive&&Re!==Ge&&ht.restart(!0)}).pause()),u&&(Am[u]=X),f=X.trigger=qr(f||h!==!0&&h),nn=f&&f._gsap&&f._gsap.stRevert,nn&&(nn=nn(X)),h=h===!0?f:qr(h),li(a)&&(a={targets:f,className:a}),h&&(g===!1||g===Ci||(g=!g&&h.parentNode&&h.parentNode.style&&xi(h.parentNode).display==="flex"?!1:jn),X.pin=h,he=tt.core.getCache(h),he.spacer?fe=he.pinState:(M&&(M=qr(M),M&&!M.nodeType&&(M=M.current||M.nativeElement),he.spacerIsNative=!!M,M&&(he.spacerState=_f(M))),he.spacer=ce=M||pn.createElement("div"),ce.classList.add("pin-spacer"),u&&ce.classList.add("pin-spacer-"+u),he.pinState=fe=_f(h)),r.force3D!==!1&&tt.set(h,{force3D:!0}),X.spacer=ce=he.spacer,rt=xi(h),Ae=rt[g+F.os2],_=tt.getProperty(h),w=tt.quickSetter(h,F.a,Xn),up(h,ce,rt),ne=_f(h)),ie){C=ta(ie)?ny(ie,ry):ry,x=gf("scroller-start",u,N,F,C,0),V=gf("scroller-end",u,N,F,C,0,x),R=x["offset"+F.op.d2];var Pn=qr(Ro(N,"content")||N);ee=this.markerStart=gf("start",u,Pn,F,C,R,0,$),K=this.markerEnd=gf("end",u,Pn,F,C,R,0,$),$&&(Bn=tt.quickSetter([ee,K],F.a,Xn)),!Q&&!(bs.length&&Ro(N,"fixedMarkers")===!0)&&(kL(z?Zt:N),tt.set([x,V],{force3D:!0}),qe=tt.quickSetter(x,F.a,Xn),$e=tt.quickSetter(V,F.a,Xn))}if($){var He=$.vars.onUpdate,Be=$.vars.onUpdateParams;$.eventCallback("onUpdate",function(){X.update(0,0,1),He&&He.apply($,Be||[])})}if(X.previous=function(){return Et[Et.indexOf(X)-1]},X.next=function(){return Et[Et.indexOf(X)+1]},X.revert=function(Ge,ct){if(!ct)return X.kill(!0);var st=Ge!==!1||!X.enabled,ft=yr;st!==X.isReverted&&(st&&(At=Math.max(se(),X.scroll.rec||0),we=X.progress,hn=i&&i.progress()),ee&&[ee,K,x,V].forEach(function(Dn){return Dn.style.display=st?"none":"block"}),st&&(yr=X,X.update(st)),h&&(!k||!X.isActive)&&(st?IL(h,ce,fe):up(h,ce,xi(h),be)),st||X.update(st),yr=ft,X.isReverted=st)},X.refresh=function(Ge,ct,st,ft){if(!((yr||!X.enabled)&&!ct)){if(h&&Ge&&Di){sr(t,"scrollEnd",lT);return}!Hr&&pe&&pe(X),yr=X,le.tween&&!st&&(le.tween.kill(),le.tween=0),Ye&&Ye.pause(),p&&i&&(i.revert({kill:!1}).invalidate(),i.getChildren&&i.getChildren(!0,!0,!1).forEach(function(Bi){return Bi.vars.immediateRender&&Bi.render(0,!0,!0)})),X.isReverted||X.revert(!0,!0),X._subPinOffset=!1;var Dn=Ee(),De=ke(),_n=$?$.duration():ms(N,F),Zn=Z<=.01||!Z,bn=0,Ut=ft||0,Kt=ta(st)?st.end:r.end,Wr=r.endTrigger||f,sn=ta(st)?st.start:r.start||(r.start===0||!f?0:h?"0 0":"0 100%"),_r=X.pinnedContainer=r.pinnedContainer&&qr(r.pinnedContainer,X),ri=f&&Math.max(0,Et.indexOf(X))||0,In=ri,Vn,vn,Ji,Fa,er,Tn,ii,Ho,Si,Zi,zr,Bo,As;for(ie&&ta(st)&&(Bo=tt.getProperty(x,F.p),As=tt.getProperty(V,F.p));In-- >0;)Tn=Et[In],Tn.end||Tn.refresh(0,1)||(yr=X),ii=Tn.pin,ii&&(ii===f||ii===h||ii===_r)&&!Tn.isReverted&&(Zi||(Zi=[]),Zi.unshift(Tn),Tn.revert(!0,!0)),Tn!==Et[In]&&(ri--,In--);for(kr(sn)&&(sn=sn(X)),sn=J0(sn,"start",X),L=ay(sn,f,Dn,F,se(),ee,x,X,De,ae,Q,_n,$,X._startClamp&&"_startClamp")||(h?-.001:0),kr(Kt)&&(Kt=Kt(X)),li(Kt)&&!Kt.indexOf("+=")&&(~Kt.indexOf(" ")?Kt=(li(sn)?sn.split(" ")[0]:"")+Kt:(bn=$f(Kt.substr(2),Dn),Kt=li(sn)?sn:($?tt.utils.mapRange(0,$.duration(),$.scrollTrigger.start,$.scrollTrigger.end,L):L)+bn,Wr=f)),Kt=J0(Kt,"end",X),q=Math.max(L,ay(Kt||(Wr?"100% 0":_n),Wr,Dn,F,se()+bn,K,V,X,De,ae,Q,_n,$,X._endClamp&&"_endClamp"))||-.001,bn=0,In=ri;In--;)Tn=Et[In],ii=Tn.pin,ii&&Tn.start-Tn._pinPush<=L&&!$&&Tn.end>0&&(Vn=Tn.end-(X._startClamp?Math.max(0,Tn.start):Tn.start),(ii===f&&Tn.start-Tn._pinPush<L||ii===_r)&&isNaN(sn)&&(bn+=Vn*(1-Tn.progress)),ii===h&&(Ut+=Vn));if(L+=bn,q+=bn,X._startClamp&&(X._startClamp+=bn),X._endClamp&&!Hr&&(X._endClamp=q||-.001,q=Math.min(q,ms(N,F))),Z=q-L||(L-=.01)&&.001,Zn&&(we=tt.utils.clamp(0,1,tt.utils.normalize(L,q,At))),X._pinPush=Ut,ee&&bn&&(Vn={},Vn[F.a]="+="+bn,_r&&(Vn[F.p]="-="+se()),tt.set([ee,K],Vn)),h&&!(Tm&&X.end>=ms(N,F)))Vn=xi(h),Fa=F===Qn,Ji=se(),U=parseFloat(_(F.a))+Ut,!_n&&q>1&&(zr=(z?pn.scrollingElement||ci:N).style,zr={style:zr,value:zr["overflow"+F.a.toUpperCase()]},z&&xi(Zt)["overflow"+F.a.toUpperCase()]!=="scroll"&&(zr.style["overflow"+F.a.toUpperCase()]="scroll")),up(h,ce,Vn),ne=_f(h),vn=Us(h,!0),Ho=Q&&Lo(N,Fa?Ur:Qn)(),g?(be=[g+F.os2,Z+Ut+Xn],be.t=ce,In=g===jn?wd(h,F)+Z+Ut:0,In&&(be.push(F.d,In+Xn),ce.style.flexBasis!=="auto"&&(ce.style.flexBasis=In+Xn)),pl(be),_r&&Et.forEach(function(Bi){Bi.pin===_r&&Bi.vars.pinSpacing!==!1&&(Bi._subPinOffset=!0)}),Q&&se(At)):(In=wd(h,F),In&&ce.style.flexBasis!=="auto"&&(ce.style.flexBasis=In+Xn)),Q&&(er={top:vn.top+(Fa?Ji-L:Ho)+Xn,left:vn.left+(Fa?Ho:Ji-L)+Xn,boxSizing:"border-box",position:"fixed"},er[ma]=er["max"+Cl]=Math.ceil(vn.width)+Xn,er[ga]=er["max"+Kg]=Math.ceil(vn.height)+Xn,er[Ci]=er[Ci+Vu]=er[Ci+Hu]=er[Ci+Uu]=er[Ci+Bu]="0",er[jn]=Vn[jn],er[jn+Vu]=Vn[jn+Vu],er[jn+Hu]=Vn[jn+Hu],er[jn+Uu]=Vn[jn+Uu],er[jn+Bu]=Vn[jn+Bu],de=OL(fe,er,k),Hr&&se(0)),i?(Si=i._initted,ip(1),i.render(i.duration(),!0,!0),oe=_(F.a)-U+Z+Ut,Xe=Math.abs(Z-oe)>1,Q&&Xe&&de.splice(de.length-2,2),i.render(0,!0,!0),Si||i.invalidate(!0),i.parent||i.totalTime(i.totalTime()),ip(0)):oe=Z,zr&&(zr.value?zr.style["overflow"+F.a.toUpperCase()]=zr.value:zr.style.removeProperty("overflow-"+F.a));else if(f&&se()&&!$)for(vn=f.parentNode;vn&&vn!==Zt;)vn._pinOffset&&(L-=vn._pinOffset,q-=vn._pinOffset),vn=vn.parentNode;Zi&&Zi.forEach(function(Bi){return Bi.revert(!1,!0)}),X.start=L,X.end=q,Le=W=Hr?At:se(),!$&&!Hr&&(Le<At&&se(At),X.scroll.rec=0),X.revert(!1,!0),ye=wr(),ht&&(Re=-1,ht.restart(!0)),yr=0,i&&re&&(i._initted||hn)&&i.progress()!==hn&&i.progress(hn||0,!0).render(i.time(),!0,!0),(Zn||we!==X.progress||$||p||i&&!i._initted)&&(i&&!re&&(i._initted||we||i.vars.immediateRender!==!1)&&i.totalProgress($&&L<-.001&&!we?tt.utils.normalize(L,q,0):we,!0),X.progress=Zn||(Le-L)/Z===we?0:we),h&&g&&(ce._pinOffset=Math.round(X.progress*oe)),Ye&&Ye.invalidate(),isNaN(Bo)||(Bo-=tt.getProperty(x,F.p),As-=tt.getProperty(V,F.p),vf(x,F,Bo),vf(ee,F,Bo-(ft||0)),vf(V,F,As),vf(K,F,As-(ft||0))),Zn&&!Hr&&X.update(),d&&!Hr&&!D&&(D=!0,d(X),D=!1)}},X.getVelocity=function(){return(se()-W)/(wr()-gu)*1e3||0},X.endAnimation=function(){au(X.callbackAnimation),i&&(Ye?Ye.progress(1):i.paused()?re||au(i,X.direction<0,1):au(i,i.reversed()))},X.labelToScroll=function(Ge){return i&&i.labels&&(L||X.refresh()||L)+i.labels[Ge]/i.duration()*Z||0},X.getTrailing=function(Ge){var ct=Et.indexOf(X),st=X.direction>0?Et.slice(0,ct).reverse():Et.slice(ct+1);return(li(Ge)?st.filter(function(ft){return ft.vars.preventOverlaps===Ge}):st).filter(function(ft){return X.direction>0?ft.end<=L:ft.start>=q})},X.update=function(Ge,ct,st){if(!($&&!st&&!Ge)){var ft=Hr===!0?At:X.scroll(),Dn=Ge?0:(ft-L)/Z,De=Dn<0?0:Dn>1?1:Dn||0,_n=X.progress,Zn,bn,Ut,Kt,Wr,sn,_r,ri;if(ct&&(W=Le,Le=$?se():ft,T&&(Rt=at,at=i&&!re?i.totalProgress():De)),b&&h&&!yr&&!ff&&Di&&(!De&&L<ft+(ft-W)/(wr()-gu)*b?De=1e-4:De===1&&q>ft+(ft-W)/(wr()-gu)*b&&(De=.9999)),De!==_n&&X.enabled){if(Zn=X.isActive=!!De&&De<1,bn=!!_n&&_n<1,sn=Zn!==bn,Wr=sn||!!De!=!!_n,X.direction=De>_n?1:-1,X.progress=De,Wr&&!yr&&(Ut=De&&!_n?0:De===1?1:_n===1?2:3,re&&(Kt=!sn&&G[Ut+1]!=="none"&&G[Ut+1]||G[Ut],ri=i&&(Kt==="complete"||Kt==="reset"||Kt in i))),O&&(sn||ri)&&(ri||l||!i)&&(kr(O)?O(X):X.getTrailing(O).forEach(function(Ji){return Ji.endAnimation()})),re||(Ye&&!yr&&!ff?(Ye._dp._time-Ye._start!==Ye._time&&Ye.render(Ye._dp._time-Ye._start),Ye.resetTo?Ye.resetTo("totalProgress",De,i._tTime/i._tDur):(Ye.vars.totalProgress=De,Ye.invalidate().restart())):i&&i.totalProgress(De,!!(yr&&(ye||Ge)))),h){if(Ge&&g&&(ce.style[g+F.os2]=Ae),!Q)w(vu(U+oe*De));else if(Wr){if(_r=!Ge&&De>_n&&q+1>ft&&ft+1>=ms(N,F),k)if(!Ge&&(Zn||_r)){var In=Us(h,!0),Vn=ft-L;ly(h,Zt,In.top+(F===Qn?Vn:0)+Xn,In.left+(F===Qn?0:Vn)+Xn)}else ly(h,ce);pl(Zn||_r?de:ne),Xe&&De<1&&Zn||w(U+(De===1&&!_r?oe:0))}}T&&!le.tween&&!yr&&!ff&&ht.restart(!0),a&&(sn||E&&De&&(De<1||!sp))&&fc(a.targets).forEach(function(Ji){return Ji.classList[Zn||E?"add":"remove"](a.className)}),o&&!re&&!Ge&&o(X),Wr&&!yr?(re&&(ri&&(Kt==="complete"?i.pause().totalProgress(1):Kt==="reset"?i.restart(!0).pause():Kt==="restart"?i.restart(!0):i[Kt]()),o&&o(X)),(sn||!sp)&&(c&&sn&&ap(X,c),B[Ut]&&ap(X,B[Ut]),E&&(De===1?X.kill(!1,1):B[Ut]=0),sn||(Ut=De===1?1:3,B[Ut]&&ap(X,B[Ut]))),H&&!Zn&&Math.abs(X.getVelocity())>(yu(H)?H:2500)&&(au(X.callbackAnimation),Ye?Ye.progress(1):au(i,Kt==="reverse"?1:!De,1))):re&&o&&!yr&&o(X)}if($e){var vn=$?ft/$.duration()*($._caScrollDist||0):ft;qe(vn+(x._isFlipped?1:0)),$e(vn)}Bn&&Bn(-ft/$.duration()*($._caScrollDist||0))}},X.enable=function(Ge,ct){X.enabled||(X.enabled=!0,sr(N,"resize",bu),z||sr(N,"scroll",Ga),pe&&sr(t,"refreshInit",pe),Ge!==!1&&(X.progress=we=0,Le=W=Re=se()),ct!==!1&&X.refresh())},X.getTween=function(Ge){return Ge&&le?le.tween:Ye},X.setPositions=function(Ge,ct,st,ft){if($){var Dn=$.scrollTrigger,De=$.duration(),_n=Dn.end-Dn.start;Ge=Dn.start+_n*Ge/De,ct=Dn.start+_n*ct/De}X.refresh(!1,!1,{start:Z0(Ge,st&&!!X._startClamp),end:Z0(ct,st&&!!X._endClamp)},ft),X.update()},X.adjustPinSpacing=function(Ge){if(be&&Ge){var ct=be.indexOf(F.d)+1;be[ct]=parseFloat(be[ct])+Ge+Xn,be[1]=parseFloat(be[1])+Ge+Xn,pl(be)}},X.disable=function(Ge,ct){if(X.enabled&&(Ge!==!1&&X.revert(!0,!0),X.enabled=X.isActive=!1,ct||Ye&&Ye.pause(),At=0,he&&(he.uncache=1),pe&&ir(t,"refreshInit",pe),ht&&(ht.pause(),le.tween&&le.tween.kill()&&(le.tween=0)),!z)){for(var st=Et.length;st--;)if(Et[st].scroller===N&&Et[st]!==X)return;ir(N,"resize",bu),z||ir(N,"scroll",Ga)}},X.kill=function(Ge,ct){X.disable(Ge,ct),Ye&&!ct&&Ye.kill(),u&&delete Am[u];var st=Et.indexOf(X);st>=0&&Et.splice(st,1),st===$r&&Bf>0&&$r--,st=0,Et.forEach(function(ft){return ft.scroller===X.scroller&&(st=1)}),st||Hr||(X.scroll.rec=0),i&&(i.scrollTrigger=null,Ge&&i.revert({kill:!1}),ct||i.kill()),ee&&[ee,K,x,V].forEach(function(ft){return ft.parentNode&&ft.parentNode.removeChild(ft)}),ju===X&&(ju=0),h&&(he&&(he.uncache=1),st=0,Et.forEach(function(ft){return ft.pin===h&&st++}),st||(he.spacer=0)),r.onKill&&r.onKill(X)},Et.push(X),X.enable(!1,!1),nn&&nn(X),i&&i.add&&!Z){var vt=X.update;X.update=function(){X.update=vt,Pt.cache++,L||q||X.refresh()},tt.delayedCall(.01,X.update),Z=.01,L=q=0}else X.refresh();h&&PL()},t.register=function(r){return Qa||(tt=r||nT(),tT()&&window.document&&t.enable(),Qa=_u),Qa},t.defaults=function(r){if(r)for(var i in r)mf[i]=r[i];return mf},t.disable=function(r,i){_u=0,Et.forEach(function(o){return o[i?"kill":"disable"](r)}),ir(xt,"wheel",Ga),ir(pn,"scroll",Ga),clearInterval(cf),ir(pn,"touchcancel",cs),ir(Zt,"touchstart",cs),hf(ir,pn,"pointerdown,touchstart,mousedown",ey),hf(ir,pn,"pointerup,touchend,mouseup",ty),yd.kill(),df(ir);for(var s=0;s<Pt.length;s+=3)pf(ir,Pt[s],Pt[s+1]),pf(ir,Pt[s],Pt[s+2])},t.enable=function(){if(xt=window,pn=document,ci=pn.documentElement,Zt=pn.body,tt&&(fc=tt.utils.toArray,$u=tt.utils.clamp,Sm=tt.core.context||cs,ip=tt.core.suppressOverwrites||cs,zg=xt.history.scrollRestoration||"auto",Em=xt.pageYOffset||0,tt.core.globals("ScrollTrigger",t),Zt)){_u=1,hl=document.createElement("div"),hl.style.height="100vh",hl.style.position="absolute",fT(),TL(),Hn.register(tt),t.isTouch=Hn.isTouch,fo=Hn.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),wm=Hn.isTouch===1,sr(xt,"wheel",Ga),Wg=[xt,pn,ci,Zt],tt.matchMedia?(t.matchMedia=function(c){var d=tt.matchMedia(),l;for(l in c)d.add(l,c[l]);return d},tt.addEventListener("matchMediaInit",function(){return Qg()}),tt.addEventListener("matchMediaRevert",function(){return uT()}),tt.addEventListener("matchMedia",function(){aa(0,1),Ea("matchMedia")}),tt.matchMedia().add("(orientation: portrait)",function(){return lp(),lp})):console.warn("Requires GSAP 3.11.0 or later"),lp(),sr(pn,"scroll",Ga);var r=Zt.hasAttribute("style"),i=Zt.style,s=i.borderTopStyle,o=tt.core.Animation.prototype,a,u;for(o.revert||Object.defineProperty(o,"revert",{value:function(){return this.time(-.01,!0)}}),i.borderTopStyle="solid",a=Us(Zt),Qn.m=Math.round(a.top+Qn.sc())||0,Ur.m=Math.round(a.left+Ur.sc())||0,s?i.borderTopStyle=s:i.removeProperty("border-top-style"),r||(Zt.setAttribute("style",""),Zt.removeAttribute("style")),cf=setInterval(iy,250),tt.delayedCall(.5,function(){return ff=0}),sr(pn,"touchcancel",cs),sr(Zt,"touchstart",cs),hf(sr,pn,"pointerdown,touchstart,mousedown",ey),hf(sr,pn,"pointerup,touchend,mouseup",ty),bm=tt.utils.checkPrefix("transform"),Vf.push(bm),Qa=wr(),yd=tt.delayedCall(.2,aa).pause(),Ja=[pn,"visibilitychange",function(){var c=xt.innerWidth,d=xt.innerHeight;pn.hidden?(X0=c,Q0=d):(X0!==c||Q0!==d)&&bu()},pn,"DOMContentLoaded",aa,xt,"load",aa,xt,"resize",bu],df(sr),Et.forEach(function(c){return c.enable(0,1)}),u=0;u<Pt.length;u+=3)pf(ir,Pt[u],Pt[u+1]),pf(ir,Pt[u],Pt[u+2])}},t.config=function(r){"limitCallbacks"in r&&(sp=!!r.limitCallbacks);var i=r.syncInterval;i&&clearInterval(cf)||(cf=i)&&setInterval(iy,i),"ignoreMobileResize"in r&&(wm=t.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(df(ir)||df(sr,r.autoRefreshEvents||"none"),JS=(r.autoRefreshEvents+"").indexOf("resize")===-1)},t.scrollerProxy=function(r,i){var s=qr(r),o=Pt.indexOf(s),a=Ta(s);~o&&Pt.splice(o,a?6:2),i&&(a?bs.unshift(xt,i,Zt,i,ci,i):bs.unshift(s,i))},t.clearMatchMedia=function(r){Et.forEach(function(i){return i._ctx&&i._ctx.query===r&&i._ctx.kill(!0,!0)})},t.isInViewport=function(r,i,s){var o=(li(r)?qr(r):r).getBoundingClientRect(),a=o[s?ma:ga]*i||0;return s?o.right-a>0&&o.left+a<xt.innerWidth:o.bottom-a>0&&o.top+a<xt.innerHeight},t.positionInViewport=function(r,i,s){li(r)&&(r=qr(r));var o=r.getBoundingClientRect(),a=o[s?ma:ga],u=i==null?a/2:i in Sd?Sd[i]*a:~i.indexOf("%")?parseFloat(i)*a/100:parseFloat(i)||0;return s?(o.left+u)/xt.innerWidth:(o.top+u)/xt.innerHeight},t.killAll=function(r){if(Et.slice(0).forEach(function(s){return s.vars.id!=="ScrollSmoother"&&s.kill()}),r!==!0){var i=Aa.killAll||[];Aa={},i.forEach(function(s){return s()})}},t})();It.version="3.13.0";It.saveStyles=function(t){return t?fc(t).forEach(function(e){if(e&&e.style){var n=ai.indexOf(e);n>=0&&ai.splice(n,5),ai.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),tt.core.getCache(e),Sm())}}):ai};It.revert=function(t,e){return Qg(!t,e)};It.create=function(t,e){return new It(t,e)};It.refresh=function(t){return t?bu(!0):(Qa||It.register())&&aa(!0)};It.update=function(t){return++Pt.cache&&Ks(t===!0?2:0)};It.clearScrollMemory=cT;It.maxScroll=function(t,e){return ms(t,e?Ur:Qn)};It.getScrollFunc=function(t,e){return Lo(qr(t),e?Ur:Qn)};It.getById=function(t){return Am[t]};It.getAll=function(){return Et.filter(function(t){return t.vars.id!=="ScrollSmoother"})};It.isScrolling=function(){return!!Di};It.snapDirectional=Xg;It.addEventListener=function(t,e){var n=Aa[t]||(Aa[t]=[]);~n.indexOf(e)||n.push(e)};It.removeEventListener=function(t,e){var n=Aa[t],r=n&&n.indexOf(e);r>=0&&n.splice(r,1)};It.batch=function(t,e){var n=[],r={},i=e.interval||.016,s=e.batchMax||1e9,o=function(c,d){var l=[],f=[],h=tt.delayedCall(i,function(){d(l,f),l=[],f=[]}).pause();return function(g){l.length||h.restart(!0),l.push(g.trigger),f.push(g),s<=l.length&&h.progress(1)}},a;for(a in e)r[a]=a.substr(0,2)==="on"&&kr(e[a])&&a!=="onRefreshInit"?o(a,e[a]):e[a];return kr(s)&&(s=s(),sr(It,"refresh",function(){return s=e.batchMax()})),fc(t).forEach(function(u){var c={};for(a in r)c[a]=r[a];c.trigger=u,n.push(It.create(c))}),n};var cy=function(e,n,r,i){return n>i?e(i):n<0&&e(0),r>i?(i-n)/(r-n):r<0?n/(n-r):1},cp=function t(e,n){n===!0?e.style.removeProperty("touch-action"):e.style.touchAction=n===!0?"auto":n?"pan-"+n+(Hn.isTouch?" pinch-zoom":""):"none",e===ci&&t(Zt,n)},yf={auto:1,scroll:1},FL=function(e){var n=e.event,r=e.target,i=e.axis,s=(n.changedTouches?n.changedTouches[0]:n).target,o=s._gsap||tt.core.getCache(s),a=wr(),u;if(!o._isScrollT||a-o._isScrollT>2e3){for(;s&&s!==Zt&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!(yf[(u=xi(s)).overflowY]||yf[u.overflowX]));)s=s.parentNode;o._isScroll=s&&s!==r&&!Ta(s)&&(yf[(u=xi(s)).overflowY]||yf[u.overflowX]),o._isScrollT=a}(o._isScroll||i==="x")&&(n.stopPropagation(),n._gsapAllow=!0)},hT=function(e,n,r,i){return Hn.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:n,onWheel:i=i&&FL,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return r&&sr(pn,Hn.eventTypes[0],dy,!1,!0)},onDisable:function(){return ir(pn,Hn.eventTypes[0],dy,!0)}})},DL=/(input|label|select|textarea)/i,fy,dy=function(e){var n=DL.test(e.target.tagName);(n||fy)&&(e._gsapAllow=!0,fy=n)},NL=function(e){ta(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 n=e,r=n.normalizeScrollX,i=n.momentum,s=n.allowNestedScroll,o=n.onRelease,a,u,c=qr(e.target)||ci,d=tt.core.globals().ScrollSmoother,l=d&&d.get(),f=fo&&(e.content&&qr(e.content)||l&&e.content!==!1&&!l.smooth()&&l.content()),h=Lo(c,Qn),g=Lo(c,Ur),p=1,b=(Hn.isTouch&&xt.visualViewport?xt.visualViewport.scale*xt.visualViewport.width:xt.outerWidth)/xt.innerWidth,y=0,S=kr(i)?function(){return i(a)}:function(){return i||2.8},E,T,k=hT(c,e.type,!0,s),M=function(){return T=!1},$=cs,H=cs,O=function(){u=ms(c,Qn),H=$u(fo?1:0,u),r&&($=$u(0,ms(c,Ur))),E=_a},F=function(){f._gsap.y=vu(parseFloat(f._gsap.y)+h.offset)+"px",f.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(f._gsap.y)+", 0, 1)",h.offset=h.cacheID=0},re=function(){if(T){requestAnimationFrame(M);var ie=vu(a.deltaY/2),ae=H(h.v-ie);if(f&&ae!==h.v+h.offset){h.offset=ae-h.v;var X=vu((parseFloat(f&&f._gsap.y)||0)-h.offset);f.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+X+", 0, 1)",f._gsap.y=X+"px",h.cacheID=Pt.cache,Ks()}return!0}h.offset&&F(),T=!0},N,P,z,Q,B=function(){O(),N.isActive()&&N.vars.scrollY>u&&(h()>u?N.progress(1)&&h(u):N.resetTo("scrollY",u))};return f&&tt.set(f,{y:"+=0"}),e.ignoreCheck=function(G){return fo&&G.type==="touchmove"&&re()||p>1.05&&G.type!=="touchstart"||a.isGesturing||G.touches&&G.touches.length>1},e.onPress=function(){T=!1;var G=p;p=vu((xt.visualViewport&&xt.visualViewport.scale||1)/b),N.pause(),G!==p&&cp(c,p>1.01?!0:r?!1:"x"),P=g(),z=h(),O(),E=_a},e.onRelease=e.onGestureStart=function(G,ie){if(h.offset&&F(),!ie)Q.restart(!0);else{Pt.cache++;var ae=S(),X,pe;r&&(X=g(),pe=X+ae*.05*-G.velocityX/.227,ae*=cy(g,X,pe,ms(c,Ur)),N.vars.scrollX=$(pe)),X=h(),pe=X+ae*.05*-G.velocityY/.227,ae*=cy(h,X,pe,ms(c,Qn)),N.vars.scrollY=H(pe),N.invalidate().duration(ae).play(.01),(fo&&N.vars.scrollY>=u||X>=u-1)&&tt.to({},{onUpdate:B,duration:ae})}o&&o(G)},e.onWheel=function(){N._ts&&N.pause(),wr()-y>1e3&&(E=0,y=wr())},e.onChange=function(G,ie,ae,X,pe){if(_a!==E&&O(),ie&&r&&g($(X[2]===ie?P+(G.startX-G.x):g()+ie-X[1])),ae){h.offset&&F();var Ee=pe[2]===ae,ke=Ee?z+G.startY-G.y:h()+ae-pe[1],Re=H(ke);Ee&&ke!==Re&&(z+=Re-ke),h(Re)}(ae||ie)&&Ks()},e.onEnable=function(){cp(c,r?!1:"x"),It.addEventListener("refresh",B),sr(xt,"resize",B),h.smooth&&(h.target.style.scrollBehavior="auto",h.smooth=g.smooth=!1),k.enable()},e.onDisable=function(){cp(c,!0),ir(xt,"resize",B),It.removeEventListener("refresh",B),k.kill()},e.lockAxis=e.lockAxis!==!1,a=new Hn(e),a.iOS=fo,fo&&!h()&&h(1),fo&&tt.ticker.add(cs),Q=a._dc,N=tt.to(a,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:dT(h,h(),function(){return N.pause()})},onUpdate:Ks,onComplete:Q.vars.onComplete}),a};It.sort=function(t){if(kr(t))return Et.sort(t);var e=xt.pageYOffset||0;return It.getAll().forEach(function(n){return n._sortY=n.trigger?e+n.trigger.getBoundingClientRect().top:n.start+xt.innerHeight}),Et.sort(t||function(n,r){return(n.vars.refreshPriority||0)*-1e6+(n.vars.containerAnimation?1e6:n._sortY)-((r.vars.containerAnimation?1e6:r._sortY)+(r.vars.refreshPriority||0)*-1e6)})};It.observe=function(t){return new Hn(t)};It.normalizeScroll=function(t){if(typeof t>"u")return Nr;if(t===!0&&Nr)return Nr.enable();if(t===!1){Nr&&Nr.kill(),Nr=t;return}var e=t instanceof Hn?t:NL(t);return Nr&&Nr.target===e.target&&Nr.kill(),Ta(e.target)&&(Nr=e),e};It.core={_getVelocityProp:ym,_inputObserver:hT,_scrollers:Pt,_proxies:bs,bridge:{ss:function(){Di||Ea("scrollStart"),Di=wr()},ref:function(){return yr}}};nT()&&tt.registerPlugin(It);function $L(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function HL(t,e,n){return e&&$L(t.prototype,e),t}/*!
* ScrollSmoother 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
*/var Qt,bf,Or,go,wu,Os,na,hy,St,ds,wf,py,my,gy,_y,pT=function(){return typeof window<"u"},mT=function(){return Qt||pT()&&(Qt=window.gsap)&&Qt.registerPlugin&&Qt},BL=function(e){return Math.round(e*1e5)/1e5||0},lo=function(e){return St.maxScroll(e||Or)},VL=function(e,n){var r=e.parentNode||wu,i=e.getBoundingClientRect(),s=r.getBoundingClientRect(),o=s.top-i.top,a=s.bottom-i.bottom,u=(Math.abs(o)>Math.abs(a)?o:a)/(1-n),c=-u*n,d,l;return u>0&&(d=s.height/(Or.innerHeight+s.height),l=d===.5?s.height*2:Math.min(s.height,Math.abs(-u*d/(2*d-1)))*2*(n||1),c+=n?-l*n:-l/2,u+=l),{change:u,offset:c}},UL=function(e){var n=go.querySelector(".ScrollSmoother-wrapper");return n||(n=go.createElement("div"),n.classList.add("ScrollSmoother-wrapper"),e.parentNode.insertBefore(n,e),n.appendChild(e)),n},ka=(function(){function t(e){var n=this;bf||t.register(Qt)||console.warn("Please gsap.registerPlugin(ScrollSmoother)"),e=this.vars=e||{},ds&&ds.kill(),ds=this,gy(this);var r=e,i=r.smoothTouch,s=r.onUpdate,o=r.onStop,a=r.smooth,u=r.onFocusIn,c=r.normalizeScroll,d=r.wholePixels,l,f,h,g,p,b,y,S,E,T,k,M,$,H,O=this,F=e.effectsPrefix||"",re=St.getScrollFunc(Or),N=St.isTouch===1?i===!0?.8:parseFloat(i)||0:a===0||a===!1?0:parseFloat(a)||.8,P=N&&+e.speed||1,z=0,Q=0,B=1,G=py(0),ie=function(){return G.update(-z)},ae={y:0},X=function(){return l.style.overflow="visible"},pe,Ee=function(D){D.update();var Z=D.getTween();Z&&(Z.pause(),Z._time=Z._dur,Z._tTime=Z._tDur),pe=!1,D.animation.progress(D.progress,!0)},ke=function(D,Z){(D!==z&&!T||Z)&&(d&&(D=Math.round(D)),N&&(l.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+D+", 0, 1)",l._gsap.y=D+"px"),Q=D-z,z=D,St.isUpdating||t.isRefreshing||St.update())},Re=function(D){return arguments.length?(D<0&&(D=0),ae.y=-D,pe=!0,T?z=-D:ke(-D),St.isRefreshing?g.update():re(D/P),this):-z},ye=typeof ResizeObserver<"u"&&e.autoResize!==!1&&new ResizeObserver(function(){if(!St.isRefreshing){var C=lo(f)*P;C<-z&&Re(C),_y.restart(!0)}}),we,se=function(D){f.scrollTop=0,!(D.target.contains&&D.target.contains(f)||u&&u(n,D)===!1)&&(St.isInViewport(D.target)||D.target===we||n.scrollTo(D.target,!1,"center center"),we=D.target)},le=function(D,Z){if(D<Z.start)return D;var fe=isNaN(Z.ratio)?1:Z.ratio,de=Z.end-Z.start,ne=D-Z.start,ce=Z.offset||0,R=Z.pins||[],_=R.offset||0,w=Z._startClamp&&Z.start<=0||Z.pins&&Z.pins.offset?0:Z._endClamp&&Z.end===lo()?1:.5;return R.forEach(function(U){de-=U.distance,U.nativeStart<=D&&(ne-=U.distance)}),_&&(ne*=(de-_/fe)/de),D+(ne-ce*w)/fe-ne},he=function C(D,Z,fe){fe||(D.pins.length=D.pins.offset=0);var de=D.pins,ne=D.markers,ce,R,_,w,U,oe,Ae,be;for(Ae=0;Ae<Z.length;Ae++)if(be=Z[Ae],D.trigger&&be.trigger&&D!==be&&(be.trigger===D.trigger||be.pinnedContainer===D.trigger||D.trigger.contains(be.trigger))&&(U=be._startNative||be._startClamp||be.start,oe=be._endNative||be._endClamp||be.end,_=le(U,D),w=be.pin&&oe>0?_+(oe-U):le(oe,D),be.setPositions(_,w,!0,(be._startClamp?Math.max(0,_):_)-U),be.markerStart&&ne.push(Qt.quickSetter([be.markerStart,be.markerEnd],"y","px")),be.pin&&be.end>0&&!fe)){if(ce=be.end-be.start,R=D._startClamp&&be.start<0,R){if(D.start>0){D.setPositions(0,D.end+(D._startNative-D.start),!0),C(D,Z);return}ce+=be.start,de.offset=-be.start}de.push({start:be.start,nativeStart:U,end:be.end,distance:ce,trig:be}),D.setPositions(D.start,D.end+(R?-be.start:ce),!0)}},Te=function(D,Z){p.forEach(function(fe){return he(fe,D,Z)})},Le=function(){wu=go.documentElement,Os=go.body,X(),requestAnimationFrame(X),p&&(St.getAll().forEach(function(D){D._startNative=D.start,D._endNative=D.end}),p.forEach(function(D){var Z=D._startClamp||D.start,fe=D.autoSpeed?Math.min(lo(),D.end):Z+Math.abs((D.end-Z)/D.ratio),de=fe-D.end;if(Z-=de/2,fe-=de/2,Z>fe){var ne=Z;Z=fe,fe=ne}D._startClamp&&Z<0?(fe=D.ratio<0?lo():D.end/D.ratio,de=fe-D.end,Z=0):(D.ratio<0||D._endClamp&&fe>=lo())&&(fe=lo(),Z=D.ratio<0||D.ratio>1?0:fe-(fe-D.start)/D.ratio,de=(fe-Z)*D.ratio-(D.end-D.start)),D.offset=de||1e-4,D.pins.length=D.pins.offset=0,D.setPositions(Z,fe,!0)}),Te(St.sort())),G.reset()},W=function(){return St.addEventListener("refresh",Le)},L=function(){return p&&p.forEach(function(D){return D.vars.onRefresh(D)})},q=function(){return p&&p.forEach(function(D){return D.vars.onRefreshInit(D)}),L},ee=function(D,Z,fe,de){return function(){var ne=typeof Z=="function"?Z(fe,de):Z;ne||ne===0||(ne=de.getAttribute("data-"+F+D)||(D==="speed"?1:0)),de.setAttribute("data-"+F+D,ne);var ce=(ne+"").substr(0,6)==="clamp(";return{clamp:ce,value:ce?ne.substr(6,ne.length-7):ne}}},K=function(D,Z,fe,de,ne){ne=(typeof ne=="function"?ne(de,D):ne)||0;var ce=ee("speed",Z,de,D),R=ee("lag",fe,de,D),_=Qt.getProperty(D,"y"),w=D._gsap,U,oe,Ae,be,qe,Xe,$e=[],rt=function(){Z=ce(),fe=parseFloat(R().value),U=parseFloat(Z.value)||1,Ae=Z.value==="auto",qe=Ae||oe&&oe._startClamp&&oe.start<=0||$e.offset?0:oe&&oe._endClamp&&oe.end===lo()?1:.5,be&&be.kill(),be=fe&&Qt.to(D,{ease:wf,overwrite:!1,y:"+=0",duration:fe}),oe&&(oe.ratio=U,oe.autoSpeed=Ae)},at=function(){w.y=_+"px",w.renderTransform(1),rt()},Rt=[],Ye=0,Yt=function(ht){if(Ae){at();var At=VL(D,hy(0,1,-ht.start/(ht.end-ht.start)));Ye=At.change,Xe=At.offset}else Xe=$e.offset||0,Ye=(ht.end-ht.start-Xe)*(1-U);$e.forEach(function(hn){return Ye-=hn.distance*(1-U)}),ht.offset=Ye||.001,ht.vars.onUpdate(ht),be&&be.progress(1)};return rt(),(U!==1||Ae||be)&&(oe=St.create({trigger:Ae?D.parentNode:D,start:function(){return Z.clamp?"clamp(top bottom+="+ne+")":"top bottom+="+ne},end:function(){return Z.value<0?"max":Z.clamp?"clamp(bottom top-="+ne+")":"bottom top-="+ne},scroller:f,scrub:!0,refreshPriority:-999,onRefreshInit:at,onRefresh:Yt,onKill:function(ht){var At=p.indexOf(ht);At>=0&&p.splice(At,1),at()},onUpdate:function(ht){var At=_+Ye*(ht.progress-qe),hn=$e.length,Bn=0,nn,Pn,He;if(ht.offset){if(hn){for(Pn=-z,He=ht.end;hn--;){if(nn=$e[hn],nn.trig.isActive||Pn>=nn.start&&Pn<=nn.end){be&&(nn.trig.progress+=nn.trig.direction<0?.001:-.001,nn.trig.update(0,0,1),be.resetTo("y",parseFloat(w.y),-Q,!0),B&&be.progress(1));return}Pn>nn.end&&(Bn+=nn.distance),He-=nn.distance}At=_+Bn+Ye*((Qt.utils.clamp(ht.start,ht.end,Pn)-ht.start-Bn)/(He-ht.start)-qe)}Rt.length&&!Ae&&Rt.forEach(function(Be){return Be(At-Bn)}),At=BL(At+Xe),be?(be.resetTo("y",At,-Q,!0),B&&be.progress(1)):(w.y=At+"px",w.renderTransform(1))}}}),Yt(oe),Qt.core.getCache(oe.trigger).stRevert=q,oe.startY=_,oe.pins=$e,oe.markers=Rt,oe.ratio=U,oe.autoSpeed=Ae,D.style.willChange="transform"),oe};W(),St.addEventListener("killAll",W),Qt.delayedCall(.5,function(){return B=0}),this.scrollTop=Re,this.scrollTo=function(C,D,Z){var fe=Qt.utils.clamp(0,lo(),isNaN(C)?n.offset(C,Z,!!D&&!T):+C);D?T?Qt.to(n,{duration:N,scrollTop:fe,overwrite:"auto",ease:wf}):re(fe):Re(fe)},this.offset=function(C,D,Z){C=na(C)[0];var fe=C.style.cssText,de=St.create({trigger:C,start:D||"top top"}),ne;return p&&(B?St.refresh():Te([de],!0)),ne=de.start/(Z?P:1),de.kill(!1),C.style.cssText=fe,Qt.core.getCache(C).uncache=1,ne};function x(){return h=l.clientHeight,l.style.overflow="visible",Os.style.height=Or.innerHeight+(h-Or.innerHeight)/P+"px",h-Or.innerHeight}this.content=function(C){if(arguments.length){var D=na(C||"#smooth-content")[0]||console.warn("ScrollSmoother needs a valid content element.")||Os.children[0];return D!==l&&(l=D,E=l.getAttribute("style")||"",ye&&ye.observe(l),Qt.set(l,{overflow:"visible",width:"100%",boxSizing:"border-box",y:"+=0"}),N||Qt.set(l,{clearProps:"transform"})),this}return l},this.wrapper=function(C){return arguments.length?(f=na(C||"#smooth-wrapper")[0]||UL(l),S=f.getAttribute("style")||"",x(),Qt.set(f,N?{overflow:"hidden",position:"fixed",height:"100%",width:"100%",top:0,left:0,right:0,bottom:0}:{overflow:"visible",position:"relative",width:"100%",height:"auto",top:"auto",bottom:"auto",left:"auto",right:"auto"}),this):f},this.effects=function(C,D){var Z;if(p||(p=[]),!C)return p.slice(0);C=na(C),C.forEach(function(U){for(var oe=p.length;oe--;)p[oe].trigger===U&&p[oe].kill()}),D=D||{};var fe=D,de=fe.speed,ne=fe.lag,ce=fe.effectsPadding,R=[],_,w;for(_=0;_<C.length;_++)w=K(C[_],de,ne,_,ce),w&&R.push(w);return(Z=p).push.apply(Z,R),D.refresh!==!1&&St.refresh(),R},this.sections=function(C,D){var Z;if(b||(b=[]),!C)return b.slice(0);var fe=na(C).map(function(de){return St.create({trigger:de,start:"top 120%",end:"bottom -20%",onToggle:function(ce){de.style.opacity=ce.isActive?"1":"0",de.style.pointerEvents=ce.isActive?"all":"none"}})});return D&&D.add?(Z=b).push.apply(Z,fe):b=fe.slice(0),fe},this.content(e.content),this.wrapper(e.wrapper),this.render=function(C){return ke(C||C===0?C:z)},this.getVelocity=function(){return G.getVelocity(-z)},St.scrollerProxy(f,{scrollTop:Re,scrollHeight:function(){return x()&&Os.scrollHeight},fixedMarkers:e.fixedMarkers!==!1&&!!N,content:l,getBoundingClientRect:function(){return{top:0,left:0,width:Or.innerWidth,height:Or.innerHeight}}}),St.defaults({scroller:f});var V=St.getAll().filter(function(C){return C.scroller===Or||C.scroller===f});V.forEach(function(C){return C.revert(!0,!0)}),g=St.create({animation:Qt.fromTo(ae,{y:function(){return H=0,0}},{y:function(){return H=1,-x()},immediateRender:!1,ease:"none",data:"ScrollSmoother",duration:100,onUpdate:function(){if(H){var D=pe;D&&(Ee(g),ae.y=z),ke(ae.y,D),ie(),s&&!T&&s(O)}}}),onRefreshInit:function(D){if(!t.isRefreshing){if(t.isRefreshing=!0,p){var Z=St.getAll().filter(function(de){return!!de.pin});p.forEach(function(de){de.vars.pinnedContainer||Z.forEach(function(ne){if(ne.pin.contains(de.trigger)){var ce=de.vars;ce.pinnedContainer=ne.pin,de.vars=null,de.init(ce,de.animation)}})})}var fe=D.getTween();$=fe&&fe._end>fe._dp._time,M=z,ae.y=0,N&&(St.isTouch===1&&(f.style.position="absolute"),f.scrollTop=0,St.isTouch===1&&(f.style.position="fixed"))}},onRefresh:function(D){D.animation.invalidate(),D.setPositions(D.start,x()/P),$||Ee(D),ae.y=-re()*P,ke(ae.y),B||($&&(pe=!1),D.animation.progress(Qt.utils.clamp(0,1,M/P/-D.end))),$&&(D.progress-=.001,D.update()),t.isRefreshing=!1},id:"ScrollSmoother",scroller:Or,invalidateOnRefresh:!0,start:0,refreshPriority:-9999,end:function(){return x()/P},onScrubComplete:function(){G.reset(),o&&o(n)},scrub:N||!0}),this.smooth=function(C){return arguments.length&&(N=C||0,P=N&&+e.speed||1,g.scrubDuration(C)),g.getTween()?g.getTween().duration():0},g.getTween()&&(g.getTween().vars.ease=e.ease||wf),this.scrollTrigger=g,e.effects&&this.effects(e.effects===!0?"[data-"+F+"speed], [data-"+F+"lag]":e.effects,{effectsPadding:e.effectsPadding,refresh:!1}),e.sections&&this.sections(e.sections===!0?"[data-section]":e.sections),V.forEach(function(C){C.vars.scroller=f,C.revert(!1,!0),C.init(C.vars,C.animation)}),this.paused=function(C,D){return arguments.length?(!!T!==C&&(C?(g.getTween()&&g.getTween().pause(),re(-z/P),G.reset(),k=St.normalizeScroll(),k&&k.disable(),T=St.observe({preventDefault:!0,type:"wheel,touch,scroll",debounce:!1,allowClicks:!0,onChangeY:function(){return Re(-z)}}),T.nested=my(wu,"wheel,touch,scroll",!0,D!==!1)):(T.nested.kill(),T.kill(),T=0,k&&k.enable(),g.progress=(-z/P-g.start)/(g.end-g.start),Ee(g))),this):!!T},this.kill=this.revert=function(){n.paused(!1),Ee(g),g.kill();for(var C=(p||[]).concat(b||[]),D=C.length;D--;)C[D].kill();St.scrollerProxy(f),St.removeEventListener("killAll",W),St.removeEventListener("refresh",Le),f.style.cssText=S,l.style.cssText=E;var Z=St.defaults({});Z&&Z.scroller===f&&St.defaults({scroller:Or}),n.normalizer&&St.normalizeScroll(!1),clearInterval(y),ds=null,ye&&ye.disconnect(),Os.style.removeProperty("height"),Or.removeEventListener("focusin",se)},this.refresh=function(C,D){return g.refresh(C,D)},c&&(this.normalizer=St.normalizeScroll(c===!0?{debounce:!0,content:!N&&l}:c)),St.config(e),"scrollBehavior"in Or.getComputedStyle(Os)&&Qt.set([Os,wu],{scrollBehavior:"auto"}),Or.addEventListener("focusin",se),y=setInterval(ie,250),go.readyState==="loading"||requestAnimationFrame(function(){return St.refresh()})}return t.register=function(n){return bf||(Qt=n||mT(),pT()&&window.document&&(Or=window,go=document,wu=go.documentElement,Os=go.body),Qt&&(na=Qt.utils.toArray,hy=Qt.utils.clamp,wf=Qt.parseEase("expo"),gy=Qt.core.context||function(){},St=Qt.core.globals().ScrollTrigger,Qt.core.globals("ScrollSmoother",t),Os&&St&&(_y=Qt.delayedCall(.2,function(){return St.isRefreshing||ds&&ds.refresh()}).pause(),py=St.core._getVelocityProp,my=St.core._inputObserver,t.refresh=St.refresh,bf=1))),bf},HL(t,[{key:"progress",get:function(){return this.scrollTrigger?this.scrollTrigger.animation._time/100:0}}]),t})();ka.version="3.13.0";ka.create=function(t){return ds&&t&&ds.content()===na(t.content)[0]?ds:new ka(t)};ka.get=function(){return ds};mT()&&Qt.registerPlugin(ka);/*!
* ScrollToPlugin 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
*/var Rr,gT,Xs,gs,Co,_T,ml,Sf,vT=function(){return typeof window<"u"},yT=function(){return Rr||vT()&&(Rr=window.gsap)&&Rr.registerPlugin&&Rr},bT=function(e){return typeof e=="string"},vy=function(e){return typeof e=="function"},hc=function(e,n){var r=n==="x"?"Width":"Height",i="scroll"+r,s="client"+r;return e===Xs||e===gs||e===Co?Math.max(gs[i],Co[i])-(Xs["inner"+r]||gs[s]||Co[s]):e[i]-e["offset"+r]},pc=function(e,n){var r="scroll"+(n==="x"?"Left":"Top");return e===Xs&&(e.pageXOffset!=null?r="page"+n.toUpperCase()+"Offset":e=gs[r]!=null?gs:Co),function(){return e[r]}},jL=function(e,n,r,i){if(vy(e)&&(e=e(n,r,i)),typeof e!="object")return bT(e)&&e!=="max"&&e.charAt(1)!=="="?{x:e,y:e}:{y:e};if(e.nodeType)return{y:e,x:e};var s={},o;for(o in e)s[o]=o!=="onAutoKill"&&vy(e[o])?e[o](n,r,i):e[o];return s},wT=function(e,n){if(e=_T(e)[0],!e||!e.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var r=e.getBoundingClientRect(),i=!n||n===Xs||n===Co,s=i?{top:gs.clientTop-(Xs.pageYOffset||gs.scrollTop||Co.scrollTop||0),left:gs.clientLeft-(Xs.pageXOffset||gs.scrollLeft||Co.scrollLeft||0)}:n.getBoundingClientRect(),o={x:r.left-s.left,y:r.top-s.top};return!i&&n&&(o.x+=pc(n,"x")(),o.y+=pc(n,"y")()),o},yy=function(e,n,r,i,s){return!isNaN(e)&&typeof e!="object"?parseFloat(e)-s:bT(e)&&e.charAt(1)==="="?parseFloat(e.substr(2))*(e.charAt(0)==="-"?-1:1)+i-s:e==="max"?hc(n,r)-s:Math.min(hc(n,r),wT(e,n)[r]-s)},Rm=function(){Rr=yT(),vT()&&Rr&&typeof document<"u"&&document.body&&(Xs=window,Co=document.body,gs=document.documentElement,_T=Rr.utils.toArray,Rr.config({autoKillThreshold:7}),ml=Rr.config(),gT=1)},Ra={version:"3.13.0",name:"scrollTo",rawVars:1,register:function(e){Rr=e,Rm()},init:function(e,n,r,i,s){gT||Rm();var o=this,a=Rr.getProperty(e,"scrollSnapType");o.isWin=e===Xs,o.target=e,o.tween=r,n=jL(n,i,e,s),o.vars=n,o.autoKill=!!("autoKill"in n?n:ml).autoKill,o.getX=pc(e,"x"),o.getY=pc(e,"y"),o.x=o.xPrev=o.getX(),o.y=o.yPrev=o.getY(),Sf||(Sf=Rr.core.globals().ScrollTrigger),Rr.getProperty(e,"scrollBehavior")==="smooth"&&Rr.set(e,{scrollBehavior:"auto"}),a&&a!=="none"&&(o.snap=1,o.snapInline=e.style.scrollSnapType,e.style.scrollSnapType="none"),n.x!=null?(o.add(o,"x",o.x,yy(n.x,e,"x",o.x,n.offsetX||0),i,s),o._props.push("scrollTo_x")):o.skipX=1,n.y!=null?(o.add(o,"y",o.y,yy(n.y,e,"y",o.y,n.offsetY||0),i,s),o._props.push("scrollTo_y")):o.skipY=1},render:function(e,n){for(var r=n._pt,i=n.target,s=n.tween,o=n.autoKill,a=n.xPrev,u=n.yPrev,c=n.isWin,d=n.snap,l=n.snapInline,f,h,g,p,b;r;)r.r(e,r.d),r=r._next;f=c||!n.skipX?n.getX():a,h=c||!n.skipY?n.getY():u,g=h-u,p=f-a,b=ml.autoKillThreshold,n.x<0&&(n.x=0),n.y<0&&(n.y=0),o&&(!n.skipX&&(p>b||p<-b)&&f<hc(i,"x")&&(n.skipX=1),!n.skipY&&(g>b||g<-b)&&h<hc(i,"y")&&(n.skipY=1),n.skipX&&n.skipY&&(s.kill(),n.vars.onAutoKill&&n.vars.onAutoKill.apply(s,n.vars.onAutoKillParams||[]))),c?Xs.scrollTo(n.skipX?f:n.x,n.skipY?h:n.y):(n.skipY||(i.scrollTop=n.y),n.skipX||(i.scrollLeft=n.x)),d&&(e===1||e===0)&&(h=i.scrollTop,f=i.scrollLeft,l?i.style.scrollSnapType=l:i.style.removeProperty("scroll-snap-type"),i.scrollTop=h+1,i.scrollLeft=f+1,i.scrollTop=h,i.scrollLeft=f),n.xPrev=n.x,n.yPrev=n.y,Sf&&Sf.update()},kill:function(e){var n=e==="scrollTo",r=this._props.indexOf(e);return(n||e==="scrollTo_x")&&(this.skipX=1),(n||e==="scrollTo_y")&&(this.skipY=1),r>-1&&this._props.splice(r,1),!this._props.length}};Ra.max=hc;Ra.getOffset=wT;Ra.buildGetter=pc;Ra.config=function(t){ml||Rm()||(ml=Rr.config());for(var e in t)ml[e]=t[e]};yT()&&Rr.registerPlugin(Ra);/*!
* 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
*/var _s,Jg,Td,ST,TT,by,Cm,AT,ET=function(){return typeof window<"u"},kT=function(){return _s||ET()&&(_s=window.gsap)&&_s.registerPlugin&&_s},WL=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,fp={rect:["width","height"],circle:["r","r"],ellipse:["rx","ry"],line:["x2","y2"]},ia=function(e){return Math.round(e*1e4)/1e4},Gs=function(e){return parseFloat(e)||0},wy=function(e,n){var r=Gs(e);return~e.indexOf("%")?r/100*n:r},Tf=function(e,n){return Gs(e.getAttribute(n))},jf=Math.sqrt,Sy=function(e,n,r,i,s,o){return jf(Math.pow((Gs(r)-Gs(e))*s,2)+Math.pow((Gs(i)-Gs(n))*o,2))},Ty=function(e){return console.warn(e)},RT=function(e){return e.getAttribute("vector-effect")==="non-scaling-stroke"},zL=1,GL=function(e,n,r){var i=e.indexOf(" "),s,o;return i<0?(s=r!==void 0?r+"":e,o=e):(s=e.substr(0,i),o=e.substr(i+1)),s=wy(s,n),o=wy(o,n),s>o?[o,s]:[s,o]},Wf=function(e){if(e=Jg(e)[0],!e)return 0;var n=e.tagName.toLowerCase(),r=e.style,i=1,s=1,o,a,u,c,d,l,f;RT(e)&&(s=e.getScreenCTM(),i=jf(s.a*s.a+s.b*s.b),s=jf(s.d*s.d+s.c*s.c));try{a=e.getBBox()}catch{Ty("Some browsers won't measure invisible elements (like display:none or masks inside defs).")}var h=a||{x:0,y:0,width:0,height:0},g=h.x,p=h.y,b=h.width,y=h.height;if((!a||!b&&!y)&&fp[n]&&(b=Tf(e,fp[n][0]),y=Tf(e,fp[n][1]),n!=="rect"&&n!=="line"&&(b*=2,y*=2),n==="line"&&(g=Tf(e,"x1"),p=Tf(e,"y1"),b=Math.abs(b-g),y=Math.abs(y-p))),n==="path")c=r.strokeDasharray,r.strokeDasharray="none",o=e.getTotalLength()||0,ia(i)!==ia(s)&&!by&&(by=1)&&Ty("Warning: <path> length cannot be measured when vector-effect is non-scaling-stroke and the element isn't proportionally scaled."),o*=(i+s)/2,r.strokeDasharray=c;else if(n==="rect")o=b*2*i+y*2*s;else if(n==="line")o=Sy(g,p,g+b,p+y,i,s);else if(n==="polyline"||n==="polygon")for(u=e.getAttribute("points").match(WL)||[],n==="polygon"&&u.push(u[0],u[1]),o=0,d=2;d<u.length;d+=2)o+=Sy(u[d-2],u[d-1],u[d],u[d+1],i,s)||0;else(n==="circle"||n==="ellipse")&&(l=b/2*i,f=y/2*s,o=Math.PI*(3*(l+f)-jf((3*l+f)*(l+3*f))));return o||0},Ay=function(e,n){if(e=Jg(e)[0],!e)return[0,0];n||(n=Wf(e)+1);var r=Td.getComputedStyle(e),i=r.strokeDasharray||"",s=Gs(r.strokeDashoffset),o=i.indexOf(",");return o<0&&(o=i.indexOf(" ")),i=o<0?n:Gs(i.substr(0,o)),i>n&&(i=n),[-s||0,i-s||0]},Ey=function(){ET()&&(Td=window,TT=_s=kT(),Jg=_s.utils.toArray,Cm=_s.core.getStyleSaver,AT=_s.core.reverting||function(){},ST=((Td.navigator||{}).userAgent||"").indexOf("Edge")!==-1)},CT={version:"3.13.0",name:"drawSVG",register:function(e){_s=e,Ey()},init:function(e,n,r,i,s){if(!e.getBBox)return!1;TT||Ey();var o=Wf(e),a,u,c;return this.styles=Cm&&Cm(e,"strokeDashoffset,strokeDasharray,strokeMiterlimit"),this.tween=r,this._style=e.style,this._target=e,n+""=="true"?n="0 100%":n?(n+"").indexOf(" ")===-1&&(n="0 "+n):n="0 0",a=Ay(e,o),u=GL(n,o,a[0]),this._length=ia(o),this._dash=ia(a[1]-a[0]),this._offset=ia(-a[0]),this._dashPT=this.add(this,"_dash",this._dash,ia(u[1]-u[0]),0,0,0,0,0,1),this._offsetPT=this.add(this,"_offset",this._offset,ia(-u[0]),0,0,0,0,0,1),ST&&(c=Td.getComputedStyle(e),c.strokeLinecap!==c.strokeLinejoin&&(u=Gs(c.strokeMiterlimit),this.add(e.style,"strokeMiterlimit",u,u+.01))),this._live=RT(e)||~(n+"").indexOf("live"),this._nowrap=~(n+"").indexOf("nowrap"),this._props.push("drawSVG"),zL},render:function(e,n){if(n.tween._time||!AT()){var r=n._pt,i=n._style,s,o,a,u;if(r){for(n._live&&(s=Wf(n._target),s!==n._length&&(o=s/n._length,n._length=s,n._offsetPT&&(n._offsetPT.s*=o,n._offsetPT.c*=o),n._dashPT?(n._dashPT.s*=o,n._dashPT.c*=o):n._dash*=o));r;)r.r(e,r.d),r=r._next;a=n._dash||e&&e!==1&&1e-4||0,s=n._length-a+.1,u=n._offset,a&&u&&a+Math.abs(u%n._length)>n._length-.05&&(u+=u<0?.005:-.005)&&(s+=.005),i.strokeDashoffset=a?u:u+.001,i.strokeDasharray=s<.1?"none":a?a+"px,"+(n._nowrap?999999:s)+"px":"0px, 999999px"}}else n.styles.revert()},getLength:Wf,getPosition:Ay};kT()&&_s.registerPlugin(CT);const gn=function(){return lt.isSSR||(Un.registerPlugin(Rl,ka,dm,gm,It,Ra,CT),Un.defaults({ease:"linear"})),{gsap:Un,CustomEase:Rl,ScrollSmoother:ka,CSSRulePlugin:dm,SplitText:gm,ScrollTrigger:It,ScrollToPlugin:Ra}},_t=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n},qL=["data-variant"],YL={class:"ButtonBasic ButtonBasic--hover"},KL=["data-variant"],XL=["data-variant"],QL={class:"ButtonBasic ButtonBasic--hover"},JL=["data-variant"],ZL={__name:"ButtonBasic",props:{label:{type:String,required:!0,default:""},theme:{type:String,default:"black"},to:{type:String},rel:{type:String},download:{type:String},buttonType:{type:String},variant:{type:String,default:"default"},target:{type:String,default:null},manualHover:{type:Boolean,default:!1,required:!1},notButton:{type:Boolean,default:!1,required:!1}},emits:["click"],setup(t,{emit:e}){const n=t,r=e,{gsap:i}=gn();let s=null;const o=[],a=[],u=j(null);let c=!1;Ve(()=>n.manualHover,()=>{n.manualHover?(d(),c=!0):(c=!1,l())});function d(){c||(s==null||s.kill(),s=i.timeline(),s.set(u.value,{y:"101%"},0),s.to(u.value,{duration:.45,ease:"sine.inOut",y:0},0),s.to(o,{duration:.45,stagger:.05,y:"-150%",ease:"sine.in"},0),s.set(a,{y:"150%"},0),s.to(a,{delay:.1,duration:.5,stagger:.05,y:0,ease:"sine.out"},0))}function l(){c||(s==null||s.kill(),s=i.timeline(),s.to(u.value,{duration:.45,ease:"sine.inOut",y:"-101%"}),s.set(o,{y:"150%"},0),s.to(o,{delay:.1,duration:.45,stagger:.05,y:0,ease:"sine.out"},0),s.to(a,{duration:.5,stagger:.05,y:"-150%",ease:"sine.out"},0))}function f(E){r("click",E)}function h(){lt.touchScreen||d()}function g(){lt.touchScreen||l()}function p(E){return String(E).trim()}const b=Ie(()=>!n.to||n.buttonType);Ie(()=>p(n.label));const y=Ie(()=>p(n.label)),S=Ie(()=>{var E;return(E=y.value)==null?void 0:E.split(" ")});return kt(()=>{i.set([u.value],{y:"101%"}),i.set(a,{y:"100%"})}),(E,T)=>{const k=Iw;return _e(b)?(ue(),tn(Il(t.notButton?"span":"button"),{key:0,class:"ButtonBasic-wrapper",type:n.buttonType,"data-variant":t.variant,"data-is-hover":t.manualHover,onClick:f,onMouseenter:h,onMouseleave:g},{default:$i(()=>[J("span",{class:ot(["ButtonBasic ButtonBasic--static",[`ButtonBasic--${n.theme}`]])},[_e(y)?(ue(),me("span",{key:0,class:"ButtonBasic-text","data-variant":t.variant},[(ue(!0),me(Qe,null,ut(_e(S),(M,$)=>(ue(),me("span",{key:`ButtonBasic-word-${$}`,ref_for:!0,ref:H=>o[$]=H,class:"ButtonBasic-word"},ze(M),1))),128))],8,qL)):bt("",!0)],2),J("span",{ref_key:"hoverBgRef",ref:u,class:ot(["ButtonBasic-hover-bg",[`ButtonBasic--${n.theme}-hover`]])},null,2),J("span",YL,[_e(y)?(ue(),me("span",{key:0,class:"ButtonBasic-text ButtonBasic-text--hover","data-variant":t.variant,"aria-hidden":"true"},[(ue(!0),me(Qe,null,ut(_e(S),(M,$)=>(ue(),me("span",{key:`ButtonBasic-word-${$}`,ref_for:!0,ref:H=>a[$]=H,class:"ButtonBasic-word"},ze(M),1))),128))],8,KL)):bt("",!0)])]),_:1},40,["type","data-variant","data-is-hover"])):(ue(),tn(k,{key:1,class:"ButtonBasic-wrapper",to:n.to,download:n.download,rel:n.rel,"data-variant":t.variant,"data-is-hover":t.manualHover,target:t.target,onMouseenter:h,onMouseleave:g},{default:$i(()=>[J("span",{class:ot(["ButtonBasic ButtonBasic--static",[`ButtonBasic--${n.theme}`]])},[_e(y)?(ue(),me("span",{key:0,class:"ButtonBasic-text","data-variant":t.variant},[(ue(!0),me(Qe,null,ut(_e(S),(M,$)=>(ue(),me("span",{key:`ButtonBasic-word-${$}`,ref_for:!0,ref:H=>o[$]=H,class:"ButtonBasic-word"},ze(M),1))),128))],8,XL)):bt("",!0)],2),J("span",{ref_key:"hoverBgRef",ref:u,class:ot(["ButtonBasic-hover-bg",[`ButtonBasic--${n.theme}-hover`]])},null,2),J("span",QL,[_e(y)?(ue(),me("span",{key:0,class:"ButtonBasic-text ButtonBasic-text--hover","data-variant":t.variant,"aria-hidden":"true"},[(ue(!0),me(Qe,null,ut(_e(S),(M,$)=>(ue(),me("span",{key:`ButtonBasic-word-${$}`,ref_for:!0,ref:H=>a[$]=H,class:"ButtonBasic-word"},ze(M),1))),128))],8,JL)):bt("",!0)])]),_:1},8,["to","download","rel","data-variant","data-is-hover","target"]))}}},xT=_t(ZL,[["__scopeId","data-v-96eda748"]]),eO={},tO={class:"The404"},nO={class:"The404-container"},rO={class:"The404-wrapper"};function iO(t,e){const n=xT;return ue(),me("section",tO,[e[1]||(e[1]=J("div",{class:"The404-bgtext"},null,-1)),J("div",nO,[J("div",rO,[e[0]||(e[0]=J("p",{class:"The404-text type-body--md"},"Sorry, we can't find the page you're looking for.",-1)),je(n,{label:"Go back home",to:"/",variant:"primary",size:"large"})])])])}const sO=_t(eO,[["render",iO],["__scopeId","data-v-b39b54b2"]]),oO=["data-in-column","innerHTML"],Cc=Ss({__name:"RichText",props:{html:{type:String,required:!1},disableStyles:{type:Boolean,default:!1},extraClasses:{type:String,default:""},inColumn:{type:Boolean,default:!1}},setup(t){return(e,n)=>t.html?(ue(),me("div",{key:0,"data-in-column":t.inColumn,class:ot([t.disableStyles?"":"RichText",t.extraClasses]),innerHTML:t.html},null,10,oO)):bt("",!0)}});class aO{addOptionsToUrl(e,n){return n&&n.forEach(r=>{e.indexOf("?")>-1?e+="&":e+="?",e+=r.getParam()}),e}}const ky=new aO;function Ml(t){const e=[];for(const n of Object.keys(t.headers))e.push({header:n,value:t.headers[n]});return e}class lO{constructor(){this.requestCancelledMessagePrefix="Request cancelled",this.retryAfterHeaderName="Retry-After",this.defaultRetryStatusCodes=[408,429,500,502,503,504],this.defaultRetryStrategy={addJitter:!0,deltaBackoffMs:1e3,maxAttempts:5,canRetryError:e=>this.canRetryErrorDefault(e)}}getRetryErrorResult(e){var n,r,i;if(e.error&&e.error.message&&e.error.message.startsWith(this.requestCancelledMessagePrefix))return{canRetry:!1,retryInMs:0,maxRetries:0};if(!(e.retryStrategy.canRetryError?e.retryStrategy.canRetryError(e.error):this.defaultRetryStrategy.canRetryError(e.error)))return{canRetry:!1,retryInMs:0,maxRetries:0};const o=(n=e.retryStrategy.maxAttempts)!==null&&n!==void 0?n:this.defaultRetryStrategy.maxAttempts;if(e.retryAttempt>=o)return{canRetry:!1,retryInMs:0,maxRetries:o};const u=this.tryGetRetryAfterInMsFromError(e.error);return u?{canRetry:!0,retryInMs:u,maxRetries:o}:{canRetry:!0,retryInMs:this.getNextWaitTimeMs((r=e.retryStrategy.addJitter)!==null&&r!==void 0?r:this.defaultRetryStrategy.addJitter,(i=e.retryStrategy.deltaBackoffMs)!==null&&i!==void 0?i:this.defaultRetryStrategy.deltaBackoffMs,e.retryAttempt),maxRetries:o}}getRetryStrategyFromStrategyOptions(e){return e||this.defaultRetryStrategy}canRetryInTime(e,n){const r=e.getTime(),s=new Date().getTime()-r;return{canRetry:s<n,differenceInMs:s}}getNextWaitTimeMs(e,n,r){if(!e)return n*Math.pow(2,r);const i=.8*n,s=1.2*n*Math.pow(2,r);return this.randomNumberFromInterval(i,s)}canRetryErrorDefault(e){if(!this.tryGetAxiosError(e))return!1;const r=this.getStatusCodeFromError(e);return!!this.canRetryStatusCode(r,this.defaultRetryStatusCodes)}tryGetRetryAfterInMsFromError(e){const n=this.tryGetAxiosError(e);if(!n||!n.response)return;const i=Ml(n.response).find(o=>o.header.toLowerCase()===this.retryAfterHeaderName.toLowerCase());return i?+i.value*1e3:void 0}canRetryStatusCode(e,n){return n.includes(e)}getStatusCodeFromError(e){const n=this.tryGetAxiosError(e);return!n||!n.response?0:n.response.status}tryGetAxiosError(e){if(!e)return;if(e.isAxiosError)return e;const n=e.originalError;if(n&&n.isAxiosError)return n}randomNumberFromInterval(e,n){return Math.floor(Math.random()*(n-e+1)+e)}}const La=new lO;var Ry;(function(t){class e{constructor(r,i){if(this.name=r,this.value=i,!r)throw Error("Name of the custom parameter is not specified")}getParam(){return this.name}getParamValue(){return this.value}}t.CustomParameter=e})(Ry||(Ry={}));function PT(t,e){return function(){return t.apply(e,arguments)}}const{toString:uO}=Object.prototype,{getPrototypeOf:Zg}=Object,{iterator:rh,toStringTag:IT}=Symbol,ih=(t=>e=>{const n=uO.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Qi=t=>(t=t.toLowerCase(),e=>ih(e)===t),sh=t=>e=>typeof e===t,{isArray:Fl}=Array,mc=sh("undefined");function xc(t){return t!==null&&!mc(t)&&t.constructor!==null&&!mc(t.constructor)&&ei(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const LT=Qi("ArrayBuffer");function cO(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&<(t.buffer),e}const fO=sh("string"),ei=sh("function"),OT=sh("number"),Pc=t=>t!==null&&typeof t=="object",dO=t=>t===!0||t===!1,zf=t=>{if(ih(t)!=="object")return!1;const e=Zg(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(IT in t)&&!(rh in t)},hO=t=>{if(!Pc(t)||xc(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},pO=Qi("Date"),mO=Qi("File"),gO=Qi("Blob"),_O=Qi("FileList"),vO=t=>Pc(t)&&ei(t.pipe),yO=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||ei(t.append)&&((e=ih(t))==="formdata"||e==="object"&&ei(t.toString)&&t.toString()==="[object FormData]"))},bO=Qi("URLSearchParams"),[wO,SO,TO,AO]=["ReadableStream","Request","Response","Headers"].map(Qi),EO=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ic(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,i;if(typeof t!="object"&&(t=[t]),Fl(t))for(r=0,i=t.length;r<i;r++)e.call(null,t[r],r,t);else{if(xc(t))return;const s=n?Object.getOwnPropertyNames(t):Object.keys(t),o=s.length;let a;for(r=0;r<o;r++)a=s[r],e.call(null,t[a],a,t)}}function MT(t,e){if(xc(t))return null;e=e.toLowerCase();const n=Object.keys(t);let r=n.length,i;for(;r-- >0;)if(i=n[r],e===i.toLowerCase())return i;return null}const la=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,FT=t=>!mc(t)&&t!==la;function xm(){const{caseless:t}=FT(this)&&this||{},e={},n=(r,i)=>{const s=t&&MT(e,i)||i;zf(e[s])&&zf(r)?e[s]=xm(e[s],r):zf(r)?e[s]=xm({},r):Fl(r)?e[s]=r.slice():e[s]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Ic(arguments[r],n);return e}const kO=(t,e,n,{allOwnKeys:r}={})=>(Ic(e,(i,s)=>{n&&ei(i)?t[s]=PT(i,n):t[s]=i},{allOwnKeys:r}),t),RO=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),CO=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},xO=(t,e,n,r)=>{let i,s,o;const a={};if(e=e||{},t==null)return e;do{for(i=Object.getOwnPropertyNames(t),s=i.length;s-- >0;)o=i[s],(!r||r(o,t,e))&&!a[o]&&(e[o]=t[o],a[o]=!0);t=n!==!1&&Zg(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},PO=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return r!==-1&&r===n},IO=t=>{if(!t)return null;if(Fl(t))return t;let e=t.length;if(!OT(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},LO=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Zg(Uint8Array)),OO=(t,e)=>{const r=(t&&t[rh]).call(t);let i;for(;(i=r.next())&&!i.done;){const s=i.value;e.call(t,s[0],s[1])}},MO=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},FO=Qi("HTMLFormElement"),DO=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Cy=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),NO=Qi("RegExp"),DT=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};Ic(n,(i,s)=>{let o;(o=e(i,s,t))!==!1&&(r[s]=o||i)}),Object.defineProperties(t,r)},$O=t=>{DT(t,(e,n)=>{if(ei(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(ei(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},HO=(t,e)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return Fl(t)?r(t):r(String(t).split(e)),n},BO=()=>{},VO=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function UO(t){return!!(t&&ei(t.append)&&t[IT]==="FormData"&&t[rh])}const jO=t=>{const e=new Array(10),n=(r,i)=>{if(Pc(r)){if(e.indexOf(r)>=0)return;if(xc(r))return r;if(!("toJSON"in r)){e[i]=r;const s=Fl(r)?[]:{};return Ic(r,(o,a)=>{const u=n(o,i+1);!mc(u)&&(s[a]=u)}),e[i]=void 0,s}}return r};return n(t,0)},WO=Qi("AsyncFunction"),zO=t=>t&&(Pc(t)||ei(t))&&ei(t.then)&&ei(t.catch),NT=((t,e)=>t?setImmediate:e?((n,r)=>(la.addEventListener("message",({source:i,data:s})=>{i===la&&s===n&&r.length&&r.shift()()},!1),i=>{r.push(i),la.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",ei(la.postMessage)),GO=typeof queueMicrotask<"u"?queueMicrotask.bind(la):typeof process<"u"&&process.nextTick||NT,qO=t=>t!=null&&ei(t[rh]),Pe={isArray:Fl,isArrayBuffer:LT,isBuffer:xc,isFormData:yO,isArrayBufferView:cO,isString:fO,isNumber:OT,isBoolean:dO,isObject:Pc,isPlainObject:zf,isEmptyObject:hO,isReadableStream:wO,isRequest:SO,isResponse:TO,isHeaders:AO,isUndefined:mc,isDate:pO,isFile:mO,isBlob:gO,isRegExp:NO,isFunction:ei,isStream:vO,isURLSearchParams:bO,isTypedArray:LO,isFileList:_O,forEach:Ic,merge:xm,extend:kO,trim:EO,stripBOM:RO,inherits:CO,toFlatObject:xO,kindOf:ih,kindOfTest:Qi,endsWith:PO,toArray:IO,forEachEntry:OO,matchAll:MO,isHTMLForm:FO,hasOwnProperty:Cy,hasOwnProp:Cy,reduceDescriptors:DT,freezeMethods:$O,toObjectSet:HO,toCamelCase:DO,noop:BO,toFiniteNumber:VO,findKey:MT,global:la,isContextDefined:FT,isSpecCompliantForm:UO,toJSONObject:jO,isAsyncFn:WO,isThenable:zO,setImmediate:NT,asap:GO,isIterable:qO};function yt(t,e,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}Pe.inherits(yt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Pe.toJSONObject(this.config),code:this.code,status:this.status}}});const $T=yt.prototype,HT={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{HT[t]={value:t}});Object.defineProperties(yt,HT);Object.defineProperty($T,"isAxiosError",{value:!0});yt.from=(t,e,n,r,i,s)=>{const o=Object.create($T);return Pe.toFlatObject(t,o,function(u){return u!==Error.prototype},a=>a!=="isAxiosError"),yt.call(o,t.message,e,n,r,i),o.cause=t,o.name=t.name,s&&Object.assign(o,s),o};const YO=null;function Pm(t){return Pe.isPlainObject(t)||Pe.isArray(t)}function BT(t){return Pe.endsWith(t,"[]")?t.slice(0,-2):t}function xy(t,e,n){return t?t.concat(e).map(function(i,s){return i=BT(i),!n&&s?"["+i+"]":i}).join(n?".":""):e}function KO(t){return Pe.isArray(t)&&!t.some(Pm)}const XO=Pe.toFlatObject(Pe,{},null,function(e){return/^is[A-Z]/.test(e)});function oh(t,e,n){if(!Pe.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=Pe.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,b){return!Pe.isUndefined(b[p])});const r=n.metaTokens,i=n.visitor||d,s=n.dots,o=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&Pe.isSpecCompliantForm(e);if(!Pe.isFunction(i))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(Pe.isDate(g))return g.toISOString();if(Pe.isBoolean(g))return g.toString();if(!u&&Pe.isBlob(g))throw new yt("Blob is not supported. Use a Buffer instead.");return Pe.isArrayBuffer(g)||Pe.isTypedArray(g)?u&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function d(g,p,b){let y=g;if(g&&!b&&typeof g=="object"){if(Pe.endsWith(p,"{}"))p=r?p:p.slice(0,-2),g=JSON.stringify(g);else if(Pe.isArray(g)&&KO(g)||(Pe.isFileList(g)||Pe.endsWith(p,"[]"))&&(y=Pe.toArray(g)))return p=BT(p),y.forEach(function(E,T){!(Pe.isUndefined(E)||E===null)&&e.append(o===!0?xy([p],T,s):o===null?p:p+"[]",c(E))}),!1}return Pm(g)?!0:(e.append(xy(b,p,s),c(g)),!1)}const l=[],f=Object.assign(XO,{defaultVisitor:d,convertValue:c,isVisitable:Pm});function h(g,p){if(!Pe.isUndefined(g)){if(l.indexOf(g)!==-1)throw Error("Circular reference detected in "+p.join("."));l.push(g),Pe.forEach(g,function(y,S){(!(Pe.isUndefined(y)||y===null)&&i.call(e,y,Pe.isString(S)?S.trim():S,p,f))===!0&&h(y,p?p.concat(S):[S])}),l.pop()}}if(!Pe.isObject(t))throw new TypeError("data must be an object");return h(t),e}function Py(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function e_(t,e){this._pairs=[],t&&oh(t,this,e)}const VT=e_.prototype;VT.append=function(e,n){this._pairs.push([e,n])};VT.toString=function(e){const n=e?function(r){return e.call(this,r,Py)}:Py;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function QO(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function UT(t,e,n){if(!e)return t;const r=n&&n.encode||QO;Pe.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let s;if(i?s=i(e,n):s=Pe.isURLSearchParams(e)?e.toString():new e_(e,n).toString(r),s){const o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t}class Iy{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Pe.forEach(this.handlers,function(r){r!==null&&e(r)})}}const jT={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},JO=typeof URLSearchParams<"u"?URLSearchParams:e_,ZO=typeof FormData<"u"?FormData:null,eM=typeof Blob<"u"?Blob:null,tM={isBrowser:!0,classes:{URLSearchParams:JO,FormData:ZO,Blob:eM},protocols:["http","https","file","blob","url","data"]},t_=typeof window<"u"&&typeof document<"u",Im=typeof navigator=="object"&&navigator||void 0,nM=t_&&(!Im||["ReactNative","NativeScript","NS"].indexOf(Im.product)<0),rM=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",iM=t_&&window.location.href||"http://localhost",sM=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:t_,hasStandardBrowserEnv:nM,hasStandardBrowserWebWorkerEnv:rM,navigator:Im,origin:iM},Symbol.toStringTag,{value:"Module"})),Cr={...sM,...tM};function oM(t,e){return oh(t,new Cr.classes.URLSearchParams,{visitor:function(n,r,i,s){return Cr.isNode&&Pe.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...e})}function aM(t){return Pe.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function lM(t){const e={},n=Object.keys(t);let r;const i=n.length;let s;for(r=0;r<i;r++)s=n[r],e[s]=t[s];return e}function WT(t){function e(n,r,i,s){let o=n[s++];if(o==="__proto__")return!0;const a=Number.isFinite(+o),u=s>=n.length;return o=!o&&Pe.isArray(i)?i.length:o,u?(Pe.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!a):((!i[o]||!Pe.isObject(i[o]))&&(i[o]=[]),e(n,r,i[o],s)&&Pe.isArray(i[o])&&(i[o]=lM(i[o])),!a)}if(Pe.isFormData(t)&&Pe.isFunction(t.entries)){const n={};return Pe.forEachEntry(t,(r,i)=>{e(aM(r),i,n,0)}),n}return null}function uM(t,e,n){if(Pe.isString(t))try{return(e||JSON.parse)(t),Pe.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const Lc={transitional:jT,adapter:["xhr","http","fetch"],transformRequest:[function(e,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,s=Pe.isObject(e);if(s&&Pe.isHTMLForm(e)&&(e=new FormData(e)),Pe.isFormData(e))return i?JSON.stringify(WT(e)):e;if(Pe.isArrayBuffer(e)||Pe.isBuffer(e)||Pe.isStream(e)||Pe.isFile(e)||Pe.isBlob(e)||Pe.isReadableStream(e))return e;if(Pe.isArrayBufferView(e))return e.buffer;if(Pe.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return oM(e,this.formSerializer).toString();if((a=Pe.isFileList(e))||r.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return oh(a?{"files[]":e}:e,u&&new u,this.formSerializer)}}return s||i?(n.setContentType("application/json",!1),uM(e)):e}],transformResponse:[function(e){const n=this.transitional||Lc.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(Pe.isResponse(e)||Pe.isReadableStream(e))return e;if(e&&Pe.isString(e)&&(r&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(a){if(o)throw a.name==="SyntaxError"?yt.from(a,yt.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Cr.classes.FormData,Blob:Cr.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Pe.forEach(["delete","get","head","post","put","patch"],t=>{Lc.headers[t]={}});const cM=Pe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),fM=t=>{const e={};let n,r,i;return t&&t.split(`
`).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||e[n]&&cM[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},Ly=Symbol("internals");function lu(t){return t&&String(t).trim().toLowerCase()}function Gf(t){return t===!1||t==null?t:Pe.isArray(t)?t.map(Gf):String(t)}function dM(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const hM=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function dp(t,e,n,r,i){if(Pe.isFunction(r))return r.call(this,e,n);if(i&&(e=n),!!Pe.isString(e)){if(Pe.isString(r))return e.indexOf(r)!==-1;if(Pe.isRegExp(r))return r.test(e)}}function pM(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function mM(t,e){const n=Pe.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(i,s,o){return this[r].call(this,e,i,s,o)},configurable:!0})})}let ti=class{constructor(e){e&&this.set(e)}set(e,n,r){const i=this;function s(a,u,c){const d=lu(u);if(!d)throw new Error("header name must be a non-empty string");const l=Pe.findKey(i,d);(!l||i[l]===void 0||c===!0||c===void 0&&i[l]!==!1)&&(i[l||u]=Gf(a))}const o=(a,u)=>Pe.forEach(a,(c,d)=>s(c,d,u));if(Pe.isPlainObject(e)||e instanceof this.constructor)o(e,n);else if(Pe.isString(e)&&(e=e.trim())&&!hM(e))o(fM(e),n);else if(Pe.isObject(e)&&Pe.isIterable(e)){let a={},u,c;for(const d of e){if(!Pe.isArray(d))throw TypeError("Object iterator must return a key-value pair");a[c=d[0]]=(u=a[c])?Pe.isArray(u)?[...u,d[1]]:[u,d[1]]:d[1]}o(a,n)}else e!=null&&s(n,e,r);return this}get(e,n){if(e=lu(e),e){const r=Pe.findKey(this,e);if(r){const i=this[r];if(!n)return i;if(n===!0)return dM(i);if(Pe.isFunction(n))return n.call(this,i,r);if(Pe.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=lu(e),e){const r=Pe.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||dp(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let i=!1;function s(o){if(o=lu(o),o){const a=Pe.findKey(r,o);a&&(!n||dp(r,r[a],a,n))&&(delete r[a],i=!0)}}return Pe.isArray(e)?e.forEach(s):s(e),i}clear(e){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const s=n[r];(!e||dp(this,this[s],s,e,!0))&&(delete this[s],i=!0)}return i}normalize(e){const n=this,r={};return Pe.forEach(this,(i,s)=>{const o=Pe.findKey(r,s);if(o){n[o]=Gf(i),delete n[s];return}const a=e?pM(s):String(s).trim();a!==s&&delete n[s],n[a]=Gf(i),r[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return Pe.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=e&&Pe.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(i=>r.set(i)),r}static accessor(e){const r=(this[Ly]=this[Ly]={accessors:{}}).accessors,i=this.prototype;function s(o){const a=lu(o);r[a]||(mM(i,o),r[a]=!0)}return Pe.isArray(e)?e.forEach(s):s(e),this}};ti.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Pe.reduceDescriptors(ti.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}});Pe.freezeMethods(ti);function hp(t,e){const n=this||Lc,r=e||n,i=ti.from(r.headers);let s=r.data;return Pe.forEach(t,function(a){s=a.call(n,s,i.normalize(),e?e.status:void 0)}),i.normalize(),s}function zT(t){return!!(t&&t.__CANCEL__)}function Dl(t,e,n){yt.call(this,t??"canceled",yt.ERR_CANCELED,e,n),this.name="CanceledError"}Pe.inherits(Dl,yt,{__CANCEL__:!0});function GT(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new yt("Request failed with status code "+n.status,[yt.ERR_BAD_REQUEST,yt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function gM(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function _M(t,e){t=t||10;const n=new Array(t),r=new Array(t);let i=0,s=0,o;return e=e!==void 0?e:1e3,function(u){const c=Date.now(),d=r[s];o||(o=c),n[i]=u,r[i]=c;let l=s,f=0;for(;l!==i;)f+=n[l++],l=l%t;if(i=(i+1)%t,i===s&&(s=(s+1)%t),c-o<e)return;const h=d&&c-d;return h?Math.round(f*1e3/h):void 0}}function vM(t,e){let n=0,r=1e3/e,i,s;const o=(c,d=Date.now())=>{n=d,i=null,s&&(clearTimeout(s),s=null),t(...c)};return[(...c)=>{const d=Date.now(),l=d-n;l>=r?o(c,d):(i=c,s||(s=setTimeout(()=>{s=null,o(i)},r-l)))},()=>i&&o(i)]}const Ad=(t,e,n=3)=>{let r=0;const i=_M(50,250);return vM(s=>{const o=s.loaded,a=s.lengthComputable?s.total:void 0,u=o-r,c=i(u),d=o<=a;r=o;const l={loaded:o,total:a,progress:a?o/a:void 0,bytes:u,rate:c||void 0,estimated:c&&a&&d?(a-o)/c:void 0,event:s,lengthComputable:a!=null,[e?"download":"upload"]:!0};t(l)},n)},Oy=(t,e)=>{const n=t!=null;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},My=t=>(...e)=>Pe.asap(()=>t(...e)),yM=Cr.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,Cr.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(Cr.origin),Cr.navigator&&/(msie|trident)/i.test(Cr.navigator.userAgent)):()=>!0,bM=Cr.hasStandardBrowserEnv?{write(t,e,n,r,i,s){const o=[t+"="+encodeURIComponent(e)];Pe.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),Pe.isString(r)&&o.push("path="+r),Pe.isString(i)&&o.push("domain="+i),s===!0&&o.push("secure"),document.cookie=o.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function wM(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function SM(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function qT(t,e,n){let r=!wM(e);return t&&(r||n==!1)?SM(t,e):e}const Fy=t=>t instanceof ti?{...t}:t;function Ca(t,e){e=e||{};const n={};function r(c,d,l,f){return Pe.isPlainObject(c)&&Pe.isPlainObject(d)?Pe.merge.call({caseless:f},c,d):Pe.isPlainObject(d)?Pe.merge({},d):Pe.isArray(d)?d.slice():d}function i(c,d,l,f){if(Pe.isUndefined(d)){if(!Pe.isUndefined(c))return r(void 0,c,l,f)}else return r(c,d,l,f)}function s(c,d){if(!Pe.isUndefined(d))return r(void 0,d)}function o(c,d){if(Pe.isUndefined(d)){if(!Pe.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function a(c,d,l){if(l in e)return r(c,d);if(l in t)return r(void 0,c)}const u={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(c,d,l)=>i(Fy(c),Fy(d),l,!0)};return Pe.forEach(Object.keys({...t,...e}),function(d){const l=u[d]||i,f=l(t[d],e[d],d);Pe.isUndefined(f)&&l!==a||(n[d]=f)}),n}const YT=t=>{const e=Ca({},t);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:s,headers:o,auth:a}=e;e.headers=o=ti.from(o),e.url=UT(qT(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let u;if(Pe.isFormData(n)){if(Cr.hasStandardBrowserEnv||Cr.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((u=o.getContentType())!==!1){const[c,...d]=u?u.split(";").map(l=>l.trim()).filter(Boolean):[];o.setContentType([c||"multipart/form-data",...d].join("; "))}}if(Cr.hasStandardBrowserEnv&&(r&&Pe.isFunction(r)&&(r=r(e)),r||r!==!1&&yM(e.url))){const c=i&&s&&bM.read(s);c&&o.set(i,c)}return e},TM=typeof XMLHttpRequest<"u",AM=TM&&function(t){return new Promise(function(n,r){const i=YT(t);let s=i.data;const o=ti.from(i.headers).normalize();let{responseType:a,onUploadProgress:u,onDownloadProgress:c}=i,d,l,f,h,g;function p(){h&&h(),g&&g(),i.cancelToken&&i.cancelToken.unsubscribe(d),i.signal&&i.signal.removeEventListener("abort",d)}let b=new XMLHttpRequest;b.open(i.method.toUpperCase(),i.url,!0),b.timeout=i.timeout;function y(){if(!b)return;const E=ti.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),k={data:!a||a==="text"||a==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:E,config:t,request:b};GT(function($){n($),p()},function($){r($),p()},k),b=null}"onloadend"in b?b.onloadend=y:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(y)},b.onabort=function(){b&&(r(new yt("Request aborted",yt.ECONNABORTED,t,b)),b=null)},b.onerror=function(){r(new yt("Network Error",yt.ERR_NETWORK,t,b)),b=null},b.ontimeout=function(){let T=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const k=i.transitional||jT;i.timeoutErrorMessage&&(T=i.timeoutErrorMessage),r(new yt(T,k.clarifyTimeoutError?yt.ETIMEDOUT:yt.ECONNABORTED,t,b)),b=null},s===void 0&&o.setContentType(null),"setRequestHeader"in b&&Pe.forEach(o.toJSON(),function(T,k){b.setRequestHeader(k,T)}),Pe.isUndefined(i.withCredentials)||(b.withCredentials=!!i.withCredentials),a&&a!=="json"&&(b.responseType=i.responseType),c&&([f,g]=Ad(c,!0),b.addEventListener("progress",f)),u&&b.upload&&([l,h]=Ad(u),b.upload.addEventListener("progress",l),b.upload.addEventListener("loadend",h)),(i.cancelToken||i.signal)&&(d=E=>{b&&(r(!E||E.type?new Dl(null,t,b):E),b.abort(),b=null)},i.cancelToken&&i.cancelToken.subscribe(d),i.signal&&(i.signal.aborted?d():i.signal.addEventListener("abort",d)));const S=gM(i.url);if(S&&Cr.protocols.indexOf(S)===-1){r(new yt("Unsupported protocol "+S+":",yt.ERR_BAD_REQUEST,t));return}b.send(s||null)})},EM=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let r=new AbortController,i;const s=function(c){if(!i){i=!0,a();const d=c instanceof Error?c:this.reason;r.abort(d instanceof yt?d:new Dl(d instanceof Error?d.message:d))}};let o=e&&setTimeout(()=>{o=null,s(new yt(`timeout ${e} of ms exceeded`,yt.ETIMEDOUT))},e);const a=()=>{t&&(o&&clearTimeout(o),o=null,t.forEach(c=>{c.unsubscribe?c.unsubscribe(s):c.removeEventListener("abort",s)}),t=null)};t.forEach(c=>c.addEventListener("abort",s));const{signal:u}=r;return u.unsubscribe=()=>Pe.asap(a),u}},kM=function*(t,e){let n=t.byteLength;if(n<e){yield t;return}let r=0,i;for(;r<n;)i=r+e,yield t.slice(r,i),r=i},RM=async function*(t,e){for await(const n of CM(t))yield*kM(n,e)},CM=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:n,value:r}=await e.read();if(n)break;yield r}}finally{await e.cancel()}},Dy=(t,e,n,r)=>{const i=RM(t,e);let s=0,o,a=u=>{o||(o=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:c,value:d}=await i.next();if(c){a(),u.close();return}let l=d.byteLength;if(n){let f=s+=l;n(f)}u.enqueue(new Uint8Array(d))}catch(c){throw a(c),c}},cancel(u){return a(u),i.return()}},{highWaterMark:2})},ah=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",KT=ah&&typeof ReadableStream=="function",xM=ah&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),XT=(t,...e)=>{try{return!!t(...e)}catch{return!1}},PM=KT&&XT(()=>{let t=!1;const e=new Request(Cr.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),Ny=64*1024,Lm=KT&&XT(()=>Pe.isReadableStream(new Response("").body)),Ed={stream:Lm&&(t=>t.body)};ah&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!Ed[e]&&(Ed[e]=Pe.isFunction(t[e])?n=>n[e]():(n,r)=>{throw new yt(`Response type '${e}' is not supported`,yt.ERR_NOT_SUPPORT,r)})})})(new Response);const IM=async t=>{if(t==null)return 0;if(Pe.isBlob(t))return t.size;if(Pe.isSpecCompliantForm(t))return(await new Request(Cr.origin,{method:"POST",body:t}).arrayBuffer()).byteLength;if(Pe.isArrayBufferView(t)||Pe.isArrayBuffer(t))return t.byteLength;if(Pe.isURLSearchParams(t)&&(t=t+""),Pe.isString(t))return(await xM(t)).byteLength},LM=async(t,e)=>{const n=Pe.toFiniteNumber(t.getContentLength());return n??IM(e)},OM=ah&&(async t=>{let{url:e,method:n,data:r,signal:i,cancelToken:s,timeout:o,onDownloadProgress:a,onUploadProgress:u,responseType:c,headers:d,withCredentials:l="same-origin",fetchOptions:f}=YT(t);c=c?(c+"").toLowerCase():"text";let h=EM([i,s&&s.toAbortSignal()],o),g;const p=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let b;try{if(u&&PM&&n!=="get"&&n!=="head"&&(b=await LM(d,r))!==0){let k=new Request(e,{method:"POST",body:r,duplex:"half"}),M;if(Pe.isFormData(r)&&(M=k.headers.get("content-type"))&&d.setContentType(M),k.body){const[$,H]=Oy(b,Ad(My(u)));r=Dy(k.body,Ny,$,H)}}Pe.isString(l)||(l=l?"include":"omit");const y="credentials"in Request.prototype;g=new Request(e,{...f,signal:h,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:y?l:void 0});let S=await fetch(g,f);const E=Lm&&(c==="stream"||c==="response");if(Lm&&(a||E&&p)){const k={};["status","statusText","headers"].forEach(O=>{k[O]=S[O]});const M=Pe.toFiniteNumber(S.headers.get("content-length")),[$,H]=a&&Oy(M,Ad(My(a),!0))||[];S=new Response(Dy(S.body,Ny,$,()=>{H&&H(),p&&p()}),k)}c=c||"text";let T=await Ed[Pe.findKey(Ed,c)||"text"](S,t);return!E&&p&&p(),await new Promise((k,M)=>{GT(k,M,{data:T,headers:ti.from(S.headers),status:S.status,statusText:S.statusText,config:t,request:g})})}catch(y){throw p&&p(),y&&y.name==="TypeError"&&/Load failed|fetch/i.test(y.message)?Object.assign(new yt("Network Error",yt.ERR_NETWORK,t,g),{cause:y.cause||y}):yt.from(y,y&&y.code,t,g)}}),Om={http:YO,xhr:AM,fetch:OM};Pe.forEach(Om,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const $y=t=>`- ${t}`,MM=t=>Pe.isFunction(t)||t===null||t===!1,QT={getAdapter:t=>{t=Pe.isArray(t)?t:[t];const{length:e}=t;let n,r;const i={};for(let s=0;s<e;s++){n=t[s];let o;if(r=n,!MM(n)&&(r=Om[(o=String(n)).toLowerCase()],r===void 0))throw new yt(`Unknown adapter '${o}'`);if(r)break;i[o||"#"+s]=r}if(!r){const s=Object.entries(i).map(([a,u])=>`adapter ${a} `+(u===!1?"is not supported by the environment":"is not available in the build"));let o=e?s.length>1?`since :
`+s.map($y).join(`
`):" "+$y(s[0]):"as no adapter specified";throw new yt("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:Om};function pp(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Dl(null,t)}function Hy(t){return pp(t),t.headers=ti.from(t.headers),t.data=hp.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),QT.getAdapter(t.adapter||Lc.adapter)(t).then(function(r){return pp(t),r.data=hp.call(t,t.transformResponse,r),r.headers=ti.from(r.headers),r},function(r){return zT(r)||(pp(t),r&&r.response&&(r.response.data=hp.call(t,t.transformResponse,r.response),r.response.headers=ti.from(r.response.headers))),Promise.reject(r)})}const JT="1.11.0",lh={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{lh[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const By={};lh.transitional=function(e,n,r){function i(s,o){return"[Axios v"+JT+"] Transitional option '"+s+"'"+o+(r?". "+r:"")}return(s,o,a)=>{if(e===!1)throw new yt(i(o," has been removed"+(n?" in "+n:"")),yt.ERR_DEPRECATED);return n&&!By[o]&&(By[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(s,o,a):!0}};lh.spelling=function(e){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};function FM(t,e,n){if(typeof t!="object")throw new yt("options must be an object",yt.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let i=r.length;for(;i-- >0;){const s=r[i],o=e[s];if(o){const a=t[s],u=a===void 0||o(a,s,t);if(u!==!0)throw new yt("option "+s+" must be "+u,yt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new yt("Unknown option "+s,yt.ERR_BAD_OPTION)}}const qf={assertOptions:FM,validators:lh},os=qf.validators;let va=class{constructor(e){this.defaults=e||{},this.interceptors={request:new Iy,response:new Iy}}async request(e,n){try{return await this._request(e,n)}catch(r){if(r instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
`+s):r.stack=s}catch{}}throw r}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Ca(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:s}=n;r!==void 0&&qf.assertOptions(r,{silentJSONParsing:os.transitional(os.boolean),forcedJSONParsing:os.transitional(os.boolean),clarifyTimeoutError:os.transitional(os.boolean)},!1),i!=null&&(Pe.isFunction(i)?n.paramsSerializer={serialize:i}:qf.assertOptions(i,{encode:os.function,serialize:os.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),qf.assertOptions(n,{baseUrl:os.spelling("baseURL"),withXsrfToken:os.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=s&&Pe.merge(s.common,s[n.method]);s&&Pe.forEach(["delete","get","head","post","put","patch","common"],g=>{delete s[g]}),n.headers=ti.concat(o,s);const a=[];let u=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(u=u&&p.synchronous,a.unshift(p.fulfilled,p.rejected))});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let d,l=0,f;if(!u){const g=[Hy.bind(this),void 0];for(g.unshift(...a),g.push(...c),f=g.length,d=Promise.resolve(n);l<f;)d=d.then(g[l++],g[l++]);return d}f=a.length;let h=n;for(l=0;l<f;){const g=a[l++],p=a[l++];try{h=g(h)}catch(b){p.call(this,b);break}}try{d=Hy.call(this,h)}catch(g){return Promise.reject(g)}for(l=0,f=c.length;l<f;)d=d.then(c[l++],c[l++]);return d}getUri(e){e=Ca(this.defaults,e);const n=qT(e.baseURL,e.url,e.allowAbsoluteUrls);return UT(n,e.params,e.paramsSerializer)}};Pe.forEach(["delete","get","head","options"],function(e){va.prototype[e]=function(n,r){return this.request(Ca(r||{},{method:e,url:n,data:(r||{}).data}))}});Pe.forEach(["post","put","patch"],function(e){function n(r){return function(s,o,a){return this.request(Ca(a||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:o}))}}va.prototype[e]=n(),va.prototype[e+"Form"]=n(!0)});let DM=class ZT{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(i=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](i);r._listeners=null}),this.promise.then=i=>{let s;const o=new Promise(a=>{r.subscribe(a),s=a}).then(i);return o.cancel=function(){r.unsubscribe(s)},o},e(function(s,o,a){r.reason||(r.reason=new Dl(s,o,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const e=new AbortController,n=r=>{e.abort(r)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new ZT(function(i){e=i}),cancel:e}}};function NM(t){return function(n){return t.apply(null,n)}}function $M(t){return Pe.isObject(t)&&t.isAxiosError===!0}const Mm={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Mm).forEach(([t,e])=>{Mm[e]=t});function eA(t){const e=new va(t),n=PT(va.prototype.request,e);return Pe.extend(n,va.prototype,e,{allOwnKeys:!0}),Pe.extend(n,e,null,{allOwnKeys:!0}),n.create=function(i){return eA(Ca(t,i))},n}const Fn=eA(Lc);Fn.Axios=va;Fn.CanceledError=Dl;Fn.CancelToken=DM;Fn.isCancel=zT;Fn.VERSION=JT;Fn.toFormData=oh;Fn.AxiosError=yt;Fn.Cancel=Fn.CanceledError;Fn.all=function(e){return Promise.all(e)};Fn.spread=NM;Fn.isAxiosError=$M;Fn.mergeConfig=Ca;Fn.AxiosHeaders=ti;Fn.formToJSON=t=>WT(Pe.isHTMLForm(t)?new FormData(t):t);Fn.getAdapter=QT.getAdapter;Fn.HttpStatusCode=Mm;Fn.default=Fn;const{Axios:SH,AxiosError:TH,CanceledError:AH,isCancel:EH,CancelToken:kH,VERSION:RH,all:CH,Cancel:xH,isAxiosError:PH,spread:IH,toFormData:LH,AxiosHeaders:OH,HttpStatusCode:MH,formToJSON:FH,getAdapter:DH,mergeConfig:NH}=Fn;class HM{debugStartHttpRequest(){}debugSuccessHttpRequest(){}debugRetryHttpRequest(){}}const Ki=new HM;var Xi=function(t,e,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(d){try{c(r.next(d))}catch(l){o(l)}}function u(d){try{c(r.throw(d))}catch(l){o(l)}}function c(d){d.done?s(d.value):i(d.value).then(a,u)}c((r=r.apply(t,e||[])).next())})};function BM(t,e,n,r){var i;return Xi(this,void 0,void 0,function*(){const s=(i=r==null?void 0:r.retryStrategy)!==null&&i!==void 0?i:La.defaultRetryStrategy;return yield Nl({retryAttempt:0,url:e.url,retryStrategy:s,functionsConfig:n,call:o=>Xi(this,void 0,void 0,function*(){var a,u;Ki.debugStartHttpRequest();const c=yield t.get(e.url,{headers:Oc((a=r==null?void 0:r.headers)!==null&&a!==void 0?a:[]),responseType:r==null?void 0:r.responseType,cancelToken:(u=r==null?void 0:r.cancelToken)===null||u===void 0?void 0:u.token}),d={data:c.data,rawResponse:c,headers:Ml(c),status:c.status,retryStrategy:{options:s,retryAttempts:o}};return Ki.debugSuccessHttpRequest(),d})})})}function VM(t,e,n,r){var i;return Xi(this,void 0,void 0,function*(){const s=(i=r==null?void 0:r.retryStrategy)!==null&&i!==void 0?i:La.defaultRetryStrategy;return yield Nl({retryAttempt:0,url:e.url,retryStrategy:s,functionsConfig:n,call:o=>Xi(this,void 0,void 0,function*(){var a,u;Ki.debugStartHttpRequest();const c=yield t.post(e.url,e.body,{headers:Oc((a=r==null?void 0:r.headers)!==null&&a!==void 0?a:[]),responseType:r==null?void 0:r.responseType,maxContentLength:"Infinity",maxBodyLength:"Infinity",cancelToken:(u=r==null?void 0:r.cancelToken)===null||u===void 0?void 0:u.token}),d={data:c.data,rawResponse:c,headers:Ml(c),status:c.status,retryStrategy:{options:s,retryAttempts:o}};return Ki.debugSuccessHttpRequest(),d})})})}function UM(t,e,n,r){var i;return Xi(this,void 0,void 0,function*(){const s=(i=r==null?void 0:r.retryStrategy)!==null&&i!==void 0?i:La.defaultRetryStrategy;return yield Nl({retryAttempt:0,url:e.url,retryStrategy:s,functionsConfig:n,call:o=>Xi(this,void 0,void 0,function*(){var a,u;Ki.debugStartHttpRequest();const c=yield t.put(e.url,e.body,{headers:Oc((a=r==null?void 0:r.headers)!==null&&a!==void 0?a:[]),responseType:r==null?void 0:r.responseType,maxContentLength:"Infinity",maxBodyLength:"Infinity",cancelToken:(u=r==null?void 0:r.cancelToken)===null||u===void 0?void 0:u.token}),d={data:c.data,rawResponse:c,headers:Ml(c),status:c.status,retryStrategy:{options:s,retryAttempts:o}};return Ki.debugSuccessHttpRequest(),d})})})}function jM(t,e,n,r){var i;return Xi(this,void 0,void 0,function*(){const s=(i=r==null?void 0:r.retryStrategy)!==null&&i!==void 0?i:La.defaultRetryStrategy;return yield Nl({retryAttempt:0,url:e.url,retryStrategy:s,functionsConfig:n,call:o=>Xi(this,void 0,void 0,function*(){var a,u;Ki.debugStartHttpRequest();const c=yield t.patch(e.url,e.body,{headers:Oc((a=r==null?void 0:r.headers)!==null&&a!==void 0?a:[]),responseType:r==null?void 0:r.responseType,maxContentLength:"Infinity",maxBodyLength:"Infinity",cancelToken:(u=r==null?void 0:r.cancelToken)===null||u===void 0?void 0:u.token}),d={data:c.data,rawResponse:c,headers:Ml(c),status:c.status,retryStrategy:{options:s,retryAttempts:o}};return Ki.debugSuccessHttpRequest(),d})})})}function WM(t,e,n,r){var i;return Xi(this,void 0,void 0,function*(){const s=(i=r==null?void 0:r.retryStrategy)!==null&&i!==void 0?i:La.defaultRetryStrategy;return yield Nl({retryAttempt:0,url:e.url,retryStrategy:s,functionsConfig:n,call:o=>Xi(this,void 0,void 0,function*(){var a,u;Ki.debugStartHttpRequest();const c=yield t.delete(e.url,{headers:Oc((a=r==null?void 0:r.headers)!==null&&a!==void 0?a:[]),responseType:r==null?void 0:r.responseType,maxContentLength:"Infinity",maxBodyLength:"Infinity",cancelToken:(u=r==null?void 0:r.cancelToken)===null||u===void 0?void 0:u.token}),d={data:c.data,rawResponse:c,headers:Ml(c),status:c.status,retryStrategy:{options:s,retryAttempts:o}};return Ki.debugSuccessHttpRequest(),d})})})}function zM(){let t;const e=new Fn.CancelToken(n=>{t=n});return{cancel:n=>t(`${La.requestCancelledMessagePrefix}: ${n??"User cancel"}`),token:e}}function Nl(t){return Xi(this,void 0,void 0,function*(){try{return yield t.call(t.retryAttempt)}catch(e){const n=La.getRetryErrorResult({error:e,retryAttempt:t.retryAttempt,retryStrategy:t.retryStrategy});if(n.canRetry)return Ki.debugRetryHttpRequest(),yield new Promise(r=>setTimeout(r,n.retryInMs)),t.functionsConfig.logErrorsToConsole&&console.warn(`Retry attempt '${t.retryAttempt+1}' from a maximum of '${n.maxRetries}' retries. Request url: '${t.url}'`),yield Nl({call:t.call,retryStrategy:t.retryStrategy,retryAttempt:t.retryAttempt+1,url:t.url,functionsConfig:t.functionsConfig});throw t.functionsConfig.logErrorsToConsole&&console.error(`Executing '${t.url}' failed. Request was retried '${t.retryAttempt}' times. `,e),e}})}function Oc(t,e){const n={};return t.forEach(r=>{n[r.header]=r.value}),n}var uu=function(t,e,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(d){try{c(r.next(d))}catch(l){o(l)}}function u(d){try{c(r.throw(d))}catch(l){o(l)}}function c(d){d.done?s(d.value):i(d.value).then(a,u)}c((r=r.apply(t,e||[])).next())})};class GM{constructor(e){this.opts=e,this.axiosInstance=Fn.create(e==null?void 0:e.axiosRequestConfig),this.functionsConfig=this.getFunctionsConfig()}getAsync(e,n){return uu(this,void 0,void 0,function*(){return yield BM(this.axiosInstance,e,this.functionsConfig,n)})}postAsync(e,n){return uu(this,void 0,void 0,function*(){return yield VM(this.axiosInstance,e,this.functionsConfig,n)})}putAsync(e,n){return uu(this,void 0,void 0,function*(){return yield UM(this.axiosInstance,e,this.functionsConfig,n)})}patchAsync(e,n){return uu(this,void 0,void 0,function*(){return yield jM(this.axiosInstance,e,this.functionsConfig,n)})}deleteAsync(e,n){return uu(this,void 0,void 0,function*(){return yield WM(this.axiosInstance,e,this.functionsConfig,n)})}createCancelToken(){return zM()}getFunctionsConfig(){var e,n;return{logErrorsToConsole:(n=(e=this.opts)===null||e===void 0?void 0:e.logErrorsToConsole)!==null&&n!==void 0?n:!0}}}var Wt;(function(t){const r=T=>{if(!T)return"";if(Array.isArray(T)){let k="";for(let M=0;M<T.length;M++)k=k+T[M].toString(),M!==T.length-1&&(k=k+",");return k}return T.toString()};class i{constructor(k){this.type=k}getParam(){return Array.isArray(this.type)?`system.type[in]=${r(this.type)}`:`system.type=${r(this.type)}`}}t.TypeFilter=i;class s{constructor(k){this.collection=k}getParam(){return Array.isArray(this.collection)?`system.collection[in]=${r(this.collection)}`:`system.collection=${r(this.collection)}`}}t.CollectionFilter=s;class o{constructor(k){this.element=k}getParam(){return`${this.element.trim()}[empty]`}}t.EmptyFilter=o;class a{constructor(k){this.element=k}getParam(){return`${this.element.trim()}[nempty]`}}t.NotEmptyFilter=a;class u{constructor(k,M){this.element=k,this.value=M}getParam(){return`${this.element.trim()}[eq]=${this.getParamValue()}`}getParamValue(){return this.value?this.value:""}}t.EqualsFilter=u;class c{constructor(k,M){this.element=k,this.value=M}getParam(){return`${this.element.trim()}[neq]=${this.getParamValue()}`}getParamValue(){return this.value?this.value:""}}t.NotEqualsFilter=c;class d{constructor(k,M){this.element=k,this.values=M}getParam(){return`${this.element.trim()}[all]=${this.getParamValue()}`}getParamValue(){return!this.values||!Array.isArray(this.values)?"":this.values.map(k=>k.trim()).join(",")}}t.AllFilter=d;class l{constructor(k,M){this.element=k,this.values=M}getParam(){return`${this.element.trim()}[any]=${this.getParamValue()}`}getParamValue(){return!this.values||!Array.isArray(this.values)?"":this.values.map(k=>k.trim()).join(",")}}t.AnyFilter=l;class f{constructor(k,M){this.element=k,this.values=M}getParam(){return`${this.element.trim()}[contains]=${this.getParamValue()}`}getParamValue(){return!this.values||!Array.isArray(this.values)?"":this.values.map(k=>k.trim()).join(",")}}t.ContainsFilter=f;class h{constructor(k,M){this.element=k,this.value=M}getParam(){return`${this.element.trim()}[gt]=${this.getParamValue()}`}getParamValue(){return this.value?this.value:""}}t.GreaterThanFilter=h;class g{constructor(k,M){this.element=k,this.value=M}getParam(){return`${this.element.trim()}[gte]=${this.getParamValue()}`}getParamValue(){return this.value?this.value:""}}t.GreaterThanOrEqualFilter=g;class p{constructor(k,M){this.element=k,this.values=M}getParam(){return`${this.element.trim()}[in]=${this.getParamValue()}`}getParamValue(){return!this.values||!Array.isArray(this.values)?"":this.values.map(k=>k.trim()).join(",")}}t.InFilter=p;class b{constructor(k,M){this.element=k,this.values=M}getParam(){return`${this.element.trim()}[nin]=${this.getParamValue()}`}getParamValue(){return!this.values||!Array.isArray(this.values)?"":this.values.map(k=>k.trim()).join(",")}}t.NotInFilter=b;class y{constructor(k,M){this.element=k,this.value=M}getParam(){return`${this.element.trim()}[lt]=${this.getParamValue()}`}getParamValue(){return this.value?this.value:""}}t.LessThanFilter=y;class S{constructor(k,M){this.element=k,this.value=M}getParam(){return`${this.element.trim()}[lte]=${this.getParamValue()}`}getParamValue(){return this.value?this.value:""}}t.LessThanOrEqualFilter=S;class E{constructor(k,M,$){this.element=k,this.lowerValue=M,this.higherValue=$}getParam(){return`${this.element.trim()}[range]=${this.getParamValue()}`}getParamValue(){let k="",M="";return this.lowerValue&&(k=this.lowerValue.toString()),this.higherValue&&(M=this.higherValue.toString()),`${k},${M}`}}t.RangeFilter=E})(Wt||(Wt={}));var Gt;(function(t){class n{constructor(h,g){if(this.name=h,this.value=g,!h)throw Error("Name of the parameter is not specified")}getParam(){return`${this.name}=${this.value}`}}t.QueryParameter=n;class r{constructor(h){this.elementCodenames=h}getParam(){return`elements=${this.getParamValue()}`}getParamValue(){return this.elementCodenames?this.elementCodenames.map(h=>{if(!h)throw Error("Codename of 'ElementsParameter' cannot be null or empty");return h.trim()}).join(","):""}}t.ElementsParameter=r;class i{constructor(h){this.elementCodenames=h}getParam(){return`excludeElements=${this.getParamValue()}`}getParamValue(){return this.elementCodenames?this.elementCodenames.map(h=>{if(!h)throw Error("Codename of 'ExcludeElementsParameter' cannot be null or empty");return h.trim()}).join(","):""}}t.ExcludeElementsParameter=i;class s{constructor(h){if(this.limit=h,h<=0)throw Error("'LimitParameter' must specify a positive integer")}getParam(){return`limit=${this.limit}`}}t.LimitParameter=s;class o{constructor(){}getParam(){return"includeTotalCount=true"}}t.IncludeTotalCountParameter=o;class a{constructor(h){if(this.skip=h,h<0)throw Error(`'SkipParameter' must specify a positive integer number or zero."`)}getParam(){return`skip=${this.skip}`}}t.SkipParameter=a;class u{constructor(h,g){if(this.element=h,this.sortOrder=g,!h)throw Error("Element specified in 'OrderParameter' is null or empty")}getParam(){return`order=${this.getParamValue()}`}getParamValue(){return`${this.element.trim()}[${this.sortOrder}]`}}t.OrderParameter=u;class c{constructor(h){this.param=h}getParam(){return this.param}}t.CustomParameter=c;class d{constructor(h){if(this.depth=h,h<0)throw Error("'DepthParameter' must specify a positive integer or zero")}getParam(){return`depth=${this.depth}`}}t.DepthParameter=d;class l{constructor(h){this.languageCodename=h}getParam(){return`language=${this.languageCodename}`}}t.LanguageParameter=l})(Gt||(Gt={}));class qM{constructor(e){this.message=e.message,this.requestId=e.requestId,this.errorCode=e.errorCode,this.specificCode=e.specificCode}}const Fm="X-Continuation",YM="X-KC-Wait-For-Loading-New-Content",KM="X-KC-SDKID",XM="X-Stale-Content";class $l{constructor(e,n){this.config=e,this.queryService=n,this.parameters=[]}withCustomParameter(e,n){return this.parameters.push(new Gt.QueryParameter(e,n)),this}withParameter(e){return this.parameters.push(e),this}withParameters(e){return this.parameters.push(...e),this}getHeaders(){return this.queryService.getHeaders(this._queryConfig,[])}withHeaders(e){var n;const r=(n=this._queryConfig.customHeaders)!==null&&n!==void 0?n:[];return r.push(...e),this._queryConfig.customHeaders=r,this}withHeader(e){var n;const r=(n=this._queryConfig.customHeaders)!==null&&n!==void 0?n:[];return r.push(e),this._queryConfig.customHeaders=r,this}withCustomUrl(e){return this.customUrl=e,this}getParameters(){return this.parameters}queryConfig(e){return this._queryConfig=e,this}resolveUrlInternal(e){var n;return this.customUrl?this.customUrl:this.queryService.getUrl(e,(n=this._queryConfig)!==null&&n!==void 0?n:{},this.getParameters())}processDefaultLanguageParameter(){this.config.defaultLanguage&&(this.getParameters().find(n=>{var r;return(r=n.getParam())===null||r===void 0?void 0:r.toLowerCase().includes("language=".toLowerCase())})||this.parameters.push(new Gt.LanguageParameter(this.config.defaultLanguage)))}processExcludeArchivedItemsParameter(){this.config.excludeArchivedItems&&this.parameters.push(new Wt.NotEqualsFilter("system.workflow_step","archived"))}}class QM extends $l{constructor(e,n,r,i){if(super(e,n),this.config=e,this.queryService=n,this.typeCodename=r,this.elementCodename=i,this._queryConfig={},!r)throw Error("Codename of the type has to be provided");if(!i)throw Error("Codename of the element has to be provided")}toPromise(){var e;return this.queryService.getElementAsync(this.getUrl(),(e=this._queryConfig)!==null&&e!==void 0?e:{})}getUrl(){return super.resolveUrlInternal(`/types/${this.typeCodename}/elements/${this.elementCodename}`)}map(e){return this.queryService.mappingService.viewContentTypeElementResponse(e)}}var ln;(function(t){t.Text="text",t.Number="number",t.ModularContent="modular_content",t.Asset="asset",t.DateTime="date_time",t.RichText="rich_text",t.MultipleChoice="multiple_choice",t.UrlSlug="url_slug",t.Taxonomy="taxonomy",t.Custom="custom",t.Unknown="unknown"})(ln||(ln={}));class Hl extends $l{constructor(e,n){super(e,n),this.config=e,this.queryService=n}withContinuationToken(e){var n;let r=(n=this._queryConfig.customHeaders)!==null&&n!==void 0?n:[];return r=r.filter(i=>i.header!==Fm),this._queryConfig.customHeaders=r,this.withHeaders([{header:Fm,value:e}]),this}toAllPromise(e){return this.queryService.getListAllResponse({page:1,listQueryConfig:e,allResponseFactory:(n,r)=>({data:this.allResponseFactory(n,r),responses:r}),getResponse:(n,r)=>(n&&this.withCustomUrl(n),r&&this.withContinuationToken(r),this.toPromise())})}}class tA extends Hl{constructor(e,n){super(e,n),this.config=e,this.queryService=n}emptyFilter(e){return this.parameters.push(new Wt.EmptyFilter(e)),this}notEmptyFilter(e){return this.parameters.push(new Wt.NotEmptyFilter(e)),this}equalsFilter(e,n){return this.parameters.push(new Wt.EqualsFilter(e,n)),this}notEqualsFilter(e,n){return this.parameters.push(new Wt.NotEqualsFilter(e,n)),this}allFilter(e,n){return this.parameters.push(new Wt.AllFilter(e,n)),this}anyFilter(e,n){return this.parameters.push(new Wt.AnyFilter(e,n)),this}containsFilter(e,n){return this.parameters.push(new Wt.ContainsFilter(e,n)),this}greaterThanFilter(e,n){return this.parameters.push(new Wt.GreaterThanFilter(e,n)),this}greaterThanOrEqualFilter(e,n){return this.parameters.push(new Wt.GreaterThanOrEqualFilter(e,n)),this}inFilter(e,n){return this.parameters.push(new Wt.InFilter(e,n)),this}notInFilter(e,n){return this.parameters.push(new Wt.NotInFilter(e,n)),this}lessThanFilter(e,n){return this.parameters.push(new Wt.LessThanFilter(e,n)),this}lessThanOrEqualFilter(e,n){return this.parameters.push(new Wt.LessThanOrEqualFilter(e,n)),this}rangeFilter(e,n,r){return this.parameters.push(new Wt.RangeFilter(e,n,r)),this}limitParameter(e){return this.parameters.push(new Gt.LimitParameter(e)),this}orderParameter(e,n){return this.parameters.push(new Gt.OrderParameter(e,n)),this}orderByDescending(e){return this.parameters.push(new Gt.OrderParameter(e,"desc")),this}orderByAscending(e){return this.parameters.push(new Gt.OrderParameter(e,"asc")),this}skipParameter(e){return this.parameters.push(new Gt.SkipParameter(e)),this}linkItemsInRte(e){for(const n of e)for(const r of Object.keys(n.elements)){const i=n.elements[r];if(i.type===ln.ModularContent){const s=i,o=[];for(const a of s.value){let u;const c=s.linkedItems.find(d=>d.system.codename.toLowerCase()===a.toLowerCase());c?u=c:u=e.find(d=>d.system.codename.toLowerCase()===a.toLowerCase()),u&&o.push(u)}s.linkedItems=o}if(i.type===ln.RichText){const s=[],o=i;for(const a of o.linkedItemCodenames){let u;const c=o.linkedItems.find(d=>d.system.codename.toLowerCase()===a.toLowerCase());c?u=c:u=e.find(d=>d.system.codename.toLowerCase()===a.toLowerCase()),u&&s.push(u)}o.linkedItems=s}}}}class JM extends tA{constructor(e,n){super(e,n),this.config=e,this.queryService=n,this._queryConfig={}}includeTotalCountParameter(){return this.parameters.push(new Gt.IncludeTotalCountParameter),this}type(e){return this.parameters.push(new Wt.TypeFilter(e)),this}types(e){return this.parameters.push(new Wt.TypeFilter(e)),this}collection(e){return this.parameters.push(new Wt.CollectionFilter(e)),this}collections(e){return this.parameters.push(new Wt.CollectionFilter(e)),this}depthParameter(e){return this.parameters.push(new Gt.DepthParameter(e)),this}languageParameter(e){return this.parameters.push(new Gt.LanguageParameter(e)),this}elementsParameter(e){return this.parameters.push(new Gt.ElementsParameter(e)),this}excludeElementsParameter(e){return this.parameters.push(new Gt.ExcludeElementsParameter(e)),this}toPromise(){var e;return this.queryService.getMultipleItems(this.getUrl(),(e=this._queryConfig)!==null&&e!==void 0?e:{})}getUrl(){const e="/items";return this.processDefaultLanguageParameter(),this.processExcludeArchivedItemsParameter(),super.resolveUrlInternal(e)}map(e){return this.queryService.mappingService.listContentItemsResponse(e)}allResponseFactory(e,n){return this.linkItems(e,n),{items:e,responses:n}}linkItems(e,n){const r=[];for(const i of n)r.push(...Object.values(i.data.linkedItems).filter(s=>s!==void 0).map(s=>s));for(const i of e)r.find(s=>s.system.codename.toLowerCase()===i.system.codename.toLowerCase())||r.push(i);this.linkItemsInRte(r)}}class ZM extends $l{constructor(e,n,r){if(super(e,n),this.config=e,this.queryService=n,this.codename=r,this._queryConfig={},!r)throw Error("'codename' has to be configured for 'SingleItemQuery' query")}depthParameter(e){return this.parameters.push(new Gt.DepthParameter(e)),this}queryConfig(e){return this._queryConfig=e,this}languageParameter(e){return this.parameters.push(new Gt.LanguageParameter(e)),this}elementsParameter(e){return this.parameters.push(new Gt.ElementsParameter(e)),this}excludeElementsParameter(e){return this.parameters.push(new Gt.ExcludeElementsParameter(e)),this}toPromise(){var e;return this.queryService.getSingleItemAsync(this.getUrl(),(e=this._queryConfig)!==null&&e!==void 0?e:{})}getUrl(){const e="/items/"+this.codename;return this.processDefaultLanguageParameter(),this.processExcludeArchivedItemsParameter(),super.resolveUrlInternal(e)}map(e){return this.queryService.mappingService.viewContentItemResponse(e)}}class e3 extends Hl{constructor(e,n){super(e,n),this.config=e,this.queryService=n,this.taxonomiesEndpoint="taxonomies",this._queryConfig={}}limitParameter(e){return this.parameters.push(new Gt.LimitParameter(e)),this}skipParameter(e){return this.parameters.push(new Gt.SkipParameter(e)),this}toPromise(){var e;return this.queryService.getTaxonomies(this.getUrl(),(e=this._queryConfig)!==null&&e!==void 0?e:{})}getUrl(){const e="/"+this.taxonomiesEndpoint;return super.resolveUrlInternal(e)}map(e){return this.queryService.mappingService.listTaxonomiesResponse(e)}allResponseFactory(e,n){return{items:e,responses:n}}}class t3 extends $l{constructor(e,n,r){if(super(e,n),this.config=e,this.queryService=n,this.taxonomyCodename=r,this.taxonomiesEndpoint="taxonomies",this._queryConfig={},!r)throw Error("Cannot create taxonomy query without codename of the taxonomy")}toPromise(){var e;return this.queryService.getTaxonomy(this.getUrl(),(e=this._queryConfig)!==null&&e!==void 0?e:{})}getUrl(){const e="/"+this.taxonomiesEndpoint+"/"+this.taxonomyCodename;return super.resolveUrlInternal(e)}map(e){return this.queryService.mappingService.viewTaxonomyResponse(e)}}class n3 extends Hl{constructor(e,n){super(e,n),this.config=e,this.queryService=n,this._queryConfig={}}elementsParameter(e){return this.parameters.push(new Gt.ElementsParameter(e)),this}excludeElementsParameter(e){return this.parameters.push(new Gt.ExcludeElementsParameter(e)),this}limitParameter(e){return this.parameters.push(new Gt.LimitParameter(e)),this}skipParameter(e){return this.parameters.push(new Gt.SkipParameter(e)),this}toPromise(){var e;return this.queryService.getMultipleTypes(this.getUrl(),(e=this._queryConfig)!==null&&e!==void 0?e:{})}getUrl(){return super.resolveUrlInternal("/types")}map(e){return this.queryService.mappingService.listContentTypesResponse(e)}allResponseFactory(e,n){return{items:e,responses:n}}}class r3 extends $l{constructor(e,n,r){if(super(e,n),this.config=e,this.queryService=n,this.typeCodename=r,this._queryConfig={},!r)throw Error("Cannot create type query without the codename of the type")}toPromise(){var e;return this.queryService.getSingleType(this.getUrl(),(e=this._queryConfig)!==null&&e!==void 0?e:{})}getUrl(){const e="/types/"+this.typeCodename;return super.resolveUrlInternal(e)}map(e){return this.queryService.mappingService.viewContentTypeResponse(e)}}class i3 extends tA{constructor(e,n){super(e,n),this.config=e,this.queryService=n,this._queryConfig={}}type(e){return this.parameters.push(new Wt.TypeFilter(e)),this}types(e){return this.parameters.push(new Wt.TypeFilter(e)),this}collection(e){return this.parameters.push(new Wt.CollectionFilter(e)),this}collections(e){return this.parameters.push(new Wt.CollectionFilter(e)),this}languageParameter(e){return this.parameters.push(new Gt.LanguageParameter(e)),this}elementsParameter(e){return this.parameters.push(new Gt.ElementsParameter(e)),this}excludeElementsParameter(e){return this.parameters.push(new Gt.ExcludeElementsParameter(e)),this}toPromise(){var e;return this.queryService.getItemsFeed(this.getUrl(),(e=this._queryConfig)!==null&&e!==void 0?e:{})}getUrl(){const e="/items-feed";return this.processDefaultLanguageParameter(),this.processExcludeArchivedItemsParameter(),super.resolveUrlInternal(e)}queryConfig(e){return this._queryConfig=e,this}map(e){return this.queryService.mappingService.itemsFeedResponse(e)}allResponseFactory(e,n){return this.canLinkItems()&&this.linkFeedItems(e,n),{items:e,responses:n}}linkFeedItems(e,n){const r=[];for(const i of n)r.push(...Object.values(i.data.linkedItems).filter(s=>s!==void 0).map(s=>s));for(const i of e)r.find(s=>s.system.codename.toLowerCase()===i.system.codename.toLowerCase())||r.push(i);this.linkItemsInRte(r)}canLinkItems(){return!(this.config.linkedItemsReferenceHandler==="ignore"||this._queryConfig.disableItemLinking===!0)}}class s3 extends Hl{constructor(e,n){super(e,n),this.config=e,this.queryService=n,this.endpoint="languages",this._queryConfig={}}limitParameter(e){return this.parameters.push(new Gt.LimitParameter(e)),this}skipParameter(e){return this.parameters.push(new Gt.SkipParameter(e)),this}toPromise(){var e;return this.queryService.getLanguages(this.getUrl(),(e=this._queryConfig)!==null&&e!==void 0?e:{})}getUrl(){const e="/"+this.endpoint;return super.resolveUrlInternal(e)}queryConfig(e){return this._queryConfig=e,this}map(e){return this.queryService.mappingService.listLanguagesResponse(e)}allResponseFactory(e,n){return{items:e,responses:n}}}class o3 extends $l{constructor(e,n){super(e,n),this.config=e,this.queryService=n,this.endpoint="sync/init",this._queryConfig={}}type(e){return this.parameters.push(new Wt.TypeFilter(e)),this}collection(e){return this.parameters.push(new Wt.CollectionFilter(e)),this}languageParameter(e){return this.parameters.push(new Gt.LanguageParameter(e)),this}toPromise(){var e;return console.warn("Sync Api v1 is deprecated. Please use the new Sync Api v2. https://kontent.ai/learn/docs/apis/openapi/sync-api-v2/"),this.queryService.initializeSync(this.getUrl(),(e=this._queryConfig)!==null&&e!==void 0?e:{})}getUrl(){const e="/"+this.endpoint;return super.resolveUrlInternal(e)}queryConfig(e){return this._queryConfig=e,this}map(e){return this.queryService.mappingService.initializeContentSync(e)}}class a3 extends Hl{constructor(e,n){super(e,n),this.config=e,this.queryService=n,this._queryConfig={},this.action="/sync"}toPromise(){var e;return console.warn("Sync Api v1 is deprecated. Please use the new Sync Api v2. https://kontent.ai/learn/docs/apis/openapi/sync-api-v2/"),this.queryService.syncChanges(this.getUrl(),(e=this._queryConfig)!==null&&e!==void 0?e:{})}getUrl(){return super.resolveUrlInternal(this.action)}queryConfig(e){return this._queryConfig=e,this}map(e){return this.queryService.mappingService.syncChanges(e)}allResponseFactory(e,n){return{items:e,responses:n}}}class Vy extends Hl{constructor(e,n,r){super(e,n),this.config=e,this.queryService=n,this.setup=r,this._queryConfig={}}type(e){return this.parameters.push(new Wt.TypeFilter(e)),this}types(e){return this.parameters.push(new Wt.TypeFilter(e)),this}collection(e){return this.parameters.push(new Wt.CollectionFilter(e)),this}collections(e){return this.parameters.push(new Wt.CollectionFilter(e)),this}languageParameter(e){return this.parameters.push(new Gt.LanguageParameter(e)),this}toPromise(){var e;return this.queryService.getUsedIn(this.getUrl(),(e=this._queryConfig)!==null&&e!==void 0?e:{})}getUrl(){const e=`/${this.setup.entity==="asset"?"assets":"items"}/${this.setup.codename}/used-in`;return this.processDefaultLanguageParameter(),this.processExcludeArchivedItemsParameter(),super.resolveUrlInternal(e)}queryConfig(e){return this._queryConfig=e,this}map(e){return this.queryService.mappingService.usedInResponse(e)}allResponseFactory(e,n){return{items:e,responses:n}}}const mp={host:"npmjs.com",version:"16.3.0",name:"@kontent-ai/delivery-sdk"};var Uy=function(t,e,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(d){try{c(r.next(d))}catch(l){o(l)}}function u(d){try{c(r.throw(d))}catch(l){o(l)}}function c(d){d.done?s(d.value):i(d.value).then(a,u)}c((r=r.apply(t,e||[])).next())})};class l3{constructor(e,n,r,i){this.config=e,this.httpService=n,this.sdkInfo=r,this.mappingService=i,this.defaultBaseDeliveryApiUrl="https://deliver.kontent.ai",this.defaultPreviewDeliveryApiUrl="https://preview-deliver.kontent.ai"}getUrl(e,n,r){return!this.config.proxy||!this.config.proxy.advancedProxyUrlResolver?ky.addOptionsToUrl(this.getBaseUrl(n)+e,r):this.config.proxy.advancedProxyUrlResolver({queryParameters:r||[],queryString:ky.addOptionsToUrl("",r),action:e,domain:this.getDomain(n),queryConfig:n,environmentId:this.config.environmentId})}getHeaders(e,n){const r=[];if(n&&r.push(...n),r.push(this.getSdkIdHeader()),this.config.globalHeaders&&r.push(...this.config.globalHeaders(e)),r.push(...this.getQueryHeaders(e)),this.isPreviewModeEnabled(e)&&this.isSecuredModeEnabled(e))throw Error("Preview & secured modes cannot be used at the same time.");return this.isPreviewModeEnabled(e)&&this.config.previewApiKey&&r.push(this.getAuthorizationHeader(this.config.previewApiKey)),this.isSecuredModeEnabled(e)&&this.config.secureApiKey&&r.push(this.getAuthorizationHeader(this.config.secureApiKey)),this.shouldAddWaitForLoadingNewContentHeader(e)&&r.push({header:YM,value:"true"}),r}postResponseAsync(e,n,r,i){return Uy(this,void 0,void 0,function*(){r||(r={}),i||(i={});try{return yield this.httpService.postAsync({url:e,body:n},{cancelToken:r==null?void 0:r.cancelToken,responseType:"json",retryStrategy:this.config.retryStrategy,headers:this.getHeaders(r,i.headers?i.headers:[])})}catch(s){throw this.mapDeliveryError(s)}})}getResponseAsync(e,n,r){return Uy(this,void 0,void 0,function*(){n||(n={}),r||(r={});try{return yield this.httpService.getAsync({url:e},{cancelToken:n==null?void 0:n.cancelToken,responseType:"json",retryStrategy:this.config.retryStrategy,headers:this.getHeaders(n,r.headers?r.headers:[])})}catch(i){throw this.mapDeliveryError(i)}})}getBaseUrl(e){return this.getDomain(e)+"/"+this.config.environmentId}mapNetworkResponse(e,n){return{data:e,response:n,hasStaleContent:this.getHasStaleContent(n.headers),xContinuationToken:this.getContinuationToken(n.headers)}}isPreviewModeEnabled(e){return e.usePreviewMode!==void 0?e.usePreviewMode:this.config.defaultQueryConfig?this.config.defaultQueryConfig.usePreviewMode===!0:!1}getQueryHeaders(e){var n;return e.customHeaders?e.customHeaders:!((n=this.config.defaultQueryConfig)===null||n===void 0)&&n.customHeaders?this.config.defaultQueryConfig.customHeaders:[]}shouldAddWaitForLoadingNewContentHeader(e){return e.waitForLoadingNewContent!==void 0?e.waitForLoadingNewContent:this.config.defaultQueryConfig?this.config.defaultQueryConfig.waitForLoadingNewContent===!0:!1}isSecuredModeEnabled(e){return e.useSecuredMode!==void 0?e.useSecuredMode:this.config.defaultQueryConfig?this.config.defaultQueryConfig.useSecuredMode===!0:!1}getDomain(e){if(this.isPreviewModeEnabled(e)){if(!this.config.previewApiKey)throw Error("Preview API key is not configured.");return this.config.proxy&&this.config.proxy.basePreviewUrl?this.config.proxy.basePreviewUrl:this.defaultPreviewDeliveryApiUrl}return this.config.proxy&&this.config.proxy.baseUrl?this.config.proxy.baseUrl:this.defaultBaseDeliveryApiUrl}getAuthorizationHeader(e){if(!e)throw Error("Cannot get authorization header because key is invalid");return{header:"authorization",value:`bearer ${e}`}}getSdkIdHeader(){return{header:KM,value:`${this.sdkInfo.host};${this.sdkInfo.name};${this.sdkInfo.version}`}}mapDeliveryError(e){var n;let r;if(e.error?r=e.error:r=e,!r||!r.isAxiosError)return e;const i=(n=r.response)===null||n===void 0?void 0:n.data;return!i||!i.error_code?e:new qM({errorCode:i.error_code,message:i.message,specificCode:i.specific_code,requestId:i.request_id})}getHasStaleContent(e){const n=e.find(r=>r.header.toLowerCase()===XM.toLowerCase());return!!(n&&n.value.toString()==="1")}getContinuationToken(e){const n=e.find(r=>r.header.toLowerCase()===Fm.toLowerCase());return n?n.value:void 0}}var Gr=function(t,e,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(d){try{c(r.next(d))}catch(l){o(l)}}function u(d){try{c(r.throw(d))}catch(l){o(l)}}function c(d){d.done?s(d.value):i(d.value).then(a,u)}c((r=r.apply(t,e||[])).next())})};class u3 extends l3{constructor(e,n,r,i){super(e,n,r,i)}getSingleItemAsync(e,n){return Gr(this,void 0,void 0,function*(){const r=yield this.getResponseAsync(e,n);return this.mapNetworkResponse(this.mappingService.viewContentItemResponse(r.data),r)})}getItemsFeed(e,n){return Gr(this,void 0,void 0,function*(){const r=yield this.getResponseAsync(e,n);return this.mapNetworkResponse(this.mappingService.itemsFeedResponse(r.data),r)})}getUsedIn(e,n){return Gr(this,void 0,void 0,function*(){const r=yield this.getResponseAsync(e,n);return this.mapNetworkResponse(this.mappingService.usedInResponse(r.data),r)})}getMultipleItems(e,n){return Gr(this,void 0,void 0,function*(){const r=yield this.getResponseAsync(e,n);return this.mapNetworkResponse(this.mappingService.listContentItemsResponse(r.data),r)})}getSingleType(e,n){return Gr(this,void 0,void 0,function*(){const r=yield this.getResponseAsync(e,n);return this.mapNetworkResponse(this.mappingService.viewContentTypeResponse(r.data),r)})}getMultipleTypes(e,n){return Gr(this,void 0,void 0,function*(){const r=yield this.getResponseAsync(e,n);return this.mapNetworkResponse(this.mappingService.listContentTypesResponse(r.data),r)})}initializeSync(e,n){return Gr(this,void 0,void 0,function*(){const r=yield this.postResponseAsync(e,{},n);return this.mapNetworkResponse(this.mappingService.initializeContentSync(r.data),r)})}syncChanges(e,n){return Gr(this,void 0,void 0,function*(){const r=yield this.getResponseAsync(e,n);return this.mapNetworkResponse(this.mappingService.syncChanges(r.data),r)})}getLanguages(e,n){return Gr(this,void 0,void 0,function*(){const r=yield this.getResponseAsync(e,n);return this.mapNetworkResponse(this.mappingService.listLanguagesResponse(r.data),r)})}getTaxonomy(e,n){return Gr(this,void 0,void 0,function*(){const r=yield this.getResponseAsync(e,n);return this.mapNetworkResponse(this.mappingService.viewTaxonomyResponse(r.data),r)})}getTaxonomies(e,n){return Gr(this,void 0,void 0,function*(){const r=yield this.getResponseAsync(e,n);return this.mapNetworkResponse(this.mappingService.listTaxonomiesResponse(r.data),r)})}getElementAsync(e,n){return Gr(this,void 0,void 0,function*(){const r=yield this.getResponseAsync(e,n);return this.mapNetworkResponse(this.mappingService.viewContentTypeElementResponse(r.data),r)})}getListAllResponse(e){return Gr(this,void 0,void 0,function*(){const n=yield this.getListAllResponseInternalAsync({page:e.page,resolvedResponses:[],getResponse:e.getResponse,nextPageUrl:void 0,continuationToken:void 0,listQueryConfig:e.listQueryConfig});return e.allResponseFactory(n.reduce((r,i)=>(r.push(...i.data.items),r),[]),n)})}getListAllResponseInternalAsync(e){var n,r,i,s;return Gr(this,void 0,void 0,function*(){if(!((n=e.listQueryConfig)===null||n===void 0)&&n.pages&&e.page>e.listQueryConfig.pages)return e.resolvedResponses;const o=yield e.getResponse(e.nextPageUrl,e.continuationToken);!((r=e.listQueryConfig)===null||r===void 0)&&r.delayBetweenRequests&&(yield this.sleep(e.listQueryConfig.delayBetweenRequests)),e.resolvedResponses.push(o),!((i=e.listQueryConfig)===null||i===void 0)&&i.responseFetched&&e.listQueryConfig.responseFetched(o,e.nextPageUrl,e.continuationToken);const a=(s=o.data.pagination)===null||s===void 0?void 0:s.nextPage,u=o.xContinuationToken;return a||u?yield this.getListAllResponseInternalAsync({page:e.page+1,nextPageUrl:a,continuationToken:u,listQueryConfig:e.listQueryConfig,getResponse:e.getResponse,resolvedResponses:e.resolvedResponses}):e.resolvedResponses})}sleep(e){return new Promise(n=>setTimeout(n,e))}}class c3{escapeCodenameInCodenameIndexer(e){return`_${e}`}}const gl=new c3;class f3{replaceAssetDomain(e,n){return`${n}${this.getPathname(e)}`}getPathname(e){return new URL(e).pathname}}const jy=new f3;class d3{getAllValues(e){return Object.keys(e).map(r=>e[r])}getEnumFromValue(e,n){try{if(!n)return;if(this.isNumeric(n))return e[n];const i=this.getAllValues(e).find(s=>s.toLowerCase()===n.toString().toLowerCase());return i||void 0}catch{return}}isNumeric(e){return!isNaN(parseFloat(e))&&isFinite(e)}}const h3=new d3;class p3{constructor(e){this.config=e}mapElements(e){const n=e.processedItems[gl.escapeCodenameInCodenameIndexer(e.dataToMap.item.system.codename)];if(n)return{item:n,processedItems:e.processedItems,preparedItems:e.preparedItems,processingStartedForCodenames:e.processingStartedForCodenames};const r=e.preparedItems[gl.escapeCodenameInCodenameIndexer(e.dataToMap.item.system.codename)],i=r==null?void 0:r.item;if(!i)return;const s=Object.getOwnPropertyNames(e.dataToMap.rawItem.elements);for(const o of s){const a={system:e.dataToMap.item.system,rawElement:e.dataToMap.rawItem.elements[o],element:o},u=this.mapElement({elementWrapper:a,item:i,preparedItems:e.preparedItems,processingStartedForCodenames:e.processingStartedForCodenames,processedItems:e.processedItems});i.elements[o]=u}return{item:i,processedItems:e.processedItems,preparedItems:e.preparedItems,processingStartedForCodenames:e.processingStartedForCodenames}}mapElement(e){const n=h3.getEnumFromValue(ln,e.elementWrapper.rawElement.type);if(n){if(n===ln.ModularContent)return this.mapLinkedItemsElement({elementWrapper:e.elementWrapper,preparedItems:e.preparedItems,processingStartedForCodenames:e.processingStartedForCodenames,processedItems:e.processedItems});if(n===ln.Text)return this.mapTextElement(e.elementWrapper);if(n===ln.Asset)return this.mapAssetsElement(e.elementWrapper);if(n===ln.Number)return this.mapNumberElement(e.elementWrapper);if(n===ln.MultipleChoice)return this.mapMultipleChoiceElement(e.elementWrapper);if(n===ln.DateTime)return this.mapDateTimeElement(e.elementWrapper);if(n===ln.RichText)return this.mapRichTextElement(e.elementWrapper,e.processedItems,e.processingStartedForCodenames,e.preparedItems);if(n===ln.UrlSlug)return this.mapUrlSlugElement(e.elementWrapper);if(n===ln.Taxonomy)return this.mapTaxonomyElement(e.elementWrapper);if(n===ln.Custom)return this.mapCustomElement(e.elementWrapper)}return console.warn(`Could not map element '${e.elementWrapper.rawElement.name}' of type '${e.elementWrapper.rawElement.type}'. Returning unknown element instead.`),this.mapUnknowElement(e.elementWrapper)}mapRichTextElement(e,n,r,i){const s=e.rawElement,o=[],a=[],u=s.value.matchAll(/<object[^>]+data-codename="(?<codename>[a-z0-9_]*)".*?>/g),c=Array.from(u).reduce((p,b)=>(b.groups&&b.groups.codename&&p.push(b.groups.codename),p),[]),d=[...s.modular_content].sort(function(p,b){return c.indexOf(p)-c.indexOf(b)});for(const p of d){a.push(p);const b=i[p];if(this.canMapLinkedItems()){const y=this.getOrSaveLinkedItemForElement(p,s,n,r,i);if(y)o.push(y);else if(b){const S=this.mapElements({dataToMap:b,preparedItems:i,processingStartedForCodenames:r,processedItems:n});S&&o.push(S.item)}}}const l=this.getRichTextImages(s.images),f=this.mapRichTextLinks(s.links),h=l.richTextImages,g=this.getRichTextHtml(s.value,l.imageUrlRecords);return{images:h,linkedItemCodenames:a,linkedItems:o,links:f,name:s.name,type:ln.RichText,value:g}}mapDateTimeElement(e){var n;const r=e.rawElement;return Object.assign(Object.assign({},this.buildElement(e,ln.DateTime,()=>r.value)),{displayTimeZone:(n=r.display_timezone)!==null&&n!==void 0?n:null})}mapMultipleChoiceElement(e){return this.buildElement(e,ln.MultipleChoice,()=>e.rawElement.value)}mapNumberElement(e){return this.buildElement(e,ln.Number,()=>e.rawElement.value===0?0:e.rawElement.value?+e.rawElement.value:null)}mapTextElement(e){return this.buildElement(e,ln.Text,()=>e.rawElement.value)}mapAssetsElement(e){return this.buildElement(e,ln.Asset,()=>{var n;const r=e.rawElement.value,i=[];for(const s of r){let o=null;const a=this.config.assetsDomain?jy.replaceAssetDomain(s.url,this.config.assetsDomain):s.url;if(s.renditions){o={};for(const l of Object.keys(s.renditions)){const f=s.renditions[l];o[l]=Object.assign(Object.assign({},f),{url:`${a}?${f.query}`})}}const u=this.config.defaultRenditionPreset&&(o==null?void 0:o[this.config.defaultRenditionPreset])||null,c=(n=u==null?void 0:u.url)!==null&&n!==void 0?n:a,d=Object.assign(Object.assign({},s),{url:c,renditions:o});i.push(d)}return i})}mapTaxonomyElement(e){var n;return Object.assign(Object.assign({},this.buildElement(e,ln.Taxonomy,()=>e.rawElement.value)),{taxonomyGroup:(n=e.rawElement.taxonomy_group)!==null&&n!==void 0?n:""})}mapUnknowElement(e){return this.buildElement(e,ln.Unknown,()=>e.rawElement.value)}mapCustomElement(e){if(this.config.elementResolver){const n=this.config.elementResolver(e);if(n)return this.buildElement(e,ln.Custom,()=>n)}return this.buildElement(e,ln.Custom,()=>e.rawElement.value)}mapUrlSlugElement(e){return this.buildElement(e,ln.UrlSlug,()=>e.rawElement.value)}mapLinkedItemsElement(e){const n=[],r=e.elementWrapper.rawElement.value;for(const i of r)if(this.canMapLinkedItems()){const s=this.getOrSaveLinkedItemForElement(i,e.elementWrapper.rawElement,e.processedItems,e.processingStartedForCodenames,e.preparedItems);s&&n.push(s)}return Object.assign(Object.assign({},this.buildElement(e.elementWrapper,ln.ModularContent,()=>r)),{linkedItems:n})}getOrSaveLinkedItemForElement(e,n,r,i,s){const o=gl.escapeCodenameInCodenameIndexer(e),a=r[o];if(a)return a;const u=s[o];if(i.includes(e))return u==null?void 0:u.item;if(i.push(e),!u)return;let c;const d=this.mapElements({dataToMap:u,preparedItems:s,processingStartedForCodenames:i,processedItems:r});return d&&(c=d.item,r[o]=c),c}mapRichTextLinks(e){const n=[];for(const r of Object.keys(e)){const i=e[r];n.push({codename:i.codename,linkId:r,urlSlug:i.url_slug,type:i.type})}return n}getRichTextHtml(e,n){for(const r of n)r.newUrl!==r.originalUrl&&(e=e.replace(new RegExp(r.originalUrl,"g"),r.newUrl));return e}getRichTextImages(e){var n,r,i;const s=[],o=[];for(const a of Object.keys(e)){const u=e[a],c=this.config.assetsDomain?jy.replaceAssetDomain(u.url,this.config.assetsDomain):u.url;s.push({description:(n=u.description)!==null&&n!==void 0?n:null,imageId:u.image_id,url:c,height:(r=u.height)!==null&&r!==void 0?r:null,width:(i=u.width)!==null&&i!==void 0?i:null}),o.push({originalUrl:u.url,newUrl:c})}return{imageUrlRecords:o,richTextImages:s}}buildElement(e,n,r){return{name:e.rawElement.name,type:n,value:r()}}canMapLinkedItems(){return this.config.linkedItemsReferenceHandler?this.config.linkedItemsReferenceHandler==="map":!0}}class m3{constructor(e){this.config=e,this.elementMapper=new p3(e)}mapSingleItemFromResponse(e){const n=this.mapItems({mainItems:[e.item],linkedItems:Object.values(e.modular_content)});return{item:n.items[0],linkedItems:n.linkedItems}}mapMultipleItemsFromResponse(e){return this.mapItems({mainItems:e.items,linkedItems:Object.values(e.modular_content)})}mapItems(e){const n={},r={},i=[],s=[],o={},a=[...e.mainItems,...e.linkedItems];for(const u of a)r[gl.escapeCodenameInCodenameIndexer(u.system.codename)]={item:this.createContentItem(u),rawItem:u};for(const u of e.mainItems){const c=this.mapItem({item:r[gl.escapeCodenameInCodenameIndexer(u.system.codename)],processedItems:n,preparedItems:r,processingStartedForCodenames:i});s.push(c.item)}for(const u of e.linkedItems){const c=this.mapItem({item:r[gl.escapeCodenameInCodenameIndexer(u.system.codename)],processedItems:n,preparedItems:r,processingStartedForCodenames:i});o[u.system.codename]=c.item}return{items:s,linkedItems:o}}mapItem(e){if(!e.item)throw Error("Could not map item because its undefined");const n=this.elementMapper.mapElements({dataToMap:e.item,preparedItems:e.preparedItems,processingStartedForCodenames:[],processedItems:e.processedItems});if(!n)throw Error(`Mapping of content item '${e.item.item.system.codename}' failed`);return{item:n.item,processedItems:n.processedItems,preparedItems:n.preparedItems,processingStartedForCodenames:n.processingStartedForCodenames}}createContentItem(e){var n,r;return{elements:{},system:{codename:e.system.codename,collection:e.system.collection,id:e.system.id,language:e.system.language,lastModified:e.system.last_modified,name:e.system.name,sitemapLocations:e.system.sitemap_locations,type:e.system.type,workflowStep:(n=e.system.workflow_step)!==null&&n!==void 0?n:null,workflow:(r=e.system.workflow)!==null&&r!==void 0?r:null}}}}class g3{mapTaxonomy(e,n){if(!e)throw Error("Cannot map taxonomy due to missing 'system' property");if(!n)throw Error("Cannot map taxonomy due to missing 'terms' property");if(!Array.isArray(n))throw Error("Cannot map terms because no terms array was provided");const r={name:e.name,codename:e.codename,id:e.id,lastModified:e.last_modified},i=this.mapTaxonomyTerms(n);return{system:r,terms:i}}mapTaxonomies(e){if(!e)throw Error("Cannot map taxonomy due to missing 'taxonomies' property");if(!Array.isArray(e))throw Error("Cannot map taxonomies because the 'taxonomies' property is not an array ");const n=[];return e.forEach(r=>{n.push(this.mapTaxonomy(r.system,r.terms))}),n}mapTaxonomyTerms(e){if(e.length===0)return[];const n=[];return e.forEach(r=>{const i={codename:r.codename,name:r.name,terms:this.mapTaxonomyTerms(r.terms)};n.push(i)}),n}}class _3{mapSingleType(e){return this.mapType(e)}mapMultipleTypes(e){return e.types.map(n=>this.mapType(n))}mapType(e){if(!e)throw Error("Cannot map type");if(!e.elements)throw Error("Cannot map type elements");const n={codename:e.system.codename,id:e.system.id,name:e.system.name,lastModified:e.system.last_modified},r=[];return Object.getOwnPropertyNames(e.elements).forEach(s=>{const o=e.elements[s];if(!o)throw Error(`Cannot find element '${s}' on type '${e.system.codename}'`);const a=s,u=[],c=o.options;if(c){if(!Array.isArray(c))throw Error("Content type 'options' property has to be an array");c.forEach(d=>{u.push({codename:d.codename,name:d.name})})}r.push({codename:a,taxonomyGroup:o.taxonomy_group,options:u,name:o.name,type:o.type})}),{elements:r,system:n}}}class v3{mapElement(e){if(!e)throw Error("Invalid response for mapping element");const n=e;return{codename:n.codename,name:n.name,type:n.type,options:n.options?n.options:[],taxonomyGroup:n.taxonomy_group}}}class y3{mapMultipleLanguages(e){return e.languages.map(n=>this.mapLanguage(n))}mapLanguage(e){if(!e)throw Error("Cannot map language");return{system:{codename:e.system.codename,id:e.system.id,name:e.system.name}}}}class b3{mapUsedInItem(e){return{system:{id:e.system.id,name:e.system.name,codename:e.system.codename,language:e.system.language,type:e.system.type,collection:e.system.collection,workflow:e.system.workflow,workflowStep:e.system.workflow_step,lastModified:e.system.last_modified}}}}class w3{mapContentItemDelta(e){var n,r;const i=e.data.system,s=e.data.elements?e.data.elements:{};return{changeType:e.change_type,timestamp:e.timestamp,data:{elements:s,system:{codename:i.codename,collection:i.collection,id:i.id,language:i.language,lastModified:i.last_modified,name:i.name,sitemapLocations:i.sitemap_locations,type:i.type,workflowStep:(n=i.workflow_step)!==null&&n!==void 0?n:null,workflow:(r=i.workflow)!==null&&r!==void 0?r:null}}}}}class S3{constructor(e){this.config=e,this.typeMapper=new _3,this.languageMapper=new y3,this.itemMapper=new m3(e),this.taxonomyMapper=new g3,this.usedInMapper=new b3,this.genericElementMapper=new v3,this.syncMapper=new w3}usedInResponse(e){return{items:e.items.map(n=>this.usedInMapper.mapUsedInItem(n))}}listLanguagesResponse(e){return{items:this.languageMapper.mapMultipleLanguages(e),pagination:this.mapPagination(e.pagination)}}listContentTypesResponse(e){return{items:this.typeMapper.mapMultipleTypes(e),pagination:this.mapPagination(e.pagination)}}viewContentTypeResponse(e){return{type:this.typeMapper.mapSingleType(e)}}itemsFeedResponse(e){const n=this.itemMapper.mapItems({linkedItems:Object.values(e.modular_content),mainItems:e.items});return{items:n.items,linkedItems:n.linkedItems}}viewContentItemResponse(e){const n=this.itemMapper.mapSingleItemFromResponse(e);return{item:n.item,linkedItems:n.linkedItems}}listContentItemsResponse(e){const n=this.itemMapper.mapMultipleItemsFromResponse(e);return{items:n.items,pagination:this.mapPagination(e.pagination),linkedItems:n.linkedItems}}viewTaxonomyResponse(e){return{taxonomy:this.taxonomyMapper.mapTaxonomy(e.system,e.terms)}}listTaxonomiesResponse(e){return{items:this.taxonomyMapper.mapTaxonomies(e.taxonomies),pagination:this.mapPagination(e.pagination)}}viewContentTypeElementResponse(e){return this.genericElementMapper.mapElement(e)}initializeContentSync(e){return{items:e.items.map(n=>this.syncMapper.mapContentItemDelta(n))}}syncChanges(e){return{items:e.items.map(n=>this.syncMapper.mapContentItemDelta(n))}}mapPagination(e){var n;return{skip:e.skip,count:e.count,limit:e.limit,nextPage:e.next_page,totalCount:(n=e.total_count)!==null&&n!==void 0?n:null}}}class T3{constructor(e){if(this.config=e,!e)throw Error("Delivery client configuration is not set");this.mappingService=new S3(e),this.queryService=new u3(e,e.httpService?e.httpService:new GM,{host:mp.host,name:mp.name,version:mp.version},this.mappingService)}languages(){return new s3(this.config,this.queryService)}types(){return new n3(this.config,this.queryService)}type(e){return new r3(this.config,this.queryService,e)}items(){return new JM(this.config,this.queryService)}item(e){return new ZM(this.config,this.queryService,e)}itemsFeed(){return new i3(this.config,this.queryService)}taxonomy(e){return new t3(this.config,this.queryService,e)}taxonomies(){return new e3(this.config,this.queryService)}element(e,n){return new QM(this.config,this.queryService,e,n)}initializeSync(){return new o3(this.config,this.queryService)}syncChanges(){return new a3(this.config,this.queryService)}assetUsedIn(e){return new Vy(this.config,this.queryService,{entity:"asset",codename:e})}itemUsedIn(e){return new Vy(this.config,this.queryService,{entity:"contentItem",codename:e})}}const{kontentEnvID:A3}=lt,E3="https://content.breakthroughenergy.org",k3="https://preview.breakthroughenergy.org",R3="https://images.breakthroughenergy.org",C3={environmentId:A3,defaultQueryConfig:{usePreviewMode:!1},proxy:{baseUrl:E3,basePreviewUrl:k3},assetsDomain:R3},uh=new T3(C3),nA=async(t,e=!1,n=1)=>{try{const r=await uh.items().type(t).depthParameter(n).toPromise();return e?r.data.items[0]:r.data.items}catch(r){return console.error("Error fetching content from Kontent:",r),null}},x3=async(t,e=1)=>{try{return(await uh.items().equalsFilter("elements.slug",t).depthParameter(e).toPromise()).data.items[0]}catch(n){return console.error(`Error fetching content by slug "${t}":`,n),null}},P3=async()=>{try{return(await uh.items().depthParameter(2).notEqualsFilter("elements.slug","").toPromise()).data.items}catch(t){return console.error("Error fetching items from Kontent:",t),null}},rA=async(t=null)=>{try{const e=await uh.taxonomy(t).toPromise();return e&&e.data&&e.data.taxonomy?e.data.taxonomy.terms:{}}catch(e){return console.error("Error fetching taxonomies:",e),{}}};var gp=new WeakMap,Wy=0;function I3(t){if(!t.length)return"";for(var e="arg",n=0;n<t.length;++n){var r=void 0;t[n]===null||typeof t[n]!="object"&&typeof t[n]!="function"?typeof t[n]=="string"?r='"'+t[n]+'"':r=String(t[n]):gp.has(t[n])?r=gp.get(t[n]):(r=Wy,gp.set(t[n],Wy++)),e+="@"+r}return e}function L3(t){if(typeof t=="function")try{t=t()}catch{t=""}return Array.isArray(t)?t=I3(t):t=String(t||""),t}var n_=(function(){function t(e){e===void 0&&(e=0),this.items=new Map,this.ttl=e}return t.prototype.serializeKey=function(e){return L3(e)},t.prototype.get=function(e){var n=this.serializeKey(e);return this.items.get(n)},t.prototype.set=function(e,n,r){var i=this.serializeKey(e),s=r||this.ttl,o=Date.now(),a={data:n,createdAt:o,expiresAt:s?o+s:1/0};this.dispatchExpire(s,a,i),this.items.set(i,a)},t.prototype.dispatchExpire=function(e,n,r){var i=this;e&&setTimeout(function(){var s=Date.now(),o=s>=n.expiresAt;o&&i.delete(r)},e)},t.prototype.delete=function(e){this.items.delete(e)},t})();function O3(){return typeof navigator.onLine<"u"?navigator.onLine:!0}function M3(){return typeof document<"u"&&typeof document.visibilityState<"u"?document.visibilityState!=="hidden":!0}var F3=function(t){return fetch(t).then(function(e){return e.json()})};const _p={isOnline:O3,isDocumentVisible:M3,fetcher:F3};var Ds=function(){return Ds=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++){e=arguments[n];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},Ds.apply(this,arguments)},Za=function(t,e,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(d){try{c(r.next(d))}catch(l){o(l)}}function u(d){try{c(r.throw(d))}catch(l){o(l)}}function c(d){d.done?s(d.value):i(d.value).then(a,u)}c((r=r.apply(t,e||[])).next())})},el=function(t,e){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,i,s,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(c){return function(d){return u([c,d])}}function u(c){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(s=c[0]&2?i.return:c[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,c[1])).done)return s;switch(i=0,s&&(c=[c[0]&2,s.value]),c[0]){case 0:case 1:s=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,i=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(s=n.trys,!(s=s.length>0&&s[s.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!s||c[1]>s[0]&&c[1]<s[3])){n.label=c[1];break}if(c[0]===6&&n.label<s[1]){n.label=s[1],s=c;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(c);break}s[2]&&n.ops.pop(),n.trys.pop();continue}c=e.call(t,n)}catch(d){c=[6,d],i=0}finally{r=s=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}},D3=function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,s=[],o;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(a){o={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return s},N3=function(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,s;r<i;r++)(s||!(r in e))&&(s||(s=Array.prototype.slice.call(e,0,r)),s[r]=e[r]);return t.concat(s||Array.prototype.slice.call(e))},iA=new n_,kd=new n_,vp=new n_,sA={cache:iA,refreshInterval:0,ttl:0,serverTTL:1e3,dedupingInterval:2e3,revalidateOnFocus:!0,revalidateDebounce:0,shouldRetryOnError:!0,errorRetryInterval:5e3,errorRetryCount:5,fetcher:_p.fetcher,isOnline:_p.isOnline,isDocumentVisible:_p.isDocumentVisible};function $3(t,e,n){var r=kd.get(t);if(r)r.data.push(e);else{var i=5e3;kd.set(t,[e],n>0?n+i:n)}}function H3(t,e,n){if(n.isDocumentVisible()&&!(n.errorRetryCount!==void 0&&e>n.errorRetryCount)){var r=Math.min(e||0,n.errorRetryCount),i=r*n.errorRetryInterval;setTimeout(function(){t(null,{errorRetryCount:r+1,shouldRetryOnError:!0})},i)}}var zy=function(t,e,n,r){return n===void 0&&(n=iA),r===void 0&&(r=sA.ttl),Za(void 0,void 0,void 0,function(){var i,s,o,a,u,c,d;return el(this,function(l){switch(l.label){case 0:if(!V3(e))return[3,5];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,e];case 2:return i=l.sent(),[3,4];case 3:return a=l.sent(),s=a,[3,4];case 4:return[3,6];case 5:i=e,l.label=6;case 6:if(o=!1,u={data:i,error:s,isValidating:o},typeof i<"u")try{n.set(t,u,r)}catch(f){console.error("swrv(mutate): failed to set cache",f)}return c=kd.get(t),c&&c.data.length&&(d=c.data.filter(function(f){return f.key===t}),d.forEach(function(f,h){typeof u.data<"u"&&(f.data=u.data),f.error=u.error,f.isValidating=u.isValidating,f.isLoading=u.isValidating;var g=h===d.length-1;g||delete d[h]}),d=d.filter(Boolean)),[2,u]}})})};function B3(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r,i,s=Ds({},sA),o=!1,a=!1,u=No(),c=(u==null?void 0:u.proxy)||u;if(!c)return console.error("Could not get current instance, check to make sure that `useSwrv` is declared in the top level of the setup function."),null;var d=(c==null?void 0:c.$isServer)||!1;e.length>=1&&(r=e[0]),e.length>=2&&(i=e[1]),e.length>2&&(s=Ds(Ds({},s),e[2]));var l=d?s.serverTTL:s.ttl,f=typeof r=="function"?r:j(r);typeof i>"u"&&(i=s.fetcher);var h=null;h||(h=Pa({data:void 0,error:void 0,isValidating:!0,isLoading:!0,key:null}));var g=function(S,E){return Za(t,void 0,void 0,function(){var T,k,M,$,H,O,F,re=this;return el(this,function(N){switch(N.label){case 0:return T=h.data===void 0,k=f.value,k?(M=s.cache.get(k),$=M&&M.data,h.isValidating=!0,h.isLoading=!$,$&&(h.data=$.data,h.error=$.error),H=S||i,!H||!s.isDocumentVisible()&&!T||(E==null?void 0:E.forceRevalidate)!==void 0&&!(E!=null&&E.forceRevalidate)?(h.isValidating=!1,h.isLoading=!1,[2]):M&&(O=!!(Date.now()-M.createdAt>=s.dedupingInterval||E!=null&&E.forceRevalidate),!O)?(h.isValidating=!1,h.isLoading=!1,[2]):(F=function(){return Za(re,void 0,void 0,function(){var P,z,Q,B;return el(this,function(G){switch(G.label){case 0:return P=vp.get(k),P?[3,2]:(z=Array.isArray(k)?k:[k],Q=H.apply(void 0,N3([],D3(z),!1)),vp.set(k,Q,s.dedupingInterval),[4,zy(k,Q,s.cache,l)]);case 1:return G.sent(),[3,4];case 2:return[4,zy(k,P.data,s.cache,l)];case 3:G.sent(),G.label=4;case 4:return h.isValidating=!1,h.isLoading=!1,vp.delete(k),h.error!==void 0&&(B=!o&&s.shouldRetryOnError&&(E?E.shouldRetryOnError:!0),B&&H3(g,E?E.errorRetryCount:1,s)),[2]}})})},$&&s.revalidateDebounce?(setTimeout(function(){return Za(re,void 0,void 0,function(){return el(this,function(P){switch(P.label){case 0:return o?[3,2]:[4,F()];case 1:P.sent(),P.label=2;case 2:return[2]}})})},s.revalidateDebounce),[3,3]):[3,1])):[2];case 1:return[4,F()];case 2:N.sent(),N.label=3;case 3:return[2]}})})},p=function(){return Za(t,void 0,void 0,function(){return el(this,function(S){return[2,g(null,{shouldRetryOnError:!1})]})})},b=null;kt(function(){var S=function(){return Za(t,void 0,void 0,function(){return el(this,function(E){switch(E.label){case 0:return!h.error&&s.isOnline()?[4,g()]:[3,2];case 1:return E.sent(),[3,3];case 2:b&&clearTimeout(b),E.label=3;case 3:return s.refreshInterval&&!o&&(b=setTimeout(S,s.refreshInterval)),[2]}})})};s.refreshInterval&&(b=setTimeout(S,s.refreshInterval)),s.revalidateOnFocus&&(document.addEventListener("visibilitychange",p,!1),window.addEventListener("focus",p,!1))}),Vt(function(){o=!0,b&&clearTimeout(b),s.revalidateOnFocus&&(document.removeEventListener("visibilitychange",p,!1),window.removeEventListener("focus",p,!1));var S=kd.get(f.value);S&&(S.data=S.data.filter(function(E){return E!==h}))});try{Ve(f,function(S){Zs(f)||(f.value=S),h.key=S,h.isValidating=!!S,$3(f.value,h,l),!d&&!a&&f.value&&g(),a=!1},{immediate:!0})}catch{}var y=Ds(Ds({},pb(h)),{mutate:function(S,E){return g(S,Ds(Ds({},E),{forceRevalidate:!0}))}});return y}function V3(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}const U3=lt.isSSR;function j3(t){const e=j(null),n=j(null),r=j(!0);return t().then(i=>{e.value=i,r.value=!1}).catch(i=>{n.value=i,r.value=!1}),{data:e,error:n,isLoading:r,mutate:async()=>{r.value=!0;try{const i=await t();e.value=i}catch(i){n.value=i}finally{r.value=!1}}}}function r_(t,e,n={}){if(U3)return j3(e);const r={dedupingInterval:5e3,revalidateOnFocus:!1,...n},{data:i,error:s,isValidating:o,mutate:a}=B3(t,e,r);return{data:i,error:s,isLoading:o,mutate:a}}const W3=(t=null)=>{const e=async()=>await rA(t),n=t?`kontent/taxonomy/${t}`:"kontent/taxonomies";return r_(n,e)},oA=(t,e=5)=>{const n=async()=>{const r=gr(),i=await x3(t,e);return i?r.prepComponentsField("components",{...i}):null};return r_(`kontent/content-by-slug/${t}/${e}`,n)},Rd=(t,e=!1,n=1)=>{const r=async()=>{const i=gr(),s=await nA(t,e,n);return s?e?i.prepComponentsField("components",{...s}):s.map(o=>i.prepComponentsField("components",{...o})):null};return r_(`kontent/content-type/${t}/${e}/${n}`,r)},z3="375",G3="1440",Mc={mobile:z3,"tablet-portrait":"768","tablet-landscape":"1024",desktop:G3,"desktop-wide":"1920"},gr=Ec("content",()=>{const t=j([]),e=j(null),n=j(!0);j(!0);const r=j(null),i=j(null),s=j([]),o=async()=>{const P=await P3();return P?(s.value=P,P):{}},a=P=>!P||s.value.length===0?[]:s.value.filter(z=>z.slug?z.slug.value===P:!1),u=P=>{const z=a(P);return z&&z.length>0?b(z[0]):!1},c=P=>({})[P]||"ProxyBlock",d=(P,z)=>{const Q=z[P];if(!Q)return z;const B=[];return Q.forEach((G,ie)=>{var X;const ae={...G};ae.vueType=c(ae._type),ae.pageTitle=z.title,ae.pageSlug=(X=z.slug)==null?void 0:X.current,ae.blockIndex=ie,ae.cascadeColor="white",B.push(ae)}),z[P]=B,z},l=async()=>{if(r.value)return r.value;const P=await nA("siteconfig",!0,3);return P?(r.value={...P},r.value):{}},f=(P=null)=>[{rel:"icon",type:"image/x-icon",href:"/favicon.ico"},{rel:"icon",type:"image/svg+xml",href:"/favicon.svg"},{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon-16x16.png"},{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"192x192",href:"/android-chrome-192x192.png"},{rel:"icon",type:"image/png",sizes:"512x512",href:"/android-chrome-512x512.png"},{rel:"apple-touch-icon",sizes:"180x180",href:"/apple-touch-icon.png"},{rel:"mask-icon",href:"/apple-touch-icon.png",color:"#000000"}],h=P=>{var B,G,ie,ae,X;if(!r.value&&!P.metadata)return[];const z=Array.isArray((ie=(G=(B=r==null?void 0:r.value)==null?void 0:B.elements)==null?void 0:G.metadata)==null?void 0:ie.linkedItems)&&r.value.elements.metadata.linkedItems.length>0?r.value.elements.metadata.linkedItems[0].elements:{},Q=Array.isArray((ae=P==null?void 0:P.metadata)==null?void 0:ae.linkedItems)&&((X=P.metadata)==null?void 0:X.linkedItems.length)>0?P.metadata.linkedItems[0].elements:{};return[{rel:"canonical",href:Ie(()=>{var pe,Ee,ke;return(ke=(Ee=(pe=r==null?void 0:r.value)==null?void 0:pe.elements)==null?void 0:Ee.url)==null?void 0:ke.value})},{name:"description",content:Ie(()=>{var pe,Ee;return((pe=Q==null?void 0:Q.description)==null?void 0:pe.value)||((Ee=z==null?void 0:z.description)==null?void 0:Ee.value)})},{name:"keywords",content:Ie(()=>{var pe,Ee;return((pe=Q==null?void 0:Q.keywords)==null?void 0:pe.value)||((Ee=z==null?void 0:z.keywords)==null?void 0:Ee.value)})},{property:"og:type",content:"website"},{property:"og:title",content:Ie(()=>{var pe,Ee,ke,Re,ye;return`${(ke=(Ee=(pe=r.value)==null?void 0:pe.elements)==null?void 0:Ee.sitename)==null?void 0:ke.value}${(Re=P==null?void 0:P.title)!=null&&Re.value?` | ${(ye=P==null?void 0:P.title)==null?void 0:ye.value}`:""}`})},{property:"og:description",content:Ie(()=>{var pe,Ee;return((pe=Q==null?void 0:Q.description)==null?void 0:pe.value)||((Ee=z==null?void 0:z.description)==null?void 0:Ee.value)})},{property:"og:url",content:Ie(()=>{var pe,Ee,ke;return(ke=(Ee=(pe=r==null?void 0:r.value)==null?void 0:pe.elements)==null?void 0:Ee.url)==null?void 0:ke.value})},{property:"og:image",content:Ie(()=>re(z==null?void 0:z.socialimagefacebook))},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:title",content:Ie(()=>{var pe,Ee,ke,Re,ye;return`${(ke=(Ee=(pe=r.value)==null?void 0:pe.elements)==null?void 0:Ee.sitename)==null?void 0:ke.value}${(Re=P==null?void 0:P.title)!=null&&Re.value?` | ${(ye=P==null?void 0:P.title)==null?void 0:ye.value}`:""}`})},{name:"twitter:description",content:Ie(()=>{var pe,Ee;return((pe=Q==null?void 0:Q.description)==null?void 0:pe.value)||((Ee=z==null?void 0:z.description)==null?void 0:Ee.value)})},{name:"twitter:image",content:Ie(()=>re(z==null?void 0:z.socialimagetwitter))}]},g=P=>(Array.isArray(P)||(P=[]),P.map(z=>E(z)).filter(Boolean)),p=(P,z,Q=null)=>{let B="";const G={},ie=Q||b(z);return B=G[ie]||B,P==="/"?"/":`/${B}${P}`},b=P=>typeof P.type=="object"&&P.type._system&&P.type._system.name?P.type._system.name:P.type,y=P=>{if(!P||!s.value||s.value.length===0)return!1;const z=s.value.find(Q=>{var B,G;return((G=(B=Q.elements)==null?void 0:B.slug)==null?void 0:G.value)===P});return z&&(z.system.type||z._type)||!1},S=P=>{var B,G,ie;const z=P.system?P.system:y((B=P.elements.slug)==null?void 0:B.value),Q=((ie=(G=P.elements)==null?void 0:G.slug)==null?void 0:ie.value)||"/";return typeof Q>"u"?"":p(Q,z)},E=P=>{if(!P)return"";const z=y(P);return p(P,null,z)};function T(P){return!P||!Array.isArray(P)?[]:P.filter(z=>{var Q,B;return(B=(Q=z.elements)==null?void 0:Q.slug)==null?void 0:B.value})}function k(P,z="beige"){var Q,B;return((B=(Q=P==null?void 0:P.value)==null?void 0:Q[0])==null?void 0:B.name)||z}function M(P,z=""){const Q={"warm-grey":"#12110E"};let B=P;return P&&typeof P=="object"&&(B=Object.keys(P).find(G=>P[G])),typeof B=="string"&&(B=B.replace(/^\.?theme-bg--/,"").replace(/^\.?theme--/,"")),Q[B]||z}const $=(P,{width:z=null,height:Q=null,crop:B=null}={})=>{const ie=lt.pixelRatio;let ae=`${P}?fm=webp&dpr=${ie}&q=90`;return z&&(ae+=`&w=${z}`),Q&&(ae+=`&h=${Q}`),z&&Q&&B&&(ae+=`&fit=${B}`),ae},H=P=>lt.videoPrefix+P,O=P=>lt.cloudinaryVideoURL+P,F=P=>!P||!P.value||!Array.isArray(P.value)||P.value.length===0?[]:P.value.filter(z=>z.url&&z.type).map(z=>({src:O(z.url),type:z.type})),re=P=>!P||!P.value||!P.value.length||!P.value[0].url?!1:lt.cloudinaryAssetURL+P.value[0].url;return{getWebP:$,prefixedVideoURL:H,getVideoSource:O,getVideoSources:F,getAssetURL:re,getAssetURLs:P=>!P||!P.value||!P.value.length?[]:P.value.map(z=>lt.cloudinaryAssetURL+z.url).filter(z=>!!z),prepComponentsField:d,getRouteTypeFromSlug:u,prepLinkList:g,prepLink:E,getMeta:h,getMetaLinks:f,siteConfig:r,populateSiteConfig:l,getAllRoutes:o,pages:t,currentContent:e,isLoading:n,internalRouting:p,pageType:i,filterLinkList:T,getInternalTo:S,getThemeValue:k,getNavColorValue:M}});function i_(t){if(!t)return"";const e=t.charAt(0);return e>="A"&&e<="Z"?`type-nudge--${e.toLowerCase()}`:""}const q3=["data-nav-color"],Y3={class:"SectionHeader-container"},K3=["data-show-grid"],X3=["data-align"],Q3={__name:"SectionHeader",props:{showGrid:{type:Boolean,default:!1},hLevel:{type:String,default:"h2"},block:{type:Object,required:!0,default:()=>({_type:"sectionHeader",vueType:"SectionHeader",title:"",intro:"",theme:{name:"theme",type:"multiple_choice",value:[{name:"black",codename:"black"}]},blockIndex:0,cascadeColor:"white",leadAlignment:"right"})}},setup(t){const e=t,n=gr();function r(){return e.block.leadAlignment||"right"}const i=Ie(()=>i_(e.block.intro));return(s,o)=>{const a=Cc;return ue(),me("header",{class:ot(["SectionHeader",`theme--${_e(n).getThemeValue(t.block.theme)}`]),"data-nav-color":_e(n).getNavColorValue(_e(n).getThemeValue(t.block.theme))},[J("div",Y3,[J("div",{class:"SectionHeader-wrap","data-show-grid":t.showGrid},[t.block.title?(ue(),tn(Il(t.hLevel),{key:0,class:"SectionHeader-title type-h1"},{default:$i(()=>[Zu(ze(t.block.title),1)]),_:1})):bt("",!0),J("div",{class:"SectionHeader-lead","data-align":r()},[je(a,{class:ot(["SectionHeader-intro type-h5",i.value]),html:t.block.intro},null,8,["class","html"])],8,X3)],8,K3)])],10,q3)}}},J3=_t(Q3,[["__scopeId","data-v-cd9aca6e"]]),mi={NONE:null,MENU:"MENU",FILTER:"FILTER",CONTENT:"CONTENT",VIDEO:"VIDEO"},ya={PENDING_TRANSITION:"TRANSITION_STATE:PENDING_TRANSITION",LEAVE:"TRANSITION_STATE:LEAVE",AFTER_LEAVE:"TRANSITION_STATE:AFTER_LEAVE",ENTER:"TRANSITION_STATE:ENTER",ENTER_AFTER_LOADED:"TRANSITION_STATE:ENTER_AFTER_LOADED",AFTER_ENTER:"TRANSITION_STATE:AFTER_ENTER"},$H={LEAVE:2,ENTER_TOTAL:1.2,ENTER_DELAY:.4},Z3={BLACK:"rgb(18,17,14)",CREAM:"#FAFBF8",YELLOW:"#DFFF5C",KEYLINE_DARK:"#12110E4D"},wi=Ec("app",()=>{const t=Ol(),e=j(!1);j(!1);const n=j(!1),r=j(null),i=ba({sources:[],timeOffset:0,title:"Title"}),s=!lt.isSSR&<.hasDocument?document.visibilityState==="visible":!0,o=j(!1),a=j(!1),u=j(!0);u.value=s;const c=j(!1),d=Ie(()=>c.value||!u.value),l=j(!1),f=j(mi.NONE),h=j(!1),g=j(!0),p=j(!0),b=Ie(()=>f.value!==mi.NONE),y=F=>{f.value=F},S=F=>{c.value=F},E=F=>{o.value=F},T=F=>{u.value=F},k=F=>{h.value=F},M=F=>{g.value=F};return Ve(()=>t.path,()=>{p.value=!1}),Ve(()=>t.path,()=>{n.value=f.value===mi.MENU,y(mi.NONE),setTimeout(()=>{n.value=!1},200)},{immediate:!0}),{navbarCanShow:g,toggleNavbarCanShow:M,setIsLoaderVisible:F=>{e.value=F},isLoaderVisible:e,audioUnlocked:a,tabVisible:u,setTabVisible:T,setAudioUserMuted:S,audioUserMuted:c,audioMuted:d,isWarningShowing:l,setModalState:y,modalState:f,modalShowing:b,videoModalData:i,videoModalPlayerRef:r,setVideoModalData:F=>{i.value=F},setVideoModalPlayerRef:F=>{r.value=F},menuOpenBeforeRouteChange:n,setPageHasAudio:E,pageHasAudio:o,lowFPS:h,setLowFPS:k}}),e5=new Set(["link","style","script","noscript"]),t5=new Set(["title","titleTemplate","script","style","noscript"]),Gy=new Set(["base","meta","link","style","script","noscript"]),n5=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),r5=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),i5=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),s5=new Set(["templateParams","htmlAttrs","bodyAttrs"]),o5=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]);function Dm(t,e={},n){for(const r in t){const i=t[r],s=n?`${n}:${r}`:r;typeof i=="object"&&i!==null?Dm(i,e,s):typeof i=="function"&&(e[s]=i)}return e}const a5={run:t=>t()},l5=()=>a5,aA=typeof console.createTask<"u"?console.createTask:l5;function u5(t,e){const n=e.shift(),r=aA(n);return t.reduce((i,s)=>i.then(()=>r.run(()=>s(...e))),Promise.resolve())}function c5(t,e){const n=e.shift(),r=aA(n);return Promise.all(t.map(i=>r.run(()=>i(...e))))}function yp(t,e){for(const n of[...t])n(e)}class f5{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,n,r={}){if(!e||typeof n!="function")return()=>{};const i=e;let s;for(;this._deprecatedHooks[e];)s=this._deprecatedHooks[e],e=s.to;if(s&&!r.allowDeprecated){let o=s.message;o||(o=`${i} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(n),()=>{n&&(this.removeHook(e,n),n=void 0)}}hookOnce(e,n){let r,i=(...s)=>(typeof r=="function"&&r(),r=void 0,i=void 0,n(...s));return r=this.hook(e,i),r}removeHook(e,n){if(this._hooks[e]){const r=this._hooks[e].indexOf(n);r!==-1&&this._hooks[e].splice(r,1),this._hooks[e].length===0&&delete this._hooks[e]}}deprecateHook(e,n){this._deprecatedHooks[e]=typeof n=="string"?{to:n}:n;const r=this._hooks[e]||[];delete this._hooks[e];for(const i of r)this.hook(e,i)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const n in e)this.deprecateHook(n,e[n])}addHooks(e){const n=Dm(e),r=Object.keys(n).map(i=>this.hook(i,n[i]));return()=>{for(const i of r.splice(0,r.length))i()}}removeHooks(e){const n=Dm(e);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...n){return n.unshift(e),this.callHookWith(u5,e,...n)}callHookParallel(e,...n){return n.unshift(e),this.callHookWith(c5,e,...n)}callHookWith(e,n,...r){const i=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&yp(this._before,i);const s=e(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&i&&yp(this._after,i)}):(this._after&&i&&yp(this._after,i),s)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const n=this._before.indexOf(e);n!==-1&&this._before.splice(n,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const n=this._after.indexOf(e);n!==-1&&this._after.splice(n,1)}}}}function d5(){return new f5}const h5=["name","property","http-equiv"],p5=new Set(["viewport","description","keywords","robots"]);function lA(t){const e=t.split(":");return e.length?o5.has(e[1]):!1}function Nm(t){const{props:e,tag:n}=t;if(r5.has(n))return n;if(n==="link"&&e.rel==="canonical")return"canonical";if(e.charset)return"charset";if(t.tag==="meta"){for(const r of h5)if(e[r]!==void 0){const i=e[r],s=i.includes(":"),o=p5.has(i),u=!(s||o)&&t.key?`:key:${t.key}`:"";return`${n}:${i}${u}`}}if(t.key)return`${n}:key:${t.key}`;if(e.id)return`${n}:id:${e.id}`;if(t5.has(n)){const r=t.textContent||t.innerHTML;if(r)return`${n}:content:${r}`}}function qy(t){const e=t._h||t._d;if(e)return e;const n=t.textContent||t.innerHTML;return n||`${t.tag}:${Object.entries(t.props).map(([r,i])=>`${r}:${String(i)}`).join(",")}`}function Cd(t,e,n){typeof t==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(t=t());let i;if(e&&(i=e(n,t)),Array.isArray(i))return i.map(s=>Cd(s,e));if((i==null?void 0:i.constructor)===Object){const s={};for(const o of Object.keys(i))s[o]=Cd(i[o],e,o);return s}return i}function m5(t,e){const n=t==="style"?new Map:new Set;function r(i){const s=i.trim();if(s)if(t==="style"){const[o,...a]=s.split(":").map(u=>u.trim());o&&a.length&&n.set(o,a.join(":"))}else s.split(" ").filter(Boolean).forEach(o=>n.add(o))}return typeof e=="string"?t==="style"?e.split(";").forEach(r):r(e):Array.isArray(e)?e.forEach(i=>r(i)):e&&typeof e=="object"&&Object.entries(e).forEach(([i,s])=>{s&&s!=="false"&&(t==="style"?n.set(i.trim(),s):r(i))}),n}function uA(t,e){return t.props=t.props||{},e?t.tag==="templateParams"?(t.props=e,t):(Object.entries(e).forEach(([n,r])=>{if(r===null){t.props[n]=null;return}if(n==="class"||n==="style"){t.props[n]=m5(n,r);return}if(i5.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let o=e.type;if(e.type||(o="application/json"),!(o!=null&&o.endsWith("json"))&&o!=="speculationrules")return;e.type=o,t.props.type=o,t[n]=JSON.stringify(r)}else t[n]=r;return}const i=String(r),s=n.startsWith("data-");i==="true"||i===""?t.props[n]=s?i:!0:!r&&s&&i==="false"?t.props[n]="false":r!==void 0&&(t.props[n]=r)}),t):t}function g5(t,e){const n=typeof e=="object"&&typeof e!="function"?e:{[t==="script"||t==="noscript"||t==="style"?"innerHTML":"textContent"]:e},r=uA({tag:t,props:{}},n);return r.key&&e5.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(i=>({...r,props:{...r.props,content:i}})):r}function _5(t,e){if(!t)return[];typeof t=="function"&&(t=t());const n=(i,s)=>{for(let o=0;o<e.length;o++)s=e[o](i,s);return s};t=n(void 0,t);const r=[];return t=Cd(t,n),Object.entries(t||{}).forEach(([i,s])=>{if(s!==void 0)for(const o of Array.isArray(s)?s:[s])r.push(g5(i,o))}),r.flat()}const Yy=(t,e)=>t._w===e._w?t._p-e._p:t._w-e._w,Ky={base:-10,title:10},v5={critical:-8,high:-1,low:2},Xy={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},y5=/@import/,cu=t=>t===""||t===!0;function b5(t,e){var s;if(typeof e.tagPriority=="number")return e.tagPriority;let n=100;const r=v5[e.tagPriority]||0,i=t.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Xy;if(e.tag in Ky)n=Ky[e.tag];else if(e.tag==="meta"){const o=e.props["http-equiv"]==="content-security-policy"?"content-security-policy":e.props.charset?"charset":e.props.name==="viewport"?"viewport":null;o&&(n=Xy.meta[o])}else e.tag==="link"&&e.props.rel?n=i.link[e.props.rel]:e.tag==="script"?cu(e.props.async)?n=i.script.async:e.props.src&&!cu(e.props.defer)&&!cu(e.props.async)&&e.props.type!=="module"&&!((s=e.props.type)!=null&&s.endsWith("json"))?n=i.script.sync:cu(e.props.defer)&&e.props.src&&!cu(e.props.async)&&(n=i.script.defer):e.tag==="style"&&(n=e.innerHTML&&y5.test(e.innerHTML)?i.style.imported:i.style.sync);return(n||100)+r}function Qy(t,e){const n=typeof e=="function"?e(t):e,r=n.key||String(t.plugins.size+1);t.plugins.get(r)||(t.plugins.set(r,n),t.hooks.addHooks(n.hooks||{}))}function w5(t={}){var a;const e=d5();e.addHooks(t.hooks||{});const n=!t.document,r=new Map,i=new Map,s=new Set,o={_entryCount:1,plugins:i,dirty:!1,resolvedOptions:t,hooks:e,ssr:n,entries:r,headEntries(){return[...r.values()]},use:u=>Qy(o,u),push(u,c){const d={...c||{}};delete d.head;const l=d._index??o._entryCount++,f={_i:l,input:u,options:d},h={_poll(g=!1){o.dirty=!0,!g&&s.add(l),e.callHook("entries:updated",o)},dispose(){r.delete(l)&&o.invalidate()},patch(g){(!d.mode||d.mode==="server"&&n||d.mode==="client"&&!n)&&(f.input=g,r.set(l,f),h._poll())}};return h.patch(u),h},async resolveTags(){var h;const u={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await e.callHook("entries:resolve",u);s.size;){const g=s.values().next().value;s.delete(g);const p=r.get(g);if(p){const b={tags:_5(p.input,t.propResolvers||[]).map(y=>Object.assign(y,p.options)),entry:p};await e.callHook("entries:normalize",b),p._tags=b.tags.map((y,S)=>(y._w=b5(o,y),y._p=(p._i<<10)+S,y._d=Nm(y),y))}}let c=!1;u.entries.flatMap(g=>(g._tags||[]).map(p=>({...p,props:{...p.props}}))).sort(Yy).reduce((g,p)=>{const b=String(p._d||p._p);if(!g.has(b))return g.set(b,p);const y=g.get(b);if(((p==null?void 0:p.tagDuplicateStrategy)||(s5.has(p.tag)?"merge":null)||(p.key&&p.key===y.key?"merge":null))==="merge"){const E={...y.props};Object.entries(p.props).forEach(([T,k])=>E[T]=T==="style"?new Map([...y.props.style||new Map,...k]):T==="class"?new Set([...y.props.class||new Set,...k]):k),g.set(b,{...p,props:E})}else p._p>>10===y._p>>10&&p.tag==="meta"&&lA(b)?(g.set(b,Object.assign([...Array.isArray(y)?y:[y],p],p)),c=!0):(p._w===y._w?p._p>y._p:(p==null?void 0:p._w)<(y==null?void 0:y._w))&&g.set(b,p);return g},u.tagMap);const d=u.tagMap.get("title"),l=u.tagMap.get("titleTemplate");if(o._title=d==null?void 0:d.textContent,l){const g=l==null?void 0:l.textContent;if(o._titleTemplate=g,g){let p=typeof g=="function"?g(d==null?void 0:d.textContent):g;typeof p=="string"&&!o.plugins.has("template-params")&&(p=p.replace("%s",(d==null?void 0:d.textContent)||"")),d?p===null?u.tagMap.delete("title"):u.tagMap.set("title",{...d,textContent:p}):(l.tag="title",l.textContent=p)}}u.tags=Array.from(u.tagMap.values()),c&&(u.tags=u.tags.flat().sort(Yy)),await e.callHook("tags:beforeResolve",u),await e.callHook("tags:resolve",u),await e.callHook("tags:afterResolve",u);const f=[];for(const g of u.tags){const{innerHTML:p,tag:b,props:y}=g;if(n5.has(b)&&!(Object.keys(y).length===0&&!g.innerHTML&&!g.textContent)&&!(b==="meta"&&!y.content&&!y["http-equiv"]&&!y.charset)){if(b==="script"&&p){if((h=y.type)!=null&&h.endsWith("json")){const S=typeof p=="string"?p:JSON.stringify(p);g.innerHTML=S.replace(/</g,"\\u003C")}else typeof p=="string"&&(g.innerHTML=p.replace(new RegExp(`</${b}`,"g"),`<\\/${b}`));g._d=Nm(g)}f.push(g)}}return f},invalidate(){for(const u of r.values())s.add(u._i);o.dirty=!0,e.callHook("entries:updated",o)}};return((t==null?void 0:t.plugins)||[]).forEach(u=>Qy(o,u)),o.hooks.callHook("init",o),(a=t.init)==null||a.forEach(u=>u&&o.push(u)),o}const S5=(t,e)=>yn(e)?TR(e):e,cA="usehead";function T5(t){return{install(n){n.config.globalProperties.$unhead=t,n.config.globalProperties.$head=t,n.provide(cA,t)}}.install}function fA(){if(Ub()){const t=Kr(cA);if(!t)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return t}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function s_(t,e={}){const n=e.head||fA();return n.ssr?n.push(t||{},e):A5(n,t,e)}function A5(t,e,n={}){const r=j(!1);let i;return wc(()=>{const o=r.value?{}:Cd(e,S5);i?i.patch(o):i=t.push(o,n)}),No()&&(yc(()=>{i.dispose()}),Lb(()=>{r.value=!0}),Ib(()=>{r.value=!1})),i}const Jy={},E5={key:0,class:"page-loading"},k5=["data-nav-color"],R5=["data-nav-color"],C5={class:"page-container"},x5={class:"page-grid"},P5={key:0,class:"type-eyebrow page-eyebrow"},I5={class:"page-body"},L5={key:2,class:"page-content page-content--404 theme--cream"},O5={class:"page-container page-container--404"},dA={__name:"[slug]",props:{slug:{type:String,required:!0},isModalRoute:{type:Boolean,default:!1},theme:{name:"theme",type:Object,default:()=>({name:"theme",type:"multiple_choice",value:[{name:"beige",codename:"beige"}]})}},setup(t){const e=t;j("page");const n=gr(),r=j(""),i=j(null),s=Ol();Ll();const o=j(),a=j(null),{data:u,error:c,isLoading:d}=oA(e.slug);e.isModalRoute||s_(Ie(()=>({title:r.value||f(),meta:i.value?n.getMeta(i.value):[],link:n.getMetaLinks(i.value)})));async function l(){var g,p;if(o.value=!1,!!u.value){if(!((g=u.value.system)!=null&&g.type)){o.value="Invalid page data structure";return}i.value=u.value.elements,i.value,i.value,r.value=(p=i.value.title)==null?void 0:p.value,n.pageType=u.value.system.type}}wc(()=>{u.value&&!d.value&&l(),c.value&&(o.value="Error loading page",console.error("Error loading page:",c.value))});function f(){const g=s.params.slug;return g?g.split("-").map(p=>p.charAt(0).toUpperCase()+p.slice(1)).join(" "):""}async function h(){try{await new Promise((g,p)=>{const b=Ve(()=>d.value,y=>{y||(b(),g())},{immediate:!0})}),u.value&&await l()}catch(g){console.error("Error in onServerPrefetch:",g)}}return Wd(async()=>{a.value=e.slug,a.value,u.value&&!d.value&&l()}),bc(async()=>{a.value=e.slug,await h()}),Vt(()=>{}),(g,p)=>{var S,E,T,k,M,$,H,O,F,re,N,P,z,Q,B,G,ie;const b=J3,y=sO;return ue(),me("div",{key:e.slug,class:"page"},[_e(d)?(ue(),me("div",E5,[...p[0]||(p[0]=[J("div",{class:"loading-indicator"},"Loading page content...",-1)])])):i.value?(ue(),me("div",{key:1,class:ot(["page-content",`theme--${((T=(E=(S=i.value.theme)==null?void 0:S.value)==null?void 0:E[0])==null?void 0:T.name)||"beige"}`]),"data-nav-color":_e(n).getNavColorValue((($=(M=(k=i.value.theme)==null?void 0:k.value)==null?void 0:M[0])==null?void 0:$.name)||"beige")},[je(b,{block:{_type:"sectionHeader",vueType:"SectionHeader",title:r.value,intro:((H=i.value.intro)==null?void 0:H.value)||"",theme:i.value.theme||t.theme,blockIndex:0,cascadeColor:"white",leadAlignment:"right-compact"}},null,8,["block"]),J("div",{class:ot(`theme--${((re=(F=(O=i.value.theme)==null?void 0:O.value)==null?void 0:F[0])==null?void 0:re.name)||"beige"}`),"data-nav-color":_e(n).getNavColorValue(((z=(P=(N=i.value.theme)==null?void 0:N.value)==null?void 0:P[0])==null?void 0:z.name)||"beige")},[J("div",C5,[J("div",x5,[i.value.eyebrow?(ue(),me("h2",P5,ze((Q=i.value.eyebrow)==null?void 0:Q.value),1)):bt("",!0),J("div",I5,[je(Cc,{html:(B=i.value.body)==null?void 0:B.value,"in-column":!0},null,8,["html"])])])])],10,R5),(ie=(G=_e(u))==null?void 0:G.components)!=null&&ie.length?(ue(!0),me(Qe,{key:0},ut(_e(u).components,ae=>(ue(),tn(Il(ae.vueType),{key:ae.blockIndex,data:ae,class:"page-component"},null,8,["data"]))),128)):bt("",!0)],10,k5)):(ue(),me("div",L5,[J("div",O5,[je(y)])]))])}}};typeof Jy=="function"&&Jy(dA);const $m=_t(dA,[["__scopeId","data-v-a7b11008"]]),M5=Object.freeze(Object.defineProperty({__proto__:null,default:$m},Symbol.toStringTag,{value:"Module"})),F5={class:"ButtonIcon-icon ButtonIcon-icon--static"},D5={class:"ButtonIcon-clip"},N5={class:"ButtonIcon-clip"},$5={class:"sr-only"},H5={class:"ButtonIcon-icon ButtonIcon-icon--static"},B5={class:"ButtonIcon-clip"},V5={class:"ButtonIcon-clip"},U5={class:"sr-only"},j5={__name:"ButtonIcon",props:{label:{type:String,required:!0,default:"",description:"Accessible label for screen readers"},theme:{type:String,default:"black"},to:{type:String},rel:{type:String},download:{type:String},buttonType:{type:String},variant:{type:String,default:"default"},manualHover:{type:Boolean,default:!1},notButton:{type:Boolean,default:!1}},emits:["click"],setup(t,{emit:e}){const n=t,r=e,{gsap:i}=gn();let s=null;const o=j(null),a=j(null),u=j(null);let c=!1;Ve(()=>n.manualHover,()=>{n.manualHover?(d(),c=!0):(c=!1,l())});function d(){c||(s==null||s.kill(),s=i.timeline(),s.set(o.value,{y:"100%"},0),s.to(o.value,{duration:.45,ease:"sine.inOut",y:0},0),s.set(a.value,{y:0},0),s.to(a.value,{duration:.45,y:"-100%",ease:"sine.out"},0),s.set(u.value,{y:"100%"},0),s.to(u.value,{delay:.1,duration:.5,stagger:.05,y:0,ease:"sine.out"},0))}function l(){c||(s==null||s.kill(),s=i.timeline(),s.to(o.value,{duration:.45,ease:"sine.inOut",y:"-100%"}),s.set(a.value,{y:"100%"},0),s.to(a.value,{delay:.1,duration:.45,y:0,ease:"sine.out"},0),s.set(u.value,{y:0},0),s.to(u.value,{duration:.5,y:"-100%",ease:"sine.out"},0))}function f(S){r("click",S)}function h(){lt.touchScreen||d()}function g(){lt.touchScreen||l()}function p(S){return String(S).trim()}const b=Ie(()=>!n.to||n.buttonType),y=Ie(()=>p(n.label));return kt(()=>{i.set([o.value,u.value],{y:"-100%"})}),(S,E)=>{const T=Iw;return b.value?(ue(),tn(Il(t.notButton?"span":"button"),{key:0,class:ot(["ButtonIconWrapper",`ButtonIconWrapper--${t.variant}`]),type:n.buttonType,"data-is-hover":t.manualHover,onClick:f,onMouseenter:h,onMouseleave:g},{default:$i(()=>[J("span",{class:ot(["ButtonIcon",[`ButtonIcon--${t.variant}`]])},[J("span",F5,[$s(S.$slots,"default",{},void 0,!0)])],2),J("span",{class:ot(["ButtonIcon ButtonIcon-icon ButtonIcon-icon--animated",[`ButtonIcon--${n.theme}`,`ButtonIcon--${t.variant}`]])},[J("span",D5,[J("span",{ref_key:"iconRef",ref:a,class:"ButtonIcon-anim"},[$s(S.$slots,"default",{},void 0,!0)],512)])],2),J("span",{ref_key:"hoverBgRef",ref:o,class:ot(["ButtonIcon-hover-bg",[`ButtonIcon--${n.theme}-hover`,`ButtonIcon--${t.variant}`]])},null,2),J("span",{class:ot(["ButtonIcon-icon ButtonIcon-icon--hover",[`ButtonIcon--${n.theme}-hover-icon`,`ButtonIcon--${t.variant}`]])},[J("span",N5,[J("span",{ref_key:"hoverIconRef",ref:u,class:"ButtonIcon-anim"},[$s(S.$slots,"default",{},void 0,!0)],512)])],2),J("span",$5,ze(y.value),1)]),_:3},40,["class","type","data-is-hover"])):(ue(),tn(T,{key:1,class:ot(["ButtonIconWrapper",`ButtonIconWrapper--${t.variant}`]),to:n.to,download:n.download,rel:n.rel,"data-is-hover":t.manualHover},{default:$i(()=>[J("span",{class:ot(["ButtonIcon",[`ButtonIcon--${t.variant}`]])},[J("span",H5,[$s(S.$slots,"default",{},void 0,!0)])],2),J("span",{class:ot(["ButtonIcon ButtonIcon-icon ButtonIcon-icon--animated",[`ButtonIcon--${n.theme}`,`ButtonIcon--${t.variant}`]])},[J("span",B5,[J("span",{ref_key:"iconRef",ref:a,class:"ButtonIcon-anim"},[$s(S.$slots,"default",{},void 0,!0)],512)])],2),J("span",{ref_key:"hoverBgRef",ref:o,class:ot(["ButtonIcon-hover-bg",[`ButtonIcon--${n.theme}-hover`,`ButtonIcon--${t.variant}`]])},null,2),J("span",{class:ot(["ButtonIcon-icon ButtonIcon-icon--hover",[`ButtonIcon--${n.theme}-hover-icon`,`ButtonIcon--${t.variant}`]])},[J("span",V5,[J("span",{ref_key:"hoverIconRef",ref:u,class:"ButtonIcon-anim"},[$s(S.$slots,"default",{},void 0,!0)],512)])],2),J("span",U5,ze(y.value),1)]),_:3},8,["class","to","download","rel","data-is-hover"]))}}},o_=_t(j5,[["__scopeId","data-v-d7d7ae78"]]),W5={fill:"none",viewBox:"0 0 41 40",xmlns:"http://www.w3.org/2000/svg"};function z5(t,e){return ue(),me("svg",W5,[...e[0]||(e[0]=[J("path",{d:"m19.1638 23.7501c.3334-.3333.7667-.5 1.2-.5.4334 0 .8667.1667 1.2.5l9.5 9.5 2.5667-2.5666-9.5-9.5c-.3333-.3334-.5-.7334-.5-1.2 0-.4667.1667-.8667.5-1.2l9.5-9.50004-2.5667-2.56666-9.5 9.5c-.6666.6667-1.7333.6667-2.4 0l-9.49997-9.5-2.56666 2.56666 9.50003 9.50004c.3333.3333.5.7333.5 1.2 0 .4666-.1667.8666-.5 1.2l-9.50003 9.5333 2.56666 2.5667 9.49997-9.5z",fill:"currentColor"},null,-1)])])}const G5={render:z5},Oi=(t,e=0,n=1)=>t<e?e:t>n?n:t,We=(t,e,n,r=0,i=1,s=!0)=>{const o=(t-e)/(n-e);return s?Oi(o,r,i):o},Gn=(t,e,n)=>e+t*(n-e),bi={};bi.subscribe=function(t,e,n=-1,r=void 0){return this.on(t,e,n),r!==void 0&&e(r),()=>{this.off(t,e)}};bi.on=function(t,e,n=-1){typeof e=="function"&&(this._emitCallbacks=this._emitCallbacks||{},this._emitCallbacks[t]=this._emitCallbacks[t]||[],e._callback_order=n===-1?1e6:n,this._emitCallbacks[t].unshift(e),n>-1&&this._emitCallbacks[t].sort((r,i)=>i._callback_order-r._callback_order))};bi.off=function(t,e){if(this._emitCallbacks&&(!t&&!e&&(this._emitCallbacks=null),t&&!e&&(this._emitCallbacks[t]=null),t&&e&&this._emitCallbacks[t])){const n=this._emitCallbacks[t].indexOf(e);n>-1&&this._emitCallbacks[t].splice(n,1)}};bi.emit=function(t,e){var r;if(!(this._emitCallbacks&&this._emitCallbacks[t]))return;const n=this._emitCallbacks[t];for(let i=n.length-1;i>-1;i--)(r=n[i])==null||r.call(n,e)};bi.set=function(t,e,n=null){this.setEmit(t,e,n)};bi.setEmit=function(t,e,n=null){this[t]!==e&&(this[t]=e,n=n||t,this.emit(n,e))};bi.removeEventListener=bi.off;bi.addEventListener=bi.on;bi.trigger=bi.emit;const a_={},_l=function(t){return typeof t=="function"},q5=function(t,e,n,r){const i=_l(t.on)?"on":null,s=_l(t.$on)?"$on":null,o=_l(t.addEventListener)?"addEventListener":null;t[i||s||o](e,n,r)},tl=function(t,e,n){const r=_l(t.off)?"off":null,i=_l(t.$off)?"$off":null,s=_l(t.addEventListener)?"removeEventListener":null;t[r||i||s](e,n)};a_.listen=function(t,e,n,r){this._emitters=this._emitters||new Map,this._emitters.has(t)||this._emitters.set(t,new Set);let i=!1;this._emitters.get(t).forEach(s=>{s.eventKey===e&&s.callback===n&&(i=!0)}),i||(tl(t,e,n),q5(t,e,n,r),this._emitters.get(t).add({eventKey:e,callback:n}))};a_.unlisten=function(t,e,n){if(this._emitters){if(!t)this._emitters.forEach((r,i)=>{r.forEach(s=>{tl(i,s.eventKey,s.callback)})}),this._emitters.clear();else if(t&&e&&n){const r=this._emitters.get(t);r&&r.forEach(i=>{i.eventKey===e&&i.callback===n&&(tl(t,i.eventKey,i.callback),r.delete(i))})}else if(t&&e&&Array.isArray(e)){const r=this._emitters.get(t),i=e;r&&r.forEach(s=>{i.includes(s.eventKey)&&(tl(t,s.eventKey,s.callback),r.delete(s))})}else if(t&&e){const r=this._emitters.get(t);r&&r.forEach(i=>{i.eventKey===e&&(tl(t,i.eventKey,i.callback),r.delete(i))})}else if(t){const r=this._emitters.get(t);r&&(r.forEach(i=>{tl(t,i.eventKey,i.callback),r.delete(i)}),this._emitters.delete(t))}}};const Y5=Number.parseInt(Mc.desktop,10),K5=Number.parseInt(Mc.mobile,10),Yf=Number.parseInt(Mc["tablet-portrait"],10),Hm=Number.parseInt(Mc["tablet-landscape"],10),Wu=Number.parseInt(Mc.desktop,10),fu={RESIZE:"resize",POLL_RESIZE:"poll_resize",BODY_HEIGHT_CHANGE:"body_height_change"},X5="mobile",Q5="tablet",J5="tablet-portrait",Z5="tablet-landscape",eF="desktop",Zy="breakpoint-tablet-portrait",e1="breakpoint-tablet-landscape",t1="breakpoint-mobile",n1="breakpoint-tablet",Bm="breakpoint-desktop",tF={alwaysEmitResize:!1,scale:1,baseFontSize:1,pollResizeSeconds:2,breakpoints:{[t1]:{name:t1,maxWidth:Yf},[n1]:{name:n1,maxWidth:Wu},[Zy]:{name:Zy,maxWidth:Hm},[e1]:{name:e1,maxWidth:Wu},[Bm]:{name:Bm,maxWidth:2e4}},deviceTypes:{[X5]:{portrait:{designSize:{width:K5,height:667}},landscape:{designSize:{width:667,height:375}}},[J5]:{designSize:{width:768,height:1024}},[Z5]:{designSize:{width:1024,height:768}},[Q5]:{designSize:{width:1024,height:900}},[eF]:{designSize:{width:Y5,height:900}}}},Af=()=>lt.hasWindow&<.hasDocument;class nF{constructor(e){Oe(this,"cssVar",{lvh:600,svh:600,dvh:600,lch:0,dch:0});Oe(this,"subscribeBodyHeight",(e,n=!0,r=-1)=>this.subscribe(this.EVENTS.BODY_HEIGHT_CHANGE,e,r,n?this.current:null));Oe(this,"subscribeResize",(e,n=!0,r=-1,i=!1)=>{const s=this.subscribe(this.EVENTS.RESIZE,e,r,n?this.current:null);if(i){const o=this.subscribe(this.EVENTS.POLL_RESIZE,e,!1,r);return()=>{s(),o()}}else return s});Oe(this,"triggerResize",()=>{this._resize(!0)});Oe(this,"_pollResize",()=>{this.emit(fu.POLL_RESIZE,this.current)});Oe(this,"onFrame",()=>{var e,n;this._resize(),this.rafRef=(n=(e=lt.window).requestAnimationFrame)==null?void 0:n.call(e,this.onFrame)});Oe(this,"_bodyChange",()=>{this.emit(fu.BODY_HEIGHT_CHANGE,this.current)});Oe(this,"_resize",(e=!1,n=!1)=>{const r=this.ww,i=this.wh,s=r!==this.width||i!==this.height||e,o=s||this.config.alwaysEmitResize||e;this.width=r,this.height=i,s&&(this._updateBreakpointClass(),this._updateCSSVars(),this._updateOrientationClass()),o&&this.emit(fu.RESIZE,this.current),o&&!n&&(clearTimeout(this.resizeDelayedTimeout),this.resizeDelayedTimeout=setTimeout(this._resize(!0,!0),500))});Oe(this,"_updateBreakpointClass",()=>{const e=this.breakpoint,n=this.config.breakpoints;for(const r in n)this.html.classList[r===e?"add":"remove"](r)});Oe(this,"_updateOrientationClass",()=>{this.html.classList.toggle("landscape",this.landscape),this.html.classList.toggle("portrait",!this.landscape)});Oe(this,"_updateCSSVars",()=>{this.isDesktop?(this.dvh=this.wh,this.svh=this.wh,this.lvh=this.wh,this.lch=0,this.dch=0):(this._makeVHRuler(),this.dvh=this.wh,this.lvh=this.lvh_ruler.clientHeight,this.svh=this.svh_ruler.clientHeight,this.lch=this.lvh-this.svh,this.dch=this.lvh-this.dvh)});Oe(this,"_makeVHRuler",()=>{if(lt.isSSR||!lt.hasDocument||this.lvh_ruler)return;const e=document.createElement("div");e.style="width:1px; height:1px; position:fixed; overflow:hidden;",document.body.appendChild(e),this.lvh_ruler=document.createElement("div"),this.lvh_ruler.style="width:1; height:100lvh; position:absolute;",e.appendChild(this.lvh_ruler),this.svh_ruler=document.createElement("div"),this.svh_ruler.style="width:1; height:100svh; position:absolute;",e.appendChild(this.svh_ruler)});var i,s,o,a,u,c;if(Object.assign(this,bi),Object.assign(this,a_),!Af())return;this.config=Object.assign({},tF,e),this.html=Af()?document.querySelector("html"):{};const n=Math.max(this.wh,this.ww);this.cssVar={lvh:n,svh:n,dvh:n,lch:0,dch:0},this._scale=1,this._resize(!0),(s=(i=lt.window).setTimeout)==null||s.call(i,()=>this._resize(!0),50),(a=(o=lt.window).setTimeout)==null||a.call(o,()=>this._resize(!0),500),this.pollInterval=(c=(u=lt.window).setInterval)==null?void 0:c.call(u,()=>this._pollResize(),this.config.pollResizeSeconds*1e3),this.onFrame();const r=new ResizeObserver(()=>this._bodyChange());Af()&&r.observe(document.body)}static get EVENTS(){return fu}get EVENTS(){return fu}destroy(){var e,n;(n=(e=lt.window).cancelAnimationFrame)==null||n.call(e,this.rafRef),this.unlisten()}setCSSVar(e,n){Af()&&(document.documentElement.style.setProperty(`--${e}`,`${n}px`),this.cssVar[e]=n)}get lvh(){return this.cssVar.lvh}set lvh(e){this.cssVar.lvh=e}get svh(){return this.cssVar.svh}set svh(e){this.setCSSVar("svh",e)}get dvh(){return this.cssVar.dvh}set dvh(e){this.setCSSVar("dvh",e)}get lch(){return this.cssVar.lch}set lch(e){this.setCSSVar("lch",e)}get dch(){return this.cssVar.dch}set dch(e){this.setCSSVar("dch",e)}get wh(){return lt.window.innerHeight}get ww(){return lt.window.innerWidth}get isPhoneBreakpoint(){return this.ww<=Yf}get isTabletBreakpoint(){return this.ww>Yf&&this.ww<=Wu}get isTabletPortraitBreakpoint(){return this.ww>Yf&&this.ww<=Hm}get isTabletLandscapeBreakpoint(){return this.ww>Hm&&this.ww<=Wu}get isDesktopBreakpoint(){return this.ww>Wu}get isPhone(){return lt.phone}get isMobile(){return lt.mobile}get isTablet(){return lt.tablet}get isDesktop(){return!lt.mobile&&!lt.tablet}get breakpoint(){var n;const e=((n=this.config)==null?void 0:n.breakpoints)||[];for(const r in e)if(this.width<=e[r].maxWidth)return r;return Bm}get landscape(){return this.ww>this.wh&&this.ww>600}get orientation(){return this.landscape?"landscape":"portrait"}get device(){return this.deviceType}get deviceType(){return this.isMobile?"mobile":this.isTablet?"tablet":"desktop"}get baseFontSize(){return this.config.baseFontSize}get current(){return{width:this.width,height:this.height,breakpoint:this.breakpoint,deviceType:this.deviceType,orientation:this.orientation}}}const et=new nF,hA=Ec("browser",()=>{const t=j(0),e=j(0),n=j(1),r=j(""),i=j(!1),s=j(!1),o=j(!1),a=j(""),u=j(""),c=j(0),d=j(!1),l=j(!1),f=j(!1),h=j(!1),g=j(!1),p=j(!1),b=function(){t.value=et.width,e.value=et.height,n.value=1,r.value=et.breakpoint,i.value=et.isPhoneBreakpoint,s.value=et.isTabletBreakpoint,o.value=et.isDesktopBreakpoint,a.value=et.deviceType,u.value=et.orientation,c.value=16,d.value=et.isMobile,l.value=et.isTablet,f.value=et.isDesktop,h.value=et.isTabletPortraitBreakpoint,g.value=et.isTabletLandscapeBreakpoint,t.value!==0&&(p.value=!0)};typeof window<"u"?setTimeout(()=>{b(),et.subscribeResize(b,!0,1)},0):(t.value=1920,e.value=1080,n.value=1,r.value="desktop",i.value=!1,s.value=!1,o.value=!0,a.value="desktop",u.value="landscape",c.value=16,d.value=!1,l.value=!1,f.value=!0,h.value=!1,g.value=!1,p.value=!0);const y=Ie(()=>i.value||h.value);return{ww:t,wh:e,scale:n,breakpoint:r,isPhoneBreakpoint:i,isTabletBreakpoint:s,isDesktopBreakpoint:o,deviceType:a,orientation:u,fontSize:c,isMobile:d,isTablet:l,isDesktop:f,isTabletPortrait:h,isTabletLandscape:g,storeReady:p,update:b,isMobileOrPortraitTablet:y}});var rF="1.1.20";function pA(t,e,n){return Math.max(t,Math.min(e,n))}function iF(t,e,n){return(1-n)*t+n*e}function sF(t,e,n,r){return iF(t,e,1-Math.exp(-n*r))}function oF(t,e){return(t%e+e)%e}var aF=class{constructor(){Oe(this,"isRunning",!1);Oe(this,"value",0);Oe(this,"from",0);Oe(this,"to",0);Oe(this,"currentTime",0);Oe(this,"lerp");Oe(this,"duration");Oe(this,"easing");Oe(this,"onUpdate")}advance(t){var n;if(!this.isRunning)return;let e=!1;if(this.duration&&this.easing){this.currentTime+=t;const r=pA(0,this.currentTime/this.duration,1);e=r>=1;const i=e?1:this.easing(r);this.value=this.from+(this.to-this.from)*i}else this.lerp?(this.value=sF(this.value,this.to,this.lerp*60,t),Math.round(this.value)===this.to&&(this.value=this.to,e=!0)):(this.value=this.to,e=!0);e&&this.stop(),(n=this.onUpdate)==null||n.call(this,this.value,e)}stop(){this.isRunning=!1}fromTo(t,e,{lerp:n,duration:r,easing:i,onStart:s,onUpdate:o}){this.from=this.value=t,this.to=e,this.lerp=n,this.duration=r,this.easing=i,this.currentTime=0,this.isRunning=!0,s==null||s(),this.onUpdate=o}};function lF(t,e){let n;return function(...r){let i=this;clearTimeout(n),n=setTimeout(()=>{n=void 0,t.apply(i,r)},e)}}var uF=class{constructor(t,e,{autoResize:n=!0,debounce:r=250}={}){Oe(this,"width",0);Oe(this,"height",0);Oe(this,"scrollHeight",0);Oe(this,"scrollWidth",0);Oe(this,"debouncedResize");Oe(this,"wrapperResizeObserver");Oe(this,"contentResizeObserver");Oe(this,"resize",()=>{this.onWrapperResize(),this.onContentResize()});Oe(this,"onWrapperResize",()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)});Oe(this,"onContentResize",()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)});this.wrapper=t,this.content=e,n&&(this.debouncedResize=lF(this.resize,r),this.wrapper instanceof 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(){var t,e;(t=this.wrapperResizeObserver)==null||t.disconnect(),(e=this.contentResizeObserver)==null||e.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize,!1)}get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},mA=class{constructor(){Oe(this,"events",{})}emit(t,...e){var r;let n=this.events[t]||[];for(let i=0,s=n.length;i<s;i++)(r=n[i])==null||r.call(n,...e)}on(t,e){var n;return(n=this.events[t])!=null&&n.push(e)||(this.events[t]=[e]),()=>{var r;this.events[t]=(r=this.events[t])==null?void 0:r.filter(i=>e!==i)}}off(t,e){var n;this.events[t]=(n=this.events[t])==null?void 0:n.filter(r=>e!==r)}destroy(){this.events={}}},r1=100/6,uo={passive:!1},cF=class{constructor(t,e={wheelMultiplier:1,touchMultiplier:1}){Oe(this,"touchStart",{x:0,y:0});Oe(this,"lastDelta",{x:0,y:0});Oe(this,"window",{width:0,height:0});Oe(this,"emitter",new mA);Oe(this,"onTouchStart",t=>{const{clientX:e,clientY:n}=t.targetTouches?t.targetTouches[0]:t;this.touchStart.x=e,this.touchStart.y=n,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:t})});Oe(this,"onTouchMove",t=>{const{clientX:e,clientY:n}=t.targetTouches?t.targetTouches[0]:t,r=-(e-this.touchStart.x)*this.options.touchMultiplier,i=-(n-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=e,this.touchStart.y=n,this.lastDelta={x:r,y:i},this.emitter.emit("scroll",{deltaX:r,deltaY:i,event:t})});Oe(this,"onTouchEnd",t=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:t})});Oe(this,"onWheel",t=>{let{deltaX:e,deltaY:n,deltaMode:r}=t;const i=r===1?r1:r===2?this.window.width:1,s=r===1?r1:r===2?this.window.height:1;e*=i,n*=s,e*=this.options.wheelMultiplier,n*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:e,deltaY:n,event:t})});Oe(this,"onWindowResize",()=>{this.window={width:window.innerWidth,height:window.innerHeight}});this.element=t,this.options=e,window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,uo),this.element.addEventListener("touchstart",this.onTouchStart,uo),this.element.addEventListener("touchmove",this.onTouchMove,uo),this.element.addEventListener("touchend",this.onTouchEnd,uo)}on(t,e){return this.emitter.on(t,e)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel,uo),this.element.removeEventListener("touchstart",this.onTouchStart,uo),this.element.removeEventListener("touchmove",this.onTouchMove,uo),this.element.removeEventListener("touchend",this.onTouchEnd,uo)}},fF=class{constructor({wrapper:t=window,content:e=document.documentElement,eventsTarget:n=t,smoothWheel:r=!0,syncTouch:i=!1,syncTouchLerp:s=.075,touchInertiaMultiplier:o=35,duration:a,easing:u=M=>Math.min(1,1.001-Math.pow(2,-10*M)),lerp:c=.1,infinite:d=!1,orientation:l="vertical",gestureOrientation:f="vertical",touchMultiplier:h=1,wheelMultiplier:g=1,autoResize:p=!0,prevent:b,virtualScroll:y,overscroll:S=!0,autoRaf:E=!1,anchors:T=!1,__experimental__naiveDimensions:k=!1}={}){Oe(this,"_isScrolling",!1);Oe(this,"_isStopped",!1);Oe(this,"_isLocked",!1);Oe(this,"_preventNextNativeScrollEvent",!1);Oe(this,"_resetVelocityTimeout",null);Oe(this,"__rafID",null);Oe(this,"isTouching");Oe(this,"time",0);Oe(this,"userData",{});Oe(this,"lastVelocity",0);Oe(this,"velocity",0);Oe(this,"direction",0);Oe(this,"options");Oe(this,"targetScroll");Oe(this,"animatedScroll");Oe(this,"animate",new aF);Oe(this,"emitter",new mA);Oe(this,"dimensions");Oe(this,"virtualScroll");Oe(this,"onScrollEnd",t=>{t instanceof CustomEvent||(this.isScrolling==="smooth"||this.isScrolling===!1)&&t.stopPropagation()});Oe(this,"dispatchScrollendEvent",()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))});Oe(this,"onClick",t=>{const n=t.composedPath().find(r=>{var i;return r instanceof HTMLAnchorElement&&((i=r.getAttribute("href"))==null?void 0:i.startsWith("#"))});if(n){const r=n.getAttribute("href");if(r){const i=typeof this.options.anchors=="object"&&this.options.anchors?this.options.anchors:void 0;this.scrollTo(r,i)}}});Oe(this,"onPointerDown",t=>{t.button===1&&this.reset()});Oe(this,"onVirtualScroll",t=>{if(typeof this.options.virtualScroll=="function"&&this.options.virtualScroll(t)===!1)return;const{deltaX:e,deltaY:n,event:r}=t;if(this.emitter.emit("virtual-scroll",{deltaX:e,deltaY:n,event:r}),r.ctrlKey||r.lenisStopPropagation)return;const i=r.type.includes("touch"),s=r.type.includes("wheel");this.isTouching=r.type==="touchstart"||r.type==="touchmove";const o=e===0&&n===0;if(this.options.syncTouch&&i&&r.type==="touchstart"&&o&&!this.isStopped&&!this.isLocked){this.reset();return}const u=this.options.gestureOrientation==="vertical"&&n===0||this.options.gestureOrientation==="horizontal"&&e===0;if(o||u)return;let c=r.composedPath();c=c.slice(0,c.indexOf(this.rootElement));const d=this.options.prevent;if(c.find(b=>{var y,S,E;return b instanceof HTMLElement&&(typeof d=="function"&&(d==null?void 0:d(b))||((y=b.hasAttribute)==null?void 0:y.call(b,"data-lenis-prevent"))||i&&((S=b.hasAttribute)==null?void 0:S.call(b,"data-lenis-prevent-touch"))||s&&((E=b.hasAttribute)==null?void 0:E.call(b,"data-lenis-prevent-wheel")))}))return;if(this.isStopped||this.isLocked){r.preventDefault();return}if(!(this.options.syncTouch&&i||this.options.smoothWheel&&s)){this.isScrolling="native",this.animate.stop(),r.lenisStopPropagation=!0;return}let f=n;this.options.gestureOrientation==="both"?f=Math.abs(n)>Math.abs(e)?n:e:this.options.gestureOrientation==="horizontal"&&(f=e),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&(this.animatedScroll>0&&this.animatedScroll<this.limit||this.animatedScroll===0&&n>0||this.animatedScroll===this.limit&&n<0))&&(r.lenisStopPropagation=!0),r.preventDefault();const h=i&&this.options.syncTouch,p=i&&r.type==="touchend"&&Math.abs(f)>5;p&&(f=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+f,{programmatic:!1,...h?{lerp:p?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})});Oe(this,"onNativeScroll",()=>{if(this._resetVelocityTimeout!==null&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(this.isScrolling===!1||this.isScrolling==="native"){const t=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-t,this.direction=Math.sign(this.animatedScroll-t),this.isStopped||(this.isScrolling="native"),this.emit(),this.velocity!==0&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}});Oe(this,"raf",t=>{const e=t-(this.time||t);this.time=t,this.animate.advance(e*.001),this.options.autoRaf&&(this.__rafID=requestAnimationFrame(this.raf))});window.lenisVersion=rF,(!t||t===document.documentElement)&&(t=window),this.options={wrapper:t,content:e,eventsTarget:n,smoothWheel:r,syncTouch:i,syncTouchLerp:s,touchInertiaMultiplier:o,duration:a,easing:u,lerp:c,infinite:d,gestureOrientation:f,orientation:l,touchMultiplier:h,wheelMultiplier:g,autoResize:p,prevent:b,virtualScroll:y,overscroll:S,autoRaf:E,anchors:T,__experimental__naiveDimensions:k},this.dimensions=new uF(t,e,{autoResize:p}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.anchors&&this.options.wrapper===window&&this.options.wrapper.addEventListener("click",this.onClick,!1),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown,!1),this.virtualScroll=new cF(n,{touchMultiplier:h,wheelMultiplier:g}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoRaf&&(this.__rafID=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown,!1),this.options.anchors&&this.options.wrapper===window&&this.options.wrapper.removeEventListener("click",this.onClick,!1),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this.__rafID&&cancelAnimationFrame(this.__rafID)}on(t,e){return this.emitter.on(t,e)}off(t,e){return this.emitter.off(t,e)}setScroll(t){this.isHorizontal?this.options.wrapper.scrollTo({left:t,behavior:"instant"}):this.options.wrapper.scrollTo({top:t,behavior:"instant"})}resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit()}emit(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){this.isStopped&&(this.reset(),this.isStopped=!1)}stop(){this.isStopped||(this.reset(),this.isStopped=!0)}scrollTo(t,{offset:e=0,immediate:n=!1,lock:r=!1,duration:i=this.options.duration,easing:s=this.options.easing,lerp:o=this.options.lerp,onStart:a,onComplete:u,force:c=!1,programmatic:d=!0,userData:l}={}){if(!((this.isStopped||this.isLocked)&&!c)){if(typeof t=="string"&&["top","left","start"].includes(t))t=0;else if(typeof t=="string"&&["bottom","right","end"].includes(t))t=this.limit;else{let f;if(typeof t=="string"?f=document.querySelector(t):t instanceof HTMLElement&&(t!=null&&t.nodeType)&&(f=t),f){if(this.options.wrapper!==window){const g=this.rootElement.getBoundingClientRect();e-=this.isHorizontal?g.left:g.top}const h=f.getBoundingClientRect();t=(this.isHorizontal?h.left:h.top)+this.animatedScroll}}if(typeof t=="number"){if(t+=e,t=Math.round(t),this.options.infinite?d&&(this.targetScroll=this.animatedScroll=this.scroll):t=pA(0,t,this.limit),t===this.targetScroll){a==null||a(this),u==null||u(this);return}if(this.userData=l??{},n){this.animatedScroll=this.targetScroll=t,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),u==null||u(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}d||(this.targetScroll=t),this.animate.fromTo(this.animatedScroll,t,{duration:i,easing:s,lerp:o,onStart:()=>{r&&(this.isLocked=!0),this.isScrolling="smooth",a==null||a(this)},onUpdate:(f,h)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=f-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=f,this.setScroll(this.scroll),d&&(this.targetScroll=f),h||this.emit(),h&&(this.reset(),this.emit(),u==null||u(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}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(){const t=this.options.wrapper;return this.isHorizontal?t.scrollX??t.scrollLeft:t.scrollY??t.scrollTop}get scroll(){return this.options.infinite?oF(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return this.limit===0?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(t){this._isScrolling!==t&&(this._isScrolling=t,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(t){this._isStopped!==t&&(this._isStopped=t,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(t){this._isLocked!==t&&(this._isLocked=t,this.updateClassName())}get isSmooth(){return this.isScrolling==="smooth"}get className(){let t="lenis";return this.isStopped&&(t+=" lenis-stopped"),this.isLocked&&(t+=" lenis-locked"),this.isScrolling&&(t+=" lenis-scrolling"),this.isScrolling==="smooth"&&(t+=" lenis-smooth"),t}updateClassName(){this.cleanUpClassName(),this.rootElement.className=`${this.rootElement.className} ${this.className}`.trim()}cleanUpClassName(){this.rootElement.className=this.rootElement.className.replace(/lenis(-\w+)?/g,"").trim()}};const dF={mouseWheelDuration:.8,touchDragDuration:.2,touchSwipeMaxDuration:10,touchSwipeDurationFactor:.5,touchSwipeVelocityFactor:1.5,touchSwipeDecayFactor:.95};function hF(t,e=dF){t.mobileConfig=e,t.virtualScroll.emitter.off("scroll",t.onVirtualScroll),t.virtualScroll.on("scroll",n=>{pF(n,t)})}function pF(t,e){var H,O;const n=(O=(H=t.event)==null?void 0:H.type)==null?void 0:O.includes("wheel");if(e.options.infinite&&n){const F=t.deltaY<=0,N=t.deltaY+e.targetScroll<=0;if(F&&N){t.deltaY=0,t.event.lenisStopPropagation=!0,e.scrollTo(0,{programmatic:!0,lerp:e.options.lerp,duration:e.options.duration,easing:e.options.easing});return}}if(typeof e.options.virtualScroll=="function"&&e.options.virtualScroll(t)===!1)return;const{deltaX:r,deltaY:i,event:s}=t;if(e.emitter.emit("virtual-scroll",{deltaX:r,deltaY:i,event:s}),s.ctrlKey||s.lenisStopPropagation)return;const o=s.type.includes("touch"),a=s.type.includes("wheel");e.isTouching=s.type==="touchstart"||s.type==="touchmove";const u=r===0&&i===0;if(e.options.syncTouch&&o&&s.type==="touchstart"&&u&&!e.isStopped&&!e.isLocked){e.reset();return}const d=e.options.gestureOrientation==="vertical"&&i===0||e.options.gestureOrientation==="horizontal"&&r===0;if(u||d)return;let l=s.composedPath();l=l.slice(0,l.indexOf(e.rootElement));const f=e.options.prevent;if(l.find(F=>{var re,N,P;return F instanceof HTMLElement&&(typeof f=="function"&&(f==null?void 0:f(F))||((re=F.hasAttribute)==null?void 0:re.call(F,"data-lenis-prevent"))||o&&((N=F.hasAttribute)==null?void 0:N.call(F,"data-lenis-prevent-touch"))||a&&((P=F.hasAttribute)==null?void 0:P.call(F,"data-lenis-prevent-wheel")))}))return;if(e.isStopped||e.isLocked){s.preventDefault();return}if(!(e.options.syncTouch&&o||e.options.smoothWheel&&a)){e.isScrolling="native",e.animate.stop(),s.lenisStopPropagation=!0;return}let g=i;e.options.gestureOrientation==="both"?g=Math.abs(i)>Math.abs(r)?i:r:e.options.gestureOrientation==="horizontal"&&(g=r),(!e.options.overscroll||e.options.infinite||e.options.wrapper!==window&&(e.animatedScroll>0&&e.animatedScroll<e.limit||e.animatedScroll===0&&i>0||e.animatedScroll===e.limit&&i<0))&&(s.lenisStopPropagation=!0),s.preventDefault();const p=o&&e.options.syncTouch,y=o&&s.type==="touchend"&&Math.abs(g)>5,{mouseWheelDuration:S,touchDragDuration:E,touchSwipeMaxDuration:T,touchSwipeDurationFactor:k,touchSwipeVelocityFactor:M,touchSwipeDecayFactor:$}=e.mobileConfig;if(y){const F=Math.abs(e.velocity),re=e.velocity>0?1:-1,N=Math.min(E+Math.log(1+F*k),T);e.options.duration=N;const P=N*1e3/(1e3/60),z=(1-$**P)/(1-$)*M*F;g=re*z}else p?e.options.duration=E:e.options.duration=S;e.scrollTo(e.targetScroll+g,{programmatic:!1,...p?{lerp:y?e.options.syncTouchLerp:1}:{lerp:e.options.lerp,duration:e.options.duration,easing:e.options.easing}})}const ch=Ec("transition",()=>{const t=j(!1),e=j(!1),n=j(!1),r=j(ya.PENDING_TRANSITION),i=j(ya.PENDING_TRANSITION),s=j(0),o=j(!1);return{routeFrom:t,routeTo:e,skipTransition:n,transitionState:r,transitionCancelled:o,setRoute:function(f){t.value=e.value,e.value=f.path},setSkipTransition:function(f){n.value=f},setTransitionState:function(f){r.value=f},setTransitionCancelled:function(f){o.value=f},transitionVisibleState:i,setTransitionVisibleState:function(f){i.value=f},transitionEnterProgress:s}}),{ScrollTrigger:Ef,gsap:mF}=gn();function gF(t){return t===1?1:1.001-2**(-10*t)}const Sn=Ec("scroll",()=>{const t=Ll(),e=ch(),n=wi(),{transitionState:r,transitionVisibleState:i}=vw(e);let s=-1,o={top:0};const a=ba(null),u=j(0),c=j(-.001),d=j(-.001),l=j(-.001),f=j(0),h=j(0),g=j(0),p=j(!1),b=j(!1),y=j(!1),S=j(!1);function E(){const Q=o.top||0,B=o.hash||void 0,G=lt.isSSR&&!lt.hasDocument?null:document.querySelector(B||"#-----------------"),ie=G?G.getBoundingClientRect().top+window.scrollY:Q;a.value&&a.value.scrollTo(ie,{immediate:!0,force:!0}),!a.value&&window.scrollTo({top:ie,behavior:"instant"},!1),P()}t.options.scrollBehavior=(Q,B,G)=>{const ie=["/"].includes(Q.path),ae={TOP:{top:0},SAVED_POSITION:{top:G==null?void 0:G.top},HASH:{hash:Q==null?void 0:Q.hash}};let X=Q!=null&&Q.hash?ae.HASH:ae.TOP;return X=G?ae.SAVED_POSITION:X,X=ie?ae.TOP:X,o=X,{top:lt.isSSR?0:window.scrollY}},Ve(r,Q=>{var G;const B={[ya.LEAVE]:()=>k(!0),[ya.ENTER]:()=>{k(!0),setTimeout(E,20)},[ya.AFTER_ENTER]:()=>{k(!1)}};(G=B[Q])==null||G.call(B)},{immediate:!0}),Ve(()=>n.modalShowing,Q=>{$(Q)},{immediate:!0});const T=Ie(()=>p.value||b.value||y.value);function k(Q){p.value=Q}function M(Q){b.value=Q}function $(Q){y.value=Q}function H(Q){S.value=Q}wc(()=>{a.value&&(T.value?a.value.stop():a.value.start(),T.value||P())});function O(Q){a.value.raf(Q),Mt(()=>{d.value=a.value.scroll.toFixed(3)}),s=requestAnimationFrame(O)}function F(){var Q,B;(Q=a.value)==null||Q.destroy(),a.value=new fF({duration:.8,easing:gF,syncTouch:!0}),hF(a.value),O(),(B=a.value)==null||B.on("scroll",()=>re()),re()}function re(){a.value&&(u.value=a.value.velocity||0,c.value=a.value.actualScroll||0,h.value=a.value.targetScroll||0,f.value=a.value.progress||0,g.value=a.value.direction||0,Ef.update(),window.scrollProgress=f.value,Mt(()=>{l.value=a.value.actualScroll||0}))}function N(Q,B){var G;(G=a.value)==null||G.scrollTo(Q,B)}function P(Q){lt.isSSR||(mF.ticker.lagSmoothing(0),Ef==null||Ef.refresh())}function z(){var Q;cancelAnimationFrame(s.value),(Q=a.value)==null||Q.destroy(),a.value=null}return{initLenis:F,lenis:a,scrollLock:T,setScrollLockTransition:k,setScrollLockModal:$,setScrollLockLoader:M,scrollVelocity:u,scrollCurrent:c,scrollSubPixel:d,scrollCurrentAfter:l,scrollProgress:f,scrollTarget:h,scrollDirection:g,refreshScroller:P,scrollTo:N,setScrollBarDragging:H,scrollBarDragging:S,cleanup:z}}),_F=["data-theme-color"],vF=["data-theme-color"],yF=["data-theme-color"],bF=["data-large"],wF=["data-nav-color"],SF=["data-large"],TF={key:1,class:"modal-404"},AF={__name:"ContentModal",props:{uniqueId:{type:String,required:!0},theme:{name:"theme",type:Object,default:()=>({name:"theme",type:"multiple_choice",value:[{name:"yellow",codename:"yellow"}]})},isLarge:{type:Boolean,required:!1,default:!0},overlayTheme:{name:"overlaytheme",type:Object,default:()=>({name:"theme",type:"multiple_choice",value:[{name:"yellow",codename:"yellow"}]})},slug:{type:String,required:!1,default:null},filter:{type:String,required:!1,default:null}},setup(t){const e=t,n=wi(),r=gr(),i=hA();Sn();const{gsap:s}=gn(),o=Ll();Ol();const a=ba(null),u=j(!1),c=j({}),d=j(null),l=j(null),f=j(null),h=j(null),g=j(null),p=j(null),b=j(null),y=j(null);async function S(H){var re;if(u.value=!1,a.value=null,!H)return;const O=o.resolve(H);if(!O.matched.length||!((re=O.matched[O.matched.length-1].components)!=null&&re.default)){u.value=!0;return}let F=O.matched[O.matched.length-1].components.default;typeof F=="function"&&(F=(await F()).default||await F()),a.value=F,c.value={slug:e.slug,filter:e.filter}}function E(){n.setModalState(mi.NONE)}let T=null,k=null;function M(){T==null||T.kill(),k==null||k.kill(),T=s.timeline({}),T.set([p.value,g.value,f.value,l.value,h.value],{autoAlpha:1},">"),T.to(l.value,{autoAlpha:1,duration:.6},0),T.to(p.value,{scaleX:1,duration:.6,ease:"power2.inOut"},0),T.to(h.value,{scale:1,duration:.25,ease:"power2.inOut"},">-0.1"),T.to(g.value,{translateX:"0%",duration:.6,ease:"power2.inOut"},0),T.to(b.value,{translateX:"0%",duration:.6,ease:"power2.inOut"},0),y.value&&(y.value.scrollTop=0)}function $(H=!1){T==null||T.kill(),k==null||k.kill(),k=s.timeline({}),k.to(l.value,{autoAlpha:0,duration:H?0:.4},0),k.to(h.value,{scale:.01,duration:H?0:.18,ease:"power2.inOut"},0),k.set([h.value],{autoAlpha:0},">"),k.to(g.value,{autoAlpha:0,ease:"linear",duration:H?0:.2},0),k.to(g.value,{translateX:"100%",ease:"power2.inOut",duration:H?0:.25},.1),k.to(b.value,{translateX:"-100%",ease:"power2.inOut",duration:H?0:.25},.1),k.to(p.value,{scaleX:.01,ease:"power2.inOut",duration:H?0:.25},.1),k.set([p.value,g.value,f.value],{autoAlpha:0},">")}return Ve(()=>n.modalState,H=>{H===mi.CONTENT+e.uniqueId?M():$(!1)}),Ve(()=>e.slug,S),kt(async()=>{$(!0),e.slug&&await S(e.slug)}),(H,O)=>{const F=G5,re=o_;return ue(),tn(NR,{to:"body"},[J("div",{ref_key:"rootRef",ref:d,class:"ContentModal"},[J("div",{ref_key:"bgWrapperRef",ref:l,class:"ContentModal-bgWrapper",onClick:E},[J("div",{class:"ContentModal-bg ContentModal-bg--first","data-theme-color":_e(r).getThemeValue(t.overlayTheme)},null,8,_F),J("div",{class:"ContentModal-bg ContentModal-bg--second","data-theme-color":_e(r).getThemeValue(t.overlayTheme)},null,8,vF),J("div",{class:"ContentModal-bg ContentModal-bg--third","data-theme-color":_e(r).getThemeValue(t.overlayTheme)},null,8,yF)],512),J("div",{ref_key:"blockRef",ref:f,class:"ContentModal-block","data-large":t.isLarge},[J("div",{ref_key:"contentBgRef",ref:p,class:ot(["ContentModal-contentbackground",`theme--${_e(r).getThemeValue(t.theme)}`]),"data-nav-color":_e(r).getNavColorValue(_e(r).getThemeValue(t.theme))},null,10,wF),J("div",{ref_key:"closeRef",ref:h,class:"ContentModal-closeButton"},[je(re,{label:"Close",theme:_e(i).isMobileOrPortraitTablet?"yellow-alt":"yellow",onClick:E},{default:$i(()=>[je(F)]),_:1},8,["theme"])],512),J("div",{ref_key:"contentRef",ref:g,class:"ContentModal-content"},[J("div",{ref_key:"inverseRef",ref:b,class:"ContentModal-inverse"},[J("div",{ref_key:"scrollRef",ref:y,class:"ContentModal-scroll","data-lenis-prevent":""},[J("div",{class:"ContentModal-container","data-large":t.isLarge},[t.slug&&a.value?(ue(),me(Qe,{key:0},[a.value?(ue(),tn(Il(a.value),rw({key:0},_e(c),{slug:_e(c).slug,filter:_e(c).filter,theme:t.theme,"is-modal-route":!0}),null,16,["slug","filter","theme"])):bt("",!0)],64)):t.slug&&_e(u)?(ue(),me("div",TF,[...O[0]||(O[0]=[J("h1",{class:"type-h3"}," Sorry ",-1),Zu(" This content was not found. ",-1)])])):$s(H.$slots,"default",{key:2},void 0,!0)],8,SF)],512)],512)],512)],8,bF)],512)])}}},EF=_t(AF,[["__scopeId","data-v-0089f1d3"]]),kF={class:"mody"},RF={__name:"HomePortfolioModal",setup(t){function e(){return[{name:"Manufacturing",codename:"manufacturing"},{name:"Electricity",codename:"electricity"},{name:"Agriculture",codename:"agriculture"},{name:"Transportation",codename:"transportation"},{name:"Buildings",codename:"buildings"}]}function n(){return{theme:{name:"theme",type:"multiple_choice",value:[{name:"yellow",codename:"yellow"}]},overlay:{name:"overlaytheme",type:"multiple_choice",value:[{name:"yellow",codename:"yellow"}]}}}return(r,i)=>{const s=EF;return ue(),me("div",kF,[(ue(!0),me(Qe,null,ut(e(),o=>(ue(),tn(s,{key:o.name,"unique-id":o.codename,slug:"portfolio",filter:o.codename,theme:n().theme,"overlay-theme":n().overlay},null,8,["unique-id","filter","theme","overlay-theme"]))),128))])}}},CF=_t(RF,[["__scopeId","data-v-a594cd35"]]);var du=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xF(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Kf={exports:{}},PF=Kf.exports,i1;function IF(){return i1||(i1=1,(function(t,e){(function(r,i){t.exports=i()})(PF,()=>(()=>{var n=[,((o,a,u)=>{u.r(a),u.d(a,{default:()=>d});var c=(()=>{var f;var l=typeof document<"u"?(f=document.currentScript)==null?void 0:f.src:void 0;return(function(h={}){var g,p=h,b,y,S=new Promise((m,v)=>{b=m,y=v}),E=typeof window=="object",T=typeof importScripts=="function";function k(){function m(ge){const ve=I;A=v=0,I=new Map,ve.forEach(xe=>{try{xe(ge)}catch(Ce){console.error(Ce)}}),this.nb(),Y&&Y.Pb()}let v=0,A=0,I=new Map,Y=null,te=null;this.requestAnimationFrame=function(ge){v||(v=requestAnimationFrame(m.bind(this)));const ve=++A;return I.set(ve,ge),ve},this.cancelAnimationFrame=function(ge){I.delete(ge),v&&I.size==0&&(cancelAnimationFrame(v),v=0)},this.Nb=function(ge){te&&(document.body.remove(te),te=null),ge||(te=document.createElement("div"),te.style.backgroundColor="black",te.style.position="fixed",te.style.right=0,te.style.top=0,te.style.color="white",te.style.padding="4px",te.innerHTML="RIVE FPS",ge=function(ve){te.innerHTML="RIVE FPS "+ve.toFixed(1)},document.body.appendChild(te)),Y=new function(){let ve=0,xe=0;this.Pb=function(){var Ce=performance.now();xe?(++ve,Ce-=xe,1e3<Ce&&(ge(1e3*ve/Ce),ve=xe=0)):(xe=Ce,ve=0)}}},this.Kb=function(){te&&(document.body.remove(te),te=null),Y=null},this.nb=function(){}}function M(m){console.assert(!0);const v=new Map;let A=-1/0;this.push=function(I){return I=I+((1<<m)-1)>>m,v.has(I)&&clearTimeout(v.get(I)),v.set(I,setTimeout(function(){v.delete(I),v.length==0?A=-1/0:I==A&&(A=Math.max(...v.keys()),console.assert(A<I))},1e3)),A=Math.max(I,A),A<<m}}const $=p.onRuntimeInitialized;p.onRuntimeInitialized=function(){$&&$();let m=p.decodeAudio;p.decodeAudio=function(Y,te){Y=m(Y),te(Y)};let v=p.decodeFont;p.decodeFont=function(Y,te){Y=v(Y),te(Y)};const A=p.FileAssetLoader;p.ptrToAsset=Y=>{let te=p.ptrToFileAsset(Y);return te.isImage?p.ptrToImageAsset(Y):te.isFont?p.ptrToFontAsset(Y):te.isAudio?p.ptrToAudioAsset(Y):te},p.CustomFileAssetLoader=A.extend("CustomFileAssetLoader",{__construct:function({loadContents:Y}){this.__parent.__construct.call(this),this.Db=Y},loadContents:function(Y,te){return Y=p.ptrToAsset(Y),this.Db(Y,te)}}),p.CDNFileAssetLoader=A.extend("CDNFileAssetLoader",{__construct:function(){this.__parent.__construct.call(this)},loadContents:function(Y){let te=p.ptrToAsset(Y);return Y=te.cdnUuid,Y===""?!1:((function(ge,ve){var xe=new XMLHttpRequest;xe.responseType="arraybuffer",xe.onreadystatechange=function(){xe.readyState==4&&xe.status==200&&ve(xe)},xe.open("GET",ge,!0),xe.send(null)})(te.cdnBaseUrl+"/"+Y,ge=>{te.decode(new Uint8Array(ge.response))}),!0)}}),p.FallbackFileAssetLoader=A.extend("FallbackFileAssetLoader",{__construct:function(){this.__parent.__construct.call(this),this.jb=[]},addLoader:function(Y){this.jb.push(Y)},loadContents:function(Y,te){for(let ge of this.jb)if(ge.loadContents(Y,te))return!0;return!1}});let I=p.computeAlignment;p.computeAlignment=function(Y,te,ge,ve,xe=1){return I.call(this,Y,te,ge,ve,xe)}};const H="createConicGradient createImageData createLinearGradient createPattern createRadialGradient getContextAttributes getImageData getLineDash getTransform isContextLost isPointInPath isPointInStroke measureText".split(" "),O=new function(){function m(){if(!v){let Tt=function(Lt,Je,on){if(Je=Me.createShader(Je),Me.shaderSource(Je,on),Me.compileShader(Je),on=Me.getShaderInfoLog(Je),0<(on||"").length)throw on;Me.attachShader(Lt,Je)};var Se=document.createElement("canvas"),Ue={alpha:1,depth:0,stencil:0,antialias:0,premultipliedAlpha:1,preserveDrawingBuffer:0,powerPreference:"high-performance",failIfMajorPerformanceCaveat:0,enableExtensionsByDefault:1,explicitSwapControl:1,renderViaOffscreenBackBuffer:1};let Me;if(/iPhone|iPad|iPod/i.test(navigator.userAgent)){if(Me=Se.getContext("webgl",Ue),A=1,!Me)return!1}else if(Me=Se.getContext("webgl2",Ue))A=2;else if(Me=Se.getContext("webgl",Ue))A=1;else return!1;if(Me=new Proxy(Me,{get(Lt,Je){if(Lt.isContextLost()){if(xe||(console.error("Cannot render the mesh because the GL Context was lost. Tried to invoke ",Je),xe=!0),typeof Lt[Je]=="function")return function(){}}else return typeof Lt[Je]=="function"?function(...on){return Lt[Je].apply(Lt,on)}:Lt[Je]},set(Lt,Je,on){if(Lt.isContextLost())xe||(console.error("Cannot render the mesh because the GL Context was lost. Tried to set property "+Je),xe=!0);else return Lt[Je]=on,!0}}),I=Math.min(Me.getParameter(Me.MAX_RENDERBUFFER_SIZE),Me.getParameter(Me.MAX_TEXTURE_SIZE)),Se=Me.createProgram(),Tt(Se,Me.VERTEX_SHADER,`attribute vec2 vertex;
attribute vec2 uv;
uniform vec4 mat;
uniform vec2 translate;
varying vec2 st;
void main() {
st = uv;
gl_Position = vec4(mat2(mat) * vertex + translate, 0, 1);
}`),Tt(Se,Me.FRAGMENT_SHADER,`precision highp float;
uniform sampler2D image;
varying vec2 st;
void main() {
gl_FragColor = texture2D(image, st);
}`),Me.bindAttribLocation(Se,0,"vertex"),Me.bindAttribLocation(Se,1,"uv"),Me.linkProgram(Se),Ue=Me.getProgramInfoLog(Se),0<(Ue||"").trim().length)throw Ue;Y=Me.getUniformLocation(Se,"mat"),te=Me.getUniformLocation(Se,"translate"),Me.useProgram(Se),Me.bindBuffer(Me.ARRAY_BUFFER,Me.createBuffer()),Me.enableVertexAttribArray(0),Me.enableVertexAttribArray(1),Me.bindBuffer(Me.ELEMENT_ARRAY_BUFFER,Me.createBuffer()),Me.uniform1i(Me.getUniformLocation(Se,"image"),0),Me.pixelStorei(Me.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0),v=Me}return!0}let v=null,A=0,I=0,Y=null,te=null,ge=0,ve=0,xe=!1;m(),this.ac=function(){return m(),I},this.Jb=function(Se){v.deleteTexture&&v.deleteTexture(Se)},this.Ib=function(Se){if(!m())return null;const Ue=v.createTexture();return Ue?(v.bindTexture(v.TEXTURE_2D,Ue),v.texImage2D(v.TEXTURE_2D,0,v.RGBA,v.RGBA,v.UNSIGNED_BYTE,Se),v.texParameteri(v.TEXTURE_2D,v.TEXTURE_WRAP_S,v.CLAMP_TO_EDGE),v.texParameteri(v.TEXTURE_2D,v.TEXTURE_WRAP_T,v.CLAMP_TO_EDGE),v.texParameteri(v.TEXTURE_2D,v.TEXTURE_MAG_FILTER,v.LINEAR),A==2?(v.texParameteri(v.TEXTURE_2D,v.TEXTURE_MIN_FILTER,v.LINEAR_MIPMAP_LINEAR),v.generateMipmap(v.TEXTURE_2D)):v.texParameteri(v.TEXTURE_2D,v.TEXTURE_MIN_FILTER,v.LINEAR),Ue):null};const Ce=new M(8),Ne=new M(8),Ze=new M(10),it=new M(10);this.Mb=function(Se,Ue,Me,Tt,Lt){if(m()){var Je=Ce.push(Se),on=Ne.push(Ue);if(v.canvas){(v.canvas.width!=Je||v.canvas.height!=on)&&(v.canvas.width=Je,v.canvas.height=on),v.viewport(0,on-Ue,Se,Ue),v.disable(v.SCISSOR_TEST),v.clearColor(0,0,0,0),v.clear(v.COLOR_BUFFER_BIT),v.enable(v.SCISSOR_TEST),Me.sort((Nt,rs)=>rs.ub-Nt.ub),Je=Ze.push(Tt),ge!=Je&&(v.bufferData(v.ARRAY_BUFFER,8*Je,v.DYNAMIC_DRAW),ge=Je),Je=0;for(var tr of Me)v.bufferSubData(v.ARRAY_BUFFER,Je,tr.Sa),Je+=4*tr.Sa.length;console.assert(Je==4*Tt);for(var oi of Me)v.bufferSubData(v.ARRAY_BUFFER,Je,oi.Ab),Je+=4*oi.Ab.length;console.assert(Je==8*Tt),Je=it.push(Lt),ve!=Je&&(v.bufferData(v.ELEMENT_ARRAY_BUFFER,2*Je,v.DYNAMIC_DRAW),ve=Je),tr=0;for(var jo of Me)v.bufferSubData(v.ELEMENT_ARRAY_BUFFER,tr,jo.indices),tr+=2*jo.indices.length;console.assert(tr==2*Lt),jo=0,oi=!0,Je=tr=0;for(const Nt of Me){Nt.image.Ia!=jo&&(v.bindTexture(v.TEXTURE_2D,Nt.image.Ha||null),jo=Nt.image.Ia),Nt.fc?(v.scissor(Nt.Ya,on-Nt.Za-Nt.ib,Nt.tc,Nt.ib),oi=!0):oi&&(v.scissor(0,on-Ue,Se,Ue),oi=!1),Me=2/Se;const rs=-2/Ue;v.uniform4f(Y,Nt.ga[0]*Me*Nt.za,Nt.ga[1]*rs*Nt.Aa,Nt.ga[2]*Me*Nt.za,Nt.ga[3]*rs*Nt.Aa),v.uniform2f(te,Nt.ga[4]*Me*Nt.za+Me*(Nt.Ya-Nt.bc*Nt.za)-1,Nt.ga[5]*rs*Nt.Aa+rs*(Nt.Za-Nt.cc*Nt.Aa)+1),v.vertexAttribPointer(0,2,v.FLOAT,!1,0,Je),v.vertexAttribPointer(1,2,v.FLOAT,!1,0,Je+4*Tt),v.drawElements(v.TRIANGLES,Nt.indices.length,v.UNSIGNED_SHORT,tr),Je+=4*Nt.Sa.length,tr+=2*Nt.indices.length}console.assert(Je==4*Tt),console.assert(tr==2*Lt)}}},this.canvas=function(){return m()&&v.canvas}},F=p.onRuntimeInitialized;p.onRuntimeInitialized=function(){function m(Fe){switch(Fe){case Ce.srcOver:return"source-over";case Ce.screen:return"screen";case Ce.overlay:return"overlay";case Ce.darken:return"darken";case Ce.lighten:return"lighten";case Ce.colorDodge:return"color-dodge";case Ce.colorBurn:return"color-burn";case Ce.hardLight:return"hard-light";case Ce.softLight:return"soft-light";case Ce.difference:return"difference";case Ce.exclusion:return"exclusion";case Ce.multiply:return"multiply";case Ce.hue:return"hue";case Ce.saturation:return"saturation";case Ce.color:return"color";case Ce.luminosity:return"luminosity"}}function v(Fe){return"rgba("+((16711680&Fe)>>>16)+","+((65280&Fe)>>>8)+","+((255&Fe)>>>0)+","+((4278190080&Fe)>>>24)/255+")"}function A(){0<on.length&&(O.Mb(Je.drawWidth(),Je.drawHeight(),on,tr,oi),on=[],oi=tr=0,Je.reset(512,512));for(const Fe of Lt){for(const Ke of Fe.H)Ke();Fe.H=[]}Lt.clear()}F&&F();var I=p.RenderPaintStyle;const Y=p.RenderPath,te=p.RenderPaint,ge=p.Renderer,ve=p.StrokeCap,xe=p.StrokeJoin,Ce=p.BlendMode,Ne=I.fill,Ze=I.stroke,it=p.FillRule.evenOdd;let Se=1;var Ue=p.RenderImage.extend("CanvasRenderImage",{__construct:function({ka:Fe,va:Ke}={}){this.__parent.__construct.call(this),this.Ia=Se,Se=Se+1&2147483647||1,this.ka=Fe,this.va=Ke},__destruct:function(){this.Ha&&(O.Jb(this.Ha),URL.revokeObjectURL(this.Va)),this.__parent.__destruct.call(this)},decode:function(Fe){var Ke=this;Ke.va&&Ke.va(Ke);var Ot=new Image;Ke.Va=URL.createObjectURL(new Blob([Fe],{type:"image/png"})),Ot.onload=function(){Ke.Cb=Ot,Ke.Ha=O.Ib(Ot),Ke.size(Ot.width,Ot.height),Ke.ka&&Ke.ka(Ke)},Ot.src=Ke.Va}}),Me=Y.extend("CanvasRenderPath",{__construct:function(){this.__parent.__construct.call(this),this.T=new Path2D},rewind:function(){this.T=new Path2D},addPath:function(Fe,Ke,Ot,$t,wt,Ft,jt){var Xt=this.T,Vi=Xt.addPath;Fe=Fe.T;const nr=new DOMMatrix;nr.a=Ke,nr.b=Ot,nr.c=$t,nr.d=wt,nr.e=Ft,nr.f=jt,Vi.call(Xt,Fe,nr)},fillRule:function(Fe){this.Ua=Fe},moveTo:function(Fe,Ke){this.T.moveTo(Fe,Ke)},lineTo:function(Fe,Ke){this.T.lineTo(Fe,Ke)},cubicTo:function(Fe,Ke,Ot,$t,wt,Ft){this.T.bezierCurveTo(Fe,Ke,Ot,$t,wt,Ft)},close:function(){this.T.closePath()}}),Tt=te.extend("CanvasRenderPaint",{color:function(Fe){this.Wa=v(Fe)},thickness:function(Fe){this.Fb=Fe},join:function(Fe){switch(Fe){case xe.miter:this.Ga="miter";break;case xe.round:this.Ga="round";break;case xe.bevel:this.Ga="bevel"}},cap:function(Fe){switch(Fe){case ve.butt:this.Fa="butt";break;case ve.round:this.Fa="round";break;case ve.square:this.Fa="square"}},style:function(Fe){this.Eb=Fe},blendMode:function(Fe){this.Bb=m(Fe)},clearGradient:function(){this.ia=null},linearGradient:function(Fe,Ke,Ot,$t){this.ia={wb:Fe,xb:Ke,bb:Ot,cb:$t,Pa:[]}},radialGradient:function(Fe,Ke,Ot,$t){this.ia={wb:Fe,xb:Ke,bb:Ot,cb:$t,Pa:[],$b:!0}},addStop:function(Fe,Ke){this.ia.Pa.push({color:Fe,stop:Ke})},completeGradient:function(){},draw:function(Fe,Ke,Ot){let $t=this.Eb;var wt=this.Wa,Ft=this.ia;if(Fe.globalCompositeOperation=this.Bb,Ft!=null){wt=Ft.wb;var jt=Ft.xb;const Vi=Ft.bb;var Xt=Ft.cb;const nr=Ft.Pa;Ft.$b?(Ft=Vi-wt,Xt-=jt,wt=Fe.createRadialGradient(wt,jt,0,wt,jt,Math.sqrt(Ft*Ft+Xt*Xt))):wt=Fe.createLinearGradient(wt,jt,Vi,Xt);for(let Ti=0,rr=nr.length;Ti<rr;Ti++)jt=nr[Ti],wt.addColorStop(jt.stop,v(jt.color));this.Wa=wt,this.ia=null}switch($t){case Ze:Fe.strokeStyle=wt,Fe.lineWidth=this.Fb,Fe.lineCap=this.Fa,Fe.lineJoin=this.Ga,Fe.stroke(Ke);break;case Ne:Fe.fillStyle=wt,Fe.fill(Ke,Ot)}}});const Lt=new Set;let Je=null,on=[],tr=0,oi=0;var jo=p.CanvasRenderer=ge.extend("Renderer",{__construct:function(Fe){this.__parent.__construct.call(this),this.S=[1,0,0,1,0,0],this.B=Fe.getContext("2d"),this.Ta=Fe,this.H=[]},save:function(){this.S.push(...this.S.slice(this.S.length-6)),this.H.push(this.B.save.bind(this.B))},restore:function(){const Fe=this.S.length-6;if(6>Fe)throw"restore() called without matching save().";this.S.splice(Fe),this.H.push(this.B.restore.bind(this.B))},transform:function(Fe,Ke,Ot,$t,wt,Ft){const jt=this.S,Xt=jt.length-6;jt.splice(Xt,6,jt[Xt]*Fe+jt[Xt+2]*Ke,jt[Xt+1]*Fe+jt[Xt+3]*Ke,jt[Xt]*Ot+jt[Xt+2]*$t,jt[Xt+1]*Ot+jt[Xt+3]*$t,jt[Xt]*wt+jt[Xt+2]*Ft+jt[Xt+4],jt[Xt+1]*wt+jt[Xt+3]*Ft+jt[Xt+5]),this.H.push(this.B.transform.bind(this.B,Fe,Ke,Ot,$t,wt,Ft))},rotate:function(Fe){const Ke=Math.sin(Fe);Fe=Math.cos(Fe),this.transform(Fe,Ke,-Ke,Fe,0,0)},_drawPath:function(Fe,Ke){this.H.push(Ke.draw.bind(Ke,this.B,Fe.T,Fe.Ua===it?"evenodd":"nonzero"))},_drawRiveImage:function(Fe,Ke,Ot,$t){var wt=Fe.Cb;if(wt){var Ft=this.B,jt=m(Ot);this.H.push(function(){Ft.globalCompositeOperation=jt,Ft.globalAlpha=$t,Ft.drawImage(wt,0,0),Ft.globalAlpha=1})}},_getMatrix:function(Fe){const Ke=this.S,Ot=Ke.length-6;for(let $t=0;6>$t;++$t)Fe[$t]=Ke[Ot+$t]},_drawImageMesh:function(Fe,Ke,Ot,$t,wt,Ft,jt,Xt,Vi,nr,Ti){Ke=this.B.canvas.width;var rr=this.B.canvas.height;const F_=nr-Xt,D_=Ti-Vi;Xt=Math.max(Xt,0),Vi=Math.max(Vi,0),nr=Math.min(nr,Ke),Ti=Math.min(Ti,rr);const Xl=nr-Xt,Ql=Ti-Vi;if(console.assert(Xl<=Math.min(F_,Ke)),console.assert(Ql<=Math.min(D_,rr)),!(0>=Xl||0>=Ql)){nr=Xl<F_||Ql<D_,Ke=Ti=1;var Wo=Math.ceil(Xl*Ti),zo=Math.ceil(Ql*Ke);rr=O.ac(),Wo>rr&&(Ti*=rr/Wo,Wo=rr),zo>rr&&(Ke*=rr/zo,zo=rr),Je||(Je=new p.DynamicRectanizer(rr),Je.reset(512,512)),rr=Je.addRect(Wo,zo),0>rr&&(A(),Lt.add(this),rr=Je.addRect(Wo,zo),console.assert(0<=rr));var N_=rr&65535,$_=rr>>16;on.push({ga:this.S.slice(this.S.length-6),image:Fe,Ya:N_,Za:$_,bc:Xt,cc:Vi,tc:Wo,ib:zo,za:Ti,Aa:Ke,Sa:new Float32Array(wt),Ab:new Float32Array(Ft),indices:new Uint16Array(jt),fc:nr,ub:Fe.Ia<<1|(nr?1:0)}),tr+=wt.length,oi+=jt.length;var Ha=this.B,dE=m(Ot);this.H.push(function(){Ha.save(),Ha.resetTransform(),Ha.globalCompositeOperation=dE,Ha.globalAlpha=$t;const H_=O.canvas();H_&&Ha.drawImage(H_,N_,$_,Wo,zo,Xt,Vi,Xl,Ql),Ha.restore()})}},_clipPath:function(Fe){this.H.push(this.B.clip.bind(this.B,Fe.T,Fe.Ua===it?"evenodd":"nonzero"))},clear:function(){Lt.add(this),this.H.push(this.B.clearRect.bind(this.B,0,0,this.Ta.width,this.Ta.height))},flush:function(){},translate:function(Fe,Ke){this.transform(1,0,0,1,Fe,Ke)}});p.makeRenderer=function(Fe){const Ke=new jo(Fe),Ot=Ke.B;return new Proxy(Ke,{get($t,wt){if(typeof $t[wt]=="function")return function(...Ft){return $t[wt].apply($t,Ft)};if(typeof Ot[wt]=="function"){if(-1<H.indexOf(wt))throw Error("RiveException: Method call to '"+wt+"()' is not allowed, as the renderer cannot immediately pass through the return values of any canvas 2d context methods.");return function(...Ft){Ke.H.push(Ot[wt].bind(Ot,...Ft))}}return $t[wt]},set($t,wt,Ft){if(wt in Ot)return Ke.H.push(()=>{Ot[wt]=Ft}),!0}})},p.decodeImage=function(Fe,Ke){new Ue({ka:Ke}).decode(Fe)},p.renderFactory={makeRenderPaint:function(){return new Tt},makeRenderPath:function(){return new Me},makeRenderImage:function(){let Fe=rs;return new Ue({va:()=>{Fe.total++},ka:()=>{if(Fe.loaded++,Fe.loaded===Fe.total){const Ke=Fe.ready;Ke&&(Ke(),Fe.ready=null)}}})}};let Nt=p.load,rs=null;p.load=function(Fe,Ke,Ot=!0){const $t=new p.FallbackFileAssetLoader;return Ke!==void 0&&$t.addLoader(Ke),Ot&&(Ke=new p.CDNFileAssetLoader,$t.addLoader(Ke)),new Promise(function(wt){let Ft=null;rs={total:0,loaded:0,ready:function(){wt(Ft)}},Ft=Nt(Fe,$t),rs.total==0&&wt(Ft)})};let fE=p.RendererWrapper.prototype.align;p.RendererWrapper.prototype.align=function(Fe,Ke,Ot,$t,wt=1){fE.call(this,Fe,Ke,Ot,$t,wt)},I=new k,p.requestAnimationFrame=I.requestAnimationFrame.bind(I),p.cancelAnimationFrame=I.cancelAnimationFrame.bind(I),p.enableFPSCounter=I.Nb.bind(I),p.disableFPSCounter=I.Kb,I.nb=A,p.resolveAnimationFrame=A,p.cleanup=function(){Je&&Je.delete()}};var re=Object.assign({},p),N="./this.program",P="",z,Q;(E||T)&&(T?P=self.location.href:typeof document<"u"&&document.currentScript&&(P=document.currentScript.src),l&&(P=l),P.startsWith("blob:")?P="":P=P.substr(0,P.replace(/[?#].*/,"").lastIndexOf("/")+1),T&&(Q=m=>{var v=new XMLHttpRequest;return v.open("GET",m,!1),v.responseType="arraybuffer",v.send(null),new Uint8Array(v.response)}),z=(m,v,A)=>{if(V(m)){var I=new XMLHttpRequest;I.open("GET",m,!0),I.responseType="arraybuffer",I.onload=()=>{I.status==200||I.status==0&&I.response?v(I.response):A()},I.onerror=A,I.send(null)}else fetch(m,{credentials:"same-origin"}).then(Y=>Y.ok?Y.arrayBuffer():Promise.reject(Error(Y.status+" : "+Y.url))).then(v,A)});var B=p.print||console.log.bind(console),G=p.printErr||console.error.bind(console);Object.assign(p,re),re=null,p.thisProgram&&(N=p.thisProgram);var ie;p.wasmBinary&&(ie=p.wasmBinary);var ae,X=!1,pe,Ee,ke,Re,ye,we,se,le;function he(){var m=ae.buffer;p.HEAP8=pe=new Int8Array(m),p.HEAP16=ke=new Int16Array(m),p.HEAPU8=Ee=new Uint8Array(m),p.HEAPU16=Re=new Uint16Array(m),p.HEAP32=ye=new Int32Array(m),p.HEAPU32=we=new Uint32Array(m),p.HEAPF32=se=new Float32Array(m),p.HEAPF64=le=new Float64Array(m)}var Te=[],Le=[],W=[];function L(){var m=p.preRun.shift();Te.unshift(m)}var q=0,ee=null;function K(m){var v;throw(v=p.onAbort)==null||v.call(p,m),m="Aborted("+m+")",G(m),X=!0,m=new WebAssembly.RuntimeError(m+". Build with -sASSERTIONS for more info."),y(m),m}var x=m=>m.startsWith("data:application/octet-stream;base64,"),V=m=>m.startsWith("file://"),C;function D(m){if(m==C&&ie)return new Uint8Array(ie);if(Q)return Q(m);throw"both async and sync fetching of the wasm failed"}function Z(m){return ie?Promise.resolve().then(()=>D(m)):new Promise((v,A)=>{z(m,I=>v(new Uint8Array(I)),()=>{try{v(D(m))}catch(I){A(I)}})})}function fe(m,v,A){return Z(m).then(I=>WebAssembly.instantiate(I,v)).then(A,I=>{G(`failed to asynchronously prepare wasm: ${I}`),K(I)})}function de(m,v){var A=C;return ie||typeof WebAssembly.instantiateStreaming!="function"||x(A)||V(A)||typeof fetch!="function"?fe(A,m,v):fetch(A,{credentials:"same-origin"}).then(I=>WebAssembly.instantiateStreaming(I,m).then(v,function(Y){return G(`wasm streaming compile failed: ${Y}`),G("falling back to ArrayBuffer instantiation"),fe(A,m,v)}))}var ne,ce,R={464256:(m,v,A,I,Y)=>{if(typeof window>"u"||(window.AudioContext||window.webkitAudioContext)===void 0)return 0;if(typeof window.h>"u"){window.h={ya:0},window.h.I={},window.h.I.wa=m,window.h.I.capture=v,window.h.I.Ja=A,window.h.fa={},window.h.fa.stopped=I,window.h.fa.vb=Y;let te=window.h;te.D=[],te.rc=function(ge){for(var ve=0;ve<te.D.length;++ve)if(te.D[ve]==null)return te.D[ve]=ge,ve;return te.D.push(ge),te.D.length-1},te.zb=function(ge){for(te.D[ge]=null;0<te.D.length&&te.D[te.D.length-1]==null;)te.D.pop()},te.Oc=function(ge){for(var ve=0;ve<te.D.length;++ve)if(te.D[ve]==ge)return te.zb(ve)},te.pa=function(ge){return te.D[ge]},te.Ra=["touchend","click"],te.unlock=function(){for(var ge=0;ge<te.D.length;++ge){var ve=te.D[ge];ve!=null&&ve.K!=null&&ve.state===te.fa.vb&&ve.K.resume().then(()=>{I_(ve.ob)},xe=>{console.error("Failed to resume audiocontext",xe)})}te.Ra.map(function(xe){document.removeEventListener(xe,te.unlock,!0)})},te.Ra.map(function(ge){document.addEventListener(ge,te.unlock,!0)})}return window.h.ya+=1,1},466434:()=>{typeof window.h<"u"&&(window.h.Ra.map(function(m){document.removeEventListener(m,window.h.unlock,!0)}),--window.h.ya,window.h.ya===0&&delete window.h)},466738:()=>navigator.mediaDevices!==void 0&&navigator.mediaDevices.getUserMedia!==void 0,466842:()=>{try{var m=new(window.AudioContext||window.webkitAudioContext),v=m.sampleRate;return m.close(),v}catch{return 0}},467013:(m,v,A,I,Y,te)=>{if(typeof window.h>"u")return-1;var ge={},ve={};return m==window.h.I.wa&&A!=0&&(ve.sampleRate=A),ge.K=new(window.AudioContext||window.webkitAudioContext)(ve),ge.K.suspend(),ge.state=window.h.fa.stopped,A=0,m!=window.h.I.wa&&(A=v),ge.Y=ge.K.createScriptProcessor(I,A,v),ge.Y.onaudioprocess=function(xe){if((ge.qa==null||ge.qa.length==0)&&(ge.qa=new Float32Array(se.buffer,Y,I*v)),m==window.h.I.capture||m==window.h.I.Ja){for(var Ce=0;Ce<v;Ce+=1)for(var Ne=xe.inputBuffer.getChannelData(Ce),Ze=ge.qa,it=0;it<I;it+=1)Ze[it*v+Ce]=Ne[it];L_(te,I,Y)}if(m==window.h.I.wa||m==window.h.I.Ja)for(O_(te,I,Y),Ce=0;Ce<xe.outputBuffer.numberOfChannels;++Ce)for(Ne=xe.outputBuffer.getChannelData(Ce),Ze=ge.qa,it=0;it<I;it+=1)Ne[it]=Ze[it*v+Ce];else for(Ce=0;Ce<xe.outputBuffer.numberOfChannels;++Ce)xe.outputBuffer.getChannelData(Ce).fill(0)},m!=window.h.I.capture&&m!=window.h.I.Ja||navigator.mediaDevices.getUserMedia({audio:!0,video:!1}).then(function(xe){ge.Ba=ge.K.createMediaStreamSource(xe),ge.Ba.connect(ge.Y),ge.Y.connect(ge.K.destination)}).catch(function(xe){""+xe}),m==window.h.I.wa&&ge.Y.connect(ge.K.destination),ge.ob=te,window.h.rc(ge)},469890:m=>window.h.pa(m).K.sampleRate,469963:m=>{m=window.h.pa(m),m.Y!==void 0&&(m.Y.onaudioprocess=function(){},m.Y.disconnect(),m.Y=void 0),m.Ba!==void 0&&(m.Ba.disconnect(),m.Ba=void 0),m.K.close(),m.K=void 0,m.ob=void 0},470363:m=>{window.h.zb(m)},470413:m=>{m=window.h.pa(m),m.K.resume(),m.state=window.h.fa.vb},470552:m=>{m=window.h.pa(m),m.K.suspend(),m.state=window.h.fa.stopped}},_=m=>{for(;0<m.length;)m.shift()(p)};function w(){var m=ye[+jl>>2];return jl+=4,m}var U=(m,v)=>{for(var A=0,I=m.length-1;0<=I;I--){var Y=m[I];Y==="."?m.splice(I,1):Y===".."?(m.splice(I,1),A++):A&&(m.splice(I,1),A--)}if(v)for(;A;A--)m.unshift("..");return m},oe=m=>{var v=m.charAt(0)==="/",A=m.substr(-1)==="/";return(m=U(m.split("/").filter(I=>!!I),!v).join("/"))||v||(m="."),m&&A&&(m+="/"),(v?"/":"")+m},Ae=m=>{var v=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(m).slice(1);return m=v[0],v=v[1],!m&&!v?".":(v&&(v=v.substr(0,v.length-1)),m+v)},be=m=>{if(m==="/")return"/";m=oe(m),m=m.replace(/\/$/,"");var v=m.lastIndexOf("/");return v===-1?m:m.substr(v+1)},qe=()=>{if(typeof crypto=="object"&&typeof crypto.getRandomValues=="function")return m=>crypto.getRandomValues(m);K("initRandomDevice")},Xe=m=>(Xe=qe())(m),$e=(...m)=>{for(var v="",A=!1,I=m.length-1;-1<=I&&!A;I--){if(A=0<=I?m[I]:"/",typeof A!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!A)return"";v=A+"/"+v,A=A.charAt(0)==="/"}return v=U(v.split("/").filter(Y=>!!Y),!A).join("/"),(A?"/":"")+v||"."},rt=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0,at=(m,v,A)=>{var I=v+A;for(A=v;m[A]&&!(A>=I);)++A;if(16<A-v&&m.buffer&&rt)return rt.decode(m.subarray(v,A));for(I="";v<A;){var Y=m[v++];if(Y&128){var te=m[v++]&63;if((Y&224)==192)I+=String.fromCharCode((Y&31)<<6|te);else{var ge=m[v++]&63;Y=(Y&240)==224?(Y&15)<<12|te<<6|ge:(Y&7)<<18|te<<12|ge<<6|m[v++]&63,65536>Y?I+=String.fromCharCode(Y):(Y-=65536,I+=String.fromCharCode(55296|Y>>10,56320|Y&1023))}}else I+=String.fromCharCode(Y)}return I},Rt=[],Ye=m=>{for(var v=0,A=0;A<m.length;++A){var I=m.charCodeAt(A);127>=I?v++:2047>=I?v+=2:55296<=I&&57343>=I?(v+=4,++A):v+=3}return v},Yt=(m,v,A,I)=>{if(!(0<I))return 0;var Y=A;I=A+I-1;for(var te=0;te<m.length;++te){var ge=m.charCodeAt(te);if(55296<=ge&&57343>=ge){var ve=m.charCodeAt(++te);ge=65536+((ge&1023)<<10)|ve&1023}if(127>=ge){if(A>=I)break;v[A++]=ge}else{if(2047>=ge){if(A+1>=I)break;v[A++]=192|ge>>6}else{if(65535>=ge){if(A+2>=I)break;v[A++]=224|ge>>12}else{if(A+3>=I)break;v[A++]=240|ge>>18,v[A++]=128|ge>>12&63}v[A++]=128|ge>>6&63}v[A++]=128|ge&63}}return v[A]=0,A-Y};function Ct(m,v){var A=Array(Ye(m)+1);return m=Yt(m,A,0,A.length),v&&(A.length=m),A}var ht=[];function At(m,v){ht[m]={input:[],G:[],V:v},Tn(m,hn)}var hn={open(m){var v=ht[m.node.xa];if(!v)throw new De(43);m.s=v,m.seekable=!1},close(m){m.s.V.oa(m.s)},oa(m){m.s.V.oa(m.s)},read(m,v,A,I){if(!m.s||!m.s.V.hb)throw new De(60);for(var Y=0,te=0;te<I;te++){try{var ge=m.s.V.hb(m.s)}catch{throw new De(29)}if(ge===void 0&&Y===0)throw new De(6);if(ge==null)break;Y++,v[A+te]=ge}return Y&&(m.node.timestamp=Date.now()),Y},write(m,v,A,I){if(!m.s||!m.s.V.Ma)throw new De(60);try{for(var Y=0;Y<I;Y++)m.s.V.Ma(m.s,v[A+Y])}catch{throw new De(29)}return I&&(m.node.timestamp=Date.now()),Y}},Bn={hb(){e:{if(!Rt.length){var m=null;if(typeof window<"u"&&typeof window.prompt=="function"&&(m=window.prompt("Input: "),m!==null&&(m+=`
`)),!m){m=null;break e}Rt=Ct(m,!0)}m=Rt.shift()}return m},Ma(m,v){v===null||v===10?(B(at(m.G,0)),m.G=[]):v!=0&&m.G.push(v)},oa(m){m.G&&0<m.G.length&&(B(at(m.G,0)),m.G=[])},Xb(){return{zc:25856,Bc:5,yc:191,Ac:35387,xc:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}},Yb(){return 0},Zb(){return[24,80]}},nn={Ma(m,v){v===null||v===10?(G(at(m.G,0)),m.G=[]):v!=0&&m.G.push(v)},oa(m){m.G&&0<m.G.length&&(G(at(m.G,0)),m.G=[])}};function Pn(m,v){var A=m.l?m.l.length:0;A>=v||(v=Math.max(v,A*(1048576>A?2:1.125)>>>0),A!=0&&(v=Math.max(v,256)),A=m.l,m.l=new Uint8Array(v),0<m.v&&m.l.set(A.subarray(0,m.v),0))}var He={N:null,U(){return He.createNode(null,"/",16895,0)},createNode(m,v,A,I){if((A&61440)===24576||(A&61440)===4096)throw new De(63);return He.N||(He.N={dir:{node:{X:He.j.X,P:He.j.P,ja:He.j.ja,ta:He.j.ta,sb:He.j.sb,yb:He.j.yb,tb:He.j.tb,rb:He.j.rb,Ca:He.j.Ca},stream:{aa:He.m.aa}},file:{node:{X:He.j.X,P:He.j.P},stream:{aa:He.m.aa,read:He.m.read,write:He.m.write,Xa:He.m.Xa,kb:He.m.kb,mb:He.m.mb}},link:{node:{X:He.j.X,P:He.j.P,la:He.j.la},stream:{}},$a:{node:{X:He.j.X,P:He.j.P},stream:er}}),A=_r(m,v,A,I),(A.mode&61440)===16384?(A.j=He.N.dir.node,A.m=He.N.dir.stream,A.l={}):(A.mode&61440)===32768?(A.j=He.N.file.node,A.m=He.N.file.stream,A.v=0,A.l=null):(A.mode&61440)===40960?(A.j=He.N.link.node,A.m=He.N.link.stream):(A.mode&61440)===8192&&(A.j=He.N.$a.node,A.m=He.N.$a.stream),A.timestamp=Date.now(),m&&(m.l[v]=A,m.timestamp=A.timestamp),A},Fc(m){return m.l?m.l.subarray?m.l.subarray(0,m.v):new Uint8Array(m.l):new Uint8Array(0)},j:{X(m){var v={};return v.Dc=(m.mode&61440)===8192?m.id:1,v.Hc=m.id,v.mode=m.mode,v.Kc=1,v.uid=0,v.Gc=0,v.xa=m.xa,(m.mode&61440)===16384?v.size=4096:(m.mode&61440)===32768?v.size=m.v:(m.mode&61440)===40960?v.size=m.link.length:v.size=0,v.vc=new Date(m.timestamp),v.Jc=new Date(m.timestamp),v.Cc=new Date(m.timestamp),v.Gb=4096,v.wc=Math.ceil(v.size/v.Gb),v},P(m,v){if(v.mode!==void 0&&(m.mode=v.mode),v.timestamp!==void 0&&(m.timestamp=v.timestamp),v.size!==void 0&&(v=v.size,m.v!=v))if(v==0)m.l=null,m.v=0;else{var A=m.l;m.l=new Uint8Array(v),A&&m.l.set(A.subarray(0,Math.min(v,m.v))),m.v=v}},ja(){throw _n[44]},ta(m,v,A,I){return He.createNode(m,v,A,I)},sb(m,v,A){if((m.mode&61440)===16384){try{var I=sn(v,A)}catch{}if(I)for(var Y in I.l)throw new De(55)}delete m.parent.l[m.name],m.parent.timestamp=Date.now(),m.name=A,v.l[A]=m,v.timestamp=m.parent.timestamp},yb(m,v){delete m.l[v],m.timestamp=Date.now()},tb(m,v){var A=sn(m,v),I;for(I in A.l)throw new De(55);delete m.l[v],m.timestamp=Date.now()},rb(m){var v=[".",".."],A;for(A of Object.keys(m.l))v.push(A);return v},Ca(m,v,A){return m=He.createNode(m,v,41471,0),m.link=A,m},la(m){if((m.mode&61440)!==40960)throw new De(28);return m.link}},m:{read(m,v,A,I,Y){var te=m.node.l;if(Y>=m.node.v)return 0;if(m=Math.min(m.node.v-Y,I),8<m&&te.subarray)v.set(te.subarray(Y,Y+m),A);else for(I=0;I<m;I++)v[A+I]=te[Y+I];return m},write(m,v,A,I,Y,te){if(v.buffer===pe.buffer&&(te=!1),!I)return 0;if(m=m.node,m.timestamp=Date.now(),v.subarray&&(!m.l||m.l.subarray)){if(te)return m.l=v.subarray(A,A+I),m.v=I;if(m.v===0&&Y===0)return m.l=v.slice(A,A+I),m.v=I;if(Y+I<=m.v)return m.l.set(v.subarray(A,A+I),Y),I}if(Pn(m,Y+I),m.l.subarray&&v.subarray)m.l.set(v.subarray(A,A+I),Y);else for(te=0;te<I;te++)m.l[Y+te]=v[A+te];return m.v=Math.max(m.v,Y+I),I},aa(m,v,A){if(A===1?v+=m.position:A===2&&(m.node.mode&61440)===32768&&(v+=m.node.v),0>v)throw new De(28);return v},Xa(m,v,A){Pn(m.node,v+A),m.node.v=Math.max(m.node.v,v+A)},kb(m,v,A,I,Y){if((m.node.mode&61440)!==32768)throw new De(43);if(m=m.node.l,Y&2||m.buffer!==pe.buffer){if((0<A||A+v<m.length)&&(m.subarray?m=m.subarray(A,A+v):m=Array.prototype.slice.call(m,A,A+v)),A=!0,K(),v=void 0,!v)throw new De(48);pe.set(m,v)}else A=!1,v=m.byteOffset;return{o:v,uc:A}},mb(m,v,A,I){return He.m.write(m,v,0,I,A,!1),0}}},Be=(m,v)=>{var A=0;return m&&(A|=365),v&&(A|=146),A},vt=null,Ge={},ct=[],st=1,ft=null,Dn=!0,De=class{constructor(m){this.name="ErrnoError",this.$=m}},_n={},Zn=class{constructor(){this.h={},this.node=null}get flags(){return this.h.flags}set flags(m){this.h.flags=m}get position(){return this.h.position}set position(m){this.h.position=m}},bn=class{constructor(m,v,A,I){m||(m=this),this.parent=m,this.U=m.U,this.ua=null,this.id=st++,this.name=v,this.mode=A,this.j={},this.m={},this.xa=I}get read(){return(this.mode&365)===365}set read(m){m?this.mode|=365:this.mode&=-366}get write(){return(this.mode&146)===146}set write(m){m?this.mode|=146:this.mode&=-147}};function Ut(m,v={}){if(m=$e(m),!m)return{path:"",node:null};if(v=Object.assign({gb:!0,Oa:0},v),8<v.Oa)throw new De(32);m=m.split("/").filter(ge=>!!ge);for(var A=vt,I="/",Y=0;Y<m.length;Y++){var te=Y===m.length-1;if(te&&v.parent)break;if(A=sn(A,m[Y]),I=oe(I+"/"+m[Y]),A.ua&&(!te||te&&v.gb)&&(A=A.ua.root),!te||v.fb){for(te=0;(A.mode&61440)===40960;)if(A=Bo(I),I=$e(Ae(I),A),A=Ut(I,{Oa:v.Oa+1}).node,40<te++)throw new De(32)}}return{path:I,node:A}}function Kt(m){for(var v;;){if(m===m.parent)return m=m.U.lb,v?m[m.length-1]!=="/"?`${m}/${v}`:m+v:m;v=v?`${m.name}/${v}`:m.name,m=m.parent}}function Wr(m,v){for(var A=0,I=0;I<v.length;I++)A=(A<<5)-A+v.charCodeAt(I)|0;return(m+A>>>0)%ft.length}function sn(m,v){var A=(m.mode&61440)===16384?(A=In(m,"x"))?A:m.j.ja?0:2:54;if(A)throw new De(A);for(A=ft[Wr(m.id,v)];A;A=A.ec){var I=A.name;if(A.parent.id===m.id&&I===v)return A}return m.j.ja(m,v)}function _r(m,v,A,I){return m=new bn(m,v,A,I),v=Wr(m.parent.id,m.name),m.ec=ft[v],ft[v]=m}function ri(m){var v=["r","w","rw"][m&3];return m&512&&(v+="w"),v}function In(m,v){if(Dn)return 0;if(!v.includes("r")||m.mode&292){if(v.includes("w")&&!(m.mode&146)||v.includes("x")&&!(m.mode&73))return 2}else return 2;return 0}function Vn(m,v){try{return sn(m,v),20}catch{}return In(m,"wx")}function vn(m){if(m=ct[m],!m)throw new De(8);return m}function Ji(m,v=-1){if(m=Object.assign(new Zn,m),v==-1)e:{for(v=0;4096>=v;v++)if(!ct[v])break e;throw new De(33)}return m.W=v,ct[v]=m}function Fa(m,v=-1){var A,I;return m=Ji(m,v),(I=(A=m.m)==null?void 0:A.Ec)==null||I.call(A,m),m}var er={open(m){var v,A;m.m=Ge[m.node.xa].m,(A=(v=m.m).open)==null||A.call(v,m)},aa(){throw new De(70)}};function Tn(m,v){Ge[m]={m:v}}function ii(m,v){var A=v==="/";if(A&&vt)throw new De(10);if(!A&&v){var I=Ut(v,{gb:!1});if(v=I.path,I=I.node,I.ua)throw new De(10);if((I.mode&61440)!==16384)throw new De(54)}v={type:m,Mc:{},lb:v,dc:[]},m=m.U(v),m.U=v,v.root=m,A?vt=m:I&&(I.ua=v,I.U&&I.U.dc.push(v))}function Ho(m,v,A){var I=Ut(m,{parent:!0}).node;if(m=be(m),!m||m==="."||m==="..")throw new De(28);var Y=Vn(I,m);if(Y)throw new De(Y);if(!I.j.ta)throw new De(63);return I.j.ta(I,m,v,A)}function Si(m){return Ho(m,16895,0)}function Zi(m,v,A){typeof A>"u"&&(A=v,v=438),Ho(m,v|8192,A)}function zr(m,v){if(!$e(m))throw new De(44);var A=Ut(v,{parent:!0}).node;if(!A)throw new De(44);v=be(v);var I=Vn(A,v);if(I)throw new De(I);if(!A.j.Ca)throw new De(63);A.j.Ca(A,v,m)}function Bo(m){if(m=Ut(m).node,!m)throw new De(44);if(!m.j.la)throw new De(28);return $e(Kt(m.parent),m.j.la(m))}function As(m,v,A){if(m==="")throw new De(44);if(typeof v=="string"){var I={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090}[v];if(typeof I>"u")throw Error(`Unknown file open mode: ${v}`);v=I}if(A=v&64?(typeof A>"u"?438:A)&4095|32768:0,typeof m=="object")var Y=m;else{m=oe(m);try{Y=Ut(m,{fb:!(v&131072)}).node}catch{}}if(I=!1,v&64)if(Y){if(v&128)throw new De(20)}else Y=Ho(m,A,0),I=!0;if(!Y)throw new De(44);if((Y.mode&61440)===8192&&(v&=-513),v&65536&&(Y.mode&61440)!==16384)throw new De(54);if(!I&&(A=Y?(Y.mode&61440)===40960?32:(Y.mode&61440)===16384&&(ri(v)!=="r"||v&512)?31:In(Y,ri(v)):44))throw new De(A);if(v&512&&!I){if(A=Y,A=typeof A=="string"?Ut(A,{fb:!0}).node:A,!A.j.P)throw new De(63);if((A.mode&61440)===16384)throw new De(31);if((A.mode&61440)!==32768)throw new De(28);if(I=In(A,"w"))throw new De(I);A.j.P(A,{size:0,timestamp:Date.now()})}return v&=-131713,Y=Ji({node:Y,path:Kt(Y),flags:v,seekable:!0,position:0,m:Y.m,sc:[],error:!1}),Y.m.open&&Y.m.open(Y),!p.logReadFiles||v&1||(dh||(dh={}),m in dh||(dh[m]=1)),Y}function Bi(m,v,A){if(m.W===null)throw new De(8);if(!m.seekable||!m.m.aa)throw new De(70);if(A!=0&&A!=1&&A!=2)throw new De(28);m.position=m.m.aa(m,v,A),m.sc=[]}var c_;function Ul(m,v,A){m=oe("/dev/"+m);var I=Be(!!v,!!A);f_||(f_=64);var Y=f_++<<8|0;Tn(Y,{open(te){te.seekable=!1},close(){var te;(te=A==null?void 0:A.buffer)!=null&&te.length&&A(10)},read(te,ge,ve,xe){for(var Ce=0,Ne=0;Ne<xe;Ne++){try{var Ze=v()}catch{throw new De(29)}if(Ze===void 0&&Ce===0)throw new De(6);if(Ze==null)break;Ce++,ge[ve+Ne]=Ze}return Ce&&(te.node.timestamp=Date.now()),Ce},write(te,ge,ve,xe){for(var Ce=0;Ce<xe;Ce++)try{A(ge[ve+Ce])}catch{throw new De(29)}return xe&&(te.node.timestamp=Date.now()),Ce}}),Zi(m,I,Y)}var f_,Vo={},dh,jl=void 0,Da=(m,v)=>Object.defineProperty(v,"name",{value:m}),hh=[],Es=[],pt,es=m=>{if(!m)throw new pt("Cannot use deleted val. handle = "+m);return Es[m]},ts=m=>{switch(m){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:const v=hh.pop()||Es.length;return Es[v]=m,Es[v+1]=1,v}},d_=m=>{var v=Error,A=Da(m,function(I){this.name=m,this.message=I,I=Error(I).stack,I!==void 0&&(this.stack=this.toString()+`
`+I.replace(/^Error(:[^\n]*)?\n/,""))});return A.prototype=Object.create(v.prototype),A.prototype.constructor=A,A.prototype.toString=function(){return this.message===void 0?this.name:`${this.name}: ${this.message}`},A},h_,p_,Nn=m=>{for(var v="";Ee[m];)v+=p_[Ee[m++]];return v},Wl=[],ph=()=>{for(;Wl.length;){var m=Wl.pop();m.g.ea=!1,m.delete()}},zl,ks={},mh=(m,v)=>{if(v===void 0)throw new pt("ptr should not be undefined");for(;m.C;)v=m.ma(v),m=m.C;return v},Uo={},m_=m=>{m=P_(m);var v=Nn(m);return Cs(m),v},Gl=(m,v)=>{var A=Uo[m];if(A===void 0)throw m=`${v} has unknown type ${m_(m)}`,new pt(m);return A},Dc=()=>{},gh=!1,g_=(m,v,A)=>v===A?m:A.C===void 0?null:(m=g_(m,v,A.C),m===null?null:A.Lb(m)),__={},BA=(m,v)=>(v=mh(m,v),ks[v]),ql,Nc=(m,v)=>{if(!v.u||!v.o)throw new ql("makeClassHandle requires ptr and ptrType");if(!!v.J!=!!v.F)throw new ql("Both smartPtrType and smartPtr must be specified");return v.count={value:1},Na(Object.create(m,{g:{value:v,writable:!0}}))},Na=m=>typeof FinalizationRegistry>"u"?(Na=v=>v,m):(gh=new FinalizationRegistry(v=>{v=v.g,--v.count.value,v.count.value===0&&(v.F?v.J.O(v.F):v.u.i.O(v.o))}),Na=v=>{var A=v.g;return A.F&&gh.register(v,{g:A},v),v},Dc=v=>{gh.unregister(v)},Na(m)),$c={},Yl=m=>{for(;m.length;){var v=m.pop();m.pop()(v)}};function Kl(m){return this.fromWireType(we[m>>2])}var $a={},Hc={},si=(m,v,A)=>{function I(ve){if(ve=A(ve),ve.length!==m.length)throw new ql("Mismatched type converter count");for(var xe=0;xe<m.length;++xe)ns(m[xe],ve[xe])}m.forEach(function(ve){Hc[ve]=v});var Y=Array(v.length),te=[],ge=0;v.forEach((ve,xe)=>{Uo.hasOwnProperty(ve)?Y[xe]=Uo[ve]:(te.push(ve),$a.hasOwnProperty(ve)||($a[ve]=[]),$a[ve].push(()=>{Y[xe]=Uo[ve],++ge,ge===te.length&&I(Y)}))}),te.length===0&&I(Y)};function VA(m,v,A={}){var I=v.name;if(!m)throw new pt(`type "${I}" must have a positive integer typeid pointer`);if(Uo.hasOwnProperty(m)){if(A.Vb)return;throw new pt(`Cannot register type '${I}' twice`)}Uo[m]=v,delete Hc[m],$a.hasOwnProperty(m)&&(v=$a[m],delete $a[m],v.forEach(Y=>Y()))}function ns(m,v,A={}){if(!("argPackAdvance"in v))throw new TypeError("registerType registeredInstance requires argPackAdvance");return VA(m,v,A)}var _h=m=>{throw new pt(m.g.u.i.name+" instance already deleted")};function Bc(){}var vh=(m,v,A)=>{if(m[v].A===void 0){var I=m[v];m[v]=function(...Y){if(!m[v].A.hasOwnProperty(Y.length))throw new pt(`Function '${A}' called with an invalid number of arguments (${Y.length}) - expects one of (${m[v].A})!`);return m[v].A[Y.length].apply(this,Y)},m[v].A=[],m[v].A[I.da]=I}},yh=(m,v,A)=>{if(p.hasOwnProperty(m)){if(A===void 0||p[m].A!==void 0&&p[m].A[A]!==void 0)throw new pt(`Cannot register public name '${m}' twice`);if(vh(p,m,m),p.hasOwnProperty(A))throw new pt(`Cannot register multiple overloads of a function with the same number of arguments (${A})!`);p[m].A[A]=v}else p[m]=v,A!==void 0&&(p[m].Lc=A)},UA=m=>{if(m===void 0)return"_unknown";m=m.replace(/[^a-zA-Z0-9_]/g,"$");var v=m.charCodeAt(0);return 48<=v&&57>=v?`_${m}`:m};function jA(m,v,A,I,Y,te,ge,ve){this.name=m,this.constructor=v,this.M=A,this.O=I,this.C=Y,this.Qb=te,this.ma=ge,this.Lb=ve,this.pb=[]}var Vc=(m,v,A)=>{for(;v!==A;){if(!v.ma)throw new pt(`Expected null or instance of ${A.name}, got an instance of ${v.name}`);m=v.ma(m),v=v.C}return m};function WA(m,v){if(v===null){if(this.La)throw new pt(`null is not a valid ${this.name}`);return 0}if(!v.g)throw new pt(`Cannot pass "${Sh(v)}" as a ${this.name}`);if(!v.g.o)throw new pt(`Cannot pass deleted object as a pointer of type ${this.name}`);return Vc(v.g.o,v.g.u.i,this.i)}function zA(m,v){if(v===null){if(this.La)throw new pt(`null is not a valid ${this.name}`);if(this.sa){var A=this.Na();return m!==null&&m.push(this.O,A),A}return 0}if(!v||!v.g)throw new pt(`Cannot pass "${Sh(v)}" as a ${this.name}`);if(!v.g.o)throw new pt(`Cannot pass deleted object as a pointer of type ${this.name}`);if(!this.ra&&v.g.u.ra)throw new pt(`Cannot convert argument of type ${v.g.J?v.g.J.name:v.g.u.name} to parameter type ${this.name}`);if(A=Vc(v.g.o,v.g.u.i,this.i),this.sa){if(v.g.F===void 0)throw new pt("Passing raw pointer to smart pointer is illegal");switch(this.mc){case 0:if(v.g.J===this)A=v.g.F;else throw new pt(`Cannot convert argument of type ${v.g.J?v.g.J.name:v.g.u.name} to parameter type ${this.name}`);break;case 1:A=v.g.F;break;case 2:if(v.g.J===this)A=v.g.F;else{var I=v.clone();A=this.ic(A,ts(()=>I.delete())),m!==null&&m.push(this.O,A)}break;default:throw new pt("Unsupporting sharing policy")}}return A}function GA(m,v){if(v===null){if(this.La)throw new pt(`null is not a valid ${this.name}`);return 0}if(!v.g)throw new pt(`Cannot pass "${Sh(v)}" as a ${this.name}`);if(!v.g.o)throw new pt(`Cannot pass deleted object as a pointer of type ${this.name}`);if(v.g.u.ra)throw new pt(`Cannot convert argument of type ${v.g.u.name} to parameter type ${this.name}`);return Vc(v.g.o,v.g.u.i,this.i)}function Uc(m,v,A,I,Y,te,ge,ve,xe,Ce,Ne){this.name=m,this.i=v,this.La=A,this.ra=I,this.sa=Y,this.hc=te,this.mc=ge,this.qb=ve,this.Na=xe,this.ic=Ce,this.O=Ne,Y||v.C!==void 0?this.toWireType=zA:(this.toWireType=I?WA:GA,this.L=null)}var v_=(m,v,A)=>{if(!p.hasOwnProperty(m))throw new ql("Replacing nonexistent public symbol");p[m].A!==void 0&&A!==void 0?p[m].A[A]=v:(p[m]=v,p[m].da=A)},jc=[],y_,b_=m=>{var v=jc[m];return v||(m>=jc.length&&(jc.length=m+1),jc[m]=v=y_.get(m)),v},qA=(m,v,A=[])=>(m.includes("j")?(m=m.replace(/p/g,"i"),v=(0,p["dynCall_"+m])(v,...A)):v=b_(v)(...A),v),YA=(m,v)=>(...A)=>qA(m,v,A),vr=(m,v)=>{m=Nn(m);var A=m.includes("j")?YA(m,v):b_(v);if(typeof A!="function")throw new pt(`unknown function pointer with signature ${m}: ${v}`);return A},w_,Rs=(m,v)=>{function A(te){Y[te]||Uo[te]||(Hc[te]?Hc[te].forEach(A):(I.push(te),Y[te]=!0))}var I=[],Y={};throw v.forEach(A),new w_(`${m}: `+I.map(m_).join([", "]))};function KA(m){for(var v=1;v<m.length;++v)if(m[v]!==null&&m[v].L===void 0)return!0;return!1}function Wc(m,v,A,I,Y){var te=v.length;if(2>te)throw new pt("argTypes array size mismatch! Must at least get return value and 'this' types!");var ge=v[1]!==null&&A!==null,ve=KA(v),xe=v[0].name!=="void",Ce=te-2,Ne=Array(Ce),Ze=[],it=[];return Da(m,function(...Se){if(Se.length!==Ce)throw new pt(`function ${m} called with ${Se.length} arguments, expected ${Ce}`);if(it.length=0,Ze.length=ge?2:1,Ze[0]=Y,ge){var Ue=v[1].toWireType(it,this);Ze[1]=Ue}for(var Me=0;Me<Ce;++Me)Ne[Me]=v[Me+2].toWireType(it,Se[Me]),Ze.push(Ne[Me]);if(Se=I(...Ze),ve)Yl(it);else for(Me=ge?1:2;Me<v.length;Me++){var Tt=Me===1?Ue:Ne[Me-2];v[Me].L!==null&&v[Me].L(Tt)}return Ue=xe?v[0].fromWireType(Se):void 0,Ue})}var zc=(m,v)=>{for(var A=[],I=0;I<m;I++)A.push(we[v+4*I>>2]);return A},bh=m=>{m=m.trim();const v=m.indexOf("(");return v!==-1?m.substr(0,v):m},S_=(m,v,A)=>{if(!(m instanceof Object))throw new pt(`${A} with invalid "this": ${m}`);if(!(m instanceof v.i.constructor))throw new pt(`${A} incompatible with "this" of type ${m.constructor.name}`);if(!m.g.o)throw new pt(`cannot call emscripten binding method ${A} on deleted object`);return Vc(m.g.o,m.g.u.i,v.i)},wh=m=>{9<m&&--Es[m+1]===0&&(Es[m]=void 0,hh.push(m))},XA={name:"emscripten::val",fromWireType:m=>{var v=es(m);return wh(m),v},toWireType:(m,v)=>ts(v),argPackAdvance:8,readValueFromPointer:Kl,L:null},QA=(m,v,A)=>{switch(v){case 1:return A?function(I){return this.fromWireType(pe[I])}:function(I){return this.fromWireType(Ee[I])};case 2:return A?function(I){return this.fromWireType(ke[I>>1])}:function(I){return this.fromWireType(Re[I>>1])};case 4:return A?function(I){return this.fromWireType(ye[I>>2])}:function(I){return this.fromWireType(we[I>>2])};default:throw new TypeError(`invalid integer width (${v}): ${m}`)}},Sh=m=>{if(m===null)return"null";var v=typeof m;return v==="object"||v==="array"||v==="function"?m.toString():""+m},JA=(m,v)=>{switch(v){case 4:return function(A){return this.fromWireType(se[A>>2])};case 8:return function(A){return this.fromWireType(le[A>>3])};default:throw new TypeError(`invalid float width (${v}): ${m}`)}},ZA=(m,v,A)=>{switch(v){case 1:return A?I=>pe[I]:I=>Ee[I];case 2:return A?I=>ke[I>>1]:I=>Re[I>>1];case 4:return A?I=>ye[I>>2]:I=>we[I>>2];default:throw new TypeError(`invalid integer width (${v}): ${m}`)}},T_=typeof TextDecoder<"u"?new TextDecoder("utf-16le"):void 0,eE=(m,v)=>{for(var A=m>>1,I=A+v/2;!(A>=I)&&Re[A];)++A;if(A<<=1,32<A-m&&T_)return T_.decode(Ee.subarray(m,A));for(A="",I=0;!(I>=v/2);++I){var Y=ke[m+2*I>>1];if(Y==0)break;A+=String.fromCharCode(Y)}return A},tE=(m,v,A)=>{if(A??(A=2147483647),2>A)return 0;A-=2;var I=v;A=A<2*m.length?A/2:m.length;for(var Y=0;Y<A;++Y)ke[v>>1]=m.charCodeAt(Y),v+=2;return ke[v>>1]=0,v-I},nE=m=>2*m.length,rE=(m,v)=>{for(var A=0,I="";!(A>=v/4);){var Y=ye[m+4*A>>2];if(Y==0)break;++A,65536<=Y?(Y-=65536,I+=String.fromCharCode(55296|Y>>10,56320|Y&1023)):I+=String.fromCharCode(Y)}return I},iE=(m,v,A)=>{if(A??(A=2147483647),4>A)return 0;var I=v;A=I+A-4;for(var Y=0;Y<m.length;++Y){var te=m.charCodeAt(Y);if(55296<=te&&57343>=te){var ge=m.charCodeAt(++Y);te=65536+((te&1023)<<10)|ge&1023}if(ye[v>>2]=te,v+=4,v+4>A)break}return ye[v>>2]=0,v-I},sE=m=>{for(var v=0,A=0;A<m.length;++A){var I=m.charCodeAt(A);55296<=I&&57343>=I&&++A,v+=4}return v},A_=(m,v,A)=>{var I=[];return m=m.toWireType(I,A),I.length&&(we[v>>2]=ts(I)),m},oE={},Th=m=>{var v=oE[m];return v===void 0?Nn(m):v},Ah=[],aE=m=>{var v=Ah.length;return Ah.push(m),v},lE=(m,v)=>{for(var A=Array(m),I=0;I<m;++I)A[I]=Gl(we[v+4*I>>2],"parameter "+I);return A},uE=Reflect.construct,Eh=[],kh={},E_=()=>{if(!Rh){var m={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:N||"./this.program"},v;for(v in kh)kh[v]===void 0?delete m[v]:m[v]=kh[v];var A=[];for(v in m)A.push(`${v}=${m[v]}`);Rh=A}return Rh},Rh,Gc=m=>m%4===0&&(m%100!==0||m%400===0),k_=[31,29,31,30,31,30,31,31,30,31,30,31],R_=[31,28,31,30,31,30,31,31,30,31,30,31],cE=(m,v,A,I)=>{function Y(Se,Ue,Me){for(Se=typeof Se=="number"?Se.toString():Se||"";Se.length<Ue;)Se=Me[0]+Se;return Se}function te(Se,Ue){return Y(Se,Ue,"0")}function ge(Se,Ue){function Me(Lt){return 0>Lt?-1:0<Lt?1:0}var Tt;return(Tt=Me(Se.getFullYear()-Ue.getFullYear()))===0&&(Tt=Me(Se.getMonth()-Ue.getMonth()))===0&&(Tt=Me(Se.getDate()-Ue.getDate())),Tt}function ve(Se){switch(Se.getDay()){case 0:return new Date(Se.getFullYear()-1,11,29);case 1:return Se;case 2:return new Date(Se.getFullYear(),0,3);case 3:return new Date(Se.getFullYear(),0,2);case 4:return new Date(Se.getFullYear(),0,1);case 5:return new Date(Se.getFullYear()-1,11,31);case 6:return new Date(Se.getFullYear()-1,11,30)}}function xe(Se){var Ue=Se.ba;for(Se=new Date(new Date(Se.ca+1900,0,1).getTime());0<Ue;){var Me=Se.getMonth(),Tt=(Gc(Se.getFullYear())?k_:R_)[Me];if(Ue>Tt-Se.getDate())Ue-=Tt-Se.getDate()+1,Se.setDate(1),11>Me?Se.setMonth(Me+1):(Se.setMonth(0),Se.setFullYear(Se.getFullYear()+1));else{Se.setDate(Se.getDate()+Ue);break}}return Me=new Date(Se.getFullYear()+1,0,4),Ue=ve(new Date(Se.getFullYear(),0,4)),Me=ve(Me),0>=ge(Ue,Se)?0>=ge(Me,Se)?Se.getFullYear()+1:Se.getFullYear():Se.getFullYear()-1}var Ce=we[I+40>>2];I={pc:ye[I>>2],oc:ye[I+4>>2],Da:ye[I+8>>2],Qa:ye[I+12>>2],Ea:ye[I+16>>2],ca:ye[I+20>>2],R:ye[I+24>>2],ba:ye[I+28>>2],Nc:ye[I+32>>2],nc:ye[I+36>>2],qc:Ce&&Ce?at(Ee,Ce):""},A=A?at(Ee,A):"",Ce={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var Ne in Ce)A=A.replace(new RegExp(Ne,"g"),Ce[Ne]);var Ze="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),it="January February March April May June July August September October November December".split(" ");Ce={"%a":Se=>Ze[Se.R].substring(0,3),"%A":Se=>Ze[Se.R],"%b":Se=>it[Se.Ea].substring(0,3),"%B":Se=>it[Se.Ea],"%C":Se=>te((Se.ca+1900)/100|0,2),"%d":Se=>te(Se.Qa,2),"%e":Se=>Y(Se.Qa,2," "),"%g":Se=>xe(Se).toString().substring(2),"%G":xe,"%H":Se=>te(Se.Da,2),"%I":Se=>(Se=Se.Da,Se==0?Se=12:12<Se&&(Se-=12),te(Se,2)),"%j":Se=>{for(var Ue=0,Me=0;Me<=Se.Ea-1;Ue+=(Gc(Se.ca+1900)?k_:R_)[Me++]);return te(Se.Qa+Ue,3)},"%m":Se=>te(Se.Ea+1,2),"%M":Se=>te(Se.oc,2),"%n":()=>`
`,"%p":Se=>0<=Se.Da&&12>Se.Da?"AM":"PM","%S":Se=>te(Se.pc,2),"%t":()=>" ","%u":Se=>Se.R||7,"%U":Se=>te(Math.floor((Se.ba+7-Se.R)/7),2),"%V":Se=>{var Ue=Math.floor((Se.ba+7-(Se.R+6)%7)/7);if(2>=(Se.R+371-Se.ba-2)%7&&Ue++,Ue)Ue==53&&(Me=(Se.R+371-Se.ba)%7,Me==4||Me==3&&Gc(Se.ca)||(Ue=1));else{Ue=52;var Me=(Se.R+7-Se.ba-1)%7;(Me==4||Me==5&&Gc(Se.ca%400-1))&&Ue++}return te(Ue,2)},"%w":Se=>Se.R,"%W":Se=>te(Math.floor((Se.ba+7-(Se.R+6)%7)/7),2),"%y":Se=>(Se.ca+1900).toString().substring(2),"%Y":Se=>Se.ca+1900,"%z":Se=>{Se=Se.nc;var Ue=0<=Se;return Se=Math.abs(Se)/60,(Ue?"+":"-")+("0000"+(Se/60*100+Se%60)).slice(-4)},"%Z":Se=>Se.qc,"%%":()=>"%"},A=A.replace(/%%/g,"\0\0");for(Ne in Ce)A.includes(Ne)&&(A=A.replace(new RegExp(Ne,"g"),Ce[Ne](I)));return A=A.replace(/\0\0/g,"%"),Ne=Ct(A,!1),Ne.length>v?0:(pe.set(Ne,m),Ne.length-1)};[44].forEach(m=>{_n[m]=new De(m),_n[m].stack="<generic error, no stack>"}),ft=Array(4096),ii(He,"/"),Si("/tmp"),Si("/home"),Si("/home/web_user"),(function(){Si("/dev"),Tn(259,{read:()=>0,write:(I,Y,te,ge)=>ge}),Zi("/dev/null",259),At(1280,Bn),At(1536,nn),Zi("/dev/tty",1280),Zi("/dev/tty1",1536);var m=new Uint8Array(1024),v=0,A=()=>(v===0&&(v=Xe(m).byteLength),m[--v]);Ul("random",A),Ul("urandom",A),Si("/dev/shm"),Si("/dev/shm/tmp")})(),(function(){Si("/proc");var m=Si("/proc/self");Si("/proc/self/fd"),ii({U(){var v=_r(m,"fd",16895,73);return v.j={ja(A,I){var Y=vn(+I);return A={parent:null,U:{lb:"fake"},j:{la:()=>Y.path}},A.parent=A}},v}},"/proc/self/fd")})(),pt=p.BindingError=class extends Error{constructor(m){super(m),this.name="BindingError"}},Es.push(0,1,void 0,1,null,1,!0,1,!1,1),p.count_emval_handles=()=>Es.length/2-5-hh.length,h_=p.PureVirtualError=d_("PureVirtualError");for(var C_=Array(256),qc=0;256>qc;++qc)C_[qc]=String.fromCharCode(qc);p_=C_,p.getInheritedInstanceCount=()=>Object.keys(ks).length,p.getLiveInheritedInstances=()=>{var m=[],v;for(v in ks)ks.hasOwnProperty(v)&&m.push(ks[v]);return m},p.flushPendingDeletes=ph,p.setDelayFunction=m=>{zl=m,Wl.length&&zl&&zl(ph)},ql=p.InternalError=class extends Error{constructor(m){super(m),this.name="InternalError"}},Object.assign(Bc.prototype,{isAliasOf:function(m){if(!(this instanceof Bc&&m instanceof Bc))return!1;var v=this.g.u.i,A=this.g.o;m.g=m.g;var I=m.g.u.i;for(m=m.g.o;v.C;)A=v.ma(A),v=v.C;for(;I.C;)m=I.ma(m),I=I.C;return v===I&&A===m},clone:function(){if(this.g.o||_h(this),this.g.ha)return this.g.count.value+=1,this;var m=Na,v=Object,A=v.create,I=Object.getPrototypeOf(this),Y=this.g;return m=m(A.call(v,I,{g:{value:{count:Y.count,ea:Y.ea,ha:Y.ha,o:Y.o,u:Y.u,F:Y.F,J:Y.J}}})),m.g.count.value+=1,m.g.ea=!1,m},delete(){if(this.g.o||_h(this),this.g.ea&&!this.g.ha)throw new pt("Object already scheduled for deletion");Dc(this);var m=this.g;--m.count.value,m.count.value===0&&(m.F?m.J.O(m.F):m.u.i.O(m.o)),this.g.ha||(this.g.F=void 0,this.g.o=void 0)},isDeleted:function(){return!this.g.o},deleteLater:function(){if(this.g.o||_h(this),this.g.ea&&!this.g.ha)throw new pt("Object already scheduled for deletion");return Wl.push(this),Wl.length===1&&zl&&zl(ph),this.g.ea=!0,this}}),Object.assign(Uc.prototype,{Rb(m){return this.qb&&(m=this.qb(m)),m},ab(m){var v;(v=this.O)==null||v.call(this,m)},argPackAdvance:8,readValueFromPointer:Kl,fromWireType:function(m){function v(){return this.sa?Nc(this.i.M,{u:this.hc,o:A,J:this,F:m}):Nc(this.i.M,{u:this,o:m})}var A=this.Rb(m);if(!A)return this.ab(m),null;var I=BA(this.i,A);if(I!==void 0)return I.g.count.value===0?(I.g.o=A,I.g.F=m,I.clone()):(I=I.clone(),this.ab(m),I);if(I=this.i.Qb(A),I=__[I],!I)return v.call(this);I=this.ra?I.Hb:I.pointerType;var Y=g_(A,this.i,I.i);return Y===null?v.call(this):this.sa?Nc(I.i.M,{u:I,o:Y,J:this,F:m}):Nc(I.i.M,{u:I,o:Y})}}),w_=p.UnboundTypeError=d_("UnboundTypeError");var x_={__syscall_fcntl64:function(m,v,A){jl=A;try{var I=vn(m);switch(v){case 0:var Y=w();if(0>Y)break;for(;ct[Y];)Y++;return Fa(I,Y).W;case 1:case 2:return 0;case 3:return I.flags;case 4:return Y=w(),I.flags|=Y,0;case 12:return Y=w(),ke[Y+0>>1]=2,0;case 13:case 14:return 0}return-28}catch(te){if(typeof Vo>"u"||te.name!=="ErrnoError")throw te;return-te.$}},__syscall_ioctl:function(m,v,A){jl=A;try{var I=vn(m);switch(v){case 21509:return I.s?0:-59;case 21505:if(!I.s)return-59;if(I.s.V.Xb){m=[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];var Y=w();ye[Y>>2]=25856,ye[Y+4>>2]=5,ye[Y+8>>2]=191,ye[Y+12>>2]=35387;for(var te=0;32>te;te++)pe[Y+te+17]=m[te]||0}return 0;case 21510:case 21511:case 21512:return I.s?0:-59;case 21506:case 21507:case 21508:if(!I.s)return-59;if(I.s.V.Yb)for(Y=w(),m=[],te=0;32>te;te++)m.push(pe[Y+te+17]);return 0;case 21519:return I.s?(Y=w(),ye[Y>>2]=0):-59;case 21520:return I.s?-28:-59;case 21531:if(Y=w(),!I.m.Wb)throw new De(59);return I.m.Wb(I,v,Y);case 21523:return I.s?(I.s.V.Zb&&(te=[24,80],Y=w(),ke[Y>>1]=te[0],ke[Y+2>>1]=te[1]),0):-59;case 21524:return I.s?0:-59;case 21515:return I.s?0:-59;default:return-28}}catch(ge){if(typeof Vo>"u"||ge.name!=="ErrnoError")throw ge;return-ge.$}},__syscall_openat:function(m,v,A,I){jl=I;try{v=v?at(Ee,v):"";var Y=v;if(Y.charAt(0)==="/")v=Y;else{var te=m===-100?"/":vn(m).path;if(Y.length==0)throw new De(44);v=oe(te+"/"+Y)}var ge=I?w():0;return As(v,A,ge).W}catch(ve){if(typeof Vo>"u"||ve.name!=="ErrnoError")throw ve;return-ve.$}},_abort_js:()=>{K("")},_embind_create_inheriting_constructor:(m,v,A)=>{m=Nn(m),v=Gl(v,"wrapper"),A=es(A);var I=v.i,Y=I.M,te=I.C.M,ge=I.C.constructor;return m=Da(m,function(...ve){I.C.pb.forEach((function(xe){if(this[xe]===te[xe])throw new h_(`Pure virtual function ${xe} must be implemented in JavaScript`)}).bind(this)),Object.defineProperty(this,"__parent",{value:Y}),this.__construct(...ve)}),Y.__construct=function(...ve){if(this===Y)throw new pt("Pass correct 'this' to __construct");ve=ge.implement(this,...ve),Dc(ve);var xe=ve.g;if(ve.notifyOnDestruction(),xe.ha=!0,Object.defineProperties(this,{g:{value:xe}}),Na(this),ve=xe.o,ve=mh(I,ve),ks.hasOwnProperty(ve))throw new pt(`Tried to register registered instance: ${ve}`);ks[ve]=this},Y.__destruct=function(){if(this===Y)throw new pt("Pass correct 'this' to __destruct");Dc(this);var ve=this.g.o;if(ve=mh(I,ve),ks.hasOwnProperty(ve))delete ks[ve];else throw new pt(`Tried to unregister unregistered instance: ${ve}`)},m.prototype=Object.create(Y),Object.assign(m.prototype,A),ts(m)},_embind_finalize_value_object:m=>{var v=$c[m];delete $c[m];var A=v.Na,I=v.O,Y=v.eb,te=Y.map(ge=>ge.Ub).concat(Y.map(ge=>ge.kc));si([m],te,ge=>{var ve={};return Y.forEach((xe,Ce)=>{var Ne=ge[Ce],Ze=xe.Sb,it=xe.Tb,Se=ge[Ce+Y.length],Ue=xe.jc,Me=xe.lc;ve[xe.Ob]={read:Tt=>Ne.fromWireType(Ze(it,Tt)),write:(Tt,Lt)=>{var Je=[];Ue(Me,Tt,Se.toWireType(Je,Lt)),Yl(Je)}}}),[{name:v.name,fromWireType:xe=>{var Ce={},Ne;for(Ne in ve)Ce[Ne]=ve[Ne].read(xe);return I(xe),Ce},toWireType:(xe,Ce)=>{for(var Ne in ve)if(!(Ne in Ce))throw new TypeError(`Missing field: "${Ne}"`);var Ze=A();for(Ne in ve)ve[Ne].write(Ze,Ce[Ne]);return xe!==null&&xe.push(I,Ze),Ze},argPackAdvance:8,readValueFromPointer:Kl,L:I}]})},_embind_register_bigint:()=>{},_embind_register_bool:(m,v,A,I)=>{v=Nn(v),ns(m,{name:v,fromWireType:function(Y){return!!Y},toWireType:function(Y,te){return te?A:I},argPackAdvance:8,readValueFromPointer:function(Y){return this.fromWireType(Ee[Y])},L:null})},_embind_register_class:(m,v,A,I,Y,te,ge,ve,xe,Ce,Ne,Ze,it)=>{Ne=Nn(Ne),te=vr(Y,te),ve&&(ve=vr(ge,ve)),Ce&&(Ce=vr(xe,Ce)),it=vr(Ze,it);var Se=UA(Ne);yh(Se,function(){Rs(`Cannot construct ${Ne} due to unbound types`,[I])}),si([m,v,A],I?[I]:[],Ue=>{if(Ue=Ue[0],I)var Me=Ue.i,Tt=Me.M;else Tt=Bc.prototype;Ue=Da(Ne,function(...tr){if(Object.getPrototypeOf(this)!==Lt)throw new pt("Use 'new' to construct "+Ne);if(Je.Z===void 0)throw new pt(Ne+" has no accessible constructor");var oi=Je.Z[tr.length];if(oi===void 0)throw new pt(`Tried to invoke ctor of ${Ne} with invalid number of parameters (${tr.length}) - expected (${Object.keys(Je.Z).toString()}) parameters instead!`);return oi.apply(this,tr)});var Lt=Object.create(Tt,{constructor:{value:Ue}});Ue.prototype=Lt;var Je=new jA(Ne,Ue,Lt,it,Me,te,ve,Ce);if(Je.C){var on;(on=Je.C).na??(on.na=[]),Je.C.na.push(Je)}return Me=new Uc(Ne,Je,!0,!1,!1),on=new Uc(Ne+"*",Je,!1,!1,!1),Tt=new Uc(Ne+" const*",Je,!1,!0,!1),__[m]={pointerType:on,Hb:Tt},v_(Se,Ue),[Me,on,Tt]})},_embind_register_class_class_function:(m,v,A,I,Y,te,ge)=>{var ve=zc(A,I);v=Nn(v),v=bh(v),te=vr(Y,te),si([],[m],xe=>{function Ce(){Rs(`Cannot call ${Ne} due to unbound types`,ve)}xe=xe[0];var Ne=`${xe.name}.${v}`;v.startsWith("@@")&&(v=Symbol[v.substring(2)]);var Ze=xe.i.constructor;return Ze[v]===void 0?(Ce.da=A-1,Ze[v]=Ce):(vh(Ze,v,Ne),Ze[v].A[A-1]=Ce),si([],ve,it=>{if(it=Wc(Ne,[it[0],null].concat(it.slice(1)),null,te,ge),Ze[v].A===void 0?(it.da=A-1,Ze[v]=it):Ze[v].A[A-1]=it,xe.i.na)for(const Se of xe.i.na)Se.constructor.hasOwnProperty(v)||(Se.constructor[v]=it);return[]}),[]})},_embind_register_class_class_property:(m,v,A,I,Y,te,ge,ve)=>{v=Nn(v),te=vr(Y,te),si([],[m],xe=>{xe=xe[0];var Ce=`${xe.name}.${v}`,Ne={get(){Rs(`Cannot access ${Ce} due to unbound types`,[A])},enumerable:!0,configurable:!0};return Ne.set=ve?()=>{Rs(`Cannot access ${Ce} due to unbound types`,[A])}:()=>{throw new pt(`${Ce} is a read-only property`)},Object.defineProperty(xe.i.constructor,v,Ne),si([],[A],Ze=>{Ze=Ze[0];var it={get(){return Ze.fromWireType(te(I))},enumerable:!0};return ve&&(ve=vr(ge,ve),it.set=Se=>{var Ue=[];ve(I,Ze.toWireType(Ue,Se)),Yl(Ue)}),Object.defineProperty(xe.i.constructor,v,it),[]}),[]})},_embind_register_class_constructor:(m,v,A,I,Y,te)=>{var ge=zc(v,A);Y=vr(I,Y),si([],[m],ve=>{ve=ve[0];var xe=`constructor ${ve.name}`;if(ve.i.Z===void 0&&(ve.i.Z=[]),ve.i.Z[v-1]!==void 0)throw new pt(`Cannot register multiple constructors with identical number of parameters (${v-1}) for class '${ve.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return ve.i.Z[v-1]=()=>{Rs(`Cannot construct ${ve.name} due to unbound types`,ge)},si([],ge,Ce=>(Ce.splice(1,0,null),ve.i.Z[v-1]=Wc(xe,Ce,null,Y,te),[])),[]})},_embind_register_class_function:(m,v,A,I,Y,te,ge,ve)=>{var xe=zc(A,I);v=Nn(v),v=bh(v),te=vr(Y,te),si([],[m],Ce=>{function Ne(){Rs(`Cannot call ${Ze} due to unbound types`,xe)}Ce=Ce[0];var Ze=`${Ce.name}.${v}`;v.startsWith("@@")&&(v=Symbol[v.substring(2)]),ve&&Ce.i.pb.push(v);var it=Ce.i.M,Se=it[v];return Se===void 0||Se.A===void 0&&Se.className!==Ce.name&&Se.da===A-2?(Ne.da=A-2,Ne.className=Ce.name,it[v]=Ne):(vh(it,v,Ze),it[v].A[A-2]=Ne),si([],xe,Ue=>(Ue=Wc(Ze,Ue,Ce,te,ge),it[v].A===void 0?(Ue.da=A-2,it[v]=Ue):it[v].A[A-2]=Ue,[])),[]})},_embind_register_class_property:(m,v,A,I,Y,te,ge,ve,xe,Ce)=>{v=Nn(v),Y=vr(I,Y),si([],[m],Ne=>{Ne=Ne[0];var Ze=`${Ne.name}.${v}`,it={get(){Rs(`Cannot access ${Ze} due to unbound types`,[A,ge])},enumerable:!0,configurable:!0};return it.set=xe?()=>Rs(`Cannot access ${Ze} due to unbound types`,[A,ge]):()=>{throw new pt(Ze+" is a read-only property")},Object.defineProperty(Ne.i.M,v,it),si([],xe?[A,ge]:[A],Se=>{var Ue=Se[0],Me={get(){var Lt=S_(this,Ne,Ze+" getter");return Ue.fromWireType(Y(te,Lt))},enumerable:!0};if(xe){xe=vr(ve,xe);var Tt=Se[1];Me.set=function(Lt){var Je=S_(this,Ne,Ze+" setter"),on=[];xe(Ce,Je,Tt.toWireType(on,Lt)),Yl(on)}}return Object.defineProperty(Ne.i.M,v,Me),[]}),[]})},_embind_register_emval:m=>ns(m,XA),_embind_register_enum:(m,v,A,I)=>{function Y(){}v=Nn(v),Y.values={},ns(m,{name:v,constructor:Y,fromWireType:function(te){return this.constructor.values[te]},toWireType:(te,ge)=>ge.value,argPackAdvance:8,readValueFromPointer:QA(v,A,I),L:null}),yh(v,Y)},_embind_register_enum_value:(m,v,A)=>{var I=Gl(m,"enum");v=Nn(v),m=I.constructor,I=Object.create(I.constructor.prototype,{value:{value:A},constructor:{value:Da(`${I.name}_${v}`,function(){})}}),m.values[A]=I,m[v]=I},_embind_register_float:(m,v,A)=>{v=Nn(v),ns(m,{name:v,fromWireType:I=>I,toWireType:(I,Y)=>Y,argPackAdvance:8,readValueFromPointer:JA(v,A),L:null})},_embind_register_function:(m,v,A,I,Y,te)=>{var ge=zc(v,A);m=Nn(m),m=bh(m),Y=vr(I,Y),yh(m,function(){Rs(`Cannot call ${m} due to unbound types`,ge)},v-1),si([],ge,ve=>(v_(m,Wc(m,[ve[0],null].concat(ve.slice(1)),null,Y,te),v-1),[]))},_embind_register_integer:(m,v,A,I,Y)=>{if(v=Nn(v),Y===-1&&(Y=4294967295),Y=ve=>ve,I===0){var te=32-8*A;Y=ve=>ve<<te>>>te}var ge=v.includes("unsigned")?function(ve,xe){return xe>>>0}:function(ve,xe){return xe};ns(m,{name:v,fromWireType:Y,toWireType:ge,argPackAdvance:8,readValueFromPointer:ZA(v,A,I!==0),L:null})},_embind_register_memory_view:(m,v,A)=>{function I(te){return new Y(pe.buffer,we[te+4>>2],we[te>>2])}var Y=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][v];A=Nn(A),ns(m,{name:A,fromWireType:I,argPackAdvance:8,readValueFromPointer:I},{Vb:!0})},_embind_register_std_string:(m,v)=>{v=Nn(v);var A=v==="std::string";ns(m,{name:v,fromWireType:function(I){var Y=we[I>>2],te=I+4;if(A)for(var ge=te,ve=0;ve<=Y;++ve){var xe=te+ve;if(ve==Y||Ee[xe]==0){if(ge=ge?at(Ee,ge,xe-ge):"",Ce===void 0)var Ce=ge;else Ce+="\0",Ce+=ge;ge=xe+1}}else{for(Ce=Array(Y),ve=0;ve<Y;++ve)Ce[ve]=String.fromCharCode(Ee[te+ve]);Ce=Ce.join("")}return Cs(I),Ce},toWireType:function(I,Y){Y instanceof ArrayBuffer&&(Y=new Uint8Array(Y));var te=typeof Y=="string";if(!(te||Y instanceof Uint8Array||Y instanceof Uint8ClampedArray||Y instanceof Int8Array))throw new pt("Cannot pass non-string to std::string");var ge=A&&te?Ye(Y):Y.length,ve=Ch(4+ge+1),xe=ve+4;if(we[ve>>2]=ge,A&&te)Yt(Y,Ee,xe,ge+1);else if(te)for(te=0;te<ge;++te){var Ce=Y.charCodeAt(te);if(255<Ce)throw Cs(xe),new pt("String has UTF-16 code units that do not fit in 8 bits");Ee[xe+te]=Ce}else for(te=0;te<ge;++te)Ee[xe+te]=Y[te];return I!==null&&I.push(Cs,ve),ve},argPackAdvance:8,readValueFromPointer:Kl,L(I){Cs(I)}})},_embind_register_std_wstring:(m,v,A)=>{if(A=Nn(A),v===2)var I=eE,Y=tE,te=nE,ge=ve=>Re[ve>>1];else v===4&&(I=rE,Y=iE,te=sE,ge=ve=>we[ve>>2]);ns(m,{name:A,fromWireType:ve=>{for(var xe=we[ve>>2],Ce,Ne=ve+4,Ze=0;Ze<=xe;++Ze){var it=ve+4+Ze*v;(Ze==xe||ge(it)==0)&&(Ne=I(Ne,it-Ne),Ce===void 0?Ce=Ne:(Ce+="\0",Ce+=Ne),Ne=it+v)}return Cs(ve),Ce},toWireType:(ve,xe)=>{if(typeof xe!="string")throw new pt(`Cannot pass non-string to C++ string type ${A}`);var Ce=te(xe),Ne=Ch(4+Ce+v);return we[Ne>>2]=Ce/v,Y(xe,Ne+4,Ce+v),ve!==null&&ve.push(Cs,Ne),Ne},argPackAdvance:8,readValueFromPointer:Kl,L(ve){Cs(ve)}})},_embind_register_value_object:(m,v,A,I,Y,te)=>{$c[m]={name:Nn(v),Na:vr(A,I),O:vr(Y,te),eb:[]}},_embind_register_value_object_field:(m,v,A,I,Y,te,ge,ve,xe,Ce)=>{$c[m].eb.push({Ob:Nn(v),Ub:A,Sb:vr(I,Y),Tb:te,kc:ge,jc:vr(ve,xe),lc:Ce})},_embind_register_void:(m,v)=>{v=Nn(v),ns(m,{Ic:!0,name:v,argPackAdvance:0,fromWireType:()=>{},toWireType:()=>{}})},_emscripten_get_now_is_monotonic:()=>1,_emscripten_memcpy_js:(m,v,A)=>Ee.copyWithin(m,v,v+A),_emval_as:(m,v,A)=>(m=es(m),v=Gl(v,"emval::as"),A_(v,A,m)),_emval_call_method:(m,v,A,I,Y)=>(m=Ah[m],v=es(v),A=Th(A),m(v,v[A],I,Y)),_emval_decref:wh,_emval_get_method_caller:(m,v,A)=>{var I=lE(m,v),Y=I.shift();m--;var te=Array(m);return v=`methodCaller<(${I.map(ge=>ge.name).join(", ")}) => ${Y.name}>`,aE(Da(v,(ge,ve,xe,Ce)=>{for(var Ne=0,Ze=0;Ze<m;++Ze)te[Ze]=I[Ze].readValueFromPointer(Ce+Ne),Ne+=I[Ze].argPackAdvance;return ge=A===1?uE(ve,te):ve.apply(ge,te),A_(Y,xe,ge)}))},_emval_get_module_property:m=>(m=Th(m),ts(p[m])),_emval_get_property:(m,v)=>(m=es(m),v=es(v),ts(m[v])),_emval_incref:m=>{9<m&&(Es[m+1]+=1)},_emval_new_array:()=>ts([]),_emval_new_cstring:m=>ts(Th(m)),_emval_new_object:()=>ts({}),_emval_run_destructors:m=>{var v=es(m);Yl(v),wh(m)},_emval_set_property:(m,v,A)=>{m=es(m),v=es(v),A=es(A),m[v]=A},_emval_take_value:(m,v)=>(m=Gl(m,"_emval_take_value"),m=m.readValueFromPointer(v),ts(m)),emscripten_asm_const_int:(m,v,A)=>{Eh.length=0;for(var I;I=Ee[v++];){var Y=I!=105;Y&=I!=112,A+=Y&&A%8?4:0,Eh.push(I==112?we[A>>2]:I==105?ye[A>>2]:le[A>>3]),A+=Y?8:4}return R[m](...Eh)},emscripten_date_now:()=>Date.now(),emscripten_get_now:()=>performance.now(),emscripten_resize_heap:m=>{var v=Ee.length;if(m>>>=0,2147483648<m)return!1;for(var A=1;4>=A;A*=2){var I=v*(1+.2/A);I=Math.min(I,m+100663296);var Y=Math;I=Math.max(m,I);e:{Y=(Y.min.call(Y,2147483648,I+(65536-I%65536)%65536)-ae.buffer.byteLength+65535)/65536;try{ae.grow(Y),he();var te=1;break e}catch{}te=void 0}if(te)return!0}return!1},environ_get:(m,v)=>{var A=0;return E_().forEach((I,Y)=>{var te=v+A;for(Y=we[m+4*Y>>2]=te,te=0;te<I.length;++te)pe[Y++]=I.charCodeAt(te);pe[Y]=0,A+=I.length+1}),0},environ_sizes_get:(m,v)=>{var A=E_();we[m>>2]=A.length;var I=0;return A.forEach(Y=>I+=Y.length+1),we[v>>2]=I,0},fd_close:function(m){try{var v=vn(m);if(v.W===null)throw new De(8);v.Ka&&(v.Ka=null);try{v.m.close&&v.m.close(v)}catch(A){throw A}finally{ct[v.W]=null}return v.W=null,0}catch(A){if(typeof Vo>"u"||A.name!=="ErrnoError")throw A;return A.$}},fd_read:function(m,v,A,I){try{e:{var Y=vn(m);m=v;for(var te,ge=v=0;ge<A;ge++){var ve=we[m>>2],xe=we[m+4>>2];m+=8;var Ce=Y,Ne=te,Ze=pe;if(0>xe||0>Ne)throw new De(28);if(Ce.W===null)throw new De(8);if((Ce.flags&2097155)===1)throw new De(8);if((Ce.node.mode&61440)===16384)throw new De(31);if(!Ce.m.read)throw new De(28);var it=typeof Ne<"u";if(!it)Ne=Ce.position;else if(!Ce.seekable)throw new De(70);var Se=Ce.m.read(Ce,Ze,ve,xe,Ne);it||(Ce.position+=Se);var Ue=Se;if(0>Ue){var Me=-1;break e}if(v+=Ue,Ue<xe)break;typeof te<"u"&&(te+=Ue)}Me=v}return we[I>>2]=Me,0}catch(Tt){if(typeof Vo>"u"||Tt.name!=="ErrnoError")throw Tt;return Tt.$}},fd_seek:function(m,v,A,I,Y){v=A+2097152>>>0<4194305-!!v?(v>>>0)+4294967296*A:NaN;try{if(isNaN(v))return 61;var te=vn(m);return Bi(te,v,I),ce=[te.position>>>0,(ne=te.position,1<=+Math.abs(ne)?0<ne?+Math.floor(ne/4294967296)>>>0:~~+Math.ceil((ne-+(~~ne>>>0))/4294967296)>>>0:0)],ye[Y>>2]=ce[0],ye[Y+4>>2]=ce[1],te.Ka&&v===0&&I===0&&(te.Ka=null),0}catch(ge){if(typeof Vo>"u"||ge.name!=="ErrnoError")throw ge;return ge.$}},fd_write:function(m,v,A,I){try{e:{var Y=vn(m);m=v;for(var te,ge=v=0;ge<A;ge++){var ve=we[m>>2],xe=we[m+4>>2];m+=8;var Ce=Y,Ne=ve,Ze=xe,it=te,Se=pe;if(0>Ze||0>it)throw new De(28);if(Ce.W===null)throw new De(8);if((Ce.flags&2097155)===0)throw new De(8);if((Ce.node.mode&61440)===16384)throw new De(31);if(!Ce.m.write)throw new De(28);Ce.seekable&&Ce.flags&1024&&Bi(Ce,0,2);var Ue=typeof it<"u";if(!Ue)it=Ce.position;else if(!Ce.seekable)throw new De(70);var Me=Ce.m.write(Ce,Se,Ne,Ze,it,void 0);Ue||(Ce.position+=Me);var Tt=Me;if(0>Tt){var Lt=-1;break e}v+=Tt,typeof te<"u"&&(te+=Tt)}Lt=v}return we[I>>2]=Lt,0}catch(Je){if(typeof Vo>"u"||Je.name!=="ErrnoError")throw Je;return Je.$}},strftime_l:(m,v,A,I)=>cE(m,v,A,I)},Ln=(function(){var A;function m(I){var Y;return Ln=I.exports,ae=Ln.memory,he(),y_=Ln.__indirect_function_table,Le.unshift(Ln.__wasm_call_ctors),q--,(Y=p.monitorRunDependencies)==null||Y.call(p,q),q==0&&ee&&(I=ee,ee=null,I()),Ln}var v={env:x_,wasi_snapshot_preview1:x_};if(q++,(A=p.monitorRunDependencies)==null||A.call(p,q),p.instantiateWasm)try{return p.instantiateWasm(v,m)}catch(I){G(`Module.instantiateWasm callback failed with error: ${I}`),y(I)}return C||(C=x("canvas_advanced.wasm")?"canvas_advanced.wasm":p.locateFile?p.locateFile("canvas_advanced.wasm",P):P+"canvas_advanced.wasm"),de(v,function(I){m(I.instance)}).catch(y),{}})(),Cs=m=>(Cs=Ln.free)(m),Ch=m=>(Ch=Ln.malloc)(m),P_=m=>(P_=Ln.__getTypeName)(m),I_=p._ma_device__on_notification_unlocked=m=>(I_=p._ma_device__on_notification_unlocked=Ln.ma_device__on_notification_unlocked)(m);p._ma_malloc_emscripten=(m,v)=>(p._ma_malloc_emscripten=Ln.ma_malloc_emscripten)(m,v),p._ma_free_emscripten=(m,v)=>(p._ma_free_emscripten=Ln.ma_free_emscripten)(m,v);var L_=p._ma_device_process_pcm_frames_capture__webaudio=(m,v,A)=>(L_=p._ma_device_process_pcm_frames_capture__webaudio=Ln.ma_device_process_pcm_frames_capture__webaudio)(m,v,A),O_=p._ma_device_process_pcm_frames_playback__webaudio=(m,v,A)=>(O_=p._ma_device_process_pcm_frames_playback__webaudio=Ln.ma_device_process_pcm_frames_playback__webaudio)(m,v,A);p.dynCall_iiji=(m,v,A,I,Y)=>(p.dynCall_iiji=Ln.dynCall_iiji)(m,v,A,I,Y),p.dynCall_jiji=(m,v,A,I,Y)=>(p.dynCall_jiji=Ln.dynCall_jiji)(m,v,A,I,Y),p.dynCall_iiiji=(m,v,A,I,Y,te)=>(p.dynCall_iiiji=Ln.dynCall_iiiji)(m,v,A,I,Y,te),p.dynCall_iij=(m,v,A,I)=>(p.dynCall_iij=Ln.dynCall_iij)(m,v,A,I),p.dynCall_jii=(m,v,A)=>(p.dynCall_jii=Ln.dynCall_jii)(m,v,A),p.dynCall_viijii=(m,v,A,I,Y,te,ge)=>(p.dynCall_viijii=Ln.dynCall_viijii)(m,v,A,I,Y,te,ge),p.dynCall_iiiiij=(m,v,A,I,Y,te,ge)=>(p.dynCall_iiiiij=Ln.dynCall_iiiiij)(m,v,A,I,Y,te,ge),p.dynCall_iiiiijj=(m,v,A,I,Y,te,ge,ve,xe)=>(p.dynCall_iiiiijj=Ln.dynCall_iiiiijj)(m,v,A,I,Y,te,ge,ve,xe),p.dynCall_iiiiiijj=(m,v,A,I,Y,te,ge,ve,xe,Ce)=>(p.dynCall_iiiiiijj=Ln.dynCall_iiiiiijj)(m,v,A,I,Y,te,ge,ve,xe,Ce);var Yc;ee=function m(){Yc||M_(),Yc||(ee=m)};function M_(){function m(){if(!Yc&&(Yc=!0,p.calledRun=!0,!X)){if(p.noFSInit||c_||(c_=!0,p.stdin=p.stdin,p.stdout=p.stdout,p.stderr=p.stderr,p.stdin?Ul("stdin",p.stdin):zr("/dev/tty","/dev/stdin"),p.stdout?Ul("stdout",null,p.stdout):zr("/dev/tty","/dev/stdout"),p.stderr?Ul("stderr",null,p.stderr):zr("/dev/tty1","/dev/stderr"),As("/dev/stdin",0),As("/dev/stdout",1),As("/dev/stderr",1)),Dn=!1,_(Le),b(p),p.onRuntimeInitialized&&p.onRuntimeInitialized(),p.postRun)for(typeof p.postRun=="function"&&(p.postRun=[p.postRun]);p.postRun.length;){var v=p.postRun.shift();W.unshift(v)}_(W)}}if(!(0<q)){if(p.preRun)for(typeof p.preRun=="function"&&(p.preRun=[p.preRun]);p.preRun.length;)L();_(Te),0<q||(p.setStatus?(p.setStatus("Running..."),setTimeout(function(){setTimeout(function(){p.setStatus("")},1),m()},1)):m())}}if(p.preInit)for(typeof p.preInit=="function"&&(p.preInit=[p.preInit]);0<p.preInit.length;)p.preInit.pop()();return M_(),g=S,g})})();const d=c}),(o=>{o.exports=JSON.parse(`{"name":"@rive-app/canvas","version":"2.32.0","description":"Rive's canvas based web api.","main":"rive.js","homepage":"https://rive.app","repository":{"type":"git","url":"https://github.com/rive-app/rive-wasm/tree/master/js"},"keywords":["rive","animation"],"author":"Rive","contributors":["Luigi Rosso <luigi@rive.app> (https://rive.app)","Maxwell Talbot <max@rive.app> (https://rive.app)","Arthur Vivian <arthur@rive.app> (https://rive.app)","Umberto Sonnino <umberto@rive.app> (https://rive.app)","Matthew Sullivan <matt.j.sullivan@gmail.com> (mailto:matt.j.sullivan@gmail.com)"],"license":"MIT","files":["rive.js","rive.js.map","rive.wasm","rive_fallback.wasm","rive.d.ts","rive_advanced.mjs.d.ts"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}`)}),((o,a,u)=>{u.r(a),u.d(a,{Animation:()=>c.Animation});var c=u(4)}),((o,a,u)=>{u.r(a),u.d(a,{Animation:()=>c});var c=(function(){function d(l,f,h,g){this.animation=l,this.artboard=f,this.playing=g,this.loopCount=0,this.scrubTo=null,this.instance=new h.LinearAnimationInstance(l,f)}return Object.defineProperty(d.prototype,"name",{get:function(){return this.animation.name},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"time",{get:function(){return this.instance.time},set:function(l){this.instance.time=l},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"loopValue",{get:function(){return this.animation.loopValue},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"needsScrub",{get:function(){return this.scrubTo!==null},enumerable:!1,configurable:!0}),d.prototype.advance=function(l){this.scrubTo===null?this.instance.advance(l):(this.instance.time=0,this.instance.advance(this.scrubTo),this.scrubTo=null)},d.prototype.apply=function(l){this.instance.apply(l)},d.prototype.cleanup=function(){this.instance.delete()},d})()}),((o,a,u)=>{u.r(a),u.d(a,{AudioAssetWrapper:()=>l.AudioAssetWrapper,AudioWrapper:()=>l.AudioWrapper,BLANK_URL:()=>d.BLANK_URL,CustomFileAssetLoaderWrapper:()=>l.CustomFileAssetLoaderWrapper,FileAssetWrapper:()=>l.FileAssetWrapper,FileFinalizer:()=>l.FileFinalizer,FontAssetWrapper:()=>l.FontAssetWrapper,FontWrapper:()=>l.FontWrapper,ImageAssetWrapper:()=>l.ImageAssetWrapper,ImageWrapper:()=>l.ImageWrapper,createFinalization:()=>l.createFinalization,finalizationRegistry:()=>l.finalizationRegistry,registerTouchInteractions:()=>c.registerTouchInteractions,sanitizeUrl:()=>d.sanitizeUrl});var c=u(6),d=u(7),l=u(8)}),((o,a,u)=>{u.r(a),u.d(a,{registerTouchInteractions:()=>l});var c=void 0,d=function(f,h,g){var p,b,y=[];if(["touchstart","touchmove"].indexOf(f.type)>-1&&(!((p=f.changedTouches)===null||p===void 0)&&p.length)){h||f.preventDefault();for(var S=0,E=g?f.changedTouches.length:1;S<E;){var T=f.changedTouches[S];y.push({clientX:T.clientX,clientY:T.clientY,identifier:T.identifier}),S++}}else if(f.type==="touchend"&&(!((b=f.changedTouches)===null||b===void 0)&&b.length))for(var S=0,E=g?f.changedTouches.length:1;S<E;){var T=f.changedTouches[S];y.push({clientX:T.clientX,clientY:T.clientY,identifier:T.identifier}),S++}else y.push({clientX:f.clientX,clientY:f.clientY,identifier:0});return y},l=function(f){var h=f.canvas,g=f.artboard,p=f.stateMachines,b=p===void 0?[]:p,y=f.renderer,S=f.rive,E=f.fit,T=f.alignment,k=f.isTouchScrollEnabled,M=k===void 0?!1:k,$=f.dispatchPointerExit,H=$===void 0?!0:$,O=f.enableMultiTouch,F=O===void 0?!1:O,re=f.layoutScaleFactor,N=re===void 0?1:re;if(!h||!b.length||!y||!S||!g||typeof window>"u")return null;var P=null,z=!1,Q=function(G){if(z&&G instanceof MouseEvent){G.type=="mouseup"&&(z=!1);return}z=M&&G.type==="touchend"&&P==="touchstart",P=G.type;var ie=G.currentTarget.getBoundingClientRect(),ae=d(G,M,F),X=S.computeAlignment(E,T,{minX:0,minY:0,maxX:ie.width,maxY:ie.height},g.bounds,N),pe=new S.Mat2D;switch(X.invert(pe),ae.forEach(function(V){var C=V.clientX,D=V.clientY;if(!(!C&&!D)){var Z=C-ie.left,fe=D-ie.top,de=new S.Vec2D(Z,fe),ne=S.mapXY(pe,de),ce=ne.x(),R=ne.y();V.transformedX=ce,V.transformedY=R,ne.delete(),de.delete()}}),pe.delete(),X.delete(),G.type){case"mouseout":for(var Ee=function(V){H?ae.forEach(function(C){V.pointerExit(C.transformedX,C.transformedY,C.identifier)}):ae.forEach(function(C){V.pointerMove(C.transformedX,C.transformedY,C.identifier)})},ke=0,Re=b;ke<Re.length;ke++){var ye=Re[ke];Ee(ye)}break;case"touchmove":case"mouseover":case"mousemove":{for(var we=function(V){ae.forEach(function(C){V.pointerMove(C.transformedX,C.transformedY,C.identifier)})},se=0,le=b;se<le.length;se++){var ye=le[se];we(ye)}break}case"touchstart":case"mousedown":{for(var he=function(V){ae.forEach(function(C){V.pointerDown(C.transformedX,C.transformedY,C.identifier)})},Te=0,Le=b;Te<Le.length;Te++){var ye=Le[Te];he(ye)}break}case"touchend":{for(var W=function(V){ae.forEach(function(C){V.pointerUp(C.transformedX,C.transformedY,C.identifier),V.pointerExit(C.transformedX,C.transformedY,C.identifier)})},L=0,q=b;L<q.length;L++){var ye=q[L];W(ye)}break}case"mouseup":{for(var ee=function(V){ae.forEach(function(C){V.pointerUp(C.transformedX,C.transformedY,C.identifier)})},K=0,x=b;K<x.length;K++){var ye=x[K];ee(ye)}break}}},B=Q.bind(c);return h.addEventListener("mouseover",B),h.addEventListener("mouseout",B),h.addEventListener("mousemove",B),h.addEventListener("mousedown",B),h.addEventListener("mouseup",B),h.addEventListener("touchmove",B,{passive:M}),h.addEventListener("touchstart",B,{passive:M}),h.addEventListener("touchend",B),function(){h.removeEventListener("mouseover",B),h.removeEventListener("mouseout",B),h.removeEventListener("mousemove",B),h.removeEventListener("mousedown",B),h.removeEventListener("mouseup",B),h.removeEventListener("touchmove",B),h.removeEventListener("touchstart",B),h.removeEventListener("touchend",B)}}}),((o,a,u)=>{u.r(a),u.d(a,{BLANK_URL:()=>p,sanitizeUrl:()=>S});var c=/^([^\w]*)(javascript|data|vbscript)/im,d=/&#(\w+)(^\w|;)?/g,l=/&(newline|tab);/gi,f=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,h=/^.+(:|:)/gim,g=[".","/"],p="about:blank";function b(E){return g.indexOf(E[0])>-1}function y(E){var T=E.replace(f,"");return T.replace(d,function(k,M){return String.fromCharCode(M)})}function S(E){if(!E)return p;var T=y(E).replace(l,"").replace(f,"").trim();if(!T)return p;if(b(T))return T;var k=T.match(h);if(!k)return T;var M=k[0];return c.test(M)?p:T}}),((o,a,u)=>{u.r(a),u.d(a,{AudioAssetWrapper:()=>E,AudioWrapper:()=>g,CustomFileAssetLoaderWrapper:()=>b,FileAssetWrapper:()=>y,FileFinalizer:()=>d,FontAssetWrapper:()=>T,FontWrapper:()=>p,ImageAssetWrapper:()=>S,ImageWrapper:()=>h,createFinalization:()=>H,finalizationRegistry:()=>$});var c=(function(){var O=function(F,re){return O=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(N,P){N.__proto__=P}||function(N,P){for(var z in P)Object.prototype.hasOwnProperty.call(P,z)&&(N[z]=P[z])},O(F,re)};return function(F,re){if(typeof re!="function"&&re!==null)throw new TypeError("Class extends value "+String(re)+" is not a constructor or null");O(F,re);function N(){this.constructor=F}F.prototype=re===null?Object.create(re):(N.prototype=re.prototype,new N)}})(),d=(function(){function O(F){this.selfUnref=!1,this._file=F}return O.prototype.unref=function(){this._file&&this._file.unref()},O})(),l=(function(){function O(F){this._finalizableObject=F}return O.prototype.unref=function(){this._finalizableObject.unref()},O})(),f=(function(){function O(){this.selfUnref=!1}return O.prototype.unref=function(){},O})(),h=(function(O){c(F,O);function F(re){var N=O.call(this)||this;return N._nativeImage=re,N}return Object.defineProperty(F.prototype,"nativeImage",{get:function(){return this._nativeImage},enumerable:!1,configurable:!0}),F.prototype.unref=function(){this.selfUnref&&this._nativeImage.unref()},F})(f),g=(function(O){c(F,O);function F(re){var N=O.call(this)||this;return N._nativeAudio=re,N}return Object.defineProperty(F.prototype,"nativeAudio",{get:function(){return this._nativeAudio},enumerable:!1,configurable:!0}),F.prototype.unref=function(){this.selfUnref&&this._nativeAudio.unref()},F})(f),p=(function(O){c(F,O);function F(re){var N=O.call(this)||this;return N._nativeFont=re,N}return Object.defineProperty(F.prototype,"nativeFont",{get:function(){return this._nativeFont},enumerable:!1,configurable:!0}),F.prototype.unref=function(){this.selfUnref&&this._nativeFont.unref()},F})(f),b=(function(){function O(F,re){this._assetLoaderCallback=re,this.assetLoader=new F.CustomFileAssetLoader({loadContents:this.loadContents.bind(this)})}return O.prototype.loadContents=function(F,re){var N;return F.isImage?N=new S(F):F.isAudio?N=new E(F):F.isFont&&(N=new T(F)),this._assetLoaderCallback(N,re)},O})(),y=(function(){function O(F){this._nativeFileAsset=F}return O.prototype.decode=function(F){this._nativeFileAsset.decode(F)},Object.defineProperty(O.prototype,"name",{get:function(){return this._nativeFileAsset.name},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"fileExtension",{get:function(){return this._nativeFileAsset.fileExtension},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"uniqueFilename",{get:function(){return this._nativeFileAsset.uniqueFilename},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"isAudio",{get:function(){return this._nativeFileAsset.isAudio},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"isImage",{get:function(){return this._nativeFileAsset.isImage},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"isFont",{get:function(){return this._nativeFileAsset.isFont},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"cdnUuid",{get:function(){return this._nativeFileAsset.cdnUuid},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"nativeFileAsset",{get:function(){return this._nativeFileAsset},enumerable:!1,configurable:!0}),O})(),S=(function(O){c(F,O);function F(){return O!==null&&O.apply(this,arguments)||this}return F.prototype.setRenderImage=function(re){this._nativeFileAsset.setRenderImage(re.nativeImage)},F})(y),E=(function(O){c(F,O);function F(){return O!==null&&O.apply(this,arguments)||this}return F.prototype.setAudioSource=function(re){this._nativeFileAsset.setAudioSource(re.nativeAudio)},F})(y),T=(function(O){c(F,O);function F(){return O!==null&&O.apply(this,arguments)||this}return F.prototype.setFont=function(re){this._nativeFileAsset.setFont(re.nativeFont)},F})(y),k=(function(){function O(F){}return O.prototype.register=function(F){F.selfUnref=!0},O.prototype.unregister=function(F){},O})(),M=typeof FinalizationRegistry<"u"?FinalizationRegistry:k,$=new M(function(O){O==null||O.unref()}),H=function(O,F){var re=new l(F);$.register(O,re)}})],r={};function i(o){var a=r[o];if(a!==void 0)return a.exports;var u=r[o]={exports:{}};return n[o](u,u.exports,i),u.exports}i.d=(o,a)=>{for(var u in a)i.o(a,u)&&!i.o(o,u)&&Object.defineProperty(o,u,{enumerable:!0,get:a[u]})},i.o=(o,a)=>Object.prototype.hasOwnProperty.call(o,a),i.r=o=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})};var s={};return(()=>{i.r(s),i.d(s,{Alignment:()=>S,DataEnum:()=>se,EventType:()=>P,Fit:()=>y,Layout:()=>E,LoopType:()=>z,Rive:()=>ye,RiveEventType:()=>$,RiveFile:()=>Re,RuntimeLoader:()=>T,StateMachineInput:()=>M,StateMachineInputType:()=>k,Testing:()=>fe,ViewModel:()=>we,ViewModelInstance:()=>he,ViewModelInstanceArtboard:()=>C,ViewModelInstanceAssetImage:()=>V,ViewModelInstanceBoolean:()=>L,ViewModelInstanceColor:()=>x,ViewModelInstanceEnum:()=>ee,ViewModelInstanceList:()=>K,ViewModelInstanceNumber:()=>W,ViewModelInstanceString:()=>Le,ViewModelInstanceTrigger:()=>q,ViewModelInstanceValue:()=>Te,decodeAudio:()=>de,decodeFont:()=>ce,decodeImage:()=>ne});var o=i(1),a=i(2),u=i(3),c=i(5),d=(function(){var R=function(_,w){return R=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(U,oe){U.__proto__=oe}||function(U,oe){for(var Ae in oe)Object.prototype.hasOwnProperty.call(oe,Ae)&&(U[Ae]=oe[Ae])},R(_,w)};return function(_,w){if(typeof w!="function"&&w!==null)throw new TypeError("Class extends value "+String(w)+" is not a constructor or null");R(_,w);function U(){this.constructor=_}_.prototype=w===null?Object.create(w):(U.prototype=w.prototype,new U)}})(),l=function(){return l=Object.assign||function(R){for(var _,w=1,U=arguments.length;w<U;w++){_=arguments[w];for(var oe in _)Object.prototype.hasOwnProperty.call(_,oe)&&(R[oe]=_[oe])}return R},l.apply(this,arguments)},f=function(R,_,w,U){function oe(Ae){return Ae instanceof w?Ae:new w(function(be){be(Ae)})}return new(w||(w=Promise))(function(Ae,be){function qe(rt){try{$e(U.next(rt))}catch(at){be(at)}}function Xe(rt){try{$e(U.throw(rt))}catch(at){be(at)}}function $e(rt){rt.done?Ae(rt.value):oe(rt.value).then(qe,Xe)}$e((U=U.apply(R,_||[])).next())})},h=function(R,_){var w={label:0,sent:function(){if(Ae[0]&1)throw Ae[1];return Ae[1]},trys:[],ops:[]},U,oe,Ae,be=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return be.next=qe(0),be.throw=qe(1),be.return=qe(2),typeof Symbol=="function"&&(be[Symbol.iterator]=function(){return this}),be;function qe($e){return function(rt){return Xe([$e,rt])}}function Xe($e){if(U)throw new TypeError("Generator is already executing.");for(;be&&(be=0,$e[0]&&(w=0)),w;)try{if(U=1,oe&&(Ae=$e[0]&2?oe.return:$e[0]?oe.throw||((Ae=oe.return)&&Ae.call(oe),0):oe.next)&&!(Ae=Ae.call(oe,$e[1])).done)return Ae;switch(oe=0,Ae&&($e=[$e[0]&2,Ae.value]),$e[0]){case 0:case 1:Ae=$e;break;case 4:return w.label++,{value:$e[1],done:!1};case 5:w.label++,oe=$e[1],$e=[0];continue;case 7:$e=w.ops.pop(),w.trys.pop();continue;default:if(Ae=w.trys,!(Ae=Ae.length>0&&Ae[Ae.length-1])&&($e[0]===6||$e[0]===2)){w=0;continue}if($e[0]===3&&(!Ae||$e[1]>Ae[0]&&$e[1]<Ae[3])){w.label=$e[1];break}if($e[0]===6&&w.label<Ae[1]){w.label=Ae[1],Ae=$e;break}if(Ae&&w.label<Ae[2]){w.label=Ae[2],w.ops.push($e);break}Ae[2]&&w.ops.pop(),w.trys.pop();continue}$e=_.call(R,w)}catch(rt){$e=[6,rt],oe=0}finally{U=Ae=0}if($e[0]&5)throw $e[1];return{value:$e[0]?$e[1]:void 0,done:!0}}},g=function(R,_,w){if(w||arguments.length===2)for(var U=0,oe=_.length,Ae;U<oe;U++)(Ae||!(U in _))&&(Ae||(Ae=Array.prototype.slice.call(_,0,U)),Ae[U]=_[U]);return R.concat(Ae||Array.prototype.slice.call(_))},p=(function(R){d(_,R);function _(){var w=R!==null&&R.apply(this,arguments)||this;return w.isHandledError=!0,w}return _})(Error),b=function(R){return R&&R.isHandledError?R.message:"Problem loading file; may be corrupt!"},y;(function(R){R.Cover="cover",R.Contain="contain",R.Fill="fill",R.FitWidth="fitWidth",R.FitHeight="fitHeight",R.None="none",R.ScaleDown="scaleDown",R.Layout="layout"})(y||(y={}));var S;(function(R){R.Center="center",R.TopLeft="topLeft",R.TopCenter="topCenter",R.TopRight="topRight",R.CenterLeft="centerLeft",R.CenterRight="centerRight",R.BottomLeft="bottomLeft",R.BottomCenter="bottomCenter",R.BottomRight="bottomRight"})(S||(S={}));var E=(function(){function R(_){var w,U,oe,Ae,be,qe,Xe;this.fit=(w=_==null?void 0:_.fit)!==null&&w!==void 0?w:y.Contain,this.alignment=(U=_==null?void 0:_.alignment)!==null&&U!==void 0?U:S.Center,this.layoutScaleFactor=(oe=_==null?void 0:_.layoutScaleFactor)!==null&&oe!==void 0?oe:1,this.minX=(Ae=_==null?void 0:_.minX)!==null&&Ae!==void 0?Ae:0,this.minY=(be=_==null?void 0:_.minY)!==null&&be!==void 0?be:0,this.maxX=(qe=_==null?void 0:_.maxX)!==null&&qe!==void 0?qe:0,this.maxY=(Xe=_==null?void 0:_.maxY)!==null&&Xe!==void 0?Xe:0}return R.new=function(_){var w=_.fit,U=_.alignment,oe=_.minX,Ae=_.minY,be=_.maxX,qe=_.maxY;return console.warn("This function is deprecated: please use `new Layout({})` instead"),new R({fit:w,alignment:U,minX:oe,minY:Ae,maxX:be,maxY:qe})},R.prototype.copyWith=function(_){var w=_.fit,U=_.alignment,oe=_.layoutScaleFactor,Ae=_.minX,be=_.minY,qe=_.maxX,Xe=_.maxY;return new R({fit:w??this.fit,alignment:U??this.alignment,layoutScaleFactor:oe??this.layoutScaleFactor,minX:Ae??this.minX,minY:be??this.minY,maxX:qe??this.maxX,maxY:Xe??this.maxY})},R.prototype.runtimeFit=function(_){if(this.cachedRuntimeFit)return this.cachedRuntimeFit;var w;return this.fit===y.Cover?w=_.Fit.cover:this.fit===y.Contain?w=_.Fit.contain:this.fit===y.Fill?w=_.Fit.fill:this.fit===y.FitWidth?w=_.Fit.fitWidth:this.fit===y.FitHeight?w=_.Fit.fitHeight:this.fit===y.ScaleDown?w=_.Fit.scaleDown:this.fit===y.Layout?w=_.Fit.layout:w=_.Fit.none,this.cachedRuntimeFit=w,w},R.prototype.runtimeAlignment=function(_){if(this.cachedRuntimeAlignment)return this.cachedRuntimeAlignment;var w;return this.alignment===S.TopLeft?w=_.Alignment.topLeft:this.alignment===S.TopCenter?w=_.Alignment.topCenter:this.alignment===S.TopRight?w=_.Alignment.topRight:this.alignment===S.CenterLeft?w=_.Alignment.centerLeft:this.alignment===S.CenterRight?w=_.Alignment.centerRight:this.alignment===S.BottomLeft?w=_.Alignment.bottomLeft:this.alignment===S.BottomCenter?w=_.Alignment.bottomCenter:this.alignment===S.BottomRight?w=_.Alignment.bottomRight:w=_.Alignment.center,this.cachedRuntimeAlignment=w,w},R})(),T=(function(){function R(){}return R.loadRuntime=function(){o.default({locateFile:function(){return R.wasmURL}}).then(function(_){var w;for(R.runtime=_;R.callBackQueue.length>0;)(w=R.callBackQueue.shift())===null||w===void 0||w(R.runtime)}).catch(function(_){var w={message:(_==null?void 0:_.message)||"Unknown error",type:(_==null?void 0:_.name)||"Error",wasmError:_ instanceof WebAssembly.CompileError||_ instanceof WebAssembly.RuntimeError,originalError:_},U="https://cdn.jsdelivr.net/npm/".concat(a.name,"@").concat(a.version,"/rive_fallback.wasm");if(R.wasmURL.toLowerCase()!==U)console.warn("Failed to load WASM from ".concat(R.wasmURL," (").concat(w.message,"), trying jsdelivr as a backup")),R.setWasmUrl(U),R.loadRuntime();else{var oe=["Could not load Rive WASM file from ".concat(R.wasmURL," or ").concat(U,"."),"Possible reasons:","- Network connection is down","- WebAssembly is not supported in this environment","- The WASM file is corrupted or incompatible",`
Error details:`,"- Type: ".concat(w.type),"- Message: ".concat(w.message),"- WebAssembly-specific error: ".concat(w.wasmError),`
To resolve, you may need to:`,"1. Check your network connection","2. Set a new WASM source via RuntimeLoader.setWasmUrl()","3. Call RuntimeLoader.loadRuntime() again"].join(`
`);console.error(oe)}})},R.getInstance=function(_){R.isLoading||(R.isLoading=!0,R.loadRuntime()),R.runtime?_(R.runtime):R.callBackQueue.push(_)},R.awaitInstance=function(){return new Promise(function(_){return R.getInstance(function(w){return _(w)})})},R.setWasmUrl=function(_){R.wasmURL=_},R.getWasmUrl=function(){return R.wasmURL},R.isLoading=!1,R.callBackQueue=[],R.wasmURL="https://unpkg.com/".concat(a.name,"@").concat(a.version,"/rive.wasm"),R})(),k;(function(R){R[R.Number=56]="Number",R[R.Trigger=58]="Trigger",R[R.Boolean=59]="Boolean"})(k||(k={}));var M=(function(){function R(_,w){this.type=_,this.runtimeInput=w}return Object.defineProperty(R.prototype,"name",{get:function(){return this.runtimeInput.name},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"value",{get:function(){return this.runtimeInput.value},set:function(_){this.runtimeInput.value=_},enumerable:!1,configurable:!0}),R.prototype.fire=function(){this.type===k.Trigger&&this.runtimeInput.fire()},R.prototype.delete=function(){this.runtimeInput=null},R})(),$;(function(R){R[R.General=128]="General",R[R.OpenUrl=131]="OpenUrl"})($||($={}));var H=(function(){function R(_){this.isBindableArtboard=!1,this.isBindableArtboard=_}return R})(),O=(function(R){d(_,R);function _(w,U){var oe=R.call(this,!1)||this;return oe.nativeArtboard=w,oe.file=U,oe}return _})(H),F=(function(R){d(_,R);function _(w){var U=R.call(this,!0)||this;return U.selfUnref=!1,U.nativeArtboard=w,U}return _.prototype.destroy=function(){this.selfUnref&&this.nativeArtboard.unref()},_})(H),re=(function(){function R(_,w,U,oe){this.stateMachine=_,this.playing=U,this.artboard=oe,this.inputs=[],this.instance=new w.StateMachineInstance(_,oe),this.initInputs(w)}return Object.defineProperty(R.prototype,"name",{get:function(){return this.stateMachine.name},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"statesChanged",{get:function(){for(var _=[],w=0;w<this.instance.stateChangedCount();w++)_.push(this.instance.stateChangedNameByIndex(w));return _},enumerable:!1,configurable:!0}),R.prototype.advance=function(_){this.instance.advance(_)},R.prototype.advanceAndApply=function(_){this.instance.advanceAndApply(_)},R.prototype.reportedEventCount=function(){return this.instance.reportedEventCount()},R.prototype.reportedEventAt=function(_){return this.instance.reportedEventAt(_)},R.prototype.initInputs=function(_){for(var w=0;w<this.instance.inputCount();w++){var U=this.instance.input(w);this.inputs.push(this.mapRuntimeInput(U,_))}},R.prototype.mapRuntimeInput=function(_,w){if(_.type===w.SMIInput.bool)return new M(k.Boolean,_.asBool());if(_.type===w.SMIInput.number)return new M(k.Number,_.asNumber());if(_.type===w.SMIInput.trigger)return new M(k.Trigger,_.asTrigger())},R.prototype.cleanup=function(){this.inputs.forEach(function(_){_.delete()}),this.inputs.length=0,this.instance.delete()},R.prototype.bindViewModelInstance=function(_){_.runtimeInstance!=null&&this.instance.bindViewModelInstance(_.runtimeInstance)},R})(),N=(function(){function R(_,w,U,oe,Ae){oe===void 0&&(oe=[]),Ae===void 0&&(Ae=[]),this.runtime=_,this.artboard=w,this.eventManager=U,this.animations=oe,this.stateMachines=Ae}return R.prototype.add=function(_,w,U){if(U===void 0&&(U=!0),_=Z(_),_.length===0)this.animations.forEach(function(Ye){return Ye.playing=w}),this.stateMachines.forEach(function(Ye){return Ye.playing=w});else for(var oe=this.animations.map(function(Ye){return Ye.name}),Ae=this.stateMachines.map(function(Ye){return Ye.name}),be=0;be<_.length;be++){var qe=oe.indexOf(_[be]),Xe=Ae.indexOf(_[be]);if(qe>=0||Xe>=0)qe>=0?this.animations[qe].playing=w:this.stateMachines[Xe].playing=w;else{var $e=this.artboard.animationByName(_[be]);if($e){var rt=new u.Animation($e,this.artboard,this.runtime,w);rt.advance(0),rt.apply(1),this.animations.push(rt)}else{var at=this.artboard.stateMachineByName(_[be]);if(at){var Rt=new re(at,this.runtime,w,this.artboard);this.stateMachines.push(Rt)}}}}return U&&(w?this.eventManager.fire({type:P.Play,data:this.playing}):this.eventManager.fire({type:P.Pause,data:this.paused})),w?this.playing:this.paused},R.prototype.initLinearAnimations=function(_,w){for(var U=this.animations.map(function(Xe){return Xe.name}),oe=0;oe<_.length;oe++){var Ae=U.indexOf(_[oe]);if(Ae>=0)this.animations[Ae].playing=w;else{var be=this.artboard.animationByName(_[oe]);if(be){var qe=new u.Animation(be,this.artboard,this.runtime,w);qe.advance(0),qe.apply(1),this.animations.push(qe)}else console.error("Animation with name ".concat(_[oe]," not found."))}}},R.prototype.initStateMachines=function(_,w){for(var U=this.stateMachines.map(function(Xe){return Xe.name}),oe=0;oe<_.length;oe++){var Ae=U.indexOf(_[oe]);if(Ae>=0)this.stateMachines[Ae].playing=w;else{var be=this.artboard.stateMachineByName(_[oe]);if(be){var qe=new re(be,this.runtime,w,this.artboard);this.stateMachines.push(qe)}else console.warn("State Machine with name ".concat(_[oe]," not found.")),this.initLinearAnimations([_[oe]],w)}}},R.prototype.play=function(_){return this.add(_,!0)},R.prototype.advanceIfPaused=function(){this.stateMachines.forEach(function(_){_.playing||_.advanceAndApply(0)})},R.prototype.pause=function(_){return this.add(_,!1)},R.prototype.scrub=function(_,w){var U=this.animations.filter(function(oe){return _.includes(oe.name)});return U.forEach(function(oe){return oe.scrubTo=w}),U.map(function(oe){return oe.name})},Object.defineProperty(R.prototype,"playing",{get:function(){return this.animations.filter(function(_){return _.playing}).map(function(_){return _.name}).concat(this.stateMachines.filter(function(_){return _.playing}).map(function(_){return _.name}))},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"paused",{get:function(){return this.animations.filter(function(_){return!_.playing}).map(function(_){return _.name}).concat(this.stateMachines.filter(function(_){return!_.playing}).map(function(_){return _.name}))},enumerable:!1,configurable:!0}),R.prototype.stop=function(_){var w=this;_=Z(_);var U=[];if(_.length===0)U=this.animations.map(function(be){return be.name}).concat(this.stateMachines.map(function(be){return be.name})),this.animations.forEach(function(be){return be.cleanup()}),this.stateMachines.forEach(function(be){return be.cleanup()}),this.animations.splice(0,this.animations.length),this.stateMachines.splice(0,this.stateMachines.length);else{var oe=this.animations.filter(function(be){return _.includes(be.name)});oe.forEach(function(be){be.cleanup(),w.animations.splice(w.animations.indexOf(be),1)});var Ae=this.stateMachines.filter(function(be){return _.includes(be.name)});Ae.forEach(function(be){be.cleanup(),w.stateMachines.splice(w.stateMachines.indexOf(be),1)}),U=oe.map(function(be){return be.name}).concat(Ae.map(function(be){return be.name}))}return this.eventManager.fire({type:P.Stop,data:U}),U},Object.defineProperty(R.prototype,"isPlaying",{get:function(){return this.animations.reduce(function(_,w){return _||w.playing},!1)||this.stateMachines.reduce(function(_,w){return _||w.playing},!1)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"isPaused",{get:function(){return!this.isPlaying&&(this.animations.length>0||this.stateMachines.length>0)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"isStopped",{get:function(){return this.animations.length===0&&this.stateMachines.length===0},enumerable:!1,configurable:!0}),R.prototype.atLeastOne=function(_,w){w===void 0&&(w=!0);var U;return this.animations.length===0&&this.stateMachines.length===0&&(this.artboard.animationCount()>0?this.add([U=this.artboard.animationByIndex(0).name],_,w):this.artboard.stateMachineCount()>0&&this.add([U=this.artboard.stateMachineByIndex(0).name],_,w)),U},R.prototype.handleLooping=function(){for(var _=0,w=this.animations.filter(function(oe){return oe.playing});_<w.length;_++){var U=w[_];U.loopValue===0&&U.loopCount?(U.loopCount=0,this.stop(U.name)):U.loopValue===1&&U.loopCount?(this.eventManager.fire({type:P.Loop,data:{animation:U.name,type:z.Loop}}),U.loopCount=0):U.loopValue===2&&U.loopCount>1&&(this.eventManager.fire({type:P.Loop,data:{animation:U.name,type:z.PingPong}}),U.loopCount=0)}},R.prototype.handleStateChanges=function(){for(var _=[],w=0,U=this.stateMachines.filter(function(Ae){return Ae.playing});w<U.length;w++){var oe=U[w];_.push.apply(_,oe.statesChanged)}_.length>0&&this.eventManager.fire({type:P.StateChange,data:_})},R.prototype.handleAdvancing=function(_){this.eventManager.fire({type:P.Advance,data:_})},R})(),P;(function(R){R.Load="load",R.LoadError="loaderror",R.Play="play",R.Pause="pause",R.Stop="stop",R.Loop="loop",R.Draw="draw",R.Advance="advance",R.StateChange="statechange",R.RiveEvent="riveevent",R.AudioStatusChange="audiostatuschange"})(P||(P={}));var z;(function(R){R.OneShot="oneshot",R.Loop="loop",R.PingPong="pingpong"})(z||(z={}));var Q=(function(){function R(_){_===void 0&&(_=[]),this.listeners=_}return R.prototype.getListeners=function(_){return this.listeners.filter(function(w){return w.type===_})},R.prototype.add=function(_){this.listeners.includes(_)||this.listeners.push(_)},R.prototype.remove=function(_){for(var w=0;w<this.listeners.length;w++){var U=this.listeners[w];if(U.type===_.type&&U.callback===_.callback){this.listeners.splice(w,1);break}}},R.prototype.removeAll=function(_){var w=this;_?this.listeners.filter(function(U){return U.type===_}).forEach(function(U){return w.remove(U)}):this.listeners.splice(0,this.listeners.length)},R.prototype.fire=function(_){var w=this.getListeners(_.type);w.forEach(function(U){return U.callback(_)})},R})(),B=(function(){function R(_){this.eventManager=_,this.queue=[]}return R.prototype.add=function(_){this.queue.push(_)},R.prototype.process=function(){for(;this.queue.length>0;){var _=this.queue.shift();_!=null&&_.action&&_.action(),_!=null&&_.event&&this.eventManager.fire(_.event)}},R})(),G;(function(R){R[R.AVAILABLE=0]="AVAILABLE",R[R.UNAVAILABLE=1]="UNAVAILABLE"})(G||(G={}));var ie=(function(R){d(_,R);function _(){var w=R!==null&&R.apply(this,arguments)||this;return w._started=!1,w._enabled=!1,w._status=G.UNAVAILABLE,w}return _.prototype.delay=function(w){return f(this,void 0,void 0,function(){return h(this,function(U){return[2,new Promise(function(oe){return setTimeout(oe,w)})]})})},_.prototype.timeout=function(){return f(this,void 0,void 0,function(){return h(this,function(w){return[2,new Promise(function(U,oe){return setTimeout(oe,50)})]})})},_.prototype.reportToListeners=function(){this.fire({type:P.AudioStatusChange}),this.removeAll()},_.prototype.enableAudio=function(){return f(this,void 0,void 0,function(){return h(this,function(w){return this._enabled||(this._enabled=!0,this._status=G.AVAILABLE,this.reportToListeners()),[2]})})},_.prototype.testAudio=function(){return f(this,void 0,void 0,function(){return h(this,function(w){switch(w.label){case 0:if(!(this._status===G.UNAVAILABLE&&this._audioContext!==null))return[3,4];w.label=1;case 1:return w.trys.push([1,3,,4]),[4,Promise.race([this._audioContext.resume(),this.timeout()])];case 2:return w.sent(),this.enableAudio(),[3,4];case 3:return w.sent(),[3,4];case 4:return[2]}})})},_.prototype._establishAudio=function(){return f(this,void 0,void 0,function(){return h(this,function(w){switch(w.label){case 0:return this._started?[3,5]:(this._started=!0,typeof window>"u"?(this.enableAudio(),[3,5]):[3,1]);case 1:this._audioContext=new AudioContext,this.listenForUserAction(),w.label=2;case 2:return this._status!==G.UNAVAILABLE?[3,5]:[4,this.testAudio()];case 3:return w.sent(),[4,this.delay(1e3)];case 4:return w.sent(),[3,2];case 5:return[2]}})})},_.prototype.listenForUserAction=function(){var w=this,U=function(){return f(w,void 0,void 0,function(){return h(this,function(oe){return this.enableAudio(),[2]})})};document.addEventListener("pointerdown",U,{once:!0})},_.prototype.establishAudio=function(){return f(this,void 0,void 0,function(){return h(this,function(w){return this._establishAudio(),[2]})})},Object.defineProperty(_.prototype,"systemVolume",{get:function(){return this._status===G.UNAVAILABLE?(this.testAudio(),0):1},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"status",{get:function(){return this._status},enumerable:!1,configurable:!0}),_})(Q),ae=new ie,X=(function(){function R(){}return R.prototype.observe=function(){},R.prototype.unobserve=function(){},R.prototype.disconnect=function(){},R})(),pe=globalThis.ResizeObserver||X,Ee=(function(){function R(){var _=this;this._elementsMap=new Map,this._onObservedEntry=function(w){var U=_._elementsMap.get(w.target);U!==null?U.onResize(w.target.clientWidth==0||w.target.clientHeight==0):_._resizeObserver.unobserve(w.target)},this._onObserved=function(w){w.forEach(_._onObservedEntry)},this._resizeObserver=new pe(this._onObserved)}return R.prototype.add=function(_,w){var U={onResize:w,element:_};return this._elementsMap.set(_,U),this._resizeObserver.observe(_),U},R.prototype.remove=function(_){this._resizeObserver.unobserve(_.element),this._elementsMap.delete(_.element)},R})(),ke=new Ee,Re=(function(){function R(_){this.enableRiveAssetCDN=!0,this.referenceCount=0,this.destroyed=!1,this.selfUnref=!1,this.bindableArtboards=[],this.src=_.src,this.buffer=_.buffer,_.assetLoader&&(this.assetLoader=_.assetLoader),this.enableRiveAssetCDN=typeof _.enableRiveAssetCDN=="boolean"?_.enableRiveAssetCDN:!0,this.eventManager=new Q,_.onLoad&&this.on(P.Load,_.onLoad),_.onLoadError&&this.on(P.LoadError,_.onLoadError)}return R.prototype.releaseFile=function(){var _;this.selfUnref&&((_=this.file)===null||_===void 0||_.unref()),this.file=null},R.prototype.releaseBindableArtboards=function(){this.bindableArtboards.forEach(function(_){return _.destroy()})},R.prototype.initData=function(){return f(this,void 0,void 0,function(){var _,w,U,oe,Ae;return h(this,function(be){switch(be.label){case 0:return this.src?(_=this,[4,D(this.src)]):[3,2];case 1:_.buffer=be.sent(),be.label=2;case 2:return this.destroyed?[2]:(this.assetLoader&&(U=new c.CustomFileAssetLoaderWrapper(this.runtime,this.assetLoader),w=U.assetLoader),oe=this,[4,this.runtime.load(new Uint8Array(this.buffer),w,this.enableRiveAssetCDN)]);case 3:return oe.file=be.sent(),Ae=new c.FileFinalizer(this.file),c.finalizationRegistry.register(this,Ae),this.destroyed?(this.releaseFile(),[2]):(this.file!==null?this.eventManager.fire({type:P.Load,data:this}):this.fireLoadError(R.fileLoadErrorMessage),[2])}})})},R.prototype.init=function(){return f(this,void 0,void 0,function(){var _,w;return h(this,function(U){switch(U.label){case 0:if(!this.src&&!this.buffer)return this.fireLoadError(R.missingErrorMessage),[2];U.label=1;case 1:return U.trys.push([1,4,,5]),_=this,[4,T.awaitInstance()];case 2:return _.runtime=U.sent(),this.destroyed?[2]:[4,this.initData()];case 3:return U.sent(),[3,5];case 4:return w=U.sent(),this.fireLoadError(w instanceof Error?w.message:R.fileLoadErrorMessage),[3,5];case 5:return[2]}})})},R.prototype.fireLoadError=function(_){throw this.eventManager.fire({type:P.LoadError,data:_}),new Error(_)},R.prototype.on=function(_,w){this.eventManager.add({type:_,callback:w})},R.prototype.off=function(_,w){this.eventManager.remove({type:_,callback:w})},R.prototype.cleanup=function(){this.referenceCount-=1,this.referenceCount<=0&&(this.removeAllRiveEventListeners(),this.releaseFile(),this.releaseBindableArtboards(),this.destroyed=!0)},R.prototype.removeAllRiveEventListeners=function(_){this.eventManager.removeAll(_)},R.prototype.getInstance=function(){if(this.file!==null)return this.referenceCount+=1,this.file},R.prototype.destroyIfUnused=function(){this.referenceCount<=0&&this.cleanup()},R.prototype.createBindableArtboard=function(_){if(_!=null){var w=new F(_);return(0,c.createFinalization)(w,w.nativeArtboard),this.bindableArtboards.push(w),w}return null},R.prototype.getArtboard=function(_){var w=this.file.artboardByName(_);if(w!=null)return new O(w,this)},R.prototype.getBindableArtboard=function(_){var w=this.file.bindableArtboardByName(_);return this.createBindableArtboard(w)},R.prototype.getDefaultBindableArtboard=function(){var _=this.file.bindableArtboardDefault();return this.createBindableArtboard(_)},R.prototype.internalBindableArtboardFromArtboard=function(_){var w=this.file.internalBindableArtboardFromArtboard(_);return this.createBindableArtboard(w)},R.missingErrorMessage="Rive source file or data buffer required",R.fileLoadErrorMessage="The file failed to load",R})(),ye=(function(){function R(_){var w=this,U;this.loaded=!1,this.destroyed=!1,this._observed=null,this.readyForPlaying=!1,this.artboard=null,this.eventCleanup=null,this.shouldDisableRiveListeners=!1,this.automaticallyHandleEvents=!1,this.dispatchPointerExit=!0,this.enableMultiTouch=!1,this.enableRiveAssetCDN=!0,this._volume=1,this._artboardWidth=void 0,this._artboardHeight=void 0,this._devicePixelRatioUsed=1,this._hasZeroSize=!1,this._audioEventListener=null,this._boundDraw=null,this._viewModelInstance=null,this._dataEnums=null,this.durations=[],this.frameTimes=[],this.frameCount=0,this.isTouchScrollEnabled=!1,this.onCanvasResize=function(oe){var Ae=w._hasZeroSize!==oe;w._hasZeroSize=oe,oe?(!w._layout.maxX||!w._layout.maxY)&&w.resizeToCanvas():Ae&&w.resizeDrawingSurfaceToCanvas()},this.renderSecondTimer=0,this._boundDraw=this.draw.bind(this),this.canvas=_.canvas,_.canvas.constructor===HTMLCanvasElement&&(this._observed=ke.add(this.canvas,this.onCanvasResize)),this.src=_.src,this.buffer=_.buffer,this.riveFile=_.riveFile,this.layout=(U=_.layout)!==null&&U!==void 0?U:new E,this.shouldDisableRiveListeners=!!_.shouldDisableRiveListeners,this.isTouchScrollEnabled=!!_.isTouchScrollEnabled,this.automaticallyHandleEvents=!!_.automaticallyHandleEvents,this.dispatchPointerExit=_.dispatchPointerExit===!1?_.dispatchPointerExit:this.dispatchPointerExit,this.enableMultiTouch=!!_.enableMultiTouch,this.enableRiveAssetCDN=_.enableRiveAssetCDN===void 0?!0:_.enableRiveAssetCDN,this.eventManager=new Q,_.onLoad&&this.on(P.Load,_.onLoad),_.onLoadError&&this.on(P.LoadError,_.onLoadError),_.onPlay&&this.on(P.Play,_.onPlay),_.onPause&&this.on(P.Pause,_.onPause),_.onStop&&this.on(P.Stop,_.onStop),_.onLoop&&this.on(P.Loop,_.onLoop),_.onStateChange&&this.on(P.StateChange,_.onStateChange),_.onAdvance&&this.on(P.Advance,_.onAdvance),_.onload&&!_.onLoad&&this.on(P.Load,_.onload),_.onloaderror&&!_.onLoadError&&this.on(P.LoadError,_.onloaderror),_.onplay&&!_.onPlay&&this.on(P.Play,_.onplay),_.onpause&&!_.onPause&&this.on(P.Pause,_.onpause),_.onstop&&!_.onStop&&this.on(P.Stop,_.onstop),_.onloop&&!_.onLoop&&this.on(P.Loop,_.onloop),_.onstatechange&&!_.onStateChange&&this.on(P.StateChange,_.onstatechange),_.assetLoader&&(this.assetLoader=_.assetLoader),this.taskQueue=new B(this.eventManager),this.init({src:this.src,buffer:this.buffer,riveFile:this.riveFile,autoplay:_.autoplay,autoBind:_.autoBind,animations:_.animations,stateMachines:_.stateMachines,artboard:_.artboard,useOffscreenRenderer:_.useOffscreenRenderer})}return Object.defineProperty(R.prototype,"viewModelCount",{get:function(){return this.file.viewModelCount()},enumerable:!1,configurable:!0}),R.new=function(_){return console.warn("This function is deprecated: please use `new Rive({})` instead"),new R(_)},R.prototype.onSystemAudioChanged=function(){this.volume=this._volume},R.prototype.init=function(_){var w=this,U=_.src,oe=_.buffer,Ae=_.riveFile,be=_.animations,qe=_.stateMachines,Xe=_.artboard,$e=_.autoplay,rt=$e===void 0?!1:$e,at=_.useOffscreenRenderer,Rt=at===void 0?!1:at,Ye=_.autoBind,Yt=Ye===void 0?!1:Ye;if(!this.destroyed){if(this.src=U,this.buffer=oe,this.riveFile=Ae,!this.src&&!this.buffer&&!this.riveFile)throw new p(R.missingErrorMessage);var Ct=Z(be),ht=Z(qe);this.loaded=!1,this.readyForPlaying=!1,T.awaitInstance().then(function(At){w.destroyed||(w.runtime=At,w.removeRiveListeners(),w.deleteRiveRenderer(),w.renderer=w.runtime.makeRenderer(w.canvas,Rt),w.canvas.width||w.canvas.height||w.resizeDrawingSurfaceToCanvas(),w.initData(Xe,Ct,ht,rt,Yt).then(function(hn){if(hn)return w.setupRiveListeners()}).catch(function(hn){console.error(hn)}))}).catch(function(At){console.error(At)})}},R.prototype.setupRiveListeners=function(_){var w=this;if(this.eventCleanup&&this.eventCleanup(),!this.shouldDisableRiveListeners){var U=(this.animator.stateMachines||[]).filter(function(qe){return qe.playing&&w.runtime.hasListeners(qe.instance)}).map(function(qe){return qe.instance}),oe=this.isTouchScrollEnabled,Ae=this.dispatchPointerExit,be=this.enableMultiTouch;_&&"isTouchScrollEnabled"in _&&(oe=_.isTouchScrollEnabled),this.eventCleanup=(0,c.registerTouchInteractions)({canvas:this.canvas,artboard:this.artboard,stateMachines:U,renderer:this.renderer,rive:this.runtime,fit:this._layout.runtimeFit(this.runtime),alignment:this._layout.runtimeAlignment(this.runtime),isTouchScrollEnabled:oe,dispatchPointerExit:Ae,enableMultiTouch:be,layoutScaleFactor:this._layout.layoutScaleFactor})}},R.prototype.removeRiveListeners=function(){this.eventCleanup&&(this.eventCleanup(),this.eventCleanup=null)},R.prototype.initializeAudio=function(){var _=this,w;ae.status==G.UNAVAILABLE&&!((w=this.artboard)===null||w===void 0)&&w.hasAudio&&this._audioEventListener===null&&(this._audioEventListener={type:P.AudioStatusChange,callback:function(){return _.onSystemAudioChanged()}},ae.add(this._audioEventListener),ae.establishAudio())},R.prototype.initArtboardSize=function(){this.artboard&&(this._artboardWidth=this.artboard.width=this._artboardWidth||this.artboard.width,this._artboardHeight=this.artboard.height=this._artboardHeight||this.artboard.height)},R.prototype.initData=function(_,w,U,oe,Ae){return f(this,void 0,void 0,function(){var be,qe,Xe,$e;return h(this,function(rt){switch(rt.label){case 0:return rt.trys.push([0,3,,4]),this.riveFile!=null?[3,2]:(be=new Re({src:this.src,buffer:this.buffer,enableRiveAssetCDN:this.enableRiveAssetCDN,assetLoader:this.assetLoader}),this.riveFile=be,[4,be.init()]);case 1:if(rt.sent(),this.destroyed)return be.destroyIfUnused(),[2,!1];rt.label=2;case 2:return this.file=this.riveFile.getInstance(),this.initArtboard(_,w,U,oe,Ae),this.initArtboardSize(),this.initializeAudio(),this.loaded=!0,this.eventManager.fire({type:P.Load,data:($e=this.src)!==null&&$e!==void 0?$e:"buffer"}),this.animator.advanceIfPaused(),this.readyForPlaying=!0,this.taskQueue.process(),this.drawFrame(),[2,!0];case 3:return qe=rt.sent(),Xe=b(qe),console.warn(Xe),this.eventManager.fire({type:P.LoadError,data:Xe}),[2,Promise.reject(Xe)];case 4:return[2]}})})},R.prototype.initArtboard=function(_,w,U,oe,Ae){if(this.file){var be=_?this.file.artboardByName(_):this.file.defaultArtboard();if(!be){var qe="Invalid artboard name or no default artboard";console.warn(qe),this.eventManager.fire({type:P.LoadError,data:qe});return}this.artboard=be,be.volume=this._volume*ae.systemVolume,this.animator=new N(this.runtime,this.artboard,this.eventManager);var Xe;if(w.length>0||U.length>0?(Xe=w.concat(U),this.animator.initLinearAnimations(w,oe),this.animator.initStateMachines(U,oe)):Xe=[this.animator.atLeastOne(oe,!1)],this.taskQueue.add({event:{type:oe?P.Play:P.Pause,data:Xe}}),Ae){var $e=this.file.defaultArtboardViewModel(be);if($e!==null){var rt=$e.defaultInstance();if(rt!==null){var at=new he(rt,null);(0,c.createFinalization)(at,at.runtimeInstance),this.bindViewModelInstance(at)}}}}},R.prototype.drawFrame=function(){var _,w;!((_=document==null?void 0:document.timeline)===null||_===void 0)&&_.currentTime?this.loaded&&this.artboard&&!this.frameRequestId&&(this._boundDraw(document.timeline.currentTime),(w=this.runtime)===null||w===void 0||w.resolveAnimationFrame()):this.startRendering()},R.prototype.draw=function(_,w){var U;this.frameRequestId=null;var oe=performance.now();this.lastRenderTime||(this.lastRenderTime=_),this.renderSecondTimer+=_-this.lastRenderTime,this.renderSecondTimer>5e3&&(this.renderSecondTimer=0,w==null||w());var Ae=(_-this.lastRenderTime)/1e3;this.lastRenderTime=_;for(var be=this.animator.animations.filter(function(vt){return vt.playing||vt.needsScrub}).sort(function(vt){return vt.needsScrub?-1:1}),qe=0,Xe=be;qe<Xe.length;qe++){var $e=Xe[qe];$e.advance(Ae),$e.instance.didLoop&&($e.loopCount+=1),$e.apply(1)}for(var rt=this.animator.stateMachines.filter(function(vt){return vt.playing}),at=0,Rt=rt;at<Rt.length;at++){var Ye=Rt[at],Yt=Ye.reportedEventCount();if(Yt)for(var Ct=0;Ct<Yt;Ct++){var ht=Ye.reportedEventAt(Ct);if(ht)if(ht.type===$.OpenUrl){if(this.eventManager.fire({type:P.RiveEvent,data:ht}),this.automaticallyHandleEvents){var At=document.createElement("a"),hn=ht,Bn=hn.url,nn=hn.target,Pn=(0,c.sanitizeUrl)(Bn);Bn&&At.setAttribute("href",Pn),nn&&At.setAttribute("target",nn),Pn&&Pn!==c.BLANK_URL&&At.click()}}else this.eventManager.fire({type:P.RiveEvent,data:ht})}Ye.advanceAndApply(Ae)}this.animator.stateMachines.length==0&&this.artboard.advance(Ae);var He=this.renderer;He.clear(),He.save(),this.alignRenderer(),this._hasZeroSize||this.artboard.draw(He),He.restore(),He.flush(),this.animator.handleLooping(),this.animator.handleStateChanges(),this.animator.handleAdvancing(Ae),this.frameCount++;var Be=performance.now();for(this.frameTimes.push(Be),this.durations.push(Be-oe);this.frameTimes[0]<=Be-1e3;)this.frameTimes.shift(),this.durations.shift();(U=this._viewModelInstance)===null||U===void 0||U.handleCallbacks(),this.animator.isPlaying?this.startRendering():this.animator.isPaused?this.lastRenderTime=0:this.animator.isStopped&&(this.lastRenderTime=0)},R.prototype.alignRenderer=function(){var _=this,w=_.renderer,U=_.runtime,oe=_._layout,Ae=_.artboard;w.align(oe.runtimeFit(U),oe.runtimeAlignment(U),{minX:oe.minX,minY:oe.minY,maxX:oe.maxX,maxY:oe.maxY},Ae.bounds,this._devicePixelRatioUsed*oe.layoutScaleFactor)},Object.defineProperty(R.prototype,"fps",{get:function(){return this.durations.length},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"frameTime",{get:function(){return this.durations.length===0?0:(this.durations.reduce(function(_,w){return _+w},0)/this.durations.length).toFixed(4)},enumerable:!1,configurable:!0}),R.prototype.cleanup=function(){var _,w;this.destroyed=!0,this.stopRendering(),this.cleanupInstances(),this._observed!==null&&ke.remove(this._observed),this.removeRiveListeners(),this.file&&((_=this.riveFile)===null||_===void 0||_.cleanup(),this.file=null),this.riveFile=null,this.deleteRiveRenderer(),this._audioEventListener!==null&&(ae.remove(this._audioEventListener),this._audioEventListener=null),(w=this._viewModelInstance)===null||w===void 0||w.cleanup(),this._viewModelInstance=null,this._dataEnums=null},R.prototype.deleteRiveRenderer=function(){var _;(_=this.renderer)===null||_===void 0||_.delete(),this.renderer=null},R.prototype.cleanupInstances=function(){this.eventCleanup!==null&&this.eventCleanup(),this.stop(),this.artboard&&(this.artboard.delete(),this.artboard=null)},R.prototype.retrieveTextRun=function(_){var w;if(!_){console.warn("No text run name provided");return}if(!this.artboard){console.warn("Tried to access text run, but the Artboard is null");return}var U=this.artboard.textRun(_);if(!U){console.warn("Could not access a text run with name '".concat(_,"' in the '").concat((w=this.artboard)===null||w===void 0?void 0:w.name,"' Artboard. Note that you must rename a text run node in the Rive editor to make it queryable at runtime."));return}return U},R.prototype.getTextRunValue=function(_){var w=this.retrieveTextRun(_);return w?w.text:void 0},R.prototype.setTextRunValue=function(_,w){var U=this.retrieveTextRun(_);U&&(U.text=w)},R.prototype.play=function(_,w){var U=this;if(_=Z(_),!this.readyForPlaying){this.taskQueue.add({action:function(){return U.play(_,w)}});return}this.animator.play(_),this.eventCleanup&&this.eventCleanup(),this.setupRiveListeners(),this.startRendering()},R.prototype.pause=function(_){var w=this;if(_=Z(_),!this.readyForPlaying){this.taskQueue.add({action:function(){return w.pause(_)}});return}this.eventCleanup&&this.eventCleanup(),this.animator.pause(_)},R.prototype.scrub=function(_,w){var U=this;if(_=Z(_),!this.readyForPlaying){this.taskQueue.add({action:function(){return U.scrub(_,w)}});return}this.animator.scrub(_,w||0),this.drawFrame()},R.prototype.stop=function(_){var w=this;if(_=Z(_),!this.readyForPlaying){this.taskQueue.add({action:function(){return w.stop(_)}});return}this.animator&&this.animator.stop(_),this.eventCleanup&&this.eventCleanup()},R.prototype.reset=function(_){var w,U,oe=_==null?void 0:_.artboard,Ae=Z(_==null?void 0:_.animations),be=Z(_==null?void 0:_.stateMachines),qe=(w=_==null?void 0:_.autoplay)!==null&&w!==void 0?w:!1,Xe=(U=_==null?void 0:_.autoBind)!==null&&U!==void 0?U:!1;this.cleanupInstances(),this.initArtboard(oe,Ae,be,qe,Xe),this.taskQueue.process()},R.prototype.load=function(_){this.file=null,this.stop(),this.init(_)},Object.defineProperty(R.prototype,"layout",{get:function(){return this._layout},set:function(_){this._layout=_,(!_.maxX||!_.maxY)&&this.resizeToCanvas(),this.loaded&&!this.animator.isPlaying&&this.drawFrame()},enumerable:!1,configurable:!0}),R.prototype.resizeToCanvas=function(){this._layout=this.layout.copyWith({minX:0,minY:0,maxX:this.canvas.width,maxY:this.canvas.height})},R.prototype.resizeDrawingSurfaceToCanvas=function(_){if(this.canvas instanceof HTMLCanvasElement&&window){var w=this.canvas.getBoundingClientRect(),U=w.width,oe=w.height,Ae=_||window.devicePixelRatio||1;if(this.devicePixelRatioUsed=Ae,this.canvas.width=Ae*U,this.canvas.height=Ae*oe,this.resizeToCanvas(),this.drawFrame(),this.layout.fit===y.Layout){var be=this._layout.layoutScaleFactor;this.artboard.width=U/be,this.artboard.height=oe/be}}},Object.defineProperty(R.prototype,"source",{get:function(){return this.src},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"activeArtboard",{get:function(){return this.artboard?this.artboard.name:""},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"animationNames",{get:function(){if(!this.loaded||!this.artboard)return[];for(var _=[],w=0;w<this.artboard.animationCount();w++)_.push(this.artboard.animationByIndex(w).name);return _},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"stateMachineNames",{get:function(){if(!this.loaded||!this.artboard)return[];for(var _=[],w=0;w<this.artboard.stateMachineCount();w++)_.push(this.artboard.stateMachineByIndex(w).name);return _},enumerable:!1,configurable:!0}),R.prototype.stateMachineInputs=function(_){if(this.loaded){var w=this.animator.stateMachines.find(function(U){return U.name===_});return w==null?void 0:w.inputs}},R.prototype.retrieveInputAtPath=function(_,w){if(!_){console.warn("No input name provided for path '".concat(w,"'"));return}if(!this.artboard){console.warn("Tried to access input: '".concat(_,"', at path: '").concat(w,"', but the Artboard is null"));return}var U=this.artboard.inputByPath(_,w);if(!U){console.warn("Could not access an input with name: '".concat(_,"', at path:'").concat(w,"'"));return}return U},R.prototype.setBooleanStateAtPath=function(_,w,U){var oe=this.retrieveInputAtPath(_,U);oe&&(oe.type===k.Boolean?oe.asBool().value=w:console.warn("Input with name: '".concat(_,"', at path:'").concat(U,"' is not a boolean")))},R.prototype.setNumberStateAtPath=function(_,w,U){var oe=this.retrieveInputAtPath(_,U);oe&&(oe.type===k.Number?oe.asNumber().value=w:console.warn("Input with name: '".concat(_,"', at path:'").concat(U,"' is not a number")))},R.prototype.fireStateAtPath=function(_,w){var U=this.retrieveInputAtPath(_,w);U&&(U.type===k.Trigger?U.asTrigger().fire():console.warn("Input with name: '".concat(_,"', at path:'").concat(w,"' is not a trigger")))},R.prototype.retrieveTextAtPath=function(_,w){if(!_){console.warn("No text name provided for path '".concat(w,"'"));return}if(!w){console.warn("No path provided for text '".concat(_,"'"));return}if(!this.artboard){console.warn("Tried to access text: '".concat(_,"', at path: '").concat(w,"', but the Artboard is null"));return}var U=this.artboard.textByPath(_,w);if(!U){console.warn("Could not access text with name: '".concat(_,"', at path:'").concat(w,"'"));return}return U},R.prototype.getTextRunValueAtPath=function(_,w){var U=this.retrieveTextAtPath(_,w);if(!U){console.warn("Could not get text with name: '".concat(_,"', at path:'").concat(w,"'"));return}return U.text},R.prototype.setTextRunValueAtPath=function(_,w,U){var oe=this.retrieveTextAtPath(_,U);if(!oe){console.warn("Could not set text with name: '".concat(_,"', at path:'").concat(U,"'"));return}oe.text=w},Object.defineProperty(R.prototype,"playingStateMachineNames",{get:function(){return this.loaded?this.animator.stateMachines.filter(function(_){return _.playing}).map(function(_){return _.name}):[]},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"playingAnimationNames",{get:function(){return this.loaded?this.animator.animations.filter(function(_){return _.playing}).map(function(_){return _.name}):[]},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"pausedAnimationNames",{get:function(){return this.loaded?this.animator.animations.filter(function(_){return!_.playing}).map(function(_){return _.name}):[]},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"pausedStateMachineNames",{get:function(){return this.loaded?this.animator.stateMachines.filter(function(_){return!_.playing}).map(function(_){return _.name}):[]},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"isPlaying",{get:function(){return this.animator.isPlaying},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"isPaused",{get:function(){return this.animator.isPaused},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"isStopped",{get:function(){return this.animator.isStopped},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"bounds",{get:function(){return this.artboard?this.artboard.bounds:void 0},enumerable:!1,configurable:!0}),R.prototype.on=function(_,w){this.eventManager.add({type:_,callback:w})},R.prototype.off=function(_,w){this.eventManager.remove({type:_,callback:w})},R.prototype.unsubscribe=function(_,w){console.warn("This function is deprecated: please use `off()` instead."),this.off(_,w)},R.prototype.removeAllRiveEventListeners=function(_){this.eventManager.removeAll(_)},R.prototype.unsubscribeAll=function(_){console.warn("This function is deprecated: please use `removeAllRiveEventListeners()` instead."),this.removeAllRiveEventListeners(_)},R.prototype.stopRendering=function(){this.loaded&&this.frameRequestId&&(this.runtime.cancelAnimationFrame?this.runtime.cancelAnimationFrame(this.frameRequestId):cancelAnimationFrame(this.frameRequestId),this.frameRequestId=null)},R.prototype.startRendering=function(){this.loaded&&this.artboard&&!this.frameRequestId&&(this.runtime.requestAnimationFrame?this.frameRequestId=this.runtime.requestAnimationFrame(this._boundDraw):this.frameRequestId=requestAnimationFrame(this._boundDraw))},R.prototype.enableFPSCounter=function(_){this.runtime.enableFPSCounter(_)},R.prototype.disableFPSCounter=function(){this.runtime.disableFPSCounter()},Object.defineProperty(R.prototype,"contents",{get:function(){if(this.loaded){for(var _={artboards:[]},w=0;w<this.file.artboardCount();w++){for(var U=this.file.artboardByIndex(w),oe={name:U.name,animations:[],stateMachines:[]},Ae=0;Ae<U.animationCount();Ae++){var be=U.animationByIndex(Ae);oe.animations.push(be.name)}for(var qe=0;qe<U.stateMachineCount();qe++){for(var Xe=U.stateMachineByIndex(qe),$e=Xe.name,rt=new this.runtime.StateMachineInstance(Xe,U),at=[],Rt=0;Rt<rt.inputCount();Rt++){var Ye=rt.input(Rt);at.push({name:Ye.name,type:Ye.type})}oe.stateMachines.push({name:$e,inputs:at})}_.artboards.push(oe)}return _}},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"volume",{get:function(){return this.artboard&&this.artboard.volume!==this._volume&&(this._volume=this.artboard.volume),this._volume},set:function(_){this._volume=_,this.artboard&&(this.artboard.volume=_*ae.systemVolume)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"artboardWidth",{get:function(){var _;return this.artboard?this.artboard.width:(_=this._artboardWidth)!==null&&_!==void 0?_:0},set:function(_){this._artboardWidth=_,this.artboard&&(this.artboard.width=_)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"artboardHeight",{get:function(){var _;return this.artboard?this.artboard.height:(_=this._artboardHeight)!==null&&_!==void 0?_:0},set:function(_){this._artboardHeight=_,this.artboard&&(this.artboard.height=_)},enumerable:!1,configurable:!0}),R.prototype.resetArtboardSize=function(){this.artboard?(this.artboard.resetArtboardSize(),this._artboardWidth=this.artboard.width,this._artboardHeight=this.artboard.height):(this._artboardWidth=void 0,this._artboardHeight=void 0)},Object.defineProperty(R.prototype,"devicePixelRatioUsed",{get:function(){return this._devicePixelRatioUsed},set:function(_){this._devicePixelRatioUsed=_},enumerable:!1,configurable:!0}),R.prototype.bindViewModelInstance=function(_){var w;this.artboard&&!this.destroyed&&_&&_.runtimeInstance&&(_.internalIncrementReferenceCount(),(w=this._viewModelInstance)===null||w===void 0||w.cleanup(),this._viewModelInstance=_,this.animator.stateMachines.length>0?this.animator.stateMachines.forEach(function(U){return U.bindViewModelInstance(_)}):this.artboard.bindViewModelInstance(_.runtimeInstance))},Object.defineProperty(R.prototype,"viewModelInstance",{get:function(){return this._viewModelInstance},enumerable:!1,configurable:!0}),R.prototype.viewModelByIndex=function(_){var w=this.file.viewModelByIndex(_);return w!==null?new we(w):null},R.prototype.viewModelByName=function(_){var w=this.file.viewModelByName(_);return w!==null?new we(w):null},R.prototype.enums=function(){if(this._dataEnums===null){var _=this.file.enums();this._dataEnums=_.map(function(w){return new se(w)})}return this._dataEnums},R.prototype.defaultViewModel=function(){if(this.artboard){var _=this.file.defaultArtboardViewModel(this.artboard);if(_)return new we(_)}return null},R.prototype.getArtboard=function(_){var w,U;return(U=(w=this.riveFile)===null||w===void 0?void 0:w.getArtboard(_))!==null&&U!==void 0?U:null},R.prototype.getBindableArtboard=function(_){var w,U;return(U=(w=this.riveFile)===null||w===void 0?void 0:w.getBindableArtboard(_))!==null&&U!==void 0?U:null},R.prototype.getDefaultBindableArtboard=function(){var _,w;return(w=(_=this.riveFile)===null||_===void 0?void 0:_.getDefaultBindableArtboard())!==null&&w!==void 0?w:null},R.missingErrorMessage="Rive source file or data buffer required",R.cleanupErrorMessage="Attempt to use file after calling cleanup.",R})(),we=(function(){function R(_){this._viewModel=_}return Object.defineProperty(R.prototype,"instanceCount",{get:function(){return this._viewModel.instanceCount},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"name",{get:function(){return this._viewModel.name},enumerable:!1,configurable:!0}),R.prototype.instanceByIndex=function(_){var w=this._viewModel.instanceByIndex(_);if(w!==null){var U=new he(w,null);return(0,c.createFinalization)(U,w),U}return null},R.prototype.instanceByName=function(_){var w=this._viewModel.instanceByName(_);if(w!==null){var U=new he(w,null);return(0,c.createFinalization)(U,w),U}return null},R.prototype.defaultInstance=function(){var _=this._viewModel.defaultInstance();if(_!==null){var w=new he(_,null);return(0,c.createFinalization)(w,_),w}return null},R.prototype.instance=function(){var _=this._viewModel.instance();if(_!==null){var w=new he(_,null);return(0,c.createFinalization)(w,_),w}return null},Object.defineProperty(R.prototype,"properties",{get:function(){return this._viewModel.getProperties()},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"instanceNames",{get:function(){return this._viewModel.getInstanceNames()},enumerable:!1,configurable:!0}),R})(),se=(function(){function R(_){this._dataEnum=_}return Object.defineProperty(R.prototype,"name",{get:function(){return this._dataEnum.name},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"values",{get:function(){return this._dataEnum.values},enumerable:!1,configurable:!0}),R})(),le;(function(R){R.Number="number",R.String="string",R.Boolean="boolean",R.Color="color",R.Trigger="trigger",R.Enum="enum",R.List="list",R.Image="image",R.Artboard="artboard"})(le||(le={}));var he=(function(){function R(_,w){this._parents=[],this._children=[],this._viewModelInstances=new Map,this._propertiesWithCallbacks=[],this._referenceCount=0,this.selfUnref=!1,this._runtimeInstance=_,w!==null&&this._parents.push(w)}return Object.defineProperty(R.prototype,"runtimeInstance",{get:function(){return this._runtimeInstance},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"nativeInstance",{get:function(){return this._runtimeInstance},enumerable:!1,configurable:!0}),R.prototype.handleCallbacks=function(){this._propertiesWithCallbacks.length!==0&&(this._propertiesWithCallbacks.forEach(function(_){_.handleCallbacks()}),this._propertiesWithCallbacks.forEach(function(_){_.clearChanges()})),this._children.forEach(function(_){return _.handleCallbacks()})},R.prototype.addParent=function(_){this._parents.includes(_)||(this._parents.push(_),(this._propertiesWithCallbacks.length>0||this._children.length>0)&&_.addToViewModelCallbacks(this))},R.prototype.removeParent=function(_){var w=this._parents.indexOf(_);if(w!==-1){var U=this._parents[w];U.removeFromViewModelCallbacks(this),this._parents.splice(w,1)}},R.prototype.addToPropertyCallbacks=function(_){var w=this;this._propertiesWithCallbacks.includes(_)||(this._propertiesWithCallbacks.push(_),this._propertiesWithCallbacks.length>0&&this._parents.forEach(function(U){U.addToViewModelCallbacks(w)}))},R.prototype.removeFromPropertyCallbacks=function(_){var w=this;this._propertiesWithCallbacks.includes(_)&&(this._propertiesWithCallbacks=this._propertiesWithCallbacks.filter(function(U){return U!==_}),this._children.length===0&&this._propertiesWithCallbacks.length===0&&this._parents.forEach(function(U){U.removeFromViewModelCallbacks(w)}))},R.prototype.addToViewModelCallbacks=function(_){var w=this;this._children.includes(_)||(this._children.push(_),this._parents.forEach(function(U){U.addToViewModelCallbacks(w)}))},R.prototype.removeFromViewModelCallbacks=function(_){var w=this;this._children.includes(_)&&(this._children=this._children.filter(function(U){return U!==_}),this._children.length===0&&this._propertiesWithCallbacks.length===0&&this._parents.forEach(function(U){U.removeFromViewModelCallbacks(w)}))},R.prototype.clearCallbacks=function(){this._propertiesWithCallbacks.forEach(function(_){_.clearCallbacks()})},R.prototype.propertyFromPath=function(_,w){var U=_.split("/");return this.propertyFromPathSegments(U,0,w)},R.prototype.viewModelFromPathSegments=function(_,w){var U=this.internalViewModelInstance(_[w]);return U!==null?w==_.length-1?U:U.viewModelFromPathSegments(_,w++):null},R.prototype.propertyFromPathSegments=function(_,w,U){var oe,Ae,be,qe,Xe,$e,rt,at,Rt,Ye,Yt,Ct,ht,At,hn,Bn,nn,Pn;if(w<_.length-1){var He=this.internalViewModelInstance(_[w]);return He!==null?He.propertyFromPathSegments(_,w+1,U):null}var Be=null;switch(U){case le.Number:if(Be=(Ae=(oe=this._runtimeInstance)===null||oe===void 0?void 0:oe.number(_[w]))!==null&&Ae!==void 0?Ae:null,Be!==null)return new W(Be,this);break;case le.String:if(Be=(qe=(be=this._runtimeInstance)===null||be===void 0?void 0:be.string(_[w]))!==null&&qe!==void 0?qe:null,Be!==null)return new Le(Be,this);break;case le.Boolean:if(Be=($e=(Xe=this._runtimeInstance)===null||Xe===void 0?void 0:Xe.boolean(_[w]))!==null&&$e!==void 0?$e:null,Be!==null)return new L(Be,this);break;case le.Color:if(Be=(at=(rt=this._runtimeInstance)===null||rt===void 0?void 0:rt.color(_[w]))!==null&&at!==void 0?at:null,Be!==null)return new x(Be,this);break;case le.Trigger:if(Be=(Ye=(Rt=this._runtimeInstance)===null||Rt===void 0?void 0:Rt.trigger(_[w]))!==null&&Ye!==void 0?Ye:null,Be!==null)return new q(Be,this);break;case le.Enum:if(Be=(Ct=(Yt=this._runtimeInstance)===null||Yt===void 0?void 0:Yt.enum(_[w]))!==null&&Ct!==void 0?Ct:null,Be!==null)return new ee(Be,this);break;case le.List:if(Be=(At=(ht=this._runtimeInstance)===null||ht===void 0?void 0:ht.list(_[w]))!==null&&At!==void 0?At:null,Be!==null)return new K(Be,this);break;case le.Image:if(Be=(Bn=(hn=this._runtimeInstance)===null||hn===void 0?void 0:hn.image(_[w]))!==null&&Bn!==void 0?Bn:null,Be!==null)return new V(Be,this);break;case le.Artboard:if(Be=(Pn=(nn=this._runtimeInstance)===null||nn===void 0?void 0:nn.artboard(_[w]))!==null&&Pn!==void 0?Pn:null,Be!==null)return new C(Be,this);break}return null},R.prototype.internalViewModelInstance=function(_){var w;if(this._viewModelInstances.has(_))return this._viewModelInstances.get(_);var U=(w=this._runtimeInstance)===null||w===void 0?void 0:w.viewModel(_);if(U!==null){var oe=new R(U,this);return(0,c.createFinalization)(oe,U),oe.internalIncrementReferenceCount(),this._viewModelInstances.set(_,oe),oe}return null},R.prototype.number=function(_){var w=this.propertyFromPath(_,le.Number);return w},R.prototype.string=function(_){var w=this.propertyFromPath(_,le.String);return w},R.prototype.boolean=function(_){var w=this.propertyFromPath(_,le.Boolean);return w},R.prototype.color=function(_){var w=this.propertyFromPath(_,le.Color);return w},R.prototype.trigger=function(_){var w=this.propertyFromPath(_,le.Trigger);return w},R.prototype.enum=function(_){var w=this.propertyFromPath(_,le.Enum);return w},R.prototype.list=function(_){var w=this.propertyFromPath(_,le.List);return w},R.prototype.image=function(_){var w=this.propertyFromPath(_,le.Image);return w},R.prototype.artboard=function(_){var w=this.propertyFromPath(_,le.Artboard);return w},R.prototype.viewModel=function(_){var w=_.split("/"),U=w.length>1?this.viewModelFromPathSegments(w.slice(0,w.length-1),0):this;return U!=null?U.internalViewModelInstance(w[w.length-1]):null},R.prototype.internalReplaceViewModel=function(_,w){var U;if(w.runtimeInstance!==null){var oe=((U=this._runtimeInstance)===null||U===void 0?void 0:U.replaceViewModel(_,w.runtimeInstance))||!1;if(oe){w.internalIncrementReferenceCount();var Ae=this.internalViewModelInstance(_);Ae!==null&&(Ae.removeParent(this),this._children.includes(Ae)&&(this._children=this._children.filter(function(be){return be!==Ae})),Ae.cleanup()),this._viewModelInstances.set(_,w),w.addParent(this)}return oe}return!1},R.prototype.replaceViewModel=function(_,w){var U,oe=_.split("/"),Ae=oe.length>1?this.viewModelFromPathSegments(oe.slice(0,oe.length-1),0):this;return(U=Ae==null?void 0:Ae.internalReplaceViewModel(oe[oe.length-1],w))!==null&&U!==void 0?U:!1},R.prototype.incrementReferenceCount=function(){var _;this._referenceCount++,(_=this._runtimeInstance)===null||_===void 0||_.incrementReferenceCount()},R.prototype.decrementReferenceCount=function(){var _;this._referenceCount--,(_=this._runtimeInstance)===null||_===void 0||_.decrementReferenceCount()},Object.defineProperty(R.prototype,"properties",{get:function(){var _;return((_=this._runtimeInstance)===null||_===void 0?void 0:_.getProperties().map(function(w){return l({},w)}))||[]},enumerable:!1,configurable:!0}),R.prototype.internalIncrementReferenceCount=function(){this._referenceCount++},R.prototype.cleanup=function(){var _=this,w;if(this._referenceCount--,this._referenceCount<=0){this.selfUnref&&((w=this._runtimeInstance)===null||w===void 0||w.unref()),this._runtimeInstance=null,this.clearCallbacks(),this._propertiesWithCallbacks=[],this._viewModelInstances.forEach(function(Ae){Ae.cleanup()}),this._viewModelInstances.clear();var U=g([],this._children,!0);this._children.length=0;var oe=g([],this._parents,!0);this._parents.length=0,U.forEach(function(Ae){Ae.removeParent(_)}),oe.forEach(function(Ae){Ae.removeFromViewModelCallbacks(_)})}},R})(),Te=(function(){function R(_,w){this.callbacks=[],this._viewModelInstanceValue=_,this._parentViewModel=w}return R.prototype.on=function(_){this.callbacks.length===0&&this._viewModelInstanceValue.clearChanges(),this.callbacks.includes(_)||(this.callbacks.push(_),this._parentViewModel.addToPropertyCallbacks(this))},R.prototype.off=function(_){_?this.callbacks=this.callbacks.filter(function(w){return w!==_}):this.callbacks.length=0,this.callbacks.length===0&&this._parentViewModel.removeFromPropertyCallbacks(this)},R.prototype.internalHandleCallback=function(_){},R.prototype.handleCallbacks=function(){var _=this;this._viewModelInstanceValue.hasChanged&&this.callbacks.forEach(function(w){_.internalHandleCallback(w)})},R.prototype.clearChanges=function(){this._viewModelInstanceValue.clearChanges()},R.prototype.clearCallbacks=function(){this.callbacks.length=0},Object.defineProperty(R.prototype,"name",{get:function(){return this._viewModelInstanceValue.name},enumerable:!1,configurable:!0}),R})(),Le=(function(R){d(_,R);function _(w,U){return R.call(this,w,U)||this}return Object.defineProperty(_.prototype,"value",{get:function(){return this._viewModelInstanceValue.value},set:function(w){this._viewModelInstanceValue.value=w},enumerable:!1,configurable:!0}),_.prototype.internalHandleCallback=function(w){w(this.value)},_})(Te),W=(function(R){d(_,R);function _(w,U){return R.call(this,w,U)||this}return Object.defineProperty(_.prototype,"value",{get:function(){return this._viewModelInstanceValue.value},set:function(w){this._viewModelInstanceValue.value=w},enumerable:!1,configurable:!0}),_.prototype.internalHandleCallback=function(w){w(this.value)},_})(Te),L=(function(R){d(_,R);function _(w,U){return R.call(this,w,U)||this}return Object.defineProperty(_.prototype,"value",{get:function(){return this._viewModelInstanceValue.value},set:function(w){this._viewModelInstanceValue.value=w},enumerable:!1,configurable:!0}),_.prototype.internalHandleCallback=function(w){w(this.value)},_})(Te),q=(function(R){d(_,R);function _(w,U){return R.call(this,w,U)||this}return _.prototype.trigger=function(){return this._viewModelInstanceValue.trigger()},_.prototype.internalHandleCallback=function(w){w()},_})(Te),ee=(function(R){d(_,R);function _(w,U){return R.call(this,w,U)||this}return Object.defineProperty(_.prototype,"value",{get:function(){return this._viewModelInstanceValue.value},set:function(w){this._viewModelInstanceValue.value=w},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"valueIndex",{get:function(){return this._viewModelInstanceValue.valueIndex},set:function(w){this._viewModelInstanceValue.valueIndex=w},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"values",{get:function(){return this._viewModelInstanceValue.values},enumerable:!1,configurable:!0}),_.prototype.internalHandleCallback=function(w){w(this.value)},_})(Te),K=(function(R){d(_,R);function _(w,U){return R.call(this,w,U)||this}return Object.defineProperty(_.prototype,"length",{get:function(){return this._viewModelInstanceValue.size},enumerable:!1,configurable:!0}),_.prototype.addInstance=function(w){w.runtimeInstance!=null&&(this._viewModelInstanceValue.addInstance(w.runtimeInstance),w.addParent(this._parentViewModel))},_.prototype.addInstanceAt=function(w,U){return w.runtimeInstance!=null&&this._viewModelInstanceValue.addInstanceAt(w.runtimeInstance,U)?(w.addParent(this._parentViewModel),!0):!1},_.prototype.removeInstance=function(w){w.runtimeInstance!=null&&(this._viewModelInstanceValue.removeInstance(w.runtimeInstance),w.removeParent(this._parentViewModel))},_.prototype.removeInstanceAt=function(w){this._viewModelInstanceValue.removeInstanceAt(w)},_.prototype.instanceAt=function(w){var U=this._viewModelInstanceValue.instanceAt(w);if(U!=null){var oe=new he(U,this._parentViewModel);return(0,c.createFinalization)(oe,U),oe}return null},_.prototype.swap=function(w,U){this._viewModelInstanceValue.swap(w,U)},_.prototype.internalHandleCallback=function(w){w()},_})(Te),x=(function(R){d(_,R);function _(w,U){return R.call(this,w,U)||this}return Object.defineProperty(_.prototype,"value",{get:function(){return this._viewModelInstanceValue.value},set:function(w){this._viewModelInstanceValue.value=w},enumerable:!1,configurable:!0}),_.prototype.rgb=function(w,U,oe){this._viewModelInstanceValue.rgb(w,U,oe)},_.prototype.rgba=function(w,U,oe,Ae){this._viewModelInstanceValue.argb(Ae,w,U,oe)},_.prototype.argb=function(w,U,oe,Ae){this._viewModelInstanceValue.argb(w,U,oe,Ae)},_.prototype.alpha=function(w){this._viewModelInstanceValue.alpha(w)},_.prototype.opacity=function(w){this._viewModelInstanceValue.alpha(Math.round(Math.max(0,Math.min(1,w))*255))},_.prototype.internalHandleCallback=function(w){w(this.value)},_})(Te),V=(function(R){d(_,R);function _(w,U){return R.call(this,w,U)||this}return Object.defineProperty(_.prototype,"value",{set:function(w){var U;this._viewModelInstanceValue.value((U=w==null?void 0:w.nativeImage)!==null&&U!==void 0?U:null)},enumerable:!1,configurable:!0}),_.prototype.internalHandleCallback=function(w){w()},_})(Te),C=(function(R){d(_,R);function _(w,U){return R.call(this,w,U)||this}return Object.defineProperty(_.prototype,"value",{set:function(w){var U,oe;w.isBindableArtboard?oe=w:oe=w.file.internalBindableArtboardFromArtboard(w.nativeArtboard),this._viewModelInstanceValue.value((U=oe==null?void 0:oe.nativeArtboard)!==null&&U!==void 0?U:null)},enumerable:!1,configurable:!0}),_.prototype.internalHandleCallback=function(w){w()},_})(Te),D=function(R){return f(void 0,void 0,void 0,function(){var _,w,U;return h(this,function(oe){switch(oe.label){case 0:return _=new Request(R),[4,fetch(_)];case 1:return w=oe.sent(),[4,w.arrayBuffer()];case 2:return U=oe.sent(),[2,U]}})})},Z=function(R){return typeof R=="string"?[R]:R instanceof Array?R:[]},fe={EventManager:Q,TaskQueueManager:B},de=function(R){return f(void 0,void 0,void 0,function(){var _,w,U;return h(this,function(oe){switch(oe.label){case 0:return _=new Promise(function(Ae){return T.getInstance(function(be){be.decodeAudio(R,Ae)})}),[4,_];case 1:return w=oe.sent(),U=new c.AudioWrapper(w),c.finalizationRegistry.register(U,w),[2,U]}})})},ne=function(R){return f(void 0,void 0,void 0,function(){var _,w,U;return h(this,function(oe){switch(oe.label){case 0:return _=new Promise(function(Ae){return T.getInstance(function(be){be.decodeImage(R,Ae)})}),[4,_];case 1:return w=oe.sent(),U=new c.ImageWrapper(w),c.finalizationRegistry.register(U,w),[2,U]}})})},ce=function(R){return f(void 0,void 0,void 0,function(){var _,w,U;return h(this,function(oe){switch(oe.label){case 0:return _=new Promise(function(Ae){return T.getInstance(function(be){be.decodeFont(R,Ae)})}),[4,_];case 1:return w=oe.sent(),U=new c.FontWrapper(w),c.finalizationRegistry.register(U,w),[2,U]}})})}})(),s})())})(Kf)),Kf.exports}var xd=IF();const LF=xF(xd),OF=mE({__proto__:null,default:LF},[xd]),s1={fontMap:{"RoslindaleDisplayCondensed-Light":"/rive/RoslindaleDisplayCondensed-Light-3462095.ttf"},imageMap:{}},MF={__name:"RivePlayer",props:{srcAll:{default:{src:"",artboard:"Main",animation:"Main"},required:!0},assets:{default:s1},textRuns:{default:{}},fit:{default:"contain"},alignment:{default:"center"},stateMachines:{default:null},autoplay:{default:!0},fpsCounter:{default:!1},logInstance:{default:!1}},emits:["load"],setup(t,{expose:e,emit:n}){const r=t,i=n,{Rive:s,Layout:o}=OF,a=j(null),u=j(null),c=ba(null),d=ba([]),l=j(!1),f=j(0),h=j(""),g=j("");let p=[],b=null;Ve(()=>a.value&&u.value,()=>O());function y(){var G,ie;const B=Math.min(window.devicePixelRatio,2);(G=c.value)==null||G.resizeDrawingSurfaceToCanvas(B),(ie=c.value)==null||ie.startRendering()}function S(){var B;p=[],(B=c.value)==null||B.cleanup(),b==null||b.disconnect(),b=null,c.value=null,l.value=!1}function E(){const B=H();Object.keys(B).forEach(G=>{B[G]})}function T(){const B=c.value;r.textRuns&&Object.keys(r.textRuns).forEach(G=>{B==null||B.setTextRunValue(G,r.textRuns[G])})}function k(){return r.assets||s1}function M(B){var ie;const G=((ie=k().fontMap)==null?void 0:ie[B.name])||null;if(!G){console.warn(`rive: ${r.srcAll.src} :: missing font asset: ${B.name}`);return}fetch(G).then(async ae=>{const X=await xd.decodeFont(new Uint8Array(await ae.arrayBuffer()));B.setFont(X),X.unref()})}function $(B){var ie,ae;const G=((ae=(ie=k())==null?void 0:ie.imageMap)==null?void 0:ae[B.name])||null;if(!G){console.warn(`rive: ${r.srcAll.src} :: missing image asset: ${B.name}`);return}fetch(G).then(async X=>{const pe=await xd.decodeImage(new Uint8Array(await X.arrayBuffer()));B.setRenderImage(pe),pe.unref()})}function H(){var Ee;const B=c.value;if(!B)return null;const G=B.animator.animations[0].animation.duration,ie=B.animator.animations[0].animation.fps,ae=G/ie,X=(Ee=c.value.contents)==null?void 0:Ee.artboards.map(ke=>ke.name),pe=c.value.animationNames;return{src:c.value.src,rive:c.value,artboardNames:X,animationNames:pe,artboardHeight:B._artboardHeight,artboardWidth:B._artboardWidth,ratio:B._artboardWidth/B._artboardHeight,fps:ie,durationFrames:G,durationSeconds:ae,assetsRequested:p}}function O(B=!1){S();const G=r.logInstance||B;G&&console.group("RIVE INFO"),h.value=B?null:r.srcAll.animation||"Main",g.value=B?null:r.srcAll.artboard||"Main";let ie=!1;G&&r.srcAll.src,c.value=new s({src:r.srcAll.src,artboard:g.value,animation:h.value,canvas:u.value,layout:new o({fit:r.fit,alignment:r.alignment}),autoplay:r.autoplay,assetLoader:(ae,X)=>{const pe={name:ae.name,fileExtension:ae.fileExtension,cdnUuid:ae.cdnUuid,isFont:ae.isFont,isImage:ae.isImage,bytes:X};return p.push(pe),ae.cdnUuid.length>0||X.length>0?!1:ae.isFont?(M(ae),!0):ae.isImage?($(ae),!0):!1},onLoad:()=>{if(ie)return;y(),d.value=c.value.stateMachineInputs(r.stateMachines),r.fpsCounter&&c.value.enableFPSCounter(),G&&(B&&console.warn(`ERROR IN RIVE CONFIGURATION,: ${r.srcAll.src}, animation: ${r.srcAll.animation}, artboard: ${r.srcAll.artboard}`),(r.logInstance||B)&&E(),console.groupEnd());const ae=H();f.value=ae.durationSeconds,T(),l.value=!0,i("load")},onLoadError:ae=>{B||(ie=!0,setTimeout(()=>O(!0),500))}}),b=new ResizeObserver(y),b.observe(u.value)}function F(B,G=null){var ie,ae;G=G||h.value,(ie=c.value)==null||ie.scrub(G,B),(ae=c.value)==null||ae.startRendering()}let re=null;function N(B,G=null){var ae,X,pe;if(G=G||h.value,B===re)return;const ie=Oi(B)*f.value;(ae=c.value)==null||ae.pause(G),(X=c.value)==null||X.scrub(G,ie),(pe=c.value)==null||pe.startRendering(),re=B}function P(B=null){var G;B=B||h.value,(G=c.value)==null||G.play(B)}function z(B=null){var G;B=B||h.value,(G=c.value)==null||G.pause(B)}function Q(B=null){var G;B=B||h.value,(G=c.value)==null||G.stop(B)}return kt(()=>{setTimeout(()=>{a.value=!0},50)}),Vt(()=>{S()}),e({animation:h,loaded:l,resize:y,instance:c,inputs:d,scrub:F,play:P,pause:z,stop:Q,progress:N,getInfo:H}),(B,G)=>(ue(),me("canvas",{ref_key:"canvasRef",ref:u,class:"RivePlayer"},null,512))}},gA=_t(MF,[["__scopeId","data-v-667a266b"]]),Ei=5.6;class FF{constructor(){Oe(this,"desktop",{elements:{heroRect:null},time:{swirlEnd:Ei,graphStart:Ei-.15,imageStackStart:Ei+2,quoteStart:Ei+4.5,keyAreaStart:Ei+5.5,approachStart:Ei+15.3}});Oe(this,"mobile",{elements:{heroRect:null},time:{swirlEnd:Ei,graphStart:Ei-.15,imageStackStart:Ei+2,quoteStart:Ei+4.5,keyAreaStart:Ei+5.5,approachStart:Ei+15.3}})}}const mr=new FF;function DF(t,e=0,n=1){return t<e?e:t>n?n:t}class _A{constructor({decel:e=.4,accel:n=.06,maxSpeed:r=.2}={}){this.maxSpeed=r,this.decel=e,this.accel=n,this.to=this.current=this.velocity=0}set(e){e=e===void 0?this.to:e,this.to=this.current=e,this.velocity=0}update(e){return this.to=e,this.process()}process(){const n=(this.to-this.current)*this.accel;return this.velocity+=n,this.velocity*=1-this.decel,this.velocity=DF(this.velocity,0-this.maxSpeed,this.maxSpeed),this.current+=this.velocity,this.current}}const Mi=function(t){return t*=2,t<1?.5*t*t*t:.5*((t-=2)*t*t+2)},gc=function(t){return 1-Math.cos(t*Math.PI/2)},qs=function(t){return Math.sin(t*Math.PI/2)},xl=function(t){return .5*(1-Math.cos(Math.PI*t))};function Oo(t,e=.3333){return t<e?1/(2*e)*t*t:t-e/2}const NF="/assets/desktop-1500-1080-homepage-approach%20section-refresh-v8-CGbbtDTB.riv",$F="/assets/mobile-375-520-homepage-approach%20section-refresh-v10-57ftYjte.riv",HF={desktop:{rive:NF,chapters:[{title:"DISCOVER",subtitle:`Our Ventures
innovation approach `,body:"Based on a clear investment thesis, we discover promising technologies and leverage our unique resources and talent to build companies from the ground.up."},{title:"DEVELOP",subtitle:null,body:"Once the technology has been validated, we accelerate the development of breakthrough innovations and build resilient companies."},{title:"DEPLOY",subtitle:null,body:"We focus on driving down the costs and eliminating green premiums of clean technologies so they can be deployed globally"}]},mobile:{rive:$F,chapters:[{title:"DISCOVER",subtitle:`Our Ventures
innovation approach `,body:"Based on a clear investment thesis, we discover promising technologies and leverage our unique resources and talent to build companies from the ground.up."},{title:"DEVELOP",subtitle:null,body:"Once the technology has been validated, we accelerate the development of breakthrough innovations and build resilient companies."},{title:"DEPLOY",subtitle:null,body:"We focus on driving down the costs and eliminating green premiums of clean technologies so they can be deployed globally"}]}},{gsap:Fc,SplitText:l_}=gn(),zi=Math.PI*2;function jr(t){Object.values(t).forEach(e=>{var n;return(n=e.timeline)==null?void 0:n.kill()})}function u_(t){return BF(Math.sin(t*43758.5453123)*43758.5453123)}function BF(t){return t-Math.floor(t)}function cr(t){return{baseRadius:1,radiusWander:.5,radiusFreq:.2,angleSpeed:1,angleWander:.5,angleFreq:.5,seed:u_(t*.01)}}function vA(t,e,{baseRadius:n=0,radiusWander:r=1,radiusFreq:i=.2,angleSpeed:s=1,angleWander:o=.5,angleFreq:a=.5,seed:u=0}={}){const c=t,d=u*zi,l=u*zi,f=(1-u)*zi,h=n+Math.sin(c*i+d)*r;let g=c*s+Math.sin(c*a+l)*o;g-=c+.75*s*1.4+Math.sin(c*a+l*1.3)*o*.5;let p=c*s+Math.cos(c*a+f)*o;p-=c+1.75*s*1.2+Math.cos(c*a+f*1.5)*o*.65;const b=Math.cos(g)*h*e,y=Math.sin(g)*h*e,S=Math.sin(p)*h*e;return[b,y,S]}function gt(t,e,n){return t>=e&&t<n}function Bl(t,e){return t.forEach(n=>{const r=`<${n}>`,i=`</${n}>`;e.includes(r)&&!e.includes(i)&&(e=e+i),e.includes(i)&&!e.includes(r)&&(e=r+e)}),e}function yA({timeline:t,lineElementsArray:e}={}){const n=t;let r=.25;e.forEach(i=>{var a;const s={duration:.6,y:0,ease:"circ.out"};n.set(i,{y:50},0),n.to(i,s,r),(a=i.wordSplit)==null||a.revert(),i.wordSplit=l_.create(i,{type:"words"});const o={duration:.001,autoAlpha:1,stagger:s.duration*.8/i.wordSplit.words.length};n.set(i.wordSplit.words,{autoAlpha:0},0),Fc.set(i.wordSplit.words,{autoAlpha:0},0),n.to(i.wordSplit.words,o,r+.01),r+=.6})}function To({timeline:t,lineElementsArray:e,outroOffset:n=.01,x:r=100}={}){const i=t;let s=.25;e.forEach(c=>{var f;const d={duration:.6,x:0,ease:"circ.out"};i.set(c,{x:r},0),i.to(c,d,s),(f=c.wordSplit)==null||f.revert(),c.wordSplit=l_.create(c,{type:"words"});const l={duration:.001,autoAlpha:1,stagger:d.duration*.8/c.wordSplit.words.length};i.set(c.wordSplit.words,{autoAlpha:0},0),Fc.set(c.wordSplit.words,{autoAlpha:0},0),i.to(c.wordSplit.words,l,s+.01),s+=.6});const o=i.duration();s=n+o+.01,e.forEach(c=>{i.to(c.wordSplit.words,{duration:.001,autoAlpha:0,stagger:.1},s),s+=.1});const a=i.duration();return o/a}function bA({timeline:t,lineElementsArray:e,outroOffset:n=.01,x:r=100}={}){const i=t;let s=.25;e.forEach(d=>{var h;const l={duration:.6,x:0,ease:"circ.out"};i.set(d,{x:r},0),i.to(d,l,s),(h=d.wordSplit)==null||h.revert(),d.wordSplit=l_.create(d,{type:"words"});const f={duration:.001,autoAlpha:1,stagger:l.duration*.8/d.wordSplit.words.length};i.set(d.wordSplit.words,{autoAlpha:0},0),Fc.set(d.wordSplit.words,{autoAlpha:0},0),i.to(d.wordSplit.words,f,s+.01),s+=.6});const o=i.duration();s=n+o;const a="circ.in";e.forEach(d=>{i.to(d,{duration:.3,x:-r*.5,ease:a},s),i.to(d,{duration:.001,autoAlpha:0},s+.3),s+=.2});const u=i.duration();return o/u}function fh({timeline:t,lineElementsArray:e,x:n=100}={}){const r=t;let i=0;e.forEach((u,c)=>{const d={duration:1.5-c*.2,x:0,ease:"circ.out"};r.set(u,{x:n,autoAlpha:0},0),Fc.set(u,{x:n,autoAlpha:0},0),r.to(u,d,i),r.to(u,{duration:0,autoAlpha:1},i+.05),i+=.3});const s=r.duration();e.forEach(u=>{r.to(u,{duration:.5,autoAlpha:0},s+.01)});const o=r.duration();return s/o}function Pd({timeline:t,lineElementsArray:e,lineDuration:n,startTime:r}={}){const i=t;let s=r;e.forEach((o,a)=>{const u={duration:n,y:0,ease:"circ.out"};i.set(o,{y:"11cqh",autoAlpha:0},0),Fc.set(o,{y:"11cqh",autoAlpha:0},0),i.to(o,u,s),i.to(o,{duration:0,autoAlpha:1},s+n*.3),s+=n*.3})}function wA({timeline:t,lineElementsArray:e,lineDuration:n,startTime:r}={}){const i=t;let s=r;e.forEach((o,a)=>{const u={duration:n,y:"-11cqh",ease:"circ.in"};i.to(o,u,s),i.to(o,{duration:0,autoAlpha:0},s+n*.8),s+=n*.1})}function SA(t,e=.5){if(!Array.isArray(t)||t.length<2)throw new Error("points must be an array of [input, output] pairs with length >= 2");const n=t.map(s=>s[0]),r=t.map(s=>s[1]);function i(s,o,a,u,c){const d=(a-s)*e,l=(u-o)*e,f=c*c,h=f*c;return(2*h-3*f+1)*o+(h-2*f+c)*d+(-2*h+3*f)*a+(h-f)*l}return function(o){let a=0;for(;a<n.length-1&&o>n[a+1];)a++;for(;a>0&&o<n[a];)a--;const u=r[Math.max(a-1,0)],c=r[a],d=r[Math.min(a+1,r.length-1)],l=r[Math.min(a+2,r.length-1)],f=n[a],h=n[Math.min(a+1,n.length-1)],g=(o-f)/(h-f);return i(u,c,d,l,g)}}const xn=function(t=()=>{},e=!0,n=-1,r=!1){let i=[];const s=()=>{i.forEach(o=>o==null?void 0:o()),i=[]};return kt(()=>{i.push(et.subscribeResize(t,e,n)),r&&i.push(et.subscribeBodyHeight(t,e,n))}),yc(()=>{s()}),s},VF="modulepreload",UF=function(t){return"/"+t},o1={},ls=function(e,n,r){let i=Promise.resolve();if(n&&n.length>0){let o=function(c){return Promise.all(c.map(d=>Promise.resolve(d).then(l=>({status:"fulfilled",value:l}),l=>({status:"rejected",reason:l}))))};document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),u=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));i=o(n.map(c=>{if(c=UF(c),c in o1)return;o1[c]=!0;const d=c.endsWith(".css"),l=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${l}`))return;const f=document.createElement("link");if(f.rel=d?"stylesheet":VF,d||(f.as="script"),f.crossOrigin="",f.href=c,u&&f.setAttribute("nonce",u),document.head.appendChild(f),d)return new Promise((h,g)=>{f.addEventListener("load",h),f.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${c}`)))})}))}function s(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return i.then(o=>{for(const a of o||[])a.status==="rejected"&&s(a.reason);return e().catch(s)})};class jF{constructor(){Oe(this,"_update",e=>{const n=e-this._prevElapsed;this._prevElapsed=e;let r=this._fns.length;for(;r--;)this._fns[r]&&this._fns[r]({elapsed:e,delta:n});this.rafId=lt.isSSR?null:window.requestAnimationFrame(this._update)});Oe(this,"_updateWithStats",e=>{const n=e-this._prevElapsed;this._prevElapsed=e,this.stats.begin();const r=this._fns.length;for(let i=0;i<r;i++)this._fns[i]&&this._fns[i]({elapsed:e,delta:n});this.stats.end(),this.rafId=lt.isSSR?null:window.requestAnimationFrame(this._updateWithStats)});Oe(this,"start",()=>{this.running||(this.running=!0,this.rafId=lt.isSSR?null:window.requestAnimationFrame(this._update))});Oe(this,"stop",()=>{window.cancelAnimationFrame(this.rafId),this.running=!1});Oe(this,"add",(e,n=-1)=>typeof e=="function"?this._fns.includes(e)?!1:(this._fns.push(e),e._callback_order=n===-1?1e6:n,n>-1&&this._fns.sort((r,i)=>r._callback_order-i._callback_order),!0):!1);Oe(this,"remove",e=>{const n=this._fns.indexOf(e);n>=0&&this._fns.splice(n,1)});this.running=!1,this.rafId=null,this._fns=[],this._prevElapsed=0}async startWithStats(){const e=await ls(()=>import("./stats.min-BH244Ohd.js").then(n=>n.s),[]);this.stats=new e.default,this.stats.showPanel(0),this.stats.dom.id="stats",lt.isClient&&document.querySelector("html").appendChild(this.stats.dom),!this.running&&(this.running=!0,this.rafId=lt.isSSR?null:window.requestAnimationFrame(this._updateWithStats))}}const Vm=new jF;function Ts(t=()=>{},e={}){const n=Pa({autoplay:!0,delegate:null,...e}),r=e.order||-1,i=n.delegate!==null,s=j(i?n.delegate:n.autoplay),o=j(!0),a=l=>{t({...l,isFirstTick:o.value}),o.value=!1},u=()=>{i||(s.value=!0),Vm.add(a,r)},c=()=>{i||(s.value=!1),Vm.remove(a)},d=()=>{i&&(s.value=n.delegate),s.value?u():c()};return Ve(()=>n.delegate,()=>d()),kt(()=>d()),Mb(()=>d()),yc(()=>c()),i?{isActive:s,isFirstTick:o}:{isActive:s,isFirstTick:o,pause:c,resume:u}}const WF={key:1,class:"HomeApproach-inner"},zF={key:0,ref:"chaptersRef",class:"HomeApproach-chapters"},GF={class:"HomeApproach-chapter-inner"},qF={__name:"HomeApproachMo",props:{block:{type:Object,required:!0,default:()=>({})}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=Ie(()=>n.block),s=Ie(()=>i.value.chapters),o={radar:"Loop Radar",smallDots:"Init Loop",largeDot:"Loop B",whiteDot:"Loop C",main:"main"},a=Ie(()=>{var ye;return{src:((ye=i.value)==null?void 0:ye.rive)||"",artboard:"main",animation:o.main}}),u={dots:.307,bigDot:.4756,premium:.665},c={dots:[u.dots,u.dots+.04],bigDot:[u.bigDot,u.bigDot+.01],premium:[u.premium-0,1]},d=[u.dots,u.bigDot,u.premium],l=[c.dots[1],c.bigDot[1],c.premium[1]],f=SA([[-1,0],[0,d[0]],[.2,l[0]],[1,d[1]],[1.2,l[1]],[2,d[2]],[3,1]],.4),h=j(null),g=j(null),p={decel:.8,accel:.5,maxSpeed:.01};new _A(p);const b=j(!1),y=j(!1),S=j(!1),E=j(!1),T={[o.radar]:0,[o.smallDots]:0,[o.largeDot]:0,[o.whiteDot]:0},k=j(!1);function M(){Object.values(o).forEach(ye=>{h.value.stop(ye)}),k.value=!0,r("load"),Ee()}const $=Sn(),H=[],O=[],F=j(!1),re=j(0);j(0);const N={indexEased:0,indexLinear:0},P=j(null),z=j(!1),{gsap:Q}=gn(),B={main:{timeline:null}};function G(){const ye=B.main;ye.timeline=Q.timeline({paused:!0}),ye.timeline.set(N,{indexEased:-1},0),ye.timeline.set(N,{indexLinear:-1},0),ye.timeline.to(N,{indexLinear:3,ease:"linear",duration:1},0);const we=1/4,se=we*.1;for(let le=0;le<4;le++)ye.timeline.to(N,{indexEased:le,ease:"sine.inOut",duration:we-se},we*le)}function ie(){const ye=h.value,{indexLinear:we}=N,se=f(we);ye&&ye.progress(se),b.value=gt(se,...c.dots),y.value=gt(se,...c.dots),S.value=gt(se,...c.bigDot),E.value=gt(se,...c.premium)}function ae(ye,we){var se,le,he;we?((se=h.value)==null||se.play(ye),T[ye]=setInterval(()=>{var Te;return(Te=h.value)==null?void 0:Te.play(ye)},3e3)):(clearInterval(T[ye]),(le=h.value)==null||le.pause(ye),(he=h.value)==null||he.scrub(0,ye))}Ve(()=>b.value&&k.value,ye=>ae(o.radar,ye)),Ve(()=>y.value&&k.value,ye=>ae(o.smallDots,ye)),Ve(()=>S.value&&k.value,ye=>ae(o.largeDot,ye)),Ve(()=>E.value&&k.value,ye=>ae(o.whiteDot,ye));function X(){var Le;const ye=et.lvh,we=$.scrollSubPixel/ye,se=mr.mobile.time.approachStart,le=[se,se+4.2],he=se+4.8,Te=B.main;if(z.value=gt(we,le[0],he),z.value){(Le=Te.timeline)==null||Le.progress(We(we,le[0],le[1]));const W=Oo(We(we,le[0]+.8,le[0]),.2)*ye*.5;g.value.style.translate=`0px ${W}px`;const L=Oo(We(we,he-1,he),.2)*-ye;P.value.style.translate=`0px ${L}px`}}function pe(){const ye=et.lvh;$.scrollSubPixel/ye;const{indexEased:we}=N;re.value=Math.round(we);for(let se=0;se<H.length;se++){let le=H[se];const he=0;let Te=Math.min(we,2)*-ye;Te+=se*ye,le.style.translate=`${he}px ${Te}px`,le=O[se];const Le=We(we,se-.4,se-.25);le.style.opacity=Le}}function Ee(){F.value&&(X(),z.value&&pe())}function ke(){z.value&&ie()}function Re(){Ee()}return Ve(()=>$.scrollSubPixel,()=>{Ee()}),xn(Re),Ts(ke),kt(()=>{Mt(()=>{F.value=!0,G(),Ee()})}),Vt(()=>{F.value=!1}),(ye,we)=>{var le;const se=gA;return ue(),me("div",{ref_key:"rootRef",ref:P,class:ot(["HomeApproach",{visible:_e(z)}])},[_e(a)?(ue(),me("div",{key:0,ref_key:"riveParentRef",ref:g,class:"HomeApproach-rive-container"},[je(se,{ref_key:"rivePlayerRef",ref:h,"src-all":_e(a),"log-instance":!1,autoplay:!0,onLoad:M},null,8,["src-all"])],512)):bt("",!0),_e(a)?(ue(),me("div",WF,[(le=_e(s))!=null&&le.length?(ue(),me("div",zF,[(ue(!0),me(Qe,null,ut(_e(s),(he,Te)=>(ue(),me("div",{ref_for:!0,ref:Le=>H[Te]=Le,key:`chapter-${Te}`,class:"HomeApproach-chapter"},[J("div",GF,[he.title?(ue(),me("div",{key:0,ref_for:!0,ref:Le=>Le,class:"HomeApproach-title"},ze(he.title),513)):bt("",!0),he.subtitle?(ue(),me("div",{key:1,ref_for:!0,ref:Le=>Le,class:"HomeApproach-subtitle"},ze(he.subtitle),513)):bt("",!0),he.body?(ue(),me("div",{key:2,ref_for:!0,ref:Le=>O[Te]=Le,class:"HomeApproach-body"},ze(he.body),513)):bt("",!0)])]))),128))],512)):bt("",!0)])):bt("",!0)],2)}}},YF=_t(qF,[["__scopeId","data-v-7c969422"]]),KF={class:"InlineVideo"},XF=["src"],QF=["src"],JF={__name:"InlineVideo",props:{videoUrl:{type:String,required:!0},webmUrl:{type:String,required:!1},imageUrl:{type:String,required:!0},fallbackToStatic:{type:Boolean,default:!1}},emits:["imgload","videoplay"],setup(t,{expose:e,emit:n}){const r=t,i=n,s={imgLoaded:"imgload",videoPlaying:"videoplay"};let o;const a=j(null),u=j(null),c=j(!1),d=j(!1),l=j(!1),{gsap:f}=gn();function h(){c.value=!0,i(s.imgLoaded)}async function g(){try{await o.play()}catch(y){console.warn("Autoplay failed:",y)}}Ve(()=>r.fallbackToStatic,y=>{y?u.value&&(f.killTweensOf(u.value),f.set(u.value,{autoAlpha:1})):u.value&&(f.killTweensOf(u.value),f.set(u.value,{autoAlpha:0}))}),Ve(()=>d.value&&u.value,y=>{y&&(i(s.videoPlaying),f.to(u.value,{duration:.2,autoAlpha:0}))});const p=Ie(()=>{const y=lt.android||lt.windows,S=r.webmUrl||r.videoUrl;return y?S:r.videoUrl});function b(){!d.value&&o&&o.currentTime>0&&(d.value=!0,o==null||o.removeEventListener("timeupdate",b))}return kt(()=>{Mt(()=>{l.value=!0,o=a.value,o==null||o.addEventListener("timeupdate",b),o&&g()})}),Vt(()=>{l.value=!1,o==null||o.removeEventListener("timeupdate",b)}),e({isImgLoaded:c,isVideoPlaying:d}),(y,S)=>(ue(),me("div",KF,[t.fallbackToStatic?bt("",!0):(ue(),me("video",{key:0,ref_key:"videoRef",ref:a,class:"InlineVideo-video",src:_e(p),playsinline:"","webkit-playsinline":"",autoplay:"",muted:"",loop:"",disablepictureinpicture:""},null,8,XF)),J("img",{ref_key:"imageRef",ref:u,src:t.imageUrl,class:"InlineVideo-image",alt:"video placeholder",onLoad:h},null,40,QF)]))}},Vl=_t(JF,[["__scopeId","data-v-7582a48d"]]),ZF={__name:"KeyAreasBtnLabel",props:{currentIndex:{type:Number,default:0},itemIndex:{type:Number,default:0},label:{type:String,default:"this is default"}},setup(t,{expose:e}){const n=t,{gsap:r}=gn(),i=j(null),s=j(!1),o=[];let a,u=20;const c=Ie(()=>{var b;return(b=n.label)==null?void 0:b.split(" ")}),d=Ie(()=>n.itemIndex===n.currentIndex,{});Ve(()=>d.value&&s.value,b=>{!b&&l(),b&&f()},{immediate:!0});function l(){if(!s.value)return;a==null||a.kill(),a=r.timeline(),a.to(o,{duration:.5,stagger:.05,y:-u,ease:"sine.in"})}function f(){if(!s.value)return;a==null||a.kill(),a=r.timeline();const b=a,y="sine.out";b.set(o,{y:u}),b.to(o,{delay:.1,duration:.5,stagger:.05,y:0,ease:y})}function h(){i.value&&(u=i.value.getBoundingClientRect().height*2)}xn(h);function g(){d.value||r.set(o,{y:u})}kt(()=>{Mt(()=>{s.value=!0,h(),g()})}),Vt(()=>{s.value=!1});function p(){var b;return((b=i.value)==null?void 0:b.getBoundingClientRect().width)||-1}return e({getLabelWidth:p}),(b,y)=>(ue(),me("div",{class:ot(["KeyAreasBtnLabel",{isCurrentIndex:_e(d)}])},[J("div",{ref_key:"labelRef",ref:i,class:"KeyAreasBtnLabel-label"},[(ue(!0),me(Qe,null,ut(_e(c),(S,E)=>(ue(),me("div",{key:`KeyAreasBtnLabel-word-${E}`,ref_for:!0,ref:T=>o[E]=T,class:"KeyAreasBtnLabel-word"},ze(S),1))),128))],512)],2))}},eD=_t(ZF,[["__scopeId","data-v-e196f883"]]),tD={class:"KeyAreasBtn-labels-wrap"},nD={class:"KeyAreasBtn-labels"},rD={class:"KeyAreasBtn-labels-wrap"},iD={class:"KeyAreasBtn-labels"},sD={__name:"KeyAreasBtn",props:{labelIndex:{type:Number,default:0},areas:{type:Array,default:[]}},setup(t){const e=t,n=Ll(),r=Sn(),i=wi(),{gsap:s}=gn(),o=[],a=j(null),u=j(null),c=j(null),d=j(null),l=j(null),f=j(!1),h=j(!1),g=j(!1),p={roll:{timeline:null},width:{timeline:null}};function b(){const Q=et.lvh,B=r.scrollSubPixel/Q,G=mr.desktop.time.keyAreaStart;if(f.value=gt(B,G+3,G+10.5),f.value){let ie,ae;gt(B,G+2.8,G+3.3)?(ae=gc(We(B,G+3.2,G+2.9))*Q*.15,ie=qs(We(B,G+2.9,G+3.2))):ie=1,u.value.style.translate=`0px ${ae}px`,u.value.style.opacity=ie;const X=xl(We(B,G+9.5,G+10.5))*Q*.13;a.value.style.translate=`0px ${X}px`}}function y(){h.value=!0}function S(){h.value=!1}function E(Q){var G;return(G=o[Q])==null?void 0:G.getLabelWidth()}const T=j(270);Ve(T,Q=>{g.value&&(c.value.style.width=`${Q}px`,l.value.style.width=`${Q}px`)});function k(Q){var ie;const B=p.roll;(ie=B.timeline)==null||ie.kill(),B.timeline=s.timeline(),B.timeline.to(T,{value:Q,duration:.3,ease:"sine.inOut"},.1)}function M(){const Q=O.value;if(Q>-1){const B=E(Q),G=et.landscape?56:32,ie=Math.max(B+G,140);k(ie)}}function $(){var B;const Q=p.roll;(B=Q.timeline)==null||B.kill(),Q.timeline=s.timeline(),Q.timeline.set(d.value,{y:"100%"},0),Q.timeline.to(d.value,{duration:.45,ease:"sine.inOut",y:0},.01)}function H(Q=.45){var G;const B=p.roll;(G=B.timeline)==null||G.kill(),B.timeline=s.timeline(),B.timeline.to(d.value,{duration:Q,ease:"sine.inOut",y:"-100%"})}const O=Ie(()=>h.value?-1:e.labelIndex,{});Ve(O,Q=>{M()});const F=Ie(()=>h.value?e.labelIndex:-1,{});Ve(h,Q=>{lt.touchScreen||(Q&&$(),!Q&&H())});const re=Ie(()=>{var Q,B;if((Q=e.areas)!=null&&Q.length){const G=Oi(e.labelIndex,0,e.areas.length-1);return((B=e.areas[G])==null?void 0:B.url)||"no modal url"}return""});function N(){if(re.value.startsWith("/")){n.push(re.value);return}i.setModalState(mi.CONTENT+re.value)}function P(){g.value&&b()}function z(){f.value=!1,H(0),P(),M()}return Ve(()=>r.scrollSubPixel,()=>{P()}),kt(()=>{Mt(()=>{g.value=!0,z()})}),Vt(()=>{g.value=!1,jr(p)}),(Q,B)=>{const G=eD;return ue(),me("div",{ref_key:"rootRef",ref:a,class:ot(["KeyAreasBtn",{visible:_e(f)}])},[J("div",{ref_key:"btnRef",ref:u,class:"KeyAreasBtn-btn",onMouseover:y,onMouseout:S},[J("div",{ref_key:"greenBgRef",ref:l,class:"KeyAreasBtn-bg green"},null,512),J("div",tD,[J("div",nD,[(ue(!0),me(Qe,null,ut(t.areas,(ie,ae)=>(ue(),tn(G,{key:`KeyAreasBtn-label-${ae}`,ref_for:!0,ref:X=>o[ae]=X,label:ie.label,"current-index":_e(O),"item-index":ae},null,8,["label","current-index","item-index"]))),128))])]),J("div",{ref_key:"rollParentBgRef",ref:c,class:"KeyAreasBtn-bg masked"},[J("div",{ref_key:"rollWhiteBgRef",ref:d,class:"KeyAreasBtn-bg white"},null,512)],512),J("div",rD,[J("div",iD,[(ue(!0),me(Qe,null,ut(t.areas,(ie,ae)=>(ue(),tn(G,{key:`KeyAreasBtn-label-${ae}`,ref_for:!0,ref:X=>X,label:ie.label,"current-index":_e(F),"item-index":ae},null,8,["label","current-index","item-index"]))),128))])]),J("button",{class:"KeyAreasBtn-link",onClick:N})],544)],2)}}},TA=_t(sD,[["__scopeId","data-v-c25791e6"]]),oD=["innerHTML"],aD={__name:"KeyAreasOutroMo",props:{block:{type:Object,required:!0,default:()=>({})}},setup(t){const e=t,n=Sn(),r=Ie(()=>e.block.content.outro),i=j(!1),s=j(null),o=[],a=Ie(()=>{var S,E;let y=((E=(S=r.value)==null?void 0:S.title)==null?void 0:E.split(`
`))||[];return y=y.map(T=>Bl(["code","em"],T)),y}),u=j(null),c=j(null),d=j(!1),{gsap:l}=gn(),f={main:{timeline:null}};function h(){const y=f.main;y.timeline=l.timeline({paused:!0}),yA({timeline:y.timeline,lineElementsArray:o})}function g(){var M;const y=et.lvh,S=n.scrollSubPixel/y,E=mr.mobile.time.keyAreaStart,T=f.main;d.value=gt(S,E+6,E+10.5),d.value&&((M=T.timeline)==null||M.progress(We(S,E+8.4,E+8.8)));const k=xl(We(S,E+9.5,E+10.5))*y*.13;c.value.style.translate=`0px ${k}px`}function p(){i.value&&g()}function b(){p()}return Ve(()=>n.scrollSubPixel,()=>{p()}),xn(b),kt(()=>{Mt(()=>{i.value=!0,h(),p()})}),Vt(()=>{i.value=!1}),(y,S)=>(ue(),me("div",{ref_key:"rootRef",ref:u,class:ot(["KeyAreasOutro",{visible:_e(d)}])},[J("div",{ref_key:"contentRef",ref:c,class:"KeyAreasOutro-inner"},[J("div",{ref_key:"titleRef",ref:s,class:"KeyAreasOutro-title"},[(ue(!0),me(Qe,null,ut(_e(a),(E,T)=>(ue(),me("div",{ref_for:!0,ref:k=>o[T]=k,key:`titleLine-${T}`,innerHTML:E},null,8,oD))),128))],512)],512)],2))}},lD=_t(aD,[["__scopeId","data-v-498ebf65"]]);class or{constructor(){Oe(this,"width",1e3);Oe(this,"height",1e3);Oe(this,"top",0);Oe(this,"left",0)}get right(){return this.left+this.width}get bottom(){return this.top+this.height}updateFromElement(e){if(e){const n=e.getBoundingClientRect();this.width=n.width,this.height=n.height,this.top=n.top,this.left=n.left}}static clipPathInsetFromRects(e,n){const r={top:e.top-n.top,left:e.left-n.left,right:n.right-e.right,bottom:n.bottom-e.bottom};return`inset(${r.top}px ${r.right}px ${r.bottom}px ${r.left}px)`}}const uD={class:"KeyAreas-title-wrap"},cD={ref:"titleMaskedRef",class:"KeyAreas-title"},fD=["innerHTML"],dD={key:0,class:"KeyAreas-rect-wrap"},hD={class:"KeyAreas-video"},pD={class:"KeyAreas-content-wrap"},mD={class:"KeyAreas-content unmasked"},gD={class:"KeyAreas-content"},_D={class:"KeyAreas-content-body-inner"},vD={class:"KeyAreas-content-eyebrow"},yD={__name:"KeyAreasMo",props:{block:{type:Object,required:!0,default:()=>({})}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=j(!1);let s=0;Ve(()=>i.value,L=>{L&&r("load")},{immediate:!0});const o=wi(),a=Sn(),{gsap:u}=gn(),c=j(!1),d=[],l=[],f=[],h=j(null),g=j(null),p=j(null),b=j(null),y=j(null),S=j(0),E=j(null),T=j(!1),k=Ie(()=>o.lowFPS),M=j(!1);Ve(M,L=>{const q=[g.value,p.value];q[0]&&q[1]&&q.forEach(ee=>{ee.style.visibility=L?"visible":"hidden"})});const $={title:{timeline:null,bisection:.5},areas:{timeline:null}},H=Ie(()=>n.block),O=Ie(()=>{var L;return(L=H.value)==null?void 0:L.content.areas}),F=Ie(()=>{var L;return(L=H.value)==null?void 0:L.content.main.title}),re=Ie(()=>{var q;let L=((q=F.value)==null?void 0:q.split(`
`))||[];return L=L.map(ee=>Bl(["code","em"],ee)),L}),N=j(""),P=j(""),z=j("");class Q{constructor(q=0,ee=0){Oe(this,"clusterRectScale",1);Oe(this,"clusterOverShoot",-1);Oe(this,"clusterRadius",0);Oe(this,"stackLerp",0);Oe(this,"clusterRect",null);Oe(this,"stackRect",null);Oe(this,"outputRect",null);Oe(this,"clusterIndex",0);Oe(this,"index",0);Oe(this,"wanderData",{});this.index=0,this.clusterIndex=ee,this.clusterRect=new or,this.stackRect=new or,this.outputRect=new or,this.wanderData=cr(q)}}const B={areaIndex:0,areaTitleIndex:-1,areas:[new Q(0,3),new Q(1,3),new Q(2,2),new Q(3,1),new Q(4,0),new Q(5)]},G=Ie(()=>{var ee,K;const L=[];(ee=O.value)==null||ee.forEach(x=>{L.push({label:x.button,url:x.url})});const q=(K=H.value)==null?void 0:K.content.outro;return L.push({label:q.button,url:q.url}),L}),ie=j(0);function ae(){var q,ee;jr($);let L=$.title;(q=L.timeline)==null||q.kill(),L.timeline=u.timeline({paused:!0}),L.bisection=fh({timeline:L.timeline,lineElementsArray:d,x:50}),L=$.areas,(ee=L.timeline)==null||ee.kill(),L.timeline=u.timeline({paused:!0}),B.areas.forEach((K,x)=>{const{clusterIndex:V}=K;L.timeline.set(K,{clusterRadius:0,stackLerp:0,clusterRectScale:1.7,clusterOverShoot:-3},0);const C=V*.08;L.timeline.to(K,{clusterRectScale:1,duration:1,ease:"power3.inOut"},1+C),L.timeline.to(K,{clusterRadius:1,duration:1,ease:"power3.inOut"},1+C),L.timeline.set(K,{clusterOverShoot:-1},.8),L.timeline.to(K,{clusterOverShoot:0,duration:.6,ease:"sine.inOut"},1+C),L.timeline.to(K,{stackLerp:1,duration:1.4,ease:"power2.inOut"},3.4-x*.05),L.timeline.set(B,{areaIndex:0,areaTitleIndex:-1},0),L.timeline.set(M,{value:!1},3.5),L.timeline.set(M,{value:!0},4.1);const D="sine.inOut";x===0&&L.timeline.to(B,{duration:1,areaTitleIndex:x,ease:D},3.5+.05),x>0&&(L.timeline.to(B,{duration:1,areaIndex:x,ease:D},4.5+x*1.25),L.timeline.to(B,{duration:1,areaTitleIndex:x,ease:D},4.5+x*1.25+.05))})}const X=new or,pe=new or;function Ee(){const L=et.lvh,q=et.ww,ee=Math.round(B.areaTitleIndex),K=ee-B.areaTitleIndex,x=Oi(ee,0,4);S.value=Oi(ee,0,4),ie.value=Oi(ee,0,5);const V=B.areas[x],C=O.value[x];N.value=(C==null?void 0:C.title)||"",P.value=(C==null?void 0:C.body)||"",z.value=(C==null?void 0:C.emission)||"";const D=V.outputRect;X.width=q,X.height=L,pe.width=D.width,pe.height=D.height,pe.left=D.x-D.width*.5,pe.top=D.y-D.height*.5,h.value.style.clipPath=or.clipPathInsetFromRects(pe,X);let Z=0,fe=pe.top+q*.04;fe+=L*.15*We(Math.max(K,0),.01,.5);let de=1-qs(We(Math.abs(K),.25,.45));g.value.style.translate=`${Z}px ${fe}px`,g.value.style.opacity=de,p.value.style.translate=`${Z}px ${fe}px`,p.value.style.opacity=de,Z=0,fe=L+L*K*.8,de=1-qs(We(Math.abs(K),.07,.2)),de=ee<0||ee>4?0:de,y.value.style.translate=`${Z}px ${fe}px`,y.value.style.opacity=de}function ke(){const L=et.svh,q=et.ww,ee=121,K=48,x=11,V=L-(ee+K),C=q-x*2;return{top:ee,height:V,width:C,pad:x,base:K}}const Re=[375,667],ye={x:0,y:0};function we(L,q,ee){const K=q[0]*.5+L[0],x=q[1]*.5+L[1];return ye.x=(K-ee[0]*.5)/ee[0],ye.y=(x-ee[1]*.5)/ee[0],ye}function se(){const L=et.svh,q=et.ww,ee=l,{pivot:K,rects:x}=H.value.animation.cluster;ee.forEach((V,C)=>{const D=B.areas[C],{offset:Z,rectSize:fe}=x[C],{clusterRectScale:de,clusterRadius:ne,clusterOverShoot:ce,stackLerp:R,clusterRect:_,stackRect:w,outputRect:U,wanderData:oe}=D;_.width=fe[0]/Re[0]*de*q,_.height=fe[1]/Re[0]*de*q,_.x=K.x,_.y=K.y,_.x*=q,_.y*=L;const Ae=L/q,be=1-Oi(We(Ae,Re[1]/Re[0],0)*1.05),qe=we(Z,fe,Re);_.x+=qe.x*ne*q,_.y+=qe.y*ne*q*be,_.x+=ce*q*.3;let{areaIndex:Xe}=B;Xe=Math.max(Xe,0);const{top:$e,height:rt,width:at,base:Rt}=ke(),Ye=L-Rt*2;w.width=at,w.height=rt,w.x=.5*q,w.y=w.height*.5+$e+Ye*C,w.y-=Xe*Ye;const Yt=qs(We(Math.abs(C-Xe),1,0));w.width*=Gn(Yt,.75,1),w.height*=Gn(Yt,.75,1);const Ct=R;U.x=Gn(qs(Ct),_.x,w.x),U.y=Gn(Ct,_.y,w.y),U.width=Gn(gc(Ct),_.width,w.width),U.height=Gn(gc(Ct),_.height,w.height);const ht=0;V.style.width=`${U.width}px`,V.style.height=`${U.height}px`,V.style.translate=`${U.x}px ${U.y}px ${ht}px`,f[C].style.opacity=We(R,.1,.6,0,.5,!0)})}function le(){var K,x,V;const L=et.lvh,q=a.scrollSubPixel/L,ee=mr.mobile.time.keyAreaStart;if(T.value=gt(q,ee+.2,ee+10.5),T.value){let C=$.title;gt(q,-1,ee+1.9)?(K=C.timeline)==null||K.progress(We(q,ee+1.15,ee+1.85,0,C.bisection,!0)):(x=C.timeline)==null||x.progress(We(q,ee+1.9,ee+2.3,C.bisection,1,!0)),C=$.areas,(V=C.timeline)==null||V.progress(We(q,ee-.5,ee+9));const D=xl(We(q,ee+9.5,ee+10.5))*-L;E.value.style.translate=`0px ${D}px`}}function he(){c.value&&(le(),T.value&&(se(),Ee()))}function Te(){}function Le(){he()}Ve(()=>a.scrollSubPixel,()=>{he()}),xn(Le),Ts(Te),kt(()=>{Mt(()=>{c.value=!0,ae(),he()})}),Vt(()=>{var q;s=0,(q=$.title.timeline)==null||q.kill()});function W(){var q;s++;const L=(q=O.value)==null?void 0:q.length;i.value=L>0&&s===L}return(L,q)=>{const ee=lD,K=TA,x=Vl;return ue(),me("div",{ref_key:"rootRef",ref:E,class:ot(["KeyAreas",{visible:_e(T)}])},[je(ee,{block:t.block},null,8,["block"]),je(K,{"label-index":_e(ie),areas:_e(G)},null,8,["label-index","areas"]),J("div",uD,[J("div",cD,[(ue(!0),me(Qe,null,ut(_e(re),(V,C)=>(ue(),me("div",{ref_for:!0,ref:D=>d[C]=D,key:`line-${C}`,innerHTML:V},null,8,fD))),128))],512)]),_e(O)?(ue(),me("div",dD,[(ue(!0),me(Qe,null,ut(_e(O),(V,C)=>(ue(),me("div",{ref_for:!0,ref:D=>l[C]=D,key:`area-${C}`,class:"KeyAreas-area"},[J("div",hD,[je(x,{"image-url":V.imageSrc,"video-url":V.src,"fallback-to-static":_e(k),onImgload:W},null,8,["image-url","video-url","fallback-to-static"]),J("div",{ref_for:!0,ref:D=>f[C]=D,class:"KeyAreas-video-gradient"},null,512)])]))),128))])):bt("",!0),J("div",pD,[J("div",mD,[J("h2",{ref_key:"unmaskedTitleRef",ref:g,class:"KeyAreas-content-title"},ze(_e(N)),513)]),J("div",{ref_key:"maskedRef",ref:h,class:"KeyAreas-content masked"},[J("div",{ref_key:"maskedTitleRef",ref:p,class:"KeyAreas-content-title"},ze(_e(N)),513)],512),J("div",gD,[J("div",{ref_key:"maskedBodyWrapRef",ref:y,class:"KeyAreas-content-body-wrap"},[J("div",_D,[J("div",vD,ze(_e(z)),1),J("div",{ref_key:"maskedBodyRef",ref:b,class:"KeyAreas-content-body"},ze(_e(P)),513)])],512)])])],2)}}},bD=_t(yD,[["__scopeId","data-v-c690cc61"]]),wD={fill:"none",viewBox:"0 0 41 40",xmlns:"http://www.w3.org/2000/svg"};function SD(t,e){return ue(),me("svg",wD,[...e[0]||(e[0]=[J("path",{d:"m14.6501 8.90342c-.1667-.13333-.3667-.16666-.5667-.16666-.1667 0-.3333.03333-.5.13333-.3333.16667-.5667.53333-.5667.9v21.03331c0 .4.2.7334.5667.9.3333.1667.7333.1667 1.0667-.0666l16.8333-11.3667zm2.0333 5.73338 8.3333 5.6333-8.3333 5.6333z",fill:"currentColor"},null,-1)])])}const AA={render:SD},TD={class:"icon-plus",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 6 6",fill:"none"};function AD(t,e){return ue(),me("svg",TD,[...e[0]||(e[0]=[J("path",{d:"M6 3L3.12201e-08 3",stroke:"currentColor","stroke-width":"0.666667","stroke-miterlimit":"10"},null,-1),J("path",{d:"M3 6L3 0",stroke:"currentColor","stroke-width":"0.666667","stroke-miterlimit":"10"},null,-1)])])}const EA={render:AD},ED=["innerHTML"],kD={ref:"videoSectionRef",class:"HomeQuote-video-section"},RD={ref:"videoTitlesRef",class:"HomeQuote-video-titles"},CD={class:"HomeQuote-video-play"},xD=["src"],PD={__name:"HomeQuoteMo",props:{block:{type:Object,required:!0,default:()=>({})}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=lt.href.includes("debug-quote-video");let s=0;const o=Sn(),a=wi(),u=gr(),c=Ie(()=>n.block),d=Ie(()=>{if(i)return!1;const z=a.modalState===mi.VIDEO;return a.lowFPS||z}),l=j(!1),f=j(null),h=[],g=Ie(()=>{var Q,B;let z=((B=(Q=c.value)==null?void 0:Q.title)==null?void 0:B.split(`
`))||[];return z=z.map(G=>Bl(["code","em"],G)),z}),p=j(null),b=j(null),y=j(null),S=j(null),E=j(!1),{gsap:T}=gn(),k={title:{timeline:null}};function M(){var Q;jr(k);const z=k.title;(Q=z.timeline)==null||Q.kill(),z.timeline=T.timeline({paused:!0}),z.bisection=fh({timeline:z.timeline,lineElementsArray:h})}function $(){var G;const z=et.lvh,Q=o.scrollSubPixel/z,B=mr.mobile.time.quoteStart;if(E.value=gt(Q,B,B+2.5),E.value){const ie=k.title;(G=ie.timeline)==null||G.progress(We(Q,B+.4,B+1.4,0,ie.bisection,!0));const ae=Mi(We(Q,B+1.1,B-.2)),X=Mi(We(Q,B+1.2,B+2.4))*-1,pe=gt(Q,0,B+1.2)?ae:X;S.value.style.translate=`0px ${pe*z}px`;const Ee=Math.max(ae,0),ke=Math.max(Ee*z*.07,0);i||(p.value.style.clipPath=`inset(${ke}px ${ke}px ${ke}px ${ke}px)`);const Re=pe*-z*.13;b.value.style.translate=`0px ${Re}px`;const ye=pe*-z*.6;y.value.style.translate=`0px ${ye}px`}}function H(){l.value&&$()}function O(){H()}Ve(()=>o.scrollSubPixel,()=>{H()}),xn(O);function F(){a.setVideoModalData({sources:u.getVideoSources(n.block.video.videoData),timeOffset:0}),a.setModalState(mi.VIDEO)}const re=j(!1);function N(z){re.value=z}kt(()=>{Mt(()=>{l.value=!0,M(),H()})}),Vt(()=>{s=0,l.value=!1});function P(){s++,s===2&&r("load")}return(z,Q)=>{const B=Vl,G=EA,ie=AA,ae=o_;return _e(c)?(ue(),me("div",{key:0,ref_key:"rootRef",ref:S,class:ot(["HomeQuote",{visible:_e(E)}])},[J("div",{ref_key:"maskRef",ref:p,class:"HomeQuote-inner"},[J("div",{ref_key:"bgRef",ref:y,class:"HomeQuote-bg"},[je(B,{"image-url":_e(c).backgroundImageSrc,"video-url":_e(c).backgroundVideoSrc,"fallback-to-static":_e(d),onImgload:P},null,8,["image-url","video-url","fallback-to-static"])],512),J("div",{ref_key:"columnRef",ref:b,class:"HomeQuote-grid"},[J("div",{ref_key:"columnRef",ref:b,class:"HomeQuote-column"},[J("div",{ref_key:"titleRef",ref:f,class:"HomeQuote-title"},[(ue(!0),me(Qe,null,ut(_e(g),(X,pe)=>(ue(),me("div",{ref_for:!0,ref:Ee=>h[pe]=Ee,key:`titleLine-${pe}`,innerHTML:X},null,8,ED))),128))],512),J("div",kD,[J("div",RD,[J("div",{ref:"videoTitleNameRef",class:"HomeQuote-video-title"},ze(_e(c).video.name),513),J("div",{ref:"videoTitleRoleRef",class:"HomeQuote-video-title green"},ze(_e(c).video.role),513),je(G)],512),J("button",{ref:"videoWrapRef",class:"HomeQuote-video-wrap",onClick:F,onMouseenter:Q[0]||(Q[0]=X=>N(!0)),onMouseleave:Q[1]||(Q[1]=X=>N(!1))},[J("span",CD,[je(ae,{label:"Open video modal",theme:"white-alt","not-button":!0,"manual-hover":_e(re)},{default:$i(()=>[je(ie)]),_:1},8,["manual-hover"])]),J("img",{class:"HomeQuote-video-bg",src:_e(c).video.videoImageSrc,onLoad:P,alt:""},null,40,xD)],544)],512)],512)],512)],512)],2)):bt("",!0)}}},ID=_t(PD,[["__scopeId","data-v-18f28bb9"]]),LD=["width","height","viewBox"],OD=["x","y","width","height","rx","ry","stroke","stroke-width"],MD={__name:"GraphBorder",props:{width:{default:100},height:{default:100},progress:{default:0},radius:{default:3},stroke:{default:1.5}},setup(t){const e=t,n=j(!1),r=Z3.KEYLINE_DARK,i=j(null);let s=1;Ts(()=>{n.value&&a()}),xn(()=>{o()});function o(){if(!n.value)return;s=i.value.getTotalLength()}function a(){if(!n.value)return;const u=i.value,c=e.progress,d=Gn(c,0,s*.95),l=Gn(c,s,0),f=Gn(c,0,s*.05),h=0,g=Gn(c,-s*.27,0);u==null||u.setAttribute("stroke-dasharray",`${f} ${l} ${d} ${h}`),u==null||u.setAttribute("stroke-dashoffset",g)}return kt(()=>{Mt(()=>{n.value=!0,o()})}),Vt(()=>{n.value=!1}),(u,c)=>(ue(),me("svg",{width:t.width,height:t.height,viewBox:`0 0 ${t.width} ${t.height}`,class:"GraphBorder",xmlns:"http://www.w3.org/2000/svg"},[J("rect",{ref_key:"borderRect",ref:i,x:t.stroke/2,y:t.stroke/2,width:t.width-t.stroke,height:t.height-t.stroke,rx:t.radius,ry:t.radius,stroke:_e(r),"stroke-width":t.stroke,fill:"none"},null,8,OD)],8,LD))}},kA=_t(MD,[["__scopeId","data-v-99ab6858"]]),FD={viewBox:"0 0 9 9",fill:"none","stroke-width":"1px",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg"};function DD(t,e){return ue(),me("svg",FD,[...e[0]||(e[0]=[J("path",{d:"M9 4.5L-4.0 4.5","vector-effect":"non-scaling-stroke","stroke-miterlimit":"10"},null,-1),J("path",{d:"M4.5 9L4.5 0","vector-effect":"non-scaling-stroke","stroke-miterlimit":"10"},null,-1)])])}const RA={render:DD},ND={class:"HomeImageStack-inner"},$D={class:"HomeImageStack-box"},HD={class:"HomeImageStack-box-content"},BD={class:"HomeImageStack-box-text"},VD={class:"HomeImageStack-subtitle HomeImageStack-typo"},UD=["src"],jD={class:"HomeImageStack-box-text masked"},WD={class:"HomeImageStack-subtitle HomeImageStack-typo"},zD={__name:"HomeImageStackMo",props:{block:{type:Object,required:!0,default:()=>({})}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=Sn(),s=Ie(()=>n.block),o=j(!1);let a=40;const u=[],c=[],d=[],l=j(null),f=j(null),h=j(null),g=j(null),p=j(),b=j(null),y=j(!1),S=j(!1);let E=0;const T=j(!1);Ve(()=>T.value,P=>{P&&r("load")},{immediate:!0});const{gsap:k,CustomEase:M}=gn(),$={main:{timeline:null}};function H(){jr($);const P=$.main;P.timeline=k.timeline({paused:!0});const z=M.create("custom","M0,0 C0,0.023 0,0.229 0,0.248 0,0.699 0.493,1 1,1 "),Q=M.create("imgEase","M0,0 C0.36,0.521 0.624,1 1,1 ");let B=[];const G=u.length,ie=P.timeline,ae=a*G;ie.set([f.value,l.value],{y:ae},0),ie.set([u,c],{opacity:0},0),B=[h.value,g.value],ie.set(B,{y:a,opacity:0},0),ie.to(B,{y:0,ease:z,duration:.95},.2),ie.set(B,{opacity:1},.2);for(let X=0;X<G;X++){const pe=ae-a*(X+1),Ee=X<1?X+.01:X+.5,ke=z;if(B=[f.value,l.value],ie.to(B,{y:pe,duration:.95,ease:ke},Ee),B=[u[X],c[X]],ie.set(B,{opacity:1},Ee),X>0){const Re=d[X],ye=Q;ie.set(Re,{opacity:0,scale:1},0),ie.to(Re,{opacity:1,duration:.1},Ee),ie.to(Re,{scale:1.1,duration:.95,ease:ye},Ee)}else{const Re=d[X];ie.set(Re,{opacity:1},0)}}ie.progress(.001)}function O(){var B;const P=et.lvh,z=i.scrollSubPixel/P,Q=mr.mobile.time.imageStackStart;y.value=gt(z,Q,Q+3.9),y.value&&((B=$.main.timeline)==null||B.progress(We(z,Q+.3,Q+2.2)))}function F(){o.value&&O()}function re(){var P;a=((P=u[0])==null?void 0:P.getBoundingClientRect().height)||40,H(),F()}Ve(()=>i.scrollSubPixel,()=>{F()}),xn(re),kt(()=>{Mt(()=>{var P;o.value=!0,re(),H(),F(),Mt(re),S.value=(P=lt.href)==null?void 0:P.includes("debug-vertical")})}),Vt(()=>{E=0,T.value=!1,o.value=!1});function N(P,z){E++;const Q=s.value.stacks.length;T.value=Q>0&&E===Q}return(P,z)=>(ue(),me("div",{ref_key:"rootRef",ref:b,class:ot(["HomeImageStack",{visible:_e(y),debugVertical:_e(S)}])},[z[1]||(z[1]=J("div",{class:"HomeImageStack-redline"},null,-1)),J("div",ND,[J("div",$D,[J("div",HD,[J("div",BD,[J("div",{ref_key:"labelsRef",ref:f,class:"HomeImageStack-labels HomeImageStack-typo"},[(ue(!0),me(Qe,null,ut(_e(s).stacks,(Q,B)=>(ue(),me("div",{ref_for:!0,ref:G=>u[B]=G,key:`label-${B}`,class:"HomeImageStack-label"},ze(Q.label),1))),128))],512),J("div",VD,[J("div",{ref_key:"subtitleRef",ref:h,class:"HomeImageStack-label"},ze(_e(s).subtitle),513)])]),J("div",{ref_key:"imagesRef",ref:p,class:"HomeImageStack-images"},[(ue(!0),me(Qe,null,ut(_e(s).stacks,(Q,B)=>(ue(),me("img",{ref_for:!0,ref:G=>d[B]=G,key:`image-${B}`,class:"HomeImageStack-image",src:Q.imageSrc,onLoad:z[0]||(z[0]=G=>N(G,P.image)),alt:""},null,40,UD))),128))],512),J("div",jD,[J("div",{ref_key:"labelsMaskedRef",ref:l,class:"HomeImageStack-labels HomeImageStack-typo"},[(ue(!0),me(Qe,null,ut(_e(s).stacks,(Q,B)=>(ue(),me("div",{ref_for:!0,ref:G=>c[B]=G,key:`label-masked--${B}`,class:"HomeImageStack-label white"},ze(Q.label),1))),128))],512),J("div",WD,[J("div",{ref_key:"subtitleMaskedRef",ref:g,class:"HomeImageStack-label green"},ze(_e(s).subtitle),513)])])])])])],2))}},GD=_t(zD,[["__scopeId","data-v-9426fd8e"]]),qD={desktop:{title:"THE OPPORTUNITY AHEAD",body1:`The world’s demand for
energy will more than
double by 2050.`,body2:`Innovation must meet
rising needs without
compromise to people
and planet.`,maximum1:"66k TWh",maximum2:"in 2050",minimum1:"26k TWh",minimum2:"in 2023"}},YD={class:"HomeGraph-sidetitle-wrap"},KD={class:"HomeGraph-inner"},XD={class:"HomeGraph-box"},QD={class:"HomeGraph-text"},JD={class:"HomeGraph-text text2"},ZD={class:"HomeGraph-value-labels"},e4={class:"HomeGraph-value-labels"},t4={__name:"HomeGraphMo",props:{block:{type:Object,required:!0,default:()=>({})},blockStack:{type:Object,required:!0,default:()=>({})}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=Sn(),s=Ie(()=>n.block),o=j(null),a=j(null),u=j(null),c=j(null),d=j(null),l=j(null),f=j(null),h=j(0),g=j(300),p=j(300),b=j(null),y=j(null),S=j(null),E=j(null),T=j(null),k=j(null),M=j(null),$=j(null),H=j(null),O=j(null),F=j(null),re=j(null),N=j(null),P=j(null),z=j(null),Q=j(null),B=j(null),G=j(null),ie=j(null),ae=j(null),X=[],pe=[],Ee=Ie(()=>{var ee,K;return((K=(ee=s.value)==null?void 0:ee.body1)==null?void 0:K.split(`
`))||[]}),ke=Ie(()=>{var ee,K;return((K=(ee=s.value)==null?void 0:ee.body2)==null?void 0:K.split(`
`))||[]}),Re=j(!1),ye=j(null),we=j(!1),{gsap:se}=gn(),le={main:{timeline:null}};function he(){jr(le);const ee=le.main;ee.timeline=se.timeline({paused:!0});const K=ee.timeline;let x=[];x=o.value,K.set(x,{y:"100svh"},0),K.to(x,{duration:.75,y:"42.4svh",ease:"sine.out"},.001),K.to(x,{duration:.65,y:0,ease:"sine.in"},1.2),K.set(x,{y:0},3),x=a.value,K.set(x,{scale:.7,y:"75svh"},0),K.to(x,{duration:.75,scale:1,y:0,ease:"sine.out"},.05),K.set(h,{value:0},0),K.to(h,{value:1,duration:1,ease:"sine.out"},.1);const V=.9;x=[G.value,ie.value],K.set(x,{opacity:0},0),K.to(x,{opacity:1,duration:0,ease:"sine.out"},V),x=l.value,K.set(x,{x:20,opacity:0},0),K.to(x,{x:0,opacity:1,duration:.5,ease:"sine.out"},.5);function C({start:fe=.6,parent:de,barHorz:ne,barVertArray:ce,labelArray:R}={}){x=de,K.set(x,{x:"-5cqw"},0),K.to(x,{x:0,duration:.4,ease:"sine.out"},fe),x=ne,K.set(x,{x:-10,scaleX:.5,opacity:0},0),K.to(x,{x:0,scaleX:1,duration:.35,ease:"sine.out"},fe),K.set(x,{opacity:1},fe),x=ce,K.set(x,{opacity:0},0),K.set(x,{opacity:1},fe),x=R,K.set(x,{opacity:0,x:-10},0),K.to(x,{x:0,duration:.35,ease:"sine.out"},fe+.15),K.set(x,{opacity:1},fe+.2)}C({start:.5,parent:y.value,barHorz:E.value,barVertArray:[T.value,k.value],labelArray:[M.value,$.value]}),x=H.value,K.set(x,{x:-10,scaleX:0,opacity:0},0),K.to(x,{x:0,scaleX:1,duration:.5,ease:"sine.out"},.75),K.set(x,{opacity:1},.7),x=O.value,K.set(x,{x:-10,scaleX:0,opacity:0},0),K.to(x,{x:0,scaleX:1,duration:.5,ease:"sine.out"},.85),K.set(x,{opacity:1},.8),C({start:.75,parent:F.value,barHorz:N.value,barVertArray:[P.value,z.value],labelArray:[Q.value,B.value]}),x=X,Pd({timeline:K,lineElementsArray:x,lineDuration:.3,startTime:.7}),wA({timeline:K,lineElementsArray:x,lineDuration:.3,startTime:1.35}),x=pe,Pd({timeline:K,lineElementsArray:x,lineDuration:.3,startTime:2.1}),x=ae.value,K.set(x,{y:"100cqh"},0);const D="67cqh",Z="25.5cqh";K.to(x,{y:D,duration:.75,ease:"sine.out"},.3),K.to(x,{y:Z,duration:0,ease:"sine.inOut"},1.75),x=c.value,K.set(x,{y:"100cqh"},0),K.to(x,{y:D,duration:.75,ease:"sine.out"},.3),K.to(x,{y:Z,duration:1,ease:"sine.inOut"},1.25),x=d.value,K.set(x,{autoAlpha:1},0)}function Te(){var V;const ee=et.lvh,K=i.scrollSubPixel/ee,x=mr.mobile.time.graphStart;if(we.value=gt(K,x,x+5.95),we.value){(V=le.main.timeline)==null||V.progress(We(K,x,x+2.15));const D=Mi(We(K,x+4.45,x+5.75))*-1;ye.value.style.translate=`0px ${D*ee}px`;const Z=Mi(We(K,x+2.15,x+2.65)),fe=ee*.65,de=Gn(Z,0,fe);u.value.style.clipPath=`inset( -2px -2px ${de}px -2px )`;const ne=Mi(We(K,x+2.75,x+2.55));f.value.style.opacity=ne;const ce=Mi(We(K,x+2.35,x+2.15));b.value.style.opacity=ce}}function Le(){const{svh:ee,ww:K}=et;g.value=Math.max(50,Math.min(.584*ee,.589*K)),p.value=Math.max(100,.5967*ee)}function W(){Re.value&&Te()}function L(){he(),Le(),W()}Ve(()=>i.scrollSubPixel,()=>{W()}),xn(L),kt(()=>{Mt(()=>{Re.value=!0,he(),W()})}),Vt(()=>{Re.value=!1});function q(){r("load")}return(ee,K)=>{const x=GD,V=RA,C=kA;return ue(),me("div",{ref_key:"rootRef",ref:ye,class:ot(["HomeGraph",{visible:_e(we)}])},[J("div",{ref_key:"bgRef",ref:o,class:"HomeGraph-bg"},null,512),J("div",YD,[J("div",{ref_key:"sideTitleRef",ref:l,class:"HomeGraph-sidetitle"},ze(_e(s).title),513)]),je(x,{block:t.blockStack,onLoad:q},null,8,["block"]),J("div",KD,[J("div",{ref_key:"boxRef",ref:a,class:"HomeGraph-box-wrap"},[J("div",XD,[J("div",{ref_key:"cornerCrossTLRef",ref:G,class:"HomeGraph-box-corner tl"},[je(V)],512),J("div",{ref_key:"cornerCrossBRRef",ref:ie,class:"HomeGraph-box-corner br"},[je(V)],512),J("div",{ref_key:"boxContentRef",ref:u,class:"HomeGraph-box-content"},[J("div",{ref_key:"boxWhiteBGRef",ref:d,class:"HomeGraph-box-content-bg white"},null,512),J("div",{ref_key:"boxGreenBGRef",ref:c,class:"HomeGraph-box-content-bg"},null,512),J("div",{ref_key:"titleRef",ref:ae,class:"HomeGraph-text-wrap"},[J("div",QD,[(ue(!0),me(Qe,null,ut(_e(Ee),(D,Z)=>(ue(),me("div",{ref_for:!0,ref:fe=>X[Z]=fe,key:`title1Line-${Z}`},ze(D),1))),128))]),J("div",JD,[(ue(!0),me(Qe,null,ut(_e(ke),(D,Z)=>(ue(),me("div",{ref_for:!0,ref:fe=>pe[Z]=fe,key:`title2Line-${Z}`},ze(D),1))),128))])],512)],512),J("div",{ref_key:"valuesRef",ref:b,class:"HomeGraph-box-values"},[J("div",{ref_key:"values1Ref",ref:y,class:"HomeGraph-value top"},[J("div",{ref_key:"values1BarRef",ref:S,class:"HomeGraph-value-bar"},[J("div",{ref_key:"values1BarHorzRef",ref:E,class:"HomeGraph-value-bar-horz"},null,512),J("div",{ref_key:"values1BarVertLeftRef",ref:T,class:"HomeGraph-value-bar-vert left"},null,512),J("div",{ref_key:"values1BarVertRightRef",ref:k,class:"HomeGraph-value-bar-vert right"},null,512)],512),J("div",ZD,[J("div",{ref_key:"values1Label1",ref:M,class:"HomeGraph-value-label top"},ze(_e(s).maximum1),513),J("div",{ref_key:"values1Label2",ref:$,class:"HomeGraph-value-label base"},ze(_e(s).maximum2),513)])],512),J("div",{ref_key:"valuesMid1Ref",ref:H,class:"HomeGraph-value-mid"},null,512),J("div",{ref_key:"valuesMid2Ref",ref:O,class:"HomeGraph-value-mid"},null,512),J("div",{ref_key:"values2Ref",ref:F,class:"HomeGraph-value base"},[J("div",{ref_key:"values2BarRef",ref:re,class:"HomeGraph-value-bar"},[J("div",{ref_key:"values2BarHorzRef",ref:N,class:"HomeGraph-value-bar-horz"},null,512),J("div",{ref_key:"values2BarVertLeftRef",ref:P,class:"HomeGraph-value-bar-vert left"},null,512),J("div",{ref_key:"values2BarVertRightRef",ref:z,class:"HomeGraph-value-bar-vert right"},null,512)],512),J("div",e4,[J("div",{ref_key:"values2Label1",ref:Q,class:"HomeGraph-value-label top"},ze(_e(s).minimum1),513),J("div",{ref_key:"values2Label2",ref:B,class:"HomeGraph-value-label base"},ze(_e(s).minimum2),513)])],512)],512)]),J("div",{ref_key:"boxBorderRef",ref:f,class:"HomeGraph-box-border"},[je(C,{width:_e(g),height:_e(p),progress:_e(h),radius:2,stroke:.75},null,8,["width","height","progress"])],512)],512)])],2)}}},n4=_t(t4,[["__scopeId","data-v-6f4e13e6"]]),r4="/assets/mediaswirl-1@2x-BnmEsBkb.webp",i4="/assets/mediaswirl-2@2x-Cj07mDi-.webp",s4="/assets/mediaswirl-3@2x-HAT8tFyE.webp",o4="/assets/mediaswirl-4@2x-Dqbow5UR.webp",a4="/assets/mediaswirl-5@2x-D3af6shk.webp",l4="/assets/mediaswirl-6@2x-soDYuKkW.webp",u4="/assets/mediaswirl-7@2x-BWMLbOS2.webp",c4="/assets/mediaswirl-8@2x-DmLJDpg0.webp",f4="/assets/mediaswirl-9@2x-DPL8GeNt.webp",d4="/assets/mediaswirl-10@2x-BHrUQZCI.webp",h4="/assets/mediaswirl-11@2x-BG58g1Ow.webp",p4="/assets/mediaswirl-12@2x-DoAy-BYk.webp",m4="/assets/mediaswirl-13@2x-DImtqJBE.webp",g4="/assets/mediaswirl-14@2x-BM3rNPwo.webp",_4="/assets/mediaswirl-15@2x-f8ACBS_2.webp",_c={desktop:{content:{title1:`
Breakthrough Energy is a global
platform focused on accelerating
clean energy innovation and building
the industries of the future`.trim(),title2:"Energy is prosperity",images:[{id:0,src:r4},{id:1,src:i4},{id:2,src:s4},{id:3,src:o4},{id:4,src:a4},{id:5,src:l4},{id:6,src:u4},{id:7,src:c4},{id:8,src:f4},{id:9,src:d4},{id:10,src:h4},{id:11,src:p4},{id:12,src:m4},{id:13,src:g4},{id:14,src:_4}]},animation:{main:{radius_multiply:.6,radius_add:0,radius_random_mul:1,z_scale:1,z_add:0,rect_scale:.01,rotation:0,rotationModulated:0,rotationModulateRamp:1,aspect_scale:1},rects:[{id:0,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(0)},{id:1,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(1)},{id:2,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(2)},{id:3,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(3)},{id:4,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(4)},{id:5,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(5)},{id:6,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(6)},{id:7,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(7)},{id:8,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(8)},{id:9,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(9)},{id:10,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(10)},{id:11,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(11)},{id:12,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(12)},{id:13,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(13)},{id:14,aspect:1,scale:1,z:1,radius:1,rotation:0,el:null,wander:cr(14)}]}}},v4=["src","onLoad"],y4={__name:"ImageSwirlMo",props:{block:{type:Object,required:!0,default:()=>({})}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=Sn(),{gsap:s}=gn(),o=j(!1),a=j(null),u=j(!1),c=[];let d=null;const l=Ie(()=>n.block),f=Ie(()=>l.value.content),h=structuredClone(_c.desktop.animation.main),g=structuredClone(_c.desktop.animation.rects),p=j(!1);Ve(()=>p.value,H=>{H&&r("load")},{immediate:!0});function b(){d==null||d.kill(),d=s.timeline({paused:!0});const H=d,O=l.value.animation.main,F=h;for(const[ae,X]of Object.entries(O))H.set(F,{[ae]:X},0);const re=6,N=1,P={s:.001,k:2.3,d:2.3},z={s:P.k,k:3.2,d:3.2-P.k},Q={s:z.k,d:4.4-z.k},B={s:re-1,d:1},G="power2.inOut";H.set(F,{aspect_scale:0,rect_scale:1.5,duration:0,radius_multiply:1,radius_add:.3,radius_random_mul:1,ease:G},0),H.to(F,{aspect_scale:.1,duration:P.d,ease:G},P.s),H.to(F,{rect_scale:.9,duration:P.d,ease:G},P.s),H.to(F,{radius_multiply:.3,radius_add:.03,duration:P.d,ease:G},P.s),H.to(F,{rect_scale:1.2,duration:z.d,ease:G},z.s),H.to(F,{radius_multiply:.6,duration:z.d,ease:G},z.s),H.to(F,{radius_add:.05,duration:z.d+.6,ease:"sine.in"},z.s+.6),H.to(F,{aspect_scale:0,duration:z.d,ease:G},z.s),H.to(F,{radius_random_mul:.6,duration:z.d,ease:G},z.s),H.to(F,{radius_add:1,duration:B.d,ease:"sine.in"},B.s-.6),H.to(F,{radius_random_mul:0,rect_scale:1.4,duration:Q.d,ease:G},Q.s),H.to(F,{rect_scale:0,duration:0,ease:G},re-.05),H.to(F,{rotation:2,duration:re-N,ease:ae=>Oo(ae,.07)},N);const ie=P.k-N;H.to(F,{rotationModulated:0,duration:ie,ease:G},N),H.to(F,{rotationModulated:.8,duration:Q.d+B.d,ease:ae=>Oo(ae,.35)},Q.s)}function y(){let H=0;const O=performance.now()/1e3,{radius_multiply:F,radius_random_mul:re,radius_add:N,z_scale:P,z_add:z,rect_scale:Q,rotation:B,rotationModulated:G,rotationModulateRamp:ie,aspect_scale:ae}=h,X=(B+G-.2)*.5*zi;for(const pe of c){const Ee=g[H];if(Ee.el=pe,pe){const ke=et.lvh,Re=et.ww,ye=Re/ke,we=H/c.length;let{el:se,scale:le,aspect:he,z:Te,rotation:Le,radius:W}=Ee,L=Ee.wander.seed;const q=.5+L*.5,ee=vA(O,q,Ee.wander);Te+=z,Te+=ee[2]*.1;const K=Te*P+(1-P);let x=le*K*Q;L=u_(L)*re,x*=.75*L+.25;const V=Le*zi,C=we*zi,D=V+C+X;let Z=K*W*F;Z+=N,Z+=L*.6,Z+=x*.15*he;const fe=Z*Re,de=Gn(ae,1,ye);let ne=Math.cos(D)*fe*de,ce=Math.sin(D)*fe;ne+=ee[0]*.15*Re*Z,ce+=ee[1]*.15*Re*Z,ne+=Re*.5,ce+=ke*.5,ce-=ke*.15,ne-=ke*.15*he,se.style.translate=`${ne}px ${ce}px`,se.style.scale=`${x} ${x}`}H++}}function S(){const H=i.scrollSubPixel/et.lvh,O=[.1,5.5];u.value=gt(H,-1,O[1]),u.value&&(d==null||d.progress(We(H,O[0],O[1])))}function E(){o.value&&S()}function T(){u.value&&y()}function k(){E()}Ve(()=>i.scrollSubPixel,()=>{E()}),xn(k),Ts(T),kt(()=>{Mt(()=>{o.value=!0,b()})}),Vt(()=>{d==null||d.kill(),c.splice(0,c.length),M=0});let M=0;function $(H,O){const F=H.target;O.aspect=F.naturalWidth/F.naturalHeight,M++;const re=g.length;p.value=re>0&&M===re}return(H,O)=>(ue(),me("div",{ref_key:"rootRef",ref:a,class:ot(["ImageSwirl",{visible:_e(u)}])},[(ue(!0),me(Qe,null,ut(_e(g),(F,re)=>{var N;return ue(),me("img",{ref_for:!0,ref:P=>c[re]=P,key:`swirlimage-${re}`,class:"ImageSwirl-rect",src:((N=_e(f).images[re])==null?void 0:N.src)||"",onLoad:P=>$(P,F),alt:""},null,40,v4)}),128))],2))}},b4=_t(y4,[["__scopeId","data-v-af7fb688"]]),w4={class:"icon-logo-bt",viewBox:"0 0 184 184",xmlns:"http://www.w3.org/2000/svg"};function S4(t,e){return ue(),me("svg",w4,[...e[0]||(e[0]=[J("g",null,[J("path",{d:"M65.1896 27.2328L70.1777 10.1643C71.8144 4.47475 77.1142 0.499878 83.0376 0.499878H101.041C106.965 0.499878 112.265 4.47475 113.901 10.1643L127.463 56.6157L148.428 62.7729L144.219 70.4109L120.526 63.4743L105.64 12.5804C105.016 10.554 103.146 9.07313 100.963 9.07313H82.9596C80.7773 9.07313 78.9068 10.554 78.2833 12.5804L72.7496 31.4415L65.1117 27.2328H65.1896ZM27.2335 118.811L31.4421 111.173L12.581 105.639C10.5546 105.016 9.07374 103.145 9.07374 100.963V82.959C9.07374 81.634 9.61931 80.387 10.4766 79.5297C11.0222 78.9841 11.7237 78.5165 12.503 78.2827L63.397 63.3964L70.3335 39.703L62.6956 35.4943L56.5384 56.4599L10.0869 70.0212C4.47536 71.8138 0.500488 77.1136 0.500488 83.0369V101.041C0.500488 106.964 4.47536 112.264 10.1649 113.901L27.2335 118.889V118.811ZM173.914 70.1771L156.845 65.189L152.637 72.827L171.498 78.3606C173.524 78.9841 175.005 80.8547 175.005 83.0369V101.041C175.005 103.223 173.602 105.094 171.498 105.717L120.604 120.603L113.667 144.297L121.305 148.505L127.463 127.54L173.914 113.979C176.096 113.355 178.045 112.186 179.604 110.627C182.098 108.133 183.578 104.782 183.578 101.119V83.1149C183.578 77.1915 179.604 71.8917 173.914 70.255V70.1771ZM111.173 152.636L105.64 171.497C105.016 173.524 103.146 175.005 100.963 175.005H82.9596C80.7773 175.005 78.9068 173.602 78.2833 171.497L63.397 120.603L39.7036 113.667L35.495 121.305L56.4605 127.462L70.0218 173.913C71.6585 179.603 76.9583 183.578 82.8817 183.578H100.886C106.809 183.578 112.109 179.603 113.745 173.913L118.733 156.845L111.095 152.636H111.173Z",fill:"currentColor"}),J("path",{opacity:"0.62",d:"M27.2328 65.1888L18.6595 49.6011C15.8538 44.4571 16.789 37.9103 20.9198 33.7016L33.6238 20.9976C37.8325 16.7889 44.3014 15.8536 49.5233 18.7374L91.9998 41.9631L111.173 31.4414L113.589 39.7808L91.9219 51.6275L45.3925 26.1415C43.522 25.1283 41.1059 25.4401 39.6251 26.9989L26.921 39.7029C25.4402 41.2616 25.0505 43.5998 26.0637 45.4703L35.4943 62.6948L27.1549 65.1109L27.2328 65.1888ZM65.1889 156.767L62.7728 148.427L45.5484 157.858C43.6779 158.871 41.2618 158.559 39.7809 157.001L27.0769 144.297C26.1417 143.361 25.674 142.114 25.674 140.867C25.674 139.62 25.8299 139.231 26.2975 138.529L51.7835 91.9997L39.9368 70.3328L31.5974 72.7489L42.1191 91.9218L18.8934 134.398C16.0876 139.542 17.0228 146.089 21.1536 150.298L33.8576 163.002C38.0663 167.211 44.5352 168.146 49.7571 165.262L65.3448 156.689L65.1889 156.767ZM134.476 18.6594L118.889 27.2327L121.305 35.5721L138.529 26.1415C140.4 25.1283 142.816 25.4401 144.297 26.9989L157.001 39.7029C158.482 41.2616 158.871 43.5998 157.858 45.4703L132.372 91.9997L144.219 113.667L152.558 111.251L142.036 92.0777L165.262 49.6011C166.353 47.5747 166.899 45.3924 166.899 43.2101C166.899 39.7029 165.574 36.2736 163.002 33.7016L150.298 20.9976C146.089 16.7889 139.62 15.8536 134.398 18.7374L134.476 18.6594ZM148.427 121.305L157.858 138.529C158.871 140.4 158.559 142.816 157.001 144.297L144.297 157.001C142.816 158.481 140.4 158.871 138.529 157.858L91.9998 132.372L70.3329 144.219L72.749 152.558L91.9219 142.036L134.398 165.262C139.542 168.068 146.089 167.133 150.298 163.002L163.002 150.298C167.211 146.089 168.146 139.62 165.262 134.398L156.689 118.811L148.35 121.227L148.427 121.305Z",fill:"currentColor"})],-1)])])}const CA={render:S4},T4={class:"HomeSwirlTitles-title-wrap"},A4={class:"HomeSwirlTitles-title-wrap"},E4={__name:"HomeSwirlTitlesMo",props:{block:{type:Object,required:!0,default:()=>({})}},setup(t){const e=t,n=Sn(),r=j(null),i=j(null),s=j(null),o=j(null),a=j(null),u=j(null),c=j(null),d=[],l=[],f=Ie(()=>e.block),h=Ie(()=>{var N,P,z;return((z=(P=(N=f.value)==null?void 0:N.content)==null?void 0:P.title1)==null?void 0:z.split(`
`))||""}),g=Ie(()=>{var N,P,z;return((z=(P=(N=f.value)==null?void 0:N.content)==null?void 0:P.title2)==null?void 0:z.split(`
`))||""});Ie(()=>{var N,P,z;return((z=(P=(N=f.value)==null?void 0:N.content)==null?void 0:P.title3)==null?void 0:z.split(`
`))||""});const p=j(!1),b=j(null),y=j(!1),{gsap:S}=gn(),E={logoOutro:{timeline:null,bisection:.5},background:{timeline:null},title1:{timeline:null,bisection:.5},title2:{timeline:null,bisection:.5}};function T(){S.set(i.value,{autoAlpha:0}),S.set(a.value,{autoAlpha:0}),S.set(s.value,{autoAlpha:1})}function k(){jr(E);let N=E.logoOutro;N.timeline=S.timeline({paused:!0});let P=N.timeline;P.set(s.value,{autoAlpha:1},0),P.to(s.value,{duration:.25,autoAlpha:0},.01),N=E.background,N.timeline=S.timeline({paused:!0}),P=N.timeline,P.set(i.value,{autoAlpha:0},0),P.set(a.value,{autoAlpha:0},0),P.to(i.value,{duration:.25,autoAlpha:1},.01),P.to(a.value,{duration:.25,autoAlpha:1},.01),P.to(r.value,{duration:0,autoAlpha:0},.26),N=E.title1,N.timeline=S.timeline({paused:!0}),N.bisection=bA({timeline:N.timeline,lineElementsArray:d,x:30}),N=E.title2,N.timeline=S.timeline({paused:!0}),N.timeline.set(c.value,{y:0},0),N.bisection=To({timeline:N.timeline,lineElementsArray:l,outroOffset:.3,x:30});const z=N.bisection*N.timeline.duration(),Q=N.timeline.duration()-z;N.timeline.to(c.value,{y:-20,ease:"power2.in",duration:Q},z+.01)}const M={vis:[-1,7],background:[2.4,2.6],title1_in:[2.6,3.6],title1_out:[3.8,4.5],title2_in:[4.5,4.9],title2_out:[4.9,5.4],logo:[5.2,5.6]};function $(){var X,pe,Ee,ke,Re,ye;const N=n.scrollSubPixel/et.lvh,{vis:P,logo:z,background:Q,title1_in:B,title1_out:G,title2_in:ie,title2_out:ae}=M;if(y.value=gt(N,P[0],P[1]),y.value){let we=E.logoOutro;(X=we.timeline)==null||X.progress(We(N,z[0],z[1])),we=E.background,(pe=we.timeline)==null||pe.progress(We(N,Q[0],Q[1])),we=E.title1,gt(N,-1,B[1])?(Ee=we.timeline)==null||Ee.progress(We(N,B[0],B[1],0,we.bisection,!0)):(ke=we.timeline)==null||ke.progress(We(N,G[0],G[1],we.bisection,1,!0)),we=E.title2,gt(N,-1,ie[1])?(Re=we.timeline)==null||Re.progress(We(N,ie[0],ie[1],0,we.bisection,!0)):(ye=we.timeline)==null||ye.progress(We(N,ae[0],ae[1],we.bisection,1,!0))}}let H=0;function O(){H+=.25,p.value&&y.value&&(s.value.style.rotate=`${H}deg`,o.value.style.rotate=`${H}deg`)}Ts(O);function F(){p.value&&$()}function re(){F()}return Ve(()=>n.scrollSubPixel,()=>{F()}),xn(re),kt(()=>{Mt(()=>{p.value=!0,T(),k(),F()})}),Vt(()=>{p.value=!1}),(N,P)=>{const z=CA;return ue(),me("div",{ref_key:"rootRef",ref:b,class:ot(["HomeSwirlTitles",{visible:_e(y)}])},[J("div",{ref_key:"bgWhiteRef",ref:r,class:"HomeSwirlTitles-bg white"},[J("div",{ref_key:"logoGreenRef",ref:o,class:"HomeSwirlTitles-logo green"},[je(z)],512)],512),J("div",{ref_key:"bgGreenRef",ref:i,class:"HomeSwirlTitles-bg green"},null,512),J("div",{ref_key:"logoWhiteWrapRef",ref:a,class:"HomeSwirlTitles-bg"},[J("div",{ref_key:"logoWhiteRef",ref:s,class:"HomeSwirlTitles-logo white"},[je(z)],512)],512),J("div",T4,[J("div",{ref_key:"titleRef1",ref:u,class:"HomeSwirlTitles-title"},[(ue(!0),me(Qe,null,ut(_e(h),(Q,B)=>(ue(),me("div",{ref_for:!0,ref:G=>d[B]=G,key:`title1Line-${B}`,role:"group"},ze(Q),1))),128))],512)]),J("div",A4,[J("div",{ref_key:"titleRef2",ref:c,class:"HomeSwirlTitles-title"},[(ue(!0),me(Qe,null,ut(_e(g),(Q,B)=>(ue(),me("div",{ref_for:!0,ref:G=>l[B]=G,key:`title2Line-${B}`,role:"group"},ze(Q),1))),128))],512)])],2)}}},k4=_t(E4,[["__scopeId","data-v-9da85970"]]),R4={class:"HomeHero-inner"},C4={class:"sr-only"},x4={class:"HomeHero-title"},P4={class:"HomeHero-title base"},I4={class:"HomeHero-title"},L4={class:"HomeHero-title base"},O4={__name:"HomeHeroMo",props:{block:{type:Object,required:!0,default:()=>({})}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=Sn(),s=ch();wi();const o=[],a=[],u=[],c=[],d=j(null),l=j(null),f=j(null),h={rectScale:1,zScale:1,radiusScale:0,rotationUnit:0,el:null},g=j(!1),p=j(null),b=j(!1),{gsap:y}=gn(),S=Ie(()=>n.block),E=Ie(()=>S.value.videoSrc),T=Ie(()=>S.value.imageSrc),k=Ie(()=>S.value.title1),M=Ie(()=>{var L;const W=((L=k.value)==null?void 0:L.split(`
`))||[];return S.value.title2&&W.push(S.value.title2),W}),$=Ie(()=>{var L;return((L=S.value.title3)==null?void 0:L.split(`
`))||[]}),H=new or,O=new or,F={progress:0},re=[-1,.2],N=[.3,1],P={unmasked:{timeline:null,bisection:.5},masked:{timeline:null,bisection:.5},unmaskedBase:{timeline:null,bisection:.5},maskedBase:{timeline:null,bisection:.5},video:{timeline:null,bisection:.5}},z=j(!1),Q=j(!1),B=()=>z.value=!0,G=()=>Q.value=!0,ie=Ie(()=>Q.value);Ve(ie,W=>W&&r("load"),{immediate:!0});const ae=Ie(()=>!1);function X(){jr(P);let W=P.masked;const L=50;W.timeline=y.timeline({paused:!0}),W.bisection=To({timeline:W.timeline,lineElementsArray:o,x:L}),W=P.unmasked,W.timeline=y.timeline({paused:!0}),W.bisection=To({timeline:W.timeline,lineElementsArray:a,x:L}),W=P.maskedBase,W.timeline=y.timeline({paused:!0}),W.bisection=To({timeline:W.timeline,lineElementsArray:u,x:L}),W=P.unmaskedBase,W.timeline=y.timeline({paused:!0}),W.bisection=To({timeline:W.timeline,lineElementsArray:c,x:L}),W=P.video,W.timeline=y.timeline({paused:!0}),W.timeline.set(h,{rotationUnit:.5},0),W.timeline.to(h,{rectScale:.3,duration:1.5,ease:"power2.inOut"},.001),W.timeline.to(h,{zScale:.7,duration:2,ease:"power2.inOut"},.001),W.timeline.to(h,{rotationUnit:.75,duration:2,ease:"power2.inOut"},.2),W.timeline.to(h,{radiusScale:1.02,duration:1.7,ease:"power2.inOut"},.3)}Ve(()=>s.transitionVisibleState,W=>{W===ya.AFTER_ENTER&&pe()},{immediate:!0});function pe(){y.to(F,{progress:1,duration:3.4,ease:"sine.out"})}function Ee(){O.updateFromElement(d.value)}function ke(){const{el:W,rectScale:L,zScale:q,rotationUnit:ee,radiusScale:K}=h;if(W){const x=et.lvh,C=et.ww/x,D=L*q,Z=ee*zi,fe=q*K*x,de=Math.cos(Z)*fe*C,ne=Math.sin(Z)*fe;W.style.translate=`${de}px ${ne}px`,W.style.scale=`${D} ${D}`}}function Re(){ke(),H.updateFromElement(mr.mobile.elements.heroRect)}function ye(){g.value&&(d.value.style.clipPath=or.clipPathInsetFromRects(H,O),l.value.style.translate=`${H.left}px ${H.top}px`,l.value.style.width=`${H.width}px`,l.value.style.height=`${H.height}px`)}function we(W){var L,q;(L=P.masked.timeline)==null||L.progress(W),(q=P.unmasked.timeline)==null||q.progress(W)}function se(W){var L,q;(L=P.maskedBase.timeline)==null||L.progress(W),(q=P.unmaskedBase.timeline)==null||q.progress(W)}function le(){var ee;const W=i.scrollSubPixel/et.lvh,L=N[1]+1;b.value=gt(W,-1,L);let q=P.masked;if(b.value){if(gt(W,N[0],L)){let K=We(W,N[0],N[1],q.bisection,1,!0);we(K),q=P.maskedBase,K=We(W,N[0],N[1],q.bisection,1,!0),se(K)}q=P.video,(ee=q.timeline)==null||ee.progress(We(W,.2,2.5))}}function he(){g.value&&(le(),Ee(),Re(),ye())}function Te(){he()}Ve(()=>i.scrollSubPixel,()=>{he()}),xn(Te);function Le(){const W=i.scrollSubPixel/et.lvh;if(gt(W,re[0],re[1])){let L=P.masked,q=We(F.progress,0,.7,0,L.bisection,!0);we(q),L=P.maskedBase,q=We(F.progress,.65,1,0,L.bisection,!0),se(q)}}return Ts(Le),kt(()=>{Mt(()=>{g.value=!0,mr.mobile.elements.heroRect=f.value,h.el=f.value,X(),he(),Mt(he)})}),Vt(()=>{y.killTweensOf(F),jr(P),F.progress=0}),(W,L)=>{const q=Vl;return ue(),me("div",{ref_key:"rootRef",ref:p,class:ot(["HomeHero",{visible:_e(b)}])},[J("div",{ref_key:"inputRectRef",ref:f,class:"HomeHero-rect"},null,512),J("div",R4,[J("h1",C4,[(ue(!0),me(Qe,null,ut(_e(M),(ee,K)=>(ue(),me("span",{key:`sr-only-line-${K}`},ze(ee),1))),128)),(ue(!0),me(Qe,null,ut(_e($),(ee,K)=>(ue(),me("span",{key:`sr-only-line-base-${K}`},ze(ee),1))),128))]),J("div",x4,[(ue(!0),me(Qe,null,ut(_e(M),(ee,K)=>(ue(),me("div",{ref_for:!0,ref:x=>a[K]=x,key:`unmaskedLine-${K}`,class:"HomeHero-title-line",role:"group"},ze(ee),1))),128))]),J("div",P4,[(ue(!0),me(Qe,null,ut(_e($),(ee,K)=>(ue(),me("div",{ref_for:!0,ref:x=>c[K]=x,key:`unmaskedLineBase-${K}`,class:"HomeHero-title-line-base",role:"group"},ze(ee),1))),128))])]),J("div",{ref_key:"maskedBGRef",ref:l,class:"HomeHero-bg"},[je(q,{"image-url":_e(T),"video-url":_e(E),"fallback-to-static":_e(ae),onVideoplay:B,onImgload:G},null,8,["image-url","video-url","fallback-to-static"])],512),J("div",{ref_key:"maskedRef",ref:d,class:"HomeHero-inner masked"},[J("div",I4,[(ue(!0),me(Qe,null,ut(_e(M),(ee,K)=>(ue(),me("div",{ref_for:!0,ref:x=>o[K]=x,key:`maskedLine-${K}`,class:"HomeHero-title-line",role:"group"},ze(ee),1))),128))]),J("div",L4,[(ue(!0),me(Qe,null,ut(_e($),(ee,K)=>(ue(),me("div",{ref_for:!0,ref:x=>u[K]=x,key:`maskedLineBase-${K}`,class:"HomeHero-title-line-base",role:"group"},ze(ee),1))),128))])],512)],2)}}},M4=_t(O4,[["__scopeId","data-v-088b7959"]]),F4={class:"icon-arrow",fill:"none",viewBox:"0 0 40 41",xmlns:"http://www.w3.org/2000/svg"};function D4(t,e){return ue(),me("svg",F4,[...e[0]||(e[0]=[J("path",{d:"m26.8333 17.5709c.6334.2667 1.0334.8667 1.0334 1.5667v9.7h3.6333v-20.06666h-20.0333v3.63336h9.8333c.7 0 1.3.4 1.5667 1.0666.2666.6667.1333 1.3667-.3667 1.8667l-14 13.7 2.5333 2.5667 13.9667-13.7c.5-.5 1.2-.6334 1.8333-.3667z",fill:"currentColor"},null,-1)])])}const xA={render:D4},N4={ref:"iconRef",class:"HomeScrollCTA-icon"},$4={ref:"labelRef",class:"HomeScrollCTA-label"},H4={__name:"HomeScrollCTA",setup(t){const e=Sn(),n=ch(),r=j(null),i=j(null),s=j(!1),o=j(!1);Ve(()=>n.transitionVisibleState,c=>{},{immediate:!0});function a(){if(o.value){const c=e.scrollSubPixel/et.lvh;s.value=gt(c,-1,1)}}function u(){a()}return xn(u),Ve(()=>e.scrollSubPixel,()=>{a()}),kt(()=>{Mt(()=>{o.value=!0,a(),Mt(a)})}),Vt(()=>{}),(c,d)=>{const l=xA;return ue(),me("div",{ref_key:"rootRef",ref:r,class:ot(["HomeScrollCTA",{visible:_e(s)}])},[J("div",{ref_key:"ctaRef",ref:i,class:"HomeScrollCTA-cta"},[J("div",N4,[je(l)],512),J("div",$4," Scroll for more ",512)],512)],2)}}},PA=_t(H4,[["__scopeId","data-v-261f991c"]]),B4={class:"HomeAnimation-portrait"},V4={class:"HomeAnimation-portrait-sticky-wrap"},U4={key:0,class:"HomeAnimation-portrait-sticky"},j4={__name:"HomeAnimationPortrait",props:{content:{type:Object,required:!0,default:()=>({hero:{},swirl:{},graph:{},stack:{},quote:{},keyAreas:{},approach:{},stats:{},funds:{}})}},emits:["load"],setup(t,{emit:e}){const n=e,r=j(!1),i=j(!1),s=j(!1),o=j(!1),a=j(!1),u=j(!1),c=Ie(()=>r.value&&i.value&&s.value&&o.value&&a.value&&u.value);Ve(c,b=>{b&&n("load")});function d(){r.value=!0}function l(){i.value=!0}function f(){s.value=!0}function h(){o.value=!0}function g(){a.value=!0}function p(){u.value=!0}return(b,y)=>{const S=PA,E=M4,T=k4,k=b4,M=n4,$=ID,H=bD,O=YF;return ue(),me("div",B4,[J("div",V4,[t.content?(ue(),me("div",U4,[je(S),je(E,{block:t.content.hero.mobile,onLoad:d},null,8,["block"]),je(T,{block:t.content.swirl.mobile},null,8,["block"]),je(k,{block:t.content.swirl.mobile,onLoad:l},null,8,["block"]),je(M,{block:t.content.graph.mobile,"block-stack":t.content.stack.mobile,onLoad:f},null,8,["block","block-stack"]),je($,{block:t.content.quote.mobile,onLoad:h},null,8,["block"]),je(H,{block:t.content.keyAreas.mobile,onLoad:g},null,8,["block"]),je(O,{block:t.content.approach.mobile,onLoad:p},null,8,["block"])])):bt("",!0)])])}}},W4=_t(j4,[["__scopeId","data-v-3f8622f7"]]),z4={class:"PaginationDots"},G4={__name:"PaginationDots",props:{currentIndex:{type:Number,default:0},total:{type:Number,default:5}},setup(t){return(e,n)=>(ue(),me("div",z4,[(ue(!0),me(Qe,null,ut(t.total,r=>(ue(),me("div",{ref_for:!0,ref:i=>i,key:`pagination-dot-${r}`,class:ot(["PaginationDots-dot",{current:r<=t.currentIndex+1}])},[...n[0]||(n[0]=[J("div",{class:"PaginationDots-dot-border"},null,-1),J("div",{class:"PaginationDots-dot-fill"},null,-1)])],2))),128))]))}},IA=_t(G4,[["__scopeId","data-v-fa615e89"]]),q4={key:0,class:"HomeApproach-inner"},Y4={key:0,ref:"chapterTitlesRef",class:"HomeApproach-sideTitles"},K4={class:"HomeApproach-sideTitles-inner"},X4={key:1,ref:"chaptersRef",class:"HomeApproach-chapters"},Q4={class:"HomeApproach-dots"},J4={class:"HomeApproach-chapter-inner"},Z4={__name:"HomeApproach",props:{block:{type:Object,required:!0,default:()=>({})}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=Ie(()=>n.block),s=Ie(()=>i.value.chapters),o={radar:"Loop Radar",smallDots:"Init Loop",largeDot:"Loop B",whiteDot:"Loop C",main:"main"},a=Ie(()=>{var se;return{src:((se=i.value)==null?void 0:se.rive)||"",artboard:"main",animation:o.main}}),u={dots:.307,bigDot:.4756,premium:.665},c={dots:[u.dots,u.dots+.04],bigDot:[u.bigDot,u.bigDot+.01],premium:[u.premium,1]},d=[u.dots,u.bigDot,u.premium],l=[c.dots[1],c.bigDot[1],c.premium[1]],f=SA([[-1,0],[0,d[0]],[.2,l[0]],[1,d[1]],[1.2,l[1]],[2,d[2]],[3,1]],.4),h=j(null),g=j(null),p={decel:.8,accel:.5,maxSpeed:.01};new _A(p);const b=j(!1),y=j(!1),S=j(!1),E=j(!1),T={[o.radar]:0,[o.smallDots]:0,[o.largeDot]:0,[o.whiteDot]:0},k=j(!1);function M(){Object.values(o).forEach(se=>{h.value.stop(se)}),k.value=!0,r("load"),Re()}const $=Sn(),H=[],O=[],F=[],re=j(!1),N=j(0),P=j(0),z={indexEased:0,indexLinear:0},Q=j(null),B=j(!1);Ve(N,(se,le)=>{const he=le!==se&>(le,0,3),Te=le!==se&>(se,0,3);if(P.value=Oi(se,0,2),re.value&&he){const Le=O[le];G.killTweensOf(Le),G.to(Le,{opacity:0,x:0,duration:.1})}if(re.value&&Te){const Le=O[se];G.killTweensOf(Le),G.set(Le,{opacity:0,x:"-2vw"}),G.to(Le,{opacity:1,x:0,duration:.6,delay:.1,ease:"sine.out"})}});const{gsap:G}=gn(),ie={main:{timeline:null}};function ae(){const se=ie.main;se.timeline=G.timeline({paused:!0}),se.timeline.set(z,{indexEased:-1},0),se.timeline.set(z,{indexLinear:-1},0),se.timeline.to(z,{indexLinear:3,ease:"linear",duration:1},0);const le=1/4,he=le*.1;for(let Te=0;Te<4;Te++)se.timeline.to(z,{indexEased:Te,ease:"sine.inOut",duration:le-he},le*Te)}function X(){const se=h.value,{indexLinear:le}=z,he=f(le);se&&se.progress(he),b.value=gt(he,...c.dots),y.value=gt(he,...c.dots),S.value=gt(he,...c.bigDot),E.value=gt(he,...c.premium)}function pe(se,le){var he,Te,Le;le?((he=h.value)==null||he.play(se),T[se]=setInterval(()=>{var W;return(W=h.value)==null?void 0:W.play(se)},3e3)):(clearInterval(T[se]),(Te=h.value)==null||Te.pause(se),(Le=h.value)==null||Le.scrub(0,se))}Ve(()=>b.value&&k.value,se=>pe(o.radar,se)),Ve(()=>y.value&&k.value,se=>pe(o.smallDots,se)),Ve(()=>S.value&&k.value,se=>pe(o.largeDot,se)),Ve(()=>E.value&&k.value,se=>pe(o.whiteDot,se));function Ee(){var L;const se=et.lvh,le=$.scrollSubPixel/se,he=mr.desktop.time.approachStart,Te=[he,he+4.2],Le=he+4.7,W=ie.main;if(B.value=gt(le,Te[0],Le),B.value){(L=W.timeline)==null||L.progress(We(le,Te[0],Te[1]));const q=Oo(We(le,Te[0]+.8,Te[0]),.2)*se*.5;g.value.style.translate=`0px ${q}px`;const ee=Oo(We(le,Le-1.2,Le),.2)*-se;Q.value.style.translate=`0px ${ee}px`}}function ke(){const se=et.lvh;$.scrollSubPixel/se;const{indexEased:le}=z;N.value=Math.round(le);for(let he=0;he<H.length;he++){let Te=H[he];const Le=0;let W=Math.min(le,2)*-se;W+=he*se,Te.style.translate=`${Le}px ${W}px`,Te=F[he];const L=We(le,he-.4,he-.25);Te.style.opacity=L}}function Re(){re.value&&(Ee(),B.value&&ke())}function ye(){B.value&&X()}function we(){Re()}return Ve(()=>$.scrollSubPixel,()=>{Re()}),xn(we),Ts(ye),kt(()=>{Mt(()=>{re.value=!0,ae(),Re()})}),Vt(()=>{re.value=!1}),(se,le)=>{var Le,W;const he=gA,Te=IA;return ue(),me("div",{ref_key:"rootRef",ref:Q,class:ot(["HomeApproach",{visible:_e(B)}])},[_e(a)?(ue(),me("div",q4,[J("div",{ref_key:"riveParentRef",ref:g,class:"HomeApproach-rive-container"},[je(he,{ref_key:"rivePlayerRef",ref:h,"src-all":_e(a),"log-instance":!1,autoplay:!0,onLoad:M},null,8,["src-all"])],512),(Le=_e(s))!=null&&Le.length?(ue(),me("div",Y4,[J("div",K4,[(ue(!0),me(Qe,null,ut(_e(s),(L,q)=>(ue(),me("div",{ref_for:!0,ref:ee=>O[q]=ee,key:`chapter-${q}`,class:"HomeApproach-sideTitle"},ze(L.title),1))),128))])],512)):bt("",!0),(W=_e(s))!=null&&W.length?(ue(),me("div",X4,[J("div",Q4,[je(Te,{total:_e(s).length,"current-index":_e(P)},null,8,["total","current-index"])]),(ue(!0),me(Qe,null,ut(_e(s),(L,q)=>(ue(),me("div",{ref_for:!0,ref:ee=>H[q]=ee,key:`chapter-${q}`,class:"HomeApproach-chapter"},[J("div",J4,[L.subtitle?(ue(),me("div",{key:0,ref_for:!0,ref:ee=>ee,class:"HomeApproach-subtitle"},ze(L.subtitle),513)):bt("",!0),L.body?(ue(),me("div",{key:1,ref_for:!0,ref:ee=>F[q]=ee,class:"HomeApproach-body"},ze(L.body),513)):bt("",!0)])]))),128))],512)):bt("",!0)])):bt("",!0)],2)}}},e6=_t(Z4,[["__scopeId","data-v-77d46489"]]),t6=["innerHTML"],n6={__name:"KeyAreasOutro",props:{block:{type:Object,required:!0,default:()=>({})}},setup(t){const e=t,n=Sn(),r=Ie(()=>e.block.content.outro),i=j(!1),s=j(null),o=[],a=Ie(()=>{var S,E;let y=((E=(S=r.value)==null?void 0:S.title)==null?void 0:E.split(`
`))||[];return y=y.map(T=>Bl(["code","em"],T)),y}),u=j(null),c=j(null),d=j(!1),{gsap:l}=gn(),f={main:{timeline:null}};function h(){const y=f.main;y.timeline=l.timeline({paused:!0}),yA({timeline:y.timeline,lineElementsArray:o})}function g(){var M;const y=et.lvh,S=n.scrollSubPixel/y,E=mr.desktop.time.keyAreaStart,T=f.main;d.value=gt(S,E+6,E+10.5),d.value&&((M=T.timeline)==null||M.progress(We(S,E+8.5,E+8.8)));const k=xl(We(S,E+9.5,E+10.5))*y*.13;c.value.style.translate=`0px ${k}px`}function p(){i.value&&g()}function b(){p()}return Ve(()=>n.scrollSubPixel,()=>{p()}),xn(b),kt(()=>{Mt(()=>{i.value=!0,h(),p()})}),Vt(()=>{i.value=!1}),(y,S)=>(ue(),me("div",{ref_key:"rootRef",ref:u,class:ot(["KeyAreasOutro",{visible:_e(d)}])},[J("div",{ref_key:"contentRef",ref:c,class:"KeyAreasOutro-inner"},[J("div",{ref_key:"titleRef",ref:s,class:"KeyAreasOutro-title"},[(ue(!0),me(Qe,null,ut(_e(a),(E,T)=>(ue(),me("div",{ref_for:!0,ref:k=>o[T]=k,key:`titleLine-${T}`,innerHTML:E},null,8,t6))),128))],512)],512)],2))}},r6=_t(n6,[["__scopeId","data-v-6e5404a4"]]),i6={class:"KeyAreas-title-wrap"},s6={ref:"titleMaskedRef",class:"KeyAreas-title"},o6=["innerHTML"],a6={key:0,class:"KeyAreas-rect-wrap"},l6={class:"KeyAreas-video"},u6={class:"KeyAreas-content-wrap"},c6={class:"KeyAreas-content unmasked"},f6={class:"KeyAreas-content-body-inner"},d6={class:"KeyAreas-content-eyebrow"},h6=.92,p6={__name:"KeyAreas",props:{block:{type:Object,required:!0,default:()=>({})}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=j(!1);let s=0;Ve(()=>i.value,L=>{L&&r("load")},{immediate:!0});const o=wi(),a=Sn(),{gsap:u}=gn(),c=j(!1),d=[],l=[],f=[],h=j(null),g=j(null),p=j(null),b=j(null),y=j(null),S=j(null),E=j(0),T=j(null),k=j(!1),M=Ie(()=>o.lowFPS),$=j(!1);Ve($,L=>{const q=[g.value,p.value];q[0]&&q[1]&&q.forEach(ee=>{ee.style.visibility=L?"visible":"hidden"})});const H={title:{timeline:null,bisection:.5},areas:{timeline:null}},O=Ie(()=>n.block),F=Ie(()=>{var L;return(L=O.value)==null?void 0:L.content.areas}),re=Ie(()=>{var L;return(L=O.value)==null?void 0:L.content.main.title}),N=Ie(()=>{var q;let L=((q=re.value)==null?void 0:q.split(`
`))||[];return L=L.map(ee=>Bl(["code","em"],ee)),L}),P=j(""),z=j(""),Q=j(""),B=[1440,810];class G{constructor(q=0,ee=0){Oe(this,"clusterRectScale",1);Oe(this,"clusterOverShoot",-1);Oe(this,"clusterRadius",0);Oe(this,"stackLerp",0);Oe(this,"clusterRect",null);Oe(this,"stackRect",null);Oe(this,"outputRect",null);Oe(this,"clusterIndex",0);Oe(this,"index",0);Oe(this,"wanderData",{});this.index=0,this.clusterIndex=ee,this.clusterRect=new or,this.stackRect=new or,this.outputRect=new or,this.wanderData=cr(q)}}const ie={areaIndex:0,areaTitleIndex:-1,areas:[new G(0,3),new G(1,4),new G(2,2),new G(3,1),new G(4,0),new G(5)]},ae=Ie(()=>{var ee,K;const L=[];(ee=F.value)==null||ee.forEach(x=>{L.push({label:x.button,url:x.url})});const q=(K=O.value)==null?void 0:K.content.outro;return L.push({label:q.button,url:q.url}),L}),X=j(0);function pe(){var q,ee;jr(H);let L=H.title;(q=L.timeline)==null||q.kill(),L.timeline=u.timeline({paused:!0}),L.bisection=fh({timeline:L.timeline,lineElementsArray:d,x:100}),L=H.areas,(ee=L.timeline)==null||ee.kill(),L.timeline=u.timeline({paused:!0}),ie.areas.forEach((K,x)=>{const{clusterIndex:V}=K;L.timeline.set(K,{clusterRadius:0,stackLerp:0,clusterRectScale:1.7,clusterOverShoot:-3},0);const C=V*.05;L.timeline.to(K,{clusterRectScale:1,duration:1,ease:"power3.inOut"},1+C),L.timeline.to(K,{clusterRadius:1,duration:1,ease:"power3.inOut"},1+C),L.timeline.set(K,{clusterOverShoot:-1},.8),L.timeline.to(K,{clusterOverShoot:0,duration:.6,ease:"sine.out"},1.1+C),L.timeline.to(K,{stackLerp:1,duration:1.4,ease:"power2.inOut"},3.4-x*.05),L.timeline.set(ie,{areaIndex:0,areaTitleIndex:-1},0),L.timeline.set($,{value:!1},3.5),L.timeline.set($,{value:!0},4.1);const D="sine.inOut";x===0&&L.timeline.to(ie,{duration:1,areaTitleIndex:x,ease:D},3.5+.05),x>0&&(L.timeline.to(ie,{duration:1,areaIndex:x,ease:D},4.5+x*1.25),L.timeline.to(ie,{duration:1,areaTitleIndex:x,ease:D},4.5+x*1.25+.05))})}const Ee=new or,ke=new or;function Re(){const L=et.svh,q=et.ww,ee=Math.round(ie.areaTitleIndex),K=ee-ie.areaTitleIndex,x=Oi(ee,0,4);E.value=Oi(ee,0,4),X.value=Oi(ee,0,5);const V=ie.areas[x],C=F.value[x];P.value=(C==null?void 0:C.title)||"",z.value=(C==null?void 0:C.body)||"",Q.value=(C==null?void 0:C.emission)||"";const D=V.outputRect;Ee.width=q,Ee.height=L,ke.width=D.width,ke.height=D.height,ke.left=D.x-D.width*.5,ke.top=D.y-D.height*.5,h.value.style.clipPath=or.clipPathInsetFromRects(ke,Ee);let Z=0,fe=ke.top+q*.059;fe+=L*.2*We(Math.max(K,0),.01,.5);let de=1-qs(We(Math.abs(K),.25,.45));g.value.style.translate=`${Z}px ${fe}px`,g.value.style.opacity=de,p.value.style.translate=`${Z}px ${fe}px`,p.value.style.opacity=de;const{pad:ne,padSide:ce}=ye();Z=ce,fe=L-ne+L*K*.8,de=1-qs(We(Math.abs(K),.07,.2)),y.value.style.translate=`${Z}px ${fe}px`,y.value.style.opacity=de}function ye(){const L=et.lvh,K=et.ww*.046+60,x=h6*K;return{stackHeight:L-K*2,pad:K,padSide:x}}const we={x:0,y:0};function se(L,q,ee){const K=q[0]*.6+L[0],x=q[1]*.5+L[1];return we.x=(K-ee[0]*.6)/ee[0],we.y=(x-ee[1]*.5)/ee[0],we}function le(){performance.now()/1e3;const L=et.lvh,q=et.ww,ee=l,{pivot:K,rects:x}=O.value.animation.cluster;ee.forEach((V,C)=>{const D=ie.areas[C],{offset:Z,rectSize:fe}=x[C],{clusterRectScale:de,clusterRadius:ne,clusterOverShoot:ce,stackLerp:R,clusterRect:_,stackRect:w,outputRect:U,wanderData:oe}=D;_.width=fe[0]/B[0]*de*q,_.height=fe[1]/B[0]*de*q,_.x=K.x,_.y=K.y,_.x*=q,_.y*=L;const Ae=L/q,be=1-Oi(We(Ae,B[1]/B[0],0)*1.5),qe=se(Z,fe,B);_.x+=qe.x*ne*q,_.y+=qe.y*ne*q*be,_.x+=ce*q*.2;let{areaIndex:Xe}=ie;Xe=Math.max(Xe,0);const{stackHeight:$e,pad:rt,padSide:at}=ye(),Rt=$e+rt;w.width=q-at*2,w.height=$e,w.x=.5*q,w.y=w.height*.5+rt+Rt*C,w.y-=Xe*Rt;const Ye=qs(We(Math.abs(C-Xe),1,0));w.width*=Gn(Ye,.85,1),w.height*=Gn(Ye,.85,1);const Yt=R;U.x=Gn(qs(Yt),_.x,w.x),U.y=Gn(Yt,_.y,w.y),U.width=Gn(gc(Yt),_.width,w.width),U.height=Gn(gc(Yt),_.height,w.height);const Ct=0;V.style.width=`${U.width}px`,V.style.height=`${U.height}px`,V.style.translate=`${U.x}px ${U.y}px ${Ct}px`,f[C].style.opacity=We(R,.1,.6,0,.5,!0)})}function he(){var K,x,V;const L=et.lvh,q=a.scrollSubPixel/L,ee=mr.desktop.time.keyAreaStart;if(k.value=gt(q,ee+.2,ee+10.5),k.value){let C=H.title;gt(q,-1,ee+1.9)?(K=C.timeline)==null||K.progress(We(q,ee+.9,ee+1.9,0,C.bisection,!0)):(x=C.timeline)==null||x.progress(We(q,ee+2.3,ee+2.65,C.bisection,1,!0)),C=H.areas,(V=C.timeline)==null||V.progress(We(q,ee-.5,ee+9));const D=xl(We(q,ee+9.5,ee+10.5))*-L;T.value.style.translate=`0px ${D}px`;const Z=We(q,ee+3,ee+3.3),fe=We(q,ee+8.4,ee+8.2),de=xl(gt(q,0,ee+3.4)?Z:fe);S.value.style.opacity=de}}function Te(){c.value&&(he(),k.value&&(le(),Re()))}function Le(){Te()}Ve(()=>a.scrollSubPixel,()=>{Te()}),xn(Le),kt(()=>{Mt(()=>{c.value=!0,pe(),Te()})}),Vt(()=>{var q;s=0,(q=H.title.timeline)==null||q.kill()});function W(){var q;s++;const L=(q=F.value)==null?void 0:q.length;i.value=L>0&&s===L}return(L,q)=>{var C;const ee=r6,K=TA,x=IA,V=Vl;return ue(),me("div",{ref_key:"rootRef",ref:T,class:ot(["KeyAreas",{visible:_e(k)}])},[je(ee,{block:t.block},null,8,["block"]),je(K,{"label-index":_e(X),areas:_e(ae)},null,8,["label-index","areas"]),J("div",i6,[J("div",s6,[(ue(!0),me(Qe,null,ut(_e(N),(D,Z)=>(ue(),me("div",{ref_for:!0,ref:fe=>d[Z]=fe,key:`line-${Z}`,innerHTML:D},null,8,o6))),128))],512)]),_e(F)?(ue(),me("div",a6,[J("div",{ref_key:"dotsRef",ref:S,class:"KeyAreas-dots"},[je(x,{total:((C=_e(F))==null?void 0:C.length)||5,"current-index":_e(E)},null,8,["total","current-index"])],512),(ue(!0),me(Qe,null,ut(_e(F),(D,Z)=>(ue(),me("div",{ref_for:!0,ref:fe=>l[Z]=fe,key:`area-${Z}`,class:"KeyAreas-area"},[J("div",l6,[je(V,{"image-url":D.imageSrc,"video-url":D.src,"fallback-to-static":_e(M),onImgload:W},null,8,["image-url","video-url","fallback-to-static"]),J("div",{ref_for:!0,ref:fe=>f[Z]=fe,class:"KeyAreas-video-gradient"},null,512)])]))),128))])):bt("",!0),J("div",u6,[J("div",c6,[J("h2",{ref_key:"unmaskedTitleRef",ref:g,class:"KeyAreas-content-title"},ze(_e(P)),513)]),J("div",{ref_key:"maskedRef",ref:h,class:"KeyAreas-content masked"},[J("div",{ref_key:"maskedTitleRef",ref:p,class:"KeyAreas-content-title"},ze(_e(P)),513),J("div",{ref_key:"maskedBodyWrapRef",ref:y,class:"KeyAreas-content-body-wrap"},[J("div",f6,[J("div",d6,ze(_e(Q)),1),J("div",{ref_key:"maskedBodyRef",ref:b,class:"KeyAreas-content-body"},ze(_e(z)),513)])],512)],512)])],2)}}},m6=_t(p6,[["__scopeId","data-v-4c555c38"]]),g6=["innerHTML"],_6={ref:"videoSectionRef",class:"HomeQuote-video-section"},v6={ref:"videoTitlesRef",class:"HomeQuote-video-titles"},y6={class:"HomeQuote-video-play"},b6=["src"],w6={__name:"HomeQuote",props:{block:{type:Object,required:!0,default:()=>({})}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=lt.href.includes("debug-quote-video");let s=0;const o=Sn(),a=wi(),u=gr(),c=Ie(()=>n.block),d=Ie(()=>{if(i)return!1;const z=a.modalState===mi.VIDEO;return a.lowFPS||z}),l=j(!1),f=j(null),h=[],g=Ie(()=>{var Q,B;let z=((B=(Q=c.value)==null?void 0:Q.title)==null?void 0:B.split(`
`))||[];return z=z.map(G=>Bl(["code","em"],G)),z}),p=j(null),b=j(null),y=j(null),S=j(null),E=j(!1),{gsap:T}=gn(),k={title:{timeline:null}};function M(){var Q;jr(k);const z=k.title;(Q=z.timeline)==null||Q.kill(),z.timeline=T.timeline({paused:!0}),z.bisection=fh({timeline:z.timeline,lineElementsArray:h})}function $(){var G;const z=et.lvh,Q=o.scrollSubPixel/z,B=mr.desktop.time.quoteStart;if(E.value=gt(Q,B,B+2.5),E.value){const ie=k.title;(G=ie.timeline)==null||G.progress(We(Q,B+.4,B+1.4,0,ie.bisection,!0));const ae=Mi(We(Q,B+1.1,B-.2)),X=Mi(We(Q,B+1.2,B+2.4))*-1,pe=gt(Q,0,B+1.1)?ae:X;S.value.style.translate=`0px ${pe*z}px`;const Ee=Math.max(ae,0),ke=Math.max(Ee*z*.07,0),Re=1+Ee*4;i||(p.value.style.clipPath=`inset(${ke}px ${ke}px ${ke}px ${ke}px round ${Re}px)`);const ye=pe*-z*.13;b.value.style.translate=`0px ${ye}px`;const we=pe*-z*.6;y.value.style.translate=`0px ${we}px`}}function H(){l.value&&$()}function O(){H()}Ve(()=>o.scrollSubPixel,()=>{H()}),xn(O);function F(){a.setVideoModalData({sources:u.getVideoSources(n.block.video.videoData),timeOffset:0}),a.setModalState(mi.VIDEO)}kt(()=>{Mt(()=>{l.value=!0,M(),H()})});const re=j(!1);function N(z){re.value=z}Vt(()=>{s=0,l.value=!1});function P(){s++,s===2&&r("load")}return(z,Q)=>{const B=Vl,G=EA,ie=AA,ae=o_;return _e(c)?(ue(),me("div",{key:0,ref_key:"rootRef",ref:S,class:ot(["HomeQuote",{visible:_e(E)}])},[J("div",{ref_key:"maskRef",ref:p,class:"HomeQuote-inner"},[J("div",{ref_key:"bgRef",ref:y,class:"HomeQuote-bg"},[je(B,{"image-url":_e(c).backgroundImageSrc,"video-url":_e(c).backgroundVideoSrc,"fallback-to-static":_e(d),onImgload:P},null,8,["image-url","video-url","fallback-to-static"])],512),J("div",{ref_key:"columnRef",ref:b,class:"HomeQuote-grid"},[J("div",{ref_key:"columnRef",ref:b,class:"HomeQuote-column"},[J("div",{ref_key:"titleRef",ref:f,class:"HomeQuote-title"},[(ue(!0),me(Qe,null,ut(_e(g),(X,pe)=>(ue(),me("div",{ref_for:!0,ref:Ee=>h[pe]=Ee,key:`titleLine-${pe}`,innerHTML:X},null,8,g6))),128))],512),J("div",_6,[J("div",v6,[J("div",{ref:"videoTitleNameRef",class:"HomeQuote-video-title"},ze(_e(c).video.name),513),J("div",{ref:"videoTitleRoleRef",class:"HomeQuote-video-title green"},ze(_e(c).video.role),513),je(G)],512),J("button",{ref:"videoWrapRef",class:"HomeQuote-video-wrap",onClick:F,onMouseenter:Q[0]||(Q[0]=X=>N(!0)),onMouseleave:Q[1]||(Q[1]=X=>N(!1))},[J("span",y6,[je(ae,{label:"Open video modal",theme:"white-alt","not-button":!0,variant:"large","manual-hover":_e(re)},{default:$i(()=>[je(ie)]),_:1},8,["manual-hover"])]),J("img",{alt:"",class:"HomeQuote-video-bg",src:_e(c).video.videoImageSrc,onLoad:P},null,40,b6)],544)],512)],512)],512)],512)],2)):bt("",!0)}}},S6=_t(w6,[["__scopeId","data-v-ed655a87"]]),T6={class:"HomeImageStack-inner"},A6={class:"HomeImageStack-box"},E6={class:"HomeImageStack-box-content"},k6={class:"HomeImageStack-box-text"},R6={class:"HomeImageStack-subtitle HomeImageStack-typo"},C6=["src"],x6={class:"HomeImageStack-box-text masked"},P6={class:"HomeImageStack-subtitle HomeImageStack-typo"},I6={__name:"HomeImageStack",props:{block:{type:Object,required:!0,default:()=>({})}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=Sn(),s=Ie(()=>n.block),o=j(!1);let a=40;const u=[],c=[],d=[],l=j(null),f=j(null),h=j(null),g=j(null),p=j(),b=j(null),y=j(!1),S=j(!1);let E=0;const T=j(!1);Ve(()=>T.value,P=>{P&&r("load")},{immediate:!0});const{gsap:k,CustomEase:M}=gn(),$={main:{timeline:null}};function H(){jr($);const P=$.main;P.timeline=k.timeline({paused:!0});const z=M.create("custom","M0,0 C0,0.023 0,0.229 0,0.248 0,0.699 0.493,1 1,1 "),Q=M.create("imgEase","M0,0 C0.36,0.521 0.624,1 1,1 ");let B=[];const G=u.length,ie=P.timeline,ae=a*G;ie.set([f.value,l.value],{y:ae},0),ie.set([u,c],{opacity:0},0),B=[h.value,g.value],ie.set(B,{y:a,opacity:0},0),ie.to(B,{y:0,ease:z,duration:.95},.2),ie.set(B,{opacity:1},.2);for(let X=0;X<G;X++){const pe=ae-a*(X+1),Ee=X<1?X+.01:X+.5,ke=z;if(B=[f.value,l.value],ie.to(B,{y:pe,duration:.95,ease:ke},Ee),B=[u[X],c[X]],ie.set(B,{opacity:1},Ee),X>0){const Re=d[X],ye=Q;ie.set(Re,{opacity:0,scale:1},0),ie.to(Re,{opacity:1,duration:.1},Ee),ie.to(Re,{scale:1.1,duration:.95,ease:ye},Ee)}else{const Re=d[X];ie.set(Re,{opacity:1},0)}}ie.progress(.001)}function O(){var B;const P=et.lvh,z=i.scrollSubPixel/P,Q=mr.desktop.time.imageStackStart;y.value=gt(z,Q,Q+3.9),y.value&&((B=$.main.timeline)==null||B.progress(We(z,Q+.3,Q+2.2)))}function F(){o.value&&O()}function re(){var P;a=((P=u[0])==null?void 0:P.getBoundingClientRect().height)||40,H(),F()}Ve(()=>i.scrollSubPixel,()=>{F()}),xn(re),kt(()=>{Mt(()=>{var P;o.value=!0,re(),H(),F(),Mt(re),S.value=(P=lt.href)==null?void 0:P.includes("debug-vertical")})}),Vt(()=>{E=0,T.value=!1,o.value=!1});function N(P,z){E++;const Q=s.value.stacks.length;T.value=Q>0&&E===Q}return(P,z)=>(ue(),me("div",{ref_key:"rootRef",ref:b,class:ot(["HomeImageStack",{visible:_e(y),debugVertical:_e(S)}])},[z[1]||(z[1]=J("div",{class:"HomeImageStack-redline"},null,-1)),J("div",T6,[J("div",A6,[J("div",E6,[J("div",k6,[J("div",{ref_key:"labelsRef",ref:f,class:"HomeImageStack-labels HomeImageStack-typo"},[(ue(!0),me(Qe,null,ut(_e(s).stacks,(Q,B)=>(ue(),me("div",{ref_for:!0,ref:G=>u[B]=G,key:`label-${B}`,class:"HomeImageStack-label"},ze(Q.label),1))),128))],512),J("div",R6,[J("div",{ref_key:"subtitleRef",ref:h,class:"HomeImageStack-label"},ze(_e(s).subtitle),513)])]),J("div",{ref_key:"imagesRef",ref:p,class:"HomeImageStack-images"},[(ue(!0),me(Qe,null,ut(_e(s).stacks,(Q,B)=>(ue(),me("img",{ref_for:!0,ref:G=>d[B]=G,key:`image-${B}`,class:"HomeImageStack-image",src:Q.imageSrc,onLoad:z[0]||(z[0]=G=>N(G,P.image)),alt:""},null,40,C6))),128))],512),J("div",x6,[J("div",{ref_key:"labelsMaskedRef",ref:l,class:"HomeImageStack-labels HomeImageStack-typo"},[(ue(!0),me(Qe,null,ut(_e(s).stacks,(Q,B)=>(ue(),me("div",{ref_for:!0,ref:G=>c[B]=G,key:`label-masked--${B}`,class:"HomeImageStack-label white"},ze(Q.label),1))),128))],512),J("div",P6,[J("div",{ref_key:"subtitleMaskedRef",ref:g,class:"HomeImageStack-label green"},ze(_e(s).subtitle),513)])])])])])],2))}},L6=_t(I6,[["__scopeId","data-v-99a445c1"]]),O6={class:"HomeGraph-sidetitle-wrap"},M6={class:"HomeGraph-inner"},F6={class:"HomeGraph-box"},D6={class:"HomeGraph-text"},N6={class:"HomeGraph-text text2"},$6={class:"HomeGraph-value-labels"},H6={class:"HomeGraph-value-labels"},B6={__name:"HomeGraph",props:{block:{type:Object,required:!0,default:()=>({})},blockStack:{type:Object,required:!0,default:()=>({})}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=Sn(),s=Ie(()=>n.block),o=j(null),a=j(null),u=j(null),c=j(null),d=j(null),l=j(null),f=j(null),h=j(0),g=j(300),p=j(300),b=j(null),y=j(null),S=j(null),E=j(null),T=j(null),k=j(null),M=j(null),$=j(null),H=j(null),O=j(null),F=j(null),re=j(null),N=j(null),P=j(null),z=j(null),Q=j(null),B=j(null),G=j(null),ie=j(null),ae=j(null),X=[],pe=[],Ee=Ie(()=>{var ee,K;return((K=(ee=s.value)==null?void 0:ee.body1)==null?void 0:K.split(`
`))||[]}),ke=Ie(()=>{var ee,K;return((K=(ee=s.value)==null?void 0:ee.body2)==null?void 0:K.split(`
`))||[]}),Re=j(!1),ye=j(null),we=j(!1),{gsap:se}=gn(),le={main:{timeline:null}};function he(){jr(le);const ee=le.main;ee.timeline=se.timeline({paused:!0});const K=ee.timeline;let x=[];x=o.value,K.set(x,{y:"100lvh"},0),K.to(x,{duration:.75,y:"35.5vh",ease:"sine.out"},.001),K.to(x,{duration:.65,y:0,ease:"sine.in"},1.2),K.set(x,{y:0},3),x=a.value,K.set(x,{scale:.7,y:"75vh"},0),K.to(x,{duration:.75,scale:1,y:0,ease:"sine.out"},.05),K.set(h,{value:0},0),K.to(h,{value:1,duration:1,ease:"sine.out"},.1);const V=.9;x=[G.value,ie.value],K.set(x,{opacity:0},0),K.to(x,{opacity:1,duration:0,ease:"sine.out"},V),x=l.value,K.set(x,{x:20,opacity:0},0),K.to(x,{x:0,opacity:1,duration:.5,ease:"sine.out"},.5);function C({start:fe=.6,parent:de,barHorz:ne,barVertArray:ce,labelArray:R}={}){x=de,K.set(x,{x:"-5cqw"},0),K.to(x,{x:0,duration:.4,ease:"sine.out"},fe),x=ne,K.set(x,{x:-10,scaleX:.5,opacity:0},0),K.to(x,{x:0,scaleX:1,duration:.35,ease:"sine.out"},fe),K.set(x,{opacity:1},fe),x=ce,K.set(x,{opacity:0},0),K.set(x,{opacity:1},fe),x=R,K.set(x,{opacity:0,x:-10},0),K.to(x,{x:0,duration:.35,ease:"sine.out"},fe+.15),K.set(x,{opacity:1},fe+.2)}C({start:.5,parent:y.value,barHorz:E.value,barVertArray:[T.value,k.value],labelArray:[M.value,$.value]}),x=H.value,K.set(x,{x:-10,scaleX:0,opacity:0},0),K.to(x,{x:0,scaleX:1,duration:.5,ease:"sine.out"},.75),K.set(x,{opacity:1},.7),x=O.value,K.set(x,{x:-10,scaleX:0,opacity:0},0),K.to(x,{x:0,scaleX:1,duration:.5,ease:"sine.out"},.85),K.set(x,{opacity:1},.8),C({start:.75,parent:F.value,barHorz:N.value,barVertArray:[P.value,z.value],labelArray:[Q.value,B.value]}),x=X,Pd({timeline:K,lineElementsArray:x,lineDuration:.3,startTime:.7}),wA({timeline:K,lineElementsArray:x,lineDuration:.3,startTime:1.35}),x=pe,Pd({timeline:K,lineElementsArray:x,lineDuration:.3,startTime:2.1}),x=ae.value,K.set(x,{y:"100cqh"},0);const D="61cqh",Z="20.8cqh";K.to(x,{y:D,duration:.75,ease:"sine.out"},.3),K.to(x,{y:Z,duration:0,ease:"sine.inOut"},1.75),x=c.value,K.set(x,{y:"100cqh"},0),K.to(x,{y:D,duration:.75,ease:"sine.out"},.3),K.to(x,{y:Z,duration:1,ease:"sine.inOut"},1.25),x=d.value,K.set(x,{autoAlpha:1},0)}function Te(){var V;const ee=et.lvh,K=i.scrollSubPixel/ee,x=mr.desktop.time.graphStart;if(we.value=gt(K,x,x+5.95),we.value){(V=le.main.timeline)==null||V.progress(We(K,x,x+2.15));const D=Mi(We(K,x+4.45,x+5.75))*-1;ye.value.style.translate=`0px ${D*ee}px`;const Z=Mi(We(K,x+2.15,x+2.65)),fe=ee*.65,de=Gn(Z,0,fe);u.value.style.clipPath=`inset( -2px -2px ${de}px -2px )`;const ne=Mi(We(K,x+2.75,x+2.55));f.value.style.opacity=ne;const ce=Mi(We(K,x+2.35,x+2.15));b.value.style.opacity=ce}}function Le(){const{svh:ee}=et;g.value=Math.max(300,.584*ee),p.value=Math.max(100,.65*ee)}function W(){Re.value&&Te()}function L(){he(),Le(),W()}Ve(()=>i.scrollSubPixel,()=>{W()}),xn(L),kt(()=>{Mt(()=>{Re.value=!0,he(),W()})}),Vt(()=>{Re.value=!1});function q(){r("load")}return(ee,K)=>{const x=L6,V=RA,C=kA;return ue(),me("div",{ref_key:"rootRef",ref:ye,class:ot(["HomeGraph",{visible:_e(we)}])},[J("div",{ref_key:"bgRef",ref:o,class:"HomeGraph-bg"},null,512),J("div",O6,[J("div",{ref_key:"sideTitleRef",ref:l,class:"HomeGraph-sidetitle"},ze(_e(s).title),513)]),je(x,{block:t.blockStack,onLoad:q},null,8,["block"]),J("div",M6,[J("div",{ref_key:"boxRef",ref:a,class:"HomeGraph-box-wrap"},[J("div",F6,[J("div",{ref_key:"cornerCrossTLRef",ref:G,class:"HomeGraph-box-corner tl"},[je(V)],512),J("div",{ref_key:"cornerCrossBRRef",ref:ie,class:"HomeGraph-box-corner br"},[je(V)],512),J("div",{ref_key:"boxContentRef",ref:u,class:"HomeGraph-box-content"},[J("div",{ref_key:"boxWhiteBGRef",ref:d,class:"HomeGraph-box-content-bg white"},null,512),J("div",{ref_key:"boxGreenBGRef",ref:c,class:"HomeGraph-box-content-bg"},null,512),J("div",{ref_key:"titleRef",ref:ae,class:"HomeGraph-text-wrap"},[J("div",D6,[(ue(!0),me(Qe,null,ut(_e(Ee),(D,Z)=>(ue(),me("div",{ref_for:!0,ref:fe=>X[Z]=fe,key:`title1Line-${Z}`},ze(D),1))),128))]),J("div",N6,[(ue(!0),me(Qe,null,ut(_e(ke),(D,Z)=>(ue(),me("div",{ref_for:!0,ref:fe=>pe[Z]=fe,key:`title2Line-${Z}`},ze(D),1))),128))])],512)],512),J("div",{ref_key:"valuesRef",ref:b,class:"HomeGraph-box-values"},[J("div",{ref_key:"values1Ref",ref:y,class:"HomeGraph-value top"},[J("div",{ref_key:"values1BarRef",ref:S,class:"HomeGraph-value-bar"},[J("div",{ref_key:"values1BarHorzRef",ref:E,class:"HomeGraph-value-bar-horz"},null,512),J("div",{ref_key:"values1BarVertLeftRef",ref:T,class:"HomeGraph-value-bar-vert left"},null,512),J("div",{ref_key:"values1BarVertRightRef",ref:k,class:"HomeGraph-value-bar-vert right"},null,512)],512),J("div",$6,[J("div",{ref_key:"values1Label1",ref:M,class:"HomeGraph-value-label top"},ze(_e(s).maximum1),513),J("div",{ref_key:"values1Label2",ref:$,class:"HomeGraph-value-label base"},ze(_e(s).maximum2),513)])],512),J("div",{ref_key:"valuesMid1Ref",ref:H,class:"HomeGraph-value-mid"},null,512),J("div",{ref_key:"valuesMid2Ref",ref:O,class:"HomeGraph-value-mid"},null,512),J("div",{ref_key:"values2Ref",ref:F,class:"HomeGraph-value base"},[J("div",{ref_key:"values2BarRef",ref:re,class:"HomeGraph-value-bar"},[J("div",{ref_key:"values2BarHorzRef",ref:N,class:"HomeGraph-value-bar-horz"},null,512),J("div",{ref_key:"values2BarVertLeftRef",ref:P,class:"HomeGraph-value-bar-vert left"},null,512),J("div",{ref_key:"values2BarVertRightRef",ref:z,class:"HomeGraph-value-bar-vert right"},null,512)],512),J("div",H6,[J("div",{ref_key:"values2Label1",ref:Q,class:"HomeGraph-value-label top"},ze(_e(s).minimum1),513),J("div",{ref_key:"values2Label2",ref:B,class:"HomeGraph-value-label base"},ze(_e(s).minimum2),513)])],512)],512)]),J("div",{ref_key:"boxBorderRef",ref:f,class:"HomeGraph-box-border"},[je(C,{width:_e(g),height:_e(p),progress:_e(h)},null,8,["width","height","progress"])],512)],512)])],2)}}},V6=_t(B6,[["__scopeId","data-v-18da34fd"]]),U6=["src","onLoad"],j6={__name:"ImageSwirl",props:{block:{type:Object,required:!0,default:()=>({})}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=Sn(),{gsap:s}=gn(),o=j(!1),a=j(null),u=j(!1),c=[];let d=null;const l=Ie(()=>n.block),f=Ie(()=>l.value.content),h=structuredClone(_c.desktop.animation.main),g=structuredClone(_c.desktop.animation.rects),p=j(!1);Ve(()=>p.value,H=>{H&&r("load")},{immediate:!0});function b(){d==null||d.kill(),d=s.timeline({paused:!0});const H=d;l.value;const O=l.value.animation.main,F=h;for(const[ae,X]of Object.entries(O))H.set(F,{[ae]:X},0);const re=6,N=1,P={s:.001,k:2.3,d:2.3},z={s:P.k,k:3.2,d:3.2-P.k},Q={s:z.k,d:4.4-z.k},B={s:re-1,d:1},G="sine.inOut";H.set(F,{rect_scale:5,duration:0,ease:G},0),H.to(F,{aspect_scale:.3,duration:P.d,ease:G},P.s),H.to(F,{rect_scale:1.5,duration:P.d,ease:G},P.s),H.to(F,{radius_multiply:.2,duration:P.d,ease:G},P.s),H.to(F,{rect_scale:2.2,duration:z.d,ease:G},z.s),H.to(F,{radius_multiply:.36,duration:z.d,ease:G},z.s),H.to(F,{aspect_scale:1,duration:z.d,ease:G},z.s),H.to(F,{radius_random_mul:.3,duration:z.d,ease:G},z.s),H.to(F,{radius_add:.48,duration:B.d,ease:"sine.in"},B.s-.6),H.to(F,{radius_random_mul:0,duration:Q.d,ease:G},Q.s),H.to(F,{rect_scale:0,duration:0,ease:G},re-.05),H.to(F,{rotation:2,duration:re-N,ease:ae=>Oo(ae,.07)},N);const ie=P.k-N;H.to(F,{rotationModulated:0,duration:ie,ease:G},N),H.to(F,{rotationModulated:.8,duration:Q.d+B.d,ease:ae=>Oo(ae,.35)},Q.s)}function y(){let H=0;const O=performance.now()/1e3,{radius_multiply:F,radius_random_mul:re,radius_add:N,z_scale:P,z_add:z,rect_scale:Q,rotation:B,rotationModulated:G,rotationModulateRamp:ie,aspect_scale:ae}=h,X=(B+G-.2)*.5*zi;for(const pe of c){const Ee=g[H];if(Ee.el=pe,pe){const ke=et.lvh,Re=et.ww,ye=Re/ke,we=H/c.length;let{el:se,scale:le,aspect:he,z:Te,rotation:Le,radius:W}=Ee,L=Ee.wander.seed;const q=.5+L*.5,ee=vA(O,q,Ee.wander);Te+=z,Te+=ee[2]*.1;const K=Te*P+(1-P);let x=le*K*Q;L=u_(L)*re,x*=.75*L+.25;const V=Le*zi,C=we*zi,D=V+C+X;let Z=K*W*F;Z+=N,Z+=L*.6,Z+=x*.15*he;const fe=Z*ke,de=Gn(ae,1,ye);let ne=Math.cos(D)*fe*de,ce=Math.sin(D)*fe;ne+=ee[0]*.1*ke*Z,ce+=ee[1]*.1*ke*Z,ne+=Re*.5,ce+=ke*.5,ce-=ke*.15,ne-=ke*.15*he,se.style.translate=`${ne}px ${ce}px`,se.style.scale=`${x} ${x}`}H++}}function S(){const H=i.scrollSubPixel/et.lvh,O=[.1,5.5];u.value=gt(H,-1,O[1]),u.value&&(d==null||d.progress(We(H,O[0],O[1])))}function E(){o.value&&S()}function T(){u.value&&y()}function k(){E()}Ve(()=>i.scrollSubPixel,()=>{E()}),xn(k),Ts(T),kt(()=>{Mt(()=>{o.value=!0,b()})}),Vt(()=>{d==null||d.kill(),c.splice(0,c.length),M=0});let M=0;function $(H,O){const F=H.target;O.aspect=F.naturalWidth/F.naturalHeight,M++;const re=g.length;p.value=re>0&&M===re}return(H,O)=>(ue(),me("div",{ref_key:"rootRef",ref:a,class:ot(["ImageSwirl",{visible:_e(u)}])},[(ue(!0),me(Qe,null,ut(_e(g),(F,re)=>{var N;return ue(),me("img",{ref_for:!0,ref:P=>c[re]=P,key:`swirlimage-${re}`,class:"ImageSwirl-rect",src:((N=_e(f).images[re])==null?void 0:N.src)||"",onLoad:P=>$(P,F),alt:""},null,40,U6)}),128))],2))}},W6=_t(j6,[["__scopeId","data-v-59404dea"]]),z6={class:"HomeSwirlTitles-title-wrap"},G6={class:"HomeSwirlTitles-title-wrap"},q6={__name:"HomeSwirlTitles",props:{block:{type:Object,required:!0,default:()=>({})}},setup(t){const e=t,n=Sn(),r=j(null),i=j(null),s=j(null),o=j(null),a=j(null),u=j(null),c=j(null),d=[],l=[],f=Ie(()=>e.block),h=Ie(()=>{var N,P,z;return((z=(P=(N=f.value)==null?void 0:N.content)==null?void 0:P.title1)==null?void 0:z.split(`
`))||""}),g=Ie(()=>{var N,P,z;return((z=(P=(N=f.value)==null?void 0:N.content)==null?void 0:P.title2)==null?void 0:z.split(`
`))||""});Ie(()=>{var N,P,z;return((z=(P=(N=f.value)==null?void 0:N.content)==null?void 0:P.title3)==null?void 0:z.split(`
`))||""});const p=j(!1),b=j(null),y=j(!1),{gsap:S}=gn(),E={logoOutro:{timeline:null,bisection:.5},background:{timeline:null},title1:{timeline:null,bisection:.5},title2:{timeline:null,bisection:.5}};function T(){S.set(i.value,{autoAlpha:0}),S.set(a.value,{autoAlpha:0}),S.set(s.value,{autoAlpha:1})}function k(){jr(E);let N=E.logoOutro;N.timeline=S.timeline({paused:!0});let P=N.timeline;P.set(s.value,{autoAlpha:1},0),P.to(s.value,{duration:.25,autoAlpha:0},.01),N=E.background,N.timeline=S.timeline({paused:!0}),P=N.timeline,P.set(i.value,{autoAlpha:0},0),P.set(a.value,{autoAlpha:0},0),P.to(i.value,{duration:.25,autoAlpha:1},.01),P.to(a.value,{duration:.25,autoAlpha:1},.01),P.to(r.value,{duration:0,autoAlpha:0},.26),N=E.title1,N.timeline=S.timeline({paused:!0}),N.bisection=bA({timeline:N.timeline,lineElementsArray:d}),N=E.title2,N.timeline=S.timeline({paused:!0}),N.timeline.set(c.value,{y:0},0),N.bisection=To({timeline:N.timeline,lineElementsArray:l,outroOffset:.3});const z=N.bisection*N.timeline.duration(),Q=N.timeline.duration()-z;N.timeline.to(c.value,{y:-20,ease:"power2.in",duration:Q},z+.01)}const M={vis:[-1,7],background:[2.4,2.6],title1_in:[2.6,3.6],title1_out:[3.8,4.5],title2_in:[4.5,4.9],title2_out:[4.9,5.4],logo:[5.2,5.6]};function $(){var X,pe,Ee,ke,Re,ye;const N=n.scrollSubPixel/et.lvh,{vis:P,logo:z,background:Q,title1_in:B,title1_out:G,title2_in:ie,title2_out:ae}=M;if(y.value=gt(N,P[0],P[1]),y.value){let we=E.logoOutro;(X=we.timeline)==null||X.progress(We(N,z[0],z[1])),we=E.background,(pe=we.timeline)==null||pe.progress(We(N,Q[0],Q[1])),we=E.title1,gt(N,-1,B[1])?(Ee=we.timeline)==null||Ee.progress(We(N,B[0],B[1],0,we.bisection,!0)):(ke=we.timeline)==null||ke.progress(We(N,G[0],G[1],we.bisection,1,!0)),we=E.title2,gt(N,-1,ie[1])?(Re=we.timeline)==null||Re.progress(We(N,ie[0],ie[1],0,we.bisection,!0)):(ye=we.timeline)==null||ye.progress(We(N,ae[0],ae[1],we.bisection,1,!0))}}let H=0;function O(){H+=.25,p.value&&y.value&&(s.value.style.rotate=`${H}deg`,o.value.style.rotate=`${H}deg`)}Ts(O);function F(){p.value&&$()}function re(){F()}return Ve(()=>n.scrollSubPixel,()=>{F()}),xn(re),kt(()=>{Mt(()=>{p.value=!0,T(),k(),F()})}),Vt(()=>{p.value=!1}),(N,P)=>{const z=CA;return ue(),me("div",{ref_key:"rootRef",ref:b,class:ot(["HomeSwirlTitles",{visible:_e(y)}])},[J("div",{ref_key:"bgWhiteRef",ref:r,class:"HomeSwirlTitles-bg white"},[J("div",{ref_key:"logoGreenRef",ref:o,class:"HomeSwirlTitles-logo green"},[je(z)],512)],512),J("div",{ref_key:"bgGreenRef",ref:i,class:"HomeSwirlTitles-bg green"},null,512),J("div",{ref_key:"logoWhiteWrapRef",ref:a,class:"HomeSwirlTitles-bg"},[J("div",{ref_key:"logoWhiteRef",ref:s,class:"HomeSwirlTitles-logo white"},[je(z)],512)],512),J("div",z6,[J("div",{ref_key:"titleRef1",ref:u,class:"HomeSwirlTitles-title"},[(ue(!0),me(Qe,null,ut(_e(h),(Q,B)=>(ue(),me("div",{ref_for:!0,ref:G=>d[B]=G,key:`title1Line-${B}`,role:"group"},ze(Q),1))),128))],512)]),J("div",G6,[J("div",{ref_key:"titleRef2",ref:c,class:"HomeSwirlTitles-title"},[(ue(!0),me(Qe,null,ut(_e(g),(Q,B)=>(ue(),me("div",{ref_for:!0,ref:G=>l[B]=G,key:`title2Line-${B}`,role:"group"},ze(Q),1))),128))],512)])],2)}}},Y6=_t(q6,[["__scopeId","data-v-79c990d7"]]),K6={class:"HomeHero-inner"},X6={class:"sr-only"},Q6={class:"HomeHero-title"},J6={class:"HomeHero-title"},Z6={__name:"HomeHero",props:{block:{type:Object,required:!0,default:()=>({})}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,i=Sn(),s=ch(),o=[],a=[],u=j(null),c=j(null),d=j(null),l={rectScale:1,zScale:1,radiusScale:0,rotationUnit:0,el:null},f=j(!1),h=j(null),g=j(!1),{gsap:p}=gn(),b=Ie(()=>n.block),y=Ie(()=>b.value.videoSrc),S=Ie(()=>b.value.imageSrc),E=Ie(()=>b.value.title1),T=Ie(()=>{var he;const le=((he=E.value)==null?void 0:he.split(`
`))||[];return b.value.title2&&le.push(b.value.title2),le}),k=Ie(()=>{const le=T.value,he=["Empowering innovators","to build the future","of energy"];let Te=!0;return he.forEach((Le,W)=>{he[W]!==le[W]&&(Te=!1)}),Te}),M=new or,$=new or,H={progress:0},O=[-1,.2],F=[.3,1],re={unmasked:{timeline:null,bisection:.5},masked:{timeline:null,bisection:.5},video:{timeline:null,bisection:.5}},N=j(!1),P=j(!1),z=()=>N.value=!0,Q=()=>P.value=!0,B=Ie(()=>P.value);Ve(B,le=>le&&r("load"),{immediate:!0});function G(){jr(re);let le=re.masked;le.timeline=p.timeline({paused:!0}),le.bisection=To({timeline:le.timeline,lineElementsArray:o}),le=re.unmasked,le.timeline=p.timeline({paused:!0}),le.bisection=To({timeline:le.timeline,lineElementsArray:a}),le=re.video,le.timeline=p.timeline({paused:!0}),le.timeline.set(l,{rotationUnit:.5},0),le.timeline.to(l,{rectScale:.3,duration:1.5,ease:"power2.inOut"},.001),le.timeline.to(l,{zScale:.7,duration:2,ease:"power2.inOut"},.001),le.timeline.to(l,{rotationUnit:.75,duration:2,ease:"power2.inOut"},.2),le.timeline.to(l,{radiusScale:1.02,duration:1.7,ease:"power2.inOut"},.3)}Ve(()=>s.transitionVisibleState,le=>{le===ya.AFTER_ENTER&&ie()},{immediate:!0});function ie(){p.to(H,{progress:1,duration:3.4,ease:"sine.out"})}function ae(){$.updateFromElement(u.value)}function X(){const{el:le,rectScale:he,zScale:Te,rotationUnit:Le,radiusScale:W}=l;if(le){const L=et.lvh,ee=et.ww/L,K=he*Te,x=Le*zi,V=Te*W*L,C=Math.cos(x)*V*ee,D=Math.sin(x)*V;le.style.translate=`${C}px ${D}px`,le.style.scale=`${K} ${K}`}}function pe(){X(),M.updateFromElement(mr.desktop.elements.heroRect)}function Ee(){f.value&&(u.value.style.clipPath=or.clipPathInsetFromRects(M,$),c.value.style.translate=`${M.left}px ${M.top}px`,c.value.style.width=`${M.width}px`,c.value.style.height=`${M.height}px`)}function ke(le){var he,Te;(he=re.masked.timeline)==null||he.progress(le),(Te=re.unmasked.timeline)==null||Te.progress(le)}function Re(){var Le;const le=i.scrollSubPixel/et.lvh,he=F[1]+1;g.value=gt(le,-1,he);let Te=re.masked;if(g.value){if(gt(le,F[0],he)){const W=We(le,F[0],F[1],Te.bisection,1,!0);ke(W)}Te=re.video,(Le=Te.timeline)==null||Le.progress(We(le,.2,2.5))}}function ye(){f.value&&(Re(),ae(),pe(),Ee())}function we(){ye()}Ve(()=>i.scrollSubPixel,()=>{ye()}),xn(we);function se(){const le=i.scrollSubPixel/et.lvh,he=re.masked;if(gt(le,O[0],O[1])){const Te=We(H.progress,0,1,0,he.bisection,!0);ke(Te)}}return Ts(se),kt(()=>{Mt(()=>{f.value=!0,mr.desktop.elements.heroRect=d.value,l.el=d.value,G(),ye(),Mt(ye)})}),Vt(()=>{p.killTweensOf(H),jr(re),H.progress=0}),(le,he)=>{const Te=Vl;return ue(),me("div",{ref_key:"rootRef",ref:h,class:ot(["HomeHero",{visible:_e(g),isInitialText:_e(k)}])},[J("div",{ref_key:"inputRectRef",ref:d,class:"HomeHero-rect"},null,512),J("div",K6,[J("h1",X6,[(ue(!0),me(Qe,null,ut(_e(T),(Le,W)=>(ue(),me("span",{key:`sr-only-line-${W}`},ze(Le),1))),128))]),J("div",Q6,[(ue(!0),me(Qe,null,ut(_e(T),(Le,W)=>(ue(),me("div",{ref_for:!0,ref:L=>a[W]=L,key:`unmaskedLine-${W}`,class:"HomeHero-title-line",role:"group"},ze(Le),1))),128))])]),J("div",{ref_key:"maskedBGRef",ref:c,class:"HomeHero-bg"},[je(Te,{"image-url":_e(S),"video-url":_e(y),onVideoplay:z,onImgload:Q},null,8,["image-url","video-url"])],512),J("div",{ref_key:"maskedRef",ref:u,class:"HomeHero-inner masked"},[J("div",J6,[(ue(!0),me(Qe,null,ut(_e(T),(Le,W)=>(ue(),me("div",{ref_for:!0,ref:L=>o[W]=L,key:`maskedLine-${W}`,class:"HomeHero-title-line",role:"group"},ze(Le),1))),128))])],512)],2)}}},eN=_t(Z6,[["__scopeId","data-v-f92dfd40"]]),tN={class:"HomeAnimation-landscape"},nN={class:"HomeAnimation-landscape-sticky-wrap"},rN={key:0,class:"HomeAnimation-landscape-sticky"},iN={__name:"HomeAnimationLandscape",props:{content:{type:Object,required:!0,default:()=>({hero:{},swirl:{},graph:{},stack:{},quote:{},keyAreas:{},approach:{},stats:{},funds:{}})}},emits:["load"],setup(t,{expose:e,emit:n}){const r=n,i=j(!1),s=j(!1),o=j(!1),a=j(!1),u=j(!1),c=j(!1),d=Ie(()=>i.value&&s.value&&o.value&&a.value&&u.value&&c.value);Ve(d,y=>{y&&r("load")},{immediate:!0});function l(){i.value=!0}function f(){s.value=!0}function h(){o.value=!0}function g(){a.value=!0}function p(){u.value=!0}function b(){c.value=!0}return e({loaded:d}),(y,S)=>{const E=PA,T=eN,k=Y6,M=W6,$=V6,H=S6,O=m6,F=e6;return ue(),me("div",tN,[J("div",nN,[t.content?(ue(),me("div",rN,[je(E),je(T,{block:t.content.hero.desktop,onLoad:l},null,8,["block"]),je(k,{block:t.content.swirl.desktop},null,8,["block"]),je(M,{block:t.content.swirl.desktop,onLoad:f},null,8,["block"]),je($,{block:t.content.graph.desktop,"block-stack":t.content.stack.desktop,onLoad:h},null,8,["block","block-stack"]),je(H,{block:t.content.quote.desktop,onLoad:g},null,8,["block"]),je(O,{block:t.content.keyAreas.desktop,onLoad:p},null,8,["block"]),je(F,{block:t.content.approach.desktop,onLoad:b},null,8,["block"])])):bt("",!0)])])}}},sN=_t(iN,[["__scopeId","data-v-3059f735"]]);class oN{constructor(e){Oe(this,"canObserve",!1);Oe(this,"onFallback",null);Oe(this,"detector",null);Oe(this,"onLowPerformance",()=>{var e;(e=this.onFallback)==null||e.call(this),this.destroy()});var n;this.onFallback=e,this.canObserve=typeof PerformanceObserver<"u"&&((n=PerformanceObserver.supportedEntryTypes)==null?void 0:n.includes("long-animation-frame")),this.canObserve?this.detector=new lN({onFallback:this.onLowPerformance}):(this.detector=new aN({onLowFPS:this.onLowPerformance}),this.detector.start())}destroy(){var e;this.onFallback=null,(e=this.detector)==null||e.destroy(),this.detector=null}}class aN{constructor({fpsThreshold:e=42,checkInterval:n=1e3,failCountThreshold:r=5,historySize:i=3,onLowFPS:s=()=>{}}={}){Oe(this,"destroyed",!1);Oe(this,"frameCount",0);Oe(this,"checkFailCount",0);Oe(this,"lastCheck",performance.now());Oe(this,"fpsHistory",[]);Oe(this,"_raf",null);Oe(this,"_tick",()=>{var r;if(this._raf=requestAnimationFrame(this._tick),document.visibilityState==="hidden"){this.lastCheck=performance.now(),this.frameCount=0;return}this.frameCount++;const e=performance.now(),n=e-this.lastCheck;if(n>=this.checkInterval){const i=this.frameCount/n*1e3;this.fpsHistory.push(i),this.fpsHistory.length>this.historySize&&this.fpsHistory.shift();const o=this.fpsHistory.reduce((a,u)=>a+u,0)/this.fpsHistory.length;if(o<this.fpsThreshold?this.checkFailCount++:this.checkFailCount=Math.floor(this.checkFailCount*=.5),this.checkFailCount>=this.failCountThreshold){(r=this.onLowFPS)==null||r.call(this,o),this.stop();return}this.frameCount=0,this.lastCheck=e}});this.fpsThreshold=e,this.checkInterval=n,this.failCountThreshold=r,this.historySize=i,this.onLowFPS=s}start(){this.destroyed||(cancelAnimationFrame(this._raf),this.frameCount=0,this.fpsHistory=[],this.checkFailCount=0,this.lastCheck=performance.now(),this._tick())}stop(){cancelAnimationFrame(this._raf),this._raf=null}destroy(){this.destroyed=!0,this.stop(),this.onLowFPS=null}}class lN{constructor(e){Oe(this,"longFrames",0);Oe(this,"windowStart",performance.now());Oe(this,"observer",null);Oe(this,"opts",{frameBudgetMS:1e3/60,maxLongFramesPerInterval:12,interval:3e3,onFallback:null});Object.assign(this.opts,e),this.observer=new PerformanceObserver(n=>{for(const r of n.getEntries())r.entryType==="long-animation-frame"&&r.duration>this.opts.frameBudgetMS&&this.registerLongFrame()}),this.observer.observe({type:"long-animation-frame",buffered:!0})}registerLongFrame(){const e=performance.now(),{interval:n,maxLongFramesPerInterval:r,onFallback:i}=this.opts;e-this.windowStart>n&&(this.longFrames=0,this.windowStart=e),this.longFrames++,this.longFrames>=r&&(i==null||i(),this.destroy())}destroy(){this.opts.onFallback=null,this.observer.disconnect()}}const uN={class:"HomeAnimation"},cN={__name:"HomeAnimation",props:{content:{type:Object,required:!0,default:()=>({hero:{},swirl:{},graph:{},stack:{},quote:{},keyAreas:{},approach:{},stats:{},funds:{}})}},emits:["load"],setup(t,{emit:e}){const n=e,r=hA(),i=Sn(),s=wi(),o=j(!1),a=j(!1);let u;const c=Ie(()=>r.orientation==="landscape");Ve(a,f=>{f&&o.value&&(n("load"),u==null||u.destroy(),u=new oN(()=>{console.warn("LOW FPS DETECTED"),s.setLowFPS(!0)}))},{immediate:!0});function d(){a.value=!0}let l=!1;return Ve(()=>!i.scrollLock&&o.value,f=>{f&&l&&(l=!1,setTimeout(i.scrollTo(1),50),setTimeout(i.scrollTo(0),100))}),kt(()=>{l=!0,o.value=!0}),Vt(()=>{o.value=!1,u==null||u.destroy(),u=null}),(f,h)=>{const g=sN,p=W4;return ue(),me("div",uN,[_e(c)?(ue(),tn(g,{key:0,content:t.content,onLoad:d},null,8,["content"])):(ue(),tn(p,{key:1,content:t.content,onLoad:d},null,8,["content"]))])}}},fN=_t(cN,[["__scopeId","data-v-f0803819"]]),dN="/assets/feature_quote_video_thumb-Z86du56P.webp",hN="/assets/featured_quote_bg-CSY0NBS6.webp",pN="/assets/Quote-CPw6Wkep.mp4",mN={desktop:{backgroundVideoSrc:pN,backgroundImageSrc:hN,title:`When I see a tough problem, my first
thought is always <code>“how can innovation help</code>
<code>solve this?â€</code> That’s why Breakthrough
Energy was started – to bring the power of
innovation to bear on the toughest problem
humanity has ever faced: climate change.`,video:{name:"Bill Gates",role:`Founder
Breakthrough Energy`,videoImageSrc:dN,videoData:{value:{url:"",type:""}}}}},a1="/assets/Hero-Reel-compressed-COlxHHPV.mp4",l1="/assets/hero_f0-C9PFU_wA.webp",gN={desktop:{imageSrc:l1,videoSrc:a1,title1:`
Empowering innovators
to build the future
`.trim(),title2:`
of energy.
`.trim()},mobile:{imageSrc:l1,videoSrc:a1,title1:`
Empowering
innovators
`.trim(),title2:`
to build`,title3:`
the future
of energy
`.trim()}},_N="/assets/affordable-1@2x-BiGOHVqX.webp",vN="/assets/reliable-2@2x-CETxX1DK.webp",yN="/assets/zero-carbon-3@2x-CaxkkjRK.webp",bN={desktop:{title:"THE OPPORTUNITY AHEAD",subtitle:"Energy",stacks:[{label:"Affordable",imageSrc:_N},{label:"Reliable",imageSrc:vN},{label:"Zero Carbon",imageSrc:yN}]}},u1="/assets/Agriculture-Edit-compressed-Ddb0a7xq.mp4",c1="/assets/agriculture_f0-B2HbTrze.webp",f1="/assets/Buildings-Edit-compressed-CM3Iudkx.mp4",d1="/assets/buildings_f0-DkMi9yRx.webp",h1="/assets/Electricity-Edit-compressed-Da1Qay8h.mp4",p1="/assets/electricity_f0-Bv7ZfiCF.webp",m1="/assets/Manufacturing-Edit-compressed-DpJAf_Rb.mp4",g1="/assets/manufacturing_f0-DN44fdvY.webp",_1="/assets/Transportation-Edit-compressed-BuDVVJlQ.mp4",v1="/assets/transportation_f0-CJ_Tegjh.webp",wN={desktop:{content:{main:{title:`
We work to accelerate progress across
every source of emissions. In these five
critical areas of energy consumption,
a fundamental shift is underway,
creating a <em>landscape of opportunity.</em>
`.trim(),sideTitle:"ENERGY CONSUMPTION"},areas:[{id:0,src:m1,imageSrc:g1,emission:"30% emissions",button:"25 Manufacturing Companies",url:"manufacturing",title:"Manufacturing",body:"The shift to clean materials is accelerating opening up massive opportunity across every mode of movement."},{id:1,src:h1,imageSrc:p1,emission:"28% emissions",button:"32 Electricity Companies",url:"electricity",title:"Electricity",body:"A surge in innovation is leading the charge to deliver clean and reliable power while transforming the grid."},{id:2,src:u1,imageSrc:c1,emission:"19% emissions",button:"16 Agriculture Companies",url:"agriculture",title:"Agriculture",body:"Agriculture is undergoing a fundamental shift—toward systems that feed more people with fewer emissions."},{id:3,src:_1,imageSrc:v1,emission:"16% emissions",button:"12 Transportation Companies",url:"transportation",title:"Transportation",body:"The shift to clean mobility is accelerating—opening up massive opportunity across every mode of movement."},{id:4,src:f1,imageSrc:d1,emission:"7% emissions",button:"8 Building Companies",url:"buildings",title:"Buildings",body:"Decarbonizing the built environment is a global challenge and a high-leverage play for long-term impact."}],outro:{title:`This is <em>energy innovation</em>
on a global scale`,button:"Full Portfolio",url:"/portfolio"}},animation:{cluster:{pivot:{x:.6,y:.5},rects:[{offset:[501,82],rectSize:[138,87]},{offset:[1036,98],rectSize:[172,97]},{offset:[741,256],rectSize:[172,126]},{offset:[1036,509],rectSize:[165,97]},{offset:[777,695],rectSize:[138,87]}]}}},mobile:{content:{main:{title:`
We work to accelerate progress across
every source of emissions. In these five
critical areas of energy consumption,
a fundamental shift is underway,
creating a <em>landscape of opportunity.</em>
`.trim(),sideTitle:"ENERGY CONSUMPTION"},areas:[{id:0,src:m1,imageSrc:g1,emission:"30% emissions",button:"25 Manufacturing Companies",url:"manufacturing",title:"Manufacturing",body:"The shift to clean materials is accelerating opening up massive opportunity across every mode of movement."},{id:1,src:h1,imageSrc:p1,emission:"28% emissions",button:"32 Electricity Companies",url:"electricity",title:"Electricity",body:"A surge in innovation is leading the charge to deliver clean and reliable power while transforming the grid."},{id:2,src:u1,imageSrc:c1,emission:"19% emissions",button:"16 Agriculture Companies",url:"agriculture",title:"Agriculture",body:"Agriculture is undergoing a fundamental shift—toward systems that feed more people with fewer emissions."},{id:3,src:_1,imageSrc:v1,emission:"16% emissions",button:"12 Transportation Companies",url:"transportation",title:"Transportation",body:"The shift to clean mobility is accelerating—opening up massive opportunity across every mode of movement."},{id:4,src:f1,imageSrc:d1,emission:"7% emissions",button:"8 Building Companies",url:"buildings",title:"Buildings",body:"Decarbonizing the built environment is a global challenge and a high-leverage play for long-term impact."}],outro:{title:`This is <em>energy innovation</em>
on a global scale`,button:"Full Portfolio",url:"/portfolio"}},animation:{cluster:{pivot:{x:.5,y:.5},rects:[{offset:[221,54],rectSize:[69,44]},{offset:[34,128],rectSize:[68,43]},{offset:[289,190],rectSize:[105,60]},{offset:[25,449],rectSize:[87,51]},{offset:[240,510],rectSize:[75,55]}]}}}},Oa=["desktop","mobile"];function zt(t,e,n){var s,o;e=e==="desktop"?"":"mobile_";const r=e+n;let i=(s=t[r])==null?void 0:s.value;return i==null&&(i=((o=t[n])==null?void 0:o.value)||null),i}function Ma(t){const e=structuredClone(t);return e.desktop=e.desktop||{},e.mobile=e.mobile||structuredClone(t.desktop),e}function LA(t){return t?gr().getVideoSource(t):null}function Pl(t,{width:e=null,height:n=null}={}){return t?gr().getWebP(t,{width:e,height:n}):null}function SN(t){const e={};return e.hero=TN(t),e.swirl=AN(t),e.graph=EN(t),e.stack=kN(t),e.quote=RN(t),e.keyAreas=CN(t),e.approach=xN(t),e.stats={},e.funds={},e}function TN(t){const e=Ma(gN);return Oa.forEach(n=>{var a,u,c,d;const r=e[n];r.title1=zt(t,n,"home_hero_heading_1"),r.title2=zt(t,n,"home_hero_heading_2"),r.title3=zt(t,n,"home_hero_heading_3");const i=(u=(a=zt(t,n,"home_hero_video"))==null?void 0:a[0])==null?void 0:u.url;r.videoSrc=LA(i);const s=(d=(c=zt(t,n,"home_hero_video_image"))==null?void 0:c[0])==null?void 0:d.url,o=n==="desktop"?1920:375;r.imageSrc=Pl(s,{width:o})||r.imageSrc}),e}function AN(t){const e=Ma(_c);return Oa.forEach(n=>{const r=e[n].content;r.title1=zt(t,n,"home_swirl_title_1"),r.title2=zt(t,n,"home_swirl_title_2");const i=zt(t,n,"home_swirl_images")||[];r.images.forEach((s,o)=>{var u;const a=n==="desktop"?700:300;s.src=Pl((u=i[o])==null?void 0:u.url,{width:a})||s.src})}),e}function EN(t){const e=Ma(qD);return Oa.forEach(n=>{const r=e[n];r.title=zt(t,n,"home_graph_title"),r.body1=zt(t,n,"home_graph_body_1"),r.body2=zt(t,n,"home_graph_body_2"),r.maximum1=zt(t,n,"home_graph_max_1"),r.maximum2=zt(t,n,"home_graph_max_2"),r.minimum1=zt(t,n,"home_graph_min_1"),r.minimum2=zt(t,n,"home_graph_min_2")}),e}function kN(t){const e=Ma(bN);return Oa.forEach(n=>{e[n]=e[n]||{};const r=e[n];r.title=zt(t,n,"home_graph_title"),r.subtitle=zt(t,n,"home_image_stack_subtitle"),r.stacks.forEach((i,s)=>{var c,d;const o=zt(t,n,`home_image_stack_label_${s+1}`);i.label=o||i.label;const a=(d=(c=zt(t,n,`home_image_stack_img_src_${s+1}`))==null?void 0:c[0])==null?void 0:d.url,u=n==="desktop"?1024:375;i.imageSrc=Pl(a,{width:u})||i.imageSrc})}),e}function RN(t){const e=Ma(mN);return Oa.forEach(n=>{var u,c,d,l,f,h,g;const r=e[n];r.title=zt(t,n,"home_quote_text"),r.video.name=zt(t,n,"home_quote_title"),r.video.role=zt(t,n,"home_quote_role");const i=(c=(u=zt(t,n,"home_quote_bg_video"))==null?void 0:u[0])==null?void 0:c.url;r.backgroundVideoSrc=i||r.backgroundVideoSrc;const s=(l=(d=zt(t,n,"home_quote_bg_image"))==null?void 0:d[0])==null?void 0:l.url;let o=n==="desktop"?1920:375;r.backgroundImageSrc=Pl(s,{width:o})||r.backgroundImageSrc;const a=(h=(f=zt(t,n,"home_quote_video_image"))==null?void 0:f[0])==null?void 0:h.url;o=n==="desktop"?500:375,r.video.videoImageSrc=Pl(a,{width:o})||r.video.videoImageSrc,r.video.videoData=((g=t.home_quote_video)==null?void 0:g.linkedItems[0].elements.video)||null}),e}function CN(t){const e=Ma(wN);return Oa.forEach(n=>{const r=e[n].content;r.main.title=zt(t,n,"home_key_areas_intro"),r.main.sidetitle=zt(t,n,"home_key_areas_sidetitle"),r.outro.title=zt(t,n,"home_key_areas_outro"),r.areas.forEach((i,s)=>{var a,u,c,d,l,f,h,g,p;const o=(c=(u=(a=t.key_areas)==null?void 0:a.linkedItems)==null?void 0:u[s])==null?void 0:c.elements;if(o){const b=(f=(l=(d=o[n==="desktop"?"video":"mobile_video"])==null?void 0:d.value)==null?void 0:l[0])==null?void 0:f.url;i.src=LA(b)||i.src;const y=(p=(g=(h=o[n==="desktop"?"video_image":"mobile_video_image"])==null?void 0:h.value)==null?void 0:g[0])==null?void 0:p.url,S=n==="desktop"?1920:375;i.imageSrc=Pl(y,{width:S})||i.imageSrc,i.emission=o.emissions.value,i.button=o.button.value,i.title=o.title.value,i.body=o.description.value}})}),e}function xN(t){const e=Ma(HF);return Oa.forEach(n=>{e[n].chapters.forEach((i,s)=>{i.title=zt(t,n,`home_approach_${s+1}_title`),i.subtitle=zt(t,n,`home_approach_${s+1}_subtitle`),i.body=zt(t,n,`home_approach_${s+1}_body`)})}),e}const PN={class:"page"},IN=Object.assign({name:"IndexPage"},{__name:"index",setup(t){const e=gr(),n=wi();j("home");const r=j(""),i=j(null);Ol(),Ll();const s=j(),{data:o,error:a,isLoading:u}=Rd("home",!0,5),c=j(null);s_(Ie(()=>({title:r.value||"Home",meta:i.value?e.getMeta(i.value):[],link:e.getMetaLinks(i.value)})));async function d(){var g,p;if(s.value=!1,!!o.value){if(!((g=o.value.system)!=null&&g.type)){s.value="Invalid page data structure";return}i.value=o.value.elements,l(),r.value=(p=i.value.title)==null?void 0:p.value,e.pageType=o.value.system.type}}function l(){var p,b,y,S;const g=(S=(y=(b=(p=i.value)==null?void 0:p.components)==null?void 0:b.linkedItems)==null?void 0:y[0])==null?void 0:S.elements;if(g){const E=SN(g);c.value=E}}async function f(){try{await new Promise((g,p)=>{const b=Ve(()=>u.value,y=>{y||(b(),g())},{immediate:!0})}),o.value&&await d()}catch(g){console.error("Error in onServerPrefetch:",g)}}wc(()=>{o.value&&!u.value&&d(),a.value&&(s.value="Error loading page",console.error("Error loading page:",a.value))}),Wd(async()=>{o.value&&!u.value&&d()}),bc(async()=>{await f()});function h(){n.setIsLoaderVisible(!1)}return kt(()=>{n.setIsLoaderVisible(!0)}),Vt(()=>{}),(g,p)=>{const b=fN,y=CF;return ue(),me("div",PN,[c.value?(ue(),tn(b,{key:0,content:c.value,onLoad:h},null,8,["content"])):bt("",!0),c.value?(ue(),tn(y,{key:1})):bt("",!0)])}}}),OA=_t(IN,[["__scopeId","data-v-3122bc98"]]),LN=Object.freeze(Object.defineProperty({__proto__:null,default:OA},Symbol.toStringTag,{value:"Module"}));function ON({elRef:t=j(null),activeMargin:e=0,activeInitDelaySeconds:n=.1,onUpdate:r}={}){const i=Sn(),s=j(!1);let o=null,a=null;const u=(b,y=0)=>{clearTimeout(o),y?o=setTimeout(()=>{s.value=b},y*1e3):s.value=b},c={scrollY:0,viewportHeight:1080,viewportWidth:1080,svh:1e3,lvh:1e3,rect:{scrollContent:{y:1,height:1,get baseY(){return this.y+this.height},x:1,width:1},viewport:{y:-1,height:1,get baseY(){return this.y+this.height},x:1,width:1},viewportUnit:{y:1,height:1,get baseY(){return this.y+this.height},x:1,width:1}},rectIsVisible:!1,rectIsActive:!1},d=j(!1),l=j(!1);Ve(()=>t.value&&s.value,b=>{b&&g()},{immediate:!0});const f=()=>i.scrollCurrent,h=()=>et.lvh||window.innerHeight,g=()=>{const b=h(),y=window.innerWidth,S=f();if(c.scrollY=S,c.viewportHeight=b,c.viewportWidth=y,c.svh=et.svh,c.lvh=et.lvh,!t.value)return;const{top:E,left:T,width:k,height:M}=t.value.getBoundingClientRect();let $=c.rect.scrollContent;$.y=E+S,$.height=M,$.x=T,$.width=k,$=c.rect.viewport,$.height=M,$.x=T,$.width=k,$=c.rect.viewportUnit,$.height=M/b,$.x=T/y,$.width=k/y,p()},p=()=>{const b=c.viewportHeight,y=f();if(c.scrollY=y,c.rect.viewport.y=c.rect.scrollContent.y-y,c.rect.viewportUnit.y=c.rect.viewport.y/b,s.value){const{y:S,baseY:E}=c.rect.viewportUnit,T=e;c.rectIsVisible=E>0&&S<1,c.rectIsActive=E+T>0&&S-T<1,d.value=c.rectIsVisible,l.value=c.rectIsActive}r==null||r(c)};return xn(()=>{g(),clearTimeout(a),a=setTimeout(g,100)},!0,3,!0),Ve(()=>i.scrollCurrent,()=>{p()}),Vt(()=>{u(!1),clearTimeout(a)}),kt(()=>{u(!1),u(!0,n)}),{elRef:t,scrollData:c,rectIsVisible:d,rectIsActive:l}}const MN=["data-open","data-fixed"],FN=["data-open"],DN=["data-open"],NN={class:"FilterList-container"},$N={class:"FilterList-items"},HN=["data-active","aria-label","onClick"],BN={key:0,class:"FilterList-bullet","aria-hidden":"true"},VN={class:"FilterList-footeritem FilterList-footeritem--left"},UN=["aria-hidden"],jN=["aria-hidden"],WN=["data-open"],zN={__name:"FilterList",props:{taxonomies:{type:Object,required:!0,default:()=>[{codename:"sector",name:"sector",terms:[{codename:"manufacturing",name:"manufacturing",terms:[]},{codename:"electricity",name:"electricity",terms:[]}]},{codename:"program",name:"program",terms:[{codename:"fellows",name:"fellows",terms:[]}]}]},selectedTerm:{type:String,default:""}},emits:["update:selectedTerm"],setup(t,{emit:e}){const n=t,r=e,i=wi(),s=Sn(),o=j(n.selectedTerm),a=j(!1),u=j(!1),c=j(null),d=j(null),l=j(null),f=j(null),h=j(null),g=j(null),p=[],b=j(null),y=j(null),S=j(null),E=j(!1);ON({elRef:c,activeMargin:.1,onUpdate:()=>P()});let T=null;const k=Ie(()=>!!o.value),M=Ie(()=>{if(!Array.isArray(n.taxonomies))return n.taxonomies;const ke={};return n.taxonomies.forEach(Re=>{Re.name&&Re.terms&&(ke[Re.name]=Re.terms)}),ke}),$=Ie(()=>Object.keys(M.value));function H(){i.setModalState(mi.FILTER)}function O(){i.setModalState(mi.NONE)}function F(ke){const Re=o.value===ke?"":ke;o.value=Re,r("update:selectedTerm",Re)}function re(){o.value="",r("update:selectedTerm","")}function N(){a.value=!a.value,a.value?H():O()}function P(){if(!c.value||!c.value.parentElement)return;const ke=c.value.getBoundingClientRect(),Re=c.value.parentElement.getBoundingClientRect(),ye=Re.top>0&&ke.top<=Re.top,we=ke.bottom>=Re.bottom;ye&&!we?E.value=!1:we?E.value=!0:E.value=!1}function z(){P()}function Q(){P()}function B(){u.value=!0,Mt(()=>{const ke=d.value,Re=f.value;if(!ke||!Re)return;T&&(T.kill(),T=null),Un.set(Re,{clipPath:"inset(100% 0% 0% 0%)",display:"block"}),E.value&&Un.set(c.value,{position:"fixed"}),p.flat().forEach(we=>{we&&Un.set(we,{opacity:0,y:20})}),T=Un.timeline(),T.set(ke,{clipPath:"inset(0% 0% 0% 0%)"}),T.to(Re,{clipPath:"inset(0% 0% 0% 0%)",duration:.33,ease:"power1.inOut"},"-=0.10");const ye="-=0.10";p.forEach(we=>{!we||!we.length||T.to(we.filter(Boolean),{y:0,opacity:1,duration:.18,ease:"power4.out",stagger:.03},ye)})})}function G(){const ke=d.value,Re=f.value;if(!ke||!Re)return;T&&(T.kill(),T=null),T=Un.timeline();let ye="0";p.forEach(we=>{!we||!we.length||(T.to(we.filter(Boolean),{y:20,opacity:0,duration:.1,ease:"power4.in",stagger:0},ye),ye="+=0.05")}),T.to(Re,{duration:.14,ease:"power1.inOut",onComplete:()=>{Un.set(Re,{clearProps:"all"}),Un.set(ke,{clearProps:"all"}),Un.set(c.value,{clearProps:"all"}),Un.set(g.value,{clearProps:"all"}),p.flat().forEach(we=>{we&&Un.set(we,{clearProps:"all"})}),u.value=!1}},"-=0.08")}function ie(ke,Re,ye,we=0){ke&&Un.to(ke,{y:-ye,duration:.5,ease:"power3.out",delay:we}),Re&&Un.fromTo(Re,{y:ye},{y:0,duration:.5,ease:"power3.out",delay:0})}function ae(ke,Re,ye,we=0){Re&&Un.to(Re,{y:ye,duration:.5,ease:"power3.out",delay:we}),ke&&Un.fromTo(ke,{y:-ye},{y:0,duration:.5,ease:"power3.out",delay:0})}function X(){N()}function pe(){a.value=!1,O()}function Ee(ke){return o.value===ke}return Ve(a,async ke=>{await Mt();const Re=b.value,ye=y.value,we=S.value;!Re||!ye||(ke?(ie(Re,ye,30),k.value&&(Un.set(we,{opacity:1,delay:.5}),ie(null,we,30,.5))):(ae(Re,ye,30),k.value&&(ae(null,we,30,.5),Un.set(we,{opacity:0,delay:0}))))}),Ve(a,ke=>{ke?B():G()}),Ve(()=>n.selectedTerm,ke=>{o.value=ke}),Ve(()=>s.scrollSubPixel,()=>{z()}),xn(Q),kt(()=>{Mt(z)}),Vt(()=>{a.value&&O(),T&&(T.kill(),T=null)}),(ke,Re)=>(ue(),me(Qe,null,[u.value?(ue(),me("div",{key:0,ref_key:"filterSpacer",ref:g,"aria-hidden":"true",class:"FilterList-spacer"},null,512)):bt("",!0),J("div",{ref_key:"filterWrapperRef",ref:c,class:"FilterList-wrapper","data-open":a.value,"data-fixed":E.value},[J("div",{ref_key:"filterPanelRef",ref:d,class:"FilterList","data-open":a.value},[J("div",{ref_key:"filterBgRef",ref:f,class:"FilterList-bg","data-open":a.value},null,8,DN),J("div",NN,[(ue(!0),me(Qe,null,ut($.value,(ye,we)=>(ue(),me("div",{key:ye,class:"FilterList-category"},[J("h3",{ref_for:!0,ref:se=>{p[we]||(p[we]=[]),p[we][0]=se},class:"FilterList-categorytitle"},ze(ye),513),J("ul",$N,[(ue(!0),me(Qe,null,ut(M.value[ye],(se,le)=>(ue(),me("li",{key:`${ye}-${se.name||se}`,class:"FilterList-item"},[J("button",{ref_for:!0,ref:he=>{p[we]||(p[we]=[]),p[we][le+1]=he},class:"FilterList-term","data-active":Ee(se.name||se),"aria-label":`Filter by ${se.name||se}`,onClick:he=>F(se.name||se)},[J("span",null,ze(se.name||se),1),Ee(se.name||se)?(ue(),me("span",BN)):bt("",!0)],8,HN)]))),128))])]))),128))]),J("div",{class:"FilterList-footer",onClick:X},[J("div",VN,[FR(J("button",{ref_key:"seeAllBtn",ref:S,class:"FilterList-action FilterList-action--seeall","aria-label":"See all categories",onClick:zv(re,["stop"])}," See All ",512),[[WC,k.value&&a.value]])]),J("div",{ref_key:"filterFooter",ref:h,class:"FilterList-footeritem FilterList-footeritem--center type-body--bold"},[J("button",{class:"FilterList-action FilterList-togglebtn",onClick:zv(N,["stop"])},[J("span",{ref_key:"filterTextTop",ref:b,class:"FilterList-toggletext FilterList-toggletext--filter","aria-hidden":a.value},"Filter",8,UN),J("span",{ref_key:"closeTextBottom",ref:y,class:"FilterList-toggletext FilterList-toggletext--close","aria-hidden":!a.value},"Close",8,jN)])],512),Re[0]||(Re[0]=J("div",{class:"FilterList-footeritem FilterList-footeritem--right",role:"presentation"},null,-1))])],8,FN)],8,MN),J("div",{ref_key:"filterBackdropRef",ref:l,class:"FilterList-backdrop","data-open":a.value,onClick:pe},[...Re[1]||(Re[1]=[J("div",{class:"FilterList-backdrop-gradient"},null,-1)])],8,WN)],64))}},GN=_t(zN,[["__scopeId","data-v-acb5d8b3"]]),qN=Ss({__name:"PillLabel",props:{label:{type:String,required:!0},variant:{type:String,required:!1,default:"default"},isActive:{type:Boolean,required:!1,default:!1},action:{type:Function,required:!1,default:null},to:{type:String,required:!1,default:""}},setup(t){return(e,n)=>{const r=cg("router-link");return t.to?(ue(),tn(r,{key:0,to:t.to,class:ot(["PillLabel",`PillLabel--${t.variant}`]),"data-active":t.isActive},{default:$i(()=>[Zu(ze(t.label),1)]),_:1},8,["to","class","data-active"])):(ue(),tn(Il(t.action?"button":"span"),{key:1,class:ot(["PillLabel",`PillLabel--${t.variant}`]),"data-active":t.isActive,onClick:t.action},{default:$i(()=>[Zu(ze(t.label),1)]),_:1},8,["class","data-active","onClick"]))}}}),MA=_t(qN,[["__scopeId","data-v-3fbcf133"]]),YN=["href","data-nav-color"],KN={class:"PortfolioCard-inner"},XN={class:"PortfolioCard-logo"},QN=["src","alt"],JN={class:"PortfolioCard-title type-body--bold"},ZN={class:"PortfolioCard-description type-body--xs"},e$={key:1},t$={class:"PortfolioCard-tags"},n$={__name:"PortfolioCard",props:{company:{type:Object,required:!0},theme:{type:Object,default:()=>({name:"theme",type:"multiple_choice",value:[{name:"yellow",codename:"yellow"}]})}},setup(t){const e=t,n=gr(),r=Ie(()=>{var o,a,u;const s=(u=(a=(o=e.company)==null?void 0:o.elements)==null?void 0:a.description_rt)==null?void 0:u.value;return!s||s.trim()==="<p><br></p>"?!1:s}),i=s=>{var a;const o=n.getAssetURL((a=e.company.elements)==null?void 0:a.logo);return o||"https://placehold.co/200x80/transparent/000000?font=Poppins&text="+s};return Ie(()=>{var s,o,a;return(a=(o=(s=e.company.elements)==null?void 0:s.tags)==null?void 0:o.value)!=null&&a.length?e.company.elements.tags.value.map(u=>u.name).join(" • "):""}),(s,o)=>{const a=xA,u=Cc,c=MA;return ue(),me("a",{href:t.company.elements.url.value,target:"_blank",class:ot(["PortfolioCard",`theme--${_e(n).getThemeValue(t.theme)}`]),"data-nav-color":_e(n).getNavColorValue(_e(n).getThemeValue(t.theme))},[J("div",KN,[je(a,{class:"PortfolioCard-icon"}),J("div",XN,[J("img",{src:i(t.company.elements.title.value),alt:t.company.elements.title.value+" logo",class:"PortfolioCard-img"},null,8,QN)]),J("h3",JN,ze(t.company.elements.title.value),1),J("div",ZN,[r.value?(ue(),tn(u,{key:0,"disable-styles":!0,html:r.value},null,8,["html"])):(ue(),me("p",e$,ze(t.company.elements.description.value),1))]),J("div",t$,[(ue(!0),me(Qe,null,ut(t.company.elements.technologies.value,d=>(ue(),tn(c,{key:d.codename,label:d.name,variant:"compact"},null,8,["label"]))),128))])])],10,YN)}}},r$=_t(n$,[["__scopeId","data-v-cd1068c8"]]),i$=["data-is-modal-route"],s$=["data-is-modal-route"],o$={__name:"PortfolioGrid",props:{companies:{type:Array,required:!0,default:()=>[]},filtered:{type:Boolean,default:!1},theme:{type:Object,default:()=>({name:"theme",type:"multiple_choice",value:[{name:"yellow",codename:"yellow"}]})},isModalRoute:{type:Boolean,default:!1}},setup(t){return(e,n)=>{const r=r$;return ue(),me("div",{class:ot(["PortfolioGrid",{"PortfolioGrid--filtered":t.filtered}]),"data-is-modal-route":t.isModalRoute},[J("div",{class:"PortfolioGrid-container","data-is-modal-route":t.isModalRoute},[(ue(!0),me(Qe,null,ut(t.companies,i=>(ue(),me("div",{key:i.system.id,class:"PortfolioGrid-item"},[je(r,{company:i,theme:t.theme},null,8,["company","theme"])]))),128))],8,s$)],10,i$)}}},a$=_t(o$,[["__scopeId","data-v-0b547557"]]),l$={viewBox:"0 0 63 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function u$(t,e){return ue(),me("svg",l$,[...e[0]||(e[0]=[J("path",{d:"M49.2303 38.2347C48.1636 39.3014 47.0969 40.1547 45.9769 40.7947C42.8303 42.6614 39.4169 43.4614 35.8436 43.1947C33.3903 43.0347 30.9903 42.2881 28.8569 41.1147C26.6703 39.9414 24.8036 38.2881 23.3103 36.3147L21.5503 34.0214L24.8569 31.5147C25.2303 31.2481 25.6569 31.1414 26.0836 31.1947C26.5103 31.2481 26.8836 31.4614 27.1503 31.8347L27.8969 32.8481C28.8569 34.1814 30.1369 35.2481 31.5769 36.0481C33.0169 36.8481 34.6169 37.2747 36.2169 37.4347C38.4569 37.5947 40.7503 37.0614 42.7769 35.9414C43.6303 35.4614 44.4303 34.8214 45.2303 34.0214L53.7103 25.5414C55.7903 23.4081 56.9103 20.5814 56.8569 17.5947C56.8569 13.3814 54.5103 9.59474 50.7236 7.56808C49.2303 6.76808 47.4703 6.34141 45.4436 6.28808C42.4569 6.28808 39.6836 7.40808 37.5503 9.48808L31.7903 15.1947C31.1503 15.8347 30.0836 15.8347 29.4436 15.1947L26.5103 12.2614L33.4969 5.32808C36.7503 2.28808 41.0169 0.528076 45.6569 0.528076C50.1903 0.528076 54.457 2.34141 57.657 5.54141C60.857 8.74141 62.6703 13.0081 62.6703 17.5414C62.6703 22.0747 61.017 26.3414 57.8703 29.5947L49.2303 38.2347ZM4.85695 33.9681C1.71028 37.2214 0.0569458 41.5414 0.0569458 46.0747C0.110279 52.3681 3.52361 57.9681 9.17695 61.1147C11.4703 62.3947 14.2436 63.0881 17.1236 63.0881H17.2836C21.7636 63.0881 26.0303 61.3814 29.2836 58.2347L36.2169 51.3014L33.2836 48.3681C32.6436 47.7281 31.5769 47.7281 30.9369 48.3681L25.2303 54.0747C23.0969 56.1547 20.3236 57.2747 17.2303 57.2747C14.1903 57.2747 11.3636 56.0481 9.28361 53.9147C7.15028 51.7814 5.97695 48.9547 5.97695 45.9681C5.97695 42.9814 7.04361 40.1547 9.12361 38.0214L17.7103 29.4347C18.8836 28.2614 20.2169 27.4081 21.7636 26.8214C23.3103 26.2347 24.9103 26.0214 26.5636 26.1281C28.1636 26.2347 29.8169 26.7147 31.2036 27.5147C32.6436 28.3147 33.8703 29.3814 34.8836 30.7147L35.6303 31.7281C35.8969 32.1014 36.2703 32.3147 36.6969 32.3681C37.1236 32.3681 37.5503 32.3681 37.9236 32.0481L41.2303 29.5414L39.4703 27.2481C38.0303 25.2747 36.1103 23.6214 33.9236 22.4481C31.7903 21.2747 29.3369 20.5814 26.9369 20.3681C26.5103 20.3681 26.0836 20.3681 25.7103 20.3681C23.1503 20.3681 20.6969 20.9014 18.3503 22.0214C16.5903 22.8747 14.8303 24.1014 13.1769 25.7547L4.91028 34.0214L4.85695 33.9681Z",fill:"currentColor"},null,-1)])])}const c$={render:u$},f$={fill:"none",viewBox:"0 0 41 41",xmlns:"http://www.w3.org/2000/svg"};function d$(t,e){return ue(),me("svg",f$,[...e[0]||(e[0]=[J("path",{d:"m6.06382 18.4375 2.53333-2.6 7.06665 6.9333c.5.5 1.2.6334 1.8334.3667.6333-.2667 1.0333-.8667 1.0333-1.5667v-19.59997h3.6333v19.73337c0 .7.4 1.3 1.0334 1.5666.6666.2667 1.3666.1334 1.8666-.3666l7.0334-7.0334 2.5666 2.5667-14.1666 14.1667zm-3.9 16.3333v3.6334h36.39998v-3.6334z",fill:"currentColor"},null,-1)])])}const h$={render:d$},p$=["data-is-modal-route"],m$=["data-is-modal-route"],g$={class:"AreaDetail-main"},_$={class:"AreaDetail-header"},v$={class:"AreaDetail-content"},y$={key:1,class:"AreaDetail-technologies"},b$={class:"AreaDetail-pilllist"},w$={key:2,class:"AreaDetail-links"},S$={class:"AreaDetail-linklist"},T$=["href","target"],A$={key:0,class:"AreaDetail-linktype type-body--bold"},E$={key:1,class:"AreaDetail-linktype AreaDetail-linktype--placeholder"},k$={class:"AreaDetail-linktitle type-body"},R$={class:"AreaDetail-linkicon"},C$={key:0,class:"AreaDetail-actions"},x$={__name:"AreaDetail",props:{area:{type:Object,required:!0},theme:{type:Object,default:()=>({name:"theme",type:"multiple_choice",value:[{name:"yellow",codename:"yellow"}]})},isModalRoute:{type:Boolean,default:!1}},setup(t){const e=t,n=gr(),r=Ie(()=>e.area.elements||{});function i(c){var l,f;if(!c.elements)return"#";const d=n.getAssetURL(c.elements.download);return d||((f=(l=c.elements)==null?void 0:l.link)!=null&&f.value?c.elements.link.value:"#")}function s(c){return!!n.getAssetURL(c.elements.download)}function o(c){var d,l;return!!((l=(d=c.elements)==null?void 0:d.link)!=null&&l.value)}function a(c){if(!c.type)return"";const d=c.type.value;return!d||!d.length?"":d[0].name||""}const u=Ie(()=>e.area.elements.title.value?i_(e.area.elements.title.value):"");return(c,d)=>{var b,y,S,E;const l=Cc,f=MA,h=h$,g=c$,p=xT;return ue(),me("section",{class:"AreaDetail","data-is-modal-route":t.isModalRoute},[J("div",{class:"AreaDetail-container","data-is-modal-route":t.isModalRoute},[J("div",g$,[J("header",_$,[r.value.title?(ue(),me("h2",{key:0,class:ot(["AreaDetail-title type-h3",u.value])},ze(r.value.title.value),3)):bt("",!0)]),J("div",v$,[r.value.intro?(ue(),tn(l,{key:0,class:"AreaDetail-intro type-body--lg",html:r.value.intro.value},null,8,["html"])):bt("",!0),(y=(b=r.value.technologies)==null?void 0:b.value)!=null&&y.length?(ue(),me("div",y$,[d[0]||(d[0]=J("h3",{class:"AreaDetail-sectiontitle type-h6"}," Key Technologies ",-1)),J("ul",b$,[(ue(!0),me(Qe,null,ut(r.value.technologies.value,T=>(ue(),me("li",{key:T.codename,class:"technology-item"},[je(f,{label:T.name},null,8,["label"])]))),128))])])):bt("",!0),(E=(S=r.value.perspectives)==null?void 0:S.linkedItems)!=null&&E.length?(ue(),me("div",w$,[d[1]||(d[1]=J("h3",{class:"AreaDetail-sectiontitle type-h6"}," Perspectives ",-1)),J("ul",S$,[(ue(!0),me(Qe,null,ut(r.value.perspectives.linkedItems,T=>{var k;return ue(),me("li",{key:T.system.id,class:"AreaDetail-linkitem"},[J("a",{href:i(T),target:o(T)?"_blank":"_self",class:"AreaDetail-link"},[(k=T.elements)!=null&&k.type?(ue(),me("span",A$,ze(a(T.elements)),1)):(ue(),me("span",E$)),J("span",k$,ze(T.system.name),1),J("span",R$,[s(T)?(ue(),tn(h,{key:0})):(ue(),tn(g,{key:1}))])],8,T$)])}),128))])])):bt("",!0)])]),t.isModalRoute?(ue(),me("div",C$,[je(p,{to:_e(n).prepLink("portfolio"),theme:"black",label:"Explore the Full Portfolio"},null,8,["to"])])):bt("",!0)],8,m$)],8,p$)}}},P$=_t(x$,[["__scopeId","data-v-36cae1fc"]]),I$={class:"TextHero-container"},L$={class:"TextHero-wrap"},O$={class:"TextHero-titlewrap"},M$={class:"TextHero-lead"},F$=Ss({__name:"TextHero",props:{block:{type:Object,required:!0,default:()=>({_type:"",vueType:"",pageTitle:"",blockIndex:1,cascadeColor:"white",theme:{name:"theme",type:"multiple_choice",value:[{name:"white",codename:"white"}]}})}},setup(t){const e=t;gr();const n=Ie(()=>{var r;return i_((r=e.block.title)==null?void 0:r.value)});return(r,i)=>{const s=Cc;return ue(),me("header",{class:ot(["TextHero","theme-text--yellow"])},[J("div",I$,[J("div",L$,[J("div",O$,[t.block.title?(ue(),me("h1",{key:0,class:ot(["TextHero-title type-oversized",n.value])},ze(t.block.title.value),3)):bt("",!0)]),J("div",M$,[t.block.intro?(ue(),tn(s,{key:0,class:"TextHero-leadtext type-h6",html:t.block.intro.value},null,8,["html"])):bt("",!0)])])])])}}}),D$=_t(F$,[["__scopeId","data-v-63347f05"]]),N$=["data-nav-color","data-is-modal-route"],$$={key:0,class:"portfolio-loading"},H$={key:1,class:"portfolio-error"},B$={class:"type-oversized"},V$={key:2,class:"portfolio-content"},U$=["data-is-modal-route","data-has-filter"],j$=["data-has-filter","data-is-modal-route"],W$={__name:"portfolio",props:{slug:{type:String,required:!0},filter:{type:String,default:""},isModalRoute:{type:Boolean,default:!1},theme:{name:"theme",type:Object,default:()=>({name:"theme",type:"multiple_choice",value:[{name:"cream",codename:"cream"}]})}},setup(t){const e=t,n=gr(),r=j(""),i=j(null),s=Ol(),o=Ll(),a=j(),u=j(null),{data:c,error:d,isLoading:l}=oA("portfolio"),{data:f,error:h,isLoading:g}=Rd("sector"),{data:p,error:b,isLoading:y}=Rd("program"),{data:S,error:E,isLoading:T}=W3("be"),k=j(""),M=j([]),$=Ie(()=>k.value?`${r.value||"Portfolio"} - ${k.value}`:r.value||"Portfolio");e.isModalRoute||s_(Ie(()=>({title:$.value,meta:i.value?n.getMeta(i.value):[],link:n.getMetaLinks(i.value)})));function H(){i.value.theme=e.theme}const O=Ie(()=>!i.value||!i.value.theme?{}:{[`theme--${n.getThemeValue(i.value.theme)}`]:!0}),F=Ie(()=>{var ie,ae,X;return(X=(ae=(ie=i.value)==null?void 0:ie.companies)==null?void 0:ae.linkedItems)!=null&&X.length?i.value.companies.linkedItems:[]}),re=Ie(()=>k.value?F.value.filter(ie=>{var ae,X,pe;return(pe=(X=(ae=ie.elements)==null?void 0:ae.tags)==null?void 0:X.value)!=null&&pe.length?!!(ie.elements.tags.value.some(Ee=>Ee.name===k.value)||ie.elements.tags.value.some(Ee=>Ee.name===k.value)):!1}):F.value);async function N(){var ie,ae;if(a.value=!1,Q(),!!c.value){if(!((ie=c.value.system)!=null&&ie.type)){a.value="Invalid page data structure";return}i.value=c.value.elements,r.value=(ae=i.value.title)==null?void 0:ae.value,e.isModalRoute||(n.pageType=c.value.system.type),H()}}function P(ie){var X,pe;let ae=(pe=(X=ie.elements)==null?void 0:X.portfolio_area)==null?void 0:pe.value;return ae.length<1?!1:(ae=ae[0].name,ae===k.value)}function z(){if(!f||!p||!f.value||!p.value){M.value=[];return}const ie=f.value.filter(X=>P(X)),ae=p.value.filter(X=>P(X));M.value=ie.length?ie[0]:ae.length?ae[0]:[]}function Q(){k.value=e.filter?e.filter:"",(p.value||f.value)&&k.value!==""&&z()}function B(ie){if(e.filter===ie)return;const ae=ie?`/portfolio/${encodeURIComponent(ie)}`:"/portfolio";o.push(ae)}async function G(){try{await new Promise((ie,ae)=>{const X=Ve(()=>l.value,pe=>{pe||(X(),ie())},{immediate:!0})}),c.value&&await N()}catch(ie){console.error("Error in onServerPrefetch:",ie)}}return Ve(k,ie=>{B(ie)}),Ve(()=>s.params,()=>{Q()},{immediate:!0}),wc(()=>{c.value&&!l.value&&N(),d.value&&(a.value="Error loading page")}),Wd(async()=>{u.value=e.slug,c.value&&!l.value&&N()}),bc(async()=>{u.value=e.slug,await G()}),Vt(()=>{}),(ie,ae)=>{const X=D$,pe=P$,Ee=a$,ke=GN;return ue(),me("div",{key:ie.$route.fullPath,class:ot(["portfolio",O.value]),"data-nav-color":_e(n).getNavColorValue(O.value),"data-is-modal-route":t.isModalRoute},[_e(l)||_e(T)?(ue(),me("div",$$,[...ae[1]||(ae[1]=[J("div",{class:"loading-indicator"}," Loading page content... ",-1)])])):a.value?(ue(),me("div",H$,[J("h1",B$,ze(a.value),1),ae[2]||(ae[2]=J("p",null,"Sorry, we couldn't load the page you requested.",-1))])):i.value?(ue(),me("div",V$,[!M.value||!k.value?(ue(),tn(X,{key:0,block:i.value},null,8,["block"])):bt("",!0),J("section",{class:"portfolio-companies","data-is-modal-route":t.isModalRoute,"data-has-filter":!!k.value},[J("div",{class:ot(["portfolio-container",t.isModalRoute?"portfolio-container--modal":""])},[J("div",{class:"portfolio-layout","data-has-filter":!!k.value,"data-is-modal-route":t.isModalRoute},[M.value&&k.value?(ue(),tn(pe,{key:0,area:M.value,theme:i.value.theme,class:"portfolio-areadetail","is-modal-route":t.isModalRoute},null,8,["area","theme","is-modal-route"])):bt("",!0),je(Ee,{companies:re.value,filtered:!!k.value,theme:i.value.theme,class:"portfolio-gridcontainer","is-modal-route":t.isModalRoute},null,8,["companies","filtered","theme","is-modal-route"])],8,j$)],2)],8,U$),!t.isModalRoute&&Object.keys(_e(S)).length>0?(ue(),tn(ke,{key:1,"selected-term":k.value,"onUpdate:selectedTerm":ae[0]||(ae[0]=Re=>k.value=Re),taxonomies:_e(S)},null,8,["selected-term","taxonomies"])):bt("",!0)])):bt("",!0)],10,N$)}}},Id=_t(W$,[["__scopeId","data-v-013329b3"]]),z$=Object.freeze(Object.defineProperty({__proto__:null,default:Id},Symbol.toStringTag,{value:"Module"})),FA=t=>{const e={};Object.entries(Object.assign({"/src/layouts/default.vue":()=>ls(()=>import("./default-C7fv36P8.js"),__vite__mapDeps([0,1,2]))})).forEach(([i,s])=>{let o=i.replace("/src/layouts/","").replace(".vue","");e[o]=s});function r(i,s=!0){return i.map(o=>{var a,u,c,d,l,f;if(((a=o.children)==null?void 0:a.length)>0&&(o.children=r(o.children,!1)),s){if(!o.component&&((u=o.children)==null?void 0:u.find(g=>{var p;return(g.path===""||g.path==="/")&&((p=g.meta)==null?void 0:p.isLayout)})))return o;if(((c=o.meta)==null?void 0:c.layout)!==!1)return{path:o.path,component:e[((d=o.meta)==null?void 0:d.layout)||"default"],children:o.path==="/"?[o]:[{...o,path:""}],meta:{isLayout:!0}}}return(l=o.meta)!=null&&l.layout?{path:o.path,component:e[(f=o.meta)==null?void 0:f.layout],children:[{...o,path:""}],meta:{isLayout:!0}}:o})}return r(t)};async function DA(t,e={}){const n=e.document||t.resolvedOptions.document;if(!n||!t.dirty)return;const r={shouldRender:!0,tags:[]};if(await t.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return t._domUpdatePromise||(t._domUpdatePromise=new Promise(async i=>{var h;const s=new Map,o=new Promise(g=>{t.resolveTags().then(p=>{g(p.map(b=>{const y=s.get(b._d)||0,S={tag:b,id:(y?`${b._d}:${y}`:b._d)||qy(b),shouldRender:!0};return b._d&&lA(b._d)&&s.set(b._d,y+1),S}))})});let a=t._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const g of["body","head"]){const p=(h=n[g])==null?void 0:h.children;for(const b of p){const y=b.tagName.toLowerCase();if(!Gy.has(y))continue;const S=uA({tag:y,props:{}},{innerHTML:b.innerHTML,...b.getAttributeNames().reduce((E,T)=>(E[T]=b.getAttribute(T),E),{})||{}});if(S.key=b.getAttribute("data-hid")||void 0,S._d=Nm(S)||qy(S),a.elMap.has(S._d)){let E=1,T=S._d;for(;a.elMap.has(T);)T=`${S._d}:${E++}`;a.elMap.set(T,b)}else a.elMap.set(S._d,b)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function u(g,p,b){const y=`${g}:${p}`;a.sideEffects[y]=b,delete a.pendingSideEffects[y]}function c({id:g,$el:p,tag:b}){const y=b.tag.endsWith("Attrs");a.elMap.set(g,p),y||(b.textContent&&b.textContent!==p.textContent&&(p.textContent=b.textContent),b.innerHTML&&b.innerHTML!==p.innerHTML&&(p.innerHTML=b.innerHTML),u(g,"el",()=>{p==null||p.remove(),a.elMap.delete(g)}));for(const S in b.props){if(!Object.prototype.hasOwnProperty.call(b.props,S))continue;const E=b.props[S];if(S.startsWith("on")&&typeof E=="function"){const k=p==null?void 0:p.dataset;if(k&&k[`${S}fired`]){const M=S.slice(0,-5);E.call(p,new Event(M.substring(2)))}p.getAttribute(`data-${S}`)!==""&&((b.tag==="bodyAttrs"?n.defaultView:p).addEventListener(S.substring(2),E.bind(p)),p.setAttribute(`data-${S}`,""));continue}const T=`attr:${S}`;if(S==="class"){if(!E)continue;for(const k of E)y&&u(g,`${T}:${k}`,()=>p.classList.remove(k)),!p.classList.contains(k)&&p.classList.add(k)}else if(S==="style"){if(!E)continue;for(const[k,M]of E)u(g,`${T}:${k}`,()=>{p.style.removeProperty(k)}),p.style.setProperty(k,M)}else E!==!1&&E!==null&&(p.getAttribute(S)!==E&&p.setAttribute(S,E===!0?"":String(E)),y&&u(g,T,()=>p.removeAttribute(S)))}}const d=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0},f=await o;for(const g of f){const{tag:p,shouldRender:b,id:y}=g;if(b){if(p.tag==="title"){n.title=p.textContent,u("title","",()=>n.title=a.title);continue}g.$el=g.$el||a.elMap.get(y),g.$el?c(g):Gy.has(p.tag)&&d.push(g)}}for(const g of d){const p=g.tag.tagPosition||"head";g.$el=n.createElement(g.tag.tag),c(g),l[p]=l[p]||n.createDocumentFragment(),l[p].appendChild(g.$el)}for(const g of f)await t.hooks.callHook("dom:renderTag",g,n,u);l.head&&n.head.appendChild(l.head),l.bodyOpen&&n.body.insertBefore(l.bodyOpen,n.body.firstChild),l.bodyClose&&n.body.appendChild(l.bodyClose);for(const g in a.pendingSideEffects)a.pendingSideEffects[g]();t._dom=a,await t.hooks.callHook("dom:rendered",{renders:f}),i()}).finally(()=>{t._domUpdatePromise=void 0,t.dirty=!1})),t._domUpdatePromise}function G$(t={}){var r,i,s;const e=((r=t.domOptions)==null?void 0:r.render)||DA;t.document=t.document||(typeof window<"u"?document:void 0);const n=((s=(i=t.document)==null?void 0:i.head.querySelector('script[id="unhead:payload"]'))==null?void 0:s.innerHTML)||!1;return w5({...t,plugins:[...t.plugins||[],{key:"client",hooks:{"entries:updated":e}}],init:[n?JSON.parse(n):!1,...t.init||[]]})}function q$(t,e){let n=0;return()=>{const r=++n;e(()=>{n===r&&t()})}}function Y$(t={}){const e=G$({domOptions:{render:q$(()=>DA(e),n=>setTimeout(n,0))},...t});return e.install=T5(e),e}function K$(t){return document.readyState==="loading"?new Promise(e=>{document.addEventListener("DOMContentLoaded",()=>e(t))}):Promise.resolve(t)}const X$=Ss({setup(t,{slots:e}){const n=j(!1);return kt(()=>n.value=!0),()=>n.value?e.default&&e.default({}):e.placeholder&&e.placeholder({})}});function Q$(t){try{return JSON.parse(t||"{}")}catch(e){return console.error("[SSG] On state deserialization -",e,t),{}}}function J$(t,e,n,r){const{transformState:i,registerComponents:s=!0,useHead:o=!0,rootContainer:a="#app"}={};async function u(c=!1,d){const l=ux(t);let f;o&&l.use(f=Y$());const h=eP({history:L2(e.base),...e}),{routes:g}=e;s&&l.component("ClientOnly",X$);const p=[],S={app:l,head:f,isClient:!0,router:h,routes:g,onSSRAppRendered:()=>{},triggerOnSSRAppRendered:()=>Promise.all(p.map(M=>M())),initialState:{},transformState:i,routePath:d};await K$(),S.initialState=(i==null?void 0:i(window.__INITIAL_STATE__||{}))||Q$(window.__INITIAL_STATE__),await(n==null?void 0:n(S)),l.use(h);let E,T=!0;h.beforeEach((M,$,H)=>{(T||E&&E===M.path)&&(T=!1,E=M.path,M.meta.state=S.initialState),H()});const k=S.initialState;return{...S,initialState:k}}return(async()=>{const{app:c,router:d}=await u();await d.isReady(),c.mount(a,!0)})(),u}const NA=[{path:"/",name:"/",component:()=>ls(()=>Promise.resolve().then(()=>LN),void 0)},{path:"/:slug",name:"/[slug]",component:()=>ls(()=>Promise.resolve().then(()=>M5),void 0),meta:{layout:"default"}},{path:"/example",name:"/example",component:()=>ls(()=>import("./example-D4cWMhSw.js"),__vite__mapDeps([3,4,5,1,6]))},{path:"/partners",name:"/partners",component:()=>ls(()=>import("./partners-0X69ZU_D.js"),__vite__mapDeps([7,8,9,10]))},{path:"/people",name:"/people",component:()=>ls(()=>import("./people-Cwg6lJfP.js"),__vite__mapDeps([11,12,8,9,13,14]))},{path:"/perspectives",name:"/perspectives",component:()=>ls(()=>import("./perspectives-C9uLzzFG.js"),__vite__mapDeps([15,4,5,16]))},{path:"/portfolio",name:"/portfolio",component:()=>ls(()=>Promise.resolve().then(()=>z$),void 0)},{path:"/programs",name:"/programs",component:()=>ls(()=>import("./programs-C3KlhtS6.js"),__vite__mapDeps([17,12,8,9,13,18]))}],Z$={class:"proxy-block"},eH={__name:"ProxyBlock",props:{block:{type:Object,required:!0,default:()=>({_type:"",vueType:"",pageTitle:"",pageSlug:"",blockIndex:1,cascadeColor:"white"})}},setup(t){return(e,n)=>(ue(),me("div",Z$,[J("h3",null,ze(t.block.vueType)+" : "+ze(t.block._type),1),J("p",null,ze(t.block),1)]))}},tH=_t(eH,[["__scopeId","data-v-f15c05b3"]]);var bp={};/*!
* howler.js v2.2.4
* howlerjs.com
*
* (c) 2013-2020, James Simpson of GoldFire Studios
* goldfirestudios.com
*
* MIT License
*/var y1;function nH(){return y1||(y1=1,(function(t){(function(){var e=function(){this.init()};e.prototype={init:function(){var l=this||n;return l._counter=1e3,l._html5AudioPool=[],l.html5PoolSize=10,l._codecs={},l._howls=[],l._muted=!1,l._volume=1,l._canPlayEvent="canplaythrough",l._navigator=typeof window<"u"&&window.navigator?window.navigator:null,l.masterGain=null,l.noAudio=!1,l.usingWebAudio=!0,l.autoSuspend=!0,l.ctx=null,l.autoUnlock=!0,l._setup(),l},volume:function(l){var f=this||n;if(l=parseFloat(l),f.ctx||d(),typeof l<"u"&&l>=0&&l<=1){if(f._volume=l,f._muted)return f;f.usingWebAudio&&f.masterGain.gain.setValueAtTime(l,n.ctx.currentTime);for(var h=0;h<f._howls.length;h++)if(!f._howls[h]._webAudio)for(var g=f._howls[h]._getSoundIds(),p=0;p<g.length;p++){var b=f._howls[h]._soundById(g[p]);b&&b._node&&(b._node.volume=b._volume*l)}return f}return f._volume},mute:function(l){var f=this||n;f.ctx||d(),f._muted=l,f.usingWebAudio&&f.masterGain.gain.setValueAtTime(l?0:f._volume,n.ctx.currentTime);for(var h=0;h<f._howls.length;h++)if(!f._howls[h]._webAudio)for(var g=f._howls[h]._getSoundIds(),p=0;p<g.length;p++){var b=f._howls[h]._soundById(g[p]);b&&b._node&&(b._node.muted=l?!0:b._muted)}return f},stop:function(){for(var l=this||n,f=0;f<l._howls.length;f++)l._howls[f].stop();return l},unload:function(){for(var l=this||n,f=l._howls.length-1;f>=0;f--)l._howls[f].unload();return l.usingWebAudio&&l.ctx&&typeof l.ctx.close<"u"&&(l.ctx.close(),l.ctx=null,d()),l},codecs:function(l){return(this||n)._codecs[l.replace(/^x-/,"")]},_setup:function(){var l=this||n;if(l.state=l.ctx&&l.ctx.state||"suspended",l._autoSuspend(),!l.usingWebAudio)if(typeof Audio<"u")try{var f=new Audio;typeof f.oncanplaythrough>"u"&&(l._canPlayEvent="canplay")}catch{l.noAudio=!0}else l.noAudio=!0;try{var f=new Audio;f.muted&&(l.noAudio=!0)}catch{}return l.noAudio||l._setupCodecs(),l},_setupCodecs:function(){var l=this||n,f=null;try{f=typeof Audio<"u"?new Audio:null}catch{return l}if(!f||typeof f.canPlayType!="function")return l;var h=f.canPlayType("audio/mpeg;").replace(/^no$/,""),g=l._navigator?l._navigator.userAgent:"",p=g.match(/OPR\/(\d+)/g),b=p&&parseInt(p[0].split("/")[1],10)<33,y=g.indexOf("Safari")!==-1&&g.indexOf("Chrome")===-1,S=g.match(/Version\/(.*?) /),E=y&&S&&parseInt(S[1],10)<15;return l._codecs={mp3:!!(!b&&(h||f.canPlayType("audio/mp3;").replace(/^no$/,""))),mpeg:!!h,opus:!!f.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,""),ogg:!!f.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),oga:!!f.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),wav:!!(f.canPlayType('audio/wav; codecs="1"')||f.canPlayType("audio/wav")).replace(/^no$/,""),aac:!!f.canPlayType("audio/aac;").replace(/^no$/,""),caf:!!f.canPlayType("audio/x-caf;").replace(/^no$/,""),m4a:!!(f.canPlayType("audio/x-m4a;")||f.canPlayType("audio/m4a;")||f.canPlayType("audio/aac;")).replace(/^no$/,""),m4b:!!(f.canPlayType("audio/x-m4b;")||f.canPlayType("audio/m4b;")||f.canPlayType("audio/aac;")).replace(/^no$/,""),mp4:!!(f.canPlayType("audio/x-mp4;")||f.canPlayType("audio/mp4;")||f.canPlayType("audio/aac;")).replace(/^no$/,""),weba:!!(!E&&f.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),webm:!!(!E&&f.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),dolby:!!f.canPlayType('audio/mp4; codecs="ec-3"').replace(/^no$/,""),flac:!!(f.canPlayType("audio/x-flac;")||f.canPlayType("audio/flac;")).replace(/^no$/,"")},l},_unlockAudio:function(){var l=this||n;if(!(l._audioUnlocked||!l.ctx)){l._audioUnlocked=!1,l.autoUnlock=!1,!l._mobileUnloaded&&l.ctx.sampleRate!==44100&&(l._mobileUnloaded=!0,l.unload()),l._scratchBuffer=l.ctx.createBuffer(1,1,22050);var f=function(h){for(;l._html5AudioPool.length<l.html5PoolSize;)try{var g=new Audio;g._unlocked=!0,l._releaseHtml5Audio(g)}catch{l.noAudio=!0;break}for(var p=0;p<l._howls.length;p++)if(!l._howls[p]._webAudio)for(var b=l._howls[p]._getSoundIds(),y=0;y<b.length;y++){var S=l._howls[p]._soundById(b[y]);S&&S._node&&!S._node._unlocked&&(S._node._unlocked=!0,S._node.load())}l._autoResume();var E=l.ctx.createBufferSource();E.buffer=l._scratchBuffer,E.connect(l.ctx.destination),typeof E.start>"u"?E.noteOn(0):E.start(0),typeof l.ctx.resume=="function"&&l.ctx.resume(),E.onended=function(){E.disconnect(0),l._audioUnlocked=!0,document.removeEventListener("touchstart",f,!0),document.removeEventListener("touchend",f,!0),document.removeEventListener("click",f,!0),document.removeEventListener("keydown",f,!0);for(var T=0;T<l._howls.length;T++)l._howls[T]._emit("unlock")}};return document.addEventListener("touchstart",f,!0),document.addEventListener("touchend",f,!0),document.addEventListener("click",f,!0),document.addEventListener("keydown",f,!0),l}},_obtainHtml5Audio:function(){var l=this||n;if(l._html5AudioPool.length)return l._html5AudioPool.pop();var f=new Audio().play();return f&&typeof Promise<"u"&&(f instanceof Promise||typeof f.then=="function")&&f.catch(function(){console.warn("HTML5 Audio pool exhausted, returning potentially locked audio object.")}),new Audio},_releaseHtml5Audio:function(l){var f=this||n;return l._unlocked&&f._html5AudioPool.push(l),f},_autoSuspend:function(){var l=this;if(!(!l.autoSuspend||!l.ctx||typeof l.ctx.suspend>"u"||!n.usingWebAudio)){for(var f=0;f<l._howls.length;f++)if(l._howls[f]._webAudio){for(var h=0;h<l._howls[f]._sounds.length;h++)if(!l._howls[f]._sounds[h]._paused)return l}return l._suspendTimer&&clearTimeout(l._suspendTimer),l._suspendTimer=setTimeout(function(){if(l.autoSuspend){l._suspendTimer=null,l.state="suspending";var g=function(){l.state="suspended",l._resumeAfterSuspend&&(delete l._resumeAfterSuspend,l._autoResume())};l.ctx.suspend().then(g,g)}},3e4),l}},_autoResume:function(){var l=this;if(!(!l.ctx||typeof l.ctx.resume>"u"||!n.usingWebAudio))return l.state==="running"&&l.ctx.state!=="interrupted"&&l._suspendTimer?(clearTimeout(l._suspendTimer),l._suspendTimer=null):l.state==="suspended"||l.state==="running"&&l.ctx.state==="interrupted"?(l.ctx.resume().then(function(){l.state="running";for(var f=0;f<l._howls.length;f++)l._howls[f]._emit("resume")}),l._suspendTimer&&(clearTimeout(l._suspendTimer),l._suspendTimer=null)):l.state==="suspending"&&(l._resumeAfterSuspend=!0),l}};var n=new e,r=function(l){var f=this;if(!l.src||l.src.length===0){console.error("An array of source files must be passed with any new Howl.");return}f.init(l)};r.prototype={init:function(l){var f=this;return n.ctx||d(),f._autoplay=l.autoplay||!1,f._format=typeof l.format!="string"?l.format:[l.format],f._html5=l.html5||!1,f._muted=l.mute||!1,f._loop=l.loop||!1,f._pool=l.pool||5,f._preload=typeof l.preload=="boolean"||l.preload==="metadata"?l.preload:!0,f._rate=l.rate||1,f._sprite=l.sprite||{},f._src=typeof l.src!="string"?l.src:[l.src],f._volume=l.volume!==void 0?l.volume:1,f._xhr={method:l.xhr&&l.xhr.method?l.xhr.method:"GET",headers:l.xhr&&l.xhr.headers?l.xhr.headers:null,withCredentials:l.xhr&&l.xhr.withCredentials?l.xhr.withCredentials:!1},f._duration=0,f._state="unloaded",f._sounds=[],f._endTimers={},f._queue=[],f._playLock=!1,f._onend=l.onend?[{fn:l.onend}]:[],f._onfade=l.onfade?[{fn:l.onfade}]:[],f._onload=l.onload?[{fn:l.onload}]:[],f._onloaderror=l.onloaderror?[{fn:l.onloaderror}]:[],f._onplayerror=l.onplayerror?[{fn:l.onplayerror}]:[],f._onpause=l.onpause?[{fn:l.onpause}]:[],f._onplay=l.onplay?[{fn:l.onplay}]:[],f._onstop=l.onstop?[{fn:l.onstop}]:[],f._onmute=l.onmute?[{fn:l.onmute}]:[],f._onvolume=l.onvolume?[{fn:l.onvolume}]:[],f._onrate=l.onrate?[{fn:l.onrate}]:[],f._onseek=l.onseek?[{fn:l.onseek}]:[],f._onunlock=l.onunlock?[{fn:l.onunlock}]:[],f._onresume=[],f._webAudio=n.usingWebAudio&&!f._html5,typeof n.ctx<"u"&&n.ctx&&n.autoUnlock&&n._unlockAudio(),n._howls.push(f),f._autoplay&&f._queue.push({event:"play",action:function(){f.play()}}),f._preload&&f._preload!=="none"&&f.load(),f},load:function(){var l=this,f=null;if(n.noAudio){l._emit("loaderror",null,"No audio support.");return}typeof l._src=="string"&&(l._src=[l._src]);for(var h=0;h<l._src.length;h++){var g,p;if(l._format&&l._format[h])g=l._format[h];else{if(p=l._src[h],typeof p!="string"){l._emit("loaderror",null,"Non-string found in selected audio sources - ignoring.");continue}g=/^data:audio\/([^;,]+);/i.exec(p),g||(g=/\.([^.]+)$/.exec(p.split("?",1)[0])),g&&(g=g[1].toLowerCase())}if(g||console.warn('No file extension was found. Consider using the "format" property or specify an extension.'),g&&n.codecs(g)){f=l._src[h];break}}if(!f){l._emit("loaderror",null,"No codec support for selected audio sources.");return}return l._src=f,l._state="loading",window.location.protocol==="https:"&&f.slice(0,5)==="http:"&&(l._html5=!0,l._webAudio=!1),new i(l),l._webAudio&&o(l),l},play:function(l,f){var h=this,g=null;if(typeof l=="number")g=l,l=null;else{if(typeof l=="string"&&h._state==="loaded"&&!h._sprite[l])return null;if(typeof l>"u"&&(l="__default",!h._playLock)){for(var p=0,b=0;b<h._sounds.length;b++)h._sounds[b]._paused&&!h._sounds[b]._ended&&(p++,g=h._sounds[b]._id);p===1?l=null:g=null}}var y=g?h._soundById(g):h._inactiveSound();if(!y)return null;if(g&&!l&&(l=y._sprite||"__default"),h._state!=="loaded"){y._sprite=l,y._ended=!1;var S=y._id;return h._queue.push({event:"play",action:function(){h.play(S)}}),S}if(g&&!y._paused)return f||h._loadQueue("play"),y._id;h._webAudio&&n._autoResume();var E=Math.max(0,y._seek>0?y._seek:h._sprite[l][0]/1e3),T=Math.max(0,(h._sprite[l][0]+h._sprite[l][1])/1e3-E),k=T*1e3/Math.abs(y._rate),M=h._sprite[l][0]/1e3,$=(h._sprite[l][0]+h._sprite[l][1])/1e3;y._sprite=l,y._ended=!1;var H=function(){y._paused=!1,y._seek=E,y._start=M,y._stop=$,y._loop=!!(y._loop||h._sprite[l][2])};if(E>=$){h._ended(y);return}var O=y._node;if(h._webAudio){var F=function(){h._playLock=!1,H(),h._refreshBuffer(y);var z=y._muted||h._muted?0:y._volume;O.gain.setValueAtTime(z,n.ctx.currentTime),y._playStart=n.ctx.currentTime,typeof O.bufferSource.start>"u"?y._loop?O.bufferSource.noteGrainOn(0,E,86400):O.bufferSource.noteGrainOn(0,E,T):y._loop?O.bufferSource.start(0,E,86400):O.bufferSource.start(0,E,T),k!==1/0&&(h._endTimers[y._id]=setTimeout(h._ended.bind(h,y),k)),f||setTimeout(function(){h._emit("play",y._id),h._loadQueue()},0)};n.state==="running"&&n.ctx.state!=="interrupted"?F():(h._playLock=!0,h.once("resume",F),h._clearTimer(y._id))}else{var re=function(){O.currentTime=E,O.muted=y._muted||h._muted||n._muted||O.muted,O.volume=y._volume*n.volume(),O.playbackRate=y._rate;try{var z=O.play();if(z&&typeof Promise<"u"&&(z instanceof Promise||typeof z.then=="function")?(h._playLock=!0,H(),z.then(function(){h._playLock=!1,O._unlocked=!0,f?h._loadQueue():h._emit("play",y._id)}).catch(function(){h._playLock=!1,h._emit("playerror",y._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction."),y._ended=!0,y._paused=!0})):f||(h._playLock=!1,H(),h._emit("play",y._id)),O.playbackRate=y._rate,O.paused){h._emit("playerror",y._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction.");return}l!=="__default"||y._loop?h._endTimers[y._id]=setTimeout(h._ended.bind(h,y),k):(h._endTimers[y._id]=function(){h._ended(y),O.removeEventListener("ended",h._endTimers[y._id],!1)},O.addEventListener("ended",h._endTimers[y._id],!1))}catch(Q){h._emit("playerror",y._id,Q)}};O.src==="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA"&&(O.src=h._src,O.load());var N=window&&window.ejecta||!O.readyState&&n._navigator.isCocoonJS;if(O.readyState>=3||N)re();else{h._playLock=!0,h._state="loading";var P=function(){h._state="loaded",re(),O.removeEventListener(n._canPlayEvent,P,!1)};O.addEventListener(n._canPlayEvent,P,!1),h._clearTimer(y._id)}}return y._id},pause:function(l){var f=this;if(f._state!=="loaded"||f._playLock)return f._queue.push({event:"pause",action:function(){f.pause(l)}}),f;for(var h=f._getSoundIds(l),g=0;g<h.length;g++){f._clearTimer(h[g]);var p=f._soundById(h[g]);if(p&&!p._paused&&(p._seek=f.seek(h[g]),p._rateSeek=0,p._paused=!0,f._stopFade(h[g]),p._node))if(f._webAudio){if(!p._node.bufferSource)continue;typeof p._node.bufferSource.stop>"u"?p._node.bufferSource.noteOff(0):p._node.bufferSource.stop(0),f._cleanBuffer(p._node)}else(!isNaN(p._node.duration)||p._node.duration===1/0)&&p._node.pause();arguments[1]||f._emit("pause",p?p._id:null)}return f},stop:function(l,f){var h=this;if(h._state!=="loaded"||h._playLock)return h._queue.push({event:"stop",action:function(){h.stop(l)}}),h;for(var g=h._getSoundIds(l),p=0;p<g.length;p++){h._clearTimer(g[p]);var b=h._soundById(g[p]);b&&(b._seek=b._start||0,b._rateSeek=0,b._paused=!0,b._ended=!0,h._stopFade(g[p]),b._node&&(h._webAudio?b._node.bufferSource&&(typeof b._node.bufferSource.stop>"u"?b._node.bufferSource.noteOff(0):b._node.bufferSource.stop(0),h._cleanBuffer(b._node)):(!isNaN(b._node.duration)||b._node.duration===1/0)&&(b._node.currentTime=b._start||0,b._node.pause(),b._node.duration===1/0&&h._clearSound(b._node))),f||h._emit("stop",b._id))}return h},mute:function(l,f){var h=this;if(h._state!=="loaded"||h._playLock)return h._queue.push({event:"mute",action:function(){h.mute(l,f)}}),h;if(typeof f>"u")if(typeof l=="boolean")h._muted=l;else return h._muted;for(var g=h._getSoundIds(f),p=0;p<g.length;p++){var b=h._soundById(g[p]);b&&(b._muted=l,b._interval&&h._stopFade(b._id),h._webAudio&&b._node?b._node.gain.setValueAtTime(l?0:b._volume,n.ctx.currentTime):b._node&&(b._node.muted=n._muted?!0:l),h._emit("mute",b._id))}return h},volume:function(){var l=this,f=arguments,h,g;if(f.length===0)return l._volume;if(f.length===1||f.length===2&&typeof f[1]>"u"){var p=l._getSoundIds(),b=p.indexOf(f[0]);b>=0?g=parseInt(f[0],10):h=parseFloat(f[0])}else f.length>=2&&(h=parseFloat(f[0]),g=parseInt(f[1],10));var y;if(typeof h<"u"&&h>=0&&h<=1){if(l._state!=="loaded"||l._playLock)return l._queue.push({event:"volume",action:function(){l.volume.apply(l,f)}}),l;typeof g>"u"&&(l._volume=h),g=l._getSoundIds(g);for(var S=0;S<g.length;S++)y=l._soundById(g[S]),y&&(y._volume=h,f[2]||l._stopFade(g[S]),l._webAudio&&y._node&&!y._muted?y._node.gain.setValueAtTime(h,n.ctx.currentTime):y._node&&!y._muted&&(y._node.volume=h*n.volume()),l._emit("volume",y._id))}else return y=g?l._soundById(g):l._sounds[0],y?y._volume:0;return l},fade:function(l,f,h,g){var p=this;if(p._state!=="loaded"||p._playLock)return p._queue.push({event:"fade",action:function(){p.fade(l,f,h,g)}}),p;l=Math.min(Math.max(0,parseFloat(l)),1),f=Math.min(Math.max(0,parseFloat(f)),1),h=parseFloat(h),p.volume(l,g);for(var b=p._getSoundIds(g),y=0;y<b.length;y++){var S=p._soundById(b[y]);if(S){if(g||p._stopFade(b[y]),p._webAudio&&!S._muted){var E=n.ctx.currentTime,T=E+h/1e3;S._volume=l,S._node.gain.setValueAtTime(l,E),S._node.gain.linearRampToValueAtTime(f,T)}p._startFadeInterval(S,l,f,h,b[y],typeof g>"u")}}return p},_startFadeInterval:function(l,f,h,g,p,b){var y=this,S=f,E=h-f,T=Math.abs(E/.01),k=Math.max(4,T>0?g/T:g),M=Date.now();l._fadeTo=h,l._interval=setInterval(function(){var $=(Date.now()-M)/g;M=Date.now(),S+=E*$,S=Math.round(S*100)/100,E<0?S=Math.max(h,S):S=Math.min(h,S),y._webAudio?l._volume=S:y.volume(S,l._id,!0),b&&(y._volume=S),(h<f&&S<=h||h>f&&S>=h)&&(clearInterval(l._interval),l._interval=null,l._fadeTo=null,y.volume(h,l._id),y._emit("fade",l._id))},k)},_stopFade:function(l){var f=this,h=f._soundById(l);return h&&h._interval&&(f._webAudio&&h._node.gain.cancelScheduledValues(n.ctx.currentTime),clearInterval(h._interval),h._interval=null,f.volume(h._fadeTo,l),h._fadeTo=null,f._emit("fade",l)),f},loop:function(){var l=this,f=arguments,h,g,p;if(f.length===0)return l._loop;if(f.length===1)if(typeof f[0]=="boolean")h=f[0],l._loop=h;else return p=l._soundById(parseInt(f[0],10)),p?p._loop:!1;else f.length===2&&(h=f[0],g=parseInt(f[1],10));for(var b=l._getSoundIds(g),y=0;y<b.length;y++)p=l._soundById(b[y]),p&&(p._loop=h,l._webAudio&&p._node&&p._node.bufferSource&&(p._node.bufferSource.loop=h,h&&(p._node.bufferSource.loopStart=p._start||0,p._node.bufferSource.loopEnd=p._stop,l.playing(b[y])&&(l.pause(b[y],!0),l.play(b[y],!0)))));return l},rate:function(){var l=this,f=arguments,h,g;if(f.length===0)g=l._sounds[0]._id;else if(f.length===1){var p=l._getSoundIds(),b=p.indexOf(f[0]);b>=0?g=parseInt(f[0],10):h=parseFloat(f[0])}else f.length===2&&(h=parseFloat(f[0]),g=parseInt(f[1],10));var y;if(typeof h=="number"){if(l._state!=="loaded"||l._playLock)return l._queue.push({event:"rate",action:function(){l.rate.apply(l,f)}}),l;typeof g>"u"&&(l._rate=h),g=l._getSoundIds(g);for(var S=0;S<g.length;S++)if(y=l._soundById(g[S]),y){l.playing(g[S])&&(y._rateSeek=l.seek(g[S]),y._playStart=l._webAudio?n.ctx.currentTime:y._playStart),y._rate=h,l._webAudio&&y._node&&y._node.bufferSource?y._node.bufferSource.playbackRate.setValueAtTime(h,n.ctx.currentTime):y._node&&(y._node.playbackRate=h);var E=l.seek(g[S]),T=(l._sprite[y._sprite][0]+l._sprite[y._sprite][1])/1e3-E,k=T*1e3/Math.abs(y._rate);(l._endTimers[g[S]]||!y._paused)&&(l._clearTimer(g[S]),l._endTimers[g[S]]=setTimeout(l._ended.bind(l,y),k)),l._emit("rate",y._id)}}else return y=l._soundById(g),y?y._rate:l._rate;return l},seek:function(){var l=this,f=arguments,h,g;if(f.length===0)l._sounds.length&&(g=l._sounds[0]._id);else if(f.length===1){var p=l._getSoundIds(),b=p.indexOf(f[0]);b>=0?g=parseInt(f[0],10):l._sounds.length&&(g=l._sounds[0]._id,h=parseFloat(f[0]))}else f.length===2&&(h=parseFloat(f[0]),g=parseInt(f[1],10));if(typeof g>"u")return 0;if(typeof h=="number"&&(l._state!=="loaded"||l._playLock))return l._queue.push({event:"seek",action:function(){l.seek.apply(l,f)}}),l;var y=l._soundById(g);if(y)if(typeof h=="number"&&h>=0){var S=l.playing(g);S&&l.pause(g,!0),y._seek=h,y._ended=!1,l._clearTimer(g),!l._webAudio&&y._node&&!isNaN(y._node.duration)&&(y._node.currentTime=h);var E=function(){S&&l.play(g,!0),l._emit("seek",g)};if(S&&!l._webAudio){var T=function(){l._playLock?setTimeout(T,0):E()};setTimeout(T,0)}else E()}else if(l._webAudio){var k=l.playing(g)?n.ctx.currentTime-y._playStart:0,M=y._rateSeek?y._rateSeek-y._seek:0;return y._seek+(M+k*Math.abs(y._rate))}else return y._node.currentTime;return l},playing:function(l){var f=this;if(typeof l=="number"){var h=f._soundById(l);return h?!h._paused:!1}for(var g=0;g<f._sounds.length;g++)if(!f._sounds[g]._paused)return!0;return!1},duration:function(l){var f=this,h=f._duration,g=f._soundById(l);return g&&(h=f._sprite[g._sprite][1]/1e3),h},state:function(){return this._state},unload:function(){for(var l=this,f=l._sounds,h=0;h<f.length;h++)f[h]._paused||l.stop(f[h]._id),l._webAudio||(l._clearSound(f[h]._node),f[h]._node.removeEventListener("error",f[h]._errorFn,!1),f[h]._node.removeEventListener(n._canPlayEvent,f[h]._loadFn,!1),f[h]._node.removeEventListener("ended",f[h]._endFn,!1),n._releaseHtml5Audio(f[h]._node)),delete f[h]._node,l._clearTimer(f[h]._id);var g=n._howls.indexOf(l);g>=0&&n._howls.splice(g,1);var p=!0;for(h=0;h<n._howls.length;h++)if(n._howls[h]._src===l._src||l._src.indexOf(n._howls[h]._src)>=0){p=!1;break}return s&&p&&delete s[l._src],n.noAudio=!1,l._state="unloaded",l._sounds=[],l=null,null},on:function(l,f,h,g){var p=this,b=p["_on"+l];return typeof f=="function"&&b.push(g?{id:h,fn:f,once:g}:{id:h,fn:f}),p},off:function(l,f,h){var g=this,p=g["_on"+l],b=0;if(typeof f=="number"&&(h=f,f=null),f||h)for(b=0;b<p.length;b++){var y=h===p[b].id;if(f===p[b].fn&&y||!f&&y){p.splice(b,1);break}}else if(l)g["_on"+l]=[];else{var S=Object.keys(g);for(b=0;b<S.length;b++)S[b].indexOf("_on")===0&&Array.isArray(g[S[b]])&&(g[S[b]]=[])}return g},once:function(l,f,h){var g=this;return g.on(l,f,h,1),g},_emit:function(l,f,h){for(var g=this,p=g["_on"+l],b=p.length-1;b>=0;b--)(!p[b].id||p[b].id===f||l==="load")&&(setTimeout((function(y){y.call(this,f,h)}).bind(g,p[b].fn),0),p[b].once&&g.off(l,p[b].fn,p[b].id));return g._loadQueue(l),g},_loadQueue:function(l){var f=this;if(f._queue.length>0){var h=f._queue[0];h.event===l&&(f._queue.shift(),f._loadQueue()),l||h.action()}return f},_ended:function(l){var f=this,h=l._sprite;if(!f._webAudio&&l._node&&!l._node.paused&&!l._node.ended&&l._node.currentTime<l._stop)return setTimeout(f._ended.bind(f,l),100),f;var g=!!(l._loop||f._sprite[h][2]);if(f._emit("end",l._id),!f._webAudio&&g&&f.stop(l._id,!0).play(l._id),f._webAudio&&g){f._emit("play",l._id),l._seek=l._start||0,l._rateSeek=0,l._playStart=n.ctx.currentTime;var p=(l._stop-l._start)*1e3/Math.abs(l._rate);f._endTimers[l._id]=setTimeout(f._ended.bind(f,l),p)}return f._webAudio&&!g&&(l._paused=!0,l._ended=!0,l._seek=l._start||0,l._rateSeek=0,f._clearTimer(l._id),f._cleanBuffer(l._node),n._autoSuspend()),!f._webAudio&&!g&&f.stop(l._id,!0),f},_clearTimer:function(l){var f=this;if(f._endTimers[l]){if(typeof f._endTimers[l]!="function")clearTimeout(f._endTimers[l]);else{var h=f._soundById(l);h&&h._node&&h._node.removeEventListener("ended",f._endTimers[l],!1)}delete f._endTimers[l]}return f},_soundById:function(l){for(var f=this,h=0;h<f._sounds.length;h++)if(l===f._sounds[h]._id)return f._sounds[h];return null},_inactiveSound:function(){var l=this;l._drain();for(var f=0;f<l._sounds.length;f++)if(l._sounds[f]._ended)return l._sounds[f].reset();return new i(l)},_drain:function(){var l=this,f=l._pool,h=0,g=0;if(!(l._sounds.length<f)){for(g=0;g<l._sounds.length;g++)l._sounds[g]._ended&&h++;for(g=l._sounds.length-1;g>=0;g--){if(h<=f)return;l._sounds[g]._ended&&(l._webAudio&&l._sounds[g]._node&&l._sounds[g]._node.disconnect(0),l._sounds.splice(g,1),h--)}}},_getSoundIds:function(l){var f=this;if(typeof l>"u"){for(var h=[],g=0;g<f._sounds.length;g++)h.push(f._sounds[g]._id);return h}else return[l]},_refreshBuffer:function(l){var f=this;return l._node.bufferSource=n.ctx.createBufferSource(),l._node.bufferSource.buffer=s[f._src],l._panner?l._node.bufferSource.connect(l._panner):l._node.bufferSource.connect(l._node),l._node.bufferSource.loop=l._loop,l._loop&&(l._node.bufferSource.loopStart=l._start||0,l._node.bufferSource.loopEnd=l._stop||0),l._node.bufferSource.playbackRate.setValueAtTime(l._rate,n.ctx.currentTime),f},_cleanBuffer:function(l){var f=this,h=n._navigator&&n._navigator.vendor.indexOf("Apple")>=0;if(!l.bufferSource)return f;if(n._scratchBuffer&&l.bufferSource&&(l.bufferSource.onended=null,l.bufferSource.disconnect(0),h))try{l.bufferSource.buffer=n._scratchBuffer}catch{}return l.bufferSource=null,f},_clearSound:function(l){var f=/MSIE |Trident\//.test(n._navigator&&n._navigator.userAgent);f||(l.src="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA")}};var i=function(l){this._parent=l,this.init()};i.prototype={init:function(){var l=this,f=l._parent;return l._muted=f._muted,l._loop=f._loop,l._volume=f._volume,l._rate=f._rate,l._seek=0,l._paused=!0,l._ended=!0,l._sprite="__default",l._id=++n._counter,f._sounds.push(l),l.create(),l},create:function(){var l=this,f=l._parent,h=n._muted||l._muted||l._parent._muted?0:l._volume;return f._webAudio?(l._node=typeof n.ctx.createGain>"u"?n.ctx.createGainNode():n.ctx.createGain(),l._node.gain.setValueAtTime(h,n.ctx.currentTime),l._node.paused=!0,l._node.connect(n.masterGain)):n.noAudio||(l._node=n._obtainHtml5Audio(),l._errorFn=l._errorListener.bind(l),l._node.addEventListener("error",l._errorFn,!1),l._loadFn=l._loadListener.bind(l),l._node.addEventListener(n._canPlayEvent,l._loadFn,!1),l._endFn=l._endListener.bind(l),l._node.addEventListener("ended",l._endFn,!1),l._node.src=f._src,l._node.preload=f._preload===!0?"auto":f._preload,l._node.volume=h*n.volume(),l._node.load()),l},reset:function(){var l=this,f=l._parent;return l._muted=f._muted,l._loop=f._loop,l._volume=f._volume,l._rate=f._rate,l._seek=0,l._rateSeek=0,l._paused=!0,l._ended=!0,l._sprite="__default",l._id=++n._counter,l},_errorListener:function(){var l=this;l._parent._emit("loaderror",l._id,l._node.error?l._node.error.code:0),l._node.removeEventListener("error",l._errorFn,!1)},_loadListener:function(){var l=this,f=l._parent;f._duration=Math.ceil(l._node.duration*10)/10,Object.keys(f._sprite).length===0&&(f._sprite={__default:[0,f._duration*1e3]}),f._state!=="loaded"&&(f._state="loaded",f._emit("load"),f._loadQueue()),l._node.removeEventListener(n._canPlayEvent,l._loadFn,!1)},_endListener:function(){var l=this,f=l._parent;f._duration===1/0&&(f._duration=Math.ceil(l._node.duration*10)/10,f._sprite.__default[1]===1/0&&(f._sprite.__default[1]=f._duration*1e3),f._ended(l)),l._node.removeEventListener("ended",l._endFn,!1)}};var s={},o=function(l){var f=l._src;if(s[f]){l._duration=s[f].duration,c(l);return}if(/^data:[^;]+;base64,/.test(f)){for(var h=atob(f.split(",")[1]),g=new Uint8Array(h.length),p=0;p<h.length;++p)g[p]=h.charCodeAt(p);u(g.buffer,l)}else{var b=new XMLHttpRequest;b.open(l._xhr.method,f,!0),b.withCredentials=l._xhr.withCredentials,b.responseType="arraybuffer",l._xhr.headers&&Object.keys(l._xhr.headers).forEach(function(y){b.setRequestHeader(y,l._xhr.headers[y])}),b.onload=function(){var y=(b.status+"")[0];if(y!=="0"&&y!=="2"&&y!=="3"){l._emit("loaderror",null,"Failed loading audio file with status: "+b.status+".");return}u(b.response,l)},b.onerror=function(){l._webAudio&&(l._html5=!0,l._webAudio=!1,l._sounds=[],delete s[f],l.load())},a(b)}},a=function(l){try{l.send()}catch{l.onerror()}},u=function(l,f){var h=function(){f._emit("loaderror",null,"Decoding audio data failed.")},g=function(p){p&&f._sounds.length>0?(s[f._src]=p,c(f,p)):h()};typeof Promise<"u"&&n.ctx.decodeAudioData.length===1?n.ctx.decodeAudioData(l).then(g).catch(h):n.ctx.decodeAudioData(l,g,h)},c=function(l,f){f&&!l._duration&&(l._duration=f.duration),Object.keys(l._sprite).length===0&&(l._sprite={__default:[0,l._duration*1e3]}),l._state!=="loaded"&&(l._state="loaded",l._emit("load"),l._loadQueue())},d=function(){if(n.usingWebAudio){try{typeof AudioContext<"u"?n.ctx=new AudioContext:typeof webkitAudioContext<"u"?n.ctx=new webkitAudioContext:n.usingWebAudio=!1}catch{n.usingWebAudio=!1}n.ctx||(n.usingWebAudio=!1);var l=/iP(hone|od|ad)/.test(n._navigator&&n._navigator.platform),f=n._navigator&&n._navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/),h=f?parseInt(f[1],10):null;if(l&&h&&h<9){var g=/safari/.test(n._navigator&&n._navigator.userAgent.toLowerCase());n._navigator&&!g&&(n.usingWebAudio=!1)}n.usingWebAudio&&(n.masterGain=typeof n.ctx.createGain>"u"?n.ctx.createGainNode():n.ctx.createGain(),n.masterGain.gain.setValueAtTime(n._muted?0:n._volume,n.ctx.currentTime),n.masterGain.connect(n.ctx.destination)),n._setup()}};t.Howler=n,t.Howl=r,typeof du<"u"?(du.HowlerGlobal=e,du.Howler=n,du.Howl=r,du.Sound=i):typeof window<"u"&&(window.HowlerGlobal=e,window.Howler=n,window.Howl=r,window.Sound=i)})();/*!
* Spatial Plugin - Adds support for stereo and 3D audio where Web Audio is supported.
*
* howler.js v2.2.4
* howlerjs.com
*
* (c) 2013-2020, James Simpson of GoldFire Studios
* goldfirestudios.com
*
* MIT License
*/(function(){HowlerGlobal.prototype._pos=[0,0,0],HowlerGlobal.prototype._orientation=[0,0,-1,0,1,0],HowlerGlobal.prototype.stereo=function(n){var r=this;if(!r.ctx||!r.ctx.listener)return r;for(var i=r._howls.length-1;i>=0;i--)r._howls[i].stereo(n);return r},HowlerGlobal.prototype.pos=function(n,r,i){var s=this;if(!s.ctx||!s.ctx.listener)return s;if(r=typeof r!="number"?s._pos[1]:r,i=typeof i!="number"?s._pos[2]:i,typeof n=="number")s._pos=[n,r,i],typeof s.ctx.listener.positionX<"u"?(s.ctx.listener.positionX.setTargetAtTime(s._pos[0],Howler.ctx.currentTime,.1),s.ctx.listener.positionY.setTargetAtTime(s._pos[1],Howler.ctx.currentTime,.1),s.ctx.listener.positionZ.setTargetAtTime(s._pos[2],Howler.ctx.currentTime,.1)):s.ctx.listener.setPosition(s._pos[0],s._pos[1],s._pos[2]);else return s._pos;return s},HowlerGlobal.prototype.orientation=function(n,r,i,s,o,a){var u=this;if(!u.ctx||!u.ctx.listener)return u;var c=u._orientation;if(r=typeof r!="number"?c[1]:r,i=typeof i!="number"?c[2]:i,s=typeof s!="number"?c[3]:s,o=typeof o!="number"?c[4]:o,a=typeof a!="number"?c[5]:a,typeof n=="number")u._orientation=[n,r,i,s,o,a],typeof u.ctx.listener.forwardX<"u"?(u.ctx.listener.forwardX.setTargetAtTime(n,Howler.ctx.currentTime,.1),u.ctx.listener.forwardY.setTargetAtTime(r,Howler.ctx.currentTime,.1),u.ctx.listener.forwardZ.setTargetAtTime(i,Howler.ctx.currentTime,.1),u.ctx.listener.upX.setTargetAtTime(s,Howler.ctx.currentTime,.1),u.ctx.listener.upY.setTargetAtTime(o,Howler.ctx.currentTime,.1),u.ctx.listener.upZ.setTargetAtTime(a,Howler.ctx.currentTime,.1)):u.ctx.listener.setOrientation(n,r,i,s,o,a);else return c;return u},Howl.prototype.init=(function(n){return function(r){var i=this;return i._orientation=r.orientation||[1,0,0],i._stereo=r.stereo||null,i._pos=r.pos||null,i._pannerAttr={coneInnerAngle:typeof r.coneInnerAngle<"u"?r.coneInnerAngle:360,coneOuterAngle:typeof r.coneOuterAngle<"u"?r.coneOuterAngle:360,coneOuterGain:typeof r.coneOuterGain<"u"?r.coneOuterGain:0,distanceModel:typeof r.distanceModel<"u"?r.distanceModel:"inverse",maxDistance:typeof r.maxDistance<"u"?r.maxDistance:1e4,panningModel:typeof r.panningModel<"u"?r.panningModel:"HRTF",refDistance:typeof r.refDistance<"u"?r.refDistance:1,rolloffFactor:typeof r.rolloffFactor<"u"?r.rolloffFactor:1},i._onstereo=r.onstereo?[{fn:r.onstereo}]:[],i._onpos=r.onpos?[{fn:r.onpos}]:[],i._onorientation=r.onorientation?[{fn:r.onorientation}]:[],n.call(this,r)}})(Howl.prototype.init),Howl.prototype.stereo=function(n,r){var i=this;if(!i._webAudio)return i;if(i._state!=="loaded")return i._queue.push({event:"stereo",action:function(){i.stereo(n,r)}}),i;var s=typeof Howler.ctx.createStereoPanner>"u"?"spatial":"stereo";if(typeof r>"u")if(typeof n=="number")i._stereo=n,i._pos=[n,0,0];else return i._stereo;for(var o=i._getSoundIds(r),a=0;a<o.length;a++){var u=i._soundById(o[a]);if(u)if(typeof n=="number")u._stereo=n,u._pos=[n,0,0],u._node&&(u._pannerAttr.panningModel="equalpower",(!u._panner||!u._panner.pan)&&e(u,s),s==="spatial"?typeof u._panner.positionX<"u"?(u._panner.positionX.setValueAtTime(n,Howler.ctx.currentTime),u._panner.positionY.setValueAtTime(0,Howler.ctx.currentTime),u._panner.positionZ.setValueAtTime(0,Howler.ctx.currentTime)):u._panner.setPosition(n,0,0):u._panner.pan.setValueAtTime(n,Howler.ctx.currentTime)),i._emit("stereo",u._id);else return u._stereo}return i},Howl.prototype.pos=function(n,r,i,s){var o=this;if(!o._webAudio)return o;if(o._state!=="loaded")return o._queue.push({event:"pos",action:function(){o.pos(n,r,i,s)}}),o;if(r=typeof r!="number"?0:r,i=typeof i!="number"?-.5:i,typeof s>"u")if(typeof n=="number")o._pos=[n,r,i];else return o._pos;for(var a=o._getSoundIds(s),u=0;u<a.length;u++){var c=o._soundById(a[u]);if(c)if(typeof n=="number")c._pos=[n,r,i],c._node&&((!c._panner||c._panner.pan)&&e(c,"spatial"),typeof c._panner.positionX<"u"?(c._panner.positionX.setValueAtTime(n,Howler.ctx.currentTime),c._panner.positionY.setValueAtTime(r,Howler.ctx.currentTime),c._panner.positionZ.setValueAtTime(i,Howler.ctx.currentTime)):c._panner.setPosition(n,r,i)),o._emit("pos",c._id);else return c._pos}return o},Howl.prototype.orientation=function(n,r,i,s){var o=this;if(!o._webAudio)return o;if(o._state!=="loaded")return o._queue.push({event:"orientation",action:function(){o.orientation(n,r,i,s)}}),o;if(r=typeof r!="number"?o._orientation[1]:r,i=typeof i!="number"?o._orientation[2]:i,typeof s>"u")if(typeof n=="number")o._orientation=[n,r,i];else return o._orientation;for(var a=o._getSoundIds(s),u=0;u<a.length;u++){var c=o._soundById(a[u]);if(c)if(typeof n=="number")c._orientation=[n,r,i],c._node&&(c._panner||(c._pos||(c._pos=o._pos||[0,0,-.5]),e(c,"spatial")),typeof c._panner.orientationX<"u"?(c._panner.orientationX.setValueAtTime(n,Howler.ctx.currentTime),c._panner.orientationY.setValueAtTime(r,Howler.ctx.currentTime),c._panner.orientationZ.setValueAtTime(i,Howler.ctx.currentTime)):c._panner.setOrientation(n,r,i)),o._emit("orientation",c._id);else return c._orientation}return o},Howl.prototype.pannerAttr=function(){var n=this,r=arguments,i,s,o;if(!n._webAudio)return n;if(r.length===0)return n._pannerAttr;if(r.length===1)if(typeof r[0]=="object")i=r[0],typeof s>"u"&&(i.pannerAttr||(i.pannerAttr={coneInnerAngle:i.coneInnerAngle,coneOuterAngle:i.coneOuterAngle,coneOuterGain:i.coneOuterGain,distanceModel:i.distanceModel,maxDistance:i.maxDistance,refDistance:i.refDistance,rolloffFactor:i.rolloffFactor,panningModel:i.panningModel}),n._pannerAttr={coneInnerAngle:typeof i.pannerAttr.coneInnerAngle<"u"?i.pannerAttr.coneInnerAngle:n._coneInnerAngle,coneOuterAngle:typeof i.pannerAttr.coneOuterAngle<"u"?i.pannerAttr.coneOuterAngle:n._coneOuterAngle,coneOuterGain:typeof i.pannerAttr.coneOuterGain<"u"?i.pannerAttr.coneOuterGain:n._coneOuterGain,distanceModel:typeof i.pannerAttr.distanceModel<"u"?i.pannerAttr.distanceModel:n._distanceModel,maxDistance:typeof i.pannerAttr.maxDistance<"u"?i.pannerAttr.maxDistance:n._maxDistance,refDistance:typeof i.pannerAttr.refDistance<"u"?i.pannerAttr.refDistance:n._refDistance,rolloffFactor:typeof i.pannerAttr.rolloffFactor<"u"?i.pannerAttr.rolloffFactor:n._rolloffFactor,panningModel:typeof i.pannerAttr.panningModel<"u"?i.pannerAttr.panningModel:n._panningModel});else return o=n._soundById(parseInt(r[0],10)),o?o._pannerAttr:n._pannerAttr;else r.length===2&&(i=r[0],s=parseInt(r[1],10));for(var a=n._getSoundIds(s),u=0;u<a.length;u++)if(o=n._soundById(a[u]),o){var c=o._pannerAttr;c={coneInnerAngle:typeof i.coneInnerAngle<"u"?i.coneInnerAngle:c.coneInnerAngle,coneOuterAngle:typeof i.coneOuterAngle<"u"?i.coneOuterAngle:c.coneOuterAngle,coneOuterGain:typeof i.coneOuterGain<"u"?i.coneOuterGain:c.coneOuterGain,distanceModel:typeof i.distanceModel<"u"?i.distanceModel:c.distanceModel,maxDistance:typeof i.maxDistance<"u"?i.maxDistance:c.maxDistance,refDistance:typeof i.refDistance<"u"?i.refDistance:c.refDistance,rolloffFactor:typeof i.rolloffFactor<"u"?i.rolloffFactor:c.rolloffFactor,panningModel:typeof i.panningModel<"u"?i.panningModel:c.panningModel};var d=o._panner;d||(o._pos||(o._pos=n._pos||[0,0,-.5]),e(o,"spatial"),d=o._panner),d.coneInnerAngle=c.coneInnerAngle,d.coneOuterAngle=c.coneOuterAngle,d.coneOuterGain=c.coneOuterGain,d.distanceModel=c.distanceModel,d.maxDistance=c.maxDistance,d.refDistance=c.refDistance,d.rolloffFactor=c.rolloffFactor,d.panningModel=c.panningModel}return n},Sound.prototype.init=(function(n){return function(){var r=this,i=r._parent;r._orientation=i._orientation,r._stereo=i._stereo,r._pos=i._pos,r._pannerAttr=i._pannerAttr,n.call(this),r._stereo?i.stereo(r._stereo):r._pos&&i.pos(r._pos[0],r._pos[1],r._pos[2],r._id)}})(Sound.prototype.init),Sound.prototype.reset=(function(n){return function(){var r=this,i=r._parent;return r._orientation=i._orientation,r._stereo=i._stereo,r._pos=i._pos,r._pannerAttr=i._pannerAttr,r._stereo?i.stereo(r._stereo):r._pos?i.pos(r._pos[0],r._pos[1],r._pos[2],r._id):r._panner&&(r._panner.disconnect(0),r._panner=void 0,i._refreshBuffer(r)),n.call(this)}})(Sound.prototype.reset);var e=function(n,r){r=r||"spatial",r==="spatial"?(n._panner=Howler.ctx.createPanner(),n._panner.coneInnerAngle=n._pannerAttr.coneInnerAngle,n._panner.coneOuterAngle=n._pannerAttr.coneOuterAngle,n._panner.coneOuterGain=n._pannerAttr.coneOuterGain,n._panner.distanceModel=n._pannerAttr.distanceModel,n._panner.maxDistance=n._pannerAttr.maxDistance,n._panner.refDistance=n._pannerAttr.refDistance,n._panner.rolloffFactor=n._pannerAttr.rolloffFactor,n._panner.panningModel=n._pannerAttr.panningModel,typeof n._panner.positionX<"u"?(n._panner.positionX.setValueAtTime(n._pos[0],Howler.ctx.currentTime),n._panner.positionY.setValueAtTime(n._pos[1],Howler.ctx.currentTime),n._panner.positionZ.setValueAtTime(n._pos[2],Howler.ctx.currentTime)):n._panner.setPosition(n._pos[0],n._pos[1],n._pos[2]),typeof n._panner.orientationX<"u"?(n._panner.orientationX.setValueAtTime(n._orientation[0],Howler.ctx.currentTime),n._panner.orientationY.setValueAtTime(n._orientation[1],Howler.ctx.currentTime),n._panner.orientationZ.setValueAtTime(n._orientation[2],Howler.ctx.currentTime)):n._panner.setOrientation(n._orientation[0],n._orientation[1],n._orientation[2])):(n._panner=Howler.ctx.createStereoPanner(),n._panner.pan.setValueAtTime(n._stereo,Howler.ctx.currentTime)),n._panner.connect(n._node),n._paused||n._parent.pause(n._id,!0).play(n._id,!0)}})()})(bp)),bp}var wp=nH();const rH={class:"audio-unlock"},iH={__name:"AudioUnlock",setup(t){const e=wi(),{audioMuted:n}=vw(e);let r;return wp.Howler._audioUnlocked?e.audioUnlocked=!0:lt.isClient&&(window.addEventListener("click",()=>{e.audioUnlocked=!0},{once:!0}),r=setInterval(()=>{wp.Howler._audioUnlocked&&(e.audioUnlocked=!0,clearInterval(r))},100)),Ve(n,i=>{wp.Howler.mute(i)}),(i,s)=>(ue(),me("div",rH))}},sH=Ss({__name:"App",setup(t){const e=fA(),n=j(""),r=wi(),i=gr(),{data:s,error:o,isLoading:a}=Rd("siteconfig",!0,3);Ve(s,c=>{c&&(i.siteConfig={...c})}),lt.isClient&&document.addEventListener("visibilitychange",()=>{r.tabVisible=document.visibilityState==="visible"||!1});function u(c){lt.isClient&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"page_view",page_title:c,page_location:window.location.href,page_path:window.location.pathname}))}return e.hooks.hook("entries:updated",c=>{lt.isClient&&setTimeout(()=>{var f;const d=e.headEntries().find(h=>h.input&&typeof h.input=="object"&&"title"in h.input),l=(f=d==null?void 0:d.input)==null?void 0:f.title;l&&l!==n.value&&(n.value=l,u(l))},0)}),kt(async()=>{s.value||await i.populateSiteConfig()}),bc(async()=>{a.value&&!s.value?await i.populateSiteConfig():s.value&&(i.siteConfig={...s.value})}),Vm.start(),(c,d)=>{const l=iH,f=cg("RouterView");return ue(),me(Qe,null,[je(l),je(f)],64)}}}),oH=["portfolio"],aH=["/prototype/","/test/","/readme"],lH=!1;function $A(t){let e=!1;return aH.forEach(n=>{t.includes(n)&&(e=!0)}),e?lH:!0}function HA(){return(NA.filter(e=>$A(e.path||""))||[]).map(e=>({...e,props:{slug:e.path.substring(1)||"index"}}))}function uH(){const t=FA(NA);return(t==null?void 0:t.filter(e=>$A(e.path||"")))||[]}function cH(t){t.component("ProxyBlock",tH)}J$(sH,{routes:HA(),base:"/"},async t=>{const{app:e,router:n}=t;Object.values([Bx,Yx]).forEach(s=>{var o;return(o=s.install)==null?void 0:o.call(s,t)});const r=await hH();FA(r).forEach(s=>{n.addRoute(s)}),cH(e)});function fH(t,e){var d,l,f;const n=gr(),r="default",i=n.internalRouting(t,e.system),s=(d=uH())==null?void 0:d.find(h=>h.path===i);let o=s==null?void 0:s.component;const a=i==="/"?"/index":`${i}/index`,u=oH.includes(t)?`${i}/index`:`${i}`;if(o)return{componentTemplate:o,path:u,layout:r,pathAlias:a};const c={page:$m,home:OA,portfolio:Id};return o=c[(l=e==null?void 0:e.system)==null?void 0:l.type]?c[(f=e==null?void 0:e.system)==null?void 0:f.type]:$m,{componentTemplate:o,path:u,layout:r,pathAlias:a}}async function dH(){const e=await gr().getAllRoutes();if(!e||!Array.isArray(e))return[];const n=[];return e.forEach(r=>{const i=r.elements||{},s=r.system||{};if(!i.slug||!i.slug.value)return;let o;const a=i.slug.value,u=s.type,{componentTemplate:c,path:d,layout:l,pathAlias:f}=fH(a,r);c&&(o={path:d,name:`${u}-${a}`,component:c,props:{slug:a},meta:{layout:l},alias:f},o.name&&n.push(o))}),n}async function hH(){const t=await dH(),e=HA(),n=await mH();return t.length<1?[...e,...n]:[...e,...t,...n]}function pH(t){if(!Array.isArray(t))return t;const e=[];return t.forEach(n=>{n.name&&n.terms&&n.terms.map(i=>{e.push(i.name)})}),e}async function mH(){const t=await rA("be"),n=pH(t).map(r=>({path:`/portfolio/${r}`,name:`portfolio-filter-${r}`,component:Id,props:{slug:"portfolio",filter:r},meta:{layout:"default"}}));return n.push({path:"/portfolio/:filter(.*)",name:"portfolio-filter-404",component:Id,props:{slug:"portfolio",filter:null},meta:{layout:"default"}}),n}export{yH as $,vw as A,lt as B,gr as C,We as D,xA as E,Qe as F,Iw as G,CA as H,Il as I,Ll as J,Ol as K,hA as L,mi as M,bt as N,_H as O,$H as P,Mt as Q,et as R,gt as S,NR as T,ch as U,ya as V,FR as W,WC as X,Z3 as Y,yn as Z,_t as _,J as a,cg as a0,vH as a1,rw as a2,Mc as a3,Ss as a4,h$ as a5,c$ as a6,EA as a7,oA as a8,wc as a9,Wd as aa,bc as ab,J3 as ac,xT as ad,EF as ae,MA as af,gA as ag,s_ as ah,Cc as ai,i_ as aj,du as ak,xF as al,ON as am,wi as b,me as c,Ie as d,xn as e,Ts as f,kt as g,Vt as h,tn as i,Zu as j,ut as k,_e as l,je as m,ot as n,ue as o,$i as p,G5 as q,j as r,o_ as s,AA as t,gn as u,ze as v,Ve as w,Zm as x,Oi as y,Sn as z};