@xcpcio/board-app 0.76.2 → 0.76.3
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-Dlfh7XQR.js → Balloon.vue_vue_type_script_setup_true_lang-CiivhHtA.js} +1 -1
- package/dist/assets/{Board-CW8yOHRC.js → Board-wzoWgXpa.js} +1 -1
- package/dist/assets/{ContestStateBadge-epSjmdcu.js → ContestStateBadge-BRWXZNe4.js} +1 -1
- package/dist/assets/{Countdown-BG5y77oO.js → Countdown-DqW9j4q4.js} +1 -1
- package/dist/assets/{DataSourceInput.vue_vue_type_script_setup_true_lang-X3VXUfHp.js → DataSourceInput.vue_vue_type_script_setup_true_lang-CRgnB3_2.js} +1 -1
- package/dist/assets/{NavBar-BIlaBvNh.js → NavBar-BWpakDwl.js} +1 -1
- package/dist/assets/{Resolver-KhHeQDG7.js → Resolver-YBTWG4T5.js} +1 -1
- package/dist/assets/{RightArrowIcon-BVFiJpZo.js → RightArrowIcon-C9VFfy-R.js} +1 -1
- package/dist/assets/{TheInput.vue_vue_type_script_setup_true_lang-C27NaS0X.js → TheInput.vue_vue_type_script_setup_true_lang-CXjFVUJA.js} +1 -1
- package/dist/assets/{Tooltip.vue_vue_type_script_setup_true_lang-BAeWWG52.js → Tooltip.vue_vue_type_script_setup_true_lang-CZtrBaQ0.js} +1 -1
- package/dist/assets/{_...all_-BtPy69Rb.js → _...all_-B9k8Q2DR.js} +1 -1
- package/dist/assets/{_...all_-DxZgYtBx.js → _...all_-bd0XH0PR.js} +1 -1
- package/dist/assets/{board-layout-CAmt2jxI.js → board-layout-BMK0s3_z.js} +1 -1
- package/dist/assets/constant-BkpkGfD6.js +1 -0
- package/dist/assets/{dayjs-EDzvyf9e.js → dayjs-C3TTWpvI.js} +1 -1
- package/dist/assets/default-BCqXGDda.js +1 -0
- package/dist/assets/{headless-DL1aVfVC.js → headless-lPQLG0a2.js} +1 -1
- package/dist/assets/{index-DHyLkWwO.js → index-BCm7THhM.js} +1 -1
- package/dist/assets/{index-_YrXRQnG.js → index-BKgCHvE3.js} +1 -1
- package/dist/assets/index-BtjYAI3N.js +1 -0
- package/dist/assets/{index-C758FO5n.js → index-BzXhNmOZ.js} +2 -2
- package/dist/assets/{index-DdisZ-Uy.js → index-CYSG2BbL.js} +1 -1
- package/dist/assets/{index-DUozE9xD.js → index-D2BOxElt.js} +1 -1
- package/dist/assets/index-DWoY1v-z.js +1 -0
- package/dist/assets/{index-layout-BSszpCck.js → index-layout-De3FaqcQ.js} +1 -1
- package/dist/assets/{pagination-BGnjGZ4C.js → pagination-Cv8YKKFe.js} +1 -1
- package/dist/assets/{person-DstXIVLf.js → person-BRRHdjf0.js} +1 -1
- package/dist/assets/rank-CfgxrVeL.js +1 -0
- package/dist/assets/{use-vmodel-Djfj-mGU.js → use-vmodel-D9T6WDK7.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/constant-6n0KQZAM.js +0 -1
- package/dist/assets/default-bwJD_bgo.js +0 -1
- package/dist/assets/index-BTz1WG1Y.js +0 -1
- package/dist/assets/index-DjDSNR3b.js +0 -1
- package/dist/assets/rank-BWoI1IPk.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-BMK0s3_z.js"),window.__toAssetUrl("assets/NavBar-BWpakDwl.js"),window.__toAssetUrl("assets/Tooltip.vue_vue_type_script_setup_true_lang-CZtrBaQ0.js"),window.__toAssetUrl("assets/Tooltip-DzyPDwbo.css"),window.__toAssetUrl("assets/constant-BkpkGfD6.js"),window.__toAssetUrl("assets/_plugin-vue_export-helper-DlAUqK2U.js"),window.__toAssetUrl("assets/NavBar-aT2xEvYz.css"),window.__toAssetUrl("assets/default-BCqXGDda.js"),window.__toAssetUrl("assets/headless-lPQLG0a2.js"),window.__toAssetUrl("assets/index-layout-De3FaqcQ.js"),window.__toAssetUrl("assets/index-BCm7THhM.js"),window.__toAssetUrl("assets/RightArrowIcon-C9VFfy-R.js"),window.__toAssetUrl("assets/ContestStateBadge-BRWXZNe4.js"),window.__toAssetUrl("assets/use-vmodel-D9T6WDK7.js"),window.__toAssetUrl("assets/dayjs-C3TTWpvI.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_-B9k8Q2DR.js"),window.__toAssetUrl("assets/Countdown-DqW9j4q4.js"),window.__toAssetUrl("assets/TheInput.vue_vue_type_script_setup_true_lang-CXjFVUJA.js"),window.__toAssetUrl("assets/Countdown-CLZfeAst.css"),window.__toAssetUrl("assets/Balloon.vue_vue_type_script_setup_true_lang-CiivhHtA.js"),window.__toAssetUrl("assets/rank-CfgxrVeL.js"),window.__toAssetUrl("assets/person-BRRHdjf0.js"),window.__toAssetUrl("assets/Resolver-YBTWG4T5.js"),window.__toAssetUrl("assets/Resolver-DV9FleNP.css"),window.__toAssetUrl("assets/Board-wzoWgXpa.js"),window.__toAssetUrl("assets/pagination-Cv8YKKFe.js"),window.__toAssetUrl("assets/Board-BwQ18wc3.css"),window.__toAssetUrl("assets/index-CYSG2BbL.js"),window.__toAssetUrl("assets/DataSourceInput.vue_vue_type_script_setup_true_lang-CRgnB3_2.js"),window.__toAssetUrl("assets/index-DWoY1v-z.js"),window.__toAssetUrl("assets/index-D2BOxElt.js"),window.__toAssetUrl("assets/index-BKgCHvE3.js"),window.__toAssetUrl("assets/index-D-msPqye.css"),window.__toAssetUrl("assets/_...all_-bd0XH0PR.js"),window.__toAssetUrl("assets/_..-5I0UWqRG.css"),window.__toAssetUrl("assets/index-BtjYAI3N.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={},Rt=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"),l=document.querySelector("meta[property=csp-nonce]"),a=l?.nonce||l?.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,a&&d.setAttribute("nonce",a),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 l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o}return r.then(o=>{for(const l of o||[])l.status==="rejected"&&i(l.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),lv=e=>Dc(e)==="[object Date]",ko=e=>Dc(e)==="[object RegExp]",hl=e=>ye(e)&&Object.keys(e).length===0,rt=Object.assign,av=Object.create,Ie=(e=null)=>av(e);let Ef;const xc=()=>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,Fe=e=>typeof e=="function",Z=e=>typeof e=="string",$e=e=>typeof e=="boolean",Ce=e=>e!==null&&typeof e=="object",fv=e=>Ce(e)&&Fe(e.then)&&Fe(e.catch),dp=Object.prototype.toString,Dc=e=>dp.call(e),ye=e=>Dc(e)==="[object Object]",dv=e=>e==null?"":We(e)||ye(e)&&e.toString===dp?JSON.stringify(e,null,2):String(e);function kc(e,t=""){return e.reduce((n,s,r)=>r===0?n+s:n+t+s,"")}const Ji=e=>!Ce(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__"&&(Ce(s[i])&&!Ce(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 Fa(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 pl(e,t,n={}){const{domain:s,messages:r,args:i}=n,o=e,l=new SyntaxError(String(o));return l.code=e,t&&(l.location=t),l.domain=s,l}function mv(e){throw e}const hn=" ",gv="\r",dt=`
|
|
3
3
|
`,_v="\u2028",yv="\u2029";function vv(e){const t=e;let n=0,s=1,r=1,i=0;const o=N=>t[N]===gv&&t[N+1]===dt,l=N=>t[N]===dt,a=N=>t[N]===yv,c=N=>t[N]===_v,u=N=>o(N)||l(N)||a(N)||c(N),f=()=>n,h=()=>s,d=()=>r,p=()=>i,m=N=>o(N)||a(N)||c(N)?dt:t[N],E=()=>m(n),_=()=>m(n+i);function y(){return i=0,u(n)&&(s++,r=0),o(n)&&n++,n++,r++,t[n]}function g(){return o(n+i)&&i++,i++,t[n+i]}function v(){n=0,s=1,r=1,i=0}function T(N=0){i=N}function O(){const N=n+i;for(;N!==n;)y();i=0}return{index:f,line:h,column:d,peekOffset:p,charAt:m,currentChar:E,currentPeek:_,next:y,peek:g,reset:v,resetPeek:T,skipToPeek:O}}const On=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(),l=r(),a={currentType:13,offset:l,startLoc:o,endLoc:o,lastType:13,lastOffset:l,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},c=()=>a,{onError:u}=t;function f(b,C,M,...F){const H=c();if(C.column+=M,C.offset+=M,u){const X=n?Fa(H.startLoc,C):null,L=pl(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=Fa(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()===hn||b.currentPeek()===dt;)C+=b.currentPeek(),b.peek();return C}function E(b){const C=m(b);return b.skipToPeek(),C}function _(b){if(b===On)return!1;const C=b.charCodeAt(0);return C>=97&&C<=122||C>=65&&C<=90||C===95}function y(b){if(b===On)return!1;const C=b.charCodeAt(0);return C>=48&&C<=57}function g(b,C){const{currentType:M}=C;if(M!==2)return!1;m(b);const F=_(b.currentPeek());return b.resetPeek(),F}function v(b,C){const{currentType:M}=C;if(M!==2)return!1;m(b);const F=b.currentPeek()==="-"?b.peek():b.currentPeek(),H=y(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 N(b,C){const{currentType:M}=C;if(M!==8)return!1;m(b);const F=_(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==="{"?_(b.peek()):X==="@"||X==="|"||X===":"||X==="."||X===hn||!X?!1:X===dt?(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===hn||X===dt):L===hn?(b.peek(),M(!0,hn)):L===dt?(b.peek(),M(!0,dt)):!0},F=M();return C&&b.resetPeek(),F}function R(b,C){const M=b.currentChar();return M===On?On: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 G(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,G)}function q(b){const C=b.charCodeAt(0);return C>=48&&C<=57}function K(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 pe(b){return R(b,ee)}function Se(b){let C="",M="";for(;C=K(b);)M+=C;return M}function Ve(b){let C="";for(;;){const M=b.currentChar();if(M==="{"||M==="}"||M==="@"||M==="|"||!M)break;if(M===hn||M===dt)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!==On&&F!==hn&&F!==dt&&F!==" "){const H=te(b);return f(Ae.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,M+H),M+H}return b.currentChar()===On&&f(Ae.UNTERMINATED_CLOSING_BRACE,i(),0),M}function et(b){E(b);let C="";return b.currentChar()==="-"?(b.next(),C+=`-${Se(b)}`):C+=Se(b),b.currentChar()===On&&f(Ae.UNTERMINATED_CLOSING_BRACE,i(),0),C}function tt(b){return b!==Sf&&b!==dt}function ve(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===dt||F===On?(f(Ae.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),F===dt&&(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=pe(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!==hn&&b!==dt}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===hn?M:(M+=F,b.next(),C(M))};return C("")}function w(b){E(b);const C=p(b,"|");return E(b),C}function A(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=g(b,C))return M=h(C,4,kt(b)),E(b),M;if(X=v(b,C))return M=h(C,5,et(b)),E(b),M;if(L=T(b,C))return M=h(C,6,ve(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===dt||H===hn)&&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)):N(b,C)?(E(b),h(C,11,oe(b))):S(b,C)?(E(b),H==="{"?A(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 A(b,C)||d(C);if(C.inLinked)return D(b,C)||d(C);switch(b.currentChar()){case"{":return A(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,Ve(b));break}}return M}function B(){const{currentType:b,offset:C,startLoc:M,endLoc:F}=a;return a.lastType=b,a.lastOffset=C,a.lastStartLoc=M,a.lastEndLoc=F,a.offset=r(),a.startLoc=i(),s.currentChar()===On?h(a,13):W(s,a)}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(_,y,g,v,...T){const O=_.currentPosition();if(O.offset+=v,O.column+=v,n){const N=t?Fa(g,O):null,I=pl(y,N,{domain:Sv,args:T});n(I)}}function r(_,y,g){const v={type:_};return t&&(v.start=y,v.end=y,v.loc={start:g,end:g}),v}function i(_,y,g,v){t&&(_.end=y,_.loc&&(_.loc.end=g))}function o(_,y){const g=_.context(),v=r(3,g.offset,g.startLoc);return v.value=y,i(v,_.currentOffset(),_.currentPosition()),v}function l(_,y){const g=_.context(),{lastOffset:v,lastStartLoc:T}=g,O=r(5,v,T);return O.index=parseInt(y,10),_.nextToken(),i(O,_.currentOffset(),_.currentPosition()),O}function a(_,y){const g=_.context(),{lastOffset:v,lastStartLoc:T}=g,O=r(4,v,T);return O.key=y,_.nextToken(),i(O,_.currentOffset(),_.currentPosition()),O}function c(_,y){const g=_.context(),{lastOffset:v,lastStartLoc:T}=g,O=r(9,v,T);return O.value=y.replace(wv,Cv),_.nextToken(),i(O,_.currentOffset(),_.currentPosition()),O}function u(_){const y=_.nextToken(),g=_.context(),{lastOffset:v,lastStartLoc:T}=g,O=r(8,v,T);return y.type!==11?(s(_,Ae.UNEXPECTED_EMPTY_LINKED_MODIFIER,g.lastStartLoc,0),O.value="",i(O,v,T),{nextConsumeToken:y,node:O}):(y.value==null&&s(_,Ae.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,pn(y)),O.value=y.value||"",i(O,_.currentOffset(),_.currentPosition()),{node:O})}function f(_,y){const g=_.context(),v=r(7,g.offset,g.startLoc);return v.value=y,i(v,_.currentOffset(),_.currentPosition()),v}function h(_){const y=_.context(),g=r(6,y.offset,y.startLoc);let v=_.nextToken();if(v.type===8){const T=u(_);g.modifier=T.node,v=T.nextConsumeToken||_.nextToken()}switch(v.type!==9&&s(_,Ae.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,pn(v)),v=_.nextToken(),v.type===2&&(v=_.nextToken()),v.type){case 10:v.value==null&&s(_,Ae.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,pn(v)),g.key=f(_,v.value||"");break;case 4:v.value==null&&s(_,Ae.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,pn(v)),g.key=a(_,v.value||"");break;case 5:v.value==null&&s(_,Ae.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,pn(v)),g.key=l(_,v.value||"");break;case 6:v.value==null&&s(_,Ae.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,pn(v)),g.key=c(_,v.value||"");break;default:{s(_,Ae.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const T=_.context(),O=r(7,T.offset,T.startLoc);return O.value="",i(O,T.offset,T.startLoc),g.key=O,i(g,T.offset,T.startLoc),{nextConsumeToken:v,node:g}}}return i(g,_.currentOffset(),_.currentPosition()),{node:g}}function d(_){const y=_.context(),g=y.currentType===1?_.currentOffset():y.offset,v=y.currentType===1?y.endLoc:y.startLoc,T=r(2,g,v);T.items=[];let O=null;do{const S=O||_.nextToken();switch(O=null,S.type){case 0:S.value==null&&s(_,Ae.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,pn(S)),T.items.push(o(_,S.value||""));break;case 5:S.value==null&&s(_,Ae.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,pn(S)),T.items.push(l(_,S.value||""));break;case 4:S.value==null&&s(_,Ae.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,pn(S)),T.items.push(a(_,S.value||""));break;case 6:S.value==null&&s(_,Ae.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,pn(S)),T.items.push(c(_,S.value||""));break;case 7:{const P=h(_);T.items.push(P.node),O=P.nextConsumeToken||null;break}}}while(y.currentType!==13&&y.currentType!==1);const N=y.currentType===1?y.lastOffset:_.currentOffset(),I=y.currentType===1?y.lastEndLoc:_.currentPosition();return i(T,N,I),T}function p(_,y,g,v){const T=_.context();let O=v.items.length===0;const N=r(1,y,g);N.cases=[],N.cases.push(v);do{const I=d(_);O||(O=I.items.length===0),N.cases.push(I)}while(T.currentType!==13);return O&&s(_,Ae.MUST_HAVE_MESSAGES_IN_PLURAL,g,0),i(N,_.currentOffset(),_.currentPosition()),N}function m(_){const y=_.context(),{offset:g,startLoc:v}=y,T=d(_);return y.currentType===13?T:p(_,g,v,T)}function E(_){const y=Tv(_,rt({},e)),g=y.context(),v=r(0,g.offset,g.startLoc);return t&&v.loc&&(v.loc.source=_),v.body=m(y),e.onCacheKey&&(v.cacheKey=e.onCacheKey(_)),g.currentType!==13&&s(y,Ae.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,_[g.offset]||""),i(v,y.currentOffset(),y.currentPosition()),v}return{parse:E}}function pn(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++)Fc(e[n],t)}function Fc(e,t){switch(e.type){case 1:wf(e.cases,t),t.helper("plural");break;case 2:wf(e.items,t);break;case 6:{Fc(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&&Fc(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=kc(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 l=()=>o;function a(m,E){o.code+=m}function c(m,E=!0){const _=E?s:"";a(r?_+" ".repeat(m):_)}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:l,push:a,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||[],l=Iv(e,{filename:s,breakLineCode:r,needIndent:i});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(i),o.length>0&&(l.push(`const { ${kc(o.map(u=>`${u}: _${u}`),", ")} } = ctx`),l.newline()),l.push("return "),_r(l,e),l.deindent(i),l.push("}"),delete e.helpers;const{code:a,map:c}=l.context();return{ast:e,code:a,map:c?c.toJSON():void 0}};function kv(e,t={}){const n=rt({},t),s=!!n.jit,r=!!n.minify,i=n.optimize==null?!0:n.optimize,l=Ov(n).parse(e);return s?(i&&Pv(l),r&&or(l),{ast:l,code:""}):(Nv(l,n),Dv(l,n))}function Fv(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(xc().__INTLIFY_PROD_DEVTOOLS__=!1)}function En(e){return Ce(e)&&$c(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 $c(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 la(e){return n=>Wv(n,e)}function Wv(e,t){const n=$v(t);if(n==null)throw ii(0);if($c(n)===1){const i=Vv(n);return e.plural(i.reduce((o,l)=>[...o,Of(e,l)],[]))}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,$a(e,i)],[]);return e.normalize(s)}}function $a(e,t){const n=$c(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($a(e,i),r?$a(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)){$e(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}),l=la(i);return o?l:eo[s]=l}else{const n=e.cacheKey;if(n){const s=eo[n];return s||(eo[n]=la(e))}else return la(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 kn={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 Fn(e){return pl(e,null,void 0)}function Vc(e,t){return t.locale!=null?Af(t.locale):Af(e.locale)}let aa;function Af(e){if(Z(e))return e;if(Fe(e)){if(e.resolvedOnce&&aa!=null)return aa;if(e.constructor.name==="Function"){const t=e();if(fv(t))throw Fn(kn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return aa=t}else throw Fn(kn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Fn(kn.NOT_SUPPORT_LOCALE_TYPE)}function Zv(e,t,n){return[...new Set([n,...We(t)?t:Ce(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 l=We(t)||!ye(t)?t:t.default?t.default:null;o=Z(l)?[l]:l,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&&$e(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)||ye(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 lE(e){const t=[];let n=-1,s=0,r=0,i,o,l,a,c,u,f;const h=[];h[0]=()=>{o===void 0?o=l:o+=l},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++,l="\\"+p,h[0](),!0}for(;s!==null;)if(n++,i=e[n],!(i==="\\"&&d())){if(a=iE(i),f=Ss[s],c=f[a]||f.l||8,c===8||(s=c[0],c[1]!==void 0&&(u=h[c[1]],u&&(l=i,u()===!1))))return;if(s===7)return t}}const Pf=new Map;function aE(e,t){return Ce(e)?e[t]:null}function cE(e,t){if(!Ce(e))return null;let n=Pf.get(t);if(n||(n=lE(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)&&En(r))return null;const l=r[o];if(l===void 0||Fe(r))return null;r=l,i++}return r}const uE="11.2.2",ml=-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"&&Ce(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Z(e)?e.toLowerCase():t==="vnode"&&Ce(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Z(e)?Rf(e):t==="vnode"&&Ce(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=Fe(e.onWarn)?e.onWarn:rv,n=Z(e.version)?e.version:uE,s=Z(e.locale)||Fe(e.locale)?e.locale:Fo,r=Fe(s)?Fo:s,i=We(e.fallbackLocale)||ye(e.fallbackLocale)||Z(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,o=ye(e.messages)?e.messages:ca(r),l=ye(e.datetimeFormats)?e.datetimeFormats:ca(r),a=ye(e.numberFormats)?e.numberFormats:ca(r),c=rt(Ie(),e.modifiers,fE()),u=e.pluralRules||Ie(),f=Fe(e.missing)?e.missing:null,h=$e(e.missingWarn)||ko(e.missingWarn)?e.missingWarn:!0,d=$e(e.fallbackWarn)||ko(e.fallbackWarn)?e.fallbackWarn:!0,p=!!e.fallbackFormat,m=!!e.unresolving,E=Fe(e.postTranslation)?e.postTranslation:null,_=ye(e.processor)?e.processor:null,y=$e(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter,v=Fe(e.messageCompiler)?e.messageCompiler:Sp,T=Fe(e.messageResolver)?e.messageResolver:wp||aE,O=Fe(e.localeFallbacker)?e.localeFallbacker:Cp||Zv,N=Ce(e.fallbackContext)?e.fallbackContext:void 0,I=e,S=Ce(I.__datetimeFormatters)?I.__datetimeFormatters:new Map,P=Ce(I.__numberFormatters)?I.__numberFormatters:new Map,x=Ce(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:_,warnHtmlMessage:y,escapeParameter:g,messageCompiler:v,messageResolver:T,localeFallbacker:O,fallbackContext:N,onWarn:t,__meta:x};return R.datetimeFormats=l,R.numberFormats=a,R.__datetimeFormatters=S,R.__numberFormatters=P,__INTLIFY_PROD_DEVTOOLS__&&Qv(R,n,x),R}const ca=e=>({[e]:Ie()});function Hc(e,t,n,s,r){const{missing:i,onWarn:o}=e;if(i!==null){const l=i(e,n,t,r);return Z(l)?l: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:l}=e,[a,c,u,f]=Va(...t),h=$e(u.missingWarn)?u.missingWarn:e.missingWarn;$e(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const d=!!u.part,p=Vc(e,u),m=o(e,r,p);if(!Z(a)||a==="")return new Intl.DateTimeFormat(p,f).format(c);let E={},_,y=null;const g="datetime format";for(let O=0;O<m.length&&(_=m[O],E=n[_]||{},y=E[a],!ye(y));O++)Hc(e,a,_,h,g);if(!ye(y)||!Z(_))return s?ml:a;let v=`${_}__${a}`;hl(f)||(v=`${v}__${JSON.stringify(f)}`);let T=l.get(v);return T||(T=new Intl.DateTimeFormat(_,rt({},y,f)),l.set(v,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 Va(...e){const[t,n,s,r]=e,i=Ie();let o=Ie(),l;if(Z(t)){const a=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!a)throw Fn(kn.INVALID_ISO_DATE_ARGUMENT);const c=a[3]?a[3].trim().startsWith("T")?`${a[1].trim()}${a[3].trim()}`:`${a[1].trim()}T${a[3].trim()}`:a[1].trim();l=new Date(c);try{l.toISOString()}catch{throw Fn(kn.INVALID_ISO_DATE_ARGUMENT)}}else if(lv(t)){if(isNaN(t.getTime()))throw Fn(kn.INVALID_DATE_ARGUMENT);l=t}else if(Ye(t))l=t;else throw Fn(kn.INVALID_ARGUMENT);return Z(n)?i.key=n:ye(n)&&Object.keys(n).forEach(a=>{Np.includes(a)?o[a]=n[a]:i[a]=n[a]}),Z(s)?i.locale=s:ye(s)&&(o=s),ye(r)&&(o=r),[i.key||"",l,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:l}=e,[a,c,u,f]=Ha(...t),h=$e(u.missingWarn)?u.missingWarn:e.missingWarn;$e(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const d=!!u.part,p=Vc(e,u),m=o(e,r,p);if(!Z(a)||a==="")return new Intl.NumberFormat(p,f).format(c);let E={},_,y=null;const g="number format";for(let O=0;O<m.length&&(_=m[O],E=n[_]||{},y=E[a],!ye(y));O++)Hc(e,a,_,h,g);if(!ye(y)||!Z(_))return s?ml:a;let v=`${_}__${a}`;hl(f)||(v=`${v}__${JSON.stringify(f)}`);let T=l.get(v);return T||(T=new Intl.NumberFormat(_,rt({},y,f)),l.set(v,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 Ha(...e){const[t,n,s,r]=e,i=Ie();let o=Ie();if(!Ye(t))throw Fn(kn.INVALID_ARGUMENT);const l=t;return Z(n)?i.key=n:ye(n)&&Object.keys(n).forEach(a=>{Pp.includes(a)?o[a]=n[a]:i[a]=n[a]}),Z(s)?i.locale=s:ye(s)&&(o=s),ye(r)&&(o=r),[i.key||"",l,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?"":kc(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=Ce(e.pluralRules)&&Z(t)&&Fe(e.pluralRules[t])?e.pluralRules[t]:$f,r=Ce(e.pluralRules)&&Z(t)&&Fe(e.pluralRules[t])?$f:void 0,i=_=>_[s(n,_.length,r)],o=e.list||[],l=_=>o[_],a=e.named||Ie();Ye(e.pluralIndex)&&AE(n,a);const c=_=>a[_];function u(_,y){const g=Fe(e.messages)?e.messages(_,!!y):Ce(e.messages)?e.messages[_]:!1;return g||(e.parent?e.parent.message(_):TE)}const f=_=>e.modifiers?e.modifiers[_]:bE,h=ye(e.processor)&&Fe(e.processor.normalize)?e.processor.normalize:wE,d=ye(e.processor)&&Fe(e.processor.interpolate)?e.processor.interpolate:CE,p=ye(e.processor)&&Z(e.processor.type)?e.processor.type:SE,E={list:l,named:c,plural:i,linked:(_,...y)=>{const[g,v]=y;let T="text",O="";y.length===1?Ce(g)?(O=g.modifier||O,T=g.type||T):Z(g)&&(O=g||O):y.length===2&&(Z(g)&&(O=g||O),Z(v)&&(T=v||T));const N=u(_,!0)(E),I=T==="vnode"&&We(N)&&O?N[0]:N;return O?f(O)(I,T):I},message:u,type:p,interpolate:d,normalize:h,values:rt(Ie(),o,a)};return E}const Vf=()=>"",Wt=e=>Fe(e);function Hf(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:r,messageCompiler:i,fallbackLocale:o,messages:l}=e,[a,c]=Ua(...t),u=$e(c.missingWarn)?c.missingWarn:e.missingWarn,f=$e(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,h=$e(c.escapeParameter)?c.escapeParameter:e.escapeParameter,d=!!c.resolvedMessage,p=Z(c.default)||$e(c.default)?$e(c.default)?i?a:()=>a:c.default:n?i?a:()=>a:null,m=n||p!=null&&(Z(p)||Fe(p)),E=Vc(e,c);h&&PE(c);let[_,y,g]=d?[a,E,l[E]||Ie()]:Ip(e,a,E,o,f,u),v=_,T=a;if(!d&&!(Z(v)||En(v)||Wt(v))&&m&&(v=p,T=v),!d&&(!(Z(v)||En(v)||Wt(v))||!Z(y)))return r?ml:a;let O=!1;const N=()=>{O=!0},I=Wt(v)?v:Rp(e,a,y,v,T,N);if(O)return v;const S=LE(e,y,g,c),P=NE(S),x=IE(e,I,P);let R=s?s(x,a):x;if(h&&Z(R)&&(R=cv(R)),__INTLIFY_PROD_DEVTOOLS__){const $={timestamp:Date.now(),key:Z(a)?a:Wt(v)?v.key:"",locale:y||(Wt(v)?v.locale:""),format:Z(v)?v:Wt(v)?v.source:"",message:R};$.meta=rt({},e.__meta,gE()||{}),Yv($)}return R}function PE(e){We(e.list)?e.list=e.list.map(t=>Z(t)?bf(t):t):Ce(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:l,messageResolver:a,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=a(f,t))===null&&(d=f[t]),!(Z(d)||En(d)||Wt(d)));m++)if(!EE(h,u)){const E=Hc(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:l}=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 a=o(s,RE(e,n,r,s,l,i));return a.locale=n,a.key=t,a.source=s,a}function IE(e,t,n){return t(n)}function Ua(...e){const[t,n,s]=e,r=Ie();if(!Z(t)&&!Ye(t)&&!Wt(t)&&!En(t))throw Fn(kn.INVALID_ARGUMENT);const i=Ye(t)?String(t):(Wt(t),t);return Ye(n)?r.plural=n:Z(n)?r.default=n:ye(n)&&!hl(n)?r.named=n:We(n)&&(r.list=n),Ye(s)?r.plural=s:Z(s)?r.default=s:ye(s)&&rt(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:l,fallbackWarn:a,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,l,a,c);m=o(E,d)}if(Z(m)||En(m)){let E=!1;const y=Rp(e,d,t,m,d,()=>{E=!0});return E?Vf:y}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 lt(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ue={},Ds=[],it=()=>{},Ls=()=>!1,ws=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),gl=e=>e.startsWith("onUpdate:"),ae=Object.assign,_l=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ME=Object.prototype.hasOwnProperty,Ee=(e,t)=>ME.call(e,t),z=Array.isArray,ks=e=>Zs(e)==="[object Map]",Cs=e=>Zs(e)==="[object Set]",Ba=e=>Zs(e)==="[object Date]",Lp=e=>Zs(e)==="[object RegExp]",se=e=>typeof e=="function",re=e=>typeof e=="string",Nt=e=>typeof e=="symbol",Te=e=>e!==null&&typeof e=="object",yl=e=>(Te(e)||se(e))&&se(e.then)&&se(e.catch),Uc=Object.prototype.toString,Zs=e=>Uc.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,$n=lt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),xp=lt("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),vl=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},xE=/-\w/g,Me=vl(e=>e.replace(xE,t=>t.slice(1).toUpperCase())),DE=/\B([A-Z])/g,_t=vl(e=>e.replace(DE,"-$1").toLowerCase()),Os=vl(e=>e.charAt(0).toUpperCase()+e.slice(1)),Fs=vl(e=>e?`on${Os(e)}`:""),mt=(e,t)=>!Object.is(e,t),$s=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Bc=(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},li=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",jc=lt(WE),GE=jc,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((l,a)=>a%2===1);s=s.filter((l,a)=>a%2===0);let i=0;const o=[];for(let l=0;l<s.length;l++)if(i+=s[l].length+(r[l]&&r[l].length||0),i>=t){for(let a=l-Bf;a<=l+Bf||n>i;a++){if(a<0||a>=s.length)continue;const c=a+1;o.push(`${c}${" ".repeat(Math.max(3-String(c).length,0))}| ${s[a]}`);const u=s[a].length,f=r[a]&&r[a].length||0;if(a===l){const h=t-(i-(u+f)),d=Math.max(1,n>i?u-h:n-t);o.push(" | "+" ".repeat(h)+"^".repeat(d))}else if(a>l){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),a())),e.components.length&&(Oa(e.components,"component",n),(e.directives.length||e.temps>0)&&a()),e.directives.length&&(Oa(e.directives,"directive",n),e.temps>0&&a()),e.filters&&e.filters.length&&(a(),Oa(e.filters,"filter",n),a()),e.temps>0){r("let ");for(let y=0;y<e.temps;y++)r(`${y>0?", ":""}_temp${y}`)}return(e.components.length||e.directives.length||e.temps)&&(r(`
|
|
13
13
|
`,0),a()),u||r("return "),e.codegenNode?vt(e.codegenNode,n):r("null"),d&&(l(),r("}")),l(),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:l,ssrRuntimeModuleName:a}=t,c=l,u=Array.from(e.helpers);if(u.length>0&&(r(`const _Vue = ${c}
|
|
14
14
|
`,-1),e.hoists.length)){const f=[kl,Fl,Dr,$l,Iu].filter(h=>u.includes(h)).map(P_).join(", ");r(`const { ${f} } = _Vue
|
|
15
|
-
`,-1)}mC(e.hoists,t),i(),r("return ")}function Oa(e,t,{helper:n,push:s,newline:r,isTS:i}){const o=n(t==="filter"?Bl:t==="component"?Vl:Ul);for(let l=0;l<e.length;l++){let a=e[l];const c=a.endsWith("__self");c&&(a=a.slice(0,-6)),s(`const ${Pr(a,t)} = ${o}(${JSON.stringify(a)}${c?", true":""})${i?"!":""}`),l<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} = `),vt(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 l=e[o];re(l)?r(l,-3):z(l)?Wu(l,t):vt(l,t),o<e.length-1&&(n?(s&&r(","),i()):s&&r(", "))}}function vt(e,t){if(re(e)){t.push(e,-3);return}if(Nt(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:vt(e.codegenNode,t);break;case 2:gC(e,t);break;case 4:R_(e,t);break;case 5:_C(e,t);break;case 12:vt(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(Jl),n(`${s(Gi)}(`),vt(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):vt(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(Jl),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:l,patchFlag:a,dynamicProps:c,directives:u,isBlock:f,disableTracking:h,isComponent:d}=e;let p;a&&(p=String(a)),u&&n(s(jl)+"("),f&&n(`(${s(ys)}(${h?"true":""}), `),r&&n(Jl);const m=f?zs(t.inSSR,d):Ys(t.inSSR,d);n(s(m)+"(",-2,e),Qi(bC([i,o,l,p,c]),t),n(")"),f&&n(")"),u&&(n(", "),vt(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(Jl),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 l=o.length>1||!1;n(l?"{":"{ "),l&&s();for(let a=0;a<o.length;a++){const{key:c,value:u}=o[a];yC(c,t),n(": "),vt(u,t),a<o.length-1&&(n(","),i())}l&&r(),n(l?"}":" }")}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:l,newline:a,isSlot:c}=e;c&&n(`_${Xs[Xl]}(`),n("(",-2,e),z(i)?Qi(i,t):i&&vt(i,t),n(") => "),(a||l)&&(n("{"),s()),o?(a&&n("return "),z(o)?Wu(o,t):vt(o,t)):l&&vt(l,t),(a||l)&&(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:l,deindent:a,newline:c}=t;if(n.type===4){const f=!Ki(n.content);f&&o("("),R_(n,t),f&&o(")")}else o("("),vt(n,t),o(")");i&&l(),t.indentLevel++,i||o(" "),o("? "),vt(s,t),t.indentLevel--,i&&c(),i||o(" "),o(": ");const u=r.type===19;u||t.indentLevel++,vt(r,t),u||t.indentLevel--,i&&a(!0)}function AC(e,t){const{push:n,helper:s,indent:r,deindent:i,newline:o}=t,{needPauseTracking:l,needArraySpread:a}=e;a&&n("[...("),n(`_cache[${e.index}] || (`),l&&(r(),n(`${s(Ti)}(-1`),e.inVOnce&&n(", true"),n("),"),o(),n("(")),n(`_cache[${e.index}] = `),vt(e.value,t),l&&(n(`).cacheIndex = ${e.index},`),o(),n(`${s(Ti)}(1),`),o(),n(`_cache[${e.index}]`),i()),n(")"),a&&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=St(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 l=o.indexOf(s),a=0;for(;l-->=0;){const c=o[l];c&&c.type===9&&(a+=c.branches.length)}return()=>{if(i)s.codegenNode=Jd(r,a,n);else{const c=IC(s.codegenNode);c.alternate=Jd(r,a+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(xe(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(xe(30,e.loc)),n.removeNode();const l=zd(e,t);o.branches.push(l);const a=s&&s(o,l,!1);Xi(l,n),a&&a(),n.currentNode=null}else n.onError(xe(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&&!St(e,"for")?e.children:[e],userKey:qi(e,"key"),isTemplateIf:n}}function Jd(e,t,n){return e.condition?tl(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 a=o.codegenNode;return wi(a,r,n),a}else return Or(n,s(wr),Ht([r]),i,64,void 0,void 0,!0,!1,!1,e.loc);else{const a=o.codegenNode,c=__(a);return c.type===13&&Yl(c,n),wi(c,r,n),a}}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(Wl),[i.source]),l=Nr(e),a=St(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,_=Si(e)?e:l&&e.children.length===1&&Si(e.children[0])?e.children[0]:null;if(_?(p=_.codegenNode,l&&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,l&&f&&wi(p,f,n),p.isBlock!==!h&&(p.isBlock?(r(ys),r(zs(n.inSSR,p.isComponent))):r(Ys(n.inSSR,p.isComponent))),p.isBlock=!h,p.isBlock?(s(ys),s(zs(n.inSSR,p.isComponent))):s(Ys(n.inSSR,p.isComponent))),a){const y=Qs(sl(i.parseResult,[ie("_cached")]));y.body=r_([Xt(["const _memo = (",a.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(y,ie("_cache"),ie(String(n.cached.length))),n.cached.push(null)}else o.arguments.push(Qs(sl(i.parseResult),p,!0))}})});function D_(e,t,n,s){if(!t.exp){n.onError(xe(31,t.loc));return}const r=t.forParseResult;if(!r){n.onError(xe(32,t.loc));return}Gu(r);const{addIdentifiers:i,removeIdentifiers:o,scopes:l}=n,{source:a,value:c,key:u,index:f}=r,h={type:11,loc:t.loc,source:a,valueAlias:c,keyAlias:u,objectIndexAlias:f,parseResult:r,children:Nr(e)?e.children:[e]};n.replaceNode(h),l.vFor++;const d=s&&s(h);return()=>{l.vFor--,d&&d()}}function Gu(e,t){e.finalized||(e.finalized=!0)}function sl({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=St(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=St(e,"for"))){const s=n.forParseResult;if(s){Gu(s);const{value:r,key:i,index:o}=s,{addIdentifiers:l,removeIdentifiers:a}=t;return r&&l(r),i&&l(i),o&&l(o),()=>{r&&a(r),i&&a(i),o&&a(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(Xl);const{children:s,loc:r}=e,i=[],o=[];let l=t.scopes.vSlot>0||t.scopes.vFor>0;const a=St(e,"slot",!0);if(a){const{arg:E,exp:_}=a;E&&!Ct(E)&&(l=!0),i.push(qe(E||ie("default",!0),n(_,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 _=s[E];let y;if(!Nr(_)||!(y=St(_,"slot",!0))){_.type!==3&&f.push(_);continue}if(a){t.onError(xe(37,y.loc));break}c=!0;const{children:g,loc:v}=_,{arg:T=ie("default",!0),exp:O,loc:N}=y;let I;Ct(T)?I=T?T.content:"default":l=!0;const S=St(_,"for"),P=n(O,S,g,v);let x,R;if(x=St(_,"if"))l=!0,o.push(tl(x.exp,po(T,P,d++),eh));else if(R=St(_,/^else(?:-if)?$/,!0)){let $=E,V;for(;$--&&(V=s[$],!!Hu(V)););if(V&&Nr(V)&&St(V,/^(?:else-)?if$/)){let G=o[o.length-1];for(;G.alternate.type===19;)G=G.alternate;G.alternate=R.exp?tl(R.exp,po(T,P,d++),eh):po(T,P,d++)}else t.onError(xe(30,R.loc))}else if(S){l=!0;const $=S.forParseResult;$?(Gu($),o.push(Qe(t.helper(Wl),[$.source,Qs(sl($),po(T,P),!0)]))):t.onError(xe(32,S.loc))}else{if(I){if(h.has(I)){t.onError(xe(38,N));continue}h.add(I),I==="default"&&(u=!0)}i.push(qe(T,P))}}if(!a){const E=(_,y)=>{const g=n(_,void 0,y,r);return t.compatConfig&&(g.isNonScopedSlot=!0),qe("default",g)};c?f.length&&!f.every(zl)&&(u?t.onError(xe(39,f[0].loc)):i.push(E(void 0,f))):i.push(E(void 0,s))}const p=l?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,ps(o)])),{slots:m,hasDynamicSlots:l}}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 l=Te(o)&&o.callee===Hl;let a,c,u=0,f,h,d,p=l||o===pr||o===Dl||!i&&(s==="svg"||s==="foreignObject"||s==="math");if(r.length>0){const m=Ku(e,t,void 0,i,l);a=m.props,u=m.patchFlag,h=m.dynamicPropNames;const E=m.directives;d=E&&E.length?ps(E.map(_=>U_(_,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:_}=F_(e,t);c=E,_&&(u|=1024)}else if(e.children.length===1&&o!==pr){const E=e.children[0],_=E.type,y=_===5||_===8;y&&Mt(E,t)===0&&(u|=1),y||_===2?c=E:c=e.children}else c=e.children;h&&h.length&&(f=kC(h)),e.codegenNode=Or(t,o,a,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=_c(s),i=qi(e,"is",!1,!0);if(i)if(r||Bs("COMPILER_IS_ON_ELEMENT",t)){let l;if(i.type===6?l=i.value&&ie(i.value.content,!0):(l=i.exp,l||(l=ie("is",!1,i.arg.loc))),l)return Qe(t.helper(Hl),[l])}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(Vl),t.components.add(s),Pr(s,"component"))}function Ku(e,t,n=e.props,s,r,i=!1){const{tag:o,loc:l,children:a}=e;let c=[];const u=[],f=[],h=a.length>0;let d=!1,p=0,m=!1,E=!1,_=!1,y=!1,g=!1,v=!1;const T=[],O=P=>{c.length&&(u.push(Ht(th(c),l)),c=[]),P&&u.push(P)},N=()=>{t.scopes.vFor>0&&c.push(qe(ie("ref_for",!0),ie("true")))},I=({key:P,value:x})=>{if(Ct(P)){const R=P.content,$=ws(R);if($&&(!s||r)&&R.toLowerCase()!=="onclick"&&R!=="onUpdate:modelValue"&&!$n(R)&&(y=!0),$&&$n(R)&&(v=!0),$&&x.type===14&&(x=x.arguments[0]),x.type===20||(x.type===4||x.type===8)&&Mt(x,t)>0)return;R==="ref"?m=!0:R==="class"?E=!0:R==="style"?_=!0:R!=="key"&&!T.includes(R)&&T.push(R),s&&(R==="class"||R==="style")&&!T.includes(R)&&T.push(R)}else g=!0};for(let P=0;P<n.length;P++){const x=n[P];if(x.type===6){const{loc:R,name:$,nameLoc:V,value:G}=x;let j=!0;if($==="ref"&&(m=!0,N()),$==="is"&&(_c(o)||G&&G.content.startsWith("vue:")||Bs("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(qe(ie($,!0,V),ie(G?G.content:"",j,G?G.loc:R)))}else{const{name:R,arg:$,exp:V,loc:G,modifiers:j}=x,q=R==="bind",K=R==="on";if(R==="slot"){s||t.onError(xe(40,G));continue}if(R==="once"||R==="memo"||R==="is"||q&&ds($,"is")&&(_c(o)||Bs("COMPILER_IS_ON_ELEMENT",t))||K&&i)continue;if((q&&ds($,"key")||K&&h&&ds($,"vue:before-update"))&&(d=!0),q&&ds($,"ref")&&N(),!$&&(q||K)){if(g=!0,V)if(q){if(O(),Bs("COMPILER_V_BIND_OBJECT_ORDER",t)){u.unshift(V);continue}N(),O(),u.push(V)}else O({type:14,loc:G,callee:t.helper(ql),arguments:s?[V]:[V,"true"]});else t.onError(xe(q?34:35,G));continue}q&&j.some(pe=>pe.content==="prop")&&(p|=32);const ee=t.directiveTransforms[R];if(ee){const{props:pe,needRuntime:Se}=ee(x,e,t);!i&&pe.forEach(I),K&&$&&!Ct($)?O(Ht(pe,l)):c.push(...pe),Se&&(f.push(x),Nt(Se)&&$_.set(x,Se))}else xp(R)||(f.push(x),h&&(d=!0))}}let S;if(u.length?(O(),u.length>1?S=Qe(t.helper(bi),u,l):S=u[0]):c.length&&(S=Ht(th(c),l)),g?p|=16:(E&&!s&&(p|=2),_&&!s&&(p|=4),T.length&&(p|=8),y&&(p|=32)),!d&&(p===0||p===32)&&(m||v||f.length>0)&&(p|=512),!t.inSSR&&S)switch(S.type){case 15:let P=-1,x=-1,R=!1;for(let G=0;G<S.properties.length;G++){const j=S.properties[G].key;Ct(j)?j.content==="class"?P=G:j.content==="style"&&(x=G):j.isHandlerKey||(R=!0)}const $=S.properties[P],V=S.properties[x];R?S=Qe(t.helper(Cr),[S]):($&&!Ct($.value)&&($.value=Qe(t.helper(Gl),[$.value])),V&&(_||V.value.type===4&&V.value.content.trim()[0]==="["||V.value.type===17)&&(V.value=Qe(t.helper(Kl),[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=ps([e.value,t.value],e.loc)}function U_(e,t){const n=[],s=$_.get(e);s?n.push(t.helperString(s)):(t.helper(Ul),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 ps(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 _c(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 l=2;i&&(o[2]=i,l=3),n.length&&(o[3]=Qs([],n,!1,!1,s),l=4),t.scopeId&&!t.slotted&&(l=5),o.splice(l),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"&&ds(o.arg,"name")){if(o.exp)n=o.exp;else if(o.arg&&o.arg.type===4){const l=Me(o.arg.content);n=o.exp=ie(l,!1,o.arg.loc)}}else o.name==="bind"&&o.arg&&Ct(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(xe(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(xe(35,r));let l;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}`;l=ie(h,!0,o.loc)}else l=Xt([`${n.helperString(el)}(`,o,")"]);else l=o,l.children.unshift(`${n.helperString(el)}(`),l.children.push(")");let a=e.exp;a&&!a.content.trim()&&(a=void 0);let c=n.cacheHandlers&&!a&&!n.inVOnce;if(a){const f=Fu(a),h=!(f||h_(a)),d=a.content.includes(";");(h||c&&f)&&(a=Xt([`${h?"$event":"(...args)"} => ${d?"{":"("}`,a,d?"}":")"]))}let u={props:[qe(l,a||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(l=>l.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(l=>l.content==="prop")&&nh(i,"."),s.some(l=>l.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 l=i+1;l<n.length;l++){const a=n[l];if(No(a))s||(s=n[i]=Xt([o],o.loc)),s.children.push(" + ",a),n.splice(l,1),l--;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 l=[];(o.type!==2||o.content!==" ")&&l.push(o),!t.ssr&&Mt(o,t)===0&&l.push("1"),n[i]={type:12,content:o,loc:o.loc,codegenNode:Qe(t.helper($l),l)}}}}},sh=new WeakSet,VC=(e,t)=>{if(e.type===1&&St(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(xe(41,e.loc)),mo();const i=s.loc.source.trim(),o=s.type===4?s.content:i,l=n.bindingMetadata[i];if(l==="props"||l==="props-aliased")return n.onError(xe(44,s.loc)),mo();if(!o.trim()||!Fu(s))return n.onError(xe(42,s.loc)),mo();const a=r||ie("modelValue",!0),c=r?Ct(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(a,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?Ct(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?rl(e.content,t):e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&rl(n.exp,t)}))};function rl(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?rl(e,t):s.type===5&&rl(s.content,t))}}function rh(e,t){const n=e.content;let s=!1,r=!1,i=!1,o=!1,l=0,a=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&&!l&&!a&&!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:a++;break;case 93:a--;break;case 123:l++;break;case 125:l--;break}if(f===47){let _=d-1,y;for(;_>=0&&(y=n.charAt(_),y===" ");_--);(!y||!HC.test(y))&&(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(Bl);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=St(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&&Yl(s,t),e.codegenNode=Qe(t.helper(Ql),[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(xe(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(xe(47)):s&&n(xe(48));const r=!1;t.cacheHandlers&&n(xe(49)),t.scopeId&&!s&&n(xe(50));const i=ae({},t,{prefixIdentifiers:r}),o=re(e)?Bu(e,i):e,[l,a]=G_();return N_(o,ae({},i,{nodeTransforms:[...l,...t.nodeTransforms||[]],directiveTransforms:ae({},a,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(""),il=Symbol(""),Zu=Symbol(""),ef=Symbol(""),tf=Symbol(""),nf=Symbol(""),sf=Symbol("");t_({[Qu]:"vModelRadio",[Yu]:"vModelCheckbox",[zu]:"vModelText",[Ju]:"vModelSelect",[il]:"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=Wc(e);return ie(JSON.stringify(n),!1,t,3)};function jn(e,t){return xe(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(jn(53,r)),t.children.length&&(n.onError(jn(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(jn(55,r)),t.children.length&&(n.onError(jn(56,r)),t.children.length=0),{props:[qe(ie("textContent",!0),s?Mt(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(jn(58,e.arg.loc));const{tag:r}=t,i=n.isCustomElement(r);if(r==="input"||r==="textarea"||r==="select"||i){let o=zu,l=!1;if(r==="input"||i){const a=qi(t,"type");if(a){if(a.type===7)o=il;else if(a.value)switch(a.value.content){case"radio":o=Qu;break;case"checkbox":o=Yu;break;case"file":l=!0,n.onError(jn(59,e.loc));break}}else m_(t)&&(o=il)}else r==="select"&&(o=Ju);l||(s.needRuntime=n.helper(o))}else n.onError(jn(57,e.loc));return s.props=s.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),s},JC=lt("passive,once,capture"),ZC=lt("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),eO=lt("left,right"),Q_=lt("onkeyup,onkeydown,onkeypress"),tO=(e,t,n,s)=>{const r=[],i=[],o=[];for(let l=0;l<t.length;l++){const a=t[l].content;a==="native"&&Ar("COMPILER_V_ON_NATIVE",n)||JC(a)?o.push(a):eO(a)?Ct(e)?Q_(e.content.toLowerCase())?r.push(a):i.push(a):(r.push(a),i.push(a)):ZC(a)?i.push(a):r.push(a)}return{keyModifiers:r,nonKeyModifiers:i,eventOptionModifiers:o}},oh=(e,t)=>Ct(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:l,nonKeyModifiers:a,eventOptionModifiers:c}=tO(i,r,n,e.loc);if(a.includes("right")&&(i=oh(i,"onContextmenu")),a.includes("middle")&&(i=oh(i,"onMouseup")),a.length&&(o=Qe(n.helper(Zu),[o,JSON.stringify(a)])),l.length&&(!Ct(i)||Q_(i.content.toLowerCase()))&&(o=Qe(n.helper(ef),[o,JSON.stringify(l)])),c.length){const u=c.map(Os).join("");i=Ct(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(jn(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,ae({},rf,t,{nodeTransforms:[rO,...Y_,...t.nodeTransforms||[]],directiveTransforms:ae({},z_,t.directiveTransforms||{}),transformHoist:null}))}function oO(e,t={}){return Bu(e,ae({},rf,t))}const lO=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:Fl,CREATE_SLOTS:Lu,CREATE_STATIC:Iu,CREATE_TEXT:$l,CREATE_VNODE:kl,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:Gl,NORMALIZE_PROPS:Cr,NORMALIZE_STYLE:Kl,Namespaces:_w,NodeTypes:yw,OPEN_BLOCK:ys,POP_SCOPE_ID:Jg,PUSH_SCOPE_ID:zg,RENDER_LIST:Wl,RENDER_SLOT:Ru,RESOLVE_COMPONENT:Vl,RESOLVE_DIRECTIVE:Ul,RESOLVE_DYNAMIC_COMPONENT:Hl,RESOLVE_FILTER:Bl,SET_BLOCK_TRACKING:Ti,SUSPENSE:Dl,TELEPORT:pr,TO_DISPLAY_STRING:Gi,TO_HANDLERS:ql,TO_HANDLER_KEY:el,TRANSITION:nf,TRANSITION_GROUP:sf,TS_NODE_TYPES:a_,UNREF:Zg,V_MODEL_CHECKBOX:Yu,V_MODEL_DYNAMIC:il,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:Xl,WITH_DIRECTIVES:jl,WITH_MEMO:Ql,advancePositionWithClone:Qw,advancePositionWithMutation:p_,assert:Yw,baseCompile:K_,baseParse:Bu,buildDirectiveArgs:U_,buildProps:Ku,buildSlots:F_,checkCompatEnabled:Ar,compile:iO,convertToBlock:Yl,createArrayExpression:ps,createAssignmentExpression:ww,createBlockStatement:r_,createCacheExpression:s_,createCallExpression:Qe,createCompilerError:xe,createCompoundExpression:Xt,createConditionalExpression:tl,createDOMCompilerError:jn,createForLoopParams:sl,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:vn,findDir:St,findProp:qi,forAliasRE:y_,generate:I_,generateCodeFrame:Dp,getBaseTransformPreset:G_,getConstantType:Mt,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:ds,isStaticExp:Ct,isStaticProperty:l_,isStaticPropertyKey:Bw,isTemplateNode:Nr,isText:No,isVPre:pc,isVSlot:$u,isWhitespaceText:zl,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"})),aO=Ou(lO),cO=Ou(O0),uO=Ou(pb);var lh;function fO(){return lh||(lh=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=aO,n=cO,s=uO;function r(a){var c=Object.create(null);if(a)for(var u in a)c[u]=a[u];return c.default=a,Object.freeze(c)}var i=r(n);const o=Object.create(null);function l(a,c){if(!s.isString(a))if(a.nodeType)a=a.innerHTML;else return s.NOOP;const u=s.genCacheKey(a,c),f=o[u];if(f)return f;if(a[0]==="#"){const m=document.querySelector(a);a=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(a,h),p=new Function("Vue",d)(i);return p._rc=!0,o[u]=p}n.registerRuntimeCompiler(l),e.compile=l,Object.keys(n).forEach(function(a){a!=="default"&&!Object.prototype.hasOwnProperty.call(e,a)&&(e[a]=n[a])})})(Ca)),Ca}var ah;function dO(){return ah||(ah=1,wa.exports=fO()),wa.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:()=>v,ToastPlugin:()=>O,ToastPositions:()=>d,default:()=>N,useToast:()=>T});var l=i(594);const a=["innerHTML"];function c(I,S,P,x,R,$){return(0,l.openBlock)(),(0,l.createBlock)(l.Transition,{"enter-active-class":I.transition.enter,"leave-active-class":I.transition.leave},{default:(0,l.withCtx)(()=>[(0,l.withDirectives)((0,l.createElementVNode)("div",{ref:"root",role:"alert",class:(0,l.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,l.createElementVNode)("div",{class:"v-toast__icon"},null,-1)),(0,l.createElementVNode)("p",{class:"v-toast__text",innerHTML:I.message},null,8,a)],34),[[l.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,l.h)(I,S,x),$=document.createElement("div");return $.classList.add("v-toast--pending"),P.appendChild($),(0,l.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(),_=(0,l.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,l.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 y=i(113);const v=(0,y.default)(_,[["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(v,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)}},N=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 Zl=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)}},yc=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 vc(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:l}=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 a=t.isActive();if(n==="active"&&!a||n==="inactive"&&a)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||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)=>Ec(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&&!(Ec(e)&&Ec(t)))return t;const r=(n?e:Object.keys(e)).length,i=n?t:Object.keys(t),o=i.length,l=n?new Array(o):{};let a=0;for(let c=0;c<o;c++){const u=n?c:i[c],f=e[u],h=t[u];if(f===h){l[u]=f,(n?c<r:OO.call(e,u))&&a++;continue}if(f===null||h===null||typeof f!="object"||typeof h!="object"){l[u]=h;continue}const d=J_(f,h);l[u]=d,d===f&&a++}return r===o&&a===r?e:l}function wI(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 Ec(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=>{yc.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 lf=Symbol();function Z_(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===lf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function CI(e,t){return typeof e=="function"?e(...t):!!e}var RO=class extends Zl{#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=l=>{l()},s=l=>{l()},r=MO;const i=l=>{t?e.push(l):r(()=>{n(l)})},o=()=>{const l=e;e=[],l.length&&r(()=>{s(()=>{l.forEach(a=>{n(a)})})})};return{batch:l=>{let a;t++;try{a=l()}finally{t--,t||o()}return a},batchCalls:l=>(...a)=>{i(()=>{l(...a)})},schedule:i,setNotifyFunction:l=>{n=l},setBatchNotifyFunction:l=>{s=l},setScheduler:l=>{r=l}}}var wt=xO(),DO=class extends Zl{#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}},ol=new DO;function kO(e){return Math.min(1e3*2**e,3e4)}function ty(e){return(e??"online")==="online"?ol.isOnline():!0}var bc=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 bc(m);h(E),e.onCancel?.(E)}},l=()=>{t=!0},a=()=>{t=!1},c=()=>ey.isFocused()&&(e.networkMode==="always"||ol.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(_){m=Promise.reject(_)}Promise.resolve(m).then(f).catch(_=>{if(i())return;const y=e.retry??(Yi?0:3),g=e.retryDelay??kO,v=typeof g=="function"?g(n,_):g,T=y===!0||typeof y=="number"&&n<y||typeof y=="function"&&y(n,_);if(t||!T){h(_);return}n++,e.onFail?.(n,_),AO(v).then(()=>c()?void 0:d()).then(()=>{t?h(_):p()})})};return{promise:r,status:()=>r.status,cancel:o,continue:()=>(s?.(),r),cancelRetry:l,continueRetry:a,canStart:u,start:()=>(u()?p():d().then(p),r)}}var sy=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),SO(this.gcTime)&&(this.#e=yc.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Yi?1/0:300*1e3))}clearGcTimeout(){this.#e&&(yc.clearTimeout(this.#e),this.#e=void 0)}},FO=class extends sy{#e;#t;#n;#r;#s;#o;#l;constructor(e){super(),this.#l=!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===lf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>vc(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.#l?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 l=this.observers.find(a=>a.options.queryFn);l&&this.setOptions(l.options)}const n=new AbortController,s=l=>{Object.defineProperty(l,"signal",{enumerable:!0,get:()=>(this.#l=!0,n.signal)})},r=()=>{const l=Z_(this.options,t),c=(()=>{const u={client:this.#r,queryKey:this.queryKey,meta:this.meta};return s(u),u})();return this.#l=!1,this.options.persister?this.options.persister(l,c,this):l(c)},o=(()=>{const l={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#r,state:this.state,fetchFn:r};return s(l),l})();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:l=>{l instanceof bc&&l.revert&&this.setState({...this.#t,fetchStatus:"idle"}),n.abort()},onFail:(l,a)=>{this.#i({type:"failed",failureCount:l,error:a})},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 l=await this.#s.start();if(l===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(l),this.#n.config.onSuccess?.(l,this),this.#n.config.onSettled?.(l,this.state.error,this),l}catch(l){if(l instanceof bc){if(l.silent)return this.#s.promise;if(l.revert){if(this.state.data===void 0)throw l;return this.state.data}}throw this.#i({type:"error",error:l}),this.#n.config.onError?.(l,this),this.#n.config.onSettled?.(this.state.data,l,this),l}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),wt.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 l={pages:[],pageParams:[]},a=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 y=(()=>{const O={client:t.client,queryKey:t.queryKey,pageParam:m,direction:E?"backward":"forward",meta:t.options.meta};return f(O),O})(),g=await h(y),{maxPages:v}=t.options,T=E?IO:PO;return{pages:T(p.pages,g,v),pageParams:T(p.pageParams,m,v)}};if(r&&i.length){const p=r==="backward",m=p?VO:_h,E={pages:i,pageParams:o},_=m(s,E);l=await d(E,_,p)}else{const p=e??i.length;do{const m=a===0?o[0]??s.initialPageParam:_h(s,l);if(a>0&&m==null)break;l=await d(l,m),a++}while(a<p)}return l};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),wt.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 Zl{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(){wt.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){wt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return wt.batch(()=>Promise.all(t.map(n=>n.continue().catch(Zt))))}};function go(e){return e.options.scope?.id}var iy=class extends Zl{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(){wt.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){wt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){wt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){wt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},BO=class{#e;#t;#n;#r;#s;#o;#l;#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.#l=ey.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#i=ol.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#o--,this.#o===0&&(this.#l?.(),this.#l=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(vc(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,l=TO(n,o);if(l!==void 0)return this.#e.build(this,r).setData(l,{...s,manual:!0})}setQueriesData(t,n,s){return wt.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;wt.batch(()=>{n.findAll(t).forEach(s=>{n.remove(s)})})}resetQueries(t,n){const s=this.#e;return wt.batch(()=>(s.findAll(t).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...t},n)))}cancelQueries(t,n={}){const s={revert:!0,...n},r=wt.batch(()=>this.#e.findAll(t).map(i=>i.cancel(s)));return Promise.all(r).then(Zt).catch(Zt)}invalidateQueries(t,n={}){return wt.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=wt.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(vc(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 ol.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===lf&&(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 PI(e,t){Object.keys(e).forEach(n=>{e[n]=t[n]})}function Tc(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)=>Tc(r,t,String(i),s+1));if(typeof e=="object"&&KO(e)){const r=Object.entries(e).map(([i,o])=>[i,Tc(o,t,i,s+1)]);return Object.fromEntries(r)}return e}function GO(e,t){return Tc(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=ot(!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,l]=t.clientPersister(s);r=o,l.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 Sc(e,t,n){return Rs(e,Ni(t,n))}function nr(e,t){return typeof e=="function"?e(t):e}function Cn(e){return e.split("-")[0]}function rn(e){return e.split("-")[1]}function oy(e){return e==="x"?"y":"x"}function af(e){return e==="y"?"height":"width"}function Js(e){return["top","bottom"].includes(Cn(e))?"y":"x"}function cf(e){return oy(Js(e))}function ly(e,t,n){n===void 0&&(n=!1);const s=rn(e),r=cf(e),i=af(r);let o=r==="x"?s===(n?"end":"start")?"right":"left":s==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=al(o)),[o,al(o)]}function tA(e){const t=al(e);return[ll(e),t,ll(t)]}function ll(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(Cn(e),n==="start",s);return r&&(i=i.map(o=>o+"-"+r),t&&(i=i.concat(i.map(ll)))),i}function al(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 ay(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),l=af(o),a=Cn(t),c=i==="y",u=s.x+s.width/2-r.width/2,f=s.y+s.height/2-r.height/2,h=s[l]/2-r[l]/2;let d;switch(a){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,l=i.filter(Boolean),a=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,a),h=s,d={},p=0;for(let m=0;m<l.length;m++){const{name:E,fn:_}=l[m],{x:y,y:g,data:v,reset:T}=await _({x:u,y:f,initialPlacement:s,placement:h,strategy:r,middlewareData:d,rects:c,platform:o,elements:{reference:e,floating:t}});u=y??u,f=g??f,d={...d,[E]:{...d[E],...v}},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,a)),m=-1)}return{x:u,y:f,placement:h,strategy:r,middlewareData:d}};async function ea(e,t){var n;t===void 0&&(t={});const{x:s,y:r,platform:i,rects:o,elements:l,strategy:a}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=nr(t,e),p=ay(d),E=l[h?f==="floating"?"reference":"floating":f],_=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(l.floating)),boundary:c,rootBoundary:u,strategy:a})),y=f==="floating"?{x:s,y:r,width:o.floating.width,height:o.floating.height}:o.reference,g=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),v=await(i.isElement==null?void 0:i.isElement(g))?await(i.getScale==null?void 0:i.getScale(g))||{x:1,y:1}:{x:1,y:1},T=Zr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:g,strategy:a}):y);return{top:(_.top-T.top+p.top)/v.y,bottom:(T.bottom-_.bottom+p.bottom)/v.y,left:(_.left-T.left+p.left)/v.x,right:(T.right-_.right+p.right)/v.x}}const oA=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:s,placement:r,rects:i,platform:o,elements:l,middlewareData:a}=t,{element:c,padding:u=0}=nr(e,t)||{};if(c==null)return{};const f=ay(u),h={x:n,y:s},d=cf(r),p=af(d),m=await o.getDimensions(c),E=d==="y",_=E?"top":"left",y=E?"bottom":"right",g=E?"clientHeight":"clientWidth",v=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 N=O?O[g]:0;(!N||!await(o.isElement==null?void 0:o.isElement(O)))&&(N=l.floating[g]||i.floating[p]);const I=v/2-T/2,S=N/2-m[p]/2-1,P=Ni(f[_],S),x=Ni(f[y],S),R=P,$=N-m[p]-x,V=N/2-m[p]/2+I,G=Sc(R,V,$),j=!a.arrow&&rn(r)!=null&&V!==G&&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]:G,centerOffset:V-G-q,...j&&{alignmentOffset:q}},reset:j}}});function lA(e,t,n){return(e?[...n.filter(r=>rn(r)===e),...n.filter(r=>rn(r)!==e)]:n.filter(r=>Cn(r)===r)).filter(r=>e?rn(r)===e||(t?ll(r)!==r:!1):!0)}const aA=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,s,r;const{rects:i,middlewareData:o,placement:l,platform:a,elements:c}=t,{crossAxis:u=!1,alignment:f,allowedPlacements:h=vh,autoAlignment:d=!0,...p}=nr(e,t),m=f!==void 0||h===vh?lA(f||null,d,h):h,E=await ea(t,p),_=((n=o.autoPlacement)==null?void 0:n.index)||0,y=m[_];if(y==null)return{};const g=ly(y,i,await(a.isRTL==null?void 0:a.isRTL(c.floating)));if(l!==y)return{reset:{placement:m[0]}};const v=[E[Cn(y)],E[g[0]],E[g[1]]],T=[...((s=o.autoPlacement)==null?void 0:s.overflows)||[],{placement:y,overflows:v}],O=m[_+1];if(O)return{data:{index:_+1,overflows:T},reset:{placement:O}};const N=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=N.filter(P=>P[2].slice(0,rn(P[0])?2:3).every(x=>x<=0))[0])==null?void 0:r[0])||N[0][0];return S!==l?{data:{index:_+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:l,platform:a,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 _=Cn(r),y=Js(l),g=Cn(l)===l,v=await(a.isRTL==null?void 0:a.isRTL(c.floating)),T=h||(g||!m?[al(l)]:tA(l)),O=p!=="none";!h&&O&&T.push(...sA(l,m,p,v));const N=[l,...T],I=await ea(t,E),S=[];let P=((s=i.flip)==null?void 0:s.overflows)||[];if(u&&S.push(I[_]),f){const V=ly(r,o,v);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,G=N[V];if(G)return{data:{index:V,overflows:P},reset:{placement:G}};let j=(R=P.filter(q=>q.overflows[0]<=0).sort((q,K)=>q.overflows[1]-K.overflows[1])[0])==null?void 0:R.placement;if(!j)switch(d){case"bestFit":{var $;const q=($=P.filter(K=>{if(O){const ee=Js(K.placement);return ee===y||ee==="y"}return!0}).map(K=>[K.placement,K.overflows.filter(ee=>ee>0).reduce((ee,pe)=>ee+pe,0)]).sort((K,ee)=>K[1]-ee[1])[0])==null?void 0:$[0];q&&(j=q);break}case"initialPlacement":j=l;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=Cn(n),l=rn(n),a=Js(n)==="y",c=["left","top"].includes(o)?-1:1,u=i&&a?-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 l&&typeof p=="number"&&(d=l==="end"?p*-1:p),a?{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:l}=t,a=await uA(t,e);return o===((n=l.offset)==null?void 0:n.placement)&&(s=l.arrow)!=null&&s.alignmentOffset?{}:{x:r+a.x,y:i+a.y,data:{...a,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:l={fn:E=>{let{x:_,y}=E;return{x:_,y}}},...a}=nr(e,t),c={x:n,y:s},u=await ea(t,a),f=Js(Cn(r)),h=oy(f);let d=c[h],p=c[f];if(i){const E=h==="y"?"top":"left",_=h==="y"?"bottom":"right",y=d+u[E],g=d-u[_];d=Sc(y,d,g)}if(o){const E=f==="y"?"top":"left",_=f==="y"?"bottom":"right",y=p+u[E],g=p-u[_];p=Sc(y,p,g)}const m=l.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:l}=t,{apply:a=()=>{},...c}=nr(e,t),u=await ea(t,c),f=Cn(r),h=rn(r),d=Js(r)==="y",{width:p,height:m}=i.floating;let E,_;f==="top"||f==="bottom"?(E=f,_=h===(await(o.isRTL==null?void 0:o.isRTL(l.floating))?"start":"end")?"left":"right"):(_=f,E=h==="end"?"top":"bottom");const y=m-u.top-u.bottom,g=p-u.left-u.right,v=Ni(m-u[E],y),T=Ni(p-u[_],g),O=!t.middlewareData.shift;let N=v,I=T;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(I=g),(s=t.middlewareData.shift)!=null&&s.enabled.y&&(N=y),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)):N=m-2*(R!==0||$!==0?R+$:Rs(u.top,u.bottom))}await a({...t,availableWidth:I,availableHeight:N});const S=await o.getDimensions(l.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 bn(e){return Gt(e).getComputedStyle(e)}const bh=Math.min,ei=Math.max,cl=Math.round;function cy(e){const t=bn(e);let n=parseFloat(t.width),s=parseFloat(t.height);const r=e.offsetWidth,i=e.offsetHeight,o=cl(n)!==r||cl(s)!==i;return o&&(n=r,s=i),{width:n,height:s,fallback:o}}function vs(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 Tn(e){return e instanceof Gt(e).HTMLElement}function ms(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 ta(e){const{overflow:t,overflowX:n,overflowY:s,display:r}=bn(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+n)&&!["inline","contents"].includes(r)}function pA(e){return["table","td","th"].includes(vs(e))}function wc(e){const t=/firefox/i.test(uy()),n=bn(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(vs(e))}function hy(e){return ms(e)?e:e.contextElement}const py={x:1,y:1};function mr(e){const t=hy(e);if(!Tn(t))return py;const n=t.getBoundingClientRect(),{width:s,height:r,fallback:i}=cy(t);let o=(i?cl(n.width):n.width)/s,l=(i?cl(n.height):n.height)/r;return o&&Number.isFinite(o)||(o=1),l&&Number.isFinite(l)||(l=1),{x:o,y:l}}function Pi(e,t,n,s){var r,i;t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),l=hy(e);let a=py;t&&(s?ms(s)&&(a=mr(s)):a=mr(e));const c=l?Gt(l):window,u=!dy()&&n;let f=(o.left+(u&&((r=c.visualViewport)==null?void 0:r.offsetLeft)||0))/a.x,h=(o.top+(u&&((i=c.visualViewport)==null?void 0:i.offsetTop)||0))/a.y,d=o.width/a.x,p=o.height/a.y;if(l){const m=Gt(l),E=s&&ms(s)?Gt(s):s;let _=m.frameElement;for(;_&&s&&E!==m;){const y=mr(_),g=_.getBoundingClientRect(),v=getComputedStyle(_);g.x+=(_.clientLeft+parseFloat(v.paddingLeft))*y.x,g.y+=(_.clientTop+parseFloat(v.paddingTop))*y.y,f*=y.x,h*=y.y,d*=y.x,p*=y.y,f+=g.x,h+=g.y,_=Gt(_).frameElement}}return{width:d,height:p,top:h,right:f+d,bottom:h+p,left:f,x:f,y:h}}function gs(e){return((fy(e)?e.ownerDocument:e.document)||window.document).documentElement}function na(e){return ms(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function my(e){return Pi(gs(e)).left+na(e).scrollLeft}function Ii(e){if(vs(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Th(e)&&e.host||gs(e);return Th(t)?t.host:t}function gy(e){const t=Ii(e);return uf(t)?t.ownerDocument.body:Tn(t)&&ta(t)?t:gy(t)}function ul(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||[],ta(s)?s:[]):t.concat(s,ul(s))}function Sh(e,t,n){return t==="viewport"?Zr((function(s,r){const i=Gt(s),o=gs(s),l=i.visualViewport;let a=o.clientWidth,c=o.clientHeight,u=0,f=0;if(l){a=l.width,c=l.height;const h=dy();(h||!h&&r==="fixed")&&(u=l.offsetLeft,f=l.offsetTop)}return{width:a,height:c,x:u,y:f}})(e,n)):ms(t)?Zr((function(s,r){const i=Pi(s,!0,r==="fixed"),o=i.top+s.clientTop,l=i.left+s.clientLeft,a=Tn(s)?mr(s):{x:1,y:1};return{width:s.clientWidth*a.x,height:s.clientHeight*a.y,x:l*a.x,y:o*a.y}})(t,n)):Zr((function(s){const r=gs(s),i=na(s),o=s.ownerDocument.body,l=ei(r.scrollWidth,r.clientWidth,o.scrollWidth,o.clientWidth),a=ei(r.scrollHeight,r.clientHeight,o.scrollHeight,o.clientHeight);let c=-i.scrollLeft+my(s);const u=-i.scrollTop;return bn(o).direction==="rtl"&&(c+=ei(r.clientWidth,o.clientWidth)-l),{width:l,height:a,x:c,y:u}})(gs(e)))}function wh(e){return Tn(e)&&bn(e).position!=="fixed"?e.offsetParent:null}function Ch(e){const t=Gt(e);let n=wh(e);for(;n&&pA(n)&&bn(n).position==="static";)n=wh(n);return n&&(vs(n)==="html"||vs(n)==="body"&&bn(n).position==="static"&&!wc(n))?t:n||(function(s){let r=Ii(s);for(;Tn(r)&&!uf(r);){if(wc(r))return r;r=Ii(r)}return null})(e)||t}function mA(e,t,n){const s=Tn(t),r=gs(t),i=Pi(e,!0,n==="fixed",t);let o={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(s||!s&&n!=="fixed")if((vs(t)!=="body"||ta(r))&&(o=na(t)),Tn(t)){const a=Pi(t,!0);l.x=a.x+t.clientLeft,l.y=a.y+t.clientTop}else r&&(l.x=my(r));return{x:i.left+o.scrollLeft-l.x,y:i.top+o.scrollTop-l.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=ul(c).filter((E=>ms(E)&&vs(E)!=="body")),d=null;const p=bn(c).position==="fixed";let m=p?Ii(c):c;for(;ms(m)&&!uf(m);){const E=bn(m),_=wc(m);(p?_||d:_||E.position!=="static"||!d||!["absolute","fixed"].includes(d.position))?d=E:h=h.filter((y=>y!==m)),m=Ii(m)}return u.set(c,h),h})(t,this._c):[].concat(n),o=[...i,s],l=o[0],a=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,l,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:s}=e;const r=Tn(n),i=gs(n);if(n===i)return t;let o={scrollLeft:0,scrollTop:0},l={x:1,y:1};const a={x:0,y:0};if((r||!r&&s!=="fixed")&&((vs(n)!=="body"||ta(i))&&(o=na(n)),Tn(n))){const c=Pi(n);l=mr(n),a.x=c.x+n.clientLeft,a.y=c.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-o.scrollLeft*l.x+a.x,y:t.y*l.y-o.scrollTop*l.y+a.y}},isElement:ms,getDimensions:function(e){return Tn(e)?cy(e):e.getBoundingClientRect()},getOffsetParent:Ch,getDocumentElement:gs,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=>bn(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 Aa(){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 Cc=function(){};typeof window<"u"&&(Cc=window.Element);function _e(e){return function(t){return Ri(t.theme,e)}}const Na="__floating-vue__popper",Ey=()=>Dt({name:"VPopper",provide(){return{[Na]:{parentPopper:this}}},inject:{[Na]:{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:_e("disabled")},positioningDisabled:{type:Boolean,default:_e("positioningDisabled")},placement:{type:String,default:_e("placement"),validator:e=>vy.includes(e)},delay:{type:[String,Number,Object],default:_e("delay")},distance:{type:[Number,String],default:_e("distance")},skidding:{type:[Number,String],default:_e("skidding")},triggers:{type:Array,default:_e("triggers")},showTriggers:{type:[Array,Function],default:_e("showTriggers")},hideTriggers:{type:[Array,Function],default:_e("hideTriggers")},popperTriggers:{type:Array,default:_e("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:_e("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:_e("popperHideTriggers")},container:{type:[String,Object,Cc,Boolean],default:_e("container")},boundary:{type:[String,Cc],default:_e("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:_e("strategy")},autoHide:{type:[Boolean,Function],default:_e("autoHide")},handleResize:{type:Boolean,default:_e("handleResize")},instantMove:{type:Boolean,default:_e("instantMove")},eagerMount:{type:Boolean,default:_e("eagerMount")},popperClass:{type:[String,Array,Object],default:_e("popperClass")},computeTransformOrigin:{type:Boolean,default:_e("computeTransformOrigin")},autoMinSize:{type:Boolean,default:_e("autoMinSize")},autoSize:{type:[Boolean,String],default:_e("autoSize")},autoMaxSize:{type:Boolean,default:_e("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:_e("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:_e("preventOverflow")},overflowPadding:{type:[Number,String],default:_e("overflowPadding")},arrowPadding:{type:[Number,String],default:_e("arrowPadding")},arrowOverflow:{type:Boolean,default:_e("arrowOverflow")},flip:{type:Boolean,default:_e("flip")},shift:{type:Boolean,default:_e("shift")},shiftCrossAxis:{type:Boolean,default:_e("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:_e("noAutoFocus")},disposeTimeout:{type:Number,default:_e("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[Na])==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(aA({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:l}=i.arrow;return s.startsWith("top")||s.startsWith("bottom")?o=Math.abs(l)>r.reference.width/2:o=Math.abs(l)>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 l;if((l=o.autoSize)!=null&&l.skip)return{};let a,c;return i.startsWith("top")||i.startsWith("bottom")?a=r.reference.width:c=r.reference.height,this.$_innerNode.style[s==="min"?"minWidth":s==="max"?"maxWidth":"width"]=a!=null?`${a}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 Aa(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...ul(this.$_referenceNode),...ul(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 Aa(),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 Aa(),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 l=t[o];l&&this.$_registerEventListeners(e,l,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-rs,s=ni-is,r=t.left+t.width/2-rs+(t.top+t.height/2)-is+t.width+t.height,i=rs+n*r,o=is+s*r;return yo(rs,is,i,o,t.left,t.top,t.left,t.bottom)||yo(rs,is,i,o,t.left,t.top,t.right,t.top)||yo(rs,is,i,o,t.right,t.top,t.right,t.bottom)||yo(rs,is,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 l=r.parentPopper;for(;l;)n[l.randomId]=!0,l=l.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 rs=0,is=0,ti=0,ni=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{rs=ti,is=ni,ti=e.clientX,ni=e.clientY},Ir?{passive:!0}:void 0);function yo(e,t,n,s,r,i,o,l){const a=((o-r)*(t-i)-(l-i)*(e-r))/((l-i)*(n-e)-(o-r)*(s-t)),c=((n-e)*(t-i)-(s-t)*(e-r))/((l-i)*(n-e)-(o-r)*(s-t));return a>=0&&a<=1&&c>=0&&c<=1}const bA={extends:Ey()},sa=(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 At(),Er("div",{ref:"reference",class:zn(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[pi(e.$slots,"default",Gc(yu(e.slotData)))],2)}const SA=sa(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 Oc(){Oc.init||(Oc.init=!0,xo=wA()!==-1)}var ra={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Oc(),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)=>(At(),Qn("div",OA)));ra.render=AA;ra.__scopeId="data-v-b329ee4c";ra.__file="src/components/ResizeObserver.vue";const Ty=(e="theme")=>({computed:{themeClass(){return yA(this[e])}}}),NA=Dt({name:"VPopperContent",components:{ResizeObserver:ra},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=yn("div",{class:"v-popper__arrow-outer"},null,-1),LA=yn("div",{class:"v-popper__arrow-inner"},null,-1),MA=[RA,LA];function xA(e,t,n,s,r,i){const o=Gs("ResizeObserver");return At(),Er("div",{id:e.popperId,ref:"popover",class:zn(["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:Vn(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(l=>e.autoHide&&e.$emit("hide"),["esc"]))},[yn("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=l=>e.autoHide&&e.$emit("hide"))}),yn("div",{class:"v-popper__wrapper",style:Vn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[yn("div",IA,[e.mounted?(At(),Er(Ge,{key:0},[yn("div",null,[pi(e.$slots,"default")]),e.handleResize?(At(),Qn(o,{key:0,onNotify:t[1]||(t[1]=l=>e.$emit("resize",l))})):Za("",!0)],64)):Za("",!0)],512),yn("div",{ref:"arrow",class:"v-popper__arrow-container",style:Vn(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=sa(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 Ac=function(){};typeof window<"u"&&(Ac=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,Ac,Boolean],default:void 0},boundary:{type:[String,Ac],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"),l=Gs("Popper");return At(),Qn(l,Ml({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]=a=>e.$emit("update:shown",a)),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:a,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:h,show:d,hide:p,handleResize:m,onResize:E,classes:_,result:y})=>[pi(e.$slots,"default",{shown:c,show:d,hide:p}),Re(o,{ref:"popperContent","popper-id":a,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":h,"handle-resize":m,classes:_,result:y,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=sa(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"),l=Gs("Popper");return At(),Qn(l,Ml({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:a,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:h,hide:d,handleResize:p,onResize:m,classes:E,result:_})=>[Re(o,{ref:"popperContent",class:zn({"v-popper--tooltip-loading":e.loading}),"popper-id":a,theme:e.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":h,"handle-resize":p,classes:E,result:_,onHide:d,onResize:m},{default:Ws(()=>[e.html?(At(),Er("div",{key:0,innerHTML:e.finalContent},null,8,UA)):(At(),Er("div",{key:1,textContent:El(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=sa(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 Pa,Li,KA=0;function qA(){if(Pa)return;Li=ot([]),Pa=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),Pa.mount(e)}function XA(e,t,n){qA();const s=ot(Oy(e,t,n)),r=ot(!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",fl),e.addEventListener("click",fl),e.addEventListener("touchstart",Ny,Ir?{passive:!0}:!1)}function Fh(e){e.removeEventListener("mousedown",fl),e.removeEventListener("click",fl),e.removeEventListener("touchstart",Ny),e.removeEventListener("touchend",Py),e.removeEventListener("touchcancel",Iy)}function fl(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":()=>Rt(()=>import("./board-layout-CAmt2jxI.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),"/src/layouts/default.vue":()=>Rt(()=>import("./default-bwJD_bgo.js"),__vite__mapDeps([7,1,2,3,4,5,6]),import.meta.url),"/src/layouts/headless.vue":()=>Rt(()=>import("./headless-DL1aVfVC.js"),__vite__mapDeps([8,5]),import.meta.url),"/src/layouts/index-layout.vue":()=>Rt(()=>import("./index-layout-BSszpCck.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(a=>(a.path===""||a.path==="/")&&a.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"]),lN=["name","property","http-equiv"],aN=new Set(["viewport","description","keywords","robots"]);function Ry(e){const t=e.split(":");return t.length?oN.has(t[1]):!1}function Nc(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 lN)if(t[s]!==void 0){const r=t[s],i=r.includes(":"),o=aN.has(r),a=!(i||o)&&e.key?`:key:${e.key}`:"";return`${n}:${r}${a}`}}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 dl(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=>dl(i,t));if(r?.constructor===Object){const i={};for(const o of Object.keys(r))i[o]=dl(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,...l]=i.split(":").map(a=>a.trim());o&&l.length&&n.set(o,l.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=dl(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:l=>jh(o,l),push(l,a){const c={...a||{}};delete c.head;const u=c._index??o._entryCount++,f={_i:u,input:l,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(l),h},async resolveTags(){const l={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await t.callHook("entries:resolve",l);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=Nc(m),m))}}let a=!1;l.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 _={...m.props};Object.entries(d.props).forEach(([y,g])=>_[y]=y==="style"?new Map([...m.props.style||new Map,...g]):y==="class"?new Set([...m.props.class||new Set,...g]):g),h.set(p,{...d,props:_})}else d._p>>10===m._p>>10&&d.tag==="meta"&&Ry(p)?(h.set(p,Object.assign([...Array.isArray(m)?m:[m],d],d)),a=!0):(d._w===m._w?d._p>m._p:d?._w<m?._w)&&h.set(p,d);return h},l.tagMap);const c=l.tagMap.get("title"),u=l.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?l.tagMap.delete("title"):l.tagMap.set("title",{...c,textContent:d}):(u.tag="title",u.textContent=d)}}l.tags=Array.from(l.tagMap.values()),a&&(l.tags=l.tags.flat().sort(Hh)),await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l);const f=[];for(const h of l.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=Nc(h)}f.push(h)}}return f},invalidate(){for(const l of s.values())i.add(l._i);o.dirty=!0,t.callHook("entries:updated",o)}};return(e?.plugins||[]).forEach(l=>jh(o,l)),o.hooks.callHook("init",o),e.init?.forEach(l=>l&&o.push(l)),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,_={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),_}))})});let l=e._dom;if(!l){l={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 _=Ly({tag:E,props:{}},{innerHTML:m.innerHTML,...m.getAttributeNames().reduce((y,g)=>(y[g]=m.getAttribute(g),y),{})||{}});if(_.key=m.getAttribute("data-hid")||void 0,_._d=Nc(_)||Vh(_),l.elMap.has(_._d)){let y=1,g=_._d;for(;l.elMap.has(g);)g=`${_._d}:${y++}`;l.elMap.set(g,m)}else l.elMap.set(_._d,m)}}}l.pendingSideEffects={...l.sideEffects},l.sideEffects={};function a(d,p,m){const E=`${d}:${p}`;l.sideEffects[E]=m,delete l.pendingSideEffects[E]}function c({id:d,$el:p,tag:m}){const E=m.tag.endsWith("Attrs");l.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),a(d,"el",()=>{p?.remove(),l.elMap.delete(d)}));for(const _ in m.props){if(!Object.prototype.hasOwnProperty.call(m.props,_))continue;const y=m.props[_];if(_.startsWith("on")&&typeof y=="function"){const v=p?.dataset;if(v&&v[`${_}fired`]){const T=_.slice(0,-5);y.call(p,new Event(T.substring(2)))}p.getAttribute(`data-${_}`)!==""&&((m.tag==="bodyAttrs"?n.defaultView:p).addEventListener(_.substring(2),y.bind(p)),p.setAttribute(`data-${_}`,""));continue}const g=`attr:${_}`;if(_==="class"){if(!y)continue;for(const v of y)E&&a(d,`${g}:${v}`,()=>p.classList.remove(v)),!p.classList.contains(v)&&p.classList.add(v)}else if(_==="style"){if(!y)continue;for(const[v,T]of y)a(d,`${g}:${v}`,()=>{p.style.removeProperty(v)}),p.style.setProperty(v,T)}else y!==!1&&y!==null&&(p.getAttribute(_)!==y&&p.setAttribute(_,y===!0?"":String(y)),E&&a(d,g,()=>p.removeAttribute(_)))}}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,a("title","",()=>n.title=l.title);continue}d.$el=d.$el||l.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,a);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 l.pendingSideEffects)l.pendingSideEffects[d]();e._dom=l,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)?le(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(Il()){const e=Ot(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=ot(!1);let r;return pu(()=>{const o=s.value?{}:dl(t,yN);r?r.patch(o):r=e.push(o,n)}),ze()&&(Ui(()=>{r.dispose()}),au(()=>{s.value=!0}),lu(()=>{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 Ia(e,t){const n={};for(const s in t){const r=t[s];n[s]=fn(r)?r.map(e):e(r)}return n}const si=()=>{},fn=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 Pc(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 Pc(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 Ra(e,t,n="/"){let s,r={},i="",o="";const l=t.indexOf("#");let a=t.indexOf("?");return a=l>=0&&a>l?-1:a,a>=0&&(s=t.slice(0,a),i=t.slice(a,l>0?l:t.length),r=e(i.slice(1))),l>=0&&(s=s||t.slice(0,l),o=t.slice(l,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 fn(e)?Kh(e,t):fn(t)?Kh(t,e):e===t}function Kh(e,t){return fn(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,l;for(o=0;o<s.length;o++)if(l=s[o],l!==".")if(l==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o).join("/")}const ns={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Ic=(function(e){return e.pop="pop",e.push="push",e})({}),La=(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 ia=()=>({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 Rc=new Map;function QN(e,t){Rc.set(e,t)}function YN(e){const t=Rc.get(e);return Rc.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 Pn(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)),l=i<0?null:Mi(r.slice(i+1));if(o in t){let a=t[o];fn(a)||(a=t[o]=[a]),a.push(l)}else t[o]=l}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}(fn(s)?s.map(r=>r&&Pc(r)):[s&&Pc(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]=fn(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const nP=Symbol(""),Qh=Symbol(""),oa=Symbol(""),hf=Symbol(""),Lc=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 fs(e,t,n,s,r,i=o=>o()){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,a)=>{const c=h=>{h===!1?a(Lr(He.NAVIGATION_ABORTED,{from:n,to:t})):h instanceof Error?a(h):zN(h)?a(Lr(He.NAVIGATION_GUARD_REDIRECT,{from:t,to:h})):(o&&s.enterCallbacks[r]===o&&typeof h=="function"&&o.push(h),l())},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=>a(h))})}function Ma(e,t,n,s,r=i=>i()){const i=[];for(const o of e)for(const l in o.components){let a=o.components[l];if(!(t!=="beforeRouteEnter"&&!o.instances[l]))if(Dy(a)){const c=(a.__vccOpts||a)[t];c&&i.push(fs(c,n,s,o,l,r))}else{let c=a();i.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${o.path}"`);const f=wN(u)?u.default:u;o.mods[l]=u,o.components[l]=f;const h=(f.__vccOpts||f)[t];return h&&fs(h,n,s,o,l,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 l=t.matched[o];l&&(e.matched.find(c=>Rr(c,l))?s.push(l):n.push(l));const a=e.matched[o];a&&(t.matched.find(c=>Rr(c,a))||r.push(a))}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,l=r.slice(o);return l[0]!=="/"&&(l="/"+l),Gh(l,"")}return Gh(n,e)+s+r}function iP(e,t,n,s){let r=[],i=[],o=null;const l=({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(_=>{_(n.value,p,{delta:E,type:Ic.pop,direction:E?E>0?La.forward:La.back:La.unknown})})};function a(){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:ia()}),"")}}function f(){for(const h of i)h();i=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:a,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?ia():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(a,c,u){const f=e.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+a:rP()+e+a;try{t[u?"replaceState":"pushState"](c,"",h),r.value=c}catch(d){console.error(d),n[u?"replace":"assign"](h)}}function o(a,c){i(a,Oe({},t.state,Yh(r.value.back,a,r.value.forward,!0),c,{position:r.value.position}),!0),s.value=a}function l(a,c){const u=Oe({},r.value,t.state,{forward:a,scroll:ia()});i(u.current,u,!0),i(a,Oe({},Yh(s.value,a,null),{position:u.position+1},c),!1),s.value=a}return{location:s,state:r,push:l,replace:o}}function lP(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 aP={type:xs.Static,value:""},cP=/[a-zA-Z0-9_]/;function uP(e){if(!e)return[[]];if(e==="/")return[[aP]];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 l=0,a,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&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:xs.Param,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function h(){c+=a}for(;l<e.length;){if(a=e[l++],a==="\\"&&n!==Je.ParamRegExp){s=n,n=Je.EscapeNext;continue}switch(n){case Je.Static:a==="/"?(c&&f(),o()):a===":"?(f(),n=Je.Param):h();break;case Je.EscapeNext:h(),n=s;break;case Je.Param:a==="("?n=Je.ParamRegExp:cP.test(a)?h():(f(),n=Je.Static,a!=="*"&&a!=="?"&&a!=="+"&&l--);break;case Je.ParamRegExp:a===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+a:n=Je.ParamRegExpEnd:u+=a;break;case Je.ParamRegExpEnd:f(),n=Je.Static,a!=="*"&&a!=="?"&&a!=="+"&&l--,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 bt=(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})(bt||{});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?[]:[bt.Root];n.strict&&!c.length&&(r+="/");for(let f=0;f<c.length;f++){const h=c[f];let d=bt.Segment+(n.sensitive?bt.BonusCaseSensitive:0);if(h.type===xs.Static)f||(r+="/"),r+=h.value.replace(dP,"\\$&"),d+=bt.Static;else if(h.type===xs.Param){const{value:p,repeatable:m,optional:E,regexp:_}=h;i.push({name:p,repeatable:m,optional:E});const y=_||zh;if(y!==zh){d+=bt.BonusCustomRegExp;try{`${y}`}catch(v){throw new Error(`Invalid custom RegExp for param "${p}" (${y}): `+v.message)}}let g=m?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;f||(g=E&&c.length<2?`(?:/${g})`:"/"+g),E&&(g+="?"),r+=g,d+=bt.Dynamic,E&&(d+=bt.BonusOptional),m&&(d+=bt.BonusRepeatable),y===".*"&&(d+=bt.BonusWildcard)}u.push(d)}s.push(u)}if(n.strict&&n.end){const c=s.length-1;s[c][s[c].length-1]+=bt.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function l(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 a(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,_=p in c?c[p]:"";if(fn(_)&&!m)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const y=fn(_)?_.join("/"):_;if(!y)if(E)h.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=y}}return u||"/"}return{re:o,score:s,keys:i,parse:l,stringify:a}}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]===bt.Static+bt.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===bt.Static+bt.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),_=[m];if("alias"in f){const v=typeof f.alias=="string"?[f.alias]:f.alias;for(const T of v)_.push(ep(Oe({},m,{components:d?d.record.components:m.components,path:T,aliasOf:d?d.record:m})))}let y,g;for(const v of _){const{path:T}=v;if(h&&T[0]!=="/"){const O=h.record.path,N=O[O.length-1]==="/"?"":"/";v.path=h.record.path+(T&&N+T)}if(y=gP(v,h,E),d?d.alias.push(y):(g=g||y,g!==y&&g.alias.push(y),p&&f.name&&!tp(y)&&o(f.name)),Ky(y)&&a(y),m.children){const O=m.children;for(let N=0;N<O.length;N++)i(O[N],y,d&&d.children[N])}d=d||y}return g?()=>{o(g)}: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 l(){return n}function a(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(g=>!g.optional).concat(d.parent?d.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),f.params&&Zh(f.params,d.keys.map(g=>g.name))),m=d.stringify(p)}else if(f.path!=null)m=f.path,d=n.find(g=>g.re.test(m)),d&&(p=d.parse(m),E=d.record.name);else{if(d=h.name?s.get(h.name):n.find(g=>g.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 _=[];let y=d;for(;y;)_.unshift(y.record),y=y.parent;return{name:E,path:m,params:p,matched:_,meta:vP(_)}}e.forEach(f=>i(f));function u(){n.length=0,s.clear()}return{addRoute:i,resolve:c,removeRoute:o,clearRoutes:u,getRoutes:l,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=Ot(oa),n=Ot(hf),s=he(()=>{const a=Kt(e.to);return t.resolve(a)}),r=he(()=>{const{matched:a}=s.value,{length:c}=a,u=a[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(a[c-2]);return c>1&&sp(u)===d&&f[f.length-1].path!==d?f.findIndex(Rr.bind(null,a[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 l(a={}){if(CP(a)){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:l}}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=qn(np(e)),{options:s}=Ot(oa),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(!fn(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=Ot(Lc),r=he(()=>e.route||s.value),i=Ot(Qh,0),o=he(()=>{let c=Kt(i);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),l=he(()=>r.value.matched[o.value]);Yr(Qh,he(()=>o.value+1)),Yr(nP,l),Yr(Lc,r);const a=ot();return De(()=>[a.value,l.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=l.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:_=>{_.component.isUnmounted&&(f.instances[u]=null)},ref:a}));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(),l=jr(),a=be(ns);let c=ns;cr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ia.bind(null,U=>""+U),f=Ia.bind(null,FN),h=Ia.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 _(U,J){if(J=Oe({},J||a.value),typeof U=="string"){const A=Ra(n,U,J.path),D=t.resolve({path:A.path},J),W=r.createHref(A.fullPath);return Oe(A,D,{params:h(D.params),hash:Mi(A.hash),redirectedFrom:void 0,href:W})}let Q;if(U.path!=null)Q=Oe({},U,{path:Ra(n,U.path,J.path).path});else{const A=Oe({},U.params);for(const D in A)A[D]==null&&delete A[D];Q=Oe({},U,{params:f(A)}),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 y(U){return typeof U=="string"?Ra(n,U,a.value.path):Oe({},U)}function g(U,J){if(c!==U)return Lr(He.NAVIGATION_CANCELLED,{from:J,to:U})}function v(U){return N(U)}function T(U){return v(Oe(y(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=y(oe):{path:oe},oe.params={}),Oe({query:U.query,hash:U.hash,params:oe.path!=null?{}:U.params},oe)}}function N(U,J){const Q=c=_(U),te=a.value,oe=U.state,Pe=U.force,w=U.replace===!0,A=O(Q,te);if(A)return N(Oe(y(A),{state:typeof A=="object"?Oe({},oe,A.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}),Se(te,te,!0,!1)),(W?Promise.resolve(W):P(D,te)).catch(B=>Pn(B)?Pn(B,He.NAVIGATION_GUARD_REDIRECT)?B:pe(B):K(B,D,te)).then(B=>{if(B){if(Pn(B,He.NAVIGATION_GUARD_REDIRECT))return N(Oe({replace:w},y(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=g(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=Ma(te.reverse(),"beforeRouteLeave",U,J);for(const A of te)A.leaveGuards.forEach(D=>{Q.push(fs(D,U,J))});const w=I.bind(null,U,J);return Q.push(w),ve(Q).then(()=>{Q=[];for(const A of i.list())Q.push(fs(A,U,J));return Q.push(w),ve(Q)}).then(()=>{Q=Ma(oe,"beforeRouteUpdate",U,J);for(const A of oe)A.updateGuards.forEach(D=>{Q.push(fs(D,U,J))});return Q.push(w),ve(Q)}).then(()=>{Q=[];for(const A of Pe)if(A.beforeEnter)if(fn(A.beforeEnter))for(const D of A.beforeEnter)Q.push(fs(D,U,J));else Q.push(fs(A.beforeEnter,U,J));return Q.push(w),ve(Q)}).then(()=>(U.matched.forEach(A=>A.enterCallbacks={}),Q=Ma(Pe,"beforeRouteEnter",U,J,S),Q.push(w),ve(Q))).then(()=>{Q=[];for(const A of o.list())Q.push(fs(A,U,J));return Q.push(w),ve(Q)}).catch(A=>Pn(A,He.NAVIGATION_CANCELLED)?A:Promise.reject(A))}function x(U,J,Q){l.list().forEach(te=>S(()=>te(U,J,Q)))}function R(U,J,Q,te,oe){const Pe=g(U,J);if(Pe)return Pe;const w=J===ns,A=cr?history.state:{};Q&&(te||w?r.replace(U.fullPath,Oe({scroll:w&&A&&A.scroll},oe)):r.push(U.fullPath,oe)),a.value=U,Se(U,J,Q,w),pe()}let $;function V(){$||($=r.listen((U,J,Q)=>{if(!tt.listening)return;const te=_(U),oe=O(te,tt.currentRoute.value);if(oe){N(Oe(oe,{replace:!0,force:!0}),te).catch(si);return}c=te;const Pe=a.value;cr&&QN(qh(Pe.fullPath,Q.delta),ia()),P(te,Pe).catch(w=>Pn(w,He.NAVIGATION_ABORTED|He.NAVIGATION_CANCELLED)?w:Pn(w,He.NAVIGATION_GUARD_REDIRECT)?(N(Oe(y(w.to),{force:!0}),te).then(A=>{Pn(A,He.NAVIGATION_ABORTED|He.NAVIGATION_DUPLICATED)&&!Q.delta&&Q.type===Ic.pop&&r.go(-1,!1)}).catch(si),Promise.reject()):(Q.delta&&r.go(-Q.delta,!1),K(w,te,Pe))).then(w=>{w=w||R(te,Pe,!1),w&&(Q.delta&&!Pn(w,He.NAVIGATION_CANCELLED)?r.go(-Q.delta,!1):Q.type===Ic.pop&&Pn(w,He.NAVIGATION_ABORTED|He.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),x(te,Pe,w)}).catch(si)}))}let G=jr(),j=jr(),q;function K(U,J,Q){pe(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&&a.value!==ns?Promise.resolve():new Promise((U,J)=>{G.add([U,J])})}function pe(U){return q||(q=!U,V(),G.list().forEach(([J,Q])=>U?Q(U):J()),G.reset()),U}function Se(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=>K(w,U,J))}const Ve=U=>r.go(U);let kt;const et=new Set,tt={currentRoute:a,listening:!0,addRoute:d,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:E,getRoutes:m,resolve:_,options:e,push:v,replace:T,go:Ve,back:()=>Ve(-1),forward:()=>Ve(1),beforeEach:i.add,beforeResolve:o.add,afterEach:l.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(a)}),cr&&!kt&&a.value===ns&&(kt=!0,v(r.location).catch(te=>{}));const J={};for(const te in ns)Object.defineProperty(J,te,{get:()=>a.value[te],enumerable:!0});U.provide(oa,tt),U.provide(hf,Jc(J)),U.provide(Lc,a);const Q=U.unmount;et.add(U),U.unmount=function(){et.delete(U),et.size<1&&(c=ns,$&&$(),$=null,a.value=ns,kt=!1,q=!1),Q()}}};function ve(U){return U.reduce((J,Q)=>J.then(()=>S(Q)),Promise.resolve())}return tt}function II(){return Ot(oa)}function RI(e){return Ot(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=ot(!1);return Zn(()=>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:l="#app"}={};async function a(c){const u=yi(e);let f;o&&u.use(f=SN());const h=PP({history:lP(t.base),...t}),{routes:d}=t;i&&u.component("ClientOnly",RP);const p=[],_={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(),_.initialState=r?.(window.__INITIAL_STATE__||{})||LP(window.__INITIAL_STATE__),await n?.(_),u.use(h);let y,g=!0;h.beforeEach((T,O,N)=>{(g||y&&y===T.path)&&(g=!1,y=T.path,T.meta.state=_.initialState),N()});const v=_.initialState;return{..._,initialState:v}}return(async()=>{const{app:c,router:u}=await a();await u.isReady(),c.mount(l,!0)})(),a}const xP=[{path:"/",name:"/",component:()=>Rt(()=>import("./index-DHyLkWwO.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:()=>Rt(()=>import("./_...all_-BtPy69Rb.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:()=>Rt(()=>import("./index-DdisZ-Uy.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:()=>Rt(()=>import("./index-BTz1WG1Y.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:()=>Rt(()=>import("./index-DUozE9xD.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:()=>Rt(()=>import("./index-_YrXRQnG.js"),__vite__mapDeps([34,11,5,2,3,4,16,35]),import.meta.url),meta:{layout:"index-layout"}},{path:":all(.*)",name:"/rating/[...all]",component:()=>Rt(()=>import("./_...all_-DxZgYtBx.js"),__vite__mapDeps([36,28,2,3,4,14,24,37]),import.meta.url)}]},{path:"/resolver",children:[{path:"",name:"/resolver/",component:()=>Rt(()=>import("./index-DjDSNR3b.js"),__vite__mapDeps([38,25,5,13,14,23,24,4,20,26,31,16]),import.meta.url),meta:{layout:"headless"}}]}];function Es(e,t){return bl()?(Kp(e,t),!0):!1}function xa(){const e=new Set,t=i=>{e.delete(i)};return{on:i=>{e.add(i);const o=()=>t(i);return Es(o),{off:o}},off:t,trigger:(...i)=>Promise.all(Array.from(e).map(o=>o(...i))),clear:()=>{e.clear()}}}const Da=new WeakMap,DP=(...e)=>{var t;const n=e[0],s=(t=ze())===null||t===void 0?void 0:t.proxy,r=s??bl();if(r==null&&!Il())throw new Error("injectLocal must be called in setup");return r&&Da.has(r)&&n in Da.get(r)?Da.get(r)[n]:Ot(...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]",ln=()=>{};function gr(...e){if(e.length!==1)return cm(...e);const t=e[0];return typeof t=="function"?an(nu(()=>({get:t,set:ln}))):ot(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=ln;const i=a=>{clearTimeout(a),r(),r=ln};let o;return a=>{const c=le(e),u=le(t.maxWait);return n&&i(n),c<=0||u!==void 0&&u<=0?(s&&(i(s),s=void 0),Promise.resolve(a())):new Promise((f,h)=>{r=t.rejectOnCancel?h:f,o=a,u&&!s&&(s=setTimeout(()=>{n&&i(n),s=void 0,f(o())},u)),n=setTimeout(()=>{s&&i(s),s=void 0,f(a())},c)})}}function HP(...e){let t=0,n,s=!0,r=ln,i,o,l,a,c;!Ne(e[0])&&typeof e[0]=="object"?{delay:o,trailing:l=!0,leading:a=!0,rejectOnCancel:c=!1}=e[0]:[o,l=!0,a=!0,c=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,r(),r=ln)};return h=>{const d=le(o),p=Date.now()-t,m=()=>i=h();return u(),d<=0?(t=Date.now(),m()):(p>d?(t=Date.now(),(a||!s)&&m()):l&&(i=new Promise((E,_)=>{r=c?_:E,n=setTimeout(()=>{t=Date.now(),s=!0,E(m()),u()},Math.max(0,d-p))})),!a&&!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=(...l)=>{s.value&&e(...l)};return{isActive:an(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 lp(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 De(e,pf(s,t),r)}function XP(e,t,n={}){const{eventFilter:s,initialState:r="active",...i}=n,{eventFilter:o,pause:l,resume:a,isActive:c}=UP(s,{initialState:r});return{stop:qP(e,t,{...i,eventFilter:o}),pause:l,resume:a,isActive:c}}const QP=XP;function mf(e,t=!0,n){WP()?Zn(e,n):t?e():Yt(e)}function Mc(e,t=!1){function n(f,{flush:h="sync",deep:d=!1,timeout:p,throwOnTimeout:m}={}){let E=null;const _=[new Promise(y=>{E=De(e,g=>{f(g)!==t&&(E?E():Yt(()=>E?.()),y(g))},{flush:h,deep:d,immediate:!0})})];return p!=null&&_.push(op(p,m).then(()=>le(e)).finally(()=>E?.())),Promise.race(_)}function s(f,h){if(!Ne(f))return n(g=>g===f,h);const{flush:d="sync",deep:p=!1,timeout:m,throwOnTimeout:E}=h??{};let _=null;const y=[new Promise(g=>{_=De([e,f],([v,T])=>{t!==(v===T)&&(_?_():Yt(()=>_?.()),g(v))},{flush:d,deep:p,immediate:!0})})];return m!=null&&y.push(op(m,E).then(()=>le(e)).finally(()=>(_?.(),le(e)))),Promise.race(y)}function r(f){return n(h=>!!h,f)}function i(f){return s(null,f)}function o(f){return s(void 0,f)}function l(f){return n(Number.isNaN,f)}function a(f,h){return n(d=>{const p=Array.from(d);return p.includes(f)||p.includes(le(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(le(e))?{toMatch:n,toContains:a,changed:c,changedTimes:u,get not(){return Mc(e,!t)}}:{toMatch:n,toBe:s,toBeTruthy:r,toBeNull:i,toBeNaN:l,toBeUndefined:o,changed:c,changedTimes:u,get not(){return Mc(e,!t)}}}function YP(e){return Mc(e)}function zP(e,t=1e3,n={}){const{immediate:s=!0,immediateCallback:r=!1}=n;let i=null;const o=be(!1);function l(){i&&(clearInterval(i),i=null)}function a(){o.value=!1,l()}function c(){const u=le(t);u<=0||(o.value=!0,r&&e(),l(),o.value&&(i=setInterval(e,u)))}return s&&Mr&&c(),(Ne(t)||typeof t=="function")&&Es(De(t,()=>{o.value&&Mr&&c()})),Es(a),{isActive:Zc(o),pause:a,resume:c}}function Qy(e,t,n={}){const{immediate:s=!0,immediateCallback:r=!1}=n,i=be(!1);let o;function l(){o&&(clearTimeout(o),o=void 0)}function a(){i.value=!1,l()}function c(...u){r&&e(),l(),i.value=!0,o=setTimeout(()=>{i.value=!1,o=void 0,e(...u)},le(t))}return s&&(i.value=!0,Mr&&c()),Es(a),{isPending:Zc(i),start:c,stop:a}}function JP(e=!1,t={}){const{truthyValue:n=!0,falsyValue:s=!1}=t,r=Ne(e),i=be(e);function o(l){if(arguments.length)return i.value=l,i.value;{const a=le(n);return i.value=i.value===a?le(s):a,i.value}}return r?o:[i,o]}function ZP(e,t,n){return De(e,t,{...n,immediate:!0})}function eI(e,t,n){return De(e,t,{...n,once:!0})}const st=Mr?window:void 0,Yy=Mr?window.document:void 0,zy=Mr?window.navigator:void 0;function js(e){var t;const n=le(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function Ut(...e){const t=(s,r,i,o)=>(s.addEventListener(r,i,o),()=>s.removeEventListener(r,i,o)),n=he(()=>{const s=ri(le(e[0])).filter(r=>r!=null);return s.every(r=>typeof r!="string")?s:void 0});return ZP(()=>{var s,r;return[(s=(r=n.value)===null||r===void 0?void 0:r.map(i=>js(i)))!==null&&s!==void 0?s:[st].filter(i=>i!=null),ri(le(n.value?e[1]:e[0])),ri(Kt(n.value?e[2]:e[1])),le(n.value?e[3]:e[2])]},([s,r,i,o],l,a)=>{if(!s?.length||!r?.length||!i?.length)return;const c=$P(o)?{...o}:o,u=s.flatMap(f=>r.flatMap(h=>i.map(d=>t(f,h,d,c))));a(()=>{u.forEach(f=>f())})},{flush:"post"})}function tI(){const e=be(!1),t=ze();return t&&Zn(()=>{e.value=!0},t),e}function zi(e){const t=tI();return he(()=>(t.value,!!e()))}function Jy(e,t,n={}){const{window:s=st,...r}=n;let i;const o=zi(()=>s&&"MutationObserver"in s),l=()=>{i&&(i.disconnect(),i=void 0)},a=De(he(()=>{const f=ri(le(e)).map(js).filter(qy);return new Set(f)}),f=>{l(),o.value&&f.size&&(i=new MutationObserver(t),f.forEach(h=>i.observe(h,r)))},{immediate:!0,flush:"post"}),c=()=>i?.takeRecords(),u=()=>{a(),l()};return Es(u),{isSupported:o,stop:u,takeRecords:c}}function nI(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function sI(...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=st,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=s,a=nI(t);return Ut(r,i,u=>{u.repeat&&le(l)||a(u)&&n(u)},o)}function LI(e,t,n={}){return sI(e,t,{...n,eventName:"keyup"})}function rI(e,t={}){const{immediate:n=!0,fpsLimit:s=void 0,window:r=st,once:i=!1}=t,o=be(!1),l=he(()=>s?1e3/le(s):null);let a=0,c=null;function u(d){if(!o.value||!r)return;a||(a=d);const p=d-a;if(l.value&&p<l.value){c=r.requestAnimationFrame(u);return}if(a=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,a=0,c=r.requestAnimationFrame(u))}function h(){o.value=!1,c!=null&&r&&(r.cancelAnimationFrame(c),c=null)}return n&&f(),Es(h),{isActive:an(o),pause:h,resume:f}}const iI=Symbol("vueuse-ssr-width");function oI(){const e=Il()?DP(iI,null):null;return typeof e=="number"?e:void 0}function lI(e,t={}){const{window:n=st,ssrWidth:s=oI()}=t,r=zi(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=be(typeof s=="number"),o=be(),l=be(!1),a=c=>{l.value=c.matches};return pu(()=>{if(i.value){i.value=!r.value,l.value=le(e).split(",").some(c=>{const u=c.includes("not all"),f=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),h=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let d=!!(f||h);return f&&d&&(d=s>=lp(f[1])),h&&d&&(d=s<=lp(h[1])),u?!d:d});return}r.value&&(o.value=n.matchMedia(le(e)),l.value=o.value.matches)}),Ut(o,"change",a,{passive:!0}),he(()=>l.value)}function ap(e,t={}){const{controls:n=!1,navigator:s=zy}=t,r=zi(()=>s&&"permissions"in s),i=be(),o=typeof e=="string"?{name:e}:e,l=be(),a=()=>{var u,f;l.value=(u=(f=i.value)===null||f===void 0?void 0:f.state)!==null&&u!==void 0?u:"prompt"};Ut(i,"change",a,{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{a()}if(n)return de(i.value)}});return c(),n?{state:l,isSupported:r,query:c}:l}function MI(e={}){const{navigator:t=zy,read:n=!1,source:s,copiedDuring:r=1500,legacy:i=!1}=e,o=zi(()=>t&&"clipboard"in t),l=ap("clipboard-read"),a=ap("clipboard-write"),c=he(()=>o.value||i),u=be(""),f=be(!1),h=Qy(()=>f.value=!1,r,{immediate:!1});async function d(){let y=!(o.value&&_(l.value));if(!y)try{u.value=await t.clipboard.readText()}catch{y=!0}y&&(u.value=E())}c.value&&n&&Ut(["copy","cut"],d,{passive:!0});async function p(y=le(s)){if(c.value&&y!=null){let g=!(o.value&&_(a.value));if(!g)try{await t.clipboard.writeText(y)}catch{g=!0}g&&m(y),u.value=y,f.value=!0,h.start()}}function m(y){const g=document.createElement("textarea");g.value=y,g.style.position="absolute",g.style.opacity="0",g.setAttribute("readonly",""),document.body.appendChild(g),g.select(),document.execCommand("copy"),g.remove()}function E(){var y,g,v;return(y=(g=document)===null||g===void 0||(v=g.getSelection)===null||v===void 0||(v=v.call(g))===null||v===void 0?void 0:v.toString())!==null&&y!==void 0?y:""}function _(y){return y==="granted"||y==="prompt"}return{isSupported:c,text:an(u),copied:an(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__",cI=uI();function uI(){return Eo in vo||(vo[Eo]=vo[Eo]||{}),vo[Eo]}function Zy(e,t){return cI[e]||t}function ev(e){return lI("(prefers-color-scheme: dark)",e)}function fI(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 dI={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 hI(e,t,n,s={}){var r;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:a=!0,mergeDefaults:c=!1,shallow:u,window:f=st,eventFilter:h,onError:d=V=>{console.error(V)},initOnMounted:p}=s,m=(u?be:ot)(typeof t=="function"?t():t),E=he(()=>le(e));if(!n)try{n=Zy("getDefaultStorage",()=>st?.localStorage)()}catch(V){d(V)}if(!n)return m;const _=le(t),y=fI(_),g=(r=s.serializer)!==null&&r!==void 0?r:dI[y],{pause:v,resume:T}=QP(m,V=>P(V),{flush:i,deep:o,eventFilter:h});De(E,()=>R(),{flush:i});let O=!1;const N=V=>{p&&!O||R(V)},I=V=>{p&&!O||$(V)};f&&l&&(n instanceof Storage?Ut(f,"storage",N,{passive:!0}):Ut(f,cp,I)),p?mf(()=>{O=!0,R()}):R();function S(V,G){if(f){const j={key:E.value,oldValue:V,newValue:G,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",j):new CustomEvent(cp,{detail:j}))}}function P(V){try{const G=n.getItem(E.value);if(V==null)S(G,null),n.removeItem(E.value);else{const j=g.write(V);G!==j&&(n.setItem(E.value,j),S(G,j))}}catch(G){d(G)}}function x(V){const G=V?V.newValue:n.getItem(E.value);if(G==null)return a&&_!=null&&n.setItem(E.value,g.write(_)),_;if(!V&&c){const j=g.read(G);return typeof c=="function"?c(j,_):y==="object"&&!Array.isArray(j)?{..._,...j}:j}else return typeof G!="string"?G:g.read(G)}function R(V){if(!(V&&V.storageArea!==n)){if(V&&V.key==null){m.value=_;return}if(!(V&&V.key!==E.value)){v();try{const G=g.write(m.value);(V===void 0||V?.newValue!==G)&&(m.value=x(V))}catch(G){d(G)}finally{V?Yt(T):T()}}}}function $(V){R(V.detail)}return m}const pI="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function mI(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=st,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:a,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=a||(o==null?gr(s):hI(o,s,i,{window:r,listenToStorageChanges:l})),m=he(()=>p.value==="auto"?d.value:p.value),E=Zy("updateHTMLAttrs",(v,T,O)=>{const N=typeof v=="string"?r?.document.querySelector(v):js(v);if(!N)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(pI)),r.document.head.appendChild(x));for(const R of I)N.classList.add(R);for(const R of S)N.classList.remove(R);P&&N.setAttribute(P.key,P.value),u&&(r.getComputedStyle(x).opacity,document.head.removeChild(x))});function _(v){var T;E(t,n,(T=f[v])!==null&&T!==void 0?T:v)}function y(v){e.onChanged?e.onChanged(v,_):_(v)}De(m,y,{flush:"post",immediate:!0}),mf(()=>y(m.value));const g=he({get(){return c?p.value:m.value},set(v){p.value=v}});return Object.assign(g,{store:p,system:d,state:m})}function gI(e={}){const{valueDark:t="dark",valueLight:n=""}=e,s=mI({...e,onChanged:(i,o)=>{var l;e.onChanged?(l=e.onChanged)===null||l===void 0||l.call(e,i==="dark",o,i):o(i)},modes:{dark:t,light:n}}),r=he(()=>s.system.value);return he({get(){return s.value==="dark"},set(i){const o=i?"dark":"light";r.value===o?s.value="auto":s.value=o}})}function xI(e={}){const{document:t=Yy}=e;if(!t)return be("visible");const n=be(t.visibilityState);return Ut(t,"visibilitychange",()=>{n.value=t.visibilityState},{passive:!0}),n}function _I(e,t,n={}){const{root:s,rootMargin:r="0px",threshold:i=0,window:o=st,immediate:l=!0}=n,a=zi(()=>o&&"IntersectionObserver"in o),c=he(()=>ri(le(e)).map(js).filter(qy));let u=ln;const f=be(l),h=a.value?De(()=>[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(_=>_&&E.observe(_)),u=()=>{E.disconnect(),u=ln}},{immediate:l,flush:"post"}):ln,d=()=>{u(),h(),f.value=!1};return Es(d),{isSupported:a,isActive:f,pause(){u(),f.value=!1},resume(){f.value=!0},stop:d}}function DI(e,t={}){const{window:n=st,scrollTarget:s,threshold:r=0,rootMargin:i,once:o=!1,initialValue:l=!1}=t,a=be(l),{stop:c}=_I(e,u=>{let f=a.value,h=0;for(const d of u)d.time>=h&&(h=d.time,f=d.isIntersecting);a.value=f,o&&eI(a,()=>{c()})},{root:s,window:n,threshold:r,rootMargin:le(i)});return a}const yI={json:"application/json",text:"text/plain"};function up(e){return e&&jP(e,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}function ka(e){return typeof Headers<"u"&&e instanceof Headers?Object.fromEntries(e.entries()):e}function kI(e,...t){var n,s;const r=typeof AbortController=="function";let i={},o={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1};const l={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:a=(n=st?.fetch)!==null&&n!==void 0?n:(s=globalThis)===null||s===void 0?void 0:s.fetch,initialData:c,timeout:u}=o,f=xa(),h=xa(),d=xa(),p=be(!1),m=be(!1),E=be(!1),_=be(null),y=be(null),g=be(null),v=be(c||null),T=he(()=>r&&m.value);let O,N;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&&(N=Qy(I,u,{immediate:!1}));let P=0;const x=async(q=!1)=>{var K;I(),S(!0),g.value=null,_.value=null,E.value=!1,P+=1;const ee=P,pe={method:l.method,headers:{}},Se=le(l.payload);if(Se){var Ve;const ve=ka(pe.headers),U=Object.getPrototypeOf(Se);!l.payloadType&&Se&&(U===Object.prototype||Array.isArray(U))&&!(Se instanceof FormData)&&(l.payloadType="json"),l.payloadType&&(ve["Content-Type"]=(Ve=yI[l.payloadType])!==null&&Ve!==void 0?Ve:l.payloadType),pe.body=l.payloadType==="json"?JSON.stringify(Se):Se}let kt=!1;const et={url:le(e),options:{...pe,...i},cancel:()=>{kt=!0}};if(o.beforeFetch&&Object.assign(et,await o.beforeFetch(et)),kt||!a)return S(!1),Promise.resolve(null);let tt=null;return N&&N.start(),a(et.url,{...pe,...et.options,headers:{...ka(pe.headers),...ka((K=et.options)===null||K===void 0?void 0:K.headers)}}).then(async ve=>{if(y.value=ve,_.value=ve.status,tt=await ve.clone()[l.type](),!ve.ok)throw v.value=c||null,new Error(ve.statusText);return o.afterFetch&&({data:tt}=await o.afterFetch({data:tt,response:ve,context:et,execute:x})),v.value=tt,f.trigger(ve),ve}).catch(async ve=>{let U=ve.message||ve.name;if(o.onFetchError&&({error:U,data:tt}=await o.onFetchError({data:tt,error:ve,response:y.value,context:et,execute:x})),g.value=U,o.updateDataOnError&&(v.value=tt),h.trigger(ve),q)throw ve;return null}).finally(()=>{ee===P&&S(!1),N&&N.stop(),d.trigger(null)})},R=gr(o.refetch);De([R,gr(e)],([q])=>q&&x(),{deep:!0});const $={isFinished:an(p),isFetching:an(m),statusCode:_,response:y,error:g,data:v,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(K,ee)=>{if(!m.value)return l.method=q,l.payload=K,l.payloadType=ee,Ne(l.payload)&&De([R,gr(l.payload)],([pe])=>pe&&x(),{deep:!0}),{...$,then(pe,Se){return G().then(pe,Se)}}}}function G(){return new Promise((q,K)=>{YP(p).toBe(!0).then(()=>q($)).catch(K)})}function j(q){return()=>{if(!m.value)return l.type=q,{...$,then(K,ee){return G().then(K,ee)}}}}return o.immediate&&Promise.resolve().then(()=>x()),{...$,then(q,K){return G().then(q,K)}}}const fp=1;function vI(e,t={}){const{throttle:n=0,idle:s=200,onStop:r=ln,onScroll:i=ln,offset:o={left:0,right:0,top:0,bottom:0},observe:l={mutation:!1},eventListenerOptions:a={capture:!1,passive:!0},behavior:c="auto",window:u=st,onError:f=S=>{console.error(S)}}=t,h=typeof l=="boolean"?{mutation:l}:l,d=be(0),p=be(0),m=he({get(){return d.value},set(S){_(S,void 0)}}),E=he({get(){return p.value},set(S){_(void 0,S)}});function _(S,P){var x,R,$,V;if(!u)return;const G=le(e);if(!G)return;(x=G instanceof Document?u.document.body:G)===null||x===void 0||x.scrollTo({top:(R=le(P))!==null&&R!==void 0?R:E.value,left:($=le(S))!==null&&$!==void 0?$:m.value,behavior:le(c)});const j=(G==null||(V=G.document)===null||V===void 0?void 0:V.documentElement)||G?.documentElement||G;m!=null&&(d.value=j.scrollLeft),E!=null&&(p.value=j.scrollTop)}const y=be(!1),g=qn({left:!0,right:!1,top:!0,bottom:!1}),v=qn({left:!1,right:!1,top:!1,bottom:!1}),T=S=>{y.value&&(y.value=!1,v.left=!1,v.right=!1,v.top=!1,v.bottom=!1,r(S))},O=GP(T,n+s),N=S=>{var P;if(!u)return;const x=(S==null||(P=S.document)===null||P===void 0?void 0:P.documentElement)||S?.documentElement||js(S),{display:R,flexDirection:$,direction:V}=u.getComputedStyle(x),G=V==="rtl"?-1:1,j=x.scrollLeft;v.left=j<d.value,v.right=j>d.value;const q=Math.abs(j*G)<=(o.left||0),K=Math.abs(j*G)+x.clientWidth>=x.scrollWidth-(o.right||0)-fp;R==="flex"&&$==="row-reverse"?(g.left=K,g.right=q):(g.left=q,g.right=K),d.value=j;let ee=x.scrollTop;S===u.document&&!ee&&(ee=u.document.body.scrollTop),v.top=ee<p.value,v.bottom=ee>p.value;const pe=Math.abs(ee)<=(o.top||0),Se=Math.abs(ee)+x.clientHeight>=x.scrollHeight-(o.bottom||0)-fp;R==="flex"&&$==="column-reverse"?(g.top=Se,g.bottom=pe):(g.top=pe,g.bottom=Se),p.value=ee},I=S=>{var P;u&&(N((P=S.target.documentElement)!==null&&P!==void 0?P:S.target),y.value=!0,O(S),i(S))};return Ut(e,"scroll",n?KP(I,n,!0,!1):I,a),mf(()=>{try{const S=le(e);if(!S)return;N(S)}catch(S){f(S)}}),h?.mutation&&e!=null&&e!==u&&e!==document&&Jy(e,()=>{const S=le(e);S&&N(S)},{attributes:!0,childList:!0,subtree:!0}),Ut(e,"scrollend",T,a),{x:m,y:E,isScrolling:y,arrivedState:g,directions:v,measure(){const S=le(e);u&&S&&N(S)}}}const EI={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function FI(e={}){const{reactive:t=!1,target:n=st,aliasMap:s=EI,passive:r=!0,onEventFired:i=ln}=e,o=qn(new Set),l={toJSON(){return{}},current:o},a=t?qn(l):l,c=new Set,u=new Map([["Meta",c],["Shift",new Set],["Alt",new Set]]),f=new Set;function h(y,g){y in a&&(t?a[y]=g:a[y].value=g)}function d(){o.clear();for(const y of f)h(y,!1)}function p(y,g,v){if(!(!y||typeof g.getModifierState!="function")){for(const[T,O]of u)if(g.getModifierState(T)){v.forEach(N=>O.add(N));break}}}function m(y,g){if(y)return;const v=`${g[0].toUpperCase()}${g.slice(1)}`,T=u.get(v);if(!["shift","alt"].includes(g)||!T)return;const O=Array.from(T),N=O.indexOf(g);O.forEach((I,S)=>{S>=N&&(o.delete(I),h(I,!1))}),T.clear()}function E(y,g){var v,T;const O=(v=y.key)===null||v===void 0?void 0:v.toLowerCase(),N=[(T=y.code)===null||T===void 0?void 0:T.toLowerCase(),O].filter(Boolean);if(O!==""){O&&(g?o.add(O):o.delete(O));for(const I of N)f.add(I),h(I,g);p(g,y,[...o,...N]),m(g,O),O==="meta"&&!g&&(c.forEach(I=>{o.delete(I),h(I,!1)}),c.clear())}}Ut(n,"keydown",y=>(E(y,!0),i(y)),{passive:r}),Ut(n,"keyup",y=>(E(y,!1),i(y)),{passive:r}),Ut("blur",d,{passive:r}),Ut("focus",d,{passive:r});const _=new Proxy(a,{get(y,g,v){if(typeof g!="string")return Reflect.get(y,g,v);if(g=g.toLowerCase(),g in s&&(g=s[g]),!(g in a))if(/[+_-]/.test(g)){const O=g.split(/[+_-]/g).map(N=>N.trim());a[g]=he(()=>O.map(N=>le(_[N])).every(Boolean))}else a[g]=be(!1);const T=Reflect.get(y,g,v);return t?le(T):T}});return _}function $I(e={}){const{controls:t=!1,interval:n="requestAnimationFrame",immediate:s=!0}=e,r=ot(new Date),i=()=>r.value=new Date,o=n==="requestAnimationFrame"?rI(i,{immediate:s}):zP(i,n,{immediate:s});return t?{now:r,...o}:r}function VI(e=null,t={}){var n,s;const{document:r=Yy,restoreOnUnmount:i=f=>f}=t,o=(n=r?.title)!==null&&n!==void 0?n:"",l=gr((s=e??r?.title)!==null&&s!==void 0?s:null),a=!!(e&&typeof e=="function");function c(f){if(!("titleTemplate"in t))return f;const h=t.titleTemplate||"%s";return typeof h=="function"?h(f):le(h).replace(/%s/g,f)}if(De(l,(f,h)=>{f!==h&&r&&(r.title=c(f??""))},{immediate:!0}),t.observe&&!t.titleTemplate&&r&&!a){var u;Jy((u=r.head)===null||u===void 0?void 0:u.querySelector("title"),()=>{r&&r.title!==l.value&&(l.value=c(r.title))},{childList:!0})}return Es(()=>{if(i){const f=i(o,l.value||"");f!=null&&r&&(r.title=f)}}),l}function HI(e,t,n,s={}){var r,i;const{clone:o=!1,passive:l=!1,eventName:a,deep:c=!1,defaultValue:u,shouldEmit:f}=s,h=ze(),d=h?.emit||(h==null||(r=h.$emit)===null||r===void 0?void 0:r.bind(h))||(h==null||(i=h.proxy)===null||i===void 0||(i=i.$emit)===null||i===void 0?void 0:i.bind(h?.proxy));let p=a;t||(t="modelValue"),p=p||`update:${t.toString()}`;const m=y=>o?typeof o=="function"?o(y):aI(y):y,E=()=>kP(e[t])?m(e[t]):u,_=y=>{f?f(y)&&d(p,y):d(p,y)};if(l){const y=ot(E());let g=!1;return De(()=>e[t],v=>{g||(g=!0,y.value=m(v),Yt(()=>g=!1))}),De(y,v=>{!g&&(v!==e[t]||c)&&_(v)},{deep:c}),y}else return he({get(){return E()},set(y){_(y)}})}function UI(e={}){const{window:t=st,...n}=e;return vI(t,n)}const tv=gI(),BI=JP(tv),bI=ev(),TI=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:()=>bI.value?"/favicon-dark.svg":"/favicon.svg"}]}),(t,n)=>{const s=Gs("RouterView");return At(),Qn(s)}}});MP(TI,{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 $,VI as A,kI as B,De as C,Bi as D,AT as E,Ge as F,Qn as G,II as H,Vn as I,Ou as J,Xg as K,pi as L,bu as M,Yt as N,hI as O,SI as P,mO as Q,MI as R,T0 as S,h0 as T,Zn as U,TS as V,zP as W,sI as X,xI as Y,KP as Z,FI as _,Re as a,dO as a0,LI as a1,Zl as a2,LO as a3,CO as a4,wI as a5,vc as a6,Zt as a7,Yi as a8,SO as a9,wO as aa,yc as ab,ey as ac,$O as ad,NO as ae,wt as af,Il as ag,Ot as ah,WO as ai,ce as aj,Jc as ak,qn as al,PI as am,Kp as an,CI as ao,Zc as ap,an as aq,Hb as ar,Rg as as,Es as at,nu as au,le as av,ze as aw,HI as ax,yn as b,Er as c,vu as d,Dt as e,Cu as f,UI as g,he as h,RI as i,BI as j,Z0 as k,qg as l,ot as m,zn as n,At as o,DI as p,Za as q,Gs as r,$I as s,El as t,Kt as u,nT as v,Ws as w,zo as x,Ml as y,Ne as z};
|
|
15
|
+
`,-1)}mC(e.hoists,t),i(),r("return ")}function Oa(e,t,{helper:n,push:s,newline:r,isTS:i}){const o=n(t==="filter"?Bl:t==="component"?Vl:Ul);for(let l=0;l<e.length;l++){let a=e[l];const c=a.endsWith("__self");c&&(a=a.slice(0,-6)),s(`const ${Pr(a,t)} = ${o}(${JSON.stringify(a)}${c?", true":""})${i?"!":""}`),l<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} = `),vt(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 l=e[o];re(l)?r(l,-3):z(l)?Wu(l,t):vt(l,t),o<e.length-1&&(n?(s&&r(","),i()):s&&r(", "))}}function vt(e,t){if(re(e)){t.push(e,-3);return}if(Nt(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:vt(e.codegenNode,t);break;case 2:gC(e,t);break;case 4:R_(e,t);break;case 5:_C(e,t);break;case 12:vt(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(Jl),n(`${s(Gi)}(`),vt(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):vt(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(Jl),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:l,patchFlag:a,dynamicProps:c,directives:u,isBlock:f,disableTracking:h,isComponent:d}=e;let p;a&&(p=String(a)),u&&n(s(jl)+"("),f&&n(`(${s(ys)}(${h?"true":""}), `),r&&n(Jl);const m=f?zs(t.inSSR,d):Ys(t.inSSR,d);n(s(m)+"(",-2,e),Qi(bC([i,o,l,p,c]),t),n(")"),f&&n(")"),u&&(n(", "),vt(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(Jl),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 l=o.length>1||!1;n(l?"{":"{ "),l&&s();for(let a=0;a<o.length;a++){const{key:c,value:u}=o[a];yC(c,t),n(": "),vt(u,t),a<o.length-1&&(n(","),i())}l&&r(),n(l?"}":" }")}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:l,newline:a,isSlot:c}=e;c&&n(`_${Xs[Xl]}(`),n("(",-2,e),z(i)?Qi(i,t):i&&vt(i,t),n(") => "),(a||l)&&(n("{"),s()),o?(a&&n("return "),z(o)?Wu(o,t):vt(o,t)):l&&vt(l,t),(a||l)&&(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:l,deindent:a,newline:c}=t;if(n.type===4){const f=!Ki(n.content);f&&o("("),R_(n,t),f&&o(")")}else o("("),vt(n,t),o(")");i&&l(),t.indentLevel++,i||o(" "),o("? "),vt(s,t),t.indentLevel--,i&&c(),i||o(" "),o(": ");const u=r.type===19;u||t.indentLevel++,vt(r,t),u||t.indentLevel--,i&&a(!0)}function AC(e,t){const{push:n,helper:s,indent:r,deindent:i,newline:o}=t,{needPauseTracking:l,needArraySpread:a}=e;a&&n("[...("),n(`_cache[${e.index}] || (`),l&&(r(),n(`${s(Ti)}(-1`),e.inVOnce&&n(", true"),n("),"),o(),n("(")),n(`_cache[${e.index}] = `),vt(e.value,t),l&&(n(`).cacheIndex = ${e.index},`),o(),n(`${s(Ti)}(1),`),o(),n(`_cache[${e.index}]`),i()),n(")"),a&&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=St(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 l=o.indexOf(s),a=0;for(;l-->=0;){const c=o[l];c&&c.type===9&&(a+=c.branches.length)}return()=>{if(i)s.codegenNode=Jd(r,a,n);else{const c=IC(s.codegenNode);c.alternate=Jd(r,a+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(xe(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(xe(30,e.loc)),n.removeNode();const l=zd(e,t);o.branches.push(l);const a=s&&s(o,l,!1);Xi(l,n),a&&a(),n.currentNode=null}else n.onError(xe(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&&!St(e,"for")?e.children:[e],userKey:qi(e,"key"),isTemplateIf:n}}function Jd(e,t,n){return e.condition?tl(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 a=o.codegenNode;return wi(a,r,n),a}else return Or(n,s(wr),Ht([r]),i,64,void 0,void 0,!0,!1,!1,e.loc);else{const a=o.codegenNode,c=__(a);return c.type===13&&Yl(c,n),wi(c,r,n),a}}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(Wl),[i.source]),l=Nr(e),a=St(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,_=Si(e)?e:l&&e.children.length===1&&Si(e.children[0])?e.children[0]:null;if(_?(p=_.codegenNode,l&&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,l&&f&&wi(p,f,n),p.isBlock!==!h&&(p.isBlock?(r(ys),r(zs(n.inSSR,p.isComponent))):r(Ys(n.inSSR,p.isComponent))),p.isBlock=!h,p.isBlock?(s(ys),s(zs(n.inSSR,p.isComponent))):s(Ys(n.inSSR,p.isComponent))),a){const y=Qs(sl(i.parseResult,[ie("_cached")]));y.body=r_([Xt(["const _memo = (",a.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(y,ie("_cache"),ie(String(n.cached.length))),n.cached.push(null)}else o.arguments.push(Qs(sl(i.parseResult),p,!0))}})});function D_(e,t,n,s){if(!t.exp){n.onError(xe(31,t.loc));return}const r=t.forParseResult;if(!r){n.onError(xe(32,t.loc));return}Gu(r);const{addIdentifiers:i,removeIdentifiers:o,scopes:l}=n,{source:a,value:c,key:u,index:f}=r,h={type:11,loc:t.loc,source:a,valueAlias:c,keyAlias:u,objectIndexAlias:f,parseResult:r,children:Nr(e)?e.children:[e]};n.replaceNode(h),l.vFor++;const d=s&&s(h);return()=>{l.vFor--,d&&d()}}function Gu(e,t){e.finalized||(e.finalized=!0)}function sl({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=St(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=St(e,"for"))){const s=n.forParseResult;if(s){Gu(s);const{value:r,key:i,index:o}=s,{addIdentifiers:l,removeIdentifiers:a}=t;return r&&l(r),i&&l(i),o&&l(o),()=>{r&&a(r),i&&a(i),o&&a(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(Xl);const{children:s,loc:r}=e,i=[],o=[];let l=t.scopes.vSlot>0||t.scopes.vFor>0;const a=St(e,"slot",!0);if(a){const{arg:E,exp:_}=a;E&&!Ct(E)&&(l=!0),i.push(qe(E||ie("default",!0),n(_,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 _=s[E];let y;if(!Nr(_)||!(y=St(_,"slot",!0))){_.type!==3&&f.push(_);continue}if(a){t.onError(xe(37,y.loc));break}c=!0;const{children:g,loc:v}=_,{arg:T=ie("default",!0),exp:O,loc:N}=y;let I;Ct(T)?I=T?T.content:"default":l=!0;const S=St(_,"for"),P=n(O,S,g,v);let x,R;if(x=St(_,"if"))l=!0,o.push(tl(x.exp,po(T,P,d++),eh));else if(R=St(_,/^else(?:-if)?$/,!0)){let $=E,V;for(;$--&&(V=s[$],!!Hu(V)););if(V&&Nr(V)&&St(V,/^(?:else-)?if$/)){let G=o[o.length-1];for(;G.alternate.type===19;)G=G.alternate;G.alternate=R.exp?tl(R.exp,po(T,P,d++),eh):po(T,P,d++)}else t.onError(xe(30,R.loc))}else if(S){l=!0;const $=S.forParseResult;$?(Gu($),o.push(Qe(t.helper(Wl),[$.source,Qs(sl($),po(T,P),!0)]))):t.onError(xe(32,S.loc))}else{if(I){if(h.has(I)){t.onError(xe(38,N));continue}h.add(I),I==="default"&&(u=!0)}i.push(qe(T,P))}}if(!a){const E=(_,y)=>{const g=n(_,void 0,y,r);return t.compatConfig&&(g.isNonScopedSlot=!0),qe("default",g)};c?f.length&&!f.every(zl)&&(u?t.onError(xe(39,f[0].loc)):i.push(E(void 0,f))):i.push(E(void 0,s))}const p=l?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,ps(o)])),{slots:m,hasDynamicSlots:l}}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 l=Te(o)&&o.callee===Hl;let a,c,u=0,f,h,d,p=l||o===pr||o===Dl||!i&&(s==="svg"||s==="foreignObject"||s==="math");if(r.length>0){const m=Ku(e,t,void 0,i,l);a=m.props,u=m.patchFlag,h=m.dynamicPropNames;const E=m.directives;d=E&&E.length?ps(E.map(_=>U_(_,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:_}=F_(e,t);c=E,_&&(u|=1024)}else if(e.children.length===1&&o!==pr){const E=e.children[0],_=E.type,y=_===5||_===8;y&&Mt(E,t)===0&&(u|=1),y||_===2?c=E:c=e.children}else c=e.children;h&&h.length&&(f=kC(h)),e.codegenNode=Or(t,o,a,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=_c(s),i=qi(e,"is",!1,!0);if(i)if(r||Bs("COMPILER_IS_ON_ELEMENT",t)){let l;if(i.type===6?l=i.value&&ie(i.value.content,!0):(l=i.exp,l||(l=ie("is",!1,i.arg.loc))),l)return Qe(t.helper(Hl),[l])}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(Vl),t.components.add(s),Pr(s,"component"))}function Ku(e,t,n=e.props,s,r,i=!1){const{tag:o,loc:l,children:a}=e;let c=[];const u=[],f=[],h=a.length>0;let d=!1,p=0,m=!1,E=!1,_=!1,y=!1,g=!1,v=!1;const T=[],O=P=>{c.length&&(u.push(Ht(th(c),l)),c=[]),P&&u.push(P)},N=()=>{t.scopes.vFor>0&&c.push(qe(ie("ref_for",!0),ie("true")))},I=({key:P,value:x})=>{if(Ct(P)){const R=P.content,$=ws(R);if($&&(!s||r)&&R.toLowerCase()!=="onclick"&&R!=="onUpdate:modelValue"&&!$n(R)&&(y=!0),$&&$n(R)&&(v=!0),$&&x.type===14&&(x=x.arguments[0]),x.type===20||(x.type===4||x.type===8)&&Mt(x,t)>0)return;R==="ref"?m=!0:R==="class"?E=!0:R==="style"?_=!0:R!=="key"&&!T.includes(R)&&T.push(R),s&&(R==="class"||R==="style")&&!T.includes(R)&&T.push(R)}else g=!0};for(let P=0;P<n.length;P++){const x=n[P];if(x.type===6){const{loc:R,name:$,nameLoc:V,value:G}=x;let j=!0;if($==="ref"&&(m=!0,N()),$==="is"&&(_c(o)||G&&G.content.startsWith("vue:")||Bs("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(qe(ie($,!0,V),ie(G?G.content:"",j,G?G.loc:R)))}else{const{name:R,arg:$,exp:V,loc:G,modifiers:j}=x,q=R==="bind",K=R==="on";if(R==="slot"){s||t.onError(xe(40,G));continue}if(R==="once"||R==="memo"||R==="is"||q&&ds($,"is")&&(_c(o)||Bs("COMPILER_IS_ON_ELEMENT",t))||K&&i)continue;if((q&&ds($,"key")||K&&h&&ds($,"vue:before-update"))&&(d=!0),q&&ds($,"ref")&&N(),!$&&(q||K)){if(g=!0,V)if(q){if(O(),Bs("COMPILER_V_BIND_OBJECT_ORDER",t)){u.unshift(V);continue}N(),O(),u.push(V)}else O({type:14,loc:G,callee:t.helper(ql),arguments:s?[V]:[V,"true"]});else t.onError(xe(q?34:35,G));continue}q&&j.some(pe=>pe.content==="prop")&&(p|=32);const ee=t.directiveTransforms[R];if(ee){const{props:pe,needRuntime:Se}=ee(x,e,t);!i&&pe.forEach(I),K&&$&&!Ct($)?O(Ht(pe,l)):c.push(...pe),Se&&(f.push(x),Nt(Se)&&$_.set(x,Se))}else xp(R)||(f.push(x),h&&(d=!0))}}let S;if(u.length?(O(),u.length>1?S=Qe(t.helper(bi),u,l):S=u[0]):c.length&&(S=Ht(th(c),l)),g?p|=16:(E&&!s&&(p|=2),_&&!s&&(p|=4),T.length&&(p|=8),y&&(p|=32)),!d&&(p===0||p===32)&&(m||v||f.length>0)&&(p|=512),!t.inSSR&&S)switch(S.type){case 15:let P=-1,x=-1,R=!1;for(let G=0;G<S.properties.length;G++){const j=S.properties[G].key;Ct(j)?j.content==="class"?P=G:j.content==="style"&&(x=G):j.isHandlerKey||(R=!0)}const $=S.properties[P],V=S.properties[x];R?S=Qe(t.helper(Cr),[S]):($&&!Ct($.value)&&($.value=Qe(t.helper(Gl),[$.value])),V&&(_||V.value.type===4&&V.value.content.trim()[0]==="["||V.value.type===17)&&(V.value=Qe(t.helper(Kl),[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=ps([e.value,t.value],e.loc)}function U_(e,t){const n=[],s=$_.get(e);s?n.push(t.helperString(s)):(t.helper(Ul),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 ps(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 _c(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 l=2;i&&(o[2]=i,l=3),n.length&&(o[3]=Qs([],n,!1,!1,s),l=4),t.scopeId&&!t.slotted&&(l=5),o.splice(l),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"&&ds(o.arg,"name")){if(o.exp)n=o.exp;else if(o.arg&&o.arg.type===4){const l=Me(o.arg.content);n=o.exp=ie(l,!1,o.arg.loc)}}else o.name==="bind"&&o.arg&&Ct(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(xe(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(xe(35,r));let l;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}`;l=ie(h,!0,o.loc)}else l=Xt([`${n.helperString(el)}(`,o,")"]);else l=o,l.children.unshift(`${n.helperString(el)}(`),l.children.push(")");let a=e.exp;a&&!a.content.trim()&&(a=void 0);let c=n.cacheHandlers&&!a&&!n.inVOnce;if(a){const f=Fu(a),h=!(f||h_(a)),d=a.content.includes(";");(h||c&&f)&&(a=Xt([`${h?"$event":"(...args)"} => ${d?"{":"("}`,a,d?"}":")"]))}let u={props:[qe(l,a||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(l=>l.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(l=>l.content==="prop")&&nh(i,"."),s.some(l=>l.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 l=i+1;l<n.length;l++){const a=n[l];if(No(a))s||(s=n[i]=Xt([o],o.loc)),s.children.push(" + ",a),n.splice(l,1),l--;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 l=[];(o.type!==2||o.content!==" ")&&l.push(o),!t.ssr&&Mt(o,t)===0&&l.push("1"),n[i]={type:12,content:o,loc:o.loc,codegenNode:Qe(t.helper($l),l)}}}}},sh=new WeakSet,VC=(e,t)=>{if(e.type===1&&St(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(xe(41,e.loc)),mo();const i=s.loc.source.trim(),o=s.type===4?s.content:i,l=n.bindingMetadata[i];if(l==="props"||l==="props-aliased")return n.onError(xe(44,s.loc)),mo();if(!o.trim()||!Fu(s))return n.onError(xe(42,s.loc)),mo();const a=r||ie("modelValue",!0),c=r?Ct(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(a,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?Ct(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?rl(e.content,t):e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&rl(n.exp,t)}))};function rl(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?rl(e,t):s.type===5&&rl(s.content,t))}}function rh(e,t){const n=e.content;let s=!1,r=!1,i=!1,o=!1,l=0,a=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&&!l&&!a&&!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:a++;break;case 93:a--;break;case 123:l++;break;case 125:l--;break}if(f===47){let _=d-1,y;for(;_>=0&&(y=n.charAt(_),y===" ");_--);(!y||!HC.test(y))&&(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(Bl);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=St(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&&Yl(s,t),e.codegenNode=Qe(t.helper(Ql),[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(xe(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(xe(47)):s&&n(xe(48));const r=!1;t.cacheHandlers&&n(xe(49)),t.scopeId&&!s&&n(xe(50));const i=ae({},t,{prefixIdentifiers:r}),o=re(e)?Bu(e,i):e,[l,a]=G_();return N_(o,ae({},i,{nodeTransforms:[...l,...t.nodeTransforms||[]],directiveTransforms:ae({},a,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(""),il=Symbol(""),Zu=Symbol(""),ef=Symbol(""),tf=Symbol(""),nf=Symbol(""),sf=Symbol("");t_({[Qu]:"vModelRadio",[Yu]:"vModelCheckbox",[zu]:"vModelText",[Ju]:"vModelSelect",[il]:"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=Wc(e);return ie(JSON.stringify(n),!1,t,3)};function jn(e,t){return xe(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(jn(53,r)),t.children.length&&(n.onError(jn(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(jn(55,r)),t.children.length&&(n.onError(jn(56,r)),t.children.length=0),{props:[qe(ie("textContent",!0),s?Mt(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(jn(58,e.arg.loc));const{tag:r}=t,i=n.isCustomElement(r);if(r==="input"||r==="textarea"||r==="select"||i){let o=zu,l=!1;if(r==="input"||i){const a=qi(t,"type");if(a){if(a.type===7)o=il;else if(a.value)switch(a.value.content){case"radio":o=Qu;break;case"checkbox":o=Yu;break;case"file":l=!0,n.onError(jn(59,e.loc));break}}else m_(t)&&(o=il)}else r==="select"&&(o=Ju);l||(s.needRuntime=n.helper(o))}else n.onError(jn(57,e.loc));return s.props=s.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),s},JC=lt("passive,once,capture"),ZC=lt("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),eO=lt("left,right"),Q_=lt("onkeyup,onkeydown,onkeypress"),tO=(e,t,n,s)=>{const r=[],i=[],o=[];for(let l=0;l<t.length;l++){const a=t[l].content;a==="native"&&Ar("COMPILER_V_ON_NATIVE",n)||JC(a)?o.push(a):eO(a)?Ct(e)?Q_(e.content.toLowerCase())?r.push(a):i.push(a):(r.push(a),i.push(a)):ZC(a)?i.push(a):r.push(a)}return{keyModifiers:r,nonKeyModifiers:i,eventOptionModifiers:o}},oh=(e,t)=>Ct(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:l,nonKeyModifiers:a,eventOptionModifiers:c}=tO(i,r,n,e.loc);if(a.includes("right")&&(i=oh(i,"onContextmenu")),a.includes("middle")&&(i=oh(i,"onMouseup")),a.length&&(o=Qe(n.helper(Zu),[o,JSON.stringify(a)])),l.length&&(!Ct(i)||Q_(i.content.toLowerCase()))&&(o=Qe(n.helper(ef),[o,JSON.stringify(l)])),c.length){const u=c.map(Os).join("");i=Ct(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(jn(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,ae({},rf,t,{nodeTransforms:[rO,...Y_,...t.nodeTransforms||[]],directiveTransforms:ae({},z_,t.directiveTransforms||{}),transformHoist:null}))}function oO(e,t={}){return Bu(e,ae({},rf,t))}const lO=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:Fl,CREATE_SLOTS:Lu,CREATE_STATIC:Iu,CREATE_TEXT:$l,CREATE_VNODE:kl,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:Gl,NORMALIZE_PROPS:Cr,NORMALIZE_STYLE:Kl,Namespaces:_w,NodeTypes:yw,OPEN_BLOCK:ys,POP_SCOPE_ID:Jg,PUSH_SCOPE_ID:zg,RENDER_LIST:Wl,RENDER_SLOT:Ru,RESOLVE_COMPONENT:Vl,RESOLVE_DIRECTIVE:Ul,RESOLVE_DYNAMIC_COMPONENT:Hl,RESOLVE_FILTER:Bl,SET_BLOCK_TRACKING:Ti,SUSPENSE:Dl,TELEPORT:pr,TO_DISPLAY_STRING:Gi,TO_HANDLERS:ql,TO_HANDLER_KEY:el,TRANSITION:nf,TRANSITION_GROUP:sf,TS_NODE_TYPES:a_,UNREF:Zg,V_MODEL_CHECKBOX:Yu,V_MODEL_DYNAMIC:il,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:Xl,WITH_DIRECTIVES:jl,WITH_MEMO:Ql,advancePositionWithClone:Qw,advancePositionWithMutation:p_,assert:Yw,baseCompile:K_,baseParse:Bu,buildDirectiveArgs:U_,buildProps:Ku,buildSlots:F_,checkCompatEnabled:Ar,compile:iO,convertToBlock:Yl,createArrayExpression:ps,createAssignmentExpression:ww,createBlockStatement:r_,createCacheExpression:s_,createCallExpression:Qe,createCompilerError:xe,createCompoundExpression:Xt,createConditionalExpression:tl,createDOMCompilerError:jn,createForLoopParams:sl,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:vn,findDir:St,findProp:qi,forAliasRE:y_,generate:I_,generateCodeFrame:Dp,getBaseTransformPreset:G_,getConstantType:Mt,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:ds,isStaticExp:Ct,isStaticProperty:l_,isStaticPropertyKey:Bw,isTemplateNode:Nr,isText:No,isVPre:pc,isVSlot:$u,isWhitespaceText:zl,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"})),aO=Ou(lO),cO=Ou(O0),uO=Ou(pb);var lh;function fO(){return lh||(lh=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=aO,n=cO,s=uO;function r(a){var c=Object.create(null);if(a)for(var u in a)c[u]=a[u];return c.default=a,Object.freeze(c)}var i=r(n);const o=Object.create(null);function l(a,c){if(!s.isString(a))if(a.nodeType)a=a.innerHTML;else return s.NOOP;const u=s.genCacheKey(a,c),f=o[u];if(f)return f;if(a[0]==="#"){const m=document.querySelector(a);a=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(a,h),p=new Function("Vue",d)(i);return p._rc=!0,o[u]=p}n.registerRuntimeCompiler(l),e.compile=l,Object.keys(n).forEach(function(a){a!=="default"&&!Object.prototype.hasOwnProperty.call(e,a)&&(e[a]=n[a])})})(Ca)),Ca}var ah;function dO(){return ah||(ah=1,wa.exports=fO()),wa.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:()=>v,ToastPlugin:()=>O,ToastPositions:()=>d,default:()=>N,useToast:()=>T});var l=i(594);const a=["innerHTML"];function c(I,S,P,x,R,$){return(0,l.openBlock)(),(0,l.createBlock)(l.Transition,{"enter-active-class":I.transition.enter,"leave-active-class":I.transition.leave},{default:(0,l.withCtx)(()=>[(0,l.withDirectives)((0,l.createElementVNode)("div",{ref:"root",role:"alert",class:(0,l.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,l.createElementVNode)("div",{class:"v-toast__icon"},null,-1)),(0,l.createElementVNode)("p",{class:"v-toast__text",innerHTML:I.message},null,8,a)],34),[[l.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,l.h)(I,S,x),$=document.createElement("div");return $.classList.add("v-toast--pending"),P.appendChild($),(0,l.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(),_=(0,l.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,l.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 y=i(113);const v=(0,y.default)(_,[["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(v,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)}},N=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 Zl=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)}},yc=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 vc(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:l}=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 a=t.isActive();if(n==="active"&&!a||n==="inactive"&&a)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||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)=>Ec(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&&!(Ec(e)&&Ec(t)))return t;const r=(n?e:Object.keys(e)).length,i=n?t:Object.keys(t),o=i.length,l=n?new Array(o):{};let a=0;for(let c=0;c<o;c++){const u=n?c:i[c],f=e[u],h=t[u];if(f===h){l[u]=f,(n?c<r:OO.call(e,u))&&a++;continue}if(f===null||h===null||typeof f!="object"||typeof h!="object"){l[u]=h;continue}const d=J_(f,h);l[u]=d,d===f&&a++}return r===o&&a===r?e:l}function wI(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 Ec(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=>{yc.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 lf=Symbol();function Z_(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===lf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function CI(e,t){return typeof e=="function"?e(...t):!!e}var RO=class extends Zl{#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=l=>{l()},s=l=>{l()},r=MO;const i=l=>{t?e.push(l):r(()=>{n(l)})},o=()=>{const l=e;e=[],l.length&&r(()=>{s(()=>{l.forEach(a=>{n(a)})})})};return{batch:l=>{let a;t++;try{a=l()}finally{t--,t||o()}return a},batchCalls:l=>(...a)=>{i(()=>{l(...a)})},schedule:i,setNotifyFunction:l=>{n=l},setBatchNotifyFunction:l=>{s=l},setScheduler:l=>{r=l}}}var wt=xO(),DO=class extends Zl{#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}},ol=new DO;function kO(e){return Math.min(1e3*2**e,3e4)}function ty(e){return(e??"online")==="online"?ol.isOnline():!0}var bc=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 bc(m);h(E),e.onCancel?.(E)}},l=()=>{t=!0},a=()=>{t=!1},c=()=>ey.isFocused()&&(e.networkMode==="always"||ol.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(_){m=Promise.reject(_)}Promise.resolve(m).then(f).catch(_=>{if(i())return;const y=e.retry??(Yi?0:3),g=e.retryDelay??kO,v=typeof g=="function"?g(n,_):g,T=y===!0||typeof y=="number"&&n<y||typeof y=="function"&&y(n,_);if(t||!T){h(_);return}n++,e.onFail?.(n,_),AO(v).then(()=>c()?void 0:d()).then(()=>{t?h(_):p()})})};return{promise:r,status:()=>r.status,cancel:o,continue:()=>(s?.(),r),cancelRetry:l,continueRetry:a,canStart:u,start:()=>(u()?p():d().then(p),r)}}var sy=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),SO(this.gcTime)&&(this.#e=yc.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Yi?1/0:300*1e3))}clearGcTimeout(){this.#e&&(yc.clearTimeout(this.#e),this.#e=void 0)}},FO=class extends sy{#e;#t;#n;#r;#s;#o;#l;constructor(e){super(),this.#l=!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===lf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>vc(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.#l?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 l=this.observers.find(a=>a.options.queryFn);l&&this.setOptions(l.options)}const n=new AbortController,s=l=>{Object.defineProperty(l,"signal",{enumerable:!0,get:()=>(this.#l=!0,n.signal)})},r=()=>{const l=Z_(this.options,t),c=(()=>{const u={client:this.#r,queryKey:this.queryKey,meta:this.meta};return s(u),u})();return this.#l=!1,this.options.persister?this.options.persister(l,c,this):l(c)},o=(()=>{const l={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#r,state:this.state,fetchFn:r};return s(l),l})();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:l=>{l instanceof bc&&l.revert&&this.setState({...this.#t,fetchStatus:"idle"}),n.abort()},onFail:(l,a)=>{this.#i({type:"failed",failureCount:l,error:a})},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 l=await this.#s.start();if(l===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(l),this.#n.config.onSuccess?.(l,this),this.#n.config.onSettled?.(l,this.state.error,this),l}catch(l){if(l instanceof bc){if(l.silent)return this.#s.promise;if(l.revert){if(this.state.data===void 0)throw l;return this.state.data}}throw this.#i({type:"error",error:l}),this.#n.config.onError?.(l,this),this.#n.config.onSettled?.(this.state.data,l,this),l}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),wt.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 l={pages:[],pageParams:[]},a=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 y=(()=>{const O={client:t.client,queryKey:t.queryKey,pageParam:m,direction:E?"backward":"forward",meta:t.options.meta};return f(O),O})(),g=await h(y),{maxPages:v}=t.options,T=E?IO:PO;return{pages:T(p.pages,g,v),pageParams:T(p.pageParams,m,v)}};if(r&&i.length){const p=r==="backward",m=p?VO:_h,E={pages:i,pageParams:o},_=m(s,E);l=await d(E,_,p)}else{const p=e??i.length;do{const m=a===0?o[0]??s.initialPageParam:_h(s,l);if(a>0&&m==null)break;l=await d(l,m),a++}while(a<p)}return l};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),wt.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 Zl{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(){wt.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){wt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return wt.batch(()=>Promise.all(t.map(n=>n.continue().catch(Zt))))}};function go(e){return e.options.scope?.id}var iy=class extends Zl{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(){wt.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){wt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){wt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){wt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},BO=class{#e;#t;#n;#r;#s;#o;#l;#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.#l=ey.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#i=ol.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#o--,this.#o===0&&(this.#l?.(),this.#l=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(vc(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,l=TO(n,o);if(l!==void 0)return this.#e.build(this,r).setData(l,{...s,manual:!0})}setQueriesData(t,n,s){return wt.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;wt.batch(()=>{n.findAll(t).forEach(s=>{n.remove(s)})})}resetQueries(t,n){const s=this.#e;return wt.batch(()=>(s.findAll(t).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...t},n)))}cancelQueries(t,n={}){const s={revert:!0,...n},r=wt.batch(()=>this.#e.findAll(t).map(i=>i.cancel(s)));return Promise.all(r).then(Zt).catch(Zt)}invalidateQueries(t,n={}){return wt.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=wt.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(vc(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 ol.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===lf&&(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 PI(e,t){Object.keys(e).forEach(n=>{e[n]=t[n]})}function Tc(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)=>Tc(r,t,String(i),s+1));if(typeof e=="object"&&KO(e)){const r=Object.entries(e).map(([i,o])=>[i,Tc(o,t,i,s+1)]);return Object.fromEntries(r)}return e}function GO(e,t){return Tc(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=ot(!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,l]=t.clientPersister(s);r=o,l.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 Sc(e,t,n){return Rs(e,Ni(t,n))}function nr(e,t){return typeof e=="function"?e(t):e}function Cn(e){return e.split("-")[0]}function rn(e){return e.split("-")[1]}function oy(e){return e==="x"?"y":"x"}function af(e){return e==="y"?"height":"width"}function Js(e){return["top","bottom"].includes(Cn(e))?"y":"x"}function cf(e){return oy(Js(e))}function ly(e,t,n){n===void 0&&(n=!1);const s=rn(e),r=cf(e),i=af(r);let o=r==="x"?s===(n?"end":"start")?"right":"left":s==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=al(o)),[o,al(o)]}function tA(e){const t=al(e);return[ll(e),t,ll(t)]}function ll(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(Cn(e),n==="start",s);return r&&(i=i.map(o=>o+"-"+r),t&&(i=i.concat(i.map(ll)))),i}function al(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 ay(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),l=af(o),a=Cn(t),c=i==="y",u=s.x+s.width/2-r.width/2,f=s.y+s.height/2-r.height/2,h=s[l]/2-r[l]/2;let d;switch(a){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,l=i.filter(Boolean),a=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,a),h=s,d={},p=0;for(let m=0;m<l.length;m++){const{name:E,fn:_}=l[m],{x:y,y:g,data:v,reset:T}=await _({x:u,y:f,initialPlacement:s,placement:h,strategy:r,middlewareData:d,rects:c,platform:o,elements:{reference:e,floating:t}});u=y??u,f=g??f,d={...d,[E]:{...d[E],...v}},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,a)),m=-1)}return{x:u,y:f,placement:h,strategy:r,middlewareData:d}};async function ea(e,t){var n;t===void 0&&(t={});const{x:s,y:r,platform:i,rects:o,elements:l,strategy:a}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=nr(t,e),p=ay(d),E=l[h?f==="floating"?"reference":"floating":f],_=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(l.floating)),boundary:c,rootBoundary:u,strategy:a})),y=f==="floating"?{x:s,y:r,width:o.floating.width,height:o.floating.height}:o.reference,g=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),v=await(i.isElement==null?void 0:i.isElement(g))?await(i.getScale==null?void 0:i.getScale(g))||{x:1,y:1}:{x:1,y:1},T=Zr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:g,strategy:a}):y);return{top:(_.top-T.top+p.top)/v.y,bottom:(T.bottom-_.bottom+p.bottom)/v.y,left:(_.left-T.left+p.left)/v.x,right:(T.right-_.right+p.right)/v.x}}const oA=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:s,placement:r,rects:i,platform:o,elements:l,middlewareData:a}=t,{element:c,padding:u=0}=nr(e,t)||{};if(c==null)return{};const f=ay(u),h={x:n,y:s},d=cf(r),p=af(d),m=await o.getDimensions(c),E=d==="y",_=E?"top":"left",y=E?"bottom":"right",g=E?"clientHeight":"clientWidth",v=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 N=O?O[g]:0;(!N||!await(o.isElement==null?void 0:o.isElement(O)))&&(N=l.floating[g]||i.floating[p]);const I=v/2-T/2,S=N/2-m[p]/2-1,P=Ni(f[_],S),x=Ni(f[y],S),R=P,$=N-m[p]-x,V=N/2-m[p]/2+I,G=Sc(R,V,$),j=!a.arrow&&rn(r)!=null&&V!==G&&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]:G,centerOffset:V-G-q,...j&&{alignmentOffset:q}},reset:j}}});function lA(e,t,n){return(e?[...n.filter(r=>rn(r)===e),...n.filter(r=>rn(r)!==e)]:n.filter(r=>Cn(r)===r)).filter(r=>e?rn(r)===e||(t?ll(r)!==r:!1):!0)}const aA=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,s,r;const{rects:i,middlewareData:o,placement:l,platform:a,elements:c}=t,{crossAxis:u=!1,alignment:f,allowedPlacements:h=vh,autoAlignment:d=!0,...p}=nr(e,t),m=f!==void 0||h===vh?lA(f||null,d,h):h,E=await ea(t,p),_=((n=o.autoPlacement)==null?void 0:n.index)||0,y=m[_];if(y==null)return{};const g=ly(y,i,await(a.isRTL==null?void 0:a.isRTL(c.floating)));if(l!==y)return{reset:{placement:m[0]}};const v=[E[Cn(y)],E[g[0]],E[g[1]]],T=[...((s=o.autoPlacement)==null?void 0:s.overflows)||[],{placement:y,overflows:v}],O=m[_+1];if(O)return{data:{index:_+1,overflows:T},reset:{placement:O}};const N=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=N.filter(P=>P[2].slice(0,rn(P[0])?2:3).every(x=>x<=0))[0])==null?void 0:r[0])||N[0][0];return S!==l?{data:{index:_+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:l,platform:a,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 _=Cn(r),y=Js(l),g=Cn(l)===l,v=await(a.isRTL==null?void 0:a.isRTL(c.floating)),T=h||(g||!m?[al(l)]:tA(l)),O=p!=="none";!h&&O&&T.push(...sA(l,m,p,v));const N=[l,...T],I=await ea(t,E),S=[];let P=((s=i.flip)==null?void 0:s.overflows)||[];if(u&&S.push(I[_]),f){const V=ly(r,o,v);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,G=N[V];if(G)return{data:{index:V,overflows:P},reset:{placement:G}};let j=(R=P.filter(q=>q.overflows[0]<=0).sort((q,K)=>q.overflows[1]-K.overflows[1])[0])==null?void 0:R.placement;if(!j)switch(d){case"bestFit":{var $;const q=($=P.filter(K=>{if(O){const ee=Js(K.placement);return ee===y||ee==="y"}return!0}).map(K=>[K.placement,K.overflows.filter(ee=>ee>0).reduce((ee,pe)=>ee+pe,0)]).sort((K,ee)=>K[1]-ee[1])[0])==null?void 0:$[0];q&&(j=q);break}case"initialPlacement":j=l;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=Cn(n),l=rn(n),a=Js(n)==="y",c=["left","top"].includes(o)?-1:1,u=i&&a?-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 l&&typeof p=="number"&&(d=l==="end"?p*-1:p),a?{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:l}=t,a=await uA(t,e);return o===((n=l.offset)==null?void 0:n.placement)&&(s=l.arrow)!=null&&s.alignmentOffset?{}:{x:r+a.x,y:i+a.y,data:{...a,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:l={fn:E=>{let{x:_,y}=E;return{x:_,y}}},...a}=nr(e,t),c={x:n,y:s},u=await ea(t,a),f=Js(Cn(r)),h=oy(f);let d=c[h],p=c[f];if(i){const E=h==="y"?"top":"left",_=h==="y"?"bottom":"right",y=d+u[E],g=d-u[_];d=Sc(y,d,g)}if(o){const E=f==="y"?"top":"left",_=f==="y"?"bottom":"right",y=p+u[E],g=p-u[_];p=Sc(y,p,g)}const m=l.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:l}=t,{apply:a=()=>{},...c}=nr(e,t),u=await ea(t,c),f=Cn(r),h=rn(r),d=Js(r)==="y",{width:p,height:m}=i.floating;let E,_;f==="top"||f==="bottom"?(E=f,_=h===(await(o.isRTL==null?void 0:o.isRTL(l.floating))?"start":"end")?"left":"right"):(_=f,E=h==="end"?"top":"bottom");const y=m-u.top-u.bottom,g=p-u.left-u.right,v=Ni(m-u[E],y),T=Ni(p-u[_],g),O=!t.middlewareData.shift;let N=v,I=T;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(I=g),(s=t.middlewareData.shift)!=null&&s.enabled.y&&(N=y),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)):N=m-2*(R!==0||$!==0?R+$:Rs(u.top,u.bottom))}await a({...t,availableWidth:I,availableHeight:N});const S=await o.getDimensions(l.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 bn(e){return Gt(e).getComputedStyle(e)}const bh=Math.min,ei=Math.max,cl=Math.round;function cy(e){const t=bn(e);let n=parseFloat(t.width),s=parseFloat(t.height);const r=e.offsetWidth,i=e.offsetHeight,o=cl(n)!==r||cl(s)!==i;return o&&(n=r,s=i),{width:n,height:s,fallback:o}}function vs(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 Tn(e){return e instanceof Gt(e).HTMLElement}function ms(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 ta(e){const{overflow:t,overflowX:n,overflowY:s,display:r}=bn(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+n)&&!["inline","contents"].includes(r)}function pA(e){return["table","td","th"].includes(vs(e))}function wc(e){const t=/firefox/i.test(uy()),n=bn(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(vs(e))}function hy(e){return ms(e)?e:e.contextElement}const py={x:1,y:1};function mr(e){const t=hy(e);if(!Tn(t))return py;const n=t.getBoundingClientRect(),{width:s,height:r,fallback:i}=cy(t);let o=(i?cl(n.width):n.width)/s,l=(i?cl(n.height):n.height)/r;return o&&Number.isFinite(o)||(o=1),l&&Number.isFinite(l)||(l=1),{x:o,y:l}}function Pi(e,t,n,s){var r,i;t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),l=hy(e);let a=py;t&&(s?ms(s)&&(a=mr(s)):a=mr(e));const c=l?Gt(l):window,u=!dy()&&n;let f=(o.left+(u&&((r=c.visualViewport)==null?void 0:r.offsetLeft)||0))/a.x,h=(o.top+(u&&((i=c.visualViewport)==null?void 0:i.offsetTop)||0))/a.y,d=o.width/a.x,p=o.height/a.y;if(l){const m=Gt(l),E=s&&ms(s)?Gt(s):s;let _=m.frameElement;for(;_&&s&&E!==m;){const y=mr(_),g=_.getBoundingClientRect(),v=getComputedStyle(_);g.x+=(_.clientLeft+parseFloat(v.paddingLeft))*y.x,g.y+=(_.clientTop+parseFloat(v.paddingTop))*y.y,f*=y.x,h*=y.y,d*=y.x,p*=y.y,f+=g.x,h+=g.y,_=Gt(_).frameElement}}return{width:d,height:p,top:h,right:f+d,bottom:h+p,left:f,x:f,y:h}}function gs(e){return((fy(e)?e.ownerDocument:e.document)||window.document).documentElement}function na(e){return ms(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function my(e){return Pi(gs(e)).left+na(e).scrollLeft}function Ii(e){if(vs(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Th(e)&&e.host||gs(e);return Th(t)?t.host:t}function gy(e){const t=Ii(e);return uf(t)?t.ownerDocument.body:Tn(t)&&ta(t)?t:gy(t)}function ul(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||[],ta(s)?s:[]):t.concat(s,ul(s))}function Sh(e,t,n){return t==="viewport"?Zr((function(s,r){const i=Gt(s),o=gs(s),l=i.visualViewport;let a=o.clientWidth,c=o.clientHeight,u=0,f=0;if(l){a=l.width,c=l.height;const h=dy();(h||!h&&r==="fixed")&&(u=l.offsetLeft,f=l.offsetTop)}return{width:a,height:c,x:u,y:f}})(e,n)):ms(t)?Zr((function(s,r){const i=Pi(s,!0,r==="fixed"),o=i.top+s.clientTop,l=i.left+s.clientLeft,a=Tn(s)?mr(s):{x:1,y:1};return{width:s.clientWidth*a.x,height:s.clientHeight*a.y,x:l*a.x,y:o*a.y}})(t,n)):Zr((function(s){const r=gs(s),i=na(s),o=s.ownerDocument.body,l=ei(r.scrollWidth,r.clientWidth,o.scrollWidth,o.clientWidth),a=ei(r.scrollHeight,r.clientHeight,o.scrollHeight,o.clientHeight);let c=-i.scrollLeft+my(s);const u=-i.scrollTop;return bn(o).direction==="rtl"&&(c+=ei(r.clientWidth,o.clientWidth)-l),{width:l,height:a,x:c,y:u}})(gs(e)))}function wh(e){return Tn(e)&&bn(e).position!=="fixed"?e.offsetParent:null}function Ch(e){const t=Gt(e);let n=wh(e);for(;n&&pA(n)&&bn(n).position==="static";)n=wh(n);return n&&(vs(n)==="html"||vs(n)==="body"&&bn(n).position==="static"&&!wc(n))?t:n||(function(s){let r=Ii(s);for(;Tn(r)&&!uf(r);){if(wc(r))return r;r=Ii(r)}return null})(e)||t}function mA(e,t,n){const s=Tn(t),r=gs(t),i=Pi(e,!0,n==="fixed",t);let o={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(s||!s&&n!=="fixed")if((vs(t)!=="body"||ta(r))&&(o=na(t)),Tn(t)){const a=Pi(t,!0);l.x=a.x+t.clientLeft,l.y=a.y+t.clientTop}else r&&(l.x=my(r));return{x:i.left+o.scrollLeft-l.x,y:i.top+o.scrollTop-l.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=ul(c).filter((E=>ms(E)&&vs(E)!=="body")),d=null;const p=bn(c).position==="fixed";let m=p?Ii(c):c;for(;ms(m)&&!uf(m);){const E=bn(m),_=wc(m);(p?_||d:_||E.position!=="static"||!d||!["absolute","fixed"].includes(d.position))?d=E:h=h.filter((y=>y!==m)),m=Ii(m)}return u.set(c,h),h})(t,this._c):[].concat(n),o=[...i,s],l=o[0],a=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,l,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:s}=e;const r=Tn(n),i=gs(n);if(n===i)return t;let o={scrollLeft:0,scrollTop:0},l={x:1,y:1};const a={x:0,y:0};if((r||!r&&s!=="fixed")&&((vs(n)!=="body"||ta(i))&&(o=na(n)),Tn(n))){const c=Pi(n);l=mr(n),a.x=c.x+n.clientLeft,a.y=c.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-o.scrollLeft*l.x+a.x,y:t.y*l.y-o.scrollTop*l.y+a.y}},isElement:ms,getDimensions:function(e){return Tn(e)?cy(e):e.getBoundingClientRect()},getOffsetParent:Ch,getDocumentElement:gs,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=>bn(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 Aa(){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 Cc=function(){};typeof window<"u"&&(Cc=window.Element);function _e(e){return function(t){return Ri(t.theme,e)}}const Na="__floating-vue__popper",Ey=()=>Dt({name:"VPopper",provide(){return{[Na]:{parentPopper:this}}},inject:{[Na]:{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:_e("disabled")},positioningDisabled:{type:Boolean,default:_e("positioningDisabled")},placement:{type:String,default:_e("placement"),validator:e=>vy.includes(e)},delay:{type:[String,Number,Object],default:_e("delay")},distance:{type:[Number,String],default:_e("distance")},skidding:{type:[Number,String],default:_e("skidding")},triggers:{type:Array,default:_e("triggers")},showTriggers:{type:[Array,Function],default:_e("showTriggers")},hideTriggers:{type:[Array,Function],default:_e("hideTriggers")},popperTriggers:{type:Array,default:_e("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:_e("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:_e("popperHideTriggers")},container:{type:[String,Object,Cc,Boolean],default:_e("container")},boundary:{type:[String,Cc],default:_e("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:_e("strategy")},autoHide:{type:[Boolean,Function],default:_e("autoHide")},handleResize:{type:Boolean,default:_e("handleResize")},instantMove:{type:Boolean,default:_e("instantMove")},eagerMount:{type:Boolean,default:_e("eagerMount")},popperClass:{type:[String,Array,Object],default:_e("popperClass")},computeTransformOrigin:{type:Boolean,default:_e("computeTransformOrigin")},autoMinSize:{type:Boolean,default:_e("autoMinSize")},autoSize:{type:[Boolean,String],default:_e("autoSize")},autoMaxSize:{type:Boolean,default:_e("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:_e("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:_e("preventOverflow")},overflowPadding:{type:[Number,String],default:_e("overflowPadding")},arrowPadding:{type:[Number,String],default:_e("arrowPadding")},arrowOverflow:{type:Boolean,default:_e("arrowOverflow")},flip:{type:Boolean,default:_e("flip")},shift:{type:Boolean,default:_e("shift")},shiftCrossAxis:{type:Boolean,default:_e("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:_e("noAutoFocus")},disposeTimeout:{type:Number,default:_e("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[Na])==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(aA({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:l}=i.arrow;return s.startsWith("top")||s.startsWith("bottom")?o=Math.abs(l)>r.reference.width/2:o=Math.abs(l)>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 l;if((l=o.autoSize)!=null&&l.skip)return{};let a,c;return i.startsWith("top")||i.startsWith("bottom")?a=r.reference.width:c=r.reference.height,this.$_innerNode.style[s==="min"?"minWidth":s==="max"?"maxWidth":"width"]=a!=null?`${a}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 Aa(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...ul(this.$_referenceNode),...ul(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 Aa(),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 Aa(),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 l=t[o];l&&this.$_registerEventListeners(e,l,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-rs,s=ni-is,r=t.left+t.width/2-rs+(t.top+t.height/2)-is+t.width+t.height,i=rs+n*r,o=is+s*r;return yo(rs,is,i,o,t.left,t.top,t.left,t.bottom)||yo(rs,is,i,o,t.left,t.top,t.right,t.top)||yo(rs,is,i,o,t.right,t.top,t.right,t.bottom)||yo(rs,is,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 l=r.parentPopper;for(;l;)n[l.randomId]=!0,l=l.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 rs=0,is=0,ti=0,ni=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{rs=ti,is=ni,ti=e.clientX,ni=e.clientY},Ir?{passive:!0}:void 0);function yo(e,t,n,s,r,i,o,l){const a=((o-r)*(t-i)-(l-i)*(e-r))/((l-i)*(n-e)-(o-r)*(s-t)),c=((n-e)*(t-i)-(s-t)*(e-r))/((l-i)*(n-e)-(o-r)*(s-t));return a>=0&&a<=1&&c>=0&&c<=1}const bA={extends:Ey()},sa=(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 At(),Er("div",{ref:"reference",class:zn(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[pi(e.$slots,"default",Gc(yu(e.slotData)))],2)}const SA=sa(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 Oc(){Oc.init||(Oc.init=!0,xo=wA()!==-1)}var ra={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Oc(),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)=>(At(),Qn("div",OA)));ra.render=AA;ra.__scopeId="data-v-b329ee4c";ra.__file="src/components/ResizeObserver.vue";const Ty=(e="theme")=>({computed:{themeClass(){return yA(this[e])}}}),NA=Dt({name:"VPopperContent",components:{ResizeObserver:ra},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=yn("div",{class:"v-popper__arrow-outer"},null,-1),LA=yn("div",{class:"v-popper__arrow-inner"},null,-1),MA=[RA,LA];function xA(e,t,n,s,r,i){const o=Gs("ResizeObserver");return At(),Er("div",{id:e.popperId,ref:"popover",class:zn(["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:Vn(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(l=>e.autoHide&&e.$emit("hide"),["esc"]))},[yn("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=l=>e.autoHide&&e.$emit("hide"))}),yn("div",{class:"v-popper__wrapper",style:Vn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[yn("div",IA,[e.mounted?(At(),Er(Ge,{key:0},[yn("div",null,[pi(e.$slots,"default")]),e.handleResize?(At(),Qn(o,{key:0,onNotify:t[1]||(t[1]=l=>e.$emit("resize",l))})):Za("",!0)],64)):Za("",!0)],512),yn("div",{ref:"arrow",class:"v-popper__arrow-container",style:Vn(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=sa(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 Ac=function(){};typeof window<"u"&&(Ac=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,Ac,Boolean],default:void 0},boundary:{type:[String,Ac],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"),l=Gs("Popper");return At(),Qn(l,Ml({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]=a=>e.$emit("update:shown",a)),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:a,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:h,show:d,hide:p,handleResize:m,onResize:E,classes:_,result:y})=>[pi(e.$slots,"default",{shown:c,show:d,hide:p}),Re(o,{ref:"popperContent","popper-id":a,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":h,"handle-resize":m,classes:_,result:y,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=sa(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"),l=Gs("Popper");return At(),Qn(l,Ml({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:a,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:h,hide:d,handleResize:p,onResize:m,classes:E,result:_})=>[Re(o,{ref:"popperContent",class:zn({"v-popper--tooltip-loading":e.loading}),"popper-id":a,theme:e.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":h,"handle-resize":p,classes:E,result:_,onHide:d,onResize:m},{default:Ws(()=>[e.html?(At(),Er("div",{key:0,innerHTML:e.finalContent},null,8,UA)):(At(),Er("div",{key:1,textContent:El(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=sa(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 Pa,Li,KA=0;function qA(){if(Pa)return;Li=ot([]),Pa=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),Pa.mount(e)}function XA(e,t,n){qA();const s=ot(Oy(e,t,n)),r=ot(!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",fl),e.addEventListener("click",fl),e.addEventListener("touchstart",Ny,Ir?{passive:!0}:!1)}function Fh(e){e.removeEventListener("mousedown",fl),e.removeEventListener("click",fl),e.removeEventListener("touchstart",Ny),e.removeEventListener("touchend",Py),e.removeEventListener("touchcancel",Iy)}function fl(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":()=>Rt(()=>import("./board-layout-BMK0s3_z.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),"/src/layouts/default.vue":()=>Rt(()=>import("./default-BCqXGDda.js"),__vite__mapDeps([7,1,2,3,4,5,6]),import.meta.url),"/src/layouts/headless.vue":()=>Rt(()=>import("./headless-lPQLG0a2.js"),__vite__mapDeps([8,5]),import.meta.url),"/src/layouts/index-layout.vue":()=>Rt(()=>import("./index-layout-De3FaqcQ.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(a=>(a.path===""||a.path==="/")&&a.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"]),lN=["name","property","http-equiv"],aN=new Set(["viewport","description","keywords","robots"]);function Ry(e){const t=e.split(":");return t.length?oN.has(t[1]):!1}function Nc(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 lN)if(t[s]!==void 0){const r=t[s],i=r.includes(":"),o=aN.has(r),a=!(i||o)&&e.key?`:key:${e.key}`:"";return`${n}:${r}${a}`}}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 dl(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=>dl(i,t));if(r?.constructor===Object){const i={};for(const o of Object.keys(r))i[o]=dl(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,...l]=i.split(":").map(a=>a.trim());o&&l.length&&n.set(o,l.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=dl(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:l=>jh(o,l),push(l,a){const c={...a||{}};delete c.head;const u=c._index??o._entryCount++,f={_i:u,input:l,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(l),h},async resolveTags(){const l={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await t.callHook("entries:resolve",l);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=Nc(m),m))}}let a=!1;l.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 _={...m.props};Object.entries(d.props).forEach(([y,g])=>_[y]=y==="style"?new Map([...m.props.style||new Map,...g]):y==="class"?new Set([...m.props.class||new Set,...g]):g),h.set(p,{...d,props:_})}else d._p>>10===m._p>>10&&d.tag==="meta"&&Ry(p)?(h.set(p,Object.assign([...Array.isArray(m)?m:[m],d],d)),a=!0):(d._w===m._w?d._p>m._p:d?._w<m?._w)&&h.set(p,d);return h},l.tagMap);const c=l.tagMap.get("title"),u=l.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?l.tagMap.delete("title"):l.tagMap.set("title",{...c,textContent:d}):(u.tag="title",u.textContent=d)}}l.tags=Array.from(l.tagMap.values()),a&&(l.tags=l.tags.flat().sort(Hh)),await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l);const f=[];for(const h of l.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=Nc(h)}f.push(h)}}return f},invalidate(){for(const l of s.values())i.add(l._i);o.dirty=!0,t.callHook("entries:updated",o)}};return(e?.plugins||[]).forEach(l=>jh(o,l)),o.hooks.callHook("init",o),e.init?.forEach(l=>l&&o.push(l)),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,_={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),_}))})});let l=e._dom;if(!l){l={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 _=Ly({tag:E,props:{}},{innerHTML:m.innerHTML,...m.getAttributeNames().reduce((y,g)=>(y[g]=m.getAttribute(g),y),{})||{}});if(_.key=m.getAttribute("data-hid")||void 0,_._d=Nc(_)||Vh(_),l.elMap.has(_._d)){let y=1,g=_._d;for(;l.elMap.has(g);)g=`${_._d}:${y++}`;l.elMap.set(g,m)}else l.elMap.set(_._d,m)}}}l.pendingSideEffects={...l.sideEffects},l.sideEffects={};function a(d,p,m){const E=`${d}:${p}`;l.sideEffects[E]=m,delete l.pendingSideEffects[E]}function c({id:d,$el:p,tag:m}){const E=m.tag.endsWith("Attrs");l.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),a(d,"el",()=>{p?.remove(),l.elMap.delete(d)}));for(const _ in m.props){if(!Object.prototype.hasOwnProperty.call(m.props,_))continue;const y=m.props[_];if(_.startsWith("on")&&typeof y=="function"){const v=p?.dataset;if(v&&v[`${_}fired`]){const T=_.slice(0,-5);y.call(p,new Event(T.substring(2)))}p.getAttribute(`data-${_}`)!==""&&((m.tag==="bodyAttrs"?n.defaultView:p).addEventListener(_.substring(2),y.bind(p)),p.setAttribute(`data-${_}`,""));continue}const g=`attr:${_}`;if(_==="class"){if(!y)continue;for(const v of y)E&&a(d,`${g}:${v}`,()=>p.classList.remove(v)),!p.classList.contains(v)&&p.classList.add(v)}else if(_==="style"){if(!y)continue;for(const[v,T]of y)a(d,`${g}:${v}`,()=>{p.style.removeProperty(v)}),p.style.setProperty(v,T)}else y!==!1&&y!==null&&(p.getAttribute(_)!==y&&p.setAttribute(_,y===!0?"":String(y)),E&&a(d,g,()=>p.removeAttribute(_)))}}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,a("title","",()=>n.title=l.title);continue}d.$el=d.$el||l.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,a);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 l.pendingSideEffects)l.pendingSideEffects[d]();e._dom=l,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)?le(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(Il()){const e=Ot(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=ot(!1);let r;return pu(()=>{const o=s.value?{}:dl(t,yN);r?r.patch(o):r=e.push(o,n)}),ze()&&(Ui(()=>{r.dispose()}),au(()=>{s.value=!0}),lu(()=>{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 Ia(e,t){const n={};for(const s in t){const r=t[s];n[s]=fn(r)?r.map(e):e(r)}return n}const si=()=>{},fn=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 Pc(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 Pc(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 Ra(e,t,n="/"){let s,r={},i="",o="";const l=t.indexOf("#");let a=t.indexOf("?");return a=l>=0&&a>l?-1:a,a>=0&&(s=t.slice(0,a),i=t.slice(a,l>0?l:t.length),r=e(i.slice(1))),l>=0&&(s=s||t.slice(0,l),o=t.slice(l,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 fn(e)?Kh(e,t):fn(t)?Kh(t,e):e===t}function Kh(e,t){return fn(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,l;for(o=0;o<s.length;o++)if(l=s[o],l!==".")if(l==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o).join("/")}const ns={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Ic=(function(e){return e.pop="pop",e.push="push",e})({}),La=(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 ia=()=>({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 Rc=new Map;function QN(e,t){Rc.set(e,t)}function YN(e){const t=Rc.get(e);return Rc.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 Pn(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)),l=i<0?null:Mi(r.slice(i+1));if(o in t){let a=t[o];fn(a)||(a=t[o]=[a]),a.push(l)}else t[o]=l}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}(fn(s)?s.map(r=>r&&Pc(r)):[s&&Pc(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]=fn(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const nP=Symbol(""),Qh=Symbol(""),oa=Symbol(""),hf=Symbol(""),Lc=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 fs(e,t,n,s,r,i=o=>o()){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,a)=>{const c=h=>{h===!1?a(Lr(He.NAVIGATION_ABORTED,{from:n,to:t})):h instanceof Error?a(h):zN(h)?a(Lr(He.NAVIGATION_GUARD_REDIRECT,{from:t,to:h})):(o&&s.enterCallbacks[r]===o&&typeof h=="function"&&o.push(h),l())},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=>a(h))})}function Ma(e,t,n,s,r=i=>i()){const i=[];for(const o of e)for(const l in o.components){let a=o.components[l];if(!(t!=="beforeRouteEnter"&&!o.instances[l]))if(Dy(a)){const c=(a.__vccOpts||a)[t];c&&i.push(fs(c,n,s,o,l,r))}else{let c=a();i.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${o.path}"`);const f=wN(u)?u.default:u;o.mods[l]=u,o.components[l]=f;const h=(f.__vccOpts||f)[t];return h&&fs(h,n,s,o,l,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 l=t.matched[o];l&&(e.matched.find(c=>Rr(c,l))?s.push(l):n.push(l));const a=e.matched[o];a&&(t.matched.find(c=>Rr(c,a))||r.push(a))}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,l=r.slice(o);return l[0]!=="/"&&(l="/"+l),Gh(l,"")}return Gh(n,e)+s+r}function iP(e,t,n,s){let r=[],i=[],o=null;const l=({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(_=>{_(n.value,p,{delta:E,type:Ic.pop,direction:E?E>0?La.forward:La.back:La.unknown})})};function a(){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:ia()}),"")}}function f(){for(const h of i)h();i=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:a,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?ia():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(a,c,u){const f=e.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+a:rP()+e+a;try{t[u?"replaceState":"pushState"](c,"",h),r.value=c}catch(d){console.error(d),n[u?"replace":"assign"](h)}}function o(a,c){i(a,Oe({},t.state,Yh(r.value.back,a,r.value.forward,!0),c,{position:r.value.position}),!0),s.value=a}function l(a,c){const u=Oe({},r.value,t.state,{forward:a,scroll:ia()});i(u.current,u,!0),i(a,Oe({},Yh(s.value,a,null),{position:u.position+1},c),!1),s.value=a}return{location:s,state:r,push:l,replace:o}}function lP(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 aP={type:xs.Static,value:""},cP=/[a-zA-Z0-9_]/;function uP(e){if(!e)return[[]];if(e==="/")return[[aP]];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 l=0,a,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&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:xs.Param,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function h(){c+=a}for(;l<e.length;){if(a=e[l++],a==="\\"&&n!==Je.ParamRegExp){s=n,n=Je.EscapeNext;continue}switch(n){case Je.Static:a==="/"?(c&&f(),o()):a===":"?(f(),n=Je.Param):h();break;case Je.EscapeNext:h(),n=s;break;case Je.Param:a==="("?n=Je.ParamRegExp:cP.test(a)?h():(f(),n=Je.Static,a!=="*"&&a!=="?"&&a!=="+"&&l--);break;case Je.ParamRegExp:a===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+a:n=Je.ParamRegExpEnd:u+=a;break;case Je.ParamRegExpEnd:f(),n=Je.Static,a!=="*"&&a!=="?"&&a!=="+"&&l--,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 bt=(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})(bt||{});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?[]:[bt.Root];n.strict&&!c.length&&(r+="/");for(let f=0;f<c.length;f++){const h=c[f];let d=bt.Segment+(n.sensitive?bt.BonusCaseSensitive:0);if(h.type===xs.Static)f||(r+="/"),r+=h.value.replace(dP,"\\$&"),d+=bt.Static;else if(h.type===xs.Param){const{value:p,repeatable:m,optional:E,regexp:_}=h;i.push({name:p,repeatable:m,optional:E});const y=_||zh;if(y!==zh){d+=bt.BonusCustomRegExp;try{`${y}`}catch(v){throw new Error(`Invalid custom RegExp for param "${p}" (${y}): `+v.message)}}let g=m?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;f||(g=E&&c.length<2?`(?:/${g})`:"/"+g),E&&(g+="?"),r+=g,d+=bt.Dynamic,E&&(d+=bt.BonusOptional),m&&(d+=bt.BonusRepeatable),y===".*"&&(d+=bt.BonusWildcard)}u.push(d)}s.push(u)}if(n.strict&&n.end){const c=s.length-1;s[c][s[c].length-1]+=bt.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function l(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 a(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,_=p in c?c[p]:"";if(fn(_)&&!m)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const y=fn(_)?_.join("/"):_;if(!y)if(E)h.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=y}}return u||"/"}return{re:o,score:s,keys:i,parse:l,stringify:a}}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]===bt.Static+bt.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===bt.Static+bt.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),_=[m];if("alias"in f){const v=typeof f.alias=="string"?[f.alias]:f.alias;for(const T of v)_.push(ep(Oe({},m,{components:d?d.record.components:m.components,path:T,aliasOf:d?d.record:m})))}let y,g;for(const v of _){const{path:T}=v;if(h&&T[0]!=="/"){const O=h.record.path,N=O[O.length-1]==="/"?"":"/";v.path=h.record.path+(T&&N+T)}if(y=gP(v,h,E),d?d.alias.push(y):(g=g||y,g!==y&&g.alias.push(y),p&&f.name&&!tp(y)&&o(f.name)),Ky(y)&&a(y),m.children){const O=m.children;for(let N=0;N<O.length;N++)i(O[N],y,d&&d.children[N])}d=d||y}return g?()=>{o(g)}: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 l(){return n}function a(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(g=>!g.optional).concat(d.parent?d.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),f.params&&Zh(f.params,d.keys.map(g=>g.name))),m=d.stringify(p)}else if(f.path!=null)m=f.path,d=n.find(g=>g.re.test(m)),d&&(p=d.parse(m),E=d.record.name);else{if(d=h.name?s.get(h.name):n.find(g=>g.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 _=[];let y=d;for(;y;)_.unshift(y.record),y=y.parent;return{name:E,path:m,params:p,matched:_,meta:vP(_)}}e.forEach(f=>i(f));function u(){n.length=0,s.clear()}return{addRoute:i,resolve:c,removeRoute:o,clearRoutes:u,getRoutes:l,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=Ot(oa),n=Ot(hf),s=he(()=>{const a=Kt(e.to);return t.resolve(a)}),r=he(()=>{const{matched:a}=s.value,{length:c}=a,u=a[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(a[c-2]);return c>1&&sp(u)===d&&f[f.length-1].path!==d?f.findIndex(Rr.bind(null,a[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 l(a={}){if(CP(a)){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:l}}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=qn(np(e)),{options:s}=Ot(oa),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(!fn(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=Ot(Lc),r=he(()=>e.route||s.value),i=Ot(Qh,0),o=he(()=>{let c=Kt(i);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),l=he(()=>r.value.matched[o.value]);Yr(Qh,he(()=>o.value+1)),Yr(nP,l),Yr(Lc,r);const a=ot();return De(()=>[a.value,l.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=l.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:_=>{_.component.isUnmounted&&(f.instances[u]=null)},ref:a}));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(),l=jr(),a=be(ns);let c=ns;cr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ia.bind(null,U=>""+U),f=Ia.bind(null,FN),h=Ia.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 _(U,J){if(J=Oe({},J||a.value),typeof U=="string"){const A=Ra(n,U,J.path),D=t.resolve({path:A.path},J),W=r.createHref(A.fullPath);return Oe(A,D,{params:h(D.params),hash:Mi(A.hash),redirectedFrom:void 0,href:W})}let Q;if(U.path!=null)Q=Oe({},U,{path:Ra(n,U.path,J.path).path});else{const A=Oe({},U.params);for(const D in A)A[D]==null&&delete A[D];Q=Oe({},U,{params:f(A)}),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 y(U){return typeof U=="string"?Ra(n,U,a.value.path):Oe({},U)}function g(U,J){if(c!==U)return Lr(He.NAVIGATION_CANCELLED,{from:J,to:U})}function v(U){return N(U)}function T(U){return v(Oe(y(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=y(oe):{path:oe},oe.params={}),Oe({query:U.query,hash:U.hash,params:oe.path!=null?{}:U.params},oe)}}function N(U,J){const Q=c=_(U),te=a.value,oe=U.state,Pe=U.force,w=U.replace===!0,A=O(Q,te);if(A)return N(Oe(y(A),{state:typeof A=="object"?Oe({},oe,A.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}),Se(te,te,!0,!1)),(W?Promise.resolve(W):P(D,te)).catch(B=>Pn(B)?Pn(B,He.NAVIGATION_GUARD_REDIRECT)?B:pe(B):K(B,D,te)).then(B=>{if(B){if(Pn(B,He.NAVIGATION_GUARD_REDIRECT))return N(Oe({replace:w},y(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=g(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=Ma(te.reverse(),"beforeRouteLeave",U,J);for(const A of te)A.leaveGuards.forEach(D=>{Q.push(fs(D,U,J))});const w=I.bind(null,U,J);return Q.push(w),ve(Q).then(()=>{Q=[];for(const A of i.list())Q.push(fs(A,U,J));return Q.push(w),ve(Q)}).then(()=>{Q=Ma(oe,"beforeRouteUpdate",U,J);for(const A of oe)A.updateGuards.forEach(D=>{Q.push(fs(D,U,J))});return Q.push(w),ve(Q)}).then(()=>{Q=[];for(const A of Pe)if(A.beforeEnter)if(fn(A.beforeEnter))for(const D of A.beforeEnter)Q.push(fs(D,U,J));else Q.push(fs(A.beforeEnter,U,J));return Q.push(w),ve(Q)}).then(()=>(U.matched.forEach(A=>A.enterCallbacks={}),Q=Ma(Pe,"beforeRouteEnter",U,J,S),Q.push(w),ve(Q))).then(()=>{Q=[];for(const A of o.list())Q.push(fs(A,U,J));return Q.push(w),ve(Q)}).catch(A=>Pn(A,He.NAVIGATION_CANCELLED)?A:Promise.reject(A))}function x(U,J,Q){l.list().forEach(te=>S(()=>te(U,J,Q)))}function R(U,J,Q,te,oe){const Pe=g(U,J);if(Pe)return Pe;const w=J===ns,A=cr?history.state:{};Q&&(te||w?r.replace(U.fullPath,Oe({scroll:w&&A&&A.scroll},oe)):r.push(U.fullPath,oe)),a.value=U,Se(U,J,Q,w),pe()}let $;function V(){$||($=r.listen((U,J,Q)=>{if(!tt.listening)return;const te=_(U),oe=O(te,tt.currentRoute.value);if(oe){N(Oe(oe,{replace:!0,force:!0}),te).catch(si);return}c=te;const Pe=a.value;cr&&QN(qh(Pe.fullPath,Q.delta),ia()),P(te,Pe).catch(w=>Pn(w,He.NAVIGATION_ABORTED|He.NAVIGATION_CANCELLED)?w:Pn(w,He.NAVIGATION_GUARD_REDIRECT)?(N(Oe(y(w.to),{force:!0}),te).then(A=>{Pn(A,He.NAVIGATION_ABORTED|He.NAVIGATION_DUPLICATED)&&!Q.delta&&Q.type===Ic.pop&&r.go(-1,!1)}).catch(si),Promise.reject()):(Q.delta&&r.go(-Q.delta,!1),K(w,te,Pe))).then(w=>{w=w||R(te,Pe,!1),w&&(Q.delta&&!Pn(w,He.NAVIGATION_CANCELLED)?r.go(-Q.delta,!1):Q.type===Ic.pop&&Pn(w,He.NAVIGATION_ABORTED|He.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),x(te,Pe,w)}).catch(si)}))}let G=jr(),j=jr(),q;function K(U,J,Q){pe(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&&a.value!==ns?Promise.resolve():new Promise((U,J)=>{G.add([U,J])})}function pe(U){return q||(q=!U,V(),G.list().forEach(([J,Q])=>U?Q(U):J()),G.reset()),U}function Se(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=>K(w,U,J))}const Ve=U=>r.go(U);let kt;const et=new Set,tt={currentRoute:a,listening:!0,addRoute:d,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:E,getRoutes:m,resolve:_,options:e,push:v,replace:T,go:Ve,back:()=>Ve(-1),forward:()=>Ve(1),beforeEach:i.add,beforeResolve:o.add,afterEach:l.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(a)}),cr&&!kt&&a.value===ns&&(kt=!0,v(r.location).catch(te=>{}));const J={};for(const te in ns)Object.defineProperty(J,te,{get:()=>a.value[te],enumerable:!0});U.provide(oa,tt),U.provide(hf,Jc(J)),U.provide(Lc,a);const Q=U.unmount;et.add(U),U.unmount=function(){et.delete(U),et.size<1&&(c=ns,$&&$(),$=null,a.value=ns,kt=!1,q=!1),Q()}}};function ve(U){return U.reduce((J,Q)=>J.then(()=>S(Q)),Promise.resolve())}return tt}function II(){return Ot(oa)}function RI(e){return Ot(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=ot(!1);return Zn(()=>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:l="#app"}={};async function a(c){const u=yi(e);let f;o&&u.use(f=SN());const h=PP({history:lP(t.base),...t}),{routes:d}=t;i&&u.component("ClientOnly",RP);const p=[],_={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(),_.initialState=r?.(window.__INITIAL_STATE__||{})||LP(window.__INITIAL_STATE__),await n?.(_),u.use(h);let y,g=!0;h.beforeEach((T,O,N)=>{(g||y&&y===T.path)&&(g=!1,y=T.path,T.meta.state=_.initialState),N()});const v=_.initialState;return{..._,initialState:v}}return(async()=>{const{app:c,router:u}=await a();await u.isReady(),c.mount(l,!0)})(),a}const xP=[{path:"/",name:"/",component:()=>Rt(()=>import("./index-BCm7THhM.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:()=>Rt(()=>import("./_...all_-B9k8Q2DR.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:()=>Rt(()=>import("./index-CYSG2BbL.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:()=>Rt(()=>import("./index-DWoY1v-z.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:()=>Rt(()=>import("./index-D2BOxElt.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:()=>Rt(()=>import("./index-BKgCHvE3.js"),__vite__mapDeps([34,11,5,2,3,4,16,35]),import.meta.url),meta:{layout:"index-layout"}},{path:":all(.*)",name:"/rating/[...all]",component:()=>Rt(()=>import("./_...all_-bd0XH0PR.js"),__vite__mapDeps([36,28,2,3,4,14,24,37]),import.meta.url)}]},{path:"/resolver",children:[{path:"",name:"/resolver/",component:()=>Rt(()=>import("./index-BtjYAI3N.js"),__vite__mapDeps([38,25,5,13,14,23,24,4,20,26,31,16]),import.meta.url),meta:{layout:"headless"}}]}];function Es(e,t){return bl()?(Kp(e,t),!0):!1}function xa(){const e=new Set,t=i=>{e.delete(i)};return{on:i=>{e.add(i);const o=()=>t(i);return Es(o),{off:o}},off:t,trigger:(...i)=>Promise.all(Array.from(e).map(o=>o(...i))),clear:()=>{e.clear()}}}const Da=new WeakMap,DP=(...e)=>{var t;const n=e[0],s=(t=ze())===null||t===void 0?void 0:t.proxy,r=s??bl();if(r==null&&!Il())throw new Error("injectLocal must be called in setup");return r&&Da.has(r)&&n in Da.get(r)?Da.get(r)[n]:Ot(...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]",ln=()=>{};function gr(...e){if(e.length!==1)return cm(...e);const t=e[0];return typeof t=="function"?an(nu(()=>({get:t,set:ln}))):ot(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=ln;const i=a=>{clearTimeout(a),r(),r=ln};let o;return a=>{const c=le(e),u=le(t.maxWait);return n&&i(n),c<=0||u!==void 0&&u<=0?(s&&(i(s),s=void 0),Promise.resolve(a())):new Promise((f,h)=>{r=t.rejectOnCancel?h:f,o=a,u&&!s&&(s=setTimeout(()=>{n&&i(n),s=void 0,f(o())},u)),n=setTimeout(()=>{s&&i(s),s=void 0,f(a())},c)})}}function HP(...e){let t=0,n,s=!0,r=ln,i,o,l,a,c;!Ne(e[0])&&typeof e[0]=="object"?{delay:o,trailing:l=!0,leading:a=!0,rejectOnCancel:c=!1}=e[0]:[o,l=!0,a=!0,c=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,r(),r=ln)};return h=>{const d=le(o),p=Date.now()-t,m=()=>i=h();return u(),d<=0?(t=Date.now(),m()):(p>d?(t=Date.now(),(a||!s)&&m()):l&&(i=new Promise((E,_)=>{r=c?_:E,n=setTimeout(()=>{t=Date.now(),s=!0,E(m()),u()},Math.max(0,d-p))})),!a&&!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=(...l)=>{s.value&&e(...l)};return{isActive:an(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 lp(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 De(e,pf(s,t),r)}function XP(e,t,n={}){const{eventFilter:s,initialState:r="active",...i}=n,{eventFilter:o,pause:l,resume:a,isActive:c}=UP(s,{initialState:r});return{stop:qP(e,t,{...i,eventFilter:o}),pause:l,resume:a,isActive:c}}const QP=XP;function mf(e,t=!0,n){WP()?Zn(e,n):t?e():Yt(e)}function Mc(e,t=!1){function n(f,{flush:h="sync",deep:d=!1,timeout:p,throwOnTimeout:m}={}){let E=null;const _=[new Promise(y=>{E=De(e,g=>{f(g)!==t&&(E?E():Yt(()=>E?.()),y(g))},{flush:h,deep:d,immediate:!0})})];return p!=null&&_.push(op(p,m).then(()=>le(e)).finally(()=>E?.())),Promise.race(_)}function s(f,h){if(!Ne(f))return n(g=>g===f,h);const{flush:d="sync",deep:p=!1,timeout:m,throwOnTimeout:E}=h??{};let _=null;const y=[new Promise(g=>{_=De([e,f],([v,T])=>{t!==(v===T)&&(_?_():Yt(()=>_?.()),g(v))},{flush:d,deep:p,immediate:!0})})];return m!=null&&y.push(op(m,E).then(()=>le(e)).finally(()=>(_?.(),le(e)))),Promise.race(y)}function r(f){return n(h=>!!h,f)}function i(f){return s(null,f)}function o(f){return s(void 0,f)}function l(f){return n(Number.isNaN,f)}function a(f,h){return n(d=>{const p=Array.from(d);return p.includes(f)||p.includes(le(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(le(e))?{toMatch:n,toContains:a,changed:c,changedTimes:u,get not(){return Mc(e,!t)}}:{toMatch:n,toBe:s,toBeTruthy:r,toBeNull:i,toBeNaN:l,toBeUndefined:o,changed:c,changedTimes:u,get not(){return Mc(e,!t)}}}function YP(e){return Mc(e)}function zP(e,t=1e3,n={}){const{immediate:s=!0,immediateCallback:r=!1}=n;let i=null;const o=be(!1);function l(){i&&(clearInterval(i),i=null)}function a(){o.value=!1,l()}function c(){const u=le(t);u<=0||(o.value=!0,r&&e(),l(),o.value&&(i=setInterval(e,u)))}return s&&Mr&&c(),(Ne(t)||typeof t=="function")&&Es(De(t,()=>{o.value&&Mr&&c()})),Es(a),{isActive:Zc(o),pause:a,resume:c}}function Qy(e,t,n={}){const{immediate:s=!0,immediateCallback:r=!1}=n,i=be(!1);let o;function l(){o&&(clearTimeout(o),o=void 0)}function a(){i.value=!1,l()}function c(...u){r&&e(),l(),i.value=!0,o=setTimeout(()=>{i.value=!1,o=void 0,e(...u)},le(t))}return s&&(i.value=!0,Mr&&c()),Es(a),{isPending:Zc(i),start:c,stop:a}}function JP(e=!1,t={}){const{truthyValue:n=!0,falsyValue:s=!1}=t,r=Ne(e),i=be(e);function o(l){if(arguments.length)return i.value=l,i.value;{const a=le(n);return i.value=i.value===a?le(s):a,i.value}}return r?o:[i,o]}function ZP(e,t,n){return De(e,t,{...n,immediate:!0})}function eI(e,t,n){return De(e,t,{...n,once:!0})}const st=Mr?window:void 0,Yy=Mr?window.document:void 0,zy=Mr?window.navigator:void 0;function js(e){var t;const n=le(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function Ut(...e){const t=(s,r,i,o)=>(s.addEventListener(r,i,o),()=>s.removeEventListener(r,i,o)),n=he(()=>{const s=ri(le(e[0])).filter(r=>r!=null);return s.every(r=>typeof r!="string")?s:void 0});return ZP(()=>{var s,r;return[(s=(r=n.value)===null||r===void 0?void 0:r.map(i=>js(i)))!==null&&s!==void 0?s:[st].filter(i=>i!=null),ri(le(n.value?e[1]:e[0])),ri(Kt(n.value?e[2]:e[1])),le(n.value?e[3]:e[2])]},([s,r,i,o],l,a)=>{if(!s?.length||!r?.length||!i?.length)return;const c=$P(o)?{...o}:o,u=s.flatMap(f=>r.flatMap(h=>i.map(d=>t(f,h,d,c))));a(()=>{u.forEach(f=>f())})},{flush:"post"})}function tI(){const e=be(!1),t=ze();return t&&Zn(()=>{e.value=!0},t),e}function zi(e){const t=tI();return he(()=>(t.value,!!e()))}function Jy(e,t,n={}){const{window:s=st,...r}=n;let i;const o=zi(()=>s&&"MutationObserver"in s),l=()=>{i&&(i.disconnect(),i=void 0)},a=De(he(()=>{const f=ri(le(e)).map(js).filter(qy);return new Set(f)}),f=>{l(),o.value&&f.size&&(i=new MutationObserver(t),f.forEach(h=>i.observe(h,r)))},{immediate:!0,flush:"post"}),c=()=>i?.takeRecords(),u=()=>{a(),l()};return Es(u),{isSupported:o,stop:u,takeRecords:c}}function nI(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function sI(...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=st,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=s,a=nI(t);return Ut(r,i,u=>{u.repeat&&le(l)||a(u)&&n(u)},o)}function LI(e,t,n={}){return sI(e,t,{...n,eventName:"keyup"})}function rI(e,t={}){const{immediate:n=!0,fpsLimit:s=void 0,window:r=st,once:i=!1}=t,o=be(!1),l=he(()=>s?1e3/le(s):null);let a=0,c=null;function u(d){if(!o.value||!r)return;a||(a=d);const p=d-a;if(l.value&&p<l.value){c=r.requestAnimationFrame(u);return}if(a=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,a=0,c=r.requestAnimationFrame(u))}function h(){o.value=!1,c!=null&&r&&(r.cancelAnimationFrame(c),c=null)}return n&&f(),Es(h),{isActive:an(o),pause:h,resume:f}}const iI=Symbol("vueuse-ssr-width");function oI(){const e=Il()?DP(iI,null):null;return typeof e=="number"?e:void 0}function lI(e,t={}){const{window:n=st,ssrWidth:s=oI()}=t,r=zi(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=be(typeof s=="number"),o=be(),l=be(!1),a=c=>{l.value=c.matches};return pu(()=>{if(i.value){i.value=!r.value,l.value=le(e).split(",").some(c=>{const u=c.includes("not all"),f=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),h=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let d=!!(f||h);return f&&d&&(d=s>=lp(f[1])),h&&d&&(d=s<=lp(h[1])),u?!d:d});return}r.value&&(o.value=n.matchMedia(le(e)),l.value=o.value.matches)}),Ut(o,"change",a,{passive:!0}),he(()=>l.value)}function ap(e,t={}){const{controls:n=!1,navigator:s=zy}=t,r=zi(()=>s&&"permissions"in s),i=be(),o=typeof e=="string"?{name:e}:e,l=be(),a=()=>{var u,f;l.value=(u=(f=i.value)===null||f===void 0?void 0:f.state)!==null&&u!==void 0?u:"prompt"};Ut(i,"change",a,{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{a()}if(n)return de(i.value)}});return c(),n?{state:l,isSupported:r,query:c}:l}function MI(e={}){const{navigator:t=zy,read:n=!1,source:s,copiedDuring:r=1500,legacy:i=!1}=e,o=zi(()=>t&&"clipboard"in t),l=ap("clipboard-read"),a=ap("clipboard-write"),c=he(()=>o.value||i),u=be(""),f=be(!1),h=Qy(()=>f.value=!1,r,{immediate:!1});async function d(){let y=!(o.value&&_(l.value));if(!y)try{u.value=await t.clipboard.readText()}catch{y=!0}y&&(u.value=E())}c.value&&n&&Ut(["copy","cut"],d,{passive:!0});async function p(y=le(s)){if(c.value&&y!=null){let g=!(o.value&&_(a.value));if(!g)try{await t.clipboard.writeText(y)}catch{g=!0}g&&m(y),u.value=y,f.value=!0,h.start()}}function m(y){const g=document.createElement("textarea");g.value=y,g.style.position="absolute",g.style.opacity="0",g.setAttribute("readonly",""),document.body.appendChild(g),g.select(),document.execCommand("copy"),g.remove()}function E(){var y,g,v;return(y=(g=document)===null||g===void 0||(v=g.getSelection)===null||v===void 0||(v=v.call(g))===null||v===void 0?void 0:v.toString())!==null&&y!==void 0?y:""}function _(y){return y==="granted"||y==="prompt"}return{isSupported:c,text:an(u),copied:an(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__",cI=uI();function uI(){return Eo in vo||(vo[Eo]=vo[Eo]||{}),vo[Eo]}function Zy(e,t){return cI[e]||t}function ev(e){return lI("(prefers-color-scheme: dark)",e)}function fI(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 dI={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 hI(e,t,n,s={}){var r;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:a=!0,mergeDefaults:c=!1,shallow:u,window:f=st,eventFilter:h,onError:d=V=>{console.error(V)},initOnMounted:p}=s,m=(u?be:ot)(typeof t=="function"?t():t),E=he(()=>le(e));if(!n)try{n=Zy("getDefaultStorage",()=>st?.localStorage)()}catch(V){d(V)}if(!n)return m;const _=le(t),y=fI(_),g=(r=s.serializer)!==null&&r!==void 0?r:dI[y],{pause:v,resume:T}=QP(m,V=>P(V),{flush:i,deep:o,eventFilter:h});De(E,()=>R(),{flush:i});let O=!1;const N=V=>{p&&!O||R(V)},I=V=>{p&&!O||$(V)};f&&l&&(n instanceof Storage?Ut(f,"storage",N,{passive:!0}):Ut(f,cp,I)),p?mf(()=>{O=!0,R()}):R();function S(V,G){if(f){const j={key:E.value,oldValue:V,newValue:G,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",j):new CustomEvent(cp,{detail:j}))}}function P(V){try{const G=n.getItem(E.value);if(V==null)S(G,null),n.removeItem(E.value);else{const j=g.write(V);G!==j&&(n.setItem(E.value,j),S(G,j))}}catch(G){d(G)}}function x(V){const G=V?V.newValue:n.getItem(E.value);if(G==null)return a&&_!=null&&n.setItem(E.value,g.write(_)),_;if(!V&&c){const j=g.read(G);return typeof c=="function"?c(j,_):y==="object"&&!Array.isArray(j)?{..._,...j}:j}else return typeof G!="string"?G:g.read(G)}function R(V){if(!(V&&V.storageArea!==n)){if(V&&V.key==null){m.value=_;return}if(!(V&&V.key!==E.value)){v();try{const G=g.write(m.value);(V===void 0||V?.newValue!==G)&&(m.value=x(V))}catch(G){d(G)}finally{V?Yt(T):T()}}}}function $(V){R(V.detail)}return m}const pI="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function mI(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=st,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:a,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=a||(o==null?gr(s):hI(o,s,i,{window:r,listenToStorageChanges:l})),m=he(()=>p.value==="auto"?d.value:p.value),E=Zy("updateHTMLAttrs",(v,T,O)=>{const N=typeof v=="string"?r?.document.querySelector(v):js(v);if(!N)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(pI)),r.document.head.appendChild(x));for(const R of I)N.classList.add(R);for(const R of S)N.classList.remove(R);P&&N.setAttribute(P.key,P.value),u&&(r.getComputedStyle(x).opacity,document.head.removeChild(x))});function _(v){var T;E(t,n,(T=f[v])!==null&&T!==void 0?T:v)}function y(v){e.onChanged?e.onChanged(v,_):_(v)}De(m,y,{flush:"post",immediate:!0}),mf(()=>y(m.value));const g=he({get(){return c?p.value:m.value},set(v){p.value=v}});return Object.assign(g,{store:p,system:d,state:m})}function gI(e={}){const{valueDark:t="dark",valueLight:n=""}=e,s=mI({...e,onChanged:(i,o)=>{var l;e.onChanged?(l=e.onChanged)===null||l===void 0||l.call(e,i==="dark",o,i):o(i)},modes:{dark:t,light:n}}),r=he(()=>s.system.value);return he({get(){return s.value==="dark"},set(i){const o=i?"dark":"light";r.value===o?s.value="auto":s.value=o}})}function xI(e={}){const{document:t=Yy}=e;if(!t)return be("visible");const n=be(t.visibilityState);return Ut(t,"visibilitychange",()=>{n.value=t.visibilityState},{passive:!0}),n}function _I(e,t,n={}){const{root:s,rootMargin:r="0px",threshold:i=0,window:o=st,immediate:l=!0}=n,a=zi(()=>o&&"IntersectionObserver"in o),c=he(()=>ri(le(e)).map(js).filter(qy));let u=ln;const f=be(l),h=a.value?De(()=>[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(_=>_&&E.observe(_)),u=()=>{E.disconnect(),u=ln}},{immediate:l,flush:"post"}):ln,d=()=>{u(),h(),f.value=!1};return Es(d),{isSupported:a,isActive:f,pause(){u(),f.value=!1},resume(){f.value=!0},stop:d}}function DI(e,t={}){const{window:n=st,scrollTarget:s,threshold:r=0,rootMargin:i,once:o=!1,initialValue:l=!1}=t,a=be(l),{stop:c}=_I(e,u=>{let f=a.value,h=0;for(const d of u)d.time>=h&&(h=d.time,f=d.isIntersecting);a.value=f,o&&eI(a,()=>{c()})},{root:s,window:n,threshold:r,rootMargin:le(i)});return a}const yI={json:"application/json",text:"text/plain"};function up(e){return e&&jP(e,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}function ka(e){return typeof Headers<"u"&&e instanceof Headers?Object.fromEntries(e.entries()):e}function kI(e,...t){var n,s;const r=typeof AbortController=="function";let i={},o={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1};const l={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:a=(n=st?.fetch)!==null&&n!==void 0?n:(s=globalThis)===null||s===void 0?void 0:s.fetch,initialData:c,timeout:u}=o,f=xa(),h=xa(),d=xa(),p=be(!1),m=be(!1),E=be(!1),_=be(null),y=be(null),g=be(null),v=be(c||null),T=he(()=>r&&m.value);let O,N;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&&(N=Qy(I,u,{immediate:!1}));let P=0;const x=async(q=!1)=>{var K;I(),S(!0),g.value=null,_.value=null,E.value=!1,P+=1;const ee=P,pe={method:l.method,headers:{}},Se=le(l.payload);if(Se){var Ve;const ve=ka(pe.headers),U=Object.getPrototypeOf(Se);!l.payloadType&&Se&&(U===Object.prototype||Array.isArray(U))&&!(Se instanceof FormData)&&(l.payloadType="json"),l.payloadType&&(ve["Content-Type"]=(Ve=yI[l.payloadType])!==null&&Ve!==void 0?Ve:l.payloadType),pe.body=l.payloadType==="json"?JSON.stringify(Se):Se}let kt=!1;const et={url:le(e),options:{...pe,...i},cancel:()=>{kt=!0}};if(o.beforeFetch&&Object.assign(et,await o.beforeFetch(et)),kt||!a)return S(!1),Promise.resolve(null);let tt=null;return N&&N.start(),a(et.url,{...pe,...et.options,headers:{...ka(pe.headers),...ka((K=et.options)===null||K===void 0?void 0:K.headers)}}).then(async ve=>{if(y.value=ve,_.value=ve.status,tt=await ve.clone()[l.type](),!ve.ok)throw v.value=c||null,new Error(ve.statusText);return o.afterFetch&&({data:tt}=await o.afterFetch({data:tt,response:ve,context:et,execute:x})),v.value=tt,f.trigger(ve),ve}).catch(async ve=>{let U=ve.message||ve.name;if(o.onFetchError&&({error:U,data:tt}=await o.onFetchError({data:tt,error:ve,response:y.value,context:et,execute:x})),g.value=U,o.updateDataOnError&&(v.value=tt),h.trigger(ve),q)throw ve;return null}).finally(()=>{ee===P&&S(!1),N&&N.stop(),d.trigger(null)})},R=gr(o.refetch);De([R,gr(e)],([q])=>q&&x(),{deep:!0});const $={isFinished:an(p),isFetching:an(m),statusCode:_,response:y,error:g,data:v,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(K,ee)=>{if(!m.value)return l.method=q,l.payload=K,l.payloadType=ee,Ne(l.payload)&&De([R,gr(l.payload)],([pe])=>pe&&x(),{deep:!0}),{...$,then(pe,Se){return G().then(pe,Se)}}}}function G(){return new Promise((q,K)=>{YP(p).toBe(!0).then(()=>q($)).catch(K)})}function j(q){return()=>{if(!m.value)return l.type=q,{...$,then(K,ee){return G().then(K,ee)}}}}return o.immediate&&Promise.resolve().then(()=>x()),{...$,then(q,K){return G().then(q,K)}}}const fp=1;function vI(e,t={}){const{throttle:n=0,idle:s=200,onStop:r=ln,onScroll:i=ln,offset:o={left:0,right:0,top:0,bottom:0},observe:l={mutation:!1},eventListenerOptions:a={capture:!1,passive:!0},behavior:c="auto",window:u=st,onError:f=S=>{console.error(S)}}=t,h=typeof l=="boolean"?{mutation:l}:l,d=be(0),p=be(0),m=he({get(){return d.value},set(S){_(S,void 0)}}),E=he({get(){return p.value},set(S){_(void 0,S)}});function _(S,P){var x,R,$,V;if(!u)return;const G=le(e);if(!G)return;(x=G instanceof Document?u.document.body:G)===null||x===void 0||x.scrollTo({top:(R=le(P))!==null&&R!==void 0?R:E.value,left:($=le(S))!==null&&$!==void 0?$:m.value,behavior:le(c)});const j=(G==null||(V=G.document)===null||V===void 0?void 0:V.documentElement)||G?.documentElement||G;m!=null&&(d.value=j.scrollLeft),E!=null&&(p.value=j.scrollTop)}const y=be(!1),g=qn({left:!0,right:!1,top:!0,bottom:!1}),v=qn({left:!1,right:!1,top:!1,bottom:!1}),T=S=>{y.value&&(y.value=!1,v.left=!1,v.right=!1,v.top=!1,v.bottom=!1,r(S))},O=GP(T,n+s),N=S=>{var P;if(!u)return;const x=(S==null||(P=S.document)===null||P===void 0?void 0:P.documentElement)||S?.documentElement||js(S),{display:R,flexDirection:$,direction:V}=u.getComputedStyle(x),G=V==="rtl"?-1:1,j=x.scrollLeft;v.left=j<d.value,v.right=j>d.value;const q=Math.abs(j*G)<=(o.left||0),K=Math.abs(j*G)+x.clientWidth>=x.scrollWidth-(o.right||0)-fp;R==="flex"&&$==="row-reverse"?(g.left=K,g.right=q):(g.left=q,g.right=K),d.value=j;let ee=x.scrollTop;S===u.document&&!ee&&(ee=u.document.body.scrollTop),v.top=ee<p.value,v.bottom=ee>p.value;const pe=Math.abs(ee)<=(o.top||0),Se=Math.abs(ee)+x.clientHeight>=x.scrollHeight-(o.bottom||0)-fp;R==="flex"&&$==="column-reverse"?(g.top=Se,g.bottom=pe):(g.top=pe,g.bottom=Se),p.value=ee},I=S=>{var P;u&&(N((P=S.target.documentElement)!==null&&P!==void 0?P:S.target),y.value=!0,O(S),i(S))};return Ut(e,"scroll",n?KP(I,n,!0,!1):I,a),mf(()=>{try{const S=le(e);if(!S)return;N(S)}catch(S){f(S)}}),h?.mutation&&e!=null&&e!==u&&e!==document&&Jy(e,()=>{const S=le(e);S&&N(S)},{attributes:!0,childList:!0,subtree:!0}),Ut(e,"scrollend",T,a),{x:m,y:E,isScrolling:y,arrivedState:g,directions:v,measure(){const S=le(e);u&&S&&N(S)}}}const EI={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function FI(e={}){const{reactive:t=!1,target:n=st,aliasMap:s=EI,passive:r=!0,onEventFired:i=ln}=e,o=qn(new Set),l={toJSON(){return{}},current:o},a=t?qn(l):l,c=new Set,u=new Map([["Meta",c],["Shift",new Set],["Alt",new Set]]),f=new Set;function h(y,g){y in a&&(t?a[y]=g:a[y].value=g)}function d(){o.clear();for(const y of f)h(y,!1)}function p(y,g,v){if(!(!y||typeof g.getModifierState!="function")){for(const[T,O]of u)if(g.getModifierState(T)){v.forEach(N=>O.add(N));break}}}function m(y,g){if(y)return;const v=`${g[0].toUpperCase()}${g.slice(1)}`,T=u.get(v);if(!["shift","alt"].includes(g)||!T)return;const O=Array.from(T),N=O.indexOf(g);O.forEach((I,S)=>{S>=N&&(o.delete(I),h(I,!1))}),T.clear()}function E(y,g){var v,T;const O=(v=y.key)===null||v===void 0?void 0:v.toLowerCase(),N=[(T=y.code)===null||T===void 0?void 0:T.toLowerCase(),O].filter(Boolean);if(O!==""){O&&(g?o.add(O):o.delete(O));for(const I of N)f.add(I),h(I,g);p(g,y,[...o,...N]),m(g,O),O==="meta"&&!g&&(c.forEach(I=>{o.delete(I),h(I,!1)}),c.clear())}}Ut(n,"keydown",y=>(E(y,!0),i(y)),{passive:r}),Ut(n,"keyup",y=>(E(y,!1),i(y)),{passive:r}),Ut("blur",d,{passive:r}),Ut("focus",d,{passive:r});const _=new Proxy(a,{get(y,g,v){if(typeof g!="string")return Reflect.get(y,g,v);if(g=g.toLowerCase(),g in s&&(g=s[g]),!(g in a))if(/[+_-]/.test(g)){const O=g.split(/[+_-]/g).map(N=>N.trim());a[g]=he(()=>O.map(N=>le(_[N])).every(Boolean))}else a[g]=be(!1);const T=Reflect.get(y,g,v);return t?le(T):T}});return _}function $I(e={}){const{controls:t=!1,interval:n="requestAnimationFrame",immediate:s=!0}=e,r=ot(new Date),i=()=>r.value=new Date,o=n==="requestAnimationFrame"?rI(i,{immediate:s}):zP(i,n,{immediate:s});return t?{now:r,...o}:r}function VI(e=null,t={}){var n,s;const{document:r=Yy,restoreOnUnmount:i=f=>f}=t,o=(n=r?.title)!==null&&n!==void 0?n:"",l=gr((s=e??r?.title)!==null&&s!==void 0?s:null),a=!!(e&&typeof e=="function");function c(f){if(!("titleTemplate"in t))return f;const h=t.titleTemplate||"%s";return typeof h=="function"?h(f):le(h).replace(/%s/g,f)}if(De(l,(f,h)=>{f!==h&&r&&(r.title=c(f??""))},{immediate:!0}),t.observe&&!t.titleTemplate&&r&&!a){var u;Jy((u=r.head)===null||u===void 0?void 0:u.querySelector("title"),()=>{r&&r.title!==l.value&&(l.value=c(r.title))},{childList:!0})}return Es(()=>{if(i){const f=i(o,l.value||"");f!=null&&r&&(r.title=f)}}),l}function HI(e,t,n,s={}){var r,i;const{clone:o=!1,passive:l=!1,eventName:a,deep:c=!1,defaultValue:u,shouldEmit:f}=s,h=ze(),d=h?.emit||(h==null||(r=h.$emit)===null||r===void 0?void 0:r.bind(h))||(h==null||(i=h.proxy)===null||i===void 0||(i=i.$emit)===null||i===void 0?void 0:i.bind(h?.proxy));let p=a;t||(t="modelValue"),p=p||`update:${t.toString()}`;const m=y=>o?typeof o=="function"?o(y):aI(y):y,E=()=>kP(e[t])?m(e[t]):u,_=y=>{f?f(y)&&d(p,y):d(p,y)};if(l){const y=ot(E());let g=!1;return De(()=>e[t],v=>{g||(g=!0,y.value=m(v),Yt(()=>g=!1))}),De(y,v=>{!g&&(v!==e[t]||c)&&_(v)},{deep:c}),y}else return he({get(){return E()},set(y){_(y)}})}function UI(e={}){const{window:t=st,...n}=e;return vI(t,n)}const tv=gI(),BI=JP(tv),bI=ev(),TI=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:()=>bI.value?"/favicon-dark.svg":"/favicon.svg"}]}),(t,n)=>{const s=Gs("RouterView");return At(),Qn(s)}}});MP(TI,{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 $,VI as A,kI as B,De as C,Bi as D,AT as E,Ge as F,Qn as G,II as H,Vn as I,Ou as J,Xg as K,pi as L,bu as M,Yt as N,hI as O,SI as P,mO as Q,MI as R,T0 as S,h0 as T,Zn as U,TS as V,zP as W,sI as X,xI as Y,KP as Z,FI as _,Re as a,dO as a0,LI as a1,Zl as a2,LO as a3,CO as a4,wI as a5,vc as a6,Zt as a7,Yi as a8,SO as a9,wO as aa,yc as ab,ey as ac,$O as ad,NO as ae,wt as af,Il as ag,Ot as ah,WO as ai,ce as aj,Jc as ak,qn as al,PI as am,Kp as an,CI as ao,Zc as ap,an as aq,Hb as ar,Rg as as,Es as at,nu as au,le as av,ze as aw,HI as ax,yn as b,Er as c,vu as d,Dt as e,Cu as f,UI as g,he as h,RI as i,BI as j,Z0 as k,qg as l,ot as m,zn as n,At as o,DI as p,Za as q,Gs as r,$I as s,El as t,Kt as u,nT as v,Ws as w,zo as x,Ml as y,Ne as z};
|