@xcpcio/board-app 0.69.4 → 0.70.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/404.html +1 -1
- package/dist/assets/Balloon.vue_vue_type_script_setup_true_lang-oEmN2FUH.js +1 -0
- package/dist/assets/{Board-B9qlHyDI.js → Board-Bhkqgu1Y.js} +99 -99
- package/dist/assets/{Board-C89Lc-cb.css → Board-tx1moXfi.css} +1 -1
- package/dist/assets/{ContestStateBadge-CCVy2wZJ.js → ContestStateBadge-CvO-EMgm.js} +1 -1
- package/dist/assets/Countdown-BzEYBgj7.css +1 -0
- package/dist/assets/Countdown-TVEha-GX.js +1 -0
- package/dist/assets/{DataSourceInput.vue_vue_type_script_setup_true_lang-B5xllChj.js → DataSourceInput.vue_vue_type_script_setup_true_lang-DPoc3DXZ.js} +1 -1
- package/dist/assets/{Footer-ClNjZVUX.js → Footer-D8toReDQ.js} +1 -1
- package/dist/assets/{NavBar--v06rckE.js → NavBar-o5bwwfFh.js} +1 -1
- package/dist/assets/{Resolver-leMWgtXW.js → Resolver-DHnKaMVV.js} +4 -4
- package/dist/assets/{Resolver-ZGkKM3bm.css → Resolver-DWEPObm3.css} +1 -1
- package/dist/assets/{RightArrowIcon-C7gnivmE.js → RightArrowIcon-DYbq8Bub.js} +1 -1
- package/dist/assets/{TheInput.vue_vue_type_script_setup_true_lang-Cq-GdaDA.js → TheInput.vue_vue_type_script_setup_true_lang-BdUca1-n.js} +1 -1
- package/dist/assets/{Tooltip.vue_vue_type_script_setup_true_lang-B47ETaN9.js → Tooltip.vue_vue_type_script_setup_true_lang-JtL4ZY65.js} +1 -1
- package/dist/assets/{_...all_-DB8qOqv8.js → _...all_-CtqfVkht.js} +1 -1
- package/dist/assets/{_...all_-a-Uvc7a9.js → _...all_-DMSafAfm.js} +1 -1
- package/dist/assets/{_name_-BUzaHppL.js → _name_-BmEIkMG7.js} +1 -1
- package/dist/assets/{about-DI_NGucr.js → about-BR3jUE0_.js} +1 -1
- package/dist/assets/{board-layout-BHEsJV7B.js → board-layout-DbzTYtb3.js} +1 -1
- package/dist/assets/board-q5on1RUR.js +1 -0
- package/dist/assets/{constant-CZ5yULfd.js → constant-Ds9q2BQF.js} +1 -1
- package/dist/assets/{dayjs-CZgaplJl.js → dayjs-DRRP86hV.js} +1 -1
- package/dist/assets/{default-DWmoYCsL.js → default--P8qjAUG.js} +1 -1
- package/dist/assets/en-Bc_VXYkH.js +1 -0
- package/dist/assets/{headless-CdZcsu6X.js → headless---RphLCU.js} +1 -1
- package/dist/assets/{home-Ca7VxYvt.js → home-CRBm3f13.js} +1 -1
- package/dist/assets/{index-B94pQy55.js → index-BJ0B1S7n.js} +5 -5
- package/dist/assets/{index-CrdVtfk1.js → index-BKVhu7Tw.js} +1 -1
- package/dist/assets/{index-BGJAeisZ.css → index-CBwoaX68.css} +1 -1
- package/dist/assets/index-D7Dv5u2i.js +1 -0
- package/dist/assets/index-DDXtBC57.js +1 -0
- package/dist/assets/{index-B0Nibdcu.js → index-DF3noR7O.js} +1 -1
- package/dist/assets/index-DwDo-flU.js +1 -0
- package/dist/assets/{index-layout-BcC1Tv9X.js → index-layout-DpgBAC2O.js} +1 -1
- package/dist/assets/{pagination-nWSlxTuW.js → pagination-CCDih46R.js} +1 -1
- package/dist/assets/{person-CJEnqSCh.js → person-wOxxwhEX.js} +1 -1
- package/dist/assets/{query-DRKvftyM.js → query-Cwkn7-aW.js} +2 -2
- package/dist/assets/{rank-CihvP4tD.js → rank-CzKFUPaY.js} +1 -1
- package/dist/assets/{test-plNUzEC6.js → test-2P7EDOc4.js} +1 -1
- package/dist/assets/{use-vmodel-DYni6XFa.js → use-vmodel-eKIPpK5B.js} +1 -1
- package/dist/assets/{useQueryBoardData-DfePVUs0.js → useQueryBoardData-BxZkFBMO.js} +1 -1
- package/dist/assets/{user-Cbn7G8ga.js → user-CgerVobA.js} +1 -1
- package/dist/assets/{virtual_pwa-register-DHt7vHCS.js → virtual_pwa-register-CeNObX1m.js} +1 -1
- package/dist/assets/zh-CN-DJPqkv-M.js +1 -0
- package/dist/index.html +1 -1
- package/dist/sw.js +1 -1
- package/package.json +3 -3
- package/src/components/Balloon.vue +4 -3
- package/src/components/BalloonBlock.vue +5 -1
- package/src/components/Countdown.vue +4 -3
- package/src/components/Resolver.vue +4 -3
- package/src/components/board/{TeamInfoModal.vue → TeamModal.vue} +7 -20
- package/src/components/board/{TeamInfo.vue → TeamOverview.vue} +38 -0
- package/src/components/board/TeamUI.vue +7 -7
- package/src/components.d.ts +2 -3
- package/src/composables/query.ts +1 -1
- package/dist/assets/Balloon.vue_vue_type_script_setup_true_lang-BYUKhrtC.js +0 -1
- package/dist/assets/Countdown-CGwMuG9S.css +0 -1
- package/dist/assets/Countdown-cd9telur.js +0 -1
- package/dist/assets/board-iHKEEikR.js +0 -1
- package/dist/assets/en-DYzJz2c1.js +0 -1
- package/dist/assets/index-BRDPFAYp.js +0 -1
- package/dist/assets/index-Bng_iWYy.js +0 -1
- package/dist/assets/index-DEzYdclv.js +0 -1
- package/dist/assets/zh-CN-Cbd_t3aN.js +0 -1
- package/src/components/board/TeamAwards.vue +0 -121
|
@@ -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-DbzTYtb3.js"),window.__toAssetUrl("assets/Footer-D8toReDQ.js"),window.__toAssetUrl("assets/Tooltip.vue_vue_type_script_setup_true_lang-JtL4ZY65.js"),window.__toAssetUrl("assets/Tooltip-DzyPDwbo.css"),window.__toAssetUrl("assets/constant-Ds9q2BQF.js"),window.__toAssetUrl("assets/_plugin-vue_export-helper-DlAUqK2U.js"),window.__toAssetUrl("assets/NavBar-o5bwwfFh.js"),window.__toAssetUrl("assets/NavBar-aT2xEvYz.css"),window.__toAssetUrl("assets/default--P8qjAUG.js"),window.__toAssetUrl("assets/headless---RphLCU.js"),window.__toAssetUrl("assets/home-CRBm3f13.js"),window.__toAssetUrl("assets/index-layout-DpgBAC2O.js"),window.__toAssetUrl("assets/index-BKVhu7Tw.js"),window.__toAssetUrl("assets/RightArrowIcon-DYbq8Bub.js"),window.__toAssetUrl("assets/ContestStateBadge-CvO-EMgm.js"),window.__toAssetUrl("assets/query-Cwkn7-aW.js"),window.__toAssetUrl("assets/dayjs-DRRP86hV.js"),window.__toAssetUrl("assets/ContestStateBadge-D6uf8wH-.css"),window.__toAssetUrl("assets/use-vmodel-eKIPpK5B.js"),window.__toAssetUrl("assets/route-block-B_A1xBdJ.js"),window.__toAssetUrl("assets/index-Bce8wPYb.css"),window.__toAssetUrl("assets/_...all_-DMSafAfm.js"),window.__toAssetUrl("assets/Countdown-TVEha-GX.js"),window.__toAssetUrl("assets/useQueryBoardData-BxZkFBMO.js"),window.__toAssetUrl("assets/Countdown-BzEYBgj7.css"),window.__toAssetUrl("assets/Balloon.vue_vue_type_script_setup_true_lang-oEmN2FUH.js"),window.__toAssetUrl("assets/rank-CzKFUPaY.js"),window.__toAssetUrl("assets/person-wOxxwhEX.js"),window.__toAssetUrl("assets/Resolver-DHnKaMVV.js"),window.__toAssetUrl("assets/Resolver-DWEPObm3.css"),window.__toAssetUrl("assets/Board-Bhkqgu1Y.js"),window.__toAssetUrl("assets/pagination-CCDih46R.js"),window.__toAssetUrl("assets/TheInput.vue_vue_type_script_setup_true_lang-BdUca1-n.js"),window.__toAssetUrl("assets/Board-tx1moXfi.css"),window.__toAssetUrl("assets/index-DDXtBC57.js"),window.__toAssetUrl("assets/DataSourceInput.vue_vue_type_script_setup_true_lang-DPoc3DXZ.js"),window.__toAssetUrl("assets/board-q5on1RUR.js"),window.__toAssetUrl("assets/index-DwDo-flU.js"),window.__toAssetUrl("assets/_name_-BmEIkMG7.js"),window.__toAssetUrl("assets/user-CgerVobA.js"),window.__toAssetUrl("assets/index-DF3noR7O.js"),window.__toAssetUrl("assets/index-D-msPqye.css"),window.__toAssetUrl("assets/_...all_-CtqfVkht.js"),window.__toAssetUrl("assets/_..-5I0UWqRG.css"),window.__toAssetUrl("assets/index-D7Dv5u2i.js"),window.__toAssetUrl("assets/test-2P7EDOc4.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 rv="modulepreload",iv=function(e,t){return new URL(e,t).href},vf={},Qe=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=iv(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":rv,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)})};/*!
|
|
3
3
|
* shared v11.1.12
|
|
4
4
|
* (c) 2025 kazuya kawaguchi
|
|
@@ -35,12 +35,12 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.__toAssetUrl("as
|
|
|
35
35
|
* vue-i18n v11.1.12
|
|
36
36
|
* (c) 2025 kazuya kawaguchi
|
|
37
37
|
* Released under the MIT License.
|
|
38
|
-
*/const I0="11.1.12";function R0(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&($c().__INTLIFY_PROD_DEVTOOLS__=!1)}const Gt={UNEXPECTED_RETURN_TYPE:eE,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function on(e,...t){return dl(e,null,void 0)}const uc=ys("__translateVNode"),fc=ys("__datetimeParts"),dc=ys("__numberParts"),L0=ys("__setPluralRules"),M0=ys("__injectWithOption"),hc=ys("__dispose");function yi(e){if(!we(e)||gn(e))return e;for(const t in e)if(Zt(e,t))if(!t.includes("."))we(e[t])&&yi(e[t]);else{const n=t.split("."),s=n.length-1;let r=e,i=!1;for(let o=0;o<s;o++){if(n[o]==="__proto__")throw new Error(`unsafe key: ${n[o]}`);if(n[o]in r||(r[n[o]]=Ie()),!we(r[n[o]])){i=!0;break}r=r[n[o]]}if(i||(gn(r)?bp.includes(n[s])||delete e[t]:(r[n[s]]=e[t],delete e[t])),!gn(r)){const o=r[n[s]];we(o)&&yi(o)}}return e}function Hg(e,t){const{messages:n,__i18n:s,messageResolver:r,flatJson:i}=t,o=_e(n)?n:We(s)?Ie():{[e]:Ie()};if(We(s)&&s.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:a,resource:c}=l;a?(o[a]=o[a]||Ie(),yo(c,o[a])):yo(c,o)}else Z(l)&&yo(JSON.parse(l),o)}),r==null&&i)for(const l in o)Zt(o,l)&&yi(o[l]);return o}function Vg(e){return e.type}function k0(e,t,n){let s=we(t.messages)?t.messages:Ie();"__i18nGlobal"in n&&(s=Hg(e.locale.value,{messages:s,__i18n:n.__i18nGlobal}));const r=Object.keys(s);r.length&&r.forEach(i=>{e.mergeLocaleMessage(i,s[i])});{if(we(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(we(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function Ad(e){return Re(Fn,null,e,0)}const Pd="__INTLIFY_META__",Id=()=>[],x0=()=>!1;let Rd=0;function Ld(e){return((t,n,s,r)=>e(n,s,Ue()||void 0,r))}const D0=()=>{const e=Ue();let t=null;return e&&(t=Vg(e)[Pd])?{[Pd]:t}:null};function Ug(e={}){const{__root:t,__injectWithOption:n}=e,s=t===void 0,r=e.flatJson,i=Lo?Je:Ee;let o=He(e.inheritLocale)?e.inheritLocale:!0;const l=i(t&&o?t.locale.value:Z(e.locale)?e.locale:ko),a=i(t&&o?t.fallbackLocale.value:Z(e.fallbackLocale)||We(e.fallbackLocale)||_e(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),c=i(Hg(l.value,e)),u=i(_e(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),f=i(_e(e.numberFormats)?e.numberFormats:{[l.value]:{}});let h=t?t.missingWarn:He(e.missingWarn)||Mo(e.missingWarn)?e.missingWarn:!0,d=t?t.fallbackWarn:He(e.fallbackWarn)||Mo(e.fallbackWarn)?e.fallbackWarn:!0,p=t?t.fallbackRoot:He(e.fallbackRoot)?e.fallbackRoot:!0,m=!!e.fallbackFormat,E=$e(e.missing)?e.missing:null,g=$e(e.missing)?Ld(e.missing):null,v=$e(e.postTranslation)?e.postTranslation:null,_=t?t.warnHtmlMessage:He(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter;const S=t?t.modifiers:_e(e.modifiers)?e.modifiers:{};let P=e.pluralRules||t&&t.pluralRules,A;A=(()=>{s&&Lf(null);const L={version:I0,locale:l.value,fallbackLocale:a.value,messages:c.value,modifiers:S,pluralRules:P,missing:g===null?void 0:g,missingWarn:h,fallbackWarn:d,fallbackFormat:m,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:_,escapeParameter:y,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};L.datetimeFormats=u.value,L.numberFormats=f.value,L.__datetimeFormatters=_e(A)?A.__datetimeFormatters:void 0,L.__numberFormatters=_e(A)?A.__numberFormatters:void 0;const D=EE(L);return s&&Lf(D),D})(),kr(A,l.value,a.value);function b(){return[l.value,a.value,c.value,u.value,f.value]}const O=de({get:()=>l.value,set:L=>{A.locale=L,l.value=L}}),k=de({get:()=>a.value,set:L=>{A.fallbackLocale=L,a.value=L,kr(A,l.value,L)}}),R=de(()=>c.value),$=de(()=>u.value),H=de(()=>f.value);function K(){return $e(v)?v:null}function B(L){v=L,A.postTranslation=L}function q(){return E}function X(L){L!==null&&(g=Ld(L)),E=L,A.missing=g}const te=(L,D,Q,ne,pe,me)=>{b();let Be;try{__INTLIFY_PROD_DEVTOOLS__,s||(A.fallbackContext=t?vE():void 0),Be=L(A)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(A.fallbackContext=void 0)}if(Q!=="translate exists"&&ze(Be)&&Be===hl||Q==="translate exists"&&!Be){const[tt,Ut]=D();return t&&p?ne(t):pe(tt)}else{if(me(Be))return Be;throw on(Gt.UNEXPECTED_RETURN_TYPE)}};function Ce(...L){return te(D=>Reflect.apply(Vf,null,[D,...L]),()=>ja(...L),"translate",D=>Reflect.apply(D.t,D,[...L]),D=>D,D=>Z(D))}function Oe(...L){const[D,Q,ne]=L;if(ne&&!we(ne))throw on(Gt.INVALID_ARGUMENT);return Ce(D,Q,nt({resolvedMessage:!0},ne||{}))}function xe(...L){return te(D=>Reflect.apply(kf,null,[D,...L]),()=>Ua(...L),"datetime format",D=>Reflect.apply(D.d,D,[...L]),()=>If,D=>Z(D)||We(D))}function Mt(...L){return te(D=>Reflect.apply(Df,null,[D,...L]),()=>Ba(...L),"number format",D=>Reflect.apply(D.n,D,[...L]),()=>If,D=>Z(D)||We(D))}function et(L){return L.map(D=>Z(D)||ze(D)||He(D)?Ad(String(D)):D)}const ye={normalize:et,interpolate:L=>L,type:"vnode"};function V(...L){return te(D=>{let Q;const ne=D;try{ne.processor=ye,Q=Reflect.apply(Vf,null,[ne,...L])}finally{ne.processor=null}return Q},()=>ja(...L),"translate",D=>D[uc](...L),D=>[Ad(D)],D=>We(D))}function J(...L){return te(D=>Reflect.apply(Df,null,[D,...L]),()=>Ba(...L),"number format",D=>D[dc](...L),Id,D=>Z(D)||We(D))}function z(...L){return te(D=>Reflect.apply(kf,null,[D,...L]),()=>Ua(...L),"datetime format",D=>D[fc](...L),Id,D=>Z(D)||We(D))}function ee(L){P=L,A.pluralRules=P}function he(L,D){return te(()=>{if(!L)return!1;const Q=Z(D)?D:l.value,ne=I(Q),pe=A.messageResolver(ne,L);return gn(pe)||jt(pe)||Z(pe)},()=>[L],"translate exists",Q=>Reflect.apply(Q.te,Q,[L,D]),x0,Q=>He(Q))}function Pe(L){let D=null;const Q=Sp(A,a.value,l.value);for(let ne=0;ne<Q.length;ne++){const pe=c.value[Q[ne]]||{},me=A.messageResolver(pe,L);if(me!=null){D=me;break}}return D}function w(L){const D=Pe(L);return D??(t?t.tm(L)||{}:{})}function I(L){return c.value[L]||{}}function x(L,D){if(r){const Q={[L]:D};for(const ne in Q)Zt(Q,ne)&&yi(Q[ne]);D=Q[L]}c.value[L]=D,A.messages=c.value}function W(L,D){c.value[L]=c.value[L]||{};const Q={[L]:D};if(r)for(const ne in Q)Zt(Q,ne)&&yi(Q[ne]);D=Q[L],yo(D,c.value[L]),A.messages=c.value}function U(L){return u.value[L]||{}}function T(L,D){u.value[L]=D,A.datetimeFormats=u.value,xf(A,L,D)}function C(L,D){u.value[L]=nt(u.value[L]||{},D),A.datetimeFormats=u.value,xf(A,L,D)}function M(L){return f.value[L]||{}}function F(L,D){f.value[L]=D,A.numberFormats=f.value,Ff(A,L,D)}function j(L,D){f.value[L]=nt(f.value[L]||{},D),A.numberFormats=f.value,Ff(A,L,D)}Rd++,t&&Lo&&(ke(t.locale,L=>{o&&(l.value=L,A.locale=L,kr(A,l.value,a.value))}),ke(t.fallbackLocale,L=>{o&&(a.value=L,A.fallbackLocale=L,kr(A,l.value,a.value))}));const G={id:Rd,locale:O,fallbackLocale:k,get inheritLocale(){return o},set inheritLocale(L){o=L,L&&t&&(l.value=t.locale.value,a.value=t.fallbackLocale.value,kr(A,l.value,a.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:R,get modifiers(){return S},get pluralRules(){return P||{}},get isGlobal(){return s},get missingWarn(){return h},set missingWarn(L){h=L,A.missingWarn=h},get fallbackWarn(){return d},set fallbackWarn(L){d=L,A.fallbackWarn=d},get fallbackRoot(){return p},set fallbackRoot(L){p=L},get fallbackFormat(){return m},set fallbackFormat(L){m=L,A.fallbackFormat=m},get warnHtmlMessage(){return _},set warnHtmlMessage(L){_=L,A.warnHtmlMessage=L},get escapeParameter(){return y},set escapeParameter(L){y=L,A.escapeParameter=L},t:Ce,getLocaleMessage:I,setLocaleMessage:x,mergeLocaleMessage:W,getPostTranslationHandler:K,setPostTranslationHandler:B,getMissingHandler:q,setMissingHandler:X,[L0]:ee};return G.datetimeFormats=$,G.numberFormats=H,G.rt=Oe,G.te=he,G.tm=w,G.d=xe,G.n=Mt,G.getDateTimeFormat=U,G.setDateTimeFormat=T,G.mergeDateTimeFormat=C,G.getNumberFormat=M,G.setNumberFormat=F,G.mergeNumberFormat=j,G[M0]=n,G[uc]=V,G[fc]=z,G[dc]=J,G}const Ou={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function F0({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((s,r)=>[...s,...r.type===Ke?r.children:[r]],[]):t.reduce((n,s)=>{const r=e[s];return r&&(n[s]=r()),n},Ie())}function Bg(){return Ke}const $0=Lt({name:"i18n-t",props:nt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ze(e)||!isNaN(e)}},Ou),setup(e,t){const{slots:n,attrs:s}=t,r=e.i18n||Nu({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(f=>f[0]!=="_"),o=Ie();e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=Z(e.plural)?+e.plural:e.plural);const l=F0(t,i),a=r[uc](e.keypath,l,o),c=nt(Ie(),s),u=Z(e.tag)||we(e.tag)?e.tag:Bg();return Ys(u,c,a)}}}),Md=$0;function H0(e){return We(e)&&!Z(e[0])}function jg(e,t,n,s){const{slots:r,attrs:i}=t;return()=>{const o={part:!0};let l=Ie();e.locale&&(o.locale=e.locale),Z(e.format)?o.key=e.format:we(e.format)&&(Z(e.format.key)&&(o.key=e.format.key),l=Object.keys(e.format).reduce((h,d)=>n.includes(d)?nt(Ie(),h,{[d]:e.format[d]}):h,Ie()));const a=s(e.value,o,l);let c=[o.key];We(a)?c=a.map((h,d)=>{const p=r[h.type],m=p?p({[h.type]:h.value,index:d,parts:a}):[h.value];return H0(m)&&(m[0].key=`${h.type}-${d}`),m}):Z(a)&&(c=[a]);const u=nt(Ie(),i),f=Z(e.tag)||we(e.tag)?e.tag:Bg();return Ys(f,u,c)}}const V0=Lt({name:"i18n-n",props:nt({value:{type:Number,required:!0},format:{type:[String,Object]}},Ou),setup(e,t){const n=e.i18n||Nu({useScope:e.scope,__useComponent:!0});return jg(e,t,Pp,(...s)=>n[dc](...s))}}),kd=V0;function U0(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const s=n.__getInstance(t);return s!=null?s.__composer:e.global.__composer}}function B0(e){const t=o=>{const{instance:l,value:a}=o;if(!l||!l.$)throw on(Gt.UNEXPECTED_ERROR);const c=U0(e,l.$),u=xd(a);return[Reflect.apply(c.t,c,[...Dd(u)]),c]};return{created:(o,l)=>{const[a,c]=t(l);Lo&&e.global===c&&(o.__i18nWatcher=ke(c.locale,()=>{l.instance&&l.instance.$forceUpdate()})),o.__composer=c,o.textContent=a},unmounted:o=>{Lo&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:l})=>{if(o.__composer){const a=o.__composer,c=xd(l);o.textContent=Reflect.apply(a.t,a,[...Dd(c)])}},getSSRProps:o=>{const[l]=t(o);return{textContent:l}}}}function xd(e){if(Z(e))return{path:e};if(_e(e)){if(!("path"in e))throw on(Gt.REQUIRED_VALUE,"path");return e}else throw on(Gt.INVALID_VALUE)}function Dd(e){const{path:t,locale:n,args:s,choice:r,plural:i}=e,o={},l=s||{};return Z(n)&&(o.locale=n),ze(r)&&(o.plural=r),ze(i)&&(o.plural=i),[t,l,o]}function j0(e,t,...n){const s=_e(n[0])?n[0]:{};(He(s.globalInstall)?s.globalInstall:!0)&&([Md.name,"I18nT"].forEach(i=>e.component(i,Md)),[kd.name,"I18nN"].forEach(i=>e.component(i,kd)),[$d.name,"I18nD"].forEach(i=>e.component(i,$d))),e.directive("t",B0(t))}const W0=ys("global-vue-i18n");function K0(e={}){const t=He(e.globalInjection)?e.globalInjection:!0,n=new Map,[s,r]=q0(e),i=ys("");function o(u){return n.get(u)||null}function l(u,f){n.set(u,f)}function a(u){n.delete(u)}const c={get mode(){return"composition"},async install(u,...f){if(u.__VUE_I18N_SYMBOL__=i,u.provide(u.__VUE_I18N_SYMBOL__,c),_e(f[0])){const p=f[0];c.__composerExtend=p.__composerExtend,c.__vueI18nExtend=p.__vueI18nExtend}let h=null;t&&(h=ew(u,c.global)),j0(u,c,...f);const d=u.unmount;u.unmount=()=>{h&&h(),c.dispose(),d()}},get global(){return r},dispose(){s.stop()},__instances:n,__getInstance:o,__setInstance:l,__deleteInstance:a};return c}function Nu(e={}){const t=Ue();if(t==null)throw on(Gt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw on(Gt.NOT_INSTALLED);const n=X0(t),s=z0(n),r=Vg(t),i=G0(e,r);if(i==="global")return k0(s,e,r),s;if(i==="parent"){let a=Q0(n,t,e.__useComponent);return a==null&&(a=s),a}const o=n;let l=o.__getInstance(t);if(l==null){const a=nt({},e);"__i18n"in r&&(a.__i18n=r.__i18n),s&&(a.__root=s),l=Ug(a),o.__composerExtend&&(l[hc]=o.__composerExtend(l)),J0(o,t,l),o.__setInstance(t,l)}return l}function q0(e,t){const n=El(),s=n.run(()=>Ug(e));if(s==null)throw on(Gt.UNEXPECTED_ERROR);return[n,s]}function X0(e){const t=_t(e.isCE?W0:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw on(e.isCE?Gt.NOT_INSTALLED_WITH_PROVIDE:Gt.UNEXPECTED_ERROR);return t}function G0(e,t){return fl(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function z0(e){return e.mode==="composition"?e.global:e.global.__composer}function Q0(e,t,n=!1){let s=null;const r=t.root;let i=Y0(t,n);for(;i!=null;){const o=e;if(e.mode==="composition"&&(s=o.__getInstance(i)),s!=null||r===i)break;i=i.parent}return s}function Y0(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function J0(e,t,n){Yn(()=>{},t),Hi(()=>{const s=n;e.__deleteInstance(t);const r=s[hc];r&&(r(),delete s[hc])},t)}const Z0=["locale","fallbackLocale","availableLocales"],Fd=["t","rt","d","n","tm","te"];function ew(e,t){const n=Object.create(null);return Z0.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i)throw on(Gt.UNEXPECTED_ERROR);const o=be(i.value)?{get(){return i.value.value},set(l){i.value.value=l}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,r,o)}),e.config.globalProperties.$i18n=n,Fd.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i||!i.value)throw on(Gt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,i)}),()=>{delete e.config.globalProperties.$i18n,Fd.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}const tw=Lt({name:"i18n-d",props:nt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ou),setup(e,t){const n=e.i18n||Nu({useScope:e.scope,__useComponent:!0});return jg(e,t,Ap,(...s)=>n[fc](...s))}}),$d=tw;R0();pE(zv);mE(fE);gE(Sp);if(__INTLIFY_PROD_DEVTOOLS__){const e=$c();e.__INTLIFY__=!0,Qv(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Qo=K0({locale:"",messages:{}}),Wg=Object.fromEntries(Object.entries(Object.assign({"../../locales/en.yml":()=>Qe(()=>import("./en-DYzJz2c1.js"),[],import.meta.url),"../../locales/zh-CN.yml":()=>Qe(()=>import("./zh-CN-Cbd_t3aN.js"),[],import.meta.url)})).map(([e,t])=>[e.match(/([\w-]*)\.yml$/)?.[1],t])),nw=Object.keys(Wg),Hd=[];function wa(e){return Qo.global.locale.value=e,typeof document<"u"&&document.querySelector("html")?.setAttribute("lang",e),e}async function Kg(e){if(Qo.global.locale.value===e||Hd.includes(e))return wa(e);const t=await Wg[e]();return Qo.global.setLocaleMessage(e,t.default),Hd.push(e),wa(e)}const sw=async({app:e})=>{e.use(Qo),await Kg(window.DEFAULT_LANG)},rw=Object.freeze(Object.defineProperty({__proto__:null,availableLocales:nw,install:sw,loadLanguageAsync:Kg},Symbol.toStringTag,{value:"Module"}));var P1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Au(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function s(){var r=!1;try{r=this instanceof s}catch{}return r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(s){var r=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(n,s,r.get?r:{enumerable:!0,get:function(){return e[s]}})}),n}var To={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
|
38
|
+
*/const I0="11.1.12";function R0(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&($c().__INTLIFY_PROD_DEVTOOLS__=!1)}const Gt={UNEXPECTED_RETURN_TYPE:eE,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function on(e,...t){return dl(e,null,void 0)}const uc=ys("__translateVNode"),fc=ys("__datetimeParts"),dc=ys("__numberParts"),L0=ys("__setPluralRules"),M0=ys("__injectWithOption"),hc=ys("__dispose");function yi(e){if(!we(e)||gn(e))return e;for(const t in e)if(Zt(e,t))if(!t.includes("."))we(e[t])&&yi(e[t]);else{const n=t.split("."),s=n.length-1;let r=e,i=!1;for(let o=0;o<s;o++){if(n[o]==="__proto__")throw new Error(`unsafe key: ${n[o]}`);if(n[o]in r||(r[n[o]]=Ie()),!we(r[n[o]])){i=!0;break}r=r[n[o]]}if(i||(gn(r)?bp.includes(n[s])||delete e[t]:(r[n[s]]=e[t],delete e[t])),!gn(r)){const o=r[n[s]];we(o)&&yi(o)}}return e}function Hg(e,t){const{messages:n,__i18n:s,messageResolver:r,flatJson:i}=t,o=_e(n)?n:We(s)?Ie():{[e]:Ie()};if(We(s)&&s.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:a,resource:c}=l;a?(o[a]=o[a]||Ie(),yo(c,o[a])):yo(c,o)}else Z(l)&&yo(JSON.parse(l),o)}),r==null&&i)for(const l in o)Zt(o,l)&&yi(o[l]);return o}function Vg(e){return e.type}function k0(e,t,n){let s=we(t.messages)?t.messages:Ie();"__i18nGlobal"in n&&(s=Hg(e.locale.value,{messages:s,__i18n:n.__i18nGlobal}));const r=Object.keys(s);r.length&&r.forEach(i=>{e.mergeLocaleMessage(i,s[i])});{if(we(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(we(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function Ad(e){return Re(Fn,null,e,0)}const Pd="__INTLIFY_META__",Id=()=>[],x0=()=>!1;let Rd=0;function Ld(e){return((t,n,s,r)=>e(n,s,Ue()||void 0,r))}const D0=()=>{const e=Ue();let t=null;return e&&(t=Vg(e)[Pd])?{[Pd]:t}:null};function Ug(e={}){const{__root:t,__injectWithOption:n}=e,s=t===void 0,r=e.flatJson,i=Lo?Je:Ee;let o=He(e.inheritLocale)?e.inheritLocale:!0;const l=i(t&&o?t.locale.value:Z(e.locale)?e.locale:ko),a=i(t&&o?t.fallbackLocale.value:Z(e.fallbackLocale)||We(e.fallbackLocale)||_e(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),c=i(Hg(l.value,e)),u=i(_e(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),f=i(_e(e.numberFormats)?e.numberFormats:{[l.value]:{}});let h=t?t.missingWarn:He(e.missingWarn)||Mo(e.missingWarn)?e.missingWarn:!0,d=t?t.fallbackWarn:He(e.fallbackWarn)||Mo(e.fallbackWarn)?e.fallbackWarn:!0,p=t?t.fallbackRoot:He(e.fallbackRoot)?e.fallbackRoot:!0,m=!!e.fallbackFormat,E=$e(e.missing)?e.missing:null,g=$e(e.missing)?Ld(e.missing):null,v=$e(e.postTranslation)?e.postTranslation:null,_=t?t.warnHtmlMessage:He(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter;const S=t?t.modifiers:_e(e.modifiers)?e.modifiers:{};let P=e.pluralRules||t&&t.pluralRules,A;A=(()=>{s&&Lf(null);const L={version:I0,locale:l.value,fallbackLocale:a.value,messages:c.value,modifiers:S,pluralRules:P,missing:g===null?void 0:g,missingWarn:h,fallbackWarn:d,fallbackFormat:m,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:_,escapeParameter:y,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};L.datetimeFormats=u.value,L.numberFormats=f.value,L.__datetimeFormatters=_e(A)?A.__datetimeFormatters:void 0,L.__numberFormatters=_e(A)?A.__numberFormatters:void 0;const D=EE(L);return s&&Lf(D),D})(),kr(A,l.value,a.value);function b(){return[l.value,a.value,c.value,u.value,f.value]}const O=de({get:()=>l.value,set:L=>{A.locale=L,l.value=L}}),k=de({get:()=>a.value,set:L=>{A.fallbackLocale=L,a.value=L,kr(A,l.value,L)}}),R=de(()=>c.value),$=de(()=>u.value),H=de(()=>f.value);function K(){return $e(v)?v:null}function B(L){v=L,A.postTranslation=L}function q(){return E}function X(L){L!==null&&(g=Ld(L)),E=L,A.missing=g}const te=(L,D,Q,ne,pe,me)=>{b();let Be;try{__INTLIFY_PROD_DEVTOOLS__,s||(A.fallbackContext=t?vE():void 0),Be=L(A)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(A.fallbackContext=void 0)}if(Q!=="translate exists"&&ze(Be)&&Be===hl||Q==="translate exists"&&!Be){const[tt,Ut]=D();return t&&p?ne(t):pe(tt)}else{if(me(Be))return Be;throw on(Gt.UNEXPECTED_RETURN_TYPE)}};function Ce(...L){return te(D=>Reflect.apply(Vf,null,[D,...L]),()=>ja(...L),"translate",D=>Reflect.apply(D.t,D,[...L]),D=>D,D=>Z(D))}function Oe(...L){const[D,Q,ne]=L;if(ne&&!we(ne))throw on(Gt.INVALID_ARGUMENT);return Ce(D,Q,nt({resolvedMessage:!0},ne||{}))}function xe(...L){return te(D=>Reflect.apply(kf,null,[D,...L]),()=>Ua(...L),"datetime format",D=>Reflect.apply(D.d,D,[...L]),()=>If,D=>Z(D)||We(D))}function Mt(...L){return te(D=>Reflect.apply(Df,null,[D,...L]),()=>Ba(...L),"number format",D=>Reflect.apply(D.n,D,[...L]),()=>If,D=>Z(D)||We(D))}function et(L){return L.map(D=>Z(D)||ze(D)||He(D)?Ad(String(D)):D)}const ye={normalize:et,interpolate:L=>L,type:"vnode"};function V(...L){return te(D=>{let Q;const ne=D;try{ne.processor=ye,Q=Reflect.apply(Vf,null,[ne,...L])}finally{ne.processor=null}return Q},()=>ja(...L),"translate",D=>D[uc](...L),D=>[Ad(D)],D=>We(D))}function J(...L){return te(D=>Reflect.apply(Df,null,[D,...L]),()=>Ba(...L),"number format",D=>D[dc](...L),Id,D=>Z(D)||We(D))}function z(...L){return te(D=>Reflect.apply(kf,null,[D,...L]),()=>Ua(...L),"datetime format",D=>D[fc](...L),Id,D=>Z(D)||We(D))}function ee(L){P=L,A.pluralRules=P}function he(L,D){return te(()=>{if(!L)return!1;const Q=Z(D)?D:l.value,ne=I(Q),pe=A.messageResolver(ne,L);return gn(pe)||jt(pe)||Z(pe)},()=>[L],"translate exists",Q=>Reflect.apply(Q.te,Q,[L,D]),x0,Q=>He(Q))}function Pe(L){let D=null;const Q=Sp(A,a.value,l.value);for(let ne=0;ne<Q.length;ne++){const pe=c.value[Q[ne]]||{},me=A.messageResolver(pe,L);if(me!=null){D=me;break}}return D}function w(L){const D=Pe(L);return D??(t?t.tm(L)||{}:{})}function I(L){return c.value[L]||{}}function x(L,D){if(r){const Q={[L]:D};for(const ne in Q)Zt(Q,ne)&&yi(Q[ne]);D=Q[L]}c.value[L]=D,A.messages=c.value}function W(L,D){c.value[L]=c.value[L]||{};const Q={[L]:D};if(r)for(const ne in Q)Zt(Q,ne)&&yi(Q[ne]);D=Q[L],yo(D,c.value[L]),A.messages=c.value}function U(L){return u.value[L]||{}}function T(L,D){u.value[L]=D,A.datetimeFormats=u.value,xf(A,L,D)}function C(L,D){u.value[L]=nt(u.value[L]||{},D),A.datetimeFormats=u.value,xf(A,L,D)}function M(L){return f.value[L]||{}}function F(L,D){f.value[L]=D,A.numberFormats=f.value,Ff(A,L,D)}function j(L,D){f.value[L]=nt(f.value[L]||{},D),A.numberFormats=f.value,Ff(A,L,D)}Rd++,t&&Lo&&(ke(t.locale,L=>{o&&(l.value=L,A.locale=L,kr(A,l.value,a.value))}),ke(t.fallbackLocale,L=>{o&&(a.value=L,A.fallbackLocale=L,kr(A,l.value,a.value))}));const G={id:Rd,locale:O,fallbackLocale:k,get inheritLocale(){return o},set inheritLocale(L){o=L,L&&t&&(l.value=t.locale.value,a.value=t.fallbackLocale.value,kr(A,l.value,a.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:R,get modifiers(){return S},get pluralRules(){return P||{}},get isGlobal(){return s},get missingWarn(){return h},set missingWarn(L){h=L,A.missingWarn=h},get fallbackWarn(){return d},set fallbackWarn(L){d=L,A.fallbackWarn=d},get fallbackRoot(){return p},set fallbackRoot(L){p=L},get fallbackFormat(){return m},set fallbackFormat(L){m=L,A.fallbackFormat=m},get warnHtmlMessage(){return _},set warnHtmlMessage(L){_=L,A.warnHtmlMessage=L},get escapeParameter(){return y},set escapeParameter(L){y=L,A.escapeParameter=L},t:Ce,getLocaleMessage:I,setLocaleMessage:x,mergeLocaleMessage:W,getPostTranslationHandler:K,setPostTranslationHandler:B,getMissingHandler:q,setMissingHandler:X,[L0]:ee};return G.datetimeFormats=$,G.numberFormats=H,G.rt=Oe,G.te=he,G.tm=w,G.d=xe,G.n=Mt,G.getDateTimeFormat=U,G.setDateTimeFormat=T,G.mergeDateTimeFormat=C,G.getNumberFormat=M,G.setNumberFormat=F,G.mergeNumberFormat=j,G[M0]=n,G[uc]=V,G[fc]=z,G[dc]=J,G}const Ou={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function F0({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((s,r)=>[...s,...r.type===Ke?r.children:[r]],[]):t.reduce((n,s)=>{const r=e[s];return r&&(n[s]=r()),n},Ie())}function Bg(){return Ke}const $0=Lt({name:"i18n-t",props:nt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ze(e)||!isNaN(e)}},Ou),setup(e,t){const{slots:n,attrs:s}=t,r=e.i18n||Nu({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(f=>f[0]!=="_"),o=Ie();e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=Z(e.plural)?+e.plural:e.plural);const l=F0(t,i),a=r[uc](e.keypath,l,o),c=nt(Ie(),s),u=Z(e.tag)||we(e.tag)?e.tag:Bg();return Ys(u,c,a)}}}),Md=$0;function H0(e){return We(e)&&!Z(e[0])}function jg(e,t,n,s){const{slots:r,attrs:i}=t;return()=>{const o={part:!0};let l=Ie();e.locale&&(o.locale=e.locale),Z(e.format)?o.key=e.format:we(e.format)&&(Z(e.format.key)&&(o.key=e.format.key),l=Object.keys(e.format).reduce((h,d)=>n.includes(d)?nt(Ie(),h,{[d]:e.format[d]}):h,Ie()));const a=s(e.value,o,l);let c=[o.key];We(a)?c=a.map((h,d)=>{const p=r[h.type],m=p?p({[h.type]:h.value,index:d,parts:a}):[h.value];return H0(m)&&(m[0].key=`${h.type}-${d}`),m}):Z(a)&&(c=[a]);const u=nt(Ie(),i),f=Z(e.tag)||we(e.tag)?e.tag:Bg();return Ys(f,u,c)}}const V0=Lt({name:"i18n-n",props:nt({value:{type:Number,required:!0},format:{type:[String,Object]}},Ou),setup(e,t){const n=e.i18n||Nu({useScope:e.scope,__useComponent:!0});return jg(e,t,Pp,(...s)=>n[dc](...s))}}),kd=V0;function U0(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const s=n.__getInstance(t);return s!=null?s.__composer:e.global.__composer}}function B0(e){const t=o=>{const{instance:l,value:a}=o;if(!l||!l.$)throw on(Gt.UNEXPECTED_ERROR);const c=U0(e,l.$),u=xd(a);return[Reflect.apply(c.t,c,[...Dd(u)]),c]};return{created:(o,l)=>{const[a,c]=t(l);Lo&&e.global===c&&(o.__i18nWatcher=ke(c.locale,()=>{l.instance&&l.instance.$forceUpdate()})),o.__composer=c,o.textContent=a},unmounted:o=>{Lo&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:l})=>{if(o.__composer){const a=o.__composer,c=xd(l);o.textContent=Reflect.apply(a.t,a,[...Dd(c)])}},getSSRProps:o=>{const[l]=t(o);return{textContent:l}}}}function xd(e){if(Z(e))return{path:e};if(_e(e)){if(!("path"in e))throw on(Gt.REQUIRED_VALUE,"path");return e}else throw on(Gt.INVALID_VALUE)}function Dd(e){const{path:t,locale:n,args:s,choice:r,plural:i}=e,o={},l=s||{};return Z(n)&&(o.locale=n),ze(r)&&(o.plural=r),ze(i)&&(o.plural=i),[t,l,o]}function j0(e,t,...n){const s=_e(n[0])?n[0]:{};(He(s.globalInstall)?s.globalInstall:!0)&&([Md.name,"I18nT"].forEach(i=>e.component(i,Md)),[kd.name,"I18nN"].forEach(i=>e.component(i,kd)),[$d.name,"I18nD"].forEach(i=>e.component(i,$d))),e.directive("t",B0(t))}const W0=ys("global-vue-i18n");function K0(e={}){const t=He(e.globalInjection)?e.globalInjection:!0,n=new Map,[s,r]=q0(e),i=ys("");function o(u){return n.get(u)||null}function l(u,f){n.set(u,f)}function a(u){n.delete(u)}const c={get mode(){return"composition"},async install(u,...f){if(u.__VUE_I18N_SYMBOL__=i,u.provide(u.__VUE_I18N_SYMBOL__,c),_e(f[0])){const p=f[0];c.__composerExtend=p.__composerExtend,c.__vueI18nExtend=p.__vueI18nExtend}let h=null;t&&(h=ew(u,c.global)),j0(u,c,...f);const d=u.unmount;u.unmount=()=>{h&&h(),c.dispose(),d()}},get global(){return r},dispose(){s.stop()},__instances:n,__getInstance:o,__setInstance:l,__deleteInstance:a};return c}function Nu(e={}){const t=Ue();if(t==null)throw on(Gt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw on(Gt.NOT_INSTALLED);const n=X0(t),s=z0(n),r=Vg(t),i=G0(e,r);if(i==="global")return k0(s,e,r),s;if(i==="parent"){let a=Q0(n,t,e.__useComponent);return a==null&&(a=s),a}const o=n;let l=o.__getInstance(t);if(l==null){const a=nt({},e);"__i18n"in r&&(a.__i18n=r.__i18n),s&&(a.__root=s),l=Ug(a),o.__composerExtend&&(l[hc]=o.__composerExtend(l)),J0(o,t,l),o.__setInstance(t,l)}return l}function q0(e,t){const n=El(),s=n.run(()=>Ug(e));if(s==null)throw on(Gt.UNEXPECTED_ERROR);return[n,s]}function X0(e){const t=_t(e.isCE?W0:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw on(e.isCE?Gt.NOT_INSTALLED_WITH_PROVIDE:Gt.UNEXPECTED_ERROR);return t}function G0(e,t){return fl(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function z0(e){return e.mode==="composition"?e.global:e.global.__composer}function Q0(e,t,n=!1){let s=null;const r=t.root;let i=Y0(t,n);for(;i!=null;){const o=e;if(e.mode==="composition"&&(s=o.__getInstance(i)),s!=null||r===i)break;i=i.parent}return s}function Y0(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function J0(e,t,n){Yn(()=>{},t),Hi(()=>{const s=n;e.__deleteInstance(t);const r=s[hc];r&&(r(),delete s[hc])},t)}const Z0=["locale","fallbackLocale","availableLocales"],Fd=["t","rt","d","n","tm","te"];function ew(e,t){const n=Object.create(null);return Z0.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i)throw on(Gt.UNEXPECTED_ERROR);const o=be(i.value)?{get(){return i.value.value},set(l){i.value.value=l}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,r,o)}),e.config.globalProperties.$i18n=n,Fd.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i||!i.value)throw on(Gt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,i)}),()=>{delete e.config.globalProperties.$i18n,Fd.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}const tw=Lt({name:"i18n-d",props:nt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ou),setup(e,t){const n=e.i18n||Nu({useScope:e.scope,__useComponent:!0});return jg(e,t,Ap,(...s)=>n[fc](...s))}}),$d=tw;R0();pE(zv);mE(fE);gE(Sp);if(__INTLIFY_PROD_DEVTOOLS__){const e=$c();e.__INTLIFY__=!0,Qv(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Qo=K0({locale:"",messages:{}}),Wg=Object.fromEntries(Object.entries(Object.assign({"../../locales/en.yml":()=>Qe(()=>import("./en-Bc_VXYkH.js"),[],import.meta.url),"../../locales/zh-CN.yml":()=>Qe(()=>import("./zh-CN-DJPqkv-M.js"),[],import.meta.url)})).map(([e,t])=>[e.match(/([\w-]*)\.yml$/)?.[1],t])),nw=Object.keys(Wg),Hd=[];function wa(e){return Qo.global.locale.value=e,typeof document<"u"&&document.querySelector("html")?.setAttribute("lang",e),e}async function Kg(e){if(Qo.global.locale.value===e||Hd.includes(e))return wa(e);const t=await Wg[e]();return Qo.global.setLocaleMessage(e,t.default),Hd.push(e),wa(e)}const sw=async({app:e})=>{e.use(Qo),await Kg(window.DEFAULT_LANG)},rw=Object.freeze(Object.defineProperty({__proto__:null,availableLocales:nw,install:sw,loadLanguageAsync:Kg},Symbol.toStringTag,{value:"Module"}));var P1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Au(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function s(){var r=!1;try{r=this instanceof s}catch{}return r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(s){var r=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(n,s,r.get?r:{enumerable:!0,get:function(){return e[s]}})}),n}var To={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
|
39
39
|
* @license MIT */var iw=To.exports,Vd;function ow(){return Vd||(Vd=1,(function(e,t){(function(n,s){e.exports=s()})(iw,function(){var n={};n.version="0.2.0";var s=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};n.configure=function(p){var m,E;for(m in p)E=p[m],E!==void 0&&p.hasOwnProperty(m)&&(s[m]=E);return this},n.status=null,n.set=function(p){var m=n.isStarted();p=r(p,s.minimum,1),n.status=p===1?null:p;var E=n.render(!m),g=E.querySelector(s.barSelector),v=s.speed,_=s.easing;return E.offsetWidth,l(function(y){s.positionUsing===""&&(s.positionUsing=n.getPositioningCSS()),a(g,o(p,v,_)),p===1?(a(E,{transition:"none",opacity:1}),E.offsetWidth,setTimeout(function(){a(E,{transition:"all "+v+"ms linear",opacity:0}),setTimeout(function(){n.remove(),y()},v)},v)):setTimeout(y,v)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var p=function(){setTimeout(function(){n.status&&(n.trickle(),p())},s.trickleSpeed)};return s.trickle&&p(),this},n.done=function(p){return!p&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(p){var m=n.status;return m?(typeof p!="number"&&(p=(1-m)*r(Math.random()*m,.1,.95)),m=r(m+p,0,.994),n.set(m)):n.start()},n.trickle=function(){return n.inc(Math.random()*s.trickleRate)},(function(){var p=0,m=0;n.promise=function(E){return!E||E.state()==="resolved"?this:(m===0&&n.start(),p++,m++,E.always(function(){m--,m===0?(p=0,n.done()):n.set((p-m)/p)}),this)}})(),n.render=function(p){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var m=document.createElement("div");m.id="nprogress",m.innerHTML=s.template;var E=m.querySelector(s.barSelector),g=p?"-100":i(n.status||0),v=document.querySelector(s.parent),_;return a(E,{transition:"all 0 linear",transform:"translate3d("+g+"%,0,0)"}),s.showSpinner||(_=m.querySelector(s.spinnerSelector),_&&d(_)),v!=document.body&&u(v,"nprogress-custom-parent"),v.appendChild(m),m},n.remove=function(){f(document.documentElement,"nprogress-busy"),f(document.querySelector(s.parent),"nprogress-custom-parent");var p=document.getElementById("nprogress");p&&d(p)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var p=document.body.style,m="WebkitTransform"in p?"Webkit":"MozTransform"in p?"Moz":"msTransform"in p?"ms":"OTransform"in p?"O":"";return m+"Perspective"in p?"translate3d":m+"Transform"in p?"translate":"margin"};function r(p,m,E){return p<m?m:p>E?E:p}function i(p){return(-1+p)*100}function o(p,m,E){var g;return s.positionUsing==="translate3d"?g={transform:"translate3d("+i(p)+"%,0,0)"}:s.positionUsing==="translate"?g={transform:"translate("+i(p)+"%,0)"}:g={"margin-left":i(p)+"%"},g.transition="all "+m+"ms "+E,g}var l=(function(){var p=[];function m(){var E=p.shift();E&&E(m)}return function(E){p.push(E),p.length==1&&m()}})(),a=(function(){var p=["Webkit","O","Moz","ms"],m={};function E(y){return y.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(S,P){return P.toUpperCase()})}function g(y){var S=document.body.style;if(y in S)return y;for(var P=p.length,A=y.charAt(0).toUpperCase()+y.slice(1),N;P--;)if(N=p[P]+A,N in S)return N;return y}function v(y){return y=E(y),m[y]||(m[y]=g(y))}function _(y,S,P){S=v(S),y.style[S]=P}return function(y,S){var P=arguments,A,N;if(P.length==2)for(A in S)N=S[A],N!==void 0&&S.hasOwnProperty(A)&&_(y,A,N);else _(y,P[1],P[2])}})();function c(p,m){var E=typeof p=="string"?p:h(p);return E.indexOf(" "+m+" ")>=0}function u(p,m){var E=h(p),g=E+m;c(E,m)||(p.className=g.substring(1))}function f(p,m){var E=h(p),g;c(p,m)&&(g=E.replace(" "+m+" "," "),p.className=g.substring(1,g.length-1))}function h(p){return(" "+(p.className||"")+" ").replace(/\s+/gi," ")}function d(p){p&&p.parentNode&&p.parentNode.removeChild(p)}return n})})(To)),To.exports}var lw=ow();const Ud=qg(lw),aw=({isClient:e,router:t})=>{e&&(t.beforeEach((n,s)=>{n.path!==s.path&&Ud.start()}),t.afterEach(()=>{Ud.done()}))},cw=Object.freeze(Object.defineProperty({__proto__:null,install:aw},Symbol.toStringTag,{value:"Module"}));function pc(e,t={},n){for(const s in e){const r=e[s],i=n?`${n}:${s}`:s;typeof r=="object"&&r!==null?pc(r,t,i):typeof r=="function"&&(t[i]=r)}return t}const uw={run:e=>e()},fw=()=>uw,Xg=typeof console.createTask<"u"?console.createTask:fw;function dw(e,t){const n=t.shift(),s=Xg(n);return e.reduce((r,i)=>r.then(()=>s.run(()=>i(...t))),Promise.resolve())}function hw(e,t){const n=t.shift(),s=Xg(n);return Promise.all(e.map(r=>s.run(()=>r(...t))))}function Ca(e,t){for(const n of[...e])n(t)}class pw{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,s={}){if(!t||typeof n!="function")return()=>{};const r=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!s.allowDeprecated){let o=i.message;o||(o=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let s,r=(...i)=>(typeof s=="function"&&s(),s=void 0,r=void 0,n(...i));return s=this.hook(t,r),s}removeHook(t,n){if(this._hooks[t]){const s=this._hooks[t].indexOf(n);s!==-1&&this._hooks[t].splice(s,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const s=this._hooks[t]||[];delete this._hooks[t];for(const r of s)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=pc(t),s=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of s.splice(0,s.length))r()}}removeHooks(t){const n=pc(t);for(const s in n)this.removeHook(s,n[s])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(dw,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(hw,t,...n)}callHookWith(t,n,...s){const r=this._before||this._after?{name:n,args:s,context:{}}:void 0;this._before&&Ca(this._before,r);const i=t(n in this._hooks?[...this._hooks[n]]:[],s);return i instanceof Promise?i.finally(()=>{this._after&&r&&Ca(this._after,r)}):(this._after&&r&&Ca(this._after,r),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function mw(){return new pw}/*!
|
|
40
40
|
* pinia v3.0.3
|
|
41
41
|
* (c) 2025 Eduardo San Martin Morote
|
|
42
42
|
* @license MIT
|
|
43
|
-
*/let Gg;const Dl=e=>Gg=e,zg=Symbol();function mc(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var zr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(zr||(zr={}));function gw(){const e=El(!0),t=e.run(()=>Je({}));let n=[],s=[];const r=Nl({install(i){Dl(r),r._a=i,i.provide(zg,r),i.config.globalProperties.$pinia=r,s.forEach(o=>n.push(o)),s=[]},use(i){return this._a?n.push(i):s.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const Qg=()=>{};function Bd(e,t,n,s=Qg){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),s())};return!n&&bl()&&Jc(r),r}function tr(e,...t){e.slice().forEach(n=>{n(...t)})}const _w=e=>e(),jd=Symbol(),Oa=Symbol();function gc(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];mc(r)&&mc(s)&&e.hasOwnProperty(n)&&!be(s)&&!_n(s)?e[n]=gc(r,s):e[n]=s}return e}const yw=Symbol();function vw(e){return!mc(e)||!Object.prototype.hasOwnProperty.call(e,yw)}const{assign:ns}=Object;function Ew(e){return!!(be(e)&&e.effect)}function bw(e,t,n,s){const{state:r,actions:i,getters:o}=t,l=n.state.value[e];let a;function c(){l||(n.state.value[e]=r?r():{});const u=am(n.state.value[e]);return ns(u,i,Object.keys(o||{}).reduce((f,h)=>(f[h]=Nl(de(()=>{Dl(n);const d=n._s.get(e);return o[h].call(d,d)})),f),{}))}return a=Yg(e,c,t,n,s,!0),a}function Yg(e,t,n={},s,r,i){let o;const l=ns({actions:{}},n),a={deep:!0};let c,u,f=[],h=[],d;const p=s.state.value[e];!i&&!p&&(s.state.value[e]={}),Je({});let m;function E(N){let b;c=u=!1,typeof N=="function"?(N(s.state.value[e]),b={type:zr.patchFunction,storeId:e,events:d}):(gc(s.state.value[e],N),b={type:zr.patchObject,payload:N,storeId:e,events:d});const O=m=Symbol();Vt().then(()=>{m===O&&(c=!0)}),u=!0,tr(f,b,s.state.value[e])}const g=i?function(){const{state:b}=n,O=b?b():{};this.$patch(k=>{ns(k,O)})}:Qg;function v(){o.stop(),f=[],h=[],s._s.delete(e)}const _=(N,b="")=>{if(jd in N)return N[Oa]=b,N;const O=function(){Dl(s);const k=Array.from(arguments),R=[],$=[];function H(q){R.push(q)}function K(q){$.push(q)}tr(h,{args:k,name:O[Oa],store:S,after:H,onError:K});let B;try{B=N.apply(this&&this.$id===e?this:S,k)}catch(q){throw tr($,q),q}return B instanceof Promise?B.then(q=>(tr(R,q),q)).catch(q=>(tr($,q),Promise.reject(q))):(tr(R,B),B)};return O[jd]=!0,O[Oa]=b,O},y={_p:s,$id:e,$onAction:Bd.bind(null,h),$patch:E,$reset:g,$subscribe(N,b={}){const O=Bd(f,N,b.detached,()=>k()),k=o.run(()=>ke(()=>s.state.value[e],R=>{(b.flush==="sync"?u:c)&&N({storeId:e,type:zr.direct,events:d},R)},ns({},a,b)));return O},$dispose:v},S=En(y);s._s.set(e,S);const A=(s._a&&s._a.runWithContext||_w)(()=>s._e.run(()=>(o=El()).run(()=>t({action:_}))));for(const N in A){const b=A[N];if(be(b)&&!Ew(b)||_n(b))i||(p&&vw(b)&&(be(b)?b.value=p[N]:gc(b,p[N])),s.state.value[e][N]=b);else if(typeof b=="function"){const O=_(b,N);A[N]=O,l.actions[N]=b}}return ns(S,A),ns(fe(S),A),Object.defineProperty(S,"$state",{get:()=>s.state.value[e],set:N=>{E(b=>{ns(b,N)})}}),s._p.forEach(N=>{ns(S,o.run(()=>N({store:S,app:s._a,pinia:s,options:l})))}),p&&i&&n.hydrate&&n.hydrate(S.$state,p),c=!0,u=!0,S}/*! #__NO_SIDE_EFFECTS__ */function I1(e,t,n){let s;const r=typeof t=="function";s=r?n:t;function i(o,l){const a=Vi();return o=o||(a?_t(zg,null):null),o&&Dl(o),o=Gg,o._s.has(e)||(r?Yg(e,t,s,o):bw(e,s,o)),o._s.get(e)}return i.$id=e,i}const Sw=({isClient:e,initialState:t,app:n})=>{const s=gw();n.use(s),e?s.state.value=t.pinia||{}:t.pinia=s.state.value},Tw=Object.freeze(Object.defineProperty({__proto__:null,install:Sw},Symbol.toStringTag,{value:"Module"})),ww=({isClient:e,router:t})=>{e&&t.isReady().then(async()=>{const{registerSW:n}=await Qe(async()=>{const{registerSW:s}=await import("./virtual_pwa-register-
|
|
43
|
+
*/let Gg;const Dl=e=>Gg=e,zg=Symbol();function mc(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var zr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(zr||(zr={}));function gw(){const e=El(!0),t=e.run(()=>Je({}));let n=[],s=[];const r=Nl({install(i){Dl(r),r._a=i,i.provide(zg,r),i.config.globalProperties.$pinia=r,s.forEach(o=>n.push(o)),s=[]},use(i){return this._a?n.push(i):s.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const Qg=()=>{};function Bd(e,t,n,s=Qg){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),s())};return!n&&bl()&&Jc(r),r}function tr(e,...t){e.slice().forEach(n=>{n(...t)})}const _w=e=>e(),jd=Symbol(),Oa=Symbol();function gc(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];mc(r)&&mc(s)&&e.hasOwnProperty(n)&&!be(s)&&!_n(s)?e[n]=gc(r,s):e[n]=s}return e}const yw=Symbol();function vw(e){return!mc(e)||!Object.prototype.hasOwnProperty.call(e,yw)}const{assign:ns}=Object;function Ew(e){return!!(be(e)&&e.effect)}function bw(e,t,n,s){const{state:r,actions:i,getters:o}=t,l=n.state.value[e];let a;function c(){l||(n.state.value[e]=r?r():{});const u=am(n.state.value[e]);return ns(u,i,Object.keys(o||{}).reduce((f,h)=>(f[h]=Nl(de(()=>{Dl(n);const d=n._s.get(e);return o[h].call(d,d)})),f),{}))}return a=Yg(e,c,t,n,s,!0),a}function Yg(e,t,n={},s,r,i){let o;const l=ns({actions:{}},n),a={deep:!0};let c,u,f=[],h=[],d;const p=s.state.value[e];!i&&!p&&(s.state.value[e]={}),Je({});let m;function E(N){let b;c=u=!1,typeof N=="function"?(N(s.state.value[e]),b={type:zr.patchFunction,storeId:e,events:d}):(gc(s.state.value[e],N),b={type:zr.patchObject,payload:N,storeId:e,events:d});const O=m=Symbol();Vt().then(()=>{m===O&&(c=!0)}),u=!0,tr(f,b,s.state.value[e])}const g=i?function(){const{state:b}=n,O=b?b():{};this.$patch(k=>{ns(k,O)})}:Qg;function v(){o.stop(),f=[],h=[],s._s.delete(e)}const _=(N,b="")=>{if(jd in N)return N[Oa]=b,N;const O=function(){Dl(s);const k=Array.from(arguments),R=[],$=[];function H(q){R.push(q)}function K(q){$.push(q)}tr(h,{args:k,name:O[Oa],store:S,after:H,onError:K});let B;try{B=N.apply(this&&this.$id===e?this:S,k)}catch(q){throw tr($,q),q}return B instanceof Promise?B.then(q=>(tr(R,q),q)).catch(q=>(tr($,q),Promise.reject(q))):(tr(R,B),B)};return O[jd]=!0,O[Oa]=b,O},y={_p:s,$id:e,$onAction:Bd.bind(null,h),$patch:E,$reset:g,$subscribe(N,b={}){const O=Bd(f,N,b.detached,()=>k()),k=o.run(()=>ke(()=>s.state.value[e],R=>{(b.flush==="sync"?u:c)&&N({storeId:e,type:zr.direct,events:d},R)},ns({},a,b)));return O},$dispose:v},S=En(y);s._s.set(e,S);const A=(s._a&&s._a.runWithContext||_w)(()=>s._e.run(()=>(o=El()).run(()=>t({action:_}))));for(const N in A){const b=A[N];if(be(b)&&!Ew(b)||_n(b))i||(p&&vw(b)&&(be(b)?b.value=p[N]:gc(b,p[N])),s.state.value[e][N]=b);else if(typeof b=="function"){const O=_(b,N);A[N]=O,l.actions[N]=b}}return ns(S,A),ns(fe(S),A),Object.defineProperty(S,"$state",{get:()=>s.state.value[e],set:N=>{E(b=>{ns(b,N)})}}),s._p.forEach(N=>{ns(S,o.run(()=>N({store:S,app:s._a,pinia:s,options:l})))}),p&&i&&n.hydrate&&n.hydrate(S.$state,p),c=!0,u=!0,S}/*! #__NO_SIDE_EFFECTS__ */function I1(e,t,n){let s;const r=typeof t=="function";s=r?n:t;function i(o,l){const a=Vi();return o=o||(a?_t(zg,null):null),o&&Dl(o),o=Gg,o._s.has(e)||(r?Yg(e,t,s,o):bw(e,s,o)),o._s.get(e)}return i.$id=e,i}const Sw=({isClient:e,initialState:t,app:n})=>{const s=gw();n.use(s),e?s.state.value=t.pinia||{}:t.pinia=s.state.value},Tw=Object.freeze(Object.defineProperty({__proto__:null,install:Sw},Symbol.toStringTag,{value:"Module"})),ww=({isClient:e,router:t})=>{e&&t.isReady().then(async()=>{const{registerSW:n}=await Qe(async()=>{const{registerSW:s}=await import("./virtual_pwa-register-CeNObX1m.js");return{registerSW:s}},[],import.meta.url);n({immediate:!0})}).catch(()=>{})},Cw=Object.freeze(Object.defineProperty({__proto__:null,install:ww},Symbol.toStringTag,{value:"Module"}));var wo={exports:{}},Na={exports:{}},Aa={};/**
|
|
44
44
|
* @vue/compiler-core v3.5.22
|
|
45
45
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
46
46
|
* @license MIT
|
|
@@ -60,8 +60,8 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
60
60
|
* vue v3.5.22
|
|
61
61
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
62
62
|
* @license MIT
|
|
63
|
-
**/var lh;function bO(){return lh||(lh=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=yO,n=vO,s=EO;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])})})(Aa)),Aa}var ah;function SO(){return ah||(ah=1,Na.exports=bO()),Na.exports}var TO=wo.exports,ch;function wO(){return ch||(ch=1,(function(e,t){(function(s,r){e.exports=r(SO())})(TO,n=>(()=>{var s={113:((N,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.default=(O,k)=>{const R=O.__vccOpts||O;for(const[$,H]of k)R[$]=H;return R}}),594:(N=>{N.exports=n})},r={};function i(N){var b=r[N];if(b!==void 0)return b.exports;var O=r[N]={exports:{}};return s[N](O,O.exports,i),O.exports}i.d=(N,b)=>{for(var O in b)i.o(b,O)&&!i.o(N,O)&&Object.defineProperty(N,O,{enumerable:!0,get:b[O]})},i.o=(N,b)=>Object.prototype.hasOwnProperty.call(N,b),i.r=N=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(N,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(N,"__esModule",{value:!0})};var o={};i.r(o),i.d(o,{ToastComponent:()=>y,ToastPlugin:()=>P,ToastPositions:()=>d,default:()=>A,useToast:()=>S});var l=i(594);const a=["innerHTML"];function c(N,b,O,k,R,$){return(0,l.openBlock)(),(0,l.createBlock)(l.Transition,{"enter-active-class":N.transition.enter,"leave-active-class":N.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--${N.type}`,`v-toast__item--${N.position}`]]),onMouseover:b[0]||(b[0]=H=>N.toggleTimer(!0)),onMouseleave:b[1]||(b[1]=H=>N.toggleTimer(!1)),onClick:b[2]||(b[2]=function(){return N.whenClicked&&N.whenClicked(...arguments)})},[b[3]||(b[3]=(0,l.createElementVNode)("div",{class:"v-toast__icon"},null,-1)),(0,l.createElementVNode)("p",{class:"v-toast__text",innerHTML:N.message},null,8,a)],34),[[l.vShow,N.isActive]])]),_:1},8,["enter-active-class","leave-active-class"])}function u(N){typeof N.remove<"u"?N.remove():N.parentNode?.removeChild(N)}function f(N,b,O){let k=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const R=(0,l.h)(N,b,k),$=document.createElement("div");return $.classList.add("v-toast--pending"),O.appendChild($),(0,l.render)(R,$),R.component}class h{constructor(b,O){this.startedAt=Date.now(),this.callback=b,this.delay=O,this.timer=setTimeout(b,O)}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(N){return{all:N=N||new Map,on:function(b,O){var k=N.get(b);k?k.push(O):N.set(b,[O])},off:function(b,O){var k=N.get(b);k&&(O?k.splice(k.indexOf(O)>>>0,1):N.set(b,[]))},emit:function(b,O){var k=N.get(b);k&&k.slice().map(function(R){R(O)}),(k=N.get("*"))&&k.slice().map(function(R){R(b,O)})}}}const E=p(),g=(0,l.defineComponent)({name:"Toast",props:{message:{type:String,required:!0},type:{type:String,default:"success"},position:{type:String,default:d.BOTTOM_RIGHT,validator(N){return Object.values(d).includes(N)}},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 N=document.body;N.appendChild(this.parentTop),N.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 N=this.$refs.root;(0,l.render)(null,N),u(N)},150)},showNotice(){if(this.shouldQueue()){this.queueTimer=setTimeout(this.showNotice,250);return}const N=this.$refs.root.parentElement;this.correctParent.insertAdjacentElement("afterbegin",this.$refs.root),u(N),this.isActive=!0,this.duration&&(this.timer=new h(this.dismiss,this.duration))},whenClicked(){this.dismissible&&(this.onClick.apply(null,arguments),this.dismiss())},toggleTimer(N){!this.pauseOnHover||!this.timer||(N?this.timer.pause():this.timer.resume())}},computed:{correctParent(){switch(this.position){case d.TOP:case d.TOP_RIGHT:case d.TOP_LEFT:return this.parentTop;case d.BOTTOM:case d.BOTTOM_RIGHT:case d.BOTTOM_LEFT:return this.parentBottom}},transition(){switch(this.position){case d.TOP:case d.TOP_RIGHT:case d.TOP_LEFT:return{enter:"v-toast--fade-in-down",leave:"v-toast--fade-out"};case d.BOTTOM:case d.BOTTOM_RIGHT:case d.BOTTOM_LEFT:return{enter:"v-toast--fade-in-up",leave:"v-toast--fade-out"}}}},beforeUnmount(){E.off("toast-clear",this.dismiss)}});var v=i(113);const y=(0,v.default)(g,[["render",c]]),S=function(){let N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{open(b){let O=null;typeof b=="string"&&(O=b);const R=Object.assign({},{message:O},N,b);return{dismiss:f(y,R,document.body).ctx.dismiss}},clear(){E.emit("toast-clear")},success(b){let O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:b,type:"success"},O))},error(b){let O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:b,type:"error"},O))},info(b){let O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:b,type:"info"},O))},warning(b){let O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:b,type:"warning"},O))},default(b){let O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:b,type:"default"},O))}}},P={install:function(N){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},O=S(b);N.config.globalProperties.$toast=O,N.provide("$toast",O)}},A=P;return o})())})(wo)),wo.exports}var CO=wO();const OO=qg(CO),NO=({app:e})=>{e.use(OO,{position:"bottom-right"})},AO=Object.freeze(Object.defineProperty({__proto__:null,install:NO},Symbol.toStringTag,{value:"Module"}));var ea=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(){}},PO={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},IO=class{#e=PO;#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)}},Tc=new IO;function RO(e){setTimeout(e,0)}var Gi=typeof window>"u"||"Deno"in globalThis;function Qt(){}function LO(e,t){return typeof e=="function"?e(t):e}function MO(e){return typeof e=="number"&&e>=0&&e!==1/0}function kO(e,t){return Math.max(e+(t||0)-Date.now(),0)}function wc(e,t){return typeof e=="function"?e(t):e}function xO(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(!Oi(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(Ci(t.options.mutationKey)!==Ci(i))return!1}else if(!Oi(t.options.mutationKey,i))return!1}return!(s&&t.state.status!==s||r&&!r(t))}function of(e,t){return(t?.queryKeyHashFn||Ci)(e)}function Ci(e){return JSON.stringify(e,(t,n)=>Cc(n)?Object.keys(n).sort().reduce((s,r)=>(s[r]=n[r],s),{}):n)}function Oi(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Oi(e[n],t[n])):!1}var DO=Object.prototype.hasOwnProperty;function ey(e,t){if(e===t)return e;const n=dh(e)&&dh(t);if(!n&&!(Cc(e)&&Cc(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:DO.call(e,u))&&a++;continue}if(f===null||h===null||typeof f!="object"||typeof h!="object"){l[u]=h;continue}const d=ey(f,h);l[u]=d,d===f&&a++}return r===o&&a===r?e:l}function R1(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 Cc(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 FO(e){return new Promise(t=>{Tc.setTimeout(t,e)})}function $O(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?ey(e,t):t}function HO(e,t,n=0){const s=[...e,t];return n&&s.length>n?s.slice(1):s}function VO(e,t,n=0){const s=[t,...e];return n&&s.length>n?s.slice(0,-1):s}var lf=Symbol();function ty(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 L1(e,t){return typeof e=="function"?e(...t):!!e}var UO=class extends ea{#e;#t;#n;constructor(){super(),this.#n=e=>{if(!Gi&&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"}},ny=new UO;function BO(){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 jO=RO;function WO(){let e=[],t=0,n=l=>{l()},s=l=>{l()},r=jO;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 Tt=WO(),KO=class extends ea{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(!Gi&&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}},rl=new KO;function qO(e){return Math.min(1e3*2**e,3e4)}function sy(e){return(e??"online")==="online"?rl.isOnline():!0}var Oc=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function ry(e){let t=!1,n=0,s;const r=BO(),i=()=>r.status!=="pending",o=m=>{if(!i()){const E=new Oc(m);h(E),e.onCancel?.(E)}},l=()=>{t=!0},a=()=>{t=!1},c=()=>ny.isFocused()&&(e.networkMode==="always"||rl.isOnline())&&e.canRun(),u=()=>sy(e.networkMode)&&e.canRun(),f=m=>{i()||(s?.(),r.resolve(m))},h=m=>{i()||(s?.(),r.reject(m))},d=()=>new Promise(m=>{s=E=>{(i()||c())&&m(E)},e.onPause?.()}).then(()=>{s=void 0,i()||e.onContinue?.()}),p=()=>{if(i())return;let m;const E=n===0?e.initialPromise:void 0;try{m=E??e.fn()}catch(g){m=Promise.reject(g)}Promise.resolve(m).then(f).catch(g=>{if(i())return;const v=e.retry??(Gi?0:3),_=e.retryDelay??qO,y=typeof _=="function"?_(n,g):_,S=v===!0||typeof v=="number"&&n<v||typeof v=="function"&&v(n,g);if(t||!S){h(g);return}n++,e.onFail?.(n,g),FO(y).then(()=>c()?void 0:d()).then(()=>{t?h(g):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 iy=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),MO(this.gcTime)&&(this.#e=Tc.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Gi?1/0:300*1e3))}clearGcTimeout(){this.#e&&(Tc.clearTimeout(this.#e),this.#e=void 0)}},XO=class extends iy{#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=ph(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=ph(this.options);t.data!==void 0&&(this.setData(t.data,{updatedAt:t.dataUpdatedAt,manual:!0}),this.#e=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(e,t){const n=$O(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(Qt).catch(Qt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(e=>xO(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=>wc(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:!kO(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=ty(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=ry({initialPromise:t?.initialPromise,fn:o.fetchFn,onCancel:l=>{l instanceof Oc&&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 Oc){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,...GO(n.data,this.options),fetchMeta:e.meta??null};case"success":const s={...n,data:e.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!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),Tt.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:e})})}};function GO(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:sy(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function ph(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 mh(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=ty(t.options,t.fetchOptions),d=async(p,m,E)=>{if(u)return Promise.reject();if(m==null&&p.pages.length)return Promise.resolve(p);const v=(()=>{const P={client:t.client,queryKey:t.queryKey,pageParam:m,direction:E?"backward":"forward",meta:t.options.meta};return f(P),P})(),_=await h(v),{maxPages:y}=t.options,S=E?VO:HO;return{pages:S(p.pages,_,y),pageParams:S(p.pageParams,m,y)}};if(r&&i.length){const p=r==="backward",m=p?zO:gh,E={pages:i,pageParams:o},g=m(s,E);l=await d(E,g,p)}else{const p=e??i.length;do{const m=a===0?o[0]??s.initialPageParam:gh(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 gh(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 zO(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var QO=class extends iy{#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||YO(),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=ry({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),Tt.batch(()=>{this.#t.forEach(n=>{n.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function YO(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var oy=class extends ea{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 QO({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=ho(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=ho(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=ho(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=ho(t);return typeof n=="string"?this.#t.get(n)?.find(r=>r!==t&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){Tt.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){Tt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Tt.batch(()=>Promise.all(t.map(n=>n.continue().catch(Qt))))}};function ho(e){return e.options.scope?.id}var ly=class extends ea{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 XO({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(){Tt.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){Tt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Tt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Tt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},JO=class{#e;#t;#n;#r;#s;#o;#l;#i;constructor(t={}){this.#e=t.queryCache||new ly,this.#t=t.mutationCache||new oy,this.#n=t.defaultOptions||{},this.#r=new Map,this.#s=new Map,this.#o=0}mount(){this.#o++,this.#o===1&&(this.#l=ny.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#i=rl.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(wc(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=LO(n,o);if(l!==void 0)return this.#e.build(this,r).setData(l,{...s,manual:!0})}setQueriesData(t,n,s){return Tt.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;Tt.batch(()=>{n.findAll(t).forEach(s=>{n.remove(s)})})}resetQueries(t,n){const s=this.#e;return Tt.batch(()=>(s.findAll(t).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...t},n)))}cancelQueries(t,n={}){const s={revert:!0,...n},r=Tt.batch(()=>this.#e.findAll(t).map(i=>i.cancel(s)));return Promise.all(r).then(Qt).catch(Qt)}invalidateQueries(t,n={}){return Tt.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=Tt.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(Qt)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(Qt)}fetchQuery(t){const n=this.defaultQueryOptions(t);n.retry===void 0&&(n.retry=!1);const s=this.#e.build(this,n);return s.isStaleByTime(wc(n.staleTime,s))?s.fetch(n):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(Qt).catch(Qt)}fetchInfiniteQuery(t){return t.behavior=mh(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(Qt).catch(Qt)}ensureInfiniteQueryData(t){return t.behavior=mh(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return rl.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(Ci(t),{queryKey:t,defaultOptions:n})}getQueryDefaults(t){const n=[...this.#r.values()],s={};return n.forEach(r=>{Oi(t,r.queryKey)&&Object.assign(s,r.defaultOptions)}),s}setMutationDefaults(t,n){this.#s.set(Ci(t),{mutationKey:t,defaultOptions:n})}getMutationDefaults(t){const n=[...this.#s.values()],s={};return n.forEach(r=>{Oi(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()}},ZO="VUE_QUERY_CLIENT";function eN(e){const t=e?`:${e}`:"";return`${ZO}${t}`}function D1(e,t){Object.keys(e).forEach(n=>{e[n]=t[n]})}function Nc(e,t,n="",s=0){if(t){const r=t(e,n,s);if(r===void 0&&be(e)||r!==void 0)return r}if(Array.isArray(e))return e.map((r,i)=>Nc(r,t,String(i),s+1));if(typeof e=="object"&&nN(e)){const r=Object.entries(e).map(([i,o])=>[i,Nc(o,t,i,s+1)]);return Object.fromEntries(r)}return e}function tN(e,t){return Nc(e,t)}function ae(e,t=!1){return tN(e,(n,s,r)=>{if(r===1&&s==="queryKey")return ae(n,!0);if(t&&sN(n))return ae(n(),t);if(be(n))return ae(tn(n),t)})}function nN(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function sN(e){return typeof e=="function"}var rN=class extends ly{find(e){return super.find(ae(e))}findAll(e={}){return super.findAll(ae(e))}},iN=class extends oy{find(e){return super.find(ae(e))}findAll(e={}){return super.findAll(ae(e))}},oN=class extends JO{constructor(e={}){const t={defaultOptions:e.defaultOptions,queryCache:e.queryCache||new rN,mutationCache:e.mutationCache||new iN};super(t),this.isRestoring=Je(!1)}isFetching(e={}){return super.isFetching(ae(e))}isMutating(e={}){return super.isMutating(ae(e))}getQueryData(e){return super.getQueryData(ae(e))}ensureQueryData(e){return super.ensureQueryData(ae(e))}getQueriesData(e){return super.getQueriesData(ae(e))}setQueryData(e,t,n={}){return super.setQueryData(ae(e),t,ae(n))}setQueriesData(e,t,n={}){return super.setQueriesData(ae(e),t,ae(n))}getQueryState(e){return super.getQueryState(ae(e))}removeQueries(e={}){return super.removeQueries(ae(e))}resetQueries(e={},t={}){return super.resetQueries(ae(e),ae(t))}cancelQueries(e={},t={}){return super.cancelQueries(ae(e),ae(t))}invalidateQueries(e={},t={}){const n=ae(e),s=ae(t);if(super.invalidateQueries({...n,refetchType:"none"},s),n.refetchType==="none")return Promise.resolve();const r={...n,type:n.refetchType??n.type??"active"};return Vt().then(()=>super.refetchQueries(r,s))}refetchQueries(e={},t={}){return super.refetchQueries(ae(e),ae(t))}fetchQuery(e){return super.fetchQuery(ae(e))}prefetchQuery(e){return super.prefetchQuery(ae(e))}fetchInfiniteQuery(e){return super.fetchInfiniteQuery(ae(e))}prefetchInfiniteQuery(e){return super.prefetchInfiniteQuery(ae(e))}setDefaultOptions(e){super.setDefaultOptions(ae(e))}setQueryDefaults(e,t){super.setQueryDefaults(ae(e),ae(t))}getQueryDefaults(e){return super.getQueryDefaults(ae(e))}setMutationDefaults(e,t){super.setMutationDefaults(ae(e),ae(t))}getMutationDefaults(e){return super.getMutationDefaults(ae(e))}},lN={install:(e,t={})=>{const n=eN(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 oN(o)}Gi||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 aN=["top","right","bottom","left"],_h=["start","end"],yh=aN.reduce((e,t)=>e.concat(t,t+"-"+_h[0],t+"-"+_h[1]),[]),Ni=Math.min,As=Math.max,cN={left:"right",right:"left",bottom:"top",top:"bottom"},uN={start:"end",end:"start"};function Ac(e,t,n){return As(e,Ni(t,n))}function Js(e,t){return typeof e=="function"?e(t):e}function Sn(e){return e.split("-")[0]}function nn(e){return e.split("-")[1]}function ay(e){return e==="x"?"y":"x"}function af(e){return e==="y"?"height":"width"}function Gs(e){return["top","bottom"].includes(Sn(e))?"y":"x"}function cf(e){return ay(Gs(e))}function cy(e,t,n){n===void 0&&(n=!1);const s=nn(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=ol(o)),[o,ol(o)]}function fN(e){const t=ol(e);return[il(e),t,il(t)]}function il(e){return e.replace(/start|end/g,t=>uN[t])}function dN(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 hN(e,t,n,s){const r=nn(e);let i=dN(Sn(e),n==="start",s);return r&&(i=i.map(o=>o+"-"+r),t&&(i=i.concat(i.map(il)))),i}function ol(e){return e.replace(/left|right|bottom|top/g,t=>cN[t])}function pN(e){return{top:0,right:0,bottom:0,left:0,...e}}function uy(e){return typeof e!="number"?pN(e):{top:e,right:e,bottom:e,left:e}}function Qr(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 vh(e,t,n){let{reference:s,floating:r}=e;const i=Gs(t),o=cf(t),l=af(o),a=Sn(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(nn(t)){case"start":d[o]-=h*(n&&c?-1:1);break;case"end":d[o]+=h*(n&&c?-1:1);break}return d}const mN=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}=vh(c,s,a),h=s,d={},p=0;for(let m=0;m<l.length;m++){const{name:E,fn:g}=l[m],{x:v,y:_,data:y,reset:S}=await g({x:u,y:f,initialPlacement:s,placement:h,strategy:r,middlewareData:d,rects:c,platform:o,elements:{reference:e,floating:t}});u=v??u,f=_??f,d={...d,[E]:{...d[E],...y}},S&&p<=50&&(p++,typeof S=="object"&&(S.placement&&(h=S.placement),S.rects&&(c=S.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:r}):S.rects),{x:u,y:f}=vh(c,h,a)),m=-1)}return{x:u,y:f,placement:h,strategy:r,middlewareData:d}};async function ta(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}=Js(t,e),p=uy(d),E=l[h?f==="floating"?"reference":"floating":f],g=Qr(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})),v=f==="floating"?{x:s,y:r,width:o.floating.width,height:o.floating.height}:o.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),y=await(i.isElement==null?void 0:i.isElement(_))?await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1}:{x:1,y:1},S=Qr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:v,offsetParent:_,strategy:a}):v);return{top:(g.top-S.top+p.top)/y.y,bottom:(S.bottom-g.bottom+p.bottom)/y.y,left:(g.left-S.left+p.left)/y.x,right:(S.right-g.right+p.right)/y.x}}const gN=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}=Js(e,t)||{};if(c==null)return{};const f=uy(u),h={x:n,y:s},d=cf(r),p=af(d),m=await o.getDimensions(c),E=d==="y",g=E?"top":"left",v=E?"bottom":"right",_=E?"clientHeight":"clientWidth",y=i.reference[p]+i.reference[d]-h[d]-i.floating[p],S=h[d]-i.reference[d],P=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c));let A=P?P[_]:0;(!A||!await(o.isElement==null?void 0:o.isElement(P)))&&(A=l.floating[_]||i.floating[p]);const N=y/2-S/2,b=A/2-m[p]/2-1,O=Ni(f[g],b),k=Ni(f[v],b),R=O,$=A-m[p]-k,H=A/2-m[p]/2+N,K=Ac(R,H,$),B=!a.arrow&&nn(r)!=null&&H!==K&&i.reference[p]/2-(H<R?O:k)-m[p]/2<0,q=B?H<R?H-R:H-$:0;return{[d]:h[d]+q,data:{[d]:K,centerOffset:H-K-q,...B&&{alignmentOffset:q}},reset:B}}});function _N(e,t,n){return(e?[...n.filter(r=>nn(r)===e),...n.filter(r=>nn(r)!==e)]:n.filter(r=>Sn(r)===r)).filter(r=>e?nn(r)===e||(t?il(r)!==r:!1):!0)}const yN=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=yh,autoAlignment:d=!0,...p}=Js(e,t),m=f!==void 0||h===yh?_N(f||null,d,h):h,E=await ta(t,p),g=((n=o.autoPlacement)==null?void 0:n.index)||0,v=m[g];if(v==null)return{};const _=cy(v,i,await(a.isRTL==null?void 0:a.isRTL(c.floating)));if(l!==v)return{reset:{placement:m[0]}};const y=[E[Sn(v)],E[_[0]],E[_[1]]],S=[...((s=o.autoPlacement)==null?void 0:s.overflows)||[],{placement:v,overflows:y}],P=m[g+1];if(P)return{data:{index:g+1,overflows:S},reset:{placement:P}};const A=S.map(O=>{const k=nn(O.placement);return[O.placement,k&&u?O.overflows.slice(0,2).reduce((R,$)=>R+$,0):O.overflows[0],O.overflows]}).sort((O,k)=>O[1]-k[1]),b=((r=A.filter(O=>O[2].slice(0,nn(O[0])?2:3).every(k=>k<=0))[0])==null?void 0:r[0])||A[0][0];return b!==l?{data:{index:g+1,overflows:S},reset:{placement:b}}:{}}}},vN=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}=Js(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const g=Sn(r),v=Gs(l),_=Sn(l)===l,y=await(a.isRTL==null?void 0:a.isRTL(c.floating)),S=h||(_||!m?[ol(l)]:fN(l)),P=p!=="none";!h&&P&&S.push(...hN(l,m,p,y));const A=[l,...S],N=await ta(t,E),b=[];let O=((s=i.flip)==null?void 0:s.overflows)||[];if(u&&b.push(N[g]),f){const H=cy(r,o,y);b.push(N[H[0]],N[H[1]])}if(O=[...O,{placement:r,overflows:b}],!b.every(H=>H<=0)){var k,R;const H=(((k=i.flip)==null?void 0:k.index)||0)+1,K=A[H];if(K)return{data:{index:H,overflows:O},reset:{placement:K}};let B=(R=O.filter(q=>q.overflows[0]<=0).sort((q,X)=>q.overflows[1]-X.overflows[1])[0])==null?void 0:R.placement;if(!B)switch(d){case"bestFit":{var $;const q=($=O.filter(X=>{if(P){const te=Gs(X.placement);return te===v||te==="y"}return!0}).map(X=>[X.placement,X.overflows.filter(te=>te>0).reduce((te,Ce)=>te+Ce,0)]).sort((X,te)=>X[1]-te[1])[0])==null?void 0:$[0];q&&(B=q);break}case"initialPlacement":B=l;break}if(r!==B)return{reset:{placement:B}}}return{}}}};async function EN(e,t){const{placement:n,platform:s,elements:r}=e,i=await(s.isRTL==null?void 0:s.isRTL(r.floating)),o=Sn(n),l=nn(n),a=Gs(n)==="y",c=["left","top"].includes(o)?-1:1,u=i&&a?-1:1,f=Js(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 bN=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 EN(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}}}}},SN=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:g,y:v}=E;return{x:g,y:v}}},...a}=Js(e,t),c={x:n,y:s},u=await ta(t,a),f=Gs(Sn(r)),h=ay(f);let d=c[h],p=c[f];if(i){const E=h==="y"?"top":"left",g=h==="y"?"bottom":"right",v=d+u[E],_=d-u[g];d=Ac(v,d,_)}if(o){const E=f==="y"?"top":"left",g=f==="y"?"bottom":"right",v=p+u[E],_=p-u[g];p=Ac(v,p,_)}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}}}}}},TN=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}=Js(e,t),u=await ta(t,c),f=Sn(r),h=nn(r),d=Gs(r)==="y",{width:p,height:m}=i.floating;let E,g;f==="top"||f==="bottom"?(E=f,g=h===(await(o.isRTL==null?void 0:o.isRTL(l.floating))?"start":"end")?"left":"right"):(g=f,E=h==="end"?"top":"bottom");const v=m-u.top-u.bottom,_=p-u.left-u.right,y=Ni(m-u[E],v),S=Ni(p-u[g],_),P=!t.middlewareData.shift;let A=y,N=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(N=_),(s=t.middlewareData.shift)!=null&&s.enabled.y&&(A=v),P&&!h){const O=As(u.left,0),k=As(u.right,0),R=As(u.top,0),$=As(u.bottom,0);d?N=p-2*(O!==0||k!==0?O+k:As(u.left,u.right)):A=m-2*(R!==0||$!==0?R+$:As(u.top,u.bottom))}await a({...t,availableWidth:N,availableHeight:A});const b=await o.getDimensions(l.floating);return p!==b.width||m!==b.height?{reset:{rects:!0}}:{}}}};function Wt(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function yn(e){return Wt(e).getComputedStyle(e)}const Eh=Math.min,Yr=Math.max,ll=Math.round;function fy(e){const t=yn(e);let n=parseFloat(t.width),s=parseFloat(t.height);const r=e.offsetWidth,i=e.offsetHeight,o=ll(n)!==r||ll(s)!==i;return o&&(n=r,s=i),{width:n,height:s,fallback:o}}function _s(e){return hy(e)?(e.nodeName||"").toLowerCase():""}let po;function dy(){if(po)return po;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(po=e.brands.map((t=>t.brand+"/"+t.version)).join(" "),po):navigator.userAgent}function vn(e){return e instanceof Wt(e).HTMLElement}function hs(e){return e instanceof Wt(e).Element}function hy(e){return e instanceof Wt(e).Node}function bh(e){return typeof ShadowRoot>"u"?!1:e instanceof Wt(e).ShadowRoot||e instanceof ShadowRoot}function na(e){const{overflow:t,overflowX:n,overflowY:s,display:r}=yn(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+n)&&!["inline","contents"].includes(r)}function wN(e){return["table","td","th"].includes(_s(e))}function Pc(e){const t=/firefox/i.test(dy()),n=yn(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 py(){return!/^((?!chrome|android).)*safari/i.test(dy())}function uf(e){return["html","body","#document"].includes(_s(e))}function my(e){return hs(e)?e:e.contextElement}const gy={x:1,y:1};function dr(e){const t=my(e);if(!vn(t))return gy;const n=t.getBoundingClientRect(),{width:s,height:r,fallback:i}=fy(t);let o=(i?ll(n.width):n.width)/s,l=(i?ll(n.height):n.height)/r;return o&&Number.isFinite(o)||(o=1),l&&Number.isFinite(l)||(l=1),{x:o,y:l}}function Ai(e,t,n,s){var r,i;t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),l=my(e);let a=gy;t&&(s?hs(s)&&(a=dr(s)):a=dr(e));const c=l?Wt(l):window,u=!py()&&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=Wt(l),E=s&&hs(s)?Wt(s):s;let g=m.frameElement;for(;g&&s&&E!==m;){const v=dr(g),_=g.getBoundingClientRect(),y=getComputedStyle(g);_.x+=(g.clientLeft+parseFloat(y.paddingLeft))*v.x,_.y+=(g.clientTop+parseFloat(y.paddingTop))*v.y,f*=v.x,h*=v.y,d*=v.x,p*=v.y,f+=_.x,h+=_.y,g=Wt(g).frameElement}}return{width:d,height:p,top:h,right:f+d,bottom:h+p,left:f,x:f,y:h}}function ps(e){return((hy(e)?e.ownerDocument:e.document)||window.document).documentElement}function sa(e){return hs(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function _y(e){return Ai(ps(e)).left+sa(e).scrollLeft}function Pi(e){if(_s(e)==="html")return e;const t=e.assignedSlot||e.parentNode||bh(e)&&e.host||ps(e);return bh(t)?t.host:t}function yy(e){const t=Pi(e);return uf(t)?t.ownerDocument.body:vn(t)&&na(t)?t:yy(t)}function al(e,t){var n;t===void 0&&(t=[]);const s=yy(e),r=s===((n=e.ownerDocument)==null?void 0:n.body),i=Wt(s);return r?t.concat(i,i.visualViewport||[],na(s)?s:[]):t.concat(s,al(s))}function Sh(e,t,n){return t==="viewport"?Qr((function(s,r){const i=Wt(s),o=ps(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=py();(h||!h&&r==="fixed")&&(u=l.offsetLeft,f=l.offsetTop)}return{width:a,height:c,x:u,y:f}})(e,n)):hs(t)?Qr((function(s,r){const i=Ai(s,!0,r==="fixed"),o=i.top+s.clientTop,l=i.left+s.clientLeft,a=vn(s)?dr(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)):Qr((function(s){const r=ps(s),i=sa(s),o=s.ownerDocument.body,l=Yr(r.scrollWidth,r.clientWidth,o.scrollWidth,o.clientWidth),a=Yr(r.scrollHeight,r.clientHeight,o.scrollHeight,o.clientHeight);let c=-i.scrollLeft+_y(s);const u=-i.scrollTop;return yn(o).direction==="rtl"&&(c+=Yr(r.clientWidth,o.clientWidth)-l),{width:l,height:a,x:c,y:u}})(ps(e)))}function Th(e){return vn(e)&&yn(e).position!=="fixed"?e.offsetParent:null}function wh(e){const t=Wt(e);let n=Th(e);for(;n&&wN(n)&&yn(n).position==="static";)n=Th(n);return n&&(_s(n)==="html"||_s(n)==="body"&&yn(n).position==="static"&&!Pc(n))?t:n||(function(s){let r=Pi(s);for(;vn(r)&&!uf(r);){if(Pc(r))return r;r=Pi(r)}return null})(e)||t}function CN(e,t,n){const s=vn(t),r=ps(t),i=Ai(e,!0,n==="fixed",t);let o={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(s||!s&&n!=="fixed")if((_s(t)!=="body"||na(r))&&(o=sa(t)),vn(t)){const a=Ai(t,!0);l.x=a.x+t.clientLeft,l.y=a.y+t.clientTop}else r&&(l.x=_y(r));return{x:i.left+o.scrollLeft-l.x,y:i.top+o.scrollTop-l.y,width:i.width,height:i.height}}const ON={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=al(c).filter((E=>hs(E)&&_s(E)!=="body")),d=null;const p=yn(c).position==="fixed";let m=p?Pi(c):c;for(;hs(m)&&!uf(m);){const E=yn(m),g=Pc(m);(p?g||d:g||E.position!=="static"||!d||!["absolute","fixed"].includes(d.position))?d=E:h=h.filter((v=>v!==m)),m=Pi(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=Yr(f.top,c.top),c.right=Eh(f.right,c.right),c.bottom=Eh(f.bottom,c.bottom),c.left=Yr(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=vn(n),i=ps(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")&&((_s(n)!=="body"||na(i))&&(o=sa(n)),vn(n))){const c=Ai(n);l=dr(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:hs,getDimensions:function(e){return vn(e)?fy(e):e.getBoundingClientRect()},getOffsetParent:wh,getDocumentElement:ps,getScale:dr,async getElementRects(e){let{reference:t,floating:n,strategy:s}=e;const r=this.getOffsetParent||wh,i=this.getDimensions;return{reference:CN(t,await r(n),s),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>yn(e).direction==="rtl"},NN=(e,t,n)=>{const s=new Map,r={platform:ON,...n},i={...r.platform,_c:s};return mN(e,t,{...r,platform:i})};function vy(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?vy(e[n],t[n]):e[n]=t[n])}const sn={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 Ii(e,t){let n=sn.themes[e]||{},s;do s=n[t],typeof s>"u"?n.$extend?n=sn.themes[n.$extend]||{}:(n=null,s=sn[t]):n=null;while(n);return s}function AN(e){const t=[e];let n=sn.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=sn.themes[n.$extend]||{}):n=null;while(n);return t.map(s=>`v-popper--theme-${s}`)}function Ch(e){const t=[e];let n=sn.themes[e]||{};do n.$extend?(t.push(n.$extend),n=sn.themes[n.$extend]||{}):n=null;while(n);return t}let Or=!1;if(typeof window<"u"){Or=!1;try{const e=Object.defineProperty({},"passive",{get(){Or=!0}});window.addEventListener("test",null,e)}catch{}}let Ey=!1;typeof window<"u"&&typeof navigator<"u"&&(Ey=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const by=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Oh={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Nh={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Ah(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function Ia(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const Jt=[];let Os=null;const Ph={};function Ih(e){let t=Ph[e];return t||(t=Ph[e]=[]),t}let Ic=function(){};typeof window<"u"&&(Ic=window.Element);function ge(e){return function(t){return Ii(t.theme,e)}}const Ra="__floating-vue__popper",Sy=()=>Lt({name:"VPopper",provide(){return{[Ra]:{parentPopper:this}}},inject:{[Ra]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:ge("disabled")},positioningDisabled:{type:Boolean,default:ge("positioningDisabled")},placement:{type:String,default:ge("placement"),validator:e=>by.includes(e)},delay:{type:[String,Number,Object],default:ge("delay")},distance:{type:[Number,String],default:ge("distance")},skidding:{type:[Number,String],default:ge("skidding")},triggers:{type:Array,default:ge("triggers")},showTriggers:{type:[Array,Function],default:ge("showTriggers")},hideTriggers:{type:[Array,Function],default:ge("hideTriggers")},popperTriggers:{type:Array,default:ge("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:ge("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:ge("popperHideTriggers")},container:{type:[String,Object,Ic,Boolean],default:ge("container")},boundary:{type:[String,Ic],default:ge("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:ge("strategy")},autoHide:{type:[Boolean,Function],default:ge("autoHide")},handleResize:{type:Boolean,default:ge("handleResize")},instantMove:{type:Boolean,default:ge("instantMove")},eagerMount:{type:Boolean,default:ge("eagerMount")},popperClass:{type:[String,Array,Object],default:ge("popperClass")},computeTransformOrigin:{type:Boolean,default:ge("computeTransformOrigin")},autoMinSize:{type:Boolean,default:ge("autoMinSize")},autoSize:{type:[Boolean,String],default:ge("autoSize")},autoMaxSize:{type:Boolean,default:ge("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:ge("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:ge("preventOverflow")},overflowPadding:{type:[Number,String],default:ge("overflowPadding")},arrowPadding:{type:[Number,String],default:ge("arrowPadding")},arrowOverflow:{type:Boolean,default:ge("arrowOverflow")},flip:{type:Boolean,default:ge("flip")},shift:{type:Boolean,default:ge("shift")},shiftCrossAxis:{type:Boolean,default:ge("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:ge("noAutoFocus")},disposeTimeout:{type:Number,default:ge("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Ra])==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(bN({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(yN({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(SN({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(vN({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(gN({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(TN({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 NN(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),Os&&this.instantMove&&Os.instantMove&&Os!==this.parentPopper){Os.$_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&&(Os=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 Ia(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...al(this.$_referenceNode),...al(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<Jt.length;n++)t=Jt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}Jt.push(this),document.body.classList.add("v-popper--some-open");for(const t of Ch(this.theme))Ih(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 Ia(),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,Ah(Jt,this),Jt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Ch(this.theme)){const s=Ih(n);Ah(s,this),s.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Os===this&&(Os=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 Ia(),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,Oh,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Oh,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,Or?{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(Jr>=e.left&&Jr<=e.right&&Zr>=e.top&&Zr<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Jr-ss,s=Zr-rs,r=t.left+t.width/2-ss+(t.top+t.height/2)-rs+t.width+t.height,i=ss+n*r,o=rs+s*r;return mo(ss,rs,i,o,t.left,t.top,t.left,t.bottom)||mo(ss,rs,i,o,t.left,t.top,t.right,t.top)||mo(ss,rs,i,o,t.right,t.top,t.right,t.bottom)||mo(ss,rs,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(Ey){const e=Or?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>Rh(t,!0),e),document.addEventListener("touchend",t=>Lh(t,!0),e)}else window.addEventListener("mousedown",e=>Rh(e,!1),!0),window.addEventListener("click",e=>Lh(e,!1),!0);window.addEventListener("resize",IN)}function Rh(e,t){if(sn.autoHideOnMousedown)Ty(e,t);else for(let n=0;n<Jt.length;n++){const s=Jt[n];try{s.mouseDownContains=s.popperNode().contains(e.target)}catch{}}}function Lh(e,t){sn.autoHideOnMousedown||Ty(e,t)}function Ty(e,t){const n={};for(let s=Jt.length-1;s>=0;s--){const r=Jt[s];try{const i=r.containsGlobalTarget=r.mouseDownContains||r.popperNode().contains(e.target);r.pendingHide=!1,requestAnimationFrame(()=>{if(r.pendingHide=!1,!n[r.randomId]&&Mh(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&&Mh(o,o.containsGlobalTarget,e);)o.$_handleGlobalClose(e,t),o=o.parentPopper}})}catch{}}}function Mh(e,t,n){return n.closeAllPopover||n.closePopover&&t||PN(e,n)&&!t}function PN(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function IN(){for(let e=0;e<Jt.length;e++)Jt[e].$_computePosition()}let ss=0,rs=0,Jr=0,Zr=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{ss=Jr,rs=Zr,Jr=e.clientX,Zr=e.clientY},Or?{passive:!0}:void 0);function mo(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 RN={extends:Sy()},ra=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};function LN(e,t,n,s,r,i){return Ct(),gr("div",{ref:"reference",class:zn(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[hi(e.$slots,"default",zc(bu(e.slotData)))],2)}const MN=ra(RN,[["render",LN]]);function kN(){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 Ro;function Rc(){Rc.init||(Rc.init=!0,Ro=kN()!==-1)}var ia={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Rc(),Vt(()=>{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",Ro&&this.$el.appendChild(e),e.data="about:blank",Ro||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&&(!Ro&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const xN=vm();_m("data-v-b329ee4c");const DN={class:"resize-observer",tabindex:"-1"};ym();const FN=xN((e,t,n,s,r,i)=>(Ct(),qn("div",DN)));ia.render=FN;ia.__scopeId="data-v-b329ee4c";ia.__file="src/components/ResizeObserver.vue";const wy=(e="theme")=>({computed:{themeClass(){return AN(this[e])}}}),$N=Lt({name:"VPopperContent",components:{ResizeObserver:ia},mixins:[wy()],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}}}),HN=["id","aria-hidden","tabindex","data-popper-placement"],VN={ref:"inner",class:"v-popper__inner"},UN=pn("div",{class:"v-popper__arrow-outer"},null,-1),BN=pn("div",{class:"v-popper__arrow-inner"},null,-1),jN=[UN,BN];function WN(e,t,n,s,r,i){const o=Us("ResizeObserver");return Ct(),gr("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:Dn(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]=Rg(l=>e.autoHide&&e.$emit("hide"),["esc"]))},[pn("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=l=>e.autoHide&&e.$emit("hide"))}),pn("div",{class:"v-popper__wrapper",style:Dn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[pn("div",VN,[e.mounted?(Ct(),gr(Ke,{key:0},[pn("div",null,[hi(e.$slots,"default")]),e.handleResize?(Ct(),qn(o,{key:0,onNotify:t[1]||(t[1]=l=>e.$emit("resize",l))})):tc("",!0)],64)):tc("",!0)],512),pn("div",{ref:"arrow",class:"v-popper__arrow-container",style:Dn(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},jN,4)],4)],46,HN)}const Cy=ra($N,[["render",WN]]),Oy={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 Lc=function(){};typeof window<"u"&&(Lc=window.Element);const KN=Lt({name:"VPopperWrapper",components:{Popper:MN,PopperContent:Cy},mixins:[Oy,wy("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,Lc,Boolean],default:void 0},boundary:{type:[String,Lc],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 qN(e,t,n,s,r,i){const o=Us("PopperContent"),l=Us("Popper");return Ct(),qn(l,kl({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:Vs(({popperId:a,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:h,show:d,hide:p,handleResize:m,onResize:E,classes:g,result:v})=>[hi(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:g,result:v,onHide:p,onResize:E},{default:Vs(()=>[hi(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=ra(KN,[["render",qN]]),XN={...ff,name:"VDropdown",vPopperTheme:"dropdown"},GN={...ff,name:"VMenu",vPopperTheme:"menu"},zN={...ff,name:"VTooltip",vPopperTheme:"tooltip"},QN=Lt({name:"VTooltipDirective",components:{Popper:Sy(),PopperContent:Cy},mixins:[Oy],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Ii(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Ii(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}}}),YN=["innerHTML"],JN=["textContent"];function ZN(e,t,n,s,r,i){const o=Us("PopperContent"),l=Us("Popper");return Ct(),qn(l,kl({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:Vs(({popperId:a,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:h,hide:d,handleResize:p,onResize:m,classes:E,result:g})=>[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:g,onHide:d,onResize:m},{default:Vs(()=>[e.html?(Ct(),gr("div",{key:0,innerHTML:e.finalContent},null,8,YN)):(Ct(),gr("div",{key:1,textContent:vl(e.finalContent)},null,8,JN))]),_: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 eA=ra(QN,[["render",ZN]]),Ny="v-popper--has-tooltip";function tA(e,t){let n=e.placement;if(!n&&t)for(const s of by)t[s]&&(n=s);return n||(n=Ii(e.theme||"tooltip","placement")),n}function Ay(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=tA(s,n),s.targetNodes=()=>[e],s.referenceNode=()=>e,s}let La,Ri,nA=0;function sA(){if(La)return;Ri=Je([]),La=_i({name:"VTooltipDirectiveApp",setup(){return{directives:Ri}},render(){return this.directives.map(t=>Ys(eA,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),La.mount(e)}function rA(e,t,n){sA();const s=Je(Ay(e,t,n)),r=Je(!1),i={id:nA++,options:s,shown:r};return Ri.value.push(i),e.classList&&e.classList.add(Ny),e.$_popper={options:s,item:i,show(){r.value=!0},hide(){r.value=!1}}}function Py(e){if(e.$_popper){const t=Ri.value.indexOf(e.$_popper.item);t!==-1&&Ri.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Ny)}function kh(e,{value:t,modifiers:n}){const s=Ay(e,t,n);if(!s.content||Ii(s.theme||"tooltip","disabled"))Py(e);else{let r;e.$_popper?(r=e.$_popper,r.options.value=s):r=rA(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?r.show():r.hide())}}const iA={beforeMount:kh,updated:kh,beforeUnmount(e){Py(e)}};function xh(e){e.addEventListener("mousedown",cl),e.addEventListener("click",cl),e.addEventListener("touchstart",Iy,Or?{passive:!0}:!1)}function Dh(e){e.removeEventListener("mousedown",cl),e.removeEventListener("click",cl),e.removeEventListener("touchstart",Iy),e.removeEventListener("touchend",Ry),e.removeEventListener("touchcancel",Ly)}function cl(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Iy(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",Ry),t.addEventListener("touchcancel",Ly)}}function Ry(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 Ly(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const oA={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&xh(e)},updated(e,{value:t,oldValue:n,modifiers:s}){e.$_closePopoverModifiers=s,t!==n&&(typeof t>"u"||t?xh(e):Dh(e))},beforeUnmount(e){Dh(e)}};function lA(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,vy(sn,t),e.directive("tooltip",iA),e.directive("close-popper",oA),e.component("VTooltip",zN),e.component("VDropdown",XN),e.component("VMenu",GN))}const aA={version:"5.2.2",install:lA,options:sn},cA=e=>{const t={};Object.entries(Object.assign({"/src/layouts/board-layout.vue":()=>Qe(()=>import("./board-layout-BHEsJV7B.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url),"/src/layouts/default.vue":()=>Qe(()=>import("./default-DWmoYCsL.js"),__vite__mapDeps([8,1,2,3,4,5,6,7]),import.meta.url),"/src/layouts/headless.vue":()=>Qe(()=>import("./headless-CdZcsu6X.js"),__vite__mapDeps([9,5]),import.meta.url),"/src/layouts/home.vue":()=>Qe(()=>import("./home-Ca7VxYvt.js"),__vite__mapDeps([10,1,2,3,4,5]),import.meta.url),"/src/layouts/index-layout.vue":()=>Qe(()=>import("./index-layout-BcC1Tv9X.js"),__vite__mapDeps([11,1,2,3,4,5,6,7]),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)},uA=new Set(["link","style","script","noscript"]),fA=new Set(["title","titleTemplate","script","style","noscript"]),Fh=new Set(["base","meta","link","style","script","noscript"]),dA=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),hA=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),pA=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),mA=new Set(["templateParams","htmlAttrs","bodyAttrs"]),gA=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),_A=["name","property","http-equiv"],yA=new Set(["viewport","description","keywords","robots"]);function My(e){const t=e.split(":");return t.length?gA.has(t[1]):!1}function Mc(e){const{props:t,tag:n}=e;if(hA.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 _A)if(t[s]!==void 0){const r=t[s],i=r.includes(":"),o=yA.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(fA.has(n)){const s=e.textContent||e.innerHTML;if(s)return`${n}:content:${s}`}}function $h(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 ul(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=>ul(i,t));if(r?.constructor===Object){const i={};for(const o of Object.keys(r))i[o]=ul(r[o],t,o);return i}return r}function vA(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 ky(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]=vA(n,s);return}if(pA.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 EA(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},s=ky({tag:e,props:{}},n);return s.key&&uA.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 bA(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=ul(e,n),Object.entries(e||{}).forEach(([r,i])=>{if(i!==void 0)for(const o of Array.isArray(i)?i:[i])s.push(EA(r,o))}),s.flat()}const Hh=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Vh={base:-10,title:10},SA={critical:-8,high:-1,low:2},Uh={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}},TA=/@import/,$r=e=>e===""||e===!0;function wA(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const s=SA[t.tagPriority]||0,r=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Uh;if(t.tag in Vh)n=Vh[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=Uh.meta[i])}else t.tag==="link"&&t.props.rel?n=r.link[t.props.rel]:t.tag==="script"?$r(t.props.async)?n=r.script.async:t.props.src&&!$r(t.props.defer)&&!$r(t.props.async)&&t.props.type!=="module"&&!t.props.type?.endsWith("json")?n=r.script.sync:$r(t.props.defer)&&t.props.src&&!$r(t.props.async)&&(n=r.script.defer):t.tag==="style"&&(n=t.innerHTML&&TA.test(t.innerHTML)?r.style.imported:r.style.sync);return(n||100)+s}function Bh(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 CA(e={}){const t=mw();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=>Bh(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:bA(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=wA(o,m),m._p=(d._i<<10)+E,m._d=Mc(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||(mA.has(d.tag)?"merge":null)||(d.key&&d.key===m.key?"merge":null))==="merge"){const g={...m.props};Object.entries(d.props).forEach(([v,_])=>g[v]=v==="style"?new Map([...m.props.style||new Map,..._]):v==="class"?new Set([...m.props.class||new Set,..._]):_),h.set(p,{...d,props:g})}else d._p>>10===m._p>>10&&d.tag==="meta"&&My(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(dA.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=Mc(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=>Bh(o,l)),o.hooks.callHook("init",o),e.init?.forEach(l=>l&&o.push(l)),o}async function xy(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const s={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",s),!!s.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async r=>{const i=new Map,o=new Promise(d=>{e.resolveTags().then(p=>{d(p.map(m=>{const E=i.get(m._d)||0,g={tag:m,id:(E?`${m._d}:${E}`:m._d)||$h(m),shouldRender:!0};return m._d&&My(m._d)&&i.set(m._d,E+1),g}))})});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(!Fh.has(E))continue;const g=ky({tag:E,props:{}},{innerHTML:m.innerHTML,...m.getAttributeNames().reduce((v,_)=>(v[_]=m.getAttribute(_),v),{})||{}});if(g.key=m.getAttribute("data-hid")||void 0,g._d=Mc(g)||$h(g),l.elMap.has(g._d)){let v=1,_=g._d;for(;l.elMap.has(_);)_=`${g._d}:${v++}`;l.elMap.set(_,m)}else l.elMap.set(g._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 g in m.props){if(!Object.prototype.hasOwnProperty.call(m.props,g))continue;const v=m.props[g];if(g.startsWith("on")&&typeof v=="function"){const y=p?.dataset;if(y&&y[`${g}fired`]){const S=g.slice(0,-5);v.call(p,new Event(S.substring(2)))}p.getAttribute(`data-${g}`)!==""&&((m.tag==="bodyAttrs"?n.defaultView:p).addEventListener(g.substring(2),v.bind(p)),p.setAttribute(`data-${g}`,""));continue}const _=`attr:${g}`;if(g==="class"){if(!v)continue;for(const y of v)E&&a(d,`${_}:${y}`,()=>p.classList.remove(y)),!p.classList.contains(y)&&p.classList.add(y)}else if(g==="style"){if(!v)continue;for(const[y,S]of v)a(d,`${_}:${y}`,()=>{p.style.removeProperty(y)}),p.style.setProperty(y,S)}else v!==!1&&v!==null&&(p.getAttribute(g)!==v&&p.setAttribute(g,v===!0?"":String(v)),E&&a(d,_,()=>p.removeAttribute(g)))}}const u=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},h=await o;for(const d of h){const{tag:p,shouldRender:m,id:E}=d;if(m){if(p.tag==="title"){n.title=p.textContent,a("title","",()=>n.title=l.title);continue}d.$el=d.$el||l.elMap.get(E),d.$el?c(d):Fh.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 OA(e={}){const t=e.domOptions?.render||xy;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return CA({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function NA(e,t){let n=0;return()=>{const s=++n;t(()=>{n===s&&e()})}}const AA=(e,t)=>be(t)?oe(t):t,Dy="usehead";function PA(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Dy,e)}}.install}function IA(){if(Vi()){const e=_t(Dy);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 RA(e,t={}){const n=t.head||IA();return n.ssr?n.push(e||{},t):LA(n,e,t)}function LA(e,t,n={}){const s=Je(!1);let r;return Eu(()=>{const o=s.value?{}:ul(t,AA);r?r.patch(o):r=e.push(o,n)}),Ue()&&($i(()=>{r.dispose()}),fu(()=>{s.value=!0}),uu(()=>{s.value=!1})),r}function MA(e={}){const t=OA({domOptions:{render:NA(()=>xy(t),n=>setTimeout(n,0))},...e});return t.install=PA(t),t}/*!
|
|
63
|
+
**/var lh;function bO(){return lh||(lh=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=yO,n=vO,s=EO;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])})})(Aa)),Aa}var ah;function SO(){return ah||(ah=1,Na.exports=bO()),Na.exports}var TO=wo.exports,ch;function wO(){return ch||(ch=1,(function(e,t){(function(s,r){e.exports=r(SO())})(TO,n=>(()=>{var s={113:((N,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.default=(O,k)=>{const R=O.__vccOpts||O;for(const[$,H]of k)R[$]=H;return R}}),594:(N=>{N.exports=n})},r={};function i(N){var b=r[N];if(b!==void 0)return b.exports;var O=r[N]={exports:{}};return s[N](O,O.exports,i),O.exports}i.d=(N,b)=>{for(var O in b)i.o(b,O)&&!i.o(N,O)&&Object.defineProperty(N,O,{enumerable:!0,get:b[O]})},i.o=(N,b)=>Object.prototype.hasOwnProperty.call(N,b),i.r=N=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(N,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(N,"__esModule",{value:!0})};var o={};i.r(o),i.d(o,{ToastComponent:()=>y,ToastPlugin:()=>P,ToastPositions:()=>d,default:()=>A,useToast:()=>S});var l=i(594);const a=["innerHTML"];function c(N,b,O,k,R,$){return(0,l.openBlock)(),(0,l.createBlock)(l.Transition,{"enter-active-class":N.transition.enter,"leave-active-class":N.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--${N.type}`,`v-toast__item--${N.position}`]]),onMouseover:b[0]||(b[0]=H=>N.toggleTimer(!0)),onMouseleave:b[1]||(b[1]=H=>N.toggleTimer(!1)),onClick:b[2]||(b[2]=function(){return N.whenClicked&&N.whenClicked(...arguments)})},[b[3]||(b[3]=(0,l.createElementVNode)("div",{class:"v-toast__icon"},null,-1)),(0,l.createElementVNode)("p",{class:"v-toast__text",innerHTML:N.message},null,8,a)],34),[[l.vShow,N.isActive]])]),_:1},8,["enter-active-class","leave-active-class"])}function u(N){typeof N.remove<"u"?N.remove():N.parentNode?.removeChild(N)}function f(N,b,O){let k=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const R=(0,l.h)(N,b,k),$=document.createElement("div");return $.classList.add("v-toast--pending"),O.appendChild($),(0,l.render)(R,$),R.component}class h{constructor(b,O){this.startedAt=Date.now(),this.callback=b,this.delay=O,this.timer=setTimeout(b,O)}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(N){return{all:N=N||new Map,on:function(b,O){var k=N.get(b);k?k.push(O):N.set(b,[O])},off:function(b,O){var k=N.get(b);k&&(O?k.splice(k.indexOf(O)>>>0,1):N.set(b,[]))},emit:function(b,O){var k=N.get(b);k&&k.slice().map(function(R){R(O)}),(k=N.get("*"))&&k.slice().map(function(R){R(b,O)})}}}const E=p(),g=(0,l.defineComponent)({name:"Toast",props:{message:{type:String,required:!0},type:{type:String,default:"success"},position:{type:String,default:d.BOTTOM_RIGHT,validator(N){return Object.values(d).includes(N)}},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 N=document.body;N.appendChild(this.parentTop),N.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 N=this.$refs.root;(0,l.render)(null,N),u(N)},150)},showNotice(){if(this.shouldQueue()){this.queueTimer=setTimeout(this.showNotice,250);return}const N=this.$refs.root.parentElement;this.correctParent.insertAdjacentElement("afterbegin",this.$refs.root),u(N),this.isActive=!0,this.duration&&(this.timer=new h(this.dismiss,this.duration))},whenClicked(){this.dismissible&&(this.onClick.apply(null,arguments),this.dismiss())},toggleTimer(N){!this.pauseOnHover||!this.timer||(N?this.timer.pause():this.timer.resume())}},computed:{correctParent(){switch(this.position){case d.TOP:case d.TOP_RIGHT:case d.TOP_LEFT:return this.parentTop;case d.BOTTOM:case d.BOTTOM_RIGHT:case d.BOTTOM_LEFT:return this.parentBottom}},transition(){switch(this.position){case d.TOP:case d.TOP_RIGHT:case d.TOP_LEFT:return{enter:"v-toast--fade-in-down",leave:"v-toast--fade-out"};case d.BOTTOM:case d.BOTTOM_RIGHT:case d.BOTTOM_LEFT:return{enter:"v-toast--fade-in-up",leave:"v-toast--fade-out"}}}},beforeUnmount(){E.off("toast-clear",this.dismiss)}});var v=i(113);const y=(0,v.default)(g,[["render",c]]),S=function(){let N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{open(b){let O=null;typeof b=="string"&&(O=b);const R=Object.assign({},{message:O},N,b);return{dismiss:f(y,R,document.body).ctx.dismiss}},clear(){E.emit("toast-clear")},success(b){let O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:b,type:"success"},O))},error(b){let O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:b,type:"error"},O))},info(b){let O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:b,type:"info"},O))},warning(b){let O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:b,type:"warning"},O))},default(b){let O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:b,type:"default"},O))}}},P={install:function(N){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},O=S(b);N.config.globalProperties.$toast=O,N.provide("$toast",O)}},A=P;return o})())})(wo)),wo.exports}var CO=wO();const OO=qg(CO),NO=({app:e})=>{e.use(OO,{position:"bottom-right"})},AO=Object.freeze(Object.defineProperty({__proto__:null,install:NO},Symbol.toStringTag,{value:"Module"}));var ea=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(){}},PO={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},IO=class{#e=PO;#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)}},Tc=new IO;function RO(e){setTimeout(e,0)}var Gi=typeof window>"u"||"Deno"in globalThis;function Qt(){}function LO(e,t){return typeof e=="function"?e(t):e}function MO(e){return typeof e=="number"&&e>=0&&e!==1/0}function kO(e,t){return Math.max(e+(t||0)-Date.now(),0)}function wc(e,t){return typeof e=="function"?e(t):e}function xO(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(!Oi(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(Ci(t.options.mutationKey)!==Ci(i))return!1}else if(!Oi(t.options.mutationKey,i))return!1}return!(s&&t.state.status!==s||r&&!r(t))}function of(e,t){return(t?.queryKeyHashFn||Ci)(e)}function Ci(e){return JSON.stringify(e,(t,n)=>Cc(n)?Object.keys(n).sort().reduce((s,r)=>(s[r]=n[r],s),{}):n)}function Oi(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Oi(e[n],t[n])):!1}var DO=Object.prototype.hasOwnProperty;function ey(e,t){if(e===t)return e;const n=dh(e)&&dh(t);if(!n&&!(Cc(e)&&Cc(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:DO.call(e,u))&&a++;continue}if(f===null||h===null||typeof f!="object"||typeof h!="object"){l[u]=h;continue}const d=ey(f,h);l[u]=d,d===f&&a++}return r===o&&a===r?e:l}function R1(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 Cc(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 FO(e){return new Promise(t=>{Tc.setTimeout(t,e)})}function $O(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?ey(e,t):t}function HO(e,t,n=0){const s=[...e,t];return n&&s.length>n?s.slice(1):s}function VO(e,t,n=0){const s=[t,...e];return n&&s.length>n?s.slice(0,-1):s}var lf=Symbol();function ty(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 L1(e,t){return typeof e=="function"?e(...t):!!e}var UO=class extends ea{#e;#t;#n;constructor(){super(),this.#n=e=>{if(!Gi&&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"}},ny=new UO;function BO(){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 jO=RO;function WO(){let e=[],t=0,n=l=>{l()},s=l=>{l()},r=jO;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 Tt=WO(),KO=class extends ea{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(!Gi&&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}},rl=new KO;function qO(e){return Math.min(1e3*2**e,3e4)}function sy(e){return(e??"online")==="online"?rl.isOnline():!0}var Oc=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function ry(e){let t=!1,n=0,s;const r=BO(),i=()=>r.status!=="pending",o=m=>{if(!i()){const E=new Oc(m);h(E),e.onCancel?.(E)}},l=()=>{t=!0},a=()=>{t=!1},c=()=>ny.isFocused()&&(e.networkMode==="always"||rl.isOnline())&&e.canRun(),u=()=>sy(e.networkMode)&&e.canRun(),f=m=>{i()||(s?.(),r.resolve(m))},h=m=>{i()||(s?.(),r.reject(m))},d=()=>new Promise(m=>{s=E=>{(i()||c())&&m(E)},e.onPause?.()}).then(()=>{s=void 0,i()||e.onContinue?.()}),p=()=>{if(i())return;let m;const E=n===0?e.initialPromise:void 0;try{m=E??e.fn()}catch(g){m=Promise.reject(g)}Promise.resolve(m).then(f).catch(g=>{if(i())return;const v=e.retry??(Gi?0:3),_=e.retryDelay??qO,y=typeof _=="function"?_(n,g):_,S=v===!0||typeof v=="number"&&n<v||typeof v=="function"&&v(n,g);if(t||!S){h(g);return}n++,e.onFail?.(n,g),FO(y).then(()=>c()?void 0:d()).then(()=>{t?h(g):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 iy=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),MO(this.gcTime)&&(this.#e=Tc.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Gi?1/0:300*1e3))}clearGcTimeout(){this.#e&&(Tc.clearTimeout(this.#e),this.#e=void 0)}},XO=class extends iy{#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=ph(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=ph(this.options);t.data!==void 0&&(this.setData(t.data,{updatedAt:t.dataUpdatedAt,manual:!0}),this.#e=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(e,t){const n=$O(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(Qt).catch(Qt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(e=>xO(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=>wc(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:!kO(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=ty(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=ry({initialPromise:t?.initialPromise,fn:o.fetchFn,onCancel:l=>{l instanceof Oc&&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 Oc){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,...GO(n.data,this.options),fetchMeta:e.meta??null};case"success":const s={...n,data:e.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!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),Tt.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:e})})}};function GO(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:sy(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function ph(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 mh(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=ty(t.options,t.fetchOptions),d=async(p,m,E)=>{if(u)return Promise.reject();if(m==null&&p.pages.length)return Promise.resolve(p);const v=(()=>{const P={client:t.client,queryKey:t.queryKey,pageParam:m,direction:E?"backward":"forward",meta:t.options.meta};return f(P),P})(),_=await h(v),{maxPages:y}=t.options,S=E?VO:HO;return{pages:S(p.pages,_,y),pageParams:S(p.pageParams,m,y)}};if(r&&i.length){const p=r==="backward",m=p?zO:gh,E={pages:i,pageParams:o},g=m(s,E);l=await d(E,g,p)}else{const p=e??i.length;do{const m=a===0?o[0]??s.initialPageParam:gh(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 gh(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 zO(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var QO=class extends iy{#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||YO(),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=ry({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),Tt.batch(()=>{this.#t.forEach(n=>{n.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function YO(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var oy=class extends ea{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 QO({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=ho(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=ho(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=ho(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=ho(t);return typeof n=="string"?this.#t.get(n)?.find(r=>r!==t&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){Tt.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){Tt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Tt.batch(()=>Promise.all(t.map(n=>n.continue().catch(Qt))))}};function ho(e){return e.options.scope?.id}var ly=class extends ea{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 XO({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(){Tt.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){Tt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Tt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Tt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},JO=class{#e;#t;#n;#r;#s;#o;#l;#i;constructor(t={}){this.#e=t.queryCache||new ly,this.#t=t.mutationCache||new oy,this.#n=t.defaultOptions||{},this.#r=new Map,this.#s=new Map,this.#o=0}mount(){this.#o++,this.#o===1&&(this.#l=ny.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#i=rl.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(wc(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=LO(n,o);if(l!==void 0)return this.#e.build(this,r).setData(l,{...s,manual:!0})}setQueriesData(t,n,s){return Tt.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;Tt.batch(()=>{n.findAll(t).forEach(s=>{n.remove(s)})})}resetQueries(t,n){const s=this.#e;return Tt.batch(()=>(s.findAll(t).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...t},n)))}cancelQueries(t,n={}){const s={revert:!0,...n},r=Tt.batch(()=>this.#e.findAll(t).map(i=>i.cancel(s)));return Promise.all(r).then(Qt).catch(Qt)}invalidateQueries(t,n={}){return Tt.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=Tt.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(Qt)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(Qt)}fetchQuery(t){const n=this.defaultQueryOptions(t);n.retry===void 0&&(n.retry=!1);const s=this.#e.build(this,n);return s.isStaleByTime(wc(n.staleTime,s))?s.fetch(n):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(Qt).catch(Qt)}fetchInfiniteQuery(t){return t.behavior=mh(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(Qt).catch(Qt)}ensureInfiniteQueryData(t){return t.behavior=mh(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return rl.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(Ci(t),{queryKey:t,defaultOptions:n})}getQueryDefaults(t){const n=[...this.#r.values()],s={};return n.forEach(r=>{Oi(t,r.queryKey)&&Object.assign(s,r.defaultOptions)}),s}setMutationDefaults(t,n){this.#s.set(Ci(t),{mutationKey:t,defaultOptions:n})}getMutationDefaults(t){const n=[...this.#s.values()],s={};return n.forEach(r=>{Oi(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()}},ZO="VUE_QUERY_CLIENT";function eN(e){const t=e?`:${e}`:"";return`${ZO}${t}`}function D1(e,t){Object.keys(e).forEach(n=>{e[n]=t[n]})}function Nc(e,t,n="",s=0){if(t){const r=t(e,n,s);if(r===void 0&&be(e)||r!==void 0)return r}if(Array.isArray(e))return e.map((r,i)=>Nc(r,t,String(i),s+1));if(typeof e=="object"&&nN(e)){const r=Object.entries(e).map(([i,o])=>[i,Nc(o,t,i,s+1)]);return Object.fromEntries(r)}return e}function tN(e,t){return Nc(e,t)}function ae(e,t=!1){return tN(e,(n,s,r)=>{if(r===1&&s==="queryKey")return ae(n,!0);if(t&&sN(n))return ae(n(),t);if(be(n))return ae(tn(n),t)})}function nN(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function sN(e){return typeof e=="function"}var rN=class extends ly{find(e){return super.find(ae(e))}findAll(e={}){return super.findAll(ae(e))}},iN=class extends oy{find(e){return super.find(ae(e))}findAll(e={}){return super.findAll(ae(e))}},oN=class extends JO{constructor(e={}){const t={defaultOptions:e.defaultOptions,queryCache:e.queryCache||new rN,mutationCache:e.mutationCache||new iN};super(t),this.isRestoring=Je(!1)}isFetching(e={}){return super.isFetching(ae(e))}isMutating(e={}){return super.isMutating(ae(e))}getQueryData(e){return super.getQueryData(ae(e))}ensureQueryData(e){return super.ensureQueryData(ae(e))}getQueriesData(e){return super.getQueriesData(ae(e))}setQueryData(e,t,n={}){return super.setQueryData(ae(e),t,ae(n))}setQueriesData(e,t,n={}){return super.setQueriesData(ae(e),t,ae(n))}getQueryState(e){return super.getQueryState(ae(e))}removeQueries(e={}){return super.removeQueries(ae(e))}resetQueries(e={},t={}){return super.resetQueries(ae(e),ae(t))}cancelQueries(e={},t={}){return super.cancelQueries(ae(e),ae(t))}invalidateQueries(e={},t={}){const n=ae(e),s=ae(t);if(super.invalidateQueries({...n,refetchType:"none"},s),n.refetchType==="none")return Promise.resolve();const r={...n,type:n.refetchType??n.type??"active"};return Vt().then(()=>super.refetchQueries(r,s))}refetchQueries(e={},t={}){return super.refetchQueries(ae(e),ae(t))}fetchQuery(e){return super.fetchQuery(ae(e))}prefetchQuery(e){return super.prefetchQuery(ae(e))}fetchInfiniteQuery(e){return super.fetchInfiniteQuery(ae(e))}prefetchInfiniteQuery(e){return super.prefetchInfiniteQuery(ae(e))}setDefaultOptions(e){super.setDefaultOptions(ae(e))}setQueryDefaults(e,t){super.setQueryDefaults(ae(e),ae(t))}getQueryDefaults(e){return super.getQueryDefaults(ae(e))}setMutationDefaults(e,t){super.setMutationDefaults(ae(e),ae(t))}getMutationDefaults(e){return super.getMutationDefaults(ae(e))}},lN={install:(e,t={})=>{const n=eN(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 oN(o)}Gi||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 aN=["top","right","bottom","left"],_h=["start","end"],yh=aN.reduce((e,t)=>e.concat(t,t+"-"+_h[0],t+"-"+_h[1]),[]),Ni=Math.min,As=Math.max,cN={left:"right",right:"left",bottom:"top",top:"bottom"},uN={start:"end",end:"start"};function Ac(e,t,n){return As(e,Ni(t,n))}function Js(e,t){return typeof e=="function"?e(t):e}function Sn(e){return e.split("-")[0]}function nn(e){return e.split("-")[1]}function ay(e){return e==="x"?"y":"x"}function af(e){return e==="y"?"height":"width"}function Gs(e){return["top","bottom"].includes(Sn(e))?"y":"x"}function cf(e){return ay(Gs(e))}function cy(e,t,n){n===void 0&&(n=!1);const s=nn(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=ol(o)),[o,ol(o)]}function fN(e){const t=ol(e);return[il(e),t,il(t)]}function il(e){return e.replace(/start|end/g,t=>uN[t])}function dN(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 hN(e,t,n,s){const r=nn(e);let i=dN(Sn(e),n==="start",s);return r&&(i=i.map(o=>o+"-"+r),t&&(i=i.concat(i.map(il)))),i}function ol(e){return e.replace(/left|right|bottom|top/g,t=>cN[t])}function pN(e){return{top:0,right:0,bottom:0,left:0,...e}}function uy(e){return typeof e!="number"?pN(e):{top:e,right:e,bottom:e,left:e}}function Qr(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 vh(e,t,n){let{reference:s,floating:r}=e;const i=Gs(t),o=cf(t),l=af(o),a=Sn(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(nn(t)){case"start":d[o]-=h*(n&&c?-1:1);break;case"end":d[o]+=h*(n&&c?-1:1);break}return d}const mN=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}=vh(c,s,a),h=s,d={},p=0;for(let m=0;m<l.length;m++){const{name:E,fn:g}=l[m],{x:v,y:_,data:y,reset:S}=await g({x:u,y:f,initialPlacement:s,placement:h,strategy:r,middlewareData:d,rects:c,platform:o,elements:{reference:e,floating:t}});u=v??u,f=_??f,d={...d,[E]:{...d[E],...y}},S&&p<=50&&(p++,typeof S=="object"&&(S.placement&&(h=S.placement),S.rects&&(c=S.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:r}):S.rects),{x:u,y:f}=vh(c,h,a)),m=-1)}return{x:u,y:f,placement:h,strategy:r,middlewareData:d}};async function ta(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}=Js(t,e),p=uy(d),E=l[h?f==="floating"?"reference":"floating":f],g=Qr(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})),v=f==="floating"?{x:s,y:r,width:o.floating.width,height:o.floating.height}:o.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),y=await(i.isElement==null?void 0:i.isElement(_))?await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1}:{x:1,y:1},S=Qr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:v,offsetParent:_,strategy:a}):v);return{top:(g.top-S.top+p.top)/y.y,bottom:(S.bottom-g.bottom+p.bottom)/y.y,left:(g.left-S.left+p.left)/y.x,right:(S.right-g.right+p.right)/y.x}}const gN=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}=Js(e,t)||{};if(c==null)return{};const f=uy(u),h={x:n,y:s},d=cf(r),p=af(d),m=await o.getDimensions(c),E=d==="y",g=E?"top":"left",v=E?"bottom":"right",_=E?"clientHeight":"clientWidth",y=i.reference[p]+i.reference[d]-h[d]-i.floating[p],S=h[d]-i.reference[d],P=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c));let A=P?P[_]:0;(!A||!await(o.isElement==null?void 0:o.isElement(P)))&&(A=l.floating[_]||i.floating[p]);const N=y/2-S/2,b=A/2-m[p]/2-1,O=Ni(f[g],b),k=Ni(f[v],b),R=O,$=A-m[p]-k,H=A/2-m[p]/2+N,K=Ac(R,H,$),B=!a.arrow&&nn(r)!=null&&H!==K&&i.reference[p]/2-(H<R?O:k)-m[p]/2<0,q=B?H<R?H-R:H-$:0;return{[d]:h[d]+q,data:{[d]:K,centerOffset:H-K-q,...B&&{alignmentOffset:q}},reset:B}}});function _N(e,t,n){return(e?[...n.filter(r=>nn(r)===e),...n.filter(r=>nn(r)!==e)]:n.filter(r=>Sn(r)===r)).filter(r=>e?nn(r)===e||(t?il(r)!==r:!1):!0)}const yN=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=yh,autoAlignment:d=!0,...p}=Js(e,t),m=f!==void 0||h===yh?_N(f||null,d,h):h,E=await ta(t,p),g=((n=o.autoPlacement)==null?void 0:n.index)||0,v=m[g];if(v==null)return{};const _=cy(v,i,await(a.isRTL==null?void 0:a.isRTL(c.floating)));if(l!==v)return{reset:{placement:m[0]}};const y=[E[Sn(v)],E[_[0]],E[_[1]]],S=[...((s=o.autoPlacement)==null?void 0:s.overflows)||[],{placement:v,overflows:y}],P=m[g+1];if(P)return{data:{index:g+1,overflows:S},reset:{placement:P}};const A=S.map(O=>{const k=nn(O.placement);return[O.placement,k&&u?O.overflows.slice(0,2).reduce((R,$)=>R+$,0):O.overflows[0],O.overflows]}).sort((O,k)=>O[1]-k[1]),b=((r=A.filter(O=>O[2].slice(0,nn(O[0])?2:3).every(k=>k<=0))[0])==null?void 0:r[0])||A[0][0];return b!==l?{data:{index:g+1,overflows:S},reset:{placement:b}}:{}}}},vN=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}=Js(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const g=Sn(r),v=Gs(l),_=Sn(l)===l,y=await(a.isRTL==null?void 0:a.isRTL(c.floating)),S=h||(_||!m?[ol(l)]:fN(l)),P=p!=="none";!h&&P&&S.push(...hN(l,m,p,y));const A=[l,...S],N=await ta(t,E),b=[];let O=((s=i.flip)==null?void 0:s.overflows)||[];if(u&&b.push(N[g]),f){const H=cy(r,o,y);b.push(N[H[0]],N[H[1]])}if(O=[...O,{placement:r,overflows:b}],!b.every(H=>H<=0)){var k,R;const H=(((k=i.flip)==null?void 0:k.index)||0)+1,K=A[H];if(K)return{data:{index:H,overflows:O},reset:{placement:K}};let B=(R=O.filter(q=>q.overflows[0]<=0).sort((q,X)=>q.overflows[1]-X.overflows[1])[0])==null?void 0:R.placement;if(!B)switch(d){case"bestFit":{var $;const q=($=O.filter(X=>{if(P){const te=Gs(X.placement);return te===v||te==="y"}return!0}).map(X=>[X.placement,X.overflows.filter(te=>te>0).reduce((te,Ce)=>te+Ce,0)]).sort((X,te)=>X[1]-te[1])[0])==null?void 0:$[0];q&&(B=q);break}case"initialPlacement":B=l;break}if(r!==B)return{reset:{placement:B}}}return{}}}};async function EN(e,t){const{placement:n,platform:s,elements:r}=e,i=await(s.isRTL==null?void 0:s.isRTL(r.floating)),o=Sn(n),l=nn(n),a=Gs(n)==="y",c=["left","top"].includes(o)?-1:1,u=i&&a?-1:1,f=Js(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 bN=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 EN(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}}}}},SN=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:g,y:v}=E;return{x:g,y:v}}},...a}=Js(e,t),c={x:n,y:s},u=await ta(t,a),f=Gs(Sn(r)),h=ay(f);let d=c[h],p=c[f];if(i){const E=h==="y"?"top":"left",g=h==="y"?"bottom":"right",v=d+u[E],_=d-u[g];d=Ac(v,d,_)}if(o){const E=f==="y"?"top":"left",g=f==="y"?"bottom":"right",v=p+u[E],_=p-u[g];p=Ac(v,p,_)}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}}}}}},TN=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}=Js(e,t),u=await ta(t,c),f=Sn(r),h=nn(r),d=Gs(r)==="y",{width:p,height:m}=i.floating;let E,g;f==="top"||f==="bottom"?(E=f,g=h===(await(o.isRTL==null?void 0:o.isRTL(l.floating))?"start":"end")?"left":"right"):(g=f,E=h==="end"?"top":"bottom");const v=m-u.top-u.bottom,_=p-u.left-u.right,y=Ni(m-u[E],v),S=Ni(p-u[g],_),P=!t.middlewareData.shift;let A=y,N=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(N=_),(s=t.middlewareData.shift)!=null&&s.enabled.y&&(A=v),P&&!h){const O=As(u.left,0),k=As(u.right,0),R=As(u.top,0),$=As(u.bottom,0);d?N=p-2*(O!==0||k!==0?O+k:As(u.left,u.right)):A=m-2*(R!==0||$!==0?R+$:As(u.top,u.bottom))}await a({...t,availableWidth:N,availableHeight:A});const b=await o.getDimensions(l.floating);return p!==b.width||m!==b.height?{reset:{rects:!0}}:{}}}};function Wt(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function yn(e){return Wt(e).getComputedStyle(e)}const Eh=Math.min,Yr=Math.max,ll=Math.round;function fy(e){const t=yn(e);let n=parseFloat(t.width),s=parseFloat(t.height);const r=e.offsetWidth,i=e.offsetHeight,o=ll(n)!==r||ll(s)!==i;return o&&(n=r,s=i),{width:n,height:s,fallback:o}}function _s(e){return hy(e)?(e.nodeName||"").toLowerCase():""}let po;function dy(){if(po)return po;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(po=e.brands.map((t=>t.brand+"/"+t.version)).join(" "),po):navigator.userAgent}function vn(e){return e instanceof Wt(e).HTMLElement}function hs(e){return e instanceof Wt(e).Element}function hy(e){return e instanceof Wt(e).Node}function bh(e){return typeof ShadowRoot>"u"?!1:e instanceof Wt(e).ShadowRoot||e instanceof ShadowRoot}function na(e){const{overflow:t,overflowX:n,overflowY:s,display:r}=yn(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+n)&&!["inline","contents"].includes(r)}function wN(e){return["table","td","th"].includes(_s(e))}function Pc(e){const t=/firefox/i.test(dy()),n=yn(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 py(){return!/^((?!chrome|android).)*safari/i.test(dy())}function uf(e){return["html","body","#document"].includes(_s(e))}function my(e){return hs(e)?e:e.contextElement}const gy={x:1,y:1};function dr(e){const t=my(e);if(!vn(t))return gy;const n=t.getBoundingClientRect(),{width:s,height:r,fallback:i}=fy(t);let o=(i?ll(n.width):n.width)/s,l=(i?ll(n.height):n.height)/r;return o&&Number.isFinite(o)||(o=1),l&&Number.isFinite(l)||(l=1),{x:o,y:l}}function Ai(e,t,n,s){var r,i;t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),l=my(e);let a=gy;t&&(s?hs(s)&&(a=dr(s)):a=dr(e));const c=l?Wt(l):window,u=!py()&&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=Wt(l),E=s&&hs(s)?Wt(s):s;let g=m.frameElement;for(;g&&s&&E!==m;){const v=dr(g),_=g.getBoundingClientRect(),y=getComputedStyle(g);_.x+=(g.clientLeft+parseFloat(y.paddingLeft))*v.x,_.y+=(g.clientTop+parseFloat(y.paddingTop))*v.y,f*=v.x,h*=v.y,d*=v.x,p*=v.y,f+=_.x,h+=_.y,g=Wt(g).frameElement}}return{width:d,height:p,top:h,right:f+d,bottom:h+p,left:f,x:f,y:h}}function ps(e){return((hy(e)?e.ownerDocument:e.document)||window.document).documentElement}function sa(e){return hs(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function _y(e){return Ai(ps(e)).left+sa(e).scrollLeft}function Pi(e){if(_s(e)==="html")return e;const t=e.assignedSlot||e.parentNode||bh(e)&&e.host||ps(e);return bh(t)?t.host:t}function yy(e){const t=Pi(e);return uf(t)?t.ownerDocument.body:vn(t)&&na(t)?t:yy(t)}function al(e,t){var n;t===void 0&&(t=[]);const s=yy(e),r=s===((n=e.ownerDocument)==null?void 0:n.body),i=Wt(s);return r?t.concat(i,i.visualViewport||[],na(s)?s:[]):t.concat(s,al(s))}function Sh(e,t,n){return t==="viewport"?Qr((function(s,r){const i=Wt(s),o=ps(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=py();(h||!h&&r==="fixed")&&(u=l.offsetLeft,f=l.offsetTop)}return{width:a,height:c,x:u,y:f}})(e,n)):hs(t)?Qr((function(s,r){const i=Ai(s,!0,r==="fixed"),o=i.top+s.clientTop,l=i.left+s.clientLeft,a=vn(s)?dr(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)):Qr((function(s){const r=ps(s),i=sa(s),o=s.ownerDocument.body,l=Yr(r.scrollWidth,r.clientWidth,o.scrollWidth,o.clientWidth),a=Yr(r.scrollHeight,r.clientHeight,o.scrollHeight,o.clientHeight);let c=-i.scrollLeft+_y(s);const u=-i.scrollTop;return yn(o).direction==="rtl"&&(c+=Yr(r.clientWidth,o.clientWidth)-l),{width:l,height:a,x:c,y:u}})(ps(e)))}function Th(e){return vn(e)&&yn(e).position!=="fixed"?e.offsetParent:null}function wh(e){const t=Wt(e);let n=Th(e);for(;n&&wN(n)&&yn(n).position==="static";)n=Th(n);return n&&(_s(n)==="html"||_s(n)==="body"&&yn(n).position==="static"&&!Pc(n))?t:n||(function(s){let r=Pi(s);for(;vn(r)&&!uf(r);){if(Pc(r))return r;r=Pi(r)}return null})(e)||t}function CN(e,t,n){const s=vn(t),r=ps(t),i=Ai(e,!0,n==="fixed",t);let o={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(s||!s&&n!=="fixed")if((_s(t)!=="body"||na(r))&&(o=sa(t)),vn(t)){const a=Ai(t,!0);l.x=a.x+t.clientLeft,l.y=a.y+t.clientTop}else r&&(l.x=_y(r));return{x:i.left+o.scrollLeft-l.x,y:i.top+o.scrollTop-l.y,width:i.width,height:i.height}}const ON={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=al(c).filter((E=>hs(E)&&_s(E)!=="body")),d=null;const p=yn(c).position==="fixed";let m=p?Pi(c):c;for(;hs(m)&&!uf(m);){const E=yn(m),g=Pc(m);(p?g||d:g||E.position!=="static"||!d||!["absolute","fixed"].includes(d.position))?d=E:h=h.filter((v=>v!==m)),m=Pi(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=Yr(f.top,c.top),c.right=Eh(f.right,c.right),c.bottom=Eh(f.bottom,c.bottom),c.left=Yr(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=vn(n),i=ps(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")&&((_s(n)!=="body"||na(i))&&(o=sa(n)),vn(n))){const c=Ai(n);l=dr(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:hs,getDimensions:function(e){return vn(e)?fy(e):e.getBoundingClientRect()},getOffsetParent:wh,getDocumentElement:ps,getScale:dr,async getElementRects(e){let{reference:t,floating:n,strategy:s}=e;const r=this.getOffsetParent||wh,i=this.getDimensions;return{reference:CN(t,await r(n),s),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>yn(e).direction==="rtl"},NN=(e,t,n)=>{const s=new Map,r={platform:ON,...n},i={...r.platform,_c:s};return mN(e,t,{...r,platform:i})};function vy(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?vy(e[n],t[n]):e[n]=t[n])}const sn={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 Ii(e,t){let n=sn.themes[e]||{},s;do s=n[t],typeof s>"u"?n.$extend?n=sn.themes[n.$extend]||{}:(n=null,s=sn[t]):n=null;while(n);return s}function AN(e){const t=[e];let n=sn.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=sn.themes[n.$extend]||{}):n=null;while(n);return t.map(s=>`v-popper--theme-${s}`)}function Ch(e){const t=[e];let n=sn.themes[e]||{};do n.$extend?(t.push(n.$extend),n=sn.themes[n.$extend]||{}):n=null;while(n);return t}let Or=!1;if(typeof window<"u"){Or=!1;try{const e=Object.defineProperty({},"passive",{get(){Or=!0}});window.addEventListener("test",null,e)}catch{}}let Ey=!1;typeof window<"u"&&typeof navigator<"u"&&(Ey=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const by=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Oh={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Nh={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Ah(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function Ia(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const Jt=[];let Os=null;const Ph={};function Ih(e){let t=Ph[e];return t||(t=Ph[e]=[]),t}let Ic=function(){};typeof window<"u"&&(Ic=window.Element);function ge(e){return function(t){return Ii(t.theme,e)}}const Ra="__floating-vue__popper",Sy=()=>Lt({name:"VPopper",provide(){return{[Ra]:{parentPopper:this}}},inject:{[Ra]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:ge("disabled")},positioningDisabled:{type:Boolean,default:ge("positioningDisabled")},placement:{type:String,default:ge("placement"),validator:e=>by.includes(e)},delay:{type:[String,Number,Object],default:ge("delay")},distance:{type:[Number,String],default:ge("distance")},skidding:{type:[Number,String],default:ge("skidding")},triggers:{type:Array,default:ge("triggers")},showTriggers:{type:[Array,Function],default:ge("showTriggers")},hideTriggers:{type:[Array,Function],default:ge("hideTriggers")},popperTriggers:{type:Array,default:ge("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:ge("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:ge("popperHideTriggers")},container:{type:[String,Object,Ic,Boolean],default:ge("container")},boundary:{type:[String,Ic],default:ge("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:ge("strategy")},autoHide:{type:[Boolean,Function],default:ge("autoHide")},handleResize:{type:Boolean,default:ge("handleResize")},instantMove:{type:Boolean,default:ge("instantMove")},eagerMount:{type:Boolean,default:ge("eagerMount")},popperClass:{type:[String,Array,Object],default:ge("popperClass")},computeTransformOrigin:{type:Boolean,default:ge("computeTransformOrigin")},autoMinSize:{type:Boolean,default:ge("autoMinSize")},autoSize:{type:[Boolean,String],default:ge("autoSize")},autoMaxSize:{type:Boolean,default:ge("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:ge("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:ge("preventOverflow")},overflowPadding:{type:[Number,String],default:ge("overflowPadding")},arrowPadding:{type:[Number,String],default:ge("arrowPadding")},arrowOverflow:{type:Boolean,default:ge("arrowOverflow")},flip:{type:Boolean,default:ge("flip")},shift:{type:Boolean,default:ge("shift")},shiftCrossAxis:{type:Boolean,default:ge("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:ge("noAutoFocus")},disposeTimeout:{type:Number,default:ge("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Ra])==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(bN({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(yN({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(SN({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(vN({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(gN({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(TN({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 NN(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),Os&&this.instantMove&&Os.instantMove&&Os!==this.parentPopper){Os.$_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&&(Os=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 Ia(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...al(this.$_referenceNode),...al(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<Jt.length;n++)t=Jt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}Jt.push(this),document.body.classList.add("v-popper--some-open");for(const t of Ch(this.theme))Ih(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 Ia(),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,Ah(Jt,this),Jt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Ch(this.theme)){const s=Ih(n);Ah(s,this),s.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Os===this&&(Os=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 Ia(),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,Oh,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Oh,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,Or?{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(Jr>=e.left&&Jr<=e.right&&Zr>=e.top&&Zr<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Jr-ss,s=Zr-rs,r=t.left+t.width/2-ss+(t.top+t.height/2)-rs+t.width+t.height,i=ss+n*r,o=rs+s*r;return mo(ss,rs,i,o,t.left,t.top,t.left,t.bottom)||mo(ss,rs,i,o,t.left,t.top,t.right,t.top)||mo(ss,rs,i,o,t.right,t.top,t.right,t.bottom)||mo(ss,rs,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(Ey){const e=Or?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>Rh(t,!0),e),document.addEventListener("touchend",t=>Lh(t,!0),e)}else window.addEventListener("mousedown",e=>Rh(e,!1),!0),window.addEventListener("click",e=>Lh(e,!1),!0);window.addEventListener("resize",IN)}function Rh(e,t){if(sn.autoHideOnMousedown)Ty(e,t);else for(let n=0;n<Jt.length;n++){const s=Jt[n];try{s.mouseDownContains=s.popperNode().contains(e.target)}catch{}}}function Lh(e,t){sn.autoHideOnMousedown||Ty(e,t)}function Ty(e,t){const n={};for(let s=Jt.length-1;s>=0;s--){const r=Jt[s];try{const i=r.containsGlobalTarget=r.mouseDownContains||r.popperNode().contains(e.target);r.pendingHide=!1,requestAnimationFrame(()=>{if(r.pendingHide=!1,!n[r.randomId]&&Mh(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&&Mh(o,o.containsGlobalTarget,e);)o.$_handleGlobalClose(e,t),o=o.parentPopper}})}catch{}}}function Mh(e,t,n){return n.closeAllPopover||n.closePopover&&t||PN(e,n)&&!t}function PN(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function IN(){for(let e=0;e<Jt.length;e++)Jt[e].$_computePosition()}let ss=0,rs=0,Jr=0,Zr=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{ss=Jr,rs=Zr,Jr=e.clientX,Zr=e.clientY},Or?{passive:!0}:void 0);function mo(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 RN={extends:Sy()},ra=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};function LN(e,t,n,s,r,i){return Ct(),gr("div",{ref:"reference",class:zn(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[hi(e.$slots,"default",zc(bu(e.slotData)))],2)}const MN=ra(RN,[["render",LN]]);function kN(){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 Ro;function Rc(){Rc.init||(Rc.init=!0,Ro=kN()!==-1)}var ia={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Rc(),Vt(()=>{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",Ro&&this.$el.appendChild(e),e.data="about:blank",Ro||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&&(!Ro&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const xN=vm();_m("data-v-b329ee4c");const DN={class:"resize-observer",tabindex:"-1"};ym();const FN=xN((e,t,n,s,r,i)=>(Ct(),qn("div",DN)));ia.render=FN;ia.__scopeId="data-v-b329ee4c";ia.__file="src/components/ResizeObserver.vue";const wy=(e="theme")=>({computed:{themeClass(){return AN(this[e])}}}),$N=Lt({name:"VPopperContent",components:{ResizeObserver:ia},mixins:[wy()],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}}}),HN=["id","aria-hidden","tabindex","data-popper-placement"],VN={ref:"inner",class:"v-popper__inner"},UN=pn("div",{class:"v-popper__arrow-outer"},null,-1),BN=pn("div",{class:"v-popper__arrow-inner"},null,-1),jN=[UN,BN];function WN(e,t,n,s,r,i){const o=Us("ResizeObserver");return Ct(),gr("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:Dn(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]=Rg(l=>e.autoHide&&e.$emit("hide"),["esc"]))},[pn("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=l=>e.autoHide&&e.$emit("hide"))}),pn("div",{class:"v-popper__wrapper",style:Dn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[pn("div",VN,[e.mounted?(Ct(),gr(Ke,{key:0},[pn("div",null,[hi(e.$slots,"default")]),e.handleResize?(Ct(),qn(o,{key:0,onNotify:t[1]||(t[1]=l=>e.$emit("resize",l))})):tc("",!0)],64)):tc("",!0)],512),pn("div",{ref:"arrow",class:"v-popper__arrow-container",style:Dn(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},jN,4)],4)],46,HN)}const Cy=ra($N,[["render",WN]]),Oy={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 Lc=function(){};typeof window<"u"&&(Lc=window.Element);const KN=Lt({name:"VPopperWrapper",components:{Popper:MN,PopperContent:Cy},mixins:[Oy,wy("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,Lc,Boolean],default:void 0},boundary:{type:[String,Lc],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 qN(e,t,n,s,r,i){const o=Us("PopperContent"),l=Us("Popper");return Ct(),qn(l,kl({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:Vs(({popperId:a,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:h,show:d,hide:p,handleResize:m,onResize:E,classes:g,result:v})=>[hi(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:g,result:v,onHide:p,onResize:E},{default:Vs(()=>[hi(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=ra(KN,[["render",qN]]),XN={...ff,name:"VDropdown",vPopperTheme:"dropdown"},GN={...ff,name:"VMenu",vPopperTheme:"menu"},zN={...ff,name:"VTooltip",vPopperTheme:"tooltip"},QN=Lt({name:"VTooltipDirective",components:{Popper:Sy(),PopperContent:Cy},mixins:[Oy],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Ii(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Ii(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}}}),YN=["innerHTML"],JN=["textContent"];function ZN(e,t,n,s,r,i){const o=Us("PopperContent"),l=Us("Popper");return Ct(),qn(l,kl({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:Vs(({popperId:a,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:h,hide:d,handleResize:p,onResize:m,classes:E,result:g})=>[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:g,onHide:d,onResize:m},{default:Vs(()=>[e.html?(Ct(),gr("div",{key:0,innerHTML:e.finalContent},null,8,YN)):(Ct(),gr("div",{key:1,textContent:vl(e.finalContent)},null,8,JN))]),_: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 eA=ra(QN,[["render",ZN]]),Ny="v-popper--has-tooltip";function tA(e,t){let n=e.placement;if(!n&&t)for(const s of by)t[s]&&(n=s);return n||(n=Ii(e.theme||"tooltip","placement")),n}function Ay(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=tA(s,n),s.targetNodes=()=>[e],s.referenceNode=()=>e,s}let La,Ri,nA=0;function sA(){if(La)return;Ri=Je([]),La=_i({name:"VTooltipDirectiveApp",setup(){return{directives:Ri}},render(){return this.directives.map(t=>Ys(eA,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),La.mount(e)}function rA(e,t,n){sA();const s=Je(Ay(e,t,n)),r=Je(!1),i={id:nA++,options:s,shown:r};return Ri.value.push(i),e.classList&&e.classList.add(Ny),e.$_popper={options:s,item:i,show(){r.value=!0},hide(){r.value=!1}}}function Py(e){if(e.$_popper){const t=Ri.value.indexOf(e.$_popper.item);t!==-1&&Ri.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Ny)}function kh(e,{value:t,modifiers:n}){const s=Ay(e,t,n);if(!s.content||Ii(s.theme||"tooltip","disabled"))Py(e);else{let r;e.$_popper?(r=e.$_popper,r.options.value=s):r=rA(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?r.show():r.hide())}}const iA={beforeMount:kh,updated:kh,beforeUnmount(e){Py(e)}};function xh(e){e.addEventListener("mousedown",cl),e.addEventListener("click",cl),e.addEventListener("touchstart",Iy,Or?{passive:!0}:!1)}function Dh(e){e.removeEventListener("mousedown",cl),e.removeEventListener("click",cl),e.removeEventListener("touchstart",Iy),e.removeEventListener("touchend",Ry),e.removeEventListener("touchcancel",Ly)}function cl(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Iy(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",Ry),t.addEventListener("touchcancel",Ly)}}function Ry(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 Ly(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const oA={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&xh(e)},updated(e,{value:t,oldValue:n,modifiers:s}){e.$_closePopoverModifiers=s,t!==n&&(typeof t>"u"||t?xh(e):Dh(e))},beforeUnmount(e){Dh(e)}};function lA(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,vy(sn,t),e.directive("tooltip",iA),e.directive("close-popper",oA),e.component("VTooltip",zN),e.component("VDropdown",XN),e.component("VMenu",GN))}const aA={version:"5.2.2",install:lA,options:sn},cA=e=>{const t={};Object.entries(Object.assign({"/src/layouts/board-layout.vue":()=>Qe(()=>import("./board-layout-DbzTYtb3.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url),"/src/layouts/default.vue":()=>Qe(()=>import("./default--P8qjAUG.js"),__vite__mapDeps([8,1,2,3,4,5,6,7]),import.meta.url),"/src/layouts/headless.vue":()=>Qe(()=>import("./headless---RphLCU.js"),__vite__mapDeps([9,5]),import.meta.url),"/src/layouts/home.vue":()=>Qe(()=>import("./home-CRBm3f13.js"),__vite__mapDeps([10,1,2,3,4,5]),import.meta.url),"/src/layouts/index-layout.vue":()=>Qe(()=>import("./index-layout-DpgBAC2O.js"),__vite__mapDeps([11,1,2,3,4,5,6,7]),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)},uA=new Set(["link","style","script","noscript"]),fA=new Set(["title","titleTemplate","script","style","noscript"]),Fh=new Set(["base","meta","link","style","script","noscript"]),dA=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),hA=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),pA=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),mA=new Set(["templateParams","htmlAttrs","bodyAttrs"]),gA=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),_A=["name","property","http-equiv"],yA=new Set(["viewport","description","keywords","robots"]);function My(e){const t=e.split(":");return t.length?gA.has(t[1]):!1}function Mc(e){const{props:t,tag:n}=e;if(hA.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 _A)if(t[s]!==void 0){const r=t[s],i=r.includes(":"),o=yA.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(fA.has(n)){const s=e.textContent||e.innerHTML;if(s)return`${n}:content:${s}`}}function $h(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 ul(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=>ul(i,t));if(r?.constructor===Object){const i={};for(const o of Object.keys(r))i[o]=ul(r[o],t,o);return i}return r}function vA(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 ky(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]=vA(n,s);return}if(pA.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 EA(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},s=ky({tag:e,props:{}},n);return s.key&&uA.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 bA(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=ul(e,n),Object.entries(e||{}).forEach(([r,i])=>{if(i!==void 0)for(const o of Array.isArray(i)?i:[i])s.push(EA(r,o))}),s.flat()}const Hh=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Vh={base:-10,title:10},SA={critical:-8,high:-1,low:2},Uh={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}},TA=/@import/,$r=e=>e===""||e===!0;function wA(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const s=SA[t.tagPriority]||0,r=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Uh;if(t.tag in Vh)n=Vh[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=Uh.meta[i])}else t.tag==="link"&&t.props.rel?n=r.link[t.props.rel]:t.tag==="script"?$r(t.props.async)?n=r.script.async:t.props.src&&!$r(t.props.defer)&&!$r(t.props.async)&&t.props.type!=="module"&&!t.props.type?.endsWith("json")?n=r.script.sync:$r(t.props.defer)&&t.props.src&&!$r(t.props.async)&&(n=r.script.defer):t.tag==="style"&&(n=t.innerHTML&&TA.test(t.innerHTML)?r.style.imported:r.style.sync);return(n||100)+s}function Bh(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 CA(e={}){const t=mw();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=>Bh(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:bA(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=wA(o,m),m._p=(d._i<<10)+E,m._d=Mc(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||(mA.has(d.tag)?"merge":null)||(d.key&&d.key===m.key?"merge":null))==="merge"){const g={...m.props};Object.entries(d.props).forEach(([v,_])=>g[v]=v==="style"?new Map([...m.props.style||new Map,..._]):v==="class"?new Set([...m.props.class||new Set,..._]):_),h.set(p,{...d,props:g})}else d._p>>10===m._p>>10&&d.tag==="meta"&&My(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(dA.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=Mc(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=>Bh(o,l)),o.hooks.callHook("init",o),e.init?.forEach(l=>l&&o.push(l)),o}async function xy(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const s={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",s),!!s.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async r=>{const i=new Map,o=new Promise(d=>{e.resolveTags().then(p=>{d(p.map(m=>{const E=i.get(m._d)||0,g={tag:m,id:(E?`${m._d}:${E}`:m._d)||$h(m),shouldRender:!0};return m._d&&My(m._d)&&i.set(m._d,E+1),g}))})});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(!Fh.has(E))continue;const g=ky({tag:E,props:{}},{innerHTML:m.innerHTML,...m.getAttributeNames().reduce((v,_)=>(v[_]=m.getAttribute(_),v),{})||{}});if(g.key=m.getAttribute("data-hid")||void 0,g._d=Mc(g)||$h(g),l.elMap.has(g._d)){let v=1,_=g._d;for(;l.elMap.has(_);)_=`${g._d}:${v++}`;l.elMap.set(_,m)}else l.elMap.set(g._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 g in m.props){if(!Object.prototype.hasOwnProperty.call(m.props,g))continue;const v=m.props[g];if(g.startsWith("on")&&typeof v=="function"){const y=p?.dataset;if(y&&y[`${g}fired`]){const S=g.slice(0,-5);v.call(p,new Event(S.substring(2)))}p.getAttribute(`data-${g}`)!==""&&((m.tag==="bodyAttrs"?n.defaultView:p).addEventListener(g.substring(2),v.bind(p)),p.setAttribute(`data-${g}`,""));continue}const _=`attr:${g}`;if(g==="class"){if(!v)continue;for(const y of v)E&&a(d,`${_}:${y}`,()=>p.classList.remove(y)),!p.classList.contains(y)&&p.classList.add(y)}else if(g==="style"){if(!v)continue;for(const[y,S]of v)a(d,`${_}:${y}`,()=>{p.style.removeProperty(y)}),p.style.setProperty(y,S)}else v!==!1&&v!==null&&(p.getAttribute(g)!==v&&p.setAttribute(g,v===!0?"":String(v)),E&&a(d,_,()=>p.removeAttribute(g)))}}const u=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},h=await o;for(const d of h){const{tag:p,shouldRender:m,id:E}=d;if(m){if(p.tag==="title"){n.title=p.textContent,a("title","",()=>n.title=l.title);continue}d.$el=d.$el||l.elMap.get(E),d.$el?c(d):Fh.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 OA(e={}){const t=e.domOptions?.render||xy;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return CA({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function NA(e,t){let n=0;return()=>{const s=++n;t(()=>{n===s&&e()})}}const AA=(e,t)=>be(t)?oe(t):t,Dy="usehead";function PA(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Dy,e)}}.install}function IA(){if(Vi()){const e=_t(Dy);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 RA(e,t={}){const n=t.head||IA();return n.ssr?n.push(e||{},t):LA(n,e,t)}function LA(e,t,n={}){const s=Je(!1);let r;return Eu(()=>{const o=s.value?{}:ul(t,AA);r?r.patch(o):r=e.push(o,n)}),Ue()&&($i(()=>{r.dispose()}),fu(()=>{s.value=!0}),uu(()=>{s.value=!1})),r}function MA(e={}){const t=OA({domOptions:{render:NA(()=>xy(t),n=>setTimeout(n,0))},...e});return t.install=PA(t),t}/*!
|
|
64
64
|
* vue-router v4.5.1
|
|
65
65
|
* (c) 2025 Eduardo San Martin Morote
|
|
66
66
|
* @license MIT
|
|
67
|
-
*/const or=typeof document<"u";function Fy(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function kA(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Fy(e.default)}const Ne=Object.assign;function Ma(e,t){const n={};for(const s in t){const r=t[s];n[s]=ln(r)?r.map(e):e(r)}return n}const ei=()=>{},ln=Array.isArray,$y=/#/g,xA=/&/g,DA=/\//g,FA=/=/g,$A=/\?/g,Hy=/\+/g,HA=/%5B/g,VA=/%5D/g,Vy=/%5E/g,UA=/%60/g,Uy=/%7B/g,BA=/%7C/g,By=/%7D/g,jA=/%20/g;function df(e){return encodeURI(""+e).replace(BA,"|").replace(HA,"[").replace(VA,"]")}function WA(e){return df(e).replace(Uy,"{").replace(By,"}").replace(Vy,"^")}function kc(e){return df(e).replace(Hy,"%2B").replace(jA,"+").replace($y,"%23").replace(xA,"%26").replace(UA,"`").replace(Uy,"{").replace(By,"}").replace(Vy,"^")}function KA(e){return kc(e).replace(FA,"%3D")}function qA(e){return df(e).replace($y,"%23").replace($A,"%3F")}function XA(e){return e==null?"":qA(e).replace(DA,"%2F")}function Li(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const GA=/\/$/,zA=e=>e.replace(GA,"");function ka(e,t,n="/"){let s,r={},i="",o="";const l=t.indexOf("#");let a=t.indexOf("?");return l<a&&l>=0&&(a=-1),a>-1&&(s=t.slice(0,a),i=t.slice(a+1,l>-1?l:t.length),r=e(i)),l>-1&&(s=s||t.slice(0,l),o=t.slice(l,t.length)),s=ZA(s??t,n),{fullPath:s+(i&&"?")+i+o,path:s,query:r,hash:Li(o)}}function QA(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function jh(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function YA(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Nr(t.matched[s],n.matched[r])&&jy(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Nr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function jy(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!JA(e[n],t[n]))return!1;return!0}function JA(e,t){return ln(e)?Wh(e,t):ln(t)?Wh(t,e):e===t}function Wh(e,t){return ln(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function ZA(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 es={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Mi;(function(e){e.pop="pop",e.push="push"})(Mi||(Mi={}));var ti;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ti||(ti={}));function eP(e){if(!e)if(or){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),zA(e)}const tP=/^[^#]+#/;function nP(e,t){return e.replace(tP,"#")+t}function sP(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 oa=()=>({left:window.scrollX,top:window.scrollY});function rP(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=sP(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 Kh(e,t){return(history.state?history.state.position-t:-1)+e}const xc=new Map;function iP(e,t){xc.set(e,t)}function oP(e){const t=xc.get(e);return xc.delete(e),t}let lP=()=>location.protocol+"//"+location.host;function Wy(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let l=r.includes(e.slice(i))?e.slice(i).length:1,a=r.slice(l);return a[0]!=="/"&&(a="/"+a),jh(a,"")}return jh(n,e)+s+r}function aP(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(g=>{g(n.value,p,{delta:E,type:Mi.pop,direction:E?E>0?ti.forward:ti.back:ti.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(){const{history:h}=window;h.state&&h.replaceState(Ne({},h.state,{scroll:oa()}),"")}function f(){for(const h of i)h();i=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:a,listen:c,destroy:f}}function qh(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?oa():null}}function cP(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:lP()+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){const u=Ne({},t.state,qh(r.value.back,a,r.value.forward,!0),c,{position:r.value.position});i(a,u,!0),s.value=a}function l(a,c){const u=Ne({},r.value,t.state,{forward:a,scroll:oa()});i(u.current,u,!0);const f=Ne({},qh(s.value,a,null),{position:u.position+1},c);i(a,f,!1),s.value=a}return{location:s,state:r,push:l,replace:o}}function uP(e){e=eP(e);const t=cP(e),n=aP(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=Ne({location:"",base:e,go:s,createHref:nP.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}function fP(e){return typeof e=="string"||e&&typeof e=="object"}function Ky(e){return typeof e=="string"||typeof e=="symbol"}const qy=Symbol("");var Xh;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Xh||(Xh={}));function Ar(e,t){return Ne(new Error,{type:e,[qy]:!0},t)}function On(e,t){return e instanceof Error&&qy in e&&(t==null||!!(e.type&t))}const Gh="[^/]+?",dP={sensitive:!1,strict:!1,start:!0,end:!0},hP=/[.+*?^${}()[\]/\\]/g;function pP(e,t){const n=Ne({},dP,t),s=[];let r=n.start?"^":"";const i=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let f=0;f<c.length;f++){const h=c[f];let d=40+(n.sensitive?.25:0);if(h.type===0)f||(r+="/"),r+=h.value.replace(hP,"\\$&"),d+=40;else if(h.type===1){const{value:p,repeatable:m,optional:E,regexp:g}=h;i.push({name:p,repeatable:m,optional:E});const v=g||Gh;if(v!==Gh){d+=10;try{new RegExp(`(${v})`)}catch(y){throw new Error(`Invalid custom RegExp for param "${p}" (${v}): `+y.message)}}let _=m?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;f||(_=E&&c.length<2?`(?:/${_})`:"/"+_),E&&(_+="?"),r+=_,d+=20,E&&(d+=-8),m&&(d+=-20),v===".*"&&(d+=-50)}u.push(d)}s.push(u)}if(n.strict&&n.end){const c=s.length-1;s[c][s[c].length-1]+=.7000000000000001}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===0)u+=d.value;else if(d.type===1){const{value:p,repeatable:m,optional:E}=d,g=p in c?c[p]:"";if(ln(g)&&!m)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const v=ln(g)?g.join("/"):g;if(!v)if(E)h.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=v}}return u||"/"}return{re:o,score:s,keys:i,parse:l,stringify:a}}function mP(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]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Xy(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=mP(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(zh(s))return 1;if(zh(r))return-1}return r.length-s.length}function zh(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const gP={type:0,value:""},_P=/[a-zA-Z0-9_]/;function yP(e){if(!e)return[[]];if(e==="/")return[[gP]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${n})/"${c}": ${d}`)}let n=0,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let l=0,a,c="",u="";function f(){c&&(n===0?i.push({type:0,value:c}):n===1||n===2||n===3?(i.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,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!==2){s=n,n=4;continue}switch(n){case 0:a==="/"?(c&&f(),o()):a===":"?(f(),n=1):h();break;case 4:h(),n=s;break;case 1:a==="("?n=2:_P.test(a)?h():(f(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&l--);break;case 2:a===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+a:n=3:u+=a;break;case 3:f(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&l--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),o(),r}function vP(e,t,n){const s=pP(yP(e.path),n),r=Ne(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function EP(e,t){const n=[],s=new Map;t=Zh({strict:!1,end:!0,sensitive:!1},t);function r(f){return s.get(f)}function i(f,h,d){const p=!d,m=Yh(f);m.aliasOf=d&&d.record;const E=Zh(t,f),g=[m];if("alias"in f){const y=typeof f.alias=="string"?[f.alias]:f.alias;for(const S of y)g.push(Yh(Ne({},m,{components:d?d.record.components:m.components,path:S,aliasOf:d?d.record:m})))}let v,_;for(const y of g){const{path:S}=y;if(h&&S[0]!=="/"){const P=h.record.path,A=P[P.length-1]==="/"?"":"/";y.path=h.record.path+(S&&A+S)}if(v=vP(y,h,E),d?d.alias.push(v):(_=_||v,_!==v&&_.alias.push(v),p&&f.name&&!Jh(v)&&o(f.name)),Gy(v)&&a(v),m.children){const P=m.children;for(let A=0;A<P.length;A++)i(P[A],v,d&&d.children[A])}d=d||v}return _?()=>{o(_)}:ei}function o(f){if(Ky(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=TP(f,n);n.splice(h,0,f),f.record.name&&!Jh(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 Ar(1,{location:f});E=d.record.name,p=Ne(Qh(h.params,d.keys.filter(_=>!_.optional).concat(d.parent?d.parent.keys.filter(_=>_.optional):[]).map(_=>_.name)),f.params&&Qh(f.params,d.keys.map(_=>_.name))),m=d.stringify(p)}else if(f.path!=null)m=f.path,d=n.find(_=>_.re.test(m)),d&&(p=d.parse(m),E=d.record.name);else{if(d=h.name?s.get(h.name):n.find(_=>_.re.test(h.path)),!d)throw Ar(1,{location:f,currentLocation:h});E=d.record.name,p=Ne({},h.params,f.params),m=d.stringify(p)}const g=[];let v=d;for(;v;)g.unshift(v.record),v=v.parent;return{name:E,path:m,params:p,matched:g,meta:SP(g)}}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 Qh(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Yh(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:bP(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 bP(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 Jh(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function SP(e){return e.reduce((t,n)=>Ne(t,n.meta),{})}function Zh(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function TP(e,t){let n=0,s=t.length;for(;n!==s;){const i=n+s>>1;Xy(e,t[i])<0?s=i:n=i+1}const r=wP(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function wP(e){let t=e;for(;t=t.parent;)if(Gy(t)&&Xy(e,t)===0)return t}function Gy({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function CP(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const i=s[r].replace(Hy," "),o=i.indexOf("="),l=Li(o<0?i:i.slice(0,o)),a=o<0?null:Li(i.slice(o+1));if(l in t){let c=t[l];ln(c)||(c=t[l]=[c]),c.push(a)}else t[l]=a}return t}function ep(e){let t="";for(let n in e){const s=e[n];if(n=KA(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(ln(s)?s.map(i=>i&&kc(i)):[s&&kc(s)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function OP(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=ln(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const NP=Symbol(""),tp=Symbol(""),la=Symbol(""),hf=Symbol(""),Dc=Symbol("");function Hr(){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 cs(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(Ar(4,{from:n,to:t})):h instanceof Error?a(h):fP(h)?a(Ar(2,{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 xa(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(Fy(a)){const u=(a.__vccOpts||a)[t];u&&i.push(cs(u,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=kA(u)?u.default:u;o.mods[l]=u,o.components[l]=f;const d=(f.__vccOpts||f)[t];return d&&cs(d,n,s,o,l,r)()}))}}return i}function np(e){const t=_t(la),n=_t(hf),s=de(()=>{const a=tn(e.to);return t.resolve(a)}),r=de(()=>{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(Nr.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(Nr.bind(null,a[c-2])):h}),i=de(()=>r.value>-1&&LP(n.params,s.value.params)),o=de(()=>r.value>-1&&r.value===n.matched.length-1&&jy(n.params,s.value.params));function l(a={}){if(RP(a)){const c=t[tn(e.replace)?"replace":"push"](tn(e.to)).catch(ei);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:s,href:de(()=>s.value.href),isActive:i,isExactActive:o,navigate:l}}function AP(e){return e.length===1?e[0]:e}const PP=Lt({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=En(np(e)),{options:s}=_t(la),r=de(()=>({[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&&AP(t.default(n));return e.custom?i:Ys("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),IP=PP;function RP(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 LP(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(!ln(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,MP=Lt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=_t(Dc),r=de(()=>e.route||s.value),i=_t(tp,0),o=de(()=>{let c=tn(i);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),l=de(()=>r.value.matched[o.value]);qr(tp,de(()=>o.value+1)),qr(NP,l),qr(Dc,r);const a=Je();return ke(()=>[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||!Nr(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=Ys(h,Ne({},p,t,{onVnodeUnmounted:g=>{g.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 kP=MP;function xP(e){const t=EP(e.routes,e),n=e.parseQuery||CP,s=e.stringifyQuery||ep,r=e.history,i=Hr(),o=Hr(),l=Hr(),a=Ee(es);let c=es;or&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ma.bind(null,V=>""+V),f=Ma.bind(null,XA),h=Ma.bind(null,Li);function d(V,J){let z,ee;return Ky(V)?(z=t.getRecordMatcher(V),ee=J):ee=V,t.addRoute(ee,z)}function p(V){const J=t.getRecordMatcher(V);J&&t.removeRoute(J)}function m(){return t.getRoutes().map(V=>V.record)}function E(V){return!!t.getRecordMatcher(V)}function g(V,J){if(J=Ne({},J||a.value),typeof V=="string"){const I=ka(n,V,J.path),x=t.resolve({path:I.path},J),W=r.createHref(I.fullPath);return Ne(I,x,{params:h(x.params),hash:Li(I.hash),redirectedFrom:void 0,href:W})}let z;if(V.path!=null)z=Ne({},V,{path:ka(n,V.path,J.path).path});else{const I=Ne({},V.params);for(const x in I)I[x]==null&&delete I[x];z=Ne({},V,{params:f(I)}),J.params=f(J.params)}const ee=t.resolve(z,J),he=V.hash||"";ee.params=u(h(ee.params));const Pe=QA(s,Ne({},V,{hash:WA(he),path:ee.path})),w=r.createHref(Pe);return Ne({fullPath:Pe,hash:he,query:s===ep?OP(V.query):V.query||{}},ee,{redirectedFrom:void 0,href:w})}function v(V){return typeof V=="string"?ka(n,V,a.value.path):Ne({},V)}function _(V,J){if(c!==V)return Ar(8,{from:J,to:V})}function y(V){return A(V)}function S(V){return y(Ne(v(V),{replace:!0}))}function P(V){const J=V.matched[V.matched.length-1];if(J&&J.redirect){const{redirect:z}=J;let ee=typeof z=="function"?z(V):z;return typeof ee=="string"&&(ee=ee.includes("?")||ee.includes("#")?ee=v(ee):{path:ee},ee.params={}),Ne({query:V.query,hash:V.hash,params:ee.path!=null?{}:V.params},ee)}}function A(V,J){const z=c=g(V),ee=a.value,he=V.state,Pe=V.force,w=V.replace===!0,I=P(z);if(I)return A(Ne(v(I),{state:typeof I=="object"?Ne({},he,I.state):he,force:Pe,replace:w}),J||z);const x=z;x.redirectedFrom=J;let W;return!Pe&&YA(s,ee,z)&&(W=Ar(16,{to:x,from:ee}),Oe(ee,ee,!0,!1)),(W?Promise.resolve(W):O(x,ee)).catch(U=>On(U)?On(U,2)?U:Ce(U):X(U,x,ee)).then(U=>{if(U){if(On(U,2))return A(Ne({replace:w},v(U.to),{state:typeof U.to=="object"?Ne({},he,U.to.state):he,force:Pe}),J||x)}else U=R(x,ee,!0,w,he);return k(x,ee,U),U})}function N(V,J){const z=_(V,J);return z?Promise.reject(z):Promise.resolve()}function b(V){const J=et.values().next().value;return J&&typeof J.runWithContext=="function"?J.runWithContext(V):V()}function O(V,J){let z;const[ee,he,Pe]=DP(V,J);z=xa(ee.reverse(),"beforeRouteLeave",V,J);for(const I of ee)I.leaveGuards.forEach(x=>{z.push(cs(x,V,J))});const w=N.bind(null,V,J);return z.push(w),ye(z).then(()=>{z=[];for(const I of i.list())z.push(cs(I,V,J));return z.push(w),ye(z)}).then(()=>{z=xa(he,"beforeRouteUpdate",V,J);for(const I of he)I.updateGuards.forEach(x=>{z.push(cs(x,V,J))});return z.push(w),ye(z)}).then(()=>{z=[];for(const I of Pe)if(I.beforeEnter)if(ln(I.beforeEnter))for(const x of I.beforeEnter)z.push(cs(x,V,J));else z.push(cs(I.beforeEnter,V,J));return z.push(w),ye(z)}).then(()=>(V.matched.forEach(I=>I.enterCallbacks={}),z=xa(Pe,"beforeRouteEnter",V,J,b),z.push(w),ye(z))).then(()=>{z=[];for(const I of o.list())z.push(cs(I,V,J));return z.push(w),ye(z)}).catch(I=>On(I,8)?I:Promise.reject(I))}function k(V,J,z){l.list().forEach(ee=>b(()=>ee(V,J,z)))}function R(V,J,z,ee,he){const Pe=_(V,J);if(Pe)return Pe;const w=J===es,I=or?history.state:{};z&&(ee||w?r.replace(V.fullPath,Ne({scroll:w&&I&&I.scroll},he)):r.push(V.fullPath,he)),a.value=V,Oe(V,J,z,w),Ce()}let $;function H(){$||($=r.listen((V,J,z)=>{if(!vt.listening)return;const ee=g(V),he=P(ee);if(he){A(Ne(he,{replace:!0,force:!0}),ee).catch(ei);return}c=ee;const Pe=a.value;or&&iP(Kh(Pe.fullPath,z.delta),oa()),O(ee,Pe).catch(w=>On(w,12)?w:On(w,2)?(A(Ne(v(w.to),{force:!0}),ee).then(I=>{On(I,20)&&!z.delta&&z.type===Mi.pop&&r.go(-1,!1)}).catch(ei),Promise.reject()):(z.delta&&r.go(-z.delta,!1),X(w,ee,Pe))).then(w=>{w=w||R(ee,Pe,!1),w&&(z.delta&&!On(w,8)?r.go(-z.delta,!1):z.type===Mi.pop&&On(w,20)&&r.go(-1,!1)),k(ee,Pe,w)}).catch(ei)}))}let K=Hr(),B=Hr(),q;function X(V,J,z){Ce(V);const ee=B.list();return ee.length?ee.forEach(he=>he(V,J,z)):console.error(V),Promise.reject(V)}function te(){return q&&a.value!==es?Promise.resolve():new Promise((V,J)=>{K.add([V,J])})}function Ce(V){return q||(q=!V,H(),K.list().forEach(([J,z])=>V?z(V):J()),K.reset()),V}function Oe(V,J,z,ee){const{scrollBehavior:he}=e;if(!or||!he)return Promise.resolve();const Pe=!z&&oP(Kh(V.fullPath,0))||(ee||!z)&&history.state&&history.state.scroll||null;return Vt().then(()=>he(V,J,Pe)).then(w=>w&&rP(w)).catch(w=>X(w,V,J))}const xe=V=>r.go(V);let Mt;const et=new Set,vt={currentRoute:a,listening:!0,addRoute:d,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:E,getRoutes:m,resolve:g,options:e,push:y,replace:S,go:xe,back:()=>xe(-1),forward:()=>xe(1),beforeEach:i.add,beforeResolve:o.add,afterEach:l.add,onError:B.add,isReady:te,install(V){const J=this;V.component("RouterLink",IP),V.component("RouterView",kP),V.config.globalProperties.$router=J,Object.defineProperty(V.config.globalProperties,"$route",{enumerable:!0,get:()=>tn(a)}),or&&!Mt&&a.value===es&&(Mt=!0,y(r.location).catch(he=>{}));const z={};for(const he in es)Object.defineProperty(z,he,{get:()=>a.value[he],enumerable:!0});V.provide(la,J),V.provide(hf,nu(z)),V.provide(Dc,a);const ee=V.unmount;et.add(V),V.unmount=function(){et.delete(V),et.size<1&&(c=es,$&&$(),$=null,a.value=es,Mt=!1,q=!1),ee()}}};function ye(V){return V.reduce((J,z)=>J.then(()=>b(z)),Promise.resolve())}return vt}function DP(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=>Nr(c,l))?s.push(l):n.push(l));const a=e.matched[o];a&&(t.matched.find(c=>Nr(c,a))||r.push(a))}return[n,s,r]}function F1(){return _t(la)}function $1(e){return _t(hf)}function FP(e){return document.readyState==="loading"?new Promise(t=>{document.addEventListener("DOMContentLoaded",()=>t(e))}):Promise.resolve(e)}const $P=Lt({setup(e,{slots:t}){const n=Je(!1);return Yn(()=>n.value=!0),()=>n.value?t.default&&t.default({}):t.placeholder&&t.placeholder({})}});function HP(e){try{return JSON.parse(e||"{}")}catch(t){return console.error("[SSG] On state deserialization -",t,e),{}}}function VP(e,t,n,s){const{transformState:r,registerComponents:i=!0,useHead:o=!0,rootContainer:l="#app"}={};async function a(c){const u=_i(e);let f;o&&u.use(f=MA());const h=xP({history:uP(t.base),...t}),{routes:d}=t;i&&u.component("ClientOnly",$P);const p=[],g={app:u,head:f,isClient:!0,router:h,routes:d,onSSRAppRendered:()=>{},triggerOnSSRAppRendered:()=>Promise.all(p.map(S=>S())),initialState:{},transformState:r,routePath:c};await FP(),g.initialState=r?.(window.__INITIAL_STATE__||{})||HP(window.__INITIAL_STATE__),await n?.(g),u.use(h);let v,_=!0;h.beforeEach((S,P,A)=>{(_||v&&v===S.path)&&(_=!1,v=S.path,S.meta.state=g.initialState),A()});const y=g.initialState;return{...g,initialState:y}}return(async()=>{const{app:c,router:u}=await a();await u.isReady(),c.mount(l,!0)})(),a}const UP=[{path:"/",name:"/",component:()=>Qe(()=>import("./index-CrdVtfk1.js"),__vite__mapDeps([12,13,5,14,15,16,17,2,3,18,4,19,20]),import.meta.url),meta:{layout:"index-layout"}},{path:"/:all(.*)",name:"/[...all]",component:()=>Qe(()=>import("./_...all_-a-Uvc7a9.js"),__vite__mapDeps([21,22,15,16,4,23,5,24,25,26,27,28,29,30,31,2,3,32,18,14,17,33,19]),import.meta.url),meta:{layout:"board-layout"}},{path:"/about",name:"/about",component:()=>Qe(()=>import("./about-DI_NGucr.js"),[],import.meta.url)},{path:"/balloon",children:[{path:"",name:"/balloon/",component:()=>Qe(()=>import("./index-BRDPFAYp.js"),__vite__mapDeps([34,25,4,26,15,16,27,23,35,32,18,19,5]),import.meta.url),meta:{layout:"headless"}}]},{path:"/board",name:"/board",component:()=>Qe(()=>import("./board-iHKEEikR.js"),__vite__mapDeps([36,30,31,2,3,32,18,26,15,16,27,5,14,17,4,23,33,35,19]),import.meta.url),meta:{layout:"board-layout"}},{path:"/countdown",children:[{path:"",name:"/countdown/",component:()=>Qe(()=>import("./index-DEzYdclv.js"),__vite__mapDeps([37,22,15,16,4,23,5,24,35,32,18,19]),import.meta.url),meta:{layout:"headless"}}]},{path:"/hi",children:[{path:":name",name:"/hi/[name]",component:()=>Qe(()=>import("./_name_-BUzaHppL.js"),__vite__mapDeps([38,39]),import.meta.url)}]},{path:"/rating",children:[{path:"",name:"/rating/",component:()=>Qe(()=>import("./index-B0Nibdcu.js"),__vite__mapDeps([40,13,5,2,3,4,19,41]),import.meta.url),meta:{layout:"index-layout"}},{path:":all(.*)",name:"/rating/[...all]",component:()=>Qe(()=>import("./_...all_-DB8qOqv8.js"),__vite__mapDeps([42,31,2,3,4,16,27,43]),import.meta.url)}]},{path:"/resolver",children:[{path:"",name:"/resolver/",component:()=>Qe(()=>import("./index-Bng_iWYy.js"),__vite__mapDeps([44,28,5,15,16,26,27,4,23,29,35,32,18,19]),import.meta.url),meta:{layout:"headless"}}]},{path:"/test",name:"/test",component:()=>Qe(()=>import("./test-plNUzEC6.js"),__vite__mapDeps([45,32,18,39,19]),import.meta.url),meta:{layout:"home"}}];function Gn(e){return bl()?(Jc(e),!0):!1}function Da(){const e=new Set,t=i=>{e.delete(i)};return{on:i=>{e.add(i);const o=()=>t(i);return Gn(o),{off:o}},off:t,trigger:(...i)=>Promise.all(Array.from(e).map(o=>o(...i))),clear:()=>{e.clear()}}}const Fa=new WeakMap,BP=(...e)=>{var t;const n=e[0],s=(t=Ue())==null?void 0:t.proxy;if(s==null&&!Vi())throw new Error("injectLocal must be called in setup");return s&&Fa.has(s)&&n in Fa.get(s)?Fa.get(s)[n]:_t(...e)},Pr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const jP=e=>typeof e<"u",zy=e=>e!=null,WP=Object.prototype.toString,KP=e=>WP.call(e)==="[object Object]",rn=()=>{};function hr(...e){if(e.length!==1)return cm(...e);const t=e[0];return typeof t=="function"?jn(iu(()=>({get:t,set:rn}))):Je(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 Qy=e=>e();function qP(e,t={}){let n,s,r=rn;const i=a=>{clearTimeout(a),r(),r=rn};let o;return a=>{const c=oe(e),u=oe(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 XP(...e){let t=0,n,s=!0,r=rn,i,o,l,a,c;!be(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=rn)};return h=>{const d=oe(o),p=Date.now()-t,m=()=>i=h();return u(),d<=0?(t=Date.now(),m()):(p>d&&(a||!s)?(t=Date.now(),m()):l&&(i=new Promise((E,g)=>{r=c?g: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 GP(e=Qy,t={}){const{initialState:n="active"}=t,s=hr(n==="active");function r(){s.value=!1}function i(){s.value=!0}const o=(...l)=>{s.value&&e(...l)};return{isActive:jn(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 zP(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 QP(e,...t){return t.some(n=>n in e)}function lp(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function ni(e){return Array.isArray(e)?e:[e]}function YP(e){return Ue()}function JP(e,t=200,n={}){return pf(qP(t,n),e)}function ZP(e,t=200,n=!1,s=!0,r=!1){return pf(XP(t,n,s,r),e)}function e1(e,t,n={}){const{eventFilter:s=Qy,...r}=n;return ke(e,pf(s,t),r)}function t1(e,t,n={}){const{eventFilter:s,initialState:r="active",...i}=n,{eventFilter:o,pause:l,resume:a,isActive:c}=GP(s,{initialState:r});return{stop:e1(e,t,{...i,eventFilter:o}),pause:l,resume:a,isActive:c}}function mf(e,t=!0,n){YP()?Yn(e,n):t?e():Vt(e)}function Fc(e,t=!1){function n(f,{flush:h="sync",deep:d=!1,timeout:p,throwOnTimeout:m}={}){let E=null;const v=[new Promise(_=>{E=ke(e,y=>{f(y)!==t&&(E?E():Vt(()=>E?.()),_(y))},{flush:h,deep:d,immediate:!0})})];return p!=null&&v.push(op(p,m).then(()=>oe(e)).finally(()=>E?.())),Promise.race(v)}function s(f,h){if(!be(f))return n(y=>y===f,h);const{flush:d="sync",deep:p=!1,timeout:m,throwOnTimeout:E}=h??{};let g=null;const _=[new Promise(y=>{g=ke([e,f],([S,P])=>{t!==(S===P)&&(g?g():Vt(()=>g?.()),y(S))},{flush:d,deep:p,immediate:!0})})];return m!=null&&_.push(op(m,E).then(()=>oe(e)).finally(()=>(g?.(),oe(e)))),Promise.race(_)}function r(f){return n(h=>!!h,f)}function i(f){return s(null,f)}function o(f){return s(void 0,f)}function 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(oe(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(oe(e))?{toMatch:n,toContains:a,changed:c,changedTimes:u,get not(){return Fc(e,!t)}}:{toMatch:n,toBe:s,toBeTruthy:r,toBeNull:i,toBeNaN:l,toBeUndefined:o,changed:c,changedTimes:u,get not(){return Fc(e,!t)}}}function n1(e){return Fc(e)}function s1(e,t=1e3,n={}){const{immediate:s=!0,immediateCallback:r=!1}=n;let i=null;const o=Ee(!1);function l(){i&&(clearInterval(i),i=null)}function a(){o.value=!1,l()}function c(){const u=oe(t);u<=0||(o.value=!0,r&&e(),l(),o.value&&(i=setInterval(e,u)))}if(s&&Pr&&c(),be(t)||typeof t=="function"){const u=ke(t,()=>{o.value&&Pr&&c()});Gn(u)}return Gn(a),{isActive:su(o),pause:a,resume:c}}function Yy(e,t,n={}){const{immediate:s=!0,immediateCallback:r=!1}=n,i=Ee(!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)},oe(t))}return s&&(i.value=!0,Pr&&c()),Gn(a),{isPending:su(i),start:c,stop:a}}function r1(e=!1,t={}){const{truthyValue:n=!0,falsyValue:s=!1}=t,r=be(e),i=Ee(e);function o(l){if(arguments.length)return i.value=l,i.value;{const a=oe(n);return i.value=i.value===a?oe(s):a,i.value}}return r?o:[i,o]}function i1(e,t,n){return ke(e,t,{...n,immediate:!0})}function o1(e,t,n){return ke(e,t,{...n,once:!0})}const Rt=Pr?window:void 0,Jy=Pr?window.document:void 0,Zy=Pr?window.navigator:void 0;function Hs(e){var t;const n=oe(e);return(t=n?.$el)!=null?t:n}function $t(...e){const t=[],n=()=>{t.forEach(l=>l()),t.length=0},s=(l,a,c,u)=>(l.addEventListener(a,c,u),()=>l.removeEventListener(a,c,u)),r=de(()=>{const l=ni(oe(e[0])).filter(a=>a!=null);return l.every(a=>typeof a!="string")?l:void 0}),i=i1(()=>{var l,a;return[(a=(l=r.value)==null?void 0:l.map(c=>Hs(c)))!=null?a:[Rt].filter(c=>c!=null),ni(oe(r.value?e[1]:e[0])),ni(tn(r.value?e[2]:e[1])),oe(r.value?e[3]:e[2])]},([l,a,c,u])=>{if(n(),!l?.length||!a?.length||!c?.length)return;const f=KP(u)?{...u}:u;t.push(...l.flatMap(h=>a.flatMap(d=>c.map(p=>s(h,d,p,f)))))},{flush:"post"}),o=()=>{i(),n()};return Gn(n),o}function l1(){const e=Ee(!1),t=Ue();return t&&Yn(()=>{e.value=!0},t),e}function zi(e){const t=l1();return de(()=>(t.value,!!e()))}function ev(e,t,n={}){const{window:s=Rt,...r}=n;let i;const o=zi(()=>s&&"MutationObserver"in s),l=()=>{i&&(i.disconnect(),i=void 0)},a=de(()=>{const h=oe(e),d=ni(h).map(Hs).filter(zy);return new Set(d)}),c=ke(a,h=>{l(),o.value&&h.size&&(i=new MutationObserver(t),h.forEach(d=>i.observe(d,r)))},{immediate:!0,flush:"post"}),u=()=>i?.takeRecords(),f=()=>{c(),l()};return Gn(f),{isSupported:o,stop:f,takeRecords:u}}function a1(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function c1(...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=Rt,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=s,a=a1(t);return $t(r,i,u=>{u.repeat&&oe(l)||a(u)&&n(u)},o)}function H1(e,t,n={}){return c1(e,t,{...n,eventName:"keyup"})}function u1(e,t={}){const{immediate:n=!0,fpsLimit:s=void 0,window:r=Rt,once:i=!1}=t,o=Ee(!1),l=de(()=>s?1e3/oe(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(),Gn(h),{isActive:jn(o),pause:h,resume:f}}const f1=Symbol("vueuse-ssr-width");function d1(){const e=Vi()?BP(f1,null):null;return typeof e=="number"?e:void 0}function h1(e,t={}){const{window:n=Rt,ssrWidth:s=d1()}=t,r=zi(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=Ee(typeof s=="number"),o=Ee(),l=Ee(!1),a=c=>{l.value=c.matches};return Eu(()=>{if(i.value){i.value=!r.value;const c=oe(e).split(",");l.value=c.some(u=>{const f=u.includes("not all"),h=u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),d=u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(h||d);return h&&p&&(p=s>=lp(h[1])),d&&p&&(p=s<=lp(d[1])),f?!p:p});return}r.value&&(o.value=n.matchMedia(oe(e)),l.value=o.value.matches)}),$t(o,"change",a,{passive:!0}),de(()=>l.value)}function ap(e,t={}){const{controls:n=!1,navigator:s=Zy}=t,r=zi(()=>s&&"permissions"in s),i=Ee(),o=typeof e=="string"?{name:e}:e,l=Ee(),a=()=>{var u,f;l.value=(f=(u=i.value)==null?void 0:u.state)!=null?f:"prompt"};$t(i,"change",a,{passive:!0});const c=zP(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 fe(i.value)}});return c(),n?{state:l,isSupported:r,query:c}:l}function V1(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=de(()=>o.value||i),u=Ee(""),f=Ee(!1),h=Yy(()=>f.value=!1,r,{immediate:!1});async function d(){let v=!(o.value&&g(l.value));if(!v)try{u.value=await t.clipboard.readText()}catch{v=!0}v&&(u.value=E())}c.value&&n&&$t(["copy","cut"],d,{passive:!0});async function p(v=oe(s)){if(c.value&&v!=null){let _=!(o.value&&g(a.value));if(!_)try{await t.clipboard.writeText(v)}catch{_=!0}_&&m(v),u.value=v,f.value=!0,h.start()}}function m(v){const _=document.createElement("textarea");_.value=v??"",_.style.position="absolute",_.style.opacity="0",document.body.appendChild(_),_.select(),document.execCommand("copy"),_.remove()}function E(){var v,_,y;return(y=(_=(v=document?.getSelection)==null?void 0:v.call(document))==null?void 0:_.toString())!=null?y:""}function g(v){return v==="granted"||v==="prompt"}return{isSupported:c,text:u,copied:f,copy:p}}function p1(e){return JSON.parse(JSON.stringify(e))}const go=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},_o="__vueuse_ssr_handlers__",m1=g1();function g1(){return _o in go||(go[_o]=go[_o]||{}),go[_o]}function tv(e,t){return m1[e]||t}function nv(e){return h1("(prefers-color-scheme: dark)",e)}function _1(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 y1={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 v1(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=Rt,eventFilter:h,onError:d=H=>{console.error(H)},initOnMounted:p}=s,m=(u?Ee:Je)(typeof t=="function"?t():t),E=de(()=>oe(e));if(!n)try{n=tv("getDefaultStorage",()=>{var H;return(H=Rt)==null?void 0:H.localStorage})()}catch(H){d(H)}if(!n)return m;const g=oe(t),v=_1(g),_=(r=s.serializer)!=null?r:y1[v],{pause:y,resume:S}=t1(m,H=>O(H),{flush:i,deep:o,eventFilter:h});ke(E,()=>R(),{flush:i});let P=!1;const A=H=>{p&&!P||R(H)},N=H=>{p&&!P||$(H)};f&&l&&(n instanceof Storage?$t(f,"storage",A,{passive:!0}):$t(f,cp,N)),p?mf(()=>{P=!0,R()}):R();function b(H,K){if(f){const B={key:E.value,oldValue:H,newValue:K,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",B):new CustomEvent(cp,{detail:B}))}}function O(H){try{const K=n.getItem(E.value);if(H==null)b(K,null),n.removeItem(E.value);else{const B=_.write(H);K!==B&&(n.setItem(E.value,B),b(K,B))}}catch(K){d(K)}}function k(H){const K=H?H.newValue:n.getItem(E.value);if(K==null)return a&&g!=null&&n.setItem(E.value,_.write(g)),g;if(!H&&c){const B=_.read(K);return typeof c=="function"?c(B,g):v==="object"&&!Array.isArray(B)?{...g,...B}:B}else return typeof K!="string"?K:_.read(K)}function R(H){if(!(H&&H.storageArea!==n)){if(H&&H.key==null){m.value=g;return}if(!(H&&H.key!==E.value)){y();try{const K=_.write(m.value);(H===void 0||H?.newValue!==K)&&(m.value=k(H))}catch(K){d(K)}finally{H?Vt(S):S()}}}}function $(H){R(H.detail)}return m}const E1="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function b1(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=Rt,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=nv({window:r}),d=de(()=>h.value?"dark":"light"),p=a||(o==null?hr(s):v1(o,s,i,{window:r,listenToStorageChanges:l})),m=de(()=>p.value==="auto"?d.value:p.value),E=tv("updateHTMLAttrs",(y,S,P)=>{const A=typeof y=="string"?r?.document.querySelector(y):Hs(y);if(!A)return;const N=new Set,b=new Set;let O=null;if(S==="class"){const R=P.split(/\s/g);Object.values(f).flatMap($=>($||"").split(/\s/g)).filter(Boolean).forEach($=>{R.includes($)?N.add($):b.add($)})}else O={key:S,value:P};if(N.size===0&&b.size===0&&O===null)return;let k;u&&(k=r.document.createElement("style"),k.appendChild(document.createTextNode(E1)),r.document.head.appendChild(k));for(const R of N)A.classList.add(R);for(const R of b)A.classList.remove(R);O&&A.setAttribute(O.key,O.value),u&&(r.getComputedStyle(k).opacity,document.head.removeChild(k))});function g(y){var S;E(t,n,(S=f[y])!=null?S:y)}function v(y){e.onChanged?e.onChanged(y,g):g(y)}ke(m,v,{flush:"post",immediate:!0}),mf(()=>v(m.value));const _=de({get(){return c?p.value:m.value},set(y){p.value=y}});return Object.assign(_,{store:p,system:d,state:m})}function S1(e={}){const{valueDark:t="dark",valueLight:n=""}=e,s=b1({...e,onChanged:(o,l)=>{var a;e.onChanged?(a=e.onChanged)==null||a.call(e,o==="dark",l,o):l(o)},modes:{dark:t,light:n}}),r=de(()=>s.system.value);return de({get(){return s.value==="dark"},set(o){const l=o?"dark":"light";r.value===l?s.value="auto":s.value=l}})}function U1(e={}){const{document:t=Jy}=e;if(!t)return Ee("visible");const n=Ee(t.visibilityState);return $t(t,"visibilitychange",()=>{n.value=t.visibilityState},{passive:!0}),n}function T1(e,t,n={}){const{root:s,rootMargin:r="0px",threshold:i=0,window:o=Rt,immediate:l=!0}=n,a=zi(()=>o&&"IntersectionObserver"in o),c=de(()=>{const p=oe(e);return ni(p).map(Hs).filter(zy)});let u=rn;const f=Ee(l),h=a.value?ke(()=>[c.value,Hs(s),f.value],([p,m])=>{if(u(),!f.value||!p.length)return;const E=new IntersectionObserver(t,{root:Hs(m),rootMargin:r,threshold:i});p.forEach(g=>g&&E.observe(g)),u=()=>{E.disconnect(),u=rn}},{immediate:l,flush:"post"}):rn,d=()=>{u(),h(),f.value=!1};return Gn(d),{isSupported:a,isActive:f,pause(){u(),f.value=!1},resume(){f.value=!0},stop:d}}function B1(e,t={}){const{window:n=Rt,scrollTarget:s,threshold:r=0,rootMargin:i,once:o=!1}=t,l=Ee(!1),{stop:a}=T1(e,c=>{let u=l.value,f=0;for(const h of c)h.time>=f&&(f=h.time,u=h.isIntersecting);l.value=u,o&&o1(l,()=>{a()})},{root:s,window:n,threshold:r,rootMargin:oe(i)});return l}const w1={json:"application/json",text:"text/plain"};function up(e){return e&&QP(e,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}function $a(e){return typeof Headers<"u"&&e instanceof Headers?Object.fromEntries(e.entries()):e}function j1(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=(s=(n=Rt)==null?void 0:n.fetch)!=null?s:globalThis?.fetch,initialData:c,timeout:u}=o,f=Da(),h=Da(),d=Da(),p=Ee(!1),m=Ee(!1),E=Ee(!1),g=Ee(null),v=Ee(null),_=Ee(null),y=Ee(c||null),S=de(()=>r&&m.value);let P,A;const N=q=>{r&&(P?.abort(q),P=new AbortController,P.signal.onabort=()=>E.value=!0,i={...i,signal:P.signal})},b=q=>{m.value=q,p.value=!q};u&&(A=Yy(N,u,{immediate:!1}));let O=0;const k=async(q=!1)=>{var X,te;N(),b(!0),_.value=null,g.value=null,E.value=!1,O+=1;const Ce=O,Oe={method:l.method,headers:{}},xe=oe(l.payload);if(xe){const ye=$a(Oe.headers),V=Object.getPrototypeOf(xe);!l.payloadType&&xe&&(V===Object.prototype||Array.isArray(V))&&!(xe instanceof FormData)&&(l.payloadType="json"),l.payloadType&&(ye["Content-Type"]=(X=w1[l.payloadType])!=null?X:l.payloadType),Oe.body=l.payloadType==="json"?JSON.stringify(xe):xe}let Mt=!1;const et={url:oe(e),options:{...Oe,...i},cancel:()=>{Mt=!0}};if(o.beforeFetch&&Object.assign(et,await o.beforeFetch(et)),Mt||!a)return b(!1),Promise.resolve(null);let vt=null;return A&&A.start(),a(et.url,{...Oe,...et.options,headers:{...$a(Oe.headers),...$a((te=et.options)==null?void 0:te.headers)}}).then(async ye=>{if(v.value=ye,g.value=ye.status,vt=await ye.clone()[l.type](),!ye.ok)throw y.value=c||null,new Error(ye.statusText);return o.afterFetch&&({data:vt}=await o.afterFetch({data:vt,response:ye,context:et,execute:k})),y.value=vt,f.trigger(ye),ye}).catch(async ye=>{let V=ye.message||ye.name;if(o.onFetchError&&({error:V,data:vt}=await o.onFetchError({data:vt,error:ye,response:v.value,context:et,execute:k})),_.value=V,o.updateDataOnError&&(y.value=vt),h.trigger(ye),q)throw ye;return null}).finally(()=>{Ce===O&&b(!1),A&&A.stop(),d.trigger(null)})},R=hr(o.refetch);ke([R,hr(e)],([q])=>q&&k(),{deep:!0});const $={isFinished:jn(p),isFetching:jn(m),statusCode:g,response:v,error:_,data:y,canAbort:S,aborted:E,abort:N,execute:k,onFetchResponse:f.on,onFetchError:h.on,onFetchFinally:d.on,get:H("GET"),put:H("PUT"),post:H("POST"),delete:H("DELETE"),patch:H("PATCH"),head:H("HEAD"),options:H("OPTIONS"),json:B("json"),text:B("text"),blob:B("blob"),arrayBuffer:B("arrayBuffer"),formData:B("formData")};function H(q){return(X,te)=>{if(!m.value)return l.method=q,l.payload=X,l.payloadType=te,be(l.payload)&&ke([R,hr(l.payload)],([Ce])=>Ce&&k(),{deep:!0}),{...$,then(Ce,Oe){return K().then(Ce,Oe)}}}}function K(){return new Promise((q,X)=>{n1(p).toBe(!0).then(()=>q($)).catch(X)})}function B(q){return()=>{if(!m.value)return l.type=q,{...$,then(X,te){return K().then(X,te)}}}}return o.immediate&&Promise.resolve().then(()=>k()),{...$,then(q,X){return K().then(q,X)}}}const fp=1;function C1(e,t={}){const{throttle:n=0,idle:s=200,onStop:r=rn,onScroll:i=rn,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=Rt,onError:f=b=>{console.error(b)}}=t,h=typeof l=="boolean"?{mutation:l}:l,d=Ee(0),p=Ee(0),m=de({get(){return d.value},set(b){g(b,void 0)}}),E=de({get(){return p.value},set(b){g(void 0,b)}});function g(b,O){var k,R,$,H;if(!u)return;const K=oe(e);if(!K)return;($=K instanceof Document?u.document.body:K)==null||$.scrollTo({top:(k=oe(O))!=null?k:E.value,left:(R=oe(b))!=null?R:m.value,behavior:oe(c)});const B=((H=K?.document)==null?void 0:H.documentElement)||K?.documentElement||K;m!=null&&(d.value=B.scrollLeft),E!=null&&(p.value=B.scrollTop)}const v=Ee(!1),_=En({left:!0,right:!1,top:!0,bottom:!1}),y=En({left:!1,right:!1,top:!1,bottom:!1}),S=b=>{v.value&&(v.value=!1,y.left=!1,y.right=!1,y.top=!1,y.bottom=!1,r(b))},P=JP(S,n+s),A=b=>{var O;if(!u)return;const k=((O=b?.document)==null?void 0:O.documentElement)||b?.documentElement||Hs(b),{display:R,flexDirection:$,direction:H}=getComputedStyle(k),K=H==="rtl"?-1:1,B=k.scrollLeft;y.left=B<d.value,y.right=B>d.value;const q=Math.abs(B*K)<=(o.left||0),X=Math.abs(B*K)+k.clientWidth>=k.scrollWidth-(o.right||0)-fp;R==="flex"&&$==="row-reverse"?(_.left=X,_.right=q):(_.left=q,_.right=X),d.value=B;let te=k.scrollTop;b===u.document&&!te&&(te=u.document.body.scrollTop),y.top=te<p.value,y.bottom=te>p.value;const Ce=Math.abs(te)<=(o.top||0),Oe=Math.abs(te)+k.clientHeight>=k.scrollHeight-(o.bottom||0)-fp;R==="flex"&&$==="column-reverse"?(_.top=Oe,_.bottom=Ce):(_.top=Ce,_.bottom=Oe),p.value=te},N=b=>{var O;if(!u)return;const k=(O=b.target.documentElement)!=null?O:b.target;A(k),v.value=!0,P(b),i(b)};return $t(e,"scroll",n?ZP(N,n,!0,!1):N,a),mf(()=>{try{const b=oe(e);if(!b)return;A(b)}catch(b){f(b)}}),h?.mutation&&e!=null&&e!==u&&e!==document&&ev(e,()=>{const b=oe(e);b&&A(b)},{attributes:!0,childList:!0,subtree:!0}),$t(e,"scrollend",S,a),{x:m,y:E,isScrolling:v,arrivedState:_,directions:y,measure(){const b=oe(e);u&&b&&A(b)}}}const O1={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function W1(e={}){const{reactive:t=!1,target:n=Rt,aliasMap:s=O1,passive:r=!0,onEventFired:i=rn}=e,o=En(new Set),l={toJSON(){return{}},current:o},a=t?En(l):l,c=new Set,u=new Set,f=new Set;function h(E,g){E in a&&(t?a[E]=g:a[E].value=g)}function d(){o.clear();for(const E of f)h(E,!1)}function p(E,g){var v,_;const y=(v=E.key)==null?void 0:v.toLowerCase(),P=[(_=E.code)==null?void 0:_.toLowerCase(),y].filter(Boolean);y&&(g?o.add(y):o.delete(y));for(const A of P)f.add(A),h(A,g);if(y==="shift"&&!g){const A=Array.from(u),N=A.indexOf("shift");A.forEach((b,O)=>{O>=N&&(o.delete(b),h(b,!1))}),u.clear()}else typeof E.getModifierState=="function"&&E.getModifierState("Shift")&&g&&[...o,...P].forEach(A=>u.add(A));y==="meta"&&!g?(c.forEach(A=>{o.delete(A),h(A,!1)}),c.clear()):typeof E.getModifierState=="function"&&E.getModifierState("Meta")&&g&&[...o,...P].forEach(A=>c.add(A))}$t(n,"keydown",E=>(p(E,!0),i(E)),{passive:r}),$t(n,"keyup",E=>(p(E,!1),i(E)),{passive:r}),$t("blur",d,{passive:r}),$t("focus",d,{passive:r});const m=new Proxy(a,{get(E,g,v){if(typeof g!="string")return Reflect.get(E,g,v);if(g=g.toLowerCase(),g in s&&(g=s[g]),!(g in a))if(/[+_-]/.test(g)){const y=g.split(/[+_-]/g).map(S=>S.trim());a[g]=de(()=>y.map(S=>oe(m[S])).every(Boolean))}else a[g]=Ee(!1);const _=Reflect.get(E,g,v);return t?oe(_):_}});return m}function K1(e={}){const{controls:t=!1,interval:n="requestAnimationFrame",immediate:s=!0}=e,r=Je(new Date),i=()=>r.value=new Date,o=n==="requestAnimationFrame"?u1(i,{immediate:s}):s1(i,n,{immediate:s});return t?{now:r,...o}:r}function q1(e=null,t={}){var n,s,r;const{document:i=Jy,restoreOnUnmount:o=f=>f}=t,l=(n=i?.title)!=null?n:"",a=hr((s=e??i?.title)!=null?s:null),c=!!(e&&typeof e=="function");function u(f){if(!("titleTemplate"in t))return f;const h=t.titleTemplate||"%s";return typeof h=="function"?h(f):oe(h).replace(/%s/g,f)}return ke(a,(f,h)=>{f!==h&&i&&(i.title=u(f??""))},{immediate:!0}),t.observe&&!t.titleTemplate&&i&&!c&&ev((r=i.head)==null?void 0:r.querySelector("title"),()=>{i&&i.title!==a.value&&(a.value=u(i.title))},{childList:!0}),Gn(()=>{if(o){const f=o(l,a.value||"");f!=null&&i&&(i.title=f)}}),a}function X1(e,t,n,s={}){var r,i,o;const{clone:l=!1,passive:a=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:h}=s,d=Ue(),p=d?.emit||((r=d?.$emit)==null?void 0:r.bind(d))||((o=(i=d?.proxy)==null?void 0:i.$emit)==null?void 0:o.bind(d?.proxy));let m=c;t||(t="modelValue"),m=m||`update:${t.toString()}`;const E=_=>l?typeof l=="function"?l(_):p1(_):_,g=()=>jP(e[t])?E(e[t]):f,v=_=>{h?h(_)&&p(m,_):p(m,_)};if(a){const _=g(),y=Je(_);let S=!1;return ke(()=>e[t],P=>{S||(S=!0,y.value=E(P),Vt(()=>S=!1))}),ke(y,P=>{!S&&(P!==e[t]||u)&&v(P)},{deep:u}),y}else return de({get(){return g()},set(_){v(_)}})}function G1(e={}){const{window:t=Rt,...n}=e;return C1(t,n)}const sv=S1(),z1=r1(sv),N1=nv(),A1=Lt({__name:"App",setup(e){return RA({title:"Board - XCPCIO",meta:[{name:"theme-color",content:()=>sv.value?"#00aba9":"#ffffff"}],link:[{rel:"icon",type:"image/svg+xml",href:()=>N1.value?"/favicon-dark.svg":"/favicon.svg"}]}),(t,n)=>{const s=Us("RouterView");return Ct(),qn(s)}}});VP(A1,{routes:cA(UP),base:"/"},e=>{Object.values([rw,cw,Tw,Cw,AO]).forEach(t=>t.install?.(e)),e.app.use(aA),e.app.use(lN)});export{ZP as $,q1 as A,j1 as B,ke as C,Hi as D,AS as E,Ke as F,qn as G,F1 as H,RA as I,TT as J,Dn as K,Au as L,qg as M,hi as N,wu as O,Vt as P,v1 as Q,P1 as R,CO as S,g0 as T,V1 as U,C0 as V,Yn as W,s1 as X,c1 as Y,U1 as Z,Qe as _,Re as a,Eu as a0,W1 as a1,Rg as a2,SO as a3,H1 as a4,ea as a5,BO as a6,xO as a7,R1 as a8,wc as a9,Ue as aA,X1 as aB,Qt as aa,Gi as ab,MO as ac,kO as ad,Tc as ae,ny as af,GO as ag,$O as ah,Tt as ai,Vi as aj,_t as ak,eN as al,ae as am,nu as an,En as ao,D1 as ap,Jc as aq,L1 as ar,su as as,jn as at,am as au,Gn as av,iu as aw,oe as ax,I1 as ay,Pg as az,pn as b,gr as c,Lt as d,G1 as e,de as f,$1 as g,tn as h,nw as i,Su as j,vl as k,Kg as l,Je as m,zn as n,Ct as o,B1 as p,tc as q,Us as r,K1 as s,z1 as t,Nu as u,sS as v,Vs as w,zo as x,kl as y,be as z};
|
|
67
|
+
*/const or=typeof document<"u";function Fy(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function kA(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Fy(e.default)}const Ne=Object.assign;function Ma(e,t){const n={};for(const s in t){const r=t[s];n[s]=ln(r)?r.map(e):e(r)}return n}const ei=()=>{},ln=Array.isArray,$y=/#/g,xA=/&/g,DA=/\//g,FA=/=/g,$A=/\?/g,Hy=/\+/g,HA=/%5B/g,VA=/%5D/g,Vy=/%5E/g,UA=/%60/g,Uy=/%7B/g,BA=/%7C/g,By=/%7D/g,jA=/%20/g;function df(e){return encodeURI(""+e).replace(BA,"|").replace(HA,"[").replace(VA,"]")}function WA(e){return df(e).replace(Uy,"{").replace(By,"}").replace(Vy,"^")}function kc(e){return df(e).replace(Hy,"%2B").replace(jA,"+").replace($y,"%23").replace(xA,"%26").replace(UA,"`").replace(Uy,"{").replace(By,"}").replace(Vy,"^")}function KA(e){return kc(e).replace(FA,"%3D")}function qA(e){return df(e).replace($y,"%23").replace($A,"%3F")}function XA(e){return e==null?"":qA(e).replace(DA,"%2F")}function Li(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const GA=/\/$/,zA=e=>e.replace(GA,"");function ka(e,t,n="/"){let s,r={},i="",o="";const l=t.indexOf("#");let a=t.indexOf("?");return l<a&&l>=0&&(a=-1),a>-1&&(s=t.slice(0,a),i=t.slice(a+1,l>-1?l:t.length),r=e(i)),l>-1&&(s=s||t.slice(0,l),o=t.slice(l,t.length)),s=ZA(s??t,n),{fullPath:s+(i&&"?")+i+o,path:s,query:r,hash:Li(o)}}function QA(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function jh(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function YA(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Nr(t.matched[s],n.matched[r])&&jy(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Nr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function jy(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!JA(e[n],t[n]))return!1;return!0}function JA(e,t){return ln(e)?Wh(e,t):ln(t)?Wh(t,e):e===t}function Wh(e,t){return ln(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function ZA(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 es={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Mi;(function(e){e.pop="pop",e.push="push"})(Mi||(Mi={}));var ti;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ti||(ti={}));function eP(e){if(!e)if(or){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),zA(e)}const tP=/^[^#]+#/;function nP(e,t){return e.replace(tP,"#")+t}function sP(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 oa=()=>({left:window.scrollX,top:window.scrollY});function rP(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=sP(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 Kh(e,t){return(history.state?history.state.position-t:-1)+e}const xc=new Map;function iP(e,t){xc.set(e,t)}function oP(e){const t=xc.get(e);return xc.delete(e),t}let lP=()=>location.protocol+"//"+location.host;function Wy(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let l=r.includes(e.slice(i))?e.slice(i).length:1,a=r.slice(l);return a[0]!=="/"&&(a="/"+a),jh(a,"")}return jh(n,e)+s+r}function aP(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(g=>{g(n.value,p,{delta:E,type:Mi.pop,direction:E?E>0?ti.forward:ti.back:ti.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(){const{history:h}=window;h.state&&h.replaceState(Ne({},h.state,{scroll:oa()}),"")}function f(){for(const h of i)h();i=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:a,listen:c,destroy:f}}function qh(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?oa():null}}function cP(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:lP()+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){const u=Ne({},t.state,qh(r.value.back,a,r.value.forward,!0),c,{position:r.value.position});i(a,u,!0),s.value=a}function l(a,c){const u=Ne({},r.value,t.state,{forward:a,scroll:oa()});i(u.current,u,!0);const f=Ne({},qh(s.value,a,null),{position:u.position+1},c);i(a,f,!1),s.value=a}return{location:s,state:r,push:l,replace:o}}function uP(e){e=eP(e);const t=cP(e),n=aP(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=Ne({location:"",base:e,go:s,createHref:nP.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}function fP(e){return typeof e=="string"||e&&typeof e=="object"}function Ky(e){return typeof e=="string"||typeof e=="symbol"}const qy=Symbol("");var Xh;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Xh||(Xh={}));function Ar(e,t){return Ne(new Error,{type:e,[qy]:!0},t)}function On(e,t){return e instanceof Error&&qy in e&&(t==null||!!(e.type&t))}const Gh="[^/]+?",dP={sensitive:!1,strict:!1,start:!0,end:!0},hP=/[.+*?^${}()[\]/\\]/g;function pP(e,t){const n=Ne({},dP,t),s=[];let r=n.start?"^":"";const i=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let f=0;f<c.length;f++){const h=c[f];let d=40+(n.sensitive?.25:0);if(h.type===0)f||(r+="/"),r+=h.value.replace(hP,"\\$&"),d+=40;else if(h.type===1){const{value:p,repeatable:m,optional:E,regexp:g}=h;i.push({name:p,repeatable:m,optional:E});const v=g||Gh;if(v!==Gh){d+=10;try{new RegExp(`(${v})`)}catch(y){throw new Error(`Invalid custom RegExp for param "${p}" (${v}): `+y.message)}}let _=m?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;f||(_=E&&c.length<2?`(?:/${_})`:"/"+_),E&&(_+="?"),r+=_,d+=20,E&&(d+=-8),m&&(d+=-20),v===".*"&&(d+=-50)}u.push(d)}s.push(u)}if(n.strict&&n.end){const c=s.length-1;s[c][s[c].length-1]+=.7000000000000001}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===0)u+=d.value;else if(d.type===1){const{value:p,repeatable:m,optional:E}=d,g=p in c?c[p]:"";if(ln(g)&&!m)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const v=ln(g)?g.join("/"):g;if(!v)if(E)h.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=v}}return u||"/"}return{re:o,score:s,keys:i,parse:l,stringify:a}}function mP(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]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Xy(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=mP(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(zh(s))return 1;if(zh(r))return-1}return r.length-s.length}function zh(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const gP={type:0,value:""},_P=/[a-zA-Z0-9_]/;function yP(e){if(!e)return[[]];if(e==="/")return[[gP]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${n})/"${c}": ${d}`)}let n=0,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let l=0,a,c="",u="";function f(){c&&(n===0?i.push({type:0,value:c}):n===1||n===2||n===3?(i.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,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!==2){s=n,n=4;continue}switch(n){case 0:a==="/"?(c&&f(),o()):a===":"?(f(),n=1):h();break;case 4:h(),n=s;break;case 1:a==="("?n=2:_P.test(a)?h():(f(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&l--);break;case 2:a===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+a:n=3:u+=a;break;case 3:f(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&l--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),o(),r}function vP(e,t,n){const s=pP(yP(e.path),n),r=Ne(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function EP(e,t){const n=[],s=new Map;t=Zh({strict:!1,end:!0,sensitive:!1},t);function r(f){return s.get(f)}function i(f,h,d){const p=!d,m=Yh(f);m.aliasOf=d&&d.record;const E=Zh(t,f),g=[m];if("alias"in f){const y=typeof f.alias=="string"?[f.alias]:f.alias;for(const S of y)g.push(Yh(Ne({},m,{components:d?d.record.components:m.components,path:S,aliasOf:d?d.record:m})))}let v,_;for(const y of g){const{path:S}=y;if(h&&S[0]!=="/"){const P=h.record.path,A=P[P.length-1]==="/"?"":"/";y.path=h.record.path+(S&&A+S)}if(v=vP(y,h,E),d?d.alias.push(v):(_=_||v,_!==v&&_.alias.push(v),p&&f.name&&!Jh(v)&&o(f.name)),Gy(v)&&a(v),m.children){const P=m.children;for(let A=0;A<P.length;A++)i(P[A],v,d&&d.children[A])}d=d||v}return _?()=>{o(_)}:ei}function o(f){if(Ky(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=TP(f,n);n.splice(h,0,f),f.record.name&&!Jh(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 Ar(1,{location:f});E=d.record.name,p=Ne(Qh(h.params,d.keys.filter(_=>!_.optional).concat(d.parent?d.parent.keys.filter(_=>_.optional):[]).map(_=>_.name)),f.params&&Qh(f.params,d.keys.map(_=>_.name))),m=d.stringify(p)}else if(f.path!=null)m=f.path,d=n.find(_=>_.re.test(m)),d&&(p=d.parse(m),E=d.record.name);else{if(d=h.name?s.get(h.name):n.find(_=>_.re.test(h.path)),!d)throw Ar(1,{location:f,currentLocation:h});E=d.record.name,p=Ne({},h.params,f.params),m=d.stringify(p)}const g=[];let v=d;for(;v;)g.unshift(v.record),v=v.parent;return{name:E,path:m,params:p,matched:g,meta:SP(g)}}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 Qh(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Yh(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:bP(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 bP(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 Jh(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function SP(e){return e.reduce((t,n)=>Ne(t,n.meta),{})}function Zh(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function TP(e,t){let n=0,s=t.length;for(;n!==s;){const i=n+s>>1;Xy(e,t[i])<0?s=i:n=i+1}const r=wP(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function wP(e){let t=e;for(;t=t.parent;)if(Gy(t)&&Xy(e,t)===0)return t}function Gy({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function CP(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const i=s[r].replace(Hy," "),o=i.indexOf("="),l=Li(o<0?i:i.slice(0,o)),a=o<0?null:Li(i.slice(o+1));if(l in t){let c=t[l];ln(c)||(c=t[l]=[c]),c.push(a)}else t[l]=a}return t}function ep(e){let t="";for(let n in e){const s=e[n];if(n=KA(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(ln(s)?s.map(i=>i&&kc(i)):[s&&kc(s)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function OP(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=ln(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const NP=Symbol(""),tp=Symbol(""),la=Symbol(""),hf=Symbol(""),Dc=Symbol("");function Hr(){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 cs(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(Ar(4,{from:n,to:t})):h instanceof Error?a(h):fP(h)?a(Ar(2,{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 xa(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(Fy(a)){const u=(a.__vccOpts||a)[t];u&&i.push(cs(u,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=kA(u)?u.default:u;o.mods[l]=u,o.components[l]=f;const d=(f.__vccOpts||f)[t];return d&&cs(d,n,s,o,l,r)()}))}}return i}function np(e){const t=_t(la),n=_t(hf),s=de(()=>{const a=tn(e.to);return t.resolve(a)}),r=de(()=>{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(Nr.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(Nr.bind(null,a[c-2])):h}),i=de(()=>r.value>-1&&LP(n.params,s.value.params)),o=de(()=>r.value>-1&&r.value===n.matched.length-1&&jy(n.params,s.value.params));function l(a={}){if(RP(a)){const c=t[tn(e.replace)?"replace":"push"](tn(e.to)).catch(ei);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:s,href:de(()=>s.value.href),isActive:i,isExactActive:o,navigate:l}}function AP(e){return e.length===1?e[0]:e}const PP=Lt({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=En(np(e)),{options:s}=_t(la),r=de(()=>({[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&&AP(t.default(n));return e.custom?i:Ys("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),IP=PP;function RP(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 LP(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(!ln(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,MP=Lt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=_t(Dc),r=de(()=>e.route||s.value),i=_t(tp,0),o=de(()=>{let c=tn(i);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),l=de(()=>r.value.matched[o.value]);qr(tp,de(()=>o.value+1)),qr(NP,l),qr(Dc,r);const a=Je();return ke(()=>[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||!Nr(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=Ys(h,Ne({},p,t,{onVnodeUnmounted:g=>{g.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 kP=MP;function xP(e){const t=EP(e.routes,e),n=e.parseQuery||CP,s=e.stringifyQuery||ep,r=e.history,i=Hr(),o=Hr(),l=Hr(),a=Ee(es);let c=es;or&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ma.bind(null,V=>""+V),f=Ma.bind(null,XA),h=Ma.bind(null,Li);function d(V,J){let z,ee;return Ky(V)?(z=t.getRecordMatcher(V),ee=J):ee=V,t.addRoute(ee,z)}function p(V){const J=t.getRecordMatcher(V);J&&t.removeRoute(J)}function m(){return t.getRoutes().map(V=>V.record)}function E(V){return!!t.getRecordMatcher(V)}function g(V,J){if(J=Ne({},J||a.value),typeof V=="string"){const I=ka(n,V,J.path),x=t.resolve({path:I.path},J),W=r.createHref(I.fullPath);return Ne(I,x,{params:h(x.params),hash:Li(I.hash),redirectedFrom:void 0,href:W})}let z;if(V.path!=null)z=Ne({},V,{path:ka(n,V.path,J.path).path});else{const I=Ne({},V.params);for(const x in I)I[x]==null&&delete I[x];z=Ne({},V,{params:f(I)}),J.params=f(J.params)}const ee=t.resolve(z,J),he=V.hash||"";ee.params=u(h(ee.params));const Pe=QA(s,Ne({},V,{hash:WA(he),path:ee.path})),w=r.createHref(Pe);return Ne({fullPath:Pe,hash:he,query:s===ep?OP(V.query):V.query||{}},ee,{redirectedFrom:void 0,href:w})}function v(V){return typeof V=="string"?ka(n,V,a.value.path):Ne({},V)}function _(V,J){if(c!==V)return Ar(8,{from:J,to:V})}function y(V){return A(V)}function S(V){return y(Ne(v(V),{replace:!0}))}function P(V){const J=V.matched[V.matched.length-1];if(J&&J.redirect){const{redirect:z}=J;let ee=typeof z=="function"?z(V):z;return typeof ee=="string"&&(ee=ee.includes("?")||ee.includes("#")?ee=v(ee):{path:ee},ee.params={}),Ne({query:V.query,hash:V.hash,params:ee.path!=null?{}:V.params},ee)}}function A(V,J){const z=c=g(V),ee=a.value,he=V.state,Pe=V.force,w=V.replace===!0,I=P(z);if(I)return A(Ne(v(I),{state:typeof I=="object"?Ne({},he,I.state):he,force:Pe,replace:w}),J||z);const x=z;x.redirectedFrom=J;let W;return!Pe&&YA(s,ee,z)&&(W=Ar(16,{to:x,from:ee}),Oe(ee,ee,!0,!1)),(W?Promise.resolve(W):O(x,ee)).catch(U=>On(U)?On(U,2)?U:Ce(U):X(U,x,ee)).then(U=>{if(U){if(On(U,2))return A(Ne({replace:w},v(U.to),{state:typeof U.to=="object"?Ne({},he,U.to.state):he,force:Pe}),J||x)}else U=R(x,ee,!0,w,he);return k(x,ee,U),U})}function N(V,J){const z=_(V,J);return z?Promise.reject(z):Promise.resolve()}function b(V){const J=et.values().next().value;return J&&typeof J.runWithContext=="function"?J.runWithContext(V):V()}function O(V,J){let z;const[ee,he,Pe]=DP(V,J);z=xa(ee.reverse(),"beforeRouteLeave",V,J);for(const I of ee)I.leaveGuards.forEach(x=>{z.push(cs(x,V,J))});const w=N.bind(null,V,J);return z.push(w),ye(z).then(()=>{z=[];for(const I of i.list())z.push(cs(I,V,J));return z.push(w),ye(z)}).then(()=>{z=xa(he,"beforeRouteUpdate",V,J);for(const I of he)I.updateGuards.forEach(x=>{z.push(cs(x,V,J))});return z.push(w),ye(z)}).then(()=>{z=[];for(const I of Pe)if(I.beforeEnter)if(ln(I.beforeEnter))for(const x of I.beforeEnter)z.push(cs(x,V,J));else z.push(cs(I.beforeEnter,V,J));return z.push(w),ye(z)}).then(()=>(V.matched.forEach(I=>I.enterCallbacks={}),z=xa(Pe,"beforeRouteEnter",V,J,b),z.push(w),ye(z))).then(()=>{z=[];for(const I of o.list())z.push(cs(I,V,J));return z.push(w),ye(z)}).catch(I=>On(I,8)?I:Promise.reject(I))}function k(V,J,z){l.list().forEach(ee=>b(()=>ee(V,J,z)))}function R(V,J,z,ee,he){const Pe=_(V,J);if(Pe)return Pe;const w=J===es,I=or?history.state:{};z&&(ee||w?r.replace(V.fullPath,Ne({scroll:w&&I&&I.scroll},he)):r.push(V.fullPath,he)),a.value=V,Oe(V,J,z,w),Ce()}let $;function H(){$||($=r.listen((V,J,z)=>{if(!vt.listening)return;const ee=g(V),he=P(ee);if(he){A(Ne(he,{replace:!0,force:!0}),ee).catch(ei);return}c=ee;const Pe=a.value;or&&iP(Kh(Pe.fullPath,z.delta),oa()),O(ee,Pe).catch(w=>On(w,12)?w:On(w,2)?(A(Ne(v(w.to),{force:!0}),ee).then(I=>{On(I,20)&&!z.delta&&z.type===Mi.pop&&r.go(-1,!1)}).catch(ei),Promise.reject()):(z.delta&&r.go(-z.delta,!1),X(w,ee,Pe))).then(w=>{w=w||R(ee,Pe,!1),w&&(z.delta&&!On(w,8)?r.go(-z.delta,!1):z.type===Mi.pop&&On(w,20)&&r.go(-1,!1)),k(ee,Pe,w)}).catch(ei)}))}let K=Hr(),B=Hr(),q;function X(V,J,z){Ce(V);const ee=B.list();return ee.length?ee.forEach(he=>he(V,J,z)):console.error(V),Promise.reject(V)}function te(){return q&&a.value!==es?Promise.resolve():new Promise((V,J)=>{K.add([V,J])})}function Ce(V){return q||(q=!V,H(),K.list().forEach(([J,z])=>V?z(V):J()),K.reset()),V}function Oe(V,J,z,ee){const{scrollBehavior:he}=e;if(!or||!he)return Promise.resolve();const Pe=!z&&oP(Kh(V.fullPath,0))||(ee||!z)&&history.state&&history.state.scroll||null;return Vt().then(()=>he(V,J,Pe)).then(w=>w&&rP(w)).catch(w=>X(w,V,J))}const xe=V=>r.go(V);let Mt;const et=new Set,vt={currentRoute:a,listening:!0,addRoute:d,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:E,getRoutes:m,resolve:g,options:e,push:y,replace:S,go:xe,back:()=>xe(-1),forward:()=>xe(1),beforeEach:i.add,beforeResolve:o.add,afterEach:l.add,onError:B.add,isReady:te,install(V){const J=this;V.component("RouterLink",IP),V.component("RouterView",kP),V.config.globalProperties.$router=J,Object.defineProperty(V.config.globalProperties,"$route",{enumerable:!0,get:()=>tn(a)}),or&&!Mt&&a.value===es&&(Mt=!0,y(r.location).catch(he=>{}));const z={};for(const he in es)Object.defineProperty(z,he,{get:()=>a.value[he],enumerable:!0});V.provide(la,J),V.provide(hf,nu(z)),V.provide(Dc,a);const ee=V.unmount;et.add(V),V.unmount=function(){et.delete(V),et.size<1&&(c=es,$&&$(),$=null,a.value=es,Mt=!1,q=!1),ee()}}};function ye(V){return V.reduce((J,z)=>J.then(()=>b(z)),Promise.resolve())}return vt}function DP(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=>Nr(c,l))?s.push(l):n.push(l));const a=e.matched[o];a&&(t.matched.find(c=>Nr(c,a))||r.push(a))}return[n,s,r]}function F1(){return _t(la)}function $1(e){return _t(hf)}function FP(e){return document.readyState==="loading"?new Promise(t=>{document.addEventListener("DOMContentLoaded",()=>t(e))}):Promise.resolve(e)}const $P=Lt({setup(e,{slots:t}){const n=Je(!1);return Yn(()=>n.value=!0),()=>n.value?t.default&&t.default({}):t.placeholder&&t.placeholder({})}});function HP(e){try{return JSON.parse(e||"{}")}catch(t){return console.error("[SSG] On state deserialization -",t,e),{}}}function VP(e,t,n,s){const{transformState:r,registerComponents:i=!0,useHead:o=!0,rootContainer:l="#app"}={};async function a(c){const u=_i(e);let f;o&&u.use(f=MA());const h=xP({history:uP(t.base),...t}),{routes:d}=t;i&&u.component("ClientOnly",$P);const p=[],g={app:u,head:f,isClient:!0,router:h,routes:d,onSSRAppRendered:()=>{},triggerOnSSRAppRendered:()=>Promise.all(p.map(S=>S())),initialState:{},transformState:r,routePath:c};await FP(),g.initialState=r?.(window.__INITIAL_STATE__||{})||HP(window.__INITIAL_STATE__),await n?.(g),u.use(h);let v,_=!0;h.beforeEach((S,P,A)=>{(_||v&&v===S.path)&&(_=!1,v=S.path,S.meta.state=g.initialState),A()});const y=g.initialState;return{...g,initialState:y}}return(async()=>{const{app:c,router:u}=await a();await u.isReady(),c.mount(l,!0)})(),a}const UP=[{path:"/",name:"/",component:()=>Qe(()=>import("./index-BKVhu7Tw.js"),__vite__mapDeps([12,13,5,14,15,16,17,2,3,18,4,19,20]),import.meta.url),meta:{layout:"index-layout"}},{path:"/:all(.*)",name:"/[...all]",component:()=>Qe(()=>import("./_...all_-DMSafAfm.js"),__vite__mapDeps([21,22,15,16,4,23,5,24,25,26,27,28,29,30,31,2,3,32,18,14,17,33,19]),import.meta.url),meta:{layout:"board-layout"}},{path:"/about",name:"/about",component:()=>Qe(()=>import("./about-BR3jUE0_.js"),[],import.meta.url)},{path:"/balloon",children:[{path:"",name:"/balloon/",component:()=>Qe(()=>import("./index-DDXtBC57.js"),__vite__mapDeps([34,25,4,26,15,16,27,23,35,32,18,19,5]),import.meta.url),meta:{layout:"headless"}}]},{path:"/board",name:"/board",component:()=>Qe(()=>import("./board-q5on1RUR.js"),__vite__mapDeps([36,30,31,2,3,32,18,26,15,16,27,5,14,17,4,23,33,35,19]),import.meta.url),meta:{layout:"board-layout"}},{path:"/countdown",children:[{path:"",name:"/countdown/",component:()=>Qe(()=>import("./index-DwDo-flU.js"),__vite__mapDeps([37,22,15,16,4,23,5,24,35,32,18,19]),import.meta.url),meta:{layout:"headless"}}]},{path:"/hi",children:[{path:":name",name:"/hi/[name]",component:()=>Qe(()=>import("./_name_-BmEIkMG7.js"),__vite__mapDeps([38,39]),import.meta.url)}]},{path:"/rating",children:[{path:"",name:"/rating/",component:()=>Qe(()=>import("./index-DF3noR7O.js"),__vite__mapDeps([40,13,5,2,3,4,19,41]),import.meta.url),meta:{layout:"index-layout"}},{path:":all(.*)",name:"/rating/[...all]",component:()=>Qe(()=>import("./_...all_-CtqfVkht.js"),__vite__mapDeps([42,31,2,3,4,16,27,43]),import.meta.url)}]},{path:"/resolver",children:[{path:"",name:"/resolver/",component:()=>Qe(()=>import("./index-D7Dv5u2i.js"),__vite__mapDeps([44,28,5,15,16,26,27,4,23,29,35,32,18,19]),import.meta.url),meta:{layout:"headless"}}]},{path:"/test",name:"/test",component:()=>Qe(()=>import("./test-2P7EDOc4.js"),__vite__mapDeps([45,32,18,39,19]),import.meta.url),meta:{layout:"home"}}];function Gn(e){return bl()?(Jc(e),!0):!1}function Da(){const e=new Set,t=i=>{e.delete(i)};return{on:i=>{e.add(i);const o=()=>t(i);return Gn(o),{off:o}},off:t,trigger:(...i)=>Promise.all(Array.from(e).map(o=>o(...i))),clear:()=>{e.clear()}}}const Fa=new WeakMap,BP=(...e)=>{var t;const n=e[0],s=(t=Ue())==null?void 0:t.proxy;if(s==null&&!Vi())throw new Error("injectLocal must be called in setup");return s&&Fa.has(s)&&n in Fa.get(s)?Fa.get(s)[n]:_t(...e)},Pr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const jP=e=>typeof e<"u",zy=e=>e!=null,WP=Object.prototype.toString,KP=e=>WP.call(e)==="[object Object]",rn=()=>{};function hr(...e){if(e.length!==1)return cm(...e);const t=e[0];return typeof t=="function"?jn(iu(()=>({get:t,set:rn}))):Je(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 Qy=e=>e();function qP(e,t={}){let n,s,r=rn;const i=a=>{clearTimeout(a),r(),r=rn};let o;return a=>{const c=oe(e),u=oe(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 XP(...e){let t=0,n,s=!0,r=rn,i,o,l,a,c;!be(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=rn)};return h=>{const d=oe(o),p=Date.now()-t,m=()=>i=h();return u(),d<=0?(t=Date.now(),m()):(p>d&&(a||!s)?(t=Date.now(),m()):l&&(i=new Promise((E,g)=>{r=c?g: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 GP(e=Qy,t={}){const{initialState:n="active"}=t,s=hr(n==="active");function r(){s.value=!1}function i(){s.value=!0}const o=(...l)=>{s.value&&e(...l)};return{isActive:jn(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 zP(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 QP(e,...t){return t.some(n=>n in e)}function lp(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function ni(e){return Array.isArray(e)?e:[e]}function YP(e){return Ue()}function JP(e,t=200,n={}){return pf(qP(t,n),e)}function ZP(e,t=200,n=!1,s=!0,r=!1){return pf(XP(t,n,s,r),e)}function e1(e,t,n={}){const{eventFilter:s=Qy,...r}=n;return ke(e,pf(s,t),r)}function t1(e,t,n={}){const{eventFilter:s,initialState:r="active",...i}=n,{eventFilter:o,pause:l,resume:a,isActive:c}=GP(s,{initialState:r});return{stop:e1(e,t,{...i,eventFilter:o}),pause:l,resume:a,isActive:c}}function mf(e,t=!0,n){YP()?Yn(e,n):t?e():Vt(e)}function Fc(e,t=!1){function n(f,{flush:h="sync",deep:d=!1,timeout:p,throwOnTimeout:m}={}){let E=null;const v=[new Promise(_=>{E=ke(e,y=>{f(y)!==t&&(E?E():Vt(()=>E?.()),_(y))},{flush:h,deep:d,immediate:!0})})];return p!=null&&v.push(op(p,m).then(()=>oe(e)).finally(()=>E?.())),Promise.race(v)}function s(f,h){if(!be(f))return n(y=>y===f,h);const{flush:d="sync",deep:p=!1,timeout:m,throwOnTimeout:E}=h??{};let g=null;const _=[new Promise(y=>{g=ke([e,f],([S,P])=>{t!==(S===P)&&(g?g():Vt(()=>g?.()),y(S))},{flush:d,deep:p,immediate:!0})})];return m!=null&&_.push(op(m,E).then(()=>oe(e)).finally(()=>(g?.(),oe(e)))),Promise.race(_)}function r(f){return n(h=>!!h,f)}function i(f){return s(null,f)}function o(f){return s(void 0,f)}function 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(oe(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(oe(e))?{toMatch:n,toContains:a,changed:c,changedTimes:u,get not(){return Fc(e,!t)}}:{toMatch:n,toBe:s,toBeTruthy:r,toBeNull:i,toBeNaN:l,toBeUndefined:o,changed:c,changedTimes:u,get not(){return Fc(e,!t)}}}function n1(e){return Fc(e)}function s1(e,t=1e3,n={}){const{immediate:s=!0,immediateCallback:r=!1}=n;let i=null;const o=Ee(!1);function l(){i&&(clearInterval(i),i=null)}function a(){o.value=!1,l()}function c(){const u=oe(t);u<=0||(o.value=!0,r&&e(),l(),o.value&&(i=setInterval(e,u)))}if(s&&Pr&&c(),be(t)||typeof t=="function"){const u=ke(t,()=>{o.value&&Pr&&c()});Gn(u)}return Gn(a),{isActive:su(o),pause:a,resume:c}}function Yy(e,t,n={}){const{immediate:s=!0,immediateCallback:r=!1}=n,i=Ee(!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)},oe(t))}return s&&(i.value=!0,Pr&&c()),Gn(a),{isPending:su(i),start:c,stop:a}}function r1(e=!1,t={}){const{truthyValue:n=!0,falsyValue:s=!1}=t,r=be(e),i=Ee(e);function o(l){if(arguments.length)return i.value=l,i.value;{const a=oe(n);return i.value=i.value===a?oe(s):a,i.value}}return r?o:[i,o]}function i1(e,t,n){return ke(e,t,{...n,immediate:!0})}function o1(e,t,n){return ke(e,t,{...n,once:!0})}const Rt=Pr?window:void 0,Jy=Pr?window.document:void 0,Zy=Pr?window.navigator:void 0;function Hs(e){var t;const n=oe(e);return(t=n?.$el)!=null?t:n}function $t(...e){const t=[],n=()=>{t.forEach(l=>l()),t.length=0},s=(l,a,c,u)=>(l.addEventListener(a,c,u),()=>l.removeEventListener(a,c,u)),r=de(()=>{const l=ni(oe(e[0])).filter(a=>a!=null);return l.every(a=>typeof a!="string")?l:void 0}),i=i1(()=>{var l,a;return[(a=(l=r.value)==null?void 0:l.map(c=>Hs(c)))!=null?a:[Rt].filter(c=>c!=null),ni(oe(r.value?e[1]:e[0])),ni(tn(r.value?e[2]:e[1])),oe(r.value?e[3]:e[2])]},([l,a,c,u])=>{if(n(),!l?.length||!a?.length||!c?.length)return;const f=KP(u)?{...u}:u;t.push(...l.flatMap(h=>a.flatMap(d=>c.map(p=>s(h,d,p,f)))))},{flush:"post"}),o=()=>{i(),n()};return Gn(n),o}function l1(){const e=Ee(!1),t=Ue();return t&&Yn(()=>{e.value=!0},t),e}function zi(e){const t=l1();return de(()=>(t.value,!!e()))}function ev(e,t,n={}){const{window:s=Rt,...r}=n;let i;const o=zi(()=>s&&"MutationObserver"in s),l=()=>{i&&(i.disconnect(),i=void 0)},a=de(()=>{const h=oe(e),d=ni(h).map(Hs).filter(zy);return new Set(d)}),c=ke(a,h=>{l(),o.value&&h.size&&(i=new MutationObserver(t),h.forEach(d=>i.observe(d,r)))},{immediate:!0,flush:"post"}),u=()=>i?.takeRecords(),f=()=>{c(),l()};return Gn(f),{isSupported:o,stop:f,takeRecords:u}}function a1(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function c1(...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=Rt,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=s,a=a1(t);return $t(r,i,u=>{u.repeat&&oe(l)||a(u)&&n(u)},o)}function H1(e,t,n={}){return c1(e,t,{...n,eventName:"keyup"})}function u1(e,t={}){const{immediate:n=!0,fpsLimit:s=void 0,window:r=Rt,once:i=!1}=t,o=Ee(!1),l=de(()=>s?1e3/oe(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(),Gn(h),{isActive:jn(o),pause:h,resume:f}}const f1=Symbol("vueuse-ssr-width");function d1(){const e=Vi()?BP(f1,null):null;return typeof e=="number"?e:void 0}function h1(e,t={}){const{window:n=Rt,ssrWidth:s=d1()}=t,r=zi(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=Ee(typeof s=="number"),o=Ee(),l=Ee(!1),a=c=>{l.value=c.matches};return Eu(()=>{if(i.value){i.value=!r.value;const c=oe(e).split(",");l.value=c.some(u=>{const f=u.includes("not all"),h=u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),d=u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(h||d);return h&&p&&(p=s>=lp(h[1])),d&&p&&(p=s<=lp(d[1])),f?!p:p});return}r.value&&(o.value=n.matchMedia(oe(e)),l.value=o.value.matches)}),$t(o,"change",a,{passive:!0}),de(()=>l.value)}function ap(e,t={}){const{controls:n=!1,navigator:s=Zy}=t,r=zi(()=>s&&"permissions"in s),i=Ee(),o=typeof e=="string"?{name:e}:e,l=Ee(),a=()=>{var u,f;l.value=(f=(u=i.value)==null?void 0:u.state)!=null?f:"prompt"};$t(i,"change",a,{passive:!0});const c=zP(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 fe(i.value)}});return c(),n?{state:l,isSupported:r,query:c}:l}function V1(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=de(()=>o.value||i),u=Ee(""),f=Ee(!1),h=Yy(()=>f.value=!1,r,{immediate:!1});async function d(){let v=!(o.value&&g(l.value));if(!v)try{u.value=await t.clipboard.readText()}catch{v=!0}v&&(u.value=E())}c.value&&n&&$t(["copy","cut"],d,{passive:!0});async function p(v=oe(s)){if(c.value&&v!=null){let _=!(o.value&&g(a.value));if(!_)try{await t.clipboard.writeText(v)}catch{_=!0}_&&m(v),u.value=v,f.value=!0,h.start()}}function m(v){const _=document.createElement("textarea");_.value=v??"",_.style.position="absolute",_.style.opacity="0",document.body.appendChild(_),_.select(),document.execCommand("copy"),_.remove()}function E(){var v,_,y;return(y=(_=(v=document?.getSelection)==null?void 0:v.call(document))==null?void 0:_.toString())!=null?y:""}function g(v){return v==="granted"||v==="prompt"}return{isSupported:c,text:u,copied:f,copy:p}}function p1(e){return JSON.parse(JSON.stringify(e))}const go=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},_o="__vueuse_ssr_handlers__",m1=g1();function g1(){return _o in go||(go[_o]=go[_o]||{}),go[_o]}function tv(e,t){return m1[e]||t}function nv(e){return h1("(prefers-color-scheme: dark)",e)}function _1(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 y1={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 v1(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=Rt,eventFilter:h,onError:d=H=>{console.error(H)},initOnMounted:p}=s,m=(u?Ee:Je)(typeof t=="function"?t():t),E=de(()=>oe(e));if(!n)try{n=tv("getDefaultStorage",()=>{var H;return(H=Rt)==null?void 0:H.localStorage})()}catch(H){d(H)}if(!n)return m;const g=oe(t),v=_1(g),_=(r=s.serializer)!=null?r:y1[v],{pause:y,resume:S}=t1(m,H=>O(H),{flush:i,deep:o,eventFilter:h});ke(E,()=>R(),{flush:i});let P=!1;const A=H=>{p&&!P||R(H)},N=H=>{p&&!P||$(H)};f&&l&&(n instanceof Storage?$t(f,"storage",A,{passive:!0}):$t(f,cp,N)),p?mf(()=>{P=!0,R()}):R();function b(H,K){if(f){const B={key:E.value,oldValue:H,newValue:K,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",B):new CustomEvent(cp,{detail:B}))}}function O(H){try{const K=n.getItem(E.value);if(H==null)b(K,null),n.removeItem(E.value);else{const B=_.write(H);K!==B&&(n.setItem(E.value,B),b(K,B))}}catch(K){d(K)}}function k(H){const K=H?H.newValue:n.getItem(E.value);if(K==null)return a&&g!=null&&n.setItem(E.value,_.write(g)),g;if(!H&&c){const B=_.read(K);return typeof c=="function"?c(B,g):v==="object"&&!Array.isArray(B)?{...g,...B}:B}else return typeof K!="string"?K:_.read(K)}function R(H){if(!(H&&H.storageArea!==n)){if(H&&H.key==null){m.value=g;return}if(!(H&&H.key!==E.value)){y();try{const K=_.write(m.value);(H===void 0||H?.newValue!==K)&&(m.value=k(H))}catch(K){d(K)}finally{H?Vt(S):S()}}}}function $(H){R(H.detail)}return m}const E1="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function b1(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=Rt,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=nv({window:r}),d=de(()=>h.value?"dark":"light"),p=a||(o==null?hr(s):v1(o,s,i,{window:r,listenToStorageChanges:l})),m=de(()=>p.value==="auto"?d.value:p.value),E=tv("updateHTMLAttrs",(y,S,P)=>{const A=typeof y=="string"?r?.document.querySelector(y):Hs(y);if(!A)return;const N=new Set,b=new Set;let O=null;if(S==="class"){const R=P.split(/\s/g);Object.values(f).flatMap($=>($||"").split(/\s/g)).filter(Boolean).forEach($=>{R.includes($)?N.add($):b.add($)})}else O={key:S,value:P};if(N.size===0&&b.size===0&&O===null)return;let k;u&&(k=r.document.createElement("style"),k.appendChild(document.createTextNode(E1)),r.document.head.appendChild(k));for(const R of N)A.classList.add(R);for(const R of b)A.classList.remove(R);O&&A.setAttribute(O.key,O.value),u&&(r.getComputedStyle(k).opacity,document.head.removeChild(k))});function g(y){var S;E(t,n,(S=f[y])!=null?S:y)}function v(y){e.onChanged?e.onChanged(y,g):g(y)}ke(m,v,{flush:"post",immediate:!0}),mf(()=>v(m.value));const _=de({get(){return c?p.value:m.value},set(y){p.value=y}});return Object.assign(_,{store:p,system:d,state:m})}function S1(e={}){const{valueDark:t="dark",valueLight:n=""}=e,s=b1({...e,onChanged:(o,l)=>{var a;e.onChanged?(a=e.onChanged)==null||a.call(e,o==="dark",l,o):l(o)},modes:{dark:t,light:n}}),r=de(()=>s.system.value);return de({get(){return s.value==="dark"},set(o){const l=o?"dark":"light";r.value===l?s.value="auto":s.value=l}})}function U1(e={}){const{document:t=Jy}=e;if(!t)return Ee("visible");const n=Ee(t.visibilityState);return $t(t,"visibilitychange",()=>{n.value=t.visibilityState},{passive:!0}),n}function T1(e,t,n={}){const{root:s,rootMargin:r="0px",threshold:i=0,window:o=Rt,immediate:l=!0}=n,a=zi(()=>o&&"IntersectionObserver"in o),c=de(()=>{const p=oe(e);return ni(p).map(Hs).filter(zy)});let u=rn;const f=Ee(l),h=a.value?ke(()=>[c.value,Hs(s),f.value],([p,m])=>{if(u(),!f.value||!p.length)return;const E=new IntersectionObserver(t,{root:Hs(m),rootMargin:r,threshold:i});p.forEach(g=>g&&E.observe(g)),u=()=>{E.disconnect(),u=rn}},{immediate:l,flush:"post"}):rn,d=()=>{u(),h(),f.value=!1};return Gn(d),{isSupported:a,isActive:f,pause(){u(),f.value=!1},resume(){f.value=!0},stop:d}}function B1(e,t={}){const{window:n=Rt,scrollTarget:s,threshold:r=0,rootMargin:i,once:o=!1}=t,l=Ee(!1),{stop:a}=T1(e,c=>{let u=l.value,f=0;for(const h of c)h.time>=f&&(f=h.time,u=h.isIntersecting);l.value=u,o&&o1(l,()=>{a()})},{root:s,window:n,threshold:r,rootMargin:oe(i)});return l}const w1={json:"application/json",text:"text/plain"};function up(e){return e&&QP(e,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}function $a(e){return typeof Headers<"u"&&e instanceof Headers?Object.fromEntries(e.entries()):e}function j1(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=(s=(n=Rt)==null?void 0:n.fetch)!=null?s:globalThis?.fetch,initialData:c,timeout:u}=o,f=Da(),h=Da(),d=Da(),p=Ee(!1),m=Ee(!1),E=Ee(!1),g=Ee(null),v=Ee(null),_=Ee(null),y=Ee(c||null),S=de(()=>r&&m.value);let P,A;const N=q=>{r&&(P?.abort(q),P=new AbortController,P.signal.onabort=()=>E.value=!0,i={...i,signal:P.signal})},b=q=>{m.value=q,p.value=!q};u&&(A=Yy(N,u,{immediate:!1}));let O=0;const k=async(q=!1)=>{var X,te;N(),b(!0),_.value=null,g.value=null,E.value=!1,O+=1;const Ce=O,Oe={method:l.method,headers:{}},xe=oe(l.payload);if(xe){const ye=$a(Oe.headers),V=Object.getPrototypeOf(xe);!l.payloadType&&xe&&(V===Object.prototype||Array.isArray(V))&&!(xe instanceof FormData)&&(l.payloadType="json"),l.payloadType&&(ye["Content-Type"]=(X=w1[l.payloadType])!=null?X:l.payloadType),Oe.body=l.payloadType==="json"?JSON.stringify(xe):xe}let Mt=!1;const et={url:oe(e),options:{...Oe,...i},cancel:()=>{Mt=!0}};if(o.beforeFetch&&Object.assign(et,await o.beforeFetch(et)),Mt||!a)return b(!1),Promise.resolve(null);let vt=null;return A&&A.start(),a(et.url,{...Oe,...et.options,headers:{...$a(Oe.headers),...$a((te=et.options)==null?void 0:te.headers)}}).then(async ye=>{if(v.value=ye,g.value=ye.status,vt=await ye.clone()[l.type](),!ye.ok)throw y.value=c||null,new Error(ye.statusText);return o.afterFetch&&({data:vt}=await o.afterFetch({data:vt,response:ye,context:et,execute:k})),y.value=vt,f.trigger(ye),ye}).catch(async ye=>{let V=ye.message||ye.name;if(o.onFetchError&&({error:V,data:vt}=await o.onFetchError({data:vt,error:ye,response:v.value,context:et,execute:k})),_.value=V,o.updateDataOnError&&(y.value=vt),h.trigger(ye),q)throw ye;return null}).finally(()=>{Ce===O&&b(!1),A&&A.stop(),d.trigger(null)})},R=hr(o.refetch);ke([R,hr(e)],([q])=>q&&k(),{deep:!0});const $={isFinished:jn(p),isFetching:jn(m),statusCode:g,response:v,error:_,data:y,canAbort:S,aborted:E,abort:N,execute:k,onFetchResponse:f.on,onFetchError:h.on,onFetchFinally:d.on,get:H("GET"),put:H("PUT"),post:H("POST"),delete:H("DELETE"),patch:H("PATCH"),head:H("HEAD"),options:H("OPTIONS"),json:B("json"),text:B("text"),blob:B("blob"),arrayBuffer:B("arrayBuffer"),formData:B("formData")};function H(q){return(X,te)=>{if(!m.value)return l.method=q,l.payload=X,l.payloadType=te,be(l.payload)&&ke([R,hr(l.payload)],([Ce])=>Ce&&k(),{deep:!0}),{...$,then(Ce,Oe){return K().then(Ce,Oe)}}}}function K(){return new Promise((q,X)=>{n1(p).toBe(!0).then(()=>q($)).catch(X)})}function B(q){return()=>{if(!m.value)return l.type=q,{...$,then(X,te){return K().then(X,te)}}}}return o.immediate&&Promise.resolve().then(()=>k()),{...$,then(q,X){return K().then(q,X)}}}const fp=1;function C1(e,t={}){const{throttle:n=0,idle:s=200,onStop:r=rn,onScroll:i=rn,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=Rt,onError:f=b=>{console.error(b)}}=t,h=typeof l=="boolean"?{mutation:l}:l,d=Ee(0),p=Ee(0),m=de({get(){return d.value},set(b){g(b,void 0)}}),E=de({get(){return p.value},set(b){g(void 0,b)}});function g(b,O){var k,R,$,H;if(!u)return;const K=oe(e);if(!K)return;($=K instanceof Document?u.document.body:K)==null||$.scrollTo({top:(k=oe(O))!=null?k:E.value,left:(R=oe(b))!=null?R:m.value,behavior:oe(c)});const B=((H=K?.document)==null?void 0:H.documentElement)||K?.documentElement||K;m!=null&&(d.value=B.scrollLeft),E!=null&&(p.value=B.scrollTop)}const v=Ee(!1),_=En({left:!0,right:!1,top:!0,bottom:!1}),y=En({left:!1,right:!1,top:!1,bottom:!1}),S=b=>{v.value&&(v.value=!1,y.left=!1,y.right=!1,y.top=!1,y.bottom=!1,r(b))},P=JP(S,n+s),A=b=>{var O;if(!u)return;const k=((O=b?.document)==null?void 0:O.documentElement)||b?.documentElement||Hs(b),{display:R,flexDirection:$,direction:H}=getComputedStyle(k),K=H==="rtl"?-1:1,B=k.scrollLeft;y.left=B<d.value,y.right=B>d.value;const q=Math.abs(B*K)<=(o.left||0),X=Math.abs(B*K)+k.clientWidth>=k.scrollWidth-(o.right||0)-fp;R==="flex"&&$==="row-reverse"?(_.left=X,_.right=q):(_.left=q,_.right=X),d.value=B;let te=k.scrollTop;b===u.document&&!te&&(te=u.document.body.scrollTop),y.top=te<p.value,y.bottom=te>p.value;const Ce=Math.abs(te)<=(o.top||0),Oe=Math.abs(te)+k.clientHeight>=k.scrollHeight-(o.bottom||0)-fp;R==="flex"&&$==="column-reverse"?(_.top=Oe,_.bottom=Ce):(_.top=Ce,_.bottom=Oe),p.value=te},N=b=>{var O;if(!u)return;const k=(O=b.target.documentElement)!=null?O:b.target;A(k),v.value=!0,P(b),i(b)};return $t(e,"scroll",n?ZP(N,n,!0,!1):N,a),mf(()=>{try{const b=oe(e);if(!b)return;A(b)}catch(b){f(b)}}),h?.mutation&&e!=null&&e!==u&&e!==document&&ev(e,()=>{const b=oe(e);b&&A(b)},{attributes:!0,childList:!0,subtree:!0}),$t(e,"scrollend",S,a),{x:m,y:E,isScrolling:v,arrivedState:_,directions:y,measure(){const b=oe(e);u&&b&&A(b)}}}const O1={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function W1(e={}){const{reactive:t=!1,target:n=Rt,aliasMap:s=O1,passive:r=!0,onEventFired:i=rn}=e,o=En(new Set),l={toJSON(){return{}},current:o},a=t?En(l):l,c=new Set,u=new Set,f=new Set;function h(E,g){E in a&&(t?a[E]=g:a[E].value=g)}function d(){o.clear();for(const E of f)h(E,!1)}function p(E,g){var v,_;const y=(v=E.key)==null?void 0:v.toLowerCase(),P=[(_=E.code)==null?void 0:_.toLowerCase(),y].filter(Boolean);y&&(g?o.add(y):o.delete(y));for(const A of P)f.add(A),h(A,g);if(y==="shift"&&!g){const A=Array.from(u),N=A.indexOf("shift");A.forEach((b,O)=>{O>=N&&(o.delete(b),h(b,!1))}),u.clear()}else typeof E.getModifierState=="function"&&E.getModifierState("Shift")&&g&&[...o,...P].forEach(A=>u.add(A));y==="meta"&&!g?(c.forEach(A=>{o.delete(A),h(A,!1)}),c.clear()):typeof E.getModifierState=="function"&&E.getModifierState("Meta")&&g&&[...o,...P].forEach(A=>c.add(A))}$t(n,"keydown",E=>(p(E,!0),i(E)),{passive:r}),$t(n,"keyup",E=>(p(E,!1),i(E)),{passive:r}),$t("blur",d,{passive:r}),$t("focus",d,{passive:r});const m=new Proxy(a,{get(E,g,v){if(typeof g!="string")return Reflect.get(E,g,v);if(g=g.toLowerCase(),g in s&&(g=s[g]),!(g in a))if(/[+_-]/.test(g)){const y=g.split(/[+_-]/g).map(S=>S.trim());a[g]=de(()=>y.map(S=>oe(m[S])).every(Boolean))}else a[g]=Ee(!1);const _=Reflect.get(E,g,v);return t?oe(_):_}});return m}function K1(e={}){const{controls:t=!1,interval:n="requestAnimationFrame",immediate:s=!0}=e,r=Je(new Date),i=()=>r.value=new Date,o=n==="requestAnimationFrame"?u1(i,{immediate:s}):s1(i,n,{immediate:s});return t?{now:r,...o}:r}function q1(e=null,t={}){var n,s,r;const{document:i=Jy,restoreOnUnmount:o=f=>f}=t,l=(n=i?.title)!=null?n:"",a=hr((s=e??i?.title)!=null?s:null),c=!!(e&&typeof e=="function");function u(f){if(!("titleTemplate"in t))return f;const h=t.titleTemplate||"%s";return typeof h=="function"?h(f):oe(h).replace(/%s/g,f)}return ke(a,(f,h)=>{f!==h&&i&&(i.title=u(f??""))},{immediate:!0}),t.observe&&!t.titleTemplate&&i&&!c&&ev((r=i.head)==null?void 0:r.querySelector("title"),()=>{i&&i.title!==a.value&&(a.value=u(i.title))},{childList:!0}),Gn(()=>{if(o){const f=o(l,a.value||"");f!=null&&i&&(i.title=f)}}),a}function X1(e,t,n,s={}){var r,i,o;const{clone:l=!1,passive:a=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:h}=s,d=Ue(),p=d?.emit||((r=d?.$emit)==null?void 0:r.bind(d))||((o=(i=d?.proxy)==null?void 0:i.$emit)==null?void 0:o.bind(d?.proxy));let m=c;t||(t="modelValue"),m=m||`update:${t.toString()}`;const E=_=>l?typeof l=="function"?l(_):p1(_):_,g=()=>jP(e[t])?E(e[t]):f,v=_=>{h?h(_)&&p(m,_):p(m,_)};if(a){const _=g(),y=Je(_);let S=!1;return ke(()=>e[t],P=>{S||(S=!0,y.value=E(P),Vt(()=>S=!1))}),ke(y,P=>{!S&&(P!==e[t]||u)&&v(P)},{deep:u}),y}else return de({get(){return g()},set(_){v(_)}})}function G1(e={}){const{window:t=Rt,...n}=e;return C1(t,n)}const sv=S1(),z1=r1(sv),N1=nv(),A1=Lt({__name:"App",setup(e){return RA({title:"Board - XCPCIO",meta:[{name:"theme-color",content:()=>sv.value?"#00aba9":"#ffffff"}],link:[{rel:"icon",type:"image/svg+xml",href:()=>N1.value?"/favicon-dark.svg":"/favicon.svg"}]}),(t,n)=>{const s=Us("RouterView");return Ct(),qn(s)}}});VP(A1,{routes:cA(UP),base:"/"},e=>{Object.values([rw,cw,Tw,Cw,AO]).forEach(t=>t.install?.(e)),e.app.use(aA),e.app.use(lN)});export{ZP as $,q1 as A,j1 as B,ke as C,Hi as D,AS as E,Ke as F,qn as G,F1 as H,RA as I,TT as J,Dn as K,Au as L,qg as M,hi as N,wu as O,Vt as P,v1 as Q,P1 as R,CO as S,g0 as T,V1 as U,C0 as V,Yn as W,s1 as X,c1 as Y,U1 as Z,Qe as _,Re as a,Eu as a0,W1 as a1,Rg as a2,SO as a3,H1 as a4,ea as a5,BO as a6,xO as a7,R1 as a8,wc as a9,Ue as aA,X1 as aB,Qt as aa,Gi as ab,MO as ac,kO as ad,Tc as ae,ny as af,GO as ag,$O as ah,Tt as ai,Vi as aj,_t as ak,eN as al,ae as am,nu as an,En as ao,D1 as ap,Jc as aq,L1 as ar,su as as,jn as at,am as au,Gn as av,iu as aw,oe as ax,I1 as ay,Pg as az,pn as b,gr as c,Lt as d,G1 as e,de as f,$1 as g,tn as h,nw as i,Su as j,vl as k,Kg as l,Je as m,zn as n,Ct as o,B1 as p,tc as q,Us as r,K1 as s,z1 as t,Nu as u,sS as v,Vs as w,zo as x,kl as y,be as z};
|