@xcpcio/board-app 0.75.2 → 0.76.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/404.html +1 -1
- package/dist/assets/{Balloon.vue_vue_type_script_setup_true_lang-Cw5mKlP6.js → Balloon.vue_vue_type_script_setup_true_lang-CSQ5YKGG.js} +1 -1
- package/dist/assets/{Board-B_focp30.js → Board-BeTklLRc.js} +70 -70
- package/dist/assets/{ContestStateBadge-2eB9UgeA.js → ContestStateBadge-CwyDbCFW.js} +1 -1
- package/dist/assets/{Countdown-_e1WmD1Z.js → Countdown-DLrDMGKd.js} +1 -1
- package/dist/assets/{DataSourceInput.vue_vue_type_script_setup_true_lang-B1XI4zsB.js → DataSourceInput.vue_vue_type_script_setup_true_lang--VBCOOXa.js} +1 -1
- package/dist/assets/{NavBar-DqffB-To.js → NavBar-D2BnHvsZ.js} +1 -1
- package/dist/assets/{Resolver-Cdswx7dD.js → Resolver-D7zCcGfR.js} +1 -1
- package/dist/assets/{RightArrowIcon-ASzKllar.js → RightArrowIcon-DqLkJj3C.js} +1 -1
- package/dist/assets/{TheInput.vue_vue_type_script_setup_true_lang-C3GiJV4o.js → TheInput.vue_vue_type_script_setup_true_lang-CIDcaEQD.js} +1 -1
- package/dist/assets/{Tooltip.vue_vue_type_script_setup_true_lang-BzjHrCex.js → Tooltip.vue_vue_type_script_setup_true_lang-CJq_MXix.js} +1 -1
- package/dist/assets/{_...all_-D-RS9GfB.js → _...all_-DVX2_zmu.js} +1 -1
- package/dist/assets/{_...all_-DncsZYI5.js → _...all_-b9SzNF4e.js} +1 -1
- package/dist/assets/{board-layout-_R9n85-s.js → board-layout-DsAzNDS1.js} +1 -1
- package/dist/assets/constant-CGvDRLbn.js +1 -0
- package/dist/assets/{dayjs-CDQeLdpE.js → dayjs-YspiSQos.js} +1 -1
- package/dist/assets/default-ajdljrE8.js +1 -0
- package/dist/assets/{headless-BOt-atch.js → headless-BvbruiUg.js} +1 -1
- package/dist/assets/index-BRaapU_A.js +1 -0
- package/dist/assets/{index-99Hkl89C.js → index-BW0AKt-U.js} +2 -2
- package/dist/assets/{index-Cs7d6jbK.js → index-CAsXL1gc.js} +1 -1
- package/dist/assets/index-CvpEm1Rh.js +1 -0
- package/dist/assets/{index-C0X9msh5.js → index-D6bFvEte.js} +1 -1
- package/dist/assets/{index-Di6laDi4.js → index-DTls3Lta.js} +1 -1
- package/dist/assets/{index-layout-ClOXvNqI.js → index-layout-6DOGqUls.js} +1 -1
- package/dist/assets/{index-Bwa4u3Zk.js → index-zJ9qZe0w.js} +1 -1
- package/dist/assets/{pagination-BWHNOXqm.js → pagination-C3jHmetH.js} +1 -1
- package/dist/assets/{person-hQawOM24.js → person-DmDUQMs3.js} +1 -1
- package/dist/assets/{rank-DGk2KbBp.js → rank-OKGMw8MF.js} +1 -1
- package/dist/assets/{use-vmodel-BwR2Z-3A.js → use-vmodel-CE0lw_d2.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/src/components/board/Export.vue +30 -18
- package/dist/assets/constant-B4A9F229.js +0 -1
- package/dist/assets/default-6Bf5Es_S.js +0 -1
- package/dist/assets/index-C9dK3x8P.js +0 -1
- package/dist/assets/index-RAMlsvVJ.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.__toAssetUrl("assets/board-layout-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.__toAssetUrl("assets/board-layout-DsAzNDS1.js"),window.__toAssetUrl("assets/NavBar-D2BnHvsZ.js"),window.__toAssetUrl("assets/Tooltip.vue_vue_type_script_setup_true_lang-CJq_MXix.js"),window.__toAssetUrl("assets/Tooltip-DzyPDwbo.css"),window.__toAssetUrl("assets/constant-CGvDRLbn.js"),window.__toAssetUrl("assets/_plugin-vue_export-helper-DlAUqK2U.js"),window.__toAssetUrl("assets/NavBar-aT2xEvYz.css"),window.__toAssetUrl("assets/default-ajdljrE8.js"),window.__toAssetUrl("assets/headless-BvbruiUg.js"),window.__toAssetUrl("assets/index-layout-6DOGqUls.js"),window.__toAssetUrl("assets/index-CAsXL1gc.js"),window.__toAssetUrl("assets/RightArrowIcon-DqLkJj3C.js"),window.__toAssetUrl("assets/ContestStateBadge-CwyDbCFW.js"),window.__toAssetUrl("assets/use-vmodel-CE0lw_d2.js"),window.__toAssetUrl("assets/dayjs-YspiSQos.js"),window.__toAssetUrl("assets/ContestStateBadge-D6uf8wH-.css"),window.__toAssetUrl("assets/route-block-B_A1xBdJ.js"),window.__toAssetUrl("assets/index-Bce8wPYb.css"),window.__toAssetUrl("assets/_...all_-b9SzNF4e.js"),window.__toAssetUrl("assets/Countdown-DLrDMGKd.js"),window.__toAssetUrl("assets/TheInput.vue_vue_type_script_setup_true_lang-CIDcaEQD.js"),window.__toAssetUrl("assets/Countdown-CLZfeAst.css"),window.__toAssetUrl("assets/Balloon.vue_vue_type_script_setup_true_lang-CSQ5YKGG.js"),window.__toAssetUrl("assets/rank-OKGMw8MF.js"),window.__toAssetUrl("assets/person-DmDUQMs3.js"),window.__toAssetUrl("assets/Resolver-D7zCcGfR.js"),window.__toAssetUrl("assets/Resolver-DV9FleNP.css"),window.__toAssetUrl("assets/Board-BeTklLRc.js"),window.__toAssetUrl("assets/pagination-C3jHmetH.js"),window.__toAssetUrl("assets/Board-JvA5b1h4.css"),window.__toAssetUrl("assets/index-zJ9qZe0w.js"),window.__toAssetUrl("assets/DataSourceInput.vue_vue_type_script_setup_true_lang--VBCOOXa.js"),window.__toAssetUrl("assets/index-CvpEm1Rh.js"),window.__toAssetUrl("assets/index-D6bFvEte.js"),window.__toAssetUrl("assets/index-DTls3Lta.js"),window.__toAssetUrl("assets/index-D-msPqye.css"),window.__toAssetUrl("assets/_...all_-DVX2_zmu.js"),window.__toAssetUrl("assets/_..-5I0UWqRG.css"),window.__toAssetUrl("assets/index-BRaapU_A.js")])))=>i.map(i=>d[i]);
|
|
2
2
|
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();const nv="modulepreload",sv=function(e,t){return new URL(e,t).href},vf={},It=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){let c=function(u){return Promise.all(u.map(f=>Promise.resolve(f).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};const o=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");r=c(n.map(u=>{if(u=sv(u,s),u in vf)return;vf[u]=!0;const f=u.endsWith(".css"),h=f?'[rel="stylesheet"]':"";if(s)for(let p=o.length-1;p>=0;p--){const m=o[p];if(m.href===u&&(!f||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${h}`))return;const d=document.createElement("link");if(d.rel=f?"stylesheet":nv,f||(d.as="script"),d.crossOrigin="",d.href=u,l&&d.setAttribute("nonce",l),document.head.appendChild(d),f)return new Promise((p,m)=>{d.addEventListener("load",p),d.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${u}`)))})}))}function i(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return r.then(o=>{for(const a of o||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})};function rv(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Do=typeof window<"u",bs=(e,t=!1)=>t?Symbol.for(e):Symbol(e),iv=(e,t,n)=>ov({l:e,k:t,s:n}),ov=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ye=e=>typeof e=="number"&&isFinite(e),av=e=>xc(e)==="[object Date]",ko=e=>xc(e)==="[object RegExp]",ha=e=>_e(e)&&Object.keys(e).length===0,st=Object.assign,lv=Object.create,Ie=(e=null)=>lv(e);let Ef;const Mc=()=>Ef||(Ef=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Ie());function bf(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function Tf(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function cv(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(s,r,i)=>`${r}="${Tf(i)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(s,r,i)=>`${r}='${Tf(i)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.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(s=>{e=e.replace(s,"$1javascript:")}),e}const uv=Object.prototype.hasOwnProperty;function nn(e,t){return uv.call(e,t)}const We=Array.isArray,$e=e=>typeof e=="function",Z=e=>typeof e=="string",Ve=e=>typeof e=="boolean",Se=e=>e!==null&&typeof e=="object",fv=e=>Se(e)&&$e(e.then)&&$e(e.catch),dp=Object.prototype.toString,xc=e=>dp.call(e),_e=e=>xc(e)==="[object Object]",dv=e=>e==null?"":We(e)||_e(e)&&e.toString===dp?JSON.stringify(e,null,2):String(e);function Dc(e,t=""){return e.reduce((n,s,r)=>r===0?n+s:n+t+s,"")}const Ji=e=>!Se(e)||We(e);function bo(e,t){if(Ji(e)||Ji(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:s,des:r}=n.pop();Object.keys(s).forEach(i=>{i!=="__proto__"&&(Se(s[i])&&!Se(r[i])&&(r[i]=Array.isArray(s[i])?[]:Ie()),Ji(r[i])||Ji(s[i])?r[i]=s[i]:n.push({src:s[i],des:r[i]}))})}}function hv(e,t,n){return{line:e,column:t,offset:n}}function kl(e,t,n){return{start:e,end:t}}const Ae={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},pv=17;function pa(e,t,n={}){const{domain:s,messages:r,args:i}=n,o=e,a=new SyntaxError(String(o));return a.code=e,t&&(a.location=t),a.domain=s,a}function mv(e){throw e}const dn=" ",gv="\r",ft=`
|
|
3
3
|
`,_v="\u2028",yv="\u2029";function vv(e){const t=e;let n=0,s=1,r=1,i=0;const o=A=>t[A]===gv&&t[A+1]===ft,a=A=>t[A]===ft,l=A=>t[A]===yv,c=A=>t[A]===_v,u=A=>o(A)||a(A)||l(A)||c(A),f=()=>n,h=()=>s,d=()=>r,p=()=>i,m=A=>o(A)||l(A)||c(A)?ft:t[A],E=()=>m(n),g=()=>m(n+i);function v(){return i=0,u(n)&&(s++,r=0),o(n)&&n++,n++,r++,t[n]}function _(){return o(n+i)&&i++,i++,t[n+i]}function y(){n=0,s=1,r=1,i=0}function T(A=0){i=A}function O(){const A=n+i;for(;A!==n;)v();i=0}return{index:f,line:h,column:d,peekOffset:p,charAt:m,currentChar:E,currentPeek:g,next:v,peek:_,reset:y,resetPeek:T,skipToPeek:O}}const Cn=void 0,Ev=".",Sf="'",bv="tokenizer";function Tv(e,t={}){const n=t.location!==!1,s=vv(e),r=()=>s.index(),i=()=>hv(s.line(),s.column(),s.index()),o=i(),a=r(),l={currentType:13,offset:a,startLoc:o,endLoc:o,lastType:13,lastOffset:a,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function f(b,C,M,...F){const H=c();if(C.column+=M,C.offset+=M,u){const X=n?kl(H.startLoc,C):null,L=pa(b,X,{domain:bv,args:F});u(L)}}function h(b,C,M){b.endLoc=i(),b.currentType=C;const F={type:C};return n&&(F.loc=kl(b.startLoc,b.endLoc)),M!=null&&(F.value=M),F}const d=b=>h(b,13);function p(b,C){return b.currentChar()===C?(b.next(),C):(f(Ae.EXPECTED_TOKEN,i(),0,C),"")}function m(b){let C="";for(;b.currentPeek()===dn||b.currentPeek()===ft;)C+=b.currentPeek(),b.peek();return C}function E(b){const C=m(b);return b.skipToPeek(),C}function g(b){if(b===Cn)return!1;const C=b.charCodeAt(0);return C>=97&&C<=122||C>=65&&C<=90||C===95}function v(b){if(b===Cn)return!1;const C=b.charCodeAt(0);return C>=48&&C<=57}function _(b,C){const{currentType:M}=C;if(M!==2)return!1;m(b);const F=g(b.currentPeek());return b.resetPeek(),F}function y(b,C){const{currentType:M}=C;if(M!==2)return!1;m(b);const F=b.currentPeek()==="-"?b.peek():b.currentPeek(),H=v(F);return b.resetPeek(),H}function T(b,C){const{currentType:M}=C;if(M!==2)return!1;m(b);const F=b.currentPeek()===Sf;return b.resetPeek(),F}function O(b,C){const{currentType:M}=C;if(M!==7)return!1;m(b);const F=b.currentPeek()===".";return b.resetPeek(),F}function A(b,C){const{currentType:M}=C;if(M!==8)return!1;m(b);const F=g(b.currentPeek());return b.resetPeek(),F}function I(b,C){const{currentType:M}=C;if(!(M===7||M===11))return!1;m(b);const F=b.currentPeek()===":";return b.resetPeek(),F}function S(b,C){const{currentType:M}=C;if(M!==9)return!1;const F=()=>{const X=b.currentPeek();return X==="{"?g(b.peek()):X==="@"||X==="|"||X===":"||X==="."||X===dn||!X?!1:X===ft?(b.peek(),F()):x(b,!1)},H=F();return b.resetPeek(),H}function P(b){m(b);const C=b.currentPeek()==="|";return b.resetPeek(),C}function x(b,C=!0){const M=(H=!1,X="")=>{const L=b.currentPeek();return L==="{"||L==="@"||!L?H:L==="|"?!(X===dn||X===ft):L===dn?(b.peek(),M(!0,dn)):L===ft?(b.peek(),M(!0,ft)):!0},F=M();return C&&b.resetPeek(),F}function R(b,C){const M=b.currentChar();return M===Cn?Cn:C(M)?(b.next(),M):null}function $(b){const C=b.charCodeAt(0);return C>=97&&C<=122||C>=65&&C<=90||C>=48&&C<=57||C===95||C===36}function V(b){return R(b,$)}function K(b){const C=b.charCodeAt(0);return C>=97&&C<=122||C>=65&&C<=90||C>=48&&C<=57||C===95||C===36||C===45}function j(b){return R(b,K)}function q(b){const C=b.charCodeAt(0);return C>=48&&C<=57}function G(b){return R(b,q)}function ee(b){const C=b.charCodeAt(0);return C>=48&&C<=57||C>=65&&C<=70||C>=97&&C<=102}function we(b){return R(b,ee)}function Ce(b){let C="",M="";for(;C=G(b);)M+=C;return M}function xe(b){let C="";for(;;){const M=b.currentChar();if(M==="{"||M==="}"||M==="@"||M==="|"||!M)break;if(M===dn||M===ft)if(x(b))C+=M,b.next();else{if(P(b))break;C+=M,b.next()}else C+=M,b.next()}return C}function kt(b){E(b);let C="",M="";for(;C=j(b);)M+=C;const F=b.currentChar();if(F&&F!=="}"&&F!==Cn&&F!==dn&&F!==ft&&F!==" "){const H=te(b);return f(Ae.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,M+H),M+H}return b.currentChar()===Cn&&f(Ae.UNTERMINATED_CLOSING_BRACE,i(),0),M}function et(b){E(b);let C="";return b.currentChar()==="-"?(b.next(),C+=`-${Ce(b)}`):C+=Ce(b),b.currentChar()===Cn&&f(Ae.UNTERMINATED_CLOSING_BRACE,i(),0),C}function tt(b){return b!==Sf&&b!==ft}function ye(b){E(b),p(b,"'");let C="",M="";for(;C=R(b,tt);)C==="\\"?M+=U(b):M+=C;const F=b.currentChar();return F===ft||F===Cn?(f(Ae.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),F===ft&&(b.next(),p(b,"'")),M):(p(b,"'"),M)}function U(b){const C=b.currentChar();switch(C){case"\\":case"'":return b.next(),`\\${C}`;case"u":return J(b,C,4);case"U":return J(b,C,6);default:return f(Ae.UNKNOWN_ESCAPE_SEQUENCE,i(),0,C),""}}function J(b,C,M){p(b,C);let F="";for(let H=0;H<M;H++){const X=we(b);if(!X){f(Ae.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,`\\${C}${F}${b.currentChar()}`);break}F+=X}return`\\${C}${F}`}function Q(b){return b!=="{"&&b!=="}"&&b!==dn&&b!==ft}function te(b){E(b);let C="",M="";for(;C=R(b,Q);)M+=C;return M}function oe(b){let C="",M="";for(;C=V(b);)M+=C;return M}function Pe(b){const C=M=>{const F=b.currentChar();return F==="{"||F==="@"||F==="|"||F==="("||F===")"||!F||F===dn?M:(M+=F,b.next(),C(M))};return C("")}function w(b){E(b);const C=p(b,"|");return E(b),C}function N(b,C){let M=null;switch(b.currentChar()){case"{":return C.braceNest>=1&&f(Ae.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),b.next(),M=h(C,2,"{"),E(b),C.braceNest++,M;case"}":return C.braceNest>0&&C.currentType===2&&f(Ae.EMPTY_PLACEHOLDER,i(),0),b.next(),M=h(C,3,"}"),C.braceNest--,C.braceNest>0&&E(b),C.inLinked&&C.braceNest===0&&(C.inLinked=!1),M;case"@":return C.braceNest>0&&f(Ae.UNTERMINATED_CLOSING_BRACE,i(),0),M=D(b,C)||d(C),C.braceNest=0,M;default:{let H=!0,X=!0,L=!0;if(P(b))return C.braceNest>0&&f(Ae.UNTERMINATED_CLOSING_BRACE,i(),0),M=h(C,1,w(b)),C.braceNest=0,C.inLinked=!1,M;if(C.braceNest>0&&(C.currentType===4||C.currentType===5||C.currentType===6))return f(Ae.UNTERMINATED_CLOSING_BRACE,i(),0),C.braceNest=0,W(b,C);if(H=_(b,C))return M=h(C,4,kt(b)),E(b),M;if(X=y(b,C))return M=h(C,5,et(b)),E(b),M;if(L=T(b,C))return M=h(C,6,ye(b)),E(b),M;if(!H&&!X&&!L)return M=h(C,12,te(b)),f(Ae.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,M.value),E(b),M;break}}return M}function D(b,C){const{currentType:M}=C;let F=null;const H=b.currentChar();switch((M===7||M===8||M===11||M===9)&&(H===ft||H===dn)&&f(Ae.INVALID_LINKED_FORMAT,i(),0),H){case"@":return b.next(),F=h(C,7,"@"),C.inLinked=!0,F;case".":return E(b),b.next(),h(C,8,".");case":":return E(b),b.next(),h(C,9,":");default:return P(b)?(F=h(C,1,w(b)),C.braceNest=0,C.inLinked=!1,F):O(b,C)||I(b,C)?(E(b),D(b,C)):A(b,C)?(E(b),h(C,11,oe(b))):S(b,C)?(E(b),H==="{"?N(b,C)||F:h(C,10,Pe(b))):(M===7&&f(Ae.INVALID_LINKED_FORMAT,i(),0),C.braceNest=0,C.inLinked=!1,W(b,C))}}function W(b,C){let M={type:13};if(C.braceNest>0)return N(b,C)||d(C);if(C.inLinked)return D(b,C)||d(C);switch(b.currentChar()){case"{":return N(b,C)||d(C);case"}":return f(Ae.UNBALANCED_CLOSING_BRACE,i(),0),b.next(),h(C,3,"}");case"@":return D(b,C)||d(C);default:{if(P(b))return M=h(C,1,w(b)),C.braceNest=0,C.inLinked=!1,M;if(x(b))return h(C,0,xe(b));break}}return M}function B(){const{currentType:b,offset:C,startLoc:M,endLoc:F}=l;return l.lastType=b,l.lastOffset=C,l.lastStartLoc=M,l.lastEndLoc=F,l.offset=r(),l.startLoc=i(),s.currentChar()===Cn?h(l,13):W(s,l)}return{nextToken:B,currentOffset:r,currentPosition:i,context:c}}const Sv="parser",wv=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Cv(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const s=parseInt(t||n,16);return s<=55295||s>=57344?String.fromCodePoint(s):"�"}}}function Ov(e={}){const t=e.location!==!1,{onError:n}=e;function s(g,v,_,y,...T){const O=g.currentPosition();if(O.offset+=y,O.column+=y,n){const A=t?kl(_,O):null,I=pa(v,A,{domain:Sv,args:T});n(I)}}function r(g,v,_){const y={type:g};return t&&(y.start=v,y.end=v,y.loc={start:_,end:_}),y}function i(g,v,_,y){t&&(g.end=v,g.loc&&(g.loc.end=_))}function o(g,v){const _=g.context(),y=r(3,_.offset,_.startLoc);return y.value=v,i(y,g.currentOffset(),g.currentPosition()),y}function a(g,v){const _=g.context(),{lastOffset:y,lastStartLoc:T}=_,O=r(5,y,T);return O.index=parseInt(v,10),g.nextToken(),i(O,g.currentOffset(),g.currentPosition()),O}function l(g,v){const _=g.context(),{lastOffset:y,lastStartLoc:T}=_,O=r(4,y,T);return O.key=v,g.nextToken(),i(O,g.currentOffset(),g.currentPosition()),O}function c(g,v){const _=g.context(),{lastOffset:y,lastStartLoc:T}=_,O=r(9,y,T);return O.value=v.replace(wv,Cv),g.nextToken(),i(O,g.currentOffset(),g.currentPosition()),O}function u(g){const v=g.nextToken(),_=g.context(),{lastOffset:y,lastStartLoc:T}=_,O=r(8,y,T);return v.type!==11?(s(g,Ae.UNEXPECTED_EMPTY_LINKED_MODIFIER,_.lastStartLoc,0),O.value="",i(O,y,T),{nextConsumeToken:v,node:O}):(v.value==null&&s(g,Ae.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,hn(v)),O.value=v.value||"",i(O,g.currentOffset(),g.currentPosition()),{node:O})}function f(g,v){const _=g.context(),y=r(7,_.offset,_.startLoc);return y.value=v,i(y,g.currentOffset(),g.currentPosition()),y}function h(g){const v=g.context(),_=r(6,v.offset,v.startLoc);let y=g.nextToken();if(y.type===8){const T=u(g);_.modifier=T.node,y=T.nextConsumeToken||g.nextToken()}switch(y.type!==9&&s(g,Ae.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,hn(y)),y=g.nextToken(),y.type===2&&(y=g.nextToken()),y.type){case 10:y.value==null&&s(g,Ae.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,hn(y)),_.key=f(g,y.value||"");break;case 4:y.value==null&&s(g,Ae.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,hn(y)),_.key=l(g,y.value||"");break;case 5:y.value==null&&s(g,Ae.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,hn(y)),_.key=a(g,y.value||"");break;case 6:y.value==null&&s(g,Ae.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,hn(y)),_.key=c(g,y.value||"");break;default:{s(g,Ae.UNEXPECTED_EMPTY_LINKED_KEY,v.lastStartLoc,0);const T=g.context(),O=r(7,T.offset,T.startLoc);return O.value="",i(O,T.offset,T.startLoc),_.key=O,i(_,T.offset,T.startLoc),{nextConsumeToken:y,node:_}}}return i(_,g.currentOffset(),g.currentPosition()),{node:_}}function d(g){const v=g.context(),_=v.currentType===1?g.currentOffset():v.offset,y=v.currentType===1?v.endLoc:v.startLoc,T=r(2,_,y);T.items=[];let O=null;do{const S=O||g.nextToken();switch(O=null,S.type){case 0:S.value==null&&s(g,Ae.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,hn(S)),T.items.push(o(g,S.value||""));break;case 5:S.value==null&&s(g,Ae.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,hn(S)),T.items.push(a(g,S.value||""));break;case 4:S.value==null&&s(g,Ae.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,hn(S)),T.items.push(l(g,S.value||""));break;case 6:S.value==null&&s(g,Ae.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,hn(S)),T.items.push(c(g,S.value||""));break;case 7:{const P=h(g);T.items.push(P.node),O=P.nextConsumeToken||null;break}}}while(v.currentType!==13&&v.currentType!==1);const A=v.currentType===1?v.lastOffset:g.currentOffset(),I=v.currentType===1?v.lastEndLoc:g.currentPosition();return i(T,A,I),T}function p(g,v,_,y){const T=g.context();let O=y.items.length===0;const A=r(1,v,_);A.cases=[],A.cases.push(y);do{const I=d(g);O||(O=I.items.length===0),A.cases.push(I)}while(T.currentType!==13);return O&&s(g,Ae.MUST_HAVE_MESSAGES_IN_PLURAL,_,0),i(A,g.currentOffset(),g.currentPosition()),A}function m(g){const v=g.context(),{offset:_,startLoc:y}=v,T=d(g);return v.currentType===13?T:p(g,_,y,T)}function E(g){const v=Tv(g,st({},e)),_=v.context(),y=r(0,_.offset,_.startLoc);return t&&y.loc&&(y.loc.source=g),y.body=m(v),e.onCacheKey&&(y.cacheKey=e.onCacheKey(g)),_.currentType!==13&&s(v,Ae.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,g[_.offset]||""),i(y,v.currentOffset(),v.currentPosition()),y}return{parse:E}}function hn(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Av(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function wf(e,t){for(let n=0;n<e.length;n++)kc(e[n],t)}function kc(e,t){switch(e.type){case 1:wf(e.cases,t),t.helper("plural");break;case 2:wf(e.items,t);break;case 6:{kc(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function Nv(e,t={}){const n=Av(e);n.helper("normalize"),e.body&&kc(e.body,n);const s=n.context();e.helpers=Array.from(s.helpers)}function Pv(e){const t=e.body;return t.type===2?Cf(t):t.cases.forEach(n=>Cf(n)),e}function Cf(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const s=e.items[n];if(!(s.type===3||s.type===9)||s.value==null)break;t.push(s.value)}if(t.length===e.items.length){e.static=Dc(t);for(let n=0;n<e.items.length;n++){const s=e.items[n];(s.type===3||s.type===9)&&delete s.value}}}}function or(e){switch(e.t=e.type,e.type){case 0:{const t=e;or(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let s=0;s<n.length;s++)or(n[s]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let s=0;s<n.length;s++)or(n[s]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;or(t.key),t.k=t.key,delete t.key,t.modifier&&(or(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function Iv(e,t){const{filename:n,breakLineCode:s,needIndent:r}=t,i=t.location!==!1,o={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:s,needIndent:r,indentLevel:0};i&&e.loc&&(o.source=e.loc.source);const a=()=>o;function l(m,E){o.code+=m}function c(m,E=!0){const g=E?s:"";l(r?g+" ".repeat(m):g)}function u(m=!0){const E=++o.indentLevel;m&&c(E)}function f(m=!0){const E=--o.indentLevel;m&&c(E)}function h(){c(o.indentLevel)}return{context:a,push:l,indent:u,deindent:f,newline:h,helper:m=>`_${m}`,needIndent:()=>o.needIndent}}function Rv(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),_r(e,t.key),t.modifier?(e.push(", "),_r(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Lv(e,t){const{helper:n,needIndent:s}=e;e.push(`${n("normalize")}([`),e.indent(s());const r=t.items.length;for(let i=0;i<r&&(_r(e,t.items[i]),i!==r-1);i++)e.push(", ");e.deindent(s()),e.push("])")}function Mv(e,t){const{helper:n,needIndent:s}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(s());const r=t.cases.length;for(let i=0;i<r&&(_r(e,t.cases[i]),i!==r-1);i++)e.push(", ");e.deindent(s()),e.push("])")}}function xv(e,t){t.body?_r(e,t.body):e.push("null")}function _r(e,t){const{helper:n}=e;switch(t.type){case 0:xv(e,t);break;case 1:Mv(e,t);break;case 2:Lv(e,t);break;case 6:Rv(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const Dv=(e,t={})=>{const n=Z(t.mode)?t.mode:"normal",s=Z(t.filename)?t.filename:"message.intl";t.sourceMap;const r=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
4
4
|
`,i=t.needIndent?t.needIndent:n!=="arrow",o=e.helpers||[],a=Iv(e,{filename:s,breakLineCode:r,needIndent:i});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(i),o.length>0&&(a.push(`const { ${Dc(o.map(u=>`${u}: _${u}`),", ")} } = ctx`),a.newline()),a.push("return "),_r(a,e),a.deindent(i),a.push("}"),delete e.helpers;const{code:l,map:c}=a.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function kv(e,t={}){const n=st({},t),s=!!n.jit,r=!!n.minify,i=n.optimize==null?!0:n.optimize,a=Ov(n).parse(e);return s?(i&&Pv(a),r&&or(a),{ast:a,code:""}):(Nv(a,n),Dv(a,n))}function Fv(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Mc().__INTLIFY_PROD_DEVTOOLS__=!1)}function vn(e){return Se(e)&&Fc(e)===0&&(nn(e,"b")||nn(e,"body"))}const hp=["b","body"];function $v(e){return Ts(e,hp)}const pp=["c","cases"];function Vv(e){return Ts(e,pp,[])}const mp=["s","static"];function Hv(e){return Ts(e,mp)}const gp=["i","items"];function Uv(e){return Ts(e,gp,[])}const _p=["t","type"];function Fc(e){return Ts(e,_p)}const yp=["v","value"];function Zi(e,t){const n=Ts(e,yp);if(n!=null)return n;throw ii(t)}const vp=["m","modifier"];function Bv(e){return Ts(e,vp)}const Ep=["k","key"];function jv(e){const t=Ts(e,Ep);if(t)return t;throw ii(6)}function Ts(e,t,n){for(let s=0;s<t.length;s++){const r=t[s];if(nn(e,r)&&e[r]!=null)return e[r]}return n}const bp=[...hp,...pp,...mp,...gp,...Ep,...vp,...yp,..._p];function ii(e){return new Error(`unhandled node type: ${e}`)}function ol(e){return n=>Wv(n,e)}function Wv(e,t){const n=$v(t);if(n==null)throw ii(0);if(Fc(n)===1){const i=Vv(n);return e.plural(i.reduce((o,a)=>[...o,Of(e,a)],[]))}else return Of(e,n)}function Of(e,t){const n=Hv(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const s=Uv(t).reduce((r,i)=>[...r,Fl(e,i)],[]);return e.normalize(s)}}function Fl(e,t){const n=Fc(t);switch(n){case 3:return Zi(t,n);case 9:return Zi(t,n);case 4:{const s=t;if(nn(s,"k")&&s.k)return e.interpolate(e.named(s.k));if(nn(s,"key")&&s.key)return e.interpolate(e.named(s.key));throw ii(n)}case 5:{const s=t;if(nn(s,"i")&&Ye(s.i))return e.interpolate(e.list(s.i));if(nn(s,"index")&&Ye(s.index))return e.interpolate(e.list(s.index));throw ii(n)}case 6:{const s=t,r=Bv(s),i=jv(s);return e.linked(Fl(e,i),r?Fl(e,r):void 0,e.type)}case 7:return Zi(t,n);case 8:return Zi(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Gv=e=>e;let eo=Ie();function Kv(e,t={}){let n=!1;const s=t.onError||mv;return t.onError=r=>{n=!0,s(r)},{...kv(e,t),detectError:n}}function qv(e,t){if(Z(e)){Ve(t.warnHtmlMessage)&&t.warnHtmlMessage;const s=(t.onCacheKey||Gv)(e),r=eo[s];if(r)return r;const{ast:i,detectError:o}=Kv(e,{...t,location:!1,jit:!0}),a=ol(i);return o?a:eo[s]=a}else{const n=e.cacheKey;if(n){const s=eo[n];return s||(eo[n]=ol(e))}else return ol(e)}}let oi=null;function Xv(e){oi=e}function Qv(e,t,n){oi&&oi.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Yv=zv("function:translate");function zv(e){return t=>oi&&oi.emit(e,t)}const Dn={INVALID_ARGUMENT:pv,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},Jv=24;function kn(e){return pa(e,null,void 0)}function $c(e,t){return t.locale!=null?Af(t.locale):Af(e.locale)}let al;function Af(e){if(Z(e))return e;if($e(e)){if(e.resolvedOnce&&al!=null)return al;if(e.constructor.name==="Function"){const t=e();if(fv(t))throw kn(Dn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return al=t}else throw kn(Dn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw kn(Dn.NOT_SUPPORT_LOCALE_TYPE)}function Zv(e,t,n){return[...new Set([n,...We(t)?t:Se(t)?Object.keys(t):Z(t)?[t]:[n]])]}function Tp(e,t,n){const s=Z(n)?n:Fo,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let i=r.__localeChainCache.get(s);if(!i){i=[];let o=[n];for(;We(o);)o=Nf(i,o,t);const a=We(t)||!_e(t)?t:t.default?t.default:null;o=Z(a)?[a]:a,We(o)&&Nf(i,o,!1),r.__localeChainCache.set(s,i)}return i}function Nf(e,t,n){let s=!0;for(let r=0;r<t.length&&Ve(s);r++){const i=t[r];Z(i)&&(s=eE(e,t[r],n))}return s}function eE(e,t,n){let s;const r=t.split("-");do{const i=r.join("-");s=tE(e,i,n),r.splice(-1,1)}while(r.length&&s===!0);return s}function tE(e,t,n){let s=!1;if(!e.includes(t)&&(s=!0,t)){s=t[t.length-1]!=="!";const r=t.replace(/!/g,"");e.push(r),(We(n)||_e(n))&&n[r]&&(s=n[r])}return s}const Ss=[];Ss[0]={w:[0],i:[3,0],"[":[4],o:[7]};Ss[1]={w:[1],".":[2],"[":[4],o:[7]};Ss[2]={w:[2],i:[3,0],0:[3,0]};Ss[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Ss[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Ss[5]={"'":[4,0],o:8,l:[5,0]};Ss[6]={'"':[4,0],o:8,l:[6,0]};const nE=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function sE(e){return nE.test(e)}function rE(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function iE(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;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 oE(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:sE(t)?rE(t):"*"+t}function aE(e){const t=[];let n=-1,s=0,r=0,i,o,a,l,c,u,f;const h=[];h[0]=()=>{o===void 0?o=a:o+=a},h[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},h[2]=()=>{h[0](),r++},h[3]=()=>{if(r>0)r--,s=4,h[0]();else{if(r=0,o===void 0||(o=oE(o),o===!1))return!1;h[1]()}};function d(){const p=e[n+1];if(s===5&&p==="'"||s===6&&p==='"')return n++,a="\\"+p,h[0](),!0}for(;s!==null;)if(n++,i=e[n],!(i==="\\"&&d())){if(l=iE(i),f=Ss[s],c=f[l]||f.l||8,c===8||(s=c[0],c[1]!==void 0&&(u=h[c[1]],u&&(a=i,u()===!1))))return;if(s===7)return t}}const Pf=new Map;function lE(e,t){return Se(e)?e[t]:null}function cE(e,t){if(!Se(e))return null;let n=Pf.get(t);if(n||(n=aE(t),n&&Pf.set(t,n)),!n)return null;const s=n.length;let r=e,i=0;for(;i<s;){const o=n[i];if(bp.includes(o)&&vn(r))return null;const a=r[o];if(a===void 0||$e(r))return null;r=a,i++}return r}const uE="11.2.2",ma=-1,Fo="en-US",If="",Rf=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function fE(){return{upper:(e,t)=>t==="text"&&Z(e)?e.toUpperCase():t==="vnode"&&Se(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Z(e)?e.toLowerCase():t==="vnode"&&Se(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Z(e)?Rf(e):t==="vnode"&&Se(e)&&"__v_isVNode"in e?Rf(e.children):e}}let Sp;function dE(e){Sp=e}let wp;function hE(e){wp=e}let Cp;function pE(e){Cp=e}let Op=null;const mE=e=>{Op=e},gE=()=>Op;let Ap=null;const Lf=e=>{Ap=e},_E=()=>Ap;let Mf=0;function yE(e={}){const t=$e(e.onWarn)?e.onWarn:rv,n=Z(e.version)?e.version:uE,s=Z(e.locale)||$e(e.locale)?e.locale:Fo,r=$e(s)?Fo:s,i=We(e.fallbackLocale)||_e(e.fallbackLocale)||Z(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,o=_e(e.messages)?e.messages:ll(r),a=_e(e.datetimeFormats)?e.datetimeFormats:ll(r),l=_e(e.numberFormats)?e.numberFormats:ll(r),c=st(Ie(),e.modifiers,fE()),u=e.pluralRules||Ie(),f=$e(e.missing)?e.missing:null,h=Ve(e.missingWarn)||ko(e.missingWarn)?e.missingWarn:!0,d=Ve(e.fallbackWarn)||ko(e.fallbackWarn)?e.fallbackWarn:!0,p=!!e.fallbackFormat,m=!!e.unresolving,E=$e(e.postTranslation)?e.postTranslation:null,g=_e(e.processor)?e.processor:null,v=Ve(e.warnHtmlMessage)?e.warnHtmlMessage:!0,_=!!e.escapeParameter,y=$e(e.messageCompiler)?e.messageCompiler:Sp,T=$e(e.messageResolver)?e.messageResolver:wp||lE,O=$e(e.localeFallbacker)?e.localeFallbacker:Cp||Zv,A=Se(e.fallbackContext)?e.fallbackContext:void 0,I=e,S=Se(I.__datetimeFormatters)?I.__datetimeFormatters:new Map,P=Se(I.__numberFormatters)?I.__numberFormatters:new Map,x=Se(I.__meta)?I.__meta:{};Mf++;const R={version:n,cid:Mf,locale:s,fallbackLocale:i,messages:o,modifiers:c,pluralRules:u,missing:f,missingWarn:h,fallbackWarn:d,fallbackFormat:p,unresolving:m,postTranslation:E,processor:g,warnHtmlMessage:v,escapeParameter:_,messageCompiler:y,messageResolver:T,localeFallbacker:O,fallbackContext:A,onWarn:t,__meta:x};return R.datetimeFormats=a,R.numberFormats=l,R.__datetimeFormatters=S,R.__numberFormatters=P,__INTLIFY_PROD_DEVTOOLS__&&Qv(R,n,x),R}const ll=e=>({[e]:Ie()});function Vc(e,t,n,s,r){const{missing:i,onWarn:o}=e;if(i!==null){const a=i(e,n,t,r);return Z(a)?a:t}else return t}function $r(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function vE(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function EE(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let s=n+1;s<t.length;s++)if(vE(e,t[s]))return!0;return!1}function xf(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:r,onWarn:i,localeFallbacker:o}=e,{__datetimeFormatters:a}=e,[l,c,u,f]=$l(...t),h=Ve(u.missingWarn)?u.missingWarn:e.missingWarn;Ve(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const d=!!u.part,p=$c(e,u),m=o(e,r,p);if(!Z(l)||l==="")return new Intl.DateTimeFormat(p,f).format(c);let E={},g,v=null;const _="datetime format";for(let O=0;O<m.length&&(g=m[O],E=n[g]||{},v=E[l],!_e(v));O++)Vc(e,l,g,h,_);if(!_e(v)||!Z(g))return s?ma:l;let y=`${g}__${l}`;ha(f)||(y=`${y}__${JSON.stringify(f)}`);let T=a.get(y);return T||(T=new Intl.DateTimeFormat(g,st({},v,f)),a.set(y,T)),d?T.formatToParts(c):T.format(c)}const Np=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function $l(...e){const[t,n,s,r]=e,i=Ie();let o=Ie(),a;if(Z(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw kn(Dn.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(c);try{a.toISOString()}catch{throw kn(Dn.INVALID_ISO_DATE_ARGUMENT)}}else if(av(t)){if(isNaN(t.getTime()))throw kn(Dn.INVALID_DATE_ARGUMENT);a=t}else if(Ye(t))a=t;else throw kn(Dn.INVALID_ARGUMENT);return Z(n)?i.key=n:_e(n)&&Object.keys(n).forEach(l=>{Np.includes(l)?o[l]=n[l]:i[l]=n[l]}),Z(s)?i.locale=s:_e(s)&&(o=s),_e(r)&&(o=r),[i.key||"",a,i,o]}function Df(e,t,n){const s=e;for(const r in n){const i=`${t}__${r}`;s.__datetimeFormatters.has(i)&&s.__datetimeFormatters.delete(i)}}function kf(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:r,onWarn:i,localeFallbacker:o}=e,{__numberFormatters:a}=e,[l,c,u,f]=Vl(...t),h=Ve(u.missingWarn)?u.missingWarn:e.missingWarn;Ve(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const d=!!u.part,p=$c(e,u),m=o(e,r,p);if(!Z(l)||l==="")return new Intl.NumberFormat(p,f).format(c);let E={},g,v=null;const _="number format";for(let O=0;O<m.length&&(g=m[O],E=n[g]||{},v=E[l],!_e(v));O++)Vc(e,l,g,h,_);if(!_e(v)||!Z(g))return s?ma:l;let y=`${g}__${l}`;ha(f)||(y=`${y}__${JSON.stringify(f)}`);let T=a.get(y);return T||(T=new Intl.NumberFormat(g,st({},v,f)),a.set(y,T)),d?T.formatToParts(c):T.format(c)}const Pp=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Vl(...e){const[t,n,s,r]=e,i=Ie();let o=Ie();if(!Ye(t))throw kn(Dn.INVALID_ARGUMENT);const a=t;return Z(n)?i.key=n:_e(n)&&Object.keys(n).forEach(l=>{Pp.includes(l)?o[l]=n[l]:i[l]=n[l]}),Z(s)?i.locale=s:_e(s)&&(o=s),_e(r)&&(o=r),[i.key||"",a,i,o]}function Ff(e,t,n){const s=e;for(const r in n){const i=`${t}__${r}`;s.__numberFormatters.has(i)&&s.__numberFormatters.delete(i)}}const bE=e=>e,TE=e=>"",SE="text",wE=e=>e.length===0?"":Dc(e),CE=dv;function $f(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function OE(e){const t=Ye(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ye(e.named.count)||Ye(e.named.n))?Ye(e.named.count)?e.named.count:Ye(e.named.n)?e.named.n:t:t}function AE(e,t){t.count||(t.count=e),t.n||(t.n=e)}function NE(e={}){const t=e.locale,n=OE(e),s=Se(e.pluralRules)&&Z(t)&&$e(e.pluralRules[t])?e.pluralRules[t]:$f,r=Se(e.pluralRules)&&Z(t)&&$e(e.pluralRules[t])?$f:void 0,i=g=>g[s(n,g.length,r)],o=e.list||[],a=g=>o[g],l=e.named||Ie();Ye(e.pluralIndex)&&AE(n,l);const c=g=>l[g];function u(g,v){const _=$e(e.messages)?e.messages(g,!!v):Se(e.messages)?e.messages[g]:!1;return _||(e.parent?e.parent.message(g):TE)}const f=g=>e.modifiers?e.modifiers[g]:bE,h=_e(e.processor)&&$e(e.processor.normalize)?e.processor.normalize:wE,d=_e(e.processor)&&$e(e.processor.interpolate)?e.processor.interpolate:CE,p=_e(e.processor)&&Z(e.processor.type)?e.processor.type:SE,E={list:a,named:c,plural:i,linked:(g,...v)=>{const[_,y]=v;let T="text",O="";v.length===1?Se(_)?(O=_.modifier||O,T=_.type||T):Z(_)&&(O=_||O):v.length===2&&(Z(_)&&(O=_||O),Z(y)&&(T=y||T));const A=u(g,!0)(E),I=T==="vnode"&&We(A)&&O?A[0]:A;return O?f(O)(I,T):I},message:u,type:p,interpolate:d,normalize:h,values:st(Ie(),o,l)};return E}const Vf=()=>"",Wt=e=>$e(e);function Hf(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:r,messageCompiler:i,fallbackLocale:o,messages:a}=e,[l,c]=Hl(...t),u=Ve(c.missingWarn)?c.missingWarn:e.missingWarn,f=Ve(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,h=Ve(c.escapeParameter)?c.escapeParameter:e.escapeParameter,d=!!c.resolvedMessage,p=Z(c.default)||Ve(c.default)?Ve(c.default)?i?l:()=>l:c.default:n?i?l:()=>l:null,m=n||p!=null&&(Z(p)||$e(p)),E=$c(e,c);h&&PE(c);let[g,v,_]=d?[l,E,a[E]||Ie()]:Ip(e,l,E,o,f,u),y=g,T=l;if(!d&&!(Z(y)||vn(y)||Wt(y))&&m&&(y=p,T=y),!d&&(!(Z(y)||vn(y)||Wt(y))||!Z(v)))return r?ma:l;let O=!1;const A=()=>{O=!0},I=Wt(y)?y:Rp(e,l,v,y,T,A);if(O)return y;const S=LE(e,v,_,c),P=NE(S),x=IE(e,I,P);let R=s?s(x,l):x;if(h&&Z(R)&&(R=cv(R)),__INTLIFY_PROD_DEVTOOLS__){const $={timestamp:Date.now(),key:Z(l)?l:Wt(y)?y.key:"",locale:v||(Wt(y)?y.locale:""),format:Z(y)?y:Wt(y)?y.source:"",message:R};$.meta=st({},e.__meta,gE()||{}),Yv($)}return R}function PE(e){We(e.list)?e.list=e.list.map(t=>Z(t)?bf(t):t):Se(e.named)&&Object.keys(e.named).forEach(t=>{Z(e.named[t])&&(e.named[t]=bf(e.named[t]))})}function Ip(e,t,n,s,r,i){const{messages:o,onWarn:a,messageResolver:l,localeFallbacker:c}=e,u=c(e,s,n);let f=Ie(),h,d=null;const p="translate";for(let m=0;m<u.length&&(h=u[m],f=o[h]||Ie(),(d=l(f,t))===null&&(d=f[t]),!(Z(d)||vn(d)||Wt(d)));m++)if(!EE(h,u)){const E=Vc(e,t,h,i,p);E!==t&&(d=E)}return[d,h,f]}function Rp(e,t,n,s,r,i){const{messageCompiler:o,warnHtmlMessage:a}=e;if(Wt(s)){const c=s;return c.locale=c.locale||n,c.key=c.key||t,c}if(o==null){const c=(()=>s);return c.locale=n,c.key=t,c}const l=o(s,RE(e,n,r,s,a,i));return l.locale=n,l.key=t,l.source=s,l}function IE(e,t,n){return t(n)}function Hl(...e){const[t,n,s]=e,r=Ie();if(!Z(t)&&!Ye(t)&&!Wt(t)&&!vn(t))throw kn(Dn.INVALID_ARGUMENT);const i=Ye(t)?String(t):(Wt(t),t);return Ye(n)?r.plural=n:Z(n)?r.default=n:_e(n)&&!ha(n)?r.named=n:We(n)&&(r.list=n),Ye(s)?r.plural=s:Z(s)?r.default=s:_e(s)&&st(r,s),[i,r]}function RE(e,t,n,s,r,i){return{locale:t,key:n,warnHtmlMessage:r,onError:o=>{throw i&&i(o),o},onCacheKey:o=>iv(t,n,o)}}function LE(e,t,n,s){const{modifiers:r,pluralRules:i,messageResolver:o,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,h={locale:t,modifiers:r,pluralRules:i,messages:(d,p)=>{let m=o(n,d);if(m==null&&(u||p)){const[,,E]=Ip(u||e,d,t,a,l,c);m=o(E,d)}if(Z(m)||vn(m)){let E=!1;const v=Rp(e,d,t,m,d,()=>{E=!0});return E?Vf:v}else return Wt(m)?m:Vf}};return e.processor&&(h.processor=e.processor),s.list&&(h.list=s.list),s.named&&(h.named=s.named),Ye(s.plural)&&(h.pluralIndex=s.plural),h}Fv();function ot(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ue={},Ds=[],rt=()=>{},Ls=()=>!1,ws=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ga=e=>e.startsWith("onUpdate:"),le=Object.assign,_a=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ME=Object.prototype.hasOwnProperty,ve=(e,t)=>ME.call(e,t),z=Array.isArray,ks=e=>Zs(e)==="[object Map]",Cs=e=>Zs(e)==="[object Set]",Ul=e=>Zs(e)==="[object Date]",Lp=e=>Zs(e)==="[object RegExp]",se=e=>typeof e=="function",re=e=>typeof e=="string",At=e=>typeof e=="symbol",be=e=>e!==null&&typeof e=="object",ya=e=>(be(e)||se(e))&&se(e.then)&&se(e.catch),Hc=Object.prototype.toString,Zs=e=>Hc.call(e),Mp=e=>Zs(e).slice(8,-1),xi=e=>Zs(e)==="[object Object]",Di=e=>re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Fn=ot(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),xp=ot("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),va=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},xE=/-\w/g,Me=va(e=>e.replace(xE,t=>t.slice(1).toUpperCase())),DE=/\B([A-Z])/g,gt=va(e=>e.replace(DE,"-$1").toLowerCase()),Os=va(e=>e.charAt(0).toUpperCase()+e.slice(1)),Fs=va(e=>e?`on${Os(e)}`:""),pt=(e,t)=>!Object.is(e,t),$s=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Uc=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},ki=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ai=e=>{const t=re(e)?Number(e):NaN;return isNaN(t)?e:t};let Uf;const Fi=()=>Uf||(Uf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),kE=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function FE(e){return kE.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`}function $E(e,t){return e+JSON.stringify(t,(n,s)=>typeof s=="function"?s.toString():s)}const VE={TEXT:1,1:"TEXT",CLASS:2,2:"CLASS",STYLE:4,4:"STYLE",PROPS:8,8:"PROPS",FULL_PROPS:16,16:"FULL_PROPS",NEED_HYDRATION:32,32:"NEED_HYDRATION",STABLE_FRAGMENT:64,64:"STABLE_FRAGMENT",KEYED_FRAGMENT:128,128:"KEYED_FRAGMENT",UNKEYED_FRAGMENT:256,256:"UNKEYED_FRAGMENT",NEED_PATCH:512,512:"NEED_PATCH",DYNAMIC_SLOTS:1024,1024:"DYNAMIC_SLOTS",DEV_ROOT_FRAGMENT:2048,2048:"DEV_ROOT_FRAGMENT",CACHED:-1,"-1":"CACHED",BAIL:-2,"-2":"BAIL"},HE={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"CACHED",[-2]:"BAIL"},UE={ELEMENT:1,1:"ELEMENT",FUNCTIONAL_COMPONENT:2,2:"FUNCTIONAL_COMPONENT",STATEFUL_COMPONENT:4,4:"STATEFUL_COMPONENT",TEXT_CHILDREN:8,8:"TEXT_CHILDREN",ARRAY_CHILDREN:16,16:"ARRAY_CHILDREN",SLOTS_CHILDREN:32,32:"SLOTS_CHILDREN",TELEPORT:64,64:"TELEPORT",SUSPENSE:128,128:"SUSPENSE",COMPONENT_SHOULD_KEEP_ALIVE:256,256:"COMPONENT_SHOULD_KEEP_ALIVE",COMPONENT_KEPT_ALIVE:512,512:"COMPONENT_KEPT_ALIVE",COMPONENT:6,6:"COMPONENT"},BE={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},jE={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},WE="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",Bc=ot(WE),GE=Bc,Bf=2;function Dp(e,t=0,n=e.length){if(t=Math.max(0,Math.min(t,e.length)),n=Math.max(0,Math.min(n,e.length)),t>n)return"";let s=e.split(/(\r?\n)/);const r=s.filter((a,l)=>l%2===1);s=s.filter((a,l)=>l%2===0);let i=0;const o=[];for(let a=0;a<s.length;a++)if(i+=s[a].length+(r[a]&&r[a].length||0),i>=t){for(let l=a-Bf;l<=a+Bf||n>i;l++){if(l<0||l>=s.length)continue;const c=l+1;o.push(`${c}${" ".repeat(Math.max(3-String(c).length,0))}| ${s[l]}`);const u=s[l].length,f=r[l]&&r[l].length||0;if(l===a){const h=t-(i-(u+f)),d=Math.max(1,n>i?u-h:n-t);o.push(" | "+" ".repeat(h)+"^".repeat(d))}else if(l>a){if(n>i){const h=Math.max(Math.min(n-i,u),1);o.push(" | "+"^".repeat(h))}i+=u+f}}break}return o.join(`
|
|
@@ -12,4 +12,4 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
12
12
|
`,-1),l())),e.components.length&&(Cl(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(Cl(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),Cl(e.filters,"filter",n),l()),e.temps>0){r("let ");for(let v=0;v<e.temps;v++)r(`${v>0?", ":""}_temp${v}`)}return(e.components.length||e.directives.length||e.temps)&&(r(`
|
|
13
13
|
`,0),l()),u||r("return "),e.codegenNode?yt(e.codegenNode,n):r("null"),d&&(a(),r("}")),a(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function pC(e,t){const{ssr:n,prefixIdentifiers:s,push:r,newline:i,runtimeModuleName:o,runtimeGlobalName:a,ssrRuntimeModuleName:l}=t,c=a,u=Array.from(e.helpers);if(u.length>0&&(r(`const _Vue = ${c}
|
|
14
14
|
`,-1),e.hoists.length)){const f=[Da,ka,Dr,Fa,Iu].filter(h=>u.includes(h)).map(P_).join(", ");r(`const { ${f} } = _Vue
|
|
15
|
-
`,-1)}mC(e.hoists,t),i(),r("return ")}function Cl(e,t,{helper:n,push:s,newline:r,isTS:i}){const o=n(t==="filter"?Ua:t==="component"?$a:Ha);for(let a=0;a<e.length;a++){let l=e[a];const c=l.endsWith("__self");c&&(l=l.slice(0,-6)),s(`const ${Pr(l,t)} = ${o}(${JSON.stringify(l)}${c?", true":""})${i?"!":""}`),a<e.length-1&&r()}}function mC(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:s}=t;s();for(let r=0;r<e.length;r++){const i=e[r];i&&(n(`const _hoisted_${r+1} = `),yt(i,t),s())}t.pure=!1}function Wu(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Qi(e,t,n),n&&t.deindent(),t.push("]")}function Qi(e,t,n=!1,s=!0){const{push:r,newline:i}=t;for(let o=0;o<e.length;o++){const a=e[o];re(a)?r(a,-3):z(a)?Wu(a,t):yt(a,t),o<e.length-1&&(n?(s&&r(","),i()):s&&r(", "))}}function yt(e,t){if(re(e)){t.push(e,-3);return}if(At(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:yt(e.codegenNode,t);break;case 2:gC(e,t);break;case 4:R_(e,t);break;case 5:_C(e,t);break;case 12:yt(e.codegenNode,t);break;case 8:L_(e,t);break;case 3:vC(e,t);break;case 13:EC(e,t);break;case 14:TC(e,t);break;case 15:SC(e,t);break;case 17:wC(e,t);break;case 18:CC(e,t);break;case 19:OC(e,t);break;case 20:AC(e,t);break;case 21:Qi(e.body,t,!0,!1);break}}function gC(e,t){t.push(JSON.stringify(e.content),-3,e)}function R_(e,t){const{content:n,isStatic:s}=e;t.push(s?JSON.stringify(n):n,-3,e)}function _C(e,t){const{push:n,helper:s,pure:r}=t;r&&n(za),n(`${s(Gi)}(`),yt(e.content,t),n(")")}function L_(e,t){for(let n=0;n<e.children.length;n++){const s=e.children[n];re(s)?t.push(s,-3):yt(s,t)}}function yC(e,t){const{push:n}=t;if(e.type===8)n("["),L_(e,t),n("]");else if(e.isStatic){const s=Ki(e.content)?e.content:JSON.stringify(e.content);n(s,-2,e)}else n(`[${e.content}]`,-3,e)}function vC(e,t){const{push:n,helper:s,pure:r}=t;r&&n(za),n(`${s(Dr)}(${JSON.stringify(e.content)})`,-3,e)}function EC(e,t){const{push:n,helper:s,pure:r}=t,{tag:i,props:o,children:a,patchFlag:l,dynamicProps:c,directives:u,isBlock:f,disableTracking:h,isComponent:d}=e;let p;l&&(p=String(l)),u&&n(s(Ba)+"("),f&&n(`(${s(vs)}(${h?"true":""}), `),r&&n(za);const m=f?zs(t.inSSR,d):Ys(t.inSSR,d);n(s(m)+"(",-2,e),Qi(bC([i,o,a,p,c]),t),n(")"),f&&n(")"),u&&(n(", "),yt(u,t),n(")"))}function bC(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(n=>n||"null")}function TC(e,t){const{push:n,helper:s,pure:r}=t,i=re(e.callee)?e.callee:s(e.callee);r&&n(za),n(i+"(",-2,e),Qi(e.arguments,t),n(")")}function SC(e,t){const{push:n,indent:s,deindent:r,newline:i}=t,{properties:o}=e;if(!o.length){n("{}",-2,e);return}const a=o.length>1||!1;n(a?"{":"{ "),a&&s();for(let l=0;l<o.length;l++){const{key:c,value:u}=o[l];yC(c,t),n(": "),yt(u,t),l<o.length-1&&(n(","),i())}a&&r(),n(a?"}":" }")}function wC(e,t){Wu(e.elements,t)}function CC(e,t){const{push:n,indent:s,deindent:r}=t,{params:i,returns:o,body:a,newline:l,isSlot:c}=e;c&&n(`_${Xs[qa]}(`),n("(",-2,e),z(i)?Qi(i,t):i&&yt(i,t),n(") => "),(l||a)&&(n("{"),s()),o?(l&&n("return "),z(o)?Wu(o,t):yt(o,t)):a&&yt(a,t),(l||a)&&(r(),n("}")),c&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function OC(e,t){const{test:n,consequent:s,alternate:r,newline:i}=e,{push:o,indent:a,deindent:l,newline:c}=t;if(n.type===4){const f=!Ki(n.content);f&&o("("),R_(n,t),f&&o(")")}else o("("),yt(n,t),o(")");i&&a(),t.indentLevel++,i||o(" "),o("? "),yt(s,t),t.indentLevel--,i&&c(),i||o(" "),o(": ");const u=r.type===19;u||t.indentLevel++,yt(r,t),u||t.indentLevel--,i&&l(!0)}function AC(e,t){const{push:n,helper:s,indent:r,deindent:i,newline:o}=t,{needPauseTracking:a,needArraySpread:l}=e;l&&n("[...("),n(`_cache[${e.index}] || (`),a&&(r(),n(`${s(Ti)}(-1`),e.inVOnce&&n(", true"),n("),"),o(),n("(")),n(`_cache[${e.index}] = `),yt(e.value,t),a&&(n(`).cacheIndex = ${e.index},`),o(),n(`${s(Ti)}(1),`),o(),n(`_cache[${e.index}]`),i()),n(")"),l&&n(")]")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const NC=(e,t)=>{if(e.type===5)e.content=Lo(e.content,t);else if(e.type===1){const n=Tt(e,"memo");for(let s=0;s<e.props.length;s++){const r=e.props[s];if(r.type===7&&r.name!=="for"){const i=r.exp,o=r.arg;i&&i.type===4&&!(r.name==="on"&&o)&&!(n&&o&&o.type===4&&o.content==="key")&&(r.exp=Lo(i,t,r.name==="slot")),o&&o.type===4&&!o.isStatic&&(r.arg=Lo(o,t))}}}};function Lo(e,t,n=!1,s=!1,r=Object.create(t.identifiers)){return e}function M_(e){return re(e)?e:e.type===4?e.content:e.children.map(M_).join("")}const PC=ju(/^(?:if|else|else-if)$/,(e,t,n)=>x_(e,t,n,(s,r,i)=>{const o=n.parent.children;let a=o.indexOf(s),l=0;for(;a-->=0;){const c=o[a];c&&c.type===9&&(l+=c.branches.length)}return()=>{if(i)s.codegenNode=Jd(r,l,n);else{const c=IC(s.codegenNode);c.alternate=Jd(r,l+s.branches.length-1,n)}}}));function x_(e,t,n,s){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const r=t.exp?t.exp.loc:e.loc;n.onError(De(28,t.loc)),t.exp=ie("true",!1,r)}if(t.name==="if"){const r=zd(e,t),i={type:9,loc:oC(e.loc),branches:[r]};if(n.replaceNode(i),s)return s(i,r,!0)}else{const r=n.parent.children;let i=r.indexOf(e);for(;i-->=-1;){const o=r[i];if(o&&Hu(o)){n.removeNode(o);continue}if(o&&o.type===9){(t.name==="else-if"||t.name==="else")&&o.branches[o.branches.length-1].condition===void 0&&n.onError(De(30,e.loc)),n.removeNode();const a=zd(e,t);o.branches.push(a);const l=s&&s(o,a,!1);Xi(a,n),l&&l(),n.currentNode=null}else n.onError(De(30,e.loc));break}}}function zd(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!Tt(e,"for")?e.children:[e],userKey:qi(e,"key"),isTemplateIf:n}}function Jd(e,t,n){return e.condition?ta(e.condition,Zd(e,t,n),Qe(n.helper(Dr),['""',"true"])):Zd(e,t,n)}function Zd(e,t,n){const{helper:s}=n,r=qe("key",ie(`${t}`,!1,Ze,2)),{children:i}=e,o=i[0];if(i.length!==1||o.type!==1)if(i.length===1&&o.type===11){const l=o.codegenNode;return wi(l,r,n),l}else return Or(n,s(wr),Ht([r]),i,64,void 0,void 0,!0,!1,!1,e.loc);else{const l=o.codegenNode,c=__(l);return c.type===13&&Qa(c,n),wi(c,r,n),l}}function IC(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const RC=ju("for",(e,t,n)=>{const{helper:s,removeHelper:r}=n;return D_(e,t,n,i=>{const o=Qe(s(ja),[i.source]),a=Nr(e),l=Tt(e,"memo"),c=qi(e,"key",!1,!0);c&&c.type;let u=c&&(c.type===6?c.value?ie(c.value.content,!0):void 0:c.exp);const f=c&&u?qe("key",u):null,h=i.source.type===4&&i.source.constType>0,d=h?64:c?128:256;return i.codegenNode=Or(n,s(wr),void 0,o,d,void 0,void 0,!0,!h,!1,e.loc),()=>{let p;const{children:m}=i,E=m.length!==1||m[0].type!==1,g=Si(e)?e:a&&e.children.length===1&&Si(e.children[0])?e.children[0]:null;if(g?(p=g.codegenNode,a&&f&&wi(p,f,n)):E?p=Or(n,s(wr),f?Ht([f]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(p=m[0].codegenNode,a&&f&&wi(p,f,n),p.isBlock!==!h&&(p.isBlock?(r(vs),r(zs(n.inSSR,p.isComponent))):r(Ys(n.inSSR,p.isComponent))),p.isBlock=!h,p.isBlock?(s(vs),s(zs(n.inSSR,p.isComponent))):s(Ys(n.inSSR,p.isComponent))),l){const v=Qs(sa(i.parseResult,[ie("_cached")]));v.body=r_([Xt(["const _memo = (",l.exp,")"]),Xt(["if (_cached",...u?[" && _cached.key === ",u]:[],` && ${n.helperString(Mu)}(_cached, _memo)) return _cached`]),Xt(["const _item = ",p]),ie("_item.memo = _memo"),ie("return _item")]),o.arguments.push(v,ie("_cache"),ie(String(n.cached.length))),n.cached.push(null)}else o.arguments.push(Qs(sa(i.parseResult),p,!0))}})});function D_(e,t,n,s){if(!t.exp){n.onError(De(31,t.loc));return}const r=t.forParseResult;if(!r){n.onError(De(32,t.loc));return}Gu(r);const{addIdentifiers:i,removeIdentifiers:o,scopes:a}=n,{source:l,value:c,key:u,index:f}=r,h={type:11,loc:t.loc,source:l,valueAlias:c,keyAlias:u,objectIndexAlias:f,parseResult:r,children:Nr(e)?e.children:[e]};n.replaceNode(h),a.vFor++;const d=s&&s(h);return()=>{a.vFor--,d&&d()}}function Gu(e,t){e.finalized||(e.finalized=!0)}function sa({value:e,key:t,index:n},s=[]){return LC([e,t,n,...s])}function LC(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,s)=>n||ie("_".repeat(s+1),!1))}const eh=ie("undefined",!1),k_=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=Tt(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},MC=(e,t)=>{let n;if(Nr(e)&&e.props.some($u)&&(n=Tt(e,"for"))){const s=n.forParseResult;if(s){Gu(s);const{value:r,key:i,index:o}=s,{addIdentifiers:a,removeIdentifiers:l}=t;return r&&a(r),i&&a(i),o&&a(o),()=>{r&&l(r),i&&l(i),o&&l(o)}}}},xC=(e,t,n,s)=>Qs(e,n,!1,!0,n.length?n[0].loc:s);function F_(e,t,n=xC){t.helper(qa);const{children:s,loc:r}=e,i=[],o=[];let a=t.scopes.vSlot>0||t.scopes.vFor>0;const l=Tt(e,"slot",!0);if(l){const{arg:E,exp:g}=l;E&&!wt(E)&&(a=!0),i.push(qe(E||ie("default",!0),n(g,void 0,s,r)))}let c=!1,u=!1;const f=[],h=new Set;let d=0;for(let E=0;E<s.length;E++){const g=s[E];let v;if(!Nr(g)||!(v=Tt(g,"slot",!0))){g.type!==3&&f.push(g);continue}if(l){t.onError(De(37,v.loc));break}c=!0;const{children:_,loc:y}=g,{arg:T=ie("default",!0),exp:O,loc:A}=v;let I;wt(T)?I=T?T.content:"default":a=!0;const S=Tt(g,"for"),P=n(O,S,_,y);let x,R;if(x=Tt(g,"if"))a=!0,o.push(ta(x.exp,po(T,P,d++),eh));else if(R=Tt(g,/^else(?:-if)?$/,!0)){let $=E,V;for(;$--&&(V=s[$],!!Hu(V)););if(V&&Nr(V)&&Tt(V,/^(?:else-)?if$/)){let K=o[o.length-1];for(;K.alternate.type===19;)K=K.alternate;K.alternate=R.exp?ta(R.exp,po(T,P,d++),eh):po(T,P,d++)}else t.onError(De(30,R.loc))}else if(S){a=!0;const $=S.forParseResult;$?(Gu($),o.push(Qe(t.helper(ja),[$.source,Qs(sa($),po(T,P),!0)]))):t.onError(De(32,S.loc))}else{if(I){if(h.has(I)){t.onError(De(38,A));continue}h.add(I),I==="default"&&(u=!0)}i.push(qe(T,P))}}if(!l){const E=(g,v)=>{const _=n(g,void 0,v,r);return t.compatConfig&&(_.isNonScopedSlot=!0),qe("default",_)};c?f.length&&!f.every(Ya)&&(u?t.onError(De(39,f[0].loc)):i.push(E(void 0,f))):i.push(E(void 0,s))}const p=a?2:Mo(e.children)?3:1;let m=Ht(i.concat(qe("_",ie(p+"",!1))),r);return o.length&&(m=Qe(t.helper(Lu),[m,ms(o)])),{slots:m,hasDynamicSlots:a}}function po(e,t,n){const s=[qe("name",e),qe("fn",t)];return n!=null&&s.push(qe("key",ie(String(n),!0))),Ht(s)}function Mo(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(n.tagType===2||Mo(n.children))return!0;break;case 9:if(Mo(n.branches))return!0;break;case 10:case 11:if(Mo(n.children))return!0;break}}return!1}const $_=new WeakMap,V_=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:s,props:r}=e,i=e.tagType===1;let o=i?H_(e,t):`"${s}"`;const a=be(o)&&o.callee===Va;let l,c,u=0,f,h,d,p=a||o===pr||o===xa||!i&&(s==="svg"||s==="foreignObject"||s==="math");if(r.length>0){const m=Ku(e,t,void 0,i,a);l=m.props,u=m.patchFlag,h=m.dynamicPropNames;const E=m.directives;d=E&&E.length?ms(E.map(g=>U_(g,t))):void 0,m.shouldUseBlock&&(p=!0)}if(e.children.length>0)if(o===Ei&&(p=!0,u|=1024),i&&o!==pr&&o!==Ei){const{slots:E,hasDynamicSlots:g}=F_(e,t);c=E,g&&(u|=1024)}else if(e.children.length===1&&o!==pr){const E=e.children[0],g=E.type,v=g===5||g===8;v&&Lt(E,t)===0&&(u|=1),v||g===2?c=E:c=e.children}else c=e.children;h&&h.length&&(f=kC(h)),e.codegenNode=Or(t,o,l,c,u===0?void 0:u,f,d,!!p,!1,i,e.loc)};function H_(e,t,n=!1){let{tag:s}=e;const r=gc(s),i=qi(e,"is",!1,!0);if(i)if(r||Bs("COMPILER_IS_ON_ELEMENT",t)){let a;if(i.type===6?a=i.value&&ie(i.value.content,!0):(a=i.exp,a||(a=ie("is",!1,i.arg.loc))),a)return Qe(t.helper(Va),[a])}else i.type===6&&i.value.content.startsWith("vue:")&&(s=i.value.content.slice(4));const o=Du(s)||t.isBuiltInComponent(s);return o?(n||t.helper(o),o):(t.helper($a),t.components.add(s),Pr(s,"component"))}function Ku(e,t,n=e.props,s,r,i=!1){const{tag:o,loc:a,children:l}=e;let c=[];const u=[],f=[],h=l.length>0;let d=!1,p=0,m=!1,E=!1,g=!1,v=!1,_=!1,y=!1;const T=[],O=P=>{c.length&&(u.push(Ht(th(c),a)),c=[]),P&&u.push(P)},A=()=>{t.scopes.vFor>0&&c.push(qe(ie("ref_for",!0),ie("true")))},I=({key:P,value:x})=>{if(wt(P)){const R=P.content,$=ws(R);if($&&(!s||r)&&R.toLowerCase()!=="onclick"&&R!=="onUpdate:modelValue"&&!Fn(R)&&(v=!0),$&&Fn(R)&&(y=!0),$&&x.type===14&&(x=x.arguments[0]),x.type===20||(x.type===4||x.type===8)&&Lt(x,t)>0)return;R==="ref"?m=!0:R==="class"?E=!0:R==="style"?g=!0:R!=="key"&&!T.includes(R)&&T.push(R),s&&(R==="class"||R==="style")&&!T.includes(R)&&T.push(R)}else _=!0};for(let P=0;P<n.length;P++){const x=n[P];if(x.type===6){const{loc:R,name:$,nameLoc:V,value:K}=x;let j=!0;if($==="ref"&&(m=!0,A()),$==="is"&&(gc(o)||K&&K.content.startsWith("vue:")||Bs("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(qe(ie($,!0,V),ie(K?K.content:"",j,K?K.loc:R)))}else{const{name:R,arg:$,exp:V,loc:K,modifiers:j}=x,q=R==="bind",G=R==="on";if(R==="slot"){s||t.onError(De(40,K));continue}if(R==="once"||R==="memo"||R==="is"||q&&hs($,"is")&&(gc(o)||Bs("COMPILER_IS_ON_ELEMENT",t))||G&&i)continue;if((q&&hs($,"key")||G&&h&&hs($,"vue:before-update"))&&(d=!0),q&&hs($,"ref")&&A(),!$&&(q||G)){if(_=!0,V)if(q){if(O(),Bs("COMPILER_V_BIND_OBJECT_ORDER",t)){u.unshift(V);continue}A(),O(),u.push(V)}else O({type:14,loc:K,callee:t.helper(Ka),arguments:s?[V]:[V,"true"]});else t.onError(De(q?34:35,K));continue}q&&j.some(we=>we.content==="prop")&&(p|=32);const ee=t.directiveTransforms[R];if(ee){const{props:we,needRuntime:Ce}=ee(x,e,t);!i&&we.forEach(I),G&&$&&!wt($)?O(Ht(we,a)):c.push(...we),Ce&&(f.push(x),At(Ce)&&$_.set(x,Ce))}else xp(R)||(f.push(x),h&&(d=!0))}}let S;if(u.length?(O(),u.length>1?S=Qe(t.helper(bi),u,a):S=u[0]):c.length&&(S=Ht(th(c),a)),_?p|=16:(E&&!s&&(p|=2),g&&!s&&(p|=4),T.length&&(p|=8),v&&(p|=32)),!d&&(p===0||p===32)&&(m||y||f.length>0)&&(p|=512),!t.inSSR&&S)switch(S.type){case 15:let P=-1,x=-1,R=!1;for(let K=0;K<S.properties.length;K++){const j=S.properties[K].key;wt(j)?j.content==="class"?P=K:j.content==="style"&&(x=K):j.isHandlerKey||(R=!0)}const $=S.properties[P],V=S.properties[x];R?S=Qe(t.helper(Cr),[S]):($&&!wt($.value)&&($.value=Qe(t.helper(Wa),[$.value])),V&&(g||V.value.type===4&&V.value.content.trim()[0]==="["||V.value.type===17)&&(V.value=Qe(t.helper(Ga),[V.value])));break;case 14:break;default:S=Qe(t.helper(Cr),[Qe(t.helper(kr),[S])]);break}return{props:S,directives:f,patchFlag:p,dynamicPropNames:T,shouldUseBlock:d}}function th(e){const t=new Map,n=[];for(let s=0;s<e.length;s++){const r=e[s];if(r.key.type===8||!r.key.isStatic){n.push(r);continue}const i=r.key.content,o=t.get(i);o?(i==="style"||i==="class"||ws(i))&&DC(o,r):(t.set(i,r),n.push(r))}return n}function DC(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=ms([e.value,t.value],e.loc)}function U_(e,t){const n=[],s=$_.get(e);s?n.push(t.helperString(s)):(t.helper(Ha),t.directives.add(e.name),n.push(Pr(e.name,"directive")));const{loc:r}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const i=ie("true",!1,r);n.push(Ht(e.modifiers.map(o=>qe(o,i)),r))}return ms(n,e.loc)}function kC(e){let t="[";for(let n=0,s=e.length;n<s;n++)t+=JSON.stringify(e[n]),n<s-1&&(t+=", ");return t+"]"}function gc(e){return e==="component"||e==="Component"}const FC=(e,t)=>{if(Si(e)){const{children:n,loc:s}=e,{slotName:r,slotProps:i}=B_(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"];let a=2;i&&(o[2]=i,a=3),n.length&&(o[3]=Qs([],n,!1,!1,s),a=4),t.scopeId&&!t.slotted&&(a=5),o.splice(a),e.codegenNode=Qe(t.helper(Ru),o,s)}};function B_(e,t){let n='"default"',s;const r=[];for(let i=0;i<e.props.length;i++){const o=e.props[i];if(o.type===6)o.value&&(o.name==="name"?n=JSON.stringify(o.value.content):(o.name=Me(o.name),r.push(o)));else if(o.name==="bind"&&hs(o.arg,"name")){if(o.exp)n=o.exp;else if(o.arg&&o.arg.type===4){const a=Me(o.arg.content);n=o.exp=ie(a,!1,o.arg.loc)}}else o.name==="bind"&&o.arg&&wt(o.arg)&&(o.arg.content=Me(o.arg.content)),r.push(o)}if(r.length>0){const{props:i,directives:o}=Ku(e,t,r,!1,!1);s=i,o.length&&t.onError(De(36,o[0].loc))}return{slotName:n,slotProps:s}}const qu=(e,t,n,s)=>{const{loc:r,modifiers:i,arg:o}=e;!e.exp&&!i.length&&n.onError(De(35,r));let a;if(o.type===4)if(o.isStatic){let f=o.content;f.startsWith("vue:")&&(f=`vnode-${f.slice(4)}`);const h=t.tagType!==0||f.startsWith("vnode")||!/[A-Z]/.test(f)?Fs(Me(f)):`on:${f}`;a=ie(h,!0,o.loc)}else a=Xt([`${n.helperString(ea)}(`,o,")"]);else a=o,a.children.unshift(`${n.helperString(ea)}(`),a.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let c=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const f=Fu(l),h=!(f||h_(l)),d=l.content.includes(";");(h||c&&f)&&(l=Xt([`${h?"$event":"(...args)"} => ${d?"{":"("}`,l,d?"}":")"]))}let u={props:[qe(a,l||ie("() => {}",!1,r))]};return s&&(u=s(u)),c&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach(f=>f.key.isHandlerKey=!0),u},j_=(e,t,n)=>{const{modifiers:s,loc:r}=e,i=e.arg;let{exp:o}=e;return o&&o.type===4&&!o.content.trim()&&(o=void 0),i.type!==4?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=i.content?`${i.content} || ""`:'""'),s.some(a=>a.content==="camel")&&(i.type===4?i.isStatic?i.content=Me(i.content):i.content=`${n.helperString(Zo)}(${i.content})`:(i.children.unshift(`${n.helperString(Zo)}(`),i.children.push(")"))),n.inSSR||(s.some(a=>a.content==="prop")&&nh(i,"."),s.some(a=>a.content==="attr")&&nh(i,"^")),{props:[qe(i,o)]}},nh=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},$C=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let s,r=!1;for(let i=0;i<n.length;i++){const o=n[i];if(No(o)){r=!0;for(let a=i+1;a<n.length;a++){const l=n[a];if(No(l))s||(s=n[i]=Xt([o],o.loc)),s.children.push(" + ",l),n.splice(a,1),a--;else{s=void 0;break}}}}if(!(!r||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(i=>i.type===7&&!t.directiveTransforms[i.name])&&e.tag!=="template")))for(let i=0;i<n.length;i++){const o=n[i];if(No(o)||o.type===8){const a=[];(o.type!==2||o.content!==" ")&&a.push(o),!t.ssr&&Lt(o,t)===0&&a.push("1"),n[i]={type:12,content:o,loc:o.loc,codegenNode:Qe(t.helper(Fa),a)}}}}},sh=new WeakSet,VC=(e,t)=>{if(e.type===1&&Tt(e,"once",!0))return sh.has(e)||t.inVOnce||t.inSSR?void 0:(sh.add(e),t.inVOnce=!0,t.helper(Ti),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0,!0))})},Xu=(e,t,n)=>{const{exp:s,arg:r}=e;if(!s)return n.onError(De(41,e.loc)),mo();const i=s.loc.source.trim(),o=s.type===4?s.content:i,a=n.bindingMetadata[i];if(a==="props"||a==="props-aliased")return n.onError(De(44,s.loc)),mo();if(!o.trim()||!Fu(s))return n.onError(De(42,s.loc)),mo();const l=r||ie("modelValue",!0),c=r?wt(r)?`onUpdate:${Me(r.content)}`:Xt(['"onUpdate:" + ',r]):"onUpdate:modelValue";let u;const f=n.isTS?"($event: any)":"$event";u=Xt([`${f} => ((`,s,") = $event)"]);const h=[qe(l,e.exp),qe(c,u)];if(e.modifiers.length&&t.tagType===1){const d=e.modifiers.map(m=>m.content).map(m=>(Ki(m)?m:JSON.stringify(m))+": true").join(", "),p=r?wt(r)?`${r.content}Modifiers`:Xt([r,' + "Modifiers"']):"modelModifiers";h.push(qe(p,ie(`{ ${d} }`,!1,e.loc,2)))}return mo(h)};function mo(e=[]){return{props:e}}const HC=/[\w).+\-_$\]]/,UC=(e,t)=>{Bs("COMPILER_FILTERS",t)&&(e.type===5?ra(e.content,t):e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&ra(n.exp,t)}))};function ra(e,t){if(e.type===4)rh(e,t);else for(let n=0;n<e.children.length;n++){const s=e.children[n];typeof s=="object"&&(s.type===4?rh(s,t):s.type===8?ra(e,t):s.type===5&&ra(s.content,t))}}function rh(e,t){const n=e.content;let s=!1,r=!1,i=!1,o=!1,a=0,l=0,c=0,u=0,f,h,d,p,m=[];for(d=0;d<n.length;d++)if(h=f,f=n.charCodeAt(d),s)f===39&&h!==92&&(s=!1);else if(r)f===34&&h!==92&&(r=!1);else if(i)f===96&&h!==92&&(i=!1);else if(o)f===47&&h!==92&&(o=!1);else if(f===124&&n.charCodeAt(d+1)!==124&&n.charCodeAt(d-1)!==124&&!a&&!l&&!c)p===void 0?(u=d+1,p=n.slice(0,d).trim()):E();else{switch(f){case 34:r=!0;break;case 39:s=!0;break;case 96:i=!0;break;case 40:c++;break;case 41:c--;break;case 91:l++;break;case 93:l--;break;case 123:a++;break;case 125:a--;break}if(f===47){let g=d-1,v;for(;g>=0&&(v=n.charAt(g),v===" ");g--);(!v||!HC.test(v))&&(o=!0)}}p===void 0?p=n.slice(0,d).trim():u!==0&&E();function E(){m.push(n.slice(u,d).trim()),u=d+1}if(m.length){for(d=0;d<m.length;d++)p=BC(p,m[d],t);e.content=p,e.ast=void 0}}function BC(e,t,n){n.helper(Ua);const s=t.indexOf("(");if(s<0)return n.filters.add(t),`${Pr(t,"filter")}(${e})`;{const r=t.slice(0,s),i=t.slice(s+1);return n.filters.add(r),`${Pr(r,"filter")}(${e}${i!==")"?","+i:i}`}}const ih=new WeakSet,jC=(e,t)=>{if(e.type===1){const n=Tt(e,"memo");return!n||ih.has(e)||t.inSSR?void 0:(ih.add(e),()=>{const s=e.codegenNode||t.currentNode.codegenNode;s&&s.type===13&&(e.tagType!==1&&Qa(s,t),e.codegenNode=Qe(t.helper(Xa),[n.exp,Qs(void 0,s),"_cache",String(t.cached.length)]),t.cached.push(null))})}},W_=(e,t)=>{if(e.type===1){for(const n of e.props)if(n.type===7&&n.name==="bind"&&(!n.exp||n.exp.type===4&&!n.exp.content.trim())&&n.arg){const s=n.arg;if(s.type!==4||!s.isStatic)t.onError(De(52,s.loc)),n.exp=ie("",!0,s.loc);else{const r=Me(s.content);(ku.test(r[0])||r[0]==="-")&&(n.exp=ie(r,!1,s.loc))}}}};function G_(e){return[[W_,VC,PC,jC,RC,UC,FC,V_,k_,$C],{on:qu,bind:j_,model:Xu}]}function K_(e,t={}){const n=t.onError||xu,s=t.mode==="module";t.prefixIdentifiers===!0?n(De(47)):s&&n(De(48));const r=!1;t.cacheHandlers&&n(De(49)),t.scopeId&&!s&&n(De(50));const i=le({},t,{prefixIdentifiers:r}),o=re(e)?Bu(e,i):e,[a,l]=G_();return N_(o,le({},i,{nodeTransforms:[...a,...t.nodeTransforms||[]],directiveTransforms:le({},l,t.directiveTransforms||{})})),I_(o,i)}const WC={DATA:"data",PROPS:"props",PROPS_ALIASED:"props-aliased",SETUP_LET:"setup-let",SETUP_CONST:"setup-const",SETUP_REACTIVE_CONST:"setup-reactive-const",SETUP_MAYBE_REF:"setup-maybe-ref",SETUP_REF:"setup-ref",OPTIONS:"options",LITERAL_CONST:"literal-const"},q_=()=>({props:[]});const Qu=Symbol(""),Yu=Symbol(""),zu=Symbol(""),Ju=Symbol(""),ia=Symbol(""),Zu=Symbol(""),ef=Symbol(""),tf=Symbol(""),nf=Symbol(""),sf=Symbol("");t_({[Qu]:"vModelRadio",[Yu]:"vModelCheckbox",[zu]:"vModelText",[Ju]:"vModelSelect",[ia]:"vModelDynamic",[Zu]:"withModifiers",[ef]:"withKeys",[tf]:"vShow",[nf]:"Transition",[sf]:"TransitionGroup"});let ir;function GC(e,t=!1){return ir||(ir=document.createElement("div")),t?(ir.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,ir.children[0].getAttribute("foo")):(ir.innerHTML=e,ir.textContent)}const rf={parseMode:"html",isVoidTag:Vp,isNativeTag:e=>kp(e)||Fp(e)||$p(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:GC,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return nf;if(e==="TransitionGroup"||e==="transition-group")return sf},getNamespace(e,t,n){let s=t?t.ns:n;if(t&&s===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(r=>r.type===6&&r.name==="encoding"&&r.value!=null&&(r.value.content==="text/html"||r.value.content==="application/xhtml+xml"))&&(s=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(s=0);else t&&s===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(s=0);if(s===0){if(e==="svg")return 1;if(e==="math")return 2}return s}},X_=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:ie("style",!0,t.loc),exp:KC(t.value.content,t.loc),modifiers:[],loc:t.loc})})},KC=(e,t)=>{const n=jc(e);return ie(JSON.stringify(n),!1,t,3)};function Bn(e,t){return De(e,t)}const qC={X_V_HTML_NO_EXPRESSION:53,53:"X_V_HTML_NO_EXPRESSION",X_V_HTML_WITH_CHILDREN:54,54:"X_V_HTML_WITH_CHILDREN",X_V_TEXT_NO_EXPRESSION:55,55:"X_V_TEXT_NO_EXPRESSION",X_V_TEXT_WITH_CHILDREN:56,56:"X_V_TEXT_WITH_CHILDREN",X_V_MODEL_ON_INVALID_ELEMENT:57,57:"X_V_MODEL_ON_INVALID_ELEMENT",X_V_MODEL_ARG_ON_ELEMENT:58,58:"X_V_MODEL_ARG_ON_ELEMENT",X_V_MODEL_ON_FILE_INPUT_ELEMENT:59,59:"X_V_MODEL_ON_FILE_INPUT_ELEMENT",X_V_MODEL_UNNECESSARY_VALUE:60,60:"X_V_MODEL_UNNECESSARY_VALUE",X_V_SHOW_NO_EXPRESSION:61,61:"X_V_SHOW_NO_EXPRESSION",X_TRANSITION_INVALID_CHILDREN:62,62:"X_TRANSITION_INVALID_CHILDREN",X_IGNORED_SIDE_EFFECT_TAG:63,63:"X_IGNORED_SIDE_EFFECT_TAG",__EXTEND_POINT__:64,64:"__EXTEND_POINT__"},XC={53:"v-html is missing expression.",54:"v-html will override element children.",55:"v-text is missing expression.",56:"v-text will override element children.",57:"v-model can only be used on <input>, <textarea> and <select> elements.",58:"v-model argument is not supported on plain elements.",59:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",60:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",61:"v-show is missing expression.",62:"<Transition> expects exactly one child element or component.",63:"Tags with side effect (<script> and <style>) are ignored in client component templates."},QC=(e,t,n)=>{const{exp:s,loc:r}=e;return s||n.onError(Bn(53,r)),t.children.length&&(n.onError(Bn(54,r)),t.children.length=0),{props:[qe(ie("innerHTML",!0,r),s||ie("",!0))]}},YC=(e,t,n)=>{const{exp:s,loc:r}=e;return s||n.onError(Bn(55,r)),t.children.length&&(n.onError(Bn(56,r)),t.children.length=0),{props:[qe(ie("textContent",!0),s?Lt(s,n)>0?s:Qe(n.helperString(Gi),[s],r):ie("",!0))]}},zC=(e,t,n)=>{const s=Xu(e,t,n);if(!s.props.length||t.tagType===1)return s;e.arg&&n.onError(Bn(58,e.arg.loc));const{tag:r}=t,i=n.isCustomElement(r);if(r==="input"||r==="textarea"||r==="select"||i){let o=zu,a=!1;if(r==="input"||i){const l=qi(t,"type");if(l){if(l.type===7)o=ia;else if(l.value)switch(l.value.content){case"radio":o=Qu;break;case"checkbox":o=Yu;break;case"file":a=!0,n.onError(Bn(59,e.loc));break}}else m_(t)&&(o=ia)}else r==="select"&&(o=Ju);a||(s.needRuntime=n.helper(o))}else n.onError(Bn(57,e.loc));return s.props=s.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),s},JC=ot("passive,once,capture"),ZC=ot("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),eO=ot("left,right"),Q_=ot("onkeyup,onkeydown,onkeypress"),tO=(e,t,n,s)=>{const r=[],i=[],o=[];for(let a=0;a<t.length;a++){const l=t[a].content;l==="native"&&Ar("COMPILER_V_ON_NATIVE",n)||JC(l)?o.push(l):eO(l)?wt(e)?Q_(e.content.toLowerCase())?r.push(l):i.push(l):(r.push(l),i.push(l)):ZC(l)?i.push(l):r.push(l)}return{keyModifiers:r,nonKeyModifiers:i,eventOptionModifiers:o}},oh=(e,t)=>wt(e)&&e.content.toLowerCase()==="onclick"?ie(t,!0):e.type!==4?Xt(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,nO=(e,t,n)=>qu(e,t,n,s=>{const{modifiers:r}=e;if(!r.length)return s;let{key:i,value:o}=s.props[0];const{keyModifiers:a,nonKeyModifiers:l,eventOptionModifiers:c}=tO(i,r,n,e.loc);if(l.includes("right")&&(i=oh(i,"onContextmenu")),l.includes("middle")&&(i=oh(i,"onMouseup")),l.length&&(o=Qe(n.helper(Zu),[o,JSON.stringify(l)])),a.length&&(!wt(i)||Q_(i.content.toLowerCase()))&&(o=Qe(n.helper(ef),[o,JSON.stringify(a)])),c.length){const u=c.map(Os).join("");i=wt(i)?ie(`${i.content}${u}`,!0):Xt(["(",i,`) + "${u}"`])}return{props:[qe(i,o)]}}),sO=(e,t,n)=>{const{exp:s,loc:r}=e;return s||n.onError(Bn(61,r)),{props:[],needRuntime:n.helper(tf)}},rO=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},Y_=[X_],z_={cloak:q_,html:QC,text:YC,model:zC,on:nO,show:sO};function iO(e,t={}){return K_(e,le({},rf,t,{nodeTransforms:[rO,...Y_,...t.nodeTransforms||[]],directiveTransforms:le({},z_,t.directiveTransforms||{}),transformHoist:null}))}function oO(e,t={}){return Bu(e,le({},rf,t))}const aO=Object.freeze(Object.defineProperty({__proto__:null,BASE_TRANSITION:Au,BindingTypes:WC,CAMELIZE:Zo,CAPITALIZE:Yg,CREATE_BLOCK:Nu,CREATE_COMMENT:Dr,CREATE_ELEMENT_BLOCK:Pu,CREATE_ELEMENT_VNODE:ka,CREATE_SLOTS:Lu,CREATE_STATIC:Iu,CREATE_TEXT:Fa,CREATE_VNODE:Da,CompilerDeprecationTypes:Nw,ConstantTypes:Ew,DOMDirectiveTransforms:z_,DOMErrorCodes:qC,DOMErrorMessages:XC,DOMNodeTransforms:Y_,ElementTypes:vw,ErrorCodes:Rw,FRAGMENT:wr,GUARD_REACTIVE_PROPS:kr,IS_MEMO_SAME:Mu,IS_REF:e_,KEEP_ALIVE:Ei,MERGE_PROPS:bi,NORMALIZE_CLASS:Wa,NORMALIZE_PROPS:Cr,NORMALIZE_STYLE:Ga,Namespaces:_w,NodeTypes:yw,OPEN_BLOCK:vs,POP_SCOPE_ID:Jg,PUSH_SCOPE_ID:zg,RENDER_LIST:ja,RENDER_SLOT:Ru,RESOLVE_COMPONENT:$a,RESOLVE_DIRECTIVE:Ha,RESOLVE_DYNAMIC_COMPONENT:Va,RESOLVE_FILTER:Ua,SET_BLOCK_TRACKING:Ti,SUSPENSE:xa,TELEPORT:pr,TO_DISPLAY_STRING:Gi,TO_HANDLERS:Ka,TO_HANDLER_KEY:ea,TRANSITION:nf,TRANSITION_GROUP:sf,TS_NODE_TYPES:l_,UNREF:Zg,V_MODEL_CHECKBOX:Yu,V_MODEL_DYNAMIC:ia,V_MODEL_RADIO:Qu,V_MODEL_SELECT:Ju,V_MODEL_TEXT:zu,V_ON_WITH_KEYS:ef,V_ON_WITH_MODIFIERS:Zu,V_SHOW:tf,WITH_CTX:qa,WITH_DIRECTIVES:Ba,WITH_MEMO:Xa,advancePositionWithClone:Qw,advancePositionWithMutation:p_,assert:Yw,baseCompile:K_,baseParse:Bu,buildDirectiveArgs:U_,buildProps:Ku,buildSlots:F_,checkCompatEnabled:Ar,compile:iO,convertToBlock:Qa,createArrayExpression:ms,createAssignmentExpression:ww,createBlockStatement:r_,createCacheExpression:s_,createCallExpression:Qe,createCompilerError:De,createCompoundExpression:Xt,createConditionalExpression:ta,createDOMCompilerError:Bn,createForLoopParams:sa,createFunctionExpression:Qs,createIfStatement:Sw,createInterpolation:bw,createObjectExpression:Ht,createObjectProperty:qe,createReturnStatement:Ow,createRoot:n_,createSequenceExpression:Cw,createSimpleExpression:ie,createStructuralDirectiveTransform:ju,createTemplateLiteral:Tw,createTransformContext:A_,createVNodeCall:Or,errorMessages:Lw,extractIdentifiers:yn,findDir:Tt,findProp:qi,forAliasRE:y_,generate:I_,generateCodeFrame:Dp,getBaseTransformPreset:G_,getConstantType:Lt,getMemoedVNodeCall:__,getVNodeBlockHelper:zs,getVNodeHelper:Ys,hasDynamicKeyVBind:m_,hasScopeRef:Jt,helperNameMap:Xs,injectProp:wi,isAllWhitespace:Vu,isCommentOrWhitespace:Hu,isCoreComponent:Du,isFnExpression:h_,isFnExpressionBrowser:d_,isFnExpressionNode:Xw,isFunctionType:Uw,isInDestructureAssignment:Dw,isInNewExpression:kw,isMemberExpression:Fu,isMemberExpressionBrowser:f_,isMemberExpressionNode:Kw,isReferencedIdentifier:xw,isSimpleIdentifier:Ki,isSlotOutlet:Si,isStaticArgOf:hs,isStaticExp:wt,isStaticProperty:a_,isStaticPropertyKey:Bw,isTemplateNode:Nr,isText:No,isVPre:hc,isVSlot:$u,isWhitespaceText:Ya,locStub:Ze,noopDirectiveTransform:q_,parse:oO,parserOptions:rf,processExpression:Lo,processFor:D_,processIf:x_,processSlotOutlet:B_,registerRuntimeHelpers:t_,resolveComponentType:H_,stringifyExpression:M_,toValidAssetId:Pr,trackSlotScopes:k_,trackVForSlotScopes:MC,transform:N_,transformBind:j_,transformElement:V_,transformExpression:NC,transformModel:Xu,transformOn:qu,transformStyle:X_,transformVBindShorthand:W_,traverseNode:Xi,unwrapTSNode:c_,validFirstIdentCharRE:ku,walkBlockDeclarations:o_,walkFunctionParams:Fw,walkIdentifiers:Mw,warnDeprecation:Iw},Symbol.toStringTag,{value:"Module"})),lO=Ou(aO),cO=Ou(O0),uO=Ou(pb);var ah;function fO(){return ah||(ah=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=lO,n=cO,s=uO;function r(l){var c=Object.create(null);if(l)for(var u in l)c[u]=l[u];return c.default=l,Object.freeze(c)}var i=r(n);const o=Object.create(null);function a(l,c){if(!s.isString(l))if(l.nodeType)l=l.innerHTML;else return s.NOOP;const u=s.genCacheKey(l,c),f=o[u];if(f)return f;if(l[0]==="#"){const m=document.querySelector(l);l=m?m.innerHTML:""}const h=s.extend({hoistStatic:!0,onError:void 0,onWarn:s.NOOP},c);!h.isCustomElement&&typeof customElements<"u"&&(h.isCustomElement=m=>!!customElements.get(m));const{code:d}=t.compile(l,h),p=new Function("Vue",d)(i);return p._rc=!0,o[u]=p}n.registerRuntimeCompiler(a),e.compile=a,Object.keys(n).forEach(function(l){l!=="default"&&!Object.prototype.hasOwnProperty.call(e,l)&&(e[l]=n[l])})})(wl)),wl}var lh;function dO(){return lh||(lh=1,Sl.exports=fO()),Sl.exports}var hO=Ao.exports,ch;function pO(){return ch||(ch=1,(function(e,t){(function(s,r){e.exports=r(dO())})(hO,n=>(()=>{var s={113:((I,S)=>{Object.defineProperty(S,"__esModule",{value:!0}),S.default=(P,x)=>{const R=P.__vccOpts||P;for(const[$,V]of x)R[$]=V;return R}}),594:(I=>{I.exports=n})},r={};function i(I){var S=r[I];if(S!==void 0)return S.exports;var P=r[I]={exports:{}};return s[I](P,P.exports,i),P.exports}i.d=(I,S)=>{for(var P in S)i.o(S,P)&&!i.o(I,P)&&Object.defineProperty(I,P,{enumerable:!0,get:S[P]})},i.o=(I,S)=>Object.prototype.hasOwnProperty.call(I,S),i.r=I=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(I,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(I,"__esModule",{value:!0})};var o={};i.r(o),i.d(o,{ToastComponent:()=>y,ToastPlugin:()=>O,ToastPositions:()=>d,default:()=>A,useToast:()=>T});var a=i(594);const l=["innerHTML"];function c(I,S,P,x,R,$){return(0,a.openBlock)(),(0,a.createBlock)(a.Transition,{"enter-active-class":I.transition.enter,"leave-active-class":I.transition.leave},{default:(0,a.withCtx)(()=>[(0,a.withDirectives)((0,a.createElementVNode)("div",{ref:"root",role:"alert",class:(0,a.normalizeClass)(["v-toast__item",[`v-toast__item--${I.type}`,`v-toast__item--${I.position}`]]),onMouseover:S[0]||(S[0]=V=>I.toggleTimer(!0)),onMouseleave:S[1]||(S[1]=V=>I.toggleTimer(!1)),onClick:S[2]||(S[2]=function(){return I.whenClicked&&I.whenClicked(...arguments)})},[S[3]||(S[3]=(0,a.createElementVNode)("div",{class:"v-toast__icon"},null,-1)),(0,a.createElementVNode)("p",{class:"v-toast__text",innerHTML:I.message},null,8,l)],34),[[a.vShow,I.isActive]])]),_:1},8,["enter-active-class","leave-active-class"])}function u(I){typeof I.remove<"u"?I.remove():I.parentNode?.removeChild(I)}function f(I,S,P){let x=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const R=(0,a.h)(I,S,x),$=document.createElement("div");return $.classList.add("v-toast--pending"),P.appendChild($),(0,a.render)(R,$),R.component}class h{constructor(S,P){this.startedAt=Date.now(),this.callback=S,this.delay=P,this.timer=setTimeout(S,P)}pause(){this.stop(),this.delay-=Date.now()-this.startedAt}resume(){this.stop(),this.startedAt=Date.now(),this.timer=setTimeout(this.callback,this.delay)}stop(){clearTimeout(this.timer)}}const d=Object.freeze({TOP_RIGHT:"top-right",TOP:"top",TOP_LEFT:"top-left",BOTTOM_RIGHT:"bottom-right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom-left"});function p(I){return{all:I=I||new Map,on:function(S,P){var x=I.get(S);x?x.push(P):I.set(S,[P])},off:function(S,P){var x=I.get(S);x&&(P?x.splice(x.indexOf(P)>>>0,1):I.set(S,[]))},emit:function(S,P){var x=I.get(S);x&&x.slice().map(function(R){R(P)}),(x=I.get("*"))&&x.slice().map(function(R){R(S,P)})}}}const E=p(),g=(0,a.defineComponent)({name:"Toast",props:{message:{type:String,required:!0},type:{type:String,default:"success"},position:{type:String,default:d.BOTTOM_RIGHT,validator(I){return Object.values(d).includes(I)}},duration:{type:Number,default:3e3},dismissible:{type:Boolean,default:!0},onDismiss:{type:Function,default:()=>{}},onClick:{type:Function,default:()=>{}},queue:Boolean,pauseOnHover:{type:Boolean,default:!0}},data(){return{isActive:!1,parentTop:null,parentBottom:null,isHovered:!1}},beforeMount(){this.setupContainer()},mounted(){this.showNotice(),E.on("toast-clear",this.dismiss)},methods:{setupContainer(){if(this.parentTop=document.querySelector(".v-toast.v-toast--top"),this.parentBottom=document.querySelector(".v-toast.v-toast--bottom"),this.parentTop&&this.parentBottom)return;this.parentTop||(this.parentTop=document.createElement("div"),this.parentTop.className="v-toast v-toast--top"),this.parentBottom||(this.parentBottom=document.createElement("div"),this.parentBottom.className="v-toast v-toast--bottom");const I=document.body;I.appendChild(this.parentTop),I.appendChild(this.parentBottom)},shouldQueue(){return this.queue?this.parentTop.childElementCount>0||this.parentBottom.childElementCount>0:!1},dismiss(){this.timer&&this.timer.stop(),clearTimeout(this.queueTimer),this.isActive=!1,setTimeout(()=>{this.onDismiss.apply(null,arguments);const I=this.$refs.root;(0,a.render)(null,I),u(I)},150)},showNotice(){if(this.shouldQueue()){this.queueTimer=setTimeout(this.showNotice,250);return}const I=this.$refs.root.parentElement;this.correctParent.insertAdjacentElement("afterbegin",this.$refs.root),u(I),this.isActive=!0,this.duration&&(this.timer=new h(this.dismiss,this.duration))},whenClicked(){this.dismissible&&(this.onClick.apply(null,arguments),this.dismiss())},toggleTimer(I){!this.pauseOnHover||!this.timer||(I?this.timer.pause():this.timer.resume())}},computed:{correctParent(){switch(this.position){case d.TOP:case d.TOP_RIGHT:case d.TOP_LEFT:return this.parentTop;case d.BOTTOM:case d.BOTTOM_RIGHT:case d.BOTTOM_LEFT:return this.parentBottom}},transition(){switch(this.position){case d.TOP:case d.TOP_RIGHT:case d.TOP_LEFT:return{enter:"v-toast--fade-in-down",leave:"v-toast--fade-out"};case d.BOTTOM:case d.BOTTOM_RIGHT:case d.BOTTOM_LEFT:return{enter:"v-toast--fade-in-up",leave:"v-toast--fade-out"}}}},beforeUnmount(){E.off("toast-clear",this.dismiss)}});var v=i(113);const y=(0,v.default)(g,[["render",c]]),T=function(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{open(S){let P=null;typeof S=="string"&&(P=S);const R=Object.assign({},{message:P},I,S);return{dismiss:f(y,R,document.body).ctx.dismiss}},clear(){E.emit("toast-clear")},success(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"success"},P))},error(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"error"},P))},info(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"info"},P))},warning(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"warning"},P))},default(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"default"},P))}}},O={install:function(I){let S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},P=T(S);I.config.globalProperties.$toast=P,I.provide("$toast",P)}},A=O;return o})())})(Ao)),Ao.exports}var mO=pO();const gO=Xg(mO),_O=({app:e})=>{e.use(gO,{position:"bottom-right"})},yO=Object.freeze(Object.defineProperty({__proto__:null,install:_O},Symbol.toStringTag,{value:"Module"}));var Ja=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},vO={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},EO=class{#e=vO;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}},_c=new EO;function bO(e){setTimeout(e,0)}var Yi=typeof window>"u"||"Deno"in globalThis;function Zt(){}function TO(e,t){return typeof e=="function"?e(t):e}function SO(e){return typeof e=="number"&&e>=0&&e!==1/0}function wO(e,t){return Math.max(e+(t||0)-Date.now(),0)}function yc(e,t){return typeof e=="function"?e(t):e}function CO(e,t){return typeof e=="function"?e(t):e}function uh(e,t){const{type:n="all",exact:s,fetchStatus:r,predicate:i,queryKey:o,stale:a}=e;if(o){if(s){if(t.queryHash!==of(o,t.options))return!1}else if(!Ai(t.queryKey,o))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||r&&r!==t.state.fetchStatus||i&&!i(t))}function fh(e,t){const{exact:n,status:s,predicate:r,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Oi(t.options.mutationKey)!==Oi(i))return!1}else if(!Ai(t.options.mutationKey,i))return!1}return!(s&&t.state.status!==s||r&&!r(t))}function of(e,t){return(t?.queryKeyHashFn||Oi)(e)}function Oi(e){return JSON.stringify(e,(t,n)=>vc(n)?Object.keys(n).sort().reduce((s,r)=>(s[r]=n[r],s),{}):n)}function Ai(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Ai(e[n],t[n])):!1}var OO=Object.prototype.hasOwnProperty;function J_(e,t){if(e===t)return e;const n=dh(e)&&dh(t);if(!n&&!(vc(e)&&vc(t)))return t;const r=(n?e:Object.keys(e)).length,i=n?t:Object.keys(t),o=i.length,a=n?new Array(o):{};let l=0;for(let c=0;c<o;c++){const u=n?c:i[c],f=e[u],h=t[u];if(f===h){a[u]=f,(n?c<r:OO.call(e,u))&&l++;continue}if(f===null||h===null||typeof f!="object"||typeof h!="object"){a[u]=h;continue}const d=J_(f,h);a[u]=d,d===f&&l++}return r===o&&l===r?e:a}function SI(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function dh(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function vc(e){if(!hh(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!hh(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function hh(e){return Object.prototype.toString.call(e)==="[object Object]"}function AO(e){return new Promise(t=>{_c.setTimeout(t,e)})}function NO(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?J_(e,t):t}function PO(e,t,n=0){const s=[...e,t];return n&&s.length>n?s.slice(1):s}function IO(e,t,n=0){const s=[t,...e];return n&&s.length>n?s.slice(0,-1):s}var af=Symbol();function Z_(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===af?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function wI(e,t){return typeof e=="function"?e(...t):!!e}var RO=class extends Ja{#e;#t;#n;constructor(){super(),this.#n=e=>{if(!Yi&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},ey=new RO;function LO(){let e,t;const n=new Promise((r,i)=>{e=r,t=i});n.status="pending",n.catch(()=>{});function s(r){Object.assign(n,r),delete n.resolve,delete n.reject}return n.resolve=r=>{s({status:"fulfilled",value:r}),e(r)},n.reject=r=>{s({status:"rejected",reason:r}),t(r)},n}var MO=bO;function xO(){let e=[],t=0,n=a=>{a()},s=a=>{a()},r=MO;const i=a=>{t?e.push(a):r(()=>{n(a)})},o=()=>{const a=e;e=[],a.length&&r(()=>{s(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||o()}return l},batchCalls:a=>(...l)=>{i(()=>{a(...l)})},schedule:i,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{s=a},setScheduler:a=>{r=a}}}var St=xO(),DO=class extends Ja{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(!Yi&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(n=>{n(e)}))}isOnline(){return this.#e}},oa=new DO;function kO(e){return Math.min(1e3*2**e,3e4)}function ty(e){return(e??"online")==="online"?oa.isOnline():!0}var Ec=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function ny(e){let t=!1,n=0,s;const r=LO(),i=()=>r.status!=="pending",o=m=>{if(!i()){const E=new Ec(m);h(E),e.onCancel?.(E)}},a=()=>{t=!0},l=()=>{t=!1},c=()=>ey.isFocused()&&(e.networkMode==="always"||oa.isOnline())&&e.canRun(),u=()=>ty(e.networkMode)&&e.canRun(),f=m=>{i()||(s?.(),r.resolve(m))},h=m=>{i()||(s?.(),r.reject(m))},d=()=>new Promise(m=>{s=E=>{(i()||c())&&m(E)},e.onPause?.()}).then(()=>{s=void 0,i()||e.onContinue?.()}),p=()=>{if(i())return;let m;const E=n===0?e.initialPromise:void 0;try{m=E??e.fn()}catch(g){m=Promise.reject(g)}Promise.resolve(m).then(f).catch(g=>{if(i())return;const v=e.retry??(Yi?0:3),_=e.retryDelay??kO,y=typeof _=="function"?_(n,g):_,T=v===!0||typeof v=="number"&&n<v||typeof v=="function"&&v(n,g);if(t||!T){h(g);return}n++,e.onFail?.(n,g),AO(y).then(()=>c()?void 0:d()).then(()=>{t?h(g):p()})})};return{promise:r,status:()=>r.status,cancel:o,continue:()=>(s?.(),r),cancelRetry:a,continueRetry:l,canStart:u,start:()=>(u()?p():d().then(p),r)}}var sy=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),SO(this.gcTime)&&(this.#e=_c.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Yi?1/0:300*1e3))}clearGcTimeout(){this.#e&&(_c.clearTimeout(this.#e),this.#e=void 0)}},FO=class extends sy{#e;#t;#n;#r;#s;#o;#a;constructor(e){super(),this.#a=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#r=e.client,this.#n=this.#r.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=mh(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#s?.promise}setOptions(e){if(this.options={...this.#o,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=mh(this.options);t.data!==void 0&&(this.setState(ph(t.data,t.dataUpdatedAt)),this.#e=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(e,t){const n=NO(this.state.data,e,this.options);return this.#i({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#i({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#s?.promise;return this.#s?.cancel(e),t?t.then(Zt).catch(Zt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(e=>CO(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===af||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>yc(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!wO(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#s?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#s?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#s&&(this.#a?this.#s.cancel({revert:!0}):this.#s.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#i({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#s?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#s)return this.#s.continueRetry(),this.#s.promise}if(e&&this.setOptions(e),!this.options.queryFn){const a=this.observers.find(l=>l.options.queryFn);a&&this.setOptions(a.options)}const n=new AbortController,s=a=>{Object.defineProperty(a,"signal",{enumerable:!0,get:()=>(this.#a=!0,n.signal)})},r=()=>{const a=Z_(this.options,t),c=(()=>{const u={client:this.#r,queryKey:this.queryKey,meta:this.meta};return s(u),u})();return this.#a=!1,this.options.persister?this.options.persister(a,c,this):a(c)},o=(()=>{const a={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#r,state:this.state,fetchFn:r};return s(a),a})();this.options.behavior?.onFetch(o,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==o.fetchOptions?.meta)&&this.#i({type:"fetch",meta:o.fetchOptions?.meta}),this.#s=ny({initialPromise:t?.initialPromise,fn:o.fetchFn,onCancel:a=>{a instanceof Ec&&a.revert&&this.setState({...this.#t,fetchStatus:"idle"}),n.abort()},onFail:(a,l)=>{this.#i({type:"failed",failureCount:a,error:l})},onPause:()=>{this.#i({type:"pause"})},onContinue:()=>{this.#i({type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0});try{const a=await this.#s.start();if(a===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(a),this.#n.config.onSuccess?.(a,this),this.#n.config.onSettled?.(a,this.state.error,this),a}catch(a){if(a instanceof Ec){if(a.silent)return this.#s.promise;if(a.revert){if(this.state.data===void 0)throw a;return this.state.data}}throw this.#i({type:"error",error:a}),this.#n.config.onError?.(a,this),this.#n.config.onSettled?.(this.state.data,a,this),a}finally{this.scheduleGc()}}#i(e){const t=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...$O(n.data,this.options),fetchMeta:e.meta??null};case"success":const s={...n,...ph(e.data,e.dataUpdatedAt),dataUpdateCount:n.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=e.manual?s:void 0,s;case"error":const r=e.error;return{...n,error:r,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),St.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:e})})}};function $O(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:ty(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function ph(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function mh(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,s=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}function gh(e){return{onFetch:(t,n)=>{const s=t.options,r=t.fetchOptions?.meta?.fetchMore?.direction,i=t.state.data?.pages||[],o=t.state.data?.pageParams||[];let a={pages:[],pageParams:[]},l=0;const c=async()=>{let u=!1;const f=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>(t.signal.aborted?u=!0:t.signal.addEventListener("abort",()=>{u=!0}),t.signal)})},h=Z_(t.options,t.fetchOptions),d=async(p,m,E)=>{if(u)return Promise.reject();if(m==null&&p.pages.length)return Promise.resolve(p);const v=(()=>{const O={client:t.client,queryKey:t.queryKey,pageParam:m,direction:E?"backward":"forward",meta:t.options.meta};return f(O),O})(),_=await h(v),{maxPages:y}=t.options,T=E?IO:PO;return{pages:T(p.pages,_,y),pageParams:T(p.pageParams,m,y)}};if(r&&i.length){const p=r==="backward",m=p?VO:_h,E={pages:i,pageParams:o},g=m(s,E);a=await d(E,g,p)}else{const p=e??i.length;do{const m=l===0?o[0]??s.initialPageParam:_h(s,a);if(l>0&&m==null)break;a=await d(a,m),l++}while(l<p)}return a};t.options.persister?t.fetchFn=()=>t.options.persister?.(c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=c}}}function _h(e,{pages:t,pageParams:n}){const s=t.length-1;return t.length>0?e.getNextPageParam(t[s],t,n[s],n):void 0}function VO(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var HO=class extends sy{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||UO(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#s({type:"continue"})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=ny({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(i,o)=>{this.#s({type:"failed",failureCount:i,error:o})},onPause:()=>{this.#s({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const s=this.state.status==="pending",r=!this.#r.canStart();try{if(s)t();else{this.#s({type:"pending",variables:e,isPaused:r}),await this.#n.config.onMutate?.(e,this,n);const o=await this.options.onMutate?.(e,n);o!==this.state.context&&this.#s({type:"pending",context:o,variables:e,isPaused:r})}const i=await this.#r.start();return await this.#n.config.onSuccess?.(i,e,this.state.context,this,n),await this.options.onSuccess?.(i,e,this.state.context,n),await this.#n.config.onSettled?.(i,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(i,null,e,this.state.context,n),this.#s({type:"success",data:i}),i}catch(i){try{throw await this.#n.config.onError?.(i,e,this.state.context,this,n),await this.options.onError?.(i,e,this.state.context,n),await this.#n.config.onSettled?.(void 0,i,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(void 0,i,e,this.state.context,n),i}finally{this.#s({type:"error",error:i})}}finally{this.#n.runNext(this)}}#s(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),St.batch(()=>{this.#t.forEach(n=>{n.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function UO(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var ry=class extends Ja{constructor(t={}){super(),this.config=t,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(t,n,s){const r=new HO({client:t,mutationCache:this,mutationId:++this.#n,options:t.defaultMutationOptions(n),state:s});return this.add(r),r}add(t){this.#e.add(t);const n=go(t);if(typeof n=="string"){const s=this.#t.get(n);s?s.push(t):this.#t.set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#e.delete(t)){const n=go(t);if(typeof n=="string"){const s=this.#t.get(n);if(s)if(s.length>1){const r=s.indexOf(t);r!==-1&&s.splice(r,1)}else s[0]===t&&this.#t.delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=go(t);if(typeof n=="string"){const r=this.#t.get(n)?.find(i=>i.state.status==="pending");return!r||r===t}else return!0}runNext(t){const n=go(t);return typeof n=="string"?this.#t.get(n)?.find(r=>r!==t&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){St.batch(()=>{this.#e.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(t){const n={exact:!0,...t};return this.getAll().find(s=>fh(n,s))}findAll(t={}){return this.getAll().filter(n=>fh(t,n))}notify(t){St.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return St.batch(()=>Promise.all(t.map(n=>n.continue().catch(Zt))))}};function go(e){return e.options.scope?.id}var iy=class extends Ja{constructor(t={}){super(),this.config=t,this.#e=new Map}#e;build(t,n,s){const r=n.queryKey,i=n.queryHash??of(r,n);let o=this.get(i);return o||(o=new FO({client:t,queryKey:r,queryHash:i,options:t.defaultQueryOptions(n),state:s,defaultOptions:t.getQueryDefaults(r)}),this.add(o)),o}add(t){this.#e.has(t.queryHash)||(this.#e.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=this.#e.get(t.queryHash);n&&(t.destroy(),n===t&&this.#e.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){St.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#e.get(t)}getAll(){return[...this.#e.values()]}find(t){const n={exact:!0,...t};return this.getAll().find(s=>uh(n,s))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(s=>uh(t,s)):n}notify(t){St.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){St.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){St.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},BO=class{#e;#t;#n;#r;#s;#o;#a;#i;constructor(t={}){this.#e=t.queryCache||new iy,this.#t=t.mutationCache||new ry,this.#n=t.defaultOptions||{},this.#r=new Map,this.#s=new Map,this.#o=0}mount(){this.#o++,this.#o===1&&(this.#a=ey.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#i=oa.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#o--,this.#o===0&&(this.#a?.(),this.#a=void 0,this.#i?.(),this.#i=void 0)}isFetching(t){return this.#e.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#t.findAll({...t,status:"pending"}).length}getQueryData(t){const n=this.defaultQueryOptions({queryKey:t});return this.#e.get(n.queryHash)?.state.data}ensureQueryData(t){const n=this.defaultQueryOptions(t),s=this.#e.build(this,n),r=s.state.data;return r===void 0?this.fetchQuery(t):(t.revalidateIfStale&&s.isStaleByTime(yc(n.staleTime,s))&&this.prefetchQuery(n),Promise.resolve(r))}getQueriesData(t){return this.#e.findAll(t).map(({queryKey:n,state:s})=>{const r=s.data;return[n,r]})}setQueryData(t,n,s){const r=this.defaultQueryOptions({queryKey:t}),o=this.#e.get(r.queryHash)?.state.data,a=TO(n,o);if(a!==void 0)return this.#e.build(this,r).setData(a,{...s,manual:!0})}setQueriesData(t,n,s){return St.batch(()=>this.#e.findAll(t).map(({queryKey:r})=>[r,this.setQueryData(r,n,s)]))}getQueryState(t){const n=this.defaultQueryOptions({queryKey:t});return this.#e.get(n.queryHash)?.state}removeQueries(t){const n=this.#e;St.batch(()=>{n.findAll(t).forEach(s=>{n.remove(s)})})}resetQueries(t,n){const s=this.#e;return St.batch(()=>(s.findAll(t).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...t},n)))}cancelQueries(t,n={}){const s={revert:!0,...n},r=St.batch(()=>this.#e.findAll(t).map(i=>i.cancel(s)));return Promise.all(r).then(Zt).catch(Zt)}invalidateQueries(t,n={}){return St.batch(()=>(this.#e.findAll(t).forEach(s=>{s.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},n)))}refetchQueries(t,n={}){const s={...n,cancelRefetch:n.cancelRefetch??!0},r=St.batch(()=>this.#e.findAll(t).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let o=i.fetch(void 0,s);return s.throwOnError||(o=o.catch(Zt)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(Zt)}fetchQuery(t){const n=this.defaultQueryOptions(t);n.retry===void 0&&(n.retry=!1);const s=this.#e.build(this,n);return s.isStaleByTime(yc(n.staleTime,s))?s.fetch(n):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(Zt).catch(Zt)}fetchInfiniteQuery(t){return t.behavior=gh(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(Zt).catch(Zt)}ensureInfiniteQueryData(t){return t.behavior=gh(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return oa.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(t){this.#n=t}setQueryDefaults(t,n){this.#r.set(Oi(t),{queryKey:t,defaultOptions:n})}getQueryDefaults(t){const n=[...this.#r.values()],s={};return n.forEach(r=>{Ai(t,r.queryKey)&&Object.assign(s,r.defaultOptions)}),s}setMutationDefaults(t,n){this.#s.set(Oi(t),{mutationKey:t,defaultOptions:n})}getMutationDefaults(t){const n=[...this.#s.values()],s={};return n.forEach(r=>{Ai(t,r.mutationKey)&&Object.assign(s,r.defaultOptions)}),s}defaultQueryOptions(t){if(t._defaulted)return t;const n={...this.#n.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return n.queryHash||(n.queryHash=of(n.queryKey,n)),n.refetchOnReconnect===void 0&&(n.refetchOnReconnect=n.networkMode!=="always"),n.throwOnError===void 0&&(n.throwOnError=!!n.suspense),!n.networkMode&&n.persister&&(n.networkMode="offlineFirst"),n.queryFn===af&&(n.enabled=!1),n}defaultMutationOptions(t){return t?._defaulted?t:{...this.#n.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},jO="VUE_QUERY_CLIENT";function WO(e){const t=e?`:${e}`:"";return`${jO}${t}`}function NI(e,t){Object.keys(e).forEach(n=>{e[n]=t[n]})}function bc(e,t,n="",s=0){if(t){const r=t(e,n,s);if(r===void 0&&Ne(e)||r!==void 0)return r}if(Array.isArray(e))return e.map((r,i)=>bc(r,t,String(i),s+1));if(typeof e=="object"&&KO(e)){const r=Object.entries(e).map(([i,o])=>[i,bc(o,t,i,s+1)]);return Object.fromEntries(r)}return e}function GO(e,t){return bc(e,t)}function ce(e,t=!1){return GO(e,(n,s,r)=>{if(r===1&&s==="queryKey")return ce(n,!0);if(t&&qO(n))return ce(n(),t);if(Ne(n))return ce(Kt(n),t)})}function KO(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function qO(e){return typeof e=="function"}var XO=class extends iy{find(e){return super.find(ce(e))}findAll(e={}){return super.findAll(ce(e))}},QO=class extends ry{find(e){return super.find(ce(e))}findAll(e={}){return super.findAll(ce(e))}},YO=class extends BO{constructor(e={}){const t={defaultOptions:e.defaultOptions,queryCache:e.queryCache||new XO,mutationCache:e.mutationCache||new QO};super(t),this.isRestoring=it(!1)}isFetching(e={}){return super.isFetching(ce(e))}isMutating(e={}){return super.isMutating(ce(e))}getQueryData(e){return super.getQueryData(ce(e))}ensureQueryData(e){return super.ensureQueryData(ce(e))}getQueriesData(e){return super.getQueriesData(ce(e))}setQueryData(e,t,n={}){return super.setQueryData(ce(e),t,ce(n))}setQueriesData(e,t,n={}){return super.setQueriesData(ce(e),t,ce(n))}getQueryState(e){return super.getQueryState(ce(e))}removeQueries(e={}){return super.removeQueries(ce(e))}resetQueries(e={},t={}){return super.resetQueries(ce(e),ce(t))}cancelQueries(e={},t={}){return super.cancelQueries(ce(e),ce(t))}invalidateQueries(e={},t={}){const n=ce(e),s=ce(t);if(super.invalidateQueries({...n,refetchType:"none"},s),n.refetchType==="none")return Promise.resolve();const r={...n,type:n.refetchType??n.type??"active"};return Yt().then(()=>super.refetchQueries(r,s))}refetchQueries(e={},t={}){return super.refetchQueries(ce(e),ce(t))}fetchQuery(e){return super.fetchQuery(ce(e))}prefetchQuery(e){return super.prefetchQuery(ce(e))}fetchInfiniteQuery(e){return super.fetchInfiniteQuery(ce(e))}prefetchInfiniteQuery(e){return super.prefetchInfiniteQuery(ce(e))}setDefaultOptions(e){super.setDefaultOptions(ce(e))}setQueryDefaults(e,t){super.setQueryDefaults(ce(e),ce(t))}getQueryDefaults(e){return super.getQueryDefaults(ce(e))}setMutationDefaults(e,t){super.setMutationDefaults(ce(e),ce(t))}getMutationDefaults(e){return super.getMutationDefaults(ce(e))}},zO={install:(e,t={})=>{const n=WO(t.queryClientKey);let s;if("queryClient"in t&&t.queryClient)s=t.queryClient;else{const o="queryClientConfig"in t?t.queryClientConfig:void 0;s=new YO(o)}Yi||s.mount();let r=()=>{};if(t.clientPersister){s.isRestoring&&(s.isRestoring.value=!0);const[o,a]=t.clientPersister(s);r=o,a.then(()=>{s.isRestoring&&(s.isRestoring.value=!1),t.clientPersisterOnSuccess?.(s)})}const i=()=>{s.unmount(),r()};if(e.onUnmount)e.onUnmount(i);else{const o=e.unmount;e.unmount=function(){i(),o()}}e.provide(n,s)}};const JO=["top","right","bottom","left"],yh=["start","end"],vh=JO.reduce((e,t)=>e.concat(t,t+"-"+yh[0],t+"-"+yh[1]),[]),Ni=Math.min,Rs=Math.max,ZO={left:"right",right:"left",bottom:"top",top:"bottom"},eA={start:"end",end:"start"};function Tc(e,t,n){return Rs(e,Ni(t,n))}function nr(e,t){return typeof e=="function"?e(t):e}function wn(e){return e.split("-")[0]}function rn(e){return e.split("-")[1]}function oy(e){return e==="x"?"y":"x"}function lf(e){return e==="y"?"height":"width"}function Js(e){return["top","bottom"].includes(wn(e))?"y":"x"}function cf(e){return oy(Js(e))}function ay(e,t,n){n===void 0&&(n=!1);const s=rn(e),r=cf(e),i=lf(r);let o=r==="x"?s===(n?"end":"start")?"right":"left":s==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=la(o)),[o,la(o)]}function tA(e){const t=la(e);return[aa(e),t,aa(t)]}function aa(e){return e.replace(/start|end/g,t=>eA[t])}function nA(e,t,n){const s=["left","right"],r=["right","left"],i=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:s:t?s:r;case"left":case"right":return t?i:o;default:return[]}}function sA(e,t,n,s){const r=rn(e);let i=nA(wn(e),n==="start",s);return r&&(i=i.map(o=>o+"-"+r),t&&(i=i.concat(i.map(aa)))),i}function la(e){return e.replace(/left|right|bottom|top/g,t=>ZO[t])}function rA(e){return{top:0,right:0,bottom:0,left:0,...e}}function ly(e){return typeof e!="number"?rA(e):{top:e,right:e,bottom:e,left:e}}function Zr(e){const{x:t,y:n,width:s,height:r}=e;return{width:s,height:r,top:n,left:t,right:t+s,bottom:n+r,x:t,y:n}}function Eh(e,t,n){let{reference:s,floating:r}=e;const i=Js(t),o=cf(t),a=lf(o),l=wn(t),c=i==="y",u=s.x+s.width/2-r.width/2,f=s.y+s.height/2-r.height/2,h=s[a]/2-r[a]/2;let d;switch(l){case"top":d={x:u,y:s.y-r.height};break;case"bottom":d={x:u,y:s.y+s.height};break;case"right":d={x:s.x+s.width,y:f};break;case"left":d={x:s.x-r.width,y:f};break;default:d={x:s.x,y:s.y}}switch(rn(t)){case"start":d[o]-=h*(n&&c?-1:1);break;case"end":d[o]+=h*(n&&c?-1:1);break}return d}const iA=async(e,t,n)=>{const{placement:s="bottom",strategy:r="absolute",middleware:i=[],platform:o}=n,a=i.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(t));let c=await o.getElementRects({reference:e,floating:t,strategy:r}),{x:u,y:f}=Eh(c,s,l),h=s,d={},p=0;for(let m=0;m<a.length;m++){const{name:E,fn:g}=a[m],{x:v,y:_,data:y,reset:T}=await g({x:u,y:f,initialPlacement:s,placement:h,strategy:r,middlewareData:d,rects:c,platform:o,elements:{reference:e,floating:t}});u=v??u,f=_??f,d={...d,[E]:{...d[E],...y}},T&&p<=50&&(p++,typeof T=="object"&&(T.placement&&(h=T.placement),T.rects&&(c=T.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:r}):T.rects),{x:u,y:f}=Eh(c,h,l)),m=-1)}return{x:u,y:f,placement:h,strategy:r,middlewareData:d}};async function Za(e,t){var n;t===void 0&&(t={});const{x:s,y:r,platform:i,rects:o,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=nr(t,e),p=ly(d),E=a[h?f==="floating"?"reference":"floating":f],g=Zr(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(E)))==null||n?E:E.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),v=f==="floating"?{x:s,y:r,width:o.floating.width,height:o.floating.height}:o.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),y=await(i.isElement==null?void 0:i.isElement(_))?await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1}:{x:1,y:1},T=Zr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:_,strategy:l}):v);return{top:(g.top-T.top+p.top)/y.y,bottom:(T.bottom-g.bottom+p.bottom)/y.y,left:(g.left-T.left+p.left)/y.x,right:(T.right-g.right+p.right)/y.x}}const oA=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:s,placement:r,rects:i,platform:o,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=nr(e,t)||{};if(c==null)return{};const f=ly(u),h={x:n,y:s},d=cf(r),p=lf(d),m=await o.getDimensions(c),E=d==="y",g=E?"top":"left",v=E?"bottom":"right",_=E?"clientHeight":"clientWidth",y=i.reference[p]+i.reference[d]-h[d]-i.floating[p],T=h[d]-i.reference[d],O=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c));let A=O?O[_]:0;(!A||!await(o.isElement==null?void 0:o.isElement(O)))&&(A=a.floating[_]||i.floating[p]);const I=y/2-T/2,S=A/2-m[p]/2-1,P=Ni(f[g],S),x=Ni(f[v],S),R=P,$=A-m[p]-x,V=A/2-m[p]/2+I,K=Tc(R,V,$),j=!l.arrow&&rn(r)!=null&&V!==K&&i.reference[p]/2-(V<R?P:x)-m[p]/2<0,q=j?V<R?V-R:V-$:0;return{[d]:h[d]+q,data:{[d]:K,centerOffset:V-K-q,...j&&{alignmentOffset:q}},reset:j}}});function aA(e,t,n){return(e?[...n.filter(r=>rn(r)===e),...n.filter(r=>rn(r)!==e)]:n.filter(r=>wn(r)===r)).filter(r=>e?rn(r)===e||(t?aa(r)!==r:!1):!0)}const lA=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,s,r;const{rects:i,middlewareData:o,placement:a,platform:l,elements:c}=t,{crossAxis:u=!1,alignment:f,allowedPlacements:h=vh,autoAlignment:d=!0,...p}=nr(e,t),m=f!==void 0||h===vh?aA(f||null,d,h):h,E=await Za(t,p),g=((n=o.autoPlacement)==null?void 0:n.index)||0,v=m[g];if(v==null)return{};const _=ay(v,i,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==v)return{reset:{placement:m[0]}};const y=[E[wn(v)],E[_[0]],E[_[1]]],T=[...((s=o.autoPlacement)==null?void 0:s.overflows)||[],{placement:v,overflows:y}],O=m[g+1];if(O)return{data:{index:g+1,overflows:T},reset:{placement:O}};const A=T.map(P=>{const x=rn(P.placement);return[P.placement,x&&u?P.overflows.slice(0,2).reduce((R,$)=>R+$,0):P.overflows[0],P.overflows]}).sort((P,x)=>P[1]-x[1]),S=((r=A.filter(P=>P[2].slice(0,rn(P[0])?2:3).every(x=>x<=0))[0])==null?void 0:r[0])||A[0][0];return S!==a?{data:{index:g+1,overflows:T},reset:{placement:S}}:{}}}},cA=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,s;const{placement:r,middlewareData:i,rects:o,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...E}=nr(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const g=wn(r),v=Js(a),_=wn(a)===a,y=await(l.isRTL==null?void 0:l.isRTL(c.floating)),T=h||(_||!m?[la(a)]:tA(a)),O=p!=="none";!h&&O&&T.push(...sA(a,m,p,y));const A=[a,...T],I=await Za(t,E),S=[];let P=((s=i.flip)==null?void 0:s.overflows)||[];if(u&&S.push(I[g]),f){const V=ay(r,o,y);S.push(I[V[0]],I[V[1]])}if(P=[...P,{placement:r,overflows:S}],!S.every(V=>V<=0)){var x,R;const V=(((x=i.flip)==null?void 0:x.index)||0)+1,K=A[V];if(K)return{data:{index:V,overflows:P},reset:{placement:K}};let j=(R=P.filter(q=>q.overflows[0]<=0).sort((q,G)=>q.overflows[1]-G.overflows[1])[0])==null?void 0:R.placement;if(!j)switch(d){case"bestFit":{var $;const q=($=P.filter(G=>{if(O){const ee=Js(G.placement);return ee===v||ee==="y"}return!0}).map(G=>[G.placement,G.overflows.filter(ee=>ee>0).reduce((ee,we)=>ee+we,0)]).sort((G,ee)=>G[1]-ee[1])[0])==null?void 0:$[0];q&&(j=q);break}case"initialPlacement":j=a;break}if(r!==j)return{reset:{placement:j}}}return{}}}};async function uA(e,t){const{placement:n,platform:s,elements:r}=e,i=await(s.isRTL==null?void 0:s.isRTL(r.floating)),o=wn(n),a=rn(n),l=Js(n)==="y",c=["left","top"].includes(o)?-1:1,u=i&&l?-1:1,f=nr(t,e);let{mainAxis:h,crossAxis:d,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof p=="number"&&(d=a==="end"?p*-1:p),l?{x:d*u,y:h*c}:{x:h*c,y:d*u}}const fA=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,s;const{x:r,y:i,placement:o,middlewareData:a}=t,l=await uA(t,e);return o===((n=a.offset)==null?void 0:n.placement)&&(s=a.arrow)!=null&&s.alignmentOffset?{}:{x:r+l.x,y:i+l.y,data:{...l,placement:o}}}}},dA=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:s,placement:r}=t,{mainAxis:i=!0,crossAxis:o=!1,limiter:a={fn:E=>{let{x:g,y:v}=E;return{x:g,y:v}}},...l}=nr(e,t),c={x:n,y:s},u=await Za(t,l),f=Js(wn(r)),h=oy(f);let d=c[h],p=c[f];if(i){const E=h==="y"?"top":"left",g=h==="y"?"bottom":"right",v=d+u[E],_=d-u[g];d=Tc(v,d,_)}if(o){const E=f==="y"?"top":"left",g=f==="y"?"bottom":"right",v=p+u[E],_=p-u[g];p=Tc(v,p,_)}const m=a.fn({...t,[h]:d,[f]:p});return{...m,data:{x:m.x-n,y:m.y-s,enabled:{[h]:i,[f]:o}}}}}},hA=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,s;const{placement:r,rects:i,platform:o,elements:a}=t,{apply:l=()=>{},...c}=nr(e,t),u=await Za(t,c),f=wn(r),h=rn(r),d=Js(r)==="y",{width:p,height:m}=i.floating;let E,g;f==="top"||f==="bottom"?(E=f,g=h===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(g=f,E=h==="end"?"top":"bottom");const v=m-u.top-u.bottom,_=p-u.left-u.right,y=Ni(m-u[E],v),T=Ni(p-u[g],_),O=!t.middlewareData.shift;let A=y,I=T;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(I=_),(s=t.middlewareData.shift)!=null&&s.enabled.y&&(A=v),O&&!h){const P=Rs(u.left,0),x=Rs(u.right,0),R=Rs(u.top,0),$=Rs(u.bottom,0);d?I=p-2*(P!==0||x!==0?P+x:Rs(u.left,u.right)):A=m-2*(R!==0||$!==0?R+$:Rs(u.top,u.bottom))}await l({...t,availableWidth:I,availableHeight:A});const S=await o.getDimensions(a.floating);return p!==S.width||m!==S.height?{reset:{rects:!0}}:{}}}};function Gt(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function En(e){return Gt(e).getComputedStyle(e)}const bh=Math.min,ei=Math.max,ca=Math.round;function cy(e){const t=En(e);let n=parseFloat(t.width),s=parseFloat(t.height);const r=e.offsetWidth,i=e.offsetHeight,o=ca(n)!==r||ca(s)!==i;return o&&(n=r,s=i),{width:n,height:s,fallback:o}}function Es(e){return fy(e)?(e.nodeName||"").toLowerCase():""}let _o;function uy(){if(_o)return _o;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(_o=e.brands.map((t=>t.brand+"/"+t.version)).join(" "),_o):navigator.userAgent}function bn(e){return e instanceof Gt(e).HTMLElement}function gs(e){return e instanceof Gt(e).Element}function fy(e){return e instanceof Gt(e).Node}function Th(e){return typeof ShadowRoot>"u"?!1:e instanceof Gt(e).ShadowRoot||e instanceof ShadowRoot}function el(e){const{overflow:t,overflowX:n,overflowY:s,display:r}=En(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+n)&&!["inline","contents"].includes(r)}function pA(e){return["table","td","th"].includes(Es(e))}function Sc(e){const t=/firefox/i.test(uy()),n=En(e),s=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!s&&s!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some((r=>n.willChange.includes(r)))||["paint","layout","strict","content"].some((r=>{const i=n.contain;return i!=null&&i.includes(r)}))}function dy(){return!/^((?!chrome|android).)*safari/i.test(uy())}function uf(e){return["html","body","#document"].includes(Es(e))}function hy(e){return gs(e)?e:e.contextElement}const py={x:1,y:1};function mr(e){const t=hy(e);if(!bn(t))return py;const n=t.getBoundingClientRect(),{width:s,height:r,fallback:i}=cy(t);let o=(i?ca(n.width):n.width)/s,a=(i?ca(n.height):n.height)/r;return o&&Number.isFinite(o)||(o=1),a&&Number.isFinite(a)||(a=1),{x:o,y:a}}function Pi(e,t,n,s){var r,i;t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),a=hy(e);let l=py;t&&(s?gs(s)&&(l=mr(s)):l=mr(e));const c=a?Gt(a):window,u=!dy()&&n;let f=(o.left+(u&&((r=c.visualViewport)==null?void 0:r.offsetLeft)||0))/l.x,h=(o.top+(u&&((i=c.visualViewport)==null?void 0:i.offsetTop)||0))/l.y,d=o.width/l.x,p=o.height/l.y;if(a){const m=Gt(a),E=s&&gs(s)?Gt(s):s;let g=m.frameElement;for(;g&&s&&E!==m;){const v=mr(g),_=g.getBoundingClientRect(),y=getComputedStyle(g);_.x+=(g.clientLeft+parseFloat(y.paddingLeft))*v.x,_.y+=(g.clientTop+parseFloat(y.paddingTop))*v.y,f*=v.x,h*=v.y,d*=v.x,p*=v.y,f+=_.x,h+=_.y,g=Gt(g).frameElement}}return{width:d,height:p,top:h,right:f+d,bottom:h+p,left:f,x:f,y:h}}function _s(e){return((fy(e)?e.ownerDocument:e.document)||window.document).documentElement}function tl(e){return gs(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function my(e){return Pi(_s(e)).left+tl(e).scrollLeft}function Ii(e){if(Es(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Th(e)&&e.host||_s(e);return Th(t)?t.host:t}function gy(e){const t=Ii(e);return uf(t)?t.ownerDocument.body:bn(t)&&el(t)?t:gy(t)}function ua(e,t){var n;t===void 0&&(t=[]);const s=gy(e),r=s===((n=e.ownerDocument)==null?void 0:n.body),i=Gt(s);return r?t.concat(i,i.visualViewport||[],el(s)?s:[]):t.concat(s,ua(s))}function Sh(e,t,n){return t==="viewport"?Zr((function(s,r){const i=Gt(s),o=_s(s),a=i.visualViewport;let l=o.clientWidth,c=o.clientHeight,u=0,f=0;if(a){l=a.width,c=a.height;const h=dy();(h||!h&&r==="fixed")&&(u=a.offsetLeft,f=a.offsetTop)}return{width:l,height:c,x:u,y:f}})(e,n)):gs(t)?Zr((function(s,r){const i=Pi(s,!0,r==="fixed"),o=i.top+s.clientTop,a=i.left+s.clientLeft,l=bn(s)?mr(s):{x:1,y:1};return{width:s.clientWidth*l.x,height:s.clientHeight*l.y,x:a*l.x,y:o*l.y}})(t,n)):Zr((function(s){const r=_s(s),i=tl(s),o=s.ownerDocument.body,a=ei(r.scrollWidth,r.clientWidth,o.scrollWidth,o.clientWidth),l=ei(r.scrollHeight,r.clientHeight,o.scrollHeight,o.clientHeight);let c=-i.scrollLeft+my(s);const u=-i.scrollTop;return En(o).direction==="rtl"&&(c+=ei(r.clientWidth,o.clientWidth)-a),{width:a,height:l,x:c,y:u}})(_s(e)))}function wh(e){return bn(e)&&En(e).position!=="fixed"?e.offsetParent:null}function Ch(e){const t=Gt(e);let n=wh(e);for(;n&&pA(n)&&En(n).position==="static";)n=wh(n);return n&&(Es(n)==="html"||Es(n)==="body"&&En(n).position==="static"&&!Sc(n))?t:n||(function(s){let r=Ii(s);for(;bn(r)&&!uf(r);){if(Sc(r))return r;r=Ii(r)}return null})(e)||t}function mA(e,t,n){const s=bn(t),r=_s(t),i=Pi(e,!0,n==="fixed",t);let o={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(s||!s&&n!=="fixed")if((Es(t)!=="body"||el(r))&&(o=tl(t)),bn(t)){const l=Pi(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else r&&(a.x=my(r));return{x:i.left+o.scrollLeft-a.x,y:i.top+o.scrollTop-a.y,width:i.width,height:i.height}}const gA={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:s,strategy:r}=e;const i=n==="clippingAncestors"?(function(c,u){const f=u.get(c);if(f)return f;let h=ua(c).filter((E=>gs(E)&&Es(E)!=="body")),d=null;const p=En(c).position==="fixed";let m=p?Ii(c):c;for(;gs(m)&&!uf(m);){const E=En(m),g=Sc(m);(p?g||d:g||E.position!=="static"||!d||!["absolute","fixed"].includes(d.position))?d=E:h=h.filter((v=>v!==m)),m=Ii(m)}return u.set(c,h),h})(t,this._c):[].concat(n),o=[...i,s],a=o[0],l=o.reduce(((c,u)=>{const f=Sh(t,u,r);return c.top=ei(f.top,c.top),c.right=bh(f.right,c.right),c.bottom=bh(f.bottom,c.bottom),c.left=ei(f.left,c.left),c}),Sh(t,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:s}=e;const r=bn(n),i=_s(n);if(n===i)return t;let o={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((r||!r&&s!=="fixed")&&((Es(n)!=="body"||el(i))&&(o=tl(n)),bn(n))){const c=Pi(n);a=mr(n),l.x=c.x+n.clientLeft,l.y=c.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-o.scrollLeft*a.x+l.x,y:t.y*a.y-o.scrollTop*a.y+l.y}},isElement:gs,getDimensions:function(e){return bn(e)?cy(e):e.getBoundingClientRect()},getOffsetParent:Ch,getDocumentElement:_s,getScale:mr,async getElementRects(e){let{reference:t,floating:n,strategy:s}=e;const r=this.getOffsetParent||Ch,i=this.getDimensions;return{reference:mA(t,await r(n),s),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>En(e).direction==="rtl"},_A=(e,t,n)=>{const s=new Map,r={platform:gA,...n},i={...r.platform,_c:s};return iA(e,t,{...r,platform:i})};function _y(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?_y(e[n],t[n]):e[n]=t[n])}const on={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function Ri(e,t){let n=on.themes[e]||{},s;do s=n[t],typeof s>"u"?n.$extend?n=on.themes[n.$extend]||{}:(n=null,s=on[t]):n=null;while(n);return s}function yA(e){const t=[e];let n=on.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=on.themes[n.$extend]||{}):n=null;while(n);return t.map(s=>`v-popper--theme-${s}`)}function Oh(e){const t=[e];let n=on.themes[e]||{};do n.$extend?(t.push(n.$extend),n=on.themes[n.$extend]||{}):n=null;while(n);return t}let Ir=!1;if(typeof window<"u"){Ir=!1;try{const e=Object.defineProperty({},"passive",{get(){Ir=!0}});window.addEventListener("test",null,e)}catch{}}let yy=!1;typeof window<"u"&&typeof navigator<"u"&&(yy=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const vy=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Ah={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Nh={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Ph(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function Ol(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const tn=[];let Ps=null;const Ih={};function Rh(e){let t=Ih[e];return t||(t=Ih[e]=[]),t}let wc=function(){};typeof window<"u"&&(wc=window.Element);function ge(e){return function(t){return Ri(t.theme,e)}}const Al="__floating-vue__popper",Ey=()=>Dt({name:"VPopper",provide(){return{[Al]:{parentPopper:this}}},inject:{[Al]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:ge("disabled")},positioningDisabled:{type:Boolean,default:ge("positioningDisabled")},placement:{type:String,default:ge("placement"),validator:e=>vy.includes(e)},delay:{type:[String,Number,Object],default:ge("delay")},distance:{type:[Number,String],default:ge("distance")},skidding:{type:[Number,String],default:ge("skidding")},triggers:{type:Array,default:ge("triggers")},showTriggers:{type:[Array,Function],default:ge("showTriggers")},hideTriggers:{type:[Array,Function],default:ge("hideTriggers")},popperTriggers:{type:Array,default:ge("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:ge("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:ge("popperHideTriggers")},container:{type:[String,Object,wc,Boolean],default:ge("container")},boundary:{type:[String,wc],default:ge("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:ge("strategy")},autoHide:{type:[Boolean,Function],default:ge("autoHide")},handleResize:{type:Boolean,default:ge("handleResize")},instantMove:{type:Boolean,default:ge("instantMove")},eagerMount:{type:Boolean,default:ge("eagerMount")},popperClass:{type:[String,Array,Object],default:ge("popperClass")},computeTransformOrigin:{type:Boolean,default:ge("computeTransformOrigin")},autoMinSize:{type:Boolean,default:ge("autoMinSize")},autoSize:{type:[Boolean,String],default:ge("autoSize")},autoMaxSize:{type:Boolean,default:ge("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:ge("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:ge("preventOverflow")},overflowPadding:{type:[Number,String],default:ge("overflowPadding")},arrowPadding:{type:[Number,String],default:ge("arrowPadding")},arrowOverflow:{type:Boolean,default:ge("arrowOverflow")},flip:{type:Boolean,default:ge("flip")},shift:{type:Boolean,default:ge("shift")},shiftCrossAxis:{type:Boolean,default:ge("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:ge("noAutoFocus")},disposeTimeout:{type:Number,default:ge("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Al])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var s,r;(s=this.parentPopper)!=null&&s.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(fA({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(lA({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(dA({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(cA({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(oA({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:s,rects:r,middlewareData:i})=>{let o;const{centerOffset:a}=i.arrow;return s.startsWith("top")||s.startsWith("bottom")?o=Math.abs(a)>r.reference.width/2:o=Math.abs(a)>r.reference.height/2,{data:{overflow:o}}}}),this.autoMinSize||this.autoSize){const s=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:r,placement:i,middlewareData:o})=>{var a;if((a=o.autoSize)!=null&&a.skip)return{};let l,c;return i.startsWith("top")||i.startsWith("bottom")?l=r.reference.width:c=r.reference.height,this.$_innerNode.style[s==="min"?"minWidth":s==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[s==="min"?"minHeight":s==="max"?"maxHeight":"height"]=c!=null?`${c}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(hA({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:s,availableHeight:r})=>{this.$_innerNode.style.maxWidth=s!=null?`${s}px`:null,this.$_innerNode.style.maxHeight=r!=null?`${r}px`:null}})));const n=await _A(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Ps&&this.instantMove&&Ps.instantMove&&Ps!==this.parentPopper){Ps.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Ps=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Ol(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...ua(this.$_referenceNode),...ua(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),s=n.parentNode.getBoundingClientRect(),r=t.x+t.width/2-(s.left+n.offsetLeft),i=t.y+t.height/2-(s.top+n.offsetTop);this.result.transformOrigin=`${r}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<tn.length;n++)t=tn[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}tn.push(this),document.body.classList.add("v-popper--some-open");for(const t of Oh(this.theme))Rh(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Ol(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Ph(tn,this),tn.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Oh(this.theme)){const s=Rh(n);Ph(s,this),s.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Ps===this&&(Ps=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Ol(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,Ah,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Ah,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,Nh,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Nh,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(s=>s.addEventListener(t,n,Ir?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,s,r){let i=n;s!=null&&(i=typeof s=="function"?s(i):s),i.forEach(o=>{const a=t[o];a&&this.$_registerEventListeners(e,a,r)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:s,eventType:r,handler:i}=n;!e||e===r?s.forEach(o=>o.removeEventListener(r,i)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const s=n.getAttribute(e);s&&(n.removeAttribute(e),n.setAttribute(t,s))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const s=e[n];s==null?t.removeAttribute(n):t.setAttribute(n,s)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(ti>=e.left&&ti<=e.right&&ni>=e.top&&ni<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=ti-is,s=ni-os,r=t.left+t.width/2-is+(t.top+t.height/2)-os+t.width+t.height,i=is+n*r,o=os+s*r;return yo(is,os,i,o,t.left,t.top,t.left,t.bottom)||yo(is,os,i,o,t.left,t.top,t.right,t.top)||yo(is,os,i,o,t.right,t.top,t.right,t.bottom)||yo(is,os,i,o,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(yy){const e=Ir?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>Lh(t,!0),e),document.addEventListener("touchend",t=>Mh(t,!0),e)}else window.addEventListener("mousedown",e=>Lh(e,!1),!0),window.addEventListener("click",e=>Mh(e,!1),!0);window.addEventListener("resize",EA)}function Lh(e,t){if(on.autoHideOnMousedown)by(e,t);else for(let n=0;n<tn.length;n++){const s=tn[n];try{s.mouseDownContains=s.popperNode().contains(e.target)}catch{}}}function Mh(e,t){on.autoHideOnMousedown||by(e,t)}function by(e,t){const n={};for(let s=tn.length-1;s>=0;s--){const r=tn[s];try{const i=r.containsGlobalTarget=r.mouseDownContains||r.popperNode().contains(e.target);r.pendingHide=!1,requestAnimationFrame(()=>{if(r.pendingHide=!1,!n[r.randomId]&&xh(r,i,e)){if(r.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&i){let a=r.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let o=r.parentPopper;for(;o&&xh(o,o.containsGlobalTarget,e);)o.$_handleGlobalClose(e,t),o=o.parentPopper}})}catch{}}}function xh(e,t,n){return n.closeAllPopover||n.closePopover&&t||vA(e,n)&&!t}function vA(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function EA(){for(let e=0;e<tn.length;e++)tn[e].$_computePosition()}let is=0,os=0,ti=0,ni=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{is=ti,os=ni,ti=e.clientX,ni=e.clientY},Ir?{passive:!0}:void 0);function yo(e,t,n,s,r,i,o,a){const l=((o-r)*(t-i)-(a-i)*(e-r))/((a-i)*(n-e)-(o-r)*(s-t)),c=((n-e)*(t-i)-(s-t)*(e-r))/((a-i)*(n-e)-(o-r)*(s-t));return l>=0&&l<=1&&c>=0&&c<=1}const bA={extends:Ey()},nl=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};function TA(e,t,n,s,r,i){return Ot(),Er("div",{ref:"reference",class:Jn(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[pi(e.$slots,"default",Wc(yu(e.slotData)))],2)}const SA=nl(bA,[["render",TA]]);function wA(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var s=e.indexOf("rv:");return parseInt(e.substring(s+3,e.indexOf(".",s)),10)}var r=e.indexOf("Edge/");return r>0?parseInt(e.substring(r+5,e.indexOf(".",r)),10):-1}let xo;function Cc(){Cc.init||(Cc.init=!0,xo=wA()!==-1)}var sl={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Cc(),Yt(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",xo&&this.$el.appendChild(e),e.data="about:blank",xo||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!xo&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const CA=vm();_m("data-v-b329ee4c");const OA={class:"resize-observer",tabindex:"-1"};ym();const AA=CA((e,t,n,s,r,i)=>(Ot(),Qn("div",OA)));sl.render=AA;sl.__scopeId="data-v-b329ee4c";sl.__file="src/components/ResizeObserver.vue";const Ty=(e="theme")=>({computed:{themeClass(){return yA(this[e])}}}),NA=Dt({name:"VPopperContent",components:{ResizeObserver:sl},mixins:[Ty()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),PA=["id","aria-hidden","tabindex","data-popper-placement"],IA={ref:"inner",class:"v-popper__inner"},RA=_n("div",{class:"v-popper__arrow-outer"},null,-1),LA=_n("div",{class:"v-popper__arrow-inner"},null,-1),MA=[RA,LA];function xA(e,t,n,s,r,i){const o=Gs("ResizeObserver");return Ot(),Er("div",{id:e.popperId,ref:"popover",class:Jn(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:$n(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=Mg(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[_n("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),_n("div",{class:"v-popper__wrapper",style:$n(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[_n("div",IA,[e.mounted?(Ot(),Er(Ge,{key:0},[_n("div",null,[pi(e.$slots,"default")]),e.handleResize?(Ot(),Qn(o,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Jl("",!0)],64)):Jl("",!0)],512),_n("div",{ref:"arrow",class:"v-popper__arrow-container",style:$n(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},MA,4)],4)],46,PA)}const Sy=nl(NA,[["render",xA]]),wy={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let Oc=function(){};typeof window<"u"&&(Oc=window.Element);const DA=Dt({name:"VPopperWrapper",components:{Popper:SA,PopperContent:Sy},mixins:[wy,Ty("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Oc,Boolean],default:void 0},boundary:{type:[String,Oc],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function kA(e,t,n,s,r,i){const o=Gs("PopperContent"),a=Gs("Popper");return Ot(),Qn(a,La({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=l=>e.$emit("update:shown",l)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:Ws(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:h,show:d,hide:p,handleResize:m,onResize:E,classes:g,result:v})=>[pi(e.$slots,"default",{shown:c,show:d,hide:p}),Re(o,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":h,"handle-resize":m,classes:g,result:v,onHide:p,onResize:E},{default:Ws(()=>[pi(e.$slots,"popper",{shown:c,hide:p})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const ff=nl(DA,[["render",kA]]),FA={...ff,name:"VDropdown",vPopperTheme:"dropdown"},$A={...ff,name:"VMenu",vPopperTheme:"menu"},VA={...ff,name:"VTooltip",vPopperTheme:"tooltip"},HA=Dt({name:"VTooltipDirective",components:{Popper:Ey(),PopperContent:Sy},mixins:[wy],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Ri(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Ri(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(s=>this.onResult(t,s)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),UA=["innerHTML"],BA=["textContent"];function jA(e,t,n,s,r,i){const o=Gs("PopperContent"),a=Gs("Popper");return Ot(),Qn(a,La({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:Ws(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:h,hide:d,handleResize:p,onResize:m,classes:E,result:g})=>[Re(o,{ref:"popperContent",class:Jn({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":h,"handle-resize":p,classes:E,result:g,onHide:d,onResize:m},{default:Ws(()=>[e.html?(Ot(),Er("div",{key:0,innerHTML:e.finalContent},null,8,UA)):(Ot(),Er("div",{key:1,textContent:Ea(e.finalContent)},null,8,BA))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const WA=nl(HA,[["render",jA]]),Cy="v-popper--has-tooltip";function GA(e,t){let n=e.placement;if(!n&&t)for(const s of vy)t[s]&&(n=s);return n||(n=Ri(e.theme||"tooltip","placement")),n}function Oy(e,t,n){let s;const r=typeof t;return r==="string"?s={content:t}:t&&r==="object"?s=t:s={content:!1},s.placement=GA(s,n),s.targetNodes=()=>[e],s.referenceNode=()=>e,s}let Nl,Li,KA=0;function qA(){if(Nl)return;Li=it([]),Nl=yi({name:"VTooltipDirectiveApp",setup(){return{directives:Li}},render(){return this.directives.map(t=>tr(WA,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),Nl.mount(e)}function XA(e,t,n){qA();const s=it(Oy(e,t,n)),r=it(!1),i={id:KA++,options:s,shown:r};return Li.value.push(i),e.classList&&e.classList.add(Cy),e.$_popper={options:s,item:i,show(){r.value=!0},hide(){r.value=!1}}}function Ay(e){if(e.$_popper){const t=Li.value.indexOf(e.$_popper.item);t!==-1&&Li.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Cy)}function Dh(e,{value:t,modifiers:n}){const s=Oy(e,t,n);if(!s.content||Ri(s.theme||"tooltip","disabled"))Ay(e);else{let r;e.$_popper?(r=e.$_popper,r.options.value=s):r=XA(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?r.show():r.hide())}}const QA={beforeMount:Dh,updated:Dh,beforeUnmount(e){Ay(e)}};function kh(e){e.addEventListener("mousedown",fa),e.addEventListener("click",fa),e.addEventListener("touchstart",Ny,Ir?{passive:!0}:!1)}function Fh(e){e.removeEventListener("mousedown",fa),e.removeEventListener("click",fa),e.removeEventListener("touchstart",Ny),e.removeEventListener("touchend",Py),e.removeEventListener("touchcancel",Iy)}function fa(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Ny(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",Py),t.addEventListener("touchcancel",Iy)}}function Py(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],s=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-s.screenY)<20&&Math.abs(n.screenX-s.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function Iy(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const YA={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&kh(e)},updated(e,{value:t,oldValue:n,modifiers:s}){e.$_closePopoverModifiers=s,t!==n&&(typeof t>"u"||t?kh(e):Fh(e))},beforeUnmount(e){Fh(e)}};function zA(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,_y(on,t),e.directive("tooltip",QA),e.directive("close-popper",YA),e.component("VTooltip",VA),e.component("VDropdown",FA),e.component("VMenu",$A))}const JA={version:"5.2.2",install:zA,options:on},ZA=e=>{const t={};Object.entries(Object.assign({"/src/layouts/board-layout.vue":()=>It(()=>import("./board-layout-_R9n85-s.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),"/src/layouts/default.vue":()=>It(()=>import("./default-6Bf5Es_S.js"),__vite__mapDeps([7,1,2,3,4,5,6]),import.meta.url),"/src/layouts/headless.vue":()=>It(()=>import("./headless-BOt-atch.js"),__vite__mapDeps([8,5]),import.meta.url),"/src/layouts/index-layout.vue":()=>It(()=>import("./index-layout-ClOXvNqI.js"),__vite__mapDeps([9,1,2,3,4,5,6]),import.meta.url)})).forEach(([r,i])=>{let o=r.replace("/src/layouts/","").replace(".vue","");t[o]=i});function s(r,i=!0){return r.map(o=>{if(o.children?.length>0&&(o.children=s(o.children,!1)),i){if(!o.component&&o.children?.find(l=>(l.path===""||l.path==="/")&&l.meta?.isLayout))return o;if(o.meta?.layout!==!1)return{path:o.path,component:t[o.meta?.layout||"default"],children:o.path==="/"?[o]:[{...o,path:""}],meta:{isLayout:!0}}}return o.meta?.layout?{path:o.path,component:t[o.meta?.layout],children:[{...o,path:""}],meta:{isLayout:!0}}:o})}return s(e)},eN=new Set(["link","style","script","noscript"]),tN=new Set(["title","titleTemplate","script","style","noscript"]),$h=new Set(["base","meta","link","style","script","noscript"]),nN=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),sN=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),rN=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),iN=new Set(["templateParams","htmlAttrs","bodyAttrs"]),oN=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),aN=["name","property","http-equiv"],lN=new Set(["viewport","description","keywords","robots"]);function Ry(e){const t=e.split(":");return t.length?oN.has(t[1]):!1}function Ac(e){const{props:t,tag:n}=e;if(sN.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const s of aN)if(t[s]!==void 0){const r=t[s],i=r.includes(":"),o=lN.has(r),l=!(i||o)&&e.key?`:key:${e.key}`:"";return`${n}:${r}${l}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(tN.has(n)){const s=e.textContent||e.innerHTML;if(s)return`${n}:content:${s}`}}function Vh(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([s,r])=>`${s}:${String(r)}`).join(",")}`}function da(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());let r;if(t&&(r=t(n,e)),Array.isArray(r))return r.map(i=>da(i,t));if(r?.constructor===Object){const i={};for(const o of Object.keys(r))i[o]=da(r[o],t,o);return i}return r}function cN(e,t){const n=e==="style"?new Map:new Set;function s(r){const i=r.trim();if(i)if(e==="style"){const[o,...a]=i.split(":").map(l=>l.trim());o&&a.length&&n.set(o,a.join(":"))}else i.split(" ").filter(Boolean).forEach(o=>n.add(o))}return typeof t=="string"?e==="style"?t.split(";").forEach(s):s(t):Array.isArray(t)?t.forEach(r=>s(r)):t&&typeof t=="object"&&Object.entries(t).forEach(([r,i])=>{i&&i!=="false"&&(e==="style"?n.set(r.trim(),i):s(r))}),n}function Ly(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([n,s])=>{if(s===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=cN(n,s);return}if(rN.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof s=="object"){let o=t.type;if(t.type||(o="application/json"),!o?.endsWith("json")&&o!=="speculationrules")return;t.type=o,e.props.type=o,e[n]=JSON.stringify(s)}else e[n]=s;return}const r=String(s),i=n.startsWith("data-");r==="true"||r===""?e.props[n]=i?r:!0:!s&&i&&r==="false"?e.props[n]="false":s!==void 0&&(e.props[n]=s)}),e):e}function uN(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},s=Ly({tag:e,props:{}},n);return s.key&&eN.has(s.tag)&&(s.props["data-hid"]=s._h=s.key),s.tag==="script"&&typeof s.innerHTML=="object"&&(s.innerHTML=JSON.stringify(s.innerHTML),s.props.type=s.props.type||"application/json"),Array.isArray(s.props.content)?s.props.content.map(r=>({...s,props:{...s.props,content:r}})):s}function fN(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(r,i)=>{for(let o=0;o<t.length;o++)i=t[o](r,i);return i};e=n(void 0,e);const s=[];return e=da(e,n),Object.entries(e||{}).forEach(([r,i])=>{if(i!==void 0)for(const o of Array.isArray(i)?i:[i])s.push(uN(r,o))}),s.flat()}const Hh=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Uh={base:-10,title:10},dN={critical:-8,high:-1,low:2},Bh={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}},hN=/@import/,Br=e=>e===""||e===!0;function pN(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const s=dN[t.tagPriority]||0,r=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Bh;if(t.tag in Uh)n=Uh[t.tag];else if(t.tag==="meta"){const i=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;i&&(n=Bh.meta[i])}else t.tag==="link"&&t.props.rel?n=r.link[t.props.rel]:t.tag==="script"?Br(t.props.async)?n=r.script.async:t.props.src&&!Br(t.props.defer)&&!Br(t.props.async)&&t.props.type!=="module"&&!t.props.type?.endsWith("json")?n=r.script.sync:Br(t.props.defer)&&t.props.src&&!Br(t.props.async)&&(n=r.script.defer):t.tag==="style"&&(n=t.innerHTML&&hN.test(t.innerHTML)?r.style.imported:r.style.sync);return(n||100)+s}function jh(e,t){const n=typeof t=="function"?t(e):t,s=n.key||String(e.plugins.size+1);e.plugins.get(s)||(e.plugins.set(s,n),e.hooks.addHooks(n.hooks||{}))}function mN(e={}){const t=dw();t.addHooks(e.hooks||{});const n=!e.document,s=new Map,r=new Map,i=new Set,o={_entryCount:1,plugins:r,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:s,headEntries(){return[...s.values()]},use:a=>jh(o,a),push(a,l){const c={...l||{}};delete c.head;const u=c._index??o._entryCount++,f={_i:u,input:a,options:c},h={_poll(d=!1){o.dirty=!0,!d&&i.add(u),t.callHook("entries:updated",o)},dispose(){s.delete(u)&&o.invalidate()},patch(d){(!c.mode||c.mode==="server"&&n||c.mode==="client"&&!n)&&(f.input=d,s.set(u,f),h._poll())}};return h.patch(a),h},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await t.callHook("entries:resolve",a);i.size;){const h=i.values().next().value;i.delete(h);const d=s.get(h);if(d){const p={tags:fN(d.input,e.propResolvers||[]).map(m=>Object.assign(m,d.options)),entry:d};await t.callHook("entries:normalize",p),d._tags=p.tags.map((m,E)=>(m._w=pN(o,m),m._p=(d._i<<10)+E,m._d=Ac(m),m))}}let l=!1;a.entries.flatMap(h=>(h._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(Hh).reduce((h,d)=>{const p=String(d._d||d._p);if(!h.has(p))return h.set(p,d);const m=h.get(p);if((d?.tagDuplicateStrategy||(iN.has(d.tag)?"merge":null)||(d.key&&d.key===m.key?"merge":null))==="merge"){const g={...m.props};Object.entries(d.props).forEach(([v,_])=>g[v]=v==="style"?new Map([...m.props.style||new Map,..._]):v==="class"?new Set([...m.props.class||new Set,..._]):_),h.set(p,{...d,props:g})}else d._p>>10===m._p>>10&&d.tag==="meta"&&Ry(p)?(h.set(p,Object.assign([...Array.isArray(m)?m:[m],d],d)),l=!0):(d._w===m._w?d._p>m._p:d?._w<m?._w)&&h.set(p,d);return h},a.tagMap);const c=a.tagMap.get("title"),u=a.tagMap.get("titleTemplate");if(o._title=c?.textContent,u){const h=u?.textContent;if(o._titleTemplate=h,h){let d=typeof h=="function"?h(c?.textContent):h;typeof d=="string"&&!o.plugins.has("template-params")&&(d=d.replace("%s",c?.textContent||"")),c?d===null?a.tagMap.delete("title"):a.tagMap.set("title",{...c,textContent:d}):(u.tag="title",u.textContent=d)}}a.tags=Array.from(a.tagMap.values()),l&&(a.tags=a.tags.flat().sort(Hh)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const f=[];for(const h of a.tags){const{innerHTML:d,tag:p,props:m}=h;if(nN.has(p)&&!(Object.keys(m).length===0&&!h.innerHTML&&!h.textContent)&&!(p==="meta"&&!m.content&&!m["http-equiv"]&&!m.charset)){if(p==="script"&&d){if(m.type?.endsWith("json")){const E=typeof d=="string"?d:JSON.stringify(d);h.innerHTML=E.replace(/</g,"\\u003C")}else typeof d=="string"&&(h.innerHTML=d.replace(new RegExp(`</${p}`,"g"),`<\\/${p}`));h._d=Ac(h)}f.push(h)}}return f},invalidate(){for(const a of s.values())i.add(a._i);o.dirty=!0,t.callHook("entries:updated",o)}};return(e?.plugins||[]).forEach(a=>jh(o,a)),o.hooks.callHook("init",o),e.init?.forEach(a=>a&&o.push(a)),o}async function My(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const s={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",s),!!s.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async r=>{const i=new Map,o=new Promise(d=>{e.resolveTags().then(p=>{d(p.map(m=>{const E=i.get(m._d)||0,g={tag:m,id:(E?`${m._d}:${E}`:m._d)||Vh(m),shouldRender:!0};return m._d&&Ry(m._d)&&i.set(m._d,E+1),g}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const d of["body","head"]){const p=n[d]?.children;for(const m of p){const E=m.tagName.toLowerCase();if(!$h.has(E))continue;const g=Ly({tag:E,props:{}},{innerHTML:m.innerHTML,...m.getAttributeNames().reduce((v,_)=>(v[_]=m.getAttribute(_),v),{})||{}});if(g.key=m.getAttribute("data-hid")||void 0,g._d=Ac(g)||Vh(g),a.elMap.has(g._d)){let v=1,_=g._d;for(;a.elMap.has(_);)_=`${g._d}:${v++}`;a.elMap.set(_,m)}else a.elMap.set(g._d,m)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(d,p,m){const E=`${d}:${p}`;a.sideEffects[E]=m,delete a.pendingSideEffects[E]}function c({id:d,$el:p,tag:m}){const E=m.tag.endsWith("Attrs");a.elMap.set(d,p),E||(m.textContent&&m.textContent!==p.textContent&&(p.textContent=m.textContent),m.innerHTML&&m.innerHTML!==p.innerHTML&&(p.innerHTML=m.innerHTML),l(d,"el",()=>{p?.remove(),a.elMap.delete(d)}));for(const g in m.props){if(!Object.prototype.hasOwnProperty.call(m.props,g))continue;const v=m.props[g];if(g.startsWith("on")&&typeof v=="function"){const y=p?.dataset;if(y&&y[`${g}fired`]){const T=g.slice(0,-5);v.call(p,new Event(T.substring(2)))}p.getAttribute(`data-${g}`)!==""&&((m.tag==="bodyAttrs"?n.defaultView:p).addEventListener(g.substring(2),v.bind(p)),p.setAttribute(`data-${g}`,""));continue}const _=`attr:${g}`;if(g==="class"){if(!v)continue;for(const y of v)E&&l(d,`${_}:${y}`,()=>p.classList.remove(y)),!p.classList.contains(y)&&p.classList.add(y)}else if(g==="style"){if(!v)continue;for(const[y,T]of v)l(d,`${_}:${y}`,()=>{p.style.removeProperty(y)}),p.style.setProperty(y,T)}else v!==!1&&v!==null&&(p.getAttribute(g)!==v&&p.setAttribute(g,v===!0?"":String(v)),E&&l(d,_,()=>p.removeAttribute(g)))}}const u=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},h=await o;for(const d of h){const{tag:p,shouldRender:m,id:E}=d;if(m){if(p.tag==="title"){n.title=p.textContent,l("title","",()=>n.title=a.title);continue}d.$el=d.$el||a.elMap.get(E),d.$el?c(d):$h.has(p.tag)&&u.push(d)}}for(const d of u){const p=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),c(d),f[p]=f[p]||n.createDocumentFragment(),f[p].appendChild(d.$el)}for(const d of h)await e.hooks.callHook("dom:renderTag",d,n,l);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const d in a.pendingSideEffects)a.pendingSideEffects[d]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:h}),r()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function gN(e={}){const t=e.domOptions?.render||My;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return mN({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function _N(e,t){let n=0;return()=>{const s=++n;t(()=>{n===s&&e()})}}const yN=(e,t)=>Ne(t)?ae(t):t,xy="usehead";function vN(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(xy,e)}}.install}function EN(){if(Pa()){const e=Ct(xy);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function bN(e,t={}){const n=t.head||EN();return n.ssr?n.push(e||{},t):TN(n,e,t)}function TN(e,t,n={}){const s=it(!1);let r;return pu(()=>{const o=s.value?{}:da(t,yN);r?r.patch(o):r=e.push(o,n)}),ze()&&(Ui(()=>{r.dispose()}),lu(()=>{s.value=!0}),au(()=>{s.value=!1})),r}function SN(e={}){const t=gN({domOptions:{render:_N(()=>My(t),n=>setTimeout(n,0))},...e});return t.install=vN(t),t}const cr=typeof document<"u";function Dy(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function wN(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Dy(e.default)}const Oe=Object.assign;function Pl(e,t){const n={};for(const s in t){const r=t[s];n[s]=un(r)?r.map(e):e(r)}return n}const si=()=>{},un=Array.isArray;function Wh(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const ky=/#/g,CN=/&/g,ON=/\//g,AN=/=/g,NN=/\?/g,Fy=/\+/g,PN=/%5B/g,IN=/%5D/g,$y=/%5E/g,RN=/%60/g,Vy=/%7B/g,LN=/%7C/g,Hy=/%7D/g,MN=/%20/g;function df(e){return e==null?"":encodeURI(""+e).replace(LN,"|").replace(PN,"[").replace(IN,"]")}function xN(e){return df(e).replace(Vy,"{").replace(Hy,"}").replace($y,"^")}function Nc(e){return df(e).replace(Fy,"%2B").replace(MN,"+").replace(ky,"%23").replace(CN,"%26").replace(RN,"`").replace(Vy,"{").replace(Hy,"}").replace($y,"^")}function DN(e){return Nc(e).replace(AN,"%3D")}function kN(e){return df(e).replace(ky,"%23").replace(NN,"%3F")}function FN(e){return kN(e).replace(ON,"%2F")}function Mi(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const $N=/\/$/,VN=e=>e.replace($N,"");function Il(e,t,n="/"){let s,r={},i="",o="";const a=t.indexOf("#");let l=t.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(s=t.slice(0,l),i=t.slice(l,a>0?a:t.length),r=e(i.slice(1))),a>=0&&(s=s||t.slice(0,a),o=t.slice(a,t.length)),s=jN(s??t,n),{fullPath:s+i+o,path:s,query:r,hash:Mi(o)}}function HN(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Gh(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function UN(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Rr(t.matched[s],n.matched[r])&&Uy(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Rr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Uy(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!BN(e[n],t[n]))return!1;return!0}function BN(e,t){return un(e)?Kh(e,t):un(t)?Kh(t,e):e===t}function Kh(e,t){return un(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function jN(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let i=n.length-1,o,a;for(o=0;o<s.length;o++)if(a=s[o],a!==".")if(a==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o).join("/")}const ss={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Pc=(function(e){return e.pop="pop",e.push="push",e})({}),Rl=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function WN(e){if(!e)if(cr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),VN(e)}const GN=/^[^#]+#/;function KN(e,t){return e.replace(GN,"#")+t}function qN(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const rl=()=>({left:window.scrollX,top:window.scrollY});function XN(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=qN(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function qh(e,t){return(history.state?history.state.position-t:-1)+e}const Ic=new Map;function QN(e,t){Ic.set(e,t)}function YN(e){const t=Ic.get(e);return Ic.delete(e),t}function zN(e){return typeof e=="string"||e&&typeof e=="object"}function By(e){return typeof e=="string"||typeof e=="symbol"}let He=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const jy=Symbol("");He.MATCHER_NOT_FOUND+"",He.NAVIGATION_GUARD_REDIRECT+"",He.NAVIGATION_ABORTED+"",He.NAVIGATION_CANCELLED+"",He.NAVIGATION_DUPLICATED+"";function Lr(e,t){return Oe(new Error,{type:e,[jy]:!0},t)}function Nn(e,t){return e instanceof Error&&jy in e&&(t==null||!!(e.type&t))}const JN=["params","query","hash"];function ZN(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of JN)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function eP(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<n.length;++s){const r=n[s].replace(Fy," "),i=r.indexOf("="),o=Mi(i<0?r:r.slice(0,i)),a=i<0?null:Mi(r.slice(i+1));if(o in t){let l=t[o];un(l)||(l=t[o]=[l]),l.push(a)}else t[o]=a}return t}function Xh(e){let t="";for(let n in e){const s=e[n];if(n=DN(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(un(s)?s.map(r=>r&&Nc(r)):[s&&Nc(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function tP(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=un(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const nP=Symbol(""),Qh=Symbol(""),il=Symbol(""),hf=Symbol(""),Rc=Symbol("");function jr(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ds(e,t,n,s,r,i=o=>o()){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((a,l)=>{const c=h=>{h===!1?l(Lr(He.NAVIGATION_ABORTED,{from:n,to:t})):h instanceof Error?l(h):zN(h)?l(Lr(He.NAVIGATION_GUARD_REDIRECT,{from:t,to:h})):(o&&s.enterCallbacks[r]===o&&typeof h=="function"&&o.push(h),a())},u=i(()=>e.call(s&&s.instances[r],t,n,c));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch(h=>l(h))})}function Ll(e,t,n,s,r=i=>i()){const i=[];for(const o of e)for(const a in o.components){let l=o.components[a];if(!(t!=="beforeRouteEnter"&&!o.instances[a]))if(Dy(l)){const c=(l.__vccOpts||l)[t];c&&i.push(ds(c,n,s,o,a,r))}else{let c=l();i.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${o.path}"`);const f=wN(u)?u.default:u;o.mods[a]=u,o.components[a]=f;const h=(f.__vccOpts||f)[t];return h&&ds(h,n,s,o,a,r)()}))}}return i}function sP(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const a=t.matched[o];a&&(e.matched.find(c=>Rr(c,a))?s.push(a):n.push(a));const l=e.matched[o];l&&(t.matched.find(c=>Rr(c,l))||r.push(l))}return[n,s,r]}let rP=()=>location.protocol+"//"+location.host;function Wy(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let o=r.includes(e.slice(i))?e.slice(i).length:1,a=r.slice(o);return a[0]!=="/"&&(a="/"+a),Gh(a,"")}return Gh(n,e)+s+r}function iP(e,t,n,s){let r=[],i=[],o=null;const a=({state:h})=>{const d=Wy(e,location),p=n.value,m=t.value;let E=0;if(h){if(n.value=d,t.value=h,o&&o===p){o=null;return}E=m?h.position-m.position:0}else s(d);r.forEach(g=>{g(n.value,p,{delta:E,type:Pc.pop,direction:E?E>0?Rl.forward:Rl.back:Rl.unknown})})};function l(){o=n.value}function c(h){r.push(h);const d=()=>{const p=r.indexOf(h);p>-1&&r.splice(p,1)};return i.push(d),d}function u(){if(document.visibilityState==="hidden"){const{history:h}=window;if(!h.state)return;h.replaceState(Oe({},h.state,{scroll:rl()}),"")}}function f(){for(const h of i)h();i=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:l,listen:c,destroy:f}}function Yh(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?rl():null}}function oP(e){const{history:t,location:n}=window,s={value:Wy(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,c,u){const f=e.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:rP()+e+l;try{t[u?"replaceState":"pushState"](c,"",h),r.value=c}catch(d){console.error(d),n[u?"replace":"assign"](h)}}function o(l,c){i(l,Oe({},t.state,Yh(r.value.back,l,r.value.forward,!0),c,{position:r.value.position}),!0),s.value=l}function a(l,c){const u=Oe({},r.value,t.state,{forward:l,scroll:rl()});i(u.current,u,!0),i(l,Oe({},Yh(s.value,l,null),{position:u.position+1},c),!1),s.value=l}return{location:s,state:r,push:a,replace:o}}function aP(e){e=WN(e);const t=oP(e),n=iP(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=Oe({location:"",base:e,go:s,createHref:KN.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}let xs=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var Je=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(Je||{});const lP={type:xs.Static,value:""},cP=/[a-zA-Z0-9_]/;function uP(e){if(!e)return[[]];if(e==="/")return[[lP]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${n})/"${c}": ${d}`)}let n=Je.Static,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let a=0,l,c="",u="";function f(){c&&(n===Je.Static?i.push({type:xs.Static,value:c}):n===Je.Param||n===Je.ParamRegExp||n===Je.ParamRegExpEnd?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:xs.Param,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==Je.ParamRegExp){s=n,n=Je.EscapeNext;continue}switch(n){case Je.Static:l==="/"?(c&&f(),o()):l===":"?(f(),n=Je.Param):h();break;case Je.EscapeNext:h(),n=s;break;case Je.Param:l==="("?n=Je.ParamRegExp:cP.test(l)?h():(f(),n=Je.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case Je.ParamRegExp:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=Je.ParamRegExpEnd:u+=l;break;case Je.ParamRegExpEnd:f(),n=Je.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===Je.ParamRegExp&&t(`Unfinished custom RegExp for param "${c}"`),f(),o(),r}const zh="[^/]+?",fP={sensitive:!1,strict:!1,start:!0,end:!0};var Et=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(Et||{});const dP=/[.+*?^${}()[\]/\\]/g;function hP(e,t){const n=Oe({},fP,t),s=[];let r=n.start?"^":"";const i=[];for(const c of e){const u=c.length?[]:[Et.Root];n.strict&&!c.length&&(r+="/");for(let f=0;f<c.length;f++){const h=c[f];let d=Et.Segment+(n.sensitive?Et.BonusCaseSensitive:0);if(h.type===xs.Static)f||(r+="/"),r+=h.value.replace(dP,"\\$&"),d+=Et.Static;else if(h.type===xs.Param){const{value:p,repeatable:m,optional:E,regexp:g}=h;i.push({name:p,repeatable:m,optional:E});const v=g||zh;if(v!==zh){d+=Et.BonusCustomRegExp;try{`${v}`}catch(y){throw new Error(`Invalid custom RegExp for param "${p}" (${v}): `+y.message)}}let _=m?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;f||(_=E&&c.length<2?`(?:/${_})`:"/"+_),E&&(_+="?"),r+=_,d+=Et.Dynamic,E&&(d+=Et.BonusOptional),m&&(d+=Et.BonusRepeatable),v===".*"&&(d+=Et.BonusWildcard)}u.push(d)}s.push(u)}if(n.strict&&n.end){const c=s.length-1;s[c][s[c].length-1]+=Et.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function a(c){const u=c.match(o),f={};if(!u)return null;for(let h=1;h<u.length;h++){const d=u[h]||"",p=i[h-1];f[p.name]=d&&p.repeatable?d.split("/"):d}return f}function l(c){let u="",f=!1;for(const h of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const d of h)if(d.type===xs.Static)u+=d.value;else if(d.type===xs.Param){const{value:p,repeatable:m,optional:E}=d,g=p in c?c[p]:"";if(un(g)&&!m)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const v=un(g)?g.join("/"):g;if(!v)if(E)h.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=v}}return u||"/"}return{re:o,score:s,keys:i,parse:a,stringify:l}}function pP(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===Et.Static+Et.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Et.Static+Et.Segment?1:-1:0}function Gy(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=pP(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(Jh(s))return 1;if(Jh(r))return-1}return r.length-s.length}function Jh(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const mP={strict:!1,end:!0,sensitive:!1};function gP(e,t,n){const s=hP(uP(e.path),n),r=Oe(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function _P(e,t){const n=[],s=new Map;t=Wh(mP,t);function r(f){return s.get(f)}function i(f,h,d){const p=!d,m=ep(f);m.aliasOf=d&&d.record;const E=Wh(t,f),g=[m];if("alias"in f){const y=typeof f.alias=="string"?[f.alias]:f.alias;for(const T of y)g.push(ep(Oe({},m,{components:d?d.record.components:m.components,path:T,aliasOf:d?d.record:m})))}let v,_;for(const y of g){const{path:T}=y;if(h&&T[0]!=="/"){const O=h.record.path,A=O[O.length-1]==="/"?"":"/";y.path=h.record.path+(T&&A+T)}if(v=gP(y,h,E),d?d.alias.push(v):(_=_||v,_!==v&&_.alias.push(v),p&&f.name&&!tp(v)&&o(f.name)),Ky(v)&&l(v),m.children){const O=m.children;for(let A=0;A<O.length;A++)i(O[A],v,d&&d.children[A])}d=d||v}return _?()=>{o(_)}:si}function o(f){if(By(f)){const h=s.get(f);h&&(s.delete(f),n.splice(n.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=n.indexOf(f);h>-1&&(n.splice(h,1),f.record.name&&s.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function a(){return n}function l(f){const h=EP(f,n);n.splice(h,0,f),f.record.name&&!tp(f)&&s.set(f.record.name,f)}function c(f,h){let d,p={},m,E;if("name"in f&&f.name){if(d=s.get(f.name),!d)throw Lr(He.MATCHER_NOT_FOUND,{location:f});E=d.record.name,p=Oe(Zh(h.params,d.keys.filter(_=>!_.optional).concat(d.parent?d.parent.keys.filter(_=>_.optional):[]).map(_=>_.name)),f.params&&Zh(f.params,d.keys.map(_=>_.name))),m=d.stringify(p)}else if(f.path!=null)m=f.path,d=n.find(_=>_.re.test(m)),d&&(p=d.parse(m),E=d.record.name);else{if(d=h.name?s.get(h.name):n.find(_=>_.re.test(h.path)),!d)throw Lr(He.MATCHER_NOT_FOUND,{location:f,currentLocation:h});E=d.record.name,p=Oe({},h.params,f.params),m=d.stringify(p)}const g=[];let v=d;for(;v;)g.unshift(v.record),v=v.parent;return{name:E,path:m,params:p,matched:g,meta:vP(g)}}e.forEach(f=>i(f));function u(){n.length=0,s.clear()}return{addRoute:i,resolve:c,removeRoute:o,clearRoutes:u,getRoutes:a,getRecordMatcher:r}}function Zh(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function ep(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:yP(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function yP(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function tp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function vP(e){return e.reduce((t,n)=>Oe(t,n.meta),{})}function EP(e,t){let n=0,s=t.length;for(;n!==s;){const i=n+s>>1;Gy(e,t[i])<0?s=i:n=i+1}const r=bP(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function bP(e){let t=e;for(;t=t.parent;)if(Ky(t)&&Gy(e,t)===0)return t}function Ky({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function np(e){const t=Ct(il),n=Ct(hf),s=he(()=>{const l=Kt(e.to);return t.resolve(l)}),r=he(()=>{const{matched:l}=s.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const h=f.findIndex(Rr.bind(null,u));if(h>-1)return h;const d=sp(l[c-2]);return c>1&&sp(u)===d&&f[f.length-1].path!==d?f.findIndex(Rr.bind(null,l[c-2])):h}),i=he(()=>r.value>-1&&OP(n.params,s.value.params)),o=he(()=>r.value>-1&&r.value===n.matched.length-1&&Uy(n.params,s.value.params));function a(l={}){if(CP(l)){const c=t[Kt(e.replace)?"replace":"push"](Kt(e.to)).catch(si);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:s,href:he(()=>s.value.href),isActive:i,isExactActive:o,navigate:a}}function TP(e){return e.length===1?e[0]:e}const SP=Dt({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:np,setup(e,{slots:t}){const n=Kn(np(e)),{options:s}=Ct(il),r=he(()=>({[rp(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[rp(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&TP(t.default(n));return e.custom?i:tr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),wP=SP;function CP(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function OP(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!un(r)||r.length!==s.length||s.some((i,o)=>i!==r[o]))return!1}return!0}function sp(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const rp=(e,t,n)=>e??t??n,AP=Dt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Ct(Rc),r=he(()=>e.route||s.value),i=Ct(Qh,0),o=he(()=>{let c=Kt(i);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=he(()=>r.value.matched[o.value]);Yr(Qh,he(()=>o.value+1)),Yr(nP,a),Yr(Rc,r);const l=it();return ke(()=>[l.value,a.value,e.name],([c,u,f],[h,d,p])=>{u&&(u.instances[f]=c,d&&d!==u&&c&&c===h&&(u.leaveGuards.size||(u.leaveGuards=d.leaveGuards),u.updateGuards.size||(u.updateGuards=d.updateGuards))),c&&u&&(!d||!Rr(u,d)||!h)&&(u.enterCallbacks[f]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,f=a.value,h=f&&f.components[u];if(!h)return ip(n.default,{Component:h,route:c});const d=f.props[u],p=d?d===!0?c.params:typeof d=="function"?d(c):d:null,E=tr(h,Oe({},p,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return ip(n.default,{Component:E,route:c})||E}}});function ip(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const NP=AP;function PP(e){const t=_P(e.routes,e),n=e.parseQuery||eP,s=e.stringifyQuery||Xh,r=e.history,i=jr(),o=jr(),a=jr(),l=Ee(ss);let c=ss;cr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Pl.bind(null,U=>""+U),f=Pl.bind(null,FN),h=Pl.bind(null,Mi);function d(U,J){let Q,te;return By(U)?(Q=t.getRecordMatcher(U),te=J):te=U,t.addRoute(te,Q)}function p(U){const J=t.getRecordMatcher(U);J&&t.removeRoute(J)}function m(){return t.getRoutes().map(U=>U.record)}function E(U){return!!t.getRecordMatcher(U)}function g(U,J){if(J=Oe({},J||l.value),typeof U=="string"){const N=Il(n,U,J.path),D=t.resolve({path:N.path},J),W=r.createHref(N.fullPath);return Oe(N,D,{params:h(D.params),hash:Mi(N.hash),redirectedFrom:void 0,href:W})}let Q;if(U.path!=null)Q=Oe({},U,{path:Il(n,U.path,J.path).path});else{const N=Oe({},U.params);for(const D in N)N[D]==null&&delete N[D];Q=Oe({},U,{params:f(N)}),J.params=f(J.params)}const te=t.resolve(Q,J),oe=U.hash||"";te.params=u(h(te.params));const Pe=HN(s,Oe({},U,{hash:xN(oe),path:te.path})),w=r.createHref(Pe);return Oe({fullPath:Pe,hash:oe,query:s===Xh?tP(U.query):U.query||{}},te,{redirectedFrom:void 0,href:w})}function v(U){return typeof U=="string"?Il(n,U,l.value.path):Oe({},U)}function _(U,J){if(c!==U)return Lr(He.NAVIGATION_CANCELLED,{from:J,to:U})}function y(U){return A(U)}function T(U){return y(Oe(v(U),{replace:!0}))}function O(U,J){const Q=U.matched[U.matched.length-1];if(Q&&Q.redirect){const{redirect:te}=Q;let oe=typeof te=="function"?te(U,J):te;return typeof oe=="string"&&(oe=oe.includes("?")||oe.includes("#")?oe=v(oe):{path:oe},oe.params={}),Oe({query:U.query,hash:U.hash,params:oe.path!=null?{}:U.params},oe)}}function A(U,J){const Q=c=g(U),te=l.value,oe=U.state,Pe=U.force,w=U.replace===!0,N=O(Q,te);if(N)return A(Oe(v(N),{state:typeof N=="object"?Oe({},oe,N.state):oe,force:Pe,replace:w}),J||Q);const D=Q;D.redirectedFrom=J;let W;return!Pe&&UN(s,te,Q)&&(W=Lr(He.NAVIGATION_DUPLICATED,{to:D,from:te}),Ce(te,te,!0,!1)),(W?Promise.resolve(W):P(D,te)).catch(B=>Nn(B)?Nn(B,He.NAVIGATION_GUARD_REDIRECT)?B:we(B):G(B,D,te)).then(B=>{if(B){if(Nn(B,He.NAVIGATION_GUARD_REDIRECT))return A(Oe({replace:w},v(B.to),{state:typeof B.to=="object"?Oe({},oe,B.to.state):oe,force:Pe}),J||D)}else B=R(D,te,!0,w,oe);return x(D,te,B),B})}function I(U,J){const Q=_(U,J);return Q?Promise.reject(Q):Promise.resolve()}function S(U){const J=et.values().next().value;return J&&typeof J.runWithContext=="function"?J.runWithContext(U):U()}function P(U,J){let Q;const[te,oe,Pe]=sP(U,J);Q=Ll(te.reverse(),"beforeRouteLeave",U,J);for(const N of te)N.leaveGuards.forEach(D=>{Q.push(ds(D,U,J))});const w=I.bind(null,U,J);return Q.push(w),ye(Q).then(()=>{Q=[];for(const N of i.list())Q.push(ds(N,U,J));return Q.push(w),ye(Q)}).then(()=>{Q=Ll(oe,"beforeRouteUpdate",U,J);for(const N of oe)N.updateGuards.forEach(D=>{Q.push(ds(D,U,J))});return Q.push(w),ye(Q)}).then(()=>{Q=[];for(const N of Pe)if(N.beforeEnter)if(un(N.beforeEnter))for(const D of N.beforeEnter)Q.push(ds(D,U,J));else Q.push(ds(N.beforeEnter,U,J));return Q.push(w),ye(Q)}).then(()=>(U.matched.forEach(N=>N.enterCallbacks={}),Q=Ll(Pe,"beforeRouteEnter",U,J,S),Q.push(w),ye(Q))).then(()=>{Q=[];for(const N of o.list())Q.push(ds(N,U,J));return Q.push(w),ye(Q)}).catch(N=>Nn(N,He.NAVIGATION_CANCELLED)?N:Promise.reject(N))}function x(U,J,Q){a.list().forEach(te=>S(()=>te(U,J,Q)))}function R(U,J,Q,te,oe){const Pe=_(U,J);if(Pe)return Pe;const w=J===ss,N=cr?history.state:{};Q&&(te||w?r.replace(U.fullPath,Oe({scroll:w&&N&&N.scroll},oe)):r.push(U.fullPath,oe)),l.value=U,Ce(U,J,Q,w),we()}let $;function V(){$||($=r.listen((U,J,Q)=>{if(!tt.listening)return;const te=g(U),oe=O(te,tt.currentRoute.value);if(oe){A(Oe(oe,{replace:!0,force:!0}),te).catch(si);return}c=te;const Pe=l.value;cr&&QN(qh(Pe.fullPath,Q.delta),rl()),P(te,Pe).catch(w=>Nn(w,He.NAVIGATION_ABORTED|He.NAVIGATION_CANCELLED)?w:Nn(w,He.NAVIGATION_GUARD_REDIRECT)?(A(Oe(v(w.to),{force:!0}),te).then(N=>{Nn(N,He.NAVIGATION_ABORTED|He.NAVIGATION_DUPLICATED)&&!Q.delta&&Q.type===Pc.pop&&r.go(-1,!1)}).catch(si),Promise.reject()):(Q.delta&&r.go(-Q.delta,!1),G(w,te,Pe))).then(w=>{w=w||R(te,Pe,!1),w&&(Q.delta&&!Nn(w,He.NAVIGATION_CANCELLED)?r.go(-Q.delta,!1):Q.type===Pc.pop&&Nn(w,He.NAVIGATION_ABORTED|He.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),x(te,Pe,w)}).catch(si)}))}let K=jr(),j=jr(),q;function G(U,J,Q){we(U);const te=j.list();return te.length?te.forEach(oe=>oe(U,J,Q)):console.error(U),Promise.reject(U)}function ee(){return q&&l.value!==ss?Promise.resolve():new Promise((U,J)=>{K.add([U,J])})}function we(U){return q||(q=!U,V(),K.list().forEach(([J,Q])=>U?Q(U):J()),K.reset()),U}function Ce(U,J,Q,te){const{scrollBehavior:oe}=e;if(!cr||!oe)return Promise.resolve();const Pe=!Q&&YN(qh(U.fullPath,0))||(te||!Q)&&history.state&&history.state.scroll||null;return Yt().then(()=>oe(U,J,Pe)).then(w=>w&&XN(w)).catch(w=>G(w,U,J))}const xe=U=>r.go(U);let kt;const et=new Set,tt={currentRoute:l,listening:!0,addRoute:d,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:E,getRoutes:m,resolve:g,options:e,push:y,replace:T,go:xe,back:()=>xe(-1),forward:()=>xe(1),beforeEach:i.add,beforeResolve:o.add,afterEach:a.add,onError:j.add,isReady:ee,install(U){U.component("RouterLink",wP),U.component("RouterView",NP),U.config.globalProperties.$router=tt,Object.defineProperty(U.config.globalProperties,"$route",{enumerable:!0,get:()=>Kt(l)}),cr&&!kt&&l.value===ss&&(kt=!0,y(r.location).catch(te=>{}));const J={};for(const te in ss)Object.defineProperty(J,te,{get:()=>l.value[te],enumerable:!0});U.provide(il,tt),U.provide(hf,Jc(J)),U.provide(Rc,l);const Q=U.unmount;et.add(U),U.unmount=function(){et.delete(U),et.size<1&&(c=ss,$&&$(),$=null,l.value=ss,kt=!1,q=!1),Q()}}};function ye(U){return U.reduce((J,Q)=>J.then(()=>S(Q)),Promise.resolve())}return tt}function PI(){return Ct(il)}function II(e){return Ct(hf)}function IP(e){return document.readyState==="loading"?new Promise(t=>{document.addEventListener("DOMContentLoaded",()=>t(e))}):Promise.resolve(e)}const RP=Dt({setup(e,{slots:t}){const n=it(!1);return es(()=>n.value=!0),()=>n.value?t.default&&t.default({}):t.placeholder&&t.placeholder({})}});function LP(e){try{return JSON.parse(e||"{}")}catch(t){return console.error("[SSG] On state deserialization -",t,e),{}}}function MP(e,t,n,s){const{transformState:r,registerComponents:i=!0,useHead:o=!0,rootContainer:a="#app"}={};async function l(c){const u=yi(e);let f;o&&u.use(f=SN());const h=PP({history:aP(t.base),...t}),{routes:d}=t;i&&u.component("ClientOnly",RP);const p=[],g={app:u,head:f,isClient:!0,router:h,routes:d,onSSRAppRendered:()=>{},triggerOnSSRAppRendered:()=>Promise.all(p.map(T=>T())),initialState:{},transformState:r,routePath:c};await IP(),g.initialState=r?.(window.__INITIAL_STATE__||{})||LP(window.__INITIAL_STATE__),await n?.(g),u.use(h);let v,_=!0;h.beforeEach((T,O,A)=>{(_||v&&v===T.path)&&(_=!1,v=T.path,T.meta.state=g.initialState),A()});const y=g.initialState;return{...g,initialState:y}}return(async()=>{const{app:c,router:u}=await l();await u.isReady(),c.mount(a,!0)})(),l}const xP=[{path:"/",name:"/",component:()=>It(()=>import("./index-Cs7d6jbK.js"),__vite__mapDeps([10,11,5,12,13,14,15,2,3,4,16,17]),import.meta.url),meta:{layout:"index-layout"}},{path:"/:all(.*)",name:"/[...all]",component:()=>It(()=>import("./_...all_-DncsZYI5.js"),__vite__mapDeps([18,19,13,14,4,20,5,21,22,23,24,25,26,27,28,2,3,12,15,29,16]),import.meta.url),meta:{layout:"board-layout"}},{path:"/balloon",children:[{path:"",name:"/balloon/",component:()=>It(()=>import("./index-Bwa4u3Zk.js"),__vite__mapDeps([30,22,4,23,13,14,24,20,31,16,5]),import.meta.url),meta:{layout:"headless"}}]},{path:"/board",children:[{path:"",name:"/board/",component:()=>It(()=>import("./index-RAMlsvVJ.js"),__vite__mapDeps([32,27,28,2,3,20,13,14,23,24,5,12,15,4,29,31,16]),import.meta.url),meta:{layout:"board-layout"}}]},{path:"/countdown",children:[{path:"",name:"/countdown/",component:()=>It(()=>import("./index-C0X9msh5.js"),__vite__mapDeps([33,19,13,14,4,20,5,21,31,16]),import.meta.url),meta:{layout:"headless"}}]},{path:"/rating",children:[{path:"",name:"/rating/",component:()=>It(()=>import("./index-Di6laDi4.js"),__vite__mapDeps([34,11,5,2,3,4,16,35]),import.meta.url),meta:{layout:"index-layout"}},{path:":all(.*)",name:"/rating/[...all]",component:()=>It(()=>import("./_...all_-D-RS9GfB.js"),__vite__mapDeps([36,28,2,3,4,14,24,37]),import.meta.url)}]},{path:"/resolver",children:[{path:"",name:"/resolver/",component:()=>It(()=>import("./index-C9dK3x8P.js"),__vite__mapDeps([38,25,5,13,14,23,24,4,20,26,31,16]),import.meta.url),meta:{layout:"headless"}}]}];function zn(e){return Xc()?(Kp(e),!0):!1}function Ml(){const e=new Set,t=i=>{e.delete(i)};return{on:i=>{e.add(i);const o=()=>t(i);return zn(o),{off:o}},off:t,trigger:(...i)=>Promise.all(Array.from(e).map(o=>o(...i))),clear:()=>{e.clear()}}}const xl=new WeakMap,DP=(...e)=>{var t;const n=e[0],s=(t=ze())==null?void 0:t.proxy;if(s==null&&!Pa())throw new Error("injectLocal must be called in setup");return s&&xl.has(s)&&n in xl.get(s)?xl.get(s)[n]:Ct(...e)},Mr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const kP=e=>typeof e<"u",qy=e=>e!=null,FP=Object.prototype.toString,$P=e=>FP.call(e)==="[object Object]",an=()=>{};function gr(...e){if(e.length!==1)return cm(...e);const t=e[0];return typeof t=="function"?qn(nu(()=>({get:t,set:an}))):it(t)}function pf(e,t){function n(...s){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(i)})}return n}const Xy=e=>e();function VP(e,t={}){let n,s,r=an;const i=l=>{clearTimeout(l),r(),r=an};let o;return l=>{const c=ae(e),u=ae(t.maxWait);return n&&i(n),c<=0||u!==void 0&&u<=0?(s&&(i(s),s=void 0),Promise.resolve(l())):new Promise((f,h)=>{r=t.rejectOnCancel?h:f,o=l,u&&!s&&(s=setTimeout(()=>{n&&i(n),s=void 0,f(o())},u)),n=setTimeout(()=>{s&&i(s),s=void 0,f(l())},c)})}}function HP(...e){let t=0,n,s=!0,r=an,i,o,a,l,c;!Ne(e[0])&&typeof e[0]=="object"?{delay:o,trailing:a=!0,leading:l=!0,rejectOnCancel:c=!1}=e[0]:[o,a=!0,l=!0,c=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,r(),r=an)};return h=>{const d=ae(o),p=Date.now()-t,m=()=>i=h();return u(),d<=0?(t=Date.now(),m()):(p>d&&(l||!s)?(t=Date.now(),m()):a&&(i=new Promise((E,g)=>{r=c?g:E,n=setTimeout(()=>{t=Date.now(),s=!0,E(m()),u()},Math.max(0,d-p))})),!l&&!n&&(n=setTimeout(()=>s=!0,d)),s=!1,i)}}function UP(e=Xy,t={}){const{initialState:n="active"}=t,s=gr(n==="active");function r(){s.value=!1}function i(){s.value=!0}const o=(...a)=>{s.value&&e(...a)};return{isActive:qn(s),pause:r,resume:i,eventFilter:o}}function op(e,t=!1,n="Timeout"){return new Promise((s,r)=>{setTimeout(t?()=>r(n):s,e)})}function BP(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const s=t;t=void 0,s&&await s},n}function jP(e,...t){return t.some(n=>n in e)}function ap(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function ri(e){return Array.isArray(e)?e:[e]}function WP(e){return ze()}function GP(e,t=200,n={}){return pf(VP(t,n),e)}function KP(e,t=200,n=!1,s=!0,r=!1){return pf(HP(t,n,s,r),e)}function qP(e,t,n={}){const{eventFilter:s=Xy,...r}=n;return ke(e,pf(s,t),r)}function XP(e,t,n={}){const{eventFilter:s,initialState:r="active",...i}=n,{eventFilter:o,pause:a,resume:l,isActive:c}=UP(s,{initialState:r});return{stop:qP(e,t,{...i,eventFilter:o}),pause:a,resume:l,isActive:c}}function mf(e,t=!0,n){WP()?es(e,n):t?e():Yt(e)}function Lc(e,t=!1){function n(f,{flush:h="sync",deep:d=!1,timeout:p,throwOnTimeout:m}={}){let E=null;const v=[new Promise(_=>{E=ke(e,y=>{f(y)!==t&&(E?E():Yt(()=>E?.()),_(y))},{flush:h,deep:d,immediate:!0})})];return p!=null&&v.push(op(p,m).then(()=>ae(e)).finally(()=>E?.())),Promise.race(v)}function s(f,h){if(!Ne(f))return n(y=>y===f,h);const{flush:d="sync",deep:p=!1,timeout:m,throwOnTimeout:E}=h??{};let g=null;const _=[new Promise(y=>{g=ke([e,f],([T,O])=>{t!==(T===O)&&(g?g():Yt(()=>g?.()),y(T))},{flush:d,deep:p,immediate:!0})})];return m!=null&&_.push(op(m,E).then(()=>ae(e)).finally(()=>(g?.(),ae(e)))),Promise.race(_)}function r(f){return n(h=>!!h,f)}function i(f){return s(null,f)}function o(f){return s(void 0,f)}function a(f){return n(Number.isNaN,f)}function l(f,h){return n(d=>{const p=Array.from(d);return p.includes(f)||p.includes(ae(f))},h)}function c(f){return u(1,f)}function u(f=1,h){let d=-1;return n(()=>(d+=1,d>=f),h)}return Array.isArray(ae(e))?{toMatch:n,toContains:l,changed:c,changedTimes:u,get not(){return Lc(e,!t)}}:{toMatch:n,toBe:s,toBeTruthy:r,toBeNull:i,toBeNaN:a,toBeUndefined:o,changed:c,changedTimes:u,get not(){return Lc(e,!t)}}}function QP(e){return Lc(e)}function YP(e,t=1e3,n={}){const{immediate:s=!0,immediateCallback:r=!1}=n;let i=null;const o=Ee(!1);function a(){i&&(clearInterval(i),i=null)}function l(){o.value=!1,a()}function c(){const u=ae(t);u<=0||(o.value=!0,r&&e(),a(),o.value&&(i=setInterval(e,u)))}if(s&&Mr&&c(),Ne(t)||typeof t=="function"){const u=ke(t,()=>{o.value&&Mr&&c()});zn(u)}return zn(l),{isActive:Zc(o),pause:l,resume:c}}function Qy(e,t,n={}){const{immediate:s=!0,immediateCallback:r=!1}=n,i=Ee(!1);let o;function a(){o&&(clearTimeout(o),o=void 0)}function l(){i.value=!1,a()}function c(...u){r&&e(),a(),i.value=!0,o=setTimeout(()=>{i.value=!1,o=void 0,e(...u)},ae(t))}return s&&(i.value=!0,Mr&&c()),zn(l),{isPending:Zc(i),start:c,stop:l}}function zP(e=!1,t={}){const{truthyValue:n=!0,falsyValue:s=!1}=t,r=Ne(e),i=Ee(e);function o(a){if(arguments.length)return i.value=a,i.value;{const l=ae(n);return i.value=i.value===l?ae(s):l,i.value}}return r?o:[i,o]}function JP(e,t,n){return ke(e,t,{...n,immediate:!0})}function ZP(e,t,n){return ke(e,t,{...n,once:!0})}const xt=Mr?window:void 0,Yy=Mr?window.document:void 0,zy=Mr?window.navigator:void 0;function js(e){var t;const n=ae(e);return(t=n?.$el)!=null?t:n}function Ut(...e){const t=[],n=()=>{t.forEach(a=>a()),t.length=0},s=(a,l,c,u)=>(a.addEventListener(l,c,u),()=>a.removeEventListener(l,c,u)),r=he(()=>{const a=ri(ae(e[0])).filter(l=>l!=null);return a.every(l=>typeof l!="string")?a:void 0}),i=JP(()=>{var a,l;return[(l=(a=r.value)==null?void 0:a.map(c=>js(c)))!=null?l:[xt].filter(c=>c!=null),ri(ae(r.value?e[1]:e[0])),ri(Kt(r.value?e[2]:e[1])),ae(r.value?e[3]:e[2])]},([a,l,c,u])=>{if(n(),!a?.length||!l?.length||!c?.length)return;const f=$P(u)?{...u}:u;t.push(...a.flatMap(h=>l.flatMap(d=>c.map(p=>s(h,d,p,f)))))},{flush:"post"}),o=()=>{i(),n()};return zn(n),o}function eI(){const e=Ee(!1),t=ze();return t&&es(()=>{e.value=!0},t),e}function zi(e){const t=eI();return he(()=>(t.value,!!e()))}function Jy(e,t,n={}){const{window:s=xt,...r}=n;let i;const o=zi(()=>s&&"MutationObserver"in s),a=()=>{i&&(i.disconnect(),i=void 0)},l=he(()=>{const h=ae(e),d=ri(h).map(js).filter(qy);return new Set(d)}),c=ke(l,h=>{a(),o.value&&h.size&&(i=new MutationObserver(t),h.forEach(d=>i.observe(d,r)))},{immediate:!0,flush:"post"}),u=()=>i?.takeRecords(),f=()=>{c(),a()};return zn(f),{isSupported:o,stop:f,takeRecords:u}}function tI(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function nI(...e){let t,n,s={};e.length===3?(t=e[0],n=e[1],s=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],s=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=xt,eventName:i="keydown",passive:o=!1,dedupe:a=!1}=s,l=tI(t);return Ut(r,i,u=>{u.repeat&&ae(a)||l(u)&&n(u)},o)}function RI(e,t,n={}){return nI(e,t,{...n,eventName:"keyup"})}function sI(e,t={}){const{immediate:n=!0,fpsLimit:s=void 0,window:r=xt,once:i=!1}=t,o=Ee(!1),a=he(()=>s?1e3/ae(s):null);let l=0,c=null;function u(d){if(!o.value||!r)return;l||(l=d);const p=d-l;if(a.value&&p<a.value){c=r.requestAnimationFrame(u);return}if(l=d,e({delta:p,timestamp:d}),i){o.value=!1,c=null;return}c=r.requestAnimationFrame(u)}function f(){!o.value&&r&&(o.value=!0,l=0,c=r.requestAnimationFrame(u))}function h(){o.value=!1,c!=null&&r&&(r.cancelAnimationFrame(c),c=null)}return n&&f(),zn(h),{isActive:qn(o),pause:h,resume:f}}const rI=Symbol("vueuse-ssr-width");function iI(){const e=Pa()?DP(rI,null):null;return typeof e=="number"?e:void 0}function oI(e,t={}){const{window:n=xt,ssrWidth:s=iI()}=t,r=zi(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=Ee(typeof s=="number"),o=Ee(),a=Ee(!1),l=c=>{a.value=c.matches};return pu(()=>{if(i.value){i.value=!r.value;const c=ae(e).split(",");a.value=c.some(u=>{const f=u.includes("not all"),h=u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),d=u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(h||d);return h&&p&&(p=s>=ap(h[1])),d&&p&&(p=s<=ap(d[1])),f?!p:p});return}r.value&&(o.value=n.matchMedia(ae(e)),a.value=o.value.matches)}),Ut(o,"change",l,{passive:!0}),he(()=>a.value)}function lp(e,t={}){const{controls:n=!1,navigator:s=zy}=t,r=zi(()=>s&&"permissions"in s),i=Ee(),o=typeof e=="string"?{name:e}:e,a=Ee(),l=()=>{var u,f;a.value=(f=(u=i.value)==null?void 0:u.state)!=null?f:"prompt"};Ut(i,"change",l,{passive:!0});const c=BP(async()=>{if(r.value){if(!i.value)try{i.value=await s.permissions.query(o)}catch{i.value=void 0}finally{l()}if(n)return de(i.value)}});return c(),n?{state:a,isSupported:r,query:c}:a}function LI(e={}){const{navigator:t=zy,read:n=!1,source:s,copiedDuring:r=1500,legacy:i=!1}=e,o=zi(()=>t&&"clipboard"in t),a=lp("clipboard-read"),l=lp("clipboard-write"),c=he(()=>o.value||i),u=Ee(""),f=Ee(!1),h=Qy(()=>f.value=!1,r,{immediate:!1});async function d(){let v=!(o.value&&g(a.value));if(!v)try{u.value=await t.clipboard.readText()}catch{v=!0}v&&(u.value=E())}c.value&&n&&Ut(["copy","cut"],d,{passive:!0});async function p(v=ae(s)){if(c.value&&v!=null){let _=!(o.value&&g(l.value));if(!_)try{await t.clipboard.writeText(v)}catch{_=!0}_&&m(v),u.value=v,f.value=!0,h.start()}}function m(v){const _=document.createElement("textarea");_.value=v??"",_.style.position="absolute",_.style.opacity="0",document.body.appendChild(_),_.select(),document.execCommand("copy"),_.remove()}function E(){var v,_,y;return(y=(_=(v=document?.getSelection)==null?void 0:v.call(document))==null?void 0:_.toString())!=null?y:""}function g(v){return v==="granted"||v==="prompt"}return{isSupported:c,text:u,copied:f,copy:p}}function aI(e){return JSON.parse(JSON.stringify(e))}const vo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Eo="__vueuse_ssr_handlers__",lI=cI();function cI(){return Eo in vo||(vo[Eo]=vo[Eo]||{}),vo[Eo]}function Zy(e,t){return lI[e]||t}function ev(e){return oI("(prefers-color-scheme: dark)",e)}function uI(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const fI={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},cp="vueuse-storage";function dI(e,t,n,s={}){var r;const{flush:i="pre",deep:o=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=xt,eventFilter:h,onError:d=V=>{console.error(V)},initOnMounted:p}=s,m=(u?Ee:it)(typeof t=="function"?t():t),E=he(()=>ae(e));if(!n)try{n=Zy("getDefaultStorage",()=>{var V;return(V=xt)==null?void 0:V.localStorage})()}catch(V){d(V)}if(!n)return m;const g=ae(t),v=uI(g),_=(r=s.serializer)!=null?r:fI[v],{pause:y,resume:T}=XP(m,V=>P(V),{flush:i,deep:o,eventFilter:h});ke(E,()=>R(),{flush:i});let O=!1;const A=V=>{p&&!O||R(V)},I=V=>{p&&!O||$(V)};f&&a&&(n instanceof Storage?Ut(f,"storage",A,{passive:!0}):Ut(f,cp,I)),p?mf(()=>{O=!0,R()}):R();function S(V,K){if(f){const j={key:E.value,oldValue:V,newValue:K,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",j):new CustomEvent(cp,{detail:j}))}}function P(V){try{const K=n.getItem(E.value);if(V==null)S(K,null),n.removeItem(E.value);else{const j=_.write(V);K!==j&&(n.setItem(E.value,j),S(K,j))}}catch(K){d(K)}}function x(V){const K=V?V.newValue:n.getItem(E.value);if(K==null)return l&&g!=null&&n.setItem(E.value,_.write(g)),g;if(!V&&c){const j=_.read(K);return typeof c=="function"?c(j,g):v==="object"&&!Array.isArray(j)?{...g,...j}:j}else return typeof K!="string"?K:_.read(K)}function R(V){if(!(V&&V.storageArea!==n)){if(V&&V.key==null){m.value=g;return}if(!(V&&V.key!==E.value)){y();try{const K=_.write(m.value);(V===void 0||V?.newValue!==K)&&(m.value=x(V))}catch(K){d(K)}finally{V?Yt(T):T()}}}}function $(V){R(V.detail)}return m}const hI="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function pI(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=xt,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=e,f={auto:"",light:"light",dark:"dark",...e.modes||{}},h=ev({window:r}),d=he(()=>h.value?"dark":"light"),p=l||(o==null?gr(s):dI(o,s,i,{window:r,listenToStorageChanges:a})),m=he(()=>p.value==="auto"?d.value:p.value),E=Zy("updateHTMLAttrs",(y,T,O)=>{const A=typeof y=="string"?r?.document.querySelector(y):js(y);if(!A)return;const I=new Set,S=new Set;let P=null;if(T==="class"){const R=O.split(/\s/g);Object.values(f).flatMap($=>($||"").split(/\s/g)).filter(Boolean).forEach($=>{R.includes($)?I.add($):S.add($)})}else P={key:T,value:O};if(I.size===0&&S.size===0&&P===null)return;let x;u&&(x=r.document.createElement("style"),x.appendChild(document.createTextNode(hI)),r.document.head.appendChild(x));for(const R of I)A.classList.add(R);for(const R of S)A.classList.remove(R);P&&A.setAttribute(P.key,P.value),u&&(r.getComputedStyle(x).opacity,document.head.removeChild(x))});function g(y){var T;E(t,n,(T=f[y])!=null?T:y)}function v(y){e.onChanged?e.onChanged(y,g):g(y)}ke(m,v,{flush:"post",immediate:!0}),mf(()=>v(m.value));const _=he({get(){return c?p.value:m.value},set(y){p.value=y}});return Object.assign(_,{store:p,system:d,state:m})}function mI(e={}){const{valueDark:t="dark",valueLight:n=""}=e,s=pI({...e,onChanged:(o,a)=>{var l;e.onChanged?(l=e.onChanged)==null||l.call(e,o==="dark",a,o):a(o)},modes:{dark:t,light:n}}),r=he(()=>s.system.value);return he({get(){return s.value==="dark"},set(o){const a=o?"dark":"light";r.value===a?s.value="auto":s.value=a}})}function MI(e={}){const{document:t=Yy}=e;if(!t)return Ee("visible");const n=Ee(t.visibilityState);return Ut(t,"visibilitychange",()=>{n.value=t.visibilityState},{passive:!0}),n}function gI(e,t,n={}){const{root:s,rootMargin:r="0px",threshold:i=0,window:o=xt,immediate:a=!0}=n,l=zi(()=>o&&"IntersectionObserver"in o),c=he(()=>{const p=ae(e);return ri(p).map(js).filter(qy)});let u=an;const f=Ee(a),h=l.value?ke(()=>[c.value,js(s),f.value],([p,m])=>{if(u(),!f.value||!p.length)return;const E=new IntersectionObserver(t,{root:js(m),rootMargin:r,threshold:i});p.forEach(g=>g&&E.observe(g)),u=()=>{E.disconnect(),u=an}},{immediate:a,flush:"post"}):an,d=()=>{u(),h(),f.value=!1};return zn(d),{isSupported:l,isActive:f,pause(){u(),f.value=!1},resume(){f.value=!0},stop:d}}function xI(e,t={}){const{window:n=xt,scrollTarget:s,threshold:r=0,rootMargin:i,once:o=!1}=t,a=Ee(!1),{stop:l}=gI(e,c=>{let u=a.value,f=0;for(const h of c)h.time>=f&&(f=h.time,u=h.isIntersecting);a.value=u,o&&ZP(a,()=>{l()})},{root:s,window:n,threshold:r,rootMargin:ae(i)});return a}const _I={json:"application/json",text:"text/plain"};function up(e){return e&&jP(e,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}function Dl(e){return typeof Headers<"u"&&e instanceof Headers?Object.fromEntries(e.entries()):e}function DI(e,...t){var n,s;const r=typeof AbortController=="function";let i={},o={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1};const a={method:"GET",type:"text",payload:void 0};t.length>0&&(up(t[0])?o={...o,...t[0]}:i=t[0]),t.length>1&&up(t[1])&&(o={...o,...t[1]});const{fetch:l=(s=(n=xt)==null?void 0:n.fetch)!=null?s:globalThis?.fetch,initialData:c,timeout:u}=o,f=Ml(),h=Ml(),d=Ml(),p=Ee(!1),m=Ee(!1),E=Ee(!1),g=Ee(null),v=Ee(null),_=Ee(null),y=Ee(c||null),T=he(()=>r&&m.value);let O,A;const I=q=>{r&&(O?.abort(q),O=new AbortController,O.signal.onabort=()=>E.value=!0,i={...i,signal:O.signal})},S=q=>{m.value=q,p.value=!q};u&&(A=Qy(I,u,{immediate:!1}));let P=0;const x=async(q=!1)=>{var G,ee;I(),S(!0),_.value=null,g.value=null,E.value=!1,P+=1;const we=P,Ce={method:a.method,headers:{}},xe=ae(a.payload);if(xe){const ye=Dl(Ce.headers),U=Object.getPrototypeOf(xe);!a.payloadType&&xe&&(U===Object.prototype||Array.isArray(U))&&!(xe instanceof FormData)&&(a.payloadType="json"),a.payloadType&&(ye["Content-Type"]=(G=_I[a.payloadType])!=null?G:a.payloadType),Ce.body=a.payloadType==="json"?JSON.stringify(xe):xe}let kt=!1;const et={url:ae(e),options:{...Ce,...i},cancel:()=>{kt=!0}};if(o.beforeFetch&&Object.assign(et,await o.beforeFetch(et)),kt||!l)return S(!1),Promise.resolve(null);let tt=null;return A&&A.start(),l(et.url,{...Ce,...et.options,headers:{...Dl(Ce.headers),...Dl((ee=et.options)==null?void 0:ee.headers)}}).then(async ye=>{if(v.value=ye,g.value=ye.status,tt=await ye.clone()[a.type](),!ye.ok)throw y.value=c||null,new Error(ye.statusText);return o.afterFetch&&({data:tt}=await o.afterFetch({data:tt,response:ye,context:et,execute:x})),y.value=tt,f.trigger(ye),ye}).catch(async ye=>{let U=ye.message||ye.name;if(o.onFetchError&&({error:U,data:tt}=await o.onFetchError({data:tt,error:ye,response:v.value,context:et,execute:x})),_.value=U,o.updateDataOnError&&(y.value=tt),h.trigger(ye),q)throw ye;return null}).finally(()=>{we===P&&S(!1),A&&A.stop(),d.trigger(null)})},R=gr(o.refetch);ke([R,gr(e)],([q])=>q&&x(),{deep:!0});const $={isFinished:qn(p),isFetching:qn(m),statusCode:g,response:v,error:_,data:y,canAbort:T,aborted:E,abort:I,execute:x,onFetchResponse:f.on,onFetchError:h.on,onFetchFinally:d.on,get:V("GET"),put:V("PUT"),post:V("POST"),delete:V("DELETE"),patch:V("PATCH"),head:V("HEAD"),options:V("OPTIONS"),json:j("json"),text:j("text"),blob:j("blob"),arrayBuffer:j("arrayBuffer"),formData:j("formData")};function V(q){return(G,ee)=>{if(!m.value)return a.method=q,a.payload=G,a.payloadType=ee,Ne(a.payload)&&ke([R,gr(a.payload)],([we])=>we&&x(),{deep:!0}),{...$,then(we,Ce){return K().then(we,Ce)}}}}function K(){return new Promise((q,G)=>{QP(p).toBe(!0).then(()=>q($)).catch(G)})}function j(q){return()=>{if(!m.value)return a.type=q,{...$,then(G,ee){return K().then(G,ee)}}}}return o.immediate&&Promise.resolve().then(()=>x()),{...$,then(q,G){return K().then(q,G)}}}const fp=1;function yI(e,t={}){const{throttle:n=0,idle:s=200,onStop:r=an,onScroll:i=an,offset:o={left:0,right:0,top:0,bottom:0},observe:a={mutation:!1},eventListenerOptions:l={capture:!1,passive:!0},behavior:c="auto",window:u=xt,onError:f=S=>{console.error(S)}}=t,h=typeof a=="boolean"?{mutation:a}:a,d=Ee(0),p=Ee(0),m=he({get(){return d.value},set(S){g(S,void 0)}}),E=he({get(){return p.value},set(S){g(void 0,S)}});function g(S,P){var x,R,$,V;if(!u)return;const K=ae(e);if(!K)return;($=K instanceof Document?u.document.body:K)==null||$.scrollTo({top:(x=ae(P))!=null?x:E.value,left:(R=ae(S))!=null?R:m.value,behavior:ae(c)});const j=((V=K?.document)==null?void 0:V.documentElement)||K?.documentElement||K;m!=null&&(d.value=j.scrollLeft),E!=null&&(p.value=j.scrollTop)}const v=Ee(!1),_=Kn({left:!0,right:!1,top:!0,bottom:!1}),y=Kn({left:!1,right:!1,top:!1,bottom:!1}),T=S=>{v.value&&(v.value=!1,y.left=!1,y.right=!1,y.top=!1,y.bottom=!1,r(S))},O=GP(T,n+s),A=S=>{var P;if(!u)return;const x=((P=S?.document)==null?void 0:P.documentElement)||S?.documentElement||js(S),{display:R,flexDirection:$,direction:V}=getComputedStyle(x),K=V==="rtl"?-1:1,j=x.scrollLeft;y.left=j<d.value,y.right=j>d.value;const q=Math.abs(j*K)<=(o.left||0),G=Math.abs(j*K)+x.clientWidth>=x.scrollWidth-(o.right||0)-fp;R==="flex"&&$==="row-reverse"?(_.left=G,_.right=q):(_.left=q,_.right=G),d.value=j;let ee=x.scrollTop;S===u.document&&!ee&&(ee=u.document.body.scrollTop),y.top=ee<p.value,y.bottom=ee>p.value;const we=Math.abs(ee)<=(o.top||0),Ce=Math.abs(ee)+x.clientHeight>=x.scrollHeight-(o.bottom||0)-fp;R==="flex"&&$==="column-reverse"?(_.top=Ce,_.bottom=we):(_.top=we,_.bottom=Ce),p.value=ee},I=S=>{var P;if(!u)return;const x=(P=S.target.documentElement)!=null?P:S.target;A(x),v.value=!0,O(S),i(S)};return Ut(e,"scroll",n?KP(I,n,!0,!1):I,l),mf(()=>{try{const S=ae(e);if(!S)return;A(S)}catch(S){f(S)}}),h?.mutation&&e!=null&&e!==u&&e!==document&&Jy(e,()=>{const S=ae(e);S&&A(S)},{attributes:!0,childList:!0,subtree:!0}),Ut(e,"scrollend",T,l),{x:m,y:E,isScrolling:v,arrivedState:_,directions:y,measure(){const S=ae(e);u&&S&&A(S)}}}const vI={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function kI(e={}){const{reactive:t=!1,target:n=xt,aliasMap:s=vI,passive:r=!0,onEventFired:i=an}=e,o=Kn(new Set),a={toJSON(){return{}},current:o},l=t?Kn(a):a,c=new Set,u=new Set,f=new Set;function h(E,g){E in l&&(t?l[E]=g:l[E].value=g)}function d(){o.clear();for(const E of f)h(E,!1)}function p(E,g){var v,_;const y=(v=E.key)==null?void 0:v.toLowerCase(),O=[(_=E.code)==null?void 0:_.toLowerCase(),y].filter(Boolean);y&&(g?o.add(y):o.delete(y));for(const A of O)f.add(A),h(A,g);if(y==="shift"&&!g){const A=Array.from(u),I=A.indexOf("shift");A.forEach((S,P)=>{P>=I&&(o.delete(S),h(S,!1))}),u.clear()}else typeof E.getModifierState=="function"&&E.getModifierState("Shift")&&g&&[...o,...O].forEach(A=>u.add(A));y==="meta"&&!g?(c.forEach(A=>{o.delete(A),h(A,!1)}),c.clear()):typeof E.getModifierState=="function"&&E.getModifierState("Meta")&&g&&[...o,...O].forEach(A=>c.add(A))}Ut(n,"keydown",E=>(p(E,!0),i(E)),{passive:r}),Ut(n,"keyup",E=>(p(E,!1),i(E)),{passive:r}),Ut("blur",d,{passive:r}),Ut("focus",d,{passive:r});const m=new Proxy(l,{get(E,g,v){if(typeof g!="string")return Reflect.get(E,g,v);if(g=g.toLowerCase(),g in s&&(g=s[g]),!(g in l))if(/[+_-]/.test(g)){const y=g.split(/[+_-]/g).map(T=>T.trim());l[g]=he(()=>y.map(T=>ae(m[T])).every(Boolean))}else l[g]=Ee(!1);const _=Reflect.get(E,g,v);return t?ae(_):_}});return m}function FI(e={}){const{controls:t=!1,interval:n="requestAnimationFrame",immediate:s=!0}=e,r=it(new Date),i=()=>r.value=new Date,o=n==="requestAnimationFrame"?sI(i,{immediate:s}):YP(i,n,{immediate:s});return t?{now:r,...o}:r}function $I(e=null,t={}){var n,s,r;const{document:i=Yy,restoreOnUnmount:o=f=>f}=t,a=(n=i?.title)!=null?n:"",l=gr((s=e??i?.title)!=null?s:null),c=!!(e&&typeof e=="function");function u(f){if(!("titleTemplate"in t))return f;const h=t.titleTemplate||"%s";return typeof h=="function"?h(f):ae(h).replace(/%s/g,f)}return ke(l,(f,h)=>{f!==h&&i&&(i.title=u(f??""))},{immediate:!0}),t.observe&&!t.titleTemplate&&i&&!c&&Jy((r=i.head)==null?void 0:r.querySelector("title"),()=>{i&&i.title!==l.value&&(l.value=u(i.title))},{childList:!0}),zn(()=>{if(o){const f=o(a,l.value||"");f!=null&&i&&(i.title=f)}}),l}function VI(e,t,n,s={}){var r,i,o;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:h}=s,d=ze(),p=d?.emit||((r=d?.$emit)==null?void 0:r.bind(d))||((o=(i=d?.proxy)==null?void 0:i.$emit)==null?void 0:o.bind(d?.proxy));let m=c;t||(t="modelValue"),m=m||`update:${t.toString()}`;const E=_=>a?typeof a=="function"?a(_):aI(_):_,g=()=>kP(e[t])?E(e[t]):f,v=_=>{h?h(_)&&p(m,_):p(m,_)};if(l){const _=g(),y=it(_);let T=!1;return ke(()=>e[t],O=>{T||(T=!0,y.value=E(O),Yt(()=>T=!1))}),ke(y,O=>{!T&&(O!==e[t]||u)&&v(O)},{deep:u}),y}else return he({get(){return g()},set(_){v(_)}})}function HI(e={}){const{window:t=xt,...n}=e;return yI(t,n)}const tv=mI(),UI=zP(tv),EI=ev(),bI=Dt({__name:"App",setup(e){return bN({title:"Board - XCPCIO",meta:[{name:"theme-color",content:()=>tv.value?"#00aba9":"#ffffff"}],link:[{rel:"icon",type:"image/svg+xml",href:()=>EI.value?"/favicon-dark.svg":"/favicon.svg"}]}),(t,n)=>{const s=Gs("RouterView");return Ot(),Qn(s)}}});MP(bI,{routes:ZA(xP),base:"/"},e=>{Object.values([tw,ow,gw,yO]).forEach(t=>t.install?.(e)),e.app.use(JA),e.app.use(zO)});export{Mg as $,$I as A,DI as B,ke as C,Bi as D,AT as E,Ge as F,Qn as G,PI as H,$n as I,Ou as J,Xg as K,pi as L,bu as M,Yt as N,dI as O,TI as P,mO as Q,LI as R,T0 as S,h0 as T,es as U,TS as V,YP as W,nI as X,MI as Y,KP as Z,kI as _,Re as a,dO as a0,RI as a1,Ja as a2,LO as a3,CO as a4,SI as a5,yc as a6,Zt as a7,Yi as a8,SO as a9,wO as aa,_c as ab,ey as ac,$O as ad,NO as ae,St as af,Pa as ag,Ct as ah,WO as ai,ce as aj,Jc as ak,Kn as al,NI as am,Kp as an,wI as ao,Zc as ap,qn as aq,Hb as ar,Rg as as,zn as at,nu as au,ae as av,ze as aw,VI as ax,_n as b,Er as c,vu as d,Dt as e,Cu as f,HI as g,he as h,II as i,UI as j,Z0 as k,qg as l,it as m,Jn as n,Ot as o,xI as p,Jl as q,Gs as r,FI as s,Ea as t,Kt as u,nT as v,Ws as w,zo as x,La as y,Ne as z};
|
|
15
|
+
`,-1)}mC(e.hoists,t),i(),r("return ")}function Cl(e,t,{helper:n,push:s,newline:r,isTS:i}){const o=n(t==="filter"?Ua:t==="component"?$a:Ha);for(let a=0;a<e.length;a++){let l=e[a];const c=l.endsWith("__self");c&&(l=l.slice(0,-6)),s(`const ${Pr(l,t)} = ${o}(${JSON.stringify(l)}${c?", true":""})${i?"!":""}`),a<e.length-1&&r()}}function mC(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:s}=t;s();for(let r=0;r<e.length;r++){const i=e[r];i&&(n(`const _hoisted_${r+1} = `),yt(i,t),s())}t.pure=!1}function Wu(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Qi(e,t,n),n&&t.deindent(),t.push("]")}function Qi(e,t,n=!1,s=!0){const{push:r,newline:i}=t;for(let o=0;o<e.length;o++){const a=e[o];re(a)?r(a,-3):z(a)?Wu(a,t):yt(a,t),o<e.length-1&&(n?(s&&r(","),i()):s&&r(", "))}}function yt(e,t){if(re(e)){t.push(e,-3);return}if(At(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:yt(e.codegenNode,t);break;case 2:gC(e,t);break;case 4:R_(e,t);break;case 5:_C(e,t);break;case 12:yt(e.codegenNode,t);break;case 8:L_(e,t);break;case 3:vC(e,t);break;case 13:EC(e,t);break;case 14:TC(e,t);break;case 15:SC(e,t);break;case 17:wC(e,t);break;case 18:CC(e,t);break;case 19:OC(e,t);break;case 20:AC(e,t);break;case 21:Qi(e.body,t,!0,!1);break}}function gC(e,t){t.push(JSON.stringify(e.content),-3,e)}function R_(e,t){const{content:n,isStatic:s}=e;t.push(s?JSON.stringify(n):n,-3,e)}function _C(e,t){const{push:n,helper:s,pure:r}=t;r&&n(za),n(`${s(Gi)}(`),yt(e.content,t),n(")")}function L_(e,t){for(let n=0;n<e.children.length;n++){const s=e.children[n];re(s)?t.push(s,-3):yt(s,t)}}function yC(e,t){const{push:n}=t;if(e.type===8)n("["),L_(e,t),n("]");else if(e.isStatic){const s=Ki(e.content)?e.content:JSON.stringify(e.content);n(s,-2,e)}else n(`[${e.content}]`,-3,e)}function vC(e,t){const{push:n,helper:s,pure:r}=t;r&&n(za),n(`${s(Dr)}(${JSON.stringify(e.content)})`,-3,e)}function EC(e,t){const{push:n,helper:s,pure:r}=t,{tag:i,props:o,children:a,patchFlag:l,dynamicProps:c,directives:u,isBlock:f,disableTracking:h,isComponent:d}=e;let p;l&&(p=String(l)),u&&n(s(Ba)+"("),f&&n(`(${s(vs)}(${h?"true":""}), `),r&&n(za);const m=f?zs(t.inSSR,d):Ys(t.inSSR,d);n(s(m)+"(",-2,e),Qi(bC([i,o,a,p,c]),t),n(")"),f&&n(")"),u&&(n(", "),yt(u,t),n(")"))}function bC(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(n=>n||"null")}function TC(e,t){const{push:n,helper:s,pure:r}=t,i=re(e.callee)?e.callee:s(e.callee);r&&n(za),n(i+"(",-2,e),Qi(e.arguments,t),n(")")}function SC(e,t){const{push:n,indent:s,deindent:r,newline:i}=t,{properties:o}=e;if(!o.length){n("{}",-2,e);return}const a=o.length>1||!1;n(a?"{":"{ "),a&&s();for(let l=0;l<o.length;l++){const{key:c,value:u}=o[l];yC(c,t),n(": "),yt(u,t),l<o.length-1&&(n(","),i())}a&&r(),n(a?"}":" }")}function wC(e,t){Wu(e.elements,t)}function CC(e,t){const{push:n,indent:s,deindent:r}=t,{params:i,returns:o,body:a,newline:l,isSlot:c}=e;c&&n(`_${Xs[qa]}(`),n("(",-2,e),z(i)?Qi(i,t):i&&yt(i,t),n(") => "),(l||a)&&(n("{"),s()),o?(l&&n("return "),z(o)?Wu(o,t):yt(o,t)):a&&yt(a,t),(l||a)&&(r(),n("}")),c&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function OC(e,t){const{test:n,consequent:s,alternate:r,newline:i}=e,{push:o,indent:a,deindent:l,newline:c}=t;if(n.type===4){const f=!Ki(n.content);f&&o("("),R_(n,t),f&&o(")")}else o("("),yt(n,t),o(")");i&&a(),t.indentLevel++,i||o(" "),o("? "),yt(s,t),t.indentLevel--,i&&c(),i||o(" "),o(": ");const u=r.type===19;u||t.indentLevel++,yt(r,t),u||t.indentLevel--,i&&l(!0)}function AC(e,t){const{push:n,helper:s,indent:r,deindent:i,newline:o}=t,{needPauseTracking:a,needArraySpread:l}=e;l&&n("[...("),n(`_cache[${e.index}] || (`),a&&(r(),n(`${s(Ti)}(-1`),e.inVOnce&&n(", true"),n("),"),o(),n("(")),n(`_cache[${e.index}] = `),yt(e.value,t),a&&(n(`).cacheIndex = ${e.index},`),o(),n(`${s(Ti)}(1),`),o(),n(`_cache[${e.index}]`),i()),n(")"),l&&n(")]")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const NC=(e,t)=>{if(e.type===5)e.content=Lo(e.content,t);else if(e.type===1){const n=Tt(e,"memo");for(let s=0;s<e.props.length;s++){const r=e.props[s];if(r.type===7&&r.name!=="for"){const i=r.exp,o=r.arg;i&&i.type===4&&!(r.name==="on"&&o)&&!(n&&o&&o.type===4&&o.content==="key")&&(r.exp=Lo(i,t,r.name==="slot")),o&&o.type===4&&!o.isStatic&&(r.arg=Lo(o,t))}}}};function Lo(e,t,n=!1,s=!1,r=Object.create(t.identifiers)){return e}function M_(e){return re(e)?e:e.type===4?e.content:e.children.map(M_).join("")}const PC=ju(/^(?:if|else|else-if)$/,(e,t,n)=>x_(e,t,n,(s,r,i)=>{const o=n.parent.children;let a=o.indexOf(s),l=0;for(;a-->=0;){const c=o[a];c&&c.type===9&&(l+=c.branches.length)}return()=>{if(i)s.codegenNode=Jd(r,l,n);else{const c=IC(s.codegenNode);c.alternate=Jd(r,l+s.branches.length-1,n)}}}));function x_(e,t,n,s){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const r=t.exp?t.exp.loc:e.loc;n.onError(De(28,t.loc)),t.exp=ie("true",!1,r)}if(t.name==="if"){const r=zd(e,t),i={type:9,loc:oC(e.loc),branches:[r]};if(n.replaceNode(i),s)return s(i,r,!0)}else{const r=n.parent.children;let i=r.indexOf(e);for(;i-->=-1;){const o=r[i];if(o&&Hu(o)){n.removeNode(o);continue}if(o&&o.type===9){(t.name==="else-if"||t.name==="else")&&o.branches[o.branches.length-1].condition===void 0&&n.onError(De(30,e.loc)),n.removeNode();const a=zd(e,t);o.branches.push(a);const l=s&&s(o,a,!1);Xi(a,n),l&&l(),n.currentNode=null}else n.onError(De(30,e.loc));break}}}function zd(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!Tt(e,"for")?e.children:[e],userKey:qi(e,"key"),isTemplateIf:n}}function Jd(e,t,n){return e.condition?ta(e.condition,Zd(e,t,n),Qe(n.helper(Dr),['""',"true"])):Zd(e,t,n)}function Zd(e,t,n){const{helper:s}=n,r=qe("key",ie(`${t}`,!1,Ze,2)),{children:i}=e,o=i[0];if(i.length!==1||o.type!==1)if(i.length===1&&o.type===11){const l=o.codegenNode;return wi(l,r,n),l}else return Or(n,s(wr),Ht([r]),i,64,void 0,void 0,!0,!1,!1,e.loc);else{const l=o.codegenNode,c=__(l);return c.type===13&&Qa(c,n),wi(c,r,n),l}}function IC(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const RC=ju("for",(e,t,n)=>{const{helper:s,removeHelper:r}=n;return D_(e,t,n,i=>{const o=Qe(s(ja),[i.source]),a=Nr(e),l=Tt(e,"memo"),c=qi(e,"key",!1,!0);c&&c.type;let u=c&&(c.type===6?c.value?ie(c.value.content,!0):void 0:c.exp);const f=c&&u?qe("key",u):null,h=i.source.type===4&&i.source.constType>0,d=h?64:c?128:256;return i.codegenNode=Or(n,s(wr),void 0,o,d,void 0,void 0,!0,!h,!1,e.loc),()=>{let p;const{children:m}=i,E=m.length!==1||m[0].type!==1,g=Si(e)?e:a&&e.children.length===1&&Si(e.children[0])?e.children[0]:null;if(g?(p=g.codegenNode,a&&f&&wi(p,f,n)):E?p=Or(n,s(wr),f?Ht([f]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(p=m[0].codegenNode,a&&f&&wi(p,f,n),p.isBlock!==!h&&(p.isBlock?(r(vs),r(zs(n.inSSR,p.isComponent))):r(Ys(n.inSSR,p.isComponent))),p.isBlock=!h,p.isBlock?(s(vs),s(zs(n.inSSR,p.isComponent))):s(Ys(n.inSSR,p.isComponent))),l){const v=Qs(sa(i.parseResult,[ie("_cached")]));v.body=r_([Xt(["const _memo = (",l.exp,")"]),Xt(["if (_cached",...u?[" && _cached.key === ",u]:[],` && ${n.helperString(Mu)}(_cached, _memo)) return _cached`]),Xt(["const _item = ",p]),ie("_item.memo = _memo"),ie("return _item")]),o.arguments.push(v,ie("_cache"),ie(String(n.cached.length))),n.cached.push(null)}else o.arguments.push(Qs(sa(i.parseResult),p,!0))}})});function D_(e,t,n,s){if(!t.exp){n.onError(De(31,t.loc));return}const r=t.forParseResult;if(!r){n.onError(De(32,t.loc));return}Gu(r);const{addIdentifiers:i,removeIdentifiers:o,scopes:a}=n,{source:l,value:c,key:u,index:f}=r,h={type:11,loc:t.loc,source:l,valueAlias:c,keyAlias:u,objectIndexAlias:f,parseResult:r,children:Nr(e)?e.children:[e]};n.replaceNode(h),a.vFor++;const d=s&&s(h);return()=>{a.vFor--,d&&d()}}function Gu(e,t){e.finalized||(e.finalized=!0)}function sa({value:e,key:t,index:n},s=[]){return LC([e,t,n,...s])}function LC(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,s)=>n||ie("_".repeat(s+1),!1))}const eh=ie("undefined",!1),k_=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=Tt(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},MC=(e,t)=>{let n;if(Nr(e)&&e.props.some($u)&&(n=Tt(e,"for"))){const s=n.forParseResult;if(s){Gu(s);const{value:r,key:i,index:o}=s,{addIdentifiers:a,removeIdentifiers:l}=t;return r&&a(r),i&&a(i),o&&a(o),()=>{r&&l(r),i&&l(i),o&&l(o)}}}},xC=(e,t,n,s)=>Qs(e,n,!1,!0,n.length?n[0].loc:s);function F_(e,t,n=xC){t.helper(qa);const{children:s,loc:r}=e,i=[],o=[];let a=t.scopes.vSlot>0||t.scopes.vFor>0;const l=Tt(e,"slot",!0);if(l){const{arg:E,exp:g}=l;E&&!wt(E)&&(a=!0),i.push(qe(E||ie("default",!0),n(g,void 0,s,r)))}let c=!1,u=!1;const f=[],h=new Set;let d=0;for(let E=0;E<s.length;E++){const g=s[E];let v;if(!Nr(g)||!(v=Tt(g,"slot",!0))){g.type!==3&&f.push(g);continue}if(l){t.onError(De(37,v.loc));break}c=!0;const{children:_,loc:y}=g,{arg:T=ie("default",!0),exp:O,loc:A}=v;let I;wt(T)?I=T?T.content:"default":a=!0;const S=Tt(g,"for"),P=n(O,S,_,y);let x,R;if(x=Tt(g,"if"))a=!0,o.push(ta(x.exp,po(T,P,d++),eh));else if(R=Tt(g,/^else(?:-if)?$/,!0)){let $=E,V;for(;$--&&(V=s[$],!!Hu(V)););if(V&&Nr(V)&&Tt(V,/^(?:else-)?if$/)){let K=o[o.length-1];for(;K.alternate.type===19;)K=K.alternate;K.alternate=R.exp?ta(R.exp,po(T,P,d++),eh):po(T,P,d++)}else t.onError(De(30,R.loc))}else if(S){a=!0;const $=S.forParseResult;$?(Gu($),o.push(Qe(t.helper(ja),[$.source,Qs(sa($),po(T,P),!0)]))):t.onError(De(32,S.loc))}else{if(I){if(h.has(I)){t.onError(De(38,A));continue}h.add(I),I==="default"&&(u=!0)}i.push(qe(T,P))}}if(!l){const E=(g,v)=>{const _=n(g,void 0,v,r);return t.compatConfig&&(_.isNonScopedSlot=!0),qe("default",_)};c?f.length&&!f.every(Ya)&&(u?t.onError(De(39,f[0].loc)):i.push(E(void 0,f))):i.push(E(void 0,s))}const p=a?2:Mo(e.children)?3:1;let m=Ht(i.concat(qe("_",ie(p+"",!1))),r);return o.length&&(m=Qe(t.helper(Lu),[m,ms(o)])),{slots:m,hasDynamicSlots:a}}function po(e,t,n){const s=[qe("name",e),qe("fn",t)];return n!=null&&s.push(qe("key",ie(String(n),!0))),Ht(s)}function Mo(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(n.tagType===2||Mo(n.children))return!0;break;case 9:if(Mo(n.branches))return!0;break;case 10:case 11:if(Mo(n.children))return!0;break}}return!1}const $_=new WeakMap,V_=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:s,props:r}=e,i=e.tagType===1;let o=i?H_(e,t):`"${s}"`;const a=be(o)&&o.callee===Va;let l,c,u=0,f,h,d,p=a||o===pr||o===xa||!i&&(s==="svg"||s==="foreignObject"||s==="math");if(r.length>0){const m=Ku(e,t,void 0,i,a);l=m.props,u=m.patchFlag,h=m.dynamicPropNames;const E=m.directives;d=E&&E.length?ms(E.map(g=>U_(g,t))):void 0,m.shouldUseBlock&&(p=!0)}if(e.children.length>0)if(o===Ei&&(p=!0,u|=1024),i&&o!==pr&&o!==Ei){const{slots:E,hasDynamicSlots:g}=F_(e,t);c=E,g&&(u|=1024)}else if(e.children.length===1&&o!==pr){const E=e.children[0],g=E.type,v=g===5||g===8;v&&Lt(E,t)===0&&(u|=1),v||g===2?c=E:c=e.children}else c=e.children;h&&h.length&&(f=kC(h)),e.codegenNode=Or(t,o,l,c,u===0?void 0:u,f,d,!!p,!1,i,e.loc)};function H_(e,t,n=!1){let{tag:s}=e;const r=gc(s),i=qi(e,"is",!1,!0);if(i)if(r||Bs("COMPILER_IS_ON_ELEMENT",t)){let a;if(i.type===6?a=i.value&&ie(i.value.content,!0):(a=i.exp,a||(a=ie("is",!1,i.arg.loc))),a)return Qe(t.helper(Va),[a])}else i.type===6&&i.value.content.startsWith("vue:")&&(s=i.value.content.slice(4));const o=Du(s)||t.isBuiltInComponent(s);return o?(n||t.helper(o),o):(t.helper($a),t.components.add(s),Pr(s,"component"))}function Ku(e,t,n=e.props,s,r,i=!1){const{tag:o,loc:a,children:l}=e;let c=[];const u=[],f=[],h=l.length>0;let d=!1,p=0,m=!1,E=!1,g=!1,v=!1,_=!1,y=!1;const T=[],O=P=>{c.length&&(u.push(Ht(th(c),a)),c=[]),P&&u.push(P)},A=()=>{t.scopes.vFor>0&&c.push(qe(ie("ref_for",!0),ie("true")))},I=({key:P,value:x})=>{if(wt(P)){const R=P.content,$=ws(R);if($&&(!s||r)&&R.toLowerCase()!=="onclick"&&R!=="onUpdate:modelValue"&&!Fn(R)&&(v=!0),$&&Fn(R)&&(y=!0),$&&x.type===14&&(x=x.arguments[0]),x.type===20||(x.type===4||x.type===8)&&Lt(x,t)>0)return;R==="ref"?m=!0:R==="class"?E=!0:R==="style"?g=!0:R!=="key"&&!T.includes(R)&&T.push(R),s&&(R==="class"||R==="style")&&!T.includes(R)&&T.push(R)}else _=!0};for(let P=0;P<n.length;P++){const x=n[P];if(x.type===6){const{loc:R,name:$,nameLoc:V,value:K}=x;let j=!0;if($==="ref"&&(m=!0,A()),$==="is"&&(gc(o)||K&&K.content.startsWith("vue:")||Bs("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(qe(ie($,!0,V),ie(K?K.content:"",j,K?K.loc:R)))}else{const{name:R,arg:$,exp:V,loc:K,modifiers:j}=x,q=R==="bind",G=R==="on";if(R==="slot"){s||t.onError(De(40,K));continue}if(R==="once"||R==="memo"||R==="is"||q&&hs($,"is")&&(gc(o)||Bs("COMPILER_IS_ON_ELEMENT",t))||G&&i)continue;if((q&&hs($,"key")||G&&h&&hs($,"vue:before-update"))&&(d=!0),q&&hs($,"ref")&&A(),!$&&(q||G)){if(_=!0,V)if(q){if(O(),Bs("COMPILER_V_BIND_OBJECT_ORDER",t)){u.unshift(V);continue}A(),O(),u.push(V)}else O({type:14,loc:K,callee:t.helper(Ka),arguments:s?[V]:[V,"true"]});else t.onError(De(q?34:35,K));continue}q&&j.some(we=>we.content==="prop")&&(p|=32);const ee=t.directiveTransforms[R];if(ee){const{props:we,needRuntime:Ce}=ee(x,e,t);!i&&we.forEach(I),G&&$&&!wt($)?O(Ht(we,a)):c.push(...we),Ce&&(f.push(x),At(Ce)&&$_.set(x,Ce))}else xp(R)||(f.push(x),h&&(d=!0))}}let S;if(u.length?(O(),u.length>1?S=Qe(t.helper(bi),u,a):S=u[0]):c.length&&(S=Ht(th(c),a)),_?p|=16:(E&&!s&&(p|=2),g&&!s&&(p|=4),T.length&&(p|=8),v&&(p|=32)),!d&&(p===0||p===32)&&(m||y||f.length>0)&&(p|=512),!t.inSSR&&S)switch(S.type){case 15:let P=-1,x=-1,R=!1;for(let K=0;K<S.properties.length;K++){const j=S.properties[K].key;wt(j)?j.content==="class"?P=K:j.content==="style"&&(x=K):j.isHandlerKey||(R=!0)}const $=S.properties[P],V=S.properties[x];R?S=Qe(t.helper(Cr),[S]):($&&!wt($.value)&&($.value=Qe(t.helper(Wa),[$.value])),V&&(g||V.value.type===4&&V.value.content.trim()[0]==="["||V.value.type===17)&&(V.value=Qe(t.helper(Ga),[V.value])));break;case 14:break;default:S=Qe(t.helper(Cr),[Qe(t.helper(kr),[S])]);break}return{props:S,directives:f,patchFlag:p,dynamicPropNames:T,shouldUseBlock:d}}function th(e){const t=new Map,n=[];for(let s=0;s<e.length;s++){const r=e[s];if(r.key.type===8||!r.key.isStatic){n.push(r);continue}const i=r.key.content,o=t.get(i);o?(i==="style"||i==="class"||ws(i))&&DC(o,r):(t.set(i,r),n.push(r))}return n}function DC(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=ms([e.value,t.value],e.loc)}function U_(e,t){const n=[],s=$_.get(e);s?n.push(t.helperString(s)):(t.helper(Ha),t.directives.add(e.name),n.push(Pr(e.name,"directive")));const{loc:r}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const i=ie("true",!1,r);n.push(Ht(e.modifiers.map(o=>qe(o,i)),r))}return ms(n,e.loc)}function kC(e){let t="[";for(let n=0,s=e.length;n<s;n++)t+=JSON.stringify(e[n]),n<s-1&&(t+=", ");return t+"]"}function gc(e){return e==="component"||e==="Component"}const FC=(e,t)=>{if(Si(e)){const{children:n,loc:s}=e,{slotName:r,slotProps:i}=B_(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"];let a=2;i&&(o[2]=i,a=3),n.length&&(o[3]=Qs([],n,!1,!1,s),a=4),t.scopeId&&!t.slotted&&(a=5),o.splice(a),e.codegenNode=Qe(t.helper(Ru),o,s)}};function B_(e,t){let n='"default"',s;const r=[];for(let i=0;i<e.props.length;i++){const o=e.props[i];if(o.type===6)o.value&&(o.name==="name"?n=JSON.stringify(o.value.content):(o.name=Me(o.name),r.push(o)));else if(o.name==="bind"&&hs(o.arg,"name")){if(o.exp)n=o.exp;else if(o.arg&&o.arg.type===4){const a=Me(o.arg.content);n=o.exp=ie(a,!1,o.arg.loc)}}else o.name==="bind"&&o.arg&&wt(o.arg)&&(o.arg.content=Me(o.arg.content)),r.push(o)}if(r.length>0){const{props:i,directives:o}=Ku(e,t,r,!1,!1);s=i,o.length&&t.onError(De(36,o[0].loc))}return{slotName:n,slotProps:s}}const qu=(e,t,n,s)=>{const{loc:r,modifiers:i,arg:o}=e;!e.exp&&!i.length&&n.onError(De(35,r));let a;if(o.type===4)if(o.isStatic){let f=o.content;f.startsWith("vue:")&&(f=`vnode-${f.slice(4)}`);const h=t.tagType!==0||f.startsWith("vnode")||!/[A-Z]/.test(f)?Fs(Me(f)):`on:${f}`;a=ie(h,!0,o.loc)}else a=Xt([`${n.helperString(ea)}(`,o,")"]);else a=o,a.children.unshift(`${n.helperString(ea)}(`),a.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let c=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const f=Fu(l),h=!(f||h_(l)),d=l.content.includes(";");(h||c&&f)&&(l=Xt([`${h?"$event":"(...args)"} => ${d?"{":"("}`,l,d?"}":")"]))}let u={props:[qe(a,l||ie("() => {}",!1,r))]};return s&&(u=s(u)),c&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach(f=>f.key.isHandlerKey=!0),u},j_=(e,t,n)=>{const{modifiers:s,loc:r}=e,i=e.arg;let{exp:o}=e;return o&&o.type===4&&!o.content.trim()&&(o=void 0),i.type!==4?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=i.content?`${i.content} || ""`:'""'),s.some(a=>a.content==="camel")&&(i.type===4?i.isStatic?i.content=Me(i.content):i.content=`${n.helperString(Zo)}(${i.content})`:(i.children.unshift(`${n.helperString(Zo)}(`),i.children.push(")"))),n.inSSR||(s.some(a=>a.content==="prop")&&nh(i,"."),s.some(a=>a.content==="attr")&&nh(i,"^")),{props:[qe(i,o)]}},nh=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},$C=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let s,r=!1;for(let i=0;i<n.length;i++){const o=n[i];if(No(o)){r=!0;for(let a=i+1;a<n.length;a++){const l=n[a];if(No(l))s||(s=n[i]=Xt([o],o.loc)),s.children.push(" + ",l),n.splice(a,1),a--;else{s=void 0;break}}}}if(!(!r||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(i=>i.type===7&&!t.directiveTransforms[i.name])&&e.tag!=="template")))for(let i=0;i<n.length;i++){const o=n[i];if(No(o)||o.type===8){const a=[];(o.type!==2||o.content!==" ")&&a.push(o),!t.ssr&&Lt(o,t)===0&&a.push("1"),n[i]={type:12,content:o,loc:o.loc,codegenNode:Qe(t.helper(Fa),a)}}}}},sh=new WeakSet,VC=(e,t)=>{if(e.type===1&&Tt(e,"once",!0))return sh.has(e)||t.inVOnce||t.inSSR?void 0:(sh.add(e),t.inVOnce=!0,t.helper(Ti),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0,!0))})},Xu=(e,t,n)=>{const{exp:s,arg:r}=e;if(!s)return n.onError(De(41,e.loc)),mo();const i=s.loc.source.trim(),o=s.type===4?s.content:i,a=n.bindingMetadata[i];if(a==="props"||a==="props-aliased")return n.onError(De(44,s.loc)),mo();if(!o.trim()||!Fu(s))return n.onError(De(42,s.loc)),mo();const l=r||ie("modelValue",!0),c=r?wt(r)?`onUpdate:${Me(r.content)}`:Xt(['"onUpdate:" + ',r]):"onUpdate:modelValue";let u;const f=n.isTS?"($event: any)":"$event";u=Xt([`${f} => ((`,s,") = $event)"]);const h=[qe(l,e.exp),qe(c,u)];if(e.modifiers.length&&t.tagType===1){const d=e.modifiers.map(m=>m.content).map(m=>(Ki(m)?m:JSON.stringify(m))+": true").join(", "),p=r?wt(r)?`${r.content}Modifiers`:Xt([r,' + "Modifiers"']):"modelModifiers";h.push(qe(p,ie(`{ ${d} }`,!1,e.loc,2)))}return mo(h)};function mo(e=[]){return{props:e}}const HC=/[\w).+\-_$\]]/,UC=(e,t)=>{Bs("COMPILER_FILTERS",t)&&(e.type===5?ra(e.content,t):e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&ra(n.exp,t)}))};function ra(e,t){if(e.type===4)rh(e,t);else for(let n=0;n<e.children.length;n++){const s=e.children[n];typeof s=="object"&&(s.type===4?rh(s,t):s.type===8?ra(e,t):s.type===5&&ra(s.content,t))}}function rh(e,t){const n=e.content;let s=!1,r=!1,i=!1,o=!1,a=0,l=0,c=0,u=0,f,h,d,p,m=[];for(d=0;d<n.length;d++)if(h=f,f=n.charCodeAt(d),s)f===39&&h!==92&&(s=!1);else if(r)f===34&&h!==92&&(r=!1);else if(i)f===96&&h!==92&&(i=!1);else if(o)f===47&&h!==92&&(o=!1);else if(f===124&&n.charCodeAt(d+1)!==124&&n.charCodeAt(d-1)!==124&&!a&&!l&&!c)p===void 0?(u=d+1,p=n.slice(0,d).trim()):E();else{switch(f){case 34:r=!0;break;case 39:s=!0;break;case 96:i=!0;break;case 40:c++;break;case 41:c--;break;case 91:l++;break;case 93:l--;break;case 123:a++;break;case 125:a--;break}if(f===47){let g=d-1,v;for(;g>=0&&(v=n.charAt(g),v===" ");g--);(!v||!HC.test(v))&&(o=!0)}}p===void 0?p=n.slice(0,d).trim():u!==0&&E();function E(){m.push(n.slice(u,d).trim()),u=d+1}if(m.length){for(d=0;d<m.length;d++)p=BC(p,m[d],t);e.content=p,e.ast=void 0}}function BC(e,t,n){n.helper(Ua);const s=t.indexOf("(");if(s<0)return n.filters.add(t),`${Pr(t,"filter")}(${e})`;{const r=t.slice(0,s),i=t.slice(s+1);return n.filters.add(r),`${Pr(r,"filter")}(${e}${i!==")"?","+i:i}`}}const ih=new WeakSet,jC=(e,t)=>{if(e.type===1){const n=Tt(e,"memo");return!n||ih.has(e)||t.inSSR?void 0:(ih.add(e),()=>{const s=e.codegenNode||t.currentNode.codegenNode;s&&s.type===13&&(e.tagType!==1&&Qa(s,t),e.codegenNode=Qe(t.helper(Xa),[n.exp,Qs(void 0,s),"_cache",String(t.cached.length)]),t.cached.push(null))})}},W_=(e,t)=>{if(e.type===1){for(const n of e.props)if(n.type===7&&n.name==="bind"&&(!n.exp||n.exp.type===4&&!n.exp.content.trim())&&n.arg){const s=n.arg;if(s.type!==4||!s.isStatic)t.onError(De(52,s.loc)),n.exp=ie("",!0,s.loc);else{const r=Me(s.content);(ku.test(r[0])||r[0]==="-")&&(n.exp=ie(r,!1,s.loc))}}}};function G_(e){return[[W_,VC,PC,jC,RC,UC,FC,V_,k_,$C],{on:qu,bind:j_,model:Xu}]}function K_(e,t={}){const n=t.onError||xu,s=t.mode==="module";t.prefixIdentifiers===!0?n(De(47)):s&&n(De(48));const r=!1;t.cacheHandlers&&n(De(49)),t.scopeId&&!s&&n(De(50));const i=le({},t,{prefixIdentifiers:r}),o=re(e)?Bu(e,i):e,[a,l]=G_();return N_(o,le({},i,{nodeTransforms:[...a,...t.nodeTransforms||[]],directiveTransforms:le({},l,t.directiveTransforms||{})})),I_(o,i)}const WC={DATA:"data",PROPS:"props",PROPS_ALIASED:"props-aliased",SETUP_LET:"setup-let",SETUP_CONST:"setup-const",SETUP_REACTIVE_CONST:"setup-reactive-const",SETUP_MAYBE_REF:"setup-maybe-ref",SETUP_REF:"setup-ref",OPTIONS:"options",LITERAL_CONST:"literal-const"},q_=()=>({props:[]});const Qu=Symbol(""),Yu=Symbol(""),zu=Symbol(""),Ju=Symbol(""),ia=Symbol(""),Zu=Symbol(""),ef=Symbol(""),tf=Symbol(""),nf=Symbol(""),sf=Symbol("");t_({[Qu]:"vModelRadio",[Yu]:"vModelCheckbox",[zu]:"vModelText",[Ju]:"vModelSelect",[ia]:"vModelDynamic",[Zu]:"withModifiers",[ef]:"withKeys",[tf]:"vShow",[nf]:"Transition",[sf]:"TransitionGroup"});let ir;function GC(e,t=!1){return ir||(ir=document.createElement("div")),t?(ir.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,ir.children[0].getAttribute("foo")):(ir.innerHTML=e,ir.textContent)}const rf={parseMode:"html",isVoidTag:Vp,isNativeTag:e=>kp(e)||Fp(e)||$p(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:GC,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return nf;if(e==="TransitionGroup"||e==="transition-group")return sf},getNamespace(e,t,n){let s=t?t.ns:n;if(t&&s===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(r=>r.type===6&&r.name==="encoding"&&r.value!=null&&(r.value.content==="text/html"||r.value.content==="application/xhtml+xml"))&&(s=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(s=0);else t&&s===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(s=0);if(s===0){if(e==="svg")return 1;if(e==="math")return 2}return s}},X_=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:ie("style",!0,t.loc),exp:KC(t.value.content,t.loc),modifiers:[],loc:t.loc})})},KC=(e,t)=>{const n=jc(e);return ie(JSON.stringify(n),!1,t,3)};function Bn(e,t){return De(e,t)}const qC={X_V_HTML_NO_EXPRESSION:53,53:"X_V_HTML_NO_EXPRESSION",X_V_HTML_WITH_CHILDREN:54,54:"X_V_HTML_WITH_CHILDREN",X_V_TEXT_NO_EXPRESSION:55,55:"X_V_TEXT_NO_EXPRESSION",X_V_TEXT_WITH_CHILDREN:56,56:"X_V_TEXT_WITH_CHILDREN",X_V_MODEL_ON_INVALID_ELEMENT:57,57:"X_V_MODEL_ON_INVALID_ELEMENT",X_V_MODEL_ARG_ON_ELEMENT:58,58:"X_V_MODEL_ARG_ON_ELEMENT",X_V_MODEL_ON_FILE_INPUT_ELEMENT:59,59:"X_V_MODEL_ON_FILE_INPUT_ELEMENT",X_V_MODEL_UNNECESSARY_VALUE:60,60:"X_V_MODEL_UNNECESSARY_VALUE",X_V_SHOW_NO_EXPRESSION:61,61:"X_V_SHOW_NO_EXPRESSION",X_TRANSITION_INVALID_CHILDREN:62,62:"X_TRANSITION_INVALID_CHILDREN",X_IGNORED_SIDE_EFFECT_TAG:63,63:"X_IGNORED_SIDE_EFFECT_TAG",__EXTEND_POINT__:64,64:"__EXTEND_POINT__"},XC={53:"v-html is missing expression.",54:"v-html will override element children.",55:"v-text is missing expression.",56:"v-text will override element children.",57:"v-model can only be used on <input>, <textarea> and <select> elements.",58:"v-model argument is not supported on plain elements.",59:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",60:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",61:"v-show is missing expression.",62:"<Transition> expects exactly one child element or component.",63:"Tags with side effect (<script> and <style>) are ignored in client component templates."},QC=(e,t,n)=>{const{exp:s,loc:r}=e;return s||n.onError(Bn(53,r)),t.children.length&&(n.onError(Bn(54,r)),t.children.length=0),{props:[qe(ie("innerHTML",!0,r),s||ie("",!0))]}},YC=(e,t,n)=>{const{exp:s,loc:r}=e;return s||n.onError(Bn(55,r)),t.children.length&&(n.onError(Bn(56,r)),t.children.length=0),{props:[qe(ie("textContent",!0),s?Lt(s,n)>0?s:Qe(n.helperString(Gi),[s],r):ie("",!0))]}},zC=(e,t,n)=>{const s=Xu(e,t,n);if(!s.props.length||t.tagType===1)return s;e.arg&&n.onError(Bn(58,e.arg.loc));const{tag:r}=t,i=n.isCustomElement(r);if(r==="input"||r==="textarea"||r==="select"||i){let o=zu,a=!1;if(r==="input"||i){const l=qi(t,"type");if(l){if(l.type===7)o=ia;else if(l.value)switch(l.value.content){case"radio":o=Qu;break;case"checkbox":o=Yu;break;case"file":a=!0,n.onError(Bn(59,e.loc));break}}else m_(t)&&(o=ia)}else r==="select"&&(o=Ju);a||(s.needRuntime=n.helper(o))}else n.onError(Bn(57,e.loc));return s.props=s.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),s},JC=ot("passive,once,capture"),ZC=ot("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),eO=ot("left,right"),Q_=ot("onkeyup,onkeydown,onkeypress"),tO=(e,t,n,s)=>{const r=[],i=[],o=[];for(let a=0;a<t.length;a++){const l=t[a].content;l==="native"&&Ar("COMPILER_V_ON_NATIVE",n)||JC(l)?o.push(l):eO(l)?wt(e)?Q_(e.content.toLowerCase())?r.push(l):i.push(l):(r.push(l),i.push(l)):ZC(l)?i.push(l):r.push(l)}return{keyModifiers:r,nonKeyModifiers:i,eventOptionModifiers:o}},oh=(e,t)=>wt(e)&&e.content.toLowerCase()==="onclick"?ie(t,!0):e.type!==4?Xt(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,nO=(e,t,n)=>qu(e,t,n,s=>{const{modifiers:r}=e;if(!r.length)return s;let{key:i,value:o}=s.props[0];const{keyModifiers:a,nonKeyModifiers:l,eventOptionModifiers:c}=tO(i,r,n,e.loc);if(l.includes("right")&&(i=oh(i,"onContextmenu")),l.includes("middle")&&(i=oh(i,"onMouseup")),l.length&&(o=Qe(n.helper(Zu),[o,JSON.stringify(l)])),a.length&&(!wt(i)||Q_(i.content.toLowerCase()))&&(o=Qe(n.helper(ef),[o,JSON.stringify(a)])),c.length){const u=c.map(Os).join("");i=wt(i)?ie(`${i.content}${u}`,!0):Xt(["(",i,`) + "${u}"`])}return{props:[qe(i,o)]}}),sO=(e,t,n)=>{const{exp:s,loc:r}=e;return s||n.onError(Bn(61,r)),{props:[],needRuntime:n.helper(tf)}},rO=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},Y_=[X_],z_={cloak:q_,html:QC,text:YC,model:zC,on:nO,show:sO};function iO(e,t={}){return K_(e,le({},rf,t,{nodeTransforms:[rO,...Y_,...t.nodeTransforms||[]],directiveTransforms:le({},z_,t.directiveTransforms||{}),transformHoist:null}))}function oO(e,t={}){return Bu(e,le({},rf,t))}const aO=Object.freeze(Object.defineProperty({__proto__:null,BASE_TRANSITION:Au,BindingTypes:WC,CAMELIZE:Zo,CAPITALIZE:Yg,CREATE_BLOCK:Nu,CREATE_COMMENT:Dr,CREATE_ELEMENT_BLOCK:Pu,CREATE_ELEMENT_VNODE:ka,CREATE_SLOTS:Lu,CREATE_STATIC:Iu,CREATE_TEXT:Fa,CREATE_VNODE:Da,CompilerDeprecationTypes:Nw,ConstantTypes:Ew,DOMDirectiveTransforms:z_,DOMErrorCodes:qC,DOMErrorMessages:XC,DOMNodeTransforms:Y_,ElementTypes:vw,ErrorCodes:Rw,FRAGMENT:wr,GUARD_REACTIVE_PROPS:kr,IS_MEMO_SAME:Mu,IS_REF:e_,KEEP_ALIVE:Ei,MERGE_PROPS:bi,NORMALIZE_CLASS:Wa,NORMALIZE_PROPS:Cr,NORMALIZE_STYLE:Ga,Namespaces:_w,NodeTypes:yw,OPEN_BLOCK:vs,POP_SCOPE_ID:Jg,PUSH_SCOPE_ID:zg,RENDER_LIST:ja,RENDER_SLOT:Ru,RESOLVE_COMPONENT:$a,RESOLVE_DIRECTIVE:Ha,RESOLVE_DYNAMIC_COMPONENT:Va,RESOLVE_FILTER:Ua,SET_BLOCK_TRACKING:Ti,SUSPENSE:xa,TELEPORT:pr,TO_DISPLAY_STRING:Gi,TO_HANDLERS:Ka,TO_HANDLER_KEY:ea,TRANSITION:nf,TRANSITION_GROUP:sf,TS_NODE_TYPES:l_,UNREF:Zg,V_MODEL_CHECKBOX:Yu,V_MODEL_DYNAMIC:ia,V_MODEL_RADIO:Qu,V_MODEL_SELECT:Ju,V_MODEL_TEXT:zu,V_ON_WITH_KEYS:ef,V_ON_WITH_MODIFIERS:Zu,V_SHOW:tf,WITH_CTX:qa,WITH_DIRECTIVES:Ba,WITH_MEMO:Xa,advancePositionWithClone:Qw,advancePositionWithMutation:p_,assert:Yw,baseCompile:K_,baseParse:Bu,buildDirectiveArgs:U_,buildProps:Ku,buildSlots:F_,checkCompatEnabled:Ar,compile:iO,convertToBlock:Qa,createArrayExpression:ms,createAssignmentExpression:ww,createBlockStatement:r_,createCacheExpression:s_,createCallExpression:Qe,createCompilerError:De,createCompoundExpression:Xt,createConditionalExpression:ta,createDOMCompilerError:Bn,createForLoopParams:sa,createFunctionExpression:Qs,createIfStatement:Sw,createInterpolation:bw,createObjectExpression:Ht,createObjectProperty:qe,createReturnStatement:Ow,createRoot:n_,createSequenceExpression:Cw,createSimpleExpression:ie,createStructuralDirectiveTransform:ju,createTemplateLiteral:Tw,createTransformContext:A_,createVNodeCall:Or,errorMessages:Lw,extractIdentifiers:yn,findDir:Tt,findProp:qi,forAliasRE:y_,generate:I_,generateCodeFrame:Dp,getBaseTransformPreset:G_,getConstantType:Lt,getMemoedVNodeCall:__,getVNodeBlockHelper:zs,getVNodeHelper:Ys,hasDynamicKeyVBind:m_,hasScopeRef:Jt,helperNameMap:Xs,injectProp:wi,isAllWhitespace:Vu,isCommentOrWhitespace:Hu,isCoreComponent:Du,isFnExpression:h_,isFnExpressionBrowser:d_,isFnExpressionNode:Xw,isFunctionType:Uw,isInDestructureAssignment:Dw,isInNewExpression:kw,isMemberExpression:Fu,isMemberExpressionBrowser:f_,isMemberExpressionNode:Kw,isReferencedIdentifier:xw,isSimpleIdentifier:Ki,isSlotOutlet:Si,isStaticArgOf:hs,isStaticExp:wt,isStaticProperty:a_,isStaticPropertyKey:Bw,isTemplateNode:Nr,isText:No,isVPre:hc,isVSlot:$u,isWhitespaceText:Ya,locStub:Ze,noopDirectiveTransform:q_,parse:oO,parserOptions:rf,processExpression:Lo,processFor:D_,processIf:x_,processSlotOutlet:B_,registerRuntimeHelpers:t_,resolveComponentType:H_,stringifyExpression:M_,toValidAssetId:Pr,trackSlotScopes:k_,trackVForSlotScopes:MC,transform:N_,transformBind:j_,transformElement:V_,transformExpression:NC,transformModel:Xu,transformOn:qu,transformStyle:X_,transformVBindShorthand:W_,traverseNode:Xi,unwrapTSNode:c_,validFirstIdentCharRE:ku,walkBlockDeclarations:o_,walkFunctionParams:Fw,walkIdentifiers:Mw,warnDeprecation:Iw},Symbol.toStringTag,{value:"Module"})),lO=Ou(aO),cO=Ou(O0),uO=Ou(pb);var ah;function fO(){return ah||(ah=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=lO,n=cO,s=uO;function r(l){var c=Object.create(null);if(l)for(var u in l)c[u]=l[u];return c.default=l,Object.freeze(c)}var i=r(n);const o=Object.create(null);function a(l,c){if(!s.isString(l))if(l.nodeType)l=l.innerHTML;else return s.NOOP;const u=s.genCacheKey(l,c),f=o[u];if(f)return f;if(l[0]==="#"){const m=document.querySelector(l);l=m?m.innerHTML:""}const h=s.extend({hoistStatic:!0,onError:void 0,onWarn:s.NOOP},c);!h.isCustomElement&&typeof customElements<"u"&&(h.isCustomElement=m=>!!customElements.get(m));const{code:d}=t.compile(l,h),p=new Function("Vue",d)(i);return p._rc=!0,o[u]=p}n.registerRuntimeCompiler(a),e.compile=a,Object.keys(n).forEach(function(l){l!=="default"&&!Object.prototype.hasOwnProperty.call(e,l)&&(e[l]=n[l])})})(wl)),wl}var lh;function dO(){return lh||(lh=1,Sl.exports=fO()),Sl.exports}var hO=Ao.exports,ch;function pO(){return ch||(ch=1,(function(e,t){(function(s,r){e.exports=r(dO())})(hO,n=>(()=>{var s={113:((I,S)=>{Object.defineProperty(S,"__esModule",{value:!0}),S.default=(P,x)=>{const R=P.__vccOpts||P;for(const[$,V]of x)R[$]=V;return R}}),594:(I=>{I.exports=n})},r={};function i(I){var S=r[I];if(S!==void 0)return S.exports;var P=r[I]={exports:{}};return s[I](P,P.exports,i),P.exports}i.d=(I,S)=>{for(var P in S)i.o(S,P)&&!i.o(I,P)&&Object.defineProperty(I,P,{enumerable:!0,get:S[P]})},i.o=(I,S)=>Object.prototype.hasOwnProperty.call(I,S),i.r=I=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(I,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(I,"__esModule",{value:!0})};var o={};i.r(o),i.d(o,{ToastComponent:()=>y,ToastPlugin:()=>O,ToastPositions:()=>d,default:()=>A,useToast:()=>T});var a=i(594);const l=["innerHTML"];function c(I,S,P,x,R,$){return(0,a.openBlock)(),(0,a.createBlock)(a.Transition,{"enter-active-class":I.transition.enter,"leave-active-class":I.transition.leave},{default:(0,a.withCtx)(()=>[(0,a.withDirectives)((0,a.createElementVNode)("div",{ref:"root",role:"alert",class:(0,a.normalizeClass)(["v-toast__item",[`v-toast__item--${I.type}`,`v-toast__item--${I.position}`]]),onMouseover:S[0]||(S[0]=V=>I.toggleTimer(!0)),onMouseleave:S[1]||(S[1]=V=>I.toggleTimer(!1)),onClick:S[2]||(S[2]=function(){return I.whenClicked&&I.whenClicked(...arguments)})},[S[3]||(S[3]=(0,a.createElementVNode)("div",{class:"v-toast__icon"},null,-1)),(0,a.createElementVNode)("p",{class:"v-toast__text",innerHTML:I.message},null,8,l)],34),[[a.vShow,I.isActive]])]),_:1},8,["enter-active-class","leave-active-class"])}function u(I){typeof I.remove<"u"?I.remove():I.parentNode?.removeChild(I)}function f(I,S,P){let x=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const R=(0,a.h)(I,S,x),$=document.createElement("div");return $.classList.add("v-toast--pending"),P.appendChild($),(0,a.render)(R,$),R.component}class h{constructor(S,P){this.startedAt=Date.now(),this.callback=S,this.delay=P,this.timer=setTimeout(S,P)}pause(){this.stop(),this.delay-=Date.now()-this.startedAt}resume(){this.stop(),this.startedAt=Date.now(),this.timer=setTimeout(this.callback,this.delay)}stop(){clearTimeout(this.timer)}}const d=Object.freeze({TOP_RIGHT:"top-right",TOP:"top",TOP_LEFT:"top-left",BOTTOM_RIGHT:"bottom-right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom-left"});function p(I){return{all:I=I||new Map,on:function(S,P){var x=I.get(S);x?x.push(P):I.set(S,[P])},off:function(S,P){var x=I.get(S);x&&(P?x.splice(x.indexOf(P)>>>0,1):I.set(S,[]))},emit:function(S,P){var x=I.get(S);x&&x.slice().map(function(R){R(P)}),(x=I.get("*"))&&x.slice().map(function(R){R(S,P)})}}}const E=p(),g=(0,a.defineComponent)({name:"Toast",props:{message:{type:String,required:!0},type:{type:String,default:"success"},position:{type:String,default:d.BOTTOM_RIGHT,validator(I){return Object.values(d).includes(I)}},duration:{type:Number,default:3e3},dismissible:{type:Boolean,default:!0},onDismiss:{type:Function,default:()=>{}},onClick:{type:Function,default:()=>{}},queue:Boolean,pauseOnHover:{type:Boolean,default:!0}},data(){return{isActive:!1,parentTop:null,parentBottom:null,isHovered:!1}},beforeMount(){this.setupContainer()},mounted(){this.showNotice(),E.on("toast-clear",this.dismiss)},methods:{setupContainer(){if(this.parentTop=document.querySelector(".v-toast.v-toast--top"),this.parentBottom=document.querySelector(".v-toast.v-toast--bottom"),this.parentTop&&this.parentBottom)return;this.parentTop||(this.parentTop=document.createElement("div"),this.parentTop.className="v-toast v-toast--top"),this.parentBottom||(this.parentBottom=document.createElement("div"),this.parentBottom.className="v-toast v-toast--bottom");const I=document.body;I.appendChild(this.parentTop),I.appendChild(this.parentBottom)},shouldQueue(){return this.queue?this.parentTop.childElementCount>0||this.parentBottom.childElementCount>0:!1},dismiss(){this.timer&&this.timer.stop(),clearTimeout(this.queueTimer),this.isActive=!1,setTimeout(()=>{this.onDismiss.apply(null,arguments);const I=this.$refs.root;(0,a.render)(null,I),u(I)},150)},showNotice(){if(this.shouldQueue()){this.queueTimer=setTimeout(this.showNotice,250);return}const I=this.$refs.root.parentElement;this.correctParent.insertAdjacentElement("afterbegin",this.$refs.root),u(I),this.isActive=!0,this.duration&&(this.timer=new h(this.dismiss,this.duration))},whenClicked(){this.dismissible&&(this.onClick.apply(null,arguments),this.dismiss())},toggleTimer(I){!this.pauseOnHover||!this.timer||(I?this.timer.pause():this.timer.resume())}},computed:{correctParent(){switch(this.position){case d.TOP:case d.TOP_RIGHT:case d.TOP_LEFT:return this.parentTop;case d.BOTTOM:case d.BOTTOM_RIGHT:case d.BOTTOM_LEFT:return this.parentBottom}},transition(){switch(this.position){case d.TOP:case d.TOP_RIGHT:case d.TOP_LEFT:return{enter:"v-toast--fade-in-down",leave:"v-toast--fade-out"};case d.BOTTOM:case d.BOTTOM_RIGHT:case d.BOTTOM_LEFT:return{enter:"v-toast--fade-in-up",leave:"v-toast--fade-out"}}}},beforeUnmount(){E.off("toast-clear",this.dismiss)}});var v=i(113);const y=(0,v.default)(g,[["render",c]]),T=function(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{open(S){let P=null;typeof S=="string"&&(P=S);const R=Object.assign({},{message:P},I,S);return{dismiss:f(y,R,document.body).ctx.dismiss}},clear(){E.emit("toast-clear")},success(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"success"},P))},error(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"error"},P))},info(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"info"},P))},warning(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"warning"},P))},default(S){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:S,type:"default"},P))}}},O={install:function(I){let S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},P=T(S);I.config.globalProperties.$toast=P,I.provide("$toast",P)}},A=O;return o})())})(Ao)),Ao.exports}var mO=pO();const gO=Xg(mO),_O=({app:e})=>{e.use(gO,{position:"bottom-right"})},yO=Object.freeze(Object.defineProperty({__proto__:null,install:_O},Symbol.toStringTag,{value:"Module"}));var Ja=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},vO={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},EO=class{#e=vO;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}},_c=new EO;function bO(e){setTimeout(e,0)}var Yi=typeof window>"u"||"Deno"in globalThis;function Zt(){}function TO(e,t){return typeof e=="function"?e(t):e}function SO(e){return typeof e=="number"&&e>=0&&e!==1/0}function wO(e,t){return Math.max(e+(t||0)-Date.now(),0)}function yc(e,t){return typeof e=="function"?e(t):e}function CO(e,t){return typeof e=="function"?e(t):e}function uh(e,t){const{type:n="all",exact:s,fetchStatus:r,predicate:i,queryKey:o,stale:a}=e;if(o){if(s){if(t.queryHash!==of(o,t.options))return!1}else if(!Ai(t.queryKey,o))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||r&&r!==t.state.fetchStatus||i&&!i(t))}function fh(e,t){const{exact:n,status:s,predicate:r,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Oi(t.options.mutationKey)!==Oi(i))return!1}else if(!Ai(t.options.mutationKey,i))return!1}return!(s&&t.state.status!==s||r&&!r(t))}function of(e,t){return(t?.queryKeyHashFn||Oi)(e)}function Oi(e){return JSON.stringify(e,(t,n)=>vc(n)?Object.keys(n).sort().reduce((s,r)=>(s[r]=n[r],s),{}):n)}function Ai(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Ai(e[n],t[n])):!1}var OO=Object.prototype.hasOwnProperty;function J_(e,t){if(e===t)return e;const n=dh(e)&&dh(t);if(!n&&!(vc(e)&&vc(t)))return t;const r=(n?e:Object.keys(e)).length,i=n?t:Object.keys(t),o=i.length,a=n?new Array(o):{};let l=0;for(let c=0;c<o;c++){const u=n?c:i[c],f=e[u],h=t[u];if(f===h){a[u]=f,(n?c<r:OO.call(e,u))&&l++;continue}if(f===null||h===null||typeof f!="object"||typeof h!="object"){a[u]=h;continue}const d=J_(f,h);a[u]=d,d===f&&l++}return r===o&&l===r?e:a}function SI(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function dh(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function vc(e){if(!hh(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!hh(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function hh(e){return Object.prototype.toString.call(e)==="[object Object]"}function AO(e){return new Promise(t=>{_c.setTimeout(t,e)})}function NO(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?J_(e,t):t}function PO(e,t,n=0){const s=[...e,t];return n&&s.length>n?s.slice(1):s}function IO(e,t,n=0){const s=[t,...e];return n&&s.length>n?s.slice(0,-1):s}var af=Symbol();function Z_(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===af?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function wI(e,t){return typeof e=="function"?e(...t):!!e}var RO=class extends Ja{#e;#t;#n;constructor(){super(),this.#n=e=>{if(!Yi&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},ey=new RO;function LO(){let e,t;const n=new Promise((r,i)=>{e=r,t=i});n.status="pending",n.catch(()=>{});function s(r){Object.assign(n,r),delete n.resolve,delete n.reject}return n.resolve=r=>{s({status:"fulfilled",value:r}),e(r)},n.reject=r=>{s({status:"rejected",reason:r}),t(r)},n}var MO=bO;function xO(){let e=[],t=0,n=a=>{a()},s=a=>{a()},r=MO;const i=a=>{t?e.push(a):r(()=>{n(a)})},o=()=>{const a=e;e=[],a.length&&r(()=>{s(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||o()}return l},batchCalls:a=>(...l)=>{i(()=>{a(...l)})},schedule:i,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{s=a},setScheduler:a=>{r=a}}}var St=xO(),DO=class extends Ja{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(!Yi&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(n=>{n(e)}))}isOnline(){return this.#e}},oa=new DO;function kO(e){return Math.min(1e3*2**e,3e4)}function ty(e){return(e??"online")==="online"?oa.isOnline():!0}var Ec=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function ny(e){let t=!1,n=0,s;const r=LO(),i=()=>r.status!=="pending",o=m=>{if(!i()){const E=new Ec(m);h(E),e.onCancel?.(E)}},a=()=>{t=!0},l=()=>{t=!1},c=()=>ey.isFocused()&&(e.networkMode==="always"||oa.isOnline())&&e.canRun(),u=()=>ty(e.networkMode)&&e.canRun(),f=m=>{i()||(s?.(),r.resolve(m))},h=m=>{i()||(s?.(),r.reject(m))},d=()=>new Promise(m=>{s=E=>{(i()||c())&&m(E)},e.onPause?.()}).then(()=>{s=void 0,i()||e.onContinue?.()}),p=()=>{if(i())return;let m;const E=n===0?e.initialPromise:void 0;try{m=E??e.fn()}catch(g){m=Promise.reject(g)}Promise.resolve(m).then(f).catch(g=>{if(i())return;const v=e.retry??(Yi?0:3),_=e.retryDelay??kO,y=typeof _=="function"?_(n,g):_,T=v===!0||typeof v=="number"&&n<v||typeof v=="function"&&v(n,g);if(t||!T){h(g);return}n++,e.onFail?.(n,g),AO(y).then(()=>c()?void 0:d()).then(()=>{t?h(g):p()})})};return{promise:r,status:()=>r.status,cancel:o,continue:()=>(s?.(),r),cancelRetry:a,continueRetry:l,canStart:u,start:()=>(u()?p():d().then(p),r)}}var sy=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),SO(this.gcTime)&&(this.#e=_c.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Yi?1/0:300*1e3))}clearGcTimeout(){this.#e&&(_c.clearTimeout(this.#e),this.#e=void 0)}},FO=class extends sy{#e;#t;#n;#r;#s;#o;#a;constructor(e){super(),this.#a=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#r=e.client,this.#n=this.#r.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=mh(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#s?.promise}setOptions(e){if(this.options={...this.#o,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=mh(this.options);t.data!==void 0&&(this.setState(ph(t.data,t.dataUpdatedAt)),this.#e=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(e,t){const n=NO(this.state.data,e,this.options);return this.#i({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#i({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#s?.promise;return this.#s?.cancel(e),t?t.then(Zt).catch(Zt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(e=>CO(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===af||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>yc(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!wO(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#s?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#s?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#s&&(this.#a?this.#s.cancel({revert:!0}):this.#s.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#i({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#s?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#s)return this.#s.continueRetry(),this.#s.promise}if(e&&this.setOptions(e),!this.options.queryFn){const a=this.observers.find(l=>l.options.queryFn);a&&this.setOptions(a.options)}const n=new AbortController,s=a=>{Object.defineProperty(a,"signal",{enumerable:!0,get:()=>(this.#a=!0,n.signal)})},r=()=>{const a=Z_(this.options,t),c=(()=>{const u={client:this.#r,queryKey:this.queryKey,meta:this.meta};return s(u),u})();return this.#a=!1,this.options.persister?this.options.persister(a,c,this):a(c)},o=(()=>{const a={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#r,state:this.state,fetchFn:r};return s(a),a})();this.options.behavior?.onFetch(o,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==o.fetchOptions?.meta)&&this.#i({type:"fetch",meta:o.fetchOptions?.meta}),this.#s=ny({initialPromise:t?.initialPromise,fn:o.fetchFn,onCancel:a=>{a instanceof Ec&&a.revert&&this.setState({...this.#t,fetchStatus:"idle"}),n.abort()},onFail:(a,l)=>{this.#i({type:"failed",failureCount:a,error:l})},onPause:()=>{this.#i({type:"pause"})},onContinue:()=>{this.#i({type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0});try{const a=await this.#s.start();if(a===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(a),this.#n.config.onSuccess?.(a,this),this.#n.config.onSettled?.(a,this.state.error,this),a}catch(a){if(a instanceof Ec){if(a.silent)return this.#s.promise;if(a.revert){if(this.state.data===void 0)throw a;return this.state.data}}throw this.#i({type:"error",error:a}),this.#n.config.onError?.(a,this),this.#n.config.onSettled?.(this.state.data,a,this),a}finally{this.scheduleGc()}}#i(e){const t=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...$O(n.data,this.options),fetchMeta:e.meta??null};case"success":const s={...n,...ph(e.data,e.dataUpdatedAt),dataUpdateCount:n.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=e.manual?s:void 0,s;case"error":const r=e.error;return{...n,error:r,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),St.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:e})})}};function $O(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:ty(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function ph(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function mh(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,s=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}function gh(e){return{onFetch:(t,n)=>{const s=t.options,r=t.fetchOptions?.meta?.fetchMore?.direction,i=t.state.data?.pages||[],o=t.state.data?.pageParams||[];let a={pages:[],pageParams:[]},l=0;const c=async()=>{let u=!1;const f=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>(t.signal.aborted?u=!0:t.signal.addEventListener("abort",()=>{u=!0}),t.signal)})},h=Z_(t.options,t.fetchOptions),d=async(p,m,E)=>{if(u)return Promise.reject();if(m==null&&p.pages.length)return Promise.resolve(p);const v=(()=>{const O={client:t.client,queryKey:t.queryKey,pageParam:m,direction:E?"backward":"forward",meta:t.options.meta};return f(O),O})(),_=await h(v),{maxPages:y}=t.options,T=E?IO:PO;return{pages:T(p.pages,_,y),pageParams:T(p.pageParams,m,y)}};if(r&&i.length){const p=r==="backward",m=p?VO:_h,E={pages:i,pageParams:o},g=m(s,E);a=await d(E,g,p)}else{const p=e??i.length;do{const m=l===0?o[0]??s.initialPageParam:_h(s,a);if(l>0&&m==null)break;a=await d(a,m),l++}while(l<p)}return a};t.options.persister?t.fetchFn=()=>t.options.persister?.(c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=c}}}function _h(e,{pages:t,pageParams:n}){const s=t.length-1;return t.length>0?e.getNextPageParam(t[s],t,n[s],n):void 0}function VO(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var HO=class extends sy{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||UO(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#s({type:"continue"})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=ny({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(i,o)=>{this.#s({type:"failed",failureCount:i,error:o})},onPause:()=>{this.#s({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const s=this.state.status==="pending",r=!this.#r.canStart();try{if(s)t();else{this.#s({type:"pending",variables:e,isPaused:r}),await this.#n.config.onMutate?.(e,this,n);const o=await this.options.onMutate?.(e,n);o!==this.state.context&&this.#s({type:"pending",context:o,variables:e,isPaused:r})}const i=await this.#r.start();return await this.#n.config.onSuccess?.(i,e,this.state.context,this,n),await this.options.onSuccess?.(i,e,this.state.context,n),await this.#n.config.onSettled?.(i,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(i,null,e,this.state.context,n),this.#s({type:"success",data:i}),i}catch(i){try{throw await this.#n.config.onError?.(i,e,this.state.context,this,n),await this.options.onError?.(i,e,this.state.context,n),await this.#n.config.onSettled?.(void 0,i,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(void 0,i,e,this.state.context,n),i}finally{this.#s({type:"error",error:i})}}finally{this.#n.runNext(this)}}#s(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),St.batch(()=>{this.#t.forEach(n=>{n.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function UO(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var ry=class extends Ja{constructor(t={}){super(),this.config=t,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(t,n,s){const r=new HO({client:t,mutationCache:this,mutationId:++this.#n,options:t.defaultMutationOptions(n),state:s});return this.add(r),r}add(t){this.#e.add(t);const n=go(t);if(typeof n=="string"){const s=this.#t.get(n);s?s.push(t):this.#t.set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#e.delete(t)){const n=go(t);if(typeof n=="string"){const s=this.#t.get(n);if(s)if(s.length>1){const r=s.indexOf(t);r!==-1&&s.splice(r,1)}else s[0]===t&&this.#t.delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=go(t);if(typeof n=="string"){const r=this.#t.get(n)?.find(i=>i.state.status==="pending");return!r||r===t}else return!0}runNext(t){const n=go(t);return typeof n=="string"?this.#t.get(n)?.find(r=>r!==t&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){St.batch(()=>{this.#e.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(t){const n={exact:!0,...t};return this.getAll().find(s=>fh(n,s))}findAll(t={}){return this.getAll().filter(n=>fh(t,n))}notify(t){St.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return St.batch(()=>Promise.all(t.map(n=>n.continue().catch(Zt))))}};function go(e){return e.options.scope?.id}var iy=class extends Ja{constructor(t={}){super(),this.config=t,this.#e=new Map}#e;build(t,n,s){const r=n.queryKey,i=n.queryHash??of(r,n);let o=this.get(i);return o||(o=new FO({client:t,queryKey:r,queryHash:i,options:t.defaultQueryOptions(n),state:s,defaultOptions:t.getQueryDefaults(r)}),this.add(o)),o}add(t){this.#e.has(t.queryHash)||(this.#e.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=this.#e.get(t.queryHash);n&&(t.destroy(),n===t&&this.#e.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){St.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#e.get(t)}getAll(){return[...this.#e.values()]}find(t){const n={exact:!0,...t};return this.getAll().find(s=>uh(n,s))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(s=>uh(t,s)):n}notify(t){St.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){St.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){St.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},BO=class{#e;#t;#n;#r;#s;#o;#a;#i;constructor(t={}){this.#e=t.queryCache||new iy,this.#t=t.mutationCache||new ry,this.#n=t.defaultOptions||{},this.#r=new Map,this.#s=new Map,this.#o=0}mount(){this.#o++,this.#o===1&&(this.#a=ey.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#i=oa.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#o--,this.#o===0&&(this.#a?.(),this.#a=void 0,this.#i?.(),this.#i=void 0)}isFetching(t){return this.#e.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#t.findAll({...t,status:"pending"}).length}getQueryData(t){const n=this.defaultQueryOptions({queryKey:t});return this.#e.get(n.queryHash)?.state.data}ensureQueryData(t){const n=this.defaultQueryOptions(t),s=this.#e.build(this,n),r=s.state.data;return r===void 0?this.fetchQuery(t):(t.revalidateIfStale&&s.isStaleByTime(yc(n.staleTime,s))&&this.prefetchQuery(n),Promise.resolve(r))}getQueriesData(t){return this.#e.findAll(t).map(({queryKey:n,state:s})=>{const r=s.data;return[n,r]})}setQueryData(t,n,s){const r=this.defaultQueryOptions({queryKey:t}),o=this.#e.get(r.queryHash)?.state.data,a=TO(n,o);if(a!==void 0)return this.#e.build(this,r).setData(a,{...s,manual:!0})}setQueriesData(t,n,s){return St.batch(()=>this.#e.findAll(t).map(({queryKey:r})=>[r,this.setQueryData(r,n,s)]))}getQueryState(t){const n=this.defaultQueryOptions({queryKey:t});return this.#e.get(n.queryHash)?.state}removeQueries(t){const n=this.#e;St.batch(()=>{n.findAll(t).forEach(s=>{n.remove(s)})})}resetQueries(t,n){const s=this.#e;return St.batch(()=>(s.findAll(t).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...t},n)))}cancelQueries(t,n={}){const s={revert:!0,...n},r=St.batch(()=>this.#e.findAll(t).map(i=>i.cancel(s)));return Promise.all(r).then(Zt).catch(Zt)}invalidateQueries(t,n={}){return St.batch(()=>(this.#e.findAll(t).forEach(s=>{s.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},n)))}refetchQueries(t,n={}){const s={...n,cancelRefetch:n.cancelRefetch??!0},r=St.batch(()=>this.#e.findAll(t).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let o=i.fetch(void 0,s);return s.throwOnError||(o=o.catch(Zt)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(Zt)}fetchQuery(t){const n=this.defaultQueryOptions(t);n.retry===void 0&&(n.retry=!1);const s=this.#e.build(this,n);return s.isStaleByTime(yc(n.staleTime,s))?s.fetch(n):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(Zt).catch(Zt)}fetchInfiniteQuery(t){return t.behavior=gh(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(Zt).catch(Zt)}ensureInfiniteQueryData(t){return t.behavior=gh(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return oa.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(t){this.#n=t}setQueryDefaults(t,n){this.#r.set(Oi(t),{queryKey:t,defaultOptions:n})}getQueryDefaults(t){const n=[...this.#r.values()],s={};return n.forEach(r=>{Ai(t,r.queryKey)&&Object.assign(s,r.defaultOptions)}),s}setMutationDefaults(t,n){this.#s.set(Oi(t),{mutationKey:t,defaultOptions:n})}getMutationDefaults(t){const n=[...this.#s.values()],s={};return n.forEach(r=>{Ai(t,r.mutationKey)&&Object.assign(s,r.defaultOptions)}),s}defaultQueryOptions(t){if(t._defaulted)return t;const n={...this.#n.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return n.queryHash||(n.queryHash=of(n.queryKey,n)),n.refetchOnReconnect===void 0&&(n.refetchOnReconnect=n.networkMode!=="always"),n.throwOnError===void 0&&(n.throwOnError=!!n.suspense),!n.networkMode&&n.persister&&(n.networkMode="offlineFirst"),n.queryFn===af&&(n.enabled=!1),n}defaultMutationOptions(t){return t?._defaulted?t:{...this.#n.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},jO="VUE_QUERY_CLIENT";function WO(e){const t=e?`:${e}`:"";return`${jO}${t}`}function NI(e,t){Object.keys(e).forEach(n=>{e[n]=t[n]})}function bc(e,t,n="",s=0){if(t){const r=t(e,n,s);if(r===void 0&&Ne(e)||r!==void 0)return r}if(Array.isArray(e))return e.map((r,i)=>bc(r,t,String(i),s+1));if(typeof e=="object"&&KO(e)){const r=Object.entries(e).map(([i,o])=>[i,bc(o,t,i,s+1)]);return Object.fromEntries(r)}return e}function GO(e,t){return bc(e,t)}function ce(e,t=!1){return GO(e,(n,s,r)=>{if(r===1&&s==="queryKey")return ce(n,!0);if(t&&qO(n))return ce(n(),t);if(Ne(n))return ce(Kt(n),t)})}function KO(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function qO(e){return typeof e=="function"}var XO=class extends iy{find(e){return super.find(ce(e))}findAll(e={}){return super.findAll(ce(e))}},QO=class extends ry{find(e){return super.find(ce(e))}findAll(e={}){return super.findAll(ce(e))}},YO=class extends BO{constructor(e={}){const t={defaultOptions:e.defaultOptions,queryCache:e.queryCache||new XO,mutationCache:e.mutationCache||new QO};super(t),this.isRestoring=it(!1)}isFetching(e={}){return super.isFetching(ce(e))}isMutating(e={}){return super.isMutating(ce(e))}getQueryData(e){return super.getQueryData(ce(e))}ensureQueryData(e){return super.ensureQueryData(ce(e))}getQueriesData(e){return super.getQueriesData(ce(e))}setQueryData(e,t,n={}){return super.setQueryData(ce(e),t,ce(n))}setQueriesData(e,t,n={}){return super.setQueriesData(ce(e),t,ce(n))}getQueryState(e){return super.getQueryState(ce(e))}removeQueries(e={}){return super.removeQueries(ce(e))}resetQueries(e={},t={}){return super.resetQueries(ce(e),ce(t))}cancelQueries(e={},t={}){return super.cancelQueries(ce(e),ce(t))}invalidateQueries(e={},t={}){const n=ce(e),s=ce(t);if(super.invalidateQueries({...n,refetchType:"none"},s),n.refetchType==="none")return Promise.resolve();const r={...n,type:n.refetchType??n.type??"active"};return Yt().then(()=>super.refetchQueries(r,s))}refetchQueries(e={},t={}){return super.refetchQueries(ce(e),ce(t))}fetchQuery(e){return super.fetchQuery(ce(e))}prefetchQuery(e){return super.prefetchQuery(ce(e))}fetchInfiniteQuery(e){return super.fetchInfiniteQuery(ce(e))}prefetchInfiniteQuery(e){return super.prefetchInfiniteQuery(ce(e))}setDefaultOptions(e){super.setDefaultOptions(ce(e))}setQueryDefaults(e,t){super.setQueryDefaults(ce(e),ce(t))}getQueryDefaults(e){return super.getQueryDefaults(ce(e))}setMutationDefaults(e,t){super.setMutationDefaults(ce(e),ce(t))}getMutationDefaults(e){return super.getMutationDefaults(ce(e))}},zO={install:(e,t={})=>{const n=WO(t.queryClientKey);let s;if("queryClient"in t&&t.queryClient)s=t.queryClient;else{const o="queryClientConfig"in t?t.queryClientConfig:void 0;s=new YO(o)}Yi||s.mount();let r=()=>{};if(t.clientPersister){s.isRestoring&&(s.isRestoring.value=!0);const[o,a]=t.clientPersister(s);r=o,a.then(()=>{s.isRestoring&&(s.isRestoring.value=!1),t.clientPersisterOnSuccess?.(s)})}const i=()=>{s.unmount(),r()};if(e.onUnmount)e.onUnmount(i);else{const o=e.unmount;e.unmount=function(){i(),o()}}e.provide(n,s)}};const JO=["top","right","bottom","left"],yh=["start","end"],vh=JO.reduce((e,t)=>e.concat(t,t+"-"+yh[0],t+"-"+yh[1]),[]),Ni=Math.min,Rs=Math.max,ZO={left:"right",right:"left",bottom:"top",top:"bottom"},eA={start:"end",end:"start"};function Tc(e,t,n){return Rs(e,Ni(t,n))}function nr(e,t){return typeof e=="function"?e(t):e}function wn(e){return e.split("-")[0]}function rn(e){return e.split("-")[1]}function oy(e){return e==="x"?"y":"x"}function lf(e){return e==="y"?"height":"width"}function Js(e){return["top","bottom"].includes(wn(e))?"y":"x"}function cf(e){return oy(Js(e))}function ay(e,t,n){n===void 0&&(n=!1);const s=rn(e),r=cf(e),i=lf(r);let o=r==="x"?s===(n?"end":"start")?"right":"left":s==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=la(o)),[o,la(o)]}function tA(e){const t=la(e);return[aa(e),t,aa(t)]}function aa(e){return e.replace(/start|end/g,t=>eA[t])}function nA(e,t,n){const s=["left","right"],r=["right","left"],i=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:s:t?s:r;case"left":case"right":return t?i:o;default:return[]}}function sA(e,t,n,s){const r=rn(e);let i=nA(wn(e),n==="start",s);return r&&(i=i.map(o=>o+"-"+r),t&&(i=i.concat(i.map(aa)))),i}function la(e){return e.replace(/left|right|bottom|top/g,t=>ZO[t])}function rA(e){return{top:0,right:0,bottom:0,left:0,...e}}function ly(e){return typeof e!="number"?rA(e):{top:e,right:e,bottom:e,left:e}}function Zr(e){const{x:t,y:n,width:s,height:r}=e;return{width:s,height:r,top:n,left:t,right:t+s,bottom:n+r,x:t,y:n}}function Eh(e,t,n){let{reference:s,floating:r}=e;const i=Js(t),o=cf(t),a=lf(o),l=wn(t),c=i==="y",u=s.x+s.width/2-r.width/2,f=s.y+s.height/2-r.height/2,h=s[a]/2-r[a]/2;let d;switch(l){case"top":d={x:u,y:s.y-r.height};break;case"bottom":d={x:u,y:s.y+s.height};break;case"right":d={x:s.x+s.width,y:f};break;case"left":d={x:s.x-r.width,y:f};break;default:d={x:s.x,y:s.y}}switch(rn(t)){case"start":d[o]-=h*(n&&c?-1:1);break;case"end":d[o]+=h*(n&&c?-1:1);break}return d}const iA=async(e,t,n)=>{const{placement:s="bottom",strategy:r="absolute",middleware:i=[],platform:o}=n,a=i.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(t));let c=await o.getElementRects({reference:e,floating:t,strategy:r}),{x:u,y:f}=Eh(c,s,l),h=s,d={},p=0;for(let m=0;m<a.length;m++){const{name:E,fn:g}=a[m],{x:v,y:_,data:y,reset:T}=await g({x:u,y:f,initialPlacement:s,placement:h,strategy:r,middlewareData:d,rects:c,platform:o,elements:{reference:e,floating:t}});u=v??u,f=_??f,d={...d,[E]:{...d[E],...y}},T&&p<=50&&(p++,typeof T=="object"&&(T.placement&&(h=T.placement),T.rects&&(c=T.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:r}):T.rects),{x:u,y:f}=Eh(c,h,l)),m=-1)}return{x:u,y:f,placement:h,strategy:r,middlewareData:d}};async function Za(e,t){var n;t===void 0&&(t={});const{x:s,y:r,platform:i,rects:o,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=nr(t,e),p=ly(d),E=a[h?f==="floating"?"reference":"floating":f],g=Zr(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(E)))==null||n?E:E.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),v=f==="floating"?{x:s,y:r,width:o.floating.width,height:o.floating.height}:o.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),y=await(i.isElement==null?void 0:i.isElement(_))?await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1}:{x:1,y:1},T=Zr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:_,strategy:l}):v);return{top:(g.top-T.top+p.top)/y.y,bottom:(T.bottom-g.bottom+p.bottom)/y.y,left:(g.left-T.left+p.left)/y.x,right:(T.right-g.right+p.right)/y.x}}const oA=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:s,placement:r,rects:i,platform:o,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=nr(e,t)||{};if(c==null)return{};const f=ly(u),h={x:n,y:s},d=cf(r),p=lf(d),m=await o.getDimensions(c),E=d==="y",g=E?"top":"left",v=E?"bottom":"right",_=E?"clientHeight":"clientWidth",y=i.reference[p]+i.reference[d]-h[d]-i.floating[p],T=h[d]-i.reference[d],O=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c));let A=O?O[_]:0;(!A||!await(o.isElement==null?void 0:o.isElement(O)))&&(A=a.floating[_]||i.floating[p]);const I=y/2-T/2,S=A/2-m[p]/2-1,P=Ni(f[g],S),x=Ni(f[v],S),R=P,$=A-m[p]-x,V=A/2-m[p]/2+I,K=Tc(R,V,$),j=!l.arrow&&rn(r)!=null&&V!==K&&i.reference[p]/2-(V<R?P:x)-m[p]/2<0,q=j?V<R?V-R:V-$:0;return{[d]:h[d]+q,data:{[d]:K,centerOffset:V-K-q,...j&&{alignmentOffset:q}},reset:j}}});function aA(e,t,n){return(e?[...n.filter(r=>rn(r)===e),...n.filter(r=>rn(r)!==e)]:n.filter(r=>wn(r)===r)).filter(r=>e?rn(r)===e||(t?aa(r)!==r:!1):!0)}const lA=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,s,r;const{rects:i,middlewareData:o,placement:a,platform:l,elements:c}=t,{crossAxis:u=!1,alignment:f,allowedPlacements:h=vh,autoAlignment:d=!0,...p}=nr(e,t),m=f!==void 0||h===vh?aA(f||null,d,h):h,E=await Za(t,p),g=((n=o.autoPlacement)==null?void 0:n.index)||0,v=m[g];if(v==null)return{};const _=ay(v,i,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==v)return{reset:{placement:m[0]}};const y=[E[wn(v)],E[_[0]],E[_[1]]],T=[...((s=o.autoPlacement)==null?void 0:s.overflows)||[],{placement:v,overflows:y}],O=m[g+1];if(O)return{data:{index:g+1,overflows:T},reset:{placement:O}};const A=T.map(P=>{const x=rn(P.placement);return[P.placement,x&&u?P.overflows.slice(0,2).reduce((R,$)=>R+$,0):P.overflows[0],P.overflows]}).sort((P,x)=>P[1]-x[1]),S=((r=A.filter(P=>P[2].slice(0,rn(P[0])?2:3).every(x=>x<=0))[0])==null?void 0:r[0])||A[0][0];return S!==a?{data:{index:g+1,overflows:T},reset:{placement:S}}:{}}}},cA=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,s;const{placement:r,middlewareData:i,rects:o,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...E}=nr(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const g=wn(r),v=Js(a),_=wn(a)===a,y=await(l.isRTL==null?void 0:l.isRTL(c.floating)),T=h||(_||!m?[la(a)]:tA(a)),O=p!=="none";!h&&O&&T.push(...sA(a,m,p,y));const A=[a,...T],I=await Za(t,E),S=[];let P=((s=i.flip)==null?void 0:s.overflows)||[];if(u&&S.push(I[g]),f){const V=ay(r,o,y);S.push(I[V[0]],I[V[1]])}if(P=[...P,{placement:r,overflows:S}],!S.every(V=>V<=0)){var x,R;const V=(((x=i.flip)==null?void 0:x.index)||0)+1,K=A[V];if(K)return{data:{index:V,overflows:P},reset:{placement:K}};let j=(R=P.filter(q=>q.overflows[0]<=0).sort((q,G)=>q.overflows[1]-G.overflows[1])[0])==null?void 0:R.placement;if(!j)switch(d){case"bestFit":{var $;const q=($=P.filter(G=>{if(O){const ee=Js(G.placement);return ee===v||ee==="y"}return!0}).map(G=>[G.placement,G.overflows.filter(ee=>ee>0).reduce((ee,we)=>ee+we,0)]).sort((G,ee)=>G[1]-ee[1])[0])==null?void 0:$[0];q&&(j=q);break}case"initialPlacement":j=a;break}if(r!==j)return{reset:{placement:j}}}return{}}}};async function uA(e,t){const{placement:n,platform:s,elements:r}=e,i=await(s.isRTL==null?void 0:s.isRTL(r.floating)),o=wn(n),a=rn(n),l=Js(n)==="y",c=["left","top"].includes(o)?-1:1,u=i&&l?-1:1,f=nr(t,e);let{mainAxis:h,crossAxis:d,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof p=="number"&&(d=a==="end"?p*-1:p),l?{x:d*u,y:h*c}:{x:h*c,y:d*u}}const fA=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,s;const{x:r,y:i,placement:o,middlewareData:a}=t,l=await uA(t,e);return o===((n=a.offset)==null?void 0:n.placement)&&(s=a.arrow)!=null&&s.alignmentOffset?{}:{x:r+l.x,y:i+l.y,data:{...l,placement:o}}}}},dA=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:s,placement:r}=t,{mainAxis:i=!0,crossAxis:o=!1,limiter:a={fn:E=>{let{x:g,y:v}=E;return{x:g,y:v}}},...l}=nr(e,t),c={x:n,y:s},u=await Za(t,l),f=Js(wn(r)),h=oy(f);let d=c[h],p=c[f];if(i){const E=h==="y"?"top":"left",g=h==="y"?"bottom":"right",v=d+u[E],_=d-u[g];d=Tc(v,d,_)}if(o){const E=f==="y"?"top":"left",g=f==="y"?"bottom":"right",v=p+u[E],_=p-u[g];p=Tc(v,p,_)}const m=a.fn({...t,[h]:d,[f]:p});return{...m,data:{x:m.x-n,y:m.y-s,enabled:{[h]:i,[f]:o}}}}}},hA=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,s;const{placement:r,rects:i,platform:o,elements:a}=t,{apply:l=()=>{},...c}=nr(e,t),u=await Za(t,c),f=wn(r),h=rn(r),d=Js(r)==="y",{width:p,height:m}=i.floating;let E,g;f==="top"||f==="bottom"?(E=f,g=h===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(g=f,E=h==="end"?"top":"bottom");const v=m-u.top-u.bottom,_=p-u.left-u.right,y=Ni(m-u[E],v),T=Ni(p-u[g],_),O=!t.middlewareData.shift;let A=y,I=T;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(I=_),(s=t.middlewareData.shift)!=null&&s.enabled.y&&(A=v),O&&!h){const P=Rs(u.left,0),x=Rs(u.right,0),R=Rs(u.top,0),$=Rs(u.bottom,0);d?I=p-2*(P!==0||x!==0?P+x:Rs(u.left,u.right)):A=m-2*(R!==0||$!==0?R+$:Rs(u.top,u.bottom))}await l({...t,availableWidth:I,availableHeight:A});const S=await o.getDimensions(a.floating);return p!==S.width||m!==S.height?{reset:{rects:!0}}:{}}}};function Gt(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function En(e){return Gt(e).getComputedStyle(e)}const bh=Math.min,ei=Math.max,ca=Math.round;function cy(e){const t=En(e);let n=parseFloat(t.width),s=parseFloat(t.height);const r=e.offsetWidth,i=e.offsetHeight,o=ca(n)!==r||ca(s)!==i;return o&&(n=r,s=i),{width:n,height:s,fallback:o}}function Es(e){return fy(e)?(e.nodeName||"").toLowerCase():""}let _o;function uy(){if(_o)return _o;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(_o=e.brands.map((t=>t.brand+"/"+t.version)).join(" "),_o):navigator.userAgent}function bn(e){return e instanceof Gt(e).HTMLElement}function gs(e){return e instanceof Gt(e).Element}function fy(e){return e instanceof Gt(e).Node}function Th(e){return typeof ShadowRoot>"u"?!1:e instanceof Gt(e).ShadowRoot||e instanceof ShadowRoot}function el(e){const{overflow:t,overflowX:n,overflowY:s,display:r}=En(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+n)&&!["inline","contents"].includes(r)}function pA(e){return["table","td","th"].includes(Es(e))}function Sc(e){const t=/firefox/i.test(uy()),n=En(e),s=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!s&&s!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some((r=>n.willChange.includes(r)))||["paint","layout","strict","content"].some((r=>{const i=n.contain;return i!=null&&i.includes(r)}))}function dy(){return!/^((?!chrome|android).)*safari/i.test(uy())}function uf(e){return["html","body","#document"].includes(Es(e))}function hy(e){return gs(e)?e:e.contextElement}const py={x:1,y:1};function mr(e){const t=hy(e);if(!bn(t))return py;const n=t.getBoundingClientRect(),{width:s,height:r,fallback:i}=cy(t);let o=(i?ca(n.width):n.width)/s,a=(i?ca(n.height):n.height)/r;return o&&Number.isFinite(o)||(o=1),a&&Number.isFinite(a)||(a=1),{x:o,y:a}}function Pi(e,t,n,s){var r,i;t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),a=hy(e);let l=py;t&&(s?gs(s)&&(l=mr(s)):l=mr(e));const c=a?Gt(a):window,u=!dy()&&n;let f=(o.left+(u&&((r=c.visualViewport)==null?void 0:r.offsetLeft)||0))/l.x,h=(o.top+(u&&((i=c.visualViewport)==null?void 0:i.offsetTop)||0))/l.y,d=o.width/l.x,p=o.height/l.y;if(a){const m=Gt(a),E=s&&gs(s)?Gt(s):s;let g=m.frameElement;for(;g&&s&&E!==m;){const v=mr(g),_=g.getBoundingClientRect(),y=getComputedStyle(g);_.x+=(g.clientLeft+parseFloat(y.paddingLeft))*v.x,_.y+=(g.clientTop+parseFloat(y.paddingTop))*v.y,f*=v.x,h*=v.y,d*=v.x,p*=v.y,f+=_.x,h+=_.y,g=Gt(g).frameElement}}return{width:d,height:p,top:h,right:f+d,bottom:h+p,left:f,x:f,y:h}}function _s(e){return((fy(e)?e.ownerDocument:e.document)||window.document).documentElement}function tl(e){return gs(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function my(e){return Pi(_s(e)).left+tl(e).scrollLeft}function Ii(e){if(Es(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Th(e)&&e.host||_s(e);return Th(t)?t.host:t}function gy(e){const t=Ii(e);return uf(t)?t.ownerDocument.body:bn(t)&&el(t)?t:gy(t)}function ua(e,t){var n;t===void 0&&(t=[]);const s=gy(e),r=s===((n=e.ownerDocument)==null?void 0:n.body),i=Gt(s);return r?t.concat(i,i.visualViewport||[],el(s)?s:[]):t.concat(s,ua(s))}function Sh(e,t,n){return t==="viewport"?Zr((function(s,r){const i=Gt(s),o=_s(s),a=i.visualViewport;let l=o.clientWidth,c=o.clientHeight,u=0,f=0;if(a){l=a.width,c=a.height;const h=dy();(h||!h&&r==="fixed")&&(u=a.offsetLeft,f=a.offsetTop)}return{width:l,height:c,x:u,y:f}})(e,n)):gs(t)?Zr((function(s,r){const i=Pi(s,!0,r==="fixed"),o=i.top+s.clientTop,a=i.left+s.clientLeft,l=bn(s)?mr(s):{x:1,y:1};return{width:s.clientWidth*l.x,height:s.clientHeight*l.y,x:a*l.x,y:o*l.y}})(t,n)):Zr((function(s){const r=_s(s),i=tl(s),o=s.ownerDocument.body,a=ei(r.scrollWidth,r.clientWidth,o.scrollWidth,o.clientWidth),l=ei(r.scrollHeight,r.clientHeight,o.scrollHeight,o.clientHeight);let c=-i.scrollLeft+my(s);const u=-i.scrollTop;return En(o).direction==="rtl"&&(c+=ei(r.clientWidth,o.clientWidth)-a),{width:a,height:l,x:c,y:u}})(_s(e)))}function wh(e){return bn(e)&&En(e).position!=="fixed"?e.offsetParent:null}function Ch(e){const t=Gt(e);let n=wh(e);for(;n&&pA(n)&&En(n).position==="static";)n=wh(n);return n&&(Es(n)==="html"||Es(n)==="body"&&En(n).position==="static"&&!Sc(n))?t:n||(function(s){let r=Ii(s);for(;bn(r)&&!uf(r);){if(Sc(r))return r;r=Ii(r)}return null})(e)||t}function mA(e,t,n){const s=bn(t),r=_s(t),i=Pi(e,!0,n==="fixed",t);let o={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(s||!s&&n!=="fixed")if((Es(t)!=="body"||el(r))&&(o=tl(t)),bn(t)){const l=Pi(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else r&&(a.x=my(r));return{x:i.left+o.scrollLeft-a.x,y:i.top+o.scrollTop-a.y,width:i.width,height:i.height}}const gA={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:s,strategy:r}=e;const i=n==="clippingAncestors"?(function(c,u){const f=u.get(c);if(f)return f;let h=ua(c).filter((E=>gs(E)&&Es(E)!=="body")),d=null;const p=En(c).position==="fixed";let m=p?Ii(c):c;for(;gs(m)&&!uf(m);){const E=En(m),g=Sc(m);(p?g||d:g||E.position!=="static"||!d||!["absolute","fixed"].includes(d.position))?d=E:h=h.filter((v=>v!==m)),m=Ii(m)}return u.set(c,h),h})(t,this._c):[].concat(n),o=[...i,s],a=o[0],l=o.reduce(((c,u)=>{const f=Sh(t,u,r);return c.top=ei(f.top,c.top),c.right=bh(f.right,c.right),c.bottom=bh(f.bottom,c.bottom),c.left=ei(f.left,c.left),c}),Sh(t,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:s}=e;const r=bn(n),i=_s(n);if(n===i)return t;let o={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((r||!r&&s!=="fixed")&&((Es(n)!=="body"||el(i))&&(o=tl(n)),bn(n))){const c=Pi(n);a=mr(n),l.x=c.x+n.clientLeft,l.y=c.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-o.scrollLeft*a.x+l.x,y:t.y*a.y-o.scrollTop*a.y+l.y}},isElement:gs,getDimensions:function(e){return bn(e)?cy(e):e.getBoundingClientRect()},getOffsetParent:Ch,getDocumentElement:_s,getScale:mr,async getElementRects(e){let{reference:t,floating:n,strategy:s}=e;const r=this.getOffsetParent||Ch,i=this.getDimensions;return{reference:mA(t,await r(n),s),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>En(e).direction==="rtl"},_A=(e,t,n)=>{const s=new Map,r={platform:gA,...n},i={...r.platform,_c:s};return iA(e,t,{...r,platform:i})};function _y(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?_y(e[n],t[n]):e[n]=t[n])}const on={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function Ri(e,t){let n=on.themes[e]||{},s;do s=n[t],typeof s>"u"?n.$extend?n=on.themes[n.$extend]||{}:(n=null,s=on[t]):n=null;while(n);return s}function yA(e){const t=[e];let n=on.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=on.themes[n.$extend]||{}):n=null;while(n);return t.map(s=>`v-popper--theme-${s}`)}function Oh(e){const t=[e];let n=on.themes[e]||{};do n.$extend?(t.push(n.$extend),n=on.themes[n.$extend]||{}):n=null;while(n);return t}let Ir=!1;if(typeof window<"u"){Ir=!1;try{const e=Object.defineProperty({},"passive",{get(){Ir=!0}});window.addEventListener("test",null,e)}catch{}}let yy=!1;typeof window<"u"&&typeof navigator<"u"&&(yy=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const vy=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Ah={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Nh={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Ph(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function Ol(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const tn=[];let Ps=null;const Ih={};function Rh(e){let t=Ih[e];return t||(t=Ih[e]=[]),t}let wc=function(){};typeof window<"u"&&(wc=window.Element);function ge(e){return function(t){return Ri(t.theme,e)}}const Al="__floating-vue__popper",Ey=()=>Dt({name:"VPopper",provide(){return{[Al]:{parentPopper:this}}},inject:{[Al]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:ge("disabled")},positioningDisabled:{type:Boolean,default:ge("positioningDisabled")},placement:{type:String,default:ge("placement"),validator:e=>vy.includes(e)},delay:{type:[String,Number,Object],default:ge("delay")},distance:{type:[Number,String],default:ge("distance")},skidding:{type:[Number,String],default:ge("skidding")},triggers:{type:Array,default:ge("triggers")},showTriggers:{type:[Array,Function],default:ge("showTriggers")},hideTriggers:{type:[Array,Function],default:ge("hideTriggers")},popperTriggers:{type:Array,default:ge("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:ge("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:ge("popperHideTriggers")},container:{type:[String,Object,wc,Boolean],default:ge("container")},boundary:{type:[String,wc],default:ge("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:ge("strategy")},autoHide:{type:[Boolean,Function],default:ge("autoHide")},handleResize:{type:Boolean,default:ge("handleResize")},instantMove:{type:Boolean,default:ge("instantMove")},eagerMount:{type:Boolean,default:ge("eagerMount")},popperClass:{type:[String,Array,Object],default:ge("popperClass")},computeTransformOrigin:{type:Boolean,default:ge("computeTransformOrigin")},autoMinSize:{type:Boolean,default:ge("autoMinSize")},autoSize:{type:[Boolean,String],default:ge("autoSize")},autoMaxSize:{type:Boolean,default:ge("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:ge("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:ge("preventOverflow")},overflowPadding:{type:[Number,String],default:ge("overflowPadding")},arrowPadding:{type:[Number,String],default:ge("arrowPadding")},arrowOverflow:{type:Boolean,default:ge("arrowOverflow")},flip:{type:Boolean,default:ge("flip")},shift:{type:Boolean,default:ge("shift")},shiftCrossAxis:{type:Boolean,default:ge("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:ge("noAutoFocus")},disposeTimeout:{type:Number,default:ge("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Al])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var s,r;(s=this.parentPopper)!=null&&s.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(fA({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(lA({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(dA({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(cA({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(oA({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:s,rects:r,middlewareData:i})=>{let o;const{centerOffset:a}=i.arrow;return s.startsWith("top")||s.startsWith("bottom")?o=Math.abs(a)>r.reference.width/2:o=Math.abs(a)>r.reference.height/2,{data:{overflow:o}}}}),this.autoMinSize||this.autoSize){const s=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:r,placement:i,middlewareData:o})=>{var a;if((a=o.autoSize)!=null&&a.skip)return{};let l,c;return i.startsWith("top")||i.startsWith("bottom")?l=r.reference.width:c=r.reference.height,this.$_innerNode.style[s==="min"?"minWidth":s==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[s==="min"?"minHeight":s==="max"?"maxHeight":"height"]=c!=null?`${c}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(hA({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:s,availableHeight:r})=>{this.$_innerNode.style.maxWidth=s!=null?`${s}px`:null,this.$_innerNode.style.maxHeight=r!=null?`${r}px`:null}})));const n=await _A(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Ps&&this.instantMove&&Ps.instantMove&&Ps!==this.parentPopper){Ps.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Ps=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Ol(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...ua(this.$_referenceNode),...ua(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),s=n.parentNode.getBoundingClientRect(),r=t.x+t.width/2-(s.left+n.offsetLeft),i=t.y+t.height/2-(s.top+n.offsetTop);this.result.transformOrigin=`${r}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<tn.length;n++)t=tn[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}tn.push(this),document.body.classList.add("v-popper--some-open");for(const t of Oh(this.theme))Rh(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Ol(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Ph(tn,this),tn.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Oh(this.theme)){const s=Rh(n);Ph(s,this),s.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Ps===this&&(Ps=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Ol(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,Ah,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Ah,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,Nh,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Nh,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(s=>s.addEventListener(t,n,Ir?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,s,r){let i=n;s!=null&&(i=typeof s=="function"?s(i):s),i.forEach(o=>{const a=t[o];a&&this.$_registerEventListeners(e,a,r)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:s,eventType:r,handler:i}=n;!e||e===r?s.forEach(o=>o.removeEventListener(r,i)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const s=n.getAttribute(e);s&&(n.removeAttribute(e),n.setAttribute(t,s))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const s=e[n];s==null?t.removeAttribute(n):t.setAttribute(n,s)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(ti>=e.left&&ti<=e.right&&ni>=e.top&&ni<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=ti-is,s=ni-os,r=t.left+t.width/2-is+(t.top+t.height/2)-os+t.width+t.height,i=is+n*r,o=os+s*r;return yo(is,os,i,o,t.left,t.top,t.left,t.bottom)||yo(is,os,i,o,t.left,t.top,t.right,t.top)||yo(is,os,i,o,t.right,t.top,t.right,t.bottom)||yo(is,os,i,o,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(yy){const e=Ir?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>Lh(t,!0),e),document.addEventListener("touchend",t=>Mh(t,!0),e)}else window.addEventListener("mousedown",e=>Lh(e,!1),!0),window.addEventListener("click",e=>Mh(e,!1),!0);window.addEventListener("resize",EA)}function Lh(e,t){if(on.autoHideOnMousedown)by(e,t);else for(let n=0;n<tn.length;n++){const s=tn[n];try{s.mouseDownContains=s.popperNode().contains(e.target)}catch{}}}function Mh(e,t){on.autoHideOnMousedown||by(e,t)}function by(e,t){const n={};for(let s=tn.length-1;s>=0;s--){const r=tn[s];try{const i=r.containsGlobalTarget=r.mouseDownContains||r.popperNode().contains(e.target);r.pendingHide=!1,requestAnimationFrame(()=>{if(r.pendingHide=!1,!n[r.randomId]&&xh(r,i,e)){if(r.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&i){let a=r.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let o=r.parentPopper;for(;o&&xh(o,o.containsGlobalTarget,e);)o.$_handleGlobalClose(e,t),o=o.parentPopper}})}catch{}}}function xh(e,t,n){return n.closeAllPopover||n.closePopover&&t||vA(e,n)&&!t}function vA(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function EA(){for(let e=0;e<tn.length;e++)tn[e].$_computePosition()}let is=0,os=0,ti=0,ni=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{is=ti,os=ni,ti=e.clientX,ni=e.clientY},Ir?{passive:!0}:void 0);function yo(e,t,n,s,r,i,o,a){const l=((o-r)*(t-i)-(a-i)*(e-r))/((a-i)*(n-e)-(o-r)*(s-t)),c=((n-e)*(t-i)-(s-t)*(e-r))/((a-i)*(n-e)-(o-r)*(s-t));return l>=0&&l<=1&&c>=0&&c<=1}const bA={extends:Ey()},nl=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};function TA(e,t,n,s,r,i){return Ot(),Er("div",{ref:"reference",class:Jn(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[pi(e.$slots,"default",Wc(yu(e.slotData)))],2)}const SA=nl(bA,[["render",TA]]);function wA(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var s=e.indexOf("rv:");return parseInt(e.substring(s+3,e.indexOf(".",s)),10)}var r=e.indexOf("Edge/");return r>0?parseInt(e.substring(r+5,e.indexOf(".",r)),10):-1}let xo;function Cc(){Cc.init||(Cc.init=!0,xo=wA()!==-1)}var sl={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Cc(),Yt(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",xo&&this.$el.appendChild(e),e.data="about:blank",xo||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!xo&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const CA=vm();_m("data-v-b329ee4c");const OA={class:"resize-observer",tabindex:"-1"};ym();const AA=CA((e,t,n,s,r,i)=>(Ot(),Qn("div",OA)));sl.render=AA;sl.__scopeId="data-v-b329ee4c";sl.__file="src/components/ResizeObserver.vue";const Ty=(e="theme")=>({computed:{themeClass(){return yA(this[e])}}}),NA=Dt({name:"VPopperContent",components:{ResizeObserver:sl},mixins:[Ty()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),PA=["id","aria-hidden","tabindex","data-popper-placement"],IA={ref:"inner",class:"v-popper__inner"},RA=_n("div",{class:"v-popper__arrow-outer"},null,-1),LA=_n("div",{class:"v-popper__arrow-inner"},null,-1),MA=[RA,LA];function xA(e,t,n,s,r,i){const o=Gs("ResizeObserver");return Ot(),Er("div",{id:e.popperId,ref:"popover",class:Jn(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:$n(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=Mg(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[_n("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),_n("div",{class:"v-popper__wrapper",style:$n(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[_n("div",IA,[e.mounted?(Ot(),Er(Ge,{key:0},[_n("div",null,[pi(e.$slots,"default")]),e.handleResize?(Ot(),Qn(o,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Jl("",!0)],64)):Jl("",!0)],512),_n("div",{ref:"arrow",class:"v-popper__arrow-container",style:$n(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},MA,4)],4)],46,PA)}const Sy=nl(NA,[["render",xA]]),wy={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let Oc=function(){};typeof window<"u"&&(Oc=window.Element);const DA=Dt({name:"VPopperWrapper",components:{Popper:SA,PopperContent:Sy},mixins:[wy,Ty("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Oc,Boolean],default:void 0},boundary:{type:[String,Oc],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function kA(e,t,n,s,r,i){const o=Gs("PopperContent"),a=Gs("Popper");return Ot(),Qn(a,La({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=l=>e.$emit("update:shown",l)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:Ws(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:h,show:d,hide:p,handleResize:m,onResize:E,classes:g,result:v})=>[pi(e.$slots,"default",{shown:c,show:d,hide:p}),Re(o,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":h,"handle-resize":m,classes:g,result:v,onHide:p,onResize:E},{default:Ws(()=>[pi(e.$slots,"popper",{shown:c,hide:p})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const ff=nl(DA,[["render",kA]]),FA={...ff,name:"VDropdown",vPopperTheme:"dropdown"},$A={...ff,name:"VMenu",vPopperTheme:"menu"},VA={...ff,name:"VTooltip",vPopperTheme:"tooltip"},HA=Dt({name:"VTooltipDirective",components:{Popper:Ey(),PopperContent:Sy},mixins:[wy],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Ri(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Ri(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(s=>this.onResult(t,s)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),UA=["innerHTML"],BA=["textContent"];function jA(e,t,n,s,r,i){const o=Gs("PopperContent"),a=Gs("Popper");return Ot(),Qn(a,La({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:Ws(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:h,hide:d,handleResize:p,onResize:m,classes:E,result:g})=>[Re(o,{ref:"popperContent",class:Jn({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":h,"handle-resize":p,classes:E,result:g,onHide:d,onResize:m},{default:Ws(()=>[e.html?(Ot(),Er("div",{key:0,innerHTML:e.finalContent},null,8,UA)):(Ot(),Er("div",{key:1,textContent:Ea(e.finalContent)},null,8,BA))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const WA=nl(HA,[["render",jA]]),Cy="v-popper--has-tooltip";function GA(e,t){let n=e.placement;if(!n&&t)for(const s of vy)t[s]&&(n=s);return n||(n=Ri(e.theme||"tooltip","placement")),n}function Oy(e,t,n){let s;const r=typeof t;return r==="string"?s={content:t}:t&&r==="object"?s=t:s={content:!1},s.placement=GA(s,n),s.targetNodes=()=>[e],s.referenceNode=()=>e,s}let Nl,Li,KA=0;function qA(){if(Nl)return;Li=it([]),Nl=yi({name:"VTooltipDirectiveApp",setup(){return{directives:Li}},render(){return this.directives.map(t=>tr(WA,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),Nl.mount(e)}function XA(e,t,n){qA();const s=it(Oy(e,t,n)),r=it(!1),i={id:KA++,options:s,shown:r};return Li.value.push(i),e.classList&&e.classList.add(Cy),e.$_popper={options:s,item:i,show(){r.value=!0},hide(){r.value=!1}}}function Ay(e){if(e.$_popper){const t=Li.value.indexOf(e.$_popper.item);t!==-1&&Li.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Cy)}function Dh(e,{value:t,modifiers:n}){const s=Oy(e,t,n);if(!s.content||Ri(s.theme||"tooltip","disabled"))Ay(e);else{let r;e.$_popper?(r=e.$_popper,r.options.value=s):r=XA(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?r.show():r.hide())}}const QA={beforeMount:Dh,updated:Dh,beforeUnmount(e){Ay(e)}};function kh(e){e.addEventListener("mousedown",fa),e.addEventListener("click",fa),e.addEventListener("touchstart",Ny,Ir?{passive:!0}:!1)}function Fh(e){e.removeEventListener("mousedown",fa),e.removeEventListener("click",fa),e.removeEventListener("touchstart",Ny),e.removeEventListener("touchend",Py),e.removeEventListener("touchcancel",Iy)}function fa(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Ny(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",Py),t.addEventListener("touchcancel",Iy)}}function Py(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],s=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-s.screenY)<20&&Math.abs(n.screenX-s.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function Iy(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const YA={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&kh(e)},updated(e,{value:t,oldValue:n,modifiers:s}){e.$_closePopoverModifiers=s,t!==n&&(typeof t>"u"||t?kh(e):Fh(e))},beforeUnmount(e){Fh(e)}};function zA(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,_y(on,t),e.directive("tooltip",QA),e.directive("close-popper",YA),e.component("VTooltip",VA),e.component("VDropdown",FA),e.component("VMenu",$A))}const JA={version:"5.2.2",install:zA,options:on},ZA=e=>{const t={};Object.entries(Object.assign({"/src/layouts/board-layout.vue":()=>It(()=>import("./board-layout-DsAzNDS1.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),"/src/layouts/default.vue":()=>It(()=>import("./default-ajdljrE8.js"),__vite__mapDeps([7,1,2,3,4,5,6]),import.meta.url),"/src/layouts/headless.vue":()=>It(()=>import("./headless-BvbruiUg.js"),__vite__mapDeps([8,5]),import.meta.url),"/src/layouts/index-layout.vue":()=>It(()=>import("./index-layout-6DOGqUls.js"),__vite__mapDeps([9,1,2,3,4,5,6]),import.meta.url)})).forEach(([r,i])=>{let o=r.replace("/src/layouts/","").replace(".vue","");t[o]=i});function s(r,i=!0){return r.map(o=>{if(o.children?.length>0&&(o.children=s(o.children,!1)),i){if(!o.component&&o.children?.find(l=>(l.path===""||l.path==="/")&&l.meta?.isLayout))return o;if(o.meta?.layout!==!1)return{path:o.path,component:t[o.meta?.layout||"default"],children:o.path==="/"?[o]:[{...o,path:""}],meta:{isLayout:!0}}}return o.meta?.layout?{path:o.path,component:t[o.meta?.layout],children:[{...o,path:""}],meta:{isLayout:!0}}:o})}return s(e)},eN=new Set(["link","style","script","noscript"]),tN=new Set(["title","titleTemplate","script","style","noscript"]),$h=new Set(["base","meta","link","style","script","noscript"]),nN=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),sN=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),rN=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),iN=new Set(["templateParams","htmlAttrs","bodyAttrs"]),oN=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),aN=["name","property","http-equiv"],lN=new Set(["viewport","description","keywords","robots"]);function Ry(e){const t=e.split(":");return t.length?oN.has(t[1]):!1}function Ac(e){const{props:t,tag:n}=e;if(sN.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const s of aN)if(t[s]!==void 0){const r=t[s],i=r.includes(":"),o=lN.has(r),l=!(i||o)&&e.key?`:key:${e.key}`:"";return`${n}:${r}${l}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(tN.has(n)){const s=e.textContent||e.innerHTML;if(s)return`${n}:content:${s}`}}function Vh(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([s,r])=>`${s}:${String(r)}`).join(",")}`}function da(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());let r;if(t&&(r=t(n,e)),Array.isArray(r))return r.map(i=>da(i,t));if(r?.constructor===Object){const i={};for(const o of Object.keys(r))i[o]=da(r[o],t,o);return i}return r}function cN(e,t){const n=e==="style"?new Map:new Set;function s(r){const i=r.trim();if(i)if(e==="style"){const[o,...a]=i.split(":").map(l=>l.trim());o&&a.length&&n.set(o,a.join(":"))}else i.split(" ").filter(Boolean).forEach(o=>n.add(o))}return typeof t=="string"?e==="style"?t.split(";").forEach(s):s(t):Array.isArray(t)?t.forEach(r=>s(r)):t&&typeof t=="object"&&Object.entries(t).forEach(([r,i])=>{i&&i!=="false"&&(e==="style"?n.set(r.trim(),i):s(r))}),n}function Ly(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([n,s])=>{if(s===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=cN(n,s);return}if(rN.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof s=="object"){let o=t.type;if(t.type||(o="application/json"),!o?.endsWith("json")&&o!=="speculationrules")return;t.type=o,e.props.type=o,e[n]=JSON.stringify(s)}else e[n]=s;return}const r=String(s),i=n.startsWith("data-");r==="true"||r===""?e.props[n]=i?r:!0:!s&&i&&r==="false"?e.props[n]="false":s!==void 0&&(e.props[n]=s)}),e):e}function uN(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},s=Ly({tag:e,props:{}},n);return s.key&&eN.has(s.tag)&&(s.props["data-hid"]=s._h=s.key),s.tag==="script"&&typeof s.innerHTML=="object"&&(s.innerHTML=JSON.stringify(s.innerHTML),s.props.type=s.props.type||"application/json"),Array.isArray(s.props.content)?s.props.content.map(r=>({...s,props:{...s.props,content:r}})):s}function fN(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(r,i)=>{for(let o=0;o<t.length;o++)i=t[o](r,i);return i};e=n(void 0,e);const s=[];return e=da(e,n),Object.entries(e||{}).forEach(([r,i])=>{if(i!==void 0)for(const o of Array.isArray(i)?i:[i])s.push(uN(r,o))}),s.flat()}const Hh=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Uh={base:-10,title:10},dN={critical:-8,high:-1,low:2},Bh={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}},hN=/@import/,Br=e=>e===""||e===!0;function pN(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const s=dN[t.tagPriority]||0,r=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Bh;if(t.tag in Uh)n=Uh[t.tag];else if(t.tag==="meta"){const i=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;i&&(n=Bh.meta[i])}else t.tag==="link"&&t.props.rel?n=r.link[t.props.rel]:t.tag==="script"?Br(t.props.async)?n=r.script.async:t.props.src&&!Br(t.props.defer)&&!Br(t.props.async)&&t.props.type!=="module"&&!t.props.type?.endsWith("json")?n=r.script.sync:Br(t.props.defer)&&t.props.src&&!Br(t.props.async)&&(n=r.script.defer):t.tag==="style"&&(n=t.innerHTML&&hN.test(t.innerHTML)?r.style.imported:r.style.sync);return(n||100)+s}function jh(e,t){const n=typeof t=="function"?t(e):t,s=n.key||String(e.plugins.size+1);e.plugins.get(s)||(e.plugins.set(s,n),e.hooks.addHooks(n.hooks||{}))}function mN(e={}){const t=dw();t.addHooks(e.hooks||{});const n=!e.document,s=new Map,r=new Map,i=new Set,o={_entryCount:1,plugins:r,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:s,headEntries(){return[...s.values()]},use:a=>jh(o,a),push(a,l){const c={...l||{}};delete c.head;const u=c._index??o._entryCount++,f={_i:u,input:a,options:c},h={_poll(d=!1){o.dirty=!0,!d&&i.add(u),t.callHook("entries:updated",o)},dispose(){s.delete(u)&&o.invalidate()},patch(d){(!c.mode||c.mode==="server"&&n||c.mode==="client"&&!n)&&(f.input=d,s.set(u,f),h._poll())}};return h.patch(a),h},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await t.callHook("entries:resolve",a);i.size;){const h=i.values().next().value;i.delete(h);const d=s.get(h);if(d){const p={tags:fN(d.input,e.propResolvers||[]).map(m=>Object.assign(m,d.options)),entry:d};await t.callHook("entries:normalize",p),d._tags=p.tags.map((m,E)=>(m._w=pN(o,m),m._p=(d._i<<10)+E,m._d=Ac(m),m))}}let l=!1;a.entries.flatMap(h=>(h._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(Hh).reduce((h,d)=>{const p=String(d._d||d._p);if(!h.has(p))return h.set(p,d);const m=h.get(p);if((d?.tagDuplicateStrategy||(iN.has(d.tag)?"merge":null)||(d.key&&d.key===m.key?"merge":null))==="merge"){const g={...m.props};Object.entries(d.props).forEach(([v,_])=>g[v]=v==="style"?new Map([...m.props.style||new Map,..._]):v==="class"?new Set([...m.props.class||new Set,..._]):_),h.set(p,{...d,props:g})}else d._p>>10===m._p>>10&&d.tag==="meta"&&Ry(p)?(h.set(p,Object.assign([...Array.isArray(m)?m:[m],d],d)),l=!0):(d._w===m._w?d._p>m._p:d?._w<m?._w)&&h.set(p,d);return h},a.tagMap);const c=a.tagMap.get("title"),u=a.tagMap.get("titleTemplate");if(o._title=c?.textContent,u){const h=u?.textContent;if(o._titleTemplate=h,h){let d=typeof h=="function"?h(c?.textContent):h;typeof d=="string"&&!o.plugins.has("template-params")&&(d=d.replace("%s",c?.textContent||"")),c?d===null?a.tagMap.delete("title"):a.tagMap.set("title",{...c,textContent:d}):(u.tag="title",u.textContent=d)}}a.tags=Array.from(a.tagMap.values()),l&&(a.tags=a.tags.flat().sort(Hh)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const f=[];for(const h of a.tags){const{innerHTML:d,tag:p,props:m}=h;if(nN.has(p)&&!(Object.keys(m).length===0&&!h.innerHTML&&!h.textContent)&&!(p==="meta"&&!m.content&&!m["http-equiv"]&&!m.charset)){if(p==="script"&&d){if(m.type?.endsWith("json")){const E=typeof d=="string"?d:JSON.stringify(d);h.innerHTML=E.replace(/</g,"\\u003C")}else typeof d=="string"&&(h.innerHTML=d.replace(new RegExp(`</${p}`,"g"),`<\\/${p}`));h._d=Ac(h)}f.push(h)}}return f},invalidate(){for(const a of s.values())i.add(a._i);o.dirty=!0,t.callHook("entries:updated",o)}};return(e?.plugins||[]).forEach(a=>jh(o,a)),o.hooks.callHook("init",o),e.init?.forEach(a=>a&&o.push(a)),o}async function My(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const s={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",s),!!s.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async r=>{const i=new Map,o=new Promise(d=>{e.resolveTags().then(p=>{d(p.map(m=>{const E=i.get(m._d)||0,g={tag:m,id:(E?`${m._d}:${E}`:m._d)||Vh(m),shouldRender:!0};return m._d&&Ry(m._d)&&i.set(m._d,E+1),g}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const d of["body","head"]){const p=n[d]?.children;for(const m of p){const E=m.tagName.toLowerCase();if(!$h.has(E))continue;const g=Ly({tag:E,props:{}},{innerHTML:m.innerHTML,...m.getAttributeNames().reduce((v,_)=>(v[_]=m.getAttribute(_),v),{})||{}});if(g.key=m.getAttribute("data-hid")||void 0,g._d=Ac(g)||Vh(g),a.elMap.has(g._d)){let v=1,_=g._d;for(;a.elMap.has(_);)_=`${g._d}:${v++}`;a.elMap.set(_,m)}else a.elMap.set(g._d,m)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(d,p,m){const E=`${d}:${p}`;a.sideEffects[E]=m,delete a.pendingSideEffects[E]}function c({id:d,$el:p,tag:m}){const E=m.tag.endsWith("Attrs");a.elMap.set(d,p),E||(m.textContent&&m.textContent!==p.textContent&&(p.textContent=m.textContent),m.innerHTML&&m.innerHTML!==p.innerHTML&&(p.innerHTML=m.innerHTML),l(d,"el",()=>{p?.remove(),a.elMap.delete(d)}));for(const g in m.props){if(!Object.prototype.hasOwnProperty.call(m.props,g))continue;const v=m.props[g];if(g.startsWith("on")&&typeof v=="function"){const y=p?.dataset;if(y&&y[`${g}fired`]){const T=g.slice(0,-5);v.call(p,new Event(T.substring(2)))}p.getAttribute(`data-${g}`)!==""&&((m.tag==="bodyAttrs"?n.defaultView:p).addEventListener(g.substring(2),v.bind(p)),p.setAttribute(`data-${g}`,""));continue}const _=`attr:${g}`;if(g==="class"){if(!v)continue;for(const y of v)E&&l(d,`${_}:${y}`,()=>p.classList.remove(y)),!p.classList.contains(y)&&p.classList.add(y)}else if(g==="style"){if(!v)continue;for(const[y,T]of v)l(d,`${_}:${y}`,()=>{p.style.removeProperty(y)}),p.style.setProperty(y,T)}else v!==!1&&v!==null&&(p.getAttribute(g)!==v&&p.setAttribute(g,v===!0?"":String(v)),E&&l(d,_,()=>p.removeAttribute(g)))}}const u=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},h=await o;for(const d of h){const{tag:p,shouldRender:m,id:E}=d;if(m){if(p.tag==="title"){n.title=p.textContent,l("title","",()=>n.title=a.title);continue}d.$el=d.$el||a.elMap.get(E),d.$el?c(d):$h.has(p.tag)&&u.push(d)}}for(const d of u){const p=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),c(d),f[p]=f[p]||n.createDocumentFragment(),f[p].appendChild(d.$el)}for(const d of h)await e.hooks.callHook("dom:renderTag",d,n,l);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const d in a.pendingSideEffects)a.pendingSideEffects[d]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:h}),r()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function gN(e={}){const t=e.domOptions?.render||My;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return mN({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function _N(e,t){let n=0;return()=>{const s=++n;t(()=>{n===s&&e()})}}const yN=(e,t)=>Ne(t)?ae(t):t,xy="usehead";function vN(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(xy,e)}}.install}function EN(){if(Pa()){const e=Ct(xy);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function bN(e,t={}){const n=t.head||EN();return n.ssr?n.push(e||{},t):TN(n,e,t)}function TN(e,t,n={}){const s=it(!1);let r;return pu(()=>{const o=s.value?{}:da(t,yN);r?r.patch(o):r=e.push(o,n)}),ze()&&(Ui(()=>{r.dispose()}),lu(()=>{s.value=!0}),au(()=>{s.value=!1})),r}function SN(e={}){const t=gN({domOptions:{render:_N(()=>My(t),n=>setTimeout(n,0))},...e});return t.install=vN(t),t}const cr=typeof document<"u";function Dy(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function wN(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Dy(e.default)}const Oe=Object.assign;function Pl(e,t){const n={};for(const s in t){const r=t[s];n[s]=un(r)?r.map(e):e(r)}return n}const si=()=>{},un=Array.isArray;function Wh(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const ky=/#/g,CN=/&/g,ON=/\//g,AN=/=/g,NN=/\?/g,Fy=/\+/g,PN=/%5B/g,IN=/%5D/g,$y=/%5E/g,RN=/%60/g,Vy=/%7B/g,LN=/%7C/g,Hy=/%7D/g,MN=/%20/g;function df(e){return e==null?"":encodeURI(""+e).replace(LN,"|").replace(PN,"[").replace(IN,"]")}function xN(e){return df(e).replace(Vy,"{").replace(Hy,"}").replace($y,"^")}function Nc(e){return df(e).replace(Fy,"%2B").replace(MN,"+").replace(ky,"%23").replace(CN,"%26").replace(RN,"`").replace(Vy,"{").replace(Hy,"}").replace($y,"^")}function DN(e){return Nc(e).replace(AN,"%3D")}function kN(e){return df(e).replace(ky,"%23").replace(NN,"%3F")}function FN(e){return kN(e).replace(ON,"%2F")}function Mi(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const $N=/\/$/,VN=e=>e.replace($N,"");function Il(e,t,n="/"){let s,r={},i="",o="";const a=t.indexOf("#");let l=t.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(s=t.slice(0,l),i=t.slice(l,a>0?a:t.length),r=e(i.slice(1))),a>=0&&(s=s||t.slice(0,a),o=t.slice(a,t.length)),s=jN(s??t,n),{fullPath:s+i+o,path:s,query:r,hash:Mi(o)}}function HN(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Gh(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function UN(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Rr(t.matched[s],n.matched[r])&&Uy(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Rr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Uy(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!BN(e[n],t[n]))return!1;return!0}function BN(e,t){return un(e)?Kh(e,t):un(t)?Kh(t,e):e===t}function Kh(e,t){return un(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function jN(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let i=n.length-1,o,a;for(o=0;o<s.length;o++)if(a=s[o],a!==".")if(a==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o).join("/")}const ss={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Pc=(function(e){return e.pop="pop",e.push="push",e})({}),Rl=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function WN(e){if(!e)if(cr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),VN(e)}const GN=/^[^#]+#/;function KN(e,t){return e.replace(GN,"#")+t}function qN(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const rl=()=>({left:window.scrollX,top:window.scrollY});function XN(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=qN(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function qh(e,t){return(history.state?history.state.position-t:-1)+e}const Ic=new Map;function QN(e,t){Ic.set(e,t)}function YN(e){const t=Ic.get(e);return Ic.delete(e),t}function zN(e){return typeof e=="string"||e&&typeof e=="object"}function By(e){return typeof e=="string"||typeof e=="symbol"}let He=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const jy=Symbol("");He.MATCHER_NOT_FOUND+"",He.NAVIGATION_GUARD_REDIRECT+"",He.NAVIGATION_ABORTED+"",He.NAVIGATION_CANCELLED+"",He.NAVIGATION_DUPLICATED+"";function Lr(e,t){return Oe(new Error,{type:e,[jy]:!0},t)}function Nn(e,t){return e instanceof Error&&jy in e&&(t==null||!!(e.type&t))}const JN=["params","query","hash"];function ZN(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of JN)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function eP(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<n.length;++s){const r=n[s].replace(Fy," "),i=r.indexOf("="),o=Mi(i<0?r:r.slice(0,i)),a=i<0?null:Mi(r.slice(i+1));if(o in t){let l=t[o];un(l)||(l=t[o]=[l]),l.push(a)}else t[o]=a}return t}function Xh(e){let t="";for(let n in e){const s=e[n];if(n=DN(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(un(s)?s.map(r=>r&&Nc(r)):[s&&Nc(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function tP(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=un(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const nP=Symbol(""),Qh=Symbol(""),il=Symbol(""),hf=Symbol(""),Rc=Symbol("");function jr(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ds(e,t,n,s,r,i=o=>o()){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((a,l)=>{const c=h=>{h===!1?l(Lr(He.NAVIGATION_ABORTED,{from:n,to:t})):h instanceof Error?l(h):zN(h)?l(Lr(He.NAVIGATION_GUARD_REDIRECT,{from:t,to:h})):(o&&s.enterCallbacks[r]===o&&typeof h=="function"&&o.push(h),a())},u=i(()=>e.call(s&&s.instances[r],t,n,c));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch(h=>l(h))})}function Ll(e,t,n,s,r=i=>i()){const i=[];for(const o of e)for(const a in o.components){let l=o.components[a];if(!(t!=="beforeRouteEnter"&&!o.instances[a]))if(Dy(l)){const c=(l.__vccOpts||l)[t];c&&i.push(ds(c,n,s,o,a,r))}else{let c=l();i.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${o.path}"`);const f=wN(u)?u.default:u;o.mods[a]=u,o.components[a]=f;const h=(f.__vccOpts||f)[t];return h&&ds(h,n,s,o,a,r)()}))}}return i}function sP(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const a=t.matched[o];a&&(e.matched.find(c=>Rr(c,a))?s.push(a):n.push(a));const l=e.matched[o];l&&(t.matched.find(c=>Rr(c,l))||r.push(l))}return[n,s,r]}let rP=()=>location.protocol+"//"+location.host;function Wy(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let o=r.includes(e.slice(i))?e.slice(i).length:1,a=r.slice(o);return a[0]!=="/"&&(a="/"+a),Gh(a,"")}return Gh(n,e)+s+r}function iP(e,t,n,s){let r=[],i=[],o=null;const a=({state:h})=>{const d=Wy(e,location),p=n.value,m=t.value;let E=0;if(h){if(n.value=d,t.value=h,o&&o===p){o=null;return}E=m?h.position-m.position:0}else s(d);r.forEach(g=>{g(n.value,p,{delta:E,type:Pc.pop,direction:E?E>0?Rl.forward:Rl.back:Rl.unknown})})};function l(){o=n.value}function c(h){r.push(h);const d=()=>{const p=r.indexOf(h);p>-1&&r.splice(p,1)};return i.push(d),d}function u(){if(document.visibilityState==="hidden"){const{history:h}=window;if(!h.state)return;h.replaceState(Oe({},h.state,{scroll:rl()}),"")}}function f(){for(const h of i)h();i=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:l,listen:c,destroy:f}}function Yh(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?rl():null}}function oP(e){const{history:t,location:n}=window,s={value:Wy(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,c,u){const f=e.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:rP()+e+l;try{t[u?"replaceState":"pushState"](c,"",h),r.value=c}catch(d){console.error(d),n[u?"replace":"assign"](h)}}function o(l,c){i(l,Oe({},t.state,Yh(r.value.back,l,r.value.forward,!0),c,{position:r.value.position}),!0),s.value=l}function a(l,c){const u=Oe({},r.value,t.state,{forward:l,scroll:rl()});i(u.current,u,!0),i(l,Oe({},Yh(s.value,l,null),{position:u.position+1},c),!1),s.value=l}return{location:s,state:r,push:a,replace:o}}function aP(e){e=WN(e);const t=oP(e),n=iP(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=Oe({location:"",base:e,go:s,createHref:KN.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}let xs=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var Je=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(Je||{});const lP={type:xs.Static,value:""},cP=/[a-zA-Z0-9_]/;function uP(e){if(!e)return[[]];if(e==="/")return[[lP]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${n})/"${c}": ${d}`)}let n=Je.Static,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let a=0,l,c="",u="";function f(){c&&(n===Je.Static?i.push({type:xs.Static,value:c}):n===Je.Param||n===Je.ParamRegExp||n===Je.ParamRegExpEnd?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:xs.Param,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==Je.ParamRegExp){s=n,n=Je.EscapeNext;continue}switch(n){case Je.Static:l==="/"?(c&&f(),o()):l===":"?(f(),n=Je.Param):h();break;case Je.EscapeNext:h(),n=s;break;case Je.Param:l==="("?n=Je.ParamRegExp:cP.test(l)?h():(f(),n=Je.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case Je.ParamRegExp:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=Je.ParamRegExpEnd:u+=l;break;case Je.ParamRegExpEnd:f(),n=Je.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===Je.ParamRegExp&&t(`Unfinished custom RegExp for param "${c}"`),f(),o(),r}const zh="[^/]+?",fP={sensitive:!1,strict:!1,start:!0,end:!0};var Et=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(Et||{});const dP=/[.+*?^${}()[\]/\\]/g;function hP(e,t){const n=Oe({},fP,t),s=[];let r=n.start?"^":"";const i=[];for(const c of e){const u=c.length?[]:[Et.Root];n.strict&&!c.length&&(r+="/");for(let f=0;f<c.length;f++){const h=c[f];let d=Et.Segment+(n.sensitive?Et.BonusCaseSensitive:0);if(h.type===xs.Static)f||(r+="/"),r+=h.value.replace(dP,"\\$&"),d+=Et.Static;else if(h.type===xs.Param){const{value:p,repeatable:m,optional:E,regexp:g}=h;i.push({name:p,repeatable:m,optional:E});const v=g||zh;if(v!==zh){d+=Et.BonusCustomRegExp;try{`${v}`}catch(y){throw new Error(`Invalid custom RegExp for param "${p}" (${v}): `+y.message)}}let _=m?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;f||(_=E&&c.length<2?`(?:/${_})`:"/"+_),E&&(_+="?"),r+=_,d+=Et.Dynamic,E&&(d+=Et.BonusOptional),m&&(d+=Et.BonusRepeatable),v===".*"&&(d+=Et.BonusWildcard)}u.push(d)}s.push(u)}if(n.strict&&n.end){const c=s.length-1;s[c][s[c].length-1]+=Et.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function a(c){const u=c.match(o),f={};if(!u)return null;for(let h=1;h<u.length;h++){const d=u[h]||"",p=i[h-1];f[p.name]=d&&p.repeatable?d.split("/"):d}return f}function l(c){let u="",f=!1;for(const h of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const d of h)if(d.type===xs.Static)u+=d.value;else if(d.type===xs.Param){const{value:p,repeatable:m,optional:E}=d,g=p in c?c[p]:"";if(un(g)&&!m)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const v=un(g)?g.join("/"):g;if(!v)if(E)h.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=v}}return u||"/"}return{re:o,score:s,keys:i,parse:a,stringify:l}}function pP(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===Et.Static+Et.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Et.Static+Et.Segment?1:-1:0}function Gy(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=pP(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(Jh(s))return 1;if(Jh(r))return-1}return r.length-s.length}function Jh(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const mP={strict:!1,end:!0,sensitive:!1};function gP(e,t,n){const s=hP(uP(e.path),n),r=Oe(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function _P(e,t){const n=[],s=new Map;t=Wh(mP,t);function r(f){return s.get(f)}function i(f,h,d){const p=!d,m=ep(f);m.aliasOf=d&&d.record;const E=Wh(t,f),g=[m];if("alias"in f){const y=typeof f.alias=="string"?[f.alias]:f.alias;for(const T of y)g.push(ep(Oe({},m,{components:d?d.record.components:m.components,path:T,aliasOf:d?d.record:m})))}let v,_;for(const y of g){const{path:T}=y;if(h&&T[0]!=="/"){const O=h.record.path,A=O[O.length-1]==="/"?"":"/";y.path=h.record.path+(T&&A+T)}if(v=gP(y,h,E),d?d.alias.push(v):(_=_||v,_!==v&&_.alias.push(v),p&&f.name&&!tp(v)&&o(f.name)),Ky(v)&&l(v),m.children){const O=m.children;for(let A=0;A<O.length;A++)i(O[A],v,d&&d.children[A])}d=d||v}return _?()=>{o(_)}:si}function o(f){if(By(f)){const h=s.get(f);h&&(s.delete(f),n.splice(n.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=n.indexOf(f);h>-1&&(n.splice(h,1),f.record.name&&s.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function a(){return n}function l(f){const h=EP(f,n);n.splice(h,0,f),f.record.name&&!tp(f)&&s.set(f.record.name,f)}function c(f,h){let d,p={},m,E;if("name"in f&&f.name){if(d=s.get(f.name),!d)throw Lr(He.MATCHER_NOT_FOUND,{location:f});E=d.record.name,p=Oe(Zh(h.params,d.keys.filter(_=>!_.optional).concat(d.parent?d.parent.keys.filter(_=>_.optional):[]).map(_=>_.name)),f.params&&Zh(f.params,d.keys.map(_=>_.name))),m=d.stringify(p)}else if(f.path!=null)m=f.path,d=n.find(_=>_.re.test(m)),d&&(p=d.parse(m),E=d.record.name);else{if(d=h.name?s.get(h.name):n.find(_=>_.re.test(h.path)),!d)throw Lr(He.MATCHER_NOT_FOUND,{location:f,currentLocation:h});E=d.record.name,p=Oe({},h.params,f.params),m=d.stringify(p)}const g=[];let v=d;for(;v;)g.unshift(v.record),v=v.parent;return{name:E,path:m,params:p,matched:g,meta:vP(g)}}e.forEach(f=>i(f));function u(){n.length=0,s.clear()}return{addRoute:i,resolve:c,removeRoute:o,clearRoutes:u,getRoutes:a,getRecordMatcher:r}}function Zh(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function ep(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:yP(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function yP(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function tp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function vP(e){return e.reduce((t,n)=>Oe(t,n.meta),{})}function EP(e,t){let n=0,s=t.length;for(;n!==s;){const i=n+s>>1;Gy(e,t[i])<0?s=i:n=i+1}const r=bP(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function bP(e){let t=e;for(;t=t.parent;)if(Ky(t)&&Gy(e,t)===0)return t}function Ky({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function np(e){const t=Ct(il),n=Ct(hf),s=he(()=>{const l=Kt(e.to);return t.resolve(l)}),r=he(()=>{const{matched:l}=s.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const h=f.findIndex(Rr.bind(null,u));if(h>-1)return h;const d=sp(l[c-2]);return c>1&&sp(u)===d&&f[f.length-1].path!==d?f.findIndex(Rr.bind(null,l[c-2])):h}),i=he(()=>r.value>-1&&OP(n.params,s.value.params)),o=he(()=>r.value>-1&&r.value===n.matched.length-1&&Uy(n.params,s.value.params));function a(l={}){if(CP(l)){const c=t[Kt(e.replace)?"replace":"push"](Kt(e.to)).catch(si);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:s,href:he(()=>s.value.href),isActive:i,isExactActive:o,navigate:a}}function TP(e){return e.length===1?e[0]:e}const SP=Dt({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:np,setup(e,{slots:t}){const n=Kn(np(e)),{options:s}=Ct(il),r=he(()=>({[rp(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[rp(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&TP(t.default(n));return e.custom?i:tr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),wP=SP;function CP(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function OP(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!un(r)||r.length!==s.length||s.some((i,o)=>i!==r[o]))return!1}return!0}function sp(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const rp=(e,t,n)=>e??t??n,AP=Dt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Ct(Rc),r=he(()=>e.route||s.value),i=Ct(Qh,0),o=he(()=>{let c=Kt(i);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=he(()=>r.value.matched[o.value]);Yr(Qh,he(()=>o.value+1)),Yr(nP,a),Yr(Rc,r);const l=it();return ke(()=>[l.value,a.value,e.name],([c,u,f],[h,d,p])=>{u&&(u.instances[f]=c,d&&d!==u&&c&&c===h&&(u.leaveGuards.size||(u.leaveGuards=d.leaveGuards),u.updateGuards.size||(u.updateGuards=d.updateGuards))),c&&u&&(!d||!Rr(u,d)||!h)&&(u.enterCallbacks[f]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,f=a.value,h=f&&f.components[u];if(!h)return ip(n.default,{Component:h,route:c});const d=f.props[u],p=d?d===!0?c.params:typeof d=="function"?d(c):d:null,E=tr(h,Oe({},p,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return ip(n.default,{Component:E,route:c})||E}}});function ip(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const NP=AP;function PP(e){const t=_P(e.routes,e),n=e.parseQuery||eP,s=e.stringifyQuery||Xh,r=e.history,i=jr(),o=jr(),a=jr(),l=Ee(ss);let c=ss;cr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Pl.bind(null,U=>""+U),f=Pl.bind(null,FN),h=Pl.bind(null,Mi);function d(U,J){let Q,te;return By(U)?(Q=t.getRecordMatcher(U),te=J):te=U,t.addRoute(te,Q)}function p(U){const J=t.getRecordMatcher(U);J&&t.removeRoute(J)}function m(){return t.getRoutes().map(U=>U.record)}function E(U){return!!t.getRecordMatcher(U)}function g(U,J){if(J=Oe({},J||l.value),typeof U=="string"){const N=Il(n,U,J.path),D=t.resolve({path:N.path},J),W=r.createHref(N.fullPath);return Oe(N,D,{params:h(D.params),hash:Mi(N.hash),redirectedFrom:void 0,href:W})}let Q;if(U.path!=null)Q=Oe({},U,{path:Il(n,U.path,J.path).path});else{const N=Oe({},U.params);for(const D in N)N[D]==null&&delete N[D];Q=Oe({},U,{params:f(N)}),J.params=f(J.params)}const te=t.resolve(Q,J),oe=U.hash||"";te.params=u(h(te.params));const Pe=HN(s,Oe({},U,{hash:xN(oe),path:te.path})),w=r.createHref(Pe);return Oe({fullPath:Pe,hash:oe,query:s===Xh?tP(U.query):U.query||{}},te,{redirectedFrom:void 0,href:w})}function v(U){return typeof U=="string"?Il(n,U,l.value.path):Oe({},U)}function _(U,J){if(c!==U)return Lr(He.NAVIGATION_CANCELLED,{from:J,to:U})}function y(U){return A(U)}function T(U){return y(Oe(v(U),{replace:!0}))}function O(U,J){const Q=U.matched[U.matched.length-1];if(Q&&Q.redirect){const{redirect:te}=Q;let oe=typeof te=="function"?te(U,J):te;return typeof oe=="string"&&(oe=oe.includes("?")||oe.includes("#")?oe=v(oe):{path:oe},oe.params={}),Oe({query:U.query,hash:U.hash,params:oe.path!=null?{}:U.params},oe)}}function A(U,J){const Q=c=g(U),te=l.value,oe=U.state,Pe=U.force,w=U.replace===!0,N=O(Q,te);if(N)return A(Oe(v(N),{state:typeof N=="object"?Oe({},oe,N.state):oe,force:Pe,replace:w}),J||Q);const D=Q;D.redirectedFrom=J;let W;return!Pe&&UN(s,te,Q)&&(W=Lr(He.NAVIGATION_DUPLICATED,{to:D,from:te}),Ce(te,te,!0,!1)),(W?Promise.resolve(W):P(D,te)).catch(B=>Nn(B)?Nn(B,He.NAVIGATION_GUARD_REDIRECT)?B:we(B):G(B,D,te)).then(B=>{if(B){if(Nn(B,He.NAVIGATION_GUARD_REDIRECT))return A(Oe({replace:w},v(B.to),{state:typeof B.to=="object"?Oe({},oe,B.to.state):oe,force:Pe}),J||D)}else B=R(D,te,!0,w,oe);return x(D,te,B),B})}function I(U,J){const Q=_(U,J);return Q?Promise.reject(Q):Promise.resolve()}function S(U){const J=et.values().next().value;return J&&typeof J.runWithContext=="function"?J.runWithContext(U):U()}function P(U,J){let Q;const[te,oe,Pe]=sP(U,J);Q=Ll(te.reverse(),"beforeRouteLeave",U,J);for(const N of te)N.leaveGuards.forEach(D=>{Q.push(ds(D,U,J))});const w=I.bind(null,U,J);return Q.push(w),ye(Q).then(()=>{Q=[];for(const N of i.list())Q.push(ds(N,U,J));return Q.push(w),ye(Q)}).then(()=>{Q=Ll(oe,"beforeRouteUpdate",U,J);for(const N of oe)N.updateGuards.forEach(D=>{Q.push(ds(D,U,J))});return Q.push(w),ye(Q)}).then(()=>{Q=[];for(const N of Pe)if(N.beforeEnter)if(un(N.beforeEnter))for(const D of N.beforeEnter)Q.push(ds(D,U,J));else Q.push(ds(N.beforeEnter,U,J));return Q.push(w),ye(Q)}).then(()=>(U.matched.forEach(N=>N.enterCallbacks={}),Q=Ll(Pe,"beforeRouteEnter",U,J,S),Q.push(w),ye(Q))).then(()=>{Q=[];for(const N of o.list())Q.push(ds(N,U,J));return Q.push(w),ye(Q)}).catch(N=>Nn(N,He.NAVIGATION_CANCELLED)?N:Promise.reject(N))}function x(U,J,Q){a.list().forEach(te=>S(()=>te(U,J,Q)))}function R(U,J,Q,te,oe){const Pe=_(U,J);if(Pe)return Pe;const w=J===ss,N=cr?history.state:{};Q&&(te||w?r.replace(U.fullPath,Oe({scroll:w&&N&&N.scroll},oe)):r.push(U.fullPath,oe)),l.value=U,Ce(U,J,Q,w),we()}let $;function V(){$||($=r.listen((U,J,Q)=>{if(!tt.listening)return;const te=g(U),oe=O(te,tt.currentRoute.value);if(oe){A(Oe(oe,{replace:!0,force:!0}),te).catch(si);return}c=te;const Pe=l.value;cr&&QN(qh(Pe.fullPath,Q.delta),rl()),P(te,Pe).catch(w=>Nn(w,He.NAVIGATION_ABORTED|He.NAVIGATION_CANCELLED)?w:Nn(w,He.NAVIGATION_GUARD_REDIRECT)?(A(Oe(v(w.to),{force:!0}),te).then(N=>{Nn(N,He.NAVIGATION_ABORTED|He.NAVIGATION_DUPLICATED)&&!Q.delta&&Q.type===Pc.pop&&r.go(-1,!1)}).catch(si),Promise.reject()):(Q.delta&&r.go(-Q.delta,!1),G(w,te,Pe))).then(w=>{w=w||R(te,Pe,!1),w&&(Q.delta&&!Nn(w,He.NAVIGATION_CANCELLED)?r.go(-Q.delta,!1):Q.type===Pc.pop&&Nn(w,He.NAVIGATION_ABORTED|He.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),x(te,Pe,w)}).catch(si)}))}let K=jr(),j=jr(),q;function G(U,J,Q){we(U);const te=j.list();return te.length?te.forEach(oe=>oe(U,J,Q)):console.error(U),Promise.reject(U)}function ee(){return q&&l.value!==ss?Promise.resolve():new Promise((U,J)=>{K.add([U,J])})}function we(U){return q||(q=!U,V(),K.list().forEach(([J,Q])=>U?Q(U):J()),K.reset()),U}function Ce(U,J,Q,te){const{scrollBehavior:oe}=e;if(!cr||!oe)return Promise.resolve();const Pe=!Q&&YN(qh(U.fullPath,0))||(te||!Q)&&history.state&&history.state.scroll||null;return Yt().then(()=>oe(U,J,Pe)).then(w=>w&&XN(w)).catch(w=>G(w,U,J))}const xe=U=>r.go(U);let kt;const et=new Set,tt={currentRoute:l,listening:!0,addRoute:d,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:E,getRoutes:m,resolve:g,options:e,push:y,replace:T,go:xe,back:()=>xe(-1),forward:()=>xe(1),beforeEach:i.add,beforeResolve:o.add,afterEach:a.add,onError:j.add,isReady:ee,install(U){U.component("RouterLink",wP),U.component("RouterView",NP),U.config.globalProperties.$router=tt,Object.defineProperty(U.config.globalProperties,"$route",{enumerable:!0,get:()=>Kt(l)}),cr&&!kt&&l.value===ss&&(kt=!0,y(r.location).catch(te=>{}));const J={};for(const te in ss)Object.defineProperty(J,te,{get:()=>l.value[te],enumerable:!0});U.provide(il,tt),U.provide(hf,Jc(J)),U.provide(Rc,l);const Q=U.unmount;et.add(U),U.unmount=function(){et.delete(U),et.size<1&&(c=ss,$&&$(),$=null,l.value=ss,kt=!1,q=!1),Q()}}};function ye(U){return U.reduce((J,Q)=>J.then(()=>S(Q)),Promise.resolve())}return tt}function PI(){return Ct(il)}function II(e){return Ct(hf)}function IP(e){return document.readyState==="loading"?new Promise(t=>{document.addEventListener("DOMContentLoaded",()=>t(e))}):Promise.resolve(e)}const RP=Dt({setup(e,{slots:t}){const n=it(!1);return es(()=>n.value=!0),()=>n.value?t.default&&t.default({}):t.placeholder&&t.placeholder({})}});function LP(e){try{return JSON.parse(e||"{}")}catch(t){return console.error("[SSG] On state deserialization -",t,e),{}}}function MP(e,t,n,s){const{transformState:r,registerComponents:i=!0,useHead:o=!0,rootContainer:a="#app"}={};async function l(c){const u=yi(e);let f;o&&u.use(f=SN());const h=PP({history:aP(t.base),...t}),{routes:d}=t;i&&u.component("ClientOnly",RP);const p=[],g={app:u,head:f,isClient:!0,router:h,routes:d,onSSRAppRendered:()=>{},triggerOnSSRAppRendered:()=>Promise.all(p.map(T=>T())),initialState:{},transformState:r,routePath:c};await IP(),g.initialState=r?.(window.__INITIAL_STATE__||{})||LP(window.__INITIAL_STATE__),await n?.(g),u.use(h);let v,_=!0;h.beforeEach((T,O,A)=>{(_||v&&v===T.path)&&(_=!1,v=T.path,T.meta.state=g.initialState),A()});const y=g.initialState;return{...g,initialState:y}}return(async()=>{const{app:c,router:u}=await l();await u.isReady(),c.mount(a,!0)})(),l}const xP=[{path:"/",name:"/",component:()=>It(()=>import("./index-CAsXL1gc.js"),__vite__mapDeps([10,11,5,12,13,14,15,2,3,4,16,17]),import.meta.url),meta:{layout:"index-layout"}},{path:"/:all(.*)",name:"/[...all]",component:()=>It(()=>import("./_...all_-b9SzNF4e.js"),__vite__mapDeps([18,19,13,14,4,20,5,21,22,23,24,25,26,27,28,2,3,12,15,29,16]),import.meta.url),meta:{layout:"board-layout"}},{path:"/balloon",children:[{path:"",name:"/balloon/",component:()=>It(()=>import("./index-zJ9qZe0w.js"),__vite__mapDeps([30,22,4,23,13,14,24,20,31,16,5]),import.meta.url),meta:{layout:"headless"}}]},{path:"/board",children:[{path:"",name:"/board/",component:()=>It(()=>import("./index-CvpEm1Rh.js"),__vite__mapDeps([32,27,28,2,3,20,13,14,23,24,5,12,15,4,29,31,16]),import.meta.url),meta:{layout:"board-layout"}}]},{path:"/countdown",children:[{path:"",name:"/countdown/",component:()=>It(()=>import("./index-D6bFvEte.js"),__vite__mapDeps([33,19,13,14,4,20,5,21,31,16]),import.meta.url),meta:{layout:"headless"}}]},{path:"/rating",children:[{path:"",name:"/rating/",component:()=>It(()=>import("./index-DTls3Lta.js"),__vite__mapDeps([34,11,5,2,3,4,16,35]),import.meta.url),meta:{layout:"index-layout"}},{path:":all(.*)",name:"/rating/[...all]",component:()=>It(()=>import("./_...all_-DVX2_zmu.js"),__vite__mapDeps([36,28,2,3,4,14,24,37]),import.meta.url)}]},{path:"/resolver",children:[{path:"",name:"/resolver/",component:()=>It(()=>import("./index-BRaapU_A.js"),__vite__mapDeps([38,25,5,13,14,23,24,4,20,26,31,16]),import.meta.url),meta:{layout:"headless"}}]}];function zn(e){return Xc()?(Kp(e),!0):!1}function Ml(){const e=new Set,t=i=>{e.delete(i)};return{on:i=>{e.add(i);const o=()=>t(i);return zn(o),{off:o}},off:t,trigger:(...i)=>Promise.all(Array.from(e).map(o=>o(...i))),clear:()=>{e.clear()}}}const xl=new WeakMap,DP=(...e)=>{var t;const n=e[0],s=(t=ze())==null?void 0:t.proxy;if(s==null&&!Pa())throw new Error("injectLocal must be called in setup");return s&&xl.has(s)&&n in xl.get(s)?xl.get(s)[n]:Ct(...e)},Mr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const kP=e=>typeof e<"u",qy=e=>e!=null,FP=Object.prototype.toString,$P=e=>FP.call(e)==="[object Object]",an=()=>{};function gr(...e){if(e.length!==1)return cm(...e);const t=e[0];return typeof t=="function"?qn(nu(()=>({get:t,set:an}))):it(t)}function pf(e,t){function n(...s){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(i)})}return n}const Xy=e=>e();function VP(e,t={}){let n,s,r=an;const i=l=>{clearTimeout(l),r(),r=an};let o;return l=>{const c=ae(e),u=ae(t.maxWait);return n&&i(n),c<=0||u!==void 0&&u<=0?(s&&(i(s),s=void 0),Promise.resolve(l())):new Promise((f,h)=>{r=t.rejectOnCancel?h:f,o=l,u&&!s&&(s=setTimeout(()=>{n&&i(n),s=void 0,f(o())},u)),n=setTimeout(()=>{s&&i(s),s=void 0,f(l())},c)})}}function HP(...e){let t=0,n,s=!0,r=an,i,o,a,l,c;!Ne(e[0])&&typeof e[0]=="object"?{delay:o,trailing:a=!0,leading:l=!0,rejectOnCancel:c=!1}=e[0]:[o,a=!0,l=!0,c=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,r(),r=an)};return h=>{const d=ae(o),p=Date.now()-t,m=()=>i=h();return u(),d<=0?(t=Date.now(),m()):(p>d&&(l||!s)?(t=Date.now(),m()):a&&(i=new Promise((E,g)=>{r=c?g:E,n=setTimeout(()=>{t=Date.now(),s=!0,E(m()),u()},Math.max(0,d-p))})),!l&&!n&&(n=setTimeout(()=>s=!0,d)),s=!1,i)}}function UP(e=Xy,t={}){const{initialState:n="active"}=t,s=gr(n==="active");function r(){s.value=!1}function i(){s.value=!0}const o=(...a)=>{s.value&&e(...a)};return{isActive:qn(s),pause:r,resume:i,eventFilter:o}}function op(e,t=!1,n="Timeout"){return new Promise((s,r)=>{setTimeout(t?()=>r(n):s,e)})}function BP(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const s=t;t=void 0,s&&await s},n}function jP(e,...t){return t.some(n=>n in e)}function ap(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function ri(e){return Array.isArray(e)?e:[e]}function WP(e){return ze()}function GP(e,t=200,n={}){return pf(VP(t,n),e)}function KP(e,t=200,n=!1,s=!0,r=!1){return pf(HP(t,n,s,r),e)}function qP(e,t,n={}){const{eventFilter:s=Xy,...r}=n;return ke(e,pf(s,t),r)}function XP(e,t,n={}){const{eventFilter:s,initialState:r="active",...i}=n,{eventFilter:o,pause:a,resume:l,isActive:c}=UP(s,{initialState:r});return{stop:qP(e,t,{...i,eventFilter:o}),pause:a,resume:l,isActive:c}}function mf(e,t=!0,n){WP()?es(e,n):t?e():Yt(e)}function Lc(e,t=!1){function n(f,{flush:h="sync",deep:d=!1,timeout:p,throwOnTimeout:m}={}){let E=null;const v=[new Promise(_=>{E=ke(e,y=>{f(y)!==t&&(E?E():Yt(()=>E?.()),_(y))},{flush:h,deep:d,immediate:!0})})];return p!=null&&v.push(op(p,m).then(()=>ae(e)).finally(()=>E?.())),Promise.race(v)}function s(f,h){if(!Ne(f))return n(y=>y===f,h);const{flush:d="sync",deep:p=!1,timeout:m,throwOnTimeout:E}=h??{};let g=null;const _=[new Promise(y=>{g=ke([e,f],([T,O])=>{t!==(T===O)&&(g?g():Yt(()=>g?.()),y(T))},{flush:d,deep:p,immediate:!0})})];return m!=null&&_.push(op(m,E).then(()=>ae(e)).finally(()=>(g?.(),ae(e)))),Promise.race(_)}function r(f){return n(h=>!!h,f)}function i(f){return s(null,f)}function o(f){return s(void 0,f)}function a(f){return n(Number.isNaN,f)}function l(f,h){return n(d=>{const p=Array.from(d);return p.includes(f)||p.includes(ae(f))},h)}function c(f){return u(1,f)}function u(f=1,h){let d=-1;return n(()=>(d+=1,d>=f),h)}return Array.isArray(ae(e))?{toMatch:n,toContains:l,changed:c,changedTimes:u,get not(){return Lc(e,!t)}}:{toMatch:n,toBe:s,toBeTruthy:r,toBeNull:i,toBeNaN:a,toBeUndefined:o,changed:c,changedTimes:u,get not(){return Lc(e,!t)}}}function QP(e){return Lc(e)}function YP(e,t=1e3,n={}){const{immediate:s=!0,immediateCallback:r=!1}=n;let i=null;const o=Ee(!1);function a(){i&&(clearInterval(i),i=null)}function l(){o.value=!1,a()}function c(){const u=ae(t);u<=0||(o.value=!0,r&&e(),a(),o.value&&(i=setInterval(e,u)))}if(s&&Mr&&c(),Ne(t)||typeof t=="function"){const u=ke(t,()=>{o.value&&Mr&&c()});zn(u)}return zn(l),{isActive:Zc(o),pause:l,resume:c}}function Qy(e,t,n={}){const{immediate:s=!0,immediateCallback:r=!1}=n,i=Ee(!1);let o;function a(){o&&(clearTimeout(o),o=void 0)}function l(){i.value=!1,a()}function c(...u){r&&e(),a(),i.value=!0,o=setTimeout(()=>{i.value=!1,o=void 0,e(...u)},ae(t))}return s&&(i.value=!0,Mr&&c()),zn(l),{isPending:Zc(i),start:c,stop:l}}function zP(e=!1,t={}){const{truthyValue:n=!0,falsyValue:s=!1}=t,r=Ne(e),i=Ee(e);function o(a){if(arguments.length)return i.value=a,i.value;{const l=ae(n);return i.value=i.value===l?ae(s):l,i.value}}return r?o:[i,o]}function JP(e,t,n){return ke(e,t,{...n,immediate:!0})}function ZP(e,t,n){return ke(e,t,{...n,once:!0})}const xt=Mr?window:void 0,Yy=Mr?window.document:void 0,zy=Mr?window.navigator:void 0;function js(e){var t;const n=ae(e);return(t=n?.$el)!=null?t:n}function Ut(...e){const t=[],n=()=>{t.forEach(a=>a()),t.length=0},s=(a,l,c,u)=>(a.addEventListener(l,c,u),()=>a.removeEventListener(l,c,u)),r=he(()=>{const a=ri(ae(e[0])).filter(l=>l!=null);return a.every(l=>typeof l!="string")?a:void 0}),i=JP(()=>{var a,l;return[(l=(a=r.value)==null?void 0:a.map(c=>js(c)))!=null?l:[xt].filter(c=>c!=null),ri(ae(r.value?e[1]:e[0])),ri(Kt(r.value?e[2]:e[1])),ae(r.value?e[3]:e[2])]},([a,l,c,u])=>{if(n(),!a?.length||!l?.length||!c?.length)return;const f=$P(u)?{...u}:u;t.push(...a.flatMap(h=>l.flatMap(d=>c.map(p=>s(h,d,p,f)))))},{flush:"post"}),o=()=>{i(),n()};return zn(n),o}function eI(){const e=Ee(!1),t=ze();return t&&es(()=>{e.value=!0},t),e}function zi(e){const t=eI();return he(()=>(t.value,!!e()))}function Jy(e,t,n={}){const{window:s=xt,...r}=n;let i;const o=zi(()=>s&&"MutationObserver"in s),a=()=>{i&&(i.disconnect(),i=void 0)},l=he(()=>{const h=ae(e),d=ri(h).map(js).filter(qy);return new Set(d)}),c=ke(l,h=>{a(),o.value&&h.size&&(i=new MutationObserver(t),h.forEach(d=>i.observe(d,r)))},{immediate:!0,flush:"post"}),u=()=>i?.takeRecords(),f=()=>{c(),a()};return zn(f),{isSupported:o,stop:f,takeRecords:u}}function tI(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function nI(...e){let t,n,s={};e.length===3?(t=e[0],n=e[1],s=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],s=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=xt,eventName:i="keydown",passive:o=!1,dedupe:a=!1}=s,l=tI(t);return Ut(r,i,u=>{u.repeat&&ae(a)||l(u)&&n(u)},o)}function RI(e,t,n={}){return nI(e,t,{...n,eventName:"keyup"})}function sI(e,t={}){const{immediate:n=!0,fpsLimit:s=void 0,window:r=xt,once:i=!1}=t,o=Ee(!1),a=he(()=>s?1e3/ae(s):null);let l=0,c=null;function u(d){if(!o.value||!r)return;l||(l=d);const p=d-l;if(a.value&&p<a.value){c=r.requestAnimationFrame(u);return}if(l=d,e({delta:p,timestamp:d}),i){o.value=!1,c=null;return}c=r.requestAnimationFrame(u)}function f(){!o.value&&r&&(o.value=!0,l=0,c=r.requestAnimationFrame(u))}function h(){o.value=!1,c!=null&&r&&(r.cancelAnimationFrame(c),c=null)}return n&&f(),zn(h),{isActive:qn(o),pause:h,resume:f}}const rI=Symbol("vueuse-ssr-width");function iI(){const e=Pa()?DP(rI,null):null;return typeof e=="number"?e:void 0}function oI(e,t={}){const{window:n=xt,ssrWidth:s=iI()}=t,r=zi(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=Ee(typeof s=="number"),o=Ee(),a=Ee(!1),l=c=>{a.value=c.matches};return pu(()=>{if(i.value){i.value=!r.value;const c=ae(e).split(",");a.value=c.some(u=>{const f=u.includes("not all"),h=u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),d=u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(h||d);return h&&p&&(p=s>=ap(h[1])),d&&p&&(p=s<=ap(d[1])),f?!p:p});return}r.value&&(o.value=n.matchMedia(ae(e)),a.value=o.value.matches)}),Ut(o,"change",l,{passive:!0}),he(()=>a.value)}function lp(e,t={}){const{controls:n=!1,navigator:s=zy}=t,r=zi(()=>s&&"permissions"in s),i=Ee(),o=typeof e=="string"?{name:e}:e,a=Ee(),l=()=>{var u,f;a.value=(f=(u=i.value)==null?void 0:u.state)!=null?f:"prompt"};Ut(i,"change",l,{passive:!0});const c=BP(async()=>{if(r.value){if(!i.value)try{i.value=await s.permissions.query(o)}catch{i.value=void 0}finally{l()}if(n)return de(i.value)}});return c(),n?{state:a,isSupported:r,query:c}:a}function LI(e={}){const{navigator:t=zy,read:n=!1,source:s,copiedDuring:r=1500,legacy:i=!1}=e,o=zi(()=>t&&"clipboard"in t),a=lp("clipboard-read"),l=lp("clipboard-write"),c=he(()=>o.value||i),u=Ee(""),f=Ee(!1),h=Qy(()=>f.value=!1,r,{immediate:!1});async function d(){let v=!(o.value&&g(a.value));if(!v)try{u.value=await t.clipboard.readText()}catch{v=!0}v&&(u.value=E())}c.value&&n&&Ut(["copy","cut"],d,{passive:!0});async function p(v=ae(s)){if(c.value&&v!=null){let _=!(o.value&&g(l.value));if(!_)try{await t.clipboard.writeText(v)}catch{_=!0}_&&m(v),u.value=v,f.value=!0,h.start()}}function m(v){const _=document.createElement("textarea");_.value=v??"",_.style.position="absolute",_.style.opacity="0",document.body.appendChild(_),_.select(),document.execCommand("copy"),_.remove()}function E(){var v,_,y;return(y=(_=(v=document?.getSelection)==null?void 0:v.call(document))==null?void 0:_.toString())!=null?y:""}function g(v){return v==="granted"||v==="prompt"}return{isSupported:c,text:u,copied:f,copy:p}}function aI(e){return JSON.parse(JSON.stringify(e))}const vo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Eo="__vueuse_ssr_handlers__",lI=cI();function cI(){return Eo in vo||(vo[Eo]=vo[Eo]||{}),vo[Eo]}function Zy(e,t){return lI[e]||t}function ev(e){return oI("(prefers-color-scheme: dark)",e)}function uI(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const fI={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},cp="vueuse-storage";function dI(e,t,n,s={}){var r;const{flush:i="pre",deep:o=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=xt,eventFilter:h,onError:d=V=>{console.error(V)},initOnMounted:p}=s,m=(u?Ee:it)(typeof t=="function"?t():t),E=he(()=>ae(e));if(!n)try{n=Zy("getDefaultStorage",()=>{var V;return(V=xt)==null?void 0:V.localStorage})()}catch(V){d(V)}if(!n)return m;const g=ae(t),v=uI(g),_=(r=s.serializer)!=null?r:fI[v],{pause:y,resume:T}=XP(m,V=>P(V),{flush:i,deep:o,eventFilter:h});ke(E,()=>R(),{flush:i});let O=!1;const A=V=>{p&&!O||R(V)},I=V=>{p&&!O||$(V)};f&&a&&(n instanceof Storage?Ut(f,"storage",A,{passive:!0}):Ut(f,cp,I)),p?mf(()=>{O=!0,R()}):R();function S(V,K){if(f){const j={key:E.value,oldValue:V,newValue:K,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",j):new CustomEvent(cp,{detail:j}))}}function P(V){try{const K=n.getItem(E.value);if(V==null)S(K,null),n.removeItem(E.value);else{const j=_.write(V);K!==j&&(n.setItem(E.value,j),S(K,j))}}catch(K){d(K)}}function x(V){const K=V?V.newValue:n.getItem(E.value);if(K==null)return l&&g!=null&&n.setItem(E.value,_.write(g)),g;if(!V&&c){const j=_.read(K);return typeof c=="function"?c(j,g):v==="object"&&!Array.isArray(j)?{...g,...j}:j}else return typeof K!="string"?K:_.read(K)}function R(V){if(!(V&&V.storageArea!==n)){if(V&&V.key==null){m.value=g;return}if(!(V&&V.key!==E.value)){y();try{const K=_.write(m.value);(V===void 0||V?.newValue!==K)&&(m.value=x(V))}catch(K){d(K)}finally{V?Yt(T):T()}}}}function $(V){R(V.detail)}return m}const hI="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function pI(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=xt,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=e,f={auto:"",light:"light",dark:"dark",...e.modes||{}},h=ev({window:r}),d=he(()=>h.value?"dark":"light"),p=l||(o==null?gr(s):dI(o,s,i,{window:r,listenToStorageChanges:a})),m=he(()=>p.value==="auto"?d.value:p.value),E=Zy("updateHTMLAttrs",(y,T,O)=>{const A=typeof y=="string"?r?.document.querySelector(y):js(y);if(!A)return;const I=new Set,S=new Set;let P=null;if(T==="class"){const R=O.split(/\s/g);Object.values(f).flatMap($=>($||"").split(/\s/g)).filter(Boolean).forEach($=>{R.includes($)?I.add($):S.add($)})}else P={key:T,value:O};if(I.size===0&&S.size===0&&P===null)return;let x;u&&(x=r.document.createElement("style"),x.appendChild(document.createTextNode(hI)),r.document.head.appendChild(x));for(const R of I)A.classList.add(R);for(const R of S)A.classList.remove(R);P&&A.setAttribute(P.key,P.value),u&&(r.getComputedStyle(x).opacity,document.head.removeChild(x))});function g(y){var T;E(t,n,(T=f[y])!=null?T:y)}function v(y){e.onChanged?e.onChanged(y,g):g(y)}ke(m,v,{flush:"post",immediate:!0}),mf(()=>v(m.value));const _=he({get(){return c?p.value:m.value},set(y){p.value=y}});return Object.assign(_,{store:p,system:d,state:m})}function mI(e={}){const{valueDark:t="dark",valueLight:n=""}=e,s=pI({...e,onChanged:(o,a)=>{var l;e.onChanged?(l=e.onChanged)==null||l.call(e,o==="dark",a,o):a(o)},modes:{dark:t,light:n}}),r=he(()=>s.system.value);return he({get(){return s.value==="dark"},set(o){const a=o?"dark":"light";r.value===a?s.value="auto":s.value=a}})}function MI(e={}){const{document:t=Yy}=e;if(!t)return Ee("visible");const n=Ee(t.visibilityState);return Ut(t,"visibilitychange",()=>{n.value=t.visibilityState},{passive:!0}),n}function gI(e,t,n={}){const{root:s,rootMargin:r="0px",threshold:i=0,window:o=xt,immediate:a=!0}=n,l=zi(()=>o&&"IntersectionObserver"in o),c=he(()=>{const p=ae(e);return ri(p).map(js).filter(qy)});let u=an;const f=Ee(a),h=l.value?ke(()=>[c.value,js(s),f.value],([p,m])=>{if(u(),!f.value||!p.length)return;const E=new IntersectionObserver(t,{root:js(m),rootMargin:r,threshold:i});p.forEach(g=>g&&E.observe(g)),u=()=>{E.disconnect(),u=an}},{immediate:a,flush:"post"}):an,d=()=>{u(),h(),f.value=!1};return zn(d),{isSupported:l,isActive:f,pause(){u(),f.value=!1},resume(){f.value=!0},stop:d}}function xI(e,t={}){const{window:n=xt,scrollTarget:s,threshold:r=0,rootMargin:i,once:o=!1}=t,a=Ee(!1),{stop:l}=gI(e,c=>{let u=a.value,f=0;for(const h of c)h.time>=f&&(f=h.time,u=h.isIntersecting);a.value=u,o&&ZP(a,()=>{l()})},{root:s,window:n,threshold:r,rootMargin:ae(i)});return a}const _I={json:"application/json",text:"text/plain"};function up(e){return e&&jP(e,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}function Dl(e){return typeof Headers<"u"&&e instanceof Headers?Object.fromEntries(e.entries()):e}function DI(e,...t){var n,s;const r=typeof AbortController=="function";let i={},o={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1};const a={method:"GET",type:"text",payload:void 0};t.length>0&&(up(t[0])?o={...o,...t[0]}:i=t[0]),t.length>1&&up(t[1])&&(o={...o,...t[1]});const{fetch:l=(s=(n=xt)==null?void 0:n.fetch)!=null?s:globalThis?.fetch,initialData:c,timeout:u}=o,f=Ml(),h=Ml(),d=Ml(),p=Ee(!1),m=Ee(!1),E=Ee(!1),g=Ee(null),v=Ee(null),_=Ee(null),y=Ee(c||null),T=he(()=>r&&m.value);let O,A;const I=q=>{r&&(O?.abort(q),O=new AbortController,O.signal.onabort=()=>E.value=!0,i={...i,signal:O.signal})},S=q=>{m.value=q,p.value=!q};u&&(A=Qy(I,u,{immediate:!1}));let P=0;const x=async(q=!1)=>{var G,ee;I(),S(!0),_.value=null,g.value=null,E.value=!1,P+=1;const we=P,Ce={method:a.method,headers:{}},xe=ae(a.payload);if(xe){const ye=Dl(Ce.headers),U=Object.getPrototypeOf(xe);!a.payloadType&&xe&&(U===Object.prototype||Array.isArray(U))&&!(xe instanceof FormData)&&(a.payloadType="json"),a.payloadType&&(ye["Content-Type"]=(G=_I[a.payloadType])!=null?G:a.payloadType),Ce.body=a.payloadType==="json"?JSON.stringify(xe):xe}let kt=!1;const et={url:ae(e),options:{...Ce,...i},cancel:()=>{kt=!0}};if(o.beforeFetch&&Object.assign(et,await o.beforeFetch(et)),kt||!l)return S(!1),Promise.resolve(null);let tt=null;return A&&A.start(),l(et.url,{...Ce,...et.options,headers:{...Dl(Ce.headers),...Dl((ee=et.options)==null?void 0:ee.headers)}}).then(async ye=>{if(v.value=ye,g.value=ye.status,tt=await ye.clone()[a.type](),!ye.ok)throw y.value=c||null,new Error(ye.statusText);return o.afterFetch&&({data:tt}=await o.afterFetch({data:tt,response:ye,context:et,execute:x})),y.value=tt,f.trigger(ye),ye}).catch(async ye=>{let U=ye.message||ye.name;if(o.onFetchError&&({error:U,data:tt}=await o.onFetchError({data:tt,error:ye,response:v.value,context:et,execute:x})),_.value=U,o.updateDataOnError&&(y.value=tt),h.trigger(ye),q)throw ye;return null}).finally(()=>{we===P&&S(!1),A&&A.stop(),d.trigger(null)})},R=gr(o.refetch);ke([R,gr(e)],([q])=>q&&x(),{deep:!0});const $={isFinished:qn(p),isFetching:qn(m),statusCode:g,response:v,error:_,data:y,canAbort:T,aborted:E,abort:I,execute:x,onFetchResponse:f.on,onFetchError:h.on,onFetchFinally:d.on,get:V("GET"),put:V("PUT"),post:V("POST"),delete:V("DELETE"),patch:V("PATCH"),head:V("HEAD"),options:V("OPTIONS"),json:j("json"),text:j("text"),blob:j("blob"),arrayBuffer:j("arrayBuffer"),formData:j("formData")};function V(q){return(G,ee)=>{if(!m.value)return a.method=q,a.payload=G,a.payloadType=ee,Ne(a.payload)&&ke([R,gr(a.payload)],([we])=>we&&x(),{deep:!0}),{...$,then(we,Ce){return K().then(we,Ce)}}}}function K(){return new Promise((q,G)=>{QP(p).toBe(!0).then(()=>q($)).catch(G)})}function j(q){return()=>{if(!m.value)return a.type=q,{...$,then(G,ee){return K().then(G,ee)}}}}return o.immediate&&Promise.resolve().then(()=>x()),{...$,then(q,G){return K().then(q,G)}}}const fp=1;function yI(e,t={}){const{throttle:n=0,idle:s=200,onStop:r=an,onScroll:i=an,offset:o={left:0,right:0,top:0,bottom:0},observe:a={mutation:!1},eventListenerOptions:l={capture:!1,passive:!0},behavior:c="auto",window:u=xt,onError:f=S=>{console.error(S)}}=t,h=typeof a=="boolean"?{mutation:a}:a,d=Ee(0),p=Ee(0),m=he({get(){return d.value},set(S){g(S,void 0)}}),E=he({get(){return p.value},set(S){g(void 0,S)}});function g(S,P){var x,R,$,V;if(!u)return;const K=ae(e);if(!K)return;($=K instanceof Document?u.document.body:K)==null||$.scrollTo({top:(x=ae(P))!=null?x:E.value,left:(R=ae(S))!=null?R:m.value,behavior:ae(c)});const j=((V=K?.document)==null?void 0:V.documentElement)||K?.documentElement||K;m!=null&&(d.value=j.scrollLeft),E!=null&&(p.value=j.scrollTop)}const v=Ee(!1),_=Kn({left:!0,right:!1,top:!0,bottom:!1}),y=Kn({left:!1,right:!1,top:!1,bottom:!1}),T=S=>{v.value&&(v.value=!1,y.left=!1,y.right=!1,y.top=!1,y.bottom=!1,r(S))},O=GP(T,n+s),A=S=>{var P;if(!u)return;const x=((P=S?.document)==null?void 0:P.documentElement)||S?.documentElement||js(S),{display:R,flexDirection:$,direction:V}=getComputedStyle(x),K=V==="rtl"?-1:1,j=x.scrollLeft;y.left=j<d.value,y.right=j>d.value;const q=Math.abs(j*K)<=(o.left||0),G=Math.abs(j*K)+x.clientWidth>=x.scrollWidth-(o.right||0)-fp;R==="flex"&&$==="row-reverse"?(_.left=G,_.right=q):(_.left=q,_.right=G),d.value=j;let ee=x.scrollTop;S===u.document&&!ee&&(ee=u.document.body.scrollTop),y.top=ee<p.value,y.bottom=ee>p.value;const we=Math.abs(ee)<=(o.top||0),Ce=Math.abs(ee)+x.clientHeight>=x.scrollHeight-(o.bottom||0)-fp;R==="flex"&&$==="column-reverse"?(_.top=Ce,_.bottom=we):(_.top=we,_.bottom=Ce),p.value=ee},I=S=>{var P;if(!u)return;const x=(P=S.target.documentElement)!=null?P:S.target;A(x),v.value=!0,O(S),i(S)};return Ut(e,"scroll",n?KP(I,n,!0,!1):I,l),mf(()=>{try{const S=ae(e);if(!S)return;A(S)}catch(S){f(S)}}),h?.mutation&&e!=null&&e!==u&&e!==document&&Jy(e,()=>{const S=ae(e);S&&A(S)},{attributes:!0,childList:!0,subtree:!0}),Ut(e,"scrollend",T,l),{x:m,y:E,isScrolling:v,arrivedState:_,directions:y,measure(){const S=ae(e);u&&S&&A(S)}}}const vI={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function kI(e={}){const{reactive:t=!1,target:n=xt,aliasMap:s=vI,passive:r=!0,onEventFired:i=an}=e,o=Kn(new Set),a={toJSON(){return{}},current:o},l=t?Kn(a):a,c=new Set,u=new Set,f=new Set;function h(E,g){E in l&&(t?l[E]=g:l[E].value=g)}function d(){o.clear();for(const E of f)h(E,!1)}function p(E,g){var v,_;const y=(v=E.key)==null?void 0:v.toLowerCase(),O=[(_=E.code)==null?void 0:_.toLowerCase(),y].filter(Boolean);y&&(g?o.add(y):o.delete(y));for(const A of O)f.add(A),h(A,g);if(y==="shift"&&!g){const A=Array.from(u),I=A.indexOf("shift");A.forEach((S,P)=>{P>=I&&(o.delete(S),h(S,!1))}),u.clear()}else typeof E.getModifierState=="function"&&E.getModifierState("Shift")&&g&&[...o,...O].forEach(A=>u.add(A));y==="meta"&&!g?(c.forEach(A=>{o.delete(A),h(A,!1)}),c.clear()):typeof E.getModifierState=="function"&&E.getModifierState("Meta")&&g&&[...o,...O].forEach(A=>c.add(A))}Ut(n,"keydown",E=>(p(E,!0),i(E)),{passive:r}),Ut(n,"keyup",E=>(p(E,!1),i(E)),{passive:r}),Ut("blur",d,{passive:r}),Ut("focus",d,{passive:r});const m=new Proxy(l,{get(E,g,v){if(typeof g!="string")return Reflect.get(E,g,v);if(g=g.toLowerCase(),g in s&&(g=s[g]),!(g in l))if(/[+_-]/.test(g)){const y=g.split(/[+_-]/g).map(T=>T.trim());l[g]=he(()=>y.map(T=>ae(m[T])).every(Boolean))}else l[g]=Ee(!1);const _=Reflect.get(E,g,v);return t?ae(_):_}});return m}function FI(e={}){const{controls:t=!1,interval:n="requestAnimationFrame",immediate:s=!0}=e,r=it(new Date),i=()=>r.value=new Date,o=n==="requestAnimationFrame"?sI(i,{immediate:s}):YP(i,n,{immediate:s});return t?{now:r,...o}:r}function $I(e=null,t={}){var n,s,r;const{document:i=Yy,restoreOnUnmount:o=f=>f}=t,a=(n=i?.title)!=null?n:"",l=gr((s=e??i?.title)!=null?s:null),c=!!(e&&typeof e=="function");function u(f){if(!("titleTemplate"in t))return f;const h=t.titleTemplate||"%s";return typeof h=="function"?h(f):ae(h).replace(/%s/g,f)}return ke(l,(f,h)=>{f!==h&&i&&(i.title=u(f??""))},{immediate:!0}),t.observe&&!t.titleTemplate&&i&&!c&&Jy((r=i.head)==null?void 0:r.querySelector("title"),()=>{i&&i.title!==l.value&&(l.value=u(i.title))},{childList:!0}),zn(()=>{if(o){const f=o(a,l.value||"");f!=null&&i&&(i.title=f)}}),l}function VI(e,t,n,s={}){var r,i,o;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:h}=s,d=ze(),p=d?.emit||((r=d?.$emit)==null?void 0:r.bind(d))||((o=(i=d?.proxy)==null?void 0:i.$emit)==null?void 0:o.bind(d?.proxy));let m=c;t||(t="modelValue"),m=m||`update:${t.toString()}`;const E=_=>a?typeof a=="function"?a(_):aI(_):_,g=()=>kP(e[t])?E(e[t]):f,v=_=>{h?h(_)&&p(m,_):p(m,_)};if(l){const _=g(),y=it(_);let T=!1;return ke(()=>e[t],O=>{T||(T=!0,y.value=E(O),Yt(()=>T=!1))}),ke(y,O=>{!T&&(O!==e[t]||u)&&v(O)},{deep:u}),y}else return he({get(){return g()},set(_){v(_)}})}function HI(e={}){const{window:t=xt,...n}=e;return yI(t,n)}const tv=mI(),UI=zP(tv),EI=ev(),bI=Dt({__name:"App",setup(e){return bN({title:"Board - XCPCIO",meta:[{name:"theme-color",content:()=>tv.value?"#00aba9":"#ffffff"}],link:[{rel:"icon",type:"image/svg+xml",href:()=>EI.value?"/favicon-dark.svg":"/favicon.svg"}]}),(t,n)=>{const s=Gs("RouterView");return Ot(),Qn(s)}}});MP(bI,{routes:ZA(xP),base:"/"},e=>{Object.values([tw,ow,gw,yO]).forEach(t=>t.install?.(e)),e.app.use(JA),e.app.use(zO)});export{Mg as $,$I as A,DI as B,ke as C,Bi as D,AT as E,Ge as F,Qn as G,PI as H,$n as I,Ou as J,Xg as K,pi as L,bu as M,Yt as N,dI as O,TI as P,mO as Q,LI as R,T0 as S,h0 as T,es as U,TS as V,YP as W,nI as X,MI as Y,KP as Z,kI as _,Re as a,dO as a0,RI as a1,Ja as a2,LO as a3,CO as a4,SI as a5,yc as a6,Zt as a7,Yi as a8,SO as a9,wO as aa,_c as ab,ey as ac,$O as ad,NO as ae,St as af,Pa as ag,Ct as ah,WO as ai,ce as aj,Jc as ak,Kn as al,NI as am,Kp as an,wI as ao,Zc as ap,qn as aq,Hb as ar,Rg as as,zn as at,nu as au,ae as av,ze as aw,VI as ax,_n as b,Er as c,vu as d,Dt as e,Cu as f,HI as g,he as h,II as i,UI as j,Z0 as k,qg as l,it as m,Jn as n,Ot as o,xI as p,Jl as q,Gs as r,FI as s,Ea as t,Kt as u,nT as v,Ws as w,zo as x,La as y,Ne as z};
|